/* ==========================================================================
   EricaZepko.com — site styles
   Direction: luxury, modern, desirable — editorial, quiet, restrained.
   Display: Newsreader (editorial serif, used selectively).
   Sans: Manrope (nav, body, forms, utility).
   Surfaces: warm white dominant; navy anchors, never consumes.
   ========================================================================== */

:root {
  /* color */
  --navy: #1D2838;          /* ink — shared family token */
  --charcoal: #2E333A;      /* soft charcoal — body text */
  --slate: #5B6672;         /* charcoal-slate — meta, secondary (5.1:1 on paper) */
  --slate-2: #7C8793;       /* lighter slate — hairline marks only, never text */
  --ivory: #F8F6F2;         /* paper — dominant surface (shared) */
  --white: #FFFFFF;         /* lifted panels */
  --cool: #EEF0F2;          /* mist (shared) */
  --taupe-surface: #F1ECE5; /* restrained taupe-gray surface */
  --slate-surface: #E3E8EC; /* slate surface (shared) */
  --rule: #D6D2CB;          /* rule (shared) */
  --rule-strong: #B5AA9E;   /* cord (shared) */
  --accent: #3F5470;        /* cord-ink (shared) — links, hover, focus */

  /* type */
  --font-display: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-sans: "Manrope", "Helvetica Neue", Arial, sans-serif;

  /* layout */
  --measure: 62ch;
  --container: 1240px;
  --gutter: clamp(20px, 4.5vw, 56px);
  --space-1: 0.5rem; --space-2: 1rem; --space-3: 1.5rem; --space-4: 2.5rem; --space-5: 4rem; --space-6: 6rem;
  --section: clamp(4.5rem, 9vw, 7.5rem);
}

/* --- reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  font-optical-sizing: auto;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; color: var(--navy); }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; text-decoration-color: var(--rule-strong); transition: color 160ms ease, text-decoration-color 160ms ease; }
a:hover { color: var(--navy); text-decoration-color: var(--navy); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 1.5px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: var(--gutter); top: -100px; background: var(--navy); color: var(--white); padding: 0.6rem 1rem; font-size: 0.9rem; z-index: 100; text-decoration: none; }
.skip-link:focus { top: 12px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* --- type system ------------------------------------------------------- */
/* Display serif: hero, section headings, portfolio names, article titles.
   Everything else is Manrope. */
.display, .h2, h2, .article-head h1, .page-head h1, .work-row h3, .notfound .display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
.display { font-size: clamp(2.5rem, 4.5vw, 3.9rem); line-height: 1.06; }
h1, .h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.2rem, 3.8vw, 3.2rem); line-height: 1.08; letter-spacing: -0.012em; text-wrap: balance; }
h2, .h2 { font-size: clamp(1.8rem, 2.8vw, 2.5rem); line-height: 1.14; }
h3, .h3 { font-family: var(--font-sans); font-weight: 600; font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.3; letter-spacing: -0.01em; }
h4, .h4 { font-family: var(--font-sans); font-weight: 600; font-size: 0.98rem; line-height: 1.35; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.55; color: var(--charcoal); max-width: var(--measure); font-weight: 400; }
.meta { font-family: var(--font-sans); font-size: 0.84rem; font-weight: 500; color: var(--slate); letter-spacing: 0.01em; }
.eyebrow { font-family: var(--font-sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--slate); }
.measure { max-width: var(--measure); }
.muted { color: var(--slate); }

/* --- layout ------------------------------------------------------------ */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--gray { background: var(--cool); }
.section--warm { background: var(--taupe-surface); }
.section--white { background: var(--white); }
.grid { display: grid; gap: var(--space-4); }
@media (min-width: 860px) {
  .grid-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1.5rem, 3vw, 3rem); }
  .col-4 { grid-column: span 4; } .col-5 { grid-column: span 5; } .col-6 { grid-column: span 6; }
  .col-7 { grid-column: span 7; } .col-8 { grid-column: span 8; }
  .col-8.start-2 { grid-column: 2 / 10; } .col-7.start-6 { grid-column: 6 / 13; }
  .col-6.start-7 { grid-column: 7 / 13; } .col-4.start-9 { grid-column: 9 / 13; }
  .col-6.start-6 { grid-column: 6 / 12; } .col-7.start-5 { grid-column: 5 / 12; }
}
.rule { border: 0; border-top: 1px solid var(--rule); margin: 0; }

/* --- actions ----------------------------------------------------------- */
.button, .button-quiet, .action {
  font-family: var(--font-sans); font-weight: 600; font-size: 0.92rem; letter-spacing: 0.01em;
  text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem; cursor: pointer;
}
.button {
  background: var(--navy); color: var(--ivory); padding: 1rem 1.6rem; border: 1px solid var(--navy);
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}
.button:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.button:active { background: #182130; border-color: #182130; }
.button-quiet { color: var(--navy); padding: 1rem 0.1rem; border-bottom: 1px solid var(--rule-strong); transition: border-color 180ms ease; }
.button-quiet:hover { border-bottom-color: var(--navy); }
.action { color: var(--navy); border-bottom: 1px solid var(--rule-strong); padding-bottom: 0.25rem; transition: border-color 180ms ease, color 180ms ease; }
.action:hover { border-bottom-color: var(--navy); }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); align-items: center; }

/* --- header ------------------------------------------------------------ */
.site-header { position: relative; z-index: 20; background: var(--ivory); border-bottom: 1px solid var(--rule); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 80px; gap: var(--space-3); }
.wordmark { font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; letter-spacing: -0.01em; color: var(--navy); text-decoration: none; }
.wordmark:hover { color: var(--navy); }
.nav { display: flex; align-items: center; gap: clamp(1.5rem, 2.6vw, 2.75rem); }
.nav a { font-family: var(--font-sans); font-weight: 500; font-size: 0.92rem; color: var(--charcoal); text-decoration: none; padding: 0.4rem 0; border-bottom: 1px solid transparent; transition: border-color 160ms ease, color 160ms ease; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--navy); color: var(--navy); }
.nav-toggle { display: none; background: none; border: 1px solid var(--rule-strong); font-family: var(--font-sans); font-weight: 600; font-size: 0.86rem; color: var(--navy); padding: 0.55rem 0.9rem; cursor: pointer; }
@media (max-width: 859px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: flex-start; gap: 0; background: var(--ivory); border-bottom: 1px solid var(--rule); padding: var(--space-2) var(--gutter) var(--space-3); }
  .nav.is-open { display: flex; }
  .nav a { width: 100%; padding: 0.9rem 0; border-bottom: 1px solid var(--rule); font-size: 1.05rem; }
  .nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--rule); color: var(--accent); }
}

/* --- photography treatment ---------------------------------------------- */
/* Natural color, controlled saturation, soft contrast, subtle grain.
   No navy overlays. */
.photo { position: relative; overflow: hidden; background: var(--cool); margin: 0; }
.photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.86) contrast(0.95) brightness(1.01); }
.photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.16; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.35 0 0 0 0 0.33 0 0 0 0 0.3 0 0 0 0.55 0'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
}
.portrait { aspect-ratio: 4 / 5; }
.portrait img { object-position: 50% 35%; }
.img-slot { aspect-ratio: 3 / 2; }
.img-slot--tall { aspect-ratio: 4 / 5; }
.img-slot--wide { aspect-ratio: 2 / 1; }
.img-slot--square { aspect-ratio: 1 / 1; max-width: 420px; }
/* one soft reveal on load */
@keyframes reveal { from { opacity: 0; clip-path: inset(0 0 6% 0); } to { opacity: 1; clip-path: inset(0); } }
.photo--reveal { animation: reveal 900ms cubic-bezier(.2,.6,.2,1) both; }

/* --- hero -------------------------------------------------------------- */
.hero { padding-block: clamp(3.5rem, 7vw, 6.5rem) clamp(3.5rem, 7vw, 6rem); }
.hero .eyebrow { margin-bottom: var(--space-3); }
.hero .display { margin-bottom: var(--space-3); max-width: 20ch; }
.hero .lede { margin-bottom: var(--space-4); max-width: 38ch; }
.hero-figure { position: relative; }
.hero-figure .portrait { position: relative; z-index: 1; max-width: 440px; }
/* offset tonal block behind the portrait — the one overlapping element */
.hero-figure::before {
  content: ""; position: absolute; z-index: 0; inset: -1.5rem auto auto -1.5rem;
  width: min(440px, 100%); aspect-ratio: 4 / 5; background: var(--taupe-surface);
}
@media (min-width: 860px) {
  .hero .grid-12 { align-items: start; }
  .hero-figure { margin-top: 2.5rem; justify-self: end; }
}
@media (max-width: 859px) {
  .hero-figure { margin-left: 1.5rem; max-width: 380px; }
}

/* --- point of view + connection drawing -------------------------------- */
.pov { padding-block: var(--section) clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--rule); }
.pov .h2 { max-width: 18ch; }
.pov p { font-size: 1.1rem; max-width: 54ch; }
.connections { margin-top: clamp(2.5rem, 6vw, 4.5rem); color: var(--navy); }
.connections svg { width: 100%; height: auto; overflow: visible; }
.connections .line { fill: none; stroke: var(--rule-strong); stroke-width: 1; }
.connections .line--return { stroke: var(--accent); opacity: 0.55; }
.connections .node { fill: var(--ivory); stroke: var(--navy); stroke-width: 1; }
.connections text { font-family: var(--font-sans); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; fill: var(--navy); text-transform: uppercase; }
.connections text.cap { font-size: 11.5px; font-weight: 400; letter-spacing: 0; text-transform: none; fill: var(--slate); }
.connections text.note { font-family: var(--font-display); font-style: italic; font-size: 13px; font-weight: 400; letter-spacing: 0; text-transform: none; fill: var(--accent); }
.connections .chain { display: none; }
@media (max-width: 999px) {
  .connections svg { display: none; }
  .connections .chain { display: grid; gap: 0; list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--rule-strong); }
  .connections .chain li { position: relative; padding: 0.55rem 0 0.55rem 1.25rem; }
  .connections .chain li::before { content: ""; position: absolute; left: -4.5px; top: 1.05rem; width: 8px; height: 8px; border-radius: 50%; background: var(--ivory); border: 1px solid var(--navy); }
  .connections .chain strong { display: block; font-family: var(--font-sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy); }
  .connections .chain span { display: block; font-size: 0.95rem; color: var(--slate); margin-top: 0.15rem; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.connections .line { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 1.8s cubic-bezier(.3,.5,.2,1) 300ms forwards; }
.connections .line--return { animation-delay: 1.4s; animation-duration: 1.6s; }
@media (prefers-reduced-motion: reduce) { .connections .line { stroke-dasharray: none; stroke-dashoffset: 0; animation: none; } }

/* --- work rows --------------------------------------------------------- */
.work-intro { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.work-intro .lede { margin-top: var(--space-2); }
.work-row { display: grid; gap: var(--space-3); padding-block: clamp(2.25rem, 4.5vw, 3.75rem); border-top: 1px solid var(--rule); }
.work-row:last-of-type { border-bottom: 1px solid var(--rule); }
[data-row-link] { cursor: pointer; }
[data-row-link]:hover .work-action, [data-row-link]:hover > .action { border-bottom-color: var(--navy); }
.is-external::after { content: "\2197"; font-size: 0.8em; margin-left: 0.35em; opacity: 0.7; }
.work-action { white-space: nowrap; }
.work-action::after { content: "\2192"; display: inline-block; margin-left: 0.4em; opacity: 0.75; transition: transform 180ms ease, opacity 180ms ease; }
.work-action.is-external::after { content: "\2197"; font-size: 1em; }
[data-row-link]:hover .work-action::after, .work-action:focus-visible::after { transform: translateX(3px); opacity: 1; }
.work-row .meta { margin-bottom: 0.5rem; }
.work-row h3 { font-size: clamp(1.7rem, 2.4vw, 2.1rem); line-height: 1.12; margin-bottom: 0.7rem; }
.work-row p { max-width: 52ch; }
.work-row .work-action { align-self: start; }
/* portfolio visual: a photo slot that, until photography exists, carries the entry's
   drawn mark on a tonal surface. Varied aspect ratios per row. */
.work-visual { position: relative; background: var(--cool); overflow: hidden; }
.work-visual.is-warm { background: var(--taupe-surface); }
.work-visual.is-slate { background: var(--slate-surface); }
.work-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.work-visual .mark { fill: none; stroke: var(--navy); stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; opacity: 0.85; }
.work-visual .mark--light { stroke: var(--slate-2); }
.work-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 860px) {
  .work-row { grid-template-columns: 4fr 5fr 2.5fr; column-gap: clamp(2rem, 4vw, 4rem); align-items: start; }
  .work-row .work-action { justify-self: end; padding-top: 0.5rem; }
  .work-row:nth-of-type(even) { grid-template-columns: 5fr 4fr 2.5fr; }
  .work-row:nth-of-type(even) .work-visual { order: 2; }
  .work-row:nth-of-type(even) .work-copy { order: 1; }
  .work-row:nth-of-type(even) .work-action { order: 3; }
}

/* --- about preview ----------------------------------------------------- */
.about-preview p { font-size: 1.1rem; max-width: 54ch; }

/* --- newsletter -------------------------------------------------------- */
.newsletter .h2 { max-width: 16ch; }
.form-inline { display: grid; gap: var(--space-2); }
@media (min-width: 640px) { .form-inline { grid-template-columns: 1fr 1.4fr auto; align-items: end; } }
.form-inline .button { height: 3.2rem; }
.consent { font-size: 0.88rem; color: var(--slate); display: flex; gap: 0.6rem; align-items: flex-start; margin-top: var(--space-2); }
.consent input { margin-top: 0.3rem; }

/* --- forms ------------------------------------------------------------- */
label, .inquiry-choices legend { font-family: var(--font-sans); font-weight: 600; font-size: 0.86rem; color: var(--navy); display: block; margin-bottom: 0.45rem; }
label .optional { color: var(--slate); font-weight: 400; }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="date"], textarea, select {
  width: 100%; font: inherit; color: var(--charcoal); background: var(--white);
  border: 1px solid var(--rule); padding: 0.9rem 1rem; border-radius: 0; transition: border-color 160ms ease;
}
input:focus, textarea:focus, select:focus { border-color: var(--navy); }
textarea { min-height: 9.5rem; resize: vertical; }
.field { margin-bottom: var(--space-3); }
.field-row { display: grid; gap: var(--space-3); }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field-row:not(:has(.field:not([hidden]))) { display: none; }
.field-error { color: #8C3B2E; font-size: 0.88rem; margin-top: 0.35rem; display: none; }
.field.has-error .field-error { display: block; }
.field.has-error input, .field.has-error textarea { border-color: #8C3B2E; }
.inquiry-choices { border: 0; padding: 0; margin-inline: 0; min-width: 0; }
.choices { display: grid; gap: 0.6rem; }
.choice { display: flex; gap: 0.8rem; align-items: flex-start; padding: 1rem 1.1rem; border: 1px solid var(--rule); background: var(--white); cursor: pointer; transition: border-color 160ms ease; }
.choice:hover { border-color: var(--rule-strong); }
.choice:has(input:checked) { border-color: var(--navy); }
.choice input { margin-top: 0.3rem; }
.choice span { font-weight: 400; font-size: 0.98rem; color: var(--charcoal); }
.choice strong { display: block; font-weight: 600; font-size: 0.94rem; color: var(--navy); margin-bottom: 0.15rem; }
.form-status { margin-top: var(--space-3); padding: 1rem 1.15rem; background: var(--cool); font-size: 0.94rem; display: none; }
.form-status.is-visible { display: block; }

/* --- contact routes (umbrella front door) ------------------------------ */
.routes { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 clamp(2rem, 4vw, 4rem); border-top: 1px solid var(--rule); }
@media (min-width: 760px) { .routes { grid-template-columns: 1fr 1fr; } }
.routes li { padding: clamp(1.5rem, 3vw, 2.25rem) 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-rows: auto 1fr auto; }
.routes h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.4rem, 2vw, 1.7rem); margin-bottom: 0.5rem; }
.routes p { max-width: 46ch; margin-bottom: 1.2rem; }
.routes .action { justify-self: start; }

/* --- contact notice ------------------------------------------------------ */
.notice { background: var(--taupe-surface); padding: 1.1rem 1.3rem; margin: 0 0 var(--space-3); max-width: 60ch; font-size: 0.98rem; }
select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%231D2838' stroke-width='1.2'/></svg>"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }

/* --- routing list ------------------------------------------------------ */
.routing { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); container-type: inline-size; }
.routing li { display: grid; gap: 0.25rem 1.5rem; padding: 1.1rem 0; border-bottom: 1px solid var(--rule); }
@container (min-width: 480px) { .routing li { grid-template-columns: 1fr auto; align-items: baseline; } }
.routing li span { color: var(--charcoal); }
.routing li a, .routing li strong { font-weight: 600; font-size: 0.92rem; text-decoration: none; color: var(--navy); }
.routing li a:hover { color: var(--accent); }

/* --- closing ----------------------------------------------------------- */
.closing { border-top: 1px solid var(--rule); }
.closing .h2 { max-width: 14ch; }
.big-links { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.big-links li { border-bottom: 1px solid var(--rule); }
.big-links a, .big-links button {
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); width: 100%; text-align: left;
  background: none; border: 0; cursor: pointer; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.35rem, 2vw, 1.7rem);
  color: var(--navy); padding: 1.3rem 0; text-decoration: none; transition: color 160ms ease;
}
.big-links a:hover, .big-links button:hover { color: var(--accent); }
.big-links svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.25; flex: none; }
.disclosure { display: none; padding: 0 0 1.5rem; }
.disclosure.is-open { display: block; }

/* --- page headers (interior) ------------------------------------------- */
.page-head { padding-block: clamp(3rem, 6.5vw, 5.5rem) clamp(2rem, 4vw, 3rem); }
.page-head .lede { margin-top: var(--space-2); }

/* --- about page -------------------------------------------------------- */
.practices { list-style: none; margin: var(--space-3) 0; padding: 0; border-top: 1px solid var(--rule); }
.practices li { padding: 1.4rem 0; border-bottom: 1px solid var(--rule); }
.practices h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.45rem; margin-bottom: 0.45rem; }
.practices p { font-size: 1.02rem; max-width: 58ch; }
.bio .muted { font-size: 0.98rem; }
.bio p { font-size: 1.1rem; max-width: 58ch; }
.bio h2 { margin: var(--space-5) 0 var(--space-2); font-size: clamp(1.5rem, 2.3vw, 1.95rem); }
.credentials { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.credentials li { display: grid; gap: 0.25rem 2rem; padding: 1.4rem 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 640px) { .credentials li { grid-template-columns: 9rem 1fr; } }
.credentials p { margin: 0; }
.credentials p + p { margin-top: 0.35rem; }
.credentials .muted { font-size: 0.94rem; }

/* --- editorial index (writing / resources) ----------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; padding-bottom: var(--space-3); border-bottom: 1px solid var(--rule); }
.filters button { background: none; border: 0; padding: 0.3rem 0; cursor: pointer; font-family: var(--font-sans); font-weight: 500; font-size: 0.92rem; color: var(--slate); border-bottom: 1px solid transparent; }
.filters button[aria-pressed="true"] { color: var(--navy); border-bottom-color: var(--navy); }
.entries { list-style: none; margin: 0; padding: 0; }
.entry { display: grid; gap: 0.5rem 2.5rem; padding: clamp(1.75rem, 3vw, 2.5rem) 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 860px) { .entry { grid-template-columns: 11rem 1fr; } }
.entry .meta span + span::before { content: " · "; }
.entry h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; }
.entry h3 a { color: var(--navy); text-decoration: none; }
.entry h3 a:hover { color: var(--accent); }
.entry p { max-width: 58ch; margin-top: 0.4rem; }
.empty-state { padding: var(--space-5) 0; color: var(--slate); max-width: 50ch; }

/* --- article / resource body ------------------------------------------- */
.article-head { padding-block: clamp(3rem, 6.5vw, 5.5rem) clamp(2rem, 4vw, 3rem); }
.article-head h1 { max-width: 22ch; font-size: clamp(2.3rem, 4vw, 3.4rem); }
.article-head .lede { margin-top: var(--space-3); }
.article-head .byline { margin-top: var(--space-3); display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.article-body { font-size: 1.15rem; line-height: 1.68; max-width: var(--measure); }
.article-body h2 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); margin: 2.3em 0 0.6em; }
.article-body h3 { font-size: 1.2rem; margin: 1.8em 0 0.5em; }
.article-body ul, .article-body ol { padding-left: 1.3em; }
.article-body li + li { margin-top: 0.4em; }
.article-body blockquote { margin: 2em 0; padding-left: 1.25em; border-left: 1px solid var(--rule-strong); color: var(--slate); font-family: var(--font-display); font-size: 1.35rem; line-height: 1.4; }
.article-body figure { margin: 2.5em 0; }
.article-body figcaption { font-size: 0.88rem; color: var(--slate); margin-top: 0.6em; }
.aside-note { background: var(--taupe-surface); padding: 1.5rem 1.75rem; margin: 2.5em 0; font-size: 0.98rem; }
.aside-note .h4 { margin-bottom: 0.4rem; }
.sources { font-size: 0.94rem; color: var(--slate); }
.sources ol { padding-left: 1.3em; }
.related { border-top: 1px solid var(--rule); }

/* --- resource page ------------------------------------------------------ */
.resource-panel { background: var(--white); border: 1px solid var(--rule); padding: clamp(1.75rem, 3vw, 2.5rem); }
.resource-panel dl { margin: 0; display: grid; gap: 0.6rem 1.5rem; grid-template-columns: auto 1fr; }
.resource-panel dt { font-weight: 600; font-size: 0.86rem; color: var(--navy); }
.resource-panel dd { margin: 0; font-size: 0.94rem; }
.resource-panel .button { margin-top: var(--space-3); }

/* --- policy pages -------------------------------------------------------- */
.policy { max-width: var(--measure); }
.policy h2 { font-size: 1.4rem; margin: 2.2em 0 0.6em; }
.policy ul { padding-left: 1.2em; }
.policy .note { background: var(--taupe-surface); padding: 1rem 1.25rem; font-size: 0.94rem; color: var(--slate); }

/* --- footer ---------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--rule); padding-block: var(--space-5) var(--space-4); margin-top: var(--section); background: var(--ivory); }
.site-footer .wordmark { font-size: 1.4rem; }
.footer-line { color: var(--slate); margin-top: 0.5rem; font-size: 0.94rem; }
.footer-grid { display: grid; gap: var(--space-4); }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-col .h4 { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate); margin-bottom: 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li + li { margin-top: 0.55rem; }
.footer-col a { color: var(--charcoal); text-decoration: none; font-size: 0.94rem; }
.footer-col a:hover { color: var(--accent); }
.social { display: flex; gap: 0.9rem; margin-top: var(--space-3); }
.social a { color: var(--slate); }
.social a:hover { color: var(--navy); }
.social svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.25; }
.footer-bottom { margin-top: var(--space-5); padding-top: var(--space-3); border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; font-size: 0.86rem; color: var(--slate); }

/* --- 404 ------------------------------------------------------------------- */
.notfound { padding-block: clamp(5rem, 14vw, 10rem); }
.notfound .display { max-width: 14ch; }

/* --- utilities --------------------------------------------------------------- */
.mt-2 { margin-top: var(--space-2); } .mt-3 { margin-top: var(--space-3); } .mt-4 { margin-top: var(--space-4); } .mt-5 { margin-top: var(--space-5); }
.mb-2 { margin-bottom: var(--space-2); } .mb-3 { margin-bottom: var(--space-3); } .mb-4 { margin-bottom: var(--space-4); } .mb-5 { margin-bottom: var(--space-5); }
