/* ==========================================================
   Florane Bernardo Mendoza — Portfolio
   Layout concept: a lavender garden journal — photo and text
   share each spread, joined by floral sprigs and soft waves.
   ========================================================== */
/* Self-hosted fonts (SIL Open Font License) */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/nunito-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/nunito-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/nunito-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Pinyon Script"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/pinyon-script-latin-400-normal.woff2") format("woff2"); }

:root {
  --plum: #3b1d5a;        /* headings */
  --violet: #6a4a98;      /* buttons, links */
  --violet-deep: #553a80;
  --lilac: #b9a1d8;       /* accents, icons */
  --mist: #efe6f7;        /* tinted panels */
  --cream: #fcf8f4;       /* page ground */
  --paper: #ffffff;
  --gold: #c4a265;        /* hairlines, flourishes */
  --ink: #4a3c58;         /* body text */
  --muted: #7b6d8a;
  --line: #e2d6ee;

  --f-display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --f-script: "Pinyon Script", "Great Vibes", "Brush Script MT", cursive;
  --f-body: "Nunito Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius: 18px;
  --shadow: 0 18px 40px -22px rgba(59, 29, 90, .35);
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1240px;
  --header-h: 72px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--violet); }
h1, h2, h3 { font-family: var(--f-display); color: var(--plum); font-weight: 600; line-height: 1.08; margin: 0; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--violet); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip-link:focus { top: 12px; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

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

/* ---------- shared type pieces ---------- */
.eyebrow { font-family: var(--f-body); font-size: .78rem; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 14px; }
.eyebrow::after { content: ""; width: 56px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.eyebrow.center::before { content: ""; width: 56px; height: 1px; background: linear-gradient(270deg, var(--gold), transparent); }
.script { font-family: var(--f-script); font-weight: 400; color: var(--violet); }
.lead { font-size: 1.08rem; color: var(--ink); max-width: 58ch; }

.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-body); font-weight: 600; font-size: .92rem; letter-spacing: .04em; text-decoration: none; border: 0; cursor: pointer; border-radius: 999px; padding: 13px 26px; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.btn .icon { width: 1.1em; height: 1.1em; }
.btn-primary { background: linear-gradient(135deg, var(--violet), var(--violet-deep)); color: #fff; box-shadow: 0 10px 24px -12px rgba(85, 58, 128, .7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(85, 58, 128, .8); }
.btn-soft { background: var(--mist); color: var(--plum); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; padding: 11px 22px; }
.btn-soft:hover { background: #e4d6f2; }
.btn-wide { letter-spacing: .28em; text-transform: uppercase; font-size: .82rem; padding: 16px 40px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(252, 248, 244, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(226, 214, 238, .7); transition: box-shadow .25s ease; }
.site-header.is-scrolled { box-shadow: 0 8px 24px -18px rgba(59, 29, 90, .45); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { font-family: var(--f-script); font-size: 2.1rem; color: var(--violet); text-decoration: none; line-height: 1; display: inline-flex; align-items: flex-end; gap: 4px; padding-top: 4px; }
.brand img { width: 26px; height: auto; transform: rotate(18deg); opacity: .9; }
.nav-links { display: flex; align-items: center; gap: clamp(20px, 3.5vw, 52px); }
.nav-links a { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); text-decoration: none; padding: 8px 2px; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--violet); transform: scaleX(0); transition: transform .25s ease; }
.nav-links a:hover::after { transform: scaleX(.5); }
.nav-links a[aria-current="page"] { color: var(--plum); font-weight: 700; }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta { padding: 11px 22px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 12px; width: 46px; height: 42px; color: var(--plum); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }
.nav-toggle[aria-expanded="true"] .i-menu { display: none; }
.mobile-cta { display: none; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-cta.desktop-only { display: none; }
  .nav-links { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--cream); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; box-shadow: 0 18px 30px -24px rgba(59, 29, 90, .5); display: none; }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: .9rem; }
  .nav-links a::after { display: none; }
  .nav-links a[aria-current="page"] { color: var(--violet); }
  .mobile-cta { display: inline-flex; justify-content: center; margin-top: 16px; border-bottom: 0 !important; color: #fff !important; }
}

/* ---------- decorative florals ---------- */
.deco { position: absolute; pointer-events: none; user-select: none; z-index: 0; }
.deco-branch { width: clamp(180px, 22vw, 320px); }
.deco-sprig { width: clamp(90px, 10vw, 150px); }
.flip { transform: scaleX(-1); }

/* ==========================================================
   HOME  (reproduces the approved 1536 x 1024 reference;
   on wide screens the hero keeps that 3:2 canvas so the
   artwork and the text stay in the same relative positions)
   ========================================================== */
@font-face { font-family: "Allura"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/allura-latin-400-normal.woff2") format("woff2"); }
.page-home { --f-hand: "Allura", "Pinyon Script", "Brush Script MT", cursive; --home-ink: #3a2c48; background: #f8f0f2; }

/* header sits on top of the artwork, as in the reference */
.page-home .site-header { position: absolute; left: 0; right: 0; top: env(safe-area-inset-top, 0px); background: transparent; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
.page-home .site-header .wrap { max-width: none; padding: 0; }
.page-home .nav { position: relative; display: block; min-height: 0; height: max(60px, 4.56vw); }
.page-home .nav::after { content: ""; position: absolute; left: 39%; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(160, 136, 170, .28) 12%, rgba(160, 136, 170, .28)); }
.page-home .brand { display: none; }
.page-home .nav-links { position: absolute; left: 52.6%; top: 0; height: 100%; gap: 0; }
.page-home .nav-links a:not(.mobile-cta) { font-size: max(12px, .86vw); letter-spacing: .06em; color: var(--home-ink); padding: 0; width: max(80px, 7.4vw); display: grid; place-items: center; height: 100%; }
.page-home .nav-links a:first-child { width: max(70px, 4.3vw); margin-right: max(16px, 1.8vw); }
.page-home .nav-links a::after { left: 0; right: 0; bottom: 18%; height: 1.5px; background: var(--home-ink); }
.page-home .nav-links a[aria-current="page"] { font-weight: 700; color: var(--plum); }
.page-home .nav-cta { position: absolute; left: 82%; top: 50%; transform: translateY(-50%); width: max(150px, 10.6vw); height: max(38px, 2.75vw); justify-content: center; padding: 0; font-weight: 400; font-size: max(13px, .98vw); letter-spacing: .02em; background: #6c4c99; box-shadow: 0 8px 18px -10px rgba(85, 58, 128, .7); }
.page-home .nav-cta:hover { transform: translateY(calc(-50% - 2px)); }
.page-home .nav-cta .icon { width: 1.25em; height: 1.25em; }
.nav-sprig { position: absolute; left: 92.1%; top: 0; width: 7.9%; pointer-events: none; z-index: 0; }
.page-home .nav-cta { z-index: 1; }

.home-stage { position: relative; overflow: hidden; aspect-ratio: 3 / 2; min-height: 700px; color: var(--home-ink);
  background:
    radial-gradient(30% 24% at 94% 96%, rgba(222, 202, 240, .6), transparent 70%),
    radial-gradient(30% 26% at 96% 40%, rgba(232, 216, 244, .6), transparent 70%),
    radial-gradient(45% 40% at 40% 30%, rgba(250, 229, 228, .8), transparent 70%),
    linear-gradient(180deg, #fcf6f2 0%, #faf3f1 50%, #f7eff3 100%); }
.home-art { position: absolute; left: 0; top: 0; height: 100%; width: auto; max-width: none; z-index: 0; pointer-events: none; }
.home-florals { position: absolute; right: 0; top: 24.4%; width: 16.7%; height: auto; z-index: 0; pointer-events: none; }

.home-content { position: absolute; z-index: 1; left: 34.4%; right: 3.5%; top: 0; bottom: 0; }
.intro { position: absolute; left: 0; width: 82.1%; top: 12.4%; text-align: center; }
.hello { position: relative; display: inline-block; font-family: var(--f-hand); font-size: 3.05vw; line-height: 1; color: var(--plum); margin: 0 0 0 -7.6vw; font-weight: 400; }
.hello .heart { position: absolute; right: -.42em; top: -.52em; width: .62em; height: .62em; stroke: var(--plum); stroke-width: 1.2; fill: none; }
.name-first { display: block; font-family: var(--f-display); font-weight: 600; font-size: 7.75vw; line-height: .8; letter-spacing: .005em; color: var(--plum); margin-top: .7vw; }
.name-rest { display: block; font-family: var(--f-display); font-weight: 500; font-size: 2.78vw; line-height: 1; letter-spacing: .133em; margin-top: 1.05vw; margin-right: -.133em; color: var(--plum); }
.divider { position: relative; display: flex; align-items: center; justify-content: center; gap: .9vw; margin: 1.15vw auto 0; width: 78%; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(150, 128, 140, .25), rgba(150, 128, 140, .6) 30%); }
.divider::after { background: linear-gradient(270deg, rgba(150, 128, 140, .25), rgba(150, 128, 140, .6) 30%); }
.divider svg { width: 2.3vw; height: auto; color: var(--plum); }
.titles { margin-top: 1.25vw; font-size: .83vw; letter-spacing: .3em; text-transform: uppercase; color: var(--plum); display: flex; justify-content: center; white-space: nowrap; margin-right: -.3em; }
.titles span + span::before { content: "|"; margin: 0 .95em; letter-spacing: 0; }
.tagline { margin-top: .95vw; font-family: var(--f-hand); font-size: 1.98vw; line-height: 1.15; color: var(--plum); white-space: nowrap; }

.verse { position: absolute; z-index: 1; left: 72.1%; top: 11.4%; width: 31.6%; aspect-ratio: 300 / 150; }
.verse .swatch { position: absolute; left: -8%; top: -22%; width: 114%; height: 150%; }
.verse-text { position: absolute; inset: 0; transform: rotate(-13deg); transform-origin: 40% 50%; font-family: var(--f-hand); color: var(--plum); }
.verse-text .l1 { position: absolute; left: 10%; top: 12%; font-size: 2.85vw; line-height: 1; }
.verse-text .l2 { position: absolute; left: 14%; top: 45%; font-size: 1.95vw; line-height: 1; white-space: nowrap; }
.verse-text cite { position: absolute; right: 2%; top: 86%; font-family: var(--f-body); font-style: normal; font-size: .66vw; letter-spacing: .26em; color: #6f5f7e; transform: rotate(13deg); transform-origin: right center; white-space: nowrap; }

.contact-pill { position: absolute; left: 0; right: 0; top: 47.7%; height: 7%; margin: 0; display: grid; grid-template-columns: 1.14fr 1.1fr .95fr 1.7fr; align-items: center; background: rgba(255, 255, 255, .72); border: 1px solid rgba(255, 255, 255, .9); border-radius: 999px; box-shadow: 0 10px 30px -18px rgba(90, 60, 110, .35), inset 0 0 0 1px rgba(230, 218, 236, .5); padding: 0 1.6vw 0 2.6vw; max-width: none; text-align: left; flex-wrap: nowrap; }
.contact-pill li { display: flex; align-items: center; gap: 1.5vw; padding: 0 0 0 1.3vw; font-size: .93vw; line-height: 1.25; color: var(--home-ink); height: 56%; }
.contact-pill li:first-child { padding-left: 0; gap: 1.6vw; }
.contact-pill li + li { border-left: 1px solid rgba(110, 90, 130, .4); }
.contact-pill .ico { width: 1.55vw; height: 1.55vw; flex: none; fill: #6a4a98; stroke: none; }
.contact-pill a { color: inherit; text-decoration: none; white-space: nowrap; }
.contact-pill a:hover { color: var(--violet); text-decoration: underline; }

.what-i-do { position: absolute; left: 3.6%; right: 1.5%; top: 56.6%; margin: 0; }
.wid-label { display: flex; align-items: center; justify-content: center; gap: 1.6vw; font-family: var(--f-body); font-weight: 400; font-size: .8vw; letter-spacing: .48em; color: var(--home-ink); margin: 0 0 0 4%; }
.wid-label::before, .wid-label::after { content: ""; width: 5.9vw; height: 1px; background: rgba(110, 90, 130, .35); }
.services-icons { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 .4vw; margin-top: 1.25vw; }
.svc { display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; color: inherit; border-radius: 16px; padding: 0 0 .4vw; gap: 0; transition: transform .25s ease; }
.svc:hover { transform: translateY(-3px); background: none; }
.svc:hover .svc-icon { background: radial-gradient(circle, rgba(222, 202, 240, 1) 0%, rgba(229, 212, 244, .45) 62%, transparent 72%); }
.svc-icon { width: 6.6vw; height: 6.1vw; border-radius: 50%; display: grid; place-items: center; color: var(--plum); background: radial-gradient(circle, rgba(236, 224, 245, .95) 0%, rgba(236, 224, 245, .55) 55%, transparent 71%); transition: background .25s ease; }
.svc-icon .icon { width: 2.95vw; height: 2.95vw; stroke-width: 1.45; }
.svc h3 { margin-top: .45vw; font-family: var(--f-display); font-weight: 500; font-size: 1.24vw; line-height: 1.12; color: var(--plum); min-height: 2.3em; white-space: nowrap; }
.svc p { margin-top: .5vw; font-family: var(--f-body); font-size: .84vw; line-height: 1.35; color: #5f5270; max-width: 9.3vw; }

.home-actions { position: absolute; left: 0; width: 82.1%; top: 82.4%; display: grid; justify-items: center; }
.btn-view { display: inline-flex; align-items: center; justify-content: center; gap: .9vw; width: 16.6vw; height: 2.95vw; border-radius: 999px; color: #fff; text-decoration: none; font-family: var(--f-body); font-size: .9vw; letter-spacing: .3em; padding-left: .3em; background: linear-gradient(180deg, #7a5aa8, #62448f); box-shadow: 0 10px 22px -12px rgba(85, 58, 128, .8); transition: transform .2s ease, box-shadow .2s ease; }
.btn-view:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -12px rgba(85, 58, 128, .9); }
.btn-view .icon { width: 1.3em; height: 1.3em; }
.scroll-cue { margin-top: 1.65vw; display: grid; justify-items: center; gap: .9vw; text-decoration: none; color: #6f5f7e; font-size: .66vw; letter-spacing: .34em; padding-left: .34em; }
.scroll-cue svg { width: 1.45vw; height: auto; stroke: #6f5f7e; fill: none; stroke-width: 1.4; }
.scroll-cue .wheel { animation: wheel 2.2s ease-in-out infinite; }
@keyframes wheel { 0%, 100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(3px); opacity: .4; } }

/* ---- below the 3:2 canvas width: stack the same elements ---- */
@media (max-width: 1099px) {
  .page-home .site-header { position: sticky; background: rgba(252, 246, 243, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(226, 214, 238, .7); }
  .page-home .site-header .wrap { padding-inline: var(--gutter); }
  .page-home .nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
  .page-home .nav::after { display: none; }
  .page-home .brand { display: inline-flex; }
  .page-home .nav-links { position: static; height: auto; }
  .page-home .nav-links a:not(.mobile-cta) { width: auto; height: auto; margin: 0; padding: 8px 2px; font-size: .82rem; letter-spacing: .14em; }
  .page-home .nav-cta { position: static; transform: none; width: auto; height: auto; padding: 10px 20px; font-size: .9rem; }
  .page-home .nav-cta:hover { transform: translateY(-2px); }
  .nav-sprig { display: none; }

  .home-stage { aspect-ratio: auto; min-height: 0; display: grid; }
  .home-art { position: relative; width: 100%; height: clamp(440px, 118vw, 760px); object-fit: cover; object-position: 28% 12%;
    -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, #000 78%, transparent 100%); }
  .home-florals { top: auto; bottom: 0; width: clamp(120px, 26vw, 220px); opacity: .9; }
  .home-content { position: relative; inset: auto; padding: 0 var(--gutter) 48px; display: grid; gap: 26px; justify-items: center; margin-top: -60px; }
  .intro, .what-i-do, .home-actions, .contact-pill, .verse { position: relative; left: auto; right: auto; top: auto; width: 100%; }
  .verse { width: min(78%, 300px); aspect-ratio: 300 / 150; margin: 4px auto; }
  .verse-text .l1 { font-size: clamp(1.9rem, 7vw, 2.6rem); } .verse-text .l2 { font-size: clamp(1.4rem, 5.2vw, 1.95rem); } .verse-text cite { font-size: .6rem; }
  .hello { font-size: clamp(2.4rem, 7vw, 3.4rem); margin-left: -1em; }
  .name-first { font-size: clamp(3.6rem, 15vw, 7.5rem); margin-top: 6px; }
  .name-rest { font-size: clamp(1.15rem, 5vw, 2.6rem); margin-top: 10px; letter-spacing: .12em; margin-right: -.12em; }
  .divider { margin-top: 18px; width: min(560px, 92%); } .divider svg { width: 30px; }
  .titles { margin-top: 16px; font-size: clamp(.68rem, 1.9vw, .9rem); white-space: normal; flex-wrap: wrap; gap: 4px 0; }
  .tagline { margin-top: 12px; font-size: clamp(1.7rem, 5.4vw, 2.4rem); white-space: normal; text-wrap: balance; }
  .contact-pill { height: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 0; padding: 18px 20px; border-radius: 28px; max-width: 720px; }
  .contact-pill li, .contact-pill li:first-child { font-size: .9rem; gap: 12px; height: auto; padding: 4px 14px; }
  .contact-pill li + li { border-left: 0; }
  .contact-pill li:nth-child(even) { border-left: 1px solid rgba(110, 90, 130, .3); }
  .contact-pill .ico { width: 22px; height: 22px; }
  .contact-pill a { white-space: normal; overflow-wrap: anywhere; }
  .wid-label { font-size: .75rem; gap: 18px; margin: 0; } .wid-label::before, .wid-label::after { width: 60px; }
  .services-icons { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 12px; margin-top: 22px; }
  .svc-icon { width: 96px; height: 90px; } .svc-icon .icon { width: 40px; height: 40px; }
  .svc h3 { font-size: 1.2rem; margin-top: 8px; min-height: 0; white-space: normal; }
  .svc p { font-size: .84rem; margin-top: 6px; max-width: 170px; }
  .btn-view { width: auto; height: auto; padding: 16px 40px 16px calc(40px + .3em); font-size: .82rem; gap: 12px; }
  .scroll-cue { font-size: .64rem; gap: 10px; margin-top: 22px; } .scroll-cue svg { width: 20px; }
}
@media (max-width: 860px) {
  .page-home .nav-cta.desktop-only { display: none; }
  .page-home .nav-links { position: absolute; left: 0; right: 0; top: 100%; }
  .page-home .nav-links a:not(.mobile-cta) { padding: 14px 4px; font-size: .9rem; display: block; }
  .page-home .mobile-cta { display: inline-flex; }
}
@media (max-width: 560px) {
  .contact-pill { grid-template-columns: 1fr; padding: 12px 18px; }
  .contact-pill li, .contact-pill li:nth-child(even) { border-left: 0; padding: 10px 4px; }
  .contact-pill li + li { border-top: 1px solid rgba(110, 90, 130, .2); }
  .services-icons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .titles { flex-direction: column; } .titles span + span::before { display: none; }
  .hello { margin-left: 0; }
}

/* ==========================================================
   SERVICES  (reproduces the approved 1536 x 1024 reference.
   Wide screens keep its 3:2 composition; all positions are
   % of the stage and all sizes are cqw = 1/100 stage width,
   so 1 reference pixel = 0.0651cqw.)
   ========================================================== */
.page-services { --f-hand: "Allura", "Pinyon Script", "Brush Script MT", cursive; --svc-ink: #3a2c48; background: #fbf3ee; }

/* navigation: same layout as the Home page, in a bar above the design */
.page-services .site-header { position: relative; top: auto; background: linear-gradient(180deg, #fdf8f4, #fbf3ee); border-bottom: 1px solid rgba(200, 182, 210, .45); backdrop-filter: none; -webkit-backdrop-filter: none; }
.page-services .site-header .wrap { max-width: none; padding: 0; }
.page-services .nav { position: relative; display: block; min-height: 0; height: max(60px, 4.56vw); }
.page-services .brand { display: none; }
.page-services .nav-links { position: absolute; left: 52.6%; top: 0; height: 100%; gap: 0; }
.page-services .nav-links a:not(.mobile-cta) { font-size: max(12px, .86vw); letter-spacing: .06em; color: var(--svc-ink); padding: 0; width: max(80px, 7.4vw); display: grid; place-items: center; height: 100%; }
.page-services .nav-links a:not(.mobile-cta):first-child { width: max(70px, 4.3vw); margin-right: max(16px, 1.8vw); }
.page-services .nav-links a::after { left: 0; right: 0; bottom: 18%; height: 1.5px; background: var(--svc-ink); }
.page-services .nav-links a[aria-current="page"] { font-weight: 700; color: var(--plum); }
.page-services .nav-cta { position: absolute; left: 82%; top: 50%; transform: translateY(-50%); width: max(150px, 10.6vw); height: max(38px, 2.75vw); justify-content: center; padding: 0; font-weight: 400; font-size: max(13px, .98vw); letter-spacing: .02em; background: #6c4c99; box-shadow: 0 8px 18px -10px rgba(85, 58, 128, .7); z-index: 1; }
.page-services .nav-cta:hover { transform: translateY(calc(-50% - 2px)); }
.page-services .nav-cta .icon { width: 1.25em; height: 1.25em; }

/* stage */
.svc-stage { position: relative; overflow: hidden; aspect-ratio: 3 / 2; container-type: inline-size; color: var(--svc-ink);
  background:
    radial-gradient(40% 28% at 22% 2%, rgba(248, 230, 232, .9), transparent 70%),
    radial-gradient(30% 30% at 10% 60%, rgba(244, 232, 238, .6), transparent 70%),
    linear-gradient(180deg, #fcf5f0 0%, #fbf3ee 50%, #f9f0ec 100%); }
.svc-stage picture { display: contents; }
.svc-scene { position: absolute; right: 0; top: 0; height: 100%; width: auto; max-width: none; z-index: 0; }
.svc-deco { position: absolute; z-index: 0; pointer-events: none; height: auto; max-width: none; }
.d-tl { left: 0; top: 0; width: 14cqw; }
.d-top { left: 43.3%; top: 0; width: 15.3cqw; }
.d-head { left: 24.4%; top: 6.84%; width: 4.88cqw; }
.d-branch { left: 38.4%; top: 20.5%; width: 12.24cqw; }
.d-l1 { left: 0; top: 17.2%; width: 7.29cqw; }
.d-l2 { left: .52%; top: 39.06%; width: 9.38cqw; }
.d-l3 { left: 0; top: 84.77%; width: 8.72cqw; }
.d-social { left: 50.78%; top: 49.32%; width: 6.84cqw; }
.svc-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; fill: none; pointer-events: none; }

/* heading */
.svc-intro { position: absolute; z-index: 1; left: 7.81%; top: 4.6%; width: 46%; }
.svc-eyebrow { position: absolute; left: 10.6%; top: 0; width: 46.2%; display: flex; align-items: center; justify-content: space-between; font-family: var(--f-display); font-size: 1.45cqw; letter-spacing: .3em; color: var(--plum); margin: 0; }
.svc-eyebrow::before, .svc-eyebrow::after { content: ""; width: 5.3cqw; height: 1px; background: rgba(90, 70, 110, .55); }
.svc-intro h1 { margin: 0; padding-top: 4.15cqw; font-family: var(--f-display); font-weight: 600; font-size: 4.15cqw; letter-spacing: -.005em; line-height: 1; color: var(--plum); white-space: nowrap; }
.svc-script { font-family: var(--f-hand); font-weight: 400; font-size: 1.24em; margin-left: .05em; color: var(--plum); position: relative; top: -.02em; }
.svc-lead { margin: .2cqw 0 0 .15cqw; font-family: var(--f-display); font-size: 1.37cqw; line-height: 1.2; color: #5a4a6a; }
.svc-note { position: absolute; z-index: 1; left: 53.4%; top: 22.6%; width: 9.5cqw; margin: 0; font-family: var(--f-hand); font-size: 1.78cqw; line-height: .95; color: var(--violet); transform: rotate(-33deg); transform-origin: left top; display: grid; text-shadow: 0 0 6px #fbf3ee; }
.svc-note span:nth-child(1) { padding-left: 0; } .svc-note span:nth-child(2) { padding-left: 1.1cqw; } .svc-note span:nth-child(3) { padding-left: 0; } .svc-note span:nth-child(4) { padding-left: 2.1cqw; }
.svc-note svg { width: .65em; height: .65em; fill: none; stroke: currentColor; stroke-width: 1.4; vertical-align: -.05em; margin-left: .1em; }

/* service rows */
.svc-row { position: absolute; z-index: 1; left: 0; width: 66%; height: 22%; }
.svc-row-1 { top: 30.8%; } .svc-row-2 { top: 55%; } .svc-row-3 { top: 76.7%; }
.svc-text { position: absolute; left: 0; top: 0; width: 34cqw; height: 100%; }
.svc-num { position: absolute; left: 2.4cqw; top: 1.4cqw; width: 3.12cqw; height: 3.12cqw; border-radius: 50%; border: 1px solid rgba(160, 140, 175, .5); background: rgba(255, 255, 255, .55); display: grid; place-items: center; font-family: var(--f-display); font-weight: 500; font-size: 1.6cqw; color: var(--plum); }
.svc-ico { position: absolute; left: 5.92cqw; top: -.1cqw; width: 4.7cqw; height: 4.7cqw; border-radius: 50%; display: grid; place-items: center; color: var(--plum); background: radial-gradient(circle, #e6d3ef 0%, #ecdcf3 60%, rgba(236, 220, 243, .6) 100%); }
.svc-ico .icon { width: 2.75cqw; height: 2.75cqw; stroke-width: 1.7; }
.svc-text h2 { position: absolute; left: 11.46cqw; top: -.25cqw; margin: 0; font-family: var(--f-display); font-weight: 600; font-size: 1.96cqw; line-height: 1.15; color: var(--plum); white-space: nowrap; }
.svc-tags { position: absolute; left: 11.5cqw; top: 2.65cqw; margin: 0; font-family: var(--f-display); font-size: .7cqw; letter-spacing: .22em; text-transform: uppercase; color: #7b6b8a; white-space: nowrap; }
.svc-desc { position: absolute; left: 11.46cqw; top: 4.45cqw; margin: 0; font-family: var(--f-display); font-weight: 500; font-size: .97cqw; line-height: 1.17; color: #443655; white-space: nowrap; }
.svc-row-2 .svc-tags, .svc-row-3 .svc-tags { top: 2.6cqw; }
.svc-btn { position: absolute; left: 11.46cqw; width: 11.6cqw; height: 1.98cqw; border: 0; border-radius: 999px; background: rgba(227, 211, 238, .85); color: var(--plum); font-family: var(--f-display); font-size: .82cqw; font-weight: 600; letter-spacing: .2em; display: flex; align-items: center; justify-content: center; gap: .9cqw; cursor: pointer; transition: background-color .2s ease, transform .2s ease; }
.svc-row-1 .svc-btn { top: 9.65cqw; } .svc-row-2 .svc-btn { top: 8.75cqw; } .svc-row-3 .svc-btn { top: 9.55cqw; }
.svc-btn:hover { background: #dcc6ec; transform: translateY(-1px); }
.svc-arrow { width: 1.75cqw; height: auto; fill: none; stroke: currentColor; stroke-width: 1.4; }

/* work samples */
.svc-samples { position: absolute; margin: 0; }
.smp { display: block; padding: 0; border: 0; background: none; cursor: zoom-in; width: 100%; }
.smp img { display: block; width: 100%; height: auto; transition: transform .3s ease; }
.smp:hover img { transform: scale(1.03); }
.svc-samples figcaption, .smp-cap { font-family: var(--f-display); font-size: .87cqw; color: #4f405f; text-align: center; margin: 0; }
.smp-va { left: 31.9cqw; top: -.25cqw; width: 32.1cqw; padding: .3cqw .3cqw .5cqw; display: grid; grid-template-columns: 153fr 155fr 151fr; gap: .45cqw; background: rgba(255, 255, 255, .72); border-radius: .7cqw; box-shadow: 0 .6cqw 1.6cqw -1cqw rgba(80, 55, 100, .35); }
.smp-va figure { margin: 0; display: grid; gap: .55cqw; }
.smp-va .smp { border-radius: .45cqw; overflow: hidden; }
.smp-smm { left: 32.55cqw; top: -.15cqw; width: 24.8cqw; display: grid; grid-template-columns: 111fr 110fr 127fr; gap: .72cqw; }
.smp-smm .smp { border-radius: .4cqw; overflow: hidden; box-shadow: 0 .5cqw 1.2cqw -.7cqw rgba(80, 55, 100, .45); }
.smp-smm .smp-cap { grid-column: 1 / -1; margin-top: .6cqw; margin-right: 2cqw; }
.smp-out { left: 34cqw; top: -1.1cqw; width: 30.5cqw; display: grid; grid-template-columns: 187fr 260fr; gap: .9cqw; align-items: start; }
.smp-out .smp { border-radius: .45cqw; overflow: hidden; box-shadow: 0 .6cqw 1.4cqw -.8cqw rgba(80, 55, 100, .45); }
.smp-out .smp:nth-child(2) { margin-top: .65cqw; }
.smp-out .smp-cap { grid-column: 1 / -1; margin-top: .5cqw; padding-left: 4cqw; }
br.d { display: inline; }

/* ---- below the 3:2 composition: stack in the same order ---- */
@media (max-width: 1099px) {
  .page-services .site-header { position: sticky; top: env(safe-area-inset-top, 0px); background: rgba(252, 246, 243, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .page-services .site-header .wrap { padding-inline: var(--gutter); }
  .page-services .nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
  .page-services .brand { display: inline-flex; }
  .page-services .nav-links { position: static; height: auto; }
  .page-services .nav-links a:not(.mobile-cta) { width: auto; height: auto; margin: 0; padding: 8px 2px; font-size: .82rem; letter-spacing: .14em; }
  .page-services .nav-cta { position: static; transform: none; width: auto; height: auto; padding: 10px 20px; font-size: .9rem; }
  .page-services .nav-cta:hover { transform: translateY(-2px); }
  .page-services .nav-sprig { display: none; }
  br.d { display: none; }

  .svc-stage { aspect-ratio: auto; container-type: normal; display: flex; flex-direction: column; padding: 28px var(--gutter) 56px; gap: 0; }
  .svc-lines, .d-top, .d-branch, .d-social, .d-l2, .svc-note { display: none; }
  .d-tl { width: clamp(110px, 24vw, 200px); } .d-head { display: none; }
  .d-l1 { top: auto; bottom: 40%; width: 80px; opacity: .6; } .d-l3 { width: 100px; opacity: .7; top: auto; bottom: 0; }
  .svc-intro { position: relative; left: auto; top: auto; width: 100%; text-align: center; padding-top: 20px; }
  .svc-eyebrow { position: static; width: auto; justify-content: center; gap: 18px; font-size: .95rem; }
  .svc-eyebrow::before, .svc-eyebrow::after { width: 60px; }
  .svc-intro h1 { padding-top: 14px; font-size: clamp(2.5rem, 9vw, 4.4rem); white-space: normal; text-wrap: balance; }
  .svc-lead { font-size: clamp(1.1rem, 2.6vw, 1.35rem); margin: 12px auto 0; max-width: 34ch; }
  .svc-scene { position: relative; order: 0; width: calc(100% + var(--gutter) * 2); max-width: none; height: clamp(360px, 90vw, 620px); margin: 26px calc(var(--gutter) * -1) 8px; object-fit: cover; object-position: 50% 30%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 10%, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 10%, #000 82%, transparent 100%); }
  .svc-intro { order: -1; }
  .svc-row { position: relative; left: auto; top: auto !important; width: 100%; height: auto; padding: 30px 0 34px; display: grid; gap: 22px; }
  .svc-row + .svc-row { border-top: 1px solid rgba(201, 169, 110, .4); }
  .svc-text { position: relative; width: auto; height: auto; display: grid; grid-template-columns: auto auto 1fr; gap: 6px 14px; align-items: center; }
  .svc-num, .svc-ico, .svc-text h2, .svc-tags, .svc-desc, .svc-btn { position: static; }
  .svc-num { width: 46px; height: 46px; font-size: 1.3rem; }
  .svc-ico { width: 64px; height: 64px; } .svc-ico .icon { width: 32px; height: 32px; }
  .svc-text h2 { font-size: clamp(1.6rem, 4.8vw, 2.2rem); white-space: normal; }
  .svc-tags, .svc-desc, .svc-btn { grid-column: 1 / -1; }
  .svc-tags { font-size: .7rem; white-space: normal; margin-top: 6px; }
  .svc-desc { font-size: 1.12rem; line-height: 1.45; white-space: normal; max-width: 52ch; }
  .svc-btn { width: auto; justify-self: start; height: auto; padding: 11px 22px; font-size: .78rem; gap: 12px; margin-top: 8px; }
  .svc-arrow { width: 30px; }
  .svc-samples { position: relative; left: auto; top: auto; width: 100%; }
  .smp-va { padding: 8px 8px 10px; gap: 8px; border-radius: 12px; }
  .smp-smm, .smp-out { gap: 10px; }
  .svc-samples figcaption, .smp-cap { font-size: .9rem; }
  .smp-smm .smp-cap, .smp-out .smp-cap { margin: 6px 0 0; padding: 0; }
  .smp-va .smp, .smp-smm .smp, .smp-out .smp { border-radius: 8px; }
}
@media (max-width: 860px) {
  .page-services .nav-cta.desktop-only { display: none; }
  .page-services .nav-links { position: absolute; left: 0; right: 0; top: 100%; }
  .page-services .nav-links a:not(.mobile-cta) { padding: 14px 4px; font-size: .9rem; display: block; }
  .page-services .mobile-cta { display: inline-flex; }
}
@media (max-width: 520px) {
  .smp-va { grid-template-columns: 1fr 1fr; } .smp-va figure:nth-child(3) { grid-column: 1 / -1; width: 60%; justify-self: center; }
  .smp-out { grid-template-columns: 1fr; } .smp-out .smp:nth-child(2) { margin-top: 0; }
  .svc-samples figcaption { font-size: .82rem; }
}

/* ==========================================================
   FAITH & MUSIC  (reproduces the approved 1536 x 1024 reference,
   navigation included. Wide screens keep its 3:2 composition:
   positions are % of the stage, sizes are cqw = stage width / 100)
   ========================================================== */
.page-faith { --f-hand: "Allura", "Pinyon Script", "Brush Script MT", cursive; --fm-ink: #3a2c48; background: #fbf5f3; }

/* navigation as drawn in the reference: logo left of centre, serif links */
.page-faith .site-header { position: absolute; left: 0; right: 0; top: env(safe-area-inset-top, 0px); background: transparent; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
.page-faith .site-header .wrap { max-width: none; padding: 0; }
.page-faith .nav { position: relative; display: block; min-height: 0; height: max(56px, 4.04vw); }
.page-faith .brand { position: absolute; left: 25.9%; top: 50%; transform: translateY(-50%); font-family: var(--f-hand); font-size: max(26px, 2.75vw); color: var(--plum); padding: 0; gap: .1em; align-items: center; }
.page-faith .brand img { width: .7em; transform: rotate(28deg); margin-top: -.3em; }
.page-faith .nav-links { position: absolute; inset: 0; gap: 0; }
.page-faith .nav-links a:not(.mobile-cta) { position: absolute; top: 0; height: 100%; display: grid; place-items: center; transform: translateX(-50%); padding: 0 2px; font-family: var(--f-display); font-size: max(12px, .93vw); letter-spacing: .02em; color: var(--fm-ink); white-space: nowrap; }
.page-faith .nav-links a:not(.mobile-cta):nth-child(1) { left: 46.16%; }
.page-faith .nav-links a:not(.mobile-cta):nth-child(2) { left: 52.15%; }
.page-faith .nav-links a:not(.mobile-cta):nth-child(3) { left: 60.09%; }
.page-faith .nav-links a::after { left: 0; right: 0; bottom: 22%; height: 1.5px; background: var(--plum); }
.page-faith .nav-links a[aria-current="page"] { font-weight: 600; color: var(--plum); }
.page-faith .nav-cta { position: absolute; left: 82.5%; top: 50%; transform: translateY(-50%); width: max(140px, 10.16vw); height: max(36px, 2.45vw); justify-content: center; padding: 0; font-family: var(--f-display); font-weight: 500; font-size: max(13px, 1vw); letter-spacing: .01em; background: #6c4c99; box-shadow: 0 8px 18px -10px rgba(85, 58, 128, .7); z-index: 1; }
.page-faith .nav-cta:hover { transform: translateY(calc(-50% - 2px)); }
.page-faith .nav-cta .icon { width: 1.3em; height: 1.3em; }
.page-faith .fm-nav-sprig { left: 92.45%; width: 7.16%; }

/* stage */
.fm-stage { position: relative; overflow: hidden; aspect-ratio: 3 / 2; container-type: inline-size; color: var(--fm-ink);
  background:
    radial-gradient(34% 40% at 16% 30%, rgba(226, 208, 240, .85), transparent 72%),
    radial-gradient(30% 30% at 4% 12%, rgba(232, 216, 242, .6), transparent 70%),
    linear-gradient(180deg, #fcf8f6 0%, #fcf8f6 5.5%, #f8eff4 6%, #f6eef3 45%, #f8f1f2 70%, #f4ebf3 100%); }
.fm-deco { position: absolute; z-index: 1; pointer-events: none; height: auto; max-width: none; }
.fd-tl { left: 0; top: 0; width: 22.46cqw; }
.fd-left { left: 0; top: 15.63%; width: 5.86cqw; }
.fd-mid { left: 52.08%; top: 83.01%; width: 4.3cqw; z-index: 3; }
.fd-bl { left: 0; top: 86.52%; width: 17.06cqw; z-index: 3; }
.fd-bc { left: 45.57%; top: 87.3%; width: 13.8cqw; z-index: 3; }
.fd-br { left: 85.94%; top: 86.52%; width: 14.06cqw; z-index: 3; }
.fm-hero-img { position: absolute; left: 33.85%; top: 5.47%; width: 66.15cqw; height: auto; max-width: none; z-index: 0; }
.fm-wave { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

/* hero copy */
.fm-hero { position: absolute; z-index: 2; left: 4.04%; top: 10.4%; width: 34cqw; }
.fm-eyebrow { margin: 0 0 0 .26cqw; display: flex; align-items: center; gap: 1.1cqw; font-family: var(--f-display); font-size: .98cqw; letter-spacing: .4em; color: var(--fm-ink); }
.fm-eyebrow::after { content: ""; width: 3.4cqw; height: 1px; background: #d7a9b6; }
.fm-hero h1 { margin: 1.1cqw 0 0; font-family: var(--f-display); color: var(--plum); line-height: 1; }
.fm-h1a { display: block; font-weight: 600; font-size: 4.3cqw; letter-spacing: -.01em; white-space: nowrap; }
.fm-h1b { display: block; font-family: var(--f-hand); font-weight: 400; font-size: 4.05cqw; margin: .1cqw 0 0 1.7cqw; white-space: nowrap; }
.fm-lead { margin: .5cqw 0 0 1.5cqw; font-family: var(--f-display); font-weight: 500; font-size: 1.2cqw; line-height: 1.22; color: #4b3768; }
.fm-btn { display: inline-flex; align-items: center; justify-content: center; gap: .9cqw; border: 0; border-radius: 999px; cursor: pointer; text-decoration: none; color: #fff; font-family: var(--f-display); font-weight: 500; background: linear-gradient(180deg, #7d5daa, #644590); box-shadow: 0 .7cqw 1.4cqw -.8cqw rgba(85, 58, 128, .8); transition: transform .2s ease, box-shadow .2s ease; }
.fm-btn:hover { transform: translateY(-2px); }
.fm-btn .icon { width: 1.35em; height: 1.35em; }
.fm-btn-hero { margin: 1.15cqw 0 0 1.75cqw; width: 14.26cqw; height: 2.67cqw; font-size: 1.07cqw; }
.fm-psalm { position: absolute; z-index: 2; left: 30.9%; top: 34.3%; width: 13cqw; margin: 0; }
.fm-psalm img { position: absolute; left: -.65cqw; top: 3.05cqw; width: 3.78cqw; height: auto; }
.fm-psalm blockquote { margin: 0 0 0 2.2cqw; transform: rotate(-12deg); transform-origin: left center; }
.fm-psalm blockquote p { margin: 0; font-family: var(--f-hand); font-size: 1.78cqw; line-height: 1.1; color: var(--plum); text-shadow: 0 0 6px rgba(250, 242, 246, .9); }
.fm-psalm blockquote p br + * { margin-left: 2cqw; }
.fm-psalm figcaption { margin: .9cqw 0 0 6.1cqw; font-family: var(--f-display); font-size: .72cqw; letter-spacing: .3em; color: #5f4f70; }

/* panels */
.fm-panel { position: absolute; z-index: 2; top: 46.7%; height: 27.15cqw; border-radius: .9cqw; background: linear-gradient(180deg, rgba(253, 244, 242, .82), rgba(252, 242, 241, .7)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .85), 0 .8cqw 2cqw -1.4cqw rgba(90, 60, 110, .3); }
.fm-p1 { left: 1.43%; width: 34.24cqw; }
.fm-p2 { left: 36.13%; width: 41.02cqw; }
.fm-p3 { left: 77.47%; width: 21.61cqw; }
.fm-badge { position: absolute; left: 1.17cqw; top: .78cqw; width: 4.56cqw; height: 4.56cqw; border-radius: 50%; display: grid; place-items: center; color: var(--violet); background: radial-gradient(circle, #eadcf3 0%, #efe4f6 65%, rgba(239, 228, 246, .7) 100%); }
.fm-p2 .fm-badge { left: .85cqw; } .fm-p3 .fm-badge { left: .52cqw; }
.fm-badge .icon { width: 2.4cqw; height: 2.4cqw; stroke-width: 1.4; }
.fm-panel h2 { position: absolute; left: 6.84cqw; top: 1.5cqw; margin: 0; font-family: var(--f-display); font-weight: 600; font-size: 1.8cqw; line-height: 1.1; color: var(--plum); white-space: nowrap; }
.fm-p2 h2 { left: 6.51cqw; } .fm-p3 h2 { left: 6.12cqw; }
.fm-kicker { position: absolute; left: 6.9cqw; top: 4.2cqw; margin: 0; font-family: var(--f-display); font-size: .64cqw; letter-spacing: .22em; text-transform: uppercase; color: #7b6b8a; white-space: nowrap; }
.fm-p2 .fm-kicker { left: 6.57cqw; } .fm-p3 .fm-kicker { left: 6.12cqw; letter-spacing: .15em; }
.fm-text { position: absolute; left: 2.28cqw; top: 6.15cqw; margin: 0; font-family: var(--f-display); font-weight: 500; font-size: .9cqw; line-height: 1.22; color: #574477; white-space: nowrap; }
.fm-p2 .fm-text { left: 1.76cqw; top: 6.45cqw; } .fm-p3 .fm-text { left: 1.76cqw; top: 6.05cqw; }
.fm-list { position: absolute; left: 2.6cqw; top: 12.5cqw; margin: 0; display: grid; gap: .62cqw; }
.fm-p2 .fm-list { left: 2.73cqw; top: 13.75cqw; } .fm-p3 .fm-list { left: 1.95cqw; top: 12.3cqw; gap: .32cqw; }
.fm-list li { display: flex; align-items: center; gap: 1cqw; font-family: var(--f-display); font-weight: 500; font-size: .93cqw; line-height: 1.1; color: #574477; white-space: nowrap; }
.fm-list .icon { width: 1.15cqw; height: 1.15cqw; color: var(--violet); stroke-width: 1.6; }
.fm-btn-panel { position: absolute; left: 2.34cqw; top: 22.72cqw; width: 14.39cqw; height: 2.8cqw; font-size: 1.05cqw; }
.fm-p2 .fm-btn-panel { left: 1.56cqw; width: 15.1cqw; }

.fm-photos { position: absolute; inset: 0; pointer-events: none; }
.fm-photo { position: absolute; padding: 0; border: 0; background: #fff; cursor: zoom-in; overflow: hidden; pointer-events: auto; border-radius: .35cqw; box-shadow: 0 .5cqw 1.2cqw -.8cqw rgba(60, 40, 80, .5); }
.fm-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.fm-photo:hover img { transform: scale(1.04); }
.ph-blue { left: 21.94cqw; top: .78cqw; width: 11.78cqw; height: 14.32cqw; }
.ph-red { left: 19.66cqw; top: 15.23cqw; width: 14.06cqw; height: 11.59cqw; }
.ph-facade { left: 22.27cqw; top: .78cqw; width: 18.49cqw; height: 12.7cqw; }
.ph-altar { left: 19.53cqw; top: 13.67cqw; width: 7.23cqw; height: 5.99cqw; }
.ph-mary { left: 27.02cqw; top: 13.67cqw; width: 7.23cqw; height: 13.02cqw; }
.ph-flower { left: 34.51cqw; top: 13.67cqw; width: 6.25cqw; height: 7.81cqw; }
.ph-purple { left: 19.53cqw; top: 19.86cqw; width: 7.23cqw; height: 6.84cqw; }
.ph-altar2 { left: 34.51cqw; top: 21.74cqw; width: 6.25cqw; height: 4.95cqw; }
.fm-inst { inset: auto; left: .33cqw; top: 19.4cqw; width: 20.95cqw; height: 7.55cqw; display: grid; grid-template-columns: repeat(3, 1fr); gap: .2cqw; }
.fm-inst .fm-photo { position: relative; width: 100%; height: 100%; border-radius: .3cqw; }

/* closing */
.fm-closing { position: absolute; z-index: 2; left: 0; right: 0; top: 89.4%; height: 10.6%; }
.fm-verse { position: absolute; left: 10%; width: 42.5%; top: 0; margin: 0; text-align: center; }
.fm-verse p { margin: 0; font-family: var(--f-hand); font-size: 1.78cqw; line-height: 1.2; color: var(--plum); white-space: nowrap; }
.fm-verse cite { display: block; margin-top: .55cqw; font-style: normal; font-family: var(--f-display); font-size: .74cqw; letter-spacing: .32em; color: #5f4f70; }
.fm-message { position: absolute; left: 63.2%; top: .45cqw; margin: 0; font-family: var(--f-display); font-weight: 500; font-size: .9cqw; line-height: 1.42; color: #574477; white-space: nowrap; }
.fm-heart { position: absolute; left: 21.4cqw; top: -.3cqw; width: 1.6cqw; height: auto; fill: none; stroke: var(--violet); stroke-width: 1.1; }

/* ---- below the 3:2 composition: same content, stacked ---- */
@media (max-width: 1099px) {
  .page-faith .site-header { position: sticky; background: rgba(252, 246, 243, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(226, 214, 238, .7); }
  .page-faith .site-header .wrap { padding-inline: var(--gutter); }
  .page-faith .nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
  .page-faith .brand { position: static; transform: none; font-size: 2rem; }
  .page-faith .nav-links { position: static; display: flex; gap: clamp(18px, 3vw, 36px); }
  .page-faith .nav-links a:not(.mobile-cta) { position: static; transform: none; width: auto !important; height: auto; padding: 8px 2px; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; }
  .page-faith .nav-cta { position: static; transform: none; width: auto; height: auto; padding: 10px 20px; font-size: 1rem; }
  .page-faith .nav-cta:hover { transform: translateY(-2px); }
  .page-faith .nav-sprig { display: none; }

  .fm-stage { aspect-ratio: auto; container-type: normal; display: flex; flex-direction: column; gap: 20px; padding: 0 var(--gutter) 0; }
  .fm-wave, .fd-left, .fd-mid, .fd-bc { display: none; }
  .fd-tl { width: clamp(140px, 34vw, 260px); z-index: 0; }
  .fm-hero-img { position: relative; left: auto; top: auto; order: -2; width: calc(100% + var(--gutter) * 2); margin: 0 calc(var(--gutter) * -1); height: clamp(260px, 56vw, 480px); object-fit: cover; object-position: 48% 40%;
    -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent 100%); mask-image: linear-gradient(180deg, #000 80%, transparent 100%); }
  .fm-hero { position: relative; left: auto; top: auto; width: 100%; margin-top: -24px; }
  .fm-eyebrow { font-size: .78rem; gap: 14px; margin: 0; } .fm-eyebrow::after { width: 50px; }
  .fm-hero h1 { margin-top: 12px; }
  .fm-h1a { font-size: clamp(2.5rem, 8.6vw, 4.2rem); white-space: normal; }
  .fm-h1b { font-size: clamp(2.6rem, 9vw, 4.4rem); margin: 0 0 0 .4em; white-space: normal; }
  .fm-lead { margin: 14px 0 0; font-size: clamp(1.1rem, 2.8vw, 1.3rem); line-height: 1.45; max-width: 44ch; }
  .fm-btn-hero { margin: 20px 0 0; width: auto; height: auto; padding: 13px 26px; font-size: 1.05rem; gap: 12px; }
  .fm-psalm { position: relative; left: auto; top: auto; width: auto; align-self: center; margin: 10px 0 6px; text-align: center; }
  .fm-psalm img { display: none; }
  .fm-psalm blockquote { margin: 0; transform: rotate(-6deg); transform-origin: center; }
  .fm-psalm blockquote p { font-size: clamp(1.8rem, 5.6vw, 2.4rem); }
  .fm-psalm figcaption { margin: 12px 0 0; font-size: .7rem; }
  br.d { display: none; }

  .fm-panel { position: relative; left: auto !important; top: auto; width: 100% !important; height: auto; border-radius: 18px; padding: 22px 20px 24px; display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; }
  .fm-badge, .fm-panel h2, .fm-kicker, .fm-text, .fm-list, .fm-btn-panel { position: static; }
  .fm-badge { grid-row: span 2; width: 64px; height: 64px; } .fm-badge .icon { width: 32px; height: 32px; }
  .fm-panel h2 { font-size: clamp(1.7rem, 5vw, 2.2rem); white-space: normal; align-self: end; }
  .fm-kicker { font-size: .66rem; white-space: normal; align-self: start; margin-top: 4px; }
  .fm-text, .fm-list, .fm-btn-panel, .fm-photos { grid-column: 1 / -1; }
  .fm-text { margin-top: 16px; font-size: 1.1rem; line-height: 1.45; white-space: normal; }
  .fm-list, .fm-p3 .fm-list { margin-top: 16px; gap: 10px; }
  .fm-list li { font-size: 1.05rem; gap: 12px; white-space: normal; } .fm-list .icon { width: 18px; height: 18px; }
  .fm-btn-panel, .fm-p2 .fm-btn-panel { width: auto; height: auto; justify-self: start; padding: 12px 24px; margin-top: 20px; font-size: 1rem; gap: 12px; }
  .fm-photos { position: relative; inset: auto; margin-top: 20px; display: grid; gap: 8px; pointer-events: auto; }
  .fm-photo { position: relative !important; left: auto !important; top: auto !important; width: 100% !important; height: 100% !important; border-radius: 10px; }
  .fm-sing { grid-template-columns: 1fr 1.15fr; grid-auto-rows: clamp(200px, 48vw, 360px); }
  .fm-church { grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(90px, 22vw, 170px); }
  .fm-church .ph-facade { grid-column: 1 / -1; grid-row: span 2; }
  .fm-church .ph-mary { grid-row: span 2; }
  .fm-inst, .fm-p3 .fm-inst { left: auto; top: auto; width: 100%; height: clamp(110px, 28vw, 220px); }
  .fm-closing { position: relative; top: auto; height: auto; left: auto; right: auto; display: grid; gap: 18px; justify-items: center; text-align: center; padding: 34px var(--gutter) 120px; margin: 10px calc(var(--gutter) * -1) 0; background: linear-gradient(180deg, #efe3f5, #dcc6ea); }
  .fm-verse, .fm-message { position: static; width: auto; }
  .fm-verse p { font-size: clamp(1.9rem, 6vw, 2.8rem); white-space: normal; text-wrap: balance; }
  .fm-verse cite { font-size: .72rem; margin-top: 8px; }
  .fm-message { font-size: 1.1rem; line-height: 1.5; white-space: normal; max-width: 40ch; }
  .fm-heart { position: static; display: inline-block; width: 24px; vertical-align: middle; margin-left: 6px; }
  .fd-bl, .fd-br { top: auto; bottom: 0; width: clamp(120px, 30vw, 220px); }
}
@media (max-width: 860px) {
  .page-faith .nav-cta.desktop-only { display: none; }
  .page-faith .nav-links { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; gap: 0; }
  .page-faith .nav-links.is-open { display: flex; }
  .page-faith .nav-links a:not(.mobile-cta) { padding: 14px 4px; display: block; }
  .page-faith .mobile-cta { display: inline-flex; }
}

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer { position: relative; overflow: hidden; background: linear-gradient(180deg, #efe3f6, #e7d8f2); padding-block: clamp(48px, 7vw, 80px) 28px; }
.footer-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.footer-intro { display: grid; gap: 12px; justify-items: start; }
.footer-intro h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; }
.footer-intro h2 .script { font-size: 1.15em; }
.footer-intro p { max-width: 46ch; }
.contact-list { display: grid; gap: 10px; }
.contact-list li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; background: rgba(255, 255, 255, .7); border: 1px solid rgba(255, 255, 255, .9); border-radius: 14px; padding: 10px 12px 10px 14px; }
.contact-list .icon { color: var(--violet); width: 1.3em; height: 1.3em; }
.contact-list a, .contact-list span.val { color: var(--ink); text-decoration: none; overflow-wrap: anywhere; user-select: all; }
.contact-list a:hover { color: var(--violet); text-decoration: underline; }
.copy-btn { font: inherit; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--violet); background: var(--mist); border: 0; border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.copy-btn:hover { background: #e2d2f1; }
.copy-btn.done { background: var(--violet); color: #fff; }
.footer-bottom { position: relative; z-index: 1; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(106, 74, 152, .2); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; font-size: .85rem; color: var(--muted); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-bottom nav a { color: var(--ink); text-decoration: none; letter-spacing: .1em; text-transform: uppercase; font-size: .75rem; }
.footer-bottom nav a:hover { color: var(--violet); }
.deco-foot-1 { right: -60px; top: -60px; transform: rotate(180deg); opacity: .45; width: clamp(160px, 18vw, 260px); }
.deco-foot-2 { left: -20px; bottom: 0; opacity: .5; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; } }

/* ==========================================================
   LIGHTBOX + SAMPLE DIALOG
   ========================================================== */
.lightbox, .sample-dialog { border: 0; padding: 0; background: transparent; max-width: min(92vw, 1000px); width: 100%; color: var(--ink); }
.lightbox::backdrop, .sample-dialog::backdrop { background: rgba(38, 20, 58, .78); backdrop-filter: blur(4px); }
.lightbox figure { margin: 0; display: grid; gap: 12px; justify-items: center; }
.lightbox img { max-height: 78vh; width: auto; min-width: min(70vw, 520px); object-fit: contain; border-radius: 14px; background: #fff; image-rendering: auto; }
.lightbox figcaption { color: #fff; font-family: var(--f-display); font-size: 1.15rem; text-align: center; }
.lb-controls { display: flex; gap: 10px; justify-content: center; }
.lb-btn, .dlg-close { width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--plum); cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover, .dlg-close:hover { background: #fff; }
.lb-btn .icon, .dlg-close .icon { width: 22px; height: 22px; }
.sample-dialog .panel { background: var(--cream); border-radius: 22px; padding: clamp(20px, 3vw, 36px); position: relative; display: grid; gap: 16px; max-height: 88vh; overflow: auto; }
.sample-dialog h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 500; padding-right: 50px; }
.sample-dialog .dlg-close { position: absolute; right: 16px; top: 16px; background: var(--mist); }
.sample-dialog .mock-strip { gap: 16px; }
.sample-dialog .mock-card { font-size: 11px; }
.sample-dialog .mock-tag { font-size: 9px; }
.sample-dialog .mock-post .big { font-size: 32px; }
.sample-dialog .mock-post.quote .big { font-size: 24px; }
.sample-dialog ul { display: grid; gap: 6px; padding-left: 1.1em; list-style: disc; }

/* preview-only view switching */
[data-view][hidden] { display: none !important; }
