@import url("assets/fonts/fonts.css");

:root {
  --paper: #f8eed9;
  --ink: #33232d;
  --evergreen: #21423b;
  --ochre: #a27728;
  --mulberry: #5c243f;
  --chartreuse: #a4aa35;
  --rule: rgba(51, 35, 45, 0.24);
  --content: 72rem;
}

* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); }
body { margin: 0; font-family: var(--font-editorial); font-size: 1.125rem; line-height: 1.6; }
a { color: var(--mulberry); text-underline-offset: 0.18em; }
a:hover { color: var(--evergreen); }
img { display: block; max-width: 100%; height: auto; }
.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 10; padding: 0.65rem 0.8rem; background: var(--paper); border: 2px solid var(--ink); }
.site-header { border-bottom: 1px solid var(--rule); }
.header-inner, main, .footer-inner { width: min(var(--content), calc(100% - 2rem)); margin-inline: auto; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1rem 0; }
.brand img { width: min(25rem, 60vw); }
nav ul { display: flex; flex-wrap: wrap; gap: 0.6rem 1.1rem; margin: 0; padding: 0; list-style: none; font-family: var(--font-interface); font-size: 0.92rem; font-weight: 650; }
nav a { color: var(--ink); text-decoration: none; }
main { padding: 2.4rem 0 5rem; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(20rem, 1.45fr); align-items: center; gap: clamp(1.5rem, 4vw, 4rem); margin-bottom: 2.5rem; }
.hero-copy h1 { margin: 0 0 1rem; font-size: clamp(3rem, 7vw, 5.8rem); line-height: 0.96; letter-spacing: -0.035em; }
.hero-copy .summary { margin: 0; font-size: clamp(1.2rem, 2.3vw, 1.55rem); line-height: 1.4; }
.hero-media picture, .hero-media img { width: 100%; }
.hero-media img { border-radius: 0.7rem; border: 1px solid var(--rule); }
.illustration-disclosure { margin: 0.7rem 0 0; font-family: var(--font-interface); font-size: 0.84rem; line-height: 1.45; }
.page-content { max-width: 49rem; margin-inline: auto; }
.page-content h1 { display: none; }
.page-content h2 { margin: 3.3rem 0 0.7rem; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; }
.page-content h3 { margin: 2.2rem 0 0.55rem; font-size: 1.55rem; line-height: 1.15; }
.page-content blockquote { margin: 1.8rem 0; padding: 0.1rem 0 0.1rem 1.2rem; border-left: 0.45rem solid var(--ochre); font-size: 1.22rem; }
.callout, .interpretation-contract, .reviewer-report { margin: 2rem 0; padding: 1.2rem 1.35rem; border: 2px solid var(--ink); border-radius: 0.65rem; background: rgba(255, 255, 255, 0.14); }
.claim-label { display: inline-block; margin: 1.2rem 0 0.4rem; padding: 0.18rem 0.55rem; background: var(--evergreen); color: var(--paper); font-family: var(--font-interface); font-size: 0.83rem; font-weight: 760; letter-spacing: 0.03em; }
.lot-identity { font-family: var(--font-interface); }
.lot-identity th { width: 34%; }
table { width: 100%; margin: 1.3rem 0 2rem; border-collapse: collapse; font-family: var(--font-interface); font-size: 0.96rem; font-variant-numeric: tabular-nums lining-nums; }
caption { margin-bottom: 0.5rem; text-align: left; font-weight: 740; }
th, td { padding: 0.72rem 0.8rem; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
th { color: var(--evergreen); font-weight: 760; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.card { padding: 1.2rem; border: 1px solid var(--rule); border-radius: 0.6rem; }
.card h3 { margin-top: 0; }
.site-footer { border-top: 1px solid var(--rule); font-family: var(--font-interface); font-size: 0.86rem; }
.footer-inner { padding: 2rem 0 3rem; }
.footer-inner ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; padding: 0; list-style: none; }
.agent-note { margin-top: 1.6rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
code { font-size: 0.9em; }

.age-gate {
  width: min(38rem, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: 0.8rem;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 1.5rem 5rem rgba(20, 12, 17, 0.38);
}
.age-gate::backdrop { background: rgba(33, 66, 59, 0.9); }
.age-gate-inner { padding: clamp(1.5rem, 5vw, 3rem); text-align: center; }
.age-gate img { width: min(23rem, 82%); margin: 0 auto 2rem; }
.age-gate-eyebrow { margin: 0 0 0.55rem; color: var(--mulberry); font-family: var(--font-interface); font-size: 0.78rem; font-weight: 780; letter-spacing: 0.13em; text-transform: uppercase; }
.age-gate h2 { margin: 0; font-size: clamp(2.2rem, 7vw, 3.8rem); line-height: 1; letter-spacing: -0.025em; }
.age-gate #age-gate-description { max-width: 30rem; margin: 1.2rem auto 1.6rem; }
.age-gate-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.age-gate button { min-height: 3.4rem; padding: 0.75rem 1rem; border: 2px solid var(--evergreen); border-radius: 0.35rem; font: 730 0.9rem/1.2 var(--font-interface); cursor: pointer; }
.age-gate-confirm { background: var(--evergreen); color: var(--paper); }
.age-gate-confirm:hover { background: var(--mulberry); border-color: var(--mulberry); }
.age-gate-decline { background: transparent; color: var(--evergreen); }
.age-gate-decline:hover { background: rgba(33, 66, 59, 0.1); }
.age-gate-privacy { margin: 1.2rem 0 0; font-family: var(--font-interface); font-size: 0.76rem; line-height: 1.45; }
.age-notice { margin: 0; padding: 0.55rem 1rem; background: var(--evergreen); color: var(--paper); font-family: var(--font-interface); font-size: 0.8rem; text-align: center; }
.age-notice a { color: inherit; font-weight: 760; }

@media (max-width: 760px) {
  .header-inner { align-items: flex-start; flex-direction: column; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: clamp(2.7rem, 13vw, 4.2rem); }
  .cards { grid-template-columns: 1fr; }
  th, td { padding-inline: 0.45rem; }
  .age-gate-actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
