/* Canala Studio — Brand tokens (alt vanilla build) */
:root {
  --teal: #00515F;
  --teal-dark: #003640;
  --near-black: #0F1419;
  --cream: #F5F0E6;
  --mist: #E8E2D4;
  --amber: #D97742;
  --amber-hot: #c66734;
  --stone: #8A8680;

  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);

  --container: 1280px;
  --grain-opacity: 0.06;
  --marquee-dur: 48s;
}

* { box-sizing: border-box; -webkit-font-smoothing: antialiased; }
html, body {
  margin: 0; padding: 0;
  background: var(--cream);
  color: var(--near-black);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  scroll-behavior: smooth;
}
body { overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }

::selection { background: var(--amber); color: var(--near-black); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(15,20,25,0.2); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(15,20,25,0.4); }

/* Type utilities */
.font-display { font-family: var(--font-display); font-weight: 900; letter-spacing: -0.02em; line-height: 0.95; }
.font-body { font-family: var(--font-body); }
.font-mono { font-family: var(--font-mono); font-weight: 700; font-variant-numeric: tabular-nums; }
.uppercase { text-transform: uppercase; }
.eyebrow { font-family: var(--font-body); font-weight: 500; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--stone); }
.eyebrow-mono { font-family: var(--font-mono); font-weight: 700; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--stone); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .container { padding: 0 40px; } }

section { position: relative; }
.bg-cream { background: var(--cream); color: var(--near-black); }
.bg-mist { background: var(--mist); color: var(--near-black); }
.bg-near-black { background: var(--near-black); color: var(--cream); }
.bg-teal { background: var(--teal); color: var(--cream); }
.bg-teal-dark { background: var(--teal-dark); color: var(--cream); }

.hairline { display: block; width: 48px; height: 1px; background: currentColor; opacity: 0.3; }
.hairline-lg { width: 64px; }

/* Grain overlay */
.grain {
  position: absolute; inset: 0; pointer-events: none;
  opacity: var(--grain-opacity); mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' /%3E%3CfeColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0.6 0' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' /%3E%3C/svg%3E");
}
.grain-animated { animation: grainShift 0.6s steps(4) infinite; }
@keyframes grainShift {
  0%   { transform: translate(0,0); }
  25%  { transform: translate(-3%, 2%); }
  50%  { transform: translate(2%, -3%); }
  75%  { transform: translate(-1%, 1%); }
  100% { transform: translate(0,0); }
}

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
.reveal-d5 { transition-delay: 0.4s; }
.reveal-d6 { transition-delay: 0.5s; }
.reveal-d7 { transition-delay: 0.6s; }
.reveal-d8 { transition-delay: 0.72s; }
.reveal-d9 { transition-delay: 0.84s; }

/* Word reveal */
.word-reveal-target { display: inline; }
.word-reveal { display: inline-block; overflow: hidden; vertical-align: top; margin-right: 0.25em; }
.word-reveal > span { display: inline-block; transform: translateY(110%); transition: transform 0.9s var(--ease-out-expo); }
.in .word-reveal > span,
.word-reveal.in > span { transform: translateY(0); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 28px;
  font-family: var(--font-display); font-weight: 700; letter-spacing: 0.02em;
  font-size: 14px; text-transform: uppercase;
  border: 1px solid transparent; border-radius: 0;
  transition: transform 0.4s var(--ease-out-expo), background 0.3s, color 0.3s, border-color 0.3s;
  position: relative; overflow: hidden;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--amber); color: var(--near-black); }
.btn-primary:hover { background: var(--amber-hot); }
.btn-secondary { background: transparent; color: var(--near-black); border-color: var(--near-black); }
.btn-secondary:hover { background: var(--near-black); color: var(--cream); }
.btn-ghost-cream { background: transparent; color: var(--cream); border-color: rgba(245,240,230,0.4); }
.btn-ghost-cream:hover { background: var(--cream); color: var(--near-black); border-color: var(--cream); }
.btn-arrow { transition: transform 0.4s var(--ease-out-expo); display: inline-block; }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* Magnetic */
.magnetic { display: inline-flex; transition: transform 0.5s var(--ease-out-expo); will-change: transform; }

/* Brand mark */
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  background: var(--teal); color: var(--cream);
  font-family: var(--font-display); font-weight: 900;
  font-size: 14px; letter-spacing: -0.04em;
}
.brand-mark.amber { background: var(--amber); color: var(--near-black); }
.brand-mark.cream { background: var(--cream); color: var(--teal); }

/* Sticky CTA */
.sticky-cta {
  position: fixed; bottom: 24px; right: 24px;
  z-index: 80;
  opacity: 0; transform: translateY(20px) scale(0.96);
  transition: opacity 0.5s, transform 0.5s var(--ease-out-expo);
  pointer-events: none;
}
.sticky-cta.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.sticky-cta .btn { box-shadow: 0 20px 40px -12px rgba(217,119,66,0.5); }

/* Marquee */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee { position: relative; }
.marquee-track { display: flex; gap: 80px; animation: marquee var(--marquee-dur) linear infinite; will-change: transform; width: max-content; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-mask {
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

/* Numbers */
.num {
  font-family: var(--font-mono); font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1; letter-spacing: -0.02em;
  font-feature-settings: "tnum" 1;
}

/* Headlines */
.h1 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(48px, 8vw, 112px);
  letter-spacing: -0.03em; line-height: 0.95;
  text-transform: uppercase;
}
.h2 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(40px, 6vw, 80px);
  letter-spacing: -0.02em; line-height: 0.95;
  text-transform: uppercase;
}
.h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(20px, 2.4vw, 28px);
  letter-spacing: -0.01em; line-height: 1.05;
  text-transform: uppercase;
}

/* Hero photo (real image, cinematic warm overlay) */
.hero-photo { position: relative; overflow: hidden; }
.hero-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
  filter: saturate(0.88) contrast(1.04) brightness(0.96);
}
.hero-photo-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(45deg, transparent 0, transparent 12px, rgba(217,119,66,0.05) 12px, rgba(217,119,66,0.05) 13px),
    radial-gradient(ellipse at 30% 30%, rgba(217,119,66,0.15), transparent 60%),
    linear-gradient(to top, rgba(15,20,25,0.55), rgba(15,20,25,0) 45%);
}
.hero-photo-meta {
  position: absolute; inset: 0; pointer-events: none;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(245,240,230,0.75);
}
.hero-photo-meta .ph-tl { position: absolute; top: 24px; left: 24px; }
.hero-photo-meta .ph-bl { position: absolute; bottom: 24px; left: 24px; color: rgba(217,119,66,0.85); font-weight: 700; }

/* Founder photo */
.founder-img { position: relative; overflow: hidden; aspect-ratio: 4/5; }
.founder-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 25%;
  filter: saturate(0.85) contrast(1.04) brightness(0.95);
  transition: transform 0.05s linear;
}
.founder-photo-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(45deg, transparent 0, transparent 12px, rgba(0,81,95,0.04) 12px, rgba(0,81,95,0.04) 13px),
    linear-gradient(135deg, rgba(0,81,95,0.08), transparent 50%);
}

/* Marquee real logo */
.marquee-item.logo-img {
  padding: 0;
  height: 96px;
  display: flex; align-items: center; justify-content: center;
  min-width: 180px;
}
.marquee-item.logo-img img {
  max-height: 72px; max-width: 220px;
  width: auto; height: auto;
  object-fit: contain;
  filter: grayscale(1) opacity(0.55) contrast(1.2);
  transition: filter 0.4s var(--ease-out-expo);
}
.marquee-item.logo-img:hover img { filter: grayscale(0) opacity(1); }
/* Per-logo size hints */
.marquee-item.logo-img.size-lg img { max-height: 110px; max-width: 280px; }
.marquee-item.logo-img.size-lg { min-width: 240px; height: 120px; }
/* Invert white-fill logos so they render dark on cream background */
.marquee-item.logo-img.invert img { filter: invert(1) grayscale(1) opacity(0.55) contrast(1.2); }
.marquee-item.logo-img.invert:hover img { filter: invert(1) grayscale(0) opacity(1); }

/* Built logo thumb */
.built-card .logo-thumb {
  position: absolute; bottom: 24px; left: 24px; right: 24px;
  height: 64px; display: flex; align-items: flex-end; justify-content: flex-start;
}
.built-card .logo-thumb img {
  max-height: 56px; max-width: 60%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.built-card .top.v3 .logo-thumb img,
.built-card .top.v4 .logo-thumb img { filter: brightness(0); }
.built-card .body .site-name {
  font-family: var(--font-display); font-weight: 900; font-size: 18px;
  text-transform: uppercase; letter-spacing: -0.01em;
  color: var(--cream); margin: 0 0 16px 0;
}

/* Image placeholder (cinematic warm) */
.placeholder {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #1a2228 0%, #003640 60%, #0F1419 100%);
  color: rgba(245,240,230,0.5);
  display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 24px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
}
.placeholder::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, transparent 0, transparent 12px, rgba(217,119,66,0.04) 12px, rgba(217,119,66,0.04) 13px);
}
.placeholder::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 30%, rgba(217,119,66,0.18), transparent 60%);
  pointer-events: none;
}
.placeholder .ph-tl { position: absolute; top: 24px; left: 24px; color: rgba(245,240,230,0.5); z-index: 2; }
.placeholder .ph-bl { position: absolute; bottom: 24px; left: 24px; color: rgba(245,240,230,0.4); z-index: 2; }

/* Spotlight cursor for hero */
.spotlight {
  position: absolute; pointer-events: none;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217,119,66,0.18), transparent 60%);
  transform: translate(-50%,-50%);
  transition: opacity 0.4s;
  filter: blur(20px);
  opacity: 0;
}
.spotlight.show { opacity: 0.7; }

/* Notification ticker card */
.notif-card {
  background: var(--cream);
  color: var(--near-black);
  padding: 14px 16px;
  display: flex; gap: 12px; align-items: center;
  box-shadow: 0 20px 40px -12px rgba(0,0,0,0.45), 0 6px 14px -6px rgba(0,0,0,0.3);
  border-left: 3px solid var(--amber);
  min-width: 280px;
  animation: notifSlideIn 0.6s var(--ease-out-expo);
}
.notif-card .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); flex-shrink: 0; animation: pulse 1.6s ease-out infinite; }
.notif-card .text { font-size: 13px; font-weight: 600; line-height: 1.3; }
.notif-card .time { font-family: var(--font-mono); font-size: 10px; color: var(--stone); margin-top: 2px; letter-spacing: 0.1em; }

@keyframes notifSlideIn {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes pulse {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -40px); }
}
@keyframes scrollHint {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

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

/* Section padding */
.section-pad { padding: 96px 0; }
@media (min-width: 768px) { .section-pad { padding: 128px 0; } }
@media (min-width: 1024px) { .section-pad { padding: 160px 0; } }

/* Grid helpers */
.grid-12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }

/* Card */
.card {
  padding: 32px;
  background: rgba(245,240,230,0.04);
  border: 1px solid rgba(245,240,230,0.12);
  transition: border-color 0.4s, transform 0.4s var(--ease-out-expo), background 0.4s;
}
.card:hover { border-color: rgba(217,119,66,0.5); transform: translateY(-4px); }
.card-light { background: var(--mist); border: 1px solid rgba(15,20,25,0.06); }
.card-light:hover { border-color: rgba(0,81,95,0.4); }

/* Form */
.input {
  width: 100%;
  padding: 16px;
  background: transparent;
  border: 1px solid rgba(15,20,25,0.2);
  font: inherit;
  font-size: 16px;
  color: inherit;
  transition: border-color 0.3s;
}
.input:focus { outline: none; border-color: var(--teal); }

/* ============ Layout-specific ============ */

/* Header / Nav */
.site-nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(245,240,230,0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}
.site-nav.scrolled {
  background: rgba(245,240,230,0.92);
  border-bottom: 1px solid rgba(15,20,25,0.08);
}
.site-nav .row { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; }
.brand-link { display: inline-flex; align-items: center; gap: 12px; }
.brand-link span { font-family: var(--font-display); font-weight: 900; font-size: 14px; letter-spacing: -0.01em; text-transform: uppercase; }
.nav-right { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-size: 13px; font-weight: 500; padding-bottom: 2px; border-bottom: 1px solid transparent; transition: color 0.3s, border-color 0.3s; }
.nav-links a.active { color: var(--teal); border-bottom-color: var(--teal); }
.nav-links a.nav-dental { color: var(--amber); font-weight: 700; }
.nav-links a.nav-dental:hover { border-bottom-color: var(--amber); }
.lang-toggle { display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 11px; font-weight: 700; }
.lang-toggle button { color: var(--stone); transition: color 0.3s; }
.lang-toggle button.active { color: var(--teal); }
.lang-toggle .sep { color: var(--stone); opacity: 0.5; }

/* Hero L-shape */
.hero {
  position: relative; min-height: 92vh; display: flex; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(110deg, var(--teal-dark) 0%, var(--teal-dark) 48%, var(--cream) 48%, var(--cream) 100%);
}
.hero .container {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 32px; align-items: center; padding: 120px 24px;
}
.hero-left { color: var(--cream); max-width: 560px; padding-right: 24px; }
.hero-left .h1 { color: var(--cream); font-size: clamp(44px, 6.2vw, 84px); margin: 0; }
.hero-left .lede { font-size: 18px; color: rgba(245,240,230,0.85); max-width: 480px; line-height: 1.5; margin: 0 0 40px 0; }
.hero-left .footnote { font-family: var(--font-mono); margin-top: 48px; font-size: 11px; color: rgba(245,240,230,0.5); letter-spacing: 0.16em; text-transform: uppercase; }
.hero-cta-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero-right { position: relative; height: 70vh; min-height: 480px; }
.hero-right .placeholder { width: 100%; height: 100%; position: absolute; inset: 0; }

.scroll-indicator {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 3; color: var(--stone);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-indicator .line { width: 1px; height: 32px; background: var(--stone); animation: scrollHint 2s ease-in-out infinite; }

/* Notif column on hero */
.notif-stack {
  position: absolute; right: 24px; top: 80px;
  display: flex; flex-direction: column; gap: 12px;
  z-index: 5; pointer-events: none;
}

/* Logo Marquee */
.marquee-section { padding: 64px 0; overflow: hidden; }
.marquee-eyebrow { text-align: center; margin-bottom: 32px; }
.marquee-item {
  white-space: nowrap; opacity: 0.5; cursor: default;
  padding: 8px 16px; transition: opacity 0.3s, color 0.3s;
  color: var(--near-black);
}
.marquee-item:hover { opacity: 1; color: var(--teal); }
.marquee-item.serif { font-family: Georgia, serif; font-weight: 400; font-size: 22px; font-style: italic; letter-spacing: 0.02em; }
.marquee-item.mono { font-family: var(--font-mono); font-weight: 700; font-size: 18px; letter-spacing: 0.1em; text-transform: uppercase; }
.marquee-item.display { font-family: var(--font-display); font-weight: 900; font-size: 18px; letter-spacing: -0.01em; text-transform: uppercase; }

/* Problem section */
.problem-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; }
.problem-grid .head { grid-column: span 12; }
.problem-grid .body { grid-column: span 7; }
.problem-grid .tag { grid-column: 9 / span 4; display: flex; align-items: flex-end; }
.problem-grid .body p { font-size: 22px; line-height: 1.55; color: rgba(245,240,230,0.85); margin: 0; }
.problem-grid .tag-box { border-left: 2px solid var(--amber); padding-left: 16px; }
.problem-grid .tag-box p { font-family: var(--font-mono); color: var(--amber); font-size: 13px; font-weight: 700; letter-spacing: 0.18em; line-height: 1.4; text-transform: uppercase; margin: 0; }

/* Section header */
.section-header { margin-bottom: 64px; }
.section-header .eyebrow { display: block; margin-bottom: 24px; }
.section-header .h2 { margin: 0; }
.section-header .hairline-lg { margin-top: 32px; }

/* System vertical timeline */
.system-wrap { position: relative; max-width: 720px; margin: 80px auto 0; }
.system-wrap .track-bg { position: absolute; left: 32px; top: 0; bottom: 0; width: 2px; background: rgba(15,20,25,0.1); }
.system-wrap .track-fill { position: absolute; left: 32px; top: 0; width: 2px; background: var(--teal); height: 0%; transition: height 0.1s linear; }
.system-stage { display: flex; gap: 32px; align-items: flex-start; padding-bottom: 64px; position: relative; }
.system-stage .badge {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--mist); color: var(--stone);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-weight: 700; font-size: 16px;
  flex-shrink: 0;
  border: 4px solid var(--cream);
  position: relative; z-index: 1;
  transition: background 0.5s, color 0.5s;
}
.system-stage.active .badge { background: var(--teal); color: var(--cream); }
.system-stage.active.last .badge { background: var(--amber); color: var(--near-black); }
.system-stage .stage-text { padding-top: 12px; opacity: 0.4; transition: opacity 0.5s; }
.system-stage.active .stage-text { opacity: 1; }
.system-stage .stage-text .label { font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 1.05; text-transform: uppercase; margin: 0 0 8px 0; }
.system-stage .stage-text .note { font-size: 16px; color: var(--stone); line-height: 1.5; margin: 0; }

/* Proof — case cards */
.proof-cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: 24px; }
.case-card { padding: 40px; height: 100%; display: flex; flex-direction: column; }
.case-card .loc { font-family: var(--font-mono); font-weight: 700; font-size: 12px; letter-spacing: 0.18em; color: var(--stone); margin: 0 0 8px 0; text-transform: uppercase; }
.case-card .clinic { font-family: var(--font-display); font-weight: 700; font-size: 20px; text-transform: uppercase; margin: 0 0 4px 0; }
.case-card .owner { font-size: 13px; color: var(--stone); margin: 0 0 32px 0; }
.case-card .big-num { font-family: var(--font-mono); font-weight: 700; font-size: clamp(56px, 7vw, 96px); line-height: 1; letter-spacing: -0.02em; }
.case-card .big-label { font-family: var(--font-mono); font-weight: 700; font-size: 11px; letter-spacing: 0.18em; color: var(--stone); margin-top: 12px; text-transform: uppercase; }
.case-card .metrics-row { border-top: 1px solid rgba(245,240,230,0.1); padding-top: 24px; margin-top: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.case-card .metrics-row .m-v { font-family: var(--font-mono); font-weight: 700; font-size: 24px; color: var(--cream); }
.case-card .metrics-row .m-l { font-family: var(--font-mono); font-weight: 700; font-size: 9px; letter-spacing: 0.16em; color: var(--stone); margin-top: 4px; text-transform: uppercase; }

/* Voices */
.voices { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.voice-card .quote { font-size: 16px; line-height: 1.55; margin: 0 0 24px 0; }
.voice-card .author { font-family: var(--font-mono); font-weight: 700; font-size: 11px; letter-spacing: 0.16em; color: var(--amber); margin: 0; }
.voice-card .role { font-family: var(--font-mono); font-weight: 700; font-size: 10px; letter-spacing: 0.16em; color: var(--stone); margin-top: 4px; }

/* NotWeAre */
.not-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; align-items: start; }
.not-grid .left { grid-column: span 6; }
.not-grid .right { grid-column: 8 / span 5; }
.not-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.not-list li { display: flex; align-items: center; gap: 16px; }
.not-list .x { width: 24px; height: 24px; color: var(--teal); flex-shrink: 0; }
.not-list span.text { font-size: 18px; font-weight: 500; }
.not-grid .right p { font-size: 22px; line-height: 1.55; margin: 0; }

/* Built — site cards */
.built-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.built-card { padding: 0; overflow: hidden; height: 100%; display: flex; flex-direction: column; }
.built-card .top { padding: 24px; height: 200px; position: relative; overflow: hidden; }
.built-card .top .dots { display: flex; gap: 6px; margin-bottom: 16px; }
.built-card .top .dots span { width: 8px; height: 8px; border-radius: 50%; opacity: 0.3; }
.built-card .top .host { font-family: var(--font-mono); font-weight: 700; font-size: 11px; letter-spacing: 0.12em; opacity: 0.7; margin: 0; }
.built-card .top .name { font-family: var(--font-display); font-weight: 900; font-size: 28px; line-height: 1; margin-top: 24px; letter-spacing: -0.02em; text-transform: uppercase; }
.built-card .body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.built-card .features { list-style: none; padding: 0; margin: 0 0 24px 0; display: flex; flex-direction: column; gap: 8px; }
.built-card .features li { font-size: 13px; color: rgba(245,240,230,0.8); display: flex; gap: 10px; align-items: flex-start; }
.built-card .features li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--amber); margin-top: 7px; flex-shrink: 0; }
.built-card .visit { margin-top: auto; font-family: var(--font-mono); font-weight: 700; font-size: 11px; color: var(--amber); letter-spacing: 0.16em; text-transform: uppercase; }

/* Built top variants */
.built-card .top.v1 { background: var(--teal); color: var(--cream); }
.built-card .top.v2 { background: var(--teal-dark); color: var(--cream); }
.built-card .top.v3 { background: var(--amber); color: var(--near-black); }
.built-card .top.v4 { background: var(--mist); color: var(--near-black); }
.built-card .top.v1 .dots span,
.built-card .top.v2 .dots span { background: var(--cream); }
.built-card .top.v3 .dots span,
.built-card .top.v4 .dots span { background: var(--near-black); }

/* Founder */
.founder-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 48px; align-items: center; }
.founder-grid .img-col { grid-column: span 5; }
.founder-grid .text-col { grid-column: span 7; }
.founder-img { position: relative; overflow: hidden; aspect-ratio: 4/5; }
.founder-img .placeholder { position: absolute; inset: 0; transition: transform 0.05s linear; }
.founder-grid .text-col p { font-size: 18px; line-height: 1.6; margin: 0 0 16px 0; }
.founder-grid .text-col .sig { font-family: var(--font-mono); font-weight: 700; color: var(--teal); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; }

/* CTA Punch + Calendar */
.cta-punch { position: relative; overflow: hidden; }
.cta-punch .glow { position: absolute; top: 0; left: 0; right: 0; height: 70%; background: radial-gradient(ellipse at center 30%, rgba(217,119,66,0.2), transparent 70%); pointer-events: none; }
.cta-punch .top-block { position: relative; z-index: 1; color: var(--cream); padding: 160px 24px 120px; text-align: center; }
.cta-punch .h-massive {
  margin: 0 auto;
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(56px, 11vw, 160px); line-height: 0.85;
  text-transform: uppercase; letter-spacing: -0.04em;
  max-width: 1200px;
}
.cta-punch .lede { margin-top: 48px; font-size: 20px; color: rgba(245,240,230,0.75); max-width: 600px; margin-left: auto; margin-right: auto; line-height: 1.55; }
.cta-punch .arrow-tag { font-family: var(--font-mono); font-weight: 700; margin-top: 56px; font-size: 12px; color: var(--amber); letter-spacing: 0.2em; text-transform: uppercase; }
.cta-punch .calendar-wrap { position: relative; z-index: 1; padding-bottom: 120px; }
.cta-punch .calendar-wrap .inner { max-width: 720px; margin: 0 auto; padding: 0 24px; }

/* GHL booking modal (opened from calendar mock's Book button) */
.ghl-modal {
  position: fixed; inset: 0; z-index: 200;
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s var(--ease-out-expo);
}
.ghl-modal.open { display: flex; opacity: 1; }
.ghl-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(15,20,25,0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}
.ghl-modal-content {
  position: relative; z-index: 1;
  background: var(--cream);
  width: 100%; max-width: 720px;
  height: 92vh; max-height: 880px;
  overflow: hidden;
  box-shadow: 0 60px 120px -30px rgba(0,0,0,0.55);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.4s var(--ease-out-expo);
}
.ghl-modal.open .ghl-modal-content { transform: translateY(0) scale(1); }
.ghl-modal-content iframe {
  display: block;
  width: 100%; height: 100%;
  border: 0; background: var(--cream);
}
.ghl-modal-close {
  position: absolute; top: 12px; right: 12px;
  z-index: 2;
  width: 40px; height: 40px;
  background: var(--near-black); color: var(--cream);
  font-size: 28px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  border: 0; cursor: pointer;
  font-family: var(--font-display); font-weight: 700;
  transition: background 0.2s, transform 0.2s var(--ease-out-expo);
  border-radius: 0;
}
.ghl-modal-close:hover { background: var(--amber); color: var(--near-black); transform: rotate(90deg); }
@media (max-width: 768px) {
  .ghl-modal { padding: 0; }
  .ghl-modal-content { height: 100vh; max-height: 100vh; max-width: 100vw; }
}

/* Calendar mock */
.cal {
  background: var(--cream); color: var(--near-black);
  padding: 28px; position: relative;
}
.cal .head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.cal .head .title { font-family: var(--font-display); font-weight: 900; font-size: 16px; text-transform: uppercase; margin: 0; }
.cal .head .meta { font-family: var(--font-mono); font-weight: 700; color: var(--stone); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; margin: 0; }
.cal .grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-bottom: 24px; }
.cal .grid .dow { font-size: 10px; color: var(--stone); text-align: center; font-family: var(--font-mono); letter-spacing: 0.1em; }
.cal .grid .day { padding: 10px 0; font-family: var(--font-mono); font-weight: 700; font-size: 13px; background: transparent; transition: background 0.2s, color 0.2s; cursor: pointer; }
.cal .grid .day.disabled { color: rgba(15,20,25,0.25); cursor: not-allowed; }
.cal .grid .day.selected { background: var(--teal); color: var(--cream); }
.cal .times-label { font-family: var(--font-mono); font-weight: 700; color: var(--stone); margin: 0 0 12px 0; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; }
.cal .times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 24px; }
.cal .times button { padding: 12px 0; font-family: var(--font-mono); font-weight: 700; font-size: 13px; border: 1px solid rgba(15,20,25,0.2); transition: all 0.2s; cursor: pointer; }
.cal .times button.selected { background: var(--near-black); color: var(--cream); border-color: var(--near-black); }
.cal .book-btn { width: 100%; justify-content: center; }

/* Footer */
.site-footer { padding: 80px 0 40px; position: relative; overflow: hidden; }
.site-footer .footer-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; }
.site-footer .col-tag { grid-column: span 5; }
.site-footer .col-site { grid-column: span 2; }
.site-footer .col-contact { grid-column: span 3; }
.site-footer .col-legal { grid-column: span 2; }
.site-footer .brand-row { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.site-footer .brand-row span { font-family: var(--font-display); font-weight: 900; font-size: 18px; text-transform: uppercase; }
.site-footer .tag-line { font-family: var(--font-display); font-weight: 900; font-size: 24px; line-height: 1; text-transform: uppercase; color: var(--cream); margin: 0 0 16px 0; }
.site-footer .addr { font-family: var(--font-mono); font-weight: 700; color: var(--stone); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; margin: 0; }
.site-footer .col-eyebrow { font-family: var(--font-body); font-weight: 500; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(245,240,230,0.4); margin: 0 0 16px 0; }
.site-footer .col-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer .col-list a { color: var(--cream); opacity: 0.7; font-size: 14px; transition: opacity 0.3s; }
.site-footer .col-list a:hover { opacity: 1; }
.site-footer .bot { margin-top: 80px; padding-top: 24px; border-top: 1px solid rgba(245,240,230,0.1); display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-weight: 700; font-size: 11px; color: var(--stone); letter-spacing: 0.1em; text-transform: uppercase; }

/* Page hero */
.page-hero { padding: 120px 0 80px; position: relative; }
.page-hero h1.h1 { margin: 0; max-width: 1100px; }
.page-hero .lede { font-size: 22px; line-height: 1.55; max-width: 760px; margin-top: 0; }

/* About sections (numbered) */
.about-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 64px; }
.about-cols .num-eb { font-family: var(--font-mono); font-weight: 700; font-size: 32px; color: var(--teal); margin: 0 0 16px 0; opacity: 0.6; }
.about-cols h3 { margin: 0 0 16px 0; }
.about-cols p { font-size: 16px; line-height: 1.6; margin: 0; }

/* Contact extra */
.contact-mid {
  padding: 80px 0 120px; background: var(--cream);
}
.contact-mid .inner { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.contact-mid .pick { text-align: center; margin-bottom: 24px; color: var(--teal); }
.contact-mid .below { margin-top: 48px; text-align: center; }
.contact-mid .below .or { color: var(--stone); margin-bottom: 12px; }
.contact-mid .below a { font-family: var(--font-mono); font-weight: 700; font-size: 16px; color: var(--teal); letter-spacing: 0.08em; border-bottom: 1px solid var(--teal); }

/* Responsive */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .site-footer .col-tag, .site-footer .col-site, .site-footer .col-contact, .site-footer .col-legal { grid-column: span 1; }
  .hero .container { grid-template-columns: 1fr; gap: 48px; padding: 96px 24px; }
  .hero-bg { background: var(--teal-dark); }
  .hero-right { height: 50vh; min-height: 360px; }
  .founder-grid { grid-template-columns: 1fr; gap: 32px; }
  .founder-grid .img-col, .founder-grid .text-col { grid-column: span 1 !important; }
  .problem-grid .body, .problem-grid .tag { grid-column: span 12; }
  .not-grid .left, .not-grid .right { grid-column: span 12; }
  .cta-split-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px !important; }
  .h1 { font-size: clamp(40px, 11vw, 72px) !important; }
  .h2 { font-size: clamp(36px, 9vw, 60px) !important; }
  .hero-left .h1 { font-size: clamp(40px, 11vw, 64px) !important; }
  .cta-punch .h-massive { font-size: clamp(48px, 13vw, 96px) !important; }
  .nav-right { gap: 12px; }
  .lang-toggle { gap: 8px; }
  .site-footer .footer-grid { grid-template-columns: 1fr; }
  .case-card { padding: 28px; }
  .system-wrap { padding: 0 8px; }
  .system-stage { gap: 20px; padding-bottom: 40px; }
  .system-wrap .track-bg, .system-wrap .track-fill { left: 28px; }
  .system-stage .badge { width: 56px; height: 56px; font-size: 14px; }
}
