/* ============================================================
   Color the Look — landing page
   Editorial, soft, premium. Ivory + high-contrast fashion color.
   ============================================================ */

:root {
  --ivory:       #fbf7f0;
  --ivory-2:     #f4ece0;
  --ivory-3:     #efe6d7;
  --ink:         #221f1c;
  --ink-soft:    #6f665b;
  --line:        rgba(34, 31, 28, 0.10);
  --line-strong: rgba(34, 31, 28, 0.16);
  --sky:         #8fb8e6;
  --lemon:       #f4d35e;
  --olive:       #8a9356;
  --blush:       #e8d9c5;

  --maxw: 1180px;
  --pad: clamp(20px, 5vw, 72px);
  --radius: 22px;
  --radius-lg: 34px;
  --shadow: 0 24px 60px -28px rgba(34, 31, 28, 0.30);
  --shadow-soft: 0 14px 40px -24px rgba(34, 31, 28, 0.28);

  --font-head: "Montserrat", system-ui, sans-serif;
  --font-ui: "Montserrat", system-ui, sans-serif;
  --font-body: "Poppins", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1100px 720px at 8% -4%, rgba(244, 201, 211, 0.40), transparent 60%),
    radial-gradient(1150px 820px at 100% 6%, rgba(205, 199, 240, 0.38), transparent 56%),
    radial-gradient(1000px 760px at 92% 100%, rgba(244, 222, 196, 0.34), transparent 60%),
    radial-gradient(900px 700px at 0% 96%, rgba(201, 226, 240, 0.30), transparent 58%),
    var(--ivory);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--ivory);
  padding: 10px 16px;
  border-radius: 0 0 12px 0;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.94rem;
  letter-spacing: 0.01em;
  padding: 14px 26px;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.button:active { transform: translateY(1px); }

.button-primary {
  background: var(--ink);
  color: var(--ivory);
  box-shadow: 0 10px 24px -12px rgba(34, 31, 28, 0.6);
}
.button-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(34, 31, 28, 0.55); }

.button-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.button-ghost:hover { background: var(--ivory-2); transform: translateY(-2px); }

.button-lg { padding: 16px 34px; font-size: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px var(--pad);
  background: rgba(251, 247, 240, 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-weight: 700;
  letter-spacing: 0.01em;
}
.brand img { border-radius: 9px; box-shadow: var(--shadow-soft); }

.header-right { display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); }
.header-link {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.header-link:hover { color: var(--ink); }

.desktop-nav { display: flex; gap: 28px; }
.desktop-nav a {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
}
.desktop-nav a:hover { color: var(--ink); }
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--ink);
  transition: width .25s ease;
}
.desktop-nav a:hover::after { width: 100%; }

.nav-cta {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 9px 18px;
  border-radius: 100px;
  border: 1px solid var(--line-strong);
  transition: background .25s ease, transform .25s ease, color .25s ease;
}
.nav-cta:hover { background: var(--ink); color: var(--ivory); transform: translateY(-1px); }

@media (max-width: 720px) {
  .desktop-nav { display: none; }
}

/* Compact single-row header on phones */
@media (max-width: 560px) {
  .site-header { padding: 11px 16px; gap: 10px; }
  .brand { gap: 8px; font-size: 0.95rem; min-width: 0; }
  .brand span { white-space: nowrap; }
  .brand img { width: 30px; height: 30px; }
  .header-right { gap: 12px; flex-shrink: 0; }
  .header-link { font-size: 0.85rem; padding: 10px 2px; }
  .nav-cta { white-space: nowrap; font-size: 0.82rem; padding: 10px 14px; }
}
@media (max-width: 380px) {
  .brand span { font-size: 0.9rem; }
  .header-link { display: none; } /* Support still in footer; keep header to brand + CTA */
}

/* ---------- Layout helpers ---------- */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(64px, 9vw, 120px) var(--pad);
}
.section-head { max-width: 640px; }
.section-head.center { margin: 0 auto; text-align: center; }

.kicker, .section-kicker {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive);
  margin: 0 0 16px;
}
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
.lede {
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  color: var(--ink-soft);
  margin: 18px 0 0;
}

/* ---------- Hero ---------- */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 84px) var(--pad) clamp(48px, 7vw, 96px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.eyebrow {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 18px;
}
.hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  line-height: 1.05;
  font-weight: 800;
}
.hero-line {
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  color: var(--ink-soft);
  margin: 22px 0 30px;
  max-width: 32ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
}
.hero-chips li {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 9px;
}
.hero-chips li::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--sky);
}
.hero-chips li:nth-child(2)::before { background: var(--lemon); }
.hero-chips li:nth-child(3)::before { background: var(--olive); }

/* Reveal / before-after card */
.reveal-card { margin: 0; position: relative; }
.reveal {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: radial-gradient(120% 80% at 50% 0%, #ffffff 0%, var(--ivory-2) 60%, var(--ivory-3) 100%);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  aspect-ratio: 820 / 1230;
  touch-action: none;
  user-select: none;
}
.reveal-base, .reveal-top img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.reveal-top {
  position: absolute;
  inset: 0;
  background: #ffffff;
  clip-path: inset(0 50% 0 0);
  will-change: clip-path;
}
.reveal-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(34, 31, 28, 0.55);
  transform: translateX(-1px);
  cursor: ew-resize;
  will-change: left;
}
.reveal-grip {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ivory);
  box-shadow: 0 6px 18px -6px rgba(34,31,28,.5);
  border: 1px solid var(--line-strong);
}
.reveal-grip::before, .reveal-grip::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0; height: 0;
  border: 5px solid transparent;
}
.reveal-grip::before { left: 9px; border-right-color: var(--ink); transform: translateY(-50%); }
.reveal-grip::after { right: 9px; border-left-color: var(--ink); transform: translateY(-50%); }
.reveal-handle:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }

.reveal-card figcaption {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  text-align: center;
  margin-top: 16px;
}
.swatches {
  display: flex;
  justify-content: center;
  gap: 9px;
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
}
.swatches li {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--s);
  border: 2px solid var(--ivory);
  box-shadow: 0 0 0 1px var(--line-strong);
}

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-line { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-chips { justify-content: center; }
  .reveal-card { max-width: 380px; margin: 8px auto 0; }
}

/* ---------- Ritual / features ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-soft);
  transition: transform .3s ease, box-shadow .3s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-number {
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--sky);
  display: block;
  margin-bottom: 14px;
}
.feature-card:nth-child(2) .feature-number { color: var(--lemon); }
.feature-card:nth-child(3) .feature-number { color: var(--olive); }
.feature-card h3 { font-size: 1.35rem; margin-bottom: 10px; }
.feature-card p { margin: 0; color: var(--ink-soft); font-size: 0.96rem; }

@media (max-width: 760px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* ---------- Ritual two-column + feature list ---------- */
.ritual-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.feature-list { margin-top: 30px; display: flex; flex-direction: column; gap: 12px; }
.feature-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-soft);
  transition: transform .3s ease, box-shadow .3s ease;
}
.feature-row:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature-row .feature-number { margin: 0; font-size: 1.15rem; line-height: 1.6; }
.feature-row:nth-child(2) .feature-number { color: var(--lemon); }
.feature-row:nth-child(3) .feature-number { color: var(--olive); }
.feature-row h3 { font-size: 1.12rem; margin-bottom: 4px; }
.feature-row p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }

/* Pinterest-style animated wall */
.wall {
  display: flex;
  gap: 16px;
  height: clamp(440px, 54vw, 600px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}
.wall-col { flex: 1; display: block; }
.wall-up { animation: wall-up 34s linear infinite; }
.wall-down { animation: wall-down 40s linear infinite; }
.wall:hover .wall-col { animation-play-state: paused; }
.wall img {
  width: 100%;
  margin-bottom: 16px;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
  display: block;
}
@keyframes wall-up   { from { transform: translateY(0); }    to { transform: translateY(-50%); } }
@keyframes wall-down { from { transform: translateY(-50%); } to { transform: translateY(0); } }

@media (max-width: 880px) {
  .ritual-grid { grid-template-columns: 1fr; }
  .wall { height: 420px; order: -1; }
}
@media (prefers-reduced-motion: reduce) {
  .wall-col { animation: none; }
}

/* ---------- Collection band ---------- */
.collection {
  background: transparent;
  max-width: none;
  padding-top: clamp(40px, 5vw, 72px);
  padding-bottom: clamp(28px, 3.5vw, 52px);
}
.collection > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }

.look-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 52px;
  align-items: end;
}
.look {
  margin: 0;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 0;
  box-shadow: var(--shadow-soft);
  transition: transform .35s ease, box-shadow .35s ease;
  overflow: hidden;
}
.look:hover { transform: translateY(-6px) rotate(-0.4deg); box-shadow: var(--shadow); }
.look img { width: 100%; object-fit: contain; }
.look figcaption {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.86rem;
  text-align: center;
  padding: 14px 6px 18px;
  color: var(--ink);
}

@media (max-width: 860px) {
  .look-gallery { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

/* ---------- Summer Edit marquee (smooth auto-scroll row) ---------- */
.marquee {
  margin-top: 52px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: ctl-marquee 52s linear infinite;
}
.marquee-track--rev {
  margin-top: 22px;
  animation: ctl-marquee 60s linear infinite reverse;
}
.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee .look {
  width: 248px;
  flex: 0 0 auto;
  margin-right: 22px;
}
@keyframes ctl-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (max-width: 600px) {
  .marquee .look { width: 198px; margin-right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .marquee-track { animation: none; }
}

/* ---------- Streak ---------- */
.streak-inner {
  background: var(--ink);
  color: var(--ivory);
  border-radius: var(--radius-lg);
  padding: clamp(34px, 5vw, 60px);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow);
}
.streak-inner .kicker { color: var(--lemon); }
.streak-inner .lede { color: rgba(251, 247, 240, 0.7); }
.streak-inner h2 { color: var(--ivory); }

.streak-week {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: space-between;
}
.streak-week li {
  flex: 1;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px solid rgba(251, 247, 240, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.82rem;
  color: rgba(251, 247, 240, 0.6);
}
.streak-week li.done {
  background: var(--lemon);
  border-color: var(--lemon);
  color: var(--ink);
}
.streak-week li.today {
  border-color: var(--lemon);
  color: var(--lemon);
  box-shadow: 0 0 0 4px rgba(244, 211, 94, 0.18);
}

@media (max-width: 720px) {
  .streak-inner { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Plus / subscription ---------- */
.plus-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 4vw, 56px);
  box-shadow: var(--shadow-soft);
}
.plus-copy .button { margin-top: 26px; }
.plus-list { list-style: none; padding: 0; margin: 0; }
.plus-list li {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 0.98rem;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 14px;
}
.plus-list li:last-child { border-bottom: none; }
.plus-list li::before {
  content: "✓";
  font-size: 0.78rem;
  color: var(--ink);
  background: var(--lemon);
  width: 22px; height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

@media (max-width: 760px) {
  .plus-card { grid-template-columns: 1fr; }
}

/* ---------- Coming next ---------- */
.next {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.next-art {
  margin: 0;
  background: radial-gradient(120% 90% at 50% 20%, #fff 0%, var(--ivory-2) 70%, var(--ivory-3) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-soft);
}
.next-art img { margin: 0 auto; }
@media (max-width: 760px) {
  .next { grid-template-columns: 1fr; }
  .next-art { order: 2; max-width: 360px; margin: 0 auto; }
}

/* ---------- Join ---------- */
.join-card {
  text-align: center;
  background: linear-gradient(160deg, var(--sky) 0%, #b9d4f0 50%, var(--blush) 100%);
  border-radius: var(--radius-lg);
  padding: clamp(48px, 7vw, 88px) var(--pad);
  box-shadow: var(--shadow);
  max-width: 820px;
  margin: 0 auto;
}
.join-card .kicker { color: var(--ink); }
.join-card h2 { color: var(--ink); }
.join-card .lede { color: rgba(34, 31, 28, 0.72); max-width: 46ch; margin-left: auto; margin-right: auto; }
.join-card .button { margin-top: 30px; }
.join-fine { font-size: 0.86rem; color: rgba(34,31,28,.66); margin: 18px 0 0; }
.join-fine a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 760px;
  margin: 44px auto 0;
}
.faq-list details {
  border-bottom: 1px solid var(--line-strong);
  padding: 6px 0;
}
.faq-list summary {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 18px 36px 18px 0;
  cursor: pointer;
  list-style: none;
  position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--ink-soft);
  transition: transform .25s ease;
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { margin: 0 0 18px; color: var(--ink-soft); max-width: 60ch; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ivory-2);
  padding: 46px var(--pad);
  display: flex;
  flex-wrap: wrap;
  gap: 22px 40px;
  align-items: center;
  justify-content: space-between;
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { border-radius: 10px; box-shadow: var(--shadow-soft); }
.footer-brand strong { font-family: var(--font-ui); display: block; }
.footer-brand span { font-size: 0.84rem; color: var(--ink-soft); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer nav a {
  font-family: var(--font-ui);
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.site-footer nav a:hover { color: var(--ink); }
.footer-fine {
  flex-basis: 100%;
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin: 6px 0 0;
}

/* ---------- Drag-to-color duo section ---------- */
.duo {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.duo-copy .swatches { justify-content: flex-start; margin-top: 26px; }
.swatches--lg li { width: 26px; height: 26px; }
.reveal-card--duo { max-width: 360px; width: 100%; }
@media (max-width: 860px) {
  .duo { grid-template-columns: 1fr; text-align: center; }
  .duo-copy .swatches { justify-content: center; }
  .duo-copy .lede { margin-left: auto; margin-right: auto; }
  .reveal-card--duo { margin: 0 auto; }
}

/* ---------- Showcase / app device mockups ---------- */
.showcase {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 8vw, 110px) var(--pad);
  background: transparent;
}
.ghost-head {
  position: absolute;
  top: clamp(20px, 4vw, 54px);
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(3rem, 12vw, 11rem);
  line-height: 0.82;
  letter-spacing: -0.02em;
  text-align: center;
  color: rgba(34, 31, 28, 0.055);
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
}
.showcase-inner { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; }
.showcase-head {
  max-width: 620px;
  margin: clamp(36px, 7vw, 120px) auto clamp(34px, 5vw, 56px);
  text-align: center;
}
.device-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(12px, 2.4vw, 34px);
}
.device { margin: 0; flex: 0 1 auto; width: clamp(150px, 24vw, 300px); }
.device--hero { width: clamp(186px, 30vw, 372px); z-index: 2; }
.device--side { transform: translateY(26px); }
.device--side:first-child { rotate: -3deg; }
.device--side:last-child { rotate: 3deg; }

/* two-device layout (drops + coloring) — straight, clean, bottoms aligned */
.device-row--duo { gap: clamp(18px, 3.5vw, 56px); align-items: flex-end; }
.device-row--duo .device { width: clamp(210px, 34vw, 400px); }
.device-row--duo .device--hero { width: clamp(230px, 38vw, 440px); transform: none; }
.device-row--duo .device--side { transform: none; rotate: 0deg; }
/* the screenshots are pre-composited into matching iPad frames (transparent
   PNGs), so the CSS just displays them with a soft drop shadow — no extra
   frame, no cropping. */
.device-screen {
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  aspect-ratio: auto;
}
.device-screen img {
  width: 100%; height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 30px 46px rgba(34, 31, 28, 0.22));
}
@media (max-width: 720px) {
  .device--side { display: none; }
  .device--hero { width: min(76vw, 320px); }
  .device-row--duo { flex-direction: column; gap: 28px; }
  .device-row--duo .device--side { display: block; rotate: 0deg; transform: none; }
  .device-row--duo .device--hero { transform: none; }
  .device-row--duo .device,
  .device-row--duo .device--hero { width: min(78vw, 320px); }
}

/* ---------- Look card badges ---------- */
.look-tag {
  position: absolute;
  top: 26px; left: 26px;
  z-index: 2;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.6rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--lemon);
  border: 1px solid rgba(34, 31, 28, 0.08);
  color: var(--ink);
}
.look-tag--plus { background: var(--ink); color: var(--ivory); border-color: var(--ink); }

/* ---------- Giant wordmark moment ---------- */
.wordmark-band {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px) var(--pad) 0;
  display: flex;
  justify-content: center;
  min-height: clamp(230px, 36vw, 480px);
}
.wordmark-text {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.6rem, 11vw, 9.5rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-align: center;
  color: var(--ink);
  z-index: 0;
  text-shadow: 0 20px 44px rgba(34, 31, 28, 0.22), 0 4px 10px rgba(34, 31, 28, 0.12);
}
.wordmark-art {
  position: absolute;
  bottom: 0;
  left: auto;
  right: clamp(0px, 4vw, 80px);
  transform: none;
  height: clamp(200px, 30vw, 410px);
  width: auto;
  z-index: 1;
  filter: drop-shadow(0 26px 40px rgba(34, 31, 28, 0.26));
}

/* ---------- Join + wall (bottom) ---------- */
.join-wall-copy .button { margin-top: 28px; }
.join-wall-copy .join-fine { margin-top: 16px; }
/* opener variant at the very top of the page */
.wordmark-band--opener {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: clamp(24px, 4vw, 52px);
  min-height: clamp(220px, 32vw, 440px);
  margin-bottom: clamp(-16px, -1.5vw, -32px);
}
.opener-soon {
  position: relative;
  z-index: 2;
  margin: clamp(10px, 1.6vw, 20px) 0 0;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.soon-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--olive);
  box-shadow: 0 0 0 4px rgba(138, 147, 86, 0.18);
  animation: soon-pulse 2s ease-in-out infinite;
}
@keyframes soon-pulse { 0%, 100% { opacity: 0.45; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .soon-dot { animation: none; } }

/* On phones the wordmark figure overlaps the "coming soon" line — keep the
   layered look but shrink the figure and give the line a readable backdrop. */
@media (max-width: 560px) {
  .wordmark-band--opener { min-height: 260px; }
  .wordmark-art { height: 168px; right: 0; }
  .opener-soon {
    background: rgba(251, 247, 240, 0.82);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    padding: 7px 15px;
    border-radius: 100px;
    font-size: 0.74rem;
  }
}
/* App Store badge (used once the app is live) */
.appstore-badge { position: relative; z-index: 2; margin-top: clamp(12px, 2vw, 22px); display: inline-block; }
.appstore-badge img { height: 52px; width: auto; }

/* ---------- Legal / support pages ---------- */
.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) var(--pad) clamp(64px, 9vw, 110px);
}
.legal-content h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 8px;
}
.legal-content h2 {
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  margin: 40px 0 10px;
}
.legal-content p,
.legal-content li {
  color: var(--ink-soft);
  font-size: 1.02rem;
  margin: 12px 0;
}
.legal-content a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-content ul { padding-left: 20px; }

/* ---------- Scroll reveal ---------- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-on-scroll.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll { opacity: 1; transform: none; transition: none; }
}
