/* cmj studio · landing ------------------------------------------------- */
:root {
  --ivory: #f2efe9;
  --paper: #faf8f4;
  --sand: #e8e2d6;
  --sand-2: #ded6c6;
  --char: #1e1b17;
  --mut: #847c70;
  --terra: #b0603a;
  --good: #4a6741;
  --bad: #a8503e;
  --r-tile: 14px;
  --font: "Archivo", -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--ivory);
  color: var(--char);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* type scale — lowercase display, tight */
h1, h2, h3, .tile-name, .wordmark {
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
h2 { font-size: clamp(30px, 4.6vw, 52px); }
h3 { font-size: clamp(22px, 2.6vw, 30px); }
.eyebrow {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.22em;
  font-weight: 600;
  color: var(--mut);
  margin-bottom: 14px;
}
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.sec-sub { color: var(--mut); margin-top: 14px; font-size: 16.5px; }

/* buttons */
.btn {
  display: inline-block;
  border: 0;
  border-radius: 999px;
  padding: 15px 30px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.btn:active { transform: scale(0.98); }
.btn-dark { background: var(--terra); color: #faf5ef; }
.btn-dark:hover { background: #9a5230; }
.btn-light { background: rgba(250, 248, 244, 0.94); color: var(--char); }
.btn-light:hover { background: #fff; }
.btn-full { width: 100%; }

/* announcement */
.announce {
  background: var(--terra);
  color: #faf5ef;
  text-align: center;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 9px 16px;
}

/* header */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 18px 28px;
  background: var(--ivory);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.site-head.is-scrolled { box-shadow: 0 1px 0 rgba(30, 27, 23, 0.08); }
.wordmark { font-size: 26px; letter-spacing: -0.03em; }
.head-side { display: flex; gap: 22px; align-items: center; }
.head-left { justify-self: start; }
.head-right { justify-self: end; }
.head-side a {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--char);
  opacity: 0.85;
}
.head-side a:hover { opacity: 1; }
.head-cta {
  border: 1.5px solid var(--char);
  border-radius: 999px;
  padding: 9px 18px;
}
.head-cta:hover { background: var(--char); color: var(--ivory); }

/* hero */
.hero {
  position: relative;
  height: min(86vh, 900px);
  min-height: 520px;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(20, 16, 12, 0.18), rgba(20, 16, 12, 0.05) 40%, rgba(20, 16, 12, 0.3));
}
.hero-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  text-align: center;
  padding: 0 20px;
}
.hero-copy h1 {
  color: #fff;
  font-size: clamp(34px, 6vw, 74px);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
  animation: heroIn 1s ease 0.2s both;
}
.hero-sub {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(15px, 1.8vw, 18px);
  max-width: 480px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
  animation: heroIn 1s ease 0.35s both;
}
.hero-copy .btn { animation: heroIn 1s ease 0.5s both; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* chips */
.chips {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 26px 20px 6px;
}
.chip {
  border: 1.5px solid rgba(30, 27, 23, 0.35);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.16s ease;
}
.chip:hover, .chip.is-active { background: var(--char); color: var(--ivory); border-color: var(--char); }

/* trust marquee */
.trust {
  display: flex;
  flex-wrap: nowrap;
  overflow: hidden;
  padding: 30px 0 10px;
}
.trust-track {
  display: flex;
  flex: none;
  align-items: center;
  gap: 18px;
  padding-right: 18px;
  color: var(--mut);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
}
.trust-track i { width: 4px; height: 4px; border-radius: 50%; background: var(--sand-2); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }

/* 12-season spectrum ribbon */
.spectrum {
  height: 6px;
  margin-top: 24px;
  background: linear-gradient(90deg,
    #E8845E, #D9A441, #B98A33, #5B6238, #A14D2A, #6B4A2F,
    #4A2734, #8E2F45, #C77B8F, #7C93A6, #1F5F5B, #2E4A33);
}

/* tiles */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 1240px;
  margin: 40px auto 0;
  padding: 0 20px;
}
.tile {
  position: relative;
  background: var(--sand);
  border-radius: var(--r-tile);
  min-height: 300px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  overflow: hidden;
  transition: background 0.2s ease, transform 0.2s ease;
}
.tile:hover { background: var(--sand-2); transform: translateY(-3px); }
.tile-wide { grid-column: 1 / -1; min-height: 220px; background: var(--sand-2); }
.tile-swatches { display: flex; gap: 6px; margin-bottom: 10px; }
.tile-swatches i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(30, 27, 23, 0.06);
}
.tile-name { font-size: clamp(38px, 5vw, 58px); }
.tile-sub { color: var(--mut); font-size: 14px; }
.tile-price { font-weight: 600; font-size: 15px; }
.tile-price s { color: var(--mut); font-weight: 400; margin-left: 6px; }
.tile-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--paper);
  border-radius: 999px;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 7px 13px;
}
.tile-badge.dark { background: var(--char); color: var(--ivory); }

/* sections rhythm */
.how, .proof, .products, .reveal-sec, .start, .faq { padding: 110px 20px 0; }

/* how */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}
.step { text-align: left; }
.step-num {
  display: block;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--terra);
  font-weight: 700;
  margin-bottom: 14px;
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--mut); font-size: 15px; }

/* proof / drapes */
.drape-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}
.drape-card {
  border-radius: var(--r-tile);
  overflow: hidden;
  flex: 0 1 288px;
  background: var(--sand);
}
.drape-row.avoid .drape-card { filter: saturate(0.85); }
.drape-cap {
  text-align: center;
  margin: 20px 0 46px;
  font-size: 14px;
  font-weight: 600;
}
.drape-cap.good { color: var(--good); }
.drape-cap.bad { color: var(--bad); margin-bottom: 26px; }
.proof-note { text-align: center; color: var(--mut); font-size: 13px; }

/* products */
.products { max-width: 1150px; margin: 0 auto; }
.product {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 54px;
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid rgba(30, 27, 23, 0.08);
}
.product:last-child { border-bottom: 0; }
.product.flip .product-visual { order: 2; }
.product-visual img { border-radius: var(--r-tile); }
.lip-strip { display: flex; gap: 10px; margin-top: 10px; }
/* min-width:0 — without it flex items refuse to shrink below their intrinsic
   width and the row overflows the product column. */
.lip-strip img { border-radius: 10px; flex: 1; min-width: 0; aspect-ratio: 4 / 3; object-fit: cover; }
.product-copy h3 { margin-bottom: 18px; }
.checks { list-style: none; margin-bottom: 26px; }
.checks li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 9px;
  color: #4d463d;
  font-size: 15.5px;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--terra);
  border-bottom: 2px solid var(--terra);
  transform: rotate(-45deg);
}

/* bundle */
.bundle {
  text-align: center;
  background: var(--sand);
  border-radius: var(--r-tile);
  max-width: 1150px;
  margin: 110px auto 0;
  padding: 70px 24px;
}
.bundle-sub { color: var(--mut); margin: 12px 0 22px; }
.bundle-price { margin-bottom: 26px; }
.bundle-price .big { font-size: 44px; font-weight: 600; letter-spacing: -0.02em; }
.bundle-price .was { color: var(--mut); font-size: 14px; margin-left: 10px; }

/* reveal phone */
.reveal-stage { display: flex; justify-content: center; }
.phone {
  position: relative;
  width: 320px;
  border-radius: 44px;
  background: var(--char);
  padding: 12px;
  box-shadow: 0 30px 80px rgba(30, 27, 23, 0.28);
}
.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 24px;
  background: var(--char);
  border-radius: 0 0 16px 16px;
  z-index: 3;
}
.phone-screen {
  border-radius: 34px;
  background: var(--paper);
  height: 600px;
  overflow: hidden;
  position: relative;
}
.app-status {
  display: flex;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  padding: 10px 18px 2px;
}
.app-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
}
.app-brand { font-weight: 600; font-size: 15px; letter-spacing: -0.02em; }
.app-pill {
  background: #e4efe2;
  color: var(--good);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 999px;
  padding: 5px 11px;
}
.app-scroll { height: calc(100% - 68px); overflow: hidden; padding: 6px 16px 20px; }
.ab { opacity: 0; transform: translateY(10px); }
.app-screen.play .ab { animation: abIn 0.6s ease var(--ad, 0ms) both; }
@keyframes abIn { to { opacity: 1; transform: none; } }
.ab-eyebrow { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mut); text-align: center; }
.ab-title { text-align: center; font-size: 24px; margin: 2px 0 10px; }
.ab-photo { border-radius: 14px; overflow: hidden; margin: 0 26px; }
.ab-fit { text-align: center; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mut); margin-top: 12px; }
.ab-season { text-align: center; font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }
.ab-traits { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin: 12px 0; }
.ab-traits li {
  background: var(--ivory);
  border-radius: 10px;
  padding: 8px 11px;
  font-size: 11px;
  display: flex;
  justify-content: space-between;
}
.ab-traits b { font-weight: 600; }
.ab-traits i { font-style: normal; color: var(--mut); }
.ab-sub { font-size: 12px; font-weight: 700; letter-spacing: 0.03em; margin: 12px 0 8px; }
.ab-sub.good { color: var(--good); }
.ab-sub.bad { color: var(--bad); }
.ab-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.ab-sw { aspect-ratio: 1; border-radius: 8px; background: var(--c); }
.ab-strip { display: flex; gap: 7px; }
.ab-strip img { border-radius: 10px; flex: 1; min-width: 0; }
.ab-foot { text-align: center; font-size: 10.5px; color: var(--mut); margin-top: 14px; }
.replay {
  display: block;
  margin: 26px auto 0;
  background: none;
  border: 1.5px solid rgba(30, 27, 23, 0.3);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}
.replay:hover { background: var(--char); color: var(--ivory); border-color: var(--char); }

/* start / upload */
.start-form { max-width: 620px; margin: 0 auto; }
.pick { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 30px; }
.pick-pill { position: relative; }
.pick-pill input { position: absolute; opacity: 0; }
.pick-pill span {
  display: inline-block;
  border: 1.5px solid rgba(30, 27, 23, 0.3);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.pick-pill input:checked + span { background: var(--char); color: var(--ivory); border-color: var(--char); }
.guide { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; }
.guide-col { background: var(--paper); border-radius: var(--r-tile); padding: 18px 20px; }
.guide-col h3 { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--good); margin-bottom: 8px; }
.guide-col.dont h3 { color: var(--bad); }
.guide-col ul { margin: 0; padding-left: 16px; font-size: 13.5px; line-height: 1.75; color: #4d463d; }
.file-drop {
  display: block;
  position: relative;
  background: var(--paper);
  border: 1.5px dashed var(--sand-2);
  border-radius: var(--r-tile);
  padding: 20px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: border-color 0.15s ease;
}
.file-drop:hover { border-color: var(--terra); }
.file-drop.has-file { border-style: solid; border-color: var(--good); }
.file-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.fd-label { display: block; font-size: 14.5px; font-weight: 600; }
.fd-label em { font-style: normal; color: var(--mut); font-weight: 400; font-size: 12.5px; margin-left: 6px; }
.fd-state { display: block; font-size: 12.5px; color: var(--mut); margin-top: 4px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--mut); margin: 18px 0 20px; }
.consent a { text-decoration: underline; }
.start-msg { font-size: 14px; margin-top: 14px; text-align: center; color: var(--mut); min-height: 22px; }
.start-msg.err { color: var(--bad); }
.start-msg.ok { color: var(--good); }

/* quotes */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 1150px;
  margin: 110px auto 0;
  padding: 0 20px;
}
.quote { background: var(--paper); border-radius: var(--r-tile); padding: 28px; }
.quote blockquote { font-size: 16.5px; font-weight: 500; line-height: 1.5; margin-bottom: 16px; }
.quote figcaption { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mut); font-weight: 600; }
.quote figcaption::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c, var(--sand-2));
  margin-right: 8px;
  vertical-align: -1px;
}

/* faq */
.faq { max-width: 680px; margin: 0 auto; }
.faq details { border-bottom: 1px solid rgba(30, 27, 23, 0.1); padding: 4px 0; }
.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 16px;
  padding: 16px 30px 16px 0;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 400;
  font-size: 20px;
  color: var(--mut);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--mut); font-size: 15px; padding: 0 0 18px; }

/* capture */
.capture { text-align: center; padding: 110px 20px; max-width: 640px; margin: 0 auto; }
.capture h2 { margin-bottom: 12px; }
.capture-sub { color: var(--mut); margin-bottom: 26px; }
.capture-form { display: flex; gap: 10px; max-width: 440px; margin: 0 auto; }
.input {
  flex: 1;
  border: 1.5px solid rgba(30, 27, 23, 0.2);
  background: var(--paper);
  border-radius: 999px;
  padding: 14px 22px;
  font-family: inherit;
  font-size: 14.5px;
  outline: none;
}
.input:focus { border-color: var(--char); }
.capture-done { color: var(--good); font-weight: 600; margin-top: 14px; }
.capture-fine { color: var(--mut); font-size: 12px; margin-top: 16px; }

/* footer */
.site-foot {
  border-top: 1px solid rgba(30, 27, 23, 0.08);
  text-align: center;
  padding: 60px 20px 40px;
  margin-top: 20px;
}
.site-foot .wordmark { font-size: 30px; display: block; }
.foot-mark { width: 72px; margin: 0 auto 10px; }
.foot-line { color: var(--mut); font-size: 14px; margin: 12px 0 22px; }
.foot-line a { text-decoration: underline; }
.foot-nav { display: flex; gap: 22px; justify-content: center; margin-bottom: 22px; }
.foot-nav a {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--mut);
}
.foot-nav a:hover { color: var(--char); }
.foot-copy { color: var(--mut); font-size: 12px; }

/* sticky mobile cta */
.sticky-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 60;
  background: var(--paper);
  border-radius: 999px;
  box-shadow: 0 10px 40px rgba(30, 27, 23, 0.18);
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 8px 8px 20px;
}
.sticky-cta.show { display: flex; }
.sticky-price { font-size: 13.5px; }
.sticky-cta .btn { padding: 12px 22px; }

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .scan-line, .scan-dot, .trust-track { animation: none !important; }
  .scan-dot { opacity: 1 !important; }
  .reveal, .ab { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* responsive */
@media (max-width: 960px) {
  .tiles { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .product { grid-template-columns: 1fr; gap: 26px; padding: 46px 0; }
  .product.flip .product-visual { order: 0; }
  .quotes { grid-template-columns: 1fr; margin-top: 80px; }
  .how, .proof, .products, .reveal-sec, .start, .faq { padding-top: 80px; }
}
@media (max-width: 640px) {
  .head-left { display: none; }
  .site-head { grid-template-columns: auto 1fr; }
  .wordmark { justify-self: start; }
  .head-right { justify-self: end; }
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 220px; }
  .guide { grid-template-columns: 1fr; }
  .capture-form { flex-direction: column; }
  .hero { height: 72vh; }
}

/* glow pair — same person, different colors */
.glow { padding: 90px 20px 0; text-align: center; }
.glow-pair { display: flex; gap: 18px; justify-content: center; align-items: flex-end; }
.glow-chip {
  width: clamp(180px, 26vw, 270px);
  margin: 0;
  border-radius: 16px;
  background: var(--paper);
  border: 5px solid var(--paper);
  box-shadow: 0 18px 50px rgba(30, 27, 23, 0.14);
}
.chip-bad { transform: rotate(-3deg) translateY(6px); }
.chip-good { transform: rotate(2.5deg); }
.glow-chip img { border-radius: 11px; }
.glow-chip figcaption { font-size: 13px; font-weight: 600; padding: 10px 4px 5px; }
.cap-bad { color: var(--bad); }
.cap-good { color: var(--good); }
.glow-note { margin-top: 24px; color: var(--mut); font-size: 14px; font-weight: 600; }

/* how-it-works visuals */
.step-visual { position: relative; height: 280px; margin-bottom: 20px; }
.step-photos img {
  position: absolute;
  border-radius: 12px;
  border: 4px solid var(--paper);
  box-shadow: 0 14px 36px rgba(30, 27, 23, 0.14);
  object-fit: cover;
}
.step-selfie { left: 4%; top: 0; height: 88%; width: auto; transform: rotate(-3deg); }
.step-wrist { right: 4%; bottom: 0; height: 60%; width: 52%; transform: rotate(3.5deg); }
.step-analysis {
  position: relative;
  width: 64%;
  margin: 0 auto;
  height: 280px;
  border-radius: 14px;
  overflow: hidden;
  border: 4px solid var(--paper);
  box-shadow: 0 14px 36px rgba(30, 27, 23, 0.14);
}
.step-analysis > img { width: 100%; height: 100%; object-fit: cover; }
.scan-line {
  position: absolute;
  left: 0; right: 0; top: 12%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--terra), transparent);
  animation: scan 4.5s ease-in-out infinite alternate;
}
.scan-dot {
  position: absolute;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--c);
  border: 2.5px solid var(--paper);
  box-shadow: 0 2px 8px rgba(30, 27, 23, 0.3);
  opacity: 0;
  animation: dot-in 4.5s ease-in-out infinite alternate;
}
.d1 { left: 14%; top: 30%; animation-delay: 0.4s; }
.d2 { right: 14%; top: 45%; animation-delay: 1.1s; }
.d3 { left: 18%; top: 64%; animation-delay: 1.8s; }
.d4 { right: 20%; top: 78%; animation-delay: 2.5s; }
@keyframes scan { from { top: 8%; } to { top: 88%; } }
@keyframes dot-in { 0%, 18% { opacity: 0; transform: scale(0.5); } 32%, 100% { opacity: 1; transform: scale(1); } }
.step-delivery { display: flex; justify-content: center; align-items: center; }
.mini-phone {
  width: 84%;
  background: var(--paper);
  border-radius: 22px;
  box-shadow: 0 14px 36px rgba(30, 27, 23, 0.12);
  padding: 16px 14px;
}
.sms-meta {
  display: block;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mut);
  font-weight: 600;
  margin-bottom: 10px;
}
.sms-bubble { background: var(--ivory); border-radius: 14px; padding: 12px; }
.sms-bubble strong { display: block; font-size: 13px; margin-bottom: 8px; }
.sms-bubble img { border-radius: 8px; }

/* labeled palette swatches */
.palette { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 0 auto 36px; }
.swatch { width: 64px; text-align: center; }
.swatch::before {
  content: "";
  display: block;
  width: 64px; height: 64px;
  border-radius: 16px;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(30, 27, 23, 0.08);
}
.swatch i {
  display: block;
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mut);
  font-weight: 600;
  margin-top: 6px;
}

/* detail chips flanking the phone */
.reveal-stage { align-items: center; gap: 26px; }
.detail-chip {
  width: clamp(150px, 20vw, 230px);
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 5px solid var(--paper);
  box-shadow: 0 18px 50px rgba(30, 27, 23, 0.16);
}
.chip-l { transform: rotate(-3.5deg) translateY(-10%); }
.chip-r { transform: rotate(3deg) translateY(12%); width: clamp(120px, 15vw, 180px); }
@media (max-width: 900px) { .detail-chip { display: none; } }

/* phone board extras */
.ab-extras { display: grid; gap: 7px; margin-top: 12px; }
.ab-mini {
  background: var(--ivory);
  border-radius: 10px;
  padding: 8px 11px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ab-mini span { font-size: 11px; font-weight: 600; }
.ab-minirow { display: flex; gap: 5px; }
.ab-minirow i { width: 14px; height: 14px; border-radius: 5px; background: var(--c); }

/* footer mark is transparent now */
.foot-mark { width: 64px; }

/* HTML board cards (replaces baked board images — site fonts, never blurry) */
.board-card {
  background: var(--paper);
  border-radius: 1.3em;
  padding: 1.6em 1.7em;
  text-align: center;
  font-size: 11px;
}
.bc-eyebrow { text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.92em; color: var(--mut); font-weight: 600; }
.bc-title { font-size: 2.1em; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; margin: 0.15em 0 0; }
.bc-divider { width: 3.2em; height: 2px; background: var(--terra); margin: 0.9em auto 1em; }
.bc-fit { font-size: 1.45em; font-weight: 600; margin-bottom: 0.5em; }
.bc-fit span { display: block; text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.62em; color: var(--mut); margin-bottom: 0.2em; }
.bc-traits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5em; margin: 1em 0 0.4em; }
.bc-traits div { background: var(--ivory); border-radius: 0.7em; padding: 0.55em 0.2em; }
.bc-traits b { display: block; font-size: 0.92em; font-weight: 600; }
.bc-traits i { font-style: normal; font-size: 0.88em; color: var(--mut); }
.bc-label { text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.8em; color: var(--terra); font-weight: 700; margin: 1em 0 0.6em; }
.bc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.45em; }
.bc-grid i { height: 2.3em; border-radius: 0.55em; background: var(--c); box-shadow: inset 0 0 0 1px rgba(30,27,23,0.05); }
.bc-row { display: flex; justify-content: center; gap: 0.55em; }
.bc-row i { width: 2.3em; height: 2.3em; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(30,27,23,0.05); }
.bc-line { font-size: 0.95em; color: var(--mut); line-height: 1.5; }

/* product teaser = photo + typed board */
.teaser-board {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 14px;
  background: var(--sand);
  border-radius: var(--r-tile);
  padding: 14px;
  align-items: stretch;
}
.tb-photo { border-radius: 10px; object-fit: cover; width: 100%; height: 100%; }
.teaser-board .board-card { font-size: clamp(9px, 1.15vw, 12.5px); }
.board-mini { font-size: 8.5px; padding: 1.2em; }
.board-chip { font-size: 8.6px; box-shadow: none; }
.detail-chip:has(.board-card) { background: var(--paper); }

/* start flow — the gate */
.start-steps {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 30px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--mut);
  flex-wrap: wrap;
}
.start-steps span { display: flex; align-items: center; gap: 8px; }
.start-steps b { width: 20px; height: 20px; border-radius: 50%; background: var(--sand-2); color: var(--char); display: inline-flex; align-items: center; justify-content: center; font-size: 10.5px; }
.start-steps span.on b { background: var(--terra); color: #fff; }
.start-steps i { width: 22px; height: 1.5px; background: var(--sand-2); }
.photo-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.photo-card {
  position: relative;
  display: block;
  background: var(--paper);
  border: 1.5px dashed var(--sand-2);
  border-radius: var(--r-tile);
  cursor: pointer;
  overflow: hidden;
  aspect-ratio: 4 / 3.1;
  transition: border-color 0.15s ease;
}
.photo-card:hover { border-color: var(--terra); }
.photo-card input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.pc-inner { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 14px; text-align: center; }
.pc-icon { width: 34px; height: 34px; border-radius: 50%; background: var(--ivory); display: flex; align-items: center; justify-content: center; font-size: 16px; }
.pc-title { font-size: 13.5px; font-weight: 600; }
.pc-hint { font-size: 11.5px; color: var(--mut); }
.pc-preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; }
.photo-card.has-file { border-style: solid; border-color: var(--good); }
.photo-card.has-file .pc-preview { display: block; }
.photo-card.has-file .pc-inner { background: linear-gradient(to top, rgba(20,16,12,0.55), transparent 55%); justify-content: flex-end; color: #fff; }
.photo-card.has-file .pc-title { color: #fff; font-size: 12px; }
.photo-card.has-file .pc-hint, .photo-card.has-file .pc-icon { display: none; }
.tips { margin-bottom: 16px; }
.tips summary { cursor: pointer; list-style: none; font-size: 12.5px; font-weight: 600; color: var(--mut); text-align: center; padding: 6px; }
.tips summary::-webkit-details-marker { display: none; }
.tips summary::before { content: '💡 '; }
.tips[open] summary { color: var(--char); }
.bump {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--sand);
  border: 1.5px solid transparent;
  border-radius: var(--r-tile);
  padding: 16px 18px;
  cursor: pointer;
  margin-bottom: 16px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.bump:has(input:checked) { border-color: var(--terra); background: #efe4d4; }
.bump input { width: 18px; height: 18px; accent-color: var(--terra); margin-top: 2px; flex: none; }
.bump-copy { font-size: 13.5px; line-height: 1.5; }
.bump-copy b { font-weight: 700; }
.bump-copy .save { color: var(--terra); font-weight: 700; }
.bump-copy small { display: block; color: var(--mut); font-size: 12px; }
.gate-price { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; margin-bottom: 14px; padding: 0 4px; }
.gate-price b { font-size: 20px; }
.gate-trust { text-align: center; font-size: 11.5px; color: var(--mut); margin-top: 12px; }
.gate-trust b { color: var(--good); }
@media (max-width: 640px) { .photo-cards { grid-template-columns: 1fr; } .photo-card { aspect-ratio: 16 / 9; } }

/* photo card actions */
.pc-actions { display: flex; gap: 8px; margin-top: 10px; }
.pc-btn {
  border: 1.5px solid var(--char);
  background: transparent;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.pc-btn:hover { background: var(--char); color: var(--ivory); }
.pc-shoot { background: var(--terra); border-color: var(--terra); color: #faf5ef; }
.pc-shoot:hover { background: #9a5230; border-color: #9a5230; color: #faf5ef; }
.photo-card.has-file .pc-actions { display: none; }
.pc-redo {
  position: absolute;
  right: 10px;
  bottom: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(250, 248, 244, 0.92);
  color: var(--char);
  padding: 7px 15px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  z-index: 2;
}
.photo-card.has-file .pc-redo { display: block; }

/* guided camera sheet */
.cam {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #14100c;
  display: flex;
  flex-direction: column;
}
.cam[hidden] { display: none; }
.cam-stage { position: relative; flex: 1; overflow: hidden; background: #14100c; }
.cam-video, .cam-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cam.mirror .cam-video { transform: scaleX(-1); }
.cam-guide { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.cam-ring {
  width: min(62vw, 42vh);
  height: min(84vw, 56vh);
  border: 3px dashed rgba(250, 248, 244, 0.75);
  border-radius: 50%;
  box-shadow: 0 0 0 100vmax rgba(20, 16, 12, 0.45);
  transition: border-color 0.3s ease;
}
.cam.wrist .cam-ring { width: min(70vw, 50vh); height: min(52vw, 36vh); border-radius: 20px; }
.cam.ready .cam-ring { border-color: #7fd18c; border-style: solid; }
.cam-coach {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(20, 16, 12, 0.72);
  color: #faf8f4;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  max-width: 86vw;
  backdrop-filter: blur(6px);
}
.cam-tip {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(250, 248, 244, 0.86);
  font-size: 13px;
  text-align: center;
  max-width: 84vw;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}
.cam-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(20, 16, 12, 0.6);
  color: #faf8f4;
  font-size: 17px;
  cursor: pointer;
  backdrop-filter: blur(6px);
}
.cam-bar {
  flex: none;
  background: #14100c;
  padding: 18px 20px calc(22px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.cam-live { display: flex; gap: 18px; }
.cam-meter {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(250, 248, 244, 0.62);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}
.cam-meter i { width: 9px; height: 9px; border-radius: 50%; background: #6b6157; transition: background 0.25s ease; }
.cam-meter.ok i { background: #7fd18c; }
.cam-meter.warn i { background: #e0a53f; }
.cam-meter.bad i { background: #d1605a; }
.cam-shutter {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 5px solid rgba(250, 248, 244, 0.9);
  background: var(--terra);
  cursor: pointer;
  transition: transform 0.12s ease, opacity 0.2s ease;
}
.cam-shutter:active { transform: scale(0.93); }
.cam-shutter:disabled { opacity: 0.45; cursor: not-allowed; }
.cam-confirm { display: flex; gap: 12px; }
