:root {
  --ink: #101214;
  --graphite: #1d2226;
  --steel: #c9d0d2;
  --mist: #f2f4f3;
  --white: #ffffff;
  --amber: #f3b861;
  --amber-dark: #a56416;
  --line: rgba(16, 18, 20, 0.18);
  --display: "Bahnschrift", "Arial Narrow", Arial, sans-serif;
  --body: "Aptos", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--mist);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.55;
}
button, a { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: .75rem 1rem;
  background: var(--white);
  color: var(--ink);
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 clamp(1rem, 3vw, 3rem);
  color: var(--white);
  background: rgba(16, 18, 20, .96);
  border-bottom: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(14px);
}
.brand {
  width: max-content;
  color: var(--white);
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -.04em;
  text-decoration: none;
}
.brand span { color: var(--amber); font-size: .52rem; vertical-align: top; margin-left: .15rem; }
nav { display: flex; gap: clamp(1.5rem, 4vw, 3.5rem); }
nav a {
  color: rgba(255,255,255,.78);
  font-size: .9rem;
  text-decoration: none;
}
nav a:hover, nav a:focus-visible { color: var(--white); }
.basket-button {
  justify-self: end;
  color: var(--white);
  background: none;
  border: 0;
}
.basket-count {
  display: inline-grid;
  place-items: center;
  min-width: 1.65rem;
  height: 1.65rem;
  margin-left: .45rem;
  color: var(--ink);
  background: var(--amber);
  border-radius: 50%;
  font-weight: 700;
}

.product-hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(360px, .8fr);
  background: var(--graphite);
}
.image-stage { position: relative; min-height: 660px; overflow: hidden; }
.image-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset -60px 0 80px rgba(16,18,20,.12);
  pointer-events: none;
}
.image-stage img { width: 100%; height: 100%; object-fit: cover; display: block; }
.image-note {
  position: absolute;
  left: clamp(1rem, 3vw, 3rem);
  bottom: 1.5rem;
  z-index: 1;
  max-width: 18rem;
  margin: 0;
  padding: .7rem .9rem;
  color: var(--white);
  background: rgba(16,18,20,.72);
  font-size: .88rem;
  backdrop-filter: blur(8px);
}
.product-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 7vw, 7rem) clamp(1.5rem, 5vw, 5rem);
  color: var(--white);
}
.edition { margin: 0 0 1rem; color: var(--amber); font-size: .92rem; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; }
h1 {
  max-width: 9ch;
  margin: 0;
  font-size: clamp(3.2rem, 6.2vw, 6.8rem);
  line-height: .91;
  letter-spacing: -.065em;
}
.intro { max-width: 38rem; margin: 1.75rem 0 2rem; color: rgba(255,255,255,.72); font-size: 1.08rem; }
.purchase-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,.18);
}
.price { display: block; font-family: var(--display); font-size: 2.2rem; font-weight: 700; line-height: 1; }
.tax-note, .delivery-note { color: rgba(255,255,255,.55); font-size: .82rem; }
.stock { white-space: nowrap; font-size: .88rem; }
.stock span { display: inline-block; width: .52rem; height: .52rem; margin-right: .45rem; background: var(--amber); border-radius: 50%; }
.add-button, .checkout-button {
  width: 100%;
  min-height: 58px;
  padding: .9rem 1.2rem;
  color: var(--ink);
  background: var(--amber);
  border: 2px solid var(--amber);
  font-weight: 800;
}
.add-button:hover, .add-button:focus-visible, .checkout-button:hover, .checkout-button:focus-visible { background: var(--white); border-color: var(--white); }
.delivery-note { margin: .7rem 0 1.8rem; text-align: center; }
.quick-details { margin: 0; border-top: 1px solid rgba(255,255,255,.18); }
.quick-details div { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.quick-details dt { color: rgba(255,255,255,.52); }
.quick-details dd { margin: 0; text-align: right; }

.details { padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 5vw, 5rem); background: var(--white); }
.details-heading { display: grid; grid-template-columns: .55fr 1.45fr; align-items: end; gap: 2rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line); }
.details-heading p { margin: 0; color: var(--amber-dark); }
.details h2, .about h2 { max-width: 14ch; margin: 0; font-size: clamp(2.8rem, 6vw, 6.5rem); line-height: .95; letter-spacing: -.055em; }
.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.detail-grid article { min-height: 280px; padding: 2.3rem 2rem 2.3rem 0; border-right: 1px solid var(--line); }
.detail-grid article + article { padding-left: 2rem; }
.detail-grid article:last-child { border-right: 0; }
.detail-grid span { color: var(--amber-dark); font-size: .85rem; }
.detail-grid h3 { margin: 4.5rem 0 .75rem; font-size: 1.5rem; }
.detail-grid p { max-width: 26rem; margin: 0; color: #51595e; }
.spec-note { margin: 2rem 0 0; color: #687176; font-size: .85rem; }

.feature-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  color: var(--white);
  background: #252b2f;
}
.feature-band article { min-height: 410px; padding: clamp(2.2rem, 5vw, 5rem); border-right: 1px solid rgba(255,255,255,.16); }
.feature-band article:last-child { border-right: 0; }
.feature-band article > p:first-child { margin: 0 0 5rem; color: var(--amber); font-size: .9rem; }
.feature-band h2 { max-width: 10ch; margin: 0 0 1.5rem; font-size: clamp(2rem, 3vw, 3.4rem); line-height: 1; letter-spacing: -.045em; }
.feature-band article > p:last-child { max-width: 29rem; margin: 0; color: rgba(255,255,255,.66); }

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
}
.about-mark {
  align-self: center;
  margin: 0 0 0 -1.5rem;
  color: transparent;
  font-family: var(--display);
  font-size: clamp(10rem, 29vw, 30rem);
  font-weight: 900;
  line-height: .7;
  letter-spacing: -.12em;
  -webkit-text-stroke: 1px rgba(243,184,97,.48);
}
.about > div { align-self: center; padding: 4rem clamp(1.5rem, 7vw, 7rem) 4rem 2rem; }
.about h2 { font-size: clamp(2.8rem, 5vw, 5.8rem); }
.about div p { max-width: 31rem; margin: 2rem 0 0; color: rgba(255,255,255,.66); font-size: 1.1rem; }

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 2rem clamp(1rem, 3vw, 3rem);
  color: rgba(255,255,255,.6);
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,.14);
  font-size: .85rem;
}
footer p { margin: 0; }
footer p:last-child { justify-self: end; }

.scrim { position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,.6); }
.basket {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 50;
  width: min(440px, 100%);
  height: 100dvh;
  padding: 1.5rem;
  background: var(--white);
  transform: translateX(100%);
  transition: transform .25s ease;
  box-shadow: -20px 0 50px rgba(0,0,0,.2);
}
.basket.open { transform: translateX(0); }
.basket-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.basket-head h2 { margin: 0; font-size: 2rem; }
.close-basket { width: 44px; height: 44px; background: none; border: 1px solid var(--line); font-size: 1.7rem; }
.empty-basket { padding: 3rem 0; }
.continue-button, .remove-button { padding: .65rem 0; color: var(--ink); background: none; border: 0; border-bottom: 1px solid var(--ink); }
.basket-item { position: relative; grid-template-columns: 96px 1fr; gap: 1rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.basket-item img { width: 96px; height: 96px; object-fit: cover; }
.basket-item h3, .basket-item p { margin: 0 0 .3rem; }
.basket-item p { color: #687176; font-size: .88rem; }
.remove-button { position: absolute; right: 0; bottom: 1.5rem; font-size: .82rem; }
.basket-total { position: absolute; left: 1.5rem; right: 1.5rem; bottom: 1.5rem; }
.basket-total > div { display: flex; justify-content: space-between; margin-bottom: 1rem; font-size: 1.15rem; }
.checkout-note { min-height: 1.5rem; margin: .75rem 0 0; color: #51595e; font-size: .85rem; }

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

@media (max-width: 740px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .product-hero { grid-template-columns: 1fr; }
  .image-stage { min-height: min(78vh, 660px); }
  .product-panel { padding: 4rem clamp(1.25rem, 6vw, 4rem); }
  .details-heading { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-grid article, .detail-grid article + article { min-height: 0; padding: 2rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .detail-grid h3 { margin: 2rem 0 .6rem; }
  .feature-band { grid-template-columns: 1fr; }
  .feature-band article { min-height: 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .feature-band article > p:first-child { margin-bottom: 3rem; }
  .about { grid-template-columns: 1fr; }
  .about-mark { margin-top: 5rem; font-size: 42vw; }
  .about > div { padding: 4rem 1.5rem 6rem; }
  footer { grid-template-columns: 1fr; }
  footer p:last-child { justify-self: start; }
}

@media (max-width: 560px) {
  .site-header { height: 64px; }
  .product-hero { min-height: 0; }
  .image-stage { min-height: 58vh; }
  .product-panel { padding: 3rem 1.25rem; }
  h1 { font-size: clamp(3rem, 15vw, 4.4rem); }
  .purchase-row { align-items: center; }
  .details { padding: 4.5rem 1.25rem; }
  .image-note { right: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .basket { transition: none; }
}
