/* ============================================================================
   Brio Studio — Design System
   Clean light minimalism · Sora (display) + Inter (body) · orange accent
   ============================================================================ */

/* ---- Design tokens ------------------------------------------------------- */
:root {
  /* Brand */
  --c-accent:        #F1580B;   /* bright orange — large headline, graphics, dot */
  --c-accent-deep:   #C9460B;   /* accessible orange — buttons (white text 4.8:1), small text */
  --c-accent-hover:  #AD3C08;   /* button hover */
  --c-accent-soft:   #FFEEE2;   /* tint surfaces */
  --c-accent-glow:   #FFD9C2;   /* decorative blob */

  /* Neutrals */
  --c-bg:            #FBFAF8;   /* warm off-white page */
  --c-surface:       #FFFFFF;
  --c-ink:           #14110E;   /* near-black headings (16:1 on bg) */
  --c-text:          #2C2926;   /* body */
  --c-text-muted:    #6B6661;   /* secondary (5.0:1 on bg) */
  --c-border:        #ECE7E1;
  --c-border-strong: #DCD6CE;

  /* Type */
  --font-display: 'Sora', system-ui, -apple-system, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing rhythm (4/8) */
  --space-section: clamp(72px, 9vw, 128px);
  --container:     1200px;

  /* Radii / elevation */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(20,17,14,.06), 0 2px 6px rgba(20,17,14,.04);
  --shadow-md: 0 8px 24px rgba(20,17,14,.08);
  --shadow-lg: 0 30px 60px -18px rgba(20,17,14,.28), 0 12px 28px -12px rgba(20,17,14,.14);

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
  --t-fast: .16s var(--ease);
  --t-base: .24s var(--ease);

  /* Layers */
  --z-header: 100;
  --z-overlay: 120;
}

/* ---- Reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

body {
  font-family: var(--font-body);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
/* The hidden attribute must always win, even over author display rules
   (e.g. .flow__img sets display:block — without this the case-study video
   fallback screenshot would paint on top of the playing video). */
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
:focus-visible { outline: 3px solid var(--c-accent-deep); outline-offset: 3px; border-radius: 4px; }

/* ---- Layout helpers ------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-weight: 600; font-size: 15.5px; letter-spacing: -.01em;
  white-space: nowrap;
  transition: transform var(--t-fast), background var(--t-base), box-shadow var(--t-base), border-color var(--t-base), color var(--t-base);
}
.btn svg { width: 18px; height: 18px; transition: transform var(--t-base); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--c-accent-deep);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(201,70,11,.55);
}
.btn--primary:hover { background: var(--c-accent-hover); box-shadow: 0 12px 26px -8px rgba(201,70,11,.6); }

.btn--ghost {
  background: var(--c-surface);
  color: var(--c-ink);
  border: 1.5px solid var(--c-border-strong);
}
.btn--ghost:hover { border-color: var(--c-ink); background: #fff; }

.btn--sm { min-height: 46px; padding: 0 20px; font-size: 14.5px; }

/* ============================================================================
   Header / Navigation
   ============================================================================ */
/* Single header, pinned once at the very top, floating over the hero.
   Not sticky — it does not follow the scroll down the page. */
.header {
  position: absolute; top: 0; left: 0; right: 0; z-index: var(--z-header);
  background: transparent;
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px;
}

/* Logo */
.logo { display: inline-flex; flex-direction: column; line-height: 1; }
.logo__mark {
  position: relative;
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800; font-size: 26px; letter-spacing: -.02em;
  color: var(--c-ink);
}
/* Round dot sitting just above-right of the "O" (~45°) */
.logo__dot {
  position: absolute; top: -1px; right: -9px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--c-accent);
  aspect-ratio: 1;
}
@media (prefers-reduced-motion: no-preference) {
  .logo__dot { animation: dotPulse 2.6s ease-in-out infinite; }
}
@keyframes dotPulse {
  0%, 100% { transform: scale(1);    box-shadow: 0 0 0 0 rgba(241,88,11,.45); }
  50%      { transform: scale(1.28); box-shadow: 0 0 0 5px rgba(241,88,11,0); }
}
.logo__sub {
  font-family: var(--font-display);
  font-size: 10.5px; font-weight: 600; letter-spacing: .42em;
  color: var(--c-text-muted); margin-top: 4px; padding-left: 2px;
}

/* Primary nav */
.nav { display: flex; align-items: center; gap: 38px; }
.nav__link {
  position: relative;
  font-size: 15px; font-weight: 500; color: var(--c-text);
  padding: 6px 2px;
  transition: color var(--t-fast);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 2px; background: var(--c-accent);
  transform: scaleX(0); transform-origin: left; border-radius: 2px;
  transition: transform var(--t-base);
}
.nav__link:hover { color: var(--c-ink); }
.nav__link:hover::after { transform: scaleX(1); }

.header__cta { display: inline-flex; align-items: center; gap: 14px; }

/* Mobile toggle */
.nav-toggle {
  display: none; width: 46px; height: 46px;
  align-items: center; justify-content: center;
  border-radius: var(--r-sm); border: 1.5px solid var(--c-border-strong);
}
.nav-toggle svg { width: 22px; height: 22px; color: var(--c-ink); }

/* ============================================================================
   Hero
   ============================================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  padding: 132px 0 92px;   /* top room for the floating header */
}

/* ---- Full-screen background animation layer ---------------------------- */
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: #fff; }

/* Soft 2D balls — flat, orange-tinted circles that gently drift in place. */
.hero__ball { position: absolute; border-radius: 50%; will-change: transform; }
.hero__ball--1 { top: -8%;    left: -4%;  width: min(34vw, 380px); aspect-ratio: 1;
  background: radial-gradient(circle at 34% 30%, #FFE7D6, #FFD2B6); opacity: .82; filter: blur(2px); }
.hero__ball--2 { top: 6%;     right: -6%; width: min(26vw, 300px); aspect-ratio: 1;
  background: radial-gradient(circle at 34% 30%, #FFF1E8, #FFDFCB); opacity: .8;  filter: blur(1px); }
.hero__ball--3 { top: 30%;    right: 14%; width: 150px;            aspect-ratio: 1;
  background: radial-gradient(circle at 34% 30%, #FFE0CC, #FFCBA8); opacity: .6; }
.hero__ball--4 { bottom: -12%; right: 3%;  width: min(30vw, 340px); aspect-ratio: 1;
  background: radial-gradient(circle at 34% 30%, #FFE9DA, #FFCFB2); opacity: .74; filter: blur(2px); }
.hero__ball--5 { bottom: 8%;  left: 9%;    width: 90px;            aspect-ratio: 1;
  background: radial-gradient(circle at 34% 30%, #FBA774, #F1580B); opacity: .24; }
.hero__ball--6 { top: 16%;    left: 34%;   width: 48px;            aspect-ratio: 1;
  background: var(--c-accent); opacity: .5; }
.hero__ball--7 { top: 46%;    left: 5%;    width: 120px;           aspect-ratio: 1;
  background: radial-gradient(circle at 34% 30%, #FFDCC6, #FFC7A0); opacity: .55; }
@media (prefers-reduced-motion: no-preference) {
  .hero__ball--1 { animation: floatY  13s ease-in-out infinite; }
  .hero__ball--2 { animation: floatXY 15s ease-in-out infinite; }
  .hero__ball--3 { animation: floatX  10s ease-in-out infinite; }
  .hero__ball--4 { animation: floatY  16s ease-in-out infinite; }
  .hero__ball--5 { animation: floatXY  9s ease-in-out infinite; }
  .hero__ball--6 { animation: floatX   8s ease-in-out infinite; }
  .hero__ball--7 { animation: floatY  11s ease-in-out infinite; }
}
@keyframes floatY  { 0%, 100% { transform: translateY(0); }   50% { transform: translateY(-22px); } }
@keyframes floatX  { 0%, 100% { transform: translateX(0); }   50% { transform: translateX(18px); } }
@keyframes floatXY { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-16px, 14px); } }

/* Soft white bloom keeping the headline crisp above the drifting balls. */
.hero__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(62% 52% at 50% 50%, rgba(255,255,255,.9), rgba(255,255,255,.4) 55%, rgba(255,255,255,0) 82%);
}

/* ---- Centered content -------------------------------------------------- */
.hero__inner { position: relative; z-index: 2; max-width: 880px; }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display);
  font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--c-accent-deep);
}
.hero__eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--c-accent); flex: none;
}
/* Title — asymmetric, airy, agency-style typography */
.hero__title {
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(6px, 1vw, 16px);          /* extra air between lines */
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(46px, 7vw, 88px);
  line-height: .98; letter-spacing: -.035em;
  color: var(--c-ink);
  margin-top: 30px;
}
.hero__line { display: block; white-space: nowrap; }
.hero__title .accent { color: var(--c-accent); }
/* Round orange dot closing the headline (matches the brand dot, not a square) */
.hero__period {
  display: inline-block;
  width: .13em; height: .13em;
  margin-left: .07em;
  border-radius: 50%;
  background: var(--c-accent);
  vertical-align: baseline;
}
/* The elegant vintage serif-italic "for" — lowercase, high-contrast, brand orange */
.hero__for {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-style: italic; font-weight: 500;
  font-size: .6em; line-height: 1;
  letter-spacing: 0;
  color: var(--c-accent);
  transform: translateX(.18em);        /* faint nudge right of centre */
  margin: -.02em 0;
}

.hero__subtitle {
  max-width: 52ch;
  margin: 30px auto 0;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.62; color: var(--c-text-muted);
}

.hero__actions {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 28px; margin-top: 44px;
}

/* Secondary CTA — refined text link with animated underline + arrow */
.link-cta {
  position: relative;
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  color: var(--c-ink); padding-bottom: 5px;
}
.link-cta::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1.5px; background: currentColor;
  transform: scaleX(1); transform-origin: right;
  transition: transform var(--t-base);
}
.link-cta:hover::after { transform: scaleX(0); transform-origin: left; }
.link-cta svg { width: 18px; height: 18px; transition: transform var(--t-base); }
.link-cta:hover svg { transform: translateX(4px); }

/* ============================================================================
   Marquee separator — premium infinite ticker between Hero and the next block
   ============================================================================ */
.marquee {
  width: 100%; height: 64px; overflow: hidden;
  display: flex; align-items: center;
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, .08);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  /* Gentle fade in/out at both edges instead of a hard cut. */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.marquee__track {
  display: flex; flex: none; width: max-content;
  will-change: transform;
  /* Three identical groups; shifting by exactly one group (-33.3333%) and
     looping back is visually identical → a perfectly seamless left → right run. */
  animation: marquee 30s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; flex: none; margin: 0; padding: 0; list-style: none; }
.marquee__item {
  display: inline-flex; align-items: center; flex: none; white-space: nowrap;
  font-family: var(--font-display);
  font-size: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255, 255, 255, .92);
}
/* Brand accent dot before every phrase — equal breathing room on both sides. */
.marquee__item::before {
  content: ""; flex: none;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--c-accent); margin: 0 27px;
}
@keyframes marquee {
  from { transform: translateX(-33.3333%); }
  to   { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; transform: none; }
}

/* ============================================================================
   Section shell · shared primitives
   ============================================================================ */
.section { padding-block: var(--space-section); }
.section__head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 64px); }
.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display);
  font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  line-height: 1;   /* tight line box so the dot centres exactly on the caps */
  color: var(--c-accent-deep); margin-bottom: 18px;
}
.kicker::before {
  content: ""; width: 8px; height: 8px; aspect-ratio: 1; border-radius: 50%;
  background: var(--c-accent); flex: none;
}
.section__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(30px, 4.4vw, 50px); line-height: 1.04; letter-spacing: -.03em;
  color: var(--c-ink);
}
.section__lead {
  margin-top: 18px; max-width: 54ch;
  font-size: clamp(16px, 1.4vw, 18px); line-height: 1.6; color: var(--c-text-muted);
}

/* ============================================================================
   Floating decor — faint line-art symbols drifting behind the card sections,
   echoing the Hero's motion. Purely decorative, sits under the content, kept
   pale so it never competes with the text.
   ============================================================================ */
.services, .why, .faq { position: relative; }
.services > .container, .why > .container, .pricing > .container, .faq > .container { position: relative; z-index: 1; }
.floaty { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.floaty__icon {
  position: absolute; background-repeat: no-repeat; background-position: center; background-size: contain;
  will-change: transform;
}
.i-browser { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D8D2CA' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cpath d='M3 9h18'/%3E%3C/svg%3E"); }
.i-spark   { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F3C3A0' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2.5l1.7 6 6 1.5-6 1.5L12 21l-1.7-6-6-1.5 6-1.5z'/%3E%3C/svg%3E"); }
.i-bars    { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D8D2CA' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Cpath d='M8 16v-4M12 16V8M16 16v-6'/%3E%3C/svg%3E"); }
.i-phone   { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D8D2CA' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='2.5' width='12' height='19' rx='2.5'/%3E%3Cpath d='M10 5.5h4'/%3E%3C/svg%3E"); }
.i-node    { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F3C3A0' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='6' r='2'/%3E%3Ccircle cx='18' cy='18' r='2'/%3E%3Ccircle cx='18' cy='6' r='2'/%3E%3Cpath d='M8 6h8M18 8v8M8 7.4l8 9.2'/%3E%3C/svg%3E"); }
.i-cursor  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D8D2CA' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3l6.5 16 2.3-6.2L20 10.5z'/%3E%3C/svg%3E"); }
.i-code    { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D8D2CA' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.5 6 3 12l5.5 6M15.5 6 21 12l-5.5 6'/%3E%3C/svg%3E"); }
.i-bolt    { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F3C3A0' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2.5 4.5 13.5h6L9.5 21.5 19 10.5h-6z'/%3E%3C/svg%3E"); }
.i-chat    { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D8D2CA' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11.5a8.5 8.5 0 0 1-8.5 8.5c-1.5 0-3-.4-4.2-1.1L3 20.5l1.6-4.2A8.5 8.5 0 1 1 21 11.5z'/%3E%3Cpath d='M8 10.5h8M8 13.5h5'/%3E%3C/svg%3E"); }
.i-gear    { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D8D2CA' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3.4'/%3E%3Cpath d='M12 2.8v2.6M12 18.6v2.6M2.8 12h2.6M18.6 12h2.6M5.4 5.4l1.9 1.9M16.7 16.7l1.9 1.9M18.6 5.4l-1.9 1.9M7.3 16.7l-1.9 1.9'/%3E%3C/svg%3E"); }
.i-chart   { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F3C3A0' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18'/%3E%3Cpath d='M5 17l4.5-5.5 3.5 3L19 7.5'/%3E%3Cpath d='M14.5 7.5H19V12'/%3E%3C/svg%3E"); }
.i-target  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F3C3A0' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Ccircle cx='12' cy='12' r='4.5'/%3E%3Ccircle cx='12' cy='12' r='1'/%3E%3C/svg%3E"); }
.i-layers  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D8D2CA' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 3 8.2l9 5.2 9-5.2z'/%3E%3Cpath d='M3 13.4l9 5.2 9-5.2'/%3E%3C/svg%3E"); }
.i-q       { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F3C3A0' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9.4 9.3a2.7 2.7 0 1 1 4.2 2.6c-.9.6-1.6 1.2-1.6 2.3v.3'/%3E%3Ccircle cx='12' cy='17.3' r='.6' fill='%23F3C3A0' stroke='none'/%3E%3C/svg%3E"); }

/* Tick list — accent dot markers */
.ticklist { list-style: none; padding: 0; display: grid; gap: 12px; }
.ticklist li { position: relative; padding-left: 28px; color: var(--c-text); line-height: 1.55; }
.ticklist li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--c-accent); box-shadow: 0 0 0 4px var(--c-accent-soft);
}
.ticklist--lg li { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--c-ink); }

/* Outline button variant (Pricing — airy, no fill) */
.btn--outline {
  background: transparent; color: var(--c-accent-deep);
  border: 1.5px solid var(--c-accent-deep);
  border-radius: 18px;
}
.btn--outline:hover { background: var(--c-accent-soft); border-color: var(--c-accent-deep); }

/* Accent variant of the text link-cta */
.link-cta--accent { color: var(--c-accent-deep); }

/* ============================================================================
   Services
   ============================================================================ */
.cards {
  display: grid; gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}
.card {
  position: relative; overflow: hidden;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 30px 28px 32px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
/* Custom hover — tint floods from the corner + accent line grows under the title */
.card--service::before {
  content: ""; position: absolute; top: -40%; right: -40%;
  width: 70%; height: 80%; border-radius: 50%;
  background: radial-gradient(closest-side, var(--c-accent-soft), transparent 70%);
  opacity: 0; transform: scale(.6); transition: opacity var(--t-base), transform .5s var(--ease);
  pointer-events: none;
}
.card--service:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--c-border-strong);
}
.card--service:hover::before { opacity: 1; transform: scale(1); }
.card__icon {
  display: inline-grid; place-items: center;
  width: 54px; height: 54px; border-radius: var(--r-md);
  background: linear-gradient(160deg, var(--c-accent-soft), #fff);
  color: var(--c-accent-deep);
  box-shadow: inset 0 1px 0 #fff, 0 6px 14px -8px rgba(201,70,11,.5);
  margin-bottom: 22px;
  transition: transform .5s var(--ease), background var(--t-base);
}
.card__icon svg { width: 28px; height: 28px; }
.card--service:hover .card__icon { transform: translateY(-2px) rotate(-3deg); }
.card__title { font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: -.02em; color: var(--c-ink); }
.card__text { margin-top: 10px; color: var(--c-text-muted); line-height: 1.55; font-size: 15.5px; }

/* CTA card */
.card--cta {
  background: var(--c-accent-soft);
  border: 1px dashed var(--c-accent);
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
}
.card--cta .card__title { color: var(--c-ink); }
.card--cta .card__text { color: var(--c-text); }
.card--cta .link-cta { margin-top: 18px; }

/* ============================================================================
   Featured Project
   ============================================================================ */
.featured__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center;
}
.featured__media {
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--c-border);
  will-change: transform;
}
.featured__media img { width: 100%; height: auto; display: block; }
.featured__meta { margin-top: 14px; color: var(--c-accent-deep); font-weight: 600; font-size: 14.5px; }
.featured__lead { margin-top: 22px; font-size: 17px; line-height: 1.62; color: var(--c-text); }
.featured__detail { margin-top: 26px; }
.featured__detail h3 { font-family: var(--font-display); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--c-text-muted); margin-bottom: 14px; }
.featured__stack { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.featured__stack span {
  font-family: var(--font-display); font-size: 12.5px; font-weight: 600; color: var(--c-text);
  padding: 6px 12px; border: 1px solid var(--c-border-strong); border-radius: var(--r-pill);
}
.featured .btn { margin-top: 32px; }

/* ============================================================================
   Before / After slider
   ============================================================================ */
.ba__grid { display: grid; grid-template-columns: 1.7fr .8fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.ba__slider {
  position: relative; overflow: hidden; user-select: none;
  aspect-ratio: 16 / 10; touch-action: pan-y;
  /* frame (.browser) provides the border, radius and shadow now */
}
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__before-wrap { position: absolute; inset: 0; width: 50%; overflow: hidden; }
.ba__before-wrap .ba__img { width: auto; height: 100%; max-width: none; }
/* keep before image aligned to the slider's left edge regardless of clip width */
.ba__slider { --ba-w: 100%; }
.ba__before-wrap .ba__img--before { width: var(--ba-w); }
.ba__tag {
  position: absolute; top: 16px; z-index: 3;
  font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 12px; border-radius: var(--r-pill); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .3s var(--ease);   /* fade in on interaction */
}
.ba__slider:hover .ba__tag,
.ba__slider:focus-within .ba__tag { opacity: 1; }
.ba__tag--before { left: 16px; background: rgba(20,17,14,.66); color: #fff; }
.ba__tag--after  { right: 16px; background: var(--c-accent-deep); color: #fff; }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: 50%; z-index: 4;
  width: 2px; background: rgba(255,255,255,.9); transform: translateX(-50%); cursor: ew-resize;
  box-shadow: 0 0 0 1px rgba(20,17,14,.06);
}
.ba__handle-grip {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(.9);
  width: 42px; height: 42px; border-radius: 50%;
  background: #fff; color: var(--c-ink); display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0;   /* appears on interaction; the scroll wipe already signals it's live */
  transition: opacity var(--t-base), transform var(--t-base), box-shadow var(--t-base);
}
.ba__slider:hover .ba__handle-grip,
.ba__slider:focus-within .ba__handle-grip {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.06);
  box-shadow: 0 10px 24px -8px rgba(201,70,11,.5);
}
.ba__handle-grip svg { width: 20px; height: 20px; }
.ba__handle:focus-visible { outline: 3px solid var(--c-accent-deep); outline-offset: 2px; }
.ba__results-title { font-family: var(--font-display); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--c-text-muted); margin-bottom: 18px; }

/* ============================================================================
   Showcase — Featured project + Before/After, merged & centred
   ============================================================================ */
.showcase { position: relative; z-index: 0; overflow: hidden; text-align: center; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .kicker { justify-content: center; }
.showcase__lead { margin-inline: auto; }
.showcase .featured__meta { margin-top: 12px; }

/* Browser-framed comparison — the redesign shown inside a clean window chrome */
.showcase__frame {
  max-width: 980px; margin: clamp(32px, 5vw, 56px) auto 0;
}
/* Soft button-like spring the moment the auto-sweep starts */
@keyframes frameSpring {
  0%   { transform: translateY(0)    scale(1); }
  35%  { transform: translateY(-8px) scale(1.008); }
  65%  { transform: translateY(2px)  scale(.999); }
  100% { transform: translateY(0)    scale(1); }
}
@media (prefers-reduced-motion: no-preference) {
  .showcase__frame.is-springing { animation: frameSpring .75s var(--ease); }
}
.browser {
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--c-border); box-shadow: var(--shadow-lg);
  background: #fff;
}
.browser__bar {
  display: flex; align-items: center; gap: 14px;
  height: 46px; padding: 0 16px;
  background: var(--c-bg); border-bottom: 1px solid var(--c-border);
}
.browser__dots { display: inline-flex; gap: 7px; flex: none; }
.browser__dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--c-border-strong); }
.browser__url {
  flex: 1; min-width: 0; max-width: 340px; margin-inline: auto;
  padding: 6px 14px; border-radius: var(--r-pill);
  background: #fff; border: 1px solid var(--c-border);
  font-size: 12.5px; color: var(--c-text-muted); text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.showcase__detail {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px);
  max-width: 880px; margin: clamp(48px, 6vw, 84px) auto 0; text-align: left;
}
.showcase__col h3 {
  font-family: var(--font-display); font-size: 13px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--c-text-muted); margin-bottom: 16px;
}
.showcase__foot {
  display: flex; flex-direction: column; align-items: center; gap: 22px;
  margin-top: clamp(30px, 4vw, 48px);
}
.showcase__foot .featured__stack { justify-content: center; }

/* ---- Showcase ghosts — blurred site silhouettes flanking the frame -------
   Skeleton "websites" at both edges, heavily blurred: a quiet hint that more
   case studies exist beyond the featured one. */
.showcase__stage { position: relative; }
.showcase__stage > .container { position: relative; z-index: 1; }
.showcase__ghost {
  position: absolute; top: 50%; z-index: 0;
  width: min(21vw, 300px);
  transform: translateY(-50%);
  pointer-events: none;
}
.showcase__ghost--left  { left:  clamp(-60px, -2vw, -24px); }
.showcase__ghost--right { right: clamp(-60px, -2vw, -24px); }
.ghost__frame {
  display: grid; gap: 12px; align-content: start;
  aspect-ratio: 3 / 4;
  padding: 18px 16px;
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  filter: blur(5px); opacity: .65;
}
.ghost__bar { height: 12px; border-radius: var(--r-pill); background: var(--c-border); }
.ghost__hero { height: 128px; border-radius: 10px; background: linear-gradient(150deg, var(--c-accent-glow), var(--c-accent-soft)); }
.ghost__frame--alt .ghost__hero { height: 100px; background: linear-gradient(150deg, #FFD2B6, #FFEEE2); }
.ghost__line { height: 10px; width: 86%; border-radius: var(--r-pill); background: var(--c-border); }
.ghost__line--short { width: 55%; }
.ghost__blocks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ghost__blocks i { aspect-ratio: 1; border-radius: 8px; background: var(--c-accent-soft); border: 1px solid var(--c-border); }
/* Not enough side room below this width — the hint would crowd the frame. */
@media (max-width: 1280px) { .showcase__ghost { display: none; } }

/* Playfair italic accent — the hero "for" face, used pointwise in headings */
.serif {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-style: italic; font-weight: 500; letter-spacing: 0;
  color: var(--c-accent);
}

/* Section positioning contexts (used by the floating-symbol decor layers).
   The old orange ambient glows were removed — the page is clean white now and
   its rhythm comes from the dark bands (marquee, stats, philosophy) instead. */
.pricing { position: relative; z-index: 0; }
/* NB: no overflow:hidden on .contact — it would turn the section into a scroll
   container and break the sticky intro column below. */
.contact { position: relative; z-index: 0; padding-bottom: clamp(48px, 6vw, 72px); }


/* ============================================================================
   Results / Stats — one concentrated dark band with orange count-up numerals.
   Gives the all-white page a strong rhythm point without adding orange fill.
   ============================================================================ */
.stats { background: var(--c-ink); color: #fff; }
.stats__grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 4vw, 48px);
  text-align: center;
}
.stat { display: grid; gap: 10px; justify-items: center; }
.stat__num {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(40px, 5.2vw, 64px); line-height: 1; letter-spacing: -.03em;
  color: var(--c-accent); font-variant-numeric: tabular-nums;
}
.stat__label { font-size: 14.5px; color: rgba(255, 255, 255, .72); }

/* ============================================================================
   Process
   ============================================================================ */
.process__steps {
  list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
  position: relative;
}
/* Wavy connector between the step numbers, drawn as ONE continuous SVG path
   (no tiling → no seams, no broken segments). vector-effect:non-scaling-stroke
   keeps the round-cap dashes perfectly round and evenly spaced at any width,
   so the line reads as a clean row of orange dots along a gentle wave. */
/* Inset to line up with the circle centres: the numbers are left-aligned in
   their columns, so circle 01's centre sits ~2% from the left and 05's ~84%.
   Anchoring the wave there makes it run unbroken from the first number to the
   last, with both ends tucked under the end circles (no gap after 01). */
.process__rail {
  position: absolute; top: 0; left: 2%; right: 16%; height: 40px;
  z-index: 0; pointer-events: none; list-style: none;
}
.process__wave { display: block; width: 100%; height: 100%; overflow: visible; }
.process__wave path {
  fill: none; stroke: var(--c-accent); stroke-width: 3.6;
  stroke-linecap: round; stroke-dasharray: 0.1 17;
  vector-effect: non-scaling-stroke;
}
.process__step {
  position: relative; z-index: 1; display: grid; gap: 6px; justify-items: start;
}
.process__num {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--c-surface); border: 2px solid var(--c-accent);
  font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--c-accent-deep);
  margin-bottom: 12px;
  /* Soft orange halo around each number. */
  box-shadow: 0 0 0 5px rgba(241, 88, 11, .06), 0 0 18px 2px rgba(241, 88, 11, .30);
}
.process__name { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--c-ink); }
.process__note { font-size: 14px; color: var(--c-text-muted); }
.process__loop {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 48px;
  font-family: var(--font-display); font-weight: 600; color: var(--c-text);
}
.process__loop em { color: var(--c-accent); font-style: normal; }
.process__loop span {
  padding: 8px 16px; border-radius: var(--r-pill); background: var(--c-accent-soft); color: var(--c-accent-deep);
  font-size: 14.5px;
}

/* ============================================================================
   Why Brio
   ============================================================================ */
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why__card {
  padding: 26px 24px; border-radius: var(--r-md);
  background: var(--c-surface); border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.why__card:hover { transform: translateY(-3px); border-color: var(--c-accent); box-shadow: var(--shadow-md); }
.why__card h3 {
  position: relative; padding-left: 20px;
  font-family: var(--font-display); font-weight: 700; font-size: 16.5px; color: var(--c-ink); letter-spacing: -.01em;
}
.why__card h3::before {
  content: ""; position: absolute; left: 0; top: .5em;
  width: 9px; height: 9px; border-radius: 50%; background: var(--c-accent);
}
.why__card p { margin-top: 8px; padding-left: 20px; color: var(--c-text-muted); font-size: 14.5px; line-height: 1.5; }

/* ============================================================================
   Design Principles — typed lines with pulsing dot
   ============================================================================ */
.principles { background: var(--c-ink); color: #fff; }
.principles .kicker { color: var(--c-accent-glow); }
.principles .section__title { color: #fff; }
.principles__list { list-style: none; padding: 0; display: grid; gap: clamp(16px, 2.4vw, 30px); }
.principle { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 22px); }
.principle__dot {
  flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--c-accent);
  opacity: .25; transform: scale(.7); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.principle.is-on .principle__dot { opacity: 1; transform: scale(1); }
@media (prefers-reduced-motion: no-preference) {
  .principle.is-on .principle__dot { animation: dotPulse 2.6s ease-in-out infinite; }
}
.principle__text {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(19px, 2.6vw, 32px); line-height: 1.1; letter-spacing: -.025em; color: #fff;
  min-height: 1.1em;
}
.principle__text::after { content: "\200b"; } /* keep line height before typing */
.principle__caret {
  display: inline-block; width: .55ch; margin-left: .04em;
  background: var(--c-accent); color: transparent; border-radius: 2px;
  animation: caretBlink 1s steps(1) infinite;
}
@keyframes caretBlink { 50% { opacity: 0; } }

/* ============================================================================
   Founder — photo left, bio right, proof cards underneath
   ============================================================================ */
/* Text column starts at the photo's top edge — no vertical centring. */
.founder__grid {
  display: grid; grid-template-columns: minmax(260px, 400px) 1fr;
  gap: clamp(32px, 5vw, 72px); align-items: start;
}
.founder__photo { position: relative; margin: 0; }
/* Soft orange orbs tucked behind opposite corners — tie into the hero balls. */
.founder__photo::before {
  content: ""; position: absolute; right: -30px; bottom: -30px; z-index: -1;
  width: 190px; height: 190px; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #FFDCC6, #FFC7A0); opacity: .8;
}
.founder__photo::after {
  content: ""; position: absolute; left: -22px; top: -22px; z-index: -1;
  width: 92px; height: 92px; border-radius: 50%;
  background: var(--c-accent-soft);
}
/* Half-desaturated portrait; colour quietly returns on hover. */
.founder__photo img {
  width: 100%; height: auto; border-radius: var(--r-lg);
  border: 1px solid var(--c-border); box-shadow: var(--shadow-lg);
  filter: grayscale(50%);
  transition: filter .45s var(--ease);
}
.founder__photo:hover img { filter: grayscale(0); }
.founder__name {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(26px, 2.8vw, 36px); letter-spacing: -.025em; line-height: 1.05;
  color: var(--c-ink);
}
/* Role reads as a small caps label, closed off by a hairline — the bio hangs
   below it like an editorial byline. */
.founder__role {
  margin-top: 10px; padding-bottom: 22px; border-bottom: 1px solid var(--c-border);
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--c-accent-deep);
}
.founder__bio p:not(.founder__role) {
  margin-top: 20px; font-size: clamp(16px, 1.4vw, 18px); line-height: 1.7;
  color: var(--c-text); max-width: 56ch;
}
.founder__facts {
  list-style: none; padding: 0; margin-top: clamp(36px, 4vw, 56px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
/* Flex keeps the dot a fixed, perfectly round 9px circle that never squashes
   and stays optically centred next to one- and two-line labels alike. */
.founder__facts li {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px;
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--c-ink);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.founder__facts li:hover { transform: translateY(-3px); border-color: var(--c-accent); box-shadow: var(--shadow-md); }
.founder__facts li::before {
  content: ""; flex: none;
  width: 9px; height: 9px; aspect-ratio: 1; border-radius: 50%;
  background: var(--c-accent);
}

/* ============================================================================
   Pricing
   ============================================================================ */
/* Flex-wrap (not a fixed grid) so the five service tiers flow 3 + 2 and the
   short last row stays centred instead of clinging to the left. */
.pricing__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.price {
  position: relative; display: flex; flex-direction: column;
  flex: 1 1 300px; max-width: 340px;
  padding: 36px 32px; border-radius: var(--r-lg);
  background: var(--c-surface); border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.price--featured { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.price:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price--featured { border-color: var(--c-accent); }
.price__badge {
  position: absolute; top: 18px; right: 18px;
  font-family: var(--font-display); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--c-accent-deep); background: var(--c-accent-soft);
  padding: 5px 11px; border-radius: var(--r-pill);
}
.price__name { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--c-ink); }
.price__tag { margin-top: 14px; font-family: var(--font-display); font-weight: 800; font-size: 34px; letter-spacing: -.03em; color: var(--c-ink); }
.price__from { font-size: 15px; font-weight: 500; color: var(--c-text-muted); margin-right: 4px; }
.price__text { margin-top: 16px; color: var(--c-text-muted); line-height: 1.55; font-size: 15px; flex: 1; }
.price .btn { margin-top: 28px; width: 100%; }

/* ============================================================================
   FAQ
   ============================================================================ */
.faq__container { max-width: 820px; }
.faq__list { border-top: 1px solid var(--c-border); }
.faq__item { border-bottom: 1px solid var(--c-border); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 4px; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(16px, 1.6vw, 19px); color: var(--c-ink);
  transition: color var(--t-fast);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--c-accent-deep); }
.faq__icon { position: relative; flex: none; width: 18px; height: 18px; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; top: 50%; left: 50%; background: var(--c-accent-deep);
  transform: translate(-50%, -50%); transition: transform var(--t-base), opacity var(--t-base);
}
.faq__icon::before { width: 16px; height: 2px; }
.faq__icon::after { width: 2px; height: 16px; }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq__a { overflow: hidden; }
.faq__a p { padding: 0 4px 24px; color: var(--c-text-muted); line-height: 1.62; max-width: 68ch; }
/* Smooth slide-open: the answer's row animates 0fr → 1fr while the text
   fades in a touch later, so opening glides instead of snapping. Multiple
   items can stay open at once — the list simply grows. */
@media (prefers-reduced-motion: no-preference) {
  .faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
  .faq__a > p { min-height: 0; opacity: 0; transform: translateY(-6px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
  .faq__item[open] .faq__a { grid-template-rows: 1fr; }
  .faq__item[open] .faq__a > p { opacity: 1; transform: none; transition-delay: .12s; }
}

/* ============================================================================
   Contact / Final CTA
   ============================================================================ */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
/* Two-column sticky layout: the taller form scrolls on the LEFT while the
   shorter intro pins on the RIGHT (order:2) at top:110px — it stays parked
   until the grid bottom is reached, then both bottoms align and the page
   continues scrolling normally. (DOM keeps intro first for a natural
   heading-then-form stack once the columns collapse on narrow screens.) */
.contact__intro { position: sticky; top: 110px; order: 2; }
/* The big heading's cap sits lower in its line box than the form's first field
   label — pull it up so both columns line up along the same top edge. */
.contact__intro .section__title { margin-top: -.14em; }
.contact__form { display: grid; gap: 18px; order: 1; }
.field { display: grid; gap: 7px; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--c-ink); }
.field label span[aria-hidden] { color: var(--c-accent-deep); }
.field__opt { font-weight: 400; color: var(--c-text-muted); }
.field input, .field textarea {
  font: inherit; color: var(--c-ink);
  background: var(--c-surface); border: 1.5px solid var(--c-border-strong); border-radius: var(--r-md);
  padding: 13px 15px; transition: border-color var(--t-base), box-shadow var(--t-base);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--c-accent-deep); box-shadow: 0 0 0 4px var(--c-accent-soft);
}
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact__submit { margin-top: 4px; justify-self: start; }
.contact__status { font-size: 14.5px; font-weight: 600; min-height: 1.2em; }
.contact__status.is-ok { color: #157347; }
.contact__status.is-err { color: var(--c-accent-hover); }
.contact__fine { font-size: 13px; color: var(--c-text-muted); }
.contact__fine a { color: var(--c-accent-deep); text-decoration: underline; }

/* ============================================================================
   Case study page
   ============================================================================ */
/* Brand background: white base with soft orange abstract shapes drifting behind
   the content (content sits above via .case > .section z-index). */
.case { position: relative; }
.case__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.case > .section { position: relative; z-index: 1; }
.case__shape { position: absolute; border-radius: 50%; will-change: transform; }
.case__shape--1 { top: 3%;  left: -5%;  width: min(30vw, 360px); aspect-ratio: 1;
  background: radial-gradient(circle at 34% 30%, #FFE7D6, #FFD2B6); opacity: .5;  filter: blur(3px); }
.case__shape--2 { top: 24%; right: -6%; width: min(24vw, 300px); aspect-ratio: 1;
  background: radial-gradient(circle at 34% 30%, #FFF1E8, #FFDDC8); opacity: .5;  filter: blur(2px); }
.case__shape--3 { top: 55%; left: 1%;   width: 190px;            aspect-ratio: 1;
  background: radial-gradient(circle at 34% 30%, #FBA774, #F1580B); opacity: .16; filter: blur(1px); }
.case__shape--4 { top: 80%; right: 4%;  width: min(26vw, 320px); aspect-ratio: 1;
  background: radial-gradient(circle at 34% 30%, #FFE9DA, #FFCFB2); opacity: .48; filter: blur(3px); }
@media (prefers-reduced-motion: no-preference) {
  .case__shape--1 { animation: floatY  14s ease-in-out infinite; }
  .case__shape--2 { animation: floatXY 16s ease-in-out infinite; }
  .case__shape--3 { animation: floatX  11s ease-in-out infinite; }
  .case__shape--4 { animation: floatY  15s ease-in-out infinite; }
}

/* Hero carries only the top offset for the floating header; the body section
   right below brings its own (small) spacing — no double air in between. */
.case__hero { padding-top: 132px; padding-bottom: 0; }
.case__body { padding-top: clamp(32px, 4vw, 48px); padding-bottom: clamp(20px, 3vw, 36px); }
.case__back {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 30px;
  font-family: var(--font-display); font-weight: 600; font-size: 14.5px; color: var(--c-text-muted);
  transition: color var(--t-fast);
}
.case__back svg { width: 18px; height: 18px; transition: transform var(--t-base); }
.case__back:hover { color: var(--c-ink); }
.case__back:hover svg { transform: translateX(-3px); }
.case__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(36px, 6vw, 72px); line-height: 1; letter-spacing: -.035em; color: var(--c-ink);
}
.case__meta { margin-top: 16px; color: var(--c-accent-deep); font-weight: 600; }
.case__shot {
  margin-top: 48px; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--c-border);
}
.case__shot img { width: 100%; height: auto; display: block; }

.case__layout { display: grid; grid-template-columns: 1.6fr .8fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.case__block { margin-bottom: 44px; }
.case__block h2 {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: -.02em; color: var(--c-ink); margin-bottom: 16px;
}
.case__block p { color: var(--c-text); line-height: 1.7; max-width: 64ch; margin-bottom: 14px; }
.case__aside { position: sticky; top: 110px; }
.case__facts {
  display: grid; gap: 20px; padding: 28px;
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg);
}
.case__facts dt { font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--c-text-muted); margin-bottom: 6px; }
.case__facts dd { color: var(--c-ink); font-weight: 600; }
.case__facts .featured__stack { margin-top: 4px; }
.case__facts .featured__stack span { font-weight: 600; }

/* ---- Case flow: Old website → Problems → Our redesign → Results ---------- */
.flow .case__block { margin-bottom: 0; }
.flow__arrow { display: flex; justify-content: center; padding: 28px 0; color: var(--c-accent); }
.flow__arrow svg { width: 30px; height: 34px; }
@media (prefers-reduced-motion: no-preference) {
  .flow__arrow svg { animation: arrowNudge 2.2s ease-in-out infinite; }
}
@keyframes arrowNudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

.flow__shot { box-shadow: var(--shadow-md); margin-top: 6px; }
.flow__img { width: 100%; max-height: 440px; object-fit: cover; object-position: top; display: block; }
/* Video slot: 16:9 matches the 1920×1080 screen capture exactly, so the
   video fills the frame edge-to-edge with zero cropping. */
.flow__media { position: relative; aspect-ratio: 16 / 9; background: var(--c-bg); }
.flow__media .flow__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.flow__media .flow__img { position: absolute; inset: 0; height: 100%; max-height: none; }

/* Problems — ✕ markers in the deep brand orange */
.xlist { list-style: none; padding: 0; display: grid; gap: 12px; }
.xlist li { position: relative; padding-left: 30px; color: var(--c-text); line-height: 1.55; }
.xlist li strong { color: var(--c-ink); }
.xlist li::before, .xlist li::after {
  content: ""; position: absolute; left: 2px; top: .72em; width: 14px; height: 2px;
  border-radius: 2px; background: var(--c-accent-hover);
}
.xlist li::before { transform: rotate(45deg); }
.xlist li::after  { transform: rotate(-45deg); }

/* Results — concrete numbers in light stat cards */
.flow__stats { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.flow__stats li {
  display: grid; gap: 2px; padding: 22px 24px;
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.flow__num {
  font-family: var(--font-display); font-weight: 800; font-size: 34px;
  letter-spacing: -.03em; line-height: 1; color: var(--c-accent);
  font-variant-numeric: tabular-nums;
}
.flow__stat-label { margin-top: 8px; font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--c-ink); }
.flow__stat-note { font-size: 13.5px; color: var(--c-text-muted); }

.case__cta { text-align: center; padding-top: clamp(24px, 3vw, 40px); }
.case__cta-inner { max-width: 620px; margin-inline: auto; }
.case__cta .section__lead { margin-inline: auto; }
.case__cta .btn { margin-top: 30px; }

@media (max-width: 1024px) {
  .case__layout { grid-template-columns: 1fr; }
  .case__aside { position: static; }
}

/* ============================================================================
   Footer (minimal — shared with privacy.html)
   ============================================================================ */
/* Footer: clean, no orange — a single hairline separates it from the page. */
.footer {
  padding: 40px 0 44px; margin-top: 0;
  border-top: 1px solid var(--c-border);
}
.footer__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.footer__links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer__links a, .footer__copy { font-size: 14px; color: var(--c-text-muted); transition: color var(--t-fast); }
.footer__links a:hover { color: var(--c-ink); }

/* ============================================================================
   Reveal animation
   ============================================================================ */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] { opacity: 0; transform: translateY(18px); }
  [data-reveal].in { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }
}

/* ============================================================================
   Responsive
   ============================================================================ */
@media (max-width: 860px) {
  .nav, .header__cta .btn--sm { display: none; }
  .nav-toggle { display: inline-flex; }
  .header__inner { height: 74px; }
}

/* Coarse fallback only — full mobile design is a later phase.
   Keeps multi-column grids from shattering on narrow desktop windows. */
@media (max-width: 1024px) {
  .cards, .why__grid { grid-template-columns: repeat(2, 1fr); }
  .pricing__grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .featured__grid, .ba__grid, .contact__grid, .showcase__detail, .founder__grid { grid-template-columns: 1fr; }
  .showcase__detail { max-width: 480px; }
  .founder__photo { max-width: 400px; }
  .founder__facts { grid-template-columns: repeat(2, 1fr); }
  .contact__intro { position: static; order: 0; }
  .process__steps { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .process__rail { display: none; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
}
@media (max-width: 600px) {
  .cards, .why__grid, .process__steps, .founder__facts, .flow__stats { grid-template-columns: 1fr; }
}

/* Mobile menu (progressive — toggled via [data-open]) */
.mobile-menu {
  position: fixed; inset: 0; z-index: var(--z-overlay);
  background: var(--c-bg);
  display: flex; flex-direction: column;
  padding: 96px 28px 40px;
  transform: translateY(-100%); opacity: 0; visibility: hidden;
  transition: transform .3s var(--ease), opacity .3s var(--ease), visibility .3s;
}
.mobile-menu[data-open="true"] { transform: none; opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: var(--font-display); font-weight: 600; font-size: 26px;
  color: var(--c-ink); padding: 16px 0; border-bottom: 1px solid var(--c-border);
}
.mobile-menu a.btn { margin-top: 28px; font-size: 16px; padding: 0 26px; border-bottom: none; }
.mobile-menu a.btn--primary { color: #fff; }
.mobile-menu__close {
  position: absolute; top: 22px; right: 22px; width: 46px; height: 46px;
  display: grid; place-items: center; border-radius: var(--r-sm);
  border: 1.5px solid var(--c-border-strong);
}
.mobile-menu__close svg { width: 22px; height: 22px; }
