/* ============================================================
   VIBRANDE - Design System
   Tokens, base, typography, layout, components, animations
   ============================================================ */

/* ----- Tokens ----- */
:root {
  /* Brand */
  --black: #040404;
  --black-2: #0a0a0a;
  --black-3: #111111;
  --black-soft: #161616;
  --line: rgba(136, 208, 148, 0.14);
  --line-strong: rgba(136, 208, 148, 0.32);

  --de-york: #88d094;     /* light, signature */
  --fern: #5c7c3e;        /* deep green */
  --viridian: #3c7c6c;    /* teal-green */

  --text: #f4f6f4;
  --text-dim: #b9c5bb;
  --text-mute: #7c8a7e;

  /* Gradients */
  --grad-hero: radial-gradient(120% 80% at 80% 10%, rgba(136,208,148,0.22) 0%, rgba(60,124,108,0.08) 35%, rgba(4,4,4,0) 70%),
               radial-gradient(80% 60% at 0% 100%, rgba(92,124,62,0.18) 0%, rgba(4,4,4,0) 60%);
  --grad-text: linear-gradient(135deg, #88d094 0%, #3c7c6c 60%, #5c7c3e 100%);
  --grad-accent: linear-gradient(135deg, #88d094, #3c7c6c);
  --grad-ring: conic-gradient(from 180deg at 50% 50%, #88d094, #3c7c6c, #5c7c3e, #88d094);

  /* Type - self-hosted, assets/css/fonts.css (tools/fetch-fonts.py). Syncopate and Space Mono have no
     Greek, so the browser takes Greek letters from the *EL fonts (Greek-only files, never loaded on EN pages). */
  --f-display: 'Syncopate', 'Roboto Flex EL', 'Inter', system-ui, sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, sans-serif;
  --f-mono: 'Space Mono', 'JetBrains Mono EL', ui-monospace, monospace;

  /* Spacing scale */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px;  --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px;  --s-8: 64px;
  --s-9: 96px; --s-10: 128px;

  /* Radius */
  --r-sm: 6px; --r-md: 12px; --r-lg: 20px; --r-xl: 28px; --r-pill: 999px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 180ms;
  --dur-md: 320ms;
  --dur-slow: 600ms;

  /* Layout */
  --max: 1320px;
  --pad: clamp(20px, 4vw, 48px);

  /* Z-index scale */
  --z-nav: 50;
  --z-overlay: 80;
  --z-modal: 90;
  --z-cursor: 100;
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

/* Selection & focus */
::selection { background: var(--de-york); color: var(--black); }
:focus-visible {
  outline: 2px solid var(--de-york);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ----- Typography ----- */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--text);
}
/* Greek pages (<html lang="el">): every display heading in capitals (Kostas 2026-10-03, prelaunch-plan 1.1).
   Syncopate's lowercase is unicase, Greek lowercase is not, so mixed case would clash. With lang="el" the
   browser drops the accents in capitals. Zero specificity: headings that switch to Inter set
   text-transform: none and keep their case. */
:where(:lang(el)) :where(h1, h2, h3, h4) { text-transform: uppercase; }
.h-display {
  font-size: clamp(48px, 9vw, 144px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.h-1 { font-size: clamp(40px, 6vw, 88px); letter-spacing: -0.02em; }
.h-2 { font-size: clamp(32px, 4.5vw, 64px); letter-spacing: -0.02em; }
.h-3 { font-size: clamp(24px, 2.6vw, 36px); letter-spacing: -0.01em; }
.h-4 { font-size: clamp(20px, 1.6vw, 24px); }
/* Phones: display titles shrink so the longest word fits the screen (Phase 4, 2026-10-06). At 48px
   "FRACTIONAL", "DISCIPLINES," and "FOLLOWERS" were wider than a 390px screen. */
@media (max-width: 480px) { .h-display { font-size: min(48px, 10.6vw); } }

.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--de-york);
}
.lead { font-size: clamp(18px, 1.6vw, 22px); color: var(--text-dim); line-height: 1.5; max-width: 60ch; }
.muted { color: var(--text-mute); }

.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ----- Layout ----- */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
section { padding: clamp(64px, 9vw, 144px) 0; position: relative; }
.section-head { margin-bottom: clamp(40px, 6vw, 80px); }
.section-head .eyebrow { margin-bottom: 16px; display: inline-block; }
.grid { display: grid; gap: var(--s-5); }
.flex { display: flex; }

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  border: 0;
}

/* ----- Navigation ----- */
.nav {
  position: fixed; top: 16px; left: 16px; right: 16px;
  z-index: var(--z-nav);
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px;
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  transition: all var(--dur-md) var(--ease);
}
.nav.scrolled { background: rgba(4, 4, 4, 0.85); border-color: var(--line-strong); }
.nav-logo {
  font-family: var(--f-display);
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
}
/* Nav and footer both use the wordmark image */
.nav-logo img { height: 24px; width: auto; display: block; }
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.7; }
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link {
  position: relative; font-size: 14px; font-weight: 500; color: var(--text-dim);
  transition: color var(--dur-fast) var(--ease);
  padding: 6px 0;
}
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--de-york);
  transition: width var(--dur-md) var(--ease);
}
.nav-link:hover { color: var(--text); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--text); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  background: var(--de-york);
  color: var(--black);
  border-radius: var(--r-pill);
  font-size: 14px; font-weight: 600;
  transition: all var(--dur-fast) var(--ease);
}
.nav-cta:hover { background: #a4dfae; transform: translateY(-1px); box-shadow: 0 8px 22px rgba(136,208,148,0.35); }

/* Language switch EN · EL (generated per page by tools/sync-partials.py) */
.nav-end { display: flex; align-items: center; gap: 22px; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-mute);
}
.lang-switch a { color: var(--text-mute); transition: color var(--dur-fast) var(--ease); }
.lang-switch a:hover { color: var(--de-york); }
.lang-switch .on { color: var(--text); }
.lang-switch .sep { opacity: 0.5; }

.nav-burger { display: none; width: 32px; height: 32px; flex-direction: column; justify-content: center; gap: 5px; cursor: pointer; }
.nav-burger span { display: block; width: 22px; height: 1.5px; background: var(--text); transition: all var(--dur-fast); }

@media (max-width: 900px) {
  .nav-links, .nav .nav-cta, .nav .lang-switch { display: none; }  /* only the bar's; the menu keeps its «Let's talk» */
  .nav-burger { display: flex; }
  .mobile-open .nav-burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .mobile-open .nav-burger span:nth-child(2) { opacity: 0; }
  .mobile-open .nav-burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  /* Open menu: only the X stays, in the same spot as the burger; the bar and the logo step back (Kostas 2026-10-07) */
  .mobile-open .nav, .mobile-open .nav.scrolled { background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .mobile-open .nav .nav-logo { opacity: 0; pointer-events: none; }
}

.mobile-menu {
  position: fixed; inset: 0; z-index: 49;
  background: var(--black);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 24px;
  opacity: 0; pointer-events: none;
  transition: opacity var(--dur-md) var(--ease);
  padding: 88px 24px 24px;  /* clear the nav bar, which stays on top of the open menu */
}
@media (max-height: 700px) { .mobile-menu { gap: 16px; } .mobile-menu a { font-size: 28px; } }
.mobile-menu.active { opacity: 1; pointer-events: auto; }
.mobile-menu a { font-family: var(--f-display); font-size: 32px; text-transform: uppercase; }
.mobile-menu .nav-cta { font-family: var(--f-body); font-size: 16px; padding: 14px 28px; }
.mobile-menu .lang-switch { margin-top: 8px; font-size: 14px; }
.mobile-menu .lang-switch a { font-family: var(--f-mono); font-size: 14px; }

/* ----- Buttons ----- */
/* Hero button row: same 14px spacing everywhere (was only on Home). On Short-Form and Fractional CMO the two buttons
   touched when they stacked on a phone (mobile point 23, Kostas 2026-10-07). */
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  font-size: 15px; font-weight: 600;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
  white-space: nowrap;
}
/* Phones: a label too long for the screen wraps instead of running off it (e.g. Greek labels at 360px) */
@media (max-width: 480px) { .btn { white-space: normal; text-align: center; max-width: 100%; } }
.btn-primary {
  background: var(--de-york); color: var(--black);
}
.btn-primary:hover {
  background: #a4dfae;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(136,208,148,0.4);
}
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { background: rgba(136,208,148,0.06); border-color: var(--de-york); }
.btn-arrow { transition: transform var(--dur-fast) var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ----- Cards ----- */
.card {
  background: var(--black-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  transition: all var(--dur-md) var(--ease);
}
.card:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
}

/* Glass */
.glass {
  background: rgba(20, 25, 22, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
}

/* ----- Hero (shared) ----- */
.page-hero {
  position: relative;
  padding: clamp(100px, 11vw, 150px) 0 clamp(60px, 8vw, 120px);
  overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: var(--grad-hero);
  pointer-events: none;
}
.page-hero .container { position: relative; }
/* The glow fades into the page instead of ending in a straight line; only inside the bottom padding, so it never
   covers text (mobile 4.2, Kostas 2026-10-07) */
.page-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: clamp(60px, 8vw, 120px);
  background: linear-gradient(to bottom, rgba(4,4,4,0), var(--black)); pointer-events: none; }

/* ----- Reveal animations ----- */
/* Initial hidden states are gated behind .js on <html> (set by an inline
   head script on every page) so content stays visible when JS is unavailable. */
.js .reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
}
.reveal.in {
  opacity: 1; transform: none;
}
.js .reveal-stagger > * {
  opacity: 0; transform: translateY(28px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 400ms; }
.reveal-stagger.in > * { opacity: 1; transform: none; }

/* word-by-word reveal (spans only exist when JS runs, but gate for consistency) */
.js .split-word { display: inline-block; opacity: 0; transform: translateY(60%); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.split-word.in { opacity: 1; transform: none; }
/* Gradient accent word inside a [data-split] heading: the clip must live on
   the transformed .split-word itself, otherwise the text (transformed) and the
   gradient fill (on the parent) drift apart during the reveal and the word only
   appears once the slide finishes. */
.gradient-text .split-word { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Marquee */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 22px 0;
  background: linear-gradient(180deg, transparent, rgba(136,208,148,0.03));
}
.marquee-track {
  display: flex; gap: 56px;
  animation: marquee 38s linear infinite;
  white-space: nowrap; width: max-content;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-family: var(--f-display); font-size: 28px; text-transform: uppercase;
  color: var(--text-dim);
  display: inline-flex; align-items: center; gap: 56px;
}
.marquee-item::after {
  content: '●'; color: var(--de-york); font-size: 12px;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ----- Pills / Tags ----- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: var(--black-2);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
}
.pill:hover { border-color: var(--de-york); color: var(--text); }
.pill.active {
  background: var(--de-york); color: var(--black); border-color: var(--de-york);
}

/* ----- Footer ----- */
.footer {
  border-top: 1px solid var(--line);
  background: var(--black-2);
  padding: 80px 0 32px;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: 'VIBRANDE';
  position: absolute;
  bottom: -40px; left: 50%; transform: translateX(-50%);
  font-family: var(--f-display);
  font-size: clamp(120px, 22vw, 360px);
  font-weight: 700;
  background: linear-gradient(180deg, rgba(136,208,148,0.12), rgba(136,208,148,0));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.04em;
  pointer-events: none;
  white-space: nowrap;
}
.footer-grid {
  display: grid; gap: 48px 56px;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  position: relative;
}
.footer h2 {  /* column titles: h2, so no heading level is skipped after the page's last h2 (6.2) */
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.18em; line-height: inherit;
  text-transform: uppercase; color: var(--de-york);
  margin-bottom: 18px;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { color: var(--text-dim); font-size: 14px; transition: color var(--dur-fast); }
.footer ul li > span { font-size: 14px; }  /* opening hours, same size as the lines above (mobile 4.2) */
.footer ul a:hover { color: var(--de-york); }
.footer-brand p { color: var(--text-dim); max-width: 36ch; margin: 14px 0 24px; }
.footer-brand .socials { display: flex; gap: 12px; }
.footer-brand .socials a {
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all var(--dur-fast);
}
.footer-brand .socials a:hover { border-color: var(--de-york); background: rgba(136,208,148,0.08); }
.footer-badges { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.footer-badges a {
  display: inline-flex; padding: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color var(--dur-fast), background var(--dur-fast);
}
.footer-badges a:hover { border-color: var(--de-york); background: rgba(136,208,148,0.08); }
.footer-badges img { width: 80px; height: 80px; display: block; object-fit: contain; }
.footer-bottom {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px;
  font-family: var(--f-mono); font-size: 12px;
  color: var(--text-mute);
  position: relative;
}
.footer-bottom a, .footer-bottom button { color: var(--text-mute); }
.footer-bottom a:hover, .footer-bottom button:hover { color: var(--de-york); }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }  /* Contact full width: the hours stay on one line */
}

/* ----- Back to top (phones/tablets): bottom right, shows after ~2.5 screens of scrolling (Kostas 2026-10-07).
   Created by vibrande.js; below the menu (49) and the nav (50), above the content. ----- */
.to-top { display: none; }
@media (max-width: 900px) {
  .to-top {
    display: flex; align-items: center; justify-content: center;
    position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 45;
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(4,4,4,0.72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border: 1px solid rgba(136,208,148,0.45); color: var(--de-york); cursor: pointer;
    opacity: 0; transform: translateY(12px); pointer-events: none;
    transition: opacity var(--dur-md) var(--ease), transform var(--dur-md) var(--ease);
  }
  .to-top.show { opacity: 1; transform: none; pointer-events: auto; }
  .mobile-open .to-top { opacity: 0; pointer-events: none; }
}

/* ----- Swipe hint under the sideways reel rows (Home, Short-Form): bar that fills + "Swipe →" (Kostas 2026-10-07).
   Created by vibrande.js, hidden while the row fits the screen. ----- */
.swipe-hint { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.swipe-hint[hidden] { display: none; }
.swipe-track { position: relative; flex: 1; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.swipe-thumb { position: absolute; top: 0; bottom: 0; left: 0; border-radius: 2px; background: var(--de-york); }
.swipe-label {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--de-york);
  white-space: nowrap; transition: opacity var(--dur-md) var(--ease);
}
.swipe-arrow { display: inline-block; animation: swipe-nudge 1.6s var(--ease) infinite; }
@keyframes swipe-nudge { 0%, 60%, 100% { transform: none; } 30% { transform: translateX(5px); } }
.swiped .swipe-label { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .swipe-arrow { animation: none; } }

/* ----- Custom cursor (desktop) ----- */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: var(--z-cursor);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}
.cursor-dot { width: 6px; height: 6px; background: var(--de-york); transition: transform 80ms linear; }
.cursor-ring { width: 38px; height: 38px; border: 1px solid rgba(136,208,148,0.6); transition: transform 220ms var(--ease), width var(--dur-md), height var(--dur-md); }
.cursor-ring.hover { width: 64px; height: 64px; border-color: var(--de-york); }
@media (max-width: 900px) { .cursor-dot, .cursor-ring { display: none; } }
@media (hover: none) { .cursor-dot, .cursor-ring { display: none; } }

/* ----- Hero canvas / orb ----- */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  pointer-events: none;
  animation: orb-float 16s ease-in-out infinite;
}
.orb-1 { width: 540px; height: 540px; background: radial-gradient(circle, var(--de-york), transparent 65%); top: -120px; right: -120px; }
.orb-2 { width: 420px; height: 420px; background: radial-gradient(circle, var(--viridian), transparent 65%); bottom: -120px; left: -80px; animation-delay: -6s; opacity: 0.5; }
.orb-3 { width: 320px; height: 320px; background: radial-gradient(circle, var(--fern), transparent 65%); top: 40%; left: 30%; animation-delay: -3s; opacity: 0.35; }
@keyframes orb-float {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(40px,-30px) scale(1.08); }
  66% { transform: translate(-30px,40px) scale(0.95); }
}

/* ----- Form ----- */
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text-mute);
}
.form-field input, .form-field textarea, .form-field select {
  padding: 14px 16px;
  background: var(--black-3);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  color: var(--text);
  transition: border-color var(--dur-fast), background var(--dur-fast);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--de-york); background: var(--black-2);
}
.form-field textarea { min-height: 140px; resize: vertical; }
/* Optional consent box under the contact form (pre-launch 5.4): native checkbox in the brand green, never pre-ticked. */
.form-check { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 24px; cursor: pointer; font-size: 14px; line-height: 1.55; color: var(--text-dim); }
.form-check input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--de-york); cursor: pointer; }

/* ----- Utility ----- */
.flow > * + * { margin-top: var(--s-4); }
.flow-lg > * + * { margin-top: var(--s-6); }
.center { text-align: center; }
.no-select { user-select: none; }
.clip { overflow: hidden; }

/* ----- Scrollbar ----- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--black-soft); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--fern); }

/* ----- Reduced motion ----- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .orb { animation: none; }
  .marquee-track { animation: none; }
}

/* ----- Page-specific helpers (used across pages) ----- */
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; }
.kpi {
  display: flex; flex-direction: column; gap: 6px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--black-2), var(--black));
}
.kpi .num {
  font-family: var(--f-display); font-size: clamp(40px, 5vw, 64px);
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: -0.02em;
}
.kpi .label { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-mute); }

/* ===== Video lightbox (Vimeo) ===== */
.vid-lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(4,4,4,0.9);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; transition: opacity var(--dur-md) var(--ease);
}
.vid-lightbox.open { opacity: 1; }
.vid-lightbox[hidden] { display: none; }
.vid-lightbox__frame {
  position: relative;
  width: min(92vw, calc((100vh - 96px) * 9 / 16));  /* 9:16, fit to viewport height */
  aspect-ratio: 9 / 16;
  max-height: calc(100vh - 48px);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #000;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.vid-lightbox__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid-lightbox__close {
  position: absolute; top: 20px; right: 20px; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(4,4,4,0.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong); color: var(--text);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: border-color var(--dur-fast), color var(--dur-fast);
}
.vid-lightbox__close:hover { border-color: var(--de-york); color: var(--de-york); }
@media (prefers-reduced-motion: reduce) { .vid-lightbox { transition: none; } }

/* Reel tile preview: muted autoplay via Vimeo background embed (sits above the
   poster, below the overlay/play). pointer-events off so the tile click still fires. */
.reel-video { position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s ease; pointer-events: none; }
.reel-video.ready { opacity: 1; }
.reel-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; }

/* ----- Section heads (eyebrow + title + text) and the green CTA box. Lived only in Home's <style>, so Studio,
   Short-Form, Fractional CMO and the posts showed them unstyled; now shared (mobile 4.2, Kostas 2026-10-07). ----- */
/* ===== Final CTA ===== */
.cta-banner {
  padding: clamp(80px, 10vw, 160px) clamp(24px, 4vw, 80px);
  background: linear-gradient(135deg, var(--fern) 0%, var(--viridian) 60%, var(--de-york) 100%);
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-banner::before {
  content:''; position: absolute; inset: 0;
  background:
    radial-gradient(40% 60% at 0% 100%, rgba(4,4,4,0.5), transparent 60%),
    radial-gradient(60% 80% at 100% 0%, rgba(4,4,4,0.5), transparent 70%);
}
.cta-banner h2 {
  color: var(--black);
  font-size: clamp(48px, 8vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  position: relative;
}
@media (max-width: 480px) { .cta-banner h2 { font-size: min(48px, 9.4vw); } }  /* "SOMETHING" fits */
.cta-banner p { color: rgba(4,4,4,0.75); margin: 24px auto 36px; max-width: 50ch; position: relative; }
.cta-banner .btn-primary { background: var(--black); color: var(--de-york); position: relative; }
.cta-banner .btn-primary:hover { background: #1c1c1c; }

/* ===== Section heads with eyebrow ===== */
.sec-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 60px; flex-wrap: wrap; }
.sec-title h2 { font-size: clamp(36px, 5vw, 72px); line-height: 1; letter-spacing: -0.02em; }
.sec-title .right { color: var(--text-dim); max-width: 38ch; font-size: 15px; }

/* ----- Cookie consent (pre-launch 5.1, Kostas 2026-10-07): banner bottom left (phones: across the bottom) + settings
   <dialog>. Reject and Accept look exactly the same (variant A). Built by vibrande.js. Above the nav (50), below the
   video lightbox (200). ----- */
.cc-banner {
  position: fixed; left: 24px; bottom: 24px; z-index: 60;
  width: min(440px, calc(100vw - 48px));
  padding: 24px;
  background: rgba(10,10,10,0.94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--line-strong); border-radius: var(--r-lg);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.cc-banner[hidden] { display: none; }
.cc-eyebrow {
  display: flex; align-items: center; gap: 8px; margin-bottom: 10px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--de-york);
}
.cc-eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--de-york); }
.cc-text { font-size: 15px; line-height: 1.55; color: var(--text-dim); }
.cc-text a, .cc-policy { color: var(--de-york); text-decoration: underline; text-underline-offset: 3px; }
.cc-actions { display: flex; gap: 10px; margin-top: 18px; }
.cc-actions .btn { flex: 1; justify-content: center; padding: 12px 18px; font-size: 14px; }
.cc-link {
  margin-top: 14px; padding: 4px 0;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-mute); text-decoration: underline; text-underline-offset: 4px;
}
.cc-link:hover { color: var(--text); }

.cc-dialog {
  width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 48px);
  margin: auto; padding: 32px;
  color: var(--text); background: var(--black-2);
  border: 1px solid var(--line-strong); border-radius: var(--r-lg);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.cc-dialog::backdrop { background: rgba(4,4,4,0.8); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.cc-title { min-height: 44px; display: flex; align-items: center; margin: -6px 56px 8px 0; font-family: var(--f-display); font-size: 20px; font-weight: 700; letter-spacing: -0.01em; text-transform: uppercase; }
.cc-cats { list-style: none; margin: 22px 0 6px; border-top: 1px solid var(--line); }
.cc-cat { display: flex; gap: 20px; align-items: flex-start; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cc-cat h3 { font-family: var(--f-body); font-size: 16px; font-weight: 600; margin-bottom: 4px; text-transform: none; }
.cc-cat p { font-size: 14px; line-height: 1.55; color: var(--text-dim); }
.cc-always { flex: none; padding-top: 2px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--de-york); white-space: nowrap; }
.cc-switch {
  flex: none; position: relative; width: 46px; height: 26px; margin-top: 2px;
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background: var(--black-soft); border: 1px solid var(--line-strong); border-radius: var(--r-pill);
  transition: background var(--dur-fast), border-color var(--dur-fast);
}
.cc-switch::after {
  content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--text-mute); transition: transform var(--dur-fast) var(--ease), background var(--dur-fast);
}
.cc-switch:checked { background: var(--de-york); border-color: var(--de-york); }
.cc-switch:checked::after { transform: translateX(20px); background: var(--black); }
.cc-switch:focus-visible { outline: 2px solid var(--de-york); outline-offset: 3px; }
.cc-dialog .cc-actions .btn { padding: 12px 14px; }
.cc-policy { display: inline-block; margin-top: 16px; font-size: 14px; }
.cc-close {
  position: absolute; top: 26px; right: 26px;
  width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong); color: var(--text);
}
.cc-close:hover { border-color: var(--de-york); color: var(--de-york); }

@media (max-width: 600px) {
  .cc-banner { left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); width: auto; padding: 20px; }
  .cc-dialog { margin: auto 0 0; width: 100vw; max-width: 100vw; max-height: 88vh; padding: 24px 20px calc(24px + env(safe-area-inset-bottom, 0px)); border-radius: var(--r-lg) var(--r-lg) 0 0; border-bottom: 0; }
  .cc-close { top: 18px; right: 14px; }
  /* Reject and Accept side by side (same weight), Save under them */
  .cc-dialog .cc-actions { flex-wrap: wrap; }
  .cc-dialog [data-cc="save"] { order: 3; flex-basis: 100%; }
}
