/* 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: "DejaVu Sans Web"; src: url("../assets/fonts/dejavu-sans.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DejaVu Sans Web"; src: url("../assets/fonts/dejavu-sans-bold.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: "DejaVu Sans Web", "DejaVu Sans", Verdana, system-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); }
