/* ============================================================
   OTIA — shared styles for standalone pages (about / contact / projects)
   ============================================================ */

:root {
  --brand-brown: #6b4a3a;        /* primary accent */
  --brand-brown-dark: #523319;   /* deep brown / wordmark */
  --brand-tan: #a07d66;          /* warm tan (ticker) */
  --brand-brown-light: #d6c2a8;  /* light sand */
  --page-bg: #ffffff;
  --ink: #1a1a1a;
  --ink-soft: #666666;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--page-bg);
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  overflow-x: hidden;
}

h1, h2, h3, .serif { font-family: "Playfair Display", serif; }

/* Playfair defaults to old-style figures (2, 3, 4, 7, 9 sit low/small).
   Force lining figures so numbers align with the caps. */
h1, h2, h3, .serif, .fact-num, .fp-body h3, .who-h2, .values-h2, .page-hero h1 {
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
}

a { color: inherit; }

.eyebrow {
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--brand-brown);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ---------- Nav (matches homepage: fixed, transparent → white on scroll) ---------- */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  height: 84px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 5vw;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
}

.site-nav.nav-scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid rgba(82, 51, 25, 0.18);
}

.site-nav-links {
  grid-column: 2;
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 40px;
}

.site-nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.92;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
  transition: opacity 0.2s ease, color 0.3s ease, text-shadow 0.3s ease;
}

.site-nav-links a:hover { opacity: 1; }

.site-nav.nav-scrolled .site-nav-links a { color: rgba(0, 0, 0, 0.82); text-shadow: none; }
.site-nav.nav-scrolled .site-nav-links a:hover { color: var(--brand-brown); }

.nav-logo-link {
  grid-column: 3;
  justify-self: end;
  display: block;
  width: 130px;
  height: 65px;
}

.nav-logo-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* ---------- Nav dropdown (Projects) ---------- */

.nav-dd {
  position: relative;
  display: inline-flex;
  align-items: center;
  /* Vertical padding is the hover "bridge": it sits BELOW the link (not over
     it), so the cursor can reach the menu without the link losing hover, and
     the link itself stays fully clickable. */
  padding: 14px 0;
}

.nav-dd > a::after {
  content: "\25BE";
  font-size: 9px;
  margin-left: 7px;
  opacity: 0.7;
}

.nav-dd-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 220px;
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(107, 74, 58, 0.15);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.14);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 600;
}


.nav-dd:hover .nav-dd-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.site-nav-links .nav-dd-menu a {
  display: block;
  padding: 12px 24px;
  white-space: nowrap;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.75);
  text-decoration: none;
  text-shadow: none;
  opacity: 1;
  transition: background 0.25s ease, color 0.25s ease, padding-left 0.25s ease;
}

.site-nav-links .nav-dd-menu a:hover {
  background: rgba(107, 74, 58, 0.08);
  color: var(--brand-brown);
  padding-left: 30px;
}

/* ---------- Page hero banner ---------- */

.page-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 90px 6vw;
}

/* Full-bleed image at full brightness — no dimming, no gradient (like the index hero). */
.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* "Fit" variant — shows the WHOLE image (no cropping), with a blurred copy of
   the same image filling the sides so there are no empty letterbox bars.
   Set the image URL with the --hero-bg custom property on the section. */
.page-hero--fit::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
  filter: blur(34px) brightness(0.62) saturate(1.05);
  transform: scale(1.15);
}

.page-hero--fit > img {
  object-fit: contain;
  z-index: 1;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  padding: 56px 90px;
  /* Localized dark glow behind the text only — keeps the image clean but readable. */
  background: radial-gradient(ellipse at center,
    rgba(10, 10, 10, 0.6) 0%,
    rgba(10, 10, 10, 0.3) 55%,
    transparent 78%);
}

/* Left-aligned hero content (text + glow sit on the left, off a centered subject). */
.page-hero--left { justify-content: flex-start; text-align: left; }
.page-hero--left .page-hero-inner { max-width: 640px; padding: 56px 70px; }
.page-hero.page-hero--left .eyebrow { justify-content: flex-start; }
.page-hero--left .proj-meta { justify-content: flex-start; }

@media (max-width: 600px) {
  .page-hero--left .page-hero-inner { padding: 40px 28px; }
}

.page-hero .eyebrow {
  justify-content: center;
  color: var(--brand-brown-light);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

.page-hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.55), 0 1px 4px rgba(0, 0, 0, 0.45);
}

.page-hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--brand-brown-light);
}

.page-hero p {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: clamp(15px, 1.8vw, 20px);
  color: #ffffff;
  margin: 18px 0 0;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.55);
}

/* ---------- Ticker ---------- */

.ticker {
  background: var(--brand-tan);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
  z-index: 10;
  width: 100%;
}

.ticker-inner {
  display: inline-flex;
  white-space: nowrap;
  animation: tickerMove 40s linear infinite;
  will-change: transform;
}

.ticker-item {
  font-family: "Bebas Neue", sans-serif;
  font-size: 15px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #000000;
  padding: 0 22px;
  display: flex;
  align-items: center;
}

.ticker-item::after {
  content: "◆";
  margin-left: 44px;
  opacity: 0.5;
  color: var(--brand-brown-dark);
}

@keyframes tickerMove {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* ---------- Animated divider line ---------- */

.gold-line {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(107, 74, 58, 0.4) 30%, var(--brand-brown) 50%, rgba(107, 74, 58, 0.4) 70%, transparent);
  position: relative;
  overflow: hidden;
}

.gold-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: -30%;
  width: 30%;
  height: 100%;
  background: linear-gradient(to right, transparent, var(--brand-brown-light), transparent);
  animation: lineSwoop 4s ease-in-out infinite;
}

@keyframes lineSwoop {
  0%, 100% { left: -30%; }
  50% { left: 100%; }
}

/* ---------- Footer (slim white bar) ---------- */

.site-footer {
  background: #f8f7f5;
  border-top: 1px solid rgba(107, 74, 58, 0.2);
  padding: 22px 60px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 30px;
}

.footer-brand {
  flex: 1;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.12em;
  color: var(--brand-brown-dark);
  text-decoration: none;
}

.footer-links {
  flex: 2;
  display: flex;
  gap: 36px;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.45);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--brand-brown); }

.footer-copy {
  flex: 1;
  text-align: right;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(0, 0, 0, 0.4);
}

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Vision & Mission ---------- */

.vm-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 110px 6vw;
}

.vm-head {
  text-align: center;
  margin-bottom: 64px;
}

.vm-head .eyebrow { justify-content: center; }

.vm-head h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
}

.vm-head h2 em { font-style: italic; font-weight: 400; color: var(--brand-brown); }

.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.mv-block h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

.mv-block h2 em { font-style: italic; font-weight: 400; color: var(--brand-brown); }

.mv-block .eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--brand-brown);
}

.mv-block p {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--ink-soft);
  margin: 0 0 18px;
  max-width: 52ch;
}

.mv-block p:last-child { margin-bottom: 0; }

/* ---------- Split (image + text) ---------- */

.mission-vision {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.mv-image, .mv-text { flex: 1 1 480px; min-width: 320px; }

.mv-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
}

.mv-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 9vh 6vw;
}

/* ---------- Values ---------- */

.values-section { padding: 110px 6vw; background: #ffffff; position: relative; overflow: hidden; }

.values-bg-text {
  font-family: "Bebas Neue", sans-serif;
  font-size: 280px;
  letter-spacing: 0.05em;
  color: rgba(0, 0, 0, 0.03);
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
  line-height: 1;
}

.values-inner { position: relative; z-index: 1; }
.values-header { text-align: center; margin-bottom: 72px; }
.values-header .eyebrow { justify-content: center; }

.values-h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 900;
  color: var(--ink);
  margin: 0;
}

.values-h2 em { font-style: italic; font-weight: 400; color: var(--brand-brown); }

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

.val-card { text-align: center; transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
.val-card:hover { transform: translateY(-10px); }

.val-circle {
  width: 170px; height: 170px; border-radius: 50%;
  margin: 0 auto 26px;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  position: relative;
  transition: border-color 0.5s ease, box-shadow 0.5s ease;
  display: flex; align-items: center; justify-content: center;
  background: #f5ede6; overflow: hidden;
}

.val-circle::before {
  content: ""; position: absolute; inset: -2px; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent, var(--brand-brown), transparent, transparent);
  opacity: 0; transition: opacity 0.5s;
}

.val-card:hover .val-circle::before { opacity: 1; animation: valSpin 4s linear infinite; }
@keyframes valSpin { to { transform: rotate(360deg); } }

.val-circle::after {
  content: ""; position: absolute; inset: 3px; border-radius: 50%;
  background: radial-gradient(circle at center, #f5ede6 0%, #eeddd2 100%);
  z-index: 0;
}

.val-circle svg { width: 78px; height: 78px; position: relative; z-index: 1; transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); }
.val-card:hover .val-circle svg { transform: scale(1.1); }
.val-card:hover .val-circle { border-color: var(--brand-brown); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15); }

.val-name { font-family: "Bebas Neue", sans-serif; font-size: 23px; letter-spacing: 0.22em; color: var(--ink); margin-bottom: 12px; }
.val-desc { font-size: 13.5px; line-height: 1.75; color: var(--ink-soft); max-width: 240px; margin: 0 auto; }

/* ---------- Contact ---------- */

.contact-section {
  padding: 100px 60px 90px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  background: #ffffff;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: 100px; bottom: 60px; left: 50%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(107, 74, 58, 0.4), rgba(107, 74, 58, 0.6), rgba(107, 74, 58, 0.4), transparent);
}

.ci-block { padding: 0 52px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.ci-block:first-child { padding-left: 0; }
.ci-block:last-child { padding-right: 0; }

.ci-icon {
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid rgba(107, 74, 58, 0.6);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; position: relative;
}

.ci-icon::before { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid rgba(107, 74, 58, 0.2); }
.ci-icon svg { width: 22px; height: 22px; stroke: var(--brand-brown); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.ci-label { font-family: "Bebas Neue", sans-serif; font-size: 13px; letter-spacing: 0.38em; color: var(--brand-brown); margin-bottom: 18px; }
.ci-value { font-size: clamp(15px, 1.5vw, 19px); font-weight: 400; color: #1a1a1a; line-height: 1.7; letter-spacing: 0.01em; }
.ci-value a { color: inherit; text-decoration: none; transition: color 0.3s; }
.ci-value a:hover { color: var(--brand-brown); }
.ci-value strong { font-weight: 600; color: #000000; }

/* ---------- Map ---------- */

.map-section { position: relative; height: 520px; overflow: hidden; }
.map-section iframe { width: 100%; height: 100%; border: none; filter: grayscale(0.4) contrast(0.95); }
.map-section::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(to right, transparent, var(--brand-brown), transparent); z-index: 1; }

.map-card {
  position: absolute; left: 60px; top: 50%; transform: translateY(-50%); z-index: 2;
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(107, 74, 58, 0.25);
  padding: 36px 40px; min-width: 320px;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}

.map-card-label { font-family: "Bebas Neue", sans-serif; font-size: 12px; letter-spacing: 0.38em; color: var(--brand-brown-light); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.map-card-label::before { content: ""; width: 20px; height: 1px; background: var(--brand-brown-light); }
.map-card-addr { font-size: 15px; font-weight: 300; line-height: 1.75; color: rgba(255, 255, 255, 0.78); margin-bottom: 20px; }
.map-card-link { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--brand-brown-light); text-decoration: none; transition: gap 0.3s; }
.map-card-link:hover { gap: 14px; }
.map-card-link svg { width: 14px; height: 14px; stroke: var(--brand-brown-light); fill: none; stroke-width: 2; }

/* ---------- Projects ---------- */

.projects-section { max-width: 1300px; margin: 0 auto; padding: 100px 6vw; }

.projects-intro { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.projects-intro .eyebrow { justify-content: center; }
.projects-intro h2 { font-family: "Playfair Display", serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--ink); margin: 0 0 18px; }
.projects-intro h2 em { font-style: italic; font-weight: 400; color: var(--brand-brown); }
.projects-intro p { font-size: 1.05rem; font-weight: 300; line-height: 1.8; color: var(--ink-soft); margin: 0; }

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

.project-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #eee5dd;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  color: #fff;
}

.project-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.project-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15, 9, 3, 0.82) 0%, rgba(15, 9, 3, 0.1) 55%, transparent 100%); }
.project-card:hover img { transform: scale(1.06); }

.project-card-body { position: relative; z-index: 2; padding: 28px; }
.project-tag { font-family: "Bebas Neue", sans-serif; font-size: 12px; letter-spacing: 0.28em; color: var(--brand-brown-light); margin-bottom: 8px; }
.project-title { font-family: "Playfair Display", serif; font-size: 1.5rem; font-weight: 700; margin: 0; }

.projects-empty {
  text-align: center;
  border: 1px dashed rgba(107, 74, 58, 0.3);
  border-radius: 4px;
  padding: 80px 24px;
  color: var(--ink-soft);
  font-size: 1.05rem;
  font-weight: 300;
}

/* ============================================================
   Project detail page
   ============================================================ */

/* Hero meta row (beds / price / status under the title) */
.proj-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 26px;
  margin-top: 24px;
}

.proj-meta span {
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: #ffffff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.proj-status {
  font-family: "Bebas Neue", sans-serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  background: var(--brand-brown);
  color: #ffffff;
  padding: 5px 15px;
  text-shadow: none;
}

/* Shared centered section header */
.sec-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
}

.sec-head .eyebrow { justify-content: center; }

.sec-head h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

.sec-head h2 em { font-style: italic; font-weight: 400; color: var(--brand-brown); }

.sec-head p {
  font-size: 1.02rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--ink-soft);
  margin: 0;
}

/* Key facts bar */
.proj-facts {
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 6vw;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 44px 72px;
  text-align: center;
}

.proj-facts > div { min-width: 130px; }

.fact-num {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--brand-brown);
  line-height: 1;
}

.fact-label {
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 10px;
}

/* Highlights grid */
.hl-section { max-width: 1200px; margin: 0 auto; padding: 100px 6vw; }

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

.hl-card {
  border: 1px solid rgba(107, 74, 58, 0.16);
  background: #fff;
  padding: 34px 30px;
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.hl-card:hover { box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08); transform: translateY(-4px); }
.hl-card .hl-ic { width: 40px; height: 40px; stroke: var(--brand-brown); fill: none; stroke-width: 1.5; margin-bottom: 16px; }
.hl-card h3 { font-family: "Playfair Display", serif; font-size: 1.25rem; color: var(--ink); margin: 0 0 10px; }
.hl-card p { font-size: 0.95rem; line-height: 1.7; color: var(--ink-soft); margin: 0; font-weight: 300; }

/* Amenities icon grid */
.amen-section { background: #fff; padding: 100px 6vw; }
.amen-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 44px 24px; }
.amen-item { text-align: center; transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
.amen-item:hover { transform: translateY(-8px); }
.amen-icon {
  width: 66px; height: 66px; margin: 0 auto 16px; border-radius: 50%;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  background: #f5ede6;
  overflow: hidden;
  transition: border-color 0.5s ease, box-shadow 0.5s ease;
}
/* Spinning conic ring on hover (same effect as the Values circles) */
.amen-icon::before {
  content: ""; position: absolute; inset: -2px; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent, var(--brand-brown), transparent, transparent);
  opacity: 0; transition: opacity 0.5s;
}
.amen-item:hover .amen-icon::before { opacity: 1; animation: valSpin 4s linear infinite; }
.amen-icon::after {
  content: ""; position: absolute; inset: 2px; border-radius: 50%;
  background: radial-gradient(circle at center, #f5ede6 0%, #eeddd2 100%);
  z-index: 0;
}
.amen-icon svg {
  width: 30px; height: 30px; stroke: var(--brand-brown); fill: none; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
  position: relative; z-index: 1;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.amen-item:hover .amen-icon svg { transform: scale(1.12); }
.amen-item:hover .amen-icon { border-color: var(--brand-brown); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12); }
.amen-item span { font-family: "DM Sans", sans-serif; font-size: 13px; letter-spacing: 0.04em; color: var(--ink); }

/* Floor plans */
.fp-section { max-width: 1200px; margin: 0 auto; padding: 100px 6vw; }
.fp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.fp-card { border: 1px solid rgba(107, 74, 58, 0.16); background: #fff; overflow: hidden; }
.fp-figure { position: relative; background: #faf8f6; perspective: 1100px; overflow: hidden; }
.fp-figure img { transition: transform 0.15s ease; will-change: transform; }
.fp-figure.is-zoomed img { transition: none; }

/* interaction cursors */
.fp-figure.is-zoomed { cursor: grab; }
.fp-figure.is-panning { cursor: grabbing; }

/* hint chip */
.fp-figure.is-3d::after,
.fp-figure.is-zoomed::after {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 3;
  background: rgba(10, 10, 10, 0.6);
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 11px;
  border-radius: 2px;
  pointer-events: none;
}
.fp-figure.is-3d::after { content: "Move cursor to tilt"; }
.fp-figure.is-zoomed::after { content: "Drag to pan"; }

/* zoom controls */
.fp-zoom {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 4;
  display: inline-flex;
  flex-direction: column;
  border: 1px solid rgba(107, 74, 58, 0.3);
  border-radius: 3px;
  overflow: hidden;
  background: #fff;
}
.fp-zoom button {
  border: none;
  background: #fff;
  color: var(--brand-brown);
  width: 32px;
  height: 32px;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.fp-zoom button:hover { background: var(--brand-brown); color: #fff; }
.fp-zoom button + button { border-top: 1px solid rgba(107, 74, 58, 0.3); }
.fp-card img { width: 100%; height: 300px; object-fit: contain; background: #faf8f6; display: block; padding: 14px; }
.fp-body { padding: 16px 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid rgba(107, 74, 58, 0.12); }
.fp-body h3 { font-family: "Playfair Display", serif; font-size: 1.05rem; margin: 0; color: var(--ink); }
.fp-toggle { display: inline-flex; border: 1px solid rgba(107, 74, 58, 0.3); border-radius: 2px; overflow: hidden; }
.fp-t {
  border: none; background: #fff; cursor: pointer;
  font-family: "Bebas Neue", sans-serif; font-size: 13px; letter-spacing: 0.12em;
  color: var(--brand-brown); padding: 6px 14px; transition: background 0.25s ease, color 0.25s ease;
}
.fp-t + .fp-t { border-left: 1px solid rgba(107, 74, 58, 0.3); }
.fp-t.active { background: var(--brand-brown); color: #fff; }
.fp-dl { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand-brown); text-decoration: none; white-space: nowrap; }
.fp-dl:hover { text-decoration: underline; }

/* Floor plan rows — image left (full plan), details right */
.fp-list { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 40px; }
.fp-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  border: 1px solid rgba(107, 74, 58, 0.16);
  background: #fff;
  overflow: hidden;
}
.fp-row .fp-figure {
  position: relative;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  min-height: 460px;
}
.fp-row .fp-figure img {
  width: 100%;
  height: 100%;
  max-height: 460px;
  object-fit: contain;
  display: block;
  padding: 0;
}
.fp-row .fp-toggle { position: absolute; top: 16px; right: 16px; z-index: 2; }
.fp-info {
  padding: 44px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #faf8f6;
}
.fp-info h3 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  color: var(--ink);
  margin: 0 0 22px;
}
.fp-specs { display: flex; flex-wrap: wrap; gap: 32px; margin-bottom: 24px; }
.fp-spec { display: flex; flex-direction: column; gap: 5px; }
.fp-spec-label { font-family: "DM Sans", sans-serif; font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brand-brown); }
.fp-spec-val { font-family: "Playfair Display", serif; font-size: 1.25rem; color: var(--ink); }
.fp-info p { font-size: 0.98rem; line-height: 1.75; color: var(--ink-soft); font-weight: 300; margin: 0; }

@media (max-width: 860px) {
  .fp-row { grid-template-columns: 1fr; }
  .fp-row .fp-figure { min-height: 340px; }
  .fp-row .fp-figure img { max-height: 340px; }
  .fp-info { padding: 32px 28px; }
}

/* Location distance stats */
.loc-stats {
  max-width: 1000px;
  margin: 0 auto;
  padding: 80px 6vw 44px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px 64px;
  text-align: center;
}
.loc-stats > div { min-width: 120px; }

/* Nearby landmarks / accessibility list */
.loc-nearby {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 6vw 70px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 64px;
}
.loc-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(107, 74, 58, 0.14);
}
.loc-name { color: var(--ink); font-size: 0.98rem; }
.loc-time { color: var(--brand-brown); font-weight: 600; font-size: 0.9rem; white-space: nowrap; }

@media (max-width: 700px) {
  .loc-nearby { grid-template-columns: 1fr; }
}

/* Gallery */
.gallery-section { padding: 100px 6vw; }
.gallery-grid { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery-grid a { overflow: hidden; display: block; }
.gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: #eee5dd; transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.gallery-grid a:hover img { transform: scale(1.06); }

/* Register interest form */
.register-section { background: #faf8f6; padding: 100px 6vw; }
.register-inner { max-width: 780px; margin: 0 auto; }
.reg-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 40px; }
.reg-form .full { grid-column: 1 / -1; }
.reg-form input, .reg-form select, .reg-form textarea {
  width: 100%; padding: 14px 16px; border: 1px solid rgba(107, 74, 58, 0.25);
  background: #fff; font-family: "DM Sans", sans-serif; font-size: 14px; color: var(--ink);
  transition: border-color 0.3s ease;
}
.reg-form input:focus, .reg-form select:focus, .reg-form textarea:focus { outline: none; border-color: var(--brand-brown); }
.reg-form textarea { min-height: 110px; resize: vertical; }
.reg-btn {
  grid-column: 1 / -1; justify-self: start;
  background: var(--brand-brown); color: #fff; border: none; cursor: pointer;
  font-family: "DM Sans", sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; padding: 16px 40px;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}
.reg-btn:hover { background: var(--brand-brown-dark); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(107, 74, 58, 0.3); }
.reg-btn:disabled { opacity: 0.6; cursor: default; transform: none; box-shadow: none; }
.reg-status { font-family: "DM Sans", sans-serif; font-size: 0.9rem; }
.reg-status:empty { display: none; }
.reg-error { color: #b00020; }
.reg-success { font-family: "Playfair Display", serif; font-size: 1.2rem; color: var(--brand-brown); line-height: 1.6; padding: 12px 0; }

@media (max-width: 1000px) {
  .proj-facts { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .hl-grid { grid-template-columns: repeat(2, 1fr); }
  .amen-grid { grid-template-columns: repeat(3, 1fr); }
  .fp-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .proj-facts { grid-template-columns: repeat(2, 1fr); }
  .hl-grid, .fp-grid, .gallery-grid { grid-template-columns: 1fr; }
  .amen-grid { grid-template-columns: repeat(2, 1fr); }
  .loc-stats { grid-template-columns: 1fr; gap: 36px; }
  .reg-form { grid-template-columns: 1fr; }
}

/* ---------- CTA band ---------- */

.cta-band { background: var(--brand-brown); color: #fff; text-align: center; padding: 90px 6vw; }
.cta-band .eyebrow { justify-content: center; color: var(--brand-brown-light); }
.cta-band h2 { font-family: "Playfair Display", serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; margin: 0 0 26px; }
.cta-band h2 em { font-style: italic; font-weight: 400; color: var(--brand-brown-light); }
.cta-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: var(--brand-brown-dark);
  font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  text-decoration: none; padding: 16px 38px;
  transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25); background: var(--brand-brown-light); }

/* ---------- Responsive (shared chrome) ---------- */

@media (max-width: 1000px) {
  .vm-grid { grid-template-columns: 1fr; gap: 44px; }
  .contact-section { grid-template-columns: 1fr; gap: 56px; padding: 80px 32px 70px; }
  .contact-section::before { display: none; }
  .ci-block { padding: 0; }
  .map-card { left: 24px; right: 24px; min-width: 0; }
  .vals-grid { grid-template-columns: repeat(2, 1fr); gap: 48px 30px; }
  .val-circle { width: 150px; height: 150px; }
  .val-circle svg { width: 66px; height: 66px; }
  .values-bg-text { font-size: 200px; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .mv-image, .mv-text { flex-basis: 100%; min-width: 0; }
  .mv-text { padding: 56px 24px; }
  .mv-image img { min-height: 300px; }
  .map-section { height: 380px; }
  .map-card { padding: 26px 24px; }
}

/* ---------- Responsive (shared chrome) ---------- */

@media (max-width: 900px) {
  .site-nav { height: 68px; padding: 0 20px; }
  .site-nav-links { gap: 22px; }
  .site-nav-links a { font-size: 11px; letter-spacing: 0.06em; }
  .nav-logo-link { width: 104px; height: 52px; }
}

@media (max-width: 600px) {
  .site-nav-links { gap: 16px; }
  .site-nav-links a { font-size: 10px; }
  .nav-logo-link { width: 44px; height: 22px; }
  .ticker-item { font-size: 13px; padding: 0 16px; }
  .ticker-item::after { margin-left: 32px; }
  .site-footer { padding: 32px 24px; }
  .footer-grid { flex-direction: column; gap: 20px; text-align: center; }
  .footer-brand, .footer-links, .footer-copy { flex: none; justify-content: center; text-align: center; }
  .footer-links { flex-wrap: wrap; gap: 16px; }
  .vals-grid { grid-template-columns: 1fr; gap: 44px; }
  .values-bg-text { font-size: 130px; }
  .values-section { padding: 84px 24px; }
  .projects-grid { grid-template-columns: 1fr; }
  .page-hero { min-height: 100vh; min-height: 100svh; padding: 70px 22px; }
  .page-hero-inner { padding: 40px 34px; }
}

/* ---------- Gallery lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(12, 9, 6, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.open { opacity: 1; visibility: visible; }

.lightbox-img {
  max-width: 88vw;
  max-height: 84vh;
  object-fit: contain;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6);
  user-select: none;
  -webkit-user-drag: none;
}

.lb-close, .lb-prev, .lb-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
  z-index: 2;
}

.lb-close:hover, .lb-prev:hover, .lb-next:hover {
  background: var(--brand-brown);
  border-color: var(--brand-brown);
}

.lb-close { top: 26px; right: 26px; font-size: 20px; line-height: 1; }
.lb-prev { left: 26px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 26px; top: 50%; transform: translateY(-50%); }
.lb-prev svg, .lb-next svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.lb-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.72);
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
}

@media (max-width: 600px) {
  .lb-prev { left: 12px; }
  .lb-next { right: 12px; }
  .lb-close { top: 14px; right: 14px; }
  .lb-prev, .lb-next, .lb-close { width: 42px; height: 42px; }
}
