/* ============================================================
   Euphorikos Marketing — design tokens
   ============================================================ */
:root {
  --void: #0a0e1a;
  --surface: #121a2e;
  --surface-2: #1a2440;
  --line: #2c3855;
  --line-soft: #1d2740;

  --grey-500: #8a92a8;
  --grey-300: #b8bfd1;
  --grey-100: #e6e9f2;
  --white: #f7f5ef;

  --red-600: #2f8f63;
  --red-500: #8fd9b4;
  --red-400: #b6ecce;

  /* secondary accents — background glows only, never on interactive UI */
  --amber-500: #ffb03b;
  --teal-500: #33c2b0;

  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-body: "Sora", "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

  --nav-h: 80px;
  --edge: clamp(20px, 5vw, 80px);
}

/* ============================================================
   Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 20px); }
body, h1, h2, h3, p, blockquote, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }

body {
  background: var(--void);
  color: var(--grey-100);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

::selection { background: var(--red-500); color: var(--void); }

:focus-visible {
  outline: 2px solid var(--red-400);
  outline-offset: 3px;
  border-radius: 2px;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* cursor glow — a soft electric-accent light that follows the pointer,
   screened onto the dark background so it reads as illumination
   rather than a flat colored circle */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 620px;
  height: 620px;
  pointer-events: none;
  z-index: 205;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143, 217, 180, 0.4) 0%, rgba(47, 143, 99, 0.22) 32%, rgba(32, 99, 68, 0.09) 55%, transparent 72%);
  mix-blend-mode: screen;
  transform: translate3d(-9999px, -9999px, 0) translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s var(--ease-soft);
  will-change: transform;
}
.cursor-glow.in { opacity: 1; }
@media (max-width: 780px) {
  .cursor-glow { display: none; }
}

/* generative page background — one continuous canvas behind the whole page,
   replacing per-section photography on Work and Book a Call */
.page-bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.page-work .cta::before,
.page-work .section::after,
.page-about .cta::before,
.page-about .section::after,
.page-services .cta::before,
.page-services .section::after {
  content: none;
  background: none;
}
.page-work main,
.page-work .footer,
.page-about main,
.page-about .footer,
.page-services main,
.page-services .footer {
  position: relative;
  z-index: 1;
}

/* ---------- about: story prose ---------- */
.story-prose {
  max-width: 68ch;
  color: var(--grey-300);
  font-size: 1.05rem;
  line-height: 1.7;
}
.story-prose p + p { margin-top: 20px; }
.story-prose strong { color: var(--white); font-weight: 600; }

.skip-link {
  position: fixed;
  top: -100px;
  left: 24px;
  z-index: 999;
  background: var(--red-500);
  color: var(--void);
  padding: 10px 18px;
  border-radius: 6px;
  transition: top 0.2s var(--ease-soft);
}
.skip-link:focus { top: 16px; }

/* generic reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease-soft), transform 0.9s var(--ease-soft);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============================================================
   Nav — floating pill
   ============================================================ */
.nav {
  position: fixed;
  top: 16px;
  left: var(--edge);
  right: var(--edge);
  z-index: 100;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 10px 0 20px;
  background: rgba(14, 19, 33, 0.55);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-brand {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
}
.brand-word { color: var(--white); }
.brand-dot { color: var(--red-400); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.9rem;
  color: var(--grey-300);
}
.nav-links a { transition: color 0.25s var(--ease-soft); }
.nav-links a:hover { color: var(--white); }
.nav-links a[aria-current="page"] { color: var(--white); }

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: background 0.25s var(--ease-soft), color 0.25s var(--ease-soft), box-shadow 0.25s var(--ease-soft), transform 0.25s var(--ease-soft);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,0.22) 50%, transparent 65%);
  transform: translateX(-130%);
  transition: transform 0.65s var(--ease);
  pointer-events: none;
}
.btn:hover::before { transform: translateX(130%); }
.btn-primary {
  background: var(--red-500);
  color: var(--void);
}
.btn-primary:hover { background: var(--red-400); box-shadow: 0 8px 26px -6px rgba(143, 217, 180,0.5); }
.btn-lg { padding: 15px 30px; font-size: 0.98rem; }
.btn-ghost {
  align-self: flex-start;
  padding: 0;
  border-radius: 0;
  background: none;
  color: var(--red-400);
  font-weight: 600;
}
.btn-ghost::before { display: none; }
.btn-ghost:hover { color: var(--red-500); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  padding: 8px 4px;
}
.nav-toggle span {
  height: 2px;
  width: 100%;
  background: var(--grey-100);
  transition: transform 0.3s var(--ease-soft), opacity 0.3s var(--ease-soft);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--void);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 26px;
  padding: 0 var(--edge);
  font-family: var(--font-display);
  font-size: 2rem;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-soft), transform 0.35s var(--ease-soft);
}
.mobile-menu.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-menu a { color: var(--grey-100); }
.mobile-menu .btn { margin-top: 10px; font-size: 1rem; font-family: var(--font-body); }

@media (max-width: 800px) {
  .nav-links { display: none; }
  .nav .btn-nav { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------- minimal nav (book-a-call) ---------- */
.nav-minimal { justify-content: space-between; }
.nav-back {
  font-size: 0.9rem;
  color: var(--grey-300);
  transition: color 0.25s var(--ease-soft);
}
.nav-back:hover { color: var(--white); }

/* ============================================================
   Book a call
   ============================================================ */
.book-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + 44px) var(--edge) 72px;
  max-width: 1320px;
  margin: 0 auto;
}
/* background now comes from the full-page #bookBg canvas (data-stream motif) */
.page-book main,
.page-book .footer {
  position: relative;
  z-index: 1;
}
.book-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
/* funnel stepper — Awareness → Consideration → Engagement → Sale,
   'Sale' lit up in red because that's the stage this page serves */
.funnel-stepper {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.funnel-stepper li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--grey-500);
}
.funnel-stepper li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grey-500);
}
.funnel-stepper li:not(:last-child)::after {
  content: "";
  width: 16px;
  height: 1px;
  background: var(--line);
  margin-left: 6px;
}
.funnel-stepper li.is-current {
  color: var(--red-400);
}
.funnel-stepper li.is-current::before {
  background: var(--red-500);
  box-shadow: 0 0 8px 1px rgba(143, 217, 180, 0.7);
}
.book-bullets {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition-delay: 0.1s;
}
.book-bullets li {
  position: relative;
  padding-left: 26px;
  color: var(--grey-300);
  font-size: 0.95rem;
}
.book-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red-500);
}
.book-copy .testimonial {
  margin-top: 48px;
  transition-delay: 0.2s;
}
.book-copy .testimonial p { font-size: 1.15rem; }
.calendly-wrap-lg { align-self: stretch; }
.book-fallback { margin-top: 32px; text-align: center; }

.footer-minimal { padding-top: 40px; }
.footer-minimal .footer-bottom { border-top: none; margin-top: 0; padding-top: 0; }

@media (max-width: 1024px) {
  .book-hero-inner { grid-template-columns: 1fr; gap: 48px; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 20px) var(--edge) 80px;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-canvas-fallback {
  display: none;
}
.hero-canvas-fallback.active {
  display: block;
}
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(60% 55% at 30% 35%, rgba(255,255,255,0.07), transparent 70%),
    linear-gradient(180deg, rgba(10,14,26,0.2) 0%, rgba(10,14,26,0.35) 55%, var(--void) 100%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: 900px; }

.hero-headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--white);
}
.hero-headline em { font-style: italic; font-weight: 500; color: var(--red-400); }

.hero-sub {
  margin-top: 32px;
  max-width: 46ch;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.55;
  color: var(--grey-300);
  transition-delay: 0.12s;
}

.hero-cta {
  margin-top: 40px;
  transition-delay: 0.24s;
}

/* ============================================================
   Manifesto — scroll-progress word reveal
   ============================================================ */
.manifesto-track {
  position: relative;
  height: 195vh;
  /* a quiet tonal mesh — grey washes, not color — reads as considered
     paper texture instead of a plain white block */
  background:
    radial-gradient(ellipse 60% 38% at 18% 42%, rgba(0, 0, 0, 0.05), transparent 60%),
    radial-gradient(ellipse 55% 34% at 84% 58%, rgba(0, 0, 0, 0.04), transparent 60%),
    radial-gradient(ellipse 50% 30% at 50% 74%, rgba(0, 0, 0, 0.03), transparent 60%),
    linear-gradient(to bottom, var(--void) 0%, var(--white) 14%, var(--white) 86%, var(--void) 100%);
}
.manifesto-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 var(--edge);
  overflow: hidden;
}
.manifesto-text {
  max-width: 1040px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 4vw, 3.1rem);
  line-height: 1.35;
}
.mline { display: block; }
.manifesto-text .word {
  color: #c3c6cf;
  transition: color 0.5s var(--ease-soft);
}
.manifesto-text .word.active { color: var(--void); }
.manifesto-eyebrow {
  margin-top: 32px;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #6b7280;
}

@media (max-width: 640px) {
  .manifesto-track { height: 165vh; }
}

/* ============================================================
   Breather — light band used on canvas-background pages (Work,
   Book a Call) to break up the dark, so the page doesn't read as
   oppressive top to bottom. Fades to transparent top/bottom so the
   fixed canvas behind still shows through at the edges.
   ============================================================ */
.breather {
  position: relative;
  z-index: 1;
  padding: 100px var(--edge);
  overflow: hidden;
  background: linear-gradient(to bottom, transparent 0%, var(--white) 14%, var(--white) 86%, transparent 100%);
}
.breather::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 45% at 18% 30%, rgba(0, 0, 0, 0.045), transparent 60%),
    radial-gradient(ellipse 50% 40% at 84% 72%, rgba(0, 0, 0, 0.035), transparent 60%);
}
.breather-inner {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  color: var(--void);
}
.breather-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 18px;
}
.breather-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  line-height: 1.4;
  color: var(--void);
}
.breather-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(28px, 6vw, 64px);
  margin-top: 48px;
}
.breather-stats div { text-align: center; }
.breather-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--void);
}
.breather-stats span {
  font-size: 0.85rem;
  color: #6b7280;
}
.breather-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 48px);
  margin-top: 52px;
  text-align: left;
}
.breather-step-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--red-500);
  margin-bottom: 10px;
}
.breather-step h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--void);
}
.breather-step p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: #4b4f58;
}
@media (max-width: 780px) {
  .breather { padding: 72px var(--edge); }
  .breather-steps { grid-template-columns: 1fr; text-align: center; }
}

/* ============================================================
   Proof band
   ============================================================ */
.proof {
  position: relative;
  overflow: hidden;
  padding: 46px var(--edge);
}
.proof::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 55% 140% at 50% 50%, rgba(255, 176, 59, 0.09), transparent 70%);
}
.proof::after {
  content: "";
  position: absolute;
  left: 15%;
  right: 15%;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
}
.proof-row {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.proof-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 3.4vw, 3.2rem);
  color: var(--white);
}
.proof-unit { font-family: var(--font-display); font-weight: 500; font-size: 1.6rem; color: var(--red-400); }
.proof-label {
  display: block;
  margin-top: 8px;
  font-size: 0.88rem;
  color: var(--grey-500);
  max-width: 20ch;
}

/* ============================================================
   Sections (shared)
   ============================================================ */
.section {
  position: relative;
  overflow: hidden;
  padding: 100px var(--edge);
}
.section::after {
  content: "";
  position: absolute;
  left: 15%;
  right: 15%;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  z-index: 0;
  pointer-events: none;
}
.section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  /* fade to black at the top and bottom edge so this section's imagery
     dissolves into the next one instead of cutting hard */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 16%, black 84%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 16%, black 84%, transparent 100%);
}
#services::before {
  background-image:
    radial-gradient(ellipse 45% 55% at 12% 10%, rgba(51, 194, 176, 0.13), transparent 70%),
    linear-gradient(rgba(10, 14, 26, 0.45), rgba(10, 14, 26, 0.45)),
    url("assets/img/art-texture-services.webp");
  background-size: cover, cover, cover;
  background-position: center, center, 25% 20%;
  background-repeat: no-repeat;
}
#visibility::before {
  background-image:
    radial-gradient(ellipse 50% 60% at 90% 85%, rgba(255, 176, 59, 0.13), transparent 70%),
    linear-gradient(rgba(10, 14, 26, 0.45), rgba(10, 14, 26, 0.45)),
    url("assets/img/art-texture-visibility.webp");
  background-size: cover, cover, cover;
  background-position: center, center, 65% 35%;
  background-repeat: no-repeat;
}
#work::before {
  background-image:
    radial-gradient(ellipse 55% 50% at 50% 15%, rgba(51, 194, 176, 0.13), transparent 70%),
    linear-gradient(rgba(10, 14, 26, 0.45), rgba(10, 14, 26, 0.45)),
    url("assets/img/art-texture-work.webp");
  background-size: cover, cover, cover;
  background-position: center, center, 50% 60%;
  background-repeat: no-repeat;
}
#calculator::before {
  background-image:
    radial-gradient(ellipse 45% 55% at 92% 8%, rgba(255, 176, 59, 0.13), transparent 70%),
    linear-gradient(rgba(10, 14, 26, 0.45), rgba(10, 14, 26, 0.45)),
    url("assets/img/art-texture-calculator.webp");
  background-size: cover, cover, cover;
  background-position: center, center, 75% 25%;
  background-repeat: no-repeat;
}
.section-grid {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 64px;
}
.section-head { align-self: start; }
.eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--red-400);
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.1rem, 3.2vw, 2.8rem);
  line-height: 1.08;
  color: var(--white);
}

/* ---------- services ----------
   Left-to-right scan order: index (smallest, red anchor) →
   title (largest, the headline) → description (smaller, supporting).
   Font-size contrast does the work of telling the eye where to land first. */
.service-list { position: relative; display: flex; flex-direction: column; }
.circuit-track {
  position: absolute;
  left: 15px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--line);
  z-index: -1;
}
.circuit-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--red-500), var(--teal-500) 60%, var(--amber-500));
  transform: scaleY(0);
  transform-origin: top;
  box-shadow: 0 0 6px 0 rgba(143, 217, 180, 0.5);
}
@media (max-width: 640px) {
  .circuit-track { display: none; }
}
.service {
  display: grid;
  grid-template-columns: 44px minmax(160px, 300px) minmax(160px, 1fr);
  align-items: center;
  column-gap: 32px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  transition: padding-left 0.4s var(--ease-soft);
}
.service:last-child { border-bottom: 1px solid var(--line); }
.service:hover { padding-left: 12px; }
.service-index {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  color: var(--red-400);
}
.service h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.7rem;
  line-height: 1.15;
  color: var(--white);
}
.service p {
  color: var(--grey-300);
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 46ch;
}

/* the row arrives as a whole (.reveal), then assembles left-to-right:
   index lands first, title next, description last — motion that
   traces the same scan order the type hierarchy already teaches. */
.service .service-index,
.service h3,
.service p {
  opacity: 0;
  transition: opacity 0.55s var(--ease-soft), transform 0.55s var(--ease-soft);
}
.service .service-index { transform: translateX(-10px); }
.service h3 { transform: translateY(12px); }
.service p { transform: translateX(14px); }

.service.in .service-index { opacity: 1; transform: none; transition-delay: 0.05s; }
.service.in h3 { opacity: 1; transform: none; transition-delay: 0.16s; }
.service.in p { opacity: 1; transform: none; transition-delay: 0.28s; }

@media (prefers-reduced-motion: reduce) {
  .service .service-index,
  .service h3,
  .service p {
    opacity: 1;
    transform: none;
    transition-delay: 0s;
  }
}
.service-list + .btn-ghost { margin-top: 40px; }

/* ---------- visibility (SEO / Local Pack / Ads) ---------- */
.visibility-sub {
  margin-top: 20px;
  color: var(--grey-300);
  max-width: 44ch;
  transition-delay: 0.08s;
}
.channel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.channel-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  background: var(--surface);
}
.channel-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--red-400);
  margin-bottom: 16px;
}
.channel-note {
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--grey-500);
}

/* local pack mock */
.serp-mock {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
}
.serp-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--grey-500);
  font-size: 0.78rem;
}
.serp-list { display: flex; flex-direction: column; gap: 10px; }
.serp-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px;
  border-radius: 8px;
}
.serp-row-client { background: rgba(143, 217, 180,0.08); outline: 1px solid rgba(143, 217, 180,0.3); }
.serp-pin {
  flex: none;
  width: 20px; height: 20px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(45deg);
  display: flex; align-items: center; justify-content: center;
  background: var(--grey-500);
  color: var(--void);
  font-size: 0.62rem;
  font-weight: 700;
}
.serp-row-client .serp-pin { background: var(--red-500); color: var(--void); }
.serp-pin span, .serp-pin { line-height: 1; }
.serp-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.serp-name { font-size: 0.82rem; color: var(--grey-100); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.serp-badge {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--red-400);
  background: rgba(143, 217, 180,0.14);
  border-radius: 999px;
  padding: 2px 8px;
}
.serp-meta { font-size: 0.74rem; color: var(--grey-500); }

/* seo sparkline mock */
.seo-mock {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 16px 14px;
}
.seo-spark { width: 100%; height: auto; display: block; }
.seo-rank { margin-top: 10px; display: flex; flex-direction: column; gap: 2px; }
.seo-rank-num { font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; color: var(--white); }
.seo-rank-label { font-size: 0.74rem; color: var(--grey-500); }

/* ads mock */
.ads-mock {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 16px;
  display: flex;
  gap: 24px;
  flex: 1;
  align-items: center;
}
.ads-stat { display: flex; flex-direction: column; gap: 4px; }
.ads-num { font-family: var(--font-display); font-weight: 500; font-size: 1.7rem; color: var(--white); }
.ads-sub { font-size: 0.74rem; color: var(--grey-500); }

/* ---------- work / testimonial ---------- */
.work-body { display: flex; flex-direction: column; gap: 48px; }
.testimonial {
  padding-left: 28px;
  border-left: 2px solid var(--red-500);
  max-width: 64ch;
}
.testimonial p {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.4;
  color: var(--white);
}
.testimonial cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-size: 0.85rem;
  color: var(--grey-500);
}

.case-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  max-width: 560px;
  background: var(--surface);
}
.case-label { font-size: 0.82rem; color: var(--grey-500); }
.case-stats {
  display: flex;
  gap: 40px;
  margin-top: 20px;
}
.case-stats strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.8rem;
  color: var(--white);
}
.case-stats span { font-size: 0.82rem; color: var(--grey-500); }

/* ============================================================
   Calculator
   ============================================================ */
.calc-body { max-width: 760px; }
.calc-inputs { display: flex; flex-direction: column; gap: 32px; }
.calc-field-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}
.calc-field-head label { font-size: 0.92rem; color: var(--grey-300); }
.calc-field-head output {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--white);
}
.calc-field input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: var(--line);
  outline: none;
}
.calc-field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--red-500);
  border: 3px solid var(--void);
  box-shadow: 0 0 0 1px var(--red-500);
  cursor: pointer;
  transition: transform 0.2s var(--ease-soft);
}
.calc-field input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
.calc-field input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--red-500);
  border: 3px solid var(--void);
  box-shadow: 0 0 0 1px var(--red-500);
  cursor: pointer;
}

.calc-output {
  margin-top: 56px;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.calc-col { flex: 1; display: flex; flex-direction: column; }
.calc-col-label { font-size: 0.82rem; color: var(--grey-500); }
.calc-col-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--grey-100);
  margin-top: 6px;
}
.calc-col-sub { margin-top: 4px; font-size: 0.82rem; color: var(--grey-500); }
.calc-col-highlight .calc-col-num { color: var(--white); }
.calc-col-highlight .calc-col-sub { color: var(--red-400); }
.calc-arrow { color: var(--grey-500); font-size: 1.2rem; }

.calc-note { margin-top: 24px; font-size: 0.85rem; color: var(--grey-500); max-width: 52ch; }
.section-calc .btn { margin-top: 32px; }

/* ============================================================
   Info list — numbered, mockup-led rows used on About, Services,
   and Work. Deliberately a single vertical list (not a grid) so a
   visitor can scan straight down the titles without their eye
   having to jump between columns: number, small mockup, then the
   title/description, all on one reading line per item.
   ============================================================ */
.info-list {
  display: flex;
  flex-direction: column;
  margin-top: 40px;
  border-top: 1px solid var(--line);
}
.info-row {
  display: grid;
  grid-template-columns: 44px 264px 1fr;
  grid-template-areas: "num mock body";
  column-gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.info-row-num { grid-area: num; padding-top: 3px; }
.info-row-mock { grid-area: mock; }
.info-row-body { grid-area: body; display: flex; flex-direction: column; align-self: center; }

.process-mock {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.process-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--grey-500);
}
.process-label {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--red-400);
  margin-bottom: 6px;
}
.process-sublabel {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-500);
  margin: 4px 0 8px;
}
.process-desc { font-size: 0.92rem; line-height: 1.6; color: var(--grey-300); max-width: 60ch; }
.info-row-body .stage-tag { margin-bottom: 10px; align-self: flex-start; }
/* variant: full headline (case studies) instead of a short colored label */
.process-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  line-height: 1.3;
  color: var(--white);
  margin-bottom: 4px;
}

@media (max-width: 900px) {
  .info-row {
    grid-template-columns: 60px 1fr;
    grid-template-areas:
      "num mock"
      "body body";
    row-gap: 16px;
    padding: 28px 0;
  }
  .info-row-body { align-self: start; }
}
@media (max-width: 560px) {
  .info-row {
    grid-template-columns: 1fr;
    grid-template-areas: "num" "mock" "body";
    row-gap: 12px;
  }
  .info-row-num { padding-top: 0; }
}

/* ---- mockup: ranked list with progress bars ---- */
.mock-ranked-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
}
.mock-ranked-row + .mock-ranked-row { border-top: 1px solid var(--line-soft); }
.mock-ranked-idx { font-size: 0.72rem; color: var(--grey-500); width: 12px; flex: none; }
.mock-ranked-body { flex: 1; min-width: 0; }
.mock-ranked-label { font-size: 0.8rem; color: var(--grey-100); margin-bottom: 5px; }
.mock-ranked-bar { height: 4px; border-radius: 999px; background: var(--line); overflow: hidden; }
.mock-ranked-bar > span { display: block; height: 100%; background: var(--red-500); border-radius: 999px; }
.mock-ranked-val { font-size: 0.78rem; font-weight: 600; color: var(--red-400); flex: none; }

/* ---- mockup: allocation / reallocation bars ---- */
.mock-alloc-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}
.mock-alloc-tag {
  flex: none;
  width: 78px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--grey-300);
}
.mock-alloc-bar { flex: 1; height: 5px; border-radius: 999px; background: var(--line); overflow: hidden; }
.mock-alloc-bar > span { display: block; height: 100%; border-radius: 999px; background: var(--teal-500); }
.mock-alloc-bar.is-down > span { background: var(--grey-500); }
.mock-alloc-val { flex: none; width: 34px; text-align: right; font-size: 0.74rem; font-weight: 700; color: var(--teal-500); }
.mock-alloc-val.is-down { color: var(--grey-500); }

/* ---- mockup: sequential flow chips ---- */
/* explicit rows (not flex-wrap) so a long chip never orphans an
   arrow at the start of a wrapped line */
.mock-flow { display: flex; flex-direction: column; gap: 14px; }
.mock-flow-row { display: flex; align-items: center; gap: 8px; }
.mock-flow-chip {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--grey-100);
  background: var(--void);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
}
.mock-flow-arrow { color: var(--grey-500); font-size: 0.8rem; }

/* ---- mockup: checklist / fit check ---- */
.mock-check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-size: 0.82rem;
  color: var(--grey-300);
}
.mock-check-icon {
  flex: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(143, 217, 180,0.14);
  color: var(--red-400);
  font-size: 0.68rem;
}

/* ---- mockup: hub / spoke diagram ---- */
.mock-hub { position: relative; height: 196px; }
.mock-hub svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mock-hub-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--red-500);
  color: var(--void);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.mock-hub-node {
  position: absolute;
  transform: translate(-50%, -50%);
  background: var(--void);
  border: 1px solid var(--line);
  color: var(--grey-300);
  font-size: 0.66rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.mock-hub svg path { stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 3; fill: none; vector-effect: non-scaling-stroke; }
.mock-hub svg circle { fill: var(--grey-500); }

/* ---- mockup: note / update card ---- */
.mock-note {
  background: var(--void);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
}
.mock-note + .mock-note { margin-top: 10px; }
.mock-note-meta { font-size: 0.66rem; color: var(--grey-500); margin-bottom: 5px; }
.mock-note-body { font-size: 0.8rem; color: var(--grey-100); line-height: 1.45; }

/* ============================================================
   Page header (deep pages)
   ============================================================ */
.page-header {
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + 70px) var(--edge) 60px;
}
/* background comes from the full-page #workBg canvas now (page-work) */
.page-header-inner { position: relative; z-index: 1; max-width: 760px; }
.page-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.05;
  color: var(--white);
  transition-delay: 0.05s;
}
.page-sub {
  margin-top: 24px;
  max-width: 56ch;
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  color: var(--grey-300);
  transition-delay: 0.15s;
}

/* ---------- case studies (full) ---------- */
.section-cases { padding-top: 64px; }
.section-grid-full {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.case-full {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px;
  background: var(--surface);
  transition: border-color 0.35s var(--ease-soft), box-shadow 0.35s var(--ease-soft), transform 0.35s var(--ease-soft);
}
.case-full:hover {
  border-color: rgba(255, 176, 59, 0.4);
  box-shadow: 0 0 0 1px rgba(255, 176, 59, 0.12), 0 24px 48px -24px rgba(0, 0, 0, 0.6);
  transform: translateY(-3px);
}
.stage-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 5px 12px 5px 10px;
  white-space: nowrap;
}
.stage-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.stage-awareness { color: var(--grey-100); background: rgba(255, 255, 255, 0.08); }
.stage-consideration { color: var(--teal-500); background: rgba(51, 194, 176, 0.12); }
.stage-engagement { color: var(--amber-500); background: rgba(255, 176, 59, 0.12); }
.stage-sale { color: var(--red-400); background: rgba(143, 217, 180, 0.12); }
.case-full-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.case-full-industry {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--red-400);
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}
.case-full-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  line-height: 1.25;
  color: var(--white);
  max-width: 34ch;
}
.case-full-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--grey-300);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
  white-space: nowrap;
}
.case-full-body {
  margin-top: 24px;
  max-width: 68ch;
  color: var(--grey-300);
}
.case-stats-lg {
  margin-top: 32px;
  gap: 48px;
  flex-wrap: wrap;
}
.case-stats-lg strong { font-size: 1.5rem; }

@media (max-width: 640px) {
  .case-full { padding: 28px 24px; }
  .case-stats-lg { gap: 24px; }
}

/* ============================================================
   CTA
   ============================================================ */
.cta {
  position: relative;
  overflow: hidden;
  padding: 100px var(--edge);
  text-align: center;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 16%, black 88%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 16%, black 88%, transparent 100%);
  background-image:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(143, 217, 180, 0.22), transparent 70%),
    linear-gradient(rgba(10, 14, 26, 0.45), rgba(10, 14, 26, 0.45)),
    url("assets/img/art-texture-cta.webp");
  background-size: cover, cover, cover;
  background-position: center, center, 40% 60%;
  background-repeat: no-repeat;
}
.cta-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.cta-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--white);
}
.cta-sub {
  margin-top: 20px;
  color: var(--grey-300);
  font-size: 1.05rem;
}
.calendly-wrap {
  margin-top: 48px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
}
.calendly-standin-inner {
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 56px;
  text-align: left;
}
.calendly-standin-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--red-400);
  margin-bottom: 14px;
}
.calendly-standin-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--white);
  margin-bottom: 16px;
}
.calendly-standin-body {
  color: var(--grey-300);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 42ch;
  margin-bottom: 32px;
}
.cta .calendly-standin-inner { align-items: center; text-align: center; min-height: 320px; }
@media (max-width: 640px) {
  .calendly-standin-inner { padding: 36px 28px; min-height: unset; }
}
.cta-fallback {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--grey-500);
}
.cta-fallback a { color: var(--red-400); text-decoration: underline; text-underline-offset: 3px; }
.cta-fallback a:hover { color: var(--red-500); }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  padding: 64px var(--edge) 40px;
}
.footer-top { display: flex; flex-direction: column; gap: 6px; }
.footer-top .nav-brand { font-size: 1.1rem; }
.footer-tag {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--grey-100);
}
.footer-bottom {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--grey-500);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links { display: flex; gap: 22px; }
.footer-links a:hover { color: var(--grey-100); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .section-grid { grid-template-columns: 1fr; gap: 32px; }
  .proof-row { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .channel-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav { left: 12px; right: 12px; padding: 0 6px 0 16px; }
  .section { padding: 64px var(--edge); }
  .cta { padding: 64px var(--edge); }
  .proof-row { grid-template-columns: 1fr; gap: 28px; }
  .service { grid-template-columns: 1fr; align-items: start; gap: 10px; }
  .case-stats { gap: 24px; flex-wrap: wrap; }
  .calc-output { flex-direction: column; align-items: stretch; gap: 20px; }
  .calc-arrow { transform: rotate(90deg); align-self: center; }
}
