@font-face {
  font-family: "Arizona Flare";
  src: local("ABC Arizona Flare Trial Medium"), url("fonts/ABCArizonaFlareTrial-Medium.otf") format("opentype");
  font-weight: 500; font-style: normal; font-display: swap;
}
:root {
  --bg: #FCFAF6;
  --card: #FFFDF9;
  --surface: #F3EEE6;
  --ink: #221E1A;
  --brown: #3A271C;
  --brown-deep: #2B1C13;
  --ink-2: #4A443D;
  --muted: #8C847A;
  --line: rgba(60, 40, 20, .09);
  --glass: rgba(255, 252, 246, .58);
  --glass-line: rgba(255, 253, 248, .7);
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 12px 40px rgba(0,0,0,.08);
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;
  --brand: "Marcellus", "Optima", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(1rem, 4vw, 3rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-weight: 400; font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, canvas { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; }

h1, h2, h3 { font-family: var(--sans); font-weight: 300; line-height: 1.04; letter-spacing: -0.04em; margin: 0 0 .45em; }
h1 { font-size: clamp(3rem, 6.4vw, 5.6rem); }
h2 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
h3 { font-size: 1.5rem; letter-spacing: -0.02em; font-weight: 400; }
h1 em, h2 em, h3 em, blockquote em { font-style: normal; color: var(--muted); }

.label { display: block; font-size: .85rem; font-weight: 500; color: var(--muted); margin: 0 0 .9rem; letter-spacing: -0.01em; }
.center { text-align: center; }
.sub { color: var(--muted); max-width: 34rem; margin: -0.4rem auto 2.5rem; font-size: 1.05rem; }

/* ---------- GLASS ---------- */
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(28px) saturate(170%); backdrop-filter: blur(28px) saturate(170%);
  border: 1px solid var(--glass-line);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 20px 50px rgba(0,0,0,.14);
}

/* ---------- NAV (floating glass bar) ---------- */
.nav {
  position: sticky; top: 14px; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  max-width: 1240px; margin: 14px auto 0; padding: .7rem .8rem .7rem 1.4rem;
  width: calc(100% - 2 * var(--gutter));
  background: rgba(252,249,244,.74);
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(0,0,0,.05); border-radius: 18px;
  box-shadow: 0 8px 30px rgba(0,0,0,.08);
}
.brand { font-family: "Arizona Flare", var(--brand); font-weight: 500; font-size: 1.5rem; letter-spacing: .03em; text-transform: uppercase; text-decoration: none; line-height: 1; color: var(--ink); }
.nav-links { display: flex; gap: 2rem; margin-left: auto; }
.nav-links a, .nav-left a, .nav-right a:not(.btn) { text-decoration: none; font-size: .9rem; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.nav-left, .nav-right { display: flex; gap: 2rem; align-items: center; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem; cursor: pointer;
  border: 0; background: var(--brown); color: #fff;
  font-family: var(--sans); font-weight: 500; font-size: .95rem; letter-spacing: -0.01em;
  padding: .95rem 1.6rem; text-decoration: none; border-radius: 999px;
  transition: transform .15s, background .2s, opacity .2s;
}
.btn:hover { background: var(--brown-deep); transform: translateY(-1px); }
.btn:disabled { opacity: .25; cursor: not-allowed; transform: none; }
.btn-ghost, .btn-soft, .btn-outline { background: rgba(0,0,0,.05); color: var(--ink); }
.btn-ghost:hover, .btn-soft:hover, .btn-outline:hover { background: rgba(0,0,0,.09); }
.btn-small { padding: .6rem 1.15rem; font-size: .85rem; }
.btn-pill { padding: 1rem 1.8rem; }
.btn-gold { background: var(--brown); }

/* ---------- HERO ---------- */
.hero {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 4vw, 4rem); align-items: center;
  max-width: 1340px; margin: 0 auto; padding: 1.6rem var(--gutter) 3rem;
  min-height: calc(100vh - 80px);
}
.hero-copy { padding: 2rem 0; }
.kicker {
  display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; font-weight: 500; color: var(--ink-2);
  padding: .4rem .9rem; border-radius: 999px; background: var(--surface); margin-bottom: 1.6rem;
}
.kicker i { width: 7px; height: 7px; border-radius: 50%; background: #34C759; box-shadow: 0 0 0 3px rgba(52,199,89,.18); }
.hero h1 { margin-bottom: .35em; }
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 30rem; margin: 0 0 2rem; font-weight: 300; }
.hero-cta { display: flex; gap: .7rem; flex-wrap: wrap; }
.hero-points { list-style: none; padding: 0; margin: 2.4rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; color: var(--muted); font-size: .85rem; }
.hero-points li { display: flex; align-items: center; gap: .45rem; }
.hero-points li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 7.2l2 2 4-4.4' fill='none' stroke='%231D1D1F' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }

.hero-media {
  position: relative; height: min(calc(100vh - 120px), 860px); min-height: 620px;
  border-radius: var(--r-lg); overflow: hidden; background: #D9CBB8;
  animation: fadeUp .9s cubic-bezier(.2,.8,.2,1) both;
}
/* Rotating slides: crossfade with a slow settle */
.slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.07); transition: opacity 1.3s ease, transform 8s cubic-bezier(.2,.6,.2,1); }
.slide.active { opacity: 1; transform: scale(1.0); }
.hero-dots { position: absolute; right: 1.1rem; top: 1rem; z-index: 3; display: flex; gap: 6px; padding: 8px 10px; border-radius: 999px; background: rgba(0,0,0,.22); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.hero-dots button { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 3px; background: rgba(255,255,255,.55); cursor: pointer; transition: width .35s cubic-bezier(.16,1,.3,1), background .35s; }
.hero-dots button.active { width: 20px; background: #fff; }
/* Card + tags swap smoothly between slides */
.readout-season, .tag, .readout-meters em { transition: opacity .35s ease, filter .35s ease; }
.hero-media.swapping .readout-season, .hero-media.swapping .tag, .hero-media.swapping .readout-meters em { opacity: 0; filter: blur(4px); }
.readout-swatches i { transition: background-color .7s ease; }
.hero-media.ready .tag, .hero-media.ready .readout, .hero-media.ready .readout-swatches i { animation: none; }
.hero-media.ready .readout-meters b::after { animation: none; transition: width .9s cubic-bezier(.16,1,.3,1); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } }

.tag {
  position: absolute; display: inline-flex; align-items: center; gap: .45rem;
  padding: .45rem .8rem .45rem .5rem; border-radius: 999px; font-size: .78rem; font-weight: 500; color: var(--ink);
  background: rgba(255,255,255,.62); -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%);
  border: 1px solid rgba(255,255,255,.7); box-shadow: 0 6px 20px rgba(0,0,0,.12);
  animation: fadeUp .8s .5s cubic-bezier(.2,.8,.2,1) both;
}
.tag i { width: 16px; height: 16px; border-radius: 50%; background: var(--c); border: 2px solid #fff; }
.tag::after { content: ""; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--card); box-shadow: 0 0 0 4px rgba(255,255,255,.35); }
.tag { left: 0; top: 0; white-space: nowrap; z-index: 2; }
.tag::after { top: calc(50% - var(--sy, 0px)); transform: translateY(-50%); }
/* --sx/--sy keep the dot on its point when the label itself has to slide to stay on screen */
.tag.dot-left::after { left: calc(-26px - var(--sx, 0px)); right: auto; }
.tag.dot-right::after { right: calc(-24px + var(--sx, 0px)); left: auto; }
.tag-skin { animation-delay: .65s; }

.readout {
  position: absolute; left: 1.1rem; right: 1.1rem; bottom: 1.1rem; max-width: 460px; margin-left: auto;
  border-radius: 24px; padding: 1.2rem 1.2rem 1rem;
  animation: fadeUp .9s .35s cubic-bezier(.2,.8,.2,1) both;
}
.readout-head { display: flex; justify-content: space-between; font-size: .78rem; font-weight: 500; color: var(--ink-2); }
.status { display: inline-flex; align-items: center; gap: .35rem; }
.status i { width: 6px; height: 6px; border-radius: 50%; background: #34C759; }
.readout-season { margin: .7rem 0 .9rem; }
.readout-season h3 { font-size: 2rem; font-weight: 400; letter-spacing: -0.035em; margin: 0; }
.readout-season p { margin: .1rem 0 0; font-size: .85rem; color: var(--ink-2); }
.readout-meters { display: grid; gap: .5rem; margin-bottom: 1rem; }
.readout-meters div { display: grid; grid-template-columns: 5.2rem 1fr 4rem; align-items: center; gap: .7rem; font-size: .75rem; color: var(--ink-2); }
.readout-meters b { position: relative; height: 4px; border-radius: 4px; background: rgba(0,0,0,.08); }
.readout-meters b::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--v); border-radius: 4px; background: var(--brown); animation: grow 1.2s .8s cubic-bezier(.2,.8,.2,1) both; }
@keyframes grow { from { width: 0; } }
.readout-meters em { font-style: normal; text-align: right; color: var(--ink); font-weight: 500; }
.readout-swatches { display: grid; grid-template-columns: repeat(8, 1fr); gap: .35rem; margin-bottom: 0; }
.readout-swatches i { aspect-ratio: 1; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.readout-bar {
  display: flex; justify-content: space-between; align-items: center; text-decoration: none;
  padding: .85rem 1rem; border-radius: 14px; background: rgba(255,255,255,.75); font-size: .9rem; font-weight: 500; color: var(--ink);
  transition: background .2s;
}
.readout-bar:hover { background: var(--card); }
.credit {
  position: absolute; left: 1.1rem; top: 1rem; z-index: 3; max-width: calc(100% - 7.5rem);
  font-size: .66rem; line-height: 1.35; color: rgba(255,255,255,.95); text-decoration: none;
  padding: .35rem .7rem; border-radius: 12px; background: rgba(0,0,0,.28);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.credit.long { max-width: min(62%, 340px); }
a.credit[href]:hover { background: rgba(0,0,0,.4); }


/* ---------- LOGO STRIP ---------- */
.proof { padding: 1.5rem 0 3.5rem; text-align: center; }
.proof-label { font-size: .85rem; color: var(--muted); margin: 0 0 1.4rem; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: inline-flex; align-items: center; }
.marquee-track > span, .marquee-track .dup > span { margin: 0 2.6rem; color: var(--ink-2); opacity: .55; white-space: nowrap; font-size: 1.45rem; line-height: 1; transition: opacity .2s; }
.marquee-track > span:hover, .marquee-track .dup > span:hover { opacity: .9; }
.marquee-track .dup { margin: 0; opacity: 1; font-size: inherit; }
@keyframes marquee { to { transform: translateX(-50%); } }
.w-zara { font-family: "Bodoni Moda", Didot, serif; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.w-cos { font-family: var(--sans); font-weight: 600; letter-spacing: .32em; text-transform: uppercase; font-size: 1.2rem !important; }
.w-aritzia { font-family: var(--sans); font-weight: 300; letter-spacing: .22em; text-transform: uppercase; font-size: 1.15rem !important; }
.w-sezane { font-family: var(--brand); font-style: italic; letter-spacing: .02em; }
.w-ref { font-family: Georgia, serif; font-style: italic; font-weight: 400; }
.w-mango { font-family: var(--sans); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: 1.25rem !important; }
.w-stories { font-family: Georgia, serif; letter-spacing: .01em; }
.w-md { font-family: var(--brand); letter-spacing: .14em; text-transform: uppercase; font-size: 1.15rem !important; }
.w-sephora { font-family: var(--sans); font-weight: 500; letter-spacing: .28em; text-transform: uppercase; font-size: 1.15rem !important; }
.w-uniqlo { font-family: var(--sans); font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }
@media (max-width: 560px) { .marquee-track > span, .marquee-track .dup > span { margin: 0 1.6rem; font-size: 1.2rem; } }

/* ---------- SECTIONS ---------- */
.section { padding: clamp(5rem, 9vw, 8rem) var(--gutter); }
#analysis, #seasons, .contact { background: var(--surface); }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 1200px; margin: 3.5rem auto 0; }
.pillars article { background: var(--surface); border-radius: var(--r-md); padding: 2rem; }
.pillars h3 { font-size: 1.7rem; font-weight: 300; letter-spacing: -0.03em; }
.pillars p { color: var(--ink-2); margin: 0; }

.includes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; max-width: 1200px; margin: 3.5rem auto 0; }
.includes > div { background: var(--surface); border-radius: var(--r-md); padding: 1.6rem; }
.includes h4 .emoji { margin-right: .45rem; }
.includes h4 { font-weight: 500; font-size: 1.05rem; letter-spacing: -0.01em; margin: 0 0 .3rem; }
.includes p { margin: 0; color: var(--muted); font-size: .9rem; }

/* ---------- ANALYSIS ---------- */
.steps { display: flex; gap: .5rem; list-style: none; padding: .35rem; margin: 0 auto 2rem; max-width: 34rem; background: rgba(0,0,0,.05); border-radius: 999px; counter-reset: s; }
.steps li { flex: 1; text-align: center; font-size: .82rem; font-weight: 500; color: var(--muted); padding: .55rem 0; border-radius: 999px; counter-increment: s; transition: all .25s; }
.steps li.active { background: var(--card); color: var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.steps li.done { color: var(--ink); }

.panel { display: none; max-width: 62rem; margin: 0 auto; background: var(--card); border-radius: var(--r-lg); padding: clamp(1.4rem, 4vw, 3rem); box-shadow: var(--shadow); }
.panel.active { display: block; animation: fadeUp .45s ease both; }
.panel h3 { font-size: 2rem; font-weight: 300; letter-spacing: -0.035em; }
.panel h3 .opt { font-size: .75rem; font-weight: 500; letter-spacing: 0; color: #248A3D; background: rgba(52,199,89,.12); padding: .25rem .6rem; border-radius: 999px; vertical-align: middle; margin-left: .5rem; }
.hint { color: var(--muted); margin-top: 0; }
.row-actions { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }
.row-actions:has(> :only-child) { justify-content: flex-end; }

.photo-guide { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-bottom: 1rem; }
.guide-col { padding: 1.2rem 1.4rem; background: var(--surface); border-radius: var(--r-sm); }
.guide-col h4 { font-weight: 600; font-size: .85rem; margin: 0 0 .6rem; }
.guide-col.do h4 { color: #248A3D; }
.guide-col.dont h4 { color: var(--muted); }
.guide-col ul { list-style: none; margin: 0; padding: 0; font-size: .9rem; color: var(--ink-2); }
.guide-col li { padding: .25rem 0 .25rem 1.4rem; position: relative; }
.guide-col.do li::before { content: "✓"; position: absolute; left: 0; color: #248A3D; }
.guide-col.dont li::before { content: "×"; position: absolute; left: 0; color: var(--muted); }

.drop { display: flex; align-items: center; justify-content: center; text-align: center; background: var(--surface); border: 1.5px dashed rgba(0,0,0,.12); border-radius: var(--r-md); min-height: 220px; cursor: pointer; transition: background .2s; }
.drop:hover, .drop.over { background: #ECE5DA; }
.drop-inner { display: flex; flex-direction: column; gap: .7rem; align-items: center; color: var(--muted); font-size: .95rem; }
.drop-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--card); box-shadow: var(--shadow); color: var(--ink); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 300; }

.feature-layout { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.feature-layout.with-photo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.photo-wrap { position: relative; }
.photo-wrap canvas { width: 100%; height: auto; cursor: crosshair; border-radius: var(--r-md); }
.loupe { position: absolute; width: 44px; height: 44px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.15), 0 6px 18px rgba(0,0,0,.2); pointer-events: none; transform: translate(-50%, -130%); display: none; }
.features { display: flex; flex-direction: column; gap: .6rem; }
.feature { background: var(--surface); border: 1.5px solid transparent; border-radius: var(--r-sm); padding: 1rem; cursor: pointer; transition: border-color .2s, background .2s; }
.feature.active { border-color: var(--brown); background: var(--card); }
.feature-head { display: flex; gap: 1rem; align-items: center; margin-bottom: .8rem; }
.feature-head small { display: block; color: var(--muted); font-size: .8rem; }
.feature-head strong { font-weight: 600; font-size: .95rem; }
.chip { width: 38px; height: 38px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px var(--line); background: repeating-linear-gradient(45deg, #eee 0 4px, #fff 4px 8px); }
.swatches { display: flex; flex-wrap: wrap; gap: .45rem; }
.swatches button { width: 28px; height: 28px; border-radius: 50%; border: 0; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); cursor: pointer; padding: 0; transition: transform .15s; }
.swatches button:hover { transform: scale(1.12); }
.swatches button.sel { outline: 2px solid var(--ink); outline-offset: 2px; }

/* QUIZ */
.q { padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.q:last-child { border-bottom: 0; }
.q fieldset { border: 0; padding: 0; margin: 0; }
.q legend { font-size: 1.15rem; font-weight: 500; letter-spacing: -0.015em; margin-bottom: .3rem; padding: 0; }
.q .q-hint { color: var(--muted); font-size: .88rem; margin: 0 0 .9rem; }
.opts { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .7rem; }
.opts label { cursor: pointer; }
.opts input { position: absolute; opacity: 0; pointer-events: none; }
.opts span { display: inline-flex; align-items: center; gap: .5rem; border-radius: 999px; background: var(--surface); padding: .6rem 1.1rem; font-size: .9rem; transition: all .15s; }
.opts span:hover { background: #ECE5DA; }
.opts span i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.opts input:checked + span { background: var(--brown); color: #fff; }
.opts input:focus-visible + span { outline: 2px solid #0071E3; outline-offset: 2px; }

.analyzing { text-align: center; padding: 4rem 0; color: var(--muted); }
.spinner { width: 48px; height: 48px; margin: 0 auto 1.5rem; border-radius: 50%; border: 3px solid var(--surface); border-top-color: var(--brown); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* RESULT */
.result-hero { text-align: center; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.result-hero .family { font-size: .85rem; font-weight: 500; color: var(--muted); }
.result-hero h2 { font-size: clamp(2.8rem, 7vw, 4.8rem); margin: .4rem 0 .2rem; }
.result-hero .tagline { font-size: 1.2rem; color: var(--ink-2); margin: 0 0 1.2rem; font-weight: 300; }
.traits { display: flex; justify-content: center; gap: .5rem; flex-wrap: wrap; }
.traits span { background: var(--surface); border-radius: 999px; padding: .4rem 1rem; font-size: .82rem; font-weight: 500; }

.result-body { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding: 2.5rem 0; align-items: start; }
.result-body.no-photo { grid-template-columns: 1fr; }
.drape { text-align: center; }
.drape-frame { width: min(320px, 100%); aspect-ratio: 1; margin: 0 auto; border-radius: 50%; padding: 34px; background: var(--drape, #ccc); transition: background .4s; }
.drape-frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.drape small { display: block; margin-top: 1rem; color: var(--muted); font-size: .82rem; }

.profile h4, .block h4 { font-weight: 600; font-size: .95rem; margin: 0 0 1rem; color: var(--ink); }
.meter { margin-bottom: 1.2rem; }
.meter .labels { display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); margin-bottom: .45rem; }
.meter .labels strong { font-weight: 500; color: var(--ink); }
.meter .track { position: relative; height: 6px; border-radius: 6px; }
.meter .dot { position: absolute; top: 50%; width: 16px; height: 16px; border-radius: 50%; background: var(--card); box-shadow: 0 1px 4px rgba(0,0,0,.25); transform: translate(-50%, -50%); }
.profile .about { color: var(--ink-2); margin-top: 1.5rem; }

.hero-swatches { display: grid; grid-template-columns: repeat(6, 1fr); gap: .6rem; margin: 0 0 2.5rem; }
.sw { aspect-ratio: 1; border-radius: var(--r-sm); cursor: pointer; position: relative; transition: transform .15s; box-shadow: inset 0 0 0 1px rgba(0,0,0,.04); }
.sw:hover { transform: scale(1.04); }

.locked-wrap { position: relative; }
.locked-wrap.locked .full-report { filter: blur(12px); pointer-events: none; user-select: none; max-height: 560px; overflow: hidden; }
.paywall { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.locked-wrap:not(.locked) .paywall { display: none; }
.paywall-card {
  text-align: center; max-width: 25rem; padding: 2.2rem; border-radius: var(--r-lg);
  background: rgba(255,255,255,.7); -webkit-backdrop-filter: blur(28px) saturate(170%); backdrop-filter: blur(28px) saturate(170%);
  border: 1px solid rgba(255,255,255,.8); box-shadow: 0 30px 80px rgba(0,0,0,.18);
}
.paywall-card .label { margin: 0; }
.paywall-card .price { font-weight: 300; font-size: 3.6rem; letter-spacing: -0.05em; line-height: 1; margin: .5rem 0; }
.paywall-card ul { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; color: var(--ink-2); font-size: .92rem; text-align: left; }
.paywall-card li { padding: .45rem 0 .45rem 1.6rem; position: relative; }
.paywall-card li::before { content: "✓"; position: absolute; left: 0; color: #248A3D; }
.demo-note { font-size: .75rem; color: var(--muted); margin: 1rem 0 0; }

.full-report { display: grid; gap: 2.8rem; padding-top: 1rem; }
.palette-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: .5rem; }
.pairs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.pair { font-size: .88rem; }
.pair .sw { margin-bottom: .6rem; }
.pair code { display: block; font-family: var(--sans); font-size: .75rem; color: var(--muted); }
.avoid .sw::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(to top right, transparent calc(50% - 1px), rgba(255,255,255,.9) 50%, transparent calc(50% + 1px)); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.makeup-row { display: flex; gap: .9rem; align-items: center; margin-bottom: .9rem; flex-wrap: wrap; }
.makeup-row b { font-weight: 500; width: 3.6rem; font-size: .82rem; color: var(--muted); }
.makeup-row .m { display: flex; align-items: center; gap: .4rem; font-size: .9rem; }
.makeup-row .m i { width: 20px; height: 20px; border-radius: 50%; display: inline-block; }
.metal-list { display: flex; gap: .5rem; flex-wrap: wrap; }
.metal-list span { padding: .45rem 1rem; border-radius: 999px; background: var(--surface); font-size: .88rem; }
.note { background: var(--surface); border-radius: var(--r-md); padding: 1.8rem; font-size: 1.35rem; font-weight: 300; letter-spacing: -0.02em; line-height: 1.35; text-align: center; }
.report-actions { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; }

/* ---------- SEASONS ---------- */
.chips { display: inline-flex; gap: .3rem; padding: .3rem; margin: 2.5rem auto 2rem; background: rgba(0,0,0,.05); border-radius: 999px; }
.seasons { text-align: center; }
.chips button { background: transparent; border: 0; border-radius: 999px; padding: .5rem 1.2rem; font-size: .88rem; font-weight: 500; color: var(--ink-2); cursor: pointer; transition: all .2s; }
.chips button.active { background: var(--card); color: var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.season-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; max-width: 1200px; margin: 0 auto; text-align: left; }
.season-card { position: relative; background: var(--card); border-radius: var(--r-md); padding: 1.2rem 1.3rem 1.4rem; transition: transform .25s, box-shadow .25s; }
.season-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.season-card[hidden] { display: none; }
.season-card .bookmark { display: none; }
.mini-fan { position: relative; aspect-ratio: 1; margin: .6rem auto 1.2rem; width: 80%; }
.mini-fan span { position: absolute; left: 50%; bottom: 8%; width: 20%; height: 78%; margin-left: -10%; background: var(--c); transform: rotate(var(--r)); transform-origin: 50% 94%; border-radius: 6px 6px 30px 30px; box-shadow: 0 6px 14px rgba(0,0,0,.08); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.season-card:hover .mini-fan span { transform: rotate(calc(var(--r) * 1.35)); }
.season-meta { display: flex; justify-content: space-between; align-items: end; gap: 1rem; }
.season-meta .fam { font-size: .78rem; color: var(--muted); display: block; }
.season-meta h3 { font-size: 1.15rem; font-weight: 500; letter-spacing: -0.02em; margin: .1rem 0 0; }
.season-meta .count { font-size: .78rem; color: var(--muted); white-space: nowrap; }
.season-card p { font-size: .88rem; color: var(--ink-2); margin: .45rem 0 0; }

a.season-card { display: block; text-decoration: none; color: inherit; }

/* ---------- HOW IT WORKS ---------- */
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 1200px; margin: 3.5rem auto 2.5rem; }
.how-steps > div { background: var(--surface); border-radius: var(--r-md); padding: 2rem; }
.how-steps span { width: 34px; height: 34px; border-radius: 50%; background: var(--brown); color: #fff; display: flex; align-items: center; justify-content: center; font-size: .9rem; font-weight: 500; margin-bottom: 1.4rem; }
.how-steps h3 { font-size: 1.6rem; font-weight: 300; letter-spacing: -0.03em; }
.how-steps p { color: var(--ink-2); margin: 0; }

/* ---------- ANALYST ---------- */
.analyst { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; max-width: 1340px; margin: 0 auto; padding: clamp(4rem, 8vw, 7rem) var(--gutter); align-items: center; }
.analyst-photo { background: var(--surface); border-radius: var(--r-lg); min-height: 560px; display: flex; overflow: hidden; }
.analyst-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.analyst-photo img.bw { filter: grayscale(1) contrast(1.05); }
.photo-placeholder { flex: 1; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: .9rem; }
.analyst-text { padding: 2rem clamp(1rem, 4vw, 4rem); }
.analyst-text p { color: var(--ink-2); max-width: 30rem; }
.credential { font-size: .9rem; font-weight: 500; color: var(--muted) !important; margin-top: -.4rem; }
.signature { font-size: 1.1rem; font-weight: 500; color: var(--ink) !important; }

.promise { text-align: center; }
.promise blockquote { font-size: clamp(2rem, 4.6vw, 3.6rem); font-weight: 300; letter-spacing: -0.04em; line-height: 1.1; margin: 0 auto; max-width: 22ch; }


.faq { max-width: 50rem; margin: 0 auto; }
.faq h2 { margin-bottom: .45em; }
.faq > .sub { margin: -0.4rem auto 2.5rem; }
.faq details { background: var(--surface); border-radius: var(--r-sm); padding: 1.2rem 1.4rem; margin-bottom: .6rem; }
.faq summary { font-size: 1.05rem; font-weight: 500; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 300; font-size: 1.3rem; line-height: 1; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--ink-2); margin: .8rem 0 0; }
.faq p a, .demo-note a { color: #0071E3; }

footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; max-width: 1340px; margin: 0 auto; padding: 2.4rem var(--gutter); color: var(--muted); font-size: .8rem; }
footer .brand { font-size: 1.15rem; }
.footer-links { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.footer-links a { text-decoration: none; color: var(--ink-2); font-size: .85rem; }
.footer-links a:hover { color: var(--ink); }

/* ---------- POLICY PAGES ---------- */
.topbar { display: none; }
.legal { max-width: 44rem; margin: 0 auto; padding: clamp(3rem, 8vw, 6rem) var(--gutter); }
.legal h1 { font-size: clamp(2.6rem, 6vw, 4rem); }
.legal h2 { font-size: 1.5rem; font-weight: 400; letter-spacing: -0.02em; margin-top: 2.5rem; }
.legal p, .legal li { color: var(--ink-2); }
.legal .updated { font-size: .85rem; color: var(--muted); }
.legal a { color: #0071E3; }

/* ---------- MOTION ---------- */
:root { --ease: cubic-bezier(.16, 1, .3, 1); }
@keyframes rise { from { opacity: 0; transform: translateY(22px); filter: blur(6px); } }
@keyframes settle { from { opacity: 0; transform: scale(1.14); } }

/* Scroll reveals (classes added by motion.js) */
.motion .reveal {
  opacity: 0; transform: translateY(28px); filter: blur(6px);
  transition: opacity .9s var(--ease), transform 1s var(--ease), filter .9s var(--ease);
  transition-delay: var(--d, 0ms);
}
.motion .reveal.in { opacity: 1; transform: none; filter: none; }
.motion .season-card.reveal.in:hover { transform: translateY(-3px); transition-delay: 0ms; }
.motion .analyst-photo.reveal { transform: scale(.96); }
.motion .analyst-photo.reveal.in { transform: none; }

/* Hero entrance */
.motion .hero-copy > * { animation: rise 1s var(--ease) both; }
.motion .hero-copy > :nth-child(1) { animation-delay: .05s; }
.motion .hero-copy > :nth-child(2) { animation-delay: .15s; }
.motion .hero-copy > :nth-child(3) { animation-delay: .28s; }
.motion .hero-copy > :nth-child(4) { animation-delay: .38s; }
.motion .hero-copy > :nth-child(5) { animation-delay: .48s; }
.motion .hero-media { animation: rise 1.1s .1s var(--ease) both; }
.motion .hero-media .slides { animation: settle 1.8s .1s var(--ease) both; will-change: transform; }
.motion .readout { animation: rise 1s .7s var(--ease) both; }
.motion .tag-hair { animation: rise .9s 1.05s var(--ease) both; }
.motion .tag-skin { animation: rise .9s 1.2s var(--ease) both; }
.motion .readout-swatches i { animation: rise .6s var(--ease) both; }
.motion .readout-swatches i:nth-child(1) { animation-delay: 1.0s; }
.motion .readout-swatches i:nth-child(2) { animation-delay: 1.05s; }
.motion .readout-swatches i:nth-child(3) { animation-delay: 1.1s; }
.motion .readout-swatches i:nth-child(4) { animation-delay: 1.15s; }
.motion .readout-swatches i:nth-child(5) { animation-delay: 1.2s; }
.motion .readout-swatches i:nth-child(6) { animation-delay: 1.25s; }
.motion .readout-swatches i:nth-child(7) { animation-delay: 1.3s; }
.motion .readout-swatches i:nth-child(8) { animation-delay: 1.35s; }
.motion .readout-meters b::after { animation: grow 1.4s 1s var(--ease) both; }
.status i { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 4px rgba(52,199,89,.18); } }

/* Analysis step contents */
.motion .pop { animation: rise .7s var(--ease) both; animation-delay: var(--d, 0ms); }

/* Nav gains depth once you scroll */
.nav { transition: box-shadow .3s, background .3s; }
.nav.scrolled { background: rgba(252,249,244,.86); box-shadow: 0 10px 40px rgba(0,0,0,.12); }

/* Buttons: tactile press */
.btn:active { transform: scale(.97); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 2rem; }
  .hero-copy { padding: 1rem 0 0; }
  .hero-media { order: -1; }
  .hero-media { height: min(56vh, 460px); min-height: 0; }
  .readout { left: .7rem; right: .7rem; bottom: .7rem; padding: .75rem .8rem .7rem; border-radius: 18px; max-width: 420px; }
  .readout-head { font-size: .72rem; }
  .readout-season { margin: .25rem 0 .55rem; }
  .readout-season h3 { font-size: 1.35rem; }
  .readout-season p { font-size: .78rem; }
  .readout-meters { display: none; }
  .readout-swatches { gap: .25rem; }
  .tag { font-size: .7rem; padding: .32rem .6rem .32rem .38rem; gap: .35rem; }
  .tag i { width: 13px; height: 13px; }
  .tag::after { width: 8px; height: 8px; }
  .readout-swatches i { border-radius: 7px; }
  .readout-bar { padding: .6rem .85rem; font-size: .85rem; border-radius: 11px; }
  .result-body, .two-col, .feature-layout.with-photo, .analyst, .photo-guide, .pillars, .how-steps { grid-template-columns: 1fr; }
  .includes, .season-grid { grid-template-columns: repeat(2, 1fr); }
  .palette-grid { grid-template-columns: repeat(6, 1fr); }
  .nav-links, .nav-left, .nav-right a:not(.btn) { display: none; }
  .analyst-photo { min-height: 380px; }
}
@media (max-width: 560px) {
  h1 { font-size: 2.9rem; }
  .hero-media { height: min(54vh, 420px); border-radius: 22px; }
  .readout { left: .7rem; right: .7rem; bottom: .7rem; padding: .9rem .9rem .8rem; border-radius: 20px; }
  .readout-season { margin: .4rem 0 .7rem; }
  .readout-season h3 { font-size: 1.5rem; }
  .readout-meters { display: none; }
  .readout-bar { padding: .7rem .9rem; }
  .credit.long { max-width: calc(100% - 7rem); }
  .readout-swatches { grid-template-columns: repeat(8, 1fr); gap: .25rem; }
  .readout-swatches i { border-radius: 7px; }
  .includes, .season-grid { grid-template-columns: 1fr; }
  .palette-grid { grid-template-columns: repeat(4, 1fr); }
  .hero-swatches { grid-template-columns: repeat(3, 1fr); }
  .pairs { grid-template-columns: repeat(2, 1fr); }
  .steps li { font-size: .72rem; }
  .chips button { padding: .5rem .8rem; font-size: .8rem; }
}

/* ---------- PRINT ---------- */
@media print {
  .nav, .hero, .section:not(.analysis), .analyst, footer, .steps, .analysis > .label, .analysis > h2, .analysis > .sub, .report-actions, .paywall { display: none !important; }
  .section { padding: 0; }
  #analysis { background: var(--card); }
  .panel { box-shadow: none; padding: 0; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Readout card: stronger white so text stands out; small, quiet photo credit */
.readout { background: rgba(255, 253, 249, .84); border-color: rgba(255, 255, 255, .9); }
.credit { font-size: .58rem; padding: .22rem .55rem; border-radius: 999px; background: rgba(0,0,0,.16); color: rgba(255,255,255,.82); }
@media (max-width: 980px) { .readout { margin-left: auto; margin-right: auto; } }

/* Hero trust pill */
.trust { display: inline-flex; align-items: center; gap: .8rem; padding: .45rem 1.1rem .45rem .5rem; border-radius: 999px; background: var(--card); box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 6px 20px rgba(60,40,20,.08); border: 1px solid var(--line); margin-bottom: 1.6rem; font-size: .92rem; font-weight: 500; color: var(--ink); }
.trust-avatars { display: flex; }
.trust-avatars i, .trust-avatars img { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--card); object-fit: cover; display: block; }
.trust-avatars i { background: conic-gradient(var(--a) 0 33%, var(--b) 0 66%, var(--c) 0); }
.trust-avatars > * + * { margin-left: -9px; }
@media (max-width: 560px) { .trust { font-size: .82rem; } .trust-avatars i, .trust-avatars img { width: 26px; height: 26px; } }

/* ---------- TESTIMONIALS (auto-sliding strip) ---------- */
.t-carousel {
  overflow: hidden; padding: 1.2rem 0 3rem; margin: 0 calc(-1 * var(--gutter));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.t-track { display: flex; gap: 1.2rem; width: max-content; animation: tslide var(--dur, 45s) linear infinite; }
.t-carousel:hover .t-track { animation-play-state: paused; }
@keyframes tslide { to { transform: translateX(calc(-50% - .6rem)); } }
.t-card {
  width: 380px; flex: none; margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.8rem; display: flex; flex-direction: column; justify-content: space-between; gap: 1.6rem; min-height: 230px;
  box-shadow: 0 1px 2px rgba(0,0,0,.03), 0 14px 34px rgba(60,40,20,.08);
}
.t-stars { color: var(--brown); letter-spacing: .12em; font-size: .9rem; }
.t-card blockquote { margin: 0; font-size: 1.1rem; line-height: 1.5; color: var(--ink); letter-spacing: -0.01em; }
.t-card figcaption { display: flex; align-items: center; gap: .8rem; }
.t-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.t-initial { display: inline-flex; align-items: center; justify-content: center; background: var(--surface); color: var(--ink-2); font-weight: 500; }
.t-card figcaption b { display: block; font-weight: 500; font-size: .95rem; }
.t-card figcaption small { display: flex; align-items: center; gap: .4rem; color: var(--muted); font-size: .82rem; margin-top: .1rem; }
.t-sw { display: inline-flex; }
.t-sw em { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--card); }
.t-sw em + em { margin-left: -4px; }
@media (max-width: 560px) { .t-card { width: 280px; padding: 1.4rem; min-height: 210px; } .t-card blockquote { font-size: 1rem; } }
@media (prefers-reduced-motion: reduce) { .t-track { animation: none; } .t-carousel { overflow-x: auto; } }

/* FAQ: answers ease open */
.faq details { transition: background .25s ease, box-shadow .25s ease; }
.faq details[open] { background: var(--card); box-shadow: 0 1px 2px rgba(0,0,0,.03), 0 10px 30px rgba(60,40,20,.07); }
.faq details[open] > p { animation: faqOpen .38s cubic-bezier(.2,.9,.3,1) both; }
@keyframes faqOpen { from { opacity: 0; transform: translateY(-6px); clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.faq summary::after { transition: transform .3s cubic-bezier(.3,1.6,.5,1); }
@media (prefers-reduced-motion: reduce) { .faq details[open] > p { animation: none; } }

/* Emoji beside section titles */
.h-emoji { display: inline-block; font-size: .78em; margin-left: .12em; transform: translateY(-.04em); }
.motion .reveal.in .h-emoji, .motion h2.reveal.in > .h-emoji { animation: hPop .7s .2s cubic-bezier(.3,1.7,.5,1) both; }
@keyframes hPop { from { opacity: 0; transform: scale(.4) rotate(-14deg); } }

/* How it works: inverted, inset dark panel to break the flow */
#how {
  background: var(--brown); color: #F6EFE6;
  margin: clamp(1.5rem, 4vw, 3rem) clamp(.75rem, 2.5vw, 2rem); border-radius: clamp(24px, 4vw, 40px);
  padding-top: clamp(4rem, 8vw, 6.5rem); padding-bottom: clamp(4rem, 8vw, 6.5rem);
}
#how .label, #how .sub { color: rgba(246,239,230,.62); }
#how h2 { color: #FBF6EE; }
#how h2 em { color: rgba(251,246,238,.5); }
#how .how-steps > div { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.09); }
#how .how-steps h3 { color: #FBF6EE; }
#how .how-steps p { color: rgba(246,239,230,.72); }
#how .how-steps span { background: #F6EFE6; color: var(--brown); }
#how .btn { background: #F6EFE6; color: var(--brown); }
#how .btn:hover { background: #fff; }

/* Hero headline: calmer size on desktop */
.hero h1 { font-size: clamp(2.6rem, 4.4vw, 4rem); }

/* Contact: dark inset panel, matches How it works */
#contact.contact {
  background: var(--brown); color: #F6EFE6;
  margin: clamp(1.5rem, 4vw, 3rem) clamp(.75rem, 2.5vw, 2rem); border-radius: clamp(24px, 4vw, 40px);
}
#contact .label, #contact .sub { color: rgba(246,239,230,.62); }
#contact h2 { color: #FBF6EE; }
#contact h2 em { color: rgba(251,246,238,.5); }
#contact .btn-outline { background: #F6EFE6; color: var(--brown); border-color: transparent; }
#contact .btn-outline:hover { background: #fff; }

/* Phones: shorter tags (color name only) so they stay off the face */
@media (max-width: 560px) { .tag .tp { display: none; } }

/* Seasons: swatch book */
.sbook { max-width: 1120px; margin: clamp(2rem, 4vw, 3rem) auto 0; border-top: 1px solid rgba(60,40,20,.12); }
.sb-fam { display: grid; grid-template-columns: 200px 1fr; gap: 2rem; padding: 1.8rem 0; border-bottom: 1px solid rgba(60,40,20,.12); }
.sb-fam-h h3 { font-size: 1.5rem; font-weight: 400; letter-spacing: -.02em; margin: 0 0 .2rem; }
.sb-fam-h p { margin: 0; font-size: .88rem; color: var(--muted); }
.sb-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.sb-item { display: block; color: inherit; text-decoration: none; }
.sb-band { display: flex; height: 44px; border-radius: 12px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(0,0,0,.04); transition: transform .35s cubic-bezier(.2,.9,.3,1), box-shadow .35s; }
.sb-band i { flex: 1; transition: flex .35s cubic-bezier(.2,.9,.3,1); }
.sb-item:hover .sb-band { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(60,40,20,.12); }
.sb-item:hover .sb-band i:hover { flex: 2.6; }
.sb-txt { display: grid; gap: .15rem; margin-top: .75rem; }
.sb-txt b { font-size: 1rem; font-weight: 500; }
.sb-txt span { font-size: .84rem; color: var(--muted); }
@media (max-width: 900px) {
  .sb-fam { grid-template-columns: 1fr; gap: 1rem; padding: 1.5rem 0; }
  .sb-fam-h { display: flex; align-items: baseline; gap: .7rem; }
  .sb-list { grid-template-columns: 1fr; gap: 1rem; }
  .sb-item { display: grid; grid-template-columns: 44% 1fr; gap: 1rem; align-items: center; }
  .sb-band { height: 38px; border-radius: 10px; }
  .sb-txt { margin-top: 0; }
}
.sbook, .sbook * { text-align: left; }

/* Quote: dark inset panel, matches How it works and Contact */
.promise {
  background: var(--brown); color: #FBF6EE;
  margin: clamp(1.5rem, 4vw, 3rem) clamp(.75rem, 2.5vw, 2rem); border-radius: clamp(24px, 4vw, 40px);
}
.promise blockquote em { color: rgba(251,246,238,.5); }

/* Seasons: paint-chip cards */
.chips-wall { max-width: 1180px; margin: clamp(2rem, 4vw, 3rem) auto 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.pchip { display: flex; flex-direction: column; background: #FFFDF9; border-radius: 14px; padding: 8px; color: inherit; text-decoration: none; text-align: left;
  box-shadow: 0 1px 2px rgba(60,40,20,.06), 0 8px 24px rgba(60,40,20,.07); transition: rotate .4s cubic-bezier(.2,.9,.3,1), translate .4s cubic-bezier(.2,.9,.3,1), box-shadow .4s, opacity .8s, transform .8s, filter .8s; }
.pchip:nth-child(odd) { rotate: -1.2deg; }
.pchip:nth-child(even) { rotate: 1deg; translate: 0 10px; }
.pchip:hover { rotate: 0deg; translate: 0 -8px; box-shadow: 0 2px 4px rgba(60,40,20,.06), 0 22px 44px rgba(60,40,20,.16); z-index: 2; }
.pchip-bands { display: grid; grid-template-rows: 1.6fr 1fr 1fr 1fr 1fr; height: 210px; border-radius: 8px; overflow: hidden; }
.pchip-label { padding: .8rem .35rem .3rem; display: grid; gap: .1rem; }
.pchip-label span { font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pchip-label b { font-size: .98rem; font-weight: 500; letter-spacing: -.01em; }
.pchip-label small { font-size: .74rem; color: var(--muted); line-height: 1.35; }
@media (max-width: 980px) { .chips-wall { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) {
  .chips-wall { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 46%; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-left: -16px; margin-right: -16px; padding: .6rem 16px 1.6rem; scrollbar-width: none; }
  .chips-wall::-webkit-scrollbar { display: none; }
  .pchip { scroll-snap-align: start; }
  .pchip-bands { height: 180px; }
}

/* Seasons: index + detail panel */
.sx { max-width: 1080px; margin: clamp(2rem, 4vw, 3rem) auto 0; display: grid; grid-template-columns: 250px 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); text-align: left; align-items: start; }
.sx-index { display: grid; gap: 1.4rem; }
.sx-fam { margin: 0 0 .35rem; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); text-align: left; }
.sx-index button { display: flex; align-items: center; gap: .7rem; width: 100%; background: none; border: 0; padding: .42rem .6rem; margin-left: -.6rem; border-radius: 10px;
  font: inherit; font-size: 1.02rem; color: var(--ink-2); cursor: pointer; text-align: left; transition: background .2s, color .2s; }
.sx-index button i { width: 10px; height: 10px; border-radius: 50%; flex: none; opacity: .9; }
.sx-index button:hover { color: var(--ink); }
.sx-index button.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(60,40,20,.05), 0 4px 14px rgba(60,40,20,.06); }
.sx-panel { background: var(--card); border-radius: 28px; padding: clamp(1.5rem, 3vw, 2.4rem); box-shadow: 0 1px 2px rgba(60,40,20,.04), 0 20px 50px rgba(60,40,20,.08); }
.sx-kick { margin: 0 0 .4rem; font-size: .8rem; color: var(--muted); text-align: left; }
.sx-head h3 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 300; letter-spacing: -.035em; line-height: 1.05; margin: 0 0 .3rem; }
.sx-tag { margin: 0 0 1.6rem; color: var(--ink-2); text-align: left; }
.sx-pal { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.sx-pal i { aspect-ratio: 1; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.04); }
.sx-panel.swap .sx-head > * { animation: sxIn .45s cubic-bezier(.2,.9,.3,1) both; }
.sx-panel.swap .sx-pal i { animation: sxIn .5s calc(var(--i) * 12ms) cubic-bezier(.2,.9,.3,1) both; }
@keyframes sxIn { from { opacity: 0; transform: translateY(6px); } }
.sx-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid rgba(60,40,20,.1); }
.sx-traits { display: flex; gap: .4rem; flex-wrap: wrap; }
.sx-traits span { font-size: .78rem; color: var(--ink-2); background: var(--surface); padding: .32rem .7rem; border-radius: 999px; }
.sx-cta { font-size: .9rem; font-weight: 500; color: var(--brown); text-decoration: none; }
.sx-cta:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 820px) {
  .sx { grid-template-columns: 1fr; gap: 1rem; }
  .sx-index { display: flex; gap: .4rem; overflow-x: auto; margin: 0 -16px; padding: 0 16px .3rem; scrollbar-width: none; }
  .sx-index::-webkit-scrollbar { display: none; }
  .sx-group { display: contents; }
  .sx-fam { display: none; }
  .sx-index button { width: auto; margin: 0; white-space: nowrap; font-size: .9rem; background: rgba(60,40,20,.05); }
  .sx-pal { grid-template-columns: repeat(6, 1fr); gap: 5px; }
  .sx-cta { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .sx-panel.swap * { animation: none !important; } }
.sx-index { position: relative; }



/* Hero tags: graceful pop-in after each slide change */
.hero-media.ready .tag.pop { animation: tagPop .6s cubic-bezier(.25,1.15,.4,1) both; }
.hero-media.ready .tag-skin.pop { animation-delay: .14s; }
.tag.dot-left { transform-origin: left center; }
.tag.dot-right { transform-origin: right center; }
@keyframes tagPop {
  0% { opacity: 0; transform: scale(.88) translateY(4px); }
  55% { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
.hero-media.ready .tag.pop::after { animation: dotPing .8s .05s ease-out both; }
.hero-media.ready .tag-skin.pop::after { animation-delay: .19s; }
@keyframes dotPing { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.7); } 100% { box-shadow: 0 0 0 4px rgba(255,255,255,.35); } }
.hero-media.swapping .tag { transition: opacity .25s ease, transform .25s ease; transform: scale(.94); filter: none; }
.tag { filter: none !important; }
@media (prefers-reduced-motion: reduce) { .hero-media.ready .tag.pop, .hero-media.ready .tag.pop::after { animation: none; } }

/* Quote panel: supporting text */
.promise .label { color: rgba(251,246,238,.55); margin-bottom: 1.4rem; }
.pq-text { max-width: 58ch; margin: 2rem auto 0; font-size: 1.02rem; line-height: 1.7; color: rgba(251,246,238,.7); text-align: center; }
.pq-sign { margin: 1.4rem 0 0; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(251,246,238,.45); text-align: center; }
#how .how-steps h3 .h-emoji { display: inline-block; width: auto; height: auto; margin: 0 0 0 .3em; background: none; border-radius: 0; font-size: .85em; }

/* Section labels as pills */
p.label.center { width: fit-content; padding: .38rem .9rem; border-radius: 999px; font-size: .8rem; color: var(--ink-2);
  background: rgba(255,253,249,.75); border: 1px solid rgba(60,40,20,.1); box-shadow: 0 1px 2px rgba(60,40,20,.04); margin-bottom: 1.1rem; }
p.label.center { margin-left: auto; margin-right: auto; }
#how p.label.center, #contact p.label.center, .promise p.label.center { color: rgba(251,246,238,.82); background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.12); box-shadow: none; }

/* iOS: render the same as a narrow desktop browser */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; touch-action: manipulation; overflow-x: clip; }
body { overflow-x: clip; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
* { -webkit-tap-highlight-color: transparent; }
button, input, select, textarea { -webkit-appearance: none; appearance: none; font: inherit; }
input[type="checkbox"], input[type="radio"] { -webkit-appearance: auto; appearance: auto; }
img { -webkit-user-drag: none; -webkit-touch-callout: none; }

/* Hero headline: rotating emoji */
.hero-emoji { display: inline-block; font-size: .72em; margin-left: .12em; vertical-align: .06em; transform-origin: 50% 70%; }

/* ===== Header ===== */
.nav { box-shadow: 0 10px 34px rgba(60,40,20,.13), 0 1px 2px rgba(60,40,20,.05); }
.nav.scrolled { box-shadow: 0 14px 44px rgba(60,40,20,.18), 0 1px 3px rgba(60,40,20,.06); }
.brand { display: inline-flex; align-items: center; gap: .5rem; }
.brand-dots { display: none; }
.nav-menu, .nav-drop { display: none; }
.nav-arrow { display: none; }
@media (max-width: 980px) {
  .nav { padding: .55rem .55rem .55rem 1rem; gap: .5rem; }
  .brand-dots { display: inline-flex; }
  .brand-dots i { width: 9px; height: 9px; border-radius: 50%; margin-left: -3px; box-shadow: 0 0 0 1.5px rgba(252,249,244,.95); }
  .brand-dots i:first-child { margin-left: 0; background: #B5651D; }
  .brand-dots i:nth-child(2) { background: #C2185B; }
  .brand-dots i:nth-child(3) { background: #3F6E8C; }
  .nav .btn-small { margin-left: auto; padding: .6rem 1rem; }
  .nav-arrow { display: inline; margin-left: .25rem; }
  .nav-menu { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; border-radius: 12px; border: 1px solid rgba(60,40,20,.1); background: rgba(255,253,249,.7); padding: 0 11px; cursor: pointer; }
  .nav-menu i { display: block; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform .3s cubic-bezier(.3,1.4,.5,1); }
  .nav.open .nav-menu i:first-child { transform: translateY(3.3px) rotate(45deg); }
  .nav.open .nav-menu i:last-child { transform: translateY(-3.3px) rotate(-45deg); }
  .nav-drop { display: grid; position: absolute; left: 0; right: 0; top: calc(100% + 8px); padding: .5rem; border-radius: 18px;
    background: rgba(252,249,244,.94); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(0,0,0,.05); box-shadow: 0 18px 44px rgba(60,40,20,.16);
    opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top center; pointer-events: none; transition: opacity .22s ease, transform .3s cubic-bezier(.2,1.2,.4,1); }
  .nav.open .nav-drop { opacity: 1; transform: none; pointer-events: auto; }
  .nav-drop a { padding: .8rem 1rem; border-radius: 12px; text-decoration: none; color: var(--ink); font-size: 1rem; }
  .nav-drop a:active { background: rgba(60,40,20,.06); }
}

/* ===== Shop strip ===== */
.marquee-track > span, .marquee-track .dup > span { opacity: .25; color: var(--ink); transition: none; }

/* ===== Trait card graphics: two overlapping swatch clusters ===== */
.p-art { height: 140px; margin-bottom: 1.6rem; display: flex; align-items: center; justify-content: center; gap: clamp(1.4rem, 3vw, 2.4rem);
  border-radius: 18px; background: linear-gradient(180deg, #FFFDF9, #FBF7F1); box-shadow: 0 1px 2px rgba(60,40,20,.04), 0 10px 26px -14px rgba(60,40,20,.18); }
.pa-group { display: grid; justify-items: center; gap: .7rem; }
.pa-dots { display: flex; }
.pa-dots i { width: 46px; height: 46px; border-radius: 50%; background: var(--c); margin-left: -16px;
  box-shadow: 0 0 0 3px #FEFBF6, 0 6px 14px -6px rgba(60,40,20,.35); transition: transform .45s cubic-bezier(.3,1.4,.5,1), margin .45s cubic-bezier(.3,1.4,.5,1); }
.pa-dots i:first-child { margin-left: 0; }
.pillars article:hover .pa-dots i { margin-left: -8px; }
.pillars article:hover .pa-dots i:first-child { margin-left: 0; }
.pa-group span { font-size: .78rem; color: var(--muted); letter-spacing: .01em; }
@media (max-width: 560px) { .pa-dots i { width: 40px; height: 40px; margin-left: -14px; } }

/* Shop line as a pill */
.proof .proof-pill { margin-bottom: 1.6rem; }

/* ===== Quote: word-by-word reveal ===== */
.promise blockquote.q-words { opacity: 1 !important; transform: none !important; filter: none !important; }
.q-words .w { display: inline-block; opacity: 0; transform: translateY(.45em); filter: blur(8px); transition: opacity .9s ease, transform 1s cubic-bezier(.2,.8,.2,1), filter 1s ease; transition-delay: calc(var(--i) * 90ms); }
.q-words.in .w { opacity: 1; transform: none; filter: blur(0); }
.promise .pq-text { opacity: 0; transform: translateY(10px); transition: opacity 1s ease, transform 1s ease; transition-delay: var(--after, 1.2s); }
.promise .q-done .pq-text, .promise.q-done .pq-text { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .q-words .w, .promise .pq-text { opacity: 1; transform: none; filter: none; transition: none; } }
.pillars article > .label { display: inline-block; width: fit-content; padding: .34rem .85rem; border-radius: 999px; font-size: .78rem; color: var(--ink-2);
  background: rgba(255,253,249,.8); border: 1px solid rgba(60,40,20,.1); box-shadow: 0 1px 2px rgba(60,40,20,.04); margin-bottom: 1rem; }
.brand { color: var(--brown); }
