@charset "UTF-8";
/* ==========================================================================
   Propvanta — public site
   Header, hero, lifecycle strip, property + service cards, footer.
   Layouts follow the client's approved mockups block for block.
   ========================================================================== */

/* --------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow var(--t-base) var(--ease), background var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease);
}
.site-header.is-stuck { box-shadow: 0 1px 24px rgba(10, 19, 34, .09); }

/* A hairline of brand gold under the header ties the chrome to the mark. */
.site-header::after {
  content: '';
  position: absolute; inset-inline: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rule-gold) 22%, var(--rule-gold) 78%, transparent);
  opacity: 0;
  transition: opacity var(--t-base) var(--ease);
}
.site-header.is-stuck::after { opacity: 1; }

.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  min-height: var(--header-h);
  padding-block: .5rem;
}

/* The lockup is 4.23:1, so it is sized by height and left to find its own
   width. Heights are set per breakpoint rather than scaled down uniformly:
   below about 42px the second line of the wordmark stops being readable, so
   the phone breakpoint swaps to the mark alone instead of shrinking further. */
.brand { display: flex; align-items: center; gap: .65rem; flex: none; text-decoration: none; }
.brand__logo { height: 62px; width: auto; max-width: none; background: none; }
.brand__sub {
  padding: .15rem .45rem;
  margin-left: .15rem;
  background: var(--gold-500);
  color: #fff;
  border-radius: var(--r-sm);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
@media (max-width: 1280px) { .brand__logo { height: 56px; } }
@media (max-width: 1060px) { .brand__logo { height: 52px; } }   /* tablet  */
@media (max-width: 760px)  { .brand__logo { height: 46px; } }
/* The horizontal lockup sets its wordmark at roughly a third of the mark's
   height, which stops being legible below ~40px. On phones the mark alone
   carries the brand better than an unreadable lockup. */
.brand__mark { display: none; height: 46px; width: auto; background: none; }
@media (max-width: 560px) {
  .brand__logo { display: none; }
  .brand__mark { display: block; }
}
@media (max-width: 380px) { .brand__mark { height: 40px; } }

/* The stacked mark, for pages with vertical room (error pages, print). */
.brand__stacked { height: 120px; width: auto; max-width: 100%; margin: 0 auto; background: none; }
@media (max-width: 560px) { .brand__stacked { height: 92px; } }


.nav { display: flex; align-items: center; gap: .1rem; margin-left: auto; }

.nav__link {
  position: relative;
  padding: .55rem .85rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--ink-600);
  text-decoration: none;
  border-radius: var(--r-sm);
  white-space: nowrap;
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.nav__link::after {
  content: '';
  position: absolute;
  left: .85rem; right: .85rem; bottom: .2rem;
  height: 1px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base) var(--ease);
}
.nav__link:hover { color: var(--navy-700); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--navy-700); font-weight: 600; }

.nav__actions { display: flex; align-items: center; gap: .9rem; margin-left: var(--sp-4); }
/* A hairline divides navigation from action, the way a masthead rule does. */
.nav__actions::before {
  content: '';
  width: 1px; height: 22px;
  background: var(--rule);
  flex: none;
}
@media (max-width: 1060px) { .nav__actions::before { display: none; } }

/* Dropdown for the lifecycle pillars. */
.nav__item { position: relative; }
.nav__panel {
  position: absolute;
  top: calc(100% + .4rem);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 260px;
  padding: .5rem;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xl);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease), visibility var(--t-base);
}
.nav__item:hover .nav__panel,
.nav__item:focus-within .nav__panel {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav__panel a {
  display: flex; gap: .7rem; align-items: center;
  padding: .6rem .7rem; border-radius: var(--r-sm);
  color: var(--ink-700); text-decoration: none; font-size: var(--fs-base);
}
.nav__panel a:hover { background: var(--ink-50); color: var(--navy-700); }
.nav__panel img { width: 26px; height: 26px; flex: none; object-fit: contain; background: none; }
.nav__panel strong { display: block; font-size: var(--fs-base); color: var(--navy-700); }
.nav__panel span { display: block; font-size: var(--fs-xs); color: var(--text-muted); }

/* Burger */
.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  margin-left: auto;
  padding: 0;
  background: none;
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: border-color var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
.nav-toggle:hover { border-color: var(--gold-500); background: rgba(176,144,88,.06); }
.nav-toggle span {
  display: block; width: 19px; height: 1.5px; margin: 4px auto;
  background: var(--navy-700); border-radius: 1px;
  transition: transform var(--t-base) var(--ease), opacity var(--t-fast) var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1060px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: var(--sp-4) var(--gutter) var(--sp-7);
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--sh-lg);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-110%);
    visibility: hidden;
    transition: transform var(--t-base) var(--ease), visibility var(--t-base);
  }
  .nav.is-open { transform: translateY(0); visibility: visible; }
  .nav__link { padding: .9rem .25rem; border-bottom: 1px solid var(--border-soft); border-radius: 0; font-size: var(--fs-lg); }
  .nav__link::after { display: none; }
  .nav__actions { flex-direction: column; align-items: stretch; margin: var(--sp-5) 0 0; gap: .6rem; }
  .nav__actions .btn { width: 100%; }
  .nav__panel {
    position: static; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; border: 0; min-width: 0; padding: 0 0 .5rem .5rem;
  }
}

/* ----------------------------------------------------------------- hero */

.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-900); }

.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }

/* A very slow push on the photograph. Twelve seconds and 6% is below the
   threshold where it reads as an effect — it just stops the frame feeling
   like a screenshot. Disabled outright under reduced-motion. */
@keyframes hero-drift {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to   { transform: scale(1.06) translate3d(0, -1.2%, 0); }
}
.hero__media img {
  animation: hero-drift 24s var(--ease-out) forwards;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) { .hero__media img { animation: none; } }

/* Three stacked layers: a directional wash for legibility, a vertical foot
   so the hero sits down onto the next section, and a vignette that keeps
   the eye centred. One element, three gradients — no extra markup. */
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(268deg, rgba(6,13,25,.04) 0%, rgba(6,13,25,.42) 42%, rgba(6,13,25,.86) 100%),
    linear-gradient(180deg, rgba(6,13,25,.52) 0%, transparent 26%, transparent 58%, rgba(6,13,25,.72) 100%),
    radial-gradient(130% 92% at 50% 44%, transparent 44%, rgba(6,13,25,.42) 100%);
}
.hero__scrim--left {
  background:
    linear-gradient(92deg, rgba(6,13,25,.88) 0%, rgba(6,13,25,.46) 44%, rgba(6,13,25,.06) 100%),
    linear-gradient(180deg, rgba(6,13,25,.52) 0%, transparent 26%, transparent 58%, rgba(6,13,25,.72) 100%),
    radial-gradient(130% 92% at 50% 44%, transparent 44%, rgba(6,13,25,.40) 100%);
}
.hero__scrim--center {
  background:
    linear-gradient(180deg, rgba(6,13,25,.62) 0%, rgba(6,13,25,.34) 42%, rgba(6,13,25,.80) 100%),
    radial-gradient(120% 90% at 50% 46%, transparent 40%, rgba(6,13,25,.46) 100%);
}

.hero__inner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(560px, 82vh, 860px);
  padding-block: clamp(4rem, 9vw, 7rem);
}
.hero--compact .hero__inner { min-height: clamp(360px, 48vh, 520px); }
.hero__content { max-width: 680px; color: #fff; }
.hero--right .hero__content { margin-left: auto; }
.hero--center .hero__content { margin-inline: auto; text-align: center; }

/* The eyebrow over a hero sits on the photograph, so it takes a lighter
   rule and a gold that survives a bright frame behind it. */
.hero .eyebrow {
  color: var(--gold-300);
  margin-bottom: var(--sp-6);
  text-shadow: 0 1px 14px rgba(6, 13, 25, .55);
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-5xl);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: var(--sp-6);
  text-shadow: 0 2px 40px rgba(6, 13, 25, .45);
}
.hero__title .accent { color: var(--gold-400); font-style: italic; }
.hero__text {
  font-size: var(--fs-lg);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255,255,255,.88);
  max-width: 48ch;
  margin-bottom: var(--sp-8);
  text-shadow: 0 1px 16px rgba(6, 13, 25, .5);
}
.hero--center .hero__text { margin-inline: auto; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-4); }
.hero--center .hero__actions { justify-content: center; }

/* ------------------------------------------------- hero credibility rail */
/* A hairline shelf of figures across the foot of the hero. It gives the
   frame a base, and puts proof in the first screen without a card. */
.hero__rail {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--rule-light);
  background: linear-gradient(180deg, rgba(6,13,25,.18), rgba(6,13,25,.52));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero__rail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.hero__rail-item {
  padding: var(--sp-5) var(--sp-4);
  text-align: center;
}
.hero__rail-item + .hero__rail-item { border-left: 1px solid var(--rule-light); }
/* The rail carries the promises, not the numbers — the figures have their
   own band further down, and repeating them a screen apart weakens both. */
.hero__rail-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.25vw, 1.3rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: #fff;
}
.hero__rail-label {
  display: block;
  margin-top: .4rem;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.58);
}
@media (max-width: 900px) {
  .hero__rail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__rail-item:nth-child(3) { border-left: 0; }
  .hero__rail-item:nth-child(n+3) { border-top: 1px solid var(--rule-light); }
  .hero__rail-item { padding: var(--sp-4) var(--sp-3); }
}

/* Light hero — the Verify page puts dark type on a pale photograph. */
.hero--light .hero__title { color: var(--navy-700); text-shadow: none; }
.hero--light .hero__text { color: var(--ink-600); text-shadow: none; }
.hero--light .hero__scrim {
  background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.86) 40%, rgba(255,255,255,.12) 78%);
}

/* The display serif is wide, and "Our Responsibility." is the longest line on
   the site. The shared --fs-5xl floor is set for desktop, so below a tablet
   the hero takes its own scale measured off the viewport — otherwise the
   second line runs past the right edge and is clipped by the body's
   overflow guard. */
@media (max-width: 900px) {
  .hero__title { font-size: clamp(2rem, 8.4vw, 3.2rem); }
}

@media (max-width: 860px) {
  /* On a phone the photograph is behind the whole column, so the wash goes
     vertical and a touch heavier — the headline has to hold at 2.8rem over
     whatever part of the frame happens to land under it. */
  .hero__inner { min-height: clamp(460px, 74vh, 620px); padding-block: clamp(3rem, 12vw, 5rem); }
  .hero__content, .hero--right .hero__content { max-width: none; margin: 0; }
  .hero__scrim, .hero__scrim--left, .hero__scrim--center {
    background:
      linear-gradient(180deg, rgba(6,13,25,.62) 0%, rgba(6,13,25,.42) 38%, rgba(6,13,25,.86) 100%),
      radial-gradient(120% 80% at 50% 40%, transparent 46%, rgba(6,13,25,.40) 100%);
  }
  .hero--light .hero__scrim { background: linear-gradient(180deg, rgba(255,255,255,.93) 0%, rgba(255,255,255,.86) 100%); }
  .hero__actions { gap: var(--sp-3); }
  .hero__actions .btn { flex: 1 1 auto; min-width: 170px; }
  .hero .eyebrow { margin-bottom: var(--sp-5); }
}
@media (max-width: 480px) {
  .hero__actions .btn { width: 100%; flex: 1 1 100%; }
}

/* ------------------------------------------------- lifecycle / step strip */

/* The mockup drew this as icons joined by arrows, which reads as a slide
   rather than a brand. The sequence is the same and every step still links
   to its pillar page — it is set as a numbered rail on navy instead, with a
   hairline running through the indices to carry the eye along the order. */

.lifecycle {
  position: relative;
  isolation: isolate;
  background: linear-gradient(140deg, var(--navy-700) 0%, var(--navy-800) 62%, var(--navy-900) 100%);
  border-block: 1px solid var(--rule-gold);
  overflow: hidden;
}
.lifecycle::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(1100px 380px at 50% -10%, rgba(176,144,88,.18), transparent 64%);
  pointer-events: none;
}
.lifecycle--navy { background: linear-gradient(140deg, var(--navy-800) 0%, var(--navy-900) 100%); }

.lifecycle__track {
  list-style: none;
  margin: 0;
  padding-inline: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  padding-block: clamp(2.25rem, 4vw, 3.25rem);
}

.lifecycle__step-wrap { display: contents; }

.lifecycle__step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .9rem;
  padding: .35rem clamp(.5rem, 1.6vw, 1.5rem);
  text-decoration: none;
  color: inherit;
  transition: transform var(--t-base) var(--ease-out);
}
/* The hairline lives on the step, not between steps, so it survives the
   grid collapsing to two columns on a phone without orphaned connectors. */
.lifecycle__step::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 7px;
  height: 1px;
  background: rgba(176, 144, 88, .38);
}
.lifecycle__step-wrap:first-child .lifecycle__step::before { left: clamp(.5rem, 1.6vw, 1.5rem); }
.lifecycle__step-wrap:last-child  .lifecycle__step::before { right: clamp(.5rem, 1.6vw, 1.5rem); }

.lifecycle__step::after {
  content: '';
  position: absolute;
  left: clamp(.5rem, 1.6vw, 1.5rem);
  top: 4px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(176, 144, 88, .16);
  transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease);
}
a.lifecycle__step:hover { transform: translateY(-3px); }
a.lifecycle__step:hover::after { transform: scale(1.45); box-shadow: 0 0 0 6px rgba(176, 144, 88, .24); }

.lifecycle__index {
  display: block;
  margin-top: .85rem;
  font-family: var(--font-body);
  font-variant-numeric: tabular-nums lining;
  font-feature-settings: 'tnum' 1, 'lnum' 1;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--gold-400);
  line-height: 1;
}
.lifecycle__label {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.3vw, 1.4rem);
  font-weight: 500;
  letter-spacing: -0.005em;
  text-transform: none;
  color: #fff;
  line-height: 1.15;
}
.lifecycle__blurb {
  display: block;
  font-size: var(--fs-sm);
  line-height: 1.55;
  color: rgba(255,255,255,.58);
  max-width: 24ch;
}
a.lifecycle__step:hover .lifecycle__label { color: var(--gold-300); }

/* The icon set stays available for pages that want it, but the strip does
   not use it — that was the clip-art tell. */
.lifecycle__icon { display: none; }

@media (max-width: 1060px) {
  .lifecycle__blurb { display: none; }
}
@media (max-width: 860px) {
  .lifecycle__track {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--sp-6) 0;
  }
  .lifecycle__step { gap: .6rem; }
  .lifecycle__step-wrap:first-child .lifecycle__step::before,
  .lifecycle__step-wrap:last-child  .lifecycle__step::before { left: 0; right: 0; }
  .lifecycle__step-wrap:nth-child(3n+1) .lifecycle__step::before { left: clamp(.5rem, 1.6vw, 1.5rem); }
  .lifecycle__step-wrap:nth-child(3n)   .lifecycle__step::before { right: clamp(.5rem, 1.6vw, 1.5rem); }
  .lifecycle__label { font-size: 1.05rem; }
}
@media (max-width: 460px) {
  .lifecycle__track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lifecycle__step-wrap:nth-child(3n+1) .lifecycle__step::before,
  .lifecycle__step-wrap:nth-child(3n)   .lifecycle__step::before { left: 0; right: 0; }
  .lifecycle__step-wrap:nth-child(odd)  .lifecycle__step::before { left: clamp(.5rem, 1.6vw, 1.5rem); }
  .lifecycle__step-wrap:nth-child(even) .lifecycle__step::before { right: clamp(.5rem, 1.6vw, 1.5rem); }
}

/* ------------------------------------------------------- property cards */

.property-card { display: flex; flex-direction: column; height: 100%; }

/* A taller frame. 4:3 is a snapshot ratio; 4:5 is how property is shot for
   print, and it gives the price room to sit on the image. */
.property-card__media {
  position: relative;
  aspect-ratio: 4 / 3.1;
  overflow: hidden;
  background: var(--navy-800);
}
/* Scoped to the direct child so it cannot reach the seal's own picture —
   an unscoped `img` rule here grew the 14px seal to fill the photograph. */
.property-card__media > picture img,
.property-card__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease-out);
}
.card--hover:hover .property-card__media > picture img,
.card--hover:hover .property-card__media > img { transform: scale(1.055); }

/* A foot of shadow under the price, so white type holds over a bright sky. */
.property-card__media::after {
  content: '';
  position: absolute; inset-inline: 0; bottom: 0;
  height: 62%;
  background: linear-gradient(180deg, transparent, rgba(6, 13, 25, .82));
  pointer-events: none;
  z-index: 1;
}

.property-card__placeholder {
  position: absolute; inset: 0;
  display: grid; place-content: center;
  background: linear-gradient(140deg, var(--navy-700), var(--navy-900));
  color: rgba(255,255,255,.34);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.property-card__seal { position: absolute; right: .8rem; top: .8rem; z-index: 2; }
.property-card__tag  { position: absolute; left: .8rem;  top: .8rem; z-index: 2; }

/* The price, wherever it appears: tabular sans, never the display serif. */
.property-card__price {
  font-family: var(--font-body);
  font-size: var(--fs-2xl);
  font-weight: 650;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums lining;
  font-feature-settings: 'tnum' 1, 'lnum' 1;
  color: var(--navy-700);
  line-height: 1.1;
  margin: 0 0 .6rem;
}
.property-card__price small {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--text-muted);
}

/* On a card it sits over the photograph — the first thing the eye needs, and
   it stops the body block opening on a number the way a portal does. Scoped
   to the media box: the single-property page reuses the class in normal flow,
   and an unscoped `position: absolute` sent that one adrift down the page. */
.property-card__media .property-card__price {
  position: absolute;
  left: var(--sp-5); right: var(--sp-5); bottom: .95rem;
  z-index: 2;
  color: #fff;
  margin: 0;
  text-shadow: 0 1px 20px rgba(6, 13, 25, .55);
}
.property-card__media .property-card__price small { color: rgba(255,255,255,.72); }

.property-card__body { padding: var(--sp-5); display: flex; flex-direction: column; flex: 1; }

.property-card__title {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--navy-700);
  margin: 0 0 var(--sp-4);
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
}
.property-card__title a { color: inherit; text-decoration: none; }
.property-card__title a:hover { color: var(--gold-600); }

.property-card__meta {
  display: grid;
  gap: .4rem;
  margin-top: auto;
  padding-top: var(--sp-4);
  border-top: 1px solid var(--rule);
  list-style: none;
  padding-inline: 0;
}
.property-card__meta li {
  display: flex; align-items: center; gap: .5rem;
  margin: 0; font-size: var(--fs-sm); color: var(--text-muted);
}
.property-card__meta img { width: 14px; height: 14px; flex: none; opacity: .55; background: none; }

.property-card__foot {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  margin-top: var(--sp-4); padding-top: var(--sp-4);
  border-top: 1px solid var(--rule);
  font-size: var(--fs-sm);
}
.property-card__ref {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .16em;
  color: var(--ink-400);
  font-variant-numeric: tabular-nums lining;
}

/* -------------------------------------------------------- service cards */
/* The tinted icon chips were the other clip-art tell. The icon stays — it
   is in the client's mockup — but small, monochrome and on the baseline of
   an index numeral, where it reads as a mark rather than a picture. */

.service-card { text-align: left; height: 100%; }
.service-card .card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .45rem;
  height: 100%;
  padding: var(--sp-6) var(--sp-5) var(--sp-5);
}
.service-card__head {
  display: flex;
  align-items: center;
  gap: .75rem;
  width: 100%;
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--rule);
}
.service-card__icon {
  width: 26px; height: 26px;
  object-fit: contain;
  background: none;
  flex: none;
  opacity: .82;
  margin: 0;
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease-out);
}
.service-card:hover .service-card__icon { opacity: 1; transform: translateY(-2px); }
.service-card__index { margin-left: auto; }
.service-card .card__title { font-size: var(--fs-lg); margin-bottom: .4rem; }
.service-card--left { text-align: left; }
.service-card--left .card__body { align-items: flex-start; }

/* ----------------------------------------------------------- testimonial */

.testimonial { display: flex; flex-direction: column; height: 100%; }
/* Set as a pull quote: the serif at a reading size, the quotation mark as a
   watermark behind it rather than a gold blob perched on the first line. */
.testimonial { background: #fff; }
.testimonial .card__body { display: flex; flex-direction: column; height: 100%; padding: var(--sp-7) var(--sp-6); }
.testimonial__quote {
  flex: 1;
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.008em;
  color: var(--ink-700);
  margin: 0 0 var(--sp-6);
  position: relative;
  padding-top: 2.25rem;
}
.testimonial__quote::before {
  content: '\201C';
  position: absolute; top: .35rem; left: -.6rem;
  font-family: var(--font-display);
  font-size: 5.5rem;
  line-height: 1;
  color: var(--gold-500);
  opacity: .17;
  pointer-events: none;
}
.testimonial__person {
  display: flex; align-items: center; gap: .85rem;
  padding-top: var(--sp-5);
  border-top: 1px solid var(--rule);
}
.testimonial__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  filter: grayscale(1) contrast(1.04);
}
.testimonial__name { font-weight: 600; color: var(--navy-700); font-size: var(--fs-base); line-height: 1.3; }
.testimonial__role { font-size: var(--fs-sm); color: var(--text-muted); }
.testimonial .stars { font-size: var(--fs-sm); letter-spacing: .14em; }
.testimonial__stars { color: var(--gold-500); letter-spacing: .14em; font-size: var(--fs-sm); margin-bottom: .5rem; }

/* ------------------------------------------------------ numbered steps */
/* A grid, not a flex cluster: the index column has a fixed track so a step
   title that wraps can never ride up over the numeral beside it. */

.steps { list-style: none; margin: 0; padding: 0; }
.steps__item {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  gap: 0 var(--sp-4);
  align-items: start;
  padding: var(--sp-5) 0;
  border-top: 1px solid var(--rule);
  margin: 0;
}
.steps__item:last-child { border-bottom: 1px solid var(--rule); }
.steps__index { padding-top: .3rem; }
.steps__title {
  font-family: var(--font-body);
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--navy-700);
  margin: 0 0 .3rem;
  line-height: 1.35;
}
.steps__text { font-size: var(--fs-base); color: var(--text-muted); margin: 0; line-height: 1.6; }
.section--navy .steps__item { border-color: var(--rule-light); }
.section--navy .steps__title { color: #fff; }
.section--navy .steps__text { color: rgba(255,255,255,.62); }

/* -------------------------------------------------------------- carousel */

.carousel { position: relative; }
.carousel__viewport {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * var(--sp-6)) / 3);
  gap: var(--sp-6);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: .25rem;
}
.carousel__viewport::-webkit-scrollbar { display: none; }
.carousel__viewport > * { scroll-snap-align: start; }

@media (max-width: 1000px) { .carousel__viewport { grid-auto-columns: calc((100% - var(--sp-6)) / 2); } }
@media (max-width: 680px)  { .carousel__viewport { grid-auto-columns: 86%; } }

.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 50%;
  box-shadow: var(--sh-md);
  cursor: pointer;
  color: var(--navy-700);
  transition: background var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
  z-index: 2;
}
.carousel__btn:hover { background: var(--gold-100); }
.carousel__btn[disabled] { opacity: .35; pointer-events: none; }
.carousel__btn--prev { left: calc(-1 * var(--sp-6)); }
.carousel__btn--next { right: calc(-1 * var(--sp-6)); }
.carousel__btn::before {
  content: ''; width: 9px; height: 9px;
  border-top: 2px solid currentColor; border-right: 2px solid currentColor;
}
.carousel__btn--prev::before { transform: rotate(-135deg); margin-left: 3px; }
.carousel__btn--next::before { transform: rotate(45deg); margin-right: 3px; }

@media (max-width: 1340px) {
  .carousel__btn--prev { left: .25rem; }
  .carousel__btn--next { right: .25rem; }
}
@media (max-width: 680px) { .carousel__btn { display: none; } }

/* ------------------------------------------------- before / after slider */

.ba {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--r-md);
  user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba__handle {
  position: absolute; top: 0; bottom: 0;
  left: var(--pos, 50%);
  width: 3px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(16,32,56,.25);
  pointer-events: none;
}
.ba__handle::after {
  content: '';
  position: absolute; top: 50%; left: 50%;
  width: 40px; height: 40px;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 50%;
  box-shadow: var(--sh-md);
}
.ba__label {
  position: absolute; bottom: .6rem;
  padding: .2rem .6rem;
  background: rgba(16,32,56,.86);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: var(--r-sm);
  pointer-events: none;
}
.ba__label--before { left: .6rem; }
.ba__label--after  { right: .6rem; }
.ba__range {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0; cursor: ew-resize; margin: 0;
}
.ba__range:focus-visible + .ba__handle { box-shadow: 0 0 0 3px var(--gold-500); }

/* -------------------------------------------------------- search panel */

.search-panel {
  background: linear-gradient(160deg, var(--navy-700) 0%, var(--navy-800) 100%);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  box-shadow: var(--sh-xl);
  color: #fff;
}
.search-panel__tabs {
  display: flex;
  gap: .25rem;
  margin-bottom: var(--sp-5);
  overflow-x: auto;
  scrollbar-width: none;
}
.search-panel__tabs::-webkit-scrollbar { display: none; }
.search-panel__tab {
  flex: 0 0 auto;
  padding: .7rem clamp(1rem, 4vw, 1.8rem);
  white-space: nowrap;
  background: transparent;
  border: 0;
  border-radius: var(--r-md) var(--r-md) 0 0;
  color: rgba(255,255,255,.72);
  font-family: inherit;
  font-size: var(--fs-base);
  font-weight: 600;
  cursor: pointer;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.search-panel__tab:hover { color: #fff; background: rgba(255,255,255,.07); }
.search-panel__tab[aria-selected="true"] { background: #fff; color: var(--navy-700); }
.search-panel .label { color: rgba(255,255,255,.80); }
.search-panel .field-hint { color: rgba(255,255,255,.6); }
.search-panel__grid { display: grid; gap: var(--sp-4); grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (max-width: 860px) { .search-panel__grid { grid-template-columns: minmax(0,1fr); } }

/* ----------------------------------------------------- partner profiles */

/* ------------------------------------------------------- partner cards */
/* Left-aligned with a monogram: a contracting firm reads as a business,
   not as whichever stock portrait happened to be in the seed data. */

.partner-card { text-align: left; height: 100%; }
.partner-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-bottom: var(--sp-5);
}
.partner-card__monogram {
  display: grid;
  place-content: center;
  width: 56px; height: 56px;
  flex: none;
  background: linear-gradient(145deg, var(--navy-700), var(--navy-900));
  border: 1px solid var(--rule-gold);
  border-radius: var(--r-sm);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--gold-400);
}
.partner-card__logo {
  width: 56px; height: 56px;
  flex: none;
  object-fit: contain;
  background: none;
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  padding: 6px;
}
.partner-card__monogram--lg,
.partner-card__logo--lg { width: 96px; height: 96px; font-size: 2.1rem; }
.partner-card__seal { flex: none; }
.partner-card__rating {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: var(--sp-5) 0 0;
  padding-top: var(--sp-4);
  border-top: 1px solid var(--rule);
  font-size: var(--fs-sm);
}
.partner-card__rating .numeric { font-weight: 650; color: var(--navy-700); }

/* Retained for the partner directory pages, which still use a photograph. */
.partner-card__photo-wrap { position: relative; width: 104px; margin: 0 auto var(--sp-4); }
.partner-card__photo {
  width: 104px; height: 104px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold-300);
}
img.partner-card__seal { position: absolute; right: -6px; bottom: -2px; width: 38px; height: 38px; background: none; }
.partner-card__stats { list-style: none; margin: var(--sp-4) 0 0; padding: 0; text-align: left; }
.partner-card__stats li {
  display: flex; justify-content: space-between; gap: .5rem;
  padding: .55rem 0; margin: 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.partner-card__stats li:last-child { border-bottom: 0; }
.partner-card__stats b { color: var(--navy-700); font-weight: 600; }

.stars { color: var(--gold-500); letter-spacing: .08em; }
.stars--muted { color: var(--ink-300); }

/* Five-step verification meter. */
.verify-steps { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--sp-3); flex-wrap: wrap; }
.verify-step { flex: 1 1 140px; text-align: center; }
.verify-step__ring {
  width: 72px; height: 72px;
  margin: 0 auto .75rem;
  display: grid; place-items: center;
  border: 2px solid var(--navy-700);
  border-radius: 50%;
  background: #fff;
}
.verify-step__ring img { width: 34px; height: 34px; background: none; }
.verify-step--done .verify-step__ring { border-color: var(--gold-500); background: var(--gold-100); }
.verify-step__title { font-size: var(--fs-sm); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--navy-700); }
.verify-step__text { font-size: var(--fs-sm); color: var(--text-muted); margin: .25rem 0 0; }

.verify-meter { max-width: 420px; margin: var(--sp-6) auto 0; }
.verify-meter__bar { height: 8px; background: var(--ink-200); border-radius: var(--r-full); overflow: hidden; }
.verify-meter__fill {
  height: 100%;
  width: var(--pct, 0%);
  background: linear-gradient(90deg, var(--navy-600), var(--gold-500));
  border-radius: var(--r-full);
  transition: width 900ms var(--ease);
}
.verify-meter__label {
  margin-top: .6rem; text-align: center;
  font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--navy-700);
}

/* ------------------------------------------------------------- CTA band */

.cta-band {
  background: linear-gradient(142deg, var(--navy-700) 0%, var(--navy-800) 58%, var(--navy-900) 100%);
  border: 1px solid var(--rule-gold);
  border-radius: var(--r-sm);
  padding: clamp(3rem, 7vw, 6rem) clamp(1.75rem, 5vw, 4rem);
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(760px 420px at 78% 12%, rgba(176,144,88,.24), transparent 60%),
    radial-gradient(620px 360px at 14% 96%, rgba(176,144,88,.12), transparent 62%);
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band__kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: var(--sp-5);
}
.cta-band__title {
  font-family: var(--font-display);
  font-size: var(--fs-4xl);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: var(--sp-8);
  line-height: 1.04;
}
.cta-band__title em { font-style: italic; color: var(--gold-400); }

/* Sticky Call | WhatsApp | Email bar from the contact mockup. */
.contact-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: none;
  background: var(--navy-700);
  border-top: 2px solid var(--gold-500);
  padding-bottom: env(safe-area-inset-bottom);
}
.contact-bar__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.contact-bar a {
  display: flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .95rem .5rem;
  color: #fff; text-decoration: none;
  font-size: var(--fs-base); font-weight: 600;
}
.contact-bar a + a { border-left: 1px solid rgba(255,255,255,.14); }
.contact-bar a:hover { background: rgba(255,255,255,.08); color: var(--gold-300); }
.contact-bar img { width: 18px; height: 18px; background: none; }

@media (max-width: 860px) {
  .contact-bar { display: block; }
  body { padding-bottom: 58px; }
}

/* --------------------------------------------------------------- footer */

.site-footer {
  position: relative;
  background: linear-gradient(180deg, var(--navy-800) 0%, var(--navy-900) 100%);
  color: rgba(255,255,255,.66);
  padding-top: var(--sp-11);
  border-top: 1px solid var(--rule-gold);
}
.site-footer a { color: rgba(255,255,255,.70); text-decoration: none; }
.site-footer a:hover { color: var(--gold-400); }

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: var(--sp-8);
  padding-bottom: var(--sp-8);
}
@media (max-width: 1000px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px)  { .site-footer__grid { grid-template-columns: 1fr; gap: var(--sp-6); } }

.site-footer__logo { height: 72px; width: auto; max-width: 100%; margin-bottom: var(--sp-5); background: none; }
@media (max-width: 600px) { .site-footer__logo { height: 58px; } }
.site-footer h3 {
  position: relative;
  color: #fff;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-3);
}
.site-footer h3::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 26px; height: 1px;
  background: var(--gold-500);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 .6rem; font-size: var(--fs-base); }

.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; }
.footer-contact img { width: 16px; height: 16px; margin-top: 4px; flex: none; opacity: .75; background: none; }

.social { display: flex; gap: .6rem; margin-top: var(--sp-5); }
.social a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--rule-light);
  border-radius: var(--r-sm);
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.social a:hover { background: var(--gold-500); border-color: var(--gold-500); transform: translateY(-2px); }
.social img { width: 17px; height: 17px; background: none; }

.site-footer__legal {
  border-top: 1px solid rgba(255,255,255,.10);
  padding-block: var(--sp-5);
  font-size: var(--fs-sm);
}
.site-footer__legal .split { gap: var(--sp-4); }
.site-footer__legal nav { display: flex; flex-wrap: wrap; gap: 0 var(--sp-4); }

/* Statutory strip — RERA / GST / CIN, required on Indian property sites. */
.compliance-strip {
  background: var(--navy-900);
  color: rgba(255,255,255,.52);
  font-size: var(--fs-xs);
  line-height: 1.7;
  padding-block: var(--sp-5);
}
.compliance-strip strong { color: rgba(255,255,255,.78); font-weight: 600; }
.compliance-strip dl { display: flex; flex-wrap: wrap; gap: .35rem var(--sp-6); margin: 0 0 .6rem; }
.compliance-strip dt { font-weight: 600; color: rgba(255,255,255,.62); }
.compliance-strip dd { margin: 0 0 0 .4rem; }
.compliance-strip dl > div { display: flex; }

/* ----------------------------------------------------------- misc blocks */

.breadcrumb { font-size: var(--fs-sm); color: var(--text-muted); padding-block: var(--sp-4); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.breadcrumb li { margin: 0; display: flex; gap: .4rem; align-items: center; }
.breadcrumb li + li::before { content: '/'; color: var(--ink-300); }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-600); }

.page-head { background: var(--bg-alt); padding-block: var(--sp-9) var(--sp-8); border-bottom: 1px solid var(--border-soft); }
.page-head h1 { margin-bottom: var(--sp-3); }
.page-head p { color: var(--text-muted); font-size: var(--fs-lg); max-width: var(--maxw-text); margin: 0; }

/* Gold hairlines between the columns rather than a gap, so the figures read
   as one ruled band — the way a report sets a summary row. */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  text-align: center;
}
.stat-row > * {
  padding: var(--sp-4) var(--sp-5);
}
.stat-row > * + * { border-left: 1px solid var(--rule-gold); }
.section--navy .stat-row > * + * { border-left-color: var(--rule-light); }
@media (max-width: 760px) {
  .stat-row { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stat-row > *:nth-child(3) { border-left: 0; }
  .stat-row > *:nth-child(n+3) { border-top: 1px solid var(--rule-gold); }
  .section--navy .stat-row > *:nth-child(n+3) { border-top-color: var(--rule-light); }
}
.stat__value {
  font-family: var(--font-body);
  font-size: var(--fs-3xl);
  font-weight: 650;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums lining;
  font-feature-settings: 'tnum' 1, 'lnum' 1;
  color: var(--navy-700);
  line-height: 1.05;
  margin-bottom: .55rem;
}
.section--navy .stat__value { color: var(--gold-400); }
.stat__label {
  font-size: 10.5px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: .18em;
  text-transform: uppercase;
  line-height: 1.5;
  margin: 0;
}
.section--navy .stat__label { color: rgba(255,255,255,.62); }

.logo-wall { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--sp-5); align-items: center; }
.logo-wall img {
  max-height: 46px; width: auto; margin: 0 auto;
  filter: grayscale(1); opacity: .62;
  transition: filter var(--t-base) var(--ease), opacity var(--t-base) var(--ease);
  background: none;
}
.logo-wall img:hover { filter: none; opacity: 1; }

.media-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.media-split--reverse > :first-child { order: 2; }
@media (max-width: 900px) {
  .media-split { grid-template-columns: 1fr; }
  .media-split--reverse > :first-child { order: 0; }
}
.media-split img { border-radius: var(--r-lg); box-shadow: var(--sh-lg); }

.feature-list { list-style: none; margin: var(--sp-5) 0 0; padding: 0; }
.feature-list li { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .85rem; }
.feature-list li::before {
  content: '';
  flex: none;
  width: 20px; height: 20px; margin-top: 2px;
  border-radius: 50%;
  background: var(--gold-100);
  box-shadow: inset 0 0 0 2px var(--gold-500);
  position: relative;
}

.pagination { display: flex; flex-wrap: wrap; gap: .35rem; justify-content: center; margin-top: var(--sp-8); }
.pagination a, .pagination span {
  min-width: 42px; height: 42px;
  display: grid; place-items: center;
  padding: 0 .65rem;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-size: var(--fs-base);
  font-weight: 500;
  color: var(--ink-700);
  text-decoration: none;
}
.pagination a:hover { background: var(--ink-50); border-color: var(--ink-300); color: var(--navy-700); }
.pagination .is-current { background: var(--navy-700); border-color: var(--navy-700); color: #fff; font-weight: 600; }
.pagination .is-disabled { opacity: .4; pointer-events: none; }

.empty-state { text-align: center; padding: var(--sp-10) var(--sp-4); color: var(--text-muted); }
.empty-state img { width: 96px; margin: 0 auto var(--sp-5); opacity: .5; background: none; }
.empty-state h3 { color: var(--navy-700); }

/* Reveal-on-scroll, added by app.js only when motion is welcome. */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

@media print {
  .site-header, .site-footer, .contact-bar, .flash-stack, .carousel__btn, .nav-toggle { display: none !important; }
  body { padding: 0; }
  a[href^="http"]::after { content: ' (' attr(href) ')'; font-size: .85em; }
}

/* --------------------------------------------------- collection tabs */

.collection-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: .25rem;
}
.collection-tab {
  position: relative;
  padding: .6rem 1.1rem;
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--ink-400);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--t-fast) var(--ease);
}
.collection-tab::after {
  content: '';
  position: absolute; left: 1.1rem; right: 1.1rem; bottom: -.3rem;
  height: 3px; border-radius: 3px;
  background: var(--gold-500);
  transform: scaleX(0);
  transition: transform var(--t-base) var(--ease);
}
.collection-tab:hover { color: var(--navy-700); }
.collection-tab.is-active { color: var(--navy-700); }
.collection-tab.is-active::after { transform: scaleX(1); }

.select--inline { width: auto; min-width: 190px; min-height: 40px; padding-block: .4rem; }

@media (max-width: 640px) {
  .collection-tabs { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .collection-tabs::-webkit-scrollbar { display: none; }
  .select--inline { width: 100%; }
}

/* The search panel overlaps the hero above it, as in the mockup. */
.search-section { margin-top: calc(-1 * clamp(2rem, 5vw, 4rem)); position: relative; z-index: 5; }

/* ================================================== property detail */

.property-head { align-items: flex-start; gap: var(--sp-6); }
.property-head__title { font-size: var(--fs-3xl); margin-bottom: .5rem; }
.property-head__meta {
  display: flex; align-items: center; gap: .4rem; flex-wrap: wrap;
  color: var(--text-muted); font-size: var(--fs-base); margin: 0;
}
.property-head__meta img { width: 16px; height: 16px; background: none; }
.property-head__price { text-align: right; flex: none; }
@media (max-width: 720px) { .property-head__price { text-align: left; } }

.gallery { display: grid; gap: var(--sp-3); grid-template-columns: 2fr 1fr; }
/* A listing with a single photograph has no thumbnail rail, so the frame
   should take the full width rather than leaving a third of it empty. */
.gallery--single { grid-template-columns: 1fr; }
.gallery__main {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  grid-column: 1;
  border-radius: var(--r-sm); background: var(--ink-100);
}
.gallery--single .gallery__main { aspect-ratio: 16 / 9; }
.gallery__thumbs { grid-column: 2; }
.gallery__main--empty {
  display: grid; place-content: center; gap: .75rem; text-align: center;
  border: 1px dashed var(--border); background: var(--ink-50);
}
.gallery__thumbs { display: grid; gap: var(--sp-3); grid-template-rows: repeat(2, 1fr); }
.gallery__thumb {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--r-md); background: var(--ink-100);
}
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery__thumbs { grid-template-rows: none; grid-template-columns: repeat(4, 1fr); }
  .gallery__thumb { aspect-ratio: 1; }
}

.property-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 1000px) { .property-layout { grid-template-columns: minmax(0, 1fr); } }

.card--sticky { position: sticky; top: calc(var(--header-h) + 1.5rem); }
@media (max-width: 1000px) { .card--sticky { position: static; } }

.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--sp-4); margin: 0; }
.spec { padding: var(--sp-4); background: var(--ink-50); border-radius: var(--r-md); }
.spec dt { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.spec dd { margin: .3rem 0 0; font-size: var(--fs-md); font-weight: 600; color: var(--navy-700); }

.amenity-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .6rem var(--sp-5); list-style: none; margin: 0; padding: 0; }
.amenity-grid li { display: flex; gap: .55rem; align-items: center; margin: 0; font-size: var(--fs-base); }
.amenity-grid img { width: 18px; height: 18px; flex: none; background: none; }

.prose { max-width: var(--maxw-text); }
.prose h2 { font-size: var(--fs-2xl); margin-top: var(--sp-8); }
.prose h3 { margin-top: var(--sp-7); }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin-bottom: .45rem; }
.prose a { color: var(--navy-600); }
.h3 { font-family: var(--font-body); font-size: var(--fs-xl); font-weight: 600; color: var(--navy-700); margin-bottom: var(--sp-4); }

/* =================================================== process cards */

.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: var(--sp-6); }
.process-step { text-align: center; }
.process-step__num {
  width: 46px; height: 46px; margin: 0 auto .85rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--navy-700); color: var(--gold-400);
  font-family: var(--font-body); font-size: var(--fs-md); font-weight: 700;
  font-variant-numeric: tabular-nums lining;
}
.process-step__icon { width: 56px; height: 56px; margin: 0 auto .75rem; background: none; }
.process-step h3 { font-size: var(--fs-md); margin-bottom: .35rem; }
.process-step p { font-size: var(--fs-sm); color: var(--text-muted); margin: 0; }

/* ====================================================== contact page */

.contact-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 960px) { .contact-layout { grid-template-columns: minmax(0, 1fr); } }

.quick-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-4); }
@media (max-width: 560px) { .quick-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.quick-link {
  display: flex; flex-direction: column; align-items: center; gap: .55rem;
  padding: var(--sp-5) var(--sp-3);
  background: #fff; border: 1px solid var(--border-soft); border-radius: var(--r-md);
  text-align: center; text-decoration: none; color: var(--navy-700);
  font-size: var(--fs-sm); font-weight: 600;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.quick-link:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: var(--gold-300); color: var(--navy-700); }
.quick-link img { width: 42px; height: 42px; background: none; }

.contact-methods { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-4); }
.contact-methods li { display: flex; gap: .85rem; align-items: flex-start; margin: 0; }
.contact-methods img { width: 22px; height: 22px; margin-top: 3px; flex: none; background: none; }
.contact-methods strong { display: block; color: var(--navy-700); font-size: var(--fs-base); }
.contact-methods a { color: var(--ink-600); text-decoration: none; }
.contact-methods a:hover { color: var(--gold-600); }

/* ====================================================== article page */

.post-card__media { aspect-ratio: 16 / 9; overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-meta { font-size: var(--fs-sm); color: var(--text-muted); }

/* ================================================ project / gallery */

.project-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; }

/* ------------------------------------------------- progress utilities */
/* The CSP forbids inline style attributes, so percentage widths come from
   a fixed set of classes instead of style="width:NN%". */
.meter-0   { width: 0; }    .meter-5   { width: 5%; }   .meter-10  { width: 10%; }
.meter-15  { width: 15%; }  .meter-20  { width: 20%; }  .meter-25  { width: 25%; }
.meter-30  { width: 30%; }  .meter-35  { width: 35%; }  .meter-40  { width: 40%; }
.meter-45  { width: 45%; }  .meter-50  { width: 50%; }  .meter-55  { width: 55%; }
.meter-60  { width: 60%; }  .meter-65  { width: 65%; }  .meter-70  { width: 70%; }
.meter-75  { width: 75%; }  .meter-80  { width: 80%; }  .meter-85  { width: 85%; }
.meter-90  { width: 90%; }  .meter-95  { width: 95%; }  .meter-100 { width: 100%; }

.rounded { border-radius: var(--r-lg); }
.ba--large { aspect-ratio: 16 / 9; }

/* ------------------------------------------------- lifecycle details */

.lifecycle-detail { padding-top: var(--sp-5); border-top: 2px solid rgba(176,144,88,.35); }
.lifecycle-detail__num {
  font-family: var(--font-body);
  font-size: var(--fs-xl);
  font-weight: 700;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums lining;
  color: var(--gold-400);
  margin-bottom: .35rem;
}
.lifecycle-detail h3 { color: #fff; font-size: var(--fs-md); margin-bottom: .4rem; }
.lifecycle-detail p { font-size: var(--fs-sm); color: rgba(255,255,255,.66); margin-bottom: .75rem; }
.lifecycle-detail__link {
  font-size: var(--fs-sm); font-weight: 600; color: var(--gold-400);
  text-decoration: none; border-bottom: 1px solid transparent;
}
.lifecycle-detail__link:hover { color: var(--gold-300); border-bottom-color: currentColor; }

/* -------------------------------------------------------------- tables */

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-md); border: 1px solid var(--border-soft); }
.table { width: 100%; border-collapse: collapse; font-size: var(--fs-base); background: #fff; }
.table th, .table td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--border-soft); vertical-align: middle; }
.table th {
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-muted); background: var(--ink-50); white-space: nowrap;
}
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: var(--ink-50); }
.table td.numeric, .table th.numeric { text-align: right; font-variant-numeric: tabular-nums; }
.table a { color: var(--navy-600); text-decoration: none; font-weight: 500; }
.table a:hover { color: var(--gold-600); text-decoration: underline; }

/* ============================================================ auth pages */

.page-auth { padding-bottom: 0; }

.auth-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100dvh; }
@media (max-width: 900px) { .auth-shell { grid-template-columns: minmax(0, 1fr); } }

.auth-panel { display: flex; align-items: center; justify-content: center; padding: var(--sp-8) var(--gutter); }
.auth-panel__inner { width: 100%; max-width: 440px; }
.auth-panel__brand { margin-bottom: var(--sp-8); }
.auth-panel__brand .brand__logo { height: 60px; }
.auth-panel__foot { margin-top: var(--sp-8); font-size: var(--fs-sm); }
.auth-panel__foot a { color: var(--text-muted); text-decoration: none; }
.auth-panel__foot a:hover { color: var(--gold-600); }

.auth-title { font-size: var(--fs-3xl); margin-bottom: .5rem; }

.auth-alt { margin-top: var(--sp-6); font-size: var(--fs-base); text-align: center; }

.input--code {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  letter-spacing: .3em;
  text-align: center;
  padding-block: 1rem;
}

.auth-aside { position: relative; overflow: hidden; isolation: isolate; }
@media (max-width: 900px) { .auth-aside { display: none; } }
.auth-aside__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.auth-aside__scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(160deg, rgba(10,21,38,.72) 0%, rgba(16,32,56,.88) 100%);
}
.auth-aside__copy {
  position: absolute; inset-inline: clamp(2rem, 5vw, 4rem); bottom: clamp(2rem, 6vw, 5rem);
  color: #fff;
}
.auth-aside__quote {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  color: #fff;
  line-height: 1.15;
  margin-bottom: var(--sp-4);
}
.auth-aside__text { color: rgba(255,255,255,.76); max-width: 42ch; margin: 0; }
