/* ============================================================
   MIEL — lived-in femininity
   sand ground, ink-brown type, blue as weather, honey as a wink
   ============================================================ */

:root {
  --sand: #f5f0e8;
  --sand-deep: #ede4d6;
  --cream: #ecd5c2;
  --ink: #21180e;
  --brown: #593828;
  --taupe: #b6a597;
  --sky: #a1c4df;
  --steel: #97aab6;
  --navy: #283d59;
  --honey: #c9962e;

  --serif: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --sans: "Figtree", "Segoe UI", system-ui, sans-serif;

  --gutter: clamp(1.25rem, 4vw, 4rem);
  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--sand);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

::selection { background: var(--cream); color: var(--brown); }

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

.label {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brown);
}

.serif-xl {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: 0.01em;
}

/* ---------- nav ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--gutter);
  transition: background 0.5s ease, box-shadow 0.5s ease, padding 0.5s ease;
}

.nav.scrolled {
  background: rgba(245, 240, 232, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.8rem var(--gutter);
  box-shadow: 0 1px 0 rgba(33, 24, 14, 0.07);
}

.nav-wordmark {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.34em;
  padding-left: 0.34em; /* optical centering vs tracking */
}

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

.nav-links a, .nav-links button {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a::after, .nav-links button::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease-out);
}

.nav-links a:hover::after, .nav-links button:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.cart-count {
  display: inline-block;
  min-width: 1.15rem;
  margin-left: 0.35rem;
  padding: 0.05rem 0.25rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--sand);
  font-size: 0.625rem;
  text-align: center;
  transition: transform 0.3s var(--ease-out);
}

.cart-count.bump { transform: scale(1.35); }

@media (max-width: 640px) {
  .nav-links { gap: 1.2rem; }
  .nav-links .hide-mobile { display: none; }
}

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

.hero {
  position: relative;
  height: 175vh; /* runway for the shrink */
}

.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 0;
  /* JS drives transform/inset via --shrink */
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(245,240,232,0) 45%, rgba(245,240,232,0.55) 100%);
}

.hero-title {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-wordmark {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3.6rem, 15vw, 14rem);
  letter-spacing: 0.03em; /* tight so MIA + ELLE fits; spreads on merge */
  padding-left: 0.03em;
  line-height: 1;
  color: var(--ink);
  white-space: nowrap;
  transition: letter-spacing 0.9s var(--ease-out), padding-left 0.9s var(--ease-out);
}

.hero-wordmark.merged {
  letter-spacing: 0.2em;
  padding-left: 0.2em;
}

.hero-wordmark .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.35em);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out),
              max-width 0.9s var(--ease-out), margin 0.9s var(--ease-out);
}

.loaded .hero-wordmark .char {
  opacity: 1;
  transform: translateY(0);
}

/* MIA + ELLE collapses: the ghost letters (A, +, LE) drop away into MIEL */
.hero-wordmark .char.ghost { color: var(--brown); }
.hero-wordmark .char.plus { margin: 0 0.05em; }
.hero-wordmark .char.drop { max-width: 1.2em; overflow: hidden; }
.hero-wordmark.merged .char.drop { opacity: 0; max-width: 0; margin: 0; }

.hero-tag {
  margin-top: 1.4rem;
  opacity: 0;
  transform: translateY(0.6rem);
  transition: opacity 1s var(--ease-out) 0.9s, transform 1s var(--ease-out) 0.9s;
}

.loaded .hero-tag { opacity: 1; transform: none; }

.hero-tag em {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  font-weight: 400;
  color: var(--brown);
  letter-spacing: 0.02em;
  margin-bottom: 0.6rem;
}

.hero-scrollcue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0;
  transition: opacity 1s ease 1.6s;
}

.loaded .hero-scrollcue { opacity: 1; }

.hero-scrollcue span {
  display: block;
  width: 1px;
  height: 3rem;
  margin: 0.5rem auto 0;
  background: var(--ink);
  transform-origin: top;
  animation: cue 2.2s var(--ease-out) infinite;
}

@keyframes cue {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- section scaffolding ---------- */

section { position: relative; }

.section-pad {
  padding: clamp(5rem, 12vh, 9rem) var(--gutter);
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  margin-bottom: clamp(2.5rem, 6vh, 4.5rem);
}

.section-head .rule {
  flex: 1;
  height: 1px;
  background: rgba(33, 24, 14, 0.18);
}

/* ---------- manifesto / why MIEL exists ---------- */

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

.manifesto-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.manifesto-media {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  align-self: stretch;
}

.manifesto-media img {
  width: 100%;
  height: 112%;
  object-fit: cover;
  will-change: transform;
}

@media (max-width: 860px) {
  .manifesto-grid { grid-template-columns: 1fr; }
  .manifesto-media { aspect-ratio: 4 / 3.4; margin-top: 2.5rem; }
}

.manifesto-line {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.9rem, 4.6vw, 3.6rem);
  line-height: 1.25;
  margin-bottom: 0.4em;
}

.manifesto-line em {
  font-style: italic;
  color: var(--cream);
}

.manifesto-aside {
  margin-top: 3.5rem;
  max-width: 34rem;
  font-size: 0.95rem;
  line-height: 1.85;
  color: rgba(245, 240, 232, 0.75);
}

.manifesto .label { color: var(--taupe); }

/* ---------- pillars ---------- */

.pillars { background: var(--sand); }

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

.pillar-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4.2;
}

.pillar-media img {
  width: 100%;
  height: 112%;
  object-fit: cover;
  will-change: transform;
}

.pillar-caption { padding: 1.4rem 0 0; }

.pillar-caption h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  line-height: 1.15;
  margin: 0.5rem 0 0.7rem;
}

.pillar-caption p {
  font-size: 0.875rem;
  line-height: 1.8;
  color: rgba(33, 24, 14, 0.72);
  max-width: 30ch;
}

@media (max-width: 800px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .pillar-media { aspect-ratio: 4 / 4.6; }
}

/* ---------- image reveal (wipe) ---------- */

/* clip the INNER image, not the container: Chrome's IntersectionObserver
   respects clip-path, so a fully-clipped observed element never intersects */
.wipe img, .settle img {
  transition: clip-path 1.2s var(--ease-out), transform 1.6s var(--ease-out);
}

.wipe img { clip-path: inset(100% 0 0 0); }
.wipe.in-view img { clip-path: inset(0 0 0 0); }

.fade-up {
  opacity: 0;
  transform: translateY(2.2rem);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

.fade-up.in-view { opacity: 1; transform: none; }

/* Vero-style settle: image starts slightly zoomed, settles as it enters */
.settle img { transform: scale(1.14); }
.settle.in-view img { transform: scale(1); }

/* stagger helpers */
[data-delay="1"] { transition-delay: 0.12s; }
[data-delay="2"] { transition-delay: 0.24s; }
[data-delay="3"] { transition-delay: 0.36s; }

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

.shop { background: var(--sand-deep); }

.shop-intro {
  max-width: 36rem;
  font-size: 0.95rem;
  line-height: 1.85;
  color: rgba(33, 24, 14, 0.72);
  margin-bottom: clamp(2.5rem, 6vh, 4rem);
}

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

@media (max-width: 900px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .product-grid { grid-template-columns: 1fr; } }

.product-card { position: relative; }

.product-figure {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--cream);
}

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

.product-figure .img-shadow {
  opacity: 0;
}

.product-card:hover .product-figure .img-main { transform: scale(1.04); }
.product-card:hover .product-figure .img-shadow { opacity: 1; }
.product-card:hover .product-figure .img-shadow + .img-main { opacity: 0; }

.product-figure .quick-add {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translate(-50%, 0.6rem);
  z-index: 2;
  opacity: 0;
  background: rgba(245, 240, 232, 0.94);
  padding: 0.65rem 1.4rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: opacity 0.4s ease, transform 0.5s var(--ease-out), background 0.3s ease;
}

.product-card:hover .quick-add { opacity: 1; transform: translate(-50%, 0); }
.quick-add:hover { background: var(--ink); color: var(--sand); }

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1rem 0 0;
}

.product-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.15rem;
}

.product-name a:hover { color: var(--brown); }

.product-price {
  font-size: 0.8125rem;
  color: rgba(33, 24, 14, 0.6);
}

.product-tag {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brown);
}

.shop-note {
  margin-top: clamp(2.5rem, 6vh, 4rem);
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--brown);
}

/* ---------- honey ---------- */

.honey-section {
  background: var(--sand);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(5rem, 12vh, 9rem) var(--gutter);
}

.honey-media {
  overflow: hidden;
  aspect-ratio: 1;
  max-width: 34rem;
  justify-self: end;
}

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

.honey-copy { max-width: 30rem; }

.honey-copy h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.15;
  margin: 1rem 0 1.4rem;
}

.honey-copy h2 em { font-style: italic; color: var(--honey); }

.honey-copy p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: rgba(33, 24, 14, 0.72);
  margin-bottom: 1rem;
}

@media (max-width: 800px) {
  .honey-section { grid-template-columns: 1fr; }
  .honey-media { justify-self: start; }
}

/* ---------- story ---------- */

.story {
  background: var(--cream);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
  padding: clamp(5rem, 12vh, 9rem) var(--gutter);
}

.story-media {
  overflow: hidden;
  aspect-ratio: 3 / 4.4;
  max-width: 26rem;
}

.story-media img { width: 100%; height: 112%; object-fit: cover; will-change: transform; }

.story-copy h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.18;
  margin: 1rem 0 1.6rem;
  max-width: 18ch;
}

.story-copy p {
  max-width: 46ch;
  font-size: 0.95rem;
  line-height: 1.9;
  color: rgba(33, 24, 14, 0.78);
  margin-bottom: 1.1rem;
}

.story-sign {
  margin-top: 2rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--brown);
}

@media (max-width: 800px) {
  .story { grid-template-columns: 1fr; }
}

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

.footer {
  background: var(--ink);
  color: var(--sand);
  padding: clamp(4rem, 10vh, 7rem) var(--gutter) 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: clamp(3rem, 8vh, 5rem);
}

.footer-word {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(4rem, 12vw, 10rem);
  letter-spacing: 0.18em;
  line-height: 0.9;
  color: var(--cream);
}

.footer-signup p {
  font-size: 0.875rem;
  color: rgba(245, 240, 232, 0.7);
  margin-bottom: 1.2rem;
  max-width: 34ch;
}

.signup-form {
  display: flex;
  border-bottom: 1px solid rgba(245, 240, 232, 0.4);
}

.signup-form input {
  flex: 1;
  background: none;
  border: none;
  color: var(--sand);
  font: inherit;
  font-size: 0.9rem;
  padding: 0.7rem 0;
  outline: none;
}

.signup-form input::placeholder { color: rgba(245, 240, 232, 0.4); }

.signup-form button {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  padding: 0 0.5rem;
}

.signup-form button:hover { color: var(--honey); }

.signup-done {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--honey);
  padding: 0.7rem 0;
}

.footer-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(245, 240, 232, 0.15);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.55);
}

.footer-base a:hover { color: var(--cream); }

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr; align-items: start; }
}

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

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(33, 24, 14, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

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

.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 71;
  width: min(26rem, 92vw);
  background: var(--sand);
  transform: translateX(100%);
  transition: transform 0.55s var(--ease-out);
  display: flex;
  flex-direction: column;
}

.cart-drawer.open {
  transform: translateX(0);
  box-shadow: -20px 0 60px rgba(33, 24, 14, 0.18);
}

.cart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 1.6rem;
  border-bottom: 1px solid rgba(33, 24, 14, 0.1);
}

.cart-head h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.3rem;
  letter-spacing: 0.06em;
}

.cart-close { font-size: 1.4rem; line-height: 1; padding: 0.2rem 0.4rem; }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1.2rem 1.6rem;
}

.cart-empty {
  font-family: var(--serif);
  font-style: italic;
  color: var(--taupe);
  font-size: 1.1rem;
  text-align: center;
  margin-top: 3rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 4.4rem 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(33, 24, 14, 0.08);
}

.cart-item img {
  width: 4.4rem;
  height: 5.4rem;
  object-fit: cover;
}

.cart-item-name {
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 400;
}

.cart-item-size { font-size: 0.75rem; color: rgba(33,24,14,0.55); }

.cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.4rem;
}

.cart-qty button {
  width: 1.4rem;
  height: 1.4rem;
  border: 1px solid rgba(33, 24, 14, 0.25);
  border-radius: 50%;
  font-size: 0.8rem;
  line-height: 1;
  display: grid;
  place-items: center;
}

.cart-qty button:hover { background: var(--ink); color: var(--sand); border-color: var(--ink); }

.cart-item-right { text-align: right; font-size: 0.85rem; }

.cart-remove {
  display: block;
  margin-top: 0.5rem;
  margin-left: auto;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(33, 24, 14, 0.45);
}

.cart-remove:hover { color: var(--brown); text-decoration: underline; }

.cart-foot {
  padding: 1.3rem 1.6rem 1.6rem;
  border-top: 1px solid rgba(33, 24, 14, 0.12);
  background: var(--sand-deep);
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.cart-subtotal strong { font-weight: 500; }

.btn-primary {
  display: block;
  width: 100%;
  padding: 1rem;
  background: var(--ink);
  color: var(--sand);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
  transition: background 0.3s ease;
}

.btn-primary:hover { background: var(--brown); }

.cart-checkout-note {
  margin-top: 0.9rem;
  font-size: 0.78rem;
  line-height: 1.6;
  color: rgba(33, 24, 14, 0.6);
  text-align: center;
}

/* checkout-coming-soon state inside drawer */
.cart-soon { padding: 1rem 0; text-align: center; }

.cart-soon h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
  color: var(--brown);
}

.cart-soon p { font-size: 0.82rem; color: rgba(33,24,14,0.65); margin-bottom: 1rem; }

.cart-soon .signup-form { border-color: rgba(33, 24, 14, 0.35); }
.cart-soon .signup-form input { color: var(--ink); }
.cart-soon .signup-form input::placeholder { color: rgba(33, 24, 14, 0.35); }
.cart-soon .signup-form button { color: var(--brown); }

/* toast */
.toast {
  position: fixed;
  bottom: 1.6rem;
  left: 50%;
  transform: translate(-50%, 200%);
  z-index: 80;
  background: var(--ink);
  color: var(--sand);
  padding: 0.8rem 1.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  transition: transform 0.5s var(--ease-out);
}

.toast.show { transform: translate(-50%, 0); }

/* ---------- shop page / product page ---------- */

.page-head {
  padding: clamp(8rem, 18vh, 11rem) var(--gutter) clamp(2rem, 5vh, 3rem);
}

.page-head h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.6rem, 7vw, 5rem);
  letter-spacing: 0.05em;
  line-height: 1.05;
  margin-top: 0.8rem;
}

.page-head p {
  max-width: 40rem;
  margin-top: 1.2rem;
  font-size: 0.95rem;
  line-height: 1.85;
  color: rgba(33, 24, 14, 0.7);
}

.pdp {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(7rem, 16vh, 10rem) var(--gutter) clamp(4rem, 10vh, 7rem);
  align-items: start;
}

.pdp-media {
  position: sticky;
  top: 5.5rem;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.pdp-media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 0.7s ease;
}

.pdp-media .img-shadow { opacity: 0; }
.pdp-media:hover .img-shadow { opacity: 1; }

.pdp-info { padding-top: 1rem; max-width: 28rem; }

.pdp-info h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.1;
  margin: 0.6rem 0 0.8rem;
}

.pdp-price { font-size: 1rem; color: rgba(33, 24, 14, 0.65); margin-bottom: 1.6rem; }

.pdp-desc {
  font-size: 0.92rem;
  line-height: 1.85;
  color: rgba(33, 24, 14, 0.75);
  margin-bottom: 1.8rem;
}

.pdp-sizes { margin-bottom: 1.8rem; }

.pdp-sizes .label { display: block; margin-bottom: 0.8rem; }

.size-row { display: flex; gap: 0.6rem; flex-wrap: wrap; }

.size-btn {
  min-width: 2.8rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(33, 24, 14, 0.25);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  transition: all 0.25s ease;
}

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

.size-btn.selected { background: var(--ink); color: var(--sand); border-color: var(--ink); }

.pdp-note {
  margin-top: 1rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.98rem;
  color: var(--brown);
}

.pdp-back {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(33, 24, 14, 0.55);
}

.pdp-back:hover { color: var(--ink); }

@media (max-width: 800px) {
  .pdp { grid-template-columns: 1fr; }
  .pdp-media { position: static; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .wipe img { clip-path: inset(0 0 0 0); }
  .fade-up { opacity: 1; transform: none; }
  .settle img { transform: none; }
  .hero-wordmark .char { opacity: 1; transform: none; }
  .hero-tag { opacity: 1; transform: none; }
}

/* visible keyboard focus */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--brown);
  outline-offset: 3px;
}
