/* ============================================================
   Design system — new colored-contacts DTC brand
   Aesthetic: warm bone canvas, espresso ink, twilight-violet
   accent, honey highlight. Fashion-editorial serif + clean UI sans.
   ============================================================ */

:root {
  --bg: #f5efe6;
  --bg-soft: #efe7da;
  --surface: #fffdf9;
  --ink: #1b1510;
  --ink-soft: #5f5548;
  --line: #e3d9c9;
  --accent: #4f46b8;
  --accent-ink: #fff;
  --accent-soft: #e7e4f7;
  --honey: #c98f36;
  --honey-soft: #f3e5cd;
  --ok: #2e7d4f;
  --danger: #b3403a;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(27, 21, 16, 0.08);
  --shadow-lg: 0 24px 60px rgba(27, 21, 16, 0.14);
  --font-display: "Fraunces", "Songti SC", Georgia, serif;
  --font-ui: "Inter", -apple-system, "PingFang SC", "Segoe UI", sans-serif;
  --wrap: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-ui);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 560;
  letter-spacing: -0.015em;
  line-height: 1.12;
}
.eyebrow {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.muted { color: var(--ink-soft); }
.small { font-size: 13px; }

/* ---------- announcement + header ---------- */
.announce {
  background: var(--ink);
  color: #f4ede2;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 9px 14px;
}
.announce b { color: #ffd98a; font-weight: 600; }
header.site {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; gap: 26px;
  padding: 14px 22px; max-width: var(--wrap); margin: 0 auto;
}
.logo {
  font-family: var(--font-display);
  font-size: 25px; font-weight: 620; letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 2px;
}
.logo .iris-o {
  width: 19px; height: 19px; border-radius: 50%;
  display: inline-block; margin: 0 1px;
  background:
    radial-gradient(circle at 34% 32%, rgba(255,255,255,.95) 0 12%, transparent 13%),
    radial-gradient(circle at 50% 50%, #1b1510 0 22%, #6b5ce0 30%, #4f46b8 52%, #2c2670 78%, #1b1510 84%);
}
.nav-links { display: flex; gap: 20px; font-size: 14px; font-weight: 520; flex: 1; }
.nav-links a { padding: 6px 2px; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.on { border-color: var(--accent); }
.nav-cta { display: flex; gap: 10px; align-items: center; }

/* ---------- buttons & chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px;
  font-weight: 620; font-size: 14.5px; letter-spacing: 0.01em;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-primary { background: var(--ink); color: #f6f0e6; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { border: 1.5px solid var(--ink); }
.btn-sm { padding: 9px 18px; font-size: 13px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line); background: var(--surface);
  border-radius: 999px; padding: 7px 14px;
  font-size: 13px; font-weight: 560; color: var(--ink-soft);
}
.chip.on { background: var(--ink); color: #f6f0e6; border-color: var(--ink); }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.on:hover { color: #f6f0e6; }
.badge {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.badge-drop { background: var(--accent); color: #fff; }
.badge-restock { background: var(--honey-soft); color: #8a5f16; }
.badge-soldout { background: var(--ink); color: #f6f0e6; }
.badge-ok { background: #e2efe6; color: var(--ok); }

/* ---------- hero ---------- */
.hero { padding: 72px 0 60px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 54px; align-items: center; }
.hero h1 { font-size: clamp(42px, 5.4vw, 64px); }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero p.lede { font-size: 18px; color: var(--ink-soft); margin: 20px 0 30px; max-width: 34em; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual { position: relative; }
.lens-cluster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lens-tile {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 14px 14px; text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.lens-tile:hover { transform: translateY(-4px) rotate(-0.5deg); box-shadow: var(--shadow-lg); }
.lens-tile .name { font-weight: 640; font-size: 13.5px; margin-top: 10px; }
.lens-tile .fam { font-size: 11.5px; color: var(--ink-soft); }

/* ---------- photography (temporary comps — replace with owned shots before commercial use) ---------- */
.hero-photo { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-photo img { width: 100%; height: 430px; object-fit: cover; display: block; }
.hero-photo-chip {
  position: absolute; left: 14px; bottom: 14px;
  background: rgba(255,253,249,.93); border-radius: 999px;
  padding: 8px 16px 8px 8px; display: flex; gap: 10px; align-items: center;
  font-size: 11.5px; color: var(--ink-soft); box-shadow: var(--shadow);
}
.hero-photo-chip b { display: block; font-size: 13px; color: var(--ink); }
.lens-strip { display: flex; gap: 10px; margin-top: 14px; overflow-x: auto; padding-bottom: 4px; }
.lens-strip .mini {
  flex: none; display: flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px 6px 8px; font-size: 12.5px; font-weight: 620;
}
.ugc-img { width: 100%; height: 150px; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 10px; display: block; }
.wear-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.wear-strip figure { margin: 0; }
.wear-strip img { width: 100%; height: 110px; object-fit: cover; border-radius: var(--radius-sm); display: block; }
.wear-strip figcaption { font-size: 11.5px; color: var(--ink-soft); margin-top: 6px; text-align: center; }
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.photo-strip figure { margin: 0; }
.photo-strip img { width: 100%; height: 220px; object-fit: cover; border-radius: var(--radius); display: block; }
.photo-strip figcaption { font-size: 12px; color: var(--ink-soft); margin-top: 8px; }
img.creator-avatar { object-fit: cover; }
.mood-tile.has-photo { min-height: 210px; }
.lp-img img { width: 100%; border-radius: var(--radius); display: block; }
.lp-img figcaption { font-size: 12.5px; color: var(--ink-soft); margin-top: 8px; }

/* ---------- sections ---------- */
section.band { padding: 64px 0; }
section.band.alt { background: var(--bg-soft); }
.band-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.band-head h2 { font-size: clamp(28px, 3.4vw, 40px); }
.band-head p { max-width: 46em; }

/* marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--surface); padding: 12px 0; }
.marquee-track {
  display: flex; gap: 44px; white-space: nowrap; width: max-content;
  animation: scroll 30s linear infinite;
  font-family: var(--font-display); font-size: 16px; color: var(--ink-soft);
}
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- product cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card .art { background: linear-gradient(160deg, #f8f3ea, #eee5d5); padding: 26px; display: grid; place-items: center; position: relative; }
.card .art .badge { position: absolute; top: 12px; left: 12px; }
.card .body { padding: 16px 18px 18px; }
.card .fam-name { font-family: var(--font-display); font-size: 18px; font-weight: 600; }
.card .meta { font-size: 12.5px; color: var(--ink-soft); margin: 4px 0 10px; }
.card .row { display: flex; align-items: center; justify-content: space-between; }
.price { font-weight: 700; }
.price .was { font-weight: 400; color: var(--ink-soft); text-decoration: line-through; font-size: 12.5px; margin-left: 6px; }
.swatches { display: flex; gap: 6px; margin-top: 10px; }
.swatch { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }

/* mood tiles */
.mood-tile {
  position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  padding: 26px 22px; min-height: 170px; display: flex; flex-direction: column; justify-content: end;
  background: var(--surface);
}
.mood-tile h3 { font-size: 22px; }
.mood-tile p { font-size: 13px; color: var(--ink-soft); }
.mood-tile .orb { position: absolute; top: 18px; right: 18px; width: 54px; height: 54px; }

/* ---------- PDP ---------- */
.pdp { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 52px; padding: 48px 0 70px; align-items: start; }
.pdp-gallery { position: sticky; top: 92px; display: grid; gap: 16px; }
.pdp-main {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  display: grid; place-items: center; padding: 40px; min-height: 380px;
}
.pdp-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pdp-thumb { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 12px; display: grid; place-items: center; cursor: pointer; }
.pdp-thumb.on { border-color: var(--accent); }
.pdp h1 { font-size: 36px; }
.pdp .fam-kicker { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.opt-group { margin: 22px 0; }
.opt-label { font-size: 13px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 10px; display: flex; justify-content: space-between; }
.opt-label .hint { font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--ink-soft); }
.opt-row { display: flex; gap: 10px; flex-wrap: wrap; }
.depth-pick {
  flex: 1; min-width: 120px; text-align: left; background: var(--surface);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px;
}
.depth-pick.on { border-color: var(--accent); background: var(--accent-soft); }
.depth-pick b { display: block; font-size: 14px; }
.depth-pick span { font-size: 12px; color: var(--ink-soft); }
.buy-box { border-top: 1px solid var(--line); margin-top: 26px; padding-top: 22px; display: grid; gap: 12px; }
.trust-row { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink-soft); }
.rx-note {
  background: var(--honey-soft); border-radius: var(--radius-sm);
  font-size: 12.5px; padding: 12px 14px; color: #6d4d14;
}

/* on-eye preview */
.on-eye { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.on-eye figure { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; text-align: center; }
.on-eye figcaption { font-size: 12px; color: var(--ink-soft); margin-top: 8px; }

/* creators strip on PDP */
.creator-strip { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 6px; }
.creator-card {
  min-width: 150px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 14px; text-align: center;
}
.creator-avatar {
  width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 8px;
  display: grid; place-items: center; font-weight: 700; color: #fff; font-size: 17px;
}
.creator-card .handle { font-size: 13px; font-weight: 620; }
.creator-card .code { font-size: 11.5px; color: var(--accent); font-weight: 700; letter-spacing: 0.06em; margin-top: 3px; }

/* reviews */
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.review .stars { color: var(--honey); letter-spacing: 2px; font-size: 14px; }
.review .tags { display: flex; gap: 6px; margin: 8px 0; flex-wrap: wrap; }
.review .tag { font-size: 11px; background: var(--bg-soft); border-radius: 999px; padding: 3px 9px; color: var(--ink-soft); font-weight: 600; }
.review .ph { height: 110px; border-radius: var(--radius-sm); background: linear-gradient(140deg, #eadfcb, #e0d2ba); display: grid; place-items: center; margin-bottom: 10px; }

/* ---------- quiz ---------- */
.quiz-shell { max-width: 680px; margin: 48px auto 80px; }
.quiz-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.quiz-progress { height: 5px; border-radius: 999px; background: var(--bg-soft); margin-bottom: 26px; overflow: hidden; }
.quiz-progress i { display: block; height: 100%; background: var(--accent); border-radius: 999px; transition: width .3s ease; }
.quiz-q h2 { font-size: 26px; margin-bottom: 6px; }
.quiz-opts { display: grid; gap: 10px; margin-top: 20px; }
.quiz-opt {
  display: flex; align-items: center; gap: 14px; text-align: left;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface); padding: 14px 16px; font-size: 15px; font-weight: 540;
}
.quiz-opt:hover { border-color: var(--accent); background: var(--accent-soft); }
.quiz-opt .orb { width: 34px; height: 34px; flex: none; }
.quiz-result-hero { text-align: center; padding: 10px 0 4px; }
.email-gate input {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); font: inherit; background: #fff;
}

/* ---------- drops ---------- */
.drop-hero {
  background: var(--ink); color: #f4ede2; border-radius: var(--radius);
  padding: 44px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center;
}
.drop-hero .eyebrow { color: #ffd98a; }
.drop-hero h2 { font-size: clamp(30px, 4vw, 44px); color: #fff; }
.countdown { display: flex; gap: 12px; margin-top: 20px; }
.count-cell { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius-sm); padding: 12px 0; text-align: center; min-width: 76px; }
.count-cell b { display: block; font-size: 26px; font-family: var(--font-display); }
.count-cell span { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.timeline { border-left: 2px solid var(--line); margin-left: 8px; padding-left: 26px; display: grid; gap: 26px; }
.timeline .tl-item { position: relative; }
.timeline .tl-item::before {
  content: ""; position: absolute; left: -33px; top: 4px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--accent); border: 3px solid var(--bg);
}
.timeline .tl-item.past::before { background: var(--line); }
.tl-date { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- creators page ---------- */
.tier-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; }
.tier-card.featured { border: 2px solid var(--accent); box-shadow: var(--shadow-lg); }
.tier-card .tier-tag { position: absolute; top: -12px; left: 22px; }
.tier-card h3 { font-size: 24px; margin-bottom: 2px; }
.tier-card .for { font-size: 13px; color: var(--ink-soft); margin-bottom: 16px; }
.tier-card ul { list-style: none; display: grid; gap: 9px; font-size: 14px; }
.tier-card ul li { padding-left: 22px; position: relative; }
.tier-card ul li::before { content: "✦"; position: absolute; left: 0; color: var(--accent); font-size: 12px; }
.apply-form { display: grid; gap: 14px; }
.apply-form label { font-size: 13px; font-weight: 650; display: grid; gap: 6px; }
.apply-form input, .apply-form select, .apply-form textarea {
  padding: 12px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
  font: inherit; background: #fff; width: 100%;
}
.stat { text-align: center; }
.stat b { font-family: var(--font-display); font-size: clamp(28px, 3.6vw, 42px); display: block; }
.stat span { font-size: 12.5px; color: var(--ink-soft); letter-spacing: .04em; }

/* ---------- LP / advertorial ---------- */
.lp-article { max-width: 720px; margin: 0 auto; padding: 46px 22px 80px; }
.lp-article h1 { font-size: clamp(30px, 4.4vw, 42px); margin-bottom: 14px; }
.lp-article .byline { font-size: 13px; color: var(--ink-soft); margin-bottom: 28px; display: flex; gap: 10px; align-items: center; }
.lp-article h2 { font-size: 24px; margin: 34px 0 12px; }
.lp-article p { margin: 12px 0; font-size: 16.5px; line-height: 1.7; }
.lp-cta-box {
  background: var(--accent-soft); border: 1.5px solid var(--accent); border-radius: var(--radius);
  padding: 22px; margin: 28px 0; text-align: center;
}
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  background: var(--surface); border-top: 1px solid var(--line);
  padding: 12px 18px; display: flex; align-items: center; justify-content: center; gap: 16px;
}

/* ---------- try-on ---------- */
.tryon-stage {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px; display: grid; place-items: center; gap: 22px;
}
.eye-pair { display: flex; gap: 34px; }

/* ---------- footer ---------- */
footer.site {
  background: var(--ink); color: #cfc4b4; margin-top: 80px;
  padding: 54px 0 30px; font-size: 13.5px;
}
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; margin-bottom: 36px; }
footer h4 { color: #fff; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
footer a { display: block; padding: 4px 0; opacity: .85; }
footer a:hover { opacity: 1; color: #fff; }
footer .legal { border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; font-size: 12px; opacity: .7; line-height: 1.7; }
.footer-logo { font-family: var(--font-display); font-size: 22px; color: #fff; margin-bottom: 12px; }

/* newsletter */
.news-inline { display: flex; gap: 10px; margin-top: 14px; }
.news-inline input {
  flex: 1; padding: 12px 14px; border-radius: 999px; border: none; font: inherit;
  background: rgba(255,255,255,.1); color: #fff;
}
.news-inline input::placeholder { color: rgba(255,255,255,.5); }

/* code chip (creator attribution) */
.code-chip {
  position: fixed; bottom: 18px; right: 18px; z-index: 70;
  background: var(--surface); border: 1.5px solid var(--ink); border-radius: 999px;
  box-shadow: var(--shadow-lg); padding: 10px 18px; font-size: 13px; font-weight: 620;
  display: flex; gap: 8px; align-items: center;
}
.code-chip button { color: var(--accent); font-weight: 700; }

/* site toast */
#site-toast-box { position: fixed; bottom: 74px; left: 50%; transform: translateX(-50%); z-index: 90; display: grid; gap: 8px; }
.site-toast {
  background: var(--ink); color: #f6f0e6; padding: 11px 20px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; box-shadow: var(--shadow-lg);
  animation: toast-pop .2s ease;
}
@keyframes toast-pop { from { transform: translateY(10px); opacity: 0; } }

/* utility */
.center { text-align: center; }
.mt-1 { margin-top: 10px; } .mt-2 { margin-top: 20px; } .mt-3 { margin-top: 34px; } .mt-4 { margin-top: 52px; }
.mb-2 { margin-bottom: 20px; }
hr.sep { border: none; border-top: 1px solid var(--line); margin: 42px 0; }

@media (max-width: 900px) {
  .hero-grid, .pdp, .drop-hero { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  footer .cols { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .pdp-gallery { position: static; }
}
@media (max-width: 560px) {
  .grid-4, .grid-3, .grid-2, .on-eye { grid-template-columns: 1fr; }
  .lens-cluster { grid-template-columns: repeat(2, 1fr); }
}
