/* ==========================================================
   Creative Space Studio — Blog ("The Orbit")
   Brand: CSS Light expression
   ========================================================== */

@font-face { font-family: "Rische"; src: url("fonts/Rische-Medium.ttf") format("truetype"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "Proxima Nova"; src: url("fonts/ProximaNova-Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Proxima Nova"; src: url("fonts/ProximaNova-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Proxima Nova"; src: url("fonts/ProximaNova-Bold.otf") format("opentype"); font-weight: 700; font-display: swap; }

:root {
  --nebula: #371EE5;
  --night: #110472;
  --periwinkle: #676CEF;
  --white: #FFFFFF;
  --black: #000000;
  --ash: #C9C9DC;
  --sunny: #FFC300;
  --coral: #FB4E3D;
  --sky: #A5CFF9;

  --ink: #0B0A1A;
  --ink-soft: #3C3B52;
  --ink-muted: #6A6984;
  --line: #E6E6F0;
  --tint: #F4F5FD;

  --grad-airy: linear-gradient(180deg, #FEFEFF 0%, #EAF3FE 55%, #A5CFF9 140%);
  --grad-dark: linear-gradient(135deg, #110472 0%, #2A15C2 55%, #371EE5 100%);
  --grad-radial: radial-gradient(circle at 70% 25%, #676CEF 0%, #371EE5 40%, #110472 100%);

  --font-display: "Rische", "Playfair Display", Georgia, serif;
  --font-main: "Proxima Nova", "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 20px;
  --shadow: 0 10px 40px rgba(17, 4, 114, 0.10);
  --shadow-lg: 0 24px 60px rgba(17, 4, 114, 0.18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-main);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid var(--periwinkle); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(254, 254, 255, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 24px rgba(17,4,114,.06); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.logo img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 36px; }
.nav a { font-size: 16px; font-weight: 500; color: var(--ink); position: relative; padding: 6px 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--sunny); transition: width .25s ease;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.nav a[aria-current="page"] { font-weight: 700; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--nebula); color: var(--white);
  font-weight: 700; font-size: 16px; line-height: 1;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(55, 30, 229, .35); }
.btn--light { background: var(--white); color: var(--nebula); }
.btn--light:hover { box-shadow: 0 10px 26px rgba(0,0,0,.2); }
.link-arrow { font-weight: 700; color: var(--nebula); display: inline-flex; align-items: center; gap: 8px; }
.link-arrow svg { transition: transform .2s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

.menu-toggle {
  display: none; width: 44px; height: 44px; border: 0; border-radius: 12px;
  background: var(--tint); cursor: pointer; position: relative;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  position: absolute; left: 12px; width: 20px; height: 2px; background: var(--ink); content: ""; transition: transform .25s, opacity .25s;
}
.menu-toggle span { top: 21px; }
.menu-toggle span::before { left: 0; top: -6px; }
.menu-toggle span::after { left: 0; top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Shared bits ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--nebula);
}
.sparkle { width: 18px; height: 18px; flex: none; }
.tag {
  display: inline-block; padding: 6px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: var(--tint); color: var(--nebula);
}
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 14px; color: var(--ink-muted); }
.meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ash); }
.underline { background: linear-gradient(transparent 82%, var(--sunny) 82%); padding: 0 2px; }

/* ---------- Blog hero ---------- */
.blog-hero { background: var(--grad-airy); position: relative; overflow: hidden; }
.blog-hero .wrap {
  display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px;
  padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(56px, 8vw, 110px);
}
.blog-hero__title { margin: 16px 0 10px; font-family: var(--font-main); font-weight: 700; font-size: clamp(48px, 7vw, 88px); line-height: 1; letter-spacing: -.035em; }
.blog-hero__sub { margin: 0 0 14px; font-weight: 500; font-size: clamp(20px, 2vw, 24px); line-height: 1.3; color: var(--ink); }
.blog-hero__lede { max-width: 460px; margin: 0 0 32px; font-size: 17px; color: var(--ink-muted); }

.search {
  display: flex; align-items: center; gap: 10px; max-width: 460px;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 6px 6px 20px; box-shadow: var(--shadow);
}
.search svg { flex: none; color: var(--ink-muted); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 10px 0; font-size: 16px; color: var(--ink); }
.search input::placeholder { color: var(--ink-muted); }

.orbit-art { position: relative; aspect-ratio: 1 / 1; max-width: 520px; width: 100%; justify-self: end; }
.orbit-art__ring {
  position: absolute; inset: 14% 0; border: 1.5px solid var(--periwinkle); border-radius: 50%;
  transform: rotate(-18deg); opacity: .7;
}
.orbit-art__ring--2 { inset: 4% 12%; transform: rotate(32deg); opacity: .35; }
.orbit-art__product {
  position: absolute; inset: 12%; display: grid; place-items: center;
  animation: float 7s ease-in-out infinite;
}
.orbit-art .sparkle { position: absolute; color: var(--coral); }
.orbit-art .s1 { top: 14%; left: 10%; width: 34px; height: 34px; animation: twinkle 3.2s ease-in-out infinite; }
.orbit-art .s2 { bottom: 16%; right: 6%; width: 22px; height: 22px; animation: twinkle 3.2s 1.4s ease-in-out infinite; }
.orbit-art__planet {
  position: absolute; width: 18px; height: 18px; border-radius: 50%; background: var(--nebula);
  top: 50%; left: 50%; offset-path: ellipse(50% 36% at 50% 50%);
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes twinkle { 0%,100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.7) rotate(20deg); opacity: .6; } }

/* ---------- Filters ---------- */
.filters-bar { border-bottom: 1px solid var(--line); background: var(--white); }
.filters-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.filters { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 2px; margin: -2px; }
.filters::-webkit-scrollbar { display: none; }
.chip {
  flex: none; padding: 10px 18px; border-radius: 999px; cursor: pointer;
  background: var(--white); border: 1px solid var(--line); color: var(--ink-soft);
  font-size: 15px; font-weight: 500; transition: all .2s ease;
}
.chip:hover { border-color: var(--periwinkle); color: var(--nebula); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); font-weight: 700; }
.result-count { flex: none; font-size: 14px; color: var(--ink-muted); }

/* ---------- Featured ---------- */
.section { padding: clamp(48px, 7vw, 88px) 0; }
.featured {
  display: grid; grid-template-columns: 1.1fr 1fr; border-radius: 28px; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease;
}
.featured:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.featured .cover { min-height: 420px; border-radius: 0; }
.featured__body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.featured__label { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.featured__label .eyebrow { color: var(--coral); }
.featured h2 { margin: 0; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.1; font-weight: 700; }
.featured p { margin: 0; color: var(--ink-soft); font-size: 18px; }

/* ---------- Grid of posts ---------- */
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.section-head h2 { margin: 8px 0 0; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 36px); }
.card { display: flex; flex-direction: column; border-radius: var(--radius); background: var(--white); transition: transform .3s ease; }
.card:hover { transform: translateY(-4px); }
.card .cover { aspect-ratio: 16 / 10; border-radius: var(--radius); box-shadow: var(--shadow); transition: box-shadow .3s ease; }
.card:hover .cover { box-shadow: var(--shadow-lg); }
.card__body { padding: 22px 4px 0; display: flex; flex-direction: column; gap: 12px; }
.card h3 { margin: 0; font-size: clamp(22px, 2vw, 27px); line-height: 1.2; font-weight: 700; }
.card:hover h3 { color: var(--nebula); }
.card p { margin: 0; color: var(--ink-soft); }
.card.is-hidden, .featured.is-hidden { display: none; }
.empty { display: none; text-align: center; padding: 48px 16px; color: var(--ink-muted); }
.empty.is-visible { display: block; }

/* ---------- Generated covers (no stock photos needed) ---------- */
.cover { position: relative; overflow: hidden; isolation: isolate; }
.cover .ring { position: absolute; border: 1.5px solid var(--periwinkle); border-radius: 50%; opacity: .6; }
.cover .sparkle { position: absolute; color: var(--coral); z-index: 3; }

/* 1 — Clean label: airy + ingredient list */
.cover--clean { background: var(--grad-airy); }
.cover--clean .ring { width: 120%; height: 62%; left: -10%; top: 22%; transform: rotate(-14deg); }
.cover--clean .label-list {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 3;
  background: rgba(255,255,255,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.9); border-radius: 16px; padding: 18px 20px; width: min(52%, 260px);
  box-shadow: 0 10px 30px rgba(17,4,114,.12); font-size: 12px; line-height: 1.5;
}
.cover--clean .label-list strong { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; color: var(--nebula); }
.cover--clean .label-list span { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding: 5px 0; color: var(--ink-soft); }
.cover--clean .s1 { top: 12%; right: 12%; width: 26px; height: 26px; }

/* 2 — Calm palettes: swatches */
.cover--palette { background: #F6F4EE; display: grid; place-items: center; }
.cover--palette .swatches { display: flex; height: 64%; width: 78%; gap: 0; }
.cover--palette .swatches i {
  flex: 1; border-radius: 999px; margin-left: -6%; box-shadow: 0 12px 30px rgba(17,4,114,.12);
  transition: transform .4s ease;
}
.cover--palette .swatches i:first-child { margin-left: 0; }
.card:hover .cover--palette .swatches i:nth-child(odd) { transform: translateY(-8px); }
.card:hover .cover--palette .swatches i:nth-child(even) { transform: translateY(8px); }
.cover--palette .s1 { top: 12%; left: 9%; width: 22px; height: 22px; }

/* 3 — Motion identity: dark radial with orbiting rings */
.cover--motion { background: var(--grad-radial); }
.cover--motion .ring { border-color: rgba(255,255,255,.35); left: 50%; top: 50%; translate: -50% -50%; }
.cover--motion .r1 { width: 34%; aspect-ratio: 1; height: auto; }
.cover--motion .r2 { width: 56%; aspect-ratio: 1; height: auto; opacity: .45; }
.cover--motion .r3 { width: 80%; aspect-ratio: 1; height: auto; opacity: .25; }
.cover--motion .mark { position: absolute; left: 50%; top: 50%; width: 22%; translate: -50% -50%; z-index: 2; }
.cover--motion .satellite {
  position: absolute; left: 50%; top: 50%; width: 56%; aspect-ratio: 1; translate: -50% -50%;
  animation: spin 9s linear infinite;
}
.cover--motion .satellite::before { content: ""; position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; border-radius: 50%; background: var(--sunny); translate: -50% 0; box-shadow: 0 0 20px var(--sunny); }
.cover--motion .satellite.two { width: 80%; animation-duration: 14s; animation-direction: reverse; }
.cover--motion .satellite.two::before { background: var(--sky); box-shadow: 0 0 18px var(--sky); width: 10px; height: 10px; top: -5px; }
.cover--motion .s1 { color: var(--white); top: 14%; right: 14%; width: 22px; height: 22px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 4 — Founder-led: Starry Night + Rische quote */
.cover--founder { background: var(--night); color: var(--white); display: grid; place-items: center; text-align: center; padding: 8%; }
.cover--founder::before {
  content: ""; position: absolute; width: 90%; aspect-ratio: 1; border-radius: 50%; right: -35%; top: -40%;
  background: radial-gradient(circle, rgba(103,108,239,.55), transparent 65%); z-index: -1;
}
.cover--founder blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(26px, 3.2vw, 40px); line-height: 1.15; }
.cover--founder blockquote::before { content: "\201C"; display: block; font-size: 2.4em; line-height: .6; color: var(--sunny); }
.cover--founder cite { display: block; margin-top: 16px; font-family: var(--font-main); font-style: normal; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--sky); }

/* 5 — Scroll & shelf: phone + product */
.cover--scroll { background: linear-gradient(135deg, #EAF3FE 0%, #A5CFF9 100%); }
.cover--scroll .phone {
  position: absolute; left: 50%; translate: -50% 0; top: 12%; bottom: -14%; width: 30%;
  background: var(--ink); border-radius: 26px; padding: 9px; box-shadow: var(--shadow-lg); z-index: 2;
}
.cover--scroll .phone-screen { width: 100%; height: 100%; border-radius: 18px; background: var(--white); padding: 12px 10px; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 26%; gap: 6px; overflow: hidden; }
.cover--scroll .phone-screen i { border-radius: 8px; background: var(--tint); }
.cover--scroll .phone-screen i.hit { background: var(--grad-dark); position: relative; }
.cover--scroll .phone-screen i.hit::after { content: ""; position: absolute; inset: 22%; border-radius: 4px; background: rgba(255,255,255,.85); }
.cover--scroll .s1 { top: 14%; right: 14%; width: 24px; height: 24px; }

/* ---------- Newsletter band ---------- */
.newsletter { background: var(--nebula); color: var(--white); border-radius: 28px; position: relative; overflow: hidden; }
.newsletter::after {
  content: ""; position: absolute; width: 520px; aspect-ratio: 1; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.22); right: -160px; top: -200px;
}
.newsletter .inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; padding: clamp(32px, 5vw, 64px); }
.newsletter h2 { margin: 12px 0 10px; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; text-transform: uppercase; }
.newsletter p { margin: 0; color: rgba(255,255,255,.82); font-size: 18px; }
.newsletter .eyebrow { color: var(--sunny); }
.subscribe { display: flex; gap: 10px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 6px; }
.subscribe input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--white); padding: 0 16px; font-size: 16px; }
.subscribe input::placeholder { color: rgba(255,255,255,.7); }
.form-note { margin-top: 12px !important; font-size: 14px !important; min-height: 1.4em; }

/* ---------- Article ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--sunny); z-index: 60; }
.article-hero { background: var(--grad-airy); }
.article-hero .wrap { max-width: 980px; padding-top: clamp(36px, 6vw, 72px); padding-bottom: clamp(36px, 5vw, 56px); }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--ink-muted); margin-bottom: 28px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--nebula); }
.article-hero h1 { margin: 16px 0 18px; font-size: clamp(34px, 5.4vw, 64px); line-height: 1.05; font-weight: 700; letter-spacing: -.01em; }
.article-hero .standfirst { margin: 0 0 26px; font-size: clamp(18px, 2vw, 22px); color: var(--ink-soft); max-width: 760px; }
.byline { display: flex; align-items: center; gap: 14px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--grad-dark); display: grid; place-items: center; flex: none; }
.avatar svg { width: 20px; color: var(--white); }
.byline strong { display: block; font-size: 15px; }

.article-cover { max-width: 1140px; margin: 0 auto; padding: 0 var(--gutter); transform: translateY(0); }
.article-cover .cover { aspect-ratio: 21 / 9; border-radius: 28px; box-shadow: var(--shadow-lg); }

.article-layout { display: grid; grid-template-columns: 1fr minmax(0, 720px) 1fr; gap: 40px; padding: clamp(40px, 6vw, 72px) var(--gutter); max-width: 1240px; margin: 0 auto; }
.share { position: sticky; top: 120px; align-self: start; justify-self: end; display: flex; flex-direction: column; gap: 10px; }
.share span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); font-weight: 700; margin-bottom: 4px; }
.share a, .share button {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--line); background: var(--white); color: var(--ink); transition: all .2s ease;
}
.share a:hover, .share button:hover { background: var(--nebula); border-color: var(--nebula); color: var(--white); }
.share svg { width: 18px; height: 18px; }

.prose { font-size: 19px; line-height: 1.7; color: var(--ink-soft); }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin-bottom: 0; }
.prose > p:first-of-type::first-letter {
  font-family: var(--font-display); float: left; font-size: 4.2em; line-height: .82; padding: 6px 12px 0 0; color: var(--nebula);
}
.prose h2 { margin: 2em 0 0; font-size: clamp(26px, 2.6vw, 32px); line-height: 1.15; color: var(--ink); }
.prose h3 { margin: 1.6em 0 0; font-size: 22px; color: var(--ink); }
.prose strong { color: var(--ink); }
.prose a { color: var(--nebula); font-weight: 500; text-decoration: underline; text-decoration-color: var(--sunny); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose ul { list-style: none; padding: 0; margin: 1.2em 0 0; }
.prose ul li { position: relative; padding-left: 40px; margin-top: .7em; }
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 24px; height: 24px; border-radius: 50%;
  border: 1.5px solid var(--sunny);
  background: center / 12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23371EE5' d='M12 0c.8 6.4 5.6 11.2 12 12-6.4.8-11.2 5.6-12 12-.8-6.4-5.6-11.2-12-12C6.4 11.2 11.2 6.4 12 0z'/%3E%3C/svg%3E");
}
.pullquote { margin: 2.2em 0 !important; padding: 8px 0 8px 28px; border-left: 3px solid var(--nebula); }
.pullquote p { font-family: var(--font-display); font-size: clamp(26px, 3vw, 34px); line-height: 1.2; color: var(--ink); }

.takeaways {
  margin-top: 2.4em !important; padding: clamp(24px, 3vw, 36px); border-radius: 24px;
  background: linear-gradient(135deg, rgba(165,207,249,.35), rgba(103,108,239,.12));
  border: 1px solid rgba(103,108,239,.25); position: relative; overflow: hidden;
}
.takeaways::after {
  content: ""; position: absolute; right: -40px; bottom: -40px; width: 200px; height: 200px; opacity: .14;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23371EE5' d='M12 0c.8 6.4 5.6 11.2 12 12-6.4.8-11.2 5.6-12 12-.8-6.4-5.6-11.2-12-12C6.4 11.2 11.2 6.4 12 0z'/%3E%3C/svg%3E");
}
.takeaways h2 { margin: 0 0 4px; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--nebula); display: flex; gap: 10px; align-items: center; }
.takeaways ol { margin: 12px 0 0; padding-left: 1.2em; position: relative; z-index: 1; }
.takeaways li { margin-top: .5em; color: var(--ink); }
.takeaways li::marker { color: var(--nebula); font-weight: 700; }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 2em 0 !important; }
.stat { background: var(--tint); border-radius: 18px; padding: 20px; }
.stat b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 40px; line-height: 1; color: var(--nebula); }
.stat span { display: block; margin-top: 8px; font-size: 14px; line-height: 1.4; color: var(--ink-soft); }

.article-end { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 3em !important; padding-top: 24px; border-top: 1px solid var(--line); }

.cta-band { background: var(--grad-dark); color: var(--white); position: relative; overflow: hidden; }
.cta-band .wrap { display: grid; grid-template-columns: 1.3fr .7fr; align-items: center; gap: 32px; padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(48px, 7vw, 88px); position: relative; z-index: 1; }
.cta-band h2 { margin: 12px 0 14px; font-family: var(--font-display); font-weight: 400; font-size: clamp(36px, 5vw, 60px); line-height: 1.05; }
.cta-band p { margin: 0 0 28px; font-size: 18px; color: rgba(255,255,255,.82); max-width: 560px; }
.cta-band .eyebrow { color: var(--sunny); }
.cta-band::before {
  content: ""; position: absolute; width: 760px; aspect-ratio: 1; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.14); right: -220px; top: -260px;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: rgba(255,255,255,.78); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer img { height: 56px; width: auto; margin-bottom: 18px; }
.site-footer h4 { margin: 0 0 14px; color: var(--white); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: var(--sunny); }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .share { display: none; }
  .article-layout { grid-template-columns: minmax(0, 720px); justify-content: center; }
  .article-layout > .spacer { display: none; }
}
@media (max-width: 960px) {
  .blog-hero .wrap { grid-template-columns: 1fr; }
  .orbit-art { justify-self: center; max-width: 380px; order: -1; margin-bottom: -24px; }
  .featured { grid-template-columns: 1fr; }
  .featured .cover { min-height: 0; aspect-ratio: 16 / 10; }
  .newsletter .inner, .cta-band .wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); padding: 8px var(--gutter) 24px; border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(17,4,114,.1);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: all .25s ease;
  }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 16px; border-bottom: 0; }
  .menu-open .nav { transform: none; opacity: 1; pointer-events: auto; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .site-header .wrap { height: 72px; }
  .logo img { height: 42px; }
  .grid { grid-template-columns: 1fr; }
  .filters-bar .wrap { flex-direction: column; align-items: stretch; }
  .result-count { display: none; }
  .subscribe { flex-direction: column; border-radius: 20px; padding: 8px; }
  .subscribe input { padding: 12px 14px; }
  .prose { font-size: 17px; }
  .stat-row { grid-template-columns: 1fr; }
  .article-cover .cover { aspect-ratio: 4 / 3; border-radius: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: start; }
}

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

/* Nav CTA */
.nav .btn { color: var(--white); padding: 12px 22px; font-size: 15px; }
.nav .btn::after { display: none; }
.card .tag, .featured .tag { align-self: flex-start; }
.related { background: var(--tint); }
@media (max-width: 960px) {
  .orbit-art { max-width: 300px; aspect-ratio: 4 / 3; margin: 0 auto; }
  .orbit-art__product { inset: 6% 14%; }
}
@media (max-width: 680px) {
  .cover--clean .label-list { padding: 12px 14px; font-size: 11px; width: 46%; }
  .cover--clean .label-list span { padding: 3px 0; }
}
.orbit-art__product { display: flex; align-items: center; justify-content: center; }

/* ---------- Planet + orbit design elements (no imagery) ---------- */
.planet {
  position: relative; width: 46%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #676CEF 0%, #371EE5 45%, #110472 100%);
  box-shadow: 0 30px 60px rgba(17, 4, 114, .28), inset -14px -18px 40px rgba(17, 4, 114, .45);
  display: grid; place-items: center;
}
.planet::after {
  content: ""; position: absolute; inset: 8% 14% auto auto; width: 22%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.55), transparent 70%);
}
.planet .sparkle { position: static; width: 34%; height: 34%; color: var(--white); animation: none; }

/* hero: moon in orbit */
.orbit-art__product::after {
  content: ""; position: absolute; width: 7%; aspect-ratio: 1; border-radius: 50%; background: var(--sunny);
  box-shadow: 0 0 24px rgba(255, 195, 0, .7); top: 50%; left: 50%;
  offset-path: path("M -230 0 A 230 120 -18 1 1 230 0 A 230 120 -18 1 1 -230 0");
  animation: orbit 14s linear infinite;
}
@keyframes orbit { to { offset-distance: 100%; } }

/* clean-label cover: ingredient card gets a planet behind it */
.cover--clean::before {
  content: ""; position: absolute; width: 34%; aspect-ratio: 1; border-radius: 50%; right: 8%; bottom: 10%;
  background: radial-gradient(circle at 32% 28%, #676CEF, #371EE5 50%, #110472);
  box-shadow: 0 20px 40px rgba(17,4,114,.25); z-index: 1;
}
.cover--clean::after {
  content: ""; position: absolute; width: 14%; aspect-ratio: 1; border-radius: 50%; left: 9%; top: 12%;
  background: var(--sky); opacity: .8; z-index: 1;
}

/* scroll cover: orbit ring around the phone */
.cover--scroll::before {
  content: ""; position: absolute; width: 90%; height: 46%; left: 5%; top: 30%; border-radius: 50%;
  border: 1.5px solid var(--periwinkle); transform: rotate(-14deg); opacity: .7; z-index: 1;
}
.cover--scroll::after {
  content: ""; position: absolute; width: 16%; aspect-ratio: 1; border-radius: 50%; right: 10%; bottom: 14%;
  background: radial-gradient(circle at 32% 28%, #676CEF, #371EE5 50%, #110472); z-index: 3;
  box-shadow: 0 14px 30px rgba(17,4,114,.3);
}

/* CTA band orbit */
.cta-orbit { position: relative; width: 100%; max-width: 340px; aspect-ratio: 1; justify-self: center; display: grid; place-items: center; }
.cta-orbit .ring { position: absolute; inset: 22% -6%; border: 1.5px solid rgba(255,255,255,.4); border-radius: 50%; transform: rotate(-18deg); }
.cta-orbit .ring.two { inset: 4% 20%; transform: rotate(28deg); border-color: rgba(165,207,249,.35); }
.cta-orbit .planet { width: 52%; background: radial-gradient(circle at 32% 28%, #A5CFF9 0%, #676CEF 40%, #371EE5 100%); animation: float 7s ease-in-out infinite; }
.cta-orbit > .sparkle { position: absolute; top: 10%; right: 12%; width: 26px; height: 26px; color: var(--sunny); animation: twinkle 3.2s ease-in-out infinite; }
@media (max-width: 960px) { .cta-orbit { max-width: 220px; justify-self: start; } }
@media (max-width: 960px) { .orbit-art__product::after { display: none; } }
