/* Web Builder Agency — white human/robot site */
:root {
  --bg: #ffffff;
  --ink: #0a0a0a;
  --muted: #4b5563;
  --body: #1f2937;
  --line: #e8e8ea;
  --line-strong: #d1d5db;
  --soft: #f6f6f7;
  --max: 1300px;
  --wide: 1320px;
  --gutter: 36px;
  --section-y: 32px;
  --section-y-sm: 24px;
  --grid-gap: 14px;
  --stack: 8px;
  --hero-reserve: 480px;
  --display: "Unbounded", "Archivo Black", "Arial Black", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --sans: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --radius: 999px;
  --sky: #4DC7F8;
  --heading: #037DAE;
  --band: #f6f7f9;
  --fs-1: clamp(28px, 4.2vw, 56px);
  --fs-2: clamp(24px, 3.2vw, 40px);
  --fs-3: 1.125rem;
}
h2 { color: var(--heading); }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-d1, .reveal-d2, .reveal-d3 { opacity: 1 !important; transform: none !important; transition: none !important; }
  /* Reduced motion disables autoplay in JS; manual playback and controls remain available. */
  .hero-media .hero-still { display: block !important; }
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.skip {
  position: absolute;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
  left: 12px; top: 12px;
}
.skip:focus, .skip:focus-visible {
  width: auto; height: auto; padding: 8px 12px; margin: 0;
  overflow: visible; clip: auto; clip-path: none; white-space: normal;
  z-index: 300; background: var(--ink); color: #fff;
}
.shell { width: min(var(--max), calc(100% - var(--gutter))); margin-inline: auto; }
.shell-wide { width: min(1400px, calc(100% - var(--gutter))); margin-inline: auto; }

.mono-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.display {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.95;
  text-transform: uppercase;
}
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 24px;
  background: var(--ink); color: #fff;
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  border: 1px solid var(--ink); border-radius: var(--radius);
  cursor:pointer;text-decoration:none;
  transition:background-color .2s ease,color .2s ease,border-color .2s ease;
}
.btn:hover,.btn:focus-visible { background:#fff;color:#000;border-color:#000; }
.btn-ghost { background: #fff; color: var(--ink); }
.btn.btn-ghost:hover,.btn.btn-ghost:focus-visible { background:#000;color:#fff;border-color:#000; }
.btn[disabled], .btn:disabled { opacity: .5; cursor: not-allowed; }

/* —— Nav —— */
.top {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  backdrop-filter: none;
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 64px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-brand img.mark { width: 28px; height: 28px; aspect-ratio: 1 / 1; object-fit: contain; }
.nav-brand .word { width: 148px; height: 28px; aspect-ratio: 148 / 28; object-fit: contain; }
.nav-links {
  display: flex; align-items: center; gap: 26px;
  font-size: 14px; color: #374151;
}
.nav-links a:hover { color: var(--ink); }
.nav-end { display: flex; align-items: center; gap: 10px; }
.nav-cta {
  display: inline-flex; align-items: center; justify-content: center;
  height: 36px; padding: 0 14px;
  background: var(--ink); color: #fff;
  border-radius: var(--radius);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.nav-cta:hover { background: #000; color: #fff; }
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  height: 44px;
  padding: 0 14px 0 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  border-radius: var(--radius);
}
.nav-toggle-bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 16px;
  height: 12px;
  position: relative;
}
.nav-toggle-bars span {
  display: block;
  width: 16px;
  height: 1.75px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform .2s ease;
  transform-origin: center;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:first-child {
  transform: translateY(3.875px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:last-child {
  transform: translateY(-3.875px) rotate(-45deg);
}
.nav-toggle-text {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-toggle-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: inline; }

/* —— Home hero —— */
.hero { padding: 8px 0 12px; text-align: center; background: #fff; }
.welcome { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-bottom: 0; }
.welcome-label {
  font-family: var(--mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
}
.welcome-logo { width: min(168px, 48vw); height: auto; aspect-ratio: 240 / 45; }
.hero-stage {
  position: relative;
  width: min(var(--wide), 100%);
  margin: 0 auto 2px;
  background: #fff;
}
.hero-media {
  position: relative;
  width: min(100%, calc((100vh - var(--hero-reserve)) * 16 / 9));
  aspect-ratio: 16 / 9;
  margin-inline: auto;
  background: #fff;
}
.hero-media .hero-still {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center center;
  display: block;
  background: transparent;
}
.hero-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center center;
  background: transparent;

  /* Feather left, right and bottom into white — mask applies to the
     video box itself (no letterbox), so edges dissolve instead of forming a frame. */
  -webkit-mask-image:
    radial-gradient(ellipse 64% 70% at 50% 40%, #000 28%, rgba(0,0,0,.62) 50%, rgba(0,0,0,.22) 68%, transparent 82%),
    linear-gradient(to bottom, #000 0%, #000 46%, rgba(0,0,0,.55) 66%, rgba(0,0,0,.18) 84%, transparent 100%),
    linear-gradient(to right, transparent 0%, rgba(0,0,0,.2) 8%, rgba(0,0,0,.7) 18%, #000 28%, #000 72%, rgba(0,0,0,.7) 82%, rgba(0,0,0,.2) 92%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    radial-gradient(ellipse 64% 70% at 50% 40%, #000 28%, rgba(0,0,0,.62) 50%, rgba(0,0,0,.22) 68%, transparent 82%),
    linear-gradient(to bottom, #000 0%, #000 46%, rgba(0,0,0,.55) 66%, rgba(0,0,0,.18) 84%, transparent 100%),
    linear-gradient(to right, transparent 0%, rgba(0,0,0,.2) 8%, rgba(0,0,0,.7) 18%, #000 28%, #000 72%, rgba(0,0,0,.7) 82%, rgba(0,0,0,.2) 92%, transparent 100%);
  mask-composite: intersect;
}
.hero-media .hero-still { display: block; z-index: 0; }
.hero-media video { z-index: 1; opacity: 0; }
.hero-media video.is-on { opacity: 1; }
.hero-play,
.hero-sound {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: auto;
  top: auto;
  transform: none;
  z-index: 6;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid rgba(0,0,0,.14);
  background: rgba(255,255,255,.94);
  color: var(--ink);
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
  backdrop-filter: blur(6px);
}
.hero-play[hidden],
.hero-sound[hidden] { display: none; }
.hero-play svg,
.hero-sound svg { width: 18px; height: 18px; display: none; }
.hero-play .hero-play-icon { display: block; margin-left: 2px; }
.hero-play.is-replay .hero-play-icon { display: none; }
.hero-play.is-replay .hero-replay-icon { display: block; margin-left: 0; }
.hero-sound .hero-sound-muted { display: block; }
.hero-sound.is-on .hero-sound-muted { display: none; }
.hero-sound.is-on .hero-sound-on { display: block; }
.hero-subs {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 4;
  margin: 0;
  padding: 6px 12px;
  max-width: min(calc(100% - 76px), 22em);
  text-align: center;
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(13px, 2.8vw, 20px);
  line-height: 1.3;
  color: #fff;
  background: rgba(10, 10, 10, .52);
  backdrop-filter: blur(8px);
  border-radius: 8px;
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
  pointer-events: none;
}
.hero-subs[hidden],
.hero-subs:empty { display: none; }
.hero-sound {
  font-size: 0;
  letter-spacing: 0;
  text-transform: none;
}
.hero-sound:hover { background: #fff; }
.hero-sound[hidden] { display: none; }
.hero-sound.is-waiting {
  animation: sound-pulse 1.8s ease-in-out infinite;
}
.hero-sound.is-used {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  animation: none;
}
@keyframes sound-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(77, 199, 248, .55); }
  70% { box-shadow: 0 0 0 14px rgba(77, 199, 248, 0); }
}
.hero-caption {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 4;
  margin: 0;
  padding: 6px 12px;
  width: max-content;
  max-width: min(calc(100% - 76px), 22em);
  text-align: center;
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(13px, 2.8vw, 20px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #fff;
  background: rgba(10, 10, 10, .52);
  backdrop-filter: blur(8px);
  border-radius: 8px;
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
  opacity: 0;
  pointer-events: none;
}
.hero-caption.is-on { opacity: 1; transition: opacity .28s ease; }
@media (prefers-reduced-motion: reduce) {
  .hero-sound.is-waiting { animation: none; }
  .hero-caption, .hero-caption.is-on { transition: none; }
}
.hero-tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 4px auto 6px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-tagline::before,
.hero-tagline::after {
  content: "";
  width: 22px;
  height: 1.5px;
  background: var(--sky);
  border-radius: 1px;
}
@media (max-width: 900px) {
  .hero-tagline {
    margin: 2px auto 4px;
    font-size: 10px;
    letter-spacing: 0.1em;
    gap: 8px;
  }
  .hero-tagline::before,
  .hero-tagline::after { width: 14px; }
}
.hero-lede {
  width: min(var(--wide), calc(100% - var(--gutter)));
  max-width: 22ch;
  margin: 6px auto 8px;
  font-family: var(--display);
  font-size: var(--fs-1);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.96;
  text-transform: uppercase;
  color: var(--ink);
}
.hero-desc { max-width: 40em; margin: 0 auto 10px; color: var(--body); font-size: 17px; line-height: 1.6; }
.ctas { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
@media (max-width: 600px) {
  .hero-lede {
    font-size: 27px;
    max-width: none;
    width: calc(100% - 32px);
    letter-spacing: -0.04em;
    line-height: 0.98;
  }
  .ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    padding-inline: 20px;
    box-sizing: border-box;
  }
  .ctas .btn { width: 100%; }
}

/* —— Sections —— */
section.block { padding: var(--section-y) 0; }
section.block:nth-of-type(even),
section.closing:nth-of-type(even) {
  background: var(--band);
  box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line);
}
hr.rule { border: 0; height: 0; margin: 0; }
section.block > .shell > .mono-label,
section.block .section-label { margin-bottom: 8px; }
section.block .display {
  font-size: var(--fs-2);
  margin-bottom: 10px; max-width: 22ch;
  color: var(--heading);
}
.split {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 24px; align-items: center;
}
.split.reverse { grid-template-columns: 0.95fr 1.05fr; }
.split.reverse .copy { order: 2; }
.split.reverse .visual { order: 1; }
.copy p { color: var(--body); max-width: 42em; margin-bottom: 10px; }
.copy .price { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--ink); margin-top: 10px; }
.visual img { width: 100%; }
.ticks { list-style: none; margin: 12px 0 16px; }
.ticks li { position: relative; padding-left: 18px; margin-bottom: 8px; color: var(--body); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; background: var(--ink); border-radius: 50%; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--grid-gap); padding-top: 4px; }
.step .mono-label { margin-bottom: 10px; color: var(--ink); }
.step h3 {
  font-family: var(--display); font-size: var(--fs-3); font-weight: 600;
  letter-spacing: 0.02em; text-transform: uppercase; margin-bottom: 8px;
}
.step p { color: var(--muted); font-size: 14.5px; max-width: 32ch; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--grid-gap); margin-top: 4px; }
.card { border-top: 1px solid var(--line); padding-top: 12px; }
.card h3 {
  font-family: var(--display); font-size: var(--fs-3); font-weight: 600;
  letter-spacing: 0.02em; text-transform: uppercase; margin-bottom: 8px;
}
.card p { color: var(--body); font-size: 14.5px; }

.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--grid-gap); margin-top: 16px; }
.price-card { border-top: 1px solid var(--line); padding-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.price-card .mono-label { margin-bottom: 0; }
.price-card strong {
  font-family: var(--display); font-size: 26px; font-weight: 600; display: block;
}
.price-card p, .price-card li { font-size: 14px; color: var(--body); }
.price-card ul { list-style: none; margin: 6px 0 10px; }
.price-card li { padding-left: 0; margin-bottom: 6px; }
.price-card .btn { align-self: flex-start; margin-top: auto; height: 42px; }

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--grid-gap); }
.work-card img { width: 100%; border: 1px solid var(--line); margin-bottom: 12px; }
.work-card h3 { font-size: var(--fs-3); margin-bottom: 4px; }
.work-card p { color: var(--muted); font-size: 13.5px; }
.work-card a { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; border-bottom: 1px solid var(--ink); }

.portrait-band { padding: 0; }
.portrait-band .inner { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: stretch; min-height: 380px; }
.portrait-band .visual { overflow: hidden; background: var(--soft); }
.portrait-band .visual img { width: 100%; height: 100%; object-fit: cover; object-position: center center; min-height: 420px; }
.portrait-band.text-only .inner { grid-template-columns: 1fr; min-height: 0; }
.portrait-band.text-only .copy { padding: 44px 0; max-width: 780px; }
.portrait-band .copy { display: flex; flex-direction: column; justify-content: center; padding: 40px 36px; }

.gallery-frame {
  position: relative; width: min(960px, 100%);
  margin: 0 auto 28px; background: #fff;
  border: 1px solid var(--line); padding: 18px;
}
.gallery-frame .stage { position: relative; background: #0a0a0a; aspect-ratio: 16/9; overflow: hidden; }
.gallery-frame video,
.gallery-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
a.gallery-frame { display: block; color: inherit; text-decoration: none; }

.closing { padding: 32px 0 24px; text-align: center; }
.closing .display { margin-inline: auto; max-width: 22ch; }
.closing .visual { margin: 20px auto 16px; max-width: 880px; }

/* Page (inner) hero */
.page-hero { padding: 20px 0 12px; }
.page-hero .crumb { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.page-hero .crumb a { text-decoration: underline; text-underline-offset: 3px; }
.page-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.page-hero .display { font-size: var(--fs-1); max-width: 22ch; margin-bottom: 10px; }
.page-hero .lead { color: var(--body); max-width: 38em; margin-bottom: 12px; }
.page-hero img { width: 100%; }

/* Prose */
.prose p { color: var(--body); margin-bottom: 10px; max-width: 46em; }
.prose h2.display { margin-top: 8px; }
.prose ul, .prose ol { margin: 0 0 18px 1.2em; color: var(--body); }
.prose li { margin-bottom: 6px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.legal-body { max-width: 46em; }
.legal-body h2 { font-family: var(--display); font-size: var(--fs-2); text-transform: uppercase; letter-spacing: -0.01em; margin: 20px 0 8px; }
.legal-body h3 { font-size: var(--fs-3); margin: 18px 0 8px; }
.legal-body p, .legal-body li { color: var(--body); margin-bottom: 10px; }
.legal-body ul, .legal-body ol { margin: 0 0 16px 1.2em; }
.legal-body a { text-decoration: underline; text-underline-offset: 3px; }

/* FAQ */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; padding: 12px 0; font-weight: 600; list-style: none;
  display: flex; justify-content: space-between; gap: 16px; align-items: baseline;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 18px; color: var(--body); max-width: 46em; }

/* Forms */
.form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px;
  text-align: left; max-width: 760px; margin: 18px auto 0;
}
.form-wide { grid-column: 1 / -1; }
.form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.form label span { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea {
  width: 100%; border: 1px solid var(--line-strong); background: #fff;
  padding: 12px 14px; font: inherit; color: var(--ink); border-radius: 0;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: 2px solid var(--ink); outline-offset: 0; border-color: var(--ink);
}
.form .hint { font-size: 13px; color: var(--muted); margin-top: 6px; }
.honeypot { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-status { grid-column: 1 / -1; font-size: 14px; }
.form-status[data-state="error"] { color: #9b1c1c; }
.form-status[data-state="success"] { color: #17673a; }
.wb-field-error { display: block; color: #9b1c1c; font-size: 13px; margin-top: 4px; }
.bk-msg { font-size: 14px; min-height: 1.2em; }
.bk-msg.bk-bad { color: #9b1c1c; }

/* Sample report */
.sr-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 12px; }
.sr-page { background: #fff; border: 1px solid var(--line); padding: 28px; }
.sr-tag { display: inline-block; margin: 0 0 14px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.sr-page h3 { margin: 0 0 4px; font-size: 1.1rem; }
.sr-sub { margin: 0 0 20px; color: var(--muted); font-size: .875rem; }
.sr-score { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.sr-dial { flex: none; width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--ink) 0 68%, var(--soft) 68% 100%); }
.sr-dial span { width: 74px; height: 74px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 1.5rem; font-weight: 700; }
.sr-dial small { display: block; font-size: .625rem; font-weight: 600; color: var(--muted); margin-top: -18px; }
.sr-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; flex: 1; }
.sr-bars li { display: grid; grid-template-columns: 9.5em 1fr 2.2em; align-items: center; gap: 8px; font-size: .8125rem; color: var(--muted); }
.sr-bar { height: 8px; border-radius: 99px; background: var(--soft); overflow: hidden; }
.sr-bar i { display: block; height: 100%; background: var(--ink); border-radius: 99px; }
.sr-bars b { color: var(--ink); text-align: right; }
.sr-find { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sr-find li { border: 1px solid var(--line); padding: 14px 16px; }
.sr-find h4 { margin: 0 0 6px; font-size: .9375rem; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sr-find p { margin: 0; font-size: .875rem; color: var(--muted); }
.sr-pri { font-size: .6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; font-family: var(--mono); }
.sr-high { background: #fde8e8; color: #a11d1d; }
.sr-med { background: #fff3d6; color: #8a5a00; }
.sr-low { background: #e3f6ea; color: #17673a; }
.sr-next { margin-top: 18px; padding: 16px 18px; background: var(--soft); border-left: 4px solid var(--ink); }
.sr-next h4 { margin: 0 0 8px; }
.sr-next ol { margin: 0; padding-left: 1.2em; font-size: .875rem; color: var(--muted); }

/* News */
.news-list { display: grid; gap: 0; }
.news-item { display: grid; grid-template-columns: 160px 1fr; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line); align-items: center; }
.news-item time { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.news-item h2 { font-size: var(--fs-2); line-height: 1.25; margin-bottom: 6px; }
.news-item p { color: var(--body); }
.article { max-width: 42em; }
.article h2 { font-family: var(--display); font-size: var(--fs-2); text-transform: uppercase; letter-spacing: -0.015em; line-height: 1.15; margin: 22px 0 10px; }
.article h3 { font-size: var(--fs-3); margin: 22px 0 10px; }
.article p, .article li { color: var(--body); margin-bottom: 12px; }
.article ul, .article ol { margin: 0 0 16px 1.2em; }
.article a { text-decoration: underline; text-underline-offset: 3px; }

/* Related */
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.related a { display: block; border-top: 1px solid var(--line); padding-top: 14px; }
.related a strong { display: block; font-family: var(--display); font-size: 16px; text-transform: uppercase; margin-bottom: 4px; }
.related a span { color: var(--muted); font-size: 13.5px; }

/* Footer */
footer.site { border-top: 1px solid var(--line); padding: 28px 0 36px; }
footer.site .row { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
footer.site .brand { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
footer.site .brand img { width: 22px; height: 22px; }
.footer-nav { display: grid; grid-template-columns: repeat(3, minmax(140px, 1fr)); gap: 8px 28px; font-size: 13.5px; }
.footer-nav a { color: #374151; }
.footer-nav a:hover { color: var(--ink); }
.legal-line { margin-top: 22px; font-size: 12px; color: var(--muted); }

/* Cookie */
.cookie-notice {
  position: fixed; bottom: 16px; left: 16px; right: auto; z-index: 80;
  width: min(480px, calc(100% - 32px)); max-width: 480px;
  margin: 0; padding: 0;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 10px 40px rgba(0,0,0,.08);
  contain: layout;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
/* Keep the banner in a fixed layer when hidden so toggling it cannot shift layout. */
.cookie-notice[hidden] {
  display: block !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.cookie-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px 12px; flex-wrap: wrap;
  padding: 10px 12px;
  max-width: none; margin: 0;
}
.cookie-bar p { margin: 0; font-size: 14px; color: var(--body); flex: 1 1 160px; }
.cookie-bar a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.cookie-msg-short { display: none; }
.cookie-notice-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 0; }
.cookie-notice-actions button { height: 36px; padding: 0 14px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; }
.cookie-notice-actions #cookie-decline,
.cookie-notice-actions #cookie-prefs { background: #fff; color: var(--ink); }
.cookie-prefs {
  border-top: 1px solid var(--line);
  padding: 14px 12px 16px;
  max-width: none; margin: 0;
}
.cookie-prefs[hidden] { display: none !important; }
.cookie-prefs h2 { font-size: 16px; margin-bottom: 8px; }
.cookie-prefs p { font-size: 14px; color: var(--body); margin-bottom: 10px; }
.cookie-theme-choice { display: flex; gap: 8px; align-items: center; font-size: 14px; margin: 8px 0; }
.cookie-settings-link { background: none; border: 0; padding: 0; font: inherit; color: #374151; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 600px) {
  .cookie-notice {
    left: 10px; right: 10px; bottom: 10px;
    width: auto; max-width: none;
  }
  .cookie-bar {
    padding: 6px 8px; flex-wrap: nowrap; gap: 6px;
  }
  .cookie-bar p { font-size: 12px; line-height: 1.3; flex: 1 1 auto; min-width: 0; }
  .cookie-msg-full { display: none; }
  .cookie-msg-short { display: inline; }
  .cookie-notice-actions { flex-shrink: 0; flex-wrap: nowrap; gap: 6px; }
  .cookie-notice-actions button { height: 30px; padding: 0 8px; font-size: 10px; }
}

/* Reveal — visible without JS; hidden only after html.js-motion is set */
.reveal { opacity: 1; transform: none; }
html.js-motion .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
html.js-motion .reveal.is-in { opacity: 1; transform: none; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }

/* Blue label lines draw in */
html.js-motion .copy > .mono-label::after,
html.js-motion .shell > .mono-label::after {
  content: "";
  display: block;
  width: 28px;
  height: 1.5px;
  margin-top: 8px;
  background: var(--sky);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .7s cubic-bezier(.22,1,.36,1);
}
html.js-motion .reveal.is-in > .mono-label::after,
html.js-motion .copy.reveal.is-in > .mono-label::after,
html.js-motion .mono-label.reveal.is-in::after,
html.js-motion .mono-label.is-in::after {
  transform: scaleX(1);
}

/* Image clip-like reveal (overflow + transform/opacity, no clip-path) */
.img-reveal { overflow: hidden; }
html.js-motion .img-reveal img {
  opacity: 0;
  transform: translateY(18px) scale(1.05);
  transform-origin: center center;
  transition: opacity .9s ease, transform 1.05s cubic-bezier(.22,1,.36,1);
}
html.js-motion .img-reveal.reveal.is-in img,
html.js-motion .reveal.is-in .img-reveal img,
html.js-motion .img-reveal.is-in img {
  opacity: 1;
  transform: none;
}

/* Header shrink */
.top { transition: transform .28s ease; }
.top .nav { transition: min-height .28s ease; }
.top .nav-brand { transform-origin: center; transition: transform .28s ease; }
.top.is-compact .nav { min-height: 52px; }
.top.is-compact .nav-brand { transform: scale(0.92); }

@media (max-width: 900px) {
  .shell, .shell-wide { width: calc(100% - 24px); }
  .nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    position: relative;
  }
  .nav-brand { grid-column: 2; grid-row: 1; justify-self: center; align-self: center; }
  .nav-toggle {
    display: inline-flex;
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    align-self: center;
  }
  .nav-end { grid-column: 3; grid-row: 1; justify-self: end; align-self: center; min-width: 0; }
  .nav-cta { display: none; }
  .nav-brand .word { width: 120px; height: 23px; }
  .nav-links {
    display: none; flex-direction: column; align-items: flex-start;
    position: absolute; left: 0; right: 0; top: 64px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 16px 24px 20px; gap: 14px;
  }
  .nav-links.open { display: flex; }
  .split, .split.reverse, .portrait-band .inner, .page-hero-grid, .work-grid, .prices, .steps, .sr-wrap, .news-item, .form {
    grid-template-columns: 1fr;
  }
  .split.reverse .copy, .split.reverse .visual { order: unset; }
  .portrait-band .copy { padding: 36px 8px 8px; }
  .portrait-band .visual img { min-height: 280px; object-position: center center; }
  section.block { padding: var(--section-y-sm) 0; }
  .gallery-frame { padding: 10px; }
  .hero-media video, .hero-media .hero-still { object-position: 58% center; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --hero-reserve: 340px; }
}
@media (max-width: 520px) {
  .prices { grid-template-columns: 1fr; }
  .hero { padding-top: 10px; }
}

/* —— Lenis —— */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* —— Mega menu —— */
.nav-services-btn {
  background: none; border: 0; padding: 0;
  font: inherit; color: inherit; cursor: pointer;
}
.nav-services-btn[aria-expanded="true"] { color: var(--ink); }
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  z-index: 36; background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 28px 0 32px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .28s ease, transform .28s ease, visibility .28s;
}
.mega.is-open {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: none;
}
.mega-layout {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 36px; align-items: start;
}
.mega-groups {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px 20px;
}
.mega-col .mono-label { margin-bottom: 10px; color: var(--ink); }
.mega-col a {
  display: block; padding: 8px 0;
  border-top: 1px solid var(--line);
}
.mega-col a strong {
  display: block;
  font-family: var(--display); font-size: 14px; font-weight: 600;
  letter-spacing: 0.02em; text-transform: uppercase;
  margin-bottom: 2px;
}
.mega-col a span { display: block; color: var(--muted); font-size: 13px; line-height: 1.4; }
.mega-tile {
  display: block; border: 1px solid var(--line); padding: 10px 10px 16px;
}
.mega-tile img { width: 100%; height: auto; margin-bottom: 12px; }
.mega-tile strong {
  display: block;
  font-family: var(--display); font-size: 16px; text-transform: uppercase;
  margin: 4px 0;
}
.mega-tile span { color: var(--muted); font-size: 13.5px; }

/* —— Mobile full-screen menu —— */
.mobile-menu {
  position: fixed; inset: 0; z-index: 45;
  background: #fff;
  padding: 84px var(--gutter) 40px;
  overflow: auto;
  display: none;
}
.mobile-menu.is-open { display: block; }
.mobile-menu-inner { display: flex; flex-direction: column; gap: 6px; max-width: 640px; }
.mobile-menu-inner > a,
.mobile-acc-btn {
  font-family: var(--display); font-weight: 700; letter-spacing: -0.02em;
  text-transform: uppercase; font-size: clamp(28px, 8vw, 42px);
  line-height: 1.05; padding: 10px 0;
  background: none; border: 0; border-bottom: 1px solid var(--line);
  text-align: left; color: inherit; width: 100%; cursor: pointer;
}
.mobile-menu.is-open .mobile-menu-inner > a,
.mobile-menu.is-open .mobile-acc {
  animation: menuRise .55s cubic-bezier(.22,1,.36,1) both;
}
.mobile-menu.is-open .mobile-menu-inner > a:nth-child(1),
.mobile-menu.is-open .mobile-acc:nth-child(1) { animation-delay: .04s; }
.mobile-menu.is-open .mobile-menu-inner > *:nth-child(2) { animation-delay: .09s; }
.mobile-menu.is-open .mobile-menu-inner > *:nth-child(3) { animation-delay: .14s; }
.mobile-menu.is-open .mobile-menu-inner > *:nth-child(4) { animation-delay: .19s; }
.mobile-menu.is-open .mobile-menu-inner > *:nth-child(5) { animation-delay: .24s; }
.mobile-menu.is-open .mobile-menu-inner > *:nth-child(6) { animation-delay: .29s; }
.mobile-menu.is-open .mobile-ctas { animation-delay: .36s; }
@keyframes menuRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.mobile-acc-panel { display: none; padding: 8px 0 16px; }
.mobile-acc-panel.is-open { display: grid; gap: 2px; }
.mobile-acc-panel a { display: block; padding: 8px 0; font-size: 16px; text-transform: none; font-family: var(--sans); font-weight: 500; letter-spacing: 0; border: 0; }
.mobile-acc-panel a span { display: block; color: var(--muted); font-size: 13px; }
.mobile-acc-panel .mono-label { margin: 12px 0 4px; }
.mobile-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
html.menu-locked, html.menu-locked body { overflow: hidden; }

/* —— Preloader —— */
.preloader {
  position: fixed; inset: 0; z-index: 220;
  background: #fff; display: grid; place-items: center;
  /* Hidden on first paint so the hero poster can be LCP without waiting for JS. */
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .45s ease, visibility .45s ease;
}
.preloader span {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.28em;
  text-transform: uppercase;
}
.preloader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }

/* —— Custom cursor —— */
.cursor { position: fixed; left: 0; top: 0; width: 0; height: 0; z-index: 400; pointer-events: none; }
.cursor-dot, .cursor-ring {
  position: absolute; border-radius: 50%; transform: translate(-50%, -50%);
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--sky);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--sky) 42%, #0a0a0a);
}
.cursor-ring {
  width: 28px; height: 28px;
  border: 1.5px solid var(--sky);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--sky) 38%, #111);
  background: transparent;
  transition: width .25s ease, height .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
html.has-cursor .cursor.is-hover .cursor-ring {
  width: 48px; height: 48px;
  background: color-mix(in srgb, var(--sky) 22%, transparent);
  border-color: var(--sky);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--sky) 38%, #111);
}
html.has-cursor .cursor.is-hover .cursor-dot {
  background: var(--sky);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--sky) 42%, #0a0a0a);
}
@media (hover: hover) and (pointer: fine) {
  html.has-cursor, html.has-cursor * { cursor: none !important; }
}

/* —— Motion helpers —— */
.split-line { display: inline-block; overflow: hidden; vertical-align: bottom; }
.split-word { display: inline-block;  }
.img-reveal { overflow: hidden; }
.img-reveal img { transform-origin: center center;  }
#process .step { transition: opacity .45s ease, transform .45s ease; }
#process.is-pin-ready .step { opacity: .34; transform: translateY(10px); }
#process.is-pin-ready .step.is-active { opacity: 1; transform: none; }
.work-pin { overflow: hidden; }
.work-grid.is-horizontal {
  display: flex; gap: 20px;
}
.work-grid.is-horizontal .work-card {
  flex: 0 0 min(70vw, 780px);
}
.rule.is-draw { transform: scaleX(0); transform-origin: left center; }

body.is-leaving { opacity: 0; transition: opacity .32s ease; }

@media (prefers-reduced-motion: reduce) {
  .top, .top .nav, .top .nav-brand, .img-reveal img { transition: none !important; transform: none !important; }
  html.js-motion .copy > .mono-label::after,
  html.js-motion .shell > .mono-label::after { transform: scaleX(1) !important; transition: none !important; }
  .mega { transition: none; }
  .mobile-menu.is-open .mobile-menu-inner > a,
  .mobile-menu.is-open .mobile-acc,
  .mobile-menu.is-open .mobile-ctas { animation: none; }
  .preloader { transition: none; }
  body.is-leaving { transition: none; opacity: 1; }
  #process.is-pin-ready .step { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .mega { display: none !important; }
  .nav-item-services { display: none; }
  .mega-layout, .mega-groups { grid-template-columns: 1fr; }
  .work-grid.is-horizontal { display: grid; }
  .work-grid.is-horizontal .work-card { flex: none; }
}
@media (min-width: 901px) {
  .mobile-menu { display: none !important; }
}

/* —— Awwwards Nominee badge (in the header, never over the hero) —— */
.aww-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  height: 36px;
  min-width: 108px;
  padding: 0 8px 0 4px;
  contain: layout;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
}
.aww-badge { cursor: default; }
.aww-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  background: #268078;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.04em;
  border-radius: 2px;
}
.aww-text {
  display: flex;
  flex-direction: column;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 8px;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}
@media (max-width: 900px) {
  .aww-badge { order: 0; min-width: 0; }
}
@media (max-width: 420px) {
  .nav { gap: 8px; }
  .nav-brand { gap: 6px; }
  .nav-brand .word { width: 100px; height: 19px; }
  .nav-end { gap: 6px; }
  .aww-badge { min-width: 0; height: 32px; padding: 0 2px; gap: 3px; }
  .aww-mark { width: 20px; height: 20px; font-size: 10px; }
  .aww-text { font-size: 6.5px; letter-spacing: 0.04em; }
}
@media (max-width: 359px) {
  .nav-toggle-text { display: none; }
  .nav-toggle { padding: 0; width: 44px; }
}

/* Playback fallback stays obvious over the poster, including reduced-motion devices. */
.hero-media .hero-play { left:50%; top:50%; right:auto; bottom:auto; transform:translate(-50%,-50%); width:56px; height:56px; min-width:56px; min-height:56px; background:#4DC7F8; color:#fff; border:2px solid #fff; box-shadow:0 4px 24px rgba(0,0,0,.25); z-index:7; }
.hero-media .hero-play svg { width:20px; height:20px; }
.hero-media .hero-play[hidden] { display:none; }
.hero-media .hero-sound { display:inline-flex; opacity:1; visibility:visible; pointer-events:auto; }
.hero-media .hero-play:focus-visible, .hero-media .hero-sound:focus-visible { outline:3px solid #037DAE; outline-offset:4px; }

.hero-lede { text-wrap: balance; }

/* Draft mobile hero rhythm: small breathing spaces, unchanged desktop layout. */
@media (max-width:600px) {
  .hero .welcome { gap:4px; padding-top:2px; margin-bottom:6px; }
  .hero .hero-stage { margin-bottom:6px; }
  .hero .hero-tagline { margin-top:6px; margin-bottom:8px; }
  .hero .hero-lede { line-height:1.03; margin-top:8px; margin-bottom:10px; text-wrap:balance; }
  .hero .hero-desc { margin-bottom:12px; }
  .hero .ctas { gap:11px; }
}

/* Safari: keep the native media layer visible and directly interactive. */
.hero-media { isolation:isolate; }
.hero-media video { opacity:1 !important; visibility:visible !important; display:block !important; -webkit-mask-image:none !important; mask-image:none !important; transform:none !important; pointer-events:auto; }
.hero-media .hero-still, .hero-media::before, .hero-media::after, .hero-media .hero-subs { pointer-events:none; }
.hero-media .hero-play, .hero-media .hero-sound { z-index:8; pointer-events:auto; touch-action:manipulation; }
.hero-media .hero-play svg, .hero-media .hero-sound svg { pointer-events:none; }
.hero-media.is-native .hero-sound { top:10px; bottom:auto; }
.hero-video-status, .hero-video-debug { max-width:min(720px,calc(100% - 32px)); margin:8px auto; text-align:left; font-size:12px; line-height:1.4; overflow-wrap:anywhere; white-space:pre-wrap; }
.hero-video-debug { padding:10px; border:1px solid #ddd; border-radius:8px; background:#f6f7f9; color:#111; }
.hero-video-status[hidden], .hero-video-debug[hidden] { display:none; }

/* Readable header SEO audit action; mobile layout remains unchanged. */
.nav-cta { font-family:var(--sans); font-size:15px; font-weight:700; letter-spacing:normal; text-transform:none; }

/* Owner-requested breathing room and clearer human-designed tagline. */
.hero .hero-tagline { font-size:18px; margin-bottom:6.3px; max-width:calc(100% - 32px); margin-inline:auto; }
.hero .hero-lede { margin-top:6.3px; margin-bottom:8.4px; }
@media (max-width:900px) {
  .hero .hero-tagline { font-size:16px; letter-spacing:.06em; margin-bottom:8.4px; }
  .hero .hero-lede { margin-top:8.4px; margin-bottom:10.5px; }
}

/* Controls stay anchored; the hero play icon retains static centring only. */
.btn, .nav-cta, button:not(#heroPlay), [role="button"] { transform:none !important; translate:none !important; rotate:none !important; scale:none !important; animation:none !important; }
.audit-credit-note, .copy .audit-credit-note { font-family:var(--sans); font-size:16px; font-weight:400; line-height:1.6; letter-spacing:normal; color:var(--body); }
.audit-credit-note strong { font-weight:700; }
.audit-checkout-note, .copy .audit-checkout-note { font-size:15.3px; margin-top:8px; line-height:1.6; color:var(--muted); }
#care .care-heading { width:fit-content; max-width:100%; margin-inline:auto; text-align:left; }
#care .care-heading .display { margin-inline:0; text-align:left; }
#care .care-heading > .mono-label::after { content:""; display:block; width:28px; height:1.5px; margin-top:8px; background:var(--sky); transform:none; }

/* The desktop film has a dark final encoded column; clip it without
   transforms. Mobile rendering already discards it and stays unchanged. */


/* White-background media: identical poster/video geometry; no dark edge or control shadow at frame boundary. */
.hero-media #heroVideo { inset:0; width:100%; height:100%; object-fit:contain; background:#fff; filter:none; }
.hero-media .hero-still { object-fit:contain; filter:none; opacity:1; }
.hero-media .hero-sound { box-shadow:none; }
.hero-media .hero-sound[hidden] { display:none !important; }

/* Header WB mark +15%: image only, centred within the unchanged header. */
.top .nav-brand img.mark { width:32.2px; height:32.2px; }

/* wba-typo-balance: no single-word last lines in headings; tidier paragraph rag */
h1,h2,h3,.display{text-wrap:balance}
p,li,figcaption{text-wrap:pretty}
