@font-face {
  font-family: "Flz Display";
  src: url("../fonts/fraunces-latin-600-normal.woff2?v=20261202-flz") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Flz Display";
  src: url("../fonts/fraunces-latin-700-normal.woff2?v=20261202-flz") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Flz Text";
  src: url("../fonts/atkinson-latin-400-normal.woff2?v=20261202-flz") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Flz Text";
  src: url("../fonts/atkinson-latin-700-normal.woff2?v=20261202-flz") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  overflow-x: clip;
}

body {
  margin: 0;
  background: #f6f1e6;
  color: #1c1915;
  font-family: "Flz Text", "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  overflow-x: clip;
}

img,
canvas,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: #1f6b4a;
  overflow-wrap: anywhere;
}

a:hover {
  color: #174e36;
}

:focus-visible {
  outline: 3px solid #e2a23a;
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  background: #e2a23a;
  color: #1c1915;
  padding: 0.6rem 0.8rem;
  font-weight: 700;
  z-index: 5;
  transform: translateY(-150%);
}

.skip:focus {
  transform: none;
}

.wrap {
  width: min(1080px, calc(100% - 2rem));
  margin-inline: auto;
}

.mast {
  background: #1c1915;
  color: #f6f1e6;
}

.mast-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 1rem;
  padding: 0.75rem 0;
}

.age-mark {
  margin: 0;
  background: #e2a23a;
  color: #1c1915;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.45rem;
}

.mast-name {
  margin-right: auto;
  color: #f6f1e6;
  text-decoration: none;
  font-family: "Flz Display", Georgia, serif;
  font-weight: 700;
  font-size: 1.45rem;
  line-height: 1;
}

.credit-count {
  margin: 0;
}

.credit-count strong {
  color: #e2a23a;
  font-size: 1.2rem;
}

.refill,
.cookie-actions button,
.pause-actions button,
.cookie-settings {
  border: 0;
  font: inherit;
  font-weight: 700;
  min-height: 48px;
  padding: 0.55rem 0.9rem;
  cursor: pointer;
}

.refill {
  background: #e2a23a;
  color: #1c1915;
}

.mast button[data-sound] {
  background: transparent;
  color: #f6f1e6;
  border: 1px solid #e2a23a;
  min-height: 48px;
  padding: 0.4rem 0.7rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.pause-banner {
  margin: 0;
  background: #e2a23a;
  color: #1c1915;
  padding: 0.75rem 1rem;
}

.cookie-bar {
  background: #f6f1e6;
  color: #1c1915;
  border-bottom: 4px solid #e2a23a;
  padding: 0.9rem 0 1rem;
}

.cookie-bar p {
  margin: 0 0 0.7rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

#cookie-accept {
  background: #1f6b4a;
  color: #f6f1e6;
}

#cookie-reject,
.cookie-settings {
  background: #1c1915;
  color: #f6f1e6;
}

.toast {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  margin: 0;
  background: #1c1915;
  color: #f6f1e6;
  padding: 0.85rem 1rem;
  opacity: 0;
  pointer-events: none;
}

.toast.is-on {
  opacity: 1;
}

.opener {
  padding: 1.4rem 0 0.2rem;
  border-top: 8px solid #e2a23a;
}

.opener h1 {
  margin: 0;
  max-width: 14ch;
  font-family: "Flz Display", Georgia, serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 7vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.plate {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(7rem, 11rem);
  gap: 1rem;
  align-items: end;
  margin-top: 1.4rem;
  padding: 1.2rem;
  background: #1f6b4a;
  color: #f6f1e6;
  text-decoration: none;
}

.plate:hover {
  background: #18583d;
  color: #f6f1e6;
}

.plate-kicker,
.plate-facts,
.plate-go {
  display: block;
}

.plate-kicker {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
}

.plate strong {
  display: block;
  margin: 0.25rem 0 0.4rem;
  font-family: "Flz Display", Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 0.98;
  font-weight: 700;
}

.plate-facts {
  max-width: 36ch;
}

.plate-go {
  margin-top: 0.9rem;
  background: #e2a23a;
  color: #1c1915;
  font-weight: 700;
  padding: 0.7rem 0.9rem;
  width: fit-content;
  min-height: 48px;
}

.plate-mark {
  width: 100%;
  max-width: 11rem;
  justify-self: end;
}

.lanes {
  padding: 2rem 0 1rem;
}

.lanes h2,
.method h2,
.prose h1,
.sheet h1 {
  font-family: "Flz Display", Georgia, serif;
  font-weight: 700;
  line-height: 1.02;
}

.lanes h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.lane {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 0.9rem 1.2rem;
  align-items: start;
  padding: 1.2rem 0;
  border-top: 1px solid rgba(28, 25, 21, 0.18);
}

.lane h3 {
  margin: 0;
  font-family: "Flz Display", Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.05;
}

.lane h3 a {
  color: #1c1915;
  text-decoration: none;
}

.lane h3 a:hover {
  text-decoration: underline;
}

.lane p {
  margin: 0.4rem 0 0;
}

.swatch {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  text-decoration: none;
}

.swatch img {
  width: 72%;
}

.swatch-saffron { background: #e2a23a; }
.swatch-pine { background: #1f6b4a; }
.swatch-ink { background: #1c1915; }

.method {
  background: #1c1915;
  color: #f6f1e6;
  padding: 2rem 0 2.2rem;
  margin-top: 1rem;
}

.method h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.method a {
  color: #e2a23a;
}

.method-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.method-list li {
  margin: 0;
  padding-top: 0.7rem;
  border-top: 3px solid #e2a23a;
}

.method-more {
  margin: 1.1rem 0 0;
  font-weight: 700;
}

.frame {
  width: min(1080px, calc(100% - 2rem));
  margin: 1.4rem auto 2.5rem;
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr);
  gap: 1.5rem 2rem;
  align-items: start;
}

.rail-label {
  margin: 0 0 0.3rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rail a {
  display: block;
  padding: 0.62rem 0;
  border-bottom: 1px solid rgba(28, 25, 21, 0.16);
  color: #1c1915;
  text-decoration: none;
}

.rail a[aria-current="page"] {
  color: #1f6b4a;
  font-weight: 700;
  box-shadow: inset 3px 0 0 #e2a23a;
  padding-left: 0.7rem;
}

.prose h1,
.sheet h1 {
  margin: 0 0 0.8rem;
  font-size: clamp(2.1rem, 5vw, 3.5rem);
}

.eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1f6b4a;
}

.prose p,
.sheet > p,
.prose li,
.sheet li {
  max-width: 68ch;
}

.prose h2,
.sheet h2 {
  margin: 1.5rem 0 0.4rem;
  font-family: "Flz Display", Georgia, serif;
  font-size: 1.45rem;
  line-height: 1.15;
}

.summary {
  background: #1c1915;
  color: #f6f1e6;
  padding: 1rem 1.1rem;
  margin: 0 0 1rem;
}

.summary p {
  margin: 0.4rem 0 0;
  max-width: 68ch;
}

.summary p:first-child {
  margin-top: 0;
}

.qa dt {
  font-weight: 700;
  margin-top: 1.1rem;
}

.qa dd {
  margin: 0.25rem 0 0;
}

.key-list,
.mail-list {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0;
}

.key-list li,
.mail-list li {
  padding: 0.75rem 0;
  border-top: 1px solid rgba(28, 25, 21, 0.16);
}

.key-list strong,
.mail-list a {
  font-weight: 700;
}

.pause-actions {
  display: grid;
  gap: 0.5rem;
  max-width: 22rem;
  margin-top: 0.8rem;
}

.pause-actions button {
  background: #1c1915;
  color: #f6f1e6;
}

#pause-clear {
  background: #1f6b4a;
}

.colophon {
  background: #1c1915;
  color: #f6f1e6;
  padding: 2rem 0 2.4rem;
  margin-top: 2rem;
}

.colophon a {
  color: #f6f1e6;
}

.colophon .cookie-settings {
  background: #e2a23a;
  color: #1c1915;
}

.colophon .age-line strong {
  background: #e2a23a;
  color: #1c1915;
  padding: 0.1rem 0.35rem;
}

.foot-links,
.help-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 1.1rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.help-logos a {
  display: block;
  background: transparent;
  line-height: 0;
}

.help-logos img {
  display: block;
  height: 36px;
  width: auto;
  max-width: 180px;
  background: transparent;
}

.updated {
  margin-top: 1.4rem;
  font-size: 0.95rem;
}

@media (max-width: 800px) {
  .frame {
    grid-template-columns: minmax(0, 1fr);
  }

  .method-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .plate {
    grid-template-columns: minmax(0, 1fr);
  }

  .plate-mark {
    justify-self: start;
    width: 6.5rem;
  }

  .plate-go {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .lane {
    grid-template-columns: 5.2rem minmax(0, 1fr);
  }
}
