/* ============================================
   YS BLANKS — minimal luxury
   ============================================ */

:root {
  --bone: #f3efe7;
  --bone-soft: #ebe6db;
  --ink: #161412;
  --ink-soft: #2a2724;
  --muted: #8a847b;
  --line: #d9d2c4;
  --accent: #1a1a1a;

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max: 1320px;
  --pad: clamp(1.25rem, 4vw, 3rem);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bone);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: none; background: none; cursor: pointer; color: inherit; }

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.05;
}

h1 { font-size: clamp(3rem, 9vw, 7.5rem); }
h2 { font-size: clamp(2.25rem, 5.5vw, 4.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }

em { font-style: italic; color: var(--ink-soft); }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.25rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 999px;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
  white-space: nowrap;
}

.btn--primary {
  background: var(--ink);
  color: var(--bone);
}
.btn--primary:hover { background: var(--ink-soft); transform: translateY(-1px); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--bone); }

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem var(--pad);
  background: rgba(243, 239, 231, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s, padding 0.4s;
}
.nav.is-scrolled {
  border-bottom-color: var(--line);
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.nav__logo { display: flex; align-items: center; }
.nav__logo img {
  height: 38px;
  width: auto;
  transition: opacity 0.3s;
}
.nav__logo:hover img { opacity: 0.7; }
.nav__logo-text {
  font-weight: 600;
  letter-spacing: 0.32em;
  font-size: 0.85rem;
}

.nav__links {
  display: flex;
  gap: 2.5rem;
}
.nav__links a {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  transition: color 0.3s;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a::after {
  content: "";
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--ink);
  transition: width 0.3s ease;
}
.nav__links a:hover::after { width: 100%; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
}
.nav__toggle span {
  width: 22px; height: 1px;
  background: var(--ink);
}

/* ---------- Full-bleed image hero (home page) ---------- */

.hero--fullbleed {
  min-height: 100vh;
  padding: 0 !important;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: var(--bone);
}

/* Image slider — covers the entire hero */
.hero--fullbleed .hero__slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.hero--fullbleed .hero__slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1.4s cubic-bezier(0.4, 0, 0.2, 1), transform 9s ease-out;
  transform: scale(1.06);
  will-change: opacity, transform;
  pointer-events: none;
}
.hero--fullbleed .hero__slider img.is-active {
  opacity: 1;
  transform: scale(1.0);
}

/* Gradient overlay for text legibility */
.hero--fullbleed .hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,0) 55%, rgba(0,0,0,0.55) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.05) 45%, rgba(0,0,0,0) 70%);
  pointer-events: none;
}

/* Text positioned at bottom-left */
.hero--fullbleed .hero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad) clamp(5rem, 12vw, 9rem);
}
.hero--fullbleed .hero__copy {
  max-width: 640px;
  color: var(--bone);
}
.hero--fullbleed .eyebrow {
  color: rgba(243, 239, 231, 0.85);
}
.hero--fullbleed .hero__title {
  font-size: clamp(3rem, 8vw, 7rem);
  color: var(--bone);
  margin: 1rem 0 1.75rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
  line-height: 0.95;
}
.hero--fullbleed .hero__title em {
  color: rgba(243, 239, 231, 0.85);
  font-style: italic;
}
.hero--fullbleed .hero__sub {
  color: rgba(243, 239, 231, 0.92);
  max-width: 480px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.2);
  margin-bottom: 2.5rem;
}
.hero--fullbleed .btn--primary {
  background: var(--bone);
  color: var(--ink);
}
.hero--fullbleed .btn--primary:hover {
  background: var(--ink);
  color: var(--bone);
}

/* Dots indicator — bottom-right */
.hero--fullbleed .hero__dots {
  position: absolute;
  right: clamp(1.5rem, 4vw, 3rem);
  bottom: clamp(2rem, 5vw, 3.5rem);
  z-index: 4;
  display: flex;
  gap: 0.6rem;
}
.hero--fullbleed .hero__dot {
  width: 36px;
  height: 2px;
  background: rgba(243, 239, 231, 0.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.4s, width 0.4s;
}
.hero--fullbleed .hero__dot:hover { background: rgba(243, 239, 231, 0.6); }
.hero--fullbleed .hero__dot.is-active {
  background: var(--bone);
  width: 60px;
}

.hero--fullbleed .hero__scroll {
  color: rgba(243, 239, 231, 0.7);
  z-index: 4;
}
.hero--fullbleed .hero__scroll::after { background: rgba(243, 239, 231, 0.5); }

/* Nav transparent + white over hero image (only at the top, pre-scroll) */
body.has-image-hero .nav:not(.is-scrolled) {
  background: transparent;
  border-bottom-color: transparent;
}
body.has-image-hero .nav:not(.is-scrolled)::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.32) 0%, rgba(0,0,0,0) 100%);
  pointer-events: none;
  z-index: -1;
}
body.has-image-hero .nav:not(.is-scrolled) .nav__links a {
  color: rgba(243, 239, 231, 0.92);
}
body.has-image-hero .nav:not(.is-scrolled) .nav__links a:hover { color: var(--bone); }
body.has-image-hero .nav:not(.is-scrolled) .nav__links a::after { background: var(--bone); }
body.has-image-hero .nav:not(.is-scrolled) .nav__logo img { filter: invert(1) brightness(1.2); }
body.has-image-hero .nav:not(.is-scrolled) .nav__toggle span { background: var(--bone); }
body.has-image-hero .nav:not(.is-scrolled) .nav__cart [data-cart-badge]:not(:empty) {
  background: var(--bone);
  color: var(--ink);
}

@media (max-width: 860px) {
  .hero--fullbleed { min-height: 85vh; }
  .hero--fullbleed .hero__title { font-size: clamp(2.5rem, 11vw, 4rem); }
  .hero--fullbleed .hero__dots { left: var(--pad); right: auto; }
}

/* ---------- Home tiles (3-column dark grid, full bleed) ---------- */

.home-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #0a0a0a;
}
.home-tile {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  display: block;
  background: #0a0a0a;
}
.home-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.5s;
}
.home-tile:hover img { transform: scale(1.06); }
.home-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.6) 100%);
  pointer-events: none;
}
.home-tile__label {
  position: absolute;
  bottom: 1.75rem;
  left: 1.75rem;
  color: var(--bone);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  z-index: 2;
  padding-bottom: 0.4rem;
  position: relative;
}
.home-tile__label {
  position: absolute;
  bottom: 1.75rem;
  left: 1.75rem;
}
.home-tile__label::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 28px; height: 1px;
  background: var(--bone);
  transition: width 0.4s ease;
}
.home-tile:hover .home-tile__label::after { width: 80px; }

@media (max-width: 860px) {
  .hero--dark .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero--dark .hero__sub { margin-left: auto; margin-right: auto; }
  .hero--dark .hero__cta { justify-content: center; }
  .hero__dots { justify-content: center; }
  .hero__slider { aspect-ratio: 1; max-height: 60vh; }
  .home-tiles { grid-template-columns: 1fr; }
}

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

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem var(--pad) 4rem;
  position: relative;
  background: linear-gradient(180deg, var(--bone) 0%, var(--bone-soft) 100%);
}
.hero__inner { max-width: var(--max); margin: 0 auto; width: 100%; }

.hero__title {
  margin: 1.5rem 0 2rem;
}

.hero__sub {
  max-width: 540px;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--ink-soft);
  margin-bottom: 3rem;
  line-height: 1.55;
}

.hero__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  color: var(--muted);
  writing-mode: horizontal-tb;
}
.hero__scroll::after {
  content: "";
  display: block;
  width: 1px; height: 30px;
  background: var(--muted);
  margin: 0.5rem auto 0;
  animation: scrollLine 2.4s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
}

/* ---------- Product ---------- */

.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 9rem) var(--pad);
  align-items: center;
}

.product__image {
  aspect-ratio: 4 / 5;
  background: var(--bone-soft);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.product__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.product__image:hover img { transform: scale(1.03); }

.product__info h2 { margin: 1rem 0 1.75rem; }

.product__desc {
  color: var(--ink-soft);
  margin-bottom: 2rem;
  max-width: 480px;
}

.product__list {
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.product__list li {
  padding: 0.5rem 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
  position: relative;
  padding-left: 1.5rem;
}
.product__list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--muted);
}

/* ---------- Specs ---------- */

.specs {
  background: var(--ink);
  color: var(--bone);
  padding: clamp(5rem, 10vw, 9rem) var(--pad);
}
.specs__inner { max-width: var(--max); margin: 0 auto; }
.specs .eyebrow { color: var(--muted); }
.specs h2 { margin-bottom: 4rem; }

.specs__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
}
.spec h3 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
  line-height: 1;
}
.spec h3 span {
  font-size: 0.45em;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.spec p {
  color: rgba(243, 239, 231, 0.7);
  font-size: 0.92rem;
  max-width: 280px;
}

/* ---------- Lookbook ---------- */

.lookbook {
  padding: clamp(5rem, 10vw, 9rem) var(--pad);
  max-width: var(--max);
  margin: 0 auto;
}
.lookbook__head {
  margin-bottom: 4rem;
  max-width: 720px;
}
.lookbook__head h2 { margin-top: 1rem; }

.lookbook__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 220px;
  gap: 1rem;
}
.lookbook__tile {
  position: relative;
  background: var(--bone-soft);
  border: 1px solid var(--line);
  overflow: hidden;
  margin: 0;
  grid-column: span 2;
  grid-row: span 1;
}
.lookbook__tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.lookbook__tile:hover img { transform: scale(1.04); }

.lookbook__tile figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(180deg, transparent, rgba(22, 20, 18, 0.65));
  color: var(--bone);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.lookbook__tile:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}

.lookbook__tile--tall { grid-column: span 2; grid-row: span 3; }
.lookbook__tile--wide { grid-column: span 4; grid-row: span 2; }

@media (max-width: 860px) {
  .lookbook__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }
  .lookbook__tile,
  .lookbook__tile--tall,
  .lookbook__tile--wide {
    grid-column: span 1;
    grid-row: span 1;
  }
  .lookbook__tile--tall { grid-row: span 2; }
  .lookbook__tile--wide { grid-column: span 2; }
  .lookbook__tile figcaption { opacity: 1; transform: none; }
}

/* ---------- Ethos ---------- */

.ethos {
  padding: clamp(5rem, 10vw, 9rem) var(--pad);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ethos__watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: clamp(380px, 60vw, 720px);
  width: auto;
  opacity: 0.05;
  pointer-events: none;
  user-select: none;
}
.ethos__inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.ethos__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.35;
  color: var(--ink);
  font-weight: 300;
}

/* ---------- Wholesale ---------- */

.wholesale {
  background: var(--bone-soft);
  padding: clamp(5rem, 10vw, 9rem) var(--pad);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.wholesale__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
}
.wholesale__copy h2 { margin: 1rem 0 1.75rem; }
.wholesale__copy p {
  color: var(--ink-soft);
  margin-bottom: 2rem;
  max-width: 460px;
}
.wholesale__list {
  list-style: none;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.wholesale__list li { padding: 0.4rem 0; }

.wholesale__form {
  display: grid;
  gap: 1.25rem;
  background: var(--bone);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
}
.wholesale__form label {
  display: grid;
  gap: 0.5rem;
}
.wholesale__form span {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.wholesale__form input,
.wholesale__form textarea {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  padding: 0.85rem 0;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  outline: none;
  resize: none;
  transition: border-color 0.3s;
}
.wholesale__form input:focus,
.wholesale__form textarea:focus {
  border-bottom-color: var(--ink);
}
.wholesale__form button { margin-top: 1rem; justify-self: start; }
.wholesale__note {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-align: center;
  margin-top: 0.5rem;
}

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

.contact {
  padding: clamp(6rem, 12vw, 10rem) var(--pad);
  text-align: center;
}
.contact__inner { max-width: var(--max); margin: 0 auto; }
.contact h2 { margin: 1rem 0 3rem; }
.contact__links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}
.contact__links a {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-style: italic;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s;
}
.contact__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--ink);
  transform: scaleX(0.3);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.contact__links a:hover::after { transform: scaleX(1); }

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

.footer {
  background: var(--ink);
  color: rgba(243, 239, 231, 0.7);
  padding: 5rem var(--pad) 2rem;
  font-size: 0.85rem;
}
.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(243, 239, 231, 0.1);
}
.footer__brand img { height: 48px; width: auto; margin-bottom: 1.5rem; filter: invert(1); }
.footer__brand p {
  max-width: 320px;
  font-size: 0.9rem;
  color: rgba(243, 239, 231, 0.6);
  line-height: 1.6;
}
.footer__col h4 {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone);
  margin-bottom: 1.25rem;
  font-weight: 500;
}
.footer__col ul { list-style: none; display: grid; gap: 0.6rem; }
.footer__col a {
  color: rgba(243, 239, 231, 0.6);
  font-size: 0.88rem;
  transition: color 0.3s;
}
.footer__col a:hover { color: var(--bone); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__bottom-links { display: flex; gap: 2rem; }
.footer__bottom-links a { color: rgba(243, 239, 231, 0.5); }
.footer__bottom-links a:hover { color: var(--bone); }

@media (max-width: 860px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

/* ---------- Inner page header ---------- */

.page-header {
  padding: 10rem var(--pad) 5rem;
  background: linear-gradient(180deg, var(--bone) 0%, var(--bone-soft) 100%);
  border-bottom: 1px solid var(--line);
}
.page-header__inner { max-width: var(--max); margin: 0 auto; }
.page-header h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  margin-top: 1rem;
}
.page-header p {
  margin-top: 1.5rem;
  max-width: 560px;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.3vw, 1.1rem);
}

/* ---------- Generic content section ---------- */

.section {
  padding: clamp(4rem, 8vw, 7rem) var(--pad);
}
.section__inner { max-width: var(--max); margin: 0 auto; }
.section--narrow .section__inner { max-width: 760px; }
.section--bone-soft { background: var(--bone-soft); }
.section--ink { background: var(--ink); color: var(--bone); }
.section--ink .eyebrow { color: var(--muted); }
.section--ink p { color: rgba(243, 239, 231, 0.75); }

.section h2 { margin-bottom: 2rem; }
.section h3 { margin: 2rem 0 1rem; }
.section p { margin-bottom: 1.25rem; color: var(--ink-soft); max-width: 70ch; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.two-col__media {
  aspect-ratio: 4 / 5;
  background: var(--bone-soft);
  border: 1px solid var(--line);
  overflow: hidden;
}
.two-col__media img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 1.2s ease;
}
.two-col__media:hover img { transform: scale(1.03); }

@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; }
}

/* ---------- Tables ---------- */

.spec-table, .size-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.92rem;
}
.spec-table th, .spec-table td,
.size-table th, .size-table td {
  text-align: left;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
}
.spec-table th, .size-table th {
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.spec-table td:first-child {
  font-weight: 500;
  width: 30%;
}
.size-table th { background: var(--bone-soft); }
.size-table td { color: var(--ink-soft); }
.size-table td:first-child {
  font-weight: 500;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.1rem;
}

/* ---------- FAQ ---------- */

.faq__group { margin-bottom: 3rem; }
.faq__group h3 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
  font-weight: 500;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}
.faq__item {
  border-bottom: 1px solid var(--line);
  padding: 1.5rem 0;
}
.faq__item h4 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  cursor: pointer;
}
.faq__item p {
  color: var(--ink-soft);
  margin: 0;
  max-width: 70ch;
}

/* ---------- Product detail page ---------- */

.product-detail {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  max-width: var(--max);
  margin: 0 auto;
  padding: 5rem var(--pad);
}
.product-gallery { display: grid; gap: 1rem; }
.product-gallery__main {
  aspect-ratio: 4 / 5;
  background: var(--bone-soft);
  border: 1px solid var(--line);
  overflow: hidden;
}
.product-gallery__main img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.product-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.product-gallery__thumbs > div {
  aspect-ratio: 1;
  background: var(--bone-soft);
  border: 1px solid var(--line);
  overflow: hidden;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s;
}
.product-gallery__thumbs > div:hover { opacity: 1; }
.product-gallery__thumbs > div.is-active { opacity: 1; outline: 1px solid var(--ink); }
.product-gallery__thumbs img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

.product-detail__info { padding-top: 1rem; }
.product-detail__info h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 1rem 0 1rem;
  line-height: 1.05;
}
.product-detail__price {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
}
.product-detail__price span {
  color: var(--muted);
  font-size: 0.8rem;
  margin-left: 0.5rem;
}

.swatches {
  display: flex;
  gap: 0.75rem;
  margin: 0.5rem 0 2rem;
}
.swatch {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  cursor: pointer;
  position: relative;
  transition: transform 0.2s;
}
.swatch:hover { transform: scale(1.1); }
.swatch.is-active::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid var(--ink);
  border-radius: 50%;
}
.swatch--black { background: #0a0a0a; }
.swatch--white { background: #ffffff; }

.size-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.5rem 0 2rem;
}
.size-pill {
  padding: 0.65rem 1.1rem;
  border: 1px solid var(--line);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.2s;
  background: transparent;
}
.size-pill:hover { border-color: var(--ink); }
.size-pill.is-active {
  background: var(--ink);
  color: var(--bone);
  border-color: var(--ink);
}

.product-detail__label {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.product-detail__cta { display: grid; gap: 0.75rem; margin-top: 1rem; }
.product-detail__cta .btn { width: 100%; }

@media (max-width: 860px) {
  .product-detail { grid-template-columns: 1fr; }
}

/* ---------- Nav cart link + badge ---------- */

.nav__cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.nav__cart [data-cart-badge]:not(:empty) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bone);
  font-size: 0.62rem;
  letter-spacing: 0;
  font-weight: 600;
  font-family: var(--font-sans);
}

/* ---------- Cart toast notification ---------- */

.cart-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--ink);
  color: var(--bone);
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s;
  opacity: 0;
  max-width: calc(100vw - 2rem);
}
.cart-toast.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.cart-toast a {
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

/* ---------- Discount hint on product page ---------- */

.product-detail__discount-hint {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  margin: -0.75rem 0 1.75rem;
}

/* ---------- Cart page ---------- */

.cart-page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem var(--pad) 5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.cart-page__empty {
  max-width: 540px;
  margin: 0 auto;
  text-align: center;
  padding: 4rem var(--pad);
}
.cart-page__empty h2 { margin: 1rem 0 1.25rem; }
.cart-page__empty p { color: var(--ink-soft); margin-bottom: 2rem; }

.cart-list { display: grid; gap: 0; }
.cart-item {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}
.cart-item:first-child { border-top: 1px solid var(--line); }
.cart-item__media {
  width: 110px;
  aspect-ratio: 4 / 5;
  background: var(--bone-soft);
  border: 1px solid var(--line);
  overflow: hidden;
}
.cart-item__media img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin: 0 0 0.4rem;
  line-height: 1.1;
}
.cart-item__variant {
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin: 0 0 1rem;
}
.cart-item__bottom {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.cart-item__qty {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--line);
}
.cart-item__qty button {
  width: 32px;
  font-size: 1rem;
  background: transparent;
  border: none;
  cursor: pointer;
}
.cart-item__qty input {
  width: 40px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
  -moz-appearance: textfield;
}
.cart-item__qty input::-webkit-outer-spin-button,
.cart-item__qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.cart-item__remove {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  border-bottom: 1px solid transparent;
  transition: all 0.2s;
}
.cart-item__remove:hover { color: var(--ink); border-bottom-color: var(--ink); }
.cart-item__price {
  font-size: 1rem;
  font-weight: 500;
  white-space: nowrap;
  text-align: right;
}
.cart-item__price small {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 400;
  margin-top: 4px;
}

.cart-summary {
  position: sticky;
  top: 6rem;
  background: var(--bone-soft);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
}
.cart-summary h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin: 0.5rem 0 1.5rem;
}
.cart-summary__row {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  color: var(--ink-soft);
  padding: 0.75rem 0;
}
.cart-summary__row--discount {
  color: var(--ink);
  font-weight: 500;
}
.cart-summary__row--discount small {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 400;
  margin-top: 2px;
  letter-spacing: 0.04em;
}
.cart-summary__row--total {
  padding-top: 1rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ink);
  font-weight: 500;
}
.cart-summary__cta { display: grid; gap: 0.75rem; margin-top: 1.5rem; }
.cart-summary__cta .btn { width: 100%; }
.cart-summary__shipping-note {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-align: center;
  margin-top: 0.75rem;
}

@media (max-width: 860px) {
  .cart-page { grid-template-columns: 1fr; }
  .cart-summary { position: static; order: 2; }
  .cart-item { grid-template-columns: 90px 1fr; }
  .cart-item__price { grid-column: 1 / -1; text-align: left; }
}

/* ---------- Quantity stepper ---------- */

.qty-stepper {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--line);
  margin: 0.5rem 0 2rem;
  background: var(--bone);
}
.qty-stepper__btn {
  width: 44px;
  font-size: 1.15rem;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--ink);
  transition: background 0.2s;
}
.qty-stepper__btn:hover { background: var(--bone-soft); }
.qty-stepper input {
  width: 60px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background: transparent;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--ink);
  outline: none;
  -moz-appearance: textfield;
  appearance: textfield;
}
.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* ---------- Checkout page ---------- */

.checkout {
  padding: 2rem var(--pad) 5rem;
  background: var(--bone);
}
.checkout__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.checkout__form { display: grid; gap: 1.25rem; }
.checkout__form label {
  display: grid;
  gap: 0.5rem;
}
.checkout__form span {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.checkout__form input,
.checkout__form textarea,
.checkout__form select {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  padding: 0.85rem 0;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  outline: none;
  resize: none;
  transition: border-color 0.3s;
}
.checkout__form input:focus,
.checkout__form textarea:focus,
.checkout__form select:focus {
  border-bottom-color: var(--ink);
}
.checkout__form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
                    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 14px) center, calc(100% - 8px) center;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  cursor: pointer;
}
.checkout__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.checkout__h {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin: 0.5rem 0 1.5rem;
}
.checkout__h--sub {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-size: 1.3rem;
}
.checkout__check {
  flex-direction: row !important;
  display: flex !important;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 1rem 0;
}
.checkout__check input {
  width: auto;
  margin-top: 4px;
}
.checkout__check span {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-weight: 400;
}
.checkout__check a {
  text-decoration: underline;
  color: var(--ink);
}
.checkout__pay {
  margin-top: 1.5rem;
  padding: 1.15rem 2.25rem;
  font-size: 0.85rem;
}
.checkout__pay:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.checkout__secure {
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  margin-top: 0.75rem;
}
.checkout__secure span { margin-right: 0.4rem; }

/* Summary */
.checkout__summary {
  background: var(--bone-soft);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
  position: sticky;
  top: 6rem;
}
.checkout__line {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 1.25rem;
  align-items: flex-start;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.checkout__line-media {
  width: 80px;
  aspect-ratio: 1;
  background: var(--bone);
  border: 1px solid var(--line);
  overflow: hidden;
}
.checkout__line-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.checkout__line-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.25rem;
}
.checkout__line-variant,
.checkout__line-qty {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
  letter-spacing: 0.05em;
}
.checkout__line-price {
  font-size: 0.95rem;
  font-weight: 500;
}

.checkout__totals { display: grid; gap: 0.75rem; }
.checkout__total-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.checkout__total-row--final {
  padding-top: 1rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 500;
  font-family: var(--font-display);
}
.checkout__edit {
  display: inline-block;
  margin-top: 2rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: all 0.3s;
}
.checkout__edit:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

@media (max-width: 860px) {
  .checkout__inner { grid-template-columns: 1fr; }
  .checkout__summary {
    position: static;
    order: -1;
  }
  .checkout__row { grid-template-columns: 1fr; }
}

/* ---------- Confirmation card ---------- */

.confirm-card {
  background: var(--bone-soft);
  border: 1px solid var(--line);
  padding: clamp(2rem, 4vw, 3rem);
  margin-bottom: 2rem;
}
.confirm-card__head { text-align: center; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); margin-bottom: 1rem; }
.confirm-card__shipto p:last-child {
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.confirm-steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 1.5rem 0 0;
}
.confirm-steps li {
  counter-increment: step;
  padding: 1.25rem 0 1.25rem 3rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}
.confirm-steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.25rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--muted);
}
.confirm-steps li:last-child { border-bottom: none; }
.confirm-steps strong { color: var(--ink); font-weight: 500; }

/* ---------- Process steps ---------- */

.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.process__step {
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.process__step span {
  font-family: var(--font-display);
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
}
.process__step h4 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

/* ---------- Policy / legal pages ---------- */

.policy h2 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
}
.policy p, .policy li {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.policy ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.policy__updated {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s ease, transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav.is-open .nav__links {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--bone);
    padding: 2rem var(--pad);
    gap: 1.5rem;
    border-bottom: 1px solid var(--line);
  }

  .product { grid-template-columns: 1fr; }
  .wholesale__inner { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; text-align: center; }
}
