:root {
  --bg: #f6f1e7;
  --bg-alt: #ede6d7;
  --bg-card: #ffffff;
  --bg-dark: #151820;
  --ink: #17191e;
  --ink-soft: #3e424c;
  --ink-mute: #7a7b85;
  --line: #d9d2c4;
  --line-soft: #e5dfd1;
  --tan: #b08d57;
  --tan-dark: #8c6c3e;
  --gold: #c9a96a;
  --blue: #0ea5e9;
  --serif-display: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --shadow-sm: 0 1px 2px rgba(23, 25, 30, 0.04), 0 1px 3px rgba(23, 25, 30, 0.06);
  --shadow-md: 0 8px 24px -6px rgba(23, 25, 30, 0.12), 0 2px 6px rgba(23, 25, 30, 0.05);
  --shadow-lg: 0 30px 60px -20px rgba(23, 25, 30, 0.25);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }

::selection { background: var(--tan); color: #fff; }

h1, h2, h3 {
  font-family: var(--serif-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.015em;
}
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--tan); }

/* ---------- Shared ---------- */
.section-num {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--tan);
  font-weight: 500;
  margin-bottom: 22px;
}
.section-num-light { color: var(--gold); }

.accent-line {
  width: 40px;
  height: 1px;
  background: var(--tan);
  margin: 18px 0 28px;
}
.accent-line-light { background: var(--gold); opacity: 0.7; }

.section-head { text-align: center; margin-bottom: 72px; }
.section-head .accent-line { margin: 18px auto 24px; }
.section-head h2 { font-size: clamp(40px, 5vw, 62px); }
.section-head p { color: var(--ink-soft); max-width: 560px; margin: 0 auto; }

.section-lead {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.75;
  font-family: var(--serif);
  font-style: italic;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 56px;
  background: rgba(246, 241, 231, 0.85);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: padding 0.35s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.nav.scrolled {
  padding: 14px 56px;
  background: rgba(246, 241, 231, 0.96);
  border-bottom-color: rgba(23, 25, 30, 0.06);
  box-shadow: 0 1px 20px -10px rgba(23, 25, 30, 0.1);
}

.logo { display: flex; align-items: center; }
.logo-img {
  height: 44px;
  width: auto;
  display: block;
  transition: transform 0.4s var(--ease);
}
.logo:hover .logo-img { transform: scale(1.03); }
.nav.scrolled .logo-img { height: 36px; }

.nav-links { display: flex; gap: 40px; }
.nav-links a {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
  transition: color 0.25s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%; right: 50%;
  bottom: -4px;
  height: 1px;
  background: var(--tan);
  transition: left 0.3s var(--ease), right 0.3s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { left: 0; right: 0; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease);
}

/* ---------- Buttons ---------- */
.btn-hero, .btn-hero-ghost, .btn-see {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 16px 34px;
  transition: all 0.3s var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-hero {
  background: #fff;
  color: var(--ink);
}
.btn-hero:hover { background: var(--tan); color: #fff; }
.btn-hero .btn-arrow {
  width: 16px; height: 16px;
  transition: transform 0.3s var(--ease);
}
.btn-hero:hover .btn-arrow { transform: translateX(4px); }

.btn-hero-ghost {
  color: #fff;
  border-color: rgba(255,255,255,0.55);
  background: transparent;
  padding: 16px 32px;
}
.btn-hero-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}

.btn-see {
  background: transparent;
  color: var(--ink);
  padding: 12px 0;
  font-size: 11px;
  letter-spacing: 0.25em;
  border-bottom: 1px solid var(--tan);
  border-radius: 0;
  align-self: flex-start;
}
.btn-see span { position: relative; }
.btn-see::after {
  content: "→";
  margin-left: 4px;
  transition: transform 0.3s var(--ease);
}
.btn-see:hover { color: var(--tan); }
.btn-see:hover::after { transform: translateX(6px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 72px 100px;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  will-change: opacity, transform;
}
.hero-slide-1 { animation: heroSlide1 14s infinite ease-in-out; }
.hero-slide-2 { animation: heroSlide2 14s infinite ease-in-out; }

/* When there is only ONE slide (e.g. Kingston Hill is unpublished),
   skip the crossfade and just do a slow zoom. */
.hero-bg-single .hero-slide {
  animation: heroZoom 18s ease-out forwards;
  opacity: 1;
}
@keyframes heroZoom {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}

/* Cross-fade between two slides, each with subtle ken-burns zoom */
@keyframes heroSlide1 {
  0%        { opacity: 1; transform: scale(1); }
  42%       { opacity: 1; transform: scale(1.06); }
  50%, 92%  { opacity: 0; transform: scale(1.06); }
  100%      { opacity: 1; transform: scale(1); }
}
@keyframes heroSlide2 {
  0%, 42%   { opacity: 0; transform: scale(1); }
  50%       { opacity: 1; transform: scale(1); }
  92%       { opacity: 1; transform: scale(1.06); }
  100%      { opacity: 0; transform: scale(1.06); }
}
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(12,15,22,0.68) 0%, rgba(12,15,22,0.35) 55%, rgba(12,15,22,0.1) 100%),
    linear-gradient(180deg, rgba(12,15,22,0.3) 0%, transparent 40%, rgba(12,15,22,0.6) 100%);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  margin-bottom: 30px;
}
.eyebrow-line {
  width: 40px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

.hero h1 {
  font-size: clamp(46px, 7vw, 92px);
  color: #fff;
  margin-bottom: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 40px rgba(0,0,0,0.3);
}
.hero h1 em {
  color: var(--gold);
  font-style: italic;
  font-weight: 400;
}

.hero p {
  font-size: 17px;
  max-width: 560px;
  margin-bottom: 44px;
  color: rgba(255,255,255,0.9);
  line-height: 1.75;
}

.hero-cta-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}

.scroll-indicator {
  position: absolute;
  left: 72px;
  bottom: 44px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.scroll-line {
  width: 80px;
  height: 1px;
  background: rgba(255,255,255,0.2);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: "";
  position: absolute;
  top: 0; left: -30%;
  width: 30%;
  height: 100%;
  background: var(--gold);
  animation: scrollHint 2.6s ease-in-out infinite;
}
@keyframes scrollHint {
  0% { left: -30%; }
  100% { left: 100%; }
}

/* ---------- The Developer ---------- */
.developer {
  padding: 140px 56px;
  max-width: 1320px;
  margin: 0 auto;
}
.developer-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 100px;
  align-items: center;
}

.dev-img-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
}
.dev-img {
  position: absolute; inset: 0;
  background-image: url("assets/developer.jpg");
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-lg);
}
.dev-img-badge {
  position: absolute;
  right: -36px;
  bottom: -36px;
  background: #fff;
  padding: 28px 36px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-md);
  border-left: 2px solid var(--tan);
}
.badge-num {
  font-family: var(--serif-display);
  font-size: 54px;
  line-height: 1;
  color: var(--ink);
  font-weight: 500;
}
.badge-num sup { font-size: 0.6em; color: var(--tan); font-weight: 400; }
.badge-label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-mute);
  line-height: 1.5;
  font-weight: 500;
}

.dev-copy h2 {
  font-size: clamp(38px, 4.5vw, 58px);
  margin-bottom: 0;
  color: var(--ink);
}
.dev-copy p {
  color: var(--ink-soft);
  font-size: 16px;
  margin-bottom: 20px;
  line-height: 1.85;
}
.dev-copy p:last-child { margin-bottom: 0; }
.dev-copy strong { color: var(--ink); font-weight: 600; }

/* ---------- Vision & Mission ---------- */
.vision {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: 140px 72px;
  color: #fff;
  overflow: hidden;
}
.vision-bg {
  position: absolute; inset: 0;
  background-image: url("assets/vision-kinabalu.jpg");
  background-size: cover;
  background-position: center;
  animation: slowPan 30s linear infinite alternate;
}
@keyframes slowPan {
  from { transform: scale(1.02) translateX(-1%); }
  to   { transform: scale(1.08) translateX(1%); }
}
.vision-shade {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,14,22,0.75) 0%, rgba(10,14,22,0.35) 65%, transparent 100%);
}
.vision-inner {
  position: relative;
  max-width: 640px;
  z-index: 2;
}

.vision h2 {
  font-size: clamp(40px, 5vw, 64px);
  margin-bottom: 0;
  color: #fff;
  font-weight: 500;
}

.vision p {
  font-size: 16px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 18px;
  line-height: 1.85;
}
.vision strong { color: #fff; font-weight: 600; }

/* ---------- Developments ---------- */
.developments {
  max-width: 1320px;
  margin: 0 auto;
  padding: 140px 56px;
}

.dev-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}

.dev-card {
  display: flex;
  flex-direction: column;
}

.dev-photo-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin-bottom: 26px;
}
.dev-photo {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s var(--ease);
}
.dev-card:hover .dev-photo { transform: scale(1.06); }

.dev-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(23, 25, 30, 0.65) 100%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 24px;
  pointer-events: none;
}
.dev-overlay span {
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 500;
  transform: translateY(10px);
  transition: transform 0.45s var(--ease);
}
.dev-card:hover .dev-overlay { opacity: 1; }
.dev-card:hover .dev-overlay span { transform: translateY(0); }

.photo-new-world { background-image: url("assets/project-new-world.jpg"); }
.photo-eaton     { background-image: url("assets/project-eaton.jpg"); }
.photo-kingston  { background-image: url("assets/project-kingston.jpg"); }

.dev-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.dev-tag {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--tan);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 10px;
  position: relative;
  padding-left: 24px;
}
.dev-tag::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 16px;
  height: 1px;
  background: var(--tan);
}

.dev-card h3 {
  font-size: 26px;
  color: var(--ink);
  margin-bottom: 6px;
  font-weight: 500;
  line-height: 1.2;
}

.dev-loc {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink-soft);
  font-style: italic;
  margin-bottom: 22px;
}

/* ---------- Stats strip ---------- */
.stats {
  position: relative;
  color: #fff;
  overflow: hidden;
  display: block;
}
.stats-img {
  display: block;
  width: 100%;
  height: auto;
}
.stats-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,14,22,0.55) 0%, rgba(10,14,22,0.7) 100%);
  pointer-events: none;
}
.stats-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 72px;
}
.stats-grid {
  width: 100%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

.stat {
  padding-left: 30px;
  border-left: 1px solid rgba(255,255,255,0.2);
}
.stat:first-child { border-left: none; padding-left: 0; }

.stat h3 {
  font-size: clamp(26px, 2.6vw, 36px);
  margin-bottom: 12px;
  color: #fff;
  font-weight: 500;
  line-height: 1.15;
}
.stat .stat-num {
  font-family: var(--serif-display);
  color: var(--gold);
  font-size: clamp(56px, 5vw, 78px);
  line-height: 1;
  margin-bottom: 12px;
  font-weight: 500;
}

.stat-label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.stat p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
}

/* ---------- Updates ---------- */
.updates {
  max-width: 1320px;
  margin: 0 auto;
  padding: 140px 56px;
}

.updates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.update-card {
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  overflow: hidden;
}
.update-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.update-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s var(--ease);
}
.update-card:hover .update-photo { transform: scale(1.04); }

.photo-update-1 { background-image: url("assets/update-shareda.jpg"); }
.photo-update-2 { background-image: url("assets/update-propex.jpg"); background-position: top center; }
.photo-update-3 { background-image: url("assets/update-style.jpg"); }

.update-body-wrap {
  padding: 28px 28px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.update-date {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--tan);
  text-transform: uppercase;
  font-weight: 500;
}

.update-body {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.7;
  font-family: var(--serif);
  font-size: 17px;
}

/* ---------- Contact ---------- */
.contact {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  min-height: 640px;
  background: var(--bg-alt);
}

.contact-inner {
  padding: 120px 56px 120px 72px;
}

.contact-inner h2 {
  font-size: clamp(40px, 4.5vw, 58px);
  margin-bottom: 0;
}

.contact-inner .section-lead {
  max-width: 500px;
  margin-bottom: 56px;
}

.contact-cols {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 48px;
}

.contact-label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
  margin-bottom: 18px;
}

.contact-col p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 14px;
}

.contact-col .addr { max-width: 280px; }

.contact-line a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  transition: color 0.25s var(--ease);
}
.contact-line svg { width: 15px; height: 15px; color: var(--tan); flex: none; }
.contact-line a:hover { color: var(--tan); }

.hours {
  list-style: none;
}
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 13.5px;
}
.hours li:last-child { border-bottom: none; }
.hours li span:first-child { color: var(--ink); font-weight: 500; }
.hours li span:last-child { color: var(--ink-soft); }

.contact-social { display: flex; flex-direction: column; gap: 14px; }

.foot-logo { display: flex; align-items: center; margin-bottom: 14px; }
.foot-logo img { height: 34px; width: auto; display: block; }

.social {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.social a {
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  transition: all 0.25s var(--ease);
}
.social a:hover {
  color: #fff;
  background: var(--tan);
  border-color: var(--tan);
  transform: translateY(-2px);
}
.social svg { width: 16px; height: 16px; }

.contact-img {
  background-image: url("assets/contact-corridor.jpg");
  background-size: cover;
  background-position: center;
  min-height: 520px;
}

/* ---------- Footer ---------- */
footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.6);
  padding: 28px 56px;
}

.foot-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

footer p {
  font-size: 12.5px;
  letter-spacing: 0.02em;
}

.back-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.back-top:hover { color: var(--gold); }
.back-top svg { width: 14px; height: 14px; }

/* ========================================================= */
/* ---------- Project detail page (/projects/<slug>) ------- */
/* ========================================================= */
.project-page { background: var(--bg); }

.project-hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  padding: 140px 72px 80px;
  color: #fff;
  overflow: hidden;
}
.project-hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  animation: heroZoom 18s ease-out forwards;
}
.project-hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,15,22,0.3) 0%, rgba(12,15,22,0.15) 45%, rgba(12,15,22,0.8) 100%);
}
.project-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}
.breadcrumb {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 28px;
  transition: color 0.2s;
}
.breadcrumb:hover { color: var(--gold); }

.project-hero-tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  font-weight: 500;
}
.project-hero h1 {
  font-size: clamp(42px, 7vw, 90px);
  color: #fff;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  max-width: 900px;
  text-shadow: 0 2px 40px rgba(0,0,0,0.35);
}
.project-hero-loc {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: rgba(255,255,255,0.85);
  margin-top: 16px;
}

/* Overview */
.project-overview {
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 56px;
}
.project-overview-inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 80px;
  align-items: start;
}
.project-meta {
  position: sticky;
  top: 120px;
  background: var(--bg-card);
  padding: 32px 30px;
  border-left: 2px solid var(--tan);
  box-shadow: var(--shadow-sm);
}
.project-meta h3 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
  margin-bottom: 18px;
}
.project-meta dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.project-meta dt {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-top: 14px;
  font-weight: 500;
}
.project-meta dd {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--ink);
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
}
.project-meta dd:last-of-type { border-bottom: none; }

.project-body .section-num { color: var(--tan); font-family: var(--sans); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; }
.project-body h2 {
  font-size: clamp(32px, 3.8vw, 48px);
  margin-bottom: 0;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.18;
}
.project-long { margin-top: 20px; }
.project-long p {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.project-features {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.project-features h3 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
  margin-bottom: 18px;
}
.project-features ul { list-style: none; }
.project-features li {
  padding: 10px 0 10px 28px;
  position: relative;
  font-size: 15.5px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line-soft);
}
.project-features li::before {
  content: "";
  position: absolute;
  left: 0; top: 20px;
  width: 14px; height: 1px;
  background: var(--tan);
}
.project-features li:last-child { border-bottom: none; }

/* Gallery */
.project-gallery {
  max-width: 1320px;
  margin: 0 auto;
  padding: 100px 56px;
}
.gallery-grid-page {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.gallery-tile {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gallery-tile:hover img { transform: scale(1.04); }

/* Other Projects */
.project-others {
  max-width: 1320px;
  margin: 0 auto;
  padding: 80px 56px 120px;
}

/* CTA */
.project-cta {
  text-align: center;
  padding: 100px 56px 140px;
  background: var(--bg-alt);
}
.project-cta h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  margin-bottom: 14px;
  color: var(--ink);
}
.project-cta p {
  color: var(--ink-soft);
  margin-bottom: 36px;
}
.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .project-hero { padding: 120px 24px 60px; min-height: 60vh; }
  .project-overview { padding: 72px 24px; }
  .project-overview-inner { grid-template-columns: 1fr; gap: 36px; }
  .project-meta { position: static; }
  .project-gallery, .project-others { padding: 60px 24px; }
  .gallery-grid-page { grid-template-columns: 1fr; }
  .project-cta { padding: 80px 24px 100px; }
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav { padding: 16px 24px; }
  .nav.scrolled { padding: 12px 24px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .hero { padding: 110px 24px 90px; min-height: 90vh; }
  .scroll-indicator { display: none; }
  .developer { padding: 90px 24px; }
  .developer-inner { grid-template-columns: 1fr; gap: 60px; }
  .dev-img-badge { right: auto; left: 20px; bottom: -28px; padding: 20px 24px; }
  .badge-num { font-size: 42px; }
  .vision { padding: 90px 24px; min-height: 500px; }
  .developments, .updates { padding: 90px 24px; }
  .dev-grid, .updates-grid { grid-template-columns: 1fr; gap: 48px; }
  .stats-inner { padding: 30px 24px; }
  .stats-grid { grid-template-columns: 1fr; gap: 30px; }
  .stat { border-left: none; padding-left: 0; border-top: 1px solid rgba(255,255,255,0.15); padding-top: 20px; }
  .stat:first-child { border-top: none; padding-top: 0; }
  .contact { grid-template-columns: 1fr; }
  .contact-inner { padding: 80px 24px; }
  .contact-cols { grid-template-columns: 1fr; gap: 36px; }
  .contact-img { min-height: 280px; }
  footer { padding: 20px 24px; }
  .foot-inner { justify-content: center; text-align: center; }
}

@media (max-width: 640px) {
  .hero h1 { font-size: 40px; }
  .hero p { font-size: 15px; }
  .section-head { margin-bottom: 52px; }
  .btn-hero, .btn-hero-ghost { padding: 14px 24px; font-size: 11px; }
  .hero-cta-row { flex-direction: column; align-items: stretch; }
  .stats-inner { padding: 40px 20px; }
  .stat h3 { font-size: 22px; }
}

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