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

:root {
  color-scheme: light;
  --paper: #faf9f6;
  --ink: #161615;
  --muted: #53514e;
  --accent: #a8432c;
  --accent-hover: #843522;
  --stone: #efebe5;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "DM Sans", Arial, sans-serif; font-size: 18px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
body:has(dialog[open]) { overflow: hidden; }
::selection { background: #ead0c3; color: var(--ink); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; padding: 0; background: none; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; text-underline-offset: .23em; }
img { display: block; max-width: 100%; }
figure, h1, h2, h3, p { margin: 0; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }
main:focus { outline: none; }
[id] { scroll-margin-top: 24px; }
.frame { width: min(100% - clamp(40px, 9.7vw, 144px), 1320px); margin-inline: auto; }
.skip-link { position: fixed; z-index: 10; left: 20px; top: 16px; padding: 12px 18px; background: var(--ink); color: white; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.wordmark { display: inline-block; width: fit-content; font-size: 38px; font-weight: 700; letter-spacing: -1.7px; line-height: 1.1; }
.site-header { min-height: 80px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; }
.site-header nav { display: flex; align-items: center; gap: 38px; font-size: 16px; }
.site-header nav a { display: flex; min-height: 44px; align-items: center; }
.site-header nav a:hover, .site-footer nav a:hover, .site-footer nav button:hover { text-decoration: underline; }
.header-slogan { justify-self: end; font-size: 15px; }
.hero-content { padding-block: 38px 38px; }
h1 { max-width: 1280px; font-size: clamp(40px, 5.05vw, 72px); line-height: 1.04; font-weight: 650; letter-spacing: -.055em; }
h1 span { display: block; }
.hero-intro { margin-top: 20px; font-size: clamp(18px, 1.75vw, 24px); line-height: 1.45; letter-spacing: -.025em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 38px; margin-top: 20px; }
.button { display: inline-flex; min-height: 52px; justify-content: center; align-items: center; gap: 12px; padding: 12px 32px; background: var(--accent); color: white; font-size: 19px; font-weight: 500; transition: background-color 150ms; }
.button:hover { background: var(--accent-hover); }
.text-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; width: fit-content; color: var(--accent); font-weight: 500; font-size: 19px; line-height: 1.35; text-align: left; }
.text-link:hover { color: var(--accent-hover); text-decoration: underline; }
.text-link span, .button span { display: inline-block; transition: transform 150ms; }
.text-link:hover span, .button:hover span { transform: translateX(4px); }
.dark-link { color: var(--ink); }
.visual-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.visual-strip img { width: 100%; height: clamp(160px, 27.2vw, 430px); object-fit: cover; }
.visual-strip img:nth-child(2) { object-position: 58% center; }
figcaption { margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.hero-figure figcaption { text-align: right; }
.experiences { padding-block: 46px 50px; }
.eyebrow { color: var(--accent); font-size: 13px; font-weight: 650; letter-spacing: .15em; text-transform: uppercase; line-height: 1.5; }
h2 { font-size: clamp(32px, 4.2vw, 58px); font-weight: 650; line-height: 1.09; letter-spacing: -.045em; }
.experiences > h2 { margin-block: 10px 30px; }
.experience-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.experience { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.experience figure { width: 100%; }
.experience img { width: 100%; aspect-ratio: 1.82; height: auto; object-fit: cover; }
.status { margin-top: 23px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
h3 { margin-top: 4px; font-size: clamp(28px, 2.6vw, 38px); font-weight: 650; letter-spacing: -.04em; line-height: 1.2; }
.experience-description { margin-block: 6px 16px; font-size: 19px; color: var(--muted); letter-spacing: -.018em; }
.experience > .text-link { margin-top: auto; }
.purpose { padding-block: 52px; background: var(--stone); }
.purpose-grid { display: grid; grid-template-columns: 36% minmax(0, 1fr); gap: 36px; }
.purpose .eyebrow { padding-top: 7px; }
.purpose h2 { max-width: 760px; }
.purpose h2 + p { margin-top: 20px; font-size: 19px; color: var(--muted); line-height: 1.5; letter-spacing: -.015em; }
.purpose .text-link { margin-top: 13px; }
.site-footer { padding-block: 32px 18px; }
.footer-main { display: grid; grid-template-columns: 1fr 170px 140px; gap: 40px; padding-bottom: 25px; }
.footer-brand p { margin-top: 5px; color: var(--muted); }
.site-footer nav { display: flex; flex-direction: column; align-items: flex-start; font-size: 16px; }
.site-footer nav h2 { margin-block: 2px 2px; font: 600 16px/1.5 "DM Sans", Arial, sans-serif; letter-spacing: 0; }
.site-footer nav a, .site-footer nav button { display: flex; align-items: center; min-height: 32px; color: var(--muted); }
.footer-bottom { display: flex; gap: 22px; padding-top: 15px; border-top: 1px solid #dedbd5; color: var(--muted); font-size: 12px; }
.footer-bottom p + p { padding-left: 22px; border-left: 1px solid #b8b4ae; }

.info-panel { position: fixed; inset: 0; margin: auto; width: min(600px, calc(100% - 32px)); max-height: calc(100dvh - 48px); overflow: auto; padding: 30px 36px 36px; border: 1px solid #d5d0c8; background: var(--paper); color: var(--ink); box-shadow: 0 16px 80px #16161526; }
.info-panel::backdrop { background: #16161555; }
.panel-close { display: flex; align-items: center; justify-content: flex-end; gap: 12px; min-height: 44px; margin-left: auto; margin-bottom: 20px; font-size: 15px; }
.panel-close span { font-size: 28px; line-height: 1; }
.panel-close:hover { color: var(--accent); }
.info-panel h2 { margin-top: 12px; font-size: clamp(30px, 4vw, 42px); }
.info-panel h2 ~ p { margin-top: 18px; color: var(--muted); }
.panel-credit { font-size: 14px; }

@media (min-width: 1600px) {
  .hero-figure { max-width: 1600px; margin-inline: auto; }
}

@media (max-width: 1024px) {
  .site-header { grid-template-columns: 1fr auto; gap: 24px; }
  .header-slogan { display: none; }
  .wordmark { font-size: 33px; }
  .hero-content { padding-top: 28px; }
  .experience-grid { gap: 32px; }
  .experience-description, .purpose h2 + p { font-size: 17px; }
  .text-link { font-size: 18px; }
  .purpose-grid { grid-template-columns: 30% minmax(0, 1fr); gap: 28px; }
  .footer-main { grid-template-columns: 1fr 110px 110px; gap: 24px; }
  .desktop-break { display: none; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 16px; }
  .site-header { min-height: 78px; gap: 16px; }
  .wordmark { font-size: 29px; letter-spacing: -1.2px; }
  .site-header nav { gap: 17px; font-size: 14px; }
  .hero-content { padding-block: 26px 30px; }
  h1 { font-size: clamp(38px, 7.8vw, 50px); line-height: 1.07; letter-spacing: -.055em; }
  .hero-intro { margin-top: 18px; max-width: 430px; }
  .hero-actions { flex-wrap: wrap; gap: 10px 24px; margin-top: 22px; }
  .button { padding-inline: 20px; min-height: 48px; font-size: 17px; }
  .hero-actions .text-link { font-size: 17px; }
  .visual-strip { gap: 4px; }
  .visual-strip img { height: clamp(160px, 42vw, 240px); }
  .hero-figure figcaption { margin-top: 8px; font-size: 10px; }
  .experiences { padding-block: 38px 38px; }
  .eyebrow { font-size: 11px; }
  h2 { font-size: 34px; line-height: 1.08; }
  .experiences > h2 { max-width: 480px; margin-block: 12px 26px; }
  .experience-grid { grid-template-columns: 1fr; gap: 36px; }
  .experience img { aspect-ratio: 1.5; }
  .experience figcaption { font-size: 11px; }
  .status { margin-top: 18px; font-size: 11px; }
  h3 { margin-top: 5px; font-size: 31px; }
  .experience-description { margin-block: 8px 10px; font-size: 17px; }
  .purpose { padding-block: 34px; }
  .purpose-grid { grid-template-columns: 1fr; gap: 18px; }
  .purpose .eyebrow { padding: 0; }
  .purpose h2 + p { margin-top: 18px; }
  .site-footer { padding-block: 30px 20px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 28px; padding-bottom: 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { font-size: 15px; }
  .site-footer nav a, .site-footer nav button { min-height: 38px; }
  .info-panel { padding: 16px 24px 28px; }
  .info-panel h2 ~ p { font-size: 16px; }
  .panel-close { margin-bottom: 16px; }
}

@media (max-width: 480px) {
  .site-header { min-height: 102px; grid-template-columns: 1fr; gap: 0; align-content: center; }
  .site-header nav { gap: 24px; margin-top: 6px; }
}

@media (max-width: 380px) {
  h1 { font-size: 34px; }
  h2 { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
