:root {
  --bg: #0b1016;
  --bg-soft: #101823;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-strong: rgba(255, 255, 255, 0.09);
  --surface-border: rgba(255, 255, 255, 0.12);
  --text: #f1ede5;
  --text-muted: #c9c0b1;
  --text-soft: #a99f92;
  --bronze: #c89d61;
  --bronze-accessible: #ddb47c;
  --stone: #efe4d3;
  --green: #8fa98f;
  --green-accessible: #b8d3b8;
  --danger: #ff857a;
  --success: #7fd3aa;
  --shadow: 0 28px 60px rgba(0, 0, 0, 0.28);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: min(1180px, calc(100vw - 2rem));
  --section-space: clamp(4rem, 7vw, 7rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 0;
  font-family: "Sora", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(200, 157, 97, 0.16), transparent 34%),
    linear-gradient(180deg, #0b1016 0%, #0d141d 42%, #101823 100%);
  line-height: 1.7;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--bronze-accessible);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover,
a:focus-visible {
  color: var(--stone);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

p,
li,
td,
th,
.chip,
.meta-row,
.notice,
.faq-answer,
.table-note,
.footer-copy {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  z-index: 1000;
  padding: 0.8rem 1rem;
  background: var(--stone);
  color: #15110d;
  border-radius: 999px;
}

.skip-link:focus {
  left: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(7, 11, 16, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid rgba(200, 157, 97, 0.45);
  background: linear-gradient(180deg, rgba(200, 157, 97, 0.26), rgba(200, 157, 97, 0.04));
  font-size: 0.8rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.brand-logo {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.5rem;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-text {
  display: grid;
  gap: 0.12rem;
}

.brand-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1;
}

.brand-tagline {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  height: 2.9rem;
  border: 1px solid var(--surface-border);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
}

/* Hamburger icon (turns into an X when the menu is open) */
.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  display: block;
  width: 1.15rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 180ms ease, background-color 180ms ease;
}
.nav-toggle-icon { position: relative; }
.nav-toggle-icon::before,
.nav-toggle-icon::after { position: absolute; left: 0; }
.nav-toggle-icon::before { top: -6px; }
.nav-toggle-icon::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after { transform: translateY(-6px) rotate(-45deg); }

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  display: inline-flex;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
}

.nav-menu a:hover,
.nav-menu a:focus-visible,
.nav-menu a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

/* The actual link row is the <ul> inside <nav class="nav-menu"> — lay it out horizontally */
.nav-menu ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu li { margin: 0; }
.nav-menu a.nav-cta {
  background: linear-gradient(135deg, var(--bronze), #ddb988);
  color: #17120c;
  font-weight: 600;
  padding: 0.5rem 1.1rem;
}
.nav-menu a.nav-cta:hover,
.nav-menu a.nav-cta:focus-visible {
  background: linear-gradient(135deg, #ddb988, var(--bronze));
  color: #17120c;
}

/* Keep the full nav on ONE row from 1025px up (no mid-width wrap), so the only
   nav transitions are the two standard breakpoints: 1024 (collapse) and 640. */
@media (min-width: 1025px) {
  .nav-wrap { flex-wrap: nowrap; }
  .nav-menu,
  .nav-menu ul { flex-wrap: nowrap; gap: 0.15rem; }
  .nav-menu a { padding: 0.45rem 0.55rem; }
  .nav-menu a.nav-cta { padding: 0.45rem 0.9rem; }
}
@media (max-width: 1024px) {
  .nav-menu ul { flex-direction: column; align-items: stretch; width: 100%; }
}

.page-main {
  padding-bottom: 3rem;
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 8vw, 7rem) 0 clamp(3.5rem, 7vw, 5.5rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(11, 16, 22, 0.96), rgba(11, 16, 22, 0.78)),
    linear-gradient(180deg, rgba(11, 16, 22, 0.45), rgba(11, 16, 22, 0.94));
  pointer-events: none;
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 14rem;
  background:
    linear-gradient(180deg, rgba(11, 16, 22, 0), rgba(11, 16, 22, 0.92)),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.03) 0,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px,
      transparent 96px
    );
  pointer-events: none;
}

.hero-media,
.page-hero-media {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-media img,
.page-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.3;
  transform: scale(1.03);
  pointer-events: none;
}

.hero-content,
.page-hero-content {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.85fr);
  gap: 2rem;
  align-items: end;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(200, 157, 97, 0.28);
  background: rgba(255, 255, 255, 0.04);
  color: var(--stone);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
}

.section-intro > .eyebrow {
  justify-self: start;
}

.eyebrow::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--bronze);
  box-shadow: 0 0 24px rgba(200, 157, 97, 0.8);
}

h1,
h2,
h3 {
  margin: 0 0 0.9rem;
  font-family: "Cormorant Garamond", serif;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

h1 {
  max-width: 14ch;
  font-size: clamp(3rem, 7vw, 5.6rem);
}

.hero h1,
.page-hero h1 {
  text-shadow:
    0 2px 32px rgba(0, 0, 0, 0.55),
    0 1px 3px rgba(0, 0, 0, 0.65);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h3 {
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
}

.hero-copy p,
.page-hero-copy p,
.section-intro p {
  max-width: 68ch;
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.hero .hero-copy p,
.page-hero .section-intro p {
  color: var(--text);
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.55);
}

.hero .chip,
.page-hero .meta-row span {
  background: rgba(11, 16, 22, 0.72);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--text);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.75rem;
}

.button,
.button-secondary,
.button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.25rem;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button {
  background: linear-gradient(135deg, var(--bronze), #ddb988);
  color: #17120c;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--text);
}

.button-ghost {
  background: transparent;
  border-color: rgba(200, 157, 97, 0.26);
  color: var(--bronze-accessible);
}

.button:hover,
.button-secondary:hover,
.button-ghost:hover,
.button:focus-visible,
.button-secondary:focus-visible,
.button-ghost:focus-visible {
  transform: translateY(-2px);
}

.hero-panel,
.surface-panel {
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--surface-border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03)),
    rgba(11, 16, 22, 0.78);
  box-shadow: var(--shadow);
}

.hero-panel h2,
.surface-panel h2 {
  font-size: 1.9rem;
  margin-bottom: 0.5rem;
}

.chip-row,
.meta-row,
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.chip,
.meta-row span,
.pill-list span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2rem;
  padding: 0.42rem 0.78rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 0.84rem;
}

.hero-panel .price-line {
  margin: 0.85rem 0 1rem;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--stone);
}

.hero-panel .price-line small {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.88rem;
  color: var(--text-soft);
  font-weight: 500;
}

.hero-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.2rem;
}

.hero-kpi {
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
}

.hero-kpi strong,
.stat-card strong,
.mini-stat strong {
  display: block;
  font-size: 1.4rem;
  color: var(--stone);
  line-height: 1.15;
}

.hero-kpi span,
.stat-card span,
.mini-stat span {
  font-size: 0.88rem;
  color: var(--text-soft);
}

.section {
  padding: var(--section-space) 0;
}

.section.alt-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}

.section-intro {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 2rem;
}

.section-intro.narrow {
  max-width: 60rem;
}

.split-layout,
.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 1.25rem;
}

.split-layout {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.stat-card,
.timeline-card,
.info-card,
.plan-card,
.faq-item,
.quote-card,
.contact-aside,
.gallery-card {
  min-width: 0;
  padding: 1.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--surface-border);
  background: var(--surface);
}

.card p,
.stat-card p,
.timeline-card p,
.info-card p,
.plan-card p,
.quote-card p,
.contact-aside p,
.gallery-card p {
  margin: 0.6rem 0 0;
  color: var(--text-muted);
}

.stat-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 12.5rem;
}

.mini-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.95rem;
}

.mini-stat {
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.compare-table,
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--surface-border);
  background: rgba(255, 255, 255, 0.03);
}

.compare-table th,
.compare-table td,
.pricing-table th,
.pricing-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  vertical-align: top;
}

.compare-table th,
.pricing-table th {
  color: var(--stone);
  font-weight: 600;
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
}

.table-note,
.notice {
  margin-top: 1rem;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.figure-frame,
.image-stack img,
.gallery-card img,
.plan-card img,
.contact-visual img {
  border-radius: var(--radius-lg);
}

.figure-frame {
  padding: 1rem;
  border: 1px solid var(--surface-border);
  background: rgba(255, 255, 255, 0.04);
}

.figure-frame figcaption {
  margin-top: 0.9rem;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.image-stack {
  display: grid;
  gap: 1rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-card {
  padding: 0.85rem;
}

.gallery-card.large {
  grid-column: span 7;
}

.gallery-card.small {
  grid-column: span 5;
}

.gallery-card h3 {
  margin-top: 0.95rem;
}

.zone-list,
.pros-cons,
.checklist,
.info-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.zone-list li,
.pros-cons li,
.checklist li,
.info-list li {
  padding-left: 1.25rem;
  position: relative;
  color: var(--text-muted);
}

.zone-list li::before,
.pros-cons li::before,
.checklist li::before,
.info-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--bronze);
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline-card {
  position: relative;
  padding-left: 1.4rem;
}

.timeline-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--green);
}

.timeline-card strong {
  color: var(--stone);
}

.faq-list {
  display: grid;
  gap: 0.9rem;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--stone);
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
}

.faq-question::after {
  content: "+";
  flex: none;
  font-size: 1.3rem;
  color: var(--bronze-accessible);
}

.faq-question[aria-expanded="true"]::after {
  content: "-";
}

.faq-answer {
  margin-top: 0.9rem;
  color: var(--text-muted);
}

.cta-band {
  padding: 2rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(200, 157, 97, 0.2);
  background:
    linear-gradient(140deg, rgba(200, 157, 97, 0.18), rgba(143, 169, 143, 0.08)),
    rgba(255, 255, 255, 0.03);
}

.cta-band h2 {
  max-width: 12ch;
}

.cta-band p {
  max-width: 62ch;
  color: var(--text-muted);
}

.page-breadcrumbs {
  margin-bottom: 1rem;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.page-breadcrumbs a {
  color: var(--text-soft);
  text-decoration: none;
}

.page-breadcrumbs a:hover,
.page-breadcrumbs a:focus-visible {
  color: var(--stone);
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 1.25rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field,
.contact-form fieldset {
  display: grid;
  gap: 0.45rem;
}

.field label,
.contact-form legend {
  color: var(--stone);
  font-size: 0.92rem;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(8, 12, 17, 0.74);
  color: var(--text);
  padding: 0.95rem 1rem;
}

.field textarea {
  min-height: 9rem;
  resize: vertical;
}

.contact-form fieldset {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 1rem;
}

.interest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
}

.interest-grid label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-muted);
}

.form-message {
  padding: 0.9rem 1rem;
  border-radius: 16px;
  font-size: 0.95rem;
}

.form-message.is-success {
  background: rgba(127, 211, 170, 0.12);
  border: 1px solid rgba(127, 211, 170, 0.3);
  color: #dff8ec;
}

.form-message.is-error {
  background: rgba(255, 133, 122, 0.12);
  border: 1px solid rgba(255, 133, 122, 0.3);
  color: #ffd7d2;
}

.site-footer {
  padding: 2.6rem 0 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 9, 13, 0.92);
}

.related-projects[data-related-projects-section] {
  padding: var(--section-space) 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(200, 157, 97, 0.16), transparent 28rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(6, 9, 13, 0.92));
  color: var(--text);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.related-projects[data-related-projects-section] .related-projects__inner {
  width: var(--container);
  max-width: none;
}

.related-projects[data-related-projects-section] .related-projects__header {
  display: grid;
  gap: 0.9rem;
  max-width: none !important;
  margin-bottom: 2rem;
  width: 100%;
}

.related-projects[data-related-projects-section] .related-projects__header::before {
  content: "Related Projects";
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.55rem;
  color: var(--bronze-accessible);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.related-projects[data-related-projects-section] .related-projects__header::after {
  content: "";
  display: block;
  width: 4rem;
  height: 1px;
  background: var(--bronze);
}

.related-projects[data-related-projects-section] .related-projects__header h2 {
  color: var(--stone);
  max-width: none !important;
  display: block;
  width: 100%;
}

.related-projects[data-related-projects-section] .related-projects__header p {
  max-width: 46rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
}

.related-projects[data-related-projects-section] .related-projects__grid {
  gap: 1.25rem;
}

.related-projects[data-related-projects-section] .related-projects__card {
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: none;
}

.related-projects[data-related-projects-section] .related-projects__card:hover {
  border-color: rgba(200, 157, 97, 0.5);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.related-projects[data-related-projects-section] .related-projects__image {
  aspect-ratio: 16 / 11;
  border-bottom: 1px solid var(--surface-border);
}

.related-projects[data-related-projects-section] .related-projects__body {
  padding: 1.35rem;
}

.related-projects[data-related-projects-section] .related-projects__meta {
  margin-bottom: 0.65rem;
  color: var(--bronze-accessible);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.related-projects[data-related-projects-section] .related-projects__body h3 {
  color: var(--stone);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.25;
}

.related-projects[data-related-projects-section] .related-projects__body h3 a:hover {
  color: var(--bronze-accessible);
  text-decoration: none;
}

.related-projects[data-related-projects-section] .related-projects__body p:last-child {
  margin-top: 0.7rem;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.68;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.9fr 0.95fr;
  gap: 1.4rem;
}

.footer-heading {
  margin: 0 0 0.85rem;
  color: var(--stone);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--stone);
}

.footer-copy {
  margin-top: 1.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #8f877b;
  font-size: 0.88rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1024px) {
  .hero-grid,
  .split-layout,
  .contact-shell,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-card.large,
  .gallery-card.small {
    grid-column: span 6;
  }
}

@media (max-width: 1024px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-menu {
    position: absolute;
    inset: calc(100% + 0.5rem) 1rem auto 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: 22px;
    background: rgba(8, 12, 17, 0.98);
    border: 1px solid var(--surface-border);
    box-shadow: var(--shadow);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu a {
    justify-content: center;
  }

  .hero-kpis,
  .grid-3,
  .grid-2,
  .form-grid,
  .footer-grid,
  .gallery-card.large,
  .gallery-card.small {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100vw - 1.2rem, 100%);
  }

  .site-header .container,
  .page-main .container,
  .site-footer .container {
    width: min(100vw - 1.2rem, 100%);
  }

  .nav-wrap {
    min-height: 4.5rem;
  }

  .brand-name {
    font-size: 1.45rem;
  }

  .hero,
  .page-hero {
    padding-top: 4rem;
  }

  h1 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .hero-panel,
  .surface-panel,
  .cta-band,
  .card,
  .stat-card,
  .timeline-card,
  .info-card,
  .plan-card,
  .faq-item,
  .quote-card,
  .contact-aside,
  .gallery-card {
    padding: 1.1rem;
  }

  .button,
  .button-secondary,
  .button-ghost {
    width: 100%;
  }
}

/* Subpage inline FAQ (added by scripts/migration/inline-faqs.mjs) */
#faq > .container,
#faq > .container.prose {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.25rem, 4vw, 2rem);
  padding-right: clamp(1.25rem, 4vw, 2rem);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.faq-item {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  padding: 1rem 1.25rem;
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: rgba(15, 23, 42, 0.25);
}

.faq-item > summary {
  cursor: pointer;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.45;
  list-style: none;
  padding-right: 1.5rem;
  position: relative;
}

.faq-item > summary::-webkit-details-marker { display: none; }

.faq-item > summary::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 0.6rem;
  height: 0.6rem;
  border-right: 2px solid rgba(15, 23, 42, 0.6);
  border-bottom: 2px solid rgba(15, 23, 42, 0.6);
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-item[open] > summary::after {
  transform: translateY(-25%) rotate(-135deg);
}

.faq-item > p {
  margin: 0.75rem 0 0;
  color: rgba(15, 23, 42, 0.72);
  line-height: 1.65;
}

#faq > .container.prose > h2 {
  color: #0f172a;
  margin-bottom: 0.5rem;
}

/* a11y: focus indicator + reduced-motion */
.faq-item > summary,
#faq details.faq-item > summary {
  display: block;
}

.faq-item > summary:focus-visible,
#faq details.faq-item > summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .faq-item,
  #faq details.faq-item,
  .faq-item > summary::after,
  #faq details.faq-item > summary::after {
    transition: none;
  }
}


/* phase-b brand-text */
.brand-logo-img { display: block; width: 48px; height: 48px; object-fit: contain; flex: 0 0 48px; filter: none !important; }
.brand-text { display: inline-flex; flex-direction: column; line-height: 1.15; gap: 0; margin-left: 0; color: inherit; text-decoration: none; }
.brand-developer { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; opacity: 0.7; }
.brand-project { font-size: 1rem; font-weight: 700; }
a:has(> .brand-text), a.nav-logo, a.footer-logo, a.footer-brand, a.navbar_logo-link, a.footer_logo-link, a.navbar__brand, a.brand { display: inline-flex; align-items: center; gap: 4px; text-decoration: none; color: inherit; }

/* fleet: nav links title-case + 12px (2026-06-05) */
.nav-menu a:not([class*="cta"]):not([class*="btn"]):not([class*="button"]){font-size:12px !important;text-transform:none !important}

/* fleet: nav collapses at tablet 1024 (2026-06-05) */
@media(min-width:1025px){.nav-menu{display:flex !important}.nav-toggle{display:none !important}}
@media(max-width:1024px){.nav-menu{display:none !important}.nav-toggle{display:inline-flex !important}.nav-menu.is-open,.is-open .nav-menu,.nav-menu.open,.open .nav-menu,.nav-menu.active,.active .nav-menu,.nav-menu.w--open,.w--open .nav-menu,.nav-menu.on,.on .nav-menu,.nav-menu.visible,.visible .nav-menu,.nav-menu.is-visible,.is-visible .nav-menu,.nav-menu.expanded,.expanded .nav-menu,.nav-menu.show,.show .nav-menu,.nav-menu.shown,.shown .nav-menu,.nav-menu.opened,.opened .nav-menu,.nav-menu.menu-open,.menu-open .nav-menu,.nav-menu.nav-open,.nav-open .nav-menu,.nav-menu[data-nav-menu-open]{display:flex !important;flex-direction:column !important}}

/* fleet: nav brand text size cap — brand NAME <=15px so no logo text exceeds 16px (2026-06-06) */
[class*="brand-project"],[class*="brand-name"],[class*="brand-title"],[class*="brand-lockup__name"]{font-size:15px !important}
[class*="brand-developer"]{font-size:11px !important}
/* Brand lockup split-line convention */
.brand-text,
.footer-brand-text,
.sow-nav__brand-text,
.sow-footer__brand-text {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  line-height: 1.08;
  min-width: 0;
}
/* Brand lockup hierarchy convention */
[class*="brand-developer"],
[class*="brand-title"],
[class*="brand-lockup__eyebrow"] {
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.03em !important;
  line-height: 1.05 !important;
  text-transform: none !important;
}

[class*="brand-project"],
[class*="brand-subtitle"],
[class*="brand-name"],
[class*="brand-lockup__name"] {
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  line-height: 1.08 !important;
  text-transform: none !important;
}
