/* AI57 Aero. Editorial direction: Caslon display, hairlines, square edges, graded photography, gold used sparingly. */
:root {
  --ink: #0d0d0e;
  --ink-2: #161617;
  --bone: #f4f0e8;
  --white: #fbf9f5;
  --gold: #d6ae73;
  --gold-text: #7d5f2e;
  --stone: #5c5850;
  --on-dark: #b9b5ac;
  --line: #d9d3c6;
  --line-dark: #2e2d2b;
  --wrap: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --serif: "Libre Caslon Display", "Times New Roman", serif;
  --sans: "Hanken Grotesk", "Segoe UI", Arial, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bone); color: var(--ink); font: 400 17px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
main img { filter: saturate(.62) contrast(1.05) brightness(.97); }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(3rem, 7.2vw, 6.6rem); line-height: 1.02; }
h2 { font-size: clamp(2.3rem, 4.6vw, 4.2rem); line-height: 1.08; }
h3 { font-size: clamp(1.5rem, 2vw, 1.85rem); line-height: 1.2; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 600; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
main a:not(.btn):not(.link):not(.index-list a):not(.aud a) { text-underline-offset: 3px; text-decoration-thickness: 1px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sec { padding: clamp(80px, 11vw, 168px) 0; }
.sec.tight { padding-top: 0; }
.dark { background: var(--ink); color: var(--white); }
.dark .muted { color: var(--on-dark); }
.white { background: var(--white); }
.muted { color: var(--stone); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 16px; }
.skip:focus { left: 12px; }

.label { display: block; margin-bottom: 22px; font: 500 .74rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); }
.dark .label, .label.on-dark, .panel-dark .label { color: var(--gold); }
.sec-head { display: grid; grid-template-columns: 1.25fr 1fr; gap: 0 clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.sec-head .label { grid-column: 1 / -1; }
.sec-head p { max-width: 46ch; margin: 0 0 .5em; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 54px; padding: 14px 30px; border: 1px solid transparent; font: 500 .76rem/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; cursor: pointer; background: none; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }
.btn svg { width: 15px; height: 15px; flex: none; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-gold { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn-gold:hover { background: var(--white); border-color: var(--white); }
.btn-ink { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-ink:hover { background: var(--gold-text); border-color: var(--gold-text); }
.btn-line { border-color: currentColor; color: inherit; }
.btn-line:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.dark .btn-line:hover, .panel-dark .btn-line:hover, .band .btn-line:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.link { display: inline-flex; align-items: center; gap: 12px; padding-bottom: 6px; border-bottom: 1px solid currentColor; font: 500 .76rem/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; }
.link svg { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.link:hover svg { transform: translateX(4px); }

/* Header */
.site-head { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--white); transition: background .4s var(--ease), border-color .4s var(--ease); border-bottom: 1px solid transparent; }
.site-head.solid { background: var(--ink); border-color: var(--line-dark); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 0; }
.brand img { height: 56px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav-pill { display: flex; align-items: center; gap: 28px; }
.nav-pill > a, .drop > button { position: relative; padding: 8px 0; border: 0; background: none; color: inherit; font: 500 .74rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.nav-pill > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav-pill > a:hover::after, .nav-pill > a[aria-current="page"]::after { transform: scaleX(1); }
.drop { position: relative; }
.drop-menu { position: absolute; top: calc(100% + 16px); left: -20px; display: none; min-width: 240px; padding: 12px 20px; background: var(--ink); border: 1px solid var(--line-dark); }
.drop-menu a { display: block; padding: 9px 0; font-size: .92rem; text-decoration: none; color: var(--on-dark); }
.drop-menu a:hover { color: var(--gold); }
.drop.open .drop-menu { display: block; }
.nav .btn { min-height: 44px; padding: 10px 20px; border-color: rgb(251 249 245 / .5); white-space: nowrap; background: none; color: inherit; }
.nav .btn:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.nav-toggle { display: none; width: 46px; height: 46px; padding: 0; border: 1px solid rgb(251 249 245 / .4); background: none; color: inherit; cursor: pointer; }
.nav-toggle svg { width: 20px; height: 20px; margin: auto; display: block; }

/* Hero */
.hero { position: relative; display: flex; align-items: flex-end; min-height: 100svh; overflow: hidden; background: var(--ink); color: var(--white); }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 30%; filter: saturate(.72) contrast(1.05) brightness(.82); animation: drift 22s var(--ease) both; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(13 13 14 / .86) 0%, rgb(13 13 14 / .5) 42%, rgb(13 13 14 / 0) 72%), linear-gradient(0deg, rgb(13 13 14 / .75) 0%, rgb(13 13 14 / 0) 40%), linear-gradient(180deg, rgb(13 13 14 / .55) 0%, rgb(13 13 14 / 0) 18%); }
@keyframes drift { from { transform: scale(1.07); } to { transform: scale(1); } }
.hero-in { position: relative; z-index: 1; width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; padding: 140px 0 clamp(36px, 5vw, 64px); }
.hero h1 { max-width: 7.2em; font-size: clamp(2.9rem, 6.2vw, 5.8rem); }
.hero .lede { max-width: 47ch; margin: 28px 0 0; color: #e0dcd3; font-size: 1.12rem; }
.hero-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; margin-top: clamp(44px, 6vw, 80px); padding-top: 22px; border-top: 1px solid rgb(251 249 245 / .25); font: 500 .74rem/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.hero-foot .btn-row { margin: 0; }

/* Inner page hero */
.page-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: min(78vh, 760px); background: var(--ink); color: var(--white); }
.ph-text { display: flex; flex-direction: column; justify-content: flex-end; padding: 150px clamp(24px, 5vw, 80px) clamp(44px, 5vw, 72px) max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
.page-hero h1 { font-size: clamp(2.5rem, 4.6vw, 4.5rem); line-height: 1.06; }
.page-hero .lede { margin: 24px 0 0; color: var(--on-dark); font-size: 1.08rem; max-width: 50ch; }
.page-hero > img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.page-hero.plain { display: block; min-height: 0; padding: 170px 0 72px; }
.page-hero.plain h1 { max-width: 16em; }

/* Statement */
.statement { font: 400 clamp(1.8rem, 3.5vw, 3.2rem)/1.22 var(--serif); letter-spacing: -.01em; max-width: 24em; text-wrap: pretty; }
.statement-foot { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px clamp(32px, 5vw, 72px); margin-top: clamp(40px, 6vw, 72px); padding-top: 24px; border-top: 1px solid var(--line); color: var(--stone); }

/* Service index */
.index { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.index-media { position: sticky; top: 110px; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink-2); }
.index-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s var(--ease); }
.index-media img.on { opacity: 1; }
.index-list li { border-top: 1px solid var(--line); }
.index-list li:last-child { border-bottom: 1px solid var(--line); }
.index-list a { display: grid; grid-template-columns: 56px 1fr; gap: 0 12px; padding: clamp(26px, 3vw, 40px) 0; text-decoration: none; transition: padding .5s var(--ease); }
.index-list a:hover, .index-list a:focus-visible { padding-left: 14px; }
.index-list .n { padding-top: 8px; font-size: .78rem; letter-spacing: .14em; color: var(--gold-text); }
.index-list h3 { font-size: clamp(1.8rem, 3vw, 2.7rem); }
.index-list p { grid-column: 2; margin: 12px 0 0; max-width: 44ch; color: var(--stone); }

/* Service detail rows */
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding-block: clamp(40px, 6vw, 80px); scroll-margin-top: 80px; }
.svc-row + .svc-row { border-top: 1px solid var(--line); }
.svc-row:nth-child(even) img { order: 2; }
.svc-row img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.svc-row .n { display: block; margin-bottom: 18px; font-size: .78rem; letter-spacing: .14em; color: var(--gold-text); }
.svc-row h2 { margin-bottom: 20px; font-size: clamp(2rem, 3.4vw, 3.1rem); }
.svc-row ul { margin-top: 22px; }

.checks li { padding: 11px 0; border-top: 1px solid var(--line); }
.dark .checks li, .panel-dark .checks li { border-color: var(--line-dark); }
.note { margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .95rem; color: var(--stone); max-width: 72ch; }

/* Principle band */
.principle { display: grid; grid-template-columns: 1.1fr 1fr; }
.principle > img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.principle-txt { padding: clamp(56px, 8vw, 128px) max(var(--gutter), calc((100vw - var(--wrap)) / 2)) clamp(56px, 8vw, 128px) clamp(32px, 6vw, 96px); }
.principle h2 { margin-bottom: 40px; }
.trio li { display: grid; grid-template-columns: 130px 1fr; gap: 12px 20px; padding: 20px 0; border-top: 1px solid var(--line); }
.dark .trio li { border-color: var(--line-dark); }
.trio b { font: 400 1.35rem/1.3 var(--serif); }
.dark .trio b { color: var(--gold); }
.dark .trio span { color: var(--on-dark); }

/* Coverage */
.cover-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.tilemap { display: grid; grid-template-columns: repeat(11, 1fr); gap: 3px; }
.tilemap button { aspect-ratio: 1; min-width: 0; padding: 0; border: 1px solid var(--line-dark); background: none; color: var(--on-dark); font: 500 clamp(.54rem, .9vw, .72rem)/1 var(--sans); letter-spacing: .06em; cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.tilemap button:hover { border-color: var(--gold); color: var(--gold); }
.tilemap button.home { border-color: var(--gold); color: var(--gold); }
.tilemap button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.map-key { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 22px; color: var(--on-dark); font-size: .86rem; }
.map-key i { display: inline-block; width: 11px; height: 11px; margin-right: 9px; border: 1px solid var(--line-dark); vertical-align: -1px; }
.map-key i.home { border-color: var(--gold); }
.checker { padding: 0; }
.checker h3 { margin-bottom: 26px; font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.field { display: block; margin-bottom: 24px; }
.field > span, .fs legend { display: block; margin-bottom: 4px; padding: 0; font: 500 .72rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark); }
.field select, .field input { width: 100%; min-height: 48px; padding: 8px 0; border: 0; border-bottom: 1px solid #55534e; border-radius: 0; background: transparent; color: var(--white); font: 400 1.05rem var(--sans); transition: border-color .3s; }
.field select:focus, .field input:focus { outline: 0; border-color: var(--gold); }
.field select option { color: var(--ink); }
.field input::placeholder { color: #8a877f; }
.fs { margin: 0 0 28px; padding: 0; border: 0; }
.fs legend { margin-bottom: 10px; }
.opt { display: flex; gap: 14px; align-items: center; padding: 13px 0; border-top: 1px solid var(--line-dark); cursor: pointer; color: var(--white); font-size: 1rem; line-height: 1.35; }
.opt:has(input:checked) { color: var(--gold); }
.opt input { margin: 0; accent-color: var(--gold); width: 17px; height: 17px; flex: none; }
.checker > .btn { width: 100%; }
.result { margin-top: 26px; padding: 26px 0 0; border-top: 1px solid var(--gold); }
.result:empty { display: none; }
.result h4 { margin-bottom: 10px; font-size: 1.5rem; line-height: 1.2; }
.result p { color: var(--on-dark); }
.result .btn-row { margin-top: 18px; gap: 10px; }
.result .btn { min-height: 46px; padding: 10px 18px; font-size: .68rem; }
.result .err { color: #f0a58f; }
.letter { padding: 20px; margin-top: 18px; border: 1px solid var(--line-dark); color: var(--white); white-space: pre-wrap; font-size: .94rem; }

/* Cards become hairline columns */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px clamp(28px, 4vw, 64px); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px clamp(28px, 4vw, 64px); }
.card { padding: 24px 0 0; border-top: 1px solid var(--line); }
.card h3 { margin-bottom: 14px; }
.card p { color: var(--stone); }
.dark .card { border-color: var(--line-dark); }
.dark .card p { color: var(--on-dark); }
.step-no { display: block; margin-bottom: 26px; font-size: .78rem; letter-spacing: .14em; color: var(--gold-text); }
.dark .step-no { color: var(--gold); }
.panel-dark { padding: clamp(28px, 4vw, 48px); background: var(--ink); color: var(--white); }
.panel-dark h3 { color: var(--white); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.split > img, .split .pic { width: 100%; aspect-ratio: 5 / 4; height: auto; object-fit: cover; }
.split h2 { margin-bottom: 24px; }
.aud { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.aud a { display: block; padding: 26px clamp(16px, 2vw, 28px) 34px 0; text-decoration: none; transition: color .3s; }
.aud a + a { padding-left: clamp(16px, 2vw, 28px); border-left: 1px solid var(--line); }
.aud a:hover h3 { color: var(--gold-text); }
.aud h3 { font-size: 1.45rem; margin-bottom: 8px; transition: color .3s; }
.aud p { margin: 0; font-size: .94rem; color: var(--stone); }

/* Editorial gallery */
.ed-gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(32px, 4vw, 56px) clamp(14px, 2vw, 28px); }
.ed-gallery figure { margin: 0; }
.ed-gallery img { width: 100%; object-fit: cover; }
.ed-gallery figure:nth-child(1) { grid-column: 1 / 8; }
.ed-gallery figure:nth-child(1) img { aspect-ratio: 3 / 2; }
.ed-gallery figure:nth-child(2) { grid-column: 9 / 13; align-self: end; }
.ed-gallery figure:nth-child(2) img { aspect-ratio: 4 / 5; }
.ed-gallery figure:nth-child(3) { grid-column: 2 / 6; }
.ed-gallery figure:nth-child(3) img { aspect-ratio: 4 / 5; }
.ed-gallery figure:nth-child(4) { grid-column: 6 / 13; }
.ed-gallery figure:nth-child(4) img { aspect-ratio: 3 / 2; }
.ed-gallery figcaption { margin-top: 12px; font: 500 .72rem/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--stone); }

/* Numbered process */
.step { display: grid; grid-template-columns: 110px 1fr 1fr; gap: 28px clamp(28px, 4vw, 64px); padding: clamp(32px, 4vw, 56px) 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step .num { font: 400 2.8rem/1 var(--serif); color: var(--gold-text); }
.step .kicker { display: block; margin-bottom: 14px; font: 500 .72rem/1.4 var(--sans); letter-spacing: .18em; color: var(--stone); }
.step .checks li:first-child { border-top: 0; }

.letters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px clamp(28px, 4vw, 64px); }
.letters .card h3 { font-size: clamp(1.8rem, 2.6vw, 2.4rem); letter-spacing: .04em; }

/* Credentials */
.creds { width: 100%; border-collapse: collapse; }
.creds th, .creds td { padding: 20px 0; text-align: left; border-top: 1px solid var(--line); vertical-align: top; font-weight: 400; }
.creds tr:last-child th, .creds tr:last-child td { border-bottom: 1px solid var(--line); }
.creds th { width: 38%; font-size: .74rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--stone); line-height: 1.9; }
.creds td { font: 400 1.35rem/1.35 var(--serif); overflow-wrap: anywhere; }

/* Closing band */
.band { position: relative; display: flex; align-items: center; min-height: 82vh; overflow: hidden; background: var(--ink); color: var(--white); text-align: center; }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.5) contrast(1.05) brightness(.4); }
.band-in { position: relative; z-index: 1; width: min(860px, 100% - 2 * var(--gutter)); margin-inline: auto; padding: 100px 0; }
.band p { max-width: 54ch; margin: 26px auto 0; color: #dedad1; }
.band .btn-row { justify-content: center; }

.faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.acc details { border-top: 1px solid var(--line); }
.acc details:last-child { border-bottom: 1px solid var(--line); }
.acc summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; font: 400 1.4rem/1.25 var(--serif); cursor: pointer; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; flex: none; font: 300 1.5rem/1 var(--sans); color: var(--gold-text); transition: transform .4s var(--ease); }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc .body { padding: 0 48px 28px 0; color: var(--stone); }

.legal { max-width: 720px; }
.legal h2 { margin: 44px 0 12px; font-size: 1.6rem; }
.legal .updated { color: var(--stone); font-size: .9rem; }

.quote-form h3 { margin-bottom: 30px; font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.quote-form .field[hidden] { display: none; }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(20px, 3vw, 40px); }
.quote-form .field textarea { display: block; width: 100%; min-height: 110px; padding: 8px 0; border: 0; border-bottom: 1px solid #55534e; border-radius: 0; background: transparent; color: var(--white); font: 400 1.05rem/1.5 var(--sans); resize: vertical; transition: border-color .3s; }
.quote-form .field textarea:focus { outline: 0; border-color: var(--gold); }
.quote-form .field textarea::placeholder { color: #8a877f; }
.quote-form input[type="date"] { color-scheme: dark; }
.quote-form .bad input, .quote-form .bad select, .quote-form .bad textarea { border-color: #f0a58f; }
.quote-form .bad > span, .quote-form .fs.bad legend { color: #f0a58f; }
.quote-form .note { margin-bottom: 24px; }
.file { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 32px; }
.file input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file input:focus-visible + .btn { outline: 2px solid var(--gold); outline-offset: 2px; }
.file .btn { min-height: 46px; padding: 10px 18px; font-size: .68rem; cursor: pointer; }
.file-note { color: var(--on-dark); font-size: .92rem; }
.hp { position: absolute; left: -9999px; }
.quote-form > .btn { width: 100%; }
.quote-form > .btn[disabled] { opacity: .6; cursor: wait; }
.quote-form .sent:focus { outline: 0; }
.quote-form .sent h3 { margin-bottom: 14px; }
.quote-form .sent p { color: var(--on-dark); }
.quote-grid { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }

/* Footer */
.foot { padding: clamp(64px, 8vw, 110px) 0 32px; background: var(--ink); color: var(--on-dark); font-size: .95rem; }
.foot-top { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 56px; }
.foot-brand img { height: 84px; width: auto; margin-bottom: 26px; }
.foot-brand p { max-width: 38ch; }
.foot h4 { margin-bottom: 16px; font: 500 .72rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.foot li { margin-bottom: 9px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--white); }
.foot-bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: .8rem; letter-spacing: .04em; }

/* Reveal */
.js .r { opacity: 0; transform: translateY(22px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .r.in { opacity: 1; transform: none; }

@media (max-width: 1160px) {
  .nav-toggle { display: block; }
  .site-head .wrap { flex-wrap: wrap; }
  .nav { display: none; order: 3; width: 100%; flex-direction: column; align-items: stretch; gap: 22px; padding: 18px 0 26px; }
  .nav.open { display: flex; }
  .nav-pill { flex-direction: column; align-items: flex-start; gap: 8px; }
  .nav-pill > a, .drop > button { font: 400 1.7rem/1.3 var(--serif); letter-spacing: 0; text-transform: none; }
  .nav-pill > a::after { display: none; }
  .drop-menu { position: static; display: block; padding: 2px 0 0 16px; min-width: 0; background: none; border: 0; }
  .site-head:has(.nav.open) { background: var(--ink); height: 100svh; overflow-y: auto; }
}

@media (max-width: 900px) {
  .page-hero, .cover-grid, .split, .faq-grid, .quote-grid, .index, .svc-row, .principle, .grid-3, .letters { grid-template-columns: 1fr; }
  .page-hero { min-height: 0; }
  .ph-text { padding: 130px var(--gutter) 44px; }
  .page-hero > img { height: 300px; }
  .index-media { display: none; }
  .svc-row:nth-child(even) img { order: 0; }
  .sec-head { grid-template-columns: 1fr; gap: 20px; }
  .aud { grid-template-columns: 1fr 1fr; }
  .aud a:nth-child(odd) { padding-left: 0; border-left: 0; }
  .aud a:nth-child(n+3) { border-top: 1px solid var(--line); }
  .step { grid-template-columns: 1fr; gap: 14px; }
  .principle-txt { padding: 56px var(--gutter); }
  .principle > img { height: 340px; min-height: 0; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / 3; }
  .hero::after { background: linear-gradient(0deg, rgb(13 13 14 / .94) 0%, rgb(13 13 14 / .6) 50%, rgb(13 13 14 / .1) 78%, rgb(13 13 14 / .55) 100%); }
}

@media (max-width: 700px) {
  .hero { display: block; min-height: 0; }
  .hero > img { position: relative; inset: auto; height: 56svh; object-position: 70% 22%; animation: none; }
  .hero::after { inset: 0 0 auto; height: 56svh; background: linear-gradient(0deg, var(--ink) 0%, rgb(13 13 14 / 0) 42%), linear-gradient(180deg, rgb(13 13 14 / .6) 0%, rgb(13 13 14 / 0) 26%); }
  .hero-in { padding: 0 0 40px; margin-top: -28px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .brand img { height: 48px; }
  .grid-2 { grid-template-columns: 1fr; }
  .hero .btn-row, .hero-foot .btn-row { width: 100%; }
  .hero-foot .btn { flex: 1 1 100%; }
  .trio li { grid-template-columns: 1fr; gap: 4px; }
  .tilemap { gap: 2px; }
  .ed-gallery figure:nth-child(n) { grid-column: 1 / -1; align-self: auto; }
  .ed-gallery figure:nth-child(n) img { aspect-ratio: 3 / 2; }
  .creds th, .creds td { display: block; width: 100%; padding: 0; border: 0; }
  .creds th { padding-top: 16px; border-top: 1px solid var(--line); }
  .creds td { padding: 2px 0 16px; }
  .creds tr:last-child th, .creds tr:last-child td { border-bottom: 0; }
  .acc .body { padding-right: 0; }
  .acc summary { font-size: 1.22rem; }
  .form-2 { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .r { opacity: 1; transform: none; }
}
