/* AGIFNA 2027 — shared styles for index.html and speakers.html */

:root{
  --deep:#063a48;        /* deep lagoon — the dark tone */
  --deep-2:#0b4b5c;      /* raised surface on dark */
  --deep-3:#042b36;      /* footer, one step darker so it separates from a dark section above */
  --line:#236273;        /* rules on dark */
  --mist:#b3d0d5;        /* secondary text on dark */
  --sea:#0095b2;         /* poster teal — secondary accent */
  --shore:#f3f7f5;       /* the light tone */
  --ink:#0a2029;         /* text on light */
  --ink-soft:#4b6168;
  --gold:#fcb400;        /* the accent */
  --serif:"Instrument Serif", Georgia, "Times New Roman", serif;
  --sans:"Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap:1120px;
  --pad:clamp(4.5rem,10vw,8rem);          /* vertical padding of every section */
  --head-gap:clamp(2.5rem,5vw,4rem);      /* space between a section's heading and its content */
  --ease:cubic-bezier(.2,.7,.2,1);
}

/* ---------- the two tones ----------
   Every section is either .tone-dark or .tone-light and they alternate down the page.
   Components read these variables instead of hard-coding colours, so a section can switch tone by class alone. */
.tone-dark{
  --bg:var(--deep); --fg:#e4eef0; --fg-strong:#fff; --fg-soft:var(--mist);
  --rule:var(--line); --rule-strong:rgba(255,255,255,.75); --link:var(--gold); --ph:var(--deep-2);
  background:var(--bg); color:var(--fg);
}
.tone-light{
  --bg:var(--shore); --fg:var(--ink); --fg-strong:var(--ink); --fg-soft:var(--ink-soft);
  --rule:#cddbda; --rule-strong:var(--ink); --link:#006c82; --ph:#dfe8e7;
  background:var(--bg); color:var(--fg);
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-padding-top:calc(5.5rem + env(safe-area-inset-top,0px))}
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
body{
  margin:0;
  font-family:var(--sans);
  font-size:1.0625rem;
  line-height:1.6;
  color:#e4eef0;
  background:var(--deep);
  padding-bottom:env(safe-area-inset-bottom,0px);
}
img{max-width:100%;display:block}
a{color:inherit}
a:focus-visible,button:focus-visible{outline:3px solid var(--gold);outline-offset:3px;border-radius:2px}

.wrap{width:min(100% - 2.5rem, var(--wrap));margin-inline:auto}
.section{padding-block:var(--pad)}
.skip{position:absolute;left:-999px;top:0;background:var(--gold);color:var(--ink);padding:.6rem 1rem;z-index:30}
.skip:focus{left:1rem;top:1rem}

/* ---------- header ----------
   Sticky on every page. Over the hero it starts transparent and turns solid once you scroll (.is-scrolled, set in site.js). */
.site-head{
  position:sticky;top:0;z-index:20;
  padding-top:env(safe-area-inset-top,0px);
  background:var(--deep);
  transition:background-color .35s var(--ease), box-shadow .35s var(--ease);
}
.has-hero .site-head{position:fixed;left:0;right:0;background:transparent}
.site-head.is-scrolled{
  background:rgba(6,58,72,.9);
  -webkit-backdrop-filter:saturate(1.4) blur(12px);backdrop-filter:saturate(1.4) blur(12px);
  box-shadow:0 1px 0 rgba(255,255,255,.08), 0 8px 30px rgba(2,28,36,.25);
}
.site-head .wrap{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-block:1.1rem;transition:padding .35s var(--ease)}
.site-head.is-scrolled .wrap{padding-block:.55rem}
.brand{display:inline-flex;align-items:center;gap:.9rem;font-family:var(--serif);font-size:1.3rem;line-height:1.08;text-decoration:none;letter-spacing:.005em;color:#fff}
.brand img{width:76px;height:76px;flex:none;filter:drop-shadow(0 2px 10px rgba(2,28,36,.35));transition:width .35s var(--ease),height .35s var(--ease)}
.site-head.is-scrolled .brand img{width:52px;height:52px}
/* the full name needs room; below 820px the badge carries it alone (the words stay for screen readers) */
@media (max-width:820px){.brand-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}}
.nav{display:flex;align-items:center;gap:1.4rem;font-size:.95rem}
.nav a{text-decoration:none;color:var(--mist)}
.nav a:hover,.nav a[aria-current="page"]{color:#fff}
.nav a[aria-current="page"]{text-decoration:underline;text-decoration-color:var(--gold);text-underline-offset:.35em}
/* Contact dropdown — opens on hover or keyboard focus; the caret button opens it on touch (site.js).
   Without JS the Contact link still goes to contact.html, which carries the form download too. */
.nav-menu{position:relative;display:flex;align-items:center}
.nav-caret{
  width:1.4rem;height:1.6rem;margin-left:.1rem;padding:0;border:0;background:transparent;cursor:pointer;color:var(--mist);
  display:inline-flex;align-items:center;justify-content:center;
}
.nav-caret::before{content:"";width:.42rem;height:.42rem;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform .25s var(--ease)}
.nav-caret[aria-expanded="true"]::before{transform:translateY(2px) rotate(225deg)}
.nav-menu:hover .nav-caret,.nav-caret:focus-visible{color:#fff}
.submenu{
  position:absolute;top:calc(100% + .6rem);right:-.5rem;min-width:15rem;margin:0;padding:.4rem;list-style:none;
  background:#fff;border-radius:8px;box-shadow:0 18px 40px -12px rgba(2,28,36,.45);
  opacity:0;visibility:hidden;transform:translateY(-6px);transition:opacity .2s var(--ease),transform .2s var(--ease),visibility 0s .2s;
}
.submenu::before{content:"";position:absolute;left:0;right:0;top:-.7rem;height:.7rem}   /* keeps hover alive across the gap */
.nav-menu:hover .submenu,.nav-menu:focus-within .submenu,.nav-menu.is-open .submenu{opacity:1;visibility:visible;transform:none;transition-delay:0s}
.nav-menu.is-dismissed .submenu{opacity:0;visibility:hidden;transform:translateY(-6px)}
.submenu a{display:block;padding:.6rem .8rem;border-radius:6px;color:var(--ink);text-decoration:none;font-size:.92rem;white-space:nowrap}
.submenu a:hover,.submenu a:focus-visible{background:#eef4f3;color:var(--ink)}
.nav .submenu a{color:var(--ink)}

/* phones: the badge already says AGIFNA — keep the words for screen readers only */
@media (max-width:560px){
  .brand img{width:58px;height:58px}
  .site-head.is-scrolled .brand img{width:44px;height:44px}
  .nav{gap:.85rem;font-size:.88rem}
  .nav .btn{padding:.45rem .8rem}
}
/* very narrow phones: the badge already links home, so the Home link steps aside */
@media (max-width:400px){
  .brand img{width:44px;height:44px}
  .nav{gap:.55rem;font-size:.82rem}
  .nav a[href="./"]{display:none}
  .nav .btn{padding:.42rem .7rem}
  .submenu{right:-5.9rem}
}

.btn{
  display:inline-block;
  background:var(--gold);color:var(--ink);
  padding:.7rem 1.25rem;border-radius:999px;
  border:0;cursor:pointer;font:inherit;font-weight:600;text-decoration:none;
  transition:background-color .2s, transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover{background:#ffc733;transform:translateY(-1px);box-shadow:0 6px 18px rgba(252,180,0,.28)}
.btn:active{transform:none;box-shadow:none}
.nav .btn{color:var(--ink);padding:.5rem 1rem}
.btn-quiet{background:transparent;color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.35)}
.btn-line{background:transparent;color:var(--fg-strong);box-shadow:inset 0 0 0 1px var(--rule-strong)}
.btn-line:hover{background:rgba(10,32,41,.05)}
.btn-quiet:hover{background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px rgba(255,255,255,.6)}

/* ---------- hero: the crossing ---------- */
.hero{
  --hero-image:url(photos/florida-aerial.jpg);
  position:relative;
  overflow:hidden;
  padding:clamp(8rem,18vh,11rem) 0 clamp(4rem,10vh,6.5rem);
  min-height:min(100svh,920px);
  display:flex;align-items:flex-end;
  background:
    linear-gradient(180deg, rgba(3,34,44,.55) 0%, rgba(3,34,44,0) 22%, rgba(3,34,44,0) 45%, rgba(4,44,56,.9) 90%),
    linear-gradient(90deg, rgba(3,34,44,.62) 0%, rgba(3,34,44,.18) 60%, rgba(3,34,44,.05) 100%),
    var(--hero-image, none) center 40%/cover no-repeat,
    radial-gradient(120% 70% at 50% 110%, #12495a 0%, var(--deep) 60%);
}
.hero video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;opacity:.55}
.hero .wrap{position:relative;z-index:1}
.hero .theme,.hero .when{text-shadow:0 2px 30px rgba(2,28,36,.55)}
.hero-org{color:var(--gold);font-weight:600;font-size:clamp(1.05rem,1.6vw,1.25rem);letter-spacing:.01em;margin:0 0 clamp(1.25rem,3vh,2rem);padding-left:.06em}

.theme{font-family:var(--serif);font-weight:400;line-height:.92;font-size:clamp(3.4rem,11vw,8.5rem);margin:0;letter-spacing:-.01em;color:#fff}
.theme .shore{display:block}
.theme .far{text-align:right}
/* the water between the two shores: the line draws left to right in two halves,
   then opens in the middle and "to" surfaces in the gap */
.theme .water{display:flex;align-items:center;margin:clamp(.1rem,.6vw,.4rem) 0}
.theme .seg{flex:1 1 0;height:2px;background:var(--gold);transform-origin:left center}
.theme .seg:first-child{animation:cross .6s .3s cubic-bezier(.55,0,1,.45) both}
.theme .seg:last-child{animation:cross .6s .9s cubic-bezier(0,.55,.45,1) both}
.theme .to{
  font-style:italic;font-size:.42em;line-height:1;white-space:nowrap;overflow:hidden;
  max-width:0;padding:0;opacity:0;
  animation:open .8s 1.55s var(--ease) forwards;
}
@keyframes open{to{max-width:4em;padding:0 .5em;opacity:1}}
@keyframes cross{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.theme .shore:first-child{animation:rise 1s .1s var(--ease) both}
.theme .far{animation:arrive .9s 1.9s var(--ease) both}
@keyframes rise{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@keyframes arrive{from{opacity:0;transform:translateX(24px)}to{opacity:1;transform:none}}
.hero-org,.ref,.hero-meta{animation:rise 1s var(--ease) both}
.hero-org{animation-delay:.05s}
.ref{animation-delay:2.15s}
.hero-meta{animation-delay:2.35s}

.ref{display:flex;justify-content:flex-end;margin:1rem 0 0;color:var(--gold);font-size:1rem}

.hero-meta{margin-top:clamp(2.5rem,6vh,4rem);display:grid;grid-template-columns:1fr auto;gap:1.5rem 2rem;align-items:end}
.hero-meta p{margin:0;font-size:1.15rem;line-height:1.45;padding-left:.06em}   /* nudges sans text onto the serif C's optical edge */
.hero-meta .event-name{font-size:clamp(1.9rem,3.8vw,2.9rem);font-weight:600;line-height:1;letter-spacing:.01em;color:var(--gold);margin-bottom:.6rem;padding-left:0}
.hero-meta .when{font-family:var(--serif);font-size:clamp(1.6rem,3.2vw,2.2rem);line-height:1.15;color:#fff}
.hero-actions{display:flex;flex-wrap:wrap;gap:.75rem}
@media (max-width:720px){.hero-meta{grid-template-columns:1fr}}

/* a quiet cue that the page continues */
.scroll-cue{
  position:absolute;left:50%;bottom:1.25rem;z-index:1;width:1px;height:44px;margin-left:-.5px;
  background:linear-gradient(180deg,rgba(255,255,255,0),rgba(255,255,255,.7));
  animation:cue 2.4s 2.6s ease-in-out infinite both;
}
@keyframes cue{0%{transform:scaleY(0);transform-origin:top;opacity:0}40%{transform:scaleY(1);transform-origin:top;opacity:1}60%{transform:scaleY(1);transform-origin:bottom}100%{transform:scaleY(0);transform-origin:bottom;opacity:0}}
@media (max-width:720px){.scroll-cue{display:none}}

/* ---------- section headings ---------- */
.section-title{font-family:var(--serif);font-weight:400;font-size:clamp(2.2rem,5vw,3.4rem);line-height:1.05;margin:0;color:var(--fg-strong)}
.section-lede{margin:.9rem 0 0;max-width:52ch;color:var(--fg-soft)}
.section-head{margin-bottom:var(--head-gap)}

/* ---------- scripture ---------- */
.verse .grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:clamp(2rem,6vw,5.5rem);align-items:center}
.verse blockquote{margin:0}
.verse blockquote p{font-family:var(--serif);font-size:clamp(1.6rem,3.4vw,2.35rem);line-height:1.3;margin:0 0 1.25rem;color:var(--fg-strong);max-width:30ch}
.verse cite{font-style:normal;color:var(--fg-soft);font-size:.95rem}
.verse .note{color:var(--fg-soft);max-width:40ch;margin:2.25rem 0 0;padding-top:1.5rem;border-top:1px solid var(--rule)}
.verse-photo{margin:0;overflow:hidden;border-radius:3px;box-shadow:0 30px 60px -30px rgba(6,58,72,.45)}
.verse-photo img{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover}
@media (max-width:820px){.verse .grid{grid-template-columns:1fr;gap:2.5rem}}

/* ---------- facts + days ---------- */
.facts dl{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:0;
  border-top:1px solid var(--rule);border-bottom:1px solid var(--rule);
}
.facts dl > div{padding:1.75rem 1.5rem 1.75rem 0}
.facts dl > div + div{padding-left:1.5rem;border-left:1px solid var(--rule)}
.facts dt{color:var(--fg-soft);font-size:.9rem;margin-bottom:.4rem}
.facts dd{margin:0;line-height:1.5}
.facts dd a{color:var(--link);text-decoration:none}
.facts dd a:hover{text-decoration:underline}
@media (max-width:820px){
  .facts dl{grid-template-columns:1fr}
  .facts dl > div + div{padding-left:0;border-left:0;border-top:1px solid var(--rule)}
}
.days{list-style:none;margin:var(--head-gap) 0 0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.5rem}
.days li{padding-top:1rem;border-top:2px solid var(--sea)}
.days li:first-child{border-top-color:var(--gold)}
.days strong{display:block;font-family:var(--serif);font-weight:400;font-size:1.75rem;line-height:1.1;color:var(--fg-strong)}
.days span{display:block;color:var(--fg-soft);font-size:.95rem;margin-top:.35rem}
@media (max-width:820px){.days{grid-template-columns:repeat(2,minmax(0,1fr));gap:2rem 1.5rem}}

/* ---------- trailer ---------- */
.yt{position:relative;aspect-ratio:16/9;background:#041a21;overflow:hidden;border-radius:4px;box-shadow:0 30px 60px -30px rgba(6,58,72,.5)}
.yt img{width:100%;height:100%;object-fit:cover;transition:transform 1.2s var(--ease)}
.yt:hover img{transform:scale(1.03)}
.yt button{
  position:absolute;inset:0;width:100%;height:100%;border:0;cursor:pointer;
  background:linear-gradient(0deg,rgba(4,26,33,.55),rgba(4,26,33,0) 55%);
  color:#fff;display:flex;align-items:flex-end;justify-content:flex-start;padding:1.5rem;font:inherit;
}
.yt button span{display:inline-flex;align-items:center;gap:.6rem;background:var(--gold);color:var(--ink);font-weight:600;padding:.65rem 1.1rem;border-radius:999px;transition:transform .2s var(--ease)}
.yt button:hover span{transform:translateY(-2px)}
.yt button span::before{content:"";width:0;height:0;border-left:.7em solid currentColor;border-top:.42em solid transparent;border-bottom:.42em solid transparent}
.yt iframe{position:absolute;inset:0;width:100%;height:100%;border:0}

/* ---------- people (executive committee + national representatives) ---------- */
.people{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3rem 1.5rem}
.person figure{margin:0}
.person .frame{overflow:hidden;background:var(--ph)}
.person img{
  width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;
  filter:grayscale(1) contrast(1.04);   /* unifies eight different backgrounds — delete to show colour */
  transition:filter .6s var(--ease), transform .8s var(--ease);
}
.person:hover img{filter:grayscale(0) contrast(1);transform:scale(1.03)}   /* colour on hover, desktop only in practice */
.person figcaption{padding-top:.9rem;border-top:2px solid var(--rule-strong);margin-top:1rem}
.person .name{display:block;font-weight:600;font-size:1.05rem;line-height:1.3;color:var(--fg-strong)}
.person .role{display:block;color:var(--fg-soft);font-size:.95rem;margin-top:.15rem}
/* photo placeholder — initials (committee) or region (representatives) until the portrait arrives */
.person .ph{
  aspect-ratio:4/5;display:flex;align-items:center;justify-content:center;
  background:var(--ph);color:var(--fg-soft);font-family:var(--serif);font-size:clamp(2.5rem,5vw,3.5rem);
}

.people.officers{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:clamp(3.5rem,6vw,5rem)}
.people.officers .name{font-size:1.2rem}
.people.team{grid-template-columns:repeat(5,minmax(0,1fr))}
@media (max-width:900px){.people,.people.team{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:620px){
  .people,.people.team,.people.officers{grid-template-columns:repeat(2,minmax(0,1fr));gap:2.25rem 1rem}
  .people.officers{margin-bottom:2.75rem}
}

.reps-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:2.75rem 1.25rem}
.reps-grid .ph{align-items:flex-end;justify-content:flex-start;padding:.8rem;font-size:1.35rem;line-height:1.05}
.reps-grid figcaption{border-top-width:1px;border-top-color:var(--rule)}
.reps-grid .frame:has(.ph) + figcaption .role{display:none}   /* region is already in the tile; shows once a photo replaces it */
.reps-grid .name{font-size:.95rem}
.reps-grid .role{font-size:.85rem}
@media (max-width:1000px){.reps-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (max-width:620px){.reps-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:2rem 1rem}}

/* ---------- register band ---------- */
.register .grid{display:grid;grid-template-columns:minmax(0,1.3fr) auto;gap:2rem;align-items:end}
.register p{margin:1rem 0 0;color:var(--fg-soft);max-width:48ch}
.register .paper a,.site-foot .foot-links a{color:var(--gold)}
@media (max-width:720px){.register .grid{grid-template-columns:1fr}}

/* ---------- speakers page ---------- */
.page-hero h1{font-family:var(--serif);font-weight:400;font-size:clamp(3.2rem,9vw,6.5rem);line-height:.95;margin:0 0 1.5rem;color:var(--fg-strong)}
.page-hero p{max-width:46ch;color:var(--fg-soft);font-size:1.15rem;margin:0 0 2rem}
.status{
  border-top:1px solid var(--rule);border-bottom:1px solid var(--rule);
  padding:1.75rem 0;display:grid;grid-template-columns:auto 1fr;gap:1rem 2rem;align-items:baseline;
}
.status strong{font-family:var(--serif);font-weight:400;font-size:1.9rem;color:var(--gold);line-height:1}
.status p{margin:0;color:var(--fg-soft);max-width:56ch}
.page-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:2rem}
@media (max-width:620px){.status{grid-template-columns:1fr}}

/* ---------- contact page ---------- */
.contacts{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem}
.contacts li{padding-top:1.1rem;border-top:2px solid var(--rule-strong);scroll-margin-top:7rem}
.contacts h3{font-family:var(--serif);font-weight:400;font-size:1.75rem;line-height:1.1;margin:0;color:var(--fg-strong)}
.contacts .role{margin:.25rem 0 1rem;color:var(--fg-soft)}
.contacts .phone{font-size:1.25rem;font-weight:600;color:var(--link);text-decoration:none}
.contacts .phone:hover{text-decoration:underline}
.contacts li:target{background:linear-gradient(rgba(252,180,0,.12),rgba(252,180,0,0));border-top-color:var(--gold)}
.contact-email{margin:var(--head-gap) 0 0;font-size:1.15rem}
.contact-email a{color:var(--link);font-weight:600}
@media (max-width:760px){.contacts{grid-template-columns:1fr;gap:2rem}}

.venue{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.3fr);gap:clamp(2rem,5vw,4rem);align-items:center}
.venue address{font-style:normal;font-size:1.15rem;line-height:1.55;margin:1.5rem 0 .75rem}
.venue address strong{color:var(--fg-strong)}
.venue-note{color:var(--fg-soft);margin:0}
.map{position:relative;aspect-ratio:4/3;border-radius:4px;overflow:hidden;background:var(--deep-2);box-shadow:0 30px 60px -30px rgba(0,0,0,.5)}
.map iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
@media (max-width:820px){.venue{grid-template-columns:1fr}}

.paper-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:clamp(2rem,5vw,4rem);align-items:start}
.cheque{margin:0;border-top:1px solid var(--rule)}
.cheque > div{padding:1.25rem 0;border-bottom:1px solid var(--rule)}
.cheque dt{color:var(--fg-soft);font-size:.9rem;margin-bottom:.3rem}
.cheque dd{margin:0;font-size:1.1rem;line-height:1.5;color:var(--fg-strong)}
@media (max-width:820px){.paper-grid{grid-template-columns:1fr}}

.flyers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(1.5rem,4vw,3rem);align-items:start}
.flyers img{width:100%;height:auto;aspect-ratio:1131/1600;border-radius:4px;box-shadow:0 30px 60px -28px rgba(0,0,0,.55)}
@media (max-width:720px){.flyers{grid-template-columns:1fr}}

/* ---------- footer ---------- */
.site-foot{background:var(--deep-3);padding:4rem 0 2.5rem;font-size:.95rem;color:var(--mist)}
.site-foot .foot-logo{width:112px;height:112px;margin-bottom:2.25rem}
.site-foot .cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem}
.site-foot .who{display:block;color:#fff;font-weight:600}
.site-foot .foot-links{display:flex;flex-wrap:wrap;gap:.5rem 2rem;margin:2rem 0 0}
.site-foot a{text-decoration:none}
.site-foot a:hover{color:#fff;text-decoration:underline}
.site-foot .credits{margin:2.25rem 0 0;font-size:.78rem;line-height:1.5;color:var(--mist);opacity:.8;max-width:90ch}
.site-foot .credits a{text-decoration:underline;text-decoration-color:var(--line)}
.site-foot .base{margin-top:2.5rem;padding-top:1.5rem;border-top:1px solid rgba(255,255,255,.08);display:flex;flex-wrap:wrap;justify-content:space-between;gap:1rem;font-size:.85rem}
.site-foot .base a{color:var(--gold)}
@media (max-width:720px){.site-foot .cols{grid-template-columns:1fr}}

/* ---------- scroll reveals ----------
   Only active when site.js adds .js-reveal to <html> (JS on, motion allowed), so nothing is ever hidden
   from someone without JavaScript. [data-reveal] rises and fades in once; children of [data-stagger]
   follow one another; [data-reveal="photo"] also settles from a slight zoom. */
.js-reveal [data-reveal],
.js-reveal [data-stagger] > *{
  opacity:0;transform:translateY(28px);
  transition:opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay:calc(var(--i, 0) * 80ms);
}
.js-reveal [data-reveal].is-in,
.js-reveal [data-stagger] > .is-in{opacity:1;transform:none}
.js-reveal [data-reveal="photo"]{transform:none}
.js-reveal [data-reveal="photo"] img{transform:scale(1.1);transition:transform 1.8s var(--ease)}
.js-reveal [data-reveal="photo"].is-in img{transform:scale(1)}
.js-reveal .days[data-stagger] > li{transform:translateY(14px)}
.js-reveal .days[data-stagger] > li.is-in{transform:none}
/* the gold rule above each day draws in as the day appears */
.js-reveal .days[data-stagger] > li{border-top-color:transparent;background:linear-gradient(var(--sea),var(--sea)) top left/0 2px no-repeat}
.js-reveal .days[data-stagger] > li:first-child{background-image:linear-gradient(var(--gold),var(--gold))}
.js-reveal .days[data-stagger] > li.is-in{background-size:100% 2px;transition:opacity .9s var(--ease), transform .9s var(--ease), background-size 1.1s var(--ease);transition-delay:calc(var(--i,0) * 120ms)}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none !important;transition:none !important}
  .theme .to{max-width:none;padding:0 .5em;opacity:1}   /* no animation to reveal it, so show it outright */
}
@media print{
  body{background:#fff;color:#000}
  .hero video,.yt,.nav,.scroll-cue{display:none}
  .site-head{position:static}
}
