/* =====================================================================
   THE LONGLINE ATELIER — vintage newspaper collage
   ===================================================================== */

:root {
  --bg: #EFE7D6;
  --surface: #E2D3B4;
  --surface-2: #EAE0CB;
  --paper-white: #F6F1E4;
  --ink: #2A2620;
  --ink-soft: #4A4338;
  --ink-faint: #6A6151;
  --accent: #7A2E2A;
  --accent-text: #6E2824;
  --accent-2: #3E5C4B;
  --accent-2-text: #33503F;
  --line: rgba(42, 38, 32, 0.24);
  --line-strong: rgba(42, 38, 32, 0.55);
  --tape: rgba(214, 198, 158, 0.62);
  --shadow: 0 10px 26px -18px rgba(30, 26, 20, 0.75);
  --shadow-lift: 0 18px 40px -22px rgba(30, 26, 20, 0.8);
  --serif: Georgia, "Times New Roman", "Palatino Linotype", serif;
  --body: "Times New Roman", Georgia, "Liberation Serif", serif;
  --hand: "Segoe Script", "Bradley Hand", "Brush Script MT", "Snell Roundhand", cursive;
  --header-h: 76px;
  --maxw: 1080px;
  /* self-contained newsprint / kraft grain (no external image needed) */
  --tex-news: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.05'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  --tex-kraft: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='k'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.07'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23k)'/%3E%3C/svg%3E");
  interpolate-size: allow-keywords;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100%;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  overflow-x: clip;
  max-width: 100%;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 15% 12%, rgba(122, 46, 42, 0.05), transparent 42%),
    radial-gradient(circle at 82% 78%, rgba(62, 92, 75, 0.05), transparent 46%),
    var(--tex-news);
  background-size: auto, auto, 520px;
  background-blend-mode: normal, normal, multiply;
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

figure, figcaption, blockquote { margin: 0; }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  font-variant: small-caps;
  letter-spacing: 0.01em;
  line-height: 1.16;
  color: var(--ink);
  margin: 0 0 0.4em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); letter-spacing: -0.005em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2.6vw, 1.8rem); }
p { margin: 0 0 1em; }

a { color: var(--accent-text); text-decoration: none; }
a:hover { color: var(--ink); }

::selection { background: var(--accent); color: var(--paper-white); }

:where(a, button, input, select, textarea, [tabindex], [role="button"]):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: clamp(18px, 5vw, 60px);
  padding-right: clamp(18px, 5vw, 60px);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  background: var(--ink);
  color: var(--paper-white);
  padding: 10px 16px;
  font-family: var(--serif);
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- newspaper rule dividers ---------- */
.rule {
  border: 0;
  height: 6px;
  margin: 0;
  background-image:
    linear-gradient(var(--ink), var(--ink)),
    linear-gradient(var(--ink), var(--ink));
  background-repeat: no-repeat;
  background-size: 100% 2px, 100% 1px;
  background-position: 0 0, 0 5px;
  opacity: 0.5;
}

/* =====================================================================
   COLLAGE PRIMITIVES
   ===================================================================== */

.paper {
  position: relative;
  background-color: var(--paper-white);
  background-image: var(--tex-news);
  background-size: 480px;
  background-blend-mode: multiply;
  box-shadow: var(--shadow);
  border: 1px solid rgba(42, 38, 32, 0.14);
}
.paper--kraft {
  background-color: var(--surface);
  background-image: var(--tex-kraft);
  background-size: 420px;
}

/* washi / masking tape */
.tape {
  position: absolute;
  width: 88px;
  height: 26px;
  background: var(--tape);
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.14) 0 6px, rgba(0,0,0,0.03) 6px 12px);
  box-shadow: 0 2px 6px -3px rgba(0,0,0,0.4);
  border-left: 1px dashed rgba(0,0,0,0.08);
  border-right: 1px dashed rgba(0,0,0,0.08);
  z-index: 4;
  pointer-events: none;
  opacity: 0.9;
}
.tape--tl { top: -12px; left: 12px; transform: rotate(-18deg); }
.tape--tr { top: -12px; right: 14px; transform: rotate(15deg); }
.tape--bl { bottom: -12px; left: 22px; transform: rotate(9deg); }
.tape--br { bottom: -12px; right: 18px; transform: rotate(-11deg); }
.tape--red { background: rgba(122, 46, 42, 0.34); }
.tape--green { background: rgba(62, 92, 75, 0.32); }

/* push pin */
.pin {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #b7514b, var(--accent) 60%, #4d1a17);
  box-shadow: 0 4px 7px -2px rgba(0,0,0,0.55), inset 0 -2px 3px rgba(0,0,0,0.3);
  z-index: 6;
  pointer-events: none;
}
.pin::after {
  content: "";
  position: absolute;
  top: 6px; left: 6px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.7);
}
.pin--green { background: radial-gradient(circle at 35% 30%, #6b8a75, var(--accent-2) 60%, #223428); }

/* paperclip */
.clip {
  position: absolute;
  top: -14px; left: 50%;
  width: 18px; height: 40px;
  transform: translateX(-50%) rotate(6deg);
  border: 2px solid #8a8272;
  border-radius: 9px 9px 7px 7px;
  border-bottom-color: transparent;
  z-index: 6;
  pointer-events: none;
}

/* registration / crop marks */
.mark {
  position: absolute;
  width: 16px; height: 16px;
  pointer-events: none;
  opacity: 0.55;
  z-index: 3;
}
.mark::before, .mark::after {
  content: "";
  position: absolute;
  background: var(--ink);
}
.mark::before { left: 50%; top: 0; width: 1px; height: 100%; transform: translateX(-50%); }
.mark::after { top: 50%; left: 0; height: 1px; width: 100%; transform: translateY(-50%); }

/* rubber stamp */
.stamp {
  display: inline-block;
  font-family: var(--serif);
  font-variant: small-caps;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent-text);
  border: 2.5px solid var(--accent-text);
  padding: 4px 12px;
  border-radius: 3px;
  transform: rotate(-6deg);
  opacity: 0.82;
  font-size: 0.78rem;
  background: rgba(246, 241, 228, 0.35);
  box-shadow: inset 0 0 0 1px rgba(122,46,42,0.2);
}
.stamp--green { color: var(--accent-2-text); border-color: var(--accent-2-text); }
.stamp--ink { color: var(--ink); border-color: var(--ink); }

/* coffee ring stain */
.coffee {
  position: absolute;
  width: 92px; height: 92px;
  border-radius: 50%;
  border: 7px solid rgba(96, 62, 30, 0.14);
  box-shadow: inset 0 0 0 3px rgba(96, 62, 30, 0.06);
  pointer-events: none;
  z-index: 2;
}

/* handwriting */
.hand {
  font-family: var(--hand);
  color: var(--accent-2-text);
  font-variant: normal;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

/* torn deckle edge helper (top+bottom) */
.torn {
  clip-path: polygon(
    0 6px, 3% 0, 8% 6px, 14% 1px, 21% 7px, 29% 2px, 37% 7px, 45% 1px,
    54% 7px, 62% 2px, 70% 7px, 78% 1px, 86% 6px, 93% 1px, 100% 6px,
    100% calc(100% - 6px), 94% 100%, 87% calc(100% - 6px), 79% calc(100% - 1px),
    71% calc(100% - 7px), 63% calc(100% - 2px), 55% calc(100% - 7px), 46% calc(100% - 1px),
    38% calc(100% - 7px), 30% calc(100% - 2px), 22% calc(100% - 7px), 14% calc(100% - 1px),
    7% calc(100% - 6px), 3% calc(100% - 1px), 0 calc(100% - 6px)
  );
}

/* photo frame (polaroid/print) */
.snap {
  position: relative;
  background: var(--paper-white);
  padding: 10px 10px 34px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.08);
}
.snap img { width: 100%; height: 100%; object-fit: cover; display: block; filter: sepia(0.14) contrast(1.02); }
.snap figcaption {
  position: absolute;
  left: 12px; right: 12px; bottom: 8px;
  font-family: var(--hand);
  color: var(--ink-soft);
  font-size: 0.92rem;
  text-align: center;
}

/* torn price tag */
.price-tag {
  position: relative;
  display: inline-block;
  background: var(--paper-white);
  color: var(--ink);
  font-family: var(--serif);
  font-variant: small-caps;
  font-weight: 700;
  padding: 8px 16px 8px 26px;
  box-shadow: var(--shadow);
  clip-path: polygon(14px 0, 100% 0, 100% 100%, 14px 100%, 0 50%);
  letter-spacing: 0.02em;
}
.price-tag::before {
  content: "";
  position: absolute;
  left: 15px; top: 50%;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ink);
  transform: translateY(-50%);
  box-shadow: 0 0 0 2px var(--paper-white);
}

/* =====================================================================
   HEADER + NAV
   ===================================================================== */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1080;
  height: var(--header-h);
  background: rgba(239, 231, 214, 0.92);
  border-bottom: 2px solid var(--ink);
  transition: background 240ms ease, box-shadow 240ms ease, height 240ms ease;
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 3px;
  background-image: linear-gradient(var(--ink), var(--ink)), linear-gradient(var(--ink), var(--ink));
  background-repeat: no-repeat;
  background-size: 100% 1px, 100% 1px;
  background-position: 0 0, 0 2px;
  opacity: 0.4;
}
.site-header.is-scrolled {
  background: rgba(239, 231, 214, 0.98);
  box-shadow: 0 8px 24px -16px rgba(0,0,0,0.35);
  height: 64px;
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  color: var(--ink);
}
.brand__mark {
  font-family: var(--serif);
  font-variant: small-caps;
  font-weight: 700;
  font-size: 1.32rem;
  letter-spacing: 0.02em;
}
.brand__sub {
  font-family: var(--hand);
  font-size: 0.86rem;
  color: var(--accent-text);
  margin-top: 2px;
}

.nav-desktop { display: none; }
.nav-desktop ul {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 26px);
  list-style: none;
  margin: 0; padding: 0;
}
.nav-desktop a {
  position: relative;
  font-family: var(--serif);
  font-variant: small-caps;
  font-size: 1rem;
  letter-spacing: 0.03em;
  color: var(--ink);
  padding: 4px 2px;
  white-space: nowrap;
}
.nav-desktop .nav-cta { white-space: nowrap; }
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms cubic-bezier(.2,.7,.2,1);
}
.nav-desktop a:hover { color: var(--accent-text); }
.nav-desktop a:hover::after,
.nav-desktop a.is-active::after { transform: scaleX(1); }

.nav-cta {
  font-family: var(--serif);
  font-variant: small-caps;
  font-weight: 700;
  background: var(--ink);
  color: var(--paper-white) !important;
  padding: 8px 16px;
  border: 2px solid var(--ink);
  letter-spacing: 0.04em;
}
.nav-desktop .nav-cta::after { display: none; }
.nav-desktop .nav-cta:hover { background: var(--accent); border-color: var(--accent); color: var(--paper-white) !important; }

/* hamburger */
.nav-toggle {
  position: relative;
  z-index: 1100;
  width: 46px; height: 40px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: transparent;
  border: 2px solid var(--ink);
  cursor: pointer;
  padding: 0 9px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  transition: transform 240ms ease, opacity 200ms ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(28, 24, 18, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 240ms ease, visibility 240ms ease;
  z-index: 1085;
}
.drawer-backdrop.is-open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(360px, 92vw);
  z-index: 1090;
  background: var(--surface);
  background-image: var(--tex-kraft);
  background-size: 420px;
  background-blend-mode: multiply;
  border-left: 3px solid var(--ink);
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 320ms cubic-bezier(.2,.7,.2,1), visibility 0s linear 320ms;
  padding: calc(var(--header-h) + 20px) 28px 28px;
  overflow-y: auto;
}
.drawer.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
  transition: transform 320ms cubic-bezier(.2,.7,.2,1), visibility 0s;
}
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer li { border-bottom: 1px dashed var(--line-strong); }
.drawer a {
  display: block;
  padding: 14px 4px;
  font-family: var(--serif);
  font-variant: small-caps;
  font-size: 1.28rem;
  color: var(--ink);
}
.drawer a.is-active { color: var(--accent-text); }
.drawer .drawer-note {
  margin-top: 24px;
  font-family: var(--hand);
  color: var(--accent-2-text);
  font-size: 1.05rem;
}

main { padding-top: var(--header-h); }

/* =====================================================================
   BUTTONS
   ===================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--serif);
  font-variant: small-caps;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.05em;
  padding: 12px 24px;
  border: 2px solid var(--ink);
  cursor: pointer;
  transition: transform 200ms cubic-bezier(.2,.7,.2,1), background 200ms ease, color 200ms ease, box-shadow 200ms ease;
  text-align: center;
}
.btn-primary { background: var(--accent); color: var(--paper-white); border-color: var(--accent); box-shadow: var(--shadow); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--ink); color: var(--paper-white); border-color: var(--ink); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover, .btn-ghost:focus-visible { background: var(--ink); color: var(--paper-white); transform: translateY(-2px); }

/* =====================================================================
   SECTION SHELLS
   ===================================================================== */

.section { position: relative; padding: clamp(56px, 8vw, 104px) 0; overflow: hidden; }
.section--band {
  background-color: var(--surface);
  background-image: var(--tex-kraft);
  background-size: 460px;
  background-blend-mode: multiply;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.section--ink {
  background: var(--ink);
  color: var(--paper-white);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: var(--paper-white); }

.eyebrow {
  display: inline-block;
  font-family: var(--serif);
  font-variant: small-caps;
  letter-spacing: 0.18em;
  font-size: 0.85rem;
  color: var(--accent-text);
  border-top: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  padding: 3px 2px;
  margin-bottom: 18px;
}
.section--ink .eyebrow { color: #E3B7A9; border-color: #C87A6F; }

.masthead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-bottom: 3px double var(--ink);
  padding-bottom: 10px;
  margin-bottom: 8px;
}
.masthead .dateline {
  font-family: var(--serif);
  font-variant: small-caps;
  letter-spacing: 0.06em;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

/* =====================================================================
   HERO
   ===================================================================== */

.hero {
  position: relative;
  padding: clamp(32px, 5vw, 60px) 0 clamp(56px, 8vw, 96px);
  overflow: hidden;
}
.hero__masthead {
  text-align: center;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  padding: 8px 0;
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.hero__masthead .gazette {
  font-family: var(--serif);
  font-variant: small-caps;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: clamp(1rem, 2.4vw, 1.5rem);
}
.hero__masthead .meta { font-family: var(--serif); font-size: 0.78rem; letter-spacing: 0.05em; color: var(--ink-soft); }

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: start;
}
.hero__col {
  position: relative;
  padding: 6px;
}
.hero__eyebrow {
  font-family: var(--hand);
  color: var(--accent-2-text);
  font-size: 1.25rem;
  margin-bottom: 6px;
}
/* ransom headline */
.ransom { line-height: 1.06; margin: 0 0 14px; }
.ransom .w {
  display: inline-block;
  font-family: var(--serif);
  font-variant: small-caps;
  font-weight: 700;
  font-size: clamp(2.3rem, 8vw, 5rem);
  padding: 0 6px;
  margin: 2px 3px;
  line-height: 1;
}
.ransom .w:nth-child(3n) { transform: rotate(-2.5deg); background: var(--ink); color: var(--paper-white); }
.ransom .w:nth-child(3n+1) { transform: rotate(1.5deg); color: var(--accent-text); border-bottom: 4px solid var(--accent); }
.ransom .w:nth-child(3n+2) { transform: rotate(-0.5deg); background: var(--surface); box-shadow: var(--shadow); }
.hero__sub {
  font-size: 1.16rem;
  max-width: 46ch;
  color: var(--ink-soft);
  margin: 14px 0 22px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px dashed var(--line-strong);
}
.trust-strip .badge {
  font-family: var(--serif);
  font-variant: small-caps;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  padding: 2px 0;
}
.trust-strip .badge::before { content: "\2726"; color: var(--accent-text); margin-right: 6px; }

/* hero photo cluster */
.hero__photos { position: relative; min-height: 380px; }
.hero__photos .snap { position: absolute; }
.hero__photos .snap--main { top: 0; left: 4%; width: 74%; transform: rotate(-3deg); z-index: 2; }
.hero__photos .snap--sub { bottom: 0; right: 2%; width: 52%; transform: rotate(4deg); z-index: 3; }
.hero__clip {
  position: absolute;
  bottom: 10%; left: 0;
  background: var(--paper-white);
  padding: 12px 14px;
  max-width: 210px;
  transform: rotate(-2deg);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  z-index: 4;
  font-family: var(--body);
  font-size: 0.92rem;
  text-align: justify;
}
.hero__clip .stamp { margin-bottom: 6px; }

/* =====================================================================
   METHOD — clipped columns
   ===================================================================== */

.method__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 30px;
}
.method__lead {
  column-count: 1;
  font-size: 1.06rem;
  text-align: justify;
  hyphens: auto;
}
.method__col {
  position: relative;
  background: var(--paper-white);
  background-image: var(--tex-news);
  background-size: 420px;
  background-blend-mode: multiply;
  padding: 22px 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.method__col h3 {
  border-bottom: 2px solid var(--ink);
  padding-bottom: 6px;
  margin-bottom: 10px;
}
.method__col p { text-align: justify; margin-bottom: 0; font-size: 0.98rem; }
.method__col .hand { display: block; margin-top: 12px; font-size: 1.05rem; }
.pull-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 3.6vw, 2.2rem);
  line-height: 1.3;
  color: var(--accent-text);
  border-left: 5px solid var(--accent);
  padding: 6px 0 6px 20px;
  margin: 8px 0;
  max-width: 22ch;
}

/* =====================================================================
   CLASSES — clipped ads
   ===================================================================== */

.ads-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  margin-top: 34px;
}
.ad {
  position: relative;
  background: var(--paper-white);
  padding: 20px 20px 22px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.ad:nth-child(3n+1) { transform: rotate(-1.4deg); }
.ad:nth-child(3n+2) { transform: rotate(1deg); }
.ad:nth-child(3n) { transform: rotate(-0.6deg); }
.ad__photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--ink);
  margin-bottom: 14px;
}
.ad__photo img { width: 100%; height: 100%; object-fit: cover; filter: sepia(0.2) contrast(1.03) brightness(0.98); transition: filter 300ms ease, transform 400ms ease; }
.ad:hover .ad__photo img { filter: sepia(0.05) contrast(1.06); transform: scale(1.04); }
.ad__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  border-bottom: 2px solid var(--ink); padding-bottom: 6px; margin-bottom: 8px;
}
.ad__kicker { font-family: var(--serif); font-variant: small-caps; letter-spacing: 0.1em; font-size: 0.72rem; color: var(--accent-text); }
.ad h3 { margin: 0; }
.ad p { font-size: 0.96rem; text-align: justify; margin-bottom: 12px; }
.ad__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: auto; }
.ad ul { list-style: none; margin: 0 0 14px; padding: 0; }
.ad ul li { position: relative; padding-left: 16px; font-size: 0.94rem; margin-bottom: 4px; }
.ad ul li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }

/* =====================================================================
   TRANSFORMATIONS — before/after
   ===================================================================== */

.transform-frame {
  position: relative;
  background: var(--paper-white);
  border: 3px double var(--ink);
  padding: clamp(18px, 4vw, 34px);
  box-shadow: var(--shadow-lift);
  margin-top: 30px;
}
.ba {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}
.ba figure { position: relative; }
.ba .snap img { aspect-ratio: 3 / 4; }
.ba__label {
  position: absolute; top: 10px; left: 10px; z-index: 5;
}
.ba__story {
  border-top: 2px solid var(--ink);
  margin-top: 22px;
  padding-top: 16px;
}
.ba__story .hand { font-size: 1.2rem; display: block; margin-bottom: 8px; }

/* =====================================================================
   INSTRUCTORS — bylines
   ===================================================================== */

.bylines {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 34px;
}
.byline {
  position: relative;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  background: var(--paper-white);
  padding: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  align-items: start;
}
.byline:nth-child(even) { transform: rotate(0.8deg); }
.byline:nth-child(odd) { transform: rotate(-0.8deg); }
.byline__photo {
  width: 96px; height: 120px;
  object-fit: cover;
  border: 1px solid var(--ink);
  filter: sepia(0.22) contrast(1.02);
  background: var(--surface);
}
.byline h3 { margin: 0 0 2px; }
.byline .role { font-family: var(--serif); font-variant: small-caps; letter-spacing: 0.06em; color: var(--accent-text); font-size: 0.9rem; margin-bottom: 8px; display: block; }
.byline p { font-size: 0.94rem; margin-bottom: 8px; text-align: justify; }
.byline .sign { font-family: var(--hand); color: var(--accent-2-text); font-size: 1.16rem; }

/* =====================================================================
   PRICING — torn tags
   ===================================================================== */

.pricing-board {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  margin-top: 32px;
}
.plan {
  position: relative;
  background: var(--paper-white);
  padding: 24px 22px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.plan:nth-child(3n+1) { transform: rotate(-1.1deg); }
.plan:nth-child(3n+2) { transform: rotate(0.9deg); }
.plan:nth-child(3n) { transform: rotate(-0.5deg); }
.plan h3 { border-bottom: 2px solid var(--ink); padding-bottom: 8px; }
.plan .amount { font-family: var(--serif); font-variant: small-caps; font-weight: 700; font-size: 2rem; color: var(--accent-text); display: block; margin: 6px 0 2px; }
.plan .per { font-size: 0.86rem; color: var(--ink-faint); font-family: var(--serif); font-variant: small-caps; letter-spacing: 0.06em; }
.plan ul { list-style: none; margin: 16px 0; padding: 0; }
.plan ul li { position: relative; padding-left: 20px; margin-bottom: 7px; font-size: 0.95rem; }
.plan ul li::before { content: "\2713"; position: absolute; left: 0; color: var(--accent-2-text); font-weight: 700; }
.plan ul li.excl { color: var(--ink-faint); }
.plan ul li.excl::before { content: "\2717"; color: var(--accent-text); }
.plan .disclaimer { font-size: 0.78rem; color: var(--ink-faint); font-style: italic; margin-top: 10px; }

/* =====================================================================
   THEME SIGNATURE — alignment line over photo
   ===================================================================== */

.alignment {
  position: relative;
  overflow: hidden;
  border: 3px solid var(--ink);
  box-shadow: var(--shadow-lift);
  aspect-ratio: 16 / 10;
  background: var(--surface);
}
.alignment img { width: 100%; height: 100%; object-fit: cover; filter: sepia(0.12) contrast(1.04); }
.alignment .axis {
  position: absolute;
  top: 8%;
  left: var(--axis-x, 50%);
  width: 2px;
  height: 84%;
  background: repeating-linear-gradient(var(--paper-white) 0 8px, transparent 8px 14px);
  transform: translateX(-50%) scaleY(var(--axis, 0));
  transform-origin: top;
  box-shadow: 0 0 8px rgba(246,241,228,0.7);
  pointer-events: none;
}
.alignment .axis::before,
.alignment .axis::after {
  content: "";
  position: absolute;
  left: 50%; transform: translateX(-50%);
  width: 14px; height: 14px;
  border: 2px solid var(--paper-white);
  border-radius: 50%;
}
.alignment .axis::before { top: -8px; }
.alignment .axis::after { bottom: -8px; background: var(--accent); }
.alignment .axis-note {
  position: absolute;
  top: 12%; left: calc(var(--axis-x, 50%) + 14px);
  font-family: var(--hand);
  color: var(--paper-white);
  font-size: 1.1rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.7);
  opacity: var(--axis, 0);
  pointer-events: none;
}

/* =====================================================================
   BUSINESS TOOL — class-fit questionnaire
   ===================================================================== */

.tool {
  position: relative;
  background: var(--paper-white);
  border: 3px double var(--ink);
  box-shadow: var(--shadow-lift);
  padding: clamp(20px, 4vw, 40px);
  margin-top: 32px;
}
.tool__grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
.tool fieldset { border: 1px solid var(--line); padding: 16px 16px 18px; margin: 0 0 18px; background: rgba(234,224,203,0.4); }
.tool legend { font-family: var(--serif); font-variant: small-caps; font-weight: 700; letter-spacing: 0.04em; padding: 0 8px; font-size: 1.05rem; }
.tool .opts { display: flex; flex-wrap: wrap; gap: 10px; }
.tool .opt {
  position: relative;
  display: inline-flex;
  cursor: pointer;
}
.tool .opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.tool .opt span {
  display: inline-block;
  font-family: var(--serif);
  font-variant: small-caps;
  letter-spacing: 0.03em;
  padding: 9px 15px;
  border: 2px solid var(--ink);
  background: var(--paper-white);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}
.tool .opt input:checked + span { background: var(--accent); color: var(--paper-white); border-color: var(--accent); transform: translateY(-2px); }
.tool .opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.tool select, .tool input[type="number"] {
  font-family: var(--body); font-size: 1rem;
  padding: 9px 12px; border: 2px solid var(--ink); background: var(--paper-white); color: var(--ink);
  width: 100%; max-width: 260px;
}
.tool .field-row { display: flex; flex-wrap: wrap; gap: 16px; }
.tool .field-row label { font-family: var(--serif); font-variant: small-caps; letter-spacing: 0.03em; display: flex; flex-direction: column; gap: 6px; }

.result {
  position: relative;
  background: var(--surface);
  background-image: var(--tex-kraft);
  background-size: 380px;
  background-blend-mode: multiply;
  border: 1px solid var(--ink);
  padding: 22px 20px;
  box-shadow: var(--shadow);
}
.result h3 { border-bottom: 2px solid var(--ink); padding-bottom: 6px; }
.result .clipped-column { margin-top: 12px; }
.result .day {
  display: grid;
  grid-template-columns: minmax(0, 88px) 1fr;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line-strong);
  align-items: baseline;
}
.result .day .d { font-family: var(--serif); font-variant: small-caps; font-weight: 700; letter-spacing: 0.05em; color: var(--accent-text); }
.result .day .c { font-size: 0.98rem; }
.result .flag {
  margin-top: 14px;
  padding: 12px 14px;
  border: 2px dashed var(--accent);
  background: rgba(122,46,42,0.08);
  font-size: 0.95rem;
}
.result .flag .hand { display: block; font-size: 1.1rem; margin-bottom: 4px; }
.result .placeholder { color: var(--ink-soft); font-style: italic; }
.tool .disclaimer { font-size: 0.8rem; color: var(--ink-faint); font-style: italic; margin-top: 14px; }

/* =====================================================================
   FORMS
   ===================================================================== */

.form-paper {
  position: relative;
  background: var(--paper-white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: clamp(20px, 4vw, 36px);
}
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field > span, .field > label { font-family: var(--serif); font-variant: small-caps; letter-spacing: 0.03em; font-size: 0.95rem; }
.field input, .field select, .field textarea {
  font-family: var(--body);
  font-size: 1rem;
  padding: 11px 12px;
  border: 0;
  border-bottom: 2px solid var(--ink);
  background: rgba(234,224,203,0.35);
  color: var(--ink);
  width: 100%;
  transition: border-color 200ms ease, background 200ms ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
  background: rgba(234,224,203,0.6);
}
.field textarea { min-height: 128px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 0 18px; }
.field.consent { flex-direction: row; align-items: flex-start; gap: 10px; }
.field input[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: auto;
  width: 18px; height: 18px;
  min-width: 18px; min-height: 18px;
  padding: 0; border: 0; margin: 3px 0 0;
  accent-color: var(--accent);
  background: transparent;
}
.field.consent span { font-family: var(--body); font-variant: normal; letter-spacing: 0; font-size: 0.92rem; line-height: 1.5; }

/* =====================================================================
   FAQ
   ===================================================================== */

.faq { margin-top: 30px; display: grid; gap: 16px; }
.faq details {
  position: relative;
  background: var(--paper-white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 0;
}
.faq details:nth-child(even) { transform: rotate(0.5deg); }
.faq details:nth-child(odd) { transform: rotate(-0.5deg); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px clamp(18px, 3vw, 26px);
  font-family: var(--serif);
  font-variant: small-caps;
  font-weight: 700;
  font-size: 1.12rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--accent-text); transition: transform 260ms ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .body {
  height: 0;
  padding: 0 clamp(18px, 3vw, 26px);
  overflow: hidden;
  transition: height 360ms cubic-bezier(.4,0,.2,1), padding-block-end 360ms cubic-bezier(.4,0,.2,1);
}
.faq details[open] .body { height: auto; padding-block-end: 22px; }
.faq .body p { margin: 0 0 8px; text-align: justify; }
@media (prefers-reduced-motion: reduce) { .faq .body { transition: none; } }

/* =====================================================================
   NOTES / NEWS BLOCK
   ===================================================================== */

.notes { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 28px; }
.note {
  position: relative;
  background: var(--paper-white);
  border-left: 5px solid var(--accent);
  padding: 16px 18px;
  box-shadow: var(--shadow);
}
.note time { font-family: var(--serif); font-variant: small-caps; letter-spacing: 0.06em; color: var(--accent-text); font-size: 0.86rem; }
.note h4 { margin: 4px 0 6px; }
.note p { margin: 0; font-size: 0.95rem; }

/* =====================================================================
   CONTACT
   ===================================================================== */

.channel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 30px;
}
.channel {
  position: relative;
  background: var(--paper-white);
  border: 1px solid var(--line);
  padding: 20px;
  box-shadow: var(--shadow);
  transition: transform 220ms cubic-bezier(.2,.7,.2,1), box-shadow 220ms ease;
}
.channel:nth-child(even) { transform: rotate(0.7deg); }
.channel:nth-child(odd) { transform: rotate(-0.7deg); }
.channel:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.channel .tag {
  display: inline-block;
  font-family: var(--serif);
  font-variant: small-caps;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  color: var(--accent-text);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
  margin-bottom: 10px;
}
.channel h3 { margin: 0 0 4px; font-size: 1.2rem; }
.channel a, .channel .val { font-family: var(--body); font-size: 1.02rem; color: var(--ink); word-break: break-word; overflow-wrap: anywhere; }
.channel a:hover { color: var(--accent-text); }
.channel .sub { font-size: 0.86rem; color: var(--ink-faint); margin-top: 4px; }

.hours-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 20px;
}
.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  background: var(--paper-white);
  border: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
.hours-row.today { border-color: var(--accent); background: rgba(122,46,42,0.06); }
.hours-row .d { font-family: var(--serif); font-variant: small-caps; letter-spacing: 0.04em; }

/* =====================================================================
   TABLES
   ===================================================================== */

.table-scroll {
  display: block; width: 100%; max-width: 100%; min-width: 0;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.table-scroll > table { margin: 0 !important; min-width: 480px; width: 100%; border-collapse: collapse; }
:where(*:has(> .table-scroll), *:has(> * > .table-scroll), *:has(> * > * > .table-scroll)) { min-width: 0; }
table th, table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
table th { font-family: var(--serif); font-variant: small-caps; letter-spacing: 0.04em; background: var(--surface); }

/* =====================================================================
   LEGAL / DOC PAGES
   ===================================================================== */

.doc { padding: clamp(40px, 6vw, 72px) 0; }
.doc-body { max-width: 820px; margin: 0 auto; background: var(--paper-white); border: 1px solid var(--line); box-shadow: var(--shadow); padding: clamp(22px, 4vw, 48px); }
.doc-body h2 { margin-top: 1.5em; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.doc-body h2:first-child { margin-top: 0; }
.doc-body h3 { margin-top: 1.2em; }
.doc-body p, .doc-body li { text-align: left; line-height: 1.7; overflow-wrap: anywhere; }
.doc-body ul { padding-left: 22px; }
.doc .masthead { max-width: 820px; margin-left: auto; margin-right: auto; }
.toc { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.toc a { font-family: var(--serif); font-variant: small-caps; }

/* thank-you */
.thanks {
  text-align: center;
  padding: clamp(60px, 12vw, 140px) 0;
}
.thanks .stamp { font-size: 1rem; transform: rotate(-8deg); margin-bottom: 20px; }
.thanks h1 { margin-bottom: 12px; }
.thanks p { max-width: 46ch; margin: 0 auto 26px; color: var(--ink-soft); }

/* 404 */
.err { text-align: center; padding: clamp(60px, 12vw, 140px) 0; }
.err .big { font-family: var(--serif); font-variant: small-caps; font-weight: 700; font-size: clamp(4rem, 18vw, 10rem); line-height: 1; color: var(--accent-text); }

/* =====================================================================
   FOOTER
   ===================================================================== */

.site-footer {
  position: relative;
  background: var(--ink);
  color: var(--paper-white);
  border-top: 3px solid var(--ink);
  padding: clamp(46px, 7vw, 76px) 0 26px;
}
.site-footer::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: repeating-linear-gradient(90deg, var(--paper-white) 0 10px, transparent 10px 20px);
  opacity: 0.4;
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
.site-footer h4 { color: var(--paper-white); border-bottom: 1px solid rgba(246,241,228,0.3); padding-bottom: 6px; margin-bottom: 12px; }
.site-footer a { color: #E7DFCF; }
.site-footer a:hover { color: #F0BCB0; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; }
.footer-nav li a { display: block; padding: 4px 0; font-family: var(--serif); font-variant: small-caps; letter-spacing: 0.03em; }
.footer-about p { color: #D8D0BF; font-size: 0.95rem; }
.footer-about .hand { color: #F0BCB0; font-size: 1.15rem; }
.footer-bottom {
  margin-top: 34px; padding-top: 18px;
  border-top: 1px solid rgba(246,241,228,0.25);
  display: flex; flex-wrap: wrap; gap: 10px 18px; justify-content: space-between; align-items: center;
  font-size: 0.84rem; color: #C9C1B0;
}
.footer-bottom .legal a { display: inline; }
.footer-bottom .legal { display: flex; flex-wrap: wrap; gap: 4px 12px; }

/* =====================================================================
   COOKIE
   ===================================================================== */

.cookie-banner {
  position: fixed;
  bottom: 16px; left: 16px; right: 16px;
  max-width: 520px;
  margin: 0 auto;
  background: var(--paper-white);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-lift);
  padding: 18px 20px;
  transform: translateY(140%);
  opacity: 0;
  transition: transform 280ms cubic-bezier(.2,.7,.2,1), opacity 240ms;
  z-index: 9999;
}
.cookie-banner.is-visible { transform: translateY(0); opacity: 1; }
.cookie-banner h4 { margin: 0 0 6px; }
.cookie-banner p { font-size: 0.9rem; margin: 0 0 14px; }
.cookie-banner .row { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-banner button {
  flex: 1 1 auto;
  min-height: 44px;
  font-family: var(--serif);
  font-variant: small-caps;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: 2px solid var(--ink);
  padding: 10px 14px;
  transition: background 180ms ease, color 180ms ease;
}
.cookie-banner [data-consent="accept"] { background: var(--accent); color: var(--paper-white); border-color: var(--accent); }
.cookie-banner [data-consent="accept"]:hover { background: var(--ink); border-color: var(--ink); color: var(--paper-white); }
.cookie-banner [data-consent="reject"] { background: var(--paper-white); color: var(--ink); }
.cookie-banner [data-consent="reject"]:hover { background: var(--surface); color: var(--ink); }
.cookie-banner [data-consent="settings"] { background: transparent; color: var(--ink); border-style: dashed; }
.cookie-banner [data-consent="settings"]:hover { background: var(--surface); color: var(--ink); }
@media (min-width: 720px) {
  .cookie-banner { left: 24px; right: auto; max-width: 420px; }
}

/* =====================================================================
   REVEAL / ANIMATION
   ===================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 640ms cubic-bezier(.2,.7,.2,1), transform 640ms cubic-bezier(.2,.7,.2,1);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.reveal.is-in { opacity: 1; transform: none; }
html.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .ransom .w { transform: none !important; }
}

/* newspaper cut-in reveal for columns */
.cut-in { clip-path: inset(0 100% 0 0); transition: clip-path 720ms cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 90ms); }
.cut-in.is-in { clip-path: inset(0 0 0 0); }
html.no-js .cut-in { clip-path: none; }
@media (prefers-reduced-motion: reduce) { .cut-in { clip-path: none !important; } }

/* counters */
.stats { display: flex; flex-wrap: wrap; gap: 24px 40px; margin-top: 26px; }
.stat .num {
  font-family: var(--serif); font-variant: small-caps; font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1; color: var(--accent-text);
  font-variant-numeric: tabular-nums; display: inline-block; min-width: 2.5ch;
}
.section--ink .stat .num { color: #F0BCB0; }
.stat .lbl { display: block; font-family: var(--serif); font-variant: small-caps; letter-spacing: 0.05em; font-size: 0.86rem; color: var(--ink-soft); margin-top: 6px; }
.section--ink .stat .lbl { color: #D8D0BF; }

/* drifting motes (ambient, theme: dust off old paper) */
@keyframes drift {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  20% { opacity: 0.5; }
  100% { transform: translateY(-60px) translateX(18px); opacity: 0; }
}
.motes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.motes i {
  position: absolute; bottom: 10%;
  width: 4px; height: 4px; border-radius: 50%;
  background: rgba(122,46,42,0.4);
  animation: drift 12s linear infinite;
}
.motes i:nth-child(1) { left: 12%; animation-delay: 0s; }
.motes i:nth-child(2) { left: 34%; animation-delay: 3s; background: rgba(62,92,75,0.4); }
.motes i:nth-child(3) { left: 58%; animation-delay: 6s; }
.motes i:nth-child(4) { left: 78%; animation-delay: 9s; background: rgba(62,92,75,0.4); }
.motes i:nth-child(5) { left: 90%; animation-delay: 1.5s; }
@media (prefers-reduced-motion: reduce) { .motes { display: none; } }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */

@media (min-width: 680px) {
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: 34px; }
  .ba { grid-template-columns: 1fr 1fr; }
  .ads-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .method__grid { grid-template-columns: 1fr 1fr; }
  .pricing-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .channel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hours-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-row { grid-template-columns: 1fr 1fr; }
  .notes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tool__grid { grid-template-columns: 1.1fr 0.9fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (min-width: 1024px) {
  .ads-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pricing-board { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bylines { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .method__grid { grid-template-columns: 1.2fr 0.9fr 0.9fr; }
  .channel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1080px) {
  .nav-desktop { display: block; }
  .nav-toggle { display: none; }
}

@media (max-width: 720px) {
  .hero__photos { min-height: 340px; margin-top: 14px; }
  .hero__clip { display: none; }
}

@media (max-width: 480px) {
  body { font-size: 17px; }
  .ransom .w { font-size: clamp(2rem, 13vw, 3rem); }
  .byline { grid-template-columns: 74px 1fr; gap: 12px; }
  .byline__photo { width: 74px; height: 92px; }
  .ad, .plan, .channel, .method__col { transform: none !important; }
  .tape { width: 64px; height: 20px; }
  .coffee { width: 66px; height: 66px; }
  .section { padding: 46px 0; }
}

/* Two-column policy tables: stack into label/value cards on small screens
   so nothing is clipped and no horizontal scroll is needed. */
@media (max-width: 640px) {
  .table-scroll { overflow-x: visible; border: 0; border-radius: 0; }
  .table-scroll > table { min-width: 0 !important; }
  .table-scroll thead {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap; border: 0;
  }
  .table-scroll tr {
    display: block;
    border: 1px solid var(--ink);
    background: var(--paper-white);
    padding: 12px 14px;
    margin-bottom: 10px;
  }
  .table-scroll tr:last-child { margin-bottom: 0; }
  .table-scroll td {
    display: block;
    border: 0;
    padding: 0;
  }
  .table-scroll td:first-child {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 5px;
  }
  .table-scroll td + td {
    color: var(--ink-soft);
    padding-left: 12px;
    border-left: 2px solid var(--accent);
  }
}

/* =====================================================================
   CARD HOVER — "pick the clipping off the board"
   Paper cards straighten and lift on hover, casting a deeper shadow,
   as if a hand lifted the pinned clipping. CSS-only, keyboard-focusable.
   ===================================================================== */
.ad, .plan, .byline, .method__col {
  transition:
    transform 280ms cubic-bezier(.2,.7,.2,1),
    box-shadow 280ms ease,
    filter 280ms ease;
}
.ad:hover, .plan:hover, .byline:hover, .method__col:hover,
.ad:focus-within, .plan:focus-within, .byline:focus-within {
  transform: translateY(-6px) rotate(0deg);
  box-shadow: var(--shadow-lift);
  z-index: 5;
}
/* warm ink-glow accent line rises under the byline photo on hover */
.byline:hover .byline__photo { filter: sepia(0.06) contrast(1.05); }
.plan:hover .amount { color: var(--accent); }

/* keep the micro-lift honest for reduced-motion users: shadow only */
@media (prefers-reduced-motion: reduce) {
  .ad, .plan, .byline, .method__col { transition: box-shadow 200ms ease; }
  .ad:hover, .plan:hover, .byline:hover, .method__col:hover,
  .ad:focus-within, .plan:focus-within, .byline:focus-within {
    transform: none;
    box-shadow: var(--shadow-lift);
  }
}

.scroll-progress{position:fixed;top:0;left:0;height:3px;width:0;background:var(--accent);z-index:9998;transition:width 80ms linear;pointer-events:none}


/* kk robust hamburger/X icon + header above drawer (auto-fix) */
.nav-toggle{position:relative;display:inline-block !important;padding:0 !important;gap:0 !important;overflow:visible}
.nav-toggle span{position:absolute !important;left:50% !important;top:50% !important;width:24px !important;height:2px !important;margin:0 !important;translate:-50% -50%;transform:translateY(-7px);opacity:1;transition:transform .25s ease,opacity .2s ease}
.nav-toggle span:nth-child(2){transform:translateY(0)}
.nav-toggle span:nth-child(3){transform:translateY(7px)}
.nav-toggle[aria-expanded="true"] span:nth-child(1),.nav-toggle.is-open span:nth-child(1),.nav-toggle.open span:nth-child(1),.nav-toggle.active span:nth-child(1){transform:rotate(45deg)}
.nav-toggle[aria-expanded="true"] span:nth-child(2),.nav-toggle.is-open span:nth-child(2),.nav-toggle.open span:nth-child(2),.nav-toggle.active span:nth-child(2){opacity:0;transform:scaleX(0)}
.nav-toggle[aria-expanded="true"] span:nth-child(3),.nav-toggle.is-open span:nth-child(3),.nav-toggle.open span:nth-child(3),.nav-toggle.active span:nth-child(3){transform:rotate(-45deg)}
@media (min-width:1080px){.nav-toggle{display:none !important}}
.site-header{position:fixed;z-index:1100}


/* kk robust hamburger/X icon + header above drawer (auto-fix) */
.nav-toggle{position:relative;display:inline-block !important;padding:0 !important;gap:0 !important;overflow:visible}
.nav-toggle span{position:absolute !important;left:50% !important;top:50% !important;width:24px !important;height:2px !important;margin:0 !important;translate:-50% -50%;transform:translateY(-7px);opacity:1;transition:transform .25s ease,opacity .2s ease}
.nav-toggle span:nth-child(2){transform:translateY(0)}
.nav-toggle span:nth-child(3){transform:translateY(7px)}
.nav-toggle[aria-expanded="true"] span:nth-child(1),.nav-toggle.is-open span:nth-child(1),.nav-toggle.open span:nth-child(1),.nav-toggle.active span:nth-child(1){transform:rotate(45deg)}
.nav-toggle[aria-expanded="true"] span:nth-child(2),.nav-toggle.is-open span:nth-child(2),.nav-toggle.open span:nth-child(2),.nav-toggle.active span:nth-child(2){opacity:0;transform:scaleX(0)}
.nav-toggle[aria-expanded="true"] span:nth-child(3),.nav-toggle.is-open span:nth-child(3),.nav-toggle.open span:nth-child(3),.nav-toggle.active span:nth-child(3){transform:rotate(-45deg)}
@media (min-width:1080px){.nav-toggle{display:none !important}}

/* autofix: header CTA (Reserve a Column) padding/contrast */
.nav-desktop a.nav-cta,header a.nav-cta{padding:10px 20px !important;display:inline-flex !important;align-items:center;white-space:nowrap;width:auto !important;max-width:none !important;line-height:1.15}
