/* Quiet power. Ink ground, Shai in natural colour, black and white only for the archive, brass only in hairlines and the one call. */
:root {
  --ink: #12151c;
  --ink-2: #1a1e27;
  --ink-3: #232833;
  --cream: #f6f2ea;
  --paper: #fbf8f2;
  --brass: #c9a961;
  --bordeaux: #5e1f24;
  --line-dark: rgba(201, 169, 97, .28);
  --line-light: rgba(18, 21, 28, .16);
  --soft-dark: #d8d4cb;
  --mute-dark: #b7b4ac;
  --mute-light: #565b66;
  --display: "Frank Ruhl Libre", "David Libre", serif;
  --body: "Assistant", "Heebo", sans-serif;
  --archive: "David Libre", "Frank Ruhl Libre", serif;
  --gutter: clamp(20px, 4.4vw, 72px);
  --width: 1320px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --head: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + 16px); }
body { margin: 0; font-family: var(--body); font-size: 18px; line-height: 1.65; color: var(--cream); background: var(--ink); -webkit-font-smoothing: antialiased; --rule: var(--line-dark); --soft: var(--soft-dark); --mute: var(--mute-dark); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.1; text-wrap: balance; }
p { text-wrap: pretty; }
bdi { unicode-bidi: isolate; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.wrap { width: min(100%, calc(var(--width) + var(--gutter) * 2)); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: fixed; inset: 8px 8px auto auto; z-index: 60; padding: 10px 18px; background: var(--brass); color: var(--ink); font-weight: 600; transform: translateY(-200%); }
.skip:focus { transform: none; }

.light { background: var(--cream); color: var(--ink); --rule: var(--line-light); --soft: #2d3240; --mute: var(--mute-light); }
.paper { background: var(--paper); color: var(--ink); --rule: var(--line-light); --soft: #2d3240; --mute: var(--mute-light); }
.deep { background: var(--ink-2); }

/* header */
.top { position: fixed; inset: 0 0 auto 0; z-index: 30; color: var(--cream); transition: background .22s var(--ease), border-color .22s var(--ease); border-bottom: 1px solid transparent; }
.top.is-solid, .inner .top { background: rgba(18, 21, 28, .97); border-bottom-color: var(--line-dark); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: var(--head); }
.brand { display: flex; flex-direction: column; font-family: var(--display); line-height: 1.15; flex: none; }
.brand b { font-size: 25px; font-weight: 500; }
.brand span { font-family: var(--body); font-size: 14px; opacity: .8; }
.nav { display: flex; gap: clamp(16px, 2vw, 30px); font-size: 16.5px; }
.nav a { position: relative; padding-block: 8px; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; inset: auto 0 2px 0; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: right; transition: transform .22s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.top-call { display: flex; align-items: center; gap: 18px; flex: none; }
.top-call .tel { font-weight: 600; font-size: 18px; white-space: nowrap; }
.top-call .btn { min-height: 44px; padding: 0 18px; font-size: 16px; white-space: nowrap; }
.menu-btn { display: none; min-width: 44px; min-height: 44px; padding: 0 14px; font-size: 16px; font-weight: 600; border: 1px solid var(--line-dark); }
.menu { position: fixed; inset: 0; z-index: 29; display: none; padding: calc(var(--head) + 24px) var(--gutter) 90px; overflow-y: auto; background: var(--ink); color: var(--cream); }
.menu.is-open { display: block; }
.menu a { display: block; padding-block: 15px; font-family: var(--display); font-size: 29px; line-height: 1.2; border-bottom: 1px solid var(--line-dark); }
.menu .sub a { font-family: var(--body); font-size: 18px; padding-block: 11px; color: var(--soft-dark); border-bottom: 0; }
.menu h2 { margin-top: 26px; font-family: var(--body); font-size: 15px; font-weight: 600; color: var(--brass); }

/* calls */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 54px; padding: 0 28px; font-size: 17px; font-weight: 600; border: 1px solid transparent; transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .16s var(--ease); }
.btn:active { transform: scale(.97); }
.btn-solid { background: var(--brass); color: var(--ink); }
.btn-solid:hover { background: #d8bb78; }
.btn-line { border-color: currentColor; }
.btn-line:hover { background: rgba(255, 255, 255, .08); }
.light .btn-solid, .paper .btn-solid { background: var(--ink); color: var(--cream); }
.light .btn-solid:hover, .paper .btn-solid:hover { background: var(--bordeaux); }
.light .btn-line:hover, .paper .btn-line:hover { background: rgba(18, 21, 28, .06); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link { font-weight: 600; border-bottom: 1px solid var(--brass); padding-bottom: 3px; transition: border-color .18s var(--ease); }
.link:hover { border-bottom-color: currentColor; }
.light .link, .paper .link { border-bottom-color: var(--bordeaux); }

/* phone bar */
.bar { display: none; }

/* photographs: no filter on the page */
.print { background: var(--ink-3); }
.print img { width: 100%; height: 100%; object-fit: cover; }

/* home hero */
.hero { position: relative; min-height: min(94vh, 960px); display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 28%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(18, 21, 28, .72) 0, rgba(18, 21, 28, 0) 140px), linear-gradient(270deg, rgba(18, 21, 28, .92) 14%, rgba(18, 21, 28, .62) 42%, rgba(18, 21, 28, 0) 66%), linear-gradient(0deg, rgba(18, 21, 28, .78) 0, rgba(18, 21, 28, 0) 26%); }
.hero-in { position: relative; z-index: 2; padding-block: 150px 64px; }
.hero h1 { max-width: 10.5ch; font-size: clamp(52px, 7.6vw, 112px); line-height: 1.02; font-weight: 300; }
.hero-answer { margin-top: 14px; font-family: var(--display); font-size: clamp(27px, 3.3vw, 46px); line-height: 1.15; color: var(--brass); }
.hero-sub { max-width: 36ch; margin: 22px 0 30px; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: var(--soft-dark); }

/* facts strip */
.facts { border-block: 1px solid var(--line-dark); background: var(--ink); }
.facts dl { display: grid; grid-template-columns: repeat(3, 1fr); }
.facts dl > div { padding-block: 26px; padding-inline-start: clamp(16px, 3vw, 44px); border-inline-start: 1px solid var(--line-dark); }
.facts dl > div:first-child { border-inline-start: 0; padding-inline-start: 0; }
.facts dt { font-family: var(--archive); font-size: clamp(38px, 4.2vw, 58px); line-height: 1; color: var(--brass); }
.facts dd { margin-top: 8px; font-size: 16.5px; color: var(--soft-dark); }

/* sections */
.band { padding-block: clamp(64px, 8vw, 104px); }
.band h2 { font-size: clamp(33px, 3.8vw, 52px); margin-bottom: 30px; }
.lead { max-width: 54ch; font-size: clamp(19px, 1.7vw, 22px); line-height: 1.55; color: var(--soft); }
.fine { font-size: 15px; line-height: 1.55; color: var(--mute); }
.split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split.even { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.more { margin-top: 26px; }
.band h2.fine { margin-bottom: 14px; font-family: var(--body); font-size: 17px; font-weight: 600; color: var(--brass); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* situation router */
.router { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: clamp(32px, 6vw, 96px); }
.router li { border-bottom: 1px solid var(--rule); }
.router li:nth-child(-n+2) { border-top: 1px solid var(--rule); }
.router a { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-block: 22px; font-family: var(--display); font-size: clamp(23px, 2.3vw, 31px); line-height: 1.2; transition: padding .22s var(--ease); }
.router a span { flex: none; font-family: var(--body); font-size: 16px; color: var(--brass); opacity: 0; transform: translateX(8px); transition: opacity .18s var(--ease), transform .22s var(--ease); }
.router a:hover, .router a:focus-visible { padding-inline-start: 14px; }
.router a:hover span, .router a:focus-visible span { opacity: 1; transform: none; }

/* legacy */
.year { font-family: var(--archive); font-size: clamp(64px, 9vw, 132px); line-height: 1; color: var(--bordeaux); }
.legacy h2 { font-size: clamp(34px, 4.4vw, 60px); margin-block: 10px 18px; }
.legacy p + p { margin-top: 12px; }
.legacy .print img { aspect-ratio: 1; }

/* quote */
.quote p { font-family: var(--display); font-weight: 300; font-size: clamp(31px, 3.8vw, 52px); line-height: 1.18; }
.quote + p { max-width: 50ch; margin-block: 24px 22px; color: var(--soft); }

/* full bleed photograph with words on it */
.bleed { position: relative; min-height: 82vh; display: flex; align-items: flex-end; overflow: hidden; }
.bleed > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 40%); }
.bleed::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(18, 21, 28, .9) 0, rgba(18, 21, 28, .1) 54%); }
.bleed-in { position: relative; z-index: 2; padding-block: 56px; }
.bleed blockquote p { max-width: 26ch; font-family: var(--display); font-size: clamp(27px, 3.4vw, 46px); line-height: 1.2; }
.bleed.left .bleed-in { display: flex; justify-content: flex-end; }
.bleed.left blockquote p { max-width: 21ch; font-size: clamp(25px, 2.5vw, 36px); line-height: 1.25; }
.bleed.left::before { background: linear-gradient(90deg, rgba(18, 21, 28, .82) 0, rgba(18, 21, 28, .3) 40%, rgba(18, 21, 28, 0) 62%), linear-gradient(0deg, rgba(18, 21, 28, .6) 0, rgba(18, 21, 28, 0) 34%); }
.bleed cite { display: block; margin-top: 10px; font-style: normal; font-size: 17px; color: var(--soft-dark); }

/* practice */
.practice { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: clamp(32px, 6vw, 96px); }
.practice li { border-top: 1px solid var(--rule); }
.practice a { display: block; padding-block: 24px; transition: padding .22s var(--ease); }
.practice a:hover, .practice a:focus-visible { padding-inline-start: 12px; }
.practice h3 { font-size: clamp(23px, 2.4vw, 30px); margin-bottom: 8px; }
.practice p { font-size: 17px; color: var(--soft); }

/* press */
.press li { display: grid; grid-template-columns: 110px 1fr auto; gap: 20px; padding-block: 18px; border-top: 1px solid var(--rule); align-items: baseline; }
.press time { font-family: var(--archive); font-size: 20px; color: var(--mute); }
.press h3 { font-family: var(--body); font-size: 18px; font-weight: 500; line-height: 1.4; }
.press span { font-size: 16px; color: var(--mute); }

/* inner pages */
.page-head { padding-block: calc(var(--head) + clamp(48px, 7vw, 92px)) clamp(44px, 6vw, 72px); border-bottom: 1px solid var(--line-dark); }
.crumb { margin-bottom: 20px; font-size: 16px; color: var(--mute-dark); }
.crumb a { border-bottom: 1px solid transparent; }
.crumb a:hover { border-bottom-color: currentColor; }
.page-head h1 { max-width: 18ch; font-size: clamp(42px, 6vw, 84px); line-height: 1.04; font-weight: 300; }
.page-head .lead { margin-top: 20px; }
.stages { display: flex; flex-wrap: wrap; gap: 6px 0; margin-top: 34px; font-size: 16px; color: var(--mute-dark); }
.stages li { display: flex; align-items: center; }
.stages li + li::before { content: ""; width: clamp(14px, 2.6vw, 44px); height: 1px; margin-inline: 10px; background: var(--line-dark); }
.stages [aria-current] { color: var(--brass); font-weight: 600; }
.stages a:hover { color: var(--cream); }

.doc { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(36px, 7vw, 110px); align-items: start; }
.doc-body section + section { margin-top: clamp(40px, 5vw, 60px); }
.doc-body h2 { font-size: clamp(27px, 2.8vw, 37px); margin-bottom: 16px; }
.doc-body p { max-width: 60ch; color: var(--soft); }
.doc-body p + p { margin-top: 12px; }
.doc-body li { position: relative; max-width: 60ch; padding-block: 12px; padding-inline-start: 26px; color: var(--soft); border-top: 1px solid var(--rule); }
.doc-body li::before { content: ""; position: absolute; inset-inline-start: 0; top: 25px; width: 12px; height: 1px; background: var(--brass); }
.doc-body li strong { color: inherit; font-weight: 600; }
.doc-body li:last-child { border-bottom: 1px solid var(--rule); }
.say { margin-block: 20px; padding-block: 22px; border-block: 1px solid var(--brass); }
.say p { max-width: 30ch; font-family: var(--display); font-size: clamp(25px, 2.6vw, 33px); line-height: 1.25; color: inherit; }
.say small { display: block; margin-top: 10px; font-size: 16px; color: var(--mute); }
.law { margin-top: clamp(40px, 5vw, 56px); padding-top: 16px; border-top: 1px solid var(--rule); }
.doc-body .law + section { margin-top: clamp(40px, 5vw, 60px); }
.law h3 { font-family: var(--body); font-size: 15px; font-weight: 600; color: var(--mute); margin-bottom: 6px; }
.law p { font-size: 15.5px; line-height: 1.6; color: var(--mute); }

.side { position: sticky; top: calc(var(--head) + 28px); padding: 26px; background: var(--ink-2); border: 1px solid var(--line-dark); color: var(--cream); }
.side h2 { font-size: 26px; margin-bottom: 8px; }
.side p { font-size: 17px; color: var(--soft-dark); }
.side .btn { width: 100%; margin-top: 14px; }
.side ul { margin-top: 16px; font-size: 17px; }
.side li { padding-block: 5px; }
.side .wa { font-weight: 600; }

.doc-body .related li { padding: 0; max-width: none; border: 0; }
.doc-body .related li::before { display: none; }
.doc-body .related li:last-child { border: 0; }
.related { margin-top: 12px; }
.related a { display: block; padding-block: 14px; border-top: 1px solid var(--rule); font-family: var(--display); font-size: 23px; line-height: 1.25; transition: padding .22s var(--ease); }
.related a:hover { padding-inline-start: 10px; }
.related li:last-child a { border-bottom: 1px solid var(--rule); }

/* questions */
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { display: flex; justify-content: space-between; gap: 18px; padding-block: 18px; font-family: var(--display); font-size: clamp(21px, 2.1vw, 26px); line-height: 1.25; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-family: var(--body); color: var(--brass); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding-bottom: 18px; }

/* heritage line */
.line li { display: grid; grid-template-columns: minmax(110px, 2fr) minmax(0, 9fr); gap: 24px; padding-block: 28px; border-top: 1px solid var(--rule); }
.line time { font-family: var(--archive); font-size: clamp(34px, 4.2vw, 58px); line-height: 1; color: var(--bordeaux); }
.line p { max-width: 54ch; font-family: var(--archive); font-size: clamp(20px, 1.9vw, 24px); line-height: 1.45; }
.line p + p { margin-top: 10px; }
.line figure { margin-top: 16px; width: min(100%, 320px); }
.line figure img { width: 100%; border: 1px solid var(--rule); }
.line figcaption { margin-top: 6px; font-size: 15px; color: var(--mute); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.cards li { padding-top: 16px; border-top: 1px solid var(--rule); }
.cards h3 { font-size: 26px; margin-bottom: 4px; }
.cards p { color: var(--soft); font-size: 17px; }

/* contact */
.contact h2 { font-size: clamp(32px, 4vw, 54px); margin-bottom: 14px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); }
.contact-list { margin-top: 24px; font-size: 19px; }
.contact-list li { padding-block: 5px; }
.form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 24px; }
.form label { display: grid; gap: 6px; font-size: 16px; font-weight: 500; }
.form input, .form select, .form textarea { width: 100%; min-height: 52px; padding: 12px 14px; font: inherit; font-size: 17px; color: inherit; background: transparent; border: 1px solid rgba(18, 21, 28, .42); border-radius: 0; }
.form input:focus, .form select:focus { outline: 2px solid var(--bordeaux); outline-offset: 0; }
.form select option { color: var(--ink); }
.form .full { grid-column: 1 / -1; }
.form .check { display: flex; align-items: center; gap: 10px; font-weight: 400; }
.form .check input { width: 22px; min-height: 22px; height: 22px; flex: none; }
.form small { grid-column: 1 / -1; font-size: 14.5px; line-height: 1.5; color: var(--mute); }
.form .bad { border-color: var(--bordeaux); border-width: 2px; }
.form-note { grid-column: 1 / -1; font-weight: 600; min-height: 1.4em; }

/* footer */
.foot { padding-block: 56px 40px; font-size: 16px; color: var(--soft-dark); border-top: 1px solid var(--line-dark); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot h3 { font-size: 22px; margin-bottom: 10px; color: var(--cream); }
.foot h4 { margin-bottom: 8px; font-size: 15px; font-weight: 600; color: var(--brass); }
.foot li { margin-bottom: 4px; }
.foot a:hover { color: var(--cream); }
.foot small { display: block; margin-top: 36px; font-size: 14px; line-height: 1.55; color: var(--mute-dark); }


.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 1120px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .top-call .tel { display: none; }
}
@media (max-width: 960px) {
  .doc { grid-template-columns: 1fr; }
  .side { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  :root { --head: 68px; }
  .top-call { display: none; }
  .bar { position: fixed; inset: auto 0 0 0; z-index: 35; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--ink); color: var(--cream); border-top: 1px solid var(--line-dark); padding-bottom: env(safe-area-inset-bottom); }
  .bar a { display: flex; align-items: center; justify-content: center; min-height: 56px; font-size: 16px; font-weight: 600; }
  .bar a + a { border-inline-start: 1px solid var(--line-dark); }
  body { padding-bottom: 56px; }
  .bleed.left .bleed-in { display: block; }
  .bleed.left::before { background: linear-gradient(0deg, rgba(18, 21, 28, .92) 0, rgba(18, 21, 28, .1) 56%); }
  .hero { min-height: calc(100svh - 56px); }
  .hero-img { object-position: 11% 30%; }
  .hero::before { background: linear-gradient(0deg, rgba(18, 21, 28, .94) 12%, rgba(18, 21, 28, .55) 40%, rgba(18, 21, 28, 0) 66%); }
  .hero-in { padding-block: 120px 26px; }
  .hero-sub { margin-block: 12px 18px; }
  .hero .cta-row .btn { flex: 1 1 100%; min-height: 50px; }
  .router, .practice, .split, .split.even, .contact-grid, .cards { grid-template-columns: 1fr; }
  .router li:nth-child(2) { border-top: 0; }
  .facts dl { grid-template-columns: repeat(3, 1fr); }
  .facts dl > div { padding-block: 18px; padding-inline-start: 12px; }
  .facts dd { font-size: 15px; line-height: 1.3; }
  .bleed { min-height: 70vh; }
  .press li { grid-template-columns: 74px 1fr; }
  .press span { grid-column: 2; }
  .line li { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 620px) {
  .form { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}
@media print {
  .top, .bar, .side, .contact, .foot { display: none; }
  body { background: #fff; color: #000; }
}
