/* THE INFORMER
   Layout: editorial, on pure black. Text left, the gold figure right.
   Sections are separated by space, not rules; gold is kept for the figure,
   the one button per section and a few small details. Single dark look. */
@import url("fonts.css");

:root {
  color-scheme: dark;

  /* colour */
  --black: #000;
  --text: #ece5d6;
  --muted: #a39b89;
  --gold: #d8b25e;
  --gold-hi: #f5e6ae;
  --line: rgba(236, 229, 214, 0.12);

  /* type: Inter for everything (it has Greek), Noto Serif Display Light only on large titles */
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --serif: "Noto Serif Display", "GFS Didot", Didot, "Times New Roman", serif;
  --t-small: 0.875rem;
  --t-body: 1.0625rem;
  --t-lead: 1.2rem;
  --t-h3: 1.375rem;
  --t-h2: 2.125rem;
  --t-h1: clamp(3rem, 8.4vw, 7rem);

  /* spacing scale */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4.5rem;
  --s-9: 7rem;
  --s-10: 10rem;
  --gutter: max(24px, env(safe-area-inset-left, 0px));
  --gutter-r: max(24px, env(safe-area-inset-right, 0px));
  --bar: 4rem;

  /* shape: square, flat */
  --radius: 0;

  /* motion */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --d-press: 140ms;
  --d-hover: 180ms;
  --d-enter: 280ms;
  --d-reveal: 320ms;
  --d-hero: 700ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bar) + 1rem); -webkit-tap-highlight-color: transparent; }
body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }
a { color: var(--gold); text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 4px; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { text-wrap: balance; font-weight: 400; }
p { text-wrap: pretty; }
button { font: inherit; color: inherit; }
a, button { touch-action: manipulation; }
button, .cta, .age, .row { -webkit-user-select: none; user-select: none; }

.wrap {
  width: 100%;
  max-width: 30rem;
  margin-inline: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
}
.skip {
  position: absolute; left: var(--s-4); top: -4rem; z-index: 100;
  background: var(--gold); color: #000; padding: var(--s-3) var(--s-4); font-weight: 600; text-decoration: none;
}
.skip:focus { top: var(--s-2); color: #000; }

/* ---------- Top bar: 21+ left, logo mark right ---------- */
.bar { position: sticky; top: 0; z-index: 50; background: #000; }
.bar__in { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: var(--bar); }
.bar__name {
  display: inline-flex; align-items: center; min-width: 0; min-height: 2.75rem;
  font-size: 1.0625rem; font-weight: 600; color: var(--text); text-decoration: none; white-space: nowrap;
}
.bar__logo { display: block; flex-shrink: 0; transition: opacity var(--d-press) var(--ease-out); }
.bar__logo:active { opacity: 0.6; }
.bar__logo img { height: 2.75rem; width: auto; background: #000; }
.age {
  display: inline-flex; align-items: center; gap: 0.5em; flex-shrink: 0;
  border: 1px solid var(--gold); color: var(--gold-hi);
  padding: 0.3rem 0.7rem; font-size: 0.8125rem; font-weight: 600;
  text-decoration: none; white-space: nowrap; line-height: 1.3;
  transition: background-color var(--d-hover) var(--ease-out), color var(--d-hover) var(--ease-out), transform var(--d-press) var(--ease-out);
}
.age b { font-weight: 600; }
.age i { font-style: normal; opacity: 0.5; }
.age:active { transform: scale(0.97); background: var(--gold); color: #000; }

/* ---------- Hero: one 9:16 screen. Figure on top, copy at the bottom ---------- */
.hero {
  position: relative; overflow: hidden; background: #000;
  display: grid; align-content: end;
  min-height: calc(100svh - var(--bar)); padding-block: 19svh var(--s-5);
}
.figure { position: absolute; inset: 0 0 auto 0; height: 60%; display: grid; justify-items: center; overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 48%, transparent 96%);
  mask-image: linear-gradient(to bottom, #000 48%, transparent 96%);
}
.figure img { width: min(112%, 31rem); max-width: none; height: auto; background: #000; }
.hero__copy { position: relative; z-index: 1; display: grid; gap: var(--s-3); justify-items: start; }
/* keeps the text readable where it overlaps the figure */
.hero__copy::before { content: ""; position: absolute; inset: -4rem -100vw 0; z-index: -1; background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.82) 7rem, #000 12rem); }

.kicker { font-size: var(--t-small); color: var(--muted); }
/* the title is the brush-script signature from the logo; edges feathered into the black.
   The logo file has a dark grey wall behind it, not black: a small contrast lift drops that wall to pure black */
.sign { width: min(74%, 15.5rem); margin: 0 0 calc(var(--s-4) * -1) -0.3rem; line-height: 0; }
.sign img {
  width: 100%; background: #000; filter: contrast(1.3) brightness(0.88);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 3%, #000 94%, transparent 100%), linear-gradient(to bottom, transparent 4%, #000 24%, #000 80%, transparent 98%);
  mask-image: linear-gradient(to right, transparent 0, #000 3%, #000 94%, transparent 100%), linear-gradient(to bottom, transparent 4%, #000 24%, #000 80%, transparent 98%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.lede { font-size: 1rem; line-height: 1.55; color: var(--text); }
.hero__action { display: grid; gap: var(--s-4); justify-items: start; width: 100%; }
.note { font-size: var(--t-small); color: var(--muted); }

/* ---------- Button: a raised gold key. Pressing it pushes it down onto its edge ---------- */
.cta {
  --edge: 5px;
  position: relative; display: grid; gap: 0.1rem; justify-items: center; text-align: center;
  width: 100%; min-height: 3.75rem; padding: 0.8rem var(--s-5);
  margin-bottom: var(--edge);
  background: linear-gradient(180deg, #f6e7ae 0%, #e2c273 38%, #cfa650 62%, #b98f3e 100%);
  color: #171003; text-decoration: none; border-radius: 3px;
  border: 1px solid #f8ecc0; border-bottom-color: #a98035;
  box-shadow: 0 var(--edge) 0 #7d5d22, 0 calc(var(--edge) + 1px) 0 #4a3612, 0 calc(var(--edge) + 10px) 18px rgba(216, 178, 94, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.65), inset 0 -2px 0 rgba(120, 86, 28, 0.35);
  text-shadow: 0 1px 0 rgba(255, 244, 205, 0.6);
  transition: transform var(--d-press) var(--ease-out), box-shadow var(--d-press) var(--ease-out), filter var(--d-hover) var(--ease-out);
}
.cta:active {
  transform: translateY(calc(var(--edge) - 1px));
  box-shadow: 0 1px 0 #7d5d22, 0 2px 0 #4a3612, 0 4px 8px rgba(216, 178, 94, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -1px 0 rgba(120, 86, 28, 0.35);
}
.cta:focus-visible { outline-offset: 6px; }
.cta__main { font-weight: 700; font-size: 1.125rem; line-height: 1.3; }
.cta__sub { font-size: var(--t-small); font-weight: 500; opacity: 0.85; }

/* ---------- Sections: separated by space ---------- */
.sec { padding-block: var(--s-8); }
.sec__in { display: grid; gap: var(--s-6); }
.sec__head { display: grid; gap: var(--s-3); align-content: start; }
.sec__title { font-family: var(--serif); font-weight: 300; font-size: var(--t-h2); line-height: 1.1; color: var(--text); }
.sec__body { display: grid; gap: var(--s-5); min-width: 0; }
.sec__body p { overflow-wrap: break-word; }
.sec__body p.soft { color: var(--muted); }
.sub { font-size: var(--t-h3); font-weight: 600; line-height: 1.3; margin-top: var(--s-5); }
.statement { font-family: var(--serif); font-weight: 300; font-size: 1.5rem; line-height: 1.3; text-wrap: balance; }

/* ---------- Link rows ---------- */
.rows { border-top: 1px solid var(--line); }
.rows li { border-bottom: 1px solid var(--line); }
.row {
  display: grid; grid-template-columns: 1.5rem minmax(0, 1fr) auto; align-items: center; gap: 0 var(--s-4);
  padding: var(--s-4) 0; min-height: 4.25rem; color: var(--text); text-decoration: none;
  transition: color var(--d-hover) var(--ease-out), opacity var(--d-press) var(--ease-out);
}
.row:active { opacity: 0.6; }
.row:focus-visible { color: var(--gold-hi); }
.row__icon { grid-column: 1; grid-row: 1 / span 2; width: 1.4rem; height: 1.4rem; fill: var(--gold); }
.row__icon--line { fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.row__name { grid-column: 2; font-size: 1.125rem; font-weight: 500; line-height: 1.3; overflow-wrap: anywhere; }
.row__meta { grid-column: 2; color: var(--muted); font-size: var(--t-small); overflow-wrap: anywhere; }
.row__go { grid-column: 3; grid-row: 1 / span 2; color: var(--gold); font-size: 1.25rem; }
.row--primary .row__name { font-weight: 600; color: var(--gold-hi); }

/* ---------- Plain lists ---------- */
.list { display: grid; gap: var(--s-3); max-width: 36rem; }
.list li { display: grid; grid-template-columns: 1.25rem minmax(0, 1fr); align-items: baseline; }
.list li::before { content: "–"; color: var(--gold); }

/* ---------- 21+ ---------- */
.rg__badge { font-family: var(--serif); font-weight: 300; font-size: var(--t-h2); line-height: 1.1; color: var(--gold-hi); }
.rg__badge i { font-style: normal; opacity: 0.45; margin-inline: 0.12em; }
.rg__help { display: grid; gap: var(--s-2); overflow-wrap: anywhere; max-width: 36rem; }
.ph { background: rgba(216, 178, 94, 0.14); color: var(--gold-hi); padding: 0.05em 0.35em; outline: 1px dashed rgba(216, 178, 94, 0.5); font-style: normal; overflow-wrap: anywhere; }

/* ---------- Closing ---------- */
.close { padding-block: 0 var(--s-8); background: #000; }
.close__in { display: grid; gap: var(--s-6); justify-items: center; text-align: center; }
.lockup {
  width: min(100%, 26rem); background: #000;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 95%, transparent 100%), linear-gradient(to bottom, transparent 2%, #000 22%, #000 80%, transparent 98%);
  mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 95%, transparent 100%), linear-gradient(to bottom, transparent 2%, #000 22%, #000 80%, transparent 98%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); padding-block: var(--s-7); font-size: var(--t-small); color: var(--muted); }
.foot__in { display: grid; gap: var(--s-5); }
.foot__nav { display: flex; flex-wrap: wrap; gap: 0 var(--s-5); }
.foot__nav a, .foot__nav button {
  color: var(--text); text-decoration: none; background: none; border: 0; cursor: pointer; font-size: 0.9375rem;
  min-height: 2.75rem; padding: var(--s-2) 0; display: inline-flex; align-items: center;
  transition: color var(--d-hover) var(--ease-out), opacity var(--d-press) var(--ease-out);
}
.foot__nav a:active, .foot__nav button:active { opacity: 0.6; }
.foot p { max-width: 46rem; overflow-wrap: anywhere; }
.foot__age { color: var(--gold-hi); font-weight: 600; }

/* ---------- Consent banner ---------- */
.consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: #0b0a08; border-top: 1px solid var(--line);
  padding: var(--s-4) var(--gutter-r) calc(var(--s-4) + env(safe-area-inset-bottom, 0px)) var(--gutter);
}
.consent__in { max-width: 60rem; margin-inline: auto; display: grid; gap: var(--s-3); }
.consent__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.consent__text { font-size: 0.8125rem; color: var(--text); line-height: 1.5; }
.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
/* Both choices share one style on purpose: equal prominence */
.consent__btn {
  min-height: 2.75rem; padding: var(--s-2) var(--s-4); cursor: pointer; font-weight: 600; font-size: 0.9375rem;
  background: transparent; color: var(--text); border: 1px solid var(--text); border-radius: var(--radius);
  transition: transform var(--d-press) var(--ease-out), background-color var(--d-hover) var(--ease-out), color var(--d-hover) var(--ease-out);
}
.consent__btn:active { transform: scale(0.97); background: var(--text); color: #000; }
.has-consent body { padding-bottom: 9rem; }

/* ---------- Legal documents ---------- */
.doc { padding-block: clamp(var(--s-6), 6vw, var(--s-8)) clamp(var(--s-8), 10vw, var(--s-9)); }
.doc__in { max-width: 44rem; display: grid; gap: var(--s-5); }
.doc h1 { font-family: var(--serif); font-weight: 300; font-size: var(--t-h2); line-height: 1.1; overflow-wrap: anywhere; }
.doc h2 { font-size: var(--t-h3); font-weight: 600; margin-top: var(--s-5); line-height: 1.3; }
.doc p, .doc li { overflow-wrap: break-word; }
.doc ul { display: grid; gap: var(--s-2); padding-left: 1.2rem; list-style: square; }
.doc ul li::marker { color: var(--gold); }
.doc dl { display: grid; border-top: 1px solid var(--line); }
.doc dl > div { display: grid; gap: 0.15rem; padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.doc dt { font-size: var(--t-small); color: var(--muted); }
.doc dd { overflow-wrap: anywhere; }
.draft { border: 1px dashed rgba(216, 178, 94, 0.6); padding: var(--s-4) var(--s-5); color: var(--gold-hi); font-size: 0.9375rem; }
.back { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: var(--t-small); text-decoration: none; transition: opacity var(--d-press) var(--ease-out); }
.back:active { opacity: 0.6; }
.tablewrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; min-width: 34rem; font-size: 0.9375rem; }
th, td { text-align: left; vertical-align: top; padding: var(--s-3) var(--s-4) var(--s-3) 0; border-bottom: 1px solid var(--line); }
th { font-size: var(--t-small); color: var(--muted); font-weight: 400; }

/* ---------- Hover: real pointers only ---------- */
@media (hover: hover) and (pointer: fine) {
  a:hover { color: var(--gold-hi); }
  .bar__name:hover { color: var(--text); }
  .bar__logo:hover { opacity: 0.85; }
  .age:hover { background: var(--gold); color: #000; }
  .cta:hover { color: #171003; filter: brightness(1.06); }
  .row:hover { color: var(--gold-hi); }
  .foot__nav a:hover, .foot__nav button:hover { color: var(--gold-hi); }
  .consent__btn:hover { background: var(--text); color: #000; }
  .back:hover { opacity: 0.8; }
}

/* ---------- Narrow phones ---------- */
@media (max-width: 23.5rem) {
  :root { --gutter: max(20px, env(safe-area-inset-left, 0px)); --gutter-r: max(20px, env(safe-area-inset-right, 0px)); }
  .bar__name { font-size: 0.9375rem; gap: var(--s-2); }
  .age { padding: 0.25rem 0.5rem; font-size: 0.75rem; }
}

/* ---------- Wider than a phone: the page stays one phone-width column ---------- */
@media (min-width: 46rem) {
  /* consent becomes a small box in the corner instead of a full-width bar */
  .consent { left: auto; right: var(--s-5); bottom: var(--s-5); width: 24rem; border: 1px solid var(--line); padding: var(--s-5); }
  .has-consent body { padding-bottom: 0; }
  .hero { min-height: min(calc(100svh - var(--bar)), 54rem); padding-top: 22rem; }
}
/* ---------- Reduced motion: no movement, quick fades only ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .age:active, .cta:active, .consent__btn:active { transform: none; }
}
