:root {
  --ink: #121815;
  --ink-soft: #1b2520;
  --forest: #21372d;
  --paper: #f1eee7;
  --paper-deep: #e5dfd3;
  --acid: #d9ff64;
  --sage: #9fb5a8;
  --muted: #58665e;
  --line: rgba(18, 24, 21, .18);
  --line-light: rgba(241, 238, 231, .18);
  --max: 1440px;
  --pad: clamp(22px, 4.5vw, 72px);
  --section: clamp(96px, 12vw, 180px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: clip;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
button { font: inherit; }
.skip-link {
  position: fixed;
  z-index: 1000;
  left: 16px;
  top: -60px;
  padding: 12px 18px;
  color: var(--ink);
  background: var(--acid);
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--acid); outline-offset: 4px; }

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto 0;
  height: 92px;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: var(--paper);
  transition: background .35s ease, height .35s ease, border-color .35s ease;
}
.site-header.scrolled {
  height: 76px;
  background: rgba(18, 24, 21, .88);
  border-bottom: 1px solid var(--line-light);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; width: fit-content; }
.brand-mark {
  width: 38px;
  height: 38px;
  border: 1px solid currentColor;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
}
.brand-name { font-weight: 650; letter-spacing: -.02em; }
.desktop-nav { display: flex; gap: 34px; }
.desktop-nav a,
.header-contact,
footer > a {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.desktop-nav a { color: rgba(241,238,231,.84); transition: color .2s; }
.desktop-nav a:hover { color: var(--acid); }
.header-contact { justify-self: end; border-bottom: 1px solid currentColor; padding-bottom: 5px; }
.header-contact:hover { color: var(--acid); }
.menu-toggle { display: none; }
.mobile-menu, .menu-scrim { display: none; }

.hero {
  position: relative;
  min-height: 100svh;
  padding: clamp(145px, 16vh, 190px) var(--pad) 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, .62fr);
  grid-template-rows: 1fr auto;
  gap: 60px clamp(40px, 6vw, 100px);
  color: var(--paper);
  background:
    radial-gradient(circle at 18% 15%, rgba(86, 125, 103, .35), transparent 33%),
    linear-gradient(125deg, #101713 0%, #17251e 60%, #0e1411 100%);
  isolation: isolate;
  overflow: hidden;
}
.hero:after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -16vw;
  bottom: -42vw;
  width: 70vw;
  height: 70vw;
  border: 1px solid rgba(217,255,100,.16);
  border-radius: 50%;
  box-shadow: 0 0 0 8vw rgba(217,255,100,.018), 0 0 0 16vw rgba(217,255,100,.012);
}
.hero-glow {
  position: absolute;
  z-index: -1;
  left: 35%;
  top: 24%;
  width: 260px;
  height: 260px;
  background: rgba(217,255,100,.08);
  filter: blur(90px);
}
.hero-copy { align-self: center; max-width: 900px; }
.eyebrow,
.section-label,
.project-kicker,
.hero-note .note-index,
figcaption,
.project-tags,
.cap-number {
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: .13em;
  text-transform: uppercase;
  font-weight: 750;
}
.eyebrow { margin: 0 0 30px; color: var(--acid); }
h1 {
  margin: 0;
  max-width: 900px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(66px, 8.4vw, 146px);
  font-weight: 400;
  line-height: .84;
  letter-spacing: -.075em;
}
h1 em { color: var(--acid); font-weight: 400; }
.hero-intro {
  max-width: 680px;
  margin: 40px 0 0;
  color: rgba(241,238,231,.84);
  font-size: clamp(18px, 1.5vw, 23px);
  line-height: 1.55;
}
.hero-actions { display: flex; align-items: center; gap: 34px; margin-top: 42px; }
.button {
  min-height: 54px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--acid); color: var(--ink); }
.text-link { font-size: 13px; border-bottom: 1px solid rgba(241,238,231,.35); padding: 0 0 6px; }
.text-link span { color: var(--acid); margin-left: 8px; }
.hero-portrait { margin: 0; align-self: center; }
.portrait-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--forest);
}
.portrait-frame:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18,24,21,.42), transparent 48%);
  pointer-events: none;
}
.portrait-frame img {
  height: 100%;
  object-fit: cover;
  object-position: 49% 28%;
  filter: saturate(.72) contrast(1.03) brightness(.88);
  transition: transform 1.2s cubic-bezier(.2,.7,.2,1), filter .7s;
}
.hero-portrait:hover img { transform: scale(1.025); filter: saturate(.95) contrast(1.02) brightness(.92); }
figcaption { display: flex; justify-content: space-between; gap: 20px; padding-top: 15px; color: rgba(241,238,231,.62); }
figcaption span:first-child { color: var(--paper); }
.hero-note {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 180px minmax(0, 640px);
  align-items: start;
  gap: 30px;
  border-top: 1px solid var(--line-light);
  padding-top: 22px;
}
.hero-note .note-index { color: var(--acid); }
.hero-note p { margin: 0; color: rgba(241,238,231,.62); }

.practice-line { overflow: hidden; background: var(--acid); color: var(--ink); }
.practice-track {
  min-width: max-content;
  height: 54px;
  display: flex;
  align-items: center;
  animation: ticker 34s linear infinite;
}
.practice-track span { margin: 0 23px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.practice-track i { width: 5px; height: 5px; background: var(--ink); border-radius: 50%; }
@keyframes ticker { to { transform: translateX(-50%); } }

.section { padding: var(--section) var(--pad); }
.section-label { display: flex; gap: 18px; color: var(--muted); margin-bottom: 70px; }
.section-label span { color: var(--ink); }
.section-label.light { color: var(--sage); }
.section-label.light span { color: var(--acid); }
.section-heading {
  margin: 0;
  max-width: 980px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 6vw, 96px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.055em;
}
.section-heading.light { color: var(--paper); }
.profile { background: var(--paper); }
.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .55fr);
  gap: 70px clamp(50px, 8vw, 140px);
  align-items: start;
}
.profile-copy { padding-top: 8px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.profile-copy .lead { margin-top: 0; color: var(--ink); font-family: Georgia, serif; font-size: 30px; line-height: 1.3; }
.capability-list { margin-top: 110px; border-top: 1px solid var(--line); }
.capability {
  min-height: 180px;
  display: grid;
  grid-template-columns: 80px minmax(240px,.7fr) minmax(280px,1fr);
  align-items: start;
  gap: 40px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}
.cap-number { color: var(--muted); padding-top: 7px; }
.capability h3 { margin: 0; font-size: clamp(25px, 2.2vw, 36px); line-height: 1.12; letter-spacing: -.035em; font-weight: 580; }
.capability p { max-width: 590px; margin: 4px 0 0; color: var(--muted); font-size: 16px; line-height: 1.7; }

.work { color: var(--paper); background: var(--ink); }
.work-intro { display: grid; grid-template-columns: minmax(0,1fr) 360px; gap: 80px; align-items: end; margin-bottom: 110px; }
.work-intro p { margin: 0 0 4px; color: var(--sage); line-height: 1.7; }
.project {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 660px;
  border-top: 1px solid var(--line-light);
}
.project:last-child { border-bottom: 1px solid var(--line-light); }
.project-copy { padding: clamp(50px,6vw,90px) clamp(30px,5vw,80px) clamp(50px,6vw,90px) 0; align-self: center; }
.project:nth-of-type(even) .project-copy { padding-left: clamp(30px,5vw,80px); padding-right: 0; }
.project-kicker { margin: 0 0 26px; color: var(--acid); }
.project h3 { max-width: 680px; margin: 0 0 28px; font-family: Georgia, serif; font-size: clamp(38px,4vw,66px); line-height: 1; letter-spacing: -.05em; font-weight: 400; }
.project-copy > p:not(.project-kicker) { max-width: 630px; color: var(--sage); line-height: 1.75; }
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 38px 0 0; list-style: none; }
.project-tags li { border: 1px solid var(--line-light); padding: 10px 12px; color: rgba(241,238,231,.72); }
.project-image, .project-visual { min-height: 660px; overflow: hidden; }
.project-image img { height: 100%; object-fit: cover; filter: saturate(.65) contrast(1.08); transition: transform 1s ease, filter .6s; }
.project:hover .project-image img { transform: scale(1.018); filter: saturate(.85) contrast(1.05); }
.project-homelab .project-image { order: -1; }
.project-homelab .project-image img { object-position: center; }
.abstract-image img { object-position: center; }
.customer-visual {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(rgba(217,255,100,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(217,255,100,.05) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(217,255,100,.14), transparent 45%),
    #17221c;
  background-size: 42px 42px, 42px 42px, auto, auto;
}
.conversation {
  position: absolute;
  z-index: 2;
  width: min(310px, 70%);
  padding: 24px;
  border: 1px solid rgba(217,255,100,.38);
  background: rgba(18,24,21,.78);
  backdrop-filter: blur(10px);
}
.conversation span { display:block; margin-bottom:10px; color:var(--acid); font-size:10px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.conversation strong { font-family: Georgia,serif; font-size:23px; font-weight:400; }
.conversation-one { left: 12%; top: 20%; }
.conversation-two { right: 11%; bottom: 20%; }
.route-line { position:absolute; left:32%; top:39%; width:42%; height:26%; border-right:1px solid var(--acid); border-bottom:1px solid var(--acid); }
.signal-dot { position:absolute; width:9px; height:9px; border-radius:50%; background:var(--acid); box-shadow:0 0 22px var(--acid); }
.signal-a { left:31.5%; top:38.5%; }.signal-b { left:73.5%; top:64%; }.signal-c { left:53%; top:64%; }

.practice { background: var(--paper-deep); }
.practice-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(380px,.72fr); gap: clamp(70px,10vw,170px); align-items:start; }
.practice-statement { position:sticky; top:130px; }
.quote-mark { margin:0 0 18px; color:var(--forest); font-family:Georgia,serif; font-size:100px; line-height:.5; }
.practice-statement h2 { margin:0; max-width:750px; font-family:Georgia,serif; font-size:clamp(48px,5.5vw,88px); font-weight:400; line-height:1; letter-spacing:-.055em; }
.principles { margin:0; padding:0; list-style:none; border-top:1px solid var(--line); }
.principles li { display:grid; grid-template-columns:44px 1fr; gap:28px; padding:36px 0; border-bottom:1px solid var(--line); }
.principles li > span { padding-top:4px; color:var(--muted); font-size:11px; font-weight:800; }
.principles h3 { margin:0 0 12px; font-size:24px; line-height:1.2; letter-spacing:-.025em; }
.principles p { margin:0; color:var(--muted); line-height:1.65; }

.contact { position:relative; isolation:isolate; overflow:hidden; color:var(--paper); background:var(--forest); }
.contact-glow { position:absolute; z-index:-1; width:55vw; height:55vw; border:1px solid rgba(217,255,100,.18); border-radius:50%; right:-20vw; top:-20vw; box-shadow:0 0 0 7vw rgba(217,255,100,.02),0 0 0 14vw rgba(217,255,100,.015); }
.contact-grid { display:grid; grid-template-columns:minmax(0,1fr) 380px; gap:80px; align-items:end; }
.contact-heading > p { color:var(--acid); font-size:12px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.contact-heading h2 { margin:20px 0 0; max-width:960px; font-family:Georgia,serif; font-size:clamp(58px,7.5vw,124px); font-weight:400; line-height:.9; letter-spacing:-.065em; }
.contact-action p { margin:0 0 32px; color:rgba(241,238,231,.7); line-height:1.7; }
.button-light { width:100%; justify-content:space-between; background:var(--paper); color:var(--ink); }
footer { min-height:160px; padding:38px var(--pad); display:grid; grid-template-columns:1fr 1fr auto; align-items:center; gap:40px; color:var(--paper); background:var(--ink); border-top:1px solid var(--line-light); }
footer p { margin:0; max-width:450px; color:rgba(241,238,231,.54); font-size:13px; }
.footer-brand { color:var(--paper); }

.reveal,
.js .reveal,
.js .reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .desktop-nav, .header-contact { display:none; }
  .site-header { grid-template-columns:1fr auto; }
  .menu-toggle {
    justify-self:end;
    width:50px;
    height:50px;
    padding:0 13px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:7px;
    color:var(--ink);
    background:var(--acid);
    border:0;
    cursor:pointer;
  }
  .menu-toggle span { height:2px; width:100%; background:currentColor; transition:transform .25s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform:translateY(4.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform:translateY(-4.5px) rotate(-45deg); }
  .menu-scrim:not([hidden]) { display:block; position:fixed; z-index:108; inset:0; background:rgba(5,9,7,.58); backdrop-filter:blur(3px); }
  .mobile-menu {
    display:flex;
    position:fixed;
    z-index:110;
    inset:0 0 0 auto;
    width:min(430px,88vw);
    padding:28px;
    flex-direction:column;
    color:var(--paper);
    background:var(--ink-soft);
    transform:translateX(105%);
    transition:transform .35s cubic-bezier(.2,.8,.2,1);
  }
  .mobile-menu.open { transform:none; }
  .mobile-menu-top { display:flex; justify-content:space-between; align-items:center; margin-bottom:60px; color:var(--sage); font-size:11px; text-transform:uppercase; letter-spacing:.1em; }
  .menu-close { color:var(--ink); background:var(--acid); border:0; padding:10px 14px; text-transform:uppercase; font-size:10px; font-weight:800; letter-spacing:.1em; cursor:pointer; }
  .mobile-menu > a { display:flex; justify-content:space-between; padding:22px 0; border-bottom:1px solid var(--line-light); font-family:Georgia,serif; font-size:30px; }
  .mobile-menu > a span { color:var(--acid); font-family:Inter,sans-serif; font-size:10px; }
  .hero { grid-template-columns:minmax(0,1fr) minmax(280px,.65fr); }
  .profile-grid,.work-intro,.practice-grid,.contact-grid { grid-template-columns:1fr; }
  .work-intro p,.contact-action { max-width:620px; }
  .practice-statement { position:static; }
  .project { min-height:560px; }
  .project-image,.project-visual { min-height:560px; }
}

@media (max-width: 760px) {
  :root { --pad:22px; --section:92px; }
  .site-header { height:74px; }
  .site-header.scrolled { height:68px; }
  .brand-name { font-size:14px; }
  .brand-mark { width:34px; height:34px; }
  .menu-toggle { width:44px; height:44px; }
  .hero { min-height:auto; grid-template-columns:1fr; grid-template-rows:auto; gap:45px; padding-top:128px; }
  h1 { font-size:clamp(58px,19vw,88px); line-height:.88; }
  .hero-intro { font-size:18px; margin-top:28px; }
  .hero-actions { align-items:flex-start; flex-direction:column; gap:24px; margin-top:34px; }
  .button-primary { width:100%; }
  .hero-portrait { width:100%; }
  .portrait-frame { aspect-ratio:4/5; }
  figcaption { font-size:9px; }
  .hero-note { grid-column:auto; grid-template-columns:1fr; gap:10px; }
  .practice-track { height:48px; }
  .section-label { margin-bottom:48px; }
  .section-heading { font-size:clamp(45px,14vw,66px); }
  .profile-grid { gap:44px; }
  .profile-copy { font-size:16px; }
  .profile-copy .lead { font-size:26px; }
  .capability-list { margin-top:72px; }
  .capability { grid-template-columns:40px 1fr; gap:18px; padding:28px 0; }
  .capability p { grid-column:2; margin-top:-3px; }
  .work-intro { gap:34px; margin-bottom:74px; }
  .project { display:flex; min-height:0; flex-direction:column; }
  .project-copy,.project:nth-of-type(even) .project-copy { padding:58px 0; }
  .project-image,.project-visual { min-height:430px; }
  .project-homelab .project-image { order:0; }
  .project h3 { font-size:clamp(40px,12vw,56px); }
  .conversation { width:74%; padding:19px; }
  .conversation strong { font-size:19px; }
  .practice-grid { gap:70px; }
  .practice-statement h2 { font-size:clamp(44px,13vw,62px); }
  .principles li { grid-template-columns:34px 1fr; gap:14px; }
  .contact-grid { gap:56px; }
  .contact-heading h2 { font-size:clamp(56px,16vw,78px); }
  footer { grid-template-columns:1fr; min-height:260px; }
}

@media (max-width: 360px) {
  h1 { font-size:55px; }
  .brand-name { display:none; }
  .project-image,.project-visual { min-height:360px; }
  .conversation { width:78%; }
}

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