@font-face {
  font-family: Nimbus Display;
  src: url("assets/nimbus-sans-narrow-bold.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --dark: #171714;
  --dark-raised: #201f1b;
  --paper: #f2eee5;
  --text: #f7f2e8;
  --muted: #c0baae;
  --ink: #1b1a17;
  --subtle-ink: #555048;
  --accent: #ff654f;
  --line: #3e3a34;
  --light-line: #cfc8bc;
  --display: "Nimbus Display", "Arial Narrow", sans-serif;
  --body: Inter, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--dark); color: var(--text); font: 1rem/1.6 var(--body); }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
svg { width: 1.2em; height: 1.2em; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
button, input { font: inherit; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.shell { width: min(1200px, calc(100% - 112px)); margin-inline: auto; }
.skip { position: fixed; z-index: 10; inset: 10px auto auto 10px; padding: 10px 16px; color: var(--ink); background: var(--paper); transform: translateY(-160%); }
.skip:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 5; background: rgba(23, 23, 20, .96); border-bottom: 1px solid var(--line); }
.header-inner { position: relative; min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; white-space: nowrap; font: 700 1.34rem/1 var(--display); letter-spacing: .035em; }
.brand-mark { display: inline-block; width: 17px; height: 17px; background: var(--accent); clip-path: polygon(29% 0, 65% 0, 36% 100%, 0 100%, 29% 0, 81% 0, 100% 0, 71% 100%, 49% 100%, 81% 0); }
.site-nav { display: flex; flex-wrap: wrap; gap: clamp(22px, 3vw, 46px); }
.site-nav a, .header-contact { font-size: .86rem; font-weight: 700; }
.site-nav a { padding-block: 9px; color: var(--muted); transition: color .2s; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--text); }
.header-contact { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); padding: 7px 13px; border: 1px solid #814639; transition: color .2s, background .2s, border-color .2s; }
.header-contact:hover { color: var(--ink); background: var(--accent); border-color: var(--accent); }
.menu-toggle { display: none; }

.hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(35px, 5vw, 82px); align-items: center; padding-block: 28px; }
.hero-copy { padding-block: 35px; animation: hero-in .65s ease-out both; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; font-size: .73rem; font-weight: 700; line-height: 1.4; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 18px; height: 2px; flex: 0 0 auto; background: var(--accent); }
.hero h1 { font: 700 clamp(6rem, 12vw, 11.25rem)/.78 var(--display); letter-spacing: -.045em; }
.hero h1 span { color: var(--accent); }
.hero-intro { max-width: 36ch; margin-top: 26px; color: var(--muted); font-size: clamp(1rem, 1.45vw, 1.16rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 27px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: space-between; gap: 13px; padding: 12px 17px; border: 1px solid transparent; font-size: .86rem; font-weight: 700; line-height: 1.3; transition: background .2s, border-color .2s, color .2s, box-shadow .2s, transform .2s; }
.button svg { transition: transform .2s ease-out; }
.button:hover svg { transform: translate(2px, -2px); }
.hero-actions .button:hover svg { transform: translateY(3px); }
.button:active { transform: translateY(2px) scale(.985); }
.button-accent { background: var(--accent); color: var(--ink); }
.button-accent:hover { background: #ff816e; border-color: #ff816e; }
.button-outline { border-color: #6d655a; }
.button-outline:hover { border-color: var(--accent); background: #2c2420; }
.button-dark { background: var(--dark); color: var(--text); }
.button-dark:hover { background: #39352e; }
.hero-photo { position: relative; height: clamp(470px, 46vw, 610px); overflow: hidden; background: #b8b7b3; }
.hero-photo img { object-position: 50% 33%; animation: portrait-in .8s ease-out both; }
.hero-photo::after { position: absolute; inset: 0; content: ""; pointer-events: none; box-shadow: inset 0 0 0 1px #ffffff2a; }
@keyframes hero-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes portrait-in { from { transform: scale(1.025); } }

.credentials { border-top: 1px solid var(--line); }
.credential-grid { display: grid; grid-template-columns: 1fr 1fr 1.2fr; }
.credential-grid > div { display: grid; gap: 5px; padding-block: 22px; }
.credential-grid > div + div { padding-left: 25px; border-left: 1px solid var(--line); }
.credential-grid strong { font: 700 clamp(1.5rem, 2.25vw, 2.1rem)/1 var(--display); }
.credential-grid span { font-size: .81rem; color: var(--muted); }

.section { padding-block: clamp(65px, 9vw, 126px); }
.section-light { background: var(--paper); color: var(--ink); color-scheme: light; }
.section h2 { font: 700 clamp(3.2rem, 7vw, 6.5rem)/.89 var(--display); letter-spacing: -.038em; }
.section h3 { font: 700 clamp(2rem, 3.6vw, 3rem)/.95 var(--display); letter-spacing: -.025em; }
.story-layout { display: grid; grid-template-columns: .91fr 1fr; gap: clamp(48px, 9vw, 145px); align-items: center; }
.story-photo img { height: clamp(380px, 45vw, 572px); object-position: 50% 52%; background: #b8b7b3; }
.story-photo figcaption { margin-top: 9px; font-size: .76rem; color: var(--subtle-ink); }
.story-copy > p:not(.eyebrow), .personal-copy > p:not(.eyebrow) { color: var(--subtle-ink); margin-top: 19px; max-width: 55ch; }
.text-link { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; margin-top: 15px; border-bottom: 1px solid #8b473d; font-size: .82rem; font-weight: 700; transition: color .2s; }
.text-link:hover { color: #9e3528; }
.section-heading { display: grid; grid-template-columns: 1.5fr 1fr; align-items: end; gap: 36px; margin-bottom: 34px; }
.section-heading > p { color: var(--muted); max-width: 42ch; }
.event-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.event { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(22px, 3.2vw, 44px); border: 1px solid var(--line); background: var(--dark-raised); }
.event-top { width: 100%; display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px; }
.duration { color: var(--accent); font-size: .81rem; font-weight: 700; padding: 4px 9px; border: 1px solid #744137; white-space: nowrap; }
.event p { margin-top: 17px; color: var(--muted); }
.event ul { list-style: none; display: grid; gap: 10px; width: 100%; padding: 18px 0 0; margin: 20px 0 25px; border-top: 1px solid var(--line); font-size: .92rem; }
.event li { display: flex; align-items: baseline; gap: 9px; }
.event li::before { content: ""; width: 5px; height: 5px; background: var(--accent); flex: 0 0 auto; }
.event .button { margin-top: auto; }
.event-logistics { margin-top: 22px; border-block: 1px solid var(--line); }
.event-logistics summary { display: flex; list-style: none; cursor: pointer; align-items: center; justify-content: space-between; padding: 15px 2px; font-weight: 700; gap: 12px; }
.event-logistics summary::-webkit-details-marker { display: none; }
.event-logistics summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; }
.event-logistics[open] summary::after { content: "−"; }
.event-logistics p { color: var(--muted); max-width: 77ch; margin-bottom: 18px; }

.personal-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 8vw, 120px); align-items: center; }
.personal-details { margin-top: 24px; }
.personal-details div { display: grid; grid-template-columns: 94px 1fr; gap: 11px; padding: 11px 0; border-bottom: 1px solid var(--light-line); }
.personal-details div:first-child { border-top: 1px solid var(--light-line); }
.personal-details dt { font-weight: 700; }
.personal-details dd { color: var(--subtle-ink); }
.personal-options { background: #e8e0d2; border: 1px solid var(--light-line); padding: clamp(18px, 3.3vw, 42px); }
.personal-options fieldset { border: none; padding: 0; margin: 0; min-width: 0; }
.personal-options legend { padding: 0; margin-bottom: 15px; font-weight: 700; line-height: 1.4; }
.frequency-group { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.frequency-group label { position: relative; cursor: pointer; }
.frequency-group input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.frequency-group label > span { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 89px; background: var(--paper); border: 1px solid #bcb2a3; transition: background .2s, border-color .2s, transform .2s; }
.frequency-group strong { font: 700 clamp(2rem, 4vw, 3.2rem)/1 var(--display); }
.frequency-group small { font-size: .73rem; }
.frequency-group input:hover + span { border-color: #7e5247; }
.frequency-group input:focus-visible + span { outline: 2px solid #862f22; outline-offset: 2px; }
.frequency-group input:active + span { transform: scale(.97); }
.frequency-group input:checked + span { background: var(--accent); border-color: var(--ink); }
.personal-options .button { width: 100%; margin-top: 13px; }
.footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 85px; padding-block: 18px; }
.footer-contacts { display: flex; flex-wrap: wrap; gap: 10px 25px; }
.footer-contacts a { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .85rem; }
.footer-contacts a:hover { color: var(--accent); }

[data-reveal].is-visible { animation: reveal .62s cubic-bezier(.2,.7,.2,1) both; }
@keyframes reveal { from { opacity: .4; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1000px) {
  .shell { width: calc(100% - 70px); }
  .hero { gap: 29px; }
  .hero h1 { font-size: clamp(5.4rem, 13.4vw, 8.6rem); }
  .hero-photo { height: clamp(440px, 57vw, 550px); }
  .story-layout { gap: 38px; }
  .personal-layout { gap: 35px; }
}
@media (max-width: 740px) {
  html { scroll-padding-top: 70px; }
  .shell { width: calc(100% - 36px); }
  .header-inner { min-height: 59px; gap: 12px; flex-wrap: wrap; }
  .header-contact { margin-left: auto; padding: 6px 8px; font-size: .75rem; }
  .site-nav { order: 4; width: 100%; justify-content: space-between; gap: 16px; }
  .js .menu-toggle { order: 3; display: inline-grid; align-items: center; justify-items: center; min-width: 40px; min-height: 39px; padding: 5px; background: none; border: 1px solid var(--line); color: var(--text); cursor: pointer; }
  .js .menu-toggle svg { width: 20px; height: 20px; }
  .menu-close, .menu-toggle[aria-expanded="true"] .menu-open { display: none; }
  .menu-toggle[aria-expanded="true"] .menu-close { display: block; }
  .js .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; padding: 6px 16px; background: var(--dark); border: 1px solid var(--line); box-shadow: 0 12px 24px #0005; }
  .js .site-nav.is-open { display: flex; }
  .js .site-nav a { padding: 12px 0; }
  .js .site-nav a + a { border-top: 1px solid var(--line); }
  .hero { grid-template-columns: 1fr; gap: 18px; padding-block: 24px 18px; }
  .hero-copy { padding-block: 13px 0; }
  .hero h1 { font-size: clamp(5.85rem, 18vw, 8rem); }
  .hero-intro { margin-top: 20px; }
  .hero-actions { margin-top: 18px; }
  .button { min-height: 46px; }
  .hero-photo { height: clamp(330px, 98vw, 535px); }
  .hero-photo img { object-position: 50% 29%; }
  .credential-grid { grid-template-columns: 1fr; padding-block: 4px; }
  .credential-grid > div, .credential-grid > div + div { grid-template-columns: minmax(88px, .5fr) 1fr; align-items: baseline; gap: 12px; padding: 11px 0; border: 0; }
  .credential-grid > div + div { border-top: 1px solid var(--line); }
  .credential-grid span { font-size: .78rem; }
  .story-layout, .section-heading, .event-grid, .personal-layout { grid-template-columns: 1fr; }
  .story-layout { gap: 28px; }
  .story-copy { grid-row: 1; }
  .story-photo img { height: clamp(350px, 114vw, 580px); }
  .section-heading { gap: 14px; margin-bottom: 24px; }
  .personal-layout { gap: 22px; }
  .footer-inner { flex-wrap: wrap; }
}
@media (max-width: 360px) {
  .header-inner { gap: 8px; }
  .brand { font-size: 1.17rem; gap: 7px; }
  .hero-actions .button { padding-inline: 10px; font-size: .77rem; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
