/* ==========================================================================
   SMARTWORLD CHANNEL PARTNER — site stylesheet
   Part 1: tokens, primitives, header, hero, stats, philosophy,
           Our Masterpieces, Smartworld 67 feature
   ========================================================================== */

:root {
  /* palette — deep blue, brass, bone */
  --navy:        #0A1A2F;
  --navy-2:      #0F2742;
  --navy-3:      #16334F;
  --blue:        #12508F;
  --brass:       #C39A4E;
  --brass-lift:  #E7CE9A;
  --bone:        #FAF8F4;
  --bone-2:      #F0ECE3;
  --ink:         #14243A;
  --muted:       #5C6B7E;
  --line:        rgba(20, 36, 58, 0.13);
  --line-dark:   rgba(239, 234, 225, 0.14);
  --white:       #FFFFFF;

  /* type */
  --display: "Bodoni Moda", "Didot", "Times New Roman", Georgia, serif;
  --utility: "Jost", "Futura", "Century Gothic", system-ui, -apple-system, sans-serif;

  /* rhythm */
  --gutter: clamp(20px, 4.5vw, 72px);
  --shell:  1360px;
  --band:   clamp(72px, 8vw, 132px);
  --ease:   cubic-bezier(0.22, 0.61, 0.36, 1);

  /* hero video treatment — see README before changing */
  --hero-blur: 2px;
  --hdr-h: 92px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--utility);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }

:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.sr {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.band { padding-block: var(--band); }
.band--light { background: var(--bone); }
.band--white { background: var(--white); }
.band--tint  { background: var(--bone-2); }
.band--dark  { background: var(--navy); color: var(--bone); }

/* --- section headers ---------------------------------------------------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 16px;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--brass);
}
.eyebrow::before {
  content: "";
  width: clamp(26px, 4vw, 56px);
  height: 1px;
  background: currentColor;
  flex: none;
}
.eyebrow--centre { justify-content: center; }
/* icon() emits <svg> with a viewBox but no width/height, so an eyebrow icon
   would otherwise fall back to the 300x150 default and render enormous. */
.eyebrow svg { flex: none; width: 18px; height: 18px; }

.h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.95rem, 4vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.band--dark .h2 { color: var(--bone); }

.lede {
  margin: 18px 0 0;
  max-width: 62ch;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--muted);
}
.band--dark .lede { color: rgba(239, 234, 225, 0.66); }

.sec-head { margin-bottom: clamp(36px, 4.5vw, 66px); }
.sec-head--centre { text-align: center; }
.sec-head--centre .lede { margin-inline: auto; }

.sec-head--split {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 28px;
}

/* --- buttons ------------------------------------------------------------ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 34px;
  font-family: var(--utility);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  background: none;
  cursor: pointer;
  overflow: hidden;
  transition: color 400ms var(--ease), border-color 400ms var(--ease), background 400ms var(--ease);
}

.btn--brass {
  color: var(--navy);
  background: linear-gradient(100deg, var(--brass), var(--brass-lift));
  border-color: var(--brass);
}
.btn--brass:hover { filter: brightness(1.08); }

.btn--outline { color: var(--ink); border-color: rgba(20, 36, 58, 0.32); }
.btn--outline::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--navy); transform: translateX(-101%);
  transition: transform 520ms var(--ease);
}
.btn--outline:hover { color: var(--bone); border-color: var(--navy); }
.btn--outline:hover::after { transform: translateX(0); }

.btn--ghost {
  color: var(--bone);
  border-color: rgba(239, 234, 225, 0.4);
  background: rgba(10, 26, 47, 0.28);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover { color: var(--navy); background: var(--bone); border-color: var(--bone); }

.btn--text {
  padding: 0;
  gap: 14px;
  color: var(--ink);
  border: 0;
  letter-spacing: 0.22em;
}
.btn--text i {
  display: block; width: 34px; height: 1px; background: var(--brass);
  transition: width 420ms var(--ease);
}
.btn--text:hover i { width: 54px; }
.band--dark .btn--text { color: var(--bone); }

/* --- scroll reveal ------------------------------------------------------ */
.rise { opacity: 0; transform: translateY(26px); }
.rise.is-in {
  opacity: 1; transform: none;
  transition: opacity 900ms var(--ease), transform 900ms var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  .rise { opacity: 1; transform: none; }
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.hdr {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  height: var(--hdr-h);
  display: flex;
  align-items: center;
  color: var(--bone);
  transition: background 500ms var(--ease), height 400ms var(--ease), box-shadow 500ms var(--ease);
}
.hdr::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(6, 15, 27, 0.72), rgba(6, 15, 27, 0));
  transition: opacity 500ms var(--ease);
}
.hdr.is-stuck {
  height: 74px;
  background: rgba(8, 21, 38, 0.95);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-dark);
}
.hdr.is-stuck::before { opacity: 0; }

.hdr__inner {
  width: 100%; max-width: var(--shell);
  margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; gap: clamp(18px, 3vw, 46px);
}

.brand { display: block; text-decoration: none; line-height: 1; flex: none; }
.brand__logo {
  display: block;
  height: clamp(26px, 2.3vw, 34px);
  width: auto;
  transition: height 400ms var(--ease);
}
.hdr.is-stuck .brand__logo { height: clamp(24px, 2vw, 30px); }
.brand__cp {
  display: block;
  margin-top: 6px;
  font-size: 0.5rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brass);
}

.nav { margin-left: auto; }
.nav__list {
  display: flex; align-items: center; gap: clamp(14px, 1.9vw, 30px);
  margin: 0; padding: 0; list-style: none;
}
.nav__link {
  position: relative;
  display: block;
  padding: 8px 0;
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(239, 234, 225, 0.88);
  transition: color 320ms var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 2px;
  width: 0; height: 1px; background: var(--brass);
  transition: width 420ms var(--ease);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--bone); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { width: 100%; }

.nav__item { position: relative; display: flex; align-items: center; }

.nav__more {
  appearance: none; background: none; border: 0; cursor: pointer;
  padding: 8px 4px; margin-left: 2px; color: rgba(239, 234, 225, 0.7);
  vertical-align: middle;
}
.nav__more i {
  display: block; width: 6px; height: 6px;
  border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 360ms var(--ease);
}
.nav__more:hover { color: var(--brass); }

.nav__sub {
  position: absolute; top: 100%; left: -24px; z-index: 5;
  min-width: 258px; margin: 0; padding: 12px 0; list-style: none;
  background: rgba(8, 21, 38, 0.97);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line-dark);
  border-top: 2px solid var(--brass);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 320ms var(--ease), transform 320ms var(--ease), visibility 0s linear 320ms;
}
.nav__item--sub:hover .nav__sub,
.nav__item--sub:focus-within .nav__sub {
  opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
.nav__sub a {
  display: block; padding: 10px 26px;
  font-size: 0.78rem; font-weight: 300; letter-spacing: 0.07em;
  color: rgba(239, 234, 225, 0.78); text-decoration: none; white-space: nowrap;
  transition: color 280ms var(--ease), background 280ms var(--ease);
}
.nav__sub a:hover, .nav__sub a:focus-visible {
  color: var(--brass-lift); background: rgba(255, 255, 255, 0.05);
}
/* Two-column project menu, grouped by use class */
.nav__sub--grouped {
  min-width: 560px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px;
  padding: 24px 30px 22px;
}
.nav__group ul { margin: 0; padding: 0; list-style: none; }
.nav__group-h {
  margin: 0 0 10px; padding-bottom: 9px;
  border-bottom: 1px solid var(--line-dark);
  font-size: 0.58rem; font-weight: 400; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--mp-brass, #C39A4E);
}
.nav__sub--grouped a { padding: 8px 0; }
.nav__all {
  display: inline-block; margin-top: 16px; padding-top: 14px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--brass); text-decoration: none;
  transition: color 280ms var(--ease);
}
.nav__all:hover { color: var(--brass-lift); }

.hdr__acts { display: flex; align-items: center; gap: 12px; flex: none; }
.hdr__call {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.72rem; letter-spacing: 0.14em; text-decoration: none;
  color: rgba(239, 234, 225, 0.88);
  transition: color 320ms var(--ease);
}
.hdr__call:hover { color: var(--brass-lift); }
.hdr__cta { padding: 12px 24px; font-size: 0.64rem; }

.burger {
  display: none; width: 44px; height: 44px; padding: 0;
  background: none; border: 0; cursor: pointer;
}
.burger i {
  display: block; width: 24px; height: 1px; margin: 6px auto;
  background: var(--bone); transition: transform 420ms var(--ease), opacity 300ms;
}
.burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
  isolation: isolate;
}

.hero__media { position: absolute; top: 0; left: 0; right: 0; bottom: -17%; z-index: 0; overflow: hidden; }
.hero__media video,
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 45%;
  transform: scale(1.06);
  /* The supplied film carries the developer's own burnt-in logos, taglines
     and RERA text. The blur turns it into ambient motion so it cannot be
     mistaken for this site's own claims. Set --hero-blur:0 if clean,
     unbranded footage is supplied. */
  filter: blur(var(--hero-blur)) saturate(1.05);
}
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to top, rgba(6, 15, 27, 0.94) 0%, rgba(6, 15, 27, 0.72) 26%, rgba(6, 15, 27, 0.42) 52%, rgba(6, 15, 27, 0.22) 74%, rgba(6, 15, 27, 0.62) 100%),
    linear-gradient(to right, rgba(6, 15, 27, 0.68) 0%, rgba(6, 15, 27, 0.20) 52%, rgba(6, 15, 27, 0.04) 100%);
}

.hero__inner {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--shell);
  margin-inline: auto; padding: calc(var(--hdr-h) + 40px) var(--gutter) 130px;
  color: var(--bone);
}

.hero__tag {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 26px; padding: 9px 18px;
  border: 1px solid rgba(195, 154, 78, 0.5);
  font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--brass-lift);
}
.hero__tag i { width: 5px; height: 5px; background: var(--brass); border-radius: 50%; }

.hero__h1 {
  margin: 0;
  max-width: 17ch;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.4rem, 5.6vw, 4.9rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--white);
}

.hero__sub {
  margin: 26px 0 0;
  max-width: 52ch;
  font-size: clamp(0.96rem, 1.2vw, 1.1rem);
  line-height: 1.75;
  color: rgba(239, 234, 225, 0.76);
}

.hero__acts { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; }

.hero__scroll {
  position: absolute; z-index: 2; left: 50%; bottom: 34px;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 0.56rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(239, 234, 225, 0.5); text-decoration: none;
}
.hero__scroll i { display: block; width: 1px; height: 46px; background: rgba(239, 234, 225, 0.32); position: relative; overflow: hidden; }
.hero__scroll i::after {
  content: ""; position: absolute; inset: 0; background: var(--brass);
  animation: dropline 2.4s var(--ease) infinite;
}
@keyframes dropline {
  0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); }
}

/* ==========================================================================
   OUR JOURNEY SO FAR — statistics
   ========================================================================== */
.stats { background: var(--navy); color: var(--bone); }

.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}

.stat {
  background: var(--navy);
  padding: clamp(30px, 3.4vw, 46px) clamp(24px, 2.6vw, 38px);
  transition: background 600ms var(--ease);
}
.stat:hover { background: var(--navy-2); }

.stat__icon { width: 30px; height: 30px; margin-bottom: 22px; color: var(--brass); }
.stat__icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.1; }

.stat__num {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.7rem, 2.9vw, 2.5rem);
  line-height: 1.1;
  color: var(--white);
}
.stat__label {
  display: block; margin-top: 10px;
  font-size: 0.74rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(239, 234, 225, 0.55);
}

.stats__note {
  margin: 26px 0 0;
  font-size: 0.75rem;
  line-height: 1.7;
  color: rgba(239, 234, 225, 0.42);
  max-width: 90ch;
}

/* ==========================================================================
   PHILOSOPHY
   ========================================================================== */
.philo__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(34px, 5vw, 86px);
}
.philo__figure { position: relative; }
.philo__figure img { width: 100%; height: clamp(360px, 46vw, 580px); object-fit: cover; }
.philo__figure::after {
  content: ""; position: absolute; left: -18px; bottom: -18px;
  width: 46%; height: 46%; border-left: 1px solid var(--brass); border-bottom: 1px solid var(--brass);
  pointer-events: none;
}
.philo__rule { width: 74px; height: 1px; background: var(--brass); margin: 30px 0; }
.philo__body { font-size: 1.04rem; line-height: 1.85; color: var(--muted); max-width: 46ch; }
.philo__list { margin: 28px 0 34px; padding: 0; list-style: none; display: grid; gap: 12px; }
.philo__list li {
  display: flex; gap: 14px; align-items: baseline;
  font-size: 0.94rem; color: var(--ink);
}
.philo__list li::before { content: "—"; color: var(--brass); flex: none; }

/* ==========================================================================
   OUR MASTERPIECES — full-bleed project showcase
   ========================================================================== */
.mp {
  --mp-ink:        #0B1420;
  --mp-ink-deep:   #060C14;
  --mp-brass:      var(--brass);
  --mp-brass-lift: var(--brass-lift);
  --mp-bone:       #EFEAE1;
  --mp-mist:       rgba(239, 234, 225, 0.60);
  --mp-hair:       rgba(195, 154, 78, 0.38);
  --mp-dwell: 6.5s;
  --mp-fade:  950ms;
  --mp-ease:  var(--ease);
  --mp-display: var(--display);
  --mp-utility: var(--utility);

  position: relative;
  width: 100%;
  scroll-margin-top: 84px;
  background: var(--mp-ink);
  color: var(--mp-bone);
  isolation: isolate;
  overflow: hidden;
}

.mp__stage { position: relative; min-height: clamp(660px, 92vh, 880px); display: grid; }

.mp__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--mp-ink-deep); }

.mp__shot { position: absolute; inset: 0; display: block; opacity: 0; z-index: 0; will-change: opacity; }
.mp__shot.is-leaving { opacity: 1; z-index: 1; }
.mp__shot.is-active { opacity: 1; z-index: 2; transition: opacity var(--mp-fade) var(--mp-ease); }

.mp__shot img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: var(--mp-focus, center 42%);
  transform: scale(1.055);
}
.mp__shot.is-active img { animation: mp-drift 9.5s var(--mp-ease) forwards; }

/* Some renders are bright end to end, so cropping cannot buy contrast for the
   overlaid type. --mp-wash adds a per-slide veil; 0 for everything by default. */
.mp__shot::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: rgba(6, 12, 20, var(--mp-wash, 0));
}
@keyframes mp-drift { from { transform: scale(1.055); } to { transform: scale(1); } }

.mp__scrim {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    linear-gradient(to top, rgba(6,12,20,.94) 0%, rgba(6,12,20,.78) 22%, rgba(6,12,20,.30) 48%, rgba(6,12,20,.04) 66%, rgba(6,12,20,.42) 100%),
    linear-gradient(to right, rgba(6,12,20,.62) 0%, rgba(6,12,20,.30) 26%, rgba(6,12,20,.06) 48%, rgba(6,12,20,0) 66%);
}

.mp__brackets { position: absolute; inset: clamp(16px, 1.8vw, 26px); z-index: 4; pointer-events: none; }
.mp__brackets i {
  position: absolute;
  width: clamp(28px, 3.4vw, 52px); height: clamp(28px, 3.4vw, 52px);
  border: 0 solid var(--mp-hair);
}
.mp__brackets i:nth-child(1) { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.mp__brackets i:nth-child(2) { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.mp__brackets i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.mp__brackets i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }

.mp__inner {
  position: relative; z-index: 5;
  display: grid; grid-template-rows: auto 1fr auto;
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(34px, 3.8vw, 62px) clamp(24px, 5vw, 84px);
  /* .mp__stage is a grid, and margin-inline:auto cancels a grid item's default
     stretch. Without width:100% this box shrink-wraps its own content and
     centres it, which pushes the copy ~330px off the left edge at 1920. */
  width: 100%;
  max-width: 1680px; margin-inline: auto;
}

.mp__eyebrow {
  margin: 0 0 14px; display: flex; align-items: center; gap: 14px;
  font-size: 0.68rem; font-weight: 400; letter-spacing: 0.34em;
  text-transform: uppercase; color: var(--mp-brass);
}
.mp__eyebrow::before {
  content: ""; width: clamp(26px, 4vw, 58px); height: 1px;
  background: var(--mp-brass); opacity: 0.8; flex: none;
}
.mp__heading {
  margin: 0; font-family: var(--mp-display); font-weight: 400;
  font-size: clamp(1.7rem, 2.9vw, 2.65rem); line-height: 1.05;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--mp-bone);
}
.mp__lede { margin: 12px 0 0; max-width: 46ch; font-size: 0.86rem; font-weight: 300; line-height: 1.65; color: var(--mp-mist); }

.mp__panel { display: grid; align-self: end; width: min(660px, 100%); }
.mp__card {
  grid-area: 1 / 1; align-self: end;
  opacity: 0; visibility: hidden;
  transition: opacity 620ms var(--mp-ease), visibility 0s linear 700ms;
}
.mp__card.is-active {
  opacity: 1; visibility: visible;
  transition: opacity 700ms var(--mp-ease) 180ms, visibility 0s linear 0s;
}

.mp__line { overflow: hidden; display: block; }
.mp__line > * { display: block; transform: translateY(115%); transition: transform 900ms var(--mp-ease); }
.mp__card.is-active .mp__line > * { transform: translateY(0); }
.mp__card.is-active .mp__line--a > * { transition-delay: 200ms; }
.mp__card.is-active .mp__line--b > * { transition-delay: 280ms; }
.mp__card.is-active .mp__line--c > * { transition-delay: 400ms; }

.mp__meta { margin: 0; font-size: 0.7rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--mp-mist); }
.mp__meta em { font-style: normal; color: var(--mp-brass); padding: 0 10px; }

.mp__name {
  margin: 10px 0 0; font-family: var(--mp-display); font-weight: 400;
  font-size: clamp(2.4rem, 5.4vw, 4.6rem); line-height: 1.02;
  letter-spacing: 0.005em; color: #fff;
}
.mp__name a {
  color: inherit; text-decoration: none;
  background-image: linear-gradient(var(--mp-brass), var(--mp-brass));
  background-size: 0% 1px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size 520ms var(--mp-ease);
}
.mp__name a:hover, .mp__name a:focus-visible { background-size: 100% 1px; }

.mp__spec {
  margin: 18px 0 0; display: flex; align-items: center; flex-wrap: wrap; gap: 0 16px;
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mp-bone);
}
.mp__spec span + span { color: var(--mp-mist); }
.mp__spec span + span::before {
  content: ""; display: inline-block; width: 22px; height: 1px;
  margin-right: 16px; vertical-align: middle; background: var(--mp-hair);
}

.mp__desc { margin: 16px 0 0; max-width: 48ch; font-size: 0.94rem; font-weight: 300; line-height: 1.7; color: var(--mp-mist); }

.mp__ctas { margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 14px; }
.mp__cta {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 32px; font-family: var(--mp-utility); font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.26em; text-transform: uppercase; text-decoration: none;
  border: 1px solid var(--mp-brass); overflow: hidden; cursor: pointer;
  transition: color 420ms var(--mp-ease), border-color 420ms var(--mp-ease);
}
.mp__cta::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, var(--mp-brass), var(--mp-brass-lift));
  transform: translateX(-101%); transition: transform 560ms var(--mp-ease);
}
.mp__cta--solid { color: var(--mp-ink); background: linear-gradient(100deg, var(--mp-brass), var(--mp-brass-lift)); }
.mp__cta--solid:hover, .mp__cta--solid:focus-visible { filter: brightness(1.1); }
.mp__cta--ghost {
  color: var(--mp-bone); border-color: rgba(239,234,225,.42);
  background: rgba(6,12,20,.25); backdrop-filter: blur(3px);
}
.mp__cta--ghost:hover, .mp__cta--ghost:focus-visible { color: var(--mp-ink); border-color: var(--mp-brass); }
.mp__cta--ghost:hover::after, .mp__cta--ghost:focus-visible::after { transform: translateX(0); }

.mp__footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.mp__rail { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 22px); }
.mp__count {
  font-family: var(--mp-display); font-size: clamp(1.1rem, 1.6vw, 1.5rem);
  line-height: 1; letter-spacing: 0.05em; color: var(--mp-brass); min-width: 2ch;
}
.mp__count--total { color: var(--mp-mist); }
.mp__ticks { display: flex; align-items: center; gap: 7px; margin: 0; padding: 0; list-style: none; }
.mp__tick {
  appearance: none; display: block; width: 26px; height: 22px; padding: 0;
  border: 0; background: none; cursor: pointer; position: relative;
  transition: width 620ms var(--mp-ease);
}
.mp__tick::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px;
  background: rgba(239,234,225,.26); transition: background 400ms var(--mp-ease);
}
.mp__tick:hover::before { background: rgba(239,234,225,.6); }
.mp__tick.is-active { width: 64px; }
.mp__fill {
  position: absolute; left: 0; top: 50%; height: 1px; width: 0;
  background: var(--mp-brass); box-shadow: 0 0 8px rgba(195,154,78,.7);
}
.mp__tick.is-active .mp__fill { animation: mp-fill var(--mp-dwell) linear forwards; }
@keyframes mp-fill { from { width: 0; } to { width: 100%; } }
.mp[data-paused="true"] .mp__fill { animation-play-state: paused; }
.mp[data-autoplay="off"] .mp__tick.is-active .mp__fill { animation: none; width: 100%; }

.mp__nav { display: flex; align-items: center; gap: clamp(10px, 1.4vw, 18px); }
.mp__arrow {
  appearance: none; display: inline-flex; align-items: center; gap: 14px;
  padding: 14px 22px; background: rgba(6,12,20,.3);
  border: 1px solid rgba(239,234,225,.24); color: var(--mp-bone);
  font-family: var(--mp-utility); font-size: 0.66rem; letter-spacing: 0.26em;
  text-transform: uppercase; cursor: pointer; backdrop-filter: blur(4px);
  transition: border-color 420ms var(--mp-ease), background 420ms var(--mp-ease), color 420ms var(--mp-ease);
}
.mp__arrow:hover, .mp__arrow:focus-visible {
  border-color: var(--mp-brass); color: var(--mp-brass-lift); background: rgba(6,12,20,.55);
}
.mp__arrow svg { width: 26px; height: 8px; overflow: visible; }
.mp__arrow svg line, .mp__arrow svg polyline { stroke: currentColor; stroke-width: 1; fill: none; }
.mp__arrow svg line { transition: transform 420ms var(--mp-ease); }
.mp__arrow--prev:hover svg line { transform: translateX(-4px) scaleX(1.2); }
.mp__arrow--next:hover svg line { transform: translateX(4px) scaleX(1.2); }

.mp :focus-visible { outline: 2px solid var(--mp-brass-lift); outline-offset: 3px; }

.mp__fallback {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px; background: rgba(239,234,225,.12); border-top: 1px solid rgba(239,234,225,.12);
}
.mp__fallback a { display: block; padding: 26px 24px; background: var(--mp-ink); color: var(--mp-bone); text-decoration: none; }
.mp__fallback strong { display: block; font-family: var(--mp-display); font-weight: 400; font-size: 1.15rem; margin-bottom: 6px; }
.mp__fallback small { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mp-mist); }

/* ==========================================================================
   SMARTWORLD 67 FEATURE
   ========================================================================== */
.feat { background: var(--white); }
.feat__grid { display: grid; grid-template-columns: 1.15fr 1fr; min-height: clamp(520px, 62vw, 720px); }
.feat__media { position: relative; overflow: hidden; }
.feat__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.feat__grid:hover .feat__media img { transform: scale(1.04); }
.feat__badge {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  padding: 14px 26px; background: var(--navy); color: var(--brass-lift);
  font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase;
}
.feat__body {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(38px, 5vw, 86px);
  background: var(--bone-2);
}
.feat__name {
  margin: 0; font-family: var(--display); font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.08; color: var(--ink);
}
.feat__loc {
  margin: 14px 0 0; font-size: 0.76rem; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--brass);
}
.feat__rule { width: 64px; height: 1px; background: rgba(20,36,58,.24); margin: 28px 0; }
.feat__copy { margin: 0; font-size: 1rem; line-height: 1.8; color: var(--muted); max-width: 44ch; }
.feat__specs {
  margin: 30px 0 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px;
}
.feat__specs dt {
  font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
}
.feat__specs dd { margin: 6px 0 0; font-size: 1rem; color: var(--ink); }
.feat__acts { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; }

/* ==========================================================================
   HORIZONTAL RAIL — shared by Delivered, Buy/Sale, Rent, Insights
   ========================================================================== */
.rail { position: relative; --rail-gap: clamp(16px, 2vw, 26px); }
.rail__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(290px, calc((100% - 2 * var(--rail-gap)) / 3));
  gap: var(--rail-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.rail__track::-webkit-scrollbar { display: none; }
.rail__track > * { scroll-snap-align: start; }
.rail__track { padding-bottom: 4px; }

.rail__nav { display: flex; gap: 10px; }
.rail__btn {
  appearance: none; width: 50px; height: 50px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line); color: var(--ink);
  cursor: pointer; transition: background 380ms var(--ease), color 380ms var(--ease), border-color 380ms var(--ease);
}
.rail__btn:hover { background: var(--navy); border-color: var(--navy); color: var(--bone); }
.rail__btn[disabled] { opacity: 0.3; cursor: default; }
.rail__btn[disabled]:hover { background: none; color: var(--ink); border-color: var(--line); }
.rail__btn svg { width: 20px; height: 8px; fill: none; stroke: currentColor; stroke-width: 1.1; }
.band--dark .rail__btn { border-color: var(--line-dark); color: var(--bone); }
.band--dark .rail__btn:hover { background: var(--brass); border-color: var(--brass); color: var(--navy); }

/* --- project tile (Delivered / track record) ---------------------------- */
.tile {
  position: relative; display: block; text-decoration: none;
  background: var(--navy-2); overflow: hidden; color: var(--bone);
  border: 1px solid var(--line-dark);
  transition: border-color 420ms var(--ease), transform 420ms var(--ease);
}
.tile:hover { border-color: rgba(195, 154, 78, 0.5); transform: translateY(-3px); }
.tile__img { aspect-ratio: 4 / 3.3; overflow: hidden; }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.tile:hover .tile__img img { transform: scale(1.06); }
.tile__body { padding: 26px 26px 30px; }
.tile__name { margin: 0; font-family: var(--display); font-weight: 400; font-size: 1.28rem; line-height: 1.2; }
.tile__loc { margin: 8px 0 0; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(239,234,225,.55); }
.tile__foot {
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line-dark);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase;
}
.tile__status { color: var(--brass); }
.tile__cat { color: rgba(239,234,225,.5); }

/* wrappers inside link cards are spans — give them block layout */
.tile__img, .tile__body, .tile__loc,
.plot__img, .plot__type, .plot__loc, .plot__price,
.post__img, .post__meta, .post__x,
.loc__name, .loc__meta { display: block; }

/* --- inventory card (Buy / Sale / Rent) --------------------------------- */
.plot {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line);
  text-decoration: none; color: var(--ink);
  transition: border-color 420ms var(--ease), transform 420ms var(--ease);
}
.plot:hover { border-color: rgba(195,154,78,.6); transform: translateY(-3px); }
.plot__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bone-2); }
.plot__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.plot:hover .plot__img img { transform: scale(1.05); }
.plot__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.plot__type { font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--brass); }
.plot__name { margin: 10px 0 0; font-family: var(--display); font-weight: 400; font-size: 1.24rem; line-height: 1.25; }
.plot__loc { margin: 6px 0 0; font-size: 0.82rem; color: var(--muted); }
.plot__facts {
  margin: 20px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 6px 20px;
  font-size: 0.78rem; color: var(--ink);
}
.plot__facts span { display: inline-flex; align-items: baseline; gap: 7px; }
.plot__facts b { font-weight: 400; color: var(--muted); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; }
.plot__foot {
  margin-top: auto; padding-top: 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.plot__price { font-family: var(--display); font-size: 1.16rem; color: var(--ink); }
.plot__price small { display: block; font-family: var(--utility); font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.plot__go { font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass); white-space: nowrap; }

/* --- tabs --------------------------------------------------------------- */
.tabs { display: flex; gap: 0; border-bottom: 1px solid var(--line); }
.tab {
  appearance: none; background: none; border: 0; cursor: pointer;
  padding: 14px 26px 16px;
  font-family: var(--utility); font-size: 0.7rem; font-weight: 400;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted);
  border-bottom: 1px solid transparent; margin-bottom: -1px;
  transition: color 340ms var(--ease), border-color 340ms var(--ease);
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--brass); }

.tabpanel[hidden] { display: none; }

/* ==========================================================================
   BUY / SELL / RENT trio
   ========================================================================== */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dark); }
.trio__card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: clamp(300px, 30vw, 420px);
  padding: clamp(28px, 3vw, 44px);
  background: var(--navy); color: var(--bone);
  border: 0; text-align: left; cursor: pointer; overflow: hidden;
  font-family: var(--utility);
}
.trio__card::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(10,26,47,.94), rgba(10,26,47,.5));
  transition: opacity 600ms var(--ease);
}
.trio__card > img {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.6s var(--ease);
}
.trio__card:hover img { transform: scale(1.06); }
.trio__card > *:not(img) { position: relative; z-index: 2; }
.trio__num { font-family: var(--display); font-size: 0.9rem; color: var(--brass); }
.trio__title {
  margin: 16px 0 0; font-family: var(--display); font-weight: 400;
  font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1.1; color: var(--white);
}
.trio__copy { margin: 12px 0 0; font-size: 0.9rem; line-height: 1.7; color: rgba(239,234,225,.66); max-width: 34ch; }
.trio__go {
  margin-top: 24px; display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.64rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--brass-lift);
}
.trio__go i { display: block; width: 30px; height: 1px; background: currentColor; transition: width 420ms var(--ease); }
.trio__card:hover .trio__go i { width: 50px; }

/* ==========================================================================
   WHY CHOOSE US
   ========================================================================== */
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3vw, 54px); }
.why__item { padding-top: 26px; border-top: 1px solid var(--line); }
.why__n { font-family: var(--display); font-size: 0.82rem; color: var(--brass); letter-spacing: 0.1em; }
.why__h { margin: 14px 0 0; font-family: var(--display); font-weight: 400; font-size: 1.34rem; line-height: 1.25; color: var(--ink); }
.why__p { margin: 12px 0 0; font-size: 0.94rem; line-height: 1.75; color: var(--muted); }

/* ==========================================================================
   GURGAON LOCATIONS
   ========================================================================== */
.locs { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.loc {
  position: relative; display: block; padding: 30px 28px 34px;
  background: var(--white); text-decoration: none; color: var(--ink);
  transition: background 460ms var(--ease);
}
.loc:hover { background: var(--bone-2); }
.loc__name { font-family: var(--display); font-size: 1.2rem; line-height: 1.25; }
.loc__meta { margin-top: 8px; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.loc__arrow { margin-top: 20px; display: block; width: 26px; height: 1px; background: var(--brass); transition: width 420ms var(--ease); }
.loc:hover .loc__arrow { width: 46px; }

/* ==========================================================================
   VOICES OF TRUST
   ========================================================================== */
.voices__quote {
  margin: 0; font-family: var(--display); font-weight: 400;
  font-size: clamp(1.3rem, 2.4vw, 2.05rem); line-height: 1.45;
  color: var(--bone); max-width: 24ch;
}
.voices__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(34px, 5vw, 80px); align-items: start; }
.voice {
  padding: 30px 0; border-top: 1px solid var(--line-dark);
}
.voice__text { margin: 0; font-size: 1rem; line-height: 1.85; color: rgba(239,234,225,.74); }
.voice__who { margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; }
.voice__name { color: var(--bone); }
.voice__proj { color: var(--brass); }

/* ==========================================================================
   PARTNERS
   ========================================================================== */
.partners__strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.partner {
  display: grid; place-items: center; min-height: 148px; padding: 26px 30px;
  background: var(--white); text-align: center;
}
.partner img {
  width: auto; max-width: min(190px, 100%); max-height: 66px;
  object-fit: contain;
  opacity: 0.5; filter: grayscale(1);
  transition: opacity 460ms var(--ease), filter 460ms var(--ease), transform 460ms var(--ease);
}
.partner:hover img, .partner:focus-visible img {
  opacity: 1; filter: none; transform: scale(1.03);
}
/* placeholder wordmarks sit slightly lighter so real artwork reads first */
.partner[data-placeholder] img { max-height: 54px; opacity: 0.34; }
.partner[data-placeholder]:hover img { opacity: 0.85; }

@media (max-width: 860px) {
  .partners__strip { grid-template-columns: repeat(2, 1fr); }
  .partner { min-height: 118px; padding: 20px; }
  .partner img { max-height: 52px; }
  .partner:last-child:nth-child(odd) { grid-column: span 2; }
}

/* ==========================================================================
   INSIGHTS
   ========================================================================== */
.post { display: block; text-decoration: none; color: var(--ink); }
.post__img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--bone-2); }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.post:hover .post__img img { transform: scale(1.05); }
.post__meta { margin-top: 20px; font-size: 0.64rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--brass); }
.post__h { margin: 12px 0 0; font-family: var(--display); font-weight: 400; font-size: 1.28rem; line-height: 1.3; }
.post__x { margin: 10px 0 0; font-size: 0.92rem; line-height: 1.7; color: var(--muted); }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 44px); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { border-top: 1px solid var(--line); }
.faq__q {
  width: 100%; appearance: none; background: none; border: 0; cursor: pointer;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
  padding: 26px 0; text-align: left;
  font-family: var(--display); font-weight: 400; font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.4; color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.faq__q:hover { color: var(--blue); }
.faq__sign { position: relative; flex: none; width: 16px; height: 16px; margin-top: 6px; }
.faq__sign::before, .faq__sign::after {
  content: ""; position: absolute; inset: 50% 0 auto; height: 1px; background: var(--brass);
  transition: transform 420ms var(--ease);
}
.faq__sign::after { transform: rotate(90deg); }
.faq__q[aria-expanded="true"] .faq__sign::after { transform: rotate(0deg); }

.faq__a { overflow: hidden; height: 0; transition: height 460ms var(--ease); border-bottom: 1px solid var(--line); }
.faq__a > div { padding: 4px 0 28px; max-width: 74ch; }
.faq__a p { margin: 0 0 12px; font-size: 0.98rem; line-height: 1.8; color: var(--muted); }
.faq__a p:last-child { margin-bottom: 0; }

/* ==========================================================================
   FINAL CTA
   ========================================================================== */
.finale { position: relative; background: var(--navy); color: var(--bone); overflow: hidden; text-align: center; }
.finale__bg { position: absolute; inset: 0; z-index: 0; opacity: 0.26; }
.finale__bg img { width: 100%; height: 100%; object-fit: cover; }
.finale::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, rgba(10,26,47,.72), rgba(10,26,47,.94));
}
.finale .shell { position: relative; z-index: 2; }
.finale__h { margin: 0 auto; max-width: 20ch; font-family: var(--display); font-weight: 400; font-size: clamp(1.9rem, 4vw, 3.1rem); line-height: 1.14; color: var(--white); }
.finale__p { margin: 22px auto 0; max-width: 56ch; color: rgba(239,234,225,.68); }
.finale__acts { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.ftr { background: #071120; color: rgba(239,234,225,.66); font-size: 0.9rem; }
.ftr__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: clamp(30px, 4vw, 64px); padding-block: clamp(58px, 6vw, 92px); }
.ftr__logo { height: 38px; width: auto; display: block; }
.ftr__cp { margin-top: 14px; font-size: 0.58rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--brass); }
.ftr__about { margin: 22px 0 0; max-width: 40ch; line-height: 1.8; font-size: 0.88rem; }
.ftr__h {
  margin: 0 0 20px; font-size: 0.64rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--bone); font-weight: 400;
}
.ftr__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.ftr__sub {
  margin-top: 4px; font-size: 0.56rem; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--brass);
}
.ftr__sub:not(:first-child) { margin-top: 18px; }
.ftr__list a { text-decoration: none; color: inherit; transition: color 320ms var(--ease); }
.ftr__list a:hover { color: var(--brass-lift); }
.ftr__contact { display: grid; gap: 14px; font-size: 0.88rem; }
.ftr__contact a { text-decoration: none; }
.ftr__contact strong { display: block; font-weight: 400; color: var(--bone); }

.ftr__legal { border-top: 1px solid var(--line-dark); padding-block: 30px 40px; }
.ftr__disc { margin: 0 0 18px; font-size: 0.76rem; line-height: 1.8; color: rgba(239,234,225,.45); max-width: 110ch; }
.ftr__bar { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between; font-size: 0.74rem; color: rgba(239,234,225,.45); }
.ftr__bar a { text-decoration: none; }
.ftr__bar a:hover { color: var(--brass-lift); }

/* ==========================================================================
   PERSISTENT CONTACT DOCK
   ========================================================================== */
.dock {
  position: fixed; z-index: 80; right: 22px; bottom: 22px;
  display: flex; flex-direction: column; gap: 10px;
}
.dock__btn {
  width: 52px; height: 52px; display: grid; place-items: center;
  background: rgba(10,26,47,.9); color: var(--bone);
  border: 1px solid rgba(239,234,225,.2); text-decoration: none;
  backdrop-filter: blur(8px); cursor: pointer;
  transition: background 380ms var(--ease), color 380ms var(--ease), border-color 380ms var(--ease);
}
.dock__btn:hover { background: var(--brass); border-color: var(--brass); color: var(--navy); }
.dock__btn svg { width: 21px; height: 21px; fill: currentColor; }
.dock__btn--wa:hover { background: #1FA855; border-color: #1FA855; color: #fff; }

/* ==========================================================================
   MODAL / ENQUIRY POPUP
   ========================================================================== */
.modal { position: fixed; inset: 0; z-index: 120; display: none; }
.modal.is-open { display: block; }
.modal__veil {
  position: absolute; inset: 0; background: rgba(6, 14, 26, 0.7);
  backdrop-filter: blur(5px); animation: fadein 320ms var(--ease);
}
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

.modal__box {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(480px, 92vw);
  max-height: min(88svh, 780px);
  overflow-y: auto;
  background: var(--white);
  animation: pop 400ms var(--ease);
}
@keyframes pop {
  from { opacity: 0; transform: translate(-50%, -46%); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}

.modal__head { padding: 30px 32px 0; position: relative; }
.modal__eyebrow { font-size: 0.6rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--brass); }
.modal__title { margin: 12px 0 0; font-family: var(--display); font-weight: 400; font-size: 1.55rem; line-height: 1.2; }
.modal__sub { margin: 10px 0 0; font-size: 0.88rem; line-height: 1.65; color: var(--muted); }
.modal__x {
  position: absolute; top: 18px; right: 18px;
  width: 38px; height: 38px; display: grid; place-items: center;
  background: none; border: 0; cursor: pointer; color: var(--muted); font-size: 1.4rem; line-height: 1;
  transition: color 300ms var(--ease);
}
.modal__x:hover { color: var(--ink); }

.form { padding: 26px 32px 32px; display: grid; gap: 15px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.field { display: grid; gap: 7px; }
.field > label {
  font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
}
.field input, .field select, .field textarea {
  font-family: var(--utility); font-size: 0.94rem; font-weight: 300; color: var(--ink);
  padding: 12px 14px; background: var(--bone); border: 1px solid var(--line);
  transition: border-color 300ms var(--ease), background 300ms var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 78px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brass); background: var(--white);
}
.field--bad input, .field--bad select, .field--bad textarea { border-color: #C0392B; }
.field__err { font-size: 0.72rem; color: #C0392B; display: none; }
.field--bad .field__err { display: block; }

.form__consent.field--bad { color: #C0392B; }
.form__consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.74rem; line-height: 1.6; color: var(--muted); }
.form__consent input { margin-top: 3px; flex: none; }
.form__submit { width: 100%; margin-top: 4px; }
.form__note { margin: 0; font-size: 0.72rem; color: var(--muted); text-align: center; }
.form__ok, .form__fail { display: none; padding: 14px 16px; font-size: 0.88rem; }
.form__ok { background: rgba(31, 168, 85, 0.1); color: #16713A; }
.form__fail { background: rgba(192, 57, 43, 0.09); color: #A3271B; }
.form.is-sent .form__ok { display: block; }
.form.is-failed .form__fail { display: block; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .posts { grid-template-columns: repeat(2, 1fr); }
  .ftr__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  .nav, .hdr__call { display: none; }
  .burger { display: block; margin-left: auto; order: 3; }
  .hdr__acts { order: 2; margin-left: auto; }
  .hdr__cta { padding: 11px 18px; font-size: 0.6rem; }

  .nav.is-open {
    display: block; position: fixed; inset: 0; z-index: -1;
    background: rgba(8, 21, 38, 0.98); backdrop-filter: blur(16px);
    padding: calc(var(--hdr-h) + 24px) var(--gutter) 40px;
    overflow-y: auto;
  }
  .nav.is-open .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav.is-open .nav__item { display: flex; flex-wrap: wrap; align-items: center; }
  .nav.is-open .nav__link { font-size: 1.4rem; font-family: var(--display); letter-spacing: 0.04em; text-transform: none; padding: 12px 0; }
  .nav.is-open .nav__link::after { display: none; }

  .nav.is-open .nav__more { margin-left: auto; padding: 14px 6px; color: var(--brass); }
  .nav.is-open .nav__more i { width: 9px; height: 9px; }
  .nav.is-open .nav__item.is-open .nav__more i { transform: rotate(225deg) translate(-3px, -3px); }

  .nav.is-open .nav__sub {
    position: static; width: 100%; min-width: 0;
    opacity: 1; visibility: visible; transform: none;
    background: none; backdrop-filter: none; border: 0;
    border-left: 1px solid var(--line-dark);
    margin: 0 0 6px 4px; padding: 0 0 0 18px;
    max-height: 0; overflow: hidden;
    transition: max-height 460ms var(--ease), padding 460ms var(--ease);
  }
  .nav.is-open .nav__item.is-open .nav__sub { max-height: 620px; padding-block: 6px 10px; }
  .nav.is-open .nav__sub a { padding: 9px 0; font-size: 0.92rem; white-space: normal; }
  .nav.is-open .nav__sub--grouped { grid-template-columns: 1fr; gap: 0; padding: 0 0 0 18px; }
  .nav.is-open .nav__item.is-open .nav__sub--grouped { padding: 8px 0 12px 18px; }
  .nav.is-open .nav__group + .nav__group { margin-top: 14px; }
  .nav.is-open .nav__group-h { font-size: 0.54rem; }
  .nav.is-open .nav__all { margin-top: 12px; padding-top: 12px; }

  .philo__grid { grid-template-columns: 1fr; }
  .philo__figure { order: -1; }
  .philo__figure img { height: clamp(260px, 52vw, 420px); }

  .feat__grid { grid-template-columns: 1fr; min-height: 0; }
  .feat__media { aspect-ratio: 16 / 10; }

  .trio { grid-template-columns: 1fr; }
  .trio__card { min-height: 280px; }

  .voices__grid { grid-template-columns: 1fr; }
  .voices__quote { max-width: none; }

  .rail__track { grid-auto-columns: minmax(268px, 72%); }
  .posts { grid-template-columns: 1fr; }
  .sec-head--split { grid-template-columns: 1fr; }
  .sec-head--split .rail__nav { justify-content: flex-start; }
}

@media (max-width: 860px) {
  /* Our Masterpieces — dedicated mobile composition */
  .mp__stage { min-height: 0; display: block; }
  .mp__media { position: relative; height: 44vh; min-height: 290px; max-height: 420px; }
  .mp__scrim {
    background: linear-gradient(to top, rgba(11,20,32,1) 0%, rgba(11,20,32,.55) 26%, rgba(6,12,20,.05) 58%, rgba(6,12,20,.55) 100%);
  }
  .mp__brackets { inset: 12px; }
  .mp__inner { position: static; display: block; height: auto; padding: 0 22px 28px; }
  .mp__masthead { position: absolute; top: 30px; left: 26px; right: 26px; z-index: 6; }
  .mp__eyebrow { font-size: 0.56rem; letter-spacing: 0.2em; margin-bottom: 9px; }
  .mp__eyebrow::before { display: none; }
  .mp__heading { font-size: 1.35rem; letter-spacing: 0.12em; }
  .mp__lede { display: none; }
  .mp__panel { width: 100%; margin-top: -52px; position: relative; z-index: 6; }
  .mp__meta { font-size: 0.64rem; letter-spacing: 0.16em; }
  .mp__name { font-size: clamp(2rem, 9vw, 2.9rem); }
  .mp__desc { font-size: 0.88rem; margin-top: 14px; }
  .mp__ctas { margin-top: 24px; gap: 10px; }
  .mp__cta { flex: 1 1 auto; justify-content: center; padding: 15px 18px; font-size: 0.64rem; letter-spacing: 0.2em; }
  .mp__footer { margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(239,234,225,.12); }
  .mp__tick { width: 16px; }
  .mp__tick.is-active { width: 34px; }
  .mp__ticks { gap: 5px; }
  .mp__arrow { padding: 13px 15px; gap: 0; }
  .mp__arrow span { display: none; }
}

@media (min-width: 561px) and (max-width: 860px) {
  .mp__media { height: 40vh; max-height: 400px; }
  .mp__heading { font-size: 1.7rem; }
  .mp__eyebrow { font-size: 0.62rem; }
  .mp__ctas { gap: 14px; }
  .mp__cta { flex: 0 0 auto; min-width: 210px; }
  .mp__panel, .mp__desc { max-width: 640px; }
}

@media (max-width: 720px) {
  .stats__grid { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .ftr__top { grid-template-columns: 1fr; }
  .hero__inner { padding-bottom: 108px; }
  .hero__acts .btn { flex: 1 1 auto; }
  .feat__specs { grid-template-columns: 1fr 1fr; }
  .rail__track { grid-auto-columns: minmax(255px, 84%); }
  .dock { right: 14px; bottom: 14px; flex-direction: row; }
  .dock__btn { width: 48px; height: 48px; }
}

@media (max-width: 560px) {
  .mp__ticks { display: none; }
  .mp__rail { gap: 10px; }
  .mp__count { font-size: 1.25rem; }
  .mp__count--total::before { content: "/"; margin-right: 10px; color: rgba(239,234,225,.32); }
  .form__row { grid-template-columns: 1fr; }
  .modal__head { padding: 26px 22px 0; }
  .form { padding: 22px 22px 26px; }
}

@media (max-width: 400px) {
  .mp__ctas { flex-direction: column; }
  .mp__cta { width: 100%; }
  .hero__acts { flex-direction: column; align-items: stretch; }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .mp__shot, .mp__shot.is-active, .mp__card, .mp__card.is-active,
  .mp__line > *, .mp__tick, .mp__cta::after, .mp__name a {
    transition-duration: 1ms !important; transition-delay: 0s !important;
  }
  .mp__shot.is-active img { animation: none; transform: none; }
  .mp__line > * { transform: none !important; }
  .mp__tick.is-active .mp__fill { animation: none; width: 100%; }
  .hero__scroll i::after { animation: none; }
  .hero__media video, .hero__media img { transform: none; }
  .tile__img img, .plot__img img, .post__img img, .feat__media img, .trio__card img { transition: none; }
}


/* ==========================================================================
   INNER PAGE HERO + BREADCRUMBS  (about, projects, contact…)
   ========================================================================== */
.phero {
  position: relative; display: grid; align-items: end;
  min-height: clamp(360px, 52vh, 520px);
  background: var(--navy); overflow: hidden; isolation: isolate;
}
.phero__media { position: absolute; inset: 0; z-index: 0; }
.phero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.phero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to top, rgba(6,15,27,.94) 0%, rgba(6,15,27,.62) 46%, rgba(6,15,27,.30) 78%, rgba(6,15,27,.66) 100%),
    linear-gradient(to right, rgba(6,15,27,.62) 0%, rgba(6,15,27,.14) 58%, rgba(6,15,27,0) 100%);
}
.phero__inner {
  position: relative; z-index: 2; width: 100%;
  max-width: var(--shell); margin-inline: auto;
  padding: calc(var(--hdr-h) + 46px) var(--gutter) clamp(38px, 4.5vw, 64px);
  color: var(--bone);
}
.phero__h1 {
  margin: 0; max-width: 20ch;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.1rem, 4.4vw, 3.5rem); line-height: 1.08; color: #fff;
}
.phero__sub { margin: 18px 0 0; max-width: 52ch; color: rgba(239,234,225,.72); }

.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin: 0 0 20px; padding: 0; list-style: none;
  font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(239,234,225,.55);
}
.crumbs a { color: inherit; text-decoration: none; transition: color 300ms var(--ease); }
.crumbs a:hover { color: var(--brass-lift); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--brass); }
.crumbs [aria-current] { color: var(--bone); }

/* shorter hero for archive pages */
.phero--short { min-height: clamp(320px, 42vh, 430px); }

/* grouped FAQ sections */
.faqset + .faqset { margin-top: clamp(40px, 5vw, 68px); }
.faqset__h {
  margin: 0 0 16px; font-family: var(--display); font-weight: 400;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem); line-height: 1.2; color: var(--ink);
}

/* an inline form sits inside page layout, not inside the modal box */
.form--inline { padding: 0; margin-top: 28px; }

/* four-up stat row used on inner pages */
.stats__grid--four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .stats__grid--four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .stats__grid--four { grid-template-columns: 1fr; } }

/* two-up statement blocks (vision / mission) */
.duo { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.duo > div { background: var(--white); padding: clamp(28px, 3.2vw, 48px); }
.band--dark .duo { background: var(--line-dark); border-color: var(--line-dark); }
.band--dark .duo > div { background: var(--navy); }
.duo__k { font-size: 0.62rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--brass); }
.duo__v { margin: 14px 0 0; font-family: var(--display); font-weight: 400; font-size: 1.28rem; line-height: 1.4; color: var(--ink); }
.band--dark .duo__v { color: var(--bone); }

/* an attributed note about the developer, visually distinct from our own voice */
.attrib {
  margin: 26px 0 0; padding: 18px 22px;
  border-left: 2px solid var(--brass); background: rgba(20,36,58,.04);
  font-size: 0.86rem; line-height: 1.7; color: var(--muted);
}
.band--dark .attrib { background: rgba(255,255,255,.04); color: rgba(239,234,225,.6); }

@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }

/* ==========================================================================
   PORTFOLIO GRID — "Projects We Represent"
   Default state is a quiet logo on bone. On hover (desktop) or tap (touch,
   via .is-active from site.js) the project's own image fades up behind it and
   the logo switches to its light variant treatment.
   ========================================================================== */
.pf-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.pf-tile {
  position: relative; isolation: isolate;
  display: grid; place-items: center; gap: 10px;
  min-height: 152px; padding: 26px 22px;
  background: var(--bone); text-decoration: none; overflow: hidden;
}
.pf-tile__bg { position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 420ms var(--ease); }
.pf-tile__bg::after {
  content: ""; position: absolute; inset: 0; background: rgba(10, 26, 47, 0.72);
}
.pf-tile__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 700ms var(--ease); }
.pf-tile__logo { display: block; }
.pf-tile__logo img {
  width: clamp(112px, 12vw, 150px); height: auto;
  filter: grayscale(1); opacity: 0.5;
  transition: filter 380ms var(--ease), opacity 380ms var(--ease), transform 380ms var(--ease);
}
.pf-tile__meta {
  font-size: 0.6rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--muted); opacity: 0; transform: translateY(6px);
  transition: opacity 380ms var(--ease), transform 380ms var(--ease), color 380ms var(--ease);
}
.pf-tile:hover, .pf-tile:focus-visible, .pf-tile.is-active { background: var(--navy); }
.pf-tile:hover .pf-tile__bg, .pf-tile:focus-visible .pf-tile__bg, .pf-tile.is-active .pf-tile__bg { opacity: 1; }
.pf-tile:hover .pf-tile__bg img, .pf-tile.is-active .pf-tile__bg img { transform: scale(1); }
.pf-tile:hover .pf-tile__logo img,
.pf-tile:focus-visible .pf-tile__logo img,
.pf-tile.is-active .pf-tile__logo img { filter: grayscale(0) brightness(0) invert(1); opacity: 1; transform: scale(1.05); }
.pf-tile:hover .pf-tile__meta, .pf-tile:focus-visible .pf-tile__meta, .pf-tile.is-active .pf-tile__meta {
  opacity: 1; transform: none; color: var(--brass-lift);
}
.pf-tile[data-placeholder="true"] .pf-tile__logo img { opacity: 0.32; }

@media (max-width: 980px) { .pf-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .pf-grid { grid-template-columns: repeat(2, 1fr); } .pf-tile { min-height: 128px; } }
@media (prefers-reduced-motion: reduce) {
  .pf-tile__bg, .pf-tile__bg img, .pf-tile__logo img, .pf-tile__meta { transition-duration: 1ms; }
}
