/* ==========================================================================
   Реабілітаційний Центр «Дякую» — thankyou.org.ua
   ========================================================================== */
:root {
  --ink: #111214;
  --ink-2: #26292d;
  --paper: #ffffff;
  --mist: #e6eced;
  --mist-2: #f3f6f6;
  --slate: #7c9094;
  --slate-d: #5d7074;
  --muted: #565d62;
  --line: rgba(17, 18, 20, .12);
  --line-l: rgba(255, 255, 255, .16);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r: 22px;
  --r-s: 14px;
  --gut: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --hdr: 76px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.65 var(--sans); overflow-x: clip;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; cursor: pointer; }
svg { width: 1.15em; height: 1.15em; flex: none; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--slate); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--ink); color: #fff; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.wrap--narrow { max-width: calc(860px + var(--gut) * 2); }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* ---------- type ---------- */
.h1, .h2, .h3, .hero__title { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); line-height: 1.02; }
.h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.08; margin-bottom: .5em; }
.h3 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); line-height: 1.2; margin-bottom: .6em; }
.h2--light { color: #fff; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 62ch; }
.lead--light { color: rgba(255, 255, 255, .72); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em; margin-bottom: 1.1rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-d);
}
.eyebrow--light { color: rgba(255, 255, 255, .78); }
.prose p + p { margin-top: 1em; }
.prose h2 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.7rem; margin: 2em 0 .6em; }
.prose ul { margin: .6em 0 1em; }
.prose li { position: relative; padding-left: 1.3em; margin: .3em 0; }
.prose li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--slate); }
.muted { color: var(--muted); font-size: .92rem; }
.mono { font-variant-numeric: tabular-nums; letter-spacing: .02em; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff; --bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: .8em 1.6em; border-radius: 999px; border: 1px solid var(--bd);
  background: var(--bg); color: var(--fg); font-weight: 600; font-size: .98rem; text-decoration: none; letter-spacing: .01em;
  transition: transform .35s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn svg { transition: transform .35s var(--ease); }
.btn:hover svg:last-child { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn--dark:hover { --bg: var(--ink-2); }
.btn--light { --bg: #fff; --fg: var(--ink); --bd: #fff; }
.btn--light:hover { --bg: var(--mist); --bd: var(--mist); }
.btn--ghost-light { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, .5); }
.btn--ghost-light:hover { --bg: rgba(255, 255, 255, .1); --bd: #fff; }
.btn--line { --bg: transparent; --fg: var(--ink); --bd: var(--ink); }
.btn--line:hover { --bg: var(--ink); --fg: #fff; }
.btn--sm { min-height: 42px; padding: .55em 1.2em; font-size: .88rem; }
.round {
  width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line); background: #fff;
  display: grid; place-items: center; transition: background-color .25s, color .25s, transform .3s var(--ease);
}
.round:hover { background: var(--ink); color: #fff; }
.round:active { transform: scale(.94); }
.link-light { color: #fff; display: inline-flex; gap: .5em; align-items: center; text-decoration: none; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, .4); padding-bottom: 4px; }
.link-light:hover { border-color: #fff; }

/* ---------- top bar ---------- */
.topbar { background: var(--mist); color: var(--muted); font-size: .8rem; border-bottom: 1px solid var(--line); }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 40px; }
.topbar__note { display: flex; align-items: center; gap: 10px; letter-spacing: .02em; color: var(--ink-2); font-weight: 500; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #3f9b6b; box-shadow: 0 0 0 4px rgba(63, 155, 107, .15); }
.topbar__links { display: flex; align-items: center; gap: 22px; }
.topbar__links > a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; transition: color .2s; }
.topbar__links > a:hover { color: var(--ink); }
.topbar__links svg { width: 14px; height: 14px; color: var(--slate-d); }
.topbar .lang { padding: 2px; background: #fff; }
.topbar .lang a { padding: 3px 9px; font-size: .7rem; }
@media (max-width: 1100px) { .topbar__links > a:nth-child(2) { display: none; } }
@media (max-width: 960px) { .topbar { display: none; } }

/* ---------- header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 50; height: var(--hdr);
  background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line); transition: box-shadow .35s var(--ease);
}
.hdr.is-scrolled { box-shadow: 0 10px 30px -18px rgba(17, 18, 20, .28); }
.hdr__in { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: block; flex: none; }
.brand img { height: 54px; width: auto; }
.nav { margin-inline: auto; }
.nav ul { display: flex; gap: 38px; }
.nav a {
  position: relative; display: block; padding: 26px 0; text-decoration: none; font-size: .95rem; font-weight: 600; color: var(--muted);
  letter-spacing: .01em; transition: color .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 18px; height: 2px; border-radius: 2px; background: var(--ink);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current="page"] { color: var(--ink); }
.hdr__end { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang a { padding: 5px 11px; border-radius: 999px; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-decoration: none; color: var(--muted); }
.lang a[aria-current="true"] { background: var(--ink); color: #fff; }
.burger { display: none; align-items: center; gap: 10px; height: 44px; padding: 0 2px; border: 0; background: none; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.burger i { position: relative; width: 26px; height: 12px; }
.burger i span { position: absolute; left: 0; right: 0; height: 1.8px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease), width .35s var(--ease); }
.burger i span:nth-child(1) { top: 0; }
.burger i span:nth-child(2) { top: 10px; left: 8px; }
.burger[aria-expanded="true"] i span { top: 5px; left: 0; }
.burger[aria-expanded="true"] i span:nth-child(1) { transform: rotate(45deg); }
.burger[aria-expanded="true"] i span:nth-child(2) { transform: rotate(-45deg); }

/* mobile menu */
.mnav {
  position: fixed; inset: var(--hdr) 0 0; z-index: 49; background: var(--paper); overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; transition: opacity .3s;
}
.mnav[hidden] { display: none; }
.mnav.is-open { opacity: 1; }
.mnav__body { min-height: 100%; display: flex; flex-direction: column; gap: 28px; padding: 26px var(--gut) calc(26px + env(safe-area-inset-bottom)); }
.mnav__label { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--slate-d); margin-bottom: 8px; }
.mnav__list li { border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i) * 70ms + 80ms); }
.mnav.is-open .mnav__list li { opacity: 1; transform: none; }
.mnav__list a { display: flex; align-items: center; gap: 16px; padding: 18px 0; text-decoration: none; }
.mnav__n { font-family: var(--serif); font-style: italic; color: var(--slate); font-size: .95rem; width: 1.6em; }
.mnav__t { display: grid; gap: 2px; flex: 1; }
.mnav__t b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.9rem; line-height: 1.15; }
.mnav__t small { font-size: .85rem; color: var(--muted); }
.mnav__list svg { color: var(--slate-d); transition: transform .3s var(--ease); }
.mnav__list a[aria-current="page"] .mnav__t b { color: var(--slate-d); }
.mnav__list a:active svg { transform: translateX(4px); }
.mnav__cta { display: grid; gap: 10px; }
.mnav__cta .btn { width: 100%; }
.mnav__info { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 22px; border-radius: var(--r); background: var(--mist); font-size: .92rem; line-height: 1.55; }
.mnav__info a { text-decoration: none; }
.mnav__phones { display: grid; font-weight: 700; }
.mnav__bottom { margin-top: auto; display: flex; justify-content: space-between; align-items: center; }
.mnav__fb { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; font-size: .9rem; }
@media (max-width: 420px) { .mnav__info { grid-template-columns: 1fr; } }

@media (max-width: 1100px) { .nav ul { gap: 26px; } }
@media (max-width: 960px) {
  :root { --hdr: 68px; }
  .nav, .hdr__donate { display: none; }
  .hdr__in { justify-content: space-between; }
  .burger { display: inline-flex; }
  .brand img { height: 42px; }
}

/* ---------- sections ---------- */
.sec { padding-block: clamp(72px, 10vw, 136px); }
.sec--mist { background: var(--mist); }
.sec--ink { background: #e6eced; color: var(--ink); }
.sec__head { margin-bottom: clamp(36px, 5vw, 60px); }
.sec__head--split { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; }
.sec__head--split .h2 { margin: 0; max-width: 16ch; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: min(92svh, 900px); display: flex; align-items: flex-end; color: #fff; overflow: hidden;
  background: var(--ink); isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 35%; animation: heroZoom 18s var(--ease) both; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 11, 12, .15) 0%, rgba(10, 11, 12, .1) 35%, rgba(10, 11, 12, .82) 100%),
              linear-gradient(90deg, rgba(10, 11, 12, .55) 0%, rgba(10, 11, 12, 0) 60%);
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__in { padding-block: 120px clamp(56px, 8vw, 96px); }
.hero__title { font-size: clamp(4.6rem, 15vw, 11.5rem); line-height: .9; margin: 0 0 .15em -.04em; }
.hero__text { font-size: clamp(1.08rem, 1.6vw, 1.32rem); max-width: 40ch; color: rgba(255, 255, 255, .88); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__tag {
  position: absolute; right: var(--gut); bottom: clamp(56px, 8vw, 96px); writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: rgba(255, 255, 255, .7); letter-spacing: .04em;
}
.hero > .wrap > * { animation: rise 1s var(--ease) both; }
.hero__title { animation-delay: .08s !important; }
.hero__text { animation-delay: .18s !important; }
.hero__cta { animation-delay: .28s !important; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (max-width: 700px) {
  .hero { min-height: 88svh; }
  .hero__tag { display: none; }
  .hero__cta .btn { flex: 1 1 100%; }
}

/* ---------- goal ---------- */
.goal__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.goal__text .prose { font-size: 1.08rem; color: var(--ink-2); }
.goal__text .prose p:last-child { font-family: var(--serif); font-style: italic; font-size: 1.4rem; line-height: 1.45; color: var(--ink); margin-top: 1.4em; padding-left: 22px; border-left: 2px solid var(--slate); }
.goal__media { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; }
.goal__media img { width: 100%; height: 100%; object-fit: cover; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 44px; }
.pillars li { padding: 22px 20px; border-radius: var(--r-s); background: var(--mist-2); border: 1px solid var(--line); }
.pillars h3 { font-size: 1rem; font-weight: 700; margin: 10px 0 6px; line-height: 1.3; }
.pillars p { font-size: .9rem; color: var(--muted); line-height: 1.5; }
.pill__n { font-family: var(--serif); font-style: italic; color: var(--slate-d); font-size: 1.1rem; }
@media (max-width: 900px) {
  .goal__grid { grid-template-columns: 1fr; }
  .goal__media { order: -1; aspect-ratio: 4 / 3.4; }
  .pillars { grid-template-columns: 1fr; }
}

/* ---------- videos + carousel ---------- */
.videos { display: grid; grid-template-columns: 1.5fr 1fr; grid-template-rows: auto auto; gap: 16px; margin-bottom: 40px; }
.video { position: relative; border-radius: var(--r); overflow: hidden; background: var(--ink); aspect-ratio: 16 / 9; }
.video video { width: 100%; height: 100%; object-fit: cover; }
.video--main { grid-row: span 2; aspect-ratio: auto; }
@media (max-width: 800px) {
  .videos { grid-template-columns: 1fr; }
  .video--main { grid-row: auto; aspect-ratio: 16 / 9; }
}
.carousel { position: relative; }
.carousel__track {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; padding-bottom: 4px; overscroll-behavior-x: contain;
}
.carousel__track::-webkit-scrollbar { display: none; }
.slide {
  flex: 0 0 auto; width: clamp(220px, 26vw, 300px); aspect-ratio: 3 / 4; scroll-snap-align: start;
  border-radius: var(--r-s); overflow: hidden; background: #fff; border: 1px solid var(--line);
}
.slide img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.slide:hover img { transform: scale(1.04); }
.carousel__ctrl { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; }

/* ---------- services ---------- */
.svc__list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-l); }
.svc__list li {
  display: flex; gap: 18px; align-items: baseline; padding: 26px 24px 26px 0; border-bottom: 1px solid var(--line-l);
  font-size: 1.08rem; line-height: 1.4;
}
.svc__list li:not(:nth-child(3n + 1)) { padding-left: 24px; border-left: 1px solid var(--line-l); }
.svc__n { font-family: var(--serif); font-style: italic; color: var(--slate); font-size: .95rem; min-width: 1.6em; }
@media (max-width: 900px) {
  .svc__list { grid-template-columns: 1fr 1fr; }
  .svc__list li:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .svc__list li:nth-child(2n) { padding-left: 20px; border-left: 1px solid var(--line-l); }
}
@media (max-width: 560px) {
  .svc__list { grid-template-columns: 1fr; }
  .svc__list li:nth-child(2n) { padding-left: 0; border-left: 0; }
  .svc__list li { padding: 20px 0; }
}

/* ---------- team ---------- */
.team__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.team__grid--vol { grid-template-columns: 1fr 1fr; }
.team__grid--vol .tcard { flex-direction: row; align-items: center; text-align: left; gap: 28px; padding: 28px; }
.team__grid--vol .tcard__ph { width: 150px; margin: 0; flex: none; }
.team__grid--vol .tcard__txt { align-items: flex-start; }
.team__grid--vol .tcard__more { padding-top: 14px; margin-top: 0; }
.team__sub { margin: 72px 0 28px; }
.tcard {
  width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 30px 22px 26px; border-radius: var(--r); background: var(--mist-2); border: 1px solid transparent;
  transition: background-color .3s, border-color .3s, transform .45s var(--ease), box-shadow .45s var(--ease);
}
.tcard--btn { cursor: pointer; }
.tcard--btn:hover { background: #fff; border-color: var(--line); transform: translateY(-4px); box-shadow: 0 22px 40px -28px rgba(17, 18, 20, .35); }
.tcard__ph { width: min(170px, 72%); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--mist); margin-bottom: 20px; }
.tcard__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tcard--btn:hover .tcard__ph img { transform: scale(1.05); }
.tcard__txt { display: flex; flex-direction: column; align-items: inherit; flex: 1; width: 100%; }
.tcard__name { font-family: var(--serif); font-style: italic; font-size: 1.35rem; line-height: 1.2; }
.tcard__role { font-size: .9rem; color: var(--muted); margin-top: 6px; line-height: 1.45; }
.tcard__more {
  margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 6px;
  font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--slate-d);
}
.tcard__more svg { width: 1em; height: 1em; transition: transform .35s var(--ease); }
.tcard--btn:hover .tcard__more svg { transform: rotate(90deg); }
@media (max-width: 1060px) { .team__grid { grid-template-columns: repeat(3, 1fr); } .team__grid--vol { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .team__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .team__grid--vol .tcard { flex-direction: column; text-align: center; gap: 0; padding: 26px 18px; }
  .team__grid--vol .tcard__ph { width: 130px; margin-bottom: 18px; }
  .team__grid--vol .tcard__txt { align-items: center; } .tcard { padding: 22px 12px 20px; } .tcard__name { font-size: 1.12rem; } .tcard__role { font-size: .82rem; }
}

/* person sheet (dialog) */
.sheet { padding: 0; border: 0; margin: 0; max-width: none; max-height: none; width: 100%; height: 100%; background: transparent; color: var(--ink); }
.sheet::backdrop { background: rgba(10, 11, 12, .5); backdrop-filter: blur(3px); opacity: 0; transition: opacity .35s; }
.sheet[open]::backdrop { opacity: 1; }
.sheet__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(560px, 100%); background: #fff; overflow-y: auto; overscroll-behavior: contain;
  padding: 72px clamp(24px, 4vw, 48px) 48px; transform: translateX(100%); transition: transform .5s var(--ease);
}
.sheet.is-in .sheet__panel { transform: none; }
.sheet__close { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; }
.sheet__close:hover { background: var(--ink); color: #fff; }
.bio__head { display: flex; gap: 22px; align-items: center; margin-bottom: 32px; }
.bio__ph { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; flex: none; background: var(--mist); }
.bio__name { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 2rem; line-height: 1.1; }
.bio__role { color: var(--muted); margin-top: 8px; line-height: 1.5; }
.bio__block { padding-top: 22px; border-top: 1px solid var(--line); margin-top: 22px; }
.bio__block h4 { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-d); margin-bottom: 8px; }
.bio__block p { line-height: 1.75; }
@media (max-width: 640px) {
  .sheet__panel { top: auto; left: 0; width: 100%; max-height: 90svh; border-radius: 26px 26px 0 0; padding-top: 64px; transform: translateY(100%); }
  .sheet__panel::before { content: ""; position: absolute; top: 10px; left: 50%; width: 44px; height: 5px; margin-left: -22px; border-radius: 3px; background: var(--line); }
  .bio__head { flex-direction: column; text-align: center; }
  .bio__name { font-size: 1.7rem; }
}

/* ---------- certificates & galleries ---------- */
.certs__grid { columns: 4 240px; column-gap: 16px; }
.cert { display: block; break-inside: avoid; margin-bottom: 16px; border-radius: var(--r-s); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.cert img { width: 100%; transition: transform .6s var(--ease), opacity .3s; }
.cert:hover img { transform: scale(1.03); }
.gal { display: grid; gap: 12px; }
.gal--2 { grid-template-columns: 1fr 1fr; }
.gal--4 { grid-template-columns: 1fr 1fr; }
.g-item { display: block; border-radius: var(--r-s); overflow: hidden; aspect-ratio: 3 / 4; background: var(--mist); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.g-item:hover img { transform: scale(1.04); }
[data-lightbox] { cursor: zoom-in; }

/* lightbox */
.lb { padding: 0; border: 0; margin: 0; width: 100%; height: 100%; max-width: none; max-height: none; background: rgba(10, 11, 12, .94); color: #fff; }
.lb::backdrop { background: rgba(10, 11, 12, .6); }
.lb[open] { display: grid; place-items: center; }
.lb__fig { display: grid; justify-items: center; gap: 12px; padding: 64px 72px; }
.lb__fig img { max-width: min(92vw, 1400px); max-height: calc(100svh - 150px); width: auto; height: auto; border-radius: 10px; object-fit: contain; animation: lbIn .4s var(--ease); }
.lb__fig figcaption { font-size: .85rem; color: rgba(255, 255, 255, .6); letter-spacing: .08em; }
@keyframes lbIn { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.lb__close, .lb__nav { position: absolute; width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); display: grid; place-items: center; color: #fff; }
.lb__close:hover, .lb__nav:hover { background: rgba(255, 255, 255, .22); }
.lb__close { top: 16px; right: 16px; }
.lb__prev { left: 16px; top: 50%; translate: 0 -50%; }
.lb__next { right: 16px; top: 50%; translate: 0 -50%; }
@media (max-width: 640px) { .lb__fig { padding: 70px 10px; } .lb__prev, .lb__next { top: auto; bottom: 18px; translate: none; } .lb__prev { left: calc(50% - 62px); } .lb__next { right: calc(50% - 62px); } }

/* ---------- page hero ---------- */
.phero { background: var(--mist); padding-block: clamp(56px, 8vw, 110px); }
.phero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.phero__lead { font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 2.2vw, 1.7rem); line-height: 1.45; margin-top: 28px; color: var(--ink-2); max-width: 34ch; }
.page-partners .phero__lead { font-family: var(--sans); font-style: normal; font-size: clamp(1.05rem, 1.5vw, 1.22rem); max-width: 56ch; color: var(--muted); line-height: 1.7; }
.phero__media { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; max-height: 560px; justify-self: end; width: 100%; }
.phero__media img, .phero__media video { width: 100%; height: 100%; object-fit: cover; }
.phero__media--video { aspect-ratio: 16 / 10; background: var(--ink); max-height: none; }
@media (max-width: 900px) {
  .phero__grid { grid-template-columns: 1fr; }
  .phero__media { aspect-ratio: 4 / 3; justify-self: stretch; }
  .phero__media--video { aspect-ratio: 16 / 9; }
}

/* ---------- soldiers ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: start; margin-top: 16px; }
.split--wide { margin-top: 0; }
.split--wide .h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.checks { display: grid; gap: 4px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; line-height: 1.5; }
.checks svg { margin-top: .2em; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--mist); color: var(--ink); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.procs { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; margin-top: 12px; counter-reset: none; }
.proc { display: flex; gap: 18px; padding: 26px; background: #fff; border-radius: var(--r-s); border: 1px solid var(--line); }
.proc__n { font-family: var(--serif); font-style: italic; color: var(--slate-d); font-size: 1.2rem; line-height: 1.3; min-width: 1.6em; }
.proc h3 { font-size: 1.05rem; font-weight: 700; line-height: 1.4; }
.proc p { margin-top: 8px; color: var(--muted); font-size: .95rem; line-height: 1.6; }
@media (max-width: 400px) { .procs { grid-template-columns: 1fr; } }
.callout { margin-top: 40px; padding: clamp(26px, 4vw, 44px); border-radius: var(--r); background: var(--ink); color: #fff; display: grid; grid-template-columns: .5fr 1fr; gap: 12px 40px; align-items: baseline; }
.callout .h3 { margin: 0; }
.callout p { color: rgba(255, 255, 255, .82); font-size: 1.08rem; }
@media (max-width: 760px) { .callout { grid-template-columns: 1fr; } }

.faq__grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
.faq__grid .h2 { position: sticky; top: calc(var(--hdr) + 30px); }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; cursor: pointer;
  padding: 24px 0; font-weight: 600; font-size: 1.1rem; line-height: 1.4;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; background: #fff; transition: transform .35s var(--ease), background-color .25s; }
.faq__item[open] summary i { transform: rotate(45deg); background: var(--ink); color: #fff; }
.faq__a { padding: 0 56px 26px 0; color: var(--ink-2); }
.faq__a p + p, .faq__a p + ul, .faq__a ul + p { margin-top: .8em; }
.faq__a li { position: relative; padding-left: 1.3em; margin: .35em 0; }
.faq__a li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--slate); }
@media (max-width: 860px) { .faq__grid { grid-template-columns: 1fr; } .faq__grid .h2 { position: static; } .faq__a { padding-right: 0; } }

/* appointment */
.appt__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.form { display: grid; gap: 16px; margin-top: 34px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field > span { font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--mist-2); border: 1px solid var(--line);
  border-radius: var(--r-s); padding: 14px 16px; transition: border-color .2s, background-color .2s, box-shadow .2s; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(124, 144, 148, .2); }
.field em { display: none; font-style: normal; font-size: .8rem; color: #b3261e; }
.field.is-invalid input { border-color: #b3261e; }
.field.is-invalid em { display: block; }
.form__consent { font-size: .85rem; color: var(--muted); }
.form .btn { justify-self: start; min-width: 200px; }
.form .btn[disabled] { opacity: .6; pointer-events: none; }
.form__status { font-weight: 600; min-height: 1.5em; }
.form__status.is-ok { color: #1f6f43; padding: 16px 18px; background: #e7f4ec; border-radius: var(--r-s); }
.form__status.is-err { color: #b3261e; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } .form .btn { width: 100%; } }
.appt__side { display: grid; gap: 16px; position: sticky; top: calc(var(--hdr) + 24px); }
.contact-card { background: var(--ink); color: #fff; border-radius: var(--r); padding: 30px; display: grid; gap: 18px; }
.contact-card__row { display: flex; gap: 14px; align-items: flex-start; line-height: 1.5; }
.contact-card__row svg { margin-top: .2em; color: var(--slate); }
.contact-card a { text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }
.contact-card__phones { display: grid; gap: 4px; font-weight: 600; }
.map { border-radius: var(--r); overflow: hidden; background: var(--mist); aspect-ratio: 4 / 3; position: relative; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; text-align: center; padding: 24px;
  background: radial-gradient(circle at 30% 20%, #fff 0, transparent 55%), repeating-linear-gradient(45deg, transparent 0 22px, rgba(124, 144, 148, .08) 22px 23px), var(--mist); }
.map__title { font-family: var(--serif); font-style: italic; font-size: 1.5rem; }
.map__note { font-size: .8rem; color: var(--muted); max-width: 30ch; }
.map__open { font-size: .85rem; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
@media (max-width: 900px) { .appt__grid { grid-template-columns: 1fr; } .appt__side { position: static; } }

/* ---------- partners ---------- */
.support__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.support__sub { font-size: 1.3rem; }
.card { background: #fff; border-radius: var(--r); padding: 10px 28px; border: 1px solid var(--line); }
.support .donate__btns { margin-top: 22px; }
.qr { background: #fff; border-radius: var(--r); padding: 28px; border: 1px solid var(--line); text-align: center; }
.qr figcaption { font-weight: 600; margin-bottom: 18px; }
.qr img { margin-inline: auto; max-width: 320px; width: 100%; }
@media (max-width: 860px) { .support__grid { grid-template-columns: 1fr; } }
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; padding-block: 48px; border-top: 1px solid var(--line); }
.story:first-of-type { margin-top: 12px; }
.story--rev .story__img { order: -1; }
.story__text p { color: var(--ink-2); font-size: 1.05rem; }
.story__logo { display: inline-block; margin-bottom: 22px; }
.story__logo img { height: 64px; width: auto; }
.story__img { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; max-height: 560px; }
.story__img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } .story--rev .story__img { order: 0; aspect-ratio: 4 / 3; } }
.logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.logos a { display: grid; place-items: center; height: 130px; padding: 22px; background: #fff; border-radius: var(--r-s); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.logos a:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -26px rgba(17, 18, 20, .4); }
.logos img { max-height: 66px; width: auto; max-width: 100%; object-fit: contain; }
@media (max-width: 900px) { .logos { grid-template-columns: repeat(2, 1fr); } .logos li:last-child { grid-column: 1 / -1; } }

/* ---------- donate + footer ---------- */
.donate {
  --dn: #3d5d62;
  position: relative; overflow: hidden; color: #fff; padding-block: clamp(72px, 9vw, 120px);
  background: radial-gradient(900px 500px at 85% 10%, rgba(255, 255, 255, .09), transparent 60%), linear-gradient(135deg, #56777c 0%, var(--dn) 55%, #2c4649 100%);
}
.donate::before {
  content: ""; position: absolute; right: -120px; bottom: -160px; width: 520px; height: 520px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 0 0 60px rgba(255, 255, 255, .025), 0 0 0 120px rgba(255, 255, 255, .02);
}
.donate__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.donate .eyebrow--light { color: #cfe0e2; }
.donate .lead--light { color: rgba(255, 255, 255, .8); }
.donate__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.donate__card { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--r); padding: 12px 28px 16px; backdrop-filter: blur(6px); }
.donate__card-title { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #cfe0e2; padding: 18px 0 6px; }
@media (max-width: 860px) { .donate__grid { grid-template-columns: 1fr; } .donate__btns .btn { flex: 1 1 auto; } }
.dl__row { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.dl__row:last-child { border-bottom: 0; }
.donate .dl__row { border-color: rgba(255, 255, 255, .14); }
.dl dt { font-size: .82rem; color: var(--muted); font-weight: 600; }
.donate .dl dt { color: rgba(255, 255, 255, .6); }
.dl dd { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 600; word-break: break-word; }
.copy { flex: none; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: transparent; display: grid; place-items: center; position: relative; transition: background-color .2s; }
.donate .copy { border-color: rgba(255, 255, 255, .22); }
.copy:hover { background: rgba(124, 144, 148, .22); }
.copy.is-done::after { content: attr(data-done); position: absolute; right: 0; bottom: calc(100% + 6px); background: var(--ink); color: #fff; font-size: .72rem; padding: 4px 8px; border-radius: 6px; white-space: nowrap; }
@media (max-width: 480px) { .dl__row { grid-template-columns: 1fr; gap: 4px; } }

.ftr { background: var(--ink); color: rgba(255, 255, 255, .7); padding-top: clamp(56px, 7vw, 88px); font-size: .95rem; overflow: hidden; }
.ftr__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px 48px; padding-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line-l); }
.ftr__statement { font-family: var(--serif); font-style: italic; color: #fff; font-size: clamp(1.9rem, 3.8vw, 3.1rem); line-height: 1.12; max-width: 20ch; }
.ftr__top-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.ftr__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 40px; padding-block: clamp(40px, 5vw, 64px); }
.ftr__logo { filter: invert(1); height: 62px; width: auto; margin-bottom: 18px; }
.ftr__about { max-width: 36ch; line-height: 1.65; }
.ftr__social { display: flex; gap: 10px; margin-top: 22px; }
.ftr__social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-l); display: grid; place-items: center; color: #fff; transition: background-color .25s, color .25s, border-color .25s; }
.ftr__social a:hover { background: #fff; color: var(--ink); border-color: #fff; }
.ftr__h { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.ftr__list { display: grid; gap: 12px; }
.ftr__list a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: color .2s, background-size .4s var(--ease); }
.ftr__list a:hover { color: #fff; background-size: 100% 1px; }
.ftr__list--icons > li { display: flex; gap: 12px; align-items: flex-start; }
.ftr__list--icons svg { margin-top: .22em; color: var(--slate); }
.ftr__phones { display: grid; gap: 4px; color: #fff; font-weight: 600; }
.ftr__mark { height: clamp(80px, 15vw, 210px); overflow: hidden; pointer-events: none; user-select: none; }
.ftr__mark img { width: 100%; height: auto; filter: invert(1); opacity: .07; margin-top: -2%; }
.ftr__bottom { position: relative; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px; padding-block: 22px 28px; border-top: 1px solid var(--line-l); font-size: .82rem; color: rgba(255, 255, 255, .5); }
.ftr__bottom-links { display: flex; align-items: center; gap: 22px; }
.ftr__bottom-links a { text-decoration: none; }
.ftr__bottom-links a:hover { color: #fff; }
.ftr__up { display: inline-flex; align-items: center; gap: 8px; background: none; border: 1px solid var(--line-l); color: #fff; border-radius: 999px; padding: 8px 14px; font-size: .8rem; font-weight: 600; transition: background-color .25s, color .25s; }
.ftr__up:hover { background: #fff; color: var(--ink); }
@media (max-width: 1000px) { .ftr__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .ftr__grid { grid-template-columns: 1fr; gap: 34px; }
  .ftr__top-cta, .ftr__top-cta .btn { width: 100%; }
  .ftr__bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- legal / 404 ---------- */
.legal__h1 { margin-bottom: 36px; font-size: clamp(2.4rem, 6vw, 4rem); }
.legal .prose { color: var(--ink-2); }
.legal .prose a { word-break: break-word; }
.nf { text-align: center; min-height: 60svh; display: grid; place-items: center; }
.nf .wrap { display: grid; gap: 18px; justify-items: center; }
.nf__code { font-family: var(--serif); font-style: italic; font-size: 7rem; line-height: 1; color: var(--slate); }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .svc__list .reveal { transition-delay: calc(var(--i, 0) * 40ms); }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero__media img, .hero > .wrap > * { animation: none; }
  * { transition-duration: .01ms !important; }
}

/* ---------- v4: anniversary, diplomas in bio, news stories ---------- */
.anniv__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.anniv__text .prose { font-size: 1.08rem; color: var(--ink-2); }
.anniv__stat { display: flex; align-items: center; gap: 20px; margin: 30px 0; padding: 20px 24px; border-radius: var(--r); background: var(--mist); }
.anniv__stat span { font-family: var(--serif); font-style: italic; font-size: 4.2rem; line-height: 1; color: var(--slate-d); }
.anniv__stat p { font-weight: 600; line-height: 1.45; max-width: 26ch; }
.anniv__gal .g-item { aspect-ratio: 4 / 3; }
.anniv__video { border-radius: var(--r); overflow: hidden; background: var(--ink); aspect-ratio: 9 / 16; max-height: 720px; justify-self: center; width: 100%; max-width: 420px; }
.anniv__video video { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .anniv__grid { grid-template-columns: 1fr; } .anniv__video { max-width: 360px; } }

.bio__hint { font-size: .85rem; color: var(--muted); margin-bottom: 12px; }
.bio__certs { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.bio__cert { display: block; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--mist-2); }
.bio__cert img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.bio__cert:hover img { transform: scale(1.05); }

.story--stack { display: block; }
.story__text--wide { max-width: 760px; margin-bottom: 28px; }
.story__text p + p { margin-top: .9em; }
.story__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.gal--3 { grid-template-columns: repeat(3, 1fr); }
.gal--3 .g-item:nth-child(2) img { object-position: center; }
@media (max-width: 640px) { .gal--3 { grid-template-columns: 1fr 1fr; } .gal--3 .g-item:last-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; } }


/* ---------- v5 ---------- */
/* services on warm light background */
.svc .h2--light { color: var(--ink); }
.svc .link-light { color: var(--ink); border-color: rgba(17, 18, 20, .35); }
.svc .link-light:hover { border-color: var(--ink); }
.svc .svc__list { border-top-color: rgba(17, 18, 20, .14); }
.svc .svc__list li { border-bottom-color: rgba(17, 18, 20, .14); }
.svc .svc__list li:not(:nth-child(3n + 1)), .svc .svc__list li:nth-child(2n) { border-left-color: rgba(17, 18, 20, .14); }
.svc .svc__n { color: var(--slate-d); }

/* person panel: centered window on desktop */
@media (min-width: 641px) {
  .sheet__panel {
    top: 50%; left: 50%; right: auto; bottom: auto; width: min(720px, 92vw); max-height: 88vh; border-radius: 26px;
    padding: 56px clamp(28px, 4vw, 52px) 44px; box-shadow: 0 40px 90px -30px rgba(10, 11, 12, .45);
    transform: translate(-50%, -50%); opacity: 0; transition: opacity .25s ease;
  }
  .sheet.is-in .sheet__panel { transform: translate(-50%, -50%); opacity: 1; }
  .bio__head { flex-direction: column; text-align: center; gap: 14px; }
  .bio__ph { width: 140px; height: 140px; }
  .bio__certs { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
}

/* footer wordmark: visible light grey, full logo */
.ftr__mark { height: auto; overflow: visible; display: flex; justify-content: center; padding: 8px 0 34px; }
.ftr__mark img { width: min(100%, 760px); margin: 0; opacity: .5; filter: invert(1) brightness(.85); }

/* goal links, form consent */
.goal__links { font-size: 1rem; color: var(--muted); }
.goal__links a { color: var(--ink); font-weight: 600; }
.form__note { font-size: .85rem; color: var(--muted); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); }
.check.is-invalid span { color: #b3261e; }
.qa .faq__a p { color: var(--ink-2); }

/* header language switch: hidden on desktop header (desktop has no top bar now → show it), visible next to Menu on mobile */
.hdr__lang .lang a { padding: 5px 9px; font-size: .7rem; }
@media (max-width: 960px) { .hdr__end { gap: 14px; } }
@media (max-width: 380px) { .burger b { display: none; } }

/* ---------- v8: goal video row, patient video carousel, relationships ---------- */
.vrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(40px, 6vw, 72px); }
.vrow .video { aspect-ratio: 16 / 9; }
@media (max-width: 800px) { .vrow { grid-template-columns: 1fr; } }
.vcarousel { margin-bottom: 48px; }
.vslide { flex: 0 0 auto; height: clamp(240px, 38vw, 440px); border-radius: var(--r); overflow: hidden; background: var(--ink); scroll-snap-align: start; }
.vslide video { width: 100%; height: 100%; object-fit: cover; }
.vslide--h { aspect-ratio: 16 / 9; }
.vslide--v { aspect-ratio: 9 / 16; }
@media (max-width: 640px) { .vslide { height: 300px; } .vslide--h { height: auto; width: 86vw; } }
.rel__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 64px); align-items: center; margin-bottom: 32px; }
.rel__cta { margin-top: 26px; }
.rel__videos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rel__videos .vslide { height: auto; width: 100%; }
@media (max-width: 860px) { .rel__grid { grid-template-columns: 1fr; } }

/* ---------- v10: brigade patches, Michael video in relationships ---------- */
.patches__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.patch { display: block; aspect-ratio: 1; border-radius: var(--r-s); overflow: hidden; background: #1c2350; box-shadow: 0 10px 24px -18px rgba(17,18,20,.5); }
.patch img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.patch:hover img { transform: scale(1.06); }
@media (max-width: 480px) { .patches__grid { grid-template-columns: repeat(3, 1fr); gap: 8px; } }
.rel__videos .vslide--h { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
