/* styles.css — Bleifx (Editing & Motion Design) */

/* ─── Self-hosted fonts (variable, latin subset) ─────────
   No Google Fonts CDN: no external request to fonts.gstatic.com,
   no third-party IP transfer on page load. */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('../fonts/inter-variable.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    /* Kept only for the two "personal voice" moments (founder blurb on the
       homepage, the About-page lead) — everything else moved to Inter. */
    font-family: 'Fraunces';
    font-style: italic;
    font-weight: 400 500;
    font-display: swap;
    src: url('../fonts/fraunces-italic.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Archivo';
    font-style: normal;
    font-weight: 400 500;
    font-display: swap;
    src: url('../fonts/archivo.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Archivo Black';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/archivo-black.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/plex-mono-400.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/plex-mono-500.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ─── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg:            #11150F;
    --bg-card:       #171D18;
    --bg-raised:     #1A2016;
    --border:        #2C3226;
    --border-strong: rgba(243, 236, 222, 0.22);
    --ink:           #F3ECDE;
    --muted:         #A7A190;
    --muted-2:       #C7C0AC;
    --brg:           #1F5C3E;
    --brg-bright:    #2E8B63;
    --brg-dim:       rgba(46, 139, 99, 0.14);
    --rust:          #B6754A;
    --rust-dim:      rgba(182, 117, 74, 0.16);
    --like-red:      #E44B3A;
    --reel-bg-a:     #1B4632;
    --reel-bg-b:     #0E100D;
    --ease:          cubic-bezier(0.4, 0, 0.2, 1);
    --font-display:  'Inter', sans-serif;
    --font-editorial:'Fraunces', serif;
    --font-body:     'Inter', sans-serif;
    --font-reel:     'Archivo', sans-serif;
    --font-reel-h:   'Archivo Black', sans-serif;
    --font-mono:     'IBM Plex Mono', ui-monospace, monospace;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    html { scroll-behavior: auto; }
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

/* ─── Skip Link ─────────────────────────────────────────── */
.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 1000;
    background: var(--brg-bright);
    color: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 1rem; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ─── Focus states (a11y) ───────────────────────────────── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--brg-bright);
    outline-offset: 3px;
    border-radius: 2px;
}

/* ─── Utility ───────────────────────────────────────────── */
.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

.section-label {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    color: var(--rust);
    margin-bottom: 1rem;
}

.section-header { margin-bottom: 3.5rem; }

.section-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.1rem, 5vw, 3.5rem);
    letter-spacing: -0.02em;
    line-height: 1.05;
    color: var(--ink);
}

/* ─── Buttons ───────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.875rem 2rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    border-radius: 3px;
    border: none;
    cursor: pointer;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
    text-decoration: none;
}

.btn-primary {
    background: var(--ink);
    color: var(--bg);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,0.35); }

.btn-secondary {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--border-strong);
}
.btn-secondary:hover { border-color: var(--brg-bright); transform: translateY(-3px); }

.btn-submit { width: 100%; justify-content: center; padding: 1rem 2rem; font-size: 0.95rem; }
.btn-arrow { transition: transform 0.3s var(--ease); }
.btn-submit:hover .btn-arrow { transform: translateX(4px); }

/* ─── Fade-In ───────────────────────────────────────────── */
.fade-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ─── Logo (cropped to the signature's visible bounds — the
   source PNG has wide transparent padding around the mark) ─ */
.logo-mark {
    display: block;
    /* Absolute path: resolves correctly from both the DE root and /en/ pages.
       Set here (not inline) because .htaccess sends style-src 'self', which
       blocks inline style="" attributes. */
    background-image: url('/assets/img/logo.png');
    background-repeat: no-repeat;
}
.logo-mark--nav   { width: 70px; height: 28px; background-size: 130px 87px; background-position: -32px -25px; }
.logo-mark--footer{ width: 55px; height: 22px; background-size: 102px 68px; background-position: -25px -20px; }
.logo-mark--legal { width: 60px; height: 24px; background-size: 112px 75px; background-position: -28px -22px; }
.rs-logo { width: 78px; height: 31px; background-size: 145px 97px; background-position: -36px -28px; margin-bottom: 3rem; }

/* ─── Navigation ────────────────────────────────────────── */
#navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    padding: 1.5rem 0;
    transition: padding 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease);
    border-bottom: 1px solid transparent;
    mix-blend-mode: normal;
}
#navbar.scrolled {
    padding: 1rem 0;
    background: rgba(17, 21, 15, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: var(--border);
}
.nav-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-links { display: flex; align-items: center; gap: 2.5rem; list-style: none; }
.nav-links a {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(243, 236, 222, 0.75);
    letter-spacing: 0.01em;
    transition: color 0.25s var(--ease);
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 1px;
    background: var(--brg-bright);
    transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"]::after { width: 100%; }

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 7px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.burger-menu span {
    display: block;
    width: 24px; height: 1.5px;
    background: var(--ink);
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
    transform-origin: center;
}
.burger-menu.active span:nth-child(1) { transform: rotate(45deg) translate(3px, 6px); }
.burger-menu.active span:nth-child(2) { transform: rotate(-45deg) translate(3px, -6px); }

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: rgba(243, 236, 222, 0.6);
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.lang-switch:hover { color: var(--ink); border-color: var(--brg-bright); }
.lang-switch .lang-current { color: var(--ink); }
.lang-switch .lang-sep { color: rgba(243, 236, 222, 0.25); }

/* ═══════════════════════════════════════════════════════════
   HERO / WORK — Reel Feed
   Mobile: full-bleed vertical snap feed, like Reels.
   Desktop (≥1024px): letterboxed — ambient blur, logo+nav
   left, live caption right, reel column centered.
   ═══════════════════════════════════════════════════════════ */
#hero-reel { position: relative; background: var(--reel-bg-b); }

.reel-stage { position: relative; overflow: hidden; }
.reel-blob { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; opacity: 0.5; }
.reel-blob--a { width: 46vw; height: 46vw; background: var(--reel-bg-a); top: -14vw; left: -10vw; }
.reel-blob--b { width: 36vw; height: 36vw; background: #3a2a1c; bottom: -14vw; right: -8vw; opacity: 0.35; }

.reel-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; }

.reel-col {
    position: relative;
    width: 100%;
    height: 100dvh;
    overflow-y: auto;
    overflow-x: hidden;
    /* JS (wheel/touch handlers below) now owns normal paging one slide at a
       time; this snap is just a safety net for inputs it doesn't intercept
       (scrollbar drag, keyboard). Safe to be strict since JS already
       prevents the native momentum-scroll fights mandatory used to cause. */
    scroll-snap-type: y mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    font-family: var(--font-reel);
    background: var(--reel-bg-b);
}
.reel-col::-webkit-scrollbar { display: none; }

.reel-progress {
    position: absolute;
    /* Cleared below the fixed navbar (~76px) on mobile, where .reel-col
       spans the full viewport and would otherwise sit under the nav. */
    top: calc(5.25rem + env(safe-area-inset-top));
    left: 1rem; right: 1rem;
    display: flex; gap: 4px;
    z-index: 20;
}
@media (min-width: 1024px) {
    /* Desktop: .reel-col is the smaller letterboxed column, already well
       clear of the fixed navbar thanks to .reel-stage's top padding. */
    .reel-progress { top: 1rem; }
}
.reel-progress i {
    flex: 1; height: 2px;
    background: rgba(243, 236, 222, 0.28);
    border-radius: 2px; overflow: hidden; position: relative; display: block;
}
.reel-progress i b { position: absolute; inset: 0; background: var(--ink); width: 0; display: block; }
.reel-progress i.done b { width: 100%; }
.reel-progress i.active b { animation: reelFill var(--reel-dur, 6s) linear forwards; }
@keyframes reelFill { from { width: 0; } to { width: 100%; } }

.reel-slide {
    height: 100dvh;
    scroll-snap-align: start;
    position: relative;
    overflow: hidden;
    background: var(--reel-bg-b);
}
.reel-slide--alt { background: var(--reel-bg-a); }
.reel-slide video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    background: transparent;
}
.reel-slide--wide video { object-fit: contain; background: #000; }
.reel-slide .rs-badge {
    position: absolute;
    top: calc(6rem + env(safe-area-inset-top)); right: 1rem;
    z-index: 6;
    font-family: var(--font-mono);
    font-size: 0.62rem; letter-spacing: 0.05em;
    color: var(--ink);
    background: rgba(17,21,15,0.55);
    border: 1px solid rgba(243,236,222,0.2);
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    backdrop-filter: blur(6px);
}

/* right action rail — Instagram-Reels proportions */
.reel-rail {
    position: absolute; right: 0.9rem; bottom: 7.5rem;
    z-index: 15;
    display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
}
.rail-avatar {
    width: 42px; height: 42px; border-radius: 50%;
    overflow: hidden; border: 1.5px solid var(--ink);
    padding: 0; background: var(--reel-bg-a); cursor: pointer; flex-shrink: 0;
}
.rail-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.rail-btn {
    background: none; border: none; padding: 0; color: var(--ink);
    display: flex; flex-direction: column; align-items: center; gap: 0.3rem;
    cursor: pointer; font-family: var(--font-reel);
}
.rail-btn svg { width: 30px; height: 30px; filter: drop-shadow(0 1px 4px rgba(0,0,0,0.55)); transition: transform 0.15s ease; }
.rail-btn:active svg { transform: scale(0.85); }
.rail-btn .rail-count, .rail-btn .rail-label { font-size: 0.68rem; font-weight: 600; text-shadow: 0 1px 4px rgba(0,0,0,0.5); }
.rail-btn.like-btn.is-liked svg { fill: var(--like-red); stroke: var(--like-red); }
.reel-disc {
    width: 30px; height: 30px; border-radius: 50%;
    background: linear-gradient(135deg, var(--brg-bright), var(--reel-bg-a));
    border: 2px solid var(--ink);
    background-image: radial-gradient(circle at center, var(--reel-bg-b) 3px, transparent 4px);
    animation: reelDiscSpin 3.5s linear infinite;
}
@keyframes reelDiscSpin { to { transform: rotate(360deg); } }

/* bottom-left caption block */
.reel-caption {
    position: absolute; left: 1.1rem; right: 4.5rem;
    bottom: max(1.3rem, env(safe-area-inset-bottom));
    z-index: 15;
    opacity: 0; transform: translateY(12px);
}
.reel-slide.in-view .reel-caption { animation: reelCapIn 0.5s var(--ease) forwards; }
@keyframes reelCapIn { to { opacity: 1; transform: translateY(0); } }
.rc-top { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.65rem; }
.rc-uname { font-size: 0.9rem; font-weight: 700; color: var(--ink); }
.rc-follow {
    font-family: var(--font-reel); font-size: 0.72rem; font-weight: 500; color: var(--ink);
    background: none; border: 1px solid rgba(243,236,222,0.55); border-radius: 5px;
    padding: 0.25rem 0.65rem; cursor: pointer;
}
.rc-text { font-size: 0.85rem; color: var(--ink); line-height: 1.5; margin: 0 0 0.6rem; max-width: 30ch; text-shadow: 0 1px 4px rgba(0,0,0,0.4); }
.rc-audio { display: flex; align-items: center; gap: 0.4rem; font-family: var(--font-mono); font-size: 0.68rem; color: rgba(243,236,222,0.8); overflow: hidden; white-space: nowrap; max-width: 100%; }
.rc-audio .note { flex-shrink: 0; }
.rc-ticker { display: inline-block; animation: reelTicker 10s linear infinite; }
@keyframes reelTicker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.reel-heart {
    position: absolute; top: 50%; left: 50%; width: 96px; height: 96px;
    margin: -48px 0 0 -48px; z-index: 18; pointer-events: none; opacity: 0; color: var(--like-red);
}
.reel-heart.play { animation: reelHeartPop 0.75s cubic-bezier(0.2,1.4,0.4,1) forwards; }
@keyframes reelHeartPop { 0% { opacity: 0; transform: scale(0.4); } 25% { opacity: 1; transform: scale(1.15); } 45% { transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }

.reel-mute {
    position: absolute; top: calc(5.25rem + env(safe-area-inset-top)); left: 1rem; z-index: 15;
    width: 30px; height: 30px; border-radius: 50%; border: none;
    background: rgba(17,21,15,0.5); color: var(--ink); display: flex; align-items: center; justify-content: center;
    cursor: pointer;
}
.reel-mute svg { width: 15px; height: 15px; }

.reel-toast {
    position: absolute; left: 50%; bottom: 6.4rem; transform: translate(-50%, 6px);
    background: rgba(17,21,15,0.92); color: var(--ink); font-family: var(--font-mono); font-size: 0.68rem;
    padding: 0.4rem 0.85rem; border-radius: 100px; z-index: 20; opacity: 0; white-space: nowrap;
    transition: opacity 0.2s, transform 0.2s;
}
.reel-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Desktop letterbox stage */
@media (min-width: 1024px) {
    .reel-stage { min-height: 100vh; padding: 6rem 2.5rem 4rem; }
    .reel-inner { max-width: 1320px; margin: 0 auto; gap: clamp(2rem, 5vw, 5rem); }
    .reel-side { flex: 0 0 auto; width: 170px; }
    .reel-side-left .rs-logo { margin-bottom: 3rem; }
    .rs-nav { display: flex; flex-direction: column; gap: 1.1rem; font-size: 0.85rem; }
    .rs-nav a { color: rgba(243,236,222,0.45); transition: color 0.25s var(--ease); }
    .rs-nav a:hover { color: var(--ink); }
    .reel-side-right { color: var(--ink); }
    .rs-index { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; color: var(--brg-bright); line-height: 1; margin-bottom: 0.7rem; }
    .rs-title { font-family: var(--font-reel-h); font-size: 1rem; margin-bottom: 0.6rem; min-height: 2.6em; }
    .rs-hint { font-family: var(--font-mono); font-size: 0.7rem; color: var(--ink); line-height: 1.6; }
    .reel-col { width: 420px; height: 82vh; border-radius: 10px; box-shadow: 0 30px 90px rgba(0,0,0,0.55); }
    .reel-slide { height: 82vh; }
    .reel-rail { bottom: 6.5rem; }
    .reel-slide .rs-badge { top: 1.25rem; }
    .reel-mute { top: 1.1rem; }
}
@media (max-width: 1023px) {
    .reel-side { display: none; }
}

/* ─── Services — Rack Focus Stack ────────────────────────
   Big stacked names; focusing one (hover on desktop, tap on
   touch, real keyboard focus everywhere) racks the others —
   plus the section header itself — out of focus, like pulling
   focus with a lens. The revealed caption uses the same
   typeface as the name, just white/quieter, not a separate
   "clever" font. */
#services { padding: 7rem 0; }
.services-focus .section-label,
.services-focus .section-title {
    transition: opacity 0.35s var(--ease), filter 0.35s var(--ease);
}
.services-focus.is-racked .section-label,
.services-focus.is-racked .section-title {
    opacity: 0.3; filter: blur(2.5px);
}
.services-stack { display: flex; flex-direction: column; }
.service-item {
    display: block;
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    font-family: inherit;
    padding: 0.3rem 0;
    cursor: pointer;
    opacity: 1;
    filter: blur(0);
    transition: opacity 0.35s var(--ease), filter 0.35s var(--ease);
}
.services-focus.is-racked .service-item:not(.is-active) { opacity: 0.3; filter: blur(2.5px); }
.service-item h3 {
    font-family: var(--font-display); font-weight: 800;
    font-size: clamp(1.8rem, 5vw, 2.8rem); letter-spacing: -0.02em; line-height: 1.05; color: var(--ink);
}
.service-item-desc {
    font-family: var(--font-body); font-size: 0.95rem; color: var(--ink);
    max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0;
    transition: max-width 0.35s var(--ease) 0.05s, opacity 0.25s var(--ease) 0.1s;
    display: inline-block; margin-left: 0.75rem; vertical-align: middle;
}
.service-item.is-active .service-item-desc { max-width: 60ch; opacity: 1; }
@media (max-width: 640px) {
    .service-item-desc { display: block; margin-left: 0; white-space: normal; max-width: 100% !important; }
    .service-item.is-active .service-item-desc { opacity: 1; }
}

/* ─── Direct / No-Agency ────────────────────────────────── */
#direct { padding: 7rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.direct-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.direct-text h2 {
    font-family: var(--font-display); font-weight: 700;
    font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.08; margin-bottom: 1.5rem; color: var(--ink);
}
.direct-text p { font-size: 0.95rem; line-height: 1.8; color: var(--muted); margin-bottom: 1rem; }
.direct-stat { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.stat-block { padding: 2.25rem 2.75rem; display: flex; flex-direction: column; gap: 0.6rem; }
.stat-num { font-family: var(--font-display); font-weight: 800; font-size: 3.5rem; line-height: 1; color: var(--ink); }
.stat-label { font-size: 0.85rem; line-height: 1.6; color: var(--muted); }
.stat-divider { height: 1px; background: var(--border); }

/* ─── Founder band ──────────────────────────────────────── */
#founder { padding: 7rem 0; }
.founder-inner { display: grid; grid-template-columns: 220px 1fr; gap: 3.5rem; align-items: center; }
.founder-photo { position: relative; border-radius: 6px; overflow: hidden; aspect-ratio: 3 / 4; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-text p { font-family: var(--font-editorial); font-style: italic; font-size: clamp(1.1rem, 2vw, 1.5rem); line-height: 1.55; color: var(--muted-2); margin-bottom: 1.25rem; }
.founder-text p strong { color: var(--ink); font-weight: 500; font-style: normal; }
.founder-link {
    display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono); font-size: 0.8rem;
    color: var(--brg-bright); border-bottom: 1px solid var(--brg-dim); padding-bottom: 0.25rem; transition: border-color 0.3s var(--ease);
}
.founder-link:hover { border-color: var(--brg-bright); }
.founder-link svg { transition: transform 0.3s var(--ease); }
.founder-link:hover svg { transform: translateX(3px); }

/* ─── Contact ───────────────────────────────────────────── */
#contact { padding: 7rem 0 5rem; border-top: 1px solid var(--border); }
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 6rem; align-items: start; }
.contact-left h2 {
    font-family: var(--font-display); font-weight: 700;
    font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.08; margin-bottom: 1.25rem; color: var(--ink);
}
.contact-left p { font-size: 0.95rem; color: var(--muted); line-height: 1.75; margin-bottom: 2rem; }
.contact-email {
    display: inline-block; font-family: var(--font-mono); font-size: 0.85rem; color: var(--brg-bright);
    border-bottom: 1px solid var(--brg-dim); padding-bottom: 0.25rem; transition: border-color 0.3s var(--ease);
}
.contact-email:hover { border-color: var(--brg-bright); }

/* Form */
form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
label {
    font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.05em;
    text-transform: uppercase; color: rgba(243, 236, 222, 0.55);
}
.req { color: var(--rust); }

input, select, textarea {
    font-family: var(--font-body); font-size: 0.9rem; color: var(--ink); background: var(--bg-card);
    border: 1px solid var(--border); border-radius: 4px; padding: 0.85rem 1rem;
    transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
    outline: none; width: 100%; -webkit-appearance: none; appearance: none;
}
select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23A7A190' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem;
}
select option { background: var(--bg-raised); color: var(--ink); }
textarea { resize: vertical; min-height: 130px; line-height: 1.7; }
input::placeholder, textarea::placeholder { color: rgba(243, 236, 222, 0.25); }
input:focus, select:focus, textarea:focus { border-color: var(--brg-bright); box-shadow: 0 0 0 3px var(--brg-dim); }

.form-check { margin-top: 0.25rem; }
.check-label {
    display: flex; align-items: flex-start; gap: 0.85rem; cursor: pointer; font-size: 0.8rem;
    letter-spacing: normal; text-transform: none; color: var(--muted); font-weight: 400; line-height: 1.6; font-family: var(--font-body);
}
.check-label input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.check-box {
    display: flex; flex-shrink: 0; width: 18px; height: 18px; border: 1px solid var(--border); border-radius: 3px;
    margin-top: 1px; transition: background 0.25s var(--ease), border-color 0.25s var(--ease); background: var(--bg-card); position: relative;
}
.check-label input:checked + .check-box { background: var(--brg-bright); border-color: var(--brg-bright); }
.check-label input:checked + .check-box::after {
    content: ''; position: absolute; left: 4px; top: 2px; width: 6px; height: 9px;
    border: 1.5px solid #fff; border-top: none; border-left: none; transform: rotate(45deg);
}
.check-label a { color: var(--brg-bright); text-decoration: underline; text-underline-offset: 2px; }

.form-message { padding: 0.9rem 1.1rem; border-radius: 4px; font-size: 0.85rem; display: none; }
.form-message.success { display: block; background: rgba(46, 139, 99, 0.1); border: 1px solid rgba(46, 139, 99, 0.3); color: var(--brg-bright); }
.form-message.error   { display: block; background: rgba(228, 75, 58, 0.1); border: 1px solid rgba(228, 75, 58, 0.3); color: var(--like-red); }

.form-tiktok-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; color: var(--muted); margin-top: 0.25rem; transition: color 0.25s var(--ease); }
.form-tiktok-link:hover { color: var(--ink); }
.form-tiktok-link span span { color: var(--rust); }

/* ─── Footer ────────────────────────────────────────────── */
footer { border-top: 1px solid var(--border); padding: 3rem 0; }
.footer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--border); }
.footer-logo { opacity: 0.75; transition: opacity 0.3s var(--ease); }
.footer-logo:hover { opacity: 1; }
.footer-nav { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.footer-nav a { font-size: 0.82rem; color: var(--muted); transition: color 0.25s var(--ease); }
.footer-nav a:hover { color: var(--ink); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; }
.footer-bottom p { font-family: var(--font-mono); font-size: 0.75rem; color: rgba(243, 236, 222, 0.25); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: 0.78rem; color: rgba(243, 236, 222, 0.25); transition: color 0.25s var(--ease); }
.footer-legal a:hover { color: var(--muted); }

/* ─── Legal Pages ───────────────────────────────────────── */
.legal-page { max-width: 820px; margin: 0 auto; padding: 9rem 2.5rem 6rem; }
.back-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; color: var(--muted); margin-bottom: 3.5rem; transition: color 0.25s var(--ease); letter-spacing: 0.02em; }
.back-link:hover { color: var(--ink); }
.legal-logo { margin-bottom: 4rem; }
.legal-content h1 {
    font-family: var(--font-display); font-weight: 700;
    font-size: clamp(1.9rem, 5vw, 3.2rem); line-height: 1.08; margin-bottom: 3rem; color: var(--ink);
}
.legal-content h2 {
    font-family: var(--font-display); font-weight: 700;
    font-size: 1.25rem; margin-top: 3rem; margin-bottom: 1rem; color: var(--ink);
}
.legal-content h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; margin-top: 2rem; margin-bottom: 0.75rem; color: rgba(243, 236, 222, 0.75); }
.legal-content p { font-size: 0.9rem; line-height: 1.85; color: var(--muted); margin-bottom: 1.25rem; }
.legal-content ul { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.legal-content li { font-size: 0.9rem; line-height: 1.85; color: var(--muted); margin-bottom: 0.4rem; }
.legal-content a { color: var(--brg-bright); text-decoration: underline; text-underline-offset: 2px; }
.legal-content strong { color: rgba(243, 236, 222, 0.75); font-weight: 600; }
.legal-footer-note { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--border); font-size: 0.78rem; color: rgba(243, 236, 222, 0.25); }

.legal-body-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 1.4rem 2.5rem;
    background: rgba(17, 21, 15, 0.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between;
}
.legal-body-nav nav { display: flex; align-items: center; gap: 2rem; }
.legal-body-nav nav a { font-size: 0.82rem; color: var(--muted); transition: color 0.25s var(--ease); }
.legal-body-nav nav a:hover { color: var(--ink); }

.legal-body-footer { border-top: 1px solid var(--border); padding: 2rem 2.5rem; display: flex; align-items: center; justify-content: space-between; max-width: 820px; margin: 0 auto; }
.legal-body-footer p { font-size: 0.78rem; color: rgba(243, 236, 222, 0.25); }
.legal-body-footer div { display: flex; gap: 1.5rem; }
.legal-body-footer a { font-size: 0.78rem; color: rgba(243, 236, 222, 0.25); transition: color 0.25s var(--ease); }
.legal-body-footer a:hover { color: var(--muted); }

/* ─── About Page ─────────────────────────────────────────── */
.about-hero-section { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 10rem 0 8rem; overflow: hidden; }
.about-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.about-glow { position: absolute; top: -20%; right: -10%; width: 60vw; height: 60vw; background: radial-gradient(ellipse at center, rgba(46,139,99,0.12) 0%, transparent 65%); border-radius: 50%; }
.about-hero-section .container { position: relative; z-index: 1; width: 100%; }
.about-hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.about-hero-text .section-label { margin-bottom: 1.25rem; }
.about-h1 {
    font-family: var(--font-display); font-weight: 700;
    font-size: clamp(2.8rem, 7vw, 5.2rem); line-height: 1.02; margin-bottom: 2rem; color: var(--ink);
}
.about-lead { font-family: var(--font-editorial); font-style: italic; font-size: clamp(1.1rem, 1.8vw, 1.3rem); line-height: 1.6; color: var(--muted-2); margin-bottom: 1.25rem; }
.about-lead-sub { font-size: 0.95rem; line-height: 1.8; color: var(--muted); margin-bottom: 3rem; }
.about-hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; }
.about-hero-img { position: relative; }
.about-hero-img img { width: 100%; height: 560px; object-fit: cover; object-position: 50% 25%; border-radius: 6px; display: block; }
.about-sections { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.about-block { display: grid; grid-template-columns: 220px 1fr; gap: 5rem; align-items: start; padding: 4.5rem 0; border-bottom: 1px solid var(--border); }
.about-block:last-child { border-bottom: none; }
.about-block-content h2 {
    font-family: var(--font-display); font-weight: 700;
    font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1; margin-bottom: 1.5rem; color: var(--ink);
}
.about-block-content p { font-size: 0.95rem; line-height: 1.85; color: var(--muted); margin-bottom: 1rem; max-width: 640px; }
.about-block-content p:last-child { margin-bottom: 0; }
.about-skills { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }
.about-skills span { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.02em; color: var(--brg-bright); border: 1px solid var(--brg-dim); padding: 0.3rem 0.75rem; border-radius: 3px; }

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 1024px) {
    .direct-inner { grid-template-columns: 1fr; gap: 4rem; }
    .contact-layout { grid-template-columns: 1fr; gap: 4rem; }
    .founder-inner { grid-template-columns: 160px 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
    .container { padding: 0 1.5rem; }
    .br-mobile { display: block; }
    .burger-menu { display: flex; }

    .nav-links {
        position: fixed; top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(17, 21, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column; align-items: center; justify-content: center; gap: 2.25rem;
        list-style: none; transform: translateX(100%); transition: transform 0.45s var(--ease); z-index: 199;
    }
    .nav-links.active { transform: translateX(0); }
    .nav-links a { font-size: 1.5rem; color: var(--ink); }
    .nav-links .lang-switch { margin-top: 1rem; }

    #services, #direct, #contact, #founder { padding: 5rem 0; }
    .founder-inner { grid-template-columns: 1fr; text-align: left; }
    .founder-photo { max-width: 220px; }
    .form-row { grid-template-columns: 1fr; }

    .footer-top { flex-direction: column; gap: 2rem; align-items: flex-start; }
    .footer-nav { gap: 1.25rem; }
    .footer-bottom { flex-direction: column; gap: 1rem; align-items: flex-start; }
    .legal-body-nav { padding: 1.25rem 1.5rem; }
    .legal-body-footer { flex-direction: column; gap: 1rem; align-items: flex-start; padding: 2rem 1.5rem; }

    .about-hero-inner { grid-template-columns: 1fr; gap: 4rem; }
    .about-hero-img img { height: 420px; }
    .about-block { grid-template-columns: 1fr; gap: 1.5rem; padding: 4rem 0; }
    .about-hero-section { padding: 9rem 0 5rem; min-height: auto; }
}

@media (max-width: 480px) {
    .stat-block { padding: 2rem; }
    .about-hero-img img { height: 320px; }
}
