/* =========================================================
   Legendary Vietnam — Design System & Layout
   ========================================================= */

:root {
    --color-bg: #0a0c0a;
    --color-bg-elevated: #121512;
    --color-bg-card: #181c18;
    --color-bg-card-hover: #1f241f;
    --color-forest: #0f1410;
    --color-forest-light: #1a211a;
    --color-cream: #121512;
    --color-cream-dark: #0a0c0a;
    --color-gold: #c4a574;
    --color-gold-light: #dbc49a;
    --color-chocolate: #f0ebe3;
    --color-footer-bg: #0d0f0d;
    --color-white: #f5f2ec;
    --color-text: #e8e4dc;
    --color-text-muted: #8a8580;
    --color-border: rgba(196, 165, 116, 0.15);

    --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --font-sans: "Inter", system-ui, -apple-system, sans-serif;

    --header-height: 72px;
    --sidebar-rail: 0px;
    --side-nav-width: 56px;
    --section-pad: clamp(3rem, 6vw, 6rem);
    --container-max: 1280px;
    --transition: 0.3s ease;
    --parallax-scale: 1.35;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body.lv-landing {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    overflow-x: hidden;
}

body.lv-landing.is-loading {
    overflow: hidden;
}

body.lv-landing.has-custom-cursor,
body.lv-landing.has-custom-cursor a,
body.lv-landing.has-custom-cursor button {
    cursor: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* ---------- Typography ---------- */

.section-label {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 0.75rem;
}

.section-label--light {
    color: var(--color-gold-light);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    line-height: 1.15;
    color: var(--color-chocolate);
    margin-bottom: 1.25rem;
}

.section-title--light {
    color: var(--color-white);
}

.section-body {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--color-text-muted);
    max-width: 540px;
}

.section-padded {
    padding: var(--section-pad) clamp(1.25rem, 4vw, 3rem);
}

.section-header.centered {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3rem;
}

.section-header.centered .section-body {
    margin: 0 auto;
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.btn-gold {
    background: var(--color-gold);
    color: var(--color-bg);
    border-color: var(--color-gold);
}

.btn-gold:hover:not(:disabled) {
    background: var(--color-gold-light);
    transform: translateY(-1px);
}

.btn-gold:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-ghost {
    background: transparent;
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-ghost:hover {
    border-color: var(--color-white);
    background: rgba(255, 255, 255, 0.08);
}

.btn-ghost--dark {
    color: var(--color-text);
    border-color: var(--color-border);
}

.btn-ghost--dark:hover {
    background: var(--color-gold);
    color: var(--color-bg);
    border-color: var(--color-gold);
}

/* ---------- Loader ---------- */

.loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg);
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-inner {
    text-align: center;
}

.loader-logo {
    display: block;
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 4vw, 2rem);
    letter-spacing: 0.4em;
    color: var(--color-gold);
    margin-bottom: 2rem;
}

.loader-percent {
    display: block;
    font-family: var(--font-serif);
    font-size: clamp(3rem, 10vw, 5rem);
    font-weight: 300;
    color: var(--color-white);
    line-height: 1;
    margin-bottom: 1.5rem;
}

.loader-bar {
    width: min(280px, 60vw);
    height: 1px;
    background: var(--color-border);
    margin: 0 auto;
    overflow: hidden;
}

.loader-bar-fill {
    display: block;
    height: 100%;
    width: 0%;
    background: var(--color-gold);
    transition: width 0.15s ease;
}

/* ---------- Custom cursor ---------- */

.cursor-dot,
.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10000;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease, width 0.25s ease, height 0.25s ease, border-color 0.25s ease;
    will-change: transform;
}

body.has-custom-cursor .cursor-dot,
body.has-custom-cursor .cursor-ring {
    opacity: 1;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--color-gold);
}

.cursor-ring {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(196, 165, 116, 0.6);
}

.cursor-ring.is-hover {
    width: 52px;
    height: 52px;
    border-color: var(--color-gold);
}

/* ---------- Side nav ---------- */

.side-nav {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 900;
    width: var(--sidebar-rail);
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.side-nav-indicator {
    position: absolute;
    left: 50%;
    top: 0;
    width: 36px;
    height: 36px;
    border: 1px solid var(--color-gold);
    border-radius: 50%;
    background: rgba(196, 165, 116, 0.08);
    pointer-events: none;
    z-index: 0;
    box-shadow: 0 0 14px rgba(196, 165, 116, 0.22);
    will-change: transform;
}

.side-nav ul {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: auto;
}

.side-nav-link {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--color-text-muted);
    border: 1px solid transparent;
    border-radius: 50%;
    transition: color 0.35s ease;
    opacity: 0.55;
}

.side-nav-link svg {
    width: 18px;
    height: 18px;
}

.side-nav-link:hover {
    color: var(--color-gold-light);
}

.side-nav-link.is-active {
    color: var(--color-gold);
}

/* ---------- Parallax media ---------- */

.parallax-wrap {
    position: absolute;
    inset: -15% 0;
    overflow: hidden;
}

.parallax-img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 115%;
    height: 115%;
    min-width: 115%;
    min-height: 115%;
    object-fit: cover;
    object-position: center;
    transform: translate(-50%, -50%) scale(var(--parallax-scale));
    will-change: transform;
}

/* ---------- Header ---------- */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    transition: background var(--transition), box-shadow var(--transition);
}

.site-header.is-scrolled {
    background: rgba(10, 12, 10, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--color-border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 3rem);
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    line-height: 1.1;
    color: var(--color-white);
}

.logo-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 50%;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: 0.25em;
}

.logo-sub {
    font-family: var(--font-sans);
    font-size: 0.625rem;
    letter-spacing: 0.35em;
    opacity: 0.85;
}

.logo--footer {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.collection-intro {
    max-width: 540px;
    font-size: 0.9375rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.7);
    text-align: left;
}

.footer-contact-line {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin-top: 0.5rem;
}

.footer-contact-line a {
    color: var(--color-gold);
}

.footer-contact-line a:hover {
    text-decoration: underline;
}

.footer-bottom a {
    color: var(--color-gold);
}

.site-nav ul {
    display: flex;
    gap: 2rem;
}

.site-nav a {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    transition: color var(--transition);
}

.site-nav a:hover {
    color: var(--color-gold-light);
}

.lang-badge {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--color-white);
    padding: 0.375rem 0.625rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: stretch;
    overflow: hidden;
}

.hero--immersive {
    min-height: 100vh;
    min-height: 100dvh;
}

.hero-bg,
.sustainability-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-bg.parallax-wrap,
.sustainability-bg.parallax-wrap {
    inset: -20% 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-overlay--light {
    background:
        linear-gradient(to bottom,
            rgba(10, 12, 10, 0.15) 0%,
            rgba(10, 12, 10, 0.05) 40%,
            rgba(10, 12, 10, 0.55) 85%,
            rgba(10, 12, 10, 0.95) 100%);
}

.hero-grain {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.04;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-inner--immersive {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    padding: calc(var(--header-height) + 2rem) clamp(1.25rem, 4vw, 3rem) 3rem;
}

.hero-content--bottom {
    max-width: var(--container-max);
    margin: 0 auto;
    width: 100%;
    text-align: center;
}

.hero-title--display {
    font-family: var(--font-serif);
    font-size: clamp(4rem, 14vw, 9rem);
    font-weight: 300;
    line-height: 0.95;
    letter-spacing: 0.08em;
    color: var(--color-white);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.hero-tagline {
    font-family: var(--font-serif);
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-style: italic;
    color: var(--color-gold-light);
    margin-bottom: 2rem;
    letter-spacing: 0.15em;
}

.hero-ctas--minimal {
    justify-content: center;
}

.hero-scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin: 3rem auto 0;
    color: var(--color-text-muted);
    font-size: 0.625rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    transition: color var(--transition);
}

.hero-scroll-hint:hover {
    color: var(--color-gold);
}

.hero-scroll-hint svg {
    animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

.hero-eyebrow {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Hero items hidden until GSAP animates */
[data-hero-item] {
    opacity: 0;
}

/* ---------- Split Sections (Story, Experience) ---------- */

.section-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

.story-images,
.story-content,
.experience-content,
.experience-grid {
    min-height: inherit;
}

.story-content,
.experience-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--section-pad) clamp(2rem, 5vw, 4rem);
    background: var(--color-bg-elevated);
}

.story-triptych {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    height: 100%;
    min-height: 600px;
}

.story-panel {
    overflow: hidden;
    position: relative;
}

.story-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.story-panel:hover img {
    transform: scale(1.03);
}

.feature-pills {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.feature-pill {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
}

.feature-pill img {
    flex-shrink: 0;
    opacity: 0.7;
}

.feature-pill span {
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--color-text);
}

/* ---------- Audiences ---------- */

.audiences {
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

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

.audience-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.audience-card:hover {
    border-color: var(--color-gold);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.audience-card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.audience-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.audience-card:hover .audience-card-media img {
    transform: scale(1.06);
}

.audience-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10, 12, 10, 0.92) 0%,
        rgba(10, 12, 10, 0.35) 55%,
        rgba(10, 12, 10, 0.15) 100%
    );
    transition: background var(--transition);
}

.audience-card:hover .audience-card-overlay {
    background: linear-gradient(
        to top,
        rgba(10, 12, 10, 0.95) 0%,
        rgba(10, 12, 10, 0.45) 60%,
        rgba(10, 12, 10, 0.2) 100%
    );
}

.audience-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.5rem;
}

.audience-card h3 {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 500;
    color: var(--color-white);
    margin-bottom: 0.75rem;
}

.audience-card p {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    flex: 1;
    margin-bottom: 1.25rem;
}

.audience-link {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-gold);
    letter-spacing: 0.05em;
}

/* ---------- B2B ---------- */

.b2b {
    background: var(--color-bg-elevated);
}

.b2b-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: var(--container-max);
    margin: 0 auto;
}

.b2b-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0 2.5rem;
}

.b2b-stats li {
    padding: 1.25rem;
    background: var(--color-bg-card);
    border-left: 3px solid var(--color-gold);
}

.b2b-stats strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 0.25rem;
}

.b2b-stats span {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

.b2b-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 600px;
}

/* ---------- Collection ---------- */

.collection {
    background: var(--color-forest);
    padding: var(--section-pad) clamp(1.25rem, 4vw, 3rem);
}

.collection-intro-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 2rem 3rem;
    max-width: var(--container-max);
    margin: 0 auto 3rem;
}

.collection-intro-copy {
    text-align: left;
}

.collection-intro-copy .section-title {
    margin-bottom: 1rem;
}

.collection-intro-action {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    flex-shrink: 0;
}

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

.product-card {
    background: var(--color-forest-light);
    transition: transform var(--transition), box-shadow var(--transition);
}

.product-card:hover {
    transform: scale(1.02);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.product-image {
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 1.25rem;
}

.product-info h3 {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--color-white);
    margin-bottom: 0.375rem;
}

.product-tagline {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}

.product-desc {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 0.75rem;
}

.product-price {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-gold-light);
}

/* ---------- Experience ---------- */

.experience--reverse {
    direction: rtl;
}

.experience--reverse > * {
    direction: ltr;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 0.5rem;
    padding: 0.5rem;
    background: var(--color-bg);
}

.experience-item {
    overflow: hidden;
}

.experience-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 200px;
    transition: transform 0.5s ease;
}

.experience-item:hover img {
    transform: scale(1.04);
}

/* ---------- Sustainability ---------- */

.sustainability {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.sustainability-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.sustainability-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10, 12, 10, 0.95) 0%,
        rgba(10, 12, 10, 0.55) 50%,
        rgba(10, 12, 10, 0.35) 100%
    );
}

.sustainability-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--section-pad) clamp(1.25rem, 4vw, 3rem);
}

.sustainability-intro {
    margin-bottom: 3rem;
}

.sustainability-link {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-gold-light);
    transition: color var(--transition);
}

.sustainability-link:hover {
    color: var(--color-white);
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.75);
}

/* ---------- Contact Forms ---------- */

.contact {
    background: var(--color-bg-elevated);
    border-top: 1px solid var(--color-border);
}

.contact-shell {
    max-width: var(--container-max);
    margin: 0 auto;
}

.contact-header {
    margin-bottom: 2rem;
}

.contact-header .section-title {
    margin-bottom: 0;
}

.contact-tabs {
    position: relative;
    display: inline-flex;
    gap: 0.25rem;
    margin-bottom: 2.5rem;
    padding-bottom: 0;
    border-bottom: 1px solid var(--color-border);
}

.contact-tab {
    position: relative;
    z-index: 1;
    padding: 0.875rem 1.5rem;
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.3s ease;
}

.contact-tab:hover {
    color: var(--color-gold-light);
}

.contact-tab.is-active {
    color: var(--color-gold);
}

.contact-tab-indicator {
    position: absolute;
    left: 0;
    bottom: -1px;
    height: 2px;
    background: var(--color-gold);
    pointer-events: none;
    will-change: transform, width;
}

.contact-panels {
    position: relative;
}

.contact-panel {
    display: none;
}

.contact-panel.is-active {
    display: block;
}

.contact-panel-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 500;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.contact-intro .section-label {
    margin-bottom: 0.75rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    max-width: var(--container-max);
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 0.375rem;
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--color-text);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    transition: border-color var(--transition);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--color-gold);
}

.form-row input:disabled,
.form-row select:disabled,
.form-row textarea:disabled {
    opacity: 0.75;
    cursor: not-allowed;
}

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

.form-note {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-style: italic;
}

/* ---------- Footer ---------- */

.site-footer {
    background: var(--color-footer-bg);
    padding: var(--section-pad) clamp(1.25rem, 4vw, 3rem) 0;
}

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

.footer-brand p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    max-width: 280px;
}

.footer-col h4,
.footer-newsletter h4 {
    font-family: var(--font-serif);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-col a {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    transition: color var(--transition);
}

.footer-col a:hover {
    color: var(--color-gold);
}

.footer-newsletter p {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    margin-bottom: 1.25rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    border: 1px solid var(--color-border);
    background: var(--color-bg-card);
    color: var(--color-text);
}

.newsletter-form button {
    padding: 0.625rem 1rem;
    background: var(--color-gold);
    color: var(--color-bg);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    transition: background var(--transition), color var(--transition);
}

.newsletter-form button:hover:not(:disabled) {
    background: var(--color-gold-light);
    color: var(--color-bg);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: var(--color-text-muted);
    transition: color var(--transition);
}

.footer-social a:hover {
    color: var(--color-gold);
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding: 1.5rem clamp(1.25rem, 4vw, 3rem);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* ---------- GSAP reveal initial states ---------- */

[data-reveal],
[data-reveal-stagger] > *,
[data-stat-stagger] > * {
    will-change: transform, opacity;
}

/* =========================================================
   Responsive — Mobile First
   ========================================================= */

@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-newsletter {
        grid-column: 1 / -1;
    }
}

@media (min-width: 769px) {
    :root {
        --sidebar-rail: 4.75rem;
    }

    .header-inner,
    .section-padded,
    .story-content,
    .experience-content,
    .collection,
    .sustainability-inner,
    .site-footer {
        padding-left: calc(var(--sidebar-rail) + clamp(1.25rem, 4vw, 3rem));
    }

    .hero-inner--immersive {
        padding-left: clamp(1.25rem, 4vw, 3rem);
    }
}

@media (max-width: 768px) {
    .side-nav {
        display: none;
    }

    .hero--immersive {
        min-height: 100svh;
        min-height: 100dvh;
    }

    .hero-bg.parallax-wrap,
    .sustainability-bg.parallax-wrap {
        inset: 0;
    }

    .hero-bg .parallax-img {
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        transform: none;
        object-fit: cover;
        object-position: center 42%;
    }

    .sustainability-bg .parallax-img {
        --parallax-scale: 1.08;
        transform: translate(-50%, -50%) scale(var(--parallax-scale));
    }

    .hero-inner--immersive {
        justify-content: center;
        min-height: 100svh;
        min-height: 100dvh;
        padding: calc(var(--header-height) + 1.5rem) clamp(1.25rem, 4vw, 3rem) 2rem;
    }

    .hero-overlay--light {
        background:
            linear-gradient(to bottom,
                rgba(10, 12, 10, 0.4) 0%,
                rgba(10, 12, 10, 0.15) 35%,
                rgba(10, 12, 10, 0.5) 75%,
                rgba(10, 12, 10, 0.92) 100%);
    }

    .hero-scroll-hint {
        margin-top: 2rem;
    }

    .nav-toggle {
        display: flex;
    }

    .site-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: rgba(10, 12, 10, 0.98);
        padding: 1.5rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
    }

    .site-nav.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .site-nav ul {
        flex-direction: column;
        gap: 1.25rem;
    }

    .site-nav a {
        font-size: 0.875rem;
    }

    .header-actions {
        display: none;
    }

    .hero-inner--immersive {
        padding-left: clamp(1.25rem, 4vw, 3rem);
    }

    .hero-title--display {
        font-size: clamp(3rem, 18vw, 5rem);
    }

    .section-split {
        grid-template-columns: 1fr;
    }

    .story-triptych {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .story-panel {
        aspect-ratio: 4 / 3;
    }

    .experience--reverse {
        direction: ltr;
    }

    .experience-grid {
        order: -1;
    }

    .audience-cards {
        grid-template-columns: 1fr;
    }

    .b2b-grid {
        grid-template-columns: 1fr;
    }

    .b2b-visual {
        order: -1;
    }

    .collection-intro-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .collection-intro-action {
        justify-content: flex-start;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .stat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-tabs {
        display: flex;
        width: 100%;
    }

    .contact-tab {
        flex: 1;
        padding: 0.875rem 0.75rem;
        text-align: center;
    }

    .form-row--half {
        grid-template-columns: 1fr;
    }

    .feature-pills {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
