/* ==========================================================================
   Faith & Recovery Sobriety Support — Site stylesheet
   Orary Creative · 2026
   --------------------------------------------------------------------------
   Brand (ID MARCA):
   Base  #f6faff  50%  — fundos / blocos
   Blue  #004082  30%  — elementos principais, textos
   Navy  #02182f  10%  — seções diferentes, diversidade visual
   Gold  #d8b863   7%  — CTAs secundárias, pontos de destaque
   Green #3ba450   3%  — destaque pouco acentuado
   Títulos: Athelas (Adobe Fonts) · Textos: Libre Franklin
   ========================================================================== */


/* ---------- Self-hosted fonts ---------- */
@font-face { font-family: "Crimson Pro"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/crimson-pro-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Crimson Pro"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/crimson-pro-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Crimson Pro"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/crimson-pro-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Crimson Pro"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/crimson-pro-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Crimson Pro"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/crimson-pro-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Libre Franklin"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/libre-franklin-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Libre Franklin"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/libre-franklin-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Libre Franklin"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/libre-franklin-latin-600-normal.woff2") format("woff2"); }

:root {
  --base: #f6faff;
  --tint: #e7effb;
  --tint-2: #dbe7f8;
  --blue: #004082;
  --blue-2: #0b4f97;
  --navy: #02182f;
  --navy-2: #0a2643;
  --gold: #d8b863;
  --gold-soft: #f3e9c8;
  --green: #3ba450;
  --ink: #02182f;
  --muted: #4b5d75;
  --line: rgba(0, 64, 130, .16);
  --line-light: rgba(246, 250, 255, .18);

  /* Athelas via Adobe Fonts kit (add the kit <link> in <head>); Crimson Pro is the free fallback */
  --f-display: "athelas", "Crimson Pro", Georgia, "Times New Roman", serif;
  --f-text: "Libre Franklin", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 28px;
  --radius-sm: 18px;
  --gap: clamp(12px, 1.4vw, 20px);
  --container: 1320px;
  --pad: clamp(20px, 4vw, 48px);
  --section: clamp(80px, 11vw, 150px);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  background: var(--base);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 500; line-height: 1.04; letter-spacing: -.012em; color: var(--blue); }
::selection { background: var(--gold); color: var(--navy); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 999; padding: 10px 16px; background: var(--navy); color: var(--base); border-radius: 999px; transform: translateY(-160%); transition: transform .3s var(--ease); }
.skip-link:focus { transform: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * .6); }
.section--tint { background: var(--tint); }
.section--navy { background: var(--navy); color: var(--base); }
.section--navy h2, .section--navy h3 { color: var(--base); }

.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.cell { position: relative; border-radius: var(--radius); overflow: hidden; padding: clamp(24px, 3vw, 44px); background: var(--tint); isolation: isolate; }
.cell--base { background: #fff; box-shadow: 0 1px 0 rgba(0,64,130,.04), 0 20px 50px -30px rgba(0,64,130,.25); }
.cell--outline { background: transparent; border: 1px solid var(--line); }
.cell--blue { background: var(--blue); color: var(--base); }
.cell--navy { background: var(--navy); color: var(--base); }
.cell--gold { background: var(--gold); color: var(--navy); }
.cell--blue h2, .cell--blue h3, .cell--navy h2, .cell--navy h3 { color: var(--base); }
.cell--gold h2, .cell--gold h3 { color: var(--navy); }
.cell--media { padding: 0; background: var(--tint-2); }
.cell--media > img, .cell--media > picture img, .cell-media-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.span-3 { grid-column: span 3; } .span-4 { grid-column: span 4; } .span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; } .span-7 { grid-column: span 7; } .span-8 { grid-column: span 8; }
.span-12 { grid-column: span 12; }
.row-2 { grid-row: span 2; }

/* spotlight on hover */
.cell[data-spot]::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(216,184,99,.22), transparent 60%);
  transition: opacity .4s var(--ease);
}
.cell[data-spot]:hover::after { opacity: 1; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-text); font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(216,184,99,.22); }
.section--navy .eyebrow, .cell--navy .eyebrow, .cell--blue .eyebrow, .cta .eyebrow, .scripture .eyebrow { color: var(--gold); }

.h1 { font-size: clamp(2.9rem, 1.6rem + 5.4vw, 6.4rem); line-height: .98; }
.h2 { font-size: clamp(2.2rem, 1.3rem + 3.4vw, 4.2rem); }
.h3 { font-size: clamp(1.5rem, 1.15rem + 1.2vw, 2.15rem); line-height: 1.12; }
.h4 { font-size: clamp(1.2rem, 1.05rem + .5vw, 1.5rem); line-height: 1.2; }
.lead { font-size: clamp(1.1rem, 1rem + .45vw, 1.35rem); line-height: 1.55; color: var(--muted); }
.cell--navy .lead, .cell--blue .lead, .section--navy .lead { color: rgba(246,250,255,.78); }
.muted { color: var(--muted); }
.serif-italic { font-family: var(--f-display); font-style: italic; }
.gold { color: var(--gold); }
.text-balance { text-wrap: balance; }
.text-pretty { text-wrap: pretty; }
.measure { max-width: 60ch; }

.section-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head p { color: var(--muted); max-width: 52ch; }
.section-head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }

.divider { height: 1px; background: var(--line); border: 0; margin: 0; transform-origin: left; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--blue); --fg: var(--base); --bd: var(--blue);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 56px; padding: 0 28px; border-radius: 999px; border: 1px solid var(--bd);
  background: var(--bg); color: var(--fg); font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: color .45s var(--ease), border-color .45s var(--ease), transform .45s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  background: var(--hover-bg, var(--navy)); transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--hover-fg, var(--base)); border-color: var(--hover-bg, var(--navy)); }
.btn .btn-ico { width: 30px; height: 30px; margin-right: -14px; border-radius: 50%; display: grid; place-items: center; background: rgba(246,250,255,.16); transition: transform .45s var(--ease); }
.btn:hover .btn-ico { transform: rotate(-45deg); }
.btn .btn-ico svg { width: 15px; height: 15px; }
.btn--ghost { --bg: transparent; --fg: var(--blue); --bd: rgba(0,64,130,.35); --hover-bg: var(--blue); }
.btn--ghost .btn-ico { background: rgba(0,64,130,.08); }
.btn--gold { --bg: var(--gold); --fg: var(--navy); --bd: var(--gold); --hover-bg: var(--base); --hover-fg: var(--navy); }
.btn--gold .btn-ico { background: rgba(2,24,47,.1); }
.btn--light { --bg: var(--base); --fg: var(--navy); --bd: var(--base); --hover-bg: var(--gold); --hover-fg: var(--navy); }
.btn--light .btn-ico { background: rgba(2,24,47,.08); }
.btn--ghost-light { --bg: transparent; --fg: var(--base); --bd: rgba(246,250,255,.4); --hover-bg: var(--base); --hover-fg: var(--navy); }
.btn--ghost-light .btn-ico { background: rgba(246,250,255,.14); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--blue); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: transform .6s var(--ease), background-color .4s, box-shadow .4s, height .4s var(--ease);
}
.site-header.is-scrolled { background: rgba(246,250,255,.82); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); box-shadow: 0 1px 0 var(--line); --header-h: 72px; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; width: clamp(150px, 14vw, 186px); flex-shrink: 0; }
.brand img { width: 100%; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  position: relative; padding: 10px 16px; border-radius: 999px; font-size: .93rem; font-weight: 500; color: var(--navy);
  transition: color .3s, background-color .3s;
}
.nav a::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); transform: translateX(-50%) scale(0); transition: transform .35s var(--ease); }
.nav a:hover { background: rgba(0,64,130,.06); }
.nav a[aria-current="page"] { color: var(--blue); }
.nav a[aria-current="page"]::after { transform: translateX(-50%) scale(1); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta .btn { height: 46px; padding: 0 20px; font-size: .88rem; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; color: var(--blue); padding: 0 6px; }
.header-phone svg { width: 18px; height: 18px; }

.menu-toggle { display: none; width: 48px; height: 48px; border-radius: 50%; background: var(--blue); color: var(--base); position: relative; z-index: 120; }
.menu-toggle span { position: absolute; left: 15px; right: 15px; height: 1.6px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.menu-toggle span:nth-child(1) { top: 20px; } .menu-toggle span:nth-child(2) { top: 27px; }
.menu-open .menu-toggle { background: var(--gold); color: var(--navy); }
.menu-open .menu-toggle span:nth-child(1) { top: 23.5px; transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { top: 23.5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 110; background: var(--navy); color: var(--base);
  display: flex; flex-direction: column; justify-content: space-between; padding: 110px var(--pad) 36px;
  clip-path: circle(0 at calc(100% - 44px) 42px); transition: clip-path .8s var(--ease-in-out); visibility: hidden;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 44px) 42px); visibility: visible; }
.mobile-menu nav a { display: block; font-family: var(--f-display); font-size: clamp(2.4rem, 11vw, 3.6rem); line-height: 1.15; color: var(--base); opacity: 0; transform: translateY(30px); transition: opacity .6s var(--ease), transform .6s var(--ease), color .3s; }
.mobile-menu nav a[aria-current="page"] { color: var(--gold); }
.menu-open .mobile-menu nav a { opacity: 1; transform: none; }
.menu-open .mobile-menu nav a:nth-child(1) { transition-delay: .2s; } .menu-open .mobile-menu nav a:nth-child(2) { transition-delay: .26s; }
.menu-open .mobile-menu nav a:nth-child(3) { transition-delay: .32s; } .menu-open .mobile-menu nav a:nth-child(4) { transition-delay: .38s; }
.menu-open .mobile-menu nav a:nth-child(5) { transition-delay: .44s; }
.mobile-menu .mm-foot { display: grid; gap: 16px; color: rgba(246,250,255,.7); font-size: .95rem; }
.mobile-menu .mm-foot a { color: var(--base); }
.menu-open { overflow: hidden; }

/* ---------- Intro curtain (home) ---------- */
.intro {
  position: fixed; inset: 0; z-index: 300; background: var(--navy); display: grid; place-items: center;
  transition: clip-path 1s var(--ease-in-out) .15s; clip-path: inset(0 0 0 0);
}
.intro img { width: 96px; opacity: 0; transform: scale(.85) translateY(10px); animation: introMark .9s var(--ease) .1s forwards; }
.intro.is-done { clip-path: inset(0 0 100% 0); }
.intro.is-gone { display: none; }
@keyframes introMark { to { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.hero { padding-top: calc(var(--header-h) + clamp(28px, 4vw, 56px)); padding-bottom: clamp(48px, 7vw, 96px); }
.hero .bento { grid-auto-rows: minmax(0, auto); }
.hero-title-cell { grid-column: span 7; grid-row: span 2; display: flex; flex-direction: column; justify-content: space-between; gap: 36px; padding-top: clamp(32px, 4vw, 56px); background: #fff; box-shadow: 0 30px 60px -40px rgba(0,64,130,.35); }
.hero-sub { font-family: var(--f-display); font-size: clamp(1.35rem, 1.1rem + 1vw, 2rem); color: var(--navy); line-height: 1.2; margin-top: 18px; display: flex; align-items: center; gap: 14px; }
.hero-sub::before { content: ""; width: 44px; height: 1px; background: var(--gold); flex-shrink: 0; }
.hero-text { color: var(--muted); max-width: 54ch; }
.hero-media { grid-column: span 5; grid-row: span 2; min-height: clamp(420px, 46vw, 640px); }
.hero-media img { transform: scale(1.12); }
.hero-badge {
  position: absolute; right: 22px; bottom: 22px; width: 132px; height: 132px; border-radius: 50%;
  background: rgba(2,24,47,.82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: grid; place-items: center; color: var(--base);
}
.hero-badge svg.ring { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); animation: spin 22s linear infinite; }
.hero-badge svg.ring text { font-family: var(--f-text); font-size: 8.4px; letter-spacing: 0; text-transform: uppercase; fill: var(--base); font-weight: 600; }
.hero-badge img { width: 42px; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-chip {
  position: absolute; left: 22px; top: 22px; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px;
  background: rgba(246,250,255,.9); backdrop-filter: blur(8px); border-radius: 999px; font-size: .82rem; font-weight: 600; color: var(--navy);
}
.hero-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(59,164,80,.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(59,164,80,0); } 100% { box-shadow: 0 0 0 0 rgba(59,164,80,0); } }

.hero-mini { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 170px; }
.hero-mini .mini-ico { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(246,250,255,.14); }
.cell--gold .mini-ico { background: rgba(2,24,47,.1); }
.hero-mini .mini-ico svg { width: 20px; height: 20px; }
.hero-mini strong { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.3rem, 1.1rem + .7vw, 1.75rem); line-height: 1.15; display: block; }
.hero-mini small { display: block; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; opacity: .75; margin-bottom: 6px; font-weight: 600; }

/* Page hero (inner pages) */
.page-hero { padding-top: calc(var(--header-h) + clamp(48px, 7vw, 110px)); padding-bottom: clamp(40px, 6vw, 80px); }
.page-hero .h1 { max-width: 16ch; }
.crumbs { display: flex; gap: 10px; align-items: center; font-size: .82rem; color: var(--muted); margin-bottom: 26px; }
.crumbs a:hover { color: var(--blue); }
.crumbs span[aria-hidden] { color: var(--gold); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: clamp(18px, 2.4vw, 30px); background: var(--base); }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; align-items: center; flex-shrink: 0; }
.marquee__item { display: inline-flex; align-items: center; gap: clamp(22px, 3vw, 44px); padding-right: clamp(22px, 3vw, 44px); font-family: var(--f-display); font-size: clamp(1.7rem, 1.2rem + 2.2vw, 3.2rem); color: var(--blue); white-space: nowrap; line-height: 1.1; }
.marquee__item:nth-child(even) { font-style: italic; color: var(--navy); }
.marquee__item img { width: clamp(26px, 2.6vw, 38px); }
.marquee--navy { background: var(--navy); border-color: transparent; }
.marquee--navy .marquee__item { color: var(--base); }
.marquee--navy .marquee__item:nth-child(even) { color: var(--gold); }

/* ---------- Intro / positioning ---------- */
.intro-grid .cell--media { min-height: clamp(360px, 40vw, 560px); }
.intro-copy { display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.intro-copy p { color: var(--muted); }

/* ---------- Offers ---------- */
.offers { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.offers .offer-media { grid-column: 1 / span 2; grid-row: 1 / span 2; min-height: 460px; }
.offer { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 230px; transition: transform .6s var(--ease), background-color .4s; }
.offer:hover { transform: translateY(-6px); }
.offer-num { font-family: var(--f-display); font-size: 1rem; color: var(--blue); opacity: .55; }
.offer-ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: #fff; color: var(--blue); box-shadow: 0 10px 24px -14px rgba(0,64,130,.4); }
.offer-ico svg { width: 24px; height: 24px; }
.cell--navy .offer-ico, .cell--blue .offer-ico { background: rgba(246,250,255,.1); color: var(--gold); box-shadow: none; }
.cell--gold .offer-ico { background: rgba(2,24,47,.08); color: var(--navy); box-shadow: none; }
.cell--navy .offer-num, .cell--blue .offer-num { color: var(--gold); opacity: 1; }
.cell--gold .offer-num { color: var(--navy); }
.offer h3 { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.8rem); line-height: 1.15; }
.offer-top { display: flex; justify-content: space-between; align-items: flex-start; }
.offers .offer-wide { grid-column: span 2; }
.media-caption { position: absolute; left: 20px; right: 20px; bottom: 20px; padding: 22px 24px; border-radius: 20px; background: rgba(2,24,47,.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--base); font-family: var(--f-display); font-size: clamp(1.25rem, 1rem + .9vw, 1.7rem); line-height: 1.2; }

/* ---------- Near / location list ---------- */
.near-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 30px; }
.near-list li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: rgba(246,250,255,.08); border: 1px solid var(--line-light); font-size: .97rem; transition: background-color .3s, transform .4s var(--ease); }
.near-list li:hover { background: rgba(246,250,255,.14); transform: translateX(4px); }
.near-list svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; }
.statement { font-family: var(--f-display); font-size: clamp(1.2rem, 1.05rem + .55vw, 1.5rem); line-height: 1.34; }
.statement-cell { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.statement-cell .q-mark { font-family: var(--f-display); font-size: 4.5rem; line-height: .6; color: var(--gold); height: 30px; }

/* ---------- Who it's for ---------- */
.who { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.who-sticky { position: sticky; top: calc(var(--header-h) + 30px); }
.who-sticky .cell--media { aspect-ratio: 4 / 3; margin-top: 36px; }
.who-list { display: grid; gap: 14px; counter-reset: who; }
.who-list > p { font-weight: 600; color: var(--blue); margin-bottom: 8px; }
.who-item {
  counter-increment: who; display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center;
  padding: clamp(22px, 2.6vw, 32px); border-radius: var(--radius); border: 1px solid var(--line); background: transparent;
  transition: background-color .6s var(--ease), border-color .6s, color .6s, transform .6s var(--ease);
}
.who-item::before { content: counter(who, decimal-leading-zero); font-family: var(--f-display); font-size: 1.1rem; color: var(--gold); width: 52px; height: 52px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; transition: background-color .6s, color .6s; }
.who-item span { font-family: var(--f-display); font-size: clamp(1.25rem, 1.05rem + .8vw, 1.75rem); line-height: 1.2; color: var(--navy); transition: color .6s; }
.who-item.is-active { background: var(--blue); border-color: var(--blue); transform: translateX(-6px); }
.who-item.is-active span { color: var(--base); }
.who-item.is-active::before { background: var(--gold); color: var(--navy); border-color: var(--gold); }

/* ---------- Expectations path ---------- */
.expect { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.expect-intro { position: sticky; top: calc(var(--header-h) + 30px); }
.expect-intro .note { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); font-family: var(--f-display); font-size: clamp(1.25rem, 1.05rem + .7vw, 1.6rem); line-height: 1.3; color: var(--navy); }
.path { position: relative; display: grid; gap: clamp(14px, 1.6vw, 22px); padding-left: 64px; }
.path::before, .path-progress { content: ""; position: absolute; left: 23px; top: 28px; bottom: 28px; width: 2px; background: var(--tint-2); border-radius: 2px; }
.path-progress { background: var(--gold); transform-origin: top; transform: scaleY(var(--p, 0)); }
.step { position: relative; padding: clamp(22px, 2.4vw, 30px) clamp(22px, 2.6vw, 34px); background: #fff; border-radius: var(--radius-sm); box-shadow: 0 18px 40px -30px rgba(0,64,130,.35); }
.step::before { content: ""; position: absolute; left: -49px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: var(--base); border: 2px solid var(--tint-2); transition: background-color .5s, border-color .5s, transform .5s var(--ease); }
.step.is-on::before { background: var(--gold); border-color: var(--gold); transform: scale(1.15); }
.step small { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.step p { font-family: var(--f-display); font-size: clamp(1.2rem, 1.05rem + .6vw, 1.55rem); line-height: 1.25; color: var(--navy); margin: 0; }

/* ---------- Faith ---------- */
.faith .cell--media { min-height: clamp(380px, 42vw, 600px); }
.faith-copy { display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.faith-copy p { color: rgba(246,250,255,.78); }
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 6px 0; }
.values li { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 16px; background: rgba(246,250,255,.07); border: 1px solid var(--line-light); font-family: var(--f-display); font-size: 1.25rem; color: var(--base); }
.values li::before { content: ""; width: 10px; height: 10px; flex-shrink: 0; background: var(--gold); transform: rotate(45deg); border-radius: 2px; }

/* ---------- Location ---------- */
.loc-map { min-height: 420px; padding: 0; }
.loc-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.6) contrast(1.02); }
.loc-pin { position: absolute; left: 20px; bottom: 20px; z-index: 2; display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 999px; background: var(--navy); color: var(--base); font-weight: 600; font-size: .9rem; pointer-events: none; }
.loc-pin span { width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: var(--navy); display: grid; place-items: center; }
.loc-pin svg { width: 16px; height: 16px; }
.check-list { display: grid; gap: 12px; margin-top: 20px; }
.check-list li { display: flex; align-items: center; gap: 14px; }
.check-list li::before { content: ""; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d8b863' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.cell--navy .check-list li::before, .cell--blue .check-list li::before { background-color: rgba(246,250,255,.12); }

/* ---------- CTA ---------- */
.cta { position: relative; border-radius: calc(var(--radius) + 8px); overflow: hidden; padding: clamp(56px, 9vw, 130px) clamp(24px, 6vw, 90px); color: var(--base); text-align: center; isolation: isolate; }
.cta-bg { position: absolute; inset: -18% 0; z-index: -2; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(2,24,47,.62) 0%, rgba(0,64,130,.78) 100%); }
.cta h2 { color: var(--base); max-width: 16ch; margin-inline: auto; }
.cta p { max-width: 56ch; margin: 22px auto 0; color: rgba(246,250,255,.85); }
.cta-contacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 26px; font-weight: 600; }
.cta-contacts a { display: inline-flex; align-items: center; gap: 10px; border-bottom: 1px solid rgba(216,184,99,.6); padding-bottom: 2px; transition: color .3s; }
.cta-contacts a:hover { color: var(--gold); }
.cta-contacts svg { width: 18px; height: 18px; color: var(--gold); }
.cta .btn-row { justify-content: center; margin-top: 38px; }

/* ---------- Blog cards ---------- */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.post-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 440px; border-radius: var(--radius); overflow: hidden; color: var(--base); isolation: isolate; background: var(--navy); }
.post-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.post-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(2,24,47,0) 25%, rgba(2,24,47,.55) 55%, rgba(0,64,130,.95) 100%); transition: opacity .5s; }
.post-card:hover img { transform: scale(1.07); }
.post-body { padding: clamp(22px, 2.4vw, 32px); }
.post-meta { display: flex; align-items: center; gap: 10px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(246,250,255,.75); margin-bottom: 12px; font-weight: 600; }
.post-meta .tag { padding: 5px 10px; border-radius: 999px; background: var(--gold); color: var(--navy); letter-spacing: .1em; }
.post-card h3 { color: var(--base); font-size: clamp(1.35rem, 1.15rem + .6vw, 1.75rem); line-height: 1.16; }
.post-card .go { position: absolute; top: 20px; right: 20px; width: 50px; height: 50px; border-radius: 50%; background: var(--base); color: var(--navy); display: grid; place-items: center; transform: scale(.6) rotate(-45deg); opacity: 0; transition: transform .5s var(--ease), opacity .4s; }
.post-card .go svg { width: 18px; height: 18px; }
.post-card:hover .go { transform: scale(1) rotate(-45deg); opacity: 1; }
.post-card--feature { grid-column: span 2; min-height: 520px; }
.post-card--feature h3 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.6rem); max-width: 22ch; }
.post-card p.excerpt { color: rgba(246,250,255,.8); margin-top: 12px; font-size: .97rem; max-width: 60ch; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.filter { height: 42px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; font-size: .88rem; color: var(--blue); transition: background-color .3s, color .3s, border-color .3s; }
.filter:hover { border-color: var(--blue); }
.filter.is-active { background: var(--blue); color: var(--base); border-color: var(--blue); }
.post-card.is-hidden { display: none; }

/* ---------- Article ---------- */
.article-hero { padding-top: calc(var(--header-h) + clamp(40px, 6vw, 90px)); }
.article-hero h1 { font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4.6rem); max-width: 20ch; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 28px; color: var(--muted); font-size: .92rem; }
.article-meta .tag { padding: 6px 12px; border-radius: 999px; background: var(--gold-soft); color: var(--navy); font-weight: 600; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.article-cover { margin-top: clamp(36px, 5vw, 64px); border-radius: calc(var(--radius) + 6px); overflow: hidden; aspect-ratio: 21 / 9; position: relative; }
.article-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 30px); font-size: .9rem; }
.toc p { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--blue); margin-bottom: 14px; }
.toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); transition: color .3s, border-color .3s; }
.toc a:hover, .toc a.is-active { color: var(--blue); border-color: var(--gold); }
.reading-bar { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 101; background: var(--gold); transform-origin: left; transform: scaleX(0); }
.prose { max-width: 720px; font-size: clamp(1.05rem, 1rem + .2vw, 1.15rem); line-height: 1.78; color: #1c2f47; }
.prose > * + * { margin-top: 1.1em; }
.prose .standfirst { font-family: var(--f-display); font-size: clamp(1.4rem, 1.15rem + .9vw, 1.95rem); line-height: 1.35; color: var(--navy); }
.prose h2 { font-size: clamp(1.7rem, 1.35rem + 1.2vw, 2.4rem); margin-top: 2.2em; padding-top: 1.4em; border-top: 1px solid var(--line); }
.prose ul { display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 28px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); border-radius: 2px; }
.prose blockquote { margin: 2em 0; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius); background: var(--navy); color: var(--base); font-family: var(--f-display); font-size: clamp(1.4rem, 1.15rem + 1vw, 2rem); line-height: 1.3; }
.prose blockquote cite { display: block; margin-top: 16px; font-family: var(--f-text); font-style: normal; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.prose .benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 1.4em; }
.prose .benefit { padding: 24px; border-radius: var(--radius-sm); background: var(--tint); }
.prose .benefit:nth-child(2) { background: var(--blue); color: var(--base); }
.prose .benefit:nth-child(3) { background: var(--navy); color: var(--base); }
.prose .benefit:nth-child(4) { background: var(--gold-soft); }
.prose .benefit h3 { font-size: 1.45rem; margin-bottom: 8px; display: flex; align-items: center; gap: 12px; }
.prose .benefit:nth-child(2) h3, .prose .benefit:nth-child(3) h3 { color: var(--base); }
.prose .benefit svg { width: 22px; height: 22px; color: var(--gold); }
.prose .benefit p { font-size: 1rem; line-height: 1.55; }
.prose .disclaimer { margin-top: 3em; padding: 24px; border-radius: var(--radius-sm); border: 1px solid var(--line); font-size: .88rem; line-height: 1.6; color: var(--muted); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-top: 56px; }
.post-nav a { display: block; padding: 26px 28px; border-radius: var(--radius-sm); border: 1px solid var(--line); transition: background-color .3s, border-color .3s; }
.post-nav a:hover { background: #fff; border-color: transparent; box-shadow: 0 20px 40px -30px rgba(0,64,130,.4); }
.post-nav small { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 8px; }
.post-nav span { font-family: var(--f-display); font-size: 1.25rem; line-height: 1.25; color: var(--navy); }
.post-nav a:last-child { text-align: right; }

/* ---------- About ---------- */
.about-intro .cell--media { min-height: clamp(380px, 40vw, 560px); }
.purpose { font-family: var(--f-display); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem); line-height: 1.22; color: var(--navy); }
.core { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.core .cell { min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; }
.core .cell h3 { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.8rem); }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.mv .cell { min-height: 380px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.mv .cell p { font-family: var(--f-display); font-size: clamp(1.3rem, 1.1rem + .8vw, 1.8rem); line-height: 1.3; }
.mv-ico { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(246,250,255,.25); color: var(--gold); }
.mv-ico svg { width: 26px; height: 26px; }
.scripture { position: relative; border-radius: calc(var(--radius) + 8px); overflow: hidden; min-height: clamp(420px, 50vw, 620px); display: grid; place-items: center; text-align: center; padding: clamp(40px, 7vw, 100px); color: var(--base); isolation: isolate; }
.scripture::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(2,24,47,.45), rgba(2,24,47,.82)); }
.scripture blockquote { margin: 0; font-family: var(--f-display); font-size: clamp(1.9rem, 1.2rem + 3vw, 4rem); line-height: 1.12; max-width: 20ch; }
.scripture cite { display: block; margin-top: 26px; font-style: normal; letter-spacing: .2em; text-transform: uppercase; font-size: .82rem; font-weight: 600; color: var(--gold); }
.gallery { display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; cursor: grab; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.gallery figure { flex: 0 0 clamp(260px, 32vw, 440px); aspect-ratio: 4 / 5; margin: 0; border-radius: var(--radius); overflow: hidden; scroll-snap-align: start; position: relative; }
.gallery figure img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: transform 1s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 36px; }
.gallery-nav { display: flex; gap: 10px; }
.gallery-nav button { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--blue); transition: background-color .3s, color .3s; }
.gallery-nav button:hover { background: var(--blue); color: var(--base); }
.gallery-nav svg { width: 18px; height: 18px; }

/* ---------- Program ---------- */
.stack { display: grid; gap: 18px; }
.stack-card { position: sticky; top: calc(var(--header-h) + 24px); display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 3vw, 48px); align-items: center; min-height: 200px; padding: clamp(28px, 3.4vw, 50px); border-radius: var(--radius); transform-origin: center top; box-shadow: 0 -20px 50px -30px rgba(2,24,47,.35); }
.stack-card:nth-child(1) { background: #fff; }
.stack-card:nth-child(2) { background: var(--tint-2); top: calc(var(--header-h) + 44px); }
.stack-card:nth-child(3) { background: var(--blue); color: var(--base); top: calc(var(--header-h) + 64px); }
.stack-card:nth-child(4) { background: var(--navy); color: var(--base); top: calc(var(--header-h) + 84px); }
.stack-card .num { min-width: 1.4em; font-family: var(--f-display); font-size: clamp(3rem, 2rem + 4vw, 6rem); line-height: .9; color: var(--gold); }
.stack-card h3 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.8rem); }
.stack-card:nth-child(n+3) h3 { color: var(--base); }
.stack-card .s-ico { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--blue); }
.stack-card:nth-child(n+3) .s-ico { border-color: var(--line-light); color: var(--gold); }
.stack-card .s-ico svg { width: 28px; height: 28px; }
.big-statement { font-family: var(--f-display); font-size: clamp(2rem, 1.2rem + 3.4vw, 4.4rem); line-height: 1.1; color: var(--blue); max-width: 22ch; }
.big-statement .w { opacity: .18; transition: opacity .4s; }
.big-statement .w.is-lit { opacity: 1; }

/* ---------- Contact ---------- */
.contact-grid .cell { min-height: 220px; }
.contact-card { display: flex; flex-direction: column; justify-content: space-between; gap: 36px; transition: transform .6s var(--ease); }
a.contact-card:hover { transform: translateY(-6px); }
.contact-card small { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; opacity: .8; }
.contact-card strong { display: block; font-family: var(--f-display); font-weight: 500; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.3rem); line-height: 1.1; margin-top: 8px; word-break: break-word; }
.contact-card .c-top { display: flex; justify-content: space-between; align-items: flex-start; }
.contact-card .c-ico { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: rgba(246,250,255,.14); }
.cell--tint .c-ico, .contact-card.cell .c-ico { color: inherit; }
.contact-card .c-ico svg { width: 22px; height: 22px; }
.form { display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; padding: 26px 20px 12px; border-radius: 16px; border: 1px solid var(--line); background: var(--base);
  font: inherit; color: var(--navy); transition: border-color .3s, background-color .3s, box-shadow .3s; resize: vertical;
}
.field textarea { min-height: 170px; }
.field label { position: absolute; left: 21px; top: 19px; color: var(--muted); pointer-events: none; transition: transform .3s var(--ease), font-size .3s var(--ease), color .3s; transform-origin: left; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(0,64,130,.08); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-11px) scale(.76); color: var(--blue); font-weight: 600; }
.form-note { font-size: .82rem; color: var(--muted); }
.form-success { display: none; padding: 18px 20px; border-radius: 16px; background: rgba(59,164,80,.12); color: #1d6b31; font-weight: 600; }
.form.is-sent .form-success { display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(246,250,255,.78); padding-top: clamp(64px, 8vw, 110px); margin-top: 0; position: relative; overflow: hidden; }
.site-footer.no-gap { margin-top: 0; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: clamp(28px, 4vw, 60px); padding-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line-light); }
.footer-brand img { width: 210px; }
.footer-brand p { margin-top: 22px; max-width: 30ch; }
.site-footer h4 { font-family: var(--f-text); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--gold); margin-bottom: 18px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer a { transition: color .3s; }
.site-footer a:hover { color: var(--gold); }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-light); display: grid; place-items: center; color: var(--base); transition: background-color .3s, color .3s, border-color .3s; }
.socials a:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.socials svg { width: 18px; height: 18px; }
.footer-word { font-family: var(--f-display); font-size: clamp(3rem, 11.6vw, 11.8rem); overflow: hidden; line-height: .9; color: transparent; -webkit-text-stroke: 1px rgba(246,250,255,.16); white-space: nowrap; text-align: center; padding-top: clamp(30px, 4vw, 50px); letter-spacing: -.02em; user-select: none; }
.footer-word span { color: rgba(216,184,99,.9); -webkit-text-stroke: 0; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 26px; font-size: .85rem; border-top: 1px solid var(--line-light); }
.to-top { display: inline-flex; align-items: center; gap: 8px; }
.to-top svg { width: 16px; height: 16px; transform: rotate(-90deg); }

/* ---------- Floating call (mobile) ---------- */
.fab-call { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: var(--gold); color: var(--navy); display: none; place-items: center; box-shadow: 0 16px 30px -10px rgba(2,24,47,.45); transform: scale(0); transition: transform .5s var(--ease); }
.fab-call.is-visible { transform: scale(1); }
.fab-call svg { width: 22px; height: 22px; }

/* ==========================================================================
   Motion
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(.94); }
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.js [data-split] .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 45ms + var(--d, 0s)); }
.js [data-split].is-in .w > span { transform: none; }

.js [data-img-reveal] { clip-path: inset(100% 0 0 0 round var(--radius)); transition: clip-path 1.4s var(--ease); }
.js [data-img-reveal].is-in { clip-path: inset(0 0 0 0 round var(--radius)); }
.js [data-img-reveal] img { transform: scale(1.25); transition: transform 1.8s var(--ease); }
.js [data-img-reveal].is-in img { transform: scale(1.04); }

.js [data-line] { transform: scaleX(0); transition: transform 1.4s var(--ease); }
.js [data-line].is-in { transform: scaleX(1); }

[data-parallax] { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-split] .w > span, .js [data-img-reveal], .js [data-img-reveal] img, .js [data-line] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .intro { display: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .header-phone { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
  .nav, .header-cta .btn { display: none; }
  .menu-toggle { display: block; }
  .hero-title-cell, .hero-media { grid-column: span 12; }
  .hero-media { min-height: 460px; }
  .hero .hero-mini { grid-column: span 6 !important; }
  .span-7, .span-5, .span-8, .span-4 { grid-column: span 12; }
  .span-6 { grid-column: span 12; }
  .span-3 { grid-column: span 6; }
  .section-head { grid-template-columns: 1fr; align-items: start; }
  .offers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offers .offer-media { grid-column: span 2; grid-row: auto; min-height: 380px; }
  .who, .expect { grid-template-columns: 1fr; }
  .who-sticky, .expect-intro { position: static; }
  .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-card--feature { grid-column: span 2; }
  .core { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: 1fr; }
  .toc { display: none; }
  .row-2 { grid-row: auto; }
  .fab-call { display: grid; }
}
@media (max-width: 680px) {
  :root { --radius: 22px; --header-h: 72px; }
  .btn { height: 52px; padding: 0 22px; }
  .btn-row .btn { flex: 1 1 100%; }
  .hero .hero-mini { grid-column: span 12 !important; min-height: 0; }
  .hero-media { min-height: 380px; }
  .hero-badge { width: 108px; height: 108px; }
  .span-3 { grid-column: span 12; }
  .offers { grid-template-columns: 1fr; }
  .offers .offer-media, .offers .offer-wide { grid-column: span 1; }
  .offer { min-height: 0; gap: 28px; }
  .near-list, .values, .form .row, .mv, .post-nav, .prose .benefits { grid-template-columns: 1fr; }
  .posts { grid-template-columns: 1fr; }
  .post-card--feature { grid-column: span 1; min-height: 460px; }
  .post-card { min-height: 380px; }
  .core { grid-template-columns: 1fr; }
  .core .cell { min-height: 0; }
  .path { padding-left: 46px; }
  .path::before, .path-progress { left: 15px; }
  .step::before { left: -39px; }
  .stack-card { grid-template-columns: 1fr; gap: 18px; position: relative; top: auto !important; }
  .stack-card .s-ico { display: none; }
  .footer-top { grid-template-columns: 1fr; }
  .post-nav a:last-child { text-align: left; }
  .gallery-head { flex-direction: column; align-items: flex-start; }
  .article-cover { aspect-ratio: 4 / 3; }
}

/* menu open: keep the close button above the overlay */
.menu-open .site-header { z-index: 115; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; transform: none; }
.menu-open .site-header .brand { opacity: 0; pointer-events: none; }
