/* ==========================================================================
   PaletteMe — Landing page stylesheet
   Editorial direction: warm black canvas, cream cards, oversized serif type.
   Fonts: Fraunces (display) · Inter (body/UI)
   ========================================================================== */

/* ---- Design tokens ------------------------------------------------------ */
:root {
  /* color */
  --bg: #0F0C09;            /* warm black canvas */
  --bg-deep: #0A0806;
  --surface: #17130E;       /* raised dark surface */
  --cream: #F4EDE1;
  --cream-bright: #FBF7EE;
  --ink: #1D1610;
  --ink-soft: #4A4036;
  --ink-faint: #746A5B;   /* 4.56:1 on cream — WCAG AA for small text */
  --text: #E9E1D3;          /* default text on dark */
  --text-soft: #CDC4B4;
  --muted: #A79E90;
  --accent: #C0603C;        /* terracotta */
  --accent-bright: #E0885F; /* terracotta for text on dark */
  --accent-ink: #A94F2C;    /* terracotta for text on cream */
  --gold: #C99C55;
  --line: rgba(244, 237, 225, 0.14);
  --line-soft: rgba(244, 237, 225, 0.08);
  --line-ink: rgba(29, 22, 16, 0.14);

  /* type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* shape & rhythm (spacious editorial scale) */
  --r-card: clamp(24px, 4vw, 36px);
  --r-tile: 24px;
  --section-pad: clamp(5.5rem, 13vw, 9.5rem);
  --grid-gap: clamp(2.5rem, 6vw, 4rem);

  /* elevation */
  --shadow-phone: 0 40px 90px -24px rgba(0, 0, 0, 0.6), 0 0 110px rgba(192, 96, 60, 0.14);
  --shadow-chip: 0 14px 32px rgba(0, 0, 0, 0.38);
}

/* ---- Reset-lite ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }

::selection { background: var(--accent); color: var(--cream); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.8rem 1.2rem;
  background: var(--cream);
  color: var(--ink);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ---- Layout primitives --------------------------------------------------- */
.container {
  width: min(1180px, 100% - clamp(2.5rem, 8vw, 5rem));
  margin-inline: auto;
}

.section { padding-block: var(--section-pad); position: relative; }

/* ---- Typography ---------------------------------------------------------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 420;
  letter-spacing: -0.01em;
  line-height: 1;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.9rem, 11vw, 7.5rem);
  line-height: 0.98;
  color: var(--cream);
}

.display {
  font-size: clamp(2.4rem, 7.5vw, 5rem);
  line-height: 0.99;
  color: var(--cream);
}

h1 em, .display em, .final-cta h2 em, .identity-card h2 em, .tile--statement em {
  font-style: italic;
  font-weight: 400;
}
h1 em, .display em {
  background: linear-gradient(100deg, var(--accent-bright), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow--ink { color: var(--ink-faint); }

.lede {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.6;
  color: var(--text-soft);
  max-width: 36ch;
}

.body-large {
  font-family: var(--font-display);
  font-weight: 360;
  font-size: clamp(1.2rem, 2.6vw, 1.55rem);
  line-height: 1.5;
  color: var(--text-soft);
  max-width: 42ch;
}

/* ---- Buttons & links ----------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:active { transform: scale(0.98); }

.btn--cream {
  background: var(--cream);
  color: var(--ink);
}
.btn--cream:hover {
  background: var(--cream-bright);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -12px rgba(244, 237, 225, 0.35);
}

.btn--large { padding: 1.05rem 2.1rem; font-size: 1rem; }
.btn--small { padding: 0.55rem 1.2rem; font-size: 0.88rem; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.5rem 0.25rem;
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}
.btn-ghost:hover { color: var(--cream); border-color: var(--cream); }
.btn-ghost svg { transition: transform 0.25s ease; }
.btn-ghost:hover svg { transform: translateY(3px); }

/* Store badges */
.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 56px;
  padding: 0.65rem 1.3rem;
  border: 1px solid rgba(244, 237, 225, 0.3);
  border-radius: 16px;
  color: var(--cream);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}
.store-btn:hover {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
  transform: translateY(-2px);
}
.store-btn svg { width: 24px; height: 24px; flex: none; }
.store-btn span { display: flex; flex-direction: column; line-height: 1.15; }
.store-btn small { font-size: 0.66rem; font-weight: 500; letter-spacing: 0.04em; opacity: 0.85; }
.store-btn strong { font-size: 1.02rem; font-weight: 600; letter-spacing: 0.01em; }

.store-row--dark { justify-content: center; }
.store-row--dark .store-btn {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}
.store-row--dark .store-btn:hover { background: #000; color: var(--cream); }

/* ---- Header --------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(15, 12, 9, 0.82);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-color: var(--line-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.85rem;
}
.wordmark {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 550;
  letter-spacing: -0.01em;
  color: var(--cream);
  text-decoration: none;
}
.wordmark em { font-style: italic; font-weight: 400; }
.header-nav { display: none; gap: 2rem; }
.header-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  padding-block: 0.6rem;
  transition: color 0.2s ease;
}
.header-nav a:hover { color: var(--cream); }

/* ---- 1. Hero --------------------------------------------------------------- */
.hero {
  padding-top: clamp(7rem, 13vw, 9.5rem);
  overflow: clip;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.6rem, 7vw, 4rem);
}
.hero-copy { max-width: 680px; }
.hero-copy .eyebrow { margin-bottom: 1.4rem; }
.hero-copy h1 { margin-bottom: 1.6rem; }
.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: 2.4rem;
}
.hero .store-row { margin-top: 2.6rem; }

.hero-visual {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-inline: calc(50% - 50vw);
  padding-inline: clamp(1rem, 5vw, 3rem);
  display: flex;
  justify-content: center;
}
.hero-img {
  position: relative;
  width: 100%;
  max-width: 1120px;
  height: auto;
}
.hero-glow {
  position: absolute;
  inset: -6% 0;
  background: radial-gradient(45% 52% at 50% 46%, rgba(192, 96, 60, 0.24), transparent 72%);
  z-index: -1;
  pointer-events: none;
}

/* Phone frame */
.phone {
  position: relative;
  width: clamp(240px, 64vw, 320px);
  padding: 10px;
  background: linear-gradient(165deg, #241E17, #0C0A08);
  border: 1px solid rgba(244, 237, 225, 0.14);
  border-radius: 46px;
  box-shadow: var(--shadow-phone);
}
.phone::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 50%;
  translate: -50% 0;
  width: 84px;
  height: 24px;
  background: #0C0A08;
  border-radius: 999px;
  z-index: 2;
}
.phone img { border-radius: 36px; width: 100%; }
.phone--large { width: clamp(260px, 74vw, 380px); }
.phone--card {
  width: clamp(210px, 56vw, 280px);
  box-shadow: 0 30px 60px -18px rgba(0, 0, 0, 0.4);
}

/* Swatch dot (used in outfit formulas) */
.dot {
  width: 14px;
  height: 14px;
  flex: none;
  border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

/* Ticker */
.ticker {
  margin-top: clamp(4.5rem, 10vw, 7.5rem);
  padding-block: 1.15rem;
  border-block: 1px solid var(--line-soft);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 2.75rem;
  width: max-content;
  animation: ticker 34s linear infinite;
}
.ticker-track span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--muted);
  white-space: nowrap;
}
.ticker-track i {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
}
@keyframes ticker {
  to { transform: translateX(calc(-50% - 1.375rem)); }
}

/* ---- 2. Why colors matter --------------------------------------------------- */
.why .display { margin-top: 1rem; }
.why-grid {
  display: grid;
  gap: var(--grid-gap);
  margin-top: clamp(3rem, 7vw, 4.5rem);
}
.tone-cards {
  display: grid;
  gap: 1rem;
}
.tone-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.2rem;
  min-height: 210px;
  padding: 1.7rem;
  border-radius: var(--r-tile);
}
.tone-card--off {
  background: linear-gradient(160deg, #232228, #171619);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.tone-card--on {
  background: linear-gradient(160deg, #3B2315, #22110A);
  border: 1px solid rgba(224, 136, 95, 0.28);
  box-shadow: inset 0 0 70px rgba(192, 96, 60, 0.16);
}
.tone-chips { display: flex; gap: 0.55rem; }
.tone-chips span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.tone-card--off .tone-chips span { opacity: 0.7; }
.tone-card figcaption strong {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 420;
  font-size: 1.65rem;
  color: var(--cream);
}
.tone-card figcaption span {
  font-size: 0.92rem;
  color: var(--muted);
}

/* ---- 3. Color identity ------------------------------------------------------- */
.cream-card {
  background: var(--cream);
  color: var(--ink);
  border-radius: var(--r-card);
  padding: clamp(2.2rem, 6vw, 4.5rem);
}
.identity-card {
  display: grid;
  gap: clamp(3rem, 7vw, 4.5rem);
  align-items: center;
}
.identity-card h2 {
  font-size: clamp(2.3rem, 6.5vw, 3.9rem);
  line-height: 1;
  color: var(--ink);
  margin-top: 1.1rem;
}
.identity-card h2 em, .final-cta h2 em, .tile--statement em { color: var(--accent-ink); }
.body-ink {
  color: var(--ink-soft);
  max-width: 46ch;
  margin-top: 1.4rem;
  font-size: 1.02rem;
}
.trait-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.8rem;
}
.trait-list li {
  padding: 0.55rem 1.1rem;
  border: 1px solid rgba(29, 22, 16, 0.28);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 500;
}
.fine-print {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--ink-faint);
}
.identity-visual { display: flex; justify-content: center; }
.identity-artifact {
  width: min(100%, 360px);
  aspect-ratio: 4 / 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: var(--cream-bright);
  border: 1px solid rgba(29, 22, 16, 0.08);
  border-radius: 28px;
  box-shadow: 0 34px 70px -34px rgba(29, 22, 16, 0.35);
}
.identity-disc {
  width: 45%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 30%, #E9B47C, #C0603C 62%, #A84E32);
  box-shadow: 0 18px 40px -14px rgba(168, 78, 50, 0.5);
}
.identity-name {
  margin-top: 1.7rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.7rem);
  font-weight: 460;
  line-height: 0.95;
  text-align: center;
  color: var(--ink);
}
.identity-swatches { display: flex; gap: 0.55rem; margin-top: 1.7rem; }
.identity-swatches span {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(29, 22, 16, 0.08);
}

/* ---- 4. Personal report -------------------------------------------------------- */
.report .display { margin-top: 1rem; }
.report-grid {
  display: grid;
  gap: var(--grid-gap);
  align-items: center;
  margin-top: clamp(3rem, 7vw, 5rem);
}
.report-visual { display: flex; justify-content: center; }
.phone-duo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: clamp(1rem, 4vw, 2rem);
}
.phone--duo {
  width: clamp(150px, 45%, 208px);
  flex: none;
}
.phone--duo-back {
  transform: rotate(4.5deg) translateY(-5%);
  z-index: 1;
}
.phone--duo-front {
  margin-left: -13%;
  transform: rotate(-4deg) translateY(5%);
  z-index: 2;
}
.report-list {
  margin-top: 2.6rem;
  display: grid;
}
.report-list li {
  display: flex;
  gap: 1.5rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
}
.report-num {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 340;
  line-height: 1.1;
  color: var(--accent-bright);
  min-width: 2.9rem;
}
.report-list h3 {
  font-size: 1.4rem;
  font-weight: 480;
  color: var(--cream);
  line-height: 1.1;
}
.report-list p {
  margin-top: 0.4rem;
  font-size: 0.95rem;
  color: var(--muted);
}

/* ---- 5. Best & tricky colors ------------------------------------------------------ */
.colors-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: clamp(3rem, 7vw, 5rem);
}
.color-card {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  padding: clamp(1.9rem, 4.5vw, 3rem) clamp(1.9rem, 4.5vw, 3rem) 0;
  border-radius: 32px;
  overflow: hidden;
}
.color-card--best { background: var(--cream); color: var(--ink); }
.color-card--tricky {
  background: var(--surface);
  border: 1px solid var(--line-soft);
}
.color-card h3 {
  margin-top: 1rem;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 440;
  line-height: 1.12;
  max-width: 22ch;
}
.color-card--best h3 { color: var(--ink); }
.color-card--tricky h3 { color: var(--cream); }
.swatch-row { display: flex; gap: 0.55rem; margin-top: 1.6rem; }
.swatch-row span {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.swatch-row--outline span {
  box-shadow: inset 0 0 0 2px rgba(244, 237, 225, 0.28);
  opacity: 0.92;
}
.color-card .phone--card {
  align-self: center;
  margin-bottom: clamp(-5.5rem, -12vw, -3.2rem);
}

/* ---- 6. Makeup · Metals · Style ------------------------------------------------------ */
.beyond .display { margin-top: 1rem; }
.bento {
  display: grid;
  gap: 1.25rem;
  margin-top: clamp(3rem, 7vw, 5rem);
}
.bento-card {
  border-radius: 32px;
  padding: clamp(1.9rem, 4.5vw, 2.8rem);
}
.bento-card h3 {
  font-size: clamp(1.45rem, 3vw, 1.8rem);
  font-weight: 440;
  line-height: 1.12;
}
.bento-card p {
  margin-top: 0.8rem;
  font-size: 0.98rem;
  max-width: 34ch;
}
.bento-card--metals {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  padding-bottom: 0;
  background: var(--cream);
  color: var(--ink);
  overflow: hidden;
}
.bento-card--metals h3 { color: var(--ink); }
.bento-card--metals p { color: var(--ink-soft); }
.bento-card--metals .phone--card {
  align-self: center;
  margin-top: auto;
  margin-bottom: clamp(-5.5rem, -12vw, -3.2rem);
}
.bento-card--makeup {
  background: linear-gradient(150deg, #2C1C11, #1A110B);
  border: 1px solid rgba(224, 136, 95, 0.18);
}
.bento-card--makeup h3 { color: var(--cream); }
.bento-card--makeup p { color: var(--muted); }
.makeup-dots { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.9rem; }
.makeup-dots span {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: inset -7px -9px 16px rgba(0, 0, 0, 0.28), inset 7px 9px 16px rgba(255, 255, 255, 0.24);
}
.bento-card--style {
  background: var(--surface);
  border: 1px solid var(--line-soft);
}
.bento-card--style h3 { color: var(--cream); }
.bento-card--style p { color: var(--muted); }
.formula-list { margin-top: 1.6rem; }
.formula-list li {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding-block: 0.95rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-soft);
}
.formula-list .dot { width: 16px; height: 16px; }
.formula-list em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--muted);
}

/* ---- 7. Scanner ------------------------------------------------------------------ */
.scanner { overflow: clip; }
.scanner-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(640px circle at 82% 52%, rgba(192, 96, 60, 0.17), transparent 70%);
  pointer-events: none;
}
.scanner-grid {
  display: grid;
  gap: var(--grid-gap);
  align-items: center;
  margin-top: clamp(3rem, 7vw, 5rem);
}
.scanner-steps {
  margin-top: 2.4rem;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--cream);
  letter-spacing: -0.01em;
}
.scanner-steps span { opacity: 0.55; }
.scanner-steps em {
  font-style: italic;
  background: linear-gradient(100deg, var(--accent-bright), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.scanner .cta-row { margin-top: 2.6rem; }
.scanner-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding-block: 1rem;
}
.phone-duo--scan .phone--duo { width: clamp(156px, 47%, 222px); }

/* ---- 8. Editorial gallery ----------------------------------------------------------- */
.gallery .display { margin-top: 1rem; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-flow: dense;
  gap: 1rem;
  margin-top: clamp(3rem, 7vw, 5rem);
}
.tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-tile);
  aspect-ratio: 3 / 4;
}
.tile--shot { background: var(--surface); }
.tile--shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.tile--shot:hover img { transform: scale(1.045); }
.tile--statement, .tile--quote {
  grid-column: span 2;
  aspect-ratio: auto;
  display: flex;
  align-items: center;
  padding: clamp(1.8rem, 4vw, 2.6rem);
}
.tile--statement {
  background: var(--cream);
  color: var(--ink);
}
.tile--statement p {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4.2vw, 2.5rem);
  font-weight: 420;
  line-height: 1.12;
  text-wrap: balance;
}
.tile--statement em { font-style: italic; }
.tile--quote {
  background: linear-gradient(140deg, #2C1C11, #17100A);
  border: 1px solid rgba(224, 136, 95, 0.16);
}
.tile--quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--text-soft);
  text-wrap: balance;
}
.tile--color { background: var(--c); display: flex; align-items: flex-end; padding: 1.1rem; }
.tile--color figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.65rem 1rem;
  background: rgba(23, 17, 12, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  color: var(--cream);
}
.tile--color strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 460;
  line-height: 1.1;
}
.tile--color span { font-size: 0.76rem; opacity: 0.85; }

/* ---- 9. Final CTA ---------------------------------------------------------------------- */
.final-cta {
  background: var(--cream);
  color: var(--ink);
  padding-block: clamp(6rem, 14vw, 10rem);
  text-align: center;
  border-radius: clamp(28px, 6vw, 56px) clamp(28px, 6vw, 56px) 0 0;
}
.final-cta h2 {
  margin-top: 1.2rem;
  font-size: clamp(3.1rem, 11vw, 7.5rem);
  line-height: 0.96;
  color: var(--ink);
}
.final-sub {
  margin-top: 1.4rem;
  font-size: 1.05rem;
  color: var(--ink-soft);
}
.final-cta .store-row { margin-top: 2.8rem; }

/* ---- 10. Footer -------------------------------------------------------------------------- */
.site-footer {
  background: var(--bg-deep);
  padding-block: 3.5rem 2rem;
}
.footer-inner {
  display: grid;
  gap: 2.5rem;
}
.footer-brand p {
  margin-top: 0.6rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.98rem;
  color: var(--muted);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.6rem;
}
.footer-nav a {
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
  padding-block: 0.55rem;
  transition: color 0.2s ease;
}
.footer-nav a:hover { color: var(--cream); }
.footer-social { display: flex; gap: 0.8rem; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.footer-social a:hover { color: var(--cream); border-color: var(--cream); }
.footer-social svg { width: 18px; height: 18px; }
.footer-legal {
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-soft);
}
.footer-legal p { font-size: 0.8rem; color: #8B8276; }

/* ---- Motion: reveal on scroll ------------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.8s ease var(--reveal-delay, 0s),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0s);
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
  .ticker-track { animation: none; }
  [data-parallax] { transform: none !important; }
  .tile--shot img { transition: none; }
  html { scroll-behavior: auto; }
}

/* ---- Breakpoints ---------------------------------------------------------------------------- */
@media (min-width: 560px) {
  .tone-cards { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .header-nav { display: flex; }

  /* Hero: two columns — copy left, image right */
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; align-items: center; }
  .hero-copy { max-width: none; }
  .hero-visual {
    width: auto;
    max-width: none;
    margin-inline: 0;
    padding-inline: 0;
  }
  .hero-img { max-width: 100%; }

  .why-grid { grid-template-columns: 0.9fr 1.1fr; align-items: start; }

  .identity-card { grid-template-columns: 1.05fr 0.95fr; }

  .report-grid { grid-template-columns: 0.95fr 1.05fr; }

  .colors-grid { grid-template-columns: 1.06fr 0.94fr; align-items: start; }

  .bento { grid-template-columns: repeat(12, 1fr); }
  .bento-card--metals { grid-column: span 5; grid-row: span 2; }
  .bento-card--makeup { grid-column: span 7; }
  .bento-card--style { grid-column: span 7; }

  .scanner-grid { grid-template-columns: 1.05fr 0.95fr; }

  .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
}
