@font-face {
  font-family: Instrument Serif;
  src: url("./assets/instrument-serif.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Instrument Serif;
  src: url("./assets/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: DM Sans;
  src: url("./assets/dm-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f5f1e9;
  --ink: #201c19;
  --body: #504840;
  --copper: #863e25;
  --rule: #cdc3b6;
  --dark: #231d19;
  --cream: #f5ece0;
  --display: "Instrument Serif", "Times New Roman", serif;
  --sans: "DM Sans", Arial, sans-serif;
  --gutter: clamp(1.25rem, 5.05vw, 5.25rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 1rem/1.6 var(--sans); }
h1, h2, h3, p, ol, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 5px; }
section[id] { scroll-margin-top: 1.5rem; }

.shell { width: min(100% - 2 * var(--gutter), 90rem); margin-inline: auto; }
.skip-link { position: fixed; z-index: 3; inset: .75rem auto auto .75rem; padding: .55rem .9rem; background: var(--paper); transform: translateY(-200%); }
.skip-link:focus { transform: none; }

.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-inner { min-height: 5rem; border-bottom: 1px solid var(--rule); }
.wordmark { display: inline-flex; align-items: center; gap: .64rem; font-weight: 700; font-size: .91rem; letter-spacing: .17em; white-space: nowrap; }
.wordmark-space { margin-left: .06em; }
nav { display: flex; align-items: center; gap: clamp(.85rem, 3.1vw, 3rem); }
nav a { display: inline-flex; align-items: center; gap: .38rem; min-height: 44px; font-size: .88rem; font-weight: 600; }
nav a:hover, .site-footer a:hover { color: var(--copper); }
.nav-contact { color: var(--copper); }
.nav-contact:hover, .site-footer a:hover { text-decoration: underline; text-underline-offset: .23em; }

.hero { padding-top: clamp(3.2rem, 6vw, 6.75rem); }
.eyebrow { display: flex; align-items: center; gap: .62rem; color: var(--copper); font-size: .69rem; font-weight: 700; line-height: 1.45; letter-spacing: .16em; text-transform: uppercase; }
.hero-kicker::before { content: ""; width: 1.72rem; height: 1px; background: currentColor; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; margin-top: 1.3rem; }
h1, h2 { font: 400 1em/.95 var(--display); letter-spacing: -.018em; }
h1 { font-size: clamp(3.65rem, 7.32vw, 8rem); }
h1 em { display: block; font-weight: 400; color: var(--copper); }
.hero-copy { color: var(--body); font-size: clamp(.98rem, 1.19vw, 1.15rem); line-height: 1.52; padding-bottom: .2rem; max-width: 28rem; }
.hero-copy p + p { margin-top: .72rem; }
.hero-copy p:last-of-type { font-weight: 600; color: var(--ink); }

.hero-cta { display: inline-flex; align-items: center; min-height: 44px; margin-top: 1.35rem; padding: .7rem 1.25rem; background: var(--ink); color: var(--paper); font-size: .88rem; font-weight: 600; }
.hero-cta:hover { background: var(--copper); }

.page { padding-block: clamp(3.5rem, 7vw, 7rem) clamp(4rem, 8vw, 8rem); }
.page h1 { font-size: clamp(3rem, 6vw, 6rem); margin-top: 1.3rem; }
.page-copy { max-width: 40rem; margin-top: 2rem; color: var(--body); }
.page-copy h2 { font: 700 1.04rem/1.4 var(--sans); letter-spacing: 0; max-width: none; color: var(--ink); margin-top: 2rem; margin-bottom: .4rem; }
.page-copy p + p { margin-top: .8rem; }
.page-copy p a { color: var(--copper); text-decoration: underline; text-underline-offset: .25em; }

.section { padding-block: clamp(4.5rem, 9vw, 9.25rem); }
.section-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(2rem, 8vw, 9rem); }
.section-label { margin-bottom: 1.3rem; }
h2 { font-size: clamp(3rem, 5.35vw, 6rem); max-width: 12ch; }
.section-intro { color: var(--body); margin-top: 1.35rem; max-width: 31rem; }
.approach-list { list-style: none; padding: 0; }
.approach-list li { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); gap: .65rem; padding-block: 1rem 1.15rem; border-top: 1px solid var(--rule); }
.approach-list li:last-child { border-bottom: 1px solid var(--rule); }
.step-number { color: var(--copper); font-size: .69rem; font-weight: 700; font-variant-numeric: tabular-nums; padding-top: .23rem; }
.approach-list h3 { font-size: 1.04rem; font-weight: 700; margin-bottom: .25rem; }
.approach-list p { color: var(--body); font-size: .94rem; }

.commitment { background: var(--dark); color: var(--cream); padding-block: clamp(4.25rem, 8.5vw, 8.5rem); }
.commitment .section-label { color: #e6a57c; }
.commitment-copy, .contact-copy { align-self: end; max-width: 30rem; }
.commitment-copy { color: #ded0c2; }
.commitment-copy p + p { margin-top: .85rem; }
.contact-copy { color: var(--body); }
.contact-email { display: inline-block; margin-top: 1.2rem; color: var(--copper); font-weight: 700; font-size: .92rem; }
.contact-email { text-decoration: underline; text-underline-offset: .3em; }

.footer-inner { border-top: 1px solid var(--rule); padding-block: .75rem; color: var(--body); font-size: .8rem; }
.footer-inner a { display: inline-flex; align-items: center; gap: .42rem; min-height: 44px; }

.hero-image { margin-top: clamp(2rem, 4vw, 3.5rem); aspect-ratio: 5; overflow: hidden; background: #110c0a; }
.hero-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 19% 55%; }

@media (max-width: 840px) {
  .hero-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  h1 { font-size: clamp(3.45rem, 10.8vw, 6.3rem); }
  .hero-copy { max-width: 32rem; }
  .section-grid { gap: 2rem; }
}

@media (max-width: 600px) {
  .hero-image { aspect-ratio: 2.6; }
  .header-inner { min-height: 4.25rem; gap: .45rem; }
  .wordmark { font-size: .73rem; gap: .36rem; letter-spacing: .1em; }
  nav { gap: .68rem; }
  nav a { font-size: .77rem; gap: .22rem; }
  h1 { font-size: clamp(2.45rem, 12.35vw, 4.1rem); }
  .hero-grid { margin-top: .95rem; }
  .section-grid { grid-template-columns: 1fr; }
  .contact .section-grid, .commitment .section-grid { gap: 1.25rem; }
}

@media (max-width: 350px) {
  :root { --gutter: 1rem; }
  nav { gap: .53rem; }
  nav a { font-size: .72rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
