/* ==========================================================================
   MUAMS — inner pages (shop, product, checkout, content & policy pages)
   ========================================================================== */

/* ---------- compact page hero variant ---------- */
.page-hero--compact { padding-bottom: clamp(48px, 6vw, 80px); }
.page-hero__swatches { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.page-hero__swatches a { width: 34px; height: 34px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--line-2); transition: transform .4s var(--ease-back); }
.page-hero__swatches a:hover { transform: scale(1.25); }
.page-hero .chips { margin-top: 36px; }
.page-hero .chip { color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); }
.page-hero .chip:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.page-hero .chip.is-active { background: var(--ink); color: #fff; box-shadow: none; }

/* ---------- shop ---------- */
.shop-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.shop-bar__l { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.shop-bar__count { font-size: 14px; color: var(--stone); }
.shop-bar__count b { color: var(--ink); }
.shop-bar__r { display: flex; align-items: center; gap: 10px; }
.sel { position: relative; }
.sel select { height: 42px; padding: 0 40px 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; font-size: 13px; font-weight: 700; -webkit-appearance: none; appearance: none; cursor: pointer; }
.sel::after { content: ''; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.size-chips { display: flex; gap: 6px; }
.size-chips .chip { height: 38px; padding: 0 14px; font-size: 12.5px; }
.view-toggle { display: flex; gap: 2px; padding: 3px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); }
.view-toggle button { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--stone); transition: background .3s, color .3s; }
.view-toggle button m-icon { --is: 17px; }
.view-toggle button.is-active { background: var(--ink); color: var(--paper); }
@media (max-width: 900px) { .view-toggle { display: none; } }
.p-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.p-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .p-grid.cols-3, .p-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.shop-grid { transition: opacity .4s var(--ease), transform .4s var(--ease); }
.shop-grid.is-out { opacity: 0; transform: translateY(14px); }
.help-band { margin-top: clamp(64px, 8vw, 110px); display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: clamp(24px, 3vw, 40px); border-radius: 26px; background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.help-band .mark { width: 64px; color: var(--gold); }
.help-band h3 { font-family: var(--serif); font-weight: 700; letter-spacing: -.03em; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.05; }
.help-band p { color: rgba(244, 240, 232, .65); margin-top: 6px; font-size: 15px; }
@media (max-width: 760px) { .help-band { grid-template-columns: 1fr; } }

/* ---------- product page ---------- */
.pdp { padding-top: calc(var(--header-h) + 28px); }
.pdp__crumbs { margin-bottom: 26px; }
.pdp__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 4.5vw, 80px); align-items: start; }
.gallery { display: grid; grid-template-columns: 84px 1fr; gap: 14px; position: sticky; top: calc(var(--nav-h) + 20px); }
.gallery__thumbs { display: grid; gap: 10px; align-content: start; }
.gallery__thumb { position: relative; aspect-ratio: 4/5; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .3s, transform .4s var(--ease); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb.is-active { box-shadow: 0 0 0 2px var(--ink); }
.gallery__thumb:hover { transform: translateY(-2px); }
.gallery__thumb span { position: absolute; left: 4px; right: 4px; bottom: 4px; font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; text-align: center; padding: 3px; border-radius: 6px; background: rgba(244, 240, 232, .9); }
.gallery__main { position: relative; aspect-ratio: 4/5; max-height: calc(100vh - var(--nav-h) - 40px); border-radius: 24px; overflow: hidden; background: var(--bone); cursor: zoom-in; }
.gallery__slides { position: absolute; inset: 0; }
.gallery__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s var(--ease), transform 1.2s var(--ease); transform: scale(1.04); }
.gallery__slide.is-active { opacity: 1; transform: none; }
.gallery__slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery__slide.detail img { transform: scale(var(--z, 2.3)); transform-origin: var(--fx, 50%) var(--fy, 50%); }
.gallery__lens { position: absolute; width: 200px; height: 200px; margin: -100px 0 0 -100px; border-radius: 50%; pointer-events: none; background-repeat: no-repeat; box-shadow: 0 0 0 2px #fff, 0 0 0 7px rgba(18, 17, 14, .25), 0 30px 60px -10px rgba(0, 0, 0, .5); opacity: 0; transform: scale(.5); transition: opacity .3s, transform .4s var(--ease); z-index: 4; }
.gallery__main.is-lens .gallery__lens { opacity: 1; transform: none; }
.gallery__label { position: absolute; left: 16px; bottom: 16px; z-index: 3; padding: 8px 14px; border-radius: 999px; background: rgba(18, 17, 14, .75); color: var(--paper); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.gallery__nav { position: absolute; right: 14px; bottom: 14px; z-index: 3; display: flex; gap: 8px; }
.gallery__nav button { width: 44px; height: 44px; border-radius: 50%; background: rgba(244, 240, 232, .92); display: inline-flex; align-items: center; justify-content: center; transition: transform .4s var(--ease-back); }
.gallery__nav button:hover { transform: scale(1.1); }
.gallery__nav m-icon { --is: 18px; }
.gallery__main .tag-swing { top: 20px; left: 18px; }
.gallery__dots { display: none; }
@media (max-width: 899px) {
  .pdp__grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; position: relative; top: 0; }
  .gallery__thumbs { display: none; }
  .gallery__main { max-height: none; margin: 0 calc(var(--gutter) * -1); border-radius: 0; cursor: default; }
  .gallery__dots { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
  .gallery__dots button { width: 7px; height: 7px; border-radius: 4px; background: var(--line-2); transition: width .4s var(--ease), background .3s; }
  .gallery__dots button.is-active { width: 22px; background: var(--ink); }
}
.pinfo__eyebrow { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pinfo h1 { margin: 16px 0 14px; font-size: clamp(2.4rem, 4.2vw, 3.9rem); }
.pinfo__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.pinfo__price strong { font-family: var(--serif); font-weight: 700; letter-spacing: -.03em; font-size: 42px; line-height: 1; }
.pinfo__price s { color: var(--muted); font-size: 17px; }
.pinfo__save { display: inline-flex; align-items: center; height: 28px; padding: 0 12px 0 20px; background: var(--tag); color: var(--ink); font-size: 12px; font-weight: 800; clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 50%); position: relative; }
.pinfo__save::before { content: ''; position: absolute; left: 8px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: rgba(18, 17, 14, .5); }
.pinfo__tax { width: 100%; font-size: 12.5px; color: var(--stone); }
.pinfo__desc { margin: 22px 0 26px; color: #3b3730; font-size: 16px; line-height: 1.7; }
.pinfo__block { margin-bottom: 24px; }
.pinfo__label { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--stone); }
.pinfo__label b { color: var(--ink); letter-spacing: .06em; text-transform: none; font-size: 14px; font-weight: 700; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { width: 44px; height: 44px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px var(--line-2); transition: box-shadow .3s, transform .4s var(--ease-back); position: relative; }
.swatch:hover { transform: scale(1.08); }
.swatch.is-active { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--ink); }
.swatch[data-tip]:hover::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 5px 10px; border-radius: 6px; background: var(--ink); color: var(--paper); font-size: 11px; font-weight: 700; }
.pinfo .sizes { grid-template-columns: repeat(5, 1fr); }
.pinfo .size-btn { height: 56px; }
.size-err { font-size: 13px; color: var(--err); font-weight: 700; margin-top: 10px; min-height: 18px; }
.size-err.shake, .shake { animation: shake .45s var(--ease); }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.buy { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; }
.qty-lg { display: inline-flex; align-items: center; height: 58px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); }
.qty-lg button { width: 46px; height: 100%; display: inline-flex; align-items: center; justify-content: center; }
.qty-lg button m-icon { --is: 16px; }
.qty-lg span { width: 26px; text-align: center; font-weight: 800; }
.buy .btn { min-height: 58px; }
.wish-lg { width: 58px; height: 58px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); display: inline-flex; align-items: center; justify-content: center; transition: box-shadow .3s, transform .4s var(--ease-back), color .3s; }
.wish-lg:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.wish-lg m-icon { --is: 22px; }
.wish-lg[aria-pressed="true"] { color: #c0392b; }
.wish-lg[aria-pressed="true"] svg path { fill: currentColor; }
.wish-lg.pop { animation: heart-pop .6s var(--ease-back); }
.buy-now { margin-top: 10px; }
@media (max-width: 480px) { .buy { gap: 8px; } .buy .btn { padding: 0 14px; letter-spacing: .1em; } .buy .btn m-icon { display: none; } .qty-lg button { width: 36px; } .qty-lg span { width: 20px; } .wish-lg { width: 54px; } }
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 22px 0; }
.perk { padding: 14px 12px; border-radius: 14px; background: var(--paper-2); text-align: center; font-size: 12px; font-weight: 700; line-height: 1.35; }
.perk m-icon { --is: 22px; color: var(--bronze); margin: 0 auto 8px; display: flex; }
.pin-check { padding: 18px; border-radius: 16px; border: 1px solid var(--line); background: #fff; margin-bottom: 20px; }
.pin-check__row { display: flex; gap: 8px; margin-top: 10px; }
.pin-check input { flex: 1; min-width: 0; height: 46px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); outline: none; background: var(--paper); font-size: 14px; letter-spacing: .08em; }
.pin-check input:focus { border-color: var(--ink); }
.pin-check__out { font-size: 13.5px; margin-top: 12px; color: var(--stone); min-height: 20px; }
.pin-check__out b { color: var(--ok); }
.pinfo .acc__q { font-size: 15px; padding: 18px 0; }
.pinfo .acc__a ul { list-style: none; padding: 0 0 22px; display: grid; gap: 8px; }
.pinfo .acc__a li { position: relative; padding-left: 22px; font-size: 15px; color: var(--stone); }
.pinfo .acc__a li::before { content: ''; position: absolute; left: 2px; top: .65em; width: 7px; height: 7px; border: 1.5px solid var(--khaki); transform: rotate(45deg); }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 650; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: rgba(244, 240, 232, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line); display: flex; align-items: center; gap: 14px; transform: translateY(110%); transition: transform .6s var(--ease); }
.sticky-buy.is-on { transform: none; }
.sticky-buy img { width: 44px; height: 54px; border-radius: 8px; object-fit: cover; }
.sticky-buy__t { flex: 1; min-width: 0; }
.sticky-buy__t p { font-size: 13px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy__t small { font-size: 12.5px; color: var(--stone); }
.sticky-buy .btn { min-height: 48px; padding: 0 22px; }
.detail-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.detail-strip figure { position: relative; aspect-ratio: 1; border-radius: 22px; overflow: hidden; }
.detail-strip img { width: 100%; height: 100%; object-fit: cover; transform: scale(2.4); transform-origin: var(--fx) var(--fy); transition: transform 1.4s var(--ease); }
.detail-strip figure:hover img { transform: scale(2.7); }
.detail-strip figcaption { position: absolute; left: 14px; bottom: 14px; padding: 8px 14px; border-radius: 999px; background: rgba(244, 240, 232, .92); font-size: 12px; font-weight: 800; }
@media (max-width: 640px) { .detail-strip { grid-template-columns: 1fr 1fr; } .detail-strip figure:first-child { grid-column: 1 / -1; aspect-ratio: 16/10; } }
.reviews { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.review { padding: 28px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.review .stars { color: #d9a514; letter-spacing: 3px; }
.review p { margin: 14px 0; font-family: var(--serif); font-weight: 500; font-size: 19px; line-height: 1.4; letter-spacing: -.01em; }
.review small { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--stone); }
@media (max-width: 760px) { .reviews { grid-template-columns: 1fr; } }

/* Mobile product layout overrides follow the base product rules. */
@media (max-width: 640px) {
  .pdp { padding-top: calc(var(--header-h) + 14px); }
  .pdp__crumbs { margin-bottom: 16px; font-size: 12px; overflow: hidden; white-space: nowrap; }
  .pdp__grid { gap: 24px; }
  .gallery__main { aspect-ratio: 4 / 4.8; }
  .pinfo h1 { margin: 12px 0; font-size: clamp(2rem, 9vw, 2.6rem); overflow-wrap: anywhere; }
  .pinfo__price { gap: 9px; padding-bottom: 16px; }
  .pinfo__price strong { font-size: 34px; }
  .pinfo__desc { margin: 16px 0 22px; font-size: 15px; }
  .pinfo__block { margin-bottom: 20px; }
  .pinfo .size-btn { height: 48px; }
  .buy { grid-template-columns: 88px minmax(0, 1fr) 48px; gap: 7px; }
  .qty-lg { height: 50px; }
  .qty-lg button { width: 34px; }
  .qty-lg span { width: 20px; text-align: center; }
  .buy .btn { min-width: 0; min-height: 50px; padding: 0 8px; font-size: 12px; letter-spacing: .03em; }
  .buy .btn m-icon { display: none; }
  .wish-lg { width: 48px; height: 50px; }
  .pinfo > [data-reveal] > .link-u { align-items: flex-start !important; line-height: 1.5; }
  .perks { gap: 6px; }
  .perk { padding: 12px 6px; font-size: 11px; }
  .sticky-buy { gap: 10px; }
  .sticky-buy .btn { min-height: 44px; padding: 0 13px; font-size: 12px; }
  .detail-strip { gap: 10px; }
  .review { padding: 20px; }
}

/* ---------- checkout ---------- */
.co { padding-top: calc(var(--header-h) + 36px); padding-bottom: 80px; }
.co__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.co__steps { display: flex; align-items: center; gap: 10px; margin: 18px 0 30px; flex-wrap: wrap; }
.co__step { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.co__step i { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 11px; transition: background .4s, color .4s; }
.co__step.is-done { color: var(--ink); }
.co__step.is-done i { background: var(--ink); color: var(--paper); box-shadow: none; }
.co__step + .co__step::before { content: ''; width: 26px; height: 1px; background: var(--line-2); margin-right: 2px; }
.co-card { padding: clamp(22px, 2.6vw, 34px); border-radius: 24px; background: #fff; border: 1px solid var(--line); margin-bottom: 16px; transition: box-shadow .5s var(--ease); }
.co-card.is-done { box-shadow: 0 0 0 1px rgba(47, 107, 79, .35); }
.co-card__h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; gap: 12px; }
.co-card__h h2 { display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.co-card__h h2 .num-badge { width: 32px; height: 32px; font-size: 15px; }
.co-card.is-done .co-card__h h2 .num-badge { background: var(--ok); color: #fff; box-shadow: none; }
.co-card__h small { font-size: 12px; color: var(--stone); }
.co-sum { position: sticky; top: calc(var(--nav-h) + 20px); padding: clamp(22px, 2.6vw, 34px); border-radius: 24px; background: var(--ink); color: var(--paper); }
.co-sum .line-item { border-color: var(--line-d); }
.co-sum .line-item__meta, .co-sum .line-item__price s { color: rgba(244, 240, 232, .55); }
.co-sum .sum-row { color: rgba(244, 240, 232, .75); }
.co-sum .sum-row.total { color: var(--paper); font-size: 20px; padding-top: 16px; margin-top: 12px; border-top: 1px solid var(--line-d); }
.co-sum .sum-row.total span:last-child { font-family: var(--serif); font-weight: 700; letter-spacing: -.03em; font-size: 34px; }
.promo { display: flex; gap: 8px; margin: 18px 0; }
.promo input { flex: 1; min-width: 0; height: 46px; border-radius: 999px; border: 1px solid var(--line-d2); background: transparent; color: var(--paper); padding: 0 18px; outline: none; text-transform: uppercase; letter-spacing: .1em; font-size: 13px; }
.promo input:focus { border-color: var(--gold); }
.promo button { height: 46px; padding: 0 20px; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.promo-msg { font-size: 12.5px; min-height: 18px; margin-top: -8px; margin-bottom: 8px; }
.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.trust-row div { text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .06em; color: rgba(244, 240, 232, .6); }
.trust-row m-icon { --is: 22px; color: var(--gold); margin: 0 auto 6px; display: flex; }
.co-note { font-size: 12.5px; color: var(--stone); margin-top: 14px; text-align: center; }
.co-note a { text-decoration: underline; text-underline-offset: 3px; }
.co-empty { text-align: center; padding: clamp(60px, 10vw, 120px) 0; }
.co-empty .mark { width: 80px; margin: 0 auto 26px; color: var(--sand); }
@media (max-width: 960px) { .co__grid { grid-template-columns: 1fr; } .co-sum { position: static; order: -1; } }
@media (max-width: 640px) {
  .co { padding-top: calc(var(--header-h) + 18px); padding-bottom: 48px; }
  .co > .container > h1 { font-size: clamp(2rem, 9vw, 2.65rem); }
  .co__steps { justify-content: space-between; gap: 6px; margin: 16px 0 22px; }
  .co__step { gap: 6px; font-size: 10px; letter-spacing: .07em; }
  .co__step + .co__step::before { width: 14px; }
  .co__grid { gap: 18px; }
  .co-card, .co-sum { padding: 18px 16px; border-radius: 18px; }
  .co-card__h { align-items: flex-start; margin-bottom: 16px; gap: 8px; }
  .co-card__h h2 { gap: 8px; font-size: 16px; }
  .co-card__h h2 .num-badge { width: 28px; height: 28px; flex: 0 0 28px; }
  .co-card__h small { max-width: 45%; text-align: right; font-size: 10px; line-height: 1.4; }
  .co-card .form-grid { grid-template-columns: 1fr; gap: 12px; }
  .co-card .form-grid > * { grid-column: 1 / -1; }
  .co__grid { grid-template-columns: minmax(0, 1fr); }
  .co-sum { order: 0; }
  .co-sum .sum-row.total span:last-child { font-size: 28px; }
  .promo { gap: 6px; }
  .promo input { padding: 0 12px; font-size: 12px; }
  .promo button { padding: 0 13px; font-size: 11px; }
  .trust-row { gap: 6px; }
  .trust-row div { font-size: 10px; letter-spacing: 0; }
  #placeBtn { min-height: 56px !important; }
  .success__actions { flex-direction: column; align-items: stretch; }
}
.success { position: fixed; inset: 0; z-index: 960; background: var(--ink); color: var(--paper); display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility 0s .6s; overflow-y: auto; }
.success.is-on { opacity: 1; visibility: visible; transition: opacity .6s var(--ease); }
.success__inner { max-width: 560px; }
.success .mark { width: 110px; margin: 0 auto 30px; color: var(--gold); }
.success.is-on .weave-in .warp, .success.is-on .weave-in .weft { transform: none; }
.success h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -.03em; font-size: clamp(48px, 8vw, 86px); line-height: .95; }
.success p { color: rgba(244, 240, 232, .7); margin-top: 16px; }
.success__id { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 10px 18px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-d2); font-weight: 800; letter-spacing: .1em; }
.success__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 34px; }

/* ---------- story / about ---------- */
.story-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.story-intro__media { position: relative; aspect-ratio: 4/5; border-radius: 400px 400px 28px 28px; overflow: hidden; }
.story-intro__media img { width: 100%; height: 100%; object-fit: cover; }
.story-quote { font-family: var(--serif); font-weight: 700; font-size: clamp(1.9rem, 3.6vw, 3.4rem); line-height: 1.1; letter-spacing: -.035em; }
.meaning { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.meaning__mark { position: relative; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 30px; background: var(--ink-2); border: 1px solid var(--line-d); overflow: hidden; }
.meaning__mark .mark { width: 56%; color: var(--gold); }
.meaning__legend { display: grid; gap: 18px; margin-top: 30px; }
.meaning__legend > div { display: flex; gap: 16px; align-items: flex-start; }
.meaning__legend i { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: rgba(200, 180, 140, .12); display: flex; align-items: center; justify-content: center; }
.meaning__legend i span { display: block; background: var(--gold); }
.meaning__legend b { display: block; color: var(--paper); margin-bottom: 2px; }
.meaning__legend p { color: rgba(244, 240, 232, .62); font-size: 15px; }
.timeline { position: relative; display: grid; gap: 0; }
.timeline::before { content: ''; position: absolute; left: 22px; top: 10px; bottom: 10px; width: 1px; background: var(--line-2); }
.timeline__fill { position: absolute; left: 22px; top: 10px; width: 1px; height: calc(var(--p, 0) * (100% - 20px)); background: var(--khaki); }
.tl { position: relative; display: grid; grid-template-columns: 44px 1fr 1fr; gap: clamp(20px, 3vw, 48px); padding: 34px 0; align-items: start; }
.tl__dot { width: 44px; height: 44px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; transition: background .5s, color .5s, box-shadow .5s; }
.tl.is-in .tl__dot { background: var(--ink); color: var(--gold); box-shadow: none; }
.tl__dot m-icon { --is: 20px; }
.tl h3 { font-family: var(--serif); font-weight: 700; letter-spacing: -.03em; font-size: clamp(28px, 3vw, 42px); line-height: 1; }
.tl p { color: var(--stone); font-size: 16px; }
@media (max-width: 899px) { .story-intro, .meaning { grid-template-columns: 1fr; } .tl { grid-template-columns: 44px 1fr; } .tl p { grid-column: 2; } }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.value { padding: 32px; border-radius: 22px; border: 1px solid var(--line-d); background: var(--ink-2); transition: transform .6s var(--ease), border-color .4s; }
.value:hover { transform: translateY(-6px); border-color: rgba(200, 180, 140, .4); }
.value m-icon { --is: 32px; color: var(--gold); }
.value h3 { font-family: var(--serif); font-weight: 700; letter-spacing: -.03em; font-size: 30px; margin: 40px 0 10px; color: var(--paper); }
.value p { color: rgba(244, 240, 232, .62); font-size: 15px; }
@media (max-width: 899px) { .values { grid-template-columns: 1fr; } }

/* ---------- fabric journal ---------- */
.fabric { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 90px); align-items: center; padding: clamp(56px, 7vw, 100px) 0; border-top: 1px solid var(--line); }
.fabric:nth-child(even) .fabric__media { order: 2; }
.fabric__media { position: relative; }
.fabric__macro { aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 10px var(--paper), 0 0 0 11px var(--line-2); max-width: 520px; margin: 0 auto; }
.fabric__macro img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(2.6 + var(--sp, 0) * .3)); transform-origin: var(--fx) var(--fy); }
.fabric__thumb { position: absolute; right: 2%; bottom: -2%; width: 36%; aspect-ratio: 4/5; border-radius: 18px; overflow: hidden; border: 5px solid var(--paper); box-shadow: var(--shadow); transform: rotate(5deg) translate3d(0, calc(var(--sp, 0) * -40px), 0); }
.fabric__thumb img { width: 100%; height: 100%; object-fit: cover; }
.fabric__n { font-family: var(--serif); font-weight: 700; font-size: 16px; color: var(--ink); display: inline-flex; padding: 5px 12px; border-radius: 8px; background: var(--accent-soft); }
.fabric h2 { margin: 12px 0 18px; }
.fabric__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 26px 0; border-top: 1px solid var(--line); }
.fabric__facts div { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); }
.fabric__facts small { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--stone); margin-bottom: 4px; }
.fabric__facts span { font-size: 15px; font-weight: 600; }
.fabric__shop { display: flex; flex-wrap: wrap; gap: 8px; }
.fabric__shop a { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 6px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 13px; font-weight: 700; transition: background .3s, color .3s; }
.fabric__shop a:hover { background: var(--ink); color: var(--paper); }
.fabric__shop a i { width: 28px; height: 28px; border-radius: 50%; background: var(--c); }
@media (max-width: 899px) { .fabric { grid-template-columns: 1fr; } .fabric:nth-child(even) .fabric__media { order: 0; } .fabric__macro { max-width: 82%; } }
.gloss { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-d); border: 1px solid var(--line-d); border-radius: 24px; overflow: hidden; }
.gloss div { padding: 30px; background: var(--ink); transition: background .4s; }
.gloss div:hover { background: var(--ink-2); }
.gloss b { display: block; font-family: var(--serif); font-weight: 700; letter-spacing: -.03em; font-size: 30px; color: var(--gold); margin-bottom: 8px; }
.gloss p { color: rgba(244, 240, 232, .62); font-size: 15px; }
@media (max-width: 899px) { .gloss { grid-template-columns: 1fr; } }
.check30 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: c; }
.check30 li { padding: 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.check30 li::before { counter-increment: c; content: counter(c, decimal-leading-zero); display: block; font-family: var(--serif); font-weight: 700; font-size: 34px; color: var(--accent); margin-bottom: 30px; letter-spacing: -.04em; }
.check30 b { display: block; margin-bottom: 6px; }
.check30 p { font-size: 14px; color: var(--stone); }
@media (max-width: 1100px) { .check30 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .check30 { grid-template-columns: 1fr; } }
.care { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.care__i { padding: 28px; border-radius: 22px; background: var(--paper-2); display: flex; gap: 18px; align-items: flex-start; transition: transform .5s var(--ease), background .4s; }
.care__i:hover { transform: translateY(-4px); background: var(--bone); }
.care__ic { flex-shrink: 0; width: 56px; height: 56px; border-radius: 16px; background: var(--ink); color: var(--gold); display: flex; align-items: center; justify-content: center; }
.care__ic m-icon { --is: 28px; }
.care__i b { display: block; font-size: 16px; margin-bottom: 4px; }
.care__i p { font-size: 14.5px; color: var(--stone); }
@media (max-width: 899px) { .care { grid-template-columns: 1fr; } }

/* ---------- lookbook ---------- */
.chapter { position: relative; padding: clamp(80px, 10vw, 150px) 0; overflow: hidden; }
.chapter__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 90px); align-items: center; }
.chapter:nth-child(even) .chapter__media { order: 2; }
.chapter__media { position: relative; height: min(84vh, 760px); }
.chapter__big { position: absolute; inset: 0 18% 0 0; border-radius: 28px; overflow: hidden; }
.chapter:nth-child(even) .chapter__big { inset: 0 0 0 18%; }
.chapter__plx { position: absolute; left: 0; right: 0; top: -8%; height: 116%; transform: translate3d(0, calc(var(--sp, 0) * 60px), 0); }
.chapter__big img { width: 100%; height: 100%; object-fit: cover; }
.chapter__small { position: absolute; right: 0; bottom: 8%; width: 40%; aspect-ratio: 4/5; border-radius: 20px; overflow: hidden; border: 6px solid var(--paper); box-shadow: var(--shadow); transform: translate3d(0, calc(var(--sp, 0) * -90px), 0) rotate(4deg); }
.chapter:nth-child(even) .chapter__small { right: auto; left: 0; transform: translate3d(0, calc(var(--sp, 0) * -90px), 0) rotate(-4deg); }
.chapter.dark .chapter__small { border-color: var(--ink); }
.chapter__small img { width: 100%; height: 100%; object-fit: cover; }
.chapter__time { font-family: var(--serif); font-weight: 700; font-size: 20px; color: var(--bronze); }
.dark .chapter__time { color: var(--gold); }
.chapter h2 { margin: 16px 0 22px; }
.chapter__notes { display: grid; gap: 14px; margin: 28px 0; }
.chapter__notes li { display: flex; gap: 14px; align-items: flex-start; font-size: 15.5px; }
.chapter__notes m-icon { --is: 20px; color: var(--bronze); margin-top: 2px; }
.dark .chapter__notes m-icon { color: var(--gold); }
.look-items { display: grid; gap: 10px; }
.look-item { display: grid; grid-template-columns: 60px 1fr auto; gap: 14px; align-items: center; padding: 10px; border-radius: 16px; background: rgba(255, 255, 255, .6); border: 1px solid var(--line); transition: transform .5s var(--ease), background .3s; }
.dark .look-item { background: var(--ink-2); border-color: var(--line-d); }
.look-item:hover { transform: translateX(6px); background: #fff; }
.dark .look-item:hover { background: var(--ink-3); }
.look-item img { width: 60px; height: 72px; border-radius: 10px; object-fit: cover; }
.look-item b { display: block; font-size: 14.5px; }
.look-item small { font-size: 13px; color: var(--stone); }
.dark .look-item small { color: rgba(244, 240, 232, .55); }
.chapter__word { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) translate3d(calc(var(--sp, 0) * 20vw), 0, 0); font-family: var(--serif); font-weight: 700; font-size: 26vw; line-height: 1; white-space: nowrap; color: rgba(147, 130, 104, .07); pointer-events: none; }
.dark .chapter__word { color: rgba(200, 180, 140, .05); }
@media (max-width: 899px) { .chapter__grid { grid-template-columns: 1fr; } .chapter:nth-child(even) .chapter__media { order: 0; } .chapter__media { height: 120vw; max-height: 620px; } }

/* ---------- bulk orders ---------- */
.uses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.use { position: relative; aspect-ratio: 3/4; border-radius: 22px; overflow: hidden; color: var(--paper); display: flex; align-items: flex-end; padding: 22px; isolation: isolate; }
.use img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.use:hover img { transform: scale(1.08); }
.use::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(18, 17, 14, .85)); }
.use m-icon { --is: 28px; color: var(--gold); position: absolute; top: 20px; left: 20px; }
.use b { font-family: var(--serif); font-weight: 700; letter-spacing: -.03em; font-size: 28px; line-height: 1.05; display: block; }
.use p { font-size: 13.5px; color: rgba(244, 240, 232, .75); margin-top: 6px; }
@media (max-width: 899px) { .uses { grid-template-columns: 1fr 1fr; } }
.bulk-form { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.bulk-form__side { position: sticky; top: calc(var(--nav-h) + 30px); }
.style-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.style-pick label { position: relative; cursor: pointer; border-radius: 14px; overflow: hidden; aspect-ratio: 4/5; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .3s, transform .4s var(--ease); }
.style-pick input { position: absolute; opacity: 0; }
.style-pick img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.style-pick span { position: absolute; left: 6px; right: 6px; bottom: 6px; padding: 6px 8px; border-radius: 8px; background: rgba(244, 240, 232, .92); font-size: 11px; font-weight: 800; line-height: 1.2; }
.style-pick label::after { content: ''; position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; border-radius: 50%; background: rgba(244, 240, 232, .92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4f0e8' stroke-width='2.5'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; transition: background-color .3s, transform .4s var(--ease-back); transform: scale(.8); }
.style-pick label:has(input:checked) { box-shadow: 0 0 0 3px var(--ink); }
.style-pick label:has(input:checked)::after { background-color: var(--ink); transform: scale(1); }
.style-pick label:has(input:checked) img { transform: scale(1.06); }
.size-qty { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.size-qty label { display: grid; gap: 6px; text-align: center; font-size: 12px; font-weight: 800; }
.size-qty input { height: 48px; border-radius: 12px; border: 1px solid var(--line-2); text-align: center; font-size: 16px; font-weight: 700; background: rgba(255, 255, 255, .55); outline: none; }
.size-qty input:focus { border-color: var(--ink); background: #fff; }
.total-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--paper-2); font-size: 13px; font-weight: 700; margin-top: 12px; }
@media (max-width: 899px) { .bulk-form { grid-template-columns: minmax(0, 1fr); } .bulk-form__side { position: static; } }
.bulk-form > * { min-width: 0; }
.size-qty label { min-width: 0; }
.size-qty input { width: 100%; min-width: 0; }   /* number inputs keep a wide default size otherwise, pushing the planner off-screen on phones */

/* ---------- size guide ---------- */
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.shirt-svg { width: 100%; max-width: 520px; margin: 0 auto; }
.shirt-svg .body { fill: var(--paper-2); stroke: var(--ink); stroke-width: 1.5; }
.shirt-svg .detail { fill: none; stroke: var(--ink); stroke-width: 1.2; opacity: .5; }
.shirt-svg .m { stroke: var(--line-2); stroke-width: 2; stroke-dasharray: 6 6; fill: none; transition: stroke .4s, stroke-width .4s; }
.shirt-svg .m-cap { fill: var(--line-2); transition: fill .4s; }
.shirt-svg .m-lbl { font-family: var(--sans); font-size: 13px; font-weight: 800; fill: var(--stone); letter-spacing: .08em; transition: fill .4s; }
.shirt-svg g.is-on .m { stroke: var(--bronze); stroke-width: 3; stroke-dasharray: none; animation: none; }
.shirt-svg g.is-on .m-cap { fill: var(--bronze); }
.shirt-svg g.is-on .m-lbl { fill: var(--ink); }
.how { display: grid; gap: 8px; }
.how button { display: flex; gap: 16px; align-items: flex-start; text-align: left; padding: 18px; border-radius: 16px; border: 1px solid var(--line); background: #fff; transition: border-color .3s, box-shadow .3s, transform .4s var(--ease); width: 100%; }
.how button:hover, .how button.is-on { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(147, 130, 104, .15); }
.how b { display: block; font-size: 15.5px; margin-bottom: 2px; }
.how p { font-size: 14px; color: var(--stone); }
.finder { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding: clamp(26px, 3.4vw, 48px); border-radius: 28px; background: var(--ink); color: var(--paper); }
.finder__in { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.finder input[type=range] { width: min(360px, 100%); accent-color: var(--gold); }
.finder__val { font-family: var(--serif); font-weight: 700; font-size: 40px; line-height: 1; letter-spacing: -.03em; }
.finder__res { text-align: center; min-width: 190px; }
.finder__res strong { display: block; font-family: var(--serif); font-weight: 700; letter-spacing: -.03em; font-size: clamp(80px, 10vw, 140px); line-height: .9; color: var(--gold); transition: transform .5s var(--ease-back); }
.finder__res.bump strong { animation: bump .5s var(--ease-back); }
.finder__res small { font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: rgba(244, 240, 232, .6); }
@media (max-width: 899px) { .fit-grid, .finder { grid-template-columns: 1fr; } }

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

/* ---------- help centre ---------- */
.help-search { position: relative; max-width: 640px; margin-top: 36px; }
.help-search input { width: 100%; height: 62px; border-radius: 14px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); padding: 0 24px 0 56px; font-size: 16.5px; outline: none; transition: border-color .3s, box-shadow .3s; box-shadow: 0 16px 40px -28px rgba(17,17,17,.35); }
.help-search input:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(239, 178, 26, .3); }
.help-search input::placeholder { color: var(--muted); }
.help-search m-icon { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); --is: 22px; color: var(--ink); }
.help-layout { display: grid; grid-template-columns: 260px 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.help-cats { position: sticky; top: calc(var(--nav-h) + 30px); display: grid; gap: 4px; }
.help-cats button { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-radius: 12px; text-align: left; font-weight: 700; font-size: 14.5px; transition: background .3s, color .3s; }
.help-cats button span { font-size: 12px; color: var(--stone); }
.help-cats button:hover { background: var(--paper-2); }
.help-cats button.is-active { background: var(--ink); color: var(--paper); }
.help-cats button.is-active span { color: var(--gold); }
.help-group { margin-bottom: 44px; }
.help-group h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -.03em; font-size: 34px; margin-bottom: 8px; }
.help-none { padding: 40px; border-radius: 22px; background: var(--paper-2); text-align: center; }
@media (max-width: 899px) { .help-layout { grid-template-columns: 1fr; } .help-cats { position: static; display: flex; overflow-x: auto; scrollbar-width: none; } .help-cats button { white-space: nowrap; } }
.channels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.channel { position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: 22px; background: #fff; border: 1px solid var(--line); min-height: 240px; overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s var(--ease), background .4s, color .4s; isolation: isolate; }
.channel::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: translateY(101%); transition: transform .7s var(--ease); }
.channel:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: var(--paper); }
.channel:hover::before { transform: none; }
.channel m-icon { --is: 32px; color: var(--bronze); transition: color .4s; }
.channel:hover m-icon { color: var(--gold); }
.channel b { margin-top: auto; font-family: var(--serif); font-weight: 700; letter-spacing: -.03em; font-size: 30px; line-height: 1.05; }
.channel span { font-size: 14px; color: var(--stone); margin-top: 6px; transition: color .4s; word-break: break-word; }
.channel:hover span { color: rgba(244, 240, 232, .7); }
.channel .arr { position: absolute; top: 24px; right: 24px; --is: 20px; }
.channel--wa::before { background: #0b3d23; }
@media (max-width: 1000px) { .channels { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .channels { grid-template-columns: 1fr; } }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.map { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 4/3.2; background: var(--ink-2); border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.85) sepia(.25) contrast(1.05); }
.map__pin { position: absolute; left: 20px; bottom: 20px; right: 20px; padding: 16px 18px; border-radius: 16px; background: rgba(18, 17, 14, .88); color: var(--paper); display: flex; gap: 14px; align-items: center; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.map__pin m-icon { --is: 26px; color: var(--gold); }
.hours { display: grid; gap: 0; }
.hours div { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.hours span:last-child { font-weight: 700; }
.legal-card { padding: clamp(22px, 2.6vw, 34px); border-radius: 22px; border: 1px dashed var(--line-2); background: var(--paper-2); }
.legal-card dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 16px 0 0; font-size: 14.5px; }
.legal-card dt { color: var(--stone); }
.legal-card dd { margin: 0; font-weight: 700; }
@media (max-width: 899px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- track order ---------- */
.track-card { max-width: 760px; margin: 0 auto; padding: clamp(26px, 3.6vw, 48px); border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; z-index: 2; margin-top: -60px; }
.track-tabs { display: flex; gap: 6px; padding: 4px; border-radius: 999px; background: var(--paper-2); margin-bottom: 26px; }
.track-tabs button { flex: 1; height: 44px; border-radius: 999px; font-size: 13px; font-weight: 800; letter-spacing: .06em; transition: background .3s, color .3s; }
.track-tabs button.is-active { background: var(--ink); color: var(--paper); }
.track-res { margin-top: 28px; }
.tracker { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; margin: 30px 0; }
.tracker::before { content: ''; position: absolute; left: 12.5%; right: 12.5%; top: 21px; height: 2px; background: var(--line); }
.tracker__fill { position: absolute; left: 12.5%; top: 21px; height: 2px; background: var(--ok); width: calc(75% * var(--w, 0)); transition: width 1.4s var(--ease); }
.tracker div { text-align: center; position: relative; }
.tracker i { width: 44px; height: 44px; margin: 0 auto 10px; border-radius: 50%; background: var(--paper-2); display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; transition: background .5s, color .5s; }
.tracker i m-icon { --is: 20px; }
.tracker .is-done i { background: var(--ok); color: #fff; }
.tracker .is-now i { background: var(--ink); color: var(--gold); box-shadow: 0 0 0 6px rgba(147, 130, 104, .2); }
.tracker b { display: block; font-size: 13px; }
.tracker small { font-size: 12px; color: var(--stone); }
@media (max-width: 560px) { .tracker { grid-template-columns: 1fr 1fr; row-gap: 20px; } .tracker::before, .tracker__fill { display: none; } }

/* ---------- account ---------- */
.acct-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 36px; }
.order-card { padding: 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line); margin-bottom: 14px; }
.order-card__h { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.order-card__h b { font-size: 16px; letter-spacing: .04em; }
.order-card__h small { color: var(--stone); font-size: 13px; }
.order-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.order-thumbs img { width: 56px; height: 68px; border-radius: 10px; object-fit: cover; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: rgba(47, 107, 79, .1); color: var(--ok); font-size: 12px; font-weight: 800; }
.acct-panel { display: none; }
.acct-panel.is-on { display: block; animation: fade-up .6s var(--ease); }

/* ---------- 404 ---------- */
.nf { min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 80px; position: relative; overflow: hidden; }
.nf__num { font-family: var(--serif); font-size: clamp(160px, 30vw, 420px); line-height: .8; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px var(--ink); display: flex; align-items: center; gap: .05em; }
.nf__num .mark { width: .62em; color: var(--accent); animation: unravel 5s var(--ease-io) infinite; }
@keyframes unravel { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(90deg) scale(.9); } }
.nf__thread { position: absolute; left: 0; right: 0; bottom: 12%; height: 120px; pointer-events: none; }
.nf__thread path { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 3s var(--ease-io) .4s forwards; opacity: .6; }

/* ==========================================================================
   Reviews — summary · how it fits · customer photos · list · write-a-review
   ========================================================================== */
.rv { display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.rv__sum { position: sticky; top: calc(var(--header-h) + 24px); padding: 28px; border-radius: 22px; background: #fff; border: 1px solid var(--line); display: grid; gap: 22px; }
.rv__score { display: flex; align-items: center; gap: 18px; }
.rv__big { font-family: var(--serif); font-weight: 300; font-size: 76px; line-height: .9; letter-spacing: -.05em; color: var(--ink); }
.rv__score p { margin: 6px 0 0; font-size: 13.5px; color: var(--stone); }
.rv-stars { position: relative; display: inline-block; font-size: 15px; line-height: 1; letter-spacing: 3px; color: #ddd6c4; white-space: nowrap; }
.rv-stars::before { content: "\2605\2605\2605\2605\2605"; }
.rv-stars span { position: absolute; inset: 0 auto 0 0; overflow: hidden; color: #d9a514; }
.rv-stars span::before { content: "\2605\2605\2605\2605\2605"; }
.rv-stars--lg { font-size: 22px; letter-spacing: 4px; }
.rv__dist { display: grid; gap: 4px; }
.rv__row { display: grid; grid-template-columns: 38px 1fr 30px; align-items: center; gap: 10px; padding: 5px 6px; margin: 0 -6px; border: 0; border-radius: 8px; background: none; font-size: 13px; font-weight: 600; color: var(--ink); text-align: left; cursor: pointer; }
.rv__row span:last-child { text-align: right; color: var(--stone); font-weight: 500; font-variant-numeric: tabular-nums; }
.rv__row i { height: 8px; border-radius: 99px; background: var(--bone); overflow: hidden; }
.rv__row i b { display: block; height: 100%; border-radius: inherit; background: #d9a514; }
.rv__row:hover:not(:disabled), .rv__row.is-on { background: var(--paper-2); }
.rv__row.is-on { box-shadow: inset 0 0 0 1px var(--ink); }
.rv__row:disabled { opacity: .45; cursor: default; }
.rv__fit p { display: flex; justify-content: space-between; gap: 10px; margin: 0 0 10px; font-size: 13.5px; }
.rv__fit p span { color: var(--stone); }
.rv__fit-track { position: relative; height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--bone), var(--sand) 50%, var(--bone)); }
.rv__fit-track::before { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1px; background: var(--line-2); }
.rv__fit-track i { position: absolute; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 3px #fff; }
.rv__fit-l { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11.5px; color: var(--stone); }
.rv__cta { width: 100%; justify-content: center; }
.rv__empty { display: grid; gap: 12px; justify-items: start; }
.rv__empty p { margin: 0; font-size: 14px; color: var(--stone); }
.rv__label { margin: 0 0 12px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--stone); }
.rv__label span { margin-left: 6px; color: var(--ink); }
.rv__photos { margin-bottom: 26px; }
.rv__strip { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.rv__ph { flex: 0 0 auto; width: 96px; height: 120px; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: var(--bone); cursor: zoom-in; }
.rv__ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.rv__ph:hover img { transform: scale(1.06); }
.rv__ph--sm { width: 76px; height: 92px; border-radius: 10px; }
.rv__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.rv__chips { display: flex; gap: 8px; flex-wrap: wrap; }
.rv__chip { height: 34px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line-2); background: #fff; font-size: 13px; font-weight: 600; color: var(--ink); cursor: pointer; }
.rv__chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.rv__sort select { height: 38px; padding: 0 34px 0 14px; border-radius: 99px; border: 1px solid var(--line-2); background: #fff; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.rv__list { display: grid; gap: 14px; }
.rv__card { padding: 24px 26px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.rv__card header { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.rv__card header b { font-size: 14px; }
.rv__card time { margin-left: auto; font-size: 12.5px; color: var(--muted); }
.rv__text { margin: 12px 0 0; font-size: 16px; line-height: 1.65; color: #222; white-space: pre-line; }
.rv__card--quote .rv__text { font-family: var(--serif); font-size: 18px; font-weight: 500; line-height: 1.45; }
.rv__thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.rv__card footer { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 16px; font-size: 12.5px; color: var(--stone); }
.rv__card footer i { font-style: normal; color: var(--sand); }
.rv__who { font-weight: 700; color: var(--ink); }
.rv__verified { display: inline-flex; align-items: center; gap: 5px; color: var(--ok); font-weight: 600; }
.rv__verified m-icon { --is: 14px; }
.rv__none { margin: 0; padding: 22px; border-radius: 16px; background: #fff; color: var(--stone); text-align: center; }
#rvMore { margin-top: 18px; }
@media (max-width: 900px) {
  .rv { grid-template-columns: 1fr; }
  .rv__sum { position: static; padding: 22px; }
  .rv__card { padding: 20px; }
}

/* dialogs */
html.rv-lock { overflow: hidden; }
.rv-dlg { width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 24px; background: #fff; color: var(--ink); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .5); overflow: auto; }
.rv-dlg::backdrop { background: rgba(14, 13, 11, .62); backdrop-filter: blur(4px); }
.rv-dlg[open] { animation: rv-in .35s var(--ease); }
@keyframes rv-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.rv-dlg__x { position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--paper-2); font-size: 24px; line-height: 1; color: var(--ink); cursor: pointer; }
.rv-gate { display: grid; justify-items: center; gap: 12px; padding: 48px 32px 40px; text-align: center; }
.rv-gate .mark { width: 54px; color: var(--ink); }
.rv-gate h3 { margin: 4px 0 0; font-family: var(--serif); font-size: 26px; letter-spacing: -.02em; }
.rv-gate p { margin: 0 0 8px; max-width: 38ch; color: var(--stone); }
.rv-gate__tick { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #e3f5ec; color: var(--ok); }
.rv-gate__tick m-icon { --is: 30px; }
.rv-form { display: grid; gap: 20px; padding: 28px; }
.rv-form__head { display: flex; gap: 14px; align-items: center; padding-right: 40px; }
.rv-form__head img { width: 56px; height: 70px; object-fit: cover; border-radius: 10px; }
.rv-form__head .eyebrow { margin: 0; }
.rv-form__head h3 { margin: 2px 0 0; font-family: var(--serif); font-size: 22px; letter-spacing: -.02em; }
.rv-form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.rv-form legend, .rv-form__text > span, .rv-form__photos > span { display: block; margin-bottom: 10px; font-size: 13.5px; font-weight: 700; }
.rv-form small { font-weight: 500; color: var(--stone); }
.rv-form .req { color: var(--err); }
.rv-form__stars { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
.rv-form__stars legend { flex-basis: 100%; }
.rv-rate { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.rv-rate input { position: absolute; opacity: 0; pointer-events: none; }
.rv-rate label { font-size: 38px; line-height: 1; color: #ddd6c4; cursor: pointer; transition: color .15s, transform .2s var(--ease-back); }
.rv-rate label:hover, .rv-rate label:hover ~ label, .rv-rate input:checked ~ label { color: #d9a514; }
.rv-rate label:hover { transform: scale(1.15); }
.rv-rate input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 6px; }
.rv-form__stars output { font-size: 14px; font-weight: 600; color: var(--stone); }
.rv-seg { display: flex; flex-wrap: wrap; gap: 8px; }
.rv-seg label { position: relative; }
.rv-seg input { position: absolute; opacity: 0; }
.rv-seg span { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; cursor: pointer; transition: background .2s, border-color .2s; }
.rv-seg input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.rv-seg input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.rv-seg--fit label { flex: 1 1 0; }
.rv-seg--fit span { width: 100%; padding: 0 8px; font-size: 13px; }
.rv-form__text textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; font: inherit; font-size: 15px; resize: vertical; min-height: 110px; }
.rv-form__text textarea:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 3px var(--accent-soft); }
.rv-form__text small { display: block; margin-top: 6px; text-align: right; }
.rv-up { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.rv-up__i { position: relative; width: 84px; height: 100px; margin: 0; border-radius: 12px; overflow: hidden; background: var(--bone); }
.rv-up__i img { width: 100%; height: 100%; object-fit: cover; }
.rv-up__i.is-busy img { opacity: .45; }
.rv-up__i .spinner { position: absolute; left: 50%; top: 50%; margin: -10px 0 0 -10px; }
.rv-up__i button { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .65); color: #fff; font-size: 16px; line-height: 1; cursor: pointer; }
.rv-up__add { width: 84px; height: 100px; border-radius: 12px; border: 1.5px dashed var(--line-2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 12px; font-weight: 600; color: var(--stone); cursor: pointer; }
.rv-up__add:hover { border-color: var(--ink); color: var(--ink); }
.rv-form__err { margin: 0; min-height: 1.2em; color: var(--err); font-size: 14px; font-weight: 600; }
.rv-form__go { width: 100%; justify-content: center; }
.rv-dlg--lb { width: min(900px, calc(100vw - 24px)); background: #0d0d0d; }
.rv-dlg--lb img { display: block; width: 100%; max-height: calc(100dvh - 80px); object-fit: contain; }
.rv-lb__nav { position: absolute; top: 50%; width: 46px; height: 46px; margin-top: -23px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); font-size: 28px; line-height: 1; cursor: pointer; }
.rv-lb__prev { left: 12px; }
.rv-lb__next { right: 12px; }
.rv-lb__n { position: absolute; left: 0; right: 0; bottom: 10px; margin: 0; text-align: center; color: #fff; font-size: 13px; }
@media (max-width: 520px) { .rv-form { padding: 22px 18px; } .rv-rate label { font-size: 34px; } }

.rv [hidden], .rv-dlg [hidden] { display: none !important; }   /* [hidden] must win over display rules above */

/* ==========================================================================
   Weddings & Groups — trust row, colour stories
   ========================================================================== */
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; list-style: none; font-size: 14px; font-weight: 500; color: var(--stone); }
.trust-row li { display: inline-flex; align-items: center; gap: 8px; }
.trust-row m-icon { --is: 18px; color: var(--ink); }
.palettes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.palette { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 26px; border-radius: 22px; background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.palette:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.palette__pics { display: flex; margin-bottom: 6px; }
.palette__pics img { width: 84px; height: 104px; object-fit: cover; object-position: 50% 20%; border-radius: 999px 999px 14px 14px; border: 3px solid #fff; box-shadow: 0 14px 28px -16px rgba(0, 0, 0, .5); }
.palette__pics img + img { margin-left: -22px; }
.palette__dots { display: flex; gap: 6px; }
.palette__dots i { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.palette h3 { margin: 4px 0 0; font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.palette p { margin: 0; color: var(--stone); font-size: 15px; line-height: 1.55; }
.palette .palette__list { font-size: 13px; font-weight: 600; color: var(--ink); }
.palette .btn { margin-top: auto; }
.pal-tip { display: flex; gap: 14px; align-items: flex-start; margin-top: 22px; padding: 18px 22px; border-radius: 16px; background: var(--accent-soft); color: #4b3500; }
.pal-tip m-icon { --is: 22px; flex: 0 0 auto; color: var(--bronze); margin-top: 1px; }
.pal-tip p { margin: 0; font-size: 15px; line-height: 1.55; }
@media (max-width: 900px) { .palettes { grid-template-columns: 1fr; } .palette { padding: 22px; } }

/* ==========================================================================
   Our Story — hero detail chip, close-up strip, the edit today
   ========================================================================== */
.page-hero__media .media-chip { position: absolute; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; border-radius: 999px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .6); font-size: 12.5px; font-weight: 600; color: var(--ink); }
.media-chip__z { width: 46px; height: 46px; border-radius: 50%; flex: 0 0 auto; background-size: 520% auto; background-position: 61% 66%; background-repeat: no-repeat; }
.media-chip small { display: block; font-weight: 500; color: var(--stone); }
.closeups { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: clamp(12px, 1.6vw, 20px); align-items: end; }
.closeup { margin: 0; }
.closeup__img { position: relative; overflow: hidden; border-radius: 18px; aspect-ratio: 4 / 5; background: var(--bone); }
.closeup:first-child .closeup__img { aspect-ratio: 4 / 4.6; }
.closeup__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--z, 1.6)); transform-origin: var(--fx, 50%) var(--fy, 50%); transition: transform 1.2s var(--ease); }
.closeup:hover .closeup__img img { transform: scale(calc(var(--z, 1.6) * 1.08)); }
.closeup figcaption { display: flex; gap: 12px; align-items: baseline; margin-top: 14px; }
.closeup figcaption b { font-family: var(--serif); font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.closeup figcaption span { font-size: 14px; color: var(--stone); }
.closeup figcaption i { font-style: normal; font-size: 12px; font-weight: 700; color: var(--bronze); letter-spacing: .1em; }
.edit-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.edit-tile { position: relative; display: block; overflow: hidden; border-radius: 20px; aspect-ratio: 4 / 5; color: #fff; text-decoration: none; background: var(--ink); }
.edit-tile img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transition: transform 1.2s var(--ease); }
.edit-tile:hover img { transform: scale(1.05); }
.edit-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .66)); }
.edit-tile span { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; }
.edit-tile b { display: block; font-family: var(--serif); font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.edit-tile small { font-size: 13px; opacity: .85; }
@media (max-width: 760px) {
  .closeups { grid-template-columns: 1fr 1fr; }
  .closeup:first-child { grid-column: 1 / -1; }
  .closeup:first-child .closeup__img { aspect-ratio: 16 / 11; }
  .edit-tiles { grid-template-columns: 1fr 1fr; }
  .edit-tile b { font-size: 19px; }
  .edit-tile span { left: 14px; right: 14px; bottom: 14px; }
}

/* ==========================================================================
   Virtual try-on (camera) — assets/js/tryon.js
   ========================================================================== */
.gallery__try { position: absolute; top: 16px; right: 16px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 13px; border-radius: 999px; background: rgba(18, 17, 14, .8); color: var(--paper); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: transform .4s var(--ease-back), background .3s; }
.gallery__try:hover { transform: translateY(-2px); background: var(--ink); }
.gallery__try m-icon { --is: 18px; color: var(--accent); }
.gallery__try[aria-busy="true"] { opacity: .7; pointer-events: none; }
.try-cta { display: inline-flex; margin-left: 18px; }


.tryon {
  --t-glass: rgba(18, 17, 15, .52); --t-line: rgba(255, 255, 255, .14); --t-soft: rgba(255, 255, 255, .64);
  position: fixed; inset: 0; z-index: 9400; height: 100vh; height: 100dvh; overflow: hidden;
  background: #0b0b0a; color: var(--paper); opacity: 0; transition: opacity .4s var(--ease);
  -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none;
}
.tryon.is-on { opacity: 1; }
.tryon m-icon { --is: 20px; }

/* camera / photo */
.tryon__stage { position: absolute; inset: 0; overflow: hidden; }
/* the whole camera frame is always shown (never cropped: cropping looks like zoom); on tall phones it sits between the title and the controls */
.tryon__canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center 32%; display: block; }
.tryon.is-photo .tryon__canvas { object-position: center 40%; }
.tryon.is-mirror .tryon__canvas { transform: scaleX(-1); }
.tryon__stage::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, .42) 0%, rgba(0, 0, 0, 0) 18%, rgba(0, 0, 0, 0) 58%, rgba(0, 0, 0, .7) 100%); opacity: 0; transition: opacity .4s; }
.tryon.is-live .tryon__stage::after, .tryon.is-photo .tryon__stage::after { opacity: 1; }
.tryon.is-flash .tryon__stage::before { content: ''; position: absolute; inset: 0; z-index: 2; background: #fff; animation: tryon-flash .5s ease-out forwards; pointer-events: none; }
@keyframes tryon-flash { from { opacity: .9; } to { opacity: 0; } }
.tryon__ghost { position: absolute; left: 50%; top: 50%; width: min(64vw, 46vh); transform: translate(-50%, -46%); fill: none; stroke: rgba(255, 255, 255, .7); stroke-width: 2.2; stroke-dasharray: 7 7; stroke-linecap: round; animation: tryon-breathe 2.4s var(--ease-io) infinite; pointer-events: none; }
.tryon__ghost[hidden] { display: none; }
@keyframes tryon-breathe { 50% { opacity: .45; transform: translate(-50%, -46%) scale(.975); } }

/* top: product chip + close */
.tryon__top { position: absolute; z-index: 4; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: max(14px, env(safe-area-inset-top)) 16px 0; pointer-events: none; }
.tryon__top > * { pointer-events: auto; }
.tryon__chip { display: grid; grid-template-columns: auto auto; column-gap: 10px; align-items: baseline; justify-content: start; padding: 9px 16px 10px; min-width: 0; border-radius: 18px; background: var(--t-glass); border: 1px solid var(--t-line); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); }
.tryon__chip small { grid-column: 1 / -1; font-size: 9.5px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.tryon__chip strong { font-family: var(--serif); font-size: 16px; font-weight: 600; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tryon__chip span { font-size: 13px; font-weight: 600; color: var(--t-soft); }
.tryon__close { flex: none; width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--paper); background: var(--t-glass); border: 1px solid var(--t-line); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); transition: transform .45s var(--ease-back), background .3s; }
.tryon__close:hover { transform: rotate(90deg); background: rgba(255, 255, 255, .16); }

/* start screen */
.tryon__start { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: calc(max(14px, env(safe-area-inset-top)) + 70px) 24px max(28px, env(safe-area-inset-bottom)); overflow-y: auto; background: radial-gradient(90% 55% at 50% 30%, #2b2416 0%, #12110f 58%, #0b0b0a 100%); }
.tryon__start[hidden] { display: none; }
.tryon__hero { position: relative; flex: none; width: min(52vw, 220px); aspect-ratio: 5 / 6; margin-bottom: 10px; display: grid; place-items: center; }
.tryon__glow { position: absolute; inset: 8% 4% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(239, 178, 26, .55), rgba(239, 178, 26, 0)); filter: blur(10px); }
.tryon__hero::after { content: ''; position: absolute; left: 18%; right: 18%; bottom: -2%; height: 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .55), transparent); }
.tryon__hero-img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: translateY(14px) scale(.96); transition: opacity .7s var(--ease), transform .9s var(--ease); filter: drop-shadow(0 22px 26px rgba(0, 0, 0, .45)); }
.tryon__hero-img.is-in { opacity: 1; transform: none; animation: tryon-float 5s ease-in-out 1s infinite; }
.tryon__hero-img.is-photo { object-fit: cover; border-radius: 22px; }
@keyframes tryon-float { 50% { transform: translateY(-8px); } }
.tryon__kicker { margin: 0; font-size: 10.5px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); }
.tryon__start h2 { margin: 6px 0 8px; font-family: var(--serif); font-size: clamp(36px, 10vw, 52px); font-weight: 600; line-height: 1; letter-spacing: -.02em; }
.tryon__start h2 em { font-style: normal; background: linear-gradient(100deg, var(--accent) 10%, #fff2c4 50%, var(--accent) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tryon__lead { margin: 0; max-width: 24em; font-size: 15px; line-height: 1.55; color: var(--t-soft); }
.tryon__tips { list-style: none; margin: 20px 0 0; padding: 0; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.tryon__tips li { display: flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--t-line); font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, .82); }
.tryon__tips b { font-family: var(--serif); font-size: 11px; color: var(--accent); }
.tryon__ctas { display: grid; gap: 10px; width: 100%; max-width: 340px; margin-top: 24px; }
.tryon__cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 24px; border-radius: 999px; background: var(--accent); color: var(--ink); font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; box-shadow: 0 14px 34px -14px rgba(239, 178, 26, .8); transition: transform .3s var(--ease-back), box-shadow .3s; }
.tryon__cta:hover { transform: translateY(-2px); }
.tryon__cta:active { transform: scale(.97); }
.tryon__cta--ghost { background: rgba(255, 255, 255, .08); color: var(--paper); border: 1px solid var(--t-line); box-shadow: none; }
.tryon__private { display: flex; align-items: center; justify-content: center; gap: 8px; max-width: 30em; margin: 18px 0 0; font-size: 12px; line-height: 1.45; color: rgba(255, 255, 255, .5); }
.tryon__private m-icon { --is: 14px; flex: none; }

/* loading + guidance */
.tryon__status { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px; text-align: center; background: rgba(11, 11, 10, .74); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.tryon__status[hidden] { display: none; }
.tryon__status p { margin: 0; font-size: 15px; color: rgba(255, 255, 255, .86); }
.tryon__spin { width: 42px; height: 42px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .14); border-top-color: var(--accent); animation: tryon-spin .8s linear infinite; }
@keyframes tryon-spin { to { transform: rotate(360deg); } }
.tryon__guide { position: absolute; z-index: 4; left: 50%; top: calc(max(14px, env(safe-area-inset-top)) + 70px); transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); margin: 0; padding: 10px 16px; border-radius: 999px; background: var(--t-glass); border: 1px solid var(--t-line); font-size: 13px; font-weight: 600; text-align: center; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); animation: tryon-pop .35s var(--ease-back); }
.tryon__guide[hidden] { display: none; }
.tryon__debug { position: absolute; z-index: 4; left: 8px; right: 8px; bottom: calc(max(14px, env(safe-area-inset-bottom)) + 250px); margin: 0; padding: 6px 8px; border-radius: 8px; background: rgba(0, 0, 0, .7); color: #7CFC9A; font: 11px/1.4 ui-monospace, Menlo, Consolas, monospace; white-space: pre-wrap; pointer-events: none; }
.tryon__debug[hidden] { display: none; }
@keyframes tryon-pop { from { opacity: 0; transform: translate(-50%, -6px); } }
.tryon__start:not([hidden]) ~ .tryon__guide { top: auto; bottom: max(20px, env(safe-area-inset-bottom)); border-radius: 14px; }

/* bottom dock: shirt switcher + controls */
.tryon__dock { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; padding: 0 0 max(14px, env(safe-area-inset-bottom)); display: grid; gap: 14px; justify-items: center; animation: tryon-up .5s var(--ease); }
.tryon__dock[hidden] { display: none; }
@keyframes tryon-up { from { opacity: 0; transform: translateY(24px); } }
.tryon__rail { display: flex; gap: 10px; max-width: 100%; overflow-x: auto; padding: 6px max(16px, calc(50% - 32px)); scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.tryon__rail::-webkit-scrollbar { display: none; }
.tryon__rail[hidden] { display: none; }
.tryon__opt { position: relative; flex: none; width: 64px; scroll-snap-align: center; display: grid; justify-items: center; gap: 5px; color: rgba(255, 255, 255, .7); transition: transform .35s var(--ease-back), color .3s; }
.tryon__opt img { width: 64px; height: 64px; padding: 6px; border-radius: 50%; object-fit: contain; background: radial-gradient(closest-side, rgba(255, 255, 255, .22), rgba(255, 255, 255, .06)); border: 1.5px solid var(--t-line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: border-color .3s, box-shadow .3s; }
.tryon__opt.is-photo img { padding: 0; object-fit: cover; }
.tryon__opt span { max-width: 72px; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tryon__opt[aria-pressed="true"] { color: var(--paper); transform: translateY(-3px); }
.tryon__opt[aria-pressed="true"] img { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(239, 178, 26, .28), 0 10px 22px -10px rgba(0, 0, 0, .7); }
.tryon__opt.is-loading img { animation: tryon-dim 1s ease-in-out infinite; }
@keyframes tryon-dim { 50% { opacity: .45; } }

.tryon__acts { display: grid; grid-template-columns: 1fr auto 1fr; grid-template-areas: "left snap right" "fit fit fit"; align-items: center; gap: 12px 10px; width: 100%; max-width: 560px; padding: 0 16px; }
.tryon__acts > [data-act="photo"] { grid-area: left; justify-self: start; }
.tryon__acts > [data-act="flip"] { grid-area: left; justify-self: start; margin-left: 54px; }
.tryon__snap { grid-area: snap; width: 74px; height: 74px; border-radius: 50%; padding: 5px; display: inline-flex; border: 3.5px solid rgba(255, 255, 255, .95); box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .6); }
.tryon__snap span { flex: 1; border-radius: 50%; background: #fff; transition: transform .2s var(--ease), background .2s; }
.tryon__snap:active span { transform: scale(.84); background: var(--accent); }
.tryon__ico { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--paper); background: var(--t-glass); border: 1px solid var(--t-line); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); transition: transform .3s var(--ease-back); }
.tryon__ico:active { transform: scale(.92); }
.tryon__ico m-icon { --is: 19px; }
.tryon.is-photo [data-act="flip"] { visibility: hidden; }
.tryon__size { grid-area: right; justify-self: end; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--accent); color: var(--ink); font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; box-shadow: 0 10px 26px -12px rgba(239, 178, 26, .9); }
.tryon__fit { grid-area: fit; justify-self: center; display: flex; align-items: center; gap: 12px; width: min(100%, 300px); padding: 6px 16px; border-radius: 999px; background: var(--t-glass); border: 1px solid var(--t-line); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); font-size: 10px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--t-soft); }
.tryon__fit input { flex: 1; min-width: 0; height: 24px; margin: 0; -webkit-appearance: none; appearance: none; background: transparent; }
.tryon__fit input::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .28); }
.tryon__fit input::-moz-range-track { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .28); }
.tryon__fit input::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -7.5px; border-radius: 50%; background: var(--accent); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .4); }
.tryon__fit input::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: 3px solid #fff; }

/* picture preview */
.tryon__shot { position: absolute; inset: 0; z-index: 6; display: flex; flex-direction: column; background: rgba(11, 11, 10, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; transition: opacity .3s var(--ease); }
.tryon__shot[hidden] { display: none; }
.tryon__shot.is-in { opacity: 1; }
.tryon__shot img { flex: 1; min-height: 0; width: calc(100% - 32px); margin: calc(max(14px, env(safe-area-inset-top)) + 64px) auto 16px; object-fit: contain; transform: scale(.94); transition: transform .45s var(--ease-back); }
.tryon__shot.is-in img { transform: none; }
.tryon__shot-bar { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; width: 100%; max-width: 420px; margin: 0 auto; padding: 0 16px max(16px, env(safe-area-inset-bottom)); }

@media (min-width: 900px) {
  .tryon__dock { padding-bottom: 24px; }
  .tryon__acts { max-width: 760px; grid-template-areas: "left snap right"; }
  .tryon__fit { grid-area: right; justify-self: end; width: 200px; margin-right: 150px; }
}
@media (max-width: 560px) {
  .gallery__try { top: auto; bottom: 74px; right: 14px; }
  .try-cta { margin: 10px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .tryon__hero-img.is-in, .tryon__ghost, .tryon__opt.is-loading img { animation: none; }
}
