/* ==========================================================================
   LawyerSibling.in — Ink & Docket
   Shared stylesheet
   ========================================================================== */

:root {
  --ink:        #14233F;
  --ink-2:      #1E3155;
  --ink-3:      #0E1A30;
  --paper:      #FBFAF6;
  --paper-2:    #F2EEE4;
  --paper-3:    #ECE5D6;
  --brass:      #A67C2E;
  --brass-soft: #C9A24B;
  --tape:       #9B2A23;
  --slate:      #525866;
  --slate-soft: #7A8090;
  --line:       #E4DECF;
  --line-ink:   rgba(255,255,255,.14);
  --white:      #ffffff;

  --font-display: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-body:    'Public Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, SFMono-Regular, monospace;

  --maxw: 1200px;
  --gut: clamp(16px, 4vw, 40px);
  --radius: 4px;

  --shadow: 0 1px 2px rgba(20,35,63,.05), 0 8px 24px rgba(20,35,63,.06);
}

/* Reset ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

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

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }

/* Utility / citation type ------------------------------------------------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--brass); font-weight: 500; margin: 0 0 10px;
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--brass); display: inline-block; }

.cite {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .04em; color: var(--slate-soft);
  text-transform: uppercase;
}
.tag {
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); background: var(--paper-3); padding: 4px 9px; border-radius: 2px;
  display: inline-block; font-weight: 500;
}
.tag--live { background: var(--tape); color: #fff; }
.tag--brass { background: rgba(166,124,46,.14); color: var(--brass); }

/* ==========================================================================
   Top bar
   ========================================================================== */
.topbar {
  background: var(--ink-3); color: var(--paper-2);
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .03em;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 38px; gap: 16px; }
.topbar .edition { color: var(--brass-soft); }
.topbar a { color: var(--paper-2); opacity: .85; }
.topbar a:hover { opacity: 1; color: var(--brass-soft); }
.topbar .tb-links { display: flex; gap: 18px; }
@media (max-width: 720px){ .topbar .tb-links { display: none; } }

/* ==========================================================================
   Masthead + nav
   ========================================================================== */
.masthead { background: var(--ink); color: var(--paper); border-bottom: 3px solid var(--brass); }
.masthead .wrap { display: flex; align-items: center; gap: 24px; min-height: 92px; }

.brand { display: flex; align-items: center; gap: 14px; margin-right: auto; }
.brand .seal {
  width: 46px; height: 46px; border-radius: 50%;
  border: 2px solid var(--brass); display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--brass-soft);
  flex: none;
}
.brand .wordmark { line-height: 1; }
.brand .wordmark b { font-family: var(--font-display); font-weight: 600; font-size: 27px; letter-spacing: -.02em; display: block; }
.brand .wordmark span { font-family: var(--font-mono); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--brass-soft); }

.masthead-search {
  display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.07);
  border: 1px solid var(--line-ink); border-radius: 100px; padding: 8px 16px; min-width: 230px;
}
.masthead-search input {
  background: none; border: 0; color: var(--paper); font-family: var(--font-body); font-size: 14px; width: 100%;
}
.masthead-search input::placeholder { color: rgba(251,250,246,.55); }
.masthead-search svg { flex: none; opacity: .7; }
@media (max-width: 880px){ .masthead-search { display: none; } }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-ink); color: var(--paper);
  border-radius: var(--radius); padding: 9px 11px; cursor: pointer;
}

/* primary nav bar */
.primnav { background: var(--ink-2); border-bottom: 1px solid var(--line-ink); position: sticky; top: 0; z-index: 50; }
.primnav .wrap { display: flex; align-items: stretch; gap: 2px; }
.primnav a {
  color: var(--paper); font-family: var(--font-body); font-weight: 600; font-size: 14px;
  letter-spacing: .01em; padding: 14px 16px; position: relative; white-space: nowrap; opacity: .9;
}
.primnav a:hover, .primnav a[aria-current="page"] { opacity: 1; }
.primnav a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 3px; background: var(--brass);
  transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.primnav a:hover::after, .primnav a[aria-current="page"]::after { transform: scaleX(1); }
@media (max-width: 880px){
  .nav-toggle { display: inline-block; }
  .primnav { position: static; }
  .primnav .wrap { display: none; flex-direction: column; padding-bottom: 8px; }
  .primnav.open .wrap { display: flex; }
  .primnav a::after { display: none; }
  .primnav a { border-bottom: 1px solid var(--line-ink); }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  font-family: var(--font-body); font-weight: 700; font-size: 15px;
  padding: 13px 24px; border-radius: var(--radius); border: 1.5px solid transparent;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--brass); color: #fff; }
.btn--primary:hover { background: #946d24; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--ink-2); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--block { width: 100%; justify-content: center; }
.btn--lg { padding: 16px 30px; font-size: 16px; }

/* ==========================================================================
   Section scaffolding
   ========================================================================== */
.band { padding-block: clamp(44px, 7vw, 84px); }
.band--paper2 { background: var(--paper-2); }
.band--ink { background: var(--ink); color: var(--paper); }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; border-bottom: 2px solid var(--ink); padding-bottom: 12px; }
.band--ink .section-head { border-color: var(--brass); }
.section-head h2 { font-size: clamp(24px, 3.4vw, 34px); }
.section-head .more { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--brass); }
.section-head .more:hover { text-decoration: underline; }

/* ==========================================================================
   Hero / lead docket
   ========================================================================== */
.hero { padding-top: clamp(28px, 4vw, 44px); padding-bottom: clamp(36px, 5vw, 60px); }
.hero-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(24px, 3.5vw, 44px); }
@media (max-width: 900px){ .hero-grid { grid-template-columns: 1fr; } }

.lead-story { position: relative; }
.lead-story .ph { aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; margin-bottom: 18px; }
.lead-story h1 { font-size: clamp(30px, 4.6vw, 50px); margin: 12px 0 14px; }
.lead-story .dek { font-size: 19px; color: var(--slate); max-width: 60ch; }
.byline { display: flex; align-items: center; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.byline .author { font-weight: 700; font-size: 14px; }
.byline .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--slate-soft); }

.ribbon { position: relative; padding-left: 18px; }
.ribbon::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; background: var(--tape); border-radius: 2px; }

.lead-aside { display: flex; flex-direction: column; gap: 18px; border-top: 2px solid var(--ink); padding-top: 16px; }
.mini { display: grid; grid-template-columns: 74px 1fr; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.mini:last-child { border-bottom: 0; padding-bottom: 0; }
.mini .ph { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; }
.mini h3 { font-size: 17px; line-height: 1.22; margin-bottom: 6px; }
.mini h3 a:hover { color: var(--brass); }
.mini .cite { font-size: 10px; }

/* placeholder gradient image blocks (replace with <img>) */
.ph[data-img="1"]{ background: linear-gradient(135deg,#1E3155,#14233F 60%,#0E1A30); }
.ph[data-img="2"]{ background: linear-gradient(135deg,#3a4a2f,#1f2b1a); }
.ph[data-img="3"]{ background: linear-gradient(135deg,#5a3b2a,#2e1d14); }
.ph[data-img="4"]{ background: linear-gradient(135deg,#34324f,#1b1a2e); }
.ph[data-img="5"]{ background: linear-gradient(135deg,#2a4750,#13262b); }
.ph[data-img="6"]{ background: linear-gradient(135deg,#4a3550,#241829); }
.ph .ph-label { color: rgba(255,255,255,.5); font-family: var(--font-mono); font-size: 10px; letter-spacing: .15em; text-transform: uppercase; padding: 10px 12px; }

/* ==========================================================================
   News card grid
   ========================================================================== */
.cardgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 32px); }
@media (max-width: 860px){ .cardgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .cardgrid { grid-template-columns: 1fr; } }

.card { display: flex; flex-direction: column; }
.card .ph { aspect-ratio: 3/2; border-radius: var(--radius); overflow: hidden; margin-bottom: 14px; }
.card .tag { margin-bottom: 10px; align-self: flex-start; }
.card h3 { font-size: 20px; line-height: 1.18; margin-bottom: 8px; }
.card h3 a:hover { color: var(--brass); }
.card p { color: var(--slate); font-size: 15px; margin-bottom: 12px; }
.card .cite { margin-top: auto; }

/* ==========================================================================
   Current affairs list band
   ========================================================================== */
.affairs { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 4vw, 56px); }
@media (max-width: 820px){ .affairs { grid-template-columns: 1fr; } }
.affairs-list li { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.affairs-list .num { font-family: var(--font-display); font-size: 34px; color: var(--brass-soft); font-weight: 600; line-height: 1; }
.affairs-list h3 { font-size: 19px; margin-bottom: 6px; }
.affairs-list h3 a:hover { color: var(--brass); }
.affairs-list p { font-size: 14px; color: var(--slate); margin: 0; }

/* ==========================================================================
   Legal facts strip  (signature "Did You Know" cards)
   ========================================================================== */
.facts .fact-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
@media (max-width: 820px){ .facts .fact-grid { grid-template-columns: 1fr; } }
.fact {
  background: var(--ink-2); border: 1px solid var(--line-ink); border-radius: var(--radius);
  padding: 26px 24px; position: relative; overflow: hidden;
}
.fact::before {
  content: "§"; position: absolute; right: 16px; top: 6px; font-family: var(--font-display);
  font-size: 78px; color: rgba(201,162,75,.16); line-height: 1;
}
.fact .k { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-soft); margin-bottom: 12px; }
.fact p { font-family: var(--font-display); font-size: 19px; line-height: 1.35; color: var(--paper); margin: 0; position: relative; }
.fact .src { font-family: var(--font-mono); font-size: 10px; color: rgba(251,250,246,.5); margin-top: 14px; letter-spacing: .05em; }

/* ==========================================================================
   Explainers / blog row
   ========================================================================== */
.explainer { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; align-items: center; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.explainer .ph { aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; }
.explainer h3 { font-size: 21px; margin: 10px 0 8px; }
.explainer p { color: var(--slate); font-size: 14px; margin-bottom: 10px; }
@media (max-width: 560px){ .explainer { grid-template-columns: 1fr; } }

/* ==========================================================================
   Newsletter / lead band
   ========================================================================== */
.cta-band { background: var(--ink); color: var(--paper); }
.cta-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 820px){ .cta-grid { grid-template-columns: 1fr; } }
.cta-grid h2 { font-size: clamp(26px, 4vw, 40px); margin-bottom: 14px; }
.cta-grid p { color: rgba(251,250,246,.78); font-size: 17px; }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-form input {
  flex: 1; min-width: 200px; padding: 14px 16px; border-radius: var(--radius); border: 1px solid var(--line-ink);
  background: rgba(255,255,255,.07); color: var(--paper); font-family: var(--font-body); font-size: 15px;
}
.inline-form input::placeholder { color: rgba(251,250,246,.55); }

/* ==========================================================================
   Forms (lead gen)
   ========================================================================== */
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 7px; }
.field .req { color: var(--tape); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 16px; color: var(--ink); background: var(--white);
  transition: border-color .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brass); }
.field textarea { resize: vertical; min-height: 110px; }
.field .hint { font-size: 12.5px; color: var(--slate-soft); margin-top: 6px; }
.field--error input, .field--error select, .field--error textarea { border-color: var(--tape); }
.err-msg { color: var(--tape); font-size: 12.5px; margin-top: 6px; display: none; }
.field--error .err-msg { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px){ .form-row { grid-template-columns: 1fr; } }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--slate); }
.consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--brass); }

/* ==========================================================================
   Article page
   ========================================================================== */
.breadcrumb { font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; color: var(--slate-soft); text-transform: uppercase; padding: 18px 0; }
.breadcrumb a:hover { color: var(--brass); }
.breadcrumb span { margin: 0 6px; }

.article-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: clamp(32px, 5vw, 64px); padding-bottom: 60px; }
@media (max-width: 900px){ .article-layout { grid-template-columns: 1fr; } }

.article-head h1 { font-size: clamp(30px, 5vw, 50px); margin: 12px 0 16px; }
.article-head .dek { font-size: 20px; color: var(--slate); margin-bottom: 18px; max-width: 64ch; }
.article-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.article-meta .avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--ink-2); color: var(--brass-soft); display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; }
.article-figure { margin: 24px 0; }
.article-figure .ph { aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; }
.article-figure figcaption { font-family: var(--font-mono); font-size: 11px; color: var(--slate-soft); margin-top: 8px; letter-spacing: .03em; }

.prose { font-size: 18px; line-height: 1.72; }
.prose h2 { font-size: 27px; margin: 36px 0 14px; }
.prose h3 { font-size: 21px; margin: 28px 0 10px; }
.prose p { margin: 0 0 1.1em; }
.prose a { color: var(--brass); text-decoration: underline; text-underline-offset: 2px; }
.prose ul.bullets { list-style: disc; padding-left: 22px; margin: 0 0 1.2em; }
.prose ul.bullets li { margin-bottom: 8px; }
.prose blockquote {
  margin: 26px 0; padding: 18px 24px; border-left: 4px solid var(--brass); background: var(--paper-2);
  font-family: var(--font-display); font-size: 21px; line-height: 1.4; border-radius: 0 var(--radius) var(--radius) 0;
}
.prose .pull-cite { font-family: var(--font-mono); font-size: 12px; color: var(--slate-soft); display: block; margin-top: 10px; letter-spacing: .04em; }

.keytakeaways { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin: 28px 0; }
.keytakeaways h3 { font-family: var(--font-body); font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); margin-bottom: 12px; }
.keytakeaways ul { list-style: none; }
.keytakeaways li { padding-left: 26px; position: relative; margin-bottom: 9px; font-size: 15.5px; }
.keytakeaways li::before { content: "§"; position: absolute; left: 0; color: var(--brass); font-family: var(--font-display); font-weight: 600; }

/* sticky aside */
.article-aside .box { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 22px; background: var(--white); }
.article-aside .box h4 { font-family: var(--font-body); font-weight: 800; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.article-aside .rel { padding: 11px 0; border-bottom: 1px solid var(--line); }
.article-aside .rel:last-child { border-bottom: 0; }
.article-aside .rel a { font-family: var(--font-display); font-size: 15.5px; line-height: 1.25; font-weight: 600; }
.article-aside .rel a:hover { color: var(--brass); }
.article-aside .rel .cite { display: block; margin-top: 4px; font-size: 10px; }
.aside-cta { background: var(--ink); color: var(--paper); }
.aside-cta h4 { color: var(--brass-soft); border-color: var(--line-ink); }
.aside-cta p { font-size: 14px; color: rgba(251,250,246,.8); margin-bottom: 14px; }

/* faq */
.faq { border-top: 1px solid var(--line); margin-top: 12px; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; font-family: var(--font-display); font-size: 19px; font-weight: 600; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brass); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 16px; color: var(--slate); margin: 0; }

/* ==========================================================================
   Lead gen page
   ========================================================================== */
.consult-hero { background: var(--ink); color: var(--paper); padding-block: clamp(40px, 6vw, 72px); }
.consult-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 860px){ .consult-grid { grid-template-columns: 1fr; } }
.consult-hero h1 { font-size: clamp(32px, 5vw, 52px); margin: 14px 0 16px; }
.consult-hero .dek { font-size: 19px; color: rgba(251,250,246,.82); margin-bottom: 24px; max-width: 52ch; }
.trust-list { display: grid; gap: 14px; margin-top: 26px; }
.trust-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.trust-list .ck { width: 22px; height: 22px; border-radius: 50%; background: var(--brass); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; flex: none; margin-top: 1px; }
.proof { display: flex; gap: 28px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line-ink); flex-wrap: wrap; }
.proof .stat b { font-family: var(--font-display); font-size: 32px; color: var(--brass-soft); display: block; line-height: 1; }
.proof .stat span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgba(251,250,246,.7); }

.lead-card { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); box-shadow: 0 18px 50px rgba(14,26,48,.25); border-top: 4px solid var(--brass); }
.lead-card h2 { font-size: 25px; margin-bottom: 6px; }
.lead-card .sub { color: var(--slate); font-size: 14px; margin-bottom: 22px; }
.secured { display: flex; align-items: center; gap: 8px; justify-content: center; font-family: var(--font-mono); font-size: 11px; color: var(--slate-soft); margin-top: 14px; letter-spacing: .04em; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
@media (max-width: 720px){ .steps { grid-template-columns: 1fr; } }
.step { text-align: left; }
.step .n { font-family: var(--font-mono); font-size: 12px; color: var(--brass); letter-spacing: .1em; }
.step h3 { font-size: 19px; margin: 8px 0 6px; }
.step p { color: var(--slate); font-size: 14px; margin: 0; }

/* practice areas chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chips span { font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; padding: 8px 14px; border: 1px solid var(--line); border-radius: 100px; background: var(--white); }

/* ==========================================================================
   Thank you page
   ========================================================================== */
.ty { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-block: 60px; }
.ty .badge { width: 92px; height: 92px; border-radius: 50%; background: rgba(166,124,46,.12); border: 2px solid var(--brass); display: grid; place-items: center; margin: 0 auto 24px; }
.ty h1 { font-size: clamp(32px, 5vw, 50px); margin-bottom: 14px; }
.ty .dek { font-size: 19px; color: var(--slate); max-width: 56ch; margin: 0 auto 14px; }
.ty .ref { font-family: var(--font-mono); font-size: 13px; color: var(--ink); background: var(--paper-2); display: inline-block; padding: 8px 16px; border-radius: var(--radius); margin: 10px 0 26px; letter-spacing: .04em; }
.ty .next { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin: 40px 0; text-align: left; }
@media (max-width: 720px){ .ty .next { grid-template-columns: 1fr; } }
.ty .next a { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: var(--white); transition: transform .15s ease, box-shadow .15s ease; }
.ty .next a:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.ty .next .k { font-family: var(--font-mono); font-size: 11px; color: var(--brass); letter-spacing: .1em; text-transform: uppercase; }
.ty .next h3 { font-size: 19px; margin: 8px 0 4px; }
.ty .next p { color: var(--slate); font-size: 14px; margin: 0; }
.ty .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   Footer
   ========================================================================== */
.foot { background: var(--ink-3); color: var(--paper-2); padding-top: 56px; }
.foot .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--line-ink); }
@media (max-width: 820px){ .foot .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px){ .foot .cols { grid-template-columns: 1fr; } }
.foot h4 { font-family: var(--font-body); font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-soft); margin-bottom: 16px; }
.foot ul li { margin-bottom: 10px; }
.foot ul a { font-size: 14px; opacity: .82; }
.foot ul a:hover { opacity: 1; color: var(--brass-soft); }
.foot .blurb { font-size: 14px; opacity: .8; max-width: 38ch; line-height: 1.6; margin-top: 14px; }
.foot .brand .wordmark b { color: var(--paper); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0 34px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .03em; opacity: .7; }
.foot-bottom a:hover { color: var(--brass-soft); }

.disclaimer { background: var(--ink); color: rgba(251,250,246,.6); font-size: 12px; line-height: 1.6; padding: 16px 0; border-top: 1px solid var(--line-ink); }

/* helpers */
.center { text-align: center; }
.mt-s { margin-top: 14px; }
.mt-m { margin-top: 26px; }
.hide { display: none !important; }
.stack-sm > * + * { margin-top: 12px; }
