@font-face { font-family: "Space Grotesk"; src: url("../fonts/space-grotesk-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }

:root {
  --bg: #0A0D0B;
  --bg-2: #0D120F;
  --panel: #111814;
  --deep: #14432F;
  --deep-2: #0E2E21;
  --line: #24322B;
  --accent: #C9A75C;
  --accent-hi: #DDBF7C;
  --text: #F0EDE2;
  --muted: #9BA398;
  --btn-text: #1A1405;
  --head: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, sans-serif;
  --max: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { background: var(--bg); color: var(--text); font-family: var(--body); font-size: 16.5px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: var(--head); line-height: 1.12; font-weight: 700; text-wrap: balance; }
h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 20px; }
h2 em, h1 em { font-style: normal; color: var(--accent); }
p { color: var(--muted); }
.eyebrow { font-family: var(--head); font-size: 12.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--accent); }
section { padding: 104px 0; position: relative; }
.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* buttons */
.btn { display: inline-block; font-family: var(--head); font-weight: 500; font-size: 15px; letter-spacing: .02em; padding: 13px 26px; border-radius: 6px; background: var(--accent); color: var(--btn-text); border: 1px solid var(--accent); cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { background: var(--accent-hi); border-color: var(--accent-hi); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); }

/* logo */
.logo { display: inline-block; font-family: var(--head); line-height: 1; color: var(--text); }
.logo b { display: flex; align-items: center; gap: .1em; font-size: 28px; font-weight: 700; letter-spacing: .1em; }
.logo .ebars { display: inline-flex; flex-direction: column; justify-content: space-between; height: .72em; width: .58em; }
.logo .ebars i { display: block; height: .14em; background: var(--accent); border-radius: 1px; }
.logo .ebars i:nth-child(2) { width: 72%; }
.logo small { display: block; font-size: 9px; letter-spacing: .34em; color: var(--muted); margin-top: 5px; }

/* header */
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .25s, border-color .25s; border-bottom: 1px solid transparent; }
.header.scrolled { background: rgba(10, 13, 11, .92); backdrop-filter: blur(10px); border-bottom-color: var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { font-size: 14.5px; color: var(--muted); transition: color .2s; }
.nav a:not(.btn):hover { color: var(--text); }
.nav .btn { padding: 9px 20px; font-size: 14px; }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.burger span, .burger span::before, .burger span::after { content: ""; position: absolute; left: 10px; right: 10px; height: 2px; background: var(--text); transition: transform .2s, opacity .2s; }
.burger span { top: 21px; }
.burger span::before { left: 0; right: 0; top: -7px; }
.burger span::after { left: 0; right: 0; top: 7px; }

/* hero */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 140px 0 90px; overflow: hidden;
  background: radial-gradient(1000px 560px at 88% 8%, rgba(20, 67, 47, .85), transparent 68%), radial-gradient(700px 420px at -10% 100%, rgba(20, 67, 47, .35), transparent 70%), var(--bg); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; width: 100%; }
.hero h1 { font-size: clamp(38px, 5.4vw, 66px); margin-bottom: 24px; }
.hero p { font-size: 18px; max-width: 54ch; margin-bottom: 34px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(160deg, rgba(17, 24, 20, .9), rgba(10, 13, 11, .9)); padding: 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.hero-art svg { display: block; width: 100%; height: auto; }

/* about */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.split p + p { margin-top: 16px; }
.lead { font-size: 18.5px; color: var(--text); }

/* cards */
.grid { display: grid; gap: 18px; margin-top: 48px; }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 28px 26px; transition: border-color .25s, transform .25s; }
.card:hover { border-color: rgba(201, 167, 92, .55); transform: translateY(-3px); }
.card .ico { width: 44px; height: 44px; border-radius: 10px; background: var(--deep-2); border: 1px solid var(--deep); display: grid; place-items: center; margin-bottom: 20px; color: var(--accent); }
.card .ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { font-size: 15px; }
.card ul { list-style: none; }
.card li { color: var(--muted); font-size: 15px; padding-left: 20px; position: relative; }
.card li + li { margin-top: 10px; }
.card li::before { content: ""; position: absolute; left: 0; top: .72em; width: 9px; height: 1.5px; background: var(--accent); }
.card.feature { background: linear-gradient(150deg, var(--deep), var(--deep-2)); border-color: var(--deep); display: flex; flex-direction: column; justify-content: space-between; }
.card.feature p { color: #CBD6CD; }
.card.feature a { color: var(--accent); font-family: var(--head); font-weight: 500; margin-top: 18px; display: inline-block; }
.intro-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 980px; }
.section-head { max-width: 760px; }

/* approach band */
.band { background: linear-gradient(120deg, var(--deep-2), var(--deep) 55%, var(--deep-2)); border-top: 1px solid var(--deep); border-bottom: 1px solid var(--deep); }
.band .wrap { max-width: 900px; text-align: center; }
.band .eyebrow { justify-content: center; }
.band .eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--accent); }
.band p { color: #D5DDD6; font-size: 18px; }

/* why */
.why { counter-reset: why; }
.why .card { counter-increment: why; background: transparent; }
.why .card::before { content: "0" counter(why); font-family: var(--head); font-size: 15px; letter-spacing: .12em; color: var(--accent); display: block; padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact p + p { margin-top: 16px; }
.mail { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.mail span { display: block; font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.mail a { font-family: var(--head); font-size: 21px; color: var(--accent); }
.mail a:hover { color: var(--accent-hi); }
form { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 30px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: block; font-size: 13.5px; color: var(--muted); margin: 0 0 7px; }
.field { margin-bottom: 16px; }
input, textarea { width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; color: var(--text); font: inherit; font-size: 16px; padding: 12px 14px; transition: border-color .2s; }
input:focus, textarea:focus { outline: none; border-color: var(--accent); }
textarea { min-height: 130px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.form-msg { margin-top: 14px; font-size: 14.5px; min-height: 1.4em; }
.form-msg.ok { color: #8FD3A6; }
.form-msg.err { color: #E7A08F; }
.form-msg a { color: var(--accent); text-decoration: underline; }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 40px 0; background: #070908; }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.footer p { font-size: 13.5px; }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

@media (max-width: 980px) {
  .hero .wrap, .split, .contact, .intro-cols { grid-template-columns: 1fr; gap: 40px; }
  .grid.c3, .grid.c4 { grid-template-columns: repeat(2, 1fr); }
  section { padding: 76px 0; }
  .burger { display: block; }
  .nav { position: fixed; inset: 76px 0 auto 0; background: rgba(10, 13, 11, .98); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 10px 24px 24px; display: none; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav .btn { margin-top: 18px; text-align: center; padding: 13px; }
  .header.menu-open { background: rgba(10, 13, 11, .98); }
  .menu-open .burger span { background: transparent; }
  .menu-open .burger span::before { transform: translateY(7px) rotate(45deg); }
  .menu-open .burger span::after { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 620px) {
  .grid.c3, .grid.c4, .grid.c2, .row { grid-template-columns: 1fr; }
  .wrap { padding: 0 18px; }
  .hero { padding-top: 120px; min-height: 0; }
  form { padding: 22px; }
}
