/*
Theme Name: YOUHELPTHEM
Theme URI: https://youhelp.org/
Author: Afritech Global
Author URI: https://afritechglobal.com/
Description: A warm, accessible, action-led WordPress theme for YOUHELPTHEM.
Version: 1.2.31
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.1
Text Domain: youhelpthem
*/

:root {
  --ink: #123238;
  --ink-soft: #38565b;
  --forest: #0d4e50;
  --teal: #0e7c78;
  --teal-bright: #31aaa2;
  --coral: #f17855;
  --coral-dark: #d45b3b;
  --sun: #f6c85f;
  --cream: #fff8ee;
  --mist: #edf7f5;
  --white: #ffffff;
  --line: #d7e5e2;
  --shadow: 0 18px 48px rgba(18, 50, 56, 0.12);
  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 34px;
  --wrap: min(1180px, calc(100% - 40px));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--teal); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--coral-dark); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 {
  margin: 0 0 0.7em;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
}
h1 { font-size: clamp(2.9rem, 7vw, 5.8rem); }
h2 { font-size: clamp(2.25rem, 4.5vw, 4rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.9rem); }
p { margin: 0 0 1.25em; }
ul, ol { padding-left: 1.3em; }
::selection { color: var(--ink); background: #f9d994; }

.wrap { width: var(--wrap); margin-inline: auto; }
.narrow { width: min(780px, calc(100% - 40px)); margin-inline: auto; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  top: 8px; left: 8px; z-index: 100000; width: auto; height: auto; padding: 12px 18px;
  clip: auto; background: var(--white); color: var(--ink); border-radius: 8px; box-shadow: var(--shadow);
}
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }

.eyebrow {
  display: none; align-items: center; gap: 9px; margin-bottom: 18px;
  color: var(--teal); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 30px; height: 3px; border-radius: 4px; background: var(--coral); }
.lead { color: var(--ink-soft); font-size: clamp(1.1rem, 2vw, 1.32rem); line-height: 1.65; }
.muted { color: var(--ink-soft); }
.section { position: relative; padding: clamp(76px, 9vw, 132px) 0; overflow: clip; }
.section--mist { background: var(--mist); }
.section--cream { background: var(--cream); }
.section--dark { color: rgba(255,255,255,.84); background: var(--forest); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section-heading { max-width: 760px; margin-bottom: 48px; }
.section-heading p { max-width: 660px; }
.section-heading--center { margin-inline: auto; text-align: center; }
.section-heading--center p { margin-inline: auto; }
.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stack { display: grid; gap: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.actions--center { justify-content: center; }

.button,
.wp-element-button,
button[type="submit"] {
  display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px; color: var(--white); background: var(--teal); border: 2px solid var(--teal);
  border-radius: 999px; font-size: 0.92rem; font-weight: 800; line-height: 1.2; text-decoration: none;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.button::after { content: "\2192"; transition: transform .2s ease; }
.button:hover,
.wp-element-button:hover,
button[type="submit"]:hover {
  color: var(--white); background: var(--forest); border-color: var(--forest); box-shadow: 0 10px 28px rgba(13,78,80,.2); transform: translateY(-2px);
}
.button:hover::after { transform: translateX(4px); }
.button--coral { color: var(--ink); background: var(--sun); border-color: var(--sun); }
.button--coral:hover { color: var(--white); background: var(--coral-dark); border-color: var(--coral-dark); }
.button--ghost { color: var(--ink); background: transparent; border-color: #9ab7b4; }
.button--ghost:hover { color: var(--ink); background: var(--white); border-color: var(--white); }
.button--white { color: var(--forest); background: var(--white); border-color: var(--white); }
.button--white:hover { color: var(--white); background: transparent; border-color: var(--white); }

.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(215,229,226,.8); backdrop-filter: blur(16px); }
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
.header-inner { display: flex; min-height: 82px; align-items: center; justify-content: space-between; gap: 28px; }
.site-brand { display: inline-flex; flex: 0 0 auto; align-items: center; text-decoration: none; }
.site-brand img { width: auto; height: 43px; }
.main-navigation { display: flex; align-items: center; gap: 20px; }
.main-navigation ul { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.main-navigation a { display: block; padding: 12px 10px; color: var(--ink); font-size: 0.9rem; font-weight: 700; text-decoration: none; }
.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a { color: var(--teal); }
.nav-cta { margin-left: 8px; }
.nav-cta a { padding: 11px 18px; color: var(--white); background: var(--teal); border-radius: 999px; }
.nav-cta a:hover { color: var(--white); background: var(--forest); }
.main-navigation .nav-cta.current-menu-item > a,
.main-navigation .nav-cta.current_page_item > a { color: var(--white); }
.main-navigation li { position: relative; }
.main-navigation .menu-item-has-children > a { display: flex; align-items: center; gap: 8px; }
.main-navigation .menu-item-has-children > a::after {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: translateY(-2px) rotate(45deg);
  transform-origin: center;
  transition: transform .18s ease;
}
.main-navigation .menu-item-has-children:hover > a::after,
.main-navigation .menu-item-has-children:focus-within > a::after { transform: translateY(2px) rotate(225deg); }
.main-navigation ul.sub-menu { position: absolute; top: calc(100% + 4px); left: 0; z-index: 20; display: none; width: 220px; padding: 10px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.main-navigation ul.sub-menu::before { position: absolute; right: 0; bottom: 100%; left: 0; height: 6px; content: ""; }
.main-navigation li:hover > ul.sub-menu,
.main-navigation li:focus-within > ul.sub-menu { display: grid; }
.main-navigation ul.sub-menu a { padding: 10px 12px; border-radius: 9px; font-size: .88rem; }
.main-navigation ul.sub-menu a:hover,
.main-navigation ul.sub-menu .current-menu-item > a { color: var(--teal); background: var(--mist); }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 0; background: var(--mist); border: 0; border-radius: 50%; }
.menu-toggle__line,
.menu-toggle::before,
.menu-toggle::after { display: block; width: 21px; height: 2px; margin: 5px auto; content: ""; background: var(--ink); transition: .2s; }
.menu-toggle[aria-expanded="true"] .menu-toggle__line { opacity: 0; }
.menu-toggle[aria-expanded="true"]::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: translateY(-7px) rotate(-45deg); }

.hero { position: relative; min-height: min(660px, calc(100svh - 82px)); display: grid; align-items: center; overflow: hidden; color: var(--white); background: var(--forest); }
.hero::before { position: absolute; inset: 0; z-index: 1; content: ""; background: linear-gradient(90deg, rgba(7,40,43,.96) 0%, rgba(7,40,43,.78) 45%, rgba(7,40,43,.18) 76%, rgba(7,40,43,.05) 100%); }
.hero::after { position: absolute; right: -12%; bottom: -42%; z-index: 1; width: 680px; height: 680px; content: ""; border: 110px solid rgba(246,200,95,.17); border-radius: 50%; }
.hero__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__inner { position: relative; z-index: 2; padding: clamp(42px, 8vh, 92px) 0 clamp(34px, 6vh, 72px); }
.hero__content { max-width: 730px; }
.hero .eyebrow { color: #f9dc92; }
.hero h1 { margin-bottom: .24em; color: var(--white); font-size: clamp(3rem, 5.7vw, 5.25rem); }
.hero h1 span { color: #f9dc92; }
.hero .lead { max-width: 690px; margin-bottom: 0; color: rgba(255,255,255,.9); }
.hero__actions { margin-top: 20px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 20px; color: rgba(255,255,255,.82); font-size: .82rem; font-weight: 700; }
.hero__trust span::before { margin-right: 7px; color: #f9dc92; content: "\2713"; }

.quick-paths { position: relative; z-index: 3; width: var(--wrap); margin: -56px auto 0; }
.path-card { display: flex; min-height: 188px; flex-direction: column; justify-content: space-between; padding: 30px; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; transition: transform .25s ease, border-color .25s ease; }
.path-card:hover { color: var(--ink); border-color: var(--teal-bright); transform: translateY(-7px); }
.path-card__icon { display: grid; width: 48px; height: 48px; place-items: center; color: var(--forest); background: var(--mist); border-radius: 15px; font-size: 1.35rem; }
.path-card h3 { margin: 20px 0 8px; font-family: inherit; font-size: 1.15rem; letter-spacing: -.01em; }
.path-card p { margin: 0; color: var(--ink-soft); font-size: .9rem; line-height: 1.5; }
.path-card strong { display: block; margin-top: 18px; color: var(--teal); font-size: .84rem; }

.story-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(42px, 8vw, 100px); }
.story-media { position: relative; min-height: 540px; }
.story-media img:first-child { width: 84%; height: 500px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.story-media img:last-child { position: absolute; right: 0; bottom: 0; width: 47%; aspect-ratio: 1; object-fit: cover; border: 9px solid var(--white); border-radius: var(--radius); }
.story-media--single { min-height: 0; }
.story-media.story-media--single img:first-child,
.story-media.story-media--single img:last-child { position: static; width: 100%; height: min(520px, 70vw); aspect-ratio: auto; object-fit: cover; object-position: center; border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.story-media:has(> img:first-child:last-child) { min-height: 0; }
.story-media > img:first-child:last-child { position: static; width: 100%; height: min(520px, 70vw); aspect-ratio: auto; object-fit: cover; object-position: center; border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.story-media--artwork { min-height: 0; }
.story-media--artwork img:first-child { position: static; width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.story-note { display: flex; gap: 16px; margin-top: 30px; padding: 22px; background: var(--cream); border-left: 5px solid var(--coral); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.story-note strong { display: block; }
.story-note p { margin: 3px 0 0; font-size: .9rem; }

.program-card { position: relative; padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 32px rgba(18,50,56,.06); }
.program-card__number { display: grid; width: 48px; height: 48px; place-items: center; margin-bottom: 24px; color: var(--forest); background: #f9dc92; border-radius: 50%; font-size: .8rem; font-weight: 900; }
.program-card h3 { font-family: inherit; font-size: 1.28rem; }
.program-card p { margin-bottom: 0; color: var(--ink-soft); font-size: .94rem; }
.program-card a { display: inline-flex; margin-top: 20px; font-size: .86rem; font-weight: 800; }
.program-card--visual { overflow: hidden; padding: 0; }
.program-card__media { overflow: hidden; aspect-ratio: 16/9; background: var(--mist); }
.program-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.program-card--visual:hover .program-card__media img { transform: scale(1.025); }
.program-card__body { padding: 24px 26px 28px; }
.program-card__body .program-card__number { width: 42px; height: 42px; margin: -45px 0 20px; position: relative; z-index: 1; border: 4px solid var(--white); }
.program-feature { display: grid; grid-template-columns: auto 1fr; gap: 22px; padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 32px rgba(18,50,56,.06); }
.program-feature .program-card__number { margin: 0; }
.program-feature h3 { font-family: inherit; font-size: 1.3rem; }
.program-feature p:last-child { margin-bottom: 0; }

.impact-band { background: var(--forest); }
.impact-band .grid { gap: 1px; overflow: hidden; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); }
.impact-item { padding: 34px; color: rgba(255,255,255,.78); background: var(--forest); }
.impact-item strong { display: block; margin-bottom: 7px; color: #f9dc92; font-family: Georgia,serif; font-size: 2rem; line-height: 1; }

.photo-ribbon { display: grid; grid-template-columns: 1fr .8fr 1.15fr; gap: 14px; }
.photo-ribbon img { width: 100%; height: 420px; object-fit: cover; border-radius: var(--radius); }
.photo-ribbon img:nth-child(2) { margin-top: 45px; }
.photo-ribbon--artwork { grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: clamp(18px,3vw,34px); }
.photo-ribbon--artwork img,
.photo-ribbon--artwork img:nth-child(2) { height: auto; margin-top: 0; object-fit: contain; background: var(--white); box-shadow: var(--shadow); }
.supplied-artwork { display: block; width: 100%; height: auto; min-height: 0; object-fit: contain; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.photo-gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); grid-auto-flow: dense; gap: clamp(12px,1.6vw,22px); }
.gallery-card { overflow: hidden; margin: 0; min-height: 250px; background: var(--mist); border-radius: var(--radius); }
.gallery-card:nth-child(7n + 1) { grid-column: span 2; grid-row: span 2; }
.gallery-card:nth-child(7n + 4) { grid-row: span 2; }
.gallery-card img { display: block; width: 100%; height: 100%; min-height: 250px; aspect-ratio: 4/3; object-fit: cover; transition: transform .35s ease; }
.gallery-card:hover img { transform: scale(1.025); }
.quote-card { max-width: 850px; margin-inline: auto; padding: clamp(38px, 6vw, 72px); text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.quote-card blockquote { margin: 0 0 22px; font-family: Georgia,serif; font-size: clamp(1.45rem, 3vw, 2.3rem); line-height: 1.35; }

.journey { counter-reset: journey; }
.journey-step { position: relative; padding: 26px 26px 26px 82px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.journey-step::before { position: absolute; top: 24px; left: 24px; display: grid; width: 40px; height: 40px; place-items: center; counter-increment: journey; content: counter(journey); color: var(--white); background: var(--teal); border-radius: 50%; font-size: .84rem; font-weight: 900; }
.journey-step h3 { margin-bottom: 7px; font-family: inherit; font-size: 1.13rem; }
.journey-step p { margin: 0; color: var(--ink-soft); font-size: .92rem; }

.cta-panel { position: relative; padding: clamp(42px, 7vw, 78px); overflow: hidden; color: rgba(255,255,255,.84); background: linear-gradient(135deg, var(--forest), #106f6d); border-radius: var(--radius-lg); }
.cta-panel::after { position: absolute; right: -80px; bottom: -150px; width: 360px; height: 360px; content: ""; border: 70px solid rgba(246,200,95,.15); border-radius: 50%; }
.cta-panel__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr .6fr; align-items: center; gap: 40px; }
.cta-panel h2 { color: var(--white); }
.cta-panel p { max-width: 640px; }
.cta-panel .actions { justify-content: flex-end; }

.page-hero { position: relative; padding: clamp(44px,5vw,68px) 0 clamp(38px,4vw,48px); overflow: hidden; background: var(--cream); }
.page-hero::after { position: absolute; top: -260px; right: -160px; width: 620px; height: 620px; content: ""; border: 100px solid rgba(49,170,162,.1); border-radius: 50%; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { max-width: 930px; font-size: clamp(2.8rem, 6vw, 5rem); }
.page-hero .lead { max-width: 760px; }
.page-hero--centered .wrap { text-align: center; }
.page-hero--centered h1,
.page-hero--centered .lead { margin-inline: auto; }
.page-hero--gallery { padding: clamp(44px,6vw,70px) 0 clamp(38px,5vw,54px); }
.page-hero--gallery::after { display: none; }
.page-hero--gallery h1 { margin-bottom: .18em; font-size: clamp(2.8rem,5vw,4.4rem); }
.page-hero--gallery .lead { margin-bottom: 0; }
.gallery-section { padding-top: clamp(32px,4vw,52px); }
.page-hero--donate { padding: clamp(42px, 5vw, 68px) 0 clamp(46px, 5.5vw, 72px); color: #fff; background: linear-gradient(125deg, #083d40 0%, #0d6665 64%, #16817b 100%); }
.page-hero--donate::after { top: -300px; right: -130px; border-color: rgba(249,220,146,.13); }
.page-hero--donate .breadcrumbs,.page-hero--donate .breadcrumbs a,.page-hero--donate .lead { color: rgba(255,255,255,.82); }
.page-hero--donate .eyebrow { display: none; margin: 1.2rem 0 .45rem; color: #f9dc92; }
.page-hero--donate h1 { margin: 0 auto .22em; color: #fff; font-size: clamp(3.2rem, 6vw, 5.4rem); }
.donate-hero__copy { position: relative; z-index: 1; text-align: center; }
.donate-hero__copy .lead { max-width: 650px; margin-inline: auto; color: rgba(255,255,255,.9); }
.donate-checkout-section { padding-top: clamp(42px,5vw,68px); padding-bottom: 0; }
.donate-checkout__inner { max-width: 980px; }
.donate-checkout__inner .yht-donation-card { margin: 0; }
@media(max-width:820px){.page-hero--donate{padding:42px 0 48px}.donate-checkout-section{padding-top:32px}}
.breadcrumbs { margin-bottom: 26px; color: var(--ink-soft); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.breadcrumbs a { color: var(--teal); text-decoration: none; }
.page-content > :first-child { margin-top: 0; }
.page-content > :last-child { margin-bottom: 0; }
main#main-content > .page-content > section.section:first-child { padding-top: clamp(34px, 3.5vw, 50px) !important; }
.page-content .alignwide { width: min(1180px, calc(100vw - 40px)); max-width: none; margin-left: 50%; transform: translateX(-50%); }

.feature-split { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: center; gap: clamp(42px,7vw,90px); }
.feature-split--reverse .feature-split__media { order: 2; }
.feature-split__media img { width: 100%; min-height: 450px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.feature-split__media img.supplied-artwork { height: auto; min-height: 0; object-fit: contain; }
.check-list { display: grid; gap: 14px; margin: 25px 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 34px; }
.check-list li::before { position: absolute; top: .18em; left: 0; display: grid; width: 23px; height: 23px; place-items: center; content: "\2713"; color: var(--white); background: var(--teal); border-radius: 50%; font-size: .7rem; font-weight: 900; }
.info-card { padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.info-card h3 { font-family: inherit; font-size: 1.25rem; }
.info-card p:last-child { margin-bottom: 0; }
.callout { padding: 28px; background: #fff3d7; border: 1px solid #efcf83; border-radius: var(--radius); }
.callout--urgent { background: #fff0ec; border-color: #f0b19f; }
.grid--3 + .callout--urgent { margin-top: 28px; }
.callout h3 { font-family: inherit; }

.form-shell { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(34px, 6vw, 78px); padding: clamp(30px, 5vw, 58px); background: var(--mist); border-radius: var(--radius-lg); }
.form-shell__intro { align-self: start; }
.form-shell__intro h2 { font-size: clamp(2rem,4vw,3.25rem); }
.yht-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; padding: 28px; background: var(--white); border-radius: var(--radius); box-shadow: 0 14px 34px rgba(18,50,56,.08); }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .84rem; font-weight: 800; }
.field small { color: var(--ink-soft); font-size: .75rem; }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; color: var(--ink); background: #fbfdfc;
  border: 1px solid #adc4c0; border-radius: 10px;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(14,124,120,.12); outline: 0; }
.field--check { display: flex; grid-column: 1 / -1; align-items: flex-start; gap: 11px; }
.field--check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--teal); }
.field--honeypot { position: absolute; left: -9999px; }
.form-notice { grid-column: 1 / -1; padding: 16px 18px; background: #e0f5ec; border: 1px solid #8fcfb0; border-radius: 10px; font-weight: 700; }
.form-notice--error { background: #fff0ec; border-color: #eeae9c; }
.form-disclaimer { grid-column: 1 / -1; margin: 0; color: var(--ink-soft); font-size: .75rem; }

.activity-card { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 28px rgba(18,50,56,.06); }
.activity-card__media { aspect-ratio: 16/10; background: var(--mist); }
.activity-card__media img { width: 100%; height: 100%; object-fit: cover; }
.activity-card__body { padding: 26px; }
.activity-card__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 13px; color: var(--teal); font-size: .75rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.activity-card h3 { font-family: inherit; font-size: 1.3rem; }
.activity-card p { color: var(--ink-soft); font-size: .9rem; }
.status-pill { display: inline-flex; padding: 5px 10px; color: var(--forest); background: #f9dc92; border-radius: 999px; font-size: .68rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.empty-state { padding: 42px; text-align: center; background: var(--mist); border-radius: var(--radius); }
.activity-details { display: grid; gap: 28px; margin: 0 0 42px; padding: 30px; background: var(--mist); border-radius: var(--radius); }
.activity-details__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.activity-details__grid div { display: grid; gap: 2px; }
.activity-details__grid span { color: var(--ink-soft); font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.activity-details__grid strong { font-size: 1.05rem; }
.activity-details .button,.activity-details p { justify-self: start; margin: 0; }

.site-footer { color: rgba(255,255,255,.76); background: #0a3538; }
.footer-cta { padding: 64px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.footer-cta h2 { max-width: 710px; margin: 0; color: var(--white); font-size: clamp(2rem,4vw,3.4rem); }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.15fr; gap: 48px; padding: 70px 0 54px; }
.footer-brand img { width: auto; height: 48px; margin-bottom: 24px; }
.footer-brand p { max-width: 360px; }
.footer-column h3 { color: var(--white); font-family: inherit; font-size: 1rem; letter-spacing: 0; }
.footer-column ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.footer-column a { color: rgba(255,255,255,.78); text-decoration: none; }
.footer-column a:hover { color: #f9dc92; }
.social-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.social-links a { padding: 7px 12px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; font-size: .78rem; font-weight: 800; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: .78rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: rgba(255,255,255,.78); }

.not-found { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.not-found h1 { color: var(--teal); font-size: clamp(5rem,14vw,10rem); }
.post-list { display: grid; gap: 24px; }
.post-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); }
.post-card h2 { font-size: 2rem; }

@media (max-width: 1120px) {
  .menu-toggle { display: block; }
  .main-navigation {
    position: fixed; inset: 96px 20px auto; display: none; padding: 24px; background: var(--white);
    border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  }
  .main-navigation.is-open { display: block; }
  .main-navigation ul { display: grid; gap: 2px; }
  .main-navigation a { padding: 13px; font-size: 1rem; }
  .main-navigation ul.sub-menu { position: static; display: grid; width: auto; margin: 0 0 4px 18px; padding: 2px 0 2px 12px; background: transparent; border: 0; border-left: 2px solid var(--line); border-radius: 0; box-shadow: none; }
  .main-navigation ul.sub-menu a { padding: 9px 12px; font-size: .92rem; }
	.nav-cta { margin: 8px 0 0; }
  .grid--4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-main { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-height: 700px) and (min-width: 781px) {
  .hero__inner { padding: 34px 0 28px; }
  .hero h1 { font-size: clamp(2.85rem, 5.2vw, 4.25rem); }
  .hero .lead { font-size: 1.08rem; line-height: 1.55; }
  .hero__actions { margin-top: 16px; }
  .hero__trust { margin-top: 14px; }
}

@media (max-width: 780px) {
  :root { --wrap: min(100% - 28px, 1180px); }
  body { font-size: 16px; }
  .header-inner { min-height: 72px; }
  .site-brand img { height: 37px; }
  .main-navigation { inset: 86px 14px auto; }
  .hero { min-height: min(700px, calc(100svh - 72px)); }
  .hero::before { background: linear-gradient(180deg, rgba(7,40,43,.5), rgba(7,40,43,.95) 58%); }
  .hero__media { object-position: 58% center; }
  .hero__inner { padding: 96px 0 58px; }
  .hero h1 { font-size: clamp(2.65rem,13vw,4.4rem); }
  .quick-paths { margin-top: -36px; }
  .grid--2, .grid--3, .grid--4, .story-grid, .feature-split, .form-shell, .cta-panel__inner { grid-template-columns: 1fr; }
  .feature-split--reverse .feature-split__media { order: initial; }
  .story-media { min-height: 430px; }
  .story-media img:first-child { height: 390px; }
  .story-media--artwork { min-height: 0; }
  .story-media--artwork img:first-child { height: auto; }
  .photo-ribbon { grid-template-columns: 1fr 1fr; }
  .photo-ribbon img { height: 270px; }
  .photo-ribbon img:nth-child(2) { margin-top: 0; }
  .photo-ribbon img:last-child { grid-column: 1 / -1; }
  .photo-ribbon--artwork img:last-child { grid-column: auto; }
  .photo-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .gallery-card, .gallery-card:nth-child(7n + 1), .gallery-card:nth-child(7n + 4) { grid-column: auto; grid-row: auto; min-height: 0; }
  .gallery-card img { min-height: 0; aspect-ratio: 4/3; }
  .cta-panel .actions { justify-content: flex-start; }
  .form-shell { padding: 24px; }
  .yht-form { grid-template-columns: 1fr; padding: 22px; }
  .field--full, .field--check, .form-notice, .form-disclaimer { grid-column: auto; }
  .activity-details__grid { grid-template-columns: 1fr; }
  .footer-cta__inner, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-main { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 480px) {
  .actions { display: grid; }
  .button { width: 100%; }
  .grid--4 { grid-template-columns: 1fr; }
  .path-card { min-height: 0; }
  .story-media { min-height: 360px; }
  .story-media img:first-child { width: 94%; height: 330px; }
  .story-media--artwork { min-height: 0; }
  .story-media--artwork img:first-child { width: 100%; height: auto; }
  .photo-ribbon { grid-template-columns: 1fr; }
  .photo-ribbon img, .photo-ribbon img:last-child { grid-column: auto; height: 260px; }
  .photo-ribbon--artwork img, .photo-ribbon--artwork img:last-child { height: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
  .site-header, .site-footer, .actions, .yht-form { display: none !important; }
  body { color: #000; background: #fff; }
  .section { padding: 24px 0; }
}

.yht-qr-share{display:flex;align-items:center;gap:2rem;flex-wrap:wrap}.yht-qr-share img{width:180px;height:180px;object-fit:contain;background:#fff}.yht-qr-share>div{flex:1;min-width:220px}.program-card h3{overflow-wrap:anywhere}
