/* ==========================================================================
   Bell Reentry Housing LLC
   Night-to-dawn palette: midnight navy for the dark hours, porch-light gold for
   the first light, plain white for the day. Linework is drawn like a blueprint.
   ========================================================================== */

@font-face {
  font-family: "Young Serif";
  src: url("../fonts/young-serif-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Kaushan Script";
  src: url("../fonts/kaushan-script-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("../fonts/atkinson-next-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Atkinson Hyperlegible Mono";
  src: url("../fonts/atkinson-mono-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Registered so the "light comes on" fills can transition and animate. */
@property --lit { syntax: "<color>"; inherits: true; initial-value: transparent; }
@property --win { syntax: "<color>"; inherits: true; initial-value: #13284F; }

:root {
  --midnight: #06132E;
  --night: #0A1B3F;
  --navy-900: #0D2250;
  --navy: #143278;
  --navy-600: #1E48A8;
  --royal: #2558D6;
  --steel: #4166A8;
  --blueprint: #A9C4F0;
  --gold: #F4B740;
  --gold-soft: #FFD47E;
  --gold-deep: #8A5B00;
  --amber: #F0904A;
  --first-light: #FFE7B0;
  --paper: #FFFFFF;
  --mist: #EEF3FD;
  --line: #D6E0F2;
  --ink: #101D3A;
  --muted: #4A5878;
  --on-night: #E1E9F8;
  --on-night-muted: #B9C9E4;

  /* light, in three temperatures */
  --grad-gold: linear-gradient(180deg, #FFDA8A 0%, #F4B740 60%, #EDA236 100%);
  --grad-dawn: linear-gradient(100deg, #FFD47E 0%, #F4B740 48%, #F0904A 100%);
  --grad-navy: linear-gradient(150deg, #2558D6 0%, #143278 52%, #0C2155 100%);
  --stars: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cg fill='white'%3E%3Ccircle cx='18' cy='26' r='1' opacity='.5'/%3E%3Ccircle cx='92' cy='70' r='.7' opacity='.35'/%3E%3Ccircle cx='160' cy='22' r='1.1' opacity='.55'/%3E%3Ccircle cx='230' cy='96' r='.8' opacity='.35'/%3E%3Ccircle cx='300' cy='40' r='.9' opacity='.45'/%3E%3Ccircle cx='54' cy='150' r='.8' opacity='.3'/%3E%3Ccircle cx='128' cy='188' r='1' opacity='.5'/%3E%3Ccircle cx='206' cy='162' r='.7' opacity='.3'/%3E%3Ccircle cx='282' cy='210' r='.9' opacity='.45'/%3E%3Ccircle cx='30' cy='262' r='.8' opacity='.35'/%3E%3Ccircle cx='112' cy='300' r='.7' opacity='.3'/%3E%3Ccircle cx='190' cy='250' r='1.1' opacity='.5'/%3E%3Ccircle cx='262' cy='292' r='.8' opacity='.35'/%3E%3Ccircle cx='308' cy='140' r='.6' opacity='.3'/%3E%3C/g%3E%3C/svg%3E");

  --font-display: "Young Serif", Georgia, "Times New Roman", serif;
  --font-script: "Kaushan Script", "Brush Script MT", cursive;
  --font-body: "Atkinson Hyperlegible Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "Atkinson Hyperlegible Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --radius: 16px;
  --radius-lg: 26px;
  --shadow: 0 26px 52px -26px rgba(12, 31, 80, .48);
  --shadow-card: 0 1px 2px rgba(12, 31, 80, .06), 0 20px 40px -26px rgba(12, 31, 80, .4);
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(52px, 5.8vw, 84px);
  --roof-h: clamp(24px, 3.8vw, 54px);
  --header-h: 72px;
  --topbar-h: 36px;
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  scrollbar-color: var(--steel) var(--night);
  scrollbar-width: thin;
}
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--night); }
::-webkit-scrollbar-thumb { background: var(--steel); border-radius: 10px; border: 3px solid var(--night); }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }
::-webkit-scrollbar-corner { background: var(--night); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.62;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
@media (min-width: 1024px) { body { font-size: 1.125rem; } }
body.menu-open { overflow: hidden; }

img, picture, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold-soft); color: var(--night); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 1000;
  background: var(--gold); color: var(--night); font-weight: 700;
  padding: 12px 18px; border-radius: 10px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.icon { width: 1.15em; height: 1.15em; flex: none; }
.nowrap, a[href^="tel:"] { white-space: nowrap; }

/* ---------------------------------------------------------------- type */
.eyebrow {
  display: flex; align-items: center; gap: .6em;
  margin: 0 0 1rem;
  font-family: var(--font-mono); font-weight: 600;
  font-size: .8125rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--gold-deep);
}
.eyebrow__roof { width: 1.35em; height: 1.35em; color: var(--gold); flex: none; }
.eyebrow--light { color: var(--blueprint); }
.h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.15rem, 4.2vw, 3.85rem); line-height: 1.05; letter-spacing: -.02em;
  color: var(--navy); margin: 0 0 1rem; text-wrap: balance;
}
/* one phrase per heading gets the porch-light brushstroke */
.hl {
  padding: 0 .05em .04em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%23FFD47E'/%3E%3Cstop offset='.5' stop-color='%23F4B740'/%3E%3Cstop offset='1' stop-color='%23F0904A'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M5 15C46 9 126 6 295 10' fill='none' stroke='url(%23g)' stroke-width='9' stroke-linecap='round'/%3E%3Cpath d='M24 20C112 15 202 14 286 17' fill='none' stroke='url(%23g)' stroke-width='3.4' stroke-linecap='round' opacity='.7'/%3E%3C/svg%3E") left 0 bottom -.06em / 100% .46em no-repeat;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.h2--light { color: #fff; }
.h3 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.6rem, 2.4vw, 2.15rem); line-height: 1.12;
  color: var(--navy); margin: 0 0 .75rem; text-wrap: balance;
}
.h3--light { color: #fff; }
.lede {
  font-size: clamp(1.08rem, 1.3vw, 1.25rem); line-height: 1.6;
  color: var(--muted); max-width: 62ch; margin: 0 0 1.5rem; text-wrap: pretty;
}
.section-head { max-width: 780px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head--center { max-width: 940px; margin-inline: auto; text-align: center; }
.section-head--center .eyebrow, .quilt__copy .eyebrow { display: block; }
.section-head--center .eyebrow__roof, .quilt__copy .eyebrow__roof { display: inline-block; margin-right: .5em; vertical-align: -.34em; }
.section-head--center .lede { margin-inline: auto; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px; padding: .9em 1.45em;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 1.2;
  border: 2px solid transparent; border-radius: 14px;
  text-decoration: none; cursor: pointer; position: relative; isolation: isolate; overflow: hidden;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease, filter .2s ease;
}
.btn--gold::before, .btn--navy::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -80%; width: 55%; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .5), transparent);
  transform: skewX(-18deg); transition: left .75s ease;
}
.btn--gold:hover::before, .btn--navy:hover::before { left: 130%; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.2em; height: 1.2em; }
.btn--gold { background: var(--grad-gold); color: var(--night); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 14px 30px -14px rgba(240, 160, 50, .9); }
.btn--gold:hover { filter: saturate(1.08) brightness(1.04); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 18px 36px -14px rgba(240, 160, 50, 1); }
.btn--navy { background: var(--grad-navy); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 14px 30px -16px rgba(20, 50, 120, .85); }
.btn--navy:hover { filter: brightness(1.14); }
.btn--ghost { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .45); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }
.btn--line { background: #fff; border-color: rgba(20, 50, 120, .3); color: var(--navy); }
.btn--line:hover { border-color: var(--navy); background: var(--mist); }
.btn--lg { min-height: 56px; padding: 1em 1.6em; font-size: 1.0625rem; }
.btn--sm { min-height: 42px; padding: .55em 1.1em; font-size: .95rem; }
.btn--block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.75rem; }

/* ---------------------------------------------------------------- header */
.site-header { position: sticky; top: calc(var(--topbar-h) * -1); z-index: 100; }
.topbar { background: var(--midnight); color: var(--on-night-muted); font-size: .875rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--topbar-h); }
.topbar__tag { margin: 0; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--blueprint); }
.topbar__contact { display: flex; gap: 26px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.topbar__contact a, .topbar__contact span { display: inline-flex; align-items: center; gap: 8px; color: var(--on-night); text-decoration: none; }
.topbar__contact a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.topbar__contact .icon { color: var(--gold); width: 1em; height: 1em; }

.navbar { background: var(--night); border-bottom: 1px solid rgba(169, 196, 240, .14); transition: box-shadow .3s ease; }
.site-header.is-scrolled .navbar { box-shadow: 0 1px 0 rgba(244, 183, 64, .24), 0 12px 30px -14px rgba(0, 0, 0, .6); }
.navbar__inner { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; color: #fff; text-decoration: none; }
.brand__mark { width: 48px; height: 38px; --logo-roof: #FFFFFF; --logo-pane: var(--night); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-size: 1.62rem; letter-spacing: .16em; color: var(--gold); }
.brand__sub { margin-top: 5px; font-family: var(--font-mono); font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--on-night-muted); }

.nav__list { display: flex; align-items: center; gap: clamp(14px, 1.5vw, 26px); list-style: none; margin: 0; padding: 0; }
.nav__list a {
  position: relative; display: block; padding: 8px 0;
  color: var(--on-night); font-weight: 500; font-size: .96rem; text-decoration: none; white-space: nowrap;
}
.nav__list a::before {
  content: ""; position: absolute; left: 50%; top: -4px; width: 16px; height: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12'%3E%3Cpath d='M2 11 12 2l10 9' fill='none' stroke='%23E8B14F' stroke-width='2.6'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0; transform: translate(-50%, 4px); transition: opacity .2s ease, transform .2s ease;
}
.nav__list a:hover { color: #fff; }
.nav__list a:hover::before, .nav__list a:focus-visible::before { opacity: 1; transform: translate(-50%, 0); }

.menu-toggle {
  display: none; position: relative; width: 48px; height: 48px; margin-right: -6px;
  background: transparent; border: 0; border-radius: 12px; cursor: pointer; color: #fff;
}
.menu-toggle:hover { background: rgba(255, 255, 255, .08); }
.menu-toggle__bars { position: absolute; left: 12px; top: 15px; width: 24px; height: 18px; }
.menu-toggle__bars span {
  position: absolute; left: 0; width: 24px; height: 2.5px; border-radius: 2px; background: currentColor;
  transition: transform .3s ease, opacity .2s ease, top .3s ease;
}
.menu-toggle__bars span:nth-child(1) { top: 0; }
.menu-toggle__bars span:nth-child(2) { top: 7.75px; }
.menu-toggle__bars span:nth-child(3) { top: 15.5px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) { top: 7.75px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) { top: 7.75px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; z-index: 99;
  overflow-y: auto; overscroll-behavior: contain;
  padding: 12px var(--gutter) calc(32px + env(safe-area-inset-bottom));
  background: var(--night);
  visibility: hidden; opacity: 0; transform: translateY(-10px);
  transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
}
.mobile-menu.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s ease, transform .25s ease, visibility 0s; }
.mobile-menu__list { list-style: none; margin: 0; padding: 0; }
.mobile-menu__list a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 2px; border-bottom: 1px solid rgba(157, 183, 221, .16);
  font-family: var(--font-display); font-size: 1.45rem; color: #fff; text-decoration: none;
}
.mobile-menu__list a::after {
  content: ""; width: 18px; height: 9px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12'%3E%3Cpath d='M2 11 12 2l10 9' fill='none' stroke='%23E8B14F' stroke-width='2.6'/%3E%3C/svg%3E") center / contain no-repeat;
  transform: rotate(90deg);
}
.mobile-menu__cta { display: grid; gap: 12px; margin-top: 26px; }
.mobile-menu__note { margin: 22px 0 0; color: var(--blueprint); font-size: .95rem; line-height: 1.7; }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-rows: 1fr auto;
  min-height: max(700px, calc(100vh - var(--header-h) - var(--topbar-h)));
  min-height: max(700px, calc(100svh - var(--header-h) - var(--topbar-h)));
  color: #fff;
  background: linear-gradient(180deg, #10111C 0%, #12131F 12%, #1A1B2C 32%, #24243A 52%, #3A3248 74%, #5A4652 100%);
}
.hero-sky { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero-sky.is-ready { opacity: 1; }
.hero-main { position: relative; display: flex; }
.hero-roofs { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: clamp(86px, 15vh, 150px); z-index: 2; }
.hero-grid {
  position: relative; display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  align-items: end; gap: clamp(16px, 2vw, 32px);
  padding-top: clamp(36px, 6vh, 80px);
}
.hero-copy { position: relative; z-index: 5; align-self: center; padding-bottom: clamp(110px, 17vh, 180px); }
.hero-stage { position: relative; align-self: end; margin-right: calc(var(--gutter) * -.5); }
.hero-skyline { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; opacity: .88; }
.hero-house { position: relative; z-index: 3; width: 100%; height: auto; }
.hero-motes { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; mix-blend-mode: screen; }

.hero-title { margin: 0 0 1.4rem; font-weight: 400; }
.hero-title__script {
  display: block; width: fit-content;
  font-family: var(--font-script); font-size: clamp(2.5rem, 4.6vw, 4.2rem); line-height: 1.05;
  color: var(--gold-soft); transform: rotate(-4deg); transform-origin: left bottom;
  margin: 0 0 .08em -.04em; text-shadow: 0 0 24px rgba(244, 183, 64, .45), 0 4px 30px rgba(244, 183, 64, .3);
}
.hero-title__main {
  display: block; font-family: var(--font-display);
  font-size: clamp(2.75rem, 5.4vw, 5.25rem); line-height: 1.02; letter-spacing: -.018em;
  color: #fff; text-wrap: balance;
}
.hero-lede { max-width: 34rem; margin: 0 0 2rem; color: rgba(234, 241, 251, .88); font-size: clamp(1.06rem, 1.3vw, 1.22rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-aside {
  display: inline-block; margin-top: 1.5rem;
  color: var(--gold-soft); font-weight: 700;
  text-decoration: underline; text-decoration-color: rgba(243, 200, 113, .45); text-underline-offset: 6px;
}
.hero-aside:hover { text-decoration-color: currentColor; }
.hero-aside .icon { display: inline-block; margin-left: .4em; vertical-align: -.2em; transition: transform .2s ease; }
.hero-aside:hover .icon { transform: translateX(4px); }

.hero-tagline {
  position: absolute; z-index: 4; top: -21%; right: calc(var(--gutter) + 1%);
  margin: 0; font-family: var(--font-script); font-size: clamp(1.45rem, 2.25vw, 2.2rem); line-height: 1.12;
  color: #FFF4DC; transform: rotate(-8deg); text-shadow: 0 3px 18px rgba(4, 11, 26, .85);
}
.hero-tagline span { display: block; }
.hero-tagline span:nth-child(2) { padding-left: .55em; }
.hero-tagline span:nth-child(3) {
  padding-left: 1.1em; padding-bottom: .28em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M4 14C60 6 150 4 296 9' fill='none' stroke='%23E8B14F' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") right bottom / 92% .42em no-repeat;
}

/* the Bell house: drawn, then lit */
.hh-lines .ln { stroke-dasharray: 1; stroke-dashoffset: 1; animation: hhDraw 1.6s cubic-bezier(.65, .05, .25, 1) forwards; }
.hh-lines .ln--gold { stroke: var(--gold); }
.ln--4 { animation-delay: .05s; } .ln--1 { animation-delay: .2s; } .ln--2 { animation-delay: .42s; }
.ln--3 { animation-delay: .5s; } .ln--5 { animation-delay: .85s; } .ln--6 { animation-delay: 1s; } .ln--7 { animation-delay: 1.1s; }
.hh-frames { opacity: 0; animation: hhFade .9s ease 1.25s forwards; }
.hh-lit, .hh-glow { opacity: 0; animation: hhLight 1.5s ease forwards; }
.hh-glow { mix-blend-mode: screen; }
.hh-lit--1, .hh-glow--1 { animation-delay: 1.75s; }
.hh-lit--2, .hh-glow--2 { animation-delay: 2s; }
.hh-lit--3 { animation-delay: 2.2s; }
.hh-lit--4, .hh-glow--4 { animation-delay: 2.75s; }
.hh-lamp { opacity: 0; animation: hhLight 1.3s ease 2.35s forwards; }
.hh-lamp__glow { transform-box: fill-box; transform-origin: center; animation: lampBreath 4.8s ease-in-out infinite; }
@keyframes hhDraw { to { stroke-dashoffset: 0; } }
@keyframes hhFade { to { opacity: 1; } }
@keyframes hhLight { 0% { opacity: 0; } 16% { opacity: .9; } 24% { opacity: .15; } 38% { opacity: 1; } 50% { opacity: .55; } 100% { opacity: 1; } }
@keyframes lampBreath { 0%, 100% { opacity: .82; transform: scale(.97); } 50% { opacity: 1; transform: scale(1.04); } }

.hero-skyline__lights rect { opacity: .4; }
.hero-skyline .tw { animation: twinkle 8s ease-in-out infinite; }
.hero-skyline .beacon { animation: beacon 2.6s steps(1, end) infinite; }
.hero-roofs .rw { fill: #F3C66E; animation: roofWin 13s ease-in-out infinite; }
.hero-roofs .rw-on { fill: #F3C66E; opacity: .88; }
@keyframes twinkle { 0%, 100% { opacity: .14; } 50% { opacity: .9; } }
@keyframes beacon { 0% { opacity: 1; } 50% { opacity: .12; } }
@keyframes roofWin { 0%, 100% { opacity: .06; } 9%, 56% { opacity: .95; } 66% { opacity: .06; } }

.hero-facts { position: relative; z-index: 6; background: linear-gradient(180deg, #081A3C, var(--midnight)); border-top: 1px solid rgba(244, 183, 64, .38); }
.hero-facts__list { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0 auto; padding-block: 15px; }
.hero-facts__list li {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 4px 12px; color: var(--on-night); font-size: .95rem; font-weight: 500; text-align: center;
}
.hero-facts__list li + li { border-left: 1px solid rgba(157, 183, 221, .2); }
.hero-facts__list .icon { color: var(--gold-soft); width: 1.1em; height: 1.1em; padding: 7px; box-sizing: content-box; border-radius: 50%; background: rgba(244, 183, 64, .14); box-shadow: inset 0 0 0 1px rgba(244, 183, 64, .3); }

/* ---------------------------------------------------------------- how can we help */
.paths { padding-block: clamp(52px, 5.4vw, 80px) 0; background: radial-gradient(46% 80% at 100% 0%, rgba(255, 212, 126, .2), transparent 70%), var(--paper); }
.paths__title {
  display: flex; align-items: center; gap: .45em; margin: 0 0 26px;
  font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 2.4vw, 2.2rem); letter-spacing: -.01em;
  color: var(--navy);
}
.paths__title .eyebrow__roof { width: 1.05em; height: 1.05em; }
.paths__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.path-card {
  position: relative; display: flex; flex-direction: column;
  padding: 30px 28px 28px; background: linear-gradient(180deg, #FFFFFF 0%, #F5F8FF 100%);
  border: 1px solid #DCE5F5; border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.path-card::before {
  content: ""; position: absolute; left: 28px; right: 28px; top: -1px; height: 3px; border-radius: 0 0 4px 4px;
  background: var(--grad-dawn); transform: scaleX(.16); transform-origin: left center; transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.path-card:hover::before, .path-card:focus-within::before { transform: scaleX(1); }
.path-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.path-card__icon {
  width: 34px; height: 34px; padding: 14px; box-sizing: content-box; border-radius: 18px;
  background: var(--grad-navy); color: var(--gold-soft); box-shadow: 0 12px 24px -12px rgba(20, 50, 120, .85);
  --lit: transparent; transition: --lit .35s ease;
}
.path-card:hover .path-card__icon, .path-card:focus-within .path-card__icon { --lit: rgba(255, 212, 126, .55); }
.path-card__title { margin: 18px 0 8px; font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; line-height: 1.15; color: var(--navy); }
.path-card p { flex: 1; margin: 0 0 18px; color: var(--muted); }
.path-card__link { display: inline-flex; align-items: center; gap: .45em; color: var(--navy); font-weight: 700; text-decoration: none; }
.path-card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.path-card__link .icon { transition: transform .2s ease; }
.path-card:hover .path-card__link .icon { transform: translateX(5px); }

/* ---------------------------------------------------------------- sections */
.section { padding-block: var(--section-y); }
.section--mist {
  background-color: var(--mist);
  background-image: linear-gradient(rgba(20, 50, 120, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 50, 120, .05) 1px, transparent 1px);
  background-size: 32px 32px;
}
.section--night { background: var(--stars) 0 0 / 320px 320px repeat, var(--night); color: var(--on-night); }
.section--before-roof { padding-bottom: calc(var(--section-y) + var(--roof-h)); }
.section--before-footer { padding-bottom: calc(var(--section-y) + clamp(78px, 8vw, 118px)); }
/* a low gable roof, gold along its edge, caps the big night sections */
.roofed { position: relative; }
.roofed::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: var(--roof-h); pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath d='M0 64 720 3l720 61z' fill='%230A1B3F'/%3E%3Cpath d='M0 64 720 3l720 61' fill='none' stroke='%23F4B740' stroke-width='2.5' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
}
/* cards catch the light where the pointer is */
.spot { position: relative; isolation: isolate; }
.spot::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 212, 126, .24), transparent 62%);
  opacity: 0; transition: opacity .35s ease;
}
.spot:hover::after { opacity: 1; }

/* who we serve */
.serve__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.serve { background: radial-gradient(38% 50% at 0% 45%, rgba(37, 88, 214, .08), transparent 70%), var(--paper); }
.serve__photo { position: relative; isolation: isolate; margin: 34px 0 0; }
.serve__photo::before { content: ""; position: absolute; inset: 12% -4% -4% 12%; z-index: -1; border-radius: 40px; background: var(--grad-dawn); opacity: .24; filter: blur(46px); }
.serve__photo img { width: 100%; border-radius: 10px 10px var(--radius-lg) var(--radius-lg); box-shadow: var(--shadow); }
.serve__photo .photo-note { top: 14px; bottom: auto; }
.serve__badge {
  position: absolute; right: -28px; bottom: 54px; z-index: 2; display: flex; align-items: center; gap: 12px;
  max-width: 250px; margin: 0; padding: 14px 18px; border-radius: 18px; background: #fff;
  color: var(--navy); font-weight: 700; font-size: .98rem; line-height: 1.35;
  box-shadow: 0 0 0 1px rgba(20, 50, 120, .06), 0 24px 44px -18px rgba(12, 31, 80, .5);
}
.serve__badge .icon { flex: none; width: 36px; height: 36px; padding: 8px; box-sizing: border-box; border-radius: 50%; background: var(--grad-gold); color: var(--night); }
.serve__roofline { position: absolute; left: -7%; top: -15%; width: 114%; max-width: none; height: 17%; overflow: visible; }
.photo-note {
  position: absolute; left: 14px; bottom: 14px; margin: 0; padding: 6px 9px; border-radius: 7px;
  background: rgba(10, 24, 48, .74); color: #fff;
  font-family: var(--font-mono); font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.serve__subhead { margin: 1.6rem 0 1rem; font-family: var(--font-body); font-weight: 700; font-size: 1rem; color: var(--navy); }
.eligibility { display: grid; gap: 4px; list-style: none; margin: 0 0 1.3rem; padding: 0; }
.eligibility li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.eligibility li:last-child { border-bottom: 0; }
.eligibility__mark { width: 22px; height: 22px; margin-top: 3px; color: var(--gold); flex: none; }
.eligibility strong { display: block; color: var(--navy); font-size: 1.06rem; }
.eligibility span { display: block; color: var(--muted); }

/* why bell: six pillars living under one roof */
.pillar-house { position: relative; max-width: 1140px; margin: 0 auto; }
.pillar-house__roof { position: relative; height: clamp(80px, 12vw, 172px); }
.pillar-house__roof svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pillar-house__window {
  position: absolute; left: 50%; bottom: 20%; transform: translateX(-50%);
  display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 3px;
  width: clamp(30px, 3.8vw, 52px); aspect-ratio: 1; background: var(--navy);
  box-shadow: 0 0 0 3px var(--navy), 0 0 46px 14px rgba(243, 200, 113, .5);
  animation: windowBreath 6s ease-in-out infinite;
}
.pillar-house__window i { background: linear-gradient(180deg, #FFE7AE, #EBA94B); }
@keyframes windowBreath { 0%, 100% { box-shadow: 0 0 0 3px var(--navy), 0 0 40px 10px rgba(243, 200, 113, .42); } 50% { box-shadow: 0 0 0 3px var(--navy), 0 0 58px 18px rgba(243, 200, 113, .62); } }
.pillar-house__rooms {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px;
  margin: 0 4.2%; padding: 0; list-style: none;
  background: var(--navy); border: 2px solid var(--navy); border-bottom: 0;
}
.room { position: relative; padding: clamp(24px, 3vw, 38px); background: #fff; transition: background-color .35s ease; }
.room:hover { background: #FFFBF2; }
.room__icon { width: 50px; height: 50px; color: var(--navy); --lit: transparent; transition: --lit .35s ease; }
.room:hover .room__icon { --lit: var(--gold-soft); }
.room__title { margin: 16px 0 8px; font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; line-height: 1.2; color: var(--navy); }
.room p { margin: 0; color: var(--muted); }
.pillar-house__ground {
  position: relative; margin: 0 1.5%; padding-top: 16px; border-top: 5px solid var(--navy);
  text-align: center; font-family: var(--font-mono); font-weight: 600; font-size: .8rem; letter-spacing: .3em; text-transform: uppercase; color: var(--navy);
}
.pillar-house__ground::before, .pillar-house__ground::after { content: ""; position: absolute; top: 6px; width: 1px; height: 16px; background: var(--navy); }
.pillar-house__ground::before { left: 0; } .pillar-house__ground::after { right: 0; }
.pillar-house__ground span { display: inline-block; padding-inline: 14px; }

/* our housing */
.housing__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 60px); align-items: start; }
.housing { background: radial-gradient(42% 46% at 100% 100%, rgba(255, 212, 126, .16), transparent 70%), radial-gradient(36% 40% at 0% 0%, rgba(37, 88, 214, .07), transparent 70%), var(--paper); }
.plan { margin: 0; padding: clamp(14px, 2vw, 22px); background: radial-gradient(80% 60% at 75% 0%, rgba(37, 88, 214, .32), transparent 70%), #0B1D45; border-radius: var(--radius-lg); color: #DCE7F6; box-shadow: var(--shadow), inset 0 0 0 1px rgba(169, 196, 240, .12); }
.plan__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(157, 183, 221, .14); }
.seg__btn {
  min-height: 40px; padding: 9px 16px; border: 0; border-radius: 999px; background: transparent;
  color: #DCE7F6; font-weight: 700; font-size: .92rem; cursor: pointer; transition: background-color .2s ease, color .2s ease;
}
.seg__btn:hover { color: #fff; }
.seg__btn[aria-pressed="true"] { background: var(--grad-gold); color: var(--night); box-shadow: 0 6px 16px -8px rgba(240, 160, 50, .9); }
.plan__legend { display: flex; flex-wrap: wrap; gap: 16px; list-style: none; margin: 0; padding: 0; font-family: var(--font-mono); font-size: .76rem; letter-spacing: .06em; color: #C3D2E8; }
.swatch { display: inline-block; width: 12px; height: 12px; margin-right: 7px; border-radius: 3px; vertical-align: -1px; }
.swatch--private { background: rgba(157, 183, 221, .32); box-shadow: inset 0 0 0 1px rgba(157, 183, 221, .7); }
.swatch--shared { background: rgba(232, 177, 79, .42); box-shadow: inset 0 0 0 1px rgba(232, 177, 79, .9); }
.plan__svg { width: 100%; height: auto; }
.zone { transition: fill-opacity .4s ease; }
.zone--room { fill: #9DB7DD; fill-opacity: .06; }
.zone--shared { fill: #E8B14F; fill-opacity: .08; }
.zone--hall { fill: #9DB7DD; fill-opacity: .025; }
.zone--entry { fill: #E8B14F; fill-opacity: 0; }
.plight { opacity: 0; transition: opacity .7s ease; }
.plan-furniture, .plan-yours, .plan-route, .plan-porch, .pl { transition: opacity .45s ease, stroke .3s ease, fill .3s ease, stroke-width .3s ease; }
.plan-yours { opacity: 0; }
.pl { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; fill: #9DB7DD; }
.pl--strong { fill: #EEF4FC; font-size: 12px; font-weight: 600; }
.pl--state { fill: var(--gold-soft); font-size: 10px; }
.pl--dim { font-size: 10px; letter-spacing: .16em; }
.pl--unfurn { opacity: 0; }
.plan-route { stroke-opacity: .5; }
.plan-walker { opacity: 0; }
.plan.is-walking .plan-walker { opacity: 1; }
.plan.lit-r2 .plight--r2 { opacity: 1; }
.plan[data-furnished="false"] .plan-furniture { opacity: .1; }
.plan[data-furnished="false"] .plan-yours { opacity: 1; }
.plan[data-furnished="false"] .pl--furn { opacity: 0; }
.plan[data-furnished="false"] .pl--unfurn { opacity: 1; }
.plan[data-hl="rooms"] .zone--room { fill-opacity: .22; }
.plan[data-hl="rooms"] .plight--r1, .plan[data-hl="rooms"] .plight--r2, .plan[data-hl="rooms"] .plight--r3 { opacity: .95; }
.plan[data-hl="shared"] .zone--shared { fill-opacity: .26; }
.plan[data-hl="shared"] .plight--k, .plan[data-hl="shared"] .plight--l { opacity: 1; }
.plan[data-hl="furniture"] .plan-furniture { stroke: var(--gold-soft); }
.plan[data-hl="route"] .plan-route { stroke-opacity: 1; stroke-width: 2.6; }
.plan[data-hl="entry"] .zone--entry { fill-opacity: .32; }
.plan[data-hl="entry"] .plan-porch { stroke: var(--gold); }
.plan__caption { margin: 10px 2px 0; color: #AFC2DD; font-size: .86rem; }

.details { display: grid; gap: 4px; list-style: none; margin: 0; padding: 0; }
.detail { display: flex; gap: 16px; padding: 14px 16px; border-radius: 16px; transition: background-color .25s ease; }
.detail:hover, .detail.is-active { background: linear-gradient(90deg, var(--mist), rgba(238, 243, 253, 0)); }
.detail__icon { flex: none; width: 24px; height: 24px; padding: 11px; box-sizing: content-box; border-radius: 14px; background: linear-gradient(160deg, #FFE9B6, #FFD47E); color: var(--navy); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 10px 18px -12px rgba(240, 160, 50, .8); }
.detail__title { margin: 2px 0 3px; font-family: var(--font-body); font-weight: 700; font-size: 1.06rem; line-height: 1.3; color: var(--navy); }
.detail p { margin: 0; color: var(--muted); }

.gallery { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); gap: 18px; margin-top: clamp(36px, 4vw, 56px); }
.gallery__item { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.gallery__item img { width: 100%; height: clamp(220px, 23vw, 320px); object-fit: cover; transition: transform .9s cubic-bezier(.2, .8, .2, 1); }
.gallery__item:hover img { transform: scale(1.045); }
.gallery__item figcaption {
  position: absolute; left: 14px; bottom: 14px; margin: 0; padding: 7px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .93); color: var(--navy); box-shadow: 0 10px 20px -12px rgba(0, 0, 0, .55);
  font-family: var(--font-mono); font-weight: 600; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
}
.gallery__note { margin: 14px 0 0; color: var(--muted); font-size: .92rem; }

/* journey */
.journey { background: radial-gradient(ellipse 55% 45% at 85% 34%, rgba(244, 183, 64, .13), transparent 70%), radial-gradient(ellipse 40% 50% at 0% 90%, rgba(37, 88, 214, .22), transparent 70%), var(--stars) 0 0 / 320px 320px repeat, var(--night); }
.journey-band { margin-top: clamp(8px, 2vw, 20px); border-radius: 26px; box-shadow: 0 34px 80px -34px rgba(0, 0, 0, .7), 0 0 0 1px rgba(157, 183, 221, .16); }
.journey-band__svg { width: 100%; height: auto; border-radius: 26px; }
.j-st { --win: #13284F; transition: --win .7s ease; }
.j-st--3 { --win: #CAD6E6; }
.j-st.is-lit { --win: #F6C561; }
.j-label { font-family: var(--font-mono); font-weight: 600; font-size: 13px; letter-spacing: .2em; fill: #EAF1FB; }
.j-label--dark { fill: #13305C; }
.j-stars .tw { animation: twinkle 4.5s ease-in-out infinite; }
.j-stars .tw:nth-child(2n) { animation-delay: -2s; }
.j-sun, .j-sun-glow { transform-box: fill-box; transform-origin: center; animation: sunBreath 7s ease-in-out infinite; }
@keyframes sunBreath { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
.stages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; margin: clamp(24px, 3vw, 36px) 0 0; padding: 0; }
/* solid, not see-through: on GPU compositing a translucent card around the animated window art
   accumulates into a white haze */
.stage { position: relative; padding: 26px 24px 28px; border: 1px solid rgba(169, 196, 240, .2); border-radius: var(--radius-lg); background: linear-gradient(180deg, #1C2C4D, #0F2043); }
.stage__art { display: none; }
.stage__kicker { margin: 0 0 10px; font-family: var(--font-mono); font-weight: 600; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-soft); }
.stage__title { margin: 0 0 10px; font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; line-height: 1.15; color: #fff; }
.stage p { margin: 0; color: var(--on-night-muted); }
.journey__close { margin: clamp(28px, 3vw, 42px) 0 0; text-align: center; font-family: var(--font-script); font-size: clamp(1.7rem, 3vw, 2.5rem); color: var(--gold); }

/* how it works: four steps that climb like stairs */
.stairs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; list-style: none; margin: clamp(30px, 4vw, 48px) 0 0; padding: 0; }
.how { background: radial-gradient(40% 50% at 100% 0%, rgba(255, 212, 126, .16), transparent 70%), var(--paper); }
.stair { position: relative; padding: 24px 22px 26px; border-bottom: 5px solid var(--navy); background: linear-gradient(180deg, rgba(227, 235, 250, 0) 0%, #E4ECFB 100%); }
.stair:last-child { border-bottom-color: var(--gold); box-shadow: 0 14px 26px -16px rgba(240, 160, 50, .9); }
.stair:nth-child(2) { margin-bottom: 38px; }
.stair:nth-child(3) { margin-bottom: 76px; }
.stair:nth-child(4) { margin-bottom: 114px; }
.stair + .stair::before { content: ""; position: absolute; left: 0; bottom: -43px; height: 43px; border-left: 5px solid var(--navy); }
.stair__num { display: inline-block; margin-bottom: 14px; padding: 5px 10px; border-radius: 8px; background: var(--grad-navy); color: #fff; font-family: var(--font-mono); font-weight: 600; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; }
.stair__icon { width: 30px; height: 30px; color: var(--gold-deep); margin-bottom: 10px; }
.stair__title { margin: 0 0 8px; font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; line-height: 1.15; color: var(--navy); }
.stair p { margin: 0; color: var(--muted); }
.stair a { color: var(--navy); font-weight: 700; }

.agreement-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 3vw, 36px); align-items: stretch; margin-top: clamp(48px, 5.5vw, 76px); }
.agreement-photo { margin: 0; }
.agreement-photo picture, .agreement-photo img { height: 100%; }
.agreement-photo img { width: 100%; min-height: 280px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.agreement { position: relative; padding: clamp(24px, 3.4vw, 44px); background: #fff; border: 1px solid #DCE5F5; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.agreement::before, .app-card::before, .contact-card::before { content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 4px; border-radius: 0 0 6px 6px; background: var(--grad-dawn); }
.agreement__seal { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 22px; font-family: var(--font-mono); font-weight: 600; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); }
.agreement__seal svg { width: 42px; height: 33px; --logo-roof: var(--navy); --logo-pane: #fff; }
.agreement__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 28px; }
.agreement__cols > div + div { padding-left: 30px; border-left: 1px dashed var(--line); }
.agreement__title { margin: 0 0 14px; font-family: var(--font-display); font-weight: 400; font-size: 1.32rem; line-height: 1.2; color: var(--navy); }
.ticks { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .icon { margin-top: .2em; color: var(--gold); }
.ticks--compact { gap: 7px; }

/* house rules */
.rules__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.notice { overflow: hidden; background: #fff; border-radius: 18px; box-shadow: var(--shadow); }
.notice__head { margin: 0; padding: 14px 24px; background: var(--grad-navy); color: #fff; font-family: var(--font-mono); font-weight: 600; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; }
.notice__list { display: grid; gap: 12px; list-style: none; margin: 0; padding: 22px 24px; }
.notice__list li { display: flex; gap: 12px; align-items: flex-start; }
.notice__list .icon { margin-top: .25em; color: var(--gold); }
.notice__list strong { color: var(--navy); }
.notice__foot { margin: 0; padding: 16px 24px 20px; border-top: 1px dashed var(--line); color: var(--muted); font-size: .96rem; }
.hanging-sign { position: relative; width: min(100%, 380px); margin: 0 auto; padding-top: 74px; }
.hanging-sign__nail { position: absolute; left: 50%; top: 0; width: 15px; height: 15px; margin-left: -7.5px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #F8E4B6, #8E6A2C); box-shadow: 0 2px 4px rgba(0, 0, 0, .3); z-index: 2; }
.hanging-sign__wire {
  position: absolute; left: 50%; top: 7px; width: 64%; height: 70px; transform: translateX(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 70' preserveAspectRatio='none'%3E%3Cpath d='M1 70 50 1l49 69' fill='none' stroke='%237B8BA5' stroke-width='1.6' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.hanging-sign__frame {
  position: relative; padding: clamp(34px, 4vw, 48px) 24px; border: 12px solid #1B2840; border-radius: 4px;
  background: radial-gradient(ellipse at 50% 40%, #13305C 0%, #0A1830 80%);
  box-shadow: inset 0 0 0 2px rgba(232, 177, 79, .55), inset 0 0 0 8px #0A1830, inset 0 0 0 9px rgba(232, 177, 79, .25), 0 26px 40px -22px rgba(10, 24, 48, .7);
  transform: rotate(-1.6deg); transform-origin: 50% -70px; transition: transform .6s cubic-bezier(.3, 1.6, .5, 1);
}
.hanging-sign:hover .hanging-sign__frame { transform: rotate(1.2deg); }
.hanging-sign__text { margin: 0; text-align: center; font-family: var(--font-script); font-size: clamp(2.1rem, 3.6vw, 2.9rem); line-height: 1.15; color: var(--gold-soft); }
.rules__aside { max-width: 32ch; margin: 22px auto 0; text-align: center; color: var(--muted); font-size: .98rem; }

/* promise: the quilt of lit windows */
.promise { padding-bottom: var(--section-y); background: radial-gradient(50% 40% at 50% 100%, rgba(37, 88, 214, .18), transparent 70%), var(--stars) 0 0 / 320px 320px repeat, var(--midnight); color: var(--on-night); }
.quilt { position: relative; display: grid; place-items: center; height: clamp(380px, 40vw, 490px); overflow: hidden; touch-action: pan-y; }
.quilt__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.quilt__veil { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 48% 54% at 50% 52%, rgba(6, 19, 46, .94) 0%, rgba(6, 19, 46, .74) 46%, rgba(6, 19, 46, 0) 100%), linear-gradient(180deg, rgba(6, 19, 46, 0) 70%, var(--midnight) 100%); }
.quilt__copy { position: relative; text-align: center; pointer-events: none; }
.promise__title { max-width: 15ch; margin: 0 auto 16px; font-family: var(--font-script); font-weight: 400; font-size: clamp(2.3rem, 5.2vw, 4.5rem); line-height: 1.1; color: var(--gold); text-shadow: 0 4px 30px rgba(0, 0, 0, .7); }
.quilt__caption { margin: 0; color: var(--on-night); font-size: 1.06rem; text-wrap: balance; }
.quilt__hint-touch { display: none; }
.quilt__hint { display: block; margin-top: 8px; font-family: var(--font-mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: #93AACB; }
.promise__body { margin-top: clamp(36px, 5vw, 64px); }
.promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; list-style: none; margin: 0; padding: 0; overflow: hidden; border: 1px solid rgba(169, 196, 240, .18); border-radius: var(--radius-lg); background: rgba(169, 196, 240, .18); box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .8); }
.promise-card { padding: 28px 26px; background: linear-gradient(180deg, #0B1D45 0%, var(--midnight) 100%); transition: background-color .3s ease; }
.promise-card h3 { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 8px; font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; color: #fff; }
.promise-card h3::before { content: ""; flex: none; width: 11px; height: 11px; margin-top: .48em; border-radius: 2px; background: var(--gold); box-shadow: 0 0 14px 2px rgba(243, 200, 113, .65); }
.promise-card p { margin: 0; color: var(--on-night-muted); }
.promise-card a { color: var(--gold-soft); font-weight: 700; }
.promise__values { display: flex; flex-wrap: wrap; justify-content: center; margin: 36px 0 0; font-family: var(--font-display); font-size: clamp(1.45rem, 2.6vw, 2.1rem); color: #fff; }
.promise__values span + span::before { content: "•"; margin: 0 .55em; color: var(--gold); }
.stat { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 34px; align-items: center; max-width: 920px; margin: clamp(36px, 4vw, 54px) auto 0; padding-top: 32px; border-top: 1px solid rgba(157, 183, 221, .2); }
.stat__figure { grid-row: span 2; margin: 0; padding-right: .06em; font-family: var(--font-display); font-size: clamp(3.6rem, 7vw, 5.6rem); line-height: .95; color: var(--gold); background: var(--grad-dawn); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat__quote { margin: 0; }
.stat__quote p { margin: 0; color: #fff; font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.4; }
.stat__source { color: #A6B9D6; font-size: .92rem; }
.stat__source a { color: inherit; }

/* families & partners */
.helpers__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: stretch; }
.helper { overflow: hidden; border-radius: var(--radius-lg); }
.helper--family { display: grid; grid-template-rows: auto 1fr; background: #fff; border: 1px solid #DCE5F5; box-shadow: var(--shadow-card); }
.helper__photo { position: relative; margin: 0; }
.helper__photo img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; object-position: 50% 62%; }
.helper__body { padding: clamp(24px, 3vw, 38px); }
.helper__body > p { color: var(--muted); }
.helper__label { margin: 1rem 0 .7rem; font-weight: 700; color: var(--navy) !important; }
.helper--partner { position: relative; display: flex; flex-direction: column; padding: clamp(26px, 3.4vw, 42px); background: radial-gradient(80% 60% at 100% 0%, rgba(244, 183, 64, .2), transparent 62%), var(--grad-navy); color: #E4ECF9; box-shadow: var(--shadow); }
.helper--partner > * { position: relative; z-index: 1; }
.refer-steps { display: grid; gap: 14px; list-style: none; margin: 1.4rem 0 0; padding: 0; }
.refer-steps li { display: flex; gap: 14px; align-items: flex-start; }
.refer-steps__n { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: var(--night); font-weight: 700; }
.refer-steps p { margin: 3px 0 0; }
.refer-steps strong { color: #fff; }
.helper__contact { display: flex; align-items: center; gap: 10px; margin: auto 0 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .16); color: var(--gold-soft); }
.helper__contact span { color: #DCE6F8; }
.helper__contact a { color: #fff; font-weight: 700; text-decoration: none; }
.helper--partner .actions { margin-bottom: 28px; }

/* resident application */
.apply { background: radial-gradient(ellipse 50% 42% at 88% 32%, rgba(244, 183, 64, .17), transparent 70%), radial-gradient(ellipse 45% 55% at 0% 100%, rgba(37, 88, 214, .34), transparent 72%), var(--stars) 0 0 / 320px 320px repeat, var(--night); }
.apply__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); grid-template-rows: auto 1fr; grid-template-areas: "intro card" "extras card"; gap: 0 clamp(28px, 5vw, 76px); align-items: start; }
.apply__intro { grid-area: intro; }
.apply__extras { grid-area: extras; }
.apply .app-card { grid-area: card; }
.apply__intro .h2 { font-size: clamp(2.05rem, 3.5vw, 3.15rem); }
.apply__lede { color: var(--on-night-muted); font-size: 1.1rem; }
.handy { margin: 8px 0 26px; padding: 20px 22px; border: 1px solid rgba(157, 183, 221, .24); border-radius: 18px; background: rgba(255, 255, 255, .03); }
.handy__title { margin: 0 0 12px; font-family: var(--font-mono); font-weight: 600; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); }
.handy__list { display: grid; gap: 7px; margin: 0; padding-left: 1.15em; color: var(--on-night); }
.handy__list li::marker { color: var(--gold); }
.assure { display: grid; gap: 11px; list-style: none; margin: 0 0 22px; padding: 0; }
.assure li { display: flex; gap: 11px; align-items: flex-start; color: var(--on-night-muted); }
.assure .icon { margin-top: .22em; color: var(--gold-soft); }
.apply__call { margin: 0; color: #fff; font-weight: 600; }
.apply__call a { color: var(--gold-soft); }

.app-card, .contact-card { position: relative; padding: clamp(22px, 3.2vw, 44px); background: #fff; color: var(--ink); border-radius: 24px; box-shadow: 0 44px 90px -34px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .06); }
.app-progress, .app-status { display: none; }
.js .app-progress, .js .app-status { display: block; }
.app-progress__list { position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.app-progress__list::before { content: ""; position: absolute; left: 7%; right: 7%; top: 19px; border-top: 2px dashed var(--line); }
.app-progress__list li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.app-progress__house { position: relative; width: 36px; height: 36px; }
.app-progress__house::before {
  content: ""; position: absolute; inset: 0; background: #C9D4E3; transition: background-color .3s ease;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Cpath d='M2 17 18 3l16 14h-4v17H6V17z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Cpath d='M2 17 18 3l16 14h-4v17H6V17z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.app-progress__house::after { content: ""; position: absolute; left: 13px; top: 17px; width: 10px; height: 10px; background: #fff; transition: background-color .3s ease, box-shadow .3s ease; }
.app-progress__label { font-family: var(--font-mono); font-weight: 600; font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); text-align: center; line-height: 1.25; }
.app-progress li.is-current .app-progress__house::before, .app-progress li.is-done .app-progress__house::before { background: var(--navy); }
.app-progress li.is-current .app-progress__house::after { background: var(--gold-soft); box-shadow: 0 0 12px 2px rgba(243, 200, 113, .8); }
.app-progress li.is-done .app-progress__house::after { background: var(--gold); }
.app-progress li.is-current .app-progress__label { color: var(--navy); }
.app-status { margin: 16px 0 4px; text-align: center; font-family: var(--font-mono); font-weight: 600; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); }

.app-step + .app-step { margin-top: 30px; padding-top: 30px; border-top: 1px solid var(--line); }
.js .app-step { display: none; }
.js .app-step.is-current { display: block; margin-top: 0; padding-top: 0; border-top: 0; animation: stepIn .35s ease; }
@keyframes stepIn { from { opacity: .2; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.app-step__title { margin: 10px 0 6px; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.15; color: var(--navy); outline: none; }
.app-step__intro { margin: 0 0 20px; color: var(--muted); }

.field { min-width: 0; margin: 0 0 18px; padding: 0; border: 0; }
.field--half { max-width: calc(50% - 9px); }
.field__label { display: block; margin-bottom: 8px; padding: 0; color: var(--navy); font-weight: 700; font-size: .98rem; line-height: 1.35; }
.req, .opt { display: inline-block; margin-left: 6px; padding: 2px 7px; border-radius: 6px; font-family: var(--font-mono); font-weight: 600; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; vertical-align: 2px; }
.req { color: #6E4708; background: #FDF0D3; }
.opt { color: var(--muted); background: var(--mist); }
.input {
  width: 100%; min-height: 52px; padding: 13px 15px;
  font-size: 1.0625rem; line-height: 1.4; color: var(--ink);
  background: #F7F9FC; border: 1.5px solid #C3CFDF; border-radius: 12px;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.input::placeholder { color: #6A7890; }
.input:hover { border-color: #93A6C2; }
.input:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(232, 177, 79, .38); }
.input--area { min-height: 110px; resize: vertical; }
.input--select {
  appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23143278' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 20px;
}
.input--signature { font-family: var(--font-script); font-size: 1.55rem; color: var(--navy); }
.field.has-error .input, .field.has-error .choice { border-color: #B42318; }
.field.has-error .input { background: #FFF7F6; }
.field__error { margin: 7px 0 0; color: #B42318; font-weight: 700; font-size: .92rem; }
.field__error:empty { display: none; }
.field__hint { margin: 8px 0 0; color: var(--muted); font-size: .92rem; }
.field__hint--tight { margin: -6px 0 18px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.field-row--3 { grid-template-columns: 1.2fr 1fr 1fr; }
.field-row--contact { grid-template-columns: minmax(0, 1fr); }
.field-group__title { margin: 26px 0 12px; padding-top: 18px; border-top: 1px dashed var(--line); color: var(--navy); font-weight: 700; }

.choices { display: grid; gap: 10px; }
.choices--inline { display: flex; flex-wrap: wrap; }
.choices--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice {
  display: flex; align-items: flex-start; gap: 12px; padding: 13px 15px;
  border: 1.5px solid #C3CFDF; border-radius: 12px; background: #F7F9FC;
  font-weight: 500; line-height: 1.4; cursor: pointer; transition: border-color .2s ease, background-color .2s ease;
}
.choice:hover { border-color: var(--navy); }
.choice input {
  appearance: none; flex: none; display: grid; place-content: center;
  width: 22px; height: 22px; margin: 0; border: 2px solid #7F91AD; border-radius: 50%; background: #fff; cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease;
}
.choice input[type="checkbox"] { border-radius: 6px; }
.choice input:checked { border-color: var(--navy); background: var(--navy); }
.choice input[type="radio"]:checked::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-soft); }
.choice input[type="checkbox"]:checked::before { content: ""; width: 11px; height: 6px; border-left: 2.5px solid var(--gold-soft); border-bottom: 2.5px solid var(--gold-soft); transform: translate(0, -1px) rotate(-45deg); }
.choice input:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.choice:has(input:checked) { border-color: var(--navy); background: #FFF8E8; }
.choice--agree { font-size: .98rem; }
.choices--small { gap: 8px; }
.choices--small .choice { padding: 9px 11px; gap: 8px; }
.cond { margin: -2px 0 20px; padding: 18px 18px 2px; border-left: 3px solid var(--gold); border-radius: 0 14px 14px 0; background: var(--mist); }
.cond[hidden] { display: none; }
.cond__intro { margin: 0 0 14px; color: var(--muted); font-size: .96rem; }

.app-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 28px; }
.app-nav [data-back], .app-nav [data-next] { display: none; }
.js .app-nav [data-back], .js .app-nav [data-next] { display: inline-flex; }
.app-nav [data-next]:only-child, .app-nav [data-next]:first-child { margin-left: auto; }
.app-nav [type="submit"] { margin-left: auto; }

.review { display: grid; gap: 16px; margin: 0 0 24px; padding: 18px 20px; border-radius: 16px; background: var(--mist); }
.review[hidden] { display: none; }
.review__group h4 { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 8px; font-family: var(--font-mono); font-weight: 600; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
.review__edit { padding: 4px 8px; border: 0; border-radius: 6px; background: transparent; color: var(--navy); font-family: var(--font-body); font-weight: 700; font-size: .88rem; letter-spacing: 0; text-transform: none; text-decoration: underline; cursor: pointer; }
.review__edit:hover { background: #fff; }
.review dl { display: grid; grid-template-columns: minmax(120px, 38%) minmax(0, 1fr); gap: 5px 14px; margin: 0; font-size: .95rem; }
.review dt { color: var(--muted); }
.review dd { margin: 0; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.review__empty { margin: 0; color: var(--muted); font-size: .95rem; }
.app-fee-note { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 0; padding: 12px 14px; border-radius: 12px; background: #FFF4DD; color: #5F3F08; font-weight: 600; font-size: .96rem; }
.app-fee-note .icon { margin-top: .2em; }
.app-error { margin-top: 16px; padding: 12px 16px; border: 1.5px solid #F0B2AB; border-radius: 12px; background: #FFF2F1; color: #7A1E15; }
.app-error[hidden] { display: none; }
.app-error p { margin: 0; }
.app-error a { color: inherit; font-weight: 700; }

.app-done { display: none; outline: none; }
.app-done:target, .app-done.is-visible { display: block; }
.app-card.is-done .app-form, .contact-card.is-done .contact-form { display: none; }
.app-done__mark { width: 64px; height: 50px; --logo-roof: var(--navy); --logo-pane: #fff; }
.app-done__title { margin: 16px 0 8px; font-family: var(--font-display); font-weight: 400; font-size: 2rem; color: var(--navy); }
.app-done__lede { font-size: 1.08rem; }
.app-done__steps { display: grid; gap: 6px; margin: 0 0 1em; padding-left: 1.3em; }
.app-done__steps li::marker { color: var(--gold-deep); font-weight: 700; }
.app-done a { color: var(--navy); font-weight: 700; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* resources */
.res-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; }
.resources { background: radial-gradient(40% 45% at 0% 100%, rgba(255, 212, 126, .16), transparent 70%), var(--paper); }
.res { padding: 24px; background: linear-gradient(180deg, #FFFFFF, #F6F9FF); border: 1px solid #DCE5F5; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); transition: transform .25s ease, box-shadow .25s ease; }
.res:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.res__icon { width: 26px; height: 26px; padding: 13px; box-sizing: content-box; border-radius: 16px; background: var(--grad-navy); color: var(--gold-soft); box-shadow: 0 12px 22px -12px rgba(20, 50, 120, .85); }
.res__title { margin: 16px 0 10px; font-family: var(--font-display); font-weight: 400; font-size: 1.32rem; color: var(--navy); }
.res__links { display: grid; gap: 9px; list-style: none; margin: 0; padding: 0; }
.res__links a { color: var(--navy); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(19, 48, 92, .25); text-underline-offset: 4px; }
.res__links a:hover { text-decoration-color: var(--gold); }
.res__links .icon { display: inline-block; width: .85em; height: .85em; margin-left: .35em; vertical-align: -.05em; }
.crisis { display: flex; align-items: center; gap: 12px; margin: 22px 0 0; padding: 16px 20px; border-radius: 18px; background: var(--grad-navy); color: #fff; box-shadow: var(--shadow-card); }
.crisis .icon { width: 1.4em; height: 1.4em; color: var(--gold-soft); }
.crisis a { color: var(--gold-soft); font-weight: 700; }

/* faq */
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 76px); align-items: start; }
.faq__intro { position: sticky; top: calc(var(--header-h) + 28px); }
.faq__call { display: grid; gap: 2px; margin-top: 8px; padding: 24px 26px; border-radius: 22px; background: radial-gradient(70% 80% at 100% 0%, rgba(244, 183, 64, .22), transparent 62%), var(--grad-navy); box-shadow: var(--shadow); }
.faq__call-label { margin: 0 0 4px; font-family: var(--font-mono); font-weight: 600; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); }
.faq__call-phone { font-family: var(--font-display); font-size: clamp(1.7rem, 2.6vw, 2.1rem); color: #fff; text-decoration: none; }
.faq__call-phone:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.faq__call-mail { color: #DCE6F8; font-weight: 600; overflow-wrap: anywhere; }
.qa { margin-bottom: 10px; background: #fff; border: 1px solid #DCE5F5; border-radius: 18px; box-shadow: 0 1px 2px rgba(12, 31, 80, .05); transition: border-color .2s ease, box-shadow .2s ease; }
.qa[open] { border-color: #C9D7F2; box-shadow: inset 4px 0 0 var(--gold), 0 18px 34px -24px rgba(12, 31, 80, .5); }
.qa summary { position: relative; padding: 18px 60px 18px 22px; list-style: none; cursor: pointer; color: var(--navy); font-weight: 700; font-size: 1.08rem; line-height: 1.35; border-radius: 16px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%;
  background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%23143278' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .25s ease, background-color .25s ease;
}
.qa[open] summary::after { transform: rotate(45deg); background-color: var(--gold); }
.qa summary:hover { background: #FAFBFD; }
.qa__a { padding: 0 22px 20px; color: var(--muted); }
.qa__a p { margin: 0; }
.qa__a a { color: var(--navy); font-weight: 700; }

/* contact */
.contact { background: radial-gradient(ellipse 45% 50% at 100% 100%, rgba(244, 183, 64, .13), transparent 70%), radial-gradient(ellipse 40% 45% at 0% 0%, rgba(37, 88, 214, .2), transparent 70%), var(--stars) 0 0 / 320px 320px repeat, var(--night); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 76px); align-items: start; }
.contact__lede { color: var(--on-night-muted); font-size: 1.15rem; }
.contact__list { display: grid; gap: 18px; list-style: none; margin: 30px 0; padding: 0; }
.contact__list li { display: flex; align-items: center; gap: 16px; }
.contact__icon { flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 18px; background: var(--grad-gold); color: var(--night); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 14px 26px -14px rgba(240, 160, 50, .8); }
.contact__icon .icon { width: 24px; height: 24px; }
.contact__label { display: block; font-family: var(--font-mono); font-weight: 600; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: #93AACB; }
.contact__list a, .contact__list div > span:not(.contact__label) { color: #fff; font-weight: 700; font-size: clamp(1.05rem, 1.6vw, 1.25rem); text-decoration: none; overflow-wrap: anywhere; }
.contact__list a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 5px; }
.contact__apply { color: var(--on-night-muted); }
.contact__apply a { color: var(--gold-soft); font-weight: 700; }
.contact-card__title { margin: 0 0 18px; font-family: var(--font-display); font-weight: 400; font-size: 1.65rem; color: var(--navy); }
.app-done--compact .app-done__title { font-size: 1.7rem; }

/* area served */
.area__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 32px; margin-bottom: 26px; }
.area__head .h2 { margin-bottom: 0; }
.area__text { max-width: 46ch; margin: 0; color: var(--muted); }
.area__text a { color: var(--navy); font-weight: 700; }
.map-frame { position: relative; overflow: hidden; padding: 8px; border: 1px solid #DCE5F5; border-radius: 32px; background: #fff; box-shadow: var(--shadow); }
.map-frame iframe { position: relative; z-index: 1; display: block; width: 100%; height: 360px; border-radius: 24px; filter: saturate(.8) contrast(1.03); }
.map-fallback {
  position: absolute; inset: 8px; border-radius: 24px; display: grid; place-content: center; justify-items: center; gap: 10px;
  color: var(--navy); font-family: var(--font-mono); font-weight: 600; font-size: .85rem; letter-spacing: .16em; text-transform: uppercase;
  background: linear-gradient(rgba(19, 48, 92, .07) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, rgba(19, 48, 92, .07) 1px, transparent 1px) 0 0 / 28px 28px, var(--mist);
}
.map-fallback .icon { width: 34px; height: 34px; color: var(--gold-deep); }
.map-frame::after { content: ""; position: absolute; inset: 8px; z-index: 2; pointer-events: none; border-radius: 24px; background: rgba(20, 50, 120, .08); mix-blend-mode: multiply; }

/* footer */
.site-footer { position: relative; padding-top: clamp(56px, 6.5vw, 88px); background: var(--stars) 0 0 / 320px 320px repeat, var(--midnight); color: var(--on-night-muted); }
.footer-roofs { position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); width: 100%; height: clamp(78px, 8vw, 118px); pointer-events: none; }
.footer-roofs .rw { fill: #F6CC72; animation: roofWin 15s ease-in-out infinite; }
.footer-roofs .rw-on { fill: #F6CC72; opacity: .85; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.15fr; gap: 40px; padding-bottom: 52px; }
.footer__logo { display: inline-flex; flex-direction: column; align-items: flex-start; color: #fff; text-decoration: none; }
.footer__mark { width: 88px; height: 69px; --logo-roof: #FFFFFF; --logo-pane: var(--midnight); }
.footer__name { margin-top: 8px; padding-right: .1em; font-family: var(--font-display); font-size: 3.2rem; line-height: 1.05; letter-spacing: .16em; color: var(--gold); background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.footer__sub { margin-top: 8px; font-family: var(--font-mono); font-weight: 600; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: #fff; }
.footer__tag { margin-top: 8px; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: #93AACB; }
.footer__script { margin: 24px 0 0; font-family: var(--font-script); font-size: 1.65rem; line-height: 1.25; color: var(--gold-soft); }
.footer__head { margin: 0 0 16px; font-family: var(--font-mono); font-weight: 600; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); }
.footer__nav ul, .footer__contact ul { display: grid; gap: 11px; list-style: none; margin: 0; padding: 0; }
.footer__nav a, .footer__contact a, .footer__contact span { display: inline-flex; align-items: center; gap: 10px; color: var(--on-night); text-decoration: none; overflow-wrap: anywhere; }
.footer__nav a:hover, .footer__contact a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer__contact .icon { color: var(--gold); }
.footer__contact .btn { margin-top: 22px; color: var(--night); }
.footer__contact .btn:hover { text-decoration: none; }
.footer__base { border-top: 1px solid rgba(157, 183, 221, .14); }
.footer__base-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 20px; color: #93AACB; font-size: .88rem; }
.footer__base-inner p { margin: 0; }

/* phone call-to-action bar */
.cta-bar {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 90;
  display: none; grid-template-columns: 1fr 1.45fr; gap: 8px; padding: 8px; border-radius: 18px;
  background: var(--night); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .6), 0 0 0 1px rgba(244, 183, 64, .28);
  transform: translateY(150%); transition: transform .35s ease;
}
.cta-bar.is-visible { transform: none; }
.cta-bar__btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 12px; font-weight: 700; text-decoration: none; }
.cta-bar__btn--call { background: rgba(255, 255, 255, .08); color: #fff; }
.cta-bar__btn--apply { background: var(--grad-gold); color: var(--night); }
body.menu-open .cta-bar { transform: translateY(150%); }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1240px) {
  .nav__list a { font-size: .92rem; }
  .topbar__tag { display: none; }
}
@media (max-width: 1023px) {
  :root { --topbar-h: 0px; --header-h: 66px; }
  .topbar { display: none; }
  .nav { display: none; }
  .menu-toggle { display: inline-block; }
  .hero { min-height: 0; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); padding-top: clamp(36px, 7vw, 64px); }
  .hero-copy { padding-bottom: 0; max-width: 680px; }
  .hero-stage { width: min(100%, 720px); margin: 20px auto 0; padding-top: clamp(64px, 12vw, 96px); justify-self: center; }
  .hero-tagline { top: 0; left: 50%; right: auto; width: max-content; max-width: 100%; text-align: center; transform: translateX(-50%) rotate(-4deg); font-size: clamp(1.3rem, 4.4vw, 1.9rem); line-height: 1.2; }
  .hero-tagline span { display: inline-block; }
  .hero-tagline span:nth-child(2) { padding-left: 0; }
  .hero-tagline span:nth-child(3) { padding-left: 0; }
  .hero-roofs { height: clamp(70px, 14vw, 120px); }
}
@media (min-width: 1024px) {
  .mobile-menu { display: none; }
}
@media (max-width: 960px) {
  .serve__grid, .housing__grid, .agreement-row, .rules__grid, .helpers__grid, .apply__grid, .faq__grid, .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .serve__photo { max-width: 460px; margin-inline: auto; }
  .faq__intro { position: static; }
  .apply__grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; grid-template-areas: "intro" "card" "extras"; }
  .apply__extras { margin-top: 28px; }
  .pillar-house__rooms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stairs { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 0; }
  .stair:nth-child(n) { margin-bottom: 0; }
  .stair + .stair::before { display: none; }
  .stair { border-bottom-width: 3px; }
  .stair:nth-child(odd) { border-right: 1px dashed var(--line); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery__item:first-child { grid-column: 1 / -1; }
  .serve__badge { right: 14px; bottom: 18px; }
  .res-grid, .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .agreement-photo img { max-height: 340px; }
}
@media (max-width: 767px) {
  .journey-band { display: none; }
  .stages { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .stage { padding: 22px 22px 24px; }
  .stage__art { display: block; width: 132px; height: auto; margin: 0 0 12px; }
  .stage + .stage::before { content: ""; position: absolute; left: 50%; top: -35px; height: 34px; border-left: 2px dashed rgba(243, 200, 113, .5); }
  .stage--1 .stage__art { animation: stageLit 9s ease-in-out infinite; }
  .stage--2 .stage__art { animation: stageLit 9s ease-in-out 3s infinite; }
  .stage--3 .stage__art { animation: stageLit 9s ease-in-out 6s infinite; }
  .cta-bar { display: grid; }
  .site-footer { padding-bottom: 86px; }
}
@keyframes stageLit { 0%, 8% { --win: #13284F; } 18%, 82% { --win: #F6C561; } 100% { --win: #13284F; } }
@media (max-width: 640px) {
  .navbar__apply { display: none; }
  .brand__mark { width: 42px; height: 33px; }
  .brand__name { font-size: 1.42rem; }
  .hero-actions .btn { width: 100%; }
  .hero-facts__list { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 10px; }
  .hero-facts__list li { justify-content: flex-start; text-align: left; padding: 10px 6px; font-size: .9rem; }
  .hero-facts__list li + li { border-left: 0; }
  .hero-facts__list li:nth-child(even) { border-left: 1px solid rgba(157, 183, 221, .2); padding-left: 14px; }
  .hero-facts__list li:nth-child(n + 3) { border-top: 1px solid rgba(157, 183, 221, .2); }
  .paths__list { grid-template-columns: minmax(0, 1fr); }
  .pillar-house__rooms { grid-template-columns: minmax(0, 1fr); margin-inline: 3%; }
  .pillar-house__ground { font-size: .66rem; letter-spacing: .16em; }
  .stairs { grid-template-columns: minmax(0, 1fr); }
  .stair:nth-child(odd) { border-right: 0; }
  .gallery, .res-grid, .promises { grid-template-columns: minmax(0, 1fr); }
  .gallery__item:first-child { grid-column: auto; }
  .gallery__item img { height: 240px; }
  .serve__badge { max-width: 230px; padding: 12px 14px; font-size: .92rem; }
  .agreement__cols { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .agreement__cols > div + div { padding: 22px 0 0; border-left: 0; border-top: 1px dashed var(--line); }
  .field-row, .field-row--3, .choices--grid { grid-template-columns: minmax(0, 1fr); }
  .field--half { max-width: none; }
  .app-progress__label { display: none; }
  .app-progress__house { width: 30px; height: 30px; }
  .app-progress__house::after { left: 11px; top: 14px; width: 8px; height: 8px; }
  .app-progress__list::before { top: 16px; }
  .app-nav .btn { flex: 1 1 auto; }
  .review dl { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .review dd { margin-bottom: 8px; }
  .stat { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .stat__figure { grid-row: auto; }
  .map-frame iframe { height: 300px; }
  .pl { font-size: 19px; letter-spacing: .06em; }
  .pl--strong { font-size: 21px; }
  .pl--state, .pl--dim, .plan-dim { display: none; }
  .promise__values { display: grid; grid-template-columns: repeat(2, auto); justify-content: center; gap: 6px 28px; }
  .promise__values span:first-child::before, .promise__values span + span::before { content: "•"; margin: 0 .35em 0 0; color: var(--gold); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (hover: none) {
  .quilt__hint-pointer { display: none; }
  .quilt__hint-touch { display: inline; }
}

/* ---------------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hh-lines .ln { animation: none; stroke-dashoffset: 0; }
  .hh-frames, .hh-lit, .hh-glow, .hh-lamp { animation: none; opacity: 1; }
  .hh-lamp__glow, .hero-skyline .tw, .hero-skyline .beacon, .j-stars .tw, .j-sun, .j-sun-glow, .pillar-house__window, .stage__art { animation: none; }
  .hero-roofs .rw { animation: none; opacity: .75; }
  .quilt__hint { display: none; }
  .stage__art { --win: #F6C561; }
  .js .app-step.is-current { animation: none; }
  .btn, .path-card, .res, .hanging-sign__frame, .gallery__item img { transition: none; }
  .btn--gold::before, .btn--navy::before, .spot::after { display: none; }
  .footer-roofs .rw { animation: none; opacity: .75; }
  .btn:hover, .path-card:hover, .res:hover { transform: none; }
}

/* ================================================================ multi-page additions */
/* current page in the navigation (set by site.js, so the header markup stays identical) */
.nav__list a[aria-current="page"] { color: #fff; }
.nav__list a[aria-current="page"]::before { opacity: 1; transform: translate(-50%, 0); }
.mobile-menu__list a[aria-current="page"] { color: var(--gold-soft); }
.footer__nav a[aria-current="page"] { color: var(--gold-soft); }
.footer__base-inner a { color: var(--on-night); }
.footer__base-inner a:hover { color: #fff; }

.actions--center { justify-content: center; }
.lede--light { color: var(--on-night-muted); }
.section--glow { background: radial-gradient(42% 55% at 100% 0%, rgba(255, 212, 126, .16), transparent 70%), radial-gradient(36% 45% at 0% 100%, rgba(37, 88, 214, .07), transparent 70%), var(--paper); }

/* inner-page hero: the same night street, a lit house, first light on the horizon */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  padding: clamp(40px, 5.5vw, 76px) 0 clamp(124px, 12vw, 172px);
  background:
    radial-gradient(55% 80% at 80% 108%, rgba(240, 144, 74, .52), rgba(150, 82, 110, .22) 42%, transparent 70%),
    radial-gradient(40% 60% at 0% 0%, rgba(37, 88, 214, .26), transparent 70%),
    var(--stars) 0 0 / 320px 320px repeat,
    linear-gradient(180deg, #050F27 0%, #0A1B3F 52%, #1D2452 100%);
}
.page-hero--compact { padding-bottom: clamp(110px, 10vw, 150px); }
.page-hero__grid { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 20px; padding: 0; font-family: var(--font-mono); font-weight: 600; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blueprint); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: rgba(169, 196, 240, .55); }
.crumbs a { color: var(--on-night); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.page-hero__title { margin: 0 0 18px; font-family: var(--font-display); font-weight: 400; font-size: clamp(2.45rem, 5vw, 4.5rem); line-height: 1.04; letter-spacing: -.02em; color: #fff; text-wrap: balance; }
.page-hero__lede { max-width: 40rem; margin: 0; color: rgba(234, 241, 251, .9); font-size: clamp(1.06rem, 1.35vw, 1.24rem); }
.page-hero__actions { margin-top: 28px; }
.page-hero__art { position: relative; justify-self: center; width: min(100%, 360px); }
.page-hero__art::before {
  content: ""; position: absolute; inset: -6% -14% -2%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(246, 197, 97, .4), rgba(246, 197, 97, 0) 78%);
  animation: artGlow 6s ease-in-out infinite;
}
.page-hero__art svg { position: relative; width: 100%; height: auto; overflow: visible; --ink: #EAF1FB; --body: #0B1D45; --win: #F6C561; --key: #F4B740; --logo-roof: #FFFFFF; --logo-pane: #0B1D45; }
.page-hero__logo { width: 82% !important; margin-inline: auto; display: block; }
@keyframes artGlow { 0%, 100% { opacity: .72; transform: scale(.97); } 50% { opacity: 1; transform: scale(1.04); } }
.page-roofs { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: clamp(78px, 9vw, 124px); z-index: 2; pointer-events: none; }
.page-roofs .rw { fill: #F6CC72; animation: roofWin 15s ease-in-out infinite; }
.page-roofs .rw-on { fill: #F6CC72; opacity: .85; }
/* pages whose dark first section is the page itself (application, contact) */
.apply--page, .contact--page { padding-top: clamp(40px, 5vw, 72px); }

/* text beside a picture */
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.split--flip .split__media { order: -1; }
.split__body > p:not(.eyebrow):not(.lede):not(.apply__note) { color: var(--muted); }
.media-card { position: relative; isolation: isolate; margin: 0; }
.media-card::before { content: ""; position: absolute; inset: 14% -4% -5% 14%; z-index: -1; border-radius: 40px; background: var(--grad-dawn); opacity: .2; filter: blur(44px); }
.media-card img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.duo .media-card:nth-child(2) { margin-top: 48px; }
.duo .media-card img { aspect-ratio: 3 / 4; object-fit: cover; }

/* values: one more pane lights for each word, Hope to Success */
.value-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; }
.value-card { padding: 30px 26px; background: linear-gradient(180deg, #FFFFFF, #F6F9FF); border: 1px solid #DCE5F5; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.value-card__window {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3px; width: 48px; aspect-ratio: 1; margin-bottom: 20px; padding: 3px;
  background: var(--navy); border-radius: 3px; box-shadow: 0 0 0 3px var(--navy), 0 0 30px 6px rgba(244, 183, 64, .32);
}
.value-card__window i { background: #1C3A78; transition: background-color .4s ease; }
.value-card__window i.on { background: linear-gradient(180deg, #FFE7AE, #EBA94B); }
.value-card h3 { margin: 0 0 8px; font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; color: var(--navy); }
.value-card p { margin: 0; color: var(--muted); }

/* about: the three stages, always drawn */
.stages--art .stage__art { display: block; width: 150px; height: auto; margin: 0 0 14px; --win: #F6C561; }

/* housing: furnished or unfurnished */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.compare__item { margin: 0; overflow: hidden; background: #fff; border: 1px solid #DCE5F5; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.compare__item img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.compare__body { padding: 22px 26px 26px; }
.compare__tag { display: inline-block; margin-bottom: 12px; padding: 5px 11px; border-radius: 999px; background: var(--grad-gold); color: var(--night); font-family: var(--font-mono); font-weight: 600; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.compare__tag--navy { background: var(--grad-navy); color: #fff; }
.compare__body h3 { margin: 0 0 6px; font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; color: var(--navy); }
.compare__body p { margin: 0; color: var(--muted); }

/* cards that explain one thing each */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; }
.card-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.info-card { display: flex; flex-direction: column; padding: 28px 26px; background: linear-gradient(180deg, #FFFFFF, #F6F9FF); border: 1px solid #DCE5F5; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.info-card__icon { width: 26px; height: 26px; padding: 13px; box-sizing: content-box; border-radius: 16px; background: var(--grad-navy); color: var(--gold-soft); box-shadow: 0 12px 22px -12px rgba(20, 50, 120, .85); --lit: transparent; transition: --lit .35s ease; }
.info-card:hover .info-card__icon { --lit: rgba(255, 212, 126, .55); }
.info-card--gold .info-card__icon { background: var(--grad-gold); color: var(--night); }
.info-card__title { margin: 18px 0 8px; font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; line-height: 1.2; color: var(--navy); }
.info-card p { margin: 0; color: var(--muted); }
.info-card p a { color: var(--navy); font-weight: 700; }
.info-card__link { display: inline-flex; align-items: center; gap: .45em; margin-top: auto; padding-top: 18px; color: var(--navy); font-weight: 700; text-decoration: none; }
.info-card__link .icon { transition: transform .2s ease; }
.info-card:hover .info-card__link .icon { transform: translateX(5px); }

/* numbered steps: only where order matters */
.steps-list { display: grid; gap: 12px; list-style: none; counter-reset: step; margin: 22px 0 0; padding: 0; }
.steps-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; padding: 18px 20px; background: #fff; border: 1px solid #DCE5F5; border-radius: 18px; box-shadow: var(--shadow-card); }
.steps-list li::before { content: counter(step); counter-increment: step; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--grad-navy); color: #fff; font-weight: 700; font-size: 1.05rem; }
.steps-list h3 { margin: 2px 0 4px; font-family: var(--font-body); font-weight: 700; font-size: 1.08rem; color: var(--navy); }
.steps-list p { margin: 0; color: var(--muted); }

/* who we serve: referral partners */
.partners { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.partners__cards { display: grid; gap: 18px; }
.partner-card { padding: 26px 26px 28px; border: 1px solid rgba(169, 196, 240, .2); border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)); }
.partner-card__title { margin: 0 0 16px; font-family: var(--font-display); font-weight: 400; font-size: 1.45rem; color: #fff; }
.partner-card .refer-steps { margin: 0; }
.partner-card .refer-steps p { color: var(--on-night-muted); }
.ticks--light li { color: var(--on-night); }
.ticks--light .icon { color: var(--gold-soft); }

/* the closing invitation on inner pages */
.cta-panel {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 28px 48px; align-items: center;
  margin-top: 26px; padding: clamp(32px, 5vw, 60px); border-radius: 32px; color: #fff; isolation: isolate;
  background:
    radial-gradient(60% 90% at 100% 100%, rgba(240, 144, 74, .45), transparent 65%),
    radial-gradient(50% 70% at 0% 0%, rgba(37, 88, 214, .42), transparent 70%),
    var(--stars) 0 0 / 320px 320px repeat,
    linear-gradient(160deg, #0D2250, #0A1B3F 60%, #06132E);
  box-shadow: var(--shadow);
}
.cta-panel__roof { position: absolute; left: 6%; right: 6%; top: -26px; width: 88%; height: 28px; overflow: visible; }
.cta-panel__script { margin: 0 0 6px; font-family: var(--font-script); font-size: clamp(1.35rem, 2.3vw, 1.9rem); color: var(--gold-soft); }
.cta-panel .h2 { margin-bottom: 12px; }
.cta-panel__copy > p:last-child { max-width: 48ch; margin: 0; color: var(--on-night-muted); font-size: 1.1rem; }
.cta-panel__actions { display: flex; flex-direction: column; gap: 12px; min-width: 270px; }

/* privacy policy */
.prose { max-width: 780px; }
.prose__updated { margin: 0 0 8px; font-family: var(--font-mono); font-weight: 600; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); }
.prose h2 { margin: 2em 0 .5em; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 2.4vw, 2rem); color: var(--navy); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--gold); }
.prose a { color: var(--navy); font-weight: 700; }

/* home: application chooser that hands off to the full form */
.chooser .app-progress, .chooser .app-status { display: block; }
.chooser__list { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.chooser__opt {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 18px;
  border: 1.5px solid #C3CFDF; border-radius: 14px; background: #F7F9FC; color: var(--ink); font-weight: 600; text-decoration: none;
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}
.chooser__opt .icon { flex: none; color: var(--navy); transition: transform .2s ease; }
.chooser__opt:hover { border-color: var(--navy); background: #FFF8E8; }
.chooser__opt:hover .icon { transform: translateX(4px); }
.chooser__note { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 0; color: var(--muted); font-size: .95rem; }
.chooser__note .icon { margin-top: .2em; color: var(--gold-deep); }
.apply__note { margin: 18px 0 0; color: var(--muted); font-size: .96rem; }
.apply__note a { color: var(--navy); font-weight: 700; }

/* home: resources teaser */
.res-mini { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.res-mini__tile { display: flex; align-items: center; gap: 16px; height: 100%; padding: 18px 20px; background: linear-gradient(180deg, #FFFFFF, #F6F9FF); border: 1px solid #DCE5F5; border-radius: 20px; box-shadow: var(--shadow-card); color: var(--ink); text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.res-mini__tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.res-mini__tile .res__icon { flex: none; }
.res-mini__title { display: block; font-family: var(--font-display); font-size: 1.2rem; color: var(--navy); }
.res-mini__desc { display: block; color: var(--muted); font-size: .95rem; }
.res-grid--full .res__links { gap: 14px; }
.res__desc { display: block; margin-top: 2px; color: var(--muted); font-size: .95rem; }
.faq__more { margin: 18px 0 0; }
.faq__more a { display: inline-flex; align-items: center; gap: .45em; color: var(--navy); font-weight: 700; text-decoration: none; }
.faq__more a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 5px; }

@media (max-width: 1023px) {
  .page-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, .55fr); }
  .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .res-mini { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .split, .partners, .cta-panel { grid-template-columns: minmax(0, 1fr); }
  .split--flip .split__media { order: 0; }
  .card-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-panel__actions { min-width: 0; flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .page-hero { padding-bottom: 104px; }
  .page-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .page-hero__art { display: none; }
  .value-grid, .compare, .card-grid--2, .card-grid--3, .res-mini { grid-template-columns: minmax(0, 1fr); }
  .duo .media-card:nth-child(2) { margin-top: 28px; }
  .cta-panel { border-radius: 26px; }
  .cta-panel__actions .btn { width: 100%; }
  .steps-list li { grid-template-columns: 38px minmax(0, 1fr); gap: 12px; padding: 16px; }
  .steps-list li::before { width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero__art::before, .page-roofs .rw { animation: none; }
  .page-roofs .rw { opacity: .75; }
  .chooser__opt, .res-mini__tile, .info-card__link .icon { transition: none; }
}

/* the house on inner pages arrives already drawn and lit; only its lamp breathes */
.page-house .ln { animation: none; stroke-dashoffset: 0; }
.page-house .hh-frames, .page-house .hh-lit, .page-house .hh-glow, .page-house .hh-lamp { animation: none; opacity: 1; }
/* room between title lines for the brushstroke */
.page-hero__title { line-height: 1.13; }

/* a highlighted phrase that must not break across lines */
.hl--keep { white-space: nowrap; }

/* the roofline over the welcome photo stays inside the screen on phones and tablets */
@media (max-width: 960px) {
  .serve__roofline { left: -4%; width: 108%; }
}

/* final pass: phone fixes */
@media (max-width: 640px) {
  .eyebrow--brand { font-size: .72rem; letter-spacing: .09em; }
  .quilt { height: 480px; }
  .pillar-house__ground { letter-spacing: .07em; }
  .pillar-house__ground span { padding-inline: 8px; }
  .duo .photo-note { left: 10px; bottom: 10px; letter-spacing: .06em; }
}

/* Footer credit (Keyway Websites, 2026-10-11): reads like normal footer text; the credit never splits; one line on wide screens */
.site-footer .foot-copy-line a { color: inherit; font-weight: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; white-space: nowrap; }
@media (min-width: 821px) { .foot-copy-line { white-space: nowrap; } }
