/* roobo site layout. Page structure only: every colour, size and radius comes
   from tokens.css, and the components (rb-*) come from components.css. */

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; scrollbar-color: var(--ink-subtle) var(--paper); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: var(--text-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
h1, h2, h3, p, ul, ol { margin: 0; }
p, li { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
::selection { background: var(--mint); color: var(--ink); }
input, textarea { caret-color: var(--ink); }

.rb-btn svg { flex: none; width: 16px; height: 16px; transition: transform .22s cubic-bezier(.16, 1, .3, 1); }
.rb-btn:hover svg { transform: translateX(3px); }

.skip-link { position: absolute; left: var(--space-4); top: -100px; z-index: 60; padding: var(--space-3) var(--space-6); border-radius: var(--radius-pill); background: var(--ink); color: var(--on-ink); font-weight: 500; text-decoration: none; }
.skip-link:focus { top: var(--space-4); }

/* Nav without JavaScript: keep the links visible. */
@container (max-width: 860px) {
  .rb-nav:not(.rb-nav-ready) .rb-nav-toggle { display: none; }
  .rb-nav:not(.rb-nav-ready) .rb-nav-menu { display: flex; }
}

/* Type styles from the tokens */
.display { font: var(--text-display); letter-spacing: var(--tracking-display); font-size: clamp(40px, 4.4vw + 8px, 72px); line-height: 1.05; }
.heading-1 { font: var(--text-heading-1); letter-spacing: var(--tracking-heading-1); font-size: clamp(36px, 3.6vw + 8px, 60px); line-height: 1.08; }
.heading-2 { font: var(--text-heading-2); letter-spacing: var(--tracking-heading-2); font-size: clamp(30px, 2.6vw + 12px, 48px); line-height: 1.1; }
.heading-3 { font: var(--text-heading-3); letter-spacing: var(--tracking-heading-3); }
.lead { font: var(--text-lead); color: var(--ink-muted); }
.small { font: var(--text-small); color: var(--ink-subtle); }
.muted { color: var(--ink-muted); }
/* Emphasis inside a heading: Playfair italic, the reference's signature move. */
.mark { font-style: italic; }

/* Layout */
.wrap { max-width: 1200px; margin: 0 auto; padding-inline: var(--space-6); }
.section { padding-block: var(--space-24); }
.section-wash { background: var(--wash); }
.section-sand { background: var(--sand); }
.section-mint { background: var(--mint); }
.section-peach { background: var(--peach); }
/* A lighter peach band for Already got a website? */
.section-softpeach { background: color-mix(in srgb, var(--peach) 45%, var(--paper)); }
/* Colour bands carry full ink text: muted grey loses contrast on mint and peach. */
.section-mint .muted, .section-mint .lead, .section-peach .muted, .section-peach .lead, .section-softpeach .muted { color: var(--ink); }
/* Dark ink band: the closing call to action. */
.section-ink { background: var(--ink); color: var(--on-ink); }
.section-ink .lead, .section-ink .muted { color: color-mix(in srgb, var(--on-ink) 78%, transparent); }
.section-ink .rb-btn-secondary { border-color: var(--on-ink); color: var(--on-ink); }
.section-ink .rb-btn-secondary:hover:not(:disabled) { background: var(--on-ink); color: var(--ink); }
.section-ink :focus-visible { outline-color: var(--on-ink); }
.rule-top { border-top: 1px solid var(--line); }
@media (max-width: 640px) {
  .wrap { padding-inline: 20px; }
  .section { padding-block: var(--space-16); }
}

.stack { display: flex; flex-direction: column; gap: var(--space-12); }
.prose { display: flex; flex-direction: column; gap: var(--space-4); max-width: 62ch; }
.legal h2 { margin-top: var(--space-6); }
.legal ul { display: flex; flex-direction: column; gap: var(--space-2); padding-left: 1.25em; list-style: disc; }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.arrow-link { align-self: flex-start; margin-left: calc(-1 * var(--space-4)); }
@media (max-width: 480px) {
  .actions { flex-direction: column; align-self: stretch; }
  .actions .rb-btn { width: 100%; }
}

/* Hero: centred text, no illustration, as on the reference. The content rises in once. */
.hero { padding-block: var(--space-24); }
.hero-grid { display: flex; justify-content: center; }
.hero-copy { display: flex; flex-direction: column; align-items: center; gap: var(--space-6); max-width: 900px; text-align: center; }
.hero h1 { max-width: 18ch; }
.hero .lead { max-width: 42rem; margin-bottom: var(--space-2); }
.hero .actions { justify-content: center; }
.hero-trust { display: flex; align-items: center; gap: var(--space-4); max-width: 46ch; min-width: 0; padding-top: var(--space-2); text-align: left; }
.hero-trust img { flex: none; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; box-shadow: var(--shadow-lift); }
.hero-trust-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hero-trust-line { font: 500 15px/1.4 var(--font-sans); color: var(--ink); }
@media (max-width: 640px) { .hero { padding-block: var(--space-12) var(--space-16); } }
/* Large image below the hero, as on the reference: 4:3 on phones, 3:2 on tablets, 16:9 from 768px, deep shadow. */
.hero-media { max-width: 1100px; margin: var(--space-16) auto 0; border-radius: var(--radius-md); overflow: hidden; background: var(--sand); box-shadow: var(--shadow-deep); aspect-ratio: 4 / 3; animation: rise 1.1s cubic-bezier(.16, 1, .3, 1) .75s both; }
@media (min-width: 640px) { .hero-media { aspect-ratio: 3 / 2; } }
@media (min-width: 768px) { .hero-media { aspect-ratio: 16 / 9; border-radius: 32px; } }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media-placeholder { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--ink-subtle); font: var(--text-label); }
@media (prefers-reduced-motion: reduce) { .hero-media { animation: none; } }
@media (max-width: 640px) { .hero-media { margin-top: var(--space-12); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
/* The hero plays on load, held back .35s so it isn't over before the page has
   painted and the fonts have swapped in; lines follow 100ms apart, the image last. */
.hero-copy > * { animation: rise .9s cubic-bezier(.16, 1, .3, 1) .35s both; }
.hero-copy > :nth-child(2) { animation-delay: .45s; }
.hero-copy > :nth-child(3) { animation-delay: .55s; }
.hero-copy > :nth-child(4) { animation-delay: .65s; }
@media (prefers-reduced-motion: reduce) { .hero-copy > * { animation: none; } }

/* Two-column heading + content */
.split { display: grid; gap: var(--space-6) var(--space-16); align-items: start; }
@media (min-width: 860px) { .split { grid-template-columns: 5fr 7fr; } }
.chips .rb-badge { min-height: 36px; padding: 0 16px; font-size: 15px; }

/* Who it's for: each sector as a badge with one line on what its site would hold. 1 column, 2 from 640px. */
.sectors { list-style: none; padding: 0; display: grid; gap: var(--space-4) var(--space-8); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sectors li { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2); }
.sectors .rb-badge { min-height: 32px; padding: 0 14px; font-size: 15px; }
.sectors span:not(.rb-badge) { color: var(--ink-muted); font-size: 14px; line-height: 1.5; }

/* Do you need a website: four reason cards. 1 column, 2 from 640px, 4 from 1080px. */
.reasons { list-style: none; padding: 0; display: grid; gap: var(--space-6); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .reasons { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.reason { gap: var(--space-3); padding: var(--space-6); }
.reason p { color: var(--ink-muted); }
.reasons-note { max-width: 62ch; }

/* How it works: photo-led steps. Each photo carries a small HTML overlay (words from the step's copy, hidden from screen readers). */
.steps { list-style: none; padding: 0; display: grid; gap: var(--space-12) var(--space-8); grid-template-columns: minmax(0, 1fr); }
/* Tablet: each step sits photo-left, text-right. */
@media (min-width: 640px) and (max-width: 899px) {
  .steps .step { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: var(--space-8); row-gap: var(--space-3); align-content: center; }
  .steps .step-media { grid-row: 1 / span 2; margin: 0; align-self: center; }
  .step h3 { align-self: end; }
  .step p { align-self: start; }
}
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.step { display: flex; flex-direction: column; gap: var(--space-3); }
.step-media { position: relative; margin: 0 0 var(--space-3); border-radius: var(--radius-lg); overflow: hidden; background: var(--sand); box-shadow: var(--shadow-sm); }
.step-media > img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.step-num { font-family: var(--font-serif); font-style: italic; font-variant-numeric: lining-nums; color: var(--ink-muted); margin-right: 0.15em; }
.step p { color: var(--ink-muted); }

.step-overlay { position: absolute; font: 500 15px/1.3 var(--font-sans); color: var(--ink); }
.step-overlay strong { display: block; font-weight: 600; }
.step-overlay strong + span { display: block; color: var(--ink-muted); font-size: 13px; }
/* 01: three ticked pills on the empty wall. */
.step-overlay--list { top: 9%; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; gap: 10px; width: max-content; }
.step-chip { display: flex; align-items: center; gap: 10px; padding: 8px 20px 8px 8px; border-radius: var(--radius-pill); background: var(--card); box-shadow: var(--shadow-lift); }
/* 02: a document notification, upper right on the wall. */
.step-overlay--doc, .step-overlay--msg { display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: var(--radius-md); background: var(--card); box-shadow: var(--shadow-lift); }
.step-overlay--doc { top: 8%; right: 6%; }
.step-doc-icon { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: var(--peach); color: var(--ink); flex: none; }
/* 03: a message from Dave, lower right on the desk. */
.step-overlay--msg { bottom: 7%; right: 6%; }
.step-overlay--msg img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: none; }
@media (min-width: 900px) and (max-width: 1100px) { .step-overlay { font-size: 13px; } .step-chip { padding: 6px 14px 6px 6px; } }

/* What's included: a bento grid. Four large cards carry a small HTML picture
   (aria-hidden, same idiom as the How it works overlays but flatter); three
   small cards carry an icon. 1 column on phones, 2 from 640px, 12 from 960px. */
.features { list-style: none; padding: 0; display: grid; gap: var(--space-6); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature--sm:last-child { grid-column: 1 / -1; }
}
@media (min-width: 960px) {
  .features { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .feature--words, .feature--changes { grid-column: span 7; }
  .feature--phone, .feature--search { grid-column: span 5; }
  .feature--sm, .feature--sm:last-child { grid-column: span 4; }
}
.feature { display: flex; flex-direction: column; gap: var(--space-6); padding: var(--space-6); border-radius: var(--radius-lg); background: var(--card); box-shadow: var(--shadow-sm); }
@media (min-width: 960px) { .feature { padding: var(--space-8); } }
.feature p { color: var(--ink-muted); max-width: 54ch; }
.feature strong { display: block; margin-bottom: var(--space-2); font: var(--text-heading-3); letter-spacing: var(--tracking-heading-3); color: var(--ink); }
.feature--sm { gap: var(--space-5, 20px); }
.feature-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--mint); color: var(--on-mint); }
/* The specific figures in the copy (24 hours, £75) pick up the heading face. */
.feature-fig { font-family: var(--font-display); font-style: italic; font-size: 1.2em; font-variant-numeric: lining-nums; line-height: 1; color: var(--ink); white-space: nowrap; }

/* The picture panels */
.feature-art { position: relative; display: flex; align-items: center; justify-content: center; height: 220px; border-radius: var(--radius-md); overflow: hidden; background: var(--sand); }
.feature--words .feature-art, .feature--changes .feature-art { background: color-mix(in srgb, var(--peach) 45%, var(--card)); }
.feature--phone .feature-art, .feature--search .feature-art { background: var(--mint-tile); }
.art-line { display: block; height: 8px; border-radius: 4px; background: var(--line); }
.art-line--head { width: 55%; height: 12px; background: color-mix(in srgb, var(--ink) 70%, transparent); }
.art-line--short { width: 40%; }
.art-line--mid { width: 72%; }

/* The words: a page of draft copy with one phrase written out. */
.art-page { position: relative; display: flex; flex-direction: column; gap: 10px; width: min(78%, 300px); padding: 22px 24px 26px; border-radius: 14px; background: var(--card); box-shadow: var(--shadow-lift); transform: rotate(-2deg); }
.art-phrase { align-self: flex-start; font: italic 400 24px/1.1 var(--font-display); color: var(--ink); background: linear-gradient(var(--mint), var(--mint)) 0 88% / 100% 8px no-repeat; padding-inline: 2px; }
.art-pencil { position: absolute; right: calc(50% - min(39%, 150px) - 14px); bottom: 22px; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--mint); box-shadow: var(--shadow-lift); }

/* Phones first: a phone in front of a tablet, bleeding off the bottom edge. */
.art-tablet { position: absolute; left: 50%; top: 34px; display: flex; flex-direction: column; gap: 10px; width: 210px; height: 160px; padding: 18px; border: 3px solid color-mix(in srgb, var(--ink) 22%, transparent); border-radius: 16px; background: color-mix(in srgb, var(--card) 60%, transparent); transform: translateX(-80%); }
.art-tablet span { display: block; height: 8px; border-radius: 4px; background: color-mix(in srgb, var(--ink) 12%, transparent); }
.art-tablet span:first-child { width: 50%; height: 12px; }
.art-tablet span:last-child { width: 70%; }
.art-phone { position: relative; display: flex; flex-direction: column; gap: 8px; width: 118px; height: 210px; margin-top: 56px; padding: 12px 11px; border: 4px solid var(--ink); border-radius: 24px; background: var(--card); box-shadow: var(--shadow-lift); transform: translateX(46px); }
.art-phone-bar { width: 36%; height: 5px; border-radius: 3px; background: var(--ink); }
.art-phone-img { height: 56px; border-radius: 8px; background: var(--peach); }
.art-phone .art-line { height: 6px; }
.art-phone .art-line--head { height: 9px; width: 70%; }
.art-phone-btn { width: 64%; height: 16px; margin-top: 2px; border-radius: var(--radius-pill); background: var(--ink); }

/* Google and AI-ready: a search bar, a result, and an AI spark. */
.art-search { position: relative; display: flex; flex-direction: column; gap: 12px; width: min(86%, 320px); }
.art-search-bar { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: var(--radius-pill); background: var(--card); color: var(--ink-muted); box-shadow: var(--shadow-sm); }
.art-search-bar .art-line { flex: 1; max-width: 55%; }
.art-result { display: flex; gap: 12px; padding: 16px; border-radius: 14px; background: var(--card); box-shadow: var(--shadow-lift); }
.art-result-dot { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--peach); }
.art-result-text { display: flex; flex: 1; flex-direction: column; gap: 8px; padding-top: 2px; }
.art-spark { position: absolute; right: -14px; bottom: -16px; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--mint); box-shadow: var(--shadow-lift); }

/* Small changes: a message in, a reply from Dave. */
.art-chat { display: flex; flex-direction: column; gap: 12px; width: min(86%, 340px); font: 500 17px/1.3 var(--font-sans); }
.art-bubble { display: inline-flex; align-items: center; gap: 8px; box-shadow: var(--shadow-lift); }
.art-bubble--in { align-self: flex-start; padding: 12px 18px; border-radius: 18px 18px 18px 6px; background: var(--card); color: var(--ink); }
.art-bubble--out { align-self: flex-end; padding: 6px 18px 6px 6px; border-radius: 18px 18px 6px 18px; background: var(--ink); color: var(--on-ink); }
.art-bubble--out img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }

.not-included { padding: var(--space-6) var(--space-8); border: 1.5px dashed color-mix(in srgb, var(--ink) 28%, transparent); border-radius: var(--radius-lg); color: var(--ink-muted); }
.not-included strong { color: var(--ink); font-weight: 600; }

/* Recent work: cards with a 16:9 image slot. The bracketed placeholders stay visible until the real screenshots arrive. */
.work { display: grid; gap: var(--space-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.work-item > div:last-child { padding: var(--space-6); }
.shot-panel { aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; background: var(--sand); color: var(--ink-subtle); font: var(--text-label); text-align: center; padding: var(--space-2); }
.work-item h3 { margin-bottom: var(--space-2); }
.work-item p { color: var(--ink-muted); }

/* Prices: the mint band, with off-white cards. */
.plans { display: grid; gap: var(--space-6); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); } }
@media (min-width: 720px) and (max-width: 959px) { .plan { padding: var(--space-6); } .price-amount { font-size: 52px; } .plan-page + .plan-page { margin-left: -36px; } }
@media (min-width: 960px) { .plans { gap: var(--space-6); } }
.plan { gap: var(--space-4); padding: var(--space-8); }
.plan p:last-child { color: var(--ink-muted); }
/* Page count as a fan of page outlines on a mint tile panel. */
.plan-pages { display: flex; align-items: center; justify-content: center; height: 128px; margin-bottom: var(--space-2); border-radius: var(--radius-md); background: color-mix(in srgb, var(--peach) 45%, var(--card)); }
.plan-page { display: flex; flex-direction: column; gap: 6px; width: 56px; height: 72px; padding: 11px 10px; border: 1.5px solid color-mix(in srgb, var(--ink) 30%, transparent); border-radius: 7px; background: var(--card); box-shadow: var(--shadow-sm); }
.plan-page + .plan-page { margin-left: -26px; }
.plan-page:nth-child(odd) { transform: rotate(-4deg); }
.plan-page:nth-child(even) { transform: rotate(3deg) translateY(-3px); }
.plan-page:only-child { transform: none; }
.plan-page span { display: block; height: 4px; border-radius: 2px; background: var(--line); }
.plan-page span:first-child { width: 70%; height: 6px; background: color-mix(in srgb, var(--ink) 65%, transparent); }
.plan-page span:last-child { width: 50%; }
.price { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); padding-bottom: var(--space-5, 20px); border-bottom: 1px solid var(--line); }
.price-amount { font: 400 64px/1 var(--font-serif); font-variant-numeric: lining-nums tabular-nums; }
.price-monthly { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border: 1px solid var(--mint-line); border-radius: var(--radius-pill); background: var(--mint-tile); font: 500 15px/1.4 var(--font-sans); color: var(--ink); }

/* The two price notes on one card: side by side from 760px with a dashed divider, stacked on phones. */
.price-receipt { padding: var(--space-8); }
.receipt-text { display: grid; gap: var(--space-4) var(--space-12); grid-template-columns: minmax(0, 1fr); color: var(--ink-muted); }
@media (min-width: 760px) { .receipt-text { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); column-gap: var(--space-12); align-items: center; } }
.receipt-extra { padding-bottom: var(--space-4); border-bottom: 1.5px dashed var(--line); color: var(--ink); }
@media (min-width: 760px) { .receipt-extra { padding-bottom: 0; border-bottom: 0; } .receipt-extra + p { padding-left: var(--space-12); border-left: 1.5px dashed var(--line); } }
.price-fig { font-family: var(--font-display); font-style: italic; font-size: 1.2em; font-variant-numeric: lining-nums; line-height: 1; color: var(--ink); white-space: nowrap; }

/* About */
.about { display: grid; gap: var(--space-16); grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); align-items: center; }
.about-photo { position: relative; margin: 0; }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; max-height: 560px; object-fit: cover; object-position: 50% 28%; border-radius: var(--radius-lg); }
.about-badge { position: absolute; left: var(--space-6); bottom: var(--space-6); padding: var(--space-2) var(--space-4); border-radius: var(--radius-pill); background: var(--card); box-shadow: var(--shadow-lift); color: var(--ink); font: 500 14px/1.4 var(--font-sans); }

/* Final call to action: the peach band, above the town illustration. */
.cta { display: flex; flex-direction: column; align-items: center; gap: var(--space-6); text-align: center; }
.cta h2 { max-width: 16ch; }
.cta .lead { max-width: 44ch; }
.cta .actions { justify-content: center; }

/* Footer: the dark band. */
.site-footer { background: var(--night); color: var(--on-ink); }
.site-footer .small { color: var(--on-ink-muted); }
.site-footer-inner { display: grid; gap: var(--space-12) var(--space-8); padding-block: var(--space-16); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 640px) { .site-footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); } .site-footer-about { grid-column: 1 / -1; } }
@media (min-width: 960px) { .site-footer-inner { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); } .site-footer-about { grid-column: auto; } }
.site-footer-about { display: flex; flex-direction: column; gap: var(--space-3); max-width: 460px; }
.site-footer-brand { display: block; width: max-content; margin-bottom: var(--space-3); color: var(--on-ink); text-decoration: none; }
.site-footer-brand .logo { display: block; height: 27px; width: auto; }
.site-footer-brand .logo-dot { fill: var(--mint); }
.site-footer-heading { margin: 0 0 var(--space-4); font: 600 13px/1.4 var(--font-sans); letter-spacing: .06em; text-transform: uppercase; color: color-mix(in srgb, var(--on-ink) 60%, transparent); }
.site-footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-3); font: 400 16px/1.4 var(--font-sans); }
.site-footer-links a, .site-footer-legal a { color: color-mix(in srgb, var(--on-ink) 78%, transparent); text-decoration: none; transition: color .2s ease; }
.site-footer-links a:hover, .site-footer-legal a:hover { color: var(--mint); }
.site-footer-legal { grid-column: 1 / -1; padding-top: var(--space-6); border-top: 1px solid rgba(245, 243, 240, .15); }
.site-footer :focus-visible { outline-color: var(--on-ink); }

/* Already got a website? Copy on the left, the move on the right: a dated site,
   a new one, and the three things the copy promises carry across between them.
   Drawn in HTML and CSS, aria-hidden. Stacked below 900px. */
.move { display: grid; gap: var(--space-12); align-items: center; }
@media (min-width: 900px) { .move { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-16); } }
.move-copy .arrow-link { align-self: flex-start; }
.move-art { position: relative; height: 380px; overflow: hidden; border-radius: var(--radius-lg); background: var(--card); box-shadow: var(--shadow-sm); }
@media (max-width: 560px) { .move-art { height: 380px; } }
.move-site { position: absolute; display: flex; flex-direction: column; gap: 10px; }
.move-bar { display: flex; gap: 5px; padding-bottom: 4px; }
.move-bar i { width: 7px; height: 7px; border-radius: 50%; background: color-mix(in srgb, var(--ink) 18%, transparent); }

/* The old site: square corners, a loud banner, three boxes, slightly askew and faded. */
.move-site--old { z-index: 1; left: 6%; top: 8%; width: 44%; padding: 12px 14px 18px; border: 1px solid var(--line); border-radius: 4px; background: var(--sand); opacity: .8; transform: rotate(-3deg); }
.move-old-banner { height: 38px; background: color-mix(in srgb, var(--orange) 35%, var(--sand)); }
.move-old-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.move-old-cols span { height: 30px; background: color-mix(in srgb, var(--ink) 10%, transparent); }
.move-site--old .art-line { height: 6px; border-radius: 0; background: color-mix(in srgb, var(--ink) 14%, transparent); }

/* The new site: the roobo look, lifted. */
.move-site--new { z-index: 3; right: 6%; bottom: 8%; width: 54%; padding: 12px 14px 16px; border-radius: 16px; background: var(--card); box-shadow: var(--shadow-lift); }
.move-new-hero { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 12px; background: var(--mint-tile); }
.move-new-hero .art-line { background: color-mix(in srgb, var(--ink) 16%, transparent); }
.move-new-hero .art-line--head { width: 62%; background: color-mix(in srgb, var(--ink) 70%, transparent); }
.move-new-btn { width: 38%; height: 16px; margin-top: 4px; border-radius: var(--radius-pill); background: var(--ink); }
.move-new-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.move-new-cards span { height: 44px; border-radius: 10px; background: color-mix(in srgb, var(--peach) 45%, var(--card)); }

/* The dashed route from old to new, and what travels along it. */
.move-path { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; color: color-mix(in srgb, var(--ink) 35%, transparent); }
.move-kept { position: absolute; z-index: 4; left: 8%; bottom: 10%; list-style: none; padding: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.move-kept li { display: inline-flex; align-items: center; gap: 10px; padding: 7px 18px 7px 7px; border-radius: var(--radius-pill); background: var(--card); box-shadow: var(--shadow-lift); font: 500 15px/1.3 var(--font-sans); color: var(--ink); white-space: nowrap; }
.move-kept li:nth-child(2) { margin-left: 18px; }
.move-kept li:nth-child(3) { margin-left: 36px; }
@media (max-width: 560px) {
  .move-site--old { width: 52%; }
  .move-site--new { width: 60%; right: 5%; bottom: 24%; }
  .move-kept { left: 5%; bottom: 5%; gap: 8px; }
  .move-kept li { padding: 5px 14px 5px 5px; font-size: 14px; }
  .move-kept li:nth-child(2) { margin-left: 10px; }
  .move-kept li:nth-child(3) { margin-left: 20px; }
}

/* ── Scroll reveals ────────────────────────────────────────────────────────
   Only under html.motion (set in the head when IntersectionObserver exists and
   reduced motion isn't asked for), so without it everything is just visible.
   Each [data-reveal] fades up 16px once, when it first comes into view; the
   script sets --d to stagger elements that arrive together. Opacity and the
   independent translate property only, so existing transforms are untouched.
   A few blocks then play one small follow-on detail, timed from --d. */
:root { --reveal-ease: cubic-bezier(.16, 1, .3, 1); --reveal-time: .7s; }
.motion [data-reveal] { opacity: 0; translate: 0 16px; transition: opacity var(--reveal-time) var(--reveal-ease) var(--d, 0s), translate var(--reveal-time) var(--reveal-ease) var(--d, 0s); }
.motion [data-reveal].is-in { opacity: 1; translate: none; }

/* Shared hidden/shown pair for the follow-on details. */
.motion :is(.step-chip, .step-overlay--doc, .step-overlay--msg, .move-site--old, .move-site--new, .move-kept li) { opacity: 0; translate: 0 10px; transition: opacity .5s var(--reveal-ease), translate .5s var(--reveal-ease); }
.motion .is-in :is(.step-chip, .step-overlay--doc, .step-overlay--msg, .move-site--new, .move-kept li) { opacity: 1; translate: none; }

/* How it works: once a photo is in, its overlay arrives; the chips tick in one by one. */
.motion .is-in :is(.step-overlay--doc, .step-overlay--msg) { transition-delay: calc(var(--d, 0s) + .35s); }
.motion .is-in .step-chip { transition-delay: calc(var(--d, 0s) + .35s); }
.motion .is-in .step-chip:nth-child(2) { transition-delay: calc(var(--d, 0s) + .45s); }
.motion .is-in .step-chip:nth-child(3) { transition-delay: calc(var(--d, 0s) + .55s); }
.motion .is-in .step-chip:nth-child(4) { transition-delay: calc(var(--d, 0s) + .65s); }

/* What's included: the mint underline under "plain English" draws in. */
.motion .art-phrase { background-size: 0% 8px; transition: background-size .6s var(--reveal-ease); }
.motion .is-in .art-phrase { background-size: 100% 8px; transition-delay: calc(var(--d, 0s) + .45s); }

/* Prices: each plan's pages start squared up in one pile, then fan out to show the count. */
.motion .plan-page { transition: translate .7s var(--reveal-ease), transform .7s var(--reveal-ease); }
.motion .plan:not(.is-in) .plan-page { translate: calc(((var(--n) - 1) / 2 - var(--i)) * 30px) 0; transform: none; }
.motion .plan.is-in .plan-page { transition-delay: calc(var(--d, 0s) + .3s); }

/* Already got a website?: the old site, the dashed path drawing across, the new
   site landing, then the three things that come with it. About 1.5s in all. */
.motion .move-art.is-in .move-site--old { opacity: .8; translate: none; transition-delay: calc(var(--d, 0s) + .15s); }
.motion .move-path { clip-path: inset(0 100% 0 0); transition: clip-path .7s cubic-bezier(.45, 0, .25, 1); }
.motion .move-art.is-in .move-path { clip-path: inset(0 0 0 0); transition-delay: calc(var(--d, 0s) + .35s); }
.motion .move-art.is-in .move-site--new { transition-delay: calc(var(--d, 0s) + .8s); }
.motion .move-art.is-in .move-kept li { transition-delay: calc(var(--d, 0s) + .95s); }
.motion .move-art.is-in .move-kept li:nth-child(2) { transition-delay: calc(var(--d, 0s) + 1.07s); }
.motion .move-art.is-in .move-kept li:nth-child(3) { transition-delay: calc(var(--d, 0s) + 1.19s); }

/* ── Redesigns page ────────────────────────────────────────────────────────
   Reuses the homepage's hero, bands, cards and icon circles. Four section
   styles are its own: the keep / improve / redirect ledger, the sticky-intro
   timeline, the before-and-after slider and the FAQ. */

/* Signs it's time: six cards, one to three columns. */
.signs { list-style: none; padding: 0; display: grid; gap: var(--space-6); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .signs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .signs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sign { display: flex; flex-direction: column; gap: var(--space-5, 20px); padding: var(--space-6); border-radius: var(--radius-lg); background: var(--card); box-shadow: var(--shadow-sm); }
.sign p, .research-item p { color: var(--ink-muted); }
.sign strong { display: block; margin-bottom: var(--space-2); font: var(--text-heading-3); letter-spacing: var(--tracking-heading-3); color: var(--ink); }
.signs-last { max-width: 36ch; font: italic 400 26px/1.25 var(--font-display); color: var(--ink); }

/* Will I lose my place on Google?: keep / improve / redirect on one card. */
.ledger { list-style: none; display: grid; gap: var(--space-8); padding: var(--space-8); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 800px) {
  .ledger { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
  .ledger-col { padding-inline: var(--space-8); }
  .ledger-col:first-child { padding-left: 0; }
  .ledger-col:last-child { padding-right: 0; }
  .ledger-col + .ledger-col { border-left: 1.5px dashed var(--line); }
}
@media (max-width: 799px) { .ledger-col + .ledger-col { padding-top: var(--space-8); border-top: 1.5px dashed var(--line); } }
.ledger-col { display: flex; flex-direction: column; gap: var(--space-4); color: var(--ink-muted); }
.ledger-col strong { display: block; margin-bottom: var(--space-1, 4px); font: var(--text-heading-3); letter-spacing: var(--tracking-heading-3); color: var(--ink); }
.ledger-mark { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; }
.ledger-mark--keep { background: var(--mint); color: var(--on-mint); }
.ledger-mark--improve { background: var(--peach); color: var(--ink); }
.ledger-mark--redirect { background: var(--ink); color: var(--mint); }
.ledger-note { max-width: 62ch; }

/* How a redesign works: the intro stays put on the left while the steps run down a line. */
.process { display: grid; gap: var(--space-12); align-items: start; }
@media (min-width: 960px) {
  .process { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-16); }
  .process-intro { position: sticky; top: 128px; }
}
.process-intro .rb-btn { align-self: flex-start; margin-top: var(--space-2); }
.timeline { list-style: none; padding: 0; display: flex; flex-direction: column; }
.tl-step { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: var(--space-6); padding-bottom: var(--space-10, 40px); }
.tl-step:last-child { padding-bottom: 0; }
.tl-step:not(:last-child)::before { content: ""; position: absolute; left: 27px; top: 64px; bottom: 8px; width: 1.5px; background: color-mix(in srgb, var(--ink) 20%, transparent); }
.tl-num { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--card); box-shadow: var(--shadow-sm); font: italic 400 22px/1 var(--font-display); font-variant-numeric: lining-nums; color: var(--ink); }
.tl-step:first-child .tl-num { background: var(--mint); }
.tl-body { display: flex; flex-direction: column; gap: var(--space-2); padding-top: 12px; }
.tl-body p { color: var(--ink-muted); }
.tl-tag { margin-left: var(--space-2); vertical-align: 4px; min-height: 28px; font-size: 13px; }

/* What does the scoping fee pay for?: five cards (2 + 3 on wide screens) and the summary note. */
.research { list-style: none; padding: 0; display: grid; gap: var(--space-6); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .research { grid-template-columns: repeat(2, minmax(0, 1fr)); } .research-item:nth-child(5), .research-summary { grid-column: 1 / -1; } }
@media (min-width: 960px) {
  .research { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .research-item { grid-column: span 2; }
  .research-item:nth-child(-n+2) { grid-column: span 3; }
  .research-item:nth-child(5) { grid-column: span 2; }
}
.research-summary { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-6) var(--space-8); border: 1.5px dashed color-mix(in srgb, var(--ink) 28%, transparent); border-radius: var(--radius-lg); color: var(--ink); }

/* Before and after. Without JavaScript the two screenshots sit side by side.
   With it (html.js) they stack, and the range input moves the divider (--pos). */
.ba-figure { margin: 0; display: flex; flex-direction: column; gap: var(--space-6); }
.ba { --pos: 50%; display: grid; gap: var(--space-4); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .ba { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ba-layer { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--card); box-shadow: var(--shadow-sm); }
.ba-layer > img, .ba-layer > .shot-panel { display: flex; width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.ba-before .shot-panel { background: var(--sand); }
.ba-after .shot-panel { background: var(--card); }
.ba-label { position: absolute; top: var(--space-4); left: var(--space-4); }
.ba-handle, .ba-range { display: none; }
.js .ba { display: block; position: relative; overflow: hidden; aspect-ratio: 16 / 10; border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); background: var(--card); }
.js .ba-layer { position: absolute; inset: 0; border-radius: 0; box-shadow: none; }
.js .ba-after { clip-path: inset(0 0 0 var(--pos)); }
.js .ba-after .ba-label { left: auto; right: var(--space-4); }
/* Placeholders: each label sits centred in its own half, clear of the handle. */
.js .ba-before .shot-panel { padding: var(--space-4) calc(50% + 32px) var(--space-4) var(--space-4); }
.js .ba-after .shot-panel { padding: var(--space-4) var(--space-4) var(--space-4) calc(50% + 32px); }
@media (max-width: 639px) { .js .ba { aspect-ratio: 4 / 5; } }
.js .ba::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; translate: -50% 0; background: var(--card); box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 12%, transparent); pointer-events: none; }
.js .ba-handle { position: absolute; z-index: 2; top: 50%; left: var(--pos); display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; translate: -50% -50%; border-radius: 50%; background: var(--ink); color: var(--on-ink); box-shadow: var(--shadow-lift); pointer-events: none; }
.js .ba-range { position: absolute; z-index: 3; inset: 0; display: block; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.js .ba:has(.ba-range:focus-visible) .ba-handle { outline: 2px solid var(--ink); outline-offset: 3px; }
.ba-caption { max-width: 70ch; color: var(--ink); }

/* How much does a redesign cost?: the three steps on one card. */
.cost-steps { list-style: none; display: grid; gap: var(--space-6); padding: var(--space-8); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 800px) {
  .cost-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
  .cost-steps li { padding-inline: var(--space-8); }
  .cost-steps li:first-child { padding-left: 0; }
  .cost-steps li:last-child { padding-right: 0; }
  .cost-steps li + li { border-left: 1.5px dashed var(--line); }
}
@media (max-width: 799px) { .cost-steps li + li { padding-top: var(--space-6); border-top: 1.5px dashed var(--line); } }
.cost-steps li { display: flex; flex-direction: column; gap: var(--space-3); color: var(--ink-muted); }
.cost-steps .step-num { font-size: 28px; line-height: 1; }
.cost-steps strong { font-weight: 600; color: var(--ink); }

/* Questions: native details/summary on cards. */
.faq { display: flex; flex-direction: column; gap: var(--space-3); }
.faq-item { border-radius: var(--radius-lg); background: var(--card); box-shadow: var(--shadow-sm); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-5, 20px) var(--space-6); cursor: pointer; list-style: none; border-radius: var(--radius-lg); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { font: 400 21px/1.3 var(--font-display); color: var(--ink); }
.faq-icon { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--sand); transition: rotate .25s var(--reveal-ease), background-color .25s ease; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; translate: -50% -50%; border-radius: 1px; background: var(--ink); }
.faq-icon::after { rotate: 90deg; }
.faq-item[open] .faq-icon { rotate: 45deg; background: var(--mint); }
.faq-item > p { padding: 0 var(--space-6) var(--space-6); max-width: 62ch; }

/* Follow-on detail: each step's line draws down once the step is in. */
.motion .tl-step::before { clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--reveal-ease); }
.motion .tl-step.is-in::before { clip-path: inset(0); transition-delay: calc(var(--d, 0s) + .3s); }

/* Contact page: header, form card with direct details beside it, then the fit band. */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.contact-head { padding-block: var(--space-24) var(--space-12); }
.contact-head-inner { display: flex; flex-direction: column; gap: var(--space-6); max-width: 860px; }
.contact-head h1 { max-width: 20ch; }
.contact-head .lead { max-width: 44rem; }
.contact-fit-link { align-self: flex-start; font: 500 15px/1.4 var(--font-sans); }
.contact-thanks { padding-bottom: var(--space-24); }
@media (max-width: 640px) { .contact-head { padding-block: var(--space-12) var(--space-8); } }

.contact-main { padding-bottom: var(--space-24); }
.contact-grid { display: grid; gap: var(--space-8); align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--space-12); } }
@media (max-width: 640px) { .contact-main { padding-bottom: var(--space-16); } }

.contact-form { gap: var(--space-6); padding: var(--space-8); overflow: visible; }
@media (max-width: 640px) { .contact-form { padding: var(--space-6) 20px; margin-inline: -4px; } }
.form-row { display: grid; gap: var(--space-6); }
@media (min-width: 640px) { .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
.choices { display: flex; flex-direction: column; gap: var(--space-2); margin: 0; padding: 0; border: 0; min-width: 0; }
.choices legend { padding: 0; margin-bottom: var(--space-2); }
.choices--inline { flex-direction: row; flex-wrap: wrap; }
.choices--inline legend { flex-basis: 100%; }
/* Website-only questions: hidden when someone picks the Google Maps listing on its own. */
.website-only { display: flex; flex-direction: column; gap: var(--space-6); }
.contact-form:has([data-maps-only]:checked) .website-only { display: none; }
.choice { display: flex; align-items: center; gap: var(--space-3); min-height: 48px; padding: 10px var(--space-6) 10px var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--card); font: 400 16px/22px var(--font-sans); cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
.choice:hover { border-color: var(--ink-subtle); }
.choice input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--ink); }
.choice:has(input:checked) { border-color: var(--ink); background: color-mix(in srgb, var(--mint) 40%, var(--card)); }
.choice:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.choice input:focus-visible { outline: none; }
.form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-6); padding-top: var(--space-2); }
@media (max-width: 480px) { .form-submit .rb-btn { width: 100%; } }

.contact-aside { display: flex; flex-direction: column; gap: var(--space-8); }
@media (min-width: 960px) { .contact-aside { position: sticky; top: 112px; } }
.contact-direct { display: flex; flex-direction: column; gap: var(--space-6); padding: var(--space-8); border-radius: var(--radius-lg); background: var(--mint); color: var(--on-mint); }
.contact-direct .small { color: var(--ink); }
.contact-methods { list-style: none; padding: 0; display: flex; flex-direction: column; gap: var(--space-4); }
.contact-methods li { display: flex; gap: var(--space-4); align-items: flex-start; }
.contact-methods li > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.contact-icon { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--card); color: var(--ink); }
.contact-value { font: 600 18px/1.4 var(--font-sans); overflow-wrap: anywhere; }
.contact-methods li > div > p:only-child { padding-top: 8px; }
.contact-me { display: flex; align-items: center; gap: var(--space-4); padding-top: var(--space-6); border-top: 1px solid var(--mint-line); }
.contact-me img { flex: none; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; box-shadow: var(--shadow-lift); }
.contact-next { display: flex; flex-direction: column; gap: var(--space-4); padding: 0 var(--space-2); }
.next-steps { list-style: none; padding: 0; display: flex; flex-direction: column; gap: var(--space-4); }
.next-steps li { display: grid; grid-template-columns: 2.2em 1fr; gap: var(--space-2); }
.next-steps .step-num { font-size: 1.15em; line-height: 1.5; }
.next-steps p { color: var(--ink-muted); }

.fit { display: grid; gap: var(--space-6); }
@media (min-width: 800px) { .fit { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fit-card { gap: var(--space-6); padding: var(--space-8); }
.fit-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: var(--space-4); }
.fit-list li { display: flex; gap: var(--space-3); align-items: flex-start; }
.fit-list li .rb-tick, .fit-cross { margin-top: 2px; }
.fit-cross { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--peach); color: var(--ink); }
.fit-cross svg { width: 12px; height: 12px; }
.fit-note { max-width: 62ch; }

/* Project pages (src/_includes/layouts/project.njk) */
.project-head { padding-block: var(--space-16) var(--space-12); }
.project-head-inner { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-6); max-width: 860px; }
.project-head .lead { max-width: 44rem; }
.project-back { color: var(--ink-muted); text-decoration: none; }
.project-back:hover { color: var(--ink); text-decoration: underline; }
.project-facts { display: flex; flex-wrap: wrap; gap: var(--space-4) var(--space-12); margin: 0; padding-block: var(--space-4); border-block: 1px solid var(--line); width: 100%; }
.project-facts dt { font: var(--text-small); color: var(--ink-subtle); }
.project-facts dd { margin: 0; font: 500 16px/1.4 var(--font-sans); color: var(--ink); }
.project-shots { position: relative; padding-bottom: var(--space-12); }
.project-shot { overflow: hidden; border-radius: var(--radius-lg); background: var(--card); box-shadow: var(--shadow-deep); }
.project-shot img, .project-shot .shot-panel { display: flex; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.project-shot--desktop .shot-panel, .project-shot--desktop img { aspect-ratio: 16 / 10; }
.project-shot--phone { position: absolute; right: calc(var(--space-6) + var(--space-8)); bottom: 0; width: clamp(140px, 18%, 220px); border: 6px solid var(--ink); border-radius: 28px; }
.project-shot--phone .shot-panel, .project-shot--phone img { aspect-ratio: 9 / 19; }
.project-body { display: flex; flex-direction: column; gap: var(--space-4); max-width: 62ch; }
.project-body h2 { font: var(--text-heading-2); letter-spacing: var(--tracking-heading-2); font-size: clamp(26px, 1.6vw + 14px, 36px); line-height: 1.15; margin-top: var(--space-8); }
.project-body h2:first-child { margin-top: 0; }
.project-body p { color: var(--ink-muted); }
.project-quote { margin-block: 0; display: flex; flex-direction: column; gap: var(--space-4); max-width: 900px; }
.project-quote blockquote { margin: 0; font: italic 400 clamp(24px, 1.8vw + 12px, 36px)/1.3 var(--font-display); color: var(--ink); }
.project-quote figcaption { color: var(--ink); }
@media (max-width: 640px) {
  .project-head { padding-block: var(--space-12) var(--space-8); }
  .project-shots { display: flex; flex-direction: column; gap: var(--space-6); padding-bottom: 0; }
  .project-shot--phone { position: static; width: 55%; align-self: center; }
}

/* Work index (src/work.njk): each card is one link, via the heading's stretched link */
.section-tight-top { padding-top: 0; }
.work-list { margin: 0; padding: 0; list-style: none; }
.work-card { position: relative; overflow: hidden; transition: box-shadow .2s ease; }
.work-card:hover { box-shadow: var(--shadow-lift); }
.work-card-shot { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.work-card-link { color: inherit; text-decoration: none; }
.work-card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.work-card-link:focus-visible { outline: none; }
.work-card:has(.work-card-link:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; }
.work-card:hover .work-card-link { text-decoration: underline; }

/* Project gallery (project.njk): brand, palette and close-ups, two across */
.project-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); margin: 0; padding: 0; list-style: none; }
.gallery-tile figure { margin: 0; display: flex; flex-direction: column; gap: var(--space-3); height: 100%; }
.gallery-tile--wide { grid-column: 1 / -1; }
.gallery-panel { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-lg); background: var(--card); box-shadow: var(--shadow-sm); }
.gallery-tile--wide .gallery-panel { aspect-ratio: 21 / 9; }
.gallery-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.gallery-image--contain { display: flex; align-items: center; justify-content: center; padding: 12%; }
.gallery-image--contain img { object-fit: contain; object-position: center; }
.gallery-palette { display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-6); padding: var(--space-8); }
.swatches { display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: var(--space-4); margin: 0; padding: 0; list-style: none; }
.swatch { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.swatch-chip { aspect-ratio: 1; margin-bottom: var(--space-2); border-radius: var(--radius-md); background: var(--sand); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 10%, transparent); }
.swatch-name { font: 500 14px/1.3 var(--font-sans); color: var(--ink); overflow-wrap: anywhere; }
.swatch-hex { font: var(--text-small); color: var(--ink-subtle); font-variant-numeric: tabular-nums; text-transform: uppercase; }
.gallery-fonts { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-8); margin: 0; padding-top: var(--space-4); border-top: 1px solid var(--line); }
.gallery-fonts dt { font: var(--text-small); color: var(--ink-subtle); }
.gallery-fonts dd { margin: 0; font: 500 15px/1.4 var(--font-sans); color: var(--ink); }
.gallery-tile figcaption { color: var(--ink-muted); }
@media (max-width: 640px) {
  .project-gallery { grid-template-columns: minmax(0, 1fr); gap: var(--space-8); }
  .gallery-tile--wide .gallery-panel { aspect-ratio: 4 / 3; }
  .gallery-palette { aspect-ratio: auto; padding: var(--space-6); }
  .swatches { grid-template-columns: repeat(auto-fit, minmax(60px, 1fr)); gap: var(--space-3); }
  .swatch-name { font-size: 13px; }
}

/* Work index (src/work.njk): two across, one on phones */
.work-list { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) {
  .work-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── Prices page (src/prices.njk) ──────────────────────────────────────────
   Reuses the homepage's plan cards and price notes, the redesigns ledger,
   timeline and FAQ cards, and the contact page's fit cards. Its own pieces:
   the first-year rows on each plan, the includes checklist and the grouped FAQ. */

/* Plans: first year and each year after, under a dashed rule at the foot of the card. */
.plan-text { color: var(--ink-muted); }
.plan-years { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); margin: auto 0 0; padding-top: var(--space-5, 20px); border-top: 1.5px dashed var(--line); }
.plan-years div { display: flex; flex-direction: column; gap: 2px; }
.plan-years dt { font: var(--text-small); color: var(--ink-subtle); }
.plan-years dd { margin: 0; font: italic 400 28px/1.1 var(--font-display); font-variant-numeric: lining-nums; color: var(--ink); }

/* What every plan includes: one card, a ticked checklist, two columns from 760px. */
.includes { list-style: none; display: grid; gap: var(--space-6) var(--space-12); padding: var(--space-8); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .includes { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: var(--space-10, 40px) var(--space-12); } }
.includes li { display: flex; gap: var(--space-4); align-items: flex-start; }
.includes li .rb-tick { margin-top: 2px; }
.includes p { color: var(--ink-muted); }
.includes strong { color: var(--ink); font-weight: 600; }

/* Google Maps add-on: reason on the left, one price card on the right (from 860px, via .split). */
.addon-card { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-6); padding: var(--space-8); }
@media (min-width: 760px) { .addon-card { padding: var(--space-10, 40px); } }
.addon-card .price { align-self: stretch; }
.addon-list { list-style: none; padding: 0; display: grid; gap: var(--space-5, 20px); }
.addon-list li { display: flex; gap: var(--space-4); align-items: flex-start; }
.addon-list li .rb-tick { margin-top: 2px; }
.addon-list p { color: var(--ink-muted); }
.addon-list strong { color: var(--ink); font-weight: 600; }
.addon-terms { display: flex; flex-direction: column; gap: var(--space-3); padding-top: var(--space-5, 20px); border-top: 1.5px dashed var(--line); font: var(--text-small); color: var(--ink-muted); }

/* Questions: three groups. From 960px the intro and topic links stay put on the left. */
.faq-layout { display: grid; gap: var(--space-12); align-items: start; }
@media (min-width: 960px) {
  .faq-layout { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-16); }
  .faq-intro { position: sticky; top: 128px; }
}
.faq-topics ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
@media (min-width: 960px) { .faq-topics ul { flex-direction: column; align-items: flex-start; } }
.faq-topics a { display: inline-flex; align-items: center; gap: var(--space-3); min-height: 44px; padding: 0 8px 0 18px; border-radius: var(--radius-pill); background: var(--card); box-shadow: var(--shadow-sm); font: 500 15px/1.3 var(--font-sans); text-decoration: none; transition: box-shadow .2s ease; }
.faq-topics a:hover { box-shadow: var(--shadow-lift); }
.faq-count { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 28px; padding: 0 8px; border-radius: var(--radius-pill); background: var(--mint); color: var(--on-mint); font: 600 13px/1 var(--font-sans); }
.faq-groups { display: flex; flex-direction: column; gap: var(--space-12); }
.faq-group { display: flex; flex-direction: column; gap: var(--space-4); scroll-margin-top: 112px; }
.faq-group-title { font: italic 400 26px/1.2 var(--font-display); color: var(--ink); }
.faq-item > p a { color: var(--ink); }

/* Who you'll be dealing with: two quotes about Dave's freelance work, labelled as such. */
.quotes-wrap { display: flex; flex-direction: column; gap: var(--space-6); margin-top: var(--space-16); }
.quotes-intro { max-width: 52ch; font: italic 400 24px/1.3 var(--font-display); color: var(--ink); }
.quotes { display: grid; gap: var(--space-6); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 800px) { .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.quote { gap: var(--space-4); margin: 0; padding: var(--space-8); }
.quote-mark { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: color-mix(in srgb, var(--peach) 45%, var(--card)); font: italic 400 44px/1 var(--font-display); padding-top: 14px; color: var(--ink); }
.quote blockquote { margin: 0; flex: 1; }
.quote blockquote p { font: 400 19px/1.55 var(--font-sans); color: var(--ink); }
.quote figcaption { display: flex; flex-direction: column; gap: 2px; padding-top: var(--space-4); border-top: 1.5px dashed var(--line); }
.quote figcaption strong { font-weight: 600; color: var(--ink); }
.quote figcaption span { font: var(--text-small); color: var(--ink-subtle); }
@media (max-width: 640px) { .quotes-wrap { margin-top: var(--space-12); } .quote { padding: var(--space-6); } .quotes-intro { font-size: 21px; } }

/* ---------- Cookie banner (src/css/cookie-banner.css), in roobo's tokens ---------- */
/* roobo is light-only, so these also override the banner's own dark-mode colours. */
.cookie-notice {
  --cb-bg: var(--card);
  --cb-text: var(--ink);
  --cb-border: var(--line);
  --cb-btn-bg: var(--ink);
  --cb-btn-bg-hover: color-mix(in srgb, var(--ink) 90%, transparent);
  --cb-btn-text: var(--on-ink);
  --cb-font: var(--font-sans);
  --cb-font-size: 15px;
  --cb-btn-font-size: 14px;
  --cb-radius: var(--radius-pill);
  --cb-max-width: 1200px;
  --cb-z: 200;
}
.cookie-notice-inner { padding-inline: var(--space-6); }
.cookie-btn { min-height: 40px; padding: 0 20px; border-width: 2px; }
.cookie-btn-reject { border-color: var(--ink); }
.cookie-btn-reject:hover { background: var(--ink); color: var(--on-ink); }
@media (max-width: 640px) {
  .cookie-notice-inner { padding-inline: 20px; }
}

/* Prices: "What fits on one page?" The list is drawn as a page outline, top to bottom. */
.onepage { align-items: center; }
.onepage-outline { list-style: none; margin: 0; padding: var(--space-4); gap: var(--space-2); }
.onepage-outline li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: var(--space-4); align-items: center; padding: var(--space-4); border-radius: var(--radius-md); background: var(--paper); color: var(--ink-muted); }
.onepage-outline li:first-child { background: var(--mint); color: var(--ink); }
.onepage-outline strong { color: var(--ink); font-weight: 600; }
.onepage-num { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--card); font: italic 400 18px/1 var(--font-display); font-variant-numeric: lining-nums; color: var(--ink); }
