/* ==========================================================================
   Consilium — Rooming House landing page + thank-you page
   Shared styles. Values taken directly from the Figma file.
   ========================================================================== */

:root {
  --navy: #0f1f36;
  --navy-nav: #0a1423;
  --navy-strip: #0b1523;
  --navy-soft: #1b2a3d;
  --ink: #1a2a3a;
  --gold: #b8973a;
  --gold-light: #d4b862;
  --cream: #f2ede6;
  --ivory: #faf8f5;
  --stone: #f8f7f4;
  --mist: #f0efed;
  --sand: #f7f4ef;
  --line: #e5e0d8;
  --slate: #4a5568;
  --grey: #6b7280;
  --grey-2: #374151;
  --grey-3: #9ca3af;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --content: 1147px;
  --gutter: max(24px, calc((100vw - var(--content)) / 2));

  --ease-lux: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-silk: cubic-bezier(0.7, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--navy);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
p, h1, h2, h3 { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { padding-inline: var(--gutter); }

/* ---------- Typography primitives ---------- */
.eyebrow {
  font: 400 12px/16px var(--sans);
  letter-spacing: 1.8px;
  color: var(--gold);
  text-transform: uppercase;
}
.eyebrow--sm { font-size: 11px; }
.eyebrow--semi { font-weight: 600; }
.eyebrow--med { font-weight: 500; }
.serif { font-family: var(--serif); font-weight: 400; }

/* ==========================================================================
   Buttons & links — shared across both pages
   ========================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  font: 600 12px/16px var(--sans);
  letter-spacing: 1.56px;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  transition:
    color .6s var(--ease-silk),
    transform .6s var(--ease-lux),
    box-shadow .6s var(--ease-lux),
    letter-spacing .6s var(--ease-lux);
}
/* sliding fill */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: translateY(101%);
  transition: transform .65s var(--ease-silk);
}
/* light sweep */
.btn::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -60%;
  width: 40%;
  z-index: 1;
  background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,.38) 50%, transparent 100%);
  transform: skewX(-20deg) translateX(0);
  pointer-events: none;
  opacity: 0;
}
.btn:hover {
  transform: translateY(-2px);
  letter-spacing: 2.1px;
}
.btn:hover::before { transform: translateY(0); }
.btn:hover::after { animation: sweep 1.1s var(--ease-lux) .05s; }
.btn:active { transform: translateY(0); transition-duration: .2s; }
.btn .arrow { display: inline-block; transition: transform .6s var(--ease-lux); }
.btn:hover .arrow { transform: translateX(5px); }

@keyframes sweep {
  0%   { opacity: 0; left: -60%; }
  20%  { opacity: 1; }
  100% { opacity: 0; left: 130%; }
}

.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold::before { background: var(--navy); box-shadow: inset 0 0 0 1px var(--gold); }
.btn--gold:hover {
  color: var(--gold);
  box-shadow: 0 18px 40px -18px rgba(184,151,58,.75), inset 0 0 0 1px var(--gold);
}

.btn--navy { background: var(--navy); color: var(--gold); }
.btn--navy::before { background: var(--gold); }
.btn--navy:hover { color: var(--navy); box-shadow: 0 18px 40px -18px rgba(15,31,54,.7); }

.btn--block { display: flex; width: 100%; height: 48px; padding-block: 0; }

/* underline link with arrow ("See the full Braybrook breakdown →") */
.link-arrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 2px;
  font: 400 14px/20px var(--sans);
  color: var(--navy);
  cursor: pointer;
}
.link-arrow::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold);
  transform-origin: right;
}
.link-arrow .arrow { color: var(--gold); transition: transform .6s var(--ease-lux); }
.link-arrow:hover::after { animation: line-swap .9s var(--ease-silk); }
.link-arrow:hover .arrow { transform: translateX(6px); }

@keyframes line-swap {
  0%   { transform: scaleX(1); transform-origin: right; }
  45%  { transform: scaleX(0); transform-origin: right; }
  46%  { transform: scaleX(0); transform-origin: left; }
  100% { transform: scaleX(1); transform-origin: left; }
}

/* plain hero text link ("See how the strategy works →") */
.link-plain {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 400 14px/20px var(--sans);
  color: #fff;
  padding-block: 6px;
  transition: color .5s var(--ease-lux);
}
.link-plain::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .7s var(--ease-silk);
}
.link-plain .arrow { transition: transform .6s var(--ease-lux); }
.link-plain:hover { color: var(--gold-light); }
.link-plain:hover::after { transform: scaleX(1); transform-origin: left; }
.link-plain:hover .arrow { transform: translateX(6px); }

/* ==========================================================================
   Navbar
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 111px;
  padding-inline: var(--gutter);
  background: var(--navy-nav);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: height .6s var(--ease-lux), background-color .6s var(--ease-lux), box-shadow .6s var(--ease-lux);
}
.nav__logo img { width: 285px; height: 80px; object-fit: cover; transition: transform .6s var(--ease-lux), width .6s var(--ease-lux), height .6s var(--ease-lux); }
.nav__logo:hover img { transform: scale(1.02); }
.nav.is-scrolled { height: 84px; background: rgba(10,20,35,.92); box-shadow: 0 10px 30px -20px rgba(0,0,0,.6); }
.nav.is-scrolled .nav__logo img { width: 228px; height: 64px; }

.nav__link {
  position: relative;
  padding-bottom: 2px;
  font: 500 12px/16px var(--sans);
  letter-spacing: 1.8px;
  color: var(--gold);
  transition: color .5s var(--ease-lux), letter-spacing .6s var(--ease-lux);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold);
}
.nav__link:hover { color: var(--gold-light); letter-spacing: 2.2px; }
.nav__link:hover::after { animation: line-swap .9s var(--ease-silk); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  height: 757px;
  overflow: hidden;
  background: var(--navy-nav);
}
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__media img {
  position: absolute;
  left: -10.96%;
  top: -15.88%;
  width: 137.63%;
  height: 131.76%;
  max-width: none;
  object-fit: cover;
  transform: scale(1.12);
  transform-origin: 60% 50%;
  transition: transform 3.2s var(--ease-lux);
}
.is-loaded .hero__media img { transform: scale(1); }
.hero__shade {
  position: absolute; inset: 0;
  background: linear-gradient(89.97deg, rgb(10,20,35) 0%, rgba(10,20,35,0) 66.11%);
}
.hero__content {
  position: relative;
  padding: 157px var(--gutter) 160px;
}
.hero__content .eyebrow { padding-bottom: 24px; }
.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 86.94px;
  line-height: 91.287px;
  color: #fff;
  max-width: 620px;
}
.hero__title .line { display: block; white-space: nowrap; }
.hero__title .line--gold { color: var(--gold); padding: 8.694px 0 19.2px; }
.hero__lede {
  max-width: 649px;
  padding-bottom: 40px;
  font: 400 16px/27.2px var(--sans);
  color: rgba(255,255,255,.8);
}
.hero__ctas { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* ---------- Stat strip ---------- */
.stats { background: var(--navy-strip); }
.stats__inner {
  display: grid;
  grid-template-columns: 307fr 307fr 308fr 306fr;
  max-width: 1137px;
  margin: 0 auto;
  background: rgba(10,20,35,.92);
  border-top: 1px solid rgba(255,255,255,.08);
}
.stat { padding: 20px 24px; border-right: 1px solid rgba(255,255,255,.1); transition: background-color .6s var(--ease-lux); }
.stat:last-child { border-right: 0; }
.stat:hover { background: rgba(184,151,58,.06); }
.stat__value { font: 700 20px/28px var(--sans); color: var(--gold); }
.stat__label {
  padding-top: 4px;
  font: 400 10px/13.333px var(--sans);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  white-space: nowrap;
}

/* ==========================================================================
   A different approach (split)
   ========================================================================== */
.approach { display: grid; grid-template-columns: 1fr 1fr; background: var(--cream); min-height: 767.25px; }
.approach__text {
  display: flex; flex-direction: column; justify-content: center;
  padding: 96px 72.45px 96px var(--gutter);
}
.approach__title {
  max-width: 502px;
  padding: 16px 0 32px;
  font-family: var(--serif); font-weight: 400;
  font-size: 57.96px; line-height: 63.756px;
  color: var(--navy);
}
.body-copy { max-width: 502px; font: 400 16px/28px var(--sans); color: var(--slate); }
.body-copy + .body-copy { padding-top: 20px; }
.approach__link { padding-top: 56px; }
.approach__media { position: relative; overflow: hidden; }
.approach__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 42.6% 50%; }
.approach__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,20,35,.45), rgba(10,20,35,0) 50%);
}

/* ==========================================================================
   Privacy cards
   ========================================================================== */
.privacy { background: var(--cream); padding: 96px var(--gutter); }
.privacy__head { text-align: center; }
.privacy__title {
  max-width: 700px; margin: 16px auto 0;
  font-family: var(--serif); font-weight: 400;
  font-size: 51.2px; line-height: 58.88px; color: var(--navy);
}
.privacy__lede { max-width: 540px; margin: 16px auto 0; font: 400 16px/24px var(--sans); color: var(--grey); }
.privacy__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 19px;
  max-width: 1126px;
  margin-top: 48px;
}
.area-card {
  position: relative;
  min-height: 264px;
  padding: 32px;
  background: #fff;
  transition: transform .7s var(--ease-lux), box-shadow .7s var(--ease-lux);
}
.area-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.4s var(--ease-silk) .25s;
}
.area-card--navy::before { background: var(--navy); }
.is-in .area-card::before, .area-card.is-in::before { transform: scaleX(1); }
.area-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(15,31,54,.28); }
.area-card__num { font-family: var(--serif); font-size: 56px; line-height: 56px; color: var(--navy); transition: color .6s var(--ease-lux); }
.area-card:hover .area-card__num { color: var(--gold); }
.area-card__label {
  margin-top: 13px; height: 15px;
  font: 400 10px/13.333px var(--sans); letter-spacing: 1.2px; text-transform: uppercase; color: var(--gold);
}
.area-card__rule { height: 1px; margin: 16px 0; background: var(--line); }
.area-card__text { max-width: 298px; font: 400 14.4px/21.6px var(--sans); color: var(--grey-2); }

/* ==========================================================================
   Income model (comparison cards)
   ========================================================================== */
.income { background: var(--ivory); }
.income__head {
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  padding: 80px var(--gutter) 72px; text-align: center;
}
.income__head .eyebrow { font-weight: 600; font-size: 11px; }
.income__title { max-width: 700px; font-family: var(--serif); font-size: 56px; line-height: 64px; color: var(--navy); }
.income__lede { max-width: 600px; font: 400 16px/28px var(--sans); color: var(--slate); }
.income__note { max-width: 560px; font: 400 12px/18px var(--sans); color: var(--grey-3); }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-inline: var(--gutter); }
.compare-card { border-radius: 4px; overflow: hidden; transition: transform .7s var(--ease-lux), box-shadow .7s var(--ease-lux); }
.compare-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -32px rgba(15,31,54,.35); }
.compare-card--light { background: #fff; border: 1px solid var(--line); }
.compare-card--dark { background: var(--navy); }
.compare-card__head {
  padding: 18px 24px;
  font: 600 11px/normal var(--sans); letter-spacing: 1.6px; text-transform: uppercase;
}
.compare-card--light .compare-card__head { background: var(--ivory); border-bottom: 1px solid var(--line); color: var(--grey); }
.compare-card--dark .compare-card__head { border-bottom: 1px solid rgba(255,255,255,.12); color: var(--gold); }
.compare-card__title { padding: 28px 24px 8px; font-family: var(--serif); font-size: 36px; line-height: 44px; }
.compare-card--light .compare-card__title { color: var(--navy); }
.compare-card--dark .compare-card__title { color: #fff; }
.bullets { list-style: none; margin: 0; padding: 8px 24px 36px; }
.bullets li {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0;
  font: 400 15px/22px var(--sans);
}
.bullets img { width: 16px; height: 16px; flex: none; }
.compare-card--light .bullets li { color: var(--grey-2); border-bottom: 1px solid #f3f0eb; }
.compare-card--dark .bullets li { color: rgba(255,255,255,.8); border-bottom: 1px solid rgba(255,255,255,.12); }
.bullets li:last-child { border-bottom: 0 !important; }

.case { padding-inline: var(--gutter); }
.case__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 28px 32px;
  background: var(--navy);
  border-radius: 0 0 4px 4px;
}
.case__label { font: 600 10px/normal var(--sans); letter-spacing: 1.3px; text-transform: uppercase; color: var(--gold); }
.case__calc { display: flex; align-items: center; gap: 20px; margin-top: 10px; font: 600 16px/normal var(--sans); color: #fff; white-space: nowrap; }
.case__calc .op { font-weight: 400; color: rgba(255,255,255,.4); }
.case__total { text-align: right; }
.case__total .figure { font-family: var(--serif); font-size: 52px; line-height: 56px; color: var(--gold); }
.case__total p { margin-top: 4px; font: 400 11px/normal var(--sans); letter-spacing: .5px; color: rgba(255,255,255,.5); }

.photo-strip { padding: 40px var(--gutter) 80px; }
.photo-strip__img { height: 200px; border-radius: 4px; overflow: hidden; }
.photo-strip__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-lux); }
.photo-strip__img:hover img, .js .photo-strip__img.is-in:hover img { transform: scale(1.04); transition: transform 1.6s var(--ease-lux); }

/* ==========================================================================
   Investment snapshot
   ========================================================================== */
.snapshot { background: #fff; padding: 96px var(--gutter) 48px; }
.snapshot__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; padding-bottom: 48px; }
.snapshot__heading { max-width: 580px; display: flex; flex-direction: column; gap: 16px; }
.snapshot__heading .eyebrow { font-weight: 500; font-size: 11px; }
.snapshot__title { font-family: var(--serif); font-size: 57px; line-height: 63px; color: var(--navy); }
.snapshot__intro { max-width: 420px; min-height: 120px; display: flex; align-items: center; font: 400 14px/23px var(--sans); color: var(--grey); }

.metrics { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 2px; }
.metric { min-height: 180px; padding: 28px; background: #fff; border-right: 1px solid var(--line); transition: background-color .6s var(--ease-lux); }
.metric:last-child { border-right: 0; background: var(--navy); }
.metric:not(:last-child):hover { background: #fdfcfa; }
.metric__label { font: 500 11px/16px var(--sans); letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); }
.metric__value { padding-top: 16px; font-family: var(--serif); font-size: 32px; line-height: 42px; color: var(--navy); white-space: nowrap; }
.metric:last-child .metric__value { font-size: 48px; line-height: 58px; color: #fff; }

.ledger { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-top: 0; }
.ledger__costs { padding: 28px; background: #fff; border-right: 1px solid var(--line); }
.ledger__costs .metric__label, .ledger__net .metric__label { display: block; }
.ledger__rows { list-style: none; margin: 0; padding: 20px 0 0; }
.ledger__rows li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 10px 0; border-bottom: 1px solid var(--line);
  font: 400 13px/20px var(--sans); color: var(--grey-2);
}
.ledger__rows li.total { border-bottom: 0; padding: 14px 0 0; font: 700 14px/20px var(--sans); color: var(--navy); }
.ledger__net { display: flex; flex-direction: column; gap: 12px; padding: 28px; background: var(--sand); }
.ledger__net .small { font: 400 13px/20px var(--sans); color: var(--grey); }
.ledger__net .big { font-family: var(--serif); font-size: 56px; line-height: 64px; color: var(--navy); }
.ledger__yield { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; }
.ledger__yield .figure { font-family: var(--serif); font-size: 28px; line-height: 36px; color: var(--gold); }
.ledger__net .note { font: 400 12px/19px var(--sans); color: var(--grey-3); }

.equation {
  display: flex; align-items: center; justify-content: center; min-height: 56px;
  padding: 16px 32px; background: var(--navy);
  font: 600 13px/16px var(--sans); letter-spacing: 1.4px; text-transform: uppercase; color: var(--gold); text-align: center;
}
.footnote { padding: 24px 0 16px; font: 400 12px/19px var(--sans); color: var(--grey-3); }

/* ==========================================================================
   Floor plan / resident
   ========================================================================== */
.resident { display: grid; grid-template-columns: 46.5% 1fr; background: var(--stone); min-height: 713px; }
.resident__media { position: relative; overflow: hidden; }
.resident__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 20% 50%; }
.resident__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(240,239,237,0) 60%, rgba(240,239,237,.6));
}
.resident__text { padding: 80px 120px 80px 80px; }
.resident__text .eyebrow { font-size: 11px; }
.resident__title { max-width: 500px; padding: 20px 0 24px; font-family: var(--serif); font-size: 44px; line-height: 50px; color: var(--ink); }
.resident__lede { max-width: 480px; font: 400 16px/28px var(--sans); color: var(--slate); }
.feature-list { list-style: none; margin: 0; padding: 40px 0 0; max-width: 480px; }
.feature-list li {
  position: relative;
  display: flex; gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.feature-list li::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .9s var(--ease-silk);
}
.feature-list li:hover::after { transform: scaleX(1); }
.feature-list .num { font-family: var(--serif); font-size: 14px; line-height: 20px; color: var(--gold); }
.feature-list h3 { font: 600 15px/22px var(--sans); color: var(--ink); }
.feature-list p { margin-top: 6px; font: 400 14px/22px var(--sans); color: var(--grey); }

/* ==========================================================================
   Occupancy assurance
   ========================================================================== */
.occupancy { display: flex; align-items: center; background: var(--navy-soft); padding: 96px var(--gutter); }
.ring { position: relative; flex: none; width: 240px; height: 240px; display: grid; place-items: center; }
.ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-dasharray: 735; stroke-dashoffset: 735; transition: stroke-dashoffset 2.4s var(--ease-silk) .2s; }
.ring.is-in circle { stroke-dashoffset: 0; }
.ring__inner { position: relative; text-align: center; }
.ring__figure { font-family: var(--serif); font-size: 96px; line-height: 96px; color: var(--gold); }
.ring__caption { margin-top: 8px; font: 400 10px/14px var(--sans); letter-spacing: 1.5px; color: rgba(255,255,255,.6); white-space: nowrap; }
.occupancy__text { flex: 1; min-width: 0; padding-left: 80px; }
.occupancy__text .eyebrow { font-size: 11px; }
.occupancy__title { max-width: 680px; padding: 20px 0 32px; font-family: var(--serif); font-size: 52px; line-height: 59px; color: #fff; }
.occupancy__copy { max-width: 774px; font: 400 16px/28px var(--sans); color: rgba(255,255,255,.75); }
.occupancy__copy + .occupancy__copy { padding: 20px 0 24px; }
.occupancy__note { max-width: 807px; padding-bottom: 32px; font: 400 12px/18px var(--sans); color: rgba(255,255,255,.4); }

/* ==========================================================================
   Process
   ========================================================================== */
.process { background: var(--stone); padding: 96px var(--gutter); }
.process .eyebrow { font-size: 11px; }
.process__title { max-width: 740px; padding: 16px 0 29px; font-family: var(--serif); font-size: 52px; line-height: 59px; color: var(--ink); }
.steps {
  display: grid; grid-template-columns: repeat(5, 1fr);
  border: 1px solid rgba(184,151,58,.85);
  margin-bottom: 29px;
}
.step {
  position: relative;
  display: flex; flex-direction: column; gap: 16px;
  min-height: 206px; padding: 20px;
  border-right: 1px solid rgba(184,151,58,.6);
  transition: background-color .7s var(--ease-lux);
}
.step:last-child { border-right: 0; }
.step::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease-silk);
}
.step:hover { background: #fff; }
.step:hover::before { transform: scaleX(1); }
.step__num { font-family: var(--serif); font-size: 14px; line-height: 20px; color: var(--gold); }
.step h3 { font: 600 18px/26px var(--sans); color: var(--ink); }
.step p { font: 400 14px/22px var(--sans); color: var(--grey); }

/* ==========================================================================
   Team + testimonials
   ========================================================================== */
.team { display: flex; flex-direction: column; align-items: center; gap: 34px; background: var(--mist); padding: 52px var(--gutter) 65px; }
.section-head { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.section-head .eyebrow { font-weight: 600; }
.section-head h2 { font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 44px; color: var(--navy); }
.team__row { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.person { width: 220px; display: flex; flex-direction: column; gap: 16px; text-align: center; }
.person__photo { width: 220px; height: 220px; border-radius: 50%; overflow: hidden; position: relative; }
.person__photo img { width: 100%; height: 100%; transition: transform 1.2s var(--ease-lux); }
.person__photo::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: inset 0 0 0 0 var(--gold); transition: box-shadow .7s var(--ease-lux);
}
.person:hover .person__photo img { transform: scale(1.06); }
.person:hover .person__photo::after { box-shadow: inset 0 0 0 2px var(--gold); }
.person h3 { font: 600 18px/24px var(--sans); color: var(--navy); }
.person p { margin: 4px -24px 0; white-space: nowrap; font: 400 14px/20px var(--sans); color: var(--slate); }

.reviews { display: flex; flex-direction: column; gap: 48px; background: var(--mist); padding: 0 var(--gutter) 85px; }
.reviews__row { display: flex; gap: 24px; align-items: flex-start; }
.review {
  width: 360px; flex: 0 1 360px;
  display: flex; flex-direction: column; gap: 20px;
  padding: 28px; background: #fff; border: 1px solid #e7e2dd; border-radius: 24px;
  transition: transform .7s var(--ease-lux), box-shadow .7s var(--ease-lux), border-color .7s var(--ease-lux);
}
.review:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(15,31,54,.25); border-color: rgba(184,151,58,.5); }
.stars { display: flex; gap: 4px; }
.stars img { width: 14px; height: 14px; }
.review blockquote { margin: 0; font: 400 18px/28px var(--sans); color: var(--navy); }
.review hr { width: 100%; height: 1px; margin: 0; border: 0; background: #e7e2dd; }
.review cite { font: 600 16px/22px var(--sans); font-style: normal; color: var(--navy); }

/* ==========================================================================
   Why Consilium
   ========================================================================== */
.why { display: grid; grid-template-columns: 1fr 1fr; background: var(--mist); min-height: 735.78px; }
.why__media { position: relative; overflow: hidden; min-height: 340px; }
.why__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.why__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(240,239,237,0) 60%, rgba(240,239,237,.6)); }
.why__text { display: flex; flex-direction: column; justify-content: center; padding: 96px 64px; }
.why__title { max-width: 597px; padding: 16px 0 32px; font-family: var(--serif); font-size: 56px; line-height: 61.6px; color: var(--navy); }
.why__text .body-copy { max-width: 597px; }
.why__link { padding-top: 28px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { background: var(--mist); padding: 96px var(--gutter); }
.faq__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.faq__title { max-width: 542px; padding-top: 16px; font-family: var(--serif); font-size: 57.96px; line-height: 63.756px; color: var(--navy); }
.faq__list { list-style: none; margin: 0; padding: 0; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; padding: 20px 0; text-align: left;
  font: 400 15.2px/22.8px var(--sans); color: var(--navy);
  transition: color .5s var(--ease-lux), padding-left .6s var(--ease-lux);
}
.faq__q:hover { color: var(--gold); padding-left: 6px; }
.plus { position: relative; flex: none; width: 15px; height: 15px; margin-right: 0; }
.plus::before, .plus::after {
  content: ""; position: absolute; left: 0; top: 7px; width: 15px; height: 1px; background: var(--gold);
  transition: transform .6s var(--ease-silk);
}
.plus::after { transform: rotate(90deg); }
.faq__item.is-open .plus::after { transform: rotate(0deg); }
.faq__q:hover .plus::before { transform: rotate(180deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease-silk); }
.faq__a > div { overflow: hidden; }
.faq__a p {
  max-width: 480px; padding: 0 0 22px;
  font: 400 14.4px/24px var(--sans); color: var(--slate);
  opacity: 0; transform: translateY(-6px); transition: opacity .5s ease, transform .7s var(--ease-lux);
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__item.is-open .faq__a p { opacity: 1; transform: none; transition-delay: .15s; }
.faq__cta { padding-top: 32px; }

/* ==========================================================================
   Contact form
   ========================================================================== */
.contact { background: var(--navy); padding: 96px var(--gutter); scroll-margin-top: 60px; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact__title { max-width: 542px; padding-top: 16px; font-family: var(--serif); font-size: 57.96px; line-height: 63.756px; color: #fff; }
.contact__lede { max-width: 542px; padding-top: 24px; font: 400 16px/28px var(--sans); color: rgba(255,255,255,.7); }
.contact__includes {
  list-style: none; margin: 32px 0 0; padding: 16px 0 0;
  border-top: 1px solid rgba(255,255,255,.15);
  display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px;
}
.contact__includes li {
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1);
  font: 400 14px/20px var(--sans); color: var(--gold);
}

.form-card { position: relative; padding: 32px; background: #fff; transition: box-shadow 1s var(--ease-lux); }
.form-card.is-highlight { animation: glow 2.2s var(--ease-lux); }
@keyframes glow {
  0% { box-shadow: 0 0 0 0 rgba(184,151,58,0); }
  30% { box-shadow: 0 0 0 6px rgba(184,151,58,.45), 0 40px 80px -30px rgba(0,0,0,.6); }
  100% { box-shadow: 0 0 0 0 rgba(184,151,58,0); }
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field + .field, .form-row + .field { padding-top: 16px; }
.form-row .field + .field { padding-top: 0; }
.field label {
  display: block; padding-bottom: 8px;
  font: 400 10px/13.333px var(--sans); letter-spacing: 1px; text-transform: uppercase; color: var(--grey-2);
}
.field input, .field select {
  display: block; width: 100%; height: 46px; padding: 0 12px;
  border: 1px solid #d1d5db; border-radius: 0; background: #fff;
  font: 400 14px/20px var(--sans); color: var(--navy);
  transition: border-color .4s var(--ease-lux), box-shadow .4s var(--ease-lux);
  -webkit-appearance: none; appearance: none;
}
.field input:hover, .field select:hover { border-color: #b9bec6; }
.field input:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,151,58,.15); }
.field.is-invalid input, .field.is-invalid select { border-color: #b4533a; }
.select-wrap { position: relative; }
.select-wrap::after {
  content: "∨"; position: absolute; right: 12px; top: 11px;
  font: 400 16px/24px var(--sans); color: var(--grey); pointer-events: none;
  transition: transform .5s var(--ease-lux), color .4s;
}
.select-wrap:focus-within::after { color: var(--gold); transform: translateY(2px); }
.field select { padding-right: 36px; cursor: pointer; }
.field select:invalid { color: var(--navy); }
.consent { display: flex; gap: 12px; align-items: flex-start; padding: 20px 0; font: 400 12px/19.2px var(--sans); color: var(--grey); cursor: pointer; }
.consent input { width: 13px; height: 13px; margin: 3px 0 0; accent-color: var(--gold); flex: none; }
.form-legal { padding-top: 16px; text-align: center; font: 400 12px/19.2px var(--sans); color: var(--grey-3); }
.form-legal a { color: var(--grey); text-decoration: underline; transition: color .4s; }
.form-legal a:hover { color: var(--gold); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--navy); }
.footer__top { display: flex; align-items: center; justify-content: space-between; padding: 48px var(--gutter); }
.footer__spacer { width: 132px; height: 44px; }
.footer__nav { display: flex; gap: 32px; }
.footer__nav a {
  position: relative;
  font: 400 12px/16px var(--sans); letter-spacing: 1.44px; color: rgba(255,255,255,.7);
  transition: color .5s var(--ease-lux);
}
.footer__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform .7s var(--ease-silk);
}
.footer__nav a:hover { color: var(--gold); }
.footer__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.footer__legal { border-top: 1px solid rgba(255,255,255,.1); padding: 24px var(--gutter); }
.footer__legal p { font: 400 12px/20.4px var(--sans); color: rgba(255,255,255,.5); }
.footer__legal strong { font-weight: 700; color: rgba(255,255,255,.7); }
.footer__legal p + p { padding-top: 12px; }
.footer__legal .copy { padding-top: 16px; line-height: 16px; color: rgba(255,255,255,.35); }

/* ==========================================================================
   Motion system
   ========================================================================== */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 36px, 0);
  filter: blur(6px);
  transition:
    opacity 1.3s var(--ease-lux),
    transform 1.5s var(--ease-lux),
    filter 1.3s var(--ease-lux);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="left"] { transform: translate3d(-40px, 0, 0); }
.js [data-reveal="right"] { transform: translate3d(40px, 0, 0); }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }

/* image curtain — clip lives on the <img> so the observed wrapper stays "visible" */
.js [data-reveal^="image"] { opacity: 1; filter: none; transform: none; }
.js [data-reveal^="image"] img {
  clip-path: inset(0 0 100% 0);
  transform: scale(1.18);
  transition: clip-path 1.6s var(--ease-silk), transform 2.4s var(--ease-lux);
  transition-delay: var(--d, 0s);
}
.js [data-reveal="image-left"] img { clip-path: inset(0 100% 0 0); }
.js [data-reveal^="image"]::after { opacity: 0; transition: opacity 1.4s ease .6s; }
.js [data-reveal^="image"].is-in img { clip-path: inset(0 0 0 0); transform: scale(1); }
.js [data-reveal^="image"].is-in::after { opacity: 1; }

/* word-by-word headline mask */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.2s var(--ease-lux); transition-delay: calc(var(--d, 0s) + var(--i) * 55ms); }
.split.is-in .w > span { transform: none; }
.no-js .split .w > span { transform: none; }

/* one-by-one list items */
.js [data-stagger] > * {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity .9s var(--ease-lux), transform 1.1s var(--ease-lux);
  transition-delay: calc(var(--d, 0s) + var(--i, 0) * 160ms);
}
.js [data-stagger].is-in > * { opacity: 1; transform: none; }

.count { font-variant-numeric: lining-nums; }

/* page transition veil */
.veil {
  position: fixed; inset: 0; z-index: 100; pointer-events: none;
  background: var(--navy);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .9s var(--ease-silk);
}
.veil::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 120px; height: 1px; margin-left: -60px;
  background: var(--gold); transform: scaleX(0); transition: transform .9s var(--ease-silk) .3s;
}
.veil.is-on { transform: scaleY(1); pointer-events: all; }
.veil.is-on::after { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-stagger] > *, .split .w > span, .js [data-reveal^="image"] img { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; }
}

/* ==========================================================================
   Thank-you page
   ========================================================================== */
.ty-hero { position: relative; min-height: 757px; overflow: hidden; background: var(--navy-nav); display: flex; align-items: center; }
.ty-hero .hero__shade { background: linear-gradient(89.97deg, rgb(10,20,35) 0%, rgba(10,20,35,.75) 45%, rgba(10,20,35,.15) 100%); }
.ty-hero__content { position: relative; padding: 140px var(--gutter) 140px; }
.ty-hero__content .eyebrow { padding-bottom: 24px; }
.ty-hero .hero__title { max-width: 900px; }
.ty-hero .hero__title .line { white-space: normal; }
.ty-hero__rule { width: 72px; height: 1px; margin: 0 0 32px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease-silk) .9s; }
.is-loaded .ty-hero__rule { transform: scaleX(1); }
.ty-hero__lede { max-width: 600px; padding-bottom: 40px; font: 400 16px/27.2px var(--sans); color: rgba(255,255,255,.8); }

.next { background: var(--stone); padding: 96px var(--gutter); }
.next__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; padding-bottom: 48px; }
.next__head .eyebrow { font-size: 11px; }
.next__title { max-width: 620px; padding-top: 16px; font-family: var(--serif); font-size: 52px; line-height: 59px; color: var(--ink); }
.next__intro { max-width: 420px; font: 400 14px/23px var(--sans); color: var(--grey); }
.steps--3 { grid-template-columns: repeat(3, 1fr); margin-bottom: 0; }
.steps--3 .step { min-height: 220px; padding: 28px; }

.receive { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; background: var(--navy); padding: 96px var(--gutter); }
.receive__title { max-width: 542px; padding-top: 16px; font-family: var(--serif); font-size: 52px; line-height: 59px; color: #fff; }
.receive__lede { max-width: 520px; padding-top: 24px; font: 400 16px/28px var(--sans); color: rgba(255,255,255,.7); }
.receive__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.15); align-self: center; }
.receive__list li {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.1);
  font: 400 16px/24px var(--sans); color: rgba(255,255,255,.85);
  transition: padding-left .6s var(--ease-lux), color .5s;
}
.receive__list li:hover { padding-left: 8px; color: #fff; }
.receive__list .num { font-family: var(--serif); font-size: 14px; line-height: 20px; color: var(--gold); min-width: 20px; }
.receive__list img { width: 16px; height: 16px; margin-left: auto; }

.closing { background: var(--cream); padding: 96px var(--gutter); text-align: center; }
.closing__title { max-width: 700px; margin: 16px auto 0; font-family: var(--serif); font-size: 51.2px; line-height: 58.88px; color: var(--navy); }
.closing__lede { max-width: 540px; margin: 16px auto 40px; font: 400 16px/24px var(--sans); color: var(--grey); }
.closing__ctas { display: flex; justify-content: center; align-items: center; gap: 24px; flex-wrap: wrap; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
  .resident__text { padding: 72px var(--gutter) 72px 56px; }
  .occupancy__text { padding-left: 56px; }
  .snapshot__title, .approach__title, .faq__title, .contact__title { font-size: 48px; line-height: 54px; }
}

@media (max-width: 1024px) {
  .hero { height: auto; min-height: 680px; }
  .hero__media img { left: 0; top: 0; width: 100%; height: 100%; object-position: 62% 50%; }
  .hero__content { padding: 120px var(--gutter); }
  .hero__title { font-size: 68px; line-height: 74px; }

  .stats__inner { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.1); }

  .approach, .why, .resident { grid-template-columns: 1fr; }
  .approach__media, .resident__media, .why__media { min-height: 420px; order: -1; }
  .approach__text, .why__text, .resident__text { padding: 72px var(--gutter); }

  .privacy__cards { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .compare { grid-template-columns: 1fr; }
  .snapshot__top { flex-direction: column; gap: 16px; }
  .snapshot__intro { min-height: 0; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .ledger { grid-template-columns: 1fr; }
  .ledger__costs { border-right: 0; border-bottom: 1px solid var(--line); }

  .occupancy { flex-direction: column; align-items: flex-start; gap: 48px; }
  .occupancy__text { padding-left: 0; }

  .steps { grid-template-columns: 1fr 1fr; }
  .step { border-bottom: 1px solid rgba(184,151,58,.6); }
  .step:nth-child(2n) { border-right: 0; }
  .steps--3 { grid-template-columns: 1fr; }
  .steps--3 .step { border-right: 0; }

  .reviews__row { flex-direction: column; align-items: stretch; }
  .review { width: auto; flex: none; }

  .faq__grid, .contact__grid, .receive { grid-template-columns: 1fr; gap: 48px; }
  .next__head { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (max-width: 640px) {
  .nav { height: 84px; }
  .nav__logo img, .nav.is-scrolled .nav__logo img { width: 150px; height: 42px; }
  .nav__link, .nav__link:hover { font-size: 10px; letter-spacing: 1.1px; white-space: nowrap; }
  .hero__title { font-size: 48px; line-height: 54px; }
  .hero__title .line { white-space: normal; }
  .hero__content { padding: 96px var(--gutter); }
  .stat__label { white-space: normal; }

  .approach__title, .privacy__title, .income__title, .snapshot__title, .resident__title,
  .occupancy__title, .process__title, .why__title, .faq__title, .contact__title,
  .next__title, .receive__title, .closing__title { font-size: 36px; line-height: 42px; }
  .section-head h2 { font-size: 30px; line-height: 36px; }
  .metric__value { font-size: 28px; }
  .metric:last-child .metric__value { font-size: 40px; }
  .ledger__net .big { font-size: 44px; line-height: 52px; }

  .case__inner { flex-direction: column; align-items: flex-start; }
  .case__total { text-align: left; }
  .case__calc { gap: 10px; font-size: 15px; flex-wrap: wrap; }
  .equation { font-size: 11px; letter-spacing: 1px; }
  .metrics, .steps { grid-template-columns: 1fr; }
  .metric, .step { border-right: 0 !important; }
  .metric { border-bottom: 1px solid var(--line); min-height: 0; }

  .ring { width: 200px; height: 200px; }
  .ring__figure { font-size: 76px; line-height: 80px; }

  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 24px; }
  .contact__includes { grid-template-columns: 1fr; }
  .btn { white-space: normal; text-align: center; }
  .footer__top { flex-direction: column; align-items: flex-start; gap: 16px; padding-block: 36px; }
  .footer__spacer { display: none; }
}
