:root {
  --black: #0b0b0b;
  --ink: #141311;
  --cream: #f3eee6;
  --linen: #e7dfd3;
  --ivory: #faf7f2;
  --chocolate: #3b2a1e;
  --taupe: #8a7764;
  --muted: #6f675e;
  --white: #ffffff;
  --line: rgba(20, 19, 17, 0.12);
  --line-light: rgba(255, 255, 255, 0.18);
  --serif: "Bodoni Moda", "Didot", "Playfair Display", serif;
  --sans: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 88px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

html.is-locked,
body.is-locked {
  overflow: hidden;
}

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  letter-spacing: 0.02em;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
select,
textarea {
  font-family: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

ul {
  list-style: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.25rem;
  transition: transform 1.1s var(--ease), opacity 0.9s var(--ease);
}

.preloader.is-done {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.preloader__mark {
  font-family: var(--serif);
  font-size: clamp(4.5rem, 12vw, 8rem);
  font-weight: 500;
  line-height: 0.8;
  letter-spacing: -0.04em;
}

.preloader__name {
  font-family: var(--serif);
  font-size: 0.95rem;
  letter-spacing: 0.55em;
  text-indent: 0.55em;
}

.preloader__bar {
  width: 72px;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  overflow: hidden;
  margin-top: 0.5rem;
}

.preloader__bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--white);
  animation: load 1.4s var(--ease) forwards;
}

@keyframes load {
  to {
    width: 100%;
  }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 clamp(1.25rem, 4vw, 3.5rem);
  color: var(--white);
  mix-blend-mode: difference;
  transition: color 0.4s ease;
}

.site-header.is-solid {
  mix-blend-mode: normal;
  color: var(--ink);
  background: rgba(243, 238, 230, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-right {
  justify-content: flex-end;
}

.nav-link,
.bag-btn,
.menu-btn {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  position: relative;
}

.nav-link::after,
.footer-link::after,
.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}

.nav-link:hover::after,
.footer-link:hover::after,
.text-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.logo {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  font-weight: 500;
  line-height: 1;
}

.bag-count {
  margin-left: 0.35rem;
}

.menu-btn {
  display: none;
}

/* ---------- Intro lockup ---------- */
.intro {
  position: relative;
  min-height: 100svh;
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem;
}

.intro__lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.intro__mark {
  font-family: var(--serif);
  font-size: clamp(5rem, 16vw, 10rem);
  line-height: 0.75;
  letter-spacing: -0.045em;
  font-weight: 500;
}

.intro__brand {
  margin-top: 1.1rem;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  font-weight: 500;
}

.intro__sub {
  margin-top: 0.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.72em;
  text-indent: 0.72em;
  font-weight: 300;
  opacity: 0.78;
}

.intro__line {
  margin-top: 2.8rem;
  font-size: clamp(0.72rem, 1.4vw, 0.82rem);
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  text-transform: uppercase;
  font-weight: 300;
}

.intro__scroll {
  position: absolute;
  left: 50%;
  bottom: 2.2rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  color: #fff;
  z-index: 2;
}

.intro__scroll span {
  font-size: 0.62rem;
  letter-spacing: 0.4em;
  text-indent: 0.4em;
  text-transform: uppercase;
  opacity: 0.8;
}

.intro__scroll svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: bounce-arrow 1.5s ease-in-out infinite;
}

@keyframes bounce-arrow {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.45;
  }
  50% {
    transform: translateY(12px);
    opacity: 1;
  }
}

.intro__lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.intro__mark {
  font-family: var(--serif);
  font-size: clamp(5rem, 16vw, 10rem);
  line-height: 0.75;
  letter-spacing: -0.045em;
  font-weight: 500;
}

.intro__brand {
  margin-top: 1.1rem;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  font-weight: 500;
}

.intro__sub {
  margin-top: 0.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.72em;
  text-indent: 0.72em;
  font-weight: 300;
  opacity: 0.78;
}

.intro__line {
  margin-top: 2.8rem;
  font-size: clamp(0.72rem, 1.4vw, 0.82rem);
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  text-transform: uppercase;
  font-weight: 300;
}

/* ---------- Hero campaign ---------- */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  padding: clamp(2rem, 4vw, 3.5rem) clamp(1.25rem, 5vw, 4rem);
  background: var(--black);
  color: var(--white);
}

/* Sized off the viewport height and capped at the source width (914px),
   so the photo is never scaled up past its native resolution. */
.hero__frame {
  position: relative;
  width: min(100%, 914px, calc(80svh * 0.714));
  aspect-ratio: 914 / 1280;
  overflow: hidden;
}

.hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(11, 11, 11, 0.72) 0%,
    rgba(11, 11, 11, 0.05) 42%,
    rgba(11, 11, 11, 0.2) 100%
  );
}

.hero__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6%;
  text-align: center;
  padding: 0 1.25rem;
}

.hero__content h2 {
  margin: 0.7rem 0 1.2rem;
  font-size: clamp(1.5rem, 3.2vw, 2.5rem);
  letter-spacing: 0.08em;
}

.hero__content .text-link {
  color: #fff;
}

.brand-statement {
  min-height: 88svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1.4rem, 4vw, 2.8rem);
  text-align: center;
  background: var(--black);
  color: var(--white);
  padding: 6rem 1.5rem;
}

.brand-statement p {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 8vw, 6.2rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 0.95;
}

.editorial-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.6rem, 1.6vw, 1.4rem);
  padding: clamp(3rem, 7vw, 6rem) clamp(1.25rem, 5vw, 5rem);
  background: var(--ivory);
}

/* Native ratio of the source files, so nothing is cropped */
.editorial-trio img {
  display: block;
  width: 100%;
  aspect-ratio: 914 / 1280;
  object-fit: cover;
}

.manifesto img {
  width: 100%;
  height: 88svh;
  object-fit: cover;
  object-position: center 30%;
}

.manifesto__copy {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: clamp(5rem, 10vw, 8.5rem) 1.5rem;
}

.manifesto__copy h2 {
  margin-bottom: 1.8rem;
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
}

.manifesto__copy p {
  font-size: 0.82rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  margin: 0.7rem 0;
  opacity: 0.82;
}

.drop-set {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  background: var(--ivory);
}

.drop-set img {
  width: 100%;
  height: 100%;
  min-height: 72vh;
  object-fit: cover;
}

.drop-set__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 5rem);
}

.drop-set__copy h2 {
  margin: 0.7rem 0 1rem;
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.drop-set__price {
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 1.6rem;
}

.join-chapter {
  background: var(--cream);
  text-align: center;
  padding: clamp(4.5rem, 9vw, 7.5rem) 1.5rem;
}

.join-chapter h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: 0.8rem;
}

.join-chapter p {
  color: var(--muted);
  margin-bottom: 1.6rem;
}

.join-chapter form {
  display: flex;
  max-width: 420px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.join-chapter input {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 0.8rem 0;
  outline: none;
  font-size: 0.9rem;
}

.join-chapter button {
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding-left: 1rem;
}

.footer-simple {
  padding: 4.2rem 4vw 3.2rem;
  text-align: center;
}

.site-footer:has(.footer-simple) {
  padding: 0;
}

.join-chapter .thanks {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
}

.footer-simple .logo {
  display: inline-block;
  margin-bottom: 0.9rem;
}

.footer-simple p {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-top: 0.45rem;
}

.story-band__body {
  max-width: 38ch;
  margin: 1.6rem auto 1.4rem;
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--chocolate);
}

.product-card__blurb {
  margin-top: 0.25rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.color-row {
  margin-top: 2rem;
}

.color-row p,
.size-row p,
.qty-row p,
.pdp-acc button {
  font-size: 0.64rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.color-options,
.size-options {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.15rem 0;
  margin-top: 0.75rem;
}

.color-options button,
.size-options button {
  min-width: 0;
  height: auto;
  padding: 0.15rem 0;
  border: 0;
  background: none;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  color: var(--ink);
  opacity: 0.38;
}

.color-options button:not(:last-child)::after,
.size-options button:not(:last-child)::after {
  content: "·";
  margin: 0 0.55rem;
  opacity: 0.45;
  pointer-events: none;
}

.color-options button.is-active,
.color-options button:hover,
.size-options button.is-active,
.size-options button:hover {
  opacity: 1;
  background: none;
  color: var(--ink);
  border: 0;
}

.size-row.is-error .size-options button {
  color: #8a3b2a;
}

.pdp-acc {
  margin-top: 2.4rem;
  border-top: 1px solid var(--line);
}

.pdp-acc__item {
  border-bottom: 1px solid var(--line);
}

.pdp-acc button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.05rem 0;
}

.pdp-acc__body {
  display: none;
  padding: 0 0 1.1rem;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--chocolate);
  letter-spacing: 0.02em;
  text-transform: none;
}

.pdp-acc__item.is-open .pdp-acc__body {
  display: block;
}

.pdp-acc__item.is-open span {
  transform: rotate(45deg);
  display: inline-block;
}

.scroll-cue {
  position: absolute;
  right: clamp(1.25rem, 4vw, 3.5rem);
  bottom: 6vh;
  writing-mode: vertical-rl;
  font-size: 0.62rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  mix-blend-mode: difference;
  color: #fff;
}

/* ---------- Common type ---------- */
.eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  text-transform: uppercase;
  font-weight: 400;
}

.display {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.text-link {
  position: relative;
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.section-pad {
  padding: clamp(4.5rem, 10vw, 9rem) clamp(1.25rem, 5vw, 5rem);
}

/* ---------- Drop ---------- */
.drop {
  min-height: 88svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--black);
  color: var(--white);
  gap: 1.75rem;
}

.drop .eyebrow {
  opacity: 0.7;
}

.drop h2 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 5vw, 3.6rem);
  font-weight: 500;
  letter-spacing: 0.12em;
}

.drop h2 span {
  margin: 0 0.35em;
  opacity: 0.35;
  font-weight: 400;
}

.drop .text-link {
  margin-top: 1.5rem;
}

/* ---------- Editorial pair ---------- */
.editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--black);
}

.editorial figure {
  position: relative;
  min-height: 92svh;
  overflow: hidden;
}

.editorial img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}

.editorial figure:hover img {
  transform: scale(1.04);
}

.editorial figcaption {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  color: var(--white);
  font-size: 0.64rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

/* ---------- Feature ---------- */
.feature {
  position: relative;
  min-height: 92svh;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
}

.feature img {
  width: 100%;
  height: 92svh;
  object-fit: cover;
  object-position: center 30%;
}

.feature__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 11, 11, 0.78), transparent 50%);
}

.feature__copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10vh;
  text-align: center;
  padding: 0 1.5rem;
}

.feature__copy h2 {
  margin: 0.85rem 0 0.7rem;
  font-size: clamp(2.4rem, 6vw, 5rem);
  letter-spacing: 0.06em;
}

.feature__copy p {
  font-size: 0.95rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  opacity: 0.88;
}

.feature__copy .text-link {
  margin-top: 1.6rem;
}

/* ---------- Collection / FOG shop strip ---------- */
.collection {
  background: var(--ivory);
}

.collection__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.collection__head h2 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.product-card {
  display: block;
}

.product-card__media {
  background: var(--cream);
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.product-card:hover img {
  transform: scale(1.045);
}

.product-card__meta {
  padding: 1.15rem 0.1rem 0;
}

.product-card__name {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-card__price {
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}

/* ---------- Story band ---------- */
.story-band {
  background: var(--cream);
  text-align: center;
}

.story-band h2 {
  margin: 1.4rem auto 1.4rem;
  max-width: 14ch;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
}

.story-band .lede {
  font-size: 0.82rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--chocolate);
}

.story-band .text-link {
  margin-top: 2.4rem;
}

/* ---------- Chapter ---------- */
.chapter {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
}

.chapter img {
  width: 100%;
  height: 100svh;
  object-fit: cover;
  filter: brightness(0.55);
}

.chapter__copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.chapter__copy h2 {
  margin-top: 1rem;
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-style: italic;
  letter-spacing: 0.04em;
  max-width: 12ch;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: clamp(4rem, 8vw, 6.5rem) clamp(1.25rem, 5vw, 5rem) 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--line-light);
}

.footer-brand .logo {
  font-size: 1.7rem;
}

.footer-brand .threads {
  margin-top: 0.45rem;
  font-size: 0.68rem;
  letter-spacing: 0.62em;
  text-indent: 0.62em;
  opacity: 0.65;
}

.footer-brand p {
  margin-top: 1.5rem;
  max-width: 28ch;
  font-size: 0.9rem;
  line-height: 1.7;
  opacity: 0.72;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-top: 0.4rem;
}

.footer-link {
  position: relative;
  display: inline-block;
  width: fit-content;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.newsletter h3 {
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 1rem;
}

.newsletter p {
  font-size: 0.88rem;
  opacity: 0.68;
  margin-bottom: 1.2rem;
}

.newsletter form {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.newsletter input {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 0.7rem 0;
  outline: none;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter button {
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 0.7rem 0 0.7rem 1rem;
}

.newsletter .thanks {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
}

.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.45;
}

/* ---------- Page heroes ---------- */
.page-hero {
  padding: calc(var(--header-h) + 4.5rem) clamp(1.25rem, 5vw, 5rem) 3rem;
  background: var(--ivory);
  text-align: center;
}

.page-hero h1 {
  margin-top: 0.8rem;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
}

.page-hero p {
  margin-top: 0.9rem;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Shop ---------- */
.shop-page {
  background: var(--ivory);
  min-height: 100svh;
}

.shop-toolbar {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 0 clamp(1.25rem, 5vw, 5rem) 3rem;
}

.filter-btn {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.4;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
}

.filter-btn.is-active {
  opacity: 1;
  border-color: var(--ink);
}

.shop-grid {
  padding: 0 clamp(1.25rem, 5vw, 5rem) 6rem;
}

/* ---------- Product detail ---------- */
.pdp {
  background: var(--ivory);
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 5rem);
  padding: calc(var(--header-h) + 2rem) clamp(1.25rem, 5vw, 5rem) 6rem;
}

.pdp-gallery__main {
  background: var(--cream);
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.pdp-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  margin-top: 0.6rem;
}

.pdp-thumbs button {
  background: var(--cream);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid transparent;
}

.pdp-thumbs button.is-active {
  border-color: var(--ink);
}

.pdp-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp-info {
  padding-top: 1.5rem;
  max-width: 420px;
}

.pdp-info h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  margin: 0 0 0.55rem;
}

.pdp-info .eyebrow {
  margin-bottom: 1.05rem;
}

.pdp-price {
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.pdp-desc {
  margin-top: 1.8rem;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--chocolate);
}

.pdp-details {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.pdp-details li {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.size-row {
  margin-top: 2.1rem;
}

.qty-row {
  margin-top: 1.8rem;
}

.qty-row p {
  margin-bottom: 0.8rem;
}

.qty-picker {
  display: flex;
  align-items: center;
  width: fit-content;
  border: 1px solid var(--line);
}

.qty-picker button {
  width: 44px;
  height: 44px;
  font-size: 1.1rem;
  line-height: 1;
}

.qty-picker input {
  width: 56px;
  height: 44px;
  border: 0;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background: transparent;
  text-align: center;
  font-size: 0.9rem;
  outline: none;
  -moz-appearance: textfield;
}

.qty-picker input::-webkit-outer-spin-button,
.qty-picker input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.add-btn {
  margin-top: 1.5rem;
  width: 100%;
  height: 54px;
  background: var(--ink);
  color: var(--cream);
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  transition: opacity 0.3s ease;
}

.add-btn:hover {
  opacity: 0.82;
}

.pdp-note {
  margin-top: 1.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* ---------- Story page ---------- */
.story-page {
  background: var(--cream);
}

.story-open {
  padding: calc(var(--header-h) + 5rem) clamp(1.25rem, 5vw, 5rem) 4rem;
  text-align: center;
}

.story-open h1 {
  margin: 1rem auto 1.5rem;
  max-width: 16ch;
  font-size: clamp(2.6rem, 7vw, 5.2rem);
}

.story-open .mission {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 2.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--chocolate);
}

.story-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.story-split img {
  width: 100%;
  height: 100%;
  min-height: 72vh;
  object-fit: cover;
}

.story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 5.5rem);
  background: var(--ivory);
}

.story-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 1.4rem;
}

.story-copy p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--chocolate);
  max-width: 42ch;
}

.story-copy p + p {
  margin-top: 1.1rem;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 5vw, 5rem);
  background: var(--black);
  color: var(--white);
  text-align: center;
}

.pillars-grid article h3 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 1rem;
}

.pillars-grid article p {
  font-size: 0.9rem;
  line-height: 1.75;
  opacity: 0.72;
  max-width: 28ch;
  margin: 0 auto;
}

.identity-plate {
  padding: clamp(3rem, 7vw, 5rem) clamp(1.25rem, 5vw, 5rem);
  display: flex;
  justify-content: center;
  background: var(--black);
}

.identity-plate img {
  width: min(420px, 100%);
}

/* ---------- Cart ---------- */
.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 11, 11, 0.42);
  z-index: 120;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.cart-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cart {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 130;
  width: min(440px, 100%);
  height: 100%;
  background: var(--ivory);
  color: var(--ink);
  transform: translateX(100%);
  transition: transform 0.55s var(--ease);
  display: flex;
  flex-direction: column;
}

.cart.is-open {
  transform: translateX(0);
}

.cart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.6rem 1.5rem;
  border-bottom: 1px solid var(--line);
}

.cart-head h2,
.cart-head button {
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 400;
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

.cart-empty {
  font-size: 0.9rem;
  color: var(--muted);
  padding: 2rem 0;
}

.cart-item {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 0.9rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.cart-item img {
  width: 88px;
  height: 110px;
  object-fit: cover;
  background: var(--cream);
}

.cart-item h3 {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 400;
}

.cart-item p {
  margin-top: 0.3rem;
  font-size: 0.72rem;
  color: var(--muted);
}

.cart-item__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.7rem;
}

.cart-item__total {
  margin-top: 0;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.remove-item {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 0.7rem;
  opacity: 0.55;
}

.qty {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
}

.qty button {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  font-size: 1rem;
  line-height: 1;
}

.cart-foot {
  padding: 1.4rem 1.5rem 1.8rem;
  border-top: 1px solid var(--line);
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.checkout-btn,
.primary-btn {
  width: 100%;
  height: 52px;
  background: var(--ink);
  color: var(--cream);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
}

.checkout-note {
  margin-top: 0.8rem;
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
}

.checkout-form {
  display: none;
  flex-direction: column;
  gap: 0.7rem;
}

.checkout-form.is-visible,
.checkout-form[style*="flex"] {
  display: flex;
}

.checkout-form input {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 0.7rem 0;
  outline: none;
  font-size: 0.88rem;
}

.order-confirm {
  display: none;
  text-align: center;
  padding: 1rem 0 0.4rem;
}

.order-confirm h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  margin-bottom: 0.7rem;
}

.order-confirm p {
  font-size: 0.88rem;
  color: var(--muted);
}

/* ---------- Checkout ---------- */
.checkout-page {
  background: var(--ivory);
  min-height: 100svh;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding: 0 clamp(1.25rem, 5vw, 5rem) 6rem;
  align-items: start;
}

.checkout-panel,
.checkout-summary {
  background: var(--white);
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid var(--line);
}

.checkout-panel section + section {
  margin-top: 2.4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.checkout-panel h2,
.checkout-summary h2 {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 1.2rem;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field-grid .span-2 {
  grid-column: 1 / -1;
}

.field-grid label,
.ref-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.field-grid input,
.field-grid select,
.field-grid textarea,
.ref-field input {
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 0.7rem 0;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  text-transform: none;
  outline: none;
}

.pay-method {
  border: 1px solid var(--ink);
  padding: 1rem 1.1rem;
  margin-bottom: 1.2rem;
}

.pay-method__title {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pay-method__note {
  margin-top: 0.45rem;
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  text-transform: none;
}

.bank-box {
  display: grid;
  gap: 0.55rem;
  padding: 1rem 0 1.2rem;
}

.bank-box div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.82rem;
}

.bank-box dt {
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.64rem;
}

.ref-guide {
  font-size: 0.85rem;
  margin: 0.4rem 0 1rem;
}

.ref-guide .text-link {
  margin-left: 0.8rem;
}

.ref-warn,
.form-error {
  color: #8a3b2a;
  font-size: 0.8rem;
  margin: 0.7rem 0;
  letter-spacing: 0.02em;
}

.ref-hint {
  margin-top: 0.55rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.add-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
}

.summary-totals {
  margin-top: 0.4rem;
}

.summary-totals .summary-line {
  color: var(--muted);
  border-bottom: 0;
  padding: 0.35rem 0;
}

.summary-totals .summary-line:first-child {
  padding-top: 0.8rem;
}

.checkout-summary .cart-subtotal {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.checkout-summary .checkout-note + .checkout-note {
  margin-top: 0.5rem;
}

.checkout-done {
  text-align: center;
  padding: 0 clamp(1.25rem, 5vw, 5rem) 7rem;
}

.checkout-done h2 {
  margin: 0.8rem 0 1rem;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.checkout-done p {
  max-width: 42ch;
  margin: 0 auto 2rem;
  color: var(--chocolate);
}

@media (max-width: 900px) {
  .checkout-layout,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .field-grid .span-2 {
    grid-column: auto;
  }
}

/* ---------- Mobile nav ---------- */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: var(--black);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  gap: 1.6rem;
  transform: translateY(-100%);
  transition: transform 0.55s var(--ease);
}

.mobile-nav.is-open {
  transform: translateY(0);
}

.mobile-nav a {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 8vw, 3.4rem);
}

.mobile-close {
  position: absolute;
  top: 1.6rem;
  right: 1.4rem;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

/* ---------- Reveals ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
}

.reveal.is-ready {
  animation: reveal 1s var(--ease) forwards;
}

.reveal-delay-1 {
  animation-delay: 0.15s;
}
.reveal-delay-2 {
  animation-delay: 0.3s;
}
.reveal-delay-3 {
  animation-delay: 0.45s;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: none;
  }
}

.in-view {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}

.in-view.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .product-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pdp {
    grid-template-columns: 1fr;
  }

  .pdp-info {
    max-width: none;
    padding-top: 0.5rem;
  }

  .drop-set {
    grid-template-columns: 1fr;
  }

  .footer-grid,
  .story-split,
  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .story-split img {
    min-height: 56vh;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 72px;
  }

  .nav-left .nav-link {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .editorial,
  .editorial-trio,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .editorial figure {
    min-height: 72svh;
  }

  .collection__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-statement {
    min-height: 72svh;
    padding: 5rem 1.25rem;
  }

  .manifesto img {
    height: 72svh;
  }

  .editorial-trio {
    gap: 0.5rem;
    padding: 3rem 1.25rem;
  }

  .pdp-thumbs {
    grid-template-columns: repeat(4, 1fr);
  }

  .scroll-cue {
    display: none;
  }

  .drop h2 {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    letter-spacing: 0.18em;
  }

  .drop h2 span {
    display: none;
  }

  .footer-base {
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
