/* Self-hosted type: Inter (brand) and Yellowtail (script accent). Both under the SIL Open Font License. */
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 900; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Yellowtail"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/yellowtail-latin-400-normal.woff2") format("woff2"); }

/* Best of 614 — site styles
   Brand: 614 Navy #07315F (anchor), Ohio Red #D7192D (accent), White, Slate #5B6573, Mist #F4F6F8. Inter.
   Balance target from the guidelines: 55% white / 25% navy / 15% red / 5% neutral. */

:root {
  --navy: #07315f;
  --navy-2: #0b4178;
  --navy-ink: #12263f;
  --red: #d7192d;
  --red-deep: #b0142a;
  --white: #ffffff;
  --slate: #5b6573;
  --mist: #f4f6f8;
  --border: #dce3ea;
  --border-strong: #c3ceda;
  --cream: #fdf2f3;
  --cream-line: #f2b8bf;
  --sky: #eef4fa;
  --sky-line: #a9c8e8;
  --blue: #1e63b3;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --script: "Yellowtail", "Segoe Script", "Bradley Hand", cursive;
  --container: 1200px;
  --r-lg: 18px;
  --r: 14px;
  --r-sm: 10px;
  --shadow: 0 14px 34px rgba(7, 49, 95, 0.12);
  --shadow-sm: 0 6px 18px rgba(7, 49, 95, 0.08);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--navy-ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, picture, svg { display: block; max-width: 100%; }
.card__media picture, .event__media picture, .article__media picture, .listcard__media picture, .row__media picture, .winner__media > picture, .lead__media > picture { height: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--navy); font-weight: 900; letter-spacing: -0.02em; line-height: 1.15; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -3rem; z-index: 100; background: var(--white); color: var(--navy); padding: .5rem .8rem; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.container { width: min(var(--container), 100% - 2.5rem); margin-inline: auto; }
.icon { width: 1.25rem; height: 1.25rem; flex: none; }
.icon--xs { width: 1rem; height: 1rem; }

/* ---- View transitions: free cross-page fade, no JS ---- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .16s ease-out both; }
::view-transition-new(root) { animation: vt-in .22s ease-out both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

/* ---- Buttons & pills ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  height: 2.75rem; padding: 0 1.25rem; border-radius: 999px;
  font-weight: 700; font-size: .9rem; white-space: nowrap; letter-spacing: .01em;
  transition: background-color .16s, transform .16s, box-shadow .16s;
}
.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: var(--red-deep); box-shadow: 0 8px 20px rgba(215, 25, 45, .28); }
.btn--white { background: var(--white); color: var(--navy); }
.btn--white:hover { background: var(--mist); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-2); }
.btn--sm { height: 2.4rem; padding: 0 1rem; font-size: .85rem; }
.btn:active { transform: scale(.97); }
.btn .icon { width: 1rem; height: 1rem; }

.pill {
  display: inline-flex; align-items: center; gap: .4rem; height: 2.5rem; padding: 0 1rem;
  border: 1px solid var(--border); border-radius: 999px; background: var(--white);
  color: var(--navy); font-weight: 600; font-size: .875rem; white-space: nowrap;
  transition: background-color .16s, border-color .16s, color .16s;
}
.pill:hover { background: var(--mist); border-color: var(--border-strong); }
.pill.is-on { background: var(--navy); border-color: var(--navy); color: var(--white); }
.pill--select { padding-right: .6rem; position: relative; }
.pill--select select {
  appearance: none; -webkit-appearance: none; background: transparent; border: 0; outline: none;
  color: var(--navy); font-weight: 600; padding-right: 1.4rem; cursor: pointer; max-width: 14rem;
}
.pill--select::after {
  content: ""; position: absolute; right: .9rem; top: 50%; width: .5rem; height: .5rem;
  border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; }
.chip { display: inline-flex; align-items: center; height: 1.6rem; padding: 0 .65rem; border-radius: 999px; background: var(--mist); color: var(--navy); font-size: .74rem; font-weight: 700; }
a.chip:hover { background: var(--sky); }
.phone { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .9rem; color: var(--navy); }
.phone:hover { text-decoration: underline; }
.icon-btn { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 999px; color: var(--navy); transition: background-color .16s; }
.icon-btn:hover { background: var(--mist); }
.icon-btn--sm { width: 2.1rem; height: 2.1rem; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner { display: flex; align-items: center; gap: 1rem; min-height: 4.5rem; }
.site-logo { flex: none; display: block; }
.site-logo__img { height: 3.4rem; width: auto; }
.site-nav { display: none; align-items: center; gap: .15rem; margin-inline: auto; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: .2rem;
  padding: .55rem .75rem; border-radius: 10px; font-weight: 600; font-size: .95rem; color: var(--navy);
}
.nav-link::after {
  content: ""; position: absolute; left: .75rem; right: .75rem; bottom: .2rem; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .22s var(--ease);
}
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-drop { position: relative; }
.nav-drop__panel {
  position: absolute; left: 0; top: calc(100% + 2px); min-width: 17rem; padding: .6rem;
  background: var(--white); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(6px); pointer-events: none; transition: opacity .16s, transform .16s;
}
.nav-drop:hover .nav-drop__panel, .nav-drop:focus-within .nav-drop__panel { opacity: 1; transform: none; pointer-events: auto; }
.nav-drop__label { padding: .45rem .65rem .15rem; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); }
.nav-drop__item { display: block; padding: .5rem .65rem; border-radius: 8px; font-weight: 600; font-size: .9rem; }
.nav-drop__item:hover { background: var(--mist); }
.nav-drop__all { display: block; margin-top: .3rem; padding: .55rem .65rem; border-top: 1px solid var(--border); font-weight: 700; font-size: .875rem; color: var(--red); }
.site-header__actions { display: flex; align-items: center; gap: .35rem; margin-left: auto; }
.site-cta { display: none; }
.hsearch { display: none; position: relative; }
.hsearch__form { display: flex; align-items: center; gap: .4rem; width: 15rem; height: 2.6rem; padding: 0 .5rem 0 .8rem; border: 1px solid var(--border); border-radius: 999px; background: var(--mist); transition: width .25s var(--ease), background-color .2s, border-color .2s; }
.hsearch__form:focus-within { width: 20rem; background: var(--white); border-color: var(--navy); box-shadow: 0 0 0 3px rgba(7, 49, 95, .12); }
.hsearch__form .icon { color: var(--slate); width: 1.1rem; height: 1.1rem; }
.hsearch__form input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-size: .9rem; font-weight: 500; color: var(--navy); }
.hsearch__form input::placeholder { color: var(--slate); }
.hsearch__panel { position: absolute; right: 0; top: calc(100% + .5rem); width: 26rem; max-height: min(32rem, calc(100vh - 6rem)); overflow: auto; padding: .5rem; background: var(--white); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); animation: rise .2s var(--ease) both; }
.hsearch__panel .results { margin-top: .25rem; gap: .9rem; }
.hsearch__panel .result { border: 0; padding: .45rem .6rem; }
.hsearch__panel .search-modal__more { padding: .7rem .8rem; }
.hsearch__panel .hsearch__empty { padding: .8rem .9rem; font-size: .85rem; color: var(--slate); }
.nav-toggle .icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .icon--open { display: none; }
.nav-toggle[aria-expanded="true"] .icon--close { display: block; }
.mobile-nav { border-top: 1px solid var(--border); background: var(--white); padding: .75rem 0 1.25rem; }
.mobile-nav .container { display: flex; flex-direction: column; gap: .15rem; }
.mobile-nav__link { padding: .7rem .25rem; font-weight: 700; font-size: 1.05rem; color: var(--navy); border-bottom: 1px solid var(--mist); }
.mobile-nav__sub { padding: .45rem .25rem .45rem 1.25rem; font-weight: 600; font-size: .95rem; color: var(--slate); }
.mobile-nav .btn { margin-top: .75rem; align-self: flex-start; }
@media (min-width: 1024px) {
  .site-nav { display: flex; }
  .hsearch { display: block; }
  .site-header__actions > .icon-btn[data-search-open] { display: none; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* ---- Hero ---- */
.hero { position: relative; overflow: hidden; color: var(--white); background: var(--navy); min-height: 15rem; display: grid; align-items: center; }
.hero__media, .hero__media picture, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: center 45%; }
.hero__veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 49, 95, .88) 0%, rgba(7, 49, 95, .55) 50%, rgba(7, 49, 95, .22) 100%); }
.hero__copy { position: relative; z-index: 1; padding-block: 2.25rem; }
.hero__kicker { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.hero__title { margin-top: .35rem; max-width: 18ch; font-size: clamp(2rem, 5.2vw, 3.6rem); color: var(--white); text-wrap: balance; }
.hero__dek { margin-top: .6rem; max-width: 34rem; font-size: 1.05rem; color: rgba(255, 255, 255, .88); text-wrap: pretty; }
.hero__script { position: absolute; right: 4%; bottom: 14%; z-index: 1; font-family: var(--script); font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1; color: var(--white); transform: rotate(-6deg); text-shadow: 0 2px 12px rgba(7, 49, 95, .5); display: none; }
@media (min-width: 900px) {
  .hero { min-height: 19rem; }
  .hero__copy { padding-block: 3rem; }
  .hero__script { display: block; }
}
.hero__title--script { font-family: var(--script); font-weight: 400; letter-spacing: 0; line-height: 1.1; max-width: none; font-size: clamp(2.6rem, 5.6vw, 4.9rem); text-shadow: 0 3px 18px rgba(7, 49, 95, .45); }
.is-home .hero { min-height: 24rem; }
@media (min-width: 900px) { .is-home .hero { min-height: 26rem; } }

/* Section strip under the home hero: six buttons across, folds to 3x2 on phones */
.strip { background: var(--white); border-bottom: 1px solid var(--border); box-shadow: 0 8px 24px rgba(7, 49, 95, .06); position: relative; z-index: 2; }
.strip__inner { padding: 1rem 0 .9rem; }
.strip__title { font-family: var(--script); font-weight: 400; font-size: 2.1rem; color: var(--navy); line-height: 1; margin: 0 0 .75rem; text-align: center; }
.strip__row { display: grid; grid-template-columns: repeat(6, 1fr); gap: .6rem; }
.sbtn { display: flex; align-items: center; justify-content: center; gap: .55rem; height: 3.25rem; padding: 0 .75rem; border: 1.5px solid var(--border); border-radius: 999px; background: var(--white); color: var(--navy); font-weight: 700; font-size: .92rem; white-space: nowrap; transition: background-color .15s, color .15s, border-color .15s; }
.sbtn .icon { width: 1.25rem; height: 1.25rem; color: var(--red); }
.sbtn:hover, .sbtn:focus-visible { background: var(--navy); border-color: var(--navy); color: var(--white); }
.sbtn:hover .icon, .sbtn:focus-visible .icon { color: var(--white); }
@media (max-width: 760px) {
  .strip__inner { padding: .9rem 0 .75rem; }
  .strip__title { font-size: 1.9rem; }
  .strip__row { grid-template-columns: repeat(3, 1fr); gap: .5rem; }
  .sbtn { flex-direction: column; gap: .3rem; height: 4.4rem; padding: 0 .4rem; border-radius: 14px; font-size: .78rem; white-space: normal; text-align: center; line-height: 1.1; }
  .sbtn .icon { width: 1.4rem; height: 1.4rem; }
}

/* Home page Best Of cards reuse the ranking page winner card */
.winner--lead { margin-top: 1.25rem; }
.winner__list { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-bottom: .35rem; }
.winner__list:hover { text-decoration: underline; }
.winner__name a:hover { text-decoration: underline; }
.winner__whytext { margin-top: .6rem; font-size: .9rem; color: var(--slate); line-height: 1.55; }
.winner--lead .winner__top { padding-bottom: 1.5rem; }

/* The one orchestrated entrance: hero image settles, copy rises in sequence. */
.hero__media img { animation: hero-settle 9s var(--ease) both; }
.hero__copy > * { animation: rise .6s var(--ease) both; }
.hero__copy > :nth-child(2) { animation-delay: .08s; }
.hero__copy > :nth-child(3) { animation-delay: .16s; }
.hero__script { animation: rise .7s var(--ease) .35s both; }
@keyframes hero-settle { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.section-btn { flex: none; }

/* ---- Sections ---- */
.block { padding-block: 2.75rem; }
.block--sm { padding-block: 2rem; }
main.block > .block--sm:first-child { padding-top: 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.kicker { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.kicker a:hover { text-decoration: underline; }
.section-title { font-size: 1.65rem; }
.section-title--sm { font-size: 1.25rem; margin-bottom: 1rem; }
.section-link { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; font-size: .9rem; color: var(--navy); white-space: nowrap; }
.section-link .icon { transition: transform .2s var(--ease); }
.section-link:hover .icon { transform: translateX(3px); }
.group-title { font-size: 1.1rem; color: var(--slate); font-weight: 700; letter-spacing: 0; margin-bottom: .9rem; }
.stack { display: grid; gap: 1.25rem; }
.stack--tight { gap: .75rem; }
.grid { display: grid; gap: 1rem; }
.grid--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
.meta { font-size: .875rem; color: var(--slate); display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.meta a:hover { text-decoration: underline; }
.meta .icon { color: var(--red); }
.blurb { margin-top: .5rem; font-size: .95rem; line-height: 1.55; color: var(--navy-ink); }
.stretch { color: var(--red); font-weight: 700; }
.empty { padding: 1.5rem; border: 1px dashed var(--border-strong); border-radius: var(--r); background: var(--mist); color: var(--slate); font-weight: 600; text-align: center; margin-top: 1rem; }
.notice { margin-top: 1.5rem; padding: 1.25rem; border-radius: var(--r); background: var(--cream); border: 1px solid var(--cream-line); color: var(--navy); font-weight: 700; }


/* ---- Tiles ---- */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin-bottom: 1.5rem; }
.tiles--compact { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(3, 1fr); } .tiles--compact { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .tiles { grid-template-columns: repeat(5, 1fr); } .tiles--compact { grid-template-columns: repeat(4, 1fr); } }
.tile {
  display: flex; flex-direction: column; align-items: flex-start; gap: .65rem; min-height: 6.25rem; padding: 1rem;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r);
  font-weight: 700; font-size: .95rem; color: var(--navy);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s, background-color .2s;
}
.tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: var(--border-strong); }
.tile__icon { width: 1.75rem; height: 1.75rem; color: var(--navy); }
.tile.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.tile.is-active .tile__icon { color: var(--white); }
.tiles--compact .tile { flex-direction: row; align-items: center; min-height: 3.5rem; padding: .7rem .9rem; }
.tiles--compact .tile__icon { width: 1.35rem; height: 1.35rem; }

/* ---- Cards ---- */
.card { display: flex; flex-direction: column; overflow: hidden; background: var(--white); border: 1px solid var(--border); border-radius: var(--r); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card__media { position: relative; overflow: hidden; background: var(--mist); aspect-ratio: 16 / 10; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__tag { position: absolute; left: .75rem; bottom: .75rem; background: var(--red); color: var(--white); padding: .3rem .65rem; border-radius: 6px; font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.card__body { padding: 1rem 1.1rem 1.2rem; }
.card__label { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.card__title { margin-top: .3rem; font-size: 1.1rem; }
.card__dek { margin-top: .45rem; font-size: .9rem; color: var(--slate); line-height: 1.5; }
.card--guide .card__title { font-size: 1.2rem; }

.grid--lists { grid-template-columns: repeat(auto-fit, minmax(min(100%, 34rem), 1fr)); }
.listcard { position: relative; display: grid; grid-template-columns: 1fr; overflow: hidden; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.listcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.listcard__media { position: relative; aspect-ratio: 16 / 9; background: var(--mist); overflow: hidden; }
.listcard__media > picture { position: absolute; inset: 0; }
.listcard__media > picture img { width: 100%; height: 100%; object-fit: cover; }
.listcard__badge { position: absolute; left: 1rem; top: 1rem; width: 4.6rem; filter: drop-shadow(0 6px 14px rgba(7, 49, 95, .28)); z-index: 1; }
.listcard__body { padding: 1.25rem 1.25rem 1.25rem; display: flex; flex-direction: column; justify-content: center; }
.listcard__title { margin-top: .3rem; font-size: 1.5rem; }
.listcard__link { display: inline-flex; align-items: center; gap: .35rem; margin-top: .9rem; font-weight: 700; font-size: .9rem; color: var(--red); }
@media (min-width: 640px) {
  .listcard { grid-template-columns: minmax(0, 17rem) 1fr; }
  .listcard__media { aspect-ratio: auto; min-height: 13rem; height: 100%; }
  .listcard__body { padding: 1.5rem 1.75rem; }
}

/* Neighborhood buttons: every tile the same size, logo/sign fitted into a fixed box */
.hoods { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 11rem), 1fr)); gap: .9rem; }
.hood { display: grid; grid-template-rows: 7rem auto auto; justify-items: center; align-content: start; gap: .35rem; height: 13rem; padding: 1rem .9rem; text-align: center; background: var(--white); border: 1px solid var(--border); border-radius: var(--r); transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s; }
.hood:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.hood__logo { display: flex; align-items: center; justify-content: center; width: 100%; height: 6.5rem; padding: .5rem; border-radius: var(--r-sm); background: var(--mist); overflow: hidden; }
.hood__logo picture { display: contents; }
.hood__logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.hood__logo--empty svg { width: 2rem; height: 2rem; color: var(--slate); opacity: .5; }
.hood__name { font-weight: 800; color: var(--navy); font-size: 1rem; line-height: 1.2; }
.hood__count { font-size: .78rem; font-weight: 600; color: var(--slate); }
.hood-head { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1.5rem; }
.hood-head .hood__logo { width: 11rem; height: 6.5rem; }

/* Authors */
.byline { display: inline-flex; align-items: center; gap: .45rem; color: var(--navy); }
.byline:hover span { text-decoration: underline; }
.byline__img { width: 1.75rem; height: 1.75rem; border-radius: 50%; object-fit: cover; }
.byline picture { display: inline-block; }
.card__by { margin-top: .6rem; font-size: .78rem; font-weight: 700; color: var(--navy); }
.author-card { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1.1rem; align-items: start; margin-top: 2.5rem; padding: 1.25rem 1.5rem; background: var(--mist); border-radius: var(--r-lg); }
.author-card--link { margin-top: 0; background: var(--white); border: 1px solid var(--border); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.author-card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.author-card__media img { width: 4.5rem; height: 4.5rem; border-radius: 50%; object-fit: cover; background: var(--white); }
.author-card__name { font-size: 1.1rem; margin-top: .15rem; }
.author-card__name a:hover { text-decoration: underline; }
.author-card__bio { margin-top: .4rem; font-size: .9rem; line-height: 1.55; color: var(--navy-ink); }
.author-card .section-link { margin-top: .75rem; }
.author-hero { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: center; }
.author-hero__media img { width: 7rem; height: 7rem; border-radius: 50%; object-fit: cover; background: var(--mist); border: 3px solid var(--white); box-shadow: var(--shadow-sm); }
@media (min-width: 700px) { .author-hero { grid-template-columns: 9rem 1fr; gap: 2rem; } .author-hero__media img { width: 9rem; height: 9rem; } }

/* ---- News feed ---- */
.chips--flat { margin-top: 0; align-items: center; }
.chip--red { background: var(--red); color: var(--white); }
.avatar { width: 1.5rem; height: 1.5rem; border-radius: 50%; object-fit: cover; }
.nrow__by picture, .nfeat__body picture { display: inline-block; }
.nrow__author { font-weight: 700; color: var(--navy); }
.nfeat { display: block; overflow: hidden; background: var(--cream); border: 1.5px solid var(--red); border-radius: var(--r-lg); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.nfeat:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.nfeat__media { aspect-ratio: 16 / 7; background: var(--mist); overflow: hidden; }
.nfeat__media picture { height: 100%; }
.nfeat__media img { width: 100%; height: 100%; object-fit: cover; }
.nfeat__body { padding: 1.25rem 1.4rem 1.4rem; }
.nfeat__title { margin-top: .7rem; font-size: clamp(1.4rem, 2.6vw, 2rem); max-width: 46rem; text-wrap: balance; }
.nfeat__dek { margin-top: .6rem; font-size: 1rem; color: var(--slate); line-height: 1.55; max-width: 44rem; }
.nfeed { margin-top: 1rem; }
.nrow { display: grid; grid-template-columns: 1fr; gap: .9rem; padding: .9rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--r); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.nrow:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.nrow__media { overflow: hidden; border-radius: var(--r-sm); background: var(--mist); aspect-ratio: 3 / 2; }
.nrow__media picture { height: 100%; }
.nrow__media img { width: 100%; height: 100%; object-fit: cover; }
.nrow__title { margin-top: .5rem; font-size: 1.15rem; line-height: 1.25; }
.nrow__dek { margin-top: .35rem; font-size: .9rem; color: var(--slate); line-height: 1.5; }
.nrow__by { margin-top: .55rem; }
@media (min-width: 640px) {
  .nrow { grid-template-columns: 12.5rem 1fr; align-items: center; }
  .nrow__media { width: 12.5rem; height: 8.4rem; aspect-ratio: auto; }
}
.day { display: flex; align-items: center; gap: .75rem; margin-top: .75rem; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.day::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.latest { counter-reset: latest; display: grid; }
.latest li { display: grid; grid-template-columns: 1.8rem 1fr; gap: .5rem; padding: .55rem 0; border-top: 1px solid var(--border); counter-increment: latest; }
.latest li:first-child { border-top: 0; }
.latest li::before { content: counter(latest); font-size: 1.3rem; font-weight: 900; color: var(--border-strong); line-height: 1; }
.latest a { font-size: .9rem; font-weight: 700; color: var(--navy); line-height: 1.3; }
.latest a:hover { color: var(--red); }
.center { display: flex; justify-content: center; margin-top: 1.25rem; }
.pill--lg { height: 2.75rem; padding: 0 1.5rem; }
.sidebar .panel .chips { margin-top: .75rem; }
.sidebar .panel .chips .chip { height: 1.9rem; padding: 0 .8rem; font-size: .8rem; }
.article__figure { margin: 1.5rem 0 0; }
.article__figure .article__media { margin-top: 0; }
.article__caption { margin-top: .5rem; font-size: .82rem; color: var(--slate); }
.prose--news { margin-top: 1.75rem; }
[data-item].is-paged { display: none; }

/* ---- Event rows ---- */
.event { position: relative; display: grid; grid-template-columns: 3.4rem 1fr; gap: .9rem; align-items: center; padding: .8rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--r); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.event:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.event__date { display: grid; place-items: center; line-height: 1; text-align: center; }
.event__mon { font-size: .7rem; font-weight: 700; letter-spacing: .08em; color: var(--red); }
.event__day { font-size: 1.7rem; font-weight: 900; color: var(--navy); margin: .1rem 0; }
.event__wd { font-size: .68rem; font-weight: 700; color: var(--slate); letter-spacing: .06em; }
.event__date--lg .event__day { font-size: 2.6rem; }
.event__media { display: none; overflow: hidden; border-radius: var(--r-sm); background: var(--mist); }
.event__media img { width: 100%; height: 100%; object-fit: cover; }
.event__title { font-size: 1.1rem; }
.event__body .meta { margin-top: .25rem; }
.event__arrow { display: none; color: var(--red); }
@media (min-width: 640px) {
  .event { grid-template-columns: 3.4rem 9.5rem 1fr auto; }
  .event__media { display: block; width: 9.5rem; height: 6.4rem; }
  .event__arrow { display: block; }
}

/* ---- Layouts ---- */
.layout { display: grid; gap: 2rem; padding-block: 1.5rem 3rem; }
@media (min-width: 1024px) {
  .layout { padding-block: 2.5rem 4rem; }
  .layout--side { grid-template-columns: 230px minmax(0, 1fr); gap: 2.5rem; }
  .layout--sidebar { grid-template-columns: minmax(0, 1fr) 300px; }
}
.layout__main { min-width: 0; }
.sidenav { display: none; align-self: start; position: sticky; top: 5.5rem; }
@media (min-width: 1024px) { .sidenav { display: block; } }
.sidenav__group { padding: 0 .9rem .5rem; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
.sidenav__link { display: block; padding: .6rem .9rem; border-radius: 10px; border-left: 3px solid transparent; font-weight: 600; color: var(--navy); }
.sidenav__link:hover { background: var(--mist); }
.sidenav__link.is-active { background: var(--cream); color: var(--red); border-left-color: var(--red); border-radius: 0 10px 10px 0; font-weight: 700; }
.sidenav__link--other { color: var(--slate); }
.sidenav__all { display: block; margin-top: .75rem; padding: .7rem .9rem; border-top: 1px solid var(--border); font-weight: 700; font-size: .9rem; }
.sidebar { display: grid; gap: 1rem; align-content: start; }
.panel { padding: 1.1rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--r); }
.panel--navy { background: var(--navy); border-color: var(--navy); color: var(--white); }
.panel--navy .panel__title { color: var(--white); }
.panel--navy .panel__text { color: rgba(255, 255, 255, .8); font-size: .9rem; margin-top: .4rem; margin-bottom: 1rem; }
.panel__title { font-size: 1.05rem; }

/* Mobile page head on ranking pages (hero is hidden there) */
.page-head { margin-bottom: 1rem; }
.page-head__title { font-size: 1.9rem; margin-top: .5rem; }
.page-head__dek { margin-top: .4rem; color: var(--slate); }
.crumb { font-size: .82rem; color: var(--slate); }
.crumb a { font-weight: 600; }
.crumb a:hover { text-decoration: underline; }
.article .crumb { margin-bottom: 1.25rem; }
@media (min-width: 1024px) { .page-head--mobile { display: none; } .hero--list { display: grid; } }
@media (max-width: 1023px) { .hero--list { display: none; } }

/* ---- Toolbar / filters ---- */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-bottom: 1.25rem; }
.toolbar__filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.toolbar__count { margin-left: auto; font-size: .85rem; font-weight: 600; color: var(--slate); }
.toolbar__count--inline { margin: -.5rem 0 .75rem; }
.toolbar--search .searchbar { flex: 1 1 18rem; }
.searchbar { display: flex; align-items: center; gap: .5rem; height: 2.75rem; padding: 0 .5rem 0 .9rem; background: var(--white); border: 1px solid var(--border); border-radius: 999px; }
.searchbar:focus-within { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(7, 49, 95, .12); }
.searchbar .icon { color: var(--slate); }
.searchbar input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-size: .95rem; }
.searchbar--wide { flex: 1 1 100%; }
.searchbar--page { margin: 1rem 0; height: 3.1rem; }
[data-item].is-hidden { display: none; }
.filter-in { animation: rise .32s var(--ease) both; animation-delay: calc(var(--i, 0) * 28ms); }

/* ---- Ranking: winner card ---- */
.winner { position: relative; margin-top: 1.25rem; background: var(--cream); border: 1.5px solid var(--red); border-radius: var(--r-lg); overflow: visible; }
.winner__bar { position: absolute; top: -.85rem; left: 50%; transform: translateX(-50%); background: var(--red); color: var(--white); padding: .35rem 1.1rem; border-radius: 999px; font-weight: 700; font-size: .85rem; white-space: nowrap; box-shadow: 0 6px 16px rgba(215, 25, 45, .3); }
.winner__top { display: grid; grid-template-columns: 1fr; gap: 1rem; padding: 1.6rem 1.25rem 1.25rem; }
.winner__media { position: relative; }
.winner__media > picture img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-sm); background: var(--mist); }
.winner__badge img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; background: transparent; border-radius: 0; }
.winner__badge { position: absolute; left: -.6rem; top: -.9rem; width: 5.4rem; z-index: 2; filter: drop-shadow(0 8px 16px rgba(7, 49, 95, .35)); animation: badge-in .7s var(--ease) .2s both; }
@keyframes badge-in { 0% { opacity: 0; transform: translateY(-14px) scale(.9); } 60% { transform: translateY(2px) scale(1.02); } 100% { opacity: 1; transform: none; } }
.winner__name { font-size: 1.8rem; }
.winner__copy .meta { margin-top: .3rem; }
.checks { margin-top: .75rem; display: grid; gap: .3rem; font-size: .9rem; font-weight: 600; }
.checks li { display: flex; align-items: center; gap: .45rem; }
.checks .icon { color: var(--red); }
.checks__label { font-weight: 700; color: var(--navy); }
.winner__cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .6rem 1.25rem; }
.winner__why { display: grid; gap: 1rem; padding: 1.1rem 1.25rem 1.25rem; border-top: 1px solid var(--cream-line); }
.winner__why h3 { font-size: 1.05rem; }
.winner__why p { margin-top: .4rem; font-size: .9rem; line-height: 1.55; color: var(--navy-ink); }
.winner__why ul { display: grid; gap: .35rem; font-size: .88rem; font-weight: 600; color: var(--navy); }
.winner__why ul li, .row__why ul li { display: flex; align-items: flex-start; gap: .45rem; }
.winner__why ul .icon, .row__why ul .icon { color: var(--red); margin-top: .15rem; }
@media (max-width: 759px) { .winner__why ul { display: none; } }
@media (min-width: 760px) {
  .winner__top { grid-template-columns: 17rem minmax(0, 1fr) auto; align-items: start; padding: 2rem 1.5rem 1.4rem 1.75rem; }
  .winner__media > picture img { width: 17rem; height: 12.5rem; aspect-ratio: auto; }
  .winner__cta { flex-direction: column; align-items: flex-end; }
  .winner__why { grid-template-columns: minmax(0, 1fr) 15rem; padding-inline: 1.75rem 1.5rem; }
  .winner__why ul { border-left: 1px solid var(--cream-line); padding-left: 1.75rem; }
  .checks { display: none; }
}

/* ---- Ranking: other options ---- */
.others { position: relative; margin-top: 2.2rem; background: var(--sky); border: 1.5px solid var(--sky-line); border-radius: var(--r-lg); }
.others__bar { position: absolute; top: -.85rem; left: 50%; transform: translateX(-50%); background: var(--blue); color: var(--white); padding: .35rem 1.1rem; border-radius: 999px; font-weight: 700; font-size: .85rem; letter-spacing: 0; white-space: nowrap; }
.others__list { display: grid; padding: 1.6rem .75rem .75rem; gap: .5rem; }
.others--flat { background: transparent; border: 0; margin-top: 0; }
.others--flat .others__list { padding: 0; }
.row { display: grid; grid-template-columns: 1fr; gap: .9rem; padding: .9rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--r); transition: box-shadow .2s var(--ease), border-color .2s; }
.row:hover { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.row__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-sm); background: var(--mist); }
.row__name { font-size: 1.25rem; }
.row__info .meta { margin-top: .2rem; }
.row__why ul { font-size: .85rem; font-weight: 600; color: var(--navy); display: grid; gap: .25rem; margin-top: .3rem; }
.row__cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .5rem 1.25rem; }
@media (min-width: 900px) {
  .row { grid-template-columns: 10.5rem minmax(0, 1.3fr) minmax(0, 1fr) auto; align-items: center; }
  .row__media img { width: 10.5rem; height: 7.5rem; aspect-ratio: auto; }
  .row__cta { flex-direction: column; align-items: flex-end; }
}

/* ---- FAQ ---- */
.faq { margin-top: 2.5rem; }
.faq__title { font-size: 1.3rem; margin-bottom: .75rem; }
.faq__item { border-top: 1px solid var(--border); padding: .35rem 0; }
.faq__item:last-child { border-bottom: 1px solid var(--border); }
.faq__item summary { cursor: pointer; padding: .7rem 0; font-weight: 700; color: var(--navy); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 1.3rem; color: var(--red); transition: transform .2s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 0 1rem; color: var(--slate); font-size: .95rem; }

/* ---- Calendar ---- */
.calendar__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .35rem; margin-bottom: .6rem; }
.calendar__nav { display: flex; align-items: center; gap: .1rem; }
.calendar__month { min-width: 8.5rem; text-align: center; font-size: .82rem; font-weight: 700; white-space: nowrap; }
.calendar__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .2rem; }
.calendar__dow { text-align: center; font-size: .62rem; font-weight: 700; letter-spacing: .06em; color: var(--slate); padding-bottom: .2rem; }
.calendar__cell { aspect-ratio: 1; display: grid; place-items: center; border-radius: 8px; font-size: .8rem; font-weight: 600; color: var(--navy); border: 1px solid transparent; }
.calendar__cell.has-event { background: var(--cream); border-color: var(--cream-line); color: var(--red); font-weight: 700; }
.calendar__cell.has-event:hover, .calendar__cell.is-on { background: var(--red); color: var(--white); border-color: var(--red); }
.calendar__cell.is-today { outline: 2px solid var(--navy); outline-offset: -2px; }
.calendar__list { display: grid; gap: .25rem; margin-top: .75rem; }
.calendar__item { display: block; padding: .5rem .6rem; border-radius: 8px; }
.calendar__item:hover { background: var(--mist); }
.calendar__item small { display: block; font-size: .7rem; font-weight: 700; color: var(--red); letter-spacing: .04em; }
.calendar__item span { font-size: .88rem; font-weight: 700; color: var(--navy); }
.calendar__empty { font-size: .85rem; color: var(--slate); padding: .5rem .6rem; }

/* ---- Articles / detail pages ---- */
.article { padding-block: 2rem 3.5rem; max-width: 56rem; }
.article--narrow { max-width: 44rem; }
.article--guide { max-width: 64rem; }
.article__head--event { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1.25rem; align-items: start; }
.article__title { margin-top: .4rem; font-size: clamp(1.8rem, 4vw, 2.6rem); text-wrap: balance; }
.article__title--lg { font-size: clamp(2rem, 5vw, 3rem); }
.article__lede { margin-top: .9rem; font-size: 1.15rem; line-height: 1.6; color: var(--slate); text-wrap: pretty; }
.article__meta { margin-top: .6rem; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; font-size: .9rem; color: var(--slate); font-weight: 600; }
.article__meta .icon { color: var(--red); }
.article__media { margin-top: 1.5rem; border-radius: var(--r-lg); overflow: hidden; background: var(--mist); aspect-ratio: 16 / 8; }
.article__media--tall { aspect-ratio: 16 / 7; }
.article__media img { width: 100%; height: 100%; object-fit: cover; }
.article .article__lede + p, .article .prose + p { margin-top: 1.25rem; }
.about-badge { margin-top: 2.5rem; width: 10rem; }
.form { display: grid; gap: 1rem; margin-top: 1.75rem; }
.field { display: grid; gap: .35rem; font-weight: 700; font-size: .9rem; color: var(--navy); }
.field input, .field textarea { padding: .7rem .9rem; border: 1px solid var(--border); border-radius: 12px; font-weight: 400; background: var(--white); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(7, 49, 95, .12); }
.form .btn { justify-self: start; }

.guide { display: grid; gap: 2rem; margin-top: 2rem; }
@media (min-width: 900px) { .guide { grid-template-columns: 15rem minmax(0, 1fr); gap: 3rem; } }
.toc { align-self: start; position: sticky; top: 5.5rem; padding: 1rem 1.1rem; background: var(--mist); border-radius: var(--r); }
.toc__title { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: .5rem; }
.toc__list { display: grid; gap: .15rem; counter-reset: toc; }
.toc__list a { display: block; padding: .35rem .5rem; border-radius: 6px; font-size: .86rem; font-weight: 600; color: var(--navy); line-height: 1.3; }
.toc__list a:hover, .toc__list a.is-current { background: var(--white); color: var(--red); }
@media (max-width: 899px) { .toc { position: static; } }

.prose { font-size: 1.05rem; line-height: 1.72; color: var(--navy-ink); max-width: 70ch; }
.prose--guide { font-size: 1.08rem; }
.prose p { margin: 0 0 1.15rem; }
.prose h2 { margin: 2.2rem 0 .75rem; font-size: 1.45rem; scroll-margin-top: 5.5rem; }
.prose h3 { margin: 1.6rem 0 .5rem; font-size: 1.15rem; }
.prose ul, .prose ol { margin: 0 0 1.15rem 1.25rem; list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin: .3rem 0; }
.prose a { color: var(--red); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.prose img { border-radius: var(--r-sm); margin: 1rem 0; }
.prose blockquote { margin: 1.25rem 0; padding: .25rem 1.25rem; border-left: 3px solid var(--red); color: var(--slate); font-style: italic; }
.prose strong { color: var(--navy); }

/* ---- Search results ---- */
.results { display: grid; gap: 1.5rem; margin-top: 1.5rem; }
.results__group h2 { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: .6rem; }
.results__list { display: grid; gap: .5rem; }
.result { display: grid; grid-template-columns: 3.5rem 1fr; gap: .8rem; align-items: center; padding: .6rem; border: 1px solid var(--border); border-radius: 12px; background: var(--white); }
.result:hover { background: var(--mist); }
.result img { width: 3.5rem; height: 2.6rem; object-fit: cover; border-radius: 8px; background: var(--mist); }
.result--noimg { grid-template-columns: 1fr; }
.result__name { display: block; font-weight: 700; color: var(--navy); line-height: 1.3; }
.result__dek { display: block; font-size: .85rem; color: var(--slate); margin-top: .15rem; line-height: 1.4; }
.result mark { background: rgba(215, 25, 45, .14); color: inherit; border-radius: 3px; padding: 0 .1em; }

/* ---- Search modal ---- */
.search-modal { position: fixed; inset: 0; z-index: 60; }
.search-modal__backdrop { position: absolute; inset: 0; background: rgba(7, 49, 95, .55); backdrop-filter: blur(4px); animation: vt-in .18s ease-out both; }
.search-modal__panel { position: relative; width: min(44rem, 100% - 1.5rem); margin: 4.5rem auto 0; background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 1rem; max-height: calc(100vh - 6rem); overflow: auto; animation: rise .26s var(--ease) both; }
.search-modal__form { display: flex; align-items: center; gap: .6rem; padding: .25rem .5rem; }
.search-modal__form .icon { color: var(--red); }
.search-modal__form input { flex: 1; height: 2.75rem; border: 0; outline: none; font-size: 1.15rem; font-weight: 600; color: var(--navy); background: transparent; }
.search-modal__close { display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 999px; color: var(--slate); }
.search-modal__close:hover { background: var(--mist); }
.search-modal__hint { padding: .5rem .9rem .75rem; font-size: .85rem; color: var(--slate); border-bottom: 1px solid var(--border); }
.search-modal__results { padding: .5rem .25rem; }
.search-modal__results .results { margin-top: .5rem; gap: 1rem; }
.search-modal__results .result { border: 0; padding: .5rem .6rem; }
.search-modal__more { display: block; padding: .8rem .9rem; font-weight: 700; color: var(--red); }
body.has-modal { overflow: hidden; }

/* ---- Footer ---- */
.site-footer { margin-top: 2rem; background: var(--navy); color: var(--white); }
.site-footer__grid { display: grid; gap: 2rem; padding-block: 3rem; }
@media (min-width: 720px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer__logo { height: 3rem; width: auto; filter: brightness(0) invert(1); }
.site-footer__brand p { margin-top: 1rem; max-width: 22rem; font-size: .9rem; color: rgba(255, 255, 255, .75); }
.site-footer__heading { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.site-footer__links { display: grid; gap: .5rem; margin-top: .8rem; font-size: .92rem; }
.site-footer__links a:hover, .site-footer__brandlink:hover { text-decoration: underline; }
.site-footer__copy { margin-top: .8rem; font-size: .9rem; color: rgba(255, 255, 255, .75); }
.site-footer__brandlink { display: inline-block; margin-top: .5rem; font-size: .92rem; font-weight: 600; }

/* ---- Footer legal row ---- */
.site-footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.4rem; padding: 1.1rem 0 1.5rem; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .82rem; color: rgba(255, 255, 255, .75); }
.site-footer__legal a:hover, .site-footer__cookie:hover { text-decoration: underline; color: var(--white); }
.site-footer__cookie { font: inherit; color: inherit; }

/* ---- Cookie consent ---- */
.consent { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 55; display: flex; justify-content: flex-start; pointer-events: none; }
.consent__card { pointer-events: auto; width: min(30rem, 100%); padding: 1.1rem 1.2rem 1.2rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow); animation: rise .3s var(--ease) both; }
.consent__title { font-weight: 800; color: var(--navy); font-size: 1rem; }
.consent__text { margin-top: .35rem; font-size: .88rem; line-height: 1.5; color: var(--slate); }
.consent__text a { color: var(--navy); font-weight: 600; text-decoration: underline; }
.consent__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }
.consent-modal { position: fixed; inset: 0; z-index: 70; }
.consent-modal__backdrop { position: absolute; inset: 0; background: rgba(7, 49, 95, .55); }
.consent-modal__panel { position: relative; width: min(34rem, 100% - 1.5rem); margin: 6vh auto 0; padding: 1.25rem 1.4rem 1.4rem; background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow); max-height: 88vh; overflow: auto; animation: rise .26s var(--ease) both; }
.consent-modal__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .5rem; }
.consent-modal__head h2 { font-size: 1.2rem; }
.consent-row { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; padding: .85rem 0; border-top: 1px solid var(--border); cursor: pointer; }
.consent-row b { display: block; color: var(--navy); font-size: .95rem; }
.consent-row small { display: block; margin-top: .15rem; font-size: .82rem; color: var(--slate); line-height: 1.45; }
.consent-row input { width: 2.6rem; height: 1.5rem; appearance: none; -webkit-appearance: none; border-radius: 999px; background: var(--border-strong); position: relative; cursor: pointer; transition: background-color .2s; }
.consent-row input::after { content: ""; position: absolute; top: .18rem; left: .2rem; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--white); transition: transform .2s var(--ease); }
.consent-row input:checked { background: var(--red); }
.consent-row input:checked::after { transform: translateX(1.1rem); }
.consent-row input:disabled { background: var(--navy); opacity: .7; cursor: default; }
.consent-modal__actions { align-items: center; margin-top: 1.1rem; }
.consent-modal__policy { margin-left: auto; font-size: .85rem; font-weight: 600; color: var(--navy); text-decoration: underline; }
body.has-modal .consent { display: none; }

/* ---- Motion preferences ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  @view-transition { navigation: none; }
}
