:root {
  --paper: #efe7da;
  --paper-deep: #e6dccb;
  --ink: #2a2118;
  --ink-soft: rgba(42, 33, 24, 0.62);
  --ink-faint: rgba(42, 33, 24, 0.38);
  --gold: #b08d4f;
  --gold-deep: #8a6a34;
  --serif: "Cormorant Garamond", "Didot", Georgia, serif;
  --display: "Italiana", "Didot", Georgia, serif;
  --sans: "Jost", "Futura", "Avenir Next", sans-serif;
}

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

html,
body {
  height: 100%;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(120% 90% at 50% 8%, #f4ede1 0%, var(--paper) 46%, var(--paper-deep) 100%);
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.05'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.stage {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.cta-btn {
  text-decoration: none;
  display: inline-block;
}

/* ---------- top bar ---------- */

.topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 44px;
}

.brand {
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}

.menu {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.menu a {
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.25s ease;
}

.menu a:hover,
.menu a.is-active {
  color: var(--ink);
}

.menu .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--ink-faint);
}

.cta-btn {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--ink);
  border: none;
  border-radius: 999px;
  padding: 10px 22px;
  cursor: pointer;
  transition: background 0.25s ease;
}

.cta-btn:hover {
  background: #453626;
}

/* ---------- side copy ---------- */

.copy {
  position: absolute;
  z-index: 20;
  pointer-events: none;
}

.copy--left {
  left: 44px;
  top: 34%;
  max-width: 340px;
}

.copy__eyebrow {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 18px;
}

.copy__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.12;
  color: var(--ink);
}

.copy__sub {
  margin-top: 16px;
  font-size: 12.5px;
  line-height: 1.7;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
}

.copy--right {
  right: 44px;
  bottom: 130px;
  max-width: 240px;
  text-align: right;
}

.copy__note {
  font-size: 12px;
  line-height: 1.75;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

/* ---------- scene ---------- */

.scene {
  position: absolute;
  inset: 0;
  z-index: 10;
}

.strings {
  position: absolute;
  inset: 0;
}

.strings canvas {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
}

/* rail, hook and clamp the hair hangs from */

.rig {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  z-index: 15;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rail {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  top: 74px;
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(180deg, #cfc6b6 0%, #9e937f 55%, #c3b9a6 100%);
  box-shadow: 0 3px 8px rgba(42, 33, 24, 0.18);
}

.hook {
  width: 46px;
  height: 58px;
  margin-top: 62px;
  color: #8d8272;
  filter: drop-shadow(0 2px 3px rgba(42, 33, 24, 0.25));
}

.clamp {
  width: 264px;
  height: 30px;
  margin-top: -4px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(180deg, #3a332c 0%, #211c17 45%, #171310 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 224, 0.16),
    inset 0 -2px 5px rgba(0, 0, 0, 0.55),
    0 16px 28px rgba(42, 33, 24, 0.32);
}

.clamp__mark {
  color: var(--gold);
  font-size: 9px;
}

.clamp__name {
  font-family: var(--display);
  font-size: 11.5px;
  letter-spacing: 0.45em;
  text-indent: 0.45em;
  color: #d9c9a8;
}

/* soft pooled shadow beneath the hair */

.shadow {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 560px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(
    50% 50% at 50% 50%,
    rgba(42, 33, 24, 0.30) 0%,
    rgba(42, 33, 24, 0.12) 48%,
    rgba(42, 33, 24, 0) 72%
  );
  filter: blur(6px);
  transition: top 0.8s cubic-bezier(0.22, 1, 0.36, 1), width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- product spec annotations ---------- */

.spec-col {
  position: absolute;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 26px;
  pointer-events: none;
}

.spec-col--left {
  right: calc(50% + 215px);
  top: 26%;
  text-align: right;
  align-items: flex-end;
}

.spec-col--right {
  left: calc(50% + 480px);
  top: 30%;
}

/* between 1240-1420px there isn't room for both the figure and the
   right spec column — the figure wins, specs reappear when it hides */
@media (max-width: 1420px) {
  .spec-col--right { display: none; }
}

@media (max-width: 1240px) {
  .spec-col--right {
    display: flex;
    left: calc(50% + 238px);
    top: 55%;
  }
}

.spec {
  display: flex;
  flex-direction: column;
}

.spec-col--left .spec {
  align-items: flex-end;
}

.spec__eyebrow {
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 5px;
}

.spec__value {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.3;
  color: var(--ink);
}

.spec--lead .spec__value {
  font-style: italic;
  font-size: 26px;
}

.measure {
  position: absolute;
  z-index: 20;
  left: calc(50% + 180px);
  top: 178px;
  width: 1px;
  background: rgba(42, 33, 24, 0.28);
  transition: height 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.measure__tick {
  position: absolute;
  left: -5px;
  width: 11px;
  height: 1px;
  background: rgba(42, 33, 24, 0.4);
}

.measure__tick--top { top: 0; }
.measure__tick--bottom { bottom: 0; }

.measure__label {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  color: var(--ink-soft);
  white-space: nowrap;
}

/* ---------- controls ---------- */

.controls {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 30;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: calc(100vw - 48px);
  align-items: center;
  gap: 14px 34px;
  padding: 14px 26px;
  border-radius: 999px;
  background: rgba(244, 237, 225, 0.72);
  border: 1px solid rgba(42, 33, 24, 0.10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.control-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.control-group__label {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-right: 6px;
}

.chip {
  flex-shrink: 0;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 7px 14px;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

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

.chip.is-active {
  color: var(--ink);
  border-color: rgba(42, 33, 24, 0.35);
  background: rgba(255, 252, 245, 0.6);
}

.swatch {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: var(--sw);
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.25);
}

.swatch.is-active {
  border-color: rgba(42, 33, 24, 0.55);
  outline: 3px solid rgba(244, 237, 225, 0.9);
  outline-offset: -5px;
}

/* rebuild fade */

.strings.is-swapping canvas {
  opacity: 0;
  transition: opacity 0.28s ease;
}

.strings canvas {
  opacity: 1;
  transition: opacity 0.45s ease;
}

@media (max-width: 1100px) {
  .copy--left { top: auto; bottom: 120px; max-width: 260px; }
  .copy--right { display: none; }
  .spec-col { gap: 16px; }
  .spec-col--left { top: 18%; }
  .spec-col--right { top: 56%; }
  .spec__value { font-size: 15px; }
  .spec--lead .spec__value { font-size: 21px; }
  .controls {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 24px;
    padding: 12px 18px;
    max-width: calc(100vw - 24px);
    border-radius: 24px;
  }
}

/* ==================================================================
   Page sections below the hero
   ================================================================== */

.section {
  padding: 110px 44px;
}

.section__inner {
  max-width: 1160px;
  margin: 0 auto;
}

.section__eyebrow {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 18px;
}

.section__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 48px;
}

/* ---------- marquee ---------- */

.marquee {
  overflow: hidden;
  border-top: 1px solid rgba(42, 33, 24, 0.12);
  border-bottom: 1px solid rgba(42, 33, 24, 0.12);
  background: rgba(244, 237, 225, 0.6);
  padding: 16px 0;
}

.marquee__track {
  display: flex;
  white-space: nowrap;
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--ink-soft);
}

.marquee__dot {
  margin: 0 26px;
  color: var(--gold);
}

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

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

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 34px 30px;
  border: 1px solid rgba(42, 33, 24, 0.14);
  border-radius: 14px;
  background: rgba(255, 252, 245, 0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px rgba(42, 33, 24, 0.12);
}

.card__name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  margin-bottom: 14px;
}

.card__desc {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.card__details {
  font-size: 11.5px;
  letter-spacing: 0.04em;
  line-height: 1.7;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 26px;
}

.card__foot {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.card__price {
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
}

.card__link {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(42, 33, 24, 0.3);
  padding-bottom: 2px;
  transition: color 0.25s ease;
}

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

/* ---------- material (dark editorial block) ---------- */

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

.material__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: center;
}

.section__eyebrow--light {
  color: rgba(239, 231, 218, 0.5);
}

.section__title--light {
  color: var(--paper);
  margin-bottom: 26px;
}

.material__desc {
  font-size: 14px;
  line-height: 1.85;
  color: rgba(239, 231, 218, 0.72);
  max-width: 460px;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(239, 231, 218, 0.18);
  border: 1px solid rgba(239, 231, 218, 0.18);
  border-radius: 14px;
  overflow: hidden;
}

.stat {
  background: var(--ink);
  padding: 36px 30px;
}

.stat__number {
  font-family: var(--serif);
  font-size: 52px;
  line-height: 1;
  color: var(--paper);
}

.stat__unit {
  font-size: 22px;
  font-style: italic;
  color: var(--gold);
  margin-left: 4px;
}

.stat__label {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(239, 231, 218, 0.55);
}

/* ---------- how-to steps ---------- */

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.step__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 30px;
  color: var(--gold);
}

.step__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
  margin: 12px 0 10px;
}

.step__desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ---------- care ---------- */

.care {
  background: rgba(244, 237, 225, 0.5);
  border-top: 1px solid rgba(42, 33, 24, 0.08);
  border-bottom: 1px solid rgba(42, 33, 24, 0.08);
}

.care__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 70px;
  align-items: start;
}

.care__steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 460px;
}

.care__step {
  display: flex;
  gap: 16px;
  align-items: baseline;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(42, 33, 24, 0.1);
}

.care__step span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--gold);
}

.care__products {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 60px;
}

.mini-card {
  padding: 26px 28px;
  border: 1px solid rgba(42, 33, 24, 0.14);
  border-radius: 12px;
  background: rgba(255, 252, 245, 0.6);
}

.mini-card__name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 19px;
  margin-bottom: 8px;
}

.mini-card__desc {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 12px;
}

.mini-card__price {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
}

/* ---------- reviews ---------- */

.review-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-bottom: 56px;
}

.review-stat__number {
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1;
}

.review-stat__label {
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--ink-faint);
}

.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.quote {
  padding: 30px 28px;
  border: 1px solid rgba(42, 33, 24, 0.14);
  border-radius: 14px;
  background: rgba(255, 252, 245, 0.45);
}

.quote__text {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 18px;
}

.quote__author {
  font-style: normal;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ---------- policy ---------- */

.policy {
  padding-top: 0;
}

.policy__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.policy__item {
  padding: 28px 0;
  border-top: 1px solid rgba(42, 33, 24, 0.2);
}

.policy__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 10px;
}

.policy__desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

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

.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 90px 44px 50px;
  text-align: center;
}

.site-footer__brand {
  font-family: var(--display);
  font-size: 34px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.site-footer__tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: rgba(239, 231, 218, 0.7);
  margin-bottom: 30px;
}

.site-footer__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.site-footer__links a {
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid rgba(239, 231, 218, 0.35);
  padding-bottom: 2px;
}

.site-footer__links .dot {
  background: rgba(239, 231, 218, 0.4);
}

.site-footer__links span[data-copy] {
  color: rgba(239, 231, 218, 0.55);
}

.site-footer__copyright {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(239, 231, 218, 0.4);
}

/* ---------- responsive for sections ---------- */

@media (max-width: 1000px) {
  .cards,
  .quotes,
  .policy__grid {
    grid-template-columns: 1fr;
  }
  .steps,
  .review-stats {
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
  }
  .material__grid,
  .care__grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }
  .care__products {
    margin-top: 0;
  }
  .section {
    padding: 70px 24px;
  }
}

/* ==================================================================
   In-page shop (COD ordering)
   ================================================================== */

.shop__note {
  max-width: 560px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: -28px 0 48px;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.shop-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0 28px 30px;
  border: 1px solid rgba(42, 33, 24, 0.14);
  border-radius: 14px;
  background: rgba(255, 252, 245, 0.45);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shop-card__media {
  margin: 0 -28px 22px;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background: #f4ede1;
}

.shop-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.shop-card:hover .shop-card__media img {
  transform: scale(1.04);
}

.shop-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px rgba(42, 33, 24, 0.12);
}

.shop-card__badge {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  border: 1px solid rgba(176, 141, 79, 0.5);
  border-radius: 999px;
  padding: 4px 10px;
}

.shop-card__name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 23px;
  margin-bottom: 10px;
  padding-right: 80px;
}

.shop-card__desc {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.shop-card__variants {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}

.shop-card__variant {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.shop-card__variant select {
  flex: 1;
  max-width: 62%;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink);
  background: rgba(255, 252, 245, 0.8);
  border: 1px solid rgba(42, 33, 24, 0.2);
  border-radius: 8px;
  padding: 8px 10px;
}

.shop-card__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.shop-card__price {
  font-family: var(--serif);
  font-style: italic;
  font-size: 21px;
}

.shop-card__order {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--ink);
  border: none;
  border-radius: 999px;
  padding: 11px 20px;
  cursor: pointer;
  transition: background 0.25s ease;
  white-space: nowrap;
}

.shop-card__order:hover {
  background: #453626;
}

.shop-card__alt {
  display: flex;
  gap: 18px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(42, 33, 24, 0.1);
}

.shop-card__alt a {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  text-decoration: none;
  transition: color 0.25s ease;
}

.shop-card__alt a:hover {
  color: var(--ink);
}

/* ---------- order modal ---------- */

.order-overlay[hidden] {
  display: none;
}

.order-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(42, 33, 24, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.order-modal {
  position: relative;
  width: min(460px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--paper);
  border-radius: 18px;
  padding: 34px 32px 30px;
  box-shadow: 0 40px 80px rgba(20, 14, 8, 0.4);
}

.order-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  color: var(--ink-faint);
  cursor: pointer;
}

.order-modal__close:hover {
  color: var(--ink);
}

.order-modal__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 18px;
  padding-right: 30px;
}

.order-modal__product {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid rgba(42, 33, 24, 0.14);
  border-radius: 10px;
  background: rgba(255, 252, 245, 0.7);
  margin-bottom: 18px;
}

.order-modal__product strong {
  font-family: var(--serif);
  font-size: 17px;
}

.order-modal__product span {
  font-size: 12px;
  color: var(--ink-soft);
}

.order-modal__qty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 16px;
}

.qty-control button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(42, 33, 24, 0.3);
  background: transparent;
  font-size: 16px;
  color: var(--ink);
  cursor: pointer;
}

.qty-control span {
  font-family: var(--serif);
  font-size: 18px;
  min-width: 20px;
  text-align: center;
}

.order-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.order-field__label {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.order-field input,
.order-field textarea {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  background: rgba(255, 252, 245, 0.8);
  border: 1px solid rgba(42, 33, 24, 0.2);
  border-radius: 8px;
  padding: 10px 12px;
  resize: vertical;
}

.order-field input:focus,
.order-field textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.order-modal__error {
  font-size: 12.5px;
  color: #a0392e;
  margin-bottom: 12px;
}

.order-modal__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 18px 0 4px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.order-modal__total strong {
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: 0;
  color: var(--ink);
}

.order-modal__shipping {
  font-size: 11.5px;
  color: var(--ink-faint);
  margin-bottom: 18px;
}

.order-modal__submit {
  width: 100%;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--ink);
  border: none;
  border-radius: 999px;
  padding: 14px 20px;
  cursor: pointer;
  transition: background 0.25s ease;
}

.order-modal__submit:hover {
  background: #453626;
}

.order-modal__submit:disabled {
  opacity: 0.6;
  cursor: wait;
}

.order-modal__success-body {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 22px;
}

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

/* ==================================================================
   Height-reference figure sketch (hero, right side)
   ================================================================== */

.figure {
  position: absolute;
  left: calc(50% + 210px);
  top: 11%;
  height: 60vh;
  aspect-ratio: 384 / 1024;
  /* no z-index: it would create a stacking context and break the
     sprite's mix-blend-mode against the page background */
  pointer-events: none;
}

/* The body is a static image drawn onto the canvas; the hair is drawn
   programmatically on top of it, so its length animates continuously
   and its colour follows the selected shade. */
.figure__canvas {
  display: block;
  width: 100%;
  height: 100%;
  mix-blend-mode: multiply;
}

.figure__part,
.figure__caption {
  position: absolute;
  left: 0;
  right: 0;
}

.figure__part {
  top: calc(100% + 6px);
}

.figure__caption {
  top: calc(100% + 34px);
}

.figure__part {
  margin-top: 10px;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--ink-soft);
  transition: opacity 0.4s ease;
}

.figure__caption {
  margin-top: 3px;
  text-align: center;
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(42, 33, 24, 0.38);
}

.figure svg {
  height: 100%;
  width: auto;
}

.fig-body path,
.fig-body ellipse {
  stroke: rgba(42, 33, 24, 0.42);
  stroke-width: 1.5;
  stroke-linecap: round;
  fill: none;
}

.fig-faint {
  stroke: rgba(42, 33, 24, 0.28);
  stroke-width: 1;
}

.fig-ground {
  stroke: rgba(42, 33, 24, 0.22);
  stroke-width: 1;
  stroke-dasharray: 2 6;
  stroke-linecap: round;
}

.fig-height-label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  fill: rgba(42, 33, 24, 0.4);
}

.fig-hair path {
  stroke: rgba(42, 33, 24, 0.75);
  stroke-width: 2.4;
  stroke-linecap: round;
  fill: none;
  stroke-dasharray: 1;
  transition: stroke-dashoffset 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.fig-indicator {
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.fig-indicator line {
  stroke: var(--gold-deep);
  stroke-width: 1.2;
  stroke-dasharray: 4 4;
}

.fig-ind-len {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  fill: var(--ink);
}

.fig-ind-part {
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  fill: rgba(42, 33, 24, 0.55);
}

@media (max-width: 1240px) {
  .figure {
    display: none;
  }
}

/* ==================================================================
   Mobile hero
   ================================================================== */

.stage {
  /* horizontal swipes stir the hair, vertical swipes scroll the page */
  touch-action: pan-y;
  height: 100svh;
}

@media (max-width: 760px) {
  .topbar { padding: 16px 20px; }
  .menu { display: none; }
  .brand { font-size: 20px; }
  .cta-btn { font-size: 11px; padding: 8px 16px; }

  /* hair shifts right of centre, headline takes the left column */
  .strings canvas,
  .rig,
  .shadow { left: 60%; }

  .copy--left {
    top: 30%;
    bottom: auto;
    left: 20px;
    max-width: 128px;
  }
  .copy__eyebrow { font-size: 9px; letter-spacing: 0.18em; margin-bottom: 8px; }
  .copy__title { font-size: 27px; }
  .copy__sub { font-size: 10.5px; margin-top: 10px; }

  .spec-col--left,
  .spec-col--right { display: none; }

  .measure { left: calc(60% + 100px); }
  .measure__label { font-size: 13px; left: 8px; }

  .clamp { width: min(220px, 52vw); }
  .rail { top: 66px; }
  .hook { margin-top: 54px; width: 40px; height: 50px; }

  .controls {
    bottom: 10px;
    gap: 6px 12px;
    padding: 10px 14px;
    border-radius: 22px;
    width: calc(100vw - 24px);
  }
  .control-group {
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .control-group__label { display: none; }
  .chip { font-size: 11px; padding: 5px 9px; }
  .swatch { flex: 0 0 19px; width: 19px; height: 19px; }
}
