/* Fiably landing. Brand values from brand/tokens/tokens.css: deep graphite, brand paper, the jade
   status green (only ever on a live signal), Jost for display, Manrope for text. Square corners,
   no rules, no shadows, no gradients: surfaces are told apart by whole fields of colour. */

@font-face { font-family: "Jost"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/jost-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/jost-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/manrope-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/manrope-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --graphite: #101314;
  --graphite-2: #1A1D1F;
  --paper: #F6F7F8;
  --paper-2: #E7EAEC;
  --soft-dark: #939EA5;   /* secondary text on graphite, 6.9:1 */
  --pale-dark: #6F7D85;   /* the hero's first line, display size only */
  --soft-light: #555F65;  /* secondary text on paper, 6.4:1 */
  --green: #247F6D;       /* the status light: live signals only */
  --halo: #CCEBE5;
  --danger: #AB2C21;

  --font-display: "Jost", "Century Gothic", "Futura", sans-serif;
  --font-text: "Manrope", -apple-system, "Segoe UI", sans-serif;

  /* five sizes do all the work */
  --s-display: clamp(3.5rem, 13.2vw, 14.5rem);
  --s-big: clamp(2.5rem, 5.2vw, 5.25rem);
  --s-statement: clamp(1.375rem, 1.05rem + 0.95vw, 1.875rem);
  --s-body: clamp(1.0625rem, 1rem + 0.2vw, 1.1875rem);
  --s-small: 0.875rem;

  --margin: clamp(1rem, 3vw, 3rem);
  --gutter: clamp(1rem, 2vw, 2rem);
  --pad: clamp(5rem, 8.5vw, 8.5rem);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--graphite); }
body { margin: 0; background: var(--paper); color: var(--graphite); font-family: var(--font-text); font-size: var(--s-body); line-height: 1.55; font-kerning: normal; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, p, figure, ul, ol, dl, dd, fieldset { margin: 0; }
ul[role="list"], ol[role="list"] { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 0.07em; }
fieldset { border: 0; padding: 0; min-width: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; text-wrap: balance; }
p { text-wrap: pretty; }
:target { scroll-margin-top: 5rem; }
::selection { background: var(--graphite); color: var(--paper); }
.ground-dark ::selection { background: var(--paper); color: var(--graphite); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.small { font-size: var(--s-small); line-height: 1.45; }
.wrap { padding-inline: var(--margin); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.skip { position: absolute; left: var(--margin); top: -4rem; z-index: 100; background: var(--paper); color: var(--graphite); padding: 0.6rem 1rem; }
.skip:focus { top: 1rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* taste-skill-ignore: the honeypot field, kept off screen */

/* ---------- chapters ---------- */
.chapter { padding-block: var(--pad); }
.ground-dark { background: var(--graphite); color: var(--paper); }
.ground-paper { background: var(--paper); color: var(--graphite); }
.big { font-size: var(--s-big); line-height: 1; letter-spacing: -0.03em; }
.statement { font-size: var(--s-statement); line-height: 1.3; letter-spacing: -0.01em; }

/* ---------- buttons ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: 0 1.75rem; border: 0; border-radius: 0; font-weight: 600; font-size: var(--s-body); text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform 140ms var(--ease-out), background-color 200ms ease, color 200ms ease; }
.button:active { transform: scale(0.97); }
.button-paper { background: var(--paper); color: var(--graphite); }
.button-ink { background: var(--graphite); color: var(--paper); }
@media (hover: hover) and (pointer: fine) {
  .button-paper:hover { background: #FFFFFF; }
  .button-ink:hover { background: var(--graphite-2); }
}

/* ---------- the corner header: wordmark left, a few links right, ink of the chapter beneath ---------- */
.corner { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: clamp(0.85rem, 1.6vw, 1.4rem) var(--margin); color: var(--header-ink, var(--paper)); background: transparent; transition: color 300ms ease, background-color 300ms ease, transform 420ms var(--ease-out); }
.corner.is-scrolled { background: var(--header-ground, var(--graphite)); }
.corner.is-hidden { transform: translateY(-100%); }
.corner-mark { display: block; width: clamp(4.25rem, 5.6vw, 5.5rem); }
.corner-mark svg { width: 100%; height: auto; }
.corner-nav { display: flex; align-items: baseline; gap: clamp(0.9rem, 1.8vw, 1.9rem); font-size: var(--s-small); font-weight: 600; }
.corner-link { position: relative; text-decoration: none; padding-block: 0.4rem; }
.corner-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.15rem; height: 0.12em; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 240ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .corner-link:hover::after { transform: scaleX(1); transform-origin: left; } }
.corner-cta { padding-inline: 0; }
@media (max-width: 47.99em) {
  .hide-phone { display: none; }
  .corner { position: absolute; background: transparent !important; transform: none !important; }
}

/* ---------- hero: one graphite field, two inks, the live dot on the i ---------- */
.hero { min-height: 100svh; padding-block: 0; display: flex; }
.hero-inner { width: 100%; padding-top: max(15svh, 6rem); padding-bottom: clamp(2rem, 5svh, 4rem); display: flex; flex-direction: column; justify-content: space-between; gap: clamp(2.5rem, 6svh, 4rem); }
.hero-title { font-size: var(--s-display); line-height: 0.86; letter-spacing: -0.04em; font-weight: 600; margin-left: -0.05em; }
.hero-l1, .hero-l2 { display: block; }
.hero-l1 { color: var(--pale-dark); }
.hero-l2 { color: var(--paper); }
.dot-i { position: relative; display: inline-block; }
.hero-l2 { font-variant-ligatures: no-common-ligatures; }
.live-dot { position: absolute; left: 50%; top: 0.03em; width: 0.235em; height: 0.235em; margin-left: -0.08em; border-radius: 50%; background: var(--green); }
.live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--halo); opacity: 0; }
.live-dot.is-pulsing::after { animation: halo 700ms var(--ease-out) 1; }
@keyframes halo { from { opacity: 0.55; transform: scale(1); } to { opacity: 0; transform: scale(2.6); } }
.hero-foot { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: end; }
.hero-status { grid-column: 1 / 7; font-size: var(--s-body); font-weight: 600; color: var(--paper); font-variant-numeric: tabular-nums; }
.hero-side { grid-column: 7 / 13; display: grid; gap: 1.75rem; justify-items: start; }
.hero-sentence { font-size: var(--s-statement); line-height: 1.3; letter-spacing: -0.01em; max-width: 36ch; }
@media (max-width: 47.99em) {
  .hero-title { font-size: 19.5vw; }
  .hero { min-height: 0; }
  .hero-inner { justify-content: flex-start; padding-top: 8.5rem; padding-bottom: 3.5rem; gap: 2.5rem; }
  .hero-foot { grid-template-columns: 1fr; row-gap: 2rem; }
  /* The hero status line is set once on load (fallback text), then replaced
     once JS knows the open hours, then grows again once the next booking
     slot comes back from the API (main.js, "live status in the hero"). That
     third version is longer and wraps to a second line on a narrow screen,
     which pushed the rest of the hero down after first paint (CLS 0.248-0.281
     on mobile, `docs/seo/metrics.md` 2026-10-25). Reserve two lines from the
     start so that wrap never moves anything else. */
  .hero-status { grid-column: 1; order: 2; min-height: 2lh; }
  .hero-side { grid-column: 1; }
  .hero-side .button { width: 100%; }
  .hero-sentence { font-size: 1.1875rem; line-height: 1.45; }
}

/* ---------- services: capabilities at poster scale ---------- */
.cap-list { display: grid; row-gap: clamp(1.25rem, 2vw, 2rem); }
.cap-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: baseline; }
.cap-heading, .cap-name { grid-column: 1 / 9; font-size: var(--s-big); line-height: 1; letter-spacing: -0.035em; font-weight: 600; transition: color 200ms ease; }
.cap-heading { color: var(--soft-light); }
.cap-desc { grid-column: 9 / 13; max-width: 34ch; }
@media (hover: hover) and (pointer: fine) {
  .cap-list:hover .cap-row:not(.cap-row-head):not(:hover) .cap-name { color: var(--soft-light); }
}
@media (max-width: 47.99em) {
  .cap-row { grid-template-columns: 1fr; }
  .cap-heading, .cap-name { grid-column: 1; font-size: 10.5vw; }
  .cap-desc { grid-column: 1; margin-top: 0.6rem; padding-left: 0; }
  .cap-list { row-gap: 1.75rem; }
}

/* ---------- photo bands ---------- */
.band { background: var(--graphite); color: var(--paper); margin: 0; }
.band-media { height: clamp(26rem, 86svh, 60rem); overflow: hidden; }
.band-img { width: 100%; height: 100%; object-fit: cover; }
.band-caption { padding-block: clamp(1.5rem, 3vw, 2.5rem) 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.band-caption span { grid-column: 1 / 9; font-size: var(--s-statement); line-height: 1.3; letter-spacing: -0.01em; }
.band-craft .band-caption { padding-bottom: var(--pad); }
.band-craft .band-caption span { grid-column: 5 / 13; }
.band-craft .band-img { object-position: 50% 40%; }
@media (max-width: 47.99em) {
  .band-media { height: 62svh; }
  .band-caption span, .band-craft .band-caption span { grid-column: 1 / 13; }
}

/* ---------- method: the sprint printed as a slip ---------- */
.method { padding-top: clamp(4rem, 7vw, 7rem); }
.method-grid { align-items: start; row-gap: 3rem; }
.method-copy { grid-column: 1 / 6; display: grid; gap: 1.75rem; }
.method-text { font-size: var(--s-statement); line-height: 1.3; letter-spacing: -0.01em; max-width: 26ch; color: var(--paper); }
.slip { grid-column: 7 / 12; width: 100%; max-width: 30rem; background: var(--paper); color: var(--graphite); padding: 2rem 2rem 3.5rem; clip-path: var(--zig); font-variant-numeric: tabular-nums; }
.slip-title { font-family: var(--font-display); font-weight: 600; font-size: var(--s-statement); letter-spacing: -0.01em; }
.slip-when { font-family: var(--font-text); font-size: var(--s-body); font-weight: 700; margin-top: 1.75rem; margin-bottom: 0.35rem; }
.slip-row { display: flex; align-items: baseline; gap: 0.6rem; padding-block: 0.2rem; }
.slip-what { flex: 0 1 auto; }
.slip-leader { flex: 1 1 1.5rem; min-width: 1.5rem; height: 0.6em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='4'%3E%3Ccircle cx='2' cy='2' r='2' fill='%23939EA5'/%3E%3C/svg%3E") repeat-x left bottom / 8px 4px; }
.slip-dur { flex: 0 0 auto; color: var(--soft-light); white-space: nowrap; }
.slip-total { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 2.75rem; margin: 2rem -2rem 0; padding: 0.75rem 2rem; background: var(--graphite); color: var(--paper); font-weight: 600; }
.slip-total span:last-child { white-space: nowrap; }
@media (max-width: 63.99em) {
  .method-copy, .slip { grid-column: 1 / 13; }
}
@media (max-width: 47.99em) {
  .slip { max-width: none; padding: 1.5rem 1.25rem 3rem; }
  .slip-total { margin-inline: -1.25rem; padding-inline: 1.25rem; }
  .slip-row { display: grid; grid-template-columns: 1fr auto; column-gap: 1rem; }
  .slip-leader { display: none; }
  .slip-dur { text-align: right; }
}

/* ---------- showcase: two giant words compared ---------- */
.showcase-top { align-items: start; row-gap: 1.5rem; }
.showcase-heading { grid-column: 1 / 6; font-weight: 600; }
.showcase-text { grid-column: 7 / 13; max-width: 56ch; }
.specimens { --s-spec: calc(var(--s-display) * 1.42); margin-top: clamp(4rem, 10svh, 7rem); height: calc(var(--s-spec) * 0.62); overflow: hidden; }
.specimen { grid-column: span 6; }
.specimen-captions { margin-top: 1.25rem; }
.specimen-caption { grid-column: span 6; font-weight: 600; color: var(--soft-light); }
.specimen-word { font-family: var(--font-display); font-size: var(--s-spec); line-height: 0.8; letter-spacing: -0.05em; font-weight: 600; margin-left: -0.05em; }
@media (max-width: 47.99em) {
  .showcase-heading, .showcase-text { grid-column: 1 / 13; }
  .specimens { --s-spec: 31vw; height: auto; row-gap: 0.75rem; }
  .specimen { grid-column: 1 / 13; height: calc(var(--s-spec) * 0.62); overflow: hidden; }
  .specimen-caption { grid-column: 1 / 13; }
}

/* ---------- team ---------- */
.team-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 2.5rem; align-items: start; }
.team-side { grid-column: 1 / 5; display: grid; gap: 2.5rem; }
.team-text { grid-column: 5 / 12; max-width: 40ch; }
.facts { display: grid; gap: 1.25rem; }
.facts dt { font-size: var(--s-small); font-weight: 600; color: var(--soft-dark); }
.facts dd { font-size: var(--s-body); }
.team-row-2 { margin-top: clamp(4rem, 8vw, 8rem); align-items: start; }
/* The records run taller than the photo: on wide screens the photo stays in view beside them. */
@media (min-width: 64em) { .portrait { position: sticky; top: 6rem; } }
.portrait { grid-column: 1 / 7; overflow: hidden; }
.portrait img { width: 100%; aspect-ratio: 1389 / 1500; object-fit: cover; }
.portrait figcaption { margin-top: 0.85rem; color: var(--soft-dark); }
.records { grid-column: 8 / 13; display: grid; gap: 3rem; }
.record-title { font-family: var(--font-text); font-size: var(--s-small); font-weight: 700; margin-bottom: 0.9rem; }
.record li { display: flex; justify-content: space-between; gap: 1.5rem; padding-block: 0.3rem; }
.record-side { color: var(--soft-dark); white-space: nowrap; font-variant-numeric: tabular-nums; }
.record-stacked dl { display: grid; gap: 1.15rem; }
.record-stacked dt { font-weight: 600; }
.record-stacked dd { margin: 0.2rem 0 0; max-width: 34em; }
.record-proof { margin-top: 1.6rem; max-width: 34em; }
.record-proof a { font-weight: 600; text-decoration-line: underline; }
@media (max-width: 63.99em) {
  .team-side, .team-text, .portrait, .records { grid-column: 1 / 13; }
}

/* ---------- FAQ: answers as reading text ---------- */
.faq-heading { grid-column: 1 / 4; font-weight: 600; }
.faq-text { grid-column: 5 / 13; columns: 2; column-gap: 3.5rem; }
.faq-item { break-inside: avoid; margin-bottom: 1.25rem; }
.faq-item strong { font-weight: 700; }
@media (max-width: 63.99em) {
  .faq-heading, .faq-text { grid-column: 1 / 13; }
  .faq-heading { margin-bottom: 2rem; }
}
@media (max-width: 47.99em) { .faq-text { columns: 1; } }

/* ---------- contact: the booking card on the graphite glass photograph ---------- */
.contact { position: relative; min-height: 112svh; background: var(--graphite); padding: clamp(4.5rem, 8vw, 7rem) var(--margin) var(--pad); }
.contact-media { position: absolute; inset: 0; overflow: hidden; }
.contact-img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.contact-card { position: relative; z-index: 1; width: min(29rem, 100%); background: var(--paper); color: var(--graphite); padding: 2rem 2rem 0; }
.card-title { font-size: var(--s-statement); line-height: 1.15; letter-spacing: -0.01em; font-weight: 500; }
.card-intro { margin-top: 0.75rem; }
.booking { margin-top: 1.75rem; display: grid; gap: 1.5rem; }
.booking[hidden], .slots[hidden], .fields[hidden], .card-submit[hidden] { display: none; }
.card-label { display: block; font-size: var(--s-small); font-weight: 700; margin-bottom: 0.5rem; }
.card-tz { font-weight: 500; color: var(--soft-light); margin-left: 0.4rem; }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.4rem; }
.times { margin-top: 0.6rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.4rem; max-height: 9.6rem; overflow-y: auto; }
.times-empty { grid-column: 1 / -1; color: var(--soft-light); }
.chip { position: relative; display: grid; place-items: center; background: var(--paper-2); cursor: pointer; transition: background-color 160ms ease, color 160ms ease, transform 140ms var(--ease-out); font-variant-numeric: tabular-nums; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip:active { transform: scale(0.96); }
.chip:has(input:checked) { background: var(--graphite); color: var(--paper); }
.chip:has(input:focus-visible) { outline: 2px solid var(--graphite); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .chip:hover:not(:has(input:checked)) { background: #D9DDE0; } }
.chip-day { min-height: 3.5rem; align-content: center; gap: 0.1rem; font-size: var(--s-small); line-height: 1.2; }
.chip-wd { font-weight: 500; text-transform: capitalize; }
.chip-dn { font-weight: 700; }
.chip-time { min-height: 2.75rem; font-weight: 600; font-size: var(--s-small); }
.fields { display: grid; gap: 1rem; }
.field { display: block; width: 100%; min-height: 3rem; padding: 0.7rem 0.85rem; background: var(--paper-2); border: 0; border-radius: 0; font-size: max(1rem, var(--s-body)); }
textarea.field { resize: vertical; min-height: 5.5rem; }
select.field { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23101314' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; padding-right: 2.5rem; }
.field:focus-visible { outline: 2px solid var(--graphite); outline-offset: 0; }
.field.is-invalid { outline: 2px solid var(--danger); outline-offset: 0; }
.card-msg { min-height: 1.5em; font-weight: 600; }
.card-msg[data-kind="error"] { color: var(--danger); }
.card-msg[data-kind="done"] { color: var(--graphite); font-size: var(--s-statement); line-height: 1.3; font-weight: 500; }
.card-msg:empty { display: none; }
.card-submit { width: calc(100% + 4rem); margin: 0 -2rem; min-height: 3.5rem; }
.card-submit:disabled { cursor: progress; background: var(--graphite-2); }
.card-fallback { margin-top: 1.25rem; }
.contact-card.is-live .card-fallback { font-size: var(--s-small); }
.card-privacy { padding-block: 1rem 1.5rem; color: var(--soft-light); }
@media (max-width: 47.99em) {
  .contact { padding: 0 0 var(--pad); min-height: 0; display: flex; flex-direction: column; }
  .contact-media { position: relative; inset: auto; height: 70svh; }
  .contact-card { margin: -5rem 1rem 0; width: auto; padding: 1.5rem 1.25rem 0; }
  .card-submit { width: calc(100% + 2.5rem); margin: 0 -1.25rem; }
}

/* ---------- footer: the name first ---------- */
.footer { padding-bottom: clamp(2rem, 4vw, 3rem); }
.footer-mark { display: block; width: 100%; color: var(--paper); }
.footer-mark svg { width: 100%; height: auto; }
.footer-row { margin-top: clamp(3rem, 5vw, 4.5rem); row-gap: 3rem; }
.footer-places { grid-column: 1 / 6; display: grid; gap: 0.4rem; font-family: var(--font-display); font-size: var(--s-statement); line-height: 1.25; letter-spacing: -0.01em; }
.footer-places a { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .footer-places a:hover { text-decoration: underline; } }
.footer-cols { grid-column: 7 / 13; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.footer-col-title { font-family: var(--font-text); font-size: var(--s-small); font-weight: 700; color: var(--soft-dark); margin-bottom: 0.75rem; }
.footer-cols li { padding-block: 0.2rem; }
.footer-cols a, .footer-consent-link { text-decoration: none; }
.footer-consent-link { display: inline; background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
@media (hover: hover) and (pointer: fine) { .footer-cols a:hover, .footer-consent-link:hover { text-decoration: underline; } }
.footer-last { margin-top: clamp(4rem, 7vw, 6rem); display: flex; justify-content: space-between; gap: 1rem; font-size: var(--s-small); color: var(--soft-dark); }
@media (max-width: 63.99em) { .footer-places, .footer-cols { grid-column: 1 / 13; } }
@media (max-width: 47.99em) { .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; } }

/* ---------- legal and 404 pages ---------- */
.simple-main { min-height: 80svh; padding-top: clamp(8rem, 14vw, 12rem); }
.simple-title { grid-column: 1 / 6; }
.simple-body { grid-column: 7 / 13; display: grid; gap: 0.6rem; max-width: 60ch; }
.simple-h { font-size: var(--s-body); font-family: var(--font-text); font-weight: 700; margin-top: 1.5rem; }
.simple-h:first-child { margin-top: 0; }
@media (max-width: 63.99em) { .simple-title, .simple-body { grid-column: 1 / 13; } .simple-body { margin-top: 2.5rem; } }

/* ---------- service pages (MVP and the other service lines, same two-column layout) ---------- */
.simple-title .small { display: block; margin-bottom: 0.6rem; color: var(--soft-dark); }
.feature-list { list-style: disc; padding-left: 1.25em; display: grid; gap: 0.35rem; }
.service-cta { margin-top: 0.5rem; }

/* ---------- motion: entrances once, a scroll drift on the photographs ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-l1, .js .hero-l2 { animation: rise 900ms var(--ease-expo) both; }
  .js .hero-l2 { animation-delay: 110ms; }
  .js .hero-foot > * { animation: rise 800ms var(--ease-out) both; animation-delay: 380ms; }
  .js .hero-side { animation-delay: 460ms; }
  .js .corner { animation: fade 600ms ease both 200ms; }
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .shutter[data-reveal] img { transform: scale(1.08); transition: transform 1400ms var(--ease-soft); }
  .js .shutter[data-reveal].is-in img { transform: none; }
  @supports (animation-timeline: view()) {
    .drift { animation: drift linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    .contact-img { animation: drift-slow linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes drift { from { transform: translateY(-7%) scale(1.14); } to { transform: translateY(7%) scale(1.14); } }
@keyframes drift-slow { from { transform: scale(1.12) translateY(-3%); } to { transform: scale(1.02) translateY(3%); } }

/* ---------- consent bar: OpenObserve real user monitoring and session replay need it, Umami does not (infra/observability/README.md) ---------- */
/* In the flow at the very top of the page, never over the content: the fixed header sits just under it
   while it is on screen (--corner-top, main.js), and the hero gives up its height. */
.consent-bar { position: relative; z-index: 60; background: var(--paper); color: var(--graphite); }
.consent-bar:focus { outline: none; }
.has-consent-bar .corner { top: var(--corner-top, 0px); }
.has-consent-bar .hero { min-height: calc(100svh - var(--consent-bar-h, 0px)); }
.consent-inner { padding-block: 1.25rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; }
.consent-text { max-width: 54ch; font-size: var(--s-small); line-height: 1.5; }
.consent-actions { display: flex; gap: 0.75rem; flex: none; }
.consent-btn { min-height: 2.75rem; padding: 0 1.5rem; flex: 1 1 0; }
@media (max-width: 47.99em) {
  .consent-inner { padding-block: 1rem; flex-direction: column; align-items: stretch; gap: 0.85rem; }
  .consent-actions { gap: 0.6rem; }
  .consent-btn { flex: 1 1 0; }
}
