/* Red Fridge Society — fridgeATX.com
   Black ground, off-white text, logo red for outlines and accents only. */

@font-face { font-family: "Poiret One"; src: url("/fonts/poiret-one.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("/fonts/eb-garamond.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("/fonts/eb-garamond-italic.woff2") format("woff2"); font-weight: 400 800; font-style: italic; font-display: swap; }

:root {
  --black: #000;
  --text: #efe9dc;
  --text-soft: #d9d2c3;
  --text-label: #c9c1b2;
  --text-muted: #a9a192;
  --rule: #3a3630;
  --red: #ef4136;
  --deco: "Poiret One", "Century Gothic", sans-serif;
  --serif: "EB Garamond", "Iowan Old Style", Georgia, serif;
  --gutter: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
a:hover { opacity: 0.8; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}
em { font-style: italic; }

/* ---------- shared pieces ---------- */

.deco {
  font-family: var(--deco);
  font-weight: 400;
  text-transform: uppercase;
}

.btn {
  display: inline-block;
  font-family: var(--deco);
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.34em;
  font-size: clamp(18px, 1.9vw, 24px);
  padding: 16px 40px 16px 48px;
  border: 3px solid var(--red);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.btn--small {
  font-size: 16px;
  letter-spacing: 0.3em;
  padding: 12px 22px 12px 26px;
  border-width: 2px;
}

.section { padding: 0 var(--gutter) 128px; }
.wrap { max-width: 1080px; margin: 0 auto; }
.wrap--wide { max-width: 1200px; }
.wrap--narrow { max-width: 860px; }
.stack { display: flex; flex-direction: column; gap: 48px; }

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.section-head h2 {
  margin: 0;
  font-family: var(--deco);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: 0.4em;
  padding-left: 0.4em;
  text-transform: uppercase;
}
.section-head p { margin: 0; font-style: italic; color: var(--text-muted); }

/* ---------- threshold (opening screen) ---------- */

.threshold {
  min-height: max(620px, 100svh);
  padding: 28px var(--gutter) 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 44px;
}
.nav {
  align-self: stretch;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 36px;
}
.nav a:not(.btn) {
  font-family: var(--deco);
  text-transform: uppercase;
  text-decoration: none;
  font-size: 16px;
  letter-spacing: 0.3em;
  padding: 12px 0;
}
.threshold__center {
  margin: auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 44px;
  text-align: center;
}
.threshold__mark { width: clamp(200px, 24vw, 310px); height: auto; }
.threshold h1 {
  margin: 0;
  font-family: var(--deco);
  font-weight: 400;
  font-size: clamp(18px, 2vw, 25px);
  letter-spacing: 0.3em;
  padding-left: 0.3em;
  text-transform: uppercase;
}
.threshold__whisper { font-style: italic; font-size: 18px; color: var(--text-muted); }

.porch { position: relative; height: clamp(360px, 46vw, 640px); overflow: hidden; }
.porch img { width: 100%; height: 100%; object-fit: cover; object-position: center 44%; }
.porch::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #000 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 72%, #000 100%);
}

/* ---------- what is the society ---------- */

.society { padding: 96px var(--gutter) 120px; }
.society .wrap {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
}
.society p {
  margin: 0;
  font-size: clamp(22px, 2.1vw, 27px);
  line-height: 1.55;
  text-wrap: balance;
}

/* ---------- the code ---------- */

.code-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr));
  gap: 0 72px;
}
.tenet { display: flex; gap: 28px; padding: 40px 0; border-top: 1px solid var(--rule); }
.tenet__num {
  flex: 0 0 56px;
  font-family: var(--deco);
  font-size: 44px;
  line-height: 1;
  color: var(--red);
}
.tenet h3 {
  margin: 0 0 12px;
  font-family: var(--deco);
  font-weight: 400;
  font-size: 25px;
  letter-spacing: 0.24em;
  line-height: 1.3;
  text-transform: uppercase;
}
.tenet p { margin: 0; color: var(--text-soft); }

/* ---------- the house ---------- */

.photo-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 20px;
}
.photo-row figure { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.photo-row img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  filter: saturate(0.9) brightness(0.92);
}
figcaption.deco, .photo-row figcaption {
  font-family: var(--deco);
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: 0.26em;
  color: var(--text-label);
}
.rooms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 0 40px;
}
.room { padding: 24px 0; border-top: 1px solid var(--rule); }
.room__name {
  font-family: var(--deco);
  text-transform: uppercase;
  font-size: 22px;
  letter-spacing: 0.24em;
}
.room__note { font-size: 17px; color: var(--text-muted); }

/* ---------- what's fresh (events ledger) ---------- */

.ledger { display: flex; flex-direction: column; border-bottom: 1px solid var(--rule); }
.ledger__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 32px;
  padding: 26px 0;
  border-top: 1px solid var(--rule);
}
.ledger__date {
  flex: 0 0 170px;
  font-family: var(--deco);
  text-transform: uppercase;
  font-size: 18px;
  letter-spacing: 0.2em;
  color: var(--red);
}
.ledger__img {
  flex: 0 0 150px;
  width: 150px;
  height: 100px;
  object-fit: cover;
  opacity: 0.85;
  filter: saturate(0.85);
  border: 1px solid var(--rule);
}
.ledger__tag {
  font-family: var(--deco);
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--red);
  margin-bottom: 4px;
}
.ledger__body { flex: 1 1 280px; }
.ledger__title {
  font-family: var(--deco);
  text-transform: uppercase;
  font-size: 25px;
  letter-spacing: 0.2em;
  line-height: 1.3;
}
.ledger__blurb { font-size: 18px; color: var(--text-muted); }
.ledger__rsvp, .text-link {
  font-family: var(--deco);
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: 0.28em;
  padding: 12px 0;
  text-underline-offset: 7px;
  text-decoration-color: var(--red);
}
.ledger__more { text-align: center; margin: 28px 0 0; }
.ledger__empty { padding: 26px 0; border-top: 1px solid var(--rule); font-style: italic; color: var(--text-muted); text-align: center; }
.center { text-align: center; }

/* ---------- leftovers ---------- */

.leftovers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 28px 20px;
}
.leftover { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.leftover img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.85) brightness(0.9);
}
.leftover__title {
  display: block;
  font-family: var(--deco);
  text-transform: uppercase;
  font-size: 17px;
  letter-spacing: 0.22em;
}
.leftover__date { display: block; font-size: 16px; font-style: italic; color: var(--text-muted); }

/* ---------- seen fridge-side ---------- */

.guests { display: flex; flex-direction: column; border-bottom: 1px solid var(--rule); }
.guest {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 24px;
  padding: 22px 0;
  border-top: 1px solid var(--rule);
}
.guest__name {
  font-family: var(--deco);
  text-transform: uppercase;
  font-size: 25px;
  letter-spacing: 0.22em;
}
.guest__role { font-style: italic; color: var(--text-muted); }
.quote { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.quote p { margin: 0; font-size: 26px; font-style: italic; line-height: 1.45; }
.quote footer {
  font-family: var(--deco);
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: 0.26em;
  color: var(--text-label);
}

/* ---------- by application only ---------- */

.apply-band {
  padding: 112px var(--gutter);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.apply-band .wrap {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
}
.apply-band__mark { width: 72px; height: auto; }
.apply-band h1, .apply-band h2 {
  margin: 0;
  font-family: var(--deco);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 52px);
  letter-spacing: 0.24em;
  padding-left: 0.24em;
  line-height: 1.25;
  text-transform: uppercase;
}
.apply-band p { margin: 0; font-size: 23px; text-wrap: balance; }
.tiers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 40px;
  font-size: 19px;
  color: var(--text-label);
}
.tiers .deco { letter-spacing: 0.22em; color: var(--text); }

/* ---------- footer ---------- */

.footer { padding: 88px var(--gutter) 56px; }
.footer .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  text-align: center;
}
.footer__motto { font-size: clamp(30px, 3.6vw, 46px); font-style: italic; line-height: 1.2; }
.newsletter { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 100%; max-width: 520px; }
.newsletter__label {
  font-family: var(--deco);
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: 0.28em;
}
.newsletter iframe { width: 100%; height: 60px; border: 0; background: transparent; }
.footer__logo { width: 240px; height: auto; }
.footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 36px;
  font-size: 17px;
  color: var(--text-muted);
}
.footer__links a { padding: 12px 0; text-underline-offset: 5px; }

/* ---------- apply page ---------- */

.page-top { padding: 28px var(--gutter) 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.page-top img { width: 64px; height: auto; }
.apply-page { padding: 72px var(--gutter) 120px; }
.apply-page .wrap {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}
.apply-page h1 {
  margin: 0;
  font-family: var(--deco);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: 0.24em;
  padding-left: 0.24em;
  line-height: 1.25;
  text-transform: uppercase;
}
.apply-page h2 {
  margin: 24px 0 0;
  font-family: var(--deco);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: 0.3em;
  padding-left: 0.3em;
  text-transform: uppercase;
}
.apply-page p { margin: 0; font-size: 23px; text-wrap: balance; }

@media (max-width: 600px) {
  body { font-size: 19px; }
  .nav { justify-content: center; gap: 4px 22px; }
  .threshold { min-height: 660px; }
  .ledger__date { flex-basis: 100%; }
  .ledger__img { flex-basis: 100%; width: 100%; height: 170px; }
  .tenet { gap: 18px; }
  .tenet__num { flex-basis: 40px; font-size: 36px; }
  .section { padding-bottom: 96px; }
}

/* ---------- application form ---------- */

.apply-form {
  width: 100%;
  max-width: 600px;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  text-align: left;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--deco);
  font-size: 16px;
  letter-spacing: 0.2em;
  color: var(--text-label);
}
.field .req { color: var(--text-muted); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 10px 14px;
  border: 1px solid #8c8578;
  border-radius: 0;
  background: #000;
  color: var(--text);
  font-family: var(--serif);
  font-size: 20px;
}
.field textarea { resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); outline: none; }
.field--trap { position: absolute; left: -9999px; }
.apply-form .btn { align-self: flex-start; }
.apply-form .btn[disabled] { opacity: 0.5; cursor: default; }
.apply-form__status { margin: 0; font-size: 19px !important; font-style: italic; color: var(--text-label); min-height: 1.6em; text-align: left; }

/* ---------- leftovers gallery ---------- */
.leftover { cursor: zoom-in; }
.leftover:focus-visible { outline: 1px solid var(--red); outline-offset: 6px; }
.no-scroll { overflow: hidden; }
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0, 0, 0, 0.96);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 56px 64px 72px;
}
.lightbox__img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox__cap {
  position: absolute; left: 0; right: 0; bottom: 22px; text-align: center;
  font-family: var(--deco); text-transform: uppercase; font-size: 14px; letter-spacing: 0.22em; color: var(--text-muted);
}
.lightbox__btn {
  position: absolute; background: none; border: 0; color: var(--text); cursor: pointer;
  font-family: var(--deco); font-size: 54px; line-height: 1; padding: 12px 18px;
}
.lightbox__btn:hover, .lightbox__btn:focus-visible { color: var(--red); }
.lightbox__prev { left: 6px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 6px; top: 50%; transform: translateY(-50%); }
.lightbox__close { right: 10px; top: 6px; }
@media (max-width: 600px) { .lightbox { padding: 56px 8px 72px; } }

/* ---------- recorded talks ---------- */
.talks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 32px; }
.talk { display: block; text-decoration: none; color: inherit; }
.talk__frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--rule); background: #0b0b0b; }
.talk__frame img { width: 100%; height: 100%; object-fit: cover; opacity: 0.82; filter: saturate(0.85); transition: opacity 0.3s; }
.talk__play {
  position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px;
  border: 1px solid var(--red); border-radius: 50%; background: rgba(0, 0, 0, 0.45);
}
.talk__play::after {
  content: ""; position: absolute; left: 23px; top: 17px;
  border-left: 16px solid var(--red); border-top: 12px solid transparent; border-bottom: 12px solid transparent;
}
.talk:hover .talk__frame img, .talk:focus-visible .talk__frame img { opacity: 1; }
.talk:focus-visible { outline: 1px solid var(--red); outline-offset: 6px; }
.talk__title { font-family: var(--deco); text-transform: uppercase; font-size: 21px; letter-spacing: 0.18em; margin-top: 18px; }
.talk__blurb { font-size: 18px; color: var(--text-muted); margin-top: 4px; }
@media (max-width: 900px) { .talks { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .talks { grid-template-columns: 1fr; } }

/* ---------- apply page FAQ ---------- */
.faq { width: 100%; max-width: 640px; margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 0; }
.faq__item { width: 100%; padding: 30px 0; border-top: 1px solid var(--rule); }
.faq__item:last-child { border-bottom: 1px solid var(--rule); }
.faq__item h3 { margin: 0 0 12px; font-family: var(--deco); font-weight: 400; text-transform: uppercase; font-size: 20px; letter-spacing: 0.2em; line-height: 1.4; }
.faq__item p { font-size: 20px; color: var(--text-soft); }

/* ============ Nov 16 evening: threshold, events, talks, archive, newsletter ============ */

/* ---------- threshold: the fridge lights up ---------- */
.mark { overflow: visible; }
.threshold__center { position: relative; }
.threshold__center::before {
  content: ""; position: absolute; left: 50%; top: 0; width: min(560px, 90vw); aspect-ratio: 1; transform: translate(-50%, -22%);
  background: radial-gradient(closest-side, rgba(239, 65, 54, 0.16), rgba(239, 65, 54, 0) 70%);
  pointer-events: none; z-index: -1;
}
@media (prefers-reduced-motion: no-preference) {
  .mark__fridge, .mark__handle { animation: rfs-fade 1.2s 0.15s ease both; }
  .mark__rays { animation: rfs-rays 1.9s 0.75s cubic-bezier(0.25, 0.6, 0.2, 1) both; }
  .threshold__center::before { animation: rfs-fade 2.4s 0.9s ease both; }
  .threshold h1 { animation: rfs-rise 1s 1.9s ease both; }
  .threshold .btn { animation: rfs-rise 1s 2.25s ease both; }
  .threshold .nav { animation: rfs-fade 1s 2.5s ease both; }
}
@keyframes rfs-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rfs-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
/* light spreads out from the top of the fridge (user units of the logo's viewBox) */
@keyframes rfs-rays { from { clip-path: circle(0px at 118px 62px); } to { clip-path: circle(300px at 118px 62px); } }

.btn { transition: background-color 0.25s, color 0.25s; }
.btn:hover { opacity: 1; background: var(--red); color: #000; }

/* ---------- porch: the doors open ---------- */
.porch picture { display: block; width: 100%; height: 100%; }
.porch__door { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .js .porch__door {
    display: block; position: absolute; top: 0; bottom: 0; width: 50.5%; background: #000; z-index: 2;
    transition: transform 1.8s cubic-bezier(0.7, 0, 0.2, 1);
  }
  .js .porch__door--left { left: 0; }
  .js .porch__door--right { right: 0; }
  .js .porch.is-open .porch__door--left { transform: translateX(-101%); }
  .js .porch.is-open .porch__door--right { transform: translateX(101%); }
  .js .porch img { transform: scale(1.07); transition: transform 3.2s cubic-bezier(0.2, 0.6, 0.2, 1); }
  .js .porch.is-open img { transform: none; }
}

/* ---------- events: status, and the next event up front ---------- */
.ledger__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-bottom: 6px; }
.ledger__meta .ledger__tag { margin: 0; }
.ledger__status {
  font-family: var(--deco); text-transform: uppercase; font-size: 12px; letter-spacing: 0.26em;
  color: var(--text-label); border: 1px solid var(--rule); padding: 3px 8px 3px 10px;
}
.ledger__status--now { color: #000; background: var(--red); border-color: var(--red); }
.ledger__kicker, .ledger__time { display: block; }
.ledger__kicker { font-size: 13px; letter-spacing: 0.3em; color: var(--text-muted); margin-bottom: 10px; }
.ledger__time { font-family: var(--serif); text-transform: none; font-style: italic; letter-spacing: 0; font-size: 19px; color: var(--text-muted); margin-top: 6px; }
.ledger__row--next {
  display: grid; grid-template-columns: 360px minmax(0, 1fr) auto; column-gap: 40px; row-gap: 10px; align-items: center;
  grid-template-areas: "img date rsvp" "img body rsvp"; padding: 40px 0;
}
.ledger__row--next .ledger__img { grid-area: img; width: 360px; height: 240px; opacity: 0.92; }
.ledger__row--next .ledger__date { grid-area: date; align-self: end; font-size: 20px; }
.ledger__row--next .ledger__body { grid-area: body; align-self: start; }
.ledger__row--next .ledger__rsvp { grid-area: rsvp; border: 2px solid var(--red); padding: 12px 20px 12px 26px; text-decoration: none; transition: background-color 0.25s, color 0.25s; }
.ledger__row--next .ledger__rsvp:hover { opacity: 1; background: var(--red); color: #000; }
.ledger__row--next .ledger__title { font-size: clamp(24px, 2.3vw, 31px); }
.ledger__row--next .ledger__kicker { margin-bottom: 8px; }
.ledger__row--next .ledger__time { display: inline; margin-left: 14px; }
.ledger__rsvp { white-space: nowrap; }
@media (max-width: 900px) {
  .ledger__row--next { grid-template-columns: minmax(0, 1fr); grid-template-areas: "date" "img" "body" "rsvp"; row-gap: 16px; }
  .ledger__row--next .ledger__img { width: 100%; height: auto; aspect-ratio: 3 / 2; }
  .ledger__row--next .ledger__rsvp { justify-self: start; }
}

/* ---------- talks: featured card, on-site player ---------- */
.talk { cursor: pointer; }
.talk--featured { grid-column: span 2; grid-row: span 2; }
.talk--featured .talk__title { font-size: clamp(26px, 2.6vw, 34px); margin-top: 22px; }
.talk--featured .talk__blurb { font-size: 21px; }
.talk--featured .talk__play { width: 84px; height: 84px; margin: -42px 0 0 -42px; }
.talk--featured .talk__play::after { left: 34px; top: 25px; border-left-width: 22px; border-top-width: 16px; border-bottom-width: 16px; }
.talk__kicker { font-family: var(--deco); text-transform: uppercase; font-size: 13px; letter-spacing: 0.3em; color: var(--red); margin-top: 20px; }
.talk__kicker + .talk__title { margin-top: 4px; }
@media (max-width: 900px) { .talk--featured { grid-row: auto; } }
@media (max-width: 600px) { .talk--featured { grid-column: auto; } }

.lightbox--video { padding: 64px 24px 72px; }
.lightbox__video { width: min(1180px, 100%); max-height: 100%; aspect-ratio: 16 / 9; border: 1px solid var(--rule); background: #000; }
.lightbox__video iframe { width: 100%; height: 100%; border: 0; display: block; }
.lightbox__cap a { color: inherit; }
@media (max-width: 600px) { .lightbox--video { padding: 56px 0 72px; } }

/* ---------- newsletter ---------- */
.nl { display: flex; width: 100%; border: 2px solid var(--red); }
.nl input {
  flex: 1; min-width: 0; background: transparent; border: 0; color: var(--text);
  font-family: var(--serif); font-style: italic; font-size: 20px; padding: 13px 18px;
}
.nl input::placeholder { color: var(--text-muted); opacity: 1; }
.nl input:focus-visible { outline: none; background: rgba(239, 233, 220, 0.06); }
.nl button {
  background: transparent; color: var(--text); border: 0; border-left: 2px solid var(--red); cursor: pointer; white-space: nowrap;
  font-family: var(--deco); text-transform: uppercase; font-size: 16px; letter-spacing: 0.26em; padding: 0 20px 0 24px;
  transition: background-color 0.25s, color 0.25s;
}
.nl button:hover { background: var(--red); color: #000; }
.nl button:disabled { opacity: 0.6; cursor: default; }
.nl__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nl__status { min-height: 1.6em; margin: 0; font-style: italic; font-size: 18px; color: var(--text-muted); text-align: center; }
.nl__status--ok { font-family: var(--deco); font-style: normal; text-transform: uppercase; letter-spacing: 0.3em; font-size: 20px; color: var(--text); }

/* ---------- Fridgeside archive ---------- */
.archive-page { padding: 72px var(--gutter) 120px; }
.archive-head { text-align: center; max-width: 720px; margin: 0 auto 72px; display: flex; flex-direction: column; gap: 22px; }
.archive-head h1 {
  margin: 0; font-family: var(--deco); font-weight: 400; text-transform: uppercase;
  font-size: clamp(34px, 5vw, 60px); letter-spacing: 0.3em; padding-left: 0.3em; line-height: 1.2;
}
.archive-head p { margin: 0; font-size: 23px; font-style: italic; color: var(--text-muted); text-wrap: balance; }
.archive { border-bottom: 1px solid var(--rule); }
.entry { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 28px 48px; padding: 56px 0; border-top: 1px solid var(--rule); scroll-margin-top: 24px; }
.entry__frame { display: block; align-self: start; cursor: pointer; }
.entry__frame:hover img { opacity: 1; }
.entry__body { min-width: 0; }
.entry__date { font-family: var(--deco); text-transform: uppercase; font-size: 14px; letter-spacing: 0.28em; color: var(--red); }
.entry h3 { margin: 8px 0 0; font-family: var(--deco); font-weight: 400; text-transform: uppercase; font-size: clamp(26px, 2.8vw, 36px); letter-spacing: 0.18em; line-height: 1.25; }
.entry__byline { font-style: italic; color: var(--text-muted); margin-top: 2px; }
.entry__full { margin-top: 14px; font-size: 22px; line-height: 1.4; color: var(--text); text-wrap: balance; }
.entry p { margin: 16px 0 0; font-size: 19px; line-height: 1.6; color: var(--text-soft); }
.chapters { margin-top: 22px; }
.chapters summary {
  cursor: pointer; width: fit-content; list-style: none;
  font-family: var(--deco); text-transform: uppercase; font-size: 15px; letter-spacing: 0.28em;
  padding: 8px 0; border-bottom: 1px solid var(--red);
}
.chapters summary::-webkit-details-marker { display: none; }
.chapters summary::after { content: " +"; color: var(--red); }
.chapters[open] summary::after { content: " \2212"; }
.chapters ol { list-style: none; margin: 14px 0 0; padding: 0; }
.chapters li { border-top: 1px solid var(--rule); }
.chapters a { display: flex; gap: 16px; padding: 9px 0; text-decoration: none; font-size: 18px; color: var(--text-soft); }
.chapters a:hover { opacity: 1; color: var(--text); }
.chapter__t { flex: 0 0 64px; font-family: var(--deco); letter-spacing: 0.1em; color: var(--red); }
.archive-guests { max-width: 860px; margin: 112px auto 0; display: flex; flex-direction: column; gap: 40px; }
.archive-page .ledger__more { margin-top: 56px; }
.band-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
@media (max-width: 800px) {
  .entry { grid-template-columns: 1fr; padding: 40px 0; }
  .archive-head { margin-bottom: 48px; }
}

/* ---------- name on the threshold, red accents ---------- */
.threshold h1 { display: flex; flex-direction: column; align-items: center; gap: 16px; font-size: inherit; letter-spacing: 0; padding: 0; }
.threshold__name { font-size: clamp(24px, 3vw, 38px); letter-spacing: 0.42em; padding-left: 0.42em; line-height: 1.2; }
.threshold__tag { font-size: clamp(15px, 1.5vw, 19px); letter-spacing: 0.3em; padding-left: 0.3em; color: var(--text-label); }
.threshold__center { gap: 36px; }

/* a short red rule under each section heading */
.section-head h2::after, .archive-head h1::after {
  content: ""; display: block; width: 56px; height: 2px; background: var(--red); margin: 22px auto 0;
}
.society em.accent { color: var(--red); }
/* each value gets a red mark on its top rule */
.tenet { position: relative; }
.tenet::before { content: ""; position: absolute; left: 0; top: -1px; width: 56px; height: 2px; background: var(--red); }
.tenet h3 { color: var(--text); }

/* ---------- photo in the society section (full bleed, like the porch) ---------- */
.society__photo { position: relative; margin: 80px calc(-1 * var(--gutter)) 0; }
.society__photo img { width: 100%; height: auto; filter: brightness(0.92) contrast(1.05); }
.society__photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, #000 0%, rgba(0,0,0,0) 14%, rgba(0,0,0,0) 84%, #000 100%);
}

/* ---------- leftovers: photos and talks in one grid ---------- */
.leftovers-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; }
.leftover { cursor: pointer; }
.leftover__frame { position: relative; overflow: hidden; border: 1px solid var(--rule); background: #0b0b0b; }
.leftover__frame img { aspect-ratio: 4 / 3; transition: filter 0.3s; }
.leftover:hover .leftover__frame img, .leftover:focus-visible .leftover__frame img { filter: none; }
@media (max-width: 1000px) { .leftovers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .leftovers-grid { grid-template-columns: minmax(0, 1fr); } }
.lightbox__stage { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 0; }
.lightbox__stage .lightbox__video { width: min(1180px, 100%); }

/* ---------- leftovers hero, archive sections ---------- */
.leftover--hero { grid-column: span 2; grid-row: span 2; }
.leftover--hero .leftover__frame { flex: 1; min-height: 0; }
.leftover--hero .leftover__frame { min-height: 260px; }
.leftover--hero .leftover__frame img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
.leftover--hero .leftover__title { font-size: clamp(22px, 2.3vw, 30px); letter-spacing: 0.18em; line-height: 1.3; }
.leftover--hero .leftover__date { font-size: 19px; margin-top: 4px; }
.leftover--hero .talk__play { width: 84px; height: 84px; margin: -42px 0 0 -42px; }
.leftover--hero .talk__play::after { left: 34px; top: 25px; border-left-width: 22px; border-top-width: 16px; border-bottom-width: 16px; }
.leftover__kicker { display: block; font-family: var(--deco); text-transform: uppercase; font-size: 13px; letter-spacing: 0.3em; color: var(--red); margin-bottom: 4px; }
.leftover__frame img { display: block; width: 100%; object-fit: cover; }
@media (max-width: 1000px) { .leftover--hero { grid-row: auto; } .leftover--hero .leftover__frame { min-height: 0; } .leftover--hero .leftover__frame img { position: static; aspect-ratio: 16 / 9; height: auto; } }
@media (max-width: 520px) { .leftover--hero { grid-column: auto; } }

.archive-talks, .archive-more { display: flex; flex-direction: column; gap: 48px; }
.archive-more { margin-top: 112px; }
.archive-head { margin-bottom: 96px; }
.entry__photos { margin-top: 20px; }
.entry__photos button { background: none; border: 0; color: inherit; cursor: pointer; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 7px; }

/* ---------- newsletter issues ---------- */
.nl-posts:empty { display: none; }
.nl-posts { width: 100%; max-width: 520px; text-align: center; }
.nl-posts__label { font-family: var(--deco); text-transform: uppercase; font-size: 13px; letter-spacing: 0.3em; color: var(--text-muted); margin-bottom: 10px; }
.nl-posts ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.nl-posts li { border-bottom: 1px solid var(--rule); }
.nl-posts a { display: flex; align-items: baseline; gap: 18px; padding: 11px 4px; text-decoration: none; text-align: left; font-size: 19px; font-style: italic; color: var(--text-soft); }
.nl-posts a:hover { opacity: 1; color: var(--text); }
.nl-posts__date { flex: 0 0 92px; font-family: var(--deco); font-style: normal; text-transform: uppercase; font-size: 13px; letter-spacing: 0.2em; color: var(--red); }

/* ---------- one talk ---------- */
.talk-page { padding: 56px var(--gutter) 120px; }
.talk-page .wrap { max-width: 860px; }
.talk-back { margin: 0 0 48px; }
.talk-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 48px; }
.talk-head h1 { margin: 6px 0 0; font-family: var(--deco); font-weight: 400; text-transform: uppercase; font-size: clamp(34px, 5.5vw, 64px); letter-spacing: 0.22em; padding-left: 0.22em; line-height: 1.15; }
.talk-head .entry__byline { font-size: 22px; }
.talk-full { margin: 14px 0 0; font-size: clamp(21px, 2.2vw, 26px); line-height: 1.4; text-wrap: balance; max-width: 720px; }
.talk-player { display: block; cursor: pointer; }
.talk-player .talk__play { width: 84px; height: 84px; margin: -42px 0 0 -42px; }
.talk-player .talk__play::after { left: 34px; top: 25px; border-left-width: 22px; border-top-width: 16px; border-bottom-width: 16px; }
.talk-player:hover img { opacity: 1; }
.talk-body { margin-top: 48px; }
.talk-summary { margin: 0 0 18px; font-size: 22px; line-height: 1.6; }
.talk-body h2 { margin: 72px 0 0; font-family: var(--deco); font-weight: 400; text-transform: uppercase; font-size: 26px; letter-spacing: 0.3em; }
.talk-body h2::after { content: ""; display: block; width: 56px; height: 2px; background: var(--red); margin-top: 16px; }
.talk-chapters ol { margin-top: 24px; }
.talk-note { margin: 18px 0 0; font-style: italic; font-size: 18px; color: var(--text-muted); }
.talk-transcript h3 { margin: 44px 0 0; font-family: var(--deco); font-weight: 400; text-transform: uppercase; font-size: 18px; letter-spacing: 0.18em; line-height: 1.5; color: var(--text); }
.talk-transcript p { margin: 16px 0 0; font-size: 19px; line-height: 1.7; color: var(--text-soft); }
.stamp { font-family: var(--deco); font-style: normal; font-size: 0.85em; letter-spacing: 0.1em; color: var(--red); text-decoration: none; margin-right: 6px; }
.stamp:hover { opacity: 1; text-decoration: underline; }
.talk-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 96px; padding-top: 32px; border-top: 1px solid var(--rule); }
.talk-nav__link { text-decoration: none; font-family: var(--deco); text-transform: uppercase; font-size: 19px; letter-spacing: 0.18em; line-height: 1.4; }
.talk-nav__link span { display: block; font-size: 13px; letter-spacing: 0.3em; color: var(--red); margin-bottom: 6px; }
.talk-nav__link--next { text-align: right; }
.entry h3 a { text-decoration: none; }
.entry h3 a:hover { opacity: 1; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 8px; }
.entry__more { margin-top: 20px; }

/* ---------- 404: the test card ---------- */
.lost-page { padding: 40px var(--gutter) 96px; }
.testcard {
  position: relative; max-width: 1100px; margin: 0 auto; aspect-ratio: 1920 / 890; overflow: hidden;
  container-type: inline-size; border: 1px solid var(--rule); background: #161112;
}
.tc-bars { position: absolute; left: 0; right: 0; top: 0; height: 86.5%; display: grid; grid-template-columns: repeat(7, 1fr); }
.tc-bars span:nth-child(1) { background: #f2e8dc; }
.tc-bars span:nth-child(2) { background: #f0c4bb; }
.tc-bars span:nth-child(3) { background: #e87b6e; }
.tc-bars span:nth-child(4) { background: #d6261e; }
.tc-bars span:nth-child(5) { background: #a3161b; }
.tc-bars span:nth-child(6) { background: #6b0f14; }
.tc-bars span:nth-child(7) { background: #2b1416; }
.tc-castle { position: absolute; left: 0; right: 0; bottom: 0; height: 13.5%; display: grid; grid-template-columns: repeat(8, 1fr); border-top: 0.5cqw solid #161112; }
.tc-castle span:nth-child(1) { background: #6b0f14; }
.tc-castle span:nth-child(2) { background: #f2e8dc; }
.tc-castle span:nth-child(3) { background: #2b1416; }
.tc-castle span:nth-child(4) { background: #d6261e; }
.tc-castle span:nth-child(5) { background: #161112; }
.tc-castle span:nth-child(6) { background: #3a2a2b; }
.tc-castle span:nth-child(7) { background: #161112; }
.tc-castle span:nth-child(8) { background: #f0c4bb; }
.tc-cross { position: absolute; inset: 0; pointer-events: none; }
.tc-cross::before, .tc-cross::after { content: ""; position: absolute; background: rgba(22, 17, 18, 0.35); }
.tc-cross::before { left: 0; right: 0; top: 47%; height: 1px; }
.tc-cross::after { top: 0; bottom: 13.5%; left: 50%; width: 1px; }
.tc-center { position: absolute; left: 50%; top: 47%; width: 35cqw; transform: translate(-50%, -50%); }
.tc-dial { display: block; width: 100%; height: auto; }
.tc-banner {
  position: absolute; left: 50%; top: 66%; width: 56cqw; transform: translateX(-50%); white-space: nowrap;
  background: #161112; padding: 1.6cqw 1cqw 1.3cqw; text-align: center;
  display: flex; flex-direction: column; gap: 0.7cqw;
}
.tc-banner strong { font-family: var(--deco); font-weight: 400; text-transform: uppercase; font-size: 4.2cqw; letter-spacing: 0.2em; padding-left: 0.16em; line-height: 1.1; color: #f2e8dc; }
.tc-banner span { font-family: var(--deco); text-transform: uppercase; font-size: 1.25cqw; letter-spacing: 0.34em; padding-left: 0.34em; color: #e87b6e; }
@media (prefers-reduced-motion: no-preference) {
  .testcard::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: multiply; opacity: 0.18;
    background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.55) 0 1px, transparent 1px 3px);
    animation: tc-roll 4s linear 1 both;
  }
}
@keyframes tc-roll { from { background-position: 0 0; } to { background-position: 0 120px; } }
.tc-foot { max-width: 760px; margin: 56px auto 0; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.tc-foot h1 { margin: 0; font-family: var(--deco); font-weight: 400; text-transform: uppercase; font-size: clamp(26px, 4vw, 46px); letter-spacing: 0.2em; padding-left: 0.2em; line-height: 1.25; }
.tc-foot h1::after { content: ""; display: block; width: 56px; height: 2px; background: var(--red); margin: 22px auto 0; }
.tc-foot p { margin: 0; font-size: 22px; font-style: italic; color: var(--text-muted); text-wrap: balance; }
.tc-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 34px; margin-top: 10px; }
@media (max-width: 640px) {
  .testcard { aspect-ratio: 4 / 3; }
  .tc-center { width: 52cqw; }
  .tc-banner { width: 86cqw; padding: 2.6cqw 1.5cqw 2.2cqw; gap: 1.2cqw; }
  .tc-banner strong { font-size: 6.4cqw; }
  .tc-banner span { font-size: 2.2cqw; }
}

/* ---------- apply page: photo, steps, confirmation ---------- */
.apply-page { overflow-x: clip; }
.apply-photo { position: relative; width: 100vw; margin: 24px calc(50% - 50vw) 8px; }
.apply-photo img { width: 100%; height: auto; filter: brightness(0.82) contrast(1.05) saturate(0.9); }
.apply-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, #000 0%, rgba(0,0,0,0) 16%, rgba(0,0,0,0) 80%, #000 100%);
}
.apply-steps { width: 100%; max-width: 860px; }
.apply-steps ol { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: left; }
.apply-steps li { display: flex; gap: 16px; border-top: 1px solid var(--rule); padding-top: 22px; position: relative; }
.apply-steps li::before { content: ""; position: absolute; left: 0; top: -1px; width: 56px; height: 2px; background: var(--red); }
.apply-steps__n { font-family: var(--deco); font-size: 40px; line-height: 1; color: var(--red); }
.apply-steps h3 { margin: 0 0 6px; font-family: var(--deco); font-weight: 400; text-transform: uppercase; font-size: 18px; letter-spacing: 0.2em; }
.apply-steps p { font-size: 19px !important; color: var(--text-soft); text-wrap: pretty !important; }
@media (max-width: 760px) { .apply-steps ol { grid-template-columns: 1fr; } }
.apply-done { width: 100%; max-width: 640px; margin-top: 24px; padding: 56px 32px; border: 1px solid var(--rule); border-top: 2px solid var(--red); display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; outline: none; }
.apply-done img { width: 96px; height: auto; }
.apply-done h2 { margin: 0; }
.apply-done__next { font-style: italic; color: var(--text-muted); font-size: 20px !important; }
.apply-steps p a { text-decoration-color: var(--red); text-underline-offset: 4px; }

/* ---------- spam check (Turnstile) ---------- */
.human:empty { display: none; }
.human { width: 100%; }

/* ---------- accessibility helpers ---------- */
.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: 12px; top: -80px; z-index: 200; padding: 12px 20px;
  background: var(--text); color: #000; font-family: var(--deco); text-transform: uppercase; letter-spacing: 0.2em; text-decoration: none;
}
.skip:focus { top: 12px; }
select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
main:focus { outline: none; }

/* Leftovers cards are buttons now */
.leftover__btn {
  display: flex; flex-direction: column; gap: 12px; width: 100%; height: 100%; flex: 1;
  padding: 0; margin: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer;
}
.leftover__btn:focus-visible { outline: 2px solid var(--red); outline-offset: 6px; }
.leftover__frame { display: block; }
.leftover__cap { display: block; }
.leftover:hover .leftover__frame img, .leftover__btn:focus-visible .leftover__frame img { filter: none; }
.leftover--hero .leftover__btn .leftover__frame { flex: 1; min-height: 260px; }
@media (max-width: 1000px) { .leftover--hero .leftover__btn .leftover__frame { min-height: 0; } }

/* ---------- footer legal links ---------- */
.footer__legal { display: flex; gap: 28px; justify-content: center; font-size: 15px; color: var(--text-muted); }
.footer__legal a { color: var(--text-muted); }

/* ---------- plain pages (privacy, accessibility) ---------- */
.legal-page { padding: 72px var(--gutter) 120px; }
.legal-page .wrap { max-width: 760px; }
.legal-page h1 { margin: 0 0 12px; font-family: var(--deco); font-weight: 400; text-transform: uppercase; font-size: clamp(32px, 5vw, 52px); letter-spacing: 0.24em; line-height: 1.2; }
.legal-page h1::after { content: ""; display: block; width: 56px; height: 2px; background: var(--red); margin-top: 22px; }
.legal-page .legal-date { font-style: italic; color: var(--text-muted); margin: 18px 0 40px; font-size: 18px; }
.legal-page h2 { margin: 52px 0 0; font-family: var(--deco); font-weight: 400; text-transform: uppercase; font-size: 21px; letter-spacing: 0.22em; line-height: 1.4; }
.legal-page p, .legal-page li { font-size: 19px; line-height: 1.65; color: var(--text-soft); }
.legal-page p { margin: 16px 0 0; }
.legal-page ul { margin: 14px 0 0; padding-left: 22px; }
.legal-page li { margin-top: 8px; }
.legal-page a { text-decoration-color: var(--red); text-underline-offset: 4px; }
.legal-page strong { color: var(--text); font-weight: 500; }
.apply-form__note { margin: 0; font-size: 17px !important; font-style: italic; color: var(--text-muted); text-align: left; }
.apply-form__note a { color: inherit; }
.talk-page > .apply-band, .archive-page > .apply-band { margin: 112px calc(-1 * var(--gutter)) -120px; }

/* ---------- the short version (what is the Society) ---------- */
.facts { width: 100%; margin: 24px 0 0; text-align: left; border-top: 1px solid var(--rule); }
.facts > div { display: grid; grid-template-columns: 120px 1fr; gap: 0 28px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.facts dt { font-family: var(--deco); text-transform: uppercase; font-size: 15px; letter-spacing: 0.25em; color: var(--red); padding-top: 4px; }
.facts dd { margin: 0; font-size: 19px; line-height: 1.55; color: var(--text-soft); }
@media (max-width: 520px) { .facts > div { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- leftovers: link to a talk's own page ---------- */
.leftover__more { align-self: flex-start; font-size: 15px; font-style: italic; color: var(--text-muted); text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 4px; margin-top: -4px; }
.leftover__more:hover, .leftover__more:focus-visible { color: var(--text); text-decoration-color: var(--red); }

/* ---------- talk page: context line and takeaways ---------- */
.talk-context { margin: 0 0 18px; font-style: italic; font-size: 18px; color: var(--text-muted); }
.talk-takeaways ul { margin: 24px 0 0; padding: 0; list-style: none; }
.talk-takeaways li { position: relative; padding: 14px 0 14px 28px; border-top: 1px solid var(--rule); font-size: 20px; line-height: 1.55; color: var(--text-soft); }
.talk-takeaways li:last-child { border-bottom: 1px solid var(--rule); }
.talk-takeaways li::before { content: ""; position: absolute; left: 4px; top: 27px; width: 8px; height: 8px; background: var(--red); }
.ledger__row--next .ledger__time { margin-left: 10px; }

/* ---------- the short version + the fine print (homepage) ---------- */
#short .facts { max-width: 760px; margin: 0 auto; }
.fine { width: 100%; max-width: 760px; margin: 56px auto 0; }
.fine__head { margin: 0 0 20px; font-family: var(--deco); font-weight: 400; text-transform: uppercase; font-size: 20px; letter-spacing: 0.25em; text-align: center; }
.fine__item { border-top: 1px solid var(--rule); }
.fine__item:last-child { border-bottom: 1px solid var(--rule); }
.fine__item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 24px; padding: 20px 0; font-size: 20px; line-height: 1.4; }
.fine__item summary::-webkit-details-marker { display: none; }
.fine__item summary::after { content: "+"; color: var(--red); font-family: var(--deco); font-size: 24px; line-height: 1; }
.fine__item[open] summary::after { content: "\2212"; }
.fine__item p { margin: 0 0 22px; font-size: 19px; line-height: 1.6; color: var(--text-soft); }

/* ---------- notes from the Fridge ---------- */
.notes { max-width: 760px; margin: 0 auto; }
.note-card { padding: 36px 0; border-top: 1px solid var(--rule); }
.note-card:last-child { border-bottom: 1px solid var(--rule); }
.note-card h2 { margin: 8px 0 14px; font-family: var(--deco); font-weight: 400; text-transform: uppercase; font-size: clamp(24px, 3vw, 32px); letter-spacing: 0.18em; line-height: 1.3; }
.note-card h2 a { text-decoration: none; }
.note-card h2 a:hover { color: var(--red); }
.note-card p { margin: 0; font-size: 20px; line-height: 1.6; color: var(--text-soft); }
.note-card .entry__more { margin-top: 14px; }
.note-body { font-size: 21px; line-height: 1.7; }
.note-body p { margin: 0 0 22px; }
.note-body ul { margin: 0 0 22px; padding-left: 24px; }
.note-body li { margin-bottom: 10px; }
.note-body a { color: var(--text); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; }
.note-figure { margin: 36px 0; }
.note-figure img { display: block; width: 100%; height: auto; border: 1px solid var(--rule); }
.note-figure figcaption { margin-top: 10px; font-size: 16px; font-style: italic; color: var(--text-muted); text-align: center; }
.note-source { margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--rule); font-style: italic; font-size: 18px; color: var(--text-muted); }
.nl-posts__all { margin: 14px 0 0; font-size: 16px; }
.fine__head--next { margin-top: 56px; }
.fine__note { display: block; margin-top: 10px; font-size: 16px; font-style: italic; color: var(--text-muted); }

/* ---------- Fridge FAQ (homepage, below the apply band) ---------- */
.faq-section .fine { margin-top: 8px; }
.faq-summary { max-width: 760px; margin: 0 auto; text-align: center; font-size: 21px; line-height: 1.6; color: var(--text-soft); text-wrap: balance; }
.faq-group { border-top: 1px solid var(--rule); }
.faq-group:last-child { border-bottom: 1px solid var(--rule); }
.faq-group > summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 26px 0; font-family: var(--deco); text-transform: uppercase; font-size: 22px; letter-spacing: 0.22em; }
.faq-group > summary::-webkit-details-marker { display: none; }
.faq-group > summary::after { content: "+"; color: var(--red); font-size: 28px; line-height: 1; }
.faq-group[open] > summary::after { content: "\2212"; }
.faq-group .fine__item { padding-left: 20px; }
.faq-group .fine__item:last-child { border-bottom: 0; margin-bottom: 20px; }

/* ---------- the Magnates (/magnates/) ---------- */
.magnates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 96px 64px; }
.magnate { display: flex; flex-direction: column; gap: 28px; scroll-margin-top: 32px; }
.magnate__photo { margin: 0; border: 1px solid var(--rule); background: #0b0b0b; overflow: hidden; }
.magnate__photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: center 35%; filter: brightness(0.9) contrast(1.04); transition: filter 0.3s; }
.magnate:hover .magnate__photo img { filter: none; }
.magnate__body { position: relative; padding-top: 28px; border-top: 1px solid var(--rule); }
.magnate__body::before { content: ""; position: absolute; left: 0; top: -1px; width: 56px; height: 2px; background: var(--red); }
.magnate h2 { margin: 0; font-family: var(--deco); font-weight: 400; text-transform: uppercase; font-size: clamp(22px, 2.4vw, 28px); letter-spacing: 0.22em; line-height: 1.3; }
.magnate__role { margin: 8px 0 0; font-style: italic; font-size: 19px; color: var(--text-label); }
.magnate__bio { margin: 18px 0 0; font-size: 19px; line-height: 1.65; color: var(--text-soft); }
.magnate__links { margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 6px 28px; font-size: 17px; }
@media (max-width: 860px) { .magnates { grid-template-columns: minmax(0, 1fr); gap: 80px; } }

/* ---------- the Magnates row (homepage) ---------- */
.magnate-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 24px; }
.magnate-chip { display: flex; flex-direction: column; gap: 6px; text-decoration: none; text-align: center; }
.magnate-chip__frame { display: block; overflow: hidden; aspect-ratio: 1; border: 1px solid var(--rule); margin-bottom: 10px; transition: border-color 0.3s; }
.magnate-chip img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.magnate-chip:hover { opacity: 1; }
.magnate-chip:hover .magnate-chip__frame, .magnate-chip:focus-visible .magnate-chip__frame { border-color: var(--red); }
.magnate-chip__name { font-family: var(--deco); text-transform: uppercase; font-size: 15px; letter-spacing: 0.2em; line-height: 1.35; }
.magnate-chip__co { font-style: italic; font-size: 17px; color: var(--text-muted); }
@media (max-width: 1000px) {
  .magnate-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 20px; padding-bottom: 12px; margin: 0 calc(-1 * var(--gutter)); padding-left: var(--gutter); padding-right: var(--gutter); scroll-padding-left: var(--gutter); scrollbar-width: none; }
  .magnate-row::-webkit-scrollbar { display: none; }
  .magnate-chip { flex: 0 0 min(42%, 220px); scroll-snap-align: start; }
}
