/* Built by Wes — site styles
   Layout: one long mobile-first page; generous white space, marker headlines,
   big ballpoint sketches drawn over real (or example) screens. */

@font-face { font-family: "BBW Marker"; src: url("../assets/fonts/bbw-marker.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../assets/fonts/dm-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../assets/fonts/dm-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../assets/fonts/dm-sans-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ink: #171B24;
  --cobalt: #0F349C;
  --bg: #FFFFFF;
  --fg: #171B24;
  --muted: #565C6E;
  --paper: #F4F5FA;
  --line: #E1E4EE;
  --pen: #0F349C;      /* ballpoint, deep (brand blue) */
  --pen-2: #7D90D6;    /* ballpoint, light pass */
  --btn-bg: #0F349C;
  --btn-fg: #FFFFFF;
  --btn-hover: #0A246E;
  --card: #FFFFFF;
  --phone: #0F1218;
  --shadow: 0 1px 2px rgb(23 27 36 / .06), 0 12px 32px -12px rgb(23 27 36 / .22);
  --ph-bg: #FFF1C2;
  --ph-fg: #5A4300;
  --good: #1D7A4E;

  --f-display: "BBW Marker", "Arial Black", "Helvetica Neue", sans-serif;
  --f-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: 1.375rem;
  --step-3: clamp(2.1rem, 5.4vw, 3.4rem);
  --step-4: clamp(3rem, 10.5vw, 6.6rem);
  --gutter: clamp(20px, 5vw, 40px);
  --radius: 14px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #171B24; --fg: #F1F3F9; --muted: #A7ADBF; --paper: #1F2430; --line: #2E3546;
    --cobalt: #8FA6F5; --pen: #9DB0F7; --pen-2: #45579E; --btn-bg: #8FA6F5; --btn-fg: #0F1A40; --btn-hover: #B7C6FA;
    --card: #1F2430; --phone: #05070A; --shadow: 0 12px 32px -12px rgb(0 0 0 / .6);
    --ph-bg: #4A3B0B; --ph-fg: #FFE29A; --good: #6FD39F; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #171B24; --fg: #F1F3F9; --muted: #A7ADBF; --paper: #1F2430; --line: #2E3546;
  --cobalt: #8FA6F5; --pen: #9DB0F7; --pen-2: #45579E; --btn-bg: #8FA6F5; --btn-fg: #0F1A40; --btn-hover: #B7C6FA;
  --card: #1F2430; --phone: #05070A; --shadow: 0 12px 32px -12px rgb(0 0 0 / .6);
  --ph-bg: #4A3B0B; --ph-fg: #FFE29A; --good: #6FD39F; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--f-body); font-size: var(--step-0); line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1200px; margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--btn-bg); color: var(--btn-fg); padding: 10px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }

.display {
  font-family: var(--f-display); font-weight: 400; letter-spacing: 0; line-height: .98;
  text-transform: uppercase; color: var(--cobalt); text-wrap: balance; margin: 0;
}
h2.display { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.3; margin: 0; }
p { margin: 0; }
.lede { font-size: var(--step-1); max-width: 36ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 2px solid var(--btn-bg);
  background: var(--btn-bg); color: var(--btn-fg); font: 700 1rem/1 var(--f-body);
  text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, border-color .15s;
}
.btn:hover { background: var(--btn-hover); border-color: var(--btn-hover); color: var(--btn-fg); }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn-ghost:hover { background: transparent; color: var(--cobalt); border-color: var(--cobalt); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: .9rem; }
.btn-block { width: 100%; }

/* Placeholder flags */
.ph {
  display: inline-block; font: 700 .7rem/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase;
  background: var(--ph-bg); color: var(--ph-fg); padding: 5px 8px; border-radius: 6px; vertical-align: middle;
}
.ph-banner { font-size: .9rem; color: var(--muted); display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.logo { display: block; width: 92px; color: var(--fg); flex: none; }
.logo svg { display: block; width: 100%; height: auto; }
.nav { display: none; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-size: .95rem; color: var(--muted); }
.nav a:hover { color: var(--fg); }
.header-actions { display: flex; gap: 10px; align-items: center; margin-left: auto; }
.nav + .header-actions { margin-left: 8px; }
@media (min-width: 900px) { .nav { display: flex; } }

/* Hero */
.hero { padding-block: clamp(28px, 6vw, 72px) clamp(48px, 8vw, 96px); }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero-copy { display: grid; gap: 24px; min-width: 0; }
.hero-title { font-size: var(--step-4); display: grid; gap: .08em; }
.hero-title span:nth-child(2) { color: var(--fg); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { font-size: .9rem; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--cobalt); box-shadow: 0 0 0 0 var(--cobalt); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--cobalt) 55%, transparent); } 70%, 100% { box-shadow: 0 0 0 10px transparent; } }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; } }

/* Sketch vs built */
.sb { margin: 0; display: grid; gap: 14px; min-width: 0; }
.sb-stage { position: relative; aspect-ratio: 640 / 660; width: 100%; max-width: 600px; margin-inline: auto; touch-action: pan-y; --pos: 52%; }
.sb-built, .sb-sketch, .sb-notes { position: absolute; inset: 0; }
.sb-built .phone { position: absolute; left: 26.5625%; top: 4.545%; width: 46.875%; }
.sb-sketch { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.sb-sketch svg, .sb-notes { width: 100%; height: 100%; display: block; }
.sb-notes { pointer-events: none; }
.sb-handle { position: absolute; top: 2%; bottom: 2%; left: var(--pos); width: 0; border-left: 2px dashed var(--pen); pointer-events: none; }
.sb-handle span {
  position: absolute; top: 50%; left: -23px; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--pen); box-shadow: var(--shadow);
}
.sb-handle span::before, .sb-handle span::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; border: 6px solid transparent; margin-top: -6px; }
.sb-handle span::before { left: 6px; border-right-color: var(--pen); }
.sb-handle span::after { right: 6px; border-left-color: var(--pen); }
.sb-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.sb-range:focus-visible + * , .sb-stage:has(.sb-range:focus-visible) .sb-handle span { outline: 3px solid var(--cobalt); outline-offset: 3px; }
.sb figcaption { font-size: .9rem; color: var(--muted); text-align: center; max-width: 46ch; margin-inline: auto; }

/* Sketch strokes */
.sketch { overflow: visible; }
.sketch .sk { fill: none; stroke: var(--pen); stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.sketch .sk.thin { stroke-width: 1.6; }
.sketch .sk.b { stroke: var(--pen-2); stroke-width: 1.3; }
.sketch .sk-fill { fill: var(--bg); stroke: none; }
.sketch .sk-tint { fill: color-mix(in srgb, var(--pen) 10%, transparent); stroke: none; }
.sketch .sk-text { font-family: var(--f-display); fill: var(--pen); text-transform: uppercase; }
.sketch.pending .sk { stroke-dasharray: 1 1.05; stroke-dashoffset: 1.02; stroke-opacity: 0; }
.sketch.pending .sk-text { opacity: 0; }
.sketch.drawing .sk { stroke-dasharray: 1 1.05; stroke-dashoffset: 0; stroke-opacity: 1;
  transition: stroke-dashoffset .55s cubic-bezier(.5,.1,.3,1) calc(var(--i, 0) * 45ms), stroke-opacity 0s linear calc(var(--i, 0) * 45ms); }
.sketch.drawing .sk-text { opacity: 1; transition: opacity .4s ease calc(var(--i, 0) * 45ms); }

/* Phone mockups (client screens keep their own colours, like a screenshot) */
.phone {
  aspect-ratio: 1 / 2; background: var(--phone); border-radius: 13% / 6.5%; padding: 3.333%;
  box-shadow: var(--shadow); container-type: inline-size;
}
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 10% / 5%; overflow: hidden; font-size: 5cqw; line-height: 1.25; font-family: var(--f-body); }
.phone-screen > * { position: absolute; left: 5%; right: 5%; margin: 0; }
.dm-nav { left: 0 !important; right: 0 !important; display: flex; align-items: center; justify-content: space-between; padding: 0 5%; }
.dm-nav i { width: 1.4em; height: .9em; border-block: .14em solid currentColor; position: relative; }
.dm-nav i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: .14em solid currentColor; transform: translateY(-50%); }
.dm-h { font-weight: 700; font-size: 1.35em; }
.dm-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 4%; }
.dm-card { display: grid; grid-template-rows: 1fr auto auto; border-radius: .6em; overflow: hidden; background: #fff; box-shadow: 0 .1em .5em rgb(0 0 0 / .08); font-size: .9em; }
.dm-card i { display: block; }
.dm-card b, .dm-card small { padding: 0 .6em; }
.dm-card small { padding-bottom: .5em; opacity: .7; }
.dm-row { display: flex; justify-content: space-between; align-items: center; font-size: .9em; border-top: 1px solid rgb(0 0 0 / .1); }
.dm-cta { display: flex; align-items: center; justify-content: center; border-radius: 999px; font-weight: 700; }
.dm-label { font-size: .85em; font-weight: 700; opacity: .75; display: flex; justify-content: space-between; }
.dm-chips { display: flex; gap: 3%; }
.dm-chips span { flex: 1; display: flex; align-items: center; justify-content: center; border-radius: .5em; border: 1px solid rgb(0 0 0 / .18); font-size: .9em; }
.dm-chips .on { color: #fff; border-color: transparent; }
.dm-chips .off { opacity: .35; text-decoration: line-through; }
.dm-slots { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr 1fr; gap: 6% 3%; }
.dm-slots span { display: flex; align-items: center; justify-content: center; border-radius: .5em; border: 1px solid rgb(0 0 0 / .18); font-size: .9em; }
.dm-slots .on { color: #fff; border-color: transparent; }
.dm-slots .off { opacity: .35; text-decoration: line-through; }
.dm-small { font-size: .75em; opacity: .65; text-align: center; }

/* Bakery (hero) */
.demo-bakery { background: #FBF5EC; color: #2B1D14; }
.demo-bakery .dm-nav { top: 0; height: 9%; font-family: Georgia, serif; font-size: 1.15em; }
.demo-bakery .dm-hero { top: 9%; height: 30%; left: 0; right: 0; background:
  radial-gradient(60% 50% at 70% 65%, #F2C98A 0 40%, transparent 41%),
  radial-gradient(45% 35% at 30% 75%, #E0A45C 0 45%, transparent 46%),
  linear-gradient(160deg, #C9874A, #7A4320); display: flex; align-items: flex-start; padding: 6% 5%; }
.demo-bakery .dm-hero span { color: #FFF8EE; font-family: Georgia, serif; font-size: 1.6em; line-height: 1.1; font-weight: 700; text-shadow: 0 1px 8px rgb(0 0 0 / .25); }
.demo-bakery .dm-h { top: 42%; height: 6%; display: flex; align-items: center; font-family: Georgia, serif; }
.demo-bakery .dm-cards { top: 50%; height: 25%; }
.demo-bakery .c1 { background: radial-gradient(55% 45% at 50% 55%, #D9A066 0 60%, #A8632E 61% 70%, transparent 71%), #EFE3D2; }
.demo-bakery .c2 { background: radial-gradient(circle at 50% 55%, #E8B97C 0 18%, #C17A3E 19% 30%, #E8B97C 31% 42%, #B06A30 43% 50%, transparent 51%), #EFE3D2; }
.demo-bakery .dm-row { top: 78%; height: 6%; }
.demo-bakery .dm-cta { top: 87%; height: 8.5%; background: #2B1D14; color: #FBF5EC; }

/* Café booking */
.demo-cafe { background: #FFFFFF; color: #14302E; }
.demo-cafe .dm-nav { top: 0; height: 9%; background: #0F5E5A; color: #fff; font-size: .95em; }
.demo-cafe .dm-h { top: 12%; height: 6%; }
.demo-cafe .l1 { top: 21%; }
.demo-cafe .dm-chips { top: 26%; height: 8%; }
.demo-cafe .l2 { top: 38%; }
.demo-cafe .dm-slots { top: 43%; height: 18%; }
.demo-cafe .on { background: #0F5E5A; }
.demo-cafe .dm-row { top: 66%; height: 6%; font-weight: 700; }
.demo-cafe .dm-cta { top: 76%; height: 9%; background: #E8763A; color: #fff; }
.demo-cafe .dm-small { top: 88%; }

/* Store */
.demo-store { background: #F7F5F1; color: #1F2A22; }
.demo-store .dm-bar { top: 0; height: 6%; left: 0; right: 0; background: #263A2E; color: #F7F5F1; font-size: .7em; display: flex; align-items: center; justify-content: center; }
.demo-store .dm-nav { top: 6%; height: 9%; font-size: .9em; font-weight: 700; }
.demo-store .dm-product { top: 15%; height: 35%; left: 0; right: 0; background: #F3F4EF; display: grid; place-items: center; }
.demo-store .dm-product span { width: 62%; height: 78%; border-radius: 22% 22% 8% 8%;
  background: repeating-linear-gradient(90deg, #F4EEDF 0 8%, #E3D9C3 8% 10%), #F4EEDF;
  box-shadow: inset 0 -.6em 0 #DCD1B9, 0 .4em 1em rgb(0 0 0 / .12); }
.demo-store .dm-ptitle { top: 52%; height: 7%; display: flex; justify-content: space-between; align-items: center; }
.demo-store .dm-label { top: 61%; }
.demo-store .dm-label u { color: #263A2E; font-weight: 700; opacity: 1; }
.demo-store .dm-chips { top: 66%; height: 8%; }
.demo-store .on { background: #263A2E; }
.demo-store .dm-cta { top: 78%; height: 9%; background: #263A2E; color: #fff; }
.demo-store .dm-small { top: 89%; }

/* Email */
.demo-email { background: #F3EEE4; color: #1D1F1E; }
.demo-email .em-from { top: 2%; height: 10%; display: flex; gap: 4%; align-items: center; font-size: .85em; }
.demo-email .em-from small { display: block; opacity: .7; }
.demo-email .em-hero { top: 13%; height: 29%; left: 0; right: 0; background-color: #F5F0E8; background-repeat: no-repeat; background-position: right center; background-size: contain; display: flex; align-items: flex-start; padding: 6% 5%; }
.demo-email .em-hero span { font-family: Georgia, serif; color: #2F4A3A; font-size: 1.35em; line-height: 1.15; }
.demo-email .em-p { top: 45%; font-size: .8em; line-height: 1.45; }
.demo-email .dm-cta { top: 65%; height: 9%; background: #C8693F; color: #fff; }
.demo-email .em-list { top: 78%; display: grid; gap: .35em; font-size: .8em; }
.demo-email .em-list span { border-bottom: 1px solid rgb(0 0 0 / .12); padding-bottom: .35em; }
.demo-email .em-list span::after { content: " \2192"; float: right; }

/* Brand board (client identity, fixed colours) */
.brand-board { aspect-ratio: 276 / 300; background: #FFFFFF; border-radius: 4%; box-shadow: var(--shadow); container-type: inline-size; padding: 7%; display: grid; grid-template-rows: 1.6fr auto auto; gap: 8%; color: #1D1F1E; }
.bb-mark { background: #2F4A3A; color: #F3EEE4; border-radius: 3cqw; display: grid; place-items: center; align-content: center; gap: 2cqw; }
.bb-mark b { font-family: Georgia, serif; font-size: 11cqw; line-height: 1; font-weight: 400; }
.bb-mark small { font-size: 3.6cqw; letter-spacing: .3em; text-transform: uppercase; opacity: .8; }
.bb-sym { width: 13cqw; height: 13cqw; border-radius: 50%; border: 1.6cqw solid #E7A27E; border-bottom-color: transparent; transform: rotate(-30deg); display: inline-block; }
.bb-sym.sm { width: 9cqw; height: 9cqw; border-width: 1.2cqw; border-color: #2F4A3A; border-bottom-color: transparent; }
.bb-sym.xs { width: 1.8em; height: 1.8em; border-width: .3em; border-color: #2F4A3A; border-bottom-color: transparent; flex: none; }
.bb-swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3cqw; }
.bb-swatches i { aspect-ratio: 1; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .08); }
.bb-alt { display: flex; align-items: center; gap: 3cqw; }
.bb-word { font-family: Georgia, serif; font-size: 8cqw; color: #2F4A3A; }

/* Generic stage for case studies */
.stage { position: relative; aspect-ratio: var(--ar); width: 100%; }
.stage .at { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: calc(var(--w) * 1%); }
.stage .overlay { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* Sections */
.section { padding-block: clamp(48px, 7vw, 88px); }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 6vw, 56px); max-width: 640px; }
.section-head p { color: var(--muted); max-width: 52ch; }

/* Services */
.services { background: var(--paper); }
.svc-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.svc { background: var(--card); border-radius: var(--radius); padding: 20px 22px 26px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.svc-art { width: 100%; height: auto; aspect-ratio: 240 / 170; margin-bottom: 4px; }
.svc p { color: var(--muted); font-size: .95rem; }

/* Work */
.case { display: grid; gap: 28px; align-items: center; padding-block: 24px; }
.case + .case { margin-top: clamp(40px, 8vw, 96px); }
.case-copy { display: grid; gap: 18px; min-width: 0; max-width: 520px; }
.case-stage { min-width: 0; }
.eyebrow { font: 700 .78rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.case-title { font-size: clamp(1.9rem, 4.6vw, 2.9rem); }
.case-facts { margin: 0; display: grid; gap: 14px; }
.case-facts div { display: grid; gap: 2px; border-top: 1px solid var(--line); padding-top: 12px; }
.case-facts dt { font-weight: 700; font-size: .9rem; }
.case-facts dd { margin: 0; color: var(--muted); }
.case-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.case-tags span { font-size: .8rem; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
@media (min-width: 900px) {
  .case { grid-template-columns: 1.25fr 1fr; gap: 56px; }
  .case-flip .case-stage { order: 2; }
}

/* Reviews */
.quote-grid { display: grid; gap: 16px; }
.quote { margin: 0; background: var(--paper); border-radius: var(--radius); padding: 28px; display: grid; gap: 18px; align-content: space-between; position: relative; }
.quote blockquote { margin: 0; font-size: var(--step-1); line-height: 1.5; }
.quote-lg blockquote { font-size: var(--step-2); line-height: 1.4; }
.quote figcaption { display: grid; font-size: .9rem; }
.quote figcaption span { color: var(--muted); }
.q-mark { width: 84px; height: auto; aspect-ratio: 120 / 90; }
@media (min-width: 860px) { .quote-grid { grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; } .quote-lg { grid-row: span 2; } }

/* About */
.about { background: var(--paper); }
.about-grid { display: grid; gap: 40px; align-items: center; }
.portrait { position: relative; max-width: 400px; width: 100%; aspect-ratio: 400 / 480; margin-inline: auto; }
.portrait-frame { position: absolute; inset: 9% 9% 7% 9%; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(160deg, #3A3F4C, #171B24); color: #A7ADBF; text-align: center; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }
.portrait-sketch { position: absolute; inset: 0; width: 100%; height: 100%; }
.about-copy { display: grid; gap: 18px; max-width: 560px; min-width: 0; }
.about-copy > p:not(.lede) { color: var(--muted); }
.about-list { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 10px; }
.about-list li { padding-left: 30px; position: relative; }
.about-list li::before { content: ""; position: absolute; left: 2px; top: .3em; width: 14px; height: 8px; border-left: 2.5px solid var(--cobalt); border-bottom: 2.5px solid var(--cobalt); transform: rotate(-45deg); }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1.1fr; gap: 72px; } }

/* Process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); counter-reset: s; }
.steps li { display: grid; gap: 10px; align-content: start; padding-top: 18px; border-top: 2px solid var(--fg); }
.step-n { font-family: var(--f-display); font-size: 2.6rem; line-height: 1; color: var(--cobalt); }
.steps p { color: var(--muted); font-size: .95rem; }
.support-note { margin-top: 36px; color: var(--muted); max-width: 60ch; font-size: .95rem; }

/* Contact */
.contact-grid { display: grid; gap: 40px; align-items: start; }
.contact-copy { display: grid; gap: 18px; max-width: 480px; min-width: 0; }
.contact-copy > p { color: var(--muted); }
.contact-alt { display: grid; gap: 6px; font-size: .95rem; }
.contact-alt > p:first-child { font-weight: 700; }
.email-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
#email-addr { font-weight: 700; user-select: all; }
.copy-btn { min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--fg); font: 700 .8rem/1 var(--f-body); cursor: pointer; }
.contact-sketch { width: min(300px, 80%); height: auto; aspect-ratio: 300 / 200; }
.enquiry { background: var(--paper); border-radius: 20px; padding: clamp(20px, 4vw, 36px); display: grid; gap: 18px; min-width: 0; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, legend { font-weight: 700; font-size: .95rem; }
.opt { font-weight: 400; color: var(--muted); font-size: .85rem; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line);
  background: var(--bg); color: var(--fg); font: 400 1rem/1.4 var(--f-body);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 3px color-mix(in srgb, var(--cobalt) 25%, transparent); }
.field.invalid input, .field.invalid textarea { border-color: #D33D3D; }
.field-error { color: #D33D3D; font-size: .85rem; }
.field-row { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
.chips-field { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg); font-size: .9rem; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.chips input:checked + span { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-fg); }
.chips input:focus-visible + span { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { font-size: .95rem; }
.form-status.ok { color: var(--good); font-weight: 700; }
.form-status.err { color: #D33D3D; }
.sent-summary { background: var(--bg); border: 1px dashed var(--pen-2); border-radius: 10px; padding: 14px; font-size: .9rem; white-space: pre-wrap; color: var(--muted); margin-top: 8px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.15fr; gap: 72px; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 40px 56px; }
.footer-row { display: grid; gap: 14px; }
.logo-footer { width: 110px; }
.site-footer p { color: var(--muted); font-size: .9rem; }
.site-footer .small { font-size: .8rem; }

@media (prefers-reduced-motion: reduce) { .dot { animation: none; } }

/* Small-screen tuning */
@media (max-width: 640px) {
  .svc-art { max-width: 300px; }
  .case-stage { margin-inline: calc(var(--gutter) * -.6); }
  .sb-stage { margin-inline: calc(var(--gutter) * -.5); width: calc(100% + var(--gutter)); max-width: none; }
}

/* Photography with pen over it */
.photo { position: relative; margin: 0; aspect-ratio: var(--ar); width: 100%; border-radius: 16px; overflow: hidden; background: var(--paper); }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); display: block; }
.photo .photo-sketch { position: absolute; inset: 0; width: 100%; height: 100%; --pen: #0F349C; --pen-2: #5A70C4; }
.photo-sketch .sk { stroke-width: 4.4; }
.photo-sketch .sk.thin { stroke-width: 3.2; }
.photo-sketch .sk.b { stroke-width: 2.4; }
.photo-sketch .sk-text { paint-order: stroke; stroke: rgb(255 255 255 / .82); stroke-width: 8px; stroke-linejoin: round; }
.photo-sketch .sk-swatch { opacity: .9; }
.photo .ph { position: absolute; right: 12px; bottom: 12px; }
.paper { padding-block-start: clamp(56px, 8vw, 96px); }
.paper-grid { display: grid; gap: 28px; align-items: center; }
.paper-copy { display: grid; gap: 16px; max-width: 440px; }
.paper-copy > p:not(.lede) { color: var(--muted); }
.case-copy .photo { margin-bottom: 6px; }
.quote-grid .photo-band { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .paper-grid { grid-template-columns: 1fr 2.1fr; gap: 56px; }
  .photo-xl { border-radius: 22px; }
}

/* Hero demo: Total Garden Care */
.demo-garden { background: #FBFAF6; color: #10382B; }
.demo-garden .tg-nav { left: 0; right: 0; top: 0; height: 10%; display: flex; align-items: center; justify-content: space-between; padding: 0 5%; border-bottom: 1px solid rgb(16 56 43 / .1); }
.demo-garden .tg-nav img { height: 58%; width: auto; }
.demo-garden .tg-nav i { width: 1.3em; height: .85em; border-block: .14em solid currentColor; position: relative; }
.demo-garden .tg-nav i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: .14em solid currentColor; transform: translateY(-50%); }
.demo-garden .tg-eyebrow { top: 13%; font-size: .62em; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #708A69; }
.demo-garden .tg-h { top: 16.5%; font-family: Georgia, "Times New Roman", serif; font-size: 2.15em; line-height: 1.02; font-weight: 700; letter-spacing: -.01em; }
.demo-garden .tg-h em { font-style: normal; color: #708A69; }
.demo-garden .tg-sub { top: 36%; font-size: .82em; line-height: 1.4; color: #4A5A52; }
.demo-garden .tg-cta { top: 46%; height: 8%; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: #10382B; color: #fff; font-weight: 700; box-shadow: 0 .4em 1em -.4em rgb(16 56 43 / .6); }
.demo-garden .tg-alt { top: 56%; text-align: center; font-size: .8em; font-weight: 700; color: #10382B; text-decoration: underline; text-underline-offset: .25em; text-decoration-color: rgb(16 56 43 / .3); }
.demo-garden .tg-photo { top: 63%; bottom: 3%; border-radius: .9em; overflow: hidden; }
.demo-garden .tg-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; display: block; }

/* v6: hero image */
:root { --hero-img: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --hero-img: brightness(.38) saturate(.8); } }
:root[data-theme="dark"] { --hero-img: brightness(.38) saturate(.8); }
.hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(40px, 7vw, 104px) clamp(56px, 9vw, 112px); }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; display: block; filter: var(--hero-img); }
.hero-bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 80%, transparent) 40%, color-mix(in srgb, var(--bg) 0%, transparent) 78%); }
.hero-bg .ph { position: absolute; right: 16px; bottom: 16px; z-index: 1; }
@media (max-width: 959px) {
  .hero-bg::after { background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 88%, transparent) 0%, color-mix(in srgb, var(--bg) 70%, transparent) 60%, color-mix(in srgb, var(--bg) 92%, transparent) 100%); }
  .hero-bg img { object-position: 85% 50%; }
}

/* v6: garden headline never wraps or overlaps */
.demo-garden .tg-h { font-size: 1.8em; }
.demo-garden .tg-h span, .demo-garden .tg-h em { display: block; white-space: nowrap; }

/* v6: client logos in the mockups */
.qk-logo, .wg-logo { display: flex; align-items: center; gap: .45em; line-height: 1; }
.qk-logo svg { width: 2em; height: 2em; flex: none; }
.qk-logo b { display: block; font-size: .95em; letter-spacing: .02em; }
.qk-logo small { display: block; font-size: .58em; letter-spacing: .32em; text-transform: uppercase; opacity: .8; margin-top: .15em; }
.wg-logo svg { width: 1.7em; height: 1.7em; flex: none; color: #263A2E; }
.wg-logo b { font-family: Georgia, "Times New Roman", serif; font-size: 1.15em; font-weight: 700; letter-spacing: .01em; }
.demo-store .dm-product svg.aran { width: 80%; height: auto; filter: drop-shadow(0 .5em .7em rgb(60 45 20 / .18)); }
.ar-tile { flex: none; width: 2.3em; height: 2.3em; border-radius: .5em; background: #2F4A3A; display: grid; place-items: center; }
.ar-tile .bb-sym { width: 1.2em; height: 1.2em; border-width: .2em; }
.ar-word { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: 1.2em; }

/* v6: reviews carousel on the brand blue */
.reviews { background: #0F349C; color: #FFFFFF; position: relative; overflow: hidden; }
.reviews .wrap { position: relative; }
.reviews .display { color: #FFFFFF; }
.reviews .sketch { --pen: #FFFFFF; --pen-2: rgb(255 255 255 / .55); }
.rv-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.rv-head p { color: rgb(255 255 255 / .82); margin-top: 12px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.rv-doodle { position: absolute; right: calc(var(--gutter) + 130px); top: -14px; width: 170px; height: auto; aspect-ratio: 220 / 120; pointer-events: none; }
@media (max-width: 700px) { .rv-doodle { display: none; } }
.rv-controls { display: flex; gap: 10px; }
.rv-btn { width: 48px; height: 48px; border-radius: 50%; border: 2px solid rgb(255 255 255 / .55); background: transparent; color: #FFFFFF; cursor: pointer; display: grid; place-items: center; transition: background .15s, color .15s; }
.rv-btn svg { width: 22px; height: 22px; }
.rv-btn:hover { background: #FFFFFF; color: #0F349C; }
.rv-btn:focus-visible, .rv-viewport:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 3px; }
.rv-viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  --edge: max(var(--gutter), calc((100vw - 1200px) / 2 + var(--gutter)));
  padding: 6px 0 28px; scroll-padding-inline: var(--edge); }
.rv-viewport::-webkit-scrollbar { display: none; }
.rv-track { list-style: none; margin: 0; padding: 0 var(--edge); display: flex; gap: 18px; width: max-content; }
.rv-card { scroll-snap-align: start; width: min(360px, 80vw); background: #FFFFFF; color: #171B24; border-radius: 18px; padding: 26px; display: grid; gap: 14px; align-content: start; box-shadow: 0 24px 40px -26px rgb(0 0 0 / .55); }
.rv-stars { color: #0F349C; display: block; }
.rv-stars svg { width: 104px; height: auto; display: block; }
.rv-card blockquote { margin: 0; font-size: 1.05rem; line-height: 1.5; }
.rv-who { display: grid; gap: 2px; font-size: .95rem; }
.rv-who span { color: #565C6E; font-size: .88rem; }
.rv-tag { justify-self: start; font-size: .75rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: #E6EBF8; color: #0F349C; }

/* v6: how it works with drawings */
.steps li { border-top: 0; padding-top: 0; }
.step-art { width: 100%; max-width: 240px; height: auto; aspect-ratio: 240 / 150; margin-bottom: 6px; }
.step-n { display: block; border-top: 2px solid var(--fg); padding-top: 14px; }

/* Hero notes stay legible over the photo */
.sb-notes .sk-text { paint-order: stroke; stroke: var(--bg); stroke-width: 7px; stroke-linejoin: round; }
.sb figcaption { background: color-mix(in srgb, var(--bg) 86%, transparent); border-radius: 10px; padding: 6px 12px; width: fit-content; }
.demo-store .dm-product:has(img) { display: block; overflow: hidden; }
.demo-store .dm-product img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }

/* ------------------------------------------------------------ v7 */
.support-note { margin-top: 40px; max-width: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px;
  background: var(--cobalt); color: #fff; border-radius: 18px; padding: 26px 30px; font-size: 1.08rem; }
.support-note p { max-width: 62ch; color: #fff; }
.support-note strong { display: block; font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: 1.5rem; letter-spacing: .01em; margin-bottom: 4px; }
.btn-light { background: #fff; color: #0F349C; border-color: #fff; }
.btn-light:hover { background: transparent; color: #fff; border-color: #fff; }
:root[data-theme="dark"] .support-note, :root[data-theme="dark"] .btn-light { color: #0F1A40; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .support-note { background: #0F349C; } }
:root[data-theme="dark"] .support-note { background: #0F349C; color: #fff; }

/* Packages */
.packages { background: var(--bg); }
.pk-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); align-items: stretch; }
.pk { position: relative; display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 12px; background: var(--card); border: 2px solid var(--line); border-radius: 20px; padding: 28px 26px; }
.pk-pop { border-color: var(--cobalt); box-shadow: var(--shadow); }
.pk-flag { position: absolute; top: -14px; left: 24px; background: var(--cobalt); color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
:root[data-theme="dark"] .pk-flag { color: #0F1A40; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pk-flag { color: #0F1A40; } }
.pk h3 { font-size: var(--step-2); }
.pk-price { display: flex; align-items: baseline; gap: 10px; }
.pk-price b { font-family: var(--f-display); font-weight: 400; font-size: 3.2rem; line-height: 1; color: var(--cobalt); }
.pk-price span { color: var(--muted); font-size: .95rem; }
.pk-price.sm b { font-size: 2rem; }
.pk-lede { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 4px 0 8px; display: grid; gap: 9px; align-content: start; font-size: .96rem; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .32em; width: 13px; height: 7px; border-left: 2.5px solid var(--cobalt); border-bottom: 2.5px solid var(--cobalt); transform: rotate(-45deg); }
.own { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.own li { background: var(--paper); border-radius: 14px; padding: 18px 20px; display: grid; gap: 4px; }
.own b { font-family: var(--f-display); font-weight: 400; font-size: 1.7rem; line-height: 1.05; color: var(--cobalt); text-transform: uppercase; }
.own span { color: var(--muted); font-size: .95rem; }
.pk-more { display: grid; gap: 12px; margin-top: 28px; }
.pk-extras { border: 2px solid var(--line); border-radius: 14px; padding: 0 20px; }
.pk-extras summary { cursor: pointer; font-weight: 700; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pk-extras summary::-webkit-details-marker { display: none; }
.pk-extras summary::after { content: "+"; font-size: 1.6rem; line-height: 1; color: var(--cobalt); transition: transform .2s; }
.pk-extras[open] summary::after { transform: rotate(45deg); }
.ex-list { list-style: none; padding: 0 0 18px; margin: 0; display: grid; gap: 0 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.ex-list li { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: .96rem; }
.ex-list b { color: var(--cobalt); white-space: nowrap; }
.mo-list { list-style: none; padding: 0 0 20px; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.mo-list li { display: grid; gap: 6px; }
.mo-list h4 { margin: 0; font-size: 1rem; }
.mo-list p:last-child { color: var(--muted); font-size: .93rem; }
.pk-note { margin-top: 22px; color: var(--muted); font-size: .92rem; }
.pk-note a { color: var(--cobalt); font-weight: 700; }

/* FAQ */
.faq { background: var(--paper); }
.faq-grid { display: grid; gap: 12px 56px; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: 1fr 1.6fr; } }
.faq-list { display: grid; gap: 10px; }
.faq-list details { background: var(--card); border-radius: 14px; padding: 0 22px; }
.faq-list summary { cursor: pointer; font-weight: 700; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 14px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--cobalt); transition: transform .2s; flex: none; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { color: var(--muted); padding-bottom: 18px; }

/* Portfolio buttons */
.case-copy .pf-open { justify-self: start; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--cobalt); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Portfolio pop-up */
.pf { width: min(1180px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 22px;
  background: var(--bg); color: var(--fg); box-shadow: 0 40px 120px -20px rgb(0 0 0 / .5); overflow: hidden; }
.pf[open] { display: grid; grid-template-rows: auto auto 1fr auto; }
.pf::backdrop { background: rgb(8 18 56 / .72); backdrop-filter: blur(4px); }
.pf-head { display: flex; align-items: center; gap: 16px; padding: 16px 20px 10px; }
.pf-title { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; color: var(--cobalt); font-size: 1.7rem; margin: 0; margin-right: auto; line-height: 1; }
.pf-views { display: inline-flex; background: var(--paper); border-radius: 999px; padding: 4px; }
.pf-views button { border: 0; background: none; font: 700 .88rem var(--f-body); color: var(--muted); padding: 8px 14px; border-radius: 999px; cursor: pointer; }
.pf-views button[aria-pressed="true"] { background: var(--card); color: var(--fg); box-shadow: 0 1px 3px rgb(0 0 0 / .15); }
.pf-close { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--line); background: var(--card); color: var(--fg); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.pf-tabs { display: flex; gap: 8px; padding: 0 20px 12px; overflow-x: auto; scrollbar-width: none; }
.pf-tabs button { flex: none; text-align: left; border: 2px solid var(--line); background: var(--card); color: var(--fg); border-radius: 12px; padding: 8px 14px; cursor: pointer; font: inherit; display: grid; line-height: 1.25; }
.pf-tabs button b { font-size: .92rem; }
.pf-tabs button span { font-size: .78rem; color: var(--muted); }
.pf-tabs button[aria-selected="true"] { border-color: var(--cobalt); background: var(--cobalt); color: #fff; }
.pf-tabs button[aria-selected="true"] span { color: rgb(255 255 255 / .8); }
.pf-body { min-height: 0; display: grid; grid-template-columns: 1fr auto; gap: 24px; padding: 6px 20px 0; background: linear-gradient(var(--bg), var(--paper)); }
.pf-browser { min-height: 0; display: grid; grid-template-rows: auto 1fr; border-radius: 14px 14px 0 0; overflow: hidden; border: 1px solid var(--line); border-bottom: 0; background: #fff; box-shadow: var(--shadow); }
.pf-chrome { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #EEF0F5; }
.pf-chrome i { width: 11px; height: 11px; border-radius: 50%; background: #D3D7E1; }
.pf-url { margin-left: 12px; flex: 1; max-width: 360px; background: #fff; border-radius: 999px; font-size: .78rem; color: #565C6E; padding: 4px 14px; }
.pf-scroll { overflow-y: auto; overscroll-behavior: contain; min-height: 0; }
.pf-scroll img { display: block; width: 100%; height: auto; }
.pf-phone { width: 290px; min-height: 0; display: grid; border: 10px solid #0F1218; border-bottom: 0; border-radius: 38px 38px 0 0; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.pf-foot { padding: 10px 20px 14px; color: var(--muted); font-size: .85rem; border-top: 1px solid var(--line); }
@media (max-width: 820px) {
  .pf-body { grid-template-columns: 1fr; }
  .pf-body[data-view="desk"] .pf-phone, .pf-body[data-view="mob"] .pf-browser { display: none; }
  .pf-phone { width: min(300px, 100%); justify-self: center; }
  .pf-title { font-size: 1.3rem; }
}
@media (min-width: 821px) { .pf-views { display: none; } }
@media (max-width: 820px) {
  .pf-head { gap: 8px; padding: 12px 12px 8px; }
  .pf-views button { padding: 7px 10px; font-size: .82rem; }
  .pf-close { width: 38px; height: 38px; flex: none; }
  .pf-tabs, .pf-body { padding-inline: 12px; }
  .pf-foot { padding-inline: 12px; }
}
.portrait-frame { overflow: hidden; }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
@media (min-width: 900px) { .case-flip { grid-template-columns: 1fr 1.25fr; } }

/* Portfolio wall (on the page, no click needed) */
.pf-wall { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); margin-bottom: clamp(56px, 9vw, 104px); }
.pfw { display: grid; gap: 16px; align-content: start; }
.pfw-shot { position: relative; display: block; padding: 0 0 28px; border: 0; background: none; cursor: pointer; text-align: left; }
.pfw-browser { display: flex; gap: 5px; align-items: center; height: 26px; padding: 0 10px; background: #E9ECF3; border-radius: 12px 12px 0 0; }
.pfw-browser i { width: 8px; height: 8px; border-radius: 50%; background: #C9CEDA; }
.pfw-view { display: block; aspect-ratio: 16 / 11; overflow: hidden; border-radius: 0 0 12px 12px; background: #fff; box-shadow: var(--shadow); }
.pfw-view img, .pfw-phone img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.pfw-phone { position: absolute; right: -6px; bottom: 0; width: 27%; aspect-ratio: 9 / 19; border: 4px solid #0F1218; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 18px 40px -16px rgb(0 0 0 / .45); }
.pfw.inview .pfw-view img { animation: pf-scroll 16s ease-in-out 1s infinite alternate; }
.pfw.inview .pfw-phone img { animation: pf-scroll 18s ease-in-out 2s infinite alternate; }
.pfw-shot:hover .pfw-view img, .pfw-shot:hover .pfw-phone img { animation-play-state: paused; }
@keyframes pf-scroll { 0%, 8% { object-position: 50% 0; } 92%, 100% { object-position: 50% 100%; } }
@media (prefers-reduced-motion: reduce) { .pfw.inview .pfw-view img, .pfw.inview .pfw-phone img { animation: none; } }
.pfw-shot:focus-visible { outline-offset: 6px; }
.pfw-cap { display: grid; gap: 4px; justify-items: start; }
.pfw-cap h3 { font-size: var(--step-2); }
.pfw-cap p { color: var(--muted); font-size: .95rem; }
.pfw-kind { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border: 1.5px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.pfw-kind.is-client { color: #fff; background: var(--cobalt); border-color: var(--cobalt); }
:root[data-theme="dark"] .pfw-kind.is-client { color: #0F1A40; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pfw-kind.is-client { color: #0F1A40; } }
.case-intro { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; color: var(--cobalt); font-size: clamp(1.5rem, 3.4vw, 2.2rem); margin: 0 0 clamp(24px, 4vw, 40px); }
/* How it works, calmer */
.steps { gap: 20px; }
.steps li { background: var(--paper); border-radius: 18px; padding: 22px 22px 26px; gap: 8px; }
.process { background: var(--bg); }
.step-art { max-width: 190px; margin: 0 0 4px; }
.steps h3 { display: flex; align-items: center; gap: 10px; }
.step-n { display: inline-grid; place-items: center; flex: none; width: 32px; height: 32px; border: 0; padding: 0; border-radius: 50%; background: var(--cobalt); color: #fff; font-family: var(--f-body); font-weight: 700; font-size: .95rem; }
:root[data-theme="dark"] .step-n { color: #0F1A40; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .step-n { color: #0F1A40; } }
.new-tag { display: inline-block; vertical-align: middle; margin-left: 6px; background: var(--cobalt); color: #fff; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; }
:root[data-theme="dark"] .new-tag { color: #0F1A40; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .new-tag { color: #0F1A40; } }
.svc-ai { outline: 2px solid var(--cobalt); outline-offset: -2px; }
/* AI premium package */
.pk-ai { margin-top: 22px; display: grid; gap: 24px 48px; background: #0F349C; color: #fff; border-radius: 22px; padding: clamp(26px, 4vw, 44px); }
@media (min-width: 860px) { .pk-ai { grid-template-columns: 1fr 1fr; align-items: center; } }
.pk-ai-copy { display: grid; gap: 12px; justify-items: start; }
.pk-ai h3 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1; }
.pk-ai .pk-price b { color: #fff; }
.pk-ai .pk-price span, .pk-ai-copy > p:not(.pk-price) { color: rgb(255 255 255 / .85); }
.pk-flag.static { position: static; background: #fff; color: #0F349C; }
.pk-ai-list li::before { border-color: #9DB0F7; }
.pk-ai-list { font-size: 1rem; gap: 12px; }
@media (min-width: 900px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
.pk-ai .pk-price b { font-family: var(--f-body); font-weight: 700; letter-spacing: -.02em; }

/* Video testimonial */
.vt { background: #0F349C; color: #fff; overflow: hidden; }
.vt .display { color: #fff; }
.vt-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .vt-grid { grid-template-columns: 1fr 1.6fr; gap: 64px; } }
.vt-copy { display: grid; gap: 18px; justify-items: start; }
.vt-kicker { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #C7D2FA; }
.vt-quote { margin: 0; font-size: var(--step-2); line-height: 1.4; max-width: 26ch; }
.vt-who { display: grid; gap: 2px; }
.vt-who span { color: #C7D2FA; font-size: .95rem; }
.vt-player { position: relative; padding: 4% 3%; }
.vt-sketch { position: absolute; inset: 0; width: 100%; height: 100%; --pen: #fff; --pen-2: #9DB0F7; pointer-events: none; }
.vt-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #08184F; box-shadow: 0 30px 70px -30px rgb(0 0 0 / .7); }
.vt-frame video { width: 100%; height: 100%; object-fit: cover; display: block; background: #08184F; }
.vt-play { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; border: 0; background: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: 0 10px 30px rgb(0 0 0 / .35); transition: transform .2s; }
.vt-play:hover { transform: scale(1.06); }
.vt-play span { width: 0; height: 0; border-left: 24px solid #0F349C; border-top: 15px solid transparent; border-bottom: 15px solid transparent; margin-left: 6px; }
.vt-frame.playing .vt-play { display: none; }
.vt-empty { position: absolute; left: 16px; top: 16px; }
.vt-frame.has-video .vt-empty { display: none; }

/* Launch: form note, footer links */
.form-note { font-size: .85rem; color: var(--muted); margin: 0; }
.form-note a, .footer-links a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-links a:hover, .form-note a:hover { color: var(--cobalt); }
/* Simple text pages: privacy, thanks, 404 */
.prose { max-width: 720px; display: grid; gap: 16px; justify-items: start; }
.prose h2 { font-size: 1.25rem; margin-top: 18px; }
.prose p { max-width: 65ch; }
.prose a:not(.btn) { color: var(--cobalt); text-decoration: underline; text-underline-offset: .2em; }
.site-header .logo img { display: block; height: 44px; width: auto; }

/* Hand-drawn pen breaks that sit on the seam between sections */
.pen-break { position: relative; height: 0; z-index: 2; display: flex; justify-content: center; pointer-events: none; }
.pen-break svg { width: 220px; height: 22px; transform: translateY(-50%) rotate(-1deg); overflow: visible; fill: none; stroke: var(--pen); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.pen-break:nth-of-type(even) svg { transform: translateY(-50%) rotate(1deg); }

/* ---------------------------------------------------------- Audit fixes (Oct 2026) */
/* Hero: notebook dot grid instead of a stock photo */
.hero-bg { background-color: var(--bg); background-image: radial-gradient(circle, color-mix(in srgb, var(--pen) 22%, transparent) 1.2px, transparent 1.6px); background-size: 26px 26px; }
.hero-bg::after { background: linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 70%, transparent) 45%, transparent 100%) !important; }
.hero-price { font-size: 1.05rem; margin: 0; }
.hero-price b { color: var(--cobalt); }
@media (max-width: 959px) {
  .hero-copy { display: contents; }
  .hero-grid { gap: 22px; }
  .hero-title { order: 1; } .hero-grid .sb { order: 2; margin-block: 4px 8px; } .hero-copy .lede { order: 3; }
  .hero-copy .cta-row { order: 4; } .hero-price { order: 5; } .hero-note { order: 6; }
  .hero-bg::after { background: color-mix(in srgb, var(--bg) 55%, transparent) !important; }
}
@media (max-width: 600px) { .lede-more { display: none; } }

/* Mobile menu */
.menu-btn { display: inline-grid; gap: 5px; place-content: center; width: 44px; height: 44px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg); cursor: pointer; padding: 0; }
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--fg); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 899px) {
  .nav.open { display: grid; position: absolute; left: 0; right: 0; top: 100%; gap: 0; margin: 0; padding: 8px var(--gutter) 18px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -24px rgb(0 0 0 / .4); }
  .nav.open a { padding: 14px 0; font-size: 1.1rem; color: var(--fg); border-bottom: 1px solid var(--line); }
  .nav.open a:last-child { border-bottom: 0; }
  .site-header { position: sticky; }
}
@media (min-width: 900px) { .menu-btn { display: none; } }

/* Portfolio: real client site featured and big, concepts two per row */
@media (min-width: 900px) {
  .pf-wall { grid-template-columns: 1fr 1fr; gap: 40px 36px; }
  .pfw-feature { grid-column: 1 / -1; grid-template-columns: 1.7fr 1fr; gap: 40px; align-items: center; }
  .pfw-feature .pfw-cap h3 { font-size: var(--step-3); }
  .pfw-feature .pfw-cap p { font-size: 1.05rem; }
}
.case-real { margin-top: clamp(8px, 2vw, 24px); }
.shot-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }

/* Service cards: ask about this */
.svc-ask { display: inline-flex; gap: 6px; align-items: center; margin-top: 6px; font-weight: 700; font-size: .95rem; color: var(--cobalt); text-decoration: none; }
.svc-ask:hover { text-decoration: underline; text-underline-offset: .2em; }

/* Improve what you already have */
.help-grid { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.help-grid li { border: 1.5px solid var(--line); border-radius: 18px; padding: 22px; display: grid; gap: 8px; align-content: start; background: var(--bg); }
.help-grid li::before { content: ""; width: 28px; height: 14px; border-left: 3px solid var(--pen); border-bottom: 3px solid var(--pen); transform: rotate(-45deg); margin: 2px 0 8px 4px; }
.help-grid h3 { font-size: 1.1rem; }
.help-grid p { color: var(--muted); }

/* Testimonial context */
.vt-context { font-size: .95rem; color: #C7D2FA; max-width: 34ch; margin: 0; border-left: 3px solid rgb(255 255 255 / .35); padding-left: 14px; }

/* AI package: concrete example */
.pk-ai-week { grid-column: 1 / -1; border-top: 1px solid rgb(255 255 255 / .25); padding-top: 22px; display: grid; gap: 12px; }
.pk-ai-week h4 { font-size: 1.05rem; }
.pk-ai-week ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.pk-ai-week li { background: rgb(255 255 255 / .08); border-radius: 14px; padding: 14px 16px; color: rgb(255 255 255 / .88); font-size: .95rem; }
.pk-ai-week li b { display: block; color: #fff; margin-bottom: 4px; }
.pk-ai-week > p { color: rgb(255 255 255 / .8); font-size: .95rem; margin: 0; }

/* BionicGym email work */
.ew-fan { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 2vw, 22px); align-items: start; max-width: 620px; margin-inline: auto; padding: 12px 4px 24px; }
.ew-item { display: grid; gap: 10px; padding: 0; border: 0; background: none; color: var(--fg); font: inherit; text-align: center; cursor: pointer; transition: transform .2s; }
.ew-item:nth-child(1) { transform: rotate(-3deg); margin-top: 28px; }
.ew-item:nth-child(2) { z-index: 1; }
.ew-item:nth-child(3) { transform: rotate(3deg); margin-top: 28px; }
.ew-item:hover, .ew-item:focus-visible { transform: translateY(-6px) rotate(0); }
.ew-item:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 4px; border-radius: 14px; }
.ew-shot { display: block; aspect-ratio: 9 / 16; overflow: hidden; border: 5px solid #0F1218; border-radius: 18px; background: #2D2D2D; box-shadow: 0 24px 48px -20px rgb(0 0 0 / .45); }
.ew-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ew-name { font-size: .85rem; font-weight: 700; color: var(--muted); }
.case-email .ew-open { justify-self: start; }
.ew-dialog { border: 0; padding: 0; background: transparent; width: min(420px, 94vw); max-height: 92vh; overflow: auto; }
.ew-dialog::backdrop { background: rgb(0 0 0 / .75); }
.ew-dialog img { display: block; width: 100%; height: auto; border-radius: 8px; }
.ew-close { position: sticky; top: 8px; float: right; margin: 8px 8px -48px 0; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #fff; color: #111; font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgb(0 0 0 / .3); z-index: 1; }
@media (max-width: 600px) { .ew-shot { border-width: 3px; border-radius: 12px; } .ew-item:nth-child(1), .ew-item:nth-child(3) { margin-top: 16px; } }

/* Call / WhatsApp */
.contact-quick { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 22px; }
@media (max-width: 600px) {
  .contact-sketch { display: none; }
  .contact-quick { display: grid; grid-template-columns: 1fr 1fr; }
  .contact-quick .btn { padding-inline: 12px; }
}
@media (max-width: 600px) { .call-pre { display: none; } }

/* SEO heading above the hero slogan, and form send fallback */
.hero-kicker { margin: 0; color: var(--cobalt); }
.form-fallback { display: grid; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; }
.form-fallback .contact-quick { margin: 0; }
.form-fallback[hidden] { display: none; }

/* Service pages (/web-design, /branding, ...) */
.sp-hero { padding-bottom: clamp(24px, 4vw, 48px); }
.sp-hero-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .sp-hero-grid { grid-template-columns: 1.25fr 1fr; gap: 56px; } }
.sp-hero-copy { display: grid; gap: 20px; min-width: 0; }
.sp-crumbs { font-size: .85rem; color: var(--muted); display: flex; gap: 8px; }
.sp-crumbs a { color: inherit; }
.sp-title { font-size: var(--step-4); display: grid; gap: .08em; }
.sp-title span:nth-child(2) { color: var(--fg); }
.sp-art { width: 100%; max-width: 420px; height: auto; justify-self: center; }
.sp-h2 { font-size: var(--step-2, 2rem); margin-bottom: 20px; }
.sp-cols { display: grid; gap: 40px; }
@media (min-width: 900px) { .sp-cols { grid-template-columns: 1fr 1fr; gap: 64px; } }
.sp-ticks { font-size: 1rem; gap: 12px; }
.sp-list { grid-template-columns: 1fr; padding-bottom: 12px; }
.sp-example { background: var(--paper); }
.sp-ex-card { display: grid; gap: 14px; justify-items: start; max-width: 760px; }
.sp-ex-card p:not(.eyebrow) { color: var(--muted); max-width: 60ch; }
.sp-step-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.sp-step-list li { background: var(--paper); border-radius: 18px; padding: 20px 22px; color: var(--muted); }
.sp-step-list b { display: block; color: var(--fg); margin-bottom: 6px; }
.sp-cta-box { background: #0F349C; color: #fff; border-radius: 24px; padding: clamp(28px, 5vw, 56px); display: grid; gap: 18px; justify-items: start; }
.sp-cta-box .display { color: #fff; font-size: var(--step-3); }
.sp-cta-box p { max-width: 56ch; opacity: .9; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgb(255 255 255 / .5); }
.btn-ghost-light:hover { border-color: #fff; }
.sp-more { padding-top: 0; }
.sp-more-list { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sp-more-list a { display: inline-flex; gap: 6px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 500; }
.sp-more-list a:hover { border-color: var(--cobalt); color: var(--cobalt); }
.footer-services a { font-weight: 500; }
.svc-links { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; }
.svc-more { color: var(--cobalt); font-weight: 700; font-size: .95rem; text-decoration: underline; text-underline-offset: .2em; }

/* ---------------------------------------------------------- Cinematic hero (Nov 2026)
   Night stage in brand blue: drifting light, pen strokes drawing themselves,
   masked headline reveal, glowing sketch-to-build phone, services ticker. */
.hx {
  --bg: #050C24; --fg: #FFFFFF; --muted: #B9C3E4; --line: rgb(255 255 255 / .22);
  --cobalt: #A8BAFF; --pen: #C9D5FF; --pen-2: #6F86D8;
  --btn-bg: #0F349C; --btn-fg: #FFFFFF; --btn-hover: #1A47C8;
  color-scheme: dark; color: var(--fg); background: var(--bg);
  min-height: 100svh; display: grid; align-content: center;
  margin-top: -68px; padding-block: calc(68px + clamp(16px, 2.4vw, 32px)) 108px;
  --mx: 70%; --my: 40%; --sy: 0;
}
.hx .hero-bg { background: radial-gradient(120% 90% at 70% 30%, #0B1D57 0%, #050C24 62%, #03081A 100%) !important; overflow: hidden; }
.hx .hero-bg::after { background: radial-gradient(130% 100% at 50% 40%, transparent 55%, rgb(2 5 16 / .75) 100%) !important; z-index: 3; }
.hx-aurora { position: absolute; inset: -20%; filter: blur(70px); opacity: .85; transform: translate3d(0, calc(var(--sy) * 60px), 0); }
.hx-aurora i { position: absolute; border-radius: 50%; mix-blend-mode: screen; }
.hx-aurora i:nth-child(1) { width: 52vmax; height: 52vmax; left: 48%; top: 8%; background: radial-gradient(circle, rgb(15 52 156 / .95), transparent 65%); animation: hxDrift1 22s ease-in-out infinite alternate; }
.hx-aurora i:nth-child(2) { width: 38vmax; height: 38vmax; left: 10%; top: 45%; background: radial-gradient(circle, rgb(70 98 214 / .55), transparent 65%); animation: hxDrift2 26s ease-in-out infinite alternate; }
.hx-aurora i:nth-child(3) { width: 30vmax; height: 30vmax; left: 70%; top: 55%; background: radial-gradient(circle, rgb(143 166 245 / .35), transparent 65%); animation: hxDrift1 30s ease-in-out -8s infinite alternate-reverse; }
@keyframes hxDrift1 { to { transform: translate(-12vw, 8vh) scale(1.15); } }
@keyframes hxDrift2 { to { transform: translate(14vw, -10vh) scale(.9); } }
.hx-grid { position: absolute; inset: 0; background-image: radial-gradient(circle, rgb(201 213 255 / .16) 1.1px, transparent 1.5px); background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(80% 70% at 65% 45%, #000 20%, transparent 75%); mask-image: radial-gradient(80% 70% at 65% 45%, #000 20%, transparent 75%); }
.hx-spot { position: absolute; inset: 0; background: radial-gradient(520px circle at var(--mx) var(--my), rgb(168 186 255 / .16), transparent 60%); transition: background .1s; }
.hx-ink { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgb(201 213 255 / .28); stroke-width: 1.6; stroke-linecap: round; z-index: 1; }
.hx-ink path { stroke-dasharray: 2600; stroke-dashoffset: 2600; animation: hxDraw 4.2s cubic-bezier(.6,.1,.2,1) .3s forwards; }
.hx-ink path.b { stroke: rgb(201 213 255 / .14); animation-delay: 1s; animation-duration: 5s; }
@keyframes hxDraw { to { stroke-dashoffset: 0; } }
.hx-grain { position: absolute; inset: -50%; z-index: 2; opacity: .09; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: hxGrain 1s steps(6) infinite; }
@keyframes hxGrain { 0%{transform:translate(0,0)} 20%{transform:translate(-4%,3%)} 40%{transform:translate(3%,-5%)} 60%{transform:translate(-6%,-2%)} 80%{transform:translate(5%,4%)} 100%{transform:translate(0,0)} }

/* Copy */
.hx .hero-grid { position: relative; z-index: 1; transform: translate3d(0, calc(var(--sy) * -40px), 0); opacity: calc(1 - var(--sy) * .9); }
.hx .hero-kicker { color: var(--cobalt); }
.hx .hero-title { font-size: clamp(3rem, 7.2vw, 5.6rem); gap: 0; }
.hx .hero-title .ln { display: block; overflow: hidden; padding: .04em .1em .24em 0; margin-bottom: -.24em; }
.hx .hero-title .ln > span { display: inline-block; position: relative; color: #fff; }
.hx .hero-title .ln:nth-child(2) > span { color: var(--cobalt); }
.hx-scribble { position: absolute; left: -2%; bottom: -.16em; width: 104%; height: .26em; overflow: visible; fill: none; stroke: var(--cobalt); stroke-width: 5; stroke-linecap: round; }
.hx-scribble path { stroke-dasharray: 320; stroke-dashoffset: 320; }
.hx .lede { color: var(--muted); }
.hx .lede::first-line { color: #fff; }
.hx .btn:not(.btn-ghost) { box-shadow: 0 0 0 1px rgb(168 186 255 / .35), 0 12px 40px -8px rgb(26 71 200 / .9); }
.hx .btn-ghost { border-color: rgb(255 255 255 / .35); color: #fff; backdrop-filter: blur(6px); }
.hx .btn-ghost:hover { border-color: #fff; color: #fff; }
.hx .hero-price { color: var(--muted); } .hx .hero-price b { color: #fff; }
.hx .dot { background: #6FD39F; box-shadow: 0 0 12px #6FD39F; }

/* Phone stage */
.hx .sb { position: relative; perspective: 1400px; transform: translate3d(0, calc(var(--sy) * 50px), 0); }
.hx .sb-stage { transform: rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); transition: transform .5s cubic-bezier(.2,.7,.2,1); transform-style: preserve-3d; }
.hx .sb .phone { box-shadow: 0 40px 90px -30px rgb(0 0 0 / .9), 0 0 0 1px rgb(255 255 255 / .08); }
.hx .sketch .sk-fill { fill: #0C1B4D; }
.hx .sb-notes .sk-text { stroke: #050C24; }
.hx .sb-handle span { background: #fff; box-shadow: 0 0 0 6px rgb(168 186 255 / .18), 0 0 30px rgb(168 186 255 / .6); }
.hx-glow { position: absolute; left: 50%; top: 46%; width: 70%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, rgb(60 100 240 / .55), transparent 65%); filter: blur(30px); animation: hxPulse 6s ease-in-out infinite; pointer-events: none; }
@keyframes hxPulse { 50% { opacity: .6; scale: .9; } }
.hx .sb figcaption { background: rgb(5 12 36 / .55); color: var(--muted); backdrop-filter: blur(8px); border: 1px solid rgb(255 255 255 / .1); }
.hx .sb figcaption b, .hx .sb figcaption .link-btn { color: #fff; }

/* Scroll cue + services ticker */
.hx-cue { position: absolute; left: 50%; bottom: 74px; translate: -50% 0; z-index: 2; display: grid; justify-items: center; gap: 8px; color: var(--muted); text-decoration: none; font: 700 .68rem/1 var(--f-body); letter-spacing: .24em; text-transform: uppercase; }
.hx-cue i { width: 1px; height: 34px; background: linear-gradient(rgb(255 255 255 / .7), transparent); animation: hxCue 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes hxCue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.hx-marquee { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; overflow: hidden; border-top: 1px solid rgb(255 255 255 / .1); background: rgb(3 8 26 / .45); backdrop-filter: blur(6px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.hx-track { display: flex; width: max-content; animation: hxMarq 38s linear infinite; }
.hx-marquee:hover .hx-track, .hx-marquee:focus-within .hx-track { animation-play-state: paused; }
.hx-track ul { display: flex; margin: 0; padding: 0; list-style: none; }
.hx-track li { display: flex; align-items: center; }
.hx-track li::after { content: "\2726"; color: var(--cobalt); font-size: .9rem; margin-inline: 28px; opacity: .8; }
.hx-track a { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(1.15rem, 2.2vw, 1.6rem); line-height: 1; padding: 16px 0; color: rgb(201 213 255 / .55); text-decoration: none; transition: color .2s; }
.hx-track a:hover, .hx-track a:focus-visible { color: #fff; }
@keyframes hxMarq { to { transform: translateX(-50%); } }

/* Intro choreography (only when JS adds .hx-ready) */
.hx.hx-ready .hero-kicker, .hx.hx-ready .lede, .hx.hx-ready .cta-row, .hx.hx-ready .hero-price, .hx.hx-ready .hero-note { opacity: 0; transform: translateY(18px); filter: blur(6px); }
.hx.hx-ready .hero-title .ln > span { transform: translateY(110%) rotate(3deg); }
.hx.hx-ready .sb { opacity: 0; }
.hx.hx-in .hero-kicker, .hx.hx-in .lede, .hx.hx-in .cta-row, .hx.hx-in .hero-price, .hx.hx-in .hero-note { opacity: 1; transform: none; filter: none; transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1), filter .9s ease; }
.hx.hx-in .hero-kicker { transition-delay: .1s; }
.hx.hx-in .lede { transition-delay: .75s; } .hx.hx-in .cta-row { transition-delay: .9s; }
.hx.hx-in .hero-price { transition-delay: 1.05s; } .hx.hx-in .hero-note { transition-delay: 1.2s; }
.hx.hx-in .hero-title .ln > span { transform: none; transition: transform 1.1s cubic-bezier(.16,1,.3,1); }
.hx.hx-in .hero-title .ln:nth-child(1) > span { transition-delay: .2s; }
.hx.hx-in .hero-title .ln:nth-child(2) > span { transition-delay: .32s; }
.hx.hx-in .hero-title .ln:nth-child(3) > span { transition-delay: .44s; }
.hx.hx-in .hx-scribble path { stroke-dashoffset: 0; transition: stroke-dashoffset 1s cubic-bezier(.6,.1,.2,1) 1.3s; }
.hx.hx-in .sb { opacity: 1; animation: hxRise 1.4s cubic-bezier(.16,1,.3,1) .4s both; }
@keyframes hxRise { from { opacity: 0; transform: translate3d(0, 60px, 0) scale(.94); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }
.hx:not(.hx-ready) .hx-scribble path { stroke-dashoffset: 0; }

/* Header sits transparent over the hero, then turns solid */
.site-header.on-hero:not(.past-hero) { --bg: #050C24; --fg: #FFFFFF; --muted: #C9D2EE; --line: rgb(255 255 255 / .2); background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: transparent; color-scheme: dark; }
.site-header.on-hero:not(.past-hero) .menu-btn { background: transparent; }
.site-header.on-hero:not(.past-hero) .nav.open { background: #050C24; }
.site-header { transition: background-color .35s, border-color .35s; }

@media (max-width: 959px) {
  .hx { min-height: 0; padding-bottom: 96px; }
  .hx .hero-bg::after { background: radial-gradient(130% 100% at 50% 40%, transparent 55%, rgb(2 5 16 / .75) 100%) !important; }
  .hx-cue { display: none; }
  .hx .hero-title { font-size: clamp(2.6rem, 12.5vw, 4.4rem); }
}
@media (prefers-reduced-motion: reduce) {
  .hx-aurora i, .hx-grain, .hx-glow, .hx-cue i { animation: none; }
  .hx-ink path { animation: none; stroke-dashoffset: 0; }
  .hx-track { animation: none; }
  .hx-marquee { overflow-x: auto; }
  .hx .hero-grid, .hx .sb, .hx-aurora { transform: none !important; opacity: 1 !important; }
}
.hx + .pen-break { display: none; }
@media (min-width: 960px) { .hx .hero-copy { gap: 18px; } .hx .hero-note { margin-top: -4px; } .hx-cue { bottom: 62px; } }
@media (min-width: 960px) and (max-height: 860px) { .hx-cue { display: none; } }

/* ------------------------------------------------ Free website audit (Nov 2026) */
.audit-card { display: grid; gap: clamp(24px, 4vw, 48px); background: var(--paper); border-radius: 24px; padding: clamp(22px, 4.5vw, 48px); border: 1.5px solid var(--line); }
@media (min-width: 900px) { .audit-card { grid-template-columns: 1.1fr 1fr; align-items: start; } }
.audit-copy { display: grid; gap: 16px; align-content: start; }
.audit-eyebrow { display: inline-flex; width: fit-content; align-items: center; gap: 8px; font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--cobalt); }
.audit-eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 22%, transparent); }
.audit-lede { color: var(--muted); font-size: var(--step-1); max-width: 46ch; }
.audit-lede strong { color: var(--fg); }
.audit-what { font-weight: 700; margin-top: 6px; }
.audit-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 640px) { .audit-checks { grid-template-columns: 1fr 1fr; } }
.audit-checks li { display: grid; gap: 2px; padding-left: 34px; position: relative; }
.audit-checks li::before { content: ""; position: absolute; left: 4px; top: 4px; width: 16px; height: 8px; border-left: 3px solid var(--pen); border-bottom: 3px solid var(--pen); transform: rotate(-45deg); }
.audit-checks span { color: var(--muted); font-size: .95rem; }
.audit-extra { font-size: .95rem; color: var(--muted); border-top: 1.5px dashed var(--line); padding-top: 14px; }
.audit-form { background: var(--bg); border-radius: 18px; padding: clamp(18px, 3.5vw, 28px); display: grid; gap: 16px; min-width: 0; box-shadow: var(--shadow); }
.audit-form .field input { min-height: 48px; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: .92rem; color: var(--muted); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--btn-bg); cursor: pointer; }
.audit-form .form-note { font-size: .85rem; color: var(--muted); }
.audit-done { display: grid; gap: 12px; text-align: left; padding: 8px 0; }
.audit-done h3 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; color: var(--cobalt); font-size: 1.8rem; line-height: 1; }
.audit-done p { color: var(--muted); }

/* Audit pop-up */
.audit-pop { width: min(860px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 22px; background: var(--bg); color: var(--fg); box-shadow: 0 40px 120px -20px rgb(0 0 0 / .5); overflow: auto; }
.audit-pop::backdrop { background: rgb(8 18 56 / .62); backdrop-filter: blur(3px); }
.audit-pop[open] { animation: auditIn .35s cubic-bezier(.2,.8,.2,1); }
@keyframes auditIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .audit-pop[open] { animation: none; } }
.audit-pop-grid { display: grid; }
@media (min-width: 760px) { .audit-pop-grid { grid-template-columns: .95fr 1.05fr; } }
.audit-pop-side { background: #0F349C; color: #fff; padding: 30px 28px; display: grid; gap: 14px; align-content: start; }
.audit-pop-side .audit-eyebrow, .audit-pop-side .display { color: #fff; }
.audit-pop-side .display { font-size: clamp(1.9rem, 4.6vw, 2.6rem); padding-right: 36px; }
.audit-pop-side p { color: rgb(255 255 255 / .86); }
.audit-pop-side strong { color: #fff; }
.audit-mini { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; font-weight: 700; }
.audit-mini li { padding-left: 28px; position: relative; }
.audit-mini li::before { content: ""; position: absolute; left: 3px; top: 6px; width: 13px; height: 6px; border-left: 3px solid #fff; border-bottom: 3px solid #fff; transform: rotate(-45deg); }
.audit-pop-main { padding: 26px 26px 18px; display: grid; gap: 10px; align-content: start; }
.audit-pop-main .audit-form { box-shadow: none; padding: 0; }
.audit-later { justify-self: center; font-weight: 500; color: var(--muted); font-size: .9rem; padding: 8px; }
.audit-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgb(255 255 255 / .16); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.audit-close:hover { background: rgb(255 255 255 / .3); }
@media (max-width: 759px) {
  .audit-pop { width: calc(100vw - 20px); }
  .audit-pop-side { padding: 22px 20px 18px; gap: 10px; }
  .audit-pop-side .display { font-size: 1.75rem; }
  .audit-mini { grid-template-columns: 1fr 1fr; gap: 6px 10px; font-size: .9rem; }
  .audit-pop-main { padding: 18px 20px 10px; }
  .audit-pop-main .form-note { font-size: .8rem; }
}
:root[data-theme="dark"] .audit-pop-side { background: #0F349C; }
.audit-checks li { align-content: start; }
@media (min-width: 760px) {
  .audit-close { background: var(--paper); color: var(--fg); }
  .audit-close:hover { background: var(--line); }
}
.audit-pop:focus { outline: none; }
@media (max-width: 759px) {
  .audit-pop-side p:not(.audit-eyebrow) { font-size: .95rem; line-height: 1.45; }
  .audit-mini { display: none; }
  .audit-pop-main .audit-form { gap: 12px; }
  .audit-pop-main .field label { font-size: .9rem; }
}
@media (max-width: 759px) {
  .audit-pop .field-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .audit-pop .field input { min-height: 46px; }
  .audit-pop-side .display { font-size: 1.6rem; }
}
/* FREE stamp (Nov 2026) */
.audit-copy, .audit-pop-side { position: relative; }
.free-stamp { position: absolute; top: clamp(10px, 2vw, 18px); right: clamp(4px, 2vw, 16px); transform: rotate(9deg);
  font-family: var(--f-display); text-transform: uppercase; font-size: clamp(1.6rem, 3.6vw, 2.4rem); line-height: 1;
  color: #FFD43B; background: #0F349C; padding: .32em .5em .26em; border-radius: 12px; border: 3px dashed #FFD43B;
  box-shadow: 0 10px 24px -10px rgb(15 52 156 / .6); pointer-events: none; }
.audit-pop-side .free-stamp { background: #FFD43B; color: #0F349C; border-color: #0F349C; top: 70px; right: 22px; }
.free-word { color: var(--cobalt); }
.audit-pop-side .free-word { color: #FFD43B; }
@media (max-width: 759px) { .audit-pop-side .free-stamp { top: auto; bottom: 14px; right: 16px; font-size: 1.3rem; } }
@media (max-width: 640px) { .audit-copy .free-stamp { top: -4px; right: 0; font-size: 1.4rem; } }
.audit-copy .free-stamp { top: -28px; right: 0; }
.audit-pop-side .free-stamp { top: 22px; right: 24px; font-size: 1.5rem; }
@media (max-width: 759px) {
  .audit-pop-side .audit-eyebrow { display: none; }
  .audit-pop-side .free-stamp { position: static; justify-self: start; transform: rotate(-4deg); font-size: 1.35rem; margin: 2px 0 4px; }
}
@media (max-width: 640px) { .audit-copy .free-stamp { top: -6px; } }

/* ===================================================== Black Friday offer (ends 1 Dec 2026) */
.bf-bar { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; padding: 10px var(--gutter); background: #FFD43B; color: #0F349C; text-decoration: none; font: 500 .95rem/1.35 var(--f-body); text-align: center; position: relative; z-index: 60; }
.bf-bar b { font-weight: 700; }
.bf-bar s { opacity: .7; }
.bf-chip { background: #0F349C; color: #fff; font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 99px; flex: none; }
.bf-bar-go { font-weight: 700; transition: transform .2s; }
.bf-bar:hover .bf-bar-go { transform: translateX(4px); }
.bf-bar:focus-visible { outline: 3px solid #0F349C; outline-offset: -3px; }
@media (max-width: 640px) { .bf-bar { font-size: .86rem; gap: 6px 10px; padding-block: 8px; } .bf-bar-more { display: block; } }

.bf-card { position: relative; display: grid; gap: clamp(24px, 4vw, 48px); background: #0F349C; color: #fff; border-radius: calc(var(--radius) * 1.6); padding: clamp(26px, 5vw, 56px); overflow: hidden;
  background-image: radial-gradient(circle, rgb(255 255 255 / .12) 1.6px, transparent 2px); background-size: 26px 26px; }
@media (min-width: 960px) { .bf-card { grid-template-columns: 1.55fr 1fr; align-items: start; } }
.bf-eyebrow { margin: 0 0 10px; font-weight: 700; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: #FFD43B; }
.bf-card .display { color: #fff; margin: 0; font-size: clamp(2.2rem, 5.6vw, 3.8rem); }
.bf-card .display span { color: #FFD43B; }
.bf-stamp { position: absolute; top: clamp(14px, 2.4vw, 26px); right: clamp(14px, 2.4vw, 26px); transform: rotate(8deg); background: #FFD43B; color: #0F349C; font: 700 1rem/1 var(--f-body); padding: 10px 14px; border-radius: 10px; border: 2.5px solid #fff; box-shadow: 0 8px 20px -8px rgb(0 0 0 / .5); z-index: 2; }
@media (min-width: 960px) { .bf-stamp { top: 22px; right: 46px; font-size: 1.15rem; } }
.bf-lede { font-size: var(--step-1); line-height: 1.55; color: #DCE3FA; max-width: 46ch; margin: 18px 0 0; }
.bf-lede strong { color: #fff; }
.bf-price p { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin: 22px 0 0; }
.bf-price s { font-size: 1.5rem; color: #AFC2FF; text-decoration-thickness: 3px; }
.bf-price b { font-size: clamp(3rem, 8vw, 4.4rem); line-height: 1; font-weight: 700; letter-spacing: -.02em; }
.bf-price span { color: #C9D4F5; font-size: .95rem; }
.bf-cols { display: grid; gap: 22px; margin-top: 26px; }
@media (min-width: 640px) { .bf-cols { grid-template-columns: 1fr 1fr; } }
.bf-cols h3 { margin: 0 0 10px; font-size: 1.05rem; color: #fff; }
.bf-card .ticks { color: #DCE3FA; }
.bf-card .ticks li::before { border-color: #FFD43B; }

.bf-side { background: #fff; color: var(--ink, #171B24); border-radius: var(--radius); padding: clamp(20px, 3vw, 30px); display: grid; gap: 18px; box-shadow: 0 20px 40px -20px rgb(0 0 0 / .5); position: relative; }
.bf-label { margin: 0 0 6px; font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #565C6E; }
.bf-count { margin: 0; font-size: 1.05rem; color: #565C6E; }
.bf-count b { font-size: 2.4rem; color: #0F349C; margin-right: 4px; }
.bf-dots { list-style: none; display: flex; gap: 8px; margin: 10px 0 0; padding: 0; }
.bf-dots li { flex: 1; height: 10px; border-radius: 99px; background: #0F349C; }
.bf-dots li.gone { background: #E1E4EE; }
.bf-clock { display: flex; gap: 10px; margin: 0; }
.bf-clock span { flex: 1; background: #F4F5FA; border-radius: 10px; padding: 10px 6px; text-align: center; font-size: .8rem; color: #565C6E; }
.bf-clock b { display: block; font-size: 1.9rem; line-height: 1.1; color: #171B24; font-variant-numeric: tabular-nums; }
.bf-end { margin: 8px 0 0; font-size: .88rem; color: #565C6E; }
.bf-btn { font-size: 1.05rem; }
.bf-side .bf-btn { background: #0F349C; color: #fff; }
.bf-side .bf-btn:hover { background: #0A246E; }
.bf-wa { text-align: center; color: #0F349C; font-weight: 700; font-size: .95rem; }
.bf-small { margin: 0; font-size: .8rem; line-height: 1.5; color: #565C6E; }
.bf.sold-out .bf-btn { pointer-events: none; opacity: .5; }
[data-bf][hidden] { display: none !important; }

/* Nov 2026 fix: hero phone mock-up in flow, so enlarged phone text (Instagram/Android text size) can't overlap */
.phone-screen.demo-garden { display: flex; flex-direction: column; padding: 26% 5% 6%; } /* % padding is of width: 26% = 13% of the screen height */
.demo-garden > :not(.tg-nav) { position: relative; top: auto; left: auto; right: auto; bottom: auto; flex: none; }
.demo-garden .tg-nav { position: absolute; }
.demo-garden .tg-h { margin-top: .45em; }
.demo-garden .tg-h span, .demo-garden .tg-h em { white-space: normal; }
.demo-garden .tg-sub { margin-top: 1.1em; }
.demo-garden .tg-cta { height: auto; min-height: 3.1em; padding: .55em .5em; margin-top: 2.6em; text-align: center; }
.demo-garden .tg-alt { margin-top: 1em; }
.demo-garden .tg-photo { flex: 1 1 auto; min-height: 0; margin-top: 1.3em; }

/* ===================================================== Black Friday hero (temporary, until 1 Dec 2026)
   Shown when <html class="bf-on"> (js/bf-early.js); the normal .hx hero is hidden meanwhile. */
.bfh { display: none; }
.bf-on .hx { display: none; }
.bf-on .bfh { display: block; }
.bfh { position: relative; overflow: hidden; color: #fff; margin-top: -68px; padding: calc(68px + clamp(16px, 3vw, 36px)) 0 clamp(40px, 6vw, 72px); color-scheme: dark;
  background: radial-gradient(60% 70% at 74% 55%, #2453D6 0%, rgb(36 83 214 / 0) 70%), radial-gradient(40% 50% at 80% 72%, rgb(255 212 59 / .26) 0%, rgb(255 212 59 / 0) 70%), #0F349C; }
.bfh::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgb(255 255 255 / .14) 1.6px, transparent 2px); background-size: 28px 28px; pointer-events: none; }
.bf-on .site-header.on-hero:not(.past-hero) { --bg: #0F349C; }
.bf-on .site-header.on-hero:not(.past-hero) .nav.open { background: #0F349C; }
.bfh-wm { position: absolute; right: -30px; bottom: -50px; font: 400 clamp(140px, 21vw, 300px)/.8 var(--f-display); text-transform: uppercase; color: transparent; -webkit-text-stroke: 2px rgb(255 255 255 / .12); white-space: nowrap; transform: rotate(-6deg); pointer-events: none; }
.bfh-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; grid-template-areas: "chip stage" "title stage" "lede stage" "act stage"; column-gap: 28px; align-items: start; align-content: center; min-height: min(760px, calc(100svh - 120px)); }
.bfh-chip { grid-area: chip; justify-self: start; display: inline-flex; align-items: center; gap: 10px; margin: 0; background: rgb(255 255 255 / .12); border: 1.5px solid rgb(255 255 255 / .3); padding: 8px 15px 8px 10px; border-radius: 99px; font: 700 .82rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; }
.bfh-chip i { width: 10px; height: 10px; border-radius: 50%; background: #FFD43B; box-shadow: 0 0 0 5px rgb(255 212 59 / .25); }
.bfh-title { grid-area: title; margin: 20px 0 0; display: grid; }
.bfh-price { font: 700 clamp(5rem, 10.5vw, 9.4rem)/.9 var(--f-body); letter-spacing: -.04em; color: #FFD43B; text-shadow: 0 14px 40px rgb(0 0 0 / .25); }
.bfh-price s { font-size: .3em; font-weight: 500; letter-spacing: 0; color: #C9D4F5; text-decoration-thickness: 4px; vertical-align: top; position: relative; top: .5em; margin-left: .3em; }
.bfh-words { font: 400 clamp(3.3rem, 8.2vw, 7.4rem)/.86 var(--f-display); text-transform: uppercase; }
.bfh-lede { grid-area: lede; margin: 22px 0 0; font: 500 clamp(1.05rem, 1.5vw, 1.3rem)/1.5 var(--f-body); color: #DCE3FA; max-width: 34em; }
.bfh-lede b { color: #fff; }
.bfh-act { grid-area: act; margin-top: 26px; }
.bfh-row { display: flex; flex-wrap: wrap; gap: 14px; }
.bfh-btn { font: 700 1.1rem/1 var(--f-body); padding: 19px 28px; border-radius: 99px; background: #FFD43B; color: #0F349C; text-decoration: none; box-shadow: 0 14px 30px -12px rgb(255 212 59 / .7); transition: transform .2s; }
.bfh-btn:hover { transform: translateY(-2px); }
.bfh-ghost { font: 700 1.1rem/1 var(--f-body); padding: 17px 26px; border-radius: 99px; border: 2px solid rgb(255 255 255 / .45); color: #fff; text-decoration: none; }
.bfh-ghost:hover { border-color: #fff; }
.bfh-btn:focus-visible, .bfh-ghost:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.bfh-meta { display: flex; flex-wrap: wrap; gap: 18px 26px; margin-top: 26px; align-items: center; }
.bfh-meta p { margin: 8px 0 0; font: 700 .88rem/1.3 var(--f-body); color: #DCE3FA; }
.bfh-meta p b { color: #fff; font-size: 1rem; }
.bfh-spots { display: flex; gap: 7px; }
.bfh-spots i { width: 34px; height: 12px; border-radius: 99px; background: #FFD43B; }
.bfh-spots i.gone { background: rgb(255 255 255 / .2); }
.bfh-clock { display: flex; gap: 8px; }
.bfh-clock span { background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .2); border-radius: 10px; padding: 8px 10px; text-align: center; font: 500 .7rem/1 var(--f-body); color: #C9D4F5; min-width: 56px; }
.bfh-clock b { display: block; font: 700 1.5rem/1.1 var(--f-body); color: #fff; margin-bottom: 2px; font-variant-numeric: tabular-nums; }

/* scene: drawn at 660x640, scaled to fit by main.js (--k) */
.bfh-stage { grid-area: stage; align-self: center; position: relative; width: 100%; height: calc(640px * var(--k, 1)); }
.bfh-scene { position: absolute; left: 0; top: 0; width: 660px; height: 640px; transform: scale(var(--k, 1)); transform-origin: top left; }
.bfh-scene > * { position: absolute; }
.bfh-br { left: 0; top: 70px; width: 1280px; height: 800px; border-radius: 18px; background: #1B1D22; box-shadow: 0 60px 120px -30px rgb(0 0 0 / .6), 0 0 0 2px rgb(255 255 255 / .1); overflow: hidden; transform-origin: top left; transform: rotate(-3deg) scale(.45); }
.bfh-br .br-top { height: 52px; background: #24272E; display: flex; align-items: center; gap: 10px; padding: 0 20px; }
.bfh-br .br-top i { width: 14px; height: 14px; border-radius: 50%; background: #FF5F57; }
.bfh-br .br-top i:nth-child(2) { background: #FEBC2E; } .bfh-br .br-top i:nth-child(3) { background: #28C840; }
.bfh-br .br-url { margin-left: 24px; flex: 1; max-width: 560px; height: 32px; border-radius: 9px; background: #15171B; color: #9A9FAA; font: 500 17px/32px var(--f-body); padding-left: 16px; }
.bfh .ns { position: relative; height: 748px; background: #111214; color: #fff; overflow: hidden; font-family: var(--f-body); }
.bfh .ns p { margin: 0; }
.bfh .ns-nav { display: flex; align-items: center; gap: 34px; padding: 28px 56px; font: 500 18px/1 var(--f-body); color: #C5C8D0; position: relative; z-index: 2; }
.bfh .ns-logo { font: 700 24px/1 var(--f-body); color: #fff; letter-spacing: .06em; margin-right: auto; } .bfh .ns-logo b { color: #F2C230; }
.bfh .ns-cta { background: #F2C230; color: #14171F; font-weight: 700; padding: 14px 22px; border-radius: 99px; }
.bfh .ns-photo { position: absolute; right: 0; top: 0; bottom: 0; width: 52%; background: url(../assets/img/bf-niamh.webp) center 20% / cover; }
.bfh .ns-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #111214 0%, rgb(17 18 20 / .55) 22%, rgb(17 18 20 / 0) 50%); }
.bfh .ns-copy { position: absolute; left: 56px; top: 150px; width: 600px; z-index: 2; }
.bfh .ns-k { font: 700 16px/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: #F2C230; }
.bfh .ns-h { font: 700 82px/.98 var(--f-body); letter-spacing: -.03em; margin-top: 20px; } .bfh .ns-h span { color: #F2C230; }
.bfh .ns-p { font: 500 22px/1.45 var(--f-body); color: #B8BCC6; margin-top: 24px; max-width: 480px; }
.bfh .ns-row { display: flex; gap: 14px; margin-top: 34px; }
.bfh .ns-b1 { background: #F2C230; color: #14171F; font: 700 20px/1 var(--f-body); padding: 20px 30px; border-radius: 99px; }
.bfh .ns-b2 { border: 2px solid #3A3D45; font: 700 20px/1 var(--f-body); padding: 18px 28px; border-radius: 99px; }
.bfh .ns-stats { display: flex; gap: 44px; margin-top: 52px; }
.bfh .ns-stats b { display: block; font: 700 40px/1 var(--f-body); } .bfh .ns-stats span { font: 500 16px/1.3 var(--f-body); color: #9A9FAA; }
.bfh-ph { left: 405px; top: 150px; width: 600px; height: 1220px; border-radius: 84px; background: #0B0C0F; padding: 22px; box-shadow: 0 60px 120px -30px rgb(0 0 0 / .6), 0 0 0 2px rgb(255 255 255 / .08); transform-origin: top left; transform: rotate(6deg) scale(.36); }
.bfh-ph .scr { position: relative; width: 100%; height: 100%; border-radius: 64px; background: #111214; overflow: hidden; color: #fff; font-family: var(--f-body); }
.bfh-ph .notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 150px; height: 40px; border-radius: 30px; background: #000; z-index: 3; }
.bfh-ph .lb-hero { height: 540px; background: url(../assets/img/bf-niamh.webp) center 18% / cover; position: relative; }
.bfh-ph .lb-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(17 18 20 / 0) 45%, rgb(17 18 20 / .85) 82%, #111214 100%); }
.bfh-ph .who { position: absolute; left: 0; right: 0; top: 410px; text-align: center; z-index: 2; padding: 0 30px; }
.bfh-ph .who b { display: block; font: 700 46px/1.05 var(--f-body); }
.bfh-ph .who > span { display: block; font: 500 22px/1.3 var(--f-body); color: #B8BCC6; margin-top: 10px; }
.bfh-ph .tick { display: inline-block; width: 30px; height: 30px; border-radius: 50%; background: #F2C230; vertical-align: 4px; margin-left: 8px; position: relative; }
.bfh-ph .tick::after { content: ""; position: absolute; left: 9px; top: 8px; width: 11px; height: 6px; border-left: 3px solid #14171F; border-bottom: 3px solid #14171F; transform: rotate(-45deg); }
.bfh-ph .links { position: absolute; left: 34px; right: 34px; top: 570px; display: grid; gap: 14px; }
.bfh-ph .lk { display: flex; align-items: center; gap: 18px; border-radius: 22px; padding: 20px 24px; font: 700 26px/1.15 var(--f-body); background: #1D1F24; border: 2px solid #2B2E35; }
.bfh-ph .lk small { display: block; font: 500 19px/1.2 var(--f-body); color: #9A9FAA; margin-top: 4px; }
.bfh-ph .lk.a { background: #F2C230; border-color: #F2C230; color: #14171F; } .bfh-ph .lk.a small { color: #4A3B0B; }
.bfh-ph .ic { width: 52px; height: 52px; border-radius: 14px; flex: none; background: rgb(255 255 255 / .1); } .bfh-ph .lk.a .ic { background: rgb(0 0 0 / .12); }
.bfh-ph .soc { position: absolute; left: 0; right: 0; bottom: 62px; display: flex; justify-content: center; gap: 22px; }
.bfh-ph .soc i { width: 60px; height: 60px; border-radius: 50%; background: #1D1F24; border: 2px solid #2B2E35; }
.bfh-ph .url { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; font: 500 17px/1 var(--f-body); color: #6E737E; }
.bfh-note { font: 400 24px/1 var(--f-display); text-transform: uppercase; color: #fff; z-index: 5; }
.bfh-note.n1 { left: 10px; top: 26px; } .bfh-note.n2 { left: 40px; top: 470px; }
.bfh-free { left: 250px; top: 470px; z-index: 6; width: 132px; height: 132px; border-radius: 50%; background: #FFD43B; color: #0F349C; display: grid; place-items: center; text-align: center; font: 700 16px/1.05 var(--f-body); border: 3px solid #fff; transform: rotate(-12deg); box-shadow: 0 16px 30px -12px rgb(0 0 0 / .5); }
.bfh-free b { display: block; font: 400 40px/.9 var(--f-display); text-transform: uppercase; }

/* entrance */
@media (prefers-reduced-motion: no-preference) {
  .bfh-chip, .bfh-title, .bfh-lede, .bfh-act, .bfh-stage { animation: bfhIn .9s cubic-bezier(.2,.7,.2,1) both; }
  .bfh-title { animation-delay: .08s; } .bfh-lede { animation-delay: .18s; } .bfh-act { animation-delay: .28s; } .bfh-stage { animation-delay: .2s; }
  .bfh-free { animation: bfhPop .6s cubic-bezier(.3,1.6,.5,1) .9s both; }
}
@keyframes bfhIn { from { opacity: 0; transform: translateY(20px); } }
@keyframes bfhPop { from { opacity: 0; transform: rotate(-12deg) scale(.4); } }

@media (max-width: 959px) {
  .bfh-grid { grid-template-columns: 1fr; grid-template-areas: "chip" "title" "lede" "stage" "act"; min-height: 0; }
  .bfh-chip { font-size: .7rem; padding: 7px 12px 7px 8px; }
  .bfh-title { margin-top: 16px; }
  .bfh-lede { margin-top: 14px; }
  .bfh-more { display: none; }
  .bfh-stage { margin-top: 10px; }
  .bfh-note.n2 { display: none; }
  .bfh-act { margin-top: 18px; }
  .bfh-btn { flex: 1; text-align: center; }
  .bfh-ghost { display: none; }
  .bfh-wm { bottom: auto; top: 46%; }
}
.bf-on .site-header.on-hero:not(.past-hero) .header-actions .btn { background: #fff; color: #0F349C; }
.bf-on .site-header.on-hero:not(.past-hero) .header-actions .btn:hover { background: #FFD43B; }
.bf-on .site-header.on-hero.scrolled:not(.past-hero) { background: #0F349C; border-bottom-color: rgb(255 255 255 / .15); }

/* Cookie consent bar (js/consent.js), Nov 2026 */
.cookie-bar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 90; max-width: 640px; margin-inline: auto;
  background: var(--bg, #fff); color: var(--fg, #171B24); border: 1px solid var(--line, #DDE1EC); border-radius: 16px; padding: 16px 18px;
  box-shadow: 0 10px 30px rgb(10 20 50 / .18); display: grid; gap: 12px; font-size: .92rem; line-height: 1.45; }
.cookie-bar p { margin: 0; }
.cookie-bar a { color: inherit; text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { flex: 1 1 120px; }
@media (min-width: 700px) { .cookie-bar { grid-template-columns: 1fr auto; align-items: center; } .cookie-actions .btn { flex: 0 0 auto; } }

/* Case study page (baked-and-bottled.html), Nov 2026 */
.cs-hero { padding-bottom: clamp(24px, 4vw, 40px); }
.cs-hero-copy { display: grid; gap: 18px; justify-items: start; margin-bottom: clamp(28px, 5vw, 48px); }
.cs-title { font-size: clamp(2.6rem, 8vw, 5rem); line-height: .95; color: var(--cobalt); margin: 0; }
.cs-lede { max-width: 58ch; }
.cs-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px 28px; margin: 8px 0 0; width: 100%; }
.cs-facts div { border-top: 1px solid var(--line); padding-top: 10px; }
.cs-facts dt { font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cs-facts dd { margin: 2px 0 0; }
.cs-shot { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.cs-shot img { display: block; width: 100%; height: auto; }
.cs-browser { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--paper); border-bottom: 1px solid var(--line); }
.cs-dots { display: flex; gap: 6px; }
.cs-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.cs-url { font-size: .8rem; color: var(--muted); background: var(--bg); border-radius: 999px; padding: 3px 14px; }
.cs-two { display: grid; gap: clamp(24px, 5vw, 64px); align-items: start; }
@media (min-width: 900px) { .cs-two { grid-template-columns: 1fr 1fr; } .cs-two-media { grid-template-columns: 5fr 6fr; align-items: center; } }
.cs-brief p:not(.cs-big) { color: var(--muted); max-width: 60ch; }
.cs-big { font-family: var(--f-display); text-transform: uppercase; color: var(--cobalt); font-size: clamp(1.5rem, 3.4vw, 2.2rem); line-height: 1.05; margin: 0 0 18px; }
.cs-ticks { font-size: 1rem; gap: 14px; padding-top: 8px; }
.cs-asks { background: var(--paper); }
.cs-intro { color: var(--muted); max-width: 60ch; margin: -8px 0 28px; }
.cs-list { list-style: none; counter-reset: ask; padding: 0; margin: 0; display: grid; gap: 14px; }
@media (min-width: 820px) { .cs-list { grid-template-columns: 1fr 1fr; } }
.cs-list li { counter-increment: ask; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px 20px 62px; position: relative; }
.cs-list li::before { content: counter(ask); position: absolute; left: 20px; top: 18px; width: 28px; height: 28px; border-radius: 50%; background: var(--cobalt); color: #fff; font: 700 .85rem/28px var(--f-body); text-align: center; }
:root[data-theme="dark"] .cs-list li::before { color: #0F1A40; }
.cs-list h3 { font-size: 1.02rem; margin: 0 0 6px; line-height: 1.35; }
.cs-list p { margin: 0; color: var(--muted); font-size: .96rem; }
.cs-copy p:not(.eyebrow) { color: var(--muted); max-width: 52ch; }
.cs-admin { background: var(--paper); }
.cs-admin-head { max-width: 66ch; margin-bottom: clamp(24px, 4vw, 40px); }
.cs-admin-head p:not(.eyebrow) { color: var(--muted); }
.cs-admin-grid { display: grid; gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (min-width: 760px) { .cs-tabs { grid-template-columns: 1fr 1fr; } }
.cs-tabs { margin: 0; display: grid; gap: 14px; }
.cs-tabs div { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.cs-tabs dt { font-weight: 700; margin-bottom: 4px; }
.cs-tabs dd { margin: 0; color: var(--muted); font-size: .96rem; }
.cs-behind p { color: var(--muted); }
/* Baked & Bottled case on the home page */
.case-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.cs-brief p + p, .cs-copy p + p, .cs-admin-head p + p { margin-top: 12px; }

/* B&B device mockups (transparent images: real screenshots in MacBook / iPhone frames) */
.bb-devices, .cs-hero-devices, .cs-devices { margin: 0; }
.bb-devices img, .cs-hero-devices img, .cs-devices img { display: block; width: 100%; height: auto; }
.bb-devices { margin-inline: -2%; }
.cs-hero-devices { max-width: 1100px; margin-inline: auto; }
.cs-admin-phones { max-width: 1000px; margin-inline: auto; width: 100%; }
@media (min-width: 900px) { .cs-order .cs-two-media { grid-template-columns: 4fr 7fr; } .cs-order .cs-devices { margin-right: -3%; } }

/* ---- Quinn Attic Conversions phone mock (case study) ---- */
.phone-screen.demo-attic { background: #f7f3ed; color: #151617; display: flex; flex-direction: column; padding: 26% 6% 6%; font-family: "Open Sans", Arial, sans-serif; }
.demo-attic > * { position: relative; top: auto; left: auto; right: auto; bottom: auto; flex: none; }
.demo-attic .qa-nav { position: absolute; left: 0; right: 0; top: 0; height: 10%; display: flex; align-items: center; justify-content: space-between; padding: 0 6%; border-bottom: 1px solid rgb(21 22 23 / .08); font-size: .7em; letter-spacing: .12em; }
.demo-attic .qa-nav b { font-weight: 700; }
.demo-attic .qa-nav i { width: 1.6em; height: .9em; border-block: .14em solid currentColor; position: relative; }
.demo-attic .qa-nav i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: .14em solid currentColor; transform: translateY(-50%); }
.demo-attic .qa-eyebrow { font-size: .58em; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #7a6240; }
.demo-attic .qa-h { margin-top: .4em; font-family: Georgia, "Times New Roman", serif; font-size: 2.1em; line-height: 1.02; letter-spacing: -.01em; }
.demo-attic .qa-h em { display: block; color: #7a6240; }
.demo-attic .qa-sub { margin-top: .9em; font-size: .78em; line-height: 1.45; color: #4b4740; }
.demo-attic .qa-cta { margin-top: 2.2em; min-height: 3em; padding: .55em .5em; display: flex; align-items: center; justify-content: center; text-align: center; background: #151617; color: #fff; font-weight: 600; font-size: .85em; letter-spacing: .04em; }
.demo-attic .qa-alt { margin-top: 1em; text-align: center; font-size: .72em; font-weight: 600; }
.demo-attic .qa-photo { margin-top: 1.2em; flex: 1 1 auto; min-height: 0; overflow: hidden; border-radius: .4em; }
.demo-attic .qa-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- Google reviews section ---- */
.greviews { background: var(--paper); overflow: hidden; }
.greviews [data-google-reviews] { --gr-accent: var(--cobalt); --gr-text: var(--fg); --gr-muted: var(--muted); --gr-border: var(--line); --gr-radius: 20px; --gr-card: var(--bg); --gr-shadow: var(--shadow); --gr-display: var(--f-display); --gr-speed: 8; }
.greviews .gr-marquee { margin-inline: calc(50% - 50vw); }

/* ---- Case study: side-by-side options ---- */
.cs-options { display: grid; gap: 20px; margin-top: 28px; }
.cs-options figure { margin: 0; }
.cs-shot img { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.cs-shot figcaption { margin-top: 10px; font-size: .95rem; color: var(--muted); }
.cs-options-mob { grid-template-columns: repeat(2, minmax(0, 280px)); justify-content: center; }
@media (min-width: 900px) { .cs-options { grid-template-columns: 1fr 1fr; } .cs-options-mob { grid-template-columns: repeat(2, 280px); gap: 48px; } }

/* ---- SEO result highlight (Total Garden Care) ---- */
.hero-proof { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; justify-self: start; padding: 10px 16px; border-radius: 999px; background: #FFD43B; color: #171B24; font-size: .95rem; line-height: 1.3; }
.hero-proof b { font-weight: 700; }
.hero-proof a { color: inherit; font-weight: 600; text-underline-offset: 3px; }
@media (max-width: 959px) { .hero-copy .hero-proof { order: 5; border-radius: 18px; } }
.hx.hx-ready .hero-proof { opacity: 0; transform: translateY(18px); filter: blur(6px); }
.hx.hx-in .hero-proof { opacity: 1; transform: none; filter: none; transition: opacity .9s ease 1.12s, transform .9s cubic-bezier(.2,.7,.2,1) 1.12s, filter .9s ease 1.12s; }
.case-stat { display: flex; align-items: center; gap: 16px; margin: 4px 0 8px; padding: 16px 20px; border-radius: var(--radius); background: #FFD43B; color: #171B24; }
.case-stat b { font-family: var(--f-display); font-size: clamp(2.4rem, 6vw, 3.6rem); line-height: .9; font-weight: 400; color: var(--cobalt); white-space: nowrap; }
.case-stat span { font-weight: 600; line-height: 1.3; }

/* ---- Screenshot case card (Anya Sarre) ---- */
.case-shot { margin: 0; }
.case-shot img { display: block; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
