:root {
  --bg: #101312;
  --surface: #18201d;
  --surface-strong: #202a25;
  --line: #3d4b44;
  --text: #f2f0e9;
  --muted: #b6bbb5;
  --green: #82e6aa;
  --green-deep: #2f7650;
  --copper: #d79a5b;
  --max: 1120px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; line-height: 1.55; background: radial-gradient(circle at 90% 0, #20372b 0, transparent 32rem), var(--bg); }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.wrap { width: min(calc(100% - 2rem), var(--max)); margin: auto; }

.site-header { position: sticky; top: 0; z-index: 10; background: #101312f2; backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .55rem; min-block-size: 52px; text-decoration: none; font-weight: 800; letter-spacing: .09em; line-height: 1; }
.brand-symbol-image { display: block; inline-size: auto; block-size: auto; max-inline-size: 5.75rem; max-block-size: 52px; object-fit: contain; }
.brand-copy { display: none; /* was grid */ gap: .18rem; min-inline-size: 6.7rem; }
.brand-word { font-size: .92rem; }
.brand-lab { color: var(--green); font: .66rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .22em; }
.menu { display: none; gap: 1.25rem; list-style: none; padding: 0; margin: 0; }
.menu a { color: var(--muted); text-decoration: none; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--text); }
.nav-toggle { background: transparent; border: 1px solid var(--line); color: var(--text); padding: .5rem .7rem; min-width: 44px; min-height: 44px; border-radius: .35rem; }
.menu.open { display: grid; position: absolute; top: 76px; left: 0; right: 0; padding: 1rem; background: var(--surface); border-bottom: 1px solid var(--line); }

.hero { padding: 3.5rem 0 3rem; }
.hero-inner { display: grid; gap: 2rem; align-items: center; }
.eyebrow, .status, .micro-label { color: var(--green); font: .72rem/1.35 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .14em; text-transform: uppercase; }
.hero h1 { font-size: clamp(3.4rem, 10vw, 7.2rem); line-height: .96; letter-spacing: -.07em; margin: .55rem 0 1.25rem; }
.lede { max-width: 42rem; color: var(--muted); font-size: clamp(1.1rem, 2.5vw, 1.42rem); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .7rem 1rem; border: 1px solid var(--green); border-radius: .35rem; text-decoration: none; font-weight: 720; }
.button.primary { color: #0c1510; background: var(--green); }
.button.secondary { color: var(--text); border-color: #66766e; }

.hero-logo-panel { display: block; padding: 0; overflow: visible; }
.hero-logo { display: block; width: 100%; height: auto; max-width: 100%; margin: 0 auto; object-fit: contain; background: transparent; border: 0; border-radius: 0; box-shadow: none; }

section { padding: 3.75rem 0; border-top: 1px solid var(--line); }
h2 { font-size: clamp(1.9rem, 5vw, 3.15rem); line-height: 1.04; letter-spacing: -.045em; margin: .55rem 0 1rem; }
.section-intro { max-width: 42rem; color: var(--muted); }
.feature { display: grid; gap: 1.5rem; padding: 1.5rem; border: 1px solid #446252; border-radius: .75rem; background: linear-gradient(125deg, #1b2a20, #141a17 70%); }
.feature-mark { width: 5.2rem; height: 5.2rem; display: grid; place-items: center; border: 1px solid var(--green-deep); border-radius: .65rem; color: var(--green); background: #132119; font: 2rem ui-monospace, monospace; }
.status { color: var(--copper); }

.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-top: 1.75rem; }
.project-card { position: relative; min-height: 225px; padding: 1.25rem; border: 1px solid var(--line); border-radius: .6rem; background: var(--surface); display: flex; flex-direction: column; overflow: hidden; }
.project-card::after { content: ""; position: absolute; width: 7rem; height: 7rem; right: -2.8rem; bottom: -3.2rem; border: 1px solid #365044; border-radius: 50%; opacity: .8; }
.project-card h3 { margin: .65rem 0 .45rem; }
.project-card .status { margin-top: .75rem; }
.project-card p { color: var(--muted); margin: 0; }
.project-card a:last-child { margin-top: auto; padding-top: 1rem; color: var(--green); font-weight: 700; }
.project-mark { width: 2.55rem; height: 2.55rem; display: grid; place-items: center; border: 1px solid var(--line); border-radius: .45rem; color: var(--green); background: #142019; font: 1rem ui-monospace, monospace; }
.project--dj .project-mark { color: #9ec7ff; border-radius: 50%; }
.project--coffee .project-mark { color: var(--copper); border-radius: 50% 50% .5rem .5rem; }
.project--emirror .project-mark { color: #d6afff; transform: rotate(45deg); }
.project--emirror .project-mark span { transform: rotate(-45deg); }
.project--emirror::after { display: none; }
.project--thrift .project-mark { color: #bad980; border-radius: .8rem .25rem; }
.project--documents .project-mark { color: #f0c999; border-radius: .25rem; }
.notice { margin-top: 1rem !important; padding: .8rem; border-left: 3px solid var(--copper); background: #241d16; color: var(--text) !important; }

.split { display: grid; gap: 1.5rem; }
.content { max-width: 760px; }
.principles { display: grid; gap: .8rem; margin-top: 1.5rem; }
.principle { padding: 1rem; border: 1px solid var(--line); background: var(--surface); }
.principle strong { display: block; color: var(--green); margin-bottom: .25rem; }
.updates { list-style: none; padding: 0; margin: 1.5rem 0; }
.updates li { padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.updates time { color: var(--copper); font: .85rem ui-monospace, monospace; }
.page-hero { padding: 4.4rem 0 2.7rem; }
.page-hero h1 { font-size: clamp(2.6rem, 8vw, 5.5rem); line-height: .96; margin: .5rem 0; letter-spacing: -.06em; }
.site-footer { padding: 2rem 0; color: var(--muted); font-size: .9rem; }
.footer-row { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

.footer-row a { color: var(--green); }
.external-link, .contact-email { color: var(--green); font-weight: 700; }
.support-card { padding: clamp(1.25rem, 4vw, 2rem); border: 1px solid #446252; border-radius: .75rem; background: linear-gradient(125deg, #1b2a20, #141a17 70%); }
.support-note, .privacy-note, .field-help, .form-alternative { color: var(--muted); font-size: .92rem; }
.contact-form { display: grid; gap: 1rem; margin-top: 1.5rem; }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 700; }
.field input, .field textarea { width: 100%; border: 1px solid #66766e; border-radius: .35rem; background: var(--surface); color: var(--text); padding: .7rem; font: inherit; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-color: var(--green); }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.55rem; color: var(--green); font-weight: 700; }
.form-status.error { color: var(--copper); }
.contact-links { display: grid; gap: .7rem; margin-top: 1rem; }
.contact-links a { display: inline-flex; align-items: center; gap: .55rem; color: var(--green); font-weight: 700; text-decoration: none; width: fit-content; }
.contact-links a:hover, .contact-links a:focus-visible { text-decoration: underline; }
.contact-links svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.8; }
.contact-links a[href*="youtube"] svg { fill: currentColor; stroke: none; }

@media (min-width: 760px) {
  .menu { display: flex; }
  .nav-toggle { display: none; }
  .hero { padding: 4.5rem 0 3.5rem; }
  .hero-inner { grid-template-columns: minmax(0, .85fr) minmax(360px, 1.3fr); min-height: 600px; align-items: start; }
  .feature { grid-template-columns: 150px 1fr; padding: 2rem; }
  .split { grid-template-columns: 1fr 1fr; }
  .principles { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 430px) {
  .hero { padding-top: 3rem; }
  .brand { gap: .45rem; min-block-size: 44px; }
  .brand-symbol-image { max-inline-size: 4.75rem; max-block-size: 42px; }
  .brand-copy { min-inline-size: 5.9rem; }
  .brand-word { font-size: .82rem; }
  .brand-lab { font-size: .6rem; }
  .hero-logo-panel { min-height: auto; padding: 0; }
  .hero-logo { max-width: 100%; }
  .actions { display: grid; }
  .button { width: 100%; }
}

@media (max-width: 340px) {
  .hero h1 { font-size: 3rem; letter-spacing: -.075em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}