/* Lynell Agency — v4
   Editorial performance studio × independent production company.
   Paper-white canvas, near-black type, one signal-orange accent used sparingly. */

:root {
  --paper: #d6cebd;
  --paper-2: #c6bda9;
  --card: #e8e2d4;
  --ink: #0f0e0c;
  --ink-soft: #292622;
  --ink-muted: #433e36;

  --signal: #e04a1d;      /* decorative accent: rules, dots, marks */
  --signal-ink: #882506;  /* accent for text on paper */

  --night: #0d0c0b;
  --night-2: #191715;
  --night-text: #efe9df;
  --night-muted: #bdb5a9;
  --night-signal: #f08a63;

  --rule: rgba(15, 14, 12, 0.22);
  --rule-strong: rgba(15, 14, 12, 0.45);

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  --container: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --section-space: clamp(96px, 13vw, 176px);

  --ease-cut: cubic-bezier(0.77, 0, 0.18, 1);
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);

  color-scheme: light;
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Subtle film grain over everything; static, cheap to render. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.07;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  color: var(--ink);
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.6rem, 4.9vw, 4.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
}

h1 em,
h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

h3 {
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

a {
  color: var(--ink);
  text-decoration-color: var(--signal);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

ul,
ol,
dl,
dd {
  margin: 0;
  padding: 0;
}

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

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 300;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.large {
  font-size: clamp(1.18rem, 1.7vw, 1.4rem);
  line-height: 1.5;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.muted {
  color: var(--ink-muted);
  font-size: 0.9375rem;
}

/* Section marker: an editorial kicker in the serif italic, led by a short signal rule.
   Sentence case, no numbering, no monospace. */
.slate {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 1.25rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1.4vw, 1.3rem);
  line-height: 1.3;
  color: var(--ink-soft);
}

.slate::before {
  content: "";
  flex: none;
  width: 28px;
  height: 2px;
  background: var(--signal);
}


/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.8rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-sm {
  min-height: 42px;
  padding: 0.55rem 1.1rem;
  font-size: 0.9375rem;
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}

.btn-primary:hover {
  background: #2c2b29;
}

.btn-primary::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 10px;
  border-radius: 50%;
  background: var(--signal);
}

.btn-ghost {
  border-color: var(--rule-strong);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--ink);
}

.btn:focus-visible {
  border-radius: 999px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 2.25rem;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-block: 14px;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(243, 239, 231, 0.9);
  box-shadow: 0 1px 0 var(--rule);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
}

.wordmark-mark {
  align-self: center;
  width: 22px;
  height: 15px;
  border: 2px solid var(--ink);
  border-radius: 2px;
  position: relative;
}

.wordmark-mark::after {
  content: "";
  position: absolute;
  top: -7px;
  right: -7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
}

.wordmark-name {
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.wordmark-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
}

.site-nav ul a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 6px 0;
  background: linear-gradient(var(--signal), var(--signal)) 0 100% / 0 1.5px no-repeat;
  transition: background-size 0.3s var(--ease-out), color 0.2s ease;
}

.site-nav ul a:hover {
  color: var(--ink);
  background-size: 100% 1.5px;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  position: absolute;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.nav-toggle-bars { left: 50%; top: 50%; margin: -1px 0 0 -9px; }
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ""; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .js .nav-toggle { display: inline-block; }

  .js .site-nav {
    position: absolute;
    top: calc(100% + 4px);
    left: var(--gutter);
    right: var(--gutter);
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 12px;
    background: var(--card);
    border: 1px solid var(--rule);
    border-radius: 12px;
    box-shadow: 0 24px 50px -24px rgba(20, 20, 20, 0.35);
  }

  .js .site-nav:not(.is-open) { display: none; }
  .js .site-nav ul { flex-direction: column; gap: 0; }
  .js .site-nav ul a {
    display: block;
    padding: 12px;
    border-radius: 8px;
    background: none;
  }
  .js .site-nav ul a:hover { background: var(--paper-2); }

  html:not(.js) .header-inner,
  html:not(.js) .site-nav,
  html:not(.js) .site-nav ul { flex-wrap: wrap; gap: 8px 16px; }
}

/* ---------- Hero ---------- */

.hero {
  padding-block: clamp(40px, 7vw, 96px) clamp(72px, 10vw, 128px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 4.5vw, 72px);
  align-items: center;
}

.lede {
  max-width: 34em;
  margin-top: 1.75rem;
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  line-height: 1.6;
  color: var(--ink-soft);
}

.hero-note {
  margin: 1.75rem 0 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink-soft);
}

/* ---------- Sections ---------- */

.section {
  padding-block: calc(var(--section-space) / 2);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(40px, 5vw, 72px);
}

.section-head > p:last-child:not(.slate) {
  margin: 0;
  font-size: 1.125rem;
  color: var(--ink-soft);
}

/* Problem */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.5fr);
  gap: clamp(24px, 5vw, 80px);
  padding-top: clamp(28px, 4vw, 44px);
  background: linear-gradient(var(--rule-strong), var(--rule-strong)) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat;
}

.split-body { max-width: 780px; }

.disconnects {
  list-style: none;
  margin: 2.25rem 0;
  border-top: 1px solid var(--rule);
}

.disconnects li {
  position: relative;
  padding: 18px 0 18px 40px;
  border-bottom: 1px solid var(--rule);
}

.disconnects li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 31px;
  width: 22px;
  height: 0;
  border-top: 1.5px dashed var(--signal);
}

.disconnects strong {
  color: var(--ink);
  font-weight: 600;
}

/* Connected system flow */
.flow {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.flow-step {
  position: relative;
  padding: 22px 20px 24px;
  border-radius: 18px;
}

/* connector arrow between cards */
.flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 30px;
  right: -11px;
  width: 8px;
  height: 8px;
  border-top: 1.5px solid var(--ink);
  border-right: 1.5px solid var(--ink);
  transform: rotate(45deg);
}

.flow-step:last-child {
  border-color: rgba(228, 87, 46, 0.45);
}

.flow-num {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 0.875rem;
  color: var(--signal-ink);
  font-weight: 600;
}

.flow-num::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1.5px solid var(--signal-ink);
}

.flow-step:last-child .flow-num::before { background: var(--signal); border-color: var(--signal); }

.flow-step h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5em;
}

.flow-step p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Services */
.services {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(32px, 5vw, 80px);
}

.service {
  padding-block: 32px 40px;
  border-top: 1px solid var(--rule-strong);
}

.service-step {
  margin: 0 0 14px;
  font-size: 0.875rem;
  color: var(--signal-ink);
  font-weight: 600;
}

.service h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
}

.service-includes {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.service-includes li {
  padding: 5px 12px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 0.875rem;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.4);
}

.spend-note {
  max-width: 760px;
  margin: 24px 0 0;
  padding: 18px 20px;
  border-left: 3px solid var(--signal);
  background: var(--paper-2);
  font-size: 0.98rem;
}

.spend-note strong { color: var(--ink); }

/* Who / fit */
.fit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.fit-card {
  padding: clamp(28px, 4vw, 44px);
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 6px;
}

.checklist {
  list-style: none;
  display: grid;
  gap: 16px;
  margin-top: 8px;
}

.checklist li {
  position: relative;
  padding-left: 32px;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.35em;
  width: 16px;
  height: 9px;
  border-left: 2px solid var(--signal);
  border-bottom: 2px solid var(--signal);
  transform: rotate(-45deg);
}

.checklist strong { color: var(--ink); }

/* Work */
.cases {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
}

.case { grid-column: span 2; }
.case:nth-child(n + 4) { grid-column: span 3; }

.cases-note {
  margin: 0 0 24px;
  max-width: 62ch;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

.case-type { margin: 4px 0 0; font-size: 0.9375rem; color: var(--ink-muted); }
.case-feature { margin: 12px 0 0; color: var(--ink-soft); }
.case-link {
  display: inline-block;
  margin-top: 16px;
  font-weight: 600;
  color: var(--signal-ink);
  text-underline-offset: 3px;
}
.case-link:hover { text-decoration: underline; }

.case {
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: var(--card);
  overflow: hidden;
}

.case-media {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case.is-template .case-media img { filter: grayscale(0.6); opacity: 0.85; }

.case-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.875rem;
  color: var(--ink);
  font-weight: 600;
}

.case-body {
  padding: clamp(22px, 3vw, 32px);
}

.case-fields {
  display: grid;
  gap: 0;
  margin-top: 8px;
}

.case-fields div {
  display: grid;
  grid-template-columns: minmax(120px, 0.8fr) minmax(0, 1.6fr);
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--rule);
  font-size: 0.9375rem;
}

.case-fields dt {
  font-size: 0.875rem;
  color: var(--ink-muted);
  padding-top: 2px;
  font-weight: 600;
}

.case-fields dd { color: var(--ink-soft); }

/* Process */
.process {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  counter-reset: process;
}

.process-step {
  counter-increment: process;
  padding-top: 22px;
  border-top: 2px solid var(--ink);
}

.process-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  color: var(--signal-ink);
  font-weight: 600;
}

.process-label::after {
  content: counter(process, decimal-leading-zero);
  color: var(--ink-muted);
}

.process-step h3 {
  font-size: clamp(1.3rem, 2vw, 1.55rem);
}

.process-step p:last-child { margin: 0; }

/* Team (founder layout) */
.founder {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}

.founder-figure {
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--rule);
  background: var(--card);
}

.founder-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 78%;
}

.founder-name {
  margin: 0 0 4px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.founder-body p { margin: 0; }

.founder-bio {
  max-width: 52ch;
  margin-top: 1.25rem !important;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.founder-clients {
  max-width: 52ch;
  margin-top: 1.75rem !important;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-muted);
}

@media (max-width: 760px) {
  .founder { grid-template-columns: 1fr; }
  .founder-figure { max-width: 420px; width: 100%; }
}

.person-role {
  margin-bottom: 8px !important;
  font-size: 0.875rem;
  color: var(--signal-ink);
  font-weight: 600;
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr);
  gap: clamp(24px, 6vw, 96px);
  align-items: start;
}

.faq {
  border-top: 1px solid var(--rule-strong);
}

.faq details {
  border-bottom: 1px solid var(--rule-strong);
}

.faq summary {
  position: relative;
  display: block;
  padding: 22px 48px 22px 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after,
.faq summary::before {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 14px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease-out);
}

.faq summary::before { transform: rotate(90deg); }
.faq details[open] summary::before { transform: rotate(0deg); }
.faq details[open] summary::after { background: var(--signal); }
.faq details[open] summary::before { background: var(--signal); }

.faq summary:hover { color: var(--signal-ink); }

.faq summary:focus-visible { outline-offset: 0; }

.faq details p {
  max-width: 62ch;
  margin: 0;
  padding: 0 0 24px;
}

/* Contact */
.section-contact {
  padding-bottom: var(--section-space);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
  padding-top: clamp(32px, 4vw, 48px);
  background: linear-gradient(var(--rule-strong), var(--rule-strong)) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat;
}

.contact-intro h2 {
  font-size: clamp(2.3rem, 5vw, 4rem);
}

.contact-links {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-top: 2rem;
}

.contact-links a {
  font-weight: 500;
}

.form-wrap {
  padding: clamp(24px, 4vw, 44px);
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 6px;
}

.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

.field {
  display: grid;
  gap: 6px;
  align-content: start;
}

.field-full { grid-column: 1 / -1; }

.field label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
}

.optional {
  font-weight: 400;
  color: var(--ink-muted);
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--rule-strong);
  border-radius: 6px;
  background: #fff;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #77726b;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(228, 87, 46, 0.25);
}

.field [aria-invalid="true"] {
  border-color: var(--signal-ink);
}

.field-error {
  margin: 0;
  font-size: 0.875rem;
  color: var(--signal-ink);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 6px;
}

.form-hint {
  margin: 0;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.form-success h3 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.form-success:focus { outline: none; }

/* Footer */
.site-footer {
  padding-block: 32px 44px;
  border-top: 1px solid var(--rule);
  font-size: 0.9375rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 24px;
}

.footer-inner p { margin: 0; }

.footer-mark {
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* ---------- Editorial reveals (only when JS + motion allowed) ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Image "cut": a wipe plus a quick focus pull. The clip lives on the image, not the
   observed frame, because IntersectionObserver treats a fully clipped target as hidden. */
.js .reveal-cut img {
  clip-path: inset(0 0 100% 0);
  filter: blur(8px);
  transform: scale(1.04);
  transition: clip-path 1s var(--ease-cut), filter 1.2s var(--ease-out) 0.2s, transform 1.4s var(--ease-out);
}

.js .reveal-cut.is-visible img {
  clip-path: inset(0 0 0 0);
  filter: none;
  transform: none;
}

/* ---------- Glass layer ----------
   Frosted, translucent surfaces used only where something should feel like it
   floats: the hero frames, the scrolled header, the system flow, the fit card,
   the contact form and the build preview. Everything else stays solid paper. */

:root {
  --glass-tint: rgba(232, 226, 212, 0.8);
  --glass-sheen: linear-gradient(160deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.12) 60%, rgba(255, 255, 255, 0.3));
  --glass-border: rgba(255, 255, 255, 0.78);
  --glass-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(120, 96, 72, 0.1),
    0 28px 56px -30px rgba(52, 36, 22, 0.5);
}

.glass {
  /* text inside glass steps a little darker so it holds up over any backdrop */
  --ink-muted: #3c3832;
  --signal-ink: #8a2807;
  background: var(--glass-sheen), var(--glass-tint);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
}

.glass-dark {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04)), rgba(21, 20, 19, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 20px 40px -20px rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(250, 247, 242, 0.95); }
  .glass-dark { background: rgba(21, 20, 19, 0.85); }
}

/* Floating header pill once scrolled */
.site-header.is-scrolled {
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.header-inner {
  border: 1px solid transparent;
  border-radius: 999px;
  transition: padding 0.35s var(--ease-out), background-color 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.site-header.is-scrolled .header-inner {
  width: min(calc(100% - 2 * var(--gutter)), calc(var(--container) - 2 * var(--gutter)));
  padding: 7px 7px 7px 22px;
  background: var(--glass-sheen), var(--glass-tint);
  border-color: var(--glass-border);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
}

/* Colour fields behind glass sections */
.section-band,
.section-fit,
.section-contact {
  position: relative;
  isolation: isolate;
}

.section-band {
  background:
    radial-gradient(40% 70% at 12% 30%, rgba(228, 87, 46, 0.14), transparent 70%),
    radial-gradient(45% 80% at 88% 70%, rgba(120, 150, 190, 0.22), transparent 70%),
    var(--paper-2);
  padding-block: calc(var(--section-space) * 0.65);
}

.section-fit {
  background:
    radial-gradient(35% 60% at 82% 40%, rgba(214, 140, 80, 0.2), transparent 70%),
    radial-gradient(30% 50% at 60% 90%, rgba(120, 150, 190, 0.18), transparent 70%);
}

.section-contact {
  background:
    radial-gradient(40% 60% at 78% 35%, rgba(214, 140, 80, 0.24), transparent 70%),
    radial-gradient(35% 55% at 95% 90%, rgba(120, 150, 190, 0.22), transparent 70%);
}

.fit-card.glass,
.form-wrap.glass { border-radius: 22px; }

/* Brands strip: horizontal sliding marquee */
.brands {
  padding-block: 26px 30px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}

.brands-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.brands-title {
  margin: 0;
  font-size: 0.875rem;
  color: var(--ink-soft);
  font-weight: 600;
}

.marquee-toggle {
  min-height: 32px;
  padding: 4px 12px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-size: 0.8125rem;
  color: var(--ink-soft);
  cursor: pointer;
}

.marquee-toggle:hover { color: var(--ink); border-color: var(--ink); }

.marquee {
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

/* Without JS (or with reduced motion) the list simply sits centred. */
.marquee-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 56px;
  padding-inline: var(--gutter);
}

.marquee-list li {
  display: inline-flex;
  align-items: center;
  gap: 56px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  color: var(--ink);
  white-space: nowrap;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee var(--marquee-duration, 30s) linear infinite;
}

.marquee-track .marquee-list {
  flex-wrap: nowrap;
  padding-inline: 0;
  padding-right: 56px;
}

.marquee-track .marquee-list li::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
}

.marquee:hover .marquee-track,
.marquee.is-paused .marquee-track { animation-play-state: paused; }

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* Results */
.results {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
}

.result {
  padding-top: 22px;
  border-top: 2px solid var(--ink);
}

.result p { margin: 0; }

.result-figure {
  font-size: clamp(3rem, 6vw, 4.6rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--ink);
  margin-bottom: 14px !important;
}

.result-label { font-size: 1.0625rem; color: var(--ink); margin-bottom: 8px !important; }
.result-source { font-size: 0.875rem; color: var(--ink-muted); }
.results-note { margin: 24px 0 0; font-size: 0.875rem; color: var(--signal-ink); }

.cases-soon {
  margin-left: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--rule-strong);
  font-size: 0.875rem;
  font-weight: 400;
  vertical-align: middle;
  color: var(--ink-soft);
}

.cases-title {
  margin: clamp(56px, 7vw, 88px) 0 24px;
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
}

/* Hero proof points */
.hero-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 1.75rem;
  font-size: 0.9375rem;
  color: var(--ink);
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-points li::before {
  content: "";
  width: 12px;
  height: 7px;
  margin-top: -3px;
  border-left: 2px solid var(--signal);
  border-bottom: 2px solid var(--signal);
  transform: rotate(-45deg);
}

/* Free trial offer */
.offer-section {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(40% 70% at 20% 40%, rgba(228, 87, 46, 0.2), transparent 70%),
    radial-gradient(40% 70% at 85% 60%, rgba(214, 140, 80, 0.22), transparent 70%);
}

.offer {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(28px, 5vw, 64px);
  border-radius: 28px;
}

.offer h2 {
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
}

.offer .large { margin-bottom: 1.75rem; }

.offer-detail h3 { margin-bottom: 1rem; }

.offer-terms {
  margin: 1.5rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  font-size: 0.875rem;
  color: var(--ink-muted);
}

/* Select field */
.field select {
  width: 100%;
  padding: 12px 40px 12px 14px;
  border: 1px solid var(--rule-strong);
  border-radius: 6px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23141414' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  appearance: none;
  -webkit-appearance: none;
}

.field select:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(228, 87, 46, 0.25);
}

/* ---------- Signature animation: the page builds itself ----------
   One mock page, four looks, switched by data-stage on .build:
   0 wireframe · 1 type · 2 design · 3 live (default, also the no-JS / reduced-motion state). */
.build {
  position: relative;
  margin: 0;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--rule);
  box-shadow: 0 50px 90px -50px rgba(52, 36, 22, 0.55), 0 2px 0 rgba(255, 255, 255, 0.8) inset;
  overflow: hidden;
}

.build-chrome {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--rule);
  background: var(--glass-sheen), var(--glass-tint);
}

.build-dots { display: flex; gap: 6px; }
.build-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(20, 20, 20, 0.14); }

.build-url {
  flex: 1;
  max-width: 280px;
  margin-inline: auto;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.8125rem;
  color: var(--ink-soft);
  text-align: center;
}

.build-stage-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 88px;
  justify-content: flex-end;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
}

.build-stage-label::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
}

.build-canvas {
  position: relative;
  padding: 16px;
  background: #ece6dc;
  overflow: hidden;
  transition: background-color 0.6s var(--ease-out);
}

/* 12-column grid overlay */
.bw-grid {
  position: absolute;
  inset: 0 16px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 8px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 2;
}

.bw-grid i {
  background: rgba(228, 87, 46, 0.06);
  border-inline: 1px solid rgba(228, 87, 46, 0.16);
}

/* The mock site (live look is the default) */
.bw-site {
  position: relative;
  z-index: 1;
  padding: 14px 18px 18px;
  border-radius: 10px;
  background: linear-gradient(180deg, #fbf8f2, #f2eadf);
  color: #1d1a17;
  box-shadow: 0 18px 40px -24px rgba(52, 36, 22, 0.45);
  transition: background 0.6s var(--ease-out), box-shadow 0.6s ease, border-color 0.4s ease;
  border: 1px solid transparent;
}

.bw-site p { margin: 0; }
.bw-site i { font-style: normal; }

.bw-sk {
  transition: color 0.5s ease, background-color 0.5s ease, border-radius 0.5s ease;
}

.bw-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8125rem;
}

.bw-logo { font-weight: 700; letter-spacing: -0.02em; font-size: 0.95rem; }
.bw-links { display: flex; gap: 14px; color: #4a4540; }

.bw-navbtn {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid #1d1a17;
  font-weight: 600;
  font-size: 0.75rem;
}

.bw-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 16px;
  align-items: center;
  margin: 22px 0 26px;
}

.bw-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  color: #9a3a14;
  margin-bottom: 8px !important;
}

.bw-title-wrap { position: relative; }

.bw-title {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.3vw, 2.05rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 500;
}

.bw-text {
  margin-top: 10px !important;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #4a4540;
}

.bw-ctas {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.bw-btn {
  padding: 7px 13px;
  border-radius: 999px;
  border: 1.5px solid #1d1a17;
  background: #1d1a17;
  color: #f6efe5;
  font-size: 0.75rem;
  font-weight: 600;
  transition: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease, transform 0.15s ease, box-shadow 0.3s ease;
}

.bw-btn-ghost { background: transparent; color: #1d1a17; }
.bw-btn.is-pressed { transform: scale(0.95); box-shadow: 0 0 0 4px rgba(228, 87, 46, 0.3); }

.bw-media {
  position: relative;
  min-height: 170px;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  border: 1.5px solid transparent;
  background:
    radial-gradient(55% 45% at 80% 16%, rgba(255, 220, 170, 0.9), transparent 70%),
    radial-gradient(60% 60% at 70% 45%, rgba(214, 140, 80, 0.55), transparent 72%),
    repeating-linear-gradient(90deg, transparent 0 18%, rgba(28, 20, 14, 0.22) 18% 20%),
    linear-gradient(160deg, #8a6c55 0%, #4a3a2f 60%, #2c231d 100%);
  transition: background 0.6s var(--ease-out), border-color 0.4s ease;
}

.bw-media-x {
  position: absolute;
  inset: 0;
  opacity: 0;
  background:
    linear-gradient(to top right, transparent calc(50% - 0.75px), #b5afa6 50%, transparent calc(50% + 0.75px)),
    linear-gradient(to top left, transparent calc(50% - 0.75px), #b5afa6 50%, transparent calc(50% + 0.75px));
  transition: opacity 0.4s ease;
}

.bw-media-tag {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.85);
  font-size: 0.75rem;
  font-weight: 600;
  color: #1d1a17;
  transition: opacity 0.4s ease;
}

.bw-cards {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.bw-card {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff;
  border: 1.5px solid transparent;
  box-shadow: 0 10px 22px -16px rgba(52, 36, 22, 0.5);
  transition: box-shadow 0.5s ease, border-color 0.4s ease, background-color 0.5s ease;
}

.bw-card b { font-size: 0.8125rem; }
.bw-card i { font-size: 0.75rem; color: #5a544d; }

/* Design-tool annotations */
.bw-anno {
  position: absolute;
  z-index: 3;
  padding: 2px 7px;
  border-radius: 4px;
  background: var(--signal);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.4s ease, transform 0.4s var(--ease-out);
  pointer-events: none;
}

.bw-anno-h1 { right: 0; top: -22px; }
.bw-anno-cta { left: 0; top: calc(100% + 8px); }
.bw-anno-grid { right: 22px; bottom: 10px; background: #1d1a17; }

.bw-redline {
  left: 50%;
  top: -26px;
  height: 26px;
  width: 1px;
  padding: 0;
  background: var(--signal);
}

.bw-redline b {
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  padding: 1px 5px;
  border-radius: 3px;
  background: var(--signal);
  color: #fff;
  font-size: 0.75rem;
}

/* Render sweep on each stage change */
.bw-sweep {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 4;
  width: 35%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  transform: translateX(-120%);
  pointer-events: none;
}

.build.is-sweeping .bw-sweep { animation: build-sweep 0.8s var(--ease-out); }

@keyframes build-sweep { to { transform: translateX(320%); } }

/* Lead toast + cursor for the live payoff */
.bw-toast {
  position: absolute;
  z-index: 5;
  top: 36%;
  right: 34px;
  display: grid;
  gap: 1px;
  padding: 10px 14px 10px 30px;
  border-radius: 12px;
  background: var(--glass-sheen), var(--glass-tint);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  font-size: 0.8125rem;
  opacity: 0;
  transform: translateY(-10px) scale(0.97);
  transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out);
}

.bw-toast::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 15px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal);
}

.bw-toast b { color: var(--ink); }
.bw-toast i { font-style: normal; color: var(--ink-muted); font-size: 0.75rem; }
.build.has-toast .bw-toast { opacity: 1; transform: none; }

.bw-cursor {
  position: absolute;
  z-index: 6;
  left: 0;
  top: 0;
  width: 18px;
  height: 22px;
  opacity: 0;
  pointer-events: none;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 22'%3E%3Cpath d='M1 1v17l4.6-4.4 3 7 3-1.3-3-6.9H15z' fill='%23141414' stroke='%23fff' stroke-width='1.4' stroke-linejoin='round'/%3E%3C/svg%3E");
  transition: transform 1.1s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.3s ease;
}

.build.has-cursor .bw-cursor { opacity: 1; }

/* ----- Stage 2: design (colour and imagery on, still in the design tool) ----- */
.build:is([data-stage="0"], [data-stage="1"], [data-stage="2"]) .bw-anno { opacity: 1; transform: none; }
.build[data-stage="2"] .bw-site { box-shadow: none; }
.build[data-stage="2"] .bw-card { box-shadow: none; }

/* ----- Stages 0–1: grey, structural ----- */
.build:is([data-stage="0"], [data-stage="1"]) .build-canvas { background: #f4f2ee; }
.build:is([data-stage="0"], [data-stage="1"]) .bw-grid { opacity: 1; }
.build:is([data-stage="0"], [data-stage="1"]) .bw-site {
  background: #fff;
  box-shadow: none;
  border-color: #d9d4cb;
  color: #2b2926;
}
.build:is([data-stage="0"], [data-stage="1"]) .bw-title { font-family: var(--font-sans); font-weight: 600; letter-spacing: -0.03em; }
.build:is([data-stage="0"], [data-stage="1"]) .bw-eyebrow { color: #6b665f; }
.build:is([data-stage="0"], [data-stage="1"]) .bw-btn {
  background: transparent;
  color: #6b665f;
  border: 1.5px dashed #a8a299;
}
.build:is([data-stage="0"], [data-stage="1"]) .bw-navbtn { border-style: dashed; border-color: #a8a299; }
.build:is([data-stage="0"], [data-stage="1"]) .bw-media {
  background: #f1efea;
  border: 1.5px dashed #b5afa6;
}
.build:is([data-stage="0"], [data-stage="1"]) .bw-media-x { opacity: 1; }
.build:is([data-stage="0"], [data-stage="1"]) .bw-media-tag { opacity: 0; }
.build:is([data-stage="0"], [data-stage="1"]) .bw-card {
  background: transparent;
  box-shadow: none;
  border: 1.5px dashed #c9c3ba;
}

/* ----- Stage 0: wireframe skeleton ----- */
.build[data-stage="0"] .bw-sk,
.build[data-stage="0"] .bw-btn {
  color: transparent !important;
  background-color: #e2ddd5;
  border-radius: 4px;
}
.build[data-stage="0"] .bw-btn { border-color: transparent; border-radius: 999px; }
.build[data-stage="0"] .bw-navbtn { border-color: transparent; }

/* Controls */
.build-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 16px;
  align-items: center;
  padding: 14px 18px 4px;
  border-top: 1px solid var(--rule);
}

.build-range {
  grid-column: 1;
  width: 100%;
  height: 24px;
  margin: 0;
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.build-range::-webkit-slider-runnable-track { height: 2px; background: var(--ink); border-radius: 2px; }
.build-range::-moz-range-track { height: 2px; background: var(--ink); border-radius: 2px; }
.build-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin-top: -8px;
  border-radius: 50%;
  background: var(--signal);
  border: 3px solid var(--card);
  box-shadow: 0 0 0 1px var(--ink);
}
.build-range::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--signal);
  border: 3px solid var(--card);
  box-shadow: 0 0 0 1px var(--ink);
}

.build-range:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

.build-ticks {
  grid-column: 1;
  list-style: none;
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

.build[data-stage="0"] .build-ticks li:nth-child(1),
.build[data-stage="1"] .build-ticks li:nth-child(2),
.build[data-stage="2"] .build-ticks li:nth-child(3),
.build[data-stage="3"] .build-ticks li:nth-child(4) { color: var(--ink); font-weight: 600; }

.build-replay {
  grid-column: 2;
  grid-row: 1 / span 2;
  min-height: 36px;
  padding: 6px 14px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

.build-replay:hover { border-color: var(--ink); }

.build-caption {
  padding: 10px 18px 16px;
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

/* Four-step process variant */
.flow.flow-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Google Ads band (secondary offer) */
.ads-band {
  background:
    radial-gradient(45% 70% at 85% 20%, rgba(232, 150, 84, 0.22), transparent 70%),
    var(--night);
  color: var(--night-muted);
  padding-block: calc(var(--section-space) * 0.75);
  margin-block: calc(var(--section-space) / 2);
}

.ads-band h2,
.ads-band .large { color: var(--night-text); }
.ads-band strong { color: var(--night-text); }

.slate-dark { color: var(--night-muted); }
.slate-dark::before { background: var(--night-signal); }

.ads-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 96px);
  align-items: start;
}

.ads-points {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 1.5rem 0;
  color: var(--night-text);
}

.ads-points li { position: relative; padding-left: 28px; }

.ads-points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.4em;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--night-signal);
  border-bottom: 2px solid var(--night-signal);
  transform: rotate(-45deg);
}

.ads-offer {
  padding: 16px 18px;
  border-left: 3px solid var(--night-signal);
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 1.75rem;
}

.btn-light { background: var(--night-text); color: var(--night); }
.btn-light:hover { background: #fff; }
.btn-light::after { content: ""; width: 6px; height: 6px; margin-left: 10px; border-radius: 50%; background: var(--signal); }
.ads-band :focus-visible { outline-color: var(--night-text); }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .flow, .flow.flow-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow-step:nth-child(2n)::after { display: none; }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .split,
  .fit-grid,
  .faq-grid,
  .contact { grid-template-columns: 1fr; }
  .offer, .ads-grid { grid-template-columns: 1fr; }
  .hero-grid .build { max-width: 680px; }
}

@media (max-width: 1000px) {
  .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case,
  .case:nth-child(n + 4) { grid-column: auto; }
  .case:last-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .services,
  .cases,
  .process { grid-template-columns: 1fr; }
  .case:last-child { grid-column: auto; }

  .flow, .flow.flow-4 { grid-template-columns: 1fr; gap: 12px; }
  .flow-step:nth-child(n)::after {
    display: block;
    top: auto;
    bottom: -10px;
    right: auto;
    left: 26px;
    transform: rotate(135deg);
  }
  .flow-step:last-child::after { display: none; }
  .results { grid-template-columns: 1fr; }

}

@media (max-width: 560px) {
  .form { grid-template-columns: 1fr; }
  .bw-hero { grid-template-columns: 1fr; margin: 16px 0 22px; }
  .bw-media { min-height: 120px; }
  .bw-links { display: none; }
  .bw-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bw-card:nth-child(4) { display: none; }
  .bw-anno-grid { display: none; }
  .build-url { display: none; }
  .bw-toast { top: auto; bottom: 150px; right: 26px; }
  .bw-media-tag { bottom: auto; top: 8px; }
  .cta-row .btn { flex: 1 1 100%; }
  .case-fields div { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- Preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.001ms !important;
  }

  .js .reveal { opacity: 1; transform: none; }
  .js .reveal-cut img { clip-path: none; filter: none; transform: none; }
}

@media (prefers-contrast: more) {
  :root {
    --rule: rgba(20, 20, 20, 0.35);
    --ink-soft: #222;
    --ink-muted: #3b3936;
  }
  body::after { display: none; }
}

@media (forced-colors: active) {
  .case,
  .fit-card,
  .form-wrap { border: 1px solid CanvasText; }
  body::after { display: none; }
}

/* Site preview dialog */
button.case-media { padding: 0; border: 0; background: none; cursor: pointer; width: 100%; font: inherit; text-align: left; }
button.case-media img { transition: transform 0.4s ease; }
button.case-media:hover img { transform: scale(1.02); }
button.case-link { padding: 0; border: 0; background: none; font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
button.case-link::after { content: " \2192"; }
html.preview-open { overflow: hidden; }

.preview {
  width: min(1240px, calc(100vw - 32px));
  height: min(860px, calc(100vh - 32px));
  max-width: none;
  max-height: none;
  padding: 0;
  border: 1px solid var(--rule-strong);
  border-radius: 10px;
  background: var(--card);
  color: var(--ink);
  overflow: hidden;
}
.preview[open] { display: flex; flex-direction: column; }
.preview::backdrop { background: rgba(21, 20, 19, 0.6); }
.preview-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--rule);
  background: var(--paper-2);
}
.preview-dots { display: flex; gap: 6px; }
.preview-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--rule-strong); }
.preview-title { margin: 0; flex: 1; min-width: 0; font-size: 1rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.preview-open { font-size: 0.9375rem; color: var(--signal-ink); text-underline-offset: 3px; white-space: nowrap; }
.preview-close {
  padding: 8px 16px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
}
.preview-close:focus-visible, .preview-open:focus-visible { outline: 3px solid var(--signal-ink); outline-offset: 2px; }
.preview-frame { flex: 1; width: 100%; border: 0; background: #fff; }
@media (max-width: 640px) {
  .preview { width: 100vw; height: 100vh; height: 100dvh; border-radius: 0; border: 0; }
  .preview-dots, .preview-open { display: none; }
}


/* ---------- Deeper, design-heavy layer ----------
   A darker stone palette (set in :root above) plus heavier type, bigger sections and
   full-bleed colour fields. Remove this block and restore the :root colours to revert. */

h1 {
  font-size: clamp(2.9rem, 5.7vw, 5.4rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.05em;
}

h2 {
  font-size: clamp(2.4rem, 5.4vw, 4.7rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

h3 { font-weight: 700; }

.section-head { max-width: 960px; }
.section-head > p:last-child:not(.slate) { font-size: 1.2rem; max-width: 46em; }

.hero { padding-block: clamp(40px, 6vw, 88px) clamp(80px, 11vw, 144px); }

.btn { font-weight: 700; }
.btn-primary { background: var(--ink); }
.btn-ghost { border-color: var(--ink); border-width: 2px; }

/* Heavier rules and figures */
.result { border-top-width: 6px; padding-top: 26px; }
.result-figure { font-size: clamp(3.6rem, 8vw, 6.6rem); font-weight: 800; color: var(--signal-ink); letter-spacing: -0.06em; }
.result-label { font-weight: 600; }
.flow-num, .process-label { font-weight: 700; }

/* Surfaces step in tone instead of floating */
.service,
.fit-card,
.case,
.flow-step { background: var(--card); border-color: var(--rule); }
.service { padding: clamp(24px, 3vw, 40px); border-radius: 4px; border: 0; }
.case { border: 0; border-radius: 4px; background: var(--paper-2); }
.case-body { padding: clamp(24px, 3vw, 36px); }
.case h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; letter-spacing: -0.04em; }
.case-link { color: var(--ink); text-decoration-thickness: 3px; text-decoration-color: var(--signal); }

/* Full-bleed colour fields */
.section-band {
  background:
    radial-gradient(40% 70% at 10% 30%, rgba(224, 74, 29, 0.2), transparent 70%),
    radial-gradient(45% 80% at 90% 75%, rgba(86, 110, 150, 0.28), transparent 70%),
    var(--paper-2);
  padding-block: calc(var(--section-space) * 0.72);
}

.ads-band {
  margin-block: 0;
  padding-block: calc(var(--section-space) * 0.85);
  background:
    radial-gradient(45% 70% at 85% 20%, rgba(224, 74, 29, 0.28), transparent 70%),
    var(--night);
}
.ads-band h2 { font-size: clamp(2.6rem, 6vw, 5.2rem); }

#work { background: var(--paper-2); }
#about { background: var(--paper); }
#faq { background: var(--card); }

.section-contact {
  background:
    radial-gradient(45% 60% at 82% 30%, rgba(224, 74, 29, 0.3), transparent 70%),
    radial-gradient(35% 55% at 8% 95%, rgba(86, 110, 150, 0.22), transparent 70%),
    var(--night);
  color: var(--night-muted);
}
.section-contact h2,
.section-contact .contact-intro h2 { color: var(--night-text); font-size: clamp(2.8rem, 6.4vw, 5.6rem); }
.section-contact .slate { color: var(--night-muted); }
.section-contact .slate::before { background: var(--night-signal); }
.section-contact .contact-intro p,
.section-contact .contact-links a { color: var(--night-text); }
.section-contact .contact { background: none; padding-top: 0; }

.site-footer { background: var(--night); border-top: 0; color: var(--night-muted); }
.site-footer a { color: var(--night-text); }
.footer-mark { color: var(--night-text); font-size: 1.1rem; }

/* Brand logos in the sliding strip: one grey tone so no mark shouts */
.marquee-list li { gap: 72px; }
.brand-logo {
  display: block;
  height: 34px;
  width: auto;
  max-width: none;
  filter: grayscale(1) contrast(1.25) brightness(0.62);
  opacity: 0.85;
}
.brand-logo.logo-sq { height: 64px; }
.brand-logo.logo-photo { mix-blend-mode: multiply; }
@media (max-width: 640px) {
  .brand-logo { height: 28px; }
  .brand-logo.logo-sq { height: 52px; }
}
.brand-logo[alt="Ralph Lauren"] { height: 17px; }
.brand-logo.logo-wide { height: 120px; margin-block: -30px; }
@media (max-width: 640px) {
  .brand-logo[alt="Ralph Lauren"] { height: 14px; }
  .brand-logo.logo-wide { height: 96px; margin-block: -24px; }
}

/* Legal pages (privacy, terms) */
.legal { padding-block: clamp(48px, 7vw, 96px) clamp(72px, 9vw, 128px); }
.legal-inner { max-width: 760px; }
.legal h1 { margin: 0.4rem 0 0.5rem; font-size: clamp(2.4rem, 5vw, 3.8rem); }
.legal h2 { margin: 2.6rem 0 0.8rem; font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -0.03em; }
.legal h3 { margin: 1.6rem 0 0.4rem; font-size: 1.1rem; }
.legal p, .legal li { font-size: 1.0625rem; color: var(--ink-soft); }
.legal ul { padding-left: 1.2rem; margin: 0 0 1em; display: grid; gap: 0.5rem; }
.legal a { color: var(--ink); text-underline-offset: 3px; }
.legal code { font-size: 0.9em; word-break: break-all; }
.legal-meta { color: var(--ink-muted); font-size: 0.9375rem; }
.legal-nav { gap: 24px; }
.site-footer a { text-underline-offset: 3px; }

.legal-note { margin: 1.6rem 0 0; padding: 18px 22px; background: var(--card); border-radius: 4px; color: var(--ink); }
