/* BookMarc. Proposed visual system: ink, warm ivory, one vivid pink. */

@font-face { font-family: 'Fraunces'; src: url('/fonts/fraunces-latin-full-normal.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('/fonts/fraunces-latin-full-italic.woff2') format('woff2'); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Schibsted Grotesk'; src: url('/fonts/schibsted-grotesk-latin-wght-normal.woff2') format('woff2'); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Schibsted Grotesk'; src: url('/fonts/schibsted-grotesk-latin-wght-italic.woff2') format('woff2'); font-weight: 400 900; font-style: italic; font-display: swap; }

:root {
  --ink: #120f0c;
  --ink-2: #1d1814;
  --ivory: #f3ecdf;
  --ivory-2: #e8dfcd;
  --paper: #faf6ee;
  --pink: #d3125a;
  --pink-hot: #e81a6a;
  --pink-on-dark: #ff6c9e;
  --pink-on-light: #b40e4b;
  --white: #fffaf3;
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Schibsted Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(20px, 5.2vw, 88px);
  --header: 76px;
  --ease: cubic-bezier(.2, .7, .15, 1);
  --fs-display: clamp(3.1rem, 7.5vw, 8.2rem);
  --fs-h1: clamp(2.9rem, 6.8vw, 7.2rem);
  --fs-h2: clamp(2.2rem, 5.2vw, 5.2rem);
  --fs-h3: clamp(1.6rem, 2.7vw, 2.6rem);
  --fs-lead: clamp(1.18rem, 1.7vw, 1.55rem);
  --fs-body: clamp(1.03rem, 1.12vw, 1.16rem);
  --fs-small: .875rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 12px); }
html.motion { scroll-behavior: smooth; }
html, body { background: var(--ink); }
body {
  margin: 0; color: var(--fg); font: 400 var(--fs-body)/1.58 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-kerning: normal;
  overflow-x: clip;
}
img, picture, canvas, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ol, ul, figure, blockquote, fieldset, dl, dd { margin: 0; padding: 0; }
ol, ul { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

/* Themes ------------------------------------------------------------------ */
.t-ink, [data-theme='dark'] { --bg: var(--ink); --fg: var(--ivory); --muted: #bdb2a2; --rule: rgba(243, 236, 223, .2); --accent: var(--pink-on-dark); --focus: var(--pink-on-dark); background: var(--bg); color: var(--fg); }
.t-ivory, [data-theme='light'] { --bg: var(--ivory); --fg: var(--ink); --muted: #5a5044; --rule: rgba(18, 15, 12, .2); --accent: var(--pink-on-light); --focus: var(--pink-on-light); background: var(--bg); color: var(--fg); }
.t-paper { --bg: var(--paper); background: var(--paper); }
:root { --fg: var(--ivory); --focus: var(--pink-on-dark); }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 1px; }
::selection { background: var(--pink); color: var(--white); }

.skip-link { position: fixed; z-index: 200; left: 12px; top: 12px; padding: .7em 1em; background: var(--white); color: var(--ink); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Type -------------------------------------------------------------------- */
.serif, h1, h2, h3, .display { font-family: var(--serif); font-weight: 340; font-optical-sizing: auto; font-variation-settings: 'SOFT' 30, 'WONK' 0; letter-spacing: -.022em; }
h1, .h1 { font-size: var(--fs-h1); line-height: .98; }
h2, .h2 { font-size: var(--fs-h2); line-height: 1.02; }
h3, .h3 { font-size: var(--fs-h3); line-height: 1.08; letter-spacing: -.015em; }
em, .em { font-style: italic; font-variation-settings: 'SOFT' 60, 'WONK' 1; }
.eyebrow { font: 600 .78rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.lead { font-size: var(--fs-lead); line-height: 1.42; }
.muted { color: var(--muted); }
.small { font-size: var(--fs-small); }
.measure { max-width: 62ch; }
.measure-s { max-width: 44ch; }
.stack > * + * { margin-top: 1.05em; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.1; margin-top: 2.2em; }
.prose h3 { font-size: 1.35rem; margin-top: 1.7em; }
.prose p, .prose ul { margin-top: .95em; }
.prose ul { list-style: disc; padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }

/* Links and buttons ------------------------------------------------------- */
.link { display: inline-flex; align-items: baseline; gap: .55em; font-weight: 500; text-decoration: none; padding: .35em 0; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .45s var(--ease), color .2s; }
.link .arrow { transition: transform .4s var(--ease); }
.link:hover { background-size: 0 1px; background-position: 100% 100%; color: var(--accent); }
.link:hover .arrow { transform: translateX(.3em); }

/* The booking button is a bookmark laid on its side. */
.btn-book { position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: .7em; min-height: 3.2em; padding: .85em 2.15em .85em 1.3em; font: 600 1.02rem/1.1 var(--sans); color: var(--white); text-decoration: none; white-space: nowrap; }
.btn-book::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--pink); clip-path: polygon(0 0, 100% 0, calc(100% - 13px) 50%, 100% 100%, 0 100%); transition: background-color .25s, clip-path .4s var(--ease); }
.btn-book:hover::before { background: var(--pink-hot); clip-path: polygon(0 0, 100% 0, calc(100% - 22px) 50%, 100% 100%, 0 100%); }
.btn-book--s { min-height: 44px; padding: .6em 1.75em .6em 1em; font-size: .94rem; }
.btn-book--l { font-size: clamp(1.05rem, 1.5vw, 1.3rem); padding-right: 2.5em; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.8rem; }
.btn-plain { font: inherit; color: inherit; background: none; border: 1px solid var(--rule); padding: .65em 1.1em; cursor: pointer; }

/* Header ------------------------------------------------------------------ */
.site-header { position: fixed; z-index: 100; inset: 0 0 auto 0; height: var(--header); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 0 var(--gutter); color: var(--ivory); transition: color .3s, background-color .3s, height .3s; --focus: var(--pink-on-dark); --hdr-bg: rgba(18, 15, 12, 0); }
.site-header::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--hdr-bg); backdrop-filter: blur(0); transition: background-color .3s, backdrop-filter .3s; }
.site-header.is-scrolled { --hdr-bg: rgba(18, 15, 12, .72); }
.site-header.is-scrolled::before { backdrop-filter: blur(14px); }
.site-header.over-cine.is-scrolled { --hdr-bg: rgba(18, 15, 12, 0); }
.site-header.over-cine.is-scrolled::before { backdrop-filter: none; }
.site-header[data-on='light'] { color: var(--ink); --focus: var(--pink-on-light); }
.site-header[data-on='light'].is-scrolled { --hdr-bg: rgba(243, 236, 223, .86); }
html:not(.js) .site-header { --hdr-bg: rgba(18, 15, 12, .9); }

.logo-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; min-height: 44px; --lw-book: var(--ivory); --lw-marc: var(--ivory); }
.logo-mark { width: 11px; height: 30px; fill: var(--pink); flex: none; }
.logo-word { width: auto; height: 19px; aspect-ratio: 183.55 / 25.4; flex: none; }
@media (max-width: 520px) { .site-header .logo { gap: .45rem; } .site-header .logo-word { height: clamp(12px, 3.55vw, 19px); } .site-header .logo-mark { height: clamp(19px, 5.6vw, 30px); width: auto; aspect-ratio: 40 / 110; } }
@media (max-width: 380px) { .site-header .btn-book--s { padding: .6em 1.45em .6em .75em; font-size: .86rem; } }
@media (max-width: 345px) { .site-header .logo-word { display: none; } }
.lw-book { fill: var(--lw-book); }
.lw-marc { fill: var(--lw-marc); }
/* The card's two colours on light backgrounds, a single light colour on dark, as in the BookMarc deck. */
.site-header[data-on='light'] .logo { --lw-book: #1f0000; --lw-marc: #005093; }
.nav-d { display: flex; align-items: center; gap: clamp(1rem, 2.1vw, 2rem); font-size: .97rem; }
.nav-d > ul { display: flex; align-items: center; gap: clamp(1rem, 2.1vw, 2rem); }
.nav-d a:not(.btn-book), .nav-d summary { text-decoration: none; cursor: pointer; padding: .5em 0; display: inline-flex; align-items: center; gap: .4em; min-height: 44px; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 8px) / 0 1px no-repeat; transition: background-size .35s var(--ease); }
.nav-d a:not(.btn-book):hover, .nav-d summary:hover, .nav-d a[aria-current='page'] { background-size: 100% 1px; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
.chev { width: .55em; height: .55em; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: translateY(-.14em) rotate(45deg); transition: transform .25s; }
details[open] > summary .chev { transform: translateY(.1em) rotate(-135deg); }
.dropdown { position: relative; }
.dropdown-panel { position: absolute; top: calc(100% + 10px); left: -1.1rem; min-width: 300px; padding: .6rem 0; background: var(--ink-2); color: var(--ivory); border-top: 3px solid var(--pink); box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .55); --focus: var(--pink-on-dark); }
.nav-d .dropdown-panel a { display: flex; flex-direction: column; align-items: flex-start; gap: .1em; padding: .7rem 1.1rem; background: none; min-height: 0; }
.nav-d .dropdown-panel a:hover { background: rgba(243, 236, 223, .07); }
.dropdown-panel b { font: 400 1.14rem/1.2 var(--serif); }
.dropdown-panel small { color: #bdb2a2; font-size: .85rem; }

.nav-m { display: none; align-items: center; gap: .6rem; }
.nav-m summary { display: inline-flex; align-items: center; gap: .55em; min-height: 44px; min-width: 44px; justify-content: center; cursor: pointer; font-size: .95rem; }
.nav-m-panel { position: fixed; inset: var(--header) 0 auto 0; max-height: calc(100dvh - var(--header)); overflow: auto; padding: 1.3rem var(--gutter) 2rem; background: var(--ink); color: var(--ivory); border-top: 3px solid var(--pink); --focus: var(--pink-on-dark); }
.nav-m-panel a { display: block; text-decoration: none; padding: .62rem 0; font: 340 1.7rem/1.15 var(--serif); }
.nav-m-panel .sub a { font-size: 1.28rem; padding: .45rem 0 .45rem 1rem; }
.nav-m-panel .label { display: block; margin-top: .6rem; }
@media (max-width: 1020px) { .nav-d { display: none; } .nav-m { display: flex; } :root { --header: 64px; } }

/* Grain ------------------------------------------------------------------- */
.grain { position: fixed; z-index: 90; inset: 0; pointer-events: none; opacity: .055; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E"); }
@media (max-width: 767px) { .grain { display: none; } }

/* Chapter rail ------------------------------------------------------------- */
.rail { display: none; }
@media (min-width: 1180px) {
  .rail { display: block; position: fixed; z-index: 80; right: 18px; top: 50%; transform: translateY(-50%); color: var(--ivory); --focus: var(--pink-on-dark); transition: color .3s; }
  .rail[data-on='light'] { color: var(--ink); --focus: var(--pink-on-light); }
  .rail ol { position: relative; display: flex; flex-direction: column; align-items: flex-end; gap: 0; }
  .rail a { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: .7rem; height: 34px; padding-left: .7rem; text-decoration: none; font-size: .8rem; line-height: 1; }
  .rail a::after { content: ''; display: block; flex: none; width: 14px; height: 1px; background: currentColor; opacity: .55; transition: width .3s var(--ease), opacity .3s; margin-right: 14px; }
  .rail a span { opacity: 0; transform: translateX(6px); transition: opacity .25s, transform .3s var(--ease); white-space: nowrap; padding: .36em .6em; background: rgba(18, 15, 12, .66); color: var(--ivory); }
  .rail[data-on='light'] a span { background: rgba(250, 246, 238, .9); color: var(--ink); }
  .rail a:hover span, .rail a:focus-visible span, .rail.is-moving a[aria-current] span { opacity: 1; transform: none; }
  .rail a:hover::after, .rail a[aria-current]::after { width: 22px; opacity: 1; }
  .rail-mark { position: absolute; right: 0; top: 7px; width: 9px; height: 26px; fill: var(--pink); will-change: transform; pointer-events: none; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .3)); }
}

/* Sections ----------------------------------------------------------------- */
.sec { position: relative; padding: clamp(5rem, 12vw, 11rem) var(--gutter); }
.sec--tight { padding-block: clamp(4rem, 8vw, 7rem); }
.wrap { max-width: 1520px; margin-inline: auto; }
.g { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(14px, 2vw, 32px); }
.rule-t { border-top: 1px solid var(--rule); }

/* A bookmark tab hangs across section joins, marking the visitor's place. */
.tab { position: absolute; top: 0; left: calc(var(--gutter) + var(--tab-x, 0px)); width: clamp(16px, 1.7vw, 24px); height: clamp(60px, 7vw, 104px); fill: var(--pink); }

html.motion [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .95s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
html.motion [data-reveal].is-in { opacity: 1; transform: none; }

/* Cinematic scenes --------------------------------------------------------- */
.cine { position: relative; display: block; background: var(--ink); }
.cine-stage { position: relative; min-height: 100svh; overflow: clip; display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--header) + 2rem) var(--gutter) clamp(2rem, 5vh, 3.6rem); }
.cine-media { position: absolute; inset: 0; z-index: 0; background: radial-gradient(70% 90% at 72% 45%, #6b4a25 0%, #2a1e13 45%, var(--ink) 75%); }
.cine-media img, .cine-media canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--focal, 70%) 50%; }
.cine-media canvas { display: none; }
.cine.media-missing .cine-media img { display: none; }
.cine-media-glyph { position: absolute; right: 22%; top: 16%; height: 68%; width: auto; fill: var(--pink); opacity: 0; }
.cine.media-missing .cine-media-glyph, .cine-media img[data-broken] ~ .cine-media-glyph { opacity: 1; }
.cine-scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(95deg, rgba(18, 15, 12, .9) 0%, rgba(18, 15, 12, .76) 30%, rgba(18, 15, 12, .42) 46%, rgba(18, 15, 12, 0) 62%), linear-gradient(0deg, rgba(18, 15, 12, .55), rgba(18, 15, 12, 0) 32%), linear-gradient(180deg, rgba(18, 15, 12, .5), rgba(18, 15, 12, 0) 16%); }
.cine-copy { position: relative; z-index: 2; display: grid; }
.beat { position: relative; }
.beat-still { display: none; }

/* Static version: the default, and what reduced motion and Save-Data get. */
html:not(.cine-on) .cine--chapters .cine-media, html:not(.cine-on) .cine--chapters .cine-scrim { display: none; }
html:not(.cine-on) .cine--chapters .cine-stage { padding: 0; }
html:not(.cine-on) .cine--chapters .beat { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: calc(var(--header) + 2rem) var(--gutter) 4rem; opacity: 1; }
html:not(.cine-on) .cine--chapters .beat-still { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
html:not(.cine-on) .cine--chapters .beat::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(95deg, rgba(18, 15, 12, .9), rgba(18, 15, 12, .6) 34%, rgba(18, 15, 12, 0) 62%); }
html:not(.cine-on) .cine--chapters .beat-body { position: relative; z-index: 2; }
.beat-extra { margin-top: 1.2rem; }

/* Pinned version */
html.cine-on .cine { height: calc(var(--len, 300) * 1svh); }
@media (max-width: 767px) { html.cine-on .cine { height: calc(var(--len-m, 220) * 1svh); } }
html.cine-on .cine-stage { position: sticky; top: 0; height: 100svh; min-height: 0; }
html.cine-on .cine-media canvas { display: block; opacity: 0; transition: opacity .35s; }
html.cine-on .cine.is-live .cine-media canvas { opacity: 1; }
html.cine-on .cine.media-missing .cine-media canvas { display: none; }
html.cine-on .cine-copy > * { grid-area: 1 / 1; }
html.cine-on .cine [data-show] { transform: translateY(var(--shift, 0)); will-change: opacity, transform; }
html.cine-on .cine [data-show].is-off { pointer-events: none; }
.cine-anchor { display: block; }
html.cine-on .cine > .cine-anchor { position: absolute; left: 0; width: 1px; height: 1px; scroll-margin-top: 0; }

.cine-skip { position: absolute; z-index: 3; right: var(--gutter); bottom: clamp(1.2rem, 3vh, 2rem); font-size: .86rem; color: var(--ivory); text-decoration: none; padding: .55em .1em; display: inline-flex; align-items: center; gap: .5em; min-height: 44px; opacity: .85; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 9px) / 100% 1px no-repeat; }
.cine-skip:hover { opacity: 1; }
html:not(.cine-on) .cine-skip { display: none; }
@media (min-width: 1180px) { .cine-skip { right: calc(var(--gutter) + 30px); } }
@media (max-width: 767px) { .cine-skip { bottom: .35rem; font-size: .8rem; } }
.cine-title { font-size: var(--fs-h1); line-height: .98; }

/* Home hero */
.hero-copy { max-width: min(760px, 62vw); }
.hero-copy .eyebrow { margin-bottom: 1.25rem; color: var(--ivory); }
.hero-h1 { font-size: var(--fs-display); line-height: .94; letter-spacing: -.03em; }
.hero-h1 span { display: block; }
.hero-h1 .l1 { opacity: calc(1 - clamp(0, (var(--p, 0) - .46) / .3, 1) * .56); }
.hero-h1 .l2 { font-style: italic; font-variation-settings: 'SOFT' 70, 'WONK' 1; opacity: calc(.6 + clamp(0, var(--p, 0) / .3, 1) * .4); }
html:not(.cine-on) .hero-h1 .l1, html:not(.cine-on) .hero-h1 .l2 { opacity: 1; }
.hero-lines { display: grid; margin-top: clamp(1.1rem, 2.4vh, 1.8rem); max-width: 34em; }
.hero-lines > * { grid-area: 1 / 1; }
html:not(.cine-on) .hero-lines > [data-show]:not(:first-child) { grid-area: auto; margin-top: .8em; }
.hero-commercial { font: 340 clamp(1.3rem, 2.3vw, 2.15rem)/1.16 var(--serif); letter-spacing: -.012em; font-variation-settings: 'SOFT' 30; }
.hero-cta { margin-top: clamp(1.2rem, 2.8vh, 2rem); }

/* Scene copy block */
.scene-copy { max-width: min(740px, 60vw); }
.scene-copy .eyebrow { margin-bottom: 1.05rem; color: var(--ivory); }
.scene-copy .lead { margin-top: 1.1rem; max-width: min(30em, 44vw); }
.scene-copy .cta-row { margin-top: 1.5rem; }

.ways-count { font: italic 300 1.2rem/1 var(--serif); margin-bottom: .9rem; color: var(--pink-on-dark); }
.ways-title { font-size: clamp(2.6rem, 6.6vw, 6.8rem); line-height: .98; }

@media (max-aspect-ratio: 1/1) {
  .cine-scrim { background: linear-gradient(0deg, rgba(18, 15, 12, .94) 0%, rgba(18, 15, 12, .74) 34%, rgba(18, 15, 12, 0) 62%), linear-gradient(180deg, rgba(18, 15, 12, .6), rgba(18, 15, 12, 0) 16%); }
  html:not(.cine-on) .cine--chapters .beat::before { background: linear-gradient(0deg, rgba(18, 15, 12, .94), rgba(18, 15, 12, .7) 40%, rgba(18, 15, 12, 0) 70%); }
  .hero-copy, .scene-copy { max-width: min(760px, 86vw); }
  .scene-copy .lead { max-width: 34em; }
}
@media (max-width: 767px) {
  .cine-scrim { background: linear-gradient(0deg, rgba(18, 15, 12, .95) 0%, rgba(18, 15, 12, .84) 44%, rgba(18, 15, 12, .4) 56%, rgba(18, 15, 12, 0) 66%), linear-gradient(180deg, rgba(18, 15, 12, .5), rgba(18, 15, 12, 0) 12%); }
  html:not(.cine-on) .cine--chapters .beat::before { background: linear-gradient(0deg, rgba(18, 15, 12, .94), rgba(18, 15, 12, .7) 44%, rgba(18, 15, 12, 0) 76%); }
  .hero-copy, .scene-copy { max-width: none; }
  .scene-copy .lead { max-width: none; }
  .hero-h1 { font-size: clamp(3rem, 15.2vw, 5rem); }
  .hero-commercial { font-size: 1.28rem; }
  .btn-book--l { font-size: 1.02rem; }
}

/* Home: challenge ---------------------------------------------------------- */
.pressures { grid-column: 1 / -1; margin-top: clamp(3rem, 7vw, 6.5rem); }
.pressure { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(14px, 2vw, 32px); padding-block: clamp(1.3rem, 2.5vw, 2.3rem); border-top: 1px solid var(--rule); align-items: baseline; }
.pressure:last-child { border-bottom: 1px solid var(--rule); }
.pressure h3 { grid-column: 1 / span 8; padding-left: calc(var(--i) * clamp(0px, 3.1vw, 58px)); font-size: clamp(1.6rem, 3.1vw, 3rem); }
.pressure p { grid-column: 9 / -1; color: var(--muted); }
@media (max-width: 860px) { .pressure h3, .pressure p { grid-column: 1 / -1; } .pressure h3 { padding-left: 0; } .pressure p { margin-top: .5rem; } }

/* Home: answer ------------------------------------------------------------- */
.answer-quote { grid-column: 1 / span 10; font-family: var(--serif); font-weight: 320; font-size: clamp(2.5rem, 7.1vw, 7.6rem); line-height: 1; letter-spacing: -.028em; font-variation-settings: 'SOFT' 30; }
.answer-quote span { display: block; }
.answer-quote .q2 { font-style: italic; color: var(--pink-on-dark); font-variation-settings: 'SOFT' 70, 'WONK' 1; margin-top: .08em; }
.answer-body { grid-column: 7 / span 5; margin-top: clamp(2.5rem, 6vw, 5.5rem); }
.answer-slice { grid-column: 1 / span 4; margin-top: clamp(2.5rem, 6vw, 5.5rem); aspect-ratio: 4 / 5; overflow: hidden; align-self: start; }
.answer-slice img { width: 100%; height: 100%; object-fit: cover; object-position: 74% 50%; }
.expression { grid-column: 1 / -1; margin-top: clamp(3rem, 7vw, 6rem); padding-top: 1.4rem; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3em 2rem; font: 340 clamp(1.3rem, 2.8vw, 2.7rem)/1.15 var(--serif); }
@media (max-width: 860px) { .answer-quote, .answer-body { grid-column: 1 / -1; } .answer-slice { grid-column: 1 / -1; aspect-ratio: 4 / 3; } }

/* Contents-page rows: who it suits ----------------------------------------- */
.contents { margin-top: clamp(2.5rem, 6vw, 5rem); }
.contents-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(14px, 2vw, 32px); align-items: baseline; padding-block: clamp(1.4rem, 3vw, 2.8rem); border-top: 1px solid var(--rule); }
.contents-row:last-child { border-bottom: 1px solid var(--rule); }
.contents-row .num { grid-column: span 1; font: italic 300 1.15rem/1 var(--serif); color: var(--accent); }
.contents-row h3 { grid-column: span 5; font-size: clamp(1.8rem, 3.6vw, 3.5rem); }
.contents-row p { grid-column: span 6; }
.contents-row p b { display: block; font-weight: 600; margin-bottom: .25em; }
@media (max-width: 860px) { .contents-row .num { grid-column: 1 / -1; margin-bottom: .6rem; } .contents-row h3 { grid-column: 1 / -1; } .contents-row p { grid-column: 1 / -1; margin-top: .7rem; } }

/* Benefits: four offset statements ------------------------------------------ */
.benefit-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(14px, 2vw, 32px); row-gap: clamp(3rem, 6vw, 6rem); margin-top: clamp(3rem, 6vw, 6rem); }
.benefit { grid-column: span 5; }
.benefit:nth-child(2) { grid-column: 7 / span 5; margin-top: clamp(0px, 7vw, 7rem); }
.benefit:nth-child(3) { grid-column: 2 / span 5; }
.benefit:nth-child(4) { grid-column: 8 / span 5; margin-top: clamp(0px, 7vw, 7rem); }
.benefit:nth-child(5) { grid-column: 1 / span 5; }
.benefit:nth-child(6) { grid-column: 7 / span 5; margin-top: clamp(0px, 7vw, 7rem); }
.benefit h3 { font-size: clamp(2.2rem, 4.8vw, 4.8rem); line-height: 1; }
.benefit p { margin-top: .9rem; color: var(--muted); max-width: 30em; }
@media (max-width: 860px) { .benefit, .benefit:nth-child(n) { grid-column: 1 / -1; margin-top: 0; } }

/* Marc -------------------------------------------------------------------- */
.marc-photo { position: relative; aspect-ratio: 4 / 5; background: var(--ivory-2); overflow: hidden; }
.marc-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Scene closer ------------------------------------------------------------- */
.closing { position: relative; overflow: hidden; min-height: 92svh; display: flex; align-items: flex-end; padding: clamp(6rem, 13vw, 12rem) var(--gutter) clamp(3.5rem, 7vw, 6rem); }
.closing-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
@media (max-width: 767px) { .closing-img { object-position: 72% 0; } }
.closing::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(95deg, rgba(18, 15, 12, .94) 0%, rgba(18, 15, 12, .76) 38%, rgba(18, 15, 12, .05) 66%); }
.closing > .wrap { position: relative; z-index: 2; width: 100%; }
.closing h2 { font-size: clamp(2.8rem, 7vw, 7.6rem); line-height: .98; letter-spacing: -.03em; max-width: 6.2em; }
.closing p { margin-top: 1.2rem; max-width: min(30em, 44vw); }
.closing .cta-row { margin-top: 1.8rem; }
@media (max-width: 767px), (max-aspect-ratio: 1/1) { .closing p, .page-head--image .lead { max-width: 34em; } .closing h2 { max-width: 8em; } .page-head--image h1 { max-width: none; } }
@media (max-width: 767px), (max-aspect-ratio: 1/1) { .closing::before { background: linear-gradient(0deg, rgba(18, 15, 12, .95), rgba(18, 15, 12, .72) 52%, rgba(18, 15, 12, .1) 90%); } }
@media (max-width: 767px) { .closing::before { background: linear-gradient(0deg, rgba(18, 15, 12, .96) 0%, rgba(18, 15, 12, .82) 38%, rgba(18, 15, 12, .2) 56%, rgba(18, 15, 12, 0) 64%); } }

/* Service pages ------------------------------------------------------------ */
.svc-problem h2 { grid-column: 1 / span 9; }
.svc-problem .stack { grid-column: 6 / span 6; margin-top: clamp(2rem, 5vw, 4.5rem); }
.included-head { grid-column: 1 / span 5; }
.included-list { grid-column: 6 / -1; }
.included-item { padding-block: clamp(1.4rem, 2.6vw, 2.4rem); border-top: 1px solid var(--rule); }
.included-item:last-child { border-bottom: 1px solid var(--rule); }
.included-item h3 { font-size: clamp(1.6rem, 2.9vw, 2.8rem); }
.included-item p { margin-top: .65rem; }
.included-item ul { margin-top: .75rem; display: grid; gap: .4rem; }
.included-item li { position: relative; padding-left: 1.3em; }
.included-item li::before { content: ''; position: absolute; left: 0; top: .42em; width: 6px; height: 15px; background: var(--accent); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 74%, 0 100%); }
@media (max-width: 960px) { .svc-problem h2, .svc-problem .stack, .included-head, .included-list { grid-column: 1 / -1; } .included-list { margin-top: 2rem; } }
.human-line { grid-column: 1 / -1; margin-top: clamp(2.5rem, 5vw, 4.5rem); font: 340 clamp(1.5rem, 3.2vw, 3rem)/1.14 var(--serif); max-width: 24em; }

.svc-benefits { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(14px, 2vw, 32px); margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.svc-benefit { grid-column: span 6; padding-block: 1.3rem 2rem; border-top: 1px solid var(--rule); font: 340 clamp(1.45rem, 2.5vw, 2.3rem)/1.14 var(--serif); padding-right: 1.5rem; }
@media (max-width: 760px) { .svc-benefit { grid-column: 1 / -1; } }

.steps-mini { margin-top: clamp(2.2rem, 4vw, 3.5rem); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 32px); counter-reset: s; }
.steps-mini li { position: relative; padding-top: 1rem; border-top: 1px solid var(--rule); counter-increment: s; }
.steps-mini li::before { content: counter(s); display: block; font: italic 300 1.15rem/1 var(--serif); color: var(--accent); margin-bottom: .75rem; }
@media (max-width: 860px) { .steps-mini { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps-mini { grid-template-columns: 1fr; } }

/* Interior page heads ------------------------------------------------------ */
.page-head { padding: calc(var(--header) + clamp(3rem, 9vw, 8rem)) var(--gutter) clamp(3rem, 7vw, 6rem); position: relative; overflow: hidden; }
.page-head h1 { max-width: 12em; margin-top: 1.1rem; }
.page-head .lead { margin-top: 1.5rem; max-width: 34em; }
.page-head--image { min-height: 88svh; display: flex; align-items: flex-end; }
.page-head--image > .wrap { position: relative; z-index: 2; width: 100%; }
.page-head--image h1 { max-width: 8.2em; }
.page-head--image .h1-lines { max-width: none; font-size: clamp(2.7rem, 5.6vw, 6rem); }
.h1-lines > * { display: block; }
.page-head--image .lead { max-width: min(30em, 44vw); }
.page-head--image::before { content: ''; position: absolute; inset: 0 0 auto; height: 22%; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(18, 15, 12, .62), rgba(18, 15, 12, 0)); }
@media (max-width: 767px) {
  /* The same phone framing as the footer images: the bookmark above, the words below. */
  .page-head--image { padding-top: 47svh; }
  .page-head--image .lead { max-width: none; }
  .page-head--image img { object-position: 72% 0; }
}
.page-head--image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.page-head--image::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(95deg, rgba(18, 15, 12, .92), rgba(18, 15, 12, .78) 36%, rgba(18, 15, 12, .3) 52%, rgba(18, 15, 12, 0) 68%), linear-gradient(0deg, rgba(18, 15, 12, .45), rgba(18, 15, 12, 0) 34%); }
@media (max-width: 767px), (max-aspect-ratio: 1/1) { .page-head--image::after { background: linear-gradient(0deg, rgba(18, 15, 12, .94), rgba(18, 15, 12, .7) 50%, rgba(18, 15, 12, .15) 88%); } }
@media (max-width: 767px) { .page-head--image::after { background: linear-gradient(0deg, rgba(18, 15, 12, .97) 0%, rgba(18, 15, 12, .9) 40%, rgba(18, 15, 12, .3) 52%, rgba(18, 15, 12, 0) 60%); } }

/* Why BookMarc triptych */
.triptych { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 4.5rem); }
.triptych > div { padding-top: 1.2rem; border-top: 3px solid var(--fg); }
.triptych > div:nth-child(2) { margin-top: clamp(0px, 5vw, 5rem); }
.triptych > div:nth-child(3) { margin-top: clamp(0px, 10vw, 10rem); }
.triptych h2 { font-size: clamp(1.9rem, 3.6vw, 3.6rem); margin-bottom: .9rem; }
@media (max-width: 860px) { .triptych { grid-template-columns: 1fr; } .triptych > div:nth-child(n) { margin-top: 0; } }

/* How we work --------------------------------------------------------------- */
.step-list { margin-top: clamp(2.5rem, 6vw, 5rem); }
.step { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(14px, 2vw, 32px); padding-block: clamp(1.8rem, 4vw, 3.8rem); border-top: 1px solid var(--rule); align-items: baseline; }
.step .num { grid-column: span 2; font: italic 280 clamp(2.8rem, 6vw, 6rem)/.9 var(--serif); color: var(--accent); }
.step h2 { grid-column: span 5; font-size: clamp(1.7rem, 3.2vw, 3.1rem); line-height: 1.08; }
.step p { grid-column: span 5; }
@media (max-width: 860px) { .step .num, .step h2, .step p { grid-column: 1 / -1; } .step h2 { margin-top: .5rem; } .step p { margin-top: .7rem; } }

.packages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 32px); margin-top: clamp(2.5rem, 5vw, 4.5rem); align-items: end; }
.package { background: var(--ivory-2); color: var(--ink); padding: clamp(1.3rem, 2.4vw, 2.2rem); display: flex; flex-direction: column; justify-content: space-between; min-height: calc(13rem + var(--step) * 5rem); }
.package h3 { font-size: clamp(1.7rem, 2.9vw, 2.7rem); }
.package .price { margin-top: 2rem; }
.package .from { display: block; font-size: .9rem; color: #5a5044; }
.package .amount { font: 320 clamp(2.8rem, 5.6vw, 5.6rem)/1 var(--serif); letter-spacing: -.03em; }
.package .per { font-size: 1rem; color: #5a5044; }
@media (max-width: 760px) { .packages { grid-template-columns: 1fr; } .package { min-height: 0; } }
.hourly { margin-top: clamp(3rem, 6vw, 5.5rem); position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(14px, 2vw, 32px); align-items: end; padding-block: clamp(1.8rem, 3.6vw, 3.2rem); border-top: 3px solid var(--pink); border-bottom: 1px solid var(--rule); }
.hourly h3 { grid-column: span 5; font-size: clamp(1.9rem, 3.4vw, 3.3rem); }
.hourly .price { grid-column: span 4; white-space: nowrap; font: 320 clamp(2.4rem, 4.6vw, 4.6rem)/1 var(--serif); letter-spacing: -.03em; }
.hourly .price small { font: 400 1rem/1 var(--sans); letter-spacing: 0; color: var(--muted); }
.hourly p { grid-column: span 3; }
@media (max-width: 860px) { .hourly h3, .hourly .price, .hourly p { grid-column: 1 / -1; } .hourly .price, .hourly p { margin-top: .8rem; } }

/* About -------------------------------------------------------------------- */
.about-head { padding: calc(var(--header) + clamp(2.5rem, 7vw, 6rem)) var(--gutter) clamp(3.5rem, 7vw, 6rem); }
.about-head h1 { font-size: clamp(3.4rem, 8.4vw, 9.4rem); line-height: .92; letter-spacing: -.035em; }
.about-photo { grid-column: 8 / -1; grid-row: 1 / span 2; }
.about-title { grid-column: 1 / span 7; }
.about-intro { grid-column: 1 / span 6; margin-top: clamp(1.5rem, 4vw, 3.5rem); align-self: end; }
@media (max-width: 860px) { .about-photo, .about-title, .about-intro { grid-column: 1 / -1; grid-row: auto; } .about-photo { margin-top: 2rem; max-width: 460px; } }
.two-col-head { grid-column: 1 / span 4; }
.two-col-body { grid-column: 6 / -1; }
.two-col-head h2 { font-size: clamp(2rem, 3.8vw, 3.8rem); }
@media (max-width: 960px) { .two-col-head, .two-col-body { grid-column: 1 / -1; } .two-col-body { margin-top: 1.5rem; } }
.pull { font: 340 clamp(1.5rem, 2.8vw, 2.7rem)/1.16 var(--serif); }

/* Book --------------------------------------------------------------------- */
.book-page { padding: calc(var(--header) + clamp(2rem, 5vw, 4.5rem)) var(--gutter) clamp(4rem, 7vw, 6rem); min-height: 100svh; }
.book-page h1 { font-size: clamp(2.6rem, 5.4vw, 5.2rem); }
.book-intro { grid-column: 1 / span 5; }
.book-panel { grid-column: 7 / -1; }
.book-covers { margin-top: 1.8rem; display: grid; gap: .9rem; }
.book-covers li { padding-top: .9rem; border-top: 1px solid var(--rule); }
@media (max-width: 960px) { .book-intro, .book-panel { grid-column: 1 / -1; } .book-panel { margin-top: 2.5rem; } }
.notice { padding: 1rem 1.2rem; background: var(--paper); border-left: 4px solid var(--pink); }
.notice strong { display: block; margin-bottom: .15em; }
.notice:focus { outline: 2px solid var(--focus); outline-offset: 2px; }
.field { margin-top: 1.25rem; }
.field > label, .field > legend { display: block; font-weight: 600; margin-bottom: .35rem; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input[type='text'], .field input[type='email'], .field textarea { width: 100%; min-height: 3rem; padding: .7rem .85rem; background: var(--paper); border: 1px solid #6f6556; border-radius: 0; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--pink-on-light); box-shadow: 0 0 0 2px var(--pink-on-light); }
.field textarea { min-height: 7rem; resize: vertical; }
.choice-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice { position: relative; }
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; min-height: 44px; padding: .5rem 1rem; background: var(--paper); border: 1px solid #6f6556; transition: background-color .2s, color .2s, border-color .2s; }
.choice input:checked + span { background: var(--ink); color: var(--white); border-color: var(--ink); }
.choice input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.field-error { display: block; color: var(--pink-on-light); font-weight: 600; font-size: .92rem; margin-top: .35rem; }
.field-error:empty { display: none; }
.has-error input[type='text'], .has-error input[type='email'] { border-color: var(--pink-on-light); }
.submit-btn { border: 0; background: none; cursor: pointer; margin-top: 1.6rem; }
.submit-btn[disabled] { cursor: not-allowed; opacity: .55; }
.fine { margin-top: 1.25rem; color: var(--muted); font-size: .92rem; }
.google-frame { width: 100%; height: min(78svh, 780px); border: 1px solid var(--rule); background: var(--paper); }
.confirm-grid { margin-top: 2.5rem; display: grid; gap: 1.5rem; }
.confirm-grid h2 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.confirm-grid > div { padding-top: 1rem; border-top: 1px solid var(--rule); }

/* Policy pages ------------------------------------------------------------- */
.policy { padding: calc(var(--header) + clamp(2.5rem, 6vw, 5rem)) var(--gutter) clamp(4rem, 8vw, 7rem); }
.policy-body { max-width: 720px; }
.policy-body .fine { margin-top: 1.4rem; }
.policy-body h2 { scroll-margin-top: calc(var(--header) + 1rem); }
.policy-body h3 { margin-top: 1.4rem; font: 600 1.05rem/1.35 var(--sans); }
.policy-toc { margin-block: 2rem 1rem; padding-block: 1rem; border-block: 1px solid var(--rule); }
.policy-toc li { padding: .15rem 0; }
.policy-toc a { text-decoration: none; display: inline-block; padding: .18rem 0; }
.policy-toc a:hover { text-decoration: underline; text-underline-offset: .2em; }
.draft-flag { display: inline-block; margin-top: 1.2rem; padding: .32em .75em; background: var(--ink); color: var(--white); font-size: .84rem; font-weight: 600; letter-spacing: .02em; }


/* Footer ------------------------------------------------------------------- */
.site-footer { padding: clamp(3rem, 6vw, 5rem) var(--gutter) 2rem; border-top: 1px solid var(--rule); }
.footer-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(14px, 2vw, 32px); row-gap: 2.2rem; }
.footer-brand { grid-column: span 5; }
.footer-brand p { margin-top: .5rem; }
.footer-nav { grid-column: span 2; }
.footer-nav h2 { font: 600 .78rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .7rem; }
.footer-nav a { display: inline-block; text-decoration: none; padding: .32rem 0; }
.footer-nav a:hover { text-decoration: underline; text-underline-offset: .2em; }
.footer-cta { grid-column: span 3; }
.footer-base { margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1rem; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: .3rem 1.6rem; justify-content: space-between; font-size: .88rem; color: var(--muted); }
.footer-base a { text-decoration: none; padding: .3rem 0; display: inline-block; }
.footer-base a:hover { text-decoration: underline; }
.footer-base ul { display: flex; flex-wrap: wrap; gap: 0 1.4rem; }
.footer-legal { padding: .3rem 0; }
.footer-legal a { text-decoration: underline; text-underline-offset: .2em; padding: 0; display: inline; }
@media (max-width: 960px) { .footer-brand { grid-column: 1 / -1; } .footer-nav { grid-column: span 4; } .footer-cta { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-nav { grid-column: span 6; } }

/* Client logos and the Work page. */
.logo-wall { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(2.2rem, 4.5vw, 4rem) 0; margin-top: clamp(2.5rem, 6vw, 5rem); }
.logo-wall li { flex: 0 0 20%; display: flex; justify-content: center; align-items: center; padding-inline: .75rem; }
.logo-wall picture { display: block; width: var(--lw); max-width: 100%; }
.logo-wall img { display: block; width: 100%; height: auto; }
@media (max-width: 1100px) { .logo-wall li { flex-basis: 25%; } }
@media (max-width: 767px) { .logo-wall li { flex-basis: 33.33%; } .logo-wall picture { width: calc(var(--lw) * .78); } }
@media (max-width: 520px) { .logo-wall li { flex-basis: 50%; } }
.work-fineprint { margin-top: clamp(2.5rem, 5vw, 4rem); max-width: 56em; }
.work-case { padding-block: clamp(4.5rem, 10vw, 9rem); }
.work-intro { grid-column: 1 / span 4; align-self: start; position: sticky; top: calc(var(--header) + 2rem); }
.work-intro > h2 { font-size: clamp(2.2rem, 4vw, 4rem); }
.work-intro > .work-logo + h2 { margin-top: 1.6rem; }
.work-intro .lead { margin-top: 1.2rem; }
.work-logo { display: block; width: 11rem; }
.work-logo img { display: block; width: 100%; height: auto; }
.work-stat { display: flex; align-items: baseline; gap: .8rem; margin-top: 1.8rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
.work-stat b { font: 340 clamp(2.8rem, 5vw, 4.6rem)/1 var(--serif); letter-spacing: -.03em; color: var(--accent); }
.work-stat span { max-width: 15em; }
.work-stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.work-stat-row .work-stat { flex-direction: column; gap: .5rem; }
.work-intro .fine { margin-top: 1rem; }
.work-shots { grid-column: 6 / -1; display: grid; gap: clamp(14px, 2vw, 28px); }
.work-shot { background: #fff; overflow: hidden; box-shadow: 0 18px 50px -24px rgba(18, 15, 12, .45); }
.work-shot img { display: block; width: 100%; height: auto; }
.work-shots--dominos { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.work-shots--dominos .a { grid-column: span 4; }
.work-shots--dominos .b { grid-column: span 2; align-self: start; }
.work-shots--dominos .c { grid-column: span 6; align-self: start; }
.work-shots--emails { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.work-shots--emails .work-shot:nth-child(2) { margin-top: clamp(1rem, 3vw, 2.5rem); }
.work-shots--emails .work-shot:nth-child(3) { margin-top: clamp(2rem, 6vw, 5rem); }
@media (max-width: 1020px) { .work-intro, .work-shots { grid-column: 1 / -1; } .work-intro { position: static; } .work-shots { margin-top: 2.5rem; } }
@media (max-width: 560px) { .work-shots--emails { grid-template-columns: 1fr 1fr; } .work-shots--emails .work-shot:nth-child(2) { margin-top: 0; } .work-shots--emails .work-shot:nth-child(3) { display: none; } }
.capabilities { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2.4rem clamp(14px, 2vw, 32px); margin-top: clamp(2.5rem, 6vw, 5rem); }
.capability { border-top: 1px solid var(--rule); padding-top: 1rem; }
.capability h3 { font-size: clamp(1.3rem, 1.7vw, 1.65rem); min-height: 2.5em; }
.capability ul { margin-top: .8rem; color: var(--muted); }
.capability li { padding: .22rem 0; }
@media (max-width: 1100px) { .capabilities { grid-template-columns: repeat(3, minmax(0, 1fr)); } .capability h3 { min-height: 0; } }
@media (max-width: 640px) { .capabilities { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.foundation { margin-top: clamp(3rem, 6vw, 5rem); padding-top: 1.4rem; border-top: 1px solid var(--rule); max-width: 60em; }
.foundation h3 { font-size: clamp(1.6rem, 2.6vw, 2.5rem); }
.foundation p { margin-top: .7rem; }
.foundation ul { display: flex; flex-wrap: wrap; gap: .4rem 2rem; margin-top: 1rem; font-weight: 600; color: var(--accent); }

/* Reduced motion: no transitions on reveals, no smooth jumps. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
