/* ============================================================
   AGAPÉ CREATIVE STUDIOS — theme stylesheet  v2.0
   Rebuilt against the client "Adjustments" brief (5 pp).

   What changed vs v1, by brief note:
   p1  Heading style  -> Instrument Serif (premium editorial serif)
                         stands in for Canela Deck; Pinyon Script kept.
   p1  Body text      -> Inter, two steps smaller (17px -> 15px base).
   p1  Footer         -> verse dropped, "Psalm 100:5" centred only.
   p1  Animation      -> fade + unfold reveal on scroll, staggered.
   p1  Background     -> gradient used throughout (rings, glows, tints).
   p1  Glass          -> CLEAR liquid glass, not frosted.
   p2  Hero           -> centred stack + phone stage + floating chips.
   p2  CTA            -> running gradient highlighter ring.
   p3  Services       -> auto-scrolling horizontal rail, SQUARE cards,
                         animated icons, gradient ring on first + last.
   p4  Reels          -> auto-sliding video rail, pauses on hover.
   p5  Why us         -> condensed to four SQUARE tiles.

   Canela Deck note: drop licensed woff2 files in assets/fonts/, add an
   @font-face block here, and --font-display picks it up automatically.
   ============================================================ */

@property --agape-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

:root {
  /* Base palette */
  --bg:        #16100C;
  --bg-soft:   #1B1310;
  --bg-deep:   #100B08;
  --ember:     #C9451C;
  --amber:     #E8952F;
  --gold:      #F2C46D;
  --cream:     #F5EDE3;
  --muted:     #B9A897;
  --line:      rgba(245, 237, 227, 0.12);

  /* Gradient swatch supplied in the brief (p.2) */
  --grad-red:   #EB4233;
  --grad-gold:  #E5B41E;
  --grad-burnt: #A76011;
  --grad-deep:  #381E14;

  --gradient:      linear-gradient(135deg, var(--grad-red) 0%, var(--grad-gold) 46%, var(--grad-burnt) 100%);
  --gradient-soft: linear-gradient(150deg, rgba(235, 66, 51, 0.26) 0%, rgba(229, 180, 30, 0.14) 48%, rgba(167, 96, 17, 0.06) 100%);

  --font-display: "Instrument Serif", "Canela Deck", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-script:  "Pinyon Script", cursive;

  --radius:    22px;
  --container: 1200px;
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------------- Reset-ish ---------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 15px;              /* brief p1: two steps down from 17px */
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--amber); text-decoration: none; }
a:hover { color: var(--gold); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.08;
  letter-spacing: -0.012em;
  margin: 0 0 18px;
}
h1 { font-size: clamp(42px, 6.2vw, 76px); }
h2 { font-size: clamp(31px, 4.2vw, 52px); }
h3 { font-size: 18px; }

/* Italic accent inside a serif heading, as in the brief's reference art */
.agape-em { font-style: italic; color: var(--cream); }

.agape-container { max-width: var(--container); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.agape-narrow { max-width: 780px; }
.agape-center { text-align: center; }
.agape-section { padding: 92px 0; position: relative; }
.agape-section-soft { background: var(--bg-soft); }
.agape-sub { font-size: 15px; color: var(--muted); max-width: 640px; }
.agape-sub.agape-center { margin-left: auto; margin-right: auto; }
.agape-lead { font-size: 16px; }

/* Gradient hairline between stacked sections */
.agape-section + .agape-section::before {
  content: "";
  position: absolute; inset: 0 auto auto 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(235, 66, 51, 0.35), rgba(229, 180, 30, 0.28), transparent);
}

/* ---------------- Ambient gradient glow ---------------- */
.agape-glow { position: relative; isolation: isolate; }
.agape-glow::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(58% 44% at 50% 0%,   rgba(235, 66, 51, 0.16), transparent 72%),
    radial-gradient(38% 38% at 88% 26%,  rgba(229, 180, 30, 0.10), transparent 72%),
    radial-gradient(42% 34% at 6% 72%,   rgba(167, 96, 17, 0.12), transparent 74%);
}

/* ---------------- Script + shine accents ---------------- */
.agape-script {
  font-family: var(--font-script);
  color: var(--gold);
  font-size: 1.2em;
  line-height: 1;
  font-weight: 400;
}
/* v1's shimmering gradient text is gone: the brief asks for gradient on the
   rings and the glass, and solid type reads more premium at these sizes. */
.agape-shine { color: var(--cream); }

/* ============================================================
   CLEAR GLASS  (brief p1: "needs to be the clear version —
   the frosted version is not standing out on the background")
   Low blur, high transparency, bright specular edges, gradient
   sheen — reads like glass sitting on the art, not fog.
   ============================================================ */
.agape-glass {
  position: relative;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.02) 42%, rgba(255, 255, 255, 0.075) 100%);
  -webkit-backdrop-filter: blur(3px) saturate(190%) brightness(1.16);
  backdrop-filter: blur(3px) saturate(190%) brightness(1.16);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: var(--radius);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -1px 0 rgba(255, 255, 255, 0.10),
    inset 0 0 30px rgba(255, 255, 255, 0.05),
    0 14px 36px rgba(0, 0, 0, 0.42);
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
/* Specular sheen + warm gradient tint across the pane */
.agape-glass::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(115deg,
      rgba(255, 255, 255, 0.18) 0%,
      rgba(255, 255, 255, 0) 28%,
      rgba(255, 255, 255, 0) 68%,
      rgba(242, 196, 109, 0.12) 100%);
  mix-blend-mode: screen;
}

/* Stronger gradient fill — featured panes */
.agape-glass-grad { background-image: var(--gradient-soft), linear-gradient(135deg, rgba(255,255,255,0.10), rgba(255,255,255,0.03)); }

/* ============================================================
   RUNNING HIGHLIGHTER RING  (brief p2: "that running highlighter
   around border .. use the gradient shown")
   A conic gradient masked to the border band, rotated forever.
   ============================================================ */
.agape-ring { position: relative; --agape-angle: 0deg; }
.agape-ring::before {
  content: "";
  position: absolute;
  inset: -1.5px;
  border-radius: inherit;
  padding: 1.5px;
  pointer-events: none;
  background: conic-gradient(from var(--agape-angle),
      rgba(235, 66, 51, 0)   0deg,
      var(--grad-red)       38deg,
      var(--grad-gold)      86deg,
      var(--grad-burnt)    130deg,
      rgba(235, 66, 51, 0) 186deg,
      rgba(235, 66, 51, 0) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  animation: agapeRing 3.8s linear infinite;
}
@keyframes agapeRing { to { --agape-angle: 360deg; } }

/* Soft bloom behind a ringed element */
.agape-ring-bloom { box-shadow: 0 0 34px rgba(235, 66, 51, 0.20), 0 14px 36px rgba(0, 0, 0, 0.45); }

/* ---------------- Tag pill ---------------- */
.agape-tag {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  background: rgba(232, 149, 47, 0.08);
  border: 1px solid rgba(232, 149, 47, 0.32);
  border-radius: 999px;
  padding: 6px 15px;
}

/* ---------------- Buttons ---------------- */
.agape-btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  border: 0;
  font-family: var(--font-body);
}
.agape-btn-primary { background: var(--ember); color: var(--cream); }
.agape-btn-primary:hover { background: #D8551F; color: var(--cream); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(201, 69, 28, 0.38); }
.agape-btn-ghost { background: transparent; color: var(--cream); border: 1px solid var(--line); }
.agape-btn-ghost:hover { border-color: var(--amber); color: var(--cream); background: rgba(232, 149, 47, 0.08); }

/* Text link with a nudging arrow — the reference's secondary action */
.agape-btn-text { background: none; border: 0; color: var(--cream); padding: 13px 6px; }
.agape-btn-text:hover { color: var(--gold); }
.agape-btn-text .agape-arrow { display: inline-block; transition: transform 0.35s var(--ease); }
.agape-btn-text:hover .agape-arrow { transform: translateX(5px); }

.agape-btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; align-items: center; }
.agape-btn-row.is-center { justify-content: center; }

/* ---------------- Header ---------------- */
.agape-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(22, 16, 12, 0.62);
  -webkit-backdrop-filter: blur(14px) saturate(170%);
  backdrop-filter: blur(14px) saturate(170%);
  border-bottom: 1px solid var(--line);
}
.agape-header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 13px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.agape-brand { display: flex; align-items: center; }
.agape-brand img, .custom-logo { max-height: 42px; width: auto; }
.agape-brand-text { font-family: var(--font-display); color: var(--cream); font-size: 17px; letter-spacing: 0.08em; white-space: nowrap; }
.agape-nav { margin-left: auto; }
.agape-menu { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.agape-menu a { color: var(--muted); font-size: 14px; font-weight: 500; }
.agape-menu a:hover, .agape-menu .current-menu-item a { color: var(--cream); }
.agape-header-cta { padding: 9px 20px; font-size: 13px; }
.agape-nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.agape-nav-toggle span { display: block; width: 22px; height: 2px; background: var(--cream); margin: 5px 0; transition: 0.3s; }

/* ============================================================
   SECTION 1 · HERO   (brief p2 — centred stack, phone stage,
   floating glass stat chips, ringed consult button)
   ============================================================ */
.agape-hero { position: relative; padding: 156px 0 64px; overflow: hidden; }

.agape-hero-center { text-align: center; max-width: 920px; margin: 0 auto; }
.agape-hero-center h1 { margin-bottom: 22px; }
.agape-hero-center .agape-lead { max-width: 600px; margin: 0 auto; color: var(--muted); }
.agape-cta-line { font-family: var(--font-display); color: var(--cream); font-size: 21px; margin-top: 24px; }

/* Phone + floating chips */
.agape-hero-stage {
  position: relative;
  width: min(292px, 66vw);
  margin: 70px auto 0;
}
.agape-phone {
  border-radius: 38px;
  overflow: hidden;
  border: 1px solid rgba(245, 237, 227, 0.18);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.6);
}
.agape-phone .agape-placeholder { aspect-ratio: 9/16; border-radius: 38px; }
.agape-phone-img { width: 100%; aspect-ratio: 9/16; object-fit: cover; }

.agape-stat-chip {
  position: absolute;
  padding: 11px 17px;
  text-align: left;
  min-width: 152px;
  animation: agapeBob 6s ease-in-out infinite;
}
.agape-stat-chip strong { display: block; color: var(--gold); font-family: var(--font-display); font-size: 20px; line-height: 1.2; }
.agape-stat-chip span { display: block; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }
/* The phone is child 1 of the stage, so the chips are children 2-4.
   (:nth-of-type would count the phone — they are all divs.) */
.agape-hero-stage > .agape-stat-chip:nth-child(2) { right: 76%; top: 32%; animation-delay: -0.8s; }
.agape-hero-stage > .agape-stat-chip:nth-child(3) { left: 76%;  top: 10%; animation-delay: -2.6s; }
.agape-hero-stage > .agape-stat-chip:nth-child(4) { left: 68%;  bottom: 14%; animation-delay: -4.2s; }
@keyframes agapeBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------------- Marquee (client logos) ---------------- */
.agape-marquee {
  overflow: hidden;
  margin-top: 66px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.agape-marquee-track { display: flex; align-items: center; gap: 64px; width: max-content; animation: agapeRail 28s linear infinite; }
.agape-marquee:hover .agape-marquee-track { animation-play-state: paused; }
.agape-marquee-track img { height: 38px; width: auto; opacity: 0.6; filter: grayscale(1) brightness(1.6); transition: 0.3s; }
.agape-marquee-track img:hover { opacity: 1; filter: none; }

/* Shared rail keyframe — the track holds two identical sets */
@keyframes agapeRail { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   SECTION 2 · SERVICES  (brief p3 — horizontal auto-scroll rail,
   square cards, animated icons, gradient ring on first + last)
   ============================================================ */
.agape-rail {
  overflow: hidden;
  margin: 44px 0 32px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.agape-rail-track {
  display: flex;
  gap: 22px;
  width: max-content;
  padding: 4px;
  animation: agapeRail var(--agape-rail-speed, 42s) linear infinite;
}
.agape-rail:hover .agape-rail-track,
.agape-rail:focus-within .agape-rail-track { animation-play-state: paused; }
.agape-rail.is-paused .agape-rail-track { animation-play-state: paused; }

.agape-card {
  flex: 0 0 auto;
  width: 274px;
  aspect-ratio: 1;                       /* brief p3: squares, not rectangles */
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.agape-card h3 { margin: 0 0 8px; }
.agape-card p { font-size: 13px; margin: 0; line-height: 1.6; }
.agape-card:hover { transform: translateY(-5px); border-color: rgba(232, 149, 47, 0.42); }

.agape-card-icon, .agape-benefit-icon {
  display: inline-block;
  width: 38px; height: 38px;
  color: var(--amber);
}
.agape-card-icon svg, .agape-benefit-icon svg { width: 100%; height: 100%; }

/* Icons drift continuously, and lift on hover (brief p3) */
.agape-card-icon { animation: agapeDrift 5s ease-in-out infinite; transform-origin: 50% 60%; }
.agape-rail-track > *:nth-child(2n) .agape-card-icon { animation-delay: -1.3s; }
.agape-rail-track > *:nth-child(3n) .agape-card-icon { animation-delay: -2.7s; }
@keyframes agapeDrift {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-7px) rotate(-4deg); }
}
.agape-card:hover .agape-card-icon { color: var(--gold); animation-duration: 2.2s; }

/* First + last card of each set carry the gradient and the running line */
.agape-card-featured { background-image: var(--gradient-soft), linear-gradient(135deg, rgba(255,255,255,0.11), rgba(255,255,255,0.03)); }

/* Card text sits above the glass sheen layer */
.agape-card > * { position: relative; z-index: 1; }

/* ============================================================
   SECTION 3 · REELS  (brief p4 — 4 videos sliding, playing as
   they move; hover stops the slide; swipe on mobile)
   ============================================================ */
.agape-reels-rail { margin: 40px 0 34px; }
.agape-reels-rail .agape-rail-track { gap: 18px; --agape-rail-speed: 46s; }
.agape-reels-rail .agape-reel { flex: 0 0 auto; width: 226px; }

/* ---------------- Video grids (portfolio / vault) ---------------- */
.agape-video-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 44px 0 32px; }
.agape-intro-carousel { grid-template-columns: repeat(3, 1fr); max-width: 880px; margin-left: auto; margin-right: auto; }
.agape-reel { margin: 0; }
.agape-reel video, .agape-reel img {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
  border-radius: 20px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.agape-reel figcaption { font-size: 13px; margin-top: 9px; text-align: center; color: var(--muted); }
.agape-reel.agape-placeholder { aspect-ratio: 9/16; border-radius: 20px; }

/* ---------------- Filter bar ---------------- */
.agape-filter-bar { display: flex; flex-wrap: wrap; gap: 11px; justify-content: center; margin-top: 30px; }
.agape-filter {
  background: transparent; color: var(--muted); border: 1px solid var(--line);
  border-radius: 999px; padding: 9px 20px; font-family: var(--font-body);
  font-size: 13px; font-weight: 600; cursor: pointer; transition: 0.3s;
}
.agape-filter:hover { color: var(--cream); border-color: var(--amber); }
.agape-filter.is-active { background: var(--ember); border-color: var(--ember); color: var(--cream); }
.agape-vault-grid .agape-reel.is-hidden { display: none; }

/* ============================================================
   SECTION 4 · WHY US  (brief p5 — simplified, square tiles)
   ============================================================ */
.agape-benefits-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 54px; align-items: center; }
.agape-benefits-intro .agape-tag { margin-bottom: 18px; }
.agape-benefits-intro h2 { margin-bottom: 14px; }
.agape-benefits-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }

.agape-benefit {
  aspect-ratio: 1;                        /* brief p5: squares, neat finish */
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.agape-benefit > * { position: relative; z-index: 1; }
.agape-benefit h3 { font-size: 17px; font-family: var(--font-body); font-weight: 700; margin: 0; letter-spacing: 0; }
.agape-benefit p { font-size: 13px; margin: 0; line-height: 1.6; }
.agape-benefit-icon { width: 28px; height: 28px; }
.agape-benefit:hover { transform: translateY(-4px); border-color: rgba(232, 149, 47, 0.42); }

/* ---------------- Accordions ---------------- */
.agape-accordion {
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-top: 12px;
  background: rgba(245, 237, 227, 0.03);
  overflow: hidden;
}
.agape-accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 50px 18px 22px;
  color: var(--cream);
  font-weight: 600;
  font-size: 15px;
  position: relative;
}
.agape-accordion summary::-webkit-details-marker { display: none; }
.agape-accordion summary::after {
  content: "+";
  position: absolute; right: 20px; top: 50%;
  transform: translateY(-50%);
  color: var(--amber); font-size: 21px; font-weight: 400;
  transition: transform 0.3s var(--ease);
}
.agape-accordion[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.agape-accordion[open] summary { border-bottom: 1px solid var(--line); }
.agape-accordion ul, .agape-accordion-body { padding: 16px 22px 20px; margin: 0; font-size: 14px; }
.agape-accordion ul { list-style: none; }
.agape-accordion ul li { padding-left: 19px; position: relative; margin-bottom: 9px; }
.agape-accordion ul li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.agape-accordion strong { color: var(--cream); }
#faq h2, #quick-services h2 { margin-bottom: 8px; }
#faq .agape-sub { margin-bottom: 30px; }

/* ---------------- Process timeline ---------------- */
.agape-process { position: relative; padding-left: 46px; max-width: 700px; margin: 44px auto 0; }
.agape-process::before { content: ""; position: absolute; left: 12px; top: 0; bottom: 0; width: 2px; background: var(--line); }
/* The fill is scaled, not resized: --line-progress is rewritten on every
   scroll frame, so animating height here would force layout each time.
   scaleY from the top is visually identical and stays on the compositor. */
.agape-process::after {
  content: ""; position: absolute; left: 12px; top: 0; width: 2px;
  height: 100%;
  transform: scaleY(var(--line-progress, 0));
  transform-origin: top center;
  background: var(--gradient);
  box-shadow: 0 0 12px rgba(232, 149, 47, 0.55);
  transition: transform 0.15s linear;
  will-change: transform;
}
.agape-step { position: relative; opacity: 0.4; transition: opacity 0.5s var(--ease); padding: 24px 0; }
.agape-step::before {
  content: ""; position: absolute; left: -41px; top: 36px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--bg-soft); border: 2px solid var(--line);
  transition: 0.4s var(--ease);
}
.agape-step.is-active { opacity: 1; }
.agape-step.is-active::before { background: var(--ember); border-color: var(--amber); box-shadow: 0 0 14px rgba(201, 69, 28, 0.8); }
.agape-step h3 { margin-bottom: 7px; }
.agape-step p { margin: 0; }

/* ---------------- Contact form ---------------- */
.agape-form { padding: 40px; margin-top: 36px; display: flex; flex-direction: column; gap: 18px; }
/* keep fields above the glass sheen layer */
.agape-form > * { position: relative; z-index: 1; }
.agape-form label { display: flex; flex-direction: column; gap: 7px; color: var(--cream); font-weight: 600; font-size: 13px; }
.agape-form input, .agape-form select, .agape-form textarea {
  background: rgba(245, 237, 227, 0.05);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 15px;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 14px;
}
.agape-form input:focus, .agape-form select:focus, .agape-form textarea:focus { outline: none; border-color: var(--amber); }
.agape-form select option { background: var(--bg-soft); }
.agape-form .agape-btn { align-self: flex-start; }
.agape-hp { position: absolute !important; left: -9999px !important; }
.agape-form-notice { border-radius: 12px; padding: 13px 17px; margin-top: 22px; text-align: center; }
.agape-form-notice.is-ok { background: rgba(102, 187, 106, 0.12); color: #A7D7A9; border: 1px solid rgba(102, 187, 106, 0.4); }
.agape-form-notice.is-err { background: rgba(201, 69, 28, 0.12); color: var(--gold); border: 1px solid rgba(201, 69, 28, 0.4); }

/* ---------------- Booking ---------------- */
.agape-booking { padding-top: 160px; }
.agape-booking-wrap { padding: 30px; margin-top: 36px; }
.agape-booking-wrap > * { position: relative; z-index: 1; }

/* ---------------- Portrait / placeholders ---------------- */
.agape-hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.agape-hero-visual { position: relative; display: flex; justify-content: center; }
.agape-portrait { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 28px; border: 1px solid var(--line); }
.agape-placeholder {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, var(--bg-soft), var(--bg));
  border: 1px dashed rgba(232, 149, 47, 0.4);
  color: var(--muted); font-size: 13px; text-align: center; padding: 18px;
  width: 100%; border-radius: 20px;
}
.agape-portrait.agape-placeholder { aspect-ratio: 4/5; border-radius: 28px; }

/* ---------------- Footer ---------------- */
/* brief p1: verse is not quoted — reference only, centred. */
.agape-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  padding: 82px 24px 46px;
  display: flex; flex-direction: column; align-items: center; gap: 26px;
  text-align: center;
}
.agape-psalm {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 19px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0;
}
.agape-footer-logo img { max-height: 50px; width: auto; margin: 0 auto; }
.agape-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(245, 237, 227, 0.08); color: var(--amber); transition: 0.3s var(--ease);
}
.agape-social a:hover { background: var(--ember); color: var(--cream); }
.agape-social svg { width: 21px; height: 21px; }
.agape-copyright { font-size: 12px; margin: 0; }

/* ---------------- Prose (default pages) ---------------- */
.agape-prose { padding-top: 76px; }
.agape-prose p { color: var(--muted); }

/* ============================================================
   REVEAL — "clean fade as you scroll down or unfold as you
   scroll down" (brief p1). Rise + settle + de-blur, staggered.
   ============================================================ */
[data-agape-reveal] {
  opacity: 0;
  transform: translateY(26px) scale(0.985);
  filter: blur(6px);
  transition:
    opacity   0.9s var(--ease),
    transform 0.9s var(--ease),
    filter    0.9s var(--ease);
  transition-delay: var(--agape-delay, 0ms);
  will-change: opacity, transform;
}
[data-agape-reveal].is-visible { opacity: 1; transform: none; filter: none; }

@media (prefers-reduced-motion: reduce) {
  [data-agape-reveal] { opacity: 1; transform: none; filter: none; transition: none; }
  .agape-marquee-track, .agape-rail-track,
  .agape-card-icon, .agape-stat-chip, .agape-ring::before { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .agape-video-grid { grid-template-columns: repeat(2, 1fr); }
  .agape-benefits-grid { grid-template-columns: 1fr; gap: 36px; }
  .agape-benefits-intro { text-align: center; }
  .agape-benefits-intro .agape-sub { margin-left: auto; margin-right: auto; }
}

@media (max-width: 767px) {
  body { font-size: 14.5px; }
  .agape-section { padding: 64px 0; }
  .agape-hero { padding: 124px 0 48px; }
  .agape-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .agape-intro-carousel { grid-template-columns: 1fr; max-width: 320px; }
  .agape-video-grid { grid-template-columns: repeat(2, 1fr); }
  .agape-form { padding: 26px 20px; }

  /* Hero: chips unpin and wrap into a neat row under the phone */
  .agape-hero-stage {
    width: min(340px, 88vw);
    margin-top: 52px;
    display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  }
  .agape-phone { flex: 0 0 100%; max-width: 244px; margin: 0 auto; }
  .agape-stat-chip {
    position: static; animation: none;
    min-width: 0; flex: 0 0 auto;
    padding: 9px 14px; text-align: center;
  }
  .agape-stat-chip strong { font-size: 17px; }

  /* Rails become swipeable, as the brief asks (p3, p4) */
  .agape-rail {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    -webkit-mask-image: none;
    mask-image: none;
    padding-bottom: 10px;
  }
  .agape-rail::-webkit-scrollbar { display: none; }
  .agape-rail-track { animation: none; width: max-content; }
  .agape-rail-track > * { scroll-snap-align: center; }
  .agape-card { width: 240px; }
  .agape-reels-rail .agape-reel { width: 190px; }

  .agape-benefits-items { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .agape-benefit { padding: 18px 16px; gap: 7px; }
  .agape-benefit h3 { font-size: 14.5px; }
  .agape-benefit p { font-size: 12px; }

  /* Mobile nav */
  .agape-nav-toggle { display: block; margin-left: auto; }
  .agape-header-cta { display: none; }
  .agape-nav {
    position: fixed; inset: 69px 0 auto 0;
    background: rgba(22, 16, 12, 0.97);
    border-bottom: 1px solid var(--line);
    padding: 22px; margin: 0;
    display: none;
  }
  .agape-nav.is-open { display: block; }
  .agape-menu { flex-direction: column; gap: 17px; }
}

/* Squares hold all the way down to the narrowest phones; only below that do
   the tiles relax to their natural height so the copy doesn't get crushed. */
@media (max-width: 359px) {
  .agape-benefits-items { grid-template-columns: 1fr; }
  .agape-benefit { aspect-ratio: auto; }
}
