/* Drop 01 design pages (/<lang>/drop-01/<slug>/): breadcrumb, intro, story, shirt facts, signup link, more stories.
   Same language as the Drop 01 page: full-bleed photo with the title low on the left, then calm dark sections. */

/* Breadcrumb */
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0;
  margin: 0;
  padding: var(--space-2) 0;
  list-style: none;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}
.crumbs li + li::before {
  content: "/";
  padding: 0 0.75em;
  color: var(--c-line);
}
.crumbs a {
  color: var(--c-cream);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.3em;
  transition: text-decoration-color var(--t-fast) var(--ease);
}
.crumbs a:hover {
  text-decoration-color: currentColor;
}
.crumbs [aria-current] {
  color: var(--c-offwhite);
}

/* 1 Intro: the story photo full-bleed, title and line low on the left */
.design-hero {
  position: relative;
  min-height: clamp(32rem, 84svh, 52rem);
  display: flex;
  align-items: flex-end;
  padding-block: var(--space-5);
  overflow: hidden;
  background: linear-gradient(180deg, var(--c-charcoal), var(--c-black));
}
.design-hero__media,
.design-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.design-hero__media img {
  object-fit: cover;
}
.design-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgb(10 10 10 / 0.25) 0%, rgb(10 10 10 / 0.1) 35%, rgb(10 10 10 / 0.94) 100%),
    linear-gradient(90deg, rgb(10 10 10 / 0.65) 0%, transparent 60%);
}
.design-hero__inner {
  position: relative;
}
.design-hero h1 {
  margin-top: var(--space-1);
  font-size: clamp(3.25rem, 1.6rem + 8vw, 8.5rem);
}
.design-hero__line {
  margin: var(--space-2) 0 0;
  font-size: clamp(1.125rem, 1rem + 0.6vw, 1.5rem);
  color: var(--c-cream);
}
.design-hero .ctas {
  margin-top: var(--space-4);
}
.design-hero__note {
  margin: var(--space-2) 0 0;
  font-size: 0.75rem;
  color: var(--c-text-muted);
}

/* 2 The story */
.design-story__grid {
  display: grid;
  gap: var(--space-3);
}
.design-story h2 {
  margin-top: var(--space-1);
  max-width: 12ch;
}
.design-story__text {
  max-width: 36rem;
}
.design-story__text p {
  margin: 0 0 var(--space-3);
  color: var(--c-text-muted);
}
.design-story__text p:first-child {
  color: var(--c-text);
  font-size: 1.125em;
}
.design-story__text p:last-child {
  margin-bottom: 0;
}

/* 3 The shirt: confirmed facts only */
.design-shirt {
  padding-block: var(--space-5);
  background: var(--c-charcoal);
  border-block: 1px solid var(--c-line);
}
.design-shirt__grid {
  display: grid;
  gap: var(--space-4);
}
.design-shirt h2 {
  margin-top: var(--space-1);
  font-size: var(--fs-h3);
}
.design-shirt__note {
  margin: var(--space-2) 0 0;
  max-width: 30rem;
  color: var(--c-text-muted);
}
.design-shirt__facts {
  margin: 0;
  display: grid;
}
.design-shirt__facts > div {
  padding-block: var(--space-2);
  border-top: 1px solid var(--c-line);
}
.design-shirt__facts dt {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-cream);
}
.design-shirt__facts dd {
  margin: 0.25rem 0 0;
  color: var(--c-text-muted);
}
/* Approved shirt images (front / back / print detail), shown only when they exist */
.design-shirt__gallery {
  margin-top: var(--space-3);
  display: grid;
  gap: var(--space-2);
}
.design-shirt__shot {
  margin: 0;
}
.design-shirt__shot img {
  width: 100%;
  border: 1px solid var(--c-line);
}
.design-shirt__shot figcaption {
  margin-top: 0.5rem;
  font-size: var(--fs-small);
  color: var(--c-text-muted);
}

/* 4 Signup link (styles of .join in components.css) */
.design-notify__text {
  max-width: 36rem;
  margin: 0;
}
.join .eyebrow {
  margin: 0;
}

/* 5 More stories from Drop 01 */
.more {
  border-top: 1px solid var(--c-line);
}
.more__title {
  font-size: var(--fs-h3);
}
.more__grid {
  margin-top: var(--space-4);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4) var(--space-2);
}
.more__item {
  display: block;
  color: var(--c-text);
}
.more__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: radial-gradient(80% 70% at 30% 20%, rgb(207 196 170 / 0.08), transparent 70%), var(--c-charcoal);
  border: 1px solid var(--c-line);
}
/* Typographic base: number + name, visible until (or if ever) the photo is not shown */
.more__mark {
  position: absolute;
  inset: auto var(--space-2) var(--space-2);
  font-family: var(--font-display);
  font-size: clamp(3rem, 2rem + 4vw, 5rem);
  line-height: 0.9;
  color: rgb(207 196 170 / 0.22);
}
.more__mark small {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  color: rgb(207 196 170 / 0.4);
}
.more__media img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}
.more__item:hover .more__media img,
.more__item:focus-visible .more__media img {
  transform: scale(1.03);
}
.more__body {
  padding-top: var(--space-2);
}
.more__name {
  margin-top: var(--space-1);
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
}
.more__line {
  margin: 0.4rem 0 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--c-text-muted);
}
.more .explore {
  margin-top: var(--space-2);
}

@media (min-width: 48rem) {
  .design-story__grid {
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-5);
    align-items: start;
  }
  .design-shirt__grid {
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-5);
    align-items: start;
  }
  .design-shirt__gallery {
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  }
}
@media (min-width: 64rem) {
  .more__grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .more__media {
    aspect-ratio: 4 / 3;
  }
}

/* ==========================================================================
   Product layout (ORIGIN STORY first; the template for the other designs once approved).
   Phones: compact intro, gallery, product info, size guide, short story, signup, more designs.
   From 56rem: gallery left, product info right (sticky while the gallery scrolls past).
   ========================================================================== */

/* Small status chip for provisional information */
.tag {
  display: inline-block;
  margin: 0.15rem 0 0;
  padding: 0.15rem 0.45rem;
  border: 1px solid color-mix(in srgb, var(--c-red) 70%, var(--c-cream));
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--c-cream);
  vertical-align: middle;
}

/* A Compact intro: the story photo as a low, dark band */
.product-intro {
  position: relative;
  min-height: clamp(11rem, 26svh, 17rem);
  display: flex;
  align-items: flex-end;
  padding-block: var(--space-3);
  overflow: hidden;
  background: var(--c-charcoal);
}
.product-intro__media,
.product-intro__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.product-intro__media img {
  object-fit: cover;
}
.product-intro__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(10 10 10 / 0.88) 0%, rgb(10 10 10 / 0.55) 60%, rgb(10 10 10 / 0.7) 100%),
    linear-gradient(180deg, transparent 40%, rgb(10 10 10 / 0.85) 100%);
}
.product-intro__inner {
  position: relative;
}
.product-intro h1 {
  font-size: clamp(2.75rem, 1.6rem + 6vw, 6.5rem);
}
.product-intro__meta {
  margin: var(--space-1) 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-cream);
}
.product-intro__line {
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--c-text-muted);
}

/* B + C Gallery and product information */
.product {
  padding-block: var(--space-4) var(--space-5);
}
.product__grid {
  display: grid;
  gap: var(--space-4);
}
.gallery {
  min-width: 0;
}
.gallery__track {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: var(--space-2);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--c-line) transparent;
}
.gallery__slide {
  scroll-snap-align: start;
}
/* The image is a link to the enlarged view (lightbox) */
.gallery__zoom {
  display: block;
  cursor: zoom-in;
}
.gallery__zoom:focus-visible {
  outline-offset: -3px;
}
/* Every image sits whole inside its frame: never cropped, so the artwork is always shown complete */
.gallery__slide img,
.gallery__ph {
  width: 100%;
  aspect-ratio: var(--ratio, 4 / 5);
  object-fit: contain;
  background: var(--bg, var(--c-charcoal)); /* per slot, e.g. solid black behind an artwork */
  border: 1px solid var(--c-line);
}
.gallery__ph span {
  max-width: 18rem;
}
.gallery__thumb span {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  color: var(--c-cream);
}
.gallery__nav {
  margin-top: var(--space-2);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
}
.gallery__nav[hidden] {
  display: none;
}
.gallery__thumb {
  min-height: 2.75rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--c-line);
  background: transparent;
  color: var(--c-text-muted);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.gallery__thumb:hover,
.gallery__thumb[aria-current="true"] {
  border-color: var(--c-cream);
  color: var(--c-offwhite);
}
.gallery__note {
  margin: var(--space-2) 0 0;
  max-width: 36rem;
  padding-left: 0.75rem;
  border-left: 2px solid var(--c-red);
  font-size: var(--fs-small);
  line-height: 1.55;
  color: var(--c-text-muted);
}

.product__title {
  margin-top: var(--space-1);
  font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem);
}
.product__type {
  margin: var(--space-1) 0 0;
  font-size: 1.125rem;
  color: var(--c-text);
}
.product__status {
  margin: var(--space-2) 0 0;
  align-items: baseline;
  letter-spacing: 0.14em;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.6rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--c-line);
  font-size: var(--fs-small);
  color: var(--c-offwhite);
}
.product__status-k {
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}
.product__facts {
  margin: var(--space-3) 0 0;
}
.product__facts > div {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: var(--space-2);
  padding-block: 0.8rem;
  border-top: 1px solid var(--c-line);
}
.product__facts > div:last-child {
  border-bottom: 1px solid var(--c-line);
}
.product__facts dt {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  padding-top: 0.2rem;
}
.product__facts dd {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.75rem;
}
.product__facts a {
  font-size: var(--fs-small);
  color: var(--c-cream);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.product__cta {
  width: 100%;
  margin-top: var(--space-3);
}
.product__buy {
  margin: var(--space-2) 0 0;
  font-size: var(--fs-small);
  color: var(--c-text-muted);
}

/* D Size guide */
.size {
  background: var(--c-charcoal);
  border-block: 1px solid var(--c-line);
}
.size__grid {
  display: grid;
  gap: var(--space-5);
}
.size__title {
  font-size: var(--fs-h3);
}
.size__table {
  width: 100%;
  max-width: 34rem;
  margin-top: var(--space-3);
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.size__table caption {
  caption-side: bottom;
  padding-top: var(--space-1);
  text-align: left;
  font-size: var(--fs-small);
  color: var(--c-text-muted);
}
.size__table th,
.size__table td {
  padding: 0.85rem 0.5rem;
  border-bottom: 1px solid var(--c-line);
  text-align: right;
}
.size__table th:first-child {
  padding-left: 0;
  text-align: left;
}
.size__table thead th {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}
.size__table tbody th {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--c-offwhite);
}
.size__table td {
  font-size: 1.125rem;
}
.size__note {
  margin: var(--space-2) 0 0;
  max-width: 34rem;
  font-size: var(--fs-small);
  color: var(--c-text-muted);
}
.size__how h3 {
  font-size: 1.25rem;
}
.size__svg {
  width: 100%;
  max-width: 15rem;
  height: auto;
  margin-top: var(--space-2);
}
.size__shirt {
  fill: none;
  stroke: var(--c-cream);
  stroke-width: 1.5;
  stroke-linejoin: round;
  opacity: 0.6;
}
.size__arrow {
  fill: none;
  stroke: #c4574f;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.size__label {
  fill: var(--c-offwhite);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.size__how dl {
  margin: var(--space-2) 0 0;
}
.size__how dl > div + div {
  margin-top: var(--space-2);
}
.size__how dt {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-cream);
}
.size__how dd {
  margin: 0.25rem 0 0;
  max-width: 30rem;
  color: var(--c-text-muted);
}

/* E Short story: secondary to the product */
.product-story__inner {
  max-width: 44rem;
}
.product-story h2 {
  margin: var(--space-1) 0 var(--space-3);
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.5rem);
}
.product-story p:not(.eyebrow) {
  color: var(--c-text-muted);
}
.product-story p:not(.eyebrow):first-of-type {
  color: var(--c-text);
  font-size: 1.125em;
}

/* Tablet portrait: one column, the gallery kept to a comfortable size above the info */
@media (min-width: 40rem) and (max-width: 55.99rem) {
  .gallery {
    max-width: 34rem;
  }
}
@media (min-width: 56rem) {
  /* Gallery ~59%, product info ~41% */
  .product__grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    gap: var(--space-5);
    align-items: start;
  }
  .product__info {
    position: sticky;
    top: calc(var(--header-h) + var(--space-3));
  }
  .product__cta {
    width: auto;
  }
  .size__grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: start;
  }
}
@media (max-width: 29.99rem) {
  .product__cta {
    padding-inline: 1rem;
    letter-spacing: 0.1em; /* keeps the Serbian label on one line on phones */
  }
}
/* Tablet: two columns of "more" cards stay landscape, so they don't tower over the page */
@media (min-width: 40rem) and (max-width: 63.99rem) {
  .more__media {
    aspect-ratio: 3 / 2;
  }
}
/* Phones: the long signup label stays on one line in the closing section too */
@media (max-width: 29.99rem) {
  .join .btn {
    padding-inline: 1rem;
    letter-spacing: 0.1em;
  }
}

/* ---------- Gallery lightbox (js/main.js): native modal <dialog>, full screen, dark and minimal ---------- */
html.lb-open,
html.lb-open body {
  overflow: hidden; /* no background scrolling; the scroll position itself is untouched */
}
.lb {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: max(0.5rem, env(safe-area-inset-top)) max(0.5rem, env(safe-area-inset-right))
    max(0.5rem, env(safe-area-inset-bottom)) max(0.5rem, env(safe-area-inset-left));
  border: 0;
  background: rgb(10 10 10 / 0.97);
  color: var(--c-text);
}
.lb[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}
.lb::backdrop {
  background: rgb(10 10 10 / 0.97);
}
.lb__bar,
.lb__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}
.lb__nav {
  justify-content: center;
  padding-top: var(--space-1);
}
.lb__count {
  margin: 0 0 0 0.5rem;
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--c-text-muted);
}
.lb__btn {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid var(--c-line);
  background: rgb(10 10 10 / 0.6);
  color: var(--c-offwhite);
  font: inherit;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease);
}
.lb__btn:hover {
  border-color: var(--c-cream);
}
/* Stage: the image is shown whole (never larger than its real size); zoomed = real size, pan by scrolling.
   margin: auto (not centring alignment) keeps every edge reachable when the zoomed image overflows. */
.lb__stage {
  display: flex;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.lb__img {
  margin: auto;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  cursor: zoom-in;
}
.lb.is-zoomed .lb__img {
  max-width: none;
  max-height: none;
  cursor: zoom-out;
}

/* ---------- Product page: phones and small tablets (desktop unchanged) ---------- */
@media (max-width: 47.99rem) {
  /* Intro ~25% taller than before, so the title has room above the gallery */
  .product-intro {
    min-height: clamp(14rem, 33svh, 21rem);
    padding-block: var(--space-4) var(--space-3);
  }
  .product-intro__meta {
    margin-top: 0.75rem;
    line-height: 1.5;
  }
  .gallery__nav {
    margin-top: 0.75rem;
  }
  .product__grid {
    gap: var(--space-5);
  }
  .product__facts > div {
    padding-block: 0.9rem;
  }
  .product__buy {
    font-size: 0.875rem;
    line-height: 1.55;
  }
  .size__grid {
    gap: var(--space-4);
  }
  .size__how dd,
  .product-story p:not(.eyebrow) {
    line-height: 1.65;
  }
  .product-story h2 {
    margin-bottom: var(--space-4);
  }
  .product ~ .join .inner {
    gap: var(--space-3);
  }
  .product ~ .join .join__note {
    line-height: 1.55;
  }
  .product ~ .more .more__grid {
    gap: var(--space-5) var(--space-2);
  }
}

/* Phones: supporting text one step larger for readability (approved template polish, 2026-11-01).
   Headings, hero and spacing unchanged; desktop unchanged. */
@media (max-width: 47.99rem) {
  .gallery__note,
  .product__status,
  .product ~ .size .size__table caption,
  .product ~ .join .join__note {
    font-size: 0.875rem;
    line-height: 1.55;
  }
  .gallery__thumb {
    font-size: 0.8125rem;
  }
  .product__facts dt,
  .product ~ .size .size__table thead th,
  .product ~ .size .size__how dt {
    font-size: 0.75rem;
  }
  .product ~ .join .design-notify__text {
    line-height: 1.65;
  }
}
