/* ==========================================================
   Skyline Residences – luxury high-rise demo
   Palette: navy #0B1B2B · champagne gold #C9A66B · ivory #F6F1E7
   ========================================================== */

:root {
  --navy: #0b1b2b;
  --navy-2: #112b42;
  --navy-3: #1a3b58;
  --gold: #c9a66b;
  --gold-bright: #e0c08a;
  --gold-deep: #7a5a1e;
  --ivory: #f6f1e7;
  --ivory-2: #ede5d4;
  --ivory-3: #fbf8f1;

  --text-on-light: #0b1b2b;
  --muted-on-light: #48566a;
  --text-on-dark: #f6f1e7;
  --muted-on-dark: #b9c3ce;
  --line-light: rgba(11, 27, 43, 0.14);
  --line-dark: rgba(201, 166, 107, 0.28);

  --font-display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --font-body: "Jost", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-9: 6.5rem;

  --fs-body: 1.0625rem;
  --fs-small: 1rem;
  --fs-lead: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
  --fs-h1: clamp(2.5rem, 1.4rem + 4.6vw, 5rem);
  --fs-h2: clamp(2rem, 1.3rem + 2.8vw, 3.5rem);
  --fs-h3: clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem);

  --radius: 2px;
  --header-h: 72px;
  --focus: var(--gold-deep);
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 5rem;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--navy);
  color: var(--text-on-light);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.005em;
  text-wrap: balance;
}

p {
  margin: 0 0 var(--space-4);
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

dl,
dd,
dt {
  margin: 0;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.dark {
  --focus: var(--gold);
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -4rem;
  z-index: 100;
  padding: var(--space-3) var(--space-5);
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: var(--space-3);
}

.wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 1rem;
}

@media (min-width: 720px) {
  .wrap {
    padding-inline: 2rem;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.75rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}

.btn-gold:hover {
  opacity: 0.92;
}

.btn-ghost {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.btn-navy {
  background: var(--navy);
  color: var(--ivory);
}

.btn-sm {
  min-height: 44px;
  padding: 0.5rem 1.25rem;
  font-size: 0.8125rem;
}

.btn-block {
  width: 100%;
}

/* ---------- Header ---------- */
.site-header {
  position: relative;
  z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid var(--line-dark);
  color: var(--text-on-dark);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 44px;
  color: var(--gold);
  text-decoration: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--text-on-dark);
}

.brand-text small {
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  color: var(--gold);
}

.nav-desktop,
.header-cta {
  display: none;
}

.nav-mobile {
  position: relative;
}

.nav-mobile summary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 44px;
  padding: 0 var(--space-4);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  color: var(--gold-bright);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}

.nav-mobile summary::-webkit-details-marker {
  display: none;
}

.nav-mobile[open] summary {
  background: var(--navy-2);
}

.nav-mobile nav {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(88vw, 320px);
  padding: var(--space-3);
  background: var(--navy-2);
  border: 1px solid var(--line-dark);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.nav-mobile a:not(.btn) {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 var(--space-3);
  text-decoration: none;
  border-bottom: 1px solid rgba(246, 241, 231, 0.08);
}

.nav-mobile li:last-child {
  padding-top: var(--space-3);
}

@media (min-width: 960px) {
  .site-header {
    position: sticky;
    top: 0;
    background: rgba(11, 27, 43, 0.96);
  }

  .nav-mobile {
    display: none;
  }

  .nav-desktop {
    display: block;
  }

  .nav-desktop ul {
    display: flex;
    gap: var(--space-1);
  }

  .nav-desktop a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 var(--space-3);
    font-size: 0.9375rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--muted-on-dark);
  }

  .nav-desktop a:hover {
    color: var(--gold-bright);
  }

  .header-cta {
    display: inline-flex;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--text-on-dark);
}

.hero-art-wrap {
  position: relative;
  height: 400px;
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent);
  mask-image: linear-gradient(to bottom, #000 70%, transparent);
}

.hero-art {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-inner {
  position: relative;
  z-index: 2;
  margin-top: -3.5rem;
  padding-bottom: var(--space-8);
}

.eyebrow {
  margin-bottom: var(--space-4);
  color: var(--gold);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.eyebrow-dark {
  color: var(--gold-deep);
}

.hero h1 {
  font-size: var(--fs-h1);
  font-weight: 500;
  margin-bottom: var(--space-5);
}

.lead {
  max-width: 34rem;
  color: var(--muted-on-dark);
  font-size: var(--fs-lead);
  line-height: 1.6;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin: var(--space-6) 0 var(--space-5);
}

.hero-note {
  color: var(--muted-on-dark);
  font-size: var(--fs-small);
}

.hero-note a {
  color: var(--gold-bright);
  font-weight: 600;
}

@media (min-width: 960px) {
  .hero {
    min-height: min(820px, 92vh);
    display: flex;
    align-items: center;
  }

  .hero-art-wrap {
    position: absolute;
    inset: 0 0 0 38%;
    height: auto;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 32%);
    mask-image: linear-gradient(to right, transparent, #000 32%);
  }

  .hero-inner {
    margin-top: 0;
    padding-block: var(--space-9);
  }

  .hero-copy {
    max-width: 38rem;
  }
}

/* ---------- Stats ---------- */
.stats {
  background: var(--navy-2);
  border-block: 1px solid var(--line-dark);
  color: var(--text-on-dark);
}

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

.stat {
  padding: var(--space-6) var(--space-4);
  text-align: center;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.stat:nth-child(2n) {
  border-right: 0;
}

.stat:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.stat dt {
  margin-bottom: var(--space-2);
  color: var(--muted-on-dark);
  font-size: 0.875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.stat dd {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat .num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 2rem + 2vw, 3.75rem);
  font-weight: 600;
  line-height: 1;
  color: var(--gold);
}

.stat .unit {
  margin-top: var(--space-1);
  font-size: var(--fs-small);
  color: var(--text-on-dark);
}

@media (min-width: 800px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .stat,
  .stat:nth-child(2n),
  .stat:nth-last-child(-n + 2) {
    border-right: 1px solid var(--line-dark);
    border-bottom: 0;
  }

  .stat:last-child {
    border-right: 0;
  }
}

/* ---------- Sections ---------- */
.section {
  padding-block: var(--space-8);
}

.light {
  background: var(--ivory);
  color: var(--text-on-light);
}

.cream {
  background: var(--ivory-2);
  color: var(--text-on-light);
}

.dark.deep {
  background: linear-gradient(180deg, var(--navy) 0%, #0e2439 100%);
  color: var(--text-on-dark);
}

.section h2 {
  font-size: var(--fs-h2);
  font-weight: 500;
}

.section-head {
  max-width: 44rem;
  margin-bottom: var(--space-7);
}

.section-head h2 {
  margin-bottom: var(--space-4);
}

.section-sub {
  color: var(--muted-on-light);
  font-size: var(--fs-lead);
}

.dark .section-sub {
  color: var(--muted-on-dark);
}

:where(.light, .cream) p {
  color: var(--muted-on-light);
}

.light .eyebrow-dark,
.cream .eyebrow-dark {
  color: var(--gold-deep);
}

@media (min-width: 960px) {
  .section {
    padding-block: var(--space-9);
  }
}

/* ---------- Overview ---------- */
.split {
  display: grid;
  gap: var(--space-6);
}

.check-list {
  margin-top: var(--space-5);
  border-top: 1px solid var(--line-light);
}

.check-list li {
  position: relative;
  padding: var(--space-4) 0 var(--space-4) 2rem;
  border-bottom: 1px solid var(--line-light);
  color: var(--text-on-light);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 1.5rem;
  width: 0.9rem;
  height: 0.45rem;
  border-left: 2px solid var(--gold-deep);
  border-bottom: 2px solid var(--gold-deep);
  transform: rotate(-45deg);
}

@media (min-width: 960px) {
  .split {
    grid-template-columns: 5fr 6fr;
    gap: var(--space-9);
    align-items: start;
  }
}

/* ---------- Unit cards ---------- */
.unit-grid {
  display: grid;
  gap: var(--space-5);
}

.unit-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-6) var(--space-5);
  background: var(--ivory-3);
  border: 1px solid var(--line-light);
  border-top: 3px solid var(--gold);
  transition: transform 0.3s ease;
}

.unit-card:hover {
  transform: translateY(-6px);
}

.unit-tag {
  margin-bottom: var(--space-2);
  color: var(--gold-deep);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.unit-card h3 {
  font-size: 2rem;
}

.unit-area {
  margin: var(--space-2) 0 var(--space-4);
  font-size: 1.125rem;
  color: var(--text-on-light);
  font-weight: 500;
}

.unit-specs {
  flex: 1;
  margin-bottom: var(--space-5);
  color: var(--muted-on-light);
}

.unit-specs li {
  padding: var(--space-2) 0;
  border-top: 1px solid var(--line-light);
}

.unit-price {
  margin-bottom: var(--space-3);
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 600;
  line-height: 1;
  color: var(--navy);
}

.unit-price span {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: var(--muted-on-light);
}

.unit-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--gold-deep);
  font-weight: 600;
  text-decoration-thickness: 1px;
}

.unit-featured {
  background: var(--navy);
  border-color: var(--gold);
  color: var(--text-on-dark);
  --focus: var(--gold);
}

.unit-featured .unit-tag,
.unit-featured .unit-link {
  color: var(--gold);
}

.unit-featured .unit-area,
.unit-featured .unit-price {
  color: var(--ivory);
}

.unit-featured .unit-specs,
.unit-featured .unit-price span {
  color: var(--muted-on-dark);
}

.unit-featured .unit-specs li {
  border-top-color: var(--line-dark);
}

.fineprint {
  margin: var(--space-5) 0 0;
  font-size: 1rem;
  color: var(--muted-on-light);
}

@media (min-width: 640px) {
  .unit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .unit-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- Amenities ---------- */
.amen-grid {
  display: grid;
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}

.amen {
  padding: var(--space-6) var(--space-5);
  background: #0d2236;
}

.amen svg {
  display: block;
  margin-bottom: var(--space-4);
  color: var(--gold);
}

.amen h3 {
  margin-bottom: var(--space-2);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-on-dark);
}

.amen p {
  margin: 0;
  color: var(--muted-on-dark);
}

@media (min-width: 640px) {
  .amen-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .amen-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- Location ---------- */
.loc-grid {
  display: grid;
  gap: var(--space-7);
  align-items: center;
}

.loc-copy h2 {
  margin-bottom: var(--space-4);
}

.dist-list {
  margin-top: var(--space-5);
  border-top: 1px solid var(--line-light);
}

.dist-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--line-light);
}

.dist-name {
  color: var(--text-on-light);
}

.dist-val {
  flex: none;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold-deep);
}

.loc-figure {
  margin: 0;
  max-width: 520px;
  justify-self: center;
}

.loc-figure svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 30px 60px rgba(11, 27, 43, 0.28);
}

figcaption {
  margin-top: var(--space-3);
  font-size: 1rem;
  color: var(--muted-on-light);
  text-align: center;
}

@media (min-width: 960px) {
  .loc-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-9);
  }
}

/* ---------- Floor plan ---------- */
.plan-grid {
  display: grid;
  gap: var(--space-7);
  align-items: center;
}

.plan-copy h2 {
  margin-bottom: var(--space-4);
}

.room-list {
  margin: var(--space-5) 0 var(--space-6);
  border-top: 1px solid var(--line-light);
}

.room-list div {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--line-light);
}

.room-list dt {
  color: var(--text-on-light);
}

.room-list dd {
  font-weight: 600;
  color: var(--gold-deep);
}

.plan-figure {
  margin: 0;
  padding: var(--space-3);
  background: var(--ivory-3);
  border: 1px solid var(--line-light);
  box-shadow: 0 24px 50px rgba(11, 27, 43, 0.14);
}

.plan-figure svg {
  display: block;
  width: 100%;
  height: auto;
}

.plan-figure figcaption {
  padding-bottom: var(--space-2);
}

@media (min-width: 960px) {
  .plan-grid {
    grid-template-columns: 5fr 6fr;
    gap: var(--space-8);
  }
}

/* ---------- Payment timeline ---------- */
.timeline {
  position: relative;
  margin: 0 0 var(--space-8);
  padding-left: 1.75rem;
  border-left: 1px solid var(--line-dark);
  counter-reset: step;
}

.step {
  position: relative;
  padding: 0 0 var(--space-6) var(--space-5);
  counter-increment: step;
}

.step::before {
  content: "";
  position: absolute;
  left: calc(-1.75rem - 6px);
  top: 0.55rem;
  width: 11px;
  height: 11px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: var(--navy);
}

.step-pct {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  line-height: 1;
  color: var(--gold);
}

.step h3 {
  margin: var(--space-2) 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-on-dark);
}

.step p {
  margin: 0;
  color: var(--muted-on-dark);
}

@media (min-width: 900px) {
  .timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-4);
    padding: var(--space-6) 0 0;
    border-left: 0;
    border-top: 1px solid var(--line-dark);
  }

  .step {
    padding: 0;
  }

  .step::before {
    left: 0;
    top: calc(-1 * var(--space-6) - 6px);
  }
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 52rem;
}

.faq-title {
  margin-bottom: var(--space-4);
  font-size: var(--fs-h3);
  color: var(--gold);
}

.faq details {
  border-top: 1px solid var(--line-dark);
}

.faq details:last-child {
  border-bottom: 1px solid var(--line-dark);
}

.faq summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: var(--space-3) 2.5rem var(--space-3) 0;
  cursor: pointer;
  font-weight: 500;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.25rem;
  top: 50%;
  translate: 0 -50%;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--gold);
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq details p {
  margin: 0 0 var(--space-4);
  padding-right: var(--space-5);
  color: var(--muted-on-dark);
}

/* ---------- Developer badges ---------- */
.badge-grid {
  display: grid;
  gap: var(--space-5);
  margin-bottom: var(--space-7);
}

.badge {
  padding: var(--space-5);
  border: 1px solid var(--line-light);
  background: var(--ivory-3);
  text-align: center;
}

.badge svg {
  margin: 0 auto var(--space-3);
  display: block;
  color: var(--gold-deep);
}

.badge h3 {
  margin-bottom: var(--space-2);
  font-size: 1.5rem;
}

.badge p {
  margin: 0;
}

.quote {
  margin: 0;
  padding: var(--space-6) var(--space-5);
  border-left: 3px solid var(--gold-deep);
  background: var(--ivory-2);
}

.quote p {
  margin-bottom: var(--space-3);
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 1.1rem + 1.2vw, 2rem);
  font-style: italic;
  line-height: 1.3;
  color: var(--text-on-light);
}

.quote footer {
  color: var(--gold-deep);
  font-weight: 600;
}

@media (min-width: 640px) {
  .badge-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .badge-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .quote {
    padding: var(--space-7);
  }
}

/* ---------- Contact form ---------- */
.cta-section {
  background:
    radial-gradient(circle at 15% 10%, rgba(201, 166, 107, 0.16), transparent 45%),
    linear-gradient(180deg, #0e2439, var(--navy));
  color: var(--text-on-dark);
}

.form-grid {
  display: grid;
  gap: var(--space-7);
  align-items: start;
}

.form-copy h2 {
  margin-bottom: var(--space-4);
}

.form-copy > p {
  color: var(--muted-on-dark);
  font-size: var(--fs-lead);
}

.contact-list {
  margin-top: var(--space-5);
  border-top: 1px solid var(--line-dark);
}

.contact-list li {
  display: flex;
  flex-direction: column;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--line-dark);
  overflow-wrap: anywhere;
}

.contact-list span {
  font-size: 0.875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.contact-list a {
  color: var(--text-on-dark);
}

.form-card {
  display: grid;
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--ivory);
  color: var(--text-on-light);
  --focus: var(--navy);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}

.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.field label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-on-light);
}

.field input:not([type="checkbox"]),
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 0.9rem;
  border: 1px solid #8a94a0;
  border-radius: var(--radius);
  background: #fff;
  color: var(--text-on-light);
  font: inherit;
}

.field textarea {
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #66727f;
}

.field.check {
  flex-direction: row;
  align-items: flex-start;
  gap: var(--space-3);
}

.field.check input {
  flex: none;
  width: 24px;
  height: 24px;
  margin: 10px 0 0;
  accent-color: var(--navy);
}

.field.check label {
  min-height: 44px;
  display: flex;
  align-items: center;
  font-weight: 400;
  color: var(--muted-on-light);
}

@media (min-width: 640px) {
  .form-card {
    grid-template-columns: 1fr 1fr;
    padding: var(--space-6);
  }

  .field-wide,
  .form-card .btn {
    grid-column: 1 / -1;
  }
}

@media (min-width: 960px) {
  .form-grid {
    grid-template-columns: 5fr 6fr;
    gap: var(--space-8);
  }
}

/* ---------- Footer ---------- */
.site-footer {
  padding-top: var(--space-7);
  background: #06111c;
  color: var(--muted-on-dark);
  border-top: 1px solid var(--line-dark);
}

.footer-grid {
  display: grid;
  gap: var(--space-6);
  padding-bottom: var(--space-6);
}

.footer-logo {
  margin-bottom: var(--space-3);
  color: var(--text-on-dark);
}

.footer-h {
  margin-bottom: var(--space-3);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.site-footer li a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  overflow-wrap: anywhere;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding-block: var(--space-5);
  border-top: 1px solid var(--line-dark);
  font-size: 1rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: var(--gold-bright);
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 2fr;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    gap: var(--space-6);
  }
}

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

  .btn:hover,
  .unit-card:hover {
    transform: none;
  }
}
