/* Qantara Meridian — "The Ledger". v2 stylesheet. No framework, no build step.
   One accent (brass), two type sizes that matter: 0.6875rem and 7rem. */

:root {
  --ink: #0F0E0C;
  --ink-2: #141210;
  --paper: #EFE9DF;
  --brass: #B08A31;
  --brass-25: rgba(176, 138, 49, .25);
  --brass-12: rgba(176, 138, 49, .12);
  --muted: #8C8579;
  --display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: 900ms;
  --label: .6875rem;
  --measure: 30em;
  --max: 1080px;
  --pad: clamp(1.25rem, 5vw, 3rem);
  --rail: 8.5rem;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--brass); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 4px;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 1rem; top: 1rem;
  background: var(--brass); color: var(--ink);
  padding: .6rem 1.1rem; z-index: 200;
  font-size: var(--label); letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none;
}

/* ---------- grain ---------- */

.grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* ---------- shell ---------- */

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

main { display: block; }

@media (min-width: 1280px) {
  main { padding-left: var(--rail); }
  .site-header { padding-left: var(--rail); }
  .site-footer { padding-left: var(--rail); }
}

.site-header {
  border-bottom: 1px solid var(--brass-25);
  position: relative;
  z-index: 10;
}

.site-header .wrap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
  padding-top: 1.4rem;
  padding-bottom: 1.4rem;
  flex-wrap: wrap;
}

.wordmark {
  font-family: var(--display);
  font-size: .9375rem;
  font-weight: 400;
  letter-spacing: .24em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark span { color: var(--muted); font-weight: 300; }

nav.primary {
  display: flex;
  gap: clamp(.9rem, 2.4vw, 2rem);
  flex-wrap: wrap;
}

nav.primary a {
  font-size: var(--label);
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: color .25s, border-color .25s;
}
nav.primary a:hover,
nav.primary a[aria-current="page"] {
  color: var(--paper);
  border-bottom-color: var(--brass);
}

@media (max-width: 600px) {
  nav.primary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .55rem 1rem;
    width: 100%;
  }
}

/* ---------- type ---------- */

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  margin: 0 0 .5em;
  letter-spacing: -.02em;
}

h1, .display {
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: .95;
  letter-spacing: -.03em;
  overflow-wrap: break-word;
}

h2 {
  font-size: clamp(1.875rem, 4.4vw, 3.25rem);
  line-height: 1.02;
  letter-spacing: -.025em;
  max-width: 22ch;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  line-height: 1.15;
  letter-spacing: -.01em;
}

p { margin: 0 0 1.1em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

.label {
  font-family: var(--body);
  font-size: var(--label);
  font-weight: 400;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.5rem;
  display: block;
}
.label--brass { color: var(--brass); }

.lede {
  font-family: var(--display);
  font-size: clamp(1.125rem, 1.9vw, 1.5rem);
  line-height: 1.45;
  font-weight: 300;
  color: var(--paper);
  max-width: 27em;
  margin-top: 2rem;
}

.body-copy { max-width: var(--measure); }
.muted { color: var(--muted); }

.rule {
  border: 0;
  border-top: 1px solid var(--brass-25);
  margin: 0;
}

/* ---------- sections ---------- */

section { padding: clamp(4rem, 9vw, 8rem) 0; position: relative; }

.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

/* the only decorative rule, full-bleed past the text column */
.bleed-rule {
  grid-column: 1 / -1;
  height: 1px;
  background: var(--brass-25);
  margin: 0 0 clamp(2.5rem, 5vw, 4rem);
}

/* ---------- chapter index ---------- */

.chapter-index { display: none; }

@media (min-width: 1280px) {
  .chapter-index {
    display: block;
    position: fixed;
    left: clamp(1.25rem, 3vw, 2.5rem);
    top: 50%;
    transform: translateY(-50%);
    width: 8.2rem;
    z-index: 20;
  }
}

.chapter-index ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.chapter-index li + li { margin-top: 1.15rem; }

.chapter-index a {
  display: grid;
  grid-template-columns: 1.9rem 1fr;
  gap: 0 .35rem;
  align-items: baseline;
  text-decoration: none;
  font-size: var(--label);
  line-height: 1.35;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 400ms var(--ease), opacity 400ms var(--ease);
  opacity: .75;
}

.chapter-index .num {
  font-family: var(--display);
  font-size: .8125rem;
  letter-spacing: .06em;
  color: inherit;
}

.chapter-index a:hover { color: var(--paper); opacity: 1; }

.chapter-index a[aria-current="true"] {
  color: var(--brass);
  opacity: 1;
}

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

.hero {
  padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
}

.hero h1 { max-width: 15ch; }

.hero .lede { max-width: 24em; }

.actions {
  display: flex;
  gap: 1.25rem 2.75rem;
  flex-wrap: wrap;
  margin-top: clamp(2rem, 4vw, 3rem);
  align-items: baseline;
}

.link-arrow {
  font-size: var(--label);
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--brass);
  padding-bottom: .45rem;
  transition: color .25s, border-color .25s;
}
.link-arrow:hover { color: var(--brass); }
.link-arrow.muted { border-bottom-color: var(--brass-25); color: var(--muted); }
.link-arrow.muted:hover { color: var(--paper); border-bottom-color: var(--brass); }

/* ---------- the gap ---------- */

.gap-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0 4rem;
}

@media (min-width: 860px) {
  .gap-grid { grid-template-columns: 22ch minmax(0, 1fr); }
  .gap-grid h2 { margin-top: .1em; }
}

.gap-grid p + p { margin-top: 1.4em; }

/* ---------- capabilities: 7/5, never four equals ---------- */

.caps {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--brass-25);
}

.cap {
  padding: 2.25rem 2rem 2.5rem 0;
  border-bottom: 1px solid var(--brass-25);
  min-width: 0;
}

.cap h3 { margin-bottom: .7rem; }
.cap p { font-size: 1rem; color: #D8D1C4; max-width: 34ch; margin-bottom: 0; }

/* desktop: 7 / 5 then 5 / 7 */
.cap--a { grid-column: span 12; }
.cap--b { grid-column: span 12; }
.cap--c { grid-column: span 12; }
.cap--d { grid-column: span 12; }

@media (min-width: 760px) {
  .cap--a { grid-column: span 7; }
  .cap--b { grid-column: span 5; padding-left: 2rem; border-left: 1px solid var(--brass-25); }
  .cap--c { grid-column: span 5; }
  .cap--d { grid-column: span 7; padding-left: 2rem; border-left: 1px solid var(--brass-25); }
  .cap--b p { max-width: 28ch; }
  .cap p { font-size: 1.0625rem; }
}

/* ---------- oversized number ---------- */

.number-section { padding: clamp(3rem, 6vw, 5rem) 0; }

.number-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem 2.5rem;
  align-items: center;
  padding: clamp(2rem, 5vw, 3.5rem) 0;
  overflow: clip;
}

@media (min-width: 760px) {
  .number-block { grid-template-columns: minmax(0, auto) minmax(0, 1fr); }
}

.big-number {
  font-family: var(--display);
  font-size: clamp(6rem, 15vw, 14rem);
  line-height: .8;
  letter-spacing: -.05em;
  color: var(--brass);
  margin-left: -.14em;
  white-space: nowrap;
}

@media (min-width: 760px) {
  .big-number { margin-left: -2.25rem; }
}

.number-block .number-copy { max-width: 26em; }
.number-block .number-copy strong {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.15;
  display: block;
  margin-bottom: .7rem;
  letter-spacing: -.01em;
}

/* ---------- two networks ---------- */

.net-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem 3.5rem;
  margin-top: 2.5rem;
}

@media (min-width: 700px) {
  .net-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

.net-col h3 {
  font-family: var(--body);
  font-size: var(--label);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1rem;
  font-weight: 400;
}

.net-col p {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.4;
  max-width: 24ch;
}

.net-base {
  border-top: 1px solid var(--brass-25);
  margin: 2.5rem 0 0;
  padding-top: 1.4rem;
  font-size: var(--label);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
  max-width: none;
}

/* ---------- full-bleed statement, cropped right ---------- */

.statement {
  overflow: clip;
  padding: clamp(4rem, 10vw, 9rem) 0;
  background: var(--ink-2);
  border-top: 1px solid var(--brass-25);
  border-bottom: 1px solid var(--brass-25);
}

.statement .wrap { padding-right: 0; }

.statement blockquote {
  margin: 0;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(2.25rem, 8vw, 7rem);
  line-height: 1.02;
  letter-spacing: -.035em;
  max-width: none;
  width: 132%;
  text-wrap: balance;
}

@media (max-width: 760px) {
  .statement blockquote { width: 100%; font-size: clamp(1.875rem, 8.6vw, 2.75rem); }
}

.statement cite {
  display: block;
  font-family: var(--body);
  font-style: normal;
  font-size: var(--label);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: clamp(2rem, 4vw, 3rem);
  max-width: 30ch;
}

/* ---------- corridor ---------- */

.corridor-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem 3rem;
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

@media (min-width: 860px) {
  .corridor-head { grid-template-columns: minmax(0, 1fr) minmax(0, 22em); }
  .corridor-head .lede { margin-top: 0; font-size: 1.0625rem; line-height: 1.65; }
}

.corr-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .35rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--brass-25);
}

.corr-tabs button {
  appearance: none;
  background: none;
  border: 0;
  border-bottom: 1px solid transparent;
  margin-bottom: -1px;
  padding: .55rem .8rem .6rem 0;
  margin-right: 1.2rem;
  color: var(--muted);
  font-family: var(--body);
  font-size: var(--label);
  letter-spacing: .2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .25s, border-color .25s;
}
.corr-tabs button:hover { color: var(--paper); }
.corr-tabs button[aria-pressed="true"] {
  color: var(--brass);
  border-bottom-color: var(--brass);
}

.chart {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.chart text {
  font-family: var(--body);
  font-size: 12.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  fill: var(--paper);
}
.chart text.port { fill: var(--brass); }
.chart .coast {
  fill: none;
  stroke: var(--brass);
  stroke-opacity: .16;
  stroke-width: 1.2;
}
.chart .track {
  fill: none;
  stroke: var(--brass);
  stroke-width: 1.25;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.chart .dot { fill: var(--brass); }
.chart .dot-ring { fill: none; stroke: var(--brass); stroke-opacity: .45; }

.chart .wp { opacity: 0; transition: opacity 420ms var(--ease); }
.chart .wp.is-on { opacity: 1; }
.chart .wp.is-dim { opacity: .3; }
.chart .wp.is-dim.is-on { opacity: .3; }

.chart .plane { opacity: 0; }
.chart .plane.is-flying { opacity: 1; }
.chart .plane path { fill: var(--brass); }

.corr-set { display: none; }
.corr-set.is-active { display: block; }

.chart-empty { display: none; }

/* mobile: the chart becomes a vertical rail at reading size */
.corr-rail { display: none; }

@media (max-width: 759px) {
  .chart { display: none; }
  .corr-rail { display: block; }
  .corr-rail-set { display: none; }
  .corr-rail-set.is-active { display: block; }
  .corr-rail ol {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
  }
  .corr-rail ol::before {
    content: "";
    position: absolute;
    left: 5px;
    top: .55rem;
    bottom: 1.2rem;
    width: 1px;
    background: var(--brass);
    transform-origin: top;
    transform: scaleY(1);
    transition: transform 1.6s var(--ease);
  }
  .corr-rail-set:not(.is-drawn) ol::before { transform: scaleY(0); }
  .corr-rail li {
    position: relative;
    padding: 0 0 2rem 2rem;
    display: grid;
    gap: .1rem;
  }
  .corr-rail li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: .6rem;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brass);
  }
  .corr-rail li:first-child::before {
    width: 9px; height: 9px; left: 1px; top: .55rem;
    background: var(--ink); border: 1px solid var(--brass);
  }
  .corr-rail .city {
    font-family: var(--display);
    font-size: 1.5rem;
    line-height: 1.2;
  }
  .corr-rail .geo {
    font-size: var(--label);
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--muted);
  }
}

.corr-note {
  font-size: var(--label);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 1.5rem;
  max-width: none;
}

/* ---------- founder strip ---------- */

.founder-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem 4rem;
}

@media (min-width: 900px) {
  .founder-strip { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
}

.pull {
  margin: 0;
  border-left: 1px solid var(--brass);
  padding-left: clamp(1.25rem, 2.5vw, 2rem);
}
.pull blockquote {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -.02em;
  max-width: 18ch;
}
.pull figcaption {
  margin-top: 1.75rem;
  font-size: var(--label);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- close ---------- */

.close h2 { max-width: 18ch; }

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

.site-footer {
  border-top: 1px solid var(--brass-25);
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem);
  font-size: .875rem;
  color: var(--muted);
}

.footer-intro {
  font-family: var(--display);
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--paper);
  margin: 0 0 clamp(2rem, 4vw, 3rem);
  max-width: 18ch;
}
.footer-intro span { color: var(--brass); }

.site-footer .footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  flex-wrap: wrap;
  align-items: baseline;
}

.site-footer .legal { max-width: 24em; line-height: 1.8; }
.site-footer a { text-decoration: none; border-bottom: 1px solid var(--brass-25); }
.site-footer a:hover { border-bottom-color: var(--brass); color: var(--paper); }

/* ---------- how a mandate runs ---------- */

.timeline { position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--brass-12);
}
.timeline .phase { padding-left: clamp(1rem, 2.5vw, 2rem); }

.phase {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem 2.5rem;
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-top: 1px solid var(--brass-25);
}

@media (min-width: 760px) {
  .phase { grid-template-columns: 5.5rem minmax(0, 1fr); }
}

.phase .idx {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: .85;
  color: var(--brass);
  letter-spacing: -.03em;
}

.phase h3 { margin-bottom: .8rem; }
.phase p { max-width: 34em; }

.phase dl {
  margin: 1.5rem 0 0;
  display: grid;
  gap: 1.1rem;
}

.phase dt {
  font-size: var(--label);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .25rem;
}
.phase dd { margin: 0; max-width: 38em; font-size: 1rem; color: #D8D1C4; }

.fee {
  margin: 0;
  padding: clamp(1.75rem, 3vw, 2.5rem) 0 clamp(1.75rem, 3vw, 2.5rem) clamp(1.25rem, 3vw, 2.25rem);
  border-left: 1px solid var(--brass);
  background: linear-gradient(90deg, rgba(176, 138, 49, .06), transparent 70%);
}
.fee h3 {
  font-family: var(--body);
  font-size: var(--label);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1rem;
  font-weight: 400;
}
.fee p {
  font-family: var(--display);
  font-size: clamp(1.1875rem, 2vw, 1.4375rem);
  line-height: 1.45;
  max-width: 32em;
}
.fee p + p { color: #D8D1C4; }

@media (min-width: 760px) {
  .fee { margin-left: 8rem; }
}

/* ---------- track record ---------- */

.entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .75rem 2.5rem;
  padding: clamp(1.75rem, 3.5vw, 2.75rem) 0;
  border-top: 1px solid var(--brass-25);
}
.entry:last-of-type { border-bottom: 1px solid var(--brass-25); }

@media (min-width: 800px) {
  .entry { grid-template-columns: 11rem minmax(0, 1fr); }
}

.entry .meta {
  font-size: var(--label);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brass);
  line-height: 1.9;
}
.entry .meta span { display: block; color: var(--muted); }

.entry h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); margin-bottom: .6rem; }
.entry p { font-size: 1rem; color: #D8D1C4; max-width: var(--measure); }

@media (max-width: 799px) {
  .entry .meta { display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
  .entry .meta span { display: inline; }
}

/* ---------- founder page ---------- */

.long-copy p { max-width: 32em; margin-bottom: 1.35em; }

.big-quote {
  margin: clamp(3rem, 6vw, 5rem) 0;
  padding: 0;
  border: 0;
  overflow: clip;
}
.big-quote blockquote {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 5.6vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -.03em;
  max-width: 20ch;
}
.big-quote figcaption {
  margin-top: 1.75rem;
  font-size: var(--label);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
}

.glance {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.75rem 3rem;
  margin-top: 2.5rem;
  border-top: 1px solid var(--brass-25);
  padding-top: 2rem;
}
@media (min-width: 700px) {
  .glance { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .glance { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.glance h3 {
  font-family: var(--body);
  font-size: var(--label);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .5rem;
  font-weight: 400;
}

/* ---------- contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.75rem 2.5rem;
  margin-top: 3rem;
  border-top: 1px solid var(--brass-25);
  padding-top: 2rem;
}
@media (min-width: 640px) {
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .contact-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.contact-grid h3 {
  font-family: var(--body);
  font-size: var(--label);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .6rem;
  font-weight: 400;
}
.contact-grid a { text-decoration: none; border-bottom: 1px solid var(--brass-25); overflow-wrap: anywhere; }
.contact-grid a:hover { border-bottom-color: var(--brass); }

.by-introduction {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.25;
  color: var(--paper);
  margin: 0 0 2rem;
  max-width: 24ch;
}
.by-introduction em { font-style: italic; color: var(--brass); }

form.enquiry { margin-top: clamp(2.5rem, 5vw, 4rem); max-width: 34em; }
form.enquiry h2 { margin-bottom: 1.5rem; }
form.enquiry p { color: var(--muted); }

form.enquiry label {
  display: block;
  font-size: var(--label);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 1.75rem 0 .4rem;
}

form.enquiry input,
form.enquiry textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--brass-25);
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 300;
  color: var(--paper);
  padding: .55rem 0;
  border-radius: 0;
  transition: border-color .25s;
}
form.enquiry input:focus,
form.enquiry textarea:focus {
  outline: none;
  border-bottom-color: var(--brass);
}
form.enquiry textarea { resize: vertical; min-height: 6rem; }

form.enquiry button {
  margin-top: 2.5rem;
  background: var(--brass);
  color: var(--ink);
  border: 0;
  font-family: var(--body);
  font-size: var(--label);
  letter-spacing: .24em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  cursor: pointer;
  transition: background .25s, color .25s;
}
form.enquiry button:hover { background: var(--paper); }

/* ---------- client room ---------- */

.room-line { max-width: 16ch; }
.room-list { margin: clamp(3rem, 7vw, 5rem) 0 0; }
.room-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .6rem 2.5rem;
  padding: 2rem 0;
  border-top: 1px solid var(--brass-25);
}
@media (min-width: 760px) {
  .room-item { grid-template-columns: minmax(0, 1fr) 12rem; align-items: start; }
}
.room-item h2 { font-size: clamp(1.375rem, 2.6vw, 1.75rem); margin-bottom: .4rem; }
.room-item p { font-size: 1rem; color: #D8D1C4; max-width: 30em; }
.room-item .state {
  font-size: var(--label);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
}
.room-item .state--live { color: var(--brass); }
.room-foot {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--brass-25);
  font-size: var(--label);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  max-width: 40em;
  line-height: 2;
}

/* ---------- motion: 900 ms, once, cubic-bezier(.22,.61,.36,1) ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* long blocks never animate twice, and never delay the first paint of text */
.js .reveal--flat { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal,
  .js .reveal.is-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .chart .wp { transition: none; }
  .chart .wp { opacity: 1; }
  .chart .wp.is-dim { opacity: .55; }
  .chart .track { transition: none !important; }
  .corr-rail ol::before { transition: none; transform: none !important; }
  .chapter-index a,
  .corr-tabs button,
  nav.primary a { transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- print (used for the client-room PDF) ---------- */

@media print {
  :root {
    --ink: #fff;
    --ink-2: #fff;
    --paper: #111;
    --muted: #555;
    --brass: #8a6a1f;
    --brass-25: #cfc6b4;
  }
  .grain, .site-header, .site-footer, .chapter-index, .actions, .corr-tabs,
  .chart, .corr-rail, .corr-note, .skip, .by-introduction { display: none !important; }
  body { background: #fff; color: #111; font-size: 10.5pt; }
  main { padding-left: 0 !important; }
  section { padding: 1.2rem 0; break-inside: auto; }
  h1 { font-size: 26pt; }
  h2 { font-size: 15pt; }
  .phase { break-inside: avoid; padding: .9rem 0; }
  .fee { break-inside: avoid; background: none; }
  a { text-decoration: none; }
  @page { margin: 20mm; }
}
