:root {
  --navy: #0d3447;
  --navy-deep: #082633;
  --teal: #1f5a62;
  --teal-soft: #dbe7e4;
  --cream: #f5f1e8;
  --cream-deep: #e9dfcd;
  --paper: #fbf9f3;
  --gold: #c8a66c;
  --ink: #17262b;
  --muted: #657277;
  --line: rgba(13, 52, 71, .17);
  --white: #fff;
  --danger: #8f3d35;
  --success: #3c6a55;
  --shadow: 0 24px 70px rgba(8, 38, 51, .14);
  --shadow-soft: 0 14px 36px rgba(8, 38, 51, .09);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 15px;
  --max: 1240px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font-family: var(--sans); background: var(--paper); }
body.landing-active .site-footer { display: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { display: block; max-width: 100%; }

.public-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 20%, rgba(200, 166, 108, .11), transparent 24rem),
    linear-gradient(180deg, #f8f5ed 0%, #fbf9f3 60%, #f4efe4 100%);
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  padding: 16px clamp(20px, 4vw, 64px);
  color: var(--navy);
  background: rgba(251, 249, 243, .88);
  border-bottom: 1px solid rgba(13, 52, 71, .08);
  backdrop-filter: blur(18px);
}

.brand { display: inline-grid; grid-template-columns: auto 76px; grid-template-areas: "word rule" "sub sub"; gap: 1px 12px; text-decoration: none; align-items: center; }
.brand-word { grid-area: word; font-family: var(--serif); font-size: 27px; letter-spacing: -.04em; }
.brand-rule { grid-area: rule; height: 1px; background: var(--gold); }
.brand-sub { grid-area: sub; font-size: 9px; letter-spacing: .19em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.header-actions { display: flex; align-items: center; gap: 20px; }
.header-link, .text-button { border: 0; background: transparent; text-decoration: none; color: var(--navy); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.header-link:hover, .text-button:hover { color: var(--teal); }

#app { min-height: calc(100vh - 70px); padding-top: 86px; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px clamp(22px, 4vw, 64px); border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.quiet-admin-link { opacity: .45; text-decoration: none; }

.loading-screen { min-height: calc(100vh - 160px); display: grid; place-content: center; text-align: center; color: var(--muted); }
.loading-mark { width: 62px; height: 62px; margin: 0 auto 18px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--navy); font-family: var(--serif); font-size: 30px; }

.hero {
  position: relative;
  min-height: calc(100vh - 86px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(6, 28, 38, .88) 0%, rgba(6, 28, 38, .67) 42%, rgba(6, 28, 38, .13) 75%, rgba(6, 28, 38, .08) 100%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; z-index: -1; height: 42%; background: linear-gradient(transparent, rgba(4, 25, 34, .66)); }
.hero-content { width: min(760px, calc(100% - 40px)); margin: 0 0 clamp(56px, 8vw, 110px) clamp(20px, 7vw, 104px); }
.hero-landing { height: calc(100svh - 86px); min-height: 620px; align-items: center; }
.hero-landing .hero-content { width: min(760px, calc(100% - 40px)); margin: 0 0 0 clamp(20px, 7vw, 104px); padding: 38px 0; }
.hero-duration { max-width: 300px; color: rgba(255,255,255,.72); font-size: 11px; font-weight: 700; line-height: 1.45; letter-spacing: .06em; text-transform: uppercase; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.hero h1, .stage-heading h1, .summary-hero h1 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; line-height: .98; }
.hero h1 { max-width: 720px; font-size: clamp(52px, 7.5vw, 104px); }
.hero-copy { max-width: 640px; margin: 24px 0 0; font-size: clamp(17px, 2vw, 22px); line-height: 1.55; color: rgba(255,255,255,.88); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.primary-button, .secondary-button, .ghost-button, .choice-button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 15px 22px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  font-weight: 760;
}
.primary-button { background: var(--gold); color: var(--navy-deep); box-shadow: 0 12px 34px rgba(0,0,0,.18); }
.primary-button:hover { transform: translateY(-2px); box-shadow: 0 17px 44px rgba(0,0,0,.24); }
.primary-button:disabled, .secondary-button:disabled, .ghost-button:disabled { opacity: .42; cursor: not-allowed; transform: none; box-shadow: none; }
.admin-button:disabled { opacity: .45; cursor: not-allowed; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }

.secondary-button { background: rgba(255,255,255,.12); color: var(--white); border: 1px solid rgba(255,255,255,.33); backdrop-filter: blur(10px); }
.secondary-button:hover { background: rgba(255,255,255,.2); }
.ghost-button { background: transparent; color: var(--navy); border: 1px solid var(--line); }
.ghost-button:hover { border-color: var(--navy); }
.button-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-metrics { display: flex; flex-wrap: wrap; gap: 30px; margin-top: 34px; }
.hero-metric strong { display: block; font-family: var(--serif); font-size: 28px; font-weight: 400; }
.hero-metric span { display: block; margin-top: 2px; color: rgba(255,255,255,.7); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.landing-path { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); max-width: 720px; margin-top: 34px; border-top: 1px solid rgba(255,255,255,.26); border-bottom: 1px solid rgba(255,255,255,.18); }
.landing-path div { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px; min-height: 62px; padding: 10px 16px 10px 0; }
.landing-path div + div { padding-left: 18px; border-left: 1px solid rgba(255,255,255,.18); }
.landing-path span { color: var(--gold); font-family: var(--serif); font-size: 20px; }
.landing-path strong { color: rgba(255,255,255,.88); font-size: 10px; line-height: 1.35; letter-spacing: .08em; text-transform: uppercase; }

.profile-gate { position: relative; min-height: calc(100svh - 86px); display: grid; grid-template-columns: minmax(0,1.12fr) minmax(420px,.88fr); align-items: center; gap: clamp(34px,5vw,80px); overflow: hidden; padding: clamp(38px,6vw,84px) clamp(20px,6vw,88px); isolation: isolate; }
.profile-gate-media { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; }
.profile-gate-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(5,26,36,.94) 0%, rgba(5,26,36,.78) 48%, rgba(5,26,36,.48) 100%); }
.profile-gate-shade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,20,28,.08), rgba(4,20,28,.46)); }
.profile-gate-copy { max-width: 690px; color: var(--white); }
.profile-gate-copy h1 { max-width: 660px; margin: 0; font-family: var(--serif); font-size: clamp(52px,6.3vw,92px); font-weight: 400; line-height: .98; letter-spacing: -.045em; }
.profile-gate-copy > p { max-width: 620px; margin: 24px 0 0; color: rgba(255,255,255,.78); font-size: 18px; line-height: 1.65; }
.profile-proof { display: grid; gap: 9px; margin-top: 30px; }
.profile-proof span { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.72); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.profile-proof span::before { content: ""; width: 17px; height: 1px; background: var(--gold); }
.profile-gate-panel { width: min(100%,540px); justify-self: end; }
.profile-form { padding: clamp(26px,4vw,42px); border: 1px solid rgba(255,255,255,.28); border-radius: var(--radius-xl); background: rgba(251,249,243,.96); box-shadow: 0 26px 80px rgba(0,0,0,.28); backdrop-filter: blur(18px); }
.profile-back { display: block; margin: 0 0 18px; padding: 0; border: 0; background: transparent; color: var(--navy); cursor: pointer; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.profile-back:hover { color: var(--gold); }
.profile-step { color: var(--gold); font-size: 10px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.profile-form h2 { margin: 10px 0 0; color: var(--navy); font-family: var(--serif); font-size: clamp(34px,3vw,46px); font-weight: 400; line-height: 1.04; }
.profile-form > p { margin: 12px 0 0; color: var(--muted); line-height: 1.55; }
.profile-form-grid { grid-template-columns: 1fr; margin-top: 22px; }
.profile-form .field label span { color: var(--muted); font-weight: 600; letter-spacing: 0; text-transform: none; }
.profile-consent { padding: 13px; border-radius: 12px; background: #f2eee3; }
.profile-submit { width: 100%; margin-top: 17px; }
.profile-security { margin: 11px 0 0 !important; color: var(--muted) !important; font-size: 10px; text-align: center; }

.section { padding: clamp(72px, 9vw, 130px) clamp(20px, 5vw, 72px); }
.section-inner { width: min(var(--max), 100%); margin: 0 auto; }
.story-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.story-copy h2, .stage-heading h1, .panel-title { margin: 0; color: var(--navy); font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; }
.story-copy h2 { font-size: clamp(42px, 5.5vw, 74px); line-height: 1.03; }
.story-copy p { max-width: 650px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.story-media { overflow: hidden; border-radius: var(--radius-xl); box-shadow: var(--shadow); }
.story-media img { width: 100%; height: 650px; object-fit: cover; }
.value-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.value-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,255,255,.52); }
.value-card strong { display: block; color: var(--navy); font-family: var(--serif); font-size: 21px; font-weight: 400; }
.value-card span { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.55; }

.journey-shell { min-height: calc(100vh - 86px); }
.stage-top { padding: 34px clamp(20px, 5vw, 72px) 0; }
.progress-wrap { width: min(var(--max), 100%); margin: 0 auto; display: flex; align-items: center; gap: 18px; }
.progress-line { flex: 1; height: 3px; overflow: hidden; border-radius: 99px; background: var(--cream-deep); }
.progress-line > span { display: block; height: 100%; background: var(--gold); transition: width .35s ease; }
.progress-label { min-width: 110px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; text-align: right; }
.stage { padding: clamp(42px, 6vw, 88px) clamp(20px, 5vw, 72px) 90px; }
.stage-inner { width: min(var(--max), 100%); margin: 0 auto; }
.stage-heading { max-width: 900px; }
.stage-heading h1 { font-size: clamp(44px, 6vw, 78px); line-height: 1.02; }
.stage-heading p { max-width: 770px; margin: 20px 0 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
.stage-note { display: inline-block; margin-top: 16px; padding: 9px 13px; border-radius: 999px; background: var(--teal-soft); color: var(--teal); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }

.question-card { max-width: 920px; margin-top: 44px; padding: clamp(25px, 4vw, 46px); border: 1px solid var(--line); border-radius: var(--radius-xl); background: rgba(255,255,255,.72); box-shadow: var(--shadow-soft); }
.question-card.is-entering { animation: question-in .32s cubic-bezier(.2,.75,.25,1) both; }
.question-card.is-leaving { pointer-events: none; animation: question-out .18s ease both; }
@keyframes question-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes question-out {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-8px); }
}
.question-number { color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.question-card h2 { margin: 12px 0 8px; color: var(--navy); font-family: var(--serif); font-size: clamp(30px, 4vw, 46px); font-weight: 400; line-height: 1.08; }
.question-card > p { margin: 0 0 24px; color: var(--muted); line-height: 1.65; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.choice-button { min-height: 84px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper); color: var(--ink); text-align: left; }
.choice-button strong { display: block; color: var(--navy); font-size: 15px; }
.choice-button span { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.45; font-weight: 500; }
.choice-button:hover, .choice-button.is-selected { border-color: var(--gold); background: #fffaf0; box-shadow: 0 10px 24px rgba(13,52,71,.07); transform: translateY(-1px); }
.question-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }

.match-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 44px; align-items: start; }
.floor-map-panel, .match-panel { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius-xl); background: rgba(255,255,255,.7); box-shadow: var(--shadow-soft); }
.floor-map-panel { position: sticky; top: 112px; padding: 24px; }
.floor-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.floor-tab { border: 1px solid var(--line); border-radius: 999px; background: transparent; padding: 8px 12px; color: var(--muted); font-weight: 750; cursor: pointer; }
.floor-tab.is-active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.floorplate { min-height: 390px; display: grid; place-items: center; padding: 20px; border-radius: var(--radius-lg); background: linear-gradient(145deg, #edf1ee, #f7f2e8); }
.floorplate svg { width: 100%; max-height: 360px; overflow: visible; }
.unit-shape { cursor: pointer; transition: transform .2s ease, opacity .2s ease; transform-origin: center; }
.unit-shape rect, .unit-shape path { fill: #d9dfda; stroke: rgba(13,52,71,.45); stroke-width: 2; }
.unit-shape text { fill: var(--navy); font-size: 15px; font-weight: 800; pointer-events: none; }
.unit-shape:hover { transform: translateY(-3px); }
.unit-shape.is-match rect, .unit-shape.is-match path { fill: #d9c59d; stroke: var(--navy); }
.unit-shape.is-selected rect, .unit-shape.is-selected path { fill: var(--navy); }
.unit-shape.is-selected text { fill: var(--white); }
.unit-shape.is-unavailable { cursor: not-allowed; opacity: .36; }
.unit-shape.is-unavailable:hover { transform: none; }
.floor-map-caption { margin: 14px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.studio-entry-panel { margin-top: 20px; padding: 22px; border-radius: var(--radius-lg); color: var(--white); background: linear-gradient(135deg, var(--navy-deep), #174e5a); box-shadow: 0 18px 38px rgba(8,38,51,.18); }
.studio-entry-panel > span { color: var(--gold); font-size: 9px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.studio-entry-panel h2 { margin: 6px 0 0; font-family: var(--serif); font-size: 32px; font-weight: 400; }
.studio-entry-panel p { margin: 5px 0 16px; color: rgba(255,255,255,.66); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.studio-entry-button { width: 100%; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "small arrow" "strong arrow"; align-items: center; gap: 2px 14px; padding: 15px 17px; border: 1px solid rgba(255,255,255,.22); border-radius: 14px; color: var(--navy-deep); background: var(--gold); text-align: left; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.studio-entry-button:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,0,0,.22); }
.studio-entry-button:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.studio-entry-button small { grid-area: small; font-size: 8px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.studio-entry-button strong { grid-area: strong; font-size: 15px; }
.studio-entry-button > span { grid-area: arrow; font-size: 24px; }
.match-panel { padding: 24px; }
.residence-list-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 15px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.residence-list-head span { color: var(--navy); font-family: var(--serif); font-size: 25px; }
.residence-list-head strong { color: var(--muted); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.match-list { display: grid; gap: 12px; }
.match-card { position: relative; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); cursor: pointer; transition: transform .2s ease, border .2s ease, box-shadow .2s ease; }
.match-card:hover, .match-card.is-selected { transform: translateY(-2px); border-color: var(--gold); box-shadow: 0 12px 28px rgba(13,52,71,.09); }
.match-rank { position: absolute; z-index: 2; right: 16px; top: 14px; padding: 2px 8px; border-radius: 999px; color: var(--gold); background: rgba(251,249,243,.9); font-family: var(--serif); font-size: 27px; }
.match-card-media { width: calc(100% + 16px); height: 160px; margin: -8px -8px 18px; border-radius: 15px; object-fit: cover; }
.floor-plan-frame { position: relative; width: calc(100% + 16px); height: 240px; margin: -8px -8px 18px; overflow: hidden; border: 1px solid rgba(13,52,71,.12); border-radius: 15px; background: #fff; cursor: zoom-in; }
.floor-plan-frame img { width: 100%; height: 100%; padding: 26px 18px 16px; object-fit: contain; }
.floor-plan-label { position: absolute; z-index: 1; left: 12px; top: 10px; padding: 5px 8px; border-radius: 999px; background: rgba(13,52,71,.88); color: white; font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.floor-plan-frame:hover img { transform: scale(1.018); }
.floor-plan-frame img { transition: transform .2s ease; }
.floor-plan-lightbox { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 24px; background: rgba(4,20,28,.86); backdrop-filter: blur(8px); }
.floor-plan-lightbox-card { width: min(1120px,100%); max-height: calc(100vh - 48px); display: grid; grid-template-rows: auto minmax(0,1fr) auto; overflow: hidden; border-radius: var(--radius-xl); background: #fff; box-shadow: 0 30px 100px rgba(0,0,0,.38); }
.floor-plan-lightbox-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.floor-plan-lightbox-head > div { display: grid; gap: 3px; }
.floor-plan-lightbox-head span { color: var(--gold); font-size: 9px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.floor-plan-lightbox-head strong { color: var(--navy); font-family: var(--serif); font-size: 28px; font-weight: 400; }
.floor-plan-lightbox-head button { width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--cream-deep); color: var(--navy); font-size: 24px; cursor: pointer; }
.floor-plan-lightbox-card > img { width: 100%; height: 100%; min-height: 0; padding: clamp(20px,4vw,54px); object-fit: contain; background: #f8f8f4; }
.floor-plan-lightbox-card > p { margin: 0; padding: 12px 22px 16px; color: var(--muted); font-size: 10px; }
.match-card h3 { margin: 0 0 5px; color: var(--navy); font-family: var(--serif); font-size: 31px; font-weight: 400; }
.match-meta { display: flex; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.match-status-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; }
.match-status-row span { padding: 5px 8px; border-radius: 999px; background: rgba(200,166,108,.14); color: var(--navy); font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.match-card p { margin: 14px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.match-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.tag { padding: 6px 9px; border-radius: 999px; background: var(--teal-soft); color: var(--teal); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.match-actions { margin-top: 20px; }

.package-stage { background: var(--navy-deep); color: var(--white); }
.package-stage .stage-heading h1 { color: var(--white); }
.package-stage .stage-heading p { color: rgba(255,255,255,.68); }
.package-stage .progress-line { background: rgba(255,255,255,.14); }
.package-stage .progress-label { color: rgba(255,255,255,.6); }
.package-studio { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(380px,.85fr); gap: 24px; margin-top: 44px; align-items: start; }
.package-preview-column { position: sticky; top: 110px; display: grid; gap: 14px; min-width: 0; }
.package-preview { position: relative; overflow: hidden; height: min(62vh, 610px); min-height: 500px; border-radius: var(--radius-xl); background: #182c32; box-shadow: 0 26px 70px rgba(0,0,0,.28); }
.package-preview img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s ease; }
.package-preview-overlay { position: absolute; inset: auto 0 0; padding: 30px; background: linear-gradient(transparent, rgba(5,20,27,.92)); }
.package-preview-overlay h2 { margin: 0; font-family: var(--serif); font-size: 42px; font-weight: 400; }
.package-preview-overlay p { margin: 10px 0 0; max-width: 640px; color: rgba(255,255,255,.75); line-height: 1.55; }
.package-list { display: grid; gap: 12px; }
.package-card { padding: 20px; border: 1px solid rgba(255,255,255,.17); border-radius: var(--radius-lg); background: rgba(255,255,255,.055); cursor: pointer; }
.package-card:hover, .package-card.is-selected { border-color: var(--gold); background: rgba(255,255,255,.1); }
.package-card h3 { margin: 0; font-family: var(--serif); font-size: 28px; font-weight: 400; }
.package-card .package-tagline { margin: 5px 0 0; color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.package-card p { margin: 13px 0 0; color: rgba(255,255,255,.68); font-size: 13px; line-height: 1.55; }
.material-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 7px; margin-top: 15px; }
.material-chip { padding: 9px; border-radius: 10px; background: rgba(255,255,255,.07); }
.material-chip span { display: block; color: rgba(255,255,255,.52); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.material-chip strong { display: block; margin-top: 3px; color: var(--white); font-size: 11px; }
.studio-context { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "label label" "title detail"; gap: 3px 16px; align-items: end; padding: 16px 18px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-lg); background: rgba(255,255,255,.055); }
.studio-context span { grid-area: label; color: var(--gold); font-size: 9px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.studio-context strong { grid-area: title; color: var(--white); font-family: var(--serif); font-size: 24px; font-weight: 400; }
.studio-context small { grid-area: detail; justify-self: end; padding-bottom: 3px; color: rgba(255,255,255,.58); font-size: 9px; letter-spacing: .07em; text-transform: uppercase; }
.package-actions { display: flex; justify-content: space-between; gap: 12px; padding: 14px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-lg); background: rgba(255,255,255,.055); }
.package-stage .ghost-button { color: var(--white); border-color: rgba(255,255,255,.25); }

.option-groups { display: grid; gap: 22px; margin-top: 42px; }
.option-group { padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line); border-radius: var(--radius-xl); background: rgba(255,255,255,.72); box-shadow: var(--shadow-soft); }
.option-group-head { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: start; }
.option-group h2 { margin: 0; color: var(--navy); font-family: var(--serif); font-size: clamp(28px, 3vw, 38px); font-weight: 400; }
.option-group-head p { max-width: 760px; margin: 8px 0 0; color: var(--muted); line-height: 1.6; }
.guardrail { max-width: 270px; padding: 12px 14px; border-radius: var(--radius-md); background: var(--teal-soft); color: var(--teal); font-size: 11px; line-height: 1.45; font-weight: 700; }
.guardrail strong { display: block; margin-bottom: 3px; text-transform: uppercase; letter-spacing: .08em; }
.option-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-top: 20px; }
.option-card { min-height: 150px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); cursor: pointer; transition: transform .2s ease, border .2s ease, box-shadow .2s ease; }
.option-card:hover, .option-card.is-selected { transform: translateY(-2px); border-color: var(--gold); box-shadow: 0 12px 28px rgba(13,52,71,.08); }
.option-card h3 { margin: 0; color: var(--navy); font-size: 16px; }
.option-card p { margin: 10px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.option-price { display: inline-block; margin-top: 14px; color: var(--teal); font-size: 10px; font-weight: 850; text-transform: uppercase; letter-spacing: .07em; }
.decision-window { margin-top: 14px; color: var(--muted); font-size: 10px; }
.detail-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; }

.summary-stage { background: linear-gradient(180deg, #f7f3ea, #ede5d7); }
.summary-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; margin-top: 44px; }
.summary-card, .lead-card { border: 1px solid var(--line); border-radius: var(--radius-xl); background: rgba(255,255,255,.76); box-shadow: var(--shadow-soft); }
.summary-card { overflow: hidden; }
.summary-image { position: relative; height: 300px; }
.summary-image img { width: 100%; height: 100%; object-fit: cover; }
.summary-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent, rgba(6,28,38,.55)); }
.summary-image.is-floor-plan { height: 390px; padding: 18px; background: #fff; }
.summary-image.is-floor-plan::after { display: none; }
.summary-image .floor-plan-frame.is-summary { width: 100%; height: 100%; margin: 0; border-radius: var(--radius-lg); }
.summary-image .floor-plan-frame.is-summary img { object-fit: contain; padding: 34px 22px 20px; }
.summary-image-label { position: absolute; z-index: 1; left: 22px; bottom: 20px; color: var(--white); }
.summary-image-label strong { display: block; font-family: var(--serif); font-size: 35px; font-weight: 400; }
.summary-body { padding: 24px; }
.summary-line { display: grid; grid-template-columns: 130px 1fr; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.summary-line:last-child { border-bottom: 0; }
.summary-line span { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.summary-line strong { color: var(--navy); font-size: 14px; }
.selection-list { margin: 8px 0 0; padding: 0; list-style: none; }
.selection-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; color: var(--muted); font-size: 13px; border-bottom: 1px dashed var(--line); }
.selection-list li:last-child { border-bottom: 0; }
.selection-list b { color: var(--ink); }
.lead-card { padding: clamp(24px, 4vw, 38px); }
.lead-card h2 { margin: 0; color: var(--navy); font-family: var(--serif); font-size: 38px; font-weight: 400; }
.lead-card > p { color: var(--muted); line-height: 1.6; }
.saved-profile-card { align-self: start; position: sticky; top: 116px; }
.saved-profile-line { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.saved-profile-line span { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.saved-profile-line strong { color: var(--navy); word-break: break-word; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-top: 22px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--navy); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); padding: 13px 14px; color: var(--ink); outline: none; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,166,108,.13); }
.field textarea { min-height: 110px; resize: vertical; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.consent input { margin-top: 3px; accent-color: var(--navy); }
.form-error { margin-top: 12px; color: var(--danger); font-size: 13px; }
.disclaimer { margin-top: 18px; padding-top: 17px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; line-height: 1.55; }

.contact-stack { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 24px; }
.contact-person { padding: 17px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper); }
.contact-person strong, .contact-person span, .contact-person a { display: block; }
.contact-person strong { color: var(--navy); font-family: var(--serif); font-size: 22px; font-weight: 400; }
.contact-person span { margin-top: 3px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.contact-person a { margin-top: 8px; color: var(--teal); font-size: 12px; text-decoration: none; word-break: break-word; }
.contact-person a:hover { text-decoration: underline; }
.intake-paused .eyebrow { margin-bottom: 12px; }
.confirmation-contacts { margin-top: 30px; }
.confirmation-contacts > span { display: block; color: rgba(255,255,255,.58); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.confirmation-contacts .contact-stack { max-width: 620px; margin: 13px auto 0; }
.confirmation-contacts .contact-person { border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.06); }
.confirmation-contacts .contact-person strong, .confirmation-contacts .contact-person a { color: var(--white); }
.confirmation-contacts .contact-person span { color: rgba(255,255,255,.58); }
.confirmation-contacts .contact-stack.is-compact { gap: 10px; }

.confirmation { min-height: calc(100vh - 150px); display: grid; place-items: center; padding: 70px 20px; }
.confirmation-card { width: min(820px,100%); padding: clamp(34px,6vw,72px); border-radius: var(--radius-xl); background: var(--navy); color: var(--white); box-shadow: var(--shadow); text-align: center; }
.confirmation-mark { width: 74px; height: 74px; margin: 0 auto 22px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); font-family: var(--serif); font-size: 33px; }
.confirmation-card h1 { margin: 0; font-family: var(--serif); font-size: clamp(42px,6vw,70px); font-weight: 400; line-height: 1.05; }
.confirmation-card p { max-width: 660px; margin: 20px auto 0; color: rgba(255,255,255,.72); line-height: 1.7; }
.configuration-code { display: inline-block; margin-top: 22px; padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--gold); font-weight: 800; letter-spacing: .12em; }
.confirmation-card .button-row { justify-content: center; margin-top: 28px; }

/* Buyer hub */
.buyer-hub { background: #f4f1e9; }
.hub-hero { position: relative; min-height: min(74vh,760px); display: grid; align-items: end; overflow: hidden; color: white; isolation: isolate; }
.hub-hero > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 46%; }
.hub-hero-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5,24,34,.94) 0%, rgba(5,24,34,.69) 48%, rgba(5,24,34,.12) 78%), linear-gradient(transparent 55%, rgba(5,24,34,.58)); }
.hub-hero-content { width: min(780px,calc(100% - 40px)); margin: 0 0 clamp(55px,7vw,96px) clamp(20px,7vw,104px); }
.hub-hero h1 { margin: 0; font-family: var(--serif); font-size: clamp(54px,7vw,96px); font-weight: 400; line-height: .98; letter-spacing: -.045em; }
.hub-hero p { max-width: 720px; margin: 23px 0 0; color: rgba(255,255,255,.8); font-size: 17px; line-height: 1.65; }
.hub-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hub-anchor-nav { position: sticky; top: 86px; z-index: 20; display: flex; justify-content: center; gap: clamp(18px,4vw,52px); overflow-x: auto; padding: 17px 24px; border-bottom: 1px solid var(--line); background: rgba(251,249,243,.94); backdrop-filter: blur(14px); }
.hub-anchor-nav a { flex: 0 0 auto; color: var(--navy); font-size: 10px; font-weight: 850; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.hub-main { width: min(1260px,calc(100% - 40px)); margin: 0 auto; }
.hub-section { padding: clamp(72px,8vw,116px) 0; scroll-margin-top: 140px; border-bottom: 1px solid var(--line); }
.hub-section-heading { max-width: 850px; }
.hub-section-heading h2, .hub-share h2 { margin: 0; color: var(--navy); font-family: var(--serif); font-size: clamp(42px,5.7vw,72px); font-weight: 400; line-height: 1.02; letter-spacing: -.04em; }
.hub-section-heading > p { max-width: 740px; margin: 18px 0 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.hub-profile-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 15px; margin-top: 38px; }
.hub-profile-card { overflow: hidden; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: rgba(255,255,255,.78); box-shadow: var(--shadow-soft); }
.hub-profile-card > span, .hub-profile-primary > div > span { color: var(--gold); font-size: 9px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.hub-profile-card h3 { margin: 7px 0 0; color: var(--navy); font-family: var(--serif); font-size: 34px; font-weight: 400; }
.hub-profile-card p { color: var(--muted); font-size: 13px; line-height: 1.6; }
.hub-profile-primary { display: grid; grid-template-columns: 190px 1fr; gap: 22px; align-items: center; }
.hub-profile-primary > img { width: 190px; height: 150px; border-radius: var(--radius-lg); object-fit: cover; }
.hub-profile-primary .floor-plan-frame { width: 190px; height: 150px; margin: 0; }
.hub-profile-primary .floor-plan-frame img { padding: 22px 10px 8px; }
.hub-profile-primary .floor-plan-label { font-size: 6px; }
.hub-updates { display: grid; gap: 16px; margin-top: 38px; }
.hub-update { display: grid; grid-template-columns: 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-xl); background: rgba(255,255,255,.78); box-shadow: var(--shadow-soft); }
.hub-update.has-media { grid-template-columns: minmax(0,.62fr) minmax(0,1.38fr); }
.hub-update > img { width: 100%; height: 100%; min-height: 270px; object-fit: cover; }
.hub-update-body { padding: clamp(23px,4vw,42px); }
.hub-update.is-personalized { border-color: var(--gold); box-shadow: 0 20px 50px rgba(112,83,36,.12); }
.hub-update-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hub-update-meta span { color: var(--gold); }
.hub-update-meta b { padding: 5px 8px; border-radius: 999px; background: var(--teal-soft); color: var(--teal); }
.hub-update h3 { margin: 15px 0 0; color: var(--navy); font-family: var(--serif); font-size: clamp(30px,3.5vw,46px); font-weight: 400; line-height: 1.06; }
.hub-update p { max-width: 850px; margin: 14px 0 0; color: var(--muted); line-height: 1.7; }
.hub-update details { margin-top: 18px; }
.hub-update summary { color: var(--teal); font-weight: 800; cursor: pointer; }
.hub-facts { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 38px; }
.hub-facts article { padding: 27px; border-radius: var(--radius-xl); color: white; background: var(--navy); }
.hub-facts strong { display: block; color: var(--gold); font-family: var(--serif); font-size: 58px; font-weight: 400; line-height: 1; }
.hub-facts span { display: block; margin-top: 8px; font-size: 11px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.hub-facts p { color: rgba(255,255,255,.67); font-size: 12px; line-height: 1.55; }
.hub-timeline { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; margin-top: 42px; }
.hub-timeline article { position: relative; padding: 30px 22px 0 0; border-top: 2px solid #cfd2ca; }
.hub-timeline article::before { content: ""; position: absolute; left: 0; top: -7px; width: 12px; height: 12px; border: 2px solid #cfd2ca; border-radius: 50%; background: #f4f1e9; }
.hub-timeline article.is-complete, .hub-timeline article.is-current { border-color: var(--gold); }
.hub-timeline article.is-complete::before, .hub-timeline article.is-current::before { border-color: var(--gold); background: var(--gold); }
.hub-timeline span { color: var(--gold); font-size: 9px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.hub-timeline h3 { margin: 9px 0 0; color: var(--navy); font-size: 16px; }
.hub-timeline p { color: var(--muted); font-size: 12px; line-height: 1.55; }
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-top: 38px; }
.team-grid article { padding: 25px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: rgba(255,255,255,.72); }
.team-grid span { color: var(--gold); font-size: 9px; font-weight: 850; line-height: 1.4; letter-spacing: .1em; text-transform: uppercase; }
.team-grid h3 { margin: 11px 0 0; color: var(--navy); font-family: var(--serif); font-size: 31px; font-weight: 400; }
.team-grid p { color: var(--muted); font-size: 12px; line-height: 1.6; }
.hub-contact-panel { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; align-items: center; margin-top: 20px; padding: 24px; border-radius: var(--radius-xl); color: white; background: var(--navy-deep); }
.hub-contact-panel > div > span { color: var(--gold); font-size: 9px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.hub-contact-panel > div > h3 { margin: 8px 0 0; font-family: var(--serif); font-size: 32px; font-weight: 400; }
.hub-contact-panel .contact-stack { margin: 0; }
.hub-contact-panel .contact-person { border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.06); }
.hub-contact-panel .contact-person strong, .hub-contact-panel .contact-person a { color: white; }
.hub-contact-panel .contact-person span { color: rgba(255,255,255,.55); }
.hub-share { display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: center; }
.hub-share-copy > p { max-width: 660px; color: var(--muted); line-height: 1.65; }
.hub-share blockquote { margin: 24px 0 0; padding: 18px 22px; border-left: 2px solid var(--gold); color: var(--navy); background: rgba(255,255,255,.58); font-family: var(--serif); font-size: 22px; line-height: 1.45; }
.share-actions { display: grid; gap: 9px; }
.share-actions a, .share-actions > button:not(.primary-button) { border: 1px solid var(--line); border-radius: 999px; padding: 12px 18px; color: var(--navy); background: rgba(255,255,255,.72); text-align: center; text-decoration: none; font-weight: 800; cursor: pointer; }

/* Admin */
.admin-body { min-height: 100vh; background: #eef0eb; color: var(--ink); }
.admin-shell { min-height: 100vh; }
.admin-login-card { width: min(520px, calc(100% - 40px)); margin: 12vh auto; padding: 38px; border-radius: var(--radius-xl); background: var(--white); box-shadow: var(--shadow); }
.admin-login-card h1 { margin: 4px 0 12px; color: var(--navy); font-family: var(--serif); font-size: 42px; font-weight: 400; }
.admin-login-card p { color: var(--muted); line-height: 1.6; }
.admin-password-login { width: min(560px,calc(100% - 40px)); }
.admin-auth-form { display: grid; gap: 14px; margin-top: 24px; }
.auth-submit { width: 100%; padding: 13px 16px; }
.auth-mode-toggle { width: 100%; margin-top: 14px; border: 0; background: transparent; color: var(--teal); font-weight: 800; cursor: pointer; }
.password-rule { margin: -5px 0 0; font-size: 10px; }
.admin-layout { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.admin-sidebar { position: sticky; top: 0; height: 100vh; padding: 28px 20px; background: var(--navy-deep); color: var(--white); }
.admin-brand { padding: 0 8px 24px; border-bottom: 1px solid rgba(255,255,255,.12); }
.admin-brand strong { display: block; font-family: var(--serif); font-size: 27px; font-weight: 400; }
.admin-brand span { color: rgba(255,255,255,.55); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.admin-nav { display: grid; gap: 5px; margin-top: 24px; }
.admin-nav button { border: 0; border-radius: 11px; padding: 12px 13px; background: transparent; color: rgba(255,255,255,.7); text-align: left; cursor: pointer; }
.admin-nav button:hover, .admin-nav button.is-active { background: rgba(255,255,255,.1); color: var(--white); }
.admin-account { position: absolute; left: 20px; right: 20px; bottom: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.55); font-size: 11px; word-break: break-all; }
.admin-main { padding: 34px clamp(22px, 4vw, 54px) 70px; }
.admin-topbar { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 28px; }
.admin-topbar h1 { margin: 0; color: var(--navy); font-family: var(--serif); font-size: 46px; font-weight: 400; }
.admin-topbar p { margin: 7px 0 0; color: var(--muted); }
.admin-kpis { display: grid; grid-template-columns: repeat(4,1fr); gap: 13px; }
.admin-kpi { padding: 20px; border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-soft); }
.admin-kpi span { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.admin-kpi strong { display: block; margin-top: 8px; color: var(--navy); font-family: var(--serif); font-size: 38px; font-weight: 400; }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.admin-panel { padding: 22px; border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-soft); }
.admin-panel.full { grid-column: 1 / -1; }
.admin-panel h2 { margin: 0 0 18px; color: var(--navy); font-family: var(--serif); font-size: 28px; font-weight: 400; }
.funnel-row { display: grid; grid-template-columns: 170px 1fr 44px; gap: 12px; align-items: center; margin: 11px 0; }
.funnel-label { color: var(--muted); font-size: 12px; }
.funnel-track { height: 9px; border-radius: 999px; background: #edf0ed; overflow: hidden; }
.funnel-track span { display: block; height: 100%; border-radius: inherit; background: var(--gold); }
.funnel-number { color: var(--navy); font-weight: 800; text-align: right; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.admin-table th { padding: 11px 10px; border-bottom: 1px solid var(--line); color: var(--muted); text-align: left; font-size: 9px; letter-spacing: .09em; text-transform: uppercase; }
.admin-table td { padding: 12px 10px; border-bottom: 1px solid rgba(13,52,71,.08); vertical-align: top; }
.admin-table tr:hover td { background: #faf8f2; }
.admin-button { border: 0; border-radius: 10px; padding: 10px 13px; background: var(--navy); color: var(--white); cursor: pointer; font-weight: 750; }
.admin-button.secondary { background: var(--teal-soft); color: var(--teal); }
.admin-button.danger { background: #f4e1df; color: var(--danger); }
.notification-state { padding: 8px 11px; border-radius: 999px; font-size: 10px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.notification-state.is-ready { color: #1c654c; background: #dff1e7; }
.notification-state.is-pending { color: #885d16; background: #f7e9c9; }
.domain-kpis { margin-bottom: 16px; }
.domain-kpi-value { font-family: var(--sans) !important; font-size: 19px !important; font-weight: 780 !important; line-height: 1.25; overflow-wrap: anywhere; }
.domain-grid { margin-top: 0; }
.dns-table code { display: inline-block; max-width: 470px; padding: 5px 7px; border-radius: 6px; background: #f2f3ef; color: var(--navy); font-size: 11px; white-space: normal; overflow-wrap: anywhere; }
.dns-type { display: inline-block; min-width: 46px; padding: 5px 7px; border-radius: 999px; background: var(--teal-soft); color: var(--teal); font-size: 9px; font-weight: 850; letter-spacing: .08em; text-align: center; }
.domain-form { grid-template-columns: 1fr; }
.domain-warning { margin: 0; padding: 12px 14px; border: 1px solid #ead6aa; border-radius: 11px; background: #fff8e8; color: #6f541c; font-size: 12px; line-height: 1.55; }
.domain-route-list { display: grid; gap: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.domain-route-list div { display: grid; gap: 5px; padding: 14px; border-bottom: 1px solid var(--line); }
.domain-route-list div:last-child { border-bottom: 0; }
.domain-route-list span { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.domain-route-list strong { color: var(--navy); font-size: 13px; }
.admin-toolbar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.admin-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.admin-form .field.full { grid-column: 1 / -1; }
.admin-form-actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }
.resource-list { display: grid; gap: 12px; }
.resource-card { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.resource-card-head { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; }
.resource-card h3 { margin: 0; color: var(--navy); font-family: var(--serif); font-size: 27px; font-weight: 400; }
.resource-card p { color: var(--muted); line-height: 1.55; }
.resource-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.resource-meta span { padding: 5px 8px; border-radius: 999px; background: var(--teal-soft); color: var(--teal); font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.media-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; }
.media-card { overflow: hidden; border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-soft); }
.media-preview { position: relative; height: 170px; overflow: hidden; background: #e8ebe7; }
.media-preview img { width: 100%; height: 100%; object-fit: cover; }
.media-card.is-floor-plan .media-preview { background: white; }
.media-card.is-floor-plan .media-preview img { padding: 22px 14px 12px; object-fit: contain; }
.media-preview > span { position: absolute; left: 9px; top: 9px; padding: 5px 7px; border-radius: 999px; color: white; background: rgba(13,52,71,.88); font-size: 8px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.media-card-body { padding: 13px; }
.media-card-body strong { display: block; color: var(--navy); font-size: 12px; word-break: break-all; }
.media-card-body span { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; }
.media-card-actions { display: flex; gap: 7px; margin-top: 10px; }
.asset-library { display: grid; gap: 20px; margin-top: 20px; }
.asset-folder { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: rgba(255,255,255,.58); }
.asset-folder > header { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 16px; }
.asset-folder > header span { color: var(--gold); font-size: 9px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.asset-folder > header h2 { margin: 4px 0 0; color: var(--navy); font-family: var(--serif); font-size: 30px; font-weight: 400; }
.asset-folder > header > strong { color: var(--muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.update-admin-card { display: grid; grid-template-columns: 1fr auto; gap: 20px; }
.update-admin-card .resource-card-head { min-width: 0; }
.update-admin-image { width: 190px; height: 130px; border-radius: var(--radius-md); object-fit: cover; }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 100; max-width: 360px; padding: 14px 17px; border-radius: 13px; background: var(--navy); color: var(--white); box-shadow: var(--shadow); font-size: 13px; }
.modal-backdrop { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; background: rgba(5,25,34,.68); backdrop-filter: blur(5px); }
.modal { width: min(760px,100%); max-height: 90vh; overflow: auto; padding: 26px; border-radius: var(--radius-xl); background: var(--paper); box-shadow: var(--shadow); }
.modal-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.modal h2 { margin: 0; color: var(--navy); font-family: var(--serif); font-size: 36px; font-weight: 400; }
.close-button { width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--cream-deep); color: var(--navy); cursor: pointer; }

.print-profile { display: none; }

@media (max-width: 980px) {
  .story-grid, .match-layout, .package-studio, .summary-grid { grid-template-columns: 1fr; }
  .profile-gate { grid-template-columns: 1fr; align-content: center; }
  .profile-gate-panel { justify-self: start; }
  .saved-profile-card { position: relative; top: auto; }
  .hub-profile-grid { grid-template-columns: 1fr 1fr; }
  .hub-profile-primary { grid-column: 1 / -1; }
  .hub-timeline, .team-grid { grid-template-columns: repeat(2,1fr); gap: 18px; }
  .hub-timeline article { border-top: 0; border-left: 2px solid #cfd2ca; padding: 0 20px 24px; }
  .hub-timeline article::before { left: -7px; top: 0; }
  .hub-contact-panel, .hub-share { grid-template-columns: 1fr; }
  .story-media img { height: 440px; }
  .floor-map-panel, .package-preview-column { position: relative; top: auto; }
  .package-preview { min-height: 500px; height: 500px; }
  .option-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { position: relative; height: auto; }
  .admin-account { position: relative; left: auto; right: auto; bottom: auto; margin-top: 22px; }
  .admin-nav { grid-template-columns: repeat(3,1fr); }
  .admin-kpis { grid-template-columns: repeat(2,1fr); }
  .media-grid { grid-template-columns: repeat(2,1fr); }
  .update-admin-card { grid-template-columns: 1fr; }
  .update-admin-image { width: 100%; height: 230px; }
}

@media (max-width: 700px) {
  .site-header { min-height: 72px; padding: 12px 18px; }
  #app { padding-top: 72px; }
  .brand { grid-template-columns: auto 40px; }
  .brand-word { font-size: 23px; }
  .brand-sub { display: none; }
  .header-actions { gap: 11px; }
  .header-link, .text-button { font-size: 10px; }
  .hero { min-height: calc(100svh - 72px); }
  .hero-landing { height: calc(100svh - 72px); min-height: 560px; }
  .hero-content, .hero-landing .hero-content { margin-left: 20px; margin-bottom: 0; padding: 26px 0; }
  .hero::before { background: linear-gradient(90deg, rgba(6,28,38,.88), rgba(6,28,38,.55)); }
  .profile-gate { min-height: calc(100svh - 72px); padding: 36px 18px; }
  .profile-gate-copy h1 { font-size: 48px; }
  .profile-gate-copy > p { font-size: 15px; }
  .profile-proof { display: none; }
  .profile-gate-panel { width: 100%; }
  .profile-form { padding: 24px 20px; }
  .hero-metrics { gap: 19px; }
  .landing-path { grid-template-columns: 1fr; max-width: 360px; }
  .landing-path div { min-height: 42px; padding: 7px 0; }
  .landing-path div + div { padding-left: 0; border-top: 1px solid rgba(255,255,255,.14); border-left: 0; }
  .landing-path span { font-size: 17px; }
  .value-cards, .choice-grid, .option-grid, .form-grid, .admin-grid, .admin-form { grid-template-columns: 1fr; }
  .option-group-head { grid-template-columns: 1fr; }
  .guardrail { max-width: none; }
  .package-preview { min-height: 390px; height: 390px; }
  .package-actions, .detail-actions, .question-actions { flex-direction: column-reverse; align-items: stretch; }
  .summary-line { grid-template-columns: 1fr; gap: 4px; }
  .contact-stack { grid-template-columns: 1fr; }
  .hub-hero { min-height: 650px; }
  .hub-hero-content { margin: 0 20px 45px; }
  .hub-hero h1 { font-size: 53px; }
  .hub-anchor-nav { top: 72px; justify-content: flex-start; }
  .hub-main { width: min(100% - 32px,1260px); }
  .hub-profile-grid, .hub-facts, .team-grid { grid-template-columns: 1fr; }
  .hub-profile-primary { grid-column: auto; grid-template-columns: 1fr; }
  .hub-profile-primary > img, .hub-profile-primary .floor-plan-frame { width: 100%; height: 220px; }
  .hub-update.has-media { grid-template-columns: 1fr; }
  .hub-update > img { min-height: 220px; }
  .hub-timeline { grid-template-columns: 1fr; }
  .hub-share { gap: 26px; }
  .site-footer { align-items: flex-start; flex-direction: column; }
  .admin-nav { grid-template-columns: repeat(2,1fr); }
  .admin-main { padding: 24px 16px 60px; }
  .admin-kpis, .media-grid { grid-template-columns: 1fr; }
  .admin-topbar { flex-direction: column; }
  .funnel-row { grid-template-columns: 125px 1fr 35px; }
}

@media print {
  @page { size: letter portrait; margin: 0; }
  html, body { width: 8.5in; height: 11in; margin: 0 !important; background: white !important; }
  body { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  body > *:not(.print-profile) { display: none !important; }
  .print-profile {
    width: 8.5in;
    height: 11in;
    display: flex !important;
    flex-direction: column;
    padding: .48in .58in .42in;
    color: var(--ink);
    background: linear-gradient(180deg, #fff 0%, #fbf9f3 100%);
    overflow: hidden;
  }
  .print-header { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: .18in; border-bottom: 1px solid var(--gold); }
  .print-header > div { display: grid; gap: 2px; }
  .print-header strong { color: var(--navy); font-family: var(--serif); font-size: 21pt; font-weight: 400; letter-spacing: -.03em; }
  .print-header > div span { color: var(--muted); font-size: 5.8pt; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
  .print-header > span { padding-top: 5px; color: var(--navy); font-size: 6.3pt; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
  .print-title { padding: .3in 0 .25in; }
  .print-title > span { color: var(--gold); font-size: 6.5pt; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
  .print-title h1 { margin: .07in 0 .08in; color: var(--navy); font-family: var(--serif); font-size: 36pt; font-weight: 400; letter-spacing: -.035em; line-height: 1; }
  .print-title p { max-width: 6.55in; margin: 0; color: var(--muted); font-size: 9pt; line-height: 1.5; }
  .print-columns { display: grid; grid-template-columns: .92fr 1.08fr; gap: .2in; }
  .print-section { min-width: 0; padding: .2in .22in; border: 1px solid var(--line); border-radius: .14in; background: rgba(255,255,255,.9); }
  .print-section h2 { margin: 0 0 .11in; color: var(--navy); font-family: var(--serif); font-size: 20pt; font-weight: 400; }
  .print-package-copy { min-height: .36in; margin: -.05in 0 .07in; color: var(--gold); font-size: 6.2pt; font-weight: 800; line-height: 1.4; letter-spacing: .07em; text-transform: uppercase; }
  .print-row { display: grid; grid-template-columns: .86fr 1.14fr; gap: .1in; align-items: start; min-height: .38in; padding: .08in 0; border-bottom: 1px solid rgba(13,52,71,.12); }
  .print-row:last-child { border-bottom: 0; }
  .print-row span { color: var(--muted); font-size: 6pt; font-weight: 850; line-height: 1.35; letter-spacing: .08em; text-transform: uppercase; }
  .print-row strong { color: var(--navy); font-size: 7.7pt; line-height: 1.35; }
  .print-next-step { display: grid; grid-template-columns: 1.1in 1fr; gap: .2in; align-items: center; margin-top: .2in; padding: .17in .2in; border-radius: .13in; color: white; background: var(--navy-deep); }
  .print-next-step > div { display: grid; gap: 3px; }
  .print-next-step span { color: var(--gold); font-size: 5.6pt; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
  .print-next-step strong { font-size: 8.5pt; }
  .print-next-step p { margin: 0; color: rgba(255,255,255,.76); font-size: 7.2pt; line-height: 1.45; }
  .print-footer { margin-top: auto; padding-top: .14in; border-top: 1px solid var(--line); }
  .print-footer p { margin: 0; color: var(--muted); font-size: 5.7pt; line-height: 1.45; }
  .print-footer div { margin-top: .09in; color: var(--navy); font-size: 6.1pt; font-weight: 800; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
