/* ===========================================================
   Clove — shared stylesheet
   Palette rooted in the logo: near-black + blush pink
   Display: Fraunces (editorial serif) · Body: Public Sans
=========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500&family=Public+Sans:wght@400;500;600;700&display=swap');

:root{
  --bg: #0d0b0d;
  --bg-soft: #161318;
  --bg-card: #18151a;
  --ink: #f6eef0;
  --ink-soft: #b9aab0;
  --pink: #f4bcc4;
  --pink-deep: #e2909f;
  --rose-clay: #c6705f;
  --gold-dust: #b98b4e;
  --sage-whisper: #7c8f76;
  --line: rgba(246,238,240,0.14);

  --font-display: 'Fraunces', serif;
  --font-body: 'Public Sans', sans-serif;

  --radius: 8px;
  --maxw: 1180px;
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin:0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height:1.6;
  -webkit-font-smoothing: antialiased;
}

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

a{ color: inherit; }

.wrap{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header / Nav ---------- */
.site-header{
  background: var(--bg);
  color: var(--ink);
  padding: 16px 0;
  position: sticky;
  top:0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
}
.site-header .wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.logo{
  display:flex;
  align-items:center;
  text-decoration:none;
  color: var(--pink);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.7rem;
}
.logo-img{
  height: 44px;
  width: auto;
  display:block;
}
.site-nav{
  display:flex;
  gap: 30px;
  list-style:none;
  margin:0; padding:0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.site-nav a{
  text-decoration:none;
  color: var(--ink-soft);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.site-nav a:hover, .site-nav a.active{
  color: var(--ink);
  border-color: var(--pink);
}
.nav-actions{
  display:flex;
  align-items:center;
  gap: 14px;
}
.nav-icon{
  width: 38px; height:38px;
  border-radius:50%;
  border:1px solid var(--line);
  display:flex; align-items:center; justify-content:center;
  color: var(--ink-soft);
  flex-shrink:0;
}
.nav-icon svg{ width:16px; height:16px; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight:700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration:none;
  border: 1px solid transparent;
  cursor:pointer;
}
.btn-primary{
  background: var(--pink);
  color: #211118;
}
.btn-primary:hover{ background: var(--pink-deep); }
.btn-ghost{
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
  text-transform:none;
  letter-spacing:normal;
  font-weight:600;
}
.btn-ghost:hover{ border-color: var(--pink); color: var(--pink); }
.btn-pill-sm{
  padding: 10px 22px;
  font-size: 0.72rem;
}

/* ---------- Hero (photo, homepage) ---------- */
.hero-photo-section{
  padding: 48px 0 0;
}
.hero-photo-grid{
  display:grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items:center;
  padding-bottom: 48px;
}
@media (max-width: 900px){
  .hero-photo-grid{ grid-template-columns: 1fr; }
}
.eyebrow{
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--pink);
  font-weight: 700;
  margin-bottom: 20px;
  display:inline-block;
}
.hero-photo-grid h1{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  line-height: 1.02;
  margin: 0 0 22px;
}
.hero-photo-grid p.lede{
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 0 32px;
}
.hero-actions{ display:flex; align-items:center; gap:20px; flex-wrap:wrap; }
.hero-actions .btn-ghost{ border:none; padding:0; }
.hero-actions .btn-ghost:hover{ color: var(--pink); }

.hero-photo-frame{
  position:relative;
  border-radius: 18px;
  overflow:visible;
  aspect-ratio: 4/3.4;
  background: var(--bg-soft) linear-gradient(160deg, #221a22, #150f14);
}
.hero-photo-frame .photo{
  position:absolute; inset:0;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-soft);
}
.badge-stamp{
  position:absolute;
  bottom: -30px;
  right: -20px;
  width: 118px; height:118px;
}
@media (max-width: 900px){
  .badge-stamp{ right: 12px; }
}
.badge-stamp svg{ width:100%; height:100%; }

/* ---------- Hero (text-only, hub index pages) ---------- */
.hero{
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  padding: 56px 0 64px;
}
.hero .wrap{ display:block; }
.hero h1{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.08;
  margin: 0 0 18px;
  max-width: 16ch;
  color: var(--ink);
}
.hero p.lede{
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 52ch;
  margin: 0;
}

/* ---------- Feature icon row ---------- */
.feature-row{
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 24px;
  display:flex;
  justify-content:space-between;
  gap: 24px;
  flex-wrap:wrap;
  text-align:center;
}
.feature-item{
  flex:1;
  min-width: 130px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 10px;
}
.feature-icon{
  width: 52px; height:52px;
  border-radius:50%;
  border: 1px solid var(--pink);
  color: var(--pink);
  display:flex; align-items:center; justify-content:center;
}
.feature-icon svg{ width:22px; height:22px; }
.feature-item h3{
  font-size: 0.78rem;
  text-transform:uppercase;
  letter-spacing:0.1em;
  color: var(--ink);
  margin:0;
}
.feature-item p{
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin:0;
  max-width: 20ch;
}

/* ---------- Section labels ---------- */
.section{ padding: 64px 0; }
.section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap:wrap;
}
.section-head .kicker{
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--pink);
  font-weight: 700;
}
.section-head h2{
  font-family: var(--font-display);
  font-weight:500;
  font-size: 1.7rem;
  margin: 6px 0 0;
  color: var(--ink);
}
.section-head a{
  font-size: 0.85rem;
  font-weight:600;
  text-decoration:none;
  color: var(--ink-soft);
  white-space:nowrap;
}
.section-head a:hover{ color: var(--pink); }

/* ---------- Category kickers / badge chips ---------- */
.pill{
  display:inline-block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight:700;
}
.pill-reviews{ color: var(--rose-clay); }
.pill-positions{ color: var(--pink); }
.pill-advice{ color: var(--sage-whisper); }

.badge-chip{
  position:absolute;
  top: 14px; left:14px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight:700;
  background: rgba(13,11,13,0.78);
  backdrop-filter: blur(4px);
}
.badge-chip.pill-reviews{ color: #e7a397; }
.badge-chip.pill-positions{ color: var(--pink); }
.badge-chip.pill-advice{ color: #a3b89c; }

/* ---------- Cards / grid ---------- */
.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 860px){
  .grid{ grid-template-columns: 1fr; }
}
.card{
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  text-decoration:none;
  color: var(--ink);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.card:hover{
  transform: translateY(-3px);
  border-color: var(--pink);
  box-shadow: 0 16px 32px rgba(0,0,0,0.35);
}
.card-media{
  position:relative;
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-soft);
  background-image: linear-gradient(160deg, #241a22, #17121a);
}
.card-media.m-reviews{ background-image: linear-gradient(160deg, #2a1a1c, #17121a); }
.card-media.m-positions{ background-image: linear-gradient(160deg, #251722, #17121a); }
.card-media.m-advice{ background-image: linear-gradient(160deg, #1a221c, #14171a); }
.card-body{ padding: 20px 20px 22px; flex:1; display:flex; flex-direction:column; gap:8px; }
.card-body h3{
  font-family: var(--font-display);
  font-weight:600;
  font-size: 1.15rem;
  line-height:1.28;
  margin: 2px 0 0;
  color: var(--ink);
}
.card-body p{ margin:0; color: var(--ink-soft); font-size: 0.92rem; }
.card-meta{
  margin-top:auto;
  padding-top: 12px;
  font-size: 0.78rem;
  color: var(--ink-soft);
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.card-meta .bookmark{ width:15px; height:15px; opacity:0.6; }

/* First card in an editorial feed grid reads as the lead item */
.grid-feed > .card:first-child{
  grid-column: span 2;
}
.grid-feed > .card:first-child .card-media{ aspect-ratio: 16/9; }
.grid-feed > .card:first-child .card-body h3{
  font-size: 1.5rem;
}
@media (max-width: 860px){
  .grid-feed > .card:first-child{ grid-column: span 1; }
}

/* ---------- The Clove Scale (signature component) ---------- */
.clove{
  margin: 6px 0 2px;
}
.clove-label{
  display:flex;
  justify-content:space-between;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.clove-track{
  position:relative;
  height: 6px;
  border-radius: 100px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.clove-dot{
  position:absolute;
  top:50%;
  width: 14px; height:14px;
  border-radius:50%;
  background: var(--pink);
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 1px var(--pink);
  transform: translate(-50%,-50%);
}
.clove-endpoints{
  display:flex;
  justify-content:space-between;
  font-size: 0.75rem;
  color: var(--ink-soft);
  margin-top: 6px;
}

/* ---------- Article layout ---------- */
.article-header{
  background: var(--bg-soft);
  color: var(--ink);
  padding: 52px 0 44px;
  border-bottom: 1px solid var(--line);
}
.article-header h1{
  font-family: var(--font-display);
  font-weight:500;
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 16px 0 14px;
  max-width: 20ch;
  color: var(--ink);
}
.article-header .dek{
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 56ch;
}
.article-meta-row{
  display:flex;
  gap: 24px;
  margin-top: 24px;
  flex-wrap:wrap;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.article-photo{
  margin-top: 32px;
  border-radius: var(--radius);
  aspect-ratio: 21/8;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-soft);
  background-image: linear-gradient(160deg, #241a22, #17121a);
  overflow:hidden;
}
@media (max-width: 700px){
  .article-photo{ aspect-ratio: 16/10; }
}

.article-body{
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 90px;
}
.article-body h2{
  font-family: var(--font-display);
  font-weight:600;
  font-size: 1.5rem;
  margin: 44px 0 16px;
  color: var(--ink);
}
.article-body h3{
  font-family: var(--font-display);
  font-weight:600;
  font-size: 1.2rem;
  margin: 32px 0 12px;
  color: var(--ink);
}
.article-body p{ margin: 0 0 18px; color: var(--ink-soft); }
.article-body ul, .article-body ol{ padding-left: 22px; margin: 0 0 18px; color: var(--ink-soft); }
.article-body li{ margin-bottom: 8px; }
.article-body strong{ color: var(--ink); }
.article-body a{ color: var(--pink); }

.callout{
  background: var(--bg-soft);
  border-left: 3px solid var(--pink);
  padding: 18px 22px;
  border-radius: var(--radius);
  margin: 28px 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.callout strong{ color: var(--pink); }

.stat-panel{
  display:flex;
  flex-wrap:wrap;
  gap: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  margin: 32px 0;
}
.stat-panel div{ text-align:left; }
.stat-panel .num{
  font-family: var(--font-display);
  font-style: italic;
  color: var(--pink);
  font-size: 1.5rem;
  font-weight:600;
  display:block;
}
.stat-panel .lab{
  font-size: 0.72rem;
  text-transform:uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
}

.diagram{
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 20px 16px;
  margin: 28px 0;
}
.diagram svg{ width:100%; height:auto; display:block; }
.diagram-caption{
  margin: 12px 0 0;
  font-size: 0.8rem;
  color: var(--ink-soft);
  text-align:center;
}
.diagram-caption strong{ color: var(--ink); }

.spec-compare{
  width:100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 0.88rem;
}
.spec-compare th, .spec-compare td{
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align:left;
}
.spec-compare th{
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  font-weight:600;
}
.spec-compare td:first-child, .spec-compare th:first-child{ color: var(--ink); font-weight:600; }
.spec-compare tr:last-child td{ border-bottom:none; }
.spec-bar-row{ display:flex; align-items:center; gap:10px; margin:10px 0; }
.spec-bar-label{ width:120px; flex-shrink:0; font-size:0.82rem; color:var(--ink-soft); }
.spec-bar-track{ flex:1; height:6px; border-radius:100px; background:var(--bg); border:1px solid var(--line); position:relative; }
.spec-bar-fill{ position:absolute; top:0; left:0; height:100%; border-radius:100px; background:var(--pink); }

.affiliate-box{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  margin: 30px 0;
  background: var(--bg-soft);
  display:flex;
  gap:18px;
  align-items:center;
  flex-wrap:wrap;
}
.affiliate-box .price{
  font-family: var(--font-display);
  font-size:1.3rem;
  font-weight:600;
  color: var(--pink);
}
.affiliate-note{
  font-size: 0.78rem;
  color: var(--ink-soft);
  font-style: italic;
}

/* ---------- Newsletter (split panel) ---------- */
.newsletter{
  padding: 0;
}
.newsletter-split{
  display:grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 220px;
}
@media (max-width: 780px){
  .newsletter-split{ grid-template-columns: 1fr; }
}
.newsletter-copy{
  background: var(--pink);
  color: #211118;
  padding: 48px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap: 18px;
}
.newsletter-copy h2{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2rem;
  line-height:1.05;
  margin: 0;
}
.newsletter-copy p{ margin:0; max-width: 40ch; opacity:0.75; }
.newsletter-form{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
  max-width: 420px;
}
.newsletter-form input[type=email]{
  flex:1;
  min-width: 200px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid rgba(33,17,24,0.25);
  font-family: var(--font-body);
  font-size: 0.92rem;
  background: rgba(255,255,255,0.5);
  color: #211118;
}
.newsletter-form button{
  width:44px; height:44px;
  border-radius:50%;
  background: #211118;
  color: var(--pink);
  border:none;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer;
  flex-shrink:0;
}
.newsletter-photo{
  background-size: cover;
  background-position: center;
  background-color: var(--bg-soft);
  background-image: linear-gradient(160deg, #1c1418, #100b0d);
}

/* ---------- Footer ---------- */
.site-footer{
  background: var(--bg);
  color: var(--ink-soft);
  padding: 56px 0 32px;
  font-size: 0.88rem;
  border-top: 1px solid var(--line);
}
.footer-grid{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  flex-wrap:wrap;
  gap: 32px;
  padding-bottom: 32px;
}
.footer-brand{ max-width: 240px; }
.footer-brand .logo{ margin-bottom: 10px; }
.footer-brand p{ font-size: 0.85rem; margin: 0 0 16px; }
.footer-social{ display:flex; gap:12px; }
.footer-social a{
  width:34px; height:34px;
  border-radius:50%;
  border:1px solid var(--line);
  display:flex; align-items:center; justify-content:center;
  text-decoration:none;
  color: var(--ink-soft);
}
.footer-social a:hover{ color: var(--pink); border-color: var(--pink); }
.footer-social svg{ width:14px; height:14px; }
.footer-columns{ display:flex; gap: 56px; flex-wrap:wrap; }
.footer-col h4{
  color: var(--ink);
  font-size: 0.75rem;
  text-transform:uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 14px;
}
.footer-col ul{ list-style:none; margin:0; padding:0; }
.footer-col li{ margin-bottom: 10px; }
.footer-col a{ text-decoration:none; color: var(--ink-soft); font-size:0.88rem; }
.footer-col a:hover{ color: var(--pink); }
.footer-stamp{ width:88px; height:88px; flex-shrink:0; }
.footer-bottom{
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap: 10px;
  font-size: 0.8rem;
}

/* ---------- Utility ---------- */
.age-gate-note{
  font-size: 0.78rem;
  color: var(--ink-soft);
}
