/* ============================================================
   Aspirational Neuroscience — design system
   ============================================================ */
:root {
  --ink:      #0b1f3a;
  --ink-2:    #13294a;
  --brand:    #0e7ec4;
  --brand-d:  #0a5f96;
  --teal:     #16b8c7;
  --bg:       #ffffff;
  --surface:  #f4f8fc;
  --surface-2:#e9f1f8;
  --line:     #dbe5ef;
  --text:     #1d2a3a;
  
  --muted:    #5a6b7e;
  --white:    #ffffff;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Space Grotesk", var(--font-sans);

  --maxw: 1140px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(11,31,58,.06), 0 2px 8px rgba(11,31,58,.05);
  --shadow:    0 10px 30px rgba(11,31,58,.10);
  --shadow-lg: 0 24px 60px rgba(11,31,58,.16);
  --ease: cubic-bezier(.16,.84,.44,1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--brand-d); text-decoration: none; }
a:hover { text-decoration: underline; }

h1,h2,h3,h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.12; font-weight: 600; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 1.15rem + 1.9vw, 2.35rem); }
h3 { font-size: clamp(1.18rem, 1.02rem + .7vw, 1.4rem); }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.section { padding: clamp(3.5rem, 2rem + 6vw, 6.5rem) 0; }
.section--tight { padding: clamp(2.5rem, 1.5rem + 4vw, 4rem) 0; }
.section--surface { background: var(--surface); }
.section--ink { background: var(--ink); color: #d8e3f0; }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }

.eyebrow {
  display: inline-block; font-family: var(--font-display);
  font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand); margin-bottom: .9rem;
}
.section--ink .eyebrow { color: var(--teal); }
.section-head { max-width: 720px; margin-bottom: 2.6rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); color: var(--muted); }
.section--ink .lead { color: #aebfd2; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 600; font-size: .98rem;
  padding: .8rem 1.4rem; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: linear-gradient(120deg, var(--brand), var(--teal)); color: #fff; box-shadow: 0 8px 22px rgba(14,126,196,.32); }
.btn-primary:hover { box-shadow: 0 12px 30px rgba(14,126,196,.42); color:#fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-d); }
.section--ink .btn-ghost { color:#fff; border-color: rgba(255,255,255,.28); }
.section--ink .btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn-sm { padding: .55rem 1rem; font-size: .9rem; }

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--ink); color: #cfe0f0; font-size: .9rem; text-align: center;
  padding: .6rem 1rem;
}
.announce a { color: var(--teal); font-weight: 600; }
.announce strong { color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.82); backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: .7rem 0; }
.brand { display: flex; align-items: center; gap: .65rem; font-family: var(--font-display); font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand-name { font-size: 1.06rem; line-height: 1.05; }
.brand-name small { display: block; font-size: .68rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.nav-links { display: flex; align-items: center; gap: .2rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-block; padding: .5rem .62rem; border-radius: 8px; font-weight: 500;
  color: var(--ink-2); font-size: .92rem;
}
.nav-links a:hover { background: var(--surface-2); text-decoration: none; color: var(--brand-d); }
.nav-links a.active { color: var(--brand-d); }
.nav-cta { margin-left: .4rem; }
.nav-toggle { display: none; background: none; border: 1.5px solid var(--line); border-radius: 9px; width: 44px; height: 40px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; stroke: var(--ink); }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255,255,255,.98); }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 84vw);
    flex-direction: column; align-items: stretch; gap: .15rem;
    background: #fff; box-shadow: var(--shadow-lg); padding: 5rem 1.2rem 2rem;
    transform: translateX(100%); transition: transform .3s var(--ease); z-index: 60;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { padding: .85rem 1rem; border-radius: 10px; font-size: 1.05rem; }
  .nav-cta { margin: .6rem 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(11,31,58,.4); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 55; }
  .nav-backdrop.show { opacity: 1; pointer-events: auto; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background-color: #eef4fb; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='hg' x1='0' y1='0' x2='0.3' y2='1'%3E%3Cstop offset='0' stop-color='%23eaf2fb'/%3E%3Cstop offset='0.55' stop-color='%23f5f9fd'/%3E%3Cstop offset='1' stop-color='%23ffffff'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='100' height='100' fill='url(%23hg)'/%3E%3C/svg%3E"); background-size: cover; background-repeat: no-repeat; color: var(--text); border-bottom: 1px solid var(--line); }
.hero::before {
  content:""; position:absolute; inset:0;
  background:
    radial-gradient(900px 500px at 78% -10%, rgba(22,184,199,.12), transparent 60%),
    radial-gradient(700px 500px at 8% 110%, rgba(14,126,196,.10), transparent 60%);
}
.hero-grid {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem,4vw,3.5rem);
  align-items: center; padding: clamp(3rem,2rem+5vw,6rem) 0 clamp(2rem,1.5rem+3vw,3.5rem);
}
.hero h1 { color: var(--ink); margin-bottom: 1rem; }
.hero .kicker { color: var(--brand); font-family: var(--font-display); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .82rem; display:block; margin-bottom: 1.1rem; }
.hero p.sub { font-size: clamp(1.05rem, 1rem + .5vw, 1.3rem); color: var(--muted); max-width: 38ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-figure { position: relative; }
.hero-figure img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.hero-figure figcaption { font-size: .8rem; color: #93a6bf; margin-top: .7rem; text-align: center; }
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { order: -1; max-width: 520px; }
}

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2rem; position: relative; z-index: 5; }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow); text-align: center;
}
.stat .v { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem,1.1rem+1.4vw,2.1rem); color: var(--brand-d); line-height: 1; }
.stat .l { font-size: .9rem; color: var(--muted); margin-top: .5rem; }
@media (max-width: 640px){ .stats{ grid-template-columns: 1fr; margin-top: 1.5rem; } }

/* ---------- Generic grids & cards ---------- */
.grid { display: grid; gap: 1.3rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 880px){ .grid-3 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px){ .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c6d6e6; }
.card h3 { margin-bottom: .5rem; }
.card p:last-child { margin-bottom: 0; }
.card .icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(14,126,196,.12), rgba(22,184,199,.16)); margin-bottom: 1rem; }
.card .icon svg { width: 24px; height: 24px; stroke: var(--brand-d); fill: none; }

/* prize cards */
.prize-card { background: linear-gradient(160deg, var(--ink), var(--ink-2)); color: #d8e3f0; border:0; }
.prize-card h3 { color: #fff; }
.prize-card .amount { font-family: var(--font-display); font-weight: 700; font-size: 2rem; color: var(--teal); display:block; margin-bottom:.4rem; }

/* technique / criteria list */
.ticks { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: .8rem; }
.ticks li { position: relative; padding-left: 2.1rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .15em; width: 1.4rem; height: 1.4rem; border-radius: 50%;
  background: rgba(22,184,199,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230e7ec4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,4vw,3.5rem); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); width: 100%; }
@media (max-width: 820px){ .split { grid-template-columns: 1fr; } .split.reverse .split-media { order: 0; } }

/* discipline grid */
.disc { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
@media (max-width: 880px){ .disc { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .disc { grid-template-columns: 1fr; } }
.disc-item { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.10); border-radius: var(--radius-sm); padding: 1.3rem; }
.disc-item h3 { color: #fff; font-size: 1.08rem; margin-bottom: .4rem; }
.disc-item p { color: #aebfd2; font-size: .94rem; margin: 0; }
.disc-item .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--teal); display:block; margin-bottom: .8rem; box-shadow: 0 0 0 4px rgba(22,184,199,.18); }

/* ---------- Awards / winners ---------- */
.year-block { margin-top: 2.6rem; }
.year-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.year-head .yr { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--ink); background: var(--surface-2); border-radius: 10px; padding: .25rem .8rem; }
.year-head .line { flex: 1; height: 1px; background: var(--line); }
.winner-photo { border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); margin-bottom: 1.6rem; width: 100%; }
.award {
  border-left: 3px solid var(--teal); padding: .2rem 0 .2rem 1.3rem; margin-bottom: 1.5rem;
}
.award .award-title { font-family: var(--font-display); font-weight: 600; color: var(--brand-d); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.award .people { font-weight: 600; color: var(--ink); margin: .25rem 0; }
.award .paper { font-size: .98rem; }
.award p { margin: .5rem 0 0; color: var(--muted); font-size: .96rem; }

/* ---------- Journal archive ---------- */
.jc-info { display:grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin: 1.5rem 0 0; }
.jc-info .card { padding: 1.2rem 1.3rem; }
.jc-info .k { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); font-weight: 600; }
.jc-info .v { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 1.05rem; margin-top: .2rem; }
@media (max-width: 720px){ .jc-info { grid-template-columns: 1fr; } }

.archive-controls { display:flex; flex-wrap:wrap; gap:.5rem; margin: 0 0 1.4rem; }
.chip {
  font-family: var(--font-display); font-size: .86rem; font-weight: 500; padding: .4rem .9rem; border-radius: 999px;
  border: 1.5px solid var(--line); background:#fff; color: var(--ink-2); cursor: pointer; transition: all .15s;
}
.chip:hover { border-color: var(--brand); color: var(--brand-d); }
.chip.active { background: var(--ink); color:#fff; border-color: var(--ink); }

.archive { border-top: 1px solid var(--line); }
.meeting { display: grid; grid-template-columns: 120px 1fr auto; gap: 1rem; align-items: start; padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
.meeting .m-date { font-family: var(--font-display); font-weight: 600; color: var(--brand-d); font-size: .92rem; white-space: nowrap; }
.meeting .m-paper { color: var(--ink); font-weight: 500; }
.meeting .m-paper a { color: var(--ink); }
.meeting .m-paper a:hover { color: var(--brand-d); }
.meeting .m-meta { font-size: .86rem; color: var(--muted); margin-top: .25rem; }
.meeting .m-video {
  display: inline-flex; align-items:center; gap:.35rem; font-size: .8rem; font-weight:600; color:#b42318;
  border:1.5px solid #f3c6c0; background:#fff5f4; padding:.3rem .6rem; border-radius:8px; white-space:nowrap;
}
.meeting .m-video:hover { text-decoration:none; background:#ffe9e6; }
@media (max-width: 720px){
  .meeting { grid-template-columns: 1fr; gap: .3rem; }
  .meeting .m-video { justify-self: start; margin-top: .4rem; }
}

/* ---------- Events ---------- */
.event-feature { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,4vw,3rem); align-items:center; }
.event-feature img { border-radius: var(--radius); box-shadow: var(--shadow); width:100%; }
@media (max-width: 820px){ .event-feature { grid-template-columns: 1fr; } }
.kv { list-style:none; padding:0; margin:1.2rem 0; display:grid; gap:.6rem; }
.kv li { display:flex; gap:.7rem; align-items:flex-start; }
.kv svg { width:20px;height:20px;stroke:var(--brand);fill:none;flex:none;margin-top:.15rem; }
.panelist { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.panelist .pn { font-weight: 600; color: var(--ink); font-family: var(--font-display); }
.panelist .pa { font-size: .92rem; color: var(--muted); }

/* ---------- People ---------- */
.person { display:flex; align-items:center; gap:1rem; }
.person .avatar { width: 56px; height:56px; border-radius: 50%; background: linear-gradient(135deg,var(--brand),var(--teal)); color:#fff; display:grid; place-items:center; font-family:var(--font-display); font-weight:700; font-size:1.2rem; flex:none; }
.person .pn { font-weight:600; color:var(--ink); font-family:var(--font-display); }
.person .pr { font-size:.9rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--brand), var(--teal)); color:#fff; border-radius: clamp(16px,3vw,28px); padding: clamp(2rem,1.5rem+3vw,3.5rem); text-align:center; box-shadow: var(--shadow-lg); }
.cta-band h2 { color:#fff; }
.cta-band p { color: rgba(255,255,255,.92); max-width: 52ch; margin-inline:auto; }
.cta-band .btn-primary { background:#fff; color: var(--brand-d); box-shadow: 0 10px 26px rgba(0,0,0,.18); }
.cta-band .btn-ghost { color:#fff; border-color: rgba(255,255,255,.6); }
.cta-band .btn-ghost:hover { border-color:#fff; color:#fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #9fb2c9; padding: clamp(2.5rem,2rem+3vw,4rem) 0 2rem; }
.footer-grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer .brand { color:#fff; margin-bottom: 1rem; }
.site-footer .brand-name { color:#fff; }
.site-footer p { color:#9fb2c9; font-size:.95rem; max-width: 38ch; }
.footer-col h4 { color:#fff; font-size:.85rem; text-transform:uppercase; letter-spacing:.08em; margin-bottom:1rem; }
.footer-col ul { list-style:none; margin:0; padding:0; display:grid; gap:.55rem; }
.footer-col a { color:#aebfd2; font-size:.95rem; }
.footer-col a:hover { color:#fff; text-decoration:none; }
.social { display:flex; gap:.6rem; margin-top:1rem; }
.social a { width:40px;height:40px;border-radius:10px;border:1px solid rgba(255,255,255,.16);display:grid;place-items:center; }
.social a:hover { border-color: var(--teal); background: rgba(22,184,199,.1); }
.social svg { width:18px;height:18px;fill:#cdd; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.12); margin-top:2.4rem; padding-top:1.4rem; font-size:.85rem; color:#7e92ab; display:flex; flex-wrap:wrap; gap:.6rem; justify-content:space-between; }
@media (max-width: 760px){ .footer-grid { grid-template-columns: 1fr; gap:1.6rem; } }

/* prose */
.prose p { color: var(--text); }
.prose a { color: var(--brand-d); text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--ink); }
.measure { max-width: 70ch; }

/* skip link */
.skip { position:absolute; left:-999px; top:0; background:#fff; padding:.6rem 1rem; border-radius:8px; z-index:100; }
.skip:focus { left: 12px; top: 12px; }

/* ---------- Nominations grid + filter ---------- */
.chip-count { display:inline-block; margin-left:.35rem; background:rgba(255,255,255,.25); color:inherit; border-radius:999px; padding:0 .45rem; font-size:.78rem; }
.chip:not(.active) .chip-count { background:var(--surface-2); color:var(--muted); }
.nom-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.1rem; }
@media (max-width: 900px){ .nom-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width: 600px){ .nom-grid { grid-template-columns:1fr; } }
.nom-card { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:1.3rem; box-shadow:var(--shadow-sm); display:flex; flex-direction:column; gap:.7rem; transition:transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s; }
.nom-card:hover { transform:translateY(-3px); box-shadow:var(--shadow); border-color:#c6d6e6; }
.nom-badge { align-self:flex-start; font-family:var(--font-display); font-size:.72rem; font-weight:600; letter-spacing:.04em; text-transform:uppercase; color:#9a6a00; background:#fff4d6; border:1px solid #f0dca0; border-radius:999px; padding:.2rem .6rem; }
.nom-title { font-size:1.02rem; line-height:1.35; margin:0; font-family:var(--font-sans); font-weight:600; }
.nom-title a { color:var(--ink); }
.nom-title a:hover { color:var(--brand-d); }
.nom-tag { margin-top:auto; font-size:.78rem; color:var(--brand-d); background:var(--surface); border:1px solid var(--surface-2); border-radius:8px; padding:.25rem .55rem; align-self:flex-start; }
.nom-empty { text-align:center; color:var(--muted); padding:2rem 0; }

/* ---------- Quotes ---------- */
.quote-search { display:flex; align-items:center; gap:.6rem; border:1.5px solid var(--line); border-radius:999px; padding:.5rem 1rem; max-width:560px; margin-bottom:2rem; background:#fff; box-shadow:var(--shadow-sm); }
.quote-search:focus-within { border-color:var(--brand); }
.quote-search svg { width:20px; height:20px; color:var(--muted); flex:none; }
.quote-search input { border:0; outline:0; flex:1; font:inherit; font-size:1rem; color:var(--text); background:transparent; }
.quote-count { font-size:.82rem; color:var(--muted); background:var(--surface); border-radius:999px; padding:.15rem .6rem; flex:none; }
.quote-list { columns:2; column-gap:1.3rem; }
@media (max-width: 760px){ .quote-list { columns:1; } }
.quote-card { break-inside:avoid; margin:0 0 1.3rem; background:#fff; border:1px solid var(--line); border-left:4px solid var(--teal); border-radius:var(--radius-sm); padding:1.3rem 1.4rem; box-shadow:var(--shadow-sm); }
.quote-card blockquote { margin:0 0 .8rem; font-size:1.02rem; line-height:1.55; color:var(--ink-2); }
.quote-card figcaption { font-family:var(--font-display); font-weight:600; font-size:.9rem; color:var(--brand-d); }

/* ---------- Fix: hero ghost button must be light on the dark hero ---------- */
.hero .btn-ghost { color: var(--ink); border-color: var(--line); }
.hero .btn-ghost:hover { border-color: var(--brand); color: var(--brand-d); }

/* ---------- Nomination card -> clickable, opens detail modal ---------- */
.nom-card { cursor:pointer; }
.nom-card:focus-visible { outline:2px solid var(--brand); outline-offset:2px; }
.nom-card .nom-more { margin-top:.2rem; font-size:.82rem; font-weight:600; color:var(--brand-d); display:inline-flex; align-items:center; gap:.3rem; }
.nom-card .nom-more svg { width:14px; height:14px; }

.nom-modal { position:fixed; inset:0; z-index:120; display:none; }
.nom-modal.open { display:block; }
.nom-modal-backdrop { position:absolute; inset:0; background:rgba(11,31,58,.55); backdrop-filter:blur(2px); }
.nom-modal-card { position:relative; z-index:1; background:#fff; width:min(640px,92vw); max-height:88vh; overflow:auto;
  margin:6vh auto; border-radius:var(--radius); box-shadow:var(--shadow-lg); padding:1.8rem; }
.nom-modal-close { position:absolute; top:.8rem; right:.8rem; width:38px; height:38px; border-radius:50%; border:1px solid var(--line);
  background:#fff; cursor:pointer; font-size:1.2rem; line-height:1; color:var(--muted); display:grid; place-items:center; }
.nom-modal-close:hover { color:var(--ink); border-color:var(--brand); }
.nom-modal-card .nm-badge { display:inline-block; font-family:var(--font-display); font-size:.72rem; font-weight:600; letter-spacing:.04em; text-transform:uppercase; color:#9a6a00; background:#fff4d6; border:1px solid #f0dca0; border-radius:999px; padding:.2rem .6rem; margin-bottom:.7rem; }
.nom-modal-card h3 { font-family:var(--font-sans); font-weight:700; font-size:1.25rem; line-height:1.3; margin:0 0 .6rem; }
.nom-modal-card .nm-tag { font-size:.8rem; color:var(--brand-d); background:var(--surface); border:1px solid var(--surface-2); border-radius:8px; padding:.25rem .55rem; }
.nom-modal-card img.nm-img { width:100%; border-radius:var(--radius-sm); border:1px solid var(--line); margin:1rem 0; }
.nom-modal-card .nm-section { margin-top:1rem; }
.nom-modal-card .nm-section h4 { font-size:.78rem; text-transform:uppercase; letter-spacing:.08em; color:var(--brand); margin:0 0 .3rem; }
.nom-modal-card .nm-section p { margin:0; color:var(--text); }
.nom-modal-card .nm-links { display:flex; flex-wrap:wrap; gap:.6rem; margin-top:1.4rem; }
.nom-modal-card .nm-empty { color:var(--muted); font-style:italic; margin-top:1rem; }

/* Header brand logo image (favicon) */
.brand .brand-mark { width:38px; height:38px; flex:none; border-radius:6px; object-fit:contain; }


/* ---------- Nomination card thumbnails ---------- */
.nom-card { overflow: hidden; }
.nom-thumb { position: relative; margin: -1.3rem -1.3rem 1rem; height: 160px; overflow: hidden; background: var(--surface-2); }
.nom-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nom-thumb .nom-badge { position: absolute; top: .6rem; left: .6rem; margin: 0; box-shadow: 0 1px 5px rgba(11,31,58,.3); }
.nom-badge--flat { align-self: flex-start; }


/* Keep the hero light even when the device/browser is in dark mode */
@media (prefers-color-scheme: dark) {
  .hero { background-color: #eef4fb; color: var(--text); }
  .hero h1 { color: var(--ink); }
  .hero .kicker { color: var(--brand); }
  .hero p.sub { color: var(--muted); }
}
