/* =========================================================
   The Rochester NY Chesterton Society — main stylesheet
   Visual language preserved from the original rochesterton.com:
   classic serif type, centred layout, uppercase bordered kicker,
   gold date line (#b88f2f), red bordered recordings box (#AF1010).
   ========================================================= */

:root {
  --ink: #111111;
  --text: #222222;
  --muted: #444444;
  --soft: #6b6b6b;
  --gold: #b88f2f;
  --gold-dark: #8f6d1f;
  --red: #af1010;
  --red-dark: #8a0c0c;
  --blue: #0070c0;
  --paper: #ffffff;
  --cream: #faf7ef;
  --line: #d9d2c0;
  --black-line: #000000;
  --radius: 4px;
  --shadow: 0 10px 30px rgba(17, 17, 17, .08);
  --content: 750px;
  --wide: 1140px;
  --font: "Times New Roman", Times, Georgia, "Liberation Serif", serif;
  --header-h: 68px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.55;
  color: var(--text);
  background: var(--paper);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s; }
a:hover { color: var(--gold-dark); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---- Original typography ---- */
h1 { font-size: 500%; margin: 0; padding: 0; line-height: 1.02; color: var(--ink); font-weight: bold; }
h2 { font-size: 130%; margin: 0; padding: 0; font-style: italic; }
h3 { font-size: 160%; margin: 0 0 5px 0; padding: 0; }
h4 { font-size: 130%; margin: 0; padding: 0; }
h5 { font-size: 70%; margin: 0; padding: 0; }
hr { margin: 0; padding: 0; border: 0; border-top: 1px solid #999; }
p { margin: 0 0 1em; }

.nowrap { white-space: nowrap; }
.clear { clear: both; }
.title { font-style: italic; }
.bigger { font-weight: bold; }
.quote { font-style: italic; margin-bottom: 2em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 1000; }
.skip-link:focus { left: 8px; color: #fff; }

/* ---- Layout helpers ---- */
.container { width: 100%; max-width: var(--wide); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: var(--content); margin-left: auto; margin-right: auto; }
.center { text-align: center; }
.section { padding: 72px 0; }
.section--cream { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--tight { padding: 48px 0; }

/* Kicker = the original ".annual_conference" bordered uppercase line */
.annual_conference,
.kicker {
  display: inline-block;
  border-top: 1px solid var(--black-line);
  border-bottom: 1px solid var(--black-line);
  text-transform: uppercase;
  font-size: 1.05rem;
  letter-spacing: .06em;
  padding: 6px 4px;
  margin: 0 0 18px;
  font-weight: bold;
  font-style: normal;
  color: var(--ink);
}
.section-title { font-size: clamp(2rem, 4.5vw, 3rem); font-style: normal; line-height: 1.1; margin: 0 0 14px; color: var(--ink); }
.section-lead { font-size: 1.15rem; color: var(--muted); max-width: 680px; margin: 0 auto 40px; font-style: italic; }

/* ---- Header / navigation ---- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--black-line);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 4px 18px rgba(0, 0, 0, .08); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); line-height: 1.1; }
.brand:hover { color: var(--ink); }
.brand__mark {
  width: 42px; height: 42px; border: 2px solid var(--ink); border-radius: 50%;
  display: grid; place-items: center; font-weight: bold; font-size: .82rem; letter-spacing: .02em;
  transition: transform .5s ease, background .3s, color .3s;
}
.brand:hover .brand__mark { transform: rotate(-12deg); background: var(--ink); color: #fff; }
.brand__text { font-size: 1rem; font-weight: bold; }
.brand__text small { display: block; font-weight: normal; font-style: italic; color: var(--gold-dark); font-size: .85rem; }

.nav { display: flex; align-items: center; }
.nav__list { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav__link {
  display: block; padding: 8px 10px; color: var(--ink); text-decoration: none; font-size: 1rem; position: relative;
}
.nav__link::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 4px; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--red); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__cta { margin-left: 8px; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--ink); width: 44px; height: 40px; cursor: pointer; padding: 0; border-radius: var(--radius);
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 22px; height: 2px; background: var(--ink); margin: 0 auto; position: relative; transition: transform .3s, background .3s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

.progress-bar { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--gold), var(--red)); z-index: 200; }

@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: #fff; flex-direction: column; align-items: stretch;
    padding: 20px; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .3s ease, transform .3s ease, visibility .3s; overflow-y: auto; border-top: 1px solid var(--ink);
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; }
  .nav__link { font-size: 1.3rem; padding: 14px 6px; border-bottom: 1px solid var(--line); }
  .nav__link::after { display: none; }
  .nav__cta { margin: 20px 0 0; text-align: center; }
  body.nav-open { overflow: hidden; }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-size: 1.02rem; font-weight: bold; letter-spacing: .02em;
  padding: 12px 24px; border: 2px solid var(--ink); background: var(--ink); color: #fff;
  text-decoration: none; cursor: pointer; border-radius: var(--radius); position: relative; overflow: hidden;
  transition: background .25s, color .25s, border-color .25s, transform .2s;
}
.btn:hover { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--outline { background: transparent; color: var(--ink); }
.btn--outline:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--red { background: var(--red); border-color: var(--red); }
.btn--red:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn--gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.btn--sm { padding: 8px 16px; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }
.btn .ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,.45); transform: scale(0); animation: ripple .6s linear; pointer-events: none; }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* ---- Hero (faithful to the archive) ---- */
.hero { text-align: center; padding: 42px 0 56px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 38%, rgba(184, 143, 47, .14), transparent 60%);
  pointer-events: none;
}
.header { position: relative; margin: 0 auto; }
.header h1 { text-align: center; width: 100%; position: relative; }
.header p.subtitle { text-align: center; font-size: 1.5em; font-weight: bold; font-style: italic; margin: 10px 0 0; }
.hero__window {
  width: min(432px, 86vw); margin: 22px auto 6px; position: relative;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.25));
}
.hero__window img { width: 100%; animation: glow 6s ease-in-out infinite; border-radius: 2px; }
.hero__window::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.38) 50%, transparent 65%);
  background-size: 250% 100%; animation: shine 7s ease-in-out infinite;
}
@keyframes glow { 0%,100% { filter: saturate(1) brightness(1); } 50% { filter: saturate(1.25) brightness(1.07); } }
@keyframes shine { 0% { background-position: 150% 0; } 60%,100% { background-position: -60% 0; } }

.speakers { color: var(--muted); margin: 18px auto; max-width: var(--content); }
.speakers .name { font-weight: bold; color: var(--ink); }
#where h2, .where h2 { font-size: 1.3em; }
#when, .when { color: var(--gold); margin-top: 1em; }
#when h2, .when h2 { font-size: 1.3em; }
.donation { margin-top: 1em; }
.thanks { color: var(--muted); }

.hero-meta {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; max-width: 900px; margin: 30px auto 0;
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
}
.hero-meta > div { padding: 18px 14px; margin: 0; }
.hero-meta #when { margin-top: 0; }
.hero-meta > div + div { border-left: 1px solid var(--line); }
.hero-meta .label { display: block; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); margin-bottom: 4px; }
.hero-meta .value { font-weight: bold; font-style: italic; }
.hero-meta .value.gold { color: var(--gold); }
@media (max-width: 720px) {
  h1 { font-size: 3.2rem; }
  .hero-meta { grid-template-columns: 1fr; }
  .hero-meta > div + div { border-left: 0; border-top: 1px solid var(--line); }
}

/* Page hero for inner pages */
.page-hero { text-align: center; padding: 56px 0 44px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--cream), #fff); }
.page-hero h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); }
.page-hero .lead { font-size: 1.3rem; font-style: italic; font-weight: bold; margin: 12px auto 0; max-width: 720px; }
.breadcrumbs { font-size: .92rem; color: var(--soft); margin-bottom: 18px; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: var(--gold); }
.breadcrumbs a { color: var(--soft); }

/* ---- The red recordings box (original style) ---- */
.recordings-box {
  border: 2px solid var(--red); padding: 18px 20px; font-weight: bold; color: var(--red);
  max-width: var(--content); margin: 28px auto; text-align: center; background: #fff;
}
.recordings-box .rec-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; margin-top: 10px; }
.rec-btn {
  font-family: var(--font); font-size: 1rem; font-weight: bold; color: var(--red); background: #fff; text-decoration: none;
  border: 1px solid rgba(175,16,16,.35); padding: 6px 12px; cursor: pointer; border-radius: 999px; display: inline-flex; gap: 6px; align-items: center;
  transition: background .2s, color .2s, transform .2s;
}
.rec-btn:hover { background: var(--red); color: #fff; transform: translateY(-2px); }
.rec-btn svg { width: 14px; height: 14px; fill: currentColor; }

/* ---- Stats ---- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.stat { text-align: center; padding: 28px 10px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat__num { display: block; font-size: 3rem; font-weight: bold; color: var(--ink); line-height: 1; }
.stat__label { display: block; margin-top: 8px; font-style: italic; color: var(--muted); }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---- Meeting / countdown ---- */
.meeting {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center;
  border: 1px solid var(--ink); padding: 40px; background: #fff; position: relative;
}
.meeting::before { content: ""; position: absolute; inset: 8px; border: 1px solid var(--line); pointer-events: none; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; text-align: center; }
.countdown__item { border: 1px solid var(--ink); padding: 16px 6px; background: var(--cream); }
.countdown__num { font-size: 2.4rem; font-weight: bold; display: block; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown__lbl { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }
.meeting__date { color: var(--gold); font-size: 1.4rem; font-weight: bold; font-style: italic; }
@media (max-width: 860px) { .meeting { grid-template-columns: 1fr; padding: 26px; } }

/* ---- Quote slider ---- */
.quote-slider { max-width: 860px; margin: 0 auto; text-align: center; }
.quote-slider blockquote { margin: 0; padding: 10px 30px 50px; }
.quote-slider blockquote p { font-size: clamp(1.4rem, 3vw, 2rem); font-style: italic; line-height: 1.35; color: var(--ink); }
.quote-slider blockquote p::before { content: "\201C"; color: var(--gold); font-size: 1.6em; line-height: 0; vertical-align: -.35em; margin-right: 4px; }
.quote-slider cite { font-style: normal; color: var(--gold-dark); letter-spacing: .04em; }
.swiper-pagination-bullet-active { background: var(--red) !important; }
.swiper-button-next, .swiper-button-prev { color: var(--ink) !important; }
.swiper-button-next::after, .swiper-button-prev::after { font-size: 22px !important; }

/* ---- Cards ---- */
.grid { display: grid; gap: 28px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--3, .grid--2, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; position: relative;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--ink); }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream); border-bottom: 1px solid var(--line); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.card:hover .card__media img { transform: scale(1.06); }
.card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card__meta { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 8px; }
.card__title { font-size: 1.45rem; font-style: normal; line-height: 1.2; margin: 0 0 10px; color: var(--ink); }
.card__title a { color: inherit; text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card__title a:hover { color: var(--red); }
.card__text { color: var(--muted); margin: 0 0 16px; flex: 1; }
.card__more { font-weight: bold; color: var(--red); }
.card__more::after { content: " →"; transition: margin .2s; }
.card:hover .card__more::after { margin-left: 6px; }

/* Service cards */
.service { text-align: center; padding: 34px 26px 28px; border: 1px solid var(--line); background: #fff; position: relative; transition: transform .3s, box-shadow .3s, border-color .3s; display: flex; flex-direction: column; }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--ink); }
.service__icon { width: 64px; height: 64px; margin: 0 auto 16px; border: 1px solid var(--ink); border-radius: 50%; display: grid; place-items: center; transition: background .3s, transform .5s; }
.service__icon svg { width: 30px; height: 30px; stroke: var(--ink); fill: none; stroke-width: 1.6; transition: stroke .3s; }
.service:hover .service__icon { background: var(--ink); transform: rotate(360deg); }
.service:hover .service__icon svg { stroke: #fff; }
.service h3 { font-size: 1.45rem; }
.service__price { color: var(--gold); font-weight: bold; font-style: italic; font-size: 1.2rem; margin: 6px 0 12px; }
.service p { color: var(--muted); flex: 1; }
.service ul { text-align: left; color: var(--muted); padding-left: 20px; margin: 0 0 20px; }
.service ul li { margin-bottom: 4px; }
.service--featured { border: 2px solid var(--red); }
.badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--red); color: #fff; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; padding: 4px 12px; white-space: nowrap; }

/* ---- Past conferences list (original) ---- */
ul.past-conferences { list-style: none; padding: 0; margin: 0 auto; max-width: var(--content); }
ul.past-conferences li { border-bottom: 1px dotted var(--line); }
ul.past-conferences a { display: flex; justify-content: space-between; gap: 16px; padding: 10px 6px; text-decoration: none; color: var(--ink); transition: background .2s, padding .2s, color .2s; text-align: left; }
ul.past-conferences a:hover { background: var(--cream); padding-left: 14px; color: var(--red); }
ul.past-conferences .yr { color: var(--gold-dark); font-weight: bold; white-space: nowrap; }

/* ---- Timeline ---- */
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 0 auto 36px; max-width: 900px; }
.toolbar input, .toolbar select { font-family: var(--font); font-size: 1rem; padding: 10px 14px; border: 1px solid var(--ink); border-radius: var(--radius); background: #fff; min-width: 220px; }
.filter-btn { font-family: var(--font); font-size: 1rem; padding: 8px 16px; border: 1px solid var(--ink); background: #fff; cursor: pointer; border-radius: 999px; transition: background .2s, color .2s; }
.filter-btn.is-active, .filter-btn:hover { background: var(--ink); color: #fff; }
.timeline { position: relative; max-width: 980px; margin: 0 auto; padding: 10px 0; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--ink); }
.tl-item { position: relative; width: 50%; padding: 0 40px 40px; }
.tl-item:nth-child(odd) { left: 0; text-align: right; }
.tl-item:nth-child(even) { left: 50%; }
.tl-item::before { content: ""; position: absolute; top: 10px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--gold); transition: background .3s, transform .3s; }
.tl-item:nth-child(odd)::before { right: -7px; }
.tl-item:nth-child(even)::before { left: -7px; }
.tl-item:hover::before { background: var(--gold); transform: scale(1.3); }
.tl-card { border: 1px solid var(--line); background: #fff; padding: 20px 22px; transition: box-shadow .3s, border-color .3s; display: block; text-decoration: none; color: inherit; }
.tl-card:hover { box-shadow: var(--shadow); border-color: var(--ink); color: inherit; }
.tl-year { color: var(--gold); font-weight: bold; font-size: 1.6rem; font-style: italic; }
.tl-card h3 { font-size: 1.35rem; color: var(--ink); }
.tl-card p { color: var(--muted); margin: 6px 0 0; font-size: .98rem; }
.tl-item.is-hidden { display: none; }
@media (max-width: 760px) {
  .timeline::before { left: 8px; }
  .tl-item, .tl-item:nth-child(even), .tl-item:nth-child(odd) { width: 100%; left: 0; text-align: left; padding: 0 0 28px 34px; }
  .tl-item:nth-child(odd)::before, .tl-item:nth-child(even)::before { left: 1px; right: auto; }
}
.empty-state { text-align: center; color: var(--soft); font-style: italic; display: none; }

/* ---- Conference detail ---- */
.conf-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.conf-figure { border: 1px solid var(--ink); padding: 10px; background: #fff; position: sticky; top: calc(var(--header-h) + 20px); }
.conf-figure img { width: 100%; }
.conf-figure figcaption { font-size: .85rem; color: var(--soft); font-style: italic; margin-top: 8px; text-align: center; }
.speaker-list { list-style: none; padding: 0; margin: 0 0 24px; }
.speaker-list li { padding: 12px 0; border-bottom: 1px dotted var(--line); display: flex; gap: 14px; align-items: center; }
.avatar { flex: 0 0 46px; height: 46px; border-radius: 50%; border: 1px solid var(--ink); display: grid; place-items: center; font-weight: bold; background: var(--cream); font-size: .95rem; }
.speaker-list .name { font-weight: bold; }
.speaker-list .aff { display: block; color: var(--muted); font-style: italic; font-size: .95rem; }
.info-table { width: 100%; border-collapse: collapse; margin: 10px 0 24px; }
.info-table th, .info-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.info-table th { width: 34%; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); font-weight: normal; }
.conf-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--ink); }
.conf-nav a { text-decoration: none; font-weight: bold; }
@media (max-width: 860px) { .conf-grid { grid-template-columns: 1fr; } .conf-figure { position: static; max-width: 460px; margin: 0 auto; } }

/* ---- Prose / articles ---- */
.prose { max-width: var(--content); margin: 0 auto; font-size: 1.12rem; line-height: 1.75; }
.prose h2 { font-size: 1.9rem; font-style: normal; margin: 2em 0 .6em; color: var(--ink); line-height: 1.2; scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h3 { font-size: 1.4rem; margin: 1.6em 0 .5em; color: var(--ink); scroll-margin-top: calc(var(--header-h) + 20px); }
.prose p { margin: 0 0 1.15em; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.8em 0; padding: 18px 24px; border-left: 3px solid var(--gold); background: var(--cream); font-style: italic; font-size: 1.2rem; }
.prose blockquote cite { display: block; margin-top: 8px; font-style: normal; font-size: .95rem; color: var(--gold-dark); }
.prose figure { margin: 2em 0; }
.prose figure img { margin: 0 auto; border: 1px solid var(--line); }
.prose figcaption { text-align: center; font-size: .9rem; font-style: italic; color: var(--soft); margin-top: 8px; }
.prose .dropcap::first-letter { float: left; font-size: 4.2em; line-height: .85; padding: 6px 10px 0 0; color: var(--red); font-weight: bold; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 1rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--cream); }
.prose .note { border: 1px solid gray; padding: 14px 18px; margin: 1.5em 0; font-size: 1rem; }

.article-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 50px; max-width: 1060px; margin: 0 auto; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; font-size: .95rem; border-top: 1px solid var(--ink); padding-top: 12px; }
.toc strong { display: block; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; margin-bottom: 8px; }
.toc ol { list-style: none; padding: 0; margin: 0; }
.toc a { display: block; padding: 6px 0 6px 10px; border-left: 2px solid var(--line); color: var(--muted); text-decoration: none; transition: color .2s, border-color .2s; }
.toc a:hover, .toc a.is-active { color: var(--red); border-left-color: var(--red); }
@media (max-width: 960px) { .article-layout { grid-template-columns: 1fr; } .toc { position: static; } }

.article-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; color: var(--soft); font-size: .95rem; margin-top: 16px; }
.article-hero-img { max-width: 860px; margin: 36px auto 0; border: 1px solid var(--ink); padding: 8px; background: #fff; }
.article-hero-img img { width: 100%; max-height: 520px; object-fit: cover; }
.share { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 40px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.author-box { display: flex; gap: 18px; align-items: center; border: 1px solid var(--line); padding: 20px; margin-top: 30px; background: var(--cream); }
.author-box .avatar { flex-basis: 64px; height: 64px; font-size: 1.1rem; }

/* ---- Gallery ---- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery a { display: block; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 1; position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s, filter .4s; filter: sepia(.25); }
.gallery a:hover img { transform: scale(1.08); filter: none; }
.gallery a::after { content: "+"; position: absolute; inset: auto 10px 10px auto; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-size: 1.4rem; opacity: 0; transform: scale(.6); transition: .3s; }
.gallery a:hover::after { opacity: 1; transform: scale(1); }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* ---- Accordion ---- */
.accordion { max-width: var(--content); margin: 0 auto; border-top: 1px solid var(--ink); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn { width: 100%; text-align: left; background: none; border: 0; font-family: var(--font); font-size: 1.2rem; font-weight: bold; padding: 18px 40px 18px 4px; cursor: pointer; position: relative; color: var(--ink); }
.acc-btn::after { content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--gold); transition: transform .3s; }
.acc-btn[aria-expanded="true"]::after { transform: translateY(-50%) rotate(45deg); }
.acc-panel { overflow: hidden; max-height: 0; transition: max-height .4s ease; }
.acc-panel > div { padding: 0 4px 20px; color: var(--muted); }

/* ---- Split / about ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--rev > :first-child { order: 2; }
.framed { border: 1px solid var(--ink); padding: 10px; background: #fff; position: relative; }
.framed::after { content: ""; position: absolute; inset: -10px 10px 10px -10px; border: 1px solid var(--gold); z-index: -1; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 36px; } .split--rev > :first-child { order: 0; } .framed { max-width: 480px; margin: 0 auto; } }

.value-list { list-style: none; padding: 0; margin: 20px 0 0; }
.value-list li { padding: 10px 0 10px 34px; position: relative; border-bottom: 1px dotted var(--line); }
.value-list li::before { content: "✦"; position: absolute; left: 4px; color: var(--gold); }

/* ---- Forms ---- */
.form { max-width: 760px; margin: 0 auto; border: 1px solid var(--ink); padding: 36px; background: #fff; position: relative; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form { padding: 22px; } }
.field label { display: block; font-weight: bold; margin-bottom: 6px; }
.field .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font); font-size: 1.05rem; padding: 12px 14px; border: 1px solid #999; border-radius: var(--radius); background: #fff; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,143,47,.2); outline: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); background: #fff8f8; }
.field.is-valid input, .field.is-valid select, .field.is-valid textarea { border-color: #3c7a3c; }
.field .error { color: var(--red); font-size: .92rem; margin-top: 5px; min-height: 1em; display: block; }
.field .hint { color: var(--soft); font-size: .88rem; margin-top: 4px; display: flex; justify-content: space-between; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .98rem; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--red); flex: 0 0 auto; }
.hp { position: absolute; left: -9999px; }
.form-status { margin-top: 14px; font-style: italic; color: var(--red); }

.newsletter { display: flex; gap: 8px; margin-top: 10px; }
.newsletter input { flex: 1; min-width: 0; font-family: var(--font); font-size: 1rem; padding: 10px 12px; border: 1px solid #777; background: #1c1c1c; color: #fff; border-radius: var(--radius); }
.newsletter input::placeholder { color: #aaa; }
.newsletter .error { color: #ff9b9b; font-size: .88rem; display: block; margin-top: 6px; min-height: 1em; }

/* ---- Contact info ---- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 48px; }
.contact-card { border: 1px solid var(--line); padding: 24px; text-align: center; background: #fff; }
.contact-card h3 { font-size: 1.2rem; }
@media (max-width: 760px) { .contact-cards { grid-template-columns: 1fr; } }

/* ---- CTA band ---- */
.cta-band { background: var(--ink); color: #fff; text-align: center; padding: 70px 20px; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(184,143,47,.6); pointer-events: none; }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-style: italic; color: #fff; margin-bottom: 12px; }
.cta-band p { color: #ddd; max-width: 640px; margin: 0 auto; }
.cta-band .btn--outline { color: #fff; border-color: #fff; }
.cta-band .btn--outline:hover { background: #fff; color: var(--ink); }

/* ---- Footer ---- */
.site-footer { background: #111; color: #cfcfcf; padding: 60px 0 24px; font-size: .98rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; }
.site-footer h4 { color: #fff; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .08em; border-bottom: 1px solid #444; padding-bottom: 8px; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
#maintained_by, #copyright { text-align: center; font-size: .85em; }
.footer-bottom { border-top: 1px solid #333; margin-top: 40px; padding-top: 20px; color: #9a9a9a; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---- Video modal ---- */
.modal { position: fixed; inset: 0; z-index: 500; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(0,0,0,.85); }
.modal.is-open { display: flex; animation: fadeIn .25s ease; }
.modal__dialog { width: min(960px, 100%); background: #000; position: relative; border: 1px solid var(--gold); }
.modal__frame { position: relative; aspect-ratio: 16/9; }
.modal__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.modal__title { color: #fff; padding: 10px 14px; font-style: italic; display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.modal__title a { color: var(--gold); font-size: .9rem; }
.modal__close { position: absolute; top: -44px; right: 0; background: none; border: 0; color: #fff; font-size: 2.2rem; cursor: pointer; line-height: 1; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---- Cookie banner ---- */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 400; max-width: 560px; background: #fff; border: 1px solid var(--ink); padding: 18px 20px; box-shadow: var(--shadow);
  transform: translateY(150%); transition: transform .5s ease;
}
.cookie.is-visible { transform: translateY(0); }
.cookie p { margin: 0 0 12px; font-size: .95rem; }
.cookie .btn-row { justify-content: flex-start; margin-top: 0; }

/* ---- Back to top ---- */
.to-top { position: fixed; right: 18px; bottom: 18px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--ink); background: #fff; cursor: pointer; z-index: 300; opacity: 0; transform: translateY(20px); transition: .3s; display: grid; place-items: center; font-size: 1.2rem; }
.to-top.is-visible { opacity: 1; transform: none; }
.to-top:hover { background: var(--ink); color: #fff; }

/* ---- Toast ---- */
.toast { position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 30px); background: var(--ink); color: #fff; padding: 10px 18px; z-index: 600; opacity: 0; transition: .3s; pointer-events: none; border-radius: var(--radius); }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---- Thank you ---- */
.thank-you { text-align: center; padding: 90px 20px; }
.check-anim { width: 96px; height: 96px; margin: 0 auto 26px; }
.check-anim circle { stroke: var(--gold); stroke-width: 2; fill: none; stroke-dasharray: 300; stroke-dashoffset: 300; animation: draw 1s ease forwards; }
.check-anim path { stroke: var(--red); stroke-width: 4; fill: none; stroke-linecap: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .6s .8s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Reveal helper (used if AOS not loaded) */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s, transform .8s; }
.reveal.is-in { opacity: 1; transform: none; }

/* Policy pages */
.policy-updated { text-align: center; color: var(--soft); font-style: italic; }

@media print {
  .site-header, .site-footer, .cookie, .to-top, .progress-bar, .toc, .share { display: none !important; }
  body { font-size: 12pt; }
}
