/* ==========================================================================
   Prestige Airport Road — stylesheet (mobile-first)
   Design tokens are defined on :root. No external fonts are loaded.
   ========================================================================== */

:root {
  /* Colour */
  --c-ink: #14202e;          /* deep navy — primary text & dark surfaces */
  --c-ink-2: #1e2d3f;
  --c-body: #2f3a47;
  --c-muted: #5b6573;
  --c-bg: #fbf9f5;           /* warm white */
  --c-bg-alt: #f3efe7;
  --c-surface: #ffffff;
  --c-line: #e3ddd1;
  --c-gold: #b8955b;         /* decorative accent / buttons on dark */
  --c-gold-strong: #7d5f2e;  /* accessible gold for text on light (AA) */
  --c-gold-soft: #f4ecdd;
  --c-on-dark: #f6f2ea;
  --c-on-dark-muted: #c9cfd8;
  --c-warn-bg: #fdf3e2;
  --c-warn-line: #d69a3a;
  --c-warn-ink: #6b4608;
  --c-info-bg: #eef3f8;
  --c-info-line: #7d97b3;
  --c-error: #a3261b;
  --c-success: #1f6b3a;
  --c-focus: #1a5fb4;

  /* Typography */
  --f-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --f-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lead: 1.125rem;
  --fs-h3: 1.2rem;
  --fs-h2: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem);
  --fs-h1: clamp(2.1rem, 1.5rem + 3vw, 3.6rem);

  /* Spacing */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4.5rem;

  /* Shape */
  --radius: 10px;
  --radius-sm: 6px;
  --shadow-sm: 0 1px 2px rgba(20, 32, 46, 0.06), 0 2px 8px rgba(20, 32, 46, 0.05);
  --shadow-md: 0 8px 30px rgba(20, 32, 46, 0.10);
  --container: 1240px;
  --header-h: 64px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--c-body);
  background: var(--c-bg);
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--f-serif); color: var(--c-ink); line-height: 1.2; font-weight: 600; margin: 0 0 var(--s-4); letter-spacing: -0.01em; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 var(--s-4); }
ul, ol { margin: 0 0 var(--s-4); padding-left: 1.25rem; }
a { color: var(--c-gold-strong); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--c-ink); }
strong { color: var(--c-ink); }
address { font-style: normal; }
mark.owner-field { background: #fff1bf; color: #4d3a00; padding: 0 0.2em; border-radius: 3px; }

:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 2px; border-radius: 2px; }
main:focus { outline: none; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 1000;
  background: var(--c-ink); color: #fff; padding: var(--s-3) var(--s-4); border-radius: var(--radius-sm);
}
.skip-link:focus { top: var(--s-3); color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 820px; }
.small { font-size: var(--fs-sm); color: var(--c-muted); }
.muted { color: var(--c-muted); }

/* ---------- Info bar ---------- */
.info-bar { background: var(--c-ink); color: var(--c-on-dark-muted); font-size: 0.78rem; letter-spacing: 0.02em; }
.info-bar p { margin: 0; padding: 6px 0; display: flex; flex-wrap: wrap; gap: 0 var(--s-2); justify-content: center; text-align: center; }
.info-bar .sep { color: var(--c-gold); }
.hide-sm { display: none; }

/* ---------- Header & navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 249, 245, 0.97);
  border-bottom: 1px solid var(--c-line);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(251, 249, 245, 0.88); backdrop-filter: blur(8px); }
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: var(--s-4); flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: var(--s-3); text-decoration: none; color: var(--c-ink); flex: 1 1 0; min-width: 0; }
@media (min-width: 1240px) { .brand { flex: 0 0 auto; } }
.brand-mark { width: 34px; height: 34px; color: var(--c-gold-strong); flex: none; }
.brand-text { font-family: var(--f-serif); font-size: 1.12rem; font-weight: 600; line-height: 1.15; display: flex; flex-direction: column; }
.brand-text small { font-family: var(--f-sans); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-muted); margin-top: 2px; }
@media (min-width: 600px) { .brand-text small { white-space: nowrap; } }

.nav-toggle {
  display: none; align-items: center; gap: var(--s-2);
  min-height: 44px; padding: 0 var(--s-3);
  background: transparent; border: 1px solid var(--c-line); border-radius: var(--radius-sm);
  color: var(--c-ink); font: inherit; font-size: var(--fs-sm); font-weight: 600; cursor: pointer;
}
.nav-toggle-box { display: inline-flex; flex-direction: column; gap: 4px; width: 18px; }
.nav-toggle-box span { height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] .nav-toggle-box span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-box span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-box span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* No-JS: nav is always visible below the brand. */
.site-nav { width: 100%; padding-bottom: var(--s-3); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 var(--s-1); }
.site-nav a:not(.btn) {
  display: flex; align-items: center; min-height: 44px; padding: 0 var(--s-3);
  color: var(--c-ink); text-decoration: none; font-size: 0.95rem; font-weight: 500; border-radius: var(--radius-sm); white-space: nowrap;
}
.site-nav a:not(.btn):hover { background: var(--c-bg-alt); }
.site-nav a[aria-current="page"] { color: var(--c-gold-strong); box-shadow: inset 0 -2px 0 var(--c-gold); }
.nav-cta { margin-top: var(--s-3); }

/* JS enhanced mobile menu */
.js .nav-toggle { display: inline-flex; }
.js .site-nav { display: none; }
.js .site-nav.is-open { display: block; }
.js .site-nav ul { flex-direction: column; border-top: 1px solid var(--c-line); padding-top: var(--s-2); }
.js .site-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--c-gold); }
.js .nav-cta { display: flex; }

@media (min-width: 1240px) {
  .header-inner { flex-wrap: nowrap; }
  .js .nav-toggle { display: none; }
  .site-nav, .js .site-nav { display: flex; align-items: center; gap: var(--s-4); width: auto; padding: 0; }
  .site-nav ul, .js .site-nav ul { flex-direction: row; flex-wrap: nowrap; border: 0; padding: 0; }
  .site-nav a:not(.btn) { padding: 0 var(--s-2); font-size: 0.9rem; }
  .js .site-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--c-gold); }
  .nav-cta, .js .nav-cta { margin: 0; display: inline-flex; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 48px; padding: 0 var(--s-5);
  font: inherit; font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em;
  border-radius: var(--radius-sm); border: 1px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--c-gold); color: var(--c-ink); }
.btn-gold:hover { background: #c9a86f; color: var(--c-ink); }
.btn-primary { background: var(--c-ink); color: #fff; }
.btn-primary:hover { background: var(--c-ink-2); color: #fff; }
.btn-ghost-light { background: transparent; color: var(--c-on-dark); border-color: rgba(246, 242, 234, 0.5); }
.btn-ghost-light:hover { background: rgba(246, 242, 234, 0.1); color: #fff; border-color: var(--c-on-dark); }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.65; cursor: progress; }

.text-link { font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.section-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); margin-top: var(--s-5); }

/* ---------- Badges ---------- */
.badge {
  display: inline-block; font-family: var(--f-sans); font-size: 0.72rem; font-weight: 600; line-height: 1.4;
  letter-spacing: 0.03em; padding: 2px 8px; border-radius: 999px; border: 1px solid; white-space: nowrap; vertical-align: middle;
}
.badge-pending { color: var(--c-warn-ink); background: var(--c-warn-bg); border-color: #e9c589; }
.badge-estimate { color: #3d4c63; background: var(--c-info-bg); border-color: #c3d0df; }
.badge-supplied { color: #3b4636; background: #eef2ea; border-color: #c8d3bf; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--c-on-dark);
  background:
    radial-gradient(ellipse at 85% 10%, rgba(184, 149, 91, 0.22), transparent 55%),
    linear-gradient(160deg, #14202e 0%, #1c2c40 60%, #22354c 100%);
  padding: var(--s-7) 0;
}
/* Decorative, abstract line pattern (not a project render). */
.hero-art {
  position: absolute; inset: 0; opacity: 0.12; pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(246, 242, 234, 0.6) 1px, transparent 1px),
    linear-gradient(0deg, rgba(246, 242, 234, 0.35) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(115deg, transparent 35%, #000 100%);
  mask-image: linear-gradient(115deg, transparent 35%, #000 100%);
}
.hero-grid { position: relative; display: grid; gap: var(--s-6); align-items: center; }
.hero h1 { color: #fff; margin-bottom: var(--s-4); }
.hero-lead { font-size: var(--fs-lead); color: var(--c-on-dark-muted); max-width: 38rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin: var(--s-5) 0 var(--s-4); }
.hero-actions .btn { flex: 1 1 200px; }
.hero-note { font-size: var(--fs-sm); color: var(--c-on-dark-muted); margin: 0; }
.eyebrow {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--c-gold-strong); margin-bottom: var(--s-3);
}
.eyebrow-light { color: var(--c-gold); }

/* Slider */
.slider {
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(246, 242, 234, 0.18);
  border-radius: var(--radius); padding: var(--s-5);
}
.slide + .slide { margin-top: var(--s-5); padding-top: var(--s-5); border-top: 1px solid rgba(246, 242, 234, 0.15); }
.js .slider .slide { display: none; margin: 0; padding: 0; border: 0; }
.js .slider .slide.is-active { display: block; animation: fade .5s ease; }
.slide-kicker { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-gold); margin-bottom: var(--s-2); font-weight: 700; }
.slide-title { font-family: var(--f-serif); font-size: 1.5rem; line-height: 1.25; color: #fff; margin-bottom: var(--s-3); }
.slide-text { color: var(--c-on-dark-muted); margin: 0; min-height: 3.3em; }
.slider-controls { display: flex; align-items: center; gap: var(--s-2); margin-top: var(--s-5); }
.slider-controls[hidden] { display: none; }
.slider-btn {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: var(--c-on-dark); border: 1px solid rgba(246, 242, 234, 0.4);
  border-radius: 50%; font-size: 1.2rem; line-height: 1; cursor: pointer;
}
.slider-btn:hover { background: rgba(246, 242, 234, 0.1); }
.slider-pause { font-size: 0.7rem; letter-spacing: -1px; }
.slider-count { margin-left: auto; font-size: var(--fs-sm); color: var(--c-on-dark-muted); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

@media (min-width: 900px) {
  .hero { padding: var(--s-8) 0; }
  .hero-grid { grid-template-columns: 1.25fr 1fr; gap: var(--s-8); }
  .hero-actions .btn { flex: 0 0 auto; }
}

/* ---------- Page hero (sub-pages) ---------- */
.page-hero { background: var(--c-bg-alt); border-bottom: 1px solid var(--c-line); padding: var(--s-5) 0 var(--s-7); }
.page-hero-compact { padding-bottom: var(--s-6); }
.page-hero .lead { font-size: var(--fs-lead); max-width: 46rem; }
.lead { font-size: var(--fs-lead); }
.hero-badges { list-style: none; padding: 0; margin: var(--s-4) 0 0; display: flex; flex-wrap: wrap; gap: var(--s-2); }

.breadcrumb ol { list-style: none; padding: 0; margin: 0 0 var(--s-5); display: flex; flex-wrap: wrap; font-size: var(--fs-sm); }
.breadcrumb li { display: flex; align-items: center; color: var(--c-muted); }
.breadcrumb li + li::before { content: "/"; margin: 0 var(--s-2); color: var(--c-gold); }
.breadcrumb a { color: var(--c-muted); }
.breadcrumb a:hover { color: var(--c-ink); }
.breadcrumb [aria-current] { color: var(--c-ink); font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: var(--s-7) 0; }
.section-alt { background: var(--c-bg-alt); }
.section-intro { max-width: 46rem; margin-bottom: var(--s-5); }
@media (min-width: 900px) { .section { padding: var(--s-8) 0; } }

.split { display: grid; gap: var(--s-6); align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1.2fr 1fr; gap: var(--s-7); } }

.disclaimer-slot { padding-top: var(--s-6); padding-bottom: var(--s-2); }

/* ---------- Stats ---------- */
.stat-grid { list-style: none; padding: 0; margin: 0 0 var(--s-6); display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-3); }
.stat {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: var(--s-4); display: flex; flex-direction: column; gap: var(--s-1); align-items: flex-start;
}
.stat-value { font-family: var(--f-serif); font-size: 1.45rem; color: var(--c-ink); line-height: 1.2; font-weight: 600; }
.stat-label { font-size: var(--fs-sm); color: var(--c-muted); margin-bottom: var(--s-2); }
@media (min-width: 700px) { .stat-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-4); } }
@media (min-width: 1000px) { .stat-grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Cards ---------- */
.card-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-4); }
@media (min-width: 700px) { .card-grid-2, .card-grid-3, .card-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .card-grid-3 { grid-template-columns: repeat(3, 1fr); } .card-grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: var(--s-5); box-shadow: var(--shadow-sm); }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.plain-list { list-style: none; padding: 0; }
.plain-list li { padding: var(--s-2) 0; border-bottom: 1px solid var(--c-line); }
.plain-list li:last-child { border-bottom: 0; }

.unit-cards { list-style: none; padding: 0; margin: 0 0 var(--s-5); display: grid; gap: var(--s-4); }
@media (min-width: 700px) { .unit-cards { grid-template-columns: repeat(3, 1fr); } }
.unit-card { background: var(--c-surface); border: 1px solid var(--c-line); border-top: 3px solid var(--c-gold); border-radius: var(--radius); padding: var(--s-5); }
.unit-card h3 { margin-bottom: var(--s-2); }
.unit-size { font-family: var(--f-serif); font-size: 1.35rem; color: var(--c-ink); margin-bottom: var(--s-1); }
.unit-card .small { margin: 0; }

.link-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-3); }
@media (min-width: 700px) { .link-cards { grid-template-columns: repeat(3, 1fr); } }
.link-card {
  display: flex; flex-direction: column; gap: var(--s-1); height: 100%;
  padding: var(--s-4) var(--s-5); background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius);
  text-decoration: none; color: var(--c-body); transition: border-color .2s, box-shadow .2s;
}
.link-card:hover { border-color: var(--c-gold); box-shadow: var(--shadow-md); color: var(--c-body); }
.link-card-title { font-family: var(--f-serif); font-size: 1.1rem; color: var(--c-ink); font-weight: 600; }
.link-card-title::after { content: " →"; color: var(--c-gold-strong); }
.link-card-text { font-size: var(--fs-sm); color: var(--c-muted); }

/* ---------- Lists ---------- */
.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 1.75rem; margin-bottom: var(--s-2); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.55em; width: 0.9rem; height: 0.5rem;
  border-left: 2px solid var(--c-gold-strong); border-bottom: 2px solid var(--c-gold-strong); transform: rotate(-45deg);
}

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; margin: 0 0 var(--s-5); border: 1px solid var(--c-line); border-radius: var(--radius); background: var(--c-surface); -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 520px; }
.data-table caption { text-align: left; padding: var(--s-3) var(--s-4); font-weight: 600; color: var(--c-ink); background: var(--c-gold-soft); border-bottom: 1px solid var(--c-line); }
.data-table th, .data-table td { text-align: left; padding: var(--s-3) var(--s-4); border-bottom: 1px solid var(--c-line); vertical-align: top; }
.data-table thead th { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-muted); font-weight: 700; }
.data-table tbody th { color: var(--c-ink); font-weight: 600; }
.data-table tbody tr:last-child th, .data-table tbody tr:last-child td { border-bottom: 0; }

/* ---------- Notices & placeholders ---------- */
.notice { display: flex; gap: var(--s-3); padding: var(--s-4) var(--s-5); border-radius: var(--radius); border: 1px solid; border-left-width: 4px; margin: 0 0 var(--s-5); }
.notice p:last-child { margin-bottom: 0; }
.notice-title { font-weight: 700; color: var(--c-ink); margin-bottom: var(--s-1); }
.notice-icon {
  flex: none; width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem; font-family: var(--f-serif); margin-top: 2px;
}
.notice-warn { background: var(--c-warn-bg); border-color: var(--c-warn-line); color: #4c3a1c; }
.notice-warn .notice-icon { background: var(--c-warn-line); color: #fff; }
.notice-info { background: var(--c-info-bg); border-color: var(--c-info-line); }
.notice-info .notice-icon { background: var(--c-info-line); color: #fff; }

.placeholder-panel {
  border: 1px dashed #c9b893; border-radius: var(--radius); padding: var(--s-6) var(--s-5);
  background: repeating-linear-gradient(135deg, var(--c-surface), var(--c-surface) 12px, #faf6ee 12px, #faf6ee 24px);
  text-align: center;
}
.placeholder-wide { padding: var(--s-7) var(--s-5); }
.placeholder-title { font-family: var(--f-serif); font-size: 1.25rem; color: var(--c-ink); font-weight: 600; margin-bottom: var(--s-2); }
.placeholder-panel p:last-child { margin: 0; color: var(--c-muted); }

.empty-state { text-align: center; max-width: 560px; margin: 0 auto; padding: var(--s-7) var(--s-5); border: 1px dashed #c9b893; border-radius: var(--radius); background: var(--c-surface); }
.empty-state svg { color: var(--c-gold-strong); margin: 0 auto var(--s-4); }
.empty-title { font-family: var(--f-serif); font-size: 1.35rem; color: var(--c-ink); font-weight: 600; margin-bottom: var(--s-2); }

.address-block { font-family: var(--f-serif); font-size: 1.25rem; color: var(--c-ink); padding: var(--s-4) var(--s-5); border-left: 3px solid var(--c-gold); background: var(--c-surface); margin-bottom: var(--s-4); }

/* ---------- Timeline ---------- */
.timeline { border-left: 2px solid var(--c-line); margin: var(--s-5) 0; padding-left: var(--s-5); }
.timeline-item { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); padding: var(--s-3) 0; }
.timeline-item::before { content: ""; position: absolute; left: calc(-1 * var(--s-5) - 7px); top: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--c-gold); transform: translateY(-50%); border: 2px solid var(--c-bg); }
.section-alt .timeline-item::before { border-color: var(--c-bg-alt); }
.timeline-date { font-family: var(--f-serif); font-weight: 600; color: var(--c-ink); min-width: 12rem; }
.timeline-label { color: var(--c-muted); }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--c-line); }
.faq-item { border-bottom: 1px solid var(--c-line); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-4);
  padding: var(--s-4) 0; min-height: 56px; cursor: pointer; list-style: none;
  font-family: var(--f-serif); font-size: 1.08rem; font-weight: 600; color: var(--c-ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; flex: none; width: 16px; height: 16px; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; background: var(--c-gold-strong); transition: transform .2s; }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0); }
.faq-answer { padding: 0 0 var(--s-4); max-width: 46rem; }
.faq-answer p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--c-ink); color: var(--c-on-dark); padding: var(--s-7) 0; }
.cta-band h2 { color: #fff; }
.cta-band-inner { display: grid; gap: var(--s-5); align-items: center; }
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }
@media (min-width: 900px) { .cta-band-inner { grid-template-columns: 1.5fr 1fr; } .cta-actions { justify-content: flex-end; } }

/* ---------- Enquiry form ---------- */
.section-form { background: var(--c-ink); color: var(--c-on-dark-muted); }
.section-form h2 { color: #fff; }
.section-form .eyebrow { color: var(--c-gold); }
.section-form .check-list li::before { border-color: var(--c-gold); }
.section-form .small { color: var(--c-on-dark-muted); }
.form-layout { display: grid; gap: var(--s-6); align-items: start; }
@media (min-width: 900px) { .form-layout { grid-template-columns: 1fr 1.1fr; gap: var(--s-8); } }

.enquiry-form {
  background: var(--c-surface); color: var(--c-body); border-radius: var(--radius); padding: var(--s-5);
  box-shadow: var(--shadow-md); display: grid; gap: var(--s-4);
}
@media (min-width: 600px) { .enquiry-form { padding: var(--s-6); } }
.enquiry-form .small { color: var(--c-muted); margin: 0; }
.field { display: flex; flex-direction: column; gap: var(--s-1); margin: 0; }
.field label, .field legend { font-weight: 600; color: var(--c-ink); font-size: 0.95rem; }
.optional { font-weight: 400; color: var(--c-muted); font-size: var(--fs-sm); }
.req { color: var(--c-error); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select {
  width: 100%; min-height: 48px; padding: var(--s-2) var(--s-3);
  font: inherit; font-size: 16px; color: var(--c-ink);
  background: #fff; border: 1px solid #b9b2a5; border-radius: var(--radius-sm);
}
.field input:focus, .field select:focus { border-color: var(--c-focus); outline: 3px solid rgba(26, 95, 180, 0.25); outline-offset: 0; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--c-error); border-width: 2px; }
.field-hint { font-size: 0.8rem; color: var(--c-muted); margin: 0; }
.field-error { font-size: 0.85rem; color: var(--c-error); font-weight: 600; margin: 0; }
.field-error::before { content: "⚠ "; }
.field-radios { border: 0; padding: 0; }
.field-radios legend { padding: 0; margin-bottom: var(--s-2); }
.radio-row { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); }
.radio-row label { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; font-weight: 400; cursor: pointer; }
.radio-row input, .consent-label input { width: 20px; height: 20px; accent-color: var(--c-ink); flex: none; }
.consent-label { display: flex; gap: var(--s-3); align-items: flex-start; font-weight: 400 !important; font-size: 0.88rem !important; line-height: 1.5; color: var(--c-body) !important; cursor: pointer; }
.consent-label input { margin-top: 2px; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-status:empty { display: none; }
.form-status { padding: var(--s-3) var(--s-4); border-radius: var(--radius-sm); border: 1px solid; font-size: 0.92rem; }
.form-status p { margin: 0; }
.form-status.is-success { background: #eaf5ee; border-color: #8cc2a0; color: var(--c-success); }
.form-status.is-error { background: #fbecea; border-color: #e0a39c; color: var(--c-error); }
.form-status.is-notice { background: var(--c-warn-bg); border-color: var(--c-warn-line); color: var(--c-warn-ink); }
.form-status.is-pending { background: var(--c-info-bg); border-color: var(--c-info-line); color: var(--c-ink); }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.4rem; margin-top: var(--s-6); }

/* ---------- Error page ---------- */
.error-page { min-height: 50vh; }
.error-page .link-cards { margin-top: var(--s-5); }
@media (min-width: 700px) { .error-page .link-cards { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Footer ---------- */
.site-footer { background: #0f1823; color: var(--c-on-dark-muted); padding: var(--s-7) 0 var(--s-5); font-size: 0.92rem; }
.site-footer a { color: var(--c-on-dark); }
.site-footer a:hover { color: var(--c-gold); }
.footer-grid { display: grid; gap: var(--s-6); }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand { font-family: var(--f-serif); font-size: 1.3rem; color: #fff; margin-bottom: var(--s-2); }
.footer-heading { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-gold); margin-bottom: var(--s-3); }
.footer-links ul { list-style: none; padding: 0; margin: 0 0 var(--s-5); }
.footer-links li { margin-bottom: var(--s-1); }
.footer-links a { display: inline-block; padding: 4px 0; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-status { font-size: var(--fs-sm); }
.footer-status strong { color: var(--c-on-dark); }
.footer-bottom { border-top: 1px solid rgba(246, 242, 234, 0.12); margin-top: var(--s-6); padding-top: var(--s-5); font-size: 0.8rem; }
.footer-bottom p { max-width: 62rem; }

/* ---------- Mobile sticky CTA (rendered only when a phone number is configured) ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2);
  padding: var(--s-2) 16px calc(var(--s-2) + env(safe-area-inset-bottom));
  background: var(--c-ink); box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.2);
}
.has-sticky-cta { padding-bottom: 68px; }
@media (min-width: 900px) { .sticky-cta { display: none; } .has-sticky-cta { padding-bottom: 0; } }

/* ---------- Consent banner (shown only when analytics is configured) ---------- */
.consent-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70; max-width: 520px;
  background: var(--c-surface); color: var(--c-body); border: 1px solid var(--c-line); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: var(--s-4) var(--s-5); font-size: 0.9rem;
}
.has-sticky-cta .consent-banner { bottom: 80px; }
.consent-banner p { margin-bottom: var(--s-3); }
.consent-actions { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.consent-actions .btn { min-height: 44px; padding: 0 var(--s-4); }
.btn-outline { background: transparent; color: var(--c-ink); border-color: var(--c-ink); }
.btn-outline:hover { background: var(--c-bg-alt); }

/* ---------- Larger screens ---------- */
@media (min-width: 600px) {
  .hide-sm { display: inline; }
  .container { padding: 0 24px; }
}

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

/* ---------- Print ---------- */
@media print {
  .site-header, .info-bar, .sticky-cta, .consent-banner, .section-form, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: #000; }
}

/* ---------- Gallery (renders only when approved images are configured) ---------- */
.gallery-grid { display: grid; gap: var(--s-4); }
@media (min-width: 700px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-item { margin: 0; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; }
.gallery-item img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.gallery-item figcaption { padding: var(--s-3) var(--s-4); font-size: var(--fs-sm); display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; }

/* ---------- Images & figures ---------- */
.media { margin: 0; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.media img { width: 100%; height: auto; aspect-ratio: 12 / 7; object-fit: cover; }
.media figcaption { padding: var(--s-2) var(--s-3); font-size: 0.8rem; color: var(--c-muted); display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-2); align-items: center; line-height: 1.4; }
.media-plan { box-shadow: none; margin: calc(-1 * var(--s-5)) calc(-1 * var(--s-5)) var(--s-4); border: 0; border-bottom: 1px solid var(--c-line); border-radius: var(--radius) var(--radius) 0 0; }
.media-plan img { aspect-ratio: 7 / 5; object-fit: contain; background: #fff; }
.media-wide { margin-top: var(--s-5); }
.media-wide img { aspect-ratio: auto; max-height: 460px; }
.with-media { display: grid; gap: var(--s-5); align-items: center; margin-bottom: var(--s-5); }
.with-media .section-intro { margin-bottom: 0; }
@media (min-width: 900px) { .with-media { grid-template-columns: 1.3fr 1fr; gap: var(--s-7); } }
.split-media { align-items: center; }
.media-grid { display: grid; gap: var(--s-4); margin: var(--s-5) 0; }
@media (min-width: 600px) { .media-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .media-grid-3 { grid-template-columns: repeat(3, 1fr); } .media-grid-4 { grid-template-columns: repeat(4, 1fr); } }
.gallery-grid .media img { aspect-ratio: 3 / 2; }

/* Hero background image (representative project visual) */
.hero-has-media { background: var(--c-ink); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 32, 46, 0.78) 0%, rgba(20, 32, 46, 0.88) 100%);
}
@media (min-width: 900px) {
  .hero-media::after { background: linear-gradient(90deg, rgba(20, 32, 46, 0.9) 0%, rgba(20, 32, 46, 0.55) 45%, rgba(20, 32, 46, 0.05) 100%); }
  .hero-has-media { min-height: 620px; display: flex; align-items: center; }
  .hero-has-media > .container { width: 100%; }
}
.hero-has-media .slider { background: rgba(20, 32, 46, 0.72); backdrop-filter: blur(6px); }
.hero-media-label { position: absolute; right: 16px; bottom: 12px; margin: 0; z-index: 1; }

/* Project-name link (first mention below the hero / H1 on each main page) */
.project-link, .ext-link { color: var(--c-gold-strong); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.project-link strong, .ext-link strong { color: inherit; font-weight: 700; }
.project-link:hover, .ext-link:hover { color: var(--c-ink); }
.hero-context { max-width: 46rem; color: var(--c-muted); margin: calc(-1 * var(--s-2)) 0 var(--s-4); }
.section-faq { border-top: 1px solid var(--c-line); }

/* ---------- Enquiry popup ---------- */
.modal-open, .modal-open body { overflow: hidden; }
.modal {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 16px; background: rgba(15, 24, 35, 0.72);
}
.modal[hidden] { display: none; }
.modal.is-open { animation: fade .2s ease; }
.modal-dialog {
  position: relative; width: 100%; max-width: 640px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
  overflow-y: auto; overscroll-behavior: contain;
  background: var(--c-surface); color: var(--c-body); border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35); padding: var(--s-6) var(--s-5) var(--s-5);
}
@media (min-width: 700px) { .modal-dialog { padding: var(--s-6) var(--s-6) var(--s-5); } }
.modal-close {
  position: absolute; top: 14px; right: 14px; width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--c-surface); color: var(--c-ink); border: 1px solid var(--c-line); border-radius: 50%;
  font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.modal-close:hover { background: var(--c-bg-alt); }
.modal-title { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); margin: 0 52px var(--s-2) 0; }
.modal-intro { color: var(--c-muted); margin-bottom: var(--s-5); }
.enquiry-form-modal { padding: 0; box-shadow: none; gap: var(--s-4); }
.modal-note { margin: 0; }

.phone-wrap { display: flex; align-items: stretch; }
.phone-prefix {
  display: inline-flex; align-items: center; padding: 0 var(--s-3);
  background: var(--c-bg-alt); color: var(--c-body); border: 1px solid #b9b2a5; border-right: 0;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm); font-weight: 500;
}
.phone-wrap input { border-radius: 0 var(--radius-sm) var(--radius-sm) 0 !important; min-width: 0; }
.field textarea {
  width: 100%; padding: var(--s-2) var(--s-3); font: inherit; font-size: 16px; color: var(--c-ink);
  background: #fff; border: 1px solid #b9b2a5; border-radius: var(--radius-sm); resize: vertical; min-height: 88px;
}
.field textarea:focus { border-color: var(--c-focus); outline: 3px solid rgba(26, 95, 180, 0.25); outline-offset: 0; }
.field input::placeholder, .field textarea::placeholder { color: #8a8f98; }

@media (max-width: 599px) {
  .modal { padding: 10px; align-items: flex-end; }
  .modal-dialog { max-height: calc(100vh - 20px); max-height: calc(100dvh - 20px); padding: var(--s-5) var(--s-4) var(--s-4); border-radius: var(--radius) var(--radius) var(--radius) var(--radius); }
  .modal-close { top: 10px; right: 10px; }
}
