@font-face {
  font-family: "EB Garamond";
  src: url("fonts/eb-garamond.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Host Grotesk";
  src: url("fonts/host-grotesk.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
:root {
  --paper: #fbf7ef;
  --ink: #141314;
  --white: #fcfcfd;
  --light-text: #e4e1dc;
  --body-ink: #302e2b;
  --blue: #1f5aa6;
  --blue-hover: #164781;
  --ice: #c8dffe;
  --surface: #f2eee7;
  --rule: #dcd8d1;
  --edge: clamp(24px, 5vw, 84px);
  --serif: "EB Garamond", Georgia, serif;
  --sans: "Host Grotesk", Arial, sans-serif;
  scrollbar-color: #777472 var(--paper);
  background: var(--ink);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
::selection { background: #b4d2fb; color: #141314; }
h1, h2, h3, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; text-wrap: balance; }
h1 { font-size: clamp(4rem, 6.46vw, 6.32rem); line-height: 1.04; letter-spacing: -.042em; }
h2 { font-size: clamp(2.8rem, 4.4vw, 4.5rem); line-height: 1.05; letter-spacing: -.038em; }
h3 { font-size: clamp(1.9rem, 2.55vw, 2.65rem); line-height: 1.09; letter-spacing: -.028em; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .23em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible, select:focus-visible, [tabindex="-1"]:focus-visible {
  outline: 3px solid #1f5aa6; outline-offset: 3px; box-shadow: 0 0 0 3px #fcfcfd;
}
.dark :focus-visible, .site-footer :focus-visible { outline-color: var(--ice); box-shadow: 0 0 0 3px var(--ink); }
input, select, textarea, button { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.wrap { max-width: 1600px; margin-inline: auto; padding-inline: var(--edge); }
.band { padding-block: clamp(76px, 8.8vw, 136px) clamp(68px, 6vw, 96px); }
.dark { color: var(--white); background: var(--ink); }
.ice { background: var(--ice); }
.eyeline { font: 600 .94rem/1.45 var(--sans); letter-spacing: .015em; }
.eyeline + h1, .eyeline + h2 { margin-top: 18px; }
.text-link { font-weight: 600; display: inline-block; margin-top: 20px; }
.skip { position: absolute; z-index: 5; left: 12px; top: 8px; transform: translateY(-180%); padding: 10px 18px; background: var(--white); color: var(--ink); }
.skip:focus { transform: none; }
.site-header { background: var(--paper); }
.header-inner { padding-top: 8px; padding-bottom: 18px; }
.bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 100px; }
.wordmark { display: inline-flex; align-items: center; gap: 9px; justify-self: center; text-decoration: none; font: 600 3.0625rem/.96 var(--serif); letter-spacing: -.055em; }
.mark { width: 52px; height: 38px; display: block; }
.utility { font-size: 1rem; font-weight: 500; }
.guide { justify-self: start; text-decoration-color: #827c72; }
.end { justify-self: end; display: flex; align-items: center; gap: 24px; }
.end .utility { text-decoration: none; }
.end .utility:hover, .main-nav a:hover { text-decoration: underline; }
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; text-align: center; padding: 10px 25px; border: 1px solid transparent; border-radius: 999px; font: 600 1rem/1.15 var(--sans); text-decoration: none; transition: background-color .15s, border-color .15s; }
.fill { background: var(--blue); color: var(--white); }
.fill:hover { background: var(--blue-hover); }
.fill:active { background: #0e3767; }
.outline { background: transparent; border-color: #766f68; color: inherit; }
.outline:hover { background: var(--surface); }
.dark .outline { border-color: #858385; }
.dark .outline:hover { background: #333033; border-color: var(--white); }
.end .pill { min-height: 42px; padding: 8px 20px; }
.main-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(28px, 3.7vw, 60px); align-items: center; border-block: 1px solid var(--rule); min-height: 55px; }
.main-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 1rem; font-weight: 500; text-decoration: none; }
.main-nav [aria-current="page"] { font-weight: 600; text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 2px; }
.menu-toggle { display: none; }
.intro { padding: 118px var(--edge) 56px; text-align: center; }
.lede { font: 400 1.25rem/1.46 var(--sans); color: var(--light-text); text-wrap: balance; max-width: 640px; margin: 22px auto 0; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; margin-top: 28px; }
.hero-photo { width: 100%; height: clamp(350px, 46.53vw, 780px); object-fit: cover; object-position: 50% 52%; }
.hero-ledger { display: flex; align-items: baseline; justify-content: space-between; gap: 32px; padding-block: 34px 62px; }
.caption { font-size: 1rem; font-weight: 500; color: var(--light-text); }
.figures { display: flex; gap: 32px; align-items: baseline; }
.figures div { display: flex; align-items: baseline; gap: 8px; }
.figures dt { order: 1; font-size: .94rem; color: var(--light-text); }
.figures dd { font: 500 2rem/1.1 var(--serif); font-variant-numeric: lining-nums tabular-nums; }
.about { padding-top: clamp(54px, 6vw, 95px); }
.about-head { max-width: 22ch; font-size: clamp(3rem, 5.1vw, 5.2rem); }
.prose-columns { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 90px); margin-top: 34px; max-width: 1120px; }
.prose-columns p, .section-summary, .body-copy, .text-block p { font-size: 1.125rem; }
.dark .prose-columns, .dark .section-summary, .dark .body-copy { color: var(--light-text); }
.section-head { display: grid; grid-template-columns: 1.05fr .85fr; align-items: end; gap: clamp(24px, 6vw, 100px); margin-bottom: 42px; }
.section-head h2, .section-summary { max-width: 44rem; }
.section-summary, .body-copy, .text-block p { color: var(--body-ink); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 20px; }
.gallery-item { display: block; text-decoration: none; }
.gallery-img { overflow: hidden; }
.gallery-img img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; transition: transform .28s ease; }
.gallery-item:hover img { transform: scale(1.025); }
.gallery-item:hover .gallery-title { text-decoration: underline; }
.gallery-title { display: inline-block; margin-top: 12px; font-size: 1.1rem; font-weight: 600; }
.approach-rows { display: grid; gap: 10px; }
.approach-row { padding: 24px clamp(20px, 2.6vw, 42px); display: grid; grid-template-columns: minmax(200px,.8fr) minmax(0,1.25fr) minmax(110px,.42fr); align-items: center; gap: 28px; background: #dae9fc; border-radius: 16px; }
.approach-row h3 { font-size: clamp(1.8rem, 2.35vw, 2.25rem); }
.approach-row a { justify-self: end; font-weight: 600; }
.sources-list { display: grid; }
.quote-row { display: grid; grid-template-columns: .72fr 1.28fr; gap: 32px; align-items: start; padding-block: 31px; border-top: 1px solid #494749; }
.byline { display: flex; align-items: flex-start; gap: 14px; }
.avatar { display: grid; place-items: center; flex: 0 0 44px; height: 44px; border-radius: 50%; font: 500 1.1rem/1 var(--serif); background: var(--surface); color: var(--ink); }
.byline strong, .byline small { display: block; }
.byline small { color: var(--light-text); font-size: .94rem; }
.quote-row blockquote { font: 500 clamp(1.55rem,2.15vw,2.2rem)/1.16 var(--serif); max-width: 40ch; }
.source-link { display: inline-block; margin-top: 12px; font-size: .94rem; color: var(--light-text); }
.contact-grid { display: grid; grid-template-columns: .8fr 1fr; gap: clamp(40px, 8vw, 138px); align-items: start; }
.contact-grid h2, .contact-grid h1 { max-width: 12ch; }
.contact-grid .body-copy { max-width: 38ch; margin-top: 22px; }
.email-link { display: inline-block; font-weight: 600; margin-top: 22px; }
.inquiry-form { display: grid; gap: 18px; }
.form-pair { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
label { display: block; font-weight: 600; margin-bottom: 6px; }
input, textarea, select { width: 100%; border-radius: 9px; border: 1px solid #807b74; background: var(--paper); color: var(--ink); caret-color: var(--blue); padding: 11px 13px; min-height: 46px; line-height: 1.4; }
textarea { resize: vertical; min-height: 115px; }
select { appearance: none; padding-right: 40px; background-image: url("chevron.svg"); background-repeat: no-repeat; background-position: right 14px center; background-size: 14px; }
.form-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.form-foot p, .form-note, .contact-route p { font-size: 1rem; color: var(--body-ink); }
.draft { border-radius: 16px; background: var(--surface); padding: 22px; }
.draft h3 { font-size: 1.8rem; }
.draft p { margin-top: 8px; }
.draft .actions { justify-content: flex-start; gap: 12px; margin-top: 15px; }
.draft textarea { margin-top: 12px; }
.contact-routes { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; border-top: 1px solid #aaa298; margin-top: 56px; padding-top: 28px; }
.contact-route a { font-weight: 600; }
.contact-route p { margin-top: 7px; max-width: 37ch; }
.site-footer { background: var(--ink); color: var(--white); padding-block: 66px 26px; }
.footer-links { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 26px; max-width: 920px; }
.footer-links h2 { font: 600 1rem/1.4 var(--sans); margin-bottom: 10px; letter-spacing: 0; }
.footer-links ul { list-style: none; padding: 0; }
.footer-links li + li { margin-top: 5px; }
.footer-links a, .footer-base a { color: var(--light-text); text-decoration-color: #969194; }
.footer-brand { display: block; width: 100%; padding-block: 28px 24px; }
.footer-brand svg { display: block; width: 100%; height: auto; fill: currentColor; }
.footer-base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; border-top: 1px solid #514f51; padding-top: 18px; color: var(--light-text); font-size: .94rem; }
.share { display: flex; flex-wrap: wrap; gap: 18px; }
.feature-top { display: grid; grid-template-columns: .94fr 1fr; align-items: stretch; }
.feature-text { padding: clamp(55px,7.4vw,120px) clamp(28px,5vw,90px) clamp(55px,7.4vw,120px) max(var(--edge),calc((100vw - 1600px)/2 + var(--edge))); align-self: center; }
.feature-text h1 { font-size: clamp(3.6rem,5.7vw,6.2rem); max-width: 12ch; }
.feature-top img { width: 100%; height: 100%; min-height: 400px; max-height: 750px; object-fit: cover; }
.feature-text .body-copy { margin-top: 24px; max-width: 38ch; }
.feature-text .pill { margin-top: 26px; }
.editorial { display: grid; grid-template-columns: .82fr 1.18fr; align-items: start; gap: clamp(38px,8vw,130px); }
.editorial h2 { max-width: 14ch; }
.editorial .body-copy { margin-top: 22px; max-width: 42ch; }
.text-block + .text-block { margin-top: 28px; }
.text-block h3 { font-size: clamp(1.7rem,2.1vw,2.2rem); margin-bottom: 8px; }
.panel { padding: clamp(24px,3.4vw,52px); background: #e5efff; border-radius: 16px; min-width: 0; }
.panel h3 { margin-bottom: 14px; }
.calc-inputs { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-block: 24px; }
.calc-inputs input { font-variant-numeric: tabular-nums; }
.result { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 15px; padding-top: 14px; border-top: 1px solid #858e9e; }
.result strong { font: 500 3.5rem/1 var(--serif); font-variant-numeric: lining-nums tabular-nums; overflow-wrap: anywhere; }
.calc-note { margin-top: 10px; }
.line-items { margin-top: 18px; font-variant-numeric: tabular-nums; }
.line-items div { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-block: 10px; border-top: 1px solid #9aaabf; }
.line-items dd { font-weight: 600; text-align: right; }
.line-items .total { align-items: center; }
.total dd { font: 500 2.25rem/1.1 var(--serif); }
.step-list { list-style: none; margin: 0; padding: 0; counter-reset: steps; }
.step-list li { counter-increment: steps; display: grid; grid-template-columns: 46px 1fr; gap: 18px; padding: 20px 0; border-top: 1px solid #a9a298; }
.step-list li::before { content: counter(steps, decimal-leading-zero); font: 500 1.6rem/1.2 var(--serif); font-variant-numeric: tabular-nums; }
.step-list li p { margin-top: 6px; }
.related { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 32px; }
.related a { display: block; background: #282628; border-radius: 16px; padding: 24px; }
.related span { display: block; font: 500 clamp(1.65rem,2.1vw,2.2rem)/1.15 var(--serif); }
.related small { display: block; color: var(--light-text); margin-top: 10px; font: 400 1rem/1.45 var(--sans); }
.related a { text-decoration: none; }
.related a span { text-decoration: underline; text-decoration-color: #9a959a; text-underline-offset: .17em; }
.related a:hover span { text-decoration-color: currentColor; }
.dark + .site-footer { border-top: 1px solid #494749; }
@media (max-width: 960px) {
  .hero-ledger { flex-wrap: wrap; gap: 16px; }
  .utility { font-size: .94rem; }
  .end { gap: 16px; }
  .approach-row { grid-template-columns: .8fr 1.2fr; gap: 10px 24px; }
  .approach-row a { grid-column: 2; justify-self: start; }
  .editorial { grid-template-columns: .85fr 1.15fr; gap: 34px; }
  .feature-text h1 { font-size: clamp(3.4rem,6.5vw,5rem); }
  .gallery { gap: 24px 14px; }
}
@media (max-width: 760px) {
  .section-head, .contact-grid, .editorial { grid-template-columns: 1fr; gap: 24px; }
  .contact-grid { gap: 36px; }
  .gallery { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .section-head { margin-bottom: 28px; }
  .feature-top { grid-template-columns: 1fr; }
  .feature-text { padding: 60px var(--edge) 40px; }
  .feature-top img { min-height: 0; height: clamp(240px,54vw,380px); }
  .feature-text h1 { font-size: clamp(3.7rem,10.1vw,5rem); }
  .prose-columns { gap: 20px; }
  .quote-row { grid-template-columns: .85fr 1.15fr; gap: 20px; }
  .contact-routes { gap: 20px; }
}
@media (max-width: 700px) {
  :root { --edge: 24px; }
  .header-inner { padding: 0 20px; }
  .bar { min-height: 80px; }
  .guide, .end .utility { display: none; }
  .wordmark { font-size: 2.375rem; gap: 5px; grid-column: 2; }
  .mark { width: 35px; height: 27px; }
  .end .pill { min-height: 40px; font-size: .875rem; padding-inline: 13px; }
  .menu-toggle:not([hidden]) { display: inline-flex; grid-column: 1; align-items: center; justify-self: start; gap: 7px; min-height: 44px; padding: 0; color: var(--ink); background: transparent; border: 0; font-size: .94rem; font-weight: 500; }
  .menu-toggle svg { width: 16px; height: 16px; }
  .main-nav { min-height: 0; gap: 0 20px; justify-content: flex-start; padding-block: 5px; }
  .enhanced .main-nav:not(.is-open) { display: none; }
  .main-nav a { font-size: 1rem; }
  .intro { padding: 74px 20px 46px; }
  .intro h1 { font-size: clamp(3.3rem,17.94vw,4.375rem); line-height: .97; letter-spacing: -.045em; }
  .lede { font-size: 1.0625rem; line-height: 1.5; margin-top: 22px; max-width: 36ch; }
  .actions { margin-top: 24px; gap: 8px; }
  .actions .pill { padding-inline: 19px; font-size: .94rem; }
  .hero-photo { height: clamp(300px,86vw,470px); object-position: center 56%; }
  .hero-ledger { padding-block: 26px 32px; display: block; }
  .figures { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; margin-top: 19px; }
  .figures div { flex-direction: column; align-items: flex-start; gap: 2px; }
  .figures dd { font-size: 1.875rem; }
  .prose-columns { grid-template-columns: 1fr; }
  .approach-row { grid-template-columns: 1fr; gap: 12px; }
  .approach-row a { grid-column: 1; }
  .quote-row { grid-template-columns: 1fr; gap: 15px; }
  .contact-routes { grid-template-columns: 1fr; margin-top: 34px; }
  .related { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-brand { padding-block: 30px 20px; }
  .footer-base { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 500px) {
  .form-pair { grid-template-columns: 1fr; }
  .gallery { gap: 22px 12px; }
  .gallery-title { font-size: 1rem; margin-top: 7px; }
  .calc-inputs { grid-template-columns: 1fr; gap: 12px; }
  .calc-inputs > div { display: grid; grid-template-columns: 1fr 90px; align-items: center; gap: 12px; }
  .calc-inputs label { margin: 0; }
  .footer-links { row-gap: 25px; }
}
@media (max-width: 375px) {
  .header-inner { padding-inline: 12px; }
  .wordmark { font-size: 2rem; }
  .mark { width: 28px; }
  .end .pill { padding-inline: 9px; }
  .intro { padding-inline: 16px; }
  .actions .pill { padding-inline: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .gallery-item:hover img { transform: none; }
}
.control-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.control-grid article { background: #dae9fc; border-radius: 16px; padding: clamp(22px,2.6vw,42px); }
.control-grid h3 { margin-bottom: 12px; }
.contact-page h1 { font-size: clamp(3.7rem,6.46vw,6.32rem); }
@media (max-width:760px) {
  .control-grid { grid-template-columns: 1fr; }
}
.guide-panel { display: grid; grid-template-columns: minmax(240px,.75fr) minmax(0,1.25fr); align-items: start; gap: clamp(24px,5vw,84px); }
.guide-panel > div:first-child p { max-width: 43ch; }
.guide-panel .calc-inputs, .guide-panel .line-items { margin-top: 0; }
input[aria-invalid="true"] { border: 2px solid #813123; }
@media (max-width:850px) {
  .guide-panel { grid-template-columns: 1fr; }
}
