/* ==========================================================================
   Leicestershire Meditation Circle — SRF
   Single stylesheet for all pages. Edit the colors in :root to re-theme.
   ========================================================================== */
/* ------------------------------------------------------------ fonts */
/* ArcherPro — the typeface used on yogananda.org. Self-hosted in
   assets/fonts/. Fallback to Georgia/serif system faces if unavailable. */
@font-face {
  font-family: "ArcherPro";
  src: url("../fonts/ArcherPro-Book.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "ArcherPro";
  src: url("../fonts/ArcherPro-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "ArcherPro";
  src: url("../fonts/ArcherPro-Semibold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "ArcherPro";
  src: url("../fonts/ArcherPro-BookIta.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ==========================================================================
   Leicestershire Meditation Circle — SRF
   Single stylesheet for all pages. Edit the colors in :root to re-theme.
   ========================================================================== */

:root {
  --ink: #22304a;            /* headings / body on light */
  --body: #3c4658;
  --muted: #5f6a7d;          /* 5.0:1 on paper, 5.5:1 on white */
  --surface: #ffffff;
  --surface-2: #f7f5f0;      /* warm paper tint */
  --line: #e3ddd0;
  --gold: #b8912f;           /* accent — from SRF lotus golds */
  --gold-deep: #8a6a1e;
  --navy: #1d2b44;           /* header band, footer */
  --navy-2: #16223a;
  --lav: #4b5d86;            /* secondary accent */
  --focus: #b07d12;          /* >=3:1 on navy, paper and white */
  --radius: 14px;
  --shadow: 0 10px 30px rgba(29, 43, 68, .10);
  --serif: "ArcherPro", "Cormorant Garamond", "EB Garamond", Georgia, "Times New Roman", serif;
  --sans: "ArcherPro", "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--body);
  background: var(--surface-2);
  font-size: 17px;
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--lav); }
a:hover { color: var(--gold-deep); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; box-shadow: 0 0 0 6px rgba(11,16,28,.55); }

/* ---------------------------------------------------------------- layout */
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* --------------------------------------------------------------- header */
.site-header {
  background: linear-gradient(180deg, var(--navy-2), var(--navy));
  color: #fff;
  position: relative;
}
.site-header::after {           /* soft lotus glow, decorative */
  content: "";
  position: absolute;
  right: 0; top: 0;
  width: 420px; height: 300px;
  background: radial-gradient(circle 420px at 100% 0%, rgba(184,145,47,.20), rgba(184,145,47,0) 62%);
  pointer-events: none;
}
.header-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 18px 0 14px;
  position: relative; z-index: 2;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: #fff; }
.brand:focus { outline-offset: 4px; }
.brand-lotus { width: 64px; height: 64px; flex: none; display: block; }
.brand img { display: block; }
.brand-name { font-family: var(--serif); font-size: 1.45rem; line-height: 1.15; font-weight: 600; letter-spacing: .02em; }
.brand-sub { display: block; font-family: var(--sans); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: #c8b477; font-weight: 400; }

/* Nav strip: full-width row under the brand — dropdowns never collide with it */
.nav-toggle {
  display: none;
  font: 600 .95rem/1 var(--sans);
  letter-spacing: .06em; text-transform: uppercase;
  color: #f0ecdf; background: transparent;
  border: 1px solid rgba(255,255,255,.4); border-radius: 999px;
  padding: 12px 22px; cursor: pointer;
}
.nav-toggle:hover { border-color: #fff; }
.nav-toggle:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.site-header :focus-visible,
.nav-toggle:focus-visible { box-shadow: 0 0 0 6px rgba(255,255,255,.28); }
.site-nav {
  background: rgba(13, 20, 35, .45);
  border-top: 1px solid rgba(255,255,255,.08);
  position: relative; z-index: 30;
}
.site-nav > .wrap { display: flex; justify-content: center; }
.site-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: nowrap; gap: 2px;
}
.site-nav a {
  display: block; padding: 11px 15px; text-decoration: none; color: #e8e4d8;
  font-size: .95rem; border-radius: 8px 8px 0 0; white-space: nowrap;
}
.site-nav > .wrap > ul > li > a:hover { background: rgba(255,255,255,.08); color: #fff; }
.site-nav a[aria-current="page"] { color: #f3d98b; background: rgba(255,255,255,.07); }
.site-nav .has-sub { position: relative; }
.site-nav .has-sub > a::after { content: " ▾"; font-size: .75rem; opacity: .8; }
.site-nav .sub {
  display: none; position: absolute; top: 100%; left: 0; z-index: 40;
  background: #fff; min-width: 250px; border-radius: 0 0 10px 10px; box-shadow: var(--shadow);
  padding: 8px 0; margin: 0; list-style: none;
}
.site-nav .sub::before {          /* invisible bridge so the menu stays open across the gap */
  content: ""; position: absolute; top: -8px; left: 0; right: 0; height: 8px;
}
.site-nav .has-sub:hover > .sub, .site-nav .has-sub:focus-within > .sub { display: block; }
.site-nav .sub a { color: var(--ink); padding: 9px 18px; border-radius: 0; white-space: nowrap; }
.site-nav .sub a:hover { background: var(--surface-2); }

@media (max-width: 1080px) {
  .site-nav ul { flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; }
  .site-nav.open { display: block; }
  .site-nav > .wrap { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 6px 0 12px; }
  .site-nav .sub { display: block; position: static; box-shadow: none; background: rgba(255,255,255,.05); border-radius: 8px; margin: 0 0 8px; min-width: 0; }
  .site-nav .has-sub > a::after { content: ""; }
  .site-nav .sub a { color: #d6d2c6; padding: 8px 26px; font-size: .92rem; }
  .site-nav .sub a:hover { background: rgba(255,255,255,.06); color: #fff; }

  /* no-JS fallback: with JS off the Menu button can't work, so show the
     full menu instead — mobile users must still reach the pages */
  body.no-js .nav-toggle { display: none; }
  body.no-js .site-nav { display: block; }
  body.no-js .site-nav .sub { background: rgba(255,255,255,.05); }
}
/* -------------------------------------------------------------- hero */
.hero {
  position: relative;
  color: #fff;
  padding: clamp(64px, 11vw, 128px) 0 clamp(72px, 12vw, 140px);
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(184,145,47,.20), transparent 60%),
    radial-gradient(900px 420px at 0% 110%, rgba(75,93,134,.35), transparent 55%),
    linear-gradient(165deg, var(--navy-2) 0%, var(--navy) 55%, #24365a 100%);
  overflow: hidden;
}
.hero::before {                /* faint horizon line, dawn feel */
  content: "";
  position: absolute; left: 0; right: 0; bottom: 26%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(243,217,139,.25), transparent);
}
.hero-lotus { display: block; width: 90px; height: auto; margin-bottom: 26px; opacity: .95; }
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero-portrait {
  margin: 0;
  border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(243,217,139,.30);
  box-shadow: 0 18px 48px rgba(0,0,0,.45);
}
.hero-portrait img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 656 / 800; object-fit: cover; object-position: center top;
}
.hero .eyebrow {
  display: inline-block; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase;
  color: #d9c387; margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.3rem, 5.4vw, 3.6rem);
  line-height: 1.12; margin: 0 0 18px; color: #fdfbf5;
}
.hero p.lead { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: #cfd6e4; margin: 0 0 30px; max-width: 640px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-portrait { max-width: 260px; }
}

.btn {
  display: inline-block; padding: 13px 26px; border-radius: 999px;
  text-decoration: none; font-weight: 600; font-size: .98rem; letter-spacing: .02em;
  border: 1px solid transparent;
}
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-deep); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.45); color: #f0ecdf; }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-light { background: var(--navy); color: #fff; }
.btn-light:hover { background: var(--navy-2); color: #fff; }

/* ------------------------------------------------------ page banner (subpages) */
.page-banner {
  background:
    radial-gradient(900px 380px at 90% -20%, rgba(184,145,47,.18), transparent 60%),
    linear-gradient(165deg, var(--navy-2), var(--navy));
  color: #fff;
  padding: clamp(40px, 7vw, 64px) 0;
}
.page-banner h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2rem, 4.4vw, 2.9rem); margin: 0; color: #fdfbf5;
}
.page-banner .crumb { font-size: .85rem; color: #c9cede; margin-bottom: 12px; }
.page-banner .crumb a { color: #d9c387; text-decoration: none; }
.page-banner .crumb a:hover { color: #fff; }

/* -------------------------------------------------------------- cards */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.card h2, .card h3 { color: var(--ink); margin-top: 0; }
.card-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin: 26px 0; }

.eyebrow-l {
  font-size: .8rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 600; margin: 0 0 8px;
}

/* --------------------------------------------------------------- main */
main { padding: clamp(36px, 6vw, 64px) 0; }
.section { padding: clamp(30px, 5vw, 54px) 0; }
.section-tinted { background: var(--surface-2); }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; }
h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 1.6em 0 .5em; }
h3 { font-size: 1.25rem; margin: 1.5em 0 .4em; }
.card h2 { font-size: 1.25rem; margin: 0; }
h4 { font-size: 1.05rem; margin: 1.4em 0 .4em; }
p { margin: 0 0 1em; }
.lead { font-size: 1.14rem; color: var(--ink); }
.portrait-center { margin: 0 auto 34px; text-align: center; max-width: 420px; }
.portrait-center img { display: block; margin: 0 auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.portrait-center figcaption { font-size: 1.14rem; color: var(--ink); margin-top: 22px; }
.narrow { max-width: 780px; }

/* ------------------------------------------------------- quote band */
.quote-band {
  background: linear-gradient(160deg, var(--navy-2), var(--navy));
  color: #e9e6da; text-align: center;
  padding: clamp(40px, 7vw, 70px) 0;
}
.quote-band blockquote {
  margin: 0 auto; max-width: 800px;
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.25rem, 2.6vw, 1.7rem); line-height: 1.5;
}
.quote-band cite { display: block; margin-top: 18px; font-family: var(--sans); font-style: normal; font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; color: #d9c387; }

/* ------------------------------------------------------------- events */
.event-list { list-style: none; margin: 0; padding: 0; }
.event-list li {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px;
  padding: 13px 4px; border-bottom: 1px solid var(--line);
}
.event-list li:last-child { border-bottom: 0; }
.event-date { min-width: 116px; color: var(--gold-deep); font-weight: 600; }
.event-tag {
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line); padding: 3px 10px; border-radius: 999px;
  background: var(--surface-2);
}
.event-tag.gold { color: var(--gold-deep); border-color: #e6d3a1; background: #faf4e4; }
.event-tag.closed { color: #8a5a5a; border-color: #e5cfcf; background: #f9efef; }

.schedule-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.schedule-month h3 { margin: 0 0 6px; color: var(--gold-deep); }
.schedule-month { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px 14px; }
.schedule-month ul { list-style: none; margin: 0; padding: 0; }
.schedule-month li { padding: 9px 0; border-bottom: 1px dashed var(--line); }
.schedule-month li:last-child { border-bottom: 0; }

/* ------------------------------------------------------------- figure */
.figure { margin: 30px 0; }
.figure img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.figure figcaption { text-align: center; font-size: .88rem; color: var(--muted); margin-top: 10px; }
.figure-row { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; align-items: start; }
.figure-row.solo { grid-template-columns: 1fr; justify-items: center; }
.figure-row.solo .figure { width: fit-content; }
.figure-row.solo img { width: auto; }
.figure-row .figure { margin: 0; }
.figure-row img { display: block; height: 248px; object-fit: cover; }
.figure-row .img-zoomout { object-fit: contain; background: linear-gradient(to right, #eff2eb 0 8%, #cfd1cc 50%, #e8ede6 92% 100%); }
.figure-row .img-zoomout.img-warm { background: linear-gradient(to right, #b3997f 0 6%, #dcc3a9 50%, #efe3d5 94% 100%); }
.figure-row .img-zoomout.img-plain { background: linear-gradient(to right, #a6a5a6 0 6%, #d3d3d5 50%, #ececee 94% 100%); }

/* book cover + text side by side (index "Where to begin") */
.book-card-row { display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.book-card-row img { flex: none; }
.figure-row figcaption { min-height: 1.2em; }
@media (max-width: 680px) { .figure-row { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ contact */
.contact-card { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin-top: 26px; }
.contact-card .card h2 { margin-top: 0; font-size: 1.25rem; }
.contact-card .big { font-size: 1.35rem; font-family: var(--serif); color: var(--ink); }
.contact-card .big a { text-decoration: none; }
.tel-fallback { display: none; }
.note {
  border-left: 4px solid var(--gold);
  background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  margin: 22px 0;
}
.enquiry-form {
  margin-top: 26px;
  display: grid; gap: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 32px 32px;
  max-width: 620px;
}
.form-row { display: grid; gap: 8px; }
.form-row label { font-weight: 600; font-size: .95rem; color: var(--ink); letter-spacing: .01em; }
.form-row input, .form-row textarea {
  font: inherit; color: var(--ink); line-height: 1.5;
  padding: 12px 15px;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--surface-2);
  width: 100%;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.form-row textarea { resize: vertical; min-height: 140px; }
.form-row input:hover, .form-row textarea:hover { border-color: var(--lav); }
.form-row input:focus, .form-row textarea:focus {
  background: #fff;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 145, 47, .18);
}
.enquiry-form .btn { justify-self: start; margin-top: 2px; }
.form-note { margin-top: 18px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 680px) { .enquiry-form { padding: 22px 20px 24px; } }

.note p:last-child { margin-bottom: 0; }
body.no-js .contact-card a[href^="mailto"] { display: none; }
body.no-js .contact-card .tel-fallback { display: block; }

/* ---------------------------------------------------------- link lists */
.link-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin: 20px 0; }
.link-grid .card { padding: 22px 24px; }
.link-grid h3 { margin: 0 0 6px; font-size: 1.1rem; }
.link-grid h3 a { text-decoration: none; }
.link-grid p { margin: 0; font-size: .95rem; }

/* ------------------------------------------------------------- retreat */
.program-table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.program-table th, .program-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.program-table th { color: var(--ink); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }
.program-table td:first-child { color: var(--gold-deep); font-weight: 600; white-space: nowrap; }
.program-table tr:last-child td { border-bottom: 0; }

/* -------------------------------------------------------------- footer */
.site-footer {
  background: var(--navy-2); color: #b8c0d2;
  margin-top: auto; padding: 44px 0 30px;
}
.footer-grid { display: grid; gap: 34px; grid-template-columns: 1.4fr 1fr 1fr; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h3 { color: #e8e4d8; font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 9px; }
.site-footer a { color: #c3cade; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brandline { font-family: var(--serif); font-size: 1.2rem; color: #f0ecdf; margin: 0 0 6px; }
.footer-note { font-size: .88rem; color: #8f99af; margin: 0; }
.site-footer .fineprint {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 34px; padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  font-size: .84rem; color: #8f99af;
}
.site-footer .fineprint a { color: #a9b3c8; }

/* ----------------------------------------------------------- utilities */
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--gold); color: #fff;
  padding: 10px 18px; border-radius: 0 0 8px 0; z-index: 100;
}
.skip-link:focus { left: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.center { text-align: center; }
.visually-centered { margin-left: auto; margin-right: auto; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 1.2em; }
.muted { color: var(--muted); }
.gold { color: var(--gold-deep); }
.small { font-size: .9rem; }
.auto { margin-left: auto; margin-right: auto; }
.inline-img { border-radius: 10px; }