/* ============================================================
   DESIGN TOKENS
   ============================================================ */

:root {
  --primary: #541e5b;
  --primary-dark: #82288a;
  --primary-soft: #dfeee9;
  --secondary: #f3eee5;
  --accent: #dfb429;
  --background: #fbfaf7;
  --surface: #fff;
  --ink: #a056aa;
  --muted: #66716d;
  --line: #dbe4df;
  --dark: #9b4eb9;
  --dark-soft: #8a2aa1;
  --focus: #f1ad55;
  --shadow: 0 20px 60px rgba(159, 61, 189, 0.1);
  --radius: 22px;
  --max: 1180px;
}

/* ============================================================
   BASE / RESET
   ============================================================ */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  touch-action: manipulation;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
}

/* ============================================================
   LAYOUT & UTILITIES
   ============================================================ */

.container {
  width: min(var(--max),calc(100% - 48px));
  margin-inline: auto;
}

.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-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  background: #fff;
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 8px;
  transform: translateY(-150%);
  transition: transform .2s;
}

.skip-link:focus {
  transform: none;
}

/* ============================================================
   SITE NOTICE
   ============================================================ */

.site-notice {
  background: #2a102e;
  color: #e8f5ef;
  font-size: 12px;
  letter-spacing: .01em;
}

.notice-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.notice-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(230,166,93,.15);
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251,250,247,.94);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(219,228,223,.8);
}

.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 18px;
}

.brand strong {
  display: block;
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.35;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13px;
  font-weight: 650;
}

.primary-nav>a:not(.button) {
  color: #43514d;
  position: relative;
}

.primary-nav>a:not(.button):after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  background: var(--primary);
  transition: right .2s;
}

.primary-nav>a:not(.button):hover:after,
.primary-nav>a:not(.button):focus-visible:after {
  right: 0;
}

.menu-toggle,
.nav-close {
  display: none;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 14px 21px;
  font-weight: 750;
  font-size: 13px;
  transition: transform .2s,background .2s,color .2s,box-shadow .2s;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--accent);
  color: #321e33;
  box-shadow: 0 12px 30px rgba(230,166,93,.22);
}

.button-dark {
  background: var(--primary);
  color: #fff;
}

.button-outline {
  border-color: rgba(255,255,255,.45);
  color: #fff;
}

.button-outline:hover {
  background: #fff;
  color: var(--primary);
}

.button-small {
  padding: 11px 15px;
  background: var(--primary);
  color: #fff;
}

/* ============================================================
   SECTIONS & HEADINGS
   ============================================================ */

.section {
  padding: 110px 0;
}

.section-paper {
  background: var(--background);
}

.section-tint {
  background: #eef5f1;
}

.section-dark {
  background: var(--dark);
  color: #f3f7f3;
  position: relative;
  overflow: hidden;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin: 0 0 18px;
}

.eyebrow span {
  display: inline-block;
  width: 27px;
  height: 2px;
  background: currentColor;
}

.eyebrow-light {
  color: #d0b4d9;
}

.section h2,
.section-dark h2 {
  font-family: Georgia,serif;
  font-weight: 400;
  font-size: clamp(38px,5vw,64px);
  letter-spacing: -.045em;
  line-height: 1.05;
  margin: 0 0 22px;
}

.section h2 em,
.section-dark h2 em,
.hero h1 em {
  color: var(--primary);
  font-style: italic;
}

.section-dark h2 em {
  color: #d3b7db;
}

.section-intro {
  max-width: 680px;
}

.section-intro.center {
  margin-inline: auto;
  text-align: center;
}

.section-intro.center .eyebrow {
  justify-content: center;
}

.section-intro p:not(.eyebrow) {
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto 42px;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  min-height: 690px;
  padding: 90px 0 90px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 70px;
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 620px;
}

.hero h1 {
  font-family: Georgia,serif;
  font-weight: 400;
  font-size: clamp(55px,7vw,92px);
  letter-spacing: -.065em;
  line-height: .94;
  margin: 0 0 28px;
}

.hero h1 em {
  color: #b6dacd;
}

.hero-lead {
  font-size: 18px;
  color: #c6ddd5;
  max-width: 530px;
  margin: 0 0 34px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 27px;
  flex-wrap: wrap;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--primary);
  font-weight: 750;
  font-size: 13px;
}

.text-link-light {
  color: #f2f7f4;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--accent);
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d0e4de;
  font-size: 12px;
  margin-top: 54px;
}

.hero-trust small {
  color: #8fb8ac;
}

.trust-icon {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid #70aa98;
  border-radius: 50%;
  color: #a9dac9;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  opacity: .55;
}

.hero-orb-one {
  width: 490px;
  height: 490px;
  right: -140px;
  top: -170px;
  background: radial-gradient(circle at 35% 35%,#66347a,transparent 65%);
}

.hero-orb-two {
  width: 340px;
  height: 340px;
  left: 40%;
  bottom: -260px;
  background: radial-gradient(circle at 35% 35%,#51285b,transparent 68%);
}

.hero-visual {
  position: relative;
  max-width: 500px;
  justify-self: end;
}

.image-frame {
  background: #cbded6;
  border-radius: 200px 200px 24px 24px;
  overflow: hidden;
  position: relative;
}

.hero-frame {
  height: 520px;
  border: 11px solid rgba(255,255,255,.15);
  box-shadow: 0 25px 55px rgba(0,0,0,.18);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(145deg,#d4e5de,#9ebdae);
}

.frame-note {
  position: absolute;
  bottom: 17px;
  left: 17px;
  right: 17px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(43, 17, 48, 0.85);
  font-size: 10px;
  color: #e8f5ef;
  display: flex;
  align-items: center;
  gap: 7px;
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-card {
  position: absolute;
  bottom: 35px;
  left: -35px;
  width: 205px;
  padding: 22px 20px;
  background: #f6e9d8;
  color: var(--ink);
  border-radius: 18px;
  box-shadow: 0 20px 45px rgba(0,0,0,.22);
}

.card-icon {
  font-size: 30px;
  color: var(--primary);
  display: block;
  margin-bottom: 6px;
}

.hero-card strong {
  font-family: Georgia,serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.06;
}

.card-arrow {
  position: absolute;
  right: 18px;
  top: 18px;
  color: var(--primary);
  font-weight: 800;
}

.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  color: #89b4a7;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}

.scroll-cue span {
  width: 1px;
  height: 28px;
  background: #89b4a7;
}

/* ============================================================
   IMPACT STRIP & STATS
   ============================================================ */

.impact-strip {
  background: #f5eadb;
  padding: 58px 0 48px;
}

.impact-strip .container {
  display: grid;
  grid-template-columns: 1.1fr 2.4fr;
  gap: 40px;
  align-items: center;
}

.section-intro.compact h2 {
  font-size: 36px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 12px;
}

.stat-card {
  min-height: 126px;
  padding: 17px 12px;
  border-left: 1px solid rgba(178, 83, 187, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-card strong {
  font-size: 29px;
  color: var(--primary);
  letter-spacing: -.05em;
  line-height: 1;
}

.stat-card strong span {
  font-size: 18px;
}

.stat-card>span {
  font-weight: 700;
  font-size: 12px;
  margin-top: 9px;
}

.stat-card small {
  font-size: 9px;
  color: #7c837c;
  margin-top: 5px;
}

.stat-highlight {
  background: var(--primary);
  color: #fff;
  border: 0;
  border-radius: 14px;
  padding: 17px;
}

.stat-highlight strong,
.stat-highlight small {
  color: #fff;
}

.micro-note {
  font-size: 11px;
  color: var(--muted);
  margin: 22px 0 0;
}

.impact-strip .micro-note {
  grid-column: 2;
  margin-top: -20px;
}

/* ============================================================
   STORY
   ============================================================ */

.story-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 100px;
  align-items: center;
}

.story-visual {
  position: relative;
  max-width: 430px;
}

.portrait-frame {
  height: 485px;
  border-radius: 210px 210px 24px 24px;
  overflow: hidden;
  background: #dce9e2;
  border: 10px solid #eef5f1;
}

.portrait-frame img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  background: linear-gradient(145deg,#dceae4,#b2cbbb);
}

.quote-card {
  position: absolute;
  right: -70px;
  bottom: 30px;
  width: 250px;
  padding: 20px 20px 18px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.quote-mark {
  font-family: Georgia,serif;
  color: var(--accent);
  font-size: 42px;
  line-height: .6;
}

.quote-card p {
  font-family: Georgia,serif;
  font-size: 17px;
  line-height: 1.3;
  margin: 4px 0 10px;
}

.quote-card cite {
  font-style: normal;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: .08em;
}

.section-copy {
  max-width: 620px;
}

.section-copy .lead {
  font-size: 20px;
  color: var(--primary);
  line-height: 1.45;
}

.section-copy p {
  color: var(--muted);
  margin: 0 0 20px;
}

/* ============================================================
   SUPPORT CARDS
   ============================================================ */

.support-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
  margin-top: 52px;
}

.support-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 28px;
  border-radius: 18px;
  position: relative;
  min-height: 250px;
  transition: transform .25s,box-shadow .25s;
}

.support-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.support-number {
  position: absolute;
  right: 22px;
  top: 22px;
  color: #9cb5ab;
  font-size: 11px;
  font-weight: 800;
}

.support-icon {
  color: var(--primary);
  font-size: 31px;
  margin-bottom: 16px;
}

.support-card h3 {
  margin: 0 0 8px;
  font-family: Georgia,serif;
  font-size: 24px;
  font-weight: 400;
}

.support-card p {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 22px;
}

.support-card a,
.way-card a {
  font-size: 12px;
  color: var(--primary);
  font-weight: 800;
}

/* ============================================================
   JOURNEY
   ============================================================ */

.journey-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.journey-copy {
  max-width: 510px;
}

.journey-copy p {
  color: #bed8ce;
  margin: 0 0 30px;
}

.journey-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.journey-list li {
  border: 1px solid rgba(184,218,205,.25);
  border-radius: 14px;
  padding: 17px;
  display: grid;
  grid-template-columns: 35px 1fr;
  column-gap: 10px;
  align-items: center;
  transition: background .2s,border .2s;
}

.journey-list li.active,
.journey-list li:hover {
  background: #a050b4;
  border-color: #75a99a;
}

.journey-list li span {
  grid-row: span 2;
  color: #86bdac;
  font-size: 11px;
}

.journey-list strong {
  font-family: Georgia,serif;
  font-weight: 400;
  font-size: 18px;
}

.journey-list small {
  color: #9fc5ba;
  font-size: 10px;
}

/* ============================================================
   SUCCESS STORIES
   ============================================================ */

.section-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 44px;
}

.heading-aside {
  color: var(--muted);
  max-width: 300px;
  font-size: 13px;
  margin: 0;
}

.stories-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.story-card {
  padding: 32px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
}

.story-card-accent {
  background: #f4e6d4;
  border-color: transparent;
}

.story-card-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}

.story-tag,
.story-id {
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--primary);
}

.story-id {
  color: var(--muted);
}

.story-card h3 {
  font-family: Georgia,serif;
  font-weight: 400;
  font-size: 30px;
  line-height: 1.1;
  margin: 0 0 24px;
}

.story-card dl {
  margin: 0 0 26px;
}

.story-card dl div {
  display: grid;
  grid-template-columns: 125px 1fr;
  border-top: 1px solid rgba(30,91,79,.16);
  padding: 12px 0;
  gap: 12px;
}

.story-card dt {
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
}

.story-card dd {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

/* ============================================================
   FILTER PILLS & GALLERY
   ============================================================ */

.filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.filter-pill {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 11px;
}

.filter-pill.active,
.filter-pill:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-auto-rows: 180px;
  gap: 14px;
}

.gallery-item {
  border: 0;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: #c7dbd2;
  text-align: left;
}

.gallery-item.gallery-large {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(145deg,#d9e9e0,#9bbbac);
  transition: transform .35s;
}

\\new for QRCODE



.gallery-item-new img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(145deg,#d9e9e0,#9bbbac);
  transition: transform .35s;
}

.gallery-item-new:hover img {
  transform: scale(1.06);
}


\\new end 

.gallery-item:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 45%,rgba(10,36,31,.73));
  pointer-events: none;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item span {
  position: absolute;
  z-index: 1;
  left: 16px;
  bottom: 14px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.gallery-item b {
  font-size: 16px;
  margin-left: 5px;
}

/* ============================================================
   WAYS TO HELP
   ============================================================ */

.ways-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
}

.way-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  min-height: 275px;
  display: flex;
  flex-direction: column;
}

.way-card.featured {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.way-icon {
  display: block;
  color: var(--accent);
  font-size: 30px;
  margin-bottom: 25px;
}

.way-card h3 {
  font-family: Georgia,serif;
  font-weight: 400;
  font-size: 24px;
  margin: 0 0 9px;
}

.way-card p {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 24px;
}

.way-card.featured p {
  color: #c5ddd3;
}

.way-card a:last-child {
  margin-top: auto;
}

.way-card.featured a {
  align-self: flex-start;
}

/* ============================================================
   SUPPORT DETAILS & ACCOUNT CARD
   ============================================================ */

.support-section {
  padding: 110px 0;
}

.support-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.support-copy {
  max-width: 460px;
}

.support-copy>p {
  color: #c1dcd2;
}

.support-callout {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid rgba(230,166,93,.45);
  border-radius: 12px;
  color: #f2e4d2;
  font-size: 12px;
}

.support-callout>span {
  color: var(--accent);
  font-weight: 800;
}

.support-callout p {
  margin: 0;
}

.support-callout strong {
  color: #fff;
}

.account-card {
  padding: 12px 24px;
  background: #f3eadc;
  color: var(--ink);
  border-radius: 20px;
}

.account-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0 19px;
  font-family: Georgia,serif;
  font-size: 21px;
}

.placeholder-badge {
  font: 800 9px Inter,sans-serif;
  letter-spacing: .12em;
  color: #8b6d4c;
  background: #ead2b3;
  border-radius: 999px;
  padding: 6px 8px;
}

.account-row {
  display: grid;
  grid-template-columns: 1fr 1.5fr auto;
  gap: 12px;
  align-items: center;
  border-top: 1px solid rgba(48,73,61,.15);
  padding: 15px 0;
  font-size: 12px;
}

.account-row>span,
.account-footer span {
  color: #6e766f;
}

.account-row strong,
.account-footer strong {
  font-size: 12px;
  overflow-wrap: anywhere;
}

.copy-button {
  border: 1px solid #c7b59b;
  background: transparent;
  border-radius: 6px;
  padding: 5px 8px;
  font-size: 10px;
  color: #574b3c;
}

.copy-button:hover {
  background: #fff;
}

.account-footer {
  border-top: 1px solid rgba(48,73,61,.15);
  display: flex;
  gap: 15px;
  justify-content: space-between;
  padding: 15px 0;
  font-size: 12px;
}

.copy-status {
  font-size: 11px;
  color: var(--primary);
  min-height: 18px;
  margin: 0 0 5px;
}

/* ============================================================
   TRANSPARENCY
   ============================================================ */

.transparency-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}

.breakdown-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
}

.breakdown-header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
  margin-bottom: 22px;
}

.breakdown-header strong {
  font-family: Georgia,serif;
  font-weight: 400;
  font-size: 20px;
}

.breakdown-header span {
  font-size: 10px;
  color: var(--muted);
}

.bar-row {
  margin: 16px 0;
}

.bar-row>div:first-child {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 6px;
}

.bar-row strong {
  color: var(--muted);
}

.bar {
  height: 7px;
  background: #e5eeea;
  border-radius: 9px;
  overflow: hidden;
}

.bar i {
  display: block;
  height: 100%;
  background: var(--primary);
  border-radius: 9px;
  opacity: .72;
}

/* ============================================================
   DOCUMENTATION
   ============================================================ */

.documentation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 35px;
}

.doc-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 17px;
}

.doc-card>span:first-child {
  font-size: 24px;
  color: var(--primary);
}

.doc-card h3 {
  font-size: 14px;
  margin: 0 0 2px;
}

.doc-card p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}

.doc-status {
  margin-left: auto!important;
  color: var(--muted);
  font-size: 9px;
  white-space: nowrap;
}

/* ============================================================
   VOLUNTEER & INTEREST FORM
   ============================================================ */

.volunteer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}

.volunteer-copy>p {
  color: var(--muted);
}

.interest-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 28px;
}

.interest-list span,
.principles span {
  border: 1px solid #bad3c9;
  color: var(--primary);
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 11px;
}

.interest-form {
  background: #f1f5f1;
  padding: 28px;
  border-radius: 18px;
}

.interest-form label {
  display: block;
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  margin: 0 0 5px;
}

.interest-form label span {
  color: #a8573f;
}

.interest-form input,
.interest-form select,
.interest-form textarea,
.search-box input {
  width: 100%;
  border: 1px solid #cbdad3;
  background: #fff;
  color: var(--ink);
  border-radius: 8px;
  padding: 12px 13px;
  outline: 0;
  margin-bottom: 15px;
}

.interest-form input:focus,
.interest-form select:focus,
.interest-form textarea:focus,
.search-box input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30,91,79,.15);
}

.form-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-note {
  font-size: 11px;
  color: var(--muted);
  margin: 13px 0 0;
}

/* ============================================================
   FAQ & SEARCH
   ============================================================ */

.faq-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 100px;
  align-items: start;
}

.search-box {
  margin-top: 35px;
}

.search-box label {
  display: block;
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 7px;
}

.search-box>div {
  position: relative;
}

.search-box input {
  padding-right: 40px;
  margin: 0;
}

.search-box button {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
}

.search-box p {
  font-size: 11px;
  color: var(--muted);
  min-height: 18px;
}

.faq-list details {
  border-top: 1px solid #c8d9d1;
  padding: 19px 0;
}

.faq-list details:last-child {
  border-bottom: 1px solid #c8d9d1;
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  font-family: Georgia,serif;
  font-size: 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary:after {
  content: "+";
  font-family: Inter,sans-serif;
  color: var(--primary);
  font-size: 22px;
}

.faq-list details[open] summary:after {
  content: "−";
}

.faq-list details p {
  color: var(--muted);
  font-size: 14px;
  max-width: 620px;
}

/* ============================================================
   SAFEGUARDING
   ============================================================ */

.safeguarding {
  padding: 82px 0;
  background: #f5eadb;
}

.safeguard-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}

.safeguard-copy {
  max-width: 560px;
}

.safeguard-copy>p {
  color: #53645c;
}

.principles {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 22px 0;
}

.principles span {
  border-color: #d9b989;
  color: #765d3e;
}

/* ============================================================
   CONTACT
   ============================================================ */

.contact-section {
  padding: 100px 0 70px;
}

.contact-section .section-intro {
  max-width: 740px;
}

.contact-section .section-intro>p:last-child {
  color: #b9d6cc;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
  margin-top: 50px;
}

.contact-card {
  border: 1px solid rgba(190,222,211,.2);
  border-radius: 15px;
  padding: 21px;
  display: flex;
  flex-direction: column;
  transition: background .2s,border .2s;
}

.contact-card:hover {
  background: rgba(255,255,255,.07);
  border-color: #79ad9e;
}

.contact-icon {
  font-size: 25px;
  color: var(--accent);
  margin-bottom: 12px;
}

.contact-card>span:not(.contact-icon) {
  font-size: 10px;
  color: #9fc7ba;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.contact-card strong {
  font-family: Georgia,serif;
  font-size: 20px;
  font-weight: 400;
  margin: 2px 0;
}

.contact-card small {
  color: #83ad9f;
  font-size: 10px;
  overflow-wrap: anywhere;
}

.location-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid rgba(190,222,211,.2);
}

.location-row>div:not(.map-placeholder) {
  display: flex;
  flex-direction: column;
}

.location-label {
  color: #9fc7ba;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 10px;
}

.location-row strong {
  font-size: 14px;
  margin-top: 8px;
}

.location-row span:not(.location-label) {
  font-size: 12px;
  color: #9fbeb3;
}

.map-placeholder {
  min-height: 95px;
  border: 1px dashed rgba(190,222,211,.3);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #92b7ac;
}

.map-placeholder span {
  font-size: 26px;
  color: var(--accent);
}

.map-placeholder strong {
  font-size: 11px;
  color: #c9e0d8;
}

.map-placeholder small {
  font-size: 9px;
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: #9b4eb9;
  color: #b5cec5;
  padding: 60px 0 25px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 50px;
}

.footer-brand p {
  font-size: 12px;
  max-width: 290px;
  margin-top: 23px;
}

.site-footer .brand {
  color: #f2f7f4;
}

.site-footer .brand-mark {
  background: #2a685a;
}

.site-footer .brand small {
  color: #93b8ac;
}

.site-footer h3 {
  font-size: 11px;
  color: #ecf4f0;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin: 0 0 16px;
}

.site-footer a:not(.brand) {
  display: block;
  font-size: 12px;
  margin: 8px 0;
  color: #b5cec5;
}

.site-footer a:not(.brand):hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(190,222,211,.16);
  margin-top: 55px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px;
  color: #82a89c;
}

/* ============================================================
   MOBILE CONTACT BAR & BACK-TO-TOP
   ============================================================ */

.mobile-contact-bar {
  display: none;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 25px;
  z-index: 20;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--primary);
  box-shadow: 0 7px 20px rgba(0,0,0,.1);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s,transform .2s;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

/* ============================================================
   LIGHTBOX
   ============================================================ */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(8,24,20,.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox figure {
  max-width: min(85vw,900px);
  max-height: 85vh;
  margin: 0;
  text-align: center;
}

.lightbox img {
  max-height: 75vh;
  width: auto;
  margin: auto;
  border-radius: 12px;
}

.lightbox figcaption {
  color: #d5e9e1;
  font-size: 12px;
  margin-top: 12px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 42px;
  padding: 10px;
}

.lightbox-close {
  right: 25px;
  top: 14px;
}

.lightbox-prev {
  left: 25px;
}

.lightbox-next {
  right: 25px;
}

/* ============================================================
   TOAST
   ============================================================ */

.toast {
  position: fixed;
  left: 50%;
  bottom: 25px;
  transform: translate(-50%,20px);
  background: #102e2a;
  color: #fff;
  border-radius: 999px;
  padding: 11px 17px;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: .25s;
  z-index: 110;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%,0);
}

/* ============================================================
   FOCUS, REVEAL ANIMATION & HELPERS
   ============================================================ */

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .65s ease,transform .65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.hidden-by-search {
  display: none!important;
}

/* ============================================================
   RESPONSIVE & REDUCED-MOTION
   ============================================================ */

@media (max-width:1080px) {
  .primary-nav {
    gap: 14px;
  }

  .primary-nav>a:not(.button) {
    font-size: 12px;
  }

  .hero-grid {
    gap: 40px;
  }

  .impact-strip .container {
    grid-template-columns: 1fr;
  }

  .impact-strip .micro-note {
    grid-column: auto;
    margin-top: 0;
  }

  .stats-grid {
    max-width: none;
  }

  .ways-grid {
    grid-template-columns: repeat(2,1fr);
  }
}

@media (max-width:820px) {
  .container {
    width: min(var(--max),calc(100% - 36px));
  }

  .section {
    padding: 78px 0;
  }

  .menu-toggle {
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 9px;
  }

  .menu-toggle span:not(.sr-only) {
    width: 18px;
    height: 2px;
    background: var(--primary);
  }

  .primary-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(340px,90vw);
    background: var(--background);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 90px 26px 30px;
    transform: translateX(110%);
    transition: transform .3s;
    box-shadow: -20px 0 50px rgba(0,0,0,.12);
    overflow-y: auto;
  }

  .primary-nav.open {
    transform: none;
  }

  .primary-nav>a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .primary-nav .button {
    margin-top: 20px;
  }

  .nav-close {
    display: block;
    position: absolute;
    right: 22px;
    top: 20px;
    border: 0;
    background: transparent;
    font-size: 30px;
    color: var(--primary);
  }

  .hero {
    padding: 75px 0 100px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    justify-self: start;
    width: min(100%,470px);
    margin: 10px auto 0;
  }

  .hero-frame {
    height: 420px;
  }

  .hero-card {
    left: -10px;
  }

  .story-grid,
  .transparency-grid,
  .volunteer-grid,
  .faq-grid,
  .safeguard-inner,
  .support-layout {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .story-visual {
    margin: auto;
  }

  .quote-card {
    right: -10px;
  }

  .support-grid {
    grid-template-columns: repeat(2,1fr);
  }

  .journey-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .section-heading-row {
    align-items: start;
    flex-direction: column;
  }

  .filter-pills {
    justify-content: flex-start;
  }

  .contact-grid {
    grid-template-columns: repeat(2,1fr);
  }

  .location-row {
    grid-template-columns: 1fr 1fr;
  }

  .map-placeholder {
    grid-column: span 2;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .footer-grid>div:last-child {
    display: none;
  }
}

@media (max-width:560px) {
  body {
    font-size: 15px;
  }

  .container {
    width: calc(100% - 28px);
  }

  .site-notice {
    font-size: 10px;
  }

  .notice-inner {
    min-height: 40px;
    flex-wrap: wrap;
    gap: 5px;
  }

  .notice-inner span:last-child {
    width: 100%;
    padding-left: 16px;
    margin-top: -5px;
  }

  .nav-wrap {
    min-height: 68px;
  }

  .brand strong {
    font-size: 10px;
  }

  .brand small {
    font-size: 8px;
  }

  .hero {
    min-height: 700px;
    padding-top: 62px;
  }

  .hero h1 {
    font-size: 58px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    gap: 18px;
  }

  .hero-frame {
    height: 370px;
  }

  .hero-card {
    width: 180px;
    bottom: 20px;
    padding: 17px;
  }

  .hero-card strong {
    font-size: 19px;
  }

  .scroll-cue {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2,1fr);
    gap: 0;
  }

  .stat-card {
    min-height: 110px;
  }

  .stat-highlight {
    grid-column: span 2;
    margin-top: 8px;
  }

  .section h2,
  .section-dark h2 {
    font-size: 43px;
  }

  .story-grid {
    gap: 35px;
  }

  .portrait-frame {
    height: 370px;
  }

  .quote-card {
    position: relative;
    right: auto;
    bottom: auto;
    margin: -36px 8px 0 auto;
  }

  .support-grid,
  .stories-grid,
  .ways-grid,
  .contact-grid,
  .documentation-grid {
    grid-template-columns: 1fr;
  }

  .support-card {
    min-height: 0;
  }

  .journey-list {
    gap: 9px;
  }

  .journey-list li {
    padding: 13px;
  }

  .journey-list strong {
    font-size: 15px;
  }

  .journey-list small {
    font-size: 9px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 135px;
  }

  .gallery-item.gallery-large {
    grid-row: span 2;
  }

  .account-card {
    padding: 10px 16px;
  }

  .account-row {
    grid-template-columns: 1fr auto;
    gap: 4px;
  }

  .account-row>span {
    grid-column: 1/-1;
  }

  .account-row strong {
    font-size: 11px;
  }

  .account-footer {
    display: block;
  }

  .account-footer strong {
    display: block;
    margin-top: 4px;
  }

  .form-split {
    grid-template-columns: 1fr;
  }

  .location-row {
    grid-template-columns: 1fr;
  }

  .map-placeholder {
    grid-column: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .footer-grid>div:first-child {
    grid-column: 1/-1;
  }

  .footer-grid>div:last-child {
    display: block;
  }

  .footer-bottom {
    display: block;
    margin-bottom: 68px;
  }

  .footer-bottom span {
    display: block;
    margin-top: 6px;
  }

  .mobile-contact-bar {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    position: fixed;
    z-index: 45;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 25px rgba(0,0,0,.09);
  }

  .mobile-contact-bar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    padding: 8px 4px;
    color: var(--primary);
    font-size: 10px;
    font-weight: 800;
  }

  .mobile-contact-bar a:last-child {
    background: var(--accent);
    color: #1e332c;
  }

  .mobile-contact-bar span {
    font-size: 17px;
    line-height: 1;
  }

  .back-to-top {
    bottom: 75px;
    right: 14px;
  }

  .lightbox {
    padding: 40px 15px;
  }

  .lightbox-prev {
    left: 2px;
  }

  .lightbox-next {
    right: 2px;
  }

  .lightbox-close {
    right: 4px;
  }

  .lightbox img {
    max-width: 90vw;
  }
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *:before,
  *:after {
    animation-duration: .01ms!important;
    animation-iteration-count: 1!important;
    transition-duration: .01ms!important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .gallery-item img {
    transition: none;
  }
}


.logo{
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}


/* PANIM certificate gallery */

.certificates-section {
  background: #f7f1e8;
}

.certificate-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 16px;
}

.certificate-grid-new {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 16px;
}

.certificate-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 15px;
  padding: 0;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 7px 24px rgba(51, 18, 61, 0.06);
  transition: transform .2s,box-shadow .2s;
}

.certificate-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.certificate-card img {
  width: 100%;
  height: 165px;
  object-fit: cover;
  object-position: center;
  background: #f0eee8;
}

.certificate-card span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
}

.certificate-card b {
  font-size: 16px;
}

.credential-highlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 26px;
}

.credential-highlight>div {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.credential-label {
  display: block;
  color: var(--primary);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.credential-highlight h3 {
  font-family: Georgia,serif;
  font-size: 22px;
  font-weight: 400;
  margin: 0 0 7px;
}

.credential-highlight p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

.gallery-item img[src*="panim-banner"] {
  object-position: center;
  background: #fff;
}

.gallery-item.gallery-large img[src*="panim-banner"] {
  object-position: center;
}

.gallery-grid .gallery-item:nth-child(1) {
  grid-row: span 2;
}

.gallery-grid .gallery-item:nth-child(2) {
  grid-row: span 2;
}

@media (max-width:820px) {
  .certificate-grid {
    grid-template-columns: repeat(2,1fr);
  }

  .credential-highlight {
    grid-template-columns: 1fr;
  }
}

@media (max-width:560px) {
  .certificate-grid {
    grid-template-columns: 1fr 1fr;
  }

  .certificate-card img {
    height: 115px;
  }

  .credential-highlight>div {
    padding: 18px;
  }
}

/* Mobile refinement: extracted PANIM logo and compact first-screen composition */

.brand-mark {
  overflow: hidden;
  background: #fff;
  border: 1px solid #d6e4de;
  padding: 2px;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 50%;
}

.site-footer .brand-mark {
  background: #fff;
}

.site-footer .brand-mark img {
  filter: none;
}

@media (max-width:820px) {
  .hero {
    padding-bottom: 82px;
  }

  .hero-frame img {
    object-position: center;
  }

  .hero-card {
    z-index: 2;
  }
}

@media (max-width:560px) {
  .nav-wrap {
    min-height: 64px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
  }

  .brand strong {
    font-size: 10px;
    letter-spacing: .1em;
  }

  .brand small {
    font-size: 7px;
    white-space: nowrap;
  }

  .hero {
    min-height: 0;
    padding: 52px 0 82px;
  }

  .hero-grid {
    gap: 28px;
  }

  .hero h1 {
    font-size: clamp(48px,15vw,60px);
    line-height: .92;
    margin-bottom: 22px;
  }

  .hero-lead {
    font-size: 15px;
    line-height: 1.55;
  }

  .hero-actions {
    gap: 12px;
  }

  .hero-actions .button {
    padding: 14px 18px;
  }

  .hero-trust {
    margin-top: 34px;
  }

  .hero-visual {
    margin-top: 0;
    max-width: 100%;
    order: -1;
  }

  .hero-frame {
    height: 245px;
    border-width: 7px;
    border-radius: 120px 120px 18px 18px;
  }

  .hero-card {
    display: none;
  }

  .frame-note {
    font-size: 9px;
    bottom: 9px;
    left: 9px;
    right: 9px;
    padding: 7px 9px;
  }

  .section {
    padding: 68px 0;
  }

  .certificate-card img {
    object-fit: contain;
    background: #f5f1ea;
  }

  .mobile-contact-bar a {
    min-height: 50px;
  }
}

/* Final phone layout pass: preserve full PANIM mark and reflow all sections */

.brand-mark {
  width: 52px;
  height: 46px;
  border-radius: 0;
  background: transparent;
  border: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  flex: 0 0 52px;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
}

@media (max-width:820px) {
  .container {
    width: min(100% - 32px,var(--max));
  }

  .nav-wrap {
    gap: 12px;
  }

  .brand {
    min-width: 0;
    gap: 8px;
  }

  .primary-nav {
    z-index: 60;
    width: min(340px,100vw);
    padding: 92px 28px 32px;
  }

  .primary-nav>a {
    font-size: 16px;
    padding: 15px 0;
  }

  .primary-nav .button {
    font-size: 14px;
    margin-top: 22px;
  }

  .hero {
    min-height: 0;
    padding: 54px 0 88px;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
  }

  .hero-visual {
    order: 0;
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .hero-copy {
    order: 1;
    max-width: none;
  }

  .hero-frame {
    height: auto;
    aspect-ratio: 1.42;
    border-width: 7px;
    border-radius: 68px 68px 18px 18px;
  }

  .hero-frame img {
    object-fit: cover;
    object-position: center;
  }

  .hero-card {
    display: none;
  }

  .hero h1 {
    font-size: clamp(48px,14vw,68px);
    line-height: .94;
    margin-bottom: 22px;
  }

  .hero-lead {
    font-size: 16px;
    line-height: 1.55;
    margin-bottom: 25px;
  }

  .hero-actions {
    gap: 14px;
  }

  .hero-trust {
    margin-top: 32px;
  }

  .scroll-cue {
    display: none;
  }

  .section,
  .support-section {
    padding: 72px 0;
  }

  .impact-strip {
    padding: 52px 0 42px;
  }

  .impact-strip .container {
    display: block;
  }

  .section-intro.compact h2 {
    font-size: 43px;
  }

  .stats-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 0 8px;
    margin-top: 25px;
  }

  .stat-card {
    min-height: 112px;
    padding: 16px 10px;
  }

  .stat-card strong {
    font-size: 26px;
  }

  .stat-card>span {
    font-size: 11px;
    line-height: 1.25;
  }

  .stat-highlight {
    grid-column: 1/-1;
    margin-top: 8px;
    min-height: 92px;
  }

  .impact-strip .micro-note {
    margin-top: 18px;
  }

  .story-grid,
  .journey-grid,
  .support-layout,
  .transparency-grid,
  .volunteer-grid,
  .faq-grid,
  .safeguard-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .story-visual {
    width: 100%;
    max-width: none;
  }

  .portrait-frame {
    height: auto;
    aspect-ratio: 1.42;
    border-width: 7px;
    border-radius: 68px 68px 18px 18px;
  }

  .quote-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: calc(100% - 16px);
    margin: -34px 8px 0 auto;
  }

  .section-copy .lead {
    font-size: 18px;
  }

  .support-grid,
  .stories-grid,
  .ways-grid,
  .contact-grid,
  .documentation-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .support-card,
  .way-card {
    min-height: 0;
    padding: 23px;
  }

  .journey-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .journey-list li {
    padding: 15px;
  }

  .section-heading-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 30px;
  }

  .heading-aside {
    max-width: none;
  }

  .filter-pills {
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .filter-pill {
    white-space: nowrap;
    min-height: 38px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 145px;
    gap: 10px;
  }

  .gallery-item.gallery-large {
    grid-row: span 2;
  }

  .certificate-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .certificate-card img {
    height: 145px;
    object-fit: contain;
    background: #f5f1ea;
  }

  .credential-highlight {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .credential-highlight>div {
    padding: 20px;
  }

  .story-card {
    padding: 23px;
  }

  .story-card h3 {
    font-size: 26px;
  }

  .story-card dl div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .journey-copy {
    max-width: none;
  }

  .account-row {
    grid-template-columns: 1fr auto;
    gap: 5px;
  }

  .account-row>span {
    grid-column: 1/-1;
  }

  .account-row strong {
    overflow-wrap: anywhere;
  }

  .account-footer {
    display: block;
  }

  .account-footer strong {
    display: block;
    margin-top: 4px;
  }

  .location-row {
    grid-template-columns: 1fr;
  }

  .map-placeholder {
    grid-column: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 18px;
  }

  .footer-grid>div:first-child {
    grid-column: 1/-1;
  }

  .footer-bottom {
    display: block;
    margin-bottom: 62px;
  }

  .footer-bottom span {
    display: block;
    margin-top: 7px;
  }

  .mobile-contact-bar {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    height: 58px;
  }

  .mobile-contact-bar a {
    min-height: 58px;
    padding: 8px 4px;
    font-size: 10px;
  }

  body {
    padding-bottom: 58px;
  }
}

@media (max-width:420px) {
  .container {
    width: calc(100% - 28px);
  }

  .site-notice {
    font-size: 10px;
  }

  .notice-inner {
    min-height: 42px;
    display: block;
    padding: 5px 0 6px;
    line-height: 1.35;
  }

  .notice-dot {
    display: inline-block;
    margin-right: 5px;
  }

  .brand-mark {
    width: 48px;
    height: 42px;
    flex-basis: 48px;
  }

  .brand strong {
    font-size: 10px;
    letter-spacing: .08em;
  }

  .brand small {
    font-size: 7px;
    letter-spacing: .02em;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-frame {
    aspect-ratio: 1.38;
    border-radius: 54px 54px 16px 16px;
  }

  .hero h1 {
    font-size: clamp(45px,14.8vw,58px);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-actions .button {
    width: auto;
    min-height: 48px;
  }

  .hero-trust {
    font-size: 11px;
  }

  .section h2,
  .section-dark h2 {
    font-size: 41px;
  }

  .certificate-grid {
    grid-template-columns: 1fr;
  }

  .certificate-card img {
    height: 230px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 185px;
  }

  .gallery-item.gallery-large {
    grid-row: span 1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid>div {
    grid-column: auto!important;
  }
}

@media (max-width:420px) {
  .hero {
    padding-bottom: 118px;
  }

  .hero-frame {
    aspect-ratio: 1.65;
  }

  .hero-frame img {
    object-fit: contain;
    background: #fff;
  }

  .hero h1 {
    margin-bottom: 18px;
  }

  .hero-lead {
    margin-bottom: 22px;
  }

  .hero-trust {
    margin-top: 27px;
  }
}

/* Full-screen mobile navigation: avoids partial drawer and underlying-page squeeze */

@media (max-width:820px) {
  body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
  }

  .primary-nav,
  .primary-nav.open {
    position: fixed;
    z-index: 100;
    inset: 0;
    width: 100vw;
    max-width: none;
    height: 100dvh;
    min-height: 100vh;
    margin: 0;
    padding: 92px 28px 36px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    background: var(--background);
    transform: translateX(100%);
    visibility: hidden;
    opacity: 0;
    transition: transform .25s ease,opacity .2s ease,visibility 0s linear .25s;
    box-shadow: none;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .primary-nav.open {
    transform: translateX(0);
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
  }

  .primary-nav .nav-close {
    display: grid;
    place-items: center;
    position: absolute;
    right: 20px;
    top: 18px;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--primary);
    font-size: 30px;
    line-height: 1;
  }

  .primary-nav>a:not(.button) {
    display: flex;
    align-items: center;
    min-height: 54px;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: 18px;
    line-height: 1.25;
  }

  .primary-nav>a:not(.button):after {
    display: none;
  }

  .primary-nav .button {
    width: 100%;
    min-height: 52px;
    margin-top: 24px;
    font-size: 15px;
  }
}

.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 768px) {
  .footer-bottom {
    text-align: center;
    flex-wrap: wrap;
  }
}
