/* ===== Tokens ===== */
:root {
  --forest: #10251B;
  --cream: #F4F0E3;
  --turmeric: #E8A900;
  --brown: #56351F;
  --warm: #F5F1E5;
  --ink: #1B2A20;
  --muted: #5B6659;
  --line: #D9D3BF;
  --font-head: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Newsreader', Georgia, 'Times New Roman', serif;
  --space: clamp(64px, 9vw, 112px);
  --radius: 16px;
  --max: 1120px;
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 19px/1.65 var(--font-body); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 16px; }
h1 { font-size: clamp(40px, 6.4vw, 76px); }
h2 { font-size: clamp(30px, 4.2vw, 46px); }
h3 { font-size: 22px; }
p { margin: 0 0 1em; max-width: 62ch; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--turmeric); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--turmeric); color: var(--forest); padding: 10px 16px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 8px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--space) 0; }
.section--warm { background: var(--warm); }
.section--dark { background: var(--forest); color: var(--warm); }
.section--dark p { color: #D3D9C9; }
.lede { font-size: 22px; color: var(--muted); }

/* ===== Buttons ===== */
.btn { display: inline-block; font: 700 16px var(--font-head); padding: 14px 26px; border-radius: 999px; background: var(--turmeric); color: var(--forest); text-decoration: none; border: 2px solid var(--turmeric); cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.btn:hover { background: var(--forest); color: var(--turmeric); border-color: var(--forest); }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn--ghost:hover { background: var(--forest); color: var(--warm); border-color: var(--forest); }
.section--dark .btn:hover { background: var(--warm); color: var(--forest); border-color: var(--warm); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--cream); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font: 700 19px var(--font-head); text-decoration: none; color: var(--forest); }
.brand img { width: 36px; height: 36px; }
.nav__list { display: flex; gap: 26px; font: 500 15px var(--font-head); }
.nav__list a { text-decoration: none; color: var(--muted); transition: color .2s; }
.nav__list a:hover, .nav__list a:focus-visible { color: var(--forest); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--forest); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 24px; height: 2px; background: currentColor; position: relative; transition: transform .2s, background .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { padding: clamp(40px, 6vw, 80px) 0 var(--space); }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero__media img { border-radius: var(--radius); width: 100%; }

/* ===== About ===== */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about__media img { border-radius: var(--radius); width: 100%; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; }
.pair h3 { color: var(--brown); font-size: 20px; margin-bottom: 6px; }
.pair p { font-size: 17px; margin: 0; }

/* ===== Products ===== */
.products__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; margin-top: 40px; }
.product { background: var(--warm); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.product img { width: 100%; background: #fff; }
.product__body { padding: 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.product__body h3 { font-size: 28px; margin: 0; }
.product__body p { margin: 0; font-size: 17px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font: 500 13px var(--font-head); padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--cream); }
.product__meta { font: 500 15px var(--font-head); color: var(--brown); }
.product .btn { margin-top: auto; align-self: flex-start; padding: 11px 22px; font-size: 15px; }

/* ===== How we grow ===== */
.grow__banner { margin: 40px 0; }
.grow__banner img { width: 100%; border-radius: var(--radius); }
.grow__banner figcaption { font-size: 16px; color: #B8C2AE; margin-top: 10px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 3px solid var(--turmeric); padding-top: 16px; }
.steps li::before { content: counter(step); display: block; font: 700 34px/1 var(--font-head); color: var(--turmeric); margin-bottom: 8px; }
.steps h3 { font-size: 21px; margin-bottom: 6px; }
.steps p { font-size: 17px; margin: 0; }

/* ===== Quality ===== */
.quality__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 28px; margin-top: 36px; }
.quality__grid h3 { color: var(--brown); font-size: 20px; margin-bottom: 6px; }
.quality__grid p { font-size: 17px; margin: 0; }
.quality__grid li { border-left: 3px solid var(--turmeric); padding-left: 16px; }

/* ===== Gallery ===== */
.gallery { columns: 3 280px; column-gap: 16px; margin-top: 36px; }
.gallery__item { display: block; break-inside: avoid; margin: 0 0 16px; border-radius: 12px; overflow: hidden; background: var(--warm); }
.gallery__item img { width: 100%; transition: transform .4s; }
.gallery__item:hover img { transform: scale(1.03); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(94vw, 1100px); width: 100%; }
.lightbox::backdrop { background: rgba(8, 18, 12, .88); }
.lightbox img { width: 100%; max-height: 82vh; object-fit: contain; border-radius: 8px; }
.lightbox p { color: #fff; text-align: center; margin: 10px auto 0; font-size: 16px; }
.lightbox__close { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--turmeric); color: var(--forest); font: 700 22px var(--font-head); cursor: pointer; }

/* ===== Contact ===== */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.contact address { font-style: normal; margin: 20px 0; }
.contact address a { text-decoration: underline; text-underline-offset: 3px; }
.map { margin-top: 24px; border: 0; width: 100%; height: 240px; border-radius: 12px; }
.form { display: grid; gap: 16px; }
.form label { display: block; font: 500 15px var(--font-head); margin-bottom: 6px; }
.form input, .form textarea { width: 100%; font: 17px var(--font-body); padding: 12px 14px; border-radius: 10px; border: 1px solid #4B6B57; background: rgba(255, 255, 255, .08); color: var(--warm); }
.form textarea { min-height: 120px; resize: vertical; }
.form input:invalid:not(:placeholder-shown), .form textarea:invalid:not(:placeholder-shown) { border-color: #E57373; }
.form__status { min-height: 1.5em; font-size: 16px; margin: 0; }
.hp { position: absolute; left: -999px; }

/* ===== Footer ===== */
.site-footer { background: var(--brown); color: #EBE3CF; padding: 56px 0 28px; font-size: 16px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.site-footer h3 { font-size: 16px; color: var(--turmeric); margin-bottom: 10px; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer p { font-size: 16px; }
.footer__base { border-top: 1px solid rgba(255, 255, 255, .18); margin-top: 32px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ===== Back to top ===== */
.to-top { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--turmeric); color: var(--forest); font: 700 20px var(--font-head); cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 9; }
.to-top.is-visible { opacity: 1; pointer-events: auto; }

/* ===== Simple pages (404, privacy) ===== */
.page { padding: var(--space) 0; min-height: 60vh; }
.page h1 { font-size: clamp(34px, 5vw, 56px); }
.page h2 { font-size: 26px; margin-top: 32px; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero__grid, .about__grid, .contact__grid { grid-template-columns: 1fr; gap: 36px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 18px; }
  .nav-toggle { display: block; }
  .nav__list { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--cream); border-bottom: 1px solid var(--line); padding: 8px 24px 16px; }
  .nav__list.is-open { display: flex; }
  .nav__list a { display: block; padding: 12px 0; font-size: 17px; }
  .pair, .steps, .footer__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
