/* RACO Marketing — site styles. Tokens and rules live in DESIGN.md. */

/* ---------- Tokens (night mode only) ---------- */
:root {
  color-scheme: dark;
  --bg: #0B0D10;
  --surface: #12161B;
  --surface-2: #1B2128;
  --line: #2A323B;
  --muted: #8A94A0;
  --text: #F1EDE4;
  --gold: #D8AF54;
  --accent: #D8AF54;
  --signal: #3DDBD9;
  --on-gold: #0B0D10;
  --grid: rgba(255, 255, 255, .03);
  --ray: rgba(216, 175, 84, .42);
  --shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
  --header-bg: rgba(11, 13, 16, .82);

  --serif: 'Cormorant', 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(72px, 10vw, 128px);
  --cut: 12px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}




/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-variant-numeric: lining-nums;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; }
h2 { font: 500 clamp(36px, 4.6vw, 58px)/1.04 var(--serif); font-variant-numeric: lining-nums; letter-spacing: -.01em; text-wrap: balance; }
h3 { font: 600 19px/1.3 var(--sans); letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure, blockquote { margin: 0; }
::selection { background: var(--gold); color: var(--on-gold); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--on-gold); padding: 10px 14px; font-weight: 600; }
.skip:focus { top: 12px; }

.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 18px; }
.section-head--row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

.link { color: var(--accent); font-weight: 600; font-size: 15px; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.link:hover { text-decoration-thickness: 2px; }

/* ---------- Buttons (cut corner) ---------- */
.btn {
  --c: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 12px 22px;
  font: 600 15px/1 var(--sans); letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  border: 1px solid var(--gold); cursor: pointer;
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { clip-path: none; }
.btn--lg { min-height: 54px; padding: 16px 30px; font-size: 16px; --c: 12px; }
.btn--primary { background: var(--gold); color: var(--on-gold); }
.btn--primary:hover { background: var(--text); border-color: var(--text); color: var(--bg); }
.btn--ghost {
  color: var(--accent);
  background:
    linear-gradient(to bottom right, transparent 50%, var(--gold) 50%, var(--gold) calc(50% + 1px), transparent calc(50% + 1px)) left top / var(--c) var(--c) no-repeat border-box,
    linear-gradient(to top left, transparent 50%, var(--gold) 50%, var(--gold) calc(50% + 1px), transparent calc(50% + 1px)) right bottom / var(--c) var(--c) no-repeat border-box;
  background-color: transparent;
}
.btn--ghost:hover { background-color: color-mix(in srgb, var(--gold) 14%, transparent); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  backdrop-filter: saturate(1.3) blur(12px);
  -webkit-backdrop-filter: saturate(1.3) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand img { width: 150px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 24px; }
.site-nav ul a { font-size: 14.5px; font-weight: 500; text-decoration: none; color: var(--muted); transition: color .2s; }
.site-nav ul a:hover, .site-nav ul a[aria-current="page"] { color: var(--text); }
.menu-btn { display: none; }

/* Services dropdown: opens on hover or keyboard focus, slides down */
.has-drop { position: relative; }
.has-drop > a { display: inline-flex; align-items: center; gap: 6px; }
.caret { width: 10px; height: 6px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .25s var(--ease); }
.has-drop:hover .caret, .has-drop:focus-within .caret { transform: rotate(180deg); color: var(--gold); }
.site-nav .drop {
  position: absolute; top: 100%; left: -18px; z-index: 60;
  display: block; min-width: 290px; margin-top: 18px; padding: 8px;
  background: var(--surface); border: 1px solid var(--line); border-top: 2px solid var(--gold);
  box-shadow: var(--shadow);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s .22s;
}
.site-nav .drop::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; } /* hover bridge */
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: none; transition: opacity .22s var(--ease), transform .22s var(--ease); }
.site-nav .drop li { opacity: 0; transform: translateY(-4px); transition: opacity .2s, transform .2s; }
.has-drop:hover .drop li, .has-drop:focus-within .drop li { opacity: 1; transform: none; }
.has-drop:hover .drop li:nth-child(2), .has-drop:focus-within .drop li:nth-child(2) { transition-delay: .03s; }
.has-drop:hover .drop li:nth-child(3), .has-drop:focus-within .drop li:nth-child(3) { transition-delay: .06s; }
.has-drop:hover .drop li:nth-child(4), .has-drop:focus-within .drop li:nth-child(4) { transition-delay: .09s; }
.site-nav .drop a { display: block; position: relative; padding: 11px 14px 11px 17px; color: var(--text); transition: background .2s; }
.site-nav .drop a::before { content: ""; position: absolute; left: 0; top: 50%; width: 2px; height: 0; background: var(--gold); transform: translateY(-50%); transition: height .2s var(--ease); }
.site-nav .drop a:hover, .site-nav .drop a:focus-visible { background: var(--surface-2); }
.site-nav .drop a:hover::before, .site-nav .drop a:focus-visible::before { height: 60%; }
.drop b { display: block; font-weight: 500; font-size: 14.5px; }
.drop small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }

@media (max-width: 1080px) {
  .site-nav ul { gap: 18px; }
  .site-nav ul a { font-size: 14px; }
}
@media (max-width: 960px) {
  .menu-btn {
    display: inline-flex; align-items: center; gap: 10px;
    background: none; border: 1px solid var(--line); color: var(--text);
    font: 500 14px var(--sans); padding: 10px 14px; cursor: pointer;
  }
  .menu-btn__bars, .menu-btn__bars::before { display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform .25s; }
  .menu-btn__bars::before { content: ""; position: absolute; top: 6px; }
  .menu-btn__bars { transform: translateY(-3px); }
  .menu-open .menu-btn__bars { transform: translateY(0) rotate(45deg); }
  .menu-open .menu-btn__bars::before { transform: translateY(-6px) rotate(-90deg); }
  .site-nav {
    position: fixed; inset: 76px 0 auto 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 20px;
    padding: 24px var(--gutter) 32px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility 0s .2s;
  }
  .menu-open .site-nav { opacity: 1; transform: none; visibility: visible; transition: opacity .2s, transform .2s; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 14px 0; font-size: 18px; color: var(--text); border-bottom: 1px solid var(--line); }
  .site-nav__cta { align-self: flex-start; }
  .has-drop > a { display: flex; }
  .caret { display: none; }
  .site-nav .drop { position: static; min-width: 0; margin: 0; padding: 0 0 6px 14px; background: none; border: 0; box-shadow: none; clip-path: none; opacity: 1; visibility: visible; transform: none; }
  .site-nav .drop::before { display: none; }
  .site-nav .drop li { opacity: 1; transform: none; }
  .site-nav .drop a { padding: 10px 0 10px 14px; border-bottom: 0; font-size: 16px; }
  .site-nav .drop a::before { height: 40%; opacity: .5; }
  .drop small { display: none; }
  .drop b { font-size: 16px; color: var(--muted); }
  html:not(.js) .site-nav { position: static; opacity: 1; visibility: visible; transform: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 96px) 0 clamp(64px, 8vw, 112px); isolation: isolate; }
.hero__backdrop {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    radial-gradient(ellipse 70% 60% at 72% 70%, color-mix(in srgb, var(--gold) 12%, transparent), transparent 70%),
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent);
  mask-image: linear-gradient(to bottom, #000 70%, transparent);
}
/* Drop-in slot for the generated dusk photo: set --hero-photo on .hero__backdrop */
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__kicker { color: var(--accent); font-weight: 600; font-size: 15px; margin-bottom: 20px; }
.hero__title { font: 500 clamp(46px, 5.9vw, 84px)/.98 var(--serif); letter-spacing: -.02em; text-wrap: balance; }
.hero__sub { margin-top: 24px; max-width: 34em; font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
.hero__proof strong { color: var(--text); font-weight: 600; }

.signal { display: inline-flex; align-items: center; gap: 9px; color: var(--signal); font-weight: 500; }
.signal__dot { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 0 color-mix(in srgb, var(--signal) 60%, transparent); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

.hero__showcase { position: relative; padding: 0 0 72px 0; }
.sunburst { position: absolute; left: 50%; bottom: 12%; width: 175%; max-width: none; transform: translateX(-50%); z-index: -1; overflow: visible;
  -webkit-mask-image: linear-gradient(90deg, transparent 8%, #000 34%); mask-image: linear-gradient(90deg, transparent 8%, #000 34%); }
.sunburst line, .sunburst path { stroke: var(--ray); stroke-width: 1; vector-effect: non-scaling-stroke; }
.sunburst__arcs path { stroke-dasharray: 3 6; opacity: .7; }

.device-browser {
  position: relative; width: 86%; margin-left: 2%; background: var(--surface); border: 1px solid var(--line);
  border-radius: 10px; overflow: hidden; box-shadow: var(--shadow);
}
.device-browser__bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.device-browser__bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.device-browser__bar span { margin: 0 auto; transform: translateX(-20px); font: 500 11px var(--mono); color: var(--muted); background: var(--bg); padding: 3px 14px; border-radius: 999px; }
.device-browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }

/* Phone sits off the browser's lower-right corner so the desktop site stays the focus */
.device-phone {
  position: absolute; right: 0; bottom: 0; width: 24%; min-width: 104px; z-index: 2;
  container-type: inline-size;
  background: #fff; border: 6px solid #1B2128; border-radius: 26px; overflow: hidden;
  box-shadow: var(--shadow), 0 0 0 1px var(--line);
}
/* Notch bottom sits at 10cqw; the white strip above the screenshot (9.5cqw) centers the
   site's logo between the notch and the bottom of its white header */
.device-phone__notch { position: absolute; top: 3cqw; left: 50%; transform: translateX(-50%); width: 32cqw; height: 7cqw; border-radius: 99px; background: #0B0D10; z-index: 1; }
.device-phone img { display: block; width: 100%; margin-top: 9.5cqw; aspect-ratio: 9 / 18; object-fit: cover; object-position: top; }

/* Indiana hero: Ryan cut out of his photo, standing where the phone sits on the home hero.
   The bottom fades into the page so the cropped shirt never shows a hard edge. */
.hero-portrait { position: absolute; right: -8%; bottom: 0; z-index: 2; width: 52%; pointer-events: none; }
/* Floating name card under Ryan, styled like the traffic card; tucked past his right side, a little low */
.hero-portrait__card {
  position: absolute; right: -24px; bottom: -14px;
  padding: 11px 18px 12px; white-space: nowrap; text-align: center;
  background: var(--surface); border: 1px solid var(--line); border-top: 2px solid var(--gold);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}
.hero-portrait__card b { display: block; font: 600 15px/1.3 var(--sans); color: var(--text); }
/* Narrower screens: the photo runs past the window edge, so line the card up with the edge of the hero
   visual instead (the photo hangs 8% of the visual past it, and 8 / 52 = 15.4% of the photo's width) */
@media (max-width: 1340px) { .hero-portrait__card { right: 15.4%; } }
.hero-portrait__card span { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }
@media (max-width: 640px) {
  .hero-portrait { right: -2%; width: 48%; }
  .hero-portrait__card { right: 4%; bottom: -24px; padding: 8px 11px 9px; }
  .hero-portrait__card b { font-size: 12.5px; }
  .hero-portrait__card span { font-size: 10.5px; }
}
.hero-portrait::before {
  content: ""; position: absolute; left: 6%; right: 6%; top: 8%; bottom: 14%; z-index: -1;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--gold) 30%, transparent), transparent);
}
/* A solid backing in Ryan's exact shape (the cutout's own alpha), so his faded lower half fades into the
   page background instead of letting the website behind him show through. Solid past the browser frame's
   bottom edge (66-80% down the photo depending on screen width), then it fades out with him. */
.hero-portrait::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--bg);
  -webkit-mask-image: url(/assets/img/ryan-cutout.webp), linear-gradient(to bottom, #000 84%, transparent 100%);
  -webkit-mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; -webkit-mask-composite: source-in;
  mask-image: url(/assets/img/ryan-cutout.webp), linear-gradient(to bottom, #000 84%, transparent 100%);
  mask-size: 100% 100%; mask-repeat: no-repeat; mask-composite: intersect;
}
.hero-portrait img {
  width: 100%;
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, .55));
  -webkit-mask-image: linear-gradient(to bottom, #000 66%, transparent 97%);
  mask-image: linear-gradient(to bottom, #000 66%, transparent 97%);
}

/* Floating growth stat */
.stat-float { position: absolute; left: -28px; bottom: -22px; z-index: 2; }
.stat-float__card {
  width: 200px; padding: 16px 18px 12px;
  background: var(--surface);
  border: 1px solid var(--line); border-top: 2px solid var(--gold); box-shadow: var(--shadow);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}
.stat-float__num { display: flex; align-items: center; gap: 8px; font: 500 40px/1 var(--serif); color: var(--text); font-variant-numeric: lining-nums; }
.stat-float__num svg { width: 14px; height: 18px; fill: none; stroke: var(--signal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.stat-float__label { margin-top: 6px; font-size: 13px; font-weight: 500; color: var(--text); }
.stat-float__label span { display: block; font: 500 10.5px/1.6 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.stat-float__spark { display: block; width: 100%; height: 30px; margin-top: 8px; }
.stat-float__spark .line { fill: none; stroke: var(--signal); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.stat-float__spark .area { fill: color-mix(in srgb, var(--signal) 14%, transparent); }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__showcase { max-width: 640px; margin-top: 8px; }
}
@media (max-width: 640px) {
  .hero__showcase { padding: 0 0 56px 0; }
  .stat-float { left: -8px; bottom: -14px; }
  .device-phone { min-width: 88px; }
  .stat-float__card { width: 132px; padding: 10px 11px 8px; }
  .stat-float__num { font-size: 26px; gap: 5px; }
  .stat-float__label { font-size: 11.5px; }
  .stat-float__label span { font-size: 9.5px; }
  .stat-float__spark { height: 22px; }
  .device-phone { border-width: 4px; border-radius: 18px; }
}

/* Hero load sequence (the one orchestrated moment) */
@media (prefers-reduced-motion: no-preference) {
  .js .sunburst__rays line { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 1.6s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 40ms + 150ms); }
  .js .sunburst__arcs { opacity: 0; animation: fade .8s 1s forwards; }
  .js .device-browser { opacity: 0; transform: translateY(28px); animation: rise .9s .35s var(--ease) forwards; }
  .js .device-phone { opacity: 0; transform: translateY(40px); animation: rise .9s .6s var(--ease) forwards; }
  .js .hero-portrait { opacity: 0; transform: translateY(40px); animation: rise .9s .6s var(--ease) forwards; }
  .js .hero-portrait__card { opacity: 0; animation: fade .7s 1.35s forwards, card-bob 7s 2.4s ease-in-out infinite; }
  .js .stat-float { opacity: 0; transform: translateY(16px) scale(.96); animation: rise .7s 1.15s var(--ease) forwards; }
  .stat-float__card { animation: bob 6s 2s ease-in-out infinite; }
  .stat-float__spark .line { stroke-dasharray: 200; stroke-dashoffset: 200; animation: draw 1.4s 1.5s var(--ease) forwards; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes card-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@keyframes bob { 0%, 100% { transform: translate(0, 0); } 33% { transform: translate(3px, -7px); } 66% { transform: translate(-2px, -3px); } }

/* ---------- Logo strip (placeholders) ---------- */
.logos { padding: 36px 0 44px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.logos__label { text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 24px; padding: 0 var(--gutter); }
.logos__track { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logos__list { display: flex; gap: 64px; width: max-content; align-items: center; color: var(--muted); }
.logos__list li { flex: none; opacity: .62; transition: opacity .25s; }
.logos__list li:hover { opacity: 1; }
.logos__list img { display: block; }
@media (max-width: 640px) { .logos__list { gap: 40px; } .logos__list img { transform: scale(.85); } }
@media (prefers-reduced-motion: no-preference) {
  .logos__list.is-looping { animation: marquee 110s linear infinite; }
  .logos__track:hover .logos__list { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translateX(calc(-50% - 28px)); } }

/* ---------- Problem ---------- */
.problem__grid { display: grid; grid-template-columns: 1fr minmax(0, 440px); gap: clamp(40px, 7vw, 96px); align-items: center; }
.problem__copy p { margin-top: 20px; max-width: 32em; font-size: 18px; color: var(--muted); }
.problem__copy p:last-child { color: var(--text); font-weight: 500; }

.search-mock { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; box-shadow: var(--shadow); }
.search-mock__query { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; }
.search-mock__g { font: 700 16px var(--sans); color: var(--accent); }
.search-mock__map { position: relative; height: 130px; margin: 14px 0; border-radius: 10px; overflow: hidden; background: var(--surface-2); }
.search-mock__map svg { width: 100%; height: 100%; }
.search-mock__map path { fill: none; stroke: var(--line); stroke-width: 6; }
.search-mock__result { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 10px; }
.search-mock__result + .search-mock__result { margin-top: 6px; }
.search-mock__result div:first-child { display: grid; gap: 4px; min-width: 0; }
.search-mock__result i { display: block; height: 9px; width: 180px; max-width: 100%; border-radius: 9px; background: var(--surface-2); }
.search-mock__result i.short { width: 110px; }
.search-mock__result--you { background: color-mix(in srgb, var(--gold) 12%, transparent); outline: 1px solid color-mix(in srgb, var(--gold) 55%, transparent); }
.search-mock__result--you b { font-size: 15px; }
.search-mock__result small { font-size: 12.5px; color: var(--muted); }
.search-mock__btns { display: flex; gap: 6px; }
.search-mock__btns span, .gbp__btns span, .ad span { font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); white-space: nowrap; }
.is-primary { background: var(--gold); border-color: var(--gold) !important; color: var(--on-gold); }
.stars { color: var(--gold); font-size: 13px; letter-spacing: 1px; }

.pin { position: absolute; width: 14px; height: 14px; margin: -14px 0 0 -7px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--muted); opacity: .6; }
.pin--you { width: 22px; height: 22px; margin: -22px 0 0 -11px; background: var(--gold); opacity: 1; box-shadow: 0 0 0 6px color-mix(in srgb, var(--gold) 25%, transparent); }

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

/* ---------- Services ---------- */
.services { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.services__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  background: var(--bg); border: 1px solid var(--line); padding: 28px;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
  transition: border-color .25s;
}
.service::after { content: ""; position: absolute; top: 0; right: 0; width: 22px; height: 22px; background: linear-gradient(225deg, var(--gold) 50%, transparent 50%); opacity: .55; transition: opacity .25s; }
.service:hover { border-color: color-mix(in srgb, var(--gold) 55%, var(--line)); }
.service:hover::after { opacity: 1; }
.service p { color: var(--muted); font-size: 16px; }
.service .link { margin-top: auto; padding-top: 8px; align-self: flex-start; }
.service h3 { font: 500 30px/1.1 var(--serif); letter-spacing: -.01em; }

.service--lead { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; padding: 40px; }
.service--lead .service__text { display: flex; flex-direction: column; gap: 14px; }
.service--lead h3 { font-size: clamp(36px, 4vw, 48px); }
.service--lead p { font-size: 17px; max-width: 30em; }

.wireframe { position: relative; padding: 28px 214px 28px 0; }
.wireframe__frame {
  border: 1px solid color-mix(in srgb, var(--gold) 60%, transparent); padding: 14px; border-radius: 6px;
  background-image: linear-gradient(color-mix(in srgb, var(--gold) 12%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--gold) 12%, transparent) 1px, transparent 1px);
  background-size: 16px 16px; display: grid; gap: 14px;
}
.wireframe i { display: block; border: 1px dashed color-mix(in srgb, var(--gold) 55%, transparent); border-radius: 3px; }
.wireframe b { display: inline-block; justify-self: start; font: 600 11px var(--sans); padding: 7px 12px; background: var(--gold); color: var(--on-gold); }
.wf-nav { display: flex; align-items: center; gap: 8px; }
.wf-nav i { width: 40px; height: 10px; }
.wf-nav i:first-child { width: 64px; margin-right: auto; }
.wf-hero { display: grid; gap: 8px; padding: 18px 16px; border: 1px dashed color-mix(in srgb, var(--gold) 40%, transparent); }
.wf-h1 { height: 16px; width: 80%; }
.wf-h1.short { width: 55%; }
.wf-p { height: 10px; width: 66%; margin-bottom: 6px; }
.wf-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.wf-cards i { height: 54px; }
.wf-note { position: absolute; right: 0; font: 500 11px var(--mono); color: var(--accent); display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.wf-note::before { content: ""; width: 44px; height: 1px; background: var(--gold); opacity: .7; }
.wf-note--1 { top: 42px; }
.wf-note--2 { top: 118px; }
.wf-note--3 { bottom: 52px; }

.mini { position: relative; height: 150px; margin: -4px 0 10px; border-radius: 10px; background: var(--surface-2); overflow: hidden; display: grid; place-items: center; }
.mini--map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mini--map .road { fill: none; stroke: var(--line); stroke-width: 7; }
.mini--map .radius { fill: color-mix(in srgb, var(--gold) 10%, transparent); stroke: var(--gold); stroke-dasharray: 4 5; stroke-width: 1.5; }
.gbp, .ad { width: 86%; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; display: grid; gap: 5px; }
.gbp b { font-size: 15px; }
.gbp small, .ad small { font-size: 12px; color: var(--muted); }
.gbp__btns { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.ad small b { color: var(--text); margin-right: 6px; }
.ad__title { color: var(--accent); font-size: 14.5px; line-height: 1.3; }
.ad i { display: block; height: 8px; width: 92%; border-radius: 8px; background: var(--surface-2); }
.ad i.short { width: 60%; }
.ad span { justify-self: start; margin-top: 4px; }

@media (max-width: 960px) {
  .services__grid { grid-template-columns: 1fr 1fr; }
  .service--lead { grid-template-columns: 1fr; padding: 32px; }
}
@media (max-width: 640px) {
  .services__grid { grid-template-columns: 1fr; }
  .service { padding: 24px; }
  .service--lead { padding: 24px; }
  .wireframe { padding: 0 0 92px; }
  .wf-note { right: auto; left: 0; }
  .wf-note::before { width: 16px; }
  .wf-note--1 { top: auto; bottom: 60px; }
  .wf-note--2 { top: auto; bottom: 32px; }
  .wf-note--3 { bottom: 4px; }
}

/* ---------- Why ---------- */
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.why__item { border-top: 1px solid var(--gold); padding-top: 24px; }
.why__item h3 { display: flex; align-items: center; gap: 10px; font: 500 28px/1.15 var(--serif); }
.why__item p { margin-top: 12px; color: var(--muted); font-size: 16.5px; }
@media (max-width: 760px) { .why__grid { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */
.process { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 40px; height: 1px; background: linear-gradient(90deg, var(--gold), color-mix(in srgb, var(--gold) 20%, transparent)); }
.step { position: relative; }
.step__num {
  display: grid; place-items: center; width: 80px; height: 80px; margin-bottom: 22px;
  background: var(--surface); position: relative;
  font: 500 64px/1 var(--serif); color: transparent; -webkit-text-stroke: 1.2px var(--gold);
}
.step h3 { font-size: 19px; }
.step p { margin-top: 8px; color: var(--muted); font-size: 16px; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: 64px 1fr; column-gap: 16px; }
  .step__num { width: 64px; height: 64px; font-size: 52px; margin: 0; grid-row: span 2; align-self: start; place-items: start center; }
}

/* ---------- Work ---------- */
.work__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case h3 { margin-top: 20px; font: 500 26px/1.15 var(--serif); }
.case p { margin-top: 6px; color: var(--muted); font-size: 15.5px; }
.case__shot { display: block; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--surface); transition: transform .35s var(--ease), border-color .35s; }
.case__shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.case__shot:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--gold) 60%, var(--line)); }
.tag { display: inline-block; margin-top: 14px; font: 500 12px var(--mono); color: var(--accent); border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent); padding: 4px 10px; }
@media (max-width: 900px) { .work__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .work__grid { grid-template-columns: 1fr; } }

/* ---------- Proof ---------- */
.proof__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); }
.quote { padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); background: var(--surface); position: relative; }
.quote::before { content: "\201C"; position: absolute; top: -6px; left: clamp(20px, 3.5vw, 40px); font: 500 120px/1 var(--serif); color: var(--gold); }
.quote blockquote p { font: 500 clamp(26px, 3vw, 38px)/1.2 var(--serif); padding-top: 36px; text-wrap: pretty; }
figcaption { margin-top: 24px; font-weight: 600; font-size: 15.5px; }
figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: 14.5px; }
.stats { display: grid; align-content: center; gap: 32px; padding-left: clamp(0px, 2vw, 24px); }
.stat { border-left: 2px solid var(--gold); padding-left: 20px; }
.stat b { display: block; font: 500 clamp(56px, 6vw, 76px)/1 var(--serif); font-variant-numeric: lining-nums; margin-bottom: 6px; }
.stat span { color: var(--muted); font-size: 15px; }
.video-card { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 48px); align-items: center; border-top: 1px solid var(--line); padding-top: clamp(32px, 4vw, 48px); }
.video-card__media { position: relative; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.video-card__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; filter: brightness(.45) saturate(.7); }
.video-card__play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; border: 1px solid var(--gold); background: rgba(11, 13, 16, .55); }
.video-card__play::after { content: ""; position: absolute; left: 29px; top: 23px; border-left: 20px solid var(--gold); border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
.video-card__soon { position: absolute; left: 14px; bottom: 12px; font: 500 12px var(--mono); color: #F1EDE4; }
.video-card blockquote p { font: 500 clamp(24px, 2.6vw, 32px)/1.25 var(--serif); }
@media (max-width: 800px) {
  .proof__grid, .video-card { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; padding-left: 0; }
}

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq__intro p { margin-top: 18px; color: var(--muted); }
.faq__intro a { color: var(--accent); font-weight: 600; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-weight: 600; font-size: 17.5px; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ""; flex: none; width: 10px; height: 10px; border: solid var(--accent); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translate(-3px, -3px); transition: transform .25s var(--ease); }
.faq__list details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq__list details p { padding: 0 40px 24px 0; color: var(--muted); }
@media (max-width: 820px) { .faq__grid { grid-template-columns: 1fr; } }

/* ---------- Final CTA ---------- */
.final-cta { position: relative; text-align: center; border-top: 1px solid var(--line); overflow: hidden; }
.final-cta::before {
  content: ""; position: absolute; left: 50%; top: 0; width: 1px; height: 64px; background: var(--gold);
}
.final-cta__inner { display: grid; justify-items: center; gap: 20px; max-width: 760px; }
.final-cta__photo { width: 88px; height: 88px; border-radius: 50%; border: 2px solid var(--gold); object-fit: cover; }
.final-cta p { color: var(--muted); font-size: 18px; margin-bottom: 8px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 64px 0 28px; font-size: 15px; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 32px; }
.site-footer__brand img { width: 170px; }
.site-footer__brand p { margin-top: 16px; color: var(--muted); max-width: 26em; }
.site-footer__h { font: 600 13px var(--sans); color: var(--text); margin-bottom: 14px; }
.site-footer ul { display: grid; gap: 10px; color: var(--muted); }
.site-footer ul a { text-decoration: none; }
.site-footer ul a:hover { color: var(--text); }
.site-footer__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }
.site-footer__legal a { margin-left: 18px; text-decoration: none; }
@media (max-width: 820px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }

/* ---------- Reveal (quiet; headings and grids only) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .logos__list { flex-wrap: wrap; justify-content: center; width: auto; padding: 0 var(--gutter); }
}

/* ---------- Lead form (dialog + page) ---------- */
.lead-dialog { width: min(640px, calc(100% - 24px)); max-height: calc(100% - 24px); padding: 0; border: 1px solid var(--line); background: var(--bg); color: var(--text); box-shadow: var(--shadow); }
.lead-dialog::backdrop { background: rgba(5, 6, 8, .72); backdrop-filter: blur(4px); }
.lead-dialog[open] { animation: rise .35s var(--ease); }
.lead { padding: clamp(24px, 4vw, 40px); }
.lead__head { display: flex; justify-content: space-between; align-items: start; gap: 16px; margin-bottom: 8px; }
.lead__head h2 { font-size: clamp(32px, 4vw, 42px); }
.lead__close { flex: none; width: 40px; height: 40px; display: grid; place-items: center; background: none; border: 1px solid var(--line); color: var(--text); cursor: pointer; font-size: 22px; line-height: 1; }
.lead__intro { color: var(--muted); margin-bottom: 24px; }
.lead__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 14px; font-weight: 600; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input:not([type="checkbox"]), .field select {
  width: 100%; min-height: 48px; padding: 10px 14px;
  background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 0;
  font: 400 16px var(--sans);
}
.field input:not([type="checkbox"]):focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 25%, transparent); }
.field input[aria-invalid="true"] { border-color: #C4584B; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid var(--line); background: var(--surface); font-weight: 500; font-size: 14.5px; cursor: pointer; }
.checks input { accent-color: var(--gold); width: 16px; height: 16px; margin: 0; }
.checks label:has(input:checked) { border-color: var(--gold); }
.hp { position: absolute; left: -9999px; }
.lead__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.lead__note { color: var(--muted); font-size: 14px; max-width: 26em; }
.lead__error { grid-column: 1 / -1; color: #E0786B; font-size: 14.5px; }
@media (max-width: 560px) { .lead__grid { grid-template-columns: 1fr; } }

/* ---------- Simple pages (get-started, book, 404) ---------- */
.page-hero { padding: clamp(48px, 8vw, 96px) 0 clamp(24px, 4vw, 40px); }
.page-hero h1 { font: 500 clamp(44px, 6vw, 76px)/1 var(--serif); letter-spacing: -.02em; text-wrap: balance; }
.page-hero p { margin-top: 18px; color: var(--muted); font-size: 18px; max-width: 36em; }
.page-body { padding-bottom: var(--section); }
.panel { background: var(--surface); border: 1px solid var(--line); }


/* Legal pages */
.prose > * { max-width: 720px; }
.prose { color: var(--muted); font-size: 16.5px; line-height: 1.75; }
.prose h2 { margin: 44px 0 12px; font: 500 30px/1.15 var(--serif); color: var(--text); letter-spacing: 0; }
.prose p + p { margin-top: 14px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose ul { margin: 12px 0 0; padding-left: 20px; list-style: none; }
.prose li { position: relative; margin-top: 8px; }
.prose li::before { content: ""; position: absolute; left: -18px; top: .72em; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }
.prose a, .lead__note a { color: var(--text); text-decoration-color: var(--gold); text-underline-offset: 3px; }

/* ---------- Campaign landing pages (/campaigns/, layout: campaign) ---------- */
.lp-header { border-bottom: 1px solid var(--line); }
.lp-header .wrap { display: flex; justify-content: center; align-items: center; height: 72px; }
.lp-header img { width: 140px; }

.lp-hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); text-align: center; }
.lp-hero__inner { display: grid; justify-items: center; max-width: 960px; }
.lp-hero__title { font: 500 clamp(40px, 5.6vw, 72px)/1.02 var(--serif); letter-spacing: -.02em; text-wrap: balance; max-width: 15em; }
.lp-hero__sub { margin-top: 20px; max-width: 34em; color: var(--muted); font-size: clamp(17px, 1.5vw, 19px); }
.lp-hero__cta { display: grid; justify-items: center; gap: 12px; margin-top: 32px; }
.lp-hero__note { color: var(--muted); font-size: 14.5px; }
.lp-hero__proof { justify-content: center; width: 100%; max-width: 640px; }

/* 16:9 video slot; on the opt-in page it's a button that opens the form */
.lp-video {
  position: relative; display: block; width: 100%; max-width: 860px; margin-top: clamp(32px, 4vw, 48px); padding: 0;
  aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--line); border-radius: 10px;
  background:
    repeating-conic-gradient(from -90deg at 50% 118%, var(--ray) 0deg .25deg, transparent .25deg 7.5deg),
    linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 40px 40px,
    var(--surface);
  box-shadow: var(--shadow); color: var(--text); font: inherit;
}
.lp-video iframe, .lp-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lp-video__card { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; padding: 24px;
  background: radial-gradient(ellipse 60% 55% at 50% 50%, var(--surface) 30%, transparent 75%); }
.lp-video__eyebrow { font-weight: 600; font-size: clamp(13px, 1.6vw, 17px); color: var(--accent); }
.lp-video__big { font: 500 clamp(40px, 7.4vw, 88px)/1 var(--serif); letter-spacing: -.02em; }
.lp-video__small { font: 500 clamp(11px, 1.3vw, 13px) var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lp-video__play { position: absolute; right: clamp(14px, 3vw, 28px); bottom: clamp(14px, 3vw, 28px); width: clamp(52px, 7vw, 72px); aspect-ratio: 1; border-radius: 50%; background: var(--gold); transition: transform .25s var(--ease), background-color .25s; }
.lp-video__play::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-35%, -50%); border-left: 18px solid var(--on-gold); border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.lp-video--poster { cursor: pointer; transition: border-color .3s; }
.lp-video--poster:hover { border-color: color-mix(in srgb, var(--gold) 60%, var(--line)); }
.lp-video--poster:hover .lp-video__play { transform: scale(1.06); background: var(--text); }

/* Proof: texts look like texts, reviews look like reviews */
.lp-proof { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lp-proof__grid { columns: 3 300px; column-gap: 20px; }
.lp-proof__grid figure { break-inside: avoid; margin-bottom: 20px; padding: 24px; background: var(--bg); border: 1px solid var(--line); }
.lp-text blockquote { display: grid; justify-items: start; gap: 6px; }
.lp-text blockquote p { max-width: 92%; padding: 10px 14px; background: var(--surface-2); border-radius: 18px 18px 18px 4px; font-size: 16px; line-height: 1.45; }
.lp-review__stars { color: var(--gold); letter-spacing: 2px; font-size: 15px; }
.lp-review blockquote p { margin-top: 10px; font-size: 16px; color: var(--text); }
.lp-proof__grid figcaption { margin-top: 18px; font-size: 15px; }

.lp-book__frame { background: var(--surface); border: 1px solid var(--line); }

/* Booked page: a real sequence, so stamped numerals */
.lp-next { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: n; }
.lp-next li { counter-increment: n; border-top: 1px solid var(--gold); padding-top: 20px; }
.lp-next li::before { content: counter(n); display: block; margin-bottom: 12px; font: 500 56px/1 var(--serif); color: transparent; -webkit-text-stroke: 1.2px var(--gold); }
.lp-next h2 { font: 600 19px/1.3 var(--sans); letter-spacing: -.01em; }
.lp-next p { margin-top: 8px; color: var(--muted); font-size: 16px; }
.lp-next__more { margin-top: 48px; color: var(--muted); }
.lp-next__more a { color: var(--text); text-decoration-color: var(--gold); text-underline-offset: 3px; }
@media (max-width: 760px) { .lp-next { grid-template-columns: 1fr; } }

.lp-footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 13.5px; }
.lp-footer__inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.lp-footer a { margin-left: 18px; text-decoration: none; }
.lp-footer a:first-child { margin-left: 0; }
.lp-footer a:hover { color: var(--text); }
@media (max-width: 560px) {
  .lp-video__card { padding-bottom: 56px; }
  .lp-video__play { width: 44px; right: 12px; bottom: 12px; }
  .lp-video__play::after { border-left-width: 13px; border-top-width: 8px; border-bottom-width: 8px; }
}

/* ---------- Footer: the "Based in Indiana" link sits inside a sentence, so it's underlined ---------- */
.site-footer__place a { color: var(--text); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }

/* ---------- Indiana pages: /indiana-web-design/ and the town pages (same layout as the home page) ---------- */

/* Written-for-this-place section + service area panel */
.loc-local__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: clamp(40px, 6vw, 88px); align-items: start; }
.loc-local__copy h2 { margin-bottom: 24px; max-width: 14em; }
.loc-local__copy p { color: var(--muted); font-size: 18px; max-width: 34em; }
.loc-local__copy p + p { margin-top: 16px; }
.loc-local__copy strong { color: var(--text); font-weight: 600; }
.loc-local__copy ul { display: grid; gap: 10px; margin-top: 24px; max-width: 34em; }
.loc-local__copy li { position: relative; padding-left: 22px; color: var(--muted); font-size: 16.5px; }
.loc-local__copy li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }
.loc-local__copy li b { color: var(--text); font-weight: 600; }
.loc-local__copy a { color: var(--text); text-decoration-color: var(--gold); text-underline-offset: 3px; }
.area { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-top: 2px solid var(--gold); }
.area h3 { font: 500 28px/1.15 var(--serif); }
.area__county { margin-top: 8px; font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.area__list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.area__list li { padding: 7px 12px; font-size: 14.5px; background: var(--bg); border: 1px solid var(--line); }
.area__list li:has(a) { padding: 0; border-color: color-mix(in srgb, var(--gold) 45%, var(--line)); }
.area__list a { display: block; padding: 7px 12px; text-decoration: none; color: var(--accent); transition: background-color .2s; }
.area__list a:hover { background: color-mix(in srgb, var(--gold) 14%, transparent); }
.area__note { margin-top: 20px; font-size: 14.5px; color: var(--muted); }
.area .link { display: inline-block; margin-top: 16px; }

.loc-features { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px clamp(24px, 4vw, 56px); }
.features li { border-top: 1px solid var(--gold); padding-top: 22px; }
.features h3 { font: 500 26px/1.15 var(--serif); }
.features p { margin-top: 10px; color: var(--muted); font-size: 16px; }

.quote--compact { margin-top: clamp(32px, 4vw, 48px); max-width: 880px; }
.quote--compact blockquote p { font-size: clamp(24px, 2.6vw, 32px); }

.loc-local + .work { border-top: 1px solid var(--line); }
.area__note a { color: var(--accent); font-weight: 600; text-underline-offset: 3px; }

.loc-cities { background: var(--surface); border-top: 1px solid var(--line); }
.loc-cities .section-head a { color: var(--accent); font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.city-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px clamp(20px, 3vw, 40px); }
.city-links__group h3 { padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--line); font: 600 13px var(--sans); color: var(--accent); }
.city-links ul { display: grid; gap: 10px; }
.city-links a { color: var(--muted); font-size: 15.5px; text-decoration: none; transition: color .2s; }
.city-links a:hover { color: var(--text); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.city-links a[aria-current] { color: var(--text); font-weight: 600; }

@media (max-width: 960px) {
  .loc-local__grid { grid-template-columns: 1fr; }
  .area { max-width: 560px; }
  .features { grid-template-columns: 1fr 1fr; }
  .city-links { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; gap: 32px; }
  .city-links { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .city-links ul { gap: 8px; }
  .city-links a { font-size: 14px; }
  .area { padding: 22px; }
}

/* ---------- Black Friday page (/blackfriday/, layout: blackfriday). Built phone first: most visitors come from TikTok. ---------- */

/* Offer bar: gold, stays at the top while scrolling */
.bf-bar { position: sticky; top: 0; z-index: 50; background: var(--gold); color: var(--on-gold); }
.bf-bar__inner { display: flex; align-items: center; justify-content: center; gap: 10px; padding-top: 9px; padding-bottom: 9px; text-align: center; white-space: nowrap; }
.bf-bar__text { font-weight: 600; font-size: clamp(12.5px, 3.7vw, 14.5px); line-height: 1.35; }
.bf-is-closed .bf-bar__inner { white-space: normal; }
.bf-bar__clock { font: 500 clamp(11.5px, 3.3vw, 13px)/1.35 var(--mono); padding: 2px 9px; background: var(--on-gold); color: var(--gold); white-space: nowrap; }
.bf-is-closed .bf-bar { background: var(--surface-2); color: var(--text); border-bottom: 1px solid var(--line); }
html:has(.bf) { scroll-padding-top: 60px; }
.bf-header .wrap { height: 60px; }
.bf-header img { width: 124px; }

/* Hero */
.bf-hero { padding-top: clamp(28px, 5vw, 64px); }
.bf-hero .lp-hero__title { max-width: 13em; font-size: clamp(38px, 5.2vw, 66px); }
.bf-nb { white-space: nowrap; }
.bf-price { display: block; margin-top: .12em; color: var(--gold); }
.bf-hero .lp-video { margin-top: 28px; max-width: 720px; }
.bf-video { background: #0B0D10; }
.bf-video video { object-fit: cover; }
/* Play button over the poster: the whole frame is the button, the gold circle sits in the middle */
.bf-video__play { position: absolute; inset: 0; display: grid; place-items: center; padding: 0; background: transparent; border: 0; cursor: pointer; }
.bf-video__play span { position: relative; width: clamp(58px, 11vw, 88px); aspect-ratio: 1; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--gold) 22%, transparent), 0 12px 30px rgba(0, 0, 0, .55); transition: transform .25s var(--ease), background-color .25s; }
.bf-video__play span::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-36%, -50%);
  border-left: clamp(16px, 3vw, 24px) solid var(--on-gold); border-top: clamp(10px, 1.8vw, 15px) solid transparent; border-bottom: clamp(10px, 1.8vw, 15px) solid transparent; }
.bf-video__play:hover span { transform: scale(1.07); background: var(--text); }
.bf-video__play:focus-visible { outline-offset: -4px; }
.bf-video.is-playing .bf-video__play { display: none; }
.bf-video--tall { aspect-ratio: 9 / 16; max-width: 360px; }
.bf-hero .lp-hero__cta { width: 100%; margin-top: 24px; }
.bf-hero .lp-hero__cta .btn { width: 100%; max-width: 420px; }
.bf-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; width: 100%; max-width: 420px; margin-top: 24px; text-align: left; font-size: 14.5px; font-weight: 500; line-height: 1.35; }
.bf-trust li { position: relative; padding-left: 24px; }
.bf-trust li::before { content: ""; position: absolute; left: 3px; top: .22em; width: 6px; height: 11px; border: solid var(--gold); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.btn.is-off { background: var(--surface-2); border-color: var(--line); color: var(--muted); cursor: default; pointer-events: none; }

/* Proof: client testimonial video */
.bf-proof .section-head { margin-bottom: 0; }
.bf-proof .lp-video { margin-top: 28px; }
.bf-proof__link { margin-top: 18px; }
.bf-proof__link a { color: var(--accent); font-weight: 600; font-size: 16.5px; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.bf-proof__link a:hover { text-decoration-thickness: 2px; }
.bf-proof__note { margin-top: 10px; color: var(--muted); font-size: 14px; }

/* Examples: desktop frame with the phone off its lower-right corner */
.bf-examples { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bf-examples__grid { display: grid; gap: 48px; }
.bf-example { display: block; text-decoration: none; }
.bf-example__devices { position: relative; display: block; padding: 0 0 9% 0; }
.bf-example .device-browser { display: block; width: 90%; margin: 0; transition: border-color .3s; }
.bf-example .device-browser__bar { height: 24px; }
.bf-example .device-phone { display: block; width: 25%; min-width: 0; background: var(--bg); border-width: 4px; border-radius: 16px; }
.bf-example .device-phone img { margin-top: 0; aspect-ratio: 9 / 18.5; }
.bf-example .device-phone__notch { display: none; }
.js .bf-example .device-browser, .js .bf-example .device-phone { opacity: 1; transform: none; animation: none; }
.bf-example__name { display: block; margin-top: 18px; font: 500 26px/1.15 var(--serif); }
.bf-example__meta { display: block; margin-top: 4px; color: var(--muted); font-size: 15px; }
.bf-example__meta b { margin-left: 8px; color: var(--accent); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a.bf-example:hover .device-browser { border-color: color-mix(in srgb, var(--gold) 60%, var(--line)); }
a.bf-example:hover .bf-example__meta b { text-decoration-thickness: 2px; }

/* What you get: the five pages as small page tiles */
.bf-get__grid { display: grid; gap: 40px; }
.bf-get__copy p { margin-top: 18px; max-width: 32em; font-size: 18px; color: var(--muted); }
.bf-pages { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.bf-pages li {
  grid-column: span 3; padding: 14px 14px 16px; background: var(--surface); border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}
.bf-pages li:last-child { grid-column: 1 / -1; }
.bf-pages b { display: block; font: 500 24px/1.1 var(--serif); }
.bf-pages span { display: block; margin-top: 4px; color: var(--muted); font-size: 14.5px; line-height: 1.4; }
/* A tiny page sketch: nav line, headline, text, gold button */
.bf-pages i {
  display: block; height: 36px; max-width: 150px; margin-bottom: 12px;
  background:
    linear-gradient(var(--line), var(--line)) 0 0 / 34% 3px,
    linear-gradient(var(--muted), var(--muted)) 0 14px / 78% 5px,
    linear-gradient(var(--gold), var(--gold)) 0 100% / 30% 8px;
  background-repeat: no-repeat; opacity: .9;
}

/* How it works: three numbered cards */
.bf-how { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bf-steps { display: grid; gap: 16px; }
.bf-steps li {
  position: relative; padding: 22px 22px 24px 92px; min-height: 108px; background: var(--bg); border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}
.bf-steps__num { position: absolute; left: 22px; top: 16px; width: 52px; text-align: center; font: 500 68px/1 var(--serif); color: transparent; -webkit-text-stroke: 1.2px var(--gold); }
.bf-steps p { margin-top: 6px; color: var(--muted); font-size: 16px; }
.bf-how__cta { margin-top: 32px; }
.bf-how__cta .btn { width: 100%; max-width: 420px; }

.bf a[href^="tel:"] { white-space: nowrap; }
.bf-faq .faq__list a { color: var(--text); text-decoration-color: var(--gold); text-underline-offset: 3px; }

/* Signup: the closing moment, centered */
.bf-signup { position: relative; border-top: 1px solid var(--line); text-align: center; }
.bf-signup::before { content: ""; position: absolute; left: 50%; top: 0; width: 1px; height: 56px; background: var(--gold); }
.bf-signup__inner { display: grid; justify-items: center; max-width: 720px; }
.bf-signup__sub { margin-top: 16px; max-width: 30em; color: var(--muted); font-size: 18px; }
.bf-clock { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; width: 100%; max-width: 380px; margin-top: 28px; }
.bf-clock[hidden], .bf-bar__clock[hidden], .bf-closed[hidden], .bf-form[hidden] { display: none; }
.bf-clock span { display: grid; gap: 4px; padding: 12px 4px 10px; background: var(--surface); border: 1px solid var(--line); border-top: 2px solid var(--gold); font-size: 12px; color: var(--muted); }
.bf-clock b { font: 500 34px/1 var(--mono); color: var(--text); font-variant-numeric: tabular-nums; }
.bf-signup__ends { margin-top: 14px; color: var(--muted); font-size: 14.5px; }
.bf-form { width: 100%; margin-top: 28px; text-align: left; }
.bf-form__btn { width: 100%; margin-top: 20px; }
.bf-form__btn:disabled { opacity: .7; cursor: default; }
.bf-form__note { max-width: none; margin-top: 14px; }
.bf-closed { width: 100%; margin-top: 28px; padding: 32px 24px; border-top: 2px solid var(--gold); color: var(--muted); }
.bf-closed p + p { margin-top: 8px; }
.bf-closed__title { font: 500 40px/1.05 var(--serif); color: var(--text); }
.bf-closed a { color: var(--text); text-decoration-color: var(--gold); text-underline-offset: 3px; }

/* Thank-you page: two next steps */
.bf-next { grid-template-columns: repeat(2, 1fr); max-width: 880px; }
.bf-next .btn { margin-top: 20px; }
@media (max-width: 760px) { .bf-next { grid-template-columns: 1fr; gap: 40px; } .bf-next .btn { width: 100%; } }

@media (min-width: 640px) {
  .bf-bar__text { font-size: 14.5px; }
  .bf-hero .lp-hero__cta .btn, .bf-how__cta .btn { width: auto; }
  .bf-trust { grid-template-columns: repeat(4, auto); justify-content: center; gap: 12px 28px; max-width: none; }
}
@media (min-width: 900px) {
  .bf-examples__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .bf-get__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
  .bf-steps { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .bf-steps li { padding: 24px 24px 28px; }
  .bf-steps__num { position: static; display: block; width: auto; margin-bottom: 14px; text-align: left; }
}

/* Black Friday: signup pop-up, "book a quick call" and the call page */
.bf-link { padding: 0; background: none; border: 0; cursor: pointer; font: inherit; font-weight: 600; color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.bf-link:hover { text-decoration-thickness: 2px; }
.bf-inline { color: var(--text); text-decoration-color: var(--gold); text-underline-offset: 3px; }
.bf-form .lead__grid, .bf-pop .lead__grid, .bf-calldialog .lead__grid { margin-top: 0; }
.field textarea { width: 100%; padding: 10px 14px; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 0; font: 400 16px/1.5 var(--sans); resize: vertical; }
.field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 25%, transparent); }

.bf-pop { width: min(520px, calc(100% - 24px)); border-top: 3px solid var(--gold); }
.bf-pop .lead { position: relative; padding: 24px 20px 20px; }
.bf-pop .lead__close { position: absolute; right: 12px; top: 12px; }
.bf-pop__eyebrow { color: var(--accent); font-weight: 600; font-size: 14.5px; }
.bf-pop h2 { margin-top: 2px; font-size: 34px; line-height: 1; }
.bf-pop__price { font-size: 2em; color: var(--gold); letter-spacing: -.02em; }
.bf-pop .lead__intro { margin: 8px 0 0; font-size: 15px; line-height: 1.45; }
.bf-pop .bf-clock { max-width: none; margin: 14px 0 16px; text-align: center; }
.bf-pop .bf-clock span { padding: 8px 4px 7px; background: var(--surface); }
.bf-pop .bf-clock b { font-size: 24px; }
.bf-pop .lead__grid { gap: 10px; }
.bf-pop .field { gap: 4px; }
.bf-pop .field input:not([type="checkbox"]) { min-height: 44px; padding-top: 8px; padding-bottom: 8px; }
.bf-pop .bf-form__btn { margin-top: 16px; }
.bf-pop .bf-form__note { font-size: 13px; }
.bf-calldialog { width: min(560px, calc(100% - 24px)); }
/* Black Friday pop-ups in day mode (DESIGN.md Day column): light panel, dark text, deep-gold text instead of bright gold */
.bf-pop, .bf-calldialog {
  color-scheme: light;
  --bg: #F1EDE4; --surface: #FFFFFF; --surface-2: #E8E2D4; --line: #D5CDBB; --muted: #4A535E; --text: #0B0D10; --accent: #8F6D1F; --on-gold: #0B0D10;
  --shadow: 0 30px 60px -20px rgba(0, 0, 0, .55);
}
.bf-pop .bf-pop__price { color: var(--accent); }
.bf-pop .bf-clock span, .bf-calldialog .bf-clock span { background: var(--bg); }
.bf-pop .lead__error, .bf-calldialog .lead__error { color: #B3392B; }
.bf-pop .btn--primary:hover, .bf-calldialog .btn--primary:hover { background: var(--text); border-color: var(--text); color: #F1EDE4; }

.bf-call { padding-top: 0; }
.bf-call__inner { display: grid; gap: 24px; align-items: center; padding-top: clamp(40px, 6vw, 64px); border-top: 1px solid var(--line); }
.bf-call h2 { font-size: clamp(32px, 3.6vw, 44px); }
.bf-call p { margin-top: 12px; max-width: 34em; color: var(--muted); }
.bf-call .btn { width: 100%; }
.bf-callpage .page-hero { padding-top: clamp(36px, 6vw, 72px); }
.bf-callpage .lp-next__more { margin-top: 28px; }
@media (min-width: 640px) {
  .bf-pop .lead { padding: 32px 32px 28px; }
  .bf-pop h2 { font-size: 40px; }
  .bf-call__inner { grid-template-columns: 1fr auto; }
  .bf-call .btn { width: auto; }
}

/* Black Friday: text chat, bottom right */
.bf-chat { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40; display: grid; justify-items: end; gap: 12px; }
.bf-is-closed .bf-chat { display: none; }
/* Fades in gradually as the hero "Get started" button scrolls up (opacity and lift are set by assets/blackfriday.js) */
.bf-chat {
  will-change: opacity, transform; color-scheme: light; color: var(--text);
  /* Day mode (DESIGN.md): the chat is the one light element on the dark page */
  --bg: #F1EDE4; --surface: #FFFFFF; --surface-2: #E8E2D4; --line: #D5CDBB; --muted: #5C6570; --text: #0B0D10; --accent: #8F6D1F; --on-gold: #0B0D10;
}
.bf-chat__btn {
  --c: 12px; position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 13px 20px; border: 0; cursor: pointer;
  background: var(--gold); color: var(--text); font: 600 15px var(--sans);
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
}
/* Dark face with a gold edge, so it doesn't blend into the gold "Get started" buttons */
.bf-chat__btn::before { content: ""; position: absolute; inset: 2px; z-index: -1; background: var(--surface-2); transition: background-color .2s var(--ease);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
.bf-chat__btn:hover::before { background: #DDD5C3; }
.bf-chat__btn:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; clip-path: none; }
.bf-chat__btn:focus-visible::before { clip-path: none; }
.bf-chat__dot { width: 8px; height: 8px; border-radius: 50%; background: #0B7F7D; flex: none; }
.bf-chat__panel {
  width: min(360px, calc(100vw - 32px)); max-height: calc(100vh - 210px); max-height: calc(100dvh - 210px); overflow: auto; overscroll-behavior: contain; background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 24px 50px -18px rgba(11, 13, 16, .45); padding: 18px; text-align: left; color: var(--text);
}
.bf-chat__panel[hidden] { display: none; }
.bf-chat__head { position: sticky; top: -18px; z-index: 1; display: flex; justify-content: space-between; align-items: start; gap: 12px; margin: -18px -18px 6px; padding: 18px 18px 10px; background: var(--surface); }
.bf-chat__title { margin: 0; font: 600 18px var(--sans); }
.bf-chat__sub { margin: 4px 0 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.bf-chat__x { flex: none; width: 36px; height: 36px; background: none; border: 1px solid var(--line); color: var(--text); font-size: 22px; line-height: 1; cursor: pointer; }
.bf-chat__form { display: grid; gap: 12px; }
.bf-chat__form[hidden], .bf-chat__head[hidden] { display: none; }
.bf-chat__form textarea { width: 100%; resize: vertical; min-height: 84px; font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line); padding: 12px 14px; }
.bf-chat__form textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; }
.bf-chat__done { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 8px 0 2px; }
.bf-chat__done[hidden] { display: none; }
.bf-chat__done:focus { outline: none; }
.bf-chat__check { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--on-gold); box-shadow: 0 0 0 8px color-mix(in srgb, var(--gold) 18%, transparent); }
.bf-chat__done-title { margin: 6px 0 0; font: 600 26px var(--serif); line-height: 1.1; }
.bf-chat__done-text { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.bf-chat__done-text strong { color: var(--text); white-space: nowrap; }
.bf-chat__done-quote { margin: 4px 0 8px; width: 100%; padding: 10px 12px; border-left: 2px solid var(--gold); background: var(--bg); color: var(--text); font-size: 14px; line-height: 1.45; text-align: left; overflow-wrap: anywhere; max-height: 5.5em; overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .bf-chat__done:not([hidden]) .bf-chat__check { animation: bfpop .5s var(--ease) both; }
  @keyframes bfpop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
}
@media (max-width: 480px) { .bf-chat__btn { font-size: 14px; padding: 12px 16px; } }

/* Black Friday: client logo strip and the intake form (/blackfriday/thanks/) */
.bf-logos { border-top: 0; }
.bfi-hero.page-hero, .bf-intake-hero { padding-bottom: 20px; }
.bfi { max-width: 720px; padding: clamp(20px, 4vw, 36px); }
.bfi__top { display: grid; gap: 10px; margin-bottom: 24px; }
.bfi__count { font: 500 12.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.bfi__bar { height: 3px; background: var(--line); }
.bfi__bar i { display: block; height: 100%; width: 0; background: var(--gold); transition: width .3s var(--ease); }
.bfi__step { display: grid; gap: 16px; border: 0; margin: 0; padding: 0; min-width: 0; }
.bfi__step[hidden] { display: none; }
.bfi__step legend { float: left; width: 100%; padding: 0; margin-bottom: 0; font: 500 clamp(30px, 4.4vw, 40px)/1.08 var(--serif); letter-spacing: -.01em; text-wrap: balance; }
.bfi__step legend + * { clear: both; }
.bfi__help { color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.bfi__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bfi__short { max-width: 160px; }
.bfi__group { font: 600 13px var(--sans); color: var(--accent); }
.bfi__checks { margin-top: -6px; }
.bfi__radios { display: grid; gap: 8px; }
.bfi__radios label { display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 10px 14px; background: var(--bg); border: 1px solid var(--line); font-weight: 500; cursor: pointer; }
.bfi__radios input { accent-color: var(--gold); width: 18px; height: 18px; margin: 0; }
.bfi__radios label:has(input:checked) { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 10%, var(--bg)); }
.bfi__drop { position: relative; display: grid; justify-items: center; gap: 4px; padding: 28px 16px; text-align: center; cursor: pointer;
  border: 1px dashed color-mix(in srgb, var(--gold) 60%, var(--line)); background: var(--bg); }
.bfi__drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.bfi__drop b { color: var(--accent); font-weight: 600; }
.bfi__drop span { color: var(--muted); font-size: 14px; }
.bfi__drop:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.bfi__files { display: grid; gap: 6px; }
.bfi__files li { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 8px 12px; background: var(--bg); border: 1px solid var(--line); font-size: 14px; overflow-wrap: anywhere; }
.bfi__files button { flex: none; background: none; border: 0; color: var(--muted); font: 500 13px var(--sans); text-decoration: underline; cursor: pointer; padding: 4px; }
.bfi__error { margin-top: 16px; }
.bfi__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.bfi__nav [data-bfi-next], .bfi__nav [data-bfi-send] { margin-left: auto; }
.bfi__nav [hidden] { display: none; }
.bfi__skip { background: none; border: 0; color: var(--muted); font: 500 15px var(--sans); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; padding: 8px 4px; }
.bfi__progress { margin-top: 14px; color: var(--muted); font-size: 14.5px; }
.bfi-done { max-width: 880px; padding: clamp(24px, 4vw, 40px); border-top: 2px solid var(--gold); }
.bfi-done h2 { font-size: clamp(34px, 4.6vw, 48px); }
.bfi-done > p { margin-top: 12px; color: var(--muted); font-size: 17.5px; max-width: 36em; }
.bfi-done .lp-next { margin-top: 32px; }
.bfi-done .lp-next h3 { font: 600 19px/1.3 var(--sans); }
.bfi-done:focus { outline: none; }
@media (max-width: 560px) {
  .bfi__nav [data-bfi-next], .bfi__nav [data-bfi-send] { width: 100%; margin-left: 0; order: -1; }
}
.bfi__check { display: flex; gap: 12px; align-items: flex-start; padding: 14px; background: var(--bg); border: 1px solid var(--line); cursor: pointer; color: var(--muted); font-size: 15px; line-height: 1.5; }
.bfi__check input { flex: none; accent-color: var(--gold); width: 18px; height: 18px; margin: 2px 0 0; }
.bfi__check b { color: var(--text); font-weight: 600; }
.bfi__check:has(input:checked) { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 10%, var(--bg)); }

/* ---------- Black Friday page day mode (body class bf-day): day-mode page, night-mode pop-ups and chat ----------
   Ryan chose this over the all-night version (Nov 26, 2026). Remove "bf-day" from body_class in src/pages/blackfriday.html to go back. */
html:has(body.bf-day) { background: #F1EDE4; color-scheme: light; }
.bf-day {
  color-scheme: light;
  --bg: #F1EDE4; --surface: #FFFFFF; --surface-2: #E8E2D4; --line: #D5CDBB; --muted: #4A535E; --text: #0B0D10;
  --accent: #8F6D1F; --signal: #0B7F7D; --on-gold: #0B0D10;
  --grid: rgba(11, 13, 16, .05); --ray: rgba(143, 109, 31, .38); --header-bg: rgba(241, 237, 228, .86);
  --shadow: 0 30px 60px -24px rgba(60, 48, 20, .35);
}
.bf-day .bf-header img { content: url(/assets/logo-full-light.png); }
/* Pop-ups and chat flip back to night */
.bf-day .bf-chat, .bf-day .bf-pop, .bf-day .bf-calldialog {
  color-scheme: dark;
  --bg: #0B0D10; --surface: #12161B; --surface-2: #1B2128; --line: #2A323B; --muted: #A3ACB7; --text: #F1EDE4;
  --accent: #D8AF54; --signal: #3DDBD9; --on-gold: #0B0D10; --shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
}
.bf-day .bf-chat__panel { box-shadow: var(--shadow); }
.bf-day .bf-chat__btn:hover::before { background: #252d36; }
.bf-day .bf-chat__dot { background: var(--signal); }
.bf-day .bf-pop .bf-pop__price { color: var(--gold); }
.bf-day .bf-pop .bf-clock span, .bf-day .bf-calldialog .bf-clock span { background: var(--surface); }
.bf-day .bf-pop .lead__error, .bf-day .bf-calldialog .lead__error { color: #E8877A; }
.bf-day .bf-pop .btn--primary:hover, .bf-day .bf-calldialog .btn--primary:hover { background: var(--text); border-color: var(--text); color: var(--bg); }
/* Day-mode page: gold TEXT becomes deep gold (contrast), outlined numerals get a darker stroke, light logos go dark */
.bf-day .bf-price, .bf-day .stars, .bf-day .lp-review__stars, .bf-day .quote::before { color: var(--accent); }
.bf-day .bf-steps__num, .bf-day .lp-next li::before, .bf-day .stamp { -webkit-text-stroke-color: var(--accent); }
.bf-day .logos__list li { opacity: .75; }
.bf-day .logos__list img { filter: brightness(0) saturate(0); }
.bf-day .bf-link, .bf-day .btn--ghost { color: var(--accent); }
.bf-day .btn--ghost { border-color: var(--accent); }
.bf-day .btn--primary { color: var(--on-gold); }
.bf-day .bf-bar__clock { color: var(--gold); }
