:root {
  color-scheme: light;
  --ink: #111111;
  --muted: #606060;
  --line: #ded8cf;
  --paper: #f7f4ee;
  --white: #ffffff;
  --brass: #b9914a;
  --steel: #d8dde0;
  --shadow: rgba(17, 17, 17, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 16px clamp(20px, 4vw, 56px);
  background: rgba(247, 244, 238, 0.88);
  border-bottom: 1px solid rgba(222, 216, 207, 0.72);
  backdrop-filter: blur(18px);
}

.brand {
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0;
}

.nav {
  justify-self: center;
  display: flex;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.84rem;
}

.nav a,
.nav-cta {
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.nav a:hover,
.nav-cta:hover {
  color: var(--ink);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(17, 17, 17, 0.16);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(760px, 92vh);
  padding: 120px clamp(20px, 6vw, 80px) 68px;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.2) 56%, rgba(0, 0, 0, 0.06)),
    url("design.png") center / cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 34%;
  background: linear-gradient(0deg, rgba(247, 244, 238, 0.98), rgba(247, 244, 238, 0));
}

.hero-content {
  width: min(680px, 100%);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brass);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(3.8rem, 11vw, 9.8rem);
  line-height: 0.88;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy {
  width: min(580px, 100%);
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.8vw, 1.24rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--brass);
  color: var(--ink);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: var(--white);
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 130px) 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(32px, 7vw, 84px);
  align-items: end;
  border-bottom: 1px solid var(--line);
}

.intro > p,
.measure-copy > p,
.closing p {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.8vw, 1.24rem);
}

.section-heading {
  width: min(820px, 100%);
  margin-bottom: clamp(34px, 6vw, 64px);
}

.mode-grid,
.custom-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.mode-grid article,
.custom-grid article {
  min-height: 270px;
  padding: clamp(22px, 3vw, 32px);
  background: rgba(255, 255, 255, 0.54);
}

.mode-grid span {
  display: block;
  margin-bottom: 42px;
  color: var(--brass);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.mode-grid p,
.custom-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.product-band {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  border: 1px solid var(--line);
  background: var(--steel);
  box-shadow: 0 24px 70px var(--shadow);
}

.product-band img {
  max-height: 720px;
  object-fit: cover;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
  gap: clamp(32px, 7vw, 84px);
  align-items: start;
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.spec-list div {
  min-height: 150px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.58);
}

.spec-list span {
  display: block;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.82rem;
}

.spec-list strong {
  display: block;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  line-height: 1;
}

.measure {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1fr);
  gap: clamp(32px, 7vw, 80px);
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.measure-image {
  overflow: hidden;
  background: #d7e0e7;
}

.measure-image img {
  aspect-ratio: 1 / 1;
  height: 100%;
  object-fit: cover;
}

.formula {
  margin: 34px 0 0;
  border-top: 1px solid var(--line);
}

.formula div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.formula dt {
  color: var(--muted);
}

.formula dd {
  margin: 0;
  font-weight: 900;
}

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

.custom-grid article {
  min-height: 210px;
}

.closing {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1fr);
  gap: clamp(32px, 7vw, 84px);
  align-items: center;
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 130px) 0 clamp(80px, 10vw, 140px);
}

.closing img {
  border: 1px solid var(--line);
  background: #172234;
}

.closing .button {
  margin-top: 16px;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 820px;
    padding-top: 110px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.22) 54%, rgba(0, 0, 0, 0.68)),
      url("design.png") center / cover;
  }

  .intro,
  .split,
  .measure,
  .closing {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .site-header {
    min-height: 64px;
    padding: 12px 16px;
  }

  .nav-cta {
    min-height: 34px;
    padding: 0 12px;
  }

  .hero {
    min-height: 760px;
    padding: 96px 20px 52px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .button {
    min-height: 50px;
  }

  .section,
  .product-band,
  .closing {
    width: min(100% - 28px, 1180px);
  }

  .mode-grid,
  .custom-grid,
  .spec-list {
    grid-template-columns: 1fr;
  }

  .mode-grid article,
  .custom-grid article {
    min-height: auto;
  }

  .mode-grid span {
    margin-bottom: 28px;
  }

  .formula div {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}
