/* Dare Remachinda — site stylesheet.
   Phone-first: the audience is overwhelmingly on mobile, arriving from Facebook.
   No web fonts, no hero images, no icon fonts — system fonts and inline SVG only,
   so a 3G phone on a Facebook in-app browser gets a usable page fast.

   Palette: WHITE page ground, NAVY tiles, gold accent — taken from the show's
   own Facebook page (see _rebuild/BRAND-AND-ADMIN-SPEC.md §2 / LIGHT-THEME-SPEC.md).

   ── HOW THE COLOUR SYSTEM WORKS (read before adding a rule) ─────────────
   There are two surfaces: the WHITE page and the NAVY tile. Text colour depends
   on which one an element sits on, so every semantic alias (--ink, --body, --muted,
   --line, --gold-text, --ok, --clay…) is declared TWICE:

     1. in :root, for the white page; and
     2. in the "SURFACE RE-POINT" block below, which every navy surface joins.

   Custom properties inherit, so a descendant rule such as `.prose h2{color:var(--ink)}`
   automatically renders navy-on-white (17:1) on the page and white-on-navy (17:1)
   inside a tile. A rule that only names a semantic alias can therefore never be
   navy-on-navy or white-on-white. If you add a NEW navy surface, add its selector
   to that block. Every pair below is WCAG-checked (measured ratios in the comments).
   ──────────────────────────────────────────────────────────────────────── */

:root{
  /* ── Brand palette (verified, spec §2) ───────────────────────────────── */
  --navy:#0B1B2B;          /* client brand navy — the tile / card surface     */
  --navy-deep:#06101C;     /* deepest navy — footer, chrome depth, inputs     */
  --navy-soft:#12283F;     /* raised navy — nav panel, cookie bar             */
  --gold:#D4A017;          /* primary brand gold — fills, rules, borders      */
  --gold-bright:#E5A823;   /* hover / emphasis gold                           */
  --gold-light:#F7D774;    /* gold text on navy                               */
  --gold-deep:#A8801A;     /* deep gold — large display only on white (3.6)   */
  --paper:#F7F4EE;         /* warm paper (kept; not used as a surface)        */
  --white:#FFFFFF;         /* headings on navy                                */
  --off-white:#ECE6DA;     /* body text on navy chrome                        */
  --muted-on-dark:#9AA3AE; /* secondary text on navy chrome (7.5 on deep)     */
  --inset:#152E48;         /* inset chip / thumb surface INSIDE a navy tile   */

  /* ── Semantic aliases — WHITE PAGE values ─────────────────────────────── */
  --ink:#0B1B2B;               /* headings                  on white (17.4:1)  */
  --ink-2:#16273A;             /* strong text               on white (15.2:1)  */
  --body:#22303F;              /* body copy                 on white (13.4:1)  */
  --muted:#4E5C6B;             /* secondary / meta          on white ( 6.9:1)  */
  --line:#DCE2E9;              /* hairline on white (non-text)                 */
  --bg:#FFFFFF;                /* page ground                                  */
  --card:var(--navy);          /* tile / card surface                          */
  --band:#F3F5F8;              /* alternating band on white                    */
  --gold-text:#8A6A17;         /* gold that reads on white       ( 5.1:1)      */
  --focus:#8A6A17;             /* focus ring on white            ( 5.1:1)      */

  /* Non-brand semantics, WHITE PAGE values (never colour-only — each is also
     paired with a word or an icon in the markup). */
  --ok:#0E7A45;                /* success text on white          ( 5.4:1)      */
  --warn:#8A6A17;              /* warning text on white          ( 5.1:1)      */
  --clay:#B23A24;              /* emphasis / accent on white     ( 6.0:1)      */
  --clay-deep:#A32A15;         /* error + required marks on white( 7.2:1)      */

  --radius:10px;
  --radius-sm:6px;
  /* Retuned for a white ground: a navy-tinted lift, not the old near-black
     grubby drop that was tuned for a dark page. */
  --shadow:0 1px 2px rgba(11,27,43,.06),0 10px 26px rgba(11,27,43,.10);
  --serif:Georgia,"Times New Roman",Times,serif;
  --sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}

/* ── SURFACE RE-POINT ─────────────────────────────────────────────────────
   Every element that paints a navy ground joins this list. The semantic
   aliases are re-declared for the subtree, so descendants resolve them to the
   ON-NAVY value instead of the white-page value. Add a selector here whenever a
   new navy surface is introduced, or its text will come out navy-on-navy.
   (blog.css surfaces — .postcard, .blog-empty — are included here so there is
   a single authoritative list.) */
.tile,.card,.person,.step,.prod,.vid,.shopbar,.form-card,.donate,
.profile-portrait,.profile-body,.profile-facts,.panel-grid a,
.postcard,.blog-empty,
.hm-host,.hm-mentor-panel,.hm-hero-plate,
.topbar,.nav,.hero,footer,#drm-cookie{
  /* Re-declare `color` here as well as the tokens. Custom properties inherit,
     but `color` on <body> is already RESOLVED to navy before it reaches a tile,
     and an inherited computed colour does not re-evaluate var(). Setting colour
     on the surface itself makes inherited text resolve against the on-navy
     --body; surfaces that want something else (.topbar, .hero, footer, .donate)
     override it further down this file. */
  color:var(--body);
  /* ── ON-NAVY values (custom properties inherit into every descendant) ── */
  --ink:#FFFFFF;               /* headings            on navy (17.4:1)        */
  --ink-2:#ECE6DA;             /* strong text         on navy (14.0:1)        */
  --body:#E4E9EF;              /* body copy           on navy (14.3:1)        */
  --muted:#AFBACA;             /* secondary / meta    on navy ( 8.9:1)        */
  --line:#2A4462;              /* hairline on navy (non-text)                 */
  --band:var(--inset);         /* inset chip / thumb bg inside a navy tile    */
  --gold-text:#F7D774;         /* gold that reads on navy (12.4:1)            */
  --focus:#F7D774;             /* focus ring on navy                          */
  --ok:#4ECB8A;                /* success on navy ( 8.5:1)                    */
  --warn:#F7D774;              /* warning on navy (12.4:1)                    */
  --clay:#F2A08C;              /* accent on navy ( 8.4:1)                     */
  --clay-deep:#F0836B;         /* error on navy ( 6.8:1)                      */
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:var(--sans);color:var(--body);background:var(--bg);line-height:1.6;font-size:16px}
a{color:var(--gold-text);text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;height:auto}
.container{max-width:1120px;margin:0 auto;padding:0 18px}
.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}
.skip{position:absolute;left:-9999px;top:0;background:var(--gold);color:var(--navy-deep);padding:10px 16px;z-index:200;border-radius:0 0 var(--radius-sm) 0;font-weight:700}
.skip:focus{left:0}

/* ── Visible keyboard focus on every interactive element ─────────────── */
/* --focus is surface-aware: dark gold on the white page, bright gold on navy. */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,
textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--focus);outline-offset:2px;border-radius:3px}

/* ── Respect the OS reduced-motion setting ──────────────────────────── */
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.001ms !important;animation-iteration-count:1 !important;
    transition-duration:.001ms !important;scroll-behavior:auto !important}
}

/* ── Phone overflow guards ───────────────────────────────────── */
/* Grid and flex children are min-width:auto by default, so one long
   unbreakable token (the source URLs on the profile pages) can force a
   track wider than the screen. Everything inside is then dragged out to
   that width — even max-width:100% images — and the page scrolls sideways.
   Letting those boxes shrink fixes the cause instead of hiding it with
   overflow-x:hidden. overflow-wrap only breaks a word when it has no other
   way to fit, so ordinary prose is untouched. */
.grid>*,.people>*,.steps>*,.prods>*,.vidgrid>*,.cols>*,
.card,.prose,.person,.tile,.step,.prod,.vid,.form-card,.donate,.tablewrap{min-width:0}
.prose,.srcline{overflow-wrap:anywhere}
.prose li{word-break:break-word}

/* ── Header ─────────────────────────────────────────────────── */
/* The bar stays navy: it frames the white page and carries the gold-ringed
   badge, which reads correctly on navy. */
.topbar{background:var(--navy);color:#fff;position:sticky;top:0;z-index:60;transition:box-shadow .2s;
  border-bottom:1px solid rgba(212,160,23,.28)}
.topbar.stuck{box-shadow:0 6px 22px rgba(11,27,43,.22)}
.topbar .container{display:flex;align-items:center;gap:12px;min-height:64px;position:relative;flex-wrap:nowrap}

/* Brand lockup: the badge plus the wordmark set as the real brand name
   ("Dare" gold serif, then REMACHINDA letterspaced). */
.brand{display:flex;align-items:center;gap:11px;color:#fff;line-height:1.05;padding:6px 0;min-width:0}
.brand:hover{text-decoration:none}
.brandmark{width:42px;height:42px;flex:0 0 auto;display:block;border-radius:50%}
.brand .brandtext{display:flex;flex-direction:column;justify-content:center;min-width:0}
.brand .word{display:flex;align-items:baseline;gap:.34em;line-height:1.05;white-space:nowrap}
.brand .word em{font-style:normal;font-family:var(--serif);font-weight:700;font-size:1.2rem;color:var(--gold-light);letter-spacing:.2px}
.brand .word .rm{font-family:var(--sans);font-weight:600;font-size:.6rem;letter-spacing:.17em;text-transform:uppercase;color:var(--off-white)}
.brand .tag{font-weight:600;font-size:.6rem;color:var(--muted-on-dark);letter-spacing:.17em;text-transform:uppercase;white-space:nowrap}

/* Menu button: >=44px so it is comfortable to tap on a phone. */
.navtoggle{margin-left:auto;background:transparent;border:1px solid rgba(212,160,23,.5);color:var(--gold-light);border-radius:var(--radius-sm);
  padding:10px 14px;display:inline-flex;align-items:center;gap:7px;font:inherit;font-size:.85rem;font-weight:600;cursor:pointer;
  min-height:44px;min-width:44px}
.navtoggle svg{display:block}
.navtoggle:hover{background:rgba(212,160,23,.12);color:#fff}

/* Mobile: the panel is an absolutely-positioned dropdown anchored to the
   top-right of the bar. It is contained (never full-width, never full-height),
   so it opens into a corner instead of covering the page. */
.nav{position:absolute;top:calc(100% + 6px);right:18px;z-index:2;
  display:none;flex-direction:column;gap:2px;padding:6px;
  width:min(290px,calc(100vw - 72px));max-height:calc(100vh - 92px);overflow:auto;-webkit-overflow-scrolling:touch;
  background:var(--navy-soft);border:1px solid rgba(212,160,23,.4);border-radius:var(--radius);
  box-shadow:0 18px 44px rgba(11,27,43,.35)}
.nav.open{display:flex}
.nav a{color:var(--off-white);font-weight:600;font-size:.98rem;padding:12px 12px;border-radius:var(--radius-sm);display:block;min-height:44px}
.nav a:hover,.nav a:focus-visible{background:rgba(212,160,23,.14);color:#fff;text-decoration:none}
.nav a.btn{background:var(--gold);color:var(--navy-deep);text-align:center;margin-top:6px}
.nav a.btn:hover{background:var(--gold-bright)}

/* Desktop: nav links are always inline and horizontal in the bar, and the
   Menu button disappears. (This is the fix for "the header is empty".) */
@media(min-width:900px){
  .navtoggle{display:none}
  .nav{position:static;display:flex;flex-direction:row;align-items:center;gap:2px;
    width:auto;margin-left:auto;padding:0;max-height:none;overflow:visible;
    background:transparent;border:0;border-radius:0;box-shadow:none}
  .nav a{display:inline-flex;align-items:center;min-height:44px;padding:0 9px;font-size:.9rem;white-space:nowrap;border-radius:var(--radius-sm)}
  .nav a.btn{margin:0 0 0 6px;padding:0 15px}
}
/* Between 900px and 1099px the bar is tight, so tighten spacing; the single
   least-critical link (Dating — still "coming soon") steps out of the bar in
   that band only, and is still in the phone panel and on wider desktops. */
@media(min-width:900px) and (max-width:1099px){
  .nav a{padding:0 7px;font-size:.84rem}
  .nav a[data-compact-hide]{display:none}
}
@media(min-width:1100px){
  .nav a{padding:0 12px;font-size:.94rem}
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn{display:inline-block;background:var(--gold);color:var(--navy-deep);font-weight:700;padding:13px 22px;border-radius:var(--radius-sm);
  border:0;cursor:pointer;font-size:.97rem;font-family:inherit;transition:filter .15s;text-align:center;line-height:1.25}
.btn:hover{filter:brightness(1.08);text-decoration:none}
.btn.alt{background:var(--gold-bright);color:var(--navy-deep)}
.btn.ghost{background:transparent;border:1.5px solid var(--gold-text);color:var(--gold-text)}
.btn.on-dark{background:var(--gold);color:var(--navy-deep)}
.btn.big{padding:15px 26px;font-size:1.02rem;display:block;width:100%}
.btn[disabled],.btn.is-disabled{opacity:.55;cursor:not-allowed;filter:none}
@media(min-width:600px){.btn.big{display:inline-block;width:auto}}
.actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}

/* ── Hero ───────────────────────────────────────────────────── */
.hero{background:var(--navy);color:#fff;padding:44px 0 48px;position:relative;overflow:hidden}
/* Blurred multi-stop radial "glow" removed: it is a stock AI-template flourish and was
   the last one on the site. The hero is now a clean flat navy band. */
.hero .container{position:relative;z-index:1}
.hero h1{font-family:var(--serif);font-weight:400;font-size:2.05rem;line-height:1.14;color:#fff;letter-spacing:-.4px}
.hero .strapline{font-family:var(--serif);font-size:1.08rem;color:var(--gold);margin-top:10px}
.hero p.intro{margin-top:14px;color:var(--off-white);font-size:1.05rem;max-width:640px}
.hero .reach{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.hero .reach span{background:rgba(255,255,255,.08);border:1px solid rgba(212,160,23,.5);color:var(--off-white);
  padding:7px 13px;border-radius:999px;font-size:.86rem;font-weight:600}
@media(min-width:760px){
  .hero{padding:74px 0 80px}
  .hero h1{font-size:3rem}
}

/* ── Sections & cards ───────────────────────────────────────── */
section{padding:40px 0}
@media(min-width:760px){section{padding:54px 0}}
.section-head{margin-bottom:22px}
.section-head h2{font-family:var(--serif);font-weight:400;color:var(--ink);font-size:1.62rem;letter-spacing:-.2px}
.section-head h2 em{font-style:normal;color:var(--gold-text)}
.section-head .sub{color:var(--muted);font-size:1rem;margin-top:5px}
@media(min-width:760px){.section-head h2{font-size:2rem}}
.band{background:var(--band);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.grid{display:grid;grid-template-columns:1fr;gap:16px}
@media(min-width:620px){.grid{grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:18px}}
/* Navy tile on the white page: background comes from --card, text from the
   re-pointed aliases (white headings, off-white body, gold links). */
.tile{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:22px;display:block}
.tile:hover{border-color:rgba(212,160,23,.5);text-decoration:none}
.tile .k{font-family:var(--serif);color:var(--ink);font-size:1.2rem}
.tile .d{color:var(--muted);font-size:1rem;margin-top:8px}
.tile .n{color:var(--gold-text);font-size:.88rem;font-weight:700;margin-top:14px;display:inline-block}
.steps{display:grid;grid-template-columns:1fr;gap:16px}
@media(min-width:620px){.steps{grid-template-columns:repeat(auto-fit,minmax(215px,1fr))}}
.step{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:22px;box-shadow:var(--shadow)}
.step .num{width:38px;height:38px;border-radius:50%;background:var(--gold);color:var(--navy-deep);font-weight:700;display:grid;place-items:center;margin-bottom:12px;font-family:var(--serif);font-size:1.1rem}
.step h3{font-family:var(--serif);font-weight:400;color:var(--ink);font-size:1.16rem;margin-bottom:7px}
.step p{color:var(--muted);font-size:1rem}

.page-head{background:var(--bg);padding:32px 0 22px;border-bottom:1px solid var(--line)}
.page-head h1{font-family:var(--serif);font-weight:400;color:var(--ink);font-size:1.8rem;line-height:1.2}
.page-head p{color:var(--muted);margin-top:6px;font-size:1rem}
@media(min-width:760px){.page-head{padding:46px 0 30px}.page-head h1{font-size:2.3rem}}

.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:20px;margin:20px 0}
.card.pad{padding:26px}
@media(min-width:760px){.card.pad{padding:34px}}
.prose{max-width:760px}
.prose h2{font-family:var(--serif);font-weight:400;color:var(--ink);font-size:1.34rem;margin:28px 0 10px}
.prose h3{font-family:var(--serif);font-weight:400;color:var(--ink);font-size:1.12rem;margin:22px 0 8px}
.prose p{margin-bottom:13px}
.prose ul,.prose ol{margin:0 0 14px 20px}
.prose li{margin-bottom:7px}
.prose strong{color:var(--ink)}
.prose code{background:var(--band);padding:2px 6px;border-radius:4px;font-size:.88em}
.prose hr{border:0;border-top:1px solid var(--line);margin:26px 0}

/* Client-confirmation notice: visible while the site is a pre-launch draft.
   id="client-confirm" is a real anchor — site.js links to it. Keep the id.
   Colours only: on the white page the text is navy; the gold frame stays. */
.draftnote{background:rgba(212,160,23,.12);border:1px dashed var(--gold);border-radius:var(--radius-sm);
  padding:12px 14px;margin:0 0 22px;font-size:.95rem;color:var(--ink-2)}
.draftnote strong{color:var(--ink)}
.pill{display:inline-block;background:var(--band);border:1px solid var(--line);color:var(--ink-2);font-weight:600;
  font-size:.82rem;padding:5px 12px;border-radius:999px;margin:4px 6px 0 0}
.pill.tbc{background:rgba(212,160,23,.14);border-color:var(--gold);color:var(--gold-text)}
.pill.ok{background:rgba(78,203,138,.14);border-color:rgba(78,203,138,.5);color:var(--ok)}
.muted{color:var(--muted)}
.small{font-size:.95rem}

/* ── Panel / hosts ──────────────────────────────────────────── */
.people{display:grid;grid-template-columns:1fr;gap:16px}
@media(min-width:620px){.people{grid-template-columns:repeat(auto-fill,minmax(290px,1fr))}}
.person{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:22px}
.person .who{font-family:var(--serif);color:var(--ink);font-size:1.18rem}
.person .role{color:var(--gold-text);font-weight:700;font-size:.85rem;text-transform:uppercase;letter-spacing:.07em;margin-top:3px}
.person p{color:var(--muted);font-size:1rem;margin-top:10px}
.person .face{width:112px;height:112px;border-radius:50%;object-fit:cover;display:block;margin:0 0 13px;border:2px solid var(--line)}
.person.lead{border-left:4px solid var(--gold)}

/* ── Media / embeds ─────────────────────────────────────────── */
.embed{position:relative;background:#000;border-radius:var(--radius);overflow:hidden;aspect-ratio:16/9;margin:0}
.embed iframe{width:100%;height:100%;border:0;display:block}
.facade{position:absolute;inset:0;display:grid;place-items:center;background:linear-gradient(140deg,#0B1B2B,#12283F);color:var(--off-white);text-align:center;padding:20px;cursor:pointer}
.facade .in{max-width:420px}
.facade strong{display:block;font-family:var(--serif);font-size:1.1rem;margin-bottom:6px;color:#fff}
.facade span{font-size:.86rem;color:var(--muted-on-dark)}
.facade .play{margin:0 auto 12px;width:52px;height:52px;border-radius:50%;background:var(--gold);display:grid;place-items:center}
/* Keep the play glyph legible on the gold chip regardless of inline fill. */
.facade .play svg path{fill:var(--navy-deep)}
.vidgrid{display:grid;grid-template-columns:1fr;gap:18px}
@media(min-width:620px){.vidgrid{grid-template-columns:repeat(auto-fill,minmax(320px,1fr))}}
.vid{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}
.vid .body{padding:16px}
.vid .body h3{font-family:var(--serif);font-weight:400;color:var(--ink);font-size:1.08rem}
.vid .body p{color:var(--muted);font-size:.97rem;margin-top:6px}
.vid .slug{font-size:.8rem;color:var(--gold-text);font-weight:700;text-transform:uppercase;letter-spacing:.06em}

/* ── Shop ───────────────────────────────────────────────────── */
.shopbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;
  background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:12px 16px;margin:18px 0;box-shadow:var(--shadow)}
.shopbar .tot{font-family:var(--serif);color:var(--ink);font-size:1.1rem}
.prods{display:grid;grid-template-columns:1fr;gap:18px}
@media(min-width:620px){.prods{grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}}
.prod{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);
  padding:20px;display:flex;flex-direction:column}
.prod .thumb{background:var(--band);border-radius:var(--radius-sm);height:112px;display:grid;place-items:center;
  color:var(--muted);font-size:.78rem;letter-spacing:.1em;text-transform:uppercase;margin-bottom:14px}
.prod h3{font-family:var(--serif);font-weight:400;color:var(--ink);font-size:1.1rem}
.prod .type{font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.07em;color:var(--gold-text)}
.prod p.desc{color:var(--muted);font-size:1rem;margin-top:8px;flex:1}
.prod .price{font-family:var(--serif);color:var(--ink);font-size:1.16rem;margin-top:12px}
.prod .price .tbc{color:var(--warn);font-size:1rem}
.prod .row{display:flex;gap:8px;align-items:center;margin-top:12px;flex-wrap:wrap}
.prod input[type=number]{width:66px;max-width:100%;border:1px solid var(--line);border-radius:var(--radius-sm);padding:9px;font:inherit;text-align:center;background:var(--navy-deep);color:var(--white)}
.donate{background:var(--navy);color:#fff;border-radius:var(--radius);padding:26px;margin:20px 0}
.donate h2{font-family:var(--serif);font-weight:400;color:#fff;font-size:1.4rem}
.donate p{color:var(--off-white);font-size:.94rem;margin-top:8px}
.donate .amounts{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.donate .amounts label{background:rgba(255,255,255,.08);border:1px solid rgba(212,160,23,.35);border-radius:999px;
  padding:9px 16px;font-weight:600;font-size:.9rem;cursor:pointer;color:var(--off-white)}
.donate .amounts input{margin-right:7px}
.donate .amounts input:checked+span{color:var(--gold)}
.mini{font-size:.86rem;color:var(--muted);margin-top:6px}
.notice{background:var(--band);border-left:4px solid var(--gold);padding:14px 16px;border-radius:var(--radius-sm);
  font-size:.95rem;color:var(--ink-2);margin:16px 0}
.notice.stop{border-left-color:var(--clay-deep)}
.notice.stop strong{color:var(--clay-deep)}
.basketline{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line);font-size:1rem}
.basketline:last-child{border-bottom:0}
.empty-basket{color:var(--muted);font-size:1rem;padding:8px 0}

/* ── Tables (legal / returns) ───────────────────────────────── */
.tablewrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
table{width:100%;border-collapse:collapse;font-size:.95rem;min-width:520px}
th,td{text-align:left;padding:10px 12px;border-bottom:1px solid var(--line);vertical-align:top}
th{background:var(--band);color:var(--ink);font-weight:700}

/* ── Forms ──────────────────────────────────────────────────── */
.form-card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:22px;margin:20px 0}
@media(min-width:760px){.form-card{padding:30px}}
.field{margin-bottom:16px}
.field label{display:block;font-weight:600;color:var(--ink-2);font-size:.9rem;margin-bottom:6px}
.field input,.field select,.field textarea{width:100%;border:1px solid var(--line);border-radius:var(--radius-sm);
  padding:12px 14px;font:inherit;font-size:1rem;background:var(--navy-deep);color:var(--white)}
.field input::placeholder,.field textarea::placeholder{color:var(--muted-on-dark)}
/* iOS Safari zooms the page when a focused control is under 16px, so every
   text control is held at 16px. Checkboxes and radio buttons keep their
   native size — they never trigger the zoom. */
input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:16px}
.field textarea{min-height:130px;resize:vertical}
.field .hint{font-size:.86rem;color:var(--muted);margin-top:5px}
.field.req label:after{content:" *";color:var(--clay-deep)}
.hp-field{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.form-msg{margin-top:14px;font-size:.95rem;font-weight:600;display:none}
.form-msg.ok{color:var(--ok);display:block}
.form-msg.err{color:var(--clay-deep);display:block}
.checkline{display:flex;gap:9px;align-items:flex-start;font-size:.95rem;color:var(--body);margin-bottom:16px}
.checkline input{margin-top:3px;flex:0 0 auto}

/* ── Footer ─────────────────────────────────────────────────── */
footer{background:var(--navy-deep);color:var(--muted-on-dark);padding:34px 0 26px;font-size:.9rem;border-top:1px solid rgba(212,160,23,.22)}
footer a{color:var(--off-white)}
.footmark{width:56px;height:56px;border-radius:50%;display:block;margin-bottom:12px}
footer .cols{display:grid;grid-template-columns:1fr;gap:22px}
@media(min-width:700px){footer .cols{grid-template-columns:1.3fr 1fr 1fr}}
footer h3{color:#fff;font-size:.78rem;text-transform:uppercase;letter-spacing:.14em;margin-bottom:10px;font-weight:700}
footer ul{list-style:none}
footer li{margin-bottom:7px}
/* Phone: give footer links a real hit area (WCAG 2.5.8 wants >=24px, and a
   full-width row is easier to hit than the text alone). Desktop keeps the
   original tight rhythm while still clearing 24px. */
footer li a{display:block;padding:6px 0;min-height:24px}
footer .bottom a{display:inline-block;padding:6px 0;min-height:24px}
footer .bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:26px;padding-top:16px;font-size:.83rem;color:var(--muted-on-dark)}
@media(min-width:700px){
  footer li{margin-bottom:5px}
  footer li a,footer .bottom a{padding:2px 0}
}

/* ── Cookie notice ──────────────────────────────────────────── */
#drm-cookie{position:fixed;left:0;right:0;bottom:0;background:var(--navy-soft);color:var(--off-white);z-index:120;
  padding:14px 16px;box-shadow:0 -8px 24px rgba(11,27,43,.28);border-top:1px solid rgba(212,160,23,.35)}
#drm-cookie .in{max-width:1120px;margin:0 auto;font-size:.88rem}
#drm-cookie p{margin-bottom:10px}
#drm-cookie .row{display:flex;flex-wrap:wrap;gap:9px;align-items:center}
#drm-cookie .row a:not(.btn),#drm-cookie .row button:not(.btn){display:inline-flex;align-items:center;min-height:24px}
#drm-cookie button{cursor:pointer}
#drm-cookie a{color:var(--gold)}

#drm-to-top{position:fixed;right:16px;bottom:84px;width:44px;height:44px;border-radius:50%;background:var(--navy);color:var(--gold);
  border:1px solid rgba(212,160,23,.5);display:grid;place-items:center;cursor:pointer;opacity:0;visibility:hidden;transition:opacity .2s;z-index:90;box-shadow:var(--shadow)}
#drm-to-top.show{opacity:1;visibility:visible}

/* Sticky mobile buy bar on product/ticket CTAs */
.srcline{font-size:.86rem;color:var(--muted);border-top:1px solid var(--line);margin-top:14px;padding-top:10px}

/* ── Profile pages (people/*.html): desktop layout ────────────────────────
   Fixes the client's "the profile view on the desktop is too empty": a portrait
   block that is anchored rather than stranded, a comfortable measure for the
   biography, and a supporting rail carrying role, church/organisation, location,
   what they speak on and where to see them — plus cross-links to the rest of the
   panel so no profile is a dead end. Mobile-first: one column, portrait first;
   >=900px splits into two columns; >=1080px gains the facts rail. Unknown facts
   keep the site's "to be confirmed" convention — nothing here is invented. */

.profile{display:grid;grid-template-columns:1fr;gap:18px;align-items:start}
.profile>*{min-width:0}

/* Portrait block — circular, gold-ringed, appointment and role beneath, so it
   reads as a designed block rather than a floated image beside empty space. */
.profile-portrait{margin:0;background:var(--card);border:1px solid var(--line);
  border-radius:var(--radius);box-shadow:var(--shadow);padding:24px 22px;text-align:center}
.profile-face{width:min(224px,60vw);height:auto;aspect-ratio:1/1;object-fit:cover;
  border-radius:50%;display:block;margin:0 auto;border:3px solid var(--gold);
  box-shadow:0 0 0 6px rgba(212,160,23,.15)}
.profile-portrait figcaption{margin-top:16px}
.profile-portrait .profile-appt{display:block;font-family:var(--serif);color:var(--ink);font-size:1.06rem;line-height:1.3}
.profile-portrait .profile-role{display:block;margin-top:7px;font-size:.8rem;font-weight:700;
  letter-spacing:.1em;text-transform:uppercase;color:var(--gold-text)}

/* Biography column — held to a readable measure (~60-75 characters). */
.profile-body{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
  box-shadow:var(--shadow);padding:24px;min-width:0}
.profile-body .prose{max-width:60ch}
.profile-body blockquote{margin:0 0 20px;padding:4px 0 4px 18px;border-left:4px solid var(--gold);
  font-family:var(--serif);font-size:1.1rem;line-height:1.45;color:var(--gold-text)}
.profile-body blockquote strong{color:var(--gold-text)}
@media(min-width:760px){.profile-body{padding:32px 34px}}

/* Facts rail — the supporting column an organiser actually wants. */
.profile-facts{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
  box-shadow:var(--shadow);padding:22px;min-width:0}
.profile-facts h2{font-family:var(--serif);font-weight:400;color:var(--ink);font-size:1.15rem;
  margin:0 0 12px;padding-bottom:10px;border-bottom:1px solid var(--line)}
.facts{margin:0}
.facts>div{padding:11px 0;border-bottom:1px solid var(--line)}
.facts>div:last-child{border-bottom:0;padding-bottom:0}
.facts dt{font-size:.78rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--gold-text)}
.facts dd{margin:5px 0 0;color:var(--body);font-size:1rem;overflow-wrap:anywhere;min-width:0}
.facts dd a{overflow-wrap:anywhere}

/* Cross-links to the rest of the panel — every profile becomes a hub. */
.panel-more{margin-top:34px}
.panel-more>h2{font-family:var(--serif);font-weight:400;color:var(--ink);font-size:1.34rem;margin-bottom:6px}
.panel-more .panel-more-sub{color:var(--muted);font-size:1rem;margin-bottom:16px}
.panel-grid{list-style:none;display:grid;grid-template-columns:1fr;gap:12px;margin:0}
.panel-grid li{min-width:0}
.panel-grid a{display:flex;align-items:center;gap:14px;background:var(--card);border:1px solid var(--line);
  border-radius:var(--radius);padding:12px 14px;min-height:64px;color:var(--ink);min-width:0}
.panel-grid a:hover{border-color:rgba(212,160,23,.55);background:var(--band);text-decoration:none}
.panel-grid img{width:52px;height:52px;flex:0 0 auto;border-radius:50%;object-fit:cover;border:2px solid var(--line)}
.panel-grid .pl-text{min-width:0}
.panel-grid .pl-name{display:block;font-family:var(--serif);font-size:1.04rem;color:var(--ink);line-height:1.2}
.panel-grid .pl-role{display:block;font-size:.8rem;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--gold-text);margin-top:3px}
@media(min-width:620px){.panel-grid{grid-template-columns:1fr 1fr}}

/* 900-999px: still a narrow window. Stack instead of forcing three columns —
   the portrait becomes a wide horizontal identity band and the facts a
   multi-column band, so neither turns into a stranded, under-filled column. */
@media(min-width:900px) and (max-width:999px){
  .profile{grid-template-columns:1fr;gap:18px}
  .profile-portrait{display:flex;align-items:center;gap:24px;text-align:left}
  .profile-face{width:140px;flex:0 0 auto;margin:0}
  .profile-portrait figcaption{margin-top:0}
  .profile-facts .facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:0 28px}
}
/* >=1000px: portrait, biography and facts side by side. The rails are
   proportional so the biography keeps a ~60-75 character measure AND fills its
   card at every width; both side blocks stick, so a long biography never sits
   beside a column of dead space. */
@media(min-width:1000px){
  .profile{grid-template-columns:minmax(180px,20%) minmax(0,1fr) minmax(190px,22%);gap:22px}
  .profile-portrait{grid-column:1;grid-row:1;position:sticky;top:84px}
  .profile-facts{grid-column:3;grid-row:1;position:sticky;top:84px}
  .profile-body{grid-column:2;grid-row:1;padding:28px}
  .profile-face{width:min(190px,100%)}
  .profile-facts h2{font-size:1.1rem}
}
