/* Club Olas. Olas brand kit V1: Bone, Sand, Fog, Basalt, one Cobalt cue. Fraunces (display) + DM Sans (body).
   "Warm light. Wide air. Earned stillness." Details and reasoning: DESIGN.md. */
:root {
  --bone: #F4EFE8; --sand: #E5DCCD; --fog: #C9C2B8; --basalt: #1A1D24; --cobalt: #1B45D7;
  --bg: var(--bone); --panel: var(--sand); --ink: var(--basalt); --muted: #5d5a55; --line: #d9d1c4; --accent: var(--cobalt);
  --band-bg: var(--basalt); --band-fg: var(--bone);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  /* consent banner (injected by the engine) */
  --consent-bg: var(--basalt); --consent-fg: var(--bone); --consent-line: #3a3e47; --consent-accent: #8fa6ff;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #15171d; --panel: #1f222a; --ink: #EEE8DF; --muted: #a9a39a; --line: #30333b; --accent: #8fa6ff;
    --band-bg: #0f1115; --band-fg: #EEE8DF; color-scheme: dark; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--fog); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; z-index: 9; }
.skip:focus { left: 8px; }
.vh, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* small tracked caps, as on the brand kit slides */
.label, .kicker { font: 500 12px/1.2 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin: 0; }
.kicker { color: var(--accent); text-decoration: none; }

/* masthead */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding-top: 22px; padding-bottom: 14px; }
.top .edition { font: 500 11px/1.2 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.mark { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--ink); line-height: 1; }
.mark .club { font: 500 11px/1 var(--sans); letter-spacing: .5em; text-transform: uppercase; margin: 0 0 4px .5em; }
.mark .olas { font: 300 46px/1 var(--serif); letter-spacing: -.04em; }
.mark svg { width: 74px; height: 10px; margin-top: 3px; }
.mark:hover { color: var(--ink); }
.top .sub { justify-self: end; font: 500 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--ink); padding: 11px 16px; border-radius: 999px; }
.top .sub:hover { background: var(--ink); color: var(--bg); }
.nav { border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 34px; padding-top: 12px; padding-bottom: 12px; }
.nav a { font: 500 12px/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; text-decoration: none; color: var(--muted); }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.nav a[aria-current] { box-shadow: inset 0 -1px 0 var(--accent); }

/* headings */
h1, h2, h3 { font-family: var(--serif); font-weight: 300; letter-spacing: -.02em; line-height: 1.12; margin: 0; }
h1 { font-size: clamp(38px, 6vw, 68px); letter-spacing: -.04em; }
h2 { font-size: clamp(28px, 3.4vw, 40px); }
h3 { font-size: 23px; line-height: 1.2; }
h3 a { text-decoration: none; }

/* the one sentence (GEO.md), above the lead */
.standfirst { margin-top: clamp(22px, 3vw, 34px); margin-bottom: 0; max-width: 46em; color: var(--muted); font-size: 16px; line-height: 1.5; }

/* opening (no editions yet) */
.open { padding: clamp(56px, 9vw, 120px) 0 clamp(48px, 7vw, 96px); text-align: center; }
.open h1 { max-width: 15ch; margin: 18px auto 0; }
.open h1 em { font-style: italic; }
.open p.intro { max-width: 34em; margin: 26px auto 0; color: var(--muted); font-size: 19px; }
.wave { display: block; margin: 34px auto 0; width: 132px; height: 16px; }

/* lead */
.lead { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 48px; padding: 48px 0 56px; border-bottom: 1px solid var(--line); }
.lead-main .ph { margin-bottom: 22px; }
.lead-main h2 { font-size: clamp(32px, 4.4vw, 54px); letter-spacing: -.035em; margin-top: 12px; }
.lead-main .dek { font-size: 19px; color: var(--muted); margin: 14px 0 0; max-width: 36em; }
.meta { font-size: 13px; color: var(--muted); margin: 14px 0 0; letter-spacing: .02em; }
.stories { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--line); }
.stories li { border-bottom: 1px solid var(--line); }
.stories a { display: flex; gap: 14px; padding: 11px 0; text-decoration: none; font-size: 15px; }
.stories b { font: 400 13px/1.9 var(--serif); color: var(--accent); min-width: 1.4em; }
.side h2.label { margin-bottom: 18px; }
.side ol { list-style: none; margin: 0; padding: 0; }
.side li { padding: 0 0 22px; margin: 0 0 22px; border-bottom: 1px solid var(--line); }
.side li:last-child { border: 0; }
.side h3 { margin-top: 8px; }
.side p.dek { margin: 8px 0 0; font-size: 15px; color: var(--muted); }

/* picture frames */
.ph { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--panel); border-radius: 6px; }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
a.ph:hover img { transform: scale(1.02); }
.ph .none { display: grid; place-items: center; width: 100%; height: 100%; }
.ph .none svg { width: 54px; height: 54px; opacity: .8; }

/* sections */
.sec { padding: 64px 0; }
.sec + .sec { padding-top: 0; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 28px; }
.sec-head h2 { margin-top: 8px; }
.sec-head a { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--muted); }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.tiles a { display: flex; flex-direction: column; justify-content: space-between; min-height: 210px; padding: 22px 20px; background: var(--panel); border-radius: 6px; text-decoration: none; transition: background .3s; }
.tiles a:hover { background: var(--line); color: var(--ink); }
.tiles h3 { font-size: 26px; }
.tiles p { font-size: 14px; color: var(--muted); margin: 10px 0 0; }
.tiles .latest { font-size: 13px; color: var(--ink); margin-top: 18px; border-top: 1px solid var(--fog); padding-top: 12px; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.card h3 { margin-top: 14px; }
.card .kicker { display: inline-block; margin-top: 18px; }
.card .kicker + h3 { margin-top: 8px; }
.card p { margin: 8px 0 0; font-size: 15px; color: var(--muted); }
.empty { color: var(--muted); font-size: 17px; max-width: 36em; }

/* sign-up band: the reversed (Basalt) frame from the brand kit */
.band { background: var(--band-bg); color: var(--band-fg); padding: 64px 0; margin-top: 24px; }
.band .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.band h2 { color: var(--band-fg); }
.band p { margin: 12px 0 0; color: #b9b3aa; }
.band form { display: flex; gap: 10px; flex-wrap: wrap; }
.band input[type=email] { flex: 1 1 220px; font: inherit; font-size: 16px; padding: 14px 16px; border-radius: 999px; border: 1px solid #4a4e58; background: transparent; color: var(--band-fg); }
.band input::placeholder { color: #8d887f; }
button, .btn { font: 500 13px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; border: 0; border-radius: 999px; padding: 15px 22px; background: var(--cobalt); color: #fff; cursor: pointer; }
button:hover, .btn:hover { background: #2D4EF5; }

/* article */
.art { max-width: 760px; margin: 0 auto; padding: 56px 24px 64px; }
.art-head { text-align: center; }
.art-head h1 { font-size: clamp(36px, 5.6vw, 60px); margin-top: 16px; }
.art-head .dek { font-size: 20px; color: var(--muted); margin: 18px auto 0; max-width: 32em; }
.byline { font-size: 13px; color: var(--muted); margin: 18px 0 0; letter-spacing: .04em; }
.art-fig { margin: 40px -24px 0; }
.art-fig img { width: 100%; border-radius: 6px; }
.art-fig figcaption { font-size: 12px; color: var(--muted); margin: 10px 24px 0; }
.prose { margin-top: 40px; font-size: 18px; line-height: 1.75; }
.prose > p:first-child::first-letter { font: 300 4.1em/.8 var(--serif); float: left; margin: .08em .1em 0 0; color: var(--accent); }
.prose h2 { font-size: 32px; margin: 52px 0 14px; scroll-margin-top: 20px; }
.prose h3 { font-size: 22px; margin: 34px 0 10px; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.15em; }
.prose a { text-decoration-color: var(--accent); }
.prose blockquote { margin: 32px 0; padding: 0 0 0 22px; border-left: 2px solid var(--accent); font: 300 italic 24px/1.45 var(--serif); }
.prose img { border-radius: 6px; margin: 28px 0 8px; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 40px 0; }
.box { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; }
.box h2 { font: 500 12px/1.2 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.box ol, .box ul { margin: 0; padding-left: 20px; color: var(--muted); }
.box li { margin: 0 0 6px; }
.disclosure { font-size: 12px; color: var(--muted); margin-top: 16px; }

/* collection / about */
.col-head { text-align: center; padding: 64px 0 40px; border-bottom: 1px solid var(--line); margin-bottom: 48px; }
.col-head h1 { margin-top: 14px; }
.col-head p { color: var(--muted); font-size: 18px; margin: 14px auto 0; max-width: 32em; }
.about .prose > p:first-child::first-letter { font: inherit; float: none; margin: 0; color: inherit; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 48px 0 56px; margin-top: 0; font-size: 14px; color: var(--muted); text-align: center; }
.foot .mark { margin-bottom: 18px; }
.foot .mark .olas { font-size: 34px; }
.foot p, .foot nav { margin: 8px 0 0; }
.foot a { color: var(--ink); }
.foot .mini { margin: 22px auto 0; max-width: 460px; }
.foot .mini label { display: block; font-size: 13px; margin-bottom: 8px; }
.foot .mini div { display: flex; gap: 8px; }
.foot .mini input[type=email] { flex: 1; font: inherit; padding: 11px 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink); }
.foot .mini .btn { padding: 12px 18px; }
.foot .buzzz { margin-top: 18px; letter-spacing: .2em; font-size: 12px; }

@media (max-width: 960px) {
  .lead { grid-template-columns: 1fr; gap: 36px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .top .wrap { grid-template-columns: 1fr auto; }
  .top .edition { display: none; }
  .mark .olas { font-size: 38px; }
  .top .sub { padding: 9px 12px; font-size: 11px; letter-spacing: .14em; }
  .top .wrap > .mark { justify-self: start; align-items: flex-start; }
  .mark .club { margin-left: 0; }
  .nav .wrap { justify-content: flex-start; gap: 6px 20px; overflow-x: auto; flex-wrap: nowrap; }
  .nav a { white-space: nowrap; }
  .tiles, .cards { grid-template-columns: 1fr; }
  .tiles a { min-height: 0; }
  .art-fig { margin-left: -16px; margin-right: -16px; }
  .wrap { padding: 0 16px; }
  .art { padding-left: 16px; padding-right: 16px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
/* the wave follows the accent, so it stays visible on the dark (reversed) palette */
.mark svg path, .wave path, .ph .none path { stroke: var(--accent); }
.band .mark svg path { stroke: #8fa6ff; }
.nav .wrap { scrollbar-width: none; }
.nav .wrap::-webkit-scrollbar { display: none; }
