@import url("https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@75..125,400..800&family=Noto+Sans:wght@400;500;600;700&display=swap");

:root {
  --forest-950: #08251e;
  --forest-900: #0d352b;
  --forest-800: #15493a;
  --forest-100: #dce7df;
  --gold-700: #805426;
  --gold-600: #9b6a32;
  --gold-400: #c29a5c;
  --chalk: #f7f7f2;
  --stone-100: #ecefe9;
  --stone-200: #dce1db;
  --stone-300: #c8d0c9;
  --ink: #14221d;
  --muted: #52615b;
  --white: #ffffff;
  --font-display: "Archivo", "Arial Narrow", sans-serif;
  --font-body: "Noto Sans", "Segoe UI", sans-serif;
  --max-width: 1160px;
  --measure: 70ch;
  --profile-image-size: 96px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--chalk);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

:focus-visible {
  outline: 3px solid var(--gold-400);
  outline-offset: 4px;
}

::selection {
  background: var(--gold-400);
  color: var(--forest-950);
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--white);
  color: var(--forest-950);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 180ms var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell,
.header-inner,
.site-footer-inner {
  width: min(calc(100% - 3rem), var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--stone-300);
  background: rgba(247, 247, 242, 0.98);
}

.header-inner {
  min-height: 84px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
}

.brand-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-self: start;
}

.brand-link img {
  width: 126px;
  height: auto;
}

.primary-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.25rem;
}

.primary-nav a {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 0.7rem;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--forest-950);
  text-decoration: underline 2px var(--gold-600);
  text-underline-offset: 0.58rem;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 3px;
  background: var(--gold-600);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 180ms ease, transform 180ms var(--ease-out);
}

.button:hover {
  background: var(--gold-700);
  transform: translateY(-1px);
}

.button-dark {
  background: var(--forest-900);
}

.button-dark:hover {
  background: var(--forest-800);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--forest-900);
  font-weight: 700;
}

.text-link-light {
  color: var(--white);
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1.25rem;
  margin-top: 1.75rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--forest-950);
  font-family: var(--font-display);
  font-weight: 680;
  letter-spacing: -0.025em;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  max-width: 15ch;
  margin-bottom: 1.5rem;
  font-size: clamp(2.8rem, 6.3vw, 5.3rem);
}

h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2rem, 4vw, 3.35rem);
}

h3 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
}

p {
  max-width: var(--measure);
  margin-bottom: 1.1rem;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 10vw, 8.5rem) 0;
  background: var(--forest-950);
  color: var(--forest-100);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: clamp(3rem, 8vw, 7.5rem);
  align-items: end;
}

.hero-copy::before {
  content: "";
  width: 72px;
  height: 2px;
  display: block;
  margin-bottom: 2rem;
  background: var(--gold-400);
  transform-origin: left;
  animation: rule-reveal 720ms var(--ease-out) both;
}

@keyframes rule-reveal {
  from { transform: scaleX(0.25); opacity: 0.45; }
  to { transform: scaleX(1); opacity: 1; }
}

.hero h1,
.hero h2,
.section-forest h2,
.section-forest h3 {
  color: var(--white);
}

.hero-copy > p {
  max-width: 54ch;
  margin-bottom: 0;
  color: var(--forest-100);
  font-size: clamp(1.08rem, 1.6vw, 1.3rem);
}

.hero-brief {
  padding-top: 2rem;
  border-top: 1px solid var(--gold-400);
}

.hero-brief h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.hero-brief p {
  color: var(--forest-100);
}

.section {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
}

.section-stone {
  background: var(--stone-100);
}

.section-forest {
  background: var(--forest-900);
  color: var(--forest-100);
}

.section-forest p,
.section-forest span {
  color: var(--forest-100);
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 4rem;
  align-items: start;
  padding-bottom: 3rem;
}

.section-intro p {
  color: var(--muted);
  font-size: 1.08rem;
}

.answer-list {
  border-bottom: 1px solid var(--stone-300);
}

.answer-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  gap: 4rem;
  padding: 3rem 0;
  border-top: 1px solid var(--stone-300);
  scroll-margin-top: 2rem;
}

.answer-row h3 {
  max-width: 15ch;
}

.answer-row p:last-child,
.profile-copy p:last-of-type,
.editorial-grid p:last-child,
.policy-copy p:last-child {
  margin-bottom: 0;
}

.profile-grid {
  display: grid;
  grid-template-columns: var(--profile-image-size) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: start;
}

.portrait-frame {
  width: var(--profile-image-size);
  height: var(--profile-image-size);
  margin: 0;
  background: var(--forest-950);
  overflow: hidden;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 27%;
  filter: grayscale(1);
}

.portrait-frame-large {
  max-width: var(--profile-image-size);
}

.profile-copy > p,
.editorial-grid > div > p,
.contact-grid > div > p,
.policy-copy p {
  font-size: 1.05rem;
}

.closing {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  background: var(--gold-400);
  color: var(--forest-950);
}

.closing-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3rem;
  align-items: center;
}

.closing h2 {
  max-width: 18ch;
  margin-bottom: 0.75rem;
  font-size: clamp(1.8rem, 3vw, 2.75rem);
}

.closing p {
  margin-bottom: 0;
}

.page-intro {
  padding: clamp(5rem, 9vw, 8rem) 0;
  background: var(--forest-950);
  color: var(--forest-100);
}

.page-intro h1 {
  color: var(--white);
}

.page-intro-inner > p,
.page-intro-profile .profile-copy p {
  max-width: 62ch;
  color: var(--forest-100);
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
}

.page-intro-profile h1 {
  margin-bottom: 1.5rem;
}

.editorial-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: start;
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  counter-increment: process;
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 0.25rem 1rem;
  padding: 1.6rem 0;
  border-top: 1px solid rgba(220, 231, 223, 0.35);
}

.process-list li::before {
  content: counter(process);
  grid-row: 1 / 3;
  color: var(--gold-400);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
}

.process-list strong {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.process-list span {
  display: block;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: start;
}

.contact-actions {
  border-bottom: 1px solid var(--stone-300);
}

.contact-option {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  padding: 1.4rem 1.5rem;
  border-top: 1px solid var(--stone-300);
  color: var(--forest-900);
  text-decoration: none;
  transition: background-color 180ms ease;
}

.contact-option:hover {
  background: var(--stone-100);
}

.contact-option-primary {
  background: var(--forest-900);
  color: var(--white);
}

.contact-option-primary:hover {
  background: var(--forest-800);
}

.contact-option strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.contact-option span {
  color: var(--muted);
}

.contact-option-primary span {
  color: var(--forest-100);
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(190px, 0.42fr) minmax(0, 1.58fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: start;
}

.policy-nav {
  position: sticky;
  top: 2rem;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--stone-300);
}

.policy-nav a {
  min-height: 48px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--stone-300);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.policy-nav a:hover {
  color: var(--forest-900);
}

.policy-copy section {
  padding: 0 0 3rem;
  scroll-margin-top: 2rem;
}

.policy-copy section + section {
  padding-top: 3rem;
  border-top: 1px solid var(--stone-300);
}

.policy-copy h2 {
  max-width: 24ch;
  font-size: clamp(1.65rem, 3vw, 2.4rem);
}

.site-footer {
  padding: 4rem 0 2rem;
  background: var(--forest-950);
  color: var(--forest-100);
}

.site-footer-inner {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: 3rem 5rem;
}

.footer-brand img {
  width: 120px;
  margin-bottom: 1.2rem;
  filter: brightness(0) invert(1);
}

.footer-brand p,
.footer-legal {
  color: var(--forest-100);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  gap: 0.45rem 1.4rem;
}

.footer-links a {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--white);
  font-size: 0.9rem;
}

.footer-legal {
  grid-column: 1 / -1;
  max-width: 92ch;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(220, 231, 223, 0.3);
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: 1fr auto;
    gap: 0.75rem 1rem;
    padding: 0.85rem 0;
  }

  .primary-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    border-top: 1px solid var(--stone-300);
  }

  .hero-grid,
  .section-intro,
  .answer-row,
  .editorial-grid,
  .contact-grid,
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .editorial-grid,
  .contact-grid,
  .policy-layout {
    gap: 3rem;
  }

  .section-intro,
  .answer-row {
    gap: 1.25rem;
  }

  .policy-nav {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  :root {
    --profile-image-size: 80px;
  }

  .shell,
  .header-inner,
  .site-footer-inner {
    width: min(calc(100% - 2rem), var(--max-width));
  }

  .header-action {
    min-height: 44px;
    padding-inline: 0.8rem;
    font-size: 0.78rem;
  }

  .brand-link img {
    width: 104px;
  }

  .primary-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    margin-inline: 0;
    overflow-x: visible;
  }

  .primary-nav a {
    min-width: 0;
    padding-inline: 0.25rem;
    font-size: 0.76rem;
  }

  h1 {
    font-size: clamp(2.6rem, 14vw, 4rem);
  }

  .profile-grid {
    gap: 1.25rem;
  }

  .hero,
  .page-intro {
    padding: 4.5rem 0;
  }

  .section {
    padding: 4rem 0;
  }

  .answer-row {
    padding: 2.25rem 0;
  }

  .action-row,
  .action-row .button {
    width: 100%;
  }

  .action-row .text-link {
    width: auto;
  }

  .closing-inner,
  .site-footer-inner {
    grid-template-columns: 1fr;
  }

  .closing-inner {
    gap: 2rem;
  }

  .closing .button {
    width: 100%;
  }

  .policy-nav {
    grid-template-columns: 1fr;
  }

  .footer-legal {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-copy::before {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .skip-link,
  .button,
  .contact-option {
    transition: none;
  }
}
