/* Sow Good "Elemental" design system */
:root {
  --bg: #0b0e10;
  --c: #d58a54;
  --c-hover: #ecac7d;
  --ink: #f1f0eb;
  --muted: #a8b0b3;
  --panel: #141a1d;
  --line: #ffffff22;
  --paper: #efeee8;
  --paper-ink: #171e22;
  --paper-muted: #596165;
  --paper-accent: #96603d;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px 'Libre Franklin', Arial, sans-serif; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

/* Nav */
nav.site { height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 6%; border-bottom: 1px solid var(--line); position: absolute; top: 0; left: 0; z-index: 20; width: 100%; background: #0b0e1044; }
.logo { font: 600 27px 'Libre Franklin', Arial, sans-serif; letter-spacing: -1.5px; }
.logo i { color: var(--c); font-style: normal; }
.navlinks { display: flex; gap: 32px; font-size: 13px; }
.navlinks a { color: #c9cdcf; transition: color .2s; }
.navlinks a:hover, .navlinks a.active { color: var(--ink); }
.navlinks a.active { box-shadow: 0 1px 0 var(--c); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.ticker { font: 11px monospace; letter-spacing: 1px; border: 1px solid #ffffff33; padding: 11px 15px; white-space: nowrap; }
.ticker b { color: var(--c); }
.menu-btn { display: none; background: none; border: 1px solid #ffffff33; color: var(--ink); padding: 9px 12px; font: 11px monospace; letter-spacing: 1px; cursor: pointer; }

/* Hero (home) */
.hero { min-height: 850px; height: 100svh; max-height: 1150px; position: relative; overflow: hidden; display: flex; align-items: center; padding: 140px 6% 150px; }
.rock { position: absolute; width: 78%; height: 110%; right: -9%; top: -8%; filter: drop-shadow(-40px 0 60px #000); opacity: .95; transition: transform .6s ease-out; -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%); mask-image: linear-gradient(90deg, transparent, #000 30%); }
.shade { position: absolute; inset: 0; background: linear-gradient(90deg, #0b0e10 0%, #0b0e10dd 22%, #0b0e1055 60%, transparent), linear-gradient(0deg, #0b0e10, transparent 30%); }
.hero-copy { position: relative; max-width: 900px; }
.eyebrow { font: 11px monospace; letter-spacing: 3px; text-transform: uppercase; color: var(--c); display: flex; align-items: center; gap: 14px; }
.eyebrow:before { content: ''; width: 27px; height: 1px; background: var(--c); }
h1 { font: 400 clamp(60px, 7.7vw, 116px)/.98 'Libre Caslon Display', Georgia, serif; letter-spacing: -3px; margin: 31px 0; }
h1 em { font-family: Georgia, serif; font-weight: 400; color: var(--c); }
.intro { max-width: 400px; line-height: 1.8; color: #bdc2c3; font-size: 15px; }
.buttons { display: flex; gap: 26px; align-items: center; margin-top: 34px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; gap: 40px; background: var(--c); color: #151719; padding: 17px 23px; font-size: 13px; font-weight: 600; border: 1px solid var(--c); transition: background .2s, transform .2s; cursor: pointer; }
.button:hover { background: var(--c-hover); transform: translateY(-3px); }
.textlink { font-size: 13px; border-bottom: 1px solid #8c9294; padding: 10px 0; display: inline-block; }
.textlink span { margin-left: 26px; color: var(--c); }
.hero-bottom { position: absolute; bottom: 38px; left: 6%; right: 6%; display: flex; justify-content: space-between; border-top: 1px solid #ffffff24; padding-top: 24px; font: 10px monospace; letter-spacing: 2px; color: #a1a8ab; }
.hero-bottom strong { font-weight: 400; color: var(--ink); }
.vertical { position: absolute; right: 3%; top: 45%; writing-mode: vertical-rl; font: 10px monospace; letter-spacing: 3px; color: #9ba1a4; }

/* Inner page header */
.page-hero { position: relative; overflow: hidden; padding: 190px 6% 80px; border-bottom: 1px solid var(--line); }
.page-hero .rock { width: 60%; height: 160%; right: -18%; top: -30%; opacity: .55; }
.page-hero .shade { background: linear-gradient(90deg, #0b0e10 0%, #0b0e10ee 35%, #0b0e1077 75%, transparent); }
.page-hero .hero-copy { max-width: 760px; }
.page-hero h1 { font-size: clamp(48px, 6vw, 88px); margin: 26px 0 22px; }

/* Strip */
.strip { padding: 25px 6%; border-block: 1px solid #ffffff20; display: flex; gap: 30px; align-items: center; font-size: 13px; color: #b9c0c3; }
.strip b { color: var(--c); font: 10px monospace; letter-spacing: 2px; white-space: nowrap; }
.strip a { margin-left: auto; color: var(--ink); white-space: nowrap; }

/* Sections */
section { padding: 100px 6%; }
.section-top { display: flex; justify-content: space-between; gap: 50px; align-items: start; }
h2 { font: 400 clamp(40px, 4.5vw, 68px)/1.05 'Libre Caslon Display', Georgia, serif; letter-spacing: -1px; margin: 22px 0 35px; }
.section-top p { max-width: 395px; color: var(--muted); line-height: 1.8; padding-top: 23px; }
.prose p { color: var(--muted); line-height: 1.8; max-width: 560px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }

/* Project */
.project { display: grid; grid-template-columns: 1.2fr 1fr; border: 1px solid var(--line); margin-top: 30px; }
.map { min-height: 440px; background: radial-gradient(ellipse at 60% 50%, #263532, #111b1d 65%); position: relative; overflow: hidden; display: grid; place-items: center; }
.map svg { width: 100%; height: 100%; position: absolute; }
.map-label { position: absolute; bottom: 30px; left: 30px; font: 10px monospace; letter-spacing: 2px; color: #a7b6af; }
.project-copy { padding: 48px; background: var(--panel); }
.tag { font: 10px monospace; color: var(--c); letter-spacing: 2px; }
.project h3 { font: 400 43px 'Libre Caslon Display', Georgia, serif; letter-spacing: -1px; margin: 20px 0; }
.project p { color: var(--muted); line-height: 1.8; font-size: 14px; }
.details { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; border-top: 1px solid var(--line); margin-top: 30px; padding: 24px 0; }
.details small { display: block; font: 9px monospace; color: #879397; letter-spacing: 1px; margin-bottom: 9px; }
.details span { font-size: 13px; }

/* Light section */
.light { background: var(--paper); color: var(--paper-ink); }
.light .eyebrow { color: var(--paper-accent); }
.light .eyebrow:before { background: var(--paper-accent); }
.light p { color: var(--paper-muted); }
.material-row { display: grid; grid-template-columns: 70px 1fr 1fr; align-items: center; border-top: 1px solid #171e2233; padding: 27px 0; gap: 25px; }
.material-row:last-child { border-bottom: 1px solid #171e2233; }
.material-row b { font: 400 27px 'Libre Franklin', Arial, sans-serif; }
.material-row p { font-size: 14px; line-height: 1.7; margin: 0; }
.material-row small { color: #97603d; font: 12px monospace; }

/* Investors */
.investor { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.investor p { color: var(--muted); line-height: 1.8; max-width: 390px; }
.ir-links { padding-top: 20px; }
.ir-links a { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid #ffffff26; padding: 25px 0; font-size: 18px; transition: color .2s; }
.ir-links a:hover { color: var(--c); }
.ir-links span { color: var(--c); white-space: nowrap; }
.chart-box { border: 1px solid var(--line); background: var(--panel); height: 520px; margin-top: 10px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); margin-top: 10px; }
table.filings { width: 100%; border-collapse: collapse; background: var(--panel); }
table.filings th, table.filings td { text-align: left; padding: 18px 20px; border-bottom: 1px solid var(--line); font-size: 14px; }
table.filings th { font: 9px monospace; letter-spacing: 1.5px; color: #879397; text-transform: uppercase; }
table.filings tr:last-child td { border-bottom: 0; }
table.filings td:first-child { font: 12px monospace; color: var(--muted); white-space: nowrap; }
table.filings td a { color: var(--c); white-space: nowrap; }
.form-tag { font: 11px monospace; letter-spacing: 1px; color: var(--ink); border: 1px solid #ffffff33; padding: 4px 8px; white-space: nowrap; }
.note { font: 10px monospace; letter-spacing: 1px; color: #879397; margin-top: 16px; line-height: 1.8; }

/* Forms */
.panel { background: var(--panel); border: 1px solid var(--line); padding: 44px; }
form.stack { display: flex; flex-direction: column; gap: 22px; }
label { display: flex; flex-direction: column; gap: 10px; font: 9px monospace; letter-spacing: 1.5px; color: #879397; text-transform: uppercase; }
input, textarea, select { font: 15px 'Libre Franklin', Arial, sans-serif; letter-spacing: 0; text-transform: none; padding: 14px 0; border: 0; border-bottom: 1px solid #ffffff33; background: transparent; color: var(--ink); border-radius: 0; }
select option { background: var(--panel); }
input:focus, textarea:focus, select:focus { outline: none; border-bottom-color: var(--c); }
textarea { min-height: 130px; resize: vertical; }
form .button { align-self: flex-start; margin-top: 8px; }
.contact-list { padding-top: 20px; }
.contact-list div { border-bottom: 1px solid #ffffff26; padding: 22px 0; }
.contact-list small { display: block; font: 9px monospace; letter-spacing: 1.5px; color: #879397; margin-bottom: 10px; }
.contact-list span, .contact-list a { font-size: 17px; line-height: 1.6; }
.contact-list a:hover { color: var(--c); }
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 140px 6% 80px; position: relative; overflow: hidden; }
.login-wrap .rock { opacity: .35; }
.login-box { position: relative; width: 100%; max-width: 420px; }
.login-box h1 { font-size: 52px; margin: 22px 0 30px; }
.error { color: #ef8f7a; font-size: 13px; min-height: 1.2em; }

/* Admin */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid .cell { background: var(--panel); padding: 32px; }
.grid .cell h3 { font: 400 28px 'Libre Caslon Display', Georgia, serif; margin: 14px 0; }
.grid .cell a { display: block; padding: 6px 0; color: #c9cdcf; }
.grid .cell a:hover { color: var(--c); }

/* Team */
.team-index { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 50px; }
.team-index a { font: 11px monospace; letter-spacing: 1px; text-transform: uppercase; border: 1px solid #ffffff33; padding: 10px 14px; color: #c9cdcf; transition: color .2s, border-color .2s; }
.team-index a:hover { color: var(--c); border-color: var(--c); }
.person { display: grid; grid-template-columns: 340px 1fr; gap: 60px; border-top: 1px solid var(--line); padding: 50px 0; scroll-margin-top: 100px; }
.person:last-of-type { border-bottom: 1px solid var(--line); }
.person-head small { font: 12px monospace; color: var(--c); }
.person-head h3 { font: 400 40px/1.05 'Libre Caslon Display', Georgia, serif; letter-spacing: -1px; margin: 16px 0 14px; }
.person-head .role { font-size: 14px; color: var(--ink); margin: 0; }
.person-head .committee { margin: 22px 0 0; font-size: 13px; line-height: 1.6; color: var(--muted); }
.person-head .committee span { display: block; font: 9px monospace; letter-spacing: 1.5px; text-transform: uppercase; color: #879397; margin-bottom: 8px; }
.person-bio p { color: var(--muted); line-height: 1.85; font-size: 15px; margin: 0; max-width: 720px; }
.person-bio p + p { margin-top: 18px; }

/* Footer */
footer.site { padding: 40px 6%; border-top: 1px solid var(--line); color: #8c989d; font-size: 11px; line-height: 1.8; }
.foot-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 25px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 24px; font: 10px monospace; letter-spacing: 1px; color: var(--c); flex-wrap: wrap; }
.foot-links a:hover { color: var(--ink); }
footer.site p { max-width: 900px; }

/* Motion */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s, transform .8s; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .navlinks { gap: 20px; }
}
@media (max-width: 760px) {
  nav.site { height: 76px; }
  .menu-btn { display: block; }
  .navlinks { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 6% 16px; }
  .navlinks.open { display: flex; }
  .navlinks a { padding: 14px 0; font-size: 15px; border-bottom: 1px solid #ffffff14; }
  .navlinks a.active { box-shadow: none; color: var(--c); }
  .ticker { font-size: 9px; padding: 9px 11px; }
  .hero { min-height: 780px; padding-top: 130px; }
  .rock { width: 130%; right: -55%; opacity: .65; }
  .page-hero { padding: 140px 6% 56px; }
  .page-hero .rock { width: 120%; right: -60%; opacity: .4; }
  h1 { letter-spacing: -3px; }
  .hero-bottom { font-size: 8px; gap: 25px; }
  .hero-bottom div:last-child { display: none; }
  .vertical { display: none; }
  .strip { align-items: start; gap: 14px; line-height: 1.6; flex-wrap: wrap; }
  .section-top { display: block; }
  .section-top p { padding-top: 0; }
  .project, .investor, .two-col { grid-template-columns: 1fr; }
  .project-copy { padding: 30px; }
  .map { min-height: 330px; }
  section { padding: 70px 6%; }
  .material-row { grid-template-columns: 30px 1fr; }
  .material-row p { grid-column: 2; }
  .investor, .two-col { gap: 25px; }
  .person { grid-template-columns: 1fr; gap: 20px; padding: 36px 0; }
  .person-head h3 { font-size: 32px; }
  .buttons { gap: 20px; }
  .button { gap: 24px; }
  .panel { padding: 28px; }
  .chart-box { height: 420px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  * { transition: none !important; }
}
