/* =============================================
   NIGEL Uniformes - Main Stylesheet
   Dark editorial theme — unified design
   ============================================= */

/* --- CSS Variables --- */
:root {
    color-scheme: dark;

    /* Ink scale */
    --ink-950:        #0A0A0B;
    --ink-900:        #111113;
    --ink-800:        #17171A;
    --ink-700:        #232327;

    /* Paper scale */
    --paper:          #F5F3EE;
    --paper-2:        #E9E5DC;
    --white:          #FFFFFF;

    /* Text on dark */
    --t1:             rgba(255,255,255,0.92);
    --t2:             rgba(255,255,255,0.66);
    --t3:             rgba(255,255,255,0.44);
    --t4:             rgba(255,255,255,0.26);
    --line:           rgba(255,255,255,0.14);
    --line-soft:      rgba(255,255,255,0.07);

    /* Text on paper */
    --ink-t1:         #0A0A0B;
    --ink-t2:         rgba(10,10,11,0.62);
    --ink-t3:         rgba(10,10,11,0.38);
    --ink-line:       rgba(10,10,11,0.14);

    --accent:         #f6e749;

    /* Aliases (legacy names used across the stylesheet) */
    --bg:             var(--ink-950);
    --cream:          var(--paper);
    --fg:             var(--white);
    --text-muted:     var(--t2);
    --text-dim:       var(--t3);
    --text-faint:     var(--t4);
    --muted:          var(--t2);
    --dim:            var(--t3);
    --faint:          var(--line-soft);
    --border:         var(--line);
    --border-light:   var(--line-soft);

    --font-heading:   'Playfair Display', Georgia, serif;
    --font-body:      'Host Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --header-h:       80px;
    --header-pad-x:   clamp(18px, 3vw, 28px);
    --transition-slow:  900ms cubic-bezier(0.7, 0, 0.2, 1);
    --transition-med:   500ms cubic-bezier(0.7, 0, 0.2, 1);
    --transition-fast:  300ms ease;
    --section-pad:      clamp(40px, 8vw, 120px);
}

/* Keep the scrollbar gutter identical on the non-scrolling home page */
html:has(.is-home) { overflow-y: scroll; }

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; -webkit-font-smoothing: antialiased; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--fg);
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 300;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
ul { list-style: none; }

/* --- Grain Overlay --- */
.grain {
    pointer-events: none; z-index: 9998; opacity: .04;
    mix-blend-mode: overlay;
    position: fixed; inset: -50%;
    width: 200%; height: 200%;
    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)' opacity='0.5'/%3E%3C/svg%3E");
    animation: grain .4s steps(3,end) infinite;
}
@keyframes grain {
    0%, to { transform: translate(0); }
    33%    { transform: translate(-4px,-4px); }
    66%    { transform: translate(4px,2px); }
}
.landing-page .grain {
    mix-blend-mode: multiply;
    opacity: .03;
}

/* --- Preloader --- */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--ink-950);
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(24px, 4vw, 48px);
    padding-bottom: clamp(40px, 6vw, 72px);
    transition: transform 1s cubic-bezier(.7,0,.2,1), visibility 1s;
}
.preloader__brand {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
}
.preloader__brand sup {
    font-size: .35em;
    color: var(--accent);
    vertical-align: super;
}
.preloader__count {
    align-self: flex-end;
    font-family: 'Oswald', sans-serif;
    font-size: clamp(72px, 16vw, 200px);
    font-weight: 700;
    line-height: .85;
    letter-spacing: -.02em;
    font-variant-numeric: tabular-nums;
}
.preloader__bar {
    position: absolute;
    left: clamp(24px, 4vw, 48px);
    right: clamp(24px, 4vw, 48px);
    bottom: clamp(16px, 3vw, 28px);
    height: 1px;
    background: rgba(255,255,255,0.18);
}
.preloader__bar i {
    display: block;
    height: 100%;
    width: 0;
    background: var(--accent);
    transition: width .2s linear;
}
body.is-loading { overflow: hidden; }
body.is-loaded .preloader {
    transform: translateY(-101%);
    visibility: hidden;
}

/* ============================================
   LANDING PAGE BODY STYLES
   ============================================ */
.landing-page {
    color-scheme: light;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 400;

    /* Light theme inversion */
    --bg:             #FFFFFF;
    --fg:             #0A0A0B;
    --t1:             rgba(10,10,11,0.92);
    --t2:             rgba(10,10,11,0.66);
    --t3:             rgba(10,10,11,0.44);
    --t4:             rgba(10,10,11,0.26);
    --line:           rgba(10,10,11,0.14);
    --line-soft:      rgba(10,10,11,0.07);
    --muted:          var(--t2);
    --dim:            var(--t3);
    --faint:          var(--line-soft);
}

/* ============================================
   CURSOR BUBBLE
   ============================================ */
.cursor-bubble {
    position: fixed;
    pointer-events: none;
    z-index: 60;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.01);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    mix-blend-mode: difference;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease, border-color 0.3s ease;
}
.cursor-bubble .bubble-text {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: rgba(255,255,255,0);
    transition: color 0.4s ease;
    white-space: nowrap;
    font-family: var(--font-body);
}
.cursor-bubble.idle {
    width: 80px;
    height: 80px;
    border-color: #FFFFFF;
}
.cursor-bubble.idle .bubble-text {
    color: #FFFFFF;
}
@media (max-width: 768px) {
    .cursor-bubble { display: none; }
}

/* ============================================
   SITE HEADER
   ============================================ */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 40;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--header-pad-x);
    border-bottom: 1px solid transparent;
    pointer-events: none;
}
.site-header > * { pointer-events: auto; }
.is-home .site-header { justify-content: flex-end; }
.header-branding {
    display: flex;
    align-items: center;
    gap: 12px;
}
.header-branding-text {
    display: inline-block;
}
.header-logo {
    display: block;
    height: calc(clamp(28px, 4vw, 40px) + 16px);
    width: auto;
    filter: brightness(0) invert(1);
}
.header-brand {
    display: block;
    margin-right: -0.4em; /* cancel trailing letter-spacing so the tagline can match the ink width */
    font-family: "Host Grotesk", sans-serif;
    font-size: clamp(25px, 5vw, 40px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--fg);
}
.header-tagline {
    display: flex;
    justify-content: space-between;
    width: 0;
    min-width: 100%;
    margin-top: 2px;
    font-size: clamp(8px, 4vw, 10px);
    line-height: 1.6;
    text-transform: uppercase;
    letter-spacing: 0;
    color: var(--text-muted);
}

/* Landing header variant (Oswald font) */
.landing-header {
    background: transparent;
    transition: transform .55s cubic-bezier(.22,1,.36,1), background .4s ease, border-bottom-color .4s ease;
}
.landing-header.header--hidden { transform: translateY(-101%); }
.landing-header.scrolled {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom-color: var(--line-soft);
}
.landing-header .header-brand {
    font-family: "Host Grotesk", sans-serif;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    letter-spacing: .22em;
    margin-right: -0.22em;
}
.landing-header .header-tagline {
    font-family: 'Oswald', sans-serif;
    font-size: 9px;
    font-weight: 500;
    color: var(--t3);
}

/* Landing header over the dark hero: light text */
.landing-header:not(.scrolled) .header-brand { color: #FFFFFF; }
.landing-header:not(.scrolled) .header-tagline { color: rgba(255,255,255,0.55); }
.landing-header:not(.scrolled) .header-nav a { color: rgba(255,255,255,0.62); }
.landing-header:not(.scrolled) .header-nav a:hover,
.landing-header:not(.scrolled) .header-nav a.active { color: #FFFFFF; }
.landing-header:not(.scrolled) .menu-btn,
.landing-header:not(.scrolled) .hamburger-btn {
    color: #FFFFFF;
    border-color: rgba(255,255,255,0.3);
}

/* Landing header on the white page: dark text */
.landing-header.scrolled .header-logo { filter: brightness(0); }
.landing-header.scrolled .header-nav a:hover,
.landing-header.scrolled .header-nav a.active { color: var(--fg); }
.landing-header.scrolled .menu-btn,
.landing-header.scrolled .hamburger-btn {
    color: var(--fg);
    background: rgba(10,10,11,0.04);
}

/* Desktop nav */
.header-nav {
    display: none;
    align-items: center;
    gap: 32px;
}
.header-nav a {
    position: relative;
    font-family: 'Oswald', sans-serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--t1);
    transition: color .3s;
    padding: 10px 0;
}
.header-nav a::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 4px;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s cubic-bezier(.16,1,.3,1);
}
.header-nav a:hover,
.header-nav a.active { color: var(--white); }
.header-nav a:hover::after,
.header-nav a.active::after { transform: scaleX(1); }
.header-nav a.active::after { background: var(--accent); }

/* Burger toggle (landing, mobile + tablet only) */
.landing-header .hamburger-btn { display: none; }

@media (min-width: 1024px) {
    .header-nav { display: flex; }
}
@media (max-width: 1023px) {
    .landing-header .hamburger-btn { display: flex; }
    .landing-header .menu-btn { display: none; }
}

/* --- Header circular buttons (burger on home, X on landing) --- */
.hamburger-btn,
.menu-btn {
    position: relative; overflow: hidden; z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: rgba(10,10,11,0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--fg);
    transition: border-color .3s, color .3s;
}
.hamburger-btn::after,
.menu-btn::after {
    content: '';
    position: absolute; inset: 0; z-index: -1;
    background: var(--fg);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 1s cubic-bezier(0.16,1,0.3,1);
}
.hamburger-btn:hover,
.menu-btn:hover {
    border-color: var(--fg);
    color: var(--bg);
}
.hamburger-btn:hover::after,
.menu-btn:hover::after {
    transform: scaleY(1);
}
.hamburger-btn .hamburger-icon,
.menu-btn svg { position: relative; z-index: 2; }
.menu-btn svg { transition: transform .3s; }
.menu-btn:hover svg { transform: rotate(90deg); }

/* Focus rings (accent) */
.hamburger-btn:focus-visible,
.menu-btn:focus-visible,
.slide-cta:focus-visible,
.landing-hero-cta:focus-visible,
.submit-btn:focus-visible,
.nav-dot-btn:focus-visible,
.header-nav a:focus-visible,
.menu-overlay a:focus-visible,
.faq-question:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

/* ============================================
   FULLSCREEN MENU (landing, mobile + tablet)
   ============================================ */
.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 35;
    display: flex;
    overflow-y: auto;
    padding: calc(var(--header-h) + 24px) var(--header-pad-x) max(24px, env(safe-area-inset-bottom));
    background: var(--ink-950);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .5s ease, visibility 0s linear .5s;
}
body.menu-open .menu-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}
.menu-overlay-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(14px, 3.5vh, 28px);
    margin: auto;
    text-align: center;
}
.menu-overlay a {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(26px, 7vw, 40px);
    font-weight: 500;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    opacity: 0;
    transform: translateY(18px);
    transition: color .3s ease, opacity .5s ease, transform .6s cubic-bezier(.22,1,.36,1);
}
body.menu-open .menu-overlay a { opacity: 1; transform: none; }
body.menu-open .menu-overlay a:nth-child(1) { transition-delay: .08s; }
body.menu-open .menu-overlay a:nth-child(2) { transition-delay: .14s; }
body.menu-open .menu-overlay a:nth-child(3) { transition-delay: .2s; }
body.menu-open .menu-overlay a:nth-child(4) { transition-delay: .26s; }
body.menu-open .menu-overlay a:nth-child(5) { transition-delay: .32s; }
.menu-overlay a:hover { color: #FFFFFF; }
.menu-overlay a.active { color: var(--accent); }
.menu-overlay .menu-overlay-home {
    margin-top: clamp(18px, 5vh, 40px);
    padding: 12px 28px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 999px;
    font-size: clamp(13px, 3vw, 16px);
    letter-spacing: .24em;
    color: rgba(255,255,255,0.75);
}
.menu-overlay .menu-overlay-home:hover {
    color: var(--ink-950);
    background: #FFFFFF;
    border-color: #FFFFFF;
}
body.menu-open { overflow: hidden; }

/* Header stays on top of the open menu */
body.menu-open .landing-header {
    background: transparent;
    border-bottom-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
body.menu-open .landing-header .header-brand { color: #FFFFFF; }
body.menu-open .landing-header .header-tagline { color: rgba(255,255,255,0.55); }
body.menu-open .landing-header .header-logo { filter: brightness(0) invert(1); }
body.menu-open .landing-header .hamburger-btn {
    color: #FFFFFF;
    border-color: rgba(255,255,255,0.3);
}
body.menu-open .landing-header .hamburger-btn:hover {
    border-color: #FFFFFF;
    color: var(--ink-950);
}
body.menu-open .landing-header .hamburger-btn:hover::after { background: #FFFFFF; }

/* Plain 3-line burger (landing, mobile + tablet): no circle, no background */
@media (max-width: 1023px) {
    .landing-header .hamburger-btn,
    .landing-header.scrolled .hamburger-btn {
        border: 0;
        background: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .landing-header .hamburger-btn::after { display: none; }
    .landing-header .hamburger-btn:hover { color: #FFFFFF; }
    .landing-header.scrolled .hamburger-btn:hover { color: var(--fg); }
    body.menu-open .landing-header .hamburger-btn:hover { color: #FFFFFF; }
}

/* Burger morphs into a close icon */
.hamburger-icon .line {
    transform-box: fill-box;
    transform-origin: center;
    transition: transform .4s cubic-bezier(.22,1,.36,1), opacity .3s ease;
}
body.menu-open .hamburger-icon .line-top { transform: translateY(7px) rotate(45deg); }
body.menu-open .hamburger-icon .line-mid { opacity: 0; }
body.menu-open .hamburger-icon .line-bot { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 1024px) {
    .menu-overlay { display: none; }
}

/* ============================================
   HOMEPAGE CAROUSEL
   ============================================ */
.is-home { overflow: hidden; height: 100vh; }
.home-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}
.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}
.carousel-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform, opacity;
}
.carousel-slide.active { z-index: 10; }
.carousel-slide.inactive { z-index: 0; pointer-events: none; }
.slide-bg {
    position: absolute;
    inset: -35px;
    overflow: hidden;
    will-change: transform;
}
.slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.15) brightness(1.04) contrast(1.02);
}
.slide-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(10,10,11,0.72) 0%, rgba(10,10,11,0) 45%),
        linear-gradient(90deg, rgba(10,10,11,0.55) 0%, rgba(10,10,11,0.22) 45%, rgba(10,10,11,0.02) 78%);
}
.slide-content {
    position: relative;
    z-index: 5;
    width: min(1200px, calc(100% - 2 * clamp(20px, 5vw, 80px)));
    margin-inline: auto;
    padding-bottom: clamp(110px, 15vh, 170px);
    pointer-events: auto;
}
.slide-category {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: var(--t1);
    margin-bottom: 16px;
    font-weight: 800;
}
.slide-title {
    font-family: "Comfortaa", sans-serif;
    font-size: clamp(28px, 6vw, 72px);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -0.01em;
    max-width: 900px;
}
.slide-subtitle {
    margin-top: 16px;
    font-size: clamp(13px, 1.6vw, 16px);
    color: rgba(255,255,255,0.85);
    max-width: 500px;
    line-height: 1.6;
}
.slide-category,
.slide-title,
.slide-subtitle {
    text-shadow: 0 2px 24px rgba(10,10,11,0.6);
}
.slide-cta {
    position: relative; overflow: hidden; z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
    padding: 14px 32px;
    border: 1px solid var(--line);
    border-radius: 100px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--t1);
    transition: border-color .3s, color .3s;
}
.slide-cta::after {
    content: '';
    position: absolute; inset: 0; z-index: -1;
    background: var(--fg);
    transform: scaleY(0);
    transform-origin: bottom;
    border-radius: 100px;
    transition: transform 1s cubic-bezier(0.16,1,0.3,1);
}
.slide-cta:hover {
    color: var(--ink-t1);
    border-color: var(--fg);
}
.slide-cta:hover::after {
    transform: scaleY(1);
}
.slide-cta svg { width: 16px; height: 16px; position: relative; z-index: 2; transition: transform .3s; }
.slide-cta:hover svg { transform: translateX(4px); }

/* Carousel nav dots */
.carousel-nav {
    position: absolute;
    right: var(--header-pad-x);
    top: 50%;
    transform: translateY(-50%);
    z-index: 30;
    display: none;
    flex-direction: column;
    gap: 16px;
}
.nav-dot-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 1;
    transition: opacity var(--transition-fast);
}
.nav-dot-num {
    font-size: 10px;
    font-variant-numeric: tabular-nums;
    color: var(--t3);
    min-width: 18px;
}
.nav-dot-line {
    height: 1px;
    transition: all var(--transition-med);
    background: var(--t3);
    width: 16px;
}
.nav-dot-btn:hover .nav-dot-line { width: 32px; background: var(--t1); }
.nav-dot-btn.active .nav-dot-line { width: 40px; background: var(--accent); }
.nav-dot-btn.active .nav-dot-num { color: var(--white); }

/* Scroll indicator */
.scroll-hint {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: var(--t3);
    cursor: pointer;
    transition: color var(--transition-fast);
    padding: 10px;
}
.scroll-hint:hover {
    color: var(--fg);
    animation: scrollBob 0.8s ease-in-out infinite;
}
@keyframes scrollBob {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(-10px); }
}

/* Homepage bottom bar: branding + socials */
.hero-bottom {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 25;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding: 24px var(--header-pad-x) max(24px, env(safe-area-inset-bottom));
    pointer-events: none;
}
.hero-bottom > * { pointer-events: auto; }
.hero-branding {
    display: flex;
    align-items: stretch;
    gap: clamp(10px, 1.2vw, 18px);
    line-height: 1;
}
.hero-branding-logo {
    position: relative;
    flex: 0 0 auto;
    width: clamp(38px, 6.5vw, 52px);
}
.hero-branding-logo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
}
.hero-branding-text {
    display: flex;
    flex-direction: column;
}
.hero-brand {
    display: block;
    margin-right: -0.32em; /* cancel trailing letter-spacing so the tagline can match the ink width */
    font-family: "Host Grotesk", sans-serif;
    font-size: clamp(28px, 8vw, 56px);
    font-weight: 800;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--fg);
}
.hero-tagline {
    display: flex;
    justify-content: space-between;
    width: 0;
    min-width: 100%;
    margin-top: 6px;
    font-size: clamp(9px, 2vw, 11px);
    line-height: 1.6;
    text-transform: uppercase;
    letter-spacing: 0;
    color: var(--t2);
}

/* Homepage hero social icons */
.hero-social {
    display: flex;
    gap: 12px;
}
.hero-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--t3);
    transition: color var(--transition-fast), background var(--transition-fast);
}
.hero-social a:hover { color: var(--fg); background: rgba(255,255,255,0.08); }

@media (min-width: 768px) {
    .carousel-nav { display: flex; }
    .slide-content { padding-bottom: clamp(130px, 17vh, 190px); }
}
@media (max-width: 767px) {
    .scroll-hint { display: none; }
}
@media (max-width: 480px) {
    .hero-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* ============================================
   LANDING PAGE HERO
   ============================================ */
.landing-hero {
    position: relative;
    min-height: 100vh;
    display: flex; flex-direction: column; justify-content: center;
    padding: 120px clamp(20px,5vw,80px) clamp(40px,8vh,100px);
    overflow: hidden;
}
.landing-hero-bg {
    position: absolute; inset: 0;
    z-index: 0;
}
.landing-hero-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: grayscale(0.6) brightness(0.55);
    transform: scale(1.08) translate3d(0, var(--py, 0), 0);
    will-change: transform;
}
.landing-hero-bg::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to top,
        #FFFFFF 0%,
        rgba(255,255,255,0.45) 8%,
        rgba(10,10,11,0.3) 40%,
        rgba(10,10,11,0.6) 100%);
}
.landing-hero-content {
    position: relative; z-index: 2;
    max-width: 900px;
}
.landing-hero-eyebrow {
    font-family: 'Oswald', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
}
.landing-hero-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(48px,9vw,110px);
    font-weight: 700;
    line-height: .92;
    letter-spacing: -.03em;
    text-transform: uppercase;
    color: #FFFFFF;
}
.landing-hero-title em {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    display: block;
    font-size: clamp(28px,4vw,48px);
    color: var(--white);
    margin-top: 4px;
}
.landing-hero-divider {
    width: clamp(48px,6vw,80px);
    height: 1px;
    background: rgba(255,255,255,0.3);
    margin: 28px 0;
}
.landing-hero-desc {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(15px,1.8vw,18px);
    font-style: italic;
    color: rgba(255,255,255,0.78);
    max-width: 520px;
    line-height: 1.6;
}
.landing-hero-cta {
    position: relative; overflow: hidden; z-index: 1;
    display: inline-flex; align-items: center; gap: 10px;
    margin-top: 36px;
    font-family: 'Oswald', sans-serif;
    font-size: 12px; font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #FFFFFF;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 100px;
    padding: 16px 36px;
    transition: color .35s, border-color .35s, transform .35s;
}
.landing-hero-cta::after {
    content: '';
    position: absolute; inset: 0; z-index: -1;
    background: var(--white);
    transform: scaleY(0);
    transform-origin: bottom;
    border-radius: 100px;
    transition: transform 1s cubic-bezier(0.16,1,0.3,1);
}
.landing-hero-cta:hover {
    color: var(--ink-t1);
    border-color: var(--fg);
    transform: translateY(-2px);
}
.landing-hero-cta:hover::after { transform: scaleY(1); }
.landing-hero-cta svg { width: 14px; height: 14px; position: relative; z-index: 2; transition: transform .3s; }
.landing-hero-cta:hover svg { transform: translateX(4px); }

/* ============================================
   MARQUEE BAND
   ============================================ */
.marquee-band {
    position: relative; z-index: 2;
    border-top: 1px solid var(--faint);
    border-bottom: 1px solid var(--faint);
    padding: 20px 0;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg,#0000,#000 5% 95%,#0000);
    mask-image: linear-gradient(90deg,#0000,#000 5% 95%,#0000);
}
.marquee-track {
    display: flex; gap: 48px;
    width: max-content;
    animation: marquee 30s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
    font-family: 'Oswald', sans-serif;
    font-size: 11px; font-weight: 600;
    letter-spacing: .24em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--dim);
}
.marquee-item::before { content: '\00B7'; margin-right: 20px; opacity: .4; }
@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================
   SECTIONS (shared)
   ============================================ */
.section {
    position: relative;
    padding: clamp(60px,10vw,140px) clamp(20px,5vw,80px);
    border-bottom: 1px solid var(--faint);
    scroll-margin-top: var(--header-h);
}
.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.section-head {
    margin-bottom: clamp(40px,6vw,80px);
}
.section-head.center { text-align: center; }
.section-header {
    text-align: center;
    margin-bottom: clamp(40px,6vw,80px);
}
.section-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: var(--text-dim);
    margin-bottom: 12px;
}
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(28px,5vw,56px);
    font-weight: 300;
    line-height: 1.1;
}
.section-subtitle {
    margin-top: 16px;
    font-size: clamp(14px,1.6vw,17px);
    color: var(--text-muted);
    max-width: 640px;
    margin-inline: auto;
}

/* Landing section headers */
.sec-eyebrow {
    font-family: 'Oswald', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--dim);
    margin-bottom: 16px;
}
.sec-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(36px,6vw,72px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.02em;
    text-transform: uppercase;
}
.sec-subtitle {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(16px,2vw,22px);
    font-style: italic;
    color: var(--muted);
    margin-top: 16px;
    max-width: 600px;
    line-height: 1.45;
}

/* ============================================
   ABOUT (landing)
   ============================================ */
.about-grid {
    display: grid; gap: 48px; align-items: start;
}
.about-text h2 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(28px,4vw,48px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.01em;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.about-text p {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 16px;
}
.about-text .twotone { color: var(--fg); }
.about-media {
    position: relative;
    padding-bottom: 40px;
}
.about-media-main {
    aspect-ratio: 4 / 4.4;
    overflow: hidden;
    border-radius: 6px;
}
.about-media-main img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: grayscale(0.25);
    transition: transform .8s ease, filter .8s ease;
}
.about-media:hover .about-media-main img { transform: scale(1.04); filter: grayscale(0.05); }
.about-media-small {
    position: absolute;
    right: -1.6rem;
    bottom: 0;
    width: 46%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 6px;
    border: 6px solid var(--bg);
    box-shadow: 0 30px 70px rgba(10,10,11,0.18);
    transform: translate3d(0, var(--py, 0), 0);
    will-change: transform;
}
.about-media-small img { width: 100%; height: 100%; object-fit: cover; }
.about-facts {
    margin-top: 40px;
    border-top: 1px solid var(--line);
}
.about-fact {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
    color: var(--fg);
}
.about-fact span:first-child {
    font-family: 'Oswald', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--dim);
    padding-top: 2px;
    flex-shrink: 0;
}
@media (min-width: 768px) {
    .about-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
    .about-media { position: sticky; top: 14vh; }
}
@media (max-width: 1023px) {
    .about-media { max-width: 560px; }
    .about-media-small { right: 1rem; }
}

/* ============================================
   STATS
   ============================================ */
.stats-grid {
    display: grid; grid-template-columns: repeat(2,1fr);
    gap: 1px;
    background: var(--faint);
}
.stat-card {
    background: var(--bg);
    padding: clamp(32px,5vw,56px) clamp(20px,3vw,32px);
    text-align: center;
}
.stat-number {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(48px,7vw,80px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.02em;
}
.stat-label {
    font-family: 'Oswald', sans-serif;
    font-size: 10px; font-weight: 600;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--dim);
    margin-top: 12px;
}
@media (min-width: 768px) {
    .stats-grid { grid-template-columns: repeat(4,1fr); }
}

/* ============================================
   BENEFITS
   ============================================ */
.benefits-grid {
    display: grid; grid-template-columns: repeat(2,1fr);
    gap: 1px;
    background: var(--faint);
}
.benefit-item {
    background: var(--bg);
    padding: clamp(24px,4vw,40px);
    display: flex; align-items: flex-start; gap: 20px;
}
.benefit-icon {
    width: 20px; height: 20px; flex-shrink: 0;
    margin-top: 3px;
    color: var(--dim);
}
.benefit-item span {
    font-size: 14px;
    line-height: 1.6;
    color: var(--muted);
}
@media (min-width: 768px) {
    .benefits-grid { grid-template-columns: repeat(4,1fr); }
}

/* ============================================
   PRODUCTS
   ============================================ */
/* Landing product rows */
.products-list {
    display: flex; flex-direction: column;
}
.product-row {
    display: grid; gap: 32px;
    padding: clamp(32px,5vw,64px) 0;
    border-bottom: 1px solid var(--faint);
    align-items: center;
}
.product-row:last-child { border-bottom: none; padding-bottom: 0; }
.product-row:first-child { padding-top: 0; }
.product-img {
    aspect-ratio: 4/3;
    overflow: hidden;
}
.product-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: grayscale(0.35);
    transition: transform .7s ease, filter .7s ease;
}
.product-row:hover .product-img img { transform: scale(1.04); filter: grayscale(0.05); }
.product-info h3 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(24px,3vw,40px);
    font-weight: 700;
    letter-spacing: -.01em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.product-info p {
    font-size: 14px;
    font-style: italic;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 20px;
}
.product-tags {
    display: flex; flex-wrap: wrap; gap: 8px;
}
.product-tag {
    font-family: 'Oswald', sans-serif;
    font-size: 9px; font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    padding: 6px 14px;
    border: 1px solid var(--faint);
    border-radius: 999px;
    color: var(--dim);
}
@media (min-width: 768px) {
    .product-row { grid-template-columns: 1fr 1fr; }
    .product-row:nth-child(even) .product-img { order: 2; }
}

/* ============================================
   CLIENTS
   ============================================ */
.clients-grid {
    display: grid; grid-template-columns: repeat(2,1fr);
    gap: 1px;
    background: var(--faint);
}
.client-item {
    background: var(--bg);
    padding: clamp(32px,5vw,56px) 24px;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    min-height: 120px;
}
.client-name {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(16px,2.5vw,28px);
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--dim);
}
@media (min-width: 640px) { .clients-grid { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 1024px) { .clients-grid { grid-template-columns: repeat(4,1fr); } }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
    display: grid; gap: 1px;
    background: var(--faint);
}
.testimonial-card {
    background: var(--bg);
    padding: clamp(28px,4vw,48px);
    display: flex; flex-direction: column; gap: 24px;
}
.testimonial-stars { display: flex; gap: 3px; }
.testimonial-stars svg { width: 16px; height: 16px; color: var(--accent); }
.testimonial-quote {
    font-size: 15px; font-style: italic;
    color: var(--muted);
    line-height: 1.7;
    flex: 1;
}
.testimonial-author {
    font-family: 'Oswald', sans-serif;
    font-size: 11px; font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    border-top: 1px solid var(--faint);
    padding-top: 20px;
}
@media (min-width: 640px) { .testimonials-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .testimonials-grid { grid-template-columns: repeat(3,1fr); } }

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
    display: grid; gap: 48px;
}
.contact-info-list {
    display: flex; flex-direction: column; gap: 40px;
}
.contact-info-item {
    display: flex; gap: 22px; align-items: flex-start;
}
.contact-info-icon {
    width: 58px; height: 58px;
    border: 1px solid var(--faint);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    color: var(--dim);
}
.contact-info-icon svg { width: 24px; height: 24px; }
.contact-info-text h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 16px; font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.contact-info-text p {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.75;
}

/* Landing-style contact form (paper background) */
.contact-form-wrap {
    background: var(--paper);
    color: var(--ink-t1);
    padding: clamp(32px,5vw,56px);
}
.contact-form-wrap h3 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(24px,3vw,40px);
    font-weight: 700;
    letter-spacing: -.01em;
    text-transform: uppercase;
    margin-bottom: 36px;
}
.form-group {
    position: relative;
    margin-bottom: 8px;
}
.form-group input,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--ink-line);
    outline: none;
    padding: 24px 0 8px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 14px;
    font-weight: 400;
    color: var(--ink-t1);
    transition: border-color .3s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: transparent; }
.form-group label {
    font-family: 'Oswald', sans-serif;
    font-size: 9px; font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ink-t3);
    position: absolute; top: 24px; left: 0;
    pointer-events: none;
    transform-origin: 0 0;
    transition: transform .3s cubic-bezier(.16,1,.3,1), color .3s;
}
.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    transform: translateY(-20px) scale(1);
    color: var(--ink-t2);
}
.form-group .input-line {
    position: absolute; bottom: 0; left: 0;
    width: 100%; height: 1.5px;
    background: var(--ink-t1);
    transform-origin: 0;
    transform: scaleX(0);
    transition: transform .45s cubic-bezier(.77,0,.175,1);
}
.form-group input:focus ~ .input-line,
.form-group textarea:focus ~ .input-line {
    transform: scaleX(1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row {
    display: grid; gap: 0 24px;
}
@media (min-width: 640px) {
    .form-row { grid-template-columns: 1fr 1fr; }
}
.form-error {
    padding: 12px 16px;
    background: rgba(220,38,38,0.1);
    border: 1px solid rgba(220,38,38,0.3);
    color: #dc2626;
    font-family: 'Oswald', sans-serif;
    font-size: 11px;
    margin-bottom: 20px;
}
.submit-btn {
    position: relative; overflow: hidden; z-index: 1;
    font-family: 'Oswald', sans-serif;
    font-size: 12px; font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--paper);
    background: var(--ink-t1);
    border: none;
    border-radius: 999px;
    padding: 15px 40px;
    margin-top: 36px;
    display: inline-flex; align-items: center; gap: 10px;
    cursor: pointer;
    transition: color .3s;
}
.submit-btn::after {
    content: '';
    position: absolute; inset: 0; z-index: -1;
    background: rgba(10,10,11,0.7);
    transform: scaleY(0);
    transform-origin: bottom;
    border-radius: 999px;
    transition: transform 1s cubic-bezier(0.16,1,0.3,1);
}
.submit-btn:hover::after {
    transform: scaleY(1);
}
.submit-btn svg { width: 16px; height: 16px; position: relative; z-index: 2; transition: transform .3s; }
.submit-btn:hover svg { transform: translateX(4px); }

/* Button label flip */
.btn-label {
    position: relative;
    display: block;
    height: 1.25em;
    line-height: 1.25;
    overflow: hidden;
}
.btn-label > span {
    display: block;
    transition: transform .5s cubic-bezier(.22,1,.36,1);
}
.btn-label > span:last-child {
    position: absolute;
    inset: 0;
    transform: translateY(110%);
}
.landing-hero-cta:hover .btn-label > span:first-child,
.submit-btn:hover .btn-label > span:first-child { transform: translateY(-110%); }
.landing-hero-cta:hover .btn-label > span:last-child,
.submit-btn:hover .btn-label > span:last-child { transform: translateY(0); }
.success-msg {
    display: none;
    text-align: center;
    padding: 48px 24px;
    color: var(--ink-t1);
}
.success-msg.show { display: block; }
.success-msg svg { width: 56px; height: 56px; color: #4ade80; margin-bottom: 16px; }
.success-msg h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 28px; font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.success-msg p {
    font-size: 15px; font-style: italic;
    color: var(--ink-t2);
}

@media (max-width: 639px) {
    .submit-btn { width: 100%; justify-content: center; }
}

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

/* ============================================
   FAQ
   ============================================ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--faint); }
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    text-align: left;
    font-family: 'Oswald', sans-serif;
    font-size: 14px; font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    gap: 24px;
    transition: color .3s;
}
.faq-question:hover { color: var(--fg); }
.faq-arrow {
    width: 20px; height: 20px; flex-shrink: 0;
    transition: transform .3s;
    color: var(--dim);
}
.faq-answer {
    max-height: 0; overflow: hidden;
    transition: max-height .5s cubic-bezier(.77,0,.175,1);
}
.faq-answer-inner {
    padding-bottom: 24px;
    font-size: 14px; font-style: italic;
    color: var(--muted);
    line-height: 1.8;
}
.faq-item.open .faq-answer { max-height: 400px; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }

/* ============================================
   SITE FOOTER (dark)
   ============================================ */
.site-footer {
    background: var(--ink-950);
    color: #FFFFFF;
    padding: clamp(48px,8vw,100px) clamp(20px,5vw,80px) 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
}
.footer-inner { max-width: 1200px; margin: 0 auto; container-type: inline-size; }
.footer-grid {
    display: grid; gap: 40px;
}
.footer-brand {
    font-family: 'Oswald', sans-serif;
    font-size: 28px; font-weight: 700;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: #FFFFFF;
    margin-bottom: 16px;
}
.footer-brand-col {
    display: flex;
    align-items: stretch;
    align-self: start;
}
.footer-brand-logo {
    position: relative;
    flex: 0 0 auto;
    width: 6.5cqw;
    min-width: 56px;
}
.footer-brand-logo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
    filter: brightness(0) invert(1);
}
.footer-desc {
    font-size: 13px; font-style: italic;
    color: rgba(255,255,255,0.5);
    max-width: 280px;
    line-height: 1.7;
}
.footer-col-title {
    font-family: 'Oswald', sans-serif;
    font-size: 10px; font-weight: 600;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 20px;
}
.footer-links {
    display: flex; flex-direction: column; gap: 10px;
}
.footer-links a {
    font-size: 13px;
    color: rgba(255,255,255,0.66);
    transition: color .3s;
}
.footer-links a:hover { color: #FFFFFF; }
.footer-contact {
    font-size: 13px;
    color: rgba(255,255,255,0.66);
    line-height: 2.2;
}
.footer-wordmark {
    padding: 0;
    font-family: "Host Grotesk", sans-serif;
}
.footer-wordmark svg { width: 100%; height: auto; display: block; }
.footer-wordmark text {
    fill: #FFFFFF;
    font-family: 'Host Grotesk', sans-serif;
    font-weight: 700;
    letter-spacing: -.02em;
}
.footer-brandlock {
    display: flex;
    align-items: stretch;
    gap: clamp(6px, 1.5cqw, 20px);
    padding: clamp(2rem,5vw,3.5rem) 0 clamp(20px,3vw,32px);
}
.footer-brandlock-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: clamp(6px, 0.8cqw, 12px);
}
.footer-brandlock-tagline {
    display: flex;
    justify-content: space-between;
    width: 0;
    min-width: calc(100% - 3.333%); /* match the wordmark ink (textLength 1160 of 1200) */
    margin-inline: auto;
    font-family: 'Oswald', sans-serif;
    font-size: clamp(10px, 1.1cqw, 14px);
    font-weight: 500;
    letter-spacing: 0;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
}
.footer-bottom {
    padding: 1.4rem 0 1.8rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-family: 'Oswald', sans-serif;
    font-size: 10px; font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

/* ============================================
   UTILITY / ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s ease, transform .8s cubic-bezier(.16,1,.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Split text (word-by-word heading reveal) */
.split .word {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
}
.split .word > span {
    display: inline-block;
    transform: translateY(110%);
    transition: transform .9s cubic-bezier(.22,1,.36,1);
}
.split.is-in .word > span { transform: none; }
.split .word:nth-child(2) > span { transition-delay: .04s; }
.split .word:nth-child(3) > span { transition-delay: .08s; }
.split .word:nth-child(4) > span { transition-delay: .12s; }
.split .word:nth-child(5) > span { transition-delay: .16s; }
.split .word:nth-child(6) > span { transition-delay: .2s; }
.split .word:nth-child(7) > span { transition-delay: .24s; }
.split .word:nth-child(8) > span { transition-delay: .28s; }

/* Two-tone scrolling copy */
.twotone .w { opacity: .16; transition: opacity .3s linear; }
.twotone .w.lit { opacity: 1; }

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

.text-center { text-align: center; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

/* Selection */
::selection { background: rgba(237,219,23,0.35); color: var(--fg); }

/* Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(128,128,132,0.45); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: rgba(128,128,132,0.65); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal, .fade-in { opacity: 1; transform: none; }
    .split .word > span { transform: none !important; }
    .twotone .w { opacity: 1 !important; }
    .marquee-track { animation: none; }
    [data-parallax] { transform: none !important; }
}
