/* ============================================================
   Nazareth — The Living Faith of the Holy Land
   Direction: Jerusalem limestone. Warm stone, deep ink,
   terracotta clay and olive. Arches as the recurring motif.
   ============================================================ */

:root {
  --bg: #f4f0e8;
  --stone: #ebe4d6;
  --surface: #fffdf9;
  --ink: #17150f;
  --ink-2: #3a362d;
  --muted: #6f685b;
  --line: rgba(23, 21, 15, 0.1);
  --line-strong: rgba(23, 21, 15, 0.18);
  --clay: #b8532c;
  --clay-soft: #e07a4f;
  --olive: #4c5a37;
  --olive-soft: #8c9a6b;
  --night: #15160f;

  --font-display: "Instrument Serif", "Times New Roman", serif;
  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;

  --maxw: 1240px;
  --radius: 22px;
  --radius-sm: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Soft paper grain over everything (fixed, non-interactive) */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 500; opacity: 0.35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.3 0 0 0 0 0.25 0 0 0 0 0.2 0 0 0 0.09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.02em; line-height: 1.05; }
h1 em, h2 em, h3 em, p em { font-family: var(--font-display); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--clay); color: #fff; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 6px; }

.container { width: min(var(--maxw), 100% - 2.5rem); margin: 0 auto; }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0%; background: var(--clay); z-index: 200; }

/* ---------- Pill / kicker ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 0.55rem; margin: 0 0 1.6rem;
  padding: 0.4rem 0.9rem 0.4rem 0.7rem; border: 1px solid var(--line-strong); border-radius: 99px;
  font-size: 0.82rem; font-weight: 500; color: var(--ink-2); background: rgba(255,253,249,0.6); backdrop-filter: blur(6px);
}
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--clay); box-shadow: 0 0 0 4px rgba(184,83,44,0.15); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(184,83,44,0); } }

.kicker {
  display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: 1.1rem;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--clay);
}
.kicker::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.kicker--light { color: var(--clay-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.4rem; border-radius: 99px; border: 1px solid transparent;
  font-family: var(--font-sans); font-size: 0.95rem; font-weight: 500; cursor: pointer; white-space: nowrap;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.btn:active { transform: scale(0.97); }
.btn--dark { background: var(--ink); color: var(--bg); }
.btn--dark:hover { background: var(--clay); }
.btn--accent { background: var(--clay-soft); color: var(--night); }
.btn--accent:hover { background: #fff; }
.btn--outline { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ---------- Navigation ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 1rem 1.25rem; transition: padding 0.35s var(--ease); }
.nav__bar {
  max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.55rem 0.55rem 0.55rem 1.1rem; border-radius: 99px; border: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.nav.is-scrolled { padding-top: 0.7rem; }
.nav.is-scrolled .nav__bar, .nav.is-open .nav__bar {
  background: rgba(255,253,249,0.78); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-color: var(--line); box-shadow: 0 10px 30px -12px rgba(23,21,15,0.18);
}
.nav__brand { display: flex; align-items: center; gap: 0.6rem; font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; }
.nav__brand em { font-style: normal; color: var(--muted); font-weight: 400; }
.nav__mark { width: 30px; height: 30px; border-radius: 9px; background: var(--ink); color: var(--clay-soft); display: grid; place-items: center; flex: none; }
.nav__mark svg { width: 18px; height: 18px; }
.nav__links { display: flex; align-items: center; gap: 0.25rem; }
.nav__links a { padding: 0.55rem 0.95rem; border-radius: 99px; font-size: 0.92rem; color: var(--ink-2); transition: background 0.2s, color 0.2s; }
.nav__links a:hover { background: rgba(23,21,15,0.06); color: var(--ink); }
.nav__links a.is-current { color: var(--ink); background: rgba(23,21,15,0.06); }
.nav__links .nav__cta { background: var(--ink); color: var(--bg); margin-left: 0.4rem; padding: 0.6rem 1.15rem; }
.nav__links .nav__cta:hover { background: var(--clay); color: #fff; }
.nav__toggle { display: none; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--ink); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav__toggle span { width: 16px; height: 1.5px; background: var(--bg); transition: transform 0.3s var(--ease); }
.nav.is-open .nav__toggle span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(7.5rem, 14vh, 10rem) 0 clamp(3rem, 7vw, 5.5rem); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -20%; right: -10%; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; pointer-events: none;
  background: radial-gradient(circle, rgba(224,122,79,0.18), transparent 62%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.hero__title { font-size: clamp(3.2rem, 8.4vw, 7.4rem); font-weight: 500; letter-spacing: -0.045em; line-height: 0.92; margin-bottom: 1.6rem; }
.hero__title em { color: var(--clay); letter-spacing: -0.02em; padding-right: 0.06em; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 520px; margin-bottom: 2.2rem; line-height: 1.55; }

.ask {
  display: flex; align-items: center; gap: 0.5rem; max-width: 600px; padding: 0.45rem 0.45rem 0.45rem 1.2rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: 99px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset, 0 20px 50px -20px rgba(23,21,15,0.25);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.ask:focus-within { border-color: var(--clay); box-shadow: 0 0 0 4px rgba(184,83,44,0.12), 0 20px 50px -20px rgba(23,21,15,0.25); }
.ask__icon { width: 20px; height: 20px; color: var(--muted); flex: none; }
.ask input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font: inherit; font-size: 1.05rem; color: var(--ink); padding: 0.75rem 0.2rem; }
.ask input::placeholder { color: #a49c8d; }
.ask .btn { padding: 0.9rem 1.4rem; }

.suggest { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-top: 1.2rem; font-size: 0.88rem; }
.suggest span { color: var(--muted); margin-right: 0.2rem; }
.suggest button {
  border: 1px solid var(--line-strong); background: transparent; border-radius: 99px; padding: 0.4rem 0.85rem;
  cursor: pointer; color: var(--ink-2); transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.suggest button:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* Hero art: an arch window onto the hills of Galilee */
.hero__art { position: relative; justify-self: end; width: min(100%, 440px); padding-bottom: 4.5rem; }
.arch {
  position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden;
  background: linear-gradient(180deg, #f3c7a0 0%, #eba37a 38%, #c8714b 70%, #8a4b33 100%);
  box-shadow: 0 40px 80px -30px rgba(120,60,30,0.45);
}
.arch::after { content: ""; position: absolute; inset: 12px; border-radius: inherit; border: 1px solid rgba(255,255,255,0.35); pointer-events: none; }
.arch__sun { position: absolute; left: 50%; top: 34%; width: 38%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, #fff4dc 0%, #ffe2b8 45%, rgba(255,226,184,0) 72%); animation: sunrise 2.4s var(--ease) both; }
@keyframes sunrise { from { transform: translate(-50%, 40%); opacity: 0; } }
.arch__hills { position: absolute; left: 0; bottom: 0; width: 100%; height: 55%; }
.arch__hills .h1 { fill: #a25a3b; opacity: 0.75; }
.arch__hills .h2 { fill: #6a4a33; }
.arch__hills .h3 { fill: #3a2e22; }

.votd {
  position: absolute; left: -18%; right: 8%; bottom: 0; margin: 0; padding: 1.4rem 1.5rem 1.2rem;
  background: rgba(255,253,249,0.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 30px 60px -24px rgba(23,21,15,0.35);
}
.votd__label { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--clay); margin-bottom: 0.6rem; }
.votd__quote { margin: 0 0 0.9rem; }
.votd__quote p { font-family: var(--font-display); font-size: clamp(1.25rem, 1.9vw, 1.5rem); line-height: 1.25; margin: 0; color: var(--ink); }
.votd__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 0.8rem; border-top: 1px solid var(--line); font-size: 0.84rem; }
.votd__foot cite { font-style: normal; color: var(--muted); }
.votd__link { font-weight: 500; white-space: nowrap; transition: color 0.2s; }
.votd__link:hover { color: var(--clay); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 1.1rem 0; background: var(--surface); }
.marquee__track { display: flex; align-items: center; gap: 2.2rem; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); white-space: nowrap; color: var(--ink-2); }
.marquee i { font-style: normal; color: var(--clay); font-size: 0.9rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(5rem, 10vw, 8.5rem) 0; }
.section--tight { padding-top: clamp(3rem, 6vw, 5rem); }
.section--stone { background: var(--stone); }
.head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.head h2 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); letter-spacing: -0.04em; }
.head h2 em { color: var(--clay); }
.head p { color: var(--muted); font-size: 1.05rem; max-width: 420px; margin: 0; }
.head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem 4rem; flex-wrap: wrap; }
.head--center { text-align: center; max-width: 720px; margin-inline: auto; }
.head--center p { margin: 1.3rem auto 0; max-width: 560px; }
.head--center .kicker { justify-content: center; }

/* ---------- Latest content ---------- */
.latest__row {
  display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 0.5rem max(1.25rem, (100vw - var(--maxw)) / 2) 1.5rem;
  scroll-padding-inline: max(1.25rem, (100vw - var(--maxw)) / 2);
}
.latest__row::-webkit-scrollbar { display: none; }
.lcard {
  flex: 0 0 clamp(270px, 28vw, 340px); scroll-snap-align: start; text-align: left; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.6rem;
  display: flex; flex-direction: column; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
}
.lcard:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: 0 30px 50px -28px rgba(23,21,15,0.35); }
.lcard__thumb {
  position: relative; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden;
  background: linear-gradient(160deg, var(--a), var(--b));
}
.lcard__thumb::before {
  content: ""; position: absolute; left: 50%; bottom: -8%; width: 52%; height: 86%; transform: translateX(-50%);
  border-radius: 999px 999px 0 0; border: 1px solid rgba(255,255,255,0.45); background: rgba(255,255,255,0.12);
  transition: transform 0.6s var(--ease);
}
.lcard:hover .lcard__thumb::before { transform: translateX(-50%) translateY(-6%); }
.tag {
  position: absolute; top: 0.8rem; left: 0.8rem; z-index: 2; padding: 0.3rem 0.7rem; border-radius: 99px;
  background: rgba(255,253,249,0.9); color: var(--ink); font-size: 0.74rem; font-weight: 600;
}
.lcard__body { padding: 1.1rem 0.8rem 0.8rem; display: flex; flex-direction: column; flex: 1; }
.lcard__body h3 { font-size: 1.25rem; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 0.5rem; }
.lcard__body p { color: var(--muted); font-size: 0.93rem; margin: 0 0 1.2rem; }
.lcard__more { margin-top: auto; font-size: 0.88rem; font-weight: 500; display: inline-flex; gap: 0.4rem; }
.lcard__more span { transition: transform 0.3s var(--ease); }
.lcard:hover .lcard__more { color: var(--clay); }
.lcard:hover .lcard__more span { transform: translateX(4px); }

/* ---------- Welcome ---------- */
.welcome__statement {
  font-size: clamp(1.8rem, 4.2vw, 3.4rem); line-height: 1.12; letter-spacing: -0.035em; font-weight: 400;
  max-width: 1100px; margin-bottom: clamp(2.5rem, 5vw, 4rem); color: var(--ink);
}
.welcome__statement em { color: var(--clay); }
.welcome__foot { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); padding-top: 2.5rem; border-top: 1px solid var(--line); }
.welcome__foot > p { color: var(--muted); font-size: 1.08rem; max-width: 480px; }
.quote { margin: 0; padding-left: 1.5rem; border-left: 2px solid var(--clay); }
.quote p { font-family: var(--font-display); font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.2; margin-bottom: 0.7rem; }
.quote cite { font-style: normal; font-size: 0.85rem; color: var(--muted); }

/* ---------- The Land: bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(230px, auto); gap: 1rem; }
.place {
  grid-column: span 2; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  padding: 1.6rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.place:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -30px rgba(23,21,15,0.35); }
.place::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 150px; height: 190px; border-radius: 999px 999px 0 0;
  border: 1px solid var(--line); transition: transform 0.6s var(--ease); pointer-events: none;
}
.place:hover::after { transform: translate(-10px, 10px); }
.place__num { font-size: 0.8rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.place h3 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); letter-spacing: -0.03em; margin-bottom: 0.6rem; }
.place p { color: var(--muted); font-size: 0.96rem; margin: 0; max-width: 440px; }
.place--hero { grid-column: span 4; grid-row: span 2; background: linear-gradient(160deg, #eba37a, #a3502e 70%, #6b3420); color: #fff; border: 0; }
.place--hero h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(3rem, 7vw, 5.8rem); letter-spacing: -0.02em; }
.place--hero p { color: rgba(255,255,255,0.85); font-size: 1.08rem; }
.place--hero .place__num { color: rgba(255,255,255,0.75); }
.place--hero::after { width: 320px; height: 420px; right: 8%; top: 12%; border-color: rgba(255,255,255,0.35); background: rgba(255,255,255,0.06); }
.place--olive { background: var(--olive); color: #f1eee2; border: 0; }
.place--olive p, .place--olive .place__num { color: rgba(241,238,226,0.75); }
.place--olive::after { border-color: rgba(255,255,255,0.2); }
.place--wide { grid-column: span 4; background: var(--ink); color: var(--bg); border: 0; }
.place--wide p, .place--wide .place__num { color: rgba(244,240,232,0.65); }
.place--wide::after { border-color: rgba(255,255,255,0.15); }
.place--clay { grid-column: span 6; flex-direction: row; align-items: flex-end; background: var(--surface); }
.place--clay > div { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex: 1; }
.place--clay h3 { margin: 0; }
.place--clay p { max-width: 460px; }

/* ---------- The Faith (dark) ---------- */
.section--dark { background: var(--night); color: #ece6d8; overflow: hidden; }
.section--dark::before {
  content: ""; position: absolute; left: 50%; top: -30%; width: 900px; height: 900px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(circle, rgba(184,83,44,0.22), transparent 60%);
}
.faith { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: end; }
.faith__text h2 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); letter-spacing: -0.04em; margin-bottom: 1.8rem; }
.faith__text h2 em { color: var(--clay-soft); }
.faith__text p { color: rgba(236,230,216,0.7); font-size: 1.08rem; max-width: 560px; }
.faith__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.faith__list li {
  display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.3rem 1.4rem; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); color: rgba(236,230,216,0.68); font-size: 0.96rem;
  transition: background 0.3s, border-color 0.3s;
}
.faith__list li:hover { background: rgba(255,255,255,0.07); border-color: rgba(224,122,79,0.4); }
.faith__list li > span { font-family: var(--font-display); font-size: 1.4rem; color: var(--clay-soft); min-width: 2rem; line-height: 1.1; }
.faith__list strong { display: block; color: #fff; font-weight: 500; font-size: 1.05rem; margin-bottom: 0.15rem; }
.stats { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(4rem, 8vw, 6rem); border-top: 1px solid rgba(255,255,255,0.12); }
.stat { padding: 2rem 1.5rem 0 0; }
.stat + .stat { padding-left: 1.5rem; border-left: 1px solid rgba(255,255,255,0.12); }
.stat__num { display: block; font-family: var(--font-display); font-size: clamp(3.2rem, 7vw, 5.6rem); line-height: 1; color: #fff; margin-bottom: 0.6rem; font-variant-numeric: tabular-nums; }
.stat__label { color: rgba(236,230,216,0.6); font-size: 0.95rem; }

/* ---------- Community ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.feature {
  padding: 1.6rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  display: flex; flex-direction: column; min-height: 280px; transition: transform 0.4s var(--ease), border-color 0.3s;
}
.feature:hover { transform: translateY(-4px); border-color: var(--clay); }
.feature__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--stone); color: var(--clay); margin-bottom: auto; transition: background 0.3s, color 0.3s; }
.feature:hover .feature__icon { background: var(--clay); color: #fff; }
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.3rem; letter-spacing: -0.02em; margin: 2.5rem 0 0.6rem; }
.feature p { color: var(--muted); font-size: 0.94rem; margin: 0; }

/* ---------- Membership ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: stretch; }
.tier {
  position: relative; display: flex; flex-direction: column; padding: 2rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.tier:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -30px rgba(23,21,15,0.35); }
.tier__name { font-size: 1.4rem; letter-spacing: -0.02em; margin-bottom: 0.3rem; }
.tier__note { color: var(--muted); font-size: 0.94rem; margin-bottom: 1.6rem; }
.tier__price { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.5rem; }
.tier__price span { font-family: var(--font-display); font-size: 3.6rem; line-height: 1; color: var(--ink); margin-right: 0.2rem; letter-spacing: -0.02em; }
.tier__btn { width: 100%; margin-bottom: 1.8rem; }
.tier ul { list-style: none; margin: 0; padding: 1.5rem 0 0; border-top: 1px solid var(--line); display: grid; gap: 0.75rem; }
.tier li { position: relative; padding-left: 1.7rem; font-size: 0.94rem; color: var(--ink-2); }
.tier li::before {
  content: ""; position: absolute; left: 0; top: 0.2em; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: rgba(184,83,44,0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%23b8532c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}
.tier--featured { background: var(--night); color: #ece6d8; border-color: var(--night); box-shadow: 0 40px 70px -30px rgba(23,21,15,0.55); }
.tier--featured .tier__note, .tier--featured .tier__price { color: rgba(236,230,216,0.6); }
.tier--featured .tier__price span { color: #fff; }
.tier--featured ul { border-color: rgba(255,255,255,0.12); }
.tier--featured li { color: rgba(236,230,216,0.85); }
.tier--featured li::before { background-color: rgba(224,122,79,0.2); }
.tier__badge {
  position: absolute; top: 1.6rem; right: 1.6rem; padding: 0.3rem 0.75rem; border-radius: 99px;
  background: var(--clay-soft); color: var(--night); font-size: 0.74rem; font-weight: 600;
}

/* Give once */
.give {
  margin-top: 1rem; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 1.5rem 3rem;
  padding: 1.8rem 2rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
}
.give__text h3 { font-size: 1.4rem; letter-spacing: -0.02em; margin-bottom: 0.25rem; }
.give__text p { color: var(--muted); margin: 0; font-size: 0.94rem; }
.give__form { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 0.75rem; }
.chip-row { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--line-strong); background: transparent; border-radius: 99px; padding: 0.7rem 1.1rem;
  cursor: pointer; font-weight: 500; font-variant-numeric: tabular-nums; transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.give__custom { display: flex; align-items: center; gap: 0.4rem; padding: 0.3rem 0.3rem 0.3rem 1rem; border: 1px solid var(--line-strong); border-radius: 99px; background: var(--bg); }
.give__custom:focus-within { border-color: var(--clay); }
.give__currency { color: var(--muted); }
.give__custom input { width: 120px; border: 0; outline: none; background: transparent; font: inherit; color: var(--ink); -moz-appearance: textfield; }
.give__custom input::-webkit-outer-spin-button, .give__custom input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.give__fineprint { grid-column: 1 / -1; margin: 0; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--muted); }

/* ---------- Closing ---------- */
.closing { text-align: center; }
.closing__verse { font-size: clamp(2rem, 5vw, 4rem); letter-spacing: -0.04em; line-height: 1.08; max-width: 980px; margin: 0 auto 1.5rem; }
.closing__verse em { color: var(--clay); }
.closing cite { font-style: normal; color: var(--muted); font-size: 0.92rem; }

/* ---------- Footer ---------- */
.footer { background: var(--night); color: #ece6d8; padding: 4rem 0 0; overflow: hidden; }
.footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; flex-wrap: wrap; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer__brand { display: flex; gap: 1rem; align-items: flex-start; }
.footer__brand .nav__mark { background: var(--clay-soft); color: var(--night); }
.footer__brand p { margin: 0; color: rgba(236,230,216,0.65); font-size: 0.95rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.8rem; }
.footer__links a { font-size: 0.95rem; color: rgba(236,230,216,0.75); transition: color 0.2s; }
.footer__links a:hover { color: var(--clay-soft); }
.footer__word {
  font-family: var(--font-display); font-size: clamp(5rem, 22vw, 20rem); line-height: 0.8; letter-spacing: -0.03em;
  margin: 1.5rem 0 -0.12em; text-align: center; color: transparent;
  background: linear-gradient(180deg, rgba(236,230,216,0.22), rgba(236,230,216,0.02)); -webkit-background-clip: text; background-clip: text;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 1.5rem; left: 50%; transform: translate(-50%, 160%); z-index: 300; max-width: min(92vw, 460px);
  padding: 0.95rem 1.4rem; border-radius: 16px; background: var(--ink); color: var(--bg); font-size: 0.94rem; text-align: center;
  box-shadow: 0 24px 50px -16px rgba(0,0,0,0.45); transition: transform 0.5s var(--ease);
}
.toast.is-visible { transform: translate(-50%, 0); }
.toast strong { color: var(--clay-soft); font-weight: 600; }

/* ---------- Bible page ---------- */
.page-hero { position: relative; padding: clamp(8.5rem, 16vh, 11rem) 0 clamp(2rem, 4vw, 3rem); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; top: -40%; right: -10%; width: 800px; height: 800px; pointer-events: none; background: radial-gradient(circle, rgba(224,122,79,0.16), transparent 62%); }
.page-hero .container { position: relative; }
.page-hero__title { font-size: clamp(3rem, 8vw, 6.6rem); letter-spacing: -0.045em; line-height: 0.95; margin-bottom: 1.4rem; }
.page-hero__title em { color: var(--clay); }
.page-hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 580px; margin: 0; }

.section--scripture { padding-top: clamp(1rem, 3vw, 2rem); }
.bible { max-width: 920px; }
.bible__controls {
  display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: flex-end; padding: 0.75rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 20px 50px -30px rgba(23,21,15,0.3);
}
.bible__field { display: flex; flex-direction: column; gap: 0.35rem; flex: 1 1 160px; }
.bible__field label { font-size: 0.75rem; font-weight: 500; color: var(--muted); padding-left: 0.3rem; }
.bible__field select {
  appearance: none; -webkit-appearance: none; width: 100%; cursor: pointer;
  font: inherit; font-size: 0.98rem; color: var(--ink); padding: 0.75rem 2.4rem 0.75rem 1rem;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236f685b' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 1rem center;
  border: 1px solid var(--line); border-radius: 12px; transition: border-color 0.2s;
}
.bible__field select:hover { border-color: var(--line-strong); }
.bible__field select:focus { outline: none; border-color: var(--clay); }
.bible__read { padding: 0.8rem 1.8rem; }

.bible__quick { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin: 1.2rem 0 0; font-size: 0.88rem; }
.bible__quick span { color: var(--muted); margin-right: 0.2rem; }
.bible__chip { border: 1px solid var(--line-strong); background: transparent; border-radius: 99px; padding: 0.4rem 0.85rem; cursor: pointer; color: var(--ink-2); transition: background 0.2s, color 0.2s, border-color 0.2s; }
.bible__chip:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.bible__reader { margin-top: 2rem; padding: clamp(1.8rem, 6vw, 4rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); min-height: 260px; }
.bible__placeholder { text-align: center; color: var(--muted); padding: 2.5rem 0; }
.bible__placeholder svg { width: 52px; height: 52px; color: var(--clay); opacity: 0.6; margin-bottom: 1rem; }
.bible__placeholder p { margin: 0; font-family: var(--font-display); font-size: 1.5rem; color: var(--ink-2); }
.bible__ref { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.04em; margin-bottom: 0.5rem; }
.bible__ref-sub { display: inline-block; margin-bottom: 2rem; padding: 0.3rem 0.75rem; border-radius: 99px; background: var(--stone); color: var(--ink-2); font-size: 0.78rem; font-weight: 500; }
.bible__text { font-family: var(--font-display); font-size: clamp(1.3rem, 2.1vw, 1.55rem); line-height: 1.7; color: var(--ink); max-width: 68ch; }
.bible__text .vnum { font-family: var(--font-sans); font-size: 0.62rem; font-weight: 600; color: var(--clay); vertical-align: super; margin-right: 0.25rem; }
.bible__nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.bible__nav button { border: 1px solid var(--line-strong); background: transparent; border-radius: 99px; padding: 0.65rem 1.2rem; cursor: pointer; font-size: 0.9rem; font-weight: 500; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.bible__nav button:hover:not(:disabled) { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.bible__nav button:disabled { opacity: 0.35; cursor: default; }
.bible__loading { position: relative; height: 200px; border-radius: 12px; overflow: hidden; color: transparent;
  background: repeating-linear-gradient(180deg, var(--stone) 0 14px, transparent 14px 34px); }
.bible__loading::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,253,249,0.8), transparent); animation: shimmer 1.4s infinite; }
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.bible__error { text-align: center; color: #9a3b2e; padding: 2rem 0; }

/* ---------- AI chat ---------- */
.chat { position: fixed; inset: 0; z-index: 400; display: flex; align-items: flex-end; justify-content: center; }
.chat[hidden] { display: none; }
.chat__backdrop { position: absolute; inset: 0; background: rgba(23,21,15,0.45); backdrop-filter: blur(6px); animation: fade 0.3s var(--ease); }
.chat__box {
  position: relative; z-index: 2; width: min(680px, 100%); height: min(88vh, 760px); display: flex; flex-direction: column;
  background: var(--surface); border-radius: 24px 24px 0 0; overflow: hidden; box-shadow: 0 -20px 80px rgba(0,0,0,0.3);
  animation: chatUp 0.45s var(--ease);
}
@keyframes chatUp { from { transform: translateY(40px); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }
.chat__head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); }
.chat__title { display: flex; align-items: center; gap: 0.75rem; }
.chat__title span:not(.nav__mark) { display: block; font-weight: 600; letter-spacing: -0.01em; }
.chat__title small { display: block; color: var(--muted); font-size: 0.8rem; }
.chat__close { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--stone); font-size: 1.4rem; line-height: 1; cursor: pointer; transition: background 0.2s; }
.chat__close:hover { background: var(--line-strong); }
.chat__log { flex: 1; overflow-y: auto; padding: 1.4rem 1.2rem; display: flex; flex-direction: column; gap: 0.9rem; background: var(--bg); }
.chat__msg { max-width: 85%; padding: 0.85rem 1.1rem; border-radius: 18px; line-height: 1.6; white-space: pre-wrap; word-wrap: break-word; font-size: 0.98rem; }
.chat__msg--user { align-self: flex-end; background: var(--ink); color: var(--bg); border-bottom-right-radius: 6px; }
.chat__msg--bot { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.chat__msg--bot.is-error { border-color: rgba(154,59,46,0.4); color: #9a3b2e; }
.chat__greeting { margin: auto; max-width: 400px; text-align: center; font-family: var(--font-display); font-size: 1.5rem; line-height: 1.3; color: var(--ink-2); }
.chat__dots span { display: inline-block; width: 6px; height: 6px; margin: 0 2px; border-radius: 50%; background: var(--clay); animation: blink 1.2s infinite both; }
.chat__dots span:nth-child(2) { animation-delay: 0.2s; }
.chat__dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink { 0%, 80%, 100% { opacity: 0.2; } 40% { opacity: 1; } }
.chat__form { display: flex; gap: 0.5rem; margin: 0.9rem 1.2rem 0; padding: 0.35rem 0.35rem 0.35rem 1.1rem; border: 1px solid var(--line-strong); border-radius: 99px; transition: border-color 0.2s; }
.chat__form:focus-within { border-color: var(--clay); }
.chat__form input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font: inherit; color: var(--ink); }
.chat__form input::placeholder { color: #a49c8d; }
.chat__form button { flex: 0 0 42px; height: 42px; border-radius: 50%; border: 0; background: var(--ink); color: var(--bg); display: grid; place-items: center; cursor: pointer; transition: background 0.2s; }
.chat__form button:hover { background: var(--clay); }
.chat__form button:disabled { opacity: 0.4; cursor: default; }
.chat__form button svg { width: 18px; height: 18px; }
.chat__disclaimer { text-align: center; font-size: 0.74rem; color: var(--muted); padding: 0.6rem 1.2rem 1rem; margin: 0; }
@media (min-width: 720px) {
  .chat { align-items: center; padding: 1.5rem; }
  .chat__box { border-radius: 24px; }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { justify-self: center; width: min(100%, 400px); }
  .votd { left: -6%; right: -6%; }
  .faith { grid-template-columns: 1fr; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .place, .place--wide { grid-column: span 1; }
  .place--hero, .place--clay { grid-column: span 2; }
  .place--hero { grid-row: span 1; min-height: 380px; }
  .tiers { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .give { grid-template-columns: 1fr; }
  .give__form { justify-content: flex-start; }
}
@media (max-width: 820px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute; top: calc(100% - 0.4rem); left: 1.25rem; right: 1.25rem; flex-direction: column; align-items: stretch; gap: 0.2rem;
    padding: 0.6rem; border-radius: 20px; background: var(--surface); border: 1px solid var(--line);
    box-shadow: 0 30px 60px -20px rgba(23,21,15,0.3);
    opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity 0.25s, transform 0.3s var(--ease);
  }
  .nav__links.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav__links a { padding: 0.85rem 1rem; font-size: 1rem; }
  .nav__links .nav__cta { margin: 0.3rem 0 0; text-align: center; }
}
@media (max-width: 640px) {
  .ask { flex-wrap: wrap; border-radius: 22px; padding: 0.45rem; }
  .ask__icon { margin-left: 0.7rem; }
  .ask .btn { width: 100%; }
  .bento, .features { grid-template-columns: 1fr; }
  .place, .place--hero, .place--clay, .place--wide { grid-column: span 1; }
  .place--clay > div { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
  .feature { min-height: 0; }
  .welcome__foot { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 1.6rem 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .votd { position: relative; left: auto; right: auto; margin: -4rem 0.75rem 0; }
  .hero__art { padding-bottom: 0; }
  .give__custom { width: 100%; }
  .give__custom input { flex: 1; width: auto; }
  .bible__read { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
