/* ============================================================
   Pathways For All People — faithful static rebuild
   Recreates the live WordPress/Avada design without WordPress.
   Fonts: Gentium Book Plus (headings) + Inter (body)
   Palette (exact Avada tokens):
     white #fff · cream #fcf7f6 · mint #daf2e6 · amber #eda444
     orange #f1642b · plum #5b4f68 · indigo #3b3a64 · dark #09202c
   ============================================================ */

:root {
  --white: #ffffff;
  --cream: #fcf7f6;
  --mint: #daf2e6;
  --amber: #eda444;
  --amber-dark: #d98e2b;
  --orange: #f1642b;
  --plum: #5b4f68;
  --indigo: #3b3a64;
  --dark: #09202c;

  --text: #3b3a64;
  --muted: #6c6b86;
  --line: rgba(59, 58, 100, .12);

  --serif: "Gentium Book Plus", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --wrap: 1200px;
  --radius: 8px;
  --shadow: 0 8px 30px -12px rgba(59, 58, 100, .22);
  --ease: cubic-bezier(.25, .8, .35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.72;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--indigo); text-decoration: none; transition: color .2s; }
a:hover { color: var(--amber-dark); }

h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--indigo);
  line-height: 1.2;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.2rem, 4.5vw, 3.35rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
h4 { font-size: 1.2rem; }
p { margin: 0 0 1.15em; }
strong, b { font-weight: 600; color: inherit; }
ul, ol { margin: 0 0 1.15em; padding-left: 1.4rem; }
li { margin-bottom: .4em; }
li::marker { color: var(--amber-dark); }
::selection { background: rgba(237, 164, 68, .25); }

.wrap { width: min(var(--wrap), 92vw); margin-inline: auto; }
.narrow { max-width: 820px; }

/* skip link */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--indigo); color: #fff; padding: .7rem 1.2rem;
}
.skip-link:focus { left: 0; }

/* buttons — flat amber (Avada button_type-flat) */
.btn {
  display: inline-block;
  font: 600 1rem/1 var(--sans);
  letter-spacing: .01em;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: background .2s, color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn-primary { background: var(--amber); color: #fff; }
.btn-primary:hover { background: var(--amber-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(217, 142, 43, .6); }
.btn-outline { background: transparent; color: var(--indigo); border-color: var(--line); }
.btn-outline:hover { border-color: var(--indigo); color: var(--indigo); }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { background: var(--amber); border-color: var(--amber); color: #fff; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* ============================================================
   HEADER  (Avada header layout v3: logo left, title right, nav below)
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--line);
}
/* blur lives on a pseudo-element so the header itself is NOT a containing block
   for the fixed-position mobile menu (backdrop-filter would trap it otherwise) */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.header-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: .9rem 0;
}
.brand { display: inline-flex; align-items: center; gap: 1rem; }
.brand img { width: 84px; height: 84px; display: block; }
.brand-title {
  font-family: var(--serif); font-size: clamp(1.7rem, 3.2vw, 2.7rem);
  color: var(--indigo); line-height: 1; margin: 0;
}
.brand-title small { display: block; font-family: var(--sans); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: .5rem; }

/* contact in header (desktop, right of the brand) */
.header-contact { display: flex; flex-direction: column; align-items: flex-end; gap: .35rem; }
.header-contact a {
  display: inline-flex; align-items: center; gap: .5rem;
  font: 600 .98rem/1 var(--sans); color: var(--indigo); white-space: nowrap;
}
.header-contact a:hover { color: var(--amber-dark); }
.header-contact svg { width: 1.05rem; height: 1.05rem; stroke: var(--amber-dark); fill: none; }

/* contact inside the mobile slide-out menu */
.nav-contact { display: none; }

.main-nav { border-top: 1px solid var(--line); }
.main-nav > ul {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: .3rem; list-style: none; margin: 0; padding: .2rem 0;
}
.main-nav a {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .85rem 1.05rem; font: 500 1rem/1 var(--sans);
  color: var(--indigo); border-bottom: 3px solid transparent;
}
.main-nav a:hover { color: var(--amber-dark); }
.main-nav .current > a { color: var(--amber-dark); border-bottom-color: var(--amber); }
.main-nav .caret { width: .62rem; height: .62rem; opacity: .55; }

.has-sub { position: relative; }
.sub-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 250px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: .4rem;
  list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s;
  z-index: 20;
}
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.sub-menu a { display: block; padding: .6rem .85rem; border-radius: 6px; border: 0; font-size: .95rem; }
.sub-menu a:hover { background: var(--cream); color: var(--amber-dark); }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: .5rem;
}
.nav-toggle svg { width: 1.8rem; height: 1.8rem; stroke: var(--indigo); }

@media (max-width: 940px) {
  .brand img { width: 60px; height: 60px; }
  .brand-title { font-size: 1.5rem; }
  .brand-title small { display: none; }
  .header-contact { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-contact {
    display: flex; flex-direction: column; gap: .9rem;
    margin-top: 1.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line);
  }
  .nav-contact a { display: inline-flex; align-items: center; gap: .6rem; font: 600 1.05rem/1 var(--sans); color: var(--indigo); }
  .nav-contact svg { width: 1.2rem; height: 1.2rem; stroke: var(--amber-dark); fill: none; }
  .main-nav {
    border-top: 0;
    position: fixed; inset: 0; top: 0; z-index: 150;
    background: var(--white); padding: 5rem 6vw 2rem; overflow-y: auto;
    transform: translateX(100%); transition: transform .3s var(--ease);
  }
  .main-nav.open { transform: none; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav a { justify-content: space-between; padding: 1rem .4rem; border-bottom: 1px solid var(--line); }
  .main-nav .current > a { border-bottom-color: var(--line); }
  .sub-menu {
    position: static; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; border: 0; border-radius: 0; padding: 0 0 .5rem 1rem; min-width: 0;
  }
  .nav-close {
    position: absolute; top: 1.3rem; right: 6vw; background: none; border: 0;
    font-size: 2rem; line-height: 1; color: var(--indigo); cursor: pointer;
  }
}
@media (min-width: 941px) { .nav-close { display: none; } }

/* ============================================================
   HERO  (home + interior page titles)
   ============================================================ */
.hero {
  background: linear-gradient(180deg, var(--cream), var(--white));
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { margin-bottom: .3em; }
.hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 34ch; margin-bottom: 2rem; }
.hero-art { position: relative; }
.hero-art img { width: 100%; border-radius: 16px; box-shadow: var(--shadow); display: block; }
.hero-badge {
  position: absolute; bottom: -18px; left: -18px;
  background: #fff; border-radius: 14px; box-shadow: var(--shadow);
  padding: .8rem 1.1rem; display: flex; align-items: center; gap: .7rem;
  font: 600 .95rem/1.2 var(--sans); color: var(--indigo);
}
.hero-badge img { width: 40px; height: 40px; border-radius: 0; box-shadow: none; }
@media (max-width: 500px) { .hero-badge { display: none; } }

/* interior page banner */
.page-banner {
  background: linear-gradient(180deg, var(--cream), var(--white));
  padding: clamp(2.2rem, 5vw, 3.6rem) 0 clamp(1.6rem, 3vw, 2.4rem);
  text-align: center;
}
.page-banner .eyebrow { display: block; font: 600 .8rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--amber-dark); margin-bottom: 1rem; }
.page-banner h1 { margin: 0 auto .4em; }
.page-banner .lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; margin: 0 auto; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 1.2rem; }
.crumbs a { color: var(--amber-dark); }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: clamp(2.8rem, 6vw, 4.5rem) 0; }
.section-cream { background: var(--cream); }
.section-mint { background: var(--mint); }
.section-tight { padding: clamp(2rem, 4vw, 3rem) 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(2rem, 4vw, 3rem); }
.section-head .eyebrow { display: block; font: 600 .8rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--amber-dark); margin-bottom: 1rem; }
.section-head p { color: var(--muted); }

.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose img { border-radius: 12px; box-shadow: var(--shadow); margin: 1.5rem 0; }

/* service feature image (top of service pages) */
.feature-img {
  display: block; width: 100%; aspect-ratio: 21/9; object-fit: cover;
  border-radius: 14px; box-shadow: var(--shadow); margin: 0 auto;
}
.feature-wrap { max-width: 980px; margin: clamp(1.6rem, 3vw, 2.4rem) auto 0; }

/* photo header on service cards */
.card .thumb {
  display: block; margin: -2rem -1.8rem 1.3rem; aspect-ratio: 16/9; overflow: hidden;
  border-radius: 13px 13px 0 0;
}
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.card:hover .thumb img { transform: scale(1.04); }

/* decorative image pair (pathway-painting + autumn-leaves) */
.image-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; max-width: 720px; margin: 2.5rem auto 0; }
@media (max-width: 560px) { .image-pair { grid-template-columns: 1fr; } }
.image-pair img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 14px; box-shadow: var(--shadow); }

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.6rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 2rem 1.8rem; box-shadow: 0 2px 10px -6px rgba(59,58,100,.15);
  display: flex; flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(237,164,68,.4); }
.card .icon {
  width: 3.4rem; height: 3.4rem; border-radius: 12px; margin-bottom: 1.2rem;
  background: rgba(237,164,68,.14); display: grid; place-items: center;
}
.card .icon svg { width: 1.9rem; height: 1.9rem; stroke: var(--amber-dark); fill: none; }
.card h3 { font-size: 1.4rem; margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .98rem; margin-bottom: 1.2rem; }
.card .more { margin-top: auto; font: 600 .95rem/1 var(--sans); color: var(--amber-dark); display: inline-flex; align-items: center; gap: .4rem; }
.card .more svg { width: 1rem; height: 1rem; transition: transform .2s; }
.card:hover .more svg { transform: translateX(4px); }

/* article cards (blog / featured) */
.article-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.6rem; }
.article-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  box-shadow: 0 2px 10px -6px rgba(59,58,100,.15); display: flex; flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.article-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.article-card .thumb { aspect-ratio: 16/10; overflow: hidden; }
.article-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.article-card .body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.article-card .cat { font: 600 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--amber-dark); margin-bottom: .5rem; }
.article-card h3 { font-size: 1.35rem; margin-bottom: .4rem; }
.article-card .more { margin-top: auto; padding-top: .8rem; font: 600 .9rem/1 var(--sans); color: var(--amber-dark); }

/* ============================================================
   CONTACT BAND  (the recurring phone/email/CTA strip)
   ============================================================ */
.contact-band { background: var(--cream); }
.contact-band .inner {
  text-align: center; max-width: 680px; margin: 0 auto;
}
.contact-band .phone { font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.8rem); color: var(--indigo); display: inline-block; margin-bottom: .3rem; }
.contact-band .email { font-size: 1.15rem; color: var(--amber-dark); font-weight: 600; display: inline-block; margin-bottom: 1.2rem; }
.contact-band p { color: var(--muted); margin-bottom: 1.6rem; }

/* values / feature list */
.value-list { display: grid; gap: 1.4rem; max-width: 820px; margin: 0 auto; }
.value-item { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--amber); border-radius: 10px; padding: 1.4rem 1.6rem; }
.value-item h3 { font-size: 1.3rem; margin-bottom: .3rem; }
.value-item p { color: var(--muted); margin: 0; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center; }
@media (max-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat b { display: block; font: 400 clamp(2rem, 4vw, 3rem)/1 var(--serif); color: var(--amber); }
.stat span { font-size: .85rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* documents list */
.doc-list { display: grid; gap: 1rem; max-width: 820px; margin: 0 auto; }
.doc {
  display: flex; align-items: center; gap: 1.2rem;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1.2rem 1.5rem;
  transition: transform .2s var(--ease), box-shadow .2s, border-color .2s;
}
.doc:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(237,164,68,.4); }
.doc .icon { flex: none; width: 2.8rem; height: 2.8rem; border-radius: 10px; background: rgba(237,164,68,.14); display: grid; place-items: center; }
.doc .icon svg { width: 1.4rem; height: 1.4rem; stroke: var(--amber-dark); fill: none; }
.doc b { display: block; color: var(--indigo); font-size: 1.05rem; }
.doc span { color: var(--muted); font-size: .9rem; }
.doc .dl { margin-left: auto; flex: none; font: 600 .85rem/1 var(--sans); color: var(--amber-dark); }

/* friends & sponsors — uniform tile wall */
.friends-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 1.1rem;
}
.friend {
  margin: 0; /* strip UA <figure> margins so tiles fill their grid cells evenly */
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 1.2rem 1rem .95rem; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: .8rem;
  min-height: 132px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.friend:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(237,164,68,.45); }
.friend .logo-well { flex: 1; display: grid; place-items: center; width: 100%; }
.friend img { max-height: 60px; max-width: 100%; width: auto; object-fit: contain; }
.friend figcaption, .friend .name {
  font: 600 .68rem/1.35 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted);
}
.friend-invite {
  border-style: dashed; border-color: rgba(237,164,68,.55); background: var(--cream);
  justify-content: center; gap: .3rem; text-align: center;
}
.friend-invite .invite-lead { font: 400 1.02rem/1.25 var(--serif); color: var(--indigo); }
.friend-invite .invite-lead b { font-weight: 700; }
.friend-invite span:not(.invite-lead) { font: 400 .72rem/1.4 var(--sans); color: var(--muted); text-transform: none; letter-spacing: 0; }
.friend-invite:hover { border-color: var(--amber); background: #fff; }
@media (max-width: 540px) { .friends-grid { grid-template-columns: repeat(2, 1fr); gap: .8rem; } }

/* ---- mobile "spread deck" for the friends wall (JS adds .deck-on ≤540px) ----
   All deck styles live inside the media query, so a stale .deck-on class can
   never affect tablet/desktop layouts. */
.deck-hint { display: none; }
@media (max-width: 540px) {
  .friends-grid.deck-on {
    display: block; position: relative; height: 240px; overflow: visible;
  }
  .friends-grid.deck-on .friend {
    position: absolute; top: 0; left: 50%;
    width: min(250px, 72vw); min-height: 168px; margin: 0;
    transition: transform .55s var(--ease), opacity .55s var(--ease);
    will-change: transform, opacity;
    box-shadow: 0 6px 22px -10px rgba(59,58,100,.35);
  }
  .friends-grid.deck-on .dk0 { z-index: 6; transform: translateX(-50%) rotate(0deg); opacity: 1; }
  .friends-grid.deck-on .dk1 { z-index: 5; transform: translateX(calc(-50% + 18px)) translateY(12px) rotate(3deg); opacity: 1; }
  .friends-grid.deck-on .dk2 { z-index: 4; transform: translateX(calc(-50% - 18px)) translateY(22px) rotate(-3deg); opacity: 1; }
  .friends-grid.deck-on .dk3 { z-index: 3; transform: translateX(calc(-50% + 30px)) translateY(32px) rotate(6deg); opacity: .9; }
  .friends-grid.deck-on .dk-rest { z-index: 2; transform: translateX(-50%) translateY(36px) scale(.96); opacity: 0; pointer-events: none; }
  .friends-grid.deck-on .dk-leave { z-index: 7; transform: translateX(-50%) translateY(-44px) rotate(-7deg); opacity: 0; pointer-events: none; }
  .friends-grid.deck-on ~ .deck-hint {
    display: block; text-align: center; font: 500 .78rem/1.4 var(--sans);
    color: var(--muted); margin-top: .9rem;
  }
}

/* forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; max-width: 760px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font: 600 .9rem/1.2 var(--sans); color: var(--indigo); }
.field .req { color: var(--orange); }
.field input, .field textarea {
  font: 400 1rem/1.5 var(--sans); color: var(--indigo);
  padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: 8px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 4px rgba(237,164,68,.18); }
.check { grid-column: 1 / -1; display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; color: var(--muted); }
.check input { width: 1.1rem; height: 1.1rem; margin-top: .3rem; accent-color: var(--amber-dark); }

/* ============================================================
   FOOTER  (dark indigo, 4 columns)
   ============================================================ */
.site-footer { background: var(--indigo); color: rgba(255,255,255,.8); margin-top: 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr 1.3fr; gap: 2.2rem;
  padding: clamp(3rem, 6vw, 4rem) 0 2.6rem;
}

/* footer link groups are <details>: on desktop they behave as plain columns —
   always open, marker hidden, heading not clickable */
.footer-group summary { list-style: none; cursor: default; pointer-events: none; }
.footer-group summary::-webkit-details-marker { display: none; }
.footer-group summary h4 { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.1rem; }
.footer-group summary h4::after {
  content: ""; width: .55rem; height: .55rem; flex: none;
  border-right: 2px solid var(--amber); border-bottom: 2px solid var(--amber);
  transform: rotate(45deg) translateY(-2px);
  transition: transform .25s var(--ease);
  display: none; /* chevron only shows on mobile */
}

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) {
  /* accordions: Services / About Us / Documents & Policies stack full-width,
     collapsed by default (JS removes [open]); Get In Touch sits below them */
  .footer-grid { grid-template-columns: 1fr; gap: 0; padding: 2rem 0 1.4rem; }
  .footer-about { display: none; }
  .footer-intro { margin-bottom: 1.2rem; }
  .footer-brand { margin-bottom: 0; }
  .footer-group { border-top: 1px solid rgba(255,255,255,.14); }
  .footer-group summary { cursor: pointer; pointer-events: auto; padding: 1rem 0; }
  .footer-group summary h4 { margin-bottom: 0; width: 100%; justify-content: space-between; display: flex; }
  .footer-group summary h4::after { display: inline-block; }
  .footer-group[open] summary h4::after { transform: rotate(-135deg) translateY(2px); }
  .footer-group ul { padding: 0 0 1.1rem .2rem; gap: .55rem; }
  .footer-touch { border-top: 1px solid rgba(255,255,255,.14); padding-top: 1.2rem; margin-top: 0; }
  .site-footer h4 { margin-bottom: .8rem; }
  .site-footer a { font-size: .92rem; }
  .footer-contact li { font-size: .92rem; }
  .footer-bottom { justify-content: center; text-align: center; font-size: .8rem; padding: 1.1rem 0 1.4rem; gap: .4rem 1.2rem; }
}
.footer-brand { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.footer-brand img { width: 52px; height: 52px; background: #fff; border-radius: 8px; padding: 3px; }
.footer-brand b { font: 400 1.25rem/1.1 var(--serif); color: #fff; }
.footer-about { font-size: .95rem; line-height: 1.6; opacity: .85; max-width: 30ch; }
.site-footer h4 { color: #fff; font: 600 .82rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer li { margin: 0; }
.site-footer a { color: rgba(255,255,255,.8); font-size: .95rem; line-height: 1.4; display: inline-block; }
.footer-contact li { line-height: 1.5; }
.site-footer a:hover { color: var(--amber); }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; }
.footer-contact svg { width: 1.05rem; height: 1.05rem; flex: none; margin-top: .25rem; stroke: var(--amber); fill: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14); padding: 1.4rem 0 1.8rem;
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between; align-items: center;
  font-size: .85rem; opacity: .8;
}
.footer-bottom a { color: rgba(255,255,255,.8); }
.footer-bottom a:hover { color: var(--amber); }
.footer-credit { display: inline-flex; align-items: center; gap: .4rem; }
.footer-credit svg { width: .95rem; height: .95rem; fill: var(--amber); }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-1 { transition-delay: .08s; } .rv-2 { transition-delay: .16s; } .rv-3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media print {
  .site-header, .site-footer, .contact-band { display: none; }
}
