@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/public/fonts/inter-tight-400.ttf) format('truetype');
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/public/fonts/inter-tight-500.ttf) format('truetype');
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/public/fonts/inter-tight-600.ttf) format('truetype');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/public/fonts/jetbrains-mono-400.ttf) format('truetype');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/public/fonts/jetbrains-mono-500.ttf) format('truetype');
}

:root {
  color-scheme: light;
  --bg: #f4f4f1;
  --surface: #ffffff;
  --ink: #111110;
  --muted: #6b6a65;
  --line: rgba(17, 17, 16, 0.12);
  --line-strong: rgba(17, 17, 16, 0.85);
  --accent: #6e3b4e;
  --sans: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --gutter: clamp(20px, 4vw, 56px);
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
p { line-height: 1.55; margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.02em; }
[hidden] { display: none !important; }

button {
  font: inherit; cursor: pointer; color: inherit; background: transparent;
  border: 1px solid var(--line-strong); border-radius: 0;
  min-height: 48px; padding: 12px 20px;
  transition: background-color .15s ease, color .15s ease;
}
button:disabled { opacity: .55; cursor: wait; }
button:focus-visible, a:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px;
}

.eyebrow, .meta, .tag, .step-no, figcaption, dt {
  font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase;
}
.eyebrow { color: var(--muted); }
.meta { color: var(--muted); }

/* Header */
.site-header, main > section, .site-footer { padding-inline: var(--gutter); }
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 64px; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 10; background: rgba(244, 244, 241, .92);
  backdrop-filter: saturate(150%) blur(8px);
}
.wordmark { font-weight: 600; font-size: 19px; letter-spacing: -0.03em; text-decoration: none; }
.site-header nav { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.site-header nav a { text-decoration: none; color: var(--muted); }
.site-header nav a:hover { color: var(--ink); }
.tag { border: 1px solid var(--line); padding: 5px 8px; color: var(--muted); }

/* Hero */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px); align-items: end;
  padding-top: clamp(48px, 7vw, 104px); padding-bottom: clamp(48px, 6vw, 88px);
  border-bottom: 1px solid var(--line);
}
.hero h1 {
  font-size: clamp(56px, 9vw, 136px); line-height: .92; letter-spacing: -0.055em;
  font-weight: 500; margin: 20px 0 28px;
}
.intro { font-size: clamp(17px, 1.4vw, 19px); max-width: 30em; color: #3b3a36; }
.hero-actions { display: flex; align-items: center; gap: 20px; margin-top: 32px; flex-wrap: wrap; }
.primary {
  background: var(--ink); color: #fff; border-color: var(--ink);
  font-weight: 500; padding: 14px 22px; display: inline-flex; gap: 40px;
}
.primary:hover { background: var(--accent); border-color: var(--accent); }
.hero-stats {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start;
  gap: 0; margin: 56px 0 0; border-top: 1px solid var(--line);
}
.hero-stats div { padding: 16px 40px 0 0; }
.hero-stats dt { color: var(--muted); }
.hero-stats dd { margin: 6px 0 0; font-size: 28px; letter-spacing: -0.03em; font-weight: 500; }
.hero-media { margin: 0; background: #e9e7e2; }
.hero-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 38%; }
.hero-media figcaption { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0 0; background: var(--bg); color: var(--muted); }

/* Steps */
.steps {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}
.steps > div { padding: 32px 32px 40px 0; }
.steps > div + div { padding-left: 32px; border-left: 1px solid var(--line); }
.step-no { color: var(--accent); }
.steps h2 { font-size: 24px; margin: 14px 0 10px; }
.steps p { color: var(--muted); font-size: 15px; max-width: 26em; }

/* Sample */
#sample { padding-top: clamp(56px, 6vw, 96px); padding-bottom: 96px; scroll-margin-top: 64px; }
.section-head { display: grid; gap: 12px; margin-bottom: 32px; }
.section-head.row { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.section-head h2, .about > h2 { font-size: clamp(34px, 4.2vw, 60px); line-height: 1; letter-spacing: -0.045em; max-width: 16em; }
.section-head h2:focus { outline: none; }
.notice { font-size: 14px; color: var(--muted); max-width: 46em; border-left: 2px solid var(--accent); padding-left: 14px; }

.looks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.look-card { background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.look-card > .eyebrow { padding: 18px 20px 0; }
.look-card > h3 { padding: 6px 20px 18px; font-size: 26px; letter-spacing: -0.03em; }

.preview-pair { position: relative; background: #e9e7e2; }
.preview-pair figure { margin: 0; }
.preview-pair figure:last-child img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 40%; }
.preview-pair figure:first-child {
  position: absolute; right: 12px; bottom: 12px; width: 30%; z-index: 1;
  border: 3px solid #fff; box-shadow: 0 2px 12px rgba(0, 0, 0, .12); background: #fff;
}
.preview-pair figure:first-child img { aspect-ratio: 1; object-fit: cover; object-position: 50% 40%; }
.preview-pair figcaption { font-size: 10px; padding: 4px 6px; background: #fff; color: var(--muted); }
.preview-pair figure:last-child figcaption { position: absolute; left: 12px; top: 12px; background: rgba(255, 255, 255, .9); }

.preview-missing {
  min-height: 220px; background: #e9e7e2; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px; font-size: 13px; color: var(--muted);
}
.preview-missing small { font-family: var(--mono); font-size: 10px; text-transform: uppercase; }
.colour-strip { display: flex; gap: 6px; }
.colour-strip span { width: 40px; height: 40px; border-radius: 50%; }

.recipe-list { list-style: none; margin: 0; padding: 8px 20px 4px; flex: 1; }
.recipe-list li {
  display: grid; grid-template-columns: 14px 1fr auto; align-items: center; gap: 10px;
  padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px;
}
.recipe-list li:last-child { border-bottom: 0; }
.recipe-list .dot { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.recipe-list strong { font-weight: 500; }
.recipe-list span:last-child { color: var(--muted); font-size: 13px; text-align: right; }

.select-button { margin: 12px 20px 20px; font-weight: 500; }
.select-button:hover { background: var(--ink); color: #fff; }
.select-button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.select-button[aria-pressed="true"]::before { content: "✓  "; }

/* Basket */
.basket-area { margin-top: clamp(72px, 8vw, 120px); padding-top: 40px; border-top: 1px solid var(--line-strong); }
.quiet { font-size: 14px; min-height: 44px; padding: 8px 16px; border-color: var(--line); color: var(--muted); }
.quiet:hover { color: var(--ink); border-color: var(--ink); }
#announcement { margin-bottom: 16px; }
.empty { padding: 48px 24px; border: 1px dashed rgba(17, 17, 16, .25); color: var(--muted); text-align: center; }

.results-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.basket-list { border-top: 1px solid var(--line); }
.basket-item { padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.item-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.item-heading h4 { font-size: 19px; letter-spacing: -0.02em; }
.item-heading strong { font-size: 19px; font-weight: 500; font-variant-numeric: tabular-nums; }
.basket-item p { font-size: 14px; color: #3b3a36; }
.basket-item p.small { color: var(--muted); font-size: 13px; }
.basket-item p.small:last-child { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .03em; }
.product-links { list-style: none; padding: 10px 0 4px; margin: 4px 0 0; border-top: 1px dashed var(--line); }
.product-links li { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; font-size: 13px; }
.product-links a { color: var(--ink); overflow-wrap: anywhere; }
.product-links span { color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }

.cost-lines { margin-top: 8px; }
.cost-lines > div { display: flex; justify-content: space-between; padding: 10px 0; font-size: 15px; color: var(--muted); }
.cost-lines strong { font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.cost-lines > div:last-child { color: var(--ink); font-size: 24px; letter-spacing: -0.02em; border-top: 1px solid var(--line-strong); padding-top: 16px; margin-top: 6px; }

.comparison { background: var(--ink); color: #f4f4f1; padding: 28px; position: sticky; top: 88px; }
.comparison .eyebrow { color: #a9a8a2; }
.comparison h3 { font-size: clamp(30px, 3vw, 44px); line-height: 1; letter-spacing: -0.045em; margin: 14px 0 28px; }
.comparison-row { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .16); font-size: 15px; color: #c9c8c2; }
.comparison-row strong { font-size: 22px; font-weight: 500; color: #fff; font-variant-numeric: tabular-nums; }
.comparison-row:first-of-type strong { text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, .45); color: #c9c8c2; }
.comparison .saving { margin-top: 18px; padding: 10px 12px; background: #fff; color: var(--ink); font-family: var(--mono); font-size: 12px; text-transform: uppercase; display: inline-block; }
.comparison p:not(.saving):not(.eyebrow) { font-size: 13px; color: #a9a8a2; margin-top: 18px; }
.comparison details { margin-top: 20px; border-top: 1px solid rgba(255, 255, 255, .16); }
.comparison summary { cursor: pointer; padding: 14px 0 6px; font-size: 14px; }
.comparison .basket-list { border-top-color: rgba(255, 255, 255, .16); }
.comparison .basket-item { border-bottom-color: rgba(255, 255, 255, .16); }
.comparison .basket-item p, .comparison .basket-item p.small, .comparison .product-links span { color: #c9c8c2; }
.comparison .product-links a { color: #fff; }
.comparison .product-links { border-top-color: rgba(255, 255, 255, .16); }
.comparison .item-heading h4, .comparison .item-heading strong { font-size: 16px; }

/* About */
.about { padding-top: 80px; padding-bottom: 88px; border-top: 1px solid var(--line); }
.about > h2 { margin-top: 12px; }
.about-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 40px; }
.about-grid > div { border-top: 1px solid var(--line-strong); padding-top: 16px; }
.about-grid h3 { font-size: 18px; margin-bottom: 10px; }
.about-grid p { font-size: 15px; color: var(--muted); }

/* Footer */
.site-footer {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  padding-block: 28px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted);
}
.site-footer .wordmark { color: var(--ink); }

/* Responsive */
@media (max-width: 960px) {
  .looks { grid-template-columns: 1fr 1fr; }
  .results-grid { grid-template-columns: 1fr; }
  .comparison { position: static; }
}
@media (max-width: 720px) {
  .site-header nav a { display: none; }
  .hero { grid-template-columns: 1fr; align-items: start; }
  .hero-media { order: -1; }
  .hero-media img { aspect-ratio: 1; }
  .hero-stats div { padding-right: 24px; }
  .hero-stats dd { font-size: 22px; }
  .steps { grid-template-columns: 1fr; }
  .steps > div, .steps > div + div { padding: 24px 0; border-left: 0; }
  .steps > div + div { border-top: 1px solid var(--line); }
  .looks { grid-template-columns: 1fr; }
  .section-head.row { flex-direction: column; align-items: start; }
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .primary { width: 100%; justify-content: space-between; }
}

/* Eye-focused crops: the product is the eye look, so crop to it */
.preview-pair figure:last-child { overflow: hidden; }
.preview-pair figure:last-child img {
  aspect-ratio: 16 / 10; object-position: 50% 37%;
  transform: scale(2.1); transform-origin: 50% 37%;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.look-card:hover .preview-pair figure:last-child img { transform: scale(2.25); }
.preview-pair figure:first-child { width: 24%; }
.hero-media { overflow: hidden; }
.hero-media img { transform: scale(1.55); transform-origin: 50% 36%; }

/* Motion */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes reveal { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.hero-copy > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero-copy > *:nth-child(2) { animation-delay: .08s; }
.hero-copy > *:nth-child(3) { animation-delay: .16s; }
.hero-copy > *:nth-child(4) { animation-delay: .24s; }
.hero-copy > *:nth-child(5) { animation-delay: .32s; }
.hero-media { animation: reveal 1.1s cubic-bezier(.7, 0, .2, 1) .1s both; }
#sample:not([hidden]) .look-card { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
#sample:not([hidden]) .look-card:nth-child(2) { animation-delay: .08s; }
#sample:not([hidden]) .look-card:nth-child(3) { animation-delay: .16s; }
.results-grid { animation: rise .5s cubic-bezier(.2, .7, .2, 1) both; }
.primary span { transition: transform .2s ease; }
.primary:hover span { transform: translateX(4px); }
.look-card { transition: border-color .2s ease; }
.look-card:has([aria-pressed="true"]) { border-color: var(--ink); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Hero: the three looks as eye crops */
.hero-media { background: none; overflow: visible; animation: none; }
.hero-media img { transform: none; }
.hero-strip { display: grid; gap: 6px; }
.hero-strip > div { position: relative; overflow: hidden; background: #e9e7e2; animation: reveal 1s cubic-bezier(.7, 0, .2, 1) both; }
.hero-strip > div:nth-child(2) { animation-delay: .12s; }
.hero-strip > div:nth-child(3) { animation-delay: .24s; }
.hero-strip img {
  width: 100%; aspect-ratio: 3.2 / 1; object-fit: cover; object-position: 50% 37%;
  transform: scale(2.3); transform-origin: 50% 37%;
}
.hero-strip span {
  position: absolute; left: 10px; bottom: 10px; font-family: var(--mono); font-size: 10.5px;
  text-transform: uppercase; letter-spacing: .04em; background: rgba(255, 255, 255, .92); padding: 4px 7px;
}

/* ===== Motion pass (Awwwards-style: preloader, line masks, scroll reveals, marquee) ===== */
.loader {
  position: fixed; inset: 0; z-index: 100; background: var(--ink); color: #f4f4f1;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  padding: var(--gutter); transition: transform .9s cubic-bezier(.76, 0, .24, 1);
  animation: loader-failsafe 0s 3s forwards;
}
.loader-word { font-size: clamp(48px, 10vw, 152px); font-weight: 500; letter-spacing: -0.055em; line-height: .9; }
.loader-count { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; padding-bottom: 8px; font-variant-numeric: tabular-nums; }
.is-loaded .loader { transform: translateY(-100%); }
@keyframes loader-failsafe { to { transform: translateY(-100%); visibility: hidden; } }

/* Headline line masks */
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero h1 .line > span { display: block; }
.js .hero h1 .line > span { transform: translateY(110%); }
.is-loaded .hero h1 .line > span { transform: none; transition: transform 1.1s cubic-bezier(.16, 1, .3, 1) .45s; }
.is-loaded .hero h1 .line + .line > span { transition-delay: .55s; }

/* Hero copy & media wait for the loader */
.hero-copy > * { animation-duration: .9s; }
.hero-copy > h1 { animation: none; }
.hero-copy > *:nth-child(1) { animation-delay: 1s; }
.hero-copy > *:nth-child(3) { animation-delay: 1.15s; }
.hero-copy > *:nth-child(4) { animation-delay: 1.25s; }
.hero-copy > *:nth-child(5) { animation-delay: 1.35s; }
.hero-strip > div { animation-duration: 1.2s; animation-delay: .95s; }
.hero-strip > div:nth-child(2) { animation-delay: 1.07s; }
.hero-strip > div:nth-child(3) { animation-delay: 1.19s; }
.hero-strip img { transform: translateY(var(--py, 0px)) scale(2.3); will-change: transform; }

/* Marquee */
.marquee { overflow: hidden; border-bottom: 1px solid var(--line); padding-block: clamp(18px, 2.4vw, 30px); }
.marquee-track {
  display: flex; width: max-content; animation: marquee 32s linear infinite;
  font-size: clamp(30px, 4.6vw, 68px); font-weight: 500; letter-spacing: -0.045em; line-height: 1; white-space: nowrap;
}
.marquee-track span { display: inline-flex; align-items: center; gap: .35em; padding-right: .9em; }
.marquee-track i { width: .42em; height: .42em; border-radius: 50%; display: inline-block; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Scroll reveals (only when JS is running, so content never stays hidden) */
#sample:not([hidden]) .look-card, .results-grid { animation: none; }
.js [data-reveal], .js .look-card, .js .basket-item {
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s ease, transform 1s cubic-bezier(.16, 1, .3, 1), border-color .2s ease;
}
.js .look-card:nth-child(2) { transition-delay: .08s; }
.js .look-card:nth-child(3) { transition-delay: .16s; }
.js .steps > div:nth-child(2) { transition-delay: .08s; }
.js .steps > div:nth-child(3) { transition-delay: .16s; }
.js [data-reveal].in, .js .look-card.in, .js .basket-item.in { opacity: 1; transform: none; }

/* Micro-interactions */
.site-header nav a {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .35s cubic-bezier(.16, 1, .3, 1), color .2s ease; padding-bottom: 2px;
}
.site-header nav a:hover { background-size: 100% 1px; }
.select-button { position: relative; overflow: hidden; isolation: isolate; }
.select-button::after {
  content: ""; position: absolute; inset: 0; background: var(--ink); z-index: -1;
  transform: scaleY(0); transform-origin: bottom; transition: transform .45s cubic-bezier(.16, 1, .3, 1);
}
.select-button:hover { background: transparent; }
.select-button:hover::after, .select-button[aria-pressed="true"]::after { transform: scaleY(1); }
.select-button[aria-pressed="true"] { background: transparent; }
.primary { position: relative; overflow: hidden; isolation: isolate; }
.primary::after {
  content: ""; position: absolute; inset: 0; background: var(--accent); z-index: -1;
  transform: translateX(-101%); transition: transform .5s cubic-bezier(.16, 1, .3, 1);
}
.primary:hover { background: var(--ink); }
.primary:hover::after { transform: none; }
.look-card .preview-pair figure:last-child img { transition: transform .9s cubic-bezier(.16, 1, .3, 1); }

@media (prefers-reduced-motion: reduce) {
  .loader { display: none; }
  .js .hero h1 .line > span, .js [data-reveal], .js .look-card, .js .basket-item { transform: none; opacity: 1; }
  .marquee-track { animation: none; }
}
.about > div > h2 { font-size: clamp(34px, 4.2vw, 60px); line-height: 1; letter-spacing: -0.045em; margin-top: 12px; }

/* ===== v3: image-led, less copy ===== */
.site-header { background: rgba(13, 13, 12, .85); border-bottom-color: rgba(255, 255, 255, .1); color: #f4f4f1; }
.site-header nav a { color: #a9a8a2; }
.site-header nav a:hover { color: #fff; }
.site-header .tag { border-color: rgba(255, 255, 255, .2); color: #a9a8a2; }

.hero {
  display: flex; flex-direction: column; gap: 0; min-height: calc(100vh - 64px);
  background: #0d0d0c; color: #f4f4f1; border-bottom: 0;
  padding-top: clamp(24px, 3vw, 40px); padding-bottom: clamp(24px, 3vw, 40px);
}
.hero-top { display: flex; justify-content: space-between; }
.hero .eyebrow { color: #8d8c86; }
.hero h1 { font-size: clamp(64px, 13.5vw, 230px); line-height: .86; letter-spacing: -0.06em; margin: clamp(24px, 4vw, 56px) 0 clamp(24px, 3vw, 40px); }
.hero-panels { display: flex; gap: 8px; flex: 1; min-height: 240px; }
.panel { position: relative; margin: 0; flex: 1; overflow: hidden; background: #1c1c1a; transition: flex-grow .8s cubic-bezier(.16, 1, .3, 1); animation: reveal 1.2s cubic-bezier(.7, 0, .2, 1) both; }
.panel:nth-child(1) { animation-delay: .95s; }
.panel:nth-child(2) { animation-delay: 1.07s; }
.panel:nth-child(3) { animation-delay: 1.19s; }
.hero-panels:hover .panel { flex-grow: .8; }
.hero-panels .panel:hover { flex-grow: 1.7; }
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 37%; transform: translateY(var(--py, 0px)) scale(2.1); transform-origin: 50% 37%; transition: transform 1.2s cubic-bezier(.16, 1, .3, 1); }
.panel:hover img { transform: translateY(var(--py, 0px)) scale(2.3); }
.panel figcaption { position: absolute; left: 14px; bottom: 12px; display: flex; gap: 10px; color: #fff; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.panel figcaption span { opacity: .6; }
.hero-bottom { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-top: clamp(20px, 2.5vw, 32px); animation: rise .9s cubic-bezier(.2, .7, .2, 1) 1.3s both; }
.hero .intro { color: #c9c8c2; font-size: clamp(17px, 1.5vw, 22px); line-height: 1.35; }
.hero .primary { background: #f4f4f1; color: var(--ink); border-color: #f4f4f1; padding: 18px 26px; font-size: 17px; }
.hero .primary:hover { color: #fff; }

.marquee { background: #0d0d0c; color: #f4f4f1; border-bottom: 0; border-top: 1px solid rgba(255, 255, 255, .1); }

/* Less copy in the flow */
.section-head h2 { font-size: clamp(40px, 6vw, 92px); letter-spacing: -0.055em; }
.notice { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .03em; border-left: 0; padding-left: 0; }
.recipe-list li { grid-template-columns: 14px 1fr auto; }


.comparison h3 { font-size: clamp(36px, 3.6vw, 56px); }

.about {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px;
  padding-top: 40px; padding-bottom: 48px; border-top: 1px solid var(--line-strong);
}
.about p { font-size: 14px; color: var(--muted); margin-top: 8px; max-width: 30em; }

@media (max-width: 720px) {
  .hero { min-height: auto; }
  .hero-panels { flex-direction: column; min-height: 0; }
  .panel { flex: none; aspect-ratio: 16 / 7; }
  .hero-panels:hover .panel, .hero-panels .panel:hover { flex-grow: 0; }
  .hero-bottom { flex-direction: column; align-items: stretch; }
  .about { grid-template-columns: 1fr; gap: 20px; }
}
.hero { align-items: stretch; }
.hero-top { gap: 16px; }

@media (prefers-reduced-motion: reduce) {
  .hero-panels:hover .panel, .hero-panels .panel:hover { flex-grow: 1; }
  .panel:hover img { transform: scale(2.1); }
  .look-card:hover .preview-pair figure:last-child img { transform: scale(2.1); }
  .primary:hover span { transform: none; }
}

/* Chad's final compact presentation: retain recipe data and product links. */
.recipe-list li { grid-template-columns: 14px 1fr; }
.recipe-list li > span:last-child { display: none; }
.basket-item > p.small:last-child,
.comparison > p:not(.saving):not(.eyebrow) { display: none; }
.live-badge { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); }
.live-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2f8f5b; box-shadow: 0 0 0 0 rgba(47, 143, 91, .5); animation: pulse 2s infinite; }
.live-badge[data-state="warn"]::before { background: #c27c1f; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(47, 143, 91, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 143, 91, 0); } }

/* Calmer: no hover zooms, compact footer notes */
.panel, .panel img, .hero-panels:hover .panel, .hero-panels .panel:hover { transition: none; }
.hero-panels:hover .panel, .hero-panels .panel:hover { flex-grow: 1; }
.panel:hover img { transform: scale(2.1); }
.look-card:hover .preview-pair figure:last-child img { transform: scale(2.1); }
.about { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; padding-top: 24px; padding-bottom: 24px; }
.about p { margin: 0; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }

/* Simpler basket header and empty state */
.basket-area { border-top: 1px solid var(--line); padding-top: 32px; }
.basket-area .section-head { margin-bottom: 12px; align-items: baseline; }
.basket-area .section-head h2 { font-size: clamp(32px, 4vw, 56px); }
.basket-area .section-head .eyebrow { display: none; }
.quiet { border: 0; min-height: 0; padding: 0; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; color: var(--muted); }
.quiet:hover { color: var(--ink); background: none; }
#announcement, .live-badge { display: inline-flex; margin: 0 24px 24px 0; }
.empty { border: 0; padding: 0 0 8px; text-align: left; font-size: 16px; color: var(--muted); }
.about { border-top: 1px solid var(--line); }
@media (min-width: 900px) { .about p { white-space: nowrap; } }

/* Hero fits one screen: no scrolling to reach the looks or the button */
@media (min-width: 721px) {
  .hero { height: calc(100svh - 64px); min-height: 560px; }
  .hero h1 { font-size: clamp(48px, min(8.5vw, 14vh), 150px); margin: clamp(12px, 2.5vh, 32px) 0 clamp(16px, 3vh, 32px); }
  .hero-panels { flex: 1 1 auto; min-height: 0; }
  .hero-bottom { margin-top: clamp(14px, 2.5vh, 28px); }
}
@media (min-width: 721px) { .panel img, .panel:hover img { transform: scale(2.7); } }
/* Gentle hover zoom on the hero looks (no layout shift) */
@media (min-width: 721px) and (hover: hover) {
  .panel img { transition: transform .9s cubic-bezier(.16, 1, .3, 1); }
  .panel:hover img { transform: scale(2.85); }
}
@media (prefers-reduced-motion: reduce) { .panel:hover img { transform: scale(2.7); } }

/* Optional consented-photo flow; the fixed sample remains independent. */
.photo-upload { border: 1px solid var(--line); padding: 20px; margin-bottom: 28px; }
.photo-upload summary { cursor: pointer; font-size: 18px; padding: 4px 0; }
.photo-upload p, .photo-upload label { display: block; margin: 14px 0; line-height: 1.5; max-width: 72ch; }
.photo-upload .small, #photo-status { font-size: 13px; color: var(--muted); }
.photo-upload input[type="file"] { display: block; width: 100%; max-width: 100%; padding: 12px 0; }
.photo-upload input[type="checkbox"] { width: 18px; height: 18px; vertical-align: middle; margin-right: 8px; }
.photo-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
@media(max-width:720px){ .photo-actions button { width: 100%; } }
.footer-note { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); text-align: center; }

/* Header blends into the hero: same black, no bar, no boxes */
.site-header { position: static; background: #0d0d0c; border-bottom: 0; backdrop-filter: none; height: 72px; }
.site-header .tag { border: 0; padding: 0; color: #8d8c86; font-size: 11px; }
.site-header nav a { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; }

/* Marquee inside the hero, visible without scrolling */
.hero-marquee {
  margin: clamp(16px, 2.5vh, 28px) calc(var(--gutter) * -1) calc(clamp(24px, 3vw, 40px) * -1);
  padding-block: clamp(12px, 1.8vh, 20px); background: #0d0d0c; color: #f4f4f1;
  border-top: 1px solid rgba(255, 255, 255, .1); border-bottom: 0;
}
.hero-marquee .marquee-track { font-size: clamp(22px, min(3vw, 4.5vh), 44px); animation-duration: 36s; }
@media (prefers-reduced-motion: reduce) { .hero-marquee .marquee-track { animation: none; } }
.hero { padding-bottom: 0; }
.hero-marquee { margin-bottom: 0; }
@media (min-width: 721px) { .hero { height: calc(100svh - 72px); } }
@media (min-width: 721px) { .hero h1 { font-size: clamp(44px, min(8.5vw, 12vh), 150px); } .hero { overflow: hidden; } }

/* Final tweaks: key result in the hero, smaller band, readable panel labels */
.hero { position: relative; }
.hero-result {
  position: absolute; right: var(--gutter); top: clamp(96px, 16vh, 170px); width: min(320px, 30vw);
  display: grid; gap: 6px; padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, .18);
  animation: rise .9s cubic-bezier(.2, .7, .2, 1) 1.2s both;
}
.hero-result strong { font-size: clamp(40px, 5vw, 72px); font-weight: 500; letter-spacing: -0.05em; line-height: 1; color: #f4f4f1; }
.hero-result span:last-child { font-size: 14px; line-height: 1.45; color: #a9a8a2; }
.hero-marquee { padding-block: clamp(10px, 1.4vh, 16px); }
.hero-marquee .marquee-track { font-size: clamp(18px, min(2.2vw, 3.4vh), 32px); }
.panel figcaption { background: rgba(13, 13, 12, .62); padding: 5px 8px; text-shadow: none; backdrop-filter: blur(4px); }
.panel figcaption span { opacity: .65; }
@media (max-width: 900px) { .hero-result { display: none; } }
.hero-result { top: clamp(110px, 15vh, 150px); z-index: 2; gap: 4px; }
.hero-result strong { font-size: clamp(36px, min(4vw, 6vh), 60px); }
.hero-result span:last-child { font-size: 13px; }
.hero-result { position: static; width: auto; max-width: 360px; margin: 0 0 0 auto; display: flex; align-items: center; gap: 14px; padding: 0 24px 0 0; border: 0; animation: none; }
.hero-result strong { font-size: clamp(28px, 2.6vw, 40px); }
.hero-result span { font-size: 13px; line-height: 1.4; color: #a9a8a2; }
.hero-note { text-align: right; max-width: 62%; color: #6f6e69; }
@media (max-width: 720px) { .hero-top { flex-direction: column; } .hero-note { text-align: left; max-width: none; } }
/* Marquee: never pauses, never shows a gap (4 copies, moves by half) */
.marquee:hover .marquee-track { animation-play-state: running; }
.hero-marquee .marquee-track { animation-duration: 60s; }
.basket-note { display: block; margin: 0 0 20px; }
.comparison p:not(.saving):not(.eyebrow) { display: block; font-size: 12px; }

/* Try the sample opens the sample as its own page */
.in-sample .hero { display: none; }
.in-sample .site-header { background: var(--bg); color: var(--ink); }
.in-sample #sample { padding-top: 32px; animation: rise .6s cubic-bezier(.2, .7, .2, 1) both; }
.back-link { justify-self: start; border: 0; min-height: 0; padding: 0; margin-bottom: 16px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.back-link:hover { color: var(--ink); background: none; }

/* Simple photo bar: one button, one consent tick */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.photo-upload { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; border: 0; padding: 0; margin: 4px 0 28px; }
.photo-upload .photo-button { display: inline-flex; align-items: center; min-height: 48px; padding: 12px 22px; margin: 0; background: var(--ink); color: #fff; cursor: pointer; font-weight: 500; }
.photo-upload .photo-button:hover { background: var(--accent); }
.photo-upload input[type="file"]:focus-visible + .photo-button, .photo-upload .photo-button:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.photo-upload .consent { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; color: var(--muted); max-width: none; }
.photo-upload .consent input { margin: 0; }
#photo-status { flex-basis: 100%; margin: 0; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); }
#photo-status:empty { display: none; }

/* Choose first: own photo or the sample face. Looks appear after a choice. */
body:not(.show-looks) #looks, body:not(.show-looks) .basket-area, body:not(.show-looks) #sample-notice { display: none; }
.photo-upload .sample-choice { min-height: 48px; padding: 12px 22px; border: 1px solid var(--ink); background: transparent; font-weight: 500; }
.photo-upload .sample-choice:hover { background: var(--ink); color: #fff; }
.photo-upload .consent { flex-basis: 100%; order: 3; }
#photo-status { order: 4; }

/* Choice screen: two clear cards, Back in the header */
.site-header .back-link { display: none; margin: 0; }
.in-sample .site-header .back-link { display: inline-flex; gap: 8px; align-items: center; font-size: 12px; }
.in-sample .site-header { border-bottom: 1px solid var(--line); }
.photo-upload { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 8px 0 40px; }
.choice-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  min-height: clamp(300px, 46vh, 460px); padding: 28px; margin: 0; text-align: left; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); overflow: hidden; font: inherit;
  transition: border-color .2s ease, transform .4s cubic-bezier(.16, 1, .3, 1);
}
.choice-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.choice-own { background: #0d0d0c; color: #f4f4f1; border-color: #0d0d0c; }
.choice-sample img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: saturate(.95); }
.choice-sample::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(13, 13, 12, .78) 0%, rgba(13, 13, 12, .15) 55%, transparent 100%); }
.choice-sample > span { position: relative; z-index: 1; color: #f4f4f1; }
.choice-no { position: absolute !important; top: 24px; left: 28px; font-family: var(--mono); font-size: 11px; opacity: .7; }
.choice-title { font-size: clamp(30px, 3.4vw, 48px); font-weight: 500; letter-spacing: -0.045em; line-height: 1; }
.choice-sub { font-size: 15px; line-height: 1.45; opacity: .78; max-width: 26em; }
.choice-cta { margin-top: 10px; display: inline-flex; gap: 10px; align-items: center; font-weight: 500; font-size: 16px; }
.choice-cta span { transition: transform .25s ease; }
.choice-card:hover .choice-cta span { transform: translateX(4px); }
.choice-note { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em; opacity: .6; }
.photo-upload input[type="file"]:focus-visible + .choice-own { outline: 2px solid var(--accent); outline-offset: 3px; }
#photo-status { grid-column: 1 / -1; }
/* After a choice, the cards become a compact switcher */
.show-looks .choice-card { min-height: 0; padding: 18px 22px; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 6px 14px; }
.show-looks .choice-card img, .show-looks .choice-sample::after, .show-looks .choice-sub, .show-looks .choice-note, .show-looks .choice-no { display: none; }
.show-looks .choice-title { font-size: 20px; letter-spacing: -0.02em; }
.show-looks .choice-cta { margin: 0 0 0 auto; font-size: 14px; }
@media (max-width: 720px) { .photo-upload { grid-template-columns: 1fr; } .choice-card { min-height: 260px; } }
.photo-upload .choice-card { display: flex; max-width: none; line-height: 1.2; }
.photo-upload .show-looks .choice-card, .show-looks .photo-upload .choice-card { display: flex; }
/* Face guide on the "your photo" card */
.choice-own::before {
  content: ""; position: absolute; left: 50%; top: 14%; width: 34%; aspect-ratio: 3 / 4; transform: translateX(-50%);
  border: 1.5px dashed rgba(244, 244, 241, .35); border-radius: 50% / 45%;
}
.choice-own::after {
  content: ""; position: absolute; left: 50%; top: calc(14% + 2px); width: calc(34% + 40px); aspect-ratio: 3 / 4; transform: translateX(-50%);
  background:
    linear-gradient(#f4f4f1, #f4f4f1) top left / 18px 2px no-repeat, linear-gradient(#f4f4f1, #f4f4f1) top left / 2px 18px no-repeat,
    linear-gradient(#f4f4f1, #f4f4f1) top right / 18px 2px no-repeat, linear-gradient(#f4f4f1, #f4f4f1) top right / 2px 18px no-repeat,
    linear-gradient(#f4f4f1, #f4f4f1) bottom left / 18px 2px no-repeat, linear-gradient(#f4f4f1, #f4f4f1) bottom left / 2px 18px no-repeat,
    linear-gradient(#f4f4f1, #f4f4f1) bottom right / 18px 2px no-repeat, linear-gradient(#f4f4f1, #f4f4f1) bottom right / 2px 18px no-repeat;
  opacity: .55;
}
.show-looks .choice-own::before, .show-looks .choice-own::after { display: none; }
.choice-own::before { left: 74%; } .choice-own::after { left: 74%; }
@media (max-width: 720px) { .choice-own::before, .choice-own::after { display: none; } }

/* Basket appears only after an approval; status lines sit quietly under it */
body:not(.has-basket) .basket-area { display: none; }
#announcement { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.basket-area { display: flex; flex-direction: column; }
.basket-area > .section-head { order: 1; }
.basket-area > #result { order: 2; }
.basket-area > .live-badge { order: 3; margin: 24px 0 6px; }
.basket-area > .basket-note { order: 4; margin: 0; }

/* Viewfinder: brackets, camera icon and a slow scanning line */
.choice-own::before, .choice-own::after { display: none; }
.viewfinder {
  position: absolute; left: 72%; top: 50%; transform: translate(-50%, -55%); width: min(36%, 260px); aspect-ratio: 3 / 4;
  display: grid; place-items: center; color: rgba(244, 244, 241, .85); overflow: hidden;
  background:
    linear-gradient(currentColor, currentColor) top left / 22px 2px no-repeat, linear-gradient(currentColor, currentColor) top left / 2px 22px no-repeat,
    linear-gradient(currentColor, currentColor) top right / 22px 2px no-repeat, linear-gradient(currentColor, currentColor) top right / 2px 22px no-repeat,
    linear-gradient(currentColor, currentColor) bottom left / 22px 2px no-repeat, linear-gradient(currentColor, currentColor) bottom left / 2px 22px no-repeat,
    linear-gradient(currentColor, currentColor) bottom right / 22px 2px no-repeat, linear-gradient(currentColor, currentColor) bottom right / 2px 22px no-repeat;
}
.viewfinder svg { width: 30%; opacity: .9; transition: transform .5s cubic-bezier(.16, 1, .3, 1); }
.choice-own:hover .viewfinder svg { transform: scale(1.08); }
.viewfinder .scan {
  position: absolute; left: 8%; right: 8%; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, #c59648, #704653, transparent);
  box-shadow: 0 0 18px 4px rgba(197, 150, 72, .35); animation: scan 2.8s cubic-bezier(.45, 0, .55, 1) infinite alternate;
}
@keyframes scan { from { top: 6%; } to { top: 94%; } }
.show-looks .viewfinder { display: none; }
@media (max-width: 720px) { .viewfinder { display: none; } }
@media (prefers-reduced-motion: reduce) { .viewfinder .scan { animation: none; top: 50%; } }

/* Steps: face → looks → kit. One screen at a time. */
.step-back { display: none; margin-bottom: 18px; }
.show-looks .photo-upload { display: none; }
.show-looks #sample > .section-head .step-back { display: inline-flex; gap: 8px; align-items: center; }
.show-looks #sample > .section-head .eyebrow { display: none; }
.kit-bar { display: none; }
body.show-looks.has-basket:not(.show-kit) .kit-bar {
  display: flex; justify-content: center; position: sticky; bottom: 20px; margin-top: 24px; z-index: 5;
}
.kit-bar .primary { box-shadow: 0 10px 30px rgba(13, 13, 12, .25); padding: 16px 28px; font-size: 16px; }
body:not(.show-kit) .basket-area { display: none !important; }
.show-kit #sample > .section-head, .show-kit #looks, .show-kit .photo-upload, .show-kit .kit-bar { display: none !important; }
.show-kit .basket-area { margin-top: 0; padding-top: 0; border-top: 0; animation: rise .5s cubic-bezier(.2, .7, .2, 1) both; }
.show-kit .basket-area .step-back { display: inline-flex; gap: 8px; align-items: center; }
.show-kit .basket-area .eyebrow { display: none; }

/* Looks step fits one screen; kit button floats. */
.show-looks #sample { padding-top: 20px; padding-bottom: 20px; }
.show-looks:not(.show-kit) #sample > .section-head { grid-template-columns: auto 1fr; align-items: end; column-gap: 28px; row-gap: 4px; margin-bottom: 16px; }
.show-looks:not(.show-kit) #sample > .section-head .step-back { grid-column: 1 / -1; margin-bottom: 4px; }
.show-looks #sample > .section-head h2 { font-size: clamp(30px, 3.4vw, 48px); }
.show-looks #sample-notice { margin: 0 0 6px; }
.show-looks .look-card > .eyebrow { padding: 12px 16px 0; }
.show-looks .look-card > h3 { padding: 2px 16px 10px; font-size: 21px; }
.show-looks .preview-pair figure:last-child img { aspect-ratio: auto; height: clamp(130px, calc(100svh - 470px), 340px); }
.show-looks .preview-pair figure:first-child { width: 19%; }
.show-looks .recipe-list { padding: 2px 16px; }
.show-looks .recipe-list li { padding: 5px 0; font-size: 13px; }
.show-looks .select-button { margin: 8px 16px 14px; padding: 11px; }
body.show-looks.has-basket:not(.show-kit) .kit-bar { position: fixed; left: 0; right: 0; bottom: 22px; margin: 0; pointer-events: none; animation: rise .4s cubic-bezier(.2, .7, .2, 1) both; }
.kit-bar .primary { pointer-events: auto; }
.show-kit #sample { padding-top: 20px; }

/* Viewfinder v2: face outline in clean brackets */
.choice-no { display: none; }
.viewfinder {
  height: 70%; width: auto; top: 50%; transform: translate(-50%, -50%); color: rgba(244, 244, 241, .9);
  background:
    linear-gradient(currentColor, currentColor) top left / 26px 1.5px no-repeat, linear-gradient(currentColor, currentColor) top left / 1.5px 26px no-repeat,
    linear-gradient(currentColor, currentColor) top right / 26px 1.5px no-repeat, linear-gradient(currentColor, currentColor) top right / 1.5px 26px no-repeat,
    linear-gradient(currentColor, currentColor) bottom left / 26px 1.5px no-repeat, linear-gradient(currentColor, currentColor) bottom left / 1.5px 26px no-repeat,
    linear-gradient(currentColor, currentColor) bottom right / 26px 1.5px no-repeat, linear-gradient(currentColor, currentColor) bottom right / 1.5px 26px no-repeat;
}
.viewfinder svg { width: 62%; margin-top: 18%; opacity: .55; }
.viewfinder .scan { left: 0; right: 0; height: 1.5px; box-shadow: 0 0 22px 6px rgba(197, 150, 72, .28); }
.viewfinder .scan::after { content: ""; position: absolute; left: 0; right: 0; bottom: 1px; height: 46px; background: linear-gradient(to top, rgba(197, 150, 72, .14), transparent); }
@keyframes scan { from { top: 4%; } to { top: 96%; } }

/* Kit button sits in the looks header, never over the cards */
.show-looks:not(.show-kit) #sample > .section-head { grid-template-columns: auto 1fr auto; }
body.show-looks.has-basket:not(.show-kit) .kit-bar { position: static; display: flex; grid-column: 3; grid-row: 2; align-self: end; pointer-events: auto; }
.kit-bar .primary { padding: 14px 24px; font-size: 15px; box-shadow: none; }
.viewfinder .scan::after { display: none; }

/* Kit page: compact so the totals sit on screen */
.show-kit .basket-area .section-head h2 { font-size: clamp(30px, 3.4vw, 48px); }
.show-kit .basket-area .section-head { margin-bottom: 14px; }
.show-kit .basket-item { padding: 12px 0; gap: 2px; }
.show-kit .basket-item > p.small + p.small { display: none; }
.show-kit .product-links { padding-top: 6px; margin-top: 2px; }
.show-kit .product-links li { padding: 2px 0; }
.basket-area .live-badge, .basket-area .basket-note, #reset { display: none !important; }
.select-button[aria-pressed="true"]:hover::after { content: " · Remove"; opacity: .6; }
/* Product links read as shop buttons */
.basket-area > #result .basket-list .product-links li { align-items: center; }
.product-links a { text-decoration: none; border: 1px solid var(--ink); padding: 6px 12px; font-size: 13px; transition: background .2s, color .2s; }
.product-links a::after { content: "  Shop ↗"; font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; }
.product-links a:hover { background: var(--ink); color: #fff; }
.comparison .product-links a { border-color: rgba(255, 255, 255, .4); }
.comparison .product-links a:hover { background: #fff; color: var(--ink); }
.show-kit .product-links li { padding: 4px 0; }

/* Viewfinder v3: face-tracking dot mesh */
.viewfinder svg { width: 66%; margin-top: 0; opacity: 1; overflow: visible; }
.viewfinder svg circle { opacity: .5; animation: dot 2.8s ease-in-out infinite alternate; }
.viewfinder svg circle.e { fill: #c59648; opacity: .9; }
.viewfinder svg circle:nth-child(3n) { animation-delay: .9s; }
.viewfinder svg circle:nth-child(3n+1) { animation-delay: 1.8s; }
@keyframes dot { from { opacity: .25; } to { opacity: .75; } }
.viewfinder svg circle.e { animation: none; }
.viewfinder .scan { height: 1px; box-shadow: 0 0 10px 1px rgba(197, 150, 72, .55); background: linear-gradient(90deg, transparent, #c59648 30%, #b07a8a 70%, transparent); }
@media (prefers-reduced-motion: reduce) { .viewfinder svg circle { animation: none; } }
.viewfinder svg { width: 92%; }
.viewfinder svg circle { r: 1.25; }
.viewfinder svg circle.e { r: 1.6; }

/* Friendly progress line while looks are generated */
#photo-status.loading {
  font-family: inherit; text-transform: none; letter-spacing: -0.01em; font-size: clamp(20px, 2vw, 26px); color: var(--ink);
  display: flex; align-items: center; gap: 14px; padding-top: 8px;
}
#photo-status.loading::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%; flex: none;
  background: #c59648; box-shadow: 0 0 0 0 rgba(197, 150, 72, .5); animation: ping 1.4s ease-out infinite;
}
#photo-status.loading::after { content: "…"; animation: blink 1.4s steps(1) infinite; }
@keyframes ping { to { box-shadow: 0 0 0 12px rgba(197, 150, 72, 0); } }
@keyframes blink { 50% { opacity: .2; } }
@media (prefers-reduced-motion: reduce) { #photo-status.loading::before, #photo-status.loading::after { animation: none; } }
#sample-notice:empty { display: none !important; }

/* Add more looks from the kit page */
.more-looks { order: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 16px; }
.more-looks:empty { display: none; }
.more-looks > span { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-right: 4px; }
.more-chip { border: 1px solid var(--ink); background: transparent; color: var(--ink); padding: 9px 16px; font-size: 14px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.more-chip:hover:not(:disabled) { background: var(--ink); color: #fff; }
.more-chip:disabled { opacity: .4; cursor: progress; }
.comparison details { display: none; }
/* Own photos: show the whole face so the eye makeup is in frame */
.preview-pair.own figure:last-child img { object-fit: cover; object-position: 50% 42%; transform: none !important; }
.preview-pair.own figure:first-child { display: none; }
