:root {
  --ink: #e8e3d8;
  --muted: #9d978c;
  --gold: #b89a5a;
  --gold-bright: #d0b36f;
  --ground: #0b0d0f;
  --ground-soft: #111417;
  --line: rgba(184, 154, 90, 0.32);
  color-scheme: dark;
  font-family: Georgia, "Times New Roman", serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { min-height: 100%; background: var(--ground); }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 44%, rgba(184, 154, 90, 0.055), transparent 34rem),
    linear-gradient(145deg, #0d1012, var(--ground) 70%);
}

a { color: inherit; text-underline-offset: 0.3em; }
a:hover { color: var(--gold-bright); }
a:focus-visible { outline: 1px solid var(--gold-bright); outline-offset: 0.4rem; }

.skip-link {
  position: fixed;
  z-index: 10;
  top: 1rem;
  left: 1rem;
  padding: 0.65rem 0.9rem;
  color: var(--ground);
  background: var(--gold-bright);
  transform: translateY(-180%);
}
.skip-link:focus { transform: none; }

.site-header,
.site-footer {
  position: fixed;
  z-index: 2;
  right: clamp(1.25rem, 4vw, 4rem);
  left: clamp(1.25rem, 4vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font: 0.7rem/1.2 Arial, Helvetica, sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-header { top: clamp(1.5rem, 4vw, 3rem); }
.site-footer { bottom: clamp(1.5rem, 4vw, 3rem); gap: 0.7rem; color: var(--muted); }
.site-footer a { text-decoration: none; }

.language-switch { display: flex; gap: 0.65rem; align-items: center; color: var(--muted); }
.language-switch a { padding: 0.3rem; text-decoration: none; }
.language-switch a[aria-current="page"] { color: var(--gold-bright); }

.hero {
  min-height: 100vh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: clamp(2.3rem, 6vh, 4.5rem);
  padding: 7rem 1.5rem;
  text-align: center;
}

.emblem {
  position: relative;
  width: clamp(8.5rem, 22vw, 12.5rem);
  aspect-ratio: 1;
  animation: reveal 1.2s ease-out both;
}

.emblem__ring {
  position: absolute;
  inset: 0;
  border: 1px solid var(--gold);
  border-radius: 50%;
  opacity: 0.65;
}
.emblem__ring::before,
.emblem__ring::after {
  content: "";
  position: absolute;
  inset: 8%;
  border: 1px solid var(--line);
  transform: rotate(45deg);
}
.emblem__ring::after { transform: rotate(22.5deg); }

.emblem__triangle {
  position: absolute;
  left: 50%;
  width: 0;
  height: 0;
  transform: translateX(-50%);
  border-right: 3.25rem solid transparent;
  border-bottom: 5.55rem solid var(--gold);
  border-left: 3.25rem solid transparent;
}
.emblem__triangle::after {
  content: "";
  position: absolute;
  top: 2px;
  left: -3.15rem;
  border-right: 3.15rem solid transparent;
  border-bottom: 5.38rem solid var(--ground-soft);
  border-left: 3.15rem solid transparent;
}
.emblem__triangle--outer { top: 23%; }
.emblem__triangle--inner { top: 31%; transform: translateX(-50%) scale(0.52); opacity: 0.72; }
.emblem__light {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.4rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 1rem 0.35rem rgba(208,179,111,.35);
  transform: translate(-50%, -20%);
}

.title-block { animation: reveal 1s 0.18s ease-out both; }
.eyebrow {
  margin: 0 0 1rem;
  color: var(--gold-bright);
  font: 0.68rem/1.4 Arial, Helvetica, sans-serif;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
h1 { margin: 0; font-size: clamp(2rem, 6vw, 4.8rem); font-weight: 400; line-height: 1.06; letter-spacing: 0.015em; }
.degree { margin: 1.5rem 0 0; color: var(--muted); font-size: 0.72rem; letter-spacing: 0.3em; }
.degree span { color: var(--gold); }

.purpose-page { padding-bottom: 7rem; }
.site-header--inner { position: relative; right: auto; left: auto; justify-content: space-between; padding: clamp(1.5rem,4vw,3rem) clamp(1.25rem,5vw,5rem); }
.wordmark { color: var(--gold-bright); text-decoration: none; }
.purpose { width: min(46rem, calc(100% - 2.5rem)); margin: clamp(4rem,10vh,8rem) auto; }
.purpose h1 { max-width: 12ch; font-size: clamp(2.6rem,7vw,5.5rem); }
.rule { width: 4rem; height: 1px; margin: 2.5rem 0 4rem; background: var(--gold); }
.purpose section { margin-top: 3.5rem; }
.purpose h2 { margin: 0 0 1.4rem; color: var(--gold-bright); font: 0.72rem/1.4 Arial, Helvetica, sans-serif; letter-spacing: 0.22em; text-transform: uppercase; }
.purpose p,
.letter-list { font-size: clamp(1.05rem,2vw,1.25rem); line-height: 1.75; }
.letter-list { padding-left: 1.7rem; list-style-type: lower-alpha; }
.letter-list li { padding-left: 0.65rem; margin: 0 0 0.8rem; }
.letter-list li::marker { color: var(--gold); }
.source-note { margin-top: 4rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.83rem; font-style: italic; }
.site-footer--inner { position: relative; right: auto; bottom: auto; left: auto; justify-content: center; margin-top: 6rem; }

@keyframes reveal { from { opacity: 0; transform: translateY(0.75rem); } to { opacity: 1; transform: none; } }

@media (max-width: 36rem) {
  .hero { align-content: center; gap: 2.5rem; }
  .purpose { margin-top: 3rem; }
  .purpose h1 { font-size: clamp(2.35rem, 13vw, 4rem); }
}

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

@media print {
  body { color: #111; background: #fff; }
  .site-header, .site-footer, .skip-link { display: none; }
  .purpose { width: 100%; margin: 0; }
  .purpose h2, .eyebrow, .letter-list li::marker { color: #6f5727; }
}
