/* =========================================================
   lashes-serum.com — editorial beauty design system
   Bodoni display + neutral grotesk body, hairlines, sharp
   corners, generous white space.
   ========================================================= */

:root {
  /* Palette */
  --ink:        #312E2E;   /* charcoal */
  --ink-strong: #17150F;
  --ink-soft:   #56514f;
  --ink-mute:   #8b8582;
  --line:       #e2e0dc;
  --line-soft:  #eeece8;
  --bg:         #fbfbfa;
  --bg-alt:     #f4f3f0;
  --tile:       #f0efec;
  --card:       #ffffff;
  --tan:        #baa493;
  --tan-soft:   #f0e8e1;
  --sky:        #92ebff;
  --yellow:     #f4ca16;
  --green:      #5a7a63;
  --green-soft: #eaefe9;

  /* Type */
  --font-display: "Bodoni Moda", "Didot", "Bodoni MT", "Playfair Display", Georgia, serif;
  --font-body: "Jost", "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Shape */
  --wrap: 1280px;
  --wrap-narrow: 820px;
  --r-sm: 0px;
  --r-md: 0px;
  --r-lg: 0px;
  --shadow-sm: none;
  --shadow-md: 0 18px 40px -28px rgba(23, 21, 15, .35);
  --shadow-lg: 0 30px 70px -40px rgba(23, 21, 15, .45);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; }
a { color: var(--ink); text-underline-offset: 4px; text-decoration-thickness: 1px; text-decoration-color: var(--tan); }
a:hover { color: var(--tan); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-optical-sizing: auto;
  color: var(--ink-strong);
  line-height: 1.04;
  letter-spacing: -.015em;
  margin: 0 0 .45em;
}
h1 { font-size: clamp(2.6rem, 1.2rem + 5.4vw, 6rem); }
h2 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3.1rem); margin-top: 1.9em; line-height: 1.08; }
h3 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem); margin-top: 1.7em; }
h4 {
  font-family: var(--font-body); font-size: .82rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink);
  margin: 1.9em 0 .7em;
}
p { margin: 0 0 1.25em; }
ul, ol { margin: 0 0 1.4em; padding-left: 1.2em; }
li { margin-bottom: .55em; }
li::marker { color: var(--tan); }
strong { font-weight: 600; color: var(--ink-strong); }
code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .86em; background: var(--bg-alt); padding: .1em .35em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }
blockquote {
  margin: 2.2rem 0; padding: 0 0 0 1.6rem; border-left: 1px solid var(--tan);
  font-family: var(--font-display); font-size: 1.5rem; line-height: 1.35; color: var(--ink);
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.wrap-narrow { max-width: var(--wrap-narrow); }
.section { padding-block: clamp(3.5rem, 7vw, 7rem); }
.section--alt { background: var(--bg-alt); }
.section--line { border-top: 1px solid var(--line); }
.center { text-align: center; }

.grid { display: grid; gap: 28px; }
@media (min-width: 700px)  { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.layout { display: grid; gap: 64px; align-items: start; }
@media (min-width: 1000px) { .layout { grid-template-columns: minmax(0,1fr) 300px; } }
.sidebar { position: sticky; top: 110px; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 999px) { .sidebar { position: static; } }
.sidebar .card { border: 0; }

/* ---------- Skip link ---------- */
.skip { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--ink-strong); color: #fff; padding: .9rem 1.3rem; }
.skip:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 251, 250, .92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-bar { display: flex; align-items: center; gap: 24px; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink-strong); flex: 0 0 auto; }
.brand:hover { color: var(--ink-strong); }
.brand svg { flex: 0 0 auto; }
.brand-name {
  font-family: var(--font-display); font-size: 1.28rem; font-weight: 500;
  letter-spacing: .3em; text-transform: uppercase; line-height: 1;
}
.brand-name span { color: var(--tan); }
.brand-tag {
  display: block; font-size: .58rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--ink-mute); margin-top: 7px; font-weight: 400;
}

.nav { margin-left: auto; }
.nav ul { display: flex; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav li { margin: 0; }
.nav a {
  font-size: .68rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; padding-block: 8px;
  border-bottom: 1px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--ink-strong); color: var(--ink-strong); }

.nav-toggle {
  margin-left: auto; display: none; align-items: center; gap: 10px;
  background: none; border: 1px solid var(--line); padding: 10px 16px;
  font: inherit; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink); cursor: pointer;
}
@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: absolute; inset: 100% 0 auto 0; background: var(--bg); border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: 4px 24px 20px; }
  .nav li { border-bottom: 1px solid var(--line-soft); }
  .nav a { display: block; padding: 16px 0; border: 0; font-size: .78rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  padding: 1.05em 2em; border-radius: 0; border: 1px solid transparent;
  font-size: .68rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.btn-primary { background: var(--ink-strong); color: #fff; }
.btn-primary:hover { background: var(--tan); color: var(--ink-strong); }
.btn-rose { background: var(--ink-strong); color: #fff; }
.btn-rose:hover { background: var(--tan); color: var(--ink-strong); }
.btn-ghost { border-color: var(--ink-strong); color: var(--ink-strong); background: transparent; }
.btn-ghost:hover { background: var(--ink-strong); color: #fff; }
.btn-sm { padding: .85em 1.5em; font-size: .62rem; }
.btn-block { width: 100%; }

/* ---------- Eyebrow / badges ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .8em;
  font-size: .66rem; letter-spacing: .22em; text-transform: uppercase;
  font-weight: 500; color: var(--ink-mute); margin-bottom: 1.4rem;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--tan); }
.badge {
  display: inline-flex; align-items: center; gap: .5em; padding: .5em .9em;
  border-radius: 0; font-size: .6rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  background: transparent; color: var(--ink); border: 1px solid var(--line);
}
.badge-gold { background: var(--ink-strong); color: #fff; border-color: var(--ink-strong); }
.badge-rose { background: var(--tan-soft); color: #6f5a4b; border-color: #e6dad0; }
.badge-green { background: var(--green-soft); color: #3f5a47; border-color: #dce6dd; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg); border-bottom: 1px solid var(--line); }
.hero::after { display: none; }
.hero-inner { display: grid; gap: 48px; align-items: center; padding-block: clamp(3rem, 6vw, 6rem); position: relative; z-index: 1; }
@media (min-width: 980px) { .hero-inner { grid-template-columns: 1.05fr .95fr; gap: 72px; } }
.hero h1 { margin-bottom: .3em; }
.hero-lede { font-size: 1.02rem; color: var(--ink-soft); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 2.2rem; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 2.6rem;
  padding-top: 1.6rem; border-top: 1px solid var(--line);
  font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute);
}
.hero-meta span { display: inline-flex; align-items: center; gap: .5em; }
.hero-meta code { background: none; letter-spacing: .1em; }

/* ---------- Winner card ---------- */
.winner { background: var(--card); border: 1px solid var(--line); padding: 34px; position: relative; }
.winner::before { display: none; }
.winner-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.winner h2, .winner h3 { margin: 0 0 .15em; font-size: 1.85rem; }
.winner-sub { font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 1rem; }

.score-ring {
  width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto;
  background: conic-gradient(var(--ink-strong) calc(var(--val, 96) * 1%), var(--line) 0);
  position: relative;
}
.score-ring::after { content: ""; position: absolute; inset: 5px; background: var(--card); border-radius: 50%; }
.score-ring b { position: relative; z-index: 1; font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; }

/* ---------- Product tile ---------- */
.bottle { display: grid; place-items: center; padding: 26px; background: var(--tile); }
.bottle svg { width: 100%; max-width: 132px; height: auto; }

/* ---------- Cards ---------- */
.card { background: var(--card); border: 1px solid var(--line); padding: 30px; box-shadow: none; transition: border-color .25s ease; }
.card-hover:hover { border-color: var(--ink-strong); }
.card h3 { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }
.card-kicker { display: block; font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute); font-weight: 500; margin-bottom: .8rem; }

/* ---------- Ranking rows ---------- */
.rank-list { display: grid; gap: 28px; margin-top: 2.6rem; }
.rank {
  position: relative; background: var(--card); border: 1px solid var(--line);
  padding: 38px 32px 32px; display: grid; gap: 32px;
}
@media (min-width: 780px) { .rank { grid-template-columns: 180px minmax(0, 1fr) 200px; align-items: start; } }
.rank--top { border-color: var(--ink-strong); }
.rank-badge {
  position: absolute; top: 14px; right: 24px; left: auto; background: none; color: var(--line);
  font-family: var(--font-display); font-size: 3.4rem; font-weight: 400; line-height: .9;
  width: auto; height: auto; border-radius: 0; display: block; pointer-events: none;
}
.rank--top .rank-badge { color: var(--tan); }
.rank-media { display: grid; gap: 14px; justify-items: stretch; }
.rank-body h3 { margin: 0 0 .3em; }
.rank-body .muted { color: var(--ink-mute); font-size: .92rem; margin-bottom: 1rem; }
.rank-aside { display: grid; gap: 14px; align-content: start; }
.rank-aside .score-ring { margin-inline: auto; }

.pros-cons { display: grid; gap: 26px; margin: 1.6rem 0; }
@media (min-width: 620px) { .pros-cons { grid-template-columns: 1fr 1fr; } }
.pros-cons ul { list-style: none; padding: 0; margin: 0; font-size: .9rem; }
.pros-cons li { position: relative; padding-left: 1.5em; margin-bottom: .55em; line-height: 1.6; }
.pros li::before { content: "+"; position: absolute; left: 0; color: var(--tan); }
.cons li::before { content: "–"; position: absolute; left: 0; color: var(--ink-mute); }
.pros-cons h4 { margin: 0 0 .9em; padding-bottom: .7em; border-bottom: 1px solid var(--line); font-size: .64rem; letter-spacing: .2em; color: var(--ink-mute); }

/* ---------- Score bars ---------- */
.scores { display: grid; gap: 14px; margin: 1.6rem 0; }
.score-row { display: grid; grid-template-columns: 120px 1fr 34px; gap: 16px; align-items: center; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.score-bar { height: 1px; background: var(--line); position: relative; }
.score-bar i { display: block; height: 1px; background: var(--ink-strong); position: relative; }
.score-bar i::after { content: ""; position: absolute; right: 0; top: -2px; width: 5px; height: 5px; background: var(--ink-strong); border-radius: 50%; }
.score-row b { font-family: var(--font-display); font-size: .95rem; font-variant-numeric: tabular-nums; text-align: right; font-weight: 500; letter-spacing: 0; color: var(--ink-strong); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; margin: 2.4rem 0; border-top: 1px solid var(--ink-strong); background: transparent; }
table { border-collapse: collapse; width: 100%; font-size: .88rem; min-width: 640px; }
caption { text-align: left; padding: 14px 0; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); caption-side: bottom; }
th, td { padding: 18px 20px 18px 0; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
thead th { padding-top: 14px; font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute); font-weight: 500; border-bottom: 1px solid var(--line); }
tbody tr:last-child td { border-bottom: 1px solid var(--line); }
tbody tr:hover { background: var(--bg-alt); }
td strong { font-weight: 500; }

/* ---------- TOC ---------- */
.toc { background: transparent; border-top: 1px solid var(--ink-strong); border-bottom: 1px solid var(--line); padding: 26px 0 22px; margin: 2.6rem 0; }
.toc h2 { margin: 0 0 1em; font-size: .64rem; font-family: var(--font-body); font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-mute); }
.toc ol { margin: 0; padding-left: 1.1em; font-size: .9rem; }
@media (min-width: 720px) { .toc ol { columns: 2; column-gap: 48px; } }
.toc li { margin-bottom: .55em; }
.toc a { text-decoration: none; color: var(--ink-soft); }
.toc a:hover { color: var(--ink-strong); text-decoration: underline; }

/* ---------- Callouts ---------- */
.note { border: 0; border-top: 1px solid var(--ink-strong); background: var(--bg-alt); padding: 28px 30px; margin: 2.4rem 0; font-size: .95rem; }
.note--rose { background: var(--tan-soft); border-top-color: var(--tan); }
.note--green { background: var(--green-soft); border-top-color: var(--green); }
.note h4 { margin-top: 0; }
.note > :last-child { margin-bottom: 0; }

/* ---------- Editorial band ---------- */
.band { background: var(--ink-strong); color: #efece7; padding-block: clamp(4rem, 8vw, 7rem); }
.band h2 { color: #fff; margin-top: 0; }
.band .eyebrow { color: #b3aca4; }
.band a { color: #fff; }
.band-grid { display: grid; gap: 44px; align-items: center; }
@media (min-width: 900px) { .band-grid { grid-template-columns: 1.1fr .9fr; gap: 72px; } }
.band-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid rgba(255,255,255,.18); }
.band-list li {
  margin: 0; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.18);
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: #d8d3cc;
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
}
.band-list li b { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: 0; text-transform: none; color: #fff; font-weight: 400; }

/* ---------- Author ---------- */
.author-box { display: grid; gap: 28px; align-items: start; background: var(--bg-alt); border: 0; border-top: 1px solid var(--ink-strong); padding: 34px; margin-top: 3rem; }
@media (min-width: 620px) { .author-box { grid-template-columns: 104px 1fr; } }
.avatar { width: 104px; height: 104px; border-radius: 0; display: grid; place-items: center; background: var(--tile); border: 0; overflow: hidden; }
.avatar svg { width: 100%; height: 100%; }
.byline {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
  font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute);
  margin-bottom: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--line);
}
.byline .avatar { width: 40px; height: 40px; border-radius: 50%; }
.byline a { color: var(--ink); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; margin-top: 2rem; border-top: 1px solid var(--ink-strong); }
details.qa { background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 0; }
details.qa summary {
  cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative;
  font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; color: var(--ink-strong);
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.3rem; color: var(--tan); line-height: 1; font-family: var(--font-body); font-weight: 300; }
details.qa[open] summary::after { content: "–"; }
details.qa .qa-body { padding: 0 40px 22px 0; font-size: .95rem; color: var(--ink-soft); max-width: 68ch; }
details.qa .qa-body > :last-child { margin-bottom: 0; }

/* ---------- Breadcrumbs ---------- */
.crumbs { font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); padding-top: 28px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .7em; margin: 0; padding: 0; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: .7em; color: var(--line); }
.crumbs a { color: var(--ink-mute); text-decoration: none; }
.crumbs a:hover { color: var(--ink-strong); }

/* ---------- Article ---------- */
.article-head { padding-block: clamp(2.5rem, 5vw, 4.5rem) 1rem; }
.article-body { font-size: 1rem; }
.article-body > h2, .article-body > h3 { scroll-margin-top: 120px; }
.article-body figure { margin: 2.6rem 0; }
.article-body figcaption { font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); text-align: center; margin-top: 1em; }
.updated { color: var(--ink-mute); }
.lead-col > * { max-width: 900px; }
.lead-col .lede { max-width: 56ch; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.steps li { counter-increment: step; position: relative; padding: 26px 0 26px 76px; border-bottom: 1px solid var(--line); margin: 0; }
.steps li::before {
  content: "0" counter(step); position: absolute; left: 0; top: 24px;
  font-family: var(--font-display); font-size: 1.5rem; color: var(--tan);
  background: none; width: auto; height: auto; border-radius: 0; display: block;
}
.steps h4 { margin: 0 0 .4em; }
.steps p { margin: 0; }

/* ---------- Stats ---------- */
.stats { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); text-align: left; }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--bg); padding: 34px 28px; }
.stat b { display: block; font-family: var(--font-display); font-size: 3rem; color: var(--ink-strong); line-height: 1; margin-bottom: .35rem; font-weight: 400; }
.stat span { font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute); }

/* ---------- Newsletter / forms ---------- */
.subscribe { display: flex; flex-wrap: wrap; gap: 0; margin-top: 1.6rem; border-bottom: 1px solid var(--ink-strong); }
.subscribe input[type="email"] {
  flex: 1 1 220px; padding: 1em 0; border: 0; border-radius: 0;
  font: inherit; font-size: .9rem; background: transparent; color: var(--ink);
}
.subscribe input:focus { outline: 0; }
.subscribe input::placeholder { color: var(--ink-mute); }
.subscribe .btn { padding-inline: 1.4em; }

.form { display: grid; gap: 26px; max-width: 620px; }
.form label { font-size: .6rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-mute); display: block; margin-bottom: .7em; }
.form input, .form textarea, .form select {
  width: 100%; padding: .9em 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  font: inherit; font-size: .96rem; background: transparent; color: var(--ink);
}
.form input:focus, .form textarea:focus, .form select:focus { outline: 0; border-bottom-color: var(--ink-strong); }
.form textarea { min-height: 150px; resize: vertical; }
.form .btn { justify-self: start; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-strong); color: #b9b3ac; padding-block: 72px 32px; font-size: .88rem; }
.site-footer a { color: #ece8e2; text-decoration: none; }
.site-footer a:hover { color: var(--tan); }
.footer-grid { display: grid; gap: 44px; }
@media (min-width: 780px) { .footer-grid { grid-template-columns: 1.7fr 1fr 1fr 1fr; } }
.footer-grid h4 { color: #fff; font-family: var(--font-body); font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; margin: 0 0 1.6em; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; font-size: .86rem; }
.footer-grid li { margin-bottom: .85em; }
.footer-brand .brand-name { color: #fff; font-size: 1.4rem; letter-spacing: .3em; }
.footer-brand p { font-size: .86rem; color: #8f8981; max-width: 38ch; margin-top: 1.4rem; }
.footer-brand code { background: rgba(255,255,255,.07); color: #cfc9c1; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14); margin-top: 56px; padding-top: 26px;
  display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between;
  font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: #7d7770;
}

/* ---------- Utilities ---------- */
.muted { color: var(--ink-mute); }
.small { font-size: .86rem; }
.mt0 { margin-top: 0; }
.mb0 { margin-bottom: 0; }
.lede { font-size: 1.08rem; color: var(--ink-soft); line-height: 1.7; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.2rem 0; }

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .nav-toggle, .hero-actions, .subscribe { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .card, .rank { border-color: #ccc; }
}

/* ---------- Page width: 70% of the viewport on desktop ---------- */
@media (min-width: 1100px) {
  :root { --wrap: 70vw; --wrap-narrow: min(70vw, 860px); }
}

/* ---------- Ranking rows inside a column with a sidebar ---------- */
@media (min-width: 620px) {
  .rank { grid-template-columns: 150px minmax(0, 1fr); gap: 28px 34px; }
  .rank-aside {
    grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 18px;
    border-top: 1px solid var(--line); padding-top: 22px; margin-top: 4px;
  }
  .rank-aside .score-ring { margin: 0; }
  .rank-aside p { margin: 0; flex: 0 0 auto; }
  .rank-aside .btn { flex: 1 1 190px; }
}
@media (min-width: 780px) { .rank { grid-template-columns: 170px minmax(0, 1fr); } }
.rank-aside p.center { text-align: left; }
.score-row { grid-template-columns: minmax(90px, 118px) minmax(60px, 1fr) 34px; }

/* ---------- Small-screen fixes ---------- */
.layout > *, .article-body, .hero-inner > *, .band-grid > * { min-width: 0; }
.header-bar { flex-wrap: nowrap; }
.brand { min-width: 0; }
@media (max-width: 560px) {
  .brand-name { font-size: 1.02rem; letter-spacing: .2em; }
  .brand-tag { font-size: .52rem; letter-spacing: .22em; }
  .nav-toggle { padding: 9px 12px; font-size: .62rem; }
  .rank { padding: 30px 20px 26px; }
  .card, .note, .author-box, .winner { padding: 24px 20px; }
  .steps li { padding-left: 58px; }
  .wrap { padding-inline: 18px; }
}
.rank > *, .rank-list > *, .rank-body, .sidebar > *, .grid > * { min-width: 0; }

/* ---------- Full-bleed display headline (hero) ---------- */
.hero .wrap { padding-block: clamp(2rem, 4vw, 3.5rem) clamp(3rem, 6vw, 5rem); }
.hero-top {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 24px; padding-bottom: 1.4rem;
}
.hero-top .eyebrow { margin-bottom: 0; }
.hero-top-right { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-mute); }
.hero-title { margin: 0 0 clamp(2rem, 4vw, 3.4rem); line-height: 0; }
.hero-title svg { display: block; width: 100%; height: auto; }
.hero-title svg text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 132px;
  fill: var(--ink-strong);
}
.hero .hero-inner { padding-block: 0; align-items: start; }
.hero .hero-lede { font-size: 1.06rem; max-width: 52ch; }
@media (max-width: 700px) {
  .hero-title { margin-bottom: 2rem; }
  .hero-top-right { display: none; }
}
.hero-top3 { list-style: none; margin: 2.6rem 0 0; padding: 0; border-top: 1px solid var(--ink-strong); max-width: 460px; }
.hero-top3 li { display: flex; align-items: baseline; gap: 16px; margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line); }
.hero-top3 .n { font-family: var(--font-display); font-size: 1rem; color: var(--tan); width: 28px; flex: 0 0 auto; }
.hero-top3 .t { flex: 1 1 auto; font-size: .84rem; letter-spacing: .04em; }
.hero-top3 .t a { text-decoration: none; }
.hero-top3 .t a:hover { text-decoration: underline; }
.hero-top3 .s { font-family: var(--font-display); font-size: 1rem; color: var(--ink-strong); }

/* =========================================================
   Photo slots + editorial sections (Lumina-style anatomy)
   ========================================================= */
.ph { position: relative; margin: 0; aspect-ratio: var(--ar, 4/5); background: var(--tile); overflow: hidden; }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph.is-empty {
  background:
    repeating-linear-gradient(135deg, rgba(23,21,15,.028) 0 1px, transparent 1px 11px),
    var(--tile);
}
.ph.is-empty::after {
  content: attr(data-hint);
  position: absolute; inset: 0; display: grid; place-items: center; padding: 18px;
  font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; text-align: center;
  color: #a8a29c; line-height: 2;
}
.ph.is-empty::before {
  content: ""; position: absolute; inset: 14px; border: 1px solid rgba(23,21,15,.07);
}

/* ---------- Hero figure ---------- */
.hero-figure { position: relative; margin-bottom: 0; }
.hero-overlay {
  position: absolute; left: 0; bottom: 0; max-width: 520px; padding: 34px;
  background: linear-gradient(90deg, rgba(251,251,250,.94), rgba(251,251,250,.86) 70%, rgba(251,251,250,0));
}
.hero-overlay p { font-size: .96rem; color: var(--ink-soft); }
.hero-overlay .btn { margin-top: .4rem; }
@media (max-width: 820px) {
  .hero-overlay { position: static; max-width: none; padding: 24px 0 0; background: none; }
}
.hero-foot { display: grid; gap: 26px; align-items: start; padding-top: 2rem; }
@media (min-width: 900px) { .hero-foot { grid-template-columns: 1fr 460px; gap: 56px; } }
.hero-foot .hero-meta { margin-top: 0; }
.hero-foot .hero-top3 { margin-top: 0; max-width: none; }

/* ---------- Section head ---------- */
.sec-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 20px 32px; margin-bottom: 2.6rem;
}
.sec-head h2 { margin: 0; }

/* ---------- Product / guide tiles ---------- */
.tile-grid { display: grid; gap: 30px 24px; }
@media (min-width: 620px) { .tile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tile-grid { grid-template-columns: repeat(3, 1fr); } }
.tile-grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.tile-media { display: block; overflow: hidden; }
.tile-media .ph { transition: transform .5s cubic-bezier(.22,.61,.36,1); }
.tile:hover .tile-media .ph { transform: scale(1.03); }
.tile-body { padding-top: 18px; }
.tile-kicker { display: block; font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: .7rem; }
.tile h3 { margin: 0 0 .5rem; font-size: 1.22rem; line-height: 1.2; }
.tile h3 a { text-decoration: none; }
.tile h3 a:hover { color: var(--tan); }
.tile-meta { display: flex; justify-content: space-between; gap: 16px; margin: 0; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); }

/* ---------- Feature (editor's choice) ---------- */
.feature { display: grid; gap: 34px; align-items: start; }
@media (min-width: 900px) { .feature { grid-template-columns: 1fr 1fr; gap: 56px; } }
.feature .winner { background: transparent; border: 0; border-top: 1px solid var(--ink-strong); padding: 28px 0 0; }

/* ---------- Split (text + tall photo) ---------- */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.15fr .85fr; gap: 72px; } }
.split--faq { align-items: start; }
.split-media .ph { max-height: 720px; }

/* ---------- Criteria list ---------- */
.crit-list { display: grid; gap: 0; border-top: 1px solid var(--line); margin-top: 2rem; }
.crit { display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.crit-n { font-family: var(--font-display); font-size: 1.15rem; color: var(--tan); }
.crit h4 { margin: 0 0 .3em; }
.crit p { margin: 0; }

/* ---------- Band with photo ---------- */
.band--photo .band-grid { align-items: center; }
.band-media .ph { background: #221f19; }
.band-media .ph.is-empty { background: repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 1px, transparent 1px 11px), #221f19; }
.band-media .ph.is-empty::after { color: #7c766e; }
.band-media .ph.is-empty::before { border-color: rgba(255,255,255,.1); }

/* ---------- Gallery strip ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 600px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) { .gallery { grid-template-columns: repeat(7, 1fr); } }
.gallery .ph { transition: opacity .3s ease; }
.gallery .ph:hover { opacity: .85; }
.crit > :not(.crit-n) { grid-column: 2; }
.crit-n { grid-row: 1 / span 2; }

/* Product photography: keep complete packaging visible. */
.ph img[src*="product-"] { object-fit: contain; background: #fff; padding: 7%; }

/* Original product assets are displayed without filters, cropping, or retouching. */
.product-photo {display:block;width:100%;height:260px;object-fit:contain;background:#fff;filter:none;}
.product-frame {background:#fff;}
.product-frame .product-photo {height:100%;object-fit:contain;padding:5%;}
.bottle {padding:12px;background:#fff;}
.bottle .product-photo {max-width:none;min-width:0;}
.table-product {display:flex;align-items:center;gap:16px;min-width:225px;}
.table-product .table-product-photo {width:62px;height:86px;flex:0 0 62px;}
.official-price {white-space:nowrap;font-weight:500;}
.serum-lineup {background:#fff;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:16px;gap:12px;}
.serum-lineup figure {margin:0;text-align:center;min-width:0;}
.serum-lineup .product-photo {height:125px;}
.serum-lineup figcaption {color:#514c46;font-size:10px;line-height:1.4;margin-top:6px;}
@media(max-width:779px){.rank-media .product-photo{height:220px}.serum-lineup{grid-template-columns:repeat(2,minmax(0,1fr));}}

.rank table {min-width:0;width:100%;table-layout:fixed;}
.rank table th,.rank table td {white-space:normal;overflow-wrap:anywhere;}
.rank table th {width:35%;padding-right:12px;}

