:root {
  --cream: #f3efe9;
  --black: #0a0a0a;
  --gold: #c9a24b;
  --bg: #F5F6F8;
  --surface: #E6E9EE;
  --heading: #14213D;
  --body: #545E6E;
  --accent: #A68A4E;
  --nav-h: 90px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--bg);
  color: var(--heading);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  color: #fff;
  transition: color .5s ease;
}

.site-header.is-condensed { color: var(--heading); }
.site-header.is-condensed.on-dark { color: #fff; }
.site-header.is-condensed.on-dark .logo-mark-light { opacity: 1; }
.site-header.is-condensed.on-dark .logo-mark-dark { opacity: 0; }

.header-inner {
  max-width: 1600px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
}

.logo {
  display: flex;
  align-items: center;
  opacity: 0;
}

.logo-mark-wrap {
  position: relative;
  display: block;
  flex-shrink: 0;
}

.logo-mark-wrap { transition: opacity .4s ease; }

.main-nav, .nav-toggle { transition: opacity .4s ease; }
.site-header.footer-over .main-nav,
.site-header.footer-over .nav-toggle { opacity: 0; pointer-events: none; }

.site-header.footer-near .logo { pointer-events: none; }
.site-header.footer-near .logo-mark-wrap,
.site-header.footer-near .logo-wordmark-wrap { opacity: 0; }

.logo-mark-img {
  height: 26px;
  width: auto;
  display: block;
  transition: opacity .5s ease;
}

.logo-mark-dark {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.site-header.is-condensed .logo-mark-light { opacity: 0; }
.site-header.is-condensed .logo-mark-dark { opacity: 1; }

.logo-wordmark-wrap {
  display: block;
  overflow: hidden;
  max-width: 200px;
  margin-left: 10px;
  opacity: 1;
  transition: max-width .55s cubic-bezier(.4,0,.2,1), opacity .4s ease, margin-left .55s cubic-bezier(.4,0,.2,1);
}

.logo-wordmark-img {
  height: 18px;
  width: auto;
  display: block;
}

.site-header.is-condensed .logo-wordmark-wrap {
  max-width: 0;
  opacity: 0;
  margin-left: 0;
}

.main-nav ul {
  display: flex;
  gap: 38px;
}

.main-nav a {
  font-size: 12px;
  letter-spacing: 1.6px;
  font-weight: 500;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
  opacity: 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}

.main-nav a:hover::after { transform: scaleX(1); }
.main-nav a.is-current::after { transform: scaleX(1); }

/* ---------- Shared: subpage veil + section headings ---------- */
.page-veil {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 45%, #1B2A4A 0%, #0D1730 75%);
}

.section-eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-eyebrow-light { color: #D9BE85; }

.section-title {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.15;
  letter-spacing: .5px;
  color: var(--heading);
}

.section-title-light { color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 24px;
  height: 1.4px;
  background: currentColor;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--cream);
  background: var(--black);
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  filter: blur(10px);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.25) 40%, rgba(0,0,0,0.55) 100%);
}

.hero-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 55%,
    rgba(245,246,248,0.12) 68%,
    rgba(245,246,248,0.45) 80%,
    rgba(245,246,248,0.85) 91%,
    var(--bg) 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.hero-heading {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: 3px;
  line-height: 1.3;
}

.hero-heading .line {
  display: block;
  overflow: hidden;
}

.hero-heading .line span {
  display: block;
  transform: translateY(110%);
}

.hero-brand {
  font-weight: 500;
  letter-spacing: 4px;
  color: var(--cream);
}

.hero-cta {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 17px 36px 17px 42px;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0;
  overflow: visible;
  transition: color .4s ease, border-color .4s ease;
}

.hero-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .55s cubic-bezier(.4,0,.2,1);
  z-index: -1;
}

.hero-cta:hover::before { transform: scaleX(1); }
.hero-cta:hover { color: var(--black); }

.cta-arrow {
  display: flex;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}

.hero-cta:hover .cta-arrow { transform: translateX(5px); }

.cta-pulse {
  position: absolute;
  inset: -1px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  opacity: 0;
  pointer-events: none;
}

.hero-cta.is-ready .cta-pulse {
  animation: ctaPulse 2.4s ease-out infinite;
}

@keyframes ctaPulse {
  0%   { transform: scale(1);    opacity: .7; }
  75%  { transform: scale(1.4);  opacity: 0;  }
  100% { transform: scale(1.4);  opacity: 0;  }
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(20,33,61,0.75);
  opacity: 0;
}

.scroll-indicator svg { animation: bounce 1.8s ease-in-out infinite; }

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(20, 33, 61, 0.96);
    color: #fff;
    max-height: 0;
    overflow: hidden;
    transition: max-height .5s ease;
  }
  .main-nav.open { max-height: 400px; }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 10px 24px 20px;
  }
  .main-nav li { border-bottom: 1px solid rgba(243,239,233,0.08); }
  .main-nav a {
    display: block;
    padding: 16px 0;
    opacity: 1;
  }
  .nav-toggle { display: flex; }
  .header-inner { padding: 0 24px; }
  .logo-mark-img { height: 22px; }
  .logo-wordmark-img { height: 15px; }
}

/* ---------- Loader ---------- */
html.is-loading, body.is-loading { overflow: hidden; height: 100%; }

.loader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  overflow: hidden;
}

.loader-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse at 50% 45%, #1B2A4A 0%, #0D1730 75%);
}

.loader-building {
  position: absolute;
  left: 50%;
  top: 46%;
  height: min(118vh, 165vw);
  aspect-ratio: 1080 / 1920;
  transform: translate(-50%, -50%);
  z-index: 3;
  opacity: 0;
  pointer-events: none;
}

.loader-building svg { display: block; }

.loader-center {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 7vh;
  gap: 14px;
}

.loader-count {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 3px;
  color: var(--cream);
  opacity: 0;
  font-variant-numeric: tabular-nums;
}

.loader-progress {
  width: 180px;
  height: 1px;
  background: rgba(230,233,238,0.15);
  overflow: hidden;
}

.loader-progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  background: #C9A86A;
}

/* ---------- Custom cursor ---------- */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cream);
  pointer-events: none;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  opacity: 0;
  mix-blend-mode: difference;
  transition: width .35s cubic-bezier(.2,.8,.2,1), height .35s cubic-bezier(.2,.8,.2,1),
              background .35s ease, border-color .35s ease, opacity .25s ease, mix-blend-mode 0s;
}

.cursor.is-active { opacity: 1; }

.cursor.is-nav {
  width: 34px;
  height: 34px;
  background: transparent;
  border: 1px solid var(--cream);
}

.cursor.is-logo {
  width: 64px;
  height: 64px;
  background: var(--gold);
  border-color: var(--gold);
  mix-blend-mode: normal;
}

.cursor-label {
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--black);
  opacity: 0;
  transition: opacity .25s ease;
}

.cursor.is-logo .cursor-label { opacity: 1; }

@media (hover: none), (pointer: coarse), (max-width: 900px) {
  .cursor { display: none; }
}

@media (hover: hover) and (pointer: fine) and (min-width: 901px) {
  .site-header, .site-header a, .site-header button { cursor: none; }
}

/* ---------- Pillars (pinned horizontal panorama) ---------- */
.pillars {
  position: relative;
  background: var(--bg);
  overflow: hidden;
}

.pillars-pin {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
}

.pillars-track {
  display: flex;
  align-items: center;
  gap: 4vw;
  width: max-content;
  padding: 0 8vw;
  will-change: transform;
}

.pillars-intro {
  flex: 0 0 min(36vw, 540px);
  padding-right: 2vw;
}

.pillars-eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}

.pillars-title {
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: clamp(44px, 5.6vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.5px;
  color: var(--heading);
}

.pillars-title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.pillars-title .line > span { display: inline-block; }
.pillars-title .line:nth-child(2) > span { font-weight: 400; color: var(--accent); }

.pillars-lead {
  max-width: 380px;
  margin-top: 28px;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--body);
}

.pillars-hint {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--heading);
}

.pillars-hint i {
  position: relative;
  display: block;
  width: 70px;
  height: 1px;
  background: rgba(20,33,61,0.2);
  overflow: hidden;
}

.pillars-hint i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateX(-100%);
  animation: pillarsHint 2.2s cubic-bezier(.6,0,.4,1) infinite;
}

@keyframes pillarsHint {
  0% { transform: translateX(-100%); }
  60%, 100% { transform: translateX(100%); }
}

.pillar {
  position: relative;
  flex: 0 0 min(62vw, 980px);
  height: min(70vh, 640px);
}

.pillar-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 2px;
  clip-path: inset(9% 7% 9% 7%);
  background: var(--heading);
}

.pillar-media img {
  position: absolute;
  top: 0;
  left: -10%;
  width: 120%;
  height: 100%;
  object-fit: cover;
}

.pillar-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top right, rgba(10,16,32,0.88) 0%, rgba(10,16,32,0.4) 42%, rgba(10,16,32,0) 72%);
}

.pillar-num {
  position: absolute;
  top: 5%;
  right: 4.5%;
  z-index: 2;
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: clamp(80px, 9vw, 150px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.55);
}

.pillar-copy {
  position: absolute;
  left: clamp(28px, 4vw, 64px);
  bottom: clamp(28px, 6vh, 64px);
  z-index: 2;
  max-width: 520px;
  color: #fff;
}

.pillar-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #D9BE85;
  margin-bottom: 16px;
}

.pillar-tag::before {
  content: "";
  width: 28px;
  height: 1px;
  background: #D9BE85;
}

.pillar-copy h3 {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: clamp(30px, 3.4vw, 54px);
  line-height: 1.08;
  margin-bottom: 16px;
}

.pillar-copy p {
  max-width: 440px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255,255,255,0.82);
}

.pillars-progress {
  position: absolute;
  left: 8vw;
  right: 8vw;
  bottom: 5vh;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(20,33,61,0.55);
}

.pillars-progress-current { color: var(--heading); min-width: 18px; }

.pillars-progress-track {
  position: relative;
  flex: 1;
  height: 1px;
  background: rgba(20,33,61,0.12);
}

.pillars-progress-fill {
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}

@media (max-width: 900px) {
  .pillars-pin { height: auto; padding: 100px 0 80px; }
  .pillars-track {
    flex-direction: column;
    align-items: stretch;
    width: auto;
    gap: 36px;
    padding: 0 20px;
  }
  .pillars-intro { flex: none; padding: 0; }
  .pillar { flex: none; width: 100%; height: min(72vh, 520px); }
  .pillar-media { clip-path: none; }
  .pillar-num { font-size: 72px; }
  .pillars-progress { display: none; }
}

/* ---------- Edge / differentiator tagline (3D scroll) ---------- */
.edge {
  position: relative;
  height: 100vh;
  background: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.edge-lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  justify-content: space-evenly;
  pointer-events: none;
}

.edge-lines span {
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent 0%, rgba(166,138,78,0.18) 50%, transparent 100%);
}

.edge-hex {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.85;
  -webkit-mask-image: radial-gradient(ellipse 48% 42% at 50% 50%, rgba(0,0,0,0.15) 0%, #000 100%);
          mask-image: radial-gradient(ellipse 48% 42% at 50% 50%, rgba(0,0,0,0.15) 0%, #000 100%);
}

.hex {
  position: absolute;
  transform-style: preserve-3d;
  will-change: transform;
}

.hex svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}

.hex .f polygon { fill: none; stroke: rgba(20,33,61,0.055); }

.hex .b { transform: rotateY(180deg); }
.hex .b polygon { fill: rgba(255,255,255,0.45); stroke: rgba(20,33,61,0.1); }

@media (prefers-reduced-motion: reduce) {
  .edge-hex { display: none; }
}

.edge-inner {
  position: relative;
  z-index: 2;
  max-width: 920px;
  padding: 0 32px;
  text-align: center;
  perspective: 1400px;
}

.edge-sub {
  font-size: clamp(14px, 1.6vw, 18px);
  letter-spacing: 1px;
  color: rgba(20,33,61,0.5);
  margin-bottom: 18px;
  opacity: 0;
}

.edge-main {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: clamp(30px, 5.2vw, 70px);
  line-height: 1.3;
  letter-spacing: .5px;
}

.edge-build { opacity: 0; }

.edge-word {
  display: inline-block;
  color: var(--accent);
  font-weight: 500;
  opacity: 0;
  filter: blur(14px);
  transform: translateZ(-700px) rotateX(35deg) scale(0.4);
  transform-origin: center;
  margin-left: 10px;
}

@media (max-width: 900px) {
  .edge-main { font-size: clamp(26px, 7vw, 40px); }
  .edge-word { margin-left: 6px; }
}

/* ---------- Projects showcase (card grid) ---------- */
.projects {
  position: relative;
  background: var(--bg);
  padding: 110px 24px 100px;
}

.projects-head {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.projects-title {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: clamp(24px, 2.6vw, 36px);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--heading);
  opacity: 0;
  transform: translateY(40px);
}

.projects-lead {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--body);
  opacity: 0;
  transform: translateY(30px);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 980px;
  margin: 44px auto 0;
  perspective: 1200px;
}

.project-tile {
  position: relative;
  display: block;
  aspect-ratio: 5 / 6;
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 40px -26px rgba(20,33,61,0.55);
  transform-style: preserve-3d;
  will-change: transform;
  opacity: 0;
  transition: box-shadow .5s ease;
}

.project-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s cubic-bezier(.2,.7,.2,1);
}

/* bottom shade for the copy + a soft light sheen that follows the cursor */
.project-tile::before,
.project-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.project-tile::before {
  background: linear-gradient(to top, rgba(13,23,48,.9) 0%, rgba(13,23,48,.45) 32%, rgba(13,23,48,0) 58%);
  transition: opacity .6s ease;
}

.project-tile::after {
  background: radial-gradient(320px circle at var(--sx, 50%) var(--sy, 0%), rgba(255,255,255,.22), transparent 55%);
  opacity: 0;
  transition: opacity .5s ease;
}

.project-tile-tag {
  position: absolute;
  top: 12px;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
  padding: 5px 11px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  background: rgba(13,23,48,0.25);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  font-size: 9px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  white-space: nowrap;
  color: #fff;
}

.project-tile-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 0 14px 16px;
  text-align: center;
  color: #fff;
  transform: translateY(6px);
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
}

.project-tile-name {
  display: block;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: .3px;
}

.project-tile-name::after {
  content: "";
  display: block;
  width: 26px;
  height: 1px;
  margin: 8px auto 8px;
  background: #D9BE85;
  transform: scaleX(.4);
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
}

.project-tile-desc {
  display: block;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(230,233,238,0.82);
}

@media (hover: hover) {
  .project-tile:hover { box-shadow: 0 34px 60px -28px rgba(20,33,61,0.7); }
  .project-tile:hover img { transform: scale(1.08); }
  .project-tile:hover::after { opacity: 1; }
  .project-tile:hover .project-tile-copy { transform: translateY(0); }
  .project-tile:hover .project-tile-name::after { transform: scaleX(2.4); }
}

.projects-more-wrap {
  display: flex;
  justify-content: flex-end;
  max-width: 980px;
  margin: 26px auto 0;
}

.projects-more {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--heading);
  overflow: hidden;
  opacity: 0;
  transition: color .4s ease;
}

.projects-more::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--heading);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}

.projects-more svg { transition: transform .4s cubic-bezier(.4,0,.2,1); }
.projects-more:hover { color: #fff; }
.projects-more:hover::before { transform: scaleX(1); }
.projects-more:hover svg { transform: translateX(4px); }

@media (max-width: 900px) {
  .projects { padding: 70px 20px 70px; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .project-tile { aspect-ratio: 3 / 4; }
  .project-tile-copy { padding: 0 10px 12px; }
  .project-tile-name { font-size: 13px; }
  .project-tile-desc { font-size: 10.5px; }
  .project-tile-tag { font-size: 8px; padding: 4px 9px; }
}

/* ---------- Vastu & Disha (interactive plan) ---------- */
.vastu {
  position: relative;
  background: #0D1730;
  color: #fff;
  padding: 140px 48px 140px;
  overflow: hidden;
}

.vastu-inner {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}

.vastu-eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #D9BE85;
  margin-bottom: 18px;
  opacity: 0;
}

.vastu-title {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.3px;
  margin-bottom: 24px;
}

.vastu-title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.vastu-title .line > span { display: inline-block; transform: translateY(110%); }
.vastu-title .line:nth-child(2) > span { font-weight: 400; color: #D9BE85; }

.vastu-sub {
  max-width: 480px;
  font-size: 15.5px;
  line-height: 1.8;
  color: rgba(230,233,238,0.74);
  opacity: 0;
}

.vastu-compass {
  width: 150px;
  height: 150px;
  margin: 38px 0 34px;
  opacity: 0;
}

.vastu-compass svg { width: 100%; height: 100%; display: block; overflow: visible; }

.vastu-info {
  position: relative;
  min-height: 250px;
  padding-left: 28px;
  border-left: 3px solid #D9BE85;
  opacity: 0;
}

.vastu-info-dir {
  display: block;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #D9BE85;
  margin-bottom: 12px;
}

.vastu-info-title {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.2;
  margin-bottom: 16px;
}

.vastu-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.vastu-chips li {
  padding: 6px 14px;
  border: 1px solid rgba(217,190,133,0.45);
  border-radius: 999px;
  font-size: 10.5px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #D9BE85;
}

.vastu-info-desc {
  max-width: 500px;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(230,233,238,0.8);
}

.vastu-info-meta {
  margin-top: 16px;
  font-size: 11px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: rgba(230,233,238,0.5);
}

.vastu-plan-wrap { padding: 0 14px 14px 0; }

.vastu-plan {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  aspect-ratio: 1;
  max-width: 520px;
  width: 100%;
  margin-inline: auto;
  border: 2px solid rgba(255,255,255,0.88);
  box-shadow: 12px 12px 0 #A68A4E;
  background: rgba(255,255,255,0.025);
}

.vastu-plan button {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px;
  background: transparent;
  border: 1px solid rgba(230,233,238,0.2);
  color: #fff;
  font-family: 'Jost', sans-serif;
  cursor: pointer;
  transition: background .35s ease, color .35s ease;
}

.vastu-plan button b {
  font-weight: 400;
  font-size: clamp(20px, 3vw, 30px);
  letter-spacing: 1px;
  position: relative;
  z-index: 1;
}

.vastu-plan button span {
  position: relative;
  z-index: 1;
  font-size: clamp(9px, 1.4vw, 11px);
  letter-spacing: 1.6px;
  text-transform: uppercase;
  text-align: center;
  color: rgba(230,233,238,0.62);
  transition: color .35s ease;
}

.vastu-plan button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.5) 50%, transparent 70%);
  transform: translateX(-120%);
}

.vastu-plan button:hover,
.vastu-plan button[aria-pressed="true"] {
  background: #D9BE85;
  color: #0D1730;
}

.vastu-plan button:hover span,
.vastu-plan button[aria-pressed="true"] span { color: #0D1730; }

.vastu-plan button[aria-pressed="true"]::after { animation: vastuSweep 3.2s ease-in-out infinite; }

.vastu-plan button:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }

.vastu-plan button.core { background: rgba(217,190,133,0.1); }

.vastu-plan button.core::before {
  content: "";
  position: absolute;
  width: 62%;
  aspect-ratio: 1;
  border: 1.5px dashed #D9BE85;
  border-radius: 50%;
  animation: vastuSpin 24s linear infinite;
}

.vastu-plan button.core:hover::before,
.vastu-plan button.core[aria-pressed="true"]::before { border-color: #0D1730; }

.vastu-plan button.core:hover,
.vastu-plan button.core[aria-pressed="true"] { background: #D9BE85; }

.vastu-note {
  position: relative;
  z-index: 1;
  margin-top: 70px;
  text-align: center;
  font-size: 11px;
  letter-spacing: .5px;
  color: rgba(230,233,238,0.45);
  opacity: 0;
}

@keyframes vastuSweep {
  0%, 55% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

@keyframes vastuSpin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .vastu { padding: 180px 20px 170px; }
  .vastu-inner { grid-template-columns: 1fr; }
  .vastu-info { min-height: 0; }
  .vastu-plan-wrap { padding-right: 12px; }
}

/* ---------- Gallery (mosaic + lightbox) ---------- */
.gallery {
  position: relative;
  background: #fff;
  padding: 120px 24px 130px;
}

.gallery-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.gallery-head > * { opacity: 0; transform: translateY(30px); }

.gallery-title {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: clamp(24px, 2.6vw, 36px);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--heading);
}

.gallery-lead {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--body);
}

.gallery-note {
  margin-top: 22px;
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
  color: var(--body);
  opacity: 0.75;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-auto-rows: clamp(150px, 17vw, 250px);
  grid-auto-flow: dense;
  gap: clamp(10px, 1.3vw, 18px);
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  grid-column: span 2;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: var(--surface);
  cursor: zoom-in;
}

.gallery-item.is-wide { grid-column: span 3; }
.gallery-item.is-double { grid-column: span 4; }

.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  scale: 1;
  transition: scale 1.4s cubic-bezier(.2,.7,.2,1);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(13,23,48,.75) 0%, rgba(13,23,48,0) 50%);
  opacity: 0;
  transition: opacity .6s ease;
}

.gallery-cap {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .5s ease, transform .7s cubic-bezier(.2,.7,.2,1);
}

.gallery-cap::before {
  content: "";
  width: 22px;
  height: 1px;
  background: #D9BE85;
}

.gallery-plus {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,0.65);
  border-radius: 50%;
  color: #fff;
  opacity: 0;
  transform: scale(.7) rotate(-90deg);
  transition: opacity .4s ease, transform .6s cubic-bezier(.2,.7,.2,1);
}

@media (hover: hover) {
  .gallery-item:hover img { scale: 1.07; }
  .gallery-item:hover::after { opacity: 1; }
  .gallery-item:hover .gallery-cap { opacity: 1; transform: none; }
  .gallery-item:hover .gallery-plus { opacity: 1; transform: none; }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 70px 100px;
  background: rgba(8,14,30,0.95);
  visibility: hidden;
  opacity: 0;
}

.lightbox.is-open { visibility: visible; }
.lightbox-open { overflow: hidden; }

.lightbox-figure { max-width: min(100%, 1400px); }

.lightbox-figure img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 170px);
  margin: 0 auto;
  border-radius: 3px;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.8);
}

.lightbox-figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(230,233,238,0.8);
}

.lightbox-count { color: #D9BE85; }

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  background: none;
  color: #fff;
  cursor: pointer;
  transition: background .4s ease, border-color .4s ease, color .4s ease;
}

.lightbox-close { top: 24px; right: 28px; width: 50px; height: 50px; }
.lightbox-prev, .lightbox-next { top: 50%; width: 56px; height: 56px; margin-top: -28px; }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

.lightbox-close span {
  position: absolute;
  width: 18px;
  height: 1px;
  background: currentColor;
}

.lightbox-close span:first-child { transform: rotate(45deg); }
.lightbox-close span:last-child { transform: rotate(-45deg); }

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: #D9BE85;
  border-color: #D9BE85;
  color: #0D1730;
}

/* ---------- Locations band (site footer) ---------- */
.locations {
  position: relative;
  overflow: hidden;
  padding: 90px 48px 0;
  border-top: 1px solid rgba(217,190,133,0.35);
  background: #08101F;
  color: #fff;
}

.locations::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(700px circle at 12% 0%, rgba(217,190,133,0.09), transparent 60%),
    linear-gradient(115deg, rgba(255,255,255,0) 40%, rgba(255,255,255,0.025) 55%, rgba(255,255,255,0) 70%);
}

.locations-inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
}

.locations-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  padding-bottom: 54px;
}

.locations-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.locations-logo-mark { height: 30px; width: auto; }
.locations-logo-word { height: 20px; width: auto; }

.locations-tagline {
  margin-top: 22px;
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: clamp(26px, 2.8vw, 40px);
  line-height: 1.2;
}

.locations-tagline span { color: #D9BE85; font-weight: 400; }

.locations-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.locations-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #D9BE85;
}

.locations-phone {
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: clamp(28px, 2.8vw, 40px);
  letter-spacing: .5px;
  transition: color .3s ease;
}

.locations-phone:hover { color: #D9BE85; }
.locations-links a { transition: color .3s ease; }
.locations-links a:hover { color: #D9BE85; }

.locations-main {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 8fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: stretch;
}

.location-hq {
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid rgba(217,190,133,0.32);
  border-radius: 6px;
  background: linear-gradient(150deg, rgba(217,190,133,0.1) 0%, rgba(217,190,133,0.02) 70%);
}

.location-hq-address {
  margin-top: 16px;
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  color: #fff;
}

.location-social {
  margin-top: auto;
  padding-top: 30px;
}

.location-social-label {
  display: block;
  margin-bottom: 14px;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(230,233,238,0.6);
}

.location-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.location-social-links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #fff;
  transition: background .4s ease, border-color .4s ease, color .4s ease;
}

.location-social-links a:hover {
  background: #D9BE85;
  border-color: #D9BE85;
  color: #0D1730;
}

.locations-projects > .locations-label {
  display: block;
  margin-bottom: 24px;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.location {
  position: relative;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.location-line {
  position: absolute;
  left: 0;
  top: -1px;
  width: 56px;
  height: 1px;
  background: #D9BE85;
  transform-origin: left center;
}

.location-num {
  font-size: 11px;
  letter-spacing: 2px;
  color: #D9BE85;
}

.location h3 {
  margin: 14px 0 12px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.location p {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(230,233,238,0.6);
}

.location-call {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 6px;
  padding: 11px 22px;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #fff;
  transition: background .4s ease, border-color .4s ease, color .4s ease;
}

.location-call:hover {
  background: #D9BE85;
  border-color: #D9BE85;
  color: #0D1730;
}

.locations-note {
  order: 3;
  flex-basis: 100%;
  font-size: 11px;
  opacity: 0.6;
}

.locations-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 30px;
  margin-top: 80px;
  padding: 24px 0 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 11px;
  letter-spacing: 1px;
  color: rgba(230,233,238,0.45);
}

.locations-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
}

@media (max-width: 900px) {
  .gallery { padding: 90px 16px 100px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gallery-item { grid-column: span 1; }
  .gallery-item.is-wide,
  .gallery-item.is-double,
  .gallery-item:nth-child(9) { grid-column: span 2; }
  .gallery-cap, .gallery-plus { opacity: 1; transform: none; }
  .gallery-item::after { opacity: 1; }
  .lightbox { padding: 70px 16px; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 20px; margin-top: 0; }

  .locations { padding: 70px 24px 0; }
  .locations-contact { align-items: flex-start; }
  .locations-main { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .locations-grid { grid-template-columns: 1fr; }
}

