/* AE Digital — styles. Brand colors are injected as CSS variables from site.config.js. */

@font-face {
  font-family: "Source Serif 4";
  src: url("/fonts/source-serif-4-var.woff2") format("woff2");
  font-weight: 200 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --pen-ease: cubic-bezier(.65, 0, .35, 1);
  --t-micro: 160ms;
  --pad: clamp(20px, 5vw, 64px);
  --gap: clamp(16px, 2vw, 24px);
  --max: 1320px;
  --err-paper: #A3260A;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--midnight); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--midnight); color: var(--ivory);
  font-family: var(--sans); font-size: clamp(1rem, .96rem + .2vw, 1.125rem); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
del, ins { text-decoration: none; }
[id] { scroll-margin-top: 12px; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 2px; }
.design :focus-visible, .about :focus-visible, .form :focus-visible, .proof:focus-visible { outline-color: var(--ink); }
.proof:focus-visible { outline-color: var(--ivory); outline-offset: 6px; }

.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 { position: absolute; left: 16px; top: -100px; z-index: 50; background: var(--ivory); color: var(--ink); padding: 10px 16px; border-radius: 4px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 14px 26px; border: 0; border-radius: 3px;
  font-weight: 650; font-size: 1.0625rem; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color var(--t-micro) var(--ease), transform var(--t-micro) var(--ease), box-shadow var(--t-micro) var(--ease);
}
.btn--primary { background: var(--orange); color: var(--midnight); }
.btn--primary:hover { background: #FF6A36; transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(251, 79, 20, .7); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { transform: translateY(-1px); }
.btn--sm { min-height: 44px; padding: 10px 16px; font-size: .9375rem; }
.btn:active { transform: none; }
.link-quiet {
  display: inline-flex; align-items: center; gap: .4em; min-height: 44px; font-weight: 600;
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .3em; text-decoration-color: rgba(248, 245, 239, .4);
}
.link-quiet::after { content: "↓"; text-decoration: none; display: inline-block; transition: transform var(--t-micro) var(--ease); }
.link-quiet:hover { text-decoration-color: var(--ivory); }
.link-quiet:hover::after { transform: translateY(2px); }

/* ---------- Masthead ---------- */
.masthead { position: relative; z-index: 20; background: var(--midnight); border-bottom: 1px solid var(--rule-dark); }
.masthead__inner { display: flex; align-items: center; gap: 18px; min-height: 76px; padding-block: 10px; }
/* Reversed logo: white lettering with the approved orange stroke, directly on midnight. */
.logo-mark { display: block; flex: none; border-radius: 2px; }
.logo-mark img { height: 46px; width: auto; }
@media (max-width: 859px) { .logo-mark img { height: 38px; } }
.site-nav { margin-left: auto; }
.site-nav__list { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-link, .nav-group__btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; margin: 0;
  border: 0; background: none; color: var(--ivory); font-weight: 550; font-size: .9375rem; text-decoration: none; cursor: pointer;
}
.nav-link::after, .nav-group__btn::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 8px; height: 2px; background: var(--orange);
  transform: scaleX(0); transform-origin: left; transition: transform var(--t-micro) var(--ease);
}
.nav-group__btn::after { right: 28px; }
.nav-link:hover::after, .nav-group__btn:hover::after, .nav-link[aria-current="page"]::after, .nav-group.is-current > .nav-group__btn::after { transform: scaleX(1); }
.nav-caret { width: 7px; height: 7px; border-right: 1.75px solid currentColor; border-bottom: 1.75px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 220ms var(--ease); }
.nav-group.is-open .nav-caret { transform: translateY(1px) rotate(-135deg); }
.nav-group { position: relative; }
.nav-sub { list-style: none; margin: 0; padding: 0; }
.nav-sub a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 3px; text-decoration: none; }
.nav-sub__t { font-family: var(--serif); font-weight: 600; font-size: 1.0625rem; line-height: 1.2; width: fit-content; }
.nav-sub__n { font-size: .8125rem; line-height: 1.35; }
.nav-sub a[aria-current="page"] .nav-sub__t { background: linear-gradient(var(--orange), var(--orange)) no-repeat 0 100% / 100% 2px; }
.site-nav__cta { margin-left: 10px; }
.nav-toggle { display: none; }
@media (min-width: 860px) {
  /* Desktop dropdown: a paper panel that unfolds from the top */
  .nav-sub {
    position: absolute; top: calc(100% + 10px); left: -6px; z-index: 30; min-width: 300px; padding: 8px;
    background: var(--paper); color: var(--ink); border-radius: 4px; box-shadow: 0 30px 60px -22px rgba(0, 0, 0, .75);
    visibility: hidden; opacity: 0; transform: translateY(-6px); clip-path: inset(0 0 100% 0 round 4px);
    transition: opacity 180ms var(--ease), transform 280ms var(--ease), clip-path 320ms var(--ease), visibility 0s linear 320ms;
  }
  .nav-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } /* hover bridge */
  .nav-group.is-open .nav-sub, html:not(.js) .nav-group:hover .nav-sub, html:not(.js) .nav-group:focus-within .nav-sub {
    visibility: visible; opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 4px); transition-delay: 0s;
  }
  .nav-sub a { color: var(--ink); }
  .nav-sub a:hover { background: rgba(7, 24, 39, .06); }
  .nav-sub a:focus-visible { outline-color: var(--ink); outline-offset: -2px; }
  .nav-sub__n { color: var(--ink-soft); }
}
@media (max-width: 959px) { .site-nav__cta { display: none; } }
@media (max-width: 859px) {
  .masthead__inner { min-height: 60px; padding-block: 8px; }
  .js .nav-toggle {
    display: inline-flex; align-items: center; gap: 10px; margin-left: auto; min-height: 44px; padding: 0 14px;
    border: 1.5px solid var(--rule-dark); border-radius: 3px; background: transparent; font-weight: 600; cursor: pointer;
  }
  .nav-toggle__icon, .nav-toggle__icon::before, .nav-toggle__icon::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform var(--t-micro) var(--ease), background-color var(--t-micro) var(--ease); }
  .nav-toggle__icon::before, .nav-toggle__icon::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__icon::before { top: -6px; }
  .nav-toggle__icon::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__icon { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__icon::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__icon::after { transform: translateY(-6px) rotate(-45deg); }
  .js .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - 60px); overflow-y: auto; background: var(--midnight); border-bottom: 1px solid var(--rule-dark); box-shadow: 0 24px 32px -16px rgba(0, 0, 0, .5); }
  .js .site-nav.is-open { display: block; }
  .site-nav { width: 100%; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: 4px var(--pad) 18px; }
  .nav-link, .nav-group__btn { width: 100%; justify-content: space-between; min-height: 52px; padding: 0; font-size: 1.0625rem; border-bottom: 1px solid var(--rule-dark); }
  .nav-link::after, .nav-group__btn::after { display: none; }
  .nav-link[aria-current="page"], .nav-group.is-current > .nav-group__btn { color: var(--orange); }
  /* Mobile: groups are an accordion inside the menu */
  .js .nav-sub { display: none; padding: 6px 0 10px 12px; border-bottom: 1px solid var(--rule-dark); }
  .js .nav-group.is-open .nav-sub { display: block; }
  .nav-sub a { color: var(--ivory); padding: 8px 0; }
  .nav-sub__n { color: var(--ivory-muted); }
  .site-nav__cta { display: block; margin: 16px 0 0; }
  .site-nav__cta .btn { width: 100%; }
  html:not(.js) .masthead__inner { flex-wrap: wrap; }
}

/* Shared: section titles, quiet links, page heads with a pen underline */
.section-title { font-family: var(--serif); font-weight: 600; font-optical-sizing: auto; font-size: clamp(2rem, 1.3rem + 2.4vw, 3.25rem); line-height: 1.05; letter-spacing: -.022em; margin: 0 0 20px; text-wrap: balance; }
.link-quiet--go::after { content: "→"; }
.link-quiet--go:hover::after { transform: translateX(3px); }
.link-quiet--paper { text-decoration-color: rgba(7, 24, 39, .35); }
.link-quiet--paper:hover { text-decoration-color: var(--ink); }
.page-head { background: var(--midnight); padding-block: clamp(48px, 7vw, 104px) clamp(64px, 8vw, 112px); }
.page-head__title { font-family: var(--serif); font-weight: 600; font-optical-sizing: auto; font-size: clamp(2.5rem, 1.25rem + 4.3vw, 5rem); line-height: 1.02; letter-spacing: -.03em; max-width: 17ch; margin-bottom: 22px; text-wrap: balance; }
.page-head__intro { font-size: clamp(1.0625rem, 1rem + .4vw, 1.3125rem); color: var(--ivory-muted); max-width: 38em; margin: 0; }
.pen-u { background: linear-gradient(var(--orange), var(--orange)) no-repeat 0 94% / 100% .075em; padding-bottom: .02em; }
@media (prefers-reduced-motion: no-preference) {
  .pen-u { animation: pen-u 760ms var(--pen-ease) 260ms both; }
}
@keyframes pen-u { from { background-size: 0% .075em; } to { background-size: 100% .075em; } }
.page-head--404 { min-height: 60vh; }
.page-head--404 .hero__actions { margin-top: 28px; }

/* =========================================================
   1. HERO — before (Nathan's pen) → after (the finished design)
   ========================================================= */
.hero { position: relative; background: radial-gradient(1100px 560px at 88% -12%, rgba(251, 79, 20, .13), transparent 62%), radial-gradient(900px 520px at -8% 112%, rgba(16, 47, 73, .95), transparent 62%), var(--midnight); padding-block: clamp(28px, 5vw, 64px) clamp(44px, 6vw, 84px); overflow: hidden; }
.hero::before { /* faint drafting grid */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(248, 245, 239, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(248, 245, 239, .045) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 72% 34%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 72% 34%, #000, transparent 70%);
}
.hero > .wrap { position: relative; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 36px; }
.kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font-size: .8125rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--ivory-muted); }
.kicker::before { content: ""; width: 34px; height: 9px; flex: none; background: var(--orange); clip-path: polygon(0 100%, 100% 0, 100% 34%, 0 100%); }
.hero__title { font-family: var(--serif); font-weight: 600; font-optical-sizing: auto; font-size: clamp(2.5rem, 1.35rem + 3.9vw, 4.75rem); line-height: 1.02; letter-spacing: -.03em; margin-bottom: 22px; text-wrap: balance; }
.hero__intro { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); color: var(--ivory-muted); max-width: 30em; margin-bottom: 26px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; }
@media (min-width: 1000px) {
  .hero__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; }
  .hero__text { grid-column: 1 / span 5; }
  .hero__proof { grid-column: 6 / span 7; }
}

/* Pen marks — resting state is the finished edit; .is-marking replays the drawing. */
.mk-strike { background: linear-gradient(var(--orange), var(--orange)) no-repeat 0 56% / 100% 2.5px; }
.mk-ins {
  display: inline-flex; align-items: baseline; gap: 10px; color: var(--pen);
  font-family: var(--serif); font-style: italic; font-weight: 650; font-size: clamp(1.375rem, 1.05rem + 1.1vw, 1.875rem); line-height: 1.12; letter-spacing: -.01em;
}
.mk-ins::before { /* proofreader's insertion caret */
  content: ""; flex: none; align-self: flex-end; width: 16px; height: 12px; margin-bottom: .12em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12'%3E%3Cpath d='M1.5 10.5 L8 1.8 L14.5 10.5' fill='none' stroke='%23FB4F14' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.mk-ins--btn { margin-top: 10px; display: flex; width: fit-content; padding: 6px 14px 7px 12px; border: 2px solid var(--orange); border-radius: 5px 3px 6px 4px; font-family: var(--sans); font-style: normal; font-size: 1rem; font-weight: 700; }
.mk-ins--btn::before { display: none; }
.mk-squig { text-decoration: underline wavy var(--orange); text-decoration-thickness: 1.5px; text-underline-offset: 5px; text-decoration-skip-ink: none; }
.mk-circle { position: relative; display: inline-block; padding: 2px 6px; }
.mk-loop { position: absolute; left: -12px; top: -9px; width: calc(100% + 24px); height: calc(100% + 18px); max-width: none; overflow: visible; pointer-events: none; }
@property --sweep { syntax: "<angle>"; inherits: false; initial-value: 360deg; }
.mk-loop path, .ph-mark path { fill: none; stroke: var(--orange); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.mk-loop, .ph-mark { -webkit-mask: conic-gradient(from -100deg at 50% 50%, #000 var(--sweep), transparent 0); mask: conic-gradient(from -100deg at 50% 50%, #000 var(--sweep), transparent 0); }
.route__line { fill: none; stroke: var(--orange); stroke-linecap: round; stroke-dasharray: 1; }
.pr__note {
  position: relative; margin: 0; padding-left: 18px; color: var(--pen);
  font-family: var(--serif); font-style: italic; font-weight: 550; font-size: 1rem; line-height: 1.28;
}
.pr__note::before { content: ""; position: absolute; left: 0; top: .62em; width: 11px; height: 2px; background: var(--orange); transform-origin: left; }

@media (prefers-reduced-motion: no-preference) {
  .site.is-marking .mk-strike { animation: pen-strike 460ms var(--pen-ease) calc(var(--d) * var(--k, 1)) both; }
  .site.is-marking .mk-ins { animation: pen-write 620ms var(--pen-ease) calc(var(--d) * var(--k, 1)) both; }
  .site.is-marking .mk-squig { animation: pen-squig 520ms var(--ease) calc(var(--d) * var(--k, 1)) both; }
  .site.is-marking .mk-loop { animation: pen-sweep 700ms var(--pen-ease) calc(var(--d) * var(--k, 1)) both; }
  .site.is-marking .pr__note { animation: note-in 420ms var(--ease) calc(var(--d) * var(--k, 1)) both; }
  .site.is-marking .pr__note::before { animation: note-lead 300ms var(--ease) calc(var(--d) * var(--k, 1)) both; }
}
@keyframes pen-strike { from { background-size: 0% 2.5px; } to { background-size: 100% 2.5px; } }
@keyframes pen-write { from { clip-path: inset(-20% 100% -20% -4px); } to { clip-path: inset(-20% -6px -20% -4px); } }
@keyframes pen-squig { from { text-decoration-color: transparent; text-underline-offset: 12px; } to { text-decoration-color: var(--orange); text-underline-offset: 5px; } }
@keyframes pen-sweep { from { --sweep: 0deg; } to { --sweep: 360deg; } }
@keyframes note-in { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
@keyframes note-lead { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* =========================================================
   2. WHAT CUSTOMERS WANT — sticky phone, five questions
   ========================================================= */
.customers { position: relative; background: var(--deep); padding-block: clamp(40px, 6vw, 80px); overflow: clip; }
.customers__head { position: relative; max-width: 50rem; margin-bottom: clamp(24px, 5vw, 64px); }
.customers__head { max-width: none; }
.customers__head > :not(.customers__five) { max-width: 50rem; }
.customers__five {
  position: absolute; right: var(--pad); top: -.22em; z-index: 0; font-family: var(--serif); font-weight: 700;
  font-size: clamp(11rem, 4rem + 22vw, 24rem); line-height: .9; color: rgba(251, 79, 20, .16);
  pointer-events: none; user-select: none;
}
@media (max-width: 899px) { .customers__five { display: none; } }
.customers__title { position: relative; font-family: var(--serif); font-weight: 600; font-size: clamp(2.25rem, 1.3rem + 3.2vw, 4rem); line-height: 1.02; letter-spacing: -.025em; max-width: 15ch; margin-bottom: 20px; text-wrap: balance; }
.customers__body { position: relative; color: var(--ivory-muted); max-width: 36em; font-size: 1.0625rem; margin: 0; }
.customers__grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.customers__phone { position: sticky; top: 12px; z-index: 1; height: 372px; display: flex; justify-content: center; pointer-events: none; }
.customers__phone .phone { transform: scale(.58); transform-origin: 50% 0; }
.qs { list-style: none; margin: 0; padding: 0; position: relative; z-index: 2; }
.q { min-height: 82vh; display: flex; align-items: flex-end; padding-bottom: 6vh; }
.q:first-child { margin-top: 18vh; }
.q__card {
  width: 100%; padding: 22px 22px 20px; background: rgba(16, 47, 73, .94); border: 1px solid var(--rule-dark); border-radius: 4px;
  box-shadow: 0 -20px 40px -20px rgba(0, 0, 0, .5); backdrop-filter: blur(6px);
  transition: border-color 300ms var(--ease);
}
.q.is-active .q__card { border-color: rgba(251, 79, 20, .6); }
.q__n { display: block; font-family: var(--serif); font-weight: 600; font-size: 1rem; color: var(--orange); margin-bottom: 6px; }
.q__ask { font-family: var(--serif); font-weight: 600; font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.375rem); line-height: 1.1; letter-spacing: -.015em; margin: 0 0 14px; }
.q__fix { color: var(--ivory-muted); margin: 0 0 12px; max-width: 34em; }
.q__label { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ivory); margin-bottom: 4px; }
.q__why { display: flex; gap: 10px; align-items: baseline; margin: 0; font-family: var(--serif); font-style: italic; font-size: 1.0625rem; color: var(--ivory); }
.q__why::before { content: "→"; font-style: normal; color: var(--orange); }
@media (min-width: 1000px) {
  .customers__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .customers__phone { grid-column: 1 / span 5; grid-row: 1; top: calc(50vh - 320px); height: 640px; align-self: start; }
  .customers__phone .phone { transform: none; }
  .qs { grid-column: 7 / span 6; grid-row: 1; }
  .q { min-height: 88vh; align-items: center; padding-bottom: 0; }
  .q:first-child { margin-top: 0; }
  .q__card { background: transparent; border: 0; border-left: 2px solid var(--rule-dark); border-radius: 0; box-shadow: none; backdrop-filter: none; padding: 6px 0 6px 32px; opacity: .38; transition: opacity 360ms var(--ease), border-color 360ms var(--ease); }
  .q.is-active .q__card { opacity: 1; border-left-color: var(--orange); }
}
html:not(.js) .q__card { opacity: 1 !important; }

/* The phone */
.phone {
  flex: none; width: 300px; height: 620px; padding: 11px; border-radius: 46px; background: #0A0E13;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .09), 0 50px 90px -30px rgba(0, 0, 0, .85), 0 0 0 10px rgba(248, 245, 239, .03);
}
.phone__screen {
  position: relative; height: 100%; overflow: hidden; border-radius: 36px; background: #FBF8F2; color: var(--ink);
  padding: 0 16px; font-size: 13px; line-height: 1.35;
}
.ph-status { display: flex; justify-content: space-between; align-items: center; height: 36px; padding: 0 8px; font-size: 12px; font-weight: 650; }
.ph-icons { display: flex; gap: 4px; }
.ph-icons i { width: 14px; height: 9px; border-radius: 2px; background: var(--ink); opacity: .85; }
.ph-icons i:first-child { width: 10px; }
.ph-head { display: flex; align-items: center; gap: 10px; padding: 6px 0 10px; border-bottom: 1px solid rgba(7, 24, 39, .1); }
.ph-head b { font-family: var(--serif); font-size: 16px; margin-right: auto; }
.ph-contact { font-size: 10px; color: #8A8F98; transition: opacity 300ms var(--ease); }
.ph-menu { width: 16px; height: 2px; background: var(--ink); position: relative; }
.ph-menu::before, .ph-menu::after { content: ""; position: absolute; left: 0; width: 16px; height: 2px; background: var(--ink); }
.ph-menu::before { top: -5px; }
.ph-menu::after { top: 5px; }
.ph-slot { position: relative; display: grid; margin: 12px 0; }
.ph-slot > .ph-before, .ph-slot > .ph-after { grid-area: 1 / 1; margin: 0; align-self: start; }
.ph-before, .ph-after { transition: opacity 420ms var(--ease), transform 420ms var(--ease), filter 420ms var(--ease); }
.ph-after { opacity: 0; transform: translateY(8px); filter: blur(3px); }
.ph-welcome { font-family: var(--serif); font-size: 19px; font-weight: 600; color: #8A8F98; }
.ph-h { font-family: var(--serif); font-size: 21px; line-height: 1.1; font-weight: 650; letter-spacing: -.01em; }
.ph-small { font-size: 12.5px; color: #6A707A; }
.ph-photo { position: relative; display: grid; height: 96px; border-radius: 8px; overflow: hidden; background: linear-gradient(135deg, #C9CDD3, #E2E4E8); font-size: 10.5px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
.ph-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, #2E4A63 0 38%, #C8834A 38% 44%, #D9C3A5 44% 100%); opacity: 0; transition: opacity 500ms var(--ease); }
.ph-photo span { position: relative; z-index: 1; grid-area: 1 / 1; align-self: end; justify-self: start; margin: 8px; padding: 2px 7px; border-radius: 3px; background: rgba(255, 255, 255, .85); }
.ph-stars { margin: 0 0 6px; font-size: 12px; }
.ph-stars span { color: #C98A00; letter-spacing: 1px; }
.ph-chips { display: flex; flex-wrap: wrap; gap: 5px; margin: 0; }
.ph-chips span { font-size: 10.5px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: rgba(7, 24, 39, .07); }
.ph-card { display: grid; gap: 2px; padding: 9px 11px; background: #EFE7D8; border-left: 3px solid var(--ink); border-radius: 3px; }
.ph-card b { font-size: 13px; }
.ph-card span { font-size: 11.5px; color: #4A5260; }
.ph-link { font-size: 12.5px; color: #3D63B0; text-decoration: underline; }
.ph-form { display: grid; gap: 6px; padding: 12px; border-radius: 10px; background: #fff; box-shadow: 0 6px 18px -8px rgba(7, 24, 39, .3); }
.ph-form b { font-size: 14px; }
.ph-field { height: 26px; border: 1px solid rgba(7, 24, 39, .2); border-radius: 5px; padding: 4px 8px; font-size: 11px; color: #8A8F98; }
.ph-send { display: grid; place-items: center; height: 32px; border-radius: 6px; background: var(--ink); color: #fff; font-weight: 650; font-size: 12.5px; }
.ph-form small { font-size: 10.5px; color: #4A5260; }
.ph-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: grid; grid-template-columns: 1.2fr 1fr; gap: 8px; padding: 10px 14px 20px; background: var(--ink); transform: translateY(105%); transition: transform 520ms var(--ease); }
.ph-call, .ph-book { display: grid; place-items: center; height: 38px; border-radius: 8px; font-weight: 700; font-size: 13px; }
.ph-call { background: var(--orange); color: var(--ink); }
.ph-book { border: 1.5px solid rgba(255, 255, 255, .5); color: #fff; }
.ph-toast { position: absolute; left: 10px; right: 10px; top: 40px; z-index: 4; display: grid; gap: 1px; padding: 10px 14px; border-radius: 16px; background: rgba(7, 24, 39, .94); color: #fff; font-size: 11.5px; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .6); transform: translateY(-160%); transition: transform 560ms var(--ease); }
.ph-toast b { font-size: 12.5px; }
.ph-toast b::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: #3BB273; }
.ph-mark { position: absolute; left: -7px; top: -6px; width: calc(100% + 14px); height: calc(100% + 12px); max-width: none; overflow: visible; pointer-events: none; z-index: 2; }
.ph-mark { --sweep: 0deg; transition: --sweep 700ms var(--pen-ease); }
.ph-bar .ph-mark { left: 6px; top: 4px; width: calc(100% - 12px); height: calc(100% - 14px); }

/* Fix states (cumulative), focus mark (current step), and the booked-job moment */
.phone.is-fix-1 .ph-s1 .ph-before, .phone.is-fix-2 .ph-s2 .ph-before, .phone.is-fix-3 .ph-s3 .ph-before, .phone.is-fix-5 .ph-s5 .ph-before,
.phone.is-fix-2 .ph-photo .ph-before { opacity: 0; transform: translateY(-8px); filter: blur(3px); }
.phone.is-fix-1 .ph-s1 .ph-after, .phone.is-fix-2 .ph-s2 .ph-after, .phone.is-fix-3 .ph-s3 .ph-after, .phone.is-fix-5 .ph-s5 .ph-after,
.phone.is-fix-2 .ph-photo .ph-after { opacity: 1; transform: none; filter: none; }
.phone.is-fix-2 .ph-photo::after { opacity: 1; }
.phone.is-fix-4 .ph-bar { transform: none; }
.phone.is-fix-4 .ph-contact { opacity: 0; }
.phone[data-step="1"] [data-slot="1"] .ph-mark, .phone[data-step="2"] [data-slot="2"] .ph-mark, .phone[data-step="3"] [data-slot="3"] .ph-mark,
.phone[data-step="4"] [data-slot="4"] .ph-mark, .phone[data-step="5"] [data-slot="5"] .ph-mark { --sweep: 360deg; transition-delay: 260ms; }
.phone.is-done .ph-toast { transform: none; transition-delay: 900ms; }
/* No JS: show the finished page */
html:not(.js) .ph-before { opacity: 0; }
html:not(.js) .ph-after { opacity: 1; transform: none; filter: none; }
html:not(.js) .ph-bar { transform: none; }
html:not(.js) .ph-photo::after { opacity: 1; }

/* =========================================================
   3. WEBSITE DESIGN — the exploded page (paper)
   ========================================================= */
.tear { position: absolute; left: 0; top: -25px; width: 100%; height: 26px; max-width: none; fill: var(--paper); pointer-events: none; }
.design { position: relative; background: var(--paper); color: var(--ink); padding-block: clamp(64px, 8vw, 120px) clamp(72px, 9vw, 128px); }
.design__head { margin-bottom: clamp(24px, 4vw, 56px); }
.design__title { font-family: var(--serif); font-weight: 650; font-optical-sizing: auto; font-size: clamp(3.25rem, .8rem + 9.4vw, 10rem); line-height: .86; letter-spacing: -.045em; margin: 0 0 18px; }
.design__sub { font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 1.05rem + .8vw, 1.75rem); line-height: 1.3; color: var(--ink-soft); max-width: 28em; margin: 0; }
.design__grid { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
.design__art { --spread: 34px; position: relative; height: clamp(360px, 96vw, 460px); overflow: visible; }
.design__intro { font-size: 1.125rem; max-width: 34em; margin-bottom: 28px; }
.design__scope { margin: 28px 0 24px; color: var(--ink-soft); }
@media (min-width: 1000px) {
  .design__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
  .design__art { --spread: 64px; grid-column: 1 / span 6; position: sticky; top: calc(50vh - 270px); height: 540px; }
  .design__list { grid-column: 8 / span 5; padding-top: 40px; }
}

.layers { --p: 1; position: absolute; inset: 0; perspective: 2200px; perspective-origin: 50% 30%; }
.layer {
  position: absolute; left: 50%; top: 52%; width: clamp(220px, 52vw, 340px); aspect-ratio: 34 / 23;
  transform-style: preserve-3d;
  transform: translate(-50%, -50%) rotateX(58deg) rotateZ(-36deg) translateZ(calc((var(--i) - 2.5) * (12px + var(--spread, 64px) * var(--p)) + var(--lift, 0px)));
  transition: transform 160ms linear;
}
.layer__face {
  position: absolute; inset: 0; border-radius: 10px; background: #FFFDF8; border: 1.5px solid rgba(7, 24, 39, .55);
  box-shadow: 0 1px 0 rgba(7, 24, 39, .3), 0 24px 30px -20px rgba(7, 24, 39, .35);
  padding: 16px 18px; display: flex; flex-wrap: wrap; align-content: flex-start; gap: 8px;
  transition: border-color 260ms var(--ease), background-color 260ms var(--ease), opacity 260ms var(--ease);
}
.layer.is-active { --lift: 34px; transition: transform 380ms var(--ease); }
.layer.is-active .layer__face { border-color: var(--orange); border-width: 2.5px; background: #FFF6EE; }
.layers.has-active .layer:not(.is-active) .layer__face { opacity: .62; }
.lw-cap { position: absolute; left: 16px; bottom: 12px; font-size: 11px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.layer.is-active .lw-cap { color: var(--pen); }
.lw-key { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--ink); position: relative; }
.lw-key::after { content: ""; position: absolute; left: 28px; top: 12px; width: 40px; height: 5px; background: var(--ink); border-radius: 2px; }
.lw-pill { margin-left: 44px; align-self: center; font-size: 12px; font-weight: 650; padding: 4px 10px; border-radius: 999px; background: rgba(7, 24, 39, .08); }
.lw-bubble { width: 62%; height: 40px; border-radius: 14px 14px 14px 4px; background: rgba(7, 24, 39, .1); }
.lw-bubble--r { margin-left: 30%; border-radius: 14px 14px 4px 14px; background: rgba(7, 24, 39, .22); }
.lw-h { width: 70%; height: 16px; border-radius: 3px; background: var(--ink); }
.lw-line { width: 100%; height: 7px; border-radius: 3px; background: rgba(7, 24, 39, .22); }
.lw-line--s { width: 60%; }
.lw-phone { width: 62px; height: 108px; border: 3px solid var(--ink); border-radius: 12px; padding: 8px 6px; display: grid; gap: 5px; align-content: start; }
.lw-phone i { height: 12px; border-radius: 2px; background: rgba(7, 24, 39, .22); }
.lw-phone i:first-child { height: 22px; background: var(--ink); }
.lw-field { width: 100%; height: 18px; border: 1.5px solid rgba(7, 24, 39, .4); border-radius: 4px; }
.lw-btn { width: 46%; height: 26px; border-radius: 4px; background: var(--orange); }
.lw-check { width: 26px; height: 26px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.2 2.2 4.8-5' fill='none' stroke='white' stroke-width='1.8'/%3E%3C/svg%3E") center / 14px no-repeat; }
.lw-live { font-size: 12px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: #2F8F5B; padding: 3px 9px; border-radius: 999px; }
.lw-cal { width: 100%; display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; }
.lw-cal i { aspect-ratio: 1; border-radius: 2px; background: rgba(7, 24, 39, .14); }
.lw-cal i:nth-child(-n+9) { background: var(--ink); }

.deliv { list-style: none; margin: 0; padding: 0; counter-reset: d; }
.deliv__item { position: relative; display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; padding: 18px 0 18px 4px; border-top: 1px solid var(--rule-paper); }
.deliv__item:last-child { border-bottom: 1px solid var(--rule-paper); }
.deliv__item::before { content: ""; position: absolute; left: -16px; top: 18px; bottom: 18px; width: 3px; background: var(--orange); transform: scaleY(0); transform-origin: top; transition: transform 300ms var(--ease); }
.deliv__item.is-active::before { transform: scaleY(1); }
.deliv__n { grid-row: span 2; font-family: var(--serif); font-weight: 600; font-size: 1rem; color: var(--pen); padding-top: 3px; }
.deliv__t { font-family: var(--serif); font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); line-height: 1.2; margin-bottom: 4px; }
.deliv__item p { margin: 0; color: var(--ink-soft); }

.more { margin-top: clamp(56px, 7vw, 96px); padding-top: 28px; border-top: 2px solid var(--ink); display: grid; gap: 20px; }
.more__title { font-size: .8125rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.more__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.more__list h4 { font-family: var(--serif); font-size: 1.25rem; margin-bottom: 4px; }
.more__list p { margin: 0; color: var(--ink-soft); font-size: 1rem; }
@media (min-width: 860px) {
  .more { grid-template-columns: 180px 1fr; }
  .more__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
  .more__list li { padding: 0 24px; border-left: 1px solid var(--rule-paper); }
  .more__list li:first-child { padding-left: 0; border-left: 0; }
}

/* =========================================================
   4. PROCESS — the route
   ========================================================= */
.process { position: relative; background: var(--deep); padding-block: clamp(64px, 8vw, 112px); }
.process__title { font-family: var(--serif); font-weight: 600; font-size: clamp(2.25rem, 1.3rem + 3vw, 3.75rem); line-height: 1.04; letter-spacing: -.025em; margin-bottom: clamp(32px, 5vw, 64px); }
.route { --rp: 1; position: relative; }
.route__svg { position: absolute; overflow: visible; pointer-events: none; }
.route__ghost { fill: none; stroke: rgba(248, 245, 239, .14); stroke-width: 2; stroke-dasharray: 2 7; vector-effect: non-scaling-stroke; }
.route__line { stroke-width: 3.5; stroke-dashoffset: calc(1 - var(--rp)); }
.route__svg--h { display: none; }
.route__svg--v { left: 0; top: 0; width: 40px; height: 100%; }
.route__stops { list-style: none; margin: 0; padding: 0; display: grid; gap: 44px; }
.stop { position: relative; padding-left: 64px; }
.stop__dot { position: absolute; left: 11px; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--midnight); border: 2.5px solid rgba(248, 245, 239, .45); transition: background-color 300ms var(--ease), border-color 300ms var(--ease), transform 300ms var(--ease); }
.stop.is-reached .stop__dot { background: var(--orange); border-color: var(--orange); transform: scale(1.15); }
.stop__n { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ivory-muted); margin-bottom: 4px; }
.stop__t { font-family: var(--serif); font-size: clamp(1.375rem, 1.2rem + .6vw, 1.75rem); line-height: 1.15; margin-bottom: 8px; }
.stop p { color: var(--ivory-muted); margin: 0; max-width: 24em; }
@media (min-width: 900px) {
  .route { padding-top: 220px; }
  .route__svg--v { display: none; }
  .route__svg--h { display: block; left: 0; top: 0; width: 100%; height: 200px; }
  .route__stops { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gap); }
  .stop { padding-left: 0; padding-right: 8px; }
  .stop__dot { left: calc(50% - 11px); top: calc(-220px + 140px - 11px); width: 22px; height: 22px; }
  .stop:nth-child(even) .stop__dot { top: calc(-220px + 60px - 11px); }
}
html:not(.js) .stop__dot { background: var(--orange); border-color: var(--orange); }

/* =========================================================
   5. FOUNDER — paper
   ========================================================= */
.about { position: relative; background: var(--paper); color: var(--ink); padding-block: clamp(96px, 12vw, 184px); overflow: hidden; }
.about__emet {
  position: absolute; right: -.08em; bottom: -.26em; font-family: var(--serif); font-weight: 700; font-size: clamp(9rem, 3rem + 26vw, 30rem); line-height: 1;
  color: rgba(7, 24, 39, .045); letter-spacing: -.04em; pointer-events: none; user-select: none;
}
.about__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); }
.about__quote { margin: 0; }
.about__quote blockquote { margin: 0; }
.about__lead { font-family: var(--serif); font-weight: 600; font-optical-sizing: auto; font-size: clamp(2rem, 1.05rem + 3.3vw, 4.125rem); line-height: 1.06; letter-spacing: -.025em; margin: 0 0 clamp(20px, 2.4vw, 32px); max-width: 20ch; text-wrap: pretty; }
.about__arthur, .about__truth { position: relative; display: inline-block; }
.about__rule { position: absolute; left: 0; right: 0; bottom: -.04em; height: .085em; background: var(--orange); clip-path: polygon(0 70%, 100% 0, 100% 100%, 0 100%); }
.about__loop { left: -.22em; top: -.08em; width: calc(100% + .44em); height: calc(100% + .2em); }
.about__loop path { stroke-width: 3; }
@media (prefers-reduced-motion: no-preference) {
  .js .about__rule { transform: scaleX(0); transform-origin: left; transition: transform 640ms var(--ease) 180ms; }
  .js .about__quote.is-in .about__rule { transform: scaleX(1); }
  .js .about__loop { --sweep: 0deg; transition: --sweep 820ms var(--pen-ease) 900ms; }
  .js .about__quote.is-in .about__loop { --sweep: 360deg; }
  .js .about__give .give__loop { transition-delay: 300ms; }
  .js .about__give.is-in .give__loop { --sweep: 360deg; }
}
.about__close { font-family: var(--serif); font-size: clamp(1.375rem, 1.1rem + 1.1vw, 2rem); line-height: 1.3; color: var(--ink-soft); max-width: 24em; margin: 0 0 32px; }
.about__quote figcaption { display: grid; gap: 2px; }
.about__name { font-weight: 700; }
.about__role { color: var(--ink-soft); }
.about__intro { margin-top: clamp(40px, 5vw, 64px); padding-top: 24px; border-top: 2px solid var(--ink); max-width: 34em; }
.about__intro p:last-child { margin-bottom: 0; }
.about__portrait { width: 100%; max-width: 280px; aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 24px; }
/* Giving note: 5% of profit to Destiny Rescue */
.about__give { position: relative; margin-top: clamp(40px, 5vw, 64px); padding-top: 24px; border-top: 2px solid var(--ink); max-width: 34em; }
.give__line { margin: 0 0 14px; font-size: 1.125rem; line-height: 1.5; }
.give__stat { position: relative; display: inline-block; margin-right: .2em; padding: 0 .12em; font-family: var(--serif); font-weight: 650; font-size: clamp(2.5rem, 1.9rem + 2vw, 3.5rem); line-height: 1; letter-spacing: -.02em; color: var(--pen); vertical-align: -.12em; }
.give__loop { left: -.28em; top: -.2em; width: calc(100% + .56em); height: calc(100% + .4em); }
.give__text { font-family: var(--serif); font-size: clamp(1.1875rem, 1.05rem + .5vw, 1.4375rem); line-height: 1.35; }
.give__link { display: inline-flex; align-items: center; gap: .35em; min-height: 44px; font-weight: 650; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .3em; text-decoration-color: rgba(7, 24, 39, .4); }
.give__link::after { content: "↗"; text-decoration: none; display: inline-block; }
.give__link:hover { text-decoration-color: var(--ink); }
.site-footer__give { color: var(--ivory-muted); font-size: .9375rem; max-width: 36em; margin: 0; }
.site-footer__give a { color: var(--ivory); text-underline-offset: .25em; }
@media (min-width: 1000px) {
  .about__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .about__quote { grid-column: 1 / span 9; }
  .about__intro { grid-column: 1 / span 5; grid-row: 2; }
  .about__give { grid-column: 8 / span 5; grid-row: 2; }
}

/* =========================================================
   6. CONTACT — the work order
   ========================================================= */
.contact { background: var(--midnight); padding-block: clamp(88px, 10vw, 144px); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 40px; align-items: start; }
.contact__title { font-family: var(--serif); font-weight: 600; font-size: clamp(2.25rem, 1.3rem + 3vw, 3.75rem); line-height: 1.04; letter-spacing: -.025em; margin-bottom: 20px; }
.contact__intro p { color: var(--ivory-muted); max-width: 30em; }
.contact__next { padding-top: 20px; margin-top: 28px; border-top: 1px solid var(--rule-dark); }
@media (min-width: 1000px) {
  .contact__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .contact__intro { grid-column: 1 / span 4; position: sticky; top: 40px; }
  .form { grid-column: 6 / span 7; }
}
.crop { position: relative; }
.crop::before { /* printer's crop marks */
  content: ""; position: absolute; inset: 10px; pointer-events: none;
  background:
    linear-gradient(var(--ink), var(--ink)) left top / 16px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) left top / 1.5px 16px no-repeat,
    linear-gradient(var(--ink), var(--ink)) right top / 16px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) right top / 1.5px 16px no-repeat,
    linear-gradient(var(--ink), var(--ink)) left bottom / 16px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) left bottom / 1.5px 16px no-repeat,
    linear-gradient(var(--ink), var(--ink)) right bottom / 16px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) right bottom / 1.5px 16px no-repeat;
  opacity: .5;
}
.form { display: grid; gap: 24px; background: var(--paper); color: var(--ink); padding: clamp(28px, 4vw, 48px); border-radius: 2px; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .9); }
.form__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.form__doc { font-family: var(--serif); font-weight: 650; font-size: 1.25rem; }
.form__badge { flex: none; background: var(--ink); color: var(--paper); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 2px; }
.form__preview { margin: -6px 0 0; padding: 12px 14px; border: 1.5px dashed rgba(7, 24, 39, .4); border-radius: 3px; font-size: .9375rem; }
.form__req { margin: -8px 0 0; font-size: .875rem; color: var(--ink-soft); }
.field-row { display: grid; gap: 24px var(--gap); }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; margin: 0; min-width: 0; }
.field label, .choices legend { font-weight: 650; font-size: 1rem; }
.opt { font-weight: 400; color: var(--ink-soft); }
.field__hint { margin: -2px 0 2px; font-size: .875rem; color: var(--ink-soft); }
.field input[type="text"], .field input[type="email"], .field textarea {
  width: 100%; min-height: 52px; padding: 13px 14px; border-radius: 3px; border: 1.5px solid rgba(7, 24, 39, .4);
  background: #FFFDF8; color: var(--ink); font-size: 1.0625rem; line-height: 1.4;
  transition: border-color var(--t-micro) var(--ease), box-shadow var(--t-micro) var(--ease);
}
.field input:hover, .field textarea:hover { border-color: var(--ink); }
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder { color: #6A6F78; }
.field [aria-invalid="true"] { border-color: var(--err-paper); box-shadow: 0 0 0 1px var(--err-paper); }
.field__err { margin: 0; font-size: .9375rem; color: var(--err-paper); font-weight: 600; }
.field__err:empty { display: none; }
.choices { border: 0; padding: 0; }
.choices legend { padding: 0; margin-bottom: 12px; }
.choices__list { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 10px 16px 10px 13px; border: 1.5px solid rgba(7, 24, 39, .4); border-radius: 999px; font-weight: 600; background: #FFFDF8; transition: background-color var(--t-micro) var(--ease), border-color var(--t-micro) var(--ease), color var(--t-micro) var(--ease); }
.choice span::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid currentColor; flex: none; }
.choice:hover span { border-color: var(--ink); }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.choice input:checked + span::before { box-shadow: inset 0 0 0 3px var(--ink), inset 0 0 0 8px var(--paper); }
.choice input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 3px; }
.choices[aria-invalid="true"] .choice span { border-color: var(--err-paper); }
.form__submit .btn { min-width: 200px; }
.form__status:empty { display: none; }
.form__status { padding: 14px 16px; border-radius: 3px; background: rgba(7, 24, 39, .06); border-left: 3px solid var(--ink); }
.form__status p { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--midnight); border-top: 1px solid var(--rule-dark); padding-top: 56px; }
.site-footer__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.site-footer__name { font-family: var(--serif); font-weight: 600; font-size: 1.625rem; margin: 0 0 4px; }
.site-footer__desc, .site-footer__line { color: var(--ivory-muted); font-size: .9375rem; max-width: 36em; }
.site-footer__desc { margin-bottom: 12px; }
.site-footer__h { font-size: .75rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--ivory-muted); margin: 6px 0 8px; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; }
.site-footer__col a { display: inline-flex; min-height: 40px; align-items: center; text-decoration: none; font-weight: 550; }
.site-footer__col a:hover { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: .3em; }
@media (min-width: 640px) { .site-footer__inner { grid-template-columns: repeat(3, minmax(0, 1fr)); } .site-footer__brand { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .site-footer__inner { grid-template-columns: 2fr 1fr 1fr 1fr; } .site-footer__brand { grid-column: auto; } }
.site-footer__base { padding-block: 20px 28px; margin-top: 16px; border-top: 1px solid var(--rule-dark); font-size: .875rem; color: var(--ivory-muted); }
.site-footer__base p { margin: 0; }

/* ---------- Reduced motion: finished states, instant changes ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0s !important; transition-delay: 0s !important; }
}

/* =========================================================
   Home: services overview, five questions, compact founder, closer
   ========================================================= */
.svc-ov { position: relative; background: var(--paper); color: var(--ink); padding-block: clamp(64px, 8vw, 112px); }
.svc-ov__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 12px; }
.svc-ov__featured { display: grid; grid-template-columns: minmax(0, 1fr); text-decoration: none; color: var(--ink); background: #FFFDF8; border: 1.5px solid rgba(7, 24, 39, .55); border-radius: 6px; overflow: hidden; transition: border-color 220ms var(--ease), transform 220ms var(--ease), box-shadow 220ms var(--ease); }
.svc-ov__featured:hover { border-color: var(--orange); transform: translateY(-2px); box-shadow: 0 24px 40px -28px rgba(7, 24, 39, .5); }
.svc-ov__art { position: relative; display: block; height: 230px; background: var(--paper); border-bottom: 1.5px solid rgba(7, 24, 39, .15); overflow: hidden; }
.layers--mini { --p: .2 !important; --spread: 30px; }
.layers--mini .layer { width: 200px; transition: transform 520ms var(--ease); }
.layers--mini .layer__face { padding: 12px 14px; gap: 6px; }
.layers--mini .lw-cap { font-size: 9px; left: 12px; bottom: 8px; }
.svc-ov__featured:hover .layers--mini, .svc-ov__featured:focus-visible .layers--mini { --p: 1 !important; }
.svc-ov__body { display: grid; gap: 10px; padding: 24px 26px 26px; }
.svc-ov__t { font-family: var(--serif); font-weight: 650; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem); line-height: 1.1; }
.svc-ov__featured .svc-ov__t { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); letter-spacing: -.02em; }
.svc-ov__p { color: var(--ink-soft); }
.svc-ov__more { font-weight: 650; display: inline-flex; gap: .4em; }
.svc-ov__more::after { content: "→"; transition: transform var(--t-micro) var(--ease); }
.svc-ov__featured:hover .svc-ov__more::after { transform: translateX(4px); }
.svc-ov__list { list-style: none; margin: 0; padding: 0; display: grid; }
.svc-ov__item { position: relative; display: grid; gap: 6px; padding: 22px 40px 22px 0; border-top: 1.5px solid var(--ink); text-decoration: none; color: var(--ink); }
.svc-ov__list li:last-child .svc-ov__item { border-bottom: 1.5px solid var(--ink); }
.svc-ov__item::after { content: "→"; position: absolute; right: 4px; top: 24px; font-size: 1.25rem; transition: transform var(--t-micro) var(--ease), color var(--t-micro) var(--ease); }
.svc-ov__item:hover::after { transform: translateX(4px); color: var(--pen); }
.svc-ov__item:hover .svc-ov__t { color: var(--pen); }
@media (min-width: 1000px) {
  .svc-ov__grid { grid-template-columns: 7fr 5fr; gap: clamp(32px, 4vw, 64px); align-items: start; }
  .svc-ov__featured { grid-template-columns: 5fr 6fr; }
  .svc-ov__art { height: auto; min-height: 320px; border-bottom: 0; border-right: 1.5px solid rgba(7, 24, 39, .15); }
  .svc-ov__body { align-content: center; padding: 32px; }
}

.qt { background: var(--deep); padding-block: clamp(72px, 9vw, 128px); }
.qt__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.qt__head p { color: var(--ivory-muted); max-width: 30em; }
.qt__list { list-style: none; margin: 0; padding: 0; counter-reset: q; }
.qt__list li { display: grid; grid-template-columns: 44px 1fr; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--rule-dark); }
.qt__list li:last-child { border-bottom: 1px solid var(--rule-dark); }
.qt__n { font-family: var(--serif); font-weight: 600; color: var(--orange); }
.qt__q { font-family: var(--serif); font-weight: 600; font-size: clamp(1.375rem, 1.1rem + 1.1vw, 2rem); line-height: 1.15; letter-spacing: -.01em; }
@media (min-width: 1000px) { .qt__grid { grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: start; } .qt__head { position: sticky; top: 40px; } }

.about--compact { padding-block: clamp(80px, 9vw, 136px); }
.about__more { margin-top: 28px; }
@media (min-width: 1000px) { .about--compact .about__more { grid-column: 1 / span 6; grid-row: 2; } }

.closer { background: var(--midnight); padding-block: clamp(56px, 7vw, 96px); border-top: 1px solid var(--rule-dark); }
.closer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.closer__title { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 1.3rem + 2.4vw, 3.25rem); line-height: 1.05; letter-spacing: -.022em; margin-bottom: 10px; }
.closer p { color: var(--ivory-muted); max-width: 34em; margin: 0; }

/* =========================================================
   Website design page extras
   ========================================================= */
.design__list .section-title { margin-bottom: 14px; }
.design__extras { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; margin-top: clamp(56px, 7vw, 96px); }
.extra { padding-top: 22px; border-top: 2px solid var(--ink); scroll-margin-top: 24px; }
.extra__t { font-family: var(--serif); font-size: clamp(1.5rem, 1.25rem + .9vw, 2.125rem); line-height: 1.1; margin-bottom: 12px; }
.extra p { color: var(--ink-soft); max-width: 34em; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: baseline; }
.checks li::before { content: ""; flex: none; width: 15px; height: 15px; transform: translateY(2px); border: 1.75px solid var(--pen); border-radius: 3px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.2 2.2 4.8-5' fill='none' stroke='%23C2370A' stroke-width='1.8'/%3E%3C/svg%3E") center / 11px no-repeat; }
@media (min-width: 860px) { .design__extras { grid-template-columns: 1fr 1fr; gap: clamp(32px, 4vw, 64px); } }
#care:target .extra__t { background: linear-gradient(var(--orange), var(--orange)) no-repeat 0 100% / 100% 3px; }

/* How a project runs: measures */
.measures { margin-top: clamp(56px, 7vw, 88px); padding-top: 24px; border-top: 1px solid var(--rule-dark); display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; }
.measures__t { font-family: var(--serif); font-size: clamp(1.375rem, 1.2rem + .7vw, 1.875rem); }
.measures__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.measures__list li { padding: 8px 16px; border: 1.5px solid rgba(248, 245, 239, .5); border-radius: 999px; font-weight: 600; }

/* =========================================================
   Service pages (organic growth, practical AI)
   ========================================================= */
.svc-page { position: relative; background: var(--paper); color: var(--ink); padding-block: clamp(64px, 8vw, 112px); }
.svc-page__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
.svc-page__note { margin-top: 24px; color: var(--ink-soft); font-style: italic; }
@media (min-width: 1000px) { .svc-page__grid { grid-template-columns: 6fr 5fr; gap: clamp(40px, 5vw, 88px); align-items: start; } .svc-page__grid > figure { position: sticky; top: 40px; } }
.pen-steps { list-style: none; margin: 0; padding: 0; }
.pen-steps li { display: grid; grid-template-columns: 52px 1fr; column-gap: 14px; padding: 20px 0; border-top: 1px solid var(--rule-paper); }
.pen-steps li:last-child { border-bottom: 1px solid var(--rule-paper); }
.pen-steps__n { grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border: 1.75px solid var(--ink); border-radius: 50%; font-family: var(--serif); font-weight: 650; }
.pen-steps__t { font-family: var(--serif); font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); line-height: 1.2; margin: 6px 0 4px; }
.pen-steps p { margin: 0; color: var(--ink-soft); }
figure.serp, figure.flow { margin: 0; }
figure.serp figcaption, figure.flow figcaption { margin-top: 14px; font-size: .875rem; color: var(--ink-soft); }

/* Organic growth: a search, with the right result circled in pen */
.serp__card { background: #FFFDF8; border: 1.5px solid rgba(7, 24, 39, .3); border-radius: 10px; padding: 18px; box-shadow: 0 30px 50px -36px rgba(7, 24, 39, .6); }
.serp__q { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; padding: 10px 16px; border: 1px solid rgba(7, 24, 39, .25); border-radius: 999px; font-size: .9375rem; }
.serp__icon { flex: none; width: 13px; height: 13px; border: 2px solid var(--ink-soft); border-radius: 50%; position: relative; }
.serp__icon::after { content: ""; position: absolute; width: 2px; height: 6px; background: var(--ink-soft); right: -4px; bottom: -5px; transform: rotate(-45deg); }
.serp__res { position: relative; display: grid; gap: 2px; padding: 12px 14px; margin-bottom: 8px; border-radius: 6px; }
.serp__res--dim { opacity: .5; }
.serp__url { font-size: .75rem; color: var(--ink-soft); }
.serp__t { font-size: 1rem; font-weight: 650; color: #1A3E8C; }
.serp__s { font-size: .8125rem; color: var(--ink-soft); }
.serp__loop { left: -8px; top: -6px; width: calc(100% + 16px); height: calc(100% + 12px); }
.serp__note { margin: 14px 0 0; padding-left: 18px; position: relative; font-family: var(--serif); font-style: italic; font-weight: 550; color: var(--pen); }
.serp__note::before { content: ""; position: absolute; left: 0; top: .62em; width: 11px; height: 2px; background: var(--orange); }

/* Practical AI: request → draft → a person decides */
.flow__cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 34px; }
.flow__card { position: relative; display: grid; gap: 4px; padding: 16px 18px; background: #FFFDF8; border: 1.5px solid rgba(7, 24, 39, .3); border-radius: 8px; }
.flow__card:not(:last-child)::after { /* pen arrow to the next step */
  content: ""; position: absolute; left: 34px; bottom: -30px; width: 14px; height: 26px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 26'%3E%3Cpath d='M7 1 C9 8 5 14 7 23 M2.5 18.5 L7 24 L11.5 18.5' fill='none' stroke='%23FB4F14' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.flow__card--human { border: 2px solid var(--ink); background: var(--paper); }
.flow__tag { font-size: .75rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.flow__card--human .flow__tag { color: var(--pen); }
.flow__t { font-family: var(--serif); font-weight: 650; font-size: 1.25rem; }
.flow__b { color: var(--ink-soft); font-size: .9375rem; }

/* Reveal-on-view for the service graphics (shares the founder observer) */
@media (prefers-reduced-motion: no-preference) {
  .js .serp .serp__loop { --sweep: 0deg; transition: --sweep 820ms var(--pen-ease) 500ms; }
  .js .serp.is-in .serp__loop { --sweep: 360deg; }
  .js .flow .flow__card { opacity: 0; transform: translateY(14px); transition: opacity 420ms var(--ease), transform 520ms var(--ease); transition-delay: calc(var(--k) * 220ms + 150ms); }
  .js .flow.is-in .flow__card { opacity: 1; transform: none; }
}

/* =========================================================
   Pricing
   ========================================================= */
.price-chip { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 3px 10px; border: 1.5px solid currentColor; border-radius: 999px; font-family: var(--sans); font-size: .8125rem; font-weight: 700; letter-spacing: 0; line-height: 1.3; white-space: nowrap; }
.svc-ov__featured .price-chip { justify-self: start; margin-left: 0; color: var(--pen); }
.svc-ov__pricing { margin: 28px 0 0; }
.price-callout { margin-top: 28px; padding: 18px 20px; border: 2px solid var(--ink); border-radius: 4px; background: #FFFDF8; }
.price-callout__amt { margin: 0; font-family: var(--serif); font-weight: 650; font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.375rem); line-height: 1.1; color: var(--pen); }
.price-callout__d { margin: 6px 0 4px; color: var(--ink-soft); }

.pricing { background: var(--deep); padding-block: clamp(64px, 8vw, 112px) clamp(72px, 9vw, 120px); }
.tickets { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.ticket { position: relative; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); border-radius: 6px; box-shadow: 0 2px 0 rgba(0, 0, 0, .2), 0 40px 70px -40px rgba(0, 0, 0, .85); }
.ticket__head { position: relative; padding: 26px 26px 22px; border-bottom: 2px dashed rgba(7, 24, 39, .3); }
.ticket__head::before, .ticket__head::after { /* ticket notches at the tear line */
  content: ""; position: absolute; bottom: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--deep);
}
.ticket__head::before { left: -11px; }
.ticket__head::after { right: -11px; }
.ticket__name { font-family: var(--sans); font-size: .8125rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 12px; }
.ticket__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0 0 12px; }
.ticket__amt { position: relative; display: inline-block; font-family: var(--serif); font-weight: 650; font-optical-sizing: auto; font-size: clamp(2.75rem, 2.1rem + 2vw, 3.75rem); line-height: 1; letter-spacing: -.03em; }
.ticket__amt--quote { font-size: clamp(2.125rem, 1.7rem + 1.4vw, 2.75rem); }
.ticket__unit { font-size: .9375rem; font-weight: 600; color: var(--ink-soft); }
.ticket__loop { left: -.22em; top: -.16em; width: calc(100% + .44em); height: calc(100% + .32em); }
.ticket__note { position: absolute; right: 22px; top: 22px; margin: 0; padding-left: 18px; font-family: var(--serif); font-style: italic; font-weight: 550; font-size: 1rem; color: var(--pen); transform: rotate(-3deg); }
.ticket__note::before { content: ""; position: absolute; left: 0; top: .62em; width: 11px; height: 2px; background: var(--orange); }
.ticket__for { margin: 0; color: var(--ink-soft); }
.ticket__body { display: flex; flex-direction: column; flex: 1; padding: 22px 26px 26px; }
.ticket__inc { margin: 0 0 10px; font-size: .75rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.ticket__list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 9px; }
.ticket__list li { display: flex; gap: 10px; align-items: baseline; line-height: 1.45; }
.ticket__list li::before { content: ""; flex: none; width: 14px; height: 14px; transform: translateY(2px); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2 7.4l3 3.1 7-7.6' fill='none' stroke='%23C2370A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.ticket__list b { font-weight: 700; }
.ticket__cta { margin-top: auto; width: 100%; white-space: normal; text-align: center; }
.ticket--custom { outline: 3px solid var(--orange); outline-offset: -3px; }
.pricing__terms { margin: 32px 0 0; text-align: center; color: var(--ivory-muted); }
@media (min-width: 1000px) {
  .tickets { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); align-items: stretch; }
  .ticket--custom { position: relative; top: -14px; }
}
@media (prefers-reduced-motion: no-preference) {
  .js .tickets .ticket { opacity: 0; translate: 0 18px; transition: opacity 460ms var(--ease), translate 560ms var(--ease); transition-delay: calc(var(--k) * 140ms + 100ms); }
  .js .tickets.is-in .ticket { opacity: 1; translate: 0 0; }
  .js .tickets .ticket__loop { --sweep: 0deg; transition: --sweep 820ms var(--pen-ease) 900ms; }
  .js .tickets.is-in .ticket__loop { --sweep: 360deg; }
}

/* Comparison table */
.compare-sec { position: relative; background: var(--paper); color: var(--ink); padding-block: clamp(64px, 8vw, 112px); }
.compare { width: 100%; border-collapse: collapse; font-size: 1rem; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--rule-paper); }
.compare thead th { font-family: var(--serif); font-weight: 650; font-size: 1.1875rem; line-height: 1.2; border-bottom: 2px solid var(--ink); vertical-align: bottom; }
.compare tbody th { font-weight: 650; width: 26%; }
.compare td { color: var(--ink-soft); }
.compare th:nth-child(3), .compare td:nth-child(3) { background: rgba(251, 79, 20, .07); }
.compare tbody tr:first-child td { font-family: var(--serif); font-weight: 650; font-size: 1.25rem; color: var(--ink); }
.cmp-yes { display: inline-block; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2 7.4l3 3.1 7-7.6' fill='none' stroke='%23071827' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.cmp-no { color: rgba(7, 24, 39, .45); }
@media (max-width: 759px) {
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tr { padding: 14px 0; border-bottom: 1.5px solid var(--ink); }
  .compare tbody th { width: auto; padding: 0 0 6px; border: 0; font-family: var(--serif); font-size: 1.125rem; }
  .compare td { display: grid; grid-template-columns: 9.5em 1fr; gap: 10px; padding: 5px 0; border: 0; background: none !important; }
  .compare td::before { content: attr(data-label); font-size: .8125rem; font-weight: 650; color: var(--ink); }
  .compare tbody tr:first-child td { font-size: 1.0625rem; }
}
.details { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: clamp(48px, 6vw, 80px); }
.details__item { padding-top: 18px; border-top: 2px solid var(--ink); }
.details__t { font-family: var(--serif); font-size: 1.375rem; margin-bottom: 6px; }
.details__item p { margin: 0; color: var(--ink-soft); }
@media (min-width: 760px) { .details { grid-template-columns: 1fr 1fr; gap: 32px var(--gap); } }

/* Pricing: phone refinements */
.compare-wrap__sum { display: none; }
@media (max-width: 999px) {
  .ticket__note { position: static; display: block; width: fit-content; margin: -4px 0 10px; transform: rotate(-2deg); }
}
@media (max-width: 759px) {
  .compare-wrap__sum {
    display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 16px; cursor: pointer; list-style: none;
    border: 2px solid var(--ink); border-radius: 4px; font-weight: 650; background: #FFFDF8;
  }
  .compare-wrap__sum::-webkit-details-marker { display: none; }
  .compare-wrap__sum::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 220ms var(--ease); }
  .compare-wrap[open] .compare-wrap__sum::after { transform: translateY(2px) rotate(-135deg); }
  .compare-wrap[open] .compare { margin-top: 12px; }
}

/* =========================================================
   MOTION SYSTEM — reveals, word rises, ticker, progress, tilt, page transitions
   Everything resolves to its finished state with reduced motion or without JS.
   ========================================================= */
body { overflow-x: clip; }

/* Headings: word-by-word rise */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.split .w > span { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .js .split--load .w > span { animation: word-rise 1000ms var(--ease) calc(80ms + var(--i) * 60ms) both; }
  .js .rise-load { animation: rise 900ms var(--ease) calc(420ms + var(--rd, 0) * 120ms) both; }
  .js [data-animate="split"] .w > span { transform: translateY(112%); transition: transform 1000ms var(--ease) calc(var(--i) * 55ms); }
  .js [data-animate="split"].is-in .w > span { transform: none; }
}
@keyframes word-rise { from { transform: translateY(112%) rotate(4deg); } to { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Scroll reveals (translate/opacity only, so they never fight hover transforms) */
@media (prefers-reduced-motion: no-preference) {
  .js [data-animate="up"] { opacity: 0; translate: 0 28px; transition: opacity 700ms var(--ease), translate 950ms var(--ease); }
  .js [data-animate="up"].is-in { opacity: 1; translate: 0 0; }
  .js [data-animate="stagger"] > * { opacity: 0; translate: 0 30px; transition: opacity 650ms var(--ease) calc(var(--si, 0) * 95ms), translate 900ms var(--ease) calc(var(--si, 0) * 95ms); }
  .js [data-animate="stagger"].is-in > * { opacity: 1; translate: 0 0; }
}

/* Moving ticker (speeds up with scroll velocity; pauses on hover) */
.ticker { position: relative; z-index: 2; overflow: hidden; background: var(--orange); color: var(--midnight); padding: 14px 0; transform: rotate(-1.4deg) scale(1.02); margin-block: -14px; box-shadow: 0 16px 40px -20px rgba(251, 79, 20, .6); }
.ticker__track { display: flex; align-items: center; gap: 28px; width: max-content; font-family: var(--serif); font-weight: 600; font-size: clamp(1.25rem, 1rem + 1vw, 1.875rem); letter-spacing: -.01em; white-space: nowrap; }
.ticker__track i { width: 10px; height: 10px; background: var(--midnight); transform: rotate(45deg); flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .ticker__track { animation: ticker 42s linear infinite; }
  .ticker:hover .ticker__track { animation-play-state: paused; }
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* Reading progress: a thin orange line across the top of the window */
.progress { position: fixed; left: 0; right: 0; top: 0; z-index: 60; height: 3px; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--orange), #FF8A4C); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); box-shadow: 0 0 12px rgba(251, 79, 20, .6); }

/* Cards that respond to the cursor: tilt + soft spotlight */
[data-tilt] { position: relative; transform: perspective(900px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); transition: transform 500ms var(--ease), box-shadow 300ms var(--ease); will-change: transform; }
[data-tilt]::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 300ms var(--ease); background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .55), transparent 55%); mix-blend-mode: soft-light; }
[data-tilt].is-hot::after { opacity: 1; }
[data-tilt].is-hot { transition: transform 120ms linear, box-shadow 300ms var(--ease); }

/* Closing band: a pen stroke draws in */
.closer { position: relative; overflow: hidden; }
.closer__stroke { position: absolute; right: -4%; bottom: 22px; width: 46%; height: 16px; background: var(--orange); opacity: .9; clip-path: polygon(0 100%, 100% 0, 100% 45%, 0 100%); transform-origin: 0 50%; }
@media (prefers-reduced-motion: no-preference) {
  .js .closer__stroke { transform: scaleX(0); transition: transform 1200ms var(--pen-ease) 200ms; }
  .js .closer__stroke.is-in { transform: scaleX(1); }
}

/* Branded page-to-page transition (Chrome/Edge/Safari; others navigate normally) */
.masthead { view-transition-name: masthead; }
::view-transition-old(root) { animation: vt-old 450ms cubic-bezier(.4, 0, .2, 1) both; }
::view-transition-new(root) { animation: vt-new 700ms cubic-bezier(.77, 0, .18, 1) both; }
@keyframes vt-old { to { opacity: .35; transform: translateY(-30px) scale(.985); } }
@keyframes vt-new { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* =========================================================
   Illustrative examples, polished
   ========================================================= */
/* Phone story: the fixed page takes on Prairie Air's brand (matches the hero) */
.phone__screen { transition: background-color 600ms var(--ease); }
.phone.is-fix-1 .phone__screen { background: #F3F9FA; }
.phone.is-fix-1 .ph-head b::before { content: ""; display: inline-block; width: 15px; height: 15px; margin-right: 6px; vertical-align: -2px; border-radius: 5px; background: radial-gradient(circle at 50% 60%, #F5B83D 0 30%, transparent 31%), #0E6E7E; }
.ph-h { font-family: var(--sans); font-weight: 800; letter-spacing: -.03em; color: #0B2A3C; }
.ph-card { background: #fff; border-left-color: #0E6E7E; box-shadow: 0 10px 20px -14px rgba(11, 42, 60, .5); }
.ph-chips span { background: #DDEFF3; color: #0B2A3C; }
.ph-send { background: #0E6E7E; }
.ph-bar { background: #0B2A3C; }
.ph-call { background: #F5B83D; color: #0B2A3C; }
.phone.is-fix-2 .ph-photo::after { background: linear-gradient(180deg, #BFE3EC 0 55%, #9CCBB4 55%); }
.phone.is-fix-2 .ph-photo::before { content: ""; position: absolute; z-index: 1; left: 50%; bottom: 14px; width: 64px; height: 46px; transform: translateX(-50%); background: #fff; clip-path: polygon(50% 0, 100% 40%, 100% 100%, 0 100%, 0 40%); box-shadow: inset 0 -16px 0 #0E6E7E; }

/* Organic growth: local search with a map pack */
.serp__map { position: relative; height: 130px; margin: 0 0 12px; border-radius: 10px; overflow: hidden; }
.serp__map svg { width: 100%; height: 100%; display: block; }
.serp__pin { position: absolute; left: var(--x); top: var(--y); width: 18px; height: 18px; margin: -18px 0 0 -9px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #9AA6B2; box-shadow: 0 4px 8px -2px rgba(0, 0, 0, .35); }
.serp__pin--you { width: 24px; height: 24px; margin: -24px 0 0 -12px; background: #C2370A; }
.serp__pin b { position: absolute; left: 22px; top: -18px; transform: rotate(45deg); transform-origin: 0 100%; padding: 2px 7px; border-radius: 6px; background: #fff; color: #0B2A3C; font-size: 10.5px; white-space: nowrap; box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .4); }
.serp__local { position: relative; display: grid; gap: 3px; padding: 12px 14px; margin-bottom: 8px; border-radius: 8px; }
.serp__local--you { background: #fff; box-shadow: 0 10px 22px -16px rgba(7, 24, 39, .6); }
.serp__local--dim { opacity: .55; }
.serp__meta, .serp__open { font-size: .8125rem; color: var(--ink-soft); }
.serp__open { color: #1E7F4C; font-weight: 600; }
.serp__acts { display: flex; gap: 6px; margin-top: 6px; }
.serp__acts i { font-style: normal; padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(7, 24, 39, .25); font-size: .78rem; font-weight: 650; color: #1A3E8C; }
.serp__acts i:first-child { background: #1A3E8C; border-color: #1A3E8C; color: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .js .serp .serp__pin { opacity: 0; translate: 0 -26px; transition: opacity 300ms var(--ease), translate 700ms cubic-bezier(.34, 1.6, .64, 1); transition-delay: calc(200ms + var(--k) * 160ms); }
  .js .serp.is-in .serp__pin { opacity: 1; translate: 0 0; }
}

/* Practical AI: request → AI draft (types itself) → a person approves */
.flow__cards { gap: 40px; }
.flow__card { box-shadow: 0 16px 32px -24px rgba(7, 24, 39, .6); }
.flow__card:not(:last-child)::after { background: none; width: 2px; height: 32px; left: 36px; bottom: -36px; background-image: linear-gradient(var(--orange) 50%, transparent 50%); background-size: 2px 8px; }
@media (prefers-reduced-motion: no-preference) { .js .flow.is-in .flow__card:not(:last-child)::after { animation: dash-flow 900ms linear infinite; } }
@keyframes dash-flow { to { background-position: 0 16px; } }
.flow__tag { display: flex; align-items: center; gap: 6px; }
.flow__who { display: flex; align-items: center; gap: 10px; }
.flow__who small { display: block; font-size: .8125rem; color: var(--ink-soft); }
.flow__av { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #DDEFF3; color: #0B2A3C; font-style: normal; font-weight: 750; font-size: .8125rem; flex: none; }
.flow__av--d { background: var(--ink); color: var(--paper); }
.flow__spark { width: 14px; height: 14px; background: var(--orange); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.flow__card--ai { background: linear-gradient(180deg, #FFF8F2, #FFFDF8); border-color: rgba(251, 79, 20, .35); }
.flow__checks { display: grid; gap: 5px; margin: 6px 0 4px; }
.flow__checks i { font-style: normal; display: flex; gap: 8px; align-items: center; font-size: .875rem; }
.flow__checks i::before { content: ""; width: 15px; height: 15px; border-radius: 4px; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.2 2.2 4.8-5' fill='none' stroke='white' stroke-width='1.8'/%3E%3C/svg%3E") center / 11px no-repeat; }
.flow__acts { display: flex; justify-content: flex-end; gap: 8px; }
.flow__acts i { font-style: normal; padding: 6px 12px; border-radius: 6px; border: 1px solid rgba(7, 24, 39, .3); font-size: .8125rem; font-weight: 650; }
.flow__acts i.go { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.flow__stamp { position: absolute; right: 16px; top: 14px; padding: 4px 10px; border: 2.5px solid #1E7F4C; border-radius: 6px; color: #1E7F4C; font-weight: 800; font-size: .875rem; letter-spacing: .06em; text-transform: uppercase; transform: rotate(-8deg); }
@media (prefers-reduced-motion: no-preference) {
  .js .flow .flow__typed { clip-path: inset(0 100% 0 0); transition: clip-path 1600ms steps(28, end) 900ms; }
  .js .flow.is-in .flow__typed { clip-path: inset(0 0 0 0); }
  .js .flow .flow__checks i { opacity: 0; translate: -8px 0; transition: opacity 300ms var(--ease), translate 400ms var(--ease); }
  .js .flow.is-in .flow__checks i { opacity: 1; translate: 0 0; }
  .js .flow.is-in .flow__checks i:nth-child(1) { transition-delay: 2.7s; } .js .flow.is-in .flow__checks i:nth-child(2) { transition-delay: 3.0s; } .js .flow.is-in .flow__checks i:nth-child(3) { transition-delay: 3.3s; }
  .js .flow .flow__stamp { opacity: 0; transform: rotate(-8deg) scale(2.2); transition: opacity 200ms var(--ease) 3.8s, transform 450ms cubic-bezier(.34, 1.5, .64, 1) 3.8s; }
  .js .flow.is-in .flow__stamp { opacity: 1; transform: rotate(-8deg) scale(1); }
}

/* =========================================================
   HOME HERO — living artwork, rotating word, aura, cursor glow
   ========================================================= */
.hero { min-height: min(820px, calc(100svh - 76px)); display: grid; align-items: center; isolation: isolate; }
.hero__aura { position: absolute; z-index: -1; width: 46vw; height: 46vw; max-width: 720px; max-height: 720px; border-radius: 50%; filter: blur(80px); opacity: .55; pointer-events: none; }
.hero__aura--a { right: -8vw; top: -14vw; background: radial-gradient(circle, rgba(251, 79, 20, .55), transparent 65%); }
.hero__aura--b { left: -14vw; bottom: -20vw; background: radial-gradient(circle, rgba(30, 90, 140, .7), transparent 65%); }
@media (prefers-reduced-motion: no-preference) {
  .hero__aura--a { animation: aura-a 18s ease-in-out infinite alternate; }
  .hero__aura--b { animation: aura-b 22s ease-in-out infinite alternate; }
}
@keyframes aura-a { to { transform: translate(-10vw, 8vw) scale(1.2); } }
@keyframes aura-b { to { transform: translate(12vw, -6vw) scale(.9); } }
.hero::after { /* cursor spotlight on the drafting grid */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: var(--glow, 0); transition: opacity 400ms var(--ease);
  background: radial-gradient(360px circle at var(--gx, 50%) var(--gy, 50%), rgba(251, 79, 20, .14), transparent 70%);
}

/* Rotating last word of the headline */
.rot { position: relative; display: inline-grid; vertical-align: bottom; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; transition: width 650ms var(--ease); }
.rot__w { grid-area: 1 / 1; color: var(--orange); font-style: italic; white-space: nowrap; }
.js .rot__w { transition: transform 750ms var(--ease), opacity 500ms var(--ease); }
.js .rot__w:not(.is-in) { transform: translateY(105%); opacity: 0; }
.js .rot__w.is-out { transform: translateY(-105%); opacity: 0; }
.rot::after { /* pen underline that redraws with each word */
  content: ""; position: absolute; left: 2%; right: 2%; bottom: .06em; height: .07em; background: var(--orange); border-radius: 2px;
  clip-path: polygon(0 80%, 100% 0, 100% 100%, 0 100%); transform-origin: 0 50%;
}
@media (prefers-reduced-motion: no-preference) {
  .js .split--load .rot__w.is-in { animation: word-rise 1000ms var(--ease) calc(80ms + var(--i) * 60ms) both; }
  .js .rot.is-changing::after { animation: pen-u-x 900ms var(--pen-ease) 250ms both; }
}
@keyframes pen-u-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* The artwork: rotating type ring, dashed rings, orbiting marks, floating monogram, sweeping stroke */
.hero__art { position: relative; width: min(100%, 560px); aspect-ratio: 1; margin-inline: auto; }
.art-layer { position: absolute; inset: 0; translate: calc(var(--px, 0) * var(--d, 0) * 1px) calc(var(--py, 0) * var(--d, 0) * 1px); transition: translate 700ms var(--ease); }
.art-ring, .art-dash { width: 100%; height: 100%; display: block; overflow: visible; }
.art-ring text { font-family: var(--sans); font-size: 15px; font-weight: 650; letter-spacing: .3em; text-transform: uppercase; fill: rgba(248, 245, 239, .62); }
.art-dash circle { fill: none; stroke: rgba(248, 245, 239, .22); stroke-width: 1.2; stroke-dasharray: 2 9; }
.art-dash circle + circle { stroke: rgba(251, 79, 20, .35); stroke-dasharray: 1 14; stroke-width: 2.5; stroke-linecap: round; }
.art-layer--ring { rotate: calc(var(--rs, 0) * 1deg); }
.art-mono { position: absolute; left: 50%; top: 50%; width: 50%; height: auto; transform: translate(-50%, -50%); filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .55)); }
.art-stroke { position: absolute; left: -12%; top: 47%; width: 124%; height: 36%; overflow: visible; filter: drop-shadow(0 0 22px rgba(251, 79, 20, .55)); mix-blend-mode: screen; }
.orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(248, 245, 239, .06); }
.orbit i { position: absolute; left: 50%; top: -6px; width: 12px; height: 12px; margin-left: -6px; background: var(--orange); transform: rotate(45deg); box-shadow: 0 0 16px 2px rgba(251, 79, 20, .7); }
.orbit--1 { inset: 4%; } .orbit--2 { inset: 22%; } .orbit--3 { inset: -4%; }
.orbit--2 i { width: 8px; height: 8px; margin-left: -4px; top: -4px; background: var(--ivory); box-shadow: 0 0 12px rgba(248, 245, 239, .6); }
.orbit--3 i { width: 7px; height: 7px; margin-left: -3.5px; top: -3.5px; }
@media (prefers-reduced-motion: no-preference) {
  .art-ring { animation: spin 70s linear infinite; }
  .art-dash { animation: spin 110s linear infinite reverse; }
  .orbit--1 { animation: spin 16s linear infinite; } .orbit--2 { animation: spin 11s linear infinite reverse; } .orbit--3 { animation: spin 28s linear infinite; }
  .art-mono { animation: mono-in 1100ms var(--ease) 150ms both, float 7s ease-in-out 1300ms infinite; }
  .art-stroke { animation: stroke-in 1300ms cubic-bezier(.77, 0, .18, 1) 650ms both; }
  .art-layer--ring, .art-layer--dash, .art-layer--orbits { animation: fade-in 1400ms var(--ease) both; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes mono-in { from { opacity: 0; transform: translate(-50%, -42%) scale(.82); filter: blur(10px) drop-shadow(0 20px 40px rgba(0, 0, 0, .55)); } }
@keyframes float { 50% { transform: translate(-50%, calc(-50% - 12px)); } }
@keyframes stroke-in { from { clip-path: inset(-30% 100% -30% -10%); } to { clip-path: inset(-30% -10% -30% -10%); } }
@keyframes fade-in { from { opacity: 0; } }
.hero__scroll { position: absolute; left: 50%; bottom: 22px; width: 24px; height: 38px; margin-left: -12px; border: 1.5px solid rgba(248, 245, 239, .35); border-radius: 12px; }
.hero__scroll i { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--orange); }
@media (prefers-reduced-motion: no-preference) { .hero__scroll i { animation: scroll-cue 1.8s var(--ease) infinite; } }
@keyframes scroll-cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 999px) {
  .hero { min-height: 0; }
  .hero__art { width: min(78vw, 420px); margin-top: 8px; }
  .hero__scroll { display: none; }
}

/* =========================================================
   STATEMENT — giant type rows that slide with the scroll
   ========================================================= */
.statement { position: relative; background: var(--midnight); padding-block: clamp(72px, 10vw, 150px); overflow: hidden; }
.statement__rows { display: grid; gap: clamp(4px, 1vw, 14px); }
.srow { display: flex; align-items: center; gap: clamp(18px, 2.5vw, 40px); width: max-content; white-space: nowrap; font-family: var(--serif); font-weight: 600; font-optical-sizing: auto; font-size: clamp(3rem, 1.5rem + 7vw, 9rem); line-height: 1.02; letter-spacing: -.035em; color: var(--ivory); will-change: transform; }
.srow .hl { color: var(--orange); font-style: italic; }
.srow .ghost { color: rgba(248, 245, 239, .14); }
.srow i { flex: none; width: .16em; height: .16em; background: var(--orange); transform: rotate(45deg); }
.srow:nth-child(2) { color: rgba(248, 245, 239, .85); }

/* Five questions: the row in the middle of the screen lights up */
.js .qt__list li { transition: opacity 400ms var(--ease); }
.js .qt__list.has-active li:not(.is-active) { opacity: .42; }
.qt__n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid rgba(251, 79, 20, .6); font-size: .875rem; transition: background-color 300ms var(--ease), color 300ms var(--ease); }
.qt__list li.is-active .qt__n { background: var(--orange); color: var(--midnight); }
.qt__q { position: relative; }
.qt__u { position: absolute; left: 0; bottom: -.12em; width: 100%; height: 3px; background: var(--orange); border-radius: 2px; transform: scaleX(0); transform-origin: 0 50%; transition: transform 700ms var(--pen-ease); }
.qt__list li.is-active .qt__u { transform: scaleX(1); }

/* Magnetic buttons */
[data-magnetic] { transition: translate 500ms cubic-bezier(.34, 1.56, .64, 1), background-color var(--t-micro) var(--ease), box-shadow var(--t-micro) var(--ease); }
[data-magnetic].is-pulled { transition: translate 120ms linear, background-color var(--t-micro) var(--ease), box-shadow var(--t-micro) var(--ease); }
@media (min-width: 1000px) {
  .hero__art { grid-column: 7 / span 6; justify-self: center; }
}
