/* ============================================================
   MARSHALL WOMEN — Forbes-style Editorial Design System
   Crisp white, near-black ink, signature red, bold serif heads.
   (Class names kept identical so all pages restyle automatically;
    CSS variables remapped so inline var(--*) usages adopt the theme.)
   ============================================================ */

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

:root {
  /* Forbes palette */
  --red: #d3142c;          /* Forbes red */
  --red-dark: #a30f22;
  --ink: #12100f;          /* near-black */
  --black: #000000;
  --white: #ffffff;
  --off: #f6f6f4;          /* light section bg */
  --grey: #6f6f6f;
  --grey-light: #9a9a9a;
  --line: #e2e2e0;
  --line-dark: #c9c9c6;

  /* Remapped legacy tokens (used by inline styles across pages) */
  --ivory: #ffffff;
  --cream: #faf9f7;
  --paper: #ffffff;
  --aubergine: #12100f;     /* -> ink (headings, buttons) */
  --plum: #2a2725;
  --terracotta: #d3142c;    /* -> Forbes red (accents) */
  --coral: #e23a4f;
  --gold: #b39256;
  --sage: #5b6b58;
  --rose: #f0eeea;
  --muted: #6f6f6f;
  --shadow: 0 2px 0 rgba(0,0,0,0.04);
  --shadow-sm: 0 1px 0 rgba(0,0,0,0.04);

  --serif: 'Spectral', Georgia, 'Times New Roman', serif;
  --sans: 'Work Sans', system-ui, sans-serif;

  --maxw: 1280px;
  --gutter: clamp(1.1rem, 4vw, 2.6rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--ink);
  line-height: 1.6;
  font-size: 1.01rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before { content: none; } /* no grain — Forbes is crisp */

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--red); color: #fff; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 720px; margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(2.5rem, 5vw, 4.2rem); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.55rem); }
.serif { font-family: var(--serif); }
.italic { font-style: italic; }
p { margin-bottom: 1.05rem; }
.lead {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.5;
  color: #34302d;
  font-family: var(--serif);
  font-weight: 400;
}

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--red);
  display: inline-block;
}
.kicker {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--red);
  font-size: 0.8rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.85rem 1.7rem;
  border-radius: 2px;
  border: 1.5px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { background: var(--red); border-color: var(--red); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Tag / category label (Forbes: red uppercase) ---------- */
.tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--red);
  padding: 0;
  background: none;
}
.tag::before { content: ""; }
.tag-news, .tag-stars, .tag-diet, .tag-recipe, .tag-wellness, .tag-fashion {
  background: none;
  color: var(--red);
}
.tag-stars { color: var(--ink); }
.tag-wellness { color: var(--ink); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.topbar {
  background: var(--black);
  color: #fff;
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.5rem;
  font-weight: 600;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 3px solid var(--ink);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.9rem;
}
.brand {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 1.85rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 0.95;
}
.brand span { color: var(--red); }
.brand small {
  display: block;
  font-family: var(--sans);
  font-size: 0.54rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--grey);
  font-weight: 700;
  margin-top: 4px;
}
.nav { display: flex; align-items: center; gap: 1.35rem; }
.nav a {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding-block: 0.4rem;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -0.92rem;
  width: 0; height: 3px;
  background: var(--red);
  transition: width 0.2s ease;
}
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav a.active { color: var(--red); }
.nav-cart {
  background: var(--red);
  color: #fff !important;
  border-radius: 2px;
  padding: 0.45rem 0.9rem !important;
}
.nav-cart::after { display: none; }
.nav-cart:hover { background: var(--red-dark); }
.menu-toggle { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--ink); }

@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: var(--white);
    padding: 1.3rem var(--gutter);
    gap: 0.9rem;
    border-bottom: 3px solid var(--ink);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a::after { bottom: -0.2rem; }
}

/* ============================================================
   HERO  (Forbes lead-story: big rectangular image + serif head)
   ============================================================ */
.hero { position: relative; padding-block: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem,3vw,2.5rem); border-bottom: 1px solid var(--line); }
.hero::after { content: none; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.6rem, 4vw, 3.2rem);
  align-items: center;
}
.hero .eyebrow { margin-bottom: 0.6rem; }
.hero h1 { margin: 0.4rem 0 1.1rem; }
.hero .lead { max-width: 42ch; }
.hero-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.6rem; }
.hero-img {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--off);
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute;
  bottom: 0; left: 0;
  background: var(--red);
  color: #fff;
  padding: 0.7rem 1.1rem;
  font-size: 0.8rem;
  font-weight: 600;
}
.hero-badge strong { font-family: var(--serif); color: #fff; display: block; font-size: 1.3rem; font-weight: 800; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CARDS / GRID
   ============================================================ */
.grid { display: grid; gap: clamp(1.3rem, 2.6vw, 2rem); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.8rem;
  padding-bottom: 0.7rem;
  border-bottom: 2px solid var(--ink);
  flex-wrap: wrap;
}
.section-head h2 { font-size: clamp(1.3rem, 2.6vw, 1.9rem); }
.section-head .eyebrow + h2 { margin-top: 0.1rem; }
.section-head .link { font-family: var(--sans); font-weight: 700; font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red); }
.section-head .link:hover { color: var(--ink); }

/* Article card — flat, hairline border, image + red kicker + serif title */
.card {
  background: var(--white);
  border-radius: 2px;
  overflow: hidden;
  border: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.2rem;
  transition: none;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: none; box-shadow: none; }
.card-media { aspect-ratio: 3/2; overflow: hidden; background: var(--off); border-radius: 2px; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.3s ease; }
.card:hover .card-media img { opacity: 0.88; }
.card-body { padding: 1rem 0 0; flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }
.card-body h3 { line-height: 1.16; }
.card-body h3 a:hover { color: var(--red); }
.card-meta { font-size: 0.74rem; color: var(--grey); letter-spacing: 0.02em; margin-top: auto; text-transform: uppercase; font-weight: 600; }
.card-excerpt { color: #4a4643; font-size: 0.94rem; line-height: 1.5; }

/* Feature / wide lead card */
.feature {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: var(--white);
  border-radius: 2px;
  overflow: hidden;
  border: none;
  border-top: 3px solid var(--ink);
  padding-top: 1.4rem;
  gap: clamp(1.4rem, 3vw, 2.6rem);
}
.feature-media { background: var(--off); min-height: 300px; border-radius: 2px; overflow: hidden; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-body { padding: 0.2rem 0; display: flex; flex-direction: column; justify-content: center; gap: 0.85rem; }
.feature-body h2 { font-size: clamp(1.8rem, 3.4vw, 2.9rem); line-height: 1.04; }
@media (max-width: 780px) { .feature { grid-template-columns: 1fr; } }

/* ============================================================
   SHOP / PRODUCTS
   ============================================================ */
.product {
  background: var(--white);
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease;
  position: relative;
}
.product:hover { border-color: var(--ink); }
.product-media {
  aspect-ratio: 1/1;
  background: var(--off);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-emoji { font-size: 4.5rem; }
.product-flag {
  position: absolute;
  top: 0; left: 0;
  background: var(--red);
  color: #fff;
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.32rem 0.7rem;
}
.product-body { padding: 1.1rem 1.2rem 1.4rem; display: flex; flex-direction: column; gap: 0.45rem; flex: 1; }
.product-body h3 { font-size: 1.12rem; line-height: 1.2; }
.product-body h3 a:hover { color: var(--red); }
.product-cat { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--red); font-weight: 700; }
.product-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 0.7rem; }
.price { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); font-weight: 700; }
.price s { color: var(--grey-light); font-size: 0.9rem; font-weight: 400; margin-right: 0.4rem; }
.add-cart {
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 2px;
  padding: 0.55rem 1rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease;
}
.add-cart:hover { background: var(--red); }
.stars { color: var(--red); font-size: 0.85rem; letter-spacing: 0.08em; }

/* ============================================================
   NEWSLETTER / CTA  (Forbes black block)
   ============================================================ */
.newsletter {
  background: var(--ink);
  color: #fff;
  border-radius: 2px;
  padding: clamp(2.2rem, 5vw, 3.8rem);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--red);
}
.newsletter h2 { color: #fff; }
.newsletter::before { content: none; }
.newsletter-form {
  position: relative;
  display: flex;
  gap: 0.5rem;
  max-width: 480px;
  margin: 1.4rem auto 0;
  flex-wrap: wrap;
  justify-content: center;
}
.newsletter-form input {
  flex: 1;
  min-width: 220px;
  padding: 0.85rem 1.1rem;
  border-radius: 2px;
  border: none;
  font-family: var(--sans);
  font-size: 0.95rem;
}
.newsletter-form .btn { background: var(--red); border-color: var(--red); }
.newsletter-form .btn:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ============================================================
   ARTICLE BODY
   ============================================================ */
.article-hero { padding-block: clamp(2rem, 4vw, 3.2rem) 1.5rem; text-align: left; border-bottom: 1px solid var(--line); }
.article-hero h1 { max-width: 20ch; margin: 0.7rem 0 1rem; }
.article-hero .byline { font-family: var(--sans); font-size: 0.82rem; color: var(--grey); letter-spacing: 0.02em; text-transform: uppercase; font-weight: 600; }
.article-figure { margin: 2rem auto 2.2rem; max-width: 1000px; }
.article-figure img, .article-figure .ph { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 2px; }
.article-body { font-size: 1.16rem; line-height: 1.78; font-family: var(--serif); font-weight: 400; }
.article-body h2 { margin: 2.2rem 0 0.9rem; font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.article-body h3 { margin: 1.7rem 0 0.6rem; }
.article-body p { color: #28241f; }
.article-body blockquote {
  border-left: 4px solid var(--red);
  padding: 0.3rem 0 0.3rem 1.4rem;
  margin: 1.9rem 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--ink);
  line-height: 1.35;
  font-weight: 500;
}
.article-body ul, .article-body ol { margin: 0 0 1.3rem 1.3rem; }
.article-body li { margin-bottom: 0.5rem; }
.article-body a { color: var(--red); border-bottom: 1px solid currentColor; }

/* recipe card box */
.recipe-box {
  background: var(--off);
  border: none;
  border-top: 3px solid var(--ink);
  border-radius: 2px;
  padding: 1.8rem;
  margin: 2rem 0;
}
.recipe-stats { display: flex; gap: 2rem; flex-wrap: wrap; border-bottom: 1px solid var(--line-dark); padding-bottom: 1.1rem; margin-bottom: 1.1rem; }
.recipe-stats div { font-size: 0.78rem; color: var(--grey); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; font-family: var(--sans); }
.recipe-stats strong { display: block; font-family: var(--serif); font-size: 1.3rem; color: var(--ink); }

/* image placeholder fallbacks (rarely used now) */
.ph { display: block; width: 100%; height: 100%; }
.ph-1 { background: linear-gradient(135deg, #f0eeea, #c9c9c6); }
.ph-2 { background: linear-gradient(135deg, #e8e6e2, #6f6f6f); }
.ph-3 { background: linear-gradient(135deg, #f0eeea, #9a9a9a); }
.ph-4 { background: linear-gradient(135deg, #f3d3d8, #d3142c); }
.ph-5 { background: linear-gradient(135deg, #efe6e6, #b39256); }
.ph-6 { background: linear-gradient(135deg, #e2e2e0, #12100f); }
.ph-emoji { display: flex; align-items: center; justify-content: center; font-size: clamp(3rem,8vw,6rem); }

/* ============================================================
   PAGE HEADER (category pages)
   ============================================================ */
.page-head {
  background: var(--white);
  padding-block: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem,3vw,2.2rem);
  text-align: left;
  border-bottom: 3px solid var(--ink);
}
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.page-head .lead { max-width: 60ch; margin: 0.8rem 0 0; }
.breadcrumb { font-family: var(--sans); font-size: 0.72rem; color: var(--grey); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; margin-bottom: 0.7rem; }
.breadcrumb a:hover { color: var(--red); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--black);
  color: #c7c7c5;
  padding-block: clamp(2.6rem, 5vw, 4rem) 2rem;
  margin-top: 2.5rem;
  border-top: 4px solid var(--red);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(3, 1fr);
  gap: 2.4rem;
}
.footer-grid h4 { color: #fff; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; font-family: var(--sans); font-weight: 700; margin-bottom: 1rem; }
.footer-grid a { display: block; padding: 0.28rem 0; font-size: 0.88rem; color: #adadab; transition: color 0.2s; }
.footer-grid a:hover { color: #fff; }
.footer-brand .brand { color: #fff; }
.footer-brand .brand span { color: var(--red); }
.footer-brand p { font-size: 0.88rem; color: #adadab; max-width: 34ch; margin-top: 0.9rem; }
.footer-social { display: flex; gap: 0.7rem; margin-top: 1.1rem; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid #3a3a3a;
  border-radius: 2px;
  display: grid; place-items: center;
  font-size: 0.9rem;
}
.footer-social a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.footer-bottom {
  border-top: 1px solid #2a2a2a;
  margin-top: 2.2rem;
  padding-top: 1.3rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.7rem;
  font-size: 0.76rem;
  color: #7d7d7b;
  letter-spacing: 0.02em;
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ============================================================
   MISC
   ============================================================ */
.divider { height: 1px; background: var(--line); margin-block: 2rem; }
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }

.reveal { opacity: 0; transform: translateY(14px); animation: rise 0.6s ease forwards; }
.reveal:nth-child(2) { animation-delay: 0.06s; }
.reveal:nth-child(3) { animation-delay: 0.12s; }
.reveal:nth-child(4) { animation-delay: 0.18s; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

/* cart table */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--grey); padding-bottom: 0.9rem; border-bottom: 2px solid var(--ink); font-family: var(--sans); font-weight: 700; }
.cart-table td { padding: 1.1rem 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-item { display: flex; align-items: center; gap: 1rem; }
.cart-thumb { width: 64px; height: 64px; border-radius: 2px; object-fit: cover; }
.cart-summary { background: var(--off); border: 1px solid var(--line); border-radius: 2px; padding: 1.6rem; }
.cart-summary .row { display: flex; justify-content: space-between; padding: 0.45rem 0; font-size: 0.92rem; }
.cart-summary .total { font-family: var(--serif); font-size: 1.4rem; color: var(--ink); font-weight: 700; border-top: 2px solid var(--ink); margin-top: 0.6rem; padding-top: 0.9rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-dark); border-radius: 2px; overflow: hidden; }
.qty button { background: none; border: none; padding: 0.3rem 0.7rem; cursor: pointer; font-size: 1rem; color: var(--ink); }
.qty button:hover { color: var(--red); }
.qty span { padding: 0 0.6rem; min-width: 1.5rem; text-align: center; }

/* forms */
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-family: var(--sans); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.4rem; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line-dark);
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 0.96rem;
  background: var(--white);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--red); border-color: transparent; }
