/* thorstenmeyer.com — StrongMocha Meridian register (v2)
   Papers: child ivory #FBF6EC under group salmon #F2DFCE band · ink #33302B
   Voices: Spectral Light (display/numerals) · Instrument Sans (UI) · IBM Plex Mono (tiny meta)
   Data/links: ink teal #0D7680 · child accent (registry N°001): Roast #E4581F
   Laws: rules & hairlines, no shadows/gradients · tabular numerals · small-caps labels */

@font-face { font-family: 'Spectral'; font-style: normal; font-weight: 300; src: url('fonts/Spectral-300.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Spectral'; font-style: italic; font-weight: 300; src: url('fonts/Spectral-300i.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Spectral'; font-style: normal; font-weight: 400; src: url('fonts/Spectral-400.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400; src: url('fonts/InstrumentSans-400.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 500; src: url('fonts/InstrumentSans-500.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 700; src: url('fonts/InstrumentSans-700.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; src: url('fonts/IBMPlexMono-400.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; src: url('fonts/IBMPlexMono-500.woff2') format('woff2'); font-display: swap; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: #FBF6EC; color: #33302B; line-height: 1.6;
  font-family: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
  font-variant-numeric: tabular-nums; }
img { max-width: 100%; height: auto; display: block; }
a { color: #0D7680; text-decoration: none; }
.shell { max-width: 1200px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }
.display { font-family: 'Spectral', Georgia, 'Times New Roman', serif; font-weight: 300; }
.mono { font-family: 'IBM Plex Mono', ui-monospace, Menlo, monospace; }
.label { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; }

/* endorsement band (group salmon — the entire endorsement) */
.band { background: #F2DFCE; padding: 9px 0; }
.band .inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #7A7166; }

/* nav */
.nav { display: flex; justify-content: space-between; align-items: baseline; padding: 22px 0;
  border-bottom: 1px solid rgba(51,48,43,.16); flex-wrap: wrap; gap: 12px 24px; }
.nav .name { font-family: 'Spectral', Georgia, serif; font-weight: 400; font-size: 24px; color: #33302B; }
.nav .name b { color: #E4581F; font-weight: 400; }
.nav .links { display: flex; gap: 24px; flex-wrap: wrap; font-size: 13px; letter-spacing: .07em;
  text-transform: uppercase; }
.nav .links a { color: #0D7680; border-bottom: 1px solid rgba(13,118,128,.5); padding-bottom: 2px;
  transition: border-color .18s, color .18s; }
.nav .links a:hover { color: #33302B; border-color: #33302B; }

/* hero */
.hero { padding: 60px 0 30px; }
.kick { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: #0D7680;
  margin-bottom: 20px; font-weight: 500; }
.hero h1 { font-family: 'Spectral', Georgia, serif; font-weight: 300;
  font-size: clamp(44px, 6.6vw, 88px); line-height: 1.03; letter-spacing: -0.01em; max-width: 18ch; }
.hero h1 em { font-style: italic; color: #E4581F; }
.hero .dek { margin-top: 24px; font-size: 17px; line-height: 1.65; max-width: 58ch; }
.hero .bookref { margin-top: 18px; font-size: 14px; letter-spacing: .04em; }
.hero .bookref a { border-bottom: 1px solid #0D7680; padding-bottom: 2px; }

/* stats */
.stats { margin-top: 44px; border-top: 1px solid rgba(51,48,43,.16);
  border-bottom: 1px solid rgba(51,48,43,.16);
  display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 26px 26px 24px; border-right: 1px solid rgba(51,48,43,.12); }
.stat:last-child { border-right: none; }
.stat .num { font-family: 'Spectral', Georgia, serif; font-weight: 300;
  font-size: clamp(38px, 4.4vw, 58px); line-height: 1; }
.stat .delta { color: #0D7680; font-size: 13px; margin-top: 9px; }
.stat .cap { font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: #7A7166; margin-top: 6px; }

/* sections */
section.block { padding: 52px 0 8px; }
.secthead { display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding-bottom: 12px; border-bottom: 1px solid rgba(51,48,43,.2); margin-bottom: 6px; flex-wrap: wrap; }
.secthead h2 { font-family: 'Spectral', Georgia, serif; font-weight: 300; font-size: clamp(28px, 3.4vw, 38px); }
.secthead .meta { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #7A7166; }

/* writing desks */
.deskrow { display: flex; justify-content: space-between; gap: 16px; align-items: baseline;
  padding: 16px 0; border-bottom: 1px solid rgba(51,48,43,.12); }
.deskrow:last-child { border-bottom: none; }
.deskrow .t { font-family: 'Spectral', Georgia, serif; font-weight: 400; font-size: 21px; color: #33302B; }
.deskrow a.t { border-bottom: 1px solid rgba(13,118,128,.55); transition: color .18s, border-color .18s; }
.deskrow a.t:hover { color: #0D7680; }
.deskrow .d { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #7A7166;
  white-space: nowrap; }

/* building desks */
.desks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding: 18px 0 20px; }
.deskcard { background: #F7E9DB; border-radius: 8px; padding: 24px 24px 16px; }
.deskcard h3 { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #7A7166;
  font-weight: 700; padding-bottom: 12px; border-bottom: 1px solid rgba(51,48,43,.14); }
.proj { padding: 14px 0; border-bottom: 1px solid rgba(51,48,43,.1); }
.proj:last-child { border-bottom: none; }
.proj a.t { font-family: 'Spectral', Georgia, serif; font-size: 20px; color: #33302B;
  border-bottom: 1px solid rgba(13,118,128,.55); transition: color .18s; }
.proj a.t:hover { color: #0D7680; }
.proj p { font-size: 13.5px; color: #7A7166; margin-top: 5px; line-height: 1.5; }
.proj p a { border-bottom: 1px solid rgba(13,118,128,.4); }

/* shelf */
.shelfgrid { display: grid; grid-template-columns: 300px 1fr; gap: 34px; padding: 22px 0 8px;
  align-items: start; }
.featured { background: #F7E9DB; border-radius: 8px; padding: 26px; }
.featured img { border-radius: 4px; width: 100%; }
.featured .flag { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #E4581F;
  font-weight: 700; margin-bottom: 14px; }
.featured h3 { font-family: 'Spectral', Georgia, serif; font-weight: 400; font-size: 24px;
  margin-top: 18px; line-height: 1.2; }
.featured .sub { font-family: 'Spectral', Georgia, serif; font-style: italic; font-weight: 300;
  color: #7A7166; margin-top: 6px; font-size: 15.5px; line-height: 1.45; }
.featured .cta { display: inline-block; margin-top: 16px; background: #E4581F; color: #FFFFFF;
  border-radius: 6px; padding: 12px 20px; font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase; font-weight: 700; transition: background .18s; }
.featured .cta:hover { background: #C64715; }
.bookline { display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid rgba(51,48,43,.12); }
.bookline:last-child { border-bottom: none; }
.bookline .t { font-family: 'Spectral', Georgia, serif; font-size: 19px; color: #33302B; }
.bookline .s { font-size: 12px; color: #7A7166; letter-spacing: .06em; text-transform: uppercase; }
.bookline .buy { font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  border-bottom: 1px solid rgba(13,118,128,.55); white-space: nowrap; }

/* dispatch */
.dispatch { background: #F2DFCE; border-radius: 8px; margin: 52px 0; padding: 36px;
  display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.dispatch h2 { font-family: 'Spectral', Georgia, serif; font-weight: 300; font-size: clamp(26px, 3vw, 34px); }
.dispatch p { margin-top: 8px; color: #7A7166; font-size: 14.5px; max-width: 54ch; }
.dispatch .cta { background: #E4581F; color: #FFFFFF; border-radius: 6px; padding: 16px 28px;
  font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700;
  transition: background .18s; white-space: nowrap; }
.dispatch .cta:hover { background: #C64715; }

/* footer */
footer.site { border-top: 1px solid rgba(51,48,43,.22); padding: 24px 0 20px; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; }
.foot-legal a { color: #33302B; }
.foot-legal a:hover { color: #0D7680; }
.foot-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 18px;
  margin-top: 16px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #7A7166; }
.foot-row .social { display: flex; gap: 16px; }
.foot-row .social a { color: #33302B; }
.attribution a { color: #E4581F; border-bottom: 1px solid #E4581F; padding-bottom: 1px; }

/* subpages */
.pagehead { padding: 52px 0 8px; }
.pagehead h1 { font-family: 'Spectral', Georgia, serif; font-weight: 300;
  font-size: clamp(36px, 5vw, 58px); line-height: 1.06; }
.pagehead .dateline { font-family: 'Spectral', Georgia, serif; font-style: italic; color: #7A7166;
  margin-top: 10px; }
.prose { padding: 26px 0 56px; max-width: 68ch; }
.prose h2 { font-family: 'Spectral', Georgia, serif; font-weight: 400; font-size: 24px;
  margin: 34px 0 10px; }
.prose h2:first-child { margin-top: 6px; }
.prose p { margin-bottom: 14px; font-size: 16px; }
.prose ul { margin: 0 0 14px 22px; }
.prose li { margin-bottom: 7px; font-size: 16px; }
.prose a { border-bottom: 1px solid rgba(13,118,128,.5); }
.prose .note { background: #F7E9DB; border-radius: 8px; padding: 18px 20px; font-size: 14.5px;
  color: #7A7166; margin: 20px 0; }

/* responsive — tablet */
@media (max-width: 1024px) {
  .shell { padding-left: 28px; padding-right: 28px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid rgba(51,48,43,.12); }
  .desks { grid-template-columns: 1fr; }
  .shelfgrid { grid-template-columns: 260px 1fr; gap: 26px; }
}
/* responsive — phone */
@media (max-width: 640px) {
  .shell { padding-left: 18px; padding-right: 18px; }
  .hero { padding-top: 44px; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid rgba(51,48,43,.12); padding: 20px 4px; }
  .stat:last-child { border-bottom: none; }
  .shelfgrid { grid-template-columns: 1fr; }
  .featured { max-width: 420px; }
  .dispatch { grid-template-columns: 1fr; padding: 26px; }
  .deskrow { flex-direction: column; gap: 4px; }
  .nav .links { gap: 14px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
