/* ==========================================================================
   Akshi Developers - design system
   Palette: from the brand logo. Sapphire #0F52BA, silver #C0C0C0,
   ivory #FFFFF0, on deep navy ink. Theme lock: dark.
   Type: Bricolage Grotesque (display) / Manrope (body), self-hosted.
   Radius rule: buttons are pill, cards 16px, inputs 10px.
   ========================================================================== */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../assets/fonts/BricolageGrotesque-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../assets/fonts/Manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --ink: #081226;          /* page background, deep navy */
  --ink-raise: #0e1d3a;    /* raised surfaces */
  --ink-card: #12234500;
  --surface: #101f3d;      /* cards, forms */
  --line: rgba(192, 192, 192, 0.18);       /* silver hairlines */
  --line-strong: rgba(192, 192, 192, 0.32);
  --ivory: #fffff0;        /* brand ivory, primary text */
  --text-soft: #b8c4d8;    /* secondary text, silver-blue */
  --text-dim: #8494ad;     /* tertiary */
  --sapphire: #0f52ba;     /* brand accent */
  --sapphire-bright: #3d7ae0; /* accent on dark, links/highlights */
  --sapphire-deep: #0b3d8c;
  --r-card: 16px;
  --r-input: 10px;
  --font-display: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 24px 60px rgba(2, 6, 16, 0.55);
  /* z-scale: nav 40, modal 60 */
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--ivory);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ivory);
}
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); max-width: 24ch; }
:focus-visible { outline: 3px solid var(--sapphire-bright); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--sapphire); color: var(--ivory); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 70;
  background: var(--sapphire); color: var(--ivory); padding: 10px 18px;
}
.skip-link:focus { left: 12px; top: 12px; }

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--sapphire-bright);
  margin-bottom: 18px;
}

/* ---------- Buttons (pill) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 30px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: 700 0.95rem var(--font-body);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn--primary {
  background: var(--sapphire); color: var(--ivory);
  box-shadow: inset 0 1px 0 rgba(255, 255, 240, 0.18);
}
.btn--primary:hover { background: var(--sapphire-deep); }
.btn--ghost { border-color: var(--line-strong); color: var(--ivory); background: transparent; }
.btn--ghost:hover { border-color: var(--ivory); background: rgba(255, 255, 240, 0.06); }
.btn--block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.nav.is-solid {
  background: rgba(8, 18, 38, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner {
  max-width: 1280px; margin: 0 auto;
  height: 72px;
  display: flex; align-items: center; gap: 40px;
  padding: 0 24px;
}
.nav__brand img { height: 36px; width: auto; }
.nav__links { display: flex; gap: 30px; margin-left: auto; }
.nav__links a {
  text-decoration: none; font-weight: 600; font-size: 0.95rem; color: var(--text-soft);
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--ivory); }
.nav__links a.is-active { color: var(--ivory); }
.nav__links a.is-active::after {
  content: ""; display: block; height: 2px; margin-top: 2px;
  background: var(--sapphire-bright); border-radius: 2px;
}
.nav__cta { padding: 11px 24px; }
.nav__toggle { display: none; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  max-width: 1280px; margin: 0 auto;
  padding: clamp(130px, 16vh, 170px) 24px 24px;
}
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
.page-hero p { color: var(--text-soft); max-width: 52ch; margin-top: 18px; font-size: 1.05rem; }

/* ---------- Home hero : full-bleed background media ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute; inset: 0; z-index: -2;
}
.hero__media img, .hero__media video {
  width: 100%; height: 100%; object-fit: cover;
  animation: heroZoom 18s var(--ease) both;
}
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 18, 38, 0.92) 0%, rgba(8, 18, 38, 0.72) 38%, rgba(8, 18, 38, 0.28) 68%, rgba(8, 18, 38, 0.15) 100%),
    linear-gradient(to top, rgba(8, 18, 38, 0.85) 0%, transparent 30%),
    linear-gradient(to bottom, rgba(8, 18, 38, 0.6) 0%, transparent 22%);
}
.hero__content {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 24px 64px;
}
.hero__title {
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
  text-shadow: 0 2px 24px rgba(4, 10, 24, 0.55);
  animation: rise 0.9s var(--ease) both;
}
.hero__sub {
  margin: 22px 0 34px;
  max-width: 42ch;
  color: #dbe3f0;
  font-size: 1.08rem;
  text-shadow: 0 1px 14px rgba(4, 10, 24, 0.65);
  animation: rise 0.9s 0.12s var(--ease) both;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; animation: rise 0.9s 0.22s var(--ease) both; }
.hero .eyebrow {
  color: #6f9ceb;
  text-shadow: 0 1px 10px rgba(4, 10, 24, 0.8);
  animation: rise 0.9s 0.02s var(--ease) both;
}
.hero .btn--ghost { border-color: rgba(255, 255, 240, 0.65); }
.hero .btn--ghost:hover { border-color: var(--ivory); background: rgba(255, 255, 240, 0.1); }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes heroZoom { from { transform: scale(1.07); } to { transform: scale(1); } }

/* ---------- Stats ---------- */
.stats { border-block: 1px solid var(--line); background: var(--ink-raise); }
.stats__grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  padding: clamp(36px, 5vw, 56px) 24px;
  gap: 24px;
}
.stat { text-align: left; padding-left: 22px; border-left: 2px solid var(--sapphire-bright); }
.stat__num {
  font: 700 clamp(2.2rem, 4.5vw, 3.4rem) var(--font-display);
  letter-spacing: -0.02em;
  display: block;
  color: var(--ivory);
}
.stat__label { color: var(--text-dim); font-size: 0.95rem; font-weight: 600; }

/* ---------- Section head ---------- */
.section-head {
  max-width: 1280px; margin: 0 auto;
  padding: clamp(72px, 9vw, 128px) 24px 40px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.section-head p { color: var(--text-soft); max-width: 52ch; }

/* ---------- Properties ---------- */
.filter { display: flex; gap: 8px; }
.filter__pill {
  border: 1.5px solid var(--line-strong);
  background: transparent;
  border-radius: 999px;
  padding: 9px 20px;
  font: 600 0.88rem var(--font-body);
  color: var(--text-soft);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.filter__pill:hover { border-color: var(--sapphire-bright); color: var(--ivory); }
.filter__pill.is-active { background: var(--sapphire); border-color: var(--sapphire); color: var(--ivory); }

.prop-grid {
  max-width: 1280px; margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 300px;
  gap: 20px;
}
/* asymmetric rhythm: 2 large, 3 medium, 1 wide */
.prop-card:nth-child(6n+1) { grid-column: span 4; grid-row: span 2; }
.prop-card:nth-child(6n+2) { grid-column: span 2; grid-row: span 2; }
.prop-card:nth-child(6n+3) { grid-column: span 2; }
.prop-card:nth-child(6n+4) { grid-column: span 2; }
.prop-card:nth-child(6n+5) { grid-column: span 2; }
.prop-card:nth-child(6n+6) { grid-column: span 6; }

.prop-card {
  position: relative;
  border-radius: var(--r-card);
  overflow: hidden;
  text-decoration: none;
  display: block;
  background: var(--ink-raise);
}
.prop-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.prop-card:hover img { transform: scale(1.05); }
.prop-card__veil {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(4, 10, 24, 0.88) 0%, rgba(4, 10, 24, 0.18) 45%, transparent 70%);
}
.prop-card__body {
  position: absolute; inset: auto 0 0 0;
  padding: 24px;
  color: var(--ivory);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
}
.prop-card__body h3 { font-size: 1.35rem; margin-bottom: 4px; }
.prop-card__meta { font-size: 0.88rem; opacity: 0.85; font-weight: 500; }
.prop-card__go {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 240, 0.45);
  display: grid; place-items: center;
  font-size: 1.1rem;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.prop-card:hover .prop-card__go { background: var(--sapphire); border-color: var(--sapphire); transform: rotate(-45deg); }
.prop-card.is-hidden { display: none; }

/* Properties page: descriptive list cards */
.prop-list {
  max-width: 1280px; margin: 0 auto;
  padding: 24px 24px 0;
  display: grid;
  gap: 28px;
}
.prop-row {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(20px, 3.5vw, 48px);
  background: var(--ink-raise);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.prop-row:hover { border-color: var(--sapphire-bright); transform: translateY(-3px); }
.prop-row:nth-child(even) { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.prop-row:nth-child(even) .prop-row__media { order: 2; }
.prop-row__media { min-height: 320px; position: relative; }
.prop-row__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.prop-row__body { padding: clamp(24px, 3.5vw, 44px); display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.prop-row__tag { color: var(--sapphire-bright); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.prop-row__body h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.prop-row__body p { color: var(--text-soft); font-size: 0.98rem; max-width: 52ch; }
.prop-row__facts { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 6px; }
.prop-row__facts span { color: var(--text-dim); font-size: 0.88rem; font-weight: 600; }
.prop-row__facts strong { display: block; color: var(--ivory); font-size: 0.98rem; font-weight: 700; }
.prop-row.is-hidden { display: none; }

/* ---------- Founder ---------- */
.founder {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(80px, 10vw, 140px) 24px 0;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.founder__media {
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: rotate(-1.5deg);
  border: 1px solid var(--line);
}
.founder__media img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.founder__body h2 { margin-bottom: 22px; }
.founder__body p { color: var(--text-soft); max-width: 60ch; margin-bottom: 16px; }
.founder__sig { margin-top: 28px; display: flex; flex-direction: column; }
.founder__sig strong { font: 700 1.2rem var(--font-display); color: var(--ivory); }
.founder__sig span { color: var(--text-dim); font-size: 0.9rem; }

/* ---------- Values (about page) ---------- */
.values {
  max-width: 1280px; margin: 0 auto;
  padding: clamp(64px, 8vw, 110px) 24px 0;
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 72px);
}
.values__list { display: grid; gap: 0; }
.value {
  padding: 26px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(120px, 1fr) 2.2fr;
  gap: 18px;
}
.value:last-child { border-bottom: 1px solid var(--line); }
.value h3 { font-size: 1.15rem; color: var(--ivory); }
.value p { color: var(--text-soft); font-size: 0.96rem; }

/* ---------- Craft ---------- */
.craft { padding-top: clamp(80px, 10vw, 140px); }
.craft__band {
  position: relative;
  height: min(74vh, 640px);
  overflow: hidden;
}
.craft__band img { width: 100%; height: 100%; object-fit: cover; }
.craft__statement {
  position: absolute; inset: auto 0 0 0;
  padding: clamp(28px, 5vw, 64px);
  background: linear-gradient(to top, rgba(4, 10, 24, 0.92), transparent);
  color: var(--ivory);
}
.craft__statement .eyebrow { margin-bottom: 10px; }
.craft__line {
  font: 600 clamp(1.3rem, 2.6vw, 2rem) var(--font-display);
  letter-spacing: -0.01em;
  max-width: 34ch;
  line-height: 1.25;
}
.craft__groups {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 80px) 24px 0;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
}
.craft-group h3 {
  font-size: 1.25rem;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--sapphire-bright);
  display: inline-block;
}
.craft-group ul { list-style: none; }
.craft-group li {
  padding: 10px 0 10px 26px;
  position: relative;
  color: var(--text-soft);
  font-size: 0.98rem;
}
.craft-group li::before {
  content: "";
  position: absolute; left: 0; top: 18px;
  width: 12px; height: 2px;
  background: var(--sapphire-bright);
}

/* ---------- Testimonials rail ---------- */
.voices__nav { display: flex; gap: 10px; }
.rail-btn {
  width: 46px; height: 46px;
  border-radius: 999px;
  border: 1.5px solid var(--line-strong);
  background: transparent;
  color: var(--ivory);
  font-size: 1.15rem;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.rail-btn:hover { background: var(--sapphire); border-color: var(--sapphire); }
.voices__rail {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px max(24px, calc((100vw - 1280px) / 2 + 24px)) 40px;
  scrollbar-width: none;
}
.voices__rail::-webkit-scrollbar { display: none; }
.voice {
  flex: 0 0 min(420px, 82vw);
  scroll-snap-align: start;
  background: var(--ink-raise);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 32px;
  display: flex; flex-direction: column; gap: 22px;
}
.voice blockquote {
  font-size: 1.02rem;
  color: var(--text-soft);
  line-height: 1.55;
}
.voice blockquote::before { content: "\201C"; font: 700 2.6rem/0.4 var(--font-display); color: var(--sapphire-bright); display: block; margin-bottom: 14px; }
.voice footer strong { display: block; font: 700 1.02rem var(--font-display); color: var(--ivory); }
.voice footer span { color: var(--text-dim); font-size: 0.86rem; }

/* ---------- CTA band (home) ---------- */
.cta-band {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px clamp(80px, 10vw, 130px);
}
.cta-band__inner {
  background: linear-gradient(135deg, var(--sapphire-deep), var(--sapphire) 60%, #2f6fd4);
  border-radius: var(--r-card);
  padding: clamp(40px, 6vw, 72px);
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
  box-shadow: var(--shadow);
}
.cta-band__inner h2 { max-width: 18ch; }
.cta-band__inner p { color: rgba(255, 255, 240, 0.85); max-width: 40ch; margin-top: 10px; }
.cta-band .btn--ghost { border-color: rgba(255, 255, 240, 0.6); }
.cta-band .btn--ghost:hover { background: rgba(255, 255, 240, 0.12); border-color: var(--ivory); }

/* ---------- Contact ---------- */
.contact {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 80px) 24px clamp(72px, 9vw, 128px);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}
.contact__intro h2 { margin-bottom: 18px; }
.contact__intro > p { color: var(--text-soft); max-width: 44ch; margin-bottom: 28px; }
.contact__wa {
  display: inline-block;
  font: 700 1.1rem var(--font-display);
  color: var(--sapphire-bright);
  text-decoration: none;
  border-bottom: 2px solid var(--sapphire-bright);
  padding-bottom: 3px;
}
.contact__wa:hover { color: var(--ivory); border-color: var(--ivory); }
.contact__social { margin-top: 22px; display: flex; gap: 18px; }
.contact__social a { color: var(--text-dim); font-weight: 600; font-size: 0.92rem; text-decoration: none; }
.contact__social a:hover { color: var(--ivory); }

.contact__form {
  background: var(--ink-raise);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: clamp(24px, 4vw, 44px);
  display: grid;
  gap: 20px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 700; font-size: 0.88rem; color: var(--ivory); }
.field input, .field select {
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-input);
  background: var(--ink);
  padding: 13px 15px;
  font: 500 0.98rem var(--font-body);
  color: var(--ivory);
  transition: border-color 0.2s;
  width: 100%;
}
.field select option { background: var(--ink); color: var(--ivory); }
.field input::placeholder { color: var(--text-dim); }
.field input:focus, .field select:focus { border-color: var(--sapphire-bright); outline: none; }
.field.has-error input, .field.has-error select { border-color: #e4705d; }
.field__error { color: #e4705d; font-size: 0.8rem; font-weight: 600; min-height: 1em; }
.form-note { font-size: 0.88rem; color: var(--text-dim); text-align: center; }

/* ---------- Footer ---------- */
.footer {
  background: #050c1c;
  border-top: 1px solid var(--line);
  color: var(--ivory);
  padding: clamp(56px, 7vw, 88px) 24px 32px;
}
.footer__grid {
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}
.footer__brand img { height: 40px; width: auto; }
.footer__brand p { margin-top: 18px; color: var(--text-soft); max-width: 38ch; font-size: 0.95rem; }
.footer h3 { font-size: 0.95rem; margin-bottom: 16px; color: var(--text-dim); font-weight: 600; letter-spacing: 0.04em; }
.footer__links, .footer__contact { display: flex; flex-direction: column; gap: 10px; }
.footer__links a, .footer__contact a {
  color: var(--text-soft); text-decoration: none; font-size: 0.98rem; width: fit-content;
}
.footer__links a:hover, .footer__contact a:hover { color: var(--ivory); text-decoration: underline; }
.footer__rera {
  max-width: 1280px; margin: 48px auto 0;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.footer__rera summary { cursor: pointer; font-weight: 700; color: var(--text-soft); }
.footer__rera p { margin-top: 14px; font-size: 0.85rem; color: var(--text-dim); max-width: 90ch; }
.footer__copy {
  max-width: 1280px; margin: 28px auto 0;
  font-size: 0.85rem; color: var(--text-dim);
}

/* ---------- RERA modal ---------- */
.rera-modal[hidden] { display: none; }
.rera-modal {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(3, 7, 16, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  display: grid; place-items: center;
  padding: 24px;
}
.rera-modal__card {
  background: var(--ink-raise);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-card);
  max-width: 560px;
  padding: 40px;
  box-shadow: var(--shadow);
}
.rera-modal__card h2 { font-size: 1.5rem; margin-bottom: 14px; }
.rera-modal__card p { color: var(--text-soft); font-size: 0.95rem; margin-bottom: 26px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Project page ---------- */
.project-hero {
  max-width: 1280px; margin: 0 auto;
  padding: 118px 24px 0;
}
.project-hero .eyebrow { margin-bottom: 10px; }
.project-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.project-hero__meta { display: flex; gap: 26px; flex-wrap: wrap; margin: 18px 0 34px; color: var(--text-soft); font-weight: 600; font-size: 0.95rem; }
.gallery {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  display: grid; gap: 16px;
}
.gallery__main {
  border-radius: var(--r-card); overflow: hidden;
  height: min(72vh, 640px);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.35s; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
.gallery__thumbs button {
  border: 2px solid transparent; border-radius: 10px; overflow: hidden;
  padding: 0; cursor: pointer; background: none; height: 90px;
  opacity: 0.75; transition: opacity 0.25s;
}
.gallery__thumbs button:hover { opacity: 1; }
.gallery__thumbs button.is-active { border-color: var(--sapphire-bright); opacity: 1; }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.project-body {
  max-width: 1280px; margin: 0 auto;
  padding: clamp(48px, 6vw, 88px) 24px;
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.project-body__text p { color: var(--text-soft); margin-bottom: 16px; max-width: 62ch; }
.project-body__text h2 { margin-bottom: 20px; }
.project-highlights { margin: 34px 0 0; }
.project-highlights h3 { font-size: 1.2rem; margin-bottom: 16px; }
.project-highlights ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.project-highlights li {
  position: relative; padding-left: 26px;
  color: var(--text-soft); font-size: 0.96rem;
}
.project-highlights li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 12px; height: 2px; background: var(--sapphire-bright);
}
.project-location { margin-top: 34px; }
.project-location h3 { font-size: 1.2rem; margin-bottom: 12px; }
.project-location p { color: var(--text-soft); max-width: 62ch; }

.project-side {
  background: var(--ink-raise); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 30px; display: grid; gap: 18px;
  position: sticky; top: 96px;
}
.project-side__facts { display: grid; gap: 18px; }
.project-side dt { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-dim); font-weight: 700; }
.project-side dd { font-weight: 600; margin: 2px 0 0; word-break: break-word; color: var(--ivory); }
.project-specs {
  max-width: 1280px; margin: 0 auto;
  padding: 0 24px clamp(48px, 6vw, 80px);
}
.project-specs h2 { margin-bottom: 30px; }
.project-specs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); }
.project-next {
  max-width: 1280px; margin: 0 auto; padding: 0 24px clamp(72px, 9vw, 120px);
  display: flex; justify-content: space-between; gap: 16px;
}
.project-next a { text-decoration: none; font: 700 1.05rem var(--font-display); color: var(--ivory); }
.project-next a:hover { color: var(--sapphire-bright); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .prop-card:nth-child(6n+1), .prop-card:nth-child(6n+2) { grid-column: span 3; grid-row: span 2; }
  .prop-card:nth-child(6n+3), .prop-card:nth-child(6n+4), .prop-card:nth-child(6n+5) { grid-column: span 2; }
  .prop-card:nth-child(6n+6) { grid-column: span 6; }
  .values { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle {
    display: grid; gap: 6px; margin-left: auto;
    background: none; border: none; padding: 10px; cursor: pointer;
  }
  .nav__toggle span { width: 26px; height: 2.5px; background: var(--ivory); border-radius: 2px; transition: transform 0.3s var(--ease); }
  .nav.is-open .nav__toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.is-open .nav__toggle span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .nav.is-open { background: var(--ink); }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column;
    position: absolute; inset: 72px 0 auto 0;
    background: var(--ink);
    padding: 12px 24px 28px;
    box-shadow: 0 24px 40px rgba(2, 6, 16, 0.6);
    gap: 18px;
  }
  .hero { min-height: 92dvh; }
  .hero__content { padding: 110px 24px 56px; }
  .hero__scrim {
    background:
      linear-gradient(to top, rgba(8, 18, 38, 0.95) 0%, rgba(8, 18, 38, 0.62) 55%, rgba(8, 18, 38, 0.35) 100%);
  }
  .stats__grid { grid-template-columns: 1fr; gap: 28px; }
  .prop-grid { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .prop-card, .prop-card:nth-child(n) { grid-column: 1 / -1 !important; grid-row: auto !important; }
  .prop-row, .prop-row:nth-child(even) { grid-template-columns: 1fr; }
  .prop-row:nth-child(even) .prop-row__media { order: 0; }
  .prop-row__media { min-height: 230px; }
  .founder { grid-template-columns: 1fr; }
  .founder__media { max-width: 420px; }
  .value { grid-template-columns: 1fr; gap: 6px; }
  .craft__groups { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .project-body { grid-template-columns: 1fr; }
  .project-side { position: static; }
  .project-highlights ul { grid-template-columns: 1fr; }
  .project-specs__grid { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
