:root {
  --black: #090909;
  --ink: #111111;
  --white: #ffffff;
  --paper: #f5f6f1;
  --lime: #dfff62;
  --lime-deep: #cbe94f;
  --muted: #666b63;
  --line: #d7dbd1;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(9, 9, 9, .96);
  border-bottom: 1px solid #262626;
}
.header-inner {
  width: min(calc(100% - 40px), var(--max));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-logo {
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
}
.site-nav { display: flex; align-items: center; gap: 25px; margin-left: auto; }
.site-nav a { color: #d7d7d7; font-size: 13px; font-weight: 700; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--lime); }
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid #454545;
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  flex: 0 0 42px;
}
.nav-toggle::before { content: "Menu"; font-size: 11px; font-weight: 700; }

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.pill:hover { transform: translateY(-1px); background: var(--ink); color: var(--white); }
.pill-lime { background: var(--lime); border-color: var(--lime); color: var(--black); }
.pill-lime:hover { background: var(--lime-deep); border-color: var(--lime-deep); color: var(--black); }
.pill-dark { color: var(--white); border-color: #646464; }
.pill-dark:hover { background: var(--white); border-color: var(--white); color: var(--black); }
.header-login { min-height: 36px; padding-inline: 17px; }

.page-hero { background: var(--black); color: var(--white); }
.page-hero-inner {
  width: min(calc(100% - 40px), var(--max));
  min-height: 360px;
  margin: 0 auto;
  padding: 84px 0 70px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr);
  gap: 70px;
  align-items: end;
}
.eyebrow {
  margin: 0 0 16px;
  color: #66705b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.page-hero .eyebrow { color: var(--lime); }
.page-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(40px, 6vw, 70px);
  line-height: .98;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
.page-hero-inner > *, .section-head > *, .split > *, .contact-grid > * { min-width: 0; }
.page-hero p { margin: 0; color: #c5c5c5; font-size: 16px; line-height: 1.7; }
.lime-mark { color: var(--lime); }

.section { padding: 84px 0; }
.section-soft { background: var(--paper); }
.section-black { background: var(--black); color: var(--white); }
.shell { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.section-head {
  margin-bottom: 34px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
}
.section-head h2 { max-width: 720px; margin: 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.04; overflow-wrap:anywhere; }
.section-head p { max-width: 470px; margin: 0; color: var(--muted); }
.section-black .section-head p { color: #b9b9b9; }

.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.post-card {
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform .18s ease, border-color .18s ease;
}
.post-card:hover { transform: translateY(-3px); border-color: #aeb5a4; }
.post-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #e7e9e2; }
.post-body { padding: 20px; }
.post-meta { margin-bottom: 10px; color: #69705f; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.post-card h2, .post-card h3 { margin: 0 0 10px; font-size: 20px; line-height: 1.18; }
.post-card p { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.post-link { font-size: 12px; font-weight: 700; text-decoration: underline; text-decoration-color: var(--lime-deep); text-decoration-thickness: 3px; text-underline-offset: 5px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split h2 { margin: 0 0 18px; font-size: clamp(32px, 4vw, 50px); line-height: 1.03; }
.split p { color: var(--muted); }
.fact-strip { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.fact { min-height: 130px; padding: 24px; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact strong { display: block; margin-bottom: 7px; font-size: 23px; }
.fact span { color: var(--muted); font-size: 13px; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.value { min-height: 230px; padding: 30px; border-right: 1px solid var(--line); }
.value:last-child { border-right: 0; }
.value b { display: block; margin-bottom: 30px; color: #718058; font-size: 11px; }
.value h3 { margin: 0 0 12px; font-size: 22px; line-height: 1.15; }
.value p { margin: 0; color: var(--muted); font-size: 14px; }

.contact-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 54px; align-items: start; }
.contact-list { border-top: 1px solid var(--line); }
.contact-row { padding: 21px 0; border-bottom: 1px solid var(--line); }
.contact-row small { display: block; margin-bottom: 5px; color: var(--muted); text-transform: uppercase; font-weight: 700; }
.contact-row a, .contact-row strong { font-size: 18px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 700; }
.field input, .field textarea, .field select {
  width: 100%;
  border: 1px solid #bfc4b8;
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  padding: 13px 14px;
  outline: none;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: #7c8c58; box-shadow: 0 0 0 3px rgba(223,255,98,.32); }
.field textarea { min-height: 150px; resize: vertical; }

.legal { max-width: 860px; }
.legal h2 { margin: 48px 0 12px; font-size: 27px; line-height: 1.15; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { margin: 28px 0 8px; font-size: 18px; }
.legal p, .legal li { color: #4f544d; }
.legal ul { padding-left: 22px; }
.legal .updated { margin-bottom: 35px; color: #73786f; font-size: 13px; }

.article-header { padding: 76px 0 44px; background:var(--black); color:var(--white); }
.article-header-inner { width:min(calc(100% - 40px), 980px); margin:0 auto; }
.article-header h1 { max-width:900px; margin:0 0 20px; font-size:clamp(38px,6vw,68px); line-height:1.02; overflow-wrap:anywhere; }
.article-dek { max-width:780px; margin:0; color:#c8c8c8; font-size:17px; }
.article-meta { display:flex; flex-wrap:wrap; gap:10px 20px; margin-top:24px; color:#969696; font-size:12px; }
.article-cover { width:min(calc(100% - 40px), 1160px); margin:0 auto; padding-top:34px; }
.article-cover img { width:100%; aspect-ratio:16/9; object-fit:cover; }
.article-shell { width:min(calc(100% - 40px), 760px); margin:0 auto; padding:62px 0 86px; }
.article-prose .lead { color:#252820; font-size:19px; line-height:1.7; }
.article-prose h2 { margin:48px 0 13px; font-size:29px; line-height:1.15; }
.article-prose h3 { margin:30px 0 9px; font-size:20px; }
.article-prose p, .article-prose li { color:#4f544d; }
.article-prose ul, .article-prose ol { padding-left:22px; }
.article-prose li { margin-bottom:8px; }
.article-callout { margin:42px 0; padding:25px; border-left:5px solid var(--lime-deep); background:var(--paper); }
.article-callout h2, .article-callout h3 { margin-top:0; }
.article-callout p:last-child { margin-bottom:0; }
.source-note { margin-top:52px; padding-top:22px; border-top:1px solid var(--line); color:#777c73; font-size:12px; }
.source-note a { text-decoration:underline; text-underline-offset:3px; }
.article-next { padding:58px 0; background:var(--paper); }
.article-next .shell { display:flex; align-items:center; justify-content:space-between; gap:28px; }
.article-next h2 { max-width:650px; margin:0; font-size:clamp(28px,4vw,44px); line-height:1.05; }

.site-footer { padding: 56px 0 26px; background: var(--black); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.35fr .65fr .65fr; gap: 60px; padding-bottom: 42px; }
.footer-logo { margin-bottom: 14px; font-size: 20px; font-weight: 700; }
.site-footer p { max-width: 440px; margin: 0; color: #ababab; font-size: 13px; }
.footer-title { margin-bottom: 13px; color: var(--lime); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.footer-links { display: grid; gap: 9px; }
.footer-links a { color: #d0d0d0; font-size: 13px; }
.footer-links a:hover { color: var(--lime); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid #2a2a2a; color: #858585; font-size: 11px; }

.reveal { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .site-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; margin: 0; padding: 18px 20px 24px; background: var(--black); border-bottom: 1px solid #303030; flex-direction: column; align-items: flex-start; }
  .site-nav.open { display: flex; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .header-login { display: none; }
  .page-hero-inner { min-height: 320px; grid-template-columns: 1fr; gap: 28px; padding: 68px 0 56px; }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 38px; }
  .values-grid { grid-template-columns: 1fr; }
  .value { border-right: 0; border-bottom: 1px solid var(--line); }
  .value:last-child { border-bottom: 0; }
  .fact-strip { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 620px) {
  body { font-size: 14px; }
  .header-inner, .shell, .page-hero-inner { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 62px 0; }
  .page-hero h1 { font-size: 38px; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .section-head h2 { font-size: 31px; }
  .blog-grid { grid-template-columns: 1fr; }
  .fact-strip { grid-template-columns: 1fr; }
  .fact { border-right: 0; border-bottom: 1px solid var(--line); }
  .fact:last-child { border-bottom: 0; }
  .contact-form { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { flex-direction: column; }
  .article-header { padding:58px 0 36px; }
  .article-header-inner, .article-cover, .article-shell { width:min(calc(100% - 28px), 980px); }
  .article-header h1 { font-size:36px; }
  .article-dek { font-size:15px; }
  .article-shell { padding:48px 0 64px; }
  .article-prose .lead { font-size:17px; }
  .article-prose h2 { font-size:25px; }
  .article-next .shell { align-items:flex-start; flex-direction:column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .pill, .post-card { transition: none; }
}
