:root { color-scheme: light; --paper:#f4f6f8; --ink:#101720; --muted:#53606c; --line:#cbd2d8; --accent:#007d6d; --accent-bright:#5ee0bc; --panel:#e9edf0; --max:1180px; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:var(--paper); color:var(--ink); font-family:Inter,"Helvetica Neue",Arial,sans-serif; font-size:16px; line-height:1.55; }
body.dialog-open { overflow:hidden; }
button,a { font:inherit; }
a { color:inherit; }
.skip-link { position:fixed; top:12px; left:12px; z-index:50; transform:translateY(-150%); background:var(--ink); color:white; padding:10px 14px; }
.skip-link:focus { transform:none; }
.cursor-glow { position:fixed; inset:auto auto 0 0; width:360px; height:360px; border-radius:50%; pointer-events:none; z-index:-1; background:radial-gradient(circle,rgba(94,224,188,.11),transparent 68%); transform:translate3d(calc(var(--x,50vw) - 50%),calc(var(--y,50vh) - 50%),0); }
.site-header { width:min(calc(100% - 40px),var(--max)); margin:0 auto; min-height:88px; display:grid; grid-template-columns:1fr auto 1fr; align-items:center; border-bottom:1px solid var(--line); }
.wordmark { font-weight:800; font-size:1.25rem; letter-spacing:-.06em; text-decoration:none; }
.wordmark span,.case-arrow { color:var(--accent); }
nav { display:flex; gap:clamp(18px,3vw,40px); }
nav a { font-size:.88rem; text-decoration:none; color:var(--muted); }
nav a:hover,nav a:focus-visible { color:var(--ink); }
.availability { justify-self:end; color:var(--muted); font:600 .7rem ui-monospace,SFMono-Regular,Menlo,monospace; text-transform:uppercase; letter-spacing:.08em; }
main { overflow:hidden; }
.hero,.work,.stack { width:min(calc(100% - 40px),var(--max)); margin:0 auto; }
.hero { padding:clamp(72px,10vw,140px) 0 0; }
.hero-kicker,.section-heading>p,.case-tag,.approach article>span,.stack article>span { color:var(--accent); font:700 .76rem/1.2 ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing:.08em; text-transform:uppercase; }
.signal { display:inline-block; width:8px; height:8px; margin-right:10px; border-radius:50%; background:var(--accent-bright); box-shadow:0 0 0 5px rgba(94,224,188,.18); }
h1 { max-width:1040px; margin:30px 0 52px; font-size:clamp(3.4rem,8vw,7.5rem); line-height:.93; letter-spacing:-.075em; font-weight:650; }
.hero-bottom { display:grid; grid-template-columns:2fr 1fr; gap:40px; align-items:end; padding-left:34%; }
.hero-bottom p { max-width:680px; margin:0; font-size:clamp(1.05rem,1.5vw,1.3rem); color:var(--muted); }
.text-link { justify-self:end; text-underline-offset:5px; text-decoration-thickness:1px; }
.system-map { margin-top:clamp(70px,9vw,120px); display:grid; grid-template-columns:repeat(3,1fr); border:1px solid var(--ink); background:var(--ink); color:white; }
.system-map>div { min-height:148px; padding:24px; border-right:1px solid #3b454f; font-size:1.12rem; }
.system-map>div:last-child { border-right:0; }
.system-map span { display:block; margin-bottom:30px; color:var(--accent-bright); font:600 .7rem ui-monospace,monospace; }
.system-map small { display:block; margin-top:6px; color:#9da8b2; font-size:.82rem; }
.work,.stack { padding:clamp(100px,12vw,170px) 0; }
.section-heading { display:grid; grid-template-columns:1fr 2fr; gap:40px; align-items:start; margin-bottom:clamp(48px,7vw,90px); }
.section-heading h2 { margin:0; max-width:850px; font-size:clamp(2.5rem,5vw,5rem); line-height:.98; letter-spacing:-.06em; font-weight:600; }
.section-intro { max-width:650px; margin:25px 0 0; color:var(--muted); }
.case-row { width:100%; display:grid; grid-template-columns:.45fr 1.65fr 1fr .3fr; gap:28px; align-items:start; padding:32px 0 36px; border:0; border-top:1px solid var(--line); color:inherit; background:none; text-align:left; cursor:pointer; transition:background .25s ease,padding .25s ease; }
.case-row:last-child { border-bottom:1px solid var(--line); }
.case-row:hover,.case-row:focus-visible { padding-left:18px; padding-right:18px; background:#e7ecee; outline:0; }
.case-num { font:700 .76rem ui-monospace,monospace; color:var(--accent); }
.case-title { display:block; margin:8px 0 0; max-width:580px; font-size:clamp(1.45rem,2.6vw,2.65rem); line-height:1.06; letter-spacing:-.04em; }
.case-summary { margin:0; max-width:430px; color:var(--muted); }
.case-arrow { justify-self:end; font-size:1.4rem; transition:transform .25s ease; }
.case-row:hover .case-arrow { transform:translate(4px,-4px); }
.dark-section { position:relative; margin:0; padding:clamp(100px,12vw,170px) max(20px,calc((100vw - var(--max))/2)); background:var(--ink); color:white; }
.dark-section .section-heading>p,.dark-section .approach article>span { color:var(--accent-bright); }
.approach-grid { display:grid; grid-template-columns:repeat(3,1fr); border:1px solid #3a444d; }
.approach article { min-height:370px; padding:clamp(28px,4vw,50px); border-right:1px solid #3a444d; }
.approach article:last-child { border-right:0; }
.approach article h3 { margin:80px 0 20px; font-size:clamp(1.5rem,2.3vw,2.3rem); line-height:1.08; letter-spacing:-.04em; }
.approach article p { color:#aab3bb; }
.dry-note { margin:42px 0 0; color:#aab3bb; font-style:italic; }
.stack-grid { display:grid; grid-template-columns:repeat(2,1fr); border-top:1px solid var(--ink); }
.stack article { padding:34px 34px 50px 0; border-bottom:1px solid var(--line); }
.stack article:nth-child(odd) { border-right:1px solid var(--line); }
.stack article:nth-child(even) { padding-left:34px; }
.stack article h3 { margin:22px 0 12px; font-size:clamp(1.6rem,2.4vw,2.5rem); letter-spacing:-.04em; }
.stack article p { max-width:480px; color:var(--muted); }
.contact { padding-bottom:45px; }
.contact h2 { margin:30px 0 clamp(70px,11vw,150px); max-width:1050px; font-size:clamp(3.3rem,8vw,7.4rem); line-height:.92; letter-spacing:-.075em; font-weight:600; }
.contact-row { display:grid; grid-template-columns:1fr 1fr; gap:50px; align-items:end; }
.contact-row>p { max-width:490px; margin:0; color:#aab3bb; font-size:1.15rem; }
.contact-links { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:12px; }
.contact-link { display:inline-flex; align-items:center; gap:12px; padding:14px 18px; border:1px solid #5a646d; color:white; text-decoration:none; transition:border-color .2s,background .2s; }
.contact-link:hover,.contact-link:focus-visible { border-color:var(--accent-bright); background:rgba(94,224,188,.08); }
.contact-link.placeholder-link { color:#aab3bb; border-style:dashed; }
.footer-line { margin-top:clamp(80px,10vw,130px); padding-top:22px; border-top:1px solid #3a444d; display:flex; justify-content:space-between; gap:24px; color:#7e8992; font:.68rem ui-monospace,monospace; text-transform:uppercase; letter-spacing:.08em; }
.case-dialog { width:100%; max-width:none; height:100%; max-height:none; margin:0; padding:0; border:0; background:var(--paper); color:var(--ink); }
.case-dialog::backdrop { background:rgba(16,23,32,.55); backdrop-filter:blur(4px); }
.dialog-shell { width:min(calc(100% - 40px),var(--max)); margin:0 auto; padding:28px 0 90px; }
.dialog-close { position:sticky; z-index:2; top:20px; float:right; display:flex; gap:12px; align-items:center; border:1px solid var(--ink); padding:9px 13px; background:var(--paper); cursor:pointer; }
.dialog-close span { color:var(--accent); font-size:1.4rem; line-height:.7; }
.dialog-head { padding:clamp(75px,11vw,145px) 0 60px; border-bottom:1px solid var(--ink); }
.dialog-head h2 { max-width:950px; margin:18px 0 0; font-size:clamp(3rem,7vw,6.7rem); line-height:.94; letter-spacing:-.07em; font-weight:600; }
.dialog-grid { display:grid; grid-template-columns:1fr 2fr; gap:50px; padding:50px 0; }
.dialog-grid h3 { margin:0; font-size:.78rem; color:var(--accent); font-family:ui-monospace,monospace; text-transform:uppercase; letter-spacing:.08em; }
.dialog-body { display:grid; grid-template-columns:1fr 1fr; gap:34px; }
.dialog-body section { padding-bottom:28px; border-bottom:1px solid var(--line); }
.dialog-body h4 { margin:0 0 9px; font-size:1rem; }
.dialog-body p { margin:0; color:var(--muted); }
.needs-input { display:inline-block; margin-top:14px; padding:7px 9px; background:#dff3ed; color:#075f53; font:700 .68rem ui-monospace,monospace; text-transform:uppercase; letter-spacing:.05em; }
.reveal { opacity:0; transform:translateY(18px); transition:opacity .65s ease,transform .65s ease; }
.reveal.visible { opacity:1; transform:none; }
@media (max-width:900px) {
  .site-header { grid-template-columns:1fr auto; }
  .availability { display:none; }
  .case-row { grid-template-columns:.3fr 1.5fr 1fr .2fr; }
  .approach-grid { grid-template-columns:1fr; }
  .approach article { min-height:0; border-right:0; border-bottom:1px solid #3a444d; }
  .approach article h3 { margin-top:45px; }
}
@media (max-width:700px) {
  .site-header { min-height:72px; }
  nav { gap:16px; }
  nav a:nth-child(2),nav a:nth-child(3) { display:none; }
  h1 { font-size:clamp(3.1rem,15vw,5rem); }
  .hero-bottom,.section-heading,.contact-row,.dialog-grid,.dialog-body { grid-template-columns:1fr; }
  .hero-bottom { padding-left:0; }
  .text-link { justify-self:start; }
  .system-map,.stack-grid { grid-template-columns:1fr; }
  .system-map>div { min-height:112px; border-right:0; border-bottom:1px solid #3b454f; }
  .case-row { grid-template-columns:.22fr 1fr .15fr; gap:16px; }
  .case-summary { display:none; }
  .stack article,.stack article:nth-child(even) { padding:28px 0 38px; border-right:0; }
  .contact h2 { font-size:clamp(3.1rem,14vw,5rem); }
  .contact-links { justify-content:flex-start; }
  .footer-line { flex-direction:column; gap:8px; }
  .dialog-close { top:12px; }
}
@media (pointer:coarse),(prefers-reduced-motion:reduce) { .cursor-glow { display:none; } }
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } .reveal { opacity:1; transform:none; transition:none; } }
