/* ============================================================
   ROBARCO LIVING — SITE STYLES
   Built on the design-system tokens (assets/ds/styles.css).
   Components reproduced per the Robarco Living brand spec:
   forest / gold / cream heritage palette, Cormorant Garamond
   + Inter, restrained architectural radii, soft forest shadows.
   ============================================================ */

@import url('ds/styles.css');
@import url('features.css');

/* ---------- Base ---------- */
body {
  color: var(--text-body);
  background: var(--surface-page);
}
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  font-weight: var(--weight-light);
  margin: 0;
  letter-spacing: var(--tracking-display);
  line-height: var(--leading-snug);
  text-wrap: balance;
}
p { text-wrap: pretty; }
.serif-italic-gold { font-style: italic; color: var(--color-gold); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--space-xl);
  padding-right: var(--space-xl);
}
.container--narrow { max-width: var(--max-width-narrow); }

.section { padding: var(--space-4xl) 0; }
.section--tight { padding: var(--space-3xl) 0; }
.section--cream { background: var(--surface-cream); }
.section--forest {
  background: var(--surface-inverse);
  color: var(--text-on-inverse);
}
.section--forest h1, .section--forest h2, .section--forest h3 { color: var(--color-cream); }

/* ---------- Eyebrow ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-caption);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-gold);
  margin: 0 0 var(--space-md);
  display: block;
}
.eyebrow--light { color: var(--color-gold-light); }

/* ---------- Section header ---------- */
.section-head { text-align: center; max-width: 720px; margin: 0 auto var(--space-3xl); }
.section-head h2 { font-size: var(--text-h2); margin-bottom: var(--space-md); }
.section-head p { font-size: var(--text-body-lg); color: var(--text-body); margin: 0; line-height: var(--leading-relaxed); }
.section--forest .section-head p { color: var(--text-on-inverse-muted); }
.section-head--left { text-align: left; margin-left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-weight: var(--weight-medium);
  font-size: 13px;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  padding: 16px 36px;
  line-height: 1;
  border: 1.5px solid transparent;
  transition: all var(--transition-base);
}
.btn--sm { padding: 11px 24px; font-size: 11px; }
.btn--lg { padding: 20px 48px; font-size: 14px; }
.btn--block { width: 100%; }
.btn .arrow { transition: transform var(--transition-fast); }
.btn:hover .arrow { transform: translateX(3px); }

.btn--primary { background: var(--color-forest); color: var(--color-cream); border-color: var(--color-forest); }
.btn--primary:hover { background: var(--color-forest-dark); border-color: var(--color-forest-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn--secondary { background: transparent; color: var(--color-forest); border-color: var(--color-forest); }
.btn--secondary:hover { background: var(--color-forest); color: var(--color-cream); }

.btn--gold { background: var(--color-gold); color: var(--color-white); border-color: var(--color-gold); }
.btn--gold:hover { background: var(--color-gold-dark); border-color: var(--color-gold-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn--ghost { background: transparent; color: var(--color-gold); border-color: var(--color-gold); }
.btn--ghost:hover { background: var(--color-gold); color: var(--color-white); }

.btn--on-forest { background: transparent; color: var(--color-cream); border-color: rgba(249,243,240,0.4); }
.btn--on-forest:hover { background: var(--color-cream); color: var(--color-forest); border-color: var(--color-cream); }

.btn--text {
  background: none; border: none; padding: 0; border-radius: 0;
  color: var(--color-gold); border-bottom: 1px solid transparent;
}
.btn--text:hover { border-bottom-color: var(--color-gold); }

/* ---------- Badge ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: var(--weight-semibold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: var(--color-gold);
  color: var(--color-white);
}
.badge--forest { background: var(--color-forest); color: var(--color-cream); }
.badge--burgundy { background: var(--color-burgundy); color: var(--color-white); }
.badge--cream { background: var(--color-cream); color: var(--color-forest); }
.badge--outline { background: transparent; color: var(--color-gold); border: 1px solid var(--color-gold); }

/* ---------- Per-project accent themes ----------
   Identity stays forest + gold. Each project page sets <body data-theme="…">
   which maps the gold accent role to ANOTHER BRAND-KIT colour (forest or
   burgundy) on the light sections, with a matching logo mark. Dark / forest
   surfaces always keep the brand gold, so contrast and the green+gold feel
   are preserved. No new colours are introduced — only Brand Kit values. */
body[data-theme="forest"] {
  --color-gold:       var(--color-forest);
  --color-gold-dark:  var(--color-forest-dark);
  --color-gold-light: var(--color-forest-light);
  --focus-ring:       rgba(52, 72, 70, 0.18);
}
body[data-theme="burgundy"] {
  --color-gold:       var(--color-burgundy);
  --color-gold-dark:  var(--color-burgundy-hover);
  --color-gold-light: var(--color-burgundy-hover);
  --focus-ring:       rgba(140, 51, 51, 0.18);
}
/* Dark surfaces keep the brand gold regardless of the project theme. */
.section--forest, .cta-band, .footer {
  --color-gold:       #96734A;
  --color-gold-dark:  #7D5E3A;
  --color-gold-light: #B8956A;
}

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px var(--space-xl);
  background: rgba(42,58,56,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(184,149,106,0.20);
}
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav__brand svg path { fill: var(--color-gold-light); transition: fill var(--transition-base); }
.nav__wordmark {
  font-family: var(--font-heading); font-weight: var(--weight-regular);
  font-size: 20px; letter-spacing: var(--tracking-logo); text-transform: uppercase;
  color: var(--color-cream); line-height: 1;
}
.nav__links { display: flex; align-items: center; gap: var(--space-lg); list-style: none; margin: 0; padding: 0; }
.nav__link {
  position: relative;
  font-family: var(--font-body); font-size: 13px; font-weight: var(--weight-regular);
  letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(249,243,240,0.80); text-decoration: none; padding-bottom: 4px;
  transition: color var(--transition-fast);
}
.nav__link::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--color-gold-light); transition: width var(--transition-base);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--color-cream); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { width: 100%; }
.nav__toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  color: var(--color-cream); overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg, rgba(42,58,56,0.78) 0%, rgba(42,58,56,0.40) 36%, rgba(42,58,56,0.08) 66%, rgba(42,58,56,0) 100%),
    linear-gradient(to bottom, rgba(42,58,56,0.12) 0%, transparent 32%, rgba(42,58,56,0.42) 100%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; padding-top: 64px; padding-bottom: 64px; }
.hero h1 { color: var(--color-cream); font-size: var(--text-display-xl); line-height: var(--leading-tight); max-width: 14ch; }
.hero p { color: rgba(249,243,240,0.85); font-size: var(--text-body-lg); max-width: 52ch; margin: var(--space-lg) 0 var(--space-2xl); line-height: var(--leading-relaxed); }
.hero .eyebrow { color: var(--color-gold-light); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-md); }
.hero--compact { min-height: 52vh; }
.hero--compact h1 { font-size: var(--text-display-lg); }

/* ---------- Image placeholder (honest, per brand) ---------- */
.ph {
  position: relative; overflow: hidden;
  background-color: var(--color-warm-beige);
  background-image: repeating-linear-gradient(
    135deg,
    transparent 0, transparent 14px,
    rgba(52,72,70,0.05) 14px, rgba(52,72,70,0.05) 15px
  );
  display: flex; align-items: center; justify-content: center;
}
.ph__label {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--color-text-light);
  background: rgba(249,243,240,0.7);
  padding: 6px 12px; border-radius: var(--radius-sm);
}
.ph--serif .ph__label {
  font-family: var(--font-heading); font-style: italic; text-transform: none;
  font-size: 16px; letter-spacing: 0; background: transparent; color: var(--color-text-light);
}
.ph--dark { background-color: var(--color-forest-light); background-image: repeating-linear-gradient(135deg, transparent 0, transparent 14px, rgba(0,0,0,0.06) 14px, rgba(0,0,0,0.06) 15px); }

/* ---------- Project card ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }
.cards-grid--2 { grid-template-columns: repeat(2, 1fr); }
.project-card {
  display: flex; flex-direction: column;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--surface-card);
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: var(--shadow-sm);
  text-decoration: none; color: inherit;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.project-card__media { position: relative; height: 260px; }
.project-card__media .ph { position: absolute; inset: 0; }
.project-card__media::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 80px; z-index: 1;
  background: linear-gradient(transparent, rgba(52,72,70,0.3));
}
.project-card__badge { position: absolute; top: 16px; left: 16px; z-index: 2; }
.project-card__body { padding: var(--space-lg); display: flex; flex-direction: column; flex: 1; }
.project-card__loc {
  font-family: var(--font-body); font-size: 12px; font-weight: var(--weight-medium);
  letter-spacing: 2px; text-transform: uppercase; color: var(--color-gold); margin-bottom: var(--space-sm);
}
.project-card__title { font-size: var(--text-h4); font-weight: var(--weight-regular); margin-bottom: var(--space-sm); letter-spacing: 0; }
.project-card__desc { font-size: 14px; color: var(--text-body); margin: 0 0 var(--space-md); line-height: var(--leading-normal); }
.project-card__stats {
  display: flex; flex-wrap: wrap; gap: var(--space-lg);
  padding-top: var(--space-md); margin-top: auto;
  border-top: 1px solid var(--color-cream-dark);
  font-family: var(--font-body); font-size: 12px; color: var(--color-text-light);
}
.project-card__stats strong { color: var(--color-forest); font-weight: var(--weight-semibold); }

/* ---------- Feature card ---------- */
.feature-card {
  background: var(--surface-cream); border-radius: var(--radius-lg);
  padding: var(--space-xl); border: 1px solid rgba(0,0,0,0.03);
  transition: background var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}
.feature-card:hover { background: var(--color-white); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feature-card__icon { color: var(--color-gold); margin-bottom: var(--space-md); }
.feature-card h3 { font-size: var(--text-h4); font-weight: var(--weight-regular); margin-bottom: var(--space-sm); letter-spacing: 0; }
.feature-card p { font-size: 15px; color: var(--text-body); margin: 0; line-height: var(--leading-relaxed); }
.section--forest .feature-card { background: var(--color-forest-dark); border-color: var(--border-on-inverse); }
.section--forest .feature-card:hover { background: rgba(255,255,255,0.04); }
.section--forest .feature-card p { color: var(--text-on-inverse-muted); }

/* ---------- Stat row ---------- */
.statrow { display: flex; flex-wrap: wrap; gap: var(--space-4xl); }
.stat__value { font-family: var(--font-heading); font-weight: var(--weight-light); font-size: var(--text-h1); color: var(--color-forest); line-height: 1; letter-spacing: var(--tracking-display); }
.section--forest .stat__value { color: var(--color-gold-light); }
.stat__label { font-family: var(--font-body); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--color-text-light); margin-top: var(--space-sm); }
.section--forest .stat__label { color: var(--text-on-inverse-muted); }

/* ---------- Pricing / unit table ---------- */
.unit-table { width: 100%; border-collapse: collapse; font-family: var(--font-body); font-size: 15px; }
.unit-table thead th {
  text-align: left; font-size: 11px; font-weight: var(--weight-semibold);
  letter-spacing: 2px; text-transform: uppercase; color: var(--color-gold);
  padding: 0 var(--space-md) var(--space-md); border-bottom: 1px solid var(--color-warm-beige);
}
.unit-table tbody td { padding: var(--space-md); border-bottom: 1px solid var(--color-cream-dark); color: var(--text-strong); vertical-align: middle; }
.unit-table tbody tr:hover { background: var(--color-cream); }
.unit-table .u-type { font-family: var(--font-heading); font-size: 20px; color: var(--color-forest); }
.unit-table .u-price { font-family: var(--font-heading); font-size: 20px; color: var(--color-forest); white-space: nowrap; }
.unit-table .num { font-variant-numeric: tabular-nums; }
.u-status { font-size: 11px; font-weight: var(--weight-semibold); letter-spacing: 1px; text-transform: uppercase; }
.u-status--available { color: var(--color-forest-light); }
.u-status--reserved { color: var(--color-gold-dark); }
.u-status--sold { color: var(--color-text-light); text-decoration: line-through; }

/* ---------- Floor plan blocks ---------- */
.floorplan-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-xl); }
.floorplan {
  background: var(--color-white); border: 1px solid var(--color-cream-dark);
  border-radius: var(--radius-lg); overflow: hidden;
}
.floorplan__img { position: relative; aspect-ratio: 4 / 3; }
.floorplan__img .ph { position: absolute; inset: 0; }
.floorplan__meta { padding: var(--space-lg); display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-md); }
.floorplan__meta h4 { font-size: var(--text-h4); font-weight: var(--weight-regular); letter-spacing: 0; }
.floorplan__meta .spec { font-family: var(--font-body); font-size: 13px; color: var(--text-body); }

/* ---------- Detail layout ---------- */
.detail-hero { position: relative; width: 100%; aspect-ratio: 16 / 9; height: auto; max-height: 92vh; min-height: 480px; display: flex; align-items: flex-end; color: var(--color-cream); overflow: hidden; }
.detail-hero .ph { position: absolute; inset: 0; }
.detail-hero__overlay { position: absolute; inset: 0; background: linear-gradient(transparent 30%, rgba(42,58,56,0.85)); z-index: 1; }
.detail-hero__inner { position: relative; z-index: 2; width: 100%; padding-bottom: var(--space-3xl); }
.detail-hero h1 { color: var(--color-cream); font-size: var(--text-display-lg); margin: var(--space-md) 0 var(--space-sm); }
.detail-hero .loc { font-family: var(--font-body); font-size: 14px; letter-spacing: 1px; color: rgba(249,243,240,0.85); display: flex; align-items: center; gap: 8px; }

.detail-grid { display: grid; grid-template-columns: 1fr 360px; gap: var(--space-4xl); align-items: start; }
.lede { font-family: var(--font-heading); font-weight: var(--weight-light); font-size: 26px; line-height: var(--leading-snug); color: var(--color-forest); margin: 0 0 var(--space-lg); }
.prose p { font-size: var(--text-body-lg); line-height: var(--leading-relaxed); color: var(--text-body); margin: 0 0 var(--space-lg); }
.spec-list { list-style: none; margin: var(--space-lg) 0 0; padding: 0; display: grid; gap: var(--space-md); }
.spec-list li { display: flex; align-items: flex-start; gap: var(--space-md); font-size: 15px; color: var(--text-strong); }
.spec-list .ic { color: var(--color-gold); flex: none; margin-top: 2px; }

/* Sticky aside */
.aside-card {
  position: sticky; top: 96px;
  background: var(--color-white); border: 1px solid var(--color-cream-dark);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: var(--space-xl);
}
.aside-card .price-from { font-family: var(--font-body); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--color-text-light); }
.aside-card .price { font-family: var(--font-heading); font-weight: var(--weight-light); font-size: 40px; color: var(--color-forest); margin: 4px 0 var(--space-lg); letter-spacing: var(--tracking-display); }
.aside-card .meta-row { display: flex; justify-content: space-between; padding: var(--space-md) 0; border-top: 1px solid var(--color-cream-dark); font-size: 14px; }
.aside-card .meta-row span:first-child { color: var(--text-body); }
.aside-card .meta-row span:last-child { color: var(--text-strong); font-weight: var(--weight-medium); }
.aside-card .btn { margin-top: var(--space-lg); }

/* ---------- Forms ---------- */
.field { margin-bottom: var(--space-lg); }
.field label, .form-label {
  display: block; font-family: var(--font-body); font-size: 12px; font-weight: var(--weight-medium);
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--color-text-secondary); margin-bottom: var(--space-sm);
}
.input, .select, .textarea {
  width: 100%; font-family: var(--font-body); font-size: 15px; color: var(--text-strong);
  background: var(--color-white); border: 1px solid var(--color-warm-beige);
  border-radius: var(--radius-md); padding: 14px 16px; transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.textarea { resize: vertical; min-height: 120px; line-height: var(--leading-relaxed); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--color-gold); box-shadow: var(--shadow-focus); }
.select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23625954' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
.checkbox { display: flex; align-items: flex-start; gap: var(--space-sm); font-size: 14px; color: var(--text-body); cursor: pointer; line-height: var(--leading-normal); }
.checkbox input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--color-gold); flex: none; }
.form-note { font-size: 13px; color: var(--text-muted); margin-top: var(--space-md); }
.form-success {
  display: none; background: var(--color-forest); color: var(--color-cream);
  border-radius: var(--radius-lg); padding: var(--space-xl);
}
.form-success.is-visible { display: block; }
.form-success h3 { color: var(--color-cream); font-size: var(--text-h3); margin-bottom: var(--space-sm); }
.form-success p { color: var(--text-on-inverse-muted); margin: 0; }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: var(--max-width-narrow); margin: 0 auto; }
.faq-cat { margin-bottom: var(--space-3xl); }
.faq-cat__title { font-family: var(--font-body); font-size: 12px; font-weight: var(--weight-semibold); letter-spacing: 2px; text-transform: uppercase; color: var(--color-gold); margin-bottom: var(--space-lg); padding-bottom: var(--space-sm); border-bottom: 1px solid var(--color-warm-beige); }
.faq {
  border-bottom: 1px solid var(--color-cream-dark);
}
.faq summary {
  list-style: none; cursor: pointer; padding: var(--space-lg) 0;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg);
  font-family: var(--font-heading); font-size: 22px; font-weight: var(--weight-regular); color: var(--color-forest);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { flex: none; color: var(--color-gold); transition: transform var(--transition-base); }
.faq[open] summary .chev { transform: rotate(45deg); }
.faq__body { padding: 0 0 var(--space-lg); }
.faq__body p { font-size: 16px; line-height: var(--leading-relaxed); color: var(--text-body); margin: 0; max-width: 64ch; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--color-forest); color: var(--color-cream); }
.cta-band__ring { position: absolute; border: 1px solid rgba(184,149,106,0.25); border-radius: 50%; }
.cta-band .ring-1 { width: 360px; height: 360px; top: -140px; right: -80px; }
.cta-band .ring-2 { width: 240px; height: 240px; bottom: -120px; left: 10%; }
.cta-band__inner { position: relative; z-index: 1; text-align: center; padding: var(--space-4xl) 0; }
.cta-band h2 { color: var(--color-cream); font-size: var(--text-h1); margin-bottom: var(--space-md); }
.cta-band p { color: var(--text-on-inverse-muted); font-size: var(--text-body-lg); max-width: 52ch; margin: 0 auto var(--space-xl); }

/* ---------- Footer ---------- */
.footer { background: var(--color-forest-dark); color: var(--color-cream); }
.footer__inner { max-width: none; margin: 0 auto; padding: var(--space-4xl) clamp(var(--space-xl), 5vw, 96px) var(--space-xl); }
.footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: var(--space-3xl); padding-bottom: var(--space-3xl); margin-bottom: var(--space-3xl); border-bottom: 1px solid rgba(249,243,240,0.15); }
.footer__brand { display: flex; align-items: center; gap: 10px; margin-bottom: var(--space-md); }
.footer__brand .nav__wordmark { color: var(--color-cream); }
.footer__blurb { font-size: 14px; line-height: var(--leading-loose); color: rgba(249,243,240,0.6); max-width: 320px; margin: 0; }
.footer__col h4 { font-family: var(--font-body); font-size: 12px; font-weight: var(--weight-semibold); letter-spacing: 2px; text-transform: uppercase; color: var(--color-gold-light); margin-bottom: var(--space-lg); }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-sm); }
.footer__col a { font-size: 14px; color: rgba(249,243,240,0.6); text-decoration: none; transition: color var(--transition-fast); }
.footer__col a:hover { color: var(--color-cream); }
.footer__contact { font-size: 14px; color: rgba(249,243,240,0.6); line-height: var(--leading-loose); }
.footer__contact strong { color: var(--color-cream); font-weight: var(--weight-medium); display:block; margin-bottom: 4px; }
.footer__legal { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-md); font-size: 12px; color: rgba(249,243,240,0.45); letter-spacing: 0.5px; }
.footer__legal a { color: rgba(249,243,240,0.45); text-decoration: none; }
.footer__legal a:hover { color: var(--color-cream); }

/* ---------- Breadcrumb / page title ---------- */
.page-title { background: var(--color-cream); text-align: center; padding: var(--space-4xl) 0 var(--space-3xl); }
.page-title .crumb { font-family: var(--font-body); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--color-text-light); margin-bottom: var(--space-lg); }
.page-title .crumb a { color: var(--color-gold); text-decoration: none; }
.page-title h1 { font-size: var(--text-h1); margin-bottom: var(--space-md); }
.page-title p { font-size: var(--text-body-lg); color: var(--text-body); max-width: 60ch; margin: 0 auto; line-height: var(--leading-relaxed); }

/* ---------- Utility ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4xl); align-items: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.gold-rule { width: 48px; height: 2px; background: var(--color-gold); border: none; margin: 0 0 var(--space-lg); }
.center .gold-rule { margin-left: auto; margin-right: auto; }

/* entrance */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease-brand), transform 0.6s var(--ease-brand); }
  .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__links.is-open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: var(--space-md); background: var(--color-forest); padding: var(--space-lg) var(--space-xl); border-bottom: 1px solid rgba(184,149,106,0.20); box-shadow: var(--shadow-lg); }
  .nav__links.is-open .nav__tools-mob { width: 100%; }
  .nav__toggle { display: inline-flex; background: none; border: none; cursor: pointer; color: var(--color-cream); padding: 8px; }
}
@media (max-width: 960px) {
  .cards-grid, .cards-grid--2 { grid-template-columns: 1fr 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
  .split { grid-template-columns: 1fr; gap: var(--space-xl); }
  .statrow { gap: var(--space-xl); }
}
@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__links.is-open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: var(--space-md); background: var(--color-forest); padding: var(--space-lg) var(--space-xl); border-bottom: 1px solid rgba(184,149,106,0.20); }
  .nav__toggle { display: inline-flex; background: none; border: none; cursor: pointer; color: var(--color-cream); padding: 8px; }
  .cards-grid, .cards-grid--2, .floorplan-grid, .field-row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .hero h1 { font-size: 48px; }
  .page-title h1, .detail-hero h1, .cta-band h2 { font-size: 34px; }
  .container { padding-left: var(--space-lg); padding-right: var(--space-lg); }
  .unit-table { font-size: 13px; }
  .unit-table thead { display: none; }
  .unit-table tbody td { display: flex; justify-content: space-between; padding: 8px var(--space-md); border: none; }
  .unit-table tbody tr { display: block; border: 1px solid var(--color-cream-dark); border-radius: var(--radius-md); margin-bottom: var(--space-md); padding: var(--space-sm) 0; }
  .unit-table tbody td::before { content: attr(data-label); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--color-text-light); }
}

/* ============================================================
   DEPTH / 3D LAYER  —  adds modern, tactile elevation on top of
   the heritage system. Shadows stay forest-tinted; we just make
   them two-layer (ambient + key) and add subtle surface
   highlights, parallax and pointer-driven tilt. Nothing here
   introduces new hues.
   ============================================================ */
:root {
  /* Richer two-layer elevation — overrides the flat DS shadows site-wide */
  --shadow-sm: 0 1px 2px rgba(52,72,70,0.06), 0 1px 3px rgba(52,72,70,0.07);
  --shadow-md: 0 2px 6px rgba(52,72,70,0.07), 0 10px 24px rgba(52,72,70,0.10);
  --shadow-lg: 0 4px 14px rgba(52,72,70,0.09), 0 22px 48px rgba(52,72,70,0.14);
  --shadow-xl: 0 10px 28px rgba(52,72,70,0.12), 0 36px 80px rgba(52,72,70,0.18);
  /* a warm ground-shadow for floating elements */
  --shadow-float: 0 30px 60px -24px rgba(52,72,70,0.45);
  --surface-highlight: inset 0 1px 0 rgba(255,255,255,0.65);
}

/* Body gets a faint warm vertical wash so sections read as layered planes */
body { background:
  radial-gradient(120% 60% at 50% -10%, rgba(150,115,74,0.05), transparent 60%),
  var(--surface-page);
}

/* perspective so child translateZ + tilt read as real depth */
.cards-grid, .statrow, .villa-row, .blog-grid { perspective: 1400px; }

/* ---- Cards: tactile surfaces that lift in 3D ---- */
.project-card, .feature-card, .floorplan, .aside-card {
  transform-style: preserve-3d;
  will-change: transform;
}
.project-card {
  box-shadow: var(--shadow-md);
  transition: transform 0.45s var(--ease-brand), box-shadow 0.45s var(--ease-brand);
}
.project-card::before {
  content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  border-radius: inherit; box-shadow: var(--surface-highlight);
  opacity: 0; transition: opacity 0.45s var(--ease-brand);
}
.project-card:hover { box-shadow: var(--shadow-xl); }
.project-card:hover::before { opacity: 1; }
.project-card.is-tilting { transition: box-shadow 0.45s var(--ease-brand); }
/* media zooms gently for parallax depth inside the card */
.project-card__media .ph { transition: transform 0.6s var(--ease-brand); transform: scale(1.001); }
.project-card:hover .project-card__media .ph { transform: scale(1.05); }
.project-card__badge { transform: translateZ(40px); }
.project-card__body { position: relative; z-index: 2; background: var(--surface-card); border-radius: inherit; }

.feature-card {
  box-shadow: var(--shadow-sm);
  transition: background var(--transition-base), box-shadow 0.45s var(--ease-brand), transform 0.45s var(--ease-brand);
}
.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.feature-card__icon {
  width: 56px; height: 56px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, rgba(150,115,74,0.14), rgba(150,115,74,0.04));
  box-shadow: var(--surface-highlight), 0 6px 16px rgba(150,115,74,0.12);
}
.section--forest .feature-card__icon { background: linear-gradient(160deg, rgba(184,149,106,0.20), rgba(184,149,106,0.05)); }

.aside-card { box-shadow: var(--shadow-lg); }

/* ---- Stat row becomes floating tiles ---- */
.statrow { gap: var(--space-xl); }
.stat {
  flex: 1; min-width: 160px;
  background: var(--color-white);
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  box-shadow: var(--shadow-md);
  transition: transform 0.4s var(--ease-brand), box-shadow 0.4s var(--ease-brand);
}
.stat:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.section--forest .stat { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.08); box-shadow: none; }
.section--cream .stat { background: var(--color-white); }

/* ---- Hero depth: parallax bg + atmospheric floating rings ---- */
.hero__bg { transform: scale(1.08); transition: transform 0.1s linear; will-change: transform; }
.hero::after {
  content: ''; position: absolute; z-index: 1; pointer-events: none;
  width: 520px; height: 520px; right: -160px; top: -140px;
  border: 1px solid rgba(184,149,106,0.22); border-radius: 50%;
  box-shadow: 0 0 120px 20px rgba(52,72,70,0.25) inset;
}
.hero__inner { transform: translateZ(0); }
.hero h1 { text-shadow: 0 2px 30px rgba(20,30,28,0.35); }

/* ---- Nav lifts off the page as you scroll ---- */
.nav { transition: box-shadow 0.3s var(--ease-brand), background 0.3s var(--ease-brand), padding 0.3s var(--ease-brand); }
.nav.is-scrolled { box-shadow: 0 6px 24px rgba(20,30,28,0.28); background: rgba(36,50,48,0.97); padding-top: 14px; padding-bottom: 14px; }

/* ---- Buttons get a subtle pressed depth ---- */
.btn--gold, .btn--primary { box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, var(--shadow-sm); }
.btn--gold:hover, .btn--primary:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, var(--shadow-lg); }
.btn--gold:active, .btn--primary:active { transform: translateY(0); box-shadow: var(--shadow-sm); }

/* ---- CTA band gains real depth ---- */
.cta-band { box-shadow: inset 0 1px 0 rgba(255,255,255,0.04); }
.cta-band__inner h2 { text-shadow: 0 2px 24px rgba(0,0,0,0.25); }

/* ---- Detail hero atmospheric depth ---- */
.detail-hero h1 { text-shadow: 0 2px 30px rgba(20,30,28,0.4); }

@media (prefers-reduced-motion: reduce) {
  .hero__bg { transform: none; }
  .project-card, .feature-card, .stat { transition: box-shadow 0.3s ease; }
}
