/* Customer app screens. Tokens come from app.css. */
.plain { text-decoration: none; color: inherit; }
.inline-ic { display: inline-block; vertical-align: -3px; margin-right: 4px; }
.desk-only { display: none; }
@media (min-width: 960px) { .desk-only { display: inline-flex; } }

/* ---------- boot (no-JS first paint) ---------- */
.boot { min-height: 70vh; display: grid; place-content: center; text-align: center; gap: 10px; padding: 24px; }
.boot-mark { display: block; margin: 0 auto; }
.boot-mark img { display: block; width: min(260px, 70vw); height: auto; }
.boot-line { font-family: var(--display); font-size: 20px; color: var(--ny-ink-2); }

/* ---------- hero ---------- */
.hero-logo, .hero-logo img { display: block; margin: 0 0 6px -6px; max-width: 70vw; }
@media (max-width: 599px) { .hero-logo img { height: 104px !important; } }
.hero { display: grid; gap: 28px; padding-top: 8px; }
.hero-copy { display: grid; gap: 18px; align-content: start; }
.hero h1 em { font-style: italic; color: var(--ny-ink); }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-cta .btn { flex: 1 1 180px; }
.hero-proof { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--ny-ink-2); }
.hero-proof b { font-family: var(--display); font-size: 22px; font-weight: 400; color: var(--ny-ink); margin-right: 4px; font-variant-numeric: tabular-nums; }
.hero-media { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; height: clamp(360px, 92vw, 560px); }
.hm { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--ny-well); display: block; }
.hm img { width: 100%; height: 100%; object-fit: cover; }
.hm-1 { grid-row: span 2; }
.hm-1 .badge { position: absolute; left: 12px; bottom: 12px; }
.hm-3 img { object-position: center 30%; }
.hm-reel { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 99px; text-decoration: none;
  background: var(--ny-paper); color: var(--ny-ink); font-size: 13.5px; box-shadow: var(--shadow); }
@media (min-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 48px; padding-top: 12px; }
  .hero-media { height: 600px; }
}

.refresh-card { display: flex; align-items: center; gap: 14px; margin-top: 26px; padding: 12px; border-radius: var(--r-lg); background: var(--ny-glow);
  border: 1px solid color-mix(in srgb, var(--ny-gold-ink-text) 35%, transparent); text-decoration: none; color: inherit; }
.refresh-card img { width: 64px; height: 80px; object-fit: cover; border-radius: 10px; flex: none; }
.refresh-card .grow { display: grid; gap: 2px; min-width: 0; }

/* ---------- trending strip ---------- */
.trend-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 40%); gap: 10px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-snap-type: x mandatory; }
.trend-strip::-webkit-scrollbar { display: none; }
@media (min-width: 720px) { .trend-strip { grid-auto-columns: minmax(180px, 1fr); } }
.trend { position: relative; aspect-ratio: 9 / 16; border-radius: var(--r-lg); overflow: hidden; scroll-snap-align: start; color: #fff; text-decoration: none; }
.trend img { width: 100%; height: 100%; object-fit: cover; }
.trend-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,5,2,.1) 40%, rgba(10,5,2,.78)); }
.trend-meta { position: absolute; left: 10px; right: 10px; bottom: 12px; display: grid; gap: 4px; justify-items: start; }
.trend-meta b { font-family: var(--display); font-weight: 400; font-size: 20px; line-height: 1.1; }
.trend-meta span:last-child { font-size: 12px; opacity: .85; }
.trend-play { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 99px; display: grid; place-items: center; background: rgba(255,255,255,.22); backdrop-filter: blur(6px); }

/* ---------- reviews ---------- */
.review { margin: 0; padding: 16px; background: var(--ny-paper); border: 1px solid var(--ny-line-gold); border-radius: var(--r-lg); display: grid; gap: 8px; }
.review blockquote { margin: 0; font-family: var(--display); font-size: 18px; line-height: 1.4; }
.review-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 84%); gap: 12px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-snap-type: x mandatory; }
.review-rail::-webkit-scrollbar { display: none; }
.review-rail > * { scroll-snap-align: start; }
@media (min-width: 960px) { .review-rail { grid-auto-columns: minmax(300px, 1fr); } }

/* ---------- home service ---------- */
.home-service { background: var(--ny-ink); color: var(--ny-cream); border-radius: var(--r-xl); padding: 28px 22px; gap: 24px; }
.home-service .muted { color: color-mix(in srgb, var(--ny-cream) 72%, transparent); }
.home-service .eyebrow { color: var(--ny-gold-ink-text); }
.hs-copy { display: grid; gap: 12px; }
.hs-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: hs; }
.hs-steps li { counter-increment: hs; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; }
.hs-steps li::before { content: counter(hs); grid-row: span 2; font-family: var(--display); font-size: 26px; color: var(--ny-gold-ink-text); line-height: 1; }
.hs-steps span { font-size: 14px; color: color-mix(in srgb, var(--ny-cream) 70%, transparent); }
@media (min-width: 960px) { .home-service { grid-template-columns: 1fr 1fr; padding: 44px; align-items: center; } }

/* ---------- trust ---------- */
.trust-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.trust-card { display: grid; gap: 6px; justify-items: start; padding: 18px; border-radius: var(--r-lg); background: var(--ny-paper); border: 1px solid var(--ny-line-gold); text-decoration: none; color: inherit; }
.trust-card:hover { border-color: var(--ny-line-2); }
.trust-facts { display: grid; gap: 12px; align-content: center; padding: 8px 4px; font-size: 14px; color: var(--ny-ink-2); }
.trust-facts p { display: flex; gap: 10px; }
.trust-facts .ic { color: var(--ny-ok); margin-top: 2px; }

.circle-card { grid-template-columns: 1fr; padding: 24px; border-radius: var(--r-xl); background: linear-gradient(135deg, var(--ny-glow), var(--ny-glow)); align-items: center; }
@media (min-width: 720px) { .circle-card { grid-template-columns: 1fr auto; } }
.reassure { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.reassure > div { display: grid; gap: 4px; padding: 16px; border-top: 2px solid var(--ny-line-2); }
.reassure .ic { color: var(--ny-gold-ink-text); margin-bottom: 4px; }
.reassure span { font-size: 13.5px; color: var(--ny-ink-2); }

/* ---------- feed (One Thumb) ---------- */
.feed-wrap { position: fixed; inset: 0; background: var(--ny-ink); z-index: 20; }
.feed-backdrop { position: absolute; inset: 0; overflow: hidden; }
.feed-backdrop img { width: 100%; height: 100%; object-fit: cover; filter: blur(40px) brightness(.45); transform: scale(1.2); }
.feed { position: relative; height: 100%; max-width: 480px; margin: 0 auto; overflow-y: auto; scroll-snap-type: y mandatory; scrollbar-width: none; overscroll-behavior: contain; }
.feed::-webkit-scrollbar { display: none; }
.reel { position: relative; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; color: #fff; display: flex; flex-direction: column; }
.reel > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,5,3,.55) 0, rgba(8,5,3,0) 20%, rgba(8,5,3,0) 42%, rgba(8,5,3,.9) 100%); }
.reel-top { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: calc(12px + env(safe-area-inset-top, 0px)) 12px 0; }
.reel-mark { font-family: var(--display); letter-spacing: .2em; font-size: 20px; display: grid; justify-items: center; line-height: 1; }
.reel-mark small { font-family: var(--sans); font-size: 9px; letter-spacing: .24em; text-transform: uppercase; color: var(--ny-gold); margin-top: 3px; }
.reel-btn { width: 44px; height: 44px; border-radius: 99px; border: 0; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.16); backdrop-filter: blur(8px); text-decoration: none; }
.reel-btn[aria-pressed="true"] { background: var(--ny-gold); color: var(--ny-ink); }
.reel-side { position: absolute; right: 12px; bottom: 210px; z-index: 2; display: grid; gap: 10px; }
.reel-foot { position: relative; z-index: 2; margin-top: auto; padding: 0 16px calc(20px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 8px; justify-items: start; }
.reel-foot h2 { font-size: 28px; }
.reel-line { font-size: 13px; color: rgba(255,255,255,.85); max-width: 32em; }
.reel-line b { color: var(--ny-gold); font-weight: 500; }
.reel-cta { width: 100%; min-height: 52px; border-radius: 14px; border: 0; background: var(--ny-gold); color: var(--ny-ink); font-size: 15.5px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 4px; }
.reel-under { width: 100%; text-align: center; background: none; border: 0; color: rgba(255,255,255,.88); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; padding: 8px; min-height: 40px; }
.reel-hint { position: absolute; right: 16px; top: 45%; z-index: 2; writing-mode: vertical-rl; letter-spacing: .2em; font-size: 10px; color: rgba(255,255,255,.6); text-transform: uppercase; }
.reel-dots { position: fixed; z-index: 21; right: max(10px, calc(50% - 250px)); top: 50%; transform: translateY(-50%); list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.reel-dots li { width: 4px; height: 4px; border-radius: 99px; background: rgba(255,255,255,.35); transition: height .2s; }
.reel-dots li.on { height: 16px; background: #fff; }
@media (min-width: 720px) { .reel-dots { right: calc(50% - 262px); } }

/* ---------- shop ---------- */
.shop-bar { display: grid; gap: 10px; margin-bottom: 14px; }
@media (min-width: 820px) { .shop-bar { grid-template-columns: 1fr 360px; align-items: center; } }
.search { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 6px 0 16px; border-radius: 99px; background: var(--ny-paper); border: 1px solid var(--ny-line-2); color: var(--ny-ink-2); }
.search:focus-within { border-color: var(--ny-gold-ink-text); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ny-gold-ink-text) 22%, transparent); }
.search input { flex: 1; min-width: 0; border: 0; background: none; font-size: 16px; outline: none; color: var(--ny-ink); min-height: 48px; }
.search-note { margin-bottom: 10px; }
.filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 12px; }
.select-sm { min-height: 40px; padding: 6px 10px; width: auto; font-size: 14px; border-radius: 10px; }
.look-card-body { display: grid; gap: 4px; min-width: 0; }

/* ---------- look / product ---------- */
.gallery { display: grid; gap: 12px; }
.gallery-main { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-xl); overflow: hidden; background: var(--ny-well); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main .badges { position: absolute; top: 12px; left: 12px; }
.shade-row { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.shade-row::-webkit-scrollbar { display: none; }
.swatch { flex: none; width: 70px; display: grid; gap: 5px; justify-items: center; text-align: center; text-decoration: none; color: var(--ny-ink-2); font-size: 11.5px; line-height: 1.2; }
.swatch-img { width: 56px; height: 56px; border-radius: 99px; overflow: hidden; border: 2px solid transparent; outline: 1px solid var(--ny-line-gold); }
.swatch-img img { width: 100%; height: 100%; object-fit: cover; }
.swatch[aria-current="true"] { color: var(--ny-ink); font-weight: 500; }
.swatch[aria-current="true"] .swatch-img { border-color: var(--ny-gold-ink-text); outline-color: var(--ny-gold-ink-text); }
.need { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.need > div { display: grid; gap: 4px; align-content: start; }
.need-n { font-family: var(--display); font-size: 34px; line-height: 1; font-variant-numeric: tabular-nums; }
.need-n small { font-size: 16px; margin-left: 2px; }
.tryon-cta { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 14px; border-radius: var(--r-lg); border: 1px solid color-mix(in srgb, var(--ny-ink) 30%, transparent);
  background: var(--ny-glow); color: var(--ny-ink); }
.tryon-cta .grow { display: grid; gap: 2px; }
.tryon-cta-ic { width: 46px; height: 46px; border-radius: 99px; background: var(--ny-ink); color: var(--ny-gold); display: grid; place-items: center; flex: none; }
.care { margin: 0; padding-left: 18px; display: grid; gap: 6px; color: var(--ny-ink-2); font-size: 14.5px; }
.recall { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: var(--r-lg); background: var(--ny-glow); border: 1px dashed color-mix(in srgb, var(--ny-gold-ink-text) 55%, transparent); }
.recall-line { font-family: var(--display); font-size: 21px; line-height: 1.15; }
.recall-stamp { flex: none; width: 70px; height: 70px; border-radius: 99px; border: 2px solid var(--ny-ink); color: var(--ny-ink); display: grid; place-content: center; text-align: center; transform: rotate(-9deg);
  font-family: var(--mono); font-size: 9px; letter-spacing: .1em; line-height: 1.2; opacity: .85; }
.recall-stamp b { font-size: 14px; }
.recall-photo { width: 100%; border-radius: var(--r-lg); max-height: 60vh; object-fit: cover; }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: calc(var(--tabbar) + env(safe-area-inset-bottom, 0px)); z-index: 25; display: flex; align-items: center; gap: 12px;
  padding: 10px var(--gutter); background: color-mix(in srgb, var(--ny-paper) 96%, transparent); backdrop-filter: blur(12px); border-top: 1px solid var(--ny-line-gold); }
.sticky-buy .grow { display: grid; line-height: 1.2; }
.sticky-buy b { font-family: var(--display); font-weight: 400; font-size: 22px; }
.look-page, .product-page, .builder { padding-bottom: 72px; }
@media (min-width: 960px) { .sticky-buy { display: none; } .look-page, .product-page, .builder { padding-bottom: 0; } }
.made-with { display: flex; gap: 16px; align-items: center; }
.made-with-img { width: 96px; height: 128px; object-fit: cover; border-radius: var(--r); flex: none; }
.accordion { border-top: 1px solid var(--ny-line-gold); }
.acc-item { border-bottom: 1px solid var(--ny-line-gold); }
.acc-head { width: 100%; display: flex; justify-content: space-between; align-items: center; min-height: 54px; background: none; border: 0; font-size: 16px; padding: 0; }
.acc-head[aria-expanded="true"] .ic { transform: rotate(180deg); }
.acc-body { padding-bottom: 16px; color: var(--ny-ink-2); font-size: 14.5px; display: grid; gap: 8px; }
.share-card { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: var(--r-lg); background: var(--ny-well); }
.share-card img { width: 80px; height: 104px; object-fit: cover; border-radius: var(--r); }

/* ---------- stylists ---------- */
.stylist-row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--r-lg); background: var(--ny-paper); border: 1px solid var(--ny-line-gold); text-decoration: none; color: inherit; }
.stylist-row:hover { border-color: var(--ny-line-2); }
.braider-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.braider-card { padding: 16px; display: grid; gap: 12px; }
.braider-head { display: flex; gap: 14px; text-decoration: none; color: inherit; }
.profile-head { display: flex; gap: 16px; align-items: flex-start; }
.profile-bio { font-family: var(--display); font-size: 20px; line-height: 1.4; color: var(--ny-ink-2); }
.portfolio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pf { position: relative; aspect-ratio: 3 / 4; border-radius: var(--r); overflow: hidden; color: #fff; text-decoration: none; }
.pf img { width: 100%; height: 100%; object-fit: cover; }
.pf span { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 8px 8px; font-size: 12px; color: var(--ny-cream); overflow-wrap: anywhere;
  background: linear-gradient(180deg, color-mix(in srgb, var(--ny-ink) 0%, transparent) 0, color-mix(in srgb, var(--ny-ink) 78%, transparent) 24px, color-mix(in srgb, var(--ny-ink) 85%, transparent) 100%); } /* a scrim: AA over any photo (Plan D Task 16) */
.match-bars { display: grid; gap: 7px; }
.mb { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) 44px; gap: 10px; align-items: center; font-size: 13px; color: var(--ny-ink-2); }
.mb-track { height: 6px; border-radius: 99px; background: var(--ny-well); overflow: hidden; }
.mb-track i { display: block; height: 100%; background: var(--ny-gold-ink-text); border-radius: 99px; }

/* ---------- builder ---------- */
.builder-head { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.builder-head img { width: 64px; height: 84px; object-fit: cover; border-radius: var(--r); }
.steps { display: grid; gap: 14px; }
.step { background: var(--ny-paper); border: 1px solid var(--ny-line-gold); border-radius: var(--r-lg); padding: 18px; display: grid; gap: 14px; }
.step-h { font-family: var(--sans); font-size: 17px; font-weight: 500; display: flex; align-items: center; gap: 10px; letter-spacing: 0; }
.step-n { width: 28px; height: 28px; border-radius: 99px; background: var(--ny-ink); color: var(--ny-cream); display: grid; place-items: center; font-size: 13px; font-variant-numeric: tabular-nums; }
.pick-row { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 12px; border-radius: var(--r); border: 1px solid var(--ny-line-2); background: var(--ny-paper); }
.pick-row .radio { width: 20px; height: 20px; border-radius: 99px; border: 2px solid var(--ny-line-2); flex: none; }
.pick-row[aria-pressed="true"] { border-color: var(--ny-gold-ink-text); background: var(--ny-glow); }
.pick-row[aria-pressed="true"] .radio { border-color: var(--ny-ink); box-shadow: inset 0 0 0 4px var(--ny-paper); background: var(--ny-ink); }
.chosen { display: grid; gap: 8px; background: var(--ny-well); border-color: transparent; }
.date-strip { display: grid; grid-auto-flow: column; grid-auto-columns: 62px; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.date-strip::-webkit-scrollbar { display: none; }
.date-chip { display: grid; justify-items: center; gap: 1px; padding: 8px 4px; border-radius: 14px; border: 1px solid var(--ny-line-2); background: var(--ny-paper); font-size: 12px; color: var(--ny-ink-2); min-height: 72px; }
.date-chip b { font-family: var(--display); font-size: 22px; font-weight: 400; color: var(--ny-ink); line-height: 1.1; font-variant-numeric: tabular-nums; }
.date-chip small { font-size: 10.5px; }
.date-chip[aria-checked="true"] { background: var(--ny-ink); color: var(--ny-cream); border-color: var(--ny-ink); }
.date-chip[aria-checked="true"] b { color: var(--ny-cream); }
.date-chip:disabled { opacity: .4; }
.chip.slot { min-width: 88px; }
.summary .card { box-shadow: var(--shadow); }
.sum-img { width: 52px; height: 68px; object-fit: cover; border-radius: 10px; }
.repeat-row { display: flex; align-items: center; gap: 12px; padding: 10px; width: 100%; text-align: left; border-radius: var(--r-lg); border: 1px solid var(--ny-line-gold); background: var(--ny-paper); }
.repeat-row img { width: 52px; height: 66px; object-fit: cover; border-radius: 10px; }
.repeat-row .grow { display: grid; }
@media (min-width: 960px) { .builder-cols { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); } }

.hold-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: var(--r); background: var(--ny-ok-soft); color: color-mix(in srgb, var(--ny-ok) 65%, var(--ny-ink)); margin-bottom: 20px; font-size: 14px; flex-wrap: wrap; }
.hold-bar.expired { background: var(--ny-alert-soft); color: color-mix(in srgb, var(--ny-alert) 70%, var(--ny-ink)); }
.policy { margin: 0; padding-left: 16px; display: grid; gap: 4px; }
.demo-pay { display: grid; gap: 8px; padding-top: 8px; border-top: 1px dashed var(--ny-line-2); }

/* ---------- bookings ---------- */
.booking-card { display: flex; gap: 14px; padding: 12px; text-decoration: none; color: inherit; align-items: center; }
.booking-card img { width: 64px; height: 82px; object-fit: cover; border-radius: 10px; flex: none; }
.booking-card:hover { border-color: var(--ny-line-2); }
.confirm-hero { display: flex; gap: 18px; align-items: flex-start; padding: 22px; border-radius: var(--r-xl); background: var(--ny-ok-soft); margin-bottom: 24px; }
.confirm-seal { width: 60px; height: 60px; border-radius: 99px; background: var(--ny-ok); color: var(--ny-paper); display: grid; place-items: center; flex: none; animation: pop .5s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; overflow-x: auto; }
.timeline li { position: relative; display: grid; justify-items: center; gap: 6px; text-align: center; font-size: 12px; color: var(--ny-ink-3); min-width: 76px; padding-top: 2px; }
.timeline li::before { content: ""; position: absolute; top: 12px; left: -50%; right: 50%; height: 2px; background: var(--ny-line-2); }
.timeline li:first-child::before { display: none; }
.timeline li.done::before, .timeline li.now::before { background: var(--ny-ok); }
.tl-dot { position: relative; z-index: 1; width: 24px; height: 24px; border-radius: 99px; border: 2px solid var(--ny-line-2); background: var(--ny-paper); display: grid; place-items: center; color: var(--ny-paper); }
.timeline li.done .tl-dot { background: var(--ny-ok); border-color: var(--ny-ok); }
.timeline li.now .tl-dot { border-color: var(--ny-ink); box-shadow: 0 0 0 5px var(--ny-glow); background: var(--ny-ink); }
.timeline li.done, .timeline li.now { color: var(--ny-ink); }
.tl-time { font-size: 10.5px; color: var(--ny-ink-3); }
.start-code { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; background: var(--ny-ink); color: var(--ny-cream); border: 0; }
.start-code .muted { color: color-mix(in srgb, var(--ny-cream) 70%, transparent); }
.start-code .code { font-size: 40px; letter-spacing: .3em; color: var(--ny-gold-ink-text); font-weight: 500; }
.demo-box { border: 1px dashed var(--ny-line-2); border-radius: var(--r); padding: 12px 14px; font-size: 14px; }
.demo-box summary { cursor: pointer; color: var(--ny-ink-2); min-height: 32px; }
.demo-box[open] { display: grid; gap: 10px; }
.proof-thumb { width: 72px; height: 92px; object-fit: cover; border-radius: 10px; }
.star-pick { display: flex; gap: 4px; color: var(--ny-gold-ink-text); }
.star-pick button { background: none; border: 0; padding: 4px; color: inherit; }

/* ---------- me ---------- */
.me-head { display: flex; gap: 16px; align-items: center; margin-bottom: 20px; }
.me-nav { display: grid; background: var(--ny-paper); border: 1px solid var(--ny-line-gold); border-radius: var(--r-lg); overflow: hidden; }
.me-nav a { display: flex; align-items: center; gap: 14px; padding: 0 16px; min-height: 58px; text-decoration: none; color: inherit; border-bottom: 1px solid var(--ny-line-gold); }
.me-nav a:last-child { border-bottom: 0; }
.me-nav a:hover { background: var(--ny-well); }
.me-nav a > .ic:first-child { color: var(--ny-gold-ink-text); }
.order-row { display: flex; gap: 12px; align-items: center; padding: 10px 14px 10px 10px; text-decoration: none; color: inherit; }
.order-row img { width: 48px; height: 60px; object-fit: cover; border-radius: 8px; }
.order-row .grow { display: grid; }
.capture-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.capture { border: 0; padding: 0; background: none; display: grid; gap: 6px; text-align: left; font-size: 13px; }
.capture img { aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r); width: 100%; }
.circle-balance { display: grid; gap: 10px; background: linear-gradient(135deg, var(--ny-glow), var(--ny-paper)); }
.tier-track { height: 8px; border-radius: 99px; background: var(--ny-well); overflow: hidden; }
.tier-track span { display: block; height: 100%; background: var(--ny-gold-ink-text); }
.kv .v.plus { color: var(--ny-ok); }
.consents { overflow: hidden; }
.consent-row { display: flex; gap: 16px; align-items: flex-start; padding: 16px; border-bottom: 1px solid var(--ny-line-gold); }
.consent-row:last-child { border-bottom: 0; }
.consent-row .grow { display: grid; gap: 3px; }
.export { max-height: 280px; overflow: auto; white-space: pre; }
.notif { display: flex; gap: 12px; padding: 14px 16px; text-decoration: none; color: inherit; align-items: flex-start; }
.notif .grow { display: grid; gap: 2px; }
.notif.unread { border-left: 3px solid var(--ny-ink); }

/* ---------- Hair Diary ---------- */
.passport { display: grid; gap: 14px; }
@media (min-width: 860px) { .passport { grid-template-columns: 1fr 1fr; gap: 0; } .pp-page + .pp-page { border-left: 1px dashed var(--ny-line-2); } }
.pp-page { position: relative; overflow: hidden; padding: 20px; min-height: 330px; border-radius: var(--r-lg); background: color-mix(in srgb, var(--ny-paper) 80%, var(--ny-glow)); border: 1px solid var(--ny-line-gold); }
@media (min-width: 860px) { .pp-id { border-radius: var(--r-lg) 0 0 var(--r-lg); } .pp-visas { border-radius: 0 var(--r-lg) var(--r-lg) 0; } }
.pp-guilloche { position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background:
    repeating-radial-gradient(circle at 18% 30%, transparent 0 9px, color-mix(in srgb, var(--ny-gold-ink) 26%, transparent) 9px 10px),
    repeating-radial-gradient(circle at 82% 70%, transparent 0 13px, color-mix(in srgb, var(--ny-gold-ink-text) 20%, transparent) 13px 14px); }
.pp-guilloche.soft { opacity: .3; }
.pp-top { position: relative; display: flex; justify-content: space-between; gap: 10px; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: var(--ny-gold-ink-text); margin: 0 0 16px; }
.pp-idrow { position: relative; display: flex; gap: 16px; }
.pp-photo { width: 92px; height: 116px; flex: none; border-radius: 8px; display: grid; place-items: center; font-family: var(--display); font-size: 40px; color: var(--ny-gold-ink-text);
  background: linear-gradient(160deg, var(--ny-glow), var(--ny-glow)); border: 1px solid var(--ny-line-2); }
.pp-fields { margin: 0; display: grid; gap: 7px; min-width: 0; }
.pp-fields dt { font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ny-ink-3); }
.pp-fields dd { margin: 0; font-size: 15px; font-weight: 500; }
.pp-mrz { position: relative; margin-top: 18px; font-size: clamp(9px, 2.5vw, 12.5px); letter-spacing: .08em; color: var(--ny-ink); overflow: hidden; white-space: nowrap; }
.stamps { position: relative; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.stamp { width: 136px; height: 136px; transform: rotate(var(--rot)); color: var(--ny-ink); transition: transform .2s; }
.stamp:hover { transform: rotate(0) scale(1.04); }
.stamp-1 { color: var(--ny-gold-ink-text); }
.stamp-2 { color: var(--ny-gold-ink-text); }
.stamp svg { width: 100%; height: 100%; }
.st-ring { fill: none; stroke: currentColor; stroke-width: 3; }
.st-ring.thin { stroke-width: 1.4; stroke-dasharray: 3 3; }
.st-arc { fill: currentColor; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; }
.st-date { fill: currentColor; font-family: var(--display); font-size: 34px; }
.st-year { fill: currentColor; font-family: var(--mono); font-size: 13px; letter-spacing: .2em; }
.st-sub { fill: currentColor; font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; }
.pp-entry { display: flex; gap: 14px; align-items: center; padding: 10px; text-decoration: none; color: inherit; }
.pp-entry img { width: 56px; height: 72px; object-fit: cover; border-radius: 10px; }
.pp-photo-big { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-xl); overflow: hidden; background: var(--ny-well); }
.pp-photo-big img { width: 100%; height: 100%; object-fit: cover; }
.pp-photo-big .badge { position: absolute; left: 12px; top: 12px; }

/* ---------- bag ---------- */
.bag-item { display: flex; gap: 14px; padding: 12px; }
.bag-item img { width: 76px; height: 98px; object-fit: cover; border-radius: 10px; flex: none; }

/* ---------- help ---------- */
.prose { display: grid; gap: 14px; max-width: 70ch; margin-top: 18px; }
.prose p { color: var(--ny-ink-2); }
.guide-fam { display: grid; gap: 8px; margin-top: 10px; }

/* ---------- AI Visualiser ---------- */
.ai-cta { background: var(--ny-glow); border-color: color-mix(in srgb, var(--ny-gold-ink-text) 40%, transparent); }
.ai-cta .tryon-cta-ic { background: var(--ny-gold-ink-text); color: var(--ny-paper); }
.vis-grid { display: grid; gap: 22px; }
@media (min-width: 960px) { .vis-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); align-items: start; } }
.vis-looks { display: grid; grid-auto-flow: column; grid-auto-columns: 92px; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.vis-looks::-webkit-scrollbar { display: none; }
.vis-look { display: grid; gap: 5px; padding: 4px; border-radius: 14px; border: 1px solid var(--ny-line-gold); background: var(--ny-paper); text-align: left; font-size: 12px; line-height: 1.2; }
.vis-look img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; }
.vis-look small { display: block; color: var(--ny-ink-3); font-size: 10.5px; }
.vis-look[aria-checked="true"] { border-color: var(--ny-gold-ink-text); box-shadow: inset 0 0 0 1px var(--ny-gold-ink-text); background: var(--ny-glow); }
.vis-stage { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--ny-well); }
.vis-photo, .vis-empty { position: relative; }
.vis-photo img, .vis-empty img { width: 100%; max-height: 72vh; object-fit: contain; background: var(--ny-ink); }
.vis-empty img { filter: brightness(.45) saturate(.8); object-fit: cover; aspect-ratio: 4 / 5; }
.vis-empty-in { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; text-align: center; color: #fff; padding: 24px; }
.vis-empty-in span { font-size: 13.5px; opacity: .85; max-width: 26em; }
.vis-working { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 16px; border-radius: var(--r-lg); background: color-mix(in srgb, var(--ny-paper) 94%, transparent); backdrop-filter: blur(10px); display: grid; gap: 10px; }
.vis-bar { height: 5px; border-radius: 99px; background: var(--ny-line-gold); overflow: hidden; }
.vis-bar i { display: block; height: 100%; background: var(--ny-ink); border-radius: 99px; transition: width 1.2s ease; }
.vis-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 13.5px; color: var(--ny-ink-3); }
.vis-steps li::before { content: "○"; margin-right: 8px; }
.vis-steps li.done { color: var(--ny-ok); } .vis-steps li.done::before { content: "✓"; }
.vis-steps li.now { color: var(--ny-ink); font-weight: 500; } .vis-steps li.now::before { content: "●"; color: var(--ny-ink); animation: blink 1s infinite alternate; }
@keyframes blink { to { opacity: .3; } }
.vis-compare { position: relative; display: grid; }
.vis-compare img { grid-area: 1 / 1; width: 100%; max-height: 74vh; object-fit: contain; background: var(--ny-ink); }
.vis-after { clip-path: inset(0 0 0 var(--split)); }
.vis-compare::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--split); width: 2px; background: #fff; box-shadow: 0 0 8px rgba(0,0,0,.4); pointer-events: none; }
.vis-slider { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.vis-tag { position: absolute; top: 12px; pointer-events: none; }
.vis-tag-r { right: 12px; }
.vis-tag-l, .vis-tag-r { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: rgba(20,10,5,.55); padding: 4px 9px; border-radius: 99px; }
.vis-tag-l { left: 12px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: rgba(20,10,5,.55); padding: 4px 9px; border-radius: 99px; }
.vis-tag-r { right: 12px; }

/* ---------- Lookbook ---------- */
.lb-head { display: grid; gap: 14px; max-width: 760px; margin: 8px 0 34px; }
.lb-head .note { max-width: 640px; }
.lb-chapter { display: grid; gap: 22px; padding-block: 28px; border-top: 1px solid var(--ny-line-gold); scroll-margin-top: calc(var(--topbar) + 12px); }
@media (min-width: 960px) {
  .lb-chapter { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 52px; align-items: center; padding-block: 48px; }
  .lb-chapter.flip > .angles { order: 2; }
}
.lb-copy { display: grid; gap: 14px; align-content: center; }
.lb-num { font-family: var(--display); font-size: clamp(64px, 10vw, 120px); line-height: .8; color: var(--ny-line-2); margin-bottom: -6px; }
.angles { margin: 0; display: grid; gap: 10px; }
.angles-stage { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-xl); overflow: hidden; background: var(--ny-cream); touch-action: pan-y; user-select: none; }
.angles-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s ease; }
.angles-stage img.on { opacity: 1; }
.angles-badge { position: absolute; left: 12px; top: 12px; }
.angles-label { position: absolute; left: 12px; bottom: 12px; font-size: 12px; letter-spacing: .06em; color: #fff; background: rgba(20,10,5,.55); padding: 5px 10px; border-radius: 99px; backdrop-filter: blur(6px); }
.angles-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 99px; border: 0; display: grid; place-items: center;
  background: rgba(255,253,249,.82); color: var(--ny-ink); backdrop-filter: blur(6px); }
.angles-arrow.l { left: 10px; } .angles-arrow.r { right: 10px; }
.angles-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.angles-thumbs button { border: 1px solid var(--ny-line-gold); background: var(--ny-paper); border-radius: 12px; padding: 4px; display: grid; gap: 4px; font-size: 11.5px; color: var(--ny-ink-2); }
.angles-thumbs img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; }
.angles-thumbs button[aria-selected="true"] { border-color: var(--ny-gold-ink-text); box-shadow: inset 0 0 0 1px var(--ny-gold-ink-text); color: var(--ny-ink); }
.angles.compact .angles-stage { aspect-ratio: 4 / 4.4; border-radius: var(--r-lg); }
.angles.compact .angles-thumbs { grid-template-columns: repeat(4, 64px); }
.angles.compact .angles-thumbs span { display: none; }
.lb-teaser { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.lb-tile { position: relative; aspect-ratio: 4 / 5.2; border-radius: var(--r-lg); overflow: hidden; color: #fff; text-decoration: none; background: var(--ny-cream); }
.lb-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .4s ease; }
.lb-tile .lb-tile-back { opacity: 0; }
.lb-tile:hover .lb-tile-back, .lb-tile:focus-visible .lb-tile-back { opacity: 1; }
.lb-tile-meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 10px 10px; display: grid; background: linear-gradient(transparent, rgba(10,5,2,.7)); }
.lb-tile-meta b { font-family: var(--display); font-weight: 400; font-size: clamp(16px, 2.4vw, 22px); line-height: 1.1; }
.lb-tile-meta span { font-size: 11.5px; opacity: .85; }
.reel-angles { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: #fff; text-decoration: none; background: rgba(255,255,255,.16); padding: 6px 11px; border-radius: 99px; backdrop-filter: blur(6px); }

/* ---------- AI Hairstyle Studio (v3.0) ---------- */
.studio-photo-chip { display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; border-radius: 99px; background: var(--ny-ok-soft); margin-bottom: 14px; font-size: 14px; }
.studio-photo-chip img { width: 40px; height: 40px; border-radius: 99px; object-fit: cover; }
.studio-know { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.style-card .try { pointer-events: none; }
.studio-promo { grid-template-columns: 1fr; align-items: center; padding: 24px; border-radius: var(--r-xl); background: var(--ny-glow); }
@media (min-width: 720px) { .studio-promo { grid-template-columns: 1fr auto; padding: 32px; } }

.ws-grid { display: grid; gap: 20px; }
@media (min-width: 960px) { .ws-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: start; } .ws-panel { position: sticky; top: calc(var(--topbar) + 20px); } }
.ws-stage { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--ny-ink); min-height: 280px; }
.ws-stage > img { width: 100%; max-height: 74vh; object-fit: contain; display: block; margin: 0 auto; }
.ws-hint { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); padding: 7px 14px; border-radius: 99px; background: rgba(20,10,5,.6); color: #fff; font-size: 13px; white-space: nowrap; }
.ws-done { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-radius: var(--r); background: var(--ny-ok); color: var(--ny-paper); text-decoration: none; font-weight: 500; }
.ws-render { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 16px; border-radius: var(--r-lg); background: color-mix(in srgb, var(--ny-paper) 95%, transparent); backdrop-filter: blur(10px); display: grid; gap: 10px; color: var(--ny-ink); }
.ws-thumb { width: 44px; height: 56px; object-fit: cover; border-radius: 8px; }
.ws-shades { display: flex; gap: 10px; flex-wrap: wrap; }
.ws-shade { display: grid; justify-items: center; gap: 4px; width: 68px; text-align: center; font-size: 11.5px; line-height: 1.2; color: var(--ny-ink-2); text-decoration: none; }
.ws-shade img { width: 52px; height: 52px; border-radius: 99px; object-fit: cover; border: 2px solid transparent; outline: 1px solid var(--ny-line-gold); }
.ws-shade[aria-checked="true"] { color: var(--ny-ink); font-weight: 500; }
.ws-shade[aria-checked="true"] img { border-color: var(--ny-gold-ink-text); outline-color: var(--ny-gold-ink-text); }
.ws-cta { display: grid; gap: 8px; }
@media (max-width: 959px) {
  .ws-cta { position: sticky; bottom: calc(var(--tabbar) + 8px + env(safe-area-inset-bottom, 0px)); z-index: 5; padding: 10px; margin-inline: -10px; border-radius: var(--r-lg);
    background: color-mix(in srgb, var(--ny-cream) 92%, transparent); backdrop-filter: blur(10px); }
}

.photo-review { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: start; }
.photo-review img { width: 120px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r); }
.photo-checks, .photo-tips { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.photo-checks li { display: flex; align-items: center; gap: 8px; }
.photo-checks li.ok .ic { color: var(--ny-ok); } .photo-checks li.warn .ic { color: var(--ny-gold-ink-text); } .photo-checks li.fail .ic { color: var(--ny-alert); } .photo-checks li.skip { color: var(--ny-ink-3); }
.photo-tips { grid-template-columns: 1fr 1fr; color: var(--ny-ink-2); font-size: 13.5px; }
.photo-tips li::before { content: "✓ "; color: var(--ny-ok); }

.res-grid { display: grid; gap: 20px; margin-top: 12px; }
@media (min-width: 960px) { .res-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 36px; align-items: start; } .res-panel { position: sticky; top: calc(var(--topbar) + 20px); } }
.res-compare { border-radius: var(--r-xl); overflow: hidden; }
.res-main { flex-direction: column; gap: 0; min-height: 58px; line-height: 1.2; }
.res-main small { font-size: 12px; font-weight: 400; opacity: .85; }
.res-actions { display: flex; gap: 18px; flex-wrap: wrap; border-top: 1px solid var(--ny-line-gold); padding-top: 10px; }

.tray { position: fixed; left: 12px; bottom: calc(var(--tabbar) + 14px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: grid; gap: 8px; justify-items: start; max-width: calc(100vw - 24px); }
@media (min-width: 960px) { .tray { bottom: 22px; left: 22px; } }
.tray-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 99px; border: 0; background: var(--ny-ink); color: var(--ny-cream); font-size: 14px; box-shadow: var(--shadow-lg); }
.tray-pill .ic { color: color-mix(in srgb, var(--ny-ok) 60%, #fff); }
.tray-n { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--ny-ink); color: var(--ny-gold); font-size: 12px; display: grid; place-items: center; }
.tray-spin { width: 14px; height: 14px; border-radius: 99px; border: 2px solid color-mix(in srgb, var(--ny-cream) 35%, transparent); border-top-color: var(--ny-cream); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.tray-panel { width: min(360px, calc(100vw - 24px)); max-height: 60vh; overflow: auto; padding: 14px; border-radius: var(--r-lg); background: var(--ny-paper); border: 1px solid var(--ny-line-gold); box-shadow: var(--shadow-lg); display: grid; gap: 12px; }
.tray-item { display: flex; gap: 12px; align-items: flex-start; }
.tray-item img { width: 56px; height: 72px; object-fit: cover; border-radius: 10px; flex: none; }
.tray-item .grow { display: grid; gap: 3px; justify-items: start; }
.sty-tryon { margin-top: 0; }

/* ---------- Hairstyles, grouping and model-first imagery ---------- */
.shown-in { position: absolute; left: 8px; bottom: 8px; max-width: calc(100% - 64px); padding: 4px 9px; border-radius: 99px; font-size: 11px; line-height: 1.3;
  background: rgba(20,10,5,.62); color: #fff; backdrop-filter: blur(6px); }
.swatch-inset { position: absolute; right: 8px; bottom: 8px; width: 46px; height: 46px; border-radius: 12px; overflow: hidden; border: 2px solid #fff; box-shadow: 0 2px 10px rgba(0,0,0,.25); background: #fff; }
.swatch-inset img { width: 100%; height: 100%; object-fit: cover; }
.look-frame:has(.shown-in) .try { bottom: 44px; }
.gallery-cap { position: absolute; left: 12px; bottom: 12px; padding: 5px 11px; border-radius: 99px; font-size: 12.5px; background: rgba(20,10,5,.62); color: #fff; backdrop-filter: blur(6px); }
.gallery-thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.gallery-thumbs::-webkit-scrollbar { display: none; }
.gallery-thumbs button { flex: none; width: 76px; display: grid; gap: 4px; padding: 3px; border-radius: 12px; border: 1px solid var(--ny-line-gold); background: var(--ny-paper); font-size: 11px; color: var(--ny-ink-2); }
.gallery-thumbs img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 9px; }
.gallery-thumbs button[aria-selected="true"] { border-color: var(--ny-gold-ink-text); box-shadow: inset 0 0 0 1px var(--ny-gold-ink-text); color: var(--ny-ink); }

.style-index-grid { display: grid; gap: 18px; }
@media (min-width: 820px) { .style-index-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
.style-tile { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 0; background: var(--ny-paper); border: 1px solid var(--ny-line-gold); border-radius: var(--r-xl); overflow: hidden; }
@media (max-width: 520px) { .style-tile { grid-template-columns: 1fr; } .style-tile-media { aspect-ratio: 4 / 4.2; } }
.style-tile-media { display: block; background: var(--ny-well); min-height: 260px; }
.style-tile-media img { width: 100%; height: 100%; object-fit: cover; }
.style-tile-body { padding: 20px; display: grid; gap: 12px; align-content: center; }
.shade-dots { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.shade-dot { width: 30px; height: 30px; border-radius: 99px; overflow: hidden; border: 2px solid var(--ny-paper); outline: 1px solid var(--ny-line-gold); flex: none; }
.shade-dot img { width: 100%; height: 100%; object-fit: cover; }
.shade-names { flex-basis: 100%; }
.other-styles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.other-style { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; color: #fff; text-decoration: none; background: var(--ny-well); }
.other-style img { width: 100%; height: 100%; object-fit: cover; }
.other-style span { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 12px 12px; font-family: var(--display); font-size: clamp(16px, 2.6vw, 22px); background: linear-gradient(transparent, rgba(10,5,2,.72)); }

.shop-group { display: grid; gap: 14px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--ny-line-gold); }
.shop-group:first-of-type { border-top: 0; padding-top: 0; }
.shop-group-head { display: flex; align-items: flex-end; gap: 12px; }
.shop-group-head .muted { max-width: 60ch; }

.site-foot .in { grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 820px) { .site-foot .in { grid-template-columns: 1fr 1.4fr; align-items: start; } .foot-legal { grid-column: 1 / -1; } }
.foot-brand { display: grid; gap: 8px; max-width: 34ch; }
.foot-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px 16px; }
.foot-links a { text-decoration: none; color: var(--ny-ink-2); min-height: 32px; display: inline-flex; align-items: center; }
.foot-links a:hover { color: var(--ny-ink); }
.foot-legal { color: var(--ny-ink-3); }

/* ---------- hero watermark + entrance ---------- */
.hero-copy { position: relative; isolation: isolate; }
.hero-copy > :not(.hero-watermark) { position: relative; z-index: 1; animation: rise-in .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero-copy > :nth-child(2) { animation-delay: .05s; } .hero-copy > :nth-child(3) { animation-delay: .15s; }
.hero-copy > :nth-child(4) { animation-delay: .25s; } .hero-copy > :nth-child(5) { animation-delay: .35s; } .hero-copy > :nth-child(6) { animation-delay: .45s; }
@keyframes rise-in { from { opacity: 0; transform: translateY(14px); } }
.hero-watermark { position: absolute; inset: -24px -16px; z-index: 0; overflow: hidden; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse at 40% 45%, #000 30%, transparent 78%); mask-image: radial-gradient(ellipse at 40% 45%, #000 30%, transparent 78%); }
.wm-word { position: absolute; left: -2%; top: 50%; transform: translateY(-50%); font-family: var(--display); font-size: clamp(110px, 19vw, 230px); letter-spacing: .12em;
  line-height: 1; color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--ny-gold-ink-text) 38%, transparent); white-space: nowrap; animation: wm-drift 26s ease-in-out infinite alternate; }
.wm { position: absolute; width: clamp(140px, 22vw, 230px); aspect-ratio: 3 / 4; object-fit: cover; border-radius: 999px 999px 24px 24px;
  filter: grayscale(1) contrast(1.15); opacity: .09; mix-blend-mode: multiply; animation: wm-float 18s ease-in-out infinite alternate; }
.wm-1 { right: 4%; top: -6%; transform: rotate(8deg); }
.wm-2 { right: 26%; bottom: -14%; transform: rotate(-6deg); animation-delay: -6s; animation-duration: 22s; }
.wm-3 { left: -6%; bottom: -18%; transform: rotate(-12deg); animation-delay: -11s; animation-duration: 20s; }
@keyframes wm-drift { to { transform: translate(-6%, -50%); } }
@keyframes wm-float { from { translate: 0 0; } to { translate: 0 -22px; } }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .wm { mix-blend-mode: screen; opacity: .07; } }
:root[data-theme="dark"] .wm { mix-blend-mode: screen; opacity: .07; }
@media (prefers-reduced-motion: reduce) { .wm-word, .wm, .hero-copy > * { animation: none !important; } }

/* ---------- Lookbook: the hairstyle directory ---------- */
.lb-head .chips-scroll { margin-top: 6px; }
.lb-style { padding-block: 26px; border-top: 1px solid var(--ny-line-gold); scroll-margin-top: calc(var(--topbar) + 12px); }
.lb-style .section-head { align-items: end; }
.lb-card { scroll-margin-top: calc(var(--topbar) + 12px); }
.lb-angles-btn { position: absolute; left: 8px; top: 8px; display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: 99px; border: 0;
  background: rgba(20,10,5,.66); color: #fff; font-size: 12px; backdrop-filter: blur(6px); }
.lb-card-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.lb-card-actions .btn { flex: 1 1 auto; }
.lb-teaser.styles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .lb-teaser.styles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.lb-filter { display: grid; gap: 6px; min-width: 0; }
.lb-filter-label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ny-ink-3); }
.lb-vibes { display: flex; flex-wrap: wrap; gap: 4px; }
.lb-vibes .badge { border: 0; cursor: pointer; }
.vibe-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.lookbook .lb-head { max-width: none; }
.lookbook .lb-head > h1, .lookbook .lb-head > .lede { max-width: 760px; }
@media (min-width: 720px) { .lb-head .chips-scroll { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; } }

/* the word-by-word reveal and the shimmer on the promise are motion.css .rise / .rw-accent (one helper, motion.js Rise) */

/* rebuild w6 fix wave (verify-w6 #10): the account pages (#/me, #/me/signin, #/me/signup, the account sub-pages) in the App
   boards' language (AppPassport / AppBag): the toile ground, sans 800 titles at -.03em (not the serif), square corners, ink
   buttons with toile text, hairline ink fields, the gold-deep links, the segmented switch as two square chips. Same markup,
   same handlers: only the look changes. */
:root:root:root:root .app :is([data-screen="auth"], [data-screen^="me-"], .nyp[data-screen]) {
  --acc-ink: #121317; --acc-toile: #f1f0ee; --acc-paper: #fafaf8; --acc-gold: #c99a42; --acc-gdeep: #8a6020; --acc-ash: #67635d; --acc-line: rgba(18,19,23,.14);
  color: var(--acc-ink); font-family: var(--ny-sans, "Plus Jakarta Sans"), system-ui, sans-serif; }
@media (max-width: 600px) { main#main:has(> :is([data-screen="auth"], [data-screen^="me-"], .nyp[data-screen])), main#main:has(> * > :is([data-screen="auth"], [data-screen^="me-"], .nyp[data-screen])) { background: #f1f0ee; } }
:root:root:root:root .app :is([data-screen="auth"], [data-screen^="me-"], .nyp[data-screen]) :is(h1, h2, .t-1, .t-2, .t-3, .a-h) {
  font-family: var(--ny-sans, "Plus Jakarta Sans"), system-ui, sans-serif; font-style: normal; font-weight: 800; letter-spacing: -.03em; color: var(--acc-ink); text-wrap: wrap; }
:root:root:root:root .app :is([data-screen="auth"], [data-screen^="me-"], .nyp[data-screen]) :is(h1, .t-1) { font-size: clamp(26px, 6vw, 34px); line-height: 1.08; }
:root:root:root:root .app :is([data-screen="auth"], [data-screen^="me-"], .nyp[data-screen]) .me-guest-h { margin: 0 0 4px; }
:root:root:root:root .app :is([data-screen="auth"], [data-screen^="me-"], .nyp[data-screen]) .eyebrow { font: 500 13px/1.3 var(--ny-sans, "Plus Jakarta Sans"), system-ui, sans-serif; letter-spacing: 0; text-transform: none; color: var(--acc-ash); }
:root:root:root:root .app :is([data-screen="auth"], [data-screen^="me-"], .nyp[data-screen]) :is(.card, .auth-panel, .me-nav) { border-radius: 0; background: var(--acc-paper); border: 0; box-shadow: inset 0 0 0 1px var(--acc-line); }
:root:root:root:root .app :is([data-screen="auth"], [data-screen^="me-"], .nyp[data-screen]) .input { border-radius: 0; background: #fff; border: 0; box-shadow: inset 0 0 0 1px rgba(18,19,23,.25); color: var(--acc-ink); min-height: 50px; }
:root:root:root:root .app :is([data-screen="auth"], [data-screen^="me-"], .nyp[data-screen]) .input:focus { box-shadow: inset 0 0 0 2px var(--acc-ink); outline: none; }
:root:root:root:root .app :is([data-screen="auth"], [data-screen^="me-"], .nyp[data-screen]) .input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #9a3412; }
:root:root:root:root .app :is([data-screen="auth"], [data-screen^="me-"], .nyp[data-screen]) .btn { border-radius: 0; min-height: 50px; font-weight: 500; font-size: 15px; letter-spacing: .01em; box-shadow: none; text-transform: none; }
:root:root:root:root .app :is([data-screen="auth"], [data-screen^="me-"], .nyp[data-screen]) .btn-primary { background: var(--acc-ink); color: var(--acc-toile); border: 0; }
:root:root:root:root .app :is([data-screen="auth"], [data-screen^="me-"], .nyp[data-screen]) .btn-secondary { background: transparent; color: var(--acc-ink); border: 0; box-shadow: inset 0 0 0 1px var(--acc-ink); }
:root:root:root:root .app :is([data-screen="auth"], [data-screen^="me-"], .nyp[data-screen]) .btn-ghost { background: transparent; color: var(--acc-gdeep); border: 0; text-decoration: underline; text-underline-offset: 3px; }
:root:root:root:root .app :is([data-screen="auth"], [data-screen^="me-"], .nyp[data-screen]) .btn:focus-visible { outline: 2px solid var(--acc-gold); outline-offset: 2px; }
:root:root:root:root .app :is([data-screen="auth"], [data-screen^="me-"], .nyp[data-screen]) .seg { border-radius: 0; background: transparent; padding: 0; gap: 6px; box-shadow: none; }
:root:root:root:root .app :is([data-screen="auth"], [data-screen^="me-"], .nyp[data-screen]) .seg [role="radio"] { border-radius: 0; min-height: 44px; background: transparent; color: var(--acc-ink); box-shadow: inset 0 0 0 1px rgba(18,19,23,.25); font-weight: 400; }
:root:root:root:root .app :is([data-screen="auth"], [data-screen^="me-"], .nyp[data-screen]) .seg [role="radio"][aria-checked="true"] { background: var(--acc-ink); color: var(--acc-gold); box-shadow: inset 0 0 0 1px var(--acc-ink); }
:root:root:root:root .app :is([data-screen="auth"], [data-screen^="me-"], .nyp[data-screen]) a:not(.btn):not([class*="a-"]):not(.me-nav > a) { color: var(--acc-gdeep); }
:root:root:root:root .app :is([data-screen="auth"], [data-screen^="me-"], .nyp[data-screen]) .me-nav > a { min-height: 52px; border-radius: 0; color: var(--acc-ink); border-bottom: 1px solid var(--acc-line); font-weight: 500; }
:root:root:root:root .app :is([data-screen="auth"], [data-screen^="me-"], .nyp[data-screen]) :is(.muted, .faint, .small, .tiny) { color: var(--acc-ash); }
:root:root:root:root .app :is([data-screen="auth"], [data-screen^="me-"], .nyp[data-screen]) .mono-av { border-radius: 0; background: var(--acc-ink); color: var(--acc-gold); }
:root:root:root:root .app :is([data-screen="auth"], [data-screen^="me-"], .nyp[data-screen]) .badge { border-radius: 9px; background: var(--acc-gold); color: var(--acc-ink); }
:root:root:root:root .app :is([data-screen="auth"], [data-screen^="me-"], .nyp[data-screen]) .me-nav > a { color: var(--acc-ink); }
@media (min-width: 601px) { :root:root:root:root .app :is([data-screen="auth"], [data-screen^="me-"]) { background: transparent; } }

/* the booking page's card for her braider's proposed new time (panels Phase 1, Task 13) */
.proposal-card { border: 1px solid var(--gold, #c99a42); background: var(--paper, #fafaf8); }
.proposal-when { display: flex; align-items: center; gap: 8px; margin: 0; }
.proposal-card .btn { min-height: 44px; min-width: 44px; }
/* growth Task 16: Tell us (#/help/tell-us), the stop link (#/stop) and the reminders switch in Privacy. Every control is 44 px or more. */
.consent-row .toggle input { top: -8px; bottom: -8px; height: 44px; }
.tellus { display: grid; gap: 18px; max-width: 560px; margin-top: 18px; }
.tellus .tu-kinds { gap: 10px; }
.tellus .tu-kinds .pill { min-height: 44px; padding: 0 16px; cursor: pointer; }
.tellus .tu-kinds .pill[aria-checked="true"] { background: var(--ny-ink); color: var(--ny-paper); border-color: var(--ny-ink); }
.tellus .select { min-height: 48px; }
.tellus .tu-count { text-align: right; font-variant-numeric: tabular-nums; }
.tellus .btn { justify-self: start; min-width: 160px; }
.tellus[data-tellus-done] { justify-items: start; gap: 12px; padding: 28px 0; }
.tu-seal { width: 60px; height: 60px; border-radius: 99px; background: var(--ny-ok); color: var(--ny-paper); display: grid; place-items: center; flex: none; }
.tu-seal--quiet { background: var(--ny-well); color: var(--ny-ink); }
.stop { display: grid; gap: 16px; justify-items: start; max-width: 560px; padding: 40px 0; }
@media (max-width: 600px) { .tellus .btn { justify-self: stretch; } }
