/* ==========================================================================
   WORLD BEST 50 — "The Annual Edition"
   Dark magazine cover → warm paper interior.
   Bodoni Moda display · Source Serif 4 body · IBM Plex Mono folio labels
   Champagne gold #B89968 (per brand book) · Wine #6B0F1A reserved for "50"
   ========================================================================== */

:root {
  --wb-ivory: #F4EFE5;          /* warm paper */
  --wb-warm-gray: #E9E1D1;      /* deep paper */
  --wb-charcoal: #161310;       /* warm ink */
  --wb-ink-soft: #241F1A;
  --wb-graphite: #57514A;
  --wb-gold: #B89968;           /* champagne — brand book */
  --wb-wine: #6B0F1A;           /* reserved for the numeral */
  --wb-wine-bright: #8A1420;    /* numeral on dark grounds */
  --wb-hair: rgba(22, 19, 16, 0.16);
  --wb-gold-hair: rgba(184, 153, 104, 0.4);
  --wb-dark-hair: #3B342B;
  --wb-muted-on-dark: #CFC6B6;
  --wb-faint-on-dark: #8F877A;
  --nav-h: 64px;
  --ease-print: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background-color: var(--wb-ivory);
  background-image: radial-gradient(rgba(22, 19, 16, 0.03) 1px, transparent 1px);
  background-size: 4px 4px;
  color: var(--wb-charcoal);
  font-family: 'Lora', Georgia, 'Times New Roman', serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--wb-wine); color: var(--wb-ivory); }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
em { font-style: italic; }
button { font: inherit; background: none; border: none; padding: 0; cursor: pointer; color: inherit; }

/* ---- Typography ---------------------------------------------------------- */

.serif {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-optical-sizing: auto;
  font-weight: 500;
}

.mono { font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif; }

.eyebrow {
  font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wb-graphite);
  font-weight: 600;
}

.wine { color: var(--wb-wine); }
.gold { color: var(--wb-gold); }
.graphite { color: var(--wb-graphite); }
.italic { font-style: italic; }

/* ---- Layout helpers ------------------------------------------------------ */

.wrap {
  max-width: 1360px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.grid12 { display: grid; grid-template-columns: 1fr; gap: 40px; }

.bb-hair { border-bottom: 1px solid var(--wb-hair); }
.bb-dark { border-bottom: 1px solid var(--wb-charcoal); }
.bt-dark { border-top: 1px solid var(--wb-charcoal); }

.bg-warm { background: var(--wb-warm-gray); }
.bg-dark { background: var(--wb-charcoal); color: var(--wb-ivory); }

.section-pad { padding-top: 104px; padding-bottom: 104px; }

.mono-img { filter: grayscale(100%) contrast(1.05); }

.hide-sm { display: none; }
.hide-md { display: none; }
@media (min-width: 640px) { .hide-sm { display: inline; } }
@media (min-width: 768px) { .hide-md { display: block; } }

@media (min-width: 1024px) {
  .wrap { padding-left: 48px; padding-right: 48px; }
  .grid12 { grid-template-columns: repeat(12, 1fr); }
  .c2 { grid-column: span 2; }
  .c3 { grid-column: span 3; }
  .c4 { grid-column: span 4; }
  .c5 { grid-column: span 5; }
  .c6 { grid-column: span 6; }
  .c7 { grid-column: span 7; }
  .c8 { grid-column: span 8; }
}

/* ---- Partner strip -------------------------------------------------------- */

.partner-strip { background: var(--wb-charcoal); color: var(--wb-ivory); }
.partner-strip .inner {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.partner-strip .eyebrow { color: var(--wb-faint-on-dark); }
.partner-strip .eyebrow .gold { color: var(--wb-gold); }

/* ---- Header (single line, sticky) ------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 239, 229, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--wb-hair);
  transition: border-color 200ms ease;
}
.site-header.scrolled { border-bottom-color: var(--wb-charcoal); }

.site-header .inner {
  height: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
}
@media (min-width: 1024px) {
  .site-header .inner { grid-template-columns: 1fr auto 1fr; }
}

.wordmark { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.wm-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--wb-charcoal);
}
.wm-fifty {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 19px;
  line-height: 1;
  color: var(--wb-wine);
}
.folio-links { display: none; }
@media (min-width: 1024px) {
  .folio-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(24px, 3vw, 44px);
  }
}
.folio-link {
  position: relative;
  color: var(--wb-graphite);
  padding: 4px 0;
  transition: color 180ms ease;
}
.folio-link .idx {
  color: var(--wb-gold);
  font-size: 8.5px;
  margin-right: 7px;
}
.folio-link:hover { color: var(--wb-charcoal); }
.folio-link.active { color: var(--wb-charcoal); }
.folio-link.active::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -5px;
  width: 4px;
  height: 4px;
  background: var(--wb-wine);
}
.folio-link:focus-visible, .wb-btn:focus-visible, .menu-toggle:focus-visible {
  outline: 2px solid var(--wb-gold);
  outline-offset: 3px;
}

.site-header .header-cta { display: none; }
@media (min-width: 1024px) {
  .site-header .header-cta { display: inline-flex; padding: 11px 18px; justify-self: end; white-space: nowrap; }
}
.menu-toggle { display: inline-block; justify-self: end; }
@media (min-width: 1024px) { .menu-toggle { display: none; } }

.mobile-menu {
  display: none;
  border-top: 1px solid var(--wb-hair);
  padding: 20px 24px 24px;
}
.mobile-menu.open { display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 1024px) { .mobile-menu.open { display: none; } }

/* ---- Buttons ------------------------------------------------------------- */

.wb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 26px;
  background: var(--wb-charcoal);
  color: var(--wb-ivory);
  font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--wb-charcoal);
  cursor: pointer;
  transition: background 220ms var(--ease-print), color 220ms var(--ease-print), border-color 220ms var(--ease-print);
}
.wb-btn:hover { background: var(--wb-wine); border-color: var(--wb-wine); color: var(--wb-ivory); }
.wb-btn.ghost { background: transparent; color: var(--wb-charcoal); }
.wb-btn.ghost:hover { background: var(--wb-charcoal); color: var(--wb-ivory); }
.wb-btn.light { background: var(--wb-ivory); color: var(--wb-charcoal); border-color: var(--wb-ivory); }
.wb-btn.light:hover { background: var(--wb-gold); border-color: var(--wb-gold); color: var(--wb-charcoal); }
.wb-btn.ghost-light { background: transparent; color: var(--wb-ivory); border-color: rgba(244, 239, 229, 0.5); }
.wb-btn.ghost-light:hover { border-color: var(--wb-gold); color: var(--wb-gold); background: transparent; }
.wb-btn:disabled { opacity: 0.5; cursor: default; }

/* ---- The Cover (home hero) ------------------------------------------------- */

.cover {
  position: relative;
  overflow: hidden;
  background: var(--wb-charcoal);
  color: var(--wb-ivory);
  display: flex;
  flex-direction: column;
}
.cover > * { position: relative; z-index: 1; }

.hero-video { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.08) brightness(0.85);
}
.hero-video::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% 45%, rgba(22, 19, 16, 0.3) 0%, rgba(22, 19, 16, 0.82) 100%),
    linear-gradient(180deg, rgba(22, 19, 16, 0.62) 0%, rgba(22, 19, 16, 0.45) 50%, rgba(22, 19, 16, 0.86) 100%);
}

.cover-inner {
  width: 100%;
  min-height: min(90vh, 940px);
  display: flex;
  flex-direction: column;
}

.cover .hero-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0 14px;
  border-bottom: 1px solid var(--wb-gold-hair);
}
.cover .hero-meta span { color: var(--wb-gold); }

.cover-stage {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  padding: clamp(72px, 11vh, 128px) 0;
}

/* print registration marks */
.crop-mark {
  position: absolute;
  width: 20px;
  height: 20px;
  pointer-events: none;
}
.crop-mark.tl { top: 20px; left: 0; border-top: 1px solid var(--wb-gold-hair); border-left: 1px solid var(--wb-gold-hair); transform-origin: top left; }
.crop-mark.tr { top: 20px; right: 0; border-top: 1px solid var(--wb-gold-hair); border-right: 1px solid var(--wb-gold-hair); transform-origin: top right; }
.crop-mark.bl { bottom: 20px; left: 0; border-bottom: 1px solid var(--wb-gold-hair); border-left: 1px solid var(--wb-gold-hair); transform-origin: bottom left; }
.crop-mark.br { bottom: 20px; right: 0; border-bottom: 1px solid var(--wb-gold-hair); border-right: 1px solid var(--wb-gold-hair); transform-origin: bottom right; }

/* vertical edition rail */
.cover-rail {
  position: absolute;
  left: 2px;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  color: var(--wb-gold);
  letter-spacing: 0.3em;
  display: none;
}
@media (min-width: 1024px) { .cover-rail { display: block; } }

.cover-body {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
@media (min-width: 1024px) { .cover-body { margin-left: clamp(0px, 5vw, 72px); } }

.cover-kicker { color: var(--wb-gold); margin-bottom: 26px; }

.hero-title {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 30px rgba(22, 19, 16, 0.45);
}
.hero-title .line { display: block; }
.hero-title .l1, .hero-title .l3 { font-size: clamp(26px, 3.4vw, 52px); }
.hero-title .l2 {
  font-size: clamp(56px, 9.5vw, 148px);
  font-style: italic;
  font-weight: 500;
  line-height: 0.98;
  margin: 0.02em 0;
}
.hero-title .l3 { margin-left: clamp(20px, 7vw, 120px); }

/* misregistered numeral: gold proof behind wine ink */
.hero-fifty {
  position: absolute;
  right: clamp(-30px, -1vw, 0px);
  bottom: -5%;
  z-index: 0;
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: clamp(170px, 24vw, 400px);
  line-height: 0.8;
  letter-spacing: -0.04em;
  user-select: none;
  pointer-events: none;
}
.fifty-ghost {
  position: absolute;
  top: -16px;
  left: -22px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(184, 153, 104, 0.55);
}
.fifty-ink { position: relative; display: block; color: var(--wb-wine-bright); opacity: 0.92; }

.cover-standfirst {
  margin: 30px 0 0;
  max-width: 46ch;
  font-size: 15.5px;
  line-height: 1.8;
  color: rgba(244, 239, 229, 0.86);
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

/* underlined editorial link */
.cover-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--wb-ivory);
  padding: 12px 2px;
}
.cover-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5px;
  height: 1px;
  background: var(--wb-gold);
  transform-origin: left;
  transition: transform 320ms var(--ease-print);
}
.cover-link:hover::after { transform: scaleX(0.3); }
.cover-link .arrow { transition: transform 320ms var(--ease-print); }
.cover-link:hover .arrow { transform: translateX(6px); }

.cover-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 30px;
  border-top: 1px solid var(--wb-gold-hair);
  padding-top: 22px;
}
.hero-stats { display: flex; gap: 0; }
.hero-stats .stat { padding: 0 32px; border-left: 1px solid var(--wb-gold-hair); }
.hero-stats .stat:first-child { padding-left: 0; border-left: none; }
.hero-stats .num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: 36px;
  line-height: 1;
}
.hero-stats .lbl { display: block; margin-top: 8px; color: var(--wb-gold); }
.cover-issue { color: var(--wb-faint-on-dark); }

/* ---- Ticker ---------------------------------------------------------------- */

.ticker-band {
  border-top: 1px solid var(--wb-gold-hair);
  background: var(--wb-charcoal);
  overflow: hidden;
  padding: 13px 0;
}
.wb-ticker {
  display: flex;
  white-space: nowrap;
  gap: 72px;
  animation: wb-ticker 60s linear infinite;
  width: max-content;
}
.wb-ticker .group { display: flex; gap: 72px; }
.wb-ticker span { color: var(--wb-gold); }
@keyframes wb-ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---- Section headings ------------------------------------------------------ */

.sec-h2 {
  margin-top: 26px;
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.01em;
}
.sec-h2.md { font-size: clamp(26px, 3vw, 36px); }
.sec-h2.xl { font-size: clamp(32px, 4.6vw, 58px); }

.sec-head-row {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 64px;
}
@media (min-width: 1024px) {
  .sec-head-row { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}
.sec-head-row .note { max-width: 430px; font-size: 16px; line-height: 1.8; color: var(--wb-graphite); }

/* ---- Feature blocks (what-it-is) — ledger rows ------------------------------ */

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--wb-charcoal);
  counter-reset: feature;
}
@media (min-width: 768px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
.feature-grid > div {
  counter-increment: feature;
  position: relative;
  padding: 34px 0 34px 64px;
  border-bottom: 1px solid var(--wb-hair);
}
@media (min-width: 768px) {
  .feature-grid > div:nth-child(odd) { padding-right: 56px; border-right: 1px solid var(--wb-hair); }
  .feature-grid > div:nth-child(even) { padding-left: 120px; }
  .feature-grid > div:nth-child(even)::before { left: 56px; }
}
.feature-grid > div::before {
  content: '0' counter(feature);
  position: absolute;
  left: 0;
  top: 38px;
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  line-height: 1;
  color: var(--wb-gold);
}
.feature-grid .eyebrow.wine { color: var(--wb-charcoal); }
.feature-grid p { margin-top: 12px; font-size: 15px; line-height: 1.75; color: var(--wb-graphite); }
.feature-grid p strong { color: var(--wb-charcoal); }

/* ---- Framed images (print plates) ------------------------------------------- */

.aspect-45, .aspect-1610 {
  width: 100%;
  object-fit: cover;
  border: 1px solid var(--wb-charcoal);
  outline: 1px solid var(--wb-gold-hair);
  outline-offset: 10px;
}
.aspect-45 { aspect-ratio: 4 / 5; }
.aspect-1610 { aspect-ratio: 16 / 10; }

/* ---- Methodology tiers ------------------------------------------------------ */

.tier-grid { display: grid; grid-template-columns: 1fr; border-top: 3px double var(--wb-charcoal); }
@media (min-width: 768px) { .tier-grid { grid-template-columns: 1fr 1fr; } }
.tier { padding: 40px 0 44px; border-bottom: 1px solid var(--wb-charcoal); }
@media (min-width: 768px) {
  .tier { padding: 48px 56px 52px 0; }
  .tier:first-child { border-right: 1px solid var(--wb-hair); }
  .tier + .tier { padding-left: 56px; padding-right: 0; }
}
.tier .head { display: flex; align-items: baseline; gap: 28px; }
.tier .index {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 76px;
  line-height: 0.8;
  color: var(--wb-wine);
}
.tier .title { font-family: 'Playfair Display', serif; font-size: 27px; margin-top: 6px; }
.tier p { margin-top: 30px; font-size: 15px; line-height: 1.8; color: var(--wb-graphite); }

/* ---- Preview lists (home index pages) --------------------------------------- */

.preview-cols { display: grid; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .preview-cols { grid-template-columns: 1fr 1fr; gap: 88px; } }
.preview-col + .preview-col { margin-top: 64px; }
@media (min-width: 1024px) { .preview-col + .preview-col { margin-top: 0; } }

.preview-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 3px double var(--wb-charcoal);
  padding-bottom: 14px;
}
.preview-head .title { font-family: 'Playfair Display', serif; font-size: 30px; }

.prev-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--wb-hair);
  align-items: baseline;
}
@media (min-width: 768px) { .prev-row { grid-template-columns: 48px 6fr 5fr; } }
.prev-row.with-photo { align-items: center; grid-template-columns: 48px 56px 1fr; }
@media (min-width: 768px) { .prev-row.with-photo { grid-template-columns: 48px 56px 5fr 4fr; } }
.prev-row .rank {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  color: var(--wb-gold);
}
.prev-row .name { font-family: 'Playfair Display', serif; font-size: 22px; }
.prev-row .meta { margin-top: 5px; }
.prev-row .note { display: none; font-size: 14.5px; color: var(--wb-graphite); line-height: 1.65; }
@media (min-width: 768px) { .prev-row .note { display: block; } }
.prev-row .portrait { width: 56px; height: 56px; object-fit: cover; border: 1px solid var(--wb-hair); }

/* ---- Dark principle cells ----------------------------------------------------- */

.principle-grid { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--wb-dark-hair); }
@media (min-width: 640px) { .principle-grid { grid-template-columns: 1fr 1fr; } }
.principle { padding: 34px 32px; border-bottom: 1px solid var(--wb-dark-hair); }
@media (min-width: 640px) { .principle:nth-child(odd) { border-right: 1px solid var(--wb-dark-hair); } }
.principle .eyebrow { color: var(--wb-gold); }
.principle .word { font-family: 'Playfair Display', serif; font-size: 26px; margin-top: 14px; }
.principle p { margin-top: 12px; font-size: 15.5px; line-height: 1.75; color: var(--wb-muted-on-dark); }

.on-dark-copy { color: var(--wb-muted-on-dark); font-size: 16px; line-height: 1.8; }
.bg-dark .eyebrow { color: var(--wb-gold); }

/* ---- Interior mastheads --------------------------------------------------------- */

.masthead { border-bottom: 3px double var(--wb-charcoal); }
.masthead .inner { padding-top: 52px; padding-bottom: 44px; }
.masthead .meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--wb-hair);
}
.masthead h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: clamp(38px, 8.5vw, 96px);
  line-height: 0.94;
  letter-spacing: -0.01em;
}
.masthead .standfirst {
  margin-top: 30px;
  max-width: 620px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--wb-graphite);
}

/* ---- Lists page ------------------------------------------------------------------ */

.tabs-bar {
  border-bottom: 1px solid var(--wb-hair);
  position: sticky;
  top: var(--nav-h);
  z-index: 30;
  background: var(--wb-ivory);
}
.tabs-bar .inner { display: flex; align-items: center; gap: 44px; height: 54px; }
.tab-btn {
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  color: var(--wb-graphite);
  transition: color 200ms ease, border-color 200ms ease;
}
.tab-btn:hover { color: var(--wb-charcoal); }
.tab-btn.active { border-bottom-color: var(--wb-wine); color: var(--wb-charcoal); }
.tabs-bar .side { margin-left: auto; display: none; }
@media (min-width: 640px) { .tabs-bar .side { display: inline; } }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.list-head, .list-row { display: grid; gap: 18px; align-items: center; }
.list-head {
  padding-bottom: 14px;
  border-bottom: 3px double var(--wb-charcoal);
  grid-template-columns: 52px 72px 1fr;
}
.list-row {
  padding: 26px 0;
  border-bottom: 1px solid var(--wb-hair);
  grid-template-columns: 52px 72px 1fr;
}
@media (min-width: 768px) {
  .list-head.ent, .list-row.ent { grid-template-columns: 52px 72px 3fr 2fr 2fr 3fr; }
  .list-head.ind, .list-row.ind { grid-template-columns: 52px 72px 3fr 3fr 1.4fr 3fr; }
}

.list-row .rank { font-family: 'Playfair Display', serif; font-size: 32px; line-height: 1; color: var(--wb-gold); }
.list-row .name { font-family: 'Playfair Display', serif; font-size: 25px; line-height: 1.15; }
.list-row .sub { margin-top: 5px; }
@media (min-width: 768px) { .list-row .sub { display: none; } }
.list-row .cell { display: none; font-size: 15px; }
@media (min-width: 768px) { .list-row .cell { display: block; } }
.list-row .cell .org { color: var(--wb-graphite); }
.list-row .note { grid-column: 1 / -1; font-size: 14px; color: var(--wb-graphite); line-height: 1.65; }
@media (min-width: 768px) { .list-row .note { grid-column: auto; } }

.list-row .mark {
  position: relative;
  overflow: hidden;
  width: 56px; height: 56px;
  border: 1px solid var(--wb-hair);
  background: var(--wb-warm-gray);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 20px;
}
.list-row .mark img, .logo-box img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 9px;
  background: #FDFCF9;
  filter: grayscale(100%) contrast(1.05);
}
.logo-box {
  position: relative;
  overflow: hidden;
  width: 56px;
  height: 56px;
  border: 1px solid var(--wb-hair);
  background: var(--wb-warm-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 20px;
}
.list-row .portrait { width: 64px; height: 64px; object-fit: cover; border: 1px solid var(--wb-hair); }

.list-foot {
  padding-top: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---- Sidebar blocks (nominate / contact) ------------------------------------------ */

.side-block { border-top: 3px double var(--wb-charcoal); padding-top: 22px; }
.side-block + .side-block { margin-top: 44px; border-top: 1px solid var(--wb-charcoal); }
.side-block .headline { font-family: 'Playfair Display', serif; font-size: 24px; margin-top: 12px; }
.side-block p, .side-block .body { margin-top: 10px; font-size: 15.5px; line-height: 1.8; color: var(--wb-graphite); }
.side-block ul.notes { margin-top: 24px; display: flex; flex-direction: column; gap: 20px; font-size: 15.5px; line-height: 1.75; }
.side-block ul.notes .idx { font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif; font-size: 12px; color: var(--wb-gold); margin-right: 10px; }

/* ---- About page ---------------------------------------------------------------------- */

.prose { font-size: 16px; line-height: 1.85; }
.prose p + p { margin-top: 26px; }
.prose > p:first-child::first-letter {
  font-family: 'Playfair Display', serif;
  font-size: 64px;
  line-height: 0.8;
  float: left;
  padding: 8px 12px 0 0;
  color: var(--wb-wine);
}

.two-col-notes { margin-top: 72px; display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 768px) { .two-col-notes { grid-template-columns: 1fr 1fr; } }
.two-col-notes ol, .two-col-notes ul { margin-top: 18px; display: flex; flex-direction: column; gap: 14px; font-size: 16px; line-height: 1.8; }
.two-col-notes .q { font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif; font-size: 12px; color: var(--wb-gold); }

.board-roles { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
@media (min-width: 640px) { .board-roles { grid-template-columns: repeat(3, 1fr); } }
.board-roles .role { border-top: 1px solid var(--wb-charcoal); padding-top: 12px; }
.board-roles .role .idx { font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif; font-size: 11px; color: var(--wb-gold); }
.board-roles .role .label { font-family: 'Playfair Display', serif; font-size: 19px; margin-top: 5px; }

.redline-grid { margin-top: 64px; display: grid; grid-template-columns: 1fr; border-top: 3px double var(--wb-charcoal); }
@media (min-width: 768px) { .redline-grid { grid-template-columns: 1fr 1fr; } }
.redline-col { padding: 36px 0; border-bottom: 1px solid var(--wb-charcoal); }
@media (min-width: 768px) {
  .redline-col { padding: 44px 56px 48px 0; }
  .redline-col:first-child { border-right: 1px solid var(--wb-hair); }
  .redline-col + .redline-col { padding-left: 56px; padding-right: 0; }
}
.redline-col ul { margin-top: 26px; display: flex; flex-direction: column; gap: 18px; font-size: 16px; line-height: 1.75; }
.redline-col li { display: flex; gap: 16px; }
.redline-col .sym { font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif; margin-top: 4px; }

/* ---- Forms ------------------------------------------------------------------------------ */

.wb-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(22, 19, 16, 0.35);
  padding: 12px 0;
  font-family: 'Lora', Georgia, 'Times New Roman', serif;
  font-size: 16px;
  color: var(--wb-charcoal);
  outline: none;
  transition: border-color 200ms ease;
  border-radius: 0;
}
.wb-input:focus { border-bottom-color: var(--wb-wine); }
.wb-input::placeholder { color: rgba(22, 19, 16, 0.38); font-style: italic; }
textarea.wb-input { resize: vertical; min-height: 130px; }

.field label { display: block; }
.field .wb-input { margin-top: 12px; }

.form-grid { display: grid; grid-template-columns: 1fr; gap: 34px; margin-bottom: 44px; }
@media (min-width: 768px) { .form-grid { grid-template-columns: 1fr 1fr; } }

.choice-grid { display: grid; border: 1px solid var(--wb-charcoal); }
.choice-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.choice-grid.cols-4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 1024px) { .choice-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }

.choice {
  padding: 20px 24px;
  text-align: left;
  background: transparent;
  transition: background 220ms var(--ease-print), color 220ms var(--ease-print);
}
.choice + .choice { border-left: 1px solid var(--wb-charcoal); }
@media (max-width: 1023.5px) {
  .choice-grid.cols-4 .choice:nth-child(3) { border-left: none; }
  .choice-grid.cols-4 .choice:nth-child(n+3) { border-top: 1px solid var(--wb-charcoal); }
}
.choice:hover { background: rgba(22, 19, 16, 0.04); }
.choice .label { font-family: 'Playfair Display', serif; font-size: 24px; margin-top: 6px; }
.choice.small .label { font-size: 18px; }
.choice.selected { background: var(--wb-charcoal); color: var(--wb-ivory); }
.choice.selected:hover { background: var(--wb-charcoal); }
.choice.selected .eyebrow { color: var(--wb-gold); }

.form-notice {
  border: 1px solid var(--wb-charcoal);
  outline: 1px solid var(--wb-gold-hair);
  outline-offset: 5px;
  padding: 26px;
  margin-bottom: 44px;
  display: none;
}
.form-notice.visible { display: block; }
.form-notice .headline { font-family: 'Playfair Display', serif; font-size: 24px; margin-top: 10px; }
.form-notice p { margin-top: 8px; font-size: 15.5px; color: var(--wb-graphite); }

.form-footer {
  border-top: 1px solid var(--wb-charcoal);
  padding-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.char-counter { margin-top: 10px; display: flex; align-items: center; justify-content: space-between; }

/* ---- Colophon footer ---------------------------------------------------------------------- */

.site-footer { background: var(--wb-charcoal); color: var(--wb-ivory); margin-top: 112px; }
.site-footer .inner { padding-top: 76px; padding-bottom: 44px; text-align: center; }
.colophon-mark { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--wb-gold); }
.footer-brand {
  margin-top: 22px;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}
.footer-brand .fifty { color: var(--wb-wine-bright); font-weight: 800; }
.footer-line {
  margin: 22px auto 0;
  max-width: 560px;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--wb-muted-on-dark);
}
.footer-presenter { margin-top: 26px; color: var(--wb-gold); }
.footer-links {
  margin: 36px auto 0;
  padding: 18px 0;
  border-top: 1px solid var(--wb-dark-hair);
  border-bottom: 1px solid var(--wb-dark-hair);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 36px;
}
.footer-links a { color: var(--wb-muted-on-dark); transition: color 180ms ease; }
.footer-links a:hover { color: var(--wb-gold); }
.footer-bottom {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.footer-bottom .eyebrow { color: var(--wb-faint-on-dark); }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }

/* ---- Motion ---------------------------------------------------------------------------------- */

@keyframes wb-fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.wb-fade-up { animation: wb-fade-up 700ms var(--ease-print) both; }

@media (prefers-reduced-motion: reduce) {
  .wb-ticker { animation: none; }
  .wb-fade-up { animation: none; }
}

/* ---- Utilities --------------------------------------------------------------------------------- */

.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mt-10 { margin-top: 40px; }
.mt-14 { margin-top: 56px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-10 { margin-bottom: 40px; }
.max-w-copy { max-width: 640px; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actions.column { flex-direction: column; align-items: stretch; }

/* ---- Mobile refinements --------------------------------------------------------------------------- */

@media (max-width: 639px) {
  :root { --nav-h: 56px; }
  .section-pad { padding-top: 68px; padding-bottom: 68px; }
  .site-footer { margin-top: 68px; }

  .cover-inner { min-height: 76vh; }
  .cover-stage { padding: 56px 0 72px; }
  .cover-kicker { margin-bottom: 18px; }
  .hero-title .l1, .hero-title .l3 { font-size: clamp(20px, 6.4vw, 26px); }
  .hero-title .l2 { font-size: clamp(50px, 16.5vw, 66px); }
  .hero-title .l3 { margin-left: 10vw; }
  .hero-fifty { font-size: clamp(140px, 46vw, 190px); right: -8vw; bottom: -2%; }
  .cover-standfirst { font-size: 15px; margin-top: 22px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 20px; }
  .hero-actions .wb-btn { align-self: stretch; justify-content: center; }
  .crop-mark { width: 14px; height: 14px; }
  .cover-foot { flex-direction: column; align-items: flex-start; padding-bottom: 26px; }
  .hero-stats { width: 100%; justify-content: space-between; }
  .hero-stats .stat { padding: 0 12px; }
  .hero-stats .stat:first-child { padding-left: 0; }
  .hero-stats .num { font-size: 26px; }
  .hero-stats .lbl { font-size: 9px; letter-spacing: 0.1em; }

  .masthead .inner { padding-top: 36px; padding-bottom: 32px; }
  .masthead h1 { font-size: clamp(34px, 11vw, 52px); }
  .masthead .standfirst { font-size: 16px; margin-top: 22px; }

  .sec-h2 { font-size: clamp(27px, 8.6vw, 34px); }
  .sec-h2.xl { font-size: clamp(29px, 9.2vw, 40px); }

  .feature-grid > div { padding-left: 52px; }
  .feature-grid > div::before { font-size: 24px; }
  .tier .index { font-size: 52px; }
  .aspect-45, .aspect-1610 { outline-offset: 6px; }
}

/* ==========================================================================
   Face wall (contact sheet of individuals)
   ========================================================================== */

.face-wall {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px 16px;
}
@media (min-width: 640px) { .face-wall { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .face-wall { grid-template-columns: repeat(5, 1fr); gap: 32px 20px; } }

.face { display: block; }
.face .frame {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--wb-hair);
  background: var(--wb-warm-gray);
}
.face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms var(--ease-print);
}
.face:hover img { transform: scale(1.045); }
.face-cap { display: block; margin-top: 10px; }
.face-name {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 16.5px;
  line-height: 1.25;
  transition: color 180ms ease;
}
.face:hover .face-name { color: var(--wb-wine); }
.face-org { display: block; margin-top: 4px; font-size: 10px; }

/* Monogram tiles (no licensed portrait available) */
.frame-monogram {
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 44px;
  color: var(--wb-gold);
}
.portrait-monogram {
  width: 64px;
  height: 64px;
  border: 1px solid var(--wb-hair);
  background: var(--wb-warm-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--wb-gold);
}

/* Wide print plates with captions */
.plate-fig { margin: 0; }
.plate-wide {
  width: 100%;
  aspect-ratio: 21 / 8;
  object-fit: cover;
  border: 1px solid var(--wb-charcoal);
  outline: 1px solid var(--wb-gold-hair);
  outline-offset: 10px;
}
.plate-fig figcaption { margin-top: 18px; text-align: right; }
.bg-dark .aspect-45 { border-color: rgba(244, 239, 229, 0.2); }
@media (max-width: 639px) {
  .plate-wide { aspect-ratio: 16 / 9; outline-offset: 6px; }
}

/* Brand logo image */
.wordmark .logo-img { display: block; height: 22px; width: auto; }
.footer-brand .logo-img { display: block; height: 34px; width: auto; margin: 0 auto; }
@media (max-width: 639px) {
  .wordmark .logo-img { height: 18px; }
  .footer-brand .logo-img { height: 26px; }
}


/* ==========================================================================
   Selection criteria (named dimensions, per brand brief §2.1)
   ========================================================================== */

.criteria-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  border-top: 1px solid var(--wb-charcoal);
  padding-top: 40px;
}
@media (min-width: 768px) { .criteria-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.criteria-col ul { margin-top: 20px; display: flex; flex-direction: column; gap: 0; }
.criteria-col li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  padding: 14px 0;
  border-bottom: 1px solid var(--wb-hair);
}
.criteria-col .n { font-family: 'Montserrat', sans-serif; font-size: 10px; letter-spacing: 0.12em; color: var(--wb-gold); font-weight: 600; }

/* ==========================================================================
   Lists page — search / filter bar
   ========================================================================== */

.search-bar .inner {
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.search-input-wrap { max-width: 420px; width: 100%; }
.search-input-wrap .wb-input { margin-top: 0; }
.search-meta { white-space: nowrap; }
@media (max-width: 639px) { .search-meta { display: none; } }

/* ==========================================================================
   Press page
   ========================================================================== */

.press-list { border-top: 1px solid var(--wb-charcoal); }
.press-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 32px 0;
  border-bottom: 1px solid var(--wb-hair);
}
@media (min-width: 768px) { .press-item { grid-template-columns: 140px 1fr; gap: 32px; } }
.press-item .date { color: var(--wb-gold); }
.press-item .headline { font-family: 'Playfair Display', serif; font-size: 22px; margin-top: 4px; }
.press-item p { margin-top: 8px; color: var(--wb-graphite); font-size: 15px; line-height: 1.75; }

.asset-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 40px; }
@media (min-width: 640px) { .asset-grid { grid-template-columns: 1fr 1fr; } }
.asset-card { border: 1px solid var(--wb-charcoal); }
.asset-preview {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.asset-preview.on-ivory { background: var(--wb-ivory); }
.asset-preview.on-ink { background: var(--wb-charcoal); }
.asset-preview img { max-width: 100%; max-height: 48px; width: auto; }
.asset-meta {
  border-top: 1px solid var(--wb-charcoal);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.asset-meta a { color: var(--wb-wine); }
.asset-meta a:hover { text-decoration: underline; }

/* ==========================================================================
   Annual Report page
   ========================================================================== */

.report-cover { position: relative; }
.report-cover .ribbon-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 150px;
  height: 150px;
  overflow: hidden;
  z-index: 2;
  pointer-events: none;
}
.report-cover .ribbon {
  position: absolute;
  display: block;
  width: 220px;
  left: -55px;
  top: 32px;
  transform: rotate(-45deg);
  transform-origin: center;
  background: var(--wb-wine);
  color: var(--wb-ivory);
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  padding: 8px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.contents-list { margin-top: 28px; display: flex; flex-direction: column; gap: 0; }
.contents-list li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--wb-hair);
  font-size: 15.5px;
}
.contents-list .n { font-family: 'Playfair Display', serif; color: var(--wb-gold); font-size: 20px; min-width: 28px; }

.reserved-note {
  margin-top: 20px;
  border: 1px dashed var(--wb-hair);
  padding: 28px;
  color: var(--wb-graphite);
  font-size: 15px;
  line-height: 1.8;
}


/* ==========================================================================
   Lists page — search folded into the sticky tabs bar (fix: avoid being
   hidden under sticky elements when placed as its own section)
   ========================================================================== */

.tabs-search { margin-left: auto; display: flex; align-items: center; }
.tabs-search-input {
  width: 240px;
  max-width: 46vw;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(22, 19, 16, 0.35);
  padding: 6px 0;
  font-family: 'Lora', Georgia, serif;
  font-size: 14px;
  color: var(--wb-charcoal);
  outline: none;
  border-radius: 0;
  transition: border-color 200ms ease;
}
.tabs-search-input:focus { border-bottom-color: var(--wb-wine); }
.tabs-search-input::placeholder { color: rgba(22, 19, 16, 0.4); font-style: italic; }
@media (max-width: 767px) { .tabs-search-input { width: 150px; font-size: 13px; } }


/* Tabs + search bar: stack search onto its own row on narrow screens */
@media (max-width: 639px) {
  .tabs-bar .inner {
    height: auto;
    flex-wrap: wrap;
    padding-top: 14px;
    padding-bottom: 14px;
    row-gap: 12px;
  }
  .tabs-search { order: 3; margin-left: 0; width: 100%; }
  .tabs-search-input { width: 100%; max-width: none; }
}


/* Grid overflow guard: 1fr tracks default to min-width:auto (content-based),
   which can force the whole grid past the viewport on narrow screens if any
   child has an unbreakable run of text. Standard, non-visual fix. */
.grid12 > * { min-width: 0; }


/* Same overflow guard, one level deeper: .choice-grid items (Enterprise /
   Individual, Contact subject picker) are themselves nested grid tracks. */
.choice-grid > .choice { min-width: 0; }
.choice .label { overflow-wrap: break-word; }
