:root {
    --primary-blue: #AEC6CF;
    --secondary-yellow: #FDFD96;
    --bg-cream: #f5f1de;
    --primary-red: #eb452b;
    --border-color: rgba(17, 17, 17, 0.28);
    --text-dark: #111111;
    --text-light: #ffffff;
    --font-main: 'Inter', sans-serif;
    --container-width: 1200px;
}

/* Reset & Basics */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: var(--font-main);
    background-color: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.4;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 2rem; }

.logo {
    max-width: 100%; height: 50px; display: block;
}

.logo-container {
    display: flex; align-items: center; gap: 10px;
}

/* Form Field Styles (Inputs, Textareas, Selects) */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="datetime-local"],
input[type="time"],
input[type="search"],
input[type="number"],
input[type="tel"],
select,
textarea {
    border: 1px solid rgba(17, 17, 17, 0.3) !important;
    background-color: #ffffff;
    color: var(--text-dark);
    padding: 0.8rem 1rem;
    font-family: inherit;
    font-size: 0.92rem;
    border-radius: 0 !important;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--text-dark) !important;
    box-shadow: 0 0 0 3px rgba(174, 198, 207, 0.4) !important;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}
p { font-size: 1rem; font-weight: 500; }
.text-center { text-align: center; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.5s ease-in-out !important;
    border: none !important;
    outline: none !important;
    border-radius: 0 !important;
    position: relative;
}
.btn-blue { background-color: var(--primary-blue); color: var(--text-dark); border: none !important; }
.btn-yellow { background-color: var(--secondary-yellow); color: var(--text-dark); border: none !important; }
.btn-cream { background-color: var(--bg-cream); color: var(--text-dark); border: none !important; }
.btn:hover { 
    opacity: 0.92; 
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
    border: none !important;
    outline: none !important;
}

/* Layout Utilities */
.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: 1fr; }
@media (min-width: 768px) {
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
}
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 768px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Hero Slider */
.hero {
    position: relative;
    color: #ffffff;
    height: calc(100vh - 60px);
    min-height: 550px;
    background-color: #111111;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.hero-slider {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
}
.hero-slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
    width: 100%; height: 100%; object-fit: cover;
    filter: brightness(0.72);
}
.hero .content {
    position: relative;
    z-index: 2;
    padding: 0;
    max-width: 850px;
    background: transparent;
    margin: 0 2rem;
    box-shadow: none;
    border-radius: 0;
}
@media (min-width: 768px) {
    .hero .content {
        margin-left: 4rem;
    }
}
.hero h1 { 
    font-size: 2.8rem; 
    margin-bottom: 1.5rem; 
    line-height: 1.15; 
    color: #ffffff;
    font-weight: 800;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.8), 0 1px 4px rgba(0, 0, 0, 0.7);
    letter-spacing: -0.01em;
}
.hero h1 .subtle-jp {
    display: inline-block;
    color: #ffffff;
    opacity: 1;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    margin-top: 1rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
    background: rgba(0, 0, 0, 0.52);
    padding: 0.45rem 1rem;
    border-left: 4px solid var(--secondary-yellow);
    border-radius: 0 !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
@media (min-width: 768px) {
    .hero h1 { font-size: 4.2rem; }
    .hero h1 .subtle-jp { font-size: 1.15rem; }
}

/* Ticker - Stacked English + Japanese, Attached directly at bottom of hero viewport */
.ticker {
    background-color: var(--secondary-yellow);
    height: 64px;
    display: flex;
    align-items: center;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    position: relative;
    border-top: 1px solid rgba(17, 17, 17, 0.08);
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.ticker-content {
    display: flex;
    width: max-content;
    animation: ticker 58s linear infinite;
    color: var(--text-dark);
}

.ticker:hover .ticker-content {
    animation-play-state: paused;
    cursor: pointer;
}

.ticker-track {
    display: flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
}

.ticker-item {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 1.25rem;
    line-height: 1.15;
}

.ticker-item .en {
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-dark);
}

.ticker-item .jp {
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(17, 17, 17, 0.75);
    margin-top: 0.15rem;
}

.ticker-track .dot {
    font-size: 1rem;
    color: rgba(17, 17, 17, 0.35);
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Values / Highlights Row Section (Matching Mockup Layout) */
.values-section {
    background-color: var(--bg-cream);
    color: var(--text-dark);
    padding: 6rem 2rem;
    border-top: 1px solid rgba(17, 17, 17, 0.06);
    border-bottom: 1px solid rgba(17, 17, 17, 0.06);
}

.values-row-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

@media (min-width: 600px) {
    .values-row-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .values-row-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 1.5rem;
    }
}

.value-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: all 0.5s ease-in-out !important;
}

.value-item:hover {
    transform: translateY(-4px);
}

.value-item .icon-wrapper {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
    background: transparent;
    border: none;
}

.value-item .value-label {
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-dark);
    line-height: 1.35;
}

.text-section { padding: 5rem 2rem; text-align: center; color: var(--text-dark); max-width: 900px; margin: 0 auto; }
.text-section h2 { font-size: 2rem; line-height: 1.4; color: var(--primary-blue); }

/* 50/50 Column Split - Edge-to-Edge Full Width (Zero Subpixel Seam Gap) */
.split-block {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    margin: 0;
    padding: 0;
    border: none;
}

.split-block > div { 
    flex: 0 0 100%;
    width: 100%;
    min-height: 400px; 
    box-sizing: border-box; 
    overflow: hidden; 
    border: none;
    margin: 0;
}

@media(min-width: 768px) {
    .split-block > div { 
        flex: 0 0 50%;
        width: 50%;
        max-width: 50%;
        min-height: 750px; 
    }
    /* Negative 1px margin on 2nd column overlaps subpixel anti-aliasing seam gap */
    .split-block > div:nth-child(2) {
        margin-left: -1px;
        width: calc(50% + 1px);
        max-width: calc(50% + 1px);
    }
}

.split-block .bg-blue { background-color: var(--primary-blue); color: var(--text-dark); padding: 4rem 2rem; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; box-sizing: border-box; }
.split-block .bg-yellow { background-color: var(--secondary-yellow); color: var(--text-dark); padding: 4rem 2rem; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; box-sizing: border-box; }
.split-block .bg-cream { background-color: var(--bg-cream); color: var(--text-dark); padding: 4rem 2rem; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; box-sizing: border-box; }
@media(min-width: 768px) {
    .split-block .bg-blue, .split-block .bg-yellow, .split-block .bg-cream { padding: 4rem 10%; }
}
.split-block h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
.split-block p { font-size: 1.1rem; line-height: 1.6; margin-bottom: 2rem; }

.products-section { padding: 5rem 2rem; }
.product-card { text-align: left; }
.product-card img { margin-bottom: 1rem; width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.product-card h4 { font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--primary-blue); line-height: 1.3; }
.product-card .price { color: var(--primary-blue); font-weight: 800; font-size: 1.2rem; }

/* Pillars / Ingredients Section Layout (Matching Mockup Screenshot) */
.ingredients-section {
    background-color: var(--primary-blue);
    color: var(--text-dark);
    padding: 6rem 2rem;
}

.ingredients-header-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
}

@media(min-width: 768px) {
    .ingredients-header-split {
        grid-template-columns: 1.2fr 0.8fr;
        gap: 4rem;
        align-items: flex-start;
    }
}

.ingredients-header-split h2 {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 0;
    text-transform: uppercase;
}

.ingredients-header-split p {
    font-size: 0.98rem;
    line-height: 1.65;
    color: #222222;
    margin-bottom: 0;
}

.ingredients-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
    max-width: var(--container-width);
    margin: 0 auto;
}

@media(min-width: 600px) {
    .ingredients-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(min-width: 1024px) {
    .ingredients-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.8rem;
    }
}

/* Tall Vertical Card Styling */
.ingredient-card {
    background-color: var(--bg-cream);
    color: var(--text-dark);
    padding: 3rem 1.8rem 2.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 380px;
    border: 1px solid rgba(17, 17, 17, 0.15);
    border-radius: 0 !important;
    transition: all 0.5s ease-in-out !important;
}

.ingredient-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Large Flat Vector SVG Icon sitting directly at the top of the tall card */
.ingredient-card .icon-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    color: var(--text-dark);
    margin-bottom: 2rem;
    background: transparent;
    border: none;
}

.ingredient-card h4 {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 0.4rem;
    color: var(--text-dark);
}

.ingredient-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #444444;
    margin-top: 1rem;
}

/* Global Zero-Rounded-Corners Policy across entire site */
*, *::before, *::after,
.btn, input, select, textarea, button,
.product-card, .blog-post, .event-card, .stat-card, .card,
.st-modal-card, .st-sidepanel, .st-block-item, .st-block-editor,
.st-add-block-bar, .st-block-badge, .st-block-btn, .st-add-block-btn,
.event-date-badge, .lang-badge, .brand-badge, .st-back-to-top {
    border-radius: 0 !important;
}

.instagram-section { padding: 6rem 2rem; color: var(--text-dark); text-align: center; }
.instagram-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 2rem; }
@media(min-width: 768px) { .instagram-grid { grid-template-columns: repeat(4, 1fr); } }
.instagram-grid img { width: 100%; height: 380px; object-fit: cover; display: block; transition: transform 0.3s ease; }
.instagram-grid img:hover { transform: scale(1.02); z-index: 2; }

footer { 
    background-color: var(--primary-blue); 
    color: var(--text-dark); 
    padding: 5rem 2rem 4rem; 
    position: relative; 
    overflow: hidden;
    display: flow-root;
    margin-bottom: 0 !important;
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media(min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.footer-grid h3, .footer-grid h4 { margin-bottom: 1rem; }
.footer-grid ul { list-style: none; padding: 0; }
.footer-grid ul li { margin-bottom: 0.5rem; }
.footer-grid ul li a { font-weight: 600; }
.footer-grid ul li a:hover { text-decoration: underline; }
.footer-logo { font-size: 6rem; font-weight: 800; text-align: center; margin-top: 5rem; border-top: 2px solid rgba(51, 51, 51, 0.3); padding-top: 3rem; line-height: 1; letter-spacing: -0.05em; }

.footer-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-dark);
    background: rgba(255, 255, 255, 0.5);
    padding: 0.5rem 0.9rem;
    border: none !important;
    outline: none !important;
    border-radius: 0 !important;
    transition: all 0.5s ease-in-out !important;
}

.footer-social-btn:hover {
    background: #ffffff;
    border: none !important;
    outline: none !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Taller Parallax WebP Page Banner Header for Inner Pages */
.page-banner-header {
    position: relative;
    padding: 7.5rem 2rem 5.5rem;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: linear-gradient(rgba(5, 10, 20, 0.68), rgba(5, 10, 20, 0.76)), url('../images/banner_1.webp');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-banner-blog {
    background-image: linear-gradient(rgba(5, 10, 20, 0.68), rgba(5, 10, 20, 0.76)), url('../images/st_lifestyle.webp');
}
.page-banner-events {
    background-image: linear-gradient(rgba(5, 10, 20, 0.68), rgba(5, 10, 20, 0.76)), url('../images/st_summer.webp');
}
.page-banner-contact {
    background-image: linear-gradient(rgba(5, 10, 20, 0.68), rgba(5, 10, 20, 0.76)), url('../images/st_relax.webp');
}

.page-banner-header .container {
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.page-banner-badge {
    display: inline-block;
    background-color: var(--secondary-yellow);
    color: var(--text-dark);
    font-weight: 800;
    font-size: 0.82rem;
    padding: 0.45rem 1.2rem;
    border-radius: 0 !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-banner-header h1 {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin-bottom: 0;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.page-banner-header .subtle-jp-banner {
    display: block;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.06em;
    margin-top: 0.8rem;
    margin-bottom: 1.2rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    opacity: 1;
}

.page-banner-header p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    max-width: 720px;
    margin: 0 auto;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

@media (min-width: 768px) {
    .page-banner-header {
        min-height: 420px;
        padding: 8.5rem 2rem 6.5rem;
    }
    .page-banner-header h1 {
        font-size: 3.4rem;
    }
    .page-banner-header .subtle-jp-banner {
        font-size: 1.2rem;
    }
}

/* Banner text — force white on all inner text elements; badge keeps its own dark colour */
.page-banner-header h1,
.page-banner-header h2,
.page-banner-header h3 {
    color: #ffffff !important;
}
.page-banner-header p,
.page-banner-header .subtle-jp,
.page-banner-header .subtle-jp-banner {
    color: rgba(255, 255, 255, 0.9) !important;
}
/* Yellow badge sits inside the banner but must stay dark for contrast */
.page-banner-badge {
    color: var(--text-dark) !important;
}

/* Navigation Header & Mobile Burger Menu Component */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--secondary-yellow);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0.85rem 1.5rem;
}

nav.solid {
    background: var(--secondary-yellow);
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

nav .logo a {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-dark);
}

/* Burger Toggle Button (Mobile) */
.st-burger-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
}

.st-burger-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 0 !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center;
}

/* Seamless Burger -> X Morphing Animation */
.st-burger-btn.open span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.st-burger-btn.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.st-burger-btn.open span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* Drop-Fade Mobile Navigation Menu */
.nav-menu {
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: var(--secondary-yellow);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 0 1.5rem;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    border-top: 1px solid rgba(17, 17, 17, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    pointer-events: none;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                padding 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    max-height: 350px;
    padding: 1.25rem 1.5rem;
}

.nav-menu a {
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-dark);
    position: relative;
    transition: all 0.35s ease-in-out !important;
}

.nav-menu a:last-child {
    border-bottom: none;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #000000;
    padding-left: 0.5rem;
}

/* Desktop Navigation Layout (>= 768px) */
@media (min-width: 768px) {
    nav {
        padding: 1.2rem 2.5rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .nav-bar {
        width: auto;
    }

    .st-burger-btn {
        display: none !important;
    }

    .nav-menu {
        position: static;
        flex-direction: row;
        width: auto;
        background: transparent;
        box-shadow: none;
        border: none;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        pointer-events: auto !important;
        max-height: none !important;
        padding: 0 !important;
        gap: 2.2rem;
        overflow: visible;
    }

    .nav-menu a {
        padding: 0.4rem 0;
        border: none;
        font-size: 0.95rem;
    }

    .nav-menu a:hover {
        padding-left: 0;
    }

    .nav-menu a::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 0;
        height: 2.5px;
        background-color: var(--text-dark);
        transition: width 0.35s ease-in-out;
    }

    .nav-menu a:hover::after,
    .nav-menu a.active::after {
        width: 100%;
    }

    .contact-split-grid {
        grid-template-columns: 1fr 1fr !important;
    }
}

/* Japanese Subtitle Typography - Highly Legible & Elegant Placement */
.subtle-jp {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: #222222;
    opacity: 0.82;
    margin-top: 0.5rem;
    text-transform: none;
    line-height: 1.4;
}

.subtle-jp-sm {
    display: block;
    font-size: 0.78rem;
    font-weight: 500;
    color: #333333;
    opacity: 0.8;
    margin-top: 0.3rem;
    text-transform: none;
    line-height: 1.3;
}

.subtle-jp-inline {
    display: inline-block;
    font-size: 0.8rem;
    color: #222222;
    opacity: 0.82;
    font-weight: 500;
    margin-left: 0.4rem;
}

/* Footer Cloud Banner & Soft Atmospheric Overlay */
footer {
    position: relative;
    background-color: var(--primary-blue);
    color: var(--text-dark);
    padding: 5rem 2rem 5rem;
    overflow: hidden;
}

.footer-cloud-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.footer-cloud-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.9) 30%, rgba(0,0,0,0.9) 70%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.9) 30%, rgba(0,0,0,0.9) 70%, rgba(0,0,0,0) 100%);
}

.footer-grid, footer .container {
    position: relative;
    z-index: 2;
}

/* 70% Slide-in Sidepanel Component */
.st-sidepanel-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.st-sidepanel-backdrop.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.st-sidepanel, .st-sidepanel-70 {
    position: fixed;
    top: 0;
    right: 0;
    width: 70%;
    max-width: 70%;
    height: 100vh;
    background-color: #ffffff;
    box-shadow: -10px 0 35px rgba(0,0,0,0.18);
    display: flex;
    flex-direction: column;
    z-index: 10000;
    transform: translateX(100%);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.3s ease;
    overflow: hidden;
}

@media (max-width: 768px) {
    .st-sidepanel, .st-sidepanel-70 {
        width: 90%;
        max-width: 90%;
    }
}

.st-sidepanel.open, .st-sidepanel-70.open {
    transform: translateX(0);
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.st-sidepanel-header {
    background-color: var(--primary-blue);
    color: var(--text-dark);
    padding: 2rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.st-sidepanel-header h2, .st-sidepanel-header h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
}

.st-subtle-subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.8;
}

.st-sidepanel-close {
    background: none;
    border: none;
    font-size: 2.2rem;
    line-height: 1;
    color: var(--text-dark);
    cursor: pointer;
    padding: 0.2rem 0.6rem;
    border-radius: 0 !important;
    transition: background 0.2s ease, transform 0.2s ease;
}

.st-sidepanel-close:hover {
    background: rgba(0,0,0,0.08);
    transform: scale(1.1);
}

.st-sidepanel-body {
    padding: 2.5rem;
    overflow-y: auto;
    flex: 1;
    line-height: 1.7;
    color: var(--text-dark);
}

/* Modal Dialog System (Warning, Error, Success) */
.st-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.st-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.st-modal-card {
    background: #ffffff;
    width: 100%;
    max-width: 480px;
    border-radius: 12px;
    padding: 2.2rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    transform: scale(0.9);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.st-modal-card.open {
    transform: scale(1);
}

.st-modal-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0 auto 1.25rem;
}

.st-modal-success .st-modal-icon { background: #dcfce7; color: #166534; }
.st-modal-error .st-modal-icon { background: #fee2e2; color: #991b1b; }
.st-modal-warning .st-modal-icon { background: #fef3c7; color: #92400e; }
.st-modal-info .st-modal-icon { background: #dbeafe; color: #1e40af; }

.st-modal-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.st-modal-card p {
    font-size: 0.98rem;
    color: #4b5563;
    line-height: 1.5;
    margin-bottom: 1.8rem;
}

.st-modal-actions {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
}

.st-btn {
    padding: 0.8rem 1.6rem;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-radius: 0 !important;
    border: none;
    cursor: pointer;
    transition: all 0.5s ease-in-out !important;
}

.st-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    opacity: 0.92;
}

.st-btn-confirm { background-color: var(--primary-blue); color: var(--text-dark); }
.st-btn-success { background-color: #166534; color: #ffffff; }
.st-btn-error { background-color: #eb452b; color: #ffffff; }
.st-btn-warning { background-color: #d97706; color: #ffffff; }
.st-btn-cancel { background-color: #e5e7eb; color: #374151; }

/* Events Calendar & Appointment Grid */
.events-section {
    padding: 6rem 0;
    background-color: var(--bg-cream);
}

.events-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .events-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.event-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    border-top: 4px solid var(--primary-blue);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.event-date-badge {
    display: inline-block;
    background: var(--secondary-yellow);
    color: var(--text-dark);
    font-size: 0.8rem;
    font-weight: 800;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    align-self: flex-start;
}

.event-card h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
}

.event-person {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.event-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

/* Contact Us Page Form */
.contact-container {
    max-width: 800px;
    margin: 8rem auto 5rem;
    padding: 0 1.5rem;
}

.contact-card {
    background: #ffffff;
    padding: 3rem 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

/* Page Banner Header */
.page-banner-header {
    background-color: var(--primary-blue);
    padding: 9rem 2rem 5rem;
    text-align: center;
}

.page-banner-header h1 {
    font-size: 3rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.page-banner-header p {
    font-size: 1.1rem;
    max-width: 750px;
    margin: 1rem auto 0;
    color: #333333;
    line-height: 1.6;
}

/* Back to Top Button (Far Right) */
.st-back-to-top {
    position: fixed;
    bottom: 2.2rem;
    right: 2rem;
    left: auto;
    background-color: var(--primary-blue);
    color: var(--text-dark);
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    padding: 0.8rem 1.2rem;
    border-radius: 0 !important;
    border: 1px solid rgba(17, 17, 17, 0.18);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.st-back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.st-back-to-top:hover {
    background-color: var(--secondary-yellow);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.14);
    border-color: rgba(17, 17, 17, 0.35);
}

/* WordPress-Style Block Editor (Admin & Public Block Styles) */
.st-block-editor {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    border: 2px dashed #cbd5e1;
    margin-bottom: 2rem;
}

.st-block-item {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    position: relative;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.st-block-item:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.st-block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid #f1f5f9;
}

.st-block-badge {
    background: #e2e8f0;
    color: #334155;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.st-block-controls {
    display: flex;
    gap: 0.4rem;
}

.st-block-btn {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    padding: 0.3rem 0.6rem;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.st-block-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.st-block-btn-danger:hover {
    background: #fee2e2;
    color: #991b1b;
    border-color: #fca5a5;
}

.st-add-block-bar {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    padding: 1.25rem;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    justify-content: center;
    align-items: center;
}

.st-add-block-btn {
    background: var(--primary-blue);
    color: var(--text-dark);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: background 0.2s ease, transform 0.2s ease;
}

.st-add-block-btn:hover {
    background: var(--secondary-yellow);
    transform: translateY(-1px);
}

/* Rendered Public Blocks */
.public-block-heading {
    margin: 2.5rem 0 1rem;
    color: var(--text-dark);
    font-weight: 800;
}

.public-block-paragraph {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 1.5rem;
}

.public-block-image {
    margin: 2.5rem 0;
    text-align: center;
}

.public-block-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.public-block-caption {
    font-size: 0.88rem;
    color: #666666;
    margin-top: 0.6rem;
    font-style: italic;
}

.public-block-quote {
    background: var(--bg-cream);
    border-left: 4px solid var(--primary-red);
    padding: 2rem 2.5rem;
    margin: 2.5rem 0;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.6;
}

/* Animate on Scroll — unified fade-up for all elements (Desktop Only) */
@media (min-width: 1025px) {
    .st-reveal,
    .st-reveal-up,
    .st-reveal-left,
    .st-reveal-right,
    .st-reveal-zoom {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
        will-change: opacity, transform;
    }

    .st-reveal.st-animated,
    .st-reveal-up.st-animated,
    .st-reveal-left.st-animated,
    .st-reveal-right.st-animated,
    .st-reveal-zoom.st-animated {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Disabled on Tablet and Mobile */
@media (max-width: 1024px) {
    .st-reveal,
    .st-reveal-up,
    .st-reveal-left,
    .st-reveal-right,
    .st-reveal-zoom {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* First-Visit Fullscreen Welcome Splash Overlay (Slide Up Exit) */
.st-first-visit-splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--secondary-yellow);
    color: var(--text-dark);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    box-sizing: border-box;
    transform: translateY(0);
    visibility: visible;
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.6s ease-in-out;
}

.st-first-visit-splash.slide-up {
    transform: translateY(-100%) !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.st-splash-content {
    max-width: 650px;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.st-splash-brand {
    font-size: 4.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    text-transform: uppercase;
    display: flex; 
    align-items: center; 
    gap: 10px;
}

.st-splash-brand .logo {
    max-width: 100%; height: 60px; display: block;
}

.st-splash-tagline {
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
    line-height: 1.5;
    max-width: 500px;
}

.st-enter-site-btn {
    font-size: 1.1rem;
    padding: 1.1rem 2.8rem;
    border: none !important;
    outline: none !important;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease-in-out !important;
}

@media (max-width: 768px) {
    .st-splash-brand { font-size: 2.8rem; }
    .st-splash-tagline { font-size: 0.85rem; }
}






