/* Qantara Meridian — v3 "The Arch". Layered on ledger.css (layouts) — this file sets the
   grand register: gold, Cormorant + Jost, the arch intro, film heroes, arch windows,
   the khatam divider and the finale. Every motion collapses under reduced motion. */

:root {
  --ink: #090806;
  --ink-2: #110F0B;
  --ink-3: #18140E;
  --paper: #F4ECDD;
  --paper-2: #D9CFBD;
  --brass: #C9A34E;
  --brass-25: rgba(201, 163, 78, .26);
  --brass-12: rgba(201, 163, 78, .12);
  --muted: #9A9081;
  --gold-1: #7A5A1E;
  --gold-2: #B8913F;
  --gold-3: #E9CB7C;
  --gold-4: #FFF3CF;
  --gilt: linear-gradient(100deg, #8A6624 0%, #C9A34E 22%, #F2D88F 38%, #FFF4D2 46%, #E3C273 54%, #B08A31 72%, #7A5A1E 100%);
  --display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --body: "Jost", "Futura", "Century Gothic", "Avenir Next", sans-serif;
  --arabic: "Amiri", "Noto Naskh Arabic", serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.22, .61, .36, 1);
  --dur: 1100ms;
  --max: 1240px;
  --measure: 32em;
  --header-h: 5.25rem;
}

body { font-weight: 300; letter-spacing: .005em; }
h1, h2, h3, .display { font-weight: 300; letter-spacing: -.012em; }
h1 em, h2 em { font-style: italic; color: var(--gold-3); }
.label { font-family: var(--body); letter-spacing: .34em; font-weight: 400; }
.lede { color: var(--paper-2); font-weight: 300; }
p { font-weight: 300; }
strong { font-weight: 500; }

/* ---------- gilt text: gold foil, one sheen when it enters ---------- */

.gilt {
  background: var(--gilt);
  background-size: 240% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--brass);
}
.gilt.is-in,
.is-in .gilt { animation: sheen 3.2s var(--ease-soft) .25s both; }
@keyframes sheen { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* ---------- header: transparent over film, glass once scrolled ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 120;
  border-bottom: 1px solid transparent;
  transition: background-color .6s var(--ease-soft), border-color .6s, backdrop-filter .6s;
}
.site-header.is-scrolled {
  background: rgba(9, 8, 6, .74);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: var(--brass-25);
}
.site-header .wrap { align-items: center; padding-top: 1.55rem; padding-bottom: 1.55rem; }

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  font-family: var(--body);
  font-size: .8125rem;
  letter-spacing: .38em;
  font-weight: 400;
}
.wordmark span { color: var(--brass); font-weight: 300; }
.wordmark .ar {
  font-family: var(--arabic);
  font-size: 1.35rem;
  letter-spacing: 0;
  color: var(--brass);
  line-height: 1;
  padding-right: .85rem;
  border-right: 1px solid var(--brass-25);
  text-transform: none;
}
nav.primary a { font-family: var(--body); letter-spacing: .26em; color: var(--paper-2); }
nav.primary a:hover,
nav.primary a[aria-current="page"] { color: var(--gold-3); border-bottom-color: var(--brass); }

main.no-film { padding-top: var(--header-h); }

/* ---------- CTA: gold hairline, light fills on hover ---------- */

.link-arrow {
  font-family: var(--body);
  letter-spacing: .3em;
  font-weight: 400;
}
.btn-gilt {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 2.1rem;
  border: 1px solid rgba(201, 163, 78, .6);
  color: var(--gold-4);
  font-family: var(--body);
  font-size: .6875rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: color .5s var(--ease), border-color .5s;
}
.btn-gilt::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--gilt);
  background-size: 200% 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .7s var(--ease);
}
.btn-gilt::after { content: "\2192"; letter-spacing: 0; transition: transform .5s var(--ease); }
.btn-gilt:hover { color: var(--ink); border-color: var(--gold-3); }
.btn-gilt:hover::before { transform: scaleX(1); }
.btn-gilt:hover::after { transform: translateX(.35rem); }
.btn-gilt.is-quiet { border-color: transparent; color: var(--paper-2); padding-left: 0; padding-right: 0; }
.btn-gilt.is-quiet::before { display: none; }
.btn-gilt.is-quiet:hover { color: var(--gold-3); }

/* ---------- intro: the arch opens (homepage, once per session) ---------- */

.curtain { display: none; }
html.intro .curtain {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 400;
  pointer-events: auto;
  cursor: pointer;
}
.curtain__half {
  position: absolute;
  top: 0; bottom: 0;
  width: 50.5%;
  background:
    radial-gradient(ellipse at 100% 50%, rgba(201, 163, 78, .08), transparent 60%),
    var(--ink);
  transition: transform 1.6s cubic-bezier(.77, 0, .18, 1);
}
.curtain__half--l { left: 0; }
.curtain__half--r { right: 0; transform-origin: right; background:
    radial-gradient(ellipse at 0% 50%, rgba(201, 163, 78, .08), transparent 60%), var(--ink); }
.curtain__mark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1.6rem;
  transition: opacity .9s var(--ease-soft), transform 1.6s cubic-bezier(.77, 0, .18, 1);
}
.curtain__arch { width: clamp(110px, 14vw, 170px); height: auto; overflow: visible; }
.curtain__arch path {
  fill: none;
  stroke: url(#giltStroke);
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 520;
  stroke-dashoffset: 520;
}
.curtain__arch .inner { stroke-width: .8; opacity: .55; }
.curtain__ar {
  font-family: var(--arabic);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1;
  opacity: 0;
  transform: translateY(10px);
}
.curtain__word {
  font-family: var(--body);
  font-size: .75rem;
  letter-spacing: .6em;
  text-transform: uppercase;
  color: var(--paper-2);
  opacity: 0;
  padding-left: .6em;
}
.curtain.is-drawing .curtain__arch path { transition: stroke-dashoffset 1.7s var(--ease-soft); stroke-dashoffset: 0; }
.curtain.is-drawing .curtain__arch .inner { transition-delay: .35s; }
.curtain.is-drawing .curtain__ar { transition: opacity 1s var(--ease-soft) .8s, transform 1.2s var(--ease) .8s; opacity: 1; transform: none; }
.curtain.is-drawing .curtain__word { transition: opacity 1s var(--ease-soft) 1.15s; opacity: 1; }
.curtain.is-opening { pointer-events: none; }
.curtain.is-opening .curtain__half--l { transform: translateX(-101%); }
.curtain.is-opening .curtain__half--r { transform: translateX(101%); }
.curtain.is-opening .curtain__mark { opacity: 0; transform: scale(1.6); }
.curtain__skip {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  font-family: var(--body);
  font-size: .625rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--muted);
  background: none; border: 0; cursor: pointer;
  padding: .8rem 1.2rem;
}
.curtain.is-opening .curtain__skip { opacity: 0; transition: opacity .4s; }

/* ---------- film hero ---------- */

.hero--film {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 3rem) 0 clamp(4.5rem, 10vh, 7.5rem);
  overflow: clip;
  isolation: isolate;
}
.hero--page { min-height: 82vh; min-height: 82svh; }
.film {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: var(--ink) center / cover no-repeat;
}
.film video,
.film img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: 50% 40%;
}
.film video { opacity: 0; transition: opacity 1.6s var(--ease-soft); }
.film video.is-playing { opacity: 1; }
.film::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 90% at 50% 35%, transparent 30%, rgba(9, 8, 6, .55) 72%, rgba(9, 8, 6, .92) 100%),
    linear-gradient(180deg, rgba(9, 8, 6, .55) 0%, rgba(9, 8, 6, 0) 22%, rgba(9, 8, 6, 0) 48%, rgba(9, 8, 6, .82) 82%, var(--ink) 100%);
}
.hero--film .wrap { width: 100%; }
.hero--film h1 {
  font-size: clamp(2.9rem, 7.2vw, 7.4rem);
  line-height: .98;
  max-width: 14ch;
  margin-bottom: .45em;
  text-wrap: balance;
}
.hero--page h1 { font-size: clamp(2.6rem, 6vw, 5.8rem); max-width: 17ch; }
.hero--film .lede { max-width: 30em; font-size: clamp(1.05rem, 1.35vw, 1.25rem); }
.hero--film .actions { margin-top: 2.4rem; align-items: center; }

/* line-by-line rise for the hero title */
.lines .ln { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.lines .ln > span { display: block; }
.js .lines .ln > span { transform: translateY(105%); transition: transform 1.5s var(--ease); }
.js .lines.is-in .ln > span { transform: none; }
.js .lines.is-in .ln:nth-child(2) > span { transition-delay: .12s; }
.js .lines.is-in .ln:nth-child(3) > span { transition-delay: .24s; }
.js .lines.is-in .ln:nth-child(4) > span { transition-delay: .36s; }
.js .lines.reveal { opacity: 1; transform: none; }

.scroll-cue {
  position: absolute;
  right: var(--pad);
  bottom: 2.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .9rem;
  font-family: var(--body);
  font-size: .5625rem;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
}
.scroll-cue::after {
  content: "";
  width: 1px;
  height: 64px;
  background: linear-gradient(var(--brass), transparent);
  transform-origin: top;
  animation: drip 2.8s var(--ease-soft) infinite;
}
@keyframes drip { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

.qantara-note {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.6rem;
}
.qantara-note .ar { font-family: var(--arabic); font-size: 1.6rem; line-height: 1; }

/* ---------- khatam divider: the eight-point star, drawn once ---------- */

.khatam {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--pad);
  color: var(--brass);
}
.khatam::before,
.khatam::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brass-25) 40%, rgba(201, 163, 78, .55));
  transform: scaleX(0);
  transition: transform 1.6s var(--ease);
}
.khatam::before { transform-origin: right; }
.khatam::after { transform-origin: left; background: linear-gradient(270deg, transparent, var(--brass-25) 40%, rgba(201, 163, 78, .55)); }
.khatam svg { width: 38px; height: 38px; flex: none; overflow: visible; }
.khatam path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  stroke-dasharray: 260;
  stroke-dashoffset: 260;
  transition: stroke-dashoffset 2s var(--ease-soft) .3s;
}
.khatam circle { fill: currentColor; opacity: 0; transition: opacity 1s 1.4s; }
.khatam.is-in::before,
.khatam.is-in::after { transform: scaleX(1); }
.khatam.is-in path { stroke-dashoffset: 0; }
.khatam.is-in circle { opacity: 1; }
.khatam.reveal { opacity: 1; transform: none; }

/* ---------- arch window (What we do) ---------- */

.arch-split {
  display: grid;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
@media (min-width: 960px) {
  .arch-split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .arch-split .arch-window { position: sticky; top: calc(var(--header-h) + 2rem); }
}
.arch-split .caps { grid-template-columns: 1fr; }
@media (min-width: 640px) { .arch-split .caps { grid-template-columns: 1fr 1fr; } }
.arch-split .cap--a,
.arch-split .cap--b,
.arch-split .cap--c,
.arch-split .cap--d { grid-column: auto; grid-row: auto; }
.arch-split .cap { padding: 1.9rem 0 0; border-top: 1px solid var(--brass-25); }
.arch-split .cap h3 { font-size: clamp(1.45rem, 2vw, 1.85rem); margin-bottom: .6rem; }

.arch-window {
  position: relative;
  aspect-ratio: 2 / 3;
  max-height: 78vh;
  margin-inline: auto;
  width: 100%;
}
.arch-window .film {
  z-index: 0;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 150' preserveAspectRatio='none'%3E%3Cpath d='M0 150V58C0 26 28 9 50 0C72 9 100 26 100 58V150Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 150' preserveAspectRatio='none'%3E%3Cpath d='M0 150V58C0 26 28 9 50 0C72 9 100 26 100 58V150Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.arch-window .film::after { background: linear-gradient(180deg, transparent 55%, rgba(9, 8, 6, .55)); }
.arch-window .frame {
  position: absolute;
  inset: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  overflow: visible;
  pointer-events: none;
}
.arch-window .frame path {
  fill: none;
  stroke: url(#giltStroke);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.arch-window figcaption {
  position: absolute;
  left: 0; right: 0; bottom: -2.4rem;
  text-align: center;
  font-family: var(--body);
  font-size: .5625rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 959px) {
  .arch-window { max-width: 420px; aspect-ratio: 3 / 4; }
}

/* ---------- the number ---------- */

.big-number {
  font-family: var(--display);
  font-weight: 300;
  background: var(--gilt);
  background-size: 240% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 40px rgba(201, 163, 78, .18));
}
.big-number.is-in { animation: sheen 3.6s var(--ease-soft) .2s both; }

/* ---------- film band (Two networks) ---------- */

.film-band {
  position: relative;
  min-height: 115vh;
  display: flex;
  align-items: center;
  overflow: clip;
  isolation: isolate;
  padding: 8rem 0;
}
.film-band .film::after {
  background:
    linear-gradient(180deg, var(--ink) 0%, rgba(9, 8, 6, .35) 22%, rgba(9, 8, 6, .35) 70%, var(--ink) 100%),
    linear-gradient(90deg, rgba(9, 8, 6, .82) 0%, rgba(9, 8, 6, .2) 65%);
}
.film-band h2 { font-size: clamp(2.6rem, 6vw, 5.6rem); line-height: 1; max-width: 12ch; margin-bottom: 3rem; }
.film-band .net-grid { max-width: 46rem; }
.film-band .net-col { background: rgba(9, 8, 6, .42); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); padding: 1.6rem 1.7rem; border-top: 1px solid rgba(201, 163, 78, .5); }
.film-band .net-col h3 { color: var(--gold-3); }

/* ---------- corridor: gold line, a little light ---------- */

.chart .track { stroke: url(#giltStroke); stroke-width: 1.4; }
.chart { filter: drop-shadow(0 0 10px rgba(201, 163, 78, .22)); }
.chart .dot { fill: var(--gold-3); }
.chart .plane path { fill: var(--gold-4); }
.corr-tabs button { font-family: var(--body); letter-spacing: .26em; }
.corr-tabs button[aria-pressed="true"] { color: var(--ink); background: var(--gilt); border-color: transparent; }

/* ---------- statement: mashrabiya light ---------- */

.statement {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse 70% 120% at 85% 50%, rgba(201, 163, 78, .10), transparent 70%),
    var(--ink-2);
}
.statement::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23C9A34E' stroke-width='.8'%3E%3Cpath d='M40 12 48 32 68 40 48 48 40 68 32 48 12 40 32 32Z'/%3E%3Cpath d='M20 20H60V60H20Z' transform='rotate(45 40 40)'/%3E%3Cpath d='M20 20H60V60H20Z'/%3E%3Cpath d='M0 0 20 20M80 0 60 20M0 80 20 60M80 80 60 60'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 80px 80px;
  -webkit-mask: linear-gradient(90deg, transparent 0%, #000 45%, #000 100%);
  mask: linear-gradient(90deg, transparent 0%, #000 45%, #000 100%);
}
.statement::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 236, 190, .07) 50%, transparent 65%);
  transform: translateX(-100%);
}
.statement.is-lit::after { transition: transform 3.4s var(--ease-soft); transform: translateX(100%); }
.statement blockquote { font-weight: 300; }

/* ---------- finale: the arch opens onto the desert ---------- */

.finale {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: clip;
  isolation: isolate;
  text-align: center;
}
.finale .film { clip-path: inset(0 0 0 0 round 0); }
.finale .film::after {
  background: radial-gradient(ellipse 80% 70% at 50% 55%, rgba(9, 8, 6, .35), rgba(9, 8, 6, .82) 100%);
}
.finale .wrap { width: 100%; }
.finale h2 { font-size: clamp(2.5rem, 6vw, 5.6rem); line-height: 1.02; max-width: 16ch; margin: 0 auto .5em; text-wrap: balance; }
.finale .lede { margin: 0 auto; max-width: 28em; }
.finale .actions { justify-content: center; margin-top: 2.8rem; }

/* ---------- footer ---------- */

.site-footer { position: relative; overflow: clip; }
.site-footer .ar-watermark {
  position: absolute;
  right: -2vw;
  bottom: -4vw;
  font-family: var(--arabic);
  font-size: clamp(9rem, 26vw, 22rem);
  line-height: 1;
  color: var(--brass);
  opacity: .05;
  pointer-events: none;
  user-select: none;
}
.footer-intro { font-family: var(--display); font-weight: 300; }
.footer-intro span { font-style: italic; }

/* ---------- reveal: slower, deeper ---------- */

.js .reveal { transform: translateY(32px); }

/* ---------- small screens ---------- */

@media (max-width: 720px) {
  :root { --header-h: 4.4rem; }
  .site-header .wrap { padding-top: 1rem; padding-bottom: 1rem; gap: .8rem 1.2rem; }
  .wordmark { font-size: .6875rem; letter-spacing: .28em; gap: .6rem; }
  .wordmark .ar { font-size: 1.1rem; padding-right: .6rem; }
  nav.primary { gap: .4rem 1rem; }
  nav.primary a { font-size: .5625rem; letter-spacing: .2em; }
  .hero--film { padding-top: calc(var(--header-h) + 5rem); }
  .scroll-cue { display: none; }
  .film-band { min-height: 0; padding: 6rem 0; }
  .btn-gilt { padding: .95rem 1.5rem; letter-spacing: .26em; }
}

/* ---------- reduced motion: everything is simply there ---------- */

@media (prefers-reduced-motion: reduce) {
  html.intro .curtain { display: none; }
  .gilt.is-in, .is-in .gilt, .big-number.is-in { animation: none; background-position: 40% 0; }
  .js .lines .ln > span { transform: none; transition: none; }
  .scroll-cue::after { animation: none; }
  .khatam::before, .khatam::after { transform: none; transition: none; }
  .khatam path { stroke-dashoffset: 0; transition: none; }
  .khatam circle { opacity: 1; transition: none; }
  .film video { display: none; }
  .statement::after { display: none; }
  .btn-gilt::before, .btn-gilt::after { transition: none; }
}

@media print {
  .curtain, .film, .scroll-cue, .khatam, .ar-watermark { display: none !important; }
  .gilt, .big-number { -webkit-text-fill-color: currentColor; background: none; }
  .site-header { position: static; }
}

/* =========================================================================
   Full width: the page uses the whole screen. Text keeps a readable measure
   inside columns; the columns, not the paragraphs, fill the width.
   ========================================================================= */

:root { --max: 1720px; --pad: clamp(1.25rem, 4.5vw, 5.5rem); --rail: 7rem; }

h2 { font-size: clamp(2.1rem, 4.6vw, 4.6rem); max-width: 26ch; line-height: 1.02; }
h3 { font-family: var(--display); font-weight: 400; }
.lede { max-width: 38em; font-size: clamp(1.15rem, 1.7vw, 1.6rem); }
.hero h1 { max-width: 20ch; }
.hero--film h1 { max-width: 19ch; font-size: clamp(2.9rem, 6.6vw, 8.4rem); }
.hero--film .lede { max-width: 44em; }
.hero--film .hero-foot {
  display: grid;
  gap: 2rem 5rem;
  align-items: end;
}
@media (min-width: 1000px) {
  .hero--film .hero-foot { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
  .hero--film .hero-foot .actions { justify-content: flex-end; margin-top: 0; }
}

section { padding: clamp(4.5rem, 9vw, 9rem) 0; }
.section--tight { padding: clamp(3rem, 6vw, 6rem) 0; }

/* I · the distance: heading | lede | body, across the width */
@media (min-width: 1000px) {
  .gap-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); gap: 0 clamp(3rem, 5vw, 6rem); align-items: start; }
  .gap-grid > div { display: contents; }
  .gap-grid .lede { margin-top: 0; font-size: clamp(1.3rem, 1.9vw, 1.85rem); }
  .gap-grid .body { grid-column: 3; }
}

/* arch split: capabilities take 7 of 12, the arch the rest */
.arch-split .cap p { max-width: none; font-size: 1.0625rem; }
.arch-split .section-head { margin-bottom: 1.5rem; }
.arch-split .caps { gap: 2.5rem clamp(2rem, 4vw, 4.5rem); border-top: 0; }

/* the number, across the width */
.number-block { gap: 2rem clamp(3rem, 6vw, 7rem); }
@media (min-width: 900px) {
  .number-block { grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); }
  .number-block .number-copy { display: contents; }
  .number-block .number-copy strong { align-self: center; font-family: var(--display); font-weight: 300; font-size: clamp(2rem, 3.6vw, 3.6rem); line-height: 1.05; text-transform: none; letter-spacing: -.01em; }
  .number-block .number-copy p { align-self: center; max-width: 30em; font-size: 1.125rem; }
}
.big-number { font-size: clamp(9rem, 22vw, 22rem); line-height: .8; }

/* film band */
.film-band .net-grid { max-width: none; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.film-band h2 { max-width: 16ch; }

/* care: how a principal is looked after — six commitments, full width */
.care-head { display: grid; gap: 1.5rem clamp(3rem, 6vw, 7rem); margin-bottom: clamp(3rem, 5vw, 4.5rem); }
@media (min-width: 1000px) { .care-head { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; } .care-head .lede { margin: 0; } }
.care {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  border-top: 1px solid var(--brass-25);
  border-left: 1px solid var(--brass-25);
}
.care > div {
  position: relative;
  padding: clamp(1.8rem, 3vw, 2.8rem);
  border-right: 1px solid var(--brass-25);
  border-bottom: 1px solid var(--brass-25);
  overflow: hidden;
  transition: background-color .8s var(--ease);
}
.care > div::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 1px;
  background: var(--gilt);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s var(--ease);
}
.care > div:hover { background: rgba(201, 163, 78, .045); }
.care > div:hover::before { transform: scaleX(1); }
.care .n { display: block; font-family: var(--display); font-style: italic; color: var(--brass); font-size: 1.25rem; margin-bottom: 1.4rem; }
.care h3 { font-size: clamp(1.4rem, 1.9vw, 1.9rem); line-height: 1.12; margin-bottom: .8rem; }
.care p { font-size: 1rem; color: var(--paper-2); max-width: 30em; margin: 0; }

/* corridor head across the width */
@media (min-width: 900px) { .corridor-head { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }

/* founder strip */
.pull blockquote { font-size: clamp(2rem, 4vw, 4rem); max-width: 20ch; }
.founder-strip p { max-width: 36em; }

/* finale */
.finale h2 { max-width: 22ch; font-size: clamp(2.6rem, 6.4vw, 7rem); }
.finale .lede { max-width: 40em; }

/* inner pages */
@media (min-width: 1100px) {
  .long-copy { column-count: 2; column-gap: clamp(3rem, 6vw, 7rem); }
  .long-copy p { max-width: none; break-inside: avoid; }
  .long-copy .actions { column-span: all; }
  .phase dl { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 3rem; }
  .phase dl dt { grid-row: 1; }
  .phase dl dd { grid-row: 2; }
  .phase p { max-width: 52em; }
  .entry { grid-template-columns: 16rem minmax(0, 1fr); }
  .entry p { max-width: 52em; }
  .entry h3 { max-width: none; font-size: clamp(1.6rem, 2.4vw, 2.4rem); }
  form.enquiry { max-width: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; }
  form.enquiry h2, form.enquiry p, form.enquiry .full, form.enquiry button { grid-column: 1 / -1; }
  form.enquiry button { justify-self: start; }
}
.big-quote blockquote { max-width: 24ch; font-size: clamp(2.2rem, 5.4vw, 5.6rem); }
.timeline p, .glance, .contact-grid { font-size: 1.0625rem; }
.fee { max-width: none; }

/* statement: the message, not a shout */
.statement blockquote { font-size: clamp(1.7rem, 3.4vw, 3.3rem); line-height: 1.15; max-width: 32ch; width: auto; }
