/* ==========================================================================
   TENDO JEANS — storefront
   Monochrome editorial. One accent: the selvedge line, the red self-edge
   stripe woven into real selvedge denim. It marks every active state.
   ========================================================================== */

@font-face {
  font-family: "Roxborough CF";
  src: url("/fonts/roxborough-cf-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Public Sans";
  src: url("/fonts/public-sans-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Public Sans";
  src: url("/fonts/public-sans-variable-italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #0b0b0b;
  --ink-soft: #1c1c1c;
  --paper: #fafafa;
  --bone: #f0efec;
  --bone-deep: #dddcd8;
  --steel: #777777;
  --line: #d8d7d3;
  --selvedge: #0b0b0b;
  --indigo: #131f36;

  --display: "Roxborough CF", Didot, "Times New Roman", serif;
  --body: "Public Sans", Arial, sans-serif;
  --mono: "Public Sans", Arial, sans-serif;
  --serif: "Public Sans", Arial, sans-serif;

  --gutter: clamp(1rem, 4vw, 3.5rem);
  --header-h: 4.25rem;
  --masthead-bar-h: calc(var(--header-h) + 0.35rem + 1px);
  --ticker-h: 1.87rem;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

/* The hidden attribute must win over any display rule further down. */
[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.55;
  font-feature-settings: "kern" 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
}

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

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

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

code,
kbd,
samp,
pre {
  font-family: var(--body);
}

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

/* --------------------------------------------------------------- type --- */

.display {
  font-family: var(--display);
  font-variation-settings:
    "wdth" 62,
    "wght" 800;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  word-spacing: 0.08em;
  line-height: 0.86;
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--display) !important;
}

.display--wide {
  font-variation-settings:
    "wdth" 100,
    "wght" 700;
  letter-spacing: -0.01em;
}

.micro {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
  margin: 0;
}

.micro--ink {
  color: var(--ink);
}

.serif-note {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.5;
  color: var(--ink-soft);
}

/* The selvedge rule: a hairline nicked with red at its start. */
.rule {
  position: relative;
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
}

.rule::before {
  content: "";
  position: absolute;
  top: -1.5px;
  left: 0;
  width: 2.25rem;
  height: 3px;
  background: var(--selvedge);
}

/* ------------------------------------------------------------- layout --- */

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

.section {
  padding-block: clamp(4rem, 9vw, 8rem);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
}

.section-head h2 {
  font-size: clamp(2.25rem, 7vw, 5.5rem);
}

.section-link {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--ink);
  transition:
    color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.section-link:hover {
  color: var(--selvedge);
  border-color: var(--selvedge);
}

/* ------------------------------------------------------------- header --- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
  font-family: var(--body);
}

.masthead__ticker {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  white-space: nowrap;
}

.ticker__track {
  display: inline-flex;
  gap: 3rem;
  padding-block: 0.45rem;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  animation: ticker 34s linear infinite;
  will-change: transform;
}

.ticker__track span::after {
  content: "";
  display: inline-block;
  width: 1.5rem;
  height: 1px;
  background: var(--selvedge);
  vertical-align: middle;
  margin-left: 3rem;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.masthead__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  height: calc(var(--header-h) + 0.35rem);
  padding-inline: var(--gutter);
}

.nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

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

.nav a {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-block: 0.35rem;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--selvedge);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.wordmark {
  display: block;
  width: clamp(7.5rem, 9vw, 9rem);
  line-height: 0;
}

.wordmark img {
  width: 100%;
  height: auto;
}

.cart-link {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
}

.utility-icon {
  display: none;
  width: 1.45rem;
  height: 1.45rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-count {
  font-family: var(--mono);
  font-size: 0.625rem;
  background: var(--ink);
  color: var(--paper);
  min-width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  padding-inline: 0.25rem;
}

.cart-count[data-empty="true"] {
  background: transparent;
  color: var(--steel);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-toggle__icon {
  display: block;
  width: 1.6rem;
  height: 1.6rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}

.nav-toggle__line {
  transform-origin: center;
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line--top {
  transform: translateY(5.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line--middle {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line--bottom {
  transform: translateY(-5.5px) rotate(-45deg);
}

.header-search {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  z-index: 2;
  padding: 1.25rem var(--gutter) 1.5rem;
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
  box-shadow: 0 0.75rem 1.5rem rgba(11, 11, 11, 0.08);
}

.header-search__form {
  width: min(100%, 42rem);
  margin-inline: auto;
}

.header-search__form label {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.header-search__field {
  display: flex;
}

.header-search__field input {
  min-width: 0;
  flex: 1;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

.header-search__field button {
  padding-inline: 1.35rem;
  border: 1px solid var(--ink);
  border-left: 0;
  border-radius: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

/* --------------------------------------------------------------- hero --- */

.hero {
  position: relative;
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 7vw, 6rem);
  overflow: hidden;
}

.hero__meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: clamp(1.5rem, 5vw, 3.5rem);
}

/* The wordmark and the garments share one stacking context: two images sit
   in front of the letterforms, one behind. That interlock is the hero. */
.hero__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(20rem, 46vw, 34rem);
}

.hero__word {
  position: relative;
  z-index: 2;
  font-family: var(--display);
  font-variation-settings:
    "wdth" 66,
    "wght" 900;
  font-weight: 900;
  font-size: clamp(5rem, 25vw, 22rem);
  line-height: 0.78;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin: 0;
  pointer-events: none;
  mix-blend-mode: normal;
}

.hero__word span {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  animation: rise 1s var(--ease) forwards;
}

@keyframes rise {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.hero__figure {
  position: absolute;
  opacity: 0;
  animation: fade-up 1.1s var(--ease) forwards;
}

.hero__figure img,
.hero__figure .plinth {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__figure--back {
  z-index: 1;
  width: clamp(11rem, 26vw, 22rem);
  aspect-ratio: 3 / 4;
  top: 6%;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 0.15s;
}

.hero__figure--left {
  z-index: 3;
  width: clamp(6.5rem, 15vw, 13rem);
  aspect-ratio: 3 / 4;
  left: 2%;
  bottom: 4%;
  animation-delay: 0.5s;
}

.hero__figure--right {
  z-index: 3;
  width: clamp(6.5rem, 14vw, 12rem);
  aspect-ratio: 3 / 4;
  right: 2%;
  top: 8%;
  animation-delay: 0.7s;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(1.5rem) translateX(var(--tx, 0));
  }
  to {
    opacity: 1;
    transform: translateY(0) translateX(var(--tx, 0));
  }
}

.hero__figure--back {
  --tx: -50%;
}

.hero__caption {
  position: absolute;
  z-index: 4;
  max-width: 14rem;
}

.hero__caption--bl {
  left: 2%;
  top: 6%;
}

.hero__caption--br {
  right: 2%;
  bottom: 6%;
  text-align: right;
}

.hero__foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: clamp(1.5rem, 4vw, 3rem);
}

.hero__line {
  font-family: var(--display);
  font-variation-settings:
    "wdth" 78,
    "wght" 600;
  font-size: clamp(1.1rem, 2.4vw, 1.9rem);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.05;
  max-width: 22ch;
  margin: 0;
}

/* ---------------------------------------------------------- cta / btn --- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 1.05rem 2rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  transition:
    background 0.25s var(--ease),
    color 0.25s var(--ease);
}

.btn:hover {
  background: var(--paper);
  color: var(--ink);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
}

.btn--ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn--block {
  width: 100%;
}

.btn[disabled] {
  border-color: var(--line);
  background: var(--bone);
  color: var(--steel);
  cursor: not-allowed;
}

/* --------------------------------------------------------- grid/cards --- */

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.75rem) clamp(0.75rem, 2vw, 1.75rem);
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* The shop and collection rails run five across, dropping a column at a time.
   The generic .grid breakpoints further down take over below 1024px. */
.grid--5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media (max-width: 1280px) {
  .grid--5 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.card {
  display: block;
  position: relative;
}

.card__frame {
  position: relative;
  aspect-ratio: 3 / 4;
  background: #f4f4f2;
  border: 1px solid #e9e8e4;
  overflow: hidden;
}

.card__frame img,
.card__frame .plinth {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    opacity 0.45s var(--ease),
    transform 0.7s var(--ease);
}

.card__frame img.is-hover {
  opacity: 0;
}

.card:hover .card__frame img.is-base {
  opacity: 0;
}

.card:hover .card__frame img.is-hover {
  opacity: 1;
}

.card:hover .card__frame img:only-of-type {
  transform: scale(1.035);
}

.card__tag {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  z-index: 2;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
}

.card__tag--out {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--ink);
}

.card__body {
  padding-top: 0.85rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}

.card__name {
  font-size: 0.75rem;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  margin: 0;
  font-weight: 500;
}

.card__sub {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
  margin: 0.2rem 0 0;
}

.card__price {
  font-family: var(--mono);
  font-size: 0.72rem;
  white-space: nowrap;
}

.blackletter {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  line-height: 0.9;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-width: 15rem;
  padding: 0.85rem 0;
  border-block: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition:
    padding 0.25s var(--ease),
    color 0.25s var(--ease);
}

.arrow-link span {
  font-size: 1rem;
}

.arrow-link:hover {
  padding-inline: 0.55rem;
}

/* ---------------------------------------------- editorial homepage --- */

.editorial-hero {
  height: calc(100svh - var(--masthead-bar-h));
  min-height: 0;
  padding-top: clamp(0.75rem, 2.2vh, 1.35rem);
  padding-bottom: clamp(1rem, 4.5vh, 3rem);
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}

body.has-announcement .editorial-hero {
  height: calc(100svh - var(--masthead-bar-h) - var(--ticker-h));
}

.editorial-hero__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  isolation: isolate;
}

.editorial-hero__clothesline {
  position: absolute;
  z-index: 2;
  /* Pull the wire up to the masthead so it becomes the header rule. */
  top: calc(-1 * clamp(0.75rem, 2.2vh, 1.35rem));
  left: calc(-1 * var(--gutter));
  right: calc(-1 * var(--gutter));
  height: clamp(4rem, 8vh, 5.5rem);
  overflow: hidden;
  pointer-events: none;
}

.editorial-hero__clothesline::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  border-top: 1px solid var(--ink);
}

.clothesline-track {
  display: flex;
  width: max-content;
  height: 100%;
  animation: clothesline-travel 38s linear infinite;
  will-change: transform;
}

.clothesline-set {
  display: flex;
  flex: none;
  align-items: flex-start;
  height: 100%;
}

.clothesline-garments {
  flex: none;
  width: auto;
  height: 100%;
  object-fit: contain;
  filter: contrast(1.08);
}

@keyframes clothesline-travel {
  to {
    transform: translateX(-50%);
  }
}

.editorial-hero__word {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(14px, 1.3vw, 26px);
  width: auto;
  max-width: min(74vw, 84rem);
  height: min(23vw, 28rem, 100%);
  aspect-ratio: 74 / 23;
  margin: 0;
}

.mosaic-set {
  display: flex;
  align-items: stretch;
  gap: inherit;
  width: 100%;
  height: 100%;
}

.mosaic-set--mobile {
  display: none;
}

.mosaic-letter {
  flex: 1 1 0;
  align-self: stretch;
  position: relative;
  min-width: 0;
}

.mosaic-letter:has(.mosaic-tile:hover) {
  z-index: 20;
}

.mosaic-tile {
  position: absolute;
  left: var(--tile-left);
  top: var(--tile-top);
  width: var(--tile-width);
  height: var(--tile-height);
  display: block;
  min-width: 0;
  min-height: 0;
  background-image: var(--tile-image);
  background-position: var(--tile-focus);
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow:
    0 0 0 clamp(1px, 0.1vw, 2px) var(--ink),
    0 0.35rem 1.2rem rgba(0, 0, 0, 0.08);
  filter: grayscale(0.58) saturate(0.78) contrast(1.12);
  cursor: zoom-in;
  opacity: 1;
  transform: rotate(var(--tile-rotation));
  transform-origin: center;
  transition:
    transform 0.42s var(--ease),
    filter 0.32s var(--ease),
    box-shadow 0.42s var(--ease),
    opacity 0.32s var(--ease);
  animation: mosaic-tile-in 0.8s var(--ease) var(--tile-delay) backwards;
}

.mosaic-tile:nth-child(3n) {
  z-index: 2;
}

.mosaic-tile:nth-child(4n) {
  z-index: 3;
}

.mosaic-tile:hover {
  z-index: 30;
  transform: rotate(0deg) scale(2.15);
  filter: grayscale(0) saturate(1.05) contrast(1.04);
  box-shadow:
    0 0 0 clamp(2px, 0.16vw, 3px) var(--ink),
    0 1.4rem 3.5rem rgba(0, 0, 0, 0.28);
}

.editorial-hero__mosaic:has(.mosaic-tile:hover) .mosaic-tile:not(:hover) {
  opacity: 0.72;
  filter: grayscale(0.82) saturate(0.62) contrast(1.08);
}

@keyframes mosaic-tile-in {
  from {
    opacity: 0;
    transform: translateY(1rem) rotate(var(--tile-rotation)) scale(0.96);
  }
  to {
    opacity: 1;
    transform: rotate(var(--tile-rotation));
  }
}

.editorial-hero__crop {
  position: absolute;
  z-index: 1;
  margin: 0;
  overflow: hidden;
  border: 8px solid var(--paper);
  box-shadow: 0 0 0 1px var(--ink);
}

.editorial-hero__crop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.8) contrast(1.1);
}

.editorial-hero__crop--left {
  width: clamp(7rem, 13vw, 13rem);
  aspect-ratio: 4 / 5;
  left: 8%;
  top: 11%;
  transform: rotate(-2deg);
}

.editorial-hero__crop--left img {
  object-position: 8% center;
}

.editorial-hero__crop--right {
  width: clamp(6rem, 11vw, 11rem);
  aspect-ratio: 3 / 4;
  right: 6%;
  bottom: 8%;
  transform: rotate(2deg);
}

.editorial-hero__crop--right img {
  object-position: 82% center;
}

.editorial-hero__script,
.campaign-story__script {
  position: absolute;
  z-index: 5;
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(5rem, 11vw, 11rem);
  font-weight: 600;
  font-style: italic;
  line-height: 0.7;
  letter-spacing: -0.1em;
  transform: rotate(-9deg);
  pointer-events: none;
}

.editorial-hero__script {
  left: 50%;
  right: auto;
  top: auto;
  bottom: 8%;
  font-size: clamp(1.75rem, 3.25vw, 3.5rem);
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transform: translateX(-50%);
}

.editorial-hero__code {
  position: absolute;
  z-index: 4;
  left: 0;
  bottom: 15%;
  color: var(--ink);
}

.editorial-hero__seal {
  position: absolute;
  z-index: 4;
  right: 1.5%;
  top: 12%;
  width: clamp(4.4rem, 6vw, 6rem);
  aspect-ratio: 1;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: grid;
  grid-template-columns: 1fr auto;
  place-items: center;
  padding: 0.6rem;
  transform: rotate(8deg);
}

.editorial-hero__seal span {
  font-family: var(--display);
  font-size: clamp(1rem, 1.7vw, 1.7rem);
  font-weight: 800;
}

.editorial-hero__seal small {
  font-family: var(--mono);
  font-size: 0.42rem;
  line-height: 1.15;
}

.editorial-hero__foot {
  display: grid;
  grid-template-columns: 1.15fr minmax(18rem, 0.75fr) auto;
  gap: clamp(2rem, 5vw, 6rem);
  align-items: end;
  padding-top: 1.35rem;
  border-top: 1px solid var(--ink);
}

.editorial-hero__foot h2 {
  margin: 0.6rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.55rem, 3vw, 3rem);
  font-weight: 800;
  font-variation-settings:
    "wdth" 70,
    "wght" 850;
  line-height: 0.95;
  text-transform: uppercase;
}

.editorial-hero__intro {
  max-width: 33rem;
  margin: 0;
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.35;
}

.editorial-drop {
  position: relative;
  overflow: hidden;
  padding-top: clamp(6rem, 11vw, 11rem);
}

.editorial-drop__number {
  position: absolute;
  z-index: -1;
  top: 2rem;
  right: -2vw;
  color: #efefed;
  font-family: var(--display);
  font-size: clamp(16rem, 40vw, 42rem);
  font-weight: 900;
  font-variation-settings:
    "wdth" 62,
    "wght" 900;
  line-height: 0.65;
  letter-spacing: -0.09em;
}

.editorial-drop__head {
  position: relative;
  z-index: 1;
}

.editorial-drop__head .display {
  margin-top: 0.65rem;
  font-size: clamp(3.5rem, 9vw, 9rem);
}

.editorial-drop__grid {
  position: relative;
  z-index: 1;
  align-items: start;
}

.editorial-drop__item {
  position: relative;
}

.editorial-drop__item--2,
.editorial-drop__item--4 {
  margin-top: clamp(2rem, 6vw, 6rem);
}

.editorial-drop__index {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.campaign-story {
  min-height: min(60rem, 92svh);
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  background: var(--ink);
  color: var(--paper);
}

.campaign-story__image {
  min-height: 40rem;
  background: url("/img/tendo-denim-campaign.webp") 35% center / cover no-repeat;
  filter: grayscale(0.35) contrast(1.08);
}

.campaign-story__copy {
  position: relative;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(4rem, 8vw, 8rem);
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.campaign-story__copy > * {
  position: relative;
  z-index: 2;
}

.campaign-story__copy h2 {
  margin: 1.5rem 0 2rem;
  font-size: clamp(3.5rem, 7.5vw, 8rem);
}

.campaign-story__copy .serif-note {
  max-width: 32rem;
  color: rgba(255, 255, 255, 0.72);
}

.campaign-story__script {
  z-index: 1;
  top: 20%;
  right: 5%;
  color: rgba(255, 255, 255, 0.16);
  font-size: clamp(5rem, 10vw, 10rem);
}

.arrow-link--light {
  margin-top: 2.25rem;
  border-color: rgba(255, 255, 255, 0.6);
}

.atelier-spec {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(3rem, 8vw, 10rem);
  padding-block: clamp(5rem, 10vw, 10rem);
}

.atelier-spec__title h2 {
  margin: 0.8rem 0 0;
  font-family: var(--display);
  font-size: clamp(4rem, 9vw, 9rem);
  font-weight: 900;
  font-variation-settings:
    "wdth" 65,
    "wght" 900;
  letter-spacing: -0.055em;
  line-height: 0.9;
  text-transform: uppercase;
}

.atelier-spec__list {
  border-top: 1px solid var(--ink);
}

.atelier-spec__list > div {
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  gap: 1rem;
  align-items: baseline;
  padding-block: 1.35rem;
  border-bottom: 1px solid var(--ink);
}

.atelier-spec__list span,
.atelier-spec__list small {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.atelier-spec__list p {
  margin: 0;
  font-size: clamp(1rem, 1.65vw, 1.4rem);
  text-transform: uppercase;
}

.atelier-spec__list small {
  color: var(--steel);
}

.collection-editorial {
  border-top: 1px solid var(--ink);
}

.collection-tile {
  position: relative;
}

.collection-tile__arrow {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
}

.foot__mark {
  color: transparent;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)),
    url("/img/tendo-denim-campaign.webp");
  background-position:
    center,
    center 55%;
  background-size: cover, cover;
  background-repeat: no-repeat;
  /* Use the exact header logo artwork and crop its smaller JEANS line. */
  -webkit-mask: url("/img/tendo-logo.png") center top / 100% auto no-repeat;
  mask: url("/img/tendo-logo.png") center top / 100% auto no-repeat;
  filter: grayscale(1) drop-shadow(1px 0 rgba(255, 255, 255, 0.35))
    drop-shadow(-1px 0 rgba(255, 255, 255, 0.35))
    drop-shadow(0 1px rgba(255, 255, 255, 0.35))
    drop-shadow(0 -1px rgba(255, 255, 255, 0.35));
}

.card__sizes {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  gap: 0.35rem;
  justify-content: center;
  padding: 0.6rem;
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.95),
    rgba(255, 255, 255, 0)
  );
  opacity: 0;
  transform: translateY(0.4rem);
  transition:
    opacity 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.card:hover .card__sizes,
.card:focus-within .card__sizes {
  opacity: 1;
  transform: translateY(0);
}

.card__sizes span {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.35rem;
  border: 1px solid var(--ink);
  background: var(--paper);
}

.card__sizes span[data-out="true"] {
  color: var(--steel);
  border-color: var(--line);
  text-decoration: line-through;
}

/* Placeholder used until a real photo is uploaded. */
.plinth {
  display: grid;
  place-items: center;
  background: var(--bone);
  color: var(--bone-deep);
  position: relative;
}

.plinth svg {
  width: 55%;
  height: auto;
}

.plinth__code {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  color: var(--steel);
  text-transform: uppercase;
}

/* ---------------------------------------------------------- manifesto --- */

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

.manifesto .rule {
  border-color: rgba(255, 255, 255, 0.18);
}

.manifesto__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.manifesto h2 {
  font-size: clamp(2.5rem, 8vw, 7rem);
}

.manifesto .serif-note {
  color: rgba(255, 255, 255, 0.78);
}

.spec-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.spec-list li {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.85rem;
}

.spec-list dt,
.spec-list .k {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
}

/* ------------------------------------------------------- collections --- */

.collection-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.collection-tile {
  background: var(--paper);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  min-height: 11rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition:
    background 0.3s var(--ease),
    color 0.3s var(--ease);
}

.collection-tile:hover {
  background: var(--ink);
  color: var(--paper);
}

.collection-tile:hover .micro {
  color: rgba(255, 255, 255, 0.6);
}

.collection-tile h3 {
  font-family: var(--display);
  font-variation-settings:
    "wdth" 70,
    "wght" 800;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  text-transform: uppercase;
  line-height: 0.9;
  margin: 1.5rem 0 0;
}

/* ------------------------------------------- collections index page --- */

/* Beats the .shop-head h1 size defined further down. */
.shop-head.collection-head h1 {
  font-size: clamp(2.25rem, 6vw, 4.5rem);
}

.collection-index-wrap {
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.collection-index {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem) clamp(0.75rem, 1.5vw, 1.25rem);
}

.collection-block {
  display: block;
}

.collection-block__frame {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--bone);
  overflow: hidden;
}

.collection-block__frame img,
.collection-block__frame .plinth {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.collection-block:hover .collection-block__frame > img,
.collection-block:hover .collection-block__frame > .plinth {
  transform: scale(1.04);
}

.collection-block__body {
  position: relative;
  border-top: 1px solid var(--line);
  padding-top: 0.6rem;
  margin-top: 0.7rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
}

.collection-block__body::before {
  content: "";
  position: absolute;
  top: -1.5px;
  left: 0;
  width: 1.5rem;
  height: 2px;
  background: var(--selvedge);
  transition: width 0.4s var(--ease);
}

.collection-block:hover .collection-block__body::before {
  width: 3.5rem;
}

.collection-block__body h2 {
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
  margin: 0;
}

.collection-block__count {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .collection-index {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .collection-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ------------------------------------------------------------- shop --- */

.shop-head {
  padding-top: clamp(2rem, 5vw, 3.5rem);
}

.shop-head h1 {
  font-size: clamp(3rem, 13vw, 11rem);
}

.filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
  margin-block: 1.5rem;
}

.filter {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--line);
  transition:
    border-color 0.2s var(--ease),
    background 0.2s var(--ease),
    color 0.2s var(--ease);
}

.filter:hover {
  border-color: var(--ink);
}

.filter[aria-current="true"] {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  box-shadow: inset 3px 0 0 var(--selvedge);
}

.search-form {
  display: flex;
  gap: 0;
  margin-left: auto;
}

.search-form input {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--line);
  background: transparent;
  min-width: 11rem;
}

.search-form button {
  border: 1px solid var(--ink);
  border-left: 0;
  background: var(--ink);
  color: var(--paper);
  padding-inline: 0.9rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  cursor: pointer;
}

.shop-layout {
  display: grid;
  grid-template-columns: minmax(12rem, 14rem) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
  padding-bottom: clamp(4rem, 9vw, 8rem);
}

.shop-filter {
  position: sticky;
  top: calc(var(--masthead-bar-h) + 1.5rem);
  border-top: 1px solid var(--ink);
}

body.has-announcement .shop-filter {
  top: calc(var(--masthead-bar-h) + var(--ticker-h) + 1.5rem);
}

.shop-filter__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--line);
}

.shop-filter__head h2,
.shop-filter__group legend {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.shop-filter__head a {
  color: var(--steel);
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.shop-filter__group {
  margin: 0;
  padding: 1.25rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.shop-filter__group legend {
  width: 100%;
  padding: 0 0 0.85rem;
}

.price-range {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.45rem;
  align-items: end;
}

.price-range > span {
  padding-bottom: 0.55rem;
  color: var(--steel);
}

.price-range label span {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--steel);
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.price-range input {
  width: 100%;
  min-width: 0;
  padding: 0.55rem 0.45rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  font-family: var(--mono);
  font-size: 0.68rem;
}

.filter-sizes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
}

.filter-sizes label {
  position: relative;
  cursor: pointer;
}

.filter-sizes input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.filter-sizes span {
  min-height: 2.25rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.65rem;
  transition:
    border-color 0.2s var(--ease),
    background 0.2s var(--ease),
    color 0.2s var(--ease);
}

.filter-sizes label:hover span {
  border-color: var(--ink);
}

.filter-sizes input:checked + span {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
  box-shadow: inset 0 -3px 0 var(--selvedge);
}

.filter-sizes input:focus-visible + span {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.shop-filter__apply {
  margin-top: 1rem;
}

.shop-results {
  min-width: 0;
}

.shop-results .grid--5 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1200px) {
  .shop-layout {
    grid-template-columns: minmax(11rem, 13rem) minmax(0, 1fr);
    gap: 2rem;
  }

  .shop-results .grid--5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.empty {
  border: 1px dashed var(--line);
  padding: clamp(2.5rem, 8vw, 6rem);
  text-align: center;
}

.empty h3 {
  font-family: var(--display);
  font-variation-settings:
    "wdth" 70,
    "wght" 800;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin: 0 0 0.75rem;
}

/* ----------------------------------------------------------- product --- */

.pdp-title {
  font-size: clamp(2.2rem, 5vw, 5.5rem);
  padding-block: clamp(0.8rem, 2vw, 1.5rem) clamp(1.2rem, 2vw, 2rem);
  word-break: break-word;
}

.pdp {
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(22rem, 48rem) minmax(0, 16rem);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
  justify-content: space-between;
}

.pdp__gallery {
  position: relative;
  width: 100%;
  max-width: 48rem;
  justify-self: center;
}

.pdp__main {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--bone);
  overflow: hidden;
  padding: clamp(1rem, 2.2vw, 2.25rem);
}

.pdp__main img,
.pdp__main .plinth {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pdp__thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.6rem;
  flex-wrap: wrap;
}

.pdp__thumb {
  width: 4.25rem;
  aspect-ratio: 3 / 4;
  background: var(--bone);
  border: 1px solid transparent;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
}

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

.pdp__thumb[aria-selected="true"] {
  border-color: var(--ink);
  box-shadow: inset 0 -3px 0 var(--selvedge);
}

.pdp__col h2 {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 400;
  margin: 0 0 0.75rem;
}

.pdp__price {
  font-family: var(--display);
  font-variation-settings:
    "wdth" 80,
    "wght" 700;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin: 0 0 1.5rem;
}

.accordion {
  border-top: 1px solid var(--line);
}

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

.accordion__head {
  width: 100%;
  background: none;
  border: 0;
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: left;
}

.accordion__head span:last-child {
  flex: none;
  width: 1.4rem;
  height: 1.4rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  font-size: 0.95rem;
  line-height: 1;
  transition:
    transform 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.accordion__head[aria-expanded="true"] span:last-child {
  transform: rotate(45deg);
  border-color: var(--ink);
}

.accordion__panel {
  display: none;
  padding-bottom: 1.25rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.accordion__panel[data-open="true"] {
  display: block;
}

.accordion__panel p {
  margin: 0 0 0.6rem;
}

.sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.colors {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.choice-name {
  color: var(--steel);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.color-chip {
  position: relative;
  display: block;
  width: 2.65rem;
  aspect-ratio: 1;
  padding: 3px;
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.color-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.color-chip__swatch {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--swatch, var(--bone));
}

.color-chip:hover,
.color-chip:has(input:checked) {
  border-color: var(--ink);
}

.color-chip:has(input:checked) {
  box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--ink);
}

.color-chip[data-out="true"] {
  cursor: not-allowed;
  color: var(--steel);
  opacity: 0.55;
}

.size-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  padding: 0.7rem 0.6rem;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.72rem;
  cursor: pointer;
  background: var(--paper);
  transition: border-color 0.2s var(--ease);
}

.size-chip:hover {
  border-color: var(--ink);
}

.size-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.size-chip:has(input:checked) {
  border-color: var(--ink);
  box-shadow: inset 0 -3px 0 var(--selvedge);
}

.size-chip[data-out="true"] {
  color: var(--steel);
  cursor: not-allowed;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 5px,
    var(--bone) 5px,
    var(--bone) 6px
  );
}

.qty {
  display: inline-flex;
  border: 1px solid var(--line);
  margin-bottom: 1rem;
}

.qty button {
  background: none;
  border: 0;
  width: 2.5rem;
  height: 2.75rem;
  cursor: pointer;
  font-family: var(--mono);
}

.qty input {
  width: 3rem;
  border: 0;
  text-align: center;
  font-family: var(--mono);
  font-size: 0.8rem;
  background: transparent;
  -moz-appearance: textfield;
}

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

.buy-stack {
  display: grid;
  gap: 0.5rem;
}

.pdp__meta {
  margin-top: 2rem;
  display: grid;
  gap: 0.5rem;
}

.pdp__meta div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pdp__meta span:first-child {
  color: var(--steel);
}

/* -------------------------------------------------------------- cart --- */

.page-head {
  padding-block: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 3vw, 2.5rem);
}

.page-head h1 {
  font-size: clamp(2.5rem, 10vw, 8rem);
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 20rem);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  padding-bottom: 5rem;
}

.cart-line {
  display: grid;
  grid-template-columns: 5.5rem 1fr auto;
  gap: 1.25rem;
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.cart-line__img {
  aspect-ratio: 3 / 4;
  background: var(--bone);
  overflow: hidden;
}

.cart-line__img img,
.cart-line__img .plinth {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-line h3 {
  font-size: 0.95rem;
  margin: 0 0 0.3rem;
  font-weight: 500;
}

.cart-line__actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.6rem;
}

.link-btn {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
  border-bottom: 1px solid var(--line);
}

.link-btn:hover {
  color: var(--selvedge);
  border-color: var(--selvedge);
}

.summary {
  border: 1px solid var(--ink);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}

.summary h2 {
  font-family: var(--display);
  font-variation-settings:
    "wdth" 70,
    "wght" 800;
  text-transform: uppercase;
  font-size: 1.6rem;
  margin: 0 0 1.25rem;
}

.summary__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  padding-block: 0.45rem;
}

.summary__row--total {
  border-top: 1px solid var(--ink);
  margin-top: 0.75rem;
  padding-top: 0.9rem;
  font-size: 0.95rem;
}

.summary__row--discount span {
  color: var(--selvedge);
}

/* ------------------------------------------------------------- promo --- */

.promo {
  border-top: 1px solid var(--line);
  margin-top: 1rem;
  padding-top: 1rem;
}

.promo__form label {
  display: block;
  margin-bottom: 0.4rem;
}

.promo__row {
  display: flex;
}

.promo__row input {
  flex: 1;
  min-width: 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

.promo__row input:focus {
  outline: none;
  border-color: var(--ink);
}

.promo__row button {
  border: 1px solid var(--ink);
  border-left: 0;
  background: var(--ink);
  color: var(--paper);
  padding-inline: 1rem;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.promo__row button:hover {
  background: var(--paper);
  color: var(--ink);
}

.promo__applied {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.promo__tag {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px dashed var(--ink);
  padding: 0.3rem 0.55rem;
}

.promo__saved {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  margin-right: auto;
}

.summary__note {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--selvedge);
  margin: 0.75rem 0 0;
}

/* ------------------------------------------------------------- forms --- */

.field {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.field label {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
}

.field input,
.field textarea,
.field select {
  font-family: var(--body);
  font-size: 0.9rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  width: 100%;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--ink);
  outline: none;
  box-shadow: inset 0 -3px 0 var(--selvedge);
}

.field textarea {
  min-height: 6rem;
  resize: vertical;
}

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

.turnstile-field {
  width: 100%;
  margin: 1rem 0;
  display: block;
  visibility: visible;
  overflow: visible;
}

.turnstile-field .cf-turnstile {
  width: 100%;
  display: block;
  visibility: visible;
  max-width: 100%;
}

.turnstile-field noscript p {
  margin: 0;
  padding: 0.75rem;
  border: 1px solid var(--line);
  font-size: 0.8rem;
}

/* ------------------------------------------------------------- flash --- */

.flash-stack {
  position: fixed;
  top: calc(var(--header-h) + 1rem);
  right: var(--gutter);
  z-index: 80;
  display: grid;
  gap: 0.5rem;
  max-width: min(24rem, calc(100vw - 2 * var(--gutter)));
}

.flash {
  background: var(--ink);
  color: var(--paper);
  padding: 0.85rem 1rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  border-left: 3px solid var(--selvedge);
  animation: flash-in 0.4s var(--ease);
}

.flash--error {
  background: var(--selvedge);
  border-left-color: var(--ink);
}

@keyframes flash-in {
  from {
    opacity: 0;
    transform: translateX(1rem);
  }
}

/* ------------------------------------------------------------ footer --- */

.foot {
  background: var(--ink);
  color: var(--paper);
  padding-top: clamp(3rem, 7vw, 5rem);
  overflow: hidden;
}

.foot a:hover {
  color: inherit;
}

.foot__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
  gap: 2rem;
  padding-bottom: clamp(2rem, 5vw, 4rem);
}

.foot__cols h3 {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 400;
  margin: 0 0 1rem;
}

.foot__cols ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.foot__cols a {
  display: inline-block;
  transform-origin: left center;
  transition: transform 0.25s var(--ease);
}

.foot__cols a:hover {
  transform: scale(1.06);
}

.foot__legal {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-block: 1.25rem;
}

.foot__credit {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.foot__credit a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.38rem 0.7rem 0.34rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  color: var(--paper);
  letter-spacing: 0.13em;
  transition:
    color 0.25s var(--ease),
    background-color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.foot__credit a::after {
  content: "↗";
  font-size: 0.82rem;
  line-height: 1;
  transition: transform 0.25s var(--ease);
}

.foot__credit a:hover {
  color: var(--paper);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.06);
}

.whatsapp-float {
  position: fixed;
  right: max(1.25rem, env(safe-area-inset-right));
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  z-index: 70;
  display: grid;
  place-items: center;
  width: 3.6rem;
  height: 3.6rem;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 0.65rem 1.8rem rgba(0, 0, 0, 0.24);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.whatsapp-float:hover {
  color: #fff;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.3);
}

.whatsapp-float:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 3px;
}

.whatsapp-float svg {
  width: 1.9rem;
  height: 1.9rem;
}

/* Keep the full sign-off visible inside the footer. */
.foot__mark {
  width: min(78vw, 84rem);
  aspect-ratio: 1191 / 250;
  font-size: 0;
  line-height: 0;
  margin: 0 auto;
  padding-bottom: clamp(0.75rem, 2vw, 2rem);
}

/* ---------------------------------------------------------- confirmed --- */

.receipt {
  max-width: 44rem;
  margin-inline: auto;
  border: 1px solid var(--ink);
  padding: clamp(1.5rem, 4vw, 3rem);
  margin-bottom: 5rem;
}

.receipt__head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: baseline;
  margin-bottom: 1.5rem;
}

.receipt__line {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1rem;
  padding-block: 0.7rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
}

.receipt__line span:not(:first-child) {
  font-family: var(--mono);
  font-size: 0.72rem;
}

.barcode {
  display: flex;
  gap: 2px;
  align-items: flex-end;
  height: 2.75rem;
  margin-top: 1.5rem;
}

.barcode i {
  display: block;
  width: 2px;
  background: var(--ink);
  height: 100%;
}

/* ------------------------------------------------------------ about --- */

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
}

.about-grid section {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

.about-grid h3 {
  font-family: var(--display);
  font-variation-settings:
    "wdth" 72,
    "wght" 800;
  text-transform: uppercase;
  font-size: 1.5rem;
  margin: 0 0 0.75rem;
}

/* ----------------------------------------------------------- journal --- */

.journal-lead-wrap {
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.journal-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.journal-lead__frame {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bone);
  overflow: hidden;
}

.journal-lead__frame img,
.journal-lead__frame .plinth {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.journal-lead:hover .journal-lead__frame > img,
.journal-lead:hover .journal-lead__frame > .plinth {
  transform: scale(1.03);
}

.journal-lead__badge {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--paper);
  padding: 0.25rem 0.55rem;
}

.journal-lead__body h2 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 4.2vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0.75rem 0 0;
}

.journal-lead__stand {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 1rem 0 1.5rem;
  max-width: 46ch;
}

.journal-grid-wrap {
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.75rem, 3.5vw, 3rem) clamp(1rem, 2vw, 2rem);
}

.journal-card {
  display: block;
}

.journal-card__frame {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bone);
  overflow: hidden;
}

.journal-card__frame img,
.journal-card__frame .plinth {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.journal-card:hover .journal-card__frame > img,
.journal-card:hover .journal-card__frame > .plinth {
  transform: scale(1.04);
}

.journal-card__body {
  position: relative;
  border-top: 1px solid var(--line);
  padding-top: 0.75rem;
  margin-top: 0.85rem;
}

.journal-card__body::before {
  content: "";
  position: absolute;
  top: -1.5px;
  left: 0;
  width: 1.5rem;
  height: 2px;
  background: var(--selvedge);
  transition: width 0.4s var(--ease);
}

.journal-card:hover .journal-card__body::before {
  width: 3.5rem;
}

.journal-card__body h3 {
  font-family: var(--display);
  font-size: clamp(1.1rem, 1.7vw, 1.45rem);
  line-height: 1.15;
  margin: 0.5rem 0 0;
}

.journal-card__stand {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 0.5rem 0 0;
  max-width: 42ch;
}

/* ----------------------------------------------------------- article --- */

.article-head {
  padding-top: clamp(2rem, 5vw, 3.5rem);
  max-width: 60rem;
}

.article-head__title {
  font-size: clamp(2.25rem, 6vw, 5rem);
  line-height: 0.98;
  margin-top: 0.75rem;
}

.article-head__stand {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1.9vw, 1.5rem);
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 1.25rem 0 0;
  max-width: 52ch;
}

.article-meta {
  display: flex;
  gap: clamp(1rem, 3vw, 2.5rem);
  flex-wrap: wrap;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
}

.article-cover {
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  aspect-ratio: 16 / 9;
  background: var(--bone);
  overflow: hidden;
}

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

/* One measure, set for reading. */
.article-body {
  max-width: 34rem;
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
  font-size: 1.05rem;
  line-height: 1.75;
}

.article-body p {
  margin: 0 0 1.4rem;
}

/* The opening letter, set large the way a printed feature would. */
.article-body > p:first-of-type::first-letter {
  float: left;
  font-family: var(--display);
  font-size: 4.2em;
  line-height: 0.78;
  padding: 0.06em 0.09em 0 0;
  color: var(--ink);
}

.article-body h2 {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 2.75rem 0 1rem;
}

.article-body blockquote {
  margin: 2.25rem 0;
  padding-left: 1.5rem;
  border-left: 2px solid var(--selvedge);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  line-height: 1.4;
  color: var(--ink);
}

.article-foot {
  max-width: 34rem;
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ----------------------------------------------------------- contact --- */

.contact-page {
  background:
    linear-gradient(
      90deg,
      transparent calc(100% - var(--gutter)),
      rgba(11, 11, 11, 0.05) 0
    ),
    var(--paper);
}

.contact-hero {
  padding-top: clamp(1.5rem, 4vw, 3rem);
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.contact-hero__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--ink);
}

.contact-hero__jump {
  display: inline-flex;
  gap: 0.7rem;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-hero__jump span {
  display: inline-grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  border: 1px solid var(--ink);
  border-radius: 50%;
  transition:
    transform 0.3s var(--ease),
    background 0.3s var(--ease),
    color 0.3s var(--ease);
}

.contact-hero__jump:hover span {
  color: var(--paper);
  background: var(--ink);
  transform: translateY(0.2rem);
}

.contact-hero__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(15rem, 0.32fr);
  align-items: end;
  gap: clamp(2rem, 7vw, 7rem);
  padding-block: clamp(2rem, 5vw, 4.5rem);
}

.contact-hero__intro h1 {
  font-size: clamp(4.8rem, 12.5vw, 12rem);
}

.contact-hero__intro .serif-note {
  margin: 0 0 0.3rem;
  max-width: 27rem;
}

/* The cast runs as a moving backdrop behind the details and the form.
   It bleeds to the viewport edges and sits under everything in .contact. */
.contact-cast {
  position: absolute;
  z-index: 0;
  inset: clamp(-3rem, -4vw, -1.5rem) calc(var(--gutter) * -1);
  overflow: hidden;
  opacity: 0.9;
  pointer-events: none;
  mix-blend-mode: multiply;
  filter: grayscale(1) contrast(1.05);
}

.contact-cast::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: -15%;
  width: 12%;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.5),
    transparent
  );
  transform: skewX(-12deg);
  animation: contact-cast-light 9s 1.5s linear infinite;
}

.contact-cast__stage {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.contact-cast__model {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
}

.contact-cast__model + .contact-cast__model {
  border-left: 1px solid rgba(11, 11, 11, 0.1);
}

.contact-cast__model img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.contact-cast__still {
  display: none;
}

@keyframes contact-cast-light {
  from {
    translate: 0;
  }
  to {
    translate: 980%;
  }
}

.contact-wrap {
  padding-block: clamp(4rem, 9vw, 8rem);
  border-top: 1px solid var(--ink);
  scroll-margin-top: calc(var(--masthead-bar-h) + var(--ticker-h));
}

.contact__header {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr 0.7fr;
  align-items: end;
  gap: clamp(1.5rem, 4vw, 4rem);
  margin-top: clamp(6rem, 12vw, 12rem);
  margin-bottom: clamp(3rem, 7vw, 6rem);
}

.contact__header h1,
.contact__header h2 {
  font-size: clamp(3rem, 7vw, 6.5rem);
}

.contact__header .serif-note {
  margin: 0;
  max-width: 18rem;
}

.contact {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(15rem, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(3rem, 9vw, 9rem);
  align-items: start;
  min-height: min(38rem, 60vw);
}

.contact__details {
  position: sticky;
  z-index: 1;
  top: calc(var(--masthead-bar-h) + var(--ticker-h) + 2rem);
  padding: clamp(1rem, 2.5vw, 2rem);
  background: rgba(250, 250, 250, 0.45);
  background: color-mix(in srgb, var(--paper) 45%, transparent);
}

.contact__list {
  margin: 0;
  display: grid;
  gap: 0;
}

.contact__list > div {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.contact__list dt {
  margin: 0;
}

.contact__list dd {
  margin: 0;
  font-size: 0.92rem;
}

.contact__list a {
  border-bottom: 1px solid var(--line);
  transition: border-color 0.2s var(--ease);
}

.contact__list a:hover {
  border-color: var(--ink);
}

.contact__quick {
  margin-top: clamp(1.75rem, 4vw, 2.75rem);
}

.contact__quick ul {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
  font-size: 0.9rem;
}

.contact__quick a {
  border-bottom: 1px solid transparent;
}

.contact__quick a:hover {
  border-color: var(--ink);
}

.contact__form {
  position: relative;
  z-index: 1;
  border: 1px solid var(--ink);
  padding: clamp(1.5rem, 4vw, 3.25rem);
  background: rgba(250, 250, 250, 0.6);
  background: color-mix(in srgb, var(--paper) 60%, transparent);
  box-shadow: 0.8rem 0.8rem 0 var(--ink);
}

.contact__form::before {
  content: "PRIVATE STUDIO NOTE";
  position: absolute;
  top: 0;
  right: 0;
  padding: 0.42rem 0.7rem;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 0.52rem;
  letter-spacing: 0.16em;
}

.contact__sent {
  text-align: center;
  padding-block: clamp(1.5rem, 4vw, 3rem);
}

.contact__sent h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-top: 0.5rem;
}

.contact__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 900px) {
  .journal-lead {
    grid-template-columns: minmax(0, 1fr);
  }

  .journal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-hero__intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .contact-hero__intro .serif-note {
    margin-left: auto;
  }

  .contact-cast {
    opacity: 0.85;
  }

  .contact__header {
    grid-template-columns: 1fr 1.5fr;
  }

  .contact__header .serif-note {
    grid-column: 2;
  }

  .contact__details {
    position: static;
  }
}

@media (max-width: 600px) {
  .journal-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact__list > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.25rem;
  }

  .contact-hero__top .micro {
    max-width: 14rem;
  }

  .contact-hero__intro h1 {
    font-size: clamp(4.3rem, 23vw, 7rem);
  }

  .contact-cast {
    inset: -1rem calc(var(--gutter) * -1);
  }

  .contact-cast__stage {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-cast__model {
    aspect-ratio: 0.42;
  }

  .contact__header {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact__header .serif-note {
    grid-column: auto;
  }

  .contact__form {
    box-shadow: 0.45rem 0.45rem 0 var(--ink);
  }
}

/* ------------------------------------------------------------ reveal --- */

/* Scoped to .js so the grid is never invisible when scripts do not run. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(1.25rem);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* -------------------------------------------------------- responsive --- */

@media (max-width: 1024px) {
  .editorial-hero__foot {
    grid-template-columns: 1fr 1fr;
  }

  .editorial-hero__foot .arrow-link {
    grid-column: 1 / -1;
    width: 100%;
  }

  .pdp {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 15rem);
  }

  .pdp__col--specs {
    grid-column: 1 / -1;
    order: 3;
  }

  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .shop-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .shop-filter {
    position: static;
  }

  .shop-results .grid--5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-sizes {
    grid-template-columns: repeat(auto-fit, minmax(3rem, 1fr));
  }

  .editorial-hero__word {
    width: 78vw;
    max-width: 78vw;
    height: auto;
    aspect-ratio: 74 / 23;
  }

  .editorial-hero__crop--left {
    left: 3%;
  }

  .editorial-hero__crop--right {
    right: 2%;
  }

  .editorial-hero__script {
    left: 50%;
    right: auto;
    top: auto;
    bottom: 10%;
  }

  .editorial-hero__foot,
  .campaign-story,
  .atelier-spec {
    grid-template-columns: minmax(0, 1fr);
  }

  .campaign-story {
    min-height: 0;
  }

  .campaign-story__image {
    min-height: 75vw;
  }

  .campaign-story__copy {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
  }

  .atelier-spec {
    gap: 3rem;
  }

  .masthead__bar {
    grid-template-columns: auto 1fr auto;
  }

  .nav--main {
    position: fixed;
    inset: calc(var(--header-h) + 1.55rem) 0 auto;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 1rem var(--gutter) 1.5rem;
    display: none;
  }

  .nav--main.is-open {
    display: flex;
  }

  .nav--main a {
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    padding-block: 0.75rem;
    width: 100%;
    border-bottom: 1px solid var(--line);
  }

  .nav-toggle {
    display: block;
  }

  .nav--end {
    gap: 0.25rem;
  }

  .nav--end a,
  .nav-toggle {
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    align-items: center;
    justify-content: center;
  }

  .nav--end a {
    display: inline-flex;
  }

  .utility-label {
    display: none;
  }

  .utility-icon {
    display: block;
  }

  .cart-link {
    position: relative;
  }

  .cart-count {
    position: absolute;
    top: 0.1rem;
    right: 0;
    min-width: 1rem;
    height: 1rem;
    padding-inline: 0.2rem;
    font-size: 0.55rem;
  }

  .cart-count[data-empty="true"] {
    display: none;
  }

  .grid,
  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pdp,
  .cart-layout,
  .manifesto__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pdp__col--specs {
    order: 0;
  }

  .summary {
    position: static;
  }

  .hero__caption {
    display: none;
  }

  .hero__figure--left,
  .hero__figure--right {
    width: 30vw;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .cart-line {
    grid-template-columns: 4.5rem 1fr;
  }

  .cart-line__price {
    grid-column: 2;
  }
}

@media (max-width: 520px) {
  .foot__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.25rem;
    row-gap: 2.25rem;
  }

  .foot__cols > div,
  .foot__cols a {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .masthead,
  .masthead__bar {
    width: 100%;
    max-width: 100%;
  }

  .masthead__bar {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.5rem;
    padding-inline: 0.75rem;
  }

  .wordmark {
    justify-self: center;
    width: clamp(5.75rem, 28vw, 7.5rem);
  }

  .nav--end {
    min-width: 0;
    gap: 0.75rem;
  }

  .nav-toggle {
    padding-inline: 0;
  }

  .header-search {
    padding: 1rem 0.75rem 1.25rem;
  }

  .header-search__field button {
    padding-inline: 1rem;
  }

  .editorial-hero {
    padding-top: 1rem;
  }

  .editorial-hero__word {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 5 / 1;
    gap: clamp(8px, 2.6vw, 12px);
  }

  .editorial-hero__clothesline {
    top: -1rem;
    height: 3.7rem;
  }

  .mosaic-letter {
    gap: 1px;
  }

  .mosaic-set--desktop {
    display: none;
  }

  .mosaic-set--mobile {
    display: flex;
  }

  .mosaic-tile {
    box-shadow:
      0 0 0 0.65px var(--ink),
      0 0.2rem 0.6rem rgba(0, 0, 0, 0.07);
  }

  .mosaic-tile:hover {
    background-color: var(--paper);
    background-position: center;
    background-size: contain;
  }

  .editorial-hero__crop,
  .editorial-hero__seal,
  .editorial-hero__code {
    display: none;
  }

  .editorial-hero__script {
    left: 50%;
    right: auto;
    top: auto;
    bottom: 12%;
    font-size: 1.7rem;
  }

  .editorial-hero__foot {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  .editorial-hero__foot .arrow-link {
    grid-column: auto;
  }

  .editorial-drop__item--2,
  .editorial-drop__item--4 {
    margin-top: 1.5rem;
  }

  .editorial-drop__head .display {
    font-size: 3.1rem;
  }

  .campaign-story__copy h2 {
    font-size: 4rem;
  }

  .atelier-spec__title h2 {
    font-size: 4rem;
  }

  .atelier-spec__list > div {
    grid-template-columns: 2rem 1fr;
  }

  .atelier-spec__list small {
    grid-column: 2;
  }

  .search-form {
    margin-left: 0;
    width: 100%;
  }

  .search-form input {
    flex: 1;
    min-width: 0;
  }

  .receipt__line {
    grid-template-columns: 1fr auto;
  }
}

@media (max-width: 360px) {
  .masthead__bar {
    gap: 0.35rem;
    padding-inline: 0.5rem;
  }

  .wordmark {
    width: 5.6rem;
  }

  .nav--end {
    gap: 0.35rem;
  }

  .nav a,
  .nav-toggle {
    font-size: 0.6rem;
    letter-spacing: 0.1em;
  }

  .editorial-hero__script {
    max-width: calc(100vw - 2 * var(--gutter));
    font-size: clamp(1.05rem, 6.6vw, 1.35rem);
    letter-spacing: 0.02em;
  }
}

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

  .hero__word span,
  .hero__figure {
    opacity: 1;
    transform: none;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .clothesline-track {
    animation: none;
  }

  .contact-cast__motion {
    display: none;
  }

  .contact-cast__still {
    display: block;
  }
}

@media print {
  .masthead,
  .foot,
  .flash-stack {
    display: none;
  }
}
