/* RR TechLife — shared stylesheet
   Design tokens + component styles extracted from the DC design handoff. */

:root {
  --paper: #f5f2ec;
  --ink: #16211f;
  --card: #ffffff;
  --teal: #1f7a72;
  --teal-deep: #14544e;
  --teal-soft: #d9ebe8;
  --band: #123f3a;
  --accent: #ec6547;
  --accent-deep: #d64f31;
  --accent-soft: #fbe3da;
  --line: rgba(22, 33, 31, .12);
  --muted: rgba(22, 33, 31, .63);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-deep); }
img { max-width: 100%; }
button { font-family: inherit; }

/* ---------- layout helpers ---------- */
.page {
  position: relative;
  min-height: 100vh;
  overflow-x: clip;
}
.bg-hero {
  background: radial-gradient(120% 90% at 50% 0%, #faf8f3 0%, #f5f2ec 48%, #efeadf 100%);
}
.bg-soft {
  background: radial-gradient(120% 80% at 50% 0%, #faf8f3 0%, #f5f2ec 55%, #efeadf 100%);
}
.ambient {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, #faf8f3 0%, #f5f2ec 48%, #efeadf 100%);
}
.ambient::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .035;
  mix-blend-mode: multiply;
}

.content { position: relative; z-index: 1; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.wrap-narrow { max-width: 1000px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
/* max-width container with no horizontal padding of its own — for sections whose
   inner content (e.g. a horizontal scroller) owns its own edge inset. Deliberately
   not just `.wrap` + an inline padding:0 override, since the mobile breakpoint's
   `!important` padding rule below would win over an inline style and silently
   re-add the padding this is meant to avoid. */
.wrap-bleed { max-width: 1120px; margin: 0 auto; }

/* ---------- nav ---------- */
.nav-sticky {
  position: sticky; top: 0; z-index: 50;
  background: transparent; border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease, background .25s ease, backdrop-filter .25s ease;
}
.nav-sticky.is-solid {
  backdrop-filter: blur(12px);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav-sticky.is-scrolled {
  box-shadow: 0 6px 24px rgba(22,33,31,.06);
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 22px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  transition: padding .25s ease;
}
.nav-sticky.is-scrolled .nav-inner { padding: 11px 32px; }
.nav-sticky.is-solid .nav-inner { padding: 15px 32px; }
.brand { display: flex; align-items: center; gap: 13px; color: var(--ink); }
.brand-mark { display: flex; align-items: baseline; font: 700 20px 'Sora', sans-serif; letter-spacing: -.05em; line-height: 1; }
.brand-mark .r2 { color: var(--teal); }
.brand-div { width: 1.5px; height: 20px; background: var(--teal); }
.brand-word { font: 500 17px 'Sora', sans-serif; letter-spacing: -.02em; }
.nav-right { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; gap: 26px; }
.nav-link { color: var(--muted); font-size: 14.5px; font-weight: 500; }
.nav-link:hover { color: var(--ink); }
.nav-link.is-current { color: var(--ink); font-weight: 600; }

/* ---------- mobile nav toggle + dropdown menu ---------- */
.nav-toggle {
  display: none; align-items: center; justify-content: center; flex-shrink: 0;
  width: 40px; height: 40px; padding: 0; border-radius: 10px;
  border: 1.5px solid var(--line); background: transparent; cursor: pointer;
  transition: border-color .18s ease, background .18s ease;
}
.nav-toggle:hover { border-color: var(--teal); }
.nav-toggle-bars { position: relative; width: 18px; height: 12px; }
.nav-toggle-bar {
  position: absolute; left: 0; right: 0; height: 1.6px; border-radius: 2px; background: var(--ink);
  transition: transform .25s ease, opacity .2s ease, top .25s ease;
}
.nav-toggle-bar:nth-child(1) { top: 0; }
.nav-toggle-bar:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle-bar:nth-child(3) { top: 100%; transform: translateY(-100%); }
.nav-toggle.is-open .nav-toggle-bar:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.nav-toggle.is-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .nav-toggle-bar:nth-child(3) { top: 50%; transform: translateY(-50%) rotate(-45deg); }

.mobile-nav-menu { display: none; }
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  /* CTA button lives only inside the open menu on mobile — scoped to the nav
     specifically so it doesn't hide unrelated .btn-accent uses elsewhere on
     the page (e.g. the Calendly-failure fallback link). */
  .nav-right > .btn-accent { display: none; }
  .mobile-nav-menu {
    display: flex; flex-direction: column; max-height: 0; opacity: 0; overflow: hidden;
    transition: max-height .32s cubic-bezier(.4,0,.2,1), opacity .22s ease;
    background: color-mix(in srgb, var(--paper) 97%, transparent); backdrop-filter: blur(12px);
    border-top: 1px solid transparent;
  }
  .mobile-nav-menu.is-open { max-height: 420px; opacity: 1; border-top-color: var(--line); }
  .mobile-nav-link { padding: 16px 32px; font-size: 16px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
  .mobile-nav-link:hover { color: var(--teal); }
  .mobile-nav-link--cta { color: var(--accent); }
  .mobile-nav-link:last-child { border-bottom: none; }
}

/* ---------- buttons ---------- */
.btn-accent {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: #fff; border: none; cursor: pointer;
  padding: 9px 18px; border-radius: 8px; font-size: 14px; font-weight: 600;
  transition: background .18s ease;
}
.btn-accent:hover { background: var(--accent-deep); color: #fff; }
.btn-accent-lg {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: #fff; padding: 16px 30px; border-radius: 11px;
  font-size: 16px; font-weight: 600; box-shadow: 0 12px 28px color-mix(in srgb, var(--accent) 34%, transparent);
  transition: transform .18s ease, background .18s ease; border: none; cursor: pointer;
}
.btn-accent-lg:hover { background: var(--accent-deep); transform: translateY(-2px); color: #fff; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 9px;
  background: transparent; color: var(--ink); padding: 16px 26px; border-radius: 11px;
  font-size: 16px; font-weight: 600; border: 1.5px solid var(--line);
  transition: border-color .18s ease, background .18s ease;
}
.btn-outline:hover { border-color: var(--teal); background: color-mix(in srgb, var(--teal) 6%, transparent); }
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: transparent; color: var(--ink); padding: 15px 26px; border-radius: 11px;
  font-size: 16px; font-weight: 600; border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.pill-link {
  display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 11px; padding: 12px 20px; white-space: nowrap;
  transition: border-color .18s ease, background .18s ease;
}
.pill-link:hover { border-color: var(--teal); background: color-mix(in srgb, var(--teal) 6%, transparent); color: var(--ink); }
.link-bordered {
  display: inline-flex; align-items: center; gap: 7px; font-size: 14.5px; font-weight: 600; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 11px; padding: 12px 20px;
  transition: border-color .18s ease;
}
.link-bordered:hover { border-color: var(--teal); }
.btn-band { background: var(--band); color: #fdf9f2; border: none; cursor: pointer; transition: background .18s ease; }
.btn-band:hover { background: var(--teal-deep); }

/* ---------- form fields ---------- */
.field {
  font: 400 15px 'Hanken Grotesk'; padding: 11px 13px; border-radius: 9px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); width: 100%;
}
.field:focus { border-color: var(--accent); outline: none; }
.field:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.field-lg { font: 400 15px 'Hanken Grotesk'; padding: 13px 15px; border-radius: 11px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); width: 100%; }
.field-lg:focus { border-color: var(--teal); outline: none; }
.field-lg:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

/* ---------- floating book-call pill ---------- */
.bookcall-pill {
  position: fixed; right: 22px; bottom: 22px; z-index: 300;
  display: flex; align-items: center; gap: 13px;
  background: var(--ink); color: #fdf9f2; padding: 9px 11px 9px 9px; border-radius: 999px;
  box-shadow: 0 14px 34px -14px rgba(0,0,0,.5); text-decoration: none;
  animation: bookcallIn .5s ease .6s both; transition: transform .25s ease, box-shadow .25s ease;
}
.bookcall-pill:hover { transform: translateY(-3px); box-shadow: 0 20px 44px -16px rgba(0,0,0,.5); color: #fdf9f2; }
.bookcall-pill:hover .bc-arrow { transform: translateX(4px); }
@keyframes bookcallIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.bc-avatar { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.bc-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bc-text { display: flex; flex-direction: column; line-height: 1.25; padding-right: 2px; }
.bc-title { font: 700 15px 'Hanken Grotesk', sans-serif; }
.bc-sub { font-size: 12.5px; color: rgba(253,249,242,.6); }
.bc-circle {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(253,249,242,.22);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.bc-arrow { font-size: 17px; color: #fdf9f2; transition: transform .25s ease; }

/* ---------- hero ---------- */
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--teal); margin-bottom: 26px; }
.dot-accent { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero h1 { font-family: 'Newsreader', serif; font-weight: 500; font-size: clamp(40px,5.2vw,66px); line-height: 1.02; letter-spacing: -.022em; margin: 0 0 26px; }
.hero .accent-italic { position: relative; font-style: italic; color: var(--teal); white-space: nowrap; }
.hero .accent-italic svg { position: absolute; left: 0; right: 0; bottom: -.14em; width: 100%; height: .34em; overflow: visible; }
.hero p.lead { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 520px; margin: 0 0 32px; }
.hero-cta-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 20px; font-size: 13.5px; color: var(--muted); }
.vline { width: 1px; height: 13px; background: var(--line); }
.hero-media {
  position: relative; aspect-ratio: 4/5; border-radius: 20px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 26px 64px rgba(22,33,31,.16);
  background: linear-gradient(160deg, var(--teal-soft), color-mix(in srgb, var(--teal-soft) 40%, var(--card)));
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; }
.hero-status {
  position: absolute; left: 16px; bottom: 16px; background: color-mix(in srgb, var(--card) 84%, transparent);
  backdrop-filter: blur(6px); border: 1px solid var(--line); border-radius: 12px; padding: 11px 15px;
  display: flex; align-items: center; gap: 10px;
}
.dot-live { width: 9px; height: 9px; border-radius: 50%; background: #3fae6b; box-shadow: 0 0 0 4px rgba(63,174,107,.18); }

/* ---------- hero animation: audit (Lighthouse) -> rebuild (Shopify) -> automate (orders/leads), on a 13.5s loop ---------- */
.hero-anim-frame { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 10%; }
.hero-anim-window { width: 100%; max-width: 320px; }
.hero-anim-stage { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #fff; }
.hero-scene { position: absolute; inset: 0; }
.hero-scene--audit { animation: heroSceneAudit 13.5s ease-in-out infinite; }
.hero-scene--rebuild { animation: heroSceneRebuild 13.5s ease-in-out infinite; }
.hero-scene--automate { animation: heroSceneAutomate 13.5s ease-in-out infinite; }
/* Crossfade windows are deliberately short (~0.4s): audit and rebuild have very
   different layouts (centered gauge row vs. a full-height sidebar+canvas
   split), so a slow dissolve between them reads as a messy double-exposure
   rather than a clean transition — a quick cut hides that. */
@keyframes heroSceneAudit { 0%,28% { opacity: 1; } 31%,97% { opacity: 0; } 100% { opacity: 1; } }
@keyframes heroSceneRebuild { 0%,28% { opacity: 0; } 31%,64% { opacity: 1; } 67%,100% { opacity: 0; } }
@keyframes heroSceneAutomate { 0%,64% { opacity: 0; } 67%,97% { opacity: 1; } 100% { opacity: 0; } }

/* -- audit scene: a Lighthouse-style report, four score rings filling in -- */
.lh-report { padding: 18px 20px; }
.lh-report-label { font-size: 10.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.lh-gauges { display: flex; gap: 10px; justify-content: space-between; }
.lh-gauge { position: relative; display: flex; flex-direction: column; align-items: center; flex: 1; }
.lh-gauge-svg { width: 44px; height: 44px; }
.lh-gauge-track { fill: none; stroke: #edecea; stroke-width: 4; }
.lh-gauge-fill { fill: none; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 113.1; transform: rotate(-90deg); transform-origin: 22px 22px; animation-duration: 13.5s; animation-timing-function: ease-in-out; animation-iteration-count: infinite; }
.lh-gauge-fill--perf { stroke: #dd6b60; animation-name: lhFillPerf; }
.lh-gauge-fill--a11y { stroke: #e6b34d; animation-name: lhFillA11y; }
.lh-gauge-fill--bp { stroke: #e6b34d; animation-name: lhFillBP; }
.lh-gauge-fill--seo { stroke: #57ad63; animation-name: lhFillSEO; }
@keyframes lhFillPerf { 0%,3% { stroke-dashoffset: 113.1; } 15%,27% { stroke-dashoffset: 74.6; } 28%,100% { stroke-dashoffset: 113.1; } }
@keyframes lhFillA11y { 0%,3% { stroke-dashoffset: 113.1; } 15%,27% { stroke-dashoffset: 36.2; } 28%,100% { stroke-dashoffset: 113.1; } }
@keyframes lhFillBP   { 0%,3% { stroke-dashoffset: 113.1; } 15%,27% { stroke-dashoffset: 23.7; } 28%,100% { stroke-dashoffset: 113.1; } }
@keyframes lhFillSEO  { 0%,3% { stroke-dashoffset: 113.1; } 15%,27% { stroke-dashoffset: 10.2; } 28%,100% { stroke-dashoffset: 113.1; } }
.lh-gauge-score { position: absolute; top: 13px; left: 0; right: 0; text-align: center; font: 700 12.5px 'Hanken Grotesk'; color: var(--ink); opacity: 0; animation: lhScoreShow 13.5s ease-in-out infinite; }
@keyframes lhScoreShow { 0%,13% { opacity: 0; } 17%,27% { opacity: 1; } 28%,100% { opacity: 0; } }
.lh-gauge-label { font-size: 9px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .02em; margin-top: 4px; }

/* -- rebuild scene: a simplified Shopify theme editor, mid-edit -- */
.shop-editor { display: flex; height: 100%; }
.shop-sidebar { width: 32px; flex-shrink: 0; background: #0d3b31; display: flex; flex-direction: column; align-items: center; padding: 12px 0; gap: 9px; }
.shop-sidebar-logo { width: 14px; height: 14px; flex-shrink: 0; opacity: .95; margin-bottom: 3px; }
.shop-nav-item { width: 16px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.2); }
.shop-nav-item--active { background: rgba(255,255,255,.6); }
.shop-canvas { flex: 1; padding: 14px 16px; background: #fafaf8; }
.shop-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.shop-topbar-label { font-size: 10.5px; font-weight: 600; color: var(--muted); }
.shop-save-btn { font-size: 10px; font-weight: 700; color: #fff; background: var(--ink); padding: 4px 10px; border-radius: 5px; }
.shop-section { height: 24px; border-radius: 6px; background: var(--teal-soft); margin-bottom: 9px; position: relative; }
.shop-section--drag { background: color-mix(in srgb, var(--teal-soft) 55%, #fff); box-shadow: 0 10px 20px -8px rgba(22,33,31,.35); animation: shopDrag 13.5s ease-in-out infinite; }
.shop-grip { position: absolute; left: 7px; top: 50%; width: 8px; height: 8px; transform: translateY(-50%); background-image: radial-gradient(circle, var(--muted) 1px, transparent 1.3px); background-size: 4px 4px; opacity: .5; }
@keyframes shopDrag {
  0%,33% { transform: translateY(0) rotate(0deg) scale(1); }
  42% { transform: translateY(-13px) rotate(-2deg) scale(1.03); }
  50%,67% { transform: translateY(0) rotate(0deg) scale(1); }
  100% { transform: translateY(0) rotate(0deg) scale(1); }
}

/* -- automate scene: a live site (dimmed) with a sale + a lead notification stacking in -- */
.auto-backdrop { padding: 20px; opacity: .4; filter: saturate(.7); }
.mock-header { height: 18px; width: 55%; border-radius: 4px; background: #d8d5cc; margin-bottom: 14px; }
.mock-header--clean { background: var(--teal-soft); }
.mock-line { height: 7px; border-radius: 4px; background: #e4e1d7; margin-bottom: 9px; }
.mock-line.w70 { width: 70%; } .mock-line.w45 { width: 45%; }
.mock-grid { display: flex; gap: 8px; margin-top: 14px; }
.mock-grid span { flex: 1; height: 32px; border-radius: 6px; background: var(--teal-soft); }
.hero-toast {
  position: absolute; right: 12px; display: flex; align-items: center; gap: 7px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 7px 11px;
  box-shadow: 0 12px 24px -10px rgba(22,33,31,.35); font-size: 11px; font-weight: 600; color: var(--ink);
}
.hero-toast-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.hero-toast--sale { bottom: 42px; animation: toastSale 13.5s ease-in-out infinite; }
.hero-toast--sale .hero-toast-dot { background: #57ad63; }
.hero-toast--lead { bottom: 12px; animation: toastLead 13.5s ease-in-out infinite; }
.hero-toast--lead .hero-toast-dot { background: var(--teal); }
@keyframes toastSale {
  0%,68% { opacity: 0; transform: translateY(8px); }
  73%,91% { opacity: 1; transform: translateY(0); }
  96%,100% { opacity: 0; transform: translateY(8px); }
}
@keyframes toastLead {
  0%,76% { opacity: 0; transform: translateY(8px); }
  81%,91% { opacity: 1; transform: translateY(0); }
  96%,100% { opacity: 0; transform: translateY(8px); }
}

/* status pill message crossfade, synced to the same 13.5s cycle.
   Deliberately not setting position here: .hero-status already sets
   position:absolute for the overlay placement, and that's just as valid a
   containing block for the absolutely-positioned .status-msg children as
   position:relative would be — adding position:relative here would collide
   with .hero-status's position:absolute at equal specificity and silently
   win by cascade order, breaking the pill's overlay placement entirely. */
.hero-anim-status { height: 18px; }
.status-msg { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; white-space: nowrap; opacity: 0; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.status-msg--audit .status-dot { background: #dd6b60; }
.status-msg--rebuild .status-dot { background: #e6b34d; }
.status-msg--results .status-dot { background: #3fae6b; box-shadow: 0 0 0 4px rgba(63,174,107,.18); }
.status-msg--audit { animation: statusAudit 13.5s ease-in-out infinite; }
.status-msg--rebuild { animation: statusRebuild 13.5s ease-in-out infinite; }
.status-msg--results { animation: statusResults 13.5s ease-in-out infinite; }
@keyframes statusAudit { 0%,24% { opacity: 1; } 30%,100% { opacity: 0; } }
@keyframes statusRebuild { 0%,30% { opacity: 0; } 36%,58% { opacity: 1; } 64%,100% { opacity: 0; } }
@keyframes statusResults { 0%,64% { opacity: 0; } 70%,91% { opacity: 1; } 97%,100% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .hero-scene--audit, .hero-scene--rebuild, .hero-scene--automate,
  .lh-gauge-fill, .lh-gauge-score, .shop-section--drag, .hero-toast--sale, .hero-toast--lead,
  .status-msg--audit, .status-msg--rebuild, .status-msg--results { animation: none !important; }
  .hero-scene--audit, .hero-scene--rebuild { opacity: 0; }
  .hero-scene--automate { opacity: 1; }
  .hero-toast--sale, .hero-toast--lead { opacity: 1; transform: none; }
  .status-msg--audit, .status-msg--rebuild { opacity: 0; }
  .status-msg--results { opacity: 1; }
}

.two-col { display: grid; grid-template-columns: 1.4fr .9fr; gap: 60px; align-items: center; }
.two-col-rev { display: grid; grid-template-columns: .82fr 1.18fr; gap: 60px; align-items: center; }

/* ---------- trust strip / marquee ---------- */
.trust-strip {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0;
  display: flex; align-items: center; gap: 28px; flex-wrap: nowrap; justify-content: center;
}
.trust-label { font-size: 12px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); white-space: nowrap; flex-shrink: 0; }
.marquee-mask {
  flex: 1; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);
  mask-image: linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);
}
.marquee-track { display: flex; align-items: center; width: max-content; animation: logoscroll 22s linear infinite; }
.marquee-track img { margin: 0 34px; object-fit: contain; opacity: .9; width: auto; }
@keyframes logoscroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

.tools-strip { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; justify-content: center; flex: 1; min-width: 0; }
.tool-logo { height: 26px; width: auto; max-width: 118px; object-fit: contain; filter: brightness(0); opacity: .46; }

/* ---------- path / stage cards ---------- */
.section-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--teal); margin-bottom: 16px; }
.section-eyebrow.accent { color: var(--accent); }
h2.section-title { font-family: 'Newsreader', serif; font-weight: 500; font-size: clamp(30px,3.6vw,44px); line-height: 1.1; letter-spacing: -.02em; margin: 0; }
.path-grid { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 0 12px; align-items: stretch; }
.stage-card {
  position: relative; overflow: hidden; background: var(--card);
  border: 1px solid var(--line); border-radius: 18px; padding: 34px 28px;
  display: flex; flex-direction: column;
  transition: opacity .5s ease, transform .4s ease, background .4s ease, border-color .4s ease, box-shadow .4s ease;
}
.stage-card h3, .stage-card p, .stage-card .stage-badge { transition: color .4s ease, background .4s ease; }
.stage-card:hover { background: var(--teal); border-color: var(--teal); box-shadow: 0 24px 55px -24px color-mix(in srgb, var(--teal) 65%, #000); transform: translateY(-5px); }
.stage-card:hover .stage-ghost { color: rgba(255,255,255,.14); }
.stage-card:hover .stage-badge { background: rgba(255,255,255,.18); color: #fff; }
.stage-card:hover h3 { color: #fdf9f2; }
.stage-card:hover p { color: rgba(253,249,242,.82); }
.stage-ghost {
  position: absolute; top: 8px; right: 24px; font-family: 'Newsreader', serif; font-weight: 600; font-size: 104px;
  line-height: 1; color: rgba(255,255,255,0); pointer-events: none; user-select: none;
  transition: color .4s ease;
}
.stage-badge {
  position: relative; width: 44px; height: 44px; border-radius: 12px; background: var(--teal-soft); color: var(--teal-deep);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.stage-badge svg { width: 22px; height: 22px; }
.stage-card h3 { position: relative; font-family: 'Newsreader', serif; font-weight: 600; font-size: 27px; letter-spacing: -.01em; margin: 0 0 10px; }
.stage-card p { position: relative; font-size: 15.5px; line-height: 1.55; color: var(--muted); margin: 0; }
.path-arrow { display: flex; align-items: center; justify-content: center; color: var(--teal); font: 500 30px 'Newsreader', serif; }

.journey-box { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px 30px; }
.journey-row { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.journey-steps { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.journey-step { display: flex; align-items: center; gap: 14px; }
.journey-num { width: 26px; height: 26px; border-radius: 50%; background: var(--teal-soft); color: var(--teal-deep); display: flex; align-items: center; justify-content: center; font: 700 13px 'Hanken Grotesk'; flex: none; }
.journey-label { font-size: 15px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.journey-arrow { color: var(--teal); font: 500 20px 'Newsreader', serif; }
@media (max-width: 860px) {
  .journey-arrow { display: none; }
  .journey-steps { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* ---------- about / meet robbie ---------- */
.about-media { position: relative; aspect-ratio: 5/6; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 22px 54px rgba(22,33,31,.14); }
.about-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-media--compact { max-width: 300px; }
.pullquote { font-size: 18px; line-height: 1.55; color: var(--ink); font-weight: 500; margin: 0 0 18px; padding-left: 16px; border-left: 3px solid var(--accent); }

/* ---------- selected-work teaser cards ---------- */
.work-scroller { display: flex; gap: 22px; overflow-x: auto; padding: 6px 2px 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.work-scroller::-webkit-scrollbar { display: none; }
.teaser-card, .work-card {
  flex: 0 0 306px; display: flex; flex-direction: column; background: var(--card);
  border: 1px solid var(--line); border-radius: 20px; overflow: hidden; color: var(--ink);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  text-decoration: none; user-select: none; -webkit-user-select: none;
}
.teaser-card img, .work-card img { -webkit-user-drag: none; user-drag: none; pointer-events: none; }
.teaser-card:hover, .work-card:hover { transform: translateY(-6px); box-shadow: 0 26px 56px -22px rgba(22,33,31,.4); border-color: color-mix(in srgb, var(--teal) 40%, var(--line)); }
.card-shot {
  position: relative; aspect-ratio: 5/4; display: flex; align-items: flex-end; justify-content: center;
  padding: 26px 24px 0; overflow: hidden; text-decoration: none;
}
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 9px; }
.card-tag { align-self: flex-start; font-size: 11.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--teal-deep); background: var(--teal-soft); padding: 3px 11px; border-radius: 20px; }
.card-client { font-family: 'Newsreader', serif; font-size: 21px; font-weight: 600; letter-spacing: -.01em; }
.card-tagline { font-size: 14px; line-height: 1.5; color: var(--muted); margin: 0; }
.card-view { align-self: flex-start; margin-top: 2px; font-size: 13px; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 5px; }

/* -- custom collage frames (stack / mosaic / stack2 / trio / climb) -- */
.frame { position: absolute; inset: 0; }
.frame-win { position: absolute; transition: transform .35s ease; overflow: hidden; background: #fff; }
.frame-bar { display: flex; align-items: center; background: #edecea; }
.frame-bar .d { border-radius: 50%; }
.frame-win img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
/* traffic-light dot colors — applied explicitly, never inferred by position */
.dot-red { background: #dd6b60; }
.dot-yellow { background: #e6b34d; }
.dot-green { background: #57ad63; }

/* stack (Ultimate Garage) */
.stack-l, .stack-r {
  width: 52%; bottom: 8%; border-radius: 8px; box-shadow: 0 14px 34px -14px rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.5);
}
.stack-l { left: 2%; transform: rotate(-9deg); z-index: 1; }
.stack-r { right: 1%; bottom: 11%; width: 50%; transform: rotate(8deg); z-index: 2; }
.stack-l .frame-bar, .stack-r .frame-bar { height: 13px; gap: 3px; padding: 0 7px; }
.stack-l .d, .stack-r .d { width: 4.5px; height: 4.5px; }
.stack-l .frame-img, .stack-r .frame-img { aspect-ratio: 16/11; }
.stack-front {
  left: 50%; bottom: 0; width: 66%; transform: translateX(-50%) rotate(-2deg); z-index: 3; border-radius: 9px 9px 0 0;
  box-shadow: 0 22px 46px -16px rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.65); border-bottom: none; background: #edecea;
}
.stack-front .frame-bar { height: 16px; gap: 4px; padding: 0 9px; background: #edecea; }
.stack-front .d { width: 5.5px; height: 5.5px; }
.stack-front .frame-img { aspect-ratio: 5/6; }
[data-teasercard]:hover .stack-front, [data-workcard]:hover .stack-front { transform: translateX(-50%) translateY(-6px) rotate(0deg); }
[data-teasercard]:hover .stack-l, [data-workcard]:hover .stack-l { transform: rotate(-12deg) translateX(-6px); }
[data-teasercard]:hover .stack-r, [data-workcard]:hover .stack-r { transform: rotate(11deg) translateX(6px); }

/* stack2 (Yapclub) — three stacked dark cards, no browser bar */
.card-frame-wrap { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.card-frame-inner { position: relative; width: 70%; aspect-ratio: 4/5; }
.casc { position: absolute; inset: 0; transition: transform .35s ease; border-radius: 11px; overflow: hidden; background: #0b0b0b; border: 1px solid #2b2b2b; }
.casc img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.casc-3 { transform: translate(26px,20px) rotate(6deg); z-index: 1; box-shadow: 0 16px 34px -14px rgba(0,0,0,.7); }
.casc-3 img { opacity: .9; }
.casc-2 { transform: translate(13px,10px) rotate(3deg); z-index: 2; box-shadow: 0 16px 34px -14px rgba(0,0,0,.7); }
.casc-2 img { opacity: .95; }
.casc-1 { transform: rotate(-2deg); z-index: 3; box-shadow: 0 22px 44px -16px rgba(0,0,0,.75); border-left: 3px solid #d4f23a; }
[data-teasercard]:hover .casc-1, [data-workcard]:hover .casc-1 { transform: translate(-16px,4px) rotate(-6deg); }
[data-teasercard]:hover .casc-3, [data-workcard]:hover .casc-3 { transform: translate(46px,24px) rotate(10deg); }

/* mosaic (MegaErawan) — three horizontal bands */
.mos { position: absolute; width: 80%; transition: transform .35s ease; border-radius: 9px; overflow: hidden; box-shadow: 0 14px 30px -12px rgba(0,0,0,.7); background: #0b0a12; border: 1px solid #34294f; border-top: 3px solid #7b5cff; }
.mos .frame-img { aspect-ratio: 16/7; }
.mos-1 { top: 4%; left: 1%; transform: rotate(-3deg); z-index: 1; }
.mos-2 { top: 35%; right: 1%; transform: rotate(2.5deg); z-index: 2; }
.mos-3 { bottom: 0; left: 5%; transform: rotate(-1.5deg); z-index: 3; box-shadow: 0 18px 36px -14px rgba(0,0,0,.75); }
[data-teasercard]:hover .mos-1, [data-workcard]:hover .mos-1 { transform: translateY(-9px) rotate(0deg); }
[data-teasercard]:hover .mos-2, [data-workcard]:hover .mos-2 { transform: rotate(0deg); }
[data-teasercard]:hover .mos-3, [data-workcard]:hover .mos-3 { transform: translateY(9px) rotate(0deg); }

/* trio (CSSB) */
.trio-win { position: absolute; transition: transform .35s ease; overflow: hidden; background: #0a0f0d; border-radius: 9px; border: 1px solid #1c3a2c; border-top: 2px solid #3ee08a; }
.trio-win .frame-bar { height: 13px; gap: 4px; padding: 0 7px; background: #0e1a14; }
.trio-win .d { width: 4.5px; height: 4.5px; background: #2f6b4d; }
.trio-win .frame-img { aspect-ratio: 16/11; }
.trio-l, .trio-r { top: 16%; width: 44%; z-index: 1; box-shadow: 0 14px 30px -14px rgba(0,0,0,.75); }
.trio-l { left: 1%; transform: rotate(-9deg); }
.trio-r { right: 1%; transform: rotate(9deg); }
.trio-m { left: 27%; top: 3%; width: 46%; z-index: 3; box-shadow: 0 22px 44px -16px rgba(0,0,0,.85); }
[data-teasercard]:hover .trio-l, [data-workcard]:hover .trio-l { transform: translateY(7px) rotate(-4deg); }
[data-teasercard]:hover .trio-m, [data-workcard]:hover .trio-m { transform: translateY(-10px); }
[data-teasercard]:hover .trio-r, [data-workcard]:hover .trio-r { transform: translateY(7px) rotate(4deg); }

/* climb (UG Motorsport) */
.climb-win { position: absolute; width: 56%; transition: transform .35s ease; overflow: hidden; background: #0a0708; border-radius: 8px; box-shadow: 0 16px 34px -14px rgba(0,0,0,.8); border: 1px solid #3a1518; border-top: 2px solid #e01f27; }
.climb-win .frame-bar { height: 12px; gap: 4px; padding: 0 7px; background: #170c0d; }
.climb-win .d { width: 4px; height: 4px; background: #6b2f33; }
.climb-win .frame-img { aspect-ratio: 16/10; }
.climb-1 { left: 2%; bottom: 2%; transform: rotate(-3deg); z-index: 1; }
.climb-2 { left: 22%; bottom: 26%; transform: rotate(-3deg); z-index: 2; }
.climb-3 { left: 42%; bottom: 50%; transform: rotate(-3deg); z-index: 3; }
[data-teasercard]:hover .climb-1, [data-workcard]:hover .climb-1 { transform: translate(-10px,8px) rotate(-3deg); }
[data-teasercard]:hover .climb-2, [data-workcard]:hover .climb-2 { transform: translate(0,-2px) rotate(-3deg); }
[data-teasercard]:hover .climb-3, [data-workcard]:hover .climb-3 { transform: translate(10px,-12px) rotate(-3deg); }

/* ---------- packages ---------- */
.bundle {
  position: relative; background: var(--band); color: #f4f7f6; border-radius: 20px; padding: 38px; margin-bottom: 22px;
  box-shadow: 0 22px 50px rgba(18,63,58,.28); overflow: hidden;
}
.bundle-badge {
  position: absolute; top: 0; right: 0; background: var(--accent); color: #fff; font-size: 11.5px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; padding: 6px 16px; border-bottom-left-radius: 12px;
}
.bundle-grid { position: relative; display: grid; grid-template-columns: 1.5fr 1fr; gap: 44px; align-items: center; }
.bundle-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.bundle h3 { font-family: 'Newsreader', serif; font-weight: 600; font-size: 31px; letter-spacing: -.01em; margin: 0 0 12px; }
.bundle p.desc { font-size: 16px; line-height: 1.6; color: rgba(244,247,246,.72); margin: 0 0 20px; max-width: 520px; }
.bundle-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.bundle-tag { font-size: 13px; font-weight: 600; background: rgba(255,255,255,.1); color: #f4f7f6; padding: 6px 13px; border-radius: 20px; }
.bundle-price-label { font-size: 13px; font-weight: 600; color: rgba(244,247,246,.6); margin-bottom: 4px; }
.bundle-price { font-family: 'Newsreader', serif; font-size: 34px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 20px; }
.bundle-cta { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; }
.bundle-note { font-size: 12.5px; color: rgba(244,247,246,.55); margin: 12px 0 0; text-align: center; }

.price-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.price-card {
  position: relative; background: var(--card);
  border: 1px solid var(--line); border-radius: 14px; padding: 28px 24px; display: flex; flex-direction: column;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.price-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--teal) 45%, var(--line)); box-shadow: 0 22px 48px -22px rgba(18,63,58,.35); }
.price-stage { font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.price-name { font-family: 'Newsreader', serif; font-size: 20px; font-weight: 600; letter-spacing: -.01em; margin: 0 0 4px; }
.price-blurb { font-size: 13.5px; color: var(--muted); line-height: 1.4; margin-bottom: 18px; min-height: 38px; }
.price-row { display: flex; align-items: baseline; gap: 6px; margin-bottom: 20px; }
.price-pre, .price-post { font-size: 12px; font-weight: 600; color: var(--muted); }
.price-num { font-family: 'Newsreader', serif; font-size: 30px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.price-hr { height: 1px; background: var(--line); margin-bottom: 18px; }
.price-items { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.price-item { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; line-height: 1.4; color: var(--ink); }
.price-item .check { color: var(--teal); font-weight: 700; flex: none; }
.price-extra { font-size: 12.5px; font-weight: 400; line-height: 1.4; color: var(--muted); margin: -12px 0 22px; }
.price-cta {
  margin-top: auto; text-align: center; padding: 12px; border-radius: 9px; font: 600 14px 'Hanken Grotesk';
  border: 1.5px solid var(--line); color: var(--ink); transition: background .18s ease, border-color .18s ease, transform .18s ease, color .18s ease;
}
.price-cta:hover { background: var(--teal); border-color: var(--teal); color: #fff; transform: translateY(-1px); }

/* ---------- final CTA / contact ---------- */
.band-section { position: relative; background: var(--band); color: #f4f7f6; overflow: hidden; }
.cta-checks { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 20px; font-size: 14px; color: rgba(244,247,246,.6); flex-wrap: wrap; }
.cta-checks span.item { display: inline-flex; align-items: center; gap: 7px; }
.cta-checks .check { color: var(--accent); }
.contact-form {
  background: var(--paper); border: 1px solid rgba(0,0,0,.06); border-radius: 16px; padding: 28px 26px;
  display: flex; flex-direction: column; gap: 13px; box-shadow: 0 24px 60px rgba(0,0,0,.32);
}
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.form-label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink); }
.form-check { margin-top: 10px; display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 500; color: var(--ink); cursor: pointer; }
.form-check input { width: 16px; height: 16px; accent-color: var(--accent); cursor: pointer; }
.form-thanks { text-align: center; padding: 22px 8px; }
.form-thanks .title { font-family: 'Newsreader', serif; font-size: 26px; color: var(--ink); margin-bottom: 8px; }
[data-form-thanks], [data-form-error] {
  opacity: 0; transform: translateY(10px);
  transition: opacity .45s cubic-bezier(.22,.7,.2,1), transform .45s cubic-bezier(.22,.7,.2,1);
}
[data-form-thanks].is-visible, [data-form-error].is-visible { opacity: 1; transform: none; }
[data-form-pending] {
  transition: opacity .3s cubic-bezier(.22,.7,.2,1), transform .3s cubic-bezier(.22,.7,.2,1);
}
[data-form-pending].is-fading { opacity: 0; transform: translateY(-10px); pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  [data-form-thanks], [data-form-error], [data-form-pending] { transition: none !important; }
}

/* ---------- footer ---------- */
footer.site-footer { padding: 56px 32px 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; border-top: 1px solid var(--line); padding-top: 40px; }
.foot-brand-row { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.foot-desc { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0 0 16px; max-width: 300px; }
.foot-avail { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--teal); }
.foot-col { display: flex; flex-direction: column; gap: 11px; }
.foot-heading { font-size: 12px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.foot-col a { font-size: 14.5px; color: var(--ink); }
.foot-col span.plain { font-size: 14.5px; color: var(--muted); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); }
.foot-legal { display: flex; flex-direction: column; gap: 3px; }
.foot-legal span { font-size: 13px; color: var(--muted); }
.foot-legal span.reg { font-size: 12px; opacity: .85; }
.foot-legal a { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.foot-top-link { font-size: 13px; color: var(--muted); }

/* ---------- reveal-on-scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.22,.7,.2,1), transform .7s cubic-bezier(.22,.7,.2,1); }
[data-reveal].is-shown { opacity: 1; transform: none; }
[data-stagger] > * { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.22,.7,.2,1), transform .7s cubic-bezier(.22,.7,.2,1); }
[data-stagger] > *.is-shown { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-stagger] > * { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ==================== WORK PAGE ==================== */
.work-hero-back { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--muted); margin-bottom: 26px; }
.work-hero-back:hover { color: var(--ink); }
.work-hero h1 { font-family: 'Newsreader', serif; font-weight: 500; font-size: clamp(36px,5vw,60px); line-height: 1.03; letter-spacing: -.02em; margin: 0 0 18px; max-width: 760px; }
.work-hero p.lead { font-size: 18px; line-height: 1.6; color: var(--muted); margin: 0; max-width: 560px; }
.filter-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 26px; }
.tag-btn {
  cursor: pointer; font: 600 14px 'Hanken Grotesk', sans-serif; padding: 9px 18px; border-radius: 999px;
  transition: all .18s ease; background: transparent; color: var(--muted); border: 1.5px solid var(--line);
}
.tag-btn.active { background: var(--teal); color: #fff; border-color: var(--teal); }
.filter-count { margin-left: auto; font-size: 13px; color: var(--muted); }
.work-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
@media (max-width: 900px) { .work-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .work-grid { grid-template-columns: 1fr; } }

.cta-band { background: var(--band); border-radius: 24px; padding: 52px 44px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { font-family: 'Newsreader', serif; font-weight: 500; font-size: clamp(26px,3vw,36px); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 12px; color: #fdf9f2; }
.cta-band p { font-size: 16px; line-height: 1.55; color: rgba(253,249,242,.72); margin: 0; }

/* ==================== CASE STUDY PAGE ==================== */
.cs-back { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--muted); margin-bottom: 26px; }
.cs-back:hover { color: var(--ink); }
.cs-tagrow { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.cs-tag { font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-deep); background: var(--teal-soft); padding: 5px 13px; border-radius: 20px; }
.cs-type { font-size: 13px; color: var(--muted); }
.cs-hero-title { font-family: 'Newsreader', serif; font-weight: 500; font-size: clamp(38px,5.6vw,66px); line-height: 1.02; letter-spacing: -.02em; margin: 0 auto 18px; max-width: 800px; text-align: center; }
.cs-hero-lead { font-size: 19px; line-height: 1.55; color: var(--muted); margin: 0 auto 40px; max-width: 560px; text-align: center; }
.browser-frame { border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 90px -40px rgba(22,33,31,.55); }
.browser-bar { height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 18px; background: #edecea; border-bottom: 1px solid rgba(22,33,31,.06); }
.browser-bar .d { width: 11px; height: 11px; border-radius: 50%; }
.browser-url { margin-left: 14px; flex: 1; max-width: 340px; height: 20px; border-radius: 99px; background: #fff; display: flex; align-items: center; padding: 0 12px; font-size: 11px; color: var(--muted); font-family: 'Sora', sans-serif; letter-spacing: .01em; }
.browser-shot { aspect-ratio: 16/10; overflow: hidden; }
.browser-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }

.meta-strip { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 24px; align-items: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; }
.meta-label { font-size: 11.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.meta-value { font-size: 16px; font-weight: 600; color: var(--ink); }

.soon-banner { display: flex; align-items: center; gap: 12px; background: color-mix(in srgb, var(--accent) 8%, transparent); border: 1px solid var(--accent-soft); border-radius: 14px; padding: 14px 20px; font-size: 14.5px; color: var(--ink); }
.soon-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

.cs-two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.cs-two p { font-size: 17px; line-height: 1.65; margin: 0; }
.cs-three { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; }
.step-wrap { position: relative; }
.step-ghost { position: absolute; top: -26px; right: 0; font-family: 'Newsreader', serif; font-weight: 500; font-size: 96px; line-height: 1; color: var(--teal); opacity: .10; pointer-events: none; }
.step-inner { position: relative; }
.step-label { font-size: 11.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.step-title { font-family: 'Newsreader', serif; font-weight: 600; font-size: 22px; letter-spacing: -.01em; margin: 0 0 10px; }
.step-body { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0 0 20px; }
.step-shot { border-radius: 12px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 40px -24px rgba(22,33,31,.45); }
.step-bar { height: 20px; display: flex; align-items: center; gap: 5px; padding: 0 10px; background: #edecea; }
.step-bar .d { width: 7px; height: 7px; border-radius: 50%; }
.step-img { aspect-ratio: 16/11; overflow: hidden; }
.step-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }

.results-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.result-card { background: var(--band); border-radius: 18px; padding: 28px 24px; }
.result-value { font-family: 'Newsreader', serif; font-size: 38px; font-weight: 600; color: #fdf9f2; line-height: 1; margin-bottom: 10px; }
.result-label { font-size: 14px; line-height: 1.4; color: rgba(253,249,242,.7); }

.testimonial-block { background: var(--teal); border-radius: 24px; padding: 52px 48px; color: #fdf9f2; }
.testimonial-quote { font-family: 'Newsreader', serif; font-style: italic; font-size: clamp(22px,2.6vw,30px); line-height: 1.4; margin: 0 0 26px; max-width: 760px; }
.testimonial-author { display: flex; align-items: center; gap: 13px; }
.testimonial-avatar { width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; font: 600 15px 'Hanken Grotesk'; color: #fff; }
.testimonial-name { font-size: 15px; font-weight: 600; color: #fff; }
.testimonial-role { font-size: 13.5px; color: rgba(253,249,242,.72); }

.recent-scroller { display: flex; gap: 22px; overflow-x: auto; padding: 6px 32px 22px; scroll-snap-type: x mandatory; }
.recent-card { flex: 0 0 auto; width: 340px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 14px; color: var(--ink); }
.recent-frame { border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 22px 48px -28px rgba(22,33,31,.45); transition: transform .22s ease; }
[data-recentcard]:hover .recent-frame { transform: translateY(-6px); }
.recent-bar { height: 24px; display: flex; align-items: center; gap: 5px; padding: 0 12px; background: #edecea; }
.recent-bar .d { width: 8px; height: 8px; border-radius: 50%; }
.recent-img { aspect-ratio: 16/10; overflow: hidden; }
.recent-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.recent-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.recent-client { font-family: 'Newsreader', serif; font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.recent-sector { font-size: 13px; color: var(--muted); margin-top: 2px; }
.recent-arrow { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--teal); font-size: 15px; }

.prevnext-card { display: flex; align-items: center; gap: 16px; background: color-mix(in srgb, var(--card) 90%, transparent); border: 1px solid var(--line); border-radius: 18px; padding: 24px 28px; color: var(--ink); transition: border-color .18s ease, transform .18s ease; }
.prevnext-card:hover { border-color: var(--teal); transform: translateY(-3px); color: var(--ink); }
.prevnext-card.next { justify-content: flex-end; text-align: right; }
.prevnext-label { font-size: 11.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.prevnext-client { font-family: 'Newsreader', serif; font-size: 21px; font-weight: 600; letter-spacing: -.01em; }

.cs-start-form { background: color-mix(in srgb, var(--card) 90%, transparent); border: 1px solid var(--line); border-radius: 24px; padding: clamp(32px,5vw,60px); }
.form-two { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px,5vw,64px); align-items: start; }
.field-group { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-label-group { display: flex; flex-direction: column; gap: 7px; }
.field-label-group span { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }

@media (max-width: 860px) {
  .cs-two, .cs-three, .results-grid, .form-two, .two-col, .two-col-rev { grid-template-columns: 1fr !important; gap: 30px !important; }
  .two-col-rev > .about-media { order: -1; }
  .meta-strip { grid-template-columns: 1fr 1fr !important; }
  .nav-links { display: none !important; }
}

/* ==================== BOOK A CALL PAGE ==================== */
.calendar-box { background: color-mix(in srgb, var(--card) 88%, transparent); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 20px; padding: 12px; box-shadow: 0 26px 64px rgba(22,33,31,.14); overflow: hidden; }
.calendar-frame { min-width: 320px; height: 720px; border-radius: 12px; overflow: hidden; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 15px; }
.expect-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.expect-card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 32px 28px; display: flex; flex-direction: column; }
.expect-num { width: 44px; height: 44px; border-radius: 12px; background: var(--teal-soft); color: var(--teal-deep); display: flex; align-items: center; justify-content: center; font: 700 17px 'Hanken Grotesk'; margin-bottom: 18px; }
.expect-title { font-family: 'Newsreader', serif; font-weight: 600; font-size: 23px; letter-spacing: -.01em; margin: 0 0 10px; }
.expect-body { font-size: 15.5px; line-height: 1.6; color: var(--muted); margin: 0; }

/* Connected timeline: a thread running through the 5 steps, not just a
   divided list — this is the one section on the page that's genuinely
   sequential (discovery -> proposal -> ... -> support), so a connecting
   line encodes that order the way the homepage's own "one journey, not a
   menu" arrows do elsewhere on the site. */
.howworks-list { position: relative; display: flex; flex-direction: column; }
.howworks-list::before {
  content: ''; position: absolute; left: 22px; top: 0; bottom: 0; width: 2px;
  background: color-mix(in srgb, var(--teal) 22%, transparent); transform: translateX(-50%); z-index: 0;
}
.howworks-step { display: flex; gap: 22px; padding: 26px 0; }
.howworks-step:last-child { padding-bottom: 0; }
.howworks-num { position: relative; z-index: 1; flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: var(--teal-soft); color: var(--teal-deep); display: flex; align-items: center; justify-content: center; font: 700 15px 'Hanken Grotesk'; }
.howworks-title { font-family: 'Newsreader', serif; font-weight: 600; font-size: 21px; letter-spacing: -.01em; margin: 0 0 6px; }
.howworks-body { font-size: 15.5px; line-height: 1.6; color: var(--muted); margin: 0; }
.why-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.why-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16.5px; line-height: 1.55; color: var(--ink); }
.why-list .check { flex-shrink: 0; margin-top: 2px; color: var(--accent); font-weight: 700; }

.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color .2s ease, background .2s ease; }
.faq-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; background: transparent; border: none; cursor: pointer; text-align: left; font: 600 17px 'Hanken Grotesk'; color: var(--ink); }
.faq-sign { font-size: 24px; font-weight: 400; color: var(--teal); line-height: 1; transition: transform .28s ease; }
.faq-item.open .faq-sign { transform: rotate(45deg); }
.faq-answer { overflow: hidden; max-height: 0; opacity: 0; transition: max-height .34s cubic-bezier(.4,0,.2,1), opacity .28s ease; }
.faq-item.open .faq-answer { max-height: 320px; opacity: 1; }
.faq-answer p { margin: 0; padding: 0 24px 22px; font-size: 15.5px; line-height: 1.62; color: var(--muted); }

@media (max-width: 860px) { .expect-grid { grid-template-columns: 1fr; } }

/* ==================== 404 PAGE ==================== */
.notfound-num { font-family: 'Newsreader', serif; font-weight: 500; font-size: clamp(120px,20vw,220px); line-height: .9; letter-spacing: -.04em; color: var(--ink); }
.notfound-num .zero { color: var(--accent); }
.notfound-title { font-family: 'Newsreader', serif; font-weight: 500; font-size: clamp(26px,3.4vw,38px); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 16px; }
.notfound-actions { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
@media (max-width: 860px) { .notfound-num { font-size: 150px !important; } .notfound-actions { flex-direction: column !important; align-items: stretch !important; } }

/* ==================== responsive (site-wide) ==================== */
@media (max-width: 560px) {
  .form-row-2, .field-group { grid-template-columns: 1fr !important; }
  .foot-grid { grid-template-columns: 1fr !important; gap: 26px !important; }
}
@media (max-width: 860px) {
  .foot-grid { grid-template-columns: 1fr 1fr !important; gap: 30px !important; }
  .hero h1 { font-size: 38px !important; }
  /* The hero animation card was filling the full mobile column width (346px,
     51% of a typical phone's viewport height) — way too dominant for a
     supporting visual sitting below the headline. Capped and centered.
     Needs an explicit width, not just max-width: every child of .hero-media
     is position:absolute (contributes zero intrinsic size), so pairing
     margin:auto with only max-width triggers shrink-to-fit sizing and the
     box collapses to ~0 — confirmed by measuring it before landing on this. */
  /* Left-aligned, not centered: the headline/CTAs above it sit flush against
     the wrap padding (left:22px), and a centered card here reads as
     misaligned floating in the middle of the page rather than part of the
     same column — confirmed by measuring both (75px vs 22px) before fixing. */
  .hero-media { width: 240px; max-width: 100%; margin: 0; }
  .path-grid { grid-template-columns: 1fr !important; }
  /* !important needed: .path-arrow is a direct child of [data-stagger], so the
     reveal-on-scroll system's [data-stagger] > *.is-shown { transform:none }
     rule (higher specificity once revealed) would otherwise cancel this. */
  .path-arrow { transform: rotate(90deg) !important; justify-self: center; padding: 2px 0; }
  .price-grid { display: grid !important; grid-template-columns: 1fr !important; gap: 14px !important; }
  .bundle-grid { grid-template-columns: 1fr !important; gap: 26px !important; }
  .trust-strip { flex-wrap: wrap !important; justify-content: center !important; gap: 22px 30px !important; }
  .trust-strip--tools { flex-direction: column; gap: 18px !important; }
  .trust-strip--tools .tools-strip { justify-content: center; row-gap: 22px; column-gap: 30px; width: 100%; }
  .trust-strip--tools .tool-logo { height: 22px; }
  /* Label gets its own row above the ticker on mobile — sharing one row was
     what made it wrap awkwardly. The ticker itself keeps auto-scrolling
     (still the full-width row below), just with a tighter logo margin so
     more of each pass is visible on a narrow screen. */
  .trust-strip--logos { flex-direction: column; gap: 14px !important; }
  .trust-strip--logos .marquee-mask { width: 100%; }
  .trust-strip--logos .trust-logo { margin: 0 22px; }
  [data-teasercard] { flex: 0 0 78% !important; }
  .wrap, .wrap-narrow { padding-left: 22px !important; padding-right: 22px !important; }
}
