:root {
  --ink: #0b0d10;
  --muted: #626973;
  --line: #dfe3e8;
  --ice: #a9cce8;
  --ice-dark: #6289ab;
  --paper: #f7f8fa;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 85px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "DM Sans", sans-serif; font-size: 16px; }
button, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }

.announcement { background: var(--ink); color: white; text-align: center; padding: 9px 16px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.site-header { min-height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 clamp(20px, 4vw, 64px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: blur(14px); }
.brand { font: 700 2rem/1 "Space Grotesk", sans-serif; letter-spacing: -.08em; width: max-content; }
.brand span { color: var(--ice-dark); }
nav { display: flex; gap: 32px; font-weight: 600; }
nav a { padding: 12px 2px; }
.cart-button { justify-self: end; display: flex; align-items: center; gap: 9px; border: 0; background: none; font-weight: 700; padding: 10px; }
.cart-button span { display: inline-grid; place-items: center; min-width: 24px; height: 24px; border-radius: 99px; background: var(--ink); color: #fff; font-size: .75rem; }

.product-layout { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(390px, .88fr); min-height: calc(100vh - 110px); }
.gallery { background: var(--paper); padding: clamp(18px, 3vw, 44px); display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 18px; align-items: start; }
.image-stage { grid-column: 2; background: white; min-height: 610px; position: relative; display: grid; place-items: center; overflow: hidden; }
.image-stage img, .image-stage video { width: 100%; height: 100%; max-height: 720px; object-fit: contain; display: block; transition: opacity .18s ease; }
.image-stage [hidden] { display: none; }
.image-label { position: absolute; z-index: 1; top: 16px; left: 16px; background: rgba(11,13,16,.82); color: white; padding: 8px 11px; font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; }
.thumbnails { grid-column: 1; grid-row: 1; display: grid; gap: 12px; }
.thumb { width: 92px; aspect-ratio: 1; border: 2px solid transparent; padding: 0; background: #fff; overflow: hidden; position: relative; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb.selected { border-color: var(--ink); }
.play-badge { position: absolute; inset: auto 7px 7px auto; width: 27px; height: 27px; border-radius: 50%; display: grid; place-items: center; padding-left: 2px; background: rgba(11,13,16,.84); color: white; font-size: .66rem; }

.product-info { padding: clamp(42px, 6vw, 92px) clamp(28px, 6vw, 86px); align-self: center; }
.eyebrow { margin: 0 0 14px; color: var(--ice-dark); font-weight: 700; letter-spacing: .16em; font-size: .78rem; }
h1, h2 { font-family: "Space Grotesk", sans-serif; }
h1 { font-size: clamp(2.6rem, 5vw, 5.3rem); line-height: .94; letter-spacing: -.065em; margin: 0; max-width: 8ch; }
.product-lede { color: var(--muted); max-width: 36rem; line-height: 1.7; font-size: 1.05rem; margin: 24px 0 26px; }
.product-price { display: flex; align-items: baseline; gap: 9px; margin-bottom: 34px; }
.product-price strong { font: 700 1.9rem/1 "Space Grotesk", sans-serif; letter-spacing: -.04em; }
.product-price span { color: var(--muted); font-size: .86rem; font-weight: 700; letter-spacing: .08em; }
fieldset { border: 0; padding: 0; margin: 0 0 28px; }
legend { width: 100%; font-weight: 700; margin-bottom: 12px; }
legend span { float: right; color: var(--muted); font-weight: 500; }
.swatches, .sizes { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch, .sizes button { min-height: 50px; border: 1px solid var(--line); background: #fff; padding: 0 18px; font-weight: 600; }
.swatch { display: flex; align-items: center; gap: 9px; }
.swatch.selected, .sizes button.selected { border: 2px solid var(--ink); padding-left: 17px; padding-right: 17px; }
.swatch-dot { width: 19px; height: 19px; border-radius: 50%; border: 1px solid #bbb; }
.swatch-dot.black { background: #101114; }
.swatch-dot.grey { background: #8797a3; }
.sizes button { min-width: 58px; }
.purchase-row { display: grid; grid-template-columns: 112px 1fr; gap: 12px; }
.quantity { border: 1px solid var(--line); padding: 8px 12px 6px; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.quantity select { width: 100%; display: block; color: var(--ink); font-weight: 700; border: 0; outline: 0; background: transparent; margin-top: 1px; }
.add-button, .checkout-button { border: 0; background: var(--ink); color: white; font-weight: 700; padding: 16px 22px; min-height: 58px; }
.add-button:hover { background: #222933; }
.status-note { margin: 14px 0 30px; color: var(--muted); font-size: .88rem; display: flex; gap: 9px; align-items: center; }
.status-note span { color: var(--ice-dark); font-size: .7rem; }
.quick-facts { border-top: 1px solid var(--line); margin: 0; }
.quick-facts div { display: flex; justify-content: space-between; gap: 24px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.quick-facts dt { color: var(--muted); }
.quick-facts dd { margin: 0; font-weight: 600; text-align: right; }
.product-details { margin-top: 34px; }
.product-details h2 { margin: 0 0 16px; font-size: 1.35rem; letter-spacing: -.02em; }
.product-details h3 { margin: 30px 0 12px; font: 700 1rem/1.2 "Space Grotesk", sans-serif; }
.feature-list { margin: 0; padding-left: 20px; color: var(--muted); line-height: 1.75; }
.size-table-wrap { border: 1px solid var(--line); overflow: hidden; }
.size-table { width: 100%; border-collapse: collapse; }
.size-table th, .size-table td { padding: 12px 15px; text-align: left; border-bottom: 1px solid var(--line); }
.size-table th { background: var(--paper); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.size-table tr:last-child td { border-bottom: 0; }
.size-table td:first-child { font-weight: 700; }

.story-strip { min-height: 620px; background: var(--ink); color: white; display: grid; grid-template-columns: .85fr 1.2fr 1fr; align-items: center; overflow: hidden; }
.story-strip p { color: var(--ice); letter-spacing: .18em; font-size: .78rem; font-weight: 700; justify-self: end; margin-right: 40px; }
.story-strip h2 { font-size: clamp(2.4rem, 5vw, 5rem); letter-spacing: -.055em; line-height: .98; max-width: 9ch; margin: 0; }
.story-strip img { width: 100%; height: 620px; object-fit: cover; object-position: center top; filter: grayscale(.2); }
footer { display: flex; align-items: center; gap: 34px; padding: 38px clamp(20px, 4vw, 64px); border-top: 1px solid #222; background: var(--ink); color: #9ca3ad; }
.footer-brand { color: white; margin-right: auto; }
footer p { margin: 0; font-size: .9rem; }

.drawer-backdrop { position: fixed; inset: 0; z-index: 49; background: rgba(5,7,10,.48); }
.cart-drawer { position: fixed; z-index: 50; inset: 0 0 0 auto; width: min(460px, 100%); background: white; transform: translateX(102%); visibility: hidden; pointer-events: none; transition: transform .25s ease, visibility .25s; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; box-shadow: -16px 0 50px rgba(0,0,0,.14); }
.cart-drawer.open { transform: translateX(0); visibility: visible; pointer-events: auto; }
.drawer-header { padding: 25px 24px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.drawer-header h2 { margin: 0; font-size: 1.45rem; }
.icon-button { border: 0; background: none; font-size: 2rem; line-height: 1; padding: 5px; }
.cart-items { padding: 18px 24px; flex: 1; min-height: 100px; }
.empty-cart { color: var(--muted); text-align: center; margin: 80px 0; }
.cart-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 84px; height: 84px; object-fit: cover; background: var(--paper); }
.cart-item h3 { margin: 4px 0 6px; font-size: 1rem; }
.cart-item p { margin: 0; color: var(--muted); font-size: .87rem; }
.line-price { display: block; margin-top: 8px; font-size: .9rem; }
.remove-item { align-self: start; border: 0; background: none; text-decoration: underline; color: var(--muted); font-size: .875rem; padding: 8px 0; }
.cart-quantity { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.cart-quantity button { width: 36px; height: 36px; border: 1px solid var(--line); background: white; font-size: 1.125rem; }
.cart-quantity button:disabled { opacity: .4; cursor: not-allowed; }
.cart-quantity output { min-width: 20px; text-align: center; }
.cart-footer { border-top: 1px solid var(--line); padding: 22px 24px; }
.cart-total { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 12px; font-size: .875rem; }
.order-total { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 16px; font-size: 1rem; }
.cart-footer p { color: var(--muted); font-size: .875rem; line-height: 1.5; }
.checkout-button { width: 100%; opacity: .46; cursor: not-allowed; }
.checkout-note { text-align: center; margin-bottom: 0 !important; }
.continue-shopping { width: 100%; margin-top: 16px; padding: 12px; border: 1px solid var(--line); background: white; font-weight: 600; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 70; transform: translate(-50%, 20px); background: var(--ink); color: white; padding: 13px 18px; opacity: 0; pointer-events: none; transition: .2s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .product-layout { grid-template-columns: 1fr; }
  .gallery { min-height: auto; }
  .image-stage { min-height: 470px; }
  .product-info { padding-top: 56px; padding-bottom: 64px; }
  .story-strip { grid-template-columns: 1fr 1fr; min-height: 520px; }
  .story-strip p { display: none; }
  .story-strip h2 { padding: 36px; }
  .story-strip img { height: 520px; }
}

@media (max-width: 600px) {
  .site-header { min-height: 66px; padding: 0 14px 0 20px; }
  .brand { font-size: 1.7rem; }
  .gallery { padding: 12px; display: block; }
  .image-stage { min-height: 390px; }
  .thumbnails { display: flex; overflow-x: auto; margin-top: 10px; padding-bottom: 4px; }
  .thumb { flex: 0 0 72px; width: 72px; }
  .product-info { padding: 46px 20px 56px; }
  h1 { font-size: 3.2rem; }
  .purchase-row { grid-template-columns: 92px 1fr; }
  .story-strip { display: flex; flex-direction: column; }
  .story-strip h2 { padding: 54px 20px; max-width: 11ch; align-self: flex-start; }
  .story-strip img { height: 480px; }
  footer { align-items: flex-start; flex-direction: column; gap: 13px; }
  .footer-brand { margin-bottom: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
