/* =====================================================================
   Concorde Homes — premium website
   Design tokens, reset, components and page-level styles
   ===================================================================== */

/* -------- 1. Design tokens -------- */
:root {
  /* Palette */
  --ink: #1a1a1a;
  --ink-soft: #4a4a4a;
  --ink-mute: #767169;
  --bg: #f8f6f2;          /* warm off-white */
  --bg-stone: #f0ebe2;    /* stone panel */
  --bg-sand: #ebe3d4;
  --rule: #d6d0c4;
  --rule-soft: #e7e2d6;
  --accent: #0fa3c7;       /* Concorde cyan */
  --accent-deep: #0985a3;
  --slate: #1f2d3a;        /* deep slate for hero overlays */
  --sand: #c9b79a;
  --white: #ffffff;

  /* Type */
  --serif: 'Trirong', 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 120px;
  --space-11: 160px;

  /* Layout */
  --content: 1320px;
  --hero: 1600px;
  --radius: 2px;
  --radius-lg: 6px;

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --t-fast: 200ms;
  --t-med: 380ms;
  --t-slow: 700ms;
}

/* -------- 2. Reset -------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, picture, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* -------- 3. Typography -------- */
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: var(--sans);
}
.eyebrow--ink { color: var(--ink-soft); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; color: var(--ink); line-height: 1.12; margin: 0; letter-spacing: -0.005em; }
h1 { font-size: clamp(40px, 6vw, 84px); }
h2 { font-size: clamp(32px, 4.6vw, 56px); }
h3 { font-size: clamp(24px, 2.6vw, 34px); }
h4 { font-size: clamp(20px, 2vw, 24px); font-family: var(--sans); font-weight: 600; letter-spacing: 0.01em; }
p { margin: 0 0 1.2em 0; color: var(--ink-soft); max-width: 62ch; }

.lead {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 1.9vw, 26px);
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 38ch;
}
.subtle { color: var(--ink-soft); }
.tiny { font-size: 13px; letter-spacing: 0.04em; color: var(--ink-mute); }

/* -------- 4. Layout -------- */
.container { max-width: var(--content); margin: 0 auto; padding: 0 var(--space-6); }
@media (max-width: 700px) { .container { padding: 0 var(--space-5); } }

section.section { padding: var(--space-10) 0; }
section.section--tight { padding: var(--space-8) 0; }
section.section--lg { padding: var(--space-11) 0; }
@media (max-width: 800px) {
  section.section { padding: var(--space-8) 0; }
  section.section--lg { padding: var(--space-9) 0; }
}

.bg-stone { background: var(--bg-stone); }
.bg-sand { background: var(--bg-sand); }
.bg-slate { background: var(--slate); color: rgba(255,255,255,0.85); }

.divider { height: 1px; background: var(--rule); border: 0; }

/* -------- 5. Site header / nav -------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: background var(--t-med) var(--ease), padding var(--t-med) var(--ease), backdrop-filter var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.site-header__inner {
  max-width: var(--hero);
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}
.site-header__logo img { height: 38px; width: auto; transition: filter var(--t-med) var(--ease); }
.site-header__logo .logo-white { display: none; }
.site-header__nav { display: flex; gap: var(--space-7); align-items: center; }
.site-header__nav a {
  font-size: 14px;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.92);
  position: relative;
  padding: 6px 0;
  transition: color var(--t-fast) var(--ease);
}
.site-header__nav a::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med) var(--ease);
}
.site-header__nav a:hover::after { transform: scaleX(1); }
.site-header__cta {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 10px 20px;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: var(--radius);
  color: white;
  transition: all var(--t-med) var(--ease);
}
.site-header__cta:hover { background: white; color: var(--ink); border-color: white; }

/* Inverted header — when scrolled or on light pages */
.site-header.is-scrolled,
.site-header--light {
  background: rgba(248, 246, 242, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 0;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.site-header.is-scrolled .site-header__logo .logo-colour,
.site-header--light .site-header__logo .logo-colour { display: block; }
.site-header.is-scrolled .site-header__logo .logo-white,
.site-header--light .site-header__logo .logo-white { display: none; }
.site-header:not(.is-scrolled):not(.site-header--light) .site-header__logo .logo-colour { display: none; }
.site-header:not(.is-scrolled):not(.site-header--light) .site-header__logo .logo-white { display: block; }

.site-header.is-scrolled .site-header__nav a,
.site-header--light .site-header__nav a { color: var(--ink); }
.site-header.is-scrolled .site-header__cta,
.site-header--light .site-header__cta {
  color: var(--ink);
  border-color: var(--ink);
}
.site-header.is-scrolled .site-header__cta:hover,
.site-header--light .site-header__cta:hover {
  background: var(--ink); color: white;
}

.site-header__toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  color: inherit;
}
.site-header__toggle svg { width: 26px; height: 26px; }

@media (max-width: 880px) {
  .site-header__nav { display: none; }
  .site-header__toggle { display: inline-flex; color: white; }
  .site-header.is-scrolled .site-header__toggle,
  .site-header--light .site-header__toggle { color: var(--ink); }
  .site-header__cta { display: none; }
}

/* Mobile nav — slide-in panel from the right */
.mobile-nav__scrim {
  position: fixed; inset: 0;
  background: rgba(20, 28, 40, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-med) var(--ease), visibility var(--t-med) var(--ease);
  z-index: 199;
}
.mobile-nav__scrim.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 88vw);
  background: var(--ink);
  color: white;
  z-index: 200;
  transform: translateX(100%);
  transition: transform var(--t-med) var(--ease);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: -20px 0 60px -20px rgba(0,0,0,0.6);
}
.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.mobile-nav__logo img { height: 32px; width: auto; }

.mobile-nav__close {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  color: white;
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
}
.mobile-nav__close:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.4); }
.mobile-nav__close svg { width: 18px; height: 18px; }

.mobile-nav__body {
  padding: var(--space-5) 24px;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  flex-grow: 1;
}

.mobile-nav__group { display: flex; flex-direction: column; }
.mobile-nav__group-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  color: white;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.005em;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color var(--t-fast) var(--ease), padding-left var(--t-med) var(--ease);
}
.mobile-nav__link:last-child { border-bottom: 0; }
.mobile-nav__link::after {
  content: '→';
  font-family: var(--sans);
  font-size: 14px;
  color: rgba(255,255,255,0.3);
  transition: color var(--t-fast) var(--ease), transform var(--t-med) var(--ease);
}
.mobile-nav__link:hover { color: var(--accent); padding-left: 6px; }
.mobile-nav__link:hover::after { color: var(--accent); transform: translateX(4px); }
.mobile-nav__link.is-sub { font-size: 15px; font-family: var(--sans); font-weight: 400; padding: 10px 0 10px 14px; color: rgba(255,255,255,0.8); border-bottom: 0; }
.mobile-nav__link.is-sub::before { content: '·'; margin-right: 10px; color: var(--accent); }
.mobile-nav__link.is-sub::after { display: none; }

.mobile-nav__cta {
  display: flex;
  justify-content: center;
  text-align: center;
  padding: 16px 20px;
  border: 1px solid var(--accent);
  color: white;
  background: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  margin-top: var(--space-4);
  transition: all var(--t-fast) var(--ease);
}
.mobile-nav__cta:hover { background: var(--accent-deep); border-color: var(--accent-deep); }

.mobile-nav__footer {
  padding: var(--space-5) 24px var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
  flex-shrink: 0;
}
.mobile-nav__footer a { color: white; }
.mobile-nav__footer a:hover { color: var(--accent); }

/* Body scroll lock when nav open */
body.nav-open { overflow: hidden; }

/* -------- 6. Buttons & CTAs -------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--t-med) var(--ease);
  border: 1px solid transparent;
  cursor: pointer;
}
.btn--primary {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.btn--primary:hover { background: var(--slate); border-color: var(--slate); }
.btn--ghost {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.6);
}
.btn--ghost:hover { background: white; color: var(--ink); border-color: white; }
.btn--ink-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ink-ghost:hover { background: var(--ink); color: white; }
.btn .arrow { transition: transform var(--t-med) var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  transition: all var(--t-med) var(--ease);
}
.link-arrow:hover { gap: 14px; color: var(--accent); border-color: var(--accent); }

/* -------- 7. Hero (full-bleed) -------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  max-height: 900px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: white;
}
.hero__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.03);
  animation: heroIn 1500ms var(--ease) forwards;
}
@keyframes heroIn { to { transform: scale(1); } }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,28,40,0.20) 0%, rgba(20,28,40,0.00) 30%, rgba(20,28,40,0.55) 100%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  width: 100%;
  max-width: var(--hero);
  margin: 0 auto;
  padding: 0 var(--space-6) var(--space-10);
}
.hero__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--space-5);
  opacity: 0;
  animation: fadeUp 900ms 300ms var(--ease) forwards;
}
.hero__title {
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 112px);
  font-weight: 300;
  line-height: 1.02;
  max-width: 14ch;
  color: white;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-5);
  opacity: 0;
  animation: fadeUp 900ms 450ms var(--ease) forwards;
}
.hero__sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 300;
  color: rgba(255,255,255,0.88);
  max-width: 50ch;
  margin: 0 0 var(--space-7);
  opacity: 0;
  animation: fadeUp 900ms 600ms var(--ease) forwards;
}
.hero__ctas {
  display: flex; flex-wrap: wrap; gap: var(--space-4);
  opacity: 0;
  animation: fadeUp 900ms 750ms var(--ease) forwards;
}
.hero__scroll {
  position: absolute;
  bottom: 24px; right: 32px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.7);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.hero__scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.7), rgba(255,255,255,0));
  animation: scrollLine 2200ms var(--ease) infinite;
  transform-origin: top;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 700px) {
  .hero__scroll { display: none; }
  .hero__inner { padding-bottom: var(--space-8); }
}

/* Hero variant for development page (slightly different layout) */
.hero--dev .hero__title { max-width: 12ch; }
.hero--dev .hero__meta {
  display: flex; gap: var(--space-6); flex-wrap: wrap;
  margin-top: var(--space-5);
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  opacity: 0; animation: fadeUp 900ms 700ms var(--ease) forwards;
}
.hero--dev .hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero--dev .hero__meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }

/* -------- 8. Trust strip -------- */
.trust-strip {
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
  padding: var(--space-6) 0;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  text-transform: uppercase;
}
.trust-strip__inner {
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-7);
}
.trust-strip__item { display: inline-flex; align-items: center; gap: 12px; }
.trust-strip__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* -------- 9. Two-column editorial -------- */
.two-col {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--space-10);
  align-items: start;
}
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: var(--space-6); } }

.editorial h2 { margin-bottom: var(--space-5); }
.editorial .eyebrow { margin-bottom: var(--space-4); display: block; }
.editorial p { font-size: 18px; color: var(--ink-soft); }
.editorial p:first-of-type::first-letter {
  font-family: var(--serif);
  font-size: 3.4em;
  float: left;
  line-height: 0.9;
  padding: 6px 8px 0 0;
  color: var(--ink);
}

/* -------- 10. Flagship band -------- */
.flagship {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: flex-end;
  color: white;
  overflow: hidden;
}
.flagship__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.flagship__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(95deg, rgba(20,28,40,0.55) 0%, rgba(20,28,40,0.30) 35%, rgba(20,28,40,0.0) 65%),
    linear-gradient(180deg, rgba(20,28,40,0) 50%, rgba(20,28,40,0.55) 100%);
}
.flagship__panel {
  position: relative;
  max-width: var(--content);
  margin: 0 auto;
  padding: var(--space-10) var(--space-6) var(--space-10);
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-8);
  align-items: end;
}
@media (max-width: 900px) { .flagship__panel { grid-template-columns: 1fr; padding: var(--space-9) var(--space-6); } }
.flagship__title {
  font-family: var(--serif);
  font-size: clamp(40px, 5.2vw, 76px);
  font-weight: 300;
  line-height: 1.04;
  max-width: 12ch;
}
.flagship__title em { font-style: italic; color: var(--bg-stone); }
.flagship__meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5) var(--space-6);
  padding: var(--space-5) 0;
  border-top: 1px solid rgba(255,255,255,0.25);
  margin-top: var(--space-6);
}
.flagship__meta-item .l { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.65); display: block; margin-bottom: 6px; }
.flagship__meta-item .v { font-family: var(--serif); font-size: 22px; color: white; }
.flagship__lede { font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.4; color: rgba(255,255,255,0.88); margin-bottom: var(--space-5); max-width: 36ch; }
.flagship .btn--ghost { color: white; }

/* -------- 11. Section heading block -------- */
.section-head { margin-bottom: var(--space-8); display: grid; grid-template-columns: 1fr; gap: var(--space-3); }
.section-head--lg { margin-bottom: var(--space-9); }
.section-head h2 { max-width: 16ch; }
.section-head .lead { margin-top: var(--space-4); }
.section-head__row {
  display: flex; justify-content: space-between; align-items: end; gap: var(--space-6);
}
@media (max-width: 800px) { .section-head__row { flex-direction: column; align-items: flex-start; } }

/* -------- 12. Developments grid -------- */
.dev-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
@media (max-width: 1000px) { .dev-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .dev-grid { grid-template-columns: 1fr; gap: var(--space-7); } }

.dev-card {
  position: relative;
  display: block;
  overflow: hidden;
  color: var(--ink);
}
.dev-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-stone);
}
.dev-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 900ms var(--ease);
}
.dev-card:hover .dev-card__media img { transform: scale(1.04); }
.dev-card__pill {
  position: absolute; top: 18px; left: 18px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 100px;
  color: var(--ink);
}
.dev-card__pill--soon { background: rgba(20,28,40,0.85); color: white; }
.dev-card__body { padding: var(--space-5) 0 0; }
.dev-card__eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent);
}
.dev-card__name {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  margin: 6px 0 4px;
  line-height: 1.1;
}
.dev-card__desc { font-size: 15px; color: var(--ink-soft); margin: 0 0 18px; }
.dev-card__arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.dev-card__arrow svg { transition: transform var(--t-med) var(--ease); }
.dev-card:hover .dev-card__arrow svg { transform: translateX(4px); }

/* -------- 13. Build quality (icon strip + images) -------- */
.spec-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-5);
  padding: var(--space-7) 0;
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
}
@media (max-width: 1000px) { .spec-strip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .spec-strip { grid-template-columns: repeat(2, 1fr); gap: var(--space-6); } }
.spec-strip__item { display: flex; flex-direction: column; gap: 10px; }
.spec-strip__icon { width: 32px; height: 32px; color: var(--accent); }
.spec-strip__icon svg { width: 100%; height: 100%; }
.spec-strip__label { font-size: 14px; font-weight: 600; letter-spacing: 0.02em; color: var(--ink); }
.spec-strip__sub { font-size: 13px; color: var(--ink-mute); }

.bq-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6);
  margin-top: var(--space-8);
}
@media (max-width: 800px) { .bq-grid { grid-template-columns: 1fr; } }
.bq-image { aspect-ratio: 4/3; overflow: hidden; }
.bq-image img { width: 100%; height: 100%; object-fit: cover; }

/* -------- 14. Site plan band -------- */
.site-plan-band {
  background: var(--bg-stone);
}
.site-plan-band__inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--space-9);
  align-items: center;
}
@media (max-width: 1000px) { .site-plan-band__inner { grid-template-columns: 1fr; } }
.site-plan-band__copy h2 { margin-bottom: var(--space-5); }
.site-plan-band__plan { background: white; padding: var(--space-3); box-shadow: 0 10px 40px -20px rgba(0,0,0,0.18); }
.site-plan-band__plan img { width: 100%; height: auto; display: block; }

/* -------- 15. House types -------- */
.houses {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-7) var(--space-6);
}
@media (max-width: 1000px) { .houses { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px)  { .houses { grid-template-columns: 1fr; } }

.house {
  display: block;
  color: var(--ink);
}
.house__media {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-stone);
  margin-bottom: var(--space-4);
}
.house__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.house:hover .house__media img { transform: scale(1.03); }
.house__head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-4); margin-bottom: 6px; }
.house__name { font-family: var(--serif); font-size: 30px; font-weight: 400; line-height: 1.05; }
.house__sqft { font-size: 13px; color: var(--ink-mute); letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.house__desc { font-size: 15px; color: var(--ink-soft); margin: 0 0 14px; max-width: 50ch; }
.house__stats { display: flex; gap: 14px; font-size: 13px; color: var(--ink-soft); letter-spacing: 0.04em; text-transform: uppercase; }
.house__stats span { display: inline-flex; gap: 6px; align-items: center; }
.house__stats svg { width: 14px; height: 14px; color: var(--accent); }

/* -------- 16. Spec list -------- */
.spec-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8) var(--space-9);
}
@media (max-width: 800px) { .spec-list { grid-template-columns: 1fr; gap: var(--space-7); } }
.spec-list h3 {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--rule);
}
.spec-list ul { list-style: none; margin: 0; padding: 0; }
.spec-list li { font-size: 15px; padding: 8px 0; color: var(--ink); border-bottom: 1px solid var(--rule-soft); }
.spec-list li:last-child { border-bottom: 0; }

/* -------- 17. Gallery -------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-3);
}
.gallery__item { overflow: hidden; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1000ms var(--ease); }
.gallery__item:hover img { transform: scale(1.02); }
.g-1 { grid-column: span 7; aspect-ratio: 16/10; }
.g-2 { grid-column: span 5; aspect-ratio: 4/5; }
.g-3 { grid-column: span 4; aspect-ratio: 1/1; }
.g-4 { grid-column: span 4; aspect-ratio: 1/1; }
.g-5 { grid-column: span 4; aspect-ratio: 1/1; }
@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(6, 1fr); }
  .g-1, .g-2 { grid-column: span 6; aspect-ratio: 16/10; }
  .g-3, .g-4, .g-5 { grid-column: span 2; aspect-ratio: 1/1; }
}

/* -------- 18. Downloads -------- */
.downloads {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
@media (max-width: 900px) { .downloads { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .downloads { grid-template-columns: 1fr; } }
.download-card {
  display: flex; align-items: center; gap: var(--space-4);
  padding: var(--space-5);
  border: 1px solid var(--rule);
  background: white;
  transition: all var(--t-med) var(--ease);
}
.download-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.download-card__icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--bg-stone);
  color: var(--ink);
  flex-shrink: 0;
}
.download-card__icon svg { width: 22px; height: 22px; }
.download-card__title { font-weight: 600; font-size: 15px; line-height: 1.3; }
.download-card__meta { font-size: 12px; color: var(--ink-mute); margin-top: 2px; }

/* -------- 19. Register interest form -------- */
.register {
  position: relative;
  overflow: hidden;
}
.register__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-9);
  align-items: center;
}
@media (max-width: 900px) { .register__inner { grid-template-columns: 1fr; } }
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4) var(--space-5);
}
.form__field { display: flex; flex-direction: column; gap: 6px; }
.form__field--full { grid-column: span 2; }
.form__label { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); }
.form__input, .form__select, .form__textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  padding: 10px 0;
  font-family: var(--sans);
  color: var(--ink);
  font-size: 16px;
  transition: border-color var(--t-med) var(--ease);
}
.form__input:focus, .form__select:focus, .form__textarea:focus {
  outline: 0;
  border-color: var(--accent);
}
.form__textarea { resize: vertical; min-height: 80px; }
.form__consent {
  grid-column: span 2;
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--ink-soft);
}
.form__consent input { margin-top: 4px; }
.form__submit { grid-column: span 2; justify-self: start; }

/* -------- 20. Voices / testimonials -------- */
.voices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-7);
}
@media (max-width: 900px) { .voices { grid-template-columns: 1fr; gap: var(--space-6); } }
.voice { padding: var(--space-5) 0; border-top: 1px solid var(--rule); }
.voice__quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.4;
  color: var(--ink);
  margin: 0 0 var(--space-5);
  max-width: 28ch;
}
.voice__quote::before { content: '“'; color: var(--accent); margin-right: 4px; }
.voice__quote::after { content: '”'; color: var(--accent); margin-left: 2px; }
.voice__attr { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-mute); }
.voice__attr strong { color: var(--ink); font-weight: 600; letter-spacing: 0.04em; }

/* -------- 21. Journal teaser -------- */
.journal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
@media (max-width: 900px) { .journal { grid-template-columns: 1fr; } }
.j-card { display: block; color: var(--ink); }
.j-card__media { aspect-ratio: 4/3; overflow: hidden; margin-bottom: var(--space-4); }
.j-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease); }
.j-card:hover .j-card__media img { transform: scale(1.03); }
.j-card__date { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 6px; }
.j-card__title { font-family: var(--serif); font-size: 22px; line-height: 1.2; margin-bottom: 6px; }

/* -------- 22. At-a-glance panel (dev page) -------- */
.at-glance {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
@media (max-width: 1000px) { .at-glance { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .at-glance { grid-template-columns: repeat(2, 1fr); } }
.at-glance__item {
  padding: var(--space-6) var(--space-4);
  display: flex; flex-direction: column; gap: 6px;
  border-right: 1px solid var(--rule);
}
.at-glance__item:last-child { border-right: 0; }
.at-glance__label { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); }
.at-glance__value { font-family: var(--serif); font-size: 26px; line-height: 1.1; color: var(--ink); }
.at-glance__sub { font-size: 12px; color: var(--ink-mute); }

/* -------- 23. Footer -------- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.78);
  padding: var(--space-10) 0 var(--space-7);
  font-size: 14px;
}
.site-footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-7);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (max-width: 800px) { .site-footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .site-footer__top { grid-template-columns: 1fr; } }
.site-footer h4 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: var(--space-4);
  font-weight: 600;
}
.site-footer__logo img { height: 44px; margin-bottom: var(--space-5); }
.site-footer__about p { color: rgba(255,255,255,0.72); margin-bottom: var(--space-4); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { padding: 5px 0; }
.site-footer ul a { color: rgba(255,255,255,0.78); transition: color var(--t-fast) var(--ease); }
.site-footer ul a:hover { color: var(--accent); }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-5);
  padding-top: var(--space-6);
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
}
.site-footer__bottom a { color: rgba(255,255,255,0.6); margin-right: var(--space-5); }
.site-footer__bottom a:hover { color: white; }

/* -------- 24. Animations on scroll -------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease);
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* -------- 25. Partner strip (about page / homepage) -------- */
.partners {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: var(--space-7);
  opacity: 0.7;
}
.partners__item { font-family: var(--serif); font-size: 22px; color: var(--ink-soft); letter-spacing: 0.02em; }
.partners__item .sep { color: var(--accent); margin: 0 6px; }

/* -------- 26. Floor plan info -------- */
.floor-plan-thumb {
  background: white;
  padding: var(--space-3);
  box-shadow: 0 6px 24px -12px rgba(0,0,0,0.18);
  aspect-ratio: 3/4;
  display: grid; place-items: center;
  color: var(--ink-mute); font-size: 13px;
  text-align: center;
  letter-spacing: 0.06em; text-transform: uppercase;
}

/* -------- 27. Misc -------- */
.no-wrap { white-space: nowrap; }
.text-center { text-align: center; }
.mt-auto { margin-top: auto; }

/* =====================================================================
   PHASE 2 ADDITIONS
   Components for: breadcrumbs, page heroes, steps, FAQ, comparison
   table, team, partners, journal article, calculators, 404
   ===================================================================== */

/* -------- 28. Page hero (shorter than homepage hero) -------- */
.page-hero {
  position: relative;
  min-height: 64vh;
  display: flex;
  align-items: flex-end;
  color: white;
  overflow: hidden;
  padding-top: 120px;
}
.page-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero__overlay { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(20,28,40,0.55) 0%, rgba(20,28,40,0.20) 35%, rgba(20,28,40,0.55) 100%);
}
.page-hero__inner {
  position: relative;
  width: 100%;
  max-width: var(--hero);
  margin: 0 auto;
  padding: 0 var(--space-6) var(--space-9);
}
.page-hero__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--space-4);
}
.page-hero__title {
  font-family: var(--serif);
  font-size: clamp(40px, 5.8vw, 84px);
  font-weight: 300;
  line-height: 1.04;
  max-width: 18ch;
  color: white;
  margin: 0 0 var(--space-4);
}
.page-hero__sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 1.7vw, 22px);
  color: rgba(255,255,255,0.88);
  max-width: 56ch;
  margin: 0;
}

/* -------- 29. Breadcrumbs -------- */
.breadcrumbs {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding: var(--space-6) 0 0;
}
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumbs li::after { content: '/'; margin-left: 8px; color: var(--rule); }
.breadcrumbs li:last-child::after { content: ''; }
.breadcrumbs a { color: var(--ink-soft); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs li[aria-current="page"] { color: var(--ink); }

/* -------- 30. Numbered steps -------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px)  { .steps { grid-template-columns: 1fr; gap: var(--space-5); } }
.step {
  padding: var(--space-6) var(--space-5);
  background: white;
  border-top: 2px solid var(--accent);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 220px;
}
.step__num {
  font-family: var(--serif);
  font-size: 48px;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 6px;
}
.step__title { font-family: var(--serif); font-size: 22px; line-height: 1.2; color: var(--ink); margin: 0; }
.step__copy { font-size: 14px; color: var(--ink-soft); margin: 0; }

/* -------- 31. FAQ accordion -------- */
.faq { display: grid; gap: 0; }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__item:first-child { border-top: 1px solid var(--rule); }
.faq__summary {
  list-style: none;
  cursor: pointer;
  padding: var(--space-5) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink);
  transition: color var(--t-fast) var(--ease);
}
.faq__summary::-webkit-details-marker { display: none; }
.faq__summary:hover { color: var(--accent); }
.faq__icon {
  width: 28px; height: 28px; flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--rule);
  display: grid; place-items: center;
  transition: all var(--t-med) var(--ease);
}
.faq__icon::before, .faq__icon::after {
  content: ''; position: absolute; background: var(--ink);
}
.faq__icon { position: relative; }
.faq__icon::before { width: 12px; height: 1px; }
.faq__icon::after  { width: 1px; height: 12px; transition: transform var(--t-med) var(--ease); }
details[open] .faq__icon { border-color: var(--accent); background: var(--accent); }
details[open] .faq__icon::before, details[open] .faq__icon::after { background: white; }
details[open] .faq__icon::after { transform: rotate(90deg); }
.faq__body {
  padding: 0 0 var(--space-5);
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 70ch;
}
.faq__body p { margin: 0 0 0.6em; }
.faq__body p:last-child { margin-bottom: 0; }

/* -------- 32. Comparison table -------- */
.compare {
  background: white;
  border: 1px solid var(--rule);
}
.compare__row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  border-bottom: 1px solid var(--rule-soft);
}
.compare__row:last-child { border-bottom: 0; }
.compare__cell { padding: var(--space-5); display: flex; align-items: flex-start; gap: 10px; }
.compare__head { background: var(--bg-stone); font-weight: 600; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
.compare__head .compare__cell { padding: 22px 24px; }
.compare__label { font-weight: 500; color: var(--ink); font-size: 15px; }
.compare__val { font-size: 14px; color: var(--ink-soft); }
.compare__yes { color: var(--accent); }
.compare__no  { color: #b8442f; }
.compare__icon { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
@media (max-width: 700px) {
  .compare__row { grid-template-columns: 1fr; }
  .compare__cell { padding: var(--space-4) var(--space-5); }
  .compare__head { display: none; }
  .compare__cell:first-child { background: var(--bg-stone); font-weight: 600; }
  .compare__cell:nth-child(2)::before { content: 'On the open market: '; font-weight: 600; color: var(--ink); margin-right: 4px; }
  .compare__cell:nth-child(3)::before { content: 'With Concorde Part Exchange: '; font-weight: 600; color: var(--accent); margin-right: 4px; }
}

/* -------- 33. Team grid -------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-7);
}
@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .team-grid { grid-template-columns: 1fr; gap: var(--space-5); } }
.team-card {
  background: white;
  border: 1px solid var(--rule-soft);
  padding: var(--space-5);
}
.team-card__avatar {
  width: 84px; height: 84px;
  background: var(--bg-stone);
  display: grid; place-items: center;
  margin-bottom: var(--space-4);
  font-family: var(--serif);
  font-size: 30px;
  color: var(--ink);
}
.team-card__avatar.avatar--accent { background: var(--accent); color: white; }
.team-card__name { font-family: var(--serif); font-size: 22px; line-height: 1.2; }
.team-card__role { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-mute); margin: 4px 0 12px; }
.team-card__bio  { font-size: 14px; color: var(--ink-soft); margin: 0; }

/* -------- 34. Partner / accreditation strip -------- */
.partners-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-5);
  align-items: center;
  padding: var(--space-7) 0;
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
}
@media (max-width: 900px) { .partners-strip { grid-template-columns: repeat(3, 1fr); gap: var(--space-6); } }
@media (max-width: 500px) { .partners-strip { grid-template-columns: repeat(2, 1fr); } }
.partner-mark {
  text-align: center;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.15;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
  padding: 8px;
}
.partner-mark small { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); margin-top: 2px; }

/* -------- 35. Stat figures (big number block) -------- */
.figures {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}
@media (max-width: 800px) { .figures { grid-template-columns: 1fr 1fr; } }
.figure { padding: var(--space-5) 0; }
.figure__num {
  font-family: var(--serif);
  font-size: clamp(48px, 5.6vw, 72px);
  font-weight: 300;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 8px;
}
.figure__num em { font-style: normal; color: var(--accent); }
.figure__label { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-mute); }

/* -------- 36. Scheme cards (buying hub) -------- */
.scheme-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}
@media (max-width: 800px) { .scheme-grid { grid-template-columns: 1fr; } }
.scheme-card {
  background: white;
  border: 1px solid var(--rule);
  padding: var(--space-7);
  transition: all var(--t-med) var(--ease);
  display: flex; flex-direction: column; gap: var(--space-4);
}
.scheme-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.scheme-card.is-featured { background: var(--ink); color: rgba(255,255,255,0.85); border-color: var(--ink); }
.scheme-card.is-featured h3 { color: white; }
.scheme-card.is-featured .link-arrow { color: white; border-color: rgba(255,255,255,0.4); }
.scheme-card.is-featured .link-arrow:hover { color: var(--accent); border-color: var(--accent); }
.scheme-card__title { font-family: var(--serif); font-size: 30px; line-height: 1.1; margin: 0; }
.scheme-card__desc  { font-size: 15px; color: var(--ink-soft); margin: 0; }
.scheme-card.is-featured .scheme-card__desc { color: rgba(255,255,255,0.78); }
.scheme-card__tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  align-self: flex-start;
}
.scheme-card__tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* -------- 37. Article body -------- */
.article-body {
  max-width: 70ch;
  margin: 0 auto;
}
.article-body p,
.article-body ul,
.article-body ol,
.article-body blockquote {
  font-size: 18px;
  line-height: 1.8;
  color: var(--ink);
  margin: 0 0 1.4em;
}
.article-body h2 { font-size: 32px; margin: 1.8em 0 0.6em; }
.article-body h3 { font-size: 22px; margin: 1.6em 0 0.4em; font-family: var(--sans); font-weight: 600; }
.article-body blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  line-height: 1.45;
  border-left: 2px solid var(--accent);
  padding-left: var(--space-5);
  color: var(--ink);
  margin: 1.8em 0;
}
.article-body ul { padding-left: 1.2em; }
.article-body ul li { padding: 6px 0; }
.article-body img { margin: 1.4em 0; }
.article-body figcaption { font-size: 13px; color: var(--ink-mute); letter-spacing: 0.04em; margin-top: 8px; }

/* -------- 38. Article meta -------- */
.article-meta {
  display: flex; flex-wrap: wrap; gap: var(--space-5);
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-mute);
  padding: var(--space-5) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: var(--space-7);
}
.article-meta strong { color: var(--ink); letter-spacing: 0.04em; }

/* -------- 39. Calculators -------- */
.calc {
  background: white;
  border: 1px solid var(--rule);
  padding: var(--space-7);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7);
}
@media (max-width: 800px) { .calc { grid-template-columns: 1fr; padding: var(--space-5); } }
.calc__form { display: flex; flex-direction: column; gap: var(--space-4); }
.calc__row {
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-4);
}
.calc__label {
  font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-mute);
}
.calc__input {
  font-family: var(--sans);
  font-size: 22px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  text-align: right;
  width: 180px;
  padding: 6px 0;
  color: var(--ink);
  appearance: textfield;
}
.calc__input::-webkit-outer-spin-button, .calc__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc__input:focus { outline: 0; border-color: var(--accent); }
.calc__slider { width: 100%; accent-color: var(--ink); }
.calc__result {
  background: var(--ink); color: white;
  padding: var(--space-6);
  display: flex; flex-direction: column; gap: var(--space-3);
}
.calc__result h4 { font-family: var(--sans); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin: 0 0 6px; }
.calc__result-val {
  font-family: var(--serif);
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1;
  color: white;
}
.calc__result small { font-size: 12px; color: rgba(255,255,255,0.55); }
.calc__disclaimer { font-size: 12px; color: var(--ink-mute); margin-top: var(--space-5); }

/* -------- 40. Contact split -------- */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-9);
  align-items: start;
}
@media (max-width: 900px) { .contact-split { grid-template-columns: 1fr; gap: var(--space-7); } }
.contact-info {
  display: grid;
  gap: var(--space-5);
}
.contact-info__row {
  display: flex; flex-direction: column; gap: 4px;
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--rule-soft);
}
.contact-info__label { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); }
.contact-info__value { font-family: var(--serif); font-size: 22px; line-height: 1.3; color: var(--ink); }
.contact-info__value a { color: inherit; }
.contact-info__value a:hover { color: var(--accent); }

.map-frame {
  width: 100%;
  aspect-ratio: 16/10;
  background: var(--bg-stone);
  display: grid; place-items: center;
  color: var(--ink-mute);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--rule-soft);
}

/* -------- 41. 404 -------- */
.err {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: white;
  text-align: center;
  padding: var(--space-6);
}
.err__bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(0.5); }
.err__inner { position: relative; max-width: 540px; }
.err__num { font-family: var(--serif); font-size: clamp(80px, 14vw, 180px); line-height: 1; color: white; }
.err__title { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 40px); color: white; margin: var(--space-4) 0 var(--space-3); }
.err__sub { color: rgba(255,255,255,0.78); margin-bottom: var(--space-6); }

/* -------- 42. Pull-quote (about / quality) -------- */
.pull {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.3;
  color: var(--ink);
  max-width: 26ch;
  margin: 0 auto;
  text-align: center;
}
.pull::before, .pull::after { color: var(--accent); }
.pull::before { content: '“'; margin-right: 4px; }
.pull::after  { content: '”'; margin-left: 2px; }

/* -------- 43. Awards / recognition strip -------- */
.awards {
  display: flex; justify-content: center; flex-wrap: wrap; gap: var(--space-7) var(--space-9);
  padding: var(--space-7) 0;
}
.award {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.award strong { display: block; font-family: var(--serif); font-size: 26px; color: var(--ink); letter-spacing: 0; text-transform: none; margin-bottom: 6px; font-weight: 400; }

/* -------- 44. Rooms table (house-type sub-pages) -------- */
.rooms-block + .rooms-block { margin-top: var(--space-7); }
.rooms-block__title {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--rule);
}
.rooms-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.rooms-table thead th {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  text-align: left;
  font-weight: 600;
  padding: 8px 12px 8px 0;
  border-bottom: 1px solid var(--rule-soft);
}
.rooms-table tbody td {
  padding: 9px 12px 9px 0;
  border-bottom: 1px solid var(--rule-soft);
  color: var(--ink);
  vertical-align: top;
}
.rooms-table tbody td:first-child { font-weight: 500; }
.rooms-table tbody td:nth-child(2),
.rooms-table tbody td:nth-child(3) { color: var(--ink-soft); white-space: nowrap; }

/* -------- 45. Interactive site plan -------- */
.siteplan {
  position: relative;
  background: white;
  padding: var(--space-3);
  box-shadow: 0 14px 50px -22px rgba(0,0,0,0.18);
}
.siteplan__svg { display: block; width: 100%; height: auto; }
.siteplan__image { width: 100%; display: block; }
.siteplan__hotspot {
  cursor: pointer;
  fill: rgba(15, 163, 199, 0);
  stroke: rgba(15, 163, 199, 0);
  stroke-width: 2;
  transition: all 250ms var(--ease);
}
.siteplan__hotspot:hover,
.siteplan__hotspot:focus {
  fill: rgba(15, 163, 199, 0.18);
  stroke: rgba(15, 163, 199, 0.9);
  outline: none;
}
.siteplan__legend {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3) var(--space-5);
  padding: var(--space-5);
  background: var(--bg-stone);
  margin-top: var(--space-3);
  font-size: 13px;
}
@media (max-width: 800px) { .siteplan__legend { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .siteplan__legend { grid-template-columns: 1fr; } }
.siteplan__legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  color: var(--ink);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}
.siteplan__legend-item:hover { color: var(--accent); }
.siteplan__legend-swatch {
  width: 18px; height: 18px;
  flex-shrink: 0;
  border-radius: 3px;
  border: 1px solid rgba(0,0,0,0.08);
}
.siteplan__legend-name { font-weight: 500; }
.siteplan__legend-meta { color: var(--ink-mute); font-size: 12px; margin-left: 4px; }
.siteplan__tip {
  position: absolute;
  background: var(--ink);
  color: white;
  padding: 8px 14px;
  font-size: 12px;
  letter-spacing: 0.04em;
  border-radius: 4px;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -120%);
  transition: opacity 180ms var(--ease);
  z-index: 5;
  white-space: nowrap;
}
.siteplan__tip.is-on { opacity: 1; }
.siteplan__tip::after {
  content: '';
  position: absolute;
  left: 50%; bottom: -5px;
  width: 8px; height: 8px;
  background: var(--ink);
  transform: translateX(-50%) rotate(45deg);
}

