/* Backboard site styles: the page grid, every section and the loader. Shared by every page. */
/* Swiss layout: a white page on a 12-column grid, hairline rules, Inter for everything but two moments. */
:root { --gutter: 24px; --margin: 64px; --section: 144px; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font-sans); font-size: 16px; line-height: 26px; }

.wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--margin); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.section { padding: var(--section) 0; }
/* No dividers between sections: space alone separates them, the footer included. */
.bb-footer { border-top: 0; }
.label { margin: 0; font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); }
.muted { margin: 0; color: var(--ink-muted); }
.h2 { margin: 0; font-size: clamp(32px, 3.4vw, 48px); line-height: 1.08; font-weight: 500; letter-spacing: -0.025em; text-wrap: balance; }
.h3 { margin: 0; font-size: 20px; line-height: 28px; font-weight: 500; letter-spacing: -0.01em; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.actions .bb-link, .actions .bb-button { align-self: center; }
.side { grid-column: 1 / span 3; }
.main { grid-column: 4 / -1; }

/* Hero: a plain statement centred in the first screen, with the tops of the two projects peeking in below. */
.hero { --peek: 152px; padding-bottom: var(--section); }
.hero-statement { min-height: calc(100svh - var(--peek)); padding-top: 72px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.hero h1 { margin: 0; font-size: clamp(28px, 3.4vw, 48px); line-height: 1.15; font-weight: 500; letter-spacing: -0.025em; }
/* The first word is the logo, set at the statement's own size so its capitals match Inter's cap height. */
.hero-logo { font-size: 1em; margin-right: 0.04em; }
.hero .actions { justify-content: center; margin-top: 40px; }
/* The work under the hero, minimal (after Porto Rocha): two 4:3 pictures inside the margins, the client in bold and
   one line underneath. Nothing sits on the pictures; Omari's film fades in on hover. */
.hero-work { row-gap: 40px; }
.peek { grid-column: span 6; display: block; color: inherit; text-decoration: none; }
.peek-image { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 13px; background: var(--panel); }
.peek-image img, .peek-image video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--ease-out-soft), opacity 500ms var(--ease-out-soft); }
.peek-image video { opacity: 0; }
.peek:hover .peek-image video.on { opacity: 1; }
.peek:hover .peek-image img { transform: scale(1.02); }
/* GML's plate has a stray word at its right edge: a small zoom keeps it out of frame. */
.peek-image img.peek-gml { transform: scale(1.12); }
.peek:hover .peek-image img.peek-gml { transform: scale(1.14); }
.peek-text { display: block; margin-top: 14px; font-size: 18px; line-height: 26px; }
.peek-text b { font-weight: 600; }
.peek-text span { color: var(--ink-muted); transition: color 480ms var(--ease-out-soft); }
.peek:hover .peek-text span { color: var(--sky-deep); }
.peek:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; border-radius: 13px; }

/* Opening, once per session. The head script adds .intro; the loader adds .intro-go to start the hero reveal
   as the wordmark leaves, and .intro-done when it has gone. */
.loader { display: none; }
html.intro:not(.intro-done) .loader { display: block; position: fixed; inset: 0; z-index: 100; background: var(--ground); }
html.intro:not(.intro-done) body { overflow: hidden; }
.loader-mover { position: absolute; inset: 0; }
.loader-mark { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: clamp(44px, 9.4vw, 120px); }
.loader-mark span { display: inline-block; opacity: 0; }
.loader-mark i { display: inline-block; width: 0; height: 0; vertical-align: baseline; }
.loader-o { position: absolute; box-sizing: border-box; border: 0 solid var(--ink); opacity: 0; }
.loader-o.bb-field { position: absolute; }

html.intro .bb-header__bar { opacity: 0; }
html.intro .hero h1 { opacity: 0; }
html.intro .hero .actions, html.intro .hero-work { opacity: 0; }
html.intro.intro-go .bb-header__bar { animation: intro-fade var(--duration-move) var(--ease-out-soft) 250ms both; }
html.intro.intro-go .hero h1 { animation: bb-fade-up var(--duration-reveal) var(--ease-out-soft) both; }
html.intro.intro-go .hero .actions { animation: bb-fade-up var(--duration-move) var(--ease-out-soft) both; animation-delay: calc(2 * var(--duration-stagger) + 120ms); }
html.intro.intro-go .hero-work { animation: intro-peek var(--duration-reveal) var(--ease-out-soft) 500ms both; }
@keyframes intro-peek { from { opacity: 0; transform: translate3d(0, 64px, 0); } to { opacity: 1; transform: none; } }
@keyframes intro-fade { from { opacity: 0; } to { opacity: 1; } }

/* Belief */
.belief p { margin: 0; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.25; font-weight: 400; letter-spacing: -0.02em; text-wrap: balance; }

/* Featured case study */
.case-head { align-items: start; margin-bottom: 40px; row-gap: 24px; }
.case-head .side { padding-top: 12px; }
.case-head .h2 { grid-column: 4 / span 6; }
.case-head .more { grid-column: 10 / -1; justify-self: end; align-self: end; }
.case-image { margin: 0; }
.case-video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 13px; background: var(--panel); }
.case-image figcaption { margin-top: 12px; font-size: 13px; line-height: 18px; color: var(--ink-muted); }
/* Summary beside the numbers. The numbers follow the T1 Energy reference on the Webdesign board:
   no rules, stacked with room between them, light and large, each with a small capitals caption. */
.case-summary { margin-top: 64px; row-gap: 48px; align-items: start; }
.case-text { grid-column: 1 / span 9; grid-row: 2; margin: 0; max-width: none; font-size: 20px; line-height: 30px; letter-spacing: -0.01em; }
/* The numbers come first, in a row across the full width of the video, then the paragraph below on the same left edge. */
.stats { grid-column: 1 / -1; grid-row: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px var(--gutter); }
.stat { display: flex; flex-direction: column; gap: 12px; }
.stat-num { margin: 0; font-size: clamp(48px, 5vw, 72px); line-height: 0.95; font-weight: 300; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.stat-label { margin: 0; max-width: 260px; font-size: 11px; line-height: 16px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); }

/* How we help: one sentence with the three verbs in their service colours, and all three answers visible below.
   Pointing at a verb or a column (or focusing a verb) brings that column forward and dims the other two. */
.help-line { margin: 0 0 56px; max-width: 1040px; font-size: clamp(28px, 3.2vw, 48px); line-height: 1.3; font-weight: 400; letter-spacing: -0.03em; }
.help-verb { all: unset; cursor: pointer; font-weight: 600; border-radius: 4px; }
.help-verb:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.help-verb[data-i="0"] { color: var(--sky-deep); }
.help-verb[data-i="1"] { color: var(--grass-deep); }
.help-verb[data-i="2"] { color: var(--evening-blue); }
.help-cols { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px var(--gutter); }
.help-col { transition: opacity 400ms var(--ease-out-soft); }
.help-cols.focus .help-col { opacity: 0.3; }
.help-cols.focus .help-col.on { opacity: 1; }
.help-swatch { display: block; width: 44px; height: 44px; border-radius: 12px; margin-bottom: 18px; }
.help-col h3 { margin: 0 0 6px; font-size: 22px; line-height: 28px; font-weight: 500; letter-spacing: -0.015em; }
.help-col p { margin: 0 0 14px; color: var(--ink-muted); }
.help-col ul { margin: 0; padding: 0; list-style: none; font-size: 15px; line-height: 26px; }

/* Compass: three still field panels (as on the Lynkk reference in the Webdesign board), each holding one real
   element of Compass in a white window, with the point's title and line beneath. No rules. */
.compass-text { display: flex; flex-direction: column; gap: 24px; }
.cmps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px var(--gutter); }
.cmp { display: flex; flex-direction: column; }
.cmp-panel { aspect-ratio: 4 / 5; border-radius: 13px; display: flex; align-items: center; justify-content: center; padding: 9%; margin-bottom: 24px; }
.cmp-window { position: relative; margin: 0; width: 100%; border-radius: 10px; background: #ffffff; box-shadow: 0 1px 2px rgba(11, 10, 9, 0.08), 0 12px 32px rgba(11, 10, 9, 0.14); }
.cmp-window > img:first-child { display: block; width: 100%; height: auto; border-radius: inherit; }
/* "Say yes": the review panel and the approve buttons as two separate windows, one above the other, with a gap. */
.cmp-window--stack { background: none; box-shadow: none; }
.cmp-window--stack > img:first-child { background: #ffffff; box-shadow: 0 1px 2px rgba(11, 10, 9, 0.08), 0 12px 32px rgba(11, 10, 9, 0.14); }
.cmp-float { display: block; width: 92%; height: auto; margin: 14px auto 0; border-radius: 8px; background: #ffffff; box-shadow: 0 1px 2px rgba(11, 10, 9, 0.1), 0 10px 28px rgba(11, 10, 9, 0.2); }
.cmp-title { margin: 0; font-size: 20px; line-height: 28px; font-weight: 500; letter-spacing: -0.01em; }
.cmp-line { margin: 8px 0 0; max-width: 360px; color: var(--ink-muted); }

/* Close */
.close .h2 { margin-bottom: 24px; }
.close .muted { max-width: 520px; margin-bottom: 40px; }
/* Enquiry, step by step: the intro on the left, one question at a time on the right. Step 1 picks services,
   each filling with its field; steps 2 to 4 are single taps that move on; step 5 asks how to reach them. */
.ask-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr); gap: 48px var(--gutter); align-items: start; }
.ask-intro .muted { max-width: 380px; margin-bottom: 0; }
.ask-intro .ask-email { margin-top: 32px; font-size: 15px; }
.ask-email .bb-link { color: var(--ink); }
.ask { margin: 0; }
.ask[hidden] { display: none; }
.ask-count { margin: 6px 0 16px; font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); }
.ask-step { margin: 0; padding: 0; border: 0; min-width: 0; animation: bb-fade-up var(--duration-move) var(--ease-out-soft) both; }
.ask-step[hidden] { display: none; }
.ask-q { padding: 0; margin: 0 0 8px; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; font-weight: 500; letter-spacing: -0.02em; outline: none; }
.ask-hint { margin: 0 0 24px; color: var(--ink-muted); font-size: 15px; }
.ask-q + .ask-picks, .ask-q + .ask-opts, .ask-q + .ask-summary { margin-top: 24px; }
.ask-picks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ask-pick { position: relative; overflow: hidden; isolation: isolate; text-align: left; font: inherit; padding: 20px 20px 18px; min-height: 128px; border-radius: 13px; border: 1.5px solid var(--rule); background: var(--ground); color: var(--ink); cursor: pointer; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; transition: border-color var(--duration-quick); }
.ask-pick:hover { border-color: var(--ink); }
.ask-pick b { font-size: 18px; line-height: 24px; font-weight: 500; letter-spacing: -0.01em; }
.ask-pick span { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.ask-pick .bb-field { position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 360ms var(--ease-out-soft); }
.ask-pick[aria-pressed="true"] { border-color: transparent; }
.ask-pick[aria-pressed="true"] .bb-field { opacity: 1; }
.ask-pick[aria-pressed="true"] span { color: var(--on-field); }
.ask-pick--dark[aria-pressed="true"], .ask-pick--dark[aria-pressed="true"] span { color: #fff; }
.ask-pick:focus-visible, .ask-opt:focus-visible, .ask-back:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.ask-opts { display: flex; flex-direction: column; gap: 10px; }
.ask-opt { font: inherit; font-size: 17px; line-height: 24px; text-align: left; padding: 14px 20px; border-radius: 13px; border: 1.5px solid var(--rule); background: var(--ground); color: var(--ink); cursor: pointer; transition: border-color var(--duration-quick), background-color var(--duration-quick), color var(--duration-quick); }
.ask-opt:hover { border-color: var(--ink); }
.ask-opt[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.ask-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
.ask-back { font: inherit; font-size: 15px; background: none; border: 0; padding: 0; margin-left: auto; color: var(--ink-muted); cursor: pointer; }
.ask-back:hover { color: var(--ink); }
.ask-or { color: var(--ink-muted); }
.ask-or .bb-link { color: var(--ink); font-weight: 500; }
.ask-summary { margin: 0 0 24px; font-size: 15px; line-height: 24px; color: var(--ink-muted); }
.ask-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px var(--gutter); }
.ask-wide { grid-column: 1 / -1; }
.ask-optional { font-weight: 400; color: var(--ink-muted); }
.ask-note { height: auto; min-height: 104px; padding: 12px 16px; line-height: 24px; resize: vertical; font-family: var(--font-sans); }
.ask-done { margin: 6px 0 0; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.3; letter-spacing: -0.02em; outline: none; }

@media (max-width: 1023px) {
  .ask-grid { grid-template-columns: minmax(0, 1fr); }
  .side, .main, .case-head .h2, .case-head .more { grid-column: 1 / -1; justify-self: start; }
  .side { margin-bottom: 24px; }
  .case-text { grid-column: 1 / -1; }
  .stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
}
@media (max-width: 767px) {
  :root { --margin: 16px; --section: 88px; }
  .hero { --peek: 120px; }
  .hero .actions { margin-top: 32px; }
  .hero h1 { text-wrap: balance; }
  .hero-break { display: none; }
  .hero-logo { display: inline; }
  .peek { grid-column: 1 / -1; }
  .peek-text { font-size: 16px; line-height: 24px; }
  .stats { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .case-text { font-size: 18px; line-height: 28px; }
  .help-cols { grid-template-columns: minmax(0, 1fr); }
  .help-line { margin-bottom: 40px; }
  .cmps { grid-template-columns: minmax(0, 1fr); }
  .cmp-panel { aspect-ratio: auto; padding: 12% 12% 14%; }
  .ask-picks, .ask-fields { grid-template-columns: minmax(0, 1fr); }
  .ask-pick { min-height: 0; }
}

/* ---------- Case study pages ----------
   Every part is a section inside <main>, so Galley can add, move and remove them.
   Section types: case-head, case-cover, chapter, pictures (pictures--1, --2, --3), case-film, next-case. */
.case-head { padding: 184px 0 64px; }
.case-title { margin: 0 0 32px; font-size: clamp(56px, 8vw, 128px); line-height: 0.95; font-weight: 500; letter-spacing: -0.045em; }
.case-lead { margin: 0 0 48px; max-width: 900px; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.25; letter-spacing: -0.02em; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px var(--gutter); }
.facts dt { margin: 0 0 4px; font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); }
.facts dd { margin: 0; font-size: 16px; line-height: 24px; }
.case-cover { padding: 24px 0 0; }
.case-film { padding: 24px 0; }
.film { margin: 0; }
.film video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 13px; background: var(--panel); }
.film figcaption, .pic figcaption { margin-top: 12px; font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.pic figcaption:empty { display: none; }
.chapter { padding: 120px 0; }
.chapter-text { margin: 0; max-width: 900px; font-size: clamp(20px, 2vw, 26px); line-height: 1.4; letter-spacing: -0.015em; }
.stats--inline { margin-top: 64px; }
.pictures { padding: 24px 0; }
.pictures .grid { row-gap: 24px; align-items: start; }
.pic { margin: 0; grid-column: span 12; }
.pic img, .pic video { display: block; width: 100%; height: auto; border-radius: 13px; background: var(--panel); }
.pictures--2 .pic { grid-column: span 6; }
.pictures--3 .pic { grid-column: span 4; }
.next-case { padding: 160px 0 144px; }
.next-link { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); column-gap: var(--gutter); align-items: baseline; color: inherit; text-decoration: none; }
.next-name { font-size: clamp(40px, 6vw, 96px); line-height: 1; font-weight: 500; letter-spacing: -0.045em; transition: color 480ms var(--ease-out-soft); }
.next-arrow { grid-column: 2; font-size: 32px; margin-top: 16px; transition: transform 480ms var(--ease-out-soft); }
.next-link:hover .next-name { color: var(--sky-deep); }
.next-link:hover .next-arrow { transform: translateX(8px); }
.next-link:focus-visible { outline: 2px solid var(--ink); outline-offset: 8px; border-radius: 4px; }
@media (max-width: 1023px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .next-link { grid-template-columns: 1fr; row-gap: 12px; }
  .next-arrow { grid-column: 1; }
}
@media (max-width: 767px) {
  .case-head { padding: 120px 0 40px; }
  .chapter { padding: 72px 0; }
  .pictures--2 .pic, .pictures--3 .pic { grid-column: 1 / -1; }
  .next-case { padding: 96px 0; }
}

/* ---------- Legal pages ----------
   A head, then one clause per section: its heading in the left columns, its text in the main column. */
.legal-head { padding: 184px 0 48px; }
.legal-date { margin: 0; color: var(--ink-muted); }
.legal-draft { display: inline-block; margin: 20px 0 0; padding: 6px 12px; border-radius: 9px; background: var(--panel); font-size: 14px; line-height: 20px; }
.clause { padding: 28px 0; }
.clause-title { margin: 4px 0 0; font-size: 16px; line-height: 24px; font-weight: 600; }
.clause-text { max-width: 720px; }
.clause-text p { margin: 0 0 16px; font-size: 17px; line-height: 28px; }
.clause-text p:last-child { margin-bottom: 0; }
.legal-head + .clause { padding-top: 56px; }
main > .clause:last-child { padding-bottom: 144px; }
@media (max-width: 1023px) { .clause .side { margin-bottom: 8px; } }
@media (max-width: 767px) { .legal-head { padding: 120px 0 32px; } }

/* ---------- Compass page ----------
   The product page, after SaaS explainers (terms.so, Calendly, Fernand, Lovable): a Sky field hero with the real
   board beneath it, the platforms, the client's journey as connected step cards with small coded demos, a bento of
   the rest, a quote, a note from the studio, Safe by design, questions and a closing card. White cards with board
   corners sit on the pale panel ground; the rest of the site stays Swiss. Every part is a section in <main>. */
.page-compass { background: var(--panel); }
.page-compass .bb-footer { background: var(--panel); }
.cx-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.cx-head .label { margin-bottom: 16px; }
.cx-head .muted { margin-top: 18px; font-size: 18px; line-height: 28px; text-wrap: balance; }
.cx-flow, .cx-bento, .cx-safe { padding-top: 160px; }

/* Hero: the field runs under the header and stops partway down the board, which hangs over the pale ground. */
.cx-hero { position: relative; padding: 168px 0 0; text-align: center; }
.cx-hero-field.bb-field { position: absolute; inset: 0 0 clamp(96px, 15vw, 240px) 0; border-radius: 0 0 32px 32px; }
.cx-hero .wrap { position: relative; }
.cx-tag { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 7px 14px 7px 9px; border-radius: 10px; background: rgba(255, 255, 255, 0.55); font-size: 14px; line-height: 20px; font-weight: 500; }
.cx-tag-o { width: 26px; height: 16px; border: 2.5px solid currentColor; border-radius: 5px; }
.cx-title { margin: 28px 0 0; font-size: clamp(48px, 7.6vw, 116px); line-height: 0.98; font-weight: 500; letter-spacing: -0.05em; }
.cx-title span { display: block; }
.cx-lead { margin: 32px auto 0; max-width: 620px; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; letter-spacing: -0.01em; text-wrap: balance; }
.cx-hero .actions { justify-content: center; margin-top: 36px; }
.cx-shot { margin: 80px auto 0; max-width: 1200px; padding: 8px; border-radius: 24px; background: rgba(255, 255, 255, 0.45); box-shadow: 0 2px 4px rgba(11, 10, 9, 0.04), 0 24px 64px rgba(11, 10, 9, 0.16); }
.cx-shot-frame { position: relative; aspect-ratio: 2880 / 1180; overflow: hidden; border-radius: 17px; background: #fff; }
.cx-shot img { position: absolute; inset: 0; width: 100%; height: auto; }

html.intro .cx-hero .wrap > * { opacity: 0; }
html.intro.intro-go .cx-hero .wrap > * { animation: bb-fade-up var(--duration-reveal) var(--ease-out-soft) both; }
html.intro.intro-go .cx-hero .cx-title { animation-delay: 80ms; }
html.intro.intro-go .cx-hero .cx-lead { animation-delay: 180ms; }
html.intro.intro-go .cx-hero .actions { animation-delay: 260ms; }
html.intro.intro-go .cx-hero .cx-shot { animation: intro-peek var(--duration-reveal) var(--ease-out-soft) 420ms both; }

/* Platforms */
.cx-platforms { padding-top: 88px; text-align: center; }
.cx-logos { margin: 28px auto 0; padding: 0; max-width: 1200px; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 36px; color: var(--ink-muted); font-size: 15px; font-weight: 500; }
.cx-logos li { display: inline-flex; align-items: center; gap: 10px; }
.cx-logos svg { width: 22px; height: 22px; fill: currentColor; }

/* The journey: four white step cards joined by a line, each with words on the left and a demo on a field. */
.cx-steps { max-width: 1200px; margin: 0 auto; padding: 0; list-style: none; }
.cx-step { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 56px; align-items: center; padding: 16px 16px 16px 48px; border-radius: 24px; background: #fff; }
.cx-step + .cx-step { margin-top: 56px; }
.cx-step + .cx-step::before { content: ""; position: absolute; left: 69px; top: -56px; width: 2px; height: 56px; background: repeating-linear-gradient(to bottom, var(--control-border) 0 4px, transparent 4px 9px); }
.cx-num { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 28px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.cx-step-title { margin: 20px 0 12px; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; font-weight: 500; letter-spacing: -0.025em; }
.cx-step-text > .muted { font-size: 17px; line-height: 27px; }
.cx-points { margin: 20px 0 0; padding: 0; list-style: none; font-size: 15px; line-height: 24px; }
.cx-points li { position: relative; padding-left: 26px; }
.cx-points li + li { margin-top: 8px; }
.cx-points li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border-left: 2px solid var(--sky-deep); border-bottom: 2px solid var(--sky-deep); transform: rotate(-45deg); }
.cx-demo.bb-field { aspect-ratio: 7 / 5; border-radius: 16px; padding: 5%; display: flex; align-items: center; justify-content: center; }

/* The demos are built from Compass's own UI: its font (Schibsted Grotesk), colours, platform chips, status colours,
   tactile "lip" buttons, review stepper and pins, month page and activity history (see ~/code/Compass globals.css,
   PlatformIcon.tsx, CalendarView.tsx, ReviewClient.tsx). Verve Coffee Co.'s accent is the demo client's colour. */
.cmp-ui {
  --c-ink: #1b1b1b; --c-muted: #6b7280; --c-line: #e3e9e3; --c-paper2: #f0f5f0; --c-chip: rgba(27, 27, 27, 0.06);
  --c-go: #1da45c; --c-go-lip: #15813f; --c-soft-bg: #f4f4f5; --c-soft-lip: #d4d4d8; --c-accent: #b4461f;
  font-family: "Schibsted Grotesk", Inter, system-ui, sans-serif; color: var(--c-ink); font-size: 13px; line-height: 18px; letter-spacing: -0.006em;
}
.cmp-win { width: 100%; margin: 0; border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(11, 10, 9, 0.08), 0 16px 40px rgba(11, 10, 9, 0.18); }
.cmp-card { border-radius: 16px; border: 1px solid var(--c-line); background: #fff; box-shadow: 0 1px 2px rgba(11, 10, 9, 0.06), 0 16px 40px rgba(11, 10, 9, 0.16); }
.cmp-eyebrow { margin-bottom: 8px; font-size: 11px; line-height: 14px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: var(--c-muted); }
.cmp-muted { color: var(--c-muted); }
.cmp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 16px; border-radius: 10px; font-weight: 700; font-size: 13px; line-height: 1.2; letter-spacing: -0.01em; white-space: nowrap; }
.cmp-btn--sm { padding: 6px 10px; font-size: 12px; }
.cmp-btn--soft { background: var(--c-soft-bg); color: #18181b; box-shadow: 0 3px 0 var(--c-soft-lip); }
.cmp-btn--go { position: relative; background: var(--c-go); color: #fff; box-shadow: 0 4px 0 var(--c-go-lip); }
.cmp-pi { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; flex: none; border-radius: 6px; background: var(--t); color: var(--k); }
.cmp-pi svg { width: 10px; height: 10px; fill: currentColor; }
.cmp-pi--instagram { --t: #c1358414; --k: #a02b5f; }
.cmp-pi--facebook { --t: #1877f214; --k: #1877f2; }
.cmp-pi--x { --t: #1b1b1b14; --k: #1b1b1b; }
.cmp-pi--linkedin { --t: #0a66c214; --k: #0a4e96; }
.cmp-pi--tiktok { --t: #11111114; --k: #141414; }
.cmp-avatar, .cx-avatar { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--c-accent, #b4461f); color: #fff; font-size: 15px; font-weight: 600; }

/* 01 Plan: Compass's month calendar. Days with posts are white cards on the pale board; chips carry the platform. */
.cmp-cal { padding: 14px; }
.cmp-cal-top { display: flex; justify-content: space-between; align-items: center; margin: 0 2px 12px; }
.cmp-cal-top b { font-size: 17px; font-weight: 700; letter-spacing: -0.017em; }
.cmp-cal-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; padding: 8px; border-radius: 12px; background: var(--c-paper2); }
.cmp-cal-dow { padding: 0 4px; font-size: 10px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--c-muted); }
.cmp-cal-cell { min-height: 76px; padding: 6px; border-radius: 8px; display: flex; flex-direction: column; gap: 5px; }
.cmp-cal-cell.is-full { background: #fff; }
.cmp-cal-date { padding: 0 2px; font-size: 12px; font-weight: 500; color: var(--c-muted); }
.cmp-chip { display: flex; align-items: flex-start; gap: 6px; min-width: 0; padding: 4px 6px; border-radius: 6px; border: 1px solid var(--c-line); background: #fff; font-size: 11px; line-height: 14px; }
.cmp-chip > span:last-child { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }

/* 02 Review: the post preview with pins, beside the Pinned feedback card. */
.cmp-review { position: relative; width: 100%; height: 100%; }
.cmp-preview { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 50%; padding: 6px; }
.cmp-preview img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 11px; }
.cmp-pin { position: absolute; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50% 50% 50% 4px; border: 2px solid #fff; background: var(--c-accent); color: #fff; font-size: 12px; font-weight: 700; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); }
.cmp-pin--1 { left: 26%; top: 47%; }
.cmp-pin--2 { left: 60%; top: 9%; }
.cmp-feedback { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 56%; padding: 18px; }
.cmp-fb { display: flex; gap: 8px; align-items: flex-start; }
.cmp-fb + .cmp-fb { margin-top: 10px; }
.cmp-fb b { font-weight: 500; }
.cmp-n { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; flex: none; border-radius: 50%; background: var(--c-accent); color: #fff; font-size: 10px; font-weight: 700; }

/* 03 Approve: the review stepper, the caption card and the floating action dock. */
.cmp-approve { width: 100%; display: flex; flex-direction: column; gap: 12px; }
.cmp-stepper { display: flex; align-items: flex-start; padding: 16px 18px 14px; }
.cmp-step { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; color: var(--c-muted); }
.cmp-step:first-child { align-items: flex-start; }
.cmp-step--last { align-items: flex-end; }
.cmp-step i { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--c-line); background: #fff; font-style: normal; font-size: 12px; font-weight: 700; color: var(--c-muted); }
.cmp-step.is-done i { border-color: var(--c-accent); background: var(--c-accent); color: #fff; }
.cmp-step.is-done span { color: var(--c-ink); }
.cmp-step i em { font-style: normal; display: none; }
.cmp-step-line { position: relative; flex: 1; height: 2px; margin: 13px 6px 0; background: var(--c-line); }
.cmp-step-line b { position: absolute; inset: 0; background: var(--c-accent); }
.cmp-caption { display: flex; gap: 12px; align-items: center; padding: 12px 16px 12px 12px; }
.cmp-caption img { width: 44px; height: 55px; flex: none; object-fit: cover; border-radius: 6px; }
.cmp-caption p { margin: 0; font-size: 13px; }
.cmp-caption .cmp-eyebrow { margin-bottom: 2px; }
.cmp-dock { align-self: center; display: flex; gap: 10px; padding: 10px 10px 14px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.6); background: rgba(255, 255, 255, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 48px rgba(11, 10, 9, 0.2); }
.cmp-yes-a { display: none; }

/* 04 Report: the closed month page. */
.cmp-month { padding: 18px 20px; }
.cmp-month-head { display: flex; gap: 12px; align-items: center; }
.cmp-month-head > div { flex: 1; min-width: 0; }
.cmp-month-head b { display: block; font-size: 20px; line-height: 24px; font-weight: 700; letter-spacing: -0.02em; }
.cmp-month-head div span { color: var(--c-muted); font-size: 12px; }
.cmp-month > .cmp-m { margin: 14px 0 0; }
.cmp-month h4 { margin: 0 0 6px; font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.cmp-month p { margin: 0; }
.cmp-row { display: flex; justify-content: space-between; align-items: center; padding: 5px 0; border-top: 1px solid var(--c-line); font-variant-numeric: tabular-nums; }
.cmp-row > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.cmp-row--head { border-top: 0; padding-top: 0; font-size: 11px; color: var(--c-muted); }

/* Bento: the post's Activity History, a node per action in its kind's colour. */
.cmp-history { padding: 16px 18px; list-style: none; }
.cmp-history li { position: relative; display: flex; gap: 12px; padding-bottom: 14px; }
.cmp-history li:last-child { padding-bottom: 0; }
.cmp-history li:not(:last-child)::after { content: ""; position: absolute; left: 9px; top: 22px; bottom: 2px; width: 2px; background: var(--c-line); }
.cmp-history i { flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--k); box-shadow: inset 0 0 0 5px color-mix(in srgb, var(--k) 18%, #fff); }
.cmp-history span { font-size: 12px; color: var(--c-muted); }
.cmp-history b { display: block; color: var(--c-ink); font-size: 13px; font-weight: 600; }

/* Bento: a wide tile and four smaller ones. Real screens sit offset in each tile, cropped by its edges. */
.cx-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; max-width: 1200px; margin: 0 auto; }
.cx-tile { grid-column: span 2; display: flex; flex-direction: column; margin: 0; padding: 10px; border-radius: 24px; background: #fff; }
.cx-tile--wide { grid-column: span 4; }
.cx-tile-media.bb-field { flex: 1; min-height: 340px; border-radius: 16px; }
/* Each screen sits in a white window with the field showing on its left and top; the window runs off the right
   and bottom of the tile, like a screen extending past view. */
.cx-tile-shot { position: absolute; left: 8%; top: 10%; bottom: -24px; width: 140%; overflow: hidden; padding: 18px 0 0 20px; border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(11, 10, 9, 0.08), 0 14px 36px rgba(11, 10, 9, 0.14); }
.cx-tile-shot img { display: block; width: 100%; max-width: none; height: auto; }
.cx-tile--wide .cx-tile-shot { left: 6%; width: 108%; }
.cx-tile-text { padding: 20px 14px 14px; }
.cx-tile-text .muted { margin-top: 6px; font-size: 15px; line-height: 23px; }
.cx-tile-media--log .cmp-history { position: absolute; left: 8%; top: 10%; bottom: -24px; width: 140%; margin: 0; padding: 22px 24px; border-radius: 14px; }

/* Quote */
.cx-quote { padding-top: 160px; }
.cx-quote figure { max-width: 980px; margin: 0 auto; text-align: center; }
.cx-quote blockquote { margin: 0; }
.cx-quote blockquote p { margin: 0; font-size: clamp(24px, 2.8vw, 38px); line-height: 1.3; letter-spacing: -0.025em; text-wrap: balance; }
.cx-quote figcaption { display: inline-flex; align-items: center; gap: 12px; margin-top: 32px; text-align: left; font-size: 15px; line-height: 20px; color: var(--ink-muted); }
.cx-quote figcaption b { display: block; color: var(--ink); font-weight: 600; }
.cx-avatar--lg { width: 44px; height: 44px; background: var(--sky); color: var(--ink); font-family: var(--font-sans); font-size: 18px; }

/* A note from the studio: a letter on a white card. */
.cx-note { padding-top: 160px; }
.cx-letter { max-width: 760px; margin: 0 auto; padding: clamp(32px, 5vw, 64px); border-radius: 24px; background: #fff; }
.cx-letter-title { margin: 14px 0 24px; font-size: clamp(28px, 2.6vw, 36px); line-height: 1.1; font-weight: 500; letter-spacing: -0.025em; }
.cx-letter > p:not(.label) { margin: 0 0 18px; font-size: 18px; line-height: 30px; }
.cx-sign { display: flex; flex-direction: column; gap: 10px; margin: 32px 0 0 !important; color: var(--ink-muted); font-size: 15px !important; line-height: 20px !important; }
.cx-sign-logo { font-size: 18px; color: var(--ink); }

/* Safe by design: four small cards. */
.cx-safe-grid { max-width: 1200px; margin: 0 auto; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.cx-safe-grid li { padding: 28px 24px; border-radius: 24px; background: #fff; }
.cx-safe-icon { width: 28px; height: 28px; margin-bottom: 24px; fill: none; stroke: var(--sky-deep); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cx-safe-grid .muted { margin-top: 8px; font-size: 15px; line-height: 23px; }

/* Questions: the heading on the left, the answers open one by one on the right. */
.cx-faq { padding-top: 160px; }
.cx-faq .grid { max-width: 1328px; row-gap: 32px; }
.cx-faq-head { grid-column: 1 / span 4; }
.cx-faq-head .h2 { margin: 16px 0; }
.cx-faq-list { grid-column: 6 / -1; border-top: 1px solid var(--rule); }
.cx-faq details { border-bottom: 1px solid var(--rule); }
.cx-faq summary { position: relative; display: block; padding: 22px 48px 22px 0; font-size: 18px; line-height: 26px; font-weight: 500; letter-spacing: -0.01em; cursor: pointer; list-style: none; }
.cx-faq summary::-webkit-details-marker { display: none; }
.cx-faq summary::before, .cx-faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 2px; background: var(--ink); transition: transform var(--duration-quick) var(--ease-out-soft); }
.cx-faq summary::after { transform: rotate(90deg); }
.cx-faq details[open] summary::after { transform: rotate(0deg); }
.cx-faq summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 4px; }
.cx-faq details p { margin: -6px 0 24px; max-width: 620px; color: var(--ink-muted); font-size: 16px; line-height: 26px; }

/* Close: an Evening card. Keeps the closer class for Galley. */
.closer.cx-close { padding: 160px 0 120px; }
.cx-close-card.bb-field { max-width: 1200px; margin: 0 auto; padding: clamp(64px, 9vw, 120px) 24px; border-radius: 32px; text-align: center; }
.cx-close-card .h2 { margin: 0 auto 16px; max-width: 760px; }
.cx-close-card p { margin: 0 auto 36px; max-width: 480px; opacity: 0.8; font-size: 18px; line-height: 28px; }
.cx-close-card .actions { justify-content: center; }

/* Demos play once as they come into view (site.js adds cx-anim and then is-on). Without the script, or with
   reduced motion, they show their end state. */
html.cx-anim [data-demo] .cmp-chip,
html.cx-anim [data-demo] .cmp-history li,
html.cx-anim [data-demo] .cmp-m { transition: opacity 500ms var(--ease-out-soft), transform 600ms var(--ease-out-soft); transition-delay: calc(var(--d) * 160ms + 150ms); }
html.cx-anim [data-demo]:not(.is-on) .cmp-chip,
html.cx-anim [data-demo]:not(.is-on) .cmp-history li,
html.cx-anim [data-demo]:not(.is-on) .cmp-m { opacity: 0; transform: translateY(8px); }

html.cx-anim [data-demo] .cmp-pin { transition: opacity 300ms var(--ease-out-soft), transform 600ms cubic-bezier(0.34, 1.56, 0.64, 1); }
html.cx-anim [data-demo] .cmp-pin--1 { transition-delay: 300ms; }
html.cx-anim [data-demo] .cmp-pin--2 { transition-delay: 1300ms; }
html.cx-anim [data-demo]:not(.is-on) .cmp-pin { opacity: 0; transform: translateY(-14px) scale(0.4); }
html.cx-anim [data-demo] .cmp-feedback { transition: opacity 500ms var(--ease-out-soft) 600ms; }
html.cx-anim [data-demo]:not(.is-on) .cmp-feedback { opacity: 0; }
html.cx-anim [data-demo] .cmp-fb { transition: opacity 500ms var(--ease-out-soft), transform 600ms var(--ease-out-soft); }
html.cx-anim [data-demo] .cmp-fb--1 { transition-delay: 700ms; }
html.cx-anim [data-demo] .cmp-fb--2 { transition-delay: 1600ms; }
html.cx-anim [data-demo]:not(.is-on) .cmp-fb { opacity: 0; transform: translateY(6px); }

/* Approve: In Review is current (2), the button is pressed, then In Review ticks and the line runs to Approved. */
html.cx-anim [data-demo] .cmp-step i em { display: inline; position: absolute; transition: opacity 200ms ease 1200ms; }
html.cx-anim [data-demo] .cmp-step i strong { transition: opacity 200ms ease 1200ms; }
html.cx-anim [data-demo] .cmp-step--last i { transition: background-color 300ms ease 1900ms, border-color 300ms ease 1900ms, color 300ms ease 1900ms; }
html.cx-anim [data-demo] .cmp-step--last i em, html.cx-anim [data-demo] .cmp-step--last i strong { transition-delay: 1900ms; }
html.cx-anim [data-demo]:not(.is-on) .cmp-step i strong { opacity: 0; }
html.cx-anim [data-demo].is-on .cmp-step i em { opacity: 0; }
html.cx-anim [data-demo]:not(.is-on) .cmp-step--last i { border-color: var(--c-line); background: #fff; color: var(--c-muted); }
html.cx-anim [data-demo] .cmp-step-line--last b { transform-origin: left; transition: transform 700ms var(--ease-in-out) 1300ms; }
html.cx-anim [data-demo]:not(.is-on) .cmp-step-line--last b { transform: scaleX(0); }
html.cx-anim [data-demo] .cmp-yes-a { display: inline; position: absolute; transition: opacity 200ms ease 1000ms; }
html.cx-anim [data-demo] .cmp-yes-b { transition: opacity 200ms ease 1000ms; }
html.cx-anim [data-demo]:not(.is-on) .cmp-yes-b, html.cx-anim [data-demo].is-on .cmp-yes-a { opacity: 0; }
html.cx-anim [data-demo].is-on .cmp-btn--go { animation: cmp-press 260ms ease-out 700ms; }
@keyframes cmp-press { 50% { transform: translateY(4px); box-shadow: 0 0 0 var(--c-go-lip); } }

@media (max-width: 1023px) {
  .cx-step { grid-template-columns: minmax(0, 1fr); padding: 32px 16px 16px; }
  .cx-step-text { padding: 0 16px; }
  .cx-step + .cx-step::before { left: 53px; }
  .cx-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cx-tile, .cx-tile--wide { grid-column: span 1; }
  .cx-tile--wide { grid-column: 1 / -1; }
  .cx-safe-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cx-faq-head, .cx-faq-list { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .cx-hero { padding-top: 128px; }
  .cx-title { letter-spacing: -0.045em; }
  .cx-tag { font-size: 13px; }
  .cx-shot { margin-top: 56px; padding: 5px; border-radius: 16px; }
  .cx-shot-frame { border-radius: 12px; }
  .cx-flow, .cx-bento, .cx-safe, .cx-quote, .cx-note, .cx-faq { padding-top: 104px; }
  .cx-head { margin-bottom: 40px; }
  .cx-logos { gap: 16px 24px; font-size: 14px; }
  .cx-demo.bb-field { aspect-ratio: auto; min-height: 340px; padding: 20px 12px; }
  .cmp-cal { padding: 10px; }
  .cmp-cal-grid { padding: 5px; gap: 4px; }
  .cmp-cal-cell { min-height: 64px; padding: 4px; }
  .cmp-chip { padding: 3px 4px; font-size: 10px; }
  .cmp-chip .cmp-pi { display: none; }
  .cmp-review { min-height: 380px; }
  .cmp-preview { top: 0; transform: none; width: 62%; }
  .cmp-feedback { top: auto; bottom: 0; transform: none; width: 78%; padding: 14px; }
  .cmp-dock { gap: 8px; }
  .cmp-btn { padding: 9px 12px; font-size: 12px; }
  .cx-tiles, .cx-safe-grid { grid-template-columns: minmax(0, 1fr); }
  .cx-tile-media.bb-field { min-height: 240px; }
  .cx-letter > p:not(.label) { font-size: 17px; line-height: 28px; }
  .closer.cx-close { padding: 104px 0 72px; }
  .cx-close-card.bb-field { border-radius: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html.intro .cx-hero .wrap > * { opacity: 1; animation: none; }
}

/* ---------- Services, Studio, Contact, 404, thanks ----------
   Swiss like the case studies: a case-head, then sections with a small label on the left and content from column 4.
   Section types: case-head, service, ways, page-faq, belief (with principles), pictures, who-section,
   contact-page, contact-next, contact-details, next-case. */
.svc-index { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px var(--gutter); }
.svc-jump { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; align-items: center; color: inherit; text-decoration: none; }
.svc-jump .help-swatch { grid-row: span 2; margin: 0; }
.svc-jump b { font-size: 18px; line-height: 24px; font-weight: 500; letter-spacing: -0.01em; transition: color 480ms var(--ease-out-soft); }
.svc-jump span:last-child { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.svc-jump:hover b { color: var(--sky-deep); }
.svc-jump:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; border-radius: 13px; }
.service { padding: 120px 0; scroll-margin-top: 48px; }
.service .help-swatch { margin-bottom: 16px; }
/* Services: the service's name sticks on the left while its detail scrolls on the right. */
.svc-stick { grid-column: 1 / span 5; position: sticky; top: 112px; align-self: start; }
.svc-stick .label { margin-bottom: 20px; }
.svc-detail { grid-column: 7 / -1; padding-top: 60px; }
.svc-detail .svc-text { margin-top: 0; color: var(--ink); font-size: 19px; line-height: 30px; }
.svc-detail .svc-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 48px; }
.svc-name { margin: 0; font-size: clamp(48px, 6vw, 96px); line-height: 0.95; font-weight: 500; letter-spacing: -0.045em; }
.svc-line { margin: 20px 0 0; max-width: 760px; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.3; letter-spacing: -0.02em; }
.svc-text { margin: 24px 0 0; max-width: 720px; font-size: 17px; line-height: 28px; color: var(--ink-muted); }
.svc-cols { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px var(--gutter); }
.svc-col .label { margin-bottom: 14px; }
.svc-col ul { margin: 0; padding: 0; list-style: none; font-size: 16px; line-height: 28px; }
.ways-body { grid-column: 4 / -1; }
.ways .cx-head { margin-bottom: 0; }
.ways .wrap > .ways-body { max-width: none; }
.ways .ways-note { margin-left: auto; margin-right: auto; text-align: center; }
/* Services FAQ and Contact sections: a centred head above the content, as on the Compass page. */
.page-faq .cx-faq-head { grid-column: 1 / -1; }
.page-faq .cx-faq-list { grid-column: 3 / span 8; }
.contact-body { max-width: 1120px; margin: 0 auto; }
.contact-body .facts { text-align: center; }
.ask-grid--full { grid-column: 1 / -1; }
/* Contact page: the enquiry centred in a rounded Daylight field, with white question cards on it. */
.ask-panel { grid-template-columns: minmax(0, 1fr); justify-items: center; row-gap: 48px; padding: 96px 48px 104px; border-radius: 13px; text-align: center; }
.ask-panel .ask-intro { max-width: 620px; }
.ask-panel .ask-intro .muted { max-width: none; margin-left: auto; margin-right: auto; color: var(--on-field); opacity: 0.72; }
.ask-panel .ask-intro .ask-email { margin-top: 20px; opacity: 1; }
.ask-panel .ask, .ask-panel .ask-done { width: 100%; max-width: 680px; }
.ask-panel .ask { text-align: left; }
.ask-panel .ask-count, .ask-panel .ask-q, .ask-panel .ask-hint, .ask-panel .ask-summary { width: 100%; text-align: center; color: var(--on-field); }
.ask-panel .ask-count, .ask-panel .ask-hint, .ask-panel .ask-summary { opacity: 0.72; }
.ask-panel .ask-nav { justify-content: center; }
.ask-panel .ask-back { margin-left: 0; }
.ask-panel .ask-or { color: var(--on-field); }
.ask-panel .ask-pick:not([aria-pressed="true"]), .ask-panel .ask-opt:not([aria-pressed="true"]) { border-color: transparent; }
.ask-panel .ask-pick:hover, .ask-panel .ask-opt:hover { border-color: var(--ink); }
.ways-list { margin: 48px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.way { display: flex; flex-direction: column; padding: 28px 24px 32px; border-radius: 13px; background: var(--panel); }
.way-name { margin: 0; font-size: 22px; line-height: 28px; font-weight: 500; letter-spacing: -0.015em; }
.way-line { margin: 8px 0 0; color: var(--ink-muted); }
.way-price { margin: 32px 0 20px; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.15; font-weight: 300; letter-spacing: -0.03em; }
.way ul { margin: auto 0 0; padding: 0; list-style: none; font-size: 15px; line-height: 26px; }
.ways-note { margin-top: 24px; max-width: 620px; font-size: 15px; }
.page-faq { padding-top: var(--section); }
.page-faq .cx-faq-head .muted { margin-top: 0; }
.principles { margin: 64px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px var(--gutter); }
.principle h3, .who h3, .step h3 { margin: 0 0 8px; font-size: 20px; line-height: 28px; font-weight: 500; letter-spacing: -0.01em; }
.principle p, .who p, .step p:not(.label) { margin: 0; max-width: 440px; color: var(--ink-muted); }
.belief .principle p { font-size: 16px; line-height: 26px; letter-spacing: 0; }
/* A labelled picture slot: a still field holding the name of the photograph still to come. */
.slot { display: flex; align-items: center; justify-content: center; width: 100%; border-radius: 13px; }
.slot span { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--on-field); }
.slot.bb-field--evening span { color: #fff; }
.whos { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px var(--gutter); }
.who-link { margin-top: 14px !important; color: var(--ink) !important; }
.contact-page { padding-top: 184px; }
.contact-page h1.h2 { margin-bottom: 24px; }
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px var(--gutter); }
.step .label { margin-bottom: 16px; }
.contact-details { padding-top: 0; }
.contact-next .steps { text-align: center; }
.contact-next .step p:not(.label) { margin: 0 auto; }
.contact-details .bb-link { color: var(--ink); }
.page-short { min-height: 100svh; padding-bottom: 144px; }
.quick-links { margin: 0 0 40px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 12px 32px; font-size: 20px; line-height: 28px; }
.thanks-while { margin-bottom: 12px; }
@media (max-width: 1023px) {
  .ways-body { grid-column: 1 / -1; }
  .svc-stick, .svc-detail, .page-faq .cx-faq-list { grid-column: 1 / -1; }
  .svc-stick { position: static; }
  .svc-detail { padding-top: 32px; }
  .svc-index, .whos, .steps { grid-template-columns: minmax(0, 1fr); }
  .ways-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .service { padding: 72px 0; }
  .svc-cols, .svc-detail .svc-cols, .principles, .ways-list { grid-template-columns: minmax(0, 1fr); }
  .contact-page { padding-top: 120px; }
  .ask-panel { padding: 56px 20px 64px; row-gap: 36px; }
}

/* ---------- Work ----------
   After the Codrops "Infinite Scroll Gallery and Flip Transitions in GSAP" demo: every picture and film from the cases,
   on a loose grid that repeats endlessly in every direction, with a little depth while it moves, revealed as they arrive. The list of cases is
   the source (Galley edits it); assets/work.js builds the canvas from it. html.wg-on means the canvas is showing. */
.work-bar__inner { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; }
.work-bar { padding: 184px 0 48px; }
.work-bar h1 { font-size: clamp(56px, 8vw, 128px); line-height: 0.95; font-weight: 500; letter-spacing: -0.045em; text-transform: none; color: var(--ink); }
.work-count { color: var(--ink-muted); }
.work-switch { display: none; gap: 4px; padding: 4px; border-radius: 12px; background: var(--panel); }
.wg-ready .work-switch { display: inline-flex; }
.work-switch__btn { font: inherit; font-size: 14px; line-height: 20px; font-weight: 500; padding: 6px 14px; border: 0; border-radius: 9px; background: none; color: var(--ink-muted); cursor: pointer; }
.work-switch__btn[aria-pressed="true"] { background: var(--ground); color: var(--ink); box-shadow: 0 1px 2px rgba(11, 10, 9, 0.08); }
.work-switch__btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.work-list { padding-bottom: var(--section); }
.wl-case { padding: 48px 0 72px; }
.wl-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 4fr) minmax(0, 2fr); column-gap: var(--gutter); align-items: baseline; color: inherit; text-decoration: none; }
.wl-name { margin: 0; font-size: clamp(36px, 5vw, 80px); line-height: 1; font-weight: 500; letter-spacing: -0.045em; transition: color 480ms var(--ease-out-soft); }
.wl-line { font-size: 18px; line-height: 26px; }
.wl-meta { grid-column: 2; font-size: 13px; line-height: 20px; color: var(--ink-muted); }
.wl-arrow { grid-column: 3; grid-row: 1; justify-self: end; font-size: 32px; transition: transform 480ms var(--ease-out-soft); }
.wl-head:hover .wl-name { color: var(--sky-deep); }
.wl-head:hover .wl-arrow { transform: translateX(8px); }
.wl-head:focus-visible { outline: 2px solid var(--ink); outline-offset: 8px; border-radius: 4px; }
.wl-pieces { margin: 32px calc(-1 * var(--margin)) 0; padding: 0 var(--margin) 8px; list-style: none; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; }
.wl-piece { flex: none; scroll-snap-align: start; }
.wl-piece img, .wl-piece video { display: block; height: 220px; width: auto; border-radius: 13px; background: var(--panel); }
.wl-piece video { aspect-ratio: 16 / 9; object-fit: cover; }
.work-skip { position: fixed; left: var(--margin); top: 88px; z-index: 60; padding: 8px 14px; border-radius: 9px; background: var(--ink); color: #fff; text-decoration: none; font-size: 14px; }
.work-skip:not(:focus) { clip-path: inset(50%); width: 1px; height: 1px; padding: 0; overflow: hidden; }
@media (max-width: 1023px) {
  .wl-head { grid-template-columns: minmax(0, 1fr) auto; row-gap: 8px; }
  .wl-line, .wl-meta { grid-column: 1; }
  .wl-arrow { grid-column: 2; }
}
@media (max-width: 767px) {
  .work-bar { padding: 120px 0 24px; }
  .wl-piece img, .wl-piece video { height: 160px; }
}

/* The canvas. The document stops scrolling; wheel and touch move the gallery instead. */
html.wg-on, html.wg-on body { height: 100%; overflow: hidden; overscroll-behavior: none; }
html.wg-on body { touch-action: none; }
html.wg-on .work-list, html.wg-on .bb-footer { display: none; }
html.wg-on .work-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 0 0 24px; pointer-events: none; }
html.wg-on .work-bar h1 { font-size: 12px; line-height: 16px; letter-spacing: 0.06em; text-transform: uppercase; }
html.wg-on .work-bar h1, html.wg-on .work-switch { pointer-events: auto; }
html.wg-on .work-bar__inner { align-items: center; }
.wg { display: none; }
html.wg-on .wg { display: block; position: fixed; inset: 0; z-index: 1; overflow: clip; background: var(--ground); }
.wg { cursor: grab; user-select: none; -webkit-user-select: none; }
.wg.is-dragging { cursor: grabbing; }
.wg-track { position: absolute; inset: 0; }
/* Each piece is placed by assets/work.js (its width and a transform); the field repeats in every direction. */
.wg-slide { position: absolute; left: 0; top: 0; margin: 0; cursor: pointer; outline: none; will-change: transform; }
.wg.is-dragging .wg-slide { cursor: grabbing; }
.wg-frame { position: relative; overflow: hidden; border-radius: 13px; background: var(--panel); }
.wg-frame img, .wg-frame video { display: block; width: 100%; height: auto; }
.wg-frame video { position: absolute; inset: 0; height: 100%; object-fit: cover; opacity: 0; transition: opacity 500ms var(--ease-out-soft); }
.wg-frame video.on { opacity: 1; }
.wg-frame video.wg-only { position: static; opacity: 1; aspect-ratio: 16 / 9; }
.wg-slide:focus-visible .wg-frame { outline: 2px solid var(--ink); outline-offset: 4px; }

/* The preview a picture grows into when clicked. */
.wg-preview { display: none; position: fixed; inset: 0; z-index: 30; }
.wg-preview .wrap { height: 100%; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: center; }
.wg-preview__fig { grid-column: 1 / span 7; margin: 0; height: 68vh; border-radius: 13px; overflow: hidden; background: var(--panel); }
.wg-preview__fig img, .wg-preview__fig video { display: block; width: 100%; height: 100%; object-fit: cover; }
.wg-preview__text { grid-column: 9 / -1; }
.wg-preview__back { font: inherit; font-size: 14px; padding: 0; margin: 0 0 40px; border: 0; background: none; color: var(--ink-muted); cursor: pointer; }
.wg-preview__back:hover { color: var(--ink); }
.wg-preview__name { margin: 12px 0 20px; font-size: clamp(40px, 4.4vw, 72px); line-height: 0.98; font-weight: 500; letter-spacing: -0.045em; }
.wg-preview__lead { margin: 0 0 32px; font-size: 18px; line-height: 28px; }
@media (max-width: 1023px) {
  .wg-preview .wrap { align-content: center; row-gap: 32px; }
  .wg-preview__fig { grid-column: 1 / -1; height: 42vh; }
  .wg-preview__text { grid-column: 1 / -1; }
  .wg-preview__back { margin-bottom: 16px; }
}

/* ---------- Notes ----------
   The index: the latest note large, then a grid of the rest. A note: a centred head, a wide cover and a reading
   column. Covers are grainy fields with a marketing monster on them (assets/notes/). Section types: case-head,
   notes-featured, notes-grid, note-head, note-cover-row, note-body, note-more, next-case. */
.note-cover { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 13px; }
.note-cover img { display: block; width: 78%; height: auto; transition: transform 1200ms var(--ease-out-soft); }
.note-cover--feature { aspect-ratio: 16 / 11; }
.note-cover--wide { aspect-ratio: 21 / 9; }
.note-cover--wide img { width: auto; height: 88%; }
.notes-featured { padding-bottom: 96px; }
.note-feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gutter) calc(var(--gutter) * 2); align-items: center; color: inherit; text-decoration: none; }
.note-feature__text { display: flex; flex-direction: column; gap: 16px; }
.note-feature__title { font-size: clamp(32px, 3.4vw, 52px); line-height: 1.05; font-weight: 500; letter-spacing: -0.035em; text-wrap: balance; transition: color 480ms var(--ease-out-soft); }
.note-feature__stand { font-size: 18px; line-height: 28px; color: var(--ink-muted); }
.note-feature__more { margin-top: 8px; font-weight: 500; }
.note-feature__more span { display: inline-block; transition: transform 480ms var(--ease-out-soft); }
.note-feature:hover .note-feature__title, .note-card:hover .note-card__title { color: var(--sky-deep); }
.note-feature:hover .note-cover img, .note-card:hover .note-cover img { transform: scale(1.04); }
.note-feature:hover .note-feature__more span { transform: translateX(6px); }
.note-feature:focus-visible, .note-card:focus-visible { outline: 2px solid var(--ink); outline-offset: 8px; border-radius: 13px; }
.notes-grid { padding-bottom: var(--section); }
.note-cards { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px var(--gutter); }
.note-card { display: flex; flex-direction: column; gap: 14px; color: inherit; text-decoration: none; }
.note-card .note-cover { margin-bottom: 6px; }
.note-card__title { font-size: 22px; line-height: 28px; font-weight: 500; letter-spacing: -0.015em; text-wrap: balance; transition: color 480ms var(--ease-out-soft); }

.note-head { padding: 184px 0 56px; text-align: center; }
.note-head .wrap { max-width: 980px; }
.note-title { margin: 20px 0 24px; font-size: clamp(44px, 6vw, 88px); line-height: 1; font-weight: 500; letter-spacing: -0.045em; text-wrap: balance; }
.note-stand { margin: 0 auto; max-width: 720px; font-size: clamp(20px, 2vw, 26px); line-height: 1.4; letter-spacing: -0.015em; color: var(--ink-muted); text-wrap: balance; }
.note-head .legal-draft { margin-top: 28px; }
.note-body { padding: 88px 0 24px; }
.prose { max-width: 680px; margin: 0 auto; font-size: 19px; line-height: 32px; }
.prose p, .prose ul { margin: 0 0 24px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose h2 { margin: 56px 0 16px; font-size: 28px; line-height: 34px; font-weight: 500; letter-spacing: -0.02em; }
.prose .pull { margin: 56px -80px; padding: 0; border: 0; font-size: clamp(28px, 3vw, 40px); line-height: 1.2; font-weight: 400; letter-spacing: -0.03em; text-align: center; text-wrap: balance; color: var(--evening-blue); }
.prose .note-todo { padding: 16px 20px; border-radius: 13px; background: var(--panel); color: var(--ink-muted); font-size: 16px; line-height: 26px; }
.note-more { padding-top: 120px; }
@media (max-width: 1023px) {
  .note-feature { grid-template-columns: minmax(0, 1fr); }
  .note-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prose .pull { margin-left: 0; margin-right: 0; }
}
@media (max-width: 767px) {
  .note-cards { grid-template-columns: minmax(0, 1fr); }
  .note-head { padding: 120px 0 40px; }
  .note-cover--wide { aspect-ratio: 4 / 3; }
  .note-cover--wide img { width: 84%; height: auto; }
  .prose { font-size: 18px; line-height: 30px; }
}

/* Six header links (with Notes) no longer fit below about 900 px, so the Menu button takes over sooner. */
@container (max-width: 919px) {
  .bb-header__nav { display: none; }
  .bb-header__toggle { display: inline-flex; }
}

/* Logo hover: both Os become the board, with the live Sky field inside them, as in the loader. */
.bb-logo__o { position: relative; display: inline-block; isolation: isolate; }
.bb-logo__o::before {
  content: "";
  position: absolute;
  z-index: -1;
  /* The O's counter, from Backboard Display's measures, bleeding 0.03em under the ring. */
  inset: 0.235em 0.15em 0.233em 0.174em;
  border-radius: 0.09em;
  background:
    radial-gradient(42% 46% at 24% 30%, var(--sun) 0%, transparent 70%),
    radial-gradient(40% 44% at 78% 72%, var(--sky-deep) 0%, transparent 72%),
    radial-gradient(36% 40% at 70% 22%, var(--sky-light) 0%, transparent 70%),
    var(--sky);
  background-size: 260% 260%;
  background-position: 0% 0%;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 300ms var(--ease-out-soft), transform 380ms var(--ease-out-soft);
}
.bb-header__logo:hover .bb-logo__o::before,
.bb-header__logo:focus-visible .bb-logo__o::before,
.bb-footer__logo:hover .bb-logo__o::before,
.bb-footer__logo:focus-visible .bb-logo__o::before {
  opacity: 1;
  transform: scale(1);
  animation: bb-logo-drift 6s var(--ease-in-out) infinite alternate;
}
@keyframes bb-logo-drift {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 60%; }
  100% { background-position: 40% 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .bb-logo__o::before { transition: none; transform: none; }
  .bb-header__logo:hover .bb-logo__o::before,
  .bb-footer__logo:hover .bb-logo__o::before,
  .bb-header__logo:focus-visible .bb-logo__o::before,
  .bb-footer__logo:focus-visible .bb-logo__o::before { animation: none; }
}
