:root {
  --paper: #fbfaf7;
  --warm: #f1eee6;
  --ink: #1d2621;
  --muted: #667068;
  --line: rgba(29, 38, 33, .14);
  --green: #245a43;
  --green-dark: #173b2c;
  --lime: #cfe86f;
  --coral: #f08b6d;
  --yellow: #f4c95d;
  --white: #fff;
  --shadow: 0 24px 60px rgba(41, 48, 37, .12), 0 4px 14px rgba(41, 48, 37, .07);
  --radius: 18px;
  --shell: min(1160px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--lime); color: var(--ink); }
.shell { width: var(--shell); margin-inline: auto; }

.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 100;
  background: var(--ink); color: white; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(251,250,247,.88);
  border-bottom: 1px solid transparent; backdrop-filter: blur(14px);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 26px rgba(29,38,33,.04); }
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.02em; }
.brand-mark {
  width: 33px; height: 33px; display: grid; place-items: center; border-radius: 50% 50% 44% 56% / 55% 43% 57% 45%;
  background: var(--green); color: var(--lime); font-family: "DM Mono", monospace; font-size: 14px; transform: rotate(-5deg);
}
nav { display: flex; gap: 32px; margin-left: auto; }
nav a, .footer-links a { color: var(--muted); font-size: 14px; font-weight: 600; }
nav a:hover, .footer-links a:hover { color: var(--green); }

.button {
  min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 18px;
  border-radius: 999px; padding: 10px 20px; font-size: 14px; font-weight: 700;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.button-small { min-height: 40px; padding: 8px 16px; }
.button-ink { color: white; background: var(--ink); }
.button-ink:hover { background: var(--green); }
.button-primary { background: var(--green); color: white; box-shadow: 0 10px 28px rgba(36,90,67,.2); }
.button-primary:hover { background: var(--green-dark); box-shadow: 0 14px 32px rgba(36,90,67,.25); }
.button-light { background: var(--lime); color: var(--ink); min-width: 220px; }
.button-light:hover { background: white; }
.text-link { font-size: 14px; font-weight: 700; border-bottom: 1px solid var(--line); padding-block: 8px 5px; }
.text-link:hover { color: var(--green); border-color: var(--green); }

.hero { min-height: 680px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 60px; padding-block: 92px 110px; }
.eyebrow, .section-kicker, .scene-label, .process-label, .note-number {
  font-family: "DM Mono", monospace; text-transform: uppercase; letter-spacing: .09em; font-size: 11px; font-weight: 500;
}
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--green); margin: 0 0 22px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 5px rgba(240,139,109,.15); }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(54px, 6vw, 82px); line-height: .99; letter-spacing: -.065em; margin-bottom: 28px; max-width: 680px; }
h1 em, .section-heading h2 em { color: var(--green); font-family: Georgia, serif; font-weight: 400; }
.lede { color: var(--muted); font-size: 19px; line-height: 1.65; max-width: 610px; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 34px; }

.hero-scene { position: relative; min-height: 470px; border-radius: 48% 52% 44% 56% / 58% 42% 58% 42%; background: var(--warm); overflow: hidden; isolation: isolate; }
.hero-scene::after { content: ""; position: absolute; inset: 18px; border: 1px dashed rgba(36,90,67,.18); border-radius: inherit; z-index: -1; }
.sun { position: absolute; width: 245px; height: 245px; border-radius: 50%; background: var(--yellow); left: 50%; top: 50%; translate: -50% -48%; opacity: .85; }
.orbit { position: absolute; border: 1px solid rgba(36,90,67,.18); border-radius: 50%; left: 50%; top: 50%; translate: -50% -50%; transform: rotate(-18deg); }
.orbit-one { width: 400px; height: 185px; }
.orbit-two { width: 230px; height: 390px; }
.scene-card { position: absolute; width: 180px; min-height: 168px; background: rgba(255,255,255,.92); border: 1px solid rgba(29,38,33,.1); border-radius: 14px; padding: 18px; box-shadow: var(--shadow); backdrop-filter: blur(8px); }
.card-idea { left: 11%; top: 22%; transform: rotate(-5deg); }
.card-system { right: 9%; bottom: 18%; transform: rotate(4deg); }
.scene-label { color: var(--muted); }
.scene-card strong { display: block; font-size: 24px; margin: 20px 0; letter-spacing: -.04em; }
.card-idea i { display: block; height: 5px; background: var(--warm); border-radius: 5px; margin-top: 9px; }
.card-idea i:last-child { width: 68%; }
.tiny-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin: 22px 0; }
.tiny-grid i { aspect-ratio: 1; border-radius: 5px; background: var(--warm); }
.tiny-grid i:nth-child(2), .tiny-grid i:nth-child(6) { background: var(--lime); }
.good { font-size: 10px; color: var(--green); font-weight: 700; }
.good b { display: inline-block; width: 6px; height: 6px; background: #51a46f; border-radius: 50%; margin-right: 5px; }
.connector { position: absolute; inset: 47% auto auto 48%; font-size: 34px; font-family: Georgia, serif; color: var(--green); transform: rotate(-8deg); }
.spark { position: absolute; color: var(--coral); font-size: 26px; }
.spark-one { top: 11%; right: 26%; }.spark-two { bottom: 10%; left: 30%; font-size: 17px; color: var(--green); }

.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--ink); color: white; padding: 14px 0; }
.marquee-track { width: max-content; display: flex; align-items: center; gap: 30px; animation: marquee 28s linear infinite; font-family: "DM Mono", monospace; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.marquee-track b { color: var(--lime); font-size: 10px; }
@keyframes marquee { to { transform: translateX(-50%); } }

.section { padding-block: 120px; }
.section-kicker { display: flex; align-items: center; gap: 12px; color: var(--green); margin-bottom: 36px; }
.section-kicker span { border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.about h2, .section-heading h2, .notes h2 { font-size: clamp(40px, 5vw, 64px); line-height: 1.08; letter-spacing: -.055em; }
.about h2 span { color: var(--green); font-family: Georgia, serif; font-style: italic; font-weight: 400; }
.about-copy { padding-top: 7px; }
.about-copy p { color: var(--muted); max-width: 560px; }
.about-copy .lead-paragraph { color: var(--ink); font-size: 21px; font-weight: 600; line-height: 1.5; }
.principles { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 32px; }
.principles span { border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; font: 500 11px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .05em; }

.proserve { background: var(--warm); border-radius: 42px 42px 0 0; }
.section-heading { max-width: 760px; margin-bottom: 58px; }
.section-heading h2 { margin-bottom: 22px; }
.section-heading p { color: var(--muted); font-size: 18px; max-width: 580px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { background: var(--paper); border: 1px solid rgba(29,38,33,.09); border-radius: var(--radius); padding: 28px; min-height: 430px; transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.service-top { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font: 500 11px "DM Mono", monospace; }
.service-icon { width: 46px; height: 46px; display: grid; place-items: center; background: var(--lime); color: var(--green-dark); border-radius: 50%; font-size: 25px; }
.service-card:nth-child(2) .service-icon { background: var(--yellow); }
.service-card:nth-child(3) .service-icon { background: #efae9c; }
.service-card h3 { font-size: 25px; letter-spacing: -.035em; margin: 52px 0 15px; }
.service-card p { color: var(--muted); font-size: 14px; min-height: 92px; }
.service-card ul { padding: 18px 0 0; margin: 0; border-top: 1px solid var(--line); list-style: none; }
.service-card li { font-size: 13px; margin-top: 9px; }
.service-card li::before { content: "↳"; color: var(--green); margin-right: 9px; }
.process { margin-top: 74px; padding-top: 30px; border-top: 1px solid var(--line); }
.process-label { color: var(--green); }
.process ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 0; margin: 27px 0 0; list-style: none; }
.process li { position: relative; display: grid; gap: 3px; }
.process li:not(:last-child)::after { content: "→"; position: absolute; right: 16px; top: 19px; color: var(--muted); }
.process li > span { color: var(--coral); font: 500 10px "DM Mono", monospace; }
.process strong { font-size: 17px; }.process small { color: var(--muted); font-size: 12px; }

.notes { display: grid; grid-template-columns: .7fr 1.3fr; gap: 100px; }
.notes-intro > p { color: var(--muted); max-width: 430px; }
.note-list article { display: grid; grid-template-columns: 90px 1fr auto; gap: 24px; padding: 27px 0; border-top: 1px solid var(--line); }
.note-list article:last-of-type { border-bottom: 1px solid var(--line); }
.note-number { color: var(--green); padding-top: 5px; }
.note-list h3 { font-size: 20px; letter-spacing: -.025em; margin-bottom: 4px; }
.note-list p { color: var(--muted); font-size: 13px; margin-bottom: 0; }
.note-arrow { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; }
.coming-soon { margin-top: 20px; font: 400 11px "DM Mono", monospace; }

.contact { background: var(--green-dark); color: white; text-align: center; padding-block: 115px; }
.contact-inner { max-width: 780px; }
.eyebrow.light { color: var(--lime); justify-content: center; }
.contact h2 { font-size: clamp(48px, 6vw, 76px); line-height: 1.02; letter-spacing: -.06em; margin-bottom: 24px; }
.contact p:not(.eyebrow) { color: rgba(255,255,255,.7); max-width: 600px; margin: 0 auto 34px; font-size: 18px; }
.contact small { display: block; color: rgba(255,255,255,.48); margin-top: 18px; font-size: 11px; }
footer { background: var(--ink); color: white; padding-block: 44px; }
.footer-inner { display: grid; grid-template-columns: .7fr 1.2fr .8fr auto; gap: 42px; align-items: center; }
.footer-inner p { color: rgba(255,255,255,.5); font-size: 12px; line-height: 1.5; margin: 0; }
.footer-links { display: flex; gap: 20px; }.footer-links a { color: rgba(255,255,255,.6); }
.copyright { color: rgba(255,255,255,.35); font: 400 10px "DM Mono", monospace; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 70px; }
  .hero-copy { max-width: 720px; }
  .hero-scene { min-height: 430px; max-width: 650px; width: 100%; margin-inline: auto; }
  .about-grid, .notes { grid-template-columns: 1fr; gap: 36px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .service-card p { min-height: auto; }
  .process ol { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .process li:nth-child(2)::after { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  :root { --shell: min(100% - 30px, 1160px); }
  .nav-wrap { min-height: 68px; }.nav-wrap > .button { display: none; }
  .hero { min-height: auto; padding-block: 65px 74px; gap: 56px; }
  h1 { font-size: 49px; }
  .lede { font-size: 17px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 14px; }
  .hero-scene { min-height: 350px; border-radius: 36% 64% 42% 58% / 54% 40% 60% 46%; }
  .sun { width: 190px; height: 190px; }
  .orbit-one { width: 300px; height: 150px; }.orbit-two { width: 180px; height: 300px; }
  .scene-card { width: 142px; min-height: 140px; padding: 13px; }
  .card-idea { left: 5%; top: 18%; }.card-system { right: 4%; bottom: 15%; }
  .scene-card strong { font-size: 20px; margin: 14px 0; }
  .tiny-grid { margin: 14px 0; }
  .connector { font-size: 25px; }
  .section { padding-block: 82px; }
  .about h2, .section-heading h2, .notes h2 { font-size: 42px; }
  .proserve { border-radius: 28px 28px 0 0; }
  .service-card { padding: 23px; }
  .process ol { grid-template-columns: 1fr; }
  .process li::after { display: none; }
  .note-list article { grid-template-columns: 1fr auto; gap: 10px; }
  .note-number { grid-column: 1 / -1; }.note-arrow { grid-column: 2; grid-row: 2; }
  .contact { padding-block: 84px; }.contact h2 { font-size: 48px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
