/* The Seasonaire — the magazine. Fraunces (soft, editorial, opsz) + Karla (wide humanist sans).
   Star: the two-tone letterform — every headline numeral and the masthead S are split at a horizon:
   snow above, sea below. The seasonaire's year in one glyph. */
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/fonts/fraunces-latin-opsz-normal.woff2') format('woff2-variations'); }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 100 900; font-display: swap; src: url('/fonts/fraunces-latin-opsz-italic.woff2') format('woff2-variations'); }
@font-face { font-family: 'Karla'; font-style: normal; font-weight: 200 800; font-display: swap; src: url('/fonts/karla-latin-wght-normal.woff2') format('woff2-variations'); }
@font-face { font-family: 'Karla'; font-style: italic; font-weight: 200 800; font-display: swap; src: url('/fonts/karla-latin-wght-italic.woff2') format('woff2-variations'); }

:root {
  --paper: #f6f1e8; --paper-2: #ece5d8; --ink: #1c1a17;
  --ink-87: rgba(28,26,23,.87); --ink-70: rgba(28,26,23,.7); --ink-50: rgba(28,26,23,.5); --ink-20: rgba(28,26,23,.18);
  --snow: #ffffff; --sea: #2c5f8d; --sea-deep: #1c3f60; --sun: #d9a441;
  --font-head: 'Fraunces', Georgia, serif; --font-body: 'Karla', system-ui, sans-serif;
  --max: 1120px; --gutter: 20px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink-87); font-family: var(--font-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; position: relative; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .16; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); position: relative; z-index: 1; }
h1, h2, h3, .h1, .h2, .h3 { font-family: var(--font-head); font-weight: 500; line-height: 1.02; letter-spacing: -.02em; margin: 0; color: var(--ink); font-variation-settings: 'opsz' 144, 'SOFT' 60, 'WONK' 1; }
h1 { font-size: clamp(44px, 7vw, 92px); } h2 { font-size: clamp(30px, 4vw, 52px); } h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; }
em, .ital { font-style: italic; }
.eyebrow { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--ink-50); }
.muted { color: var(--ink-50); }

/* the star: two-tone glyph */
.split { position: relative; display: inline-block; color: var(--sea); }
.split::before { content: attr(data-t); position: absolute; inset: 0; color: var(--ink); clip-path: inset(0 0 48% 0); }
.split-rule { height: 3px; background: linear-gradient(90deg, var(--ink) 0 50%, var(--sea) 50% 100%); border: 0; margin: 0; }
.numeral { font-family: var(--font-head); font-weight: 600; font-size: 64px; line-height: 1; letter-spacing: -.04em; font-variation-settings: 'opsz' 144; }

/* masthead */
.top { border-bottom: 1px solid var(--ink); }
.top .wrap { display: flex; justify-content: space-between; align-items: center; height: 44px; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--ink-70); }
.top nav { display: flex; gap: 22px; }
.top nav a:hover { color: var(--sea); }
.masthead { text-align: center; padding: 34px 0 22px; border-bottom: 3px double var(--ink); }
.masthead .name { font-family: var(--font-head); font-weight: 600; font-size: clamp(56px, 11vw, 150px); line-height: .9; letter-spacing: -.045em; color: var(--ink); font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1; }
.masthead .strap { margin-top: 16px; display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--ink-70); }

/* lead */
.lead { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; padding: 48px 0; align-items: center; border-bottom: 1px solid var(--ink-20); }
.lead h1 { margin: 10px 0 18px; }
.lead p { font-size: 19px; color: var(--ink-70); margin: 0 0 22px; max-width: 54ch; }
.lead-art { position: relative; aspect-ratio: 4/5; background: var(--snow); border: 1px solid var(--ink); overflow: hidden; }
.lead-art svg { width: 100%; height: 100%; display: block; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; background: var(--ink); color: var(--paper); font-weight: 700; font-size: 15px; border: 1px solid var(--ink); cursor: pointer; transition: background .15s, color .15s; }
.btn:hover { background: var(--sea); border-color: var(--sea); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }

/* article grid */
.section { padding: 48px 0; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 26px; border-bottom: 1px solid var(--ink); padding-bottom: 10px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-left: 1px solid var(--ink-20); }
.story { padding: 22px 22px 26px; border-right: 1px solid var(--ink-20); border-bottom: 1px solid var(--ink-20); display: flex; flex-direction: column; gap: 10px; transition: background .15s; }
.story:hover { background: var(--snow); }
.story .numeral { color: var(--sea); }
.story .numeral::first-letter { color: var(--ink); }
.story h3 { margin-top: 4px; }
.story p { margin: 0; color: var(--ink-70); font-size: 15.5px; }
.story .meta { margin-top: auto; padding-top: 12px; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--ink-50); }

/* newsletter */
.letter { margin: 20px 0 60px; padding: 40px; border: 1px solid var(--ink); background: var(--snow); display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; position: relative; }
.letter::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--ink) 0 50%, var(--sea) 50% 100%); }
.letter h2 { margin-bottom: 10px; }
.letter p { color: var(--ink-70); margin: 0; }
.form { display: grid; gap: 10px; }
.form input, .form select { font: inherit; padding: 12px 14px; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); width: 100%; outline: none; }
.form input:focus { border-color: var(--sea); box-shadow: inset 0 0 0 1px var(--sea); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form .fine { font-size: 12.5px; color: var(--ink-50); margin: 0; }
.form .ok { padding: 14px; border: 1px solid var(--sea); color: var(--ink); background: var(--paper); }
.form .err { color: #b23a2a; font-size: 13.5px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; }

/* article page */
.article-head { padding: 56px 0 30px; border-bottom: 1px solid var(--ink); text-align: center; }
.article-head .numeral { font-size: clamp(60px, 9vw, 110px); color: var(--sea); }
.article-head .numeral::first-letter { color: var(--ink); }
.article-head h1 { max-width: 20ch; margin: 14px auto 16px; font-size: clamp(38px, 5.6vw, 72px); }
.article-head .dek { font-size: 20px; color: var(--ink-70); max-width: 56ch; margin: 0 auto; font-style: italic; font-family: var(--font-head); font-variation-settings: 'opsz' 24; }
.article-head .meta { margin-top: 22px; }
.prose { max-width: 68ch; margin: 44px auto 70px; font-size: 18.5px; line-height: 1.7; }
.prose p { margin: 0 0 22px; }
.prose p:first-of-type::first-letter { font-family: var(--font-head); font-size: 3.6em; float: left; line-height: .8; padding: 6px 10px 0 0; color: var(--sea); font-weight: 600; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); margin: 40px 0 12px; }
.prose ul { padding-left: 1.2em; } .prose li { margin-bottom: 8px; }
.prose blockquote { margin: 30px 0; padding: 0 0 0 22px; border-left: 3px solid var(--sea); font-family: var(--font-head); font-size: 26px; line-height: 1.25; color: var(--ink); font-variation-settings: 'opsz' 60; }
.prose .cta { margin: 36px 0 0; padding: 22px; border: 1px solid var(--ink); background: var(--snow); }
.prose .cta b { font-family: var(--font-head); font-size: 22px; display: block; margin-bottom: 6px; font-weight: 500; }
.next { border-top: 1px solid var(--ink); padding: 30px 0 60px; }
.next .grid { grid-template-columns: repeat(2, 1fr); }

.footer { border-top: 3px double var(--ink); padding: 34px 0 46px; font-size: 13.5px; color: var(--ink-50); }
.footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer a:hover { color: var(--sea); }

@media (max-width: 860px) {
  .lead, .letter { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr 1fr; }
  .lead-art { aspect-ratio: 16/10; }
}
@media (max-width: 600px) {
  .top nav { gap: 12px; } .top .wrap { font-size: 11px; }
  .grid, .next .grid { grid-template-columns: 1fr; }
  .letter { padding: 24px; }
  .form .row { grid-template-columns: 1fr; }
  .masthead .strap { gap: 10px; font-size: 11px; }
}
