:root {
  --bg: #0d090b;
  --bg-soft: #171014;
  --text: #f5efe8;
  --muted: #baaea5;
  --line: rgba(245,239,232,.14);
  --accent: #d9f06f;
  --accent-2: #bde45b;
  --warm: #b66b35;
  --max: 1220px;
  --radius: 12px;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --header-bg: rgba(13, 9, 11, .82);
  --nav-text: #ddd2ca;
  --heading: #f5efe8;
  --input-bg: rgba(255,255,255,.025);
  --panel-bg: rgba(255,255,255,.018);
  --frame-bg: #110d0f;
  --selection-text: #0d090b;
  --backdrop-bg: rgba(13,9,11,.88);
}

:root[data-theme="light"] {
  --bg: #f5f0e8;
  --bg-soft: #ebe3d8;
  --text: #1d2119;
  --muted: #5e645b;
  --line: rgba(29,33,25,.14);
  --accent: #5f7617;
  --accent-2: #78921f;
  --warm: #a65e2d;
  --header-bg: rgba(245,240,232,.86);
  --nav-text: #3f453c;
  --heading: #1d2119;
  --input-bg: rgba(29,33,25,.035);
  --panel-bg: rgba(29,33,25,.035);
  --frame-bg: #e9e1d6;
  --selection-text: #f5f0e8;
  --backdrop-bg: rgba(245,240,232,.9);
}


* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 12%, rgba(115,23,52,.15), transparent 26rem),
    radial-gradient(circle at 85% 55%, rgba(67,86,29,.11), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
}
::selection { background: var(--accent); color: var(--selection-text); }
img { display: block; width: 100%; height: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }

.section-shell { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 18px max(24px, calc((100vw - var(--max)) / 2));
  background: var(--header-bg);
  border-bottom: 1px solid rgba(245,239,232,.08);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; text-transform: none; font-weight: 700; letter-spacing: -.02em; min-width: 0; }
.brand-name { font-size: .82rem; line-height: 1.15; max-width: 250px; }
.brand-mark { width: 25px; height: 25px; position: relative; display: inline-block; }
.brand-mark span { position: absolute; width: 9px; height: 14px; border: 1.5px solid var(--accent); border-radius: 100% 0 100% 0; transform: rotate(35deg); }
.brand-mark span:nth-child(1) { left: 1px; bottom: 1px; }
.brand-mark span:nth-child(2) { left: 8px; top: 2px; transform: rotate(75deg); }
.brand-mark span:nth-child(3) { right: 0; bottom: 1px; transform: rotate(-10deg); }
.nav { display: flex; gap: 18px; align-items: center; font-size: .88rem; color: var(--nav-text); }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--accent); }
.nav-cta { border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px; }
.theme-toggle { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); background: var(--panel-bg); color: var(--nav-text); border-radius: 999px; padding: 8px 11px; cursor: pointer; transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease; }
.theme-toggle:hover { transform: translateY(-1px); border-color: rgba(95,118,23,.48); color: var(--accent); }
.theme-icon { font-size: .95rem; line-height: 1; }
.theme-icon-moon { display: none; }
.theme-label { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
:root[data-theme="light"] .theme-icon-sun { display: none; }
:root[data-theme="light"] .theme-icon-moon { display: inline; }
:root[data-theme="light"] .theme-toggle { background: rgba(29,33,25,.05); }
.menu-toggle { display: none; background: transparent; border: 0; padding: 6px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 1px; margin: 5px 0; background: var(--text); }

.hero { display: grid; grid-template-columns: 1.02fr .98fr; gap: 48px; align-items: center; min-height: 86vh; padding-block: 60px 90px; }
.eyebrow, .section-kicker, .index, .image-note span, .hero-meta, .stat-grid span, .signal-card span, .signal-area-body > span { color: #a69990; font-size: .71rem; letter-spacing: .19em; text-transform: uppercase; }
.hero h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; line-height: .98; }
.hero h1 { font-size: clamp(3.7rem, 8vw, 7.1rem); margin: 18px 0 24px; max-width: 9ch; }
h2 { font-size: clamp(2.4rem, 5vw, 4.3rem); margin: 10px 0 18px; }
h3 { margin: 8px 0 10px; font-size: 1.9rem; }
em { font-style: italic; color: var(--heading); }
.hero-lede { max-width: 640px; color: var(--muted); font-size: 1.06rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; border-radius: 999px; padding: 12px 19px; text-decoration: none; border: 1px solid var(--line); font-weight: 650; font-size: .88rem; cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: #13100b; border-color: var(--accent); }
.button-primary:hover { background: #ecfb92; }
.button-ghost { background: rgba(255,255,255,.02); }
.button-ghost:hover { background: rgba(255,255,255,.06); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-top: 50px; }
.hero-meta strong { color: var(--accent); margin-right: 7px; }

.frame { position: relative; overflow: hidden; border: 1px solid var(--line); background: var(--frame-bg); border-radius: var(--radius); }
.frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.28)); pointer-events: none; }
.frame img { object-fit: cover; object-position: center; }
.frame-hero { aspect-ratio: 4 / 5; max-height: 760px; }
.frame-wide { aspect-ratio: 4 / 3; }
.hero-media img { object-position: center 48%; }
.image-note { position: absolute; z-index: 2; bottom: 18px; left: 18px; right: 18px; display: flex; justify-content: space-between; gap: 18px; align-items: end; }
.image-note strong { font-family: var(--serif); font-size: 1.1rem; font-weight: 400; }

.intro { padding-block: 115px; border-top: 1px solid var(--line); }
.intro-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; margin-top: 18px; }
.intro h2 { font-size: clamp(3rem, 6vw, 5.2rem); }
.large-copy { font-size: 1.12rem; color: var(--muted); max-width: 650px; }
.text-link { display: inline-flex; gap: 10px; margin-top: 18px; color: var(--accent); text-decoration: none; font-weight: 650; }

.about { display: grid; grid-template-columns: .95fr 1.05fr; gap: 70px; align-items: center; padding-block: 90px 115px; border-top: 1px solid var(--line); }
.about-copy { max-width: 600px; }
.about-copy > p { color: var(--muted); font-size: 1.02rem; }
.about-profile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 30px; }
.about-profile-card { min-width: 0; }
.about-profile-photo { aspect-ratio: 4 / 3; }
.about-profile-photo img { object-position: center; }
.about-profile-body { padding: 15px 15px 18px; border: 1px solid var(--line); border-top: 0; background: rgba(255,255,255,.012); min-height: 165px; }
.about-profile-body > span { display: block; color: #a69990; font-size: .66rem; letter-spacing: .15em; text-transform: uppercase; }
.about-profile-body h3 { margin: 8px 0 4px; font-size: 1.35rem; }
.about-profile-body p { margin: 0; color: var(--text); font-size: .84rem; }
.about-profile-body small { display: block; margin-top: 8px; color: var(--muted); line-height: 1.45; }

.feature-band { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: center; padding-block: 80px; border-top: 1px solid var(--line); }
.feature-band-reverse { grid-template-columns: .8fr 1.2fr; }
.feature-band-reverse .feature-copy { order: -1; }
.feature-copy { max-width: 460px; }
.feature-copy p, .command-copy p, .yield-copy > p, .signals-intro > p { color: var(--muted); }
.feature-copy h2 { font-size: clamp(2.7rem, 4.5vw, 4.2rem); }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 30px; }
.stat-grid > div, .signal-card > div { padding: 16px; border: 1px solid var(--line); background: var(--panel-bg); }
.stat-grid strong { display: block; margin-top: 6px; font-family: var(--serif); font-size: 1.12rem; font-weight: 400; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.chip-row span { border: 1px solid var(--line); border-radius: 999px; padding: 7px 11px; color: #d9ccc2; font-size: .8rem; }

.signals { padding-block: 105px 115px; border-top: 1px solid var(--line); }
.signals-intro { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: end; }
.signals-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 45px; }
.signal-area-photo { aspect-ratio: 4 / 3; }
.signal-area-photo img { object-position: center; }
.signal-area-body { padding: 20px 20px 22px; border: 1px solid var(--line); border-top: 0; background: rgba(255,255,255,.012); min-height: 215px; }
.signal-area-body p { margin: 0; color: var(--muted); }
.signals-note { margin: 20px 0 0; color: #8d8179; font-size: .8rem; }

.command { display: grid; grid-template-columns: .95fr 1.05fr; gap: 70px; align-items: center; padding-block: 110px; border-top: 1px solid var(--line); }
.command-copy h2 { font-size: clamp(3rem, 6vw, 5rem); }
.signal-card { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 34px; }
.signal-card strong { display: block; margin-top: 5px; font-size: 1rem; font-weight: 600; }

.yield { display: grid; grid-template-columns: .95fr 1.05fr; gap: 70px; align-items: start; padding-block: 110px 130px; border-top: 1px solid var(--line); }
.yield-media { position: sticky; top: 100px; }
.grower-form { margin-top: 30px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grower-form label { display: grid; gap: 7px; margin-bottom: 12px; color: #cbbeb5; font-size: .8rem; }
input, textarea { width: 100%; border: 1px solid var(--line); background: var(--input-bg); color: var(--text); padding: 12px 13px; border-radius: 7px; outline: none; }
input:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(217,240,111,.08); }
textarea { resize: vertical; }
.grower-form .button { margin-top: 5px; }
.form-status { min-height: 1.5em; color: var(--accent); font-size: .86rem; margin: 10px 0 0; }

.back-to-top { position: fixed; right: 22px; bottom: 22px; z-index: 35; display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); background: var(--backdrop-bg); color: var(--text); border-radius: 999px; padding: 10px 13px; cursor: pointer; opacity: 0; transform: translateY(15px); pointer-events: none; transition: opacity .2s ease, transform .2s ease, background .2s ease; backdrop-filter: blur(14px); }
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: rgba(217,240,111,.12); border-color: rgba(217,240,111,.35); }
.back-to-top > span:first-child { color: var(--accent); font-size: 1rem; line-height: 1; }
.back-to-top-label { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }

.site-footer { border-top: 1px solid var(--line); padding-block: 30px 36px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-top p { color: var(--muted); max-width: 580px; margin: 0; font-size: .92rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 35px; padding-top: 18px; border-top: 1px solid var(--line); color: #81756e; font-size: .76rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--accent); }

@media (max-width: 1050px) {
  .nav { position: absolute; right: 24px; top: 70px; width: min(340px, calc(100vw - 48px)); display: none; flex-direction: column; align-items: stretch; padding: 15px; background: var(--header-bg); border: 1px solid var(--line); border-radius: 12px; }
  .nav.open { display: flex; }
  .nav a { padding: 10px; }
  .menu-toggle { display: block; }
  .hero, .intro-grid, .about, .feature-band, .feature-band-reverse, .signals-intro, .command, .yield { grid-template-columns: 1fr; gap: 35px; }
  .hero { min-height: auto; padding-top: 55px; }
  .hero-media { max-width: 700px; width: 100%; }
  .feature-band-reverse .feature-copy { order: initial; }
  .intro, .about, .signals, .feature-band, .command, .yield { padding-block: 75px; }
  .about-copy, .feature-copy { max-width: 700px; }
  .about-profile-grid { grid-template-columns: repeat(3, 1fr); }
  .signals-grid { grid-template-columns: 1fr 1fr; }
  .yield-media { position: static; }
}

@media (max-width: 700px) {
  .section-shell { width: min(var(--max), calc(100% - 30px)); }
  .site-header { padding-inline: 15px; }
  .hero h1 { font-size: clamp(3.1rem, 16vw, 5.2rem); }
  .hero-meta { gap: 12px 18px; }
  .frame-hero { aspect-ratio: 4 / 4.5; }
  .frame-wide { aspect-ratio: 4 / 3; }
  .about-profile-grid, .signals-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-top, .footer-bottom { flex-direction: column; align-items: flex-start; }
  .back-to-top { right: 14px; bottom: 14px; padding: 11px 12px; }
  .back-to-top-label { display: none; }
}

@media (max-width: 430px) {
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .hero-media { aspect-ratio: 4 / 5; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .back-to-top { transition: none; }
}


:root[data-theme="light"] body {
  background:
    radial-gradient(circle at 20% 12%, rgba(170,96,54,.10), transparent 26rem),
    radial-gradient(circle at 85% 55%, rgba(101,135,31,.10), transparent 30rem),
    var(--bg);
}

:root[data-theme="light"] .frame::after {
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.16));
}

:root[data-theme="light"] .button-ghost {
  background: rgba(29,33,25,.025);
}

:root[data-theme="light"] .button-ghost:hover {
  background: rgba(29,33,25,.06);
}

:root[data-theme="light"] .hero-meta strong,
:root[data-theme="light"] .text-link,
:root[data-theme="light"] .brand-dot,
:root[data-theme="light"] .about-profile-body > span,
:root[data-theme="light"] .back-to-top > span:first-child {
  color: var(--accent);
}

@media (max-width: 1050px) {
  .theme-toggle { justify-content: center; }
}

.button:disabled { opacity: .65; cursor: wait; transform: none; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
