/* Monograph: paper-white pages, true ink, one graphite for captions. The site has no accent
   colour of its own; colour arrives with the work, and a chapter may tint its own pages. */
:root {
  color-scheme: light;
  --paper: #FBFBFA;
  --paper-2: #F2F2F0;
  --ink: #111214;
  --graphite: #66676C;
  --hair: rgba(17, 18, 20, .08);
  --device: #1D1D1F;
  --device-edge: #3A3A3D;
  --focus: #0A64E0;
  --page: min(1440px, 100%);
  --gutter: clamp(16px, 4vw, 64px);
  --col-gap: clamp(12px, 1.6vw, 24px);
  --font: "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --spring: cubic-bezier(.2, .9, .25, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --t-display: clamp(3rem, 7.2vw, 6rem);
  --t-chapter: clamp(2.5rem, 5.6vw, 5rem);
  --t-title: clamp(1.75rem, 2.8vw, 2.5rem);
  --t-lede: clamp(1.25rem, 1.7vw, 1.5rem);
  --t-body: 1.0625rem;
  --t-cap: .875rem;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 var(--t-body)/1.55 var(--font);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, picture, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; touch-action: manipulation; -webkit-user-select: none; user-select: none; }
::selection { background: var(--ink); color: var(--paper); }
:where(h1, h2, h3, p) { margin: 0; }
h1, h2, h3 { text-wrap: balance; font-weight: 600; }
.num { font-variant-numeric: tabular-nums; }
.skip { position: absolute; left: var(--gutter); top: -60px; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }

/* ───── Page frame ───── */
.book { width: var(--page); margin: 0 auto; padding-inline: var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }

.masthead {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
}
.masthead .book { display: flex; align-items: center; gap: 24px; height: 56px; }
.masthead .name { font-weight: 600; font-size: 1rem; letter-spacing: -0.01em; text-decoration: none; }
.masthead nav { margin-left: auto; display: flex; gap: clamp(14px, 2.4vw, 32px); font-size: .9375rem; }
.masthead nav a { text-decoration: none; color: var(--graphite); transition: color .2s var(--ease-out); }
.masthead nav a[aria-current="page"] { color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .masthead nav a:hover { color: var(--ink); } }
@media (max-width: 720px) { .masthead nav a:not(:last-child) { display: none; } }

/* ───── Opening spread ───── */
.opening { padding-block: clamp(40px, 8vw, 120px) clamp(48px, 7vw, 112px); align-items: start; }
.opening .intro { grid-column: 1 / span 5; position: sticky; top: 96px; display: grid; gap: clamp(20px, 2.4vw, 32px); }
.opening h1 { font-size: var(--t-display); line-height: .94; letter-spacing: -0.045em; font-weight: 650; }
.opening .role { font-size: var(--t-lede); line-height: 1.3; letter-spacing: -0.015em; font-weight: 500; }
.opening .statement { color: var(--graphite); max-width: 34ch; }
.opening .feature { grid-column: 7 / span 6; }
@media (max-width: 960px) {
  .opening .intro, .opening .feature { grid-column: 1 / -1; position: static; }
  .opening .feature { margin-top: 40px; }
}

.contents { list-style: none; margin: 8px 0 0; padding: 0; display: grid; }
.contents a { display: grid; grid-template-columns: 2.25rem 1fr auto; gap: 12px; align-items: baseline; padding: 9px 0; text-decoration: none; }
.contents .n { color: var(--graphite); font-size: var(--t-cap); }
.contents .t { font-weight: 500; letter-spacing: -0.01em; }
.contents .k { color: var(--graphite); font-size: var(--t-cap); }
@media (hover: hover) and (pointer: fine) { .contents a:hover .t { text-decoration: underline; } }

/* ───── Chapters ───── */
.chapter { --ch-bg: var(--paper); --ch-ink: var(--ink); --ch-mute: var(--graphite); background: var(--ch-bg); color: var(--ch-ink); padding-block: clamp(64px, 10vw, 160px); }
.chapter.dark { --ch-bg: #0C0A12; --ch-ink: #F4F2F8; --ch-mute: #A5A1B3; --hair: rgba(255, 255, 255, .1); }
.chapter.tint { --ch-bg: var(--paper-2); }
.chapter-head { align-items: end; margin-bottom: clamp(32px, 5vw, 72px); row-gap: 24px; }
.chapter-head .folio { grid-column: 1 / span 2; color: var(--ch-mute); font-size: var(--t-cap); align-self: start; padding-top: .9em; }
.chapter-head h1, .chapter-head h2 { grid-column: 3 / span 7; font-size: var(--t-chapter); line-height: .98; letter-spacing: -0.04em; font-weight: 650; }
.chapter-head .meta { grid-column: 10 / span 3; color: var(--ch-mute); font-size: var(--t-cap); display: grid; gap: 2px; }
.chapter-head .meta .folio-m { display: none; }
.chapter-head .lede { grid-column: 3 / span 6; font-size: var(--t-lede); line-height: 1.38; letter-spacing: -0.012em; color: var(--ch-ink); }
.chapter-head .more { grid-column: 10 / span 3; align-self: end; }
@media (max-width: 960px) {
  .chapter-head .folio, .chapter-head h1, .chapter-head h2, .chapter-head .meta, .chapter-head .lede, .chapter-head .more { grid-column: 1 / -1; }
  .chapter-head .folio { display: none; }
  .chapter-head .meta .folio-m { display: inline; }
}
.link-more { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; text-decoration: none; padding: 12px 18px; border-radius: 999px; background: var(--ch-ink, var(--ink)); color: var(--ch-bg, var(--paper)); transition: transform .12s var(--ease-out); }
.link-more:active { transform: scale(.97); }
.link-more svg { width: 16px; height: 16px; }

.spread { margin-top: clamp(40px, 6vw, 96px); }
.spread:first-of-type { margin-top: 0; }
.cap { color: var(--ch-mute, var(--graphite)); font-size: var(--t-cap); line-height: 1.45; margin-top: 14px; max-width: 60ch; }
.cap b { color: var(--ch-ink, var(--ink)); font-weight: 500; }

/* ───── Devices ───── */
.browser {
  border-radius: clamp(10px, 1.1vw, 16px); background: var(--device); padding: 0; overflow: hidden;
  box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 30px 60px -20px rgba(17, 18, 20, .35), 0 12px 24px -12px rgba(17, 18, 20, .25);
}
.browser .bar { height: clamp(26px, 2.6vw, 38px); display: flex; align-items: center; gap: 7px; padding-inline: 14px; background: #2A2A2D; }
.browser .bar i { width: 10px; height: 10px; border-radius: 50%; background: #48484C; }
.browser .bar span { margin-left: auto; margin-right: auto; font-size: 12px; color: #A1A1A6; background: #1D1D1F; padding: 3px 14px; border-radius: 6px; max-width: 60%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.viewport { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: #fff; }
.viewport img { width: 100%; height: auto; will-change: transform; }
.viewport.tall { aspect-ratio: 16 / 11; }

.phone {
  width: min(100%, 360px); margin-inline: auto; padding: 11px; border-radius: 52px; background: var(--device);
  box-shadow: 0 0 0 1.5px var(--device-edge) inset, 0 40px 80px -24px rgba(17,18,20,.45), 0 14px 28px -14px rgba(17,18,20,.3);
}
.phone .viewport { aspect-ratio: 9 / 19.5; border-radius: 42px; }
.phone iframe { width: 100%; height: 100%; border: 0; }

/* scroll-linked screens: the frame is sticky inside a tall track */
.scrollscreen { position: relative; }
.scrollscreen .stick { position: sticky; top: calc(56px + 4vh); }
.scrollscreen[data-ready] .viewport { cursor: zoom-in; }

/* ───── Switcher (hero variants, palettes) ───── */
.switch .stage-img { position: relative; }
.switch .stage-img picture { transition: opacity .35s var(--ease-out); }
.switch .stage-img picture + picture { position: absolute; inset: 0; }
.switch .stage-img picture[hidden] { display: block !important; opacity: 0; pointer-events: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.switch-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-bottom: 20px; }
.switch-tools .cap { margin: 0; }
.switch .browser { max-width: 1180px; margin-inline: auto; }
.chip { height: 40px; padding: 0 16px; border-radius: 999px; background: var(--hair); font-size: .9375rem; font-weight: 500; transition: background .2s var(--ease-out), color .2s var(--ease-out), transform .12s var(--ease-out); }
.chip:active { transform: scale(.96); }
.chip[aria-pressed="true"] { background: var(--ch-ink, var(--ink)); color: var(--ch-bg, var(--paper)); }
.chip.swatch { width: 40px; padding: 0; position: relative; overflow: hidden; }
.chip.swatch span { position: absolute; inset: 5px; border-radius: 50%; }
.chip.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--ch-ink, var(--ink)); background: transparent; }

/* ───── Deck (banner sets) ───── */
.deck { margin-inline: calc(var(--gutter) * -1); }
.deck .track { display: flex; gap: var(--col-gap); overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px var(--gutter) 24px; scrollbar-width: none; overscroll-behavior-x: contain; }
.deck .track::-webkit-scrollbar { display: none; }
.deck figure { margin: 0; flex: none; scroll-snap-align: start; scroll-margin-left: var(--gutter); }
.deck figure img { height: auto; width: auto; max-height: clamp(200px, 32vw, 440px); max-width: min(78vw, 720px); border-radius: 10px; box-shadow: 0 18px 36px -18px rgba(17,18,20,.35); }
.deck figcaption { color: var(--ch-mute); font-size: var(--t-cap); margin-top: 10px; max-width: 34ch; }
.deck .tools { display: flex; align-items: center; gap: 8px; padding-inline: var(--gutter); }
.deck .tools .chips { margin: 0; }
.deck .arrows { margin-left: auto; display: flex; gap: 8px; }
.deck .arrows button { width: 44px; height: 44px; border-radius: 50%; background: var(--hair); display: grid; place-items: center; transition: transform .12s var(--ease-out); }
.deck .arrows button:active { transform: scale(.94); }
@media (max-width: 720px) { .deck .arrows { display: none; } }

/* ───── Galleries ───── */
.gallery { display: grid; gap: var(--col-gap); grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: auto; border-radius: 12px; background: var(--paper-2); }
@media (max-width: 720px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.pair { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 3fr); gap: clamp(20px, 4vw, 64px); align-items: center; }
@media (max-width: 860px) { .pair { grid-template-columns: 1fr; } }

.bleed { margin-inline: calc(var(--gutter) * -1); }
.bleed img { width: 100%; height: auto; }

/* ───── Lightbox: full-size long pages scroll natively ───── */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(12, 12, 14, .92); display: grid; grid-template-rows: auto 1fr; opacity: 0; transition: opacity .25s var(--ease-out); }
.lightbox.on { opacity: 1; }
.lightbox header { display: flex; align-items: center; gap: 12px; padding: 12px var(--gutter); color: #F5F5F7; font-size: .9375rem; }
.lightbox header button { margin-left: auto; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.12); display: grid; place-items: center; color: #fff; }
.lightbox .scroll { overflow: auto; overscroll-behavior: contain; padding: 0 var(--gutter) 40px; }
.lightbox .scroll img { width: min(100%, 1440px); margin-inline: auto; height: auto; border-radius: 8px; }

/* ───── Case page ───── */
.case-hero { padding-block: clamp(40px, 7vw, 112px) clamp(32px, 5vw, 72px); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--col-gap); margin: clamp(40px, 5vw, 72px) 0 0; }
.facts dt { color: var(--ch-mute, var(--graphite)); font-size: var(--t-cap); }
.facts dd { margin: 4px 0 0; font-weight: 500; }
@media (max-width: 720px) { .facts { grid-template-columns: 1fr 1fr; } }
.prose { max-width: 62ch; display: grid; gap: 1em; }
.prose h2 { font-size: var(--t-title); line-height: 1.12; letter-spacing: -0.025em; margin-top: .6em; }
.next { display: flex; align-items: center; gap: .35em; text-decoration: none; padding-block: clamp(56px, 9vw, 140px); font-size: var(--t-chapter); line-height: 1; letter-spacing: -0.04em; font-weight: 650; }
.next svg { width: .6em; height: .6em; flex: none; transition: transform .3s var(--spring); }
@media (hover: hover) and (pointer: fine) { .next:hover svg { transform: translateX(.12em); } }

/* ───── Colophon ───── */
.colophon { padding-block: clamp(72px, 10vw, 160px) 56px; }
.colophon .portrait { grid-column: 1 / span 4; }
.colophon .portrait img { width: 100%; height: auto; border-radius: 16px; filter: grayscale(1) contrast(1.05); }
.colophon .about { grid-column: 6 / span 6; display: grid; gap: 22px; align-content: start; }
.colophon h2 { font-size: var(--t-chapter); line-height: .98; letter-spacing: -0.04em; font-weight: 650; }
.colophon .skills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.colophon .skills li { padding: 7px 14px; border-radius: 999px; background: var(--paper-2); font-size: .9375rem; }
.colophon .contact { font-size: var(--t-lede); font-weight: 500; letter-spacing: -0.012em; line-height: 1.6; }
.colophon .contact a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .colophon .contact a:hover { background-size: 100% 1px; } }
.colophon .contact .todo { color: var(--graphite); font-weight: 400; font-size: var(--t-body); }
@media (max-width: 860px) { .colophon .portrait, .colophon .about { grid-column: 1 / -1; } .colophon .portrait { max-width: 360px; margin-bottom: 32px; } }
.foot { color: var(--graphite); font-size: var(--t-cap); padding-block: 32px 48px; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot .r { margin-left: auto; }
.foot a { color: inherit; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .foot a:hover { color: var(--ink); } }

/* Reveal: content is visible by default; JS only adds a gentle rise for spreads entering. */
.rise { transition: transform .9s var(--spring); }
.rise.pending { transform: translateY(24px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .rise.pending { transform: none; opacity: 1; transition: none; }
  .switch .stage-img picture, .chip, .lightbox { transition: none; }
  .scrollscreen .viewport { overflow: auto; }
}

/* Phones: a taller window so a long landing is readable while it scrolls. */
@media (max-width: 720px) {
  .scrollscreen .browser .viewport, .viewport.tall { aspect-ratio: 3 / 4; }
  .pair .phone { width: min(78%, 320px); }
}

/* Feature gallery: one large figure and a supporting set, all tiles square on the art's own grey. */
.gallery.feature { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery.feature figure { aspect-ratio: 1; background: var(--tile, var(--paper-2)); border-radius: 16px; overflow: hidden; display: grid; place-items: center; cursor: zoom-in; }
.gallery.feature figure:first-child { grid-column: span 2; grid-row: span 2; }
.gallery.feature picture, .gallery.feature img { width: 100%; height: 100%; }
.gallery.feature img { object-fit: contain; padding: 8%; background: none; border-radius: 0; }
@media (max-width: 720px) { .gallery.feature { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gallery.feature figure:last-child:nth-child(even) { grid-column: span 2; aspect-ratio: 2 / 1; } }

/* Deck page-turn: cards leave by turning away on their left edge and the next set swings in. */
.deck .track { perspective: 1400px; }
.deck figure { transform-origin: 0 50%; transition: transform .5s var(--spring), opacity .35s var(--ease-out); }
.deck figure.leave { transform: rotateY(-62deg) translateX(-12%); opacity: 0; }
.deck figure.enter { transform: rotateY(48deg) translateX(10%); opacity: 0; transition: none; }
@media (prefers-reduced-motion: reduce) { .deck figure, .deck figure.leave, .deck figure.enter { transition: none; transform: none; opacity: 1; } }

/* Long Russian words in huge headings: hyphenate instead of overflowing on phones. */
h1, h2 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }


/* ───── Services: the book also says what it offers ───── */
.opening h1.claim { font-size: clamp(2.75rem, 4.6vw, 4.25rem); line-height: .96; letter-spacing: -0.042em; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }

.link-quiet { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; color: var(--ch-ink, var(--ink)); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s var(--ease-out); }

.link-quiet svg { width: 14px; height: 14px; transition: transform .3s var(--spring); }

@media (hover: hover) and (pointer: fine) {
  .link-quiet:hover, a:hover .link-quiet { background-size: 100% 1px; }
  a:hover .link-quiet svg { transform: translateX(3px); }
}

.contents.plain a { grid-template-columns: 1fr auto; }

.masthead nav .nav-cta { color: var(--ink); font-weight: 500; }

/* Indent: lists under a plain section head start where titles start, column 3. */
.svc-list, .steps, .faq, .offers, .cases, .deliver, .cta .contact, .cta-more { margin-left: calc((100% + var(--col-gap)) / 6); }

.block { padding-block: clamp(72px, 9vw, 140px) 0; }

.chapter-head.plain h1, .chapter-head.plain h2 { grid-column: 3 / span 8; }

.chapter-head.plain .actions { grid-column: 3 / span 8; }

.case-hero .chapter-head.plain + .spread { margin-top: clamp(40px, 6vw, 88px); }

.svc-list, .steps, .cases, .deliver { list-style: none; padding: 0; margin-top: 0; margin-bottom: 0; }

.svc { grid-template-columns: repeat(10, minmax(0, 1fr)); padding-block: clamp(28px, 3.4vw, 48px); row-gap: 16px; }

.svc h3 { grid-column: 1 / span 4; font-size: var(--t-title); line-height: 1.08; letter-spacing: -0.03em; font-weight: 650; }

.svc h3 a { text-decoration: none; }

@media (hover: hover) and (pointer: fine) { .svc h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; } }

.svc-body { grid-column: 5 / span 6; display: grid; gap: 16px; justify-items: start; }

.svc-body > p:first-child { font-size: 1.1875rem; line-height: 1.45; letter-spacing: -0.008em; max-width: 52ch; }

.svc-body .cap { margin: 0; }

.svc-body .cap a { color: var(--ink); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }

.tags li { padding: 6px 13px; border-radius: 999px; background: var(--paper-2); font-size: .9375rem; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--col-gap); counter-reset: none; }

.steps li { display: grid; gap: 10px; align-content: start; padding-right: 12px; }

.steps .n { color: var(--graphite); font-size: var(--t-cap); }

.steps h3 { font-size: 1.375rem; line-height: 1.15; letter-spacing: -0.02em; font-weight: 600; }

.steps p { color: var(--graphite); }

.faq { display: grid; gap: 8px; max-width: 860px; }

.faq details { background: var(--paper-2); border-radius: 16px; }

.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 24px; cursor: pointer; font-size: 1.1875rem; font-weight: 500; letter-spacing: -0.01em; border-radius: 16px; }

.faq summary::-webkit-details-marker { display: none; }

.faq summary svg { width: 18px; height: 18px; flex: none; transition: transform .35s var(--spring); }

.faq details[open] summary svg { transform: rotate(45deg); }

.faq details p { padding: 0 24px 22px; max-width: 64ch; color: var(--graphite); }

.faq summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

.offers { margin-top: 0; margin-bottom: 0; }

.offer { grid-template-columns: repeat(10, minmax(0, 1fr)); padding-block: clamp(20px, 2.4vw, 32px); row-gap: 8px; }

.offer dt { grid-column: 1 / span 4; font-size: 1.375rem; line-height: 1.2; letter-spacing: -0.02em; font-weight: 600; }

.offer dd { grid-column: 5 / span 6; margin: 0; max-width: 56ch; }

.cases { display: grid; gap: clamp(48px, 6vw, 88px); margin-left: 0; }

.case { grid-template-columns: repeat(12, minmax(0, 1fr)); row-gap: 24px; align-items: center; text-decoration: none; }

.case .thumb { grid-column: 1 / span 7; }

.case-text { grid-column: 9 / span 4; display: grid; gap: 12px; justify-items: start; }

.case-text h3 { font-size: var(--t-title); line-height: 1.08; letter-spacing: -0.03em; font-weight: 650; }

.case-text .k { color: var(--graphite); font-size: var(--t-cap); margin-top: -6px; }

.tile { aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: var(--paper-2); }

.tile picture, .tile img { width: 100%; height: 100%; }

.tile img { object-fit: cover; object-position: top; }

.tile.contain img { object-fit: contain; padding: 6%; }

.deliver { columns: 2; column-gap: var(--col-gap); max-width: 900px; }

.deliver li { font-size: var(--t-lede); line-height: 1.3; letter-spacing: -0.012em; padding-block: 8px; break-inside: avoid; }

.cta .contact { font-size: var(--t-lede); font-weight: 500; letter-spacing: -0.012em; line-height: 1.6; grid-column: 1 / -1; }

.cta .contact a, .facts dd a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s var(--ease-out); }

@media (hover: hover) and (pointer: fine) { .cta .contact a:hover, .facts dd a:hover { background-size: 100% 1px; } }

.colophon .contact + .statement { color: var(--graphite); max-width: 52ch; }

@media (max-width: 960px) {
  .svc-list, .steps, .faq, .offers, .deliver, .cta .contact, .cta-more { margin-left: 0; }
  .chapter-head.plain h1, .chapter-head.plain h2, .chapter-head.plain .actions { grid-column: 1 / -1; }
  .svc h3, .svc-body, .offer dt, .offer dd, .case .thumb, .case-text { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
}

@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .deliver { columns: 1; }
  .faq summary { padding: 18px 18px; font-size: 1.0625rem; }
  .faq details p { padding: 0 18px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .faq summary svg, .link-quiet, .link-quiet svg { transition: none; }
}

/* Secondary section heads sit a step below chapter titles. */
.block .chapter-head.plain h2 { font-size: clamp(2.25rem, 4.2vw, 3.75rem); line-height: 1; }

.case-hero .chapter-head.plain { align-items: start; }

@media (max-width: 560px) {
  .contents.plain a { grid-template-columns: 1fr; gap: 2px; padding: 10px 0; }
}

.cta-more { margin-top: 28px; }

/* Prices: the lower bound of each offer, set as a quiet second line under its title. */
.offer dt .price { display: block; margin-top: 6px; font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--graphite); font-variant-numeric: tabular-nums; }

.chapter-head .price-big { font-size: var(--t-lede); font-weight: 500; letter-spacing: -0.012em; color: var(--ink); white-space: nowrap; }

.contents.plain .k { font-variant-numeric: tabular-nums; white-space: nowrap; }

.colophon .portrait { margin: 0; }

.colophon .portrait figcaption { color: var(--graphite); font-size: var(--t-cap); margin-top: 12px; }

.case-hero .chapter-head.plain .meta { grid-column: 3 / span 8; }

@media (max-width: 960px) { .case-hero .chapter-head.plain .meta { grid-column: 1 / -1; } }
