/* Beautwin revamp mock-ups: shared styles (Glossier-inspired: black on white, pale grey tiles, mono labels) */
:root {
  --bg: #FFFFFF;
  --tile: #F3F3F1;
  --ink: #121212;
  --muted: #6E6E6E;
  --line: #E6E6E3;
  --puff: #F6D4DA;
  --lipstick: #B3264A;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --pad: 64px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 14px/1.3 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.page { max-width: 1440px; margin: 0 auto; overflow: clip; }

/* type */
.mono { font: 12px/16px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mono.sm { font-size: 11px; line-height: 14px; }
.mono.plain { text-transform: none; letter-spacing: .04em; }
.muted { color: var(--muted); }
.ink { color: var(--ink); }
.white { color: #fff; }
.ul { text-decoration: underline 1px; text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 600; }
.display { font-size: 72px; line-height: 72px; letter-spacing: -.04em; }
.h1 { font-size: 56px; line-height: 58px; letter-spacing: -.04em; }
.h2 { font-size: 40px; line-height: 44px; letter-spacing: -.03em; }
.h3 { font-size: 28px; line-height: 32px; letter-spacing: -.03em; }
p { margin: 0; }

/* buttons + chips */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 14px/18px var(--sans); padding: 10px 18px; border: 1px solid var(--ink); background: none; color: var(--ink); cursor: pointer; transition: background .15s, color .15s; }
.btn:hover { background: var(--ink); color: #fff; }
.btn.primary { background: var(--lipstick); border-color: var(--lipstick); color: #fff; font-weight: 600; font-size: 15px; padding: 16px 28px; }
.btn.primary:hover { background: #961e3d; }
.btn.dark { background: var(--ink); color: #fff; font-weight: 600; font-size: 15px; }
.btn.ghost { border-color: var(--line); color: var(--muted); }
.btn.ghost:hover { background: var(--tile); color: var(--ink); }
.btn.block { width: 100%; padding-block: 15px; }
.btn:focus-visible, .chip:focus-visible, .sw:focus-visible { outline: 2px solid var(--lipstick); outline-offset: 2px; }
.chip { font: 14px/18px var(--sans); padding: 9px 14px; border: 1px solid var(--line); color: var(--muted); background: none; cursor: pointer; }
.chip.sm { font-size: 13px; line-height: 16px; padding: 5px 12px; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips.tight { gap: 6px; }
.badge { position: absolute; left: 12px; top: 12px; z-index: 2; background: var(--puff); padding: 4px 8px; font: 11px/14px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }

/* promo + nav */
.promo { height: 36px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font: 12px/16px var(--mono); letter-spacing: .08em; text-transform: uppercase; text-align: center; padding: 0 16px; }
.nav { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 var(--pad); border-bottom: 1px solid var(--line); }
.logo { display: inline-flex; align-items: center; line-height: 0; }
.logo img { display: block; height: 28px; width: auto; }
.nav-links { display: flex; gap: 32px; }
.nav-links a[aria-current="page"] { text-decoration: underline 1px; text-underline-offset: 4px; }
.nav-actions { display: flex; align-items: center; gap: 24px; }
.nav .btn { padding: 9px 18px; }
.menu-btn { display: none; position: relative; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; cursor: pointer; }
.menu-btn i { position: absolute; left: 11px; width: 22px; height: 1.6px; background: var(--ink); transition: transform .2s ease; }
.menu-btn i:first-child { top: 17px; }
.menu-btn i:last-child { top: 25px; }
.menu-open .menu-btn i:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .menu-btn i:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu-btn:focus-visible { outline: 2px solid var(--lipstick); outline-offset: -2px; }

/* sections */
.section { padding: 96px var(--pad); }
.section.tile { background: var(--tile); }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.stack { display: flex; flex-direction: column; }
.catbar { display: flex; gap: 28px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow-x: auto; }
.catbar a[aria-current="true"] { text-decoration: underline 1px; text-underline-offset: 3px; }

/* hero */
.hero { display: flex; min-height: 640px; }
.hero-copy { flex: 0 0 640px; display: flex; flex-direction: column; justify-content: center; gap: 28px; padding: 48px var(--pad); }
.hero-copy .lead { font-size: 18px; line-height: 28px; color: var(--muted); max-width: 460px; }
.hero-img { flex: 1; position: relative; background: #E6E3E0; min-height: 640px; overflow: hidden; }
/* zoomed-out stage: photo + marker lines scale together; pins stay full size and follow */
.hero-img .stage { --s: 1; --ty: 0px; position: absolute; left: 50%; top: 0; width: 800px; height: 640px; margin-left: -400px; }
.hero-img .zoom { position: absolute; inset: 0; transform: translateY(var(--ty)) scale(var(--s)); transform-origin: 50% 0; }
.hero-img .photo { position: absolute; left: 0; top: -2px; width: 800px; height: 644px; max-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.hero-img svg { position: absolute; left: 0; top: 0; width: 800px; height: 640px; }
.hero-img .pin { left: calc(400px + (var(--x) - 400px) * var(--s)); top: calc(var(--ty) + var(--y) * var(--s)); }
.pin { position: absolute; background: #fff; padding: 8px 12px; display: flex; flex-direction: column; gap: 2px; }
.pin b { font-size: 14px; line-height: 18px; font-weight: 600; }
.pin.dot { flex-direction: row; align-items: center; gap: 10px; padding-left: 8px; }
.pin.dot i { width: 28px; height: 28px; border-radius: 999px; flex-shrink: 0; }
.hero-m { display: none; position: absolute; inset: 0; }
.hero-img .hero-m svg { width: 100%; height: 100%; }
.hero-m .pin { padding: 6px 10px; }
.hero-m .pin b { font-size: 13px; line-height: 16px; }
.hero-m .pin.dot i { width: 22px; height: 22px; }

/* shade grid (Glossier-style cards) */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 20px; }
.card { display: flex; flex-direction: column; gap: 14px; }
.media { position: relative; aspect-ratio: 313 / 392; background: var(--tile); overflow: hidden; display: grid; place-items: center; }
.media .product { transition: opacity .25s; }
.media .on-face { position: absolute; inset: 0; background-repeat: no-repeat; opacity: 0; transition: opacity .25s; }
.media.always .on-face { opacity: 1; }
.card:hover .media .on-face, .card:focus-within .media .on-face { opacity: 1; }
.card:hover .media .product { opacity: 0; }
.crop-lips { background-size: 242.8% auto; background-position: 51.5% 53%; }
.info { display: flex; flex-direction: column; gap: 3px; }
.info h3 { font-size: 16px; line-height: 20px; }
.info .desc { color: var(--muted); font-size: 14px; line-height: 18px; }
.info .mono { margin-top: 4px; }
.swatches { display: flex; align-items: center; gap: 6px; }
.sw { width: 26px; height: 26px; border: 0; padding: 0; cursor: pointer; }
.sw[aria-pressed="true"] { outline: 1.5px solid var(--ink); outline-offset: 2px; }
.swatches small { padding-left: 6px; font-size: 13px; color: var(--muted); }
.card-actions { display: flex; gap: 8px; }
.card-actions .btn { padding: 11px 14px; }
.card-actions .btn:first-child { flex: 1; }
.lifestyle { position: relative; aspect-ratio: 313 / 392; background: var(--tile) center / cover no-repeat; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.lifestyle .cap { padding: 20px; display: flex; flex-direction: column; gap: 6px; background: linear-gradient(0deg, rgba(18,18,18,.72), rgba(18,18,18,0)); }
.lifestyle .cap b { color: #fff; font-size: 22px; line-height: 26px; letter-spacing: -.02em; font-weight: 600; }

/* how it works + price */
.how { display: flex; gap: 64px; align-items: flex-start; }
.how .steps { border-top: 1px solid var(--line); flex: 1; }
.step { display: flex; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 18px; line-height: 22px; }
.step span { width: 40px; flex-shrink: 0; font: 13px/16px var(--mono); color: var(--muted); padding-top: 3px; }
.price-card { flex: 0 0 440px; background: #fff; padding: 36px; display: flex; flex-direction: column; gap: 20px; }
.price { display: flex; align-items: baseline; gap: 12px; }
.price b { font-size: 64px; line-height: 64px; letter-spacing: -.04em; font-weight: 600; }
.price-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 18px; }

/* checkout */
.steps-nav { display: flex; gap: 28px; }
.checkout { display: flex; gap: 64px; align-items: flex-start; padding: 56px var(--pad) 96px; }
.checkout .form { flex: 1; display: flex; flex-direction: column; gap: 48px; min-width: 0; }
.drop { position: relative; width: 300px; height: 375px; flex-shrink: 0; background: var(--tile); display: grid; place-items: center; border: 0; cursor: pointer; }
.drop .oval { width: 170px; height: 228px; border: 2px dashed #BDBDB8; border-radius: 50%; }
.drop .btn { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); background: #fff; font-weight: 600; white-space: nowrap; }
.drop .btn:hover { background: var(--ink); }
.tips { display: flex; flex-direction: column; gap: 14px; padding-top: 8px; font-size: 16px; line-height: 20px; max-width: 300px; }
.q { display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 18px; }
.summary { flex: 0 0 420px; background: var(--tile); padding: 32px; display: flex; flex-direction: column; gap: 20px; position: sticky; top: 24px; }
.summary .row { display: flex; justify-content: space-between; align-items: baseline; font-size: 20px; line-height: 24px; font-weight: 600; }
.summary ul { list-style: none; margin: 0; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 9px; }

/* reading */
.tabs { display: flex; gap: 32px; border-bottom: 1px solid var(--line); margin: 28px var(--pad) 0; overflow-x: auto; }
.tabs a { padding-bottom: 14px; font-size: 15px; line-height: 18px; color: var(--muted); white-space: nowrap; }
.tabs a[aria-current="true"] { color: var(--ink); font-weight: 600; border-bottom: 2px solid var(--ink); padding-bottom: 12px; }
.reading { display: flex; gap: 56px; align-items: flex-start; padding: 40px var(--pad) 96px; }
.eye { position: relative; flex: 0 0 560px; height: 620px; background: var(--tile) url(img/amy-bare.webp) -845px -383px / 2212px 1782px no-repeat; overflow: hidden; }
.eye svg { position: absolute; inset: 0; }
.eye .pin { left: 24px; bottom: 24px; padding: 12px 14px; gap: 4px; }
.eye .pin b { font-size: 20px; line-height: 24px; letter-spacing: -.02em; }
.markers { flex: 1; border-top: 1px solid var(--ink); min-width: 0; }
.marker { display: flex; flex-direction: column; gap: 14px; padding: 24px 0 28px; border-bottom: 1px solid var(--line); }
.marker .value { font-size: 32px; line-height: 34px; letter-spacing: -.03em; font-weight: 600; }
.two { display: flex; gap: 32px; }
.two > div { flex: 1; display: flex; flex-direction: column; gap: 4px; font-size: 15px; line-height: 22px; }
.do { background: var(--puff); padding: 12px 14px; }
.spectrum { display: flex; flex-direction: column; gap: 8px; padding-top: 6px; }
.track { position: relative; height: 6px; background: linear-gradient(90deg, #E8E7E3, #F1D3D6); }
.track i { position: absolute; top: -6px; width: 18px; height: 18px; border-radius: 999px; background: #fff; border: 3px solid var(--ink); transform: translateX(-50%); }
.scale { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.mrow { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.mrow .mono { width: 220px; flex-shrink: 0; }
.mrow b { flex: 1; font-size: 18px; line-height: 22px; }
.mrow > span:last-child { width: 80px; text-align: right; color: var(--muted); }

/* render studio */
.studio { display: flex; min-height: 832px; }
.canvas { position: relative; flex: 1; background: var(--tile); overflow: hidden; user-select: none; touch-action: pan-y; }
.canvas .layer { position: absolute; inset: 0; background: 50% 30% / cover no-repeat; }
.canvas .before { clip-path: inset(0 calc(100% - var(--split, 50%)) 0 0); }
.canvas .divider { position: absolute; top: 0; bottom: 0; left: var(--split, 50%); width: 2px; margin-left: -1px; background: #fff; }
.canvas .handle { position: absolute; top: 50%; left: var(--split, 50%); width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 999px; background: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.18); display: grid; place-items: center; cursor: ew-resize; border: 0; }
.canvas .tag { position: absolute; top: 24px; padding: 6px 10px; font: 11px/14px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.panel { flex: 0 0 480px; border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.pgroup { display: flex; flex-direction: column; gap: 16px; padding: 22px 32px; border-bottom: 1px solid var(--line); }
.panel-foot { padding: 24px 32px 32px; }
.prow { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.looks { display: flex; gap: 8px; overflow-x: auto; padding: 4px 4px 2px; margin: -4px; }
.look { width: 72px; flex-shrink: 0; display: flex; flex-direction: column; gap: 6px; font-size: 12px; line-height: 16px; color: var(--muted); background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.look .th { width: 72px; height: 90px; background: 50% 50% / cover no-repeat; }
.look[aria-pressed="true"] { color: var(--ink); font-weight: 600; }
.look[aria-pressed="true"] .th { outline: 2px solid var(--ink); outline-offset: 2px; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 18px; background: none; margin: 0; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 4px; background: linear-gradient(90deg, var(--ink) var(--v, 50%), var(--line) var(--v, 50%)); }
.range::-moz-range-track { height: 4px; background: var(--line); }
.range::-moz-range-progress { height: 4px; background: var(--ink); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -7px; border-radius: 999px; background: #fff; border: 2px solid var(--ink); }
.range::-moz-range-thumb { width: 14px; height: 14px; border-radius: 999px; background: #fff; border: 2px solid var(--ink); }
.panel .sw { width: 24px; height: 24px; }

/* mock-up page switcher */
.mock-switch { position: fixed; right: 16px; bottom: 16px; z-index: 50; display: flex; gap: 4px; background: rgba(18,18,18,.9); padding: 6px; border-radius: 999px; font: 11px/14px var(--mono); }
.mock-switch a { color: #fff; padding: 6px 10px; border-radius: 999px; }
.mock-switch a[aria-current="page"] { background: #fff; color: var(--ink); }

/* responsive */
@media (max-width: 1100px) {
  :root { --pad: 32px; }
  .hero { flex-direction: column; }
  .hero-copy { flex-basis: auto; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how, .checkout, .reading { flex-direction: column; }
  .price-card, .summary { flex-basis: auto; width: 100%; position: static; }
  .eye { flex-basis: auto; width: 100%; max-width: 560px; }
  .studio { flex-direction: column; }
  .canvas { min-height: 70vh; }
  .panel { flex-basis: auto; border-left: 0; }
  .nav-links { display: none; }
}
@media (max-width: 640px) {
  :root { --pad: 16px; }
  .display { font-size: 48px; line-height: 50px; }
  .h1 { font-size: 40px; line-height: 44px; }
  .h2 { font-size: 30px; line-height: 34px; }
  .section { padding-block: 56px; }
  .hero-img { min-height: 0 !important; height: auto; aspect-ratio: 4 / 5; background: #E6E3E0 url(img/amy-hero-m.webp) 50% 0 / cover no-repeat; }
  .hero-m { display: block; }
  .hero-img .stage { display: none; }
  .grid { gap: 32px 12px; }
  .card-actions { flex-direction: column; }
  .selfie-row { flex-direction: column; }
  .drop { width: 100%; }
  .two { flex-direction: column; gap: 12px; }
  .mrow { flex-wrap: wrap; }
  .mrow .mono { width: 100%; }
  .mock-switch { left: 16px; right: 16px; justify-content: center; overflow-x: auto; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* product page (Glossier PDP layout + Beautwin twist) */
.pdp { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr) minmax(0, 1fr); gap: 24px; padding: 24px var(--pad) 64px; align-items: start; }
.pdp-info { display: flex; flex-direction: column; gap: 22px; padding-right: 40px; position: sticky; top: 24px; }
.pdp-info h1 { font-size: 44px; line-height: 48px; letter-spacing: -.02em; font-weight: 500; }
.sub { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 18px; }
.chip-tag { font: 11px/14px var(--mono); letter-spacing: .08em; text-transform: uppercase; background: var(--puff); padding: 4px 8px; }
.pdp-info .cta { display: flex; gap: 10px; flex-wrap: wrap; }
.pdp-info .cta .btn { font-size: 17px; padding: 14px 22px; }
.lede { font-size: 17px; line-height: 27px; }
.lede b { display: block; margin-bottom: 6px; }
.attrs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; padding: 16px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); font-size: 22px; line-height: 34px; }
.howto { display: flex; flex-direction: column; }
.howto div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.howto div span:last-child { text-align: right; font-weight: 600; }
.still, .model { position: relative; aspect-ratio: 4 / 5; background: var(--tile); overflow: hidden; margin: 0; }
.still img, .model img { width: 100%; height: 100%; object-fit: cover; }
.model img { transition: opacity .25s; }
.thumbs { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.thumb { width: 52px; height: 65px; padding: 0; border: 0; background: var(--tile); cursor: pointer; position: relative; flex-shrink: 0; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb[aria-pressed="true"] { outline: 1.5px solid var(--ink); outline-offset: 2px; }
.thumb .you { position: absolute; left: 3px; bottom: 3px; background: var(--puff); font: 9px/11px var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 2px 4px; }
.model-cap { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; font-size: 17px; }
.model-cap .next { width: 48px; height: 48px; border: 1px solid var(--ink); background: none; cursor: pointer; display: grid; place-items: center; }
.model .open { position: absolute; right: 16px; bottom: 16px; background: #fff; padding: 12px 18px; font-size: 15px; }

/* matched trio (Balm Dotcom Trio-inspired) */
.trio { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 520px); gap: 24px; align-items: start; }
.trio figure { margin: 0; aspect-ratio: 4 / 5; background: var(--tile); overflow: hidden; }
.trio figure img { width: 100%; height: 100%; object-fit: cover; }
.trio-info { display: flex; flex-direction: column; gap: 20px; }
.trio-item { display: flex; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.trio-item img { width: 64px; height: 80px; object-fit: cover; flex-shrink: 0; }
.trio-item p { font-size: 15px; line-height: 22px; }
.trio-item b { font-weight: 600; }
.trio-item small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }

/* cast strip */
.faces { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.faces figure { margin: 0; }
.faces img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--tile); }
.faces figcaption { font-size: 14px; margin-top: 8px; }

/* shade card hover caption */
.media img.product-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .25s; }
.media img.on-face { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .25s; }
.card:hover .media img.on-face, .card:focus-within .media img.on-face { opacity: 1; }
.media .who { position: absolute; left: 12px; bottom: 12px; z-index: 2; background: #fff; padding: 4px 8px; font-size: 13px; opacity: 0; transition: opacity .25s; }
.card:hover .media .who, .card:focus-within .media .who { opacity: 1; }

@media (max-width: 1100px) {
  .pdp { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pdp-info { grid-column: 1 / -1; position: static; padding-right: 0; }
  .trio { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .trio-info { grid-column: 1 / -1; }
  .faces { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .pdp { grid-template-columns: minmax(0, 1fr); }
  .pdp-info h1 { font-size: 34px; line-height: 38px; }
  .attrs { font-size: 18px; line-height: 28px; }
}

/* shop mode */
.price-line { display: flex; align-items: center; gap: 10px; margin-top: 4px; font-size: 13px; color: var(--muted); }
.price-line b { color: var(--ink); font-size: 15px; }
.price-line span { display: inline-flex; align-items: center; gap: 4px; }

/* consent banner */
.consent { position: fixed; left: 16px; bottom: 16px; z-index: 70; max-width: 420px; background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: 0 12px 32px rgba(0,0,0,.12); padding: 16px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; line-height: 20px; }
.consent p { margin: 0; }
.consent div { display: flex; gap: 8px; justify-content: flex-end; }
.consent .btn { padding: 9px 16px; }
@media (max-width: 640px) { .consent { right: 16px; max-width: none; } }

/* site footer */
.site-foot { background: var(--ink); color: rgba(255,255,255,.72); padding: 64px var(--pad) 28px; font-size: 14px; line-height: 21px; }
.site-foot .mono { color: rgba(255,255,255,.5); margin-bottom: 12px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot-brand img { height: 30px; width: auto; display: block; margin-bottom: 14px; }
.foot-brand p, .site-foot p { margin: 0; max-width: 320px; }
.foot-mail { display: inline-block; color: #fff; font-size: 20px; line-height: 26px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 8px; text-decoration: underline 1px; text-underline-offset: 4px; text-decoration-color: rgba(255,255,255,.35); }
.foot-mail:hover { text-decoration-color: var(--puff); }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.site-foot ul a { color: #fff; }
.site-foot ul a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-foot a:focus-visible { outline: 2px solid var(--puff); outline-offset: 3px; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: rgba(255,255,255,.5); }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr; gap: 28px; } }
.foot-social { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: #fff; font-weight: 600; min-height: 44px; }
.foot-social:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ===== phones and tablets ===== */
@media (max-width: 1100px) {
  .nav { position: relative; z-index: 40; background: var(--bg); }
  .nav-actions { gap: 8px; }
  .menu-btn { display: block; }
  .menu-open .nav-links { display: flex; flex-direction: column; gap: 0; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px rgba(0,0,0,.08); padding: 4px var(--pad) 12px; }
  .menu-open .nav-links a { padding: 14px 0; font-size: 18px; line-height: 24px; border-bottom: 1px solid var(--line); }
  .menu-open .nav-links a:last-child { border-bottom: 0; }
}
@media (max-width: 640px) {
  /* header + promo */
  .promo { height: auto; min-height: 36px; padding: 8px 16px; font-size: 11px; line-height: 15px; }
  .nav { height: 60px; gap: 12px; }
  .logo img { height: 24px; }
  .nav .btn { padding: 8px 14px; font-size: 13px; }
  .nav > .muted { display: none; }

  /* hero */
  .hero-copy { gap: 20px; padding-block: 32px 36px; }
  .hero-copy .lead { font-size: 16px; line-height: 25px; }
  .hero-copy .btn.primary { width: 100%; }

  /* filter bars + tabs: comfortable tap height, sideways scroll */
  .catbar { gap: 0; padding: 0; scrollbar-width: none; }
  .catbar::-webkit-scrollbar, .tabs::-webkit-scrollbar { display: none; }
  .catbar a { padding: 13px 12px; white-space: nowrap; }
  .catbar a:first-child { padding-left: 0; }
  .tabs { gap: 24px; scrollbar-width: none; }
  .tabs a { padding-top: 10px; }

  /* product cards */
  .swatches { flex-wrap: wrap; row-gap: 8px; }
  .sw { width: 28px; height: 28px; }
  .swatches small { flex-basis: 100%; padding-left: 0; }
  .card-actions { gap: 0; }
  .card-actions .btn { min-height: 44px; padding: 10px 8px; }
  .card-actions .btn.ghost { border-color: transparent; color: var(--ink); text-decoration: underline 1px; text-underline-offset: 3px; }
  .card-actions .btn.ghost:hover { background: none; }
  .lifestyle .cap { padding: 14px; gap: 4px; }
  .lifestyle .cap b { font-size: 18px; line-height: 22px; }
  .lifestyle .cap .mono { font-size: 10px; line-height: 13px; }

  /* home: price card */
  .price b { font-size: 52px; line-height: 52px; }
  .price-card { padding: 24px; }

  /* reading */
  .eye { height: 480px; }

  /* product page */
  .thumbs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 3px; margin: 9px -3px 0; }
  .thumbs::-webkit-scrollbar { display: none; }
  .pdp-info .cta .btn { flex: 1; font-size: 15px; padding: 14px 10px; white-space: nowrap; }
  .trio { gap: 12px; }

  /* checkout: a smaller selfie illustration so the form comes sooner */
  .drop { height: 220px; }
  .drop .oval { width: 112px; height: 150px; }
  .checkout { gap: 40px; padding-top: 32px; }
  .summary { padding: 24px; }

  /* studio */
  .canvas { min-height: 0; aspect-ratio: 4 / 5; }
  .pgroup, .panel-foot { padding-inline: var(--pad); }
  .panel .sw { width: 30px; height: 30px; }
  .panel .chip.sm { min-height: 36px; padding-inline: 14px; }

  /* footer */
  .site-foot { padding-top: 48px; }
  .site-foot ul { gap: 0; }
  .site-foot ul a { display: block; padding: 9px 0; }
  .foot-base { flex-direction: column; gap: 6px; margin-top: 32px; }
}

/* ===== hero loop: bare → mesh → markers → advice → rendered look (9s) =====
   Without .hero-anim (no JS, or reduced motion) the hero stays static: bare face, markers and labels. */
.hero-img .after { opacity: 0; }
.hero-img .photo.after { position: absolute; }
.hero-m .after { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.ha-mesh, .ha-tag { opacity: 0; }
.ha-tag { position: absolute; left: 16px; top: 16px; z-index: 3; background: var(--puff); color: var(--ink); padding: 6px 10px; font: 11px/14px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.hero-anim { --cy: 9s; }
.hero-anim .ha-wipe, .hero-anim .ha-mesh, .hero-anim .ha-mk, .hero-anim .ha-fade,
.hero-anim .ha-pin, .hero-anim .after, .hero-anim .ha-tag { animation: var(--cy) linear infinite both; }
.hero-anim .ha-wipe { animation-name: ha-wipe; animation-timing-function: cubic-bezier(.45,.05,.55,.95); }
.hero-anim .ha-mesh { animation-name: ha-mesh; }
.hero-anim .ha-mk { stroke-dasharray: 1; animation-name: ha-draw; animation-timing-function: ease-out; animation-delay: calc(var(--i) * .22s); }
.hero-anim .ha-fade { animation-name: ha-fade; animation-delay: calc(var(--i) * .22s); }
.hero-anim .ha-pin { animation-name: ha-pin; animation-timing-function: ease-out; animation-delay: calc(var(--i) * .3s); }
.hero-anim .after { animation-name: ha-after; animation-timing-function: ease-in-out; }
.hero-anim .ha-tag { animation-name: ha-tag; }
.hero-anim.ha-paused * { animation-play-state: paused !important; }
@keyframes ha-wipe { 0%, 14% { transform: translateY(0); } 36%, 100% { transform: translateY(660px); } }
@keyframes ha-mesh { 0%, 14% { opacity: 0; } 16%, 44% { opacity: 1; } 54%, 100% { opacity: 0; } }
@keyframes ha-draw { 0%, 40% { stroke-dashoffset: 1; opacity: 1; } 52%, 72% { stroke-dashoffset: 0; opacity: 1; } 80%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes ha-fade { 0%, 44% { opacity: 0; } 52%, 72% { opacity: 1; } 80%, 100% { opacity: 0; } }
@keyframes ha-pin { 0%, 52% { opacity: 0; transform: translateY(8px); } 56%, 91% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }
@keyframes ha-after { 0%, 70% { opacity: 0; } 79%, 92% { opacity: 1; } 99%, 100% { opacity: 0; } }
@keyframes ha-tag { 0%, 76% { opacity: 0; } 80%, 92% { opacity: 1; } 97%, 100% { opacity: 0; } }

a.promo { color: #fff; text-decoration: none; }
a.promo:hover { text-decoration: underline; text-underline-offset: 3px; }
