:root {
  --ink: #171717;
  --ink-soft: #242424;
  --paper: #f6f5f1;
  --white: #ffffff;
  --solar: #f0a531;
  --solar-bright: #ffb33c;
  --line: rgba(23, 23, 23, .16);
  --line-light: rgba(255, 255, 255, .2);
  --muted: #706f6a;
  --shell: min(1240px, calc(100vw - 64px));
  --sans: "Aptos", "Inter", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
button, input, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 100; background: var(--solar); padding: .75rem 1rem; font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 1rem; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--white); border-bottom: 1px solid rgba(255,255,255,.17); transition: background .25s, color .25s, border-color .25s; }
.site-header.scrolled { background: rgba(246,245,241,.95); color: var(--ink); border-color: var(--line); backdrop-filter: blur(14px); }
.header-inner { height: 82px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: .7rem; font-size: 1.28rem; font-weight: 750; letter-spacing: -.04em; }
.brand > span:last-child > span { color: var(--solar); }
.brand-mark { display: grid; grid-template-columns: repeat(3, 5px); grid-template-rows: repeat(2, 5px); gap: 2px; transform: skew(-12deg); }
.brand-mark i { display: block; background: var(--solar); }
.nav { display: flex; align-items: center; gap: 1.8rem; font-size: .83rem; font-weight: 620; }
.nav > a:not(.nav-cta) { opacity: .78; transition: opacity .2s; }
.nav > a:not(.nav-cta):hover { opacity: 1; }
.nav-cta { display: inline-flex; align-items: center; gap: 1.8rem; border: 1px solid currentColor; padding: .72rem .9rem .72rem 1rem; }
.menu-button { display: none; background: none; border: 0; padding: .6rem; color: inherit; }
.menu-button span { display: block; width: 24px; height: 1px; margin: 5px 0; background: currentColor; }

.hero { min-height: 800px; height: 100svh; color: var(--white); display: flex; align-items: flex-end; position: relative; overflow: hidden; background: var(--ink); }
.hero-image { position: absolute; inset: 0; background: url("assets/lightarray-membrane-roof.webp") center 48% / cover no-repeat; transform: scale(1.015); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,.92) 0%, rgba(10,10,10,.65) 42%, rgba(10,10,10,.08) 78%), linear-gradient(0deg, rgba(10,10,10,.72), transparent 45%); }
.hero-grid { position: absolute; inset: 0; opacity: .13; background-image: linear-gradient(rgba(255,255,255,.22) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.22) 1px, transparent 1px); background-size: 11vw 11vw; mask-image: linear-gradient(to right, black, transparent 68%); }
.hero-content { position: relative; z-index: 2; padding: 150px 0 42px; }
.eyebrow { margin: 0 0 1.4rem; color: #805714; font-size: .74rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow.light { color: var(--solar-bright); }
.hero h1 { max-width: 940px; margin: 0; font-size: clamp(3.6rem, 6.6vw, 7.1rem); font-weight: 520; line-height: .94; letter-spacing: -.066em; text-wrap: balance; }
.hero h1 em { display: block; color: var(--solar-bright); font-style: normal; }
.hero-copy { max-width: 610px; margin: 2rem 0 0; font-size: 1.12rem; line-height: 1.58; color: rgba(255,255,255,.8); }
.hero-actions { display: flex; gap: .85rem; margin-top: 2rem; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: space-between; gap: 2.3rem; padding: .82rem 1rem .82rem 1.15rem; border: 1px solid transparent; font-size: .88rem; font-weight: 750; transition: background .2s, color .2s, border-color .2s, transform .2s; cursor: pointer; }
.button:hover { transform: translateY(-2px); }
.button-solar { background: var(--solar); color: var(--ink); }
.button-solar:hover { background: var(--solar-bright); }
.button-ghost { color: var(--white); border-color: rgba(255,255,255,.45); background: rgba(20,20,20,.2); backdrop-filter: blur(6px); }
.button-ghost:hover { border-color: var(--white); }
.hero-index { margin-top: 4.6rem; padding-top: 1.1rem; border-top: 1px solid var(--line-light); display: grid; grid-template-columns: repeat(3, 1fr); max-width: 760px; font-size: .71rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.72); }
.hero-index b { margin-right: .75rem; color: var(--solar); }

.section { padding: 112px 0; }
.intro-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 10%; }
h2 { margin: 0; font-size: clamp(2.7rem, 4.5vw, 5rem); font-weight: 560; line-height: 1.02; letter-spacing: -.055em; text-wrap: balance; }
.intro-copy { padding-top: 3.5rem; }
.intro-copy > p { margin: 0 0 1.25rem; max-width: 650px; font-size: 1.18rem; color: #494844; }
.principle { margin-top: 2.6rem; display: flex; align-items: center; gap: 1.1rem; border-top: 1px solid var(--line); padding-top: 1.4rem; }
.principle > span { width: 54px; aspect-ratio: 1; display: grid; place-items: center; background: var(--ink); color: var(--solar); font-size: .78rem; font-weight: 800; }
.principle p { margin: 0; line-height: 1.35; }
.principle strong { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }

.section-dark { background: var(--ink); color: var(--white); }
.section-heading { margin-bottom: 4rem; }
.split-heading { display: grid; grid-template-columns: 1fr .7fr; gap: 10%; align-items: end; }
.split-heading p:last-child { color: rgba(255,255,255,.6); max-width: 480px; margin: 0 0 .4rem; font-size: 1.07rem; }
.application-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }
.application-card { min-height: 310px; padding: 1.4rem; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; transition: background .25s; }
.application-card:hover { background: rgba(255,255,255,.045); }
.card-featured { background: var(--solar); color: var(--ink); }
.card-featured:hover { background: var(--solar-bright); }
.card-number { font-size: .7rem; letter-spacing: .14em; opacity: .68; }
.application-card h3 { max-width: 290px; margin: 0 0 .75rem; font-size: 1.55rem; line-height: 1.1; letter-spacing: -.025em; }
.application-card p { max-width: 300px; margin: 0; color: rgba(255,255,255,.58); font-size: .91rem; }
.card-featured p { color: rgba(23,23,23,.7); }
.roof-lines { position: absolute; right: -20%; top: 12%; width: 90%; height: 46%; transform: perspective(300px) rotateX(56deg) rotateZ(-9deg); }
.roof-lines span { display: block; height: 25%; border-top: 1px solid rgba(23,23,23,.35); background-image: linear-gradient(90deg, rgba(23,23,23,.3) 1px, transparent 1px); background-size: 25% 100%; }

.technology { background: #deddd8; }
.technology-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 9%; align-items: center; }
.tech-visual { min-height: 600px; position: relative; }
.module { position: absolute; width: 76%; aspect-ratio: 1.5; padding: 1rem; background: #161616; border: 1px solid #383838; box-shadow: 0 28px 55px rgba(0,0,0,.19); transform: skewY(-2deg); }
.module span { color: rgba(255,255,255,.55); font-size: .65rem; letter-spacing: .12em; }
.module-back { top: 6%; left: 20%; transform: rotate(9deg) skewY(-2deg); background: #2d2d2d; }
.module-front { top: 22%; left: 4%; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(3, 1fr); gap: 4px; background: #111; overflow: hidden; }
.module-front span { position: absolute; left: 1rem; top: 1rem; z-index: 2; }
.module-front i { display: block; background: linear-gradient(145deg, #222 0%, #101010 55%, #2d261b 100%); border: 1px solid #343434; }
.tech-note { position: absolute; z-index: 3; background: var(--paper); border: 1px solid var(--line); padding: .55rem .7rem; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; }
.note-a { left: 0; top: 10%; }
.note-b { right: 0; bottom: 18%; }
.tech-note b { color: #8b5c10; }
.technology-copy > p:not(.eyebrow) { max-width: 600px; color: #4e4d49; font-size: 1.06rem; }
.technology-copy h2 { margin-bottom: 2.1rem; }
.tech-list { display: grid; grid-template-columns: 1fr 1fr; margin-top: 2.5rem; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.tech-list span { padding: 1rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .74rem; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; }

.pilot { position: relative; overflow: hidden; background: #202020; color: var(--white); }
.pilot-lines { position: absolute; inset: 0; opacity: .08; background-image: repeating-linear-gradient(120deg, transparent 0 95px, #fff 96px 97px); }
.pilot-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 10%; }
.pilot-heading > p:not(.eyebrow) { max-width: 530px; color: rgba(255,255,255,.64); font-size: 1.08rem; margin: 1.8rem 0 2.2rem; }
.assessment-panel { border: 1px solid var(--line-light); background: rgba(10,10,10,.35); backdrop-filter: blur(6px); }
.panel-label { margin: 0; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line-light); color: var(--solar); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.assessment-panel ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; }
.assessment-panel li { min-height: 90px; padding: 1.1rem 1.25rem; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); display: flex; flex-direction: column; justify-content: space-between; font-size: .88rem; }
.assessment-panel li:nth-child(even) { border-right: 0; }
.assessment-panel li:nth-last-child(-n+2) { border-bottom: 0; }
.assessment-panel li span { color: rgba(255,255,255,.37); font-size: .65rem; }

.partners { background: var(--white); }
.partner-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 12%; align-items: end; }
.partner-heading > div:last-child > p { color: #5b5a56; font-size: 1.07rem; margin: 0 0 1.5rem; }
.text-link { display: inline-flex; gap: 2rem; padding-bottom: .4rem; border-bottom: 1px solid var(--ink); font-size: .82rem; font-weight: 750; }
.partner-track { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.partner-track span { min-height: 104px; padding: 1.25rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; align-items: flex-end; font-size: 1rem; font-weight: 620; }
.partner-track span::before { content: "+"; align-self: flex-start; margin-right: auto; color: #9a6818; }

.contact { background: #111; color: var(--white); }
.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 10%; }
.contact-intro > p:not(.eyebrow) { color: rgba(255,255,255,.82); max-width: 510px; }
.contact-callout { margin-top: 3rem; max-width: 480px; border-top: 1px solid rgba(255,255,255,.38); padding-top: 1.25rem; display: flex; gap: 1rem; color: rgba(255,255,255,.84); }
.contact-callout > span { color: var(--solar); }
.contact-callout p { margin: 0; }
.contact-callout strong { color: var(--white); }
.contact-form { padding-top: 2.4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.contact-form label { display: block; margin-bottom: 1.5rem; }
.contact-form label > span { display: block; margin-bottom: .55rem; color: rgba(255,255,255,.86); font-size: .76rem; font-weight: 650; letter-spacing: .11em; text-transform: uppercase; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid rgba(255,255,255,.48); border-radius: 0; background: rgba(255,255,255,.055); color: var(--white); caret-color: var(--solar-bright); padding: .82rem .9rem; outline: 0; resize: vertical; transition: border-color .2s, background .2s, box-shadow .2s; }
.contact-form textarea { min-height: 132px; }
.contact-form input:hover, .contact-form textarea:hover { border-color: rgba(255,255,255,.72); }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--solar-bright); background: rgba(255,255,255,.08); box-shadow: 0 0 0 3px rgba(240,165,49,.22); }
.contact-form input::placeholder { color: rgba(255,255,255,.67); opacity: 1; }
.form-footer { display: flex; align-items: center; gap: 1.5rem; }
.form-status { margin: 0; color: rgba(255,255,255,.88); font-size: .88rem; }
.form-privacy { margin: -.2rem 0 1.5rem; color: rgba(255,255,255,.76); font-size: .84rem; }
.form-privacy a { color: var(--white); font-weight: 650; border-bottom: 1px solid var(--solar); }
.form-privacy a:hover { border-color: var(--solar); }

.footer { background: #111; color: rgba(255,255,255,.5); border-top: 1px solid rgba(255,255,255,.14); padding: 2rem 0; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; font-size: .72rem; }
.brand-footer { color: var(--white); justify-self: start; }
.footer-grid p { margin: 0; text-align: center; }
.footer-grid p:last-child { text-align: right; }
.footer-links { display: flex; justify-content: center; gap: 1.25rem; }
.footer-links a { border-bottom: 1px solid transparent; }
.footer-links a:hover { color: var(--white); border-color: var(--solar); }

.legal-page { background: var(--paper); }
.legal-header { position: relative; color: var(--ink); background: var(--paper); border-bottom: 1px solid var(--line); }
.legal-back { display: inline-flex; align-items: center; gap: .55rem; font-size: .82rem; font-weight: 700; }
.legal-main { padding: 150px 0 100px; }
.legal-layout { display: grid; grid-template-columns: minmax(220px, .42fr) minmax(0, 1fr); gap: 9%; align-items: start; }
.legal-intro { position: sticky; top: 120px; }
.legal-intro h1 { margin: 0; font-size: clamp(3.2rem, 6vw, 5.8rem); font-weight: 560; line-height: .95; letter-spacing: -.06em; }
.legal-intro .updated { margin-top: 1.5rem; color: var(--muted); font-size: .78rem; }
.legal-content { max-width: 760px; }
.legal-content .lead { margin: 0 0 2.8rem; font-size: 1.2rem; color: #474642; }
.legal-content section { padding: 0 0 2rem; margin: 0 0 2rem; border-bottom: 1px solid var(--line); }
.legal-content section:last-child { border-bottom: 0; }
.legal-content h2 { margin: 0 0 .8rem; font-size: 1.35rem; line-height: 1.25; letter-spacing: -.02em; }
.legal-content p, .legal-content li { color: #4d4c48; }
.legal-content p { margin: .65rem 0; }
.legal-content ul { margin: .7rem 0; padding-left: 1.2rem; }
.legal-content a { border-bottom: 1px solid #a56d14; }
.legal-content a:hover { color: #805714; }
.legal-note { padding: 1.2rem; background: #e9e7e0; border-left: 3px solid var(--solar); }

@media (max-width: 980px) {
  :root { --shell: min(100% - 40px, 860px); }
  .menu-button { display: block; position: relative; z-index: 3; }
  .nav { position: fixed; inset: 0; padding: 110px 20px 40px; background: var(--ink); color: var(--white); flex-direction: column; align-items: stretch; gap: 0; transform: translateX(100%); transition: transform .28s ease; }
  .nav.open { transform: translateX(0); }
  .nav > a { padding: 1rem 0; border-bottom: 1px solid var(--line-light); font-size: 1.2rem; }
  .nav-cta { margin-top: 1rem; border: 1px solid var(--solar) !important; padding: 1rem !important; }
  .menu-button.open span:first-child { transform: translateY(6px) rotate(45deg); }
  .menu-button.open span:nth-child(2) { opacity: 0; }
  .menu-button.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .hero { min-height: 760px; }
  .hero h1 { max-width: 760px; }
  .hero-image { background-position: 58% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(10,10,10,.9), rgba(10,10,10,.48)), linear-gradient(0deg, rgba(10,10,10,.75), transparent 55%); }
  .intro-grid, .technology-grid, .pilot-grid, .contact-grid { grid-template-columns: 1fr; gap: 4rem; }
  .legal-layout { grid-template-columns: 1fr; gap: 3rem; }
  .legal-intro { position: static; }
  .intro-copy { padding-top: 0; }
  .application-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-visual { min-height: 500px; max-width: 700px; width: 100%; }
  .partner-heading { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 680px) {
  :root { --shell: calc(100vw - 32px); }
  .header-inner { height: 68px; }
  .section { padding: 76px 0; }
  .hero { min-height: 720px; height: auto; }
  .hero-content { padding: 138px 0 28px; }
  .hero h1 { font-size: clamp(3.15rem, 15.2vw, 5rem); }
  .hero-copy { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-index { grid-template-columns: 1fr; gap: .55rem; margin-top: 3.6rem; }
  .split-heading { grid-template-columns: 1fr; gap: 1.8rem; }
  .application-grid { grid-template-columns: 1fr; }
  .application-card { min-height: 250px; }
  .tech-visual { min-height: 360px; }
  .module { width: 83%; }
  .note-b { bottom: 8%; }
  .tech-list { grid-template-columns: 1fr; }
  .pilot-heading h2 { font-size: 3.5rem; }
  .assessment-panel ol { grid-template-columns: 1fr; }
  .assessment-panel li, .assessment-panel li:nth-child(even) { min-height: 76px; border-right: 0; border-bottom: 1px solid var(--line-light); }
  .assessment-panel li:last-child { border-bottom: 0; }
  .partner-track { grid-template-columns: 1fr; }
  .partner-track span { min-height: 82px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .form-footer { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .footer-grid p, .footer-grid p:last-child { text-align: left; }
  .footer-links { justify-content: flex-start; }
  .legal-main { padding: 118px 0 70px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
