:root {
  color-scheme: dark;
  --bg: #111b21;
  --surface: #17242c;
  --surface-soft: #142128;
  --text: #f2f0e9;
  --muted: #b4c0c5;
  --quiet: #91a6ae;
  --accent: #9cd5c1;
  --line: #30434c;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.7 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button { font: inherit; }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.wrap { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 20px; padding: 12px 20px; background: var(--accent); color: var(--bg); z-index: 5; }
.skip-link:focus { top: 12px; }
.site-header { border-bottom: 1px solid var(--line); }
.nav-row { min-height: 98px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-size: 24px; font-weight: 750; letter-spacing: -.9px; text-decoration: none; }
.brand-dot { color: var(--accent); }
nav { display: flex; align-items: center; gap: 30px; }
nav a { color: var(--muted); font-size: 14px; text-decoration: none; padding-block: 10px; }
nav a:hover, .text-link:hover { color: var(--accent); }
nav .nav-contact { color: var(--text); border: 1px solid var(--line); border-radius: 6px; padding: 10px 15px; }
.nav-contact span { margin-left: 14px; color: var(--accent); }
.menu-toggle { background: none; color: var(--text); border: 1px solid var(--line); padding: 8px 13px; border-radius: 5px; cursor: pointer; }
.menu-toggle[hidden] { display: none; }
.hero { display: grid; grid-template-columns: 1.45fr 1fr; gap: 65px; align-items: center; padding-block: 95px 85px; }
.eyebrow { margin: 0 0 23px; color: var(--accent); font-size: 11px; font-weight: 650; letter-spacing: 1.8px; line-height: 1.6; text-transform: uppercase; }
.small-dot { display: inline-block; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; vertical-align: 2px; margin-right: 7px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(44px, 4.8vw, 67px); line-height: 1.08; letter-spacing: -3px; font-weight: 650; margin-bottom: 27px; }
h1 > span { color: var(--accent); }
.hero-lede { font-size: 20px; line-height: 1.65; margin-bottom: 18px; max-width: 48ch; }
.hero-support { font-size: 16px; color: var(--muted); max-width: 54ch; margin-bottom: 30px; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 49px; border-radius: 6px; padding: 12px 18px; font-size: 14px; font-weight: 650; text-decoration: none; transition: background .18s, transform .18s; }
.primary { background: var(--accent); color: #13251f; }
.primary:hover { background: #b7e6d5; transform: translateY(-2px); }
.text-link { font-size: 14px; text-underline-offset: 5px; }
.text-link span { margin-left: 8px; }
.byline { color: var(--quiet); font-size: 12px; margin: 26px 0 0; }
.byline strong { color: var(--muted); font-weight: 500; }
.connection-figure { margin: 15px 0 0; padding: 20px; border: 1px solid var(--line); border-radius: 14px 44px 14px 14px; background: var(--surface-soft); }
.figure-heading { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.figure-heading .eyebrow { font-size: 9px; margin: 0; letter-spacing: 1.3px; color: var(--quiet); }
.connection-map { width: 100%; height: auto; display: block; margin-block: 8px; }
.map-grid { stroke: #24373f; stroke-dasharray: 3 7; }
.map-lines { stroke: #689f94; stroke-width: 1.5; }
.map-node { fill: #1c2d35; stroke: #40565d; }
.map-label { fill: #d1ddd9; text-anchor: middle; font-size: 14px; }
.map-center { fill: #253d39; stroke: #83b8a6; }
.map-center-label { fill: #d8f1e6; font-size: 21px; font-weight: 600; text-anchor: middle; }
.map-dots { fill: var(--accent); }
figcaption { border-top: 1px solid var(--line); padding-top: 17px; font-size: 13px; line-height: 1.8; color: var(--quiet); }
figcaption strong { color: var(--text); font-weight: 500; }
.experience-strip { border-block: 1px solid var(--line); }
.experience-inner { padding-block: 23px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.experience-inner p { margin: 0; font-size: 15px; color: var(--muted); }
.experience-inner strong { color: var(--text); font-weight: 600; }
.experience-inner > span { font-size: 12px; color: var(--quiet); }
.experience-inner i { font-style: normal; color: #536e76; margin-inline: 14px; }
.section { padding-block: 94px; }
.section-intro { margin-bottom: 40px; }
h2 { font-size: clamp(31px, 3.4vw, 44px); line-height: 1.15; letter-spacing: -1.5px; font-weight: 600; margin-bottom: 22px; }
.section-lede { max-width: 60ch; color: var(--muted); font-size: 17px; line-height: 1.75; margin-bottom: 0; }
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.service { background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: 31px 34px 24px; }
.item-number { display: block; font-size: 11px; color: var(--accent); text-transform: uppercase; letter-spacing: 1.4px; margin-bottom: 22px; }
h3 { font-size: 27px; line-height: 1.25; font-weight: 550; letter-spacing: -.7px; margin-bottom: 19px; }
.service p { color: var(--muted); font-size: 16px; max-width: 50ch; margin-bottom: 16px; }
.service-foot { margin-top: 25px; border-top: 1px solid var(--line); padding-top: 16px; font-size: 13px; color: var(--accent); }
.messy-section { background: #19292f; border-block: 1px solid var(--line); padding-block: 82px 48px; }
.messy-layout { display: grid; grid-template-columns: 1fr 1.08fr; gap: 36px 80px; }
.messy-layout h2 { font-size: clamp(34px, 3.7vw, 48px); }
h2 em { font-style: normal; color: var(--accent); }
.messy-layout .section-lede { max-width: 35ch; }
.messy-content { padding-top: 24px; }
.familiar-list { margin-bottom: 28px; }
.familiar-list p { display: flex; gap: 15px; border-bottom: 1px solid var(--line); padding-bottom: 15px; margin-bottom: 15px; color: #dce3e1; font-size: 16px; }
.familiar-list span { color: var(--accent); }
blockquote { margin: 0 0 16px; font-size: 23px; letter-spacing: -.5px; }
.messy-content > p { color: var(--muted); font-size: 16px; }
.approach { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; padding: 32px 0 0; border-top: 1px solid #40565c; gap: 24px; margin: 18px 0 0; }
.approach li { display: flex; align-items: flex-start; gap: 15px; }
.approach li > span { color: var(--accent); font: 12px/2 Consolas, monospace; }
.approach h3 { font-size: 15px; letter-spacing: -.2px; line-height: 1.6; margin: 0 0 5px; font-weight: 600; }
.approach p { font-size: 12px; color: var(--muted); margin: 0; }
.work-list { border-top: 1px solid var(--line); }
.featured-work { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); overflow: hidden; margin-bottom: 40px; }
.featured-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 29px 32px; }
.featured-heading .eyebrow { font-size: 10px; margin-bottom: 10px; }
.featured-heading h3 { margin: 0; font-size: 31px; }
.featured-heading h3 span { color: var(--muted); font-size: 16px; font-weight: 400; letter-spacing: 0; display: inline-block; margin-left: 12px; }
.project-type { font-size: 11px; color: var(--quiet); border: 1px solid var(--line); border-radius: 30px; padding: 5px 12px; white-space: nowrap; }
.project-screenshot { margin: 0; background: #0d151b; border-block: 1px solid var(--line); }
.project-screenshot a { display: block; padding: 24px 24px 0; }
.project-screenshot a:focus-visible { outline-offset: -5px; }
.project-screenshot img { display: block; width: 100%; height: auto; border: 1px solid #4b535b; border-radius: 5px; }
.project-screenshot figcaption { padding: 13px 24px 17px; border: 0; color: var(--quiet); font-size: 12px; }
.screenshot-placeholder { min-height: 300px; display: grid; place-content: center; text-align: center; color: var(--quiet); }
.screenshot-placeholder span { color: var(--accent); font-size: 32px; }
.screenshot-placeholder p { margin: 0; }
.featured-story { display: grid; grid-template-columns: 1fr 1.3fr; gap: 45px; padding: 34px 32px 24px; }
.featured-story h4 { font-size: 28px; line-height: 1.25; letter-spacing: -.6px; font-weight: 550; margin: 0 0 20px; }
.featured-summary { font-size: 16px; color: var(--muted); margin: 0; max-width: 37ch; }
.project-capabilities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; padding: 26px 0 10px; margin-inline: 32px; border-top: 1px solid var(--line); }
.project-capabilities h4 { font-size: 15px; font-weight: 600; margin: 0 0 8px; }
.project-capabilities p { font-size: 13px; color: var(--muted); margin: 0; }
.project-details { margin: 20px 32px 10px; }
.project-details p { color: var(--muted); font-size: 14px; }
.work-item { display: grid; grid-template-columns: 1fr 1.45fr; gap: 72px; padding: 38px 0; border-bottom: 1px solid var(--line); }
.work-heading { padding-top: 3px; }
.work-copy p { font-size: 15px; color: var(--muted); margin-bottom: 16px; }
.work-copy strong { color: var(--text); font-weight: 600; }
.work-copy .result { border-left: 2px solid var(--accent); padding-left: 17px; margin-top: 23px; }
details { border-top: 1px solid var(--line); margin-top: 23px; }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; min-height: 49px; gap: 20px; color: var(--accent); font-size: 13px; }
summary::-webkit-details-marker { display: none; }
summary span { font-size: 21px; font-weight: 300; transition: transform .18s; }
details[open] summary span { transform: rotate(45deg); }
details > p { padding-block: 6px; }
.about-section { background: var(--surface-soft); border-block: 1px solid var(--line); padding-block: 80px; }
.about-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 80px; }
.about-layout h2 { font-size: clamp(31px, 3.2vw, 41px); }
.about-signature { margin-top: 30px; color: var(--accent); font-size: 14px; }
.about-signature span { color: var(--quiet); margin-left: 10px; font-size: 12px; }
.about-copy > p { color: var(--muted); font-size: 16px; margin-bottom: 20px; }
.about-copy details { margin-top: 0; }
.about-copy details p { color: var(--muted); font-size: 15px; }
.contact-section { padding-block: 94px 85px; text-align: center; }
.contact-section h2 { font-size: clamp(32px, 3.9vw, 50px); }
.contact-section > p:not(.eyebrow) { max-width: 57ch; margin: 0 auto 26px; color: var(--muted); }
.contact-section strong { color: var(--text); font-weight: 500; }
.contact-pending { display: inline-block; color: var(--accent); padding: 12px 20px; border: 1px solid var(--line); border-radius: 6px; font-size: 14px; }
.footer { border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 24px; padding-block: 30px 40px; }
.footer-brand { font-size: 22px; gap: 0; }
.footer p { color: var(--quiet); font-size: 12px; margin: 7px 0 0; }
.footer-meta { text-align: right; }
@media (min-width: 801px) { .menu-toggle { display: none; } }
@media (max-width: 1050px) {
  .wrap { width: calc(100% - 56px); }
  .hero { gap: 28px; grid-template-columns: 1.4fr 1fr; padding-block: 70px; }
  h1 { letter-spacing: -2px; }
  .connection-figure { padding: 16px; }
  .messy-layout, .about-layout { gap: 36px; }
  nav { gap: 20px; }
  .work-item { gap: 35px; }
}
@media (max-width: 800px) {
  .nav-row { flex-wrap: wrap; gap: 0; padding-block: 20px; min-height: 80px; }
  .brand { font-size: 23px; }
  nav { width: 100%; flex-wrap: wrap; margin-top: 18px; gap: 10px 22px; }
  .js nav { display: none; }
  .js nav.is-open { display: flex; }
  .hero { grid-template-columns: 1fr; padding-block: 53px; gap: 38px; }
  .hero-lede { max-width: 55ch; }
  .hero-support { max-width: 65ch; }
  .connection-figure { max-width: 440px; width: 100%; margin: 0 auto; }
  .experience-inner { flex-direction: column; align-items: flex-start; gap: 6px; }
  .services-grid { gap: 14px; }
  .service { padding: 25px; }
  .service h3 { font-size: 24px; }
  .section { padding-block: 65px; }
  .messy-layout, .about-layout { grid-template-columns: 1fr; }
  .messy-layout .section-lede { max-width: 55ch; }
  .messy-content { padding-top: 0; }
  .approach { grid-template-columns: 1fr; gap: 22px; }
  .work-item { grid-template-columns: 1fr; gap: 3px; }
  .featured-heading { align-items: flex-start; flex-direction: column; gap: 14px; }
  .featured-story { grid-template-columns: 1fr; gap: 25px; }
  .featured-summary { max-width: 60ch; }
  .project-capabilities { grid-template-columns: 1fr; gap: 20px; }
  .work-heading h3 br { display: none; }
  .about-section { padding-block: 60px; }
  .about-signature { margin-bottom: 0; }
  .contact-section { padding-block: 65px; }
}
@media (max-width: 540px) {
  .wrap { width: calc(100% - 40px); }
  .hero .eyebrow { font-size: 9px; letter-spacing: 1.1px; }
  h1 { font-size: clamp(35px, 9.8vw, 48px); letter-spacing: -1.7px; }
  .hero-lede { font-size: 18px; }
  .hero-support { font-size: 15px; }
  .actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .experience-inner > span { line-height: 2; font-size: 11px; }
  .experience-inner i { margin-inline: 5px; }
  .services-grid { grid-template-columns: 1fr; }
  .service { padding: 27px 25px; }
  .section-intro { margin-bottom: 28px; }
  .featured-heading { padding: 24px 20px; }
  .featured-heading h3 span { display: block; margin: 8px 0 0; }
  .project-screenshot a { padding: 12px 12px 0; }
  .project-screenshot figcaption { padding: 12px; font-size: 11px; }
  .featured-story { padding: 25px 20px 20px; }
  .project-capabilities { margin-inline: 20px; }
  .project-details { margin-inline: 20px; }
  .messy-section { padding-top: 60px; }
  .messy-layout { gap: 28px; }
  .messy-layout h2 { font-size: 37px; }
  .about-layout { gap: 22px; }
  .contact-section h2 br { display: none; }
  .footer { flex-direction: column; gap: 12px; }
  .footer-meta { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
