/* ============================================================
   ClickCraft — self-hosted site styles
   Dark premium: #0c0d12 + #ff795a + Cormorant Garamond + Roboto Condensed
   ============================================================ */

:root {
  --bg: #0c0d12;
  --ink: #f4f1ea;
  --ink-dim: rgba(244, 241, 234, 0.8);
  --accent: #ff795a;
  --accent-hot: #ff6a47;
  --hairline: rgba(244, 241, 234, 0.14);
  --pad-x: clamp(1.5rem, 5vw, 4.5rem);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
html, body { background: var(--bg); }

body {
  font-family: 'Roboto Condensed', system-ui, sans-serif;
  color: var(--ink);
  overflow-x: hidden;
}

/* ---------- hero gradient (ShaderGradient: Charcoal Drift, HERO ONLY) ---------- */
.hero-wrap {
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
/* FIXED to the viewport, not the hero: the canvas never leaves the screen, so the
   renderer never suspends/resumes (that was the "spaz" on scroll-up). Sections below
   the hero have solid charcoal backgrounds that simply cover it. */
#silk-root {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;   /* never hijack page scroll or clicks */
}
/* 50% black scrim over the whole gradient — dims it down, colors unchanged */
#silk-root::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  pointer-events: none;
}
/* NO fade at the hero bottom: the first section's opaque background hard-clips
   the gradient exactly at the strip's divider line. */

/* ---------- top bar (persistent, blurred) ---------- */
.bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem var(--pad-x);
  background: rgba(12, 13, 18, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  animation: rise 0.9s 0.15s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.bar-logo {
  height: 66px;
  width: auto;
  display: block;
}
.wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.375rem;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.wordmark span { color: var(--accent); }
.bar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.bar-tag {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.btn-login {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--hairline);
  border-radius: 6px;
  padding: 0.5rem 1.25rem;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}
.btn-login:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(255, 121, 90, 0.08);
}

/* fixed bar: hero content starts below it */
.hero-wrap { padding-top: 96px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  z-index: 2;
  min-height: calc(100dvh - 6rem);
  display: flex;
  align-items: center;
  /* bottom padding clears the absolute strip so the text card never collides with it */
  padding: 1.5rem var(--pad-x) 8.5rem;
}

/* hero text card — darkened opacity only, NO blur: the gradient shows through, dimmed */
.hero-inner {
  max-width: 980px;          /* wide: real breathing room on desktop */
  width: 100%;
  margin: 0 auto;           /* CENTERED — locked by Michael */
  text-align: center;
  border: 1px solid var(--hairline);
  border-radius: 20px;       /* rounded card, hero only */
  background: rgba(12, 13, 18, 0.55);
  padding: clamp(2rem, 4vw, 3.25rem);
}

.kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2.25rem;
  opacity: 0;
  animation: rise 0.9s 0.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.kicker::before,
.kicker::after {
  content: '';
  width: 2.5rem;
  height: 1px;
  background: var(--accent);
  opacity: 0.7;
}

h1 {
  font-family: 'Bricolage Grotesque', 'Cormorant Garamond', sans-serif;
  font-weight: 600;
  font-size: clamp(2.75rem, 7.2vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  max-width: 100%;            /* let the headline use the full card width */
  margin: 0 auto 2.25rem;
  text-shadow: 0 2px 26px rgba(0, 0, 0, 0.5);
}
h1 .line { display: block; overflow: hidden; }
h1 .line > span {
  display: block;
  transform: translateY(110%);
  animation: lineUp 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
h1 .line:nth-child(1) > span { animation-delay: 0.5s; }
h1 .line:nth-child(2) > span { animation-delay: 0.62s; }
h1 em, h2 em {
  font-style: normal;
  font-weight: 700;
  color: var(--accent);
}

.sub {
  font-weight: 300;
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.65;
  color: var(--ink-dim);
  max-width: 68ch;            /* sub fills the card better too */
  margin: 0 auto 3rem;
  opacity: 0;
  animation: rise 0.9s 0.95s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: rise 0.9s 1.15s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.05rem 2.1rem;
  border-radius: 2px;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease,
              transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
}
.btn-primary {
  background: var(--accent);
  color: #16100d;
  border: 1px solid var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hot);
  border-color: var(--accent-hot);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--hairline);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost .arrow { display: inline-flex; align-items: center; transition: transform 0.25s ease; }
.btn-ghost:hover .arrow { transform: translateX(4px); }

/* ---------- hero bottom strip ---------- */
.strip {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem var(--pad-x);
  border-top: 1px solid var(--hairline);
  background: var(--bg);    /* flat charcoal starts AT the divider line; gradient ends there */
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-dim);
  opacity: 0;
  animation: fadeIn 1.2s 1.6s ease forwards;
}
.strip .scroll-cue { display: flex; align-items: center; gap: 0.625rem; }
.scroll-cue::after {
  content: '';
  width: 1px;
  height: 2rem;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: drip 2.2s ease-in-out infinite;
}

/* ---------- generic sections (placeholders for now) ---------- */
.section {
  position: relative;
  z-index: 2;
  padding: clamp(5rem, 12vh, 9rem) var(--pad-x);
  background: var(--bg);    /* opaque: covers the fixed gradient canvas below the hero */
}
/* thin orange section divider, inset from the page edges */
.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: var(--pad-x);
  right: var(--pad-x);
  height: 1px;
  background: rgba(255, 121, 90, 0.45);
}
.section-inner { max-width: 1180px; margin: 0 auto; }

.section-label {
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;          /* doubled */
  font-weight: 200;           /* hairline, same as the step labels */
  letter-spacing: -0.01em;    /* same compressed tracking */
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
h2 {
  font-family: 'Bricolage Grotesque', 'Cormorant Garamond', sans-serif;
  font-weight: 600;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 0.625rem;     /* subtext sits tight under the title */
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.45);
}
.section-sub {
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-dim);
  max-width: 82ch;          /* roughly the title's reach: two lines, not three */
  margin-bottom: 3rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
/* prompt-pack card style (from tec.clickcraft.io/tec-prompts): slightly-lifted
   charcoal + faint border + 3px orange left bar */
.card {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 2rem 1.75rem;
  background: #16171d;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  border-color: rgba(255, 121, 90, 0.55);
  border-left-color: var(--accent);
  background: #191a21;
  box-shadow: 0 0 24px rgba(255, 121, 90, 0.08);
}
.card-num {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.card h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.card p {
  font-weight: 300;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-dim);
}

/* scroll-in reveals */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- footer ---------- */
.footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.5rem var(--pad-x);
  border-top: 1px solid var(--hairline);
}
.footer-right {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

/* ---------- keyframes ---------- */
@keyframes rise   { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes lineUp { to { transform: translateY(0); } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes drip   { 0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.4; } 50% { transform: scaleY(1); opacity: 1; } }

@media (max-width: 640px) {
  .hero { align-items: flex-start; padding-top: 3.5rem; }
  .strip .strip-right { display: none; }
  .cta-row .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .bar, .kicker, .sub, .cta-row, .strip { animation-duration: 0.01s; animation-delay: 0s; }
  h1 .line > span { animation-duration: 0.01s; animation-delay: 0s; }
  .reveal { transition-duration: 0.01s; }
  .marquee-row { animation: none; }
}

/* ============================================================
   Section content styles
   ============================================================ */

.section-tight { padding-top: clamp(4rem, 9vh, 6.5rem); padding-bottom: clamp(4rem, 9vh, 6.5rem); }

/* emphasis moments — thin Bricolage, centered */
.section-close {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: clamp(1.375rem, 2.6vw, 1.875rem);
  color: var(--ink);
  max-width: 48ch;
  margin: 4rem auto 0;
  text-align: center;
  line-height: 1.45;
}

/* ---------- gap cards ---------- */
.gap-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.card-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1.25rem;
}
.card-lead {
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 1rem;
}
.card ul {
  list-style: none;
  margin-bottom: 1.25rem;
}
.card ul li {
  font-weight: 300;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-dim);
  padding-left: 1.125rem;
  position: relative;
  margin-bottom: 0.375rem;
}
.card ul li::before {
  content: '\2192';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.8125rem;
}
.card-fix {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--ink);
  border-top: 1px solid var(--hairline);
  padding-top: 1rem;
}
.card-fix em {
  font-style: normal;
  font-weight: 500;
  color: var(--accent);
}

/* ---------- agent team ---------- */
.agent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1.25rem;
}
/* same prompt-pack card treatment as the gap cards */
.agent-card {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 1.75rem;
  background: #16171d;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.agent-card:hover {
  border-color: rgba(255, 121, 90, 0.55);
  border-left-color: var(--accent);
  background: #191a21;
  box-shadow: 0 0 24px rgba(255, 121, 90, 0.08);
}
.agent-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.agent-head img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.4));
  will-change: transform;     /* transform owned by the magnetic JS */
}
.agent-head h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
  font-size: 2.9375rem;        /* names pop, dialed back 10% */
  line-height: 1;
  margin-bottom: 0.375rem;
}
.agent-role {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.agent-card ul { list-style: none; margin-bottom: 1.25rem; }
.agent-card ul li {
  font-weight: 300;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-dim);
  padding-left: 1.125rem;
  position: relative;
  margin-bottom: 0.4375rem;
}
.agent-card ul li::before {
  content: '\2192';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.8125rem;
}
.agent-card blockquote {
  margin-top: auto;
  font-family: 'Roboto Condensed', sans-serif;   /* same family as the bullets */
  font-style: normal;
  font-weight: 300;
  font-size: 0.9375rem;                          /* exact bullet size */
  line-height: 1.6;
  color: var(--ink-dim);                         /* same gray as the bullets */
  text-align: center;
  border-top: 1px solid var(--hairline);
  padding-top: 1rem;
}
/* big centered quote glyph, like the original site */
.agent-card blockquote::before,
.case-quote::before {
  content: '\201C';
  display: block;
  text-align: center;
  font-family: Georgia, serif;
  font-size: 12rem;
  line-height: 0.8;
  height: 0.36em;             /* crop the glyph box: no dead gap below */
  overflow: hidden;
  color: rgba(244, 241, 234, 0.85);   /* light gray: breaks up the orange */
  margin-bottom: 0.5rem;
}
.agent-card blockquote em {
  font-style: normal;
  font-weight: 300;                              /* same weight as the quote, orange only */
  color: var(--accent);
}

/* ---------- how it works (zig-zag) ---------- */
.steps { display: flex; flex-direction: column; gap: clamp(2.5rem, 6vh, 4.5rem); }
.step {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(0.75rem, 2vw, 2rem);   /* tight but breathing: 2x the hug distance */
  align-items: center;
}
.step .step-media { margin: 0 0 0 auto; }                      /* image left: hug right edge, toward text */
.step:nth-child(even) .step-media { order: 2; margin: 0 auto 0 0; } /* image right: hug left edge, toward text */
.step:nth-child(even) .step-body { text-align: right; }
.step:nth-child(even) .step-body p { margin-left: auto; }
.step-media {
  border: 1px solid var(--hairline);
  border-radius: 16px;
  aspect-ratio: 1 / 1;                /* every box = same square */
  width: 100%;
  max-width: 360px;                   /* box 10% smaller, image size unchanged */
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(at top left, rgba(244, 241, 234, 0.36), transparent 55%),
    radial-gradient(at bottom right, rgba(244, 241, 234, 0.2), transparent 55%),
    radial-gradient(at center, rgba(244, 241, 234, 0.11), transparent 70%),
    var(--bg);
  background-size: 220% 220%;
  animation: drift-gradient 18s ease-in-out infinite;
  transition: border-color 0.3s ease;
  will-change: transform;       /* transform owned by the magnetic JS */
}
.step-media:hover { border-color: rgba(255, 121, 90, 0.5); }
@keyframes drift-gradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.step-media img {
  max-width: 91%;                     /* compensates smaller box: same absolute size */
  max-height: 91%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.45));
}
.step-num {
  font-family: 'Oswald', 'Bricolage Grotesque', sans-serif;
  font-size: 4rem;            /* dialed to 80% */
  font-weight: 200;           /* true thin (Bebas has no thin cut; Oswald = its thin cousin) */
  letter-spacing: -0.01em;    /* compressed horizontal */
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 1rem;
}
.step-slash {
  font-family: 'Roboto', sans-serif;
  font-style: italic;        /* leans the strokes like the original site */
  font-size: 1.4em;          /* slashes oversize the label */
  font-weight: 100;          /* true hairline */
  margin-right: 0.3rem;
  letter-spacing: 0;
}
.step-body h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
  font-size: clamp(1.5rem, 2.6vw, 2.125rem);
  line-height: 1.1;
  margin-bottom: 0.875rem;
}
.step-body p {
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-dim);
  max-width: 48ch;
}

/* ---------- demo / booking ---------- */
.demo-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3rem;
}
.demo-point {
  border-left: 2px solid var(--accent);
  padding: 0.25rem 0 0.25rem 1.25rem;
}
.demo-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 0.875rem;
  display: block;
}
.demo-point h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
  font-size: 1.375rem;
  margin-bottom: 0.5rem;
}
.demo-point p {
  font-weight: 300;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-dim);
}
.calendar-slot {
  max-width: 1000px;          /* same width as the case study cards */
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  background: #16171d;
  min-height: 620px;
  padding: 1rem;
  overflow: hidden;
}
.calendar-slot iframe {
  min-height: 620px;
  border-radius: 8px;
  /* faux dark mode: invert the white widget, hue-rotate restores brand-ish colors.
     DELETE these two lines if Michael sets native dark colors in GHL instead. */
  filter: invert(0.91) hue-rotate(180deg);
  background: #fff;
}

/* ---------- case studies ---------- */
/* same prompt-pack card treatment as the gap/agent cards */
.case {
  max-width: 1000px;          /* ~15% narrower than the section, centered */
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  background: #16171d;
  margin-bottom: 1.75rem;
  overflow: hidden;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.case:hover {
  border-color: rgba(255, 121, 90, 0.55);
  border-left-color: var(--accent);
  background: #191a21;
  box-shadow: 0 0 24px rgba(255, 121, 90, 0.08);
}
.case-top {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.75rem 2rem;
  border-bottom: 1px solid var(--hairline);
}
.case-num {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #16100d;
  background: var(--accent);
  padding: 4px 9px;
  border-radius: 3px;
  flex-shrink: 0;
}
.case-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(255, 121, 90, 0.45);
  flex-shrink: 0;
}
.case-top h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}
.case-meta {
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
}
.case-cols {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.9fr;
  border-bottom: 1px solid var(--hairline);
}
.case-col { padding: 1.5rem 2rem; }
.case-col:not(:last-child) { border-right: 1px solid var(--hairline); }
.case-lbl {
  display: block;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.875rem;
}
.case-col p {
  font-weight: 300;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--ink-dim);
}
.case-col ul { list-style: none; }
.case-col ul li {
  font-weight: 300;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ink-dim);
  padding-left: 1.125rem;
  position: relative;
  margin-bottom: 0.4375rem;
}
.case-col ul li::before {
  content: '\2192';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.8125rem;
}
.metric { display: flex; align-items: baseline; gap: 0.5rem; margin-bottom: 0.75rem; }
.metric-num {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.625rem;
  line-height: 1;
  color: var(--accent);
  white-space: nowrap;
}
.metric-desc {
  font-weight: 300;
  font-size: 0.8438rem;
  line-height: 1.35;
  color: var(--ink-dim);
}
.case-quote {
  padding: 1.625rem 2rem;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: 1.1875rem;
  line-height: 1.55;
  color: var(--ink);
  background: rgba(255, 121, 90, 0.05);
  opacity: 0;
  filter: blur(4px);
  transition: opacity 0.6s ease 0.5s, filter 0.6s ease 0.5s;
}
.case-quote.quote-in { opacity: 1; filter: blur(0); }
.case-quote footer {
  margin-top: 0.875rem;
  font-family: 'Roboto Condensed', sans-serif;
  font-style: normal;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

/* ---------- niches chip cloud (mouse-reactive) ---------- */
.chip-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 0.625rem;
  max-width: 1180px;
  margin: 1.5rem auto 0;
  padding: 0 var(--pad-x);
}
.chip-slot {
  position: relative;
  display: inline-block;
}
/* invisible ghost reserves the chip's resting size — layout NEVER changes */
.chip-slot::before {
  content: attr(data-label);
  visibility: hidden;
  display: inline-flex;
  padding: 0.7rem 1.3rem;
  border: 1px solid transparent;
  font-size: 1.09375rem;
  font-weight: 300;
  white-space: nowrap;
}
.chip-slot:hover { z-index: 6; }
.chip {
  position: absolute;
  left: 50%;
  top: 50%;
  /* rendered at FULL font size, scaled DOWN at rest: scaling up to 1.0 = native
     pixels = always crisp. JS owns the transform (magnetic follow + scale). */
  transform: translate(-50%, -50%) scale(0.625);
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1.3rem;
  border: 1px solid var(--hairline);
  border-radius: 3px;
  background: rgba(244, 241, 234, 0.025);
  font-size: 1.75rem;
  font-weight: 300;
  color: var(--ink-dim);
  white-space: nowrap;
  cursor: default;
  will-change: transform;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.chip:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(12, 13, 18, 0.95);
}

/* ---------- integrations: glass app icons ---------- */
.app-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;     /* centered grid of apps */
  gap: 2.25rem 2.5rem;
  margin-bottom: 4rem;
}
.app {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.app-icon {
  position: relative;
  width: 84px;
  height: 84px;
  border-radius: 24px;                      /* iOS squircle-ish */
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(160deg, rgba(244, 241, 234, 0.14) 0%, rgba(244, 241, 234, 0.05) 45%, rgba(244, 241, 234, 0.02) 100%);
  border: 1px solid rgba(244, 241, 234, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),     /* top glass highlight */
    inset 0 -8px 16px rgba(0, 0, 0, 0.25),       /* bottom depth */
    0 10px 28px rgba(0, 0, 0, 0.45);             /* lift off the page */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.25s ease;   /* transform owned by the magnetic JS */
  will-change: transform;
}
.app-icon::before {                          /* curved sheen across the top */
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: 23px;
  background: linear-gradient(175deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 38%);
  pointer-events: none;
}
.app:hover .app-icon {
  border-color: rgba(255, 121, 90, 0.5);
}
.app-icon img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}
.app-icon-text {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
  line-height: 1;
}
.app-icon-more {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.25rem;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
}
.app-name {
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink-dim);
}

.contact-band {
  border-top: 1px solid var(--hairline);
  padding-top: 3rem;
  text-align: center;
}
.contact-band h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  margin-bottom: 0.625rem;
}
.contact-band p {
  font-weight: 300;
  color: var(--ink-dim);
  margin-bottom: 1.75rem;
}
.contact-band .btn-ghost {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 300;
  text-transform: none;       /* lowercase, as written */
  letter-spacing: 0.03em;
  font-size: 1.0625rem;
  border-width: 0.75px;       /* thinner perimeter, stays thin on hover too */
}

/* ---------- footer ---------- */
.footer {
  display: block;
  padding: clamp(3.5rem, 8vh, 6rem) var(--pad-x) 2.5rem;
  position: relative;
  z-index: 2;
  background: var(--bg);    /* covers the fixed gradient canvas */
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: var(--pad-x);
  right: var(--pad-x);
  height: 1px;
  background: rgba(255, 121, 90, 0.45);
}
.footer-inner { max-width: 1180px; margin: 0 auto; }
.footer-thesis {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 300;
  font-size: clamp(1.625rem, 3.4vw, 2.5rem);
  line-height: 1.3;
  margin-bottom: 3.5rem;
  text-align: center;
}
.footer-thesis em { font-style: normal; font-weight: 500; color: var(--accent); }
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--hairline);
  padding-top: 2rem;
}
.footer-mark { height: 51px; width: auto; display: block; }

/* ---------- responsive ---------- */
@media (max-width: 760px) {
  .step { grid-template-columns: 1fr; }
  .step:nth-child(even) .step-media { order: 0; }
  .step-media img { max-width: 280px; }
  .case-cols { grid-template-columns: 1fr; }
  .case-col:not(:last-child) { border-right: none; border-bottom: 1px solid var(--hairline); }
  .case-top { flex-wrap: wrap; }
  .footer-row { flex-direction: column; gap: 1rem; }
}


/* mobile-only elements */
.mobile-only { display: none; }

/* ============================================================
   MOBILE PASS (round 1)
   ============================================================ */
@media (max-width: 700px) {
  /* top bar */
  .bar { padding: 0.625rem 1rem; }
  .bar-tag { display: none; }
  .bar-logo { height: 46px; }
  .hero-wrap { padding-top: 64px; }

  /* hero */
  .hero { padding: 1rem 1rem 7rem; }
  .hero-inner { padding: 1.75rem 1.25rem; border-radius: 16px; }
  h1 { font-size: clamp(2.125rem, 9.5vw, 2.75rem); }
  .strip { padding: 1rem; }

  /* sections */
  .section { padding-left: 1.25rem; padding-right: 1.25rem; }
  .section::before, .footer::before { left: 1.25rem; right: 1.25rem; }
  .section-label { font-size: 1.25rem; }

  /* steps */
  .step-num { font-size: 2.75rem; }
  .step:nth-child(even) .step-body { text-align: left; }
  .step:nth-child(even) .step-body p { margin-left: 0; }
  .step .step-media,
  .step:nth-child(even) .step-media { margin: 0 auto; max-width: 300px; }

  /* agents */
  .agent-head img { width: 84px; height: 84px; }
  .agent-head h3 { font-size: 2.25rem; }
  .agent-card blockquote::before,
  .case-quote::before { font-size: 8rem; }

  /* case studies */
  .case-top { padding: 1.25rem; }
  .case-col { padding: 1.25rem; }
  .case-quote { padding: 1.25rem; font-size: 1.0625rem; }

  /* apps */
  .app-row { gap: 1.5rem 1.25rem; }
  .app-icon { width: 68px; height: 68px; border-radius: 19px; }
  .app-icon img { width: 34px; height: 34px; }

  /* footer */
  .footer-mark { height: 34px; }

  .mobile-only { display: block; }

  /* niche chips: compact grid, 2-3 per row */
  .chip-cloud { gap: 0.5rem 0.375rem; padding: 0 0.75rem; }
  .chip-slot::before { font-size: 0.8125rem; padding: 0.45rem 0.7rem; }
  .chip { font-size: 1.3rem; padding: 0.7rem 1.1rem; }
}
