/* ==========================================================================
   T.A.P. — Tag. Ask. Post.
   Identity: "Tagged."  Findings are tags — punched, notched, hung on a
   string — attached to the parts of your post they're about. Privacy is
   a redaction bar. Type is one variable grotesk used like safety
   signage: condensed and heavy to shout, expanded to label, normal to
   read. White, black, and one signal colour: TAP mint.
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --white: #FFFFFF;
  --page: #FFFFFF;
  --mist: #F1F2EF;
  --mist-2: #E6E8E4;
  --ink: #0A0A0A;
  --ink-2: #34373A;
  --ink-3: #62666A;
  --rule: #D9DBD7;

  --mint: #3CE8B2;
  --mint-soft: #C6F8E7;
  --teal: #006E5D;            /* mint's text-safe partner on white */

  /* Category tags: fill / text on fill / text on white */
  --people: #3CE8B2;  --people-on: #0A0A0A;  --people-ink: #006E5D;
  --facts: #6E8BFF;   --facts-on: #0A0A0A;   --facts-ink: #2944C8;
  --privacy: #0A0A0A; --privacy-on: #FFFFFF; --privacy-ink: #0A0A0A;
  --context: #FFD43B; --context-on: #0A0A0A; --context-ink: #7A5A00;
  --media: #FFA3C0;   --media-on: #0A0A0A;   --media-ink: #A8325C;

  --ok: #006E5D;
  --warn: #7A5A00;
  --alert: #C8321E;

  --font: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  /* Legacy aliases used by admin/check styles */
  --sans: var(--font); --serif: var(--font); --mono: var(--font);

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1280px;
  --header-h: 68px;
  --line: 2px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --swing: cubic-bezier(.3, 1.6, .5, 1);
  --r-1: 0; --r-2: 0; --r-3: 0;

  /* Aliases for admin / installer styles */
  --paper: #FFFFFF; --paper-2: var(--mist); --desk: var(--mist); --desk-line: var(--rule);
  --rule-2: var(--ink); --ink-4: #8A8D92; --teal-ink: var(--teal); --mint-wash: var(--mint-soft);
  --c-people: var(--people-ink); --c-facts: var(--facts-ink); --c-privacy: var(--ink); --c-context: var(--context-ink); --c-media: var(--media-ink);
  --w-people: var(--mint-soft); --w-facts: #E2E8FF; --w-privacy: #FFE6E1; --w-context: #FFF6D1; --w-media: #FFE1EA;
  --shadow-sheet: none; --shadow-lift: 8px 8px 0 var(--ink);
  color-scheme: light;
}

/* -------------------------------------------------------------- Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--page); color: var(--ink);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.55; font-weight: 400; font-stretch: 100%;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
main { flex: 1 0 auto; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: .2em; }
a:hover { text-decoration-color: var(--teal); text-decoration-thickness: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 6px var(--mint); }
::selection { background: var(--mint); color: var(--ink); }
hr { border: 0; border-top: var(--line) solid var(--ink); margin: 2.5rem 0; }
[hidden] { display: none !important; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: var(--white); padding: 12px 16px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 820px; }
.wrap--text { max-width: 700px; }

/* -------------------------------------------------------------- Type */
h1, h2, h3, h4 { margin: 0; font-weight: 700; }
.display, .h1, .h2 {
  font-stretch: 62%; font-weight: 850; text-transform: uppercase;
  letter-spacing: -.005em; line-height: .88;
}
.display { font-size: clamp(3.4rem, 10.6vw, 10.4rem); }
.h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); }
.h2 { font-size: clamp(2.2rem, 4.8vw, 4.2rem); }
.h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.25; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.32rem); line-height: 1.5; color: var(--ink-2); max-width: 34em; }
.muted { color: var(--ink-3); }
.small { font-size: .9rem; }
.serif { font-family: var(--font); }

/* Expanded signage label */
.label {
  font-stretch: 125%; font-weight: 650; font-size: .7rem; line-height: 1.2;
  letter-spacing: .03em; text-transform: uppercase; color: var(--ink-3);
}
.label--ink { color: var(--ink); }
.label--teal { color: var(--teal); }

/* Section marker — a small black tag, not an eyebrow line */
.kicker {
  --notch: 10px;
  display: inline-flex; align-items: center; gap: 8px; position: relative;
  padding: 6px 12px 6px 24px; background: var(--ink); color: var(--white);
  font-stretch: 125%; font-weight: 650; font-size: .68rem; letter-spacing: .04em; text-transform: uppercase; line-height: 1.1;
  clip-path: polygon(var(--notch) 0, 100% 0, 100% 100%, var(--notch) 100%, 0 50%);
  -webkit-mask: radial-gradient(circle 3px at 11px 50%, transparent 97%, #000 100%);
          mask: radial-gradient(circle 3px at 11px 50%, transparent 97%, #000 100%);
}
.kicker + h1, .kicker + h2, .kicker + .h1, .kicker + .h2 { margin-top: 18px; }
.kicker--mint { background: var(--mint); color: var(--ink); }

/* -------------------------------------------------------------- Logo */
.wordmark { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.wordmark:hover { text-decoration: none; }
.wordmark:hover .logo-tag { transform: rotate(-5deg); }
.logo-tag {
  --notch: 13px;
  display: inline-flex; align-items: center; height: 36px; padding: 0 12px 0 27px;
  background: var(--ink); color: var(--white);
  font-stretch: 62%; font-weight: 900; font-size: 1.62rem; letter-spacing: .01em; line-height: 1;
  clip-path: polygon(var(--notch) 0, 100% 0, 100% 100%, var(--notch) 100%, 0 50%);
  -webkit-mask: radial-gradient(circle 4px at 13px 50%, transparent 96%, #000 100%);
          mask: radial-gradient(circle 4px at 13px 50%, transparent 96%, #000 100%);
  transform-origin: 13px 50%; transition: transform .45s var(--swing);
}
.logo-tag i { display: inline-block; width: .17em; height: .17em; background: var(--mint); margin: 0 .05em; align-self: flex-end; margin-bottom: .3em; }
.wordmark__sub { font-stretch: 125%; font-weight: 650; font-size: .62rem; letter-spacing: .04em; text-transform: uppercase; line-height: 1.25; color: var(--ink); }
.wordmark__sub span { display: block; }

/* -------------------------------------------------------------- Tag button */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--white); --notch: 16px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 54px; padding: 0 26px 0 40px;
  background: var(--btn-bg); color: var(--btn-fg); border: 0;
  font-stretch: 125%; font-weight: 700; font-size: .8rem; letter-spacing: .03em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  clip-path: polygon(var(--notch) 0, 100% 0, 100% 100%, var(--notch) 100%, 0 50%);
  -webkit-mask: radial-gradient(circle 4.5px at 17px 50%, transparent 96%, #000 100%);
          mask: radial-gradient(circle 4.5px at 17px 50%, transparent 96%, #000 100%);
  transform-origin: 17px 50%;
  transition: transform .5s var(--swing), background .15s, color .15s;
}
.btn:hover { transform: rotate(-3deg); --btn-bg: var(--mint); --btn-fg: var(--ink); text-decoration: none; }
.btn:active { transform: rotate(0deg) scale(.98); }
.btn:focus-visible { outline: none; box-shadow: none; --btn-bg: var(--mint); --btn-fg: var(--ink); transform: rotate(-3deg); }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--ghost { --btn-bg: var(--mist-2); --btn-fg: var(--ink); }
.btn--mint { --btn-bg: var(--mint); --btn-fg: var(--ink); }
.btn--mint:hover, .btn--mint:focus-visible { --btn-bg: var(--ink); --btn-fg: var(--white); }
.btn--teal { --btn-bg: var(--ink); --btn-fg: var(--white); }
.btn--sm { min-height: 40px; padding: 0 16px 0 30px; font-size: .68rem; --notch: 12px;
  -webkit-mask: radial-gradient(circle 3.5px at 13px 50%, transparent 96%, #000 100%);
          mask: radial-gradient(circle 3.5px at 13px 50%, transparent 96%, #000 100%); transform-origin: 13px 50%; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .4; cursor: not-allowed; transform: none; }

.link-btn {
  background: none; border: 0; padding: 2px 0; color: var(--ink);
  font-stretch: 125%; font-weight: 650; font-size: .7rem; letter-spacing: .03em; text-transform: uppercase;
  border-bottom: 2px solid var(--ink);
}
.link-btn:hover { border-bottom-color: var(--mint); }

/* -------------------------------------------------------------- Header */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--white); border-bottom: var(--line) solid transparent; transition: border-color .2s, background .2s; }
.site-header.is-scrolled { border-bottom-color: var(--ink); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a:not(.btn) {
  font-stretch: 125%; font-weight: 650; font-size: .72rem; letter-spacing: .03em; text-transform: uppercase;
  text-decoration: none; padding: 6px 0; border-bottom: 3px solid transparent;
}
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--ink); }
.nav-toggle { display: none; }
.is-mint-top .site-header { background: var(--mint); }
.is-mint-top .site-header.is-scrolled { background: var(--white); }
@media (max-width: 800px) {
  .wordmark__sub { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; min-height: 42px; padding: 0 14px; background: var(--ink); color: var(--white); border: 0;
    font-stretch: 125%; font-weight: 700; font-size: .68rem; letter-spacing: .04em; text-transform: uppercase; }
  .site-nav { position: absolute; left: 0; right: 0; top: var(--header-h); flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: var(--line) solid var(--ink); padding: 0 var(--gutter) 20px; display: none; }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: 18px 0; border-bottom: 1px solid var(--rule); font-size: .82rem; }
  .site-nav .btn { margin-top: 18px; align-self: flex-start; }
}

/* -------------------------------------------------------------- Footer */
.site-footer { background: var(--ink); color: var(--white); padding: 64px 0 calc(40px + env(safe-area-inset-bottom)); }
.site-footer .logo-tag { background: var(--white); color: var(--ink); }
.site-footer .wordmark, .site-footer .wordmark__sub { color: var(--white); }
.site-footer__grid { display: grid; gap: 40px; grid-template-columns: 1.6fr 1fr 1fr; align-items: start; }
.site-footer__note { max-width: 30em; color: #B9BCB8; margin: 22px 0 0; }
.site-footer h2 { margin-bottom: 16px; }
.site-footer .label { color: var(--mint); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer ul a { text-decoration: none; font-weight: 500; }
.site-footer ul a:hover { text-decoration: underline; text-decoration-color: var(--mint); }
.site-footer__base { margin-top: 56px; padding-top: 20px; border-top: 1px solid #2B2D2F; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer__base .label { color: #8F9390; }
@media (max-width: 760px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__grid > :first-child { grid-column: 1 / -1; } }

/* -------------------------------------------------------------- Category system */
.cat { --c: var(--mist-2); --c-on: var(--ink); --c-ink: var(--ink); }
.cat--people  { --c: var(--people);  --c-on: var(--people-on);  --c-ink: var(--people-ink); }
.cat--facts   { --c: var(--facts);   --c-on: var(--facts-on);   --c-ink: var(--facts-ink); }
.cat--privacy { --c: var(--privacy); --c-on: var(--privacy-on); --c-ink: var(--privacy-ink); }
.cat--context { --c: var(--context); --c-on: var(--context-on); --c-ink: var(--context-ink); }
.cat--media   { --c: var(--media);   --c-on: var(--media-on);   --c-ink: var(--media-ink); }
.cat--sensitive { --c: var(--white); --c-on: var(--ink); --c-ink: var(--ink); }

/* Small inline tag chip (category label) */
.mark-chip {
  --notch: 8px;
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px 4px 18px;
  background: var(--c); color: var(--c-on);
  font-stretch: 125%; font-weight: 700; font-size: .6rem; letter-spacing: .04em; text-transform: uppercase; line-height: 1.2;
  clip-path: polygon(var(--notch) 0, 100% 0, 100% 100%, var(--notch) 100%, 0 50%);
  -webkit-mask: radial-gradient(circle 2.5px at 9px 50%, transparent 96%, #000 100%);
          mask: radial-gradient(circle 2.5px at 9px 50%, transparent 96%, #000 100%);
}
.mark-chip__glyph { display: none; }

/* The luggage tag — hangs from its hole, swings in */
.luggage {
  --hole-x: 50%;
  position: relative; display: block; width: 236px; padding: 32px 18px 18px;
  background: var(--c, var(--mint)); color: var(--c-on, var(--ink));
  clip-path: polygon(22px 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%, 0 22px);
  -webkit-mask: radial-gradient(circle 6px at var(--hole-x) 16px, transparent 95%, #000 100%);
          mask: radial-gradient(circle 6px at var(--hole-x) 16px, transparent 95%, #000 100%);
  transform-origin: var(--hole-x) 16px; transform: rotate(var(--rot, 0deg));
  font-size: .92rem; line-height: 1.4;
}
.luggage__k { display: block; margin: 4px 0 8px; font-stretch: 125%; font-weight: 750; font-size: .62rem; letter-spacing: .04em; text-transform: uppercase; }
.luggage__t { display: block; font-stretch: 70%; font-weight: 850; font-size: 1.4rem; line-height: 1; text-transform: uppercase; }
.luggage p { margin: 8px 0 0; }
@keyframes swing-in {
  0% { opacity: 0; transform: translateY(-16px) rotate(var(--from, -24deg)); }
  30% { opacity: 1; }
  58% { transform: rotate(calc(var(--rot, 0deg) + 7deg)); }
  80% { transform: rotate(calc(var(--rot, 0deg) - 3deg)); }
  100% { opacity: 1; transform: rotate(var(--rot, 0deg)); }
}
.luggage[data-hang] { opacity: 0; }            /* revealed by home.js; noscript.css shows them without JS */
.luggage[data-hang].is-hung { opacity: 1; animation: swing-in 1.15s var(--ease) both; }
.luggage[data-hang]:hover { animation: none; transform: rotate(calc(var(--rot, 0deg) - 5deg)); transition: transform .6s var(--swing); }

/* Approval tag (the "stamp") */
.stamp {
  --notch: 18px;
  display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px;
  padding: 12px 22px 12px 44px; background: var(--mint); color: var(--ink);
  font-stretch: 62%; font-weight: 900; font-size: 1.7rem; line-height: .95; text-transform: uppercase;
  clip-path: polygon(var(--notch) 0, 100% 0, 100% 100%, var(--notch) 100%, 0 50%);
  -webkit-mask: radial-gradient(circle 6px at 20px 50%, transparent 95%, #000 100%);
          mask: radial-gradient(circle 6px at 20px 50%, transparent 95%, #000 100%);
  transform-origin: 20px 50%; transform: rotate(-4deg);
}
.stamp small { font-stretch: 125%; font-weight: 650; font-size: .6rem; letter-spacing: .04em; }
.stamp.is-pressed { animation: swing-left .95s var(--ease) both; }
@keyframes swing-left {
  0% { opacity: 0; transform: rotate(-40deg); }
  35% { opacity: 1; }
  62% { transform: rotate(5deg); }
  84% { transform: rotate(-7deg); }
  100% { transform: rotate(-4deg); }
}

/* Reference number */
.ref {
  display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px;
  background: var(--ink); color: var(--white);
  font-stretch: 100%; font-weight: 800; font-size: .64rem; line-height: 1; letter-spacing: 0;
  vertical-align: .4em; margin-left: 3px;
}

/* Highlights in text: filled like a marker; privacy is literally redaction-black */
.hl {
  background: var(--c); color: var(--c-on); padding: 1px 3px; cursor: pointer;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
  outline: 2px solid transparent; outline-offset: 2px; transition: outline-color .15s;
}
.hl.is-active, .hl:hover { outline-color: var(--ink); }
.cat--privacy.hl .ref { background: var(--mint); color: var(--ink); }

/* Regions on images */
.region { position: absolute; border: 3px solid var(--c); box-shadow: 0 0 0 1.5px var(--ink), inset 0 0 0 1.5px var(--ink); transition: background .2s; }
.region .ref { position: absolute; top: -2px; left: -2px; margin: 0; vertical-align: 0; height: 20px; min-width: 20px; }
.region.is-active { background: color-mix(in srgb, var(--c) 35%, transparent); }

/* Redaction bar that lifts */
.redact { position: relative; display: inline-block; }
.redact::after {
  content: ""; position: absolute; left: -.03em; right: -.03em; top: .04em; bottom: .02em; background: var(--ink);
  transform-origin: right center; animation: unredact .8s var(--ease) .9s both;
}
@keyframes unredact { from { transform: scaleX(1); } to { transform: scaleX(0); } }

/* -------------------------------------------------------------- Forms */
.field { display: grid; gap: 8px; }
.field + .field { margin-top: 26px; }
.field__label { font-weight: 750; font-size: 1rem; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.field__hint { font-size: .88rem; color: var(--ink-3); margin: 0; }
.field__error { font-size: .9rem; color: var(--alert); margin: 0; font-weight: 650; }
.input, .textarea, .select {
  width: 100%; min-height: 52px; padding: 12px 14px; font-size: 1rem;
  background: var(--white); border: var(--line) solid var(--ink); border-radius: 0;
  transition: box-shadow .15s;
}
.input:focus, .textarea:focus, .select:focus { outline: none; box-shadow: 0 0 0 4px var(--mint); }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--alert); box-shadow: 0 0 0 4px #FFD9D3; }
.select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%230A0A0A' stroke-width='2.2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.checkbox { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.checkbox input { appearance: none; flex: none; width: 24px; height: 24px; margin: 0; border: var(--line) solid var(--ink); background: var(--white); display: grid; place-items: center; cursor: pointer; }
.checkbox input::after { content: ""; width: 12px; height: 7px; border: solid var(--ink); border-width: 0 0 3px 3px; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.checkbox input:checked { background: var(--mint); }
.checkbox input:checked::after { opacity: 1; }

.notice { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: var(--mist); border-left: 6px solid var(--ink); font-size: .96rem; }
.notice p { margin: 0; }
.notice__title { font-weight: 800; }
.notice--warn { background: #FFF6D1; border-left-color: var(--context); }
.notice--alert { background: #FFE6E1; border-left-color: var(--alert); }
.notice--ok { background: var(--mint-soft); border-left-color: var(--teal); }
.notice--fixture { background: repeating-linear-gradient(-45deg, #FFE1EA 0 12px, #FFF 12px 24px); border-left-color: var(--media); }

/* ==========================================================================
   HOME
   ========================================================================== */
.hero { background: var(--mint); padding: clamp(28px, 4vw, 56px) 0 0; overflow: hidden; border-bottom: var(--line) solid var(--ink); }
.hero__title { font-size: clamp(3.2rem, 8.1vw, 8.6rem); margin: 22px 0 0; max-width: 13em; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 3vw, 48px); align-items: start; margin-top: clamp(32px, 4vw, 56px); }
.hero__copy .lede { color: var(--ink); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; margin-top: 30px; }
.hero__actions .btn--ghost { --btn-bg: var(--white); }
.hero__assurance { margin: 30px 0 0; display: flex; gap: 12px; align-items: flex-start; font-size: .96rem; max-width: 30em; }
.hero__assurance svg { flex: none; margin-top: 3px; }

.stage { position: relative; padding: 0 0 clamp(56px, 6vw, 96px); min-height: 620px; }
.stage__strings { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 5; }
.stage__strings path { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; }
.stage__strings circle { fill: var(--ink); }

.post { position: relative; z-index: 1; width: min(420px, 100%); background: var(--white); border: var(--line) solid var(--ink); font-size: .96rem; }
.hero .post { width: min(370px, 100%); margin: 0 auto; box-shadow: 12px 12px 0 var(--ink); }
.post__head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: var(--line) solid var(--ink); }
.post__avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-items: center; font-weight: 800; font-size: .74rem; flex: none; }
.post__name { font-weight: 800; line-height: 1.2; font-size: .95rem; }
.post__meta { color: var(--ink-3); font-size: .8rem; }
.post__media { position: relative; aspect-ratio: 4 / 3; background: #CFE5DC; overflow: hidden; border-bottom: var(--line) solid var(--ink); }
.post__media svg { width: 100%; height: 100%; }
.post__caption { padding: 14px 16px 18px; line-height: 1.8; margin: 0; }

.hero .luggage { position: absolute; z-index: 4; width: 178px; padding: 30px 14px 14px; font-size: .86rem; }
.hero .luggage__t { font-size: 1.22rem; }
.hero .luggage.cat--people { --c: var(--white); }
.hero .luggage--people  { --rot: -5deg; --from: -32deg; left: 0; top: 96px; }
.hero .luggage--privacy { --rot: 5deg;  --from: 30deg;  right: 0; top: 150px; }
.hero .luggage--facts   { --rot: -3deg; --from: -28deg; left: 4px; top: 380px; }
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; }
  .stage { max-width: 760px; margin: 0 auto; width: 100%; }
}
@media (max-width: 720px) {
  .stage { min-height: 0; padding-bottom: 48px; }
  .hero .post { box-shadow: 8px 8px 0 var(--ink); }
  .stage__strings { display: none; }
  .hero .luggage { position: relative; inset: auto !important; margin: 22px auto 0; width: min(330px, 100%); }
}

/* Sections */
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section + .section { border-top: var(--line) solid var(--ink); }
.section--mist { background: var(--mist); }
.section--ink { background: var(--ink); color: var(--white); }
.section--ink .lede { color: #C9CCC8; }
.section--ink .kicker { background: var(--mint); color: var(--ink); }
.section__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px 56px; align-items: end; margin-bottom: clamp(44px, 6vw, 84px); }
.section__head p { margin: 0; }
@media (max-width: 860px) { .section__head { grid-template-columns: 1fr; } }

/* T · A · P rows */
.rows { list-style: none; margin: 0; padding: 0; border-top: var(--line) solid var(--ink); }
.row { display: grid; grid-template-columns: minmax(150px, 2.4fr) minmax(0, 4fr) minmax(0, 3.4fr); gap: 24px 48px; align-items: center; padding: clamp(26px, 3vw, 40px) 0; border-bottom: var(--line) solid var(--ink); }
.row__glyph { font-stretch: 62%; font-weight: 900; font-size: clamp(6rem, 12vw, 11rem); line-height: .8; text-transform: uppercase; }
.row__glyph span { display: grid; place-items: center; width: 1.02em; height: 1.02em; padding-top: .07em; background: var(--c); color: var(--c-on); }
.row__word { display: block; font-stretch: 125%; font-weight: 750; font-size: .74rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 10px; color: var(--ink-3); }
.row h3 { font-stretch: 70%; font-weight: 850; font-size: clamp(1.8rem, 2.8vw, 2.6rem); line-height: .96; text-transform: uppercase; margin-bottom: 12px; }
.row p { margin: 0; color: var(--ink-2); }
.row .luggage { width: 100%; max-width: 300px; }
.row:nth-child(odd) .luggage { --rot: -2.5deg; }
.row:nth-child(even) .luggage { --rot: 2deg; }
.row { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.row.is-pending { opacity: 0; transform: translateY(26px); }
@media (max-width: 900px) { .row { grid-template-columns: 1fr; } .row__glyph { font-size: 6.4rem; } }

/* Tag rail — "what T.A.P. checks" */
.rail-wall { position: relative; padding-top: 40px; }
.rail-wall::before { content: ""; position: absolute; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); top: 0; height: 10px; background: var(--ink); }
.rail-wall__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px 32px; }
.rail-wall__item { position: relative; display: flex; justify-content: center; padding-top: 40px; }
.rail-wall__item::before { content: ""; position: absolute; top: -40px; left: 50%; width: 2px; height: 96px; background: var(--ink); z-index: 0; }
.rail-wall__list > :nth-child(n+4) { padding-top: 0; }
.rail-wall__list > :nth-child(n+4)::before { top: -64px; height: 80px; }  /* second row hangs from the tag above */
.rail-wall .luggage { position: relative; z-index: 1; width: 100%; max-width: 340px; min-height: 250px; padding: 40px 24px 24px; font-size: 1rem; }
.rail-wall .luggage__t { font-size: 2rem; }
.rail-wall q { display: block; margin-top: 14px; padding-top: 12px; border-top: 2px solid currentColor; font-weight: 650; quotes: "“" "”"; }
@media (max-width: 960px) {
  .rail-wall__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rail-wall__list > :nth-child(n+3) { padding-top: 0; } .rail-wall__list > :nth-child(n+3)::before { top: -64px; height: 80px; }
}
@media (max-width: 620px) {
  .rail-wall__list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 18px; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 18px; scrollbar-width: none; }
  .rail-wall__list::-webkit-scrollbar { display: none; }
  .rail-wall__item, .rail-wall__list > :nth-child(n+3) { flex: 0 0 82%; scroll-snap-align: center; padding-top: 40px; }
  .rail-wall__list > :nth-child(n+3)::before { top: -40px; height: 96px; }
}

/* Fact checking (dark section) */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.rules { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 18px; }
.rules li { display: grid; grid-template-columns: 38px 1fr; gap: 10px; align-items: start; }
.rules li::before { content: ""; width: 26px; height: 26px; margin-top: 1px; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%230A0A0A' stroke-width='3'/%3E%3C/svg%3E") center / 18px no-repeat; }
.section--ink .rules strong { color: var(--mint); }

.claim-sheet { position: relative; background: var(--white); color: var(--ink); padding: 34px 28px 28px; border: var(--line) solid var(--white); }
.claim-sheet__claim { font-stretch: 70%; font-weight: 850; font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1; text-transform: uppercase; margin: 14px 0 22px; }
.claim-sheet__claim mark { background: var(--context); color: var(--ink); padding: 0 .06em; }
.claim-sheet dl { margin: 0; display: grid; gap: 16px; }
.claim-sheet dt { font-stretch: 125%; font-weight: 750; font-size: .62rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.claim-sheet dd { margin: 4px 0 0; }
.claim-sheet__src { display: grid; gap: 2px; padding: 12px 14px; background: var(--mist); border-left: 4px solid var(--facts); }
.claim-sheet__src span { font-size: .85rem; color: var(--ink-3); }
.claim-sheet .luggage { position: absolute; right: 22px; top: -44px; width: 168px; padding: 30px 14px 12px; --rot: 6deg; }
.claim-sheet .luggage__t { font-size: 1.1rem; }

/* Privacy flow */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: var(--line) solid var(--ink); counter-reset: flow; }
.flow__step { position: relative; padding: 22px 22px 26px; border-right: var(--line) solid var(--ink); counter-increment: flow; background: var(--white); }
.flow__step:last-child { border-right: 0; background: var(--mint); }
.flow__step::before { content: counter(flow); display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 18px; background: var(--ink); color: var(--white); font-stretch: 62%; font-weight: 900; font-size: 1.35rem; }
.flow__step:not(:last-child)::after { content: ""; position: absolute; right: -13px; top: 29px; width: 24px; height: 24px; background: var(--ink); clip-path: polygon(0 0, 100% 50%, 0 100%); z-index: 1; }
.flow__step h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 6px; }
.flow__step p { margin: 0; font-size: .93rem; color: var(--ink-2); }
@media (max-width: 980px) {
  .flow { grid-template-columns: 1fr; }
  .flow__step { border-right: 0; border-bottom: var(--line) solid var(--ink); }
  .flow__step:last-child { border-bottom: 0; }
  .flow__step:not(:last-child)::after { right: auto; left: 28px; top: auto; bottom: -13px; clip-path: polygon(0 0, 100% 0, 50% 100%); }
}

.ledger { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 48px; border: var(--line) solid var(--ink); }
.ledger > div { padding: 30px clamp(20px, 3vw, 36px); }
.ledger > div + div { border-left: var(--line) solid var(--ink); background: var(--ink); color: var(--white); }
.ledger h3 { font-stretch: 70%; font-weight: 850; font-size: 1.9rem; text-transform: uppercase; line-height: 1; }
.ledger ul { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.ledger li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center; }
.ledger .keep li::before { content: ""; width: 22px; height: 22px; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%230A0A0A' stroke-width='3'/%3E%3C/svg%3E") center / 16px no-repeat; }
.ledger .never li::before { content: ""; width: 26px; height: 11px; background: var(--white); }
@media (max-width: 760px) { .ledger { grid-template-columns: 1fr; } .ledger > div + div { border-left: 0; border-top: var(--line) solid var(--ink); } }

/* Big statement */
.statement { margin: 0; background: var(--mint); padding: clamp(72px, 11vw, 150px) 0; border-top: var(--line) solid var(--ink); border-bottom: var(--line) solid var(--ink); }
.statement blockquote { margin: 0; font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: clamp(2.8rem, 8vw, 7.8rem); line-height: 1; max-width: 12.5em; }
.statement blockquote mark { background: var(--ink); color: var(--mint); padding: 0 .05em; line-height: 1; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.statement figcaption { margin-top: 38px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; font-weight: 600; }

/* FAQ */
.faq { border-top: var(--line) solid var(--ink); }
.faq details { border-bottom: var(--line) solid var(--ink); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-weight: 800; font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 30px; height: 30px; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' fill='none' stroke='%230A0A0A' stroke-width='2.6'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 26px; color: var(--ink-2); max-width: 46em; }
.faq details > div p { margin: 0 0 .8em; }

.cta-band { background: var(--ink); color: var(--white); padding: clamp(72px, 10vw, 128px) 0; }
.cta-band__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.cta-band .h1 { max-width: 11em; }
.cta-band .h1 em { font-style: normal; color: var(--mint); }

/* ==========================================================================
   CONTENT PAGES
   ========================================================================== */
.page-head { background: var(--mint); padding: clamp(48px, 8vw, 104px) 0 clamp(40px, 5vw, 64px); border-bottom: var(--line) solid var(--ink); }
.page-head .h1 { margin: 20px 0 22px; max-width: 12em; }
.page-head .lede { color: var(--ink); }
.prose { font-size: 1.08rem; line-height: 1.7; color: var(--ink-2); }
.prose h2 { font-stretch: 70%; font-weight: 850; text-transform: uppercase; font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: .95; color: var(--ink); margin: 2.2em 0 .6em; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h3 { font-size: 1.12rem; font-weight: 800; color: var(--ink); margin: 1.8em 0 .4em; }
.prose p { margin: 0 0 1.1em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--teal); }
.prose strong { color: var(--ink); font-weight: 750; }
.prose code { font-size: .9em; background: var(--mist); padding: .1em .35em; }
.prose blockquote { margin: 1.6em 0; padding: 20px 24px; background: var(--mint); font-stretch: 70%; font-weight: 850; text-transform: uppercase; font-size: 1.8rem; line-height: 1; color: var(--ink); }
.prose > :first-child { margin-top: 0; }
.doc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 120px); }
.doc__toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.doc__toc ol { list-style: none; margin: 14px 0 0; padding: 0; border-top: var(--line) solid var(--ink); }
.doc__toc a { display: block; padding: 10px 8px 10px 0; border-bottom: 1px solid var(--rule); text-decoration: none; font-weight: 600; font-size: .95rem; }
.doc__toc a:hover { background: var(--mint-soft); }
@media (max-width: 860px) { .doc { grid-template-columns: 1fr; } .doc__toc { position: static; } }

.fact-table { width: 100%; border-collapse: collapse; margin: 1em 0 1.6em; font-size: .97rem; border-top: var(--line) solid var(--ink); }
.fact-table th, .fact-table td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.fact-table th { font-stretch: 125%; font-weight: 700; font-size: .64rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.fact-table td:first-child { color: var(--ink); font-weight: 700; width: 36%; }

.timeline { list-style: none; margin: 28px 0; padding: 0; counter-reset: tl; }
.timeline li { position: relative; padding: 0 0 26px 58px; counter-increment: tl; }
.timeline li::before { content: counter(tl); position: absolute; left: 0; top: 0; width: 38px; height: 38px; display: grid; place-items: center; background: var(--ink); color: var(--white); font-stretch: 62%; font-weight: 900; font-size: 1.3rem; }
.timeline li:last-child::before { background: var(--mint); color: var(--ink); }
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 18px; top: 38px; bottom: 0; width: 2px; background: var(--ink); }
.timeline h3 { margin: 6px 0 4px; }

/* ==========================================================================
   ERROR PAGES
   ========================================================================== */
.error-page { padding: clamp(64px, 12vw, 160px) 0; }
.error-page .stamp { margin-bottom: 36px; background: var(--ink); color: var(--white); }
.error-page .h1 { margin-bottom: 18px; }
.error-page .actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }

/* -------------------------------------------------------------- Utilities */
.mt-1 { margin-top: 12px; } .mt-2 { margin-top: 20px; } .mt-3 { margin-top: 32px; }
.faq-title { margin: 18px 0 36px; }
.region--demo-people { left: 7%; top: 44%; width: 46%; height: 47%; }
.region--demo-plate { left: 86%; top: 39%; width: 11%; height: 13%; }
.crop::before, .crop::after { content: none; }
.tab-label { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .redact::after { display: none; }
  .row.is-pending, .luggage[data-hang] { opacity: 1; transform: rotate(var(--rot, 0deg)); }
}

/* -------------------------------------------------------------- Glyphs & context fixes */
.row__glyph .glyph-svg { width: .66em; height: .66em; display: block; margin-top: -.07em; }
.row__glyph .glyph-bar { display: block; width: .7em; height: .2em; margin-top: -.07em; background: var(--white); }
/* On mint surfaces the hover/focus fill flips to white so the button never disappears */
.hero .btn:hover, .hero .btn:focus-visible, .statement .btn:hover, .page-head .btn:hover,
.page-head .btn:focus-visible { --btn-bg: var(--white); --btn-fg: var(--ink); }
.hero .kicker, .page-head .kicker, .statement .kicker { background: var(--ink); color: var(--white); }
