/* ForestBase LLC — site.css
   One stylesheet for every page. No framework, no build step. */

:root {
  --bg: #0C110E;
  --bg-raised: #121A15;
  --line: rgba(237, 235, 227, 0.10);
  --line-strong: rgba(237, 235, 227, 0.16);
  --text: #EDEBE3;
  --text-soft: #C9CCC1;
  --text-mute: #A6AB9F;
  --text-faint: #5F665B;
  --accent: #9ED0A6;
  --accent-ink: #0C110E;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --gutter: 64px;
  --max: 1440px;
}

@media (max-width: 900px) {
  :root { --gutter: 32px; }
}
@media (max-width: 600px) {
  :root { --gutter: 20px; }
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.skip {
  position: absolute; left: -9999px; top: 0;
  padding: 12px 16px; background: var(--accent); color: var(--accent-ink);
  border-radius: 0 0 8px 0; z-index: 100;
}
.skip:focus { left: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* ---------- Type ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 0.98;
}
.display em { font-style: italic; color: var(--accent); }
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-mute);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--accent); flex-shrink: 0; }
.eyebrow .rule { flex-grow: 1; height: 1px; background: rgba(237,235,227,0.12); }
.num { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; color: var(--accent); }
.lede { font-size: 20px; line-height: 1.5; color: var(--text-soft); max-width: 560px; }
.muted { color: var(--text-mute); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px; border-radius: 999px;
  font-size: 16px; font-weight: 600; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { color: var(--accent-ink); background: #B2DCB8; }
.btn-ghost { border-color: rgba(237,235,227,0.24); color: var(--text); font-weight: 500; }
.btn-ghost:hover { color: var(--text); border-color: var(--accent); }
.btn-light { background: var(--text); color: var(--accent-ink); height: 44px; padding: 0 20px; }
.btn-light:hover { color: var(--accent-ink); background: #ffffff; }
.btn svg { width: 16px; height: 16px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12,17,14,0.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand svg { width: 28px; height: 28px; }
.brand span { font-family: var(--font-display); font-size: 22px; font-weight: 500; letter-spacing: -0.01em; }
.brand:hover { color: var(--text); }
.nav-links { display: flex; align-items: center; gap: 40px; font-size: 15px; font-weight: 500; }
.nav-links a[aria-current="page"] { color: var(--accent); }
.nav-toggle {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; cursor: pointer;
}
.nav-toggle svg { width: 18px; height: 18px; }

@media (max-width: 760px) {
  .nav .wrap { height: 72px; }
  .brand svg { width: 24px; height: 24px; }
  .brand span { font-size: 20px; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 72px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav-links a.btn { margin-top: 16px; border-bottom: 0; height: 52px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 152px 0 120px; }
.hero .wrap { position: relative; display: flex; flex-direction: column; gap: 40px; }
.hero h1 { font-size: clamp(54px, 7.5vw, 108px); max-width: 980px; }
.hero-art {
  position: absolute; right: -80px; top: 40px; width: 780px; height: 780px; pointer-events: none;
}
.hero-actions { display: flex; align-items: center; gap: 16px; margin-top: 8px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .hero { padding: 96px 0 72px; }
  .hero-art { width: 520px; height: 520px; right: -160px; top: -20px; }
}
@media (max-width: 600px) {
  .hero { padding: 72px 0 56px; }
  .hero .wrap { gap: 24px; }
  .hero-art { width: 420px; height: 420px; right: -170px; top: -40px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .lede { font-size: 17px; }
}

/* ---------- Stack strip ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip .wrap { display: flex; align-items: center; gap: 24px; }
.strip .label { flex-grow: 1; padding: 28px 0; font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.06em; color: var(--text-mute); }
.strip ul { display: flex; align-items: center; gap: 36px; margin: 0; padding: 0; list-style: none; font-size: 15px; font-weight: 500; }
.strip li + li::before { content: "/"; margin-right: 36px; color: rgba(237,235,227,0.24); }
@media (max-width: 900px) {
  .strip .wrap { display: block; padding-top: 20px; padding-bottom: 20px; }
  .strip .label { display: none; }
  .strip ul { flex-wrap: wrap; gap: 8px; }
  .strip li + li::before { content: none; margin: 0; }
  .strip li { padding: 8px 12px; border-radius: 999px; border: 1px solid rgba(237,235,227,0.14); font-size: 13px; }
}

/* ---------- Sections ---------- */
.section { padding: 128px 0; }
.section-tight { padding: 0 0 128px; }
.section h2 { font-size: clamp(36px, 4.5vw, 56px); font-family: var(--font-display); font-weight: 300; letter-spacing: -0.02em; line-height: 1.05; }
.split { display: grid; grid-template-columns: minmax(360px, 480px) minmax(0, 1fr); gap: 96px; align-items: start; }
.split-head { display: flex; flex-direction: column; gap: 24px; }
.split-head p { font-size: 17px; line-height: 1.55; color: var(--text-mute); }
@media (max-width: 1000px) {
  .section { padding: 72px 0; }
  .section-tight { padding: 0 0 72px; }
  .split { grid-template-columns: 1fr; gap: 32px; }
}

/* Services list */
.rows { border-top: 1px solid rgba(237,235,227,0.12); }
.row {
  display: grid; grid-template-columns: 56px 240px minmax(0, 1fr); gap: 24px;
  padding: 28px 0; border-bottom: 1px solid rgba(237,235,227,0.12);
}
.row .num { padding-top: 6px; }
.row h3 { font-size: 22px; font-weight: 500; }
.row p { font-size: 16px; line-height: 1.55; color: var(--text-soft); }
@media (max-width: 760px) {
  .row { grid-template-columns: 1fr; gap: 6px; padding: 20px 0; }
  .row .num { padding-top: 0; }
  .row h3 { font-size: 19px; }
  .row p { font-size: 15px; }
}

/* Now building */
.feature { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.card {
  background: var(--bg-raised); border: 1px solid rgba(237,235,227,0.08); border-radius: 24px;
}
.feature-copy { display: flex; flex-direction: column; gap: 28px; padding: 56px 48px; }
.feature-copy h2 { font-size: clamp(48px, 5vw, 72px); line-height: 1; letter-spacing: -0.03em; }
.feature-copy .lede { font-size: 18px; }
.feature-copy .foot { margin-top: auto; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.pill {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(158,208,166,0.35);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--accent);
}
.pill .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--accent); }
.feature-art {
  display: flex; align-items: center; justify-content: center; min-height: 620px;
  background-image: radial-gradient(circle at 50% 100%, rgba(158,208,166,0.14), rgba(158,208,166,0) 60%);
}
.phone {
  width: 280px; height: 560px; border-radius: 44px; border: 6px solid #1F2A23; background: var(--bg);
  box-shadow: 0 40px 80px rgba(0,0,0,0.5); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.phone img { width: 100%; height: 100%; object-fit: cover; }
.phone .ph { display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--text-faint); font-size: 14px; }
.phone .ph svg { width: 32px; height: 32px; }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; }
  .feature-copy { padding: 28px 24px; gap: 20px; }
  .feature-art { min-height: 0; padding: 32px 0; }
  .phone { width: 240px; height: 480px; }
}

/* Process */
.process { border-top: 1px solid rgba(237,235,227,0.12); padding: 96px 0 128px; display: flex; flex-direction: column; gap: 48px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.step { display: flex; flex-direction: column; gap: 14px; }
.step .big { font-family: var(--font-display); font-size: 40px; font-weight: 300; color: var(--accent); line-height: 1; }
.step h3 { font-size: 20px; font-weight: 600; }
.step p { font-size: 16px; line-height: 1.55; color: var(--text-soft); }
@media (max-width: 760px) {
  .process { padding: 56px 0 64px; gap: 24px; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { flex-direction: row; gap: 18px; padding: 20px 0; border-top: 1px solid rgba(237,235,227,0.12); }
  .step:last-child { border-bottom: 1px solid rgba(237,235,227,0.12); }
  .step .big { flex-shrink: 0; width: 32px; font-size: 30px; }
  .step div { display: flex; flex-direction: column; gap: 6px; }
}

/* CTA */
.cta {
  padding: 88px 64px; border-radius: 28px; background: var(--bg-raised); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 48px;
}
.cta-copy { display: flex; flex-direction: column; gap: 16px; }
.cta h2 { font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -0.03em; }
.cta p { font-size: 18px; line-height: 1.5; color: var(--text-mute); max-width: 520px; }
.cta .btn { flex-shrink: 0; height: 56px; padding: 0 28px; }
@media (max-width: 900px) {
  .cta { flex-direction: column; align-items: stretch; padding: 40px 28px; gap: 20px; border-radius: 22px; }
  .cta p { font-size: 16px; }
}

/* ---------- Footer ---------- */
.footer { padding: 64px 0 40px; font-size: 14px; color: var(--text-mute); }
.footer .wrap { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-brand .brand { color: var(--text); }
.footer-brand .brand svg { width: 22px; height: 22px; }
.footer-brand .brand span { font-size: 18px; }
.footer-links { display: flex; gap: 32px; flex-wrap: wrap; }
@media (max-width: 600px) {
  .footer { padding: 48px 0 32px; }
  .footer .wrap { flex-direction: column; align-items: flex-start; }
  .footer-links { gap: 24px; }
}

/* ---------- Inner pages ---------- */
.page-head { padding: 120px 0 80px; display: flex; flex-direction: column; gap: 32px; max-width: 1000px; }
.page-head h1 { font-size: clamp(44px, 6vw, 84px); }
.page-head .lede { max-width: 680px; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; padding: 72px 0; border-top: 1px solid rgba(237,235,227,0.12); }
.two-col h2 { font-family: var(--font-display); font-weight: 400; font-size: 34px; line-height: 1.1; letter-spacing: -0.01em; }
.two-col > div { display: flex; flex-direction: column; gap: 20px; }
.two-col p { font-size: 17px; line-height: 1.6; color: var(--text-soft); }
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cards3 .card { display: flex; flex-direction: column; gap: 14px; padding: 32px; border-radius: 20px; }
.cards3 h3 { font-size: 20px; font-weight: 600; }
.cards3 p { font-size: 15px; line-height: 1.55; color: var(--text-soft); }
@media (max-width: 900px) {
  .page-head { padding: 72px 0 48px; gap: 20px; }
  .two-col { grid-template-columns: 1fr; gap: 32px; padding: 48px 0; }
  .cards3 { grid-template-columns: 1fr; }
}

/* Contact */
.contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 96px; padding: 112px 0 80px; }
.contact-info { display: flex; flex-direction: column; gap: 32px; }
.contact-info h1 { font-size: clamp(44px, 5.5vw, 76px); }
.contact-meta { display: flex; flex-direction: column; gap: 24px; margin-top: 24px; padding-top: 32px; border-top: 1px solid rgba(237,235,227,0.12); }
.contact-meta div { display: flex; flex-direction: column; gap: 6px; }
.contact-meta .k { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-mute); }
.contact-meta .v { font-size: 18px; }
.contact-meta a.v { font-family: var(--font-display); font-size: 22px; }
.form { display: flex; flex-direction: column; gap: 20px; padding: 40px; border-radius: 24px; }
.form .grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 500; color: var(--text-soft); }
.field label .opt { color: var(--text-mute); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0 14px; height: 48px; border-radius: 10px;
  border: 1px solid var(--line-strong); background: var(--bg); color: var(--text); font-size: 15px;
}
.field textarea { height: auto; padding: 14px; line-height: 1.5; resize: vertical; min-height: 150px; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: none; }
.form .btn { margin-top: 8px; border: 0; }
.form .note { font-size: 13px; line-height: 1.5; color: var(--text-mute); }
.hp { position: absolute; left: -9999px; }
@media (max-width: 900px) {
  .contact { grid-template-columns: 1fr; gap: 40px; padding: 72px 0 48px; }
  .form { padding: 24px 20px; }
  .form .grid2 { grid-template-columns: 1fr; }
}

/* Privacy */
.legal { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 96px; padding: 96px 0 80px; }
.legal-side { display: flex; flex-direction: column; gap: 20px; }
.legal-side h1 { font-size: clamp(40px, 4vw, 52px); line-height: 1.02; letter-spacing: -0.02em; }
.legal-side .meta { font-size: 14px; line-height: 1.6; color: var(--text-mute); }
.legal-toc { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; padding-top: 20px; border-top: 1px solid rgba(237,235,227,0.12); font-size: 14px; font-weight: 500; }
.legal-body { display: flex; flex-direction: column; gap: 40px; max-width: 720px; font-size: 17px; line-height: 1.65; color: var(--text-soft); }
.legal-body section { display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 100px; }
.legal-body h2 { font-family: var(--font-display); font-weight: 400; font-size: 28px; color: var(--text); }
.legal-body a { color: var(--accent); }
@media (max-width: 900px) {
  .legal { grid-template-columns: 1fr; gap: 32px; padding: 64px 0 48px; }
  .legal-toc { display: none; }
}

/* 404 */
.notfound { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; gap: 24px; padding: 120px 0; }
.notfound h1 { font-size: clamp(54px, 8vw, 120px); }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}

/* Contact (email-only version) */
.contact-simple { grid-template-columns: minmax(0, 1fr) 420px; }
@media (max-width: 900px) { .contact-simple { grid-template-columns: 1fr; } }
