/* ПроДом prototype — forest precision */
:root {
  --bg: #eef2ef;
  --bg-2: #e2e8e3;
  --ink: #121a16;
  --ink-soft: #3a4740;
  --pine: #1a3329;
  --moss: #3f5f4c;
  --mist: #c5d0c8;
  --line: rgba(18, 26, 22, 0.12);
  --brass: #8a734f;
  --white: #f7f9f7;
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(63, 95, 76, 0.12), transparent 60%),
    radial-gradient(900px 500px at 100% 20%, rgba(138, 115, 79, 0.08), transparent 50%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--pine);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 100;
}

.skip:focus {
  left: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 3rem;
  padding: 0.7rem 1.35rem;
  border: 1px solid transparent;
  font: 600 0.92rem/1 var(--font-body);
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-solid {
  background: var(--pine);
  color: var(--white);
}

.btn-solid:hover {
  background: #243f34;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(247, 249, 247, 0.55);
  color: var(--white);
}

.btn-ghost:hover {
  background: rgba(247, 249, 247, 0.1);
}

.btn-wide {
  width: 100%;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  height: var(--header-h);
  padding: 0 clamp(1rem, 3vw, 2.5rem);
  background: rgba(238, 242, 239, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}

.site-header.is-scrolled {
  background: rgba(238, 242, 239, 0.92);
  border-bottom-color: var(--line);
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 2.85rem;
  width: auto;
  border-radius: 2px;
}

.footer-logo {
  width: min(11rem, 55%);
  height: auto;
  margin-bottom: 1rem;
  border-radius: 2px;
}

.nav {
  display: none;
  justify-content: center;
  gap: 1rem;
}

.nav a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  white-space: nowrap;
}

.nav a:hover {
  color: var(--ink);
}

.header-actions {
  display: none;
  align-items: center;
  gap: 1rem;
}

.phone {
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  white-space: nowrap;
}

.nav-toggle {
  justify-self: end;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  display: grid;
  gap: 6px;
  place-content: center;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.35rem;
  height: 2px;
  background: var(--ink);
}

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 auto;
  z-index: 39;
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.25rem 1.5rem;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  padding: 0.75rem 0;
  text-decoration: none;
  font-weight: 600;
}

@media (min-width: 980px) {
  .nav,
  .header-actions {
    display: flex;
  }

  .nav-toggle,
  .mobile-nav {
    display: none !important;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.04);
  animation: hero-zoom 18s var(--ease) forwards;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 18, 14, 0.78) 0%, rgba(10, 18, 14, 0.45) 48%, rgba(10, 18, 14, 0.25) 100%),
    linear-gradient(180deg, rgba(10, 18, 14, 0.25) 0%, rgba(10, 18, 14, 0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  padding: calc(var(--header-h) + 3rem) clamp(1.25rem, 4vw, 3.5rem) 5.5rem;
  animation: rise 1s var(--ease) both;
}

.hero-brand {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  letter-spacing: -0.05em;
  line-height: 0.92;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 16ch;
}

.hero-lead {
  margin: 0 0 1.75rem;
  max-width: 38ch;
  font-size: 1.08rem;
  color: rgba(247, 249, 247, 0.86);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-scroll {
  position: absolute;
  right: 1.25rem;
  bottom: 2rem;
  z-index: 1;
  writing-mode: vertical-rl;
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.7;
}

@keyframes hero-zoom {
  to {
    transform: scale(1);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ticker */
.ticker {
  overflow: hidden;
  background: var(--pine);
  color: var(--white);
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: max-content;
  padding: 0.95rem 0;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  animation: ticker 32s linear infinite;
}

.ticker i {
  width: 6px;
  height: 6px;
  background: var(--brass);
  transform: rotate(45deg);
  flex: 0 0 auto;
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

/* Sections */
.section {
  padding: clamp(4rem, 9vw, 7rem) clamp(1.25rem, 4vw, 3.5rem);
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

#top {
  scroll-margin-top: 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: clamp(1.5rem, 4vw, 2.25rem);
}

#about .section-head {
  margin-bottom: 1.25rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--moss);
}

.section h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.section-lead {
  margin: 1rem 0 0;
  color: var(--ink-soft);
  max-width: 48ch;
}

.about-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
  }
}

.about-copy p {
  margin: 0 0 1.15rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.about-meta {
  display: grid;
  gap: 1rem;
  margin: 2rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

@media (min-width: 600px) {
  .about-meta {
    grid-template-columns: repeat(3, 1fr);
  }
}

.about-meta dt {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 0.35rem;
}

.about-meta dd {
  margin: 0;
  font-weight: 650;
}

.about-figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: var(--bg-2);
  align-self: start;
}

.about-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

/* Why */
.why {
  background: linear-gradient(180deg, transparent, rgba(26, 51, 41, 0.05));
}

.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.why-list li {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 800px) {
  .why-list {
    grid-template-columns: 1fr 1fr;
    gap: 0 3rem;
    border-top: 0;
  }

  .why-list li {
    border-top: 1px solid var(--line);
  }
}

.why-num {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--brass);
  font-size: 1.1rem;
}

.why-list h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.why-list p {
  margin: 0;
  color: var(--ink-soft);
}

/* Plots */
.plots-layout {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 960px) {
  .plots-layout {
    grid-template-columns: 1.45fr 0.85fr;
    align-items: start;
    gap: 2rem;
  }
}

.plot-map-wrap {
  background: var(--pine);
  padding: 1rem;
}

.plot-map {
  width: 100%;
  height: auto;
  display: block;
}

.map-bg {
  fill: #152820;
}

.map-road {
  fill: #2a4337;
  stroke: rgba(247, 249, 247, 0.18);
  stroke-width: 1;
  cursor: pointer;
  transition: fill 0.2s;
}

.map-road:hover,
.map-road.is-active {
  fill: #3a5748;
}

.map-road-label {
  fill: rgba(247, 249, 247, 0.55);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-anchor: middle;
  pointer-events: none;
  font-family: var(--font-body);
}

.plot rect {
  fill: #d7e0d8;
  stroke: rgba(18, 26, 22, 0.35);
  stroke-width: 1.5;
  cursor: pointer;
  transition: fill 0.2s, stroke 0.2s;
}

.plot text {
  fill: var(--ink);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  text-anchor: middle;
  pointer-events: none;
}

.plot .plot-sub {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  fill: var(--ink-soft);
}

.plot:hover rect,
.plot.is-active rect {
  fill: #f3f7f3;
  stroke: var(--brass);
  stroke-width: 2.5;
}

.map-note {
  margin: 0.75rem 0 0;
  color: rgba(247, 249, 247, 0.55);
  font-size: 0.78rem;
}

.plot-panel {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.5rem 1.35rem 1.5rem;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.panel-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
}

.plot-panel h3 {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: 1.65rem;
  letter-spacing: -0.03em;
}

.panel-facts {
  margin: 0 0 1.25rem;
  display: grid;
  gap: 0.75rem;
}

.panel-facts div {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 0.5rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--line);
}

.panel-facts dt {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.panel-facts dd {
  margin: 0;
  font-weight: 650;
}

.panel-hint {
  margin: 0 0 1.25rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.plot-panel .btn {
  width: 100%;
}

/* Homes — Сокол 150 */
.home-feature {
  display: grid;
  gap: 1rem;
}

.home-feature[hidden] {
  display: none !important;
}

@media (min-width: 960px) {
  .home-feature {
    grid-template-columns: 1.4fr 0.75fr;
    grid-template-rows: auto auto;
    gap: 1.25rem 1.5rem;
  }

  .home-feature-main {
    grid-column: 1;
    grid-row: 1;
  }

  .home-thumbs {
    grid-column: 1;
    grid-row: 2;
  }

  .home-specs {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: start;
    position: sticky;
    top: calc(var(--header-h) + 1rem);
  }
}

.home-feature-main {
  overflow: hidden;
  background: var(--bg-2);
  aspect-ratio: 16 / 10;
}

.home-feature-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
}

.home-thumbs button {
  margin: 0;
  padding: 0;
  border: 2px solid transparent;
  background: var(--bg-2);
  cursor: pointer;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.home-thumbs button.is-active,
.home-thumbs button:hover {
  border-color: var(--pine);
}

.home-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-specs {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.5rem 1.35rem;
}

.home-specs h3 {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: 1.65rem;
  letter-spacing: -0.03em;
}

.home-specs .btn {
  width: 100%;
}

/* Profiles */
.profiles {
  display: grid;
  gap: 1.25rem;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
  align-items: stretch;
}

@media (min-width: 720px) {
  .profiles {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .profiles {
    grid-template-columns: repeat(3, 1fr);
  }
}

.profile-card {
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
  height: 100%;
}

.profile-media {
  position: relative;
  aspect-ratio: 16 / 11;
  background: var(--bg-2);
  overflow: hidden;
  flex-shrink: 0;
}

.profile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.profile-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1;
  background: #b42318;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.55rem;
}

.profile-body {
  padding: 1.1rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1 1 auto;
  min-height: 0;
}

.profile-top {
  display: grid;
  gap: 0.5rem;
  align-content: start;
}

.profile-foot {
  display: grid;
  gap: 0.7rem;
  margin-top: auto;
  padding-top: 0.25rem;
}

.profile-loc {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--moss);
  line-height: 1.35;
  min-height: 2.1em;
}

.profile-body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.profile-meta {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.profile-features {
  margin: 0.1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.25rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
  min-height: 4.2em;
}

.profile-features li::before {
  content: "• ";
  color: var(--moss);
}

.profile-prices {
  display: grid;
  gap: 0.3rem;
  font-size: 0.92rem;
}

.profile-prices p {
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
}

.profile-prices span {
  color: var(--ink-soft);
  flex-shrink: 0;
}

.profile-prices strong {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.profile-old {
  opacity: 0.75;
  min-height: 1.35em;
}

.profile-old.is-empty {
  visibility: hidden;
}

.profile-old strong {
  color: #9a3412;
  font-weight: 600;
  text-decoration: line-through;
}

.profile-body .btn {
  width: 100%;
}

.profile-plan {
  display: inline-flex;
  align-items: center;
  min-height: 1.35em;
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--pine);
  text-decoration: none;
}

.profile-plan.is-empty {
  visibility: hidden;
  pointer-events: none;
}

.profile-plan:hover {
  text-decoration: underline;
}

.catalog-note {
  margin-top: 0.2rem;
  font-size: 0.75rem;
  color: #b42318;
  font-weight: 650;
}

/* Construction gallery */
.build-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .build-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .build-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
  }
}

.build-card {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto auto;
}

.build-media {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-2);
}

.build-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.55s var(--ease);
}

.build-card:hover .build-media img {
  transform: scale(1.04);
}

.build-card figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.build-cta {
  margin-top: 1.75rem;
  display: flex;
  justify-content: center;
}

/* Catalog */
.catalog {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  display: grid;
  gap: 2rem;
}

.catalog-area {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.catalog-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--white);
}

.catalog-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.catalog-table th,
.catalog-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.catalog-table th {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--moss);
  background: var(--bg);
}

.catalog-table tr:last-child td {
  border-bottom: 0;
}

.catalog-cta {
  min-height: 2.4rem;
  padding: 0.45rem 0.9rem;
  font-size: 0.82rem;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .catalog-table {
    min-width: 0;
  }

  .catalog-table thead {
    display: none;
  }

  .catalog-table tr {
    display: grid;
    gap: 0.35rem;
    padding: 1rem;
    border-bottom: 1px solid var(--line);
  }

  .catalog-table td {
    border: 0;
    padding: 0.15rem 0;
  }

  .catalog-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--moss);
    margin-bottom: 0.15rem;
  }
}

/* Route */
.route-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .route-grid {
    grid-template-columns: 1fr 1fr 1.2fr;
  }
}

.route-block,
.quote {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.5rem;
}

.route-time {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: -0.04em;
  color: var(--moss);
}

.route-block h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
}

.route-block ul {
  margin: 1rem 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
}

.route-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.route-links a {
  font-weight: 650;
  color: var(--pine);
}

.route-map {
  margin-top: 1.25rem;
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
}

.route-map iframe {
  display: block;
  width: 100%;
  max-width: none;
  height: 520px;
  border: 0;
}

@media (max-width: 640px) {
  .route-map iframe {
    height: 420px;
  }
}

.muted {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.quote {
  margin: 0;
  background: var(--pine);
  color: var(--white);
  border-color: transparent;
  display: grid;
  align-content: space-between;
  min-height: 100%;
}

.quote p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.quote footer {
  margin-top: 1.5rem;
  opacity: 0.75;
  font-size: 0.9rem;
}

/* Contact */
.contact {
  background:
    linear-gradient(180deg, rgba(26, 51, 41, 0.06), transparent 40%),
    var(--bg-2);
}

.contact-layout {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 960px) {
  .contact-layout {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: start;
  }
}

.contact-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.contact-list li {
  display: grid;
  gap: 0.2rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.contact-list span {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--moss);
}

.contact-list a {
  text-decoration: none;
}

.lead-form {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(1.25rem, 3vw, 2rem);
  display: grid;
  gap: 1rem;
}

.lead-form label,
.lead-form fieldset {
  display: grid;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  border: 0;
  margin: 0;
  padding: 0;
}

.lead-form legend {
  margin-bottom: 0.35rem;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 2.85rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--line);
  background: var(--bg);
  font: 500 1rem/1.3 var(--font-body);
  color: var(--ink);
}

.lead-form textarea {
  min-height: 6rem;
  resize: vertical;
}

.form-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.check {
  display: flex !important;
  align-items: center;
  gap: 0.55rem;
  font-weight: 500 !important;
}

.check input {
  width: auto;
  min-height: auto;
}

.lead-form fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
}

.form-note {
  margin: 0;
  color: var(--moss);
  font-weight: 600;
}

/* Footer */
.site-footer {
  padding: 3rem clamp(1.25rem, 4vw, 3.5rem) 2rem;
  background: var(--pine);
  color: rgba(247, 249, 247, 0.85);
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .site-footer {
    grid-template-columns: 1.2fr 1fr;
  }
}

.footer-brand p {
  margin: 0;
  max-width: 36ch;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.footer-cols h4 {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 249, 247, 0.5);
}

.footer-cols a {
  display: block;
  margin-bottom: 0.45rem;
  text-decoration: none;
  color: var(--white);
}

.footer-copy {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  opacity: 0.65;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.nav a[aria-current="page"] {
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--brass);
}

.btn-outline {
  background: transparent;
  border-color: rgba(26, 51, 41, 0.35);
  color: var(--pine);
}

.btn-outline:hover {
  background: rgba(26, 51, 41, 0.06);
}

.mtg-page {
  padding: calc(var(--header-h) + 2.5rem) clamp(1.25rem, 4vw, 3.5rem) 4rem;
}

.mtg-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.mtg-head h1 {
  margin: 0.35rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.mtg-head p:last-child {
  margin: 0;
  color: var(--ink-soft);
  max-width: 46ch;
}

.mtg-layout {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}

@media (min-width: 980px) {
  .mtg-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
  }

  .mtg-result {
    position: sticky;
    top: calc(var(--header-h) + 1rem);
  }
}

.mtg-card,
.mtg-result {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.25rem;
}

.mtg-card + .mtg-card,
.mtg-schedule-wrap {
  margin-top: 1.25rem;
}

.mtg-field {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1.1rem;
}

.mtg-field label,
.mtg-save label,
.mtg-choice legend,
.mtg-early legend {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--moss);
  font-weight: 650;
}

.mtg-field-top {
  display: grid;
  gap: 0.45rem;
}

@media (min-width: 720px) {
  .mtg-field-top {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

.stepper {
  display: grid;
  grid-template-columns: 2.4rem minmax(7rem, 1fr) 2.4rem;
  border: 1px solid var(--line);
  background: var(--bg);
}

.stepper-sm {
  max-width: 12rem;
}

.stepper button,
.mtg-early-list button,
.mtg-saves button[data-delete-save] {
  border: 0;
  background: transparent;
  color: var(--pine);
  font: 650 1.1rem/1 var(--font-body);
  cursor: pointer;
}

.stepper input,
.mtg-field select,
.mtg-field input[type="date"],
.mtg-early input,
.mtg-save input {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 650 1.05rem/1.2 var(--font-body);
  text-align: center;
  padding: 0.7rem 0.3rem;
}

.mtg-field select,
.mtg-field input[type="date"],
.mtg-early input,
.mtg-save input {
  border: 1px solid var(--line);
  background: var(--bg);
  text-align: left;
  padding-inline: 0.75rem;
}

.mtg-field input[type="range"] {
  width: 100%;
  accent-color: var(--pine);
}

.mtg-percent {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.mtg-presets,
.mtg-choice,
.mtg-actions,
.mtg-save-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.mtg-presets button {
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font: 600 0.82rem/1 var(--font-body);
  padding: 0.45rem 0.7rem;
  cursor: pointer;
}

.mtg-presets button:hover {
  border-color: var(--moss);
}

.mtg-split {
  display: grid;
  gap: 0.8rem;
}

@media (min-width: 640px) {
  .mtg-split {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }
}

.mtg-choice {
  border: 0;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.mtg-choice legend {
  width: 100%;
  margin-bottom: 0.35rem;
}

.mtg-choice label,
.mtg-check {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
}

.mtg-check {
  margin-bottom: 1rem;
}

.mtg-early {
  border-top: 1px solid var(--line);
  margin: 0.5rem 0 0;
  padding: 1rem 0 0;
}

.mtg-early .btn {
  margin-top: 0.35rem;
}

.mtg-early-list,
.mtg-saves {
  list-style: none;
  margin: 0.8rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.mtg-early-list li,
.mtg-saves li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

.mtg-early-list button,
.mtg-saves button[data-delete-save] {
  font-size: 0.82rem;
  font-weight: 650;
}

.mtg-empty {
  margin: 0.6rem 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.mtg-result-label {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--moss);
}

.mtg-result-pay {
  margin: 0.35rem 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.mtg-result-hint,
.mtg-note,
.mtg-disclaimer {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.mtg-stats {
  display: grid;
  gap: 0.7rem;
  margin: 1.1rem 0;
}

.mtg-stats div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--line);
}

.mtg-stats dt {
  color: var(--ink-soft);
}

.mtg-stats dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
}

.mtg-actions .btn,
.mtg-save-row .btn {
  min-height: 2.6rem;
}

.mtg-save {
  margin-top: 1rem;
}

.mtg-save-row input {
  flex: 1;
  min-width: 10rem;
}

.mtg-schedule-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  flex-wrap: wrap;
}

.mtg-schedule-head h2,
.mtg-card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: -0.03em;
}

.mtg-schedule-head p {
  margin: 0;
  color: var(--ink-soft);
}

.mtg-table-scroll {
  overflow: auto;
  margin-top: 1rem;
}

.mtg-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 40rem;
  font-variant-numeric: tabular-nums;
}

.mtg-table th,
.mtg-table td {
  padding: 0.55rem 0.45rem;
  border-bottom: 1px solid var(--line);
  text-align: right;
  white-space: nowrap;
}

.mtg-table th:first-child,
.mtg-table td:first-child,
.mtg-table th:nth-child(2),
.mtg-table td:nth-child(2) {
  text-align: left;
}

.mtg-table th {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--moss);
}

.mtg-table tr.is-early td {
  background: rgba(138, 115, 79, 0.12);
}

.mtg-saves button[data-open-save] {
  flex: 1;
  display: grid;
  gap: 0.15rem;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font: inherit;
  padding: 0;
}

.mtg-saves button[data-open-save] span {
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.mtg-disclaimer {
  margin: 1.25rem 0 0;
}

@media (min-width: 980px) and (max-width: 1180px) {
  .nav {
    gap: 0.55rem;
  }

  .nav a {
    font-size: 0.68rem;
  }
}

/* —— Mobile polish —— */
@media (max-width: 720px) {
  html {
    overflow-x: clip;
  }

  body {
    overflow-x: clip;
  }

  .hero-content {
    padding: calc(var(--header-h) + 1.5rem) 1.1rem 3.5rem;
  }

  .hero-brand {
    font-size: clamp(2.2rem, 12vw, 3.4rem);
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(1.35rem, 5.5vw, 1.75rem);
  }

  .hero-lead {
    font-size: 1rem;
    max-width: none;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .hero-scroll {
    display: none;
  }

  .section {
    padding-block: 3.25rem;
  }

  .section-head h2 {
    font-size: clamp(1.55rem, 7vw, 2.1rem);
  }

  .home-thumbs {
    grid-template-columns: repeat(3, 1fr);
  }

  .home-specs {
    padding: 1.15rem 1rem;
  }

  .lead-form {
    padding: 1.1rem;
  }

  .footer-cols {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 2.25rem 1.1rem 1.75rem;
  }

  .mtg-page {
    padding-inline: 1rem;
  }

  .mtg-result-pay {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .mtg-split {
    display: grid;
    gap: 0;
  }

  .mtg-actions {
    display: grid;
    gap: 0.55rem;
  }

  .mtg-actions .btn {
    width: 100%;
  }

  .mtg-save-row {
    flex-direction: column;
    align-items: stretch;
  }

  .mtg-table {
    min-width: 32rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .logo-img {
    height: 2.35rem;
  }

  .why-list {
    gap: 0;
  }

  .profile-card {
    padding: 1rem;
  }

  .btn {
    min-height: 2.85rem;
  }
}

@media print {
  .site-header,
  .mobile-nav,
  .mtg-actions,
  .mtg-save,
  .site-footer,
  .mtg-disclaimer {
    display: none !important;
  }

  .mtg-page {
    padding: 0;
  }

  .mtg-result {
    position: static;
  }
}
