/* Style 02, Night. Black ground, bone type, condensed capitals in the manner
   of the brand's own "front page" print. Collections stack as chapters. */

:root {
  --bg: #0a0a0a;
  --fg: #f0ede6;
  --mute: #8f8c85;
  --line: #262626;
  --panel: #141414;
  --pad: clamp(18px, 3.2vw, 52px);
  --top-h: 58px;
  --font: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 16px/1.5 var(--font);
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, figure, ol, ul, dl, dd, address { margin: 0; padding: 0; font-style: normal; }
ol, ul { list-style: none; }
:focus-visible { outline: 1px solid var(--fg); outline-offset: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Statement type: condensed, heavy, capitals. */
.hero__title, .chapter h2, .rail__head h2, .verse__poem, .made h2, .room__card h2, .news h2,
.shop__head h1, .pdp__info h1, .story, .cart__title {
  font-stretch: 62%;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.86;
  letter-spacing: -0.005em;
}

/* Small type: extended, like the logo's letters. */
.top, .line, .chapter__tag, .card__meta, .filters, .crumbs, .foot__links, .foot__motto, .foot__legal,
.pdp__sizehead, .btn, .cart__checkout, .acc summary, .made dt {
  font-stretch: 125%;
  font-weight: 500;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.line { display: inline-block; padding-bottom: 5px; border-bottom: 1px solid currentColor; }
.line:hover { border-bottom-color: transparent; }

/* ---------- header ---------- */
.top {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--top-h);
  padding: 0 var(--pad);
  color: var(--fg);
  background: var(--bg);
  transition: color 0.25s, background-color 0.25s;
}
.top.is-over { background: transparent; }
.top__nav { display: flex; gap: clamp(16px, 2.4vw, 36px); }
.top__logo img { height: 18px; width: auto; filter: invert(1); transition: filter 0.25s; }
.top__cart { justify-self: end; }
.top.is-ink { color: #111; }
.top.is-ink .top__logo img { filter: none; }
.top a:hover, .top__cart:hover { opacity: 0.6; }

/* ---------- hero ---------- */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; }
.hero__media {
  position: absolute;
  top: var(--top-h);
  bottom: 0;
  right: clamp(0px, 9vw, 150px);
  aspect-ratio: 3 / 4;
}
.hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero__title {
  position: absolute;
  left: var(--pad);
  bottom: clamp(84px, 12vh, 130px);
  font-size: clamp(4.25rem, 15.2vw, 17.5rem);
  color: #fff;
  mix-blend-mode: difference;
}
.hero__title span { display: block; white-space: nowrap; }
.hero__foot {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: 26px;
  display: flex;
  align-items: baseline;
  gap: clamp(18px, 3vw, 44px);
  color: #fff;
  mix-blend-mode: difference;
}
.hero__foot p { margin-right: auto; font-size: 0.9375rem; }

/* ---------- collections as stacked chapters ---------- */
.chapter { position: sticky; top: 0; height: 100svh; min-height: 560px; overflow: hidden; background: var(--bg); }
.chapter__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.chapter__text {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: clamp(28px, 5vh, 56px);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 24px;
  align-items: end;
}
.chapter h2 { grid-column: 1 / -1; font-size: clamp(4rem, 15.8vw, 18rem); margin-bottom: clamp(14px, 2.4vh, 28px); }
.chapter__tag { grid-column: 1 / span 3; }
.chapter__intro { grid-column: 4 / span 5; max-width: 52ch; font-size: 0.9375rem; }
.chapter .line { grid-column: 10 / span 3; justify-self: end; }
.chapter--light { color: #111; }

/* ---------- selection rail ---------- */
.rail { position: relative; background: var(--bg); padding: clamp(84px, 12vw, 180px) 0 0; }
.rail__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding: 0 var(--pad); margin-bottom: clamp(26px, 3.4vw, 48px); }
.rail__head h2 { font-size: clamp(3rem, 9.4vw, 10.5rem); }
.rail__tools { display: flex; align-items: center; gap: 18px; white-space: nowrap; }
.rail__arrow { width: 44px; height: 44px; border: 1px solid var(--line); font-size: 1rem; }
.rail__arrow:hover { border-color: var(--fg); }
.rail__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(250px, 27vw, 430px);
  gap: 2px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--pad);
  padding: 0 var(--pad) 22px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.card { display: block; scroll-snap-align: start; }
.card img { width: 100%; }
.card__text { display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; padding: 12px 2px 0; }
.card__name { font-stretch: 62%; font-weight: 800; font-size: 1.5rem; line-height: 1; text-transform: uppercase; }
.card__price { font-size: 0.875rem; }
.card__meta { grid-column: 1 / -1; color: var(--mute); }
.card__line { grid-column: 1 / -1; font-size: 0.875rem; color: var(--mute); }

/* ---------- verse ---------- */
.verse { padding: clamp(110px, 17vw, 260px) var(--pad); background: var(--bg); position: relative; }
.verse__poem { font-size: clamp(3.25rem, 12.6vw, 14.5rem); }
.verse__poem p + p { margin-top: 0.14em; color: var(--mute); }
.verse__src { margin-top: clamp(24px, 3vw, 44px); }

/* ---------- atelier ---------- */
.made {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 24px;
  padding: 0 var(--pad) clamp(90px, 12vw, 180px);
  background: var(--bg);
}
.made h2 { grid-column: 1 / span 8; font-size: clamp(2.25rem, 5.6vw, 6rem); line-height: 0.9; }
.made__body { grid-column: 9 / span 4; display: grid; gap: 1em; align-content: end; font-size: 0.9375rem; color: var(--mute); }
.made__list { grid-column: 1 / -1; margin-top: clamp(44px, 6vw, 90px); border-bottom: 1px solid var(--line); }
.made__list div { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; padding: 14px 0; border-top: 1px solid var(--line); }
.made dt { grid-column: 1 / span 4; }
.made dd { grid-column: 5 / span 8; font-size: 0.9375rem; color: var(--mute); }

/* ---------- showroom ---------- */
.room { position: relative; min-height: 100svh; display: grid; align-items: end; }
.room__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.room__card {
  position: relative;
  width: min(560px, calc(100% - 2 * var(--pad)));
  margin: var(--pad);
  padding: clamp(22px, 2.6vw, 40px);
  background: var(--bg);
  display: grid;
  gap: 18px;
  justify-items: start;
  font-size: 0.9375rem;
}
.room__card h2 { font-size: clamp(2.25rem, 4.4vw, 4.25rem); line-height: 0.9; }

/* ---------- footer ---------- */
.foot { position: relative; background: var(--bg); padding: clamp(70px, 9vw, 140px) var(--pad) 24px; }
.news { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 12px; align-items: end; }
.news h2 { grid-column: 1 / span 6; font-size: clamp(2.75rem, 7vw, 7.5rem); }
.news > p:not(.news__legal) { grid-column: 1 / span 6; color: var(--mute); font-size: 0.9375rem; }
.news__row { grid-column: 8 / span 5; grid-row: 1 / span 2; display: flex; border-bottom: 1px solid var(--fg); }
.news__row input { flex: 1; min-width: 0; padding: 14px 0; background: none; border: 0; outline: none; }
.news__row input::placeholder { color: var(--mute); }
.news__row button { padding-left: 16px; font-stretch: 125%; font-weight: 500; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.02em; }
.news__legal { grid-column: 8 / span 5; font-size: 0.75rem; color: var(--mute); }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: clamp(60px, 8vw, 120px); }
.foot__links a:hover { color: var(--mute); }
.foot__motto { margin-top: 26px; color: var(--mute); }
.foot__mark { width: 100%; margin-top: 18px; filter: invert(1); }
.foot__legal { margin-top: 18px; color: var(--mute); }

/* ---------- shop ---------- */
.shop { padding-top: clamp(96px, 12vw, 170px); }
.shop__head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; padding: 0 var(--pad); }
.shop__head h1 { grid-column: 1 / -1; font-size: clamp(4rem, 15.8vw, 18rem); }
.shop__tag { grid-column: 1 / span 4; margin-top: 18px; font-stretch: 125%; font-weight: 500; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.02em; }
.shop__intro { grid-column: 5 / span 6; margin-top: 18px; display: grid; gap: 0.35em; font-size: 0.9375rem; color: var(--mute); }
.filters { display: flex; flex-wrap: wrap; gap: 8px 26px; margin: clamp(36px, 5vw, 70px) var(--pad) 18px; }
.filters a { color: var(--mute); padding-bottom: 5px; border-bottom: 1px solid transparent; }
.filters a[aria-current="true"] { color: var(--fg); border-bottom-color: currentColor; }
.filters a:hover { color: var(--fg); }
.shop__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 2px; padding-bottom: clamp(80px, 10vw, 150px); }
.shop__grid .card__text { padding: 12px 14px 0; }
.shop__empty { grid-column: 1 / -1; padding: 0 var(--pad); color: var(--mute); }

/* ---------- product ---------- */
.pdp { display: grid; grid-template-columns: 5fr 7fr; align-items: start; }
.pdp__info { position: sticky; top: 0; min-height: 100svh; display: flex; flex-direction: column; padding: clamp(84px, 9vw, 120px) var(--pad) 28px; }
.crumbs { color: var(--mute); }
.crumbs a:hover { color: var(--fg); }
.pdp__info h1 { margin-top: auto; padding-top: 40px; font-size: clamp(3rem, 7.2vw, 8rem); overflow-wrap: anywhere; }
.pdp__price { margin-top: 14px; font-size: 1.125rem; }
.pdp__sizehead { margin: 28px 0 10px; color: var(--mute); }
.sizes { display: flex; gap: 2px; }
.size { flex: 1; height: 50px; background: var(--panel); font-size: 0.9375rem; transition: background-color 0.2s, color 0.2s; }
.size:hover:not(:disabled) { background: #222; }
.size[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.size:disabled { color: #444; cursor: not-allowed; text-decoration: line-through; }
.sizes.needs-size .size:not(:disabled) { outline: 1px solid var(--fg); outline-offset: -1px; }
.btn { display: block; width: 100%; height: 56px; margin-top: 2px; background: var(--fg); color: var(--bg); }
.btn:hover { background: #fff; }
.pdp__status { min-height: 1.4em; margin-top: 8px; font-size: 0.8125rem; }
.pdp__details { margin-top: 14px; border-bottom: 1px solid var(--line); }
.acc { border-top: 1px solid var(--line); }
.acc summary { display: flex; justify-content: space-between; padding: 14px 0; cursor: pointer; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; color: var(--mute); }
.acc[open] summary::after { content: "\2212"; }
.acc ul, .acc p { padding: 0 0 16px; font-size: 0.875rem; color: var(--mute); }
.pdp__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding-top: var(--top-h); }
.pdp__gallery img { width: 100%; }
.pdp__gallery figure:first-child { grid-column: 1 / -1; }
.story { padding: clamp(100px, 15vw, 230px) var(--pad); font-size: clamp(2rem, 5.4vw, 6rem); line-height: 0.92; }
.story p + p { margin-top: 0.5em; }
.story p:nth-child(even) { color: var(--mute); }
.more .rail__head h2 { font-size: clamp(2.5rem, 6vw, 6.5rem); }
.more { padding-bottom: clamp(70px, 9vw, 130px); }

/* pieces that come in colours */
.sizes--colour { margin-bottom: 8px; }
.size[hidden] { display: none; }

/* ---------- cart ---------- */
.cart { width: min(470px, 100%); max-width: none; height: 100dvh; max-height: none; margin: 0 0 0 auto; padding: 0; border: 0; border-left: 1px solid var(--line); background: var(--bg); color: var(--fg); }
.cart::backdrop { background: rgba(0, 0, 0, 0.62); }
.cart__panel { display: flex; flex-direction: column; height: 100%; }
.cart__head { display: flex; justify-content: space-between; align-items: center; padding: 22px 26px; }
.cart__title { font-size: 2.75rem; }
.cart__count { color: var(--mute); }
.cart__close { padding: 8px; margin-right: -8px; }
.cart__body { flex: 1; overflow-y: auto; padding: 0 26px; }
.cart__empty { padding-top: 20px; color: var(--mute); }
.cart__item { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.cart__thumb img { width: 84px; }
.cart__info { display: grid; align-content: start; gap: 2px; font-size: 0.875rem; }
.cart__name { font-stretch: 62%; font-weight: 800; font-size: 1.25rem; line-height: 1; text-transform: uppercase; }
.cart__meta { color: var(--mute); }
.cart__qty { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.cart__qty button { width: 28px; height: 28px; background: var(--panel); }
.cart__price { font-size: 0.875rem; }
.cart__foot { padding: 20px 26px 26px; border-top: 1px solid var(--line); }
.cart__total { display: flex; justify-content: space-between; font-size: 1.0625rem; }
.cart__total strong { font-weight: 400; }
.cart__note { margin: 8px 0 18px; font-size: 0.75rem; color: var(--mute); }
.cart__checkout { display: block; height: 56px; background: var(--fg); color: var(--bg); text-align: center; line-height: 56px; }

/* ---------- small screens ---------- */
@media (max-width: 860px) {
  :root { --top-h: 86px; }
  .top { grid-template-columns: auto 1fr; row-gap: 12px; align-content: center; }
  .top__logo { grid-column: 1; grid-row: 1; }
  .top__cart { grid-column: 2; grid-row: 1; }
  .top__nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; }
  .hero__media { right: 0; left: 0; aspect-ratio: auto; }
  .hero__title { font-size: clamp(2.75rem, 15.6vw, 9rem); bottom: 150px; }
  .hero__foot { flex-wrap: wrap; }
  .hero__foot p { flex-basis: 100%; }
  .chapter h2 { font-size: clamp(3.5rem, 19vw, 9rem); }
  .chapter__tag, .chapter__intro, .chapter .line { grid-column: 1 / -1; justify-self: start; }
  .chapter__intro { margin: 8px 0 14px; }
  .rail__head { flex-direction: column; align-items: start; }
  .rail__track { grid-auto-columns: 72vw; }
  .made h2, .made__body { grid-column: 1 / -1; }
  .made__body { margin-top: 22px; }
  .made dt, .made dd { grid-column: 1 / -1; }
  .news h2, .news > p:not(.news__legal), .news__row, .news__legal { grid-column: 1 / -1; grid-row: auto; }
  .shop__tag, .shop__intro { grid-column: 1 / -1; }
  .shop__grid { grid-template-columns: 1fr 1fr; }
  .pdp { grid-template-columns: 1fr; }
  .pdp__info { position: static; min-height: 0; order: 2; padding-top: 28px; }
  .pdp__info h1 { margin-top: 16px; padding-top: 0; }
  .pdp__gallery { order: 1; }
}

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