/* ============================================================
   TEHILA GOSPEL MINISTRIES — DESIGN SYSTEM
   Palette drawn from the ministry's own mark: royal blue globe,
   scarlet wordmark, warm paper ground. Display type carries the
   register of proclamation; body type stays quiet and legible
   on low-end mobile screens.
   ============================================================ */

:root{
  /* ---- Color ---- */
  --ink:            #10151F;   /* near-black navy, body text */
  --ink-soft:       #43506B;   /* secondary text */
  --royal:          #123C82;   /* primary — from the globe */
  --royal-deep:     #0A2554;   /* depth, gradients, footer */
  --royal-bright:   #1C56B8;   /* interactive / links */
  --scarlet:        #C21A1A;   /* accent — from the wordmark */
  --scarlet-deep:   #931010;
  --gold:           #B9902F;   /* worship / royalty accent, used sparingly */
  --gold-soft:      #E7CE8C;
  --paper:          #F7F4EC;   /* warm ground */
  --paper-deep:     #EFEADA;
  --ivory:          #FFFFFF;
  --line:           #DFD9C6;   /* hairline on paper */
  --line-dark:      rgba(255,255,255,0.14);

  /* ---- Type ---- */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-label: "Barlow Condensed", "Inter", sans-serif;

  /* ---- Scale / spacing ---- */
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 26px;
  --container: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --section-pad: clamp(56px, 9vw, 128px);

  --shadow-sm: 0 1px 2px rgba(10,20,50,0.06);
  --shadow-md: 0 10px 30px -12px rgba(10,20,50,0.22);
  --shadow-lg: 0 24px 60px -20px rgba(10,20,50,0.32);

  --ease: cubic-bezier(.22,.68,0,1);
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family: var(--font-display); font-weight:600; line-height:1.08; margin:0; color: var(--royal-deep); }
p{ margin:0; }
button{ font-family: inherit; }

.skip-link{
  position:absolute; left:12px; top:-60px; background:var(--ink); color:#fff;
  padding:10px 16px; border-radius:8px; z-index:999; transition: top .2s var(--ease);
}
.skip-link:focus{ top:12px; }

:focus-visible{ outline: 3px solid var(--gold); outline-offset:3px; border-radius:4px; }

.container{ max-width: var(--container); margin:0 auto; padding-inline: var(--gutter); }
.section{ padding-block: var(--section-pad); }
.section--tight{ padding-block: clamp(40px,6vw,72px); }
.section--royal{ background: linear-gradient(180deg, var(--royal-deep), var(--royal) 130%); color:#fff; }
.section--royal h2, .section--royal h3{ color:#fff; }
.section--paper-deep{ background: var(--paper-deep); }

.eyebrow{
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .82rem;
  color: var(--scarlet);
  font-weight:600;
  display:inline-flex; align-items:center; gap:.55em;
}
.eyebrow::before{ content:""; width:22px; height:2px; background: var(--scarlet); display:inline-block; }
.section--royal .eyebrow{ color: var(--gold-soft); }
.section--royal .eyebrow::before{ background: var(--gold-soft); }

.section-head{ max-width: 720px; margin-bottom: clamp(28px,4vw,48px); }
.section-head h2{ font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-top:.5em; }
.section-head p{ margin-top: 14px; color: var(--ink-soft); font-size: 1.06rem; }
.section--royal .section-head p{ color: rgba(255,255,255,.82); }

/* ---- Buttons ---- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.5em;
  padding: 14px 26px; border-radius: 999px; font-weight:600; font-size:.98rem;
  border:1.5px solid transparent; cursor:pointer; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s;
  white-space:nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{ background: var(--scarlet); color:#fff; box-shadow: var(--shadow-md); }
.btn-primary:hover{ background: var(--scarlet-deep); }
.btn-outline{ border-color: rgba(255,255,255,.55); color:#fff; }
.btn-outline:hover{ background: rgba(255,255,255,.12); }
.btn-royal{ background: var(--royal); color:#fff; }
.btn-royal:hover{ background: var(--royal-deep); }
.btn-ghost{ border-color: var(--line); color: var(--royal-deep); background: rgba(255,255,255,.5); }
.btn-ghost:hover{ background: #fff; }
.btn-sm{ padding: 9px 18px; font-size:.86rem; }

/* ---- Header / Nav ---- */
.site-header{
  position: sticky; top:0; z-index:80;
  background: rgba(247,244,236,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-row{ display:flex; align-items:center; justify-content:space-between; gap:18px; padding-block:12px; flex-wrap:nowrap; }
.brand{ display:flex; align-items:center; gap:10px; flex:none; }
.brand img{ width:40px; height:40px; border-radius:50%; flex:none; }
.brand-text{ font-family: var(--font-display); font-weight:600; line-height:1.05; white-space:nowrap; }
.brand-text b{ color: var(--royal-deep); display:block; font-size:.92rem; white-space:nowrap; }
.brand-text span{ color: var(--scarlet); font-family: var(--font-label); text-transform:uppercase; letter-spacing:.08em; font-size:.65rem; white-space:nowrap; }

.nav-links{ display:flex; align-items:center; gap: 6px; flex-wrap:nowrap; }
.nav-links > a.nav-top-link, .nav-item{ position:relative; }
.nav-top-link{
  display:inline-flex; align-items:center; gap:5px;
  font-size:.85rem; font-weight:600; color: var(--ink-soft); position:relative; padding:10px 10px; white-space:nowrap;
  border-radius:8px;
}
.nav-top-link:hover, .nav-top-link.active{ color: var(--royal); }
.nav-top-link.active::after{ content:""; position:absolute; left:10px; right:10px; bottom:2px; height:2px; background: var(--scarlet); border-radius:2px; }
.nav-caret{ transition: transform .18s var(--ease); opacity:.7; }
.nav-item:hover .nav-caret, .nav-item:focus-within .nav-caret{ transform: rotate(180deg); }

.nav-dropdown{
  position:absolute; top:100%; left:0; margin-top:4px; min-width:230px;
  background:#fff; border:1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-md);
  padding:8px; display:flex; flex-direction:column; gap:2px;
  opacity:0; visibility:hidden; transform: translateY(6px);
  transition: opacity .16s var(--ease), transform .16s var(--ease), visibility .16s;
  z-index:90;
}
.nav-item:hover .nav-dropdown, .nav-item:focus-within .nav-dropdown{
  opacity:1; visibility:visible; transform:none;
}
.nav-dropdown a{
  padding:10px 12px; border-radius:8px; font-size:.88rem; font-weight:600; color: var(--ink-soft); white-space:nowrap;
}
.nav-dropdown a:hover{ background: var(--paper-deep); color: var(--royal); }
.nav-dropdown a.active{ color: var(--scarlet); }

.nav-actions{ display:flex; align-items:center; gap:10px; }
.icon-btn{
  width:40px; height:40px; border-radius:50%; border:1px solid var(--line); background:#fff;
  display:flex; align-items:center; justify-content:center; cursor:pointer; color: var(--royal-deep);
}
.icon-btn:hover{ background: var(--paper-deep); }

.menu-toggle{ display:none; }

@media (max-width: 1140px){
  .nav-links{ display:none; }
  .menu-toggle{ display:flex; }
  .nav-cta-desktop{ display:none; }
}

.mobile-menu{
  position: fixed; inset:0; background: var(--royal-deep); color:#fff; z-index: 200;
  transform: translateX(100%); transition: transform .35s var(--ease);
  display:flex; flex-direction:column; padding: 22px var(--gutter) 40px;
  overflow-y:auto;
}
.mobile-menu.open{ transform: translateX(0); }
.mobile-menu-top{ display:flex; justify-content:space-between; align-items:center; margin-bottom:36px; }
.mobile-menu nav{ display:flex; flex-direction:column; }
.mobile-menu > nav > a{ display:block; font-family: var(--font-display); font-size:1.4rem; padding: 15px 0; border-bottom:1px solid var(--line-dark); }
.mobile-menu .btn{ margin-top: 24px; align-self:flex-start; }

.mobile-group{ border-bottom:1px solid var(--line-dark); }
.mobile-group-toggle{
  width:100%; display:flex; align-items:center; justify-content:space-between; background:none; border:none;
  color:#fff; font-family: var(--font-display); font-size:1.4rem; padding: 15px 0; cursor:pointer;
}
.mobile-group-toggle svg{ transition: transform .2s var(--ease); flex:none; opacity:.75; }
.mobile-group[data-open="true"] .mobile-group-toggle svg,
.mobile-group.open .mobile-group-toggle svg{ transform: rotate(180deg); }
.mobile-submenu{
  max-height:0; overflow:hidden; transition: max-height .28s var(--ease);
  display:flex; flex-direction:column; padding-left: 6px;
}
.mobile-group[data-open="true"] .mobile-submenu,
.mobile-group.open .mobile-submenu{ max-height: 400px; padding-bottom:10px; }
.mobile-submenu a{
  display:block; font-family: var(--font-body); font-size:1rem; font-weight:600; padding: 11px 0;
  color: rgba(255,255,255,.78);
}
.mobile-submenu a.active, .mobile-submenu a:hover{ color: var(--gold-soft); }

/* ---- Hero ---- */
.hero{
  position:relative; overflow:hidden;
  background: radial-gradient(120% 140% at 15% 0%, #1a4c9c 0%, var(--royal-deep) 55%, #071a3b 100%);
  color:#fff;
  padding-block: clamp(64px, 11vw, 130px);
}
.hero::before{
  content:""; position:absolute; inset:0; opacity:.14; pointer-events:none;
  background-image: radial-gradient(circle at 20% 30%, #fff 0.5px, transparent 0.5px), radial-gradient(circle at 70% 65%, #fff 0.5px, transparent 0.5px);
  background-size: 90px 90px, 130px 130px;
}
.hero-grid{ position:relative; display:grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px,6vw,64px); align-items:center; }
@media (max-width: 900px){ .hero-grid{ grid-template-columns: 1fr; } }
.hero h1{
  color:#fff; font-size: clamp(2.5rem, 5.4vw, 4.1rem); letter-spacing:-.01em;
}
.hero h1 em{ font-style:normal; color: var(--gold-soft); }
.hero p.lede{ margin-top:22px; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255,255,255,.86); max-width: 46ch; }
.hero-ctas{ display:flex; flex-wrap:wrap; gap:14px; margin-top:34px; }
.hero-verse{
  margin-top:40px; padding-top:22px; border-top:1px solid var(--line-dark);
  font-family: var(--font-display); font-style:italic; color: rgba(255,255,255,.75); font-size:1rem; max-width:44ch;
}
.hero-art{
  position:relative; border-radius: var(--radius-lg); overflow:hidden; aspect-ratio: 4/5;
  background: linear-gradient(155deg, #24589f, #0d2a5c);
  display:flex; align-items:center; justify-content:center; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.14);
}
.hero-art img{ width:62%; filter: drop-shadow(0 20px 40px rgba(0,0,0,.4)); }
.hero-badge{
  position:absolute; left:18px; bottom:18px; right:18px;
  background: rgba(10,25,60,.55); backdrop-filter: blur(6px); border:1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-md); padding:14px 16px; font-size:.85rem; color:#fff;
}

/* ---- Proclamation marquee (signature element) ---- */
.marquee{
  background: var(--scarlet); color:#fff; overflow:hidden; white-space:nowrap;
  border-top:1px solid rgba(255,255,255,.25); border-bottom:1px solid rgba(255,255,255,.25);
}
.marquee-track{
  display:inline-flex; gap: 3rem; padding-block: 12px;
  animation: marquee 32s linear infinite;
  font-family: var(--font-label); text-transform:uppercase; letter-spacing:.14em; font-size:.92rem; font-weight:600;
}
.marquee-track span{ display:inline-flex; align-items:center; gap:3rem; }
.marquee-track span::after{ content:"✦"; opacity:.7; }
@keyframes marquee{ from{ transform:translateX(0);} to{ transform:translateX(-50%);} }

/* ---- Cards ---- */
.grid{ display:grid; gap: clamp(18px,2.4vw,28px); }
.grid-2{ grid-template-columns: repeat(2,1fr); }
.grid-3{ grid-template-columns: repeat(3,1fr); }
.grid-4{ grid-template-columns: repeat(4,1fr); }
@media (max-width: 980px){ .grid-4{ grid-template-columns: repeat(2,1fr);} .grid-3{ grid-template-columns: repeat(2,1fr);} }
@media (max-width: 640px){ .grid-2, .grid-3, .grid-4{ grid-template-columns: 1fr; } }

.card{
  background:#fff; border:1px solid var(--line); border-radius: var(--radius-md);
  padding: 26px; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .num{ font-family: var(--font-display); font-size:.85rem; color: var(--scarlet); font-weight:600; }
.card h3{ font-size:1.25rem; margin-top:10px; color: var(--royal-deep); }
.card p{ margin-top:10px; color: var(--ink-soft); font-size:.96rem; }

.pillar-card{
  background: linear-gradient(180deg,#fff,var(--paper-deep));
  border:1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px;
  position:relative;
}
.pillar-card .num{
  font-family: var(--font-display); font-size:2.4rem; color: rgba(18,60,130,.14); font-weight:700;
  position:absolute; top:14px; right:20px;
}

.tag{
  display:inline-block; font-family: var(--font-label); text-transform:uppercase; letter-spacing:.08em;
  font-size:.72rem; font-weight:700; padding:5px 12px; border-radius:999px; background: var(--paper-deep); color: var(--royal-deep);
}
.tag--gold{ background: #F6ECD2; color:#8a6a1c; }

/* ---- Sections: split layout ---- */
.split{ display:grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,5vw,64px); align-items:center; }
@media (max-width: 880px){ .split{ grid-template-columns:1fr; } }
.split img, .split .media{ border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }

.media-frame{
  border-radius: var(--radius-lg); overflow:hidden; position:relative;
  background: linear-gradient(160deg, var(--royal), var(--royal-deep));
  aspect-ratio: 4/5; display:flex; align-items:center; justify-content:center; box-shadow: var(--shadow-lg);
}
.media-frame img{ width:60%; }
.media-frame.landscape{ aspect-ratio:16/10; }

/* ---- Forms ---- */
.field{ margin-bottom:18px; }
.field label{ display:block; font-weight:600; font-size:.9rem; margin-bottom:7px; color: var(--royal-deep); }
.field .hint{ font-size:.8rem; color: var(--ink-soft); margin-top:6px; }
input, select, textarea{
  width:100%; padding: 13px 15px; border-radius: 10px; border:1.5px solid var(--line);
  background:#fff; font-family: inherit; font-size:.98rem; color: var(--ink);
}
input:focus, select:focus, textarea:focus{ border-color: var(--royal-bright); }
textarea{ min-height:130px; resize:vertical; }
.checkbox-row{ display:flex; align-items:flex-start; gap:10px; }
.checkbox-row input{ width:18px; height:18px; margin-top:3px; flex:none; }
.checkbox-row label{ font-weight:500; font-size:.9rem; color: var(--ink-soft); margin:0; }
.form-card{ background:#fff; border:1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px,4vw,44px); box-shadow: var(--shadow-md); }
.form-note{
  background: var(--paper-deep); border-left:4px solid var(--scarlet); border-radius: 10px; padding:16px 18px; font-size:.94rem; color: var(--ink-soft); margin-bottom:24px;
}

/* ---- Footer ---- */
.site-footer{ background: var(--royal-deep); color: rgba(255,255,255,.82); padding-block: 64px 30px; }
.footer-grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 880px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .footer-grid{ grid-template-columns: 1fr; } }
.site-footer h4{ color:#fff; font-size:.85rem; text-transform:uppercase; letter-spacing:.1em; font-family: var(--font-label); margin-bottom:16px; }
.site-footer a{ display:block; color: rgba(255,255,255,.72); font-size:.93rem; padding-block:6px; }
.site-footer a:hover{ color: var(--gold-soft); }
.footer-brand{ display:flex; gap:12px; align-items:center; margin-bottom:14px; }
.footer-brand img{ width:44px; height:44px; border-radius:50%; }
.footer-tagline{ font-family: var(--font-display); font-style:italic; color: rgba(255,255,255,.7); max-width: 32ch; }
.footer-bottom{ border-top:1px solid var(--line-dark); margin-top:48px; padding-top:24px; display:flex; flex-wrap:wrap; gap:14px; justify-content:space-between; font-size:.82rem; color: rgba(255,255,255,.55); }
.footer-bottom a{ display:inline; padding:0; color: rgba(255,255,255,.55); }
.social-row{ display:flex; gap:10px; margin-top:16px; }
.social-row a{ width:36px; height:36px; border-radius:50%; border:1px solid rgba(255,255,255,.25); display:flex; align-items:center; justify-content:center; padding:0; }

/* ---- Scripture block ---- */
.scripture{
  font-family: var(--font-display); font-style: italic; font-size: clamp(1.3rem,2.4vw,1.7rem);
  color: var(--royal-deep); text-align:center; max-width: 720px; margin-inline:auto; line-height:1.5;
}
.scripture cite{ display:block; font-style:normal; font-family: var(--font-label); text-transform:uppercase; letter-spacing:.14em; font-size:.8rem; color: var(--scarlet); margin-top:16px; }

/* ---- Placeholder notice (content-rule compliance) ---- */
.placeholder{
  border: 1.5px dashed var(--gold); background: #FBF6E8; color:#7a5d17;
  border-radius: 10px; padding:12px 16px; font-size:.85rem; display:flex; gap:10px; align-items:flex-start;
}

/* ---- Breadcrumb ---- */
.breadcrumb{ font-size:.85rem; color: var(--ink-soft); display:flex; gap:8px; align-items:center; padding-top:18px; }
.breadcrumb a:hover{ color: var(--royal); }

/* ---- Page header (interior pages) ---- */
.page-hero{
  background: linear-gradient(180deg, var(--royal-deep), var(--royal));
  color:#fff; padding-block: clamp(48px,7vw,84px) clamp(56px,8vw,90px);
}
.page-hero h1{ color:#fff; font-size: clamp(2.1rem,4vw,3.1rem); }
.page-hero p{ color: rgba(255,255,255,.85); margin-top:14px; max-width:60ch; font-size:1.05rem; }

/* ---- CTA banner ---- */
.cta-banner{
  background: linear-gradient(120deg, var(--scarlet), var(--scarlet-deep));
  border-radius: var(--radius-lg); padding: clamp(32px,5vw,56px); color:#fff;
  display:flex; flex-wrap:wrap; gap:24px; align-items:center; justify-content:space-between;
}
.cta-banner h3{ color:#fff; font-size: clamp(1.5rem,2.6vw,2rem); max-width: 30ch; }

/* ---- Search modal ---- */
.search-overlay{
  position:fixed; inset:0; background: rgba(10,20,50,.55); backdrop-filter: blur(4px);
  z-index:300; display:flex; align-items:flex-start; justify-content:center; padding: 8vh 20px;
  opacity:0; pointer-events:none; transition: opacity .2s var(--ease);
}
.search-overlay.open{ opacity:1; pointer-events:auto; }
.search-panel{ background:#fff; width:100%; max-width:620px; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow:hidden; }
.search-input-row{ display:flex; align-items:center; gap:12px; padding: 18px 22px; border-bottom:1px solid var(--line); }
.search-input-row input{ border:none; padding:0; font-size:1.1rem; }
.search-input-row input:focus{ outline:none; }
.search-body{ padding: 18px 22px; max-height:50vh; overflow-y:auto; }
.search-cats{ display:flex; gap:8px; flex-wrap:wrap; margin-bottom:14px; }
.search-hint{ color: var(--ink-soft); font-size:.9rem; }
.search-close{ margin-left:auto; }

/* ---- AI widget ---- */
.ai-panel{ background:#fff; border:1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow:hidden; }
.ai-thread{ padding: 22px; min-height: 320px; max-height:440px; overflow-y:auto; display:flex; flex-direction:column; gap:14px; }
.ai-msg{ max-width:82%; padding:12px 16px; border-radius: 16px; font-size:.95rem; line-height:1.5; }
.ai-msg.assistant{ background: var(--paper-deep); color: var(--ink); border-bottom-left-radius:4px; align-self:flex-start; }
.ai-msg.user{ background: var(--royal); color:#fff; border-bottom-right-radius:4px; align-self:flex-end; }
.ai-input-row{ display:flex; gap:10px; padding: 16px 18px; border-top:1px solid var(--line); background: var(--paper); }
.ai-input-row input{ flex:1; }
.ai-suggestions{ display:flex; gap:8px; flex-wrap:wrap; padding: 0 18px 16px; }
.ai-chip{ font-size:.82rem; padding:8px 14px; border-radius:999px; background:#fff; border:1px solid var(--line); cursor:pointer; }
.ai-chip:hover{ border-color: var(--royal); color: var(--royal); }
.ai-disclaimer{ font-size:.78rem; color: var(--ink-soft); padding: 10px 18px; background: var(--paper-deep); border-top:1px solid var(--line); }

/* ---- Utility ---- */
.text-center{ text-align:center; }
.mt-0{ margin-top:0; }
.stack{ display:flex; flex-direction:column; gap:14px; }
.row{ display:flex; align-items:center; gap:12px; }
.wrap{ display:flex; flex-wrap:wrap; gap:12px; }
.small{ font-size:.85rem; color: var(--ink-soft); }
.divider{ height:1px; background: var(--line); border:none; margin-block: 40px; }
.reveal{ opacity:0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in{ opacity:1; transform:none; }

/* ---------- Sliding programmes & events carousel ---------- */
.slider{
  position:relative; border-radius: var(--radius-lg); overflow:hidden; box-shadow: var(--shadow-lg);
  background: var(--royal-deep);
}
.slider-track{ display:flex; transition: transform .55s var(--ease); }
.slide{
  min-width:100%; position:relative; aspect-ratio: 16/8;
  background-size:cover; background-position:center; background-color: var(--royal-deep);
  display:flex; align-items:flex-end;
}
.slide::after{
  content:""; position:absolute; inset:0;
  background: linear-gradient(0deg, rgba(8,20,50,.88) 0%, rgba(8,20,50,.4) 42%, rgba(8,20,50,.05) 72%);
}
.slide-content{ position:relative; z-index:2; padding: clamp(24px,4vw,52px); color:#fff; max-width:640px; }
.slide-content h3{ color:#fff; font-size: clamp(1.5rem,3vw,2.2rem); margin-top:10px; }
.slide-content p{ margin-top:10px; color: rgba(255,255,255,.88); max-width:48ch; }

/* Flyer-style slide: shows the full promotional image without cropping,
   with a separate solid caption bar rather than a text overlay. */
.slide--flyer{ flex-direction:column; align-items:stretch; background: var(--royal-deep); }
.slide--flyer::after{ display:none; }
.slide--flyer .slide-media{ flex:1; display:flex; align-items:center; justify-content:center; overflow:hidden; min-height:0; }
.slide--flyer .slide-media img{ max-height:100%; max-width:100%; object-fit:contain; }
.slide--flyer .slide-caption{ background:#fff; padding: 16px clamp(18px,3vw,32px); position:relative; z-index:2; }
.slide--flyer .slide-caption h3{ color: var(--royal-deep); font-size:1.3rem; margin:0; }

.slider-arrow{
  position:absolute; top:50%; transform:translateY(-50%); width:44px; height:44px; border-radius:50%;
  background: rgba(255,255,255,.92); border:none; display:flex; align-items:center; justify-content:center;
  cursor:pointer; z-index:3; box-shadow: var(--shadow-sm); color: var(--royal-deep); transition: background .15s;
}
.slider-arrow:hover{ background:#fff; }
.slider-prev{ left:16px; }
.slider-next{ right:16px; }
.slider-dots{ position:absolute; bottom:14px; left:50%; transform:translateX(-50%); display:flex; gap:8px; z-index:3; }
.slider-dot{
  width:9px; height:9px; border-radius:50%; background: rgba(255,255,255,.55); border:2px solid transparent;
  cursor:pointer; padding:0; transition: width .25s var(--ease), background .2s;
}
.slider-dot.active{ background:#fff; width:24px; border-radius:6px; }

@media (max-width: 640px){
  .slider-arrow{ width:36px; height:36px; }
  .slide{ aspect-ratio: 3/4; }
  .slide--flyer{ aspect-ratio: 3/4; }
}

/* ---- 404/offline ---- */
.state-page{ min-height: 70vh; display:flex; align-items:center; justify-content:center; text-align:center; padding: 60px var(--gutter); }
.state-page .code{ font-family: var(--font-display); font-size: clamp(4rem,10vw,7rem); color: var(--royal); line-height:1; }
