/* ===========================================================
   Essenza Visiva — editorial storytelling site
   Palette: cream + deep indigo navy + amber/copper (echoes
   tortoise frames and warm evening light)
   Fonts: Newsreader (serif, editorial) + Manrope (sans, UI)
   =========================================================== */

:root {
  --bg: #faf4e8;
  --bg-alt: #f1e4cd;
  --card: #fffdf9;
  --ink: #221d2e;
  --ink-soft: #4a4458;
  --navy: #16213e;
  --navy-deep: #0d1526;
  --amber: #c97a3d;
  --amber-light: #e8b27a;
  --amber-dark: #8b4a1f;
  --amber-pale: #f3ddbf;
  --line: #e4d4b8;
  --shadow: 0 20px 45px -25px rgba(22, 33, 62, 0.45);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --maxw: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Newsreader", Georgia, serif;
  color: var(--navy);
  margin: 0 0 0.5em;
  line-height: 1.15;
  font-weight: 600;
}

p {
  margin: 0 0 1.2em;
}

a {
  color: var(--amber-dark);
}

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

.hidden {
  display: none !important;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-dark);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--amber);
  display: inline-block;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 244, 232, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: "Newsreader", serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.logo span {
  color: var(--amber);
  font-style: italic;
}

.site-header__tag {
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 600;
  letter-spacing: 0.02em;
  display: none;
}

@media (min-width: 720px) {
  .site-header__tag {
    display: block;
  }
}

/* ---------- Pill CTA button ---------- */

.cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  border: 1.5px solid var(--navy);
  background: transparent;
  color: var(--navy);
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.cta-pill:hover {
  background: var(--navy);
  color: var(--amber-pale);
  transform: translateY(-2px);
}

.cta-pill--solid {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--navy-deep);
}

.cta-pill--solid:hover {
  background: var(--amber-dark);
  border-color: var(--amber-dark);
  color: #fff;
}

.cta-pill svg {
  width: 16px;
  height: 16px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) brightness(0.72);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(13, 21, 38, 0.35) 0%,
    rgba(13, 21, 38, 0.55) 55%,
    rgba(13, 21, 38, 0.92) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 90px 28px 64px;
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
}

.hero .eyebrow {
  color: var(--amber-light);
}

.hero .eyebrow::before {
  background: var(--amber-light);
}

.hero h1 {
  color: #fff;
  font-size: clamp(34px, 5.4vw, 60px);
  max-width: 760px;
  margin-top: 14px;
}

.hero p.lede {
  color: rgba(255, 255, 255, 0.85);
  font-size: 19px;
  max-width: 560px;
  margin-top: 18px;
}

.hero__meta {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.hero__meta img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

/* ---------- Article shell ---------- */

.article {
  background: var(--card);
  margin-top: -48px;
  position: relative;
  z-index: 3;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: var(--shadow);
  padding: 60px 0 10px;
}

.article__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 28px;
}

.article__inner > p:first-of-type::first-letter {
  font-family: "Newsreader", serif;
  font-size: 68px;
  font-weight: 600;
  float: left;
  line-height: 0.82;
  padding: 8px 10px 0 0;
  color: var(--amber-dark);
}

.article h2 {
  font-size: 30px;
  margin-top: 2.2em;
}

.article h3 {
  font-size: 22px;
  margin-top: 1.8em;
  color: var(--amber-dark);
}

.article figure {
  margin: 36px 0;
}

.article figure img {
  border-radius: var(--radius-md);
  width: 100%;
  object-fit: cover;
}

.article figcaption {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 10px;
  font-style: italic;
}

.figure--duo img {
  filter: sepia(0.35) saturate(0.9) hue-rotate(-8deg);
}

/* ---------- Pull quote ---------- */

blockquote.pull {
  position: relative;
  margin: 46px 0;
  padding: 10px 0 10px 42px;
  border-left: 3px solid var(--amber);
  font-family: "Newsreader", serif;
  font-style: italic;
  font-size: 26px;
  line-height: 1.4;
  color: var(--navy);
}

blockquote.pull::before {
  content: "\201C";
  position: absolute;
  left: -6px;
  top: -24px;
  font-family: "Newsreader", serif;
  font-size: 96px;
  color: var(--amber-pale);
  z-index: 0;
  font-style: normal;
}

blockquote.pull span {
  position: relative;
  z-index: 1;
}

blockquote.pull cite {
  display: block;
  margin-top: 14px;
  font-family: "Manrope", sans-serif;
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- Two-col feature rows ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: 40px 0;
  align-items: center;
}

@media (min-width: 680px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .split--reverse {
    direction: rtl;
  }
  .split--reverse > * {
    direction: ltr;
  }
}

.split img {
  border-radius: var(--radius-md);
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 340px;
}

/* ---------- Product panel ---------- */

.product-panel {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 44px;
  margin: 54px 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  box-shadow: var(--shadow);
}

@media (min-width: 720px) {
  .product-panel {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 54px;
  }
}

.product-panel img {
  border-radius: var(--radius-md);
  width: 100%;
}

.product-panel .eyebrow {
  color: var(--amber-light);
}

.product-panel .eyebrow::before {
  background: var(--amber-light);
}

.product-panel h3 {
  color: #fff;
  font-size: 28px;
  margin-top: 10px;
}

.product-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.product-panel__price {
  font-family: "Newsreader", serif;
  font-size: 15px;
  color: var(--amber-light);
  margin-bottom: 18px;
  display: block;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 26px;
  display: grid;
  gap: 10px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
}

.feature-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
}

/* ---------- Trivia aside (lighter, clearly off-topic asides) ---------- */

.trivia {
  margin: 56px 0;
  padding: 36px 0 4px;
  border-top: 1px dashed var(--line);
}

.trivia__intro {
  max-width: 620px;
}

.trivia__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 28px;
}

@media (min-width: 680px) {
  .trivia__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.trivia__card {
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.trivia__card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.trivia__card-body {
  padding: 20px 22px 24px;
}

.trivia__card .eyebrow {
  font-size: 11.5px;
}

.trivia__card h4 {
  font-family: "Newsreader", serif;
  font-size: 18px;
  color: var(--navy);
  margin: 8px 0 8px;
}

.trivia__card p {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- CTA band ---------- */

.cta-band {
  text-align: center;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 54px 28px;
  margin: 56px 0;
}

.cta-band h3 {
  font-size: 26px;
  max-width: 520px;
  margin: 0 auto 10px;
}

.cta-band p {
  max-width: 480px;
  margin: 0 auto 26px;
  color: var(--ink-soft);
}

/* ---------- Author bio ---------- */

.bio {
  display: flex;
  gap: 18px;
  align-items: center;
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 48px 0;
}

.bio img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.bio h4 {
  font-size: 16px;
  margin-bottom: 2px;
}

.bio p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
}

/* ---------- Fine print ---------- */

.fine-print {
  font-size: 12.5px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 40px;
  line-height: 1.6;
}

/* ---------- Related reading (horizontal list style) ---------- */

.related {
  margin: 56px 0;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}

.related__heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin-bottom: 18px;
}

.related__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.related__row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: padding-left 0.2s ease;
}

.related__row:hover {
  padding-left: 8px;
}

.related__row img {
  width: 76px;
  height: 76px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.related__row-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin-bottom: 4px;
}

.related__row-title {
  font-family: "Newsreader", serif;
  font-size: 18px;
  color: var(--navy);
  font-weight: 600;
}

.related__row-arrow {
  margin-left: auto;
  color: var(--amber);
  font-size: 20px;
  flex-shrink: 0;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
  margin-top: 70px;
  padding: 48px 0 28px;
}

.site-footer .wrap {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.site-footer .logo {
  color: #fff;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.legal-nav a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 13.5px;
}

.legal-nav a:hover {
  color: var(--amber-light);
}

.footer-meta {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
}

/* ---------- Legal page layout ---------- */

.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 28px 40px;
}

.legal-page h1 {
  font-size: 34px;
}

.legal-page h2 {
  font-size: 20px;
  margin-top: 1.8em;
  color: var(--amber-dark);
}

.legal-page p,
.legal-page li {
  color: var(--ink-soft);
  font-size: 15.5px;
}

@media (max-width: 560px) {
  .hero__content {
    padding-top: 70px;
  }
  .product-panel {
    padding: 30px;
  }
  .article {
    border-radius: 22px 22px 0 0;
  }
}
