/* Förslag B – "Visafton"
   En 70-talskväll: tobaksmörk botten, krämvit text, senap och bränd orange.
   Mjuk 70-talsserif (Fraunces, SOFT-axeln) och en geometrisk sans (Jost).
   Raka hörn och vanliga rubriker: inga rundade knappar, inga små
   versaletiketter över rubrikerna. */

:root {
  --bg: #1b1612;
  --bg-2: #241d18;
  --bg-3: #2e251e;
  --cream: #f2e8d5;
  --cream-2: #e8dcc4;
  --muted: #c2b298;
  --mustard: #e2a83a;
  --orange: #cc6a2c;
  --brown: #7a4524;
  --red: #ba2828;
  --ink: #221b15;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Jost", "Futura", "Century Gothic", sans-serif;
  --wrap: 1200px;
  --gut: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--cream);
  font: 360 1.1875rem/1.68 var(--serif);
  font-variation-settings: "SOFT" 50, "opsz" 16;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.05; margin: 0; font-variation-settings: "SOFT" 100, "opsz" 144; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
figure { margin: 0; }
figcaption { font: 400 0.9375rem/1.45 var(--sans); color: var(--muted); margin-top: 0.6rem; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--mustard); color: var(--ink); padding: 0.6rem 1rem; z-index: 100; }
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--mustard); outline-offset: 3px; }

/* Links and buttons */
.link { color: var(--mustard); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
.link:hover { color: var(--cream); }
.btn {
  display: inline-block; font: 500 1.0625rem/1 var(--sans); text-decoration: none; cursor: pointer;
  background: var(--mustard); color: var(--ink); border: 2px solid var(--mustard); border-radius: 0; padding: 0.85rem 1.35rem;
}
.btn:hover { background: transparent; color: var(--mustard); }
.btn--dark { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.btn--dark:hover { background: transparent; color: var(--ink); }
.btn--red { background: var(--red); border-color: var(--red); color: #fff; }
.btn--red:hover { background: #9c2020; border-color: #9c2020; color: #fff; }
.kicker { font: italic 500 1.25rem/1.3 var(--serif); font-variation-settings: "SOFT" 100, "opsz" 36; color: var(--mustard); margin-bottom: 0.4rem; }

/* 70s stripes */
.stripes { display: grid; grid-template-rows: repeat(3, 6px); }
.stripes span:nth-child(1) { background: var(--mustard); }
.stripes span:nth-child(2) { background: var(--orange); }
.stripes span:nth-child(3) { background: var(--brown); }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid rgba(242, 232, 213, 0.1); }
.top__in { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 1rem; }
.brand { font: 600 1.5rem/1 var(--serif); font-variation-settings: "SOFT" 100, "opsz" 72; text-decoration: none; color: var(--cream); }
nav[data-nav] { display: flex; align-items: center; gap: 1.75rem; }
nav[data-nav] ul { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
nav[data-nav] ul a { font: 400 1.0625rem/1 var(--sans); text-decoration: none; color: var(--cream-2); padding: 0.5rem 0; border-bottom: 2px solid transparent; }
nav[data-nav] ul a:hover { color: var(--mustard); }
nav[data-nav] ul a[aria-current="page"] { color: var(--mustard); border-bottom-color: var(--mustard); }
nav[data-nav] .btn { padding: 0.65rem 1.05rem; font-size: 1rem; }
.navbtn { display: none; width: 46px; height: 46px; border: 1px solid rgba(242, 232, 213, 0.35); background: transparent; cursor: pointer; position: relative; }
.navbtn span:first-child, .navbtn span:first-child::before, .navbtn span:first-child::after { position: absolute; left: 12px; width: 20px; height: 2px; background: var(--cream); content: ""; }
.navbtn span:first-child { top: 21px; }
.navbtn span:first-child::before { top: -6px; left: 0; }
.navbtn span:first-child::after { top: 6px; left: 0; }

/* Hero */
.hero { position: relative; min-height: min(88vh, 820px); display: grid; align-items: end; overflow: hidden; background: #0e0b09; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; filter: sepia(0.35) contrast(1.05) brightness(0.9); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 11, 9, 0.92) 0%, rgba(14, 11, 9, 0.55) 45%, rgba(14, 11, 9, 0) 75%), linear-gradient(0deg, rgba(27, 22, 18, 1) 0%, rgba(27, 22, 18, 0) 35%); }
.hero__in { position: relative; z-index: 1; padding-block: 6rem clamp(48px, 8vw, 96px); width: 100%; }
.hero h1 { font-size: clamp(4rem, 12vw, 10.5rem); font-weight: 800; line-height: 0.86; letter-spacing: -0.03em; color: var(--cream); }
.hero__years { font: italic 400 clamp(1.5rem, 3vw, 2.25rem)/1 var(--serif); font-variation-settings: "SOFT" 100, "opsz" 72; color: var(--mustard); margin: 1.2rem 0 1rem; }
.hero__lead { font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.45; max-width: 30ch; color: var(--cream-2); }
.hero__credit { position: absolute; z-index: 1; right: var(--gut); bottom: 1rem; margin: 0; font: 400 0.8125rem/1 var(--sans); color: rgba(242, 232, 213, 0.6); }

/* Now: prize + society */
.now { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(16px, 2.5vw, 28px); padding-block: clamp(40px, 6vw, 72px) clamp(56px, 9vw, 120px); }
.now__item h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.1; margin-bottom: 1rem; }
.now__item p { font-size: 1.0625rem; line-height: 1.6; }
.now__item p:last-child { margin-bottom: 0; }
.now__item--prize { background: var(--bg-2); display: grid; grid-template-columns: 1fr 1fr; }
.now__item--prize img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 30%; }
.now__item--prize > div { padding: clamp(22px, 3vw, 36px); align-self: center; }
.now__item--society { background: var(--mustard); color: var(--ink); padding: clamp(24px, 3.5vw, 44px); display: flex; flex-direction: column; justify-content: center; }

/* Section heads */
.head { margin-bottom: clamp(28px, 4vw, 52px); }
.head :is(h1, h2) { font-size: clamp(2.5rem, 6vw, 5rem); letter-spacing: -0.02em; }
.head--row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem 2rem; flex-wrap: wrap; }

/* Story */
.story { padding-bottom: clamp(56px, 9vw, 120px); }
.story__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 6vw, 96px); align-items: start; }
.story__text { max-width: 62ch; }
.lead { font-size: clamp(1.35rem, 2.2vw, 1.65rem); line-height: 1.5; font-weight: 400; font-variation-settings: "SOFT" 100, "opsz" 48; color: var(--cream); }
.story__wide { margin: 2.2rem 0 2.4rem; }
.story__wide img, .tall img { width: 100%; filter: sepia(0.25); }
.story__aside { display: grid; gap: 2.5rem; }
.big-quote { margin: clamp(48px, 8vw, 104px) 0 0; text-align: center; }
.big-quote p { font: italic 600 clamp(2.75rem, 8vw, 7rem)/1 var(--serif); font-variation-settings: "SOFT" 100, "opsz" 144; color: var(--mustard); margin-bottom: 1rem; }
.big-quote footer { font: 400 1rem/1.4 var(--sans); color: var(--muted); }

/* Prize */
.prize { background: var(--bg-2); padding-block: clamp(56px, 9vw, 120px); }
.prize__intro { max-width: 64ch; font-size: 1.1875rem; color: var(--cream-2); margin-bottom: clamp(36px, 5vw, 64px); }
.laureate { display: grid; grid-template-columns: 460px 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.laureate figure img { width: 100%; }
.laureate h3 { font-size: clamp(2.25rem, 4.5vw, 3.75rem); margin-bottom: 1.25rem; }
.laureate blockquote { margin: 0; }
.laureate blockquote p { font-size: 1.125rem; line-height: 1.65; color: var(--cream-2); }
.alumni { list-style: none; margin: clamp(48px, 7vw, 88px) 0 0; padding: 0; border-top: 1px solid rgba(242, 232, 213, 0.15); }
.alumni li { display: grid; grid-template-columns: 200px 1fr; gap: clamp(18px, 3vw, 36px); align-items: start; padding-block: 1.6rem; border-bottom: 1px solid rgba(242, 232, 213, 0.15); }
.alumni img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; filter: sepia(0.3) saturate(0.8); }
.alumni__year { font: italic 600 1.125rem/1 var(--serif); color: var(--mustard); margin-bottom: 0.35rem; }
.alumni h3 { font-size: 1.875rem; margin-bottom: 0.5rem; }
.alumni summary { font: italic 400 1.0625rem/1.4 var(--serif); color: var(--mustard); cursor: pointer; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
.alumni summary:hover { color: var(--cream); }
.alumni details p { margin-top: 0.8rem; font-size: 1.0625rem; color: var(--cream-2); max-width: 70ch; }

/* Society – cream panel */
.society { padding-block: clamp(56px, 9vw, 120px); }
.society__card {
  background: var(--cream); color: var(--ink);
  padding: clamp(22px, 5vw, 64px);
  display: grid; grid-template-columns: 1fr 340px; gap: clamp(28px, 5vw, 64px);
}
.society__card a { color: var(--ink); }
.society__logo { width: 100%; max-width: 420px; margin: 0 0 1.75rem; }
.society__lead { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.5; font-variation-settings: "SOFT" 100, "opsz" 36; font-weight: 400; }
.society__sign { font: italic 400 1.125rem/1.5 var(--serif); color: #5a4a3a; }
.society__photo img { width: 100%; filter: sepia(0.35); }
.join { grid-column: 1 / -1; border-top: 2px dashed rgba(34, 27, 21, 0.25); padding-top: clamp(28px, 4vw, 48px); }
.join h3 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.5rem; }
.join fieldset { border: 0; margin: 0 0 2rem; padding: 0; }
.join legend { font: 700 1.375rem/1.2 var(--serif); font-variation-settings: "SOFT" 100, "opsz" 36; color: var(--ink); padding: 0; margin-bottom: 1rem; }

/* Membership tickets. The notch is a half circle bitten out of the left edge,
   drawn with its own outline so the ticket border follows the cut-out. */
.tickets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ticket {
  position: relative; cursor: pointer; display: flex; flex-direction: column; gap: 0.15rem;
  background: #fbf5e9; border: 2px solid var(--ink); border-radius: 4px; padding: 1.1rem 1.25rem 1.1rem 2.1rem;
}
.ticket::after {
  content: ""; position: absolute; top: 50%; left: -13px; width: 22px; height: 22px; margin-top: -11px;
  border: 2px solid var(--ink); border-radius: 50%; background: var(--cream);
  clip-path: inset(0 0 0 50%);
}
.ticket::before { content: ""; position: absolute; left: 1.05rem; top: 10px; bottom: 10px; border-left: 2px dotted rgba(34, 27, 21, 0.4); }
.ticket input { position: absolute; opacity: 0; }
.ticket__kind { font: 500 1rem/1.2 var(--sans); }
.ticket__price { font: 800 2.5rem/1.05 var(--serif); font-variation-settings: "SOFT" 100, "opsz" 144; }
.ticket__note { font: 400 0.9375rem/1.35 var(--sans); color: #6b5a48; }
.ticket:has(input:checked) { background-color: var(--mustard); }
.ticket:has(input:checked) .ticket__note { color: var(--ink); }
.ticket:has(input:focus-visible) { outline: 3px solid var(--orange); outline-offset: 3px; }

.fields { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 16px; }
.fields .wide { grid-column: span 2; }
.fields label, .msg label { display: flex; flex-direction: column; gap: 0.4rem; font: 500 0.9375rem/1.2 var(--sans); }
input, textarea { font: 400 1.0625rem/1.4 var(--sans); width: 100%; padding: 0.8rem 0.9rem; border-radius: 0; border: 1.5px solid rgba(34, 27, 21, 0.45); background: #fffaf0; color: var(--ink); }
input:focus, textarea:focus { outline: 3px solid var(--orange); outline-offset: 0; border-color: var(--ink); }

/* Swish: the bare QR code, large enough to scan from the screen */
.pay { display: grid; grid-template-columns: 240px 1fr; gap: clamp(20px, 3vw, 36px); align-items: center; background: #fff; border: 2px solid var(--ink); padding: 1.25rem; margin-bottom: 1.75rem; }
.pay img { width: 240px; height: 240px; }
.pay__head { font: 500 1.0625rem/1.3 var(--sans); margin-bottom: 0.2rem; }
.pay__num { font: 800 clamp(2rem, 4.5vw, 3rem)/1.1 var(--serif); font-variation-settings: "SOFT" 100, "opsz" 144; margin-bottom: 0.6rem; }
.pay__alt { font: 400 1rem/1.5 var(--sans); color: #5a4a3a; margin: 0; max-width: 46ch; }
.join__alt { font: 400 1rem/1.5 var(--sans); color: #5a4a3a; margin-top: 1.25rem; }
/* Form messages and the hidden spam trap */
.form-status { font: 500 1.0625rem/1.5 var(--sans); padding: 0.9rem 1.1rem; margin: 1rem 0 0; border-left: 4px solid; max-width: 46rem; }
.form-status--ok { background: #fff3cf; color: var(--ink); border-color: var(--mustard); }
.form-status--error { background: #fde8e4; color: #5a1a12; border-color: var(--red); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.join, .msg { position: relative; }
.board { grid-column: 1 / -1; font: 400 1.0625rem/1.6 var(--sans); color: #4a3d30; border-top: 1px solid rgba(34, 27, 21, 0.18); padding-top: 1.5rem; }
.board strong { color: var(--ink); font-weight: 600; }

/* Records: rows of five on wide screens, no sideways scrolling */
.records { padding-bottom: clamp(56px, 9vw, 120px); }
.records__note { max-width: 36ch; font: 400 1.0625rem/1.5 var(--sans); color: var(--muted); margin: 0; }
.covers { list-style: none; margin: 0 0 2.5rem; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px clamp(16px, 2vw, 28px); }
.covers a { display: block; text-decoration: none; }
.covers__art { position: relative; display: block; box-shadow: 0 18px 30px -18px rgba(0, 0, 0, 0.9); transition: transform 0.2s; }
.covers img { width: 100%; aspect-ratio: 1; object-fit: cover; }
/* Hover tells where the link goes; the album opens on Spotify in a new window */
.covers__play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 1rem;
  background: rgba(27, 22, 18, 0.82); color: var(--cream); font: 500 1.0625rem/1.3 var(--sans);
  opacity: 0; transition: opacity 0.2s;
}
.covers a:hover .covers__art, .covers a:focus-visible .covers__art { transform: translateY(-4px); }
.covers a:hover .covers__play, .covers a:focus-visible .covers__play { opacity: 1; }
@media (hover: none) { .covers__play { display: none; } }
.covers .yr { display: block; font: italic 600 1.0625rem/1 var(--serif); color: var(--mustard); margin: 0.9rem 0 0.3rem; }
.covers b { display: block; font: 600 1.0625rem/1.25 var(--serif); font-variation-settings: "SOFT" 100, "opsz" 24; }
.covers i { display: block; font: 400 0.9375rem/1.35 var(--sans); font-style: normal; color: var(--muted); margin-top: 0.25rem; }
/* Discogs note fills the empty end of the last row */
.covers__more { grid-column: span 2; align-self: center; display: flex; gap: 1rem; align-items: flex-start; max-width: 30ch; }
.covers__more a { display: inline; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
.covers__more p { margin: 0; font-size: 1.125rem; line-height: 1.5; color: var(--cream-2); }
.covers__more-icon { flex: none; width: 28px; height: 28px; color: var(--muted); margin-top: 0.15rem; }

/* Streaming services */
.listen { border-top: 1px solid rgba(242, 232, 213, 0.15); padding-top: 1.75rem; display: flex; align-items: center; gap: 1rem 1.75rem; flex-wrap: wrap; }
.listen__label { margin: 0; font: 400 1.0625rem/1.3 var(--sans); color: var(--muted); }
.listen__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.listen__list a { display: grid; place-items: center; width: 52px; height: 52px; color: var(--cream); transition: color 0.15s; }
.listen__list a:hover, .listen__list a:focus-visible { color: var(--mustard); }
.listen__list svg { width: 30px; height: 30px; }

/* Books */
.books { padding-bottom: clamp(56px, 9vw, 120px); }
.feature-quote { margin: 0 0 clamp(40px, 6vw, 72px); max-width: 30em; }
.feature-quote p { font: italic 500 clamp(1.5rem, 3vw, 2.25rem)/1.3 var(--serif); font-variation-settings: "SOFT" 100, "opsz" 72; color: var(--cream); }
.feature-quote footer { font: 400 1.0625rem/1.4 var(--sans); color: var(--muted); }
.books__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); }
.book img { height: 250px; width: auto; box-shadow: 0 20px 34px -18px rgba(0, 0, 0, 0.9); margin-bottom: 1.25rem; }
.book h3 { font-size: 1.625rem; margin-bottom: 0.4rem; }
.book__by { font: 500 1rem/1.3 var(--sans); color: var(--mustard); }
.book p { font-size: 1.0625rem; }
.book__buy a { color: var(--mustard); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.book__buy a:hover { color: var(--cream); }
.quotes { margin-top: clamp(48px, 7vw, 88px); border-top: 1px solid rgba(242, 232, 213, 0.15); padding-top: clamp(28px, 4vw, 48px); columns: 2 22rem; column-gap: clamp(32px, 5vw, 72px); }
.quotes h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); margin-bottom: 1.5rem; column-span: all; }
.quotes blockquote { margin: 0 0 1.6rem; break-inside: avoid; }
.quotes p { font: italic 400 1.25rem/1.45 var(--serif); font-variation-settings: "SOFT" 100, "opsz" 36; margin-bottom: 0.35rem; }
.quotes footer { font: 400 1rem/1.4 var(--sans); color: var(--muted); }

/* Signed copy of Lars Nylin's biography: featured on the books page, pushed on the start page */
.signed { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; background: var(--cream); color: var(--ink); padding: clamp(22px, 4vw, 56px); margin-bottom: clamp(48px, 7vw, 88px); }
.signed a:not(.btn) { color: var(--ink); }
.signed__cover img { width: 100%; box-shadow: 0 24px 40px -22px rgba(0, 0, 0, 0.7); }
.signed h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.6rem; }
.signed__by { font: 500 1rem/1.4 var(--sans); color: #6b5a48; }
.signed__text > p { font-size: 1.125rem; }
.signed__order { border: 2px solid var(--ink); background: #fbf5e9; padding: 1.25rem 1.4rem 1.4rem; margin: 1.75rem 0 1.25rem; max-width: 34rem; }
.signed__title { font: 700 1.375rem/1.2 var(--serif); font-variation-settings: "SOFT" 100, "opsz" 36; margin-bottom: 0.4rem; }
.signed__order p:not(.signed__title) { font: 400 1.0625rem/1.5 var(--sans); color: #4a3d30; margin-bottom: 1.1rem; }
.signed__shops { font-size: 1.0625rem !important; color: #4a3d30; }
.signed--push { grid-template-columns: 220px minmax(0, 1fr); align-items: center; margin-bottom: 0; }
.signed--push h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
.signed__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.5rem; margin: 1.5rem 0 0; }
.signed__more { font-size: 1.0625rem; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
.book-push { padding-bottom: clamp(56px, 9vw, 120px); }
.books__row--two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; }
@media (max-width: 760px) {
  .signed, .signed--push { grid-template-columns: 1fr; }
  .signed__cover { max-width: 220px; }
  .books__row--two { grid-template-columns: 1fr; }
}

/* Facebook teaser on the start page */
.page-start .now { padding-bottom: clamp(16px, 2.5vw, 28px); }  /* the Facebook teaser sits right under the two cards */
.fb-push { padding-bottom: clamp(56px, 9vw, 120px); }
.fb-push__in { display: flex; align-items: center; gap: 1.25rem 1.75rem; flex-wrap: wrap; padding: clamp(20px, 3vw, 32px); background: var(--bg-2); border-left: 6px solid #1877f2; color: var(--cream); text-decoration: none; }
.fb-push__icon { flex: none; width: 44px; height: 44px; color: #1877f2; }
.fb-push__text { flex: 1 1 22rem; display: flex; flex-direction: column; gap: 0.25rem; }
.fb-push__text b { font: 700 clamp(1.25rem, 2.2vw, 1.6rem)/1.2 var(--serif); font-variation-settings: "SOFT" 100, "opsz" 48; }
.fb-push__text span { font: 400 1.0625rem/1.5 var(--sans); color: var(--cream-2); }
.fb-push__btn { flex: none; }
.fb-push__in:hover .fb-push__btn { background: transparent; color: var(--mustard); }
.fb-push__in:hover b { color: var(--mustard); }

/* Contact */
.contact { background: var(--bg-2); padding-block: clamp(56px, 8vw, 104px); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.contact h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 0.9rem; }
.outlinks { margin: 0 0 2.5rem; max-width: 34ch; }
.outlinks a { color: var(--mustard); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.outlinks a:hover { color: var(--cream); }
.rights { margin: 0; font-family: var(--sans); }
.rights dt { font-size: 0.9375rem; color: var(--muted); }
.rights dd { margin: 0.15rem 0 1rem; font-size: 1.125rem; }
.msg { display: grid; gap: 14px; }
.msg h2 { margin-bottom: 0.2rem; }
.msg input, .msg textarea { background: var(--bg-3); color: var(--cream); border-color: rgba(242, 232, 213, 0.25); }
.msg .btn { justify-self: start; }

/* Membership call to action: a flat mustard band */
.cta { background: var(--mustard); color: var(--ink); }
.cta__in { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem 2.5rem; flex-wrap: wrap; padding-block: clamp(28px, 4vw, 44px); }
.cta__text { font: 700 clamp(1.4rem, 2.6vw, 2rem)/1.2 var(--serif); font-variation-settings: "SOFT" 100, "opsz" 72; margin: 0; max-width: 32ch; }

/* Footer */
.foot { padding-bottom: 5rem; }
.foot__in { padding-top: 2.5rem; display: grid; gap: 0.4rem; justify-items: center; text-align: center; }
.foot p { margin: 0; font-family: var(--sans); font-size: 1rem; color: var(--cream-2); }
.foot .foot__name { font: italic 600 2rem/1 var(--serif); font-variation-settings: "SOFT" 100, "opsz" 72; color: var(--cream); margin-bottom: 0.3rem; }
.foot__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 1.6rem; margin-top: 1.25rem; }
.foot__nav a { font: 400 1.0625rem/1.4 var(--sans); text-decoration: none; color: var(--cream-2); }
.foot__nav a:hover { color: var(--mustard); }
.foot .foot__small { font-size: 0.875rem; color: var(--muted); margin-top: 1.25rem; }
.foot .foot__made { display: flex; align-items: center; gap: 0.45rem; font-size: 0.875rem; color: var(--muted); margin-top: 0.75rem; }
.foot__made img { height: 14px; width: auto; opacity: 0.75; }
.foot__made a:hover img { opacity: 1; }

/* Start page */
.intro-teaser { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(32px, 6vw, 96px); align-items: center; padding-bottom: clamp(56px, 9vw, 120px); }
.intro-teaser h2 { font-size: clamp(2.25rem, 5vw, 4rem); margin-bottom: 1.5rem; }
.intro-teaser .lead { max-width: 34ch; margin-bottom: 1.5rem; }
.intro-teaser__photo img { width: 100%; filter: sepia(0.25); }

/* Subpages start right under the header */
.page-sub .story, .page-sub .books, .page-sub .records { padding-top: clamp(48px, 7vw, 96px); }

/* Proposal badge (demo only) */
.proposal { position: fixed; left: 12px; bottom: 12px; z-index: 60; font: 500 0.875rem/1 var(--sans); background: var(--cream); color: var(--ink); padding: 0.65rem 0.95rem; text-decoration: none; box-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.6); }
.proposal:hover { background: var(--mustard); }

/* Responsive */
@media (max-width: 1080px) {
  nav[data-nav] ul { gap: 1.1rem; }
  .now { grid-template-columns: 1fr; }
  .laureate { grid-template-columns: 1fr 1fr; }
  .society__card { grid-template-columns: 1fr 260px; }
  .covers { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .covers__more { grid-column: span 3; }
}
@media (max-width: 960px) {
  .navbtn { display: block; }
  nav[data-nav] { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); padding: 0.5rem var(--gut) 1.5rem; border-bottom: 1px solid rgba(242, 232, 213, 0.12); }
  .nav-open nav[data-nav] { display: flex; }
  nav[data-nav] ul { flex-direction: column; gap: 0; }
  nav[data-nav] ul a { display: block; padding: 1rem 0; font-size: 1.125rem; border-bottom: 1px solid rgba(242, 232, 213, 0.1); }
  nav[data-nav] ul a[aria-current="page"] { border-bottom-color: var(--mustard); }
  nav[data-nav] .btn { margin-top: 1.25rem; text-align: center; }
  .story__grid { grid-template-columns: 1fr; }
  .intro-teaser { grid-template-columns: 1fr; }
  .intro-teaser__photo { max-width: 340px; }
  .story__aside { grid-template-columns: 1fr 1fr; align-items: start; }
  .laureate { grid-template-columns: 1fr; }
  .society__card { grid-template-columns: 1fr; }
  .society__photo { max-width: 320px; }
  .fields { grid-template-columns: 1fr 1fr; }
  .books__row { grid-template-columns: 1fr; }
  .book { display: grid; grid-template-columns: 140px 1fr; column-gap: 1.25rem; }
  .book img { width: 140px; height: auto; grid-row: span 4; }
  .contact__grid { grid-template-columns: 1fr; }
  .covers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .covers__more { grid-column: span 2; }
}
@media (max-width: 640px) {
  body { font-size: 1.125rem; }
  .hero { min-height: 82vh; }
  .hero__img { object-position: 72% 30%; }
  .hero::after { background: linear-gradient(0deg, rgba(27, 22, 18, 1) 0%, rgba(14, 11, 9, 0.75) 45%, rgba(14, 11, 9, 0.15) 100%); }
  .now__item--prize { grid-template-columns: 1fr; }
  .now__item--prize img { aspect-ratio: 16 / 10; }
  .story__aside { grid-template-columns: 1fr; }
  .tickets { grid-template-columns: 1fr; }
  .fields { grid-template-columns: 1fr; }
  .fields .wide { grid-column: auto; }
  .pay { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .pay img { width: 220px; height: 220px; }
  .alumni li { grid-template-columns: 1fr; }
  .covers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .covers__more { grid-column: span 1; }
  .book { grid-template-columns: 100px 1fr; }
  .book img { width: 100px; height: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
