/* ==========================================================================
   site.css: Being: A Golden Spiral, public website (v1.0, 2 Dec 2026).

   Look: deep spiral teal with gold line work (from the CIC's own deck and
   logo), parchment bands for reading, oxblood only for the Publication
   House. Cinzel for display capitals, EB Garamond for reading, Amiri for
   Arabic. All fonts are self-hosted (no third-party requests).
   Every text colour pair passes WCAG AA; see BRAND_GUIDELINES.md.
   ========================================================================== */

/* ── Fonts ─────────────────────────────────────────────────────────────── */
@font-face { font-family: 'Cinzel'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/cinzel-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Cinzel'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/cinzel-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Cinzel'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/cinzel-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'EB Garamond'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/eb-garamond-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'EB Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/eb-garamond-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'EB Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/eb-garamond-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'EB Garamond'; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/eb-garamond-latin-400-italic.woff2) format('woff2'); }
@font-face { font-family: 'EB Garamond'; font-style: italic; font-weight: 500; font-display: swap; src: url(fonts/eb-garamond-latin-500-italic.woff2) format('woff2'); }
/* Transliteration marks (ā, ḥ, ʿ): only downloaded when a page uses them */
@font-face { font-family: 'EB Garamond'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/eb-garamond-latin-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'EB Garamond'; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/eb-garamond-latin-ext-400-italic.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Amiri'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/amiri-arabic-400-normal.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }

/* ── Tokens ────────────────────────────────────────────────────────────── */
:root {
  --teal: #0E3A43;          /* Spiral Teal: the brand ground */
  --teal-deep: #0A2B31;     /* Deep Teal: footer, quiet bands */
  --teal-line: #1D5660;     /* hairlines on teal */
  --gold: #D4AF58;          /* Gold: line work, headings on teal */
  --gold-antique: #C6A24A;  /* Antique Gold: rules, decoration only */
  --gold-ink: #7D5F17;      /* Gold Ink: gold-coloured text on parchment */
  --parchment: #F7F2E7;     /* reading ground */
  --parchment-2: #EFE6D3;   /* cards and panels on parchment */
  --cream: #F3ECDD;         /* text on teal */
  --mist: #B9C9C6;          /* secondary text on teal */
  --ink: #132A2E;           /* text on parchment */
  --slate: #4A6468;         /* secondary text on parchment */
  --oxblood: #3B0A06;       /* Publication House only */

  --display: 'Cinzel', 'Trajan Pro', Georgia, serif;
  --serif: 'EB Garamond', Garamond, 'Times New Roman', serif;
  --arabic: 'Amiri', 'Traditional Arabic', serif;

  --wrap: 72rem;
  --narrow: 44rem;
  --r: 4px;                 /* corners stay nearly square, like the logo frame */
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ── Base ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--parchment); color: var(--ink); font: 400 1.1875rem/1.65 var(--serif); font-kerning: normal;
  font-variant-ligatures: common-ligatures; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.band-light :focus-visible, .page-head + .band-light :focus-visible { outline-color: var(--gold-ink); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.15; letter-spacing: .02em; margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; }
h2 em, h1 em { font-family: var(--serif); font-style: italic; text-transform: none; letter-spacing: 0; color: var(--gold); font-size: 1.12em; }
.band-light h2 em, .band-light h1 em, .band-panel h2 em { color: var(--gold-ink); }
p { margin: 0 0 1em; }
em { font-style: italic; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--gold); color: var(--teal-deep); padding: .6rem 1rem; font-family: var(--display); }
.skip:focus { top: 1rem; }
main:focus { outline: none; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: var(--narrow); }
[lang="ar"], .ar { font-family: var(--arabic); direction: rtl; }

/* Small label above headings: Cinzel capitals with a gold rule */
.label { font-family: var(--display); font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold);
  display: flex; align-items: center; gap: .9rem; margin: 0 0 1.1rem; }
.label::after { content: ''; height: 1px; width: 3.5rem; background: currentColor; opacity: .6; }
.band-light .label, .band-panel .label { color: var(--gold-ink); }
.lead { font-size: clamp(1.25rem, 2.1vw, 1.5rem); line-height: 1.5; color: inherit; max-width: 40rem; }
.eyebrow { font-family: var(--display); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 .5rem; }
.band-teal .eyebrow, .band-deep .eyebrow, .band-ox .eyebrow, .feature .eyebrow { color: var(--gold); }

/* ── Bands ─────────────────────────────────────────────────────────────── */
.band { padding: clamp(4rem, 9vw, 7.5rem) 0; position: relative; }
.band-teal { background: var(--teal); color: var(--cream); }
.band-deep { background: var(--teal-deep); color: var(--cream); }
.band-light { background: var(--parchment); color: var(--ink); }
.band-panel { background: var(--parchment-2); color: var(--ink); }
.band-ox { background: var(--oxblood); color: var(--cream); }
.band-teal a, .band-deep a, .band-ox a { color: var(--cream); }
.more { margin-top: 2.5rem; }
.center { text-align: center; }
.center .label { justify-content: center; }
.center .label::before { content: ''; height: 1px; width: 3.5rem; background: currentColor; opacity: .6; }
.center .lead { margin-inline: auto; }

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 2.9rem; padding: .78rem 1.5rem .62rem;   /* Cinzel capitals sit high: a little more room on top */
  font: 600 .8rem/1 var(--display); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; border-radius: var(--r);
  border: 1px solid transparent; cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.btn-gold { background: var(--gold); color: var(--teal-deep) !important; }
.btn-gold:hover { background: var(--cream); }
.btn-line { border-color: currentColor; color: inherit; background: transparent; }
.band-teal .btn-line, .band-deep .btn-line, .hero .btn-line, .feature .btn-line, .band-ox .btn-line { color: var(--gold); }
.btn-line:hover { background: var(--gold); border-color: var(--gold); color: var(--teal-deep) !important; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 0; }
.center .actions { justify-content: center; margin-top: 2.5rem; }
.arrow { display: inline-block; transition: transform .25s var(--ease); }
a:hover .arrow, .card:hover .arrow { transform: translateX(4px); }

/* ── Header ────────────────────────────────────────────────────────────── */
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(14, 58, 67, .96); color: var(--cream); border-bottom: 1px solid var(--teal-line);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.head-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.6rem; }
.brand { display: inline-flex; align-items: center; gap: .85rem; text-decoration: none; color: var(--gold); }
.brand-mark { width: 2.3rem; height: 2.3rem; flex: none; }
.brand-word { font-family: var(--display); font-size: .95rem; letter-spacing: .14em; text-transform: uppercase; line-height: 1.15; display: flex; flex-direction: column; }
.brand-1 { font-size: .78em; letter-spacing: .3em; }
.site-nav ul { list-style: none; display: flex; gap: .2rem; margin: 0; padding: 0; }
.site-nav a { display: block; padding: .55rem .75rem; font-family: var(--display); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--cream); position: relative; }
.site-nav ul a::after { content: ''; position: absolute; left: .75rem; right: .75rem; bottom: .3rem; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.site-nav ul a:hover::after, .site-nav ul a[aria-current]::after { transform: scaleX(1); }
.site-nav ul a[aria-current] { color: var(--gold); }
.site-nav { display: flex; align-items: center; gap: 1rem; }
.nav-join { min-height: 2.5rem; padding: .55rem 1.1rem; }
.menu-btn { display: none; align-items: center; gap: .6rem; background: none; border: 1px solid var(--teal-line); color: var(--gold); padding: .5rem .8rem;
  font: 600 .75rem/1 var(--display); letter-spacing: .16em; text-transform: uppercase; border-radius: var(--r); cursor: pointer; }
.menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; transition: transform .25s var(--ease), background .2s; }
.menu-bars::before, .menu-bars::after { content: ''; position: absolute; left: 0; }
.menu-bars::before { top: -6px; } .menu-bars::after { top: 6px; }
.menu-btn[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1060px) {
  .js .menu-btn { display: inline-flex; }
  .js .site-nav { position: fixed; inset: 4.6rem 0 auto 0; background: var(--teal); border-bottom: 1px solid var(--teal-line); flex-direction: column; align-items: stretch;
    padding: 1rem 1.25rem 1.75rem; gap: 1rem; max-height: calc(100vh - 4.6rem); overflow: auto; visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s; }
  .js .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .js .site-nav ul { flex-direction: column; }
  .js .site-nav ul a { padding: .9rem .25rem; font-size: .95rem; border-bottom: 1px solid var(--teal-line); }
  .js .site-nav ul a::after { display: none; }
  .no-js .site-nav ul { flex-wrap: wrap; }
  .no-js .head-inner { flex-wrap: wrap; padding: .75rem 0; }
}

/* ── Hero (home) ───────────────────────────────────────────────────────── */
.hero { background: var(--teal); color: var(--cream); position: relative; overflow: hidden; padding: clamp(4.5rem, 11vw, 9rem) 0 clamp(4.5rem, 10vw, 8rem); }
.hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.hero h1 { color: var(--gold); font-size: clamp(2.6rem, 6.6vw, 5.2rem); letter-spacing: .04em; margin-bottom: 1.5rem; }
.hero h1 .h1-small { display: block; font-size: .42em; letter-spacing: .42em; margin-bottom: .35em; color: var(--cream); }
.hero .lead { color: var(--cream); }
.hero-art { color: var(--gold); justify-self: center; width: min(100%, 26rem); }
.hero-art .mark-big { width: 100%; height: auto; }
.mark-big g, .mark-meaning g { stroke-width: .9; }       /* large marks keep a fine line */
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-pillars { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin: 2.2rem 0 0; padding: 0; list-style: none; font-family: var(--display); font-size: .75rem; letter-spacing: .24em; text-transform: uppercase; color: var(--mist); }
.hero-pillars li + li::before { content: '◆'; color: var(--gold); font-size: .55em; margin-right: 1.4rem; vertical-align: .25em; }

/* The golden-angle bloom (phyllo.js), centred on the eye of the spiral */
.hero-art { position: relative; }
.hero-art .mark-big { position: relative; z-index: 1; }
.phyllo-wrap { position: absolute; z-index: 0; width: 150%; aspect-ratio: 1; left: 80.2%; top: 29.1%; transform: translate(-50%, -50%);
  color: var(--gold); opacity: 0; pointer-events: none; animation: bloom-in 2.4s var(--ease) 2.2s forwards;
  -webkit-mask-image: radial-gradient(circle, #000 35%, transparent 70%); mask-image: radial-gradient(circle, #000 35%, transparent 70%); }
.phyllo { width: 100%; height: 100%; display: block; }
.phyllo circle { fill: currentColor; }
@keyframes bloom-in { to { opacity: .7; } }

/* ── Inner page heading ────────────────────────────────────────────────── */
.page-head { background: var(--teal); color: var(--cream); padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 4.5rem); position: relative; overflow: hidden; }
.page-head h1 { color: var(--gold); max-width: 50rem; }
.page-head .lead { color: var(--cream); }
.head-spiral { position: absolute; right: -4rem; top: 50%; width: 22rem; height: 22rem; transform: translateY(-50%); color: var(--gold); opacity: .09; pointer-events: none; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0 0 1.4rem; font-family: var(--display); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--mist); }
.crumbs li + li::before { content: '›'; margin-right: .5rem; color: var(--gold); }
.crumbs a { color: var(--mist); }

/* ── Text blocks ───────────────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.split-even { grid-template-columns: 1fr 1fr; align-items: center; }
.prose { font-size: 1.22rem; }
.prose .body h2 { font-size: 1.6rem; margin-top: 2.2em; }
.prose .body h3 { font-size: 1.2rem; margin-top: 1.8em; }
.prose .body a, .band-light .lead a, .body a { color: var(--teal); }
.prose .body blockquote, .pull { margin: 2rem 0; padding: .2rem 0 .2rem 1.5rem; border-left: 2px solid var(--gold-antique); font-style: italic; font-size: 1.35rem; }
.prose .body img { border-radius: var(--r); margin: 1.5rem 0; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.question { font-family: var(--serif); font-style: italic; font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.25; color: var(--teal); margin: 2rem 0; }
.question::before { content: ''; display: block; width: 3rem; height: 1px; background: var(--gold-antique); margin-bottom: 1.2rem; }
.stack-lines p { margin-bottom: .35em; }
.def { border: 1px solid var(--teal-line); padding: 1.4rem 1.6rem; border-radius: var(--r); margin-top: 2rem; max-width: 38rem; }
.def dt { font-family: var(--display); color: var(--gold); letter-spacing: .14em; text-transform: uppercase; font-size: .85rem; margin-bottom: .4rem; }
.def dt span { font-family: var(--arabic); font-size: 1.4rem; letter-spacing: 0; margin-left: .6rem; text-transform: none; }
.def dd { margin: 0; color: var(--cream); }

/* ── Pillars ───────────────────────────────────────────────────────────── */
.pillars { list-style: none; padding: 0; margin: 3rem 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--teal-line); }
.pillar { padding: 2rem 1.6rem 1.8rem; border-right: 1px solid var(--teal-line); }
.pillar:last-child { border-right: 0; }
.pillar svg { width: 2.6rem; height: 2.6rem; color: var(--gold); margin-bottom: 1.3rem; }
.pillar h3 { color: var(--gold); font-size: 1.15rem; letter-spacing: .16em; text-transform: uppercase; }
.pillar p { color: var(--cream); font-size: 1.08rem; margin: 0; }
.quote-line { margin: 3.5rem auto 0; max-width: 40rem; text-align: center; font-style: italic; font-size: 1.45rem; color: var(--cream); }
.quote-line::before, .quote-line::after { content: ''; display: block; width: 2.5rem; height: 1px; background: var(--gold-antique); margin: 1.2rem auto; }

/* ── Ways (what we do) ─────────────────────────────────────────────────── */
.ways { list-style: none; padding: 0; margin: 2.5rem 0 0; counter-reset: way; }
.ways li { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 1rem; padding: 1.5rem 0; border-top: 1px solid rgba(19, 42, 46, .14); }
.ways li:last-child { border-bottom: 1px solid rgba(19, 42, 46, .14); }
.ways li::before { counter-increment: way; content: counter(way, upper-roman); font-family: var(--display); color: var(--gold-ink); font-size: 1.1rem; letter-spacing: .1em; padding-top: .2rem; }
.ways h3 { font-size: 1.15rem; letter-spacing: .08em; margin: 0 0 .3rem; }
.ways p { margin: 0; color: var(--slate); }
.ways .soon { font-family: var(--display); font-size: .65rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); border: 1px solid currentColor; padding: .15rem .45rem; margin-left: .6rem; vertical-align: .2em; border-radius: 2px; }

.ways-dark li { border-color: var(--teal-line) !important; }
.ways-dark li::before, .ways-dark h3 { color: var(--gold); }
.ways-dark p { color: var(--mist); }
.join .tile-mark { width: 3.2rem; margin: 0 auto 1.6rem; color: var(--gold); }
.mark-meaning { width: 100%; height: auto; color: var(--gold); }

/* ── Cards ─────────────────────────────────────────────────────────────── */
.cards { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); gap: 1.6rem; }
.card { background: #fff; border: 1px solid rgba(19, 42, 46, .1); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; position: relative;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(10, 43, 49, .45); }
.card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--teal); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .9rem; color: var(--gold); background:
  radial-gradient(circle at 70% 30%, rgba(212, 175, 88, .12), transparent 55%), var(--teal); }
.tile-mark { width: 26%; height: auto; opacity: .9; }
.tile-date { font-family: var(--display); font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: var(--cream); }
.card-body { padding: 1.4rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card-title { font-size: 1.3rem; letter-spacing: .02em; margin: 0 0 .4rem; }
.card-title a { text-decoration: none; }
.card-title a::after { content: ''; position: absolute; inset: 0; }     /* the whole card is the link */
.card-speaker { font-style: italic; color: var(--slate); margin: 0 0 .5rem; }
.card-meta { display: flex; flex-wrap: wrap; gap: .25rem 1rem; font-size: .98rem; color: var(--slate); margin: 0 0 .8rem; }
.card-meta span + span::before, .card-meta time + span::before, .card-meta span + time::before { content: '·'; margin-right: 1rem; color: var(--gold-ink); }
.eyebrow-inline { font-family: var(--display); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); }
.card-text { color: var(--slate); font-size: 1.05rem; }
.card-more { margin: auto 0 0; padding-top: .6rem; font-family: var(--display); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); display: flex; align-items: center; gap: .5rem; }
.card-more a { position: relative; z-index: 1; }
.is-past .card-media { filter: saturate(.75); }

/* ── Feature (next event) ──────────────────────────────────────────────── */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); background: var(--teal); color: var(--cream); border-radius: var(--r); overflow: hidden; margin-top: 2.5rem; }
.feature-media { min-height: 22rem; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-media.tile .tile-mark { width: 30%; }
.feature-body { padding: clamp(1.8rem, 4vw, 3rem); }
.feature-title { color: var(--gold); font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .4rem; }
.feature-title a { text-decoration: none; }
.feature-sub { font-style: italic; font-size: 1.25rem; color: var(--cream); }
.feature-text { color: var(--cream); }
.facts { list-style: none; padding: 0; margin: 1.3rem 0 1.4rem; display: grid; gap: .55rem; }
.facts li { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); gap: .6rem; align-items: start; font-size: 1.05rem; }
.facts .ico { color: var(--gold); margin-top: .2rem; }
.band-light .facts .ico { color: var(--gold-ink); }

/* ── Talks (YouTube on press) ──────────────────────────────────────────── */
.yt { position: relative; background: #000; }
.yt-cover { display: block; position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--teal); color: var(--gold); }
.yt-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .3s; opacity: .92; }
.yt-cover .tile-mark { position: absolute; inset: 0; margin: auto; width: 22%; }
.yt-cover:hover img { transform: scale(1.03); opacity: 1; }
.yt-play { position: absolute; left: 50%; top: 50%; width: 4.4rem; height: 4.4rem; margin: -2.2rem 0 0 -2.2rem; border-radius: 50%; display: grid; place-items: center;
  background: rgba(10, 43, 49, .82); color: var(--gold); border: 1px solid var(--gold); transition: transform .3s var(--ease), background .3s; }
.yt-play svg { margin-left: 3px; }
.yt-cover:hover .yt-play { transform: scale(1.08); background: var(--gold); color: var(--teal-deep); }
.yt iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.yt-note { margin: 0; padding: .45rem .9rem; font-size: .85rem; color: var(--mist); background: var(--teal-deep); }
.talk-feature { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; margin-top: 2.5rem; }
.talk-feature .yt { border-radius: var(--r); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.talk-feature h3 { color: var(--gold); font-size: 1.7rem; }

/* ── Logo meaning ──────────────────────────────────────────────────────── */
.meaning-art { color: var(--gold); max-width: 24rem; margin-inline: auto; position: relative; }
.meaning-art .phi { position: absolute; right: -1.5rem; bottom: -1.2rem; font-family: var(--serif); font-style: italic; font-size: 4rem; color: var(--gold-antique); opacity: .6; }

/* ── Publication House ─────────────────────────────────────────────────── */
.books { list-style: none; padding: 0; margin: 3rem 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; }
.book { border: 1px solid rgba(212, 175, 88, .45); padding: 2.2rem 1.6rem 1.8rem; text-align: center; border-radius: var(--r); position: relative;
  background: linear-gradient(180deg, rgba(212, 175, 88, .06), transparent 60%); }
.book::before { content: ''; position: absolute; inset: .5rem; border: 1px solid rgba(212, 175, 88, .18); pointer-events: none; }
.book-n { font-family: var(--arabic); font-size: 2.4rem; color: var(--gold); line-height: 1; margin-bottom: 1rem; }
.book h3 { color: var(--gold); font-size: 1.2rem; letter-spacing: .1em; text-transform: uppercase; }
.book p { color: var(--cream); font-style: italic; margin-bottom: 1.2rem; }
.book .tag { font-family: var(--display); font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--mist); }

/* ── Verse ─────────────────────────────────────────────────────────────── */
.verse { text-align: center; max-width: 52rem; margin-inline: auto; }
.verse .ar { font-size: clamp(1.7rem, 3.6vw, 2.5rem); line-height: 2.1; color: var(--gold); margin: 0 0 1.6rem; }
.verse .translit { font-style: italic; color: var(--mist); font-size: 1.1rem; margin-bottom: 1.4rem; }
.verse .tr { font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.5; color: var(--cream); }
.verse cite { display: block; margin-top: 1.6rem; font-style: normal; font-family: var(--display); font-size: .75rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }

/* ── Person (founder) ──────────────────────────────────────────────────── */
.person { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.portrait { aspect-ratio: 4 / 5; border-radius: var(--r); background: var(--teal); color: var(--gold); display: grid; place-items: center; overflow: hidden; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait .tile-mark { width: 40%; }
.role { font-family: var(--display); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); }

/* ── Join (mailing CTA) ────────────────────────────────────────────────── */
.join { text-align: center; }
.join h2 { color: var(--gold); }
.join .lead { margin-inline: auto; color: var(--cream); }
.join .actions { justify-content: center; }

/* ── Pills (Journal filter) ────────────────────────────────────────────── */
.pills ul { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; }
.pill { display: inline-flex; gap: .4rem; padding: .4rem .9rem; border: 1px solid rgba(19, 42, 46, .25); border-radius: 99px; text-decoration: none; font-size: 1rem; }
.pill[aria-current] { background: var(--teal); color: var(--cream); border-color: var(--teal); }
.pill span { color: var(--slate); } .pill[aria-current] span { color: var(--mist); }
.prevnext { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(19, 42, 46, .14); }
.hero-fig { margin: 0 0 2rem; } .hero-fig img { border-radius: var(--r); width: 100%; max-height: 32rem; object-fit: cover; }

/* ── Event page ────────────────────────────────────────────────────────── */
.ev-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(16rem, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.ev-aside { position: sticky; top: 6rem; background: #fff; border: 1px solid rgba(19, 42, 46, .1); border-top: 3px solid var(--gold-antique); border-radius: var(--r); padding: 1.6rem; }
.ev-aside h2 { font-size: 1rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 1rem; }
.ev-aside .facts { margin-top: 0; }
.ev-aside .btn { width: 100%; }
.ev-aside .past-note { font-style: italic; color: var(--slate); margin: 0; }
.ev-hero { margin: 0 0 2rem; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 9; }
.ev-hero img { width: 100%; height: 100%; object-fit: cover; }
.ev-hero.tile .tile-mark { width: 18%; }
.page-head .subtitle { font-style: italic; font-size: clamp(1.25rem, 2.4vw, 1.6rem); color: var(--cream); margin: -.3rem 0 0; max-width: 44rem; }
.section-gap { margin-top: 4rem; }

/* ── Registering, calendar and share (v1.3) ──────────────────────────── */
.ev-aside:has(.rsvp-box) { position: static; }      /* a tall form must never be cut off by sticking */
.rsvp-box { margin-top: 1.4rem; padding-top: 1.3rem; border-top: 1px solid rgba(19, 42, 46, .12); }
.rsvp-box h3 { font-size: 1rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: .8rem; }
.rsvp .cf-field { margin-bottom: .8rem; }
.rsvp label { font-size: .95rem; }
.rsvp input[type=text], .rsvp input[type=email], .rsvp select { padding: .55rem .7rem; font-size: 1rem; }
.rsvp .ml-consent label { font-size: .92rem; }
.rsvp .cf-note { font-size: .85rem; margin: .7rem 0 .9rem; }
.rsvp .btn { width: 100%; }
.rsvp-left { margin: 0 0 .8rem; font-size: 1rem; color: var(--slate); }
.rsvp-left strong { color: var(--ink); font-size: 1.2rem; }
.rsvp-done { background: var(--parchment); border-left: 3px solid var(--gold-antique); padding: .8rem 1rem; }
.rsvp-done p { margin: 0 0 .3rem; font-size: 1rem; }
.cal-links { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); gap: .6rem; margin: 1.3rem 0 0; font-size: .98rem; }
.cal-links .ico { color: var(--gold-ink); margin-top: .2rem; }
.cal-links a { color: var(--teal); }
.share { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid rgba(19, 42, 46, .12); }
.share-h { font-family: var(--display); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 .6rem; }
.share ul { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; }
.share-btn { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .75rem; border: 1px solid rgba(19, 42, 46, .22); border-radius: 99px;
  background: none; font: inherit; font-size: .9rem; color: var(--ink); text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s; }
.share-btn:hover { background: var(--parchment-2); border-color: var(--gold-antique); }
.share-btn .ico { width: 1rem; height: 1rem; color: var(--gold-ink); }
.share-btn.is-copied { background: var(--teal); color: var(--cream); border-color: var(--teal); }

/* ── Contact ───────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; margin-top: 2.5rem; }
.form-card { background: #fff; border: 1px solid rgba(19, 42, 46, .1); border-radius: var(--r); padding: clamp(1.4rem, 3vw, 2.2rem); }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cf-field, .ml-field { margin-bottom: 1.1rem; }
label { display: block; font-size: 1rem; margin-bottom: .35rem; color: var(--ink); }
input[type=text], input[type=email], select, textarea { width: 100%; font: inherit; font-size: 1.08rem; color: var(--ink); background: var(--parchment);
  border: 1px solid rgba(19, 42, 46, .3); border-radius: var(--r); padding: .7rem .85rem; transition: border-color .2s, background .2s; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold-ink); outline-offset: 1px; background: #fff; }
textarea { resize: vertical; min-height: 9rem; }
.cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-note, .ml-note { font-size: .95rem; color: var(--slate); }
.cf-note a, .ml-note a { color: var(--teal); }
.cf-errors, .ml-errors { border-left: 3px solid #9B2C1F; background: #FBEDEA; padding: .8rem 1rem; margin-bottom: 1.2rem; color: #6E1A10; }
.cf-errors ul, .ml-errors ul { margin: .3rem 0 0; padding-left: 1.2rem; }
.cf-done h2 { font-size: 1.5rem; }
.ways-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.way { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); gap: .9rem; padding: 1.1rem 1.2rem; background: var(--parchment-2); border-radius: var(--r); }
.way .ico { width: 2.2rem; height: 2.2rem; padding: .45rem; border-radius: 50%; background: var(--teal); color: var(--gold); }
.way h3 { font-family: var(--serif); font-size: 1.15rem; letter-spacing: 0; margin: 0 0 .15rem; font-weight: 600; }
.way p { margin: 0; color: var(--slate); font-size: 1rem; }
.ml-consent { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; }
.ml-consent input { width: 1.2rem; height: 1.2rem; margin-top: .3rem; accent-color: var(--teal); }
.ml-consent label { font-size: 1rem; margin: 0; }
.ml-card { max-width: 36rem; }
.ml-card h2 { font-size: 1.6rem; }

h2.h-small { font-size: 1.4rem; margin-bottom: 1.2rem; }
.way h3 a { text-decoration: none; } .way h3 a:hover { text-decoration: underline; }

/* Mailing list dialog and banner (mailing.js) */
.ml-dialog { width: min(100% - 2rem, 32rem); border: 0; border-top: 3px solid var(--gold); border-radius: var(--r); padding: 2rem 1.8rem 1.6rem; background: var(--parchment); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); }
.ml-dialog::backdrop { background: rgba(10, 43, 49, .72); }
.ml-dialog .ml-h { font-size: 1.6rem; }
.ml-x { position: absolute; top: .6rem; right: .6rem; width: 2.5rem; height: 2.5rem; border: 0; background: none; font-size: 1.7rem; line-height: 1; cursor: pointer; color: inherit; border-radius: 50%; }
.ml-x:hover { background: rgba(19, 42, 46, .08); }
.ml-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 50; max-width: 46rem; margin-inline: auto; background: var(--teal-deep); color: var(--cream); border: 1px solid var(--teal-line);
  border-radius: var(--r); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6); animation: rise .5s var(--ease); }
@keyframes rise { from { transform: translateY(20px); opacity: 0; } }
.ml-banner-inner { display: flex; align-items: center; gap: 1.2rem; padding: 1rem 3.2rem 1rem 1.3rem; position: relative; }
.ml-banner-text { flex: 1; }
.ml-banner-h { font-family: var(--display); color: var(--gold); margin: 0; letter-spacing: .06em; }
.ml-banner-h em { font-family: var(--serif); }
.ml-banner-p { margin: 0; font-size: 1rem; color: var(--mist); }
.ml-banner .ml-x { color: var(--cream); }
.ml-banner .btn-primary, .btn-primary { display: inline-flex; align-items: center; justify-content: center; min-height: 2.9rem; padding: .7rem 1.4rem; background: var(--gold); color: var(--teal-deep);
  border: 0; border-radius: var(--r); font: 600 .78rem/1 var(--display); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.btn-primary:hover { background: var(--teal); color: var(--cream); }
.ml-banner .btn-primary:hover { background: var(--cream); color: var(--teal-deep); }

/* ── Footer (v1.1: logo, three round buttons, one line of links) ─────── */
.site-foot { background: var(--teal-deep); color: var(--mist); padding: 3.5rem 0 1.8rem; font-size: 1rem; }
.foot-top { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.site-foot .brand { color: var(--gold); text-decoration: none; }
.brand-foot .brand-mark { width: 3rem; height: 3rem; }
.social { list-style: none; display: flex; align-items: center; gap: .7rem; margin: 0; padding: 0; }
.social-btn { display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 50%; border: 1px solid var(--teal-line); color: var(--gold);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease); }
.social-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--teal-deep); transform: translateY(-2px); }
.social-btn .ico { width: 1.25rem; height: 1.25rem; }
.foot-join { margin-left: .4rem; min-height: 2.9rem; }
.foot-nav { margin-top: 2.2rem; padding: 1.4rem 0; border-top: 1px solid var(--teal-line); border-bottom: 1px solid var(--teal-line); }
.foot-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.8rem; margin: 0; padding: 0; }
.foot-nav a { font-family: var(--display); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--cream); text-decoration: none; }
.foot-nav a:hover { color: var(--gold); }
.foot-base { display: flex; justify-content: space-between; gap: .8rem 1.5rem; flex-wrap: wrap; padding-top: 1.3rem; font-size: .92rem; }
.foot-base p { margin: 0; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.site-foot .foot-base a { color: var(--mist); text-decoration-color: rgba(185, 201, 198, .35); }
.site-foot .foot-base a:hover { color: var(--cream); }

/* ── Moving wind (wind.js) behind the hero and page headings ───────────── */
.wind-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; pointer-events: none; }
.hero > :not(.wind-canvas), .page-head > :not(.wind-canvas):not(.head-spiral), .join > :not(.wind-canvas) { position: relative; z-index: 2; }
.join { overflow: hidden; }
.join::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(40rem 22rem at 50% 50%, rgba(14, 58, 67, .85), rgba(14, 58, 67, .35)); }
.hero::before { z-index: 1; background: linear-gradient(90deg, rgba(14, 58, 67, .82) 0%, rgba(14, 58, 67, .45) 50%, rgba(14, 58, 67, 0) 75%),
  radial-gradient(60rem 40rem at 78% 40%, rgba(212, 175, 88, .08), transparent 60%); }
.page-head::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(14, 58, 67, .85) 0%, rgba(14, 58, 67, .5) 55%, rgba(14, 58, 67, .2) 100%); }
.page-head .head-spiral { z-index: 1; }

/* ── The mark drawing itself, then a point of light travelling the spiral ─ */
.mark-big .m-frame, .mark-big .m-lines, .mark-big .m-spiral,
.meaning-art.in .m-frame, .meaning-art.in .m-lines, .meaning-art.in .m-spiral { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.4s var(--ease) forwards; }
.mark-big .m-lines, .meaning-art.in .m-lines { animation-delay: .5s; animation-duration: 2s; }
.mark-big .m-spiral, .meaning-art.in .m-spiral { animation-delay: 1s; animation-duration: 3.2s; }
.js .meaning-art:not(.in) .m-frame, .js .meaning-art:not(.in) .m-lines, .js .meaning-art:not(.in) .m-spiral { stroke-dashoffset: 1; stroke-dasharray: 1; }
.m-glint { stroke: var(--cream); stroke-width: 3.4; stroke-dasharray: .035 .965; stroke-dashoffset: 1; opacity: 0;
  filter: drop-shadow(0 0 2px rgba(243, 236, 221, .9)); animation: glint 7s linear 4.2s infinite; }
@keyframes glint { 0% { stroke-dashoffset: 1; opacity: 0; } 6% { opacity: .95; } 80% { opacity: .95; } 100% { stroke-dashoffset: -.02; opacity: 0; } }
.phi-note { font-size: 1rem; color: var(--mist); border-left: 1px solid var(--gold-antique); padding-left: 1rem; }

/* Small tables (cookie policy) */
.table-wrap { overflow-x: auto; margin: 1rem 0 1.6rem; }
table.plain { width: 100%; border-collapse: collapse; font-size: 1rem; }
table.plain th, table.plain td { text-align: left; vertical-align: top; padding: .65rem .8rem; border-bottom: 1px solid rgba(19, 42, 46, .14); }
table.plain th { font-family: var(--display); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); font-weight: 400; }
table.plain code { white-space: nowrap; font-size: .9em; background: var(--parchment-2); padding: .1rem .35rem; border-radius: 3px; }

/* ── Scroll reveal (site.js adds .in; nothing hides without JavaScript) ─ */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

.js .cards > li.reveal { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.js .cards > li.reveal.in { animation: card-in .9s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 90ms); }
@keyframes card-in { from { opacity: 0; transform: translateY(22px); } }

/* ── Smaller screens ───────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner, .split, .split-even, .feature, .talk-feature, .ev-layout, .contact-grid, .person { grid-template-columns: minmax(0, 1fr); }
  .hero-art { width: min(45%, 10rem); order: -1; justify-self: start; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillar:nth-child(2) { border-right: 0; }
  .pillar:nth-child(-n+2) { border-bottom: 1px solid var(--teal-line); }
  .books { grid-template-columns: minmax(0, 1fr); }
  .feature-media { min-height: 14rem; aspect-ratio: 16 / 9; }
  .ev-aside { position: static; }
  .person { gap: 1.5rem; } .portrait { max-width: 12rem; }
}
@media (max-width: 560px) {
  body { font-size: 1.125rem; }
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .pillar { border-right: 0; border-bottom: 1px solid var(--teal-line); }
  .cf-row { grid-template-columns: 1fr; }
  .brand-word { font-size: .82rem; }
  .ways li { grid-template-columns: 3rem minmax(0, 1fr); }
  .ml-banner-inner { flex-direction: column; align-items: flex-start; }
}

/* ── Motion and print ──────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .m-frame, .m-lines, .m-spiral { stroke-dashoffset: 0 !important; stroke-dasharray: none !important; }
  .m-glint { display: none; }
  .phyllo-wrap { opacity: .5; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-head, .site-foot, .ml-banner, .ml-dialog, .yt-play, .menu-btn { display: none !important; }
  body { background: #fff; color: #000; }
  .band-teal, .band-deep, .band-ox, .hero, .page-head, .feature { background: #fff !important; color: #000 !important; }
  .page-head h1, .hero h1, h2 em { color: #000 !important; }
}
