/* Hands on Health — shared styles (v2)
   Brand (brightened): navy #3e5a8c | aqua #6fd8cb | teal #2b918e | gold #ffbb2e
   Type: La Luxes Serif (display) / Quicksand (UI) / Cabin (body) */

:root {
  --navy: #40587f;
  --navy-deep: #354a6e;
  --aqua: #7dd0c5;
  --teal: #35908c;
  --gold: #f5b83e;
  --gold-hot: #f9be34;
  --ink: #35435f;
  --cream: #fcfbf7;
  --aqua-tint: #e9f9f6;
  --navy-tint: #eef3fb;
  --line: #d9e6e3;
  --serif: 'La Luxes Serif', 'Cormorant Garamond', Georgia, serif;
  --ui: 'Quicksand', sans-serif;
  --body: 'Cabin', sans-serif;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(62, 90, 140, 0.12);
  --maxw: clamp(20rem, 92vw, 1400px);
  --pad: clamp(0.75rem, 4vw, 1.5rem);
}

/* La Luxes Serif is a licensed font — drop the .woff2 in /fonts/.
   Until then, Cormorant Garamond (Google) stands in. */
@font-face {
  font-family: 'La Luxes Serif';
  src: url('fonts/LaLuxesSerif.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-size: clamp(13px, 12px + 0.4vw, 19px);
  scrollbar-color: var(--teal) var(--cream);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Custom scrollbar (WebKit) */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--aqua), var(--teal));
  border-radius: 8px; border: 3px solid var(--cream);
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--teal), var(--navy)); }

/* Custom cursors — navy arrow w/ aqua dot; gold dot on interactives */
body {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='38' height='38'%3E%3Cpath d='M7 3l19 17-10.5 1.5L10.3 34.6z' fill='%2340587f' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") 7 3, auto;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--cream);
  background-image: radial-gradient(rgba(64, 88, 127, 0.05) 1px, transparent 1.5px);
  background-size: 26px 26px;
  overflow-x: hidden;
}
a, button, summary, [role="button"], label, input, textarea, .map-overlay {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='38' height='38'%3E%3Cpath d='M7 3l19 17-10.5 1.5L10.3 34.6z' fill='%2335908c' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") 7 3, pointer;
}

img { max-width: 100%; display: block; }
a { color: var(--teal); }

h1, h2, h3 { font-family: var(--serif); color: var(--navy); font-weight: 400; line-height: 1.15; overflow-wrap: break-word; }
h1 { font-size: clamp(1.9rem, 5.5vw, 3.9rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.45rem); }

.eyebrow {
  font-family: var(--ui); font-weight: 700;
  font-size: clamp(0.68rem, 1.4vw, 0.78rem);
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 0.75rem;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
section { padding: clamp(2.5rem, 6vw, 5rem) 0; }

/* Four-dot motif (from the HOH logo) */
.dots {
  width: 76px; height: 12px; margin: 1.1rem 0 1.4rem;
  background:
    radial-gradient(circle 6px at 6px 6px,  var(--navy) 5.5px, transparent 6px),
    radial-gradient(circle 6px at 27px 6px, var(--aqua) 5.5px, transparent 6px),
    radial-gradient(circle 6px at 48px 6px, var(--teal) 5.5px, transparent 6px),
    radial-gradient(circle 6px at 69px 6px, var(--gold) 5.5px, transparent 6px);
}
.dots.center { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--ui); font-weight: 700;
  font-size: clamp(0.82rem, 1.6vw, 0.92rem); letter-spacing: 0.06em;
  text-decoration: none; text-align: center;
  padding: 0.85rem 1.9rem; border-radius: 999px;
  border: 2px solid var(--teal); color: var(--teal); background: transparent;
  transition: background 0.25s, color 0.25s, transform 0.2s, box-shadow 0.25s, border-color 0.25s;
}
.btn:hover, .btn:focus-visible {
  background: var(--teal); color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(43, 145, 142, 0.22);
}
.btn:active { transform: translateY(0); }

.btn.solid { background: var(--teal); color: #fff; }
.btn.solid:hover, .btn.solid:focus-visible {
  background: var(--navy); border-color: var(--navy);
  box-shadow: 0 6px 16px rgba(62, 90, 140, 0.25);
}

/* Bright-gold CTA */
.btn.gold {
  background: var(--gold-hot);
  border-color: var(--gold-hot); color: var(--navy-deep);
  box-shadow: 0 4px 12px rgba(255, 187, 46, 0.3);
}
.btn.gold:hover, .btn.gold:focus-visible {
  background: #ffb400; border-color: #ffb400; color: var(--navy-deep);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255, 180, 0, 0.35);
}

/* ---------- Header ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(252, 251, 247, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 18px rgba(62, 90, 140, 0.07);
}
.navbar {
  max-width: var(--maxw); margin: 0 auto;
  padding: 0.6rem var(--pad);
  display: flex; align-items: center; gap: clamp(0.6rem, 2vw, 1.5rem);
}
.brand { margin-right: auto; display: flex; align-items: center; text-decoration: none; }
.brand .logo-svg {
  height: clamp(38px, 7vw, 52px); width: auto; display: block;
  transition: transform 0.25s;
}
.brand:hover .logo-svg { transform: scale(1.02); }

nav.main { display: flex; align-items: center; gap: clamp(0.8rem, 1.8vw, 1.4rem); }
nav.main a {
  font-family: var(--ui); font-weight: 600; font-size: 0.95rem;
  color: var(--navy); text-decoration: none;
  padding: 0.35rem 0.1rem; position: relative;
  transition: color 0.2s, transform 0.2s;
}
nav.main a:not(.btn)::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2.5px; border-radius: 2px;
  background: var(--teal);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.28s ease;
}
nav.main a:not(.btn):hover, nav.main a:not(.btn):focus-visible {
  color: var(--teal);
}
nav.main a:not(.btn):hover::after,
nav.main a:not(.btn):focus-visible::after,
nav.main a[aria-current="page"]:not(.btn)::after { transform: scaleX(1); }
nav.main .btn { padding: 0.6rem 1.4rem; }

/* Hamburger */
.nav-toggle {
  display: none; background: none; border: 0; padding: 0.5rem; z-index: 70;
}
.nav-toggle span {
  display: block; width: 26px; height: 3px; border-radius: 2px;
  background: var(--navy); margin: 5px 0;
  transition: transform 0.3s, opacity 0.25s, background 0.3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); background: var(--teal); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); background: var(--teal); }

/* Mobile drawer */
.nav-backdrop {
  position: fixed; inset: 0; z-index: 55;
  background: rgba(53, 74, 110, 0.45); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.nav-backdrop.show { opacity: 1; pointer-events: auto; }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  nav.main {
    position: fixed; top: 0; right: 0; z-index: 60;
    height: 100vh; height: 100dvh; width: min(320px, 86vw);
    flex-direction: column; align-items: stretch; gap: 0;
    background-color: var(--cream);
    background-image: radial-gradient(rgba(64, 88, 127, 0.05) 1px, transparent 1.5px);
    background-size: 26px 26px;
    border-left: 1px solid var(--line);
    border-radius: 18px 0 0 18px;
    padding: 5.4rem 1.5rem 2rem;
    transform: translateX(105%);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: -16px 0 44px rgba(53, 74, 110, 0.25);
    overflow-y: auto;
  }
  nav.main.open { transform: translateX(0); }
  nav.main::before { /* brand dot-plus */
    content: ''; position: absolute; top: 1.7rem; left: 1.5rem;
    width: 46px; height: 46px;
    background:
      radial-gradient(circle 4px at 23px 5px,  var(--teal) 3.6px, transparent 4px),
      radial-gradient(circle 5px at 7px 23px,  var(--teal) 4.5px, transparent 5px),
      radial-gradient(circle 6px at 23px 23px, var(--teal) 5.5px, transparent 6px),
      radial-gradient(circle 5px at 39px 23px, var(--teal) 4.5px, transparent 5px),
      radial-gradient(circle 4.5px at 23px 41px, var(--teal) 4px, transparent 4.5px);
  }
  nav.main a:not(.btn) {
    color: var(--navy); font-size: 1.1rem; padding: 0.95rem 0.4rem 0.95rem 1.4rem;
    border-bottom: 1px solid var(--line); position: relative;
  }
  nav.main a:not(.btn)::after { display: none; }
  nav.main a:not(.btn)::before {
    content: ''; position: absolute; left: 0.1rem; top: 50%;
    width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%;
    background: var(--aqua); opacity: 0;
    transform: scale(0.4); transition: opacity 0.2s, transform 0.2s;
  }
  nav.main a:not(.btn):hover { color: var(--teal); }
  nav.main a:not(.btn):hover::before { opacity: 1; transform: scale(1); }
  nav.main a[aria-current="page"]:not(.btn) { color: var(--teal); font-weight: 700; }
  nav.main a[aria-current="page"]:not(.btn)::before { opacity: 1; transform: scale(1); background: var(--gold); }
  nav.main .btn { margin-top: 1.6rem; }
}

/* ---------- Hero ---------- */
.hero { background: linear-gradient(160deg, var(--navy-tint), var(--aqua-tint) 60%, var(--cream)); padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.8rem, 6vw, 5rem); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.hero p.lede { font-size: clamp(1rem, 2vw, 1.18rem); margin: 1.2rem 0 1.8rem; max-width: 34rem; }
.hero .cta-row { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.hero .photo { border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.hero .photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 5/4; }
@media (max-width: 820px) { .hero .wrap { grid-template-columns: 1fr; } }

/* Values strip */
.values { background: linear-gradient(150deg, var(--navy), var(--navy-deep)); color: #fff; padding: clamp(2.2rem, 5vw, 3.4rem) 0; }
.values .grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.6rem; text-align: center; }
.values h3 { color: var(--gold); font-family: var(--ui); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.5rem; }
.values p { font-size: 0.94rem; color: #e6ecf5; }
@media (max-width: 900px) { .values .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .values .grid { grid-template-columns: 1fr; } }

/* Split feature rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.split.rev > .media { order: -1; }
.split .media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 5/4; object-fit: cover; width: 100%; height: auto; }
.split .media img.portrait { aspect-ratio: 3/4; max-width: min(400px, 100%); margin-inline: auto; }
.split .media img.square { aspect-ratio: 1/1; max-width: min(380px, 100%); margin-inline: auto; }
.split p + p { margin-top: 0.9rem; }
.split .btn { margin-top: 1.4rem; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split.rev > .media { order: 0; } }

.tint {
  background-color: var(--aqua-tint);
  background-image: radial-gradient(rgba(53, 144, 140, 0.06) 1px, transparent 1.5px);
  background-size: 26px 26px;
}

/* Card grids */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); gap: 1.2rem; margin-top: 2rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.4rem; box-shadow: 0 4px 14px rgba(62,90,140,0.05);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(62,90,140,0.12); border-color: var(--aqua); }
.card h3 { font-family: var(--ui); font-weight: 700; font-size: 1.05rem; margin-bottom: 0.4rem; }
.card p { font-size: 0.95rem; }
.card .dot { width: 12px; height: 12px; border-radius: 50%; margin-bottom: 0.8rem; }

/* Team */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 1.6rem; margin-top: 2.2rem; }
.member { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 14px rgba(62,90,140,0.05); display: flex; flex-direction: column; transition: transform 0.25s, box-shadow 0.25s; }
.member:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(62,90,140,0.12); }
.member img { aspect-ratio: 2/3; object-fit: cover; object-position: top; width: 100%; max-height: 360px; }
.member .info { padding: 1.3rem 1.3rem 1.5rem; }
.member h3 { font-size: 1.25rem; }
.member .role { font-family: var(--ui); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); margin: 0.25rem 0 0.75rem; }
.member p { font-size: 0.95rem; }
.member details { margin-top: 0.6rem; }
.member summary { font-family: var(--ui); font-weight: 700; font-size: 0.88rem; color: var(--teal); }
.member summary:hover { color: var(--navy); }
.member details p { margin-top: 0.6rem; }

/* Quote */
.quote { text-align: center; max-width: 46rem; margin: 0 auto; }
.quote blockquote { font-family: var(--serif); font-size: clamp(1.25rem, 3vw, 1.9rem); color: var(--navy); line-height: 1.4; }
.quote cite { display: block; margin-top: 1rem; font-style: normal; font-family: var(--ui); font-weight: 600; color: var(--teal); font-size: 0.92rem; }

/* FAQ accordion */
.faq { max-width: 50rem; margin: 2rem auto 0; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 0.8rem; overflow: hidden; transition: border-color 0.25s, box-shadow 0.25s; }
.faq details:hover { border-color: var(--aqua); box-shadow: 0 6px 18px rgba(62,90,140,0.1); }
.faq summary {
  list-style: none; padding: 1.1rem 3rem 1.1rem 1.3rem;
  font-family: var(--ui); font-weight: 700; color: var(--navy); font-size: 1.02rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 1.5rem; font-family: var(--ui); transition: transform 0.2s; }
.faq details[open] summary::after { content: '\2212'; color: var(--teal); }
.faq .a { padding: 0 1.3rem 1.3rem; font-size: 0.98rem; }
.faq .a p + p { margin-top: 0.7rem; }

/* Lists with brand dots */
ul.dotlist { list-style: none; margin-top: 0.8rem; }
ul.dotlist li { padding-left: 1.5rem; position: relative; margin-bottom: 0.45rem; }
ul.dotlist li::before {
  content: ''; position: absolute; left: 0; top: 0.55em;
  width: 10px; height: 10px; border-radius: 50%; background: var(--aqua);
}
ul.dotlist li:nth-child(4n+2)::before { background: var(--gold); }
ul.dotlist li:nth-child(4n+3)::before { background: var(--teal); }
ul.dotlist li:nth-child(4n+4)::before { background: var(--navy); }

/* PDF download card */
.pdf-card {
  display: flex; gap: clamp(0.9rem, 3vw, 1.6rem); align-items: center;
  background: #fff; border: 2px solid var(--aqua); border-radius: var(--radius);
  padding: clamp(1.1rem, 3vw, 1.8rem); max-width: 46rem;
  box-shadow: var(--shadow); text-decoration: none;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  flex-wrap: wrap;
}
.pdf-card:hover { transform: translateY(-2px); border-color: var(--teal); box-shadow: 0 10px 24px rgba(62, 90, 140, 0.15); }
.pdf-card svg { width: clamp(46px, 8vw, 68px); height: auto; flex: none; }
.pdf-card .txt { flex: 1; min-width: 200px; }
.pdf-card h3 { font-family: var(--ui); font-weight: 700; font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: var(--navy); }
.pdf-card p { font-size: 0.95rem; color: var(--ink); margin-top: 0.25rem; }
.pdf-card .tag { font-family: var(--ui); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.12em; color: var(--teal); text-transform: uppercase; }

/* Forms */
form.contact { display: grid; gap: 1rem; margin-top: 1.6rem; }
form.contact .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { form.contact .row { grid-template-columns: 1fr; } }
form.contact label { font-family: var(--ui); font-weight: 600; font-size: 0.88rem; color: var(--navy); display: block; margin-bottom: 0.35rem; }
form.contact input, form.contact textarea {
  width: 100%; font-family: var(--body); font-size: max(16px, 1rem); color: var(--ink);
  padding: 0.8rem 0.95rem; border: 1px solid var(--line); border-radius: 10px; background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
form.contact input:focus, form.contact textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(111, 216, 203, 0.45); }
form.contact .status { font-family: var(--ui); font-weight: 600; }
form.contact .status.ok { color: var(--teal); }
form.contact .status.err { color: #c14a41; }
.hp { position: absolute; left: -9999px; }

/* Newsletter bar */
.newsletter { background: linear-gradient(140deg, var(--teal), #23807d); color: #fff; }
.newsletter h2 { color: #fff; }
.newsletter p { color: #e3f4f1; max-width: 36rem; }
.newsletter form { display: flex; gap: 0.8rem; margin-top: 1.4rem; flex-wrap: wrap; }
.newsletter input { flex: 1 1 min(260px, 100%); padding: 0.85rem 1rem; border: 0; border-radius: 999px; font-size: max(16px, 1rem); font-family: var(--body); }
.newsletter input:focus { outline: 3px solid var(--gold); }
.newsletter .status { flex-basis: 100%; font-family: var(--ui); font-weight: 600; }
.newsletter .status.ok { color: var(--gold); }
.newsletter .status.err { color: #ffd9d5; }

/* Events */
.event {
  background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--gold);
  border-radius: var(--radius); padding: 1.5rem 1.6rem; margin-top: 1.6rem;
  display: flex; gap: 1.4rem; align-items: center; flex-wrap: wrap;
  box-shadow: 0 4px 14px rgba(62,90,140,0.05);
  transition: transform 0.25s, box-shadow 0.25s;
}
.event:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(62,90,140,0.11); }
.event .when { font-family: var(--ui); font-weight: 700; color: var(--teal); min-width: 130px; }
.event .what { flex: 1; min-width: 200px; }
.event h3 { font-size: 1.3rem; }

/* Map — themed tint + tap-to-activate */
.map-wrap { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: clamp(240px, 40vw, 420px); }
.map-wrap iframe {
  width: 100%; height: 100%; border: 0; display: block;
  filter: sepia(0.3) hue-rotate(130deg) saturate(0.85) brightness(1.03);
  pointer-events: none;
}
.map-wrap.active iframe { pointer-events: auto; }
.map-wrap.active { overscroll-behavior: contain; touch-action: pan-x pan-y; }
.map-overlay {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(62, 90, 140, 0.06); transition: background 0.25s;
}
.map-overlay:hover { background: rgba(62, 90, 140, 0.12); }
.map-overlay span {
  background: #fff; padding: 0.65rem 1.3rem; border-radius: 999px;
  font-family: var(--ui); font-weight: 700; font-size: 0.9rem; color: var(--navy);
  box-shadow: var(--shadow); border: 2px solid var(--aqua);
}
.map-wrap.active .map-overlay { display: none; }

/* Blog cards */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 1.6rem; margin-top: 2rem; }
a.post, .post { display: block; color: inherit; text-decoration: none; }
.post { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 14px rgba(62,90,140,0.05); transition: transform 0.25s, box-shadow 0.25s; }
.post:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(62,90,140,0.12); }
.post img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.post .info { padding: 1.2rem 1.3rem 1.4rem; }
.post time { font-family: var(--ui); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); }
.post h3 { margin: 0.35rem 0 0.5rem; font-size: 1.3rem; }
.post p { font-size: 0.95rem; }
.post .more { font-family: var(--ui); font-weight: 700; font-size: 0.9rem; color: var(--teal); }
.post:hover .more { color: var(--navy); }

/* ---------- Footer ---------- */
footer.site { background: linear-gradient(160deg, var(--navy), var(--navy-deep)); color: #dfe6f0; padding: clamp(2.2rem, 5vw, 3.4rem) 0 1.8rem; }
footer.site .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(1.4rem, 4vw, 2.5rem); }
footer.site h3 { color: var(--aqua); font-family: var(--ui); font-weight: 700; font-size: 0.88rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 0.9rem; }
footer.site a { color: #dfe6f0; text-decoration: none; transition: color 0.2s; }
footer.site a:hover { color: var(--gold); }
footer.site ul { list-style: none; }
footer.site li { margin-bottom: 0.5rem; }

/* Themed social icons */
footer.site .social { display: flex; gap: 0.9rem; margin-top: 1.1rem; flex-wrap: wrap; }
footer.site .social a {
  width: 42px; height: 42px; border: 2px solid var(--aqua); border-radius: 50%;
  display: grid; place-items: center; color: var(--aqua);
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
footer.site .social a svg { width: 19px; height: 19px; fill: currentColor; }
footer.site .social a:hover {
  background: var(--aqua); border-color: var(--aqua); color: var(--navy-deep);
  transform: translateY(-2px);
}

/* Footer logo — top-left */
.flogo { display: inline-block; margin-bottom: 1.1rem; }
.flogo .logo-svg { height: clamp(44px, 7vw, 58px); width: auto; display: block; }

footer.site .fine { border-top: 1px solid rgba(255,255,255,0.15); margin-top: 2.4rem; padding-top: 1.4rem; font-size: 0.85rem; color: #aebbd0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
@media (max-width: 760px) { footer.site .cols { grid-template-columns: 1fr; } }

.center { text-align: center; }
.mt { margin-top: 1.6rem; }


/* ---------- Sub-page hero with decorative art ---------- */
.hero-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.hero-art { width: 100%; max-width: 320px; justify-self: end; height: auto; }
@media (max-width: 820px) { .hero-grid { grid-template-columns: 1fr; } .hero-art { display: none; } }

/* ---------- Event detail ---------- */
.event-banner { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 16/9; object-fit: cover; height: auto; }
.event-meta { display: flex; gap: 1.5rem 2.5rem; flex-wrap: wrap; margin: 1.4rem 0; font-family: var(--ui); font-weight: 600; color: var(--navy); }
.event-meta span { display: flex; align-items: center; gap: 0.5rem; }
.event-meta .dot-b { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); flex: none; }
.share-row { display: flex; gap: 0.8rem; margin-top: 1rem; }
.share-row a {
  width: 42px; height: 42px; border: 2px solid var(--teal); border-radius: 50%;
  display: grid; place-items: center; color: var(--teal); transition: background 0.25s, color 0.25s, transform 0.25s;
}
.share-row a svg { width: 18px; height: 18px; fill: currentColor; }
.share-row a:hover { background: var(--teal); color: #fff; transform: translateY(-2px); }

/* ---------- Modal popups ---------- */
.modal {
  position: fixed; inset: 0; z-index: 100; display: none;
  align-items: center; justify-content: center; padding: clamp(0.75rem, 3vw, 2rem);
  background: rgba(53, 74, 110, 0.5);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.modal.open { display: flex; }
.modal-card {
  background: var(--cream); border-radius: var(--radius); box-shadow: 0 24px 60px rgba(40, 55, 85, 0.4);
  width: min(720px, 100%); max-height: min(86vh, 86dvh);
  display: flex; flex-direction: column; position: relative; overflow: hidden;
}
.modal-head {
  padding: clamp(1.2rem, 3vw, 1.8rem) clamp(1.2rem, 4vw, 2rem) 1rem;
  border-bottom: 1px solid var(--line);
}
.modal-head h2 { font-size: clamp(1.4rem, 3.4vw, 2rem); padding-right: 2.5rem; }
.modal-body {
  padding: 1.2rem clamp(1.2rem, 4vw, 2rem) 1.4rem; overflow-y: auto;
  font-size: 0.98rem; overscroll-behavior: contain;
}
.modal-body h3 { font-family: var(--ui); font-weight: 700; font-size: 1.05rem; margin: 1.3rem 0 0.4rem; color: var(--teal); }
.modal-body h3:first-child { margin-top: 0; }
.modal-body p + p { margin-top: 0.7rem; }
.modal-body ul.dotlist li { margin-bottom: 0.55rem; }
.modal-foot {
  padding: 1rem clamp(1.2rem, 4vw, 2rem) 1.3rem; border-top: 1px solid var(--line);
  display: flex; gap: 0.8rem; flex-wrap: wrap; background: #fff;
}
.modal-x {
  position: absolute; top: 0.9rem; right: 0.9rem; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--line);
  background: #fff; color: var(--navy); font-size: 1.3rem; line-height: 1;
  font-family: var(--ui); font-weight: 700;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.modal-x:hover { border-color: var(--teal); color: var(--teal); transform: rotate(90deg); }

button.pdf-card { width: 100%; text-align: left; font-family: inherit; font-size: inherit; }
.linklike {
  background: none; border: 0; padding: 0; font: inherit; color: var(--teal);
  text-decoration: underline; text-underline-offset: 2px;
}
.linklike:hover { color: var(--navy); }
footer.site .linklike { color: #dfe6f0; }
footer.site .linklike:hover { color: var(--gold); }

/* Print: only the open modal */
@media print {
  body.modal-open { overflow: visible !important; }
  body.modal-open main, body.modal-open header.site, body.modal-open footer.site, body.modal-open .nav-backdrop { display: none !important; }
  .modal.open { position: static; display: block; background: #fff; padding: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .modal.open .modal-card { box-shadow: none; max-height: none; width: 100%; }
  .modal.open .modal-body { overflow: visible; }
  .modal-x, .modal-foot { display: none !important; }
}

/* ---------- Touch & small-screen refinements ---------- */
@media (hover: none) {
  .btn:hover, .card:hover, .member:hover, .post:hover, .event:hover, .pdf-card:hover { transform: none; }
}
@media (max-width: 640px) {
  .member img { aspect-ratio: 5/4; max-height: 240px; }
  .member .info { padding: 1.1rem 1.1rem 1.2rem; }
  .team { gap: 1.1rem; }
}
button { font-family: inherit; }
summary::-webkit-details-marker { display: none; }
img { height: auto; }
