/* Tapestry Singers – one stylesheet for the whole site. */
:root {
  --night: #0f0d0c;
  --night-2: #1d1916;
  --paper: #ffffff;
  --cream: #f8f5ef;
  --ink: #26211e;
  --text: #4a4440;
  --muted: #857c73;
  --line: #e8e1d5;
  --gold: #bdac8e;
  --gold-light: #d9cdb6;
  --accent: #7a6845;          /* gold, darkened for text on white */
  --plum: #6d3b6b;            /* from the choir's corsages – used sparingly */
  --sans: 'Cabin', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --wrap: 72rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);   /* side margin */
  --section: clamp(3.5rem, 8vw, 6rem);     /* space between sections */
  --stack: 1.5rem;                         /* space between blocks inside a section */
  --radius: 4px;
  --thread: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='14' viewBox='0 0 120 14'%3E%3Cg fill='none' stroke='%23bdac8e' stroke-width='1.2'%3E%3Cpath d='M0 7 C15 0 15 14 30 7 S45 0 60 7 75 14 90 7 105 0 120 7'/%3E%3Cpath d='M0 7 C15 14 15 0 30 7 S45 14 60 7 75 0 90 7 105 14 120 7' opacity='.6'/%3E%3C/g%3E%3C/svg%3E");
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 1.0625rem/1.7 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

h1, h2, h3, h4, h5 { color: var(--ink); font-family: var(--sans); font-weight: 600; line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); text-transform: uppercase; letter-spacing: .16em; }
h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); text-transform: uppercase; letter-spacing: .12em; }
h3 { font-size: 1.25rem; letter-spacing: .02em; }
.h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: .14em; }
.h5 { font-size: .95rem; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
/* A button row after text always gets breathing room. */
.prose + p, .prose + .admin-row, p:has(> .btn), p:has(> .more) { margin-top: var(--stack); }
.section-head + *, h2 + .prose { margin-top: 0; }
.narrow { max-width: 46rem; }
.center { text-align: center; }
.small { font-size: .875rem; color: var(--muted); }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--gold); color: var(--night); padding: .5rem 1rem; }
.skip:focus { left: 1rem; }

.eyebrow { margin: 0 0 .5rem; color: var(--accent); font: 700 .78rem/1.4 var(--sans); text-transform: uppercase; letter-spacing: .24em; }
.eyebrow a { color: inherit; text-decoration: none; }
.lead, .prose.lead { font: italic 400 clamp(1.25rem, 2vw, 1.5rem)/1.5 var(--serif); color: var(--ink); }

.prose > :last-child { margin-bottom: 0; }
.prose h2 { font-size: 1.3rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.1rem; margin-top: 1.4em; text-transform: uppercase; letter-spacing: .1em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .25em 0; }
.prose blockquote { margin: 1.5em 0; padding-left: 1.2em; border-left: 2px solid var(--gold); font: italic 1.3rem/1.5 var(--serif); color: var(--ink); }

/* ---- Buttons ---- */
.btn { display: inline-block; padding: .8rem 1.6rem; border: 1px solid var(--gold); border-radius: var(--radius); background: var(--gold); color: var(--night);
  font: 700 .8rem/1 var(--sans); text-transform: uppercase; letter-spacing: .18em; text-decoration: none; cursor: pointer; transition: background .2s, color .2s; }
.btn:hover { background: var(--night); border-color: var(--night); color: #fff; }
.btn-light, .btn-ghost { background: transparent; }
.btn-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-light:hover { background: #fff; color: var(--night); border-color: #fff; }
.btn-ghost { color: var(--ink); }
.btn-small { padding: .55rem 1rem; font-size: .72rem; }
.more { font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; text-decoration: none; }
.more span { display: inline-block; transition: transform .2s; }
.more:hover span { transform: translateX(4px); }

/* ---- The thread: a woven gold line used as the site's signature ---- */
.thread { height: 14px; background: var(--thread) repeat-x center / 120px 14px; opacity: .9; }

/* ---- Masthead ---- */
.masthead { position: relative; z-index: 20; background: var(--night); color: #fff; }
.masthead-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: .9rem; }
.brand { display: flex; align-items: center; gap: .85rem; color: #fff; text-decoration: none; flex-shrink: 0; }
.brand-logo { width: 46px; height: auto; }
.brand-name { font: 600 1rem/1.15 var(--sans); text-transform: uppercase; letter-spacing: .32em; max-width: 11ch; }
.nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .2rem 1.6rem; }
.nav a { position: relative; color: rgba(255,255,255,.86); font: 600 .78rem/2.4 var(--sans); text-transform: uppercase; letter-spacing: .16em; text-decoration: none; }
.nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: .35rem; height: 1px; background: var(--gold); transition: right .25s; }
.nav a:hover, .nav a[aria-current] { color: var(--gold); }
.nav a:hover::after, .nav a[aria-current]::after { right: 0; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.nav-toggle > span:first-child, .nav-toggle > span:first-child::before, .nav-toggle > span:first-child::after {
  position: absolute; left: 11px; width: 22px; height: 2px; background: var(--gold); content: ''; transition: .25s; }
.nav-toggle > span:first-child { top: 21px; }
.nav-toggle > span:first-child::before { left: 0; top: -7px; }
.nav-toggle > span:first-child::after { left: 0; top: 7px; }
.nav-open .nav-toggle > span:first-child { background: transparent; }
.nav-open .nav-toggle > span:first-child::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle > span:first-child::after { top: 0; transform: rotate(-45deg); }
.masthead > .thread { position: absolute; left: 0; right: 0; bottom: -7px; }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; padding: .5rem 1.25rem 1.25rem; background: var(--night-2);
    border-top: 1px solid rgba(189,172,142,.3); display: none; }
  .nav-open .nav { display: flex; }
  .nav a { line-height: 3; border-bottom: 1px solid rgba(255,255,255,.07); }
  .nav a::after { display: none; }
}

.flash { width: min(var(--wrap), 100% - 2rem); margin: 1.5rem auto 0; padding: .8rem 1.1rem; background: var(--cream); border-left: 3px solid var(--gold); color: var(--ink); }

/* ---- Hero ---- */
.hero { position: relative; min-height: min(84vh, 46rem); display: grid; align-items: end; color: #fff; background: var(--night); overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,13,12,.15) 0%, rgba(15,13,12,.25) 45%, rgba(15,13,12,.85) 100%); pointer-events: none; }
.hero-text { position: relative; z-index: 2; padding-block: 4rem 3.5rem; }
.hero-kicker { margin: 0 0 .9rem; color: var(--gold-light); font: 700 .8rem var(--sans); text-transform: uppercase; letter-spacing: .3em; }
.hero-title { color: #fff; font-size: clamp(2.3rem, 7vw, 5.4rem); letter-spacing: .2em; font-weight: 600; margin-bottom: .2em; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.hero-tag { max-width: 34rem; font: italic 400 clamp(1.3rem, 2.4vw, 1.75rem)/1.4 var(--serif); color: rgba(255,255,255,.92); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 0; }
.editing .hero::after { pointer-events: none; }
.editing .hero .img-edit { top: 4rem; }

/* ---- Sections ---- */
main { display: block; }
.page-head { padding-block: clamp(3rem, 7vw, 5rem) clamp(2rem, 4vw, 3rem); max-width: 52rem; margin-inline: auto; text-align: center; }
section.page-head { margin-bottom: 0; }
.page-head h1 { margin-bottom: .45em; }
.page-head .lead { margin: 0 auto; max-width: 40rem; }
.section-head { text-align: center; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2 { margin: 0; }
.band { margin-block: var(--section); padding-block: var(--section); background: var(--cream); }
.band + .band, .band + .quote-band, .quote-band + .band { margin-top: 0; }
.band:last-child, .strip:last-child { margin-bottom: calc(-1 * var(--section)); }
section.wrap { margin-bottom: var(--section); }
section.wrap + .band { margin-top: 0; }
.quote-band { margin-bottom: var(--section); }
.quote-band:has(+ .band), .quote-band:last-child { margin-bottom: 0; }

.intro { max-width: 50rem; padding-top: var(--section); text-align: center; }
.weave { height: 14px; width: 180px; margin: 0 auto 2rem; background: var(--thread) repeat-x center / 60px 14px; }
.intro-lead { font: italic 400 clamp(1.6rem, 3.2vw, 2.4rem)/1.35 var(--serif); color: var(--ink); text-transform: none; letter-spacing: 0; }
.intro-body { font-size: 1.1rem; }

.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(1.5rem, 5vw, 4.5rem); align-items: center; }
.split-text { align-items: start; }
.split-text .intro-lead { font-size: clamp(1.45rem, 2.6vw, 2rem); }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

.wide-figure { margin: 0; }
.wide-figure img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; border-radius: var(--radius); }

/* Tiles */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 760px) { .trio { grid-template-columns: 1fr; } }
.tile { display: block; color: var(--text); text-decoration: none; }
.tile-img { display: block; position: relative; overflow: hidden; border-radius: var(--radius); margin-bottom: 1.1rem; }
.tile-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s ease; }
.tile:hover .tile-img img { transform: scale(1.04); }
.tile-title { display: block; color: var(--ink); font: 600 1.05rem var(--sans); text-transform: uppercase; letter-spacing: .14em; margin-bottom: .3rem; }
.tile-text { display: block; }

/* Quotes */
.quote-band { padding-block: clamp(3.5rem, 8vw, 6rem); background: var(--night); color: #fff; text-align: center; position: relative; }
.quote-band::before { content: '“'; display: block; color: var(--gold); font: 400 5rem/0.6 var(--serif); margin-bottom: 1rem; }
.quote-band blockquote { margin: 0 0 1.2rem; font: italic 400 clamp(1.4rem, 2.8vw, 2.1rem)/1.4 var(--serif); }
.quote-band figcaption, .quote figcaption { color: var(--gold); font: 700 .75rem var(--sans); text-transform: uppercase; letter-spacing: .22em; }
.quote-band figure { margin-inline: auto; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 760px) { .quotes { grid-template-columns: 1fr; } }
.quote { margin: 0; padding: 1.8rem 1.6rem; background: var(--cream); border-top: 2px solid var(--gold); }
.quote blockquote { margin: 0 0 1rem; font: italic 400 1.3rem/1.45 var(--serif); color: var(--ink); }

/* Musical director */
.md { display: grid; grid-template-columns: minmax(14rem, 1fr) 2fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.md-portrait { margin: 0; position: relative; }
.md-portrait img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.md-portrait::after { content: ''; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--gold); border-radius: var(--radius); z-index: -1; }
.md { position: relative; z-index: 0; }
@media (max-width: 760px) { .md { grid-template-columns: 1fr; } .md-portrait { max-width: 20rem; } }

/* ---- Events ---- */
.event { display: grid; grid-template-columns: 16rem 1fr; gap: 1.75rem; padding-block: 1.75rem; border-bottom: 1px solid var(--line); }
.event:first-of-type { border-top: 1px solid var(--line); }
.band .event { border-color: var(--gold-light); }
.event-media img, .event-placeholder { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--cream); }
.event-placeholder { display: block; background: var(--night) var(--thread) repeat-x center / 80px 14px; }
.event-body { display: flex; gap: 1.5rem; align-items: flex-start; }
.event-date { flex: 0 0 4.5rem; margin: 0; text-align: center; color: var(--ink); border: 1px solid var(--gold); padding: .5rem 0 .4rem; }
.event-date time { display: block; }
.event-date .d { display: block; font: 500 2.1rem/1 var(--serif); }
.event-date .m { display: block; font: 700 .72rem var(--sans); text-transform: uppercase; letter-spacing: .2em; color: var(--accent); }
.event-date .y { display: block; font-size: .72rem; color: var(--muted); }
.event-title { margin-bottom: .3rem; font-size: 1.3rem; }
.event-title a { color: var(--ink); text-decoration: none; }
.event-title a:hover { color: var(--accent); }
.event-meta { color: var(--muted); font-size: .92rem; margin-bottom: .6rem; }
.event-charity { font: italic 1.1rem var(--serif); color: var(--plum); }
.event-big { grid-template-columns: 1.2fr 1fr; }
.event-big .event-title { font-size: 1.7rem; }
.event-big .event-media img { aspect-ratio: 3 / 2; }
.event.is-past { opacity: .92; }
@media (max-width: 760px) {
  .event, .event-big { grid-template-columns: 1fr; gap: 1rem; }
  .event-date { flex-basis: 3.8rem; }
}

.archive-years { text-align: center; padding-top: 1rem; }
.archive-years nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.archive-years a { padding: .35rem .9rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9rem; }
.archive-years a:hover, .archive-years a[aria-current] { border-color: var(--gold); background: var(--gold); color: var(--night); }
.empty { padding: 2rem; text-align: center; background: var(--cream); border-radius: var(--radius); }

/* Single post */
.post .page-head h1 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); letter-spacing: .08em; }
.post-grid { display: grid; grid-template-columns: 1fr 20rem; gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.post-grid > .post-main:only-child { grid-column: 1 / -1; max-width: 46rem; margin-inline: auto; }
.post-figure { margin: 0 0 2rem; }
.post-figure img { width: 100%; border-radius: var(--radius); }
.post-side { position: sticky; top: 1.5rem; }
.ticket { padding: 1.75rem 1.5rem; background: var(--night); color: rgba(255,255,255,.85); border-radius: var(--radius); }
.ticket a:not(.btn) { color: var(--gold-light); }
.ticket-date { margin: 0 0 1.2rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(189,172,142,.4); text-align: center; }
.ticket-date .d { display: block; font: 500 3.4rem/1 var(--serif); color: #fff; }
.ticket-date .m { font: 700 .78rem var(--sans); text-transform: uppercase; letter-spacing: .22em; color: var(--gold); }
.ticket dl { margin: 0 0 1.2rem; }
.ticket dt { color: var(--gold); font: 700 .7rem var(--sans); text-transform: uppercase; letter-spacing: .2em; margin-top: .9rem; }
.ticket dd { margin: .15rem 0 0; }
.ticket .small { color: rgba(255,255,255,.6); margin: 0; }
@media (max-width: 860px) { .post-grid { grid-template-columns: 1fr; } .post-side { position: static; order: -1; } }

/* ---- Listen ---- */
.videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem 2rem; }
@media (max-width: 760px) { .videos { grid-template-columns: 1fr; } }
.video { margin: 0; }
.yt { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: var(--night); cursor: pointer; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .88; transition: opacity .3s, transform .6s; }
.yt:hover img { opacity: 1; transform: scale(1.03); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.play { position: absolute; left: 50%; top: 50%; width: 4.5rem; height: 4.5rem; transform: translate(-50%, -50%); border-radius: 50%;
  background: rgba(15,13,12,.7); border: 1px solid var(--gold); transition: background .2s; }
.play::after { content: ''; position: absolute; left: 54%; top: 50%; transform: translate(-50%, -50%); border-style: solid; border-width: .7rem 0 .7rem 1.15rem; border-color: transparent transparent transparent var(--gold); }
.yt:hover .play { background: var(--gold); }
.yt:hover .play::after { border-left-color: var(--night); }
.video figcaption { padding-top: 1rem; }
.video-title { font-size: 1.1rem; margin-bottom: .2rem; }
.video-note { color: var(--muted); font-size: .95rem; }

/* ---- Gallery ---- */
.albums { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 2rem 1.5rem; }
.album { display: block; color: var(--text); text-decoration: none; }
.album-frame { display: block; overflow: hidden; border-radius: var(--radius); margin-bottom: .9rem; box-shadow: 8px 8px 0 var(--cream); }
.album-frame img, .album-frame .event-placeholder { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s; }
.album:hover img { transform: scale(1.04); }
.album-title { display: block; color: var(--ink); font: 600 1rem var(--sans); text-transform: uppercase; letter-spacing: .12em; }
.album-meta { font-size: .88rem; color: var(--muted); }
.photos { columns: 3 16rem; column-gap: 1rem; }
.photo { margin: 0 0 1rem; break-inside: avoid; }
.photo img { width: 100%; border-radius: 2px; }
.photo figcaption { font-size: .88rem; color: var(--muted); padding-top: .35rem; }
.strip { display: grid; grid-template-columns: repeat(6, 1fr); }
.strip img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: saturate(.85); transition: filter .3s; }
.strip a:hover img { filter: none; }
@media (max-width: 760px) { .strip { grid-template-columns: repeat(3, 1fr); } }

.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(15,13,12,.96); color: #fff; }
.lightbox[open] { display: grid; grid-template-columns: 4rem 1fr 4rem; align-items: center; }
.lightbox figure { margin: 0; text-align: center; }
.lightbox img { max-width: 100%; max-height: 86vh; margin: 0 auto; object-fit: contain; }
.lightbox figcaption { padding-top: .8rem; font: italic 1.15rem var(--serif); color: var(--gold-light); }
.lightbox button { background: none; border: 0; color: #fff; font-size: 2.6rem; cursor: pointer; height: 100%; opacity: .7; }
.lightbox button:hover { opacity: 1; color: var(--gold); }
.lb-close { position: absolute; top: .5rem; right: 1rem; height: auto !important; }

/* ---- Charities ---- */
.total { text-align: center; }
.total-figure { margin: 0; font: 500 clamp(3rem, 8vw, 5.5rem)/1 var(--serif); color: var(--ink); }
.total-label { color: var(--accent); font: 700 .8rem var(--sans); text-transform: uppercase; letter-spacing: .22em; }
.charities { display: grid; gap: 0; }
.charity { display: grid; grid-template-columns: 11rem 1fr; gap: 2rem; padding-block: 2rem; border-bottom: 1px solid var(--line); }
.charity:first-child { border-top: 1px solid var(--line); }
.charity-logo img { width: 100%; max-height: 11rem; object-fit: contain; }
.charity-name { font-size: 1.35rem; letter-spacing: .08em; }
.charity-raised { font: italic 1.2rem var(--serif); color: var(--plum); margin: .6rem 0; }
@media (max-width: 600px) { .charity { grid-template-columns: 1fr; gap: 1rem; } .charity-logo img { max-width: 10rem; } }

/* ---- Contact & forms ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.feature { margin-bottom: 2.5rem; }
.feature-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); margin-bottom: 1.2rem; }
.contact-form { padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--cream); border-top: 2px solid var(--gold); }
.form label, .form .field { display: block; margin-bottom: 1.1rem; color: var(--ink); font-weight: 600; font-size: .92rem; }
.form .label { display: block; margin-bottom: .3rem; }
.form small { font-weight: 400; color: var(--muted); }
input, textarea, select { width: 100%; margin-top: .3rem; padding: .7rem .8rem; border: 1px solid #d6cdbd; border-radius: var(--radius); background: #fff; color: var(--ink); font: 400 1rem var(--sans); }
input[type=radio], input[type=checkbox] { width: auto; margin: 0 .4rem 0 0; accent-color: var(--accent); }
input[type=file] { padding: .5rem; background: transparent; }
input:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }
fieldset.kinds { border: 0; padding: 0; margin: 0 0 1.2rem; }
fieldset.kinds legend { font-weight: 600; color: var(--ink); margin-bottom: .4rem; font-size: .92rem; }
fieldset.kinds label { display: inline-flex; align-items: center; margin: 0 1.2rem .4rem 0; font-weight: 400; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 0 1rem; }
.error { color: #9b2c1f; font-weight: 600; }
.sent { text-align: center; padding: 2rem 0; }

/* ---- Footer ---- */
.footer { position: relative; margin-top: var(--section); background: var(--night); color: rgba(255,255,255,.7); font-size: .95rem; line-height: 1.6; }
.footer > .thread { position: absolute; top: -7px; left: 0; right: 0; }
.footer a { color: rgba(255,255,255,.82); text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--gold); }
.footer-sig { padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem; text-align: center; border-bottom: 1px solid rgba(189,172,142,.18); }
.footer-sig img { width: 44px; margin: 0 auto 1rem; }
.footer-name { margin: 0 0 .4rem; color: #fff; font: 600 1rem var(--sans); text-transform: uppercase; letter-spacing: .32em; }
.footer-line { margin: 0 auto; max-width: 30rem; font: italic 1.2rem/1.4 var(--serif); color: var(--gold-light); }
.footer-grid { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 2.5rem clamp(2rem, 5vw, 4rem); padding-block: 2.75rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :nth-child(2) { grid-column: 1 / -1; order: -1; } }
.footer-h { color: var(--gold); font-size: .72rem; letter-spacing: .26em; margin-bottom: 1.1rem; }
.footer-list, .footer-follow ul { list-style: none; margin: 0; padding: 0; }
.footer-list li, .footer-follow li { margin: 0 0 .55rem; }
.footer .prose p { margin-bottom: .8rem; }
.footer-cta { margin: 1.4rem 0 0; }
.footer .btn-ghost { color: #fff; border-color: rgba(189,172,142,.7); }
.footer .btn-ghost:hover { background: var(--gold); color: var(--night); border-color: var(--gold); }
/* Social links get an icon from their address, so editors only ever edit a plain list of links. */
.footer-follow a { display: inline-flex; align-items: center; gap: .65rem; }
.footer-follow a::before { content: ''; width: 1.1rem; height: 1.1rem; flex: none; background: currentColor; opacity: .85;
  -webkit-mask: var(--icon, none) center / contain no-repeat; mask: var(--icon, none) center / contain no-repeat; }
.footer-follow a:not([href*="facebook"]):not([href*="instagram"]):not([href*="youtube"]):not([href*="twitter"]):not([href*="x.com"])::before { display: none; }
.footer-follow a[href*="facebook"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 8h3V4h-3c-2.8 0-4 1.7-4 4.3V10H7v4h3v8h4v-8h3l1-4h-4V8.6c0-.4.3-.6.7-.6z'/%3E%3C/svg%3E"); }
.footer-follow a[href*="instagram"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='.5' fill='black'/%3E%3C/svg%3E"); }
.footer-follow a[href*="youtube"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M22 8.2a3 3 0 0 0-2.1-2.1C18 5.6 12 5.6 12 5.6s-6 0-7.9.5A3 3 0 0 0 2 8.2 31 31 0 0 0 1.6 12 31 31 0 0 0 2 15.8a3 3 0 0 0 2.1 2.1c1.9.5 7.9.5 7.9.5s6 0 7.9-.5a3 3 0 0 0 2.1-2.1c.3-1.2.4-2.5.4-3.8s-.1-2.6-.4-3.8zM10 15V9l5.2 3z'/%3E%3C/svg%3E"); }
.footer-follow a[href*="twitter"], .footer-follow a[href*="x.com"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.7 3h3.1l-6.8 7.7L22 21h-6.2l-4.9-6.4L5.3 21H2.2l7.3-8.3L2 3h6.4l4.4 5.8zm-1.1 16.2h1.7L7.5 4.7H5.7z'/%3E%3C/svg%3E"); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-block: 1.25rem 1.5rem; border-top: 1px solid rgba(189,172,142,.18); font-size: .8rem; color: rgba(255,255,255,.45); letter-spacing: .04em; }
.footer-base p { margin: 0; }
.footer-base a { color: rgba(255,255,255,.45); }

/* ---- Motion ---- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.editing .reveal, .no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } .reveal { opacity: 1; transform: none; } }

@media print { .masthead nav, .nav-toggle, .footer, .adminbar, .hero-actions { display: none; } body { color: #000; } }
