/* Potter's House Preston — v2
   Slate #293133 primary, black, white. League Gothic headings, Montserrat body. */

@font-face { font-family: "League Gothic"; src: url("../fonts/league-gothic.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat.woff2") format("woff2-variations"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-italic.woff2") format("woff2-variations"); font-weight: 100 900; font-style: italic; font-display: swap; }

:root {
  --slate: #293133;
  --slate-2: #343e41;     /* raised surface on slate */
  --slate-3: #3f4a4d;
  --black: #000;
  --white: #fff;
  --mist: #eef0f0;        /* light slate tint for surfaces on white */
  --mist-2: #e3e7e7;
  --ink-soft: #566064;    /* secondary text on white, 6.4:1 */
  --on-slate-soft: #b9c2c4; /* secondary text on slate, 7.6:1 */

  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 10px;

  --pad: clamp(1rem, 3.5vw, 2.5rem);
  --max: 1360px;
  --gap: clamp(.75rem, 1.6vw, 1.25rem);

  --h1: clamp(2.9rem, 5.6vw, 5.2rem);
  --h2: clamp(2.2rem, 3.8vw, 3.5rem);
  --h3: clamp(1.5rem, 2vw, 1.9rem);
  --lead: clamp(1.05rem, 1.3vw, 1.2rem);

  --ease: cubic-bezier(.22, .8, .16, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; }
body {
  margin: 0; background: var(--white); color: var(--slate);
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem; line-height: 1.7; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; max-width: 64ch; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: 1rem; top: -100px; z-index: 300; background: var(--white); color: var(--slate); padding: .75rem 1rem; border-radius: var(--r-sm); font-weight: 600; }
.skip:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
.h1, .h2, .h3, .display {
  font-family: "League Gothic", "Arial Narrow", Impact, sans-serif;
  text-transform: uppercase; font-weight: 400; letter-spacing: .015em; line-height: .95;
}
.h1 { font-size: var(--h1); }
.h2 { font-size: var(--h2); }
.h3 { font-size: var(--h3); letter-spacing: .03em; line-height: 1; }
.accent { font-style: italic; font-weight: 300; text-transform: none; font-family: "Montserrat", sans-serif; letter-spacing: 0; }
.lead { font-size: var(--lead); line-height: 1.65; max-width: 46ch; }
.small { font-size: .875rem; }
.soft { color: var(--ink-soft); }
.on-slate .soft, .on-black .soft { color: var(--on-slate-soft); }
.tag {
  display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  padding: .45rem .75rem; border-radius: 8px; background: var(--mist); color: var(--slate);
}
.on-slate .tag, .on-black .tag { background: rgba(255,255,255,.1); color: var(--white); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(4.5rem, 9vw, 8rem); }
.section--sm { padding-block: clamp(3rem, 6vw, 5rem); }
.on-slate { background: var(--slate); color: var(--white); }
.on-black { background: var(--black); color: var(--white); }
.on-mist { background: var(--mist); }
.head { display: grid; gap: 1rem 3rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.head .h2 { max-width: 16ch; }
@media (min-width: 900px) { .head--split { grid-template-columns: 1fr 1fr; align-items: end; } }
.split { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--rev > :first-child { order: 2; } }
.stack > * + * { margin-top: 1.25rem; }
.mt { margin-top: clamp(2rem, 4vw, 3rem); }

/* Rounded inset panel used across pages */
.panel { border-radius: var(--r-xl); overflow: hidden; }
.inset { padding-inline: clamp(.5rem, 1.2vw, 1rem); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 50px; padding: .8rem 1.4rem; border-radius: var(--r-sm); border: 1.5px solid transparent;
  font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--slate { background: var(--slate); color: var(--white); }
.btn--slate:hover { background: var(--black); }
.btn--white { background: var(--white); color: var(--slate); }
.btn--white:hover { background: var(--mist-2); }
.btn--ghost { border-color: currentColor; background: transparent; }
.btn--ghost:hover { background: var(--slate); color: var(--white); border-color: var(--slate); }
.on-slate .btn--ghost:hover, .on-black .btn--ghost:hover, .hero .btn--ghost:hover, .phero .btn--ghost:hover { background: var(--white); color: var(--slate); border-color: var(--white); }
.btn--glass { background: rgba(255,255,255,.14); color: var(--white); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(255,255,255,.26); }
.btn-row { display: flex; flex-wrap: wrap; gap: .65rem; }
.textlink { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .3em; }
.textlink:hover { text-decoration-thickness: 2.5px; }

/* ---------- Navigation (floating bar) ---------- */
.nav { position: fixed; z-index: 100; left: 0; right: 0; top: 12px; transition: transform .45s var(--ease); }
.nav.is-hidden { transform: translateY(calc(-100% - 20px)); }
.nav__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  height: 66px; padding: 0 .65rem 0 1.1rem; border-radius: 18px;
  background: rgba(41,49,51,.55); color: var(--white);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  transition: background-color .35s;
}
.nav.is-solid .nav__bar { background: rgba(41,49,51,.92); }
.brand { display: block; flex: 0 0 auto; }
.brand img { height: 38px; width: auto; }
.nav__links { display: flex; align-items: center; gap: .25rem; list-style: none; }
.nav__links a:not(.btn) { display: block; padding: .55rem .8rem; border-radius: var(--r-sm); text-decoration: none; font-size: .9rem; font-weight: 500; transition: background-color .2s; }
.nav__links a:not(.btn):hover { background: rgba(255,255,255,.12); }
.nav__links a[aria-current="page"] { background: rgba(255,255,255,.16); }
.nav__links .btn { min-height: 44px; padding: .55rem 1rem; margin-left: .35rem; }
.menu-btn { display: none; align-items: center; gap: .55rem; min-height: 44px; padding: .5rem .9rem; border: 0; border-radius: var(--r-sm); background: rgba(255,255,255,.12); cursor: pointer; font-size: .9rem; font-weight: 600; }
.menu-btn__icon { position: relative; width: 18px; height: 10px; }
.menu-btn__icon::before, .menu-btn__icon::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), top .3s; }
.menu-btn__icon::before { top: 0; } .menu-btn__icon::after { top: 8px; }
.menu-open .menu-btn__icon::before { top: 4px; transform: rotate(45deg); }
.menu-open .menu-btn__icon::after { top: 4px; transform: rotate(-45deg); }
@media (max-width: 1060px) {
  .nav__links .nav-item { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 520px) { .nav__links .btn { display: none; } .brand img { height: 32px; } }

.menu {
  position: fixed; inset: 0; z-index: 90; background: var(--slate); color: var(--white);
  padding: 110px 0 2rem; overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s;
}
.menu-open { overflow: hidden; }
.menu-open .menu { opacity: 1; visibility: visible; transition: opacity .35s, visibility 0s; }
.menu-open .nav { transform: none; }
.menu__grid { display: grid; gap: 2.5rem; }
.menu__list { list-style: none; display: grid; gap: .15rem; }
.menu__list a {
  display: inline-block; text-decoration: none; font-family: "League Gothic", sans-serif; text-transform: uppercase;
  font-size: clamp(2.4rem, min(7vw, 7.5vh), 4.2rem); line-height: 1.05; letter-spacing: .02em;
  opacity: 0; transform: translateY(14px); transition: opacity .45s var(--ease), transform .45s var(--ease), color .2s;
}
.menu-open .menu__list a { opacity: 1; transform: none; }
.menu__list li:nth-child(2) a { transition-delay: .03s; } .menu__list li:nth-child(3) a { transition-delay: .06s; }
.menu__list li:nth-child(4) a { transition-delay: .09s; } .menu__list li:nth-child(5) a { transition-delay: .12s; }
.menu__list li:nth-child(6) a { transition-delay: .15s; } .menu__list li:nth-child(7) a { transition-delay: .18s; }
.menu__list li:nth-child(8) a { transition-delay: .21s; }
.menu__list a:hover, .menu__list a[aria-current="page"] { color: var(--on-slate-soft); }
.menu__card { background: var(--slate-2); border-radius: var(--r-lg); padding: 1.5rem; }
.menu__card h2 { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--on-slate-soft); margin-bottom: .35rem; }
.menu__card p { margin-bottom: 1rem; }
@media (min-width: 900px) { .menu__grid { grid-template-columns: 1.6fr 1fr; align-items: end; } }

/* ---------- Home hero ---------- */
.hero { padding: 12px; background: var(--white); }
.hero__frame {
  position: relative; height: calc(100vh - 24px); height: calc(100svh - 24px); min-height: 560px;
  border-radius: var(--r-xl); overflow: hidden; background: var(--slate); color: var(--white);
  transform-origin: 50% 0; will-change: transform;
}
.hero__frame video, .hero__frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(41,49,51,.5) 0%, rgba(41,49,51,0) 30%, rgba(41,49,51,.15) 55%, rgba(20,24,25,.86) 100%); }
.hero__content { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: clamp(1.25rem, 4vw, 3.25rem); display: grid; gap: 1.75rem; align-items: end; }
@media (min-width: 1000px) { .hero__content { grid-template-columns: 1fr auto; } }
.hero__title { font-size: clamp(3.2rem, 7.4vw, 6.6rem); }
.hero__title .accent { display: block; font-size: clamp(1.2rem, 2vw, 1.6rem); margin-bottom: .6rem; line-height: 1.2; }
.hero__copy p { font-size: var(--lead); max-width: 38ch; margin: 1.25rem 0 1.5rem; }
.hero .reveal-line { display: block; overflow: hidden; }
.hero .reveal-line > span { display: block; transform: translateY(110%); transition: transform 1s var(--ease); }
.hero .reveal-line:nth-child(3) > span { transition-delay: .1s; }
.is-loaded .hero .reveal-line > span { transform: none; }
.hero__fade { opacity: 0; transform: translateY(12px); transition: opacity .8s .5s, transform .8s .5s var(--ease); }
.is-loaded .hero__fade { opacity: 1; transform: none; }

.next {
  background: rgba(255,255,255,.12); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: var(--r-lg); padding: 1.1rem 1.25rem; min-width: 260px; max-width: 320px;
}
.next__label { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.75); display: flex; align-items: center; gap: .5rem; }
.next__dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.next__when { font-family: "League Gothic", sans-serif; text-transform: uppercase; font-size: 2.1rem; line-height: 1; margin: .5rem 0 .15rem; letter-spacing: .02em; }
.next__what { font-size: .9rem; margin: 0; color: rgba(255,255,255,.85); }
.hero__pause {
  position: absolute; z-index: 3; right: clamp(1rem, 2.5vw, 1.75rem); top: 96px;
  width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff; cursor: pointer;
  display: grid; place-items: center; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.hero__pause:hover { background: rgba(255,255,255,.3); }
.hero__pause svg { width: 12px; height: 12px; fill: currentColor; }

/* ---------- Page hero (inner) ---------- */
.phero { padding: 12px; }
.phero__frame { position: relative; min-height: 68vh; min-height: 68svh; border-radius: var(--r-xl); overflow: hidden; background: var(--slate); color: var(--white); display: flex; align-items: flex-end; }
.phero__frame > img { position: absolute; inset: 0; width: 100%; height: 118%; object-fit: cover; will-change: transform; }
.phero__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(41,49,51,.55), rgba(41,49,51,.1) 35%, rgba(20,24,25,.85)); }
.phero__in { position: relative; z-index: 2; width: 100%; padding: calc(110px + 1rem) clamp(1.25rem, 4vw, 3.25rem) clamp(1.5rem, 4vw, 3rem); display: grid; gap: 1.25rem; }
.phero__in .lead { margin: 0; }
.phero--plain .phero__frame { min-height: 46vh; }
.phero--plain .phero__frame::after { display: none; }
.phero .h1 .reveal-line { display: block; overflow: hidden; }
.phero .h1 .reveal-line > span { display: block; transform: translateY(110%); transition: transform 1s var(--ease); }
.is-loaded .phero .h1 .reveal-line > span { transform: none; }

/* ---------- Bento (service info) ---------- */
.bento { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
.tile { position: relative; border-radius: var(--r-lg); padding: clamp(1.25rem, 2.4vw, 2rem); overflow: hidden; background: var(--mist); min-height: 210px; display: flex; flex-direction: column; justify-content: space-between; gap: 1.25rem; }
.tile--slate { background: var(--slate); color: var(--white); }
.tile--black { background: var(--black); color: var(--white); }
.tile--photo { color: var(--white); background: var(--slate); }
.tile--photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tile--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,24,25,.05), rgba(20,24,25,.78)); }
.tile--photo > :not(img) { position: relative; z-index: 2; }
a.tile { text-decoration: none; }
a.tile:hover > img { transform: scale(1.05); }
.tile__label { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.tile__big { font-family: "League Gothic", sans-serif; text-transform: uppercase; font-size: clamp(2.6rem, 4.2vw, 3.8rem); line-height: .95; letter-spacing: .02em; }
.tile__go { position: absolute; z-index: 3; top: 1rem; right: 1rem; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.18); transition: transform .35s var(--ease), background-color .3s; }
.tile:not(.tile--photo):not(.tile--slate) .tile__go { background: var(--white); }
.tile__go svg { width: 16px; height: 16px; }
a.tile:hover .tile__go { transform: rotate(-45deg); }
.times-list { list-style: none; display: grid; gap: .6rem; }
.times-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; background: var(--slate-2); border-radius: var(--r-md); padding: .8rem 1rem; }
.times-list span:last-child { font-family: "League Gothic", sans-serif; font-size: 1.9rem; line-height: 1; letter-spacing: .03em; }
@media (min-width: 760px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(220px, auto); }
  .bento .b-sun { grid-column: span 2; grid-row: span 2; }
  .bento .b-wide { grid-column: span 2; }
}

/* ---------- Statement with inline photos ---------- */
.statement { font-family: "League Gothic", sans-serif; text-transform: uppercase; font-size: clamp(2.2rem, 5vw, 4.6rem); line-height: 1.08; letter-spacing: .015em; max-width: 20ch; margin: 0; }
.statement .chip { display: inline-block; vertical-align: middle; width: 1.9em; height: .95em; border-radius: 999px; overflow: hidden; margin: 0 .12em; transform: translateY(-.06em); }
.statement .chip img { width: 100%; height: 100%; object-fit: cover; }
.statement .w { opacity: .16; transition: opacity .35s; }
.statement .w.on { opacity: 1; }
.statement-foot { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; }

/* ---------- Feature (image + floating badge) ---------- */
.feature-img { position: relative; }
.feature-img .frame { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 4.6; }
.feature-img .frame img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; left: clamp(-1rem, -2vw, -.5rem); bottom: 1.5rem; background: var(--white); color: var(--slate); border-radius: var(--r-lg); padding: 1rem 1.25rem; display: flex; gap: .9rem; align-items: center; max-width: 280px; }
.badge strong { font-family: "League Gothic", sans-serif; font-weight: 400; font-size: 2.6rem; line-height: 1; }
.badge span { font-size: .85rem; line-height: 1.35; }
.on-mist .badge { background: var(--white); }
@media (max-width: 899px) { .badge { left: .75rem; } }
.mini-cards { display: grid; gap: .75rem; margin: 1.75rem 0; }
.mini { background: var(--mist); border-radius: var(--r-md); padding: 1rem 1.1rem; display: grid; grid-template-columns: 44px 1fr; gap: .9rem; align-items: center; }
.on-mist .mini { background: var(--white); }
.mini__ico { width: 44px; height: 44px; border-radius: 12px; background: var(--slate); color: var(--white); display: grid; place-items: center; }
.mini__ico svg { width: 20px; height: 20px; }
.mini h3 { font-size: .95rem; font-weight: 700; line-height: 1.3; margin: 0; }
.mini p { margin: 0; font-size: .9rem; color: var(--ink-soft); }

/* ---------- Photo marquee ---------- */
.marquee { overflow: hidden; display: grid; gap: var(--gap); padding-block: .5rem; }
.marquee__row { display: flex; gap: var(--gap); width: max-content; animation: slide 60s linear infinite; }
.marquee__row--rev { animation-direction: reverse; animation-duration: 70s; }
.marquee:hover .marquee__row { animation-play-state: paused; }
.marquee figure { margin: 0; flex: 0 0 auto; width: clamp(220px, 26vw, 360px); aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; }
.marquee figure:nth-child(even) { aspect-ratio: 1; width: clamp(170px, 20vw, 270px); }
.marquee img { width: 100%; height: 100%; object-fit: cover; }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee-toggle { margin-top: 1.25rem; }

/* ---------- Mission cards ---------- */
.duo { display: grid; gap: var(--gap); }
.duo__card { border-radius: var(--r-xl); padding: clamp(1.75rem, 4vw, 3rem); background: var(--slate-2); display: grid; gap: 1.25rem; align-content: start; min-height: 300px; }
.duo__card .h2 { font-size: clamp(2.2rem, 3.4vw, 3rem); }
.duo__card p { font-size: var(--lead); line-height: 1.6; margin: 0; }
@media (min-width: 900px) { .duo { grid-template-columns: 1fr 1fr; } }

/* ---------- Kids ---------- */
.ages-row { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.5rem 0; }
.age-chip { background: var(--mist); border-radius: 12px; padding: .7rem 1rem; }
.age-chip strong { display: block; font-family: "League Gothic", sans-serif; font-weight: 400; font-size: 1.7rem; line-height: 1; letter-spacing: .03em; }
.age-chip span { font-size: .8rem; color: var(--ink-soft); }

/* ---------- Story cards ---------- */
.cards { display: grid; gap: var(--gap); }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
.card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; height: 100%; }
.on-white .card, .card--mist { background: var(--mist); }
.card__img { aspect-ratio: 4 / 3; overflow: hidden; margin: .6rem .6rem 0; border-radius: calc(var(--r-lg) - 6px); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card:hover .card__img img { transform: scale(1.06); }
.card__body { padding: 1.25rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .75rem; flex: 1; }
.card__title { font-family: "League Gothic", sans-serif; text-transform: uppercase; font-size: clamp(1.7rem, 2.2vw, 2.1rem); line-height: 1.02; letter-spacing: .02em; }
.card__meta { font-size: .82rem; color: var(--ink-soft); font-weight: 500; }
.card__more { margin-top: auto; font-weight: 600; font-size: .9rem; display: inline-flex; gap: .5rem; align-items: center; }
.card__more svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.card:hover .card__more svg { transform: translateX(4px); }

/* ---------- Visit panel ---------- */
.visit { display: grid; border-radius: var(--r-xl); overflow: hidden; background: var(--slate); color: var(--white); }
.visit__copy { padding: clamp(2rem, 5vw, 4rem); display: grid; gap: 1.25rem; align-content: center; }
.visit__copy address { font-style: normal; font-size: var(--lead); line-height: 1.5; }
.visit__img { min-height: 320px; position: relative; overflow: hidden; }
.visit__img img { position: absolute; inset: 0; width: 100%; height: 120%; object-fit: cover; will-change: transform; }
@media (min-width: 900px) { .visit { grid-template-columns: 1fr 1.1fr; } }

/* ---------- Reach / Raise / Release ---------- */
.rrr { background: var(--slate); color: var(--white); overflow: hidden; padding-block: clamp(3rem, 6vw, 5rem); }
.ticker { display: flex; gap: 2.2rem; white-space: nowrap; width: max-content; will-change: transform;
  font-family: "League Gothic", sans-serif; text-transform: uppercase; letter-spacing: .32em; font-size: clamp(1.05rem, 1.7vw, 1.5rem); color: rgba(255,255,255,.5); }
.ticker span { display: inline-flex; align-items: center; gap: 2.2rem; }
.ticker span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.45); }
.rrr__verse { display: flex; justify-content: center; margin: clamp(2.5rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3rem); }
.rrr__verse p { margin: 0; max-width: none; background: var(--white); color: var(--slate); border-radius: 8px; padding: .5rem 1.1rem;
  font-family: "League Gothic", sans-serif; text-transform: uppercase; letter-spacing: .22em; font-size: clamp(1.15rem, 2.2vw, 1.9rem); line-height: 1.25; text-align: center; }
.rrr__words { display: grid; gap: clamp(2rem, 4vw, 3rem); margin-bottom: clamp(2.5rem, 5vw, 4rem); text-align: center; }
@media (min-width: 900px) { .rrr__words { grid-template-columns: repeat(3, 1fr); } }
.rrr__word { position: relative; }
.rrr__big { font-family: "League Gothic", sans-serif; text-transform: uppercase; font-size: clamp(5rem, 11vw, 10rem); line-height: .85; letter-spacing: .01em; display: block; }
.rrr__sub { display: block; font-style: italic; font-weight: 300; font-size: clamp(1.4rem, 2.4vw, 2.1rem); margin-top: -.15em; position: relative; color: var(--on-slate-soft); }
.rrr__word p { margin: 1rem auto 0; max-width: 30ch; font-size: .95rem; color: var(--on-slate-soft); }
.js .rrr__word { opacity: 0; transform: translateY(30px) scale(.97); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .rrr__word.is-in { opacity: 1; transform: none; }
.js .rrr__word:nth-child(2) { transition-delay: .12s; } .js .rrr__word:nth-child(3) { transition-delay: .24s; }

/* ---------- Stacking cards (journey) ---------- */
.stack-cards { display: grid; gap: 1.25rem; }
.scard {
  position: sticky; top: calc(100px + var(--i, 0) * 22px);
  display: grid; gap: clamp(1.25rem, 3vw, 2.5rem); align-items: center;
  border-radius: var(--r-xl); padding: clamp(1.5rem, 3.5vw, 3rem); min-height: 62vh;
  background: var(--slate-2); color: var(--white); transform-origin: 50% 0; will-change: transform;
}
.scard:nth-child(1) { background: var(--slate); }
.scard:nth-child(2) { background: var(--black); }
.scard:nth-child(3) { background: var(--slate-3); }
.scard::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #000; opacity: var(--dim, 0); pointer-events: none; }
.scard > * { position: relative; z-index: 1; }
.scard .scard__year { font-family: "League Gothic", sans-serif; font-size: clamp(5rem, 12vw, 9.5rem); line-height: .85; letter-spacing: .01em; }
.scard p { font-size: var(--lead); line-height: 1.6; margin: 0; }
.scard .scard__year { font-size: clamp(5rem, 12vw, 9.5rem); line-height: .85; margin-bottom: 1rem; }
.scard .h3 { margin-bottom: 1rem; }
.scard__img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.scard__img img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .scard { grid-template-columns: 1fr 1fr; } }

/* ---------- Generic grids of cards ---------- */
.grid-cards { display: grid; gap: var(--gap); }
@media (min-width: 700px) { .grid-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .grid-cards--3 { grid-template-columns: repeat(3, 1fr); } }
.gcard { background: var(--mist); border-radius: var(--r-lg); padding: 1.5rem; display: grid; gap: .6rem; align-content: start; }
.on-mist .gcard { background: var(--white); }
.on-slate .gcard { background: var(--slate-2); }
.gcard__num { width: 42px; height: 42px; border-radius: 12px; background: var(--slate); color: var(--white); display: grid; place-items: center; font-family: "League Gothic", sans-serif; font-size: 1.5rem; }
.on-slate .gcard__num { background: var(--white); color: var(--slate); }
.gcard h3 { font-weight: 700; font-size: 1.05rem; line-height: 1.3; }
.gcard p { margin: 0; font-size: .95rem; }
.gcard cite { font-style: normal; font-size: .8rem; font-weight: 600; color: var(--ink-soft); }
.on-slate .gcard cite { color: var(--on-slate-soft); }

.jesus-grid { display: grid; gap: var(--gap); }
.jcard { border-radius: var(--r-lg); padding: 1.75rem; background: var(--slate); color: var(--white); min-height: 180px; display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; }
.jcard:nth-child(even) { background: var(--black); }
.jcard strong { font-family: "League Gothic", sans-serif; font-weight: 400; text-transform: uppercase; font-size: clamp(1.9rem, 2.6vw, 2.4rem); line-height: 1; letter-spacing: .02em; }
.jcard span { color: var(--on-slate-soft); font-size: .95rem; }
@media (min-width: 760px) { .jesus-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .jesus-grid { grid-template-columns: repeat(6, 1fr); } .jcard { grid-column: span 2; } .jcard:nth-child(4), .jcard:nth-child(5) { grid-column: span 3; } }

/* Values (Nxtgen) */
.values { display: grid; gap: var(--gap); }
@media (min-width: 900px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value { border-radius: var(--r-lg); padding: 1.75rem; background: var(--slate-2); }
.value .h2 { font-size: clamp(2.2rem, 3vw, 2.8rem); margin-bottom: .75rem; }
.value p { margin: 0; color: var(--on-slate-soft); }
.age-cards { display: grid; gap: var(--gap); margin-bottom: var(--gap); }
@media (min-width: 900px) { .age-cards { grid-template-columns: 1fr 1fr; } }
.age-card { border-radius: var(--r-xl); padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--white); color: var(--slate); }
.age-card__band { font-family: "League Gothic", sans-serif; font-size: clamp(3.4rem, 6vw, 5rem); line-height: .9; }
.age-card .h3 { margin: .5rem 0 1rem; }
.quote { border-radius: var(--r-xl); padding: clamp(1.75rem, 4vw, 3rem); background: var(--black); margin-top: var(--gap); }
.quote p { font-family: "League Gothic", sans-serif; text-transform: uppercase; font-size: clamp(1.8rem, 3.2vw, 2.8rem); line-height: 1.08; letter-spacing: .02em; max-width: 30ch; margin: 0 0 1rem; }
.quote cite { font-style: normal; color: var(--on-slate-soft); font-weight: 500; }

/* Pastors */
.pastor-img { position: relative; }
.pastor-img .frame { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 4.8; }
.pastor-img .frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.facts { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.fact { background: var(--mist); border-radius: 12px; padding: .8rem 1rem; }
.fact strong { display: block; font-family: "League Gothic", sans-serif; font-weight: 400; font-size: 1.9rem; line-height: 1; }
.fact span { font-size: .8rem; color: var(--ink-soft); }
.logos { display: flex; flex-wrap: wrap; gap: var(--gap); list-style: none; }
.logos a { display: grid; place-items: center; width: 210px; height: 130px; border-radius: var(--r-lg); background: var(--slate-2); padding: 1.25rem; transition: background-color .25s; }
.logos a:hover { background: var(--slate-3); }
.logos img { max-height: 76px; width: auto; filter: brightness(0) invert(1); }

/* Story page */
.story { max-width: 44rem; margin-inline: auto; }
.story p { font-size: 1.08rem; line-height: 1.85; }
.pull { font-family: "League Gothic", sans-serif; text-transform: uppercase; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.08; letter-spacing: .02em; margin: 2.25rem 0; padding: 1.5rem 1.75rem; border-radius: var(--r-lg); background: var(--mist); max-width: none; }
.story figure { margin: 2.25rem 0; }
.story figure img { border-radius: var(--r-lg); }
.story figcaption { font-size: .85rem; color: var(--ink-soft); margin-top: .7rem; }

/* Media */
.yt { display: grid; border-radius: var(--r-xl); overflow: hidden; background: var(--slate); color: var(--white); }
.yt__copy { padding: clamp(1.75rem, 4vw, 3.25rem); display: grid; gap: 1.25rem; align-content: center; }
.yt__img { position: relative; min-height: 300px; }
.yt__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.yt__play { position: absolute; z-index: 2; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; background: var(--white); color: var(--slate); display: grid; place-items: center; transition: transform .35s var(--ease); }
.yt__play svg { width: 24px; height: 24px; margin-left: 4px; }
.yt:hover .yt__play { transform: scale(1.08); }
@media (min-width: 900px) { .yt { grid-template-columns: 1fr 1.2fr; } }
.clips { display: grid; gap: var(--gap); }
@media (min-width: 760px) { .clips { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .clips { grid-template-columns: 1.1fr 1fr 1fr; align-items: end; } }
.clip { margin: 0; background: var(--slate-2); border-radius: var(--r-xl); padding: .6rem .6rem 1.1rem; }
.clip video { width: 100%; aspect-ratio: 9 / 14; object-fit: cover; border-radius: calc(var(--r-xl) - 8px); background: #111; }
.clip figcaption { padding: 1rem .75rem 0; }
.clip strong { display: block; font-weight: 700; line-height: 1.35; }
.clip span { font-size: .85rem; color: var(--on-slate-soft); }
.masonry { columns: 2 220px; column-gap: var(--gap); }
.masonry figure { margin: 0 0 var(--gap); break-inside: avoid; border-radius: var(--r-lg); overflow: hidden; }
.masonry img { width: 100%; transition: transform .9s var(--ease); }
.masonry figure:hover img { transform: scale(1.04); }
@media (min-width: 1000px) { .masonry { columns: 3; } }

/* Give */
.ways { display: grid; gap: var(--gap); }
@media (min-width: 900px) { .ways { grid-template-columns: 1fr 1fr; } }
.way { border-radius: var(--r-xl); padding: clamp(1.75rem, 3.5vw, 2.75rem); background: var(--mist); display: grid; gap: 1.25rem; align-content: start; }
.way--slate { background: var(--slate); color: var(--white); }
.qr { display: flex; gap: 1rem; align-items: center; background: var(--white); border-radius: var(--r-md); padding: .75rem; max-width: 360px; }
.qr img { width: 96px; height: 96px; }
.qr p { margin: 0; font-size: .85rem; color: var(--ink-soft); }
.bank { display: grid; gap: .6rem; margin: 0; }
.bank > div { display: flex; justify-content: space-between; align-items: center; gap: 1rem; background: var(--slate-2); border-radius: var(--r-md); padding: .85rem 1rem; }
.bank dt { font-size: .8rem; color: var(--on-slate-soft); font-weight: 500; }
.bank dd { margin: 0; font-weight: 600; text-align: right; display: flex; align-items: center; gap: .6rem; }
.bank dd strong { font-family: "League Gothic", sans-serif; font-weight: 400; font-size: 1.8rem; letter-spacing: .06em; line-height: 1; }
.copy { border: 0; background: rgba(255,255,255,.12); color: var(--white); border-radius: 8px; padding: .35rem .6rem; font-size: .75rem; font-weight: 600; cursor: pointer; min-height: 32px; }
.copy:hover { background: rgba(255,255,255,.24); }
.note { font-size: .85rem; border-radius: var(--r-md); padding: .9rem 1rem; background: rgba(255,255,255,.08); color: var(--on-slate-soft); margin: 0; }

/* Forms */
.forms { display: grid; gap: var(--gap); }
@media (min-width: 1000px) { .forms { grid-template-columns: 1fr 1fr; } }
.form-card { border-radius: var(--r-xl); padding: clamp(1.5rem, 3.5vw, 2.75rem); background: var(--white); }
.form-card--slate { background: var(--slate); color: var(--white); }
.form-card .h2 { margin-bottom: .75rem; }
.form-card > p { margin-bottom: 1.75rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .4rem; }
.field .opt { font-weight: 400; color: var(--ink-soft); }
.form-card--slate .field .opt { color: var(--on-slate-soft); }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: .85rem 1rem; border-radius: 12px; border: 1.5px solid transparent;
  background: var(--mist); color: var(--slate); transition: border-color .2s, background-color .2s;
}
.form-card--slate .field input, .form-card--slate .field textarea { background: var(--slate-2); color: var(--white); }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: currentColor; background: var(--white); }
.form-card--slate .field input:focus, .form-card--slate .field textarea:focus { border-color: var(--white); background: var(--slate-3); }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.check { display: grid; grid-template-columns: 24px 1fr; gap: .75rem; align-items: start; margin: 1.25rem 0; font-size: .92rem; }
.check input { width: 22px; height: 22px; margin: .1rem 0 0; accent-color: var(--slate); }
.form-card--slate .check input { accent-color: #fff; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 1rem 0 0; font-weight: 600; min-height: 1.6em; }
.form-status.is-error { text-decoration: underline; text-decoration-thickness: 2px; }
.field.has-error input, .field.has-error textarea { border-color: currentColor; border-width: 2px; }
.field-error { display: block; font-size: .82rem; font-weight: 600; margin-top: .35rem; }
.form-note { font-size: .82rem; color: var(--ink-soft); margin-top: 1rem; }
.form-card--slate .form-note { color: var(--on-slate-soft); }

/* Contact tiles */
.contact-tiles { display: grid; gap: var(--gap); }
@media (min-width: 900px) { .contact-tiles { grid-template-columns: repeat(3, 1fr); } }
.ctile { border-radius: var(--r-lg); padding: 1.5rem; background: var(--mist); display: grid; gap: .5rem; text-decoration: none; align-content: start; transition: background-color .25s; }
a.ctile:hover { background: var(--mist-2); }
.ctile__ico { width: 44px; height: 44px; border-radius: 12px; background: var(--slate); color: var(--white); display: grid; place-items: center; margin-bottom: .5rem; }
.ctile__ico svg { width: 20px; height: 20px; }
.ctile span { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.ctile strong { font-weight: 600; font-size: 1.05rem; overflow-wrap: anywhere; }
.ctile address { font-style: normal; font-weight: 600; }

/* Prose */
.prose { max-width: 70ch; margin-inline: auto; background: var(--mist); border-radius: var(--r-xl); padding: clamp(1.5rem, 4vw, 3.5rem); }
.prose h2 { font-family: "League Gothic", sans-serif; text-transform: uppercase; font-size: 1.9rem; letter-spacing: .02em; line-height: 1; margin: 2.25rem 0 .9rem; }
.prose h2:first-of-type { margin-top: 1.5rem; }
.prose ul { padding-left: 1.2rem; margin: 0 0 1em; }
.prose li { margin: .35rem 0; }

/* ---------- Footer ---------- */
.footer { padding: 12px; }
.footer__in { background: var(--slate); color: var(--white); border-radius: var(--r-xl); padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 4vw, 3.25rem) 1.5rem; }
.footer__top { display: grid; gap: 2rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.footer__logo img { width: 240px; height: auto; }
.footer__cta .h2 { font-size: clamp(2rem, 3.4vw, 3rem); margin-bottom: 1rem; }
@media (min-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; align-items: end; } .footer__cta { justify-self: end; text-align: right; } .footer__cta .btn-row { justify-content: flex-end; } }
.footer__cols { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
.footer__col { background: var(--slate-2); border-radius: var(--r-lg); padding: 1.25rem 1.4rem; }
.footer__col h2 { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--on-slate-soft); margin-bottom: .6rem; }
.footer__col ul { list-style: none; display: grid; gap: .3rem; }
.footer__col a { text-decoration: none; overflow-wrap: anywhere; }
.footer__col a:hover { text-decoration: underline; }
.footer__col address { font-style: normal; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; margin-top: 1.5rem; font-size: .82rem; color: var(--on-slate-soft); }
.footer__base p { margin: 0; max-width: none; }
.footer__base a { color: var(--white); }
@media (min-width: 640px) { .footer__cols { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .footer__cols { grid-template-columns: 1.2fr 1fr 1fr 1fr; } }

/* ---------- Motion helpers ---------- */
.js .rise { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .rise.is-in { opacity: 1; transform: none; }
.js .pop img { transform: scale(1.12); transition: transform 1.4s var(--ease); }
.js .pop { clip-path: inset(8% 8% 8% 8% round var(--r-xl)); transition: clip-path 1.2s var(--ease); }
.js .pop.is-in { clip-path: inset(0 0 0 0 round var(--r-xl)); }
.js .pop.is-in img { transform: none; }
.js .stagger > * { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .stagger.is-in > * { opacity: 1; transform: none; }
.js .stagger.is-in > *:nth-child(2) { transition-delay: .07s; } .js .stagger.is-in > *:nth-child(3) { transition-delay: .14s; }
.js .stagger.is-in > *:nth-child(4) { transition-delay: .21s; } .js .stagger.is-in > *:nth-child(5) { transition-delay: .28s; }
.js .stagger.is-in > *:nth-child(6) { transition-delay: .35s; } .js .stagger.is-in > *:nth-child(n+7) { transition-delay: .42s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; scroll-behavior: auto !important; }
  .js .rise, .js .stagger > *, .js .rrr__word { opacity: 1; transform: none; }
  .js .pop { clip-path: none; } .js .pop img { transform: none; }
  .hero .reveal-line > span, .phero .h1 .reveal-line > span { transform: none; }
  .hero__fade, .menu__list a { opacity: 1; transform: none; }
  .statement .w { opacity: 1; }
  .scard { position: relative; top: auto; }
}
.marquee.is-paused .marquee__row { animation-play-state: paused; }
.bento-note { margin-top: 1rem; }
.center { text-align: center; }
.tile p { margin: 0; }
.tile .btn { align-self: flex-start; }
.tag { justify-self: start; align-self: flex-start; }
/* hero variant with copy on the right (keeps the photo's wall sign clear) */
.phero--right .phero__in { justify-items: end; text-align: right; }
.phero--right .phero__in .lead { margin-left: auto; }
.phero--right .phero__frame::after { background: linear-gradient(270deg, rgba(20,24,25,.88) 0%, rgba(20,24,25,.55) 38%, rgba(20,24,25,0) 62%), linear-gradient(180deg, rgba(41,49,51,.45), rgba(41,49,51,0) 30%); }
.phero--right .btn-row { justify-content: flex-end; }
@media (max-width: 760px) { .phero--right .phero__in { justify-items: start; text-align: left; } .phero--right .btn-row { justify-content: flex-start; } .phero--right .phero__frame::after { background: linear-gradient(180deg, rgba(41,49,51,.5), rgba(20,24,25,.88) 75%); } }
.yt { text-decoration: none; }
.way:not(.way--slate) .tag { background: var(--white); }
.ctile .ctile__ico { color: var(--white); font-size: inherit; letter-spacing: 0; text-transform: none; }

/* background videos (page heroes, Our team) */
.phero__frame > video { position: absolute; inset: 0; width: 100%; height: 118%; object-fit: cover; will-change: transform; }
.frame--video { position: relative; }
.frame--video video { width: 100%; height: 100%; object-fit: cover; }
.vpause {
  position: absolute; z-index: 3; right: 1rem; top: 1rem;
  width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255,255,255,.18); color: #fff; cursor: pointer;
  display: grid; place-items: center; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background-color .2s;
}
.vpause:hover { background: rgba(255,255,255,.32); }
.vpause svg { width: 12px; height: 12px; fill: currentColor; }
.phero .vpause, .hero .vpause { top: 96px; right: clamp(1rem, 2.5vw, 1.75rem); }

/* quiet b-roll panels */
.vpanel { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 21 / 9; margin-bottom: var(--gap); background: var(--slate-2); }
.vpanel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .vpanel { aspect-ratio: 4 / 3; } }
.mvid { position: relative; background: var(--slate); }
.mvid video { width: 100%; height: auto; }
.vpanel .vpause, .mvid .vpause { top: .75rem; right: .75rem; width: 34px; height: 34px; }
.vpanel .vpause svg, .mvid .vpause svg { width: 10px; height: 10px; }
