@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-400.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-500.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-600.woff2") format("woff2");
}

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/source-serif-4-latin-500.woff2") format("woff2");
}

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/source-serif-4-latin-600.woff2") format("woff2");
}

:root {
  --paper: #f3efe6;
  --paper-2: #fbf8f2;
  --ink: #1c2430;
  --ink-soft: #44515c;
  --navy: #12263a;
  --navy-2: #1c3c58;
  --night: #0d1b2c;
  --aurora: #3e6b52;
  --aurora-deep: #2a4d3c;
  --line: #e3dcd0;
  --mist: #e7efe8;
  --max: 74rem;
  --header-pad: 0.95rem;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 10rem;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  background:
    linear-gradient(180deg, rgba(62, 107, 82, 0.05), transparent 18rem),
    var(--paper);
}

body:has(.age-ok:not(:checked)) {
  overflow: hidden;
}

::selection {
  background: #d5e6da;
}

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

.hero :focus-visible,
.closing :focus-visible,
.license-band :focus-visible,
.license-strip :focus-visible,
.dash-link:focus-visible {
  outline-color: #d7efe4;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 40;
  background: var(--paper-2);
  color: var(--ink);
  padding: 0.5rem 0.75rem;
}

.skip:focus {
  top: 0.75rem;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background:
    radial-gradient(900px 480px at 50% 20%, rgba(62, 107, 82, 0.22), transparent 60%),
    rgba(13, 27, 44, 0.62);
}

body:has(.age-ok:checked) .age-gate {
  display: none;
}

.age-card {
  width: min(32rem, 100%);
  background: var(--paper-2);
  border-top: 4px solid var(--aurora);
  border-radius: 2px;
  padding: clamp(1.5rem, 3vw, 2.15rem);
  box-shadow: 0 16px 40px rgba(13, 27, 44, 0.18);
}

.age-title {
  margin: 0 0 0.75rem;
  max-width: 18ch;
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.65rem, 3vw, 2.05rem);
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.age-card p:not(.kicker):not(.age-title) {
  margin: 0 0 0.85rem;
  color: var(--ink-soft);
}

.age-note {
  margin: 0.85rem 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

body:has(.age-ok:not(:checked)) .age-gate ~ * {
  visibility: hidden;
}

.age-enter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  margin-top: 0.35rem;
  padding: 0.8rem 1.25rem;
  background: var(--navy);
  color: #f6f3ec;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  border: 2px solid var(--navy);
  border-radius: 2px;
}

.age-enter input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.age-enter:focus-within {
  outline: 2px solid var(--aurora);
  outline-offset: 3px;
}

.wrap {
  width: min(var(--max), 100%);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2rem);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 248, 242, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.site-header::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 68%, var(--aurora) 100%);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--aurora), #d7ebe0);
  pointer-events: none;
}

.header-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  padding-block: var(--header-pad);
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-right: auto;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.logo-mark {
  flex: 0 0 auto;
  width: 5.25rem;
  height: 5.25rem;
  object-fit: cover;
  border-radius: 2px;
}

.wordmark-text {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  min-width: 0;
}

.wordmark-name {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.wordmark-legal {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--aurora-deep);
}

.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.nav-button {
  display: none;
}

.nav-toggle:focus-visible + .nav-button {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

.dash-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 44px;
  padding: 0.4rem 0.8rem;
  background: var(--navy);
  color: #f6f3ec;
  text-decoration: none;
  line-height: 1.15;
  border: 2px solid var(--navy);
  border-radius: 2px;
}

.dash-link:hover {
  background: var(--navy-2);
}

.dash-link[aria-current="page"] {
  box-shadow: inset 0 0 0 2px var(--aurora);
}

.dash-link .badge {
  margin: 0 0 0.15rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #d7efe4;
  letter-spacing: 0.08em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2rem;
  flex: 1 0 100%;
  order: 3;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  line-height: 1.2;
}

.nav a:hover {
  background: rgba(18, 38, 58, 0.06);
}

.nav a[aria-current="page"] {
  color: #f6f3ec;
  background: var(--navy);
  font-weight: 600;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(880px 420px at 100% -10%, rgba(62, 107, 82, 0.32), transparent 58%),
    linear-gradient(180deg, #1a3348 0%, #12263a 52%, #0d1b2c 100%);
  color: #f6f3ec;
  padding: 4.2rem 0 3.2rem;
}

.hero::before {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: 0;
  height: 7.5rem;
  background: radial-gradient(120% 100% at 50% 120%, rgba(62, 107, 82, 0.28), transparent 68%);
  pointer-events: none;
  animation: horizon-drift 22s ease-in-out infinite alternate;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(14rem, 0.78fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.hero-copy {
  max-width: none;
  animation: settle 0.7s ease both;
}

.hero-figure {
  margin: 0;
  animation: settle 0.85s ease 0.08s both;
}

.page-title {
  animation: settle 0.6s ease both;
}

.hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
  border: 1px solid rgba(197, 221, 208, 0.35);
  box-shadow: 0 18px 40px rgba(8, 16, 28, 0.28);
  object-fit: cover;
}

.kicker,
.eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--aurora-deep);
}

.hero .kicker {
  color: #c5ddd0;
}

h1,
h2,
h3 {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
  text-wrap: balance;
  margin: 0 0 0.8rem;
}

h1 {
  font-size: clamp(2.35rem, 5.4vw, 3.85rem);
  max-width: 18ch;
}

.hero h1 {
  max-width: 22ch;
  margin-bottom: 1rem;
  color: #f7f4ee;
}

.page-title {
  padding-top: 3.25rem;
}

.page-title h1 {
  max-width: 18ch;
  font-size: clamp(2.15rem, 4.5vw, 3.35rem);
}

.lede {
  margin: 0;
  max-width: 40rem;
  font-size: 1.28rem;
  line-height: 1.5;
}

.hero .lede {
  color: #f3f0e8;
}

.subhead,
.section-lead {
  margin: 1rem 0 0;
  max-width: 42rem;
  color: var(--ink-soft);
}

.section-lead + .section-lead {
  margin-top: 0.85rem;
}

.hero .subhead {
  color: #ddd6cb;
}

.section-lead a,
.prose a,
.tertiary a,
.text-link {
  color: var(--navy-2);
  font-weight: 600;
  text-underline-offset: 0.18em;
}

.hero .tertiary a,
.closing a {
  color: #d7efe4;
}

.tertiary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  margin: 1.15rem 0 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  align-items: flex-start;
  margin-top: 1.6rem;
}

.action-sample {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  max-width: 18rem;
}

.action-sample .fine {
  margin: 0;
}

main {
  padding-bottom: 0;
}

main:not(:has(.section)):not(:has(.closing)) {
  padding-bottom: 4.5rem;
}

.license-band {
  background: var(--night);
  color: #f6f3ec;
  border-top: 3px solid var(--aurora);
}

.license-band a,
.license-strip a {
  color: #f6f3ec;
}

.license-band-row,
.license-strip-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding-block: 1.05rem;
}

.license-band-row li,
.license-strip-row li {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  margin: 0;
  padding: 0.8rem 0.85rem;
  border: 1px solid rgba(197, 221, 208, 0.22);
  background: rgba(255, 255, 255, 0.03);
  line-height: 1.35;
}

.k {
  color: var(--aurora-deep);
  margin: 0;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.license-band .k,
.license-strip .k {
  color: #c5ddd0;
}

.license-strip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.5rem;
  padding-block: 0.95rem;
}

.license-strip-row li {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  line-height: 1.45;
}

.license-strip .k {
  display: inline;
  margin-right: 0.35rem;
}

.section {
  padding-block: 4.75rem;
}

.band {
  background: var(--paper-2);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 40rem;
}

.cards,
.steps {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.card,
.steps li {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-top: 3px solid var(--aurora);
  border-radius: 2px;
  padding: 1.25rem 1.15rem 1.4rem;
}

.card:has(img) {
  padding: 0 0 0.35rem;
  overflow: hidden;
}

.card,
.button,
.button-secondary,
.dash-link,
.age-enter,
.nav a,
.license-band-row li,
.frame img {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(18, 38, 58, 0.08);
}

.card img {
  transition: transform 0.45s ease;
}

.card:hover img {
  transform: scale(1.035);
}

.button:hover,
.button-secondary:hover,
.dash-link:hover,
.age-enter:hover {
  transform: translateY(-1px);
}

.license-band-row li:hover {
  border-color: rgba(197, 221, 208, 0.55);
  background: rgba(255, 255, 255, 0.06);
}

.frame:hover img {
  box-shadow: 0 12px 28px rgba(18, 38, 58, 0.12);
}

img {
  max-width: 100%;
  height: auto;
}

.card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.cap-details {
  margin: 0 1.15rem 0.4rem;
}

.cap-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  cursor: pointer;
  list-style: none;
  min-height: 44px;
}

.cap-details summary::-webkit-details-marker {
  display: none;
}

.cap-details summary::marker {
  content: "";
}

.cap-details summary::after {
  content: "";
  flex: 0 0 auto;
  width: 0.5rem;
  height: 0.5rem;
  margin-right: 0.15rem;
  border-right: 2px solid var(--aurora-deep);
  border-bottom: 2px solid var(--aurora-deep);
  transform: translateY(-0.1rem) rotate(45deg);
  transition: transform 0.2s ease;
}

.cap-details[open] summary::after {
  transform: translateY(0.15rem) rotate(225deg);
}

.cap-details summary:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

.cap-details summary h3 {
  margin: 0.85rem 0 0.35rem;
}

.cap-details p {
  margin: 0 0 0.85rem;
}

.card:has(img) h3,
.card:has(img) p {
  margin-left: 1.15rem;
  margin-right: 1.15rem;
}

.card:has(img) .cap-details h3,
.card:has(img) .cap-details p {
  margin-left: 0;
  margin-right: 0;
}

.card:has(img) h3 {
  margin-top: 1rem;
}

.card:has(img) p {
  margin-bottom: 1.05rem;
}

.band .card {
  background: var(--paper);
}

.card h3,
.steps h3 {
  font-size: 1.28rem;
  margin-bottom: 0.5rem;
}

.card p,
.steps p {
  margin: 0;
  color: var(--ink-soft);
}

.step-num {
  display: block;
  margin-bottom: 0.85rem;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  color: var(--aurora-deep);
}

.prose h2,
.sample h2,
.section h2 {
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  max-width: 28ch;
}

.prose p,
.prose ul,
.sample p {
  margin: 0 0 1rem;
}

.prose ul {
  padding-left: 1.15rem;
}

.plain-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: grid;
  gap: 0.65rem;
}

.plain-list li {
  margin: 0;
  padding: 0.95rem 1.05rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--aurora);
  border-radius: 2px;
}

.band .plain-list li {
  background: var(--paper);
}

.plain-list strong {
  font-weight: 600;
}

.sample {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-left: 4px solid var(--aurora);
  border-radius: 2px;
  padding: clamp(1.4rem, 3vw, 2.15rem);
}

.sample h2 {
  max-width: 22ch;
}

.badge {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.22rem 0.5rem;
  border: 1px solid #c5ddd0;
  background: var(--mist);
  color: var(--aurora-deep);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.3;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  margin: 0;
  padding: 0.8rem 1.15rem;
  text-decoration: none;
  font-weight: 600;
  line-height: 1.2;
  border: 2px solid transparent;
  border-radius: 2px;
}

.button {
  background: #f6f3ec;
  color: var(--navy);
  border-color: #f6f3ec;
}

.hero .button {
  background: #f6f3ec;
  color: var(--navy);
}

.button-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.hero .button-secondary {
  color: #f6f3ec;
  border-color: rgba(246, 243, 236, 0.75);
}

.button:hover,
.hero .button:hover {
  background: #ffffff;
}

.button-secondary:hover {
  background: var(--mist);
}

.hero .button-secondary:hover {
  background: rgba(246, 243, 236, 0.08);
}

.page-actions {
  margin-top: 1.15rem;
}

.page-actions .button {
  background: var(--navy);
  color: #f6f3ec;
  border-color: var(--navy);
}

.page-actions .button:hover {
  background: var(--navy-2);
}

.page-actions .button-secondary {
  background: var(--paper-2);
  color: var(--navy);
  border-color: var(--navy);
}

.fine {
  color: var(--ink-soft);
  font-size: 0.95rem;
  max-width: 42rem;
}

.hero .fine {
  color: #d5ddd4;
}

.frame {
  margin: 1.35rem 0 0;
}

.frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
  border: 1px solid var(--line);
  object-fit: cover;
}

.frame figcaption {
  margin-top: 0.55rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.45;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.25rem 2rem;
  align-items: center;
}

.split .frame {
  margin: 0;
}

.address-block {
  margin-top: 1.1rem;
  padding: 1.2rem 1.25rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--navy);
  border-radius: 2px;
  font-style: normal;
  font-size: 1.15rem;
  line-height: 1.45;
}

.band .address-block {
  background: var(--paper);
}

.callout {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--navy);
  border-radius: 2px;
  padding: 1rem 1.15rem;
  margin: 0 0 1.4rem;
  max-width: 42rem;
}

.defs {
  margin: 0.5rem 0 0;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0.2rem 1.15rem;
}

.defs div {
  display: grid;
  grid-template-columns: minmax(8rem, 12rem) minmax(0, 1fr);
  gap: 0.75rem 1.25rem;
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
}

.defs div:first-child {
  border-top: none;
}

.defs dt {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--aurora-deep);
}

.defs dd {
  margin: 0;
}

.info-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 1rem;
  align-items: stretch;
}

.info-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-top: 3px solid var(--aurora);
  border-radius: 2px;
  padding: 1.25rem 1.15rem 1.35rem;
}

.info-card h2 {
  font-size: 1.35rem;
  max-width: none;
}

.contact-email {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: break-word;
  margin: 0.2rem 0 0.7rem;
}

.nowrap {
  white-space: nowrap;
}

.contact-email a,
.also-mail a {
  color: var(--ink);
  text-underline-offset: 0.16em;
}

.also-mail {
  list-style: none;
  padding: 0;
  margin: 0.35rem 0 0;
}

.also-mail li + li {
  margin-top: 0.35rem;
}

address {
  font-style: normal;
}

.inquiry fieldset {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--paper-2);
  padding: 1rem 1.1rem 1.2rem;
}

.inquiry legend {
  padding: 0 0.35rem;
  font-weight: 600;
}

.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1rem;
}

.fields label,
.check {
  display: grid;
  gap: 0.3rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.fields .wide,
.check {
  grid-column: 1 / -1;
}

.fields input,
.fields textarea {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid #cfc6b8;
  border-radius: 2px;
  background: #f3f0e8;
  color: var(--ink-soft);
  font: inherit;
  font-weight: 400;
}

.fields textarea {
  min-height: 7rem;
  resize: vertical;
}

.check {
  grid-template-columns: auto 1fr;
  align-items: start;
  font-weight: 500;
}

.inquiry button {
  grid-column: 1 / -1;
  justify-self: start;
  min-height: 3rem;
  padding: 0.7rem 1rem;
  border: 2px solid #cfc6b8;
  border-radius: 2px;
  background: #ece7de;
  color: var(--ink-soft);
  font: inherit;
  font-weight: 600;
}

.closing {
  background:
    radial-gradient(700px 280px at 100% 0%, rgba(62, 107, 82, 0.28), transparent 60%),
    var(--navy);
  color: #f6f3ec;
  padding: 4.25rem 0;
}

.closing .kicker {
  color: #c5ddd0;
}

.closing h2 {
  max-width: 20ch;
  color: #f7f4ee;
  font-size: clamp(2rem, 4vw, 2.85rem);
}

.closing p {
  max-width: 38rem;
  color: #e4ddd2;
}

.closing .contact-email a {
  color: #f7f4ee;
}

.closing .button-secondary {
  color: #f6f3ec;
  border-color: rgba(246, 243, 236, 0.75);
  background: transparent;
}

.closing .button-secondary:hover {
  background: rgba(246, 243, 236, 0.08);
}

.site-footer {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.9fr 1.15fr;
  gap: 1.75rem 2rem;
}

.footer-name {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 600;
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}

.site-footer p {
  margin: 0 0 0.75rem;
}

.site-footer a {
  color: var(--navy-2);
  overflow-wrap: anywhere;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  list-style: none;
  padding: 0.25rem 0 0;
  margin: 0;
}

.footer-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}

.footer-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.warn-wrap {
  width: min(var(--max), 100%);
  margin: 1.5rem auto 0;
  padding-inline: clamp(1.25rem, 4vw, 2rem);
}

.warn-label {
  margin: 0 0 0.45rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.warn-box {
  margin: 0;
  padding: 0.9rem 1rem;
  background: #ffff00;
  color: #000;
  border: 2px solid #111;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.45;
}

.warn-box p {
  margin: 0 0 0.55rem;
}

.warn-box p:last-child {
  margin-bottom: 0;
}

.hopeline {
  margin: 0.75rem 0 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #000;
}

.license-strip {
  background: var(--night);
  color: #f6f3ec;
  margin-top: 1.5rem;
}

.license-strip p,
.license-strip li {
  margin: 0;
  font-size: 0.95rem;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1.35rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.footer-base p {
  margin: 0;
}

.partner-line {
  font-weight: 600;
  color: var(--ink);
}

@media (max-width: 1100px) {
  .cards,
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .hero-layout,
  .split,
  .footer-grid,
  .info-grid,
  .defs div,
  .fields {
    grid-template-columns: 1fr;
  }

  .hero-figure img {
    aspect-ratio: 16 / 9;
    max-height: 18rem;
  }

  h1,
  .hero h1 {
    max-width: none;
  }

  .hero {
    padding-top: 2.8rem;
  }

  .license-band-row,
  .license-strip-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .header-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand menu"
      "dash dash"
      "nav nav";
    align-items: center;
    column-gap: 0.65rem;
    row-gap: 0.55rem;
    padding-block: 0.7rem 0.75rem;
  }

  .wordmark {
    grid-area: brand;
    margin-right: 0;
  }

  .wordmark-name {
    font-size: 0.98rem;
  }

  .logo-mark {
    width: 4rem;
    height: 4rem;
  }

  .nav-button {
    grid-area: menu;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 4.75rem;
    min-height: 44px;
    padding: 0.45rem 0.85rem;
    border: 2px solid var(--navy);
    border-radius: 2px;
    background: var(--paper-2);
    color: var(--navy);
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
  }

  .nav-button-close {
    display: none;
  }

  .nav-toggle:checked + .nav-button .nav-button-open {
    display: none;
  }

  .nav-toggle:checked + .nav-button .nav-button-close {
    display: inline;
  }

  .dash-link {
    grid-area: dash;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0.7rem;
    width: 100%;
    max-width: none;
    padding: 0.55rem 0.8rem;
  }

  .dash-link .badge {
    margin: 0;
  }

  .nav {
    display: none;
    grid-area: nav;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    margin: 0;
    padding-top: 0.35rem;
    border-top: 1px solid var(--line);
  }

  .nav-toggle:checked ~ .nav {
    display: flex;
  }

  .nav a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 44px;
    padding: 0.65rem 0.75rem;
    border-radius: 0.35rem;
    font-size: 1.05rem;
  }

  .button,
  .button-secondary,
  .actions .button,
  .actions .button-secondary,
  .age-enter,
  .action-sample {
    width: 100%;
    max-width: none;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cards,
  .steps,
  .license-band-row,
  .license-strip-row {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    flex-direction: column;
    gap: 0;
  }

  .footer-nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }

  .page-title {
    padding-top: 2.15rem;
  }

  .lede {
    font-size: 1.15rem;
  }

  .section {
    padding-block: 3.4rem;
  }
}

@media (max-width: 420px) {
  .wordmark {
    gap: 0.55rem;
  }

  .wordmark-name {
    font-size: 0.92rem;
  }

  .logo-mark {
    width: 3.5rem;
    height: 3.5rem;
  }

  .dash-link {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.2rem;
  }
}

@keyframes horizon-drift {
  from {
    transform: translate3d(-1.5%, 0, 0);
  }

  to {
    transform: translate3d(1.5%, 0, 0);
  }
}

@keyframes settle {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes scroll-accent {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@supports (animation-timeline: scroll()) {
  .site-header::after {
    animation-name: scroll-accent;
    animation-timing-function: linear;
    animation-fill-mode: both;
    animation-duration: auto;
    animation-timeline: scroll(root);
  }
}

@supports (animation-timeline: view()) {
  main > .section,
  main > .band,
  .closing {
    animation-name: reveal-up;
    animation-timing-function: linear;
    animation-fill-mode: both;
    animation-duration: auto;
    animation-timeline: view();
    animation-range: entry 0% entry 65%;
  }
}

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

  .hero::before,
  .hero-copy,
  .hero-figure,
  .page-title,
  .cap-details summary::after,
  main > .section,
  main > .band,
  .closing,
  .site-header::after,
  .card,
  .card img,
  .button,
  .button-secondary,
  .dash-link,
  .age-enter,
  .nav a,
  .license-band-row li,
  .frame img {
    animation: none;
    transition: none;
  }
}

@media print {
  .age-gate,
  .nav,
  .nav-button,
  .nav-toggle,
  .skip,
  .dash-link,
  .site-header::before,
  .site-header::after,
  .hero::before {
    display: none;
  }

  body:has(.age-ok:not(:checked)) .age-gate ~ * {
    visibility: visible;
  }

  .site-header {
    position: static;
  }

  body,
  body:has(.age-ok:not(:checked)) {
    overflow: visible;
    background: #fff;
    color: #000;
  }

  .hero,
  .closing,
  .license-band,
  .license-strip,
  .band {
    background: #fff;
    color: #000;
    border-bottom: 1px solid #000;
  }

  .hero h1,
  .hero .lede,
  .hero .subhead,
  .hero .kicker,
  .hero .fine,
  .closing,
  .closing h2,
  .closing p,
  .closing .kicker,
  .license-band,
  .license-strip,
  .license-band .k,
  .license-strip .k {
    color: #000;
  }

  a[href^="http"]::after,
  a[href^="mailto:"]::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
  }
}
