:root {
  --paper: #f7f7f4;
  --surface: #ffffff;
  --surface-soft: #eef1ed;
  --ink: #171b19;
  --ink-2: #39423d;
  --muted: #69736d;
  --line: #d9dfd9;
  --accent: #1f5f5b;
  --accent-deep: #174a47;
  --accent-soft: #e1efea;
  --note: #76501c;
  --note-soft: #f5eddf;
  --font: "Inter", "Helvetica Neue", Arial, sans-serif;
  --container: 1180px;
  --radius: 4px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--paper); color: var(--ink-2); font: 400 16px/1.6 var(--font); text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .18em; transition: color .18s ease, text-decoration-color .18s ease; }
h1, h2, h3, p, dl, figure { margin-top: 0; }
h1, h2, h3 { color: var(--ink); font-weight: 600; letter-spacing: -.045em; }
h1 { font-size: clamp(3.8rem, 7vw, 7.2rem); line-height: .91; max-width: 12ch; text-wrap: balance; }
h2 { font-size: clamp(2rem, 3.7vw, 4rem); line-height: 1; text-wrap: balance; }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.65rem); line-height: 1.15; }
p { max-width: 65ch; text-wrap: pretty; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.eyebrow { margin-bottom: 16px; color: var(--muted); font-size: .72rem; font-weight: 600; letter-spacing: .08em; line-height: 1.3; text-transform: uppercase; }
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(247, 247, 244, .96); border-bottom: 1px solid var(--line); }
.nav { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 24px; }
.brand { color: var(--ink); font-size: .95rem; font-weight: 700; text-decoration: none; letter-spacing: -.02em; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--muted); font-size: .88rem; text-decoration: none; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--ink); }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 18px; border: 1px solid transparent; border-radius: 0; font-size: .88rem; font-weight: 600; text-decoration: none; transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--accent); color: #fff; }
.button-primary:hover, .button-primary:focus-visible { background: var(--accent-deep); }
.button-secondary { border-color: var(--line); background: transparent; color: var(--ink); }
.button-secondary:hover, .button-secondary:focus-visible { border-color: var(--ink); background: var(--surface); }
.nav-cta { min-height: 38px; padding-inline: 15px; font-size: .82rem; }
.hero { display: grid; min-height: calc(100svh - 72px); grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); align-items: end; gap: clamp(44px, 8vw, 120px); padding-block: clamp(72px, 10vw, 150px) clamp(70px, 9vw, 120px); }
.hero-copy { max-width: 760px; padding-bottom: 18px; }
.hero-copy .eyebrow { color: var(--accent); }
.lede { max-width: 46ch; margin: 32px 0 36px; font-size: clamp(1.05rem, 1.5vw, 1.28rem); line-height: 1.45; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-meta { display: inline-flex; margin: 52px 0 0; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; }
.project-index { align-self: end; padding-top: 22px; border-top: 3px solid var(--accent); }
.index-heading { display: flex; justify-content: space-between; gap: 20px; padding: 0 0 20px; background: transparent; }
.index-heading .eyebrow { margin: 0; }
.project-index a { display: grid; grid-template-columns: 42px 1fr auto; gap: 16px; align-items: start; padding: 22px 0; border-top: 1px solid var(--line); text-decoration: none; transition: background-color .18s ease, padding-left .18s ease; }
.project-index a:hover, .project-index a:focus-visible { padding-left: 12px; background: var(--accent-soft); }
.project-index b { color: var(--accent); font-size: .9rem; font-weight: 600; }
.project-index strong { display: block; color: var(--ink); font-size: clamp(1.05rem, 1.6vw, 1.35rem); letter-spacing: -.03em; }
.project-index small { display: block; margin-top: 4px; color: var(--muted); font-size: .78rem; }
.project-index i { align-self: center; color: var(--accent); font-size: 1.25rem; font-style: normal; }
.section { padding-block: clamp(86px, 11vw, 160px); }
.section-heading > div { position: relative; padding-left: 18px; }
.section-heading > div::before { position: absolute; top: 3px; bottom: .2em; left: 0; width: 3px; background: var(--accent); content: ""; }
#work { background: var(--surface); }
#capabilities, #contact { background: var(--surface-soft); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .55fr); gap: 48px; align-items: end; margin-bottom: 54px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { margin: 0; color: var(--muted); font-size: 1rem; }
.projects { display: grid; gap: 18px; }
.project { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); gap: clamp(28px, 5vw, 72px); padding: clamp(22px, 4vw, 42px) 0; border-top: 1px solid var(--line); transition: background-color .2s ease; }
.project:hover { background: rgba(225, 239, 234, .28); }
.project:first-child { border-top: 0; padding-top: 0; }
.project:nth-child(even) .visual { order: 2; }
.visual { min-height: 300px; overflow: hidden; background: var(--surface-soft); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 0; box-shadow: none; }
.workflow, .chat-visual, .quote-visual { position: relative; display: flex; align-items: center; justify-content: center; padding: 50px 24px 24px; }
.visual-label { position: absolute; top: 18px; left: 20px; color: var(--muted); font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.flow-card { min-width: 84px; padding: 16px 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-align: center; }
.flow-card span, .flow-card b { display: block; }
.flow-card span { color: var(--muted); font-size: .72rem; }
.flow-card b { margin-top: 4px; color: var(--ink); font-size: .84rem; }
.flow-card.highlight { background: var(--accent); border-color: var(--accent); color: #fff; }
.flow-card.highlight span, .flow-card.highlight b { color: #fff; }
.workflow em { margin-inline: 8px; color: var(--accent); font-style: normal; }
.screenshot { display: flex; margin: 0; flex-direction: column; background: var(--surface-soft); }
.screenshot img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; object-position: center; }
.screenshot figcaption { padding: 10px 14px; color: var(--muted); font-size: .72rem; }
.chat-visual { flex-direction: column; gap: 12px; }
.bubble { max-width: 84%; padding: 13px 15px; border-radius: var(--radius); font-size: .84rem; }
.bubble.user { align-self: flex-end; background: var(--accent); color: #fff; }
.bubble.system { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.connector { height: 20px; margin-left: 20%; border-left: 1px solid var(--accent); }
.quote-visual { min-height: 300px; }
.quote-sheet { display: grid; width: min(250px, 80%); gap: 11px; padding: 25px 20px 18px; background: var(--surface); border: 1px solid var(--line); font-size: .8rem; }
.quote-sheet span { padding-bottom: 8px; border-bottom: 1px solid var(--line); color: var(--muted); }
.quote-sheet b { color: var(--ink); }
.quote-sheet hr { width: 100%; margin: 2px 0; border: 0; border-top: 1px solid var(--line); }
.quote-sheet button { justify-self: end; padding: 6px 10px; background: var(--accent); border: 0; border-radius: 2px; color: #fff; font-size: .68rem; }
.project-content { display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.project-content .eyebrow { margin-bottom: 0; }
.project-content h3 { margin-bottom: 0; }
.project-content > p { margin-bottom: 0; }
.project-content dl { margin-bottom: 0; border-top: 1px solid var(--line); font-size: .88rem; }
.project-content dl div { display: grid; grid-template-columns: 108px 1fr; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
dt { color: var(--muted); font-size: .68rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
dd { margin: 0; color: var(--ink); }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.tags li { padding: 5px 8px; background: var(--accent-soft); color: var(--accent-deep); border-radius: 2px; font-size: .7rem; font-weight: 600; }
.note { margin: 0; padding: 12px 14px; background: var(--note-soft); border-left: 2px solid var(--note); color: var(--note); font-size: .82rem; }
.capabilities { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.capabilities article { min-height: 210px; padding: 28px 24px 25px 0; border-bottom: 1px solid var(--line); }
.capabilities article:nth-child(even) { padding-inline: 24px 0; border-left: 1px solid var(--line); }
.capabilities h3 { max-width: 18ch; margin-bottom: 14px; }
.capabilities p { margin-bottom: 24px; color: var(--muted); }
.capabilities small { display: block; padding-top: 15px; border-top: 1px dashed var(--line); color: var(--muted); font-size: .78rem; }
.capabilities a { color: var(--accent); }
.about, .contact { display: grid; grid-template-columns: minmax(180px, .7fr) minmax(0, 1.3fr); gap: clamp(36px, 7vw, 100px); }
.portrait { display: grid; min-height: 300px; place-items: center; background: var(--surface-soft); color: var(--accent); border-radius: var(--radius); }
.portrait span { font-size: 3rem; font-weight: 600; letter-spacing: -.08em; }
.prose { max-width: 64ch; margin-top: 26px; }
.prose p + p { margin-top: 1em; }
.about ol { margin: 34px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.about li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.about li b { color: var(--muted); font-size: .74rem; }
.about li strong { color: var(--ink); }
.contact { grid-template-columns: minmax(0, 1.2fr) minmax(220px, .8fr); }
.contact > div { display: flex; flex-direction: column; gap: 18px; }
.contact > div > p:not(.eyebrow) { max-width: 50ch; margin: 0; font-size: 1.05rem; }
.contact dl { margin: 0; border-top: 1px solid var(--line); }
.contact dl div { display: grid; grid-template-columns: 92px 1fr; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.contact dd a { color: var(--accent); font-size: .9rem; }
.site-footer { padding-block: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
.site-footer .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
@media (max-width: 820px) { .hero { grid-template-columns: 1fr; min-height: auto; padding-block: 76px 84px; } .hero-copy { padding-bottom: 0; } .project-index { width: min(100%, 620px); } .project { grid-template-columns: 1fr; } .project:nth-child(even) .visual { order: initial; } .project-content { max-width: 680px; } .section-heading, .about, .contact { grid-template-columns: 1fr; gap: 22px; } .portrait { min-height: 180px; } }
@media (max-width: 620px) { html { scroll-padding-top: 112px; } .container { width: min(var(--container), calc(100% - 32px)); } .nav { min-height: 64px; flex-wrap: wrap; padding-block: 10px; } .nav-links { display: flex; flex-basis: 100%; order: 3; gap: 18px; overflow-x: auto; padding-bottom: 3px; } .nav-links a { flex: 0 0 auto; white-space: nowrap; } .nav-cta { font-size: .78rem; } h1 { max-width: 12ch; font-size: clamp(3.25rem, 15vw, 5rem); } .hero { padding-block: 64px 72px; } .section { padding-block: 82px; } .project { padding-block: 28px; } .visual, .screenshot img { min-height: 240px; } .workflow { gap: 2px; padding-inline: 12px; } .flow-card { min-width: 70px; padding-inline: 5px; } .workflow em { margin-inline: 3px; } .capabilities { grid-template-columns: 1fr; } .capabilities article, .capabilities article:nth-child(even) { min-height: auto; padding: 24px 0; border-left: 0; } .project-content dl div, .contact dl div { grid-template-columns: 88px 1fr; } .site-footer .container { align-items: flex-start; flex-direction: column; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
