/* JUNKBRANDING — 06 Fashion Brand. Scoped to this folder; no external CSS dependencies. */

:root {
  --ink: #0d0d0c;
  --paper: #f1f1ee;
  --concrete: #c8c8c3;
  --graphite: #5d5d59;
  --thread: #ffffff;

  --font-latin: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-jp: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(1rem, 2.4vw, 2rem);
  --margin: clamp(1.25rem, 4vw, 4rem);
  --header-h: 4.25rem;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
}

body {
  margin: 0;
  font-family: var(--font-jp);
  font-size: 0.9375rem;
  line-height: 1.8;
  font-feature-settings: "palt" 1;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }

::selection { background: var(--ink); color: var(--paper); }

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

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

.skip-link {
  position: fixed;
  top: 0.75rem; left: 0.75rem;
  z-index: 200;
  padding: 0.6rem 1rem;
  background: var(--ink); color: var(--paper);
  font-family: var(--font-latin);
  font-size: 0.875rem;
  text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* ---------- Type ---------- */

.display,
.h1, .h2, .h3,
.label, .index-num {
  font-family: var(--font-latin);
  font-feature-settings: normal;
}

.display {
  font-weight: 800;
  font-stretch: 62%;
  font-variation-settings: "wdth" 62;
  text-transform: uppercase;
  line-height: 0.82;
  letter-spacing: -0.01em;
  font-size: clamp(4.5rem, 17vw, 17rem);
}

.h1 {
  font-weight: 700;
  font-variation-settings: "wdth" 70;
  text-transform: uppercase;
  line-height: 0.88;
  font-size: clamp(3.25rem, 10vw, 10rem);
}

.h2 {
  font-weight: 700;
  font-variation-settings: "wdth" 75;
  text-transform: uppercase;
  line-height: 0.92;
  font-size: clamp(2.25rem, 5.6vw, 5.5rem);
}

.h3 {
  font-weight: 600;
  font-variation-settings: "wdth" 85;
  text-transform: uppercase;
  line-height: 1;
  font-size: clamp(1.375rem, 2.2vw, 2rem);
}

.jp-lead {
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: clamp(1.25rem, 2.3vw, 1.875rem);
  line-height: 1.65;
  letter-spacing: 0.04em;
  text-wrap: pretty;
}

.jp-title {
  font-weight: 700;
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  line-height: 1.6;
  letter-spacing: 0.06em;
}

.label {
  font-size: 0.875rem;
  font-weight: 500;
  font-variation-settings: "wdth" 100;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  line-height: 1.4;
}

.muted { color: var(--graphite); }
.prose { max-width: 34em; text-wrap: pretty; }
.prose p + p { margin-top: 1.1em; }
.balance { text-wrap: balance; }

/* ---------- Basting stitch (signature motif) ---------- */

.stitch {
  display: block;
  height: 2px;
  width: 100%;
  background-image: repeating-linear-gradient(90deg, currentColor 0 14px, transparent 14px 24px);
  transform-origin: left center;
}
.stitch--v {
  width: 2px;
  height: 100%;
  background-image: repeating-linear-gradient(180deg, currentColor 0 14px, transparent 14px 24px);
  transform-origin: center top;
}

/* ---------- Header / Navigation ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0 var(--margin);
  color: var(--thread);
  mix-blend-mode: difference;
  pointer-events: none;
}
.site-header > * { pointer-events: auto; }

.wordmark {
  font-family: var(--font-latin);
  font-weight: 800;
  font-variation-settings: "wdth" 62;
  font-size: 1.375rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
  line-height: 1;
}

.nav-list {
  display: flex;
  gap: clamp(1rem, 2vw, 2rem);
}
.nav-list a {
  position: relative;
  display: inline-block;
  padding: 0.5rem 0;
  font-family: var(--font-latin);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.2rem;
  height: 2px;
  background-image: repeating-linear-gradient(90deg, currentColor 0 5px, transparent 5px 9px);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after { transform: scaleX(1); }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 0;
  border: 0;
  background: none;
  font-family: var(--font-latin);
  font-size: 0.875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: calc(var(--header-h) + 2rem) var(--margin) 3rem;
    background: var(--ink);
    color: var(--paper);
    visibility: hidden;
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.7s var(--ease-in-out), visibility 0s linear 0.7s;
  }
  .site-header.is-open { mix-blend-mode: normal; color: var(--paper); }
  .site-header.is-open .site-nav {
    visibility: visible;
    clip-path: inset(0 0 0 0);
    transition: clip-path 0.7s var(--ease-in-out);
  }
  .nav-list { flex-direction: column; gap: 0.25rem; }
  .nav-list a {
    font-weight: 700;
    font-variation-settings: "wdth" 62;
    font-size: clamp(2.75rem, 13vw, 4.5rem);
    letter-spacing: 0;
    line-height: 1.05;
  }
  .nav-meta { display: flex; justify-content: space-between; margin-top: 2.5rem; color: var(--concrete); }
}
@media (min-width: 861px) { .nav-meta { display: none; } }

/* ---------- Layout primitives ---------- */

main { display: block; }

.wrap { padding-inline: var(--margin); }

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
}

.section { padding-block: clamp(5rem, 12vw, 11rem); }
.section--tight { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink .muted { color: var(--concrete); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.frame {
  position: relative;
  overflow: hidden;
  background: var(--concrete);
}
.section--ink .frame { background: #1c1c1b; }
.frame img,
.frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.frame--portrait { aspect-ratio: 3 / 4; }
.frame--tall { aspect-ratio: 2 / 3; }
.frame--wide { aspect-ratio: 11 / 6; }
.frame--cinema { aspect-ratio: 21 / 9; }

.caption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.75rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-latin);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding-block: 0.5rem;
}
.link-arrow::after {
  content: "";
  width: 2.5rem;
  height: 2px;
  background-image: repeating-linear-gradient(90deg, currentColor 0 6px, transparent 6px 10px);
  transition: width 0.5s var(--ease-out);
}
.link-arrow:hover::after { width: 4rem; }

/* ---------- Motion initial states (only when JS + motion allowed) ---------- */

.motion [data-reveal="mask"] { clip-path: inset(100% 0 0 0); }
.motion [data-reveal="mask"] > img { transform: scale(1.18); }
.motion [data-reveal="mask-x"] { clip-path: inset(0 100% 0 0); }
.motion [data-stitch] { transform: scaleX(0); }
.motion [data-stitch].stitch--v { transform: scaleY(0); }
.split-line { display: block; overflow: hidden; padding-bottom: 0.04em; margin-bottom: -0.04em; }
.split-inner { display: inline-block; will-change: transform; }
.motion [data-split] .split-inner { transform: translateY(110%); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background: var(--ink);
  color: var(--thread);
}
.hero__media,
.hero__media video,
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(13 13 12 / 0.35) 0%, rgb(13 13 12 / 0) 30%, rgb(13 13 12 / 0) 55%, rgb(13 13 12 / 0.6) 100%);
}
.hero__content {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0 var(--margin) clamp(1.5rem, 4vw, 3rem);
  display: grid;
  gap: 1.5rem;
}
.hero__words {
  position: relative;
  height: 0.84em;
  font-size: clamp(5rem, 22vw, 22rem);
}
.hero__word {
  position: absolute;
  left: 0; bottom: 0;
  display: flex;
  overflow: hidden;
  font-size: inherit;
  padding-top: 0.05em;
}
.hero__word span { display: inline-block; }
.no-motion .hero__words { height: auto; }
.no-motion .hero__word { position: static; display: block; font-size: 0.42em; }
.hero__word:not(.is-active) { visibility: hidden; }
.no-motion .hero__word:not(.is-active) { visibility: visible; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
}
.hero__chapters { display: flex; gap: 1.25rem; }
.hero__chapters li { display: flex; flex-direction: column; gap: 0.4rem; min-width: 6.5rem; }
.hero__bar { height: 2px; background: rgb(255 255 255 / 0.3); overflow: hidden; }
.hero__bar i { display: block; height: 100%; background: var(--thread); transform: scaleX(0); transform-origin: left; }

.video-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  padding: 0 1rem;
  border: 1px solid rgb(255 255 255 / 0.5);
  background: rgb(13 13 12 / 0.25);
  color: var(--thread);
  font-family: var(--font-latin);
  font-size: 0.875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(6px);
}
.video-toggle:hover { background: rgb(13 13 12 / 0.5); }
.video-toggle .icon { width: 10px; height: 12px; display: inline-flex; gap: 3px; }
.video-toggle .icon::before,
.video-toggle .icon::after { content: ""; width: 3px; height: 100%; background: currentColor; }
.video-toggle[aria-pressed="false"] .icon::before { width: 0; height: 0; background: none; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.video-toggle[aria-pressed="false"] .icon::after { display: none; }

/* ---------- Home: manifesto spread ---------- */

.spread {
  align-items: start;
  row-gap: 3rem;
}
.spread__img-a { grid-column: 1 / span 7; }
.spread__text { grid-column: 9 / span 4; align-self: center; display: grid; gap: 2rem; }
.spread__img-b { grid-column: 6 / span 3; margin-top: -12vw; z-index: 2; border: 0.75rem solid var(--paper); }
.spread__title {
  grid-column: 1 / -1;
  margin-top: -0.4em;
  position: relative;
  z-index: 3;
  mix-blend-mode: difference;
  color: var(--thread);
  pointer-events: none;
}

@media (max-width: 860px) {
  .spread__img-a { grid-column: 1 / -1; }
  .spread__text { grid-column: 1 / -1; }
  .spread__img-b { grid-column: 6 / -1; margin-top: -30vw; border-width: 0.5rem; }
}

/* ---------- Collection switcher ---------- */

.switcher__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0 clamp(1rem, 3vw, 2.5rem);
  border-bottom: 1px solid currentColor;
}
.switcher__tab {
  position: relative;
  padding: 1rem 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-family: var(--font-latin);
  font-weight: 700;
  font-variation-settings: "wdth" 70;
  font-size: clamp(1.5rem, 3.4vw, 3rem);
  text-transform: uppercase;
  line-height: 1;
  color: var(--graphite);
  transition: color 0.4s;
}
.section--ink .switcher__tab { color: var(--graphite); }
.switcher__tab[aria-selected="true"],
.switcher__tab:hover { color: inherit; }
.section--ink .switcher__tab[aria-selected="true"],
.section--ink .switcher__tab:hover { color: var(--paper); }
.switcher__tab::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 3px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}
.switcher__tab[aria-selected="true"]::after { transform: scaleX(1); }

.switcher__panels { position: relative; margin-top: clamp(2rem, 4vw, 3.5rem); }
.switcher__panel { align-items: end; row-gap: 2rem; }
.switcher__panel[hidden] { display: none; }
.switcher__main { grid-column: 1 / span 5; }
.switcher__second { grid-column: 6 / span 3; }
.switcher__info { grid-column: 9 / span 4; display: grid; gap: 1.5rem; align-self: stretch; align-content: space-between; }
.switcher__facts { display: grid; gap: 0; border-top: 1px solid currentColor; }
.switcher__facts div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid rgb(127 127 127 / 0.4); }
.switcher__facts dt { font-family: var(--font-latin); font-size: 0.875rem; letter-spacing: 0.14em; text-transform: uppercase; }
.switcher__facts dd { text-align: right; }

@media (max-width: 860px) {
  .switcher__main { grid-column: 1 / span 8; }
  .switcher__second { grid-column: 9 / -1; }
  .switcher__info { grid-column: 1 / -1; }
}

/* ---------- Campaign teaser / scroll sequence ---------- */

.campaign-teaser { position: relative; }
.campaign-teaser .frame { aspect-ratio: 16 / 9; }
.campaign-teaser__title {
  position: absolute;
  left: var(--margin);
  bottom: clamp(1rem, 3vw, 2.5rem);
  color: var(--thread);
  z-index: 2;
}
@media (max-width: 640px) { .campaign-teaser .frame { aspect-ratio: 4 / 5; } }

.sequence { position: relative; background: var(--ink); color: var(--paper); }
.sequence__stage {
  position: relative;
  height: 100svh;
  overflow: hidden;
}
.sequence__item { position: absolute; inset: 0; overflow: hidden; }
.sequence__item:not(:first-of-type) { clip-path: inset(100% 0 0 0); }
.sequence__frame { position: absolute; inset: 0; }
.sequence__frame img { width: 100%; height: 100%; object-fit: cover; }
.sequence__text {
  position: absolute;
  z-index: 2;
  left: calc(var(--margin) + (100% - 2 * var(--margin)) * 0.34);
  bottom: clamp(1.5rem, 4vw, 3rem);
  width: min(30rem, 40%);
  display: grid;
  gap: 0.75rem;
  padding: 1.5rem;
  background: rgb(13 13 12 / 0.78);
  backdrop-filter: blur(8px);
}
.sequence__hud {
  position: absolute;
  z-index: 5;
  inset: auto var(--margin) clamp(1.5rem, 4vw, 3rem) var(--margin);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  pointer-events: none;
  color: var(--paper);
  mix-blend-mode: difference;
}
.sequence__counter { font-size: clamp(3rem, 7vw, 6rem); }
.sequence__progress { width: 10rem; height: 2px; background: rgb(255 255 255 / 0.3); margin-bottom: 0.8rem; }
.sequence__progress i { display: block; height: 100%; background: var(--paper); transform: scaleX(0); transform-origin: left; }

/* Stacked fallback: mobile, reduced motion, no JS */
.sequence--stacked .sequence__stage { height: auto; }
.sequence--stacked .sequence__item { position: relative; inset: auto; clip-path: none; }
.sequence--stacked .sequence__frame { position: relative; inset: auto; aspect-ratio: 4 / 5; }
.sequence--stacked .sequence__hud { display: none; }
.sequence--stacked .sequence__text { position: static; width: auto; background: var(--ink); backdrop-filter: none; padding: 1.5rem var(--margin) 3.5rem; max-width: 40rem; }
@media (min-width: 861px) { .sequence--stacked .sequence__frame { aspect-ratio: 16 / 9; } }

/* ---------- Editorial cards ---------- */

.cards { row-gap: 3.5rem; }
.card { display: grid; gap: 1rem; text-decoration: none; }
.card .frame img { transition: transform 1.2s var(--ease-out); }
.card:hover .frame img { transform: scale(1.04); }
.card__meta { display: flex; justify-content: space-between; gap: 1rem; }
.cards .card:nth-child(1) { grid-column: 1 / span 6; }
.cards .card:nth-child(2) { grid-column: 8 / span 5; margin-top: 8rem; }
.cards .card:nth-child(3) { grid-column: 3 / span 4; }
.cards .card:nth-child(4) { grid-column: 8 / span 4; margin-top: -4rem; }
@media (max-width: 860px) {
  .cards .card:nth-child(n) { grid-column: 1 / -1; margin-top: 0; }
  .cards .card:nth-child(even) { grid-column: 3 / -1; }
}

/* ---------- Atelier / process ---------- */

.process { counter-reset: step; display: grid; border-top: 1px solid currentColor; }
.process li {
  display: grid;
  grid-template-columns: 4rem 1fr 2fr;
  gap: var(--gutter);
  padding: 1.5rem 0;
  border-bottom: 1px solid rgb(127 127 127 / 0.45);
}
.process li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-latin);
  font-size: 0.875rem;
  letter-spacing: 0.14em;
  padding-top: 0.2rem;
}
@media (max-width: 640px) {
  .process li { grid-template-columns: 2.5rem 1fr; }
  .process li p { grid-column: 2; }
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  padding: calc(var(--header-h) + clamp(3rem, 8vw, 7rem)) var(--margin) clamp(2.5rem, 5vw, 4rem);
  display: grid;
  gap: 2rem;
}
.page-hero__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem 3rem; }

/* ---------- Collection index ---------- */

.season-index { border-top: 1px solid currentColor; }
.season-row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
  border-bottom: 1px solid currentColor;
  text-decoration: none;
  position: relative;
}
.season-row__code { grid-column: 1 / span 2; }
.season-row__name { grid-column: 3 / span 5; }
.season-row__desc { grid-column: 8 / span 3; }
.season-row__thumb { grid-column: 11 / span 2; aspect-ratio: 3 / 4; }
.season-row__name .h2 { transition: transform 0.7s var(--ease-out); }
.season-row:hover .season-row__name .h2 { transform: translateX(1.5rem); }
@media (max-width: 860px) {
  .season-row__code { grid-column: 1 / span 4; }
  .season-row__name { grid-column: 1 / span 9; }
  .season-row__desc { grid-column: 1 / span 9; margin-top: 0.75rem; }
  .season-row__thumb { grid-column: 10 / -1; grid-row: 1 / span 3; }
}

.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filter-btn {
  min-height: 44px;
  padding: 0 1.1rem;
  border: 1px solid currentColor;
  background: transparent;
  font-family: var(--font-latin);
  font-size: 0.875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
.filter-btn[aria-pressed="true"],
.filter-btn:hover { background: var(--ink); color: var(--paper); }

.lookbook {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem) var(--gutter);
}
.lookbook__item { display: grid; gap: 0.75rem; }
.lookbook__item[hidden] { display: none; }
.lookbook__item a { text-decoration: none; display: grid; gap: 0.75rem; }
.lookbook__item:nth-child(4n + 2) { margin-top: 4rem; }
.lookbook__item:nth-child(4n + 4) { margin-top: 2rem; }
@media (max-width: 860px) {
  .lookbook { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lookbook__item:nth-child(n) { margin-top: 0; }
  .lookbook__item:nth-child(even) { margin-top: 3rem; }
}

/* ---------- Collection detail ---------- */

.detail-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  padding: calc(var(--header-h) + 2rem) var(--margin) var(--margin);
  align-items: end;
}
.detail-hero__img { grid-column: 6 / span 5; grid-row: 1; align-self: stretch; }
.detail-hero__img .frame { height: 100%; min-height: 70svh; }
.detail-hero__title { grid-column: 1 / -1; grid-row: 1; position: relative; z-index: 2; mix-blend-mode: difference; color: var(--thread); pointer-events: none; }
.detail-hero__meta { grid-column: 11 / span 2; grid-row: 1; align-self: start; display: grid; gap: 0.5rem; }
@media (max-width: 860px) {
  .detail-hero__img { grid-column: 2 / -1; }
  .detail-hero__meta { grid-column: 1 / -1; grid-row: 2; margin-top: 1.5rem; }
}

.statement { row-gap: 2.5rem; }
.statement__label { grid-column: 1 / span 3; }
.statement__body { grid-column: 4 / span 6; display: grid; gap: 2rem; }
@media (max-width: 860px) { .statement__label, .statement__body { grid-column: 1 / -1; } }

.materials { row-gap: 3rem; align-items: start; }
.materials__img { grid-column: 1 / span 7; }
.materials__list { grid-column: 9 / span 4; display: grid; border-top: 1px solid currentColor; }
.materials__list li { display: grid; gap: 0.35rem; padding: 1.1rem 0; border-bottom: 1px solid rgb(127 127 127 / 0.45); }
@media (max-width: 860px) { .materials__img, .materials__list { grid-column: 1 / -1; } }

.looks { display: grid; gap: clamp(4rem, 10vw, 9rem); }
.look { align-items: end; row-gap: 1.5rem; }
.look__img { grid-column: 2 / span 5; }
.look__wide { grid-column: 7 / span 6; }
.look__info { grid-column: 8 / span 4; display: grid; gap: 1rem; }
.look--flip .look__img { grid-column: 7 / span 5; grid-row: 1; }
.look--flip .look__info { grid-column: 2 / span 4; grid-row: 1; }
.look__spec { display: grid; gap: 0.25rem; }
.look__spec div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid rgb(127 127 127 / 0.45); padding: 0.45rem 0; }
.look__spec dt { color: var(--graphite); }
.section--ink .look__spec dt { color: var(--concrete); }
@media (max-width: 860px) {
  .look__img, .look--flip .look__img { grid-column: 1 / span 10; grid-row: auto; }
  .look__info, .look--flip .look__info { grid-column: 1 / -1; grid-row: auto; }
  .look:nth-child(even) .look__img { grid-column: 3 / -1; }
}

.draft { row-gap: 2rem; }
.draft__canvas { grid-column: 1 / span 8; position: relative; aspect-ratio: 4 / 3; border: 1px solid rgb(255 255 255 / 0.2); }
.draft__canvas canvas { width: 100%; height: 100%; }
.draft__legend { grid-column: 9 / span 4; display: grid; gap: 1.5rem; align-content: start; }
.draft__pieces { display: grid; border-top: 1px solid currentColor; }
.draft__pieces li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid rgb(255 255 255 / 0.2); transition: color 0.3s; }
.draft__pieces li.is-drawn { color: var(--paper); }
.draft__pieces li:not(.is-drawn) { color: var(--graphite); }
.no-motion .draft__pieces li { color: var(--paper); }
@media (max-width: 860px) { .draft__canvas, .draft__legend { grid-column: 1 / -1; } }

.next-collection {
  display: block;
  text-decoration: none;
  padding-block: clamp(4rem, 10vw, 8rem);
  border-top: 1px solid currentColor;
}
.next-collection .h1 { transition: letter-spacing 0.8s var(--ease-out); }
.next-collection:hover .h1 { letter-spacing: 0.03em; }

/* ---------- Editorial ---------- */

.feature { row-gap: 2.5rem; align-items: start; }
.feature__img { grid-column: 1 / span 6; position: sticky; top: calc(var(--header-h) + 1rem); }
.feature__body { grid-column: 8 / span 5; display: grid; gap: 2.5rem; }
.qa { display: grid; gap: 1.75rem; }
.qa dt { font-weight: 700; }
.qa dd { margin-top: 0.5rem; }
.pullquote {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  line-height: 1.5;
  letter-spacing: 0.04em;
  padding-block: 2rem;
  border-block: 1px solid currentColor;
}
@media (max-width: 860px) {
  .feature__img { grid-column: 1 / -1; position: static; }
  .feature__body { grid-column: 1 / -1; }
}

.gallery { position: relative; }
.gallery__track {
  display: flex;
  gap: var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-inline: var(--margin);
  scroll-padding-inline: var(--margin);
  cursor: grab;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.gallery__item { flex: 0 0 auto; scroll-snap-align: start; display: grid; gap: 0.75rem; }
.gallery__item button { display: block; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gallery__item .frame { height: clamp(22rem, 62vh, 40rem); }
.gallery__item--p .frame { aspect-ratio: 3 / 4; }
.gallery__item--w .frame { aspect-ratio: 11 / 6; }
.gallery__controls { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.5rem var(--margin) 0; }
.gallery__btns { display: flex; gap: 0.5rem; }
.icon-btn {
  width: 48px; height: 48px;
  display: inline-grid; place-items: center;
  border: 1px solid currentColor;
  background: transparent;
  cursor: pointer;
  font-family: var(--font-latin);
  font-size: 1.125rem;
}
.icon-btn:hover { background: var(--paper); color: var(--ink); }
.gallery__bar { flex: 1; max-width: 20rem; height: 2px; background: rgb(255 255 255 / 0.25); }
.gallery__bar i { display: block; height: 100%; background: var(--paper); transform-origin: left; transform: scaleX(0.2); }
@media (max-width: 640px) { .gallery__item .frame { height: 26rem; } .gallery__item--w .frame { height: 14rem; } }

.lightbox {
  width: 100vw; height: 100dvh;
  max-width: none; max-height: none;
  margin: 0; padding: 0;
  border: 0;
  background: rgb(13 13 12 / 0.96);
  color: var(--paper);
}
.lightbox::backdrop { background: rgb(13 13 12 / 0.9); }
.lightbox__inner { height: 100%; display: grid; grid-template-rows: auto 1fr auto; gap: 1rem; padding: 1rem var(--margin) 1.5rem; }
.lightbox__top, .lightbox__bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.lightbox__img { min-height: 0; display: grid; place-items: center; }
.lightbox__img img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; }

/* ---------- About ---------- */

.timeline { border-top: 1px solid currentColor; }
.timeline li { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); padding: 1.5rem 0; border-bottom: 1px solid rgb(127 127 127 / 0.45); }
.timeline .year { grid-column: 1 / span 2; }
.timeline .event { grid-column: 4 / span 4; }
.timeline .detail { grid-column: 8 / span 5; }
@media (max-width: 860px) {
  .timeline .year { grid-column: 1 / span 3; }
  .timeline .event { grid-column: 4 / -1; }
  .timeline .detail { grid-column: 4 / -1; margin-top: 0.5rem; }
}

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); border-top: 1px solid currentColor; padding-top: 1.5rem; }
.facts div { display: grid; gap: 0.5rem; align-content: start; }
@media (max-width: 860px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; } }

/* ---------- Contact ---------- */

.contact { row-gap: 3rem; align-items: start; }
.contact__info { grid-column: 1 / span 4; display: grid; gap: 2.5rem; }
.contact__form { grid-column: 6 / span 7; }
@media (max-width: 860px) { .contact__info, .contact__form { grid-column: 1 / -1; } }

.form { display: grid; gap: 1.75rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem var(--gutter); }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 0.5rem; }
.field label, .field legend { font-family: var(--font-latin); font-size: 0.875rem; letter-spacing: 0.14em; text-transform: uppercase; }
.field .req { color: var(--graphite); margin-left: 0.4em; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  font: inherit;
  font-size: 1rem;
  color: inherit;
  appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 12px) 50%, calc(100% - 6px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline: none; border-bottom-width: 2px; }
.field [aria-invalid="true"] { border-bottom-color: currentColor; border-bottom-style: dashed; border-bottom-width: 2px; }
.field__error { font-size: 0.875rem; font-weight: 700; min-height: 1.4em; }
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: 0.75rem; }
.field--check input { width: 20px; min-height: 20px; height: 20px; margin-top: 0.3rem; border: 1px solid var(--ink); appearance: auto; accent-color: var(--ink); }
.field--check label { font-family: var(--font-jp); text-transform: none; letter-spacing: 0.02em; font-size: 0.9375rem; }
.field--check .field__error { grid-column: 2; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.radios { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.25rem; }
.radios input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.radios label {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem;
  border: 1px solid var(--ink); cursor: pointer;
  font-family: var(--font-jp); text-transform: none; letter-spacing: 0.02em; font-size: 0.9375rem;
}
.radios input:checked + label { background: var(--ink); color: var(--paper); }
.radios input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 3px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 1rem;
  min-height: 56px; padding: 0 2rem;
  border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper);
  font-family: var(--font-latin); font-size: 0.875rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn[disabled] { opacity: 0.5; cursor: progress; }
.form__status { padding: 1.25rem; border: 1px solid currentColor; }
.form__status[hidden] { display: none; }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: var(--paper); padding: clamp(4rem, 8vw, 7rem) var(--margin) 2rem; overflow: hidden; }
.site-footer .muted { color: var(--concrete); }
.footer-top { row-gap: 2.5rem; }
.footer-top > :nth-child(1) { grid-column: 1 / span 5; display: grid; gap: 1.25rem; align-content: start; }
.footer-top > :nth-child(2) { grid-column: 7 / span 2; }
.footer-top > :nth-child(3) { grid-column: 9 / span 2; }
.footer-top > :nth-child(4) { grid-column: 11 / span 2; }
.footer-list { display: grid; gap: 0.35rem; margin-top: 1rem; }
.footer-list a { text-decoration: none; }
.footer-list a:hover { text-decoration: underline; text-underline-offset: 0.3em; }
.footer-mark { margin-top: clamp(3rem, 8vw, 6rem); font-size: clamp(3.5rem, 15.6vw, 20rem); line-height: 0.8; white-space: nowrap; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgb(255 255 255 / 0.25); }
@media (max-width: 860px) {
  .footer-top > :nth-child(1) { grid-column: 1 / -1; }
  .footer-top > :nth-child(2),
  .footer-top > :nth-child(3) { grid-column: span 6; }
  .footer-top > :nth-child(4) { grid-column: 1 / -1; }
}

/* ---------- 404 ---------- */
.notfound { min-height: 100svh; display: grid; align-content: end; gap: 2rem; padding: var(--header-h) var(--margin) var(--margin); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* Responsive typography: preserve words, allow grid children to shrink. */
:where(main, section, article, figure, .grid) > * { min-width: 0; }
:where(h1, h2, h3) { line-break: strict; }
:where(p, li, dd, figcaption) { line-break: strict; }
:where(h1, h2, h3):lang(ja) { word-break: auto-phrase; overflow-wrap: break-word; }
:where(p, figcaption):lang(ja) { text-wrap: pretty; }

.section-head { flex-wrap: wrap; align-items: baseline; gap: 1rem 2rem; }
.section-head > a { flex: none; white-space: nowrap; }
.section-head .h1 { font-size: clamp(2.5rem, 8vw, 8rem); }
.split-inner { max-width: 100%; }
.no-motion .hero__word { font-size: clamp(3rem, 12vw, 8rem); }
.lookbook .frame { aspect-ratio: 3 / 4; }
@media (max-width: 40rem) {
  .spread__title { font-size: clamp(3rem, 14vw, 5.5rem); line-height: 0.95; }
  .switcher__main { grid-column: 1 / span 6; }
  .switcher__second { grid-column: 7 / -1; }
  .switcher__main .frame, .switcher__second .frame { aspect-ratio: 3 / 4; }
  .lookbook { gap: 2rem 1rem; }
  .lookbook__item:nth-child(n) { margin-top: 0; }
  .detail-hero__img .frame { min-height: 0; height: auto; aspect-ratio: 3 / 4; }
  .detail-hero { min-height: auto; }
}

/* Editorial columns stack as a unit; inline desktop spans must not survive on mobile. */
.responsive-column { grid-column: var(--column); }
@media (max-width: 53.75rem) {
  .responsive-column { grid-column: 1 / -1; }
}
@media (max-width: 40rem) {
  .display { font-size: clamp(3rem, 15vw, 6rem); }
  .caption { flex-wrap: wrap; gap: 0.5rem 1rem; }
}
