/* Worth Our Time — Broadsheet & Ex-Libris Annual
   One sheet of Oxford ivory paper (#F8F7F3), Prussian midnight ink (#0F1B29), Venetian oxblood (#8C2D19),
   one unified book serif (EB Garamond), ruled columns, zero boxed SaaS cards, zero RGB icon clutter. */
:root {
  --bg: #F8F7F3;
  --ink: #0F1B29;
  --muted: #5B6470;
  --rule: #D6D5CE;
  --accent: #8C2D19;
  --tint: color-mix(in srgb, var(--ink) 4.5%, var(--bg));
  --serif: "EB Garamond", Baskerville, "Iowan Old Style", Georgia, serif;
  --pad: clamp(18px, 4vw, 48px);
  --max: 1180px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B1017;
    --ink: #E8E6DF;
    --muted: #8E96A2;
    --rule: #252E3A;
    --accent: #C85A42;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 18px/1.5 var(--serif);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "kern" 1, "liga" 1;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }

.wrap, .mast, .bottom {
  max-width: calc(var(--max) + 2 * var(--pad));
  margin: 0 auto;
  padding: 0 var(--pad);
}

.caps, .label, .kicker, .mast-nav, .filter-links, .doors b, .lines b, .figures dd {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Ex-Libris Seal & Cartouche SVG Rules */
.sealdefs { position: absolute; width: 0; height: 0; overflow: hidden; }
.seal {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 1px 2px rgba(15, 27, 41, .22)) drop-shadow(0 5px 10px rgba(15, 27, 41, .11));
}
.seal .s-no { font: 600 11.5px var(--serif); letter-spacing: .14em; fill: #8C2D19; }
.seal .s-rank { font: 500 42px var(--serif); fill: #0F1B29; }
.seal .s-year { font: 600 10px var(--serif); letter-spacing: .14em; fill: #5B6470; }

.medal {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 2px 4px rgba(15, 27, 41, .22)) drop-shadow(0 8px 18px rgba(15, 27, 41, .12));
}
.medal .m-arc { font: 600 12.5px var(--serif); fill: #0F1B29; }
.medal .m-no { font: 600 14px var(--serif); letter-spacing: .16em; fill: #8C2D19; }
.medal .m-num { font: 500 74px var(--serif); fill: #0F1B29; }

/* Masthead — Oxford Heavy-Over-Thin Rule */
.mast-in {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 22px 0 14px;
  border-top: 3px solid var(--ink);
  margin-top: 14px;
  border-bottom: 1px solid var(--ink);
}
.wordmark {
  font: 500 36px/1 var(--serif);
  letter-spacing: -.015em;
  white-space: nowrap;
}
.wordmark i {
  font-style: italic;
  font-weight: 400;
}
.wordmark .fleuron {
  display: inline-block;
  color: var(--accent);
  font-size: .52em;
  vertical-align: .22em;
  margin-right: .35em;
  font-style: normal;
}
.mast-right {
  display: flex;
  align-items: baseline;
  gap: 24px;
}
nav.mast-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--muted);
}
nav.mast-nav a:hover { color: var(--ink); }
nav.mast-nav a.framed {
  border: 1px solid var(--rule);
  padding: 3px 9px 2px;
  color: var(--ink);
}
nav.mast-nav a.framed:hover { border-color: var(--ink); }

/* Section Header Rule (Newspaper Style) */
.sec-head {
  border-top: 2px solid var(--ink);
  padding-top: 9px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
}
.sec-head a { color: var(--muted); }
.sec-head a:hover { color: var(--ink); }
.sec-head a::after { content: " →"; }

/* Front Page — Ruled 4-Column Edition Broadsheet (Zero Boxed Cards!) */
.editions-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-top: 32px;
  padding-bottom: 12px;
}
.ed-col {
  padding: 0 22px;
  border-left: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
}
.ed-col:first-child { padding-left: 0; border-left: 0; }
.ed-col:last-child { padding-right: 0; }

.ed-cartouche {
  width: 62%;
  max-width: 156px;
  margin: 0 auto 20px;
  transition: transform .25s ease;
}
.ed-col:hover .ed-cartouche { transform: translateY(-3px); }

.ed-kicker {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}
.ed-title {
  font-size: 25px;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.012em;
  text-align: center;
  margin: 5px 0 18px;
}
.ed-title a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.ed-top5 {
  border-top: 1px solid var(--ink);
}
.ed-top5 li {
  border-bottom: 1px solid var(--rule);
}
.ed-top5 a {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 8px;
  padding: 10px 0 9px;
  align-items: baseline;
}
.ed-top5 u {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  font-variant-numeric: lining-nums;
}
.ed-top5 li:nth-child(n+2) u { color: var(--muted); font-weight: 500; }
.ed-top5 b {
  font-weight: 500;
  font-size: 17.5px;
  line-height: 1.2;
  display: block;
}
.ed-top5 a:hover b {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.ed-top5 i {
  font-style: italic;
  font-size: 14.5px;
  color: var(--muted);
  display: block;
  margin-top: 1px;
}
.ed-all {
  margin-top: 14px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  align-self: flex-start;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 1px;
}
.ed-all::after { content: " →"; }

/* Inline Search Bar */
.search-strip {
  margin-top: 52px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  flex-wrap: wrap;
  border-top: 2px solid var(--ink);
  padding-top: 10px;
}
.find-box {
  position: relative;
  width: 320px;
  max-width: 100%;
}
.find-box input {
  width: 100%;
  font: italic 400 17px var(--serif);
  padding: 5px 0;
  border: 0;
  border-bottom: 1px solid var(--muted);
  background: transparent;
  color: var(--ink);
  outline: none;
}
.find-box input:focus { border-bottom-color: var(--ink); }
.find-results {
  position: absolute;
  left: 0; right: 0; top: 100%;
  z-index: 25;
  background: var(--bg);
  border: 1px solid var(--ink);
  max-height: 300px;
  overflow-y: auto;
  display: none;
}
.find-results a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--rule);
  font-size: 16px;
}
.find-results a:hover { background: var(--tint); }
.find-results small { color: var(--muted); font-style: italic; }

/* Ruled Cross-Discipline Lines (Print Almanac Style) */
.lines ol { margin-top: 6px; }
.lines li { border-bottom: 1px solid var(--rule); }
.lines li a {
  display: grid;
  grid-template-columns: 68px minmax(0, 1.3fr) minmax(0, 1fr) auto;
  gap: 4px 24px;
  align-items: baseline;
  padding: 15px 0 14px;
}
.lines u {
  text-decoration: none;
  font-size: 16px;
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
}
.lines span {
  font-size: 23px;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -.01em;
}
.lines i {
  font-style: italic;
  color: var(--muted);
  font-size: 17px;
}
.lines b {
  color: var(--muted);
  text-align: right;
  white-space: nowrap;
}
.lines li a:hover span {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* Three Ruled Doors Above Footer */
.doors {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.doors a {
  border-top: 2px solid var(--ink);
  border-left: 1px solid var(--rule);
  padding: 13px 20px 6px;
  display: grid;
  gap: 7px;
  align-content: start;
}
.doors a:first-child { border-left: 0; padding-left: 0; }
.doors b { color: var(--muted); }
.doors span { font-size: 21px; line-height: 1.22; font-weight: 500; }
.doors span::after { content: " →"; color: var(--muted); }
.doors a:hover span {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* List Page — Monumental Editorial Header + Broadsheet Entries */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 48px;
  align-items: end;
  padding-top: clamp(36px, 5.5vw, 68px);
  padding-bottom: 36px;
}
.kicker { color: var(--muted); margin-bottom: 12px; }
.kicker a:hover { color: var(--ink); }
.hero h1 {
  font-size: clamp(40px, 5.8vw, 74px);
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: -.022em;
  max-width: 13.5em;
  text-wrap: balance;
}
.scope {
  margin-top: 18px;
  font-size: 21px;
  color: var(--muted);
  max-width: 48ch;
}
.figures {
  display: flex;
  margin-top: 26px;
}
.figures div {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 0 22px;
  border-left: 1px solid var(--rule);
}
.figures div:first-child { padding-left: 0; border-left: 0; }
.figures dt {
  font-size: 28px;
  line-height: 1;
  font-weight: 500;
  font-variant-numeric: lining-nums;
}
.figures dd { color: var(--muted); }

.list-bar {
  margin-top: 32px;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--rule);
  padding: 10px 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px 28px;
}
.filter-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}
.filter-btn {
  background: none;
  border: 0;
  padding: 0 0 2px;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: var(--muted);
  cursor: pointer;
}
.filter-btn:hover { color: var(--ink); }
.filter-btn.active {
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
}
.filter-btn i { font-style: normal; opacity: .68; }

/* Ranked Entries on List Page */
.entry-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  column-gap: 30px;
  padding: 28px 0 30px;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
.entry-seal { width: 84px; }
.entry-ord {
  font-size: 28px;
  font-weight: 500;
  color: var(--muted);
  font-variant-numeric: lining-nums;
  padding-top: 2px;
}
.entry-body h2 {
  font-size: clamp(25px, 2.6vw, 34px);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -.014em;
}
.entry-body h2 a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.entry-by {
  margin-top: 6px;
  font-style: italic;
  font-size: 18px;
  color: var(--muted);
}
.entry-desc {
  margin-top: 12px;
  font-size: 18.5px;
  line-height: 1.48;
  max-width: 60ch;
}
.entry-links {
  margin-top: 14px;
  display: flex;
  gap: 22px;
  font-size: 12px;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--muted);
}
.entry-links a {
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1px;
}
.entry-links a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.entry-meta {
  font-size: 11.5px;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
  white-space: nowrap;
  padding-top: 6px;
}

/* Single Publication Page & /creators/ Studio Plaque Page */
.plaque-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: clamp(36px, 5vw, 84px);
  align-items: start;
  margin-top: 36px;
  border-top: 2px solid var(--ink);
  padding-top: 32px;
}
.sticky-stage {
  position: sticky;
  top: 28px;
}
.dibond-stage {
  background: radial-gradient(circle at 32% 22%, #1B2838 0%, #091019 100%);
  padding: 36px 32px;
  border: 1px solid var(--rule);
  display: grid;
  place-items: center;
}
.dibond-plate {
  width: 100%;
  max-width: 295px;
  aspect-ratio: 3 / 4;
  padding: 15px;
  background: #0F1B29;
  color: #EDF1F6;
  box-shadow: 0 22px 48px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.25);
  transition: aspect-ratio .2s ease, background .2s ease;
}
.dibond-plate.size-square { aspect-ratio: 1 / 1; max-width: 310px; }
.dibond-plate.finish-silver {
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.22) 0px, rgba(0,0,0,.045) 1px, rgba(255,255,255,.14) 2px),
    linear-gradient(120deg, #c6cdd6 0%, #eff2f6 30%, #b6bec9 54%, #f4f6f9 80%, #c4cbd4 100%);
  color: #0F1B29;
}
.dp-frame {
  border: 1.2px solid currentColor;
  height: 100%;
  padding: 16px 14px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
}
.dp-medal { width: 58%; max-width: 156px; }
.dibond-plate.size-square .dp-medal { width: 50%; max-width: 138px; }
.dp-title { font-size: 20px; font-weight: 500; line-height: 1.14; text-wrap: balance; }
.dibond-plate.size-square .dp-title { font-size: 17.5px; }
.dp-hosts { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; margin-top: 5px; opacity: .82; }
.stage-cap {
  margin-top: 12px;
  text-align: center;
  font-size: 11.5px;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--muted);
}

.find-creator { position: relative; max-width: 460px; margin: 12px 0 26px; }
.find-creator input {
  width: 100%;
  font: inherit;
  font-size: 18px;
  padding: 10px 13px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
}
.opt-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0 24px; }
.opt-pill {
  padding: 9px 15px;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  cursor: pointer;
  text-align: left;
}
.opt-pill.active { border-color: var(--ink); background: var(--tint); }
.opt-pill small { display: block; font-size: 13px; font-style: italic; color: var(--muted); }

.spec-rows { border-top: 2px solid var(--ink); margin: 24px 0 26px; max-width: 540px; }
.spec-rows div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
}
.spec-rows dt { font-size: 12px; letter-spacing: .11em; text-transform: uppercase; color: var(--muted); }
.spec-rows dd { font-size: 18.5px; }

.btn-ink {
  display: inline-block;
  padding: 11px 24px;
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
  font: 500 12.5px var(--serif);
  letter-spacing: .13em;
  text-transform: uppercase;
  cursor: pointer;
}
.btn-ink.ghost { background: transparent; color: var(--ink); }
.btn-ink.ghost:hover { background: var(--ink); color: var(--bg); }

/* Prose Pages (/about/, /eligibility/) */
.about-page { padding-top: clamp(36px, 5.5vw, 68px); }
.about-page h1 {
  font-size: clamp(40px, 5.8vw, 74px);
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: -.022em;
}
.about-page .lead-p {
  margin-top: 26px;
  max-width: 34em;
  font-size: clamp(21px, 2.2vw, 25px);
  line-height: 1.38;
}
.about-page section { max-width: 62ch; margin-top: 42px; }
.about-page h2 {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-top: 2px solid var(--ink);
  padding-top: 9px;
  margin-bottom: 14px;
}
.about-page p { font-size: 20px; line-height: 1.52; }
.about-page p + p { margin-top: 12px; }
.about-page ul li {
  font-size: 19px;
  line-height: 1.44;
  padding: 10px 0 10px 20px;
  position: relative;
  border-bottom: 1px solid var(--rule);
}
.about-page ul li::before { content: "–"; position: absolute; left: 0; color: var(--muted); }

/* Footer — Double Oxford Rule & 4 Columns */
.bottom {
  margin-top: 72px;
  padding-bottom: 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 22px 32px;
  align-items: start;
}
.bottom::before {
  content: "";
  grid-column: 1 / -1;
  border-top: 3px double var(--ink);
}
.bottom-house .wordmark { font-size: 28px; }
.bottom-house p { margin-top: 8px; font-size: 15px; color: var(--muted); }
.bottom nav {
  display: grid;
  gap: 8px;
  font-size: 12px;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--muted);
}
.bottom nav h3 { font: inherit; letter-spacing: inherit; color: var(--ink); margin-bottom: 2px; }
.bottom nav a:hover { color: var(--ink); }

@media (max-width: 920px) {
  .editions-band { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .ed-col:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero, .plaque-split { grid-template-columns: 1fr; }
  .sticky-stage { position: static; max-width: 360px; }
  .lines li a { grid-template-columns: 52px 1fr; gap: 2px 12px; }
  .lines i { grid-column: 2; }
  .lines b { display: none; }
  .doors { grid-template-columns: 1fr; }
  .doors a { border-left: 0; padding: 12px 0 18px; }
  .bottom { grid-template-columns: 1fr 1fr; }
  .bottom-house { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .editions-band { grid-template-columns: 1fr; }
  .ed-col { padding: 0; border-left: 0; }
  .entry-row { grid-template-columns: 68px 1fr; }
  .entry-meta { display: none; }
}
