/* Hope City Church — site styles */
:root {
  --bg: #0f0f0f;
  --bg-2: #161616;
  --ink: #f2f1ea;
  --ink-dim: rgba(242, 241, 234, 0.72);
  --line: rgba(242, 241, 234, 0.18);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(20px, 4vw, 56px);
  --max: 1440px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: clamp(16px, 1.15vw, 18.7px);
  line-height: 1.45;
  letter-spacing: -0.02em;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; letter-spacing: -0.04em; line-height: 1.02; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 200; background: var(--ink); color: var(--bg); padding: 8px 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 clamp(28px, 3vw, 44px);
  font-size: 12.4px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  text-decoration: none; border: 2px solid var(--ink);
  transition: background .25s var(--ease), color .25s var(--ease), opacity .25s;
  cursor: pointer; font-family: var(--font);
}
.btn--solid { background: var(--ink); color: #0f0f0f; }
.btn--solid:hover { background: transparent; color: var(--ink); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #0f0f0f; }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: absolute; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter);
}
.site-header.is-solid { position: relative; background: var(--bg); }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 58px; width: auto; }
.menu-btn {
  width: 44px; height: 44px; background: none; border: 0; padding: 0; cursor: pointer;
  display: grid; place-content: center; gap: 9px; color: var(--ink); position: relative; z-index: 120;
}
.menu-btn span { display: block; width: 30px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), opacity .2s; }
body.menu-open .menu-btn span:nth-of-type(1) { transform: translateY(5.25px) rotate(45deg); }
body.menu-open .menu-btn span:nth-of-type(2) { transform: translateY(-5.25px) rotate(-45deg); }

/* ---------- Menu overlay ---------- */
.menu {
  position: fixed; inset: 0; z-index: 110; background: var(--bg);
  display: flex; flex-direction: column; justify-content: safe center;
  padding: 110px var(--gutter) 48px; overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
}
body.menu-open { overflow: hidden; }
body.menu-open .menu { opacity: 1; visibility: visible; }
.menu__brand { position: absolute; top: 22px; left: var(--gutter); }
.menu__brand img { height: 58px; }
.menu__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 6vw, 120px); max-width: 1100px; margin: 0 auto; width: 100%; }
.menu a.menu__link {
  display: block; text-decoration: none; font-size: clamp(28px, 3.6vw, 52px);
  letter-spacing: -0.04em; line-height: 1.18; padding: 2px 0; opacity: .92;
  transform: translateY(12px); transition: opacity .2s, transform .5s var(--ease);
}
body.menu-open .menu a.menu__link { transform: none; }
.menu a.menu__link:hover { opacity: .55; }
.menu__foot { max-width: 1100px; margin: 48px auto 0; width: 100%; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.menu__foot small { color: var(--ink-dim); font-size: 14px; margin-left: auto; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,.15) 50%, rgba(0,0,0,.72) 100%); }
.hero__inner { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(40px, 6vw, 72px); }
.hero__row { display: grid; grid-template-columns: 2fr 1fr; align-items: end; gap: 32px; }
.hero h1 { font-size: clamp(52px, 7.4vw, 106px); line-height: .98; }
.hero__cta { justify-self: center; }
.hero__cta .btn { min-width: 220px; min-height: 58px; }
.hero__meta { display: flex; gap: clamp(28px, 6vw, 88px); margin-top: clamp(28px, 4vw, 48px); font-size: 14.7px; line-height: 1.35; }
.hero__meta b { font-weight: 700; }
.hero__meta a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Latest message ---------- */
.section { padding: clamp(56px, 6.5vw, 96px) 0; }
.latest { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.latest h2 { font-size: clamp(40px, 4.5vw, 64px); margin-bottom: 18px; }
.latest p { color: var(--ink); max-width: 34em; }
.player { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.player img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.62); transition: transform 1.2s var(--ease); }
.player:hover img { transform: scale(1.02); }
.player__ui { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(16px, 2vw, 26px); }
.player__tag { font-size: 12.4px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.player__center { display: flex; align-items: center; gap: 18px; }
.play {
  flex: none; width: 76px; height: 76px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--ink); color: #0f0f0f; display: grid; place-items: center; transition: transform .25s var(--ease);
}
.play:hover { transform: scale(1.06); }
.play svg { width: 26px; height: 26px; }
.play .i-pause { display: none; }
.player.is-playing .play .i-play { display: none; }
.player.is-playing .play .i-pause { display: block; }
.player__title { font-size: clamp(22px, 2.2vw, 32px); letter-spacing: -0.04em; line-height: 1.05; }
.player__sub { font-size: 14px; color: var(--ink-dim); margin-top: 4px; }
.player__bar { display: flex; align-items: center; gap: 12px; font-size: 12.5px; font-variant-numeric: tabular-nums; color: var(--ink-dim); }
.player__track { flex: 1; height: 3px; background: rgba(242,241,234,.25); position: relative; cursor: pointer; }
.player__fill { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--ink); }

/* ---------- Feature grid ---------- */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 5vw, 72px) clamp(24px, 3vw, 40px); }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 1.6vw, 24px); align-items: stretch; }
.feature__text { display: flex; flex-direction: column; }
.feature h3 { font-size: clamp(28px, 2.4vw, 34px); font-weight: 700; letter-spacing: -0.04em; margin-bottom: 14px; }
.feature p { font-size: clamp(15px, 1.1vw, 17px); flex: 1; }
.feature .btn { align-self: flex-start; min-width: 160px; margin-top: 16px; }
.feature__img { aspect-ratio: 4 / 5; overflow: hidden; }
.feature__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.feature:hover .feature__img img { transform: scale(1.04); }
.gray img { filter: grayscale(1) contrast(1.05); }

/* ---------- Banner ---------- */
.banner { position: relative; min-height: min(82vh, 760px); display: flex; align-items: center; overflow: hidden; }
.banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.35) 55%, rgba(0,0,0,.15) 100%); }
.banner .wrap { position: relative; z-index: 2; }
.banner h2 { font-size: clamp(52px, 6.4vw, 92px); margin-bottom: 24px; }
.banner p { font-size: clamp(19px, 1.7vw, 25.5px); line-height: 1.3; max-width: 22em; margin-bottom: 32px; }

/* ---------- Connect / footer ---------- */
.connect { padding: clamp(52px, 5.5vw, 80px) 0 clamp(32px, 4vw, 52px); }
.connect__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(32px, 6vw, 120px); }
.connect h4 { font-size: clamp(28px, 2.4vw, 34px); font-weight: 700; margin-bottom: 20px; }
.connect p { max-width: 38em; }
.signup { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.signup input {
  flex: 1 1 260px; max-width: 360px; min-height: 56px; padding: 0 18px; border: 0;
  background: #fff; color: #0f0f0f; font: inherit; font-size: 15px; letter-spacing: 0;
}
.signup input::placeholder { color: #8a8a8a; }
.signup__msg { font-size: 14px; color: var(--ink-dim); margin-top: 10px; min-height: 1.4em; }
.foot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; font-size: 14.7px; align-content: start; }
.foot-cols h5 { margin: 0 0 8px; font-size: 14.7px; font-weight: 700; letter-spacing: -0.02em; }
.foot-cols a { display: block; text-decoration: underline; text-underline-offset: 3px; line-height: 1.5; }
.foot-cols a:hover { opacity: .65; }
.socials { display: flex; justify-content: center; gap: 22px; margin-top: clamp(40px, 5vw, 72px); }
.socials a { width: 22px; height: 22px; opacity: .9; }
.socials a:hover { opacity: .55; }
.socials svg { width: 100%; height: 100%; fill: currentColor; }
.tagline { max-width: none !important; text-align: center; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-dim); margin-top: 22px; }

/* ---------- Inner pages ---------- */
.page-hero { position: relative; min-height: 72vh; display: flex; align-items: flex-end; overflow: hidden; padding-top: 140px; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.4) 0%, rgba(0,0,0,.1) 35%, rgba(0,0,0,.78) 100%); }
.page-hero .wrap { position: relative; z-index: 2; padding-bottom: clamp(40px, 6vw, 72px); }
.page-hero h1 { font-size: clamp(52px, 7vw, 100px); }
.page-hero p { font-size: clamp(18px, 1.6vw, 24px); max-width: 30em; margin-top: 18px; }
.eyebrow { font-size: 12.4px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-dim); margin-bottom: 14px; display: block; }
.split { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 110px); }
.split h2 { font-size: clamp(36px, 4vw, 58px); }
.big-p { font-size: clamp(19px, 1.6vw, 24px); line-height: 1.35; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cards:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); }
.cards:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, 1fr); }
.cards:has(> :nth-child(5)) { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--bg); padding: clamp(24px, 2.6vw, 40px); display: flex; flex-direction: column; gap: 12px; }
.card h3 { font-size: clamp(24px, 2vw, 30px); font-weight: 700; }
.card p { color: var(--ink-dim); font-size: 16px; flex: 1; margin: 0; }
.card .num { display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 700; letter-spacing: 1.5px; color: var(--ink); margin-bottom: 6px; }
.card .num::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.card p a.more { display: inline-block; margin-top: 10px; font-size: 12.4px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--ink); text-underline-offset: 4px; }
.card a.more { font-size: 12.4px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; text-underline-offset: 4px; margin-top: 8px; }

/* Episode list */
.episodes { border-top: 1px solid var(--line); }
.ep { display: grid; grid-template-columns: 56px 1fr auto auto; gap: 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.ep__play { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: background .2s, color .2s; }
.ep__play:hover, .ep.is-playing .ep__play { background: var(--ink); color: #0f0f0f; }
.ep__play svg { width: 16px; height: 16px; }
.ep__play .i-pause { display: none; }
.ep.is-playing .ep__play .i-play { display: none; }
.ep.is-playing .ep__play .i-pause { display: block; }
.ep__title { font-size: clamp(19px, 1.6vw, 24px); letter-spacing: -0.03em; }
.ep__meta, .ep__dur { font-size: 14px; color: var(--ink-dim); font-variant-numeric: tabular-nums; }
.ep__link { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; text-underline-offset: 4px; }
.listen-on { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.info-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.info-list li { display: grid; grid-template-columns: 180px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.info-list b { font-weight: 700; }
.info-list span { color: var(--ink-dim); }

.map { width: 100%; aspect-ratio: 16/10; border: 0; filter: grayscale(1) invert(.92) contrast(.9); }

.form { display: grid; gap: 14px; max-width: 620px; }
.form label { font-size: 13px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--ink-dim); display: grid; gap: 8px; }
.form input, .form textarea, .form select {
  font: inherit; font-size: 16px; letter-spacing: 0; color: var(--ink); background: transparent;
  border: 1px solid var(--line); padding: 14px 16px; border-radius: 0;
}
.form select option { color: #0f0f0f; }
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--ink); }
.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 15px; color: var(--ink); border: 1px solid var(--line); padding: 10px 14px; cursor: pointer; }
.checks input { accent-color: #f2f1ea; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } * { transition: none !important; } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__row, .latest, .connect__grid, .split { grid-template-columns: 1fr; }
  .hero__cta { justify-self: start; }
  .features { grid-template-columns: 1fr; }
  .menu__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .brand img, .menu__brand img { height: 48px; }
  .hero__meta { flex-direction: column; gap: 14px; }
  .feature { grid-template-columns: 1fr; }
  .feature__img { aspect-ratio: 4/3; order: -1; }
  .menu__grid { grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .menu a.menu__link { font-size: clamp(26px, 7.6vw, 32px); padding: 4px 0; }
  .foot-cols { grid-template-columns: 1fr; }
  .ep { grid-template-columns: 48px 1fr; }
  .ep__dur, .ep__link { grid-column: 2; }
  .ep__dur { margin-top: -14px; }
  .info-list li { grid-template-columns: 1fr; gap: 4px; }
  .play { width: 60px; height: 60px; }
}

/* ---------- Beliefs ---------- */
.belief-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.belief-list li { font-size: clamp(19px, 1.6vw, 24px); line-height: 1.35; letter-spacing: -0.03em; padding: 22px 0; border-bottom: 1px solid var(--line); }
.beliefs { border-top: 1px solid var(--line); }
.belief { border-bottom: 1px solid var(--line); }
.belief summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; font-size: clamp(20px, 1.7vw, 26px); letter-spacing: -0.03em; line-height: 1.2;
}
.belief summary::-webkit-details-marker { display: none; }
.belief summary::after { content: "+"; flex: none; font-size: 28px; font-weight: 300; line-height: 1; transition: transform .3s var(--ease); }
.belief[open] summary::after { transform: rotate(45deg); }
.belief summary:hover { opacity: .7; }
.belief__body { padding: 0 48px 24px 0; color: var(--ink-dim); }
.belief__body p { margin: 0 0 .8em; }
.belief__body p:last-child { margin: 0; }

/* ---------- Events (from Linktree) ---------- */
.events { border-top: 1px solid var(--line); }
.ev { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(20px, 5vw, 80px); padding: clamp(28px, 3.5vw, 48px) 0; border-bottom: 1px solid var(--line); }
.ev__head h3 { font-size: clamp(28px, 2.8vw, 42px); }
.ev__head .eyebrow { margin-bottom: 10px; }
.ev__body { font-size: clamp(16px, 1.15vw, 18px); }
.ev__body p { margin: 0 0 .7em; color: var(--ink-dim); }
.ev__body p:last-child { margin-bottom: 0; }
.ev__body a { text-underline-offset: 3px; }
.ev__body ul { margin: .2em 0 0; padding-left: 1.1em; color: var(--ink-dim); }
.ev__body li { margin: .25em 0; }
.ev__note { display: block; font-size: .9em; opacity: .8; }
.ev__body ul.ev__sub { margin: .15em 0 .1em; padding-left: 1.1em; list-style: circle; font-size: .95em; }
.ev__kv { color: var(--ink) !important; margin: 0 0 .25em !important; }
.ev__block + .ev__block, .ev__block + .ev__day, .ev__day + .ev__block { margin-top: 1.1em; }
.ev__day { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line); }
.ev__day:first-child { border-top: 0; padding-top: 0; }
.ev__date { font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding-top: 4px; }
.ev__day h4 { font-size: clamp(19px, 1.5vw, 22px); font-weight: 700; letter-spacing: -0.03em; margin: 0 0 6px; }
@media (max-width: 960px) { .ev { grid-template-columns: 1fr; gap: 16px; } }
@media (max-width: 600px) { .ev__day { grid-template-columns: 1fr; gap: 6px; } }

/* "New Here?" banner photo: keep faces clear of the text */
.banner--seat { background: #0f0f0f; }
.banner--seat > img { left: auto; right: 0; width: 72%; object-position: 30% 40%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 18%, #000 48%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 18%, #000 48%); }
.banner--seat::after { background: linear-gradient(90deg, rgba(15,15,15,.6) 0%, rgba(15,15,15,.25) 40%, rgba(0,0,0,.05) 75%); }
@media (max-width: 760px) {
  .banner--seat { align-items: flex-end; min-height: 760px; }
  .banner--seat > img { width: 100%; height: 62%; top: 0; bottom: auto; object-position: 52% 30%;
    -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%); mask-image: linear-gradient(180deg, #000 62%, transparent 100%); }
  .banner--seat::after { background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(15,15,15,.6) 52%, #0f0f0f 70%); }
  .banner--seat .wrap { padding-bottom: 56px; }
}

/* About hero: keep the greeter clear of the headline and the flag letters dark */
.page-hero--about > img { width: 128%; max-width: none; left: 0; object-position: 0% 40%; }
.page-hero--about::after { background: linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.55) 38%, rgba(0,0,0,.08) 62%), linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.55) 100%); }
@media (max-width: 760px) {
  .page-hero--about { background: #0f0f0f; min-height: 0; padding-top: 0; }
  .page-hero--about > img { width: 100%; height: 66%; bottom: auto; object-position: 66% 45%;
    -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%); mask-image: linear-gradient(180deg, #000 60%, transparent 100%); }
  .page-hero--about::after { background: linear-gradient(180deg, rgba(0,0,0,.4) 0%, rgba(0,0,0,0) 20%); }
  .page-hero--about .wrap { padding-top: 420px; }
}

/* I'm New hero: faces sit above the headline */
.page-hero--new { min-height: max(92vh, 680px); }
.page-hero--new > img { object-position: 50% 12%; }
.page-hero--new::after { background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 18%, rgba(0,0,0,0) 42%, rgba(15,15,15,.88) 70%, #0f0f0f 100%); }
@media (max-width: 760px) {
  .page-hero--new { background: #0f0f0f; min-height: 0; padding-top: 0; }
  .page-hero--new > img { height: 62%; bottom: auto; object-position: 42% 30%;
    -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%); mask-image: linear-gradient(180deg, #000 60%, transparent 100%); }
  .page-hero--new::after { background: linear-gradient(180deg, rgba(0,0,0,.4) 0%, rgba(0,0,0,0) 20%); }
  .page-hero--new .wrap { padding-top: 380px; }
}

/* Events hero: keep the toddler's face clear of the headline */
.page-hero--events > img { width: 150%; max-width: none; left: 0; object-position: 0% 40%; }
.page-hero--events::after { background: linear-gradient(90deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,.55) 36%, rgba(0,0,0,.05) 60%), linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.5) 100%); }
@media (max-width: 760px) {
  .page-hero--events { background: #0f0f0f; min-height: 0; padding-top: 0; }
  .page-hero--events > img { width: 100%; height: 60%; bottom: auto; object-position: 48% 40%;
    -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%); mask-image: linear-gradient(180deg, #000 60%, transparent 100%); }
  .page-hero--events::after { background: linear-gradient(180deg, rgba(0,0,0,.4) 0%, rgba(0,0,0,0) 20%); }
  .page-hero--events .wrap { padding-top: 360px; }
}

/* Sundays hero: church building on the right, text on the darkened left */
.page-hero--church > img { object-position: 62% 62%; }
.page-hero--church::after { background: linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.6) 36%, rgba(0,0,0,.12) 68%), linear-gradient(180deg, rgba(0,0,0,.4) 0%, rgba(0,0,0,0) 25%, rgba(0,0,0,.45) 100%); }
@media (max-width: 760px) {
  .page-hero--church { background: #0f0f0f; min-height: 0; padding-top: 0; }
  .page-hero--church > img { height: 50%; bottom: auto; object-position: 62% 50%;
    -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%); mask-image: linear-gradient(180deg, #000 60%, transparent 100%); }
  .page-hero--church::after { background: linear-gradient(180deg, rgba(0,0,0,.4) 0%, rgba(0,0,0,0) 20%); }
  .page-hero--church .wrap { padding-top: 330px; }
}

/* About: 5 Priorities held up by 3 Pillars */
.section--about { padding-top: clamp(44px, 5vw, 72px); }
.section--rule { border-top: 1px solid var(--line); }
.about-intro { font-size: clamp(20px, 1.8vw, 27px); line-height: 1.35; max-width: 34em; margin: 0 auto clamp(28px, 3vw, 44px); text-align: center; }
.house { position: relative; }
.house__roof { display: block; width: 100%; height: clamp(34px, 5vw, 76px); overflow: visible; }
.house__roof polyline { fill: none; stroke: var(--line); stroke-width: 1px; }
.house__label { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 14px; padding: 16px 0 14px; text-align: center; }
.house__label .eyebrow { margin: 0; color: var(--ink); }
.house__sub { color: var(--ink-dim); font-size: 15px; }
.house__label--mid { padding: 18px 0 16px; }
.house__beam { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.prio { background: var(--bg); padding: clamp(20px, 1.8vw, 30px); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.prio h3 { font-size: clamp(19px, 1.5vw, 24px); font-weight: 700; line-height: 1.15; }
.prio p { color: var(--ink-dim); font-size: 15px; margin: 0; }
.prio .num { font-size: 13px; font-weight: 700; letter-spacing: 1px; color: var(--ink-dim); }
.prio--center { background: var(--bg-2); }
.house__pillars { display: grid; grid-template-columns: repeat(5, 1fr); }
.pillar { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.pillar:nth-child(1) { grid-column: 1; } .pillar:nth-child(2) { grid-column: 3; } .pillar:nth-child(3) { grid-column: 5; }
.pillar__col {
  width: 72%; min-height: clamp(200px, 19vw, 280px); position: relative;
  display: grid; place-items: center; padding: 36px 10px;
  border-left: 1px solid var(--line); border-right: 1px solid var(--line);
  background: repeating-linear-gradient(90deg, transparent 0 18px, rgba(242,241,234,.05) 18px 19px);
}
.pillar__col::before, .pillar__col::after { content: ""; position: absolute; left: -10%; right: -10%; height: 14px; border: 1px solid var(--line); background: var(--bg); }
.pillar__col::before { top: 0; } .pillar__col::after { bottom: 0; }
.pillar__col h3 { font-size: clamp(20px, 1.8vw, 28px); font-weight: 700; line-height: 1.1; background: var(--bg); padding: 10px 6px; }
.pillar p { color: var(--ink-dim); font-size: 15px; margin: 0; max-width: 24ch; }
.house__base { height: 14px; margin-top: 22px; border: 1px solid var(--line); border-bottom: 0; position: relative; }
.house__base::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: -14px; height: 14px; border: 1px solid var(--line); }
.next-step { display: flex; flex-direction: column; align-items: center; text-align: center; margin-top: 14px; }
.next-step__line { width: 1px; height: clamp(36px, 4vw, 56px); background: var(--line); margin-bottom: 18px; }
.next-step .eyebrow { margin-bottom: 8px; }
.next-step p { font-size: clamp(20px, 1.8vw, 26px); margin: 0 0 12px; }
.next-step__link { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; text-decoration: underline; text-underline-offset: 6px; }
.next-step__link:hover { opacity: .65; }
@media (max-width: 1000px) {
  .house__beam { grid-template-columns: 1fr; }
  .prio { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 14px; row-gap: 6px; text-align: left; align-items: start; }
  .prio .num { grid-row: 1 / span 2; padding-top: 5px; }
  .house__pillars { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .pillar:nth-child(n) { grid-column: auto; }
}
@media (max-width: 760px) {
  .about-intro { text-align: left; }
  .house__label { justify-content: flex-start; text-align: left; }
  .house__pillars { gap: 8px; }
  .pillar__col { width: 88%; min-height: 180px; padding: 28px 4px; }
  .pillar__col h3 { font-size: 16px; padding: 8px 2px; }
  .pillar p { font-size: 13.5px; }
}
main > .section:last-child { padding-bottom: clamp(32px, 3.5vw, 52px); }

/* Beliefs: sub-points and creed popovers */
.belief__body h4 { color: var(--ink); font-size: 17px; font-weight: 700; margin: 1.3em 0 .35em; padding-left: 14px; border-left: 2px solid var(--line); }
.belief__body h4 + p { padding-left: 16px; }
.creed { position: relative; display: inline; }
.creed__btn { font: inherit; letter-spacing: inherit; color: var(--ink); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline dotted; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.creed__btn:hover { opacity: .75; }
.creed__pop { display: none; position: absolute; left: 0; top: 100%; z-index: 60; padding-top: 12px; width: min(560px, 80vw); }
.creed:hover .creed__pop, .creed.open .creed__pop { display: block; }
.creed__card { display: block; background: #1a1a1a; border: 1px solid rgba(242,241,234,.28); box-shadow: 0 18px 50px rgba(0,0,0,.6); padding: 22px 24px; max-height: min(60vh, 520px); overflow-y: auto; font-size: 15.5px; line-height: 1.55; letter-spacing: 0; color: var(--ink-dim); }
.creed__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.creed__head b { color: var(--ink); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; }
.creed__close { background: none; border: 0; color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; padding: 0 0 0 12px; }
.creed__p { display: block; margin-bottom: .7em; }
.creed__p:last-child { margin-bottom: 0; }
#creed-nicene { left: auto; right: -40px; }
.nowrap { white-space: nowrap; }
.creed-modal { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(0,0,0,.75); }
.creed-modal.show { display: flex; }
.creed-modal .creed__card { width: 100%; max-width: 560px; max-height: 82vh; }
@media (hover: none), (max-width: 760px) { .creed:hover .creed__pop, .creed.open .creed__pop { display: none; } }

@media (max-width: 1100px) { .cards, .cards:has(> :nth-child(5)) { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .cards:has(> :nth-child(3):last-child) { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .cards, .cards:has(> :nth-child(5)), .cards:has(> :nth-child(2):last-child) { grid-template-columns: 1fr; } }

/* Fine print */
.fine { font-style: italic; font-size: .86em; color: var(--ink-dim); }
.fine--block { display: block; margin-top: 6px; }

/* Menu close label + current page */
.menu-btn__label { display: none; position: absolute; right: 100%; top: 50%; transform: translateY(-50%); margin-right: 4px; font-style: normal; font-size: 12.4px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; white-space: nowrap; }
body.menu-open .menu-btn__label { display: block; }
.menu a.menu__link[aria-current="page"] { opacity: .5; }
.menu a.menu__link[aria-current="page"]::after { content: " (you’re here)"; font-size: .4em; letter-spacing: 1px; text-transform: uppercase; vertical-align: middle; }

/* Map */
.map-wrap { position: relative; }
.map { width: 100%; aspect-ratio: 64/33; background: #1a1a1a; border: 1px solid var(--line); filter: none; z-index: 0; }
.map-go { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; text-decoration: underline; text-underline-offset: 6px; }
.map-go:hover { opacity: .65; }
.hc-pin { position: relative; width: 44px; height: 56px; }
.hc-pin svg { position: absolute; left: 0; bottom: 0; width: 44px; height: 56px; filter: drop-shadow(0 6px 10px rgba(0,0,0,.55)); }
.hc-pin::before { content: ""; position: absolute; left: 50%; bottom: -8px; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: rgba(237,28,36,.55); animation: hcPulse 2s ease-out infinite; }
@keyframes hcPulse { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(3.2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hc-pin::before { animation: none; opacity: .5; } }
.leaflet-tooltip.hc-label { border: 0 !important; border-radius: 0; background: #ED1C24 !important; color: #fff !important; font: 700 11.5px/1 var(--font); letter-spacing: 1.2px; text-transform: uppercase; padding: 7px 10px; white-space: nowrap; box-shadow: 0 6px 16px rgba(0,0,0,.45); }
.leaflet-container { font-family: var(--font); background: #1a1a1a; }
.leaflet-control-attribution { background: rgba(15,15,15,.75) !important; color: #999 !important; font-size: 10px !important; }
.leaflet-control-attribution a { color: #bbb !important; }
.leaflet-bar a { background: #161616 !important; color: var(--ink) !important; border-color: var(--line) !important; }
.leaflet-tooltip.hc-label::before { display: none; }
/* Keep the close (X) button above the open menu, wherever the page is scrolled */
body.menu-open .site-header { z-index: 130; }
body.menu-open .site-header .brand { visibility: hidden; }
body.menu-open .menu-btn { position: fixed; top: 29px; right: var(--gutter); }

/* Map landmarks */
.hc-tag { background: none; border: 0; white-space: nowrap; transform-origin: 0 0; }
.hc-tag > * { pointer-events: none; }
.hc-area { color: rgba(255,255,255,.62); font: 700 13px/1 var(--font); letter-spacing: 3px; text-transform: uppercase; text-shadow: 0 1px 3px #000; translate: -50% -50%; }
.hc-area--sm { font-size: 11px; letter-spacing: 2.5px; color: rgba(255,255,255,.5); }
.hc-poi { display: flex; align-items: center; gap: 6px; color: #e6e6e6; font: 600 11.5px/1 var(--font); text-shadow: 0 1px 3px #000; translate: -6px -50%; }
.hc-dot { display: block; flex: none; width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.18); }
.hc-route { translate: -50% -50%; }
.hc-shield { display: inline-block; min-width: 30px; padding: 4px 5px 5px; background: #f2f2f2; color: #111; font: 800 11px/1 var(--font); text-align: center; border: 1.5px solid #111; border-radius: 3px 3px 12px 12px; box-shadow: 0 2px 6px rgba(0,0,0,.5); }
.hc-edge { position: absolute; z-index: 500; translate: -50% -50%; display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; background: rgba(20,20,20,.92); color: #fff; border: 1px solid rgba(255,255,255,.25); font: 700 11px/1 var(--font); letter-spacing: 1.2px; text-transform: uppercase; cursor: pointer; white-space: nowrap; }
.hc-edge[hidden] { display: none; }
.hc-edge i { font-style: normal; display: inline-block; color: #ED1C24; font-size: 13px; }
.hc-edge small { font-size: 10px; color: #aaa; letter-spacing: .5px; }
.hc-edge:hover { border-color: #fff; }
.hc-ctl a { font-size: 16px; line-height: 30px !important; text-decoration: none; }
.map-wrap.is-full { position: fixed; inset: 0; z-index: 400; background: var(--bg); padding: 0; }
.map-wrap.is-full .map { width: 100%; height: 100%; aspect-ratio: auto; border: 0; }
.map-wrap.is-full .map-go { position: absolute; left: 16px; bottom: 28px; z-index: 600; margin: 0; padding: 12px 16px; background: var(--ink); color: var(--bg); text-decoration: none; }
body.map-full { overflow: hidden; }
.info-list .sub-list { list-style: none; margin: 12px 0 0; padding: 0 0 0 16px; border-left: 1px solid var(--line); border-top: 0; }
.info-list .sub-list li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 5px 0; border: 0; }
.info-list .sub-list b { font-weight: 600; color: var(--ink); }
@media (max-width: 760px) { .info-list .sub-list li { grid-template-columns: 100px 1fr; gap: 10px; } }
@media (max-width: 640px) { .map { aspect-ratio: 16/15; } .leaflet-control-attribution { font-size: 9px !important; max-width: 70%; } }
.map.is-far .hc-poi, .map.is-far .hc-route, .map.is-far .hc-area--sm { display: none; }

/* Guided prayers */
.prayer .belief__body h4:first-child { margin-top: 0; }
.pr-src { font-size: 12.4px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--ink-dim); margin: -.2em 0 1em !important; padding-left: 16px; }
.pr-verse { display: flex; flex-direction: column; gap: 4px; margin: 0 0 1em; padding-left: 16px; border-left: 2px solid var(--line); color: var(--ink); font-size: 1.04em; line-height: 1.5; }
.pr-gap { display: block; height: 10px; }
.pr-refs { list-style: none; margin: 0 0 .8em; padding: 0 0 0 16px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .94em; }
.pr-notes { list-style: none; margin: 1.2em 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); font-size: .88em; display: grid; gap: 4px; }
.pr-notes li > span:not(.vref), .prayer sup { color: var(--ink); font-weight: 700; font-size: .78em; }
.pr-notes li > span:not(.vref) { display: inline-block; min-width: 16px; font-size: .9em; }
.card-latest { display: block; margin-top: 10px; font-size: .92em; font-style: italic; color: var(--ink-dim); }
.card-latest[hidden] { display: none; }
.card-latest + a.more { margin-top: 6px; }
.card p a.more { display: table; }
.hc-road-tag { translate: -10% -50%; }
.hc-road { display: inline-block; white-space: nowrap; color: #bdbdbd; font: 500 11px/1.2 var(--font); letter-spacing: .3px; text-shadow: 0 1px 2px #000, 0 0 4px #000; }
.hc-road em { font-style: normal; color: #9a9a9a; }
@media (max-width: 640px) { .hc-area--sm { display: none !important; } }
@media (max-width: 640px) { .hc-road em { display: block; } }
.card { display: flex; flex-direction: column; }
.card > .card-latest { margin-top: auto; padding-top: 14px; }
.card > a.more { display: inline-block; align-self: flex-start; margin-top: auto; padding-top: 14px; font-size: 12.4px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--ink); text-underline-offset: 4px; }
.card > .card-latest:not([hidden]) + a.more { margin-top: 0; padding-top: 8px; }

/* Scripture references: hover / tap for NLT text */
.vref { cursor: help; color: inherit; text-decoration: none; border-radius: 2px; transition: color .2s, background-color .2s; }
.vref:hover, .vref:focus-visible, .vref.is-open { color: var(--ink); background: rgba(242,241,234,.08); outline: none; }
.vpop { position: fixed; z-index: 320; width: min(420px, calc(100vw - 24px)); background: #1a1a1a; border: 1px solid rgba(242,241,234,.28); box-shadow: 0 18px 50px rgba(0,0,0,.6); padding: 18px 20px 16px; font-size: 15px; line-height: 1.55; color: var(--ink-dim); opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .18s, transform .18s, visibility .18s; max-height: min(55vh, 440px); overflow-y: auto; }
.vpop.show { opacity: 1; visibility: visible; transform: none; }
.vpop__text sup { color: var(--ink); font-weight: 700; font-size: .7em; margin: 0 3px 0 2px; }
.vpop__text sup:first-child { margin-left: 0; }
.vpop__ref { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--ink); font-size: 12.4px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.vpop__ref em { font-style: normal; color: var(--ink-dim); font-weight: 600; }
.nlt-wrap { padding-top: 0 !important; }
.nlt-notice { font-size: 11.5px; line-height: 1.5; color: #8a8a8a; max-width: 760px; margin: 0; }

/* ---------- Kids page: light & airy ---------- */
.kids-light {
  --bg: #faf7f1; --bg-2: #ffffff;
  --ink: #1d1c1a; --ink-dim: rgba(29, 28, 26, 0.68); --line: rgba(29, 28, 26, 0.12);
  background: var(--bg); color: var(--ink);
}
.kids-light .btn--solid { color: #faf7f1; }
.kids-light .btn--solid:hover { color: var(--ink); }
.kids-light .btn--line:hover { color: #faf7f1; }
.kids-light .vref:hover { background: rgba(29,28,26,.06); }
.kids-intro { max-width: 760px; margin: 0 auto clamp(36px, 4vw, 56px); text-align: center; }
.kids-intro h2 { font-size: clamp(38px, 4.4vw, 64px); margin-bottom: 18px; }
.kids-intro .big-p { color: var(--ink-dim); margin: 0; }
.age-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.age-tile { border-radius: 28px; padding: clamp(28px, 3vw, 44px) clamp(22px, 2.4vw, 36px); text-align: center; display: flex; flex-direction: column; align-items: center; transition: transform .35s var(--ease); }
.age-tile:hover { transform: translateY(-4px); }
.age-tile--a { background: #fbe3df; }
.age-tile--b { background: #fdf0cf; }
.age-tile--c { background: #dfecf6; }
.age-tile__icon { width: 64px; height: 64px; margin-bottom: 18px; padding: 12px; border-radius: 50%; background: rgba(255,255,255,.75); fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.age-tile h3 { font-size: clamp(26px, 2.3vw, 34px); font-weight: 700; margin-bottom: 6px; }
.age-tile p { margin: 0; color: var(--ink-dim); font-size: 17px; }
.kids-facts { list-style: none; margin: clamp(22px, 2.4vw, 32px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.kids-facts li { background: var(--bg-2); border-radius: 22px; padding: 20px 24px; display: flex; flex-direction: column; gap: 4px; box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(29,28,26,.04); }
.kids-facts__k { font-size: 12.4px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #ED1C24; }
.kids-facts a { text-underline-offset: 3px; }
.kids-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.kids-step { background: var(--bg-2); border-radius: 24px; padding: clamp(24px, 2.4vw, 34px); display: flex; flex-direction: column; gap: 10px; box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(29,28,26,.04); }
.kids-step__n { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--bg); font-weight: 700; font-size: 16px; letter-spacing: 0; margin-bottom: 6px; }
.kids-step h3 { font-size: clamp(22px, 1.8vw, 27px); font-weight: 700; }
.kids-step p { margin: 0; color: var(--ink-dim); font-size: 16px; }
.kids-light .belief summary { font-weight: 500; }
.faq-ages { list-style: none; margin: 4px 0 0; padding: 0 0 0 16px; border-left: 2px solid #ED1C24; }
.faq-ages li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 4px 0; }
.faq-ages b { color: var(--ink); font-weight: 600; }
.kids-cta h2 { font-size: clamp(36px, 4vw, 58px); }
.kids-cta { background: var(--bg-2); border-radius: 32px; padding: clamp(32px, 4.5vw, 64px); display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(24px, 5vw, 80px); box-shadow: 0 1px 0 var(--line), 0 12px 32px rgba(29,28,26,.05); }
@media (max-width: 1000px) { .kids-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  .age-tiles, .kids-facts, .kids-steps, .kids-cta { grid-template-columns: 1fr; }
  .age-tile { flex-direction: row; text-align: left; gap: 18px; padding: 20px 22px; border-radius: 22px; }
  .age-tile__icon { margin: 0; width: 56px; height: 56px; flex: none; }
  .age-tile h3 { margin: 0; }
  .faq-ages li { grid-template-columns: 100px 1fr; }
}
.card > a.more + a.more { margin-top: 0; padding-top: 8px; }
.cards-note { margin: 14px 0 0; padding: 16px 20px; border: 1px solid var(--line); color: var(--ink-dim); font-size: 15px; text-align: center; }
/* Dynamic prayer / serve form */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 760px) { .form-row { grid-template-columns: 1fr; } }
.form-part { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 8px; animation: partIn .35s var(--ease); }
.form-part[hidden] { display: none; }
.form-part legend { font-size: 13px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--ink-dim); padding: 0; margin-bottom: 8px; }
.req-hint { text-transform: none; letter-spacing: 0; font-weight: 400; opacity: .8; }
@keyframes partIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.form input[type="date"] { color-scheme: dark; min-height: 52px; }
.form input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; filter: invert(1); opacity: .8; }
.form .is-invalid, .form .checks.is-invalid label { border-color: #ED1C24; }
.field-err { color: #ff6b70; font-size: 13px; text-transform: none; letter-spacing: 0; font-weight: 500; margin: 2px 0 0; }
.form [data-submit].is-waiting { opacity: .45; }
.signup__msg.is-ok { color: var(--ink); }

/* I'm New: site guidance tiles */
.guide { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.guide__tile { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; text-decoration: none; color: #f2f1ea; background: #161616; }
.guide__tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity .4s; opacity: .85; }
.guide__tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,15,15,0) 30%, rgba(15,15,15,.55) 60%, rgba(15,15,15,.92) 100%); }
.guide__body { position: absolute; inset: auto 0 0 0; z-index: 1; padding: clamp(22px, 2.4vw, 36px); display: flex; flex-direction: column; gap: 10px; }
.guide__k { font-size: 12.4px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(242,241,234,.75); }
.guide__t { font-size: clamp(30px, 2.8vw, 42px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.guide__d { color: rgba(242,241,234,.8); font-size: 16px; line-height: 1.4; max-width: 34ch; }
.guide__go { margin-top: 6px; font-size: 12.4px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px; }
.guide__go span { display: inline-block; transition: transform .35s var(--ease); }
.guide__tile:hover img { transform: scale(1.05); opacity: 1; }
.guide__tile:hover .guide__go span { transform: translateX(4px); }
@media (max-width: 900px) { .guide { grid-template-columns: 1fr; } .guide__tile { aspect-ratio: 1 / 1; } .guide__tile::after { background: linear-gradient(180deg, rgba(15,15,15,0) 20%, rgba(15,15,15,.7) 52%, rgba(15,15,15,.95) 100%); } }

/* Linktree "front porch" line */
.foot-porch { margin-top: 6px; opacity: .85; }

/* Back to top */
.to-top {
  position: fixed; right: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px); z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(15,15,15,.72); color: #f2f1ea; border: 1px solid rgba(242,241,234,.35);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s, background .25s, color .25s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: #f2f1ea; color: #0f0f0f; }
.to-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.to-top:hover svg { transform: translateY(-2px); }
body.menu-open .to-top { opacity: 0; visibility: hidden; }
@media (max-width: 760px) { .connect .tagline { padding-bottom: 64px; } .to-top { width: 42px; height: 42px; } }
