/* ByFaith Global — site styles */

@font-face {
  font-family: "Cinzel";
  src: url("../fonts/cinzel.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #0a0705;
  --bg-2: #120c08;
  --bg-3: #1a110a;
  --surface: rgba(255, 236, 200, 0.035);
  --surface-2: rgba(255, 236, 200, 0.07);
  --line: rgba(227, 178, 90, 0.18);
  --line-strong: rgba(227, 178, 90, 0.42);
  --gold: #e3b25a;
  --gold-2: #f7d68f;
  --gold-deep: #9c6a24;
  --ember: #ff7a1a;
  --text: #f4ebda;
  --muted: #bfae90;
  --faint: #7f705a;
  --radius: 18px;
  --radius-sm: 10px;
  --max: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --display: "Cinzel", "Trajan Pro", Georgia, serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff; }
::selection { background: var(--gold); color: #1a1006; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.15; margin: 0 0 0.5em; letter-spacing: 0.02em; }
h1 { font-size: clamp(2.4rem, 6.5vw, 5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p { margin: 0 0 1em; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: #000; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: clamp(64px, 8vw, 112px) 0; }
.section--tight { padding: clamp(48px, 7vw, 88px) 0; }
.section--alt { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 18%, var(--bg-2) 82%, var(--bg) 100%); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-size: 0.8rem; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--muted); max-width: 60ch; }
.gold-text {
  background: linear-gradient(180deg, #fff3d0 0%, var(--gold-2) 30%, var(--gold) 60%, var(--gold-deep) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--gold);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font: 600 0.95rem/1 var(--body); letter-spacing: 0.04em; text-decoration: none; cursor: pointer;
  border: 1px solid var(--line-strong); color: var(--text); background: rgba(255, 236, 200, 0.04);
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.btn:hover { color: #fff; border-color: var(--gold); background: rgba(227, 178, 90, 0.1); transform: translateY(-2px); }
.btn--gold {
  color: #1d1105; border: 0;
  background: linear-gradient(180deg, #ffe7a8 0%, var(--gold) 55%, #b98232 100%);
  box-shadow: 0 6px 30px -8px rgba(255, 150, 40, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.btn--gold:hover { color: #1d1105; background: linear-gradient(180deg, #fff1c8 0%, var(--gold-2) 55%, #c99040 100%); box-shadow: 0 10px 40px -8px rgba(255, 150, 40, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.6); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.center .btn-row { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  transition: background 0.35s, backdrop-filter 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(10, 7, 5, 0.78); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand img { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line-strong), 0 0 24px -4px rgba(255, 140, 30, 0.6); }
.brand span { font-family: var(--display); font-weight: 700; letter-spacing: 0.16em; font-size: 0.95rem; line-height: 1.1; }
.brand small { display: block; font-size: 0.62rem; letter-spacing: 0.34em; color: var(--gold); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn), .nav button.nav-more {
  font: 500 0.92rem/1 var(--body); color: var(--muted); text-decoration: none; padding: 10px 14px; border-radius: 999px;
  background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
}
.nav a:not(.btn):hover, .nav button.nav-more:hover, .nav a:not(.btn)[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.nav a:not(.btn)[aria-current="page"] { color: var(--gold-2); }
.nav .btn { margin-left: 10px; min-height: 42px; padding: 0 20px; color: #1d1105; }
.nav .btn:hover { color: #1d1105; }
.nav .btn[aria-current="page"] { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--gold); }
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 240px; padding: 8px;
  background: rgba(20, 13, 8, 0.96); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.8);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(0.98); transform-origin: top right;
  transition: opacity 0.2s, transform 0.2s var(--ease), visibility 0.2s;
}
.dropdown.open .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.dropdown-menu a { display: flex; padding: 12px 14px; border-radius: 10px; }
.nav-more svg { width: 14px; height: 14px; transition: transform 0.2s; }
.dropdown.open .nav-more svg { transform: rotate(180deg); }

.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(10, 7, 5, 0.5); color: var(--text); cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; transition: transform 0.3s var(--ease), background 0.3s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 920px) {
  .menu-toggle { display: inline-flex; position: relative; z-index: 2; }
  .nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: stretch; justify-content: center; gap: 2px;
    padding: calc(var(--header-h) + 8px) var(--gutter) 40px; background: rgba(8, 5, 3, 0.97);
    opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; overflow-y: auto;
  }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .nav a:not(.btn), .nav button.nav-more { font-family: var(--display); font-size: 1.35rem; padding: 14px 8px; border-radius: 10px; justify-content: space-between; width: 100%; }
  .nav .btn { margin: 18px 0 0; font-family: var(--body); font-size: 1rem; justify-content: center; }
  .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; display: none; background: none; border: 0; box-shadow: none; padding: 0 0 0 12px; }
  .dropdown.open .dropdown-menu { display: block; }
  .nav .dropdown-menu a { font-size: 1.05rem; font-family: var(--body); padding: 12px 8px; }
  body.menu-open { overflow: hidden; }
}

/* ---------- 3D canvases ---------- */
.scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.scene-fallback { position: absolute; inset: 0; background: radial-gradient(60% 60% at 70% 45%, rgba(255, 120, 20, 0.28), transparent 70%), var(--bg); }
.no-webgl .scene-fallback--emblem { background: radial-gradient(closest-side, rgba(255, 130, 30, 0.35), transparent) 75% 45% / 60vmin 60vmin no-repeat, url("../img/emblem.jpg") 75% 45% / 38vmin 38vmin no-repeat, var(--bg); }

/* ---------- Home hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(180deg, transparent, var(--bg)); pointer-events: none; }
.hero .wrap { position: relative; z-index: 2; pointer-events: none; }
.hero-copy { max-width: 600px; pointer-events: auto; padding-top: var(--header-h); }
.hero h1 { font-size: clamp(2.5rem, 7.4vw, 6rem); line-height: 1.02; margin-bottom: 0.25em; text-shadow: 0 4px 40px rgba(0, 0, 0, 0.6); }
.hero-tag { font-family: var(--display); font-size: clamp(1.1rem, 2.2vw, 1.55rem); color: var(--gold-2); margin-bottom: 0.4em; font-style: normal; }
.hero-ref { font-size: 0.85rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--faint); }
.scroll-cue { position: absolute; z-index: 2; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--faint); font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; text-decoration: none; }
.scroll-cue i { width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 1; } 70% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
.drag-hint { position: absolute; z-index: 2; right: var(--gutter); bottom: 32px; font-size: 0.75rem; color: var(--faint); letter-spacing: 0.12em; display: flex; align-items: center; gap: 8px; }
.drag-hint svg { width: 16px; height: 16px; }
.no-webgl .drag-hint { display: none; }

@media (max-width: 760px) {
  .hero { align-items: flex-end; }
  .hero-copy { padding: 0 0 110px; }
  .drag-hint { display: none; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; min-height: clamp(420px, 62vh, 620px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 7, 5, 0.85) 0%, rgba(10, 7, 5, 0.3) 60%, transparent), linear-gradient(180deg, transparent 50%, var(--bg)); pointer-events: none; z-index: 1; }
.page-hero .wrap { position: relative; z-index: 2; padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(40px, 6vw, 72px); }
.page-hero h1 { font-size: clamp(2.3rem, 6vw, 4.4rem); max-width: 16ch; }
.page-hero .lead { margin: 0; }
.page-hero--photo .scene-photo { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.55; transform: scale(1.08); will-change: transform; }

/* ---------- Grids / cards ---------- */
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--flip > :first-child { order: 2; }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 820px) { .split, .grid-2 { grid-template-columns: 1fr; } .split--flip > :first-child { order: 0; } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }

.card {
  position: relative; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 236, 200, 0.06), rgba(255, 236, 200, 0.015) 60%);
  border: 1px solid var(--line);
  transform-style: preserve-3d;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.card:hover { border-color: var(--line-strong); box-shadow: 0 30px 70px -30px rgba(255, 120, 20, 0.35); }
.card h3 { margin-bottom: 0.4em; }
.card p:last-child { margin-bottom: 0; }
.card .muted { color: var(--muted); }
.card-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.card-link:hover { color: inherit; }
.card-link .arrow { margin-top: auto; padding-top: 20px; color: var(--gold); font-weight: 600; font-size: 0.92rem; display: inline-flex; gap: 8px; align-items: center; }
.card-link .arrow svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.card-link:hover .arrow svg { transform: translateX(4px); }
.icon-badge {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px;
  background: radial-gradient(circle at 30% 25%, #ffe2a0, var(--gold) 45%, var(--gold-deep));
  color: #1d1105; box-shadow: 0 10px 30px -10px rgba(255, 140, 30, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transform: translateZ(30px);
}
.icon-badge svg { width: 26px; height: 26px; }

/* tilt (3D hover) */
[data-tilt] { will-change: transform; transition: transform 0.5s var(--ease), border-color 0.3s, box-shadow 0.3s; }
[data-tilt].tilting { transition: transform 0.08s linear, border-color 0.3s, box-shadow 0.3s; }
.tilt-glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(400px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 220, 150, 0.13), transparent 50%); opacity: 0; transition: opacity 0.3s; }
[data-tilt]:hover .tilt-glare { opacity: 1; }

/* photo frames */
.frame { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-strong); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9), 0 0 0 8px rgba(227, 178, 90, 0.04); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 22px 18px; background: linear-gradient(transparent, rgba(0, 0, 0, 0.85)); font-size: 0.9rem; color: var(--muted); }
.frame figcaption strong { display: block; font-family: var(--display); font-size: 1.25rem; color: var(--text); }
figure { margin: 0; }

/* ---------- Pillars ---------- */
.pillars { counter-reset: p; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 48px; }
.pillar { counter-increment: p; padding: 26px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); position: relative; overflow: hidden; }
.pillar::before { content: counter(p, upper-roman); display: block; font-family: var(--display); font-size: 2.2rem; line-height: 1; margin-bottom: 16px; color: transparent; -webkit-text-stroke: 1px var(--gold); }
.pillar h3 { font-size: 1.02rem; margin: 0; letter-spacing: 0.04em; }
@media (max-width: 1040px) { .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Scripture band ---------- */
.scripture { position: relative; overflow: hidden; text-align: center; padding: clamp(90px, 14vw, 180px) 0; isolation: isolate; }
.scripture .scene { z-index: -1; opacity: 0.9; }
.scripture blockquote { margin: 0 auto; max-width: 22ch; font-family: var(--display); font-size: clamp(1.7rem, 4.4vw, 3.3rem); line-height: 1.25; }
.scripture cite { display: block; margin-top: 26px; font-style: normal; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); font-size: 0.85rem; }
.scripture--small blockquote { font-size: clamp(1.4rem, 3.2vw, 2.3rem); max-width: 30ch; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); margin-top: 48px; perspective: 1200px; }
.step-num { font-family: var(--display); font-size: 4.2rem; line-height: 0.9; display: block; margin-bottom: 12px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Give ---------- */
.detail-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.detail-list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: var(--radius-sm); background: rgba(0, 0, 0, 0.28); border: 1px solid rgba(227, 178, 90, 0.1); }
.detail-list span { color: var(--faint); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; }
.detail-list b { font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; text-align: right; }
.copy-btn { border: 1px solid var(--line-strong); background: none; color: var(--gold-2); border-radius: 8px; padding: 6px 10px; font: 600 0.75rem/1 var(--body); cursor: pointer; flex: none; }
.copy-btn:hover { background: rgba(227, 178, 90, 0.12); }
.copy-btn.done { color: #9be59b; border-color: rgba(155, 229, 155, 0.5); }
.detail-value { display: flex; align-items: center; gap: 10px; }
.note { font-size: 0.88rem; color: var(--faint); margin-top: 16px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 0.85rem; font-weight: 500; color: var(--muted); margin-bottom: 8px; }
.field label .req { color: var(--gold); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 50px; padding: 13px 16px; border-radius: 12px;
  background: rgba(0, 0, 0, 0.35); border: 1px solid var(--line); color: var(--text); font: 400 1rem/1.4 var(--body);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(227, 178, 90, 0.15); background: rgba(0, 0, 0, 0.5); }
.field input::placeholder, .field textarea::placeholder { color: #6d604c; }
.field.invalid input, .field.invalid textarea { border-color: #e2755b; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.form-hint { font-size: 0.85rem; color: var(--faint); margin: 4px 0 0; }
.form-status { font-size: 0.9rem; color: var(--gold-2); min-height: 1.4em; margin: 0; }

/* ---------- Contact tiles ---------- */
.contact-tile { display: flex; gap: 18px; align-items: center; text-decoration: none; color: var(--text); }
.contact-tile .icon-badge { margin: 0; flex: none; transform: none; }
.contact-tile div span { display: block; color: var(--faint); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; }
.contact-tile b { font-weight: 600; font-size: 1.08rem; word-break: break-word; }
.hours { list-style: none; padding: 0; margin: 16px 0 0; }
.hours li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); }
.hours li:last-child { border: 0; }

/* ---------- Media ---------- */
.video-shell { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-strong); background: #000; }
.video-shell iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-facade { position: absolute; inset: 0; display: grid; place-items: center; cursor: pointer; border: 0; padding: 0; color: #fff; background: url("../img/emblem-wide.jpg") center / cover; }
.video-facade::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.45); transition: background 0.3s; }
.video-facade:hover::before { background: rgba(0, 0, 0, 0.25); }
.video-facade .play { position: relative; width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, #ffe7a8, var(--gold) 55%, #b98232); color: #1d1105; box-shadow: 0 0 0 10px rgba(227, 178, 90, 0.18), 0 20px 60px -10px rgba(255, 140, 30, 0.8); transition: transform 0.3s var(--ease); }
.video-facade:hover .play { transform: scale(1.08); }
.video-facade .play svg { width: 34px; height: 34px; margin-left: 5px; }
.video-facade small { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; font-size: 0.8rem; color: rgba(255, 255, 255, 0.75); }
.doc-item { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--text); transition: border-color 0.2s, background 0.2s, transform 0.25s var(--ease); }
.doc-item:hover { border-color: var(--gold); background: var(--surface-2); color: var(--text); transform: translateX(4px); }
.doc-item svg { width: 28px; height: 28px; color: var(--gold); flex: none; }
.doc-item span { display: block; color: var(--faint); font-size: 0.82rem; }

/* ---------- Prose (privacy) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); margin-top: 2.2em; padding-top: 1.2em; border-top: 1px solid var(--line); }
.prose h3 { font-family: var(--body); font-size: 1rem; font-weight: 600; letter-spacing: 0; margin-top: 1.6em; color: var(--gold-2); }
.prose p, .prose li { color: #d9cdb6; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.35em; }
.prose li::marker { color: var(--gold); }
.prose blockquote { margin: 1.4em 0; padding: 18px 22px; border-left: 3px solid var(--gold); background: var(--surface); border-radius: 0 12px 12px 0; }
.meta-table { display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; font-size: 0.95rem; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.meta-table dt { color: var(--faint); }
.meta-table dd { margin: 0; }
@media (max-width: 560px) { .meta-table { grid-template-columns: 1fr; } .meta-table dd { margin-bottom: 8px; } }
.toc { position: sticky; top: calc(var(--header-h) + 24px); font-size: 0.88rem; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.toc a { display: block; padding: 6px 12px; border-radius: 8px; color: var(--muted); text-decoration: none; border-left: 1px solid var(--line); }
.toc a:hover { color: var(--text); background: var(--surface); }
.policy-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; align-items: start; }
@media (max-width: 960px) { .policy-layout { grid-template-columns: 1fr; } .toc { position: static; } .toc ol { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .toc ol { grid-template-columns: 1fr; } }

/* ---------- Testimony ---------- */
.testimony { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: #e6dbc5; }
.signature { font-family: var(--display); font-size: 1.5rem; color: var(--gold-2); margin-top: 18px; }
.callouts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 36px 0; }
.callouts div { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line-strong); text-align: center; font-family: var(--display); font-size: clamp(1.3rem, 2.6vw, 1.9rem); background: radial-gradient(circle at 50% 0%, rgba(255, 140, 30, 0.16), transparent 70%), var(--surface); }
@media (max-width: 520px) { .callouts { grid-template-columns: 1fr; } }
.gallery { display: grid; grid-template-columns: 1fr 1.6fr; gap: 16px; }
.gallery .frame { aspect-ratio: 1; }
.gallery .frame:last-child { aspect-ratio: auto; }
@media (max-width: 720px) { .gallery { grid-template-columns: 1fr; } .gallery .frame:last-child { aspect-ratio: 16 / 9; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; border-radius: calc(var(--radius) + 10px); padding: clamp(40px, 7vw, 84px); overflow: hidden; border: 1px solid var(--line-strong); background: radial-gradient(70% 120% at 100% 0%, rgba(255, 120, 20, 0.28), transparent 60%), radial-gradient(60% 100% at 0% 100%, rgba(227, 178, 90, 0.14), transparent 60%), var(--bg-3); isolation: isolate; }
.cta-band h2 { max-width: 18ch; }
.cta-band .lead { color: #d8c9ac; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: 50%; width: 360px; height: 360px; transform: translateY(-50%); background: url("../img/emblem.jpg") center / cover; border-radius: 50%; opacity: 0.16; z-index: -1; mask-image: radial-gradient(circle, #000 55%, transparent 70%); -webkit-mask-image: radial-gradient(circle, #000 55%, transparent 70%); }
@media (max-width: 700px) { .cta-band::after { width: 240px; height: 240px; right: -80px; top: 20%; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #070504; padding: 72px 0 32px; font-size: 0.93rem; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { font-size: 0.78rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--gold-2); }
.footer-brand p { max-width: 32ch; margin-top: 18px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--gold-2); }
.socials a:hover { background: var(--gold); color: #1d1105; }
.socials svg { width: 18px; height: 18px; }
.footer-base { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 0.8rem; color: var(--faint); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: perspective(900px) translate3d(0, 40px, 0) rotateX(10deg); transform-origin: 50% 100%; transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* floating WhatsApp */
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 10px 30px -6px rgba(0, 0, 0, 0.6); transition: transform 0.25s var(--ease); }
.fab:hover { transform: scale(1.08); color: #fff; }
.fab svg { width: 28px; height: 28px; }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 60; transform: translate(-50%, 20px); opacity: 0; background: #1e150d; border: 1px solid var(--line-strong); color: var(--text); padding: 12px 18px; border-radius: 999px; font-size: 0.9rem; transition: opacity 0.3s, transform 0.3s var(--ease); pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
.callouts div { display: grid; place-items: center; }
