/* JasonTownesFrench.com — The Field Notebook.
   Jason's working notebook: ruled feint lines on recycled paper, a gold margin
   rule, entries set in EB Garamond with annotations penned in Caveat, cards and
   plates taped in slightly askew. Official palette: Navy Blue #1B2A4A ·
   Eggshell White #F4F1E8 · Royal Gold #C9A227. Gold is still scarcity. */

:root {
  --paper: #F4F1E8;
  --mat: #F8F5EC;
  --navy: #1B2A4A;
  --gold: #E9B308;
  --gold-deep: #866700;
  --ink: #2E2E2E;
  --hairline: rgba(27, 42, 74, 0.25);
  --hairline-faint: rgba(27, 42, 74, 0.15);
  --wash: rgba(27, 42, 74, 0.035);
  --feint: rgba(27, 42, 74, 0.055);
  --tape: rgba(233, 179, 8, 0.16);
  --serif: "Garamond Narrow", "EB Garamond", Garamond, "Adobe Garamond Pro", Georgia, serif;
  --script: "Caveat", "Bradley Hand", "Comic Sans MS", cursive;
}

@font-face {
  font-family: "Garamond Narrow";
  src: url("/fonts/GaramondNarrow-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Garamond Narrow";
  src: url("/fonts/GaramondNarrow-Bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Garamond Narrow";
  src: url("/fonts/GaramondNarrow-Italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "EB Garamond";
  src: url("/fonts/EBGaramond-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "EB Garamond";
  src: url("/fonts/EBGaramond-SemiBold.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "EB Garamond";
  src: url("/fonts/EBGaramond-Italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Caveat";
  src: url("/fonts/Caveat-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Caveat";
  src: url("/fonts/Caveat-SemiBold.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}

* { box-sizing: border-box; margin: 0; }
img { max-width: 100%; height: auto; }

body {
  background-color: var(--paper);
  /* Notebook ground: paper grain + ruled feint lines, under the ink. */
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E"),
    repeating-linear-gradient(to bottom, transparent 0, transparent 31px, var(--feint) 31px, var(--feint) 32px);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.1875rem;
  line-height: 1.75;
}

/* The margin rule — every notebook has one. */
body::before {
  content: "";
  position: fixed; top: 0; bottom: 0; left: clamp(18px, 5vw, 84px);
  width: 1px; background: rgba(233, 179, 8, 0.5);
  pointer-events: none; z-index: 1;
}

/* The annotation voice: penned, never typeset. Used sparingly, like gold. */
.annotation {
  font-family: var(--script); font-size: 1.4rem; line-height: 1.25;
  color: var(--gold-deep); transform: rotate(-2deg); display: inline-block;
}
.sig {
  font-family: var(--script); font-size: 1.6rem; color: var(--gold);
  transform: rotate(-2.5deg); display: inline-block;
}

/* Hand-drawn stroke under a key word (authored SVG, gold ink). */
.u-swash {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M3 8 Q30 3 60 7.5 T117 5.5' stroke='%23E9B308' stroke-width='2.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 0 82% / 100% 0.11em;
}

h1, h2, h3 { color: var(--navy); line-height: 1.14; font-weight: 400; }
a { color: var(--navy); text-decoration: none; }
a:hover {
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

::selection { background: var(--navy); color: var(--paper); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
input, textarea { caret-color: var(--gold); }
::placeholder { color: #6E6960; opacity: 1; }

main { max-width: 68rem; margin: 0 auto; padding: 0 1.25rem 4rem; }

/* ---- Nav ---- */
.site-nav {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  max-width: 68rem; margin: 0 auto; padding: 1.9rem 1.25rem 1.25rem;
  border-bottom: 1px solid var(--gold);
  position: relative;
}
.wordmark {
  font-size: 1.5rem; font-weight: 700; letter-spacing: 0.02em; color: var(--navy);
  display: inline-flex; align-items: center; gap: 12px;
}
.brand-mark { width: 34px; height: 34px; display: block; }
.wordmark:hover { text-decoration: none; }
.site-nav nav { display: flex; gap: 2rem; align-items: baseline; }
.site-nav nav a {
  font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase;
  border-bottom: 1px solid transparent; padding-bottom: 2px;
}
.site-nav nav a:hover { text-decoration: none; border-bottom-color: var(--gold); }
.nav-cta { border: 1px solid var(--navy); background: var(--navy); color: var(--paper); padding: 9px 18px 8px; }
.site-nav nav a.nav-cta:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); border-bottom: 1px solid var(--gold); }
.menu-toggle { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.menu-toggle:focus-visible + .menu-label { outline: 2px solid var(--gold); outline-offset: 2px; }
.menu-label { display: none; }

/* ---- Blotter hero: the heading written at the top of the page ---- */
.blotter-hero { padding: 4.5rem 0 0; max-width: 54rem; }
.blotter-hero .annotation { margin-top: 16px; }

/* ---- Hero (interior/legacy) ---- */
.hero { text-align: center; padding: 5.5rem 0 0; }
.credibility {
  font-size: 0.8125rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--navy); font-feature-settings: "tnum" 1;
}
.credibility .dot { color: var(--gold); }
.hero-line {
  margin: 26px 0 0; max-width: 30ch; text-wrap: balance;
  font-size: 4.5rem; line-height: 1.06; font-weight: 400;
}
.gold-divider { margin: 36px auto 0; width: 64px; height: 1px; background: var(--gold); }
.hero .annotation { margin-top: 18px; }

/* ---- Prints: photographs pasted into the notebook ---- */
.print {
  background: var(--mat); border: 1px solid rgba(27, 42, 74, 0.3);
  box-shadow: 0 2px 10px rgba(27, 42, 74, 0.09);
  padding: 10px 10px 6px; position: relative;
  transition: transform 0.22s ease;
}
.print::before {
  content: ""; position: absolute; top: -11px; left: 50%;
  width: 76px; height: 22px; transform: translateX(-50%) rotate(-2deg);
  background: var(--tape); border: 1px solid rgba(233, 179, 8, 0.28);
}
.print img {
  display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  /* The print wash: every photograph takes the same warm, quiet grade. */
  filter: sepia(0.12) saturate(0.88) contrast(1.04);
}
.print-empty {
  display: flex; align-items: center; justify-content: center; text-align: center;
  aspect-ratio: 4 / 5; background: #fff;
  outline: 1px dashed rgba(27, 42, 74, 0.3); outline-offset: -10px;
  font-family: var(--script); font-size: 1.3rem; line-height: 1.2;
  color: var(--gold-deep);
}
.print-caption {
  font-family: var(--script); font-size: 1.25rem; line-height: 1.3;
  color: var(--navy); text-align: center; padding: 6px 0 2px;
  transform: rotate(-1deg);
}

/* Placements */
.desk-print {
  grid-column: 10 / 13; grid-row: 1; align-self: start; /* never stretch to the row — the mat hugs the photo */
  transform: rotate(1.6deg); margin-bottom: 2rem; z-index: 2;
}
.page-print {
  float: right; width: min(240px, 42%); margin: 0.4rem 0 1.25rem 2rem;
  transform: rotate(1.4deg);
}
.story-print { max-width: 30rem; margin: 2.25rem auto; transform: rotate(-1deg); }
.story-print img { aspect-ratio: 3 / 2; }
.story-print .print-empty { aspect-ratio: 3 / 2; }
.print:hover { transform: rotate(0deg); }

@media (min-width: 1101px) {
  .desk-print { margin-top: -13rem; }
}

/* ---- The desk: objects laid along one descending sweep ---- */
.desk { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; padding-top: 3.5rem; }
.desk-door-1 { grid-column: 1 / 8; }
.desk-door-2 { grid-column: 6 / 13; margin-top: -3.25rem; z-index: 2; }
.desk-scrap {
  grid-column: 2 / 8; margin-top: 3.5rem;
  background: var(--mat); border: 1px solid rgba(27, 42, 74, 0.3);
  box-shadow: 0 2px 10px rgba(27, 42, 74, 0.09);
  transform: rotate(0.8deg); padding: 26px 30px; position: relative;
}
.desk-scrap::before {
  content: ""; position: absolute; top: -12px; left: 50%;
  width: 88px; height: 24px; transform: translateX(-50%) rotate(2deg);
  background: var(--tape); border: 1px solid rgba(233, 179, 8, 0.28);
}
.desk-scrap .newsletter-pitch { margin-bottom: 12px; }
.desk-scrap form { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; }
.desk-scrap input[type="email"] {
  font-family: var(--script); font-size: 1.25rem; color: var(--ink);
  background: transparent; border: none; border-bottom: 1px dashed var(--navy);
  padding: 6px 2px; flex: 1; min-width: 180px; outline: none;
}
.desk-scrap input[type="email"]:focus { border-bottom-color: var(--gold); }

.desk-slips { grid-column: 5 / 13; margin-top: 4rem; }
.slip {
  display: grid; grid-template-columns: 76px 1fr auto; gap: 20px; align-items: baseline;
  background: var(--mat); border: 1px solid rgba(27, 42, 74, 0.3);
  box-shadow: 0 2px 8px rgba(27, 42, 74, 0.08);
  padding: 16px 22px; color: var(--ink); position: relative;
  transition: transform 0.22s ease, border-color 0.22s ease;
}
.slip-1 { transform: rotate(-0.6deg); }
.slip-2 { transform: rotate(0.5deg); margin-top: -6px; margin-left: 18px; }
.slip-3 { transform: rotate(-0.4deg); margin-top: -6px; margin-left: 36px; }
.slip:hover { transform: rotate(0deg); border-color: var(--gold); text-decoration: none; z-index: 3; }
.slip-1::before {
  content: ""; position: absolute; top: -11px; left: 42px;
  width: 64px; height: 20px; transform: rotate(-3deg);
  background: var(--tape); border: 1px solid rgba(233, 179, 8, 0.28);
}
.slip-title { font-size: 1.55rem; color: var(--navy); line-height: 1.15; }

.desk-plates { grid-column: 1 / 13; margin-top: 4.5rem; }

.doors {
  display: grid; grid-template-columns: 1fr 1fr; gap: 30px;
  max-width: 1080px; margin: 0 auto;
}
.door {
  display: block; padding: 44px 48px 40px; color: var(--ink);
  position: relative; background: var(--mat);
  border: 1px solid rgba(27, 42, 74, 0.3);
  box-shadow: 0 2px 10px rgba(27, 42, 74, 0.09);
  transform: rotate(-0.7deg);
  transition: transform 0.22s ease, border-color 0.22s ease;
}
.door + .door { transform: rotate(0.55deg); }
.desk-door-1 { transform: rotate(-0.9deg); }
.desk-door-2 { transform: rotate(0.7deg); }
.door::before {
  content: ""; position: absolute; top: -13px; left: 50%;
  width: 104px; height: 27px;
  transform: translateX(-50%) rotate(-2.5deg);
  background: var(--tape); border: 1px solid rgba(233, 179, 8, 0.28);
}
.door:hover { transform: rotate(0deg); border-color: var(--gold); text-decoration: none; }
.door-head { display: flex; justify-content: space-between; align-items: baseline; }
.door-kicker {
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-deep);
}
.door-numeral { font-family: var(--script); font-size: 1.7rem; color: var(--gold); line-height: 1; }
.door h2 { margin: 20px 0 0; font-size: 2.75rem; line-height: 1.08; font-weight: 400; }
.door p { margin: 16px 0 0; font-size: 1.03rem; line-height: 1.7; max-width: 38ch; }
.door-go {
  display: inline-block; margin-top: 30px;
  font-size: 0.8125rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--navy); border-bottom: 1px solid var(--gold); padding-bottom: 4px;
}

/* ---- Newsletter band (inline, never a popup) ---- */
.newsletter-bar {
  margin: 5rem 0 0; padding: 26px 0;
  border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.newsletter-pitch { font-size: 1.125rem; font-style: italic; color: var(--navy); }
.newsletter-bar form { display: flex; gap: 14px; align-items: stretch; }
.newsletter-bar input[type="email"] {
  font-family: inherit; font-size: 0.9375rem; color: var(--ink);
  background: transparent; border: none; border-bottom: 1px dashed var(--navy);
  padding: 8px 2px; width: 260px; outline: none; font-family: var(--script); font-size: 1.25rem;
}
.newsletter-bar input[type="email"]:focus { border-bottom-color: var(--gold); }

/* ---- Buttons: outlined, letterpress-quiet ---- */
button, .button {
  font-family: inherit; font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--paper); background: var(--navy); border: 1px solid var(--navy);
  padding: 10px 22px; cursor: pointer; display: inline-block; text-decoration: none;
}
button:hover, .button:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); text-decoration: none; }

/* ---- Home sections: series list & plates ---- */
.home-section { padding-top: 4.5rem; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; }
.section-label {
  font-size: 0.8125rem; letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 400; color: var(--gold-deep);
}
.section-more { font-size: 0.875rem; font-style: italic; }

.series-list { margin-top: 12px; border-top: 1px solid var(--hairline); }
main > .series-list { margin-top: 0.5rem; }
.series-row {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 28px; align-items: baseline;
  padding: 26px 0; border-bottom: 1px solid var(--hairline-faint); color: var(--ink);
}
.series-row:hover { background: var(--wash); text-decoration: none; }
.series-no { font-family: var(--script); font-size: 1.5rem; color: var(--gold-deep); line-height: 1; }
.series-title { display: block; font-size: 1.8rem; color: var(--navy); line-height: 1.18; }
.series-sub { display: block; margin-top: 6px; font-size: 0.97rem; line-height: 1.6; }
.series-date {
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  font-feature-settings: "tnum" 1;
}

.plates { margin-top: 22px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.plate-frame {
  display: block; border: 1px solid rgba(27, 42, 74, 0.3); padding: 8px; background: var(--mat);
  position: relative; box-shadow: 0 2px 8px rgba(27, 42, 74, 0.09);
  transition: transform 0.22s ease, border-color 0.22s ease;
}
.plate-frame:nth-child(odd) { transform: rotate(-1.1deg); }
.plate-frame:nth-child(even) { transform: rotate(0.9deg); }
.plate-frame::after {
  content: ""; position: absolute; top: -10px; left: 50%;
  width: 64px; height: 20px;
  transform: translateX(-50%) rotate(2deg);
  background: var(--tape); border: 1px solid rgba(233, 179, 8, 0.28);
}
.plate-frame:hover { border-color: var(--gold); text-decoration: none; transform: rotate(0deg); }
.plate-frame img, .plate-placeholder { width: 100%; aspect-ratio: 3 / 4; display: block; }
.plate-frame img { object-fit: cover; filter: sepia(0.12) saturate(0.88) contrast(1.04); }
.plate-placeholder {
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9375rem; font-style: italic; color: var(--hairline); background: #fff;
  color: var(--navy); opacity: 0.55;
}

/* ---- Footer: three-column folio ---- */
.site-footer {
  position: relative; z-index: 2; /* the cover sits over the paper's margin rule */
  background: var(--navy); color: var(--paper);
  border-top: 2px solid var(--gold);
  padding: 0 max(1.25rem, calc((100vw - 68rem) / 2 + 1.25rem)) 3.25rem;
  margin-top: 4rem;
}
.site-footer a { color: var(--paper); }
.site-footer a:hover { color: var(--gold); text-decoration-color: var(--gold); }
.site-footer .newsletter-bar { margin-top: 2rem; border-top: none; border-bottom-color: rgba(244, 241, 232, 0.25); }
.site-footer .newsletter-pitch { color: var(--paper); }
.site-footer .newsletter-bar input[type="email"] {
  color: var(--paper); border-bottom-color: var(--paper);
}
.site-footer .newsletter-bar input[type="email"]:focus { border-bottom-color: var(--gold); }
.site-footer .newsletter-bar input[type="email"]::placeholder { color: rgba(244, 241, 232, 0.6); }
.site-footer button { background: transparent; border-color: var(--paper); color: var(--paper); }
.site-footer button:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.footer-folio {
  padding-top: 44px;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; align-items: baseline;
}
.footer-doors-col { display: flex; flex-direction: column; gap: 10px; }
.footer-doors-col a { font-size: 0.9375rem; }
.footer-center { text-align: center; font-size: 0.875rem; font-style: italic; }
.footer-center .rule, .footer-doors .rule { color: var(--gold); margin: 0 0.4rem; }
.site-footer .footer-doors-col a, .site-footer .footer-center a { color: var(--paper); }
.colophon { text-align: right; font-size: 0.84rem; color: rgba(244, 241, 232, 0.7); }
.footer-sig { text-align: center; margin-top: 1.5rem; }

/* ---- Article lists & prose (interior pages) ---- */
.dateline { display: block; font-style: italic; font-size: 1rem; color: var(--ink); }
.lede { font-size: 1.3rem; font-style: italic; margin-bottom: 1.5rem; }
main > h1, .prose h1 { padding-top: 2rem; font-size: 3.1rem; font-weight: 400; margin-bottom: 0.5rem; }
.prose h2 { font-size: 1.85rem; font-weight: 400; margin: 2rem 0 0.6rem; }

.prose { max-width: 70ch; margin: 0 auto; }
.prose a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--gold); }
.prose p, .prose ul, .prose dl { margin-bottom: 1.1rem; }
.prose .hero-image { width: 100%; height: auto; margin: 1rem 0; }
.prose img { display: block; max-width: 100%; height: auto; margin: 1.5rem auto; }
.prose.center { text-align: center; padding-top: 3rem; }

.timeline dt { letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.85rem; color: var(--gold-deep); margin-top: 1rem; }
.timeline dd { margin-left: 0; }

.note { font-family: var(--script); font-style: normal; font-size: 1.35rem; line-height: 1.35; color: var(--gold-deep); border-left: 2px solid var(--gold); padding-left: 0.9rem; }

/* ---- Portfolio grid (gallery page) ---- */
.cat-tabs { display: flex; flex-wrap: wrap; gap: 1.25rem; margin: 1rem 0 1.5rem; }
.cat-tabs a { font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; padding-bottom: 3px; }
.cat-tabs a:hover { text-decoration: none; border-bottom: 1px solid var(--gold); }
.cat-tabs a.active { border-bottom: 2px solid var(--gold); font-weight: 600; }

.grid { columns: 3 240px; column-gap: 1.25rem; }
.tile {
  position: relative; overflow: hidden; display: block;
  break-inside: avoid; margin-bottom: 1.25rem;
  border: 1px solid rgba(27, 42, 74, 0.3); padding: 8px; background: var(--mat);
}
.tile img { display: block; width: 100%; height: auto; filter: sepia(0.12) saturate(0.88) contrast(1.04); }
.tile:hover { text-decoration: none; border-color: var(--gold); }
.tile-placeholder {
  display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 4;
  color: var(--navy); font-size: 1.2rem; font-weight: 600; padding: 1rem; text-align: center; background: #fff;
}
.tile-label {
  position: absolute; left: 8px; right: 8px; bottom: 8px;
  background: var(--paper); color: var(--navy); font-weight: 600;
  padding: 0.4rem 0.7rem; border-top: 2px solid var(--gold);
  transform: translateY(120%); transition: transform 0.18s ease;
}
.tile-label em { font-style: normal; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.75rem; color: var(--gold-deep); margin-left: 0.4rem; }
.tile:hover .tile-label, .tile:focus .tile-label { transform: none; }

/* ---- Pure-CSS lightbox (:target) ---- */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 1001;
  background: rgba(27, 42, 74, 0.85); padding: 2rem; overflow: auto;
}
.lightbox:target { display: block; }
.lightbox-card { max-width: 46rem; margin: 3rem auto; background: var(--paper); padding: 2rem; }
.lightbox-card img { max-width: 100%; height: auto; margin-bottom: 1rem; filter: sepia(0.12) saturate(0.88) contrast(1.04); }
.lightbox-close {
  position: fixed; top: 1.25rem; right: 1.5rem; padding: 8px;
  color: var(--paper); text-decoration: none; line-height: 0;
}
.lightbox-close:hover { color: var(--gold); }

/* ---- Forms & tables (work-with-me, admin) ---- */
input, textarea, select {
  font-family: var(--serif); font-size: 1rem; color: var(--ink);
  border: 1px solid var(--navy); background: transparent; padding: 0.5rem 0.75rem;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--gold); }
.inquiry-form { display: grid; gap: 0.9rem; max-width: 34rem; margin: 1rem 0; }
.inquiry-form label { display: grid; gap: 0.25rem; font-weight: 600; color: var(--navy); }
.inquiry-form label.check { grid-template-columns: auto 1fr; align-items: center; }

table { border-collapse: collapse; width: 100%; margin: 1rem 0; font-size: 1rem; }
th { letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.78rem; text-align: left; color: var(--navy); }
th, td { border-bottom: 1px solid var(--hairline); padding: 0.4rem 0.6rem 0.4rem 0; vertical-align: top; }
.admin-block { margin-bottom: 3rem; }
.row-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.row-actions form { display: inline; }
.row-actions button { padding: 4px 10px; font-size: 0.6875rem; }

/* Article-footer doors (article pages) */
.footer-doors { text-align: center; }
.footer-doors a { font-weight: 600; }
.article-doors { border-top: 1px solid var(--gold); padding-top: 1.5rem; max-width: 70ch; margin: 2rem auto 0; }

@media (prefers-reduced-motion: reduce) {
  .door, .door + .door, .desk-door-1, .desk-door-2, .desk-scrap, .slip, .slip-1, .slip-2, .slip-3, .plate-frame, .tile-label, .print, .desk-print, .page-print, .story-print { transform: none; transition: none; }
}

/* ---- Mobile ---- */
@media (max-width: 700px) {
  .site-nav { align-items: center; padding: 1rem 1.25rem; flex-wrap: wrap; }
  .wordmark { font-size: 1.0625rem; gap: 8px; }
  .brand-mark { width: 26px; height: 26px; }
  .menu-label {
    display: block; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--navy); cursor: pointer; padding: 12px 0 12px 12px;
  }
  .site-nav nav { display: none; }
  .menu-toggle:checked ~ nav {
    display: flex; flex-direction: column; gap: 0.25rem;
    flex-basis: 100%; padding: 0.75rem 0 0.5rem;
  }
  .site-nav nav a { padding: 0.5rem 0; }
  .nav-cta { border: none; background: transparent; color: var(--navy); padding: 0.5rem 0; }

  .hero { padding-top: 2.75rem; }
  .credibility { font-size: 0.6875rem; letter-spacing: 0.18em; }
  .hero-line { font-size: 2.3rem; line-height: 1.12; margin-top: 16px; }
  .gold-divider { width: 48px; margin-top: 24px; }

  .doors-frame { padding-top: 2rem; }
  .doors { display: flex; flex-direction: column; gap: 22px; }
  .door { padding: 26px 24px 24px; }
  .blotter-hero { padding-top: 2.5rem; }
  .desk { display: block; padding-top: 2rem; }
  .desk-door-2 { margin-top: 22px; }
  .desk-scrap { margin-top: 2.5rem; transform: rotate(0.4deg); }
  .desk-slips { margin-top: 2.5rem; }
  .slip { grid-template-columns: 64px 1fr; padding: 14px 16px; }
  .slip .series-date { display: none; }
  .slip-2, .slip-3 { margin-left: 0; }
  .slip-title { font-size: 1.3rem; }
  .desk-plates { margin-top: 2.5rem; }
  .desk-print { margin: 0 auto 1.75rem; max-width: 240px; transform: rotate(1deg); }
  .page-print { float: none; width: min(240px, 70%); margin: 1.25rem auto; }
  .door h2 { margin-top: 12px; font-size: 1.6875rem; }
  .door p { margin-top: 8px; font-size: 0.9375rem; }
  .door-go { margin-top: 18px; font-size: 0.75rem; }

  .newsletter-bar { margin-top: 2.5rem; flex-direction: column; align-items: stretch; padding: 22px 0; }
  .newsletter-bar form { gap: 10px; }
  .newsletter-bar input[type="email"] { flex: 1; min-width: 0; width: auto; }
  .newsletter-bar button { min-height: 44px; }

  .home-section { padding-top: 2.25rem; }
  .series-row { display: block; padding: 18px 0; }
  .series-sub, .series-date { display: none; }
  .series-title { font-size: 1.1875rem; margin-top: 4px; }

  .plates { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .plates .plate-frame:nth-child(n+4) { display: none; }
  .plate-frame { padding: 5px; }

  .footer-folio { display: flex; flex-direction: column; gap: 10px; padding-top: 28px; }
  .footer-center, .colophon { text-align: left; }

  main > h1, .prose h1 { font-size: 2rem; }
}
