/* ===== Brand fonts: MADE Mirage (primary) + Inter (secondary) ===== */
@font-face {
  font-family: "MADE Mirage";
  src: url("assets/fonts/MadeMirage-Thin.otf") format("opentype");
  font-weight: 200; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "MADE Mirage";
  src: url("assets/fonts/MadeMirage-Regular.otf") format("opentype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "MADE Mirage";
  src: url("assets/fonts/MadeMirage-Medium.otf") format("opentype");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "MADE Mirage";
  src: url("assets/fonts/MadeMirage-Bold.otf") format("opentype");
  font-weight: 600 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter-Light.woff2") format("woff2");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter-Medium.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter-SemiBold.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter-Bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  /* Eleven Eleven Developers brand palette */
  --green: #0B3B2F;      /* primary dark green */
  --green-2: #114A3B;    /* lifted green for panels */
  --gold: #E0AD20;       /* brand golden accent */
  --gold-dark: #BF9013;
  --cream: #FFFFFF;      /* base background (brand white) */
  --cream-2: #F3F6F3;    /* subtle green-tinted section bg */
  --navy: #0B3B2F;       /* alias -> green (all dark sections become green) */
  --navy-2: #114A3B;
  --ink: #24332E;        /* body text: deep green-charcoal */
  --muted: #5E6B64;      /* muted green-gray */
  --serif: "MADE Mirage", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Hide the native scrollbar — we use a custom rail (below) */
html { scrollbar-width: none; }
::-webkit-scrollbar { width: 0; height: 0; display: none; }

/* Custom scrollbar: gold bar inside a white rounded box/rail */
.scroll-rail {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 8px;
  background: #ffffff;
  border-left: 1px solid #e7e7db;
  z-index: 84;
}
.scroll-thumb {
  position: absolute;
  left: 1px;
  right: 1px;
  top: 2px;
  height: 60px;
  min-height: 40px;
  background: var(--gold);
  border-radius: 6px;
  cursor: grab;
  transition: background .2s ease;
}
.scroll-thumb:hover { background: var(--gold-dark); }
.scroll-thumb:active { cursor: grabbing; }
/* Touch devices scroll natively — hide the custom rail on mobile.
   !important overrides the inline display:block that script.js sets. */
@media (max-width: 1250px) { .scroll-rail { display: none !important; } }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { width: min(1200px, 90%); margin: 0 auto; }
.center { text-align: center; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-block;
  padding: 16px 42px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .3s ease;
  border: none;
  border-radius: 8px;
}
.btn-gold {
  background: var(--gold);
  color: #fff;
}
.btn-gold:hover { background: var(--gold-dark); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--gold);
}
.btn-outline:hover { background: var(--gold); color: #fff; }

/* ---------------- Brand / Logo ---------------- */
.brand { display: inline-flex; align-items: center; text-align: center; line-height: 1; }
.brand-logo { height: 64px; width: auto; display: block; }
.site-header.scrolled .brand-logo { height: 56px; }
.footer-brand .brand-logo { height: 56px; }
@media (max-width: 1250px) { .brand-logo { height: 52px; } }
.brand-name {
  display: block;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 6px;
  color: var(--gold);
}
.brand-name sup { font-size: 10px; top: -1em; }
.brand-sub {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 8px;
  color: var(--gold);
  margin-top: 4px;
}

/* ---------------- Header ---------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 120px;
  display: flex;
  align-items: center;
  transition: background .35s ease, box-shadow .35s ease;
}
.site-header.scrolled {
  background: var(--navy);
  box-shadow: 0 4px 24px rgba(0,0,0,.25);
}
.nav {
  width: min(1560px, 98%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 44px;
}
.nav-links { display: flex; gap: 38px; }
.nav-left { justify-content: flex-end; }
.nav-right { justify-content: flex-start; }
.nav-links a {
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .25s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }

/* Projects dropdown submenu (desktop: hover to reveal) */
.has-submenu { position: relative; }
.submenu {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 190px;
  padding: 12px 0;
  background: var(--navy);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .3);
  border-top: 2px solid var(--gold);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, transform .22s ease;
  z-index: 200;
}
.has-submenu:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.submenu li { margin: 0; }
.submenu a {
  display: block;
  padding: 9px 24px;
  font-size: 13px;
  letter-spacing: .8px;
  text-transform: none;
  white-space: nowrap;
}

/* Contact form status note */
.form-note {
  padding: 14px 18px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
}
.form-note.ok { background: #eaf3ea; color: #2e6b34; border: 1px solid #bcd9bd; }
.form-note.err { background: #fbeaea; color: #9a3232; border: 1px solid #e2b6b6; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  width: 26px; height: 2px; background: #fff; display: block;
}

/* ---------------- Floating contact ---------------- */
.floating-contact {
  position: fixed;
  right: 8px;                  /* flush against the scroll rail (rail width) */
  top: 50%;
  transform: translateY(-50%);
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.floating-contact a {
  width: 52px; height: 50px;
  padding-right: 6px;
  border-radius: 26px 0 0 26px;   /* rounded left, flush right */
  background: var(--gold);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: -4px 6px 16px rgba(0, 0, 0, .22);
  transition: padding-right .25s ease, background .25s ease;
}
.floating-contact a:hover { padding-right: 14px; background: var(--gold-dark); }

/* Back-to-top button */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  background: var(--gold);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  z-index: 95;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s ease, visibility .3s ease, transform .3s ease, background .25s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .22);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--gold-dark); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;
  animation: slowZoom 18s ease-in-out infinite alternate;
}
@keyframes slowZoom { from { transform: scale(1);} to { transform: scale(1.08);} }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,12,20,.55) 0%, rgba(10,12,20,.25) 40%, rgba(10,12,20,.5) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 0 20px; }
.hero-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3rem, 9vw, 8rem);
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 4px 30px rgba(0,0,0,.4);
}
.hero-tagline {
  margin: 26px auto 40px;
  max-width: 640px;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 400;
  letter-spacing: .3px;
}
.hero-dots {
  position: absolute;
  left: 40px; top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero-dots span {
  width: 9px; height: 9px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.8);
}
.hero-dots span.active { background: var(--gold); border-color: var(--gold); }

/* ---------------- Mission ---------------- */
.mission {
  padding: 150px 0;
  text-align: center;
  /* darkened misty-hills photo, fixed so it stays put while content scrolls over it */
  background:
    linear-gradient(rgba(11, 59, 47, .58), rgba(11, 59, 47, .58)),
    url('https://images.unsplash.com/photo-1470252649378-9c29740c9fa8?auto=format&fit=crop&w=1920&q=80')
    center / cover no-repeat fixed;
}
.mission-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.25;
  max-width: 900px;
  margin: 0 auto 32px;
  color: #fff;
}
.mission-text {
  max-width: 760px;
  margin: 0 auto 40px;
  color: rgba(255, 255, 255, .9);
  font-size: 1.05rem;
  font-weight: 400;
}
/* The "More About" button sits on a dark photo now — invert it for contrast */
.mission .btn-outline { border-color: rgba(255, 255, 255, .8); color: #fff; }
.mission .btn-outline:hover { background: #fff; color: var(--navy); border-color: #fff; }
/* iOS ignores background-attachment:fixed; fall back to a static cover there */
@supports (-webkit-touch-callout: none) {
  .mission { background-attachment: scroll; }
}
@media (max-width: 820px) {
  /* fixed backgrounds are janky on mobile and can leave a phantom right-gap where
     the fixed layer doesn't cover the element — use a normal scrolling cover */
  .mission { background-attachment: scroll; }
  /* the 8px scroll rail is hidden on mobile, so sit the contact rail flush to the edge */
  .floating-contact { right: 0; }
}

/* ---------------- Section shared ---------------- */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  text-align: center;
  margin-bottom: 20px;
}
.eyebrow-light { color: var(--gold); }
.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 3.6vw, 2.9rem);
  line-height: 1.3;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px;
  color: var(--navy);
}
.section-title.light { color: #fff; }

/* ---------------- Projects ---------------- */
.projects {
  padding: 120px 0;
  background: var(--cream-2);
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}
.project-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0,0,0,.12);
}
.project-img {
  height: 460px;
  background-size: cover;
  background-position: center;
  transition: transform .7s ease;
}
.project-card:hover .project-img { transform: scale(1.06); }
.project-info {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 34px;
  color: #fff;
  background: linear-gradient(0deg, rgba(10,12,20,.82) 0%, rgba(10,12,20,0) 100%);
}
.project-info h3 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 1px;
}
.project-info p {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  margin-top: 6px;
}
/* ---------------- Awards ---------------- */
.awards {
  padding: 120px 0;
  background: var(--navy);
  color: #fff;
}
.award-card {
  display: flex;
  align-items: center;
  gap: 30px;
  max-width: 820px;
  margin: 0 auto 60px;
  padding: 40px;
  border: 1px solid rgba(201,164,92,.35);
  background: var(--navy-2);
}
.award-icon {
  font-size: 3rem;
  color: var(--gold);
  flex-shrink: 0;
}
.award-card h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.award-card p { color: rgba(255,255,255,.7); font-size: .98rem; }


/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.75);
  padding-top: 80px;
}
/* Footer content spans nearly full width (no 1200px cap like other sections) */
.site-footer > .container,
.site-footer .footer-bottom > .container {
  width: min(1720px, 94%);
  max-width: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.7fr 1fr 1.2fr;
  gap: 70px;
  padding-bottom: 60px;
}
.footer-brand .brand-name { font-size: 26px; }
.footer-col h4 {
  color: #fff;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.35rem;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 26px;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { font-size: 14px; transition: color .25s ease; }
.footer-col a:hover { color: var(--gold); }
.footer-col p { font-size: 14px; line-height: 1.7; }
/* Quick Links as a two-column grid, filling row by row */
.footer-links {
  display: grid;
  grid-template-columns: max-content max-content;
  column-gap: 60px;
}
.footer-links a { white-space: nowrap; }
.footer-bottom {
  padding: 34px 0 44px;
  text-align: center;
}
.footer-copy { font-size: 14px; letter-spacing: .5px; color: rgba(255,255,255,.7); }
.socials { display: flex; gap: 16px; justify-content: center; margin-top: 26px; }
.socials a {
  width: 40px; height: 40px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: var(--gold);
  transition: all .25s ease;
}
.socials a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

/* ---------------- Responsive ---------------- */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1250px) {
  .nav { grid-template-columns: 1fr auto 1fr; }
  /* transparent over the hero at the top; the .scrolled state (added by JS past
     60px) fades in the navy background, matching desktop */
  .site-header { height: 88px; }

  /* Header bar layout (menu closed) — logo left, toggle right, full width with a
     clean margin so the toggle stays visible and tappable */
  .nav { grid-template-columns: auto 1fr; width: 100%; max-width: none; padding: 0 20px; }
  .brand      { grid-column: 1; justify-self: start; }
  .nav-toggle { display: flex; grid-column: 2; justify-self: end; z-index: 130; }

  /* Link lists are hidden until the menu opens */
  .nav-links { display: none; }

  /* OPEN: one full-screen overlay; both lists flow as a single centred,
     scrollable column — no gap between groups, every link clickable */
  .nav.open {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    background: var(--navy);
    z-index: 120;
    padding: 96px 24px 48px;
    overflow-y: auto;
  }
  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    position: static;
    width: auto;
    height: auto;
    background: none;
    padding: 0;
    box-shadow: none;
  }
  /* Projects becomes a tap-to-expand accordion (collapsed by default) */
  .nav.open .has-submenu { display: flex; flex-direction: column; align-items: center; gap: 0; }
  /* down-chevron after "Projects" that flips up when open */
  .nav.open .has-submenu > a::after {
    content: "";
    display: inline-block;
    width: 7px; height: 7px;
    margin-left: 12px;
    vertical-align: middle;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform .25s ease;
  }
  .nav.open .has-submenu.submenu-open > a::after { transform: translateY(2px) rotate(-135deg); }
  .nav.open .submenu {
    position: static;
    transform: none;
    visibility: visible;
    background: none;
    box-shadow: none;
    border-top: 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* collapsed by default */
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    gap: 0;
    padding: 0;
    transition: max-height .3s ease, opacity .25s ease, gap .3s ease, padding .3s ease;
  }
  .nav.open .has-submenu.submenu-open .submenu {
    max-height: 220px;
    opacity: 1;
    gap: 16px;
    padding: 18px 0 4px;
  }
  .nav.open .submenu a { padding: 0; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; color: rgba(255, 255, 255, .72); }
  .nav.open .brand { display: none; }
  /* the toggle stays pinned top-right as the close (X) button */
  .nav.open .nav-toggle { position: fixed; top: 30px; right: 26px; margin-right: 0; }

  /* hamburger animates into an X when the menu is open */
  .nav-toggle span { transition: transform .3s ease, opacity .2s ease; }
  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
/* Small-desktop range: horizontal nav is shown but tight — shrink type, spacing
   and gaps so all 8 links + logo fit without cutting off. Below 1200px the
   hamburger menu takes over instead. */
@media (min-width: 1251px) and (max-width: 1450px) {
  .nav { gap: 14px; }
  .nav-links { gap: 15px; }
  .nav-links a { font-size: 12px; letter-spacing: .2px; }
  .brand-logo { height: 46px; }
}
@media (max-width: 640px) {
  .project-grid { grid-template-columns: 1fr; }
  .mission, .projects, .awards { padding: 80px 0; }
  .hero-dots { display: none; }
  .award-card { flex-direction: column; text-align: center; }
  /* Footer: stack the columns so the 2-col Quick Links can't overflow the
     viewport (its long link labels won't shrink and were forcing a right gap) */
  .footer-grid { grid-template-columns: 1fr; text-align: left; gap: 32px; }
  .footer-links { justify-items: start; }
}

/* =====================================================
   INNER PAGES
   ===================================================== */

/* Light page head (matches kanai.co.in inner pages) */
.page-head {
  padding: 150px 0 40px;
  text-align: center;
  background: var(--cream);
}
.page-head .crumb {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 14px;
}
.page-head h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--navy);
}
.page-hero-img {
  width: min(1200px, 92%);
  margin: 0 auto 20px;
  height: clamp(260px, 42vw, 560px);
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  background-color: var(--cream-2);
}

/* Team / management — flip cards */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 44px;
  max-width: 1000px;
  margin: 0 auto;
}
.flip-card {
  perspective: 1400px;
  height: 460px;
}
.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform .8s cubic-bezier(.2, .7, .2, 1);
  transform-style: preserve-3d;
}
.flip-card:hover .flip-inner,
.flip-card:focus-within .flip-inner {
  transform: rotateY(180deg);
}
.flip-front,
.flip-back {
  position: absolute;
  inset: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 22px 46px rgba(0, 0, 0, .16);
}
.flip-front {
  background-size: cover;
  background-position: center top;
  background-color: var(--cream-2);
}
.flip-front .flip-name {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 28px 22px;
  color: #fff;
  background: linear-gradient(0deg, rgba(10,12,20,.8), rgba(10,12,20,0));
  opacity: 0;
  transition: opacity .3s ease;
}
.flip-card:hover .flip-front .flip-name { opacity: 0; }
.flip-front .flip-name span {
  display: block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  margin-top: 4px;
}
.flip-front .flip-name b { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; }
.flip-back {
  transform: rotateY(180deg);
  background: var(--navy);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px 40px;
  text-align: left;
}
.flip-back h3 {
  font-family: var(--serif);
  font-size: 1.7rem;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.flip-back .role {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 20px;
}
.flip-back p { color: rgba(255, 255, 255, .78); font-size: .95rem; line-height: 1.7; }
.flip-hint {
  position: absolute;
  top: 16px; right: 16px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
}

/* Values row (Integrity / Commitment / Trust) */
.values-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}
.value-pill { padding: 40px 24px; }
.value-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 30px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 6px var(--cream-2), 0 0 0 7px var(--gold);
  transition: transform .3s ease;
}
.value-pill:hover .value-icon { transform: translateY(-4px); }
.value-icon img { width: 54px; height: 54px; display: block; }
.value-pill h3 {
  font-family: var(--serif);
  color: var(--navy);
  font-size: 1.5rem;
  letter-spacing: .5px;
  transition: color .3s ease;
}
.value-pill:hover h3 { color: var(--gold); }

/* Green scorecard (Kanai Pledge) */
/* Kanai Pledge: big statement + hairline rules */
.soft-rule { border: 0; border-top: 1px solid #e6e2d6; margin: 0; }
.pledge-statement {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  line-height: 1.4;
  text-align: center;
  color: var(--navy);
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 0;
}
.center-title { text-align: center; margin-bottom: 50px; }
/* Green Scorecard — plain columns on a light background */
.scorecard {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.score { text-align: center; padding: 0; }
.score .sn { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); color: var(--gold); line-height: 1; }
.score .sn .su { font-size: .42em; color: var(--gold); margin-left: 6px; letter-spacing: .5px; vertical-align: baseline; }
.score .sl { text-transform: uppercase; letter-spacing: 1.5px; font-size: 11px; font-weight: 600; color: var(--muted); margin-top: 14px; }

/* Blog grid + sidebar (News & Blog) */
.blog-layout { display: grid; grid-template-columns: 1fr 340px; gap: 60px; align-items: start; }
.blog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 30px; }
.post-card { display: flex; flex-direction: column; }
.post-card .pc-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
/* inner layer inherits the inline background-image and scales on hover, so the
   rounded corners stay crisp while the photo zooms */
.post-card .pc-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform .6s ease;
}
.post-card:hover .pc-thumb::after { transform: scale(1.08); }
@media (prefers-reduced-motion: reduce) {
  .post-card .pc-thumb::after,
  .post-card:hover .pc-thumb::after { transition: none; transform: scale(1); }
}
.post-card .pc-title {
  margin: 20px 0 10px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.35rem;
  line-height: 1.4;
  color: var(--ink);
}
.post-card .pc-title a { color: inherit; transition: color .2s ease; }
.post-card .pc-title a:hover { color: var(--gold); }
.post-card .pc-date {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
}
/* Pill pagination */
.blog-pagination { display: flex; gap: 12px; justify-content: center; align-items: center; margin-top: 56px; }
.blog-pagination .pg {
  min-width: 40px; height: 40px; padding: 0 8px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid #d9ccb6; border-radius: 50px;
  color: var(--ink); font-size: 14px; font-weight: 500;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.blog-pagination .pg-edge { padding: 0 20px; }
.blog-pagination .pg.active,
.blog-pagination .pg:hover { background: var(--gold); color: #fff; border-color: var(--gold); }
/* Sidebar */
.blog-sidebar { position: sticky; top: 110px; }
.blog-search {
  display: flex; align-items: center;
  border: 1.5px solid var(--ink); border-radius: 8px;
  padding: 10px 18px 10px 22px; margin-bottom: 40px;
}
.blog-search input {
  flex: 1; border: 0; background: transparent; outline: none;
  font-family: var(--sans); font-size: 15px; color: var(--ink);
}
.blog-search input::placeholder { color: var(--muted); }
.blog-search button { background: none; border: 0; color: var(--gold); font-size: 16px; cursor: pointer; padding: 4px; }
.pop-heading {
  font-family: var(--serif); font-weight: 400;
  font-size: 1.4rem; text-transform: uppercase; color: var(--ink);
  margin-bottom: 26px;
}
.pop-list { list-style: none; }
.pop-list li { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid #d9d9d9; }
.pop-list li:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.pop-title {
  display: block; font-family: var(--serif); font-size: 1.1rem;
  line-height: 1.45; color: var(--ink); margin-bottom: 8px; transition: color .2s ease;
}
.pop-title:hover { color: var(--gold); }
.pop-date { font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); }

/* Single blog post */
.post-single .ps-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.8rem, 3.4vw, 2.5rem); line-height: 1.25;
  color: var(--ink); margin-bottom: 14px;
}
.post-single .ps-date {
  display: block; font-size: 13px; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--muted); margin-bottom: 30px;
}
.post-single .ps-hero {
  width: 100%; aspect-ratio: 4 / 3;
  background-size: cover; background-position: center;
  border-radius: 16px; margin-bottom: 34px;
}
.post-single .ps-body p {
  color: var(--muted); font-size: 1rem; line-height: 1.85; margin-bottom: 18px;
}
.post-single .ps-body p:last-child { margin-bottom: 0; }
.post-single .ps-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 30px;
  margin-top: 50px; padding-top: 34px; border-top: 1px solid #e6e2d6;
}
.ps-nav-item a {
  display: block; font-family: var(--serif); font-size: 1.1rem; line-height: 1.4;
  color: var(--ink); margin-bottom: 8px; transition: color .2s ease;
}
.ps-nav-item a:hover { color: var(--gold); }
.ps-nav-item .ps-nav-label {
  font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted);
}
.ps-nav .ps-next { text-align: right; }
@media (max-width: 640px) {
  .post-single .ps-nav { grid-template-columns: 1fr; gap: 24px; }
  .ps-nav .ps-next { text-align: left; }
}

/* Coming soon badge on villa cards */
.villa-card .soon {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  background: var(--gold); color: #fff;
  text-transform: uppercase; letter-spacing: 1.5px; font-size: 10px; font-weight: 700;
  padding: 6px 12px; border-radius: 2px;
}
.villa-card.disabled { cursor: default; }

@media (max-width: 980px) {
  .team-grid { grid-template-columns: 1fr; max-width: 480px; }
  .scorecard { grid-template-columns: repeat(2, 1fr); }
  .blog-layout { grid-template-columns: 1fr; gap: 50px; }
  .blog-sidebar { position: static; }
}
@media (max-width: 640px) {
  .values-row { grid-template-columns: 1fr; }
  .scorecard { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
}

/* Page banner */
.page-banner {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.page-banner .banner-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.page-banner .banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,12,20,.55), rgba(10,12,20,.6));
}
.page-banner .banner-content { position: relative; z-index: 2; padding: 120px 20px 0; }
.page-banner .crumb {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 18px;
}
.page-banner h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.page-banner p.lead {
  margin: 22px auto 0;
  max-width: 620px;
  font-size: 1.1rem;
  color: rgba(255,255,255,.85);
}

/* Generic section */
.section { padding: 110px 0; }
.section.tinted { background: var(--cream-2); }
.section.dark { background: var(--navy); color: #fff; }
.section.dark .section-title { color: #fff; }
.section-head { max-width: 780px; margin: 0 auto 64px; text-align: center; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section.dark .section-head p { color: rgba(255,255,255,.7); }

/* Two-column split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media {
  height: 480px;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  box-shadow: 0 24px 50px rgba(0,0,0,.15);
}
.split-text h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: 22px;
}
.section.dark .split-text h2 { color: #fff; }
.split-text p { color: var(--muted); margin-bottom: 18px; }
.section.dark .split-text p { color: rgba(255,255,255,.72); }
.split-text .btn { margin-top: 12px; }

/* Values / feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.feature-card {
  background: #fff;
  padding: 44px 40px;
  border: 1px solid #ececdf;
  transition: transform .3s ease, box-shadow .3s ease;
}
.section.tinted .feature-card { background: #fff; }
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,.08); }
/* On the dark initiatives section: hairline-bordered transparent cards, light text */
.section.dark .feature-card {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .18);
}
.section.dark .feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(224, 173, 32, .5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .25);
}
.section.dark .feature-card h3 { color: #fff; }
.section.dark .feature-card p { color: rgba(255, 255, 255, .72); }
.feature-icon {
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 20px;
  display: block;
}
.feature-card h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 12px;
}
.feature-card p { color: var(--muted); font-size: .97rem; }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stat .num {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--gold);
  line-height: 1;
}
.stat .label {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  margin-top: 12px;
}

/* Timeline */
.timeline { max-width: 820px; margin: 0 auto; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 120px; top: 0; bottom: 0;
  width: 1px;
  background: rgba(201,164,92,.4);
}
.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 40px;
  padding-bottom: 48px;
  position: relative;
}
.timeline-item .year {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--gold);
  text-align: right;
}
.timeline-item .body h3 {
  font-family: var(--serif);
  color: var(--navy);
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.timeline-item .body p { color: var(--muted); }
.timeline-item .body::before {
  content: "";
  position: absolute;
  left: 115px; top: 8px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--gold);
}

/* Projects listing grid — image with caption below */
.villa-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 46px 40px;
}
.villa-card {
  display: block;
  text-align: center;
}
.villa-card .villa-img {
  height: 300px;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .14);
  transition: transform .45s ease, box-shadow .45s ease;
}
.villa-card:hover .villa-img {
  transform: translateY(-6px);
  box-shadow: 0 26px 46px rgba(0, 0, 0, .2);
}
.villa-card .villa-cap { padding: 24px 8px 0; }
.villa-card .villa-cap h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--navy);
}
.villa-card .villa-cap span { display: none; }

/* Shine sweep on hover (left -> right) */
.villa-card:not(.soon) .villa-img,
.project-card .project-img,
.vd-gallery .g { position: relative; overflow: hidden; }
.villa-card:not(.soon) .villa-img::before,
.project-card .project-img::before,
.vd-gallery .g::before {
  content: "";
  position: absolute;
  top: 0;
  left: -85%;
  width: 60%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, .55) 50%,
    rgba(255, 255, 255, 0) 100%);
  transform: skewX(-20deg);
}
.villa-card:not(.soon):hover .villa-img::before,
.project-card:hover .project-img::before,
.vd-gallery .g:hover::before {
  animation: shine .85s ease;
}
@keyframes shine {
  0%   { left: -85%; }
  100% { left: 130%; }
}

/* Coming-soon card: bordered box, no image */
.villa-card.soon { cursor: default; }
.villa-card.soon .villa-img {
  background: transparent;
  border: 1px solid var(--gold);
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.villa-card.soon:hover .villa-img { transform: none; box-shadow: none; }
.villa-card.soon .villa-img span {
  font-family: var(--serif);
  font-size: 1.6rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
}

/* =============== HOME: AWARDS & ACCOLADES =============== */
.awards-block { background: var(--cream); }
.awards-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 60px;
  align-items: center;
}
.awards-intro .eyebrow { text-align: left; margin-bottom: 16px; }
.awards-intro .section-title { text-align: left; margin: 0 0 32px; }
.awards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
}
.award-item { margin: 0; }
.award-img {
  position: relative;
  overflow: hidden;
  height: 340px;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .12);
}
/* image layer inherits the inline background-image so it can scale independently */
.award-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  transition: transform .6s ease;
}
.award-item:hover .award-img::before { transform: scale(1); }
@media (prefers-reduced-motion: reduce) {
  .award-img::before,
  .award-item:hover .award-img::before { transition: none; transform: scale(1); }
}
.award-item figcaption {
  margin-top: 22px;
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--navy);
}
@media (max-width: 900px) {
  .awards-layout { grid-template-columns: 1fr; gap: 40px; }
  .awards-intro { text-align: center; }
  .awards-intro .eyebrow,
  .awards-intro .section-title { text-align: center; }
}
@media (max-width: 600px) {
  .awards-grid { grid-template-columns: 1fr; }
}

/* =============== DESIGN PHILOSOPHY =============== */
.vd-tagline {
  color: var(--muted);
  font-size: 14px;
  letter-spacing: .5px;
  margin-bottom: 22px;
}
.principles-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  align-items: start;
}
.principles-intro h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 16px;
}
.principles-intro p { color: var(--muted); font-size: .98rem; }
.principles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  /* the last row's gold faces sit translated ~100px below the grid box at rest;
     reserve that space plus a comfortable gap before the footer */
  margin-bottom: 120px;
}
/* Two stacked panels: at rest the gold face sits pushed down over the white
   detail, which is parked behind it. Hover slides both to 0, so the detail
   drops out below — overlapping the row beneath, hence the z-index lift. */
.principle-card {
  position: relative;
  cursor: pointer;
  height: 200px;
}
.principle-card::before {
  content: "";
  position: absolute;
  inset: 8px 0 0;
  width: 100%;
  height: 220px;
  background: rgba(0, 0, 0, .01);
  filter: blur(19px);
  opacity: 0;
  transition: opacity .5s ease, height .5s ease;
}
.principle-card:hover { z-index: 3; }
.principle-card:hover::before { opacity: 1; height: 100%; }
/* Gold face — icon + title */
.pc-face {
  position: relative;
  height: 195px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px;
  text-align: center;
  color: #fff;
  background: var(--gold);
  border-bottom: 3px solid var(--cream);
  z-index: 1;
  transform: translateY(100px);
  transition: transform .5s ease, background .5s ease, border-color .5s ease;
}
.principle-card:hover .pc-face {
  transform: translateY(0);
  background: var(--gold-dark);
  border-color: var(--gold-dark);
}
.pc-face i { font-size: 2rem; color: #fff; }
.pc-face h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: .5px;
  color: #fff;
}
/* White detail — parked exactly behind the face (same height, offset by the
   face's own translate), so nothing peeks out at rest; slides down on hover */
.pc-detail {
  position: relative;
  height: 195px;
  background: #fff;
  color: var(--muted);
  padding: 20px;
  font-size: .88rem;
  line-height: 1.5;
  overflow: auto;
  transform: translateY(-95px);
  transition: transform .5s ease, box-shadow .5s ease;
}
.principle-card:hover .pc-detail {
  transform: translateY(0);
  box-shadow: 0 5px 28px rgba(0, 0, 0, .12);
}
@media (max-width: 820px) {
  .principles-layout { grid-template-columns: 1fr; gap: 34px; }
  .principles-intro { text-align: center; }
  /* reveal is disabled here, so cards no longer overflow — drop the reserved space */
  .principles-grid { margin-bottom: 0; }
}
@media (max-width: 480px) {
  .principles-grid { grid-template-columns: 1fr; }
}
/* Hover-driven, so below the breakpoint show both panels outright */
@media (max-width: 820px), (hover: none) {
  .principle-card { height: auto; }
  .pc-face,
  .pc-detail,
  .principle-card:hover .pc-face,
  .principle-card:hover .pc-detail { transform: none; }
  .pc-detail { height: auto; box-shadow: 0 5px 28px rgba(0, 0, 0, .12); }
  .principle-card::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pc-face, .pc-detail, .principle-card::before { transition: none; }
}

/* =============== SINGLE PROJECT (villa detail) =============== */
.vd-head { max-width: 820px; margin: 0 auto 10px; text-align: center; }
.vd-head h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--navy);
}
.vd-region {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  margin: 10px 0 24px;
}
.vd-intro { color: var(--muted); font-size: 1rem; line-height: 1.8; }
.vd-intro .hl { color: var(--gold); font-weight: 600; }
.vd-intro b { color: var(--navy); }
.vd-award { color: var(--navy); font-weight: 600; margin-top: 16px; font-size: .98rem; }

/* Tabs */
.vd-tabs {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0;
  margin: 50px auto 40px;
  max-width: 900px;
}
.vd-tab {
  background: var(--navy);
  color: #fff;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .5px;
  padding: 13px 26px;
  border-radius: 5px 5px 0 0;
  transition: background .25s ease;
}
.vd-tab:hover { background: var(--navy-2); }
.vd-tab.active { background: var(--gold); }
/* Mobile dropdown alternative to the button tabs — hidden on desktop */
.vd-tab-select {
  display: none;
  width: 100%;
  max-width: 900px;
  margin: 40px auto 40px;
  padding: 14px 18px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--navy);
  border: 1px solid var(--gold);
  border-radius: 8px;
  cursor: pointer;
  /* custom gold chevron */
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23E0AD20' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
}
.vd-tab-select option { color: var(--ink); background: #fff; }
.vd-panel { display: none; }
.vd-panel.active { display: block; }

/* Layout Plan enquiry modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, .55);
}
.modal-overlay.open { display: flex; }
.modal-box {
  position: relative;
  width: min(560px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 14px;
  padding: 44px 46px 48px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .3);
}
.modal-close {
  position: absolute;
  top: 20px; right: 24px;
  background: none;
  border: 0;
  font-size: 28px;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
  transition: color .2s ease;
}
.modal-close:hover { color: var(--gold); }
.modal-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.6rem;
  color: var(--ink);
  margin-bottom: 34px;
  padding-right: 30px;
}
.modal-form { display: flex; flex-direction: column; gap: 30px; }
.modal-form input {
  border: 0;
  border-bottom: 1px solid var(--gold);
  border-radius: 0;
  padding: 8px 2px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  background: transparent;
  outline: none;
  transition: border-color .2s ease;
}
.modal-form input::placeholder { color: #797978; }
.modal-form input:focus { border-bottom-color: var(--gold-dark); }
.modal-submit {
  align-self: center;
  margin-top: 12px;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 14px 46px;
  border-radius: 8px;
  letter-spacing: 1px;
}
.modal-submit:hover { background: var(--gold); color: #fff; }
.vd-placeholder {
  text-align: center;
  color: var(--muted);
  padding: 70px 20px;
  border: 1px dashed #d8d8cc;
  border-radius: 12px;
  font-size: 1.05rem;
}

/* Gallery grid */
.vd-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.vd-gallery .g {
  height: 165px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .1);
  transition: transform .4s ease;
}
.vd-gallery .g:hover { transform: translateY(-4px); }
.vd-gallery .g.more { cursor: pointer; }
.vd-gallery .g.more::after {
  content: "Click here for more images";
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 20, .55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 13px;
  letter-spacing: .5px;
  padding: 10px;
}

/* Feature badges */
.vd-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
  margin: 90px auto 70px;
  max-width: 900px;
}
.circle-badge {
  width: 94px;
  height: 94px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 5px var(--cream), 0 0 0 6px var(--gold);
}
.vd-feature h4 {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--navy);
}

/* Brochure */
.vd-brochure {
  max-width: 440px;
  margin: 0 auto;
  border: 1px dashed var(--gold);
  border-radius: 8px;
  padding: 34px 30px;
  text-align: center;
}
.vd-brochure .pdf { font-size: 1.7rem; color: var(--gold); display: block; margin-bottom: 12px; }
.vd-brochure span {
  letter-spacing: 2px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--navy);
}

@media (max-width: 820px) {
  .vd-gallery { grid-template-columns: 1fr; }
  .vd-features { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  /* swap the button tabs for a dropdown on mobile */
  .vd-tabs { display: none; }
  .vd-tab-select { display: block; }
}

/* Project detail spec list */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 10px;
}
.spec {
  border: 1px solid #e6e6d8;
  padding: 26px 22px;
  text-align: center;
}
.spec .k { text-transform: uppercase; letter-spacing: 1.5px; font-size: 11px; color: var(--muted); font-weight: 600; }
.spec .v { font-family: var(--serif); font-size: 1.5rem; color: var(--navy); margin-top: 8px; }
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery .g-item { height: 260px; background-size: cover; background-position: center; }
.gallery .g-item.wide { grid-column: span 2; }

/* Contact page */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 70px;
}
.contact-card {
  text-align: center;
  padding: 44px 30px;
  border: 1px solid #ececdf;
  background: #fff;
}
.contact-card .ic { font-size: 2rem; color: var(--gold); margin-bottom: 16px; display: block; }
.contact-card h3 { font-family: var(--serif); color: var(--navy); font-size: 1.3rem; margin-bottom: 10px; }
.contact-card a, .contact-card p { color: var(--muted); font-size: .97rem; display: block; }
.contact-card a:hover { color: var(--gold); }
.map-embed { width: 100%; height: 420px; border: 0; border-radius: 16px; filter: grayscale(.2); }

/* =============== CONTACT PAGE: careers + twin enquiry forms =============== */
.careers-block { text-align: center; max-width: 780px; margin: 0 auto 60px; }
.careers-block .section-title { margin-bottom: 20px; }
.careers-block p { color: var(--muted); line-height: 1.9; }
.careers-block a { color: var(--gold); }
.careers-block a:hover { color: var(--gold-dark); }
.contact-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 320px));
  justify-content: center;
  gap: 40px;
  text-align: center;
}
.contact-meta-col h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 14px;
}
.contact-meta-col p { color: var(--muted); font-size: .97rem; line-height: 1.9; }
.contact-meta-col a { color: var(--muted); }
.contact-meta-col a:hover { color: var(--gold); }
.contact-rule { border: 0; border-top: 1px solid #e6e2d6; margin: 50px 0; }
/* Twin forms, split by a vertical rule on desktop */
.enquiry-forms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}
.enquiry-col + .enquiry-col {
  border-left: 1px solid #e6e2d6;
  padding-left: 70px;
}
.enquiry-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  line-height: 1.25;
  /* reserve two lines so both columns' fields start on the same baseline,
     whichever heading wraps */
  min-height: 2.5em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 34px;
}
/* Underline-style fields */
.underline-form { display: flex; flex-direction: column; gap: 26px; }
.uf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.underline-form input,
.underline-form select,
.underline-form textarea {
  width: 100%;
  padding: 6px 2px;
  border: 0;
  border-bottom: 1px solid var(--gold);
  border-radius: 0;
  background: transparent;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color .25s ease;
}
.underline-form textarea { resize: vertical; min-height: 46px; }
.underline-form input::placeholder,
.underline-form textarea::placeholder { color: #797978; }
.underline-form select { color: #797978; }
.underline-form select:valid { color: var(--ink); }
.underline-form input:focus,
.underline-form select:focus,
.underline-form textarea:focus { border-bottom-color: var(--gold-dark); }
.underline-form .btn { align-self: flex-start; margin-top: 12px; border-radius: 8px; }
.underline-form .form-note { margin-bottom: 0; }
@media (max-width: 900px) {
  .enquiry-forms { grid-template-columns: 1fr; gap: 50px; }
  .enquiry-col + .enquiry-col { border-left: 0; padding-left: 0; }
}
@media (max-width: 560px) {
  .contact-meta { grid-template-columns: 1fr; gap: 30px; }
  .uf-row { grid-template-columns: 1fr; }
}

/* Utility */
.prose { max-width: 800px; margin: 0 auto; }
.prose p { color: var(--muted); margin-bottom: 20px; font-size: 1.05rem; }
.prose h2 {
  font-family: var(--serif); color: var(--navy);
  font-size: 2rem; margin: 40px 0 18px;
}
.mt-40 { margin-top: 40px; }
.center-btn { text-align: center; margin-top: 60px; }

@media (max-width: 980px) {
  .feature-grid, .villa-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-media { order: 0; }
  .contact-cards { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .feature-grid, .villa-grid, .gallery { grid-template-columns: 1fr; }
  .gallery .g-item.wide { grid-column: span 1; }
  .timeline::before { left: 6px; }
  .timeline-item { grid-template-columns: 1fr; gap: 6px; padding-left: 30px; }
  .timeline-item .year { text-align: left; }
  .timeline-item .body::before { left: 0; }
  .section { padding: 70px 0; }
}
