/* ==========================================================
   LUCENT — main stylesheet
   ========================================================== */

:root {
  --ink: #1c1c1c;
  --ink-soft: #555;
  --line: #d9d9d9;
  --paper: #ffffff;
  --paper-warm: #f7f5f1;
  --sage: #d5ddd0;
  --sand: #e8dccb;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --max: 1090px;
  --accent: #7c9a7e;
  --muted: #9a958c;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid #e6e6e6;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 75px;
}

.logo {
  font-family: var(--serif);
  font-size: 30px;
  letter-spacing: 0.32em;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}

.main-nav a:hover,
.main-nav a.active { border-bottom-color: var(--accent); }

.main-nav a.btn-outline {
  border: 1px solid var(--ink);
  padding: 9px 20px;
}
.main-nav a.btn-outline:hover { background: var(--ink); color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  margin: 5px 0;
}

/* ---------- Hero (swap image each issue) ---------- */
.hero {
  position: relative;
  min-height: 553px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background-size: cover;
  background-position: center 30%;
}

.hero::before {             /* soft grey veil for legible text */
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(70, 70, 80, 0.32);
}

.hero-content { position: relative; padding: 40px 20px; }

.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 9vw, 96px);
  letter-spacing: 0.35em;
  margin: 0 -0.35em 10px 0;   /* offsets trailing letter-space so it centres */
  line-height: 1.1;
}

.tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(16px, 2vw, 19px);
  margin: 0 0 36px;
}

.photo-credit {
  position: absolute;
  right: 14px;
  bottom: 10px;
  font-size: 11px;
  opacity: .85;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 32px;
  border: 1px solid var(--ink);
  transition: background .2s, color .2s;
}
.btn:hover { background: #fff; color: var(--ink); }

.btn-light { background: transparent; color: var(--ink); }
.btn-light:hover { background: var(--ink); color: #fff; }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-alt { background: var(--paper-warm); }

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.5vw, 34px);
  text-align: center;
  margin: 0;
}
.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  background: var(--accent);
  margin: 18px auto 0;
}

.subhead {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  margin: 60px 0 24px;
}

/* ---------- Article cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.card { text-decoration: none; display: block; }

.card-img {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--sage), var(--sand));
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.card:nth-child(2) .card-img { background: linear-gradient(135deg, #e0d4c0, #b9cdb0); }
.card:nth-child(3) .card-img { background: linear-gradient(135deg, #cfdcc9, #dccfc0); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-img img { transform: scale(1.03); }

.card .card-meta {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 18px 0 6px;
}
.card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.3;
  margin: 0 0 8px;
}
.card p:not(.card-meta) { font-size: 14px; color: var(--ink-soft); margin: 0; }

.card p.card-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 12px;
}
.card p.card-text { font-size: 15px; color: #444; margin: 0 0 18px; line-height: 1.55; }
.card p.read-more {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: #4d5b4e;
  margin: 0;
}
.card:hover .read-more { text-decoration: underline; }
.card h3 { margin-top: 26px; }

/* Themed rows of four */
.theme-row + .theme-row { margin-top: 70px; }
.theme-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  margin: 0 0 32px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e3e3e3;
}
.card-grid.four { grid-template-columns: repeat(4, 1fr); gap: 24px; }
.four .card h3 { font-size: 18px; margin-top: 24px; margin-bottom: 4px; }
.four p.card-sub { font-size: 12.5px; }
.four .card-img { aspect-ratio: 254 / 176; }
.g1 { background: linear-gradient(135deg, #d8dfd2, #e8d8c4 50%, #cfdcc8) !important; }
.g2 { background: linear-gradient(135deg, #dcd4c0, #b0c9b0 50%, #e8d8c4) !important; }
.g3 { background: linear-gradient(135deg, #cfdac6, #e3d6c2 55%, #a9c0d8) !important; }
.s1 { background: linear-gradient(135deg, #b2c9b0, #cbd6bc 50%, #d8dfd2) !important; }
.s2 { background: linear-gradient(135deg, #d1dac7, #d4c6a4 50%, #bccab0) !important; }
.s3 { background: linear-gradient(135deg, #a8bfaa, #c7d3bf 50%, #d9d2c2) !important; }
.s4 { background: linear-gradient(135deg, #c9d7c2, #b8c1a6 50%, #d1dac7) !important; }
.l1 { background: linear-gradient(135deg, #d8cab4, #c8b898 50%, #e0d5c2) !important; }
.l2 { background: linear-gradient(135deg, #d2c2a4, #bfae94 50%, #ddd0bb) !important; }
.l3 { background: linear-gradient(135deg, #cbbba0, #d8cbb2 50%, #c4b49a) !important; }
.l4 { background: linear-gradient(135deg, #cdbfa9, #c0b09a 50%, #e0d6c6) !important; }

/* ---------- Current issue ---------- */
.issue {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.issue-cover {
  aspect-ratio: 3 / 4;
  background-size: cover;
  background-position: 35% center;
  box-shadow: 0 20px 40px rgba(0,0,0,.12);
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 10px;
}
.issue h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.15;
  margin: 0 0 20px;
}
.toc { list-style: none; padding: 0; margin: 24px 0 32px; }
.toc li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.toc li span:first-child { font-family: var(--serif); font-size: 17px; }
.toc li span:last-child { color: var(--ink-soft); white-space: nowrap; }

/* ---------- Subscribe band ---------- */
.subscribe { text-align: center; }
.subscribe p { max-width: 520px; margin: 24px auto 30px; color: var(--ink-soft); }
.subscribe-form {
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: 460px;
  margin: 0 auto;
}
.subscribe-form input {
  flex: 1;
  min-width: 0;
  font: inherit;
  font-size: 14px;
  padding: 13px 16px;
  border: 1px solid var(--ink);
  border-right: 0;
  background: #fff;
}

/* ---------- Community partners (home) ---------- */
.partners { text-align: center; }
.rule-label {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
}
.rule-label::before, .rule-label::after { content: ""; flex: 1; height: 1px; background: #c9d4c6; }
.partners-intro { font-family: var(--serif); font-style: italic; color: var(--muted); margin: 0 0 44px; }
.partner-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  gap: 14px 24px;
}
.partner-list li {
  font-family: var(--serif);
  font-size: 21px;
  color: #3d3d3d;
  padding: 0 28px;
  position: relative;
}

.partner-list a { text-decoration: none; }
.partner-list a:hover { color: var(--accent); }
.text-link {
  font-size: 15px;
  letter-spacing: 0.03em;
  color: #3f4a40;
  text-underline-offset: 4px;
  text-decoration-color: var(--accent);
}
.small-note { font-size: 13px; color: var(--muted); margin: 26px 0 0; }
.small-note a { color: var(--ink-soft); text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--paper-warm);
  border-top: 1px solid #e6e2da;
  padding: 70px 0 30px;
  font-size: 14px;
  color: var(--ink-soft);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .logo { font-size: 24px; color: var(--ink); display: inline-block; }
.footer-brand .sub {
  display: block;
  font-size: 10px;
  letter-spacing: 0.36em;
  color: var(--accent);
  margin: 6px 0 16px;
}
.footer-brand p { font-family: var(--serif); font-style: italic; margin: 0; max-width: 220px; line-height: 1.5; }
.footer-col h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 4px 0 18px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: 0 0 9px; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 56px;
  padding-top: 26px;
  border-top: 1px solid #e0dbd2;
  font-size: 13px;
  color: var(--muted);
}
.social { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #cfd8cc;
  border-radius: 50%;
  color: #4d5b4e;
  transition: background .2s, color .2s, border-color .2s;
}
.social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.social svg { width: 16px; height: 16px; fill: currentColor; }

/* ---------- Inner page header ---------- */
.page-hero {
  background: linear-gradient(180deg, #f8f5f0 0%, #eceee7 100%);
  text-align: center;
  padding: 90px 20px 80px;
}
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 5vw, 56px);
  letter-spacing: 0.12em;
  line-height: 1.2;
  margin: 0 0 18px;
}
.page-hero p { margin: 0; color: #8a877f; letter-spacing: 0.06em; font-size: 15px; }
.narrow { max-width: 760px; margin: 0 auto; padding: 0 20px; }

/* ---------- Directory ---------- */
.dir-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
}
.jump { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.jump a { text-decoration: none; color: var(--ink-soft); border-bottom: 1px solid transparent; }
.jump a:hover { border-bottom-color: var(--accent); }
.search {
  font: inherit;
  font-size: 14px;
  padding: 10px 14px;
  border: 1px solid #d6d6d0;
  min-width: 240px;
  background: #fff;
}
.search:focus { outline: none; border-color: var(--accent); }
.dir-cat { margin-bottom: 64px; scroll-margin-top: 100px; }
.cat-label {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8a877f;
  padding-bottom: 14px;
  border-bottom: 1px solid #e3e3e3;
  margin: 0 0 12px;
}
.listing {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 24px;
  padding: 20px 0;
  border-bottom: 1px solid #f0efeb;
}
.listing h3 { font-family: var(--serif); font-weight: 400; font-size: 21px; margin: 0; }
.listing .desc { grid-column: 1; font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--ink-soft); margin: 0; }
.listing .where { grid-column: 1; font-size: 13px; color: var(--muted); margin: 4px 0 0; }
.listing .visit {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: #4d5b4e;
  white-space: nowrap;
}
.listing .visit:hover { color: var(--accent); }
.badge {
  display: inline-block;
  vertical-align: middle;
  margin-left: 10px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid #c9d4c6;
  padding: 2px 7px;
}
.no-results { text-align: center; color: var(--muted); font-style: italic; font-family: var(--serif); display: none; }

.cta-band {
  text-align: center;
  background: var(--paper-warm);
  padding: 70px 20px;
}
.cta-band h2 { font-family: var(--serif); font-weight: 400; font-size: 30px; margin: 0 0 12px; }
.cta-band p { color: var(--ink-soft); max-width: 520px; margin: 0 auto 28px; }

/* ---------- Calendar ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 56px; }
.filter {
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: #fff;
  color: var(--ink-soft);
  border: 1px solid #d9d9d4;
  padding: 9px 20px;
  cursor: pointer;
  transition: all .2s;
}
.filter:hover { border-color: var(--accent); color: var(--ink); }
.filter.active { background: #d5e0d3; border-color: #a9bca7; color: #33443a; }
.event {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 30px;
  padding: 34px 0;
  border-bottom: 1px solid #e8e8e4;
}
.event[hidden] { display: none; }
.date-block {
  text-align: center;
  border: 1px solid #d6dfd3;
  padding: 12px 6px;
  align-self: start;
  background: #fbfaf7;
}
.date-block .mo { display: block; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.date-block .day { display: block; font-family: var(--serif); font-size: 30px; line-height: 1.15; }
.date-block .yr { display: block; font-size: 11px; color: var(--muted); }
.event .when { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #8a877f; margin: 0 0 6px; }
.event .tag { color: var(--accent); }
.event h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; margin: 0 0 10px; }
.event p.blurb { margin: 0 0 12px; color: #444; }
.event .loc { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.event .loc svg { width: 13px; height: 13px; fill: var(--accent); }
.season-head {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 15px;
  font-style: italic;
  color: var(--accent);
  margin: 40px 0 0;
}
.season-head[hidden] { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav ul { gap: 22px; }
  .main-nav a { font-size: 11px; letter-spacing: 0.12em; }
}

@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 75px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid #e6e6e6;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 12px 0 24px; }
  .main-nav li { width: 100%; text-align: center; }
  .main-nav a { display: inline-block; padding: 12px 0; font-size: 12px; }
  .main-nav a.btn-outline { margin-top: 10px; }

  .card-grid, .card-grid.four { grid-template-columns: 1fr 1fr; }
  .issue { grid-template-columns: 1fr; gap: 40px; }
  .issue-cover { max-width: 380px; width: 100%; margin: 0 auto; }
}

@media (max-width: 600px) {
  .logo { font-size: 24px; }
  .hero { min-height: 440px; }
  .section { padding: 70px 0; }
  .card-grid, .card-grid.four { grid-template-columns: 1fr; }
  .issue h2 { font-size: 32px; }
  .subscribe-form { flex-direction: column; gap: 10px; }
  .subscribe-form input { border-right: 1px solid var(--ink); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .partner-list { flex-direction: column; }
  .partner-list li + li::before { display: none; }
  .event { grid-template-columns: 1fr; gap: 14px; }
  .date-block { display: none; }
  .listing { grid-template-columns: 1fr; }
  .listing .visit { grid-column: 1; grid-row: auto; margin-top: 8px; }
  .search { min-width: 0; width: 100%; }
}

/* ---------- Advertise page ---------- */
.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  margin: 0 0 50px;
  padding: 26px 0;
  background: var(--paper-warm);
  text-align: center;
}
.stat-band li + li { border-left: 1px solid #e4dfd6; }
.stat-band .n { display: block; font-family: var(--serif); font-size: 30px; }
.stat-band .l { display: block; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.lead { font-family: var(--serif); font-size: 19px; line-height: 1.65; color: #3b3b3b; margin: 0 0 44px; }
.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.note-box { background: var(--paper-warm); padding: 30px; }
.note-box p { margin: 0 0 12px; font-size: 15px; color: #444; }
.note-box p:last-child { margin-bottom: 0; }
.note-box .rule-label { margin-bottom: 14px; }
.note-box .rule-label::before, .note-box .rule-label::after { display: none; }
.benefits { list-style: none; padding: 0; margin: 0; }
.benefits li { padding: 12px 0 12px 28px; border-bottom: 1px solid #f0efeb; position: relative; font-size: 15.5px; color: #3b3b3b; }
.benefits li::before { content: "\25C6"; position: absolute; left: 0; top: 12px; font-size: 10px; color: var(--accent); }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 0; border-bottom: 1px solid #f0efeb; font-weight: 400; font-size: 15px; }
.spec-table th { font-family: var(--serif); font-size: 17px; }
.spec-table td { text-align: right; color: var(--ink-soft); }
.kit-intro { max-width: 480px; margin: 22px auto 34px; color: var(--ink-soft); }
.kit-form { max-width: 440px; margin: 0 auto; text-align: left; }
.kit-form label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.kit-form input, .kit-form select {
  display: block;
  width: 100%;
  font: inherit;
  font-size: 15px;
  letter-spacing: normal;
  text-transform: none;
  color: var(--ink);
  margin-top: 7px;
  padding: 11px 13px;
  border: 1px solid #d6d6d0;
  background: #fff;
}
.kit-form input:focus, .kit-form select:focus { outline: none; border-color: var(--accent); }
.kit-form .btn { width: 100%; margin-top: 6px; cursor: pointer; }
.form-note { font-size: 12.5px; color: var(--muted); margin: 14px 0 0; text-align: center; }
.kit-thanks { font-family: var(--serif); font-size: 18px; color: #3b3b3b; max-width: 460px; margin: 0 auto; }

@media (max-width: 700px) {
  .stat-band { grid-template-columns: 1fr 1fr; gap: 20px 0; }
  .stat-band li:nth-child(3) { border-left: 0; }
  .two-up { grid-template-columns: 1fr; }
}

/* ---------- Partner logo bands ---------- */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  list-style: none;
  padding: 0;
  margin: 0 0 38px;
}
.logo-tile {
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 2;
  padding: 14px;
  border: 1px solid #ece9e2;
  background: #fff;
  text-align: center;
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s;
}
.logo-tile:hover { border-color: var(--accent); box-shadow: 0 6px 18px rgba(0,0,0,.05); }
.logo-tile span { font-family: var(--serif); font-size: 16px; line-height: 1.3; color: #3d3d3d; }
.logo-tile img { max-height: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .85; transition: filter .2s, opacity .2s; }
.logo-tile:hover img { filter: none; opacity: 1; }
.logo-grid.small { gap: 14px; margin-bottom: 0; }
.logo-grid.small .logo-tile { aspect-ratio: 5 / 2; padding: 10px; }
.logo-grid.small .logo-tile span { font-size: 13px; }
.founding-strip { margin-bottom: 60px; }
.founding-strip .rule-label { margin-bottom: 22px; }

/* ---------- Placeholder pages ---------- */
.stub-flag {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: #6d7a6e;
  background: #f1f4ef;
  border-left: 2px solid var(--accent);
  padding: 12px 16px;
  margin: 0 0 50px;
}
.stub-block { padding: 26px 0; border-bottom: 1px solid #f0efeb; }
.stub-block h2 { font-family: var(--serif); font-weight: 400; font-size: 24px; margin: 0 0 8px; }
.stub-block p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }

@media (max-width: 900px) { .logo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .logo-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Current issue page ---------- */
.preview-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #f1f4ef;
  border-bottom: 1px solid #dfe5dc;
  padding: 10px 16px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6d7a6e;
}
.preview-bar button {
  font: inherit;
  letter-spacing: 0.12em;
  background: #fff;
  color: var(--ink-soft);
  border: 1px solid #cfd8cc;
  padding: 5px 14px;
  cursor: pointer;
}
.preview-bar button.active { background: var(--accent); border-color: var(--accent); color: #fff; }

.issue-head { background: linear-gradient(180deg, #f8f5f0, #eceee7); padding: 70px 0; }
.issue-head-grid { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center; }
.issue-cover-lg {
  aspect-ratio: 3 / 4;
  background-size: cover;
  background-position: 35% center;
  box-shadow: 0 24px 50px rgba(0,0,0,.16);
}
.label-line { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.issue-head h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4.4vw, 48px);
  line-height: 1.15;
  margin: 0 0 18px;
  text-wrap: balance;
}
.issue-meta { font-size: 13.5px; color: var(--muted); margin: 0 0 28px; }
.issue-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.letter { max-width: 640px; }
.letter .rule-label { justify-content: flex-start; margin-bottom: 26px; }
.letter .rule-label::before { display: none; }
.letter p { font-family: var(--serif); font-size: 18px; line-height: 1.75; color: #33322f; margin: 0 0 20px; }
.letter .signoff {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 30px;
}

/* flipbook frame */
.flip-frame { max-width: 900px; margin: 44px auto 0; background: #fff; border: 1px solid #e4e0d7; box-shadow: 0 18px 40px rgba(0,0,0,.07); }
.flip-spread { display: grid; grid-template-columns: 1fr 1fr; aspect-ratio: 2 / 1.29; }
.flip-page { background-size: cover; background-position: center; position: relative; }
.flip-page.left { box-shadow: inset -14px 0 24px -14px rgba(0,0,0,.28); }
.flip-page.right {
  display: grid;
  place-items: center;
  background: repeating-linear-gradient(135deg, #f7f5f1, #f7f5f1 14px, #f3f0ea 14px, #f3f0ea 28px);
  box-shadow: inset 14px 0 24px -14px rgba(0,0,0,.18);
}
.flip-page.right span { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.flip-bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  border-top: 1px solid #ece8e0;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.flip-hint { text-transform: none; letter-spacing: 0.02em; }
.read-alts { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* subscriber gate */
.gate { max-width: 560px; margin: 44px auto 0; text-align: center; background: #fff; border: 1px solid #e4e0d7; padding: 52px 40px; }
.gate-kicker { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); margin: 0 0 16px; }
.gate h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.3; margin: 0 0 16px; text-wrap: balance; }
.gate p { color: var(--ink-soft); font-size: 15px; margin: 0 0 26px; }
.gate-note { font-size: 13px; color: var(--muted); margin: 20px 0 0; }

/* table of contents */
.toc-intro { text-align: center; color: var(--muted); font-family: var(--serif); font-style: italic; margin: 22px 0 46px; }
.toc-group { margin-bottom: 44px; }
.toc-group .cat-label { margin-bottom: 4px; }
.toc-row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 20px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid #f0efeb;
  text-decoration: none;
}
.toc-row:hover .toc-title { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.toc-page { font-family: var(--serif); font-size: 15px; color: var(--accent); font-variant-numeric: tabular-nums; }
.toc-title { font-family: var(--serif); font-size: 20px; display: block; line-height: 1.3; }
.toc-dek { font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--muted); display: block; margin-top: 3px; }
.toc-author { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; }

@media (max-width: 860px) {
  .issue-head-grid { grid-template-columns: 1fr; gap: 34px; }
  .issue-cover-lg { max-width: 260px; }
}
@media (max-width: 600px) {
  .flip-spread { grid-template-columns: 1fr; aspect-ratio: 3 / 4; }
  .flip-page.right { display: none; }
  .toc-row { grid-template-columns: 34px 1fr; }
  .toc-author { grid-column: 2; white-space: normal; }
  .gate { padding: 40px 22px; }
  .letter p { font-size: 16.5px; }
}
