/* Fairview Media Group: shared styles.
   Belvista's design system (itself Belnoir's) in Fairview's colours: warm
   black, the gold of the logo, a living background of drifting glows and
   dots, mono labels for detail, quiet lists with dividers. */

:root {
  --bg: #0B0906;
  --bg-2: #110E0A;
  --panel: #16120D;
  --ink: #F4EFE6;
  --muted: #A69D8F;
  --dim: #6B6356;
  --gold: #D9B45E;
  --gold-2: #E8C978;
  --gold-grad: linear-gradient(100deg, #9A6526 0%, #D9B45E 30%, #F6E6A6 52%, #D6AD55 72%, #A8722A 100%);
  --line: rgba(244, 239, 230, 0.10);
  --line-2: rgba(244, 239, 230, 0.18);
  --sans: "Inter", -apple-system, "SF Pro Text", system-ui, sans-serif;
  --mono: "JetBrains Mono", "SF Mono", ui-monospace, Menlo, monospace;
  --wrap: 1180px;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: rgba(217, 180, 94, 0.4); }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 4px; }
p a, .prose a, .faq a { color: var(--gold-2); text-decoration: none; border-bottom: 1px solid rgba(232, 201, 120, 0.35); }
p a:hover, .prose a:hover, .faq a:hover { border-color: var(--gold-2); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.wrap.narrow > * { max-width: 820px; }
.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; }

/* Mono label with a small gold square, as Belvista's .label */
.eyebrow { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; background: var(--gold); flex: none; }
.eyebrow a { color: inherit; text-decoration: none; border: 0; }
.eyebrow a:hover { color: var(--ink); }

h1, h2, h3 { font-weight: 400; letter-spacing: -0.03em; line-height: 1.04; text-wrap: balance; }
h1 { font-size: clamp(40px, 5.2vw, 72px); margin-top: 26px; }
h2 { font-size: clamp(36px, 4.4vw, 58px); margin-top: 22px; }
h3 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; }
.lede { margin-top: 28px; font-size: 18.5px; color: var(--muted); max-width: 34em; }
.gold { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------------------------------------------------------------------
   The living background (Belnoir's .welcome-bg, as on Belvista), fixed
   behind every page: five glows each drifting on their own slow timers,
   a dot grid drifting on the diagonal, and now and then a band of light
   sweeping across the dots. Transforms only.
   --------------------------------------------------------------------- */
.welcome-bg { position: fixed; inset: 0; z-index: -10; overflow: hidden; pointer-events: none; background: #070604; }
.wb-glow { position: absolute; width: 72vmax; height: 52vmax; animation: wb-x var(--tx) ease-in-out infinite alternate; animation-delay: var(--dx, 0s); }
.wb-glow > span { display: block; width: 100%; height: 100%; background: radial-gradient(closest-side, var(--c), transparent); animation: wb-y var(--ty) ease-in-out infinite alternate; animation-delay: var(--dy2, 0s); }
@keyframes wb-x { from { transform: translate3d(calc(-1 * var(--ax)), 0, 0); } to { transform: translate3d(var(--ax), 0, 0); } }
@keyframes wb-y { from { transform: translate3d(0, calc(-1 * var(--ay)), 0) scale(0.92); } to { transform: translate3d(0, var(--ay), 0) scale(1.12); } }
.wb-bronze { left: -18vmax; top: -16vmax; width: 82vmax; height: 60vmax; --c: rgba(176, 112, 34, 0.42); --ax: 22vw; --ay: 18vh; --tx: 17s; --ty: 21s; --dx: -7s; }
.wb-amber { right: -20vmax; top: 4vh; width: 80vmax; height: 58vmax; --c: rgba(226, 166, 72, 0.28); --ax: 26vw; --ay: 24vh; --tx: 22s; --ty: 15s; --dy2: -9s; }
.wb-umber { left: 10vw; bottom: -24vmax; --c: rgba(74, 38, 10, 0.6); --ax: 28vw; --ay: 16vh; --tx: 27s; --ty: 19s; --dx: -15s; }
.wb-ash { left: 24vw; top: 18vh; width: 58vmax; height: 44vmax; --c: rgba(160, 146, 124, 0.12); --ax: 30vw; --ay: 26vh; --tx: 20s; --ty: 25s; --dx: -4s; --dy2: -18s; }
.wb-light { right: 6vw; top: -6vh; width: 44vmax; height: 34vmax; --c: rgba(255, 232, 180, 0.12); --ax: 26vw; --ay: 24vh; --tx: 31s; --ty: 17s; --dx: -21s; --dy2: -6s; }
.wb-dots, .wb-sweep { position: absolute; inset: 0; -webkit-mask-image: radial-gradient(ellipse at 50% 45%, #000 25%, transparent 80%); mask-image: radial-gradient(ellipse at 50% 45%, #000 25%, transparent 80%); }
.wb-dots i, .wb-sweep i { position: absolute; top: -26px; left: -26px; right: 0; bottom: 0; background-size: 26px 26px; animation: wb-drift 9s linear infinite; }
.wb-dots i { background-image: radial-gradient(circle, rgba(248, 236, 214, 0.15) 1px, transparent 1.6px); }
@keyframes wb-drift { to { transform: translate3d(26px, 26px, 0); } }
.wb-sweep { overflow: hidden; }
.wb-sweep > div { position: absolute; top: 0; bottom: 0; left: -100%; width: 100%; -webkit-mask-image: linear-gradient(100deg, transparent 20%, #000 50%, transparent 80%); mask-image: linear-gradient(100deg, transparent 20%, #000 50%, transparent 80%); animation: wb-band 12s cubic-bezier(0.45, 0, 0.55, 1) infinite; }
.wb-sweep b { position: absolute; inset: 0; animation: wb-band-hold 12s cubic-bezier(0.45, 0, 0.55, 1) infinite; }
.wb-sweep i { background-image: radial-gradient(circle, rgba(240, 200, 110, 0.8) 1.2px, transparent 1.9px); }
@keyframes wb-band { 0% { transform: translate3d(0, 0, 0); } 55%, 100% { transform: translate3d(200%, 0, 0); } }
@keyframes wb-band-hold { 0% { transform: translate3d(0, 0, 0); } 55%, 100% { transform: translate3d(-200%, 0, 0); } }
.lb-in { animation: lb-in 1.2s ease both; }
@keyframes lb-in { from { opacity: 0; } }
/* On the home page it waits for the logo, then fades in with the page. */
.hl-bg { opacity: 0; animation: hl-bg-in 1.3s 4.3s ease forwards; }
@keyframes hl-bg-in { to { opacity: 1; } }

/* ---------------------------------------------------------------------
   Home opening (build.py hero / hero_logo), Belvista's timings and curves:
   1. the mountain, large and low in the middle, built like a blueprint:
      dot grid, crosshairs, hairline outlines of its two pieces;
   2. each piece fills as a halftone whose dots swell into solid gold, the
      guides fade;
   3. it swells toward the viewer, then eases up and back to its place;
   4. as it settles, FAIRVIEW then MEDIA GROUP appear beneath it.
   --h is the mountain's height; the wordmark keeps the logo's proportions.
   --------------------------------------------------------------------- */
.hero-intro { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; min-height: calc(100svh - 72px); padding: 48px 16px 64px; text-align: center; overflow-x: clip; }
.hero-logo { --h: 58px; --ww: min(240px, 66vw); --wh: calc(var(--ww) * 0.2843); --gap: calc(var(--h) * 0.2); --s0: 2; --dy: 19svh; display: flex; flex-direction: column; align-items: center; }
@media (min-width: 640px) { .hero-logo { --h: 76px; --ww: 300px; --dy: min(22svh, 200px); } }
@media (min-width: 1024px) { .hero-logo { --h: 88px; --ww: 340px; --s0: 2.1; --dy: min(15svh, 140px); } }
.hero-logo .mark { position: relative; z-index: 2; width: calc(var(--h) * 1.735); height: var(--h); flex-shrink: 0; overflow: visible; animation: hl-push 1.27s 2.2s both; }
.hero-logo .guides { animation: hl-off 0.45s 1.75s ease forwards; }
.hero-logo .grid { opacity: 0; animation: hl-grid 0.7s ease-out forwards; }
@keyframes hl-grid { to { opacity: 0.22; } }
.hero-logo .cross { stroke: #E3C26E; stroke-opacity: 0.5; stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: 1; animation: hl-draw 0.7s 0.1s cubic-bezier(0.3, 0.7, 0.3, 1) forwards; }
.hero-logo .hair { fill: none; stroke: #F3E3B5; stroke-opacity: 0.65; stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 1; animation: hl-draw 0.8s cubic-bezier(0.55, 0, 0.3, 1) forwards; }
.hero-logo .solid { opacity: 0; animation: hl-on 0.2s 1.95s ease forwards; }
@keyframes hl-draw { to { stroke-dashoffset: 0; } }
@keyframes hl-on { to { opacity: 1; } }
@keyframes hl-off { to { opacity: 0; } }
@keyframes hl-push {
  0% { transform: translateY(var(--dy)) scale(var(--s0)); animation-timing-function: cubic-bezier(0.25, 0.75, 0.3, 1); }
  52% { transform: translateY(var(--dy)) scale(calc(var(--s0) * 1.42)); animation-timing-function: cubic-bezier(0.6, 0, 0.25, 1); }
  100% { transform: none; }
}
.hero-logo .word { position: relative; z-index: 1; height: 0; width: var(--ww); flex-shrink: 0; animation: hl-open 1.1s 3.21s cubic-bezier(0.5, 0, 0.1, 1) forwards; }
@keyframes hl-open { to { height: calc(var(--gap) + var(--wh)); } }
.hero-logo .wordmark { position: absolute; left: 0; bottom: 0; width: var(--ww); height: var(--wh); max-width: none; overflow: visible; }
.hero-logo .w1, .hero-logo .w2 { opacity: 0; animation: hl-pop 0.13s ease-out forwards; }
.hero-logo .w1 { animation-delay: 3.5s; }
.hero-logo .w2 { animation-delay: 3.64s; }
@keyframes hl-pop { to { opacity: 1; } }

.h-title { font-size: clamp(34px, 5.2vw, 66px); line-height: 1.06; letter-spacing: -0.03em; max-width: 18em; }
.h-title br.m { display: none; }
@media (max-width: 560px) { .h-title br.m { display: inline; } }
.h-sub { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); max-width: 36em; }
.accent > span { background: linear-gradient(100deg, #E8C978 0%, #C8913C 50%, #F6E6A6 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pills { list-style: none; display: flex; flex-wrap: nowrap; justify-content: center; gap: 8px; }
@media (max-width: 720px) { .pills { display: grid; grid-template-columns: 1fr 1fr; width: 100%; max-width: 380px; } .pills li { justify-content: center; font-size: 12px; padding: 7px 10px; } }
.pills li { display: flex; align-items: center; gap: 8px; white-space: nowrap; border: 1px solid var(--line-2); background: rgba(22, 18, 13, 0.6); border-radius: 999px; padding: 7px 14px; font-size: 13px; color: var(--ink); }
.pills li span { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* Words that arrive one at a time; pale words land faint, then brighten. */
.hl-say > span { display: inline-block; opacity: 0; transform: translateY(0.18em); filter: blur(3px); animation: hl-say 0.42s cubic-bezier(0.25, 0.7, 0.2, 1) forwards; }
@keyframes hl-say { 60% { opacity: 0.55; filter: blur(0); } 100% { opacity: 1; transform: none; filter: none; } }
.hl-pale > span { animation-name: hl-say-pale; animation-duration: 0.85s; }
@keyframes hl-say-pale { 35% { opacity: 0.4; filter: blur(0); transform: none; } 100% { opacity: 1; transform: none; filter: none; } }
/* Buttons and pills come into focus from a soft shape. */
.hl-focus { opacity: 0; filter: blur(14px); transform: scale(0.94); animation: hl-focus 0.5s cubic-bezier(0.25, 0.7, 0.2, 1) forwards; }
@keyframes hl-focus { 40% { opacity: 1; } 100% { opacity: 1; filter: none; transform: none; } }

/* ---------------------------------------------------------------------
   Home page opening around the logo: the page starts black so only the
   logo plays; at 4.3s the page fades up with the background and the
   header makes its entrance: a glowing line draws out from the centre,
   the bar opens up and down from it, the logo and links come up (links
   decode, site.js) and a light sweeps across once.
   --------------------------------------------------------------------- */
body.intro { background-color: #000; animation: wi-page 1.4s 4.3s ease forwards; }
@keyframes wi-page { to { background-color: var(--bg); } }
body.intro .site-header { overflow: hidden; background-color: #000; clip-path: inset(calc(50% - 1px) 0 calc(50% - 1px) 0); animation: wi-bar 0.55s 4.75s cubic-bezier(0.3, 0.7, 0.2, 1) forwards; }
@keyframes wi-bar { to { clip-path: inset(0 0 0 0); background-color: rgba(11, 9, 6, 0.78); } }
body.intro .site-header::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; z-index: 2; pointer-events: none; background: linear-gradient(90deg, transparent, #C8913C 20%, #F6E6A6 50%, #C8913C 80%, transparent); box-shadow: 0 0 12px 1px rgba(217, 160, 70, 0.7); transform: scaleX(0); animation: wi-line 0.5s 4.3s cubic-bezier(0.5, 0, 0.2, 1) forwards, wi-line-out 0.45s 5.05s ease forwards; }
@keyframes wi-line { to { transform: scaleX(1); } }
@keyframes wi-line-out { to { opacity: 0; } }
body.intro .site-header::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(100deg, transparent 30%, rgba(255, 240, 210, 0.12) 48%, rgba(217, 160, 70, 0.22) 50%, transparent 66%); transform: translateX(-100%); animation: wi-sweep 1.1s 5.35s cubic-bezier(0.45, 0, 0.25, 1) forwards; }
@keyframes wi-sweep { to { transform: translateX(100%); } }
body.intro .site-header .wrap > * { opacity: 0; transform: translateY(6px); animation: wi-item 0.5s 5s cubic-bezier(0.25, 0.7, 0.2, 1) forwards; }
body.intro .site-header .wrap > *:nth-child(n+2) { animation-delay: 5.1s; }
@keyframes wi-item { to { opacity: 1; transform: none; } }
/* Once the entrance has played (site.js adds .intro-done at 6.5s), the bar
   lets go of its clip so the phone menu can open below it. */
body.intro.intro-done .site-header { animation: none; clip-path: none; overflow: visible; background-color: rgba(11, 9, 6, 0.78); }
body.intro.intro-done .site-header::before, body.intro.intro-done .site-header::after { display: none; }
body.intro.intro-done .site-header .wrap > *:not(.nav) { animation: none; opacity: 1; transform: none; }
@media (min-width: 721px) { body.intro.intro-done .site-header .nav { animation: none; opacity: 1; transform: none; } }
@media (max-width: 720px) {
  body.intro.intro-done .site-header .nav { animation: none; opacity: 0; transform: translateY(-8px); }
  body.intro.intro-done.menu-open .site-header .nav { opacity: 1; transform: none; }
}
body.intro main > section:not(.hero-intro), body.intro .site-footer { opacity: 0; animation: lb-fade 1.4s 4.3s ease forwards; }
@keyframes lb-fade { to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .welcome-bg *, .welcome-bg, .hl-bg, .lb-in { animation: none !important; opacity: 1 !important; }
  .wb-sweep { display: none; }
  .hero-logo .mark, .hero-logo .word, .hero-logo .w1, .hero-logo .w2, .hero-logo .solid { animation: none; }
  .hero-logo .guides { display: none; }
  .hero-logo .solid, .hero-logo .w1, .hero-logo .w2 { opacity: 1; }
  .hero-logo .word { height: calc(var(--gap) + var(--wh)); }
  .hl-say > span, .hl-focus { animation: none; opacity: 1; transform: none; filter: none; }
  body.intro, body.intro .site-header, body.intro .site-header .wrap > *, body.intro main > section, body.intro .site-footer { animation: none !important; opacity: 1 !important; transform: none !important; clip-path: none !important; }
  body.intro { background-color: var(--bg); }
  body.intro .site-header { background-color: rgba(11, 9, 6, 0.78); }
  body.intro .site-header::before, body.intro .site-header::after { display: none; }
}

/* Returning within two minutes (the head script in build.py): the home
   page opens straight to its finished state, background still moving. */
html.skip-intro .hl-bg, html.skip-intro .lb-in { animation: none !important; opacity: 1 !important; }
html.skip-intro .hero-logo .mark, html.skip-intro .hero-logo .word, html.skip-intro .hero-logo .w1, html.skip-intro .hero-logo .w2, html.skip-intro .hero-logo .solid { animation: none; }
html.skip-intro .hero-logo .guides { display: none; }
html.skip-intro .hero-logo .solid, html.skip-intro .hero-logo .w1, html.skip-intro .hero-logo .w2 { opacity: 1; }
html.skip-intro .hero-logo .word { height: calc(var(--gap) + var(--wh)); }
html.skip-intro .hl-say > span, html.skip-intro .hl-focus { animation: none; opacity: 1; transform: none; filter: none; }
html.skip-intro body.intro, html.skip-intro body.intro .site-header, html.skip-intro body.intro .site-header .wrap > *:not(.nav), html.skip-intro body.intro main > section, html.skip-intro body.intro .site-footer { animation: none !important; opacity: 1 !important; transform: none !important; clip-path: none !important; }
@media (min-width: 721px) { html.skip-intro body.intro .site-header .nav { animation: none; opacity: 1; transform: none; } }
html.skip-intro body.intro { background-color: var(--bg); }
html.skip-intro body.intro .site-header::before, html.skip-intro body.intro .site-header::after { display: none; }

/* Header */
.site-header { position: sticky; isolation: isolate; top: 0; z-index: 50; background: rgba(11, 9, 6, 0.78); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand .m { height: 26px; width: auto; }
.brand .w { height: 32px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.nav a { text-decoration: none; color: var(--muted); transition: color 0.2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a.btn-gold, .nav a.btn-gold:hover { color: #1A1206; }
.menu-btn { display: none; background: none; border: 0; color: var(--ink); width: 40px; height: 40px; align-items: center; justify-content: center; cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; transition: transform 0.25s, opacity 0.2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap; text-decoration: none; font-family: var(--sans); font-size: 14.5px; font-weight: 500; padding: 13px 22px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; transition: background-position 0.4s, border-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.3s; }
.btn:active { transform: scale(0.97); }
.btn-gold { color: #1A1206; background: var(--gold-grad); background-size: 140% 100%; background-position: 50% 0; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset, 0 8px 24px -12px rgba(227, 176, 80, 0.6); }
.btn-gold:hover { background-position: 15% 0; }
.btn-line { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: rgba(244, 239, 230, 0.45); }
.btn-sm { padding: 10px 18px; font-size: 13.5px; }
.ctas { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-intro .ctas { margin-top: 6px; }
.link { display: inline-block; margin-top: 26px; color: var(--gold-2); text-decoration: none; font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; }
.link:hover { color: var(--ink); }

/* Sections */
section { position: relative; }
.sec { padding: 120px 0; border-bottom: 1px solid var(--line); }
.sec.tight, .page-hero + .sec { padding-top: 24px; }
.sec-head { max-width: 720px; margin-bottom: 56px; }
.sec-head > p:not(.eyebrow) { color: var(--muted); font-size: 17px; margin-top: 20px; max-width: 34em; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.split .sec-head { margin-bottom: 0; position: sticky; top: 120px; }
.note { color: var(--dim); font-size: 14px; margin-top: 22px; max-width: 760px; }
.page-hero { padding: 112px 0 72px; }
.page-hero h1 { font-size: clamp(40px, 5.2vw, 68px); }

/* Offers and plans: one joined panel, as Belvista's care plans */
.offers { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-2); border-radius: 6px; overflow: hidden; }
.offer { position: relative; padding: 36px 32px 34px; display: flex; flex-direction: column; background: rgba(22, 18, 13, 0.55); }
.offer + .offer { border-left: 1px solid var(--line-2); }
.offer.featured, .offer#checkup { background: linear-gradient(180deg, rgba(217, 180, 94, 0.13), rgba(217, 180, 94, 0.02) 60%), rgba(22, 18, 13, 0.55); }
.offer .flag { position: absolute; top: 36px; right: 32px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-2); }
.offer h3 { font-size: 26px; }
.offer .price { margin-top: 18px; font-size: 48px; letter-spacing: -0.04em; line-height: 1; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.offer .price small { font-size: 14.5px; letter-spacing: 0; color: var(--muted); }
.offer > p { margin-top: 14px; color: var(--muted); font-size: 15px; min-height: 48px; }
.ticks { list-style: none; margin: 24px 0 30px; border-top: 1px solid var(--line); flex: 1; }
.ticks li { padding: 11px 0 11px 26px; border-bottom: 1px solid var(--line); font-size: 14.5px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 21px; width: 10px; height: 1.5px; background: var(--gold); }
.offer .btn { align-self: flex-start; }

/* Install services: a quiet list */
.svcs { border-top: 1px solid var(--line-2); }
.svc { display: grid; grid-template-columns: 56px minmax(0, 1fr) 24px; grid-template-areas: "n t a" "n d a"; column-gap: 18px; row-gap: 4px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.svc .n { grid-area: n; font-family: var(--mono); font-size: 13px; color: var(--gold); letter-spacing: 0.1em; align-self: start; padding-top: 8px; }
.svc .t { grid-area: t; font-size: 28px; letter-spacing: -0.025em; line-height: 1.2; }
.svc .d { grid-area: d; color: var(--muted); font-size: 15.5px; }
.svc .arr { grid-area: a; color: var(--dim); transition: transform 0.3s, color 0.2s; }
.svc:hover .arr { transform: translateX(4px); color: var(--gold-2); }

/* Roles and steps: Belvista's process columns with a gold square */
.roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 32px 28px; }
.roles.two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 48px; }
.roles.five { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 24px; }
.role, .steps li { padding-top: 28px; border-top: 1px solid var(--line-2); position: relative; }
.role::before, .steps li::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: var(--gold); }
.role h3 { margin-bottom: 10px; }
.role p, .steps p { color: var(--muted); font-size: 15px; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 28px; }
.steps span { display: block; font-family: var(--mono); font-size: 12px; color: var(--dim); letter-spacing: 0.12em; }
.steps h3 { margin: 12px 0 8px; }
.checks { list-style: none; border-top: 1px solid var(--line-2); }
.checks li { padding: 22px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.checks b { color: var(--ink); font-weight: 500; margin-right: 4px; }
.credit { margin-top: 56px; padding: 30px 32px; border-radius: 6px; border: 1px solid rgba(217, 180, 94, 0.35); background: linear-gradient(100deg, rgba(217, 180, 94, 0.12), rgba(217, 180, 94, 0.02)); display: flex; gap: 32px; align-items: baseline; flex-wrap: wrap; }
.credit h3 { font-size: 26px; }
.credit p { color: var(--muted); flex: 1; min-width: 260px; }
.prose p { color: var(--muted); font-size: 17px; }
.prose p + p { margin-top: 16px; }
.prose h3 { margin: 40px 0 12px; }

/* FAQ */
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 48px 26px 0; font-size: 20px; letter-spacing: -0.015em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateY(-75%) rotate(45deg); transition: transform 0.25s; }
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq details p { padding: 0 0 28px; color: var(--muted); max-width: 46em; }

/* Closing call to action */
.closing { padding: 120px 0; border-bottom: 1px solid var(--line); overflow: hidden; }
.closing .wrap { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: end; }
.closing h2 { font-size: clamp(40px, 5vw, 68px); max-width: 12.5em; }
.closing p { color: var(--muted); font-size: 17px; margin-top: 20px; max-width: 34em; }
.closing .ctas { margin-top: 0; }

/* Form */
.form { display: grid; gap: 18px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.form label small { color: var(--dim); text-transform: none; letter-spacing: 0.02em; font-size: 11.5px; }
.form input, .form textarea, .form select { width: 100%; font: 400 16px/1.4 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); background: rgba(22, 18, 13, 0.8); border: 1px solid var(--line-2); border-radius: 6px; padding: 13px 14px; outline: none; transition: border-color 0.2s, background 0.2s; }
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--gold); background: rgba(22, 18, 13, 1); }
.form .select { position: relative; display: block; }
.form select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.form .select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 7px; height: 7px; margin-top: -6px; border: solid var(--muted); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); pointer-events: none; }
.form option { background: #16120D; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 6px; }
.status { color: var(--muted); font-size: 15px; }
.status.err { color: #F0A58C; }
.form.sent { pointer-events: none; }

/* Footer */
.site-footer { padding: 72px 0 40px; position: relative; overflow: hidden; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand .brand .m { height: 30px; }
.foot-brand .brand .w { height: 36px; }
.foot-brand p { color: var(--muted); font-size: 14.5px; margin-top: 18px; max-width: 26em; }
.foot-col h4 { font-family: var(--mono); font-weight: 500; font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); margin-bottom: 16px; }
.foot-col a { display: block; text-decoration: none; color: var(--muted); font-size: 14.5px; padding: 4px 0; overflow-wrap: anywhere; }
.foot-col a:hover { color: var(--ink); }
.foot-bot { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; color: var(--dim); text-transform: uppercase; }

/* Reveal on scroll, as Belnoir's <Reveal>: glides up and settles the first
   time it comes into view (site.js). Hidden only once the script has run.
   Other pages' first screen rises on load. */
.js .rv { opacity: 0; transform: translate3d(0, 36px, 0) scale(0.985); transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1); }
.js .rv.in { opacity: 1; transform: none; }
.page-hero .wrap > * { animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both; }
.page-hero .wrap > *:nth-child(2) { animation-delay: 0.06s; }
.page-hero .wrap > *:nth-child(3) { animation-delay: 0.12s; }
.page-hero .wrap > *:nth-child(4) { animation-delay: 0.18s; }
@keyframes rise { from { opacity: 0; transform: translate3d(0, 24px, 0) scale(0.985); } }
@media (prefers-reduced-motion: reduce) { .js .rv, .page-hero .wrap > * { opacity: 1; transform: none; transition: none; animation: none; } html { scroll-behavior: auto; } }

/* Tablet */
@media (max-width: 1020px) {
  .wrap { padding: 0 24px; }
  .sec, .closing { padding: 88px 0; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split .sec-head { position: static; }
  .offers { grid-template-columns: 1fr; }
  .offer + .offer { border-left: 0; border-top: 1px solid var(--line-2); }
  .offer > p { min-height: 0; }
  .steps { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .roles.five { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .closing .wrap { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (min-width: 721px) and (max-width: 900px) { .nav { gap: 20px; } }

/* Phone */
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .site-header .wrap { height: 64px; }
  .brand .m { height: 22px; } .brand .w { height: 28px; }
  .menu-btn { display: inline-flex; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - 64px); height: calc(100dvh - 64px); overflow-y: auto; background: var(--bg); border-top: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 12px 16px 32px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.25s; }
  .nav a { font-size: 22px; color: var(--ink); padding: 18px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 24px; font-size: 16px; padding: 15px 22px; border-bottom: 0; }
  .menu-open .nav { opacity: 1; transform: none; pointer-events: auto; }
  .menu-open { overflow: hidden; }
  .hero-intro { min-height: calc(100svh - 64px); }
  .page-hero { padding: 72px 0 48px; }
  .lede { font-size: 17px; }
  .sec, .closing { padding: 72px 0; }
  .sec-head { margin-bottom: 40px; }
  .svc { grid-template-columns: 40px minmax(0, 1fr) 20px; padding: 24px 0; }
  .svc .t { font-size: 23px; }
  .roles.two, .roles.five, .steps, .row2 { grid-template-columns: 1fr; }
  .offer { padding: 28px 22px; }
  .offer .flag { top: 30px; right: 22px; }
  .credit { padding: 24px 22px; }
  .faq summary { font-size: 18px; }
  .foot-top { gap: 32px; }
  .ctas .btn { flex: 1 1 auto; }
}
