:root {
  color-scheme: dark;
  --paper: #f1ecdc;
  --muted: #b2b7a8;
  --gold: #e9bd6e;
  --mint: #a8c5a4;
  --line: rgba(232, 225, 205, .2);
  --panel: rgba(20, 34, 28, .82);
  --ink: #09130f;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--ink); scroll-behavior: smooth; }
body {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  margin: 0;
  color: var(--paper);
  background: radial-gradient(ellipse at 78% 15%, rgba(56, 75, 58, .42), transparent 40%), linear-gradient(160deg, #101d17 0%, #08110e 58%, #101a15 100%);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body::before {
  position: fixed;
  z-index: 0;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: .075;
  background-image: url("/mark.png"), repeating-linear-gradient(178deg, transparent 0 37px, rgba(241, 236, 220, .14) 38px, transparent 40px 82px);
  background-position: 82% 34%, center;
  background-repeat: no-repeat, repeat;
  background-size: min(42vw, 470px) auto, auto;
}
body > * { position: relative; z-index: 1; }
a { color: var(--gold); text-underline-offset: .22em; }
.shell { width: min(100% - 56px, 1120px); margin: 0 auto; }
.home { min-height: 100vh; display: flex; flex-direction: column; padding: 28px 0 20px; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--gold); font-size: 15px; font-weight: 800; letter-spacing: .045em; text-decoration: none; }
.brand img { width: 34px; height: 34px; object-fit: contain; }
.masthead-note, .eyebrow { color: var(--mint); font-size: 11px; font-weight: 800; letter-spacing: .17em; }
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); align-items: center; gap: clamp(44px, 8vw, 110px); min-height: min(690px, 75vh); padding: 48px 0 58px; }
.hero-copy { max-width: 670px; }
.hero-copy .eyebrow { margin: 0 0 18px; }
h1 { margin: 0 0 22px; font: 400 clamp(52px, 7.8vw, 94px)/.98 var(--serif); letter-spacing: -.055em; }
h1 em { color: var(--gold); font-style: italic; }
.intro { max-width: 560px; color: #d1d2c6; font-size: clamp(17px, 1.65vw, 20px); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; margin-top: 30px; }
.primary-pill, .quiet-pill, .site-footer nav a, .document footer a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}
.primary-pill { border-color: var(--paper); background: var(--paper); color: #132017; font: italic 17px var(--serif); }
.primary-pill span { font: 20px/1 sans-serif; }
.quiet-pill, .site-footer nav a, .document footer a { color: var(--paper); background: rgba(12, 25, 19, .34); }
.primary-pill:hover, .quiet-pill:hover, .site-footer nav a:hover, .document footer a:hover,
.primary-pill:focus-visible, .quiet-pill:focus-visible, .site-footer nav a:focus-visible, .document footer a:focus-visible { transform: translateY(-2px); border-color: var(--gold); outline: none; }
.quiet-pill:hover, .site-footer nav a:hover, .document footer a:hover { background: rgba(232, 225, 205, .09); }
.field-card { width: min(100%, 370px); margin: 0 auto; padding: 12px 12px 17px; transform: rotate(2deg); border: 1px solid rgba(241, 236, 220, .78); background: #e8e1d0; box-shadow: 0 24px 75px rgba(0, 0, 0, .35); color: #273229; }
.mark-plate { display: grid; min-height: 330px; place-items: center; overflow: hidden; background: radial-gradient(ellipse at 50% 42%, #27352b, #0b1510 74%); }
.mark-plate img { display: block; width: min(80%, 280px); height: auto; object-fit: contain; }
.field-card figcaption { display: flex; flex-direction: column; gap: 2px; padding: 15px 10px 0; }
.field-card figcaption span { color: #536351; font-size: 10px; font-weight: 800; letter-spacing: .17em; }
.field-card figcaption strong { color: #263329; font: 400 21px/1.25 var(--serif); }
.field-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; padding: 27px 0 34px; border-top: 1px solid var(--line); }
.field-notes article { max-width: 300px; }
.note-number { color: var(--mint); font: italic 19px var(--serif); }
.field-notes h2 { margin: 9px 0 5px; color: var(--paper); font: 400 22px/1.25 var(--serif); }
.field-notes p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; letter-spacing: .04em; }
.site-footer nav { display: flex; gap: 8px; }
.site-footer nav a { min-height: 36px; padding: 0 16px; font-size: 12px; }
.document { max-width: 760px; padding: 34px 0 30px; }
.document .eyebrow { margin: 62px 0 13px; }
.document h1 { margin-bottom: 10px; font-size: clamp(42px, 7vw, 70px); }
.document h2 { margin: 34px 0 8px; color: var(--gold); font: 400 25px/1.25 var(--serif); }
.document p { color: #d1d2c6; }
.document .intro { max-width: 690px; }
.document .muted { color: var(--muted); font-size: 14px; }
.document footer { display: flex; justify-content: flex-start; gap: 10px; margin-top: 50px; padding-top: 18px; border-top: 1px solid var(--line); }
.document footer a { min-height: 38px; padding: 0 17px; font-size: 13px; }
.email-card { display: flex; width: fit-content; min-height: 54px; align-items: center; justify-content: space-between; gap: 18px; margin: 27px 0; padding: 0 22px; border: 1px solid var(--paper); border-radius: 999px; background: var(--paper); color: #162219; font-size: 16px; font-weight: 750; overflow-wrap: anywhere; text-decoration: none; }
.email-card span { font-size: 20px; }

@media (max-width: 760px) {
  .shell { width: min(100% - 36px, 560px); }
  .home { padding-top: 22px; }
  .masthead-note { font-size: 9px; letter-spacing: .12em; }
  .hero { grid-template-columns: 1fr; gap: 38px; min-height: auto; padding: 65px 0 45px; }
  h1 { font-size: clamp(48px, 12vw, 72px); }
  .field-card { width: min(84%, 350px); }
  .mark-plate { min-height: 285px; }
  .field-notes { grid-template-columns: 1fr; gap: 22px; padding: 24px 0 28px; }
  .field-notes article { max-width: 480px; }
  .site-footer { flex-wrap: wrap; }
  .site-footer > span:last-child { width: 100%; }
  .document { padding-top: 26px; }
  .document .eyebrow { margin-top: 52px; }
}

@media (max-width: 420px) {
  .shell { width: min(100% - 30px, 560px); }
  .masthead { align-items: flex-start; }
  .brand { font-size: 14px; }
  .masthead-note { max-width: 120px; text-align: right; }
  .hero { padding-top: 55px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .primary-pill, .quiet-pill { width: fit-content; }
  .field-card { width: 90%; }
  .mark-plate { min-height: 260px; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}

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