:root {
  --ink: #24301f;
  --deep: #22380f;
  --olive: #566b26;
  --olive-dark: #3d4f18;
  --sage: #a7b891;
  --sea: #dcecea;
  --gold: #caa45d;
  --cream: #f9f2e7;
  --paper: rgba(255, 252, 245, 0.78);
  --paper-strong: rgba(255, 252, 245, 0.92);
  --line: rgba(92, 75, 37, 0.16);
  --muted: #756f62;
  --shadow: 0 18px 55px rgba(75, 63, 31, 0.14);
  --shadow-soft: 0 10px 28px rgba(75, 63, 31, 0.1);
  --radius: 28px;
  --radius-sm: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(174, 206, 198, 0.35), transparent 32rem),
    radial-gradient(circle at top left, rgba(210, 179, 103, 0.18), transparent 30rem),
    linear-gradient(135deg, #fbf4e8 0%, #f7efe1 38%, #eef6f2 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.36;
  background-image:
    linear-gradient(rgba(96, 70, 31, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96, 70, 31, 0.025) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at 40% 10%, black, transparent 75%);
}

button,
a,
input {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
}

.page-shell {
  width: min(1860px, calc(100% - 64px));
  margin: 0 auto;
  padding: 26px 0 20px;
  position: relative;
}

.ambient {
  position: fixed;
  pointer-events: none;
  z-index: -1;
}

.ambient-left {
  width: 220px;
  height: 720px;
  left: -54px;
  top: 54px;
  background:
    radial-gradient(ellipse at 28px 35px, rgba(83, 100, 43, 0.45) 0 9px, transparent 10px),
    radial-gradient(ellipse at 82px 98px, rgba(83, 100, 43, 0.34) 0 8px, transparent 9px),
    radial-gradient(ellipse at 42px 160px, rgba(83, 100, 43, 0.32) 0 10px, transparent 11px),
    linear-gradient(90deg, transparent 35px, rgba(83, 100, 43, 0.28) 37px, transparent 39px);
  filter: blur(0.2px);
  opacity: 0.7;
  transform: rotate(-8deg);
}

.ambient-right {
  right: 16px;
  top: 112px;
  width: 220px;
  height: 320px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(245, 209, 113, 0.22), transparent 66%);
}

.site-header {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) auto minmax(280px, 1fr);
  gap: 28px;
  align-items: center;
  padding: 0 8px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand strong {
  display: block;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.7rem, 2.6vw, 2.6rem);
  color: var(--deep);
  letter-spacing: -0.045em;
  line-height: 1;
}

.brand small {
  display: block;
  color: var(--muted);
  font-weight: 600;
  margin-top: 4px;
  letter-spacing: -0.02em;
}

.brand-mark {
  position: relative;
  width: 88px;
  height: 58px;
  flex: 0 0 auto;
}

.branch {
  position: absolute;
  width: 74px;
  height: 5px;
  background: linear-gradient(90deg, #7f5b22, #536b26);
  border-radius: 999px;
  left: 10px;
  top: 30px;
}

.branch-a { transform: rotate(-26deg); }
.branch-b { transform: rotate(22deg); }

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 42px;
  border-radius: 50% 50% 50% 0;
  background: linear-gradient(135deg, #708a37, #b5c38c);
  transform: rotate(48deg);
  box-shadow: 28px 14px 0 -2px #8c9d52, 48px -7px 0 -4px #61762f;
}

.brand-mark::before { left: 4px; top: 8px; }
.brand-mark::after { right: 2px; top: 6px; transform: rotate(-134deg); }

.olive {
  position: absolute;
  width: 14px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, #d6c56d, #556719 72%);
  box-shadow: inset -2px -4px 6px rgba(0, 0, 0, 0.18);
}
.olive-a { left: 52px; top: 31px; }
.olive-b { left: 28px; top: 19px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 33px;
  color: #2f382a;
  font-weight: 600;
}

.main-nav a {
  position: relative;
  padding: 10px 0;
  opacity: 0.92;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--olive-dark);
}

.main-nav a.active::after,
.main-nav a:hover::after {
  content: "";
  position: absolute;
  height: 3px;
  border-radius: 999px;
  left: 0;
  right: 0;
  bottom: 3px;
  background: linear-gradient(90deg, var(--olive), var(--gold));
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 14px;
}

.privacy-pill,
.avatar-button {
  border: 1px solid var(--line);
  background: rgba(255, 253, 247, 0.78);
  box-shadow: var(--shadow-soft);
  border-radius: 999px;
  display: flex;
  align-items: center;
}

.privacy-pill {
  gap: 11px;
  padding: 10px 17px 10px 12px;
  min-width: 238px;
}

.privacy-pill strong,
.privacy-pill small {
  display: block;
  text-align: left;
}

.privacy-pill strong { color: var(--deep); font-weight: 800; }
.privacy-pill small { color: var(--muted); font-weight: 600; font-size: 0.82rem; margin-top: 2px; }

.shield {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #405b18, #6f8736);
  color: #fff8df;
  font-size: 0.9rem;
}

.avatar-button {
  gap: 7px;
  padding: 5px 10px 5px 5px;
}

.avatar-face {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 32%, #f5cda6, #be7e4f 58%, #4c2d1b 59% 100%);
  display: grid;
  place-items: center;
  color: #fff6e8;
  font-size: 0.78rem;
  font-weight: 700;
}

.chevron { color: var(--olive-dark); }

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.38), rgba(255, 250, 239, 0.78)),
    var(--paper);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 24px;
  align-items: stretch;
}

.hero-card,
.ai-card {
  min-height: 530px;
}

.hero-card {
  padding: clamp(28px, 4vw, 58px);
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 184, 92, 0.16), transparent 70%);
  right: -190px;
  top: -160px;
  pointer-events: none;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 800;
  color: #7b6b2d;
  margin-bottom: 12px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Fraunces, Georgia, serif;
  color: var(--deep);
  letter-spacing: -0.048em;
}

h1 {
  font-size: clamp(2.4rem, 4vw, 4.7rem);
  line-height: 0.96;
  max-width: 950px;
  margin-bottom: 20px;
}

.hero-copy {
  font-size: clamp(1rem, 1.25vw, 1.25rem);
  line-height: 1.65;
  max-width: 760px;
  color: #4f5848;
  margin-bottom: 30px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 0 0 26px;
}

.feature-tile {
  min-height: 136px;
  border-radius: 22px;
  border: 1px solid rgba(100, 85, 42, 0.18);
  padding: 18px 14px;
  color: var(--ink);
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 7px;
  box-shadow: 0 12px 24px rgba(72, 60, 29, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.feature-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 28px rgba(72, 60, 29, 0.14);
  border-color: rgba(86, 107, 38, 0.34);
}

.feature-tile strong {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.18rem;
  line-height: 1.05;
  color: var(--deep);
}

.feature-tile small {
  color: var(--muted);
  font-weight: 600;
}

.feature-icon {
  font-size: 2.45rem;
  line-height: 1;
  filter: drop-shadow(0 4px 7px rgba(52, 64, 18, 0.18));
}

.feature-sage { background: linear-gradient(135deg, rgba(230, 238, 218, 0.84), rgba(255, 252, 243, 0.86)); }
.feature-gold { background: linear-gradient(135deg, rgba(255, 238, 202, 0.78), rgba(255, 250, 241, 0.9)); }
.feature-blue { background: linear-gradient(135deg, rgba(228, 241, 241, 0.84), rgba(255, 252, 244, 0.9)); }
.feature-cream { background: linear-gradient(135deg, rgba(255, 239, 217, 0.78), rgba(255, 250, 242, 0.92)); }

.ask-box {
  height: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(92, 75, 37, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  padding: 0 20px;
  max-width: 930px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78), 0 9px 22px rgba(72, 60, 29, 0.06);
}

.ask-box span {
  color: var(--gold);
  font-size: 1.2rem;
}

.ask-box input {
  border: 0;
  background: transparent;
  outline: 0;
  color: var(--ink);
  flex: 1;
  min-width: 0;
  font-size: 1rem;
}

.ask-box input::placeholder {
  color: rgba(81, 76, 67, 0.55);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 18px 0 9px;
}

.btn {
  border: 1px solid rgba(84, 67, 26, 0.2);
  border-radius: 14px;
  min-height: 48px;
  padding: 0 28px;
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow: var(--shadow-soft);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(72, 60, 29, 0.16);
}

.btn-primary {
  color: #fffdf0;
  background: linear-gradient(135deg, var(--olive-dark), #74872e);
}

.btn-secondary {
  color: var(--olive-dark);
  background: rgba(255, 253, 247, 0.76);
}

.btn-ghost {
  background: rgba(255, 250, 240, 0.72);
  color: #6d5320;
}

.btn-small {
  min-height: 40px;
  border-radius: 12px;
  padding: 0 18px;
  color: var(--olive-dark);
  background: rgba(255, 253, 247, 0.82);
}

.privacy-note {
  text-align: center;
  font-size: 0.86rem;
  color: var(--muted);
  font-weight: 700;
}

.suggestion-panel {
  margin-top: 22px;
  border-radius: 22px;
  border: 1px solid rgba(86, 107, 38, 0.22);
  background: rgba(255, 253, 246, 0.74);
  padding: 20px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.suggestion-panel[hidden] {
  display: none;
}

.result-kicker {
  display: inline-flex;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(86, 107, 38, 0.12);
  color: var(--olive-dark);
  font-size: 0.72rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.suggestion-panel h2 {
  font-size: 1.45rem;
  margin-bottom: 6px;
}

.suggestion-panel p {
  color: #4e5945;
  line-height: 1.55;
  margin-bottom: 12px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-row span,
.mini-products span {
  border-radius: 999px;
  background: rgba(214, 231, 213, 0.78);
  color: var(--olive-dark);
  padding: 7px 10px;
  font-weight: 800;
  font-size: 0.78rem;
}

.mini-products {
  display: grid;
  align-content: center;
  gap: 8px;
}

.ai-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  min-width: 0;
  position: relative;
}

.ai-copy {
  padding: clamp(26px, 3vw, 46px);
  z-index: 2;
}

.ai-copy h2 {
  font-size: clamp(1.9rem, 2.3vw, 2.9rem);
  line-height: 1.04;
  margin-bottom: 18px;
}

.ai-copy p {
  line-height: 1.65;
  color: #4f5848;
  margin-bottom: 20px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: grid;
  gap: 13px;
  color: #39442f;
  font-weight: 800;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.check-list span {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, #4c6420, #9cae5e);
  font-size: 0.84rem;
}

.ai-actions {
  display: grid;
  gap: 14px;
  max-width: 330px;
}

.still-life {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 22%, rgba(255, 247, 220, 0.92), transparent 31%),
    radial-gradient(circle at 55% 76%, rgba(202, 164, 93, 0.24), transparent 45%);
}

.arch-window {
  position: absolute;
  right: 0;
  top: 38px;
  width: 260px;
  height: 360px;
  border-radius: 150px 150px 0 0;
  border: 14px solid rgba(245, 231, 204, 0.9);
  background:
    linear-gradient(180deg, rgba(112, 177, 204, 0.5), rgba(232, 244, 244, 0.72) 44%, rgba(221, 193, 139, 0.28) 45%, rgba(235, 229, 207, 0.7)),
    linear-gradient(135deg, #a6d3df, #f5efdd);
  box-shadow: inset 0 0 0 1px rgba(141, 110, 58, 0.18), -25px 30px 70px rgba(107, 85, 38, 0.17);
}

.cruet {
  position: absolute;
  left: 46px;
  bottom: 98px;
  width: 122px;
  height: 184px;
  border-radius: 52% 48% 36% 36%;
  background:
    radial-gradient(circle at 35% 23%, rgba(255, 255, 255, 0.8), transparent 18%),
    linear-gradient(135deg, #f5f2e7, #c8c0a9);
  box-shadow: inset -18px -15px 35px rgba(117, 97, 63, 0.18), 0 18px 30px rgba(80, 65, 31, 0.18);
}

.cruet::before {
  content: "";
  position: absolute;
  width: 58px;
  height: 34px;
  border: 12px solid rgba(211, 204, 185, 0.78);
  border-left: 0;
  border-radius: 0 40px 40px 0;
  right: -44px;
  top: 58px;
}

.oil-bottle {
  position: absolute;
  right: 88px;
  bottom: 58px;
  width: 126px;
  height: 356px;
  border-radius: 34px 34px 42px 42px;
  background:
    linear-gradient(90deg, transparent 15%, rgba(255, 255, 255, 0.36) 19%, transparent 25%, transparent 58%, rgba(255, 255, 255, 0.22) 62%, transparent 67%),
    linear-gradient(90deg, #9b761d, #f3c750 24%, #d29a20 48%, #fff2a4 57%, #be821e 78%, #7a5a1a);
  border: 2px solid rgba(111, 72, 20, 0.28);
  box-shadow: inset 0 0 32px rgba(255, 255, 255, 0.3), 0 24px 46px rgba(82, 60, 22, 0.31);
}

.oil-bottle::before {
  content: "";
  position: absolute;
  width: 56px;
  height: 56px;
  left: 31px;
  top: -50px;
  background: linear-gradient(90deg, #8a621b, #ffdc7a, #a36e19);
  border-radius: 12px 12px 5px 5px;
  border: 2px solid rgba(111, 72, 20, 0.28);
}

.oil-bottle::after {
  content: "";
  position: absolute;
  width: 77px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 244, 207, 0.88);
  left: 20px;
  top: 147px;
  border: 1px solid rgba(117, 87, 30, 0.25);
  box-shadow: inset 0 0 20px rgba(209, 162, 73, 0.18);
}

.bottle-label {
  position: absolute;
  left: 44px;
  top: 184px;
  z-index: 2;
  color: #8a6825;
  font-family: Fraunces, Georgia, serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.67rem;
}

.olive-branch {
  position: absolute;
  width: 240px;
  height: 64px;
  border-radius: 999px;
  border-top: 5px solid #61772d;
  opacity: 0.9;
}

.olive-branch::before,
.olive-branch::after {
  content: "";
  position: absolute;
  width: 210px;
  height: 60px;
  left: 16px;
  top: -22px;
  background:
    radial-gradient(ellipse, #738940 0 10px, transparent 11px) 0 0 / 44px 30px repeat-x,
    radial-gradient(ellipse, #4f6724 0 8px, transparent 9px) 18px 27px / 44px 30px repeat-x;
}

.branch-one {
  right: 58px;
  bottom: 185px;
  transform: rotate(-22deg);
}

.branch-two {
  right: 2px;
  top: 84px;
  transform: rotate(34deg);
}

.olive-bowl {
  position: absolute;
  right: 212px;
  bottom: 56px;
  width: 180px;
  height: 65px;
  border-radius: 0 0 90px 90px;
  background: linear-gradient(#f1e4ca, #c6ad7b);
  box-shadow: 0 17px 30px rgba(77, 57, 24, 0.18);
}

.olive-bowl::before {
  content: "";
  position: absolute;
  width: 170px;
  height: 64px;
  border-radius: 50%;
  top: -34px;
  left: 5px;
  background:
    radial-gradient(circle at 24px 31px, #80963e 0 13px, transparent 14px),
    radial-gradient(circle at 55px 18px, #5d7028 0 12px, transparent 13px),
    radial-gradient(circle at 93px 29px, #9aaa4f 0 14px, transparent 15px),
    radial-gradient(circle at 127px 17px, #64762c 0 12px, transparent 13px),
    #f4ead6;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(360px, 1.55fr) minmax(250px, 0.78fr) minmax(310px, 0.95fr) minmax(320px, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.section-card {
  padding: 18px;
  border-radius: 20px;
  min-height: 290px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}

.section-heading h2 {
  font-size: 1.18rem;
  margin: 0;
  letter-spacing: -0.025em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-heading a {
  color: #54662a;
  font-weight: 800;
  font-size: 0.86rem;
}

.recipe-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(128px, 1fr));
  gap: 12px;
}

.recipe-card,
.product-card {
  border-radius: 15px;
  background: rgba(255, 253, 247, 0.72);
  border: 1px solid rgba(91, 75, 38, 0.14);
  box-shadow: 0 8px 20px rgba(76, 61, 28, 0.08);
  overflow: hidden;
}

.recipe-art {
  height: 118px;
  position: relative;
  display: grid;
  place-items: center;
  font-size: 3rem;
  background: linear-gradient(135deg, #efe1bf, #f8f0df);
}

.recipe-art button {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.56);
  background: rgba(255, 255, 255, 0.48);
  color: #786234;
  font-size: 1.1rem;
}

.recipe-one { background: radial-gradient(circle at 30% 35%, #f2efd8 0 18%, transparent 19%), linear-gradient(135deg, #d55c3e, #efb86f 52%, #6c8a33); }
.recipe-two { background: linear-gradient(135deg, #8cb9c6, #ece2c6 48%, #bf8f44); }
.recipe-three { background: radial-gradient(circle, #d04c34 0 13%, transparent 14%) 0 0 / 38px 38px, linear-gradient(135deg, #f1c674, #99a45a); }
.recipe-four { background: linear-gradient(135deg, #e9c286, #fff3d2 60%, #b6a66a); }

.recipe-card h3,
.product-card h3 {
  font-family: Fraunces, Georgia, serif;
  color: var(--deep);
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.recipe-card h3 {
  font-size: 0.97rem;
  margin: 11px 12px 4px;
}

.recipe-card p {
  font-size: 0.77rem;
  color: var(--muted);
  margin: 0 12px 7px;
  line-height: 1.3;
}

.stars {
  color: #d79722;
  font-size: 0.78rem;
  font-weight: 900;
}

.stars span {
  color: #6b695d;
  font-weight: 700;
}

.recipe-card .stars {
  margin: 0 12px 8px;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #6a6d5b;
  font-size: 0.72rem;
  font-weight: 800;
  margin: 0 12px 9px;
}

.meta-row span:last-child {
  background: #f4e9c9;
  color: #7b6530;
  border-radius: 999px;
  padding: 2px 8px;
}

.oil-style {
  margin: 0 12px 12px;
  border-radius: 999px;
  background: rgba(91, 111, 42, 0.1);
  color: var(--olive-dark);
  font-size: 0.7rem;
  font-weight: 900;
  padding: 6px 8px;
  display: inline-flex;
}

.tasting-layout {
  display: grid;
  grid-template-columns: 154px 1fr;
  gap: 14px;
  align-items: center;
}

.taste-wheel {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  background:
    radial-gradient(circle, #f7e7aa 0 17%, transparent 18%),
    conic-gradient(from -30deg, #6d7d35, #a2ad5e, #dbc36e, #f0d17e, #d2ab58, #887a36, #5f7131, #6d7d35);
  display: grid;
  place-items: center;
  border: 10px solid rgba(255, 251, 239, 0.85);
  box-shadow: inset 0 0 0 1px rgba(84, 67, 26, 0.18), 0 12px 24px rgba(72, 60, 29, 0.13);
}

.taste-wheel span {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 249, 219, 0.95);
  box-shadow: inset 0 0 0 1px rgba(115, 85, 25, 0.16);
}

.taste-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.taste-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  column-gap: 8px;
  align-items: center;
}

.taste-list strong {
  color: var(--deep);
  font-family: Fraunces, Georgia, serif;
  letter-spacing: -0.02em;
  line-height: 1;
}

.taste-list small {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.1;
}

.tasting-card .btn-small {
  margin-top: 13px;
  width: 100%;
}

.map-card {
  min-height: 196px;
  border-radius: 16px;
  border: 1px solid rgba(91, 75, 38, 0.14);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 38% 48%, rgba(242, 234, 207, 0.9) 0 24%, transparent 25%),
    radial-gradient(ellipse at 68% 38%, rgba(242, 234, 207, 0.88) 0 18%, transparent 19%),
    radial-gradient(ellipse at 50% 72%, rgba(242, 234, 207, 0.88) 0 19%, transparent 20%),
    linear-gradient(135deg, #d8ecee, #eef7f1);
}

.map-sea {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(25deg, transparent 0 35%, rgba(120, 178, 190, 0.28) 36% 42%, transparent 43%),
    linear-gradient(-15deg, transparent 0 45%, rgba(120, 178, 190, 0.2) 46% 50%, transparent 51%);
}

.region-pin {
  position: absolute;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 252, 242, 0.88);
  color: var(--deep);
  padding: 8px 12px 8px 28px;
  box-shadow: 0 8px 20px rgba(61, 76, 30, 0.14);
  font-family: Fraunces, Georgia, serif;
  font-weight: 800;
  line-height: 1;
}

.region-pin::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 50%;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: var(--olive);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.55);
}

.region-pin small {
  display: block;
  color: #706b5d;
  margin-top: 3px;
  font-family: Inter, sans-serif;
  font-weight: 700;
  font-size: 0.67rem;
}

.pin-tuscany { top: 34px; left: 122px; }
.pin-puglia { top: 86px; right: 22px; }
.pin-andalusia { bottom: 30px; left: 54px; }
.pin-crete { bottom: 24px; right: 70px; }

.region-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
}

.region-footer p {
  color: var(--muted);
  margin: 0;
  font-weight: 700;
  font-size: 0.82rem;
}

.article-list {
  display: grid;
  gap: 10px;
}

.article-item {
  display: grid;
  grid-template-columns: 96px 1fr 24px;
  gap: 12px;
  align-items: center;
  min-height: 80px;
  border-radius: 15px;
  padding: 8px;
  background: rgba(255, 253, 247, 0.72);
  border: 1px solid rgba(91, 75, 38, 0.12);
  box-shadow: 0 8px 20px rgba(76, 61, 28, 0.06);
}

.article-thumb {
  height: 66px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 2rem;
  background: linear-gradient(135deg, #e2c57c, #f8efd7);
}

.article-one { background: linear-gradient(135deg, #eff0db, #beaa67); }
.article-two { background: linear-gradient(135deg, #87984a, #f0dc9a); }
.article-three { background: linear-gradient(135deg, #b98a26, #fff0a5); }

.article-copy strong,
.article-copy small,
.article-copy em {
  display: block;
}

.article-copy strong {
  font-family: Fraunces, Georgia, serif;
  color: var(--deep);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 3px;
}

.article-copy small {
  color: #6f7062;
  font-size: 0.76rem;
  line-height: 1.22;
}

.article-copy em {
  color: #968353;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
  margin-top: 4px;
}

.article-arrow {
  color: #a07a2e;
  font-size: 1.9rem;
}

.pantry-card {
  margin-top: 18px;
  padding: 22px;
  border-radius: 20px;
}

.pantry-heading h2 {
  font-size: 1.4rem;
  margin-bottom: 5px;
}

.pantry-heading p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.88rem;
}

.product-row {
  display: grid;
  grid-template-columns: repeat(8, minmax(160px, 1fr));
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.product-card {
  min-width: 190px;
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 11px;
  padding: 10px;
  align-items: stretch;
}

.product-art {
  border-radius: 14px;
  min-height: 128px;
  display: grid;
  place-items: center;
  font-size: 2.25rem;
  background: linear-gradient(135deg, #f2e7ca, #fff8e8);
}

.product-bottle { background: linear-gradient(135deg, #879a48, #f5d163); }
.product-dark { background: linear-gradient(135deg, #1f241a, #b58a2e); }
.product-balsamic { background: linear-gradient(135deg, #3a1f17, #c08a41); }
.product-salt { background: linear-gradient(135deg, #f8f7f0, #cfbea1); }
.product-cruet { background: linear-gradient(135deg, #c7bb8f, #fff3d6); }
.product-bowls { background: linear-gradient(135deg, #d9c188, #f5efdd); }
.product-olives { background: linear-gradient(135deg, #71812d, #e5d68d); }
.product-pasta { background: linear-gradient(135deg, #ce9d4b, #f8e6b7); }

.product-card h3 {
  font-size: 0.82rem;
  margin: 3px 0 4px;
}

.product-card p {
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.2;
  margin-bottom: 6px;
}

.product-card .stars {
  font-size: 0.68rem;
  margin-bottom: 4px;
}

.price {
  display: block;
  color: var(--deep);
  font-size: 1.02rem;
  margin-bottom: 7px;
}

.product-cta {
  display: flex;
  min-height: 29px;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--olive-dark), #61742c);
  color: #fffdf0;
  font-weight: 900;
  font-size: 0.72rem;
}

.journal-settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}

.slim-card,
.policy-card {
  padding: 30px;
}

.slim-card h2,
.policy-card h1,
.policy-card h2 {
  font-family: Fraunces, Georgia, serif;
  color: var(--deep);
  letter-spacing: -0.04em;
}

.slim-card p,
.policy-card p {
  color: #56604d;
  line-height: 1.65;
}

.policy-card {
  margin: 36px auto 0;
  max-width: 1100px;
}

.policy-card h1 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 26px;
}

.policy-grid article {
  border-radius: 18px;
  background: rgba(255, 253, 247, 0.72);
  border: 1px solid rgba(91, 75, 38, 0.12);
  padding: 20px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 22px;
  margin: 22px 0 0;
  padding: 18px 8px 0;
  color: #6c6d5e;
  font-weight: 700;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 253, 247, 0.76);
  box-shadow: var(--shadow-soft);
}

.site-footer nav {
  display: flex;
  gap: 20px;
}

.site-footer a:hover {
  color: var(--olive-dark);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.reveal {
  animation: rise 520ms ease both;
}
.delay-one { animation-delay: 80ms; }
.delay-two { animation-delay: 130ms; }
.delay-three { animation-delay: 180ms; }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1500px) {
  .page-shell { width: min(1500px, calc(100% - 40px)); }
  .site-header { grid-template-columns: 1fr; gap: 16px; }
  .main-nav { justify-content: center; flex-wrap: wrap; }
  .header-actions { justify-self: center; }
  .hero-grid { grid-template-columns: 1fr; }
  .ai-card { min-height: 420px; }
  .content-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 940px) {
  .page-shell { width: min(100% - 24px, 760px); padding-top: 14px; }
  .main-nav { gap: 18px; font-size: 0.92rem; }
  .header-actions { width: 100%; justify-content: space-between; }
  .privacy-pill { min-width: 0; }
  .hero-card { padding: 28px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { flex-direction: column; }
  .suggestion-panel { grid-template-columns: 1fr; }
  .ai-card { grid-template-columns: 1fr; }
  .still-life { min-height: 330px; }
  .content-grid { grid-template-columns: 1fr; }
  .recipe-row { grid-template-columns: repeat(2, 1fr); }
  .journal-settings-grid,
  .policy-grid { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}

@media (max-width: 560px) {
  h1 { font-size: 2.25rem; }
  .brand strong { font-size: 1.7rem; }
  .brand-mark { width: 64px; transform: scale(0.8); transform-origin: left center; }
  .main-nav { display: none; }
  .recipe-row { grid-template-columns: 1fr; }
  .tasting-layout { grid-template-columns: 1fr; justify-items: center; }
  .article-item { grid-template-columns: 70px 1fr 18px; }
  .product-row { grid-template-columns: repeat(8, 210px); }
}

/* Iteration 2: working local prompt engine */
.prompt-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
  max-width: 930px;
}

.prompt-chip,
.next-prompts button {
  border: 1px solid rgba(86, 107, 38, 0.18);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.76);
  color: var(--olive-dark);
  padding: 8px 12px;
  font-weight: 800;
  font-size: 0.78rem;
  box-shadow: 0 6px 14px rgba(72, 60, 29, 0.07);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.prompt-chip:hover,
.next-prompts button:hover {
  transform: translateY(-2px);
  border-color: rgba(86, 107, 38, 0.34);
  background: rgba(238, 245, 229, 0.86);
}

.suggestion-panel {
  grid-template-columns: minmax(280px, 1fr) minmax(300px, 0.9fr);
  align-items: start;
}

.result-main,
.result-side {
  min-width: 0;
}

.result-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}

.result-meta-row span {
  border-radius: 999px;
  background: rgba(203, 164, 93, 0.14);
  color: #735620;
  padding: 6px 10px;
  font-size: 0.72rem;
  font-weight: 900;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.gemma-hint {
  margin-top: 13px;
  border-left: 3px solid rgba(86, 107, 38, 0.34);
  padding: 8px 0 8px 12px;
  color: #677057;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.45;
}

.result-side {
  display: grid;
  gap: 12px;
}

.result-side-block {
  border-radius: 16px;
  border: 1px solid rgba(92, 75, 37, 0.13);
  background: rgba(255, 255, 255, 0.44);
  padding: 12px;
}

.result-side-block h3 {
  font-family: Fraunces, Georgia, serif;
  color: var(--deep);
  letter-spacing: -0.02em;
  font-size: 0.98rem;
  margin: 0 0 9px;
}

.mini-products {
  align-content: stretch;
}

.mini-product-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 10px;
  border-radius: 14px;
  border: 1px solid rgba(91, 75, 38, 0.14);
  background: rgba(255, 253, 247, 0.82);
  padding: 10px;
  color: inherit;
  box-shadow: 0 7px 18px rgba(76, 61, 28, 0.07);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.mini-product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(76, 61, 28, 0.13);
}

.mini-product-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.55rem;
  background: linear-gradient(135deg, rgba(230, 238, 218, 0.88), rgba(255, 243, 216, 0.86));
}

.mini-product-copy {
  display: grid;
  gap: 3px;
}

.mini-product-copy strong {
  font-family: Fraunces, Georgia, serif;
  color: var(--deep);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.mini-product-copy small {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.35;
}

.mini-product-footer {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  margin-top: 3px;
}

.mini-product-footer em {
  color: #758035;
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 900;
}

.mini-product-footer b {
  color: var(--deep);
  font-size: 0.86rem;
}

.mini-product-cta {
  justify-self: start;
  margin-top: 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--olive-dark), #74872e);
  color: #fffdf0;
  padding: 5px 10px;
  font-size: 0.7rem;
  font-weight: 900;
}

.reason-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 7px;
  color: #4e5945;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.4;
}

.next-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 920px) {
  .suggestion-panel {
    grid-template-columns: 1fr;
  }

  .prompt-strip {
    justify-content: center;
  }
}

/* Iteration 3 layout refresh: three-card content row + full-width article strip */
.content-grid {
  grid-template-columns: minmax(430px, 1.6fr) minmax(280px, 0.85fr) minmax(360px, 1fr);
  align-items: stretch;
}

.recipes-card,
.tasting-card,
.regions-card {
  min-height: 470px;
}

.recipes-card .recipe-row {
  height: calc(100% - 42px);
}

.article-strip-card {
  margin-top: 18px;
  padding: 22px;
  border-radius: 20px;
  min-height: 375px;
}

.article-strip-heading {
  margin-bottom: 16px;
}

.article-strip-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.article-strip-item {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 270px;
  border-radius: 18px;
  padding: 12px;
  background: rgba(255, 253, 247, 0.78);
  border: 1px solid rgba(91, 75, 38, 0.12);
  box-shadow: 0 10px 24px rgba(76, 61, 28, 0.07);
  color: inherit;
}

.article-strip-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(76, 61, 28, 0.1);
}

.article-strip-thumb {
  height: 118px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 2.85rem;
  background: linear-gradient(135deg, #e2c57c, #f8efd7);
  margin-bottom: 12px;
}

.article-strip-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 auto;
}

.article-strip-copy strong {
  font-family: Fraunces, Georgia, serif;
  color: var(--deep);
  line-height: 1.03;
  letter-spacing: -0.028em;
  font-size: 1.05rem;
}

.article-strip-copy small {
  color: #6f7062;
  font-size: 0.82rem;
  line-height: 1.3;
}

.article-strip-copy em {
  color: #968353;
  font-size: 0.77rem;
  font-style: normal;
  font-weight: 800;
  margin-top: auto;
}

.article-strip-arrow {
  position: absolute;
  right: 14px;
  bottom: 12px;
  color: #a07a2e;
  font-size: 1.7rem;
  line-height: 1;
}

.pantry-card {
  min-height: 300px;
}

.product-row {
  grid-template-columns: repeat(8, minmax(185px, 1fr));
}

@media (max-width: 1500px) {
  .content-grid {
    grid-template-columns: minmax(360px, 1.3fr) minmax(260px, 0.8fr) minmax(320px, 1fr);
  }
}

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

  .recipes-card,
  .tasting-card,
  .regions-card {
    min-height: auto;
  }
}

@media (max-width: 940px) {
  .article-strip-row {
    grid-auto-columns: minmax(220px, 82vw);
  }
}

@media (max-width: 560px) {
  .article-strip-card {
    padding: 18px;
  }

  .article-strip-row {
    grid-auto-columns: minmax(210px, 85vw);
  }

  .article-strip-item {
    min-height: 248px;
  }
}

/* Iteration 4: Article feed consumer */
.article-strip-heading a,
.article-list-heading a {
  color: #54662a;
  font-weight: 900;
}

.article-strip-thumb--image {
  overflow: hidden;
  background: #efe8d8;
}

.article-strip-thumb--image img,
.published-article-media img,
.article-hero-image img,
.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-strip-thumb--feed,
.published-article-media--placeholder {
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.62), transparent 20%),
    linear-gradient(135deg, #70853a, #d8bc6b 58%, #f8efd7);
}

.article-index-hero {
  margin-top: 18px;
  padding: clamp(28px, 4vw, 54px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.35fr);
  gap: 28px;
  align-items: center;
  overflow: hidden;
}

.article-index-copy h1,
.article-detail-header h1 {
  font-family: Fraunces, Georgia, serif;
  color: var(--deep);
  letter-spacing: -0.055em;
  line-height: 0.98;
  margin: 0;
}

.article-index-copy h1 {
  font-size: clamp(3rem, 7vw, 7.6rem);
}

.article-index-copy p {
  max-width: 780px;
  color: #4f5848;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.65;
  margin: 18px 0 0;
}

.article-feed-meta,
.article-detail-meta,
.published-article-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.article-feed-meta {
  margin-top: 22px;
}

.article-feed-meta span,
.article-detail-meta span,
.published-article-kicker span {
  border-radius: 999px;
  background: rgba(214, 231, 213, 0.68);
  color: #54662a;
  border: 1px solid rgba(90, 112, 50, 0.16);
  padding: 7px 10px;
  font-size: 0.78rem;
  font-weight: 900;
}

.article-index-still-life {
  min-height: 230px;
  border-radius: 50% 50% 34px 34px;
  display: grid;
  place-items: center;
  font-size: clamp(5rem, 10vw, 10rem);
  background:
    radial-gradient(circle at 34% 25%, rgba(255, 255, 255, 0.72), transparent 20%),
    linear-gradient(135deg, rgba(112, 133, 58, 0.82), rgba(216, 188, 107, 0.78));
  box-shadow: inset 0 0 0 1px rgba(91, 75, 38, 0.12), var(--shadow-soft);
}

.article-section-nav,
.article-empty-state {
  margin-top: 18px;
  padding: 24px;
}

.article-section-chip-row,
.article-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.article-section-chip {
  display: grid;
  gap: 4px;
  min-width: min(100%, 260px);
  border-radius: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(91, 75, 38, 0.13);
  background: rgba(255, 253, 247, 0.72);
  box-shadow: 0 8px 20px rgba(76, 61, 28, 0.06);
}

.article-section-chip:hover,
.published-article-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(76, 61, 28, 0.12);
}

.article-section-chip strong {
  color: var(--deep);
  font-weight: 900;
}

.article-section-chip small {
  color: var(--muted);
  line-height: 1.35;
}

.article-list-section {
  margin-top: 18px;
}

.article-list-heading {
  margin: 24px 4px 12px;
}

.published-article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.published-article-grid--featured {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.published-article-card {
  display: grid;
  grid-template-columns: minmax(160px, 0.42fr) minmax(0, 1fr);
  gap: 16px;
  min-height: 230px;
  padding: 14px;
  color: inherit;
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.published-article-media {
  min-height: 190px;
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  place-items: center;
  font-size: 4rem;
}

.published-article-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 10px;
  padding: 5px 3px;
}

.published-article-body strong {
  font-family: Fraunces, Georgia, serif;
  color: var(--deep);
  font-size: clamp(1.35rem, 2vw, 2.1rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.published-article-body small {
  color: #5c6555;
  line-height: 1.52;
  font-size: 0.96rem;
}

.published-article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
}

.published-article-tags em,
.article-tag-row span {
  border-radius: 999px;
  background: rgba(255, 246, 220, 0.86);
  color: #8a6b28;
  border: 1px solid rgba(181, 138, 46, 0.2);
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 900;
  padding: 6px 9px;
}

.article-empty-state h2 {
  margin-top: 0;
  font-family: Fraunces, Georgia, serif;
  color: var(--deep);
}

.article-detail-card {
  margin: 18px auto 0;
  max-width: 1120px;
  padding: clamp(24px, 4vw, 54px);
  overflow: hidden;
}

.article-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  color: #6f7062;
  font-size: 0.86rem;
  font-weight: 800;
  margin-bottom: 26px;
}

.article-breadcrumb a {
  color: #54662a;
}

.article-detail-header {
  display: grid;
  gap: 16px;
  max-width: 900px;
}

.article-detail-header h1 {
  font-size: clamp(2.8rem, 6vw, 6.4rem);
}

.article-dek {
  color: #4f5848;
  font-size: clamp(1.08rem, 1.9vw, 1.45rem);
  line-height: 1.55;
  margin: 0;
}

.article-hero-image,
.article-image {
  margin: 30px 0;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(91, 75, 38, 0.12);
  background: rgba(255, 253, 247, 0.68);
  box-shadow: var(--shadow-soft);
}

.article-hero-image img {
  max-height: 520px;
}

.article-hero-image figcaption,
.article-image figcaption {
  padding: 12px 16px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.article-content {
  color: #33402c;
  font-size: clamp(1rem, 1.45vw, 1.13rem);
  line-height: 1.72;
}

.article-content > *:first-child {
  margin-top: 0;
}

.article-content h2,
.article-content h3,
.article-content h4 {
  font-family: Fraunces, Georgia, serif;
  color: var(--deep);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.article-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.8rem);
  margin: 0 0 14px;
}

.article-content h3 {
  font-size: clamp(1.25rem, 2.1vw, 1.75rem);
  margin: 0 0 8px;
}

.article-content p {
  margin: 0 0 18px;
}

.article-content a {
  color: #4f6825;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.article-content ul,
.article-content ol {
  margin: 0 0 18px;
  padding-left: 1.4rem;
}

.article-content li + li {
  margin-top: 9px;
}

.article-section,
.article-intro,
.article-summary,
.article-faq,
.article-steps,
.article-checklist,
.article-pros-cons,
.article-comparison,
.article-sources,
.article-mistakes,
.article-verdict,
.article-empty-state-inline {
  border-radius: 24px;
  border: 1px solid rgba(91, 75, 38, 0.12);
  background: rgba(255, 253, 247, 0.56);
  padding: clamp(20px, 3vw, 32px);
  margin: 24px 0;
}

.article-summary {
  background:
    linear-gradient(135deg, rgba(214, 231, 213, 0.82), rgba(255, 253, 247, 0.72));
}

.article-summary ul,
.article-checklist ul {
  list-style: none;
  padding-left: 0;
}

.article-summary li,
.article-checklist li {
  position: relative;
  padding-left: 30px;
}

.article-summary li::before,
.article-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #61742c;
  font-weight: 1000;
}

.article-callout,
.article-cta,
.article-definition,
.article-stat,
.article-related,
.article-product-card {
  border-radius: 22px;
  border: 1px solid rgba(181, 138, 46, 0.2);
  background: rgba(255, 247, 224, 0.82);
  color: #3c442f;
  padding: clamp(18px, 2.4vw, 28px);
  margin: 24px 0;
  box-shadow: 0 10px 24px rgba(76, 61, 28, 0.07);
}

.article-callout--key {
  border-color: rgba(84, 102, 42, 0.22);
  background: rgba(224, 236, 211, 0.78);
}

.article-callout--warning {
  border-color: rgba(181, 99, 46, 0.22);
  background: rgba(255, 235, 212, 0.82);
}

.article-steps ol {
  display: grid;
  gap: 14px;
  padding-left: 1.2rem;
}

.article-steps li {
  padding-left: 8px;
}

.article-faq details,
.article-accordion details {
  border-radius: 16px;
  background: rgba(255, 253, 247, 0.74);
  border: 1px solid rgba(91, 75, 38, 0.1);
  padding: 14px 16px;
}

.article-faq details + details,
.article-accordion details + details {
  margin-top: 10px;
}

.article-faq summary,
.article-accordion summary {
  cursor: pointer;
  color: var(--deep);
  font-weight: 900;
}

.article-quote,
.article-pullquote,
.article-content blockquote {
  margin: 28px 0;
  border-left: 5px solid var(--gold);
  padding: 12px 0 12px 22px;
  color: #3f4b36;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.25;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  display: block;
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid rgba(91, 75, 38, 0.12);
  background: rgba(255, 253, 247, 0.72);
}

.article-content th,
.article-content td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(91, 75, 38, 0.1);
}

.article-content th {
  color: var(--deep);
  font-weight: 900;
  background: rgba(214, 231, 213, 0.55);
}

.article-button,
.article-content .article-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--olive-dark), #74872e);
  color: #fffdf0;
  padding: 10px 18px;
  text-decoration: none;
  font-weight: 1000;
}

.article-detail-footer {
  margin-top: 28px;
}

.article-next-step {
  margin-top: 32px;
  border-radius: 24px;
  padding: 22px;
  background:
    radial-gradient(circle at right, rgba(214, 231, 213, 0.74), transparent 48%),
    rgba(255, 253, 247, 0.68);
  border: 1px solid rgba(91, 75, 38, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.article-next-step strong {
  font-family: Fraunces, Georgia, serif;
  color: var(--deep);
  font-size: 1.35rem;
}

.article-next-step p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 1100px) {
  .published-article-grid,
  .published-article-grid--featured {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .article-index-hero,
  .published-article-card {
    grid-template-columns: 1fr;
  }

  .article-index-still-life {
    min-height: 160px;
  }

  .published-article-media {
    min-height: 170px;
  }

  .article-next-step {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .article-detail-card,
  .article-index-hero {
    padding: 22px;
  }

  .article-detail-header h1,
  .article-index-copy h1 {
    letter-spacing: -0.045em;
  }

  .article-feed-meta span,
  .article-detail-meta span {
    font-size: 0.72rem;
  }
}

/* Production feed freshness + site-specific Article Studio block polish */
.article-content--olive {
  --article-table-border: rgba(91, 75, 38, 0.14);
  --article-table-line: rgba(91, 75, 38, 0.1);
  --article-table-head: rgba(214, 231, 213, 0.82);
  --article-table-stripe: rgba(255, 248, 225, 0.58);
}

.article-content [data-block] {
  scroll-margin-top: 92px;
}

.article-table,
.article-content table {
  margin: 30px 0;
}

.article-table {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--article-table-border);
  background:
    radial-gradient(circle at top left, rgba(214, 231, 213, 0.72), transparent 34%),
    linear-gradient(135deg, rgba(255, 253, 247, 0.95), rgba(255, 246, 220, 0.86));
  box-shadow: 0 18px 40px rgba(76, 61, 28, 0.1);
}

.article-table figcaption,
.article-table-caption {
  padding: 14px 18px 0;
  color: #6d704f;
  font-size: 0.9rem;
  font-weight: 800;
}

.article-table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.article-table .article-table__table,
.article-content table {
  width: 100%;
  min-width: 620px;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  background: transparent;
  box-shadow: none;
}

.article-content > table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 24px;
  border: 1px solid var(--article-table-border);
  background:
    radial-gradient(circle at top left, rgba(214, 231, 213, 0.72), transparent 34%),
    linear-gradient(135deg, rgba(255, 253, 247, 0.95), rgba(255, 246, 220, 0.86));
  box-shadow: 0 18px 40px rgba(76, 61, 28, 0.1);
}

.article-table th,
.article-table td,
.article-content table th,
.article-content table td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--article-table-line);
  vertical-align: top;
}

.article-table th,
.article-content table th {
  color: var(--deep);
  background: var(--article-table-head);
  font-family: Fraunces, Georgia, serif;
  font-size: 1.02rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.article-table td,
.article-content table td {
  color: #34442e;
  line-height: 1.52;
}

.article-table tbody tr:nth-child(even),
.article-content table tbody tr:nth-child(even) {
  background: var(--article-table-stripe);
}

.article-table tbody tr:last-child td,
.article-content table tbody tr:last-child td {
  border-bottom: 0;
}

.article-table td:first-child,
.article-content table td:first-child {
  font-weight: 900;
  color: #263c1e;
}

.article-content .article-callout[data-block],
.article-content .article-cta[data-block],
.article-content .article-definition[data-block],
.article-content .article-stat[data-block],
.article-content .article-related[data-block],
.article-content .article-product-card[data-block] {
  position: relative;
  overflow: hidden;
}

.article-content .article-callout[data-block]::before,
.article-content .article-cta[data-block]::before,
.article-content .article-definition[data-block]::before,
.article-content .article-stat[data-block]::before,
.article-content .article-related[data-block]::before,
.article-content .article-product-card[data-block]::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, #70853a, #d8bc6b);
}

.article-content .article-verdict {
  background:
    radial-gradient(circle at right, rgba(214, 231, 213, 0.78), transparent 42%),
    rgba(255, 253, 247, 0.72);
}

@media (max-width: 720px) {
  .article-table .article-table__table,
  .article-content table {
    min-width: 560px;
  }

  .article-table th,
  .article-table td,
  .article-content table th,
  .article-content table td {
    padding: 13px 14px;
  }
}

.article-table .article-table__table {
  display: table;
}

.article-content > table {
  display: block;
}

.article-code,
.article-content pre {
  overflow-x: auto;
  border-radius: 20px;
  border: 1px solid rgba(91, 75, 38, 0.14);
  background: #25341f;
  color: #fff7df;
  padding: 18px 20px;
  box-shadow: 0 16px 32px rgba(39, 52, 31, 0.16);
}

.article-code code,
.article-content pre code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.92rem;
  line-height: 1.58;
}

/* Iteration 8: full Article Studio block beauty for myoliveoils */
.article-content--olive {
  --block-paper: rgba(255, 253, 247, 0.78);
  --block-cream: rgba(255, 248, 228, 0.86);
  --block-sage: rgba(224, 236, 211, 0.78);
  --block-gold: rgba(216, 188, 107, 0.42);
  --block-line: rgba(91, 75, 38, 0.12);
  --block-shadow: 0 18px 40px rgba(76, 61, 28, 0.09);
}

.article-content .article-intro,
.article-content .article-section,
.article-content .article-summary,
.article-content .article-toc,
.article-content .article-faq,
.article-content .article-steps,
.article-content .article-checklist,
.article-content .article-pros-cons,
.article-content .article-comparison,
.article-content .article-sources,
.article-content .article-mistakes,
.article-content .article-verdict,
.article-content .article-accordion {
  position: relative;
  overflow: hidden;
  box-shadow: var(--block-shadow);
}

.article-content .article-section::before,
.article-content .article-summary::before,
.article-content .article-steps::before,
.article-content .article-checklist::before,
.article-content .article-faq::before,
.article-content .article-verdict::before,
.article-content .article-comparison::before,
.article-content .article-pros-cons::before,
.article-content .article-mistakes::before,
.article-content .article-sources::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #556b2f, #d8bc6b, rgba(255, 255, 255, 0));
}

.article-content .article-intro {
  background:
    radial-gradient(circle at right, rgba(214, 231, 213, 0.74), transparent 44%),
    rgba(255, 253, 247, 0.68);
}

.article-content .article-intro .article-dek,
.article-content .article-dek {
  color: #4f5a47;
  font-size: clamp(1.12rem, 2vw, 1.45rem);
  line-height: 1.55;
}

.article-content .article-toc {
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.9), rgba(231, 240, 223, 0.72));
}

.article-content .article-toc ol,
.article-content .article-related ul,
.article-content .article-sources ol {
  display: grid;
  gap: 10px;
  margin-bottom: 0;
}

.article-content .article-toc a,
.article-content .article-related a,
.article-content .article-sources a {
  text-decoration: none;
}

.article-content .article-list[data-block],
.article-content .article-summary ul,
.article-content .article-checklist-list {
  display: grid;
  gap: 10px;
}

.article-content .article-list[data-block] {
  margin: 22px 0;
  border-radius: 22px;
  border: 1px solid var(--block-line);
  background: var(--block-paper);
  padding: 22px 22px 22px 42px;
  box-shadow: var(--block-shadow);
}

.article-content .article-list--bullets li::marker {
  color: #6f7f31;
}

.article-content .article-list--numbered li::marker,
.article-content .article-steps li::marker {
  color: #8a6b20;
  font-family: Fraunces, Georgia, serif;
  font-weight: 900;
}

.article-content .article-image {
  overflow: hidden;
  margin: 30px 0;
  border-radius: 28px;
  border: 1px solid var(--block-line);
  background: rgba(255, 253, 247, 0.78);
  box-shadow: 0 22px 48px rgba(76, 61, 28, 0.13);
}


.article-content .article-image.article-image--wide {
    margin-left: clamp(-1.5rem, -2vw, -0.5rem);
    margin-right: clamp(-1.5rem, -2vw, -0.5rem);
}

.article-content .article-image.article-image--wide img {
    min-height: min(420px, 62vw);
    object-fit: cover;
}

.article-content .article-image img,
.article-content .article-product-card img {
  display: block;
  width: 100%;
  height: auto;
}

.article-content .article-image figcaption {
  padding: 14px 18px 16px;
  color: #6d704f;
  font-size: 0.9rem;
  font-weight: 800;
}

.article-content .article-callout {
  padding-left: clamp(24px, 3vw, 34px);
}

.article-content .article-callout--key {
  background:
    radial-gradient(circle at right, rgba(244, 232, 174, 0.42), transparent 44%),
    rgba(224, 236, 211, 0.86);
}

.article-content .article-callout--warning {
  background:
    radial-gradient(circle at right, rgba(255, 205, 156, 0.42), transparent 44%),
    rgba(255, 237, 218, 0.9);
}

.article-content .article-steps ol {
  counter-reset: article-steps;
  list-style: none;
  padding-left: 0;
}

.article-content .article-steps li {
  position: relative;
  padding: 18px 18px 18px 58px;
  border-radius: 18px;
  border: 1px solid rgba(91, 75, 38, 0.1);
  background: rgba(255, 253, 247, 0.66);
}

.article-content .article-steps li::before {
  counter-increment: article-steps;
  content: counter(article-steps);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #556b2f, #87983a);
  color: #fffbea;
  font-weight: 1000;
}

.article-content .article-pros-cons-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.article-content .article-pros-cons-grid > div {
  border-radius: 20px;
  border: 1px solid rgba(91, 75, 38, 0.1);
  background: rgba(255, 253, 247, 0.68);
  padding: 18px;
}

.article-content .article-cta {
  display: grid;
  gap: 10px;
  background:
    radial-gradient(circle at right, rgba(224, 236, 211, 0.92), transparent 48%),
    linear-gradient(135deg, rgba(255, 253, 247, 0.96), rgba(255, 246, 220, 0.88));
}

.article-content .article-definition h3 {
  margin-top: 0;
}

.article-content .article-related,
.article-content .article-sources {
  background: rgba(255, 253, 247, 0.74);
}

.article-content .article-product-card {
  display: grid;
  grid-template-columns: minmax(120px, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(16px, 2.8vw, 28px);
  align-items: center;
}

.article-content .article-product-card figure {
  overflow: hidden;
  margin: 0;
  border-radius: 20px;
  border: 1px solid rgba(91, 75, 38, 0.12);
  background: rgba(255, 253, 247, 0.78);
}

.article-content .article-product-card h3 {
  margin-top: 0;
}

.article-content .article-embed {
  position: relative;
  margin: 30px 0;
  min-height: 220px;
  display: grid;
  place-items: center;
  border-radius: 26px;
  border: 1px dashed rgba(91, 75, 38, 0.22);
  background:
    radial-gradient(circle at center, rgba(214, 231, 213, 0.82), transparent 48%),
    rgba(255, 253, 247, 0.72);
  color: #59624e;
  text-align: center;
  padding: 24px;
}

.article-content .article-stat {
  text-align: center;
  background:
    radial-gradient(circle at top, rgba(214, 231, 213, 0.92), transparent 55%),
    rgba(255, 253, 247, 0.86);
}

.article-content .article-stat__number {
  margin: 0;
  color: var(--deep);
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(2.6rem, 8vw, 5.5rem);
  font-weight: 900;
  line-height: 0.95;
}

.article-content .article-stat__label {
  margin: 8px auto 10px;
  max-width: 58ch;
  color: #4e5b43;
  font-weight: 800;
}

.article-content .article-stat__source {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.article-content .article-mistakes ul {
  list-style: none;
  padding-left: 0;
}

.article-content .article-mistakes li {
  border-radius: 18px;
  border: 1px solid rgba(181, 99, 46, 0.15);
  background: rgba(255, 239, 219, 0.64);
  padding: 16px 18px;
}

.article-content .article-mistakes li + li {
  margin-top: 12px;
}

.article-content .article-verdict {
  border-color: rgba(84, 102, 42, 0.22);
  background:
    radial-gradient(circle at right, rgba(214, 231, 213, 0.9), transparent 42%),
    linear-gradient(135deg, rgba(255, 253, 247, 0.94), rgba(244, 238, 205, 0.76));
}

@media (max-width: 760px) {
  .article-content .article-pros-cons-grid,
  .article-content .article-product-card {
    grid-template-columns: 1fr;
  }

  .article-content .article-steps li {
    padding-left: 52px;
  }
}


/* Bug sweep: complete Article Studio block coverage for headings, paragraphs, and math/equation snippets */
.article-content .article-heading[data-block] {
  scroll-margin-top: 92px;
}

.article-content .article-heading--h2 {
  margin-top: 34px;
  color: var(--deep);
  font-family: Fraunces, Georgia, serif;
  letter-spacing: -0.035em;
}

.article-content .article-heading--h3 {
  margin-top: 26px;
  color: #34442e;
  font-family: Fraunces, Georgia, serif;
  letter-spacing: -0.02em;
}

.article-content .article-paragraph[data-block] {
  color: #4d5845;
  line-height: 1.78;
}

.article-content .article-equation {
  margin: 26px 0;
  border-radius: 22px;
  border: 1px solid rgba(91, 75, 38, 0.13);
  background:
    radial-gradient(circle at right, rgba(214, 231, 213, 0.72), transparent 48%),
    rgba(255, 253, 247, 0.76);
  color: #33442d;
  padding: 18px 20px;
  overflow-x: auto;
  box-shadow: 0 14px 30px rgba(76, 61, 28, 0.08);
}

.article-content .article-equation--inline {
  display: block;
}

.article-content .article-equation--display {
  font-size: 1.02rem;
}
