:root {
  --ink: #1f2523;
  --muted: #66736c;
  --paper: #f6f2ea;
  --cream: #fffaf1;
  --pine: #254b42;
  --sage: #d8e2cf;
  --rust: #a74f32;
  --gold: #d2a44c;
  --line: rgba(31, 37, 35, 0.14);
  --shadow: 0 22px 60px rgba(14, 20, 18, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: #fff;
  background: linear-gradient(180deg, rgba(15, 18, 16, 0.82), rgba(15, 18, 16, 0.18));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.76);
}

nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.94rem;
}

nav a {
  color: rgba(255, 255, 255, 0.86);
}

.call-button,
.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 4px;
  font-weight: 750;
}

.call-button {
  background: #fff;
  color: var(--pine);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.hero picture,
.hero picture img,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero picture img {
  object-fit: cover;
}

.hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 14, 12, 0.9) 0%, rgba(8, 14, 12, 0.54) 42%, rgba(8, 14, 12, 0.15) 78%),
    linear-gradient(0deg, rgba(8, 14, 12, 0.76) 0%, rgba(8, 14, 12, 0.06) 48%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 36px));
  margin: 0 0 clamp(52px, 9vw, 112px) clamp(18px, 7vw, 92px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 740px;
  margin-bottom: 18px;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.55;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.primary {
  background: var(--gold);
  color: #1b1710;
}

.secondary {
  border: 1px solid rgba(255, 255, 255, 0.52);
  color: #fff;
}

.price-panel {
  position: absolute;
  z-index: 3;
  right: clamp(18px, 5vw, 72px);
  bottom: clamp(22px, 6vw, 72px);
  width: min(350px, calc(100% - 36px));
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 250, 241, 0.92);
  color: var(--ink);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.price-panel span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
}

.price-panel > strong {
  display: block;
  margin: 4px 0 18px;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1;
}

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

.mini-stats p {
  margin: 0;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
}

.mini-stats b {
  display: block;
  color: var(--ink);
  font-size: 1.25rem;
}

.quick-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}

.quick-strip div {
  padding: 26px clamp(18px, 4vw, 46px);
  border-right: 1px solid var(--line);
}

.quick-strip strong,
.quick-strip span {
  display: block;
}

.quick-strip strong {
  font-size: clamp(1.45rem, 3vw, 2.3rem);
}

.quick-strip span {
  margin-top: 6px;
  color: var(--muted);
}

.section {
  padding: clamp(56px, 8vw, 110px) clamp(18px, 5vw, 72px);
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(360px, 1.2fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: start;
}

.section-copy {
  position: sticky;
  top: 100px;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4.5vw, 4.6rem);
  line-height: 1;
}

.section-copy p,
.feature-grid p,
.specs dd,
footer p {
  color: var(--muted);
  line-height: 1.65;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.feature-grid article {
  min-height: 230px;
  padding: clamp(22px, 4vw, 36px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 241, 0.54);
}

.feature-grid span {
  color: var(--rust);
  font-weight: 850;
}

.feature-grid h3 {
  margin: 34px 0 12px;
  font-size: 1.35rem;
}

.photo-band {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 14px;
  padding-top: 0;
}

.photo-band img {
  width: 100%;
  height: clamp(260px, 34vw, 520px);
  object-fit: cover;
}

.photo-band img:first-child {
  height: clamp(340px, 44vw, 640px);
}

.specs {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(30px, 6vw, 80px);
  background: var(--pine);
  color: #fff;
}

.specs dl {
  margin: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.specs div {
  min-width: 0;
}

.specs dl div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.specs dt {
  color: var(--sage);
  font-weight: 850;
}

.specs dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 30px;
}

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

.gallery button {
  position: relative;
  min-height: 170px;
  padding: 0;
  border: 0;
  background: #ddd;
  cursor: pointer;
  overflow: hidden;
}

.gallery button:nth-child(1),
.gallery button:nth-child(9),
.gallery button:nth-child(14) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery img {
  width: 100%;
  height: 100%;
  min-height: 170px;
  object-fit: cover;
  transition: transform 220ms ease, filter 220ms ease;
}

.gallery button:hover img {
  transform: scale(1.035);
  filter: saturate(1.06) contrast(1.03);
}

.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: clamp(46px, 7vw, 82px) clamp(18px, 5vw, 72px);
  background: var(--rust);
  color: #fff;
}

.contact-section h2 {
  margin-bottom: 6px;
}

.contact-section p:last-child {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.84);
}

.primary.light {
  background: #fff;
  color: var(--rust);
}

.secondary.light {
  border-color: rgba(255, 255, 255, 0.5);
}

footer {
  padding: 22px clamp(18px, 5vw, 72px);
  background: #161a18;
}

footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
}

.lightbox {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: none;
  place-items: center;
  padding: 56px 18px 24px;
  background: rgba(8, 10, 9, 0.88);
}

.lightbox.is-open {
  display: grid;
}

.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 84vh;
  object-fit: contain;
  box-shadow: var(--shadow);
}

.close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}

@media (max-width: 980px) {
  .topbar {
    position: absolute;
  }

  nav {
    display: none;
  }

  .hero {
    min-height: 980px;
  }

  .hero-content {
    margin-bottom: 330px;
  }

  .price-panel {
    left: 18px;
    right: auto;
    bottom: 34px;
  }

  .quick-strip,
  .split,
  .specs {
    grid-template-columns: 1fr;
  }

  .section-copy {
    position: static;
  }

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

@media (max-width: 640px) {
  .topbar {
    min-height: 68px;
    gap: 12px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .call-button {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.9rem;
  }

  .hero {
    min-height: 900px;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin-left: 16px;
    margin-bottom: 310px;
  }

  h1 {
    font-size: clamp(2.6rem, 14vw, 4.1rem);
  }

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

  .feature-grid,
  .photo-band,
  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery button:nth-child(n) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .specs dl div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .contact-section {
    align-items: flex-start;
    flex-direction: column;
  }
}
