:root {
  --ink: #1d1d1b;
  --muted: #6b6961;
  --paper: #f7f5ef;
  --stone: #8e8b84;
  --stone-dark: #494844;
  --wood: #c6a778;
  --cedar: #8b6846;
  --mist: #e7e3db;
  --sage: #6f7b6a;
  --line: rgba(29, 29, 27, 0.14);
  --shadow: 0 24px 70px rgba(38, 34, 28, 0.18);
}

* {
  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;
  letter-spacing: 0;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 52px);
  color: #fffdf7;
  background: linear-gradient(to bottom, rgba(20, 18, 15, 0.44), rgba(20, 18, 15, 0));
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 2vw, 22px);
}

nav a {
  font-size: 0.78rem;
  text-transform: uppercase;
  color: rgba(255, 253, 247, 0.88);
}

.hero {
  position: relative;
  min-height: 104vh;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(22, 20, 16, 0.68), rgba(22, 20, 16, 0.26) 42%, rgba(22, 20, 16, 0.04));
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(620px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 92px);
  padding: 96px 0 180px;
  color: #fffdf7;
}

.eyebrow,
.small-label {
  display: block;
  margin: 0 0 12px;
  color: var(--sage);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ded4bd;
}

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 0.98;
}

h1 {
  max-width: 560px;
  margin-bottom: 18px;
  font-size: clamp(4rem, 13vw, 10rem);
}

h2 {
  font-size: clamp(2.25rem, 5vw, 5rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.hero-line {
  max-width: 460px;
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
}

.hero-text,
.section-copy p,
.checkout-copy p,
.detail-grid p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.hero-text {
  max-width: 500px;
  color: rgba(255, 253, 247, 0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  max-width: 500px;
  margin-top: 38px;
  padding-bottom: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-weight: 800;
  cursor: pointer;
}

.primary {
  border-color: var(--ink);
  background: var(--ink);
  color: #fffdf7;
}

.hero .primary {
  border-color: #fffdf7;
  background: #fffdf7;
  color: var(--ink);
}

.ghost {
  color: #fffdf7;
}

.purchase-band {
  width: min(1120px, calc(100% - 36px));
  margin: -46px auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.purchase-band > div {
  min-height: 108px;
  padding: 24px;
  background: #fffdf8;
}

.purchase-band strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2.2vw, 1.85rem);
  font-weight: 500;
}

.currency-control {
  display: grid;
  gap: 8px;
}

label {
  display: grid;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--stone-dark);
}

select,
input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
}

select,
input {
  min-height: 44px;
  padding: 0 12px;
}

textarea {
  resize: vertical;
  padding: 12px;
}

.section {
  width: min(1120px, calc(100% - 36px));
  margin: 120px auto;
}

.product-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  align-items: center;
  gap: clamp(28px, 6vw, 84px);
}

.section-copy p {
  max-width: 560px;
}

.spec-list {
  display: grid;
  gap: 1px;
  margin: 34px 0 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.spec-list div {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 18px;
  padding: 18px;
  background: var(--paper);
}

dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

dd {
  margin: 0;
}

.product-image {
  margin: 0;
}

.product-image img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

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

.detail-grid article {
  min-height: 270px;
  padding: clamp(24px, 4vw, 38px);
  background: #fffdf8;
}

.detail-number {
  display: block;
  margin-bottom: 44px;
  color: var(--cedar);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.2rem;
}

.answers-section {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.answers-intro {
  position: sticky;
  top: 100px;
}

.answers-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.answers-grid article {
  padding: clamp(22px, 3vw, 34px);
  background: #fffdf8;
}

.answers-grid p,
.answers-intro p {
  color: var(--muted);
  line-height: 1.7;
}

.checkout-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(330px, 0.8fr);
  gap: clamp(28px, 7vw, 96px);
  width: min(1120px, calc(100% - 36px));
  margin: 120px auto;
  align-items: start;
}

.checkout {
  display: grid;
  gap: 22px;
  padding: clamp(22px, 4vw, 34px);
  background: #fffdf8;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.order-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: end;
}

.stepper {
  display: grid;
  grid-template-columns: 44px minmax(64px, 90px) 44px;
  width: max-content;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}

.stepper button,
.stepper input {
  border: 0;
  border-radius: 0;
  text-align: center;
  background: #fffdf8;
}

.stepper button {
  color: var(--ink);
  font-size: 1.35rem;
  cursor: pointer;
}

.summary-price {
  text-align: right;
}

.summary-price span,
.line-items span:first-child,
.checkout-note {
  color: var(--muted);
  font-size: 0.86rem;
}

.summary-price strong {
  display: block;
  margin-top: 5px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 500;
}

.line-items {
  display: grid;
  gap: 12px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.line-items div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.wide,
.checkout-button {
  grid-column: 1 / -1;
}

.checkout-note {
  margin: -8px 0 0;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 34px clamp(18px, 4vw, 52px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

@media (max-width: 860px) {
  .site-header {
    position: absolute;
    padding: 16px 18px;
  }

  nav {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    gap: 14px;
  }

  nav a {
    font-size: 0.68rem;
  }

  .hero {
    min-height: 820px;
    align-items: end;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(22, 20, 16, 0.12), rgba(22, 20, 16, 0.78));
  }

  .hero img {
    object-position: 66% center;
  }

  .hero-copy {
    margin: 0;
    padding: 108px 18px 124px;
  }

  .purchase-band,
  .product-section,
  .detail-grid,
  .answers-section,
  .checkout-section,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .answers-intro {
    position: static;
  }

  .purchase-band {
    margin-top: 0;
    width: 100%;
    border-left: 0;
    border-right: 0;
    box-shadow: none;
  }

  .section,
  .checkout-section {
    margin: 78px auto;
  }

  .detail-grid article {
    min-height: auto;
  }

  .detail-number {
    margin-bottom: 24px;
  }

  .order-row {
    grid-template-columns: 1fr;
  }

  .summary-price {
    text-align: left;
  }

  footer {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 3.45rem;
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
    max-width: none;
    justify-content: flex-start;
  }

  .spec-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
