:root {
  --forest: #0a3326;
  --forest-deep: #06281e;
  --tech: #2f6e43;
  --nature: #72a276;
  --ink: #172127;
  --muted: #52655b;
  --surface: #f2f5f2;
  --surface-2: #e6eee8;
  --line: #cbdace;
  --white: #ffffff;
  --shell: min(1180px, calc(100vw - 48px));
  --radius: 3px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button { font: inherit; }
img, svg { display: block; max-width: 100%; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 100;
  padding: 12px 18px; background: var(--white); color: var(--forest); border-radius: 2px;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 32px rgba(6,40,30,.06); }
.header-inner { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: block; width: 242px; }
.brand img { width: 100%; height: auto; }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a {
  position: relative; text-decoration: none; color: #35483e; font-size: .95rem; font-weight: 600;
}
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--tech); transition: right .2s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { right: 0; }
.menu-button { display: none; }

.hero {
  min-height: 720px; display: grid; align-items: center;
  padding: 94px 0 110px;
  overflow: hidden;
  background:
    radial-gradient(circle at 83% 3%, rgba(114,162,118,.18) 0 14%, transparent 14.2%),
    linear-gradient(180deg, #f7f9f7 0%, var(--surface) 100%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr); align-items: center; gap: 76px; }
.eyebrow { margin: 0 0 18px; color: var(--tech); font-size: .77rem; line-height: 1.3; font-weight: 750; letter-spacing: .23em; text-transform: uppercase; }
.hero h1, .section h2, .principles h2 {
  margin: 0; font-size: clamp(3.5rem, 6.4vw, 6.15rem); line-height: .98; letter-spacing: -.062em; font-weight: 730;
}
.hero h1 em { color: var(--tech); font-style: normal; font-weight: 390; }
.hero-lead { max-width: 640px; margin: 32px 0 0; color: #41544a; font-size: 1.24rem; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 40px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 52px; padding: 0 23px; text-decoration: none; font-weight: 700; border-radius: var(--radius); }
.button-primary { background: var(--forest); color: var(--white); box-shadow: 0 12px 30px rgba(10,51,38,.16); transition: transform .2s ease, background .2s ease; }
.button-primary:hover, .button-primary:focus-visible { transform: translateY(-2px); background: var(--tech); }
.text-link { text-decoration: none; color: var(--forest); font-weight: 700; }
.text-link span { display: inline-block; margin-left: 8px; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }

.hero-system {
  position: relative; min-height: 510px; padding: 36px 34px;
  margin-left: 54px; margin-right: -54px;
  background: var(--forest); color: var(--white); border-radius: 3px;
  box-shadow: 0 26px 70px rgba(10,51,38,.19);
}
.hero-system::before {
  content: ""; position: absolute; inset: -12px 12px 12px -12px; z-index: -1;
  border: 1px solid var(--nature);
}
.system-label { margin-bottom: 34px; color: #bed1c2; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; }
.system-stage { position: relative; padding: 19px 21px 18px 72px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13); }
.system-stage::before {
  content: ""; position: absolute; left: 24px; top: 50%; width: 24px; height: 24px; transform: translateY(-50%) rotate(45deg);
  border: 1px solid var(--nature);
}
.stage-core { background: var(--white); color: var(--ink); border-color: var(--white); }
.stage-core::before { background: var(--nature); border-color: var(--nature); box-shadow: inset 0 0 0 7px var(--white); }
.stage-kicker { display: block; color: var(--nature); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 750; }
.system-stage strong { display: block; margin-top: 2px; font-size: 1.07rem; }
.system-stage small { display: block; color: #b8c9bd; font-size: .77rem; }
.stage-core small { color: #68776f; }
.system-path { height: 40px; display: grid; grid-template-columns: 1fr 6px 1fr; align-items: center; width: 74%; margin: auto; }
.system-path span { height: 1px; background: #59856b; }
.system-path i { width: 6px; height: 6px; background: var(--nature); border-radius: 50%; box-shadow: 0 0 0 5px rgba(114,162,118,.13); }
.statement { padding: 84px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.statement p { max-width: 1040px; margin: 0; font-size: clamp(2rem, 4vw, 4.15rem); line-height: 1.13; letter-spacing: -.045em; font-weight: 350; }
.statement strong { color: var(--tech); font-weight: 680; }

.section { padding: 124px 0; }
.section-heading { display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 80px; margin-bottom: 66px; }
.section h2, .principles h2 { font-size: clamp(2.65rem, 4.6vw, 4.8rem); }
.section-heading > p { max-width: 500px; margin: 0 0 4px; color: var(--muted); font-size: 1.03rem; }
.services { background: var(--white); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 390px; padding: 30px 30px 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.service-index { color: #789083; font-size: .76rem; letter-spacing: .12em; }
.service-icon { width: 55px; height: 55px; margin: 52px 0 31px; color: var(--tech); }
.service-icon svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin: 0 0 16px; font-size: 1.4rem; }
.service-card p { margin: 0; color: var(--muted); }

.portfolio { background: #e9efea; }
.filter-bar { display: flex; gap: 8px; margin: -25px 0 28px; }
.filter { min-height: 42px; padding: 0 18px; border: 1px solid #bfcfc3; background: transparent; color: var(--forest); cursor: pointer; border-radius: 999px; font-weight: 650; }
.filter:hover, .filter:focus-visible { border-color: var(--tech); }
.filter.is-active { background: var(--forest); color: var(--white); border-color: var(--forest); }
.product-list { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; }
.product-card { position: relative; min-height: 540px; overflow: hidden; padding: 29px 32px 34px; background: var(--white); border: 1px solid #c7d4ca; color: inherit; text-decoration: none; transition: transform .25s ease, opacity .22s ease, box-shadow .25s ease; }
.product-card.is-hidden { display: none; }
.product-card:hover, .product-card:focus-visible { transform: translateY(-4px); box-shadow: 0 18px 50px rgba(10,51,38,.11); outline: none; }
.product-featured { grid-row: span 2; min-height: 860px; }
.product-dark { background: var(--forest); color: var(--white); border-color: var(--forest); }
.product-meta { display: flex; align-items: center; justify-content: space-between; }
.product-number { color: #799086; font-size: .75rem; letter-spacing: .15em; }
.product-dark .product-number { color: #a8c0ae; }
.status { padding: 6px 10px; border-radius: 999px; font-size: .67rem; line-height: 1; letter-spacing: .1em; text-transform: uppercase; font-weight: 750; }
.status-pilot { color: #285c39; background: #deebdf; }
.status-available { color: var(--white); background: var(--tech); }
.status-prototype { color: var(--white); background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.17); }
.product-body { position: relative; z-index: 2; max-width: 500px; margin-top: 82px; }
.product-featured .product-body { margin-top: 128px; }
.product-type { margin: 0 0 13px; color: var(--tech); font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; font-weight: 740; }
.product-dark .product-type { color: #9ac29e; }
.product-body h3 { margin: 0 0 26px; font-size: clamp(2.25rem, 4vw, 4.6rem); line-height: .98; letter-spacing: -.05em; }
.product-body h3 span { font-weight: 360; color: var(--tech); }
.product-body > p:not(.product-type) { max-width: 520px; margin: 0; color: var(--muted); }
.product-dark .product-body > p:not(.product-type) { color: #c4d2c8; }
.product-body ul { margin: 26px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.product-dark .product-body ul { border-color: rgba(255,255,255,.18); }
.product-body li { padding: 9px 0; border-bottom: 1px solid var(--line); color: #385046; font-size: .88rem; }
.product-dark .product-body li { border-color: rgba(255,255,255,.18); color: #d1ddd4; }
.product-body li::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 10px 2px 1px; background: var(--nature); border-radius: 50%; }
.product-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; color: var(--forest); font-weight: 750; }
.product-link i { font-style: normal; transition: transform .2s ease; }
.product-card:hover .product-link i, .product-card:focus-visible .product-link i { transform: translateX(5px); }
.product-dark .product-link { color: var(--white); }
.product-signal { position: absolute; inset: auto 0 0; height: 250px; opacity: .9; }
.product-signal svg { width: 100%; height: 100%; }
.product-signal .grid { fill: none; stroke: #dbe5dd; stroke-width: .7; }
.product-signal .pulse { fill: none; stroke: var(--tech); stroke-width: 2.3; vector-effect: non-scaling-stroke; }
.battery-mark { position: absolute; right: -72px; bottom: -64px; width: 190px; height: 260px; border: 3px solid #d7e3d9; border-radius: 28px 28px 0 0; display: grid; place-items: center; color: #bed2c2; font-size: 5.5rem; font-weight: 200; opacity: .68; }
.battery-mark::before { content: ""; position: absolute; top: -16px; width: 62px; height: 14px; background: #d7e3d9; border-radius: 4px 4px 0 0; }
.battery-mark i { position: absolute; inset: auto 0 0; height: 46%; background: #dce9de; }
.battery-mark span { position: relative; z-index: 1; }
.carconnect-mark { position: absolute; right: -35px; bottom: -32px; width: 220px; height: 220px; }
.cc-ring { position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.26); border-radius: 50%; }
.cc-ring::before, .cc-ring::after { content: ""; position: absolute; border: 1px solid rgba(114,162,118,.52); border-radius: 50%; }
.cc-ring::before { inset: 24px; }
.cc-ring::after { inset: 58px; background: rgba(114,162,118,.08); }
.cc-ring i { position: absolute; z-index: 2; width: 11px; height: 11px; top: 37px; left: 42px; background: var(--nature); border-radius: 50%; box-shadow: 0 0 0 9px rgba(114,162,118,.09); }
.cc-road { position: absolute; left: 106px; top: 56px; width: 1px; height: 108px; background: linear-gradient(transparent, var(--nature), transparent); transform: rotate(31deg); }
.portfolio-note { display: flex; gap: 12px; max-width: 790px; margin: 27px 0 0; color: #52665a; font-size: .85rem; }
.portfolio-note span { flex: 0 0 auto; width: 7px; height: 7px; margin-top: 7px; background: var(--tech); border-radius: 50%; }

.workflow { background: var(--white); }
.workflow-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 105px; }
.workflow-copy > p:last-child { max-width: 520px; margin: 28px 0 0; color: var(--muted); }
.workflow-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.workflow-steps li { display: grid; grid-template-columns: 54px 1fr; gap: 24px; padding: 30px 0 31px; border-bottom: 1px solid var(--line); }
.workflow-steps > li > span { color: var(--tech); font-size: .75rem; letter-spacing: .1em; padding-top: 6px; }
.workflow-steps h3 { margin: 0 0 6px; font-size: 1.28rem; }
.workflow-steps p { margin: 0; color: var(--muted); }

.principles { padding: 124px 0; background: var(--forest); color: var(--white); }
.principles-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 110px; }
.eyebrow-light { color: #9cc2a2; }
.principles h2 em { color: var(--nature); font-style: normal; font-weight: 380; }
.principle-list { border-top: 1px solid rgba(255,255,255,.2); }
.principle-list article { display: grid; grid-template-columns: 54px 160px 1fr; gap: 20px; align-items: baseline; padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.principle-list span { color: #94b99a; font-size: .73rem; }
.principle-list h3 { margin: 0; font-size: 1.18rem; }
.principle-list p { margin: 0; color: #bdd0c2; font-size: .92rem; }

.site-footer { padding: 66px 0 24px; background: #f8faf8; }
.footer-main { display: flex; justify-content: space-between; gap: 40px; align-items: flex-end; }
.footer-main img { width: 260px; }
.footer-main p { margin: 16px 0 0; color: var(--muted); }
.footer-main nav { display: flex; gap: 25px; }
.footer-main nav a { color: #43564c; text-decoration: none; font-weight: 600; }
.footer-main nav a:hover { color: var(--tech); }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 52px; padding-top: 20px; border-top: 1px solid var(--line); color: #708077; font-size: .78rem; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  :root { --shell: min(100% - 36px, 760px); }
  .hero { min-height: auto; padding-top: 75px; }
  .hero-grid, .section-heading, .workflow-grid, .principles-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 68px; }
  .hero-system { min-height: 490px; margin-inline: 0; }
  .section-heading { gap: 25px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 310px; }
  .service-icon { margin: 35px 0 22px; }
  .product-list { grid-template-columns: 1fr; }
  .product-featured { grid-row: auto; min-height: 760px; }
  .workflow-grid, .principles-grid { gap: 62px; }
}

@media (max-width: 680px) {
  :root { --shell: calc(100vw - 30px); }
  .header-inner { min-height: 76px; }
  .brand { width: 184px; }
  .menu-button { display: inline-flex; align-items: center; gap: 10px; border: 0; background: transparent; color: var(--forest); cursor: pointer; font-weight: 700; }
  .menu-button i, .menu-button i::before { display: block; width: 21px; height: 1px; background: currentColor; transition: transform .2s ease; }
  .menu-button i { position: relative; }
  .menu-button i::before { content: ""; position: absolute; top: 6px; }
  .menu-button[aria-expanded="true"] i { transform: rotate(45deg); }
  .menu-button[aria-expanded="true"] i::before { top: 0; transform: rotate(90deg); }
  .site-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 15px 18px; background: var(--surface); border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .site-nav a::after { display: none; }
  .hero { padding: 61px 0 80px; }
  .hero h1 { font-size: clamp(1.95rem, 8vw, 2.5rem); letter-spacing: -.045em; }
  .hero-lead { margin-top: 25px; font-size: 1.08rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .hero-system { min-height: 480px; padding: 27px 22px; }
  .system-stage { padding-left: 64px; }
  .system-note { left: 22px; }
  .statement { padding: 65px 0; }
  .section, .principles { padding: 88px 0; }
  .section h2, .principles h2 { font-size: clamp(2.5rem, 12vw, 3.6rem); }
  .service-card { padding: 26px 24px 30px; }
  .filter-bar { overflow-x: auto; padding-bottom: 4px; }
  .filter { white-space: nowrap; }
  .product-card { min-height: 570px; padding: 25px 23px 30px; }
  .product-featured { min-height: 730px; }
  .product-body, .product-featured .product-body { margin-top: 70px; }
  .product-body h3 { font-size: 2.8rem; }
  .battery-mark, .carconnect-mark { opacity: .7; }
  .workflow-grid, .principles-grid { gap: 52px; }
  .principle-list article { grid-template-columns: 36px 1fr; gap: 16px; }
  .principle-list p { grid-column: 2; }
  .footer-main, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-main nav { flex-direction: column; gap: 9px; }
  .footer-bottom { margin-top: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}
