:root {
  --forest-950: #10231b;
  --forest-900: #183126;
  --forest-800: #244536;
  --forest-700: #315a46;
  --burgundy: #7b3540;
  --burgundy-dark: #632833;
  --cream: #f5f0e7;
  --paper: #fbfaf7;
  --stone: #d8cbb9;
  --gold: #c6a66d;
  --ink: #25312b;
  --muted: #67726c;
  --white: #ffffff;
  --line: rgba(24, 49, 38, 0.14);
  --shadow: 0 22px 60px rgba(20, 38, 30, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --shell: min(1160px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--white);
  color: var(--forest-900);
  font-weight: 700;
  box-shadow: var(--shadow);
}
.skip-link:focus { transform: translateY(0); }
.shell { width: var(--shell); margin-inline: auto; }

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  background: rgba(16, 35, 27, 0.88);
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-mark {
  width: 44px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.58);
  border-radius: 50% 50% 46% 46%;
  background: rgba(255,255,255,0.08);
  color: currentColor;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.08em;
}
.brand-copy { display: grid; line-height: 1.15; }
.brand-copy strong { font-family: Georgia, "Times New Roman", serif; font-size: 20px; font-weight: 500; }
.brand-copy small { margin-top: 4px; color: rgba(255,255,255,0.65); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
nav { display: flex; align-items: center; gap: 30px; }
nav a {
  position: relative;
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  background: var(--gold);
  transition: right 180ms ease;
}
nav a:hover, nav a:focus-visible { color: var(--white); }
nav a:hover::after, nav a:focus-visible::after { right: 0; }

.hero {
  position: relative;
  min-height: 760px;
  height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--forest-950);
  color: var(--white);
}
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center 54%; }
.hero-shade {
  background:
    linear-gradient(90deg, rgba(10,25,18,0.91) 0%, rgba(10,25,18,0.7) 38%, rgba(10,25,18,0.18) 70%, rgba(10,25,18,0.05) 100%),
    linear-gradient(0deg, rgba(10,25,18,0.82) 0%, transparent 45%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(92px, 13vh, 140px);
}
.eyebrow {
  margin: 0 0 14px;
  color: #dfc48f;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.eyebrow.dark { color: var(--burgundy); }
.hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 8.4vw, 112px);
  font-weight: 400;
  line-height: 0.91;
  letter-spacing: -0.045em;
}
.hero-intro {
  max-width: 680px;
  margin: 28px 0 0;
  color: rgba(255,255,255,0.8);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 760;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--burgundy); color: var(--white); box-shadow: 0 10px 28px rgba(83, 24, 35, 0.28); }
.button-primary:hover { background: var(--burgundy-dark); }
.button-quiet { border-color: rgba(255,255,255,0.35); background: rgba(255,255,255,0.07); color: var(--white); }
.button-quiet:hover { background: rgba(255,255,255,0.13); border-color: rgba(255,255,255,0.55); }
.scroll-cue {
  position: absolute;
  z-index: 3;
  right: max(24px, calc((100% - 1160px) / 2));
  bottom: 38px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.65);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}
.scroll-cue svg { width: 20px; height: 20px; }

.section { padding: clamp(82px, 10vw, 132px) 0; }
.section-documents { background: var(--cream); }
.section-records { background: var(--paper); }
.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.72fr);
  align-items: end;
  gap: 60px;
  margin-bottom: 42px;
}
.split-heading h2, .contact-copy h2 {
  margin: 0;
  color: var(--forest-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5.2vw, 66px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.split-heading > p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 16px;
}

.document-card {
  min-height: 420px;
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  overflow: hidden;
  border: 1px solid rgba(24,49,38,0.08);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}
.document-preview {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 25%, rgba(198,166,109,0.3), transparent 38%),
    linear-gradient(145deg, var(--forest-800), var(--forest-950));
}
.document-preview::after {
  content: "";
  position: absolute;
  inset: auto -90px -120px auto;
  width: 300px;
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%;
}
.page {
  position: absolute;
  width: min(225px, 55%);
  aspect-ratio: 0.76;
  border-radius: 5px;
  background: #f9f6ee;
  box-shadow: 0 22px 52px rgba(0,0,0,0.28);
}
.page-back { transform: translate(28px, -8px) rotate(7deg); opacity: 0.52; }
.page-middle { transform: translate(12px, 2px) rotate(2.6deg); opacity: 0.78; }
.page-front { transform: rotate(-2.5deg); padding: 34px 26px; color: var(--forest-900); }
.doc-seal {
  width: 48px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin: 0 auto 28px;
  border: 2px double var(--burgundy);
  border-radius: 50%;
  color: var(--burgundy);
  font-family: Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.08em;
}
.doc-line { display: block; width: 88%; height: 5px; margin: 13px auto; border-radius: 99px; background: #d7d0c2; }
.doc-line.wide { width: 100%; height: 7px; background: var(--burgundy); opacity: 0.7; }
.doc-line.short { width: 58%; }
.doc-label { position: absolute; inset: auto 0 24px; text-align: center; color: #8d8679; font-size: 9px; letter-spacing: 0.15em; text-transform: uppercase; }
.document-copy { align-self: center; padding: clamp(40px, 6vw, 76px); }
.document-kicker { margin: 0 0 10px; color: var(--burgundy); font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.document-copy h3 { max-width: 650px; margin: 0; color: var(--forest-900); font-family: Georgia, serif; font-size: clamp(30px, 4vw, 47px); font-weight: 400; line-height: 1.08; }
.document-meta { margin: 16px 0 0; color: var(--forest-700); font-size: 14px; font-weight: 750; }
.document-copy > p:not(.document-kicker):not(.document-meta) { max-width: 670px; margin: 22px 0 0; color: var(--muted); }
.document-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 30px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--forest-800); font-size: 14px; font-weight: 760; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.text-link svg { width: 18px; height: 18px; }

.resource-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.resource-card {
  position: relative;
  min-height: 168px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.resource-card:hover, .resource-card:focus-visible { transform: translateY(-4px); border-color: rgba(123,53,64,0.4); box-shadow: 0 18px 42px rgba(22,45,34,0.09); }
.resource-icon {
  width: 47px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--cream);
  color: var(--burgundy);
  font-family: Georgia, serif;
  font-size: 13px;
  font-weight: 700;
}
.resource-copy { display: grid; gap: 8px; }
.resource-copy strong { color: var(--forest-900); font-family: Georgia, serif; font-size: 24px; font-weight: 500; line-height: 1.1; }
.resource-copy small { color: var(--muted); font-size: 14px; line-height: 1.55; }
.external-icon { width: 18px; height: 18px; color: #879089; transition: color 180ms ease, transform 180ms ease; }
.resource-card:hover .external-icon { color: var(--burgundy); transform: translate(2px,-2px); }

.section-contact { padding-top: 20px; background: var(--paper); }
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  min-height: 470px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--forest-900);
  color: var(--white);
  box-shadow: var(--shadow);
}
.contact-photo { min-height: 470px; }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% center; }
.contact-copy { align-self: center; padding: clamp(42px, 6vw, 76px); }
.contact-copy h2 { color: var(--white); }
.contact-copy > p:not(.eyebrow) { margin: 22px 0 0; color: rgba(255,255,255,0.72); font-size: 17px; }
.email-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(255,255,255,0.36);
  color: var(--white);
  font-size: clamp(16px, 2.2vw, 21px);
  font-weight: 750;
  text-decoration: none;
}
.email-link svg { width: 22px; height: 22px; }
.email-link:hover { border-color: var(--gold); color: #efd6a6; }

.site-footer { margin-top: clamp(80px, 10vw, 130px); padding: 58px 0 24px; background: var(--forest-950); color: rgba(255,255,255,0.66); }
.footer-grid { display: grid; grid-template-columns: 0.7fr 1.5fr 0.8fr; gap: 54px; align-items: start; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: var(--white); }
.footer-brand > div { display: grid; line-height: 1.25; }
.footer-brand strong { font-family: Georgia, serif; font-size: 18px; font-weight: 500; }
.footer-brand small { color: rgba(255,255,255,0.5); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.footer-grid p { margin: 0; font-size: 12px; line-height: 1.75; }
.footer-grid > a { justify-self: end; color: rgba(255,255,255,0.82); font-size: 13px; font-weight: 700; text-underline-offset: 4px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 42px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; }
.footer-bottom a { color: rgba(255,255,255,0.72); text-decoration: none; }

:focus-visible { outline: 3px solid #e5c78e; outline-offset: 4px; }

@media (max-width: 860px) {
  :root { --shell: min(100% - 28px, 720px); }
  .header-inner { min-height: 70px; }
  nav { gap: 16px; }
  nav a { font-size: 12px; }
  .brand-copy small { display: none; }
  .hero { min-height: 680px; height: 88svh; }
  .hero-shade { background: linear-gradient(90deg, rgba(10,25,18,0.88), rgba(10,25,18,0.32)), linear-gradient(0deg, rgba(10,25,18,0.85), transparent 55%); }
  .hero-content { padding-bottom: 92px; }
  .scroll-cue { display: none; }
  .split-heading { grid-template-columns: 1fr; gap: 20px; }
  .document-card { grid-template-columns: 1fr; }
  .document-preview { min-height: 330px; }
  .page { width: 175px; }
  .resource-grid { grid-template-columns: 1fr; }
  .contact-panel { grid-template-columns: 1fr; }
  .contact-photo { min-height: 330px; max-height: 420px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid > a { justify-self: start; }
}

@media (max-width: 560px) {
  nav a:nth-child(2) { display: none; }
  .brand-mark { width: 39px; }
  .brand-copy strong { font-size: 17px; }
  .hero-image { object-position: 60% center; }
  .hero h1 { font-size: clamp(52px, 18vw, 76px); }
  .hero-intro { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .section { padding-block: 76px; }
  .document-copy { padding: 34px 24px 42px; }
  .document-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .resource-card { grid-template-columns: auto 1fr; min-height: unset; padding: 22px; }
  .external-icon { display: none; }
  .resource-copy strong { font-size: 21px; }
  .contact-copy { padding: 38px 24px 46px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
