/* ===== Design tokens ===== */
:root {
  --bg: #fbf8f1;
  --bg-tint: #f4eddc;
  --surface: #ffffff;
  --text: #2b2418;
  --muted: #6e6352;
  --line: #e4dac4;
  --turmeric: #e3a018;
  --turmeric-deep: #c4790a;
  --leaf: #3f5f3a;
  --leaf-dark: #2d4529;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(60, 45, 15, 0.08);
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: var(--leaf); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 6vw, 4rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
h3 { font-size: 1.35rem; }
h3 small { font-family: var(--font-body); font-size: .8rem; color: var(--muted); font-weight: 500; }

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.container.narrow { width: min(760px, 100% - 32px); }

.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: .75rem;
  font-weight: 600; color: var(--turmeric-deep); margin: 0 0 .6rem;
}
.section { padding: clamp(56px, 9vw, 104px) 0; }
.section-tint { background: var(--bg-tint); }
.section-intro { color: var(--muted); max-width: 62ch; margin: 0 0 2.5rem; font-size: 1.05rem; }
.note { color: var(--muted); font-size: .85rem; margin-top: 2rem; }
.muted { color: var(--muted); }

/* ===== Buttons ===== */
.btn {
  display: inline-block; border: 0; cursor: pointer;
  background: var(--leaf); color: #fff; text-decoration: none;
  padding: .85rem 1.5rem; border-radius: 999px;
  font: 600 1rem var(--font-body); transition: background .2s, transform .2s;
}
.btn:hover { background: var(--leaf-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 2px var(--text); }
.btn-ghost:hover { background: var(--text); color: var(--bg); }
.btn-small { padding: .5rem 1rem; font-size: .9rem; color: #fff !important; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(251, 248, 241, .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; color: var(--text); text-decoration: none; }
.logo span { color: var(--turmeric-deep); }
.nav-links { display: flex; gap: 1.6rem; align-items: center; }
.nav-links a { color: var(--text); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--turmeric-deep); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--text); }

/* ===== Hero ===== */
.hero {
  padding: clamp(80px, 14vw, 160px) 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(227, 160, 24, .35), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(63, 95, 58, .18), transparent 40%),
    var(--bg);
}
.hero-inner { max-width: 780px; margin-left: max(16px, (100% - 1120px) / 2); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 58ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

/* ===== Photo placeholders ===== */
.photo { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.ph-yellow { background: linear-gradient(135deg, #f6c445, #d98d10); }
.ph-orange { background: linear-gradient(135deg, #f08a24, #b2500b); }
.ph-dark   { background: linear-gradient(135deg, #3d3a5c, #1c1a2b); }
.ph-cream  { background: linear-gradient(135deg, #f2e2b0, #d9be72); }
.ph-green  { background: linear-gradient(135deg, #6f8f55, #2d4529); }

/* ===== Varieties ===== */
.variety-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 28px; }
.variety { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.variety .photo { border-radius: 0; aspect-ratio: 16 / 9; }
.variety-body { padding: 24px 26px 28px; }
.botanical { color: var(--turmeric-deep); margin: -.3rem 0 .8rem; font-size: .9rem; }
.facts { list-style: none; padding: 0; margin: 1.2rem 0 0; border-top: 1px solid var(--line); }
.facts li { display: flex; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.facts span { width: 110px; flex-shrink: 0; color: var(--muted); }

/* ===== Curcumin table ===== */
.table-wrap { overflow-x: auto; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
.curcumin-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.curcumin-table th, .curcumin-table td { padding: 1rem 1.2rem; text-align: left; border-bottom: 1px solid var(--line); }
.curcumin-table th { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.curcumin-table tr:last-child td { border-bottom: 0; }
.pending { color: var(--muted); font-style: italic; }

/* ===== Gallery ===== */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery .photo { aspect-ratio: 4 / 3; background: var(--bg-tint); }
.gallery .big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.video-wrap {
  position: relative; margin-top: 24px; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 16 / 9; background: linear-gradient(135deg, #2d4529, #1c1a14) center / cover;
}
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-play {
  position: absolute; inset: 0; width: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px; cursor: pointer;
  background: rgba(0, 0, 0, .25); border: 0; color: #fff; font: 600 1rem var(--font-body);
}
.yt-icon {
  width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
  background: var(--turmeric); color: var(--text); font-size: 1.6rem; padding-left: 5px;
  transition: transform .2s;
}
.yt-play:hover .yt-icon { transform: scale(1.08); }
.yt-channel { margin-top: 14px; font-weight: 500; }

/* ===== Promises ===== */
.promises { background: var(--leaf); color: #f3efe2; padding: 36px 0; }
.promise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.promise h3 { font-size: 1.1rem; margin: .4rem 0 .2rem; color: #fff; }
.promise p { margin: 0; font-size: .9rem; color: #d6dccb; }
.promise-icon { font-size: 1.6rem; }

/* ===== Story ===== */
.story-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
.story-photo { aspect-ratio: 4 / 5; }

/* ===== Forms ===== */
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(20px, 4vw, 36px); }
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 6px; font-weight: 500; font-size: .92rem; }
.form small { color: var(--muted); font-weight: 400; }
.form input, .form textarea {
  font: inherit; color: var(--text); background: var(--bg);
  border: 1px solid var(--line); border-radius: 10px; padding: .7rem .85rem; width: 100%;
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--turmeric); outline-offset: 1px; border-color: transparent; }
fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px 16px; margin: 0; }
legend { font-weight: 600; padding: 0 6px; font-size: .92rem; }
.qty-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.qty { font-size: .85rem !important; }
.form .radio { display: flex; align-items: center; gap: 10px; font-weight: 400; padding: 4px 0; }
.form .radio input { width: auto; accent-color: var(--leaf); }
.form .btn { justify-self: start; }
.form-status { margin: 0; font-size: .92rem; min-height: 1.2em; }
.form-status.ok { color: var(--leaf); }
.form-status.err { color: #b3261e; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .6rem; }

/* ===== Footer ===== */
.site-footer { background: var(--text); color: #efe6d2; padding: 40px 0; text-align: center; }
.site-footer p { margin: .3rem 0; }
.site-footer .muted { color: #b5a98f; font-size: .9rem; }
.footer-logo { font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; }
.footer-logo span { color: var(--turmeric); font-weight: 500; margin-left: .4rem; }

/* ===== Responsive ===== */
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 1rem;
    background: var(--bg); padding: 20px 16px; border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .contact-grid, .story-grid { grid-template-columns: 1fr; gap: 28px; }
  .promise-grid { grid-template-columns: 1fr 1fr; }
  .story-photo { aspect-ratio: 4 / 3; }
  .qty-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery .big { grid-row: auto; aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  .form .row { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery .big { grid-column: auto; }
}

/* ===== Literature pages ===== */
.read-more { display: inline-block; margin-top: 1.2rem; font-weight: 600; text-decoration: none; color: var(--leaf); }
.read-more:hover { color: var(--turmeric-deep); }
.nav-simple { display: flex; gap: 1.2rem; align-items: center; }
.nav-simple a:not(.btn) { color: var(--text); text-decoration: none; font-weight: 500; font-size: .95rem; }

.article-hero {
  padding: clamp(40px, 7vw, 80px) 0 clamp(28px, 4vw, 40px);
  background: radial-gradient(circle at 85% 10%, rgba(227, 160, 24, .3), transparent 45%), var(--bg);
}
.article-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.article-hero h1 small { font-family: var(--font-body); font-size: .45em; color: var(--muted); font-weight: 500; }
.breadcrumb { font-size: .85rem; color: var(--muted); margin: 0 0 1rem; }
.breadcrumb a { color: var(--muted); }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; padding-bottom: 72px; }
.article-photo { aspect-ratio: 16 / 9; margin-bottom: 8px; }
.article section { padding-top: 12px; }
.article h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); margin-top: 1.6rem; }
.article ul, .article ol { padding-left: 1.2rem; }
.article li { margin-bottom: .5rem; }
.callout {
  background: var(--bg-tint); border-left: 4px solid var(--turmeric);
  border-radius: 0 10px 10px 0; padding: 14px 18px; margin: 1.2rem 0;
}
.callout p { margin: .4rem 0; }
.refs { color: var(--muted); font-size: .92rem; }

.article-aside { position: sticky; top: 88px; display: grid; gap: 20px; }
.facts-box h3, .toc h3 { font-size: 1.1rem; }
.facts-box .facts { margin-bottom: 1.4rem; }
.facts-box .facts span { width: 100px; }
.facts-box .btn { width: 100%; text-align: center; }
.toc ol { margin: 0; padding-left: 1.2rem; font-size: .92rem; }
.toc li { margin-bottom: .35rem; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--turmeric-deep); }

.other-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 1.5rem; }
.other-card {
  display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow); color: var(--text); text-decoration: none; font-weight: 600;
}
.other-card:hover { color: var(--turmeric-deep); }
.other-swatch { width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0; }

@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; gap: 28px; }
  .article-aside { position: static; order: -1; }
  .toc { display: none; }
  .other-grid { grid-template-columns: 1fr; }
}
