:root {
  --ink: #111411;
  --ink-soft: #1a1f1a;
  --cream: #f4f1e8;
  --paper: #fbfaf6;
  --green: #55e36a;
  --green-deep: #16a34a;
  --muted: #757b73;
  --line: rgba(17, 20, 17, 0.16);
  --max: 1240px;
  --pad: clamp(22px, 5vw, 72px);
  --display: "Manrope", sans-serif;
  --body: "DM Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--green); color: var(--ink); }

.skip-link { position: fixed; top: -80px; left: 20px; z-index: 999; padding: 10px 16px; background: var(--green); color: var(--ink); text-decoration: none; font-weight: 700; }
.skip-link:focus { top: 20px; }
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: 78px; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--pad); color: var(--ink); border-bottom: 1px solid rgba(17,20,17,.1); transition: background .25s ease, height .25s ease, backdrop-filter .25s ease; }
.site-header.is-scrolled { height: 64px; background: rgba(251,250,246,.9); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-family: var(--display); font-size: 18px; font-weight: 800; letter-spacing: -.04em; }
.brand__mark { width: 14px; height: 14px; border-radius: 3px 50% 50% 50%; background: var(--green); transform: rotate(45deg); }
.nav { display: flex; align-items: center; gap: 34px; font-size: 14px; font-weight: 600; }
.nav a { text-decoration: none; color: rgba(17,20,17,.7); transition: color .2s ease; }
.nav a:hover { color: var(--ink); }
.nav .nav__cta { padding: 10px 17px; border: 1px solid rgba(17,20,17,.3); border-radius: 999px; color: var(--ink); }
.menu-button { display: none; width: 42px; height: 42px; border: 0; background: transparent; padding: 0; }
.menu-button span { display: block; width: 22px; height: 2px; margin: 6px auto; background: var(--ink); transition: transform .2s ease; }

.hero { min-height: 100svh; position: relative; overflow: hidden; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); padding: 110px var(--pad) 28px; }
.hero__glow { position: absolute; width: 700px; height: 700px; right: -180px; top: -190px; background: radial-gradient(circle, rgba(85,227,106,.28), transparent 68%); filter: blur(10px); }
.hero__inner { width: 100%; max-width: var(--max); flex: 1; margin: auto; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(430px, .95fr); align-items: center; gap: 48px; }
.hero__copy { position: relative; z-index: 2; padding: 36px 0 54px; animation: rise-in .8s cubic-bezier(.2,.8,.2,1) both; }
.eyebrow { margin: 0 0 22px; color: var(--green-deep); font-family: var(--display); font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.hero__eyebrow { color: var(--green); }
.hero h1 { max-width: 790px; margin: 0; font-family: var(--display); font-size: clamp(58px, 7.3vw, 112px); font-weight: 700; letter-spacing: -.075em; line-height: .91; text-wrap: balance; }
.hero h1 span { color: var(--green); }
.hero__lede { max-width: 670px; margin: 30px 0 0; color: var(--muted); font-size: clamp(17px, 1.55vw, 22px); line-height: 1.55; }
.hero__actions { display: flex; align-items: center; gap: 28px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 28px; min-height: 54px; padding: 0 22px; border-radius: 4px; text-decoration: none; font-size: 15px; font-weight: 700; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-3px); }
.button--green { background: var(--green); color: var(--ink); box-shadow: 0 12px 40px rgba(85,227,106,.16); }
.button--green:hover { background: #74ef86; }
.button--ghost { border: 1px solid rgba(17,20,17,.2); color: var(--ink); }
.text-link { color: var(--ink); text-underline-offset: 5px; font-weight: 600; }
.hero__proof { margin: 30px 0 0; color: rgba(17,20,17,.45); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hero__visual { position: relative; align-self: stretch; min-height: 620px; animation: visual-in 1.05s .08s cubic-bezier(.2,.8,.2,1) both; }
.hero__portrait { position: absolute; z-index: 3; width: min(82%, 520px); right: 4%; bottom: -5px; filter: grayscale(1) contrast(1.05); mix-blend-mode: normal; }
.hero__halo { position: absolute; z-index: 1; width: 72%; aspect-ratio: 1; right: 4%; top: 16%; border-radius: 50%; background: var(--green); opacity: .92; }
.hero__route { position: absolute; z-index: 4; width: 108%; left: -12%; top: 5%; pointer-events: none; }
.route-base, .route-live { fill: none; stroke-width: 2.5; stroke-linecap: round; }
.route-base { stroke: rgba(17,20,17,.16); }
.route-live { stroke: var(--green-deep); stroke-dasharray: 9 14; animation: route 14s linear infinite; }
.signal { position: absolute; z-index: 5; display: flex; align-items: center; gap: 11px; min-width: 205px; padding: 13px 15px; border: 1px solid rgba(17,20,17,.12); background: rgba(251,250,246,.9); backdrop-filter: blur(14px); box-shadow: 0 18px 50px rgba(17,20,17,.13); font-size: 13px; font-weight: 600; }
.signal small { display: block; margin-bottom: 2px; color: rgba(17,20,17,.44); font-size: 10px; letter-spacing: .08em; }
.signal--lead { left: -3%; top: 42%; }
.signal--reply { right: -2%; top: 24%; }
.signal__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 6px rgba(85,227,106,.12); }
.signal__check { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: var(--ink); font-weight: 900; }
.hero__monogram { position: absolute; right: -3%; bottom: 2%; z-index: 2; color: rgba(17,20,17,.055); font-family: var(--display); font-size: 160px; font-weight: 800; letter-spacing: -.1em; }
.hero__footer { position: relative; z-index: 6; display: flex; justify-content: space-between; gap: 16px; max-width: var(--max); width: 100%; margin: 0 auto; padding-top: 22px; border-top: 1px solid rgba(17,20,17,.12); color: rgba(17,20,17,.46); font-size: 12px; }

.tool-rail { overflow: hidden; background: var(--green); color: var(--ink); padding: 18px 0; }
.tool-rail__track { width: max-content; display: flex; gap: 28px; align-items: center; animation: ticker 28s linear infinite; font-family: var(--display); font-size: 16px; font-weight: 800; letter-spacing: -.02em; }
.tool-rail__track i { opacity: .35; font-style: normal; }
.section { padding: clamp(90px, 11vw, 160px) var(--pad); }
.section__intro { max-width: var(--max); margin: 0 auto 70px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 80px; }
.section__intro .eyebrow { grid-column: 1 / -1; }
.section__intro h2, .work__heading h2, .apps h2, .process h2, .cta h2 { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: -.06em; line-height: 1; text-wrap: balance; }
.section__intro h2 { max-width: 680px; font-size: clamp(46px, 6vw, 84px); }
.section__intro > p:last-child { max-width: 510px; margin: 8px 0 0; color: var(--muted); font-size: 19px; line-height: 1.65; }
.leaks { background: var(--cream); }
.leak-list { max-width: var(--max); margin: auto; border-top: 1px solid var(--line); }
.leak-row { display: grid; grid-template-columns: 70px minmax(170px,.8fr) 1.3fr minmax(170px,.7fr); gap: 26px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line); transition: padding .25s ease; }
.leak-row:hover { padding-left: 12px; }
.leak-row__number { font-family: var(--display); color: var(--green-deep); font-size: 12px; font-weight: 800; }
.leak-row h3 { margin: 0; font-family: var(--display); font-size: 22px; letter-spacing: -.03em; }
.leak-row p { margin: 0; color: var(--muted); line-height: 1.6; }
.leak-row strong { justify-self: end; color: var(--green-deep); font-size: 14px; }

.systems { position: relative; display: grid; grid-template-columns: minmax(320px,.8fr) minmax(0,1.2fr); gap: clamp(50px, 9vw, 140px); padding: clamp(90px, 10vw, 150px) var(--pad); background: #e9f6e9; color: var(--ink); }
.systems__sticky { position: sticky; top: 120px; align-self: start; max-width: 510px; }
.systems__sticky .eyebrow { color: var(--green-deep); }
.systems__sticky h2 { margin: 0; font-family: var(--display); font-size: clamp(48px,5.5vw,80px); font-weight: 700; letter-spacing: -.065em; line-height: .98; }
.systems__sticky > p:not(.eyebrow) { max-width: 450px; margin: 26px 0 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.systems__progress { width: 100%; max-width: 390px; height: 3px; margin-top: 38px; background: rgba(17,20,17,.12); }
.systems__progress span { display: block; width: 0; height: 100%; background: var(--green-deep); transition: width .16s linear; }
.system-steps { border-top: 1px solid rgba(17,20,17,.14); }
.system-step { min-height: 55vh; padding: 42px 0 58px; border-bottom: 1px solid rgba(17,20,17,.14); opacity: .42; transform: translateY(30px); transition: opacity .5s ease, transform .5s ease; }
.system-step.is-active { opacity: 1; transform: translateY(0); }
.system-step > span { color: var(--green-deep); font-family: var(--display); font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.system-step h3 { max-width: 660px; margin: 22px 0 16px; font-family: var(--display); font-size: clamp(32px,4vw,55px); letter-spacing: -.05em; line-height: 1.04; }
.system-step p { max-width: 640px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.system-step__flow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 34px; font-size: 13px; }
.system-step__flow b, .system-step__flow strong { padding: 10px 14px; border: 1px solid rgba(17,20,17,.17); font-weight: 600; }
.system-step__flow strong { border-color: var(--green-deep); color: var(--green-deep); }
.system-step__flow i { color: rgba(17,20,17,.3); font-style: normal; }

.work { background: var(--paper); }
.work__heading { max-width: var(--max); margin: 0 auto 70px; display: flex; justify-content: space-between; align-items: end; gap: 70px; }
.work__heading h2 { max-width: 720px; font-size: clamp(48px, 6.5vw, 92px); }
.work__heading > p { max-width: 420px; margin: 0 0 8px; color: var(--muted); font-size: 18px; line-height: 1.6; }
.work-grid { max-width: var(--max); margin: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 86px 28px; }
.work-item__media { overflow: hidden; background: #e7e6e0; }
.work-item__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .65s cubic-bezier(.2,.8,.2,1); }
.work-item:hover .work-item__media img { transform: scale(1.025); }
.work-item__meta { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; margin-top: 22px; }
.work-item__meta span { color: var(--green-deep); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.work-item__meta h3 { margin: 0; font-family: var(--display); font-size: 26px; letter-spacing: -.04em; }
.work-item__meta p { grid-column: 2; margin: 0; color: var(--muted); line-height: 1.55; }
.experience-line { max-width: var(--max); margin: 90px auto 0; padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.experience-line p { max-width: 820px; margin: 0; line-height: 1.65; }
.experience-line a { flex: 0 0 auto; color: var(--green-deep); font-weight: 700; text-underline-offset: 5px; }

.apps { position: relative; overflow: hidden; padding: clamp(90px,10vw,145px) var(--pad); background: var(--green); color: var(--ink); }
.apps::after { content: "SHIP"; position: absolute; right: -40px; bottom: -125px; color: rgba(17,20,17,.065); font-family: var(--display); font-size: clamp(220px,30vw,500px); font-weight: 800; letter-spacing: -.12em; line-height: 1; }
.apps__heading { position: relative; z-index: 2; max-width: var(--max); margin: auto; }
.apps .eyebrow { color: rgba(17,20,17,.55); }
.apps h2 { max-width: 960px; font-size: clamp(58px, 8vw, 112px); }
.apps__heading > p:last-child { max-width: 650px; margin: 30px 0 0; font-size: 19px; line-height: 1.6; }
.app-showcase { position: relative; z-index: 3; max-width: var(--max); margin: 60px auto 34px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(17,20,17,.22); border-left: 1px solid rgba(17,20,17,.22); }
.app-icon { position: relative; min-height: 350px; padding: 30px 24px 24px; border-right: 1px solid rgba(17,20,17,.22); border-bottom: 1px solid rgba(17,20,17,.22); text-decoration: none; transition: background .25s ease, transform .25s ease; }
.app-icon:hover, .app-icon:focus-visible { z-index: 2; background: rgba(251,250,246,.28); transform: translateY(-8px); outline: none; }
.app-icon img { width: clamp(100px,10vw,145px); border-radius: 24%; box-shadow: 0 22px 42px rgba(17,20,17,.22); transition: transform .3s ease; }
.app-icon:hover img, .app-icon:focus-visible img { transform: scale(1.04) rotate(-2deg); }
.app-icon__copy { display: flex; flex-direction: column; align-items: flex-start; margin-top: 22px; }
.app-icon__copy strong { font-family: var(--display); font-size: 21px; letter-spacing: -.04em; }
.app-icon__copy small { min-height: 60px; margin-top: 10px; color: rgba(17,20,17,.67); font-size: 13px; line-height: 1.45; opacity: 0; transform: translateY(8px); transition: opacity .25s ease, transform .25s ease; }
.app-icon__copy b { margin-top: 14px; font-size: 12px; text-decoration: underline; text-underline-offset: 5px; opacity: 0; transform: translateY(8px); transition: opacity .25s ease .04s, transform .25s ease .04s; }
.app-icon:hover .app-icon__copy small, .app-icon:hover .app-icon__copy b, .app-icon:focus-visible .app-icon__copy small, .app-icon:focus-visible .app-icon__copy b { opacity: 1; transform: translateY(0); }
.apps__link { position: relative; z-index: 4; display: inline-block; margin-left: calc((100% - min(100%, var(--max))) / 2); font-weight: 800; text-underline-offset: 6px; }

.process { max-width: calc(var(--max) + (var(--pad) * 2)); margin: auto; display: grid; grid-template-columns: .62fr 1.38fr; gap: clamp(60px,9vw,130px); }
.process__profile { align-self: start; position: sticky; top: 110px; }
.process__profile img { width: 100%; max-width: 380px; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1); }
.process__profile div { display: flex; flex-direction: column; gap: 4px; margin-top: 18px; }
.process__profile strong { font-family: var(--display); font-size: 20px; }
.process__profile span { color: var(--muted); }
.process__copy h2 { max-width: 760px; font-size: clamp(52px,7vw,96px); }
.process__copy ol { margin: 70px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.process__copy li { display: grid; grid-template-columns: 55px 1fr; gap: 22px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.process__copy li > span { color: var(--green-deep); font-family: var(--display); font-size: 12px; font-weight: 800; }
.process__copy li strong { font-family: var(--display); font-size: 21px; }
.process__copy li p { margin: 7px 0 0; color: var(--muted); line-height: 1.55; }

.cta { position: relative; overflow: hidden; padding: clamp(100px,13vw,190px) var(--pad); background: var(--cream); color: var(--ink); text-align: center; }
.cta__orb { position: absolute; width: 720px; height: 720px; left: 50%; top: 50%; transform: translate(-50%,-50%); border: 1px solid rgba(21,148,71,.18); border-radius: 50%; box-shadow: 0 0 0 120px rgba(85,227,106,.05), 0 0 0 240px rgba(85,227,106,.03); }
.cta > *:not(.cta__orb) { position: relative; z-index: 2; }
.cta .eyebrow { color: var(--green-deep); }
.cta h2 { max-width: 1000px; margin: auto; font-size: clamp(56px,8vw,112px); }
.cta > p:not(.eyebrow) { max-width: 620px; margin: 30px auto 0; color: var(--muted); font-size: 19px; line-height: 1.6; }
.cta__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 42px; }
.footer { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 30px; padding: 30px var(--pad); background: var(--paper); color: rgba(17,20,17,.55); border-top: 1px solid rgba(17,20,17,.1); font-size: 13px; }
.footer .brand { color: var(--ink); }
.footer p { text-align: center; }
.footer div { display: flex; justify-content: flex-end; gap: 22px; }
.footer a { text-underline-offset: 4px; }

.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.js [data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@keyframes rise-in { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes visual-in { from { opacity: 0; transform: translateX(30px) scale(.97); } to { opacity: 1; transform: translateX(0) scale(1); } }
@keyframes route { to { stroke-dashoffset: -460; } }
@keyframes ticker { to { transform: translateX(-50%); } }

@media (max-width: 1050px) {
  .hero__inner { grid-template-columns: 1fr .78fr; }
  .hero__visual { min-height: 520px; }
  .signal--lead { left: -16%; }
  .signal--reply { right: -8%; }
  .app-icon { min-height: 330px; }
  .app-icon img { width: 120px; }
}

@media (max-width: 820px) {
  .site-header { height: 64px; }
  .menu-button { display: block; position: relative; z-index: 103; }
  .nav { position: fixed; inset: 0; z-index: 102; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 28px; padding: 80px var(--pad); background: var(--paper); opacity: 0; pointer-events: none; transform: translateY(-10px); transition: opacity .2s ease, transform .2s ease; }
  .nav a { font-family: var(--display); font-size: 36px; color: var(--ink); }
  .nav .nav__cta { font-size: 18px; }
  .menu-open .nav { opacity: 1; pointer-events: auto; transform: none; }
  .menu-open .menu-button span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-open .menu-button span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .hero { min-height: auto; padding-top: 96px; }
  .hero__inner { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .hero__copy { padding: 34px 0 10px; }
  .hero h1 { font-size: clamp(56px,15vw,84px); }
  .hero__visual { width: min(100%,600px); min-height: 600px; align-self: center; }
  .hero__footer { margin-top: 14px; }
  .section__intro { grid-template-columns: 1fr; }
  .section__intro h2 { font-size: clamp(48px,11vw,74px); }
  .section__intro > p:last-child { margin-top: 28px; }
  .leak-row { grid-template-columns: 45px 1fr; }
  .leak-row p, .leak-row strong { grid-column: 2; justify-self: start; }
  .systems { grid-template-columns: 1fr; }
  .systems__sticky { position: relative; top: 0; }
  .system-step { min-height: 460px; }
  .work__heading { display: block; }
  .work__heading > p { margin-top: 26px; }
  .work-grid { grid-template-columns: 1fr; }
  .work-item__meta { grid-template-columns: 1fr; }
  .work-item__meta p { grid-column: 1; }
  .experience-line { display: block; }
  .experience-line a { display: inline-block; margin-top: 22px; }
  .app-showcase { grid-template-columns: 1fr 1fr; margin-top: 50px; }
  .app-icon { min-height: 325px; }
  .app-icon__copy small, .app-icon__copy b { opacity: 1; transform: none; }
  .process { grid-template-columns: 1fr; }
  .process__profile { display: none; }
  .footer { grid-template-columns: 1fr; text-align: left; }
  .footer p { text-align: left; }
  .footer div { justify-content: flex-start; }
}

@media (max-width: 540px) {
  .hero { min-height: 850px; padding-bottom: 0; }
  .hero__inner { position: relative; min-height: 744px; }
  .hero__copy { z-index: 7; padding-top: 26px; }
  .hero__actions { align-items: flex-start; flex-direction: column; }
  .hero__actions .text-link { display: none; }
  .hero__proof { display: none; }
  .hero__visual { position: absolute; z-index: 2; width: 350px; height: 360px; min-height: 0; right: -82px; bottom: -8px; opacity: .88; }
  .hero__portrait { width: 83%; right: 3%; }
  .hero__halo { width: 72%; right: 7%; top: 17%; }
  .hero__route, .signal { display: none; }
  .hero__monogram { font-size: 100px; }
  .hero__footer { display: none; }
  .leak-row { gap: 10px 14px; }
  .system-step { min-height: 400px; }
  .apps h2 { font-size: clamp(50px,15vw,76px); }
  .app-showcase { grid-template-columns: 1fr; }
  .app-icon { min-height: 0; display: grid; grid-template-columns: 88px 1fr; gap: 20px; align-items: start; padding: 22px; }
  .app-icon img { width: 88px; }
  .app-icon__copy { margin-top: 2px; }
  .app-icon__copy small { min-height: 0; }
  .apps__link { margin-left: 0; }
  .process__copy ol { margin-top: 45px; }
  .cta h2 { font-size: clamp(48px,14vw,72px); }
  .button { width: 100%; }
}

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