@font-face {
  font-family: "EB Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/eb-garamond-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "EB Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/eb-garamond-latin-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/jost-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/jost-latin-500-normal.woff2") format("woff2");
}

:root {
  --em: #0f4c45;
  --em-d: #0b3b36;
  --em-dd: #082d29;
  --ivory: #f7f5f0;
  --white: #fffcf8;
  --sand: #efeae1;
  --ink: #1c2b28;
  --muted: #5c6764;
  --line: rgba(15, 76, 69, 0.16);
  --gold: #b8956c;
  --serif: "EB Garamond", "Palatino Linotype", Palatino, serif;
  --sans: "Jost", "Segoe UI", sans-serif;
  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --measure: 1180px;
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.nav-open { overflow: hidden; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font: 400 1.0625rem/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--em);
  margin: 0;
  line-height: 1.12;
}
h1 { font-size: clamp(2.7rem, 4.4vw, 4.15rem); }
h2 { font-size: clamp(2rem, 3vw, 2.75rem); }
h3 { font-size: 1.65rem; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: #e7efe9; color: var(--em-dd); }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 80; background: #fff; padding: 0.5rem 1rem; }

.label {
  font: 500 0.68rem/1 var(--sans);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.75em 1.45em;
  border: 1px solid var(--em);
  background: transparent;
  color: var(--em);
  font: 500 0.7rem/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.btn:hover { background: var(--em); color: var(--ivory); }
.btn.solid { background: var(--em); color: var(--ivory); }
.btn.solid:hover { background: var(--em-d); border-color: var(--em-d); }

.hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 76px;
  padding: 0 var(--pad);
  background: rgba(247, 245, 240, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.hdr.scrolled { border-bottom-color: var(--line); }
.brand { text-decoration: none; display: flex; flex-direction: column; gap: 0.15rem; }
.brand-name {
  font: 500 0.78rem/1 var(--sans);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--em);
}
.brand small {
  font: italic 400 0.95rem/1 var(--serif);
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}
.nav { display: flex; align-items: center; gap: 1.35rem; }
.nav a {
  font: 400 0.78rem/1 var(--sans);
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--ink);
  padding: 0.35rem 0 0.3rem;
  border-bottom: 1px solid transparent;
  transition: color 0.25s, border-color 0.25s;
}
.nav a:hover { color: var(--em); }
.nav a[aria-current="page"] { color: var(--em); border-bottom-color: var(--gold); }

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: none;
  padding: 0;
  position: relative;
  cursor: pointer;
}
.menu-btn span {
  position: absolute;
  left: 10px;
  width: 22px;
  height: 1.5px;
  background: var(--em);
  transition: transform 0.3s, top 0.3s;
}
.menu-btn span:first-of-type { top: 17px; }
.menu-btn span:nth-of-type(2) { top: 24px; }
.hdr.open .menu-btn span:first-of-type { top: 20px; transform: rotate(40deg); }
.hdr.open .menu-btn span:nth-of-type(2) { top: 20px; transform: rotate(-40deg); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.menu {
  position: fixed;
  inset: 76px 0 0;
  z-index: 45;
  background: var(--ivory);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  padding: 2rem var(--pad) 4rem;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, transform 0.35s, visibility 0.35s;
}
.menu.show { opacity: 1; visibility: visible; transform: none; }
.menu a {
  font: 500 clamp(1.8rem, 6vw, 2.4rem)/1.25 var(--serif);
  color: var(--em);
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--line);
}
.menu a[aria-current="page"] { color: var(--gold); }

.stage { height: min(46vh, 460px); background: #d5e4df; overflow: hidden; }
.stage img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }

.lead {
  display: grid;
  gap: 1.75rem;
  max-width: var(--measure);
  margin: 0 auto;
  padding: clamp(2.4rem, 5vh, 3.6rem) var(--pad) clamp(2.8rem, 6vh, 4.2rem);
}
.lead h1 { max-width: 14ch; font-size: clamp(2.55rem, 3.8vw, 3.65rem); }
.lead-side { max-width: 34rem; align-self: end; }
.lead-side p { color: var(--muted); font-size: 1.08rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.fine { margin-top: 1rem; color: var(--muted); font-size: 0.95rem; }

.quote {
  background: var(--em);
  color: var(--ivory);
  text-align: center;
  padding: clamp(4.2rem, 9vh, 6.5rem) var(--pad);
}
.rule { display: block; width: 2.75rem; height: 1px; background: var(--gold); margin: 0 auto; }
.quote blockquote {
  margin: 1.25rem auto 0;
  max-width: 16em;
  font: italic 400 clamp(1.85rem, 3vw, 2.65rem)/1.3 var(--serif);
  color: var(--ivory);
}

.block { padding: clamp(4rem, 8vh, 6.2rem) var(--pad); }
.block.sand { background: var(--sand); }
.block.white { background: var(--white); }
.block-inner { max-width: var(--measure); margin: 0 auto; }
.block-head { max-width: 36rem; margin-bottom: clamp(2rem, 4vh, 3rem); }
.block-head p:last-child { color: var(--muted); margin-top: 0.7rem; }

.pillars, .trio, .steps { display: grid; gap: 2rem 2.5rem; }
.pillar, .trio article, .steps li {
  display: grid;
  align-content: start;
  gap: 0.55rem;
}
.num {
  font: 500 0.72rem/1 var(--sans);
  letter-spacing: 0.2em;
  color: var(--gold);
}
.pillar, .steps a { text-decoration: none; }
.pillar h2, .pillar h3, .trio h3, .steps h3 { font-size: 1.7rem; }
.pillar p, .trio p, .steps p, .index p { color: var(--muted); max-width: 32rem; }
.pillar { padding-top: 0.9rem; border-top: 1px solid var(--line); transition: border-color 0.3s; }
.pillar:hover { border-top-color: var(--gold); }
.pillar:hover h2 { color: var(--em-d); }

.split { display: grid; background: var(--white); }
.split figure { margin: 0; min-height: 320px; overflow: hidden; background: #d5e4df; }
.split img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.split:hover img { transform: scale(1.03); }
.split .copy {
  display: grid;
  align-content: center;
  gap: 0.9rem;
  padding: clamp(2.5rem, 6vh, 5rem) clamp(1.5rem, 5vw, 4.5rem);
}
.split .copy p { color: var(--muted); max-width: 36rem; }

.frame {
  display: grid;
  gap: 2rem;
  max-width: var(--measure);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vh, 4.5rem) var(--pad) 0;
  align-items: center;
}
.frame figure { margin: 0; overflow: hidden; background: #d5e4df; aspect-ratio: 4 / 3; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame .copy { display: grid; gap: 0.85rem; align-content: center; }
.frame .copy p { color: var(--muted); max-width: 34rem; }

.inset {
  padding: clamp(2.2rem, 5vh, 3.5rem) var(--pad) 0;
}
.inset figure {
  margin: 0 auto;
  max-width: var(--measure);
  height: min(52vh, 520px);
  overflow: hidden;
  background: #d5e4df;
}
.inset img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }

.index { list-style: none; margin: 0; padding: 0; }
.index li {
  display: grid;
  gap: 0.35rem 1.5rem;
  padding: 1.45rem 0;
  border-top: 1px solid var(--line);
}
.index li:last-child { border-bottom: 1px solid var(--line); }
.index .num { margin-top: 0.45rem; }

.figures { display: grid; gap: 2.2rem; }
.figures h2 {
  font-size: clamp(2.4rem, 4vw, 3.35rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.35rem;
}
.figures p { color: var(--muted); max-width: 26rem; }
.source {
  margin-top: 2.2rem;
  max-width: 42rem;
  font: italic 400 1.15rem/1.55 var(--serif);
  color: var(--muted);
}

.steps { list-style: none; margin: 0; padding: 0; }
.steps li { padding-top: 0.85rem; border-top: 1px solid var(--line); }
.places {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  font: 500 1.35rem/1.3 var(--serif);
  color: var(--em);
}
.whisper { margin-top: 0.8rem; font: italic 400 1.2rem/1.5 var(--serif); color: var(--muted); }

.cta {
  background: var(--sand);
  text-align: center;
  padding: clamp(4rem, 8vh, 6rem) var(--pad);
}
.cta h2 { margin-bottom: 0.6rem; }
.cta p { color: var(--muted); margin-bottom: 1.4rem; }
.mail {
  color: var(--em);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
}
.mail:hover { border-bottom-color: var(--em); }

.contact-split .copy { align-content: start; padding-top: clamp(2.2rem, 5vh, 3.5rem); padding-bottom: 3rem; }
.form { display: grid; gap: 1.35rem; margin-top: 0.5rem; max-width: 34rem; }
.field { display: grid; gap: 0.3rem; }
.field span {
  font: 500 0.66rem/1 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field select, .field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(15, 76, 69, 0.28);
  background: transparent;
  padding: 0.65rem 0;
  font: 400 1.05rem/1.4 var(--sans);
  color: var(--ink);
  border-radius: 0;
  resize: vertical;
}
.field textarea { min-height: 7.5rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--em); }
.form .btn { justify-self: start; margin-top: 0.4rem; }
.form-note, .status { font-size: 0.92rem; color: var(--muted); }
.status:empty { display: none; }

.doc { max-width: 760px; margin: 0 auto; padding: clamp(3rem, 7vh, 5rem) var(--pad) clamp(4rem, 8vh, 6rem); }
.doc h1 { margin-bottom: 0.8rem; }
.doc .dek { color: var(--muted); font-size: 1.15rem; margin-bottom: 2.4rem; }
.doc article { padding: 1.3rem 0; border-top: 1px solid var(--line); }
.doc h2 { font-size: 1.7rem; margin-bottom: 0.4rem; }
.doc p { color: var(--muted); }
.doc a { color: var(--em); }

.miss {
  min-height: calc(100svh - 76px);
  display: grid;
  align-content: center;
  justify-items: start;
  padding: 4rem var(--pad) 5rem;
  max-width: 760px;
}
.miss h1 { margin-bottom: 0.8rem; }
.miss p { color: var(--muted); margin-bottom: 1.6rem; max-width: 28rem; }

.ftr {
  background: var(--em-dd);
  color: rgba(247, 245, 240, 0.72);
  padding: clamp(3.2rem, 7vh, 5rem) var(--pad) 2rem;
}
.ftr-grid {
  display: grid;
  gap: 2.2rem;
  max-width: var(--measure);
  margin: 0 auto 2.4rem;
}
.ftr .brand-name { color: var(--gold); }
.ftr-line { margin-top: 0.8rem; max-width: 24rem; color: rgba(247, 245, 240, 0.78); }
.ftr-nav, .ftr-contact { display: grid; gap: 0.45rem; align-content: start; }
.ftr a { color: var(--ivory); text-decoration: none; }
.ftr a:hover, .ftr a[aria-current="page"] { color: var(--gold); }
.ftr .label { color: var(--gold); }
.ftr .mail { color: var(--ivory); border-bottom-color: var(--gold); }
.legal {
  max-width: var(--measure);
  margin: 0 auto;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(184, 149, 108, 0.4);
  font-size: 0.84rem;
  line-height: 1.65;
  color: rgba(247, 245, 240, 0.55);
}
.copyright {
  max-width: var(--measure);
  margin: 0.9rem auto 0;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: rgba(247, 245, 240, 0.45);
}

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (min-width: 900px) {
  .lead { grid-template-columns: 1.15fr 0.85fr; align-items: end; gap: 4rem; }
  .pillars, .trio, .figures { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1.05fr 0.95fr; min-height: 620px; }
  .split.reverse { grid-template-columns: 0.95fr 1.05fr; }
  .split.reverse figure { order: 2; }
  .frame { grid-template-columns: 0.85fr 1.15fr; gap: 3.5rem; }
  .frame.reverse { grid-template-columns: 1.15fr 0.85fr; }
  .frame.reverse figure { order: -1; }
  .index li { grid-template-columns: 3.5rem 1fr; align-items: baseline; }
  .ftr-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .contact-split { min-height: 0; }
  .contact-split figure { min-height: 100%; }
}

@media (max-width: 899px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .brand small { display: none; }
  .hdr { height: 64px; }
  .menu { inset: 64px 0 0; }
  .stage { height: 42vh; }
  .split figure { height: 62vw; min-height: 240px; }
  h1 { font-size: clamp(2.35rem, 9vw, 3.1rem); }
}

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