:root {
  --ink: #11120f;
  --paper: #f7f4ed;
  --paper-deep: #eee9de;
  --lime: #d9ff4f;
  --muted: #65665f;
  --line: #c9c5b9;
  --white: #fffdf8;
  --display: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --shell: min(1240px, calc(100% - 40px));
  --shadow: 0 15px 40px rgba(17, 18, 15, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--display); font-size: 16px; line-height: 1.5; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
button { font: inherit; }
::selection { background: var(--lime); color: var(--ink); }

.shell { width: var(--shell); margin-inline: auto; }
.section { padding-block: clamp(88px, 13vw, 172px); }
.skip-link { position: absolute; z-index: 100; top: -100px; left: 16px; padding: 10px 14px; background: var(--lime); color: var(--ink); font-weight: 800; }
.skip-link:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid #0e63cc; outline-offset: 4px; }

.site-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid rgba(17,18,15,.13); background: rgba(247,244,237,.92); backdrop-filter: blur(15px); }
.nav-shell { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 780; letter-spacing: -.03em; text-decoration: none; }
.brand img { flex: 0 0 auto; border-radius: 3px; }
.site-nav { display: flex; align-items: center; gap: 24px; font-size: 14px; font-weight: 700; }
.site-nav a { text-decoration: none; }
.site-nav a:not(.nav-contact):hover { text-decoration: underline; }
.nav-contact { padding: 9px 12px; background: var(--ink); color: var(--paper); border-radius: 2px; }
.menu-button { display: none; border: 0; padding: 8px 0; background: transparent; color: var(--ink); font-weight: 750; cursor: pointer; }

.hero { min-height: min(790px, calc(100vh - 72px)); display: flex; flex-direction: column; justify-content: center; }
.hero-meta, .panel-topline, .section-label, .project-stamp, .service-number, .timeline-year, .timeline-type, .eyebrow, .kicker, .project-tag, .fine-print, .contact-note { font-family: var(--mono); font-size: 11px; font-weight: 700; line-height: 1.35; letter-spacing: .075em; text-transform: uppercase; }
.hero-meta { display: flex; justify-content: space-between; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--ink); }
.eyebrow { margin: 0; display: flex; align-items: center; gap: 8px; }
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px rgba(217,255,79,.27); }
.hero-index { margin: 0; font-family: var(--mono); font-size: 11px; font-weight: 700; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, .7fr); gap: clamp(36px, 7vw, 108px); align-items: end; padding-top: clamp(38px, 7vw, 86px); }
.kicker { margin: 0 0 16px; color: var(--muted); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-weight: 760; letter-spacing: -.075em; line-height: .95; }
h1 { max-width: 850px; margin-bottom: 28px; font-size: clamp(55px, 8.3vw, 126px); }
h1 em, h2 em { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.08em; }
.lede { max-width: 620px; margin-bottom: 32px; color: #3e3f39; font-size: clamp(19px, 2.1vw, 25px); line-height: 1.45; letter-spacing: -.025em; }
.hero-actions, .perspective-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.button { display: inline-flex; align-items: center; gap: 22px; min-height: 50px; padding: 13px 17px; border: 1px solid transparent; border-radius: 2px; font-size: 14px; font-weight: 780; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: var(--paper); }
.button-light { background: var(--lime); color: var(--ink); }
.text-link { display: inline-flex; gap: 9px; align-items: center; font-size: 14px; font-weight: 750; }
.hero-panel { padding: 19px; background: var(--ink); color: var(--paper); }
.panel-topline { display: flex; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid rgba(247,244,237,.33); color: var(--lime); }
.focus-list { margin: 17px 0 21px; padding: 0; list-style: none; }
.focus-list li { display: flex; gap: 14px; padding-block: 7px; border-bottom: 1px solid rgba(247,244,237,.15); font-size: 15px; font-weight: 650; }
.focus-list span { color: var(--lime); font-family: var(--mono); font-size: 11px; }
.hero-panel > p { margin: 0; color: #d3d0c7; font-size: 14px; line-height: 1.5; }

.proof-strip { background: var(--lime); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-grid article { display: flex; min-height: 130px; flex-direction: column; justify-content: center; padding: 21px; border-right: 1px solid rgba(17,18,15,.35); }
.proof-grid article:first-child { border-left: 1px solid rgba(17,18,15,.35); }
.proof-grid strong { font-size: clamp(25px, 3vw, 43px); line-height: 1; letter-spacing: -.06em; }
.proof-grid span { margin-top: 11px; max-width: 140px; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

.section-label { display: flex; gap: 16px; align-items: center; margin-bottom: clamp(34px, 5vw, 63px); color: var(--muted); }
.section-label span { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; background: var(--ink); color: var(--lime); border-radius: 50%; font-size: 10px; }
.section-label p { margin: 0; }
.section-heading { display: grid; grid-template-columns: 1.2fr .52fr; gap: 60px; align-items: end; margin-bottom: 47px; }
h2 { margin-bottom: 0; font-size: clamp(42px, 6vw, 82px); }
.section-heading > p, .intro-copy { margin: 0; font-size: 18px; line-height: 1.55; color: #494a44; }
.service-list { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.service-card { min-height: 310px; display: flex; flex-direction: column; padding: 21px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.service-number { margin-bottom: auto; color: var(--muted); }
.service-card h3 { margin-bottom: 10px; font-size: 24px; letter-spacing: -.045em; }
.service-card > p:not(.service-number) { min-height: 94px; margin-bottom: 18px; color: #4d4e47; font-size: 14px; line-height: 1.5; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { padding: 5px 7px; background: var(--paper-deep); font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }

.experience { border-top: 1px solid var(--line); }
.experience-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(46px, 9vw, 150px); }
.experience-grid h2 { margin-bottom: 25px; }
.timeline { border-top: 1px solid var(--ink); }
.timeline-item { display: grid; grid-template-columns: 132px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.timeline-year, .timeline-type { color: var(--muted); }
.timeline-type { margin-bottom: 7px; }
.timeline-item h3 { margin-bottom: 5px; font-size: 22px; line-height: 1.08; letter-spacing: -.04em; }
.timeline-item h3 + p { margin-bottom: 11px; font-size: 14px; font-weight: 700; }
.timeline-detail { margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

.projects { border-top: 1px solid var(--line); }
.projects-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 44px; }
.project-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; }
.project-card { display: flex; min-height: 405px; flex-direction: column; justify-content: space-between; padding: 23px; }
.project-card-dark { background: var(--ink); color: var(--paper); }
.project-card-paper { background: var(--paper-deep); }
.project-card-lime { grid-column: 1 / -1; min-height: 270px; background: var(--lime); }
.project-card-lime > div:nth-child(2) { max-width: 530px; }
.project-stamp { color: inherit; opacity: .7; }
.project-card h3 { margin: 5px 0 12px; font-size: clamp(30px, 4vw, 57px); letter-spacing: -.065em; line-height: .92; }
.project-tag { margin: 0; color: currentColor; opacity: .65; }
.project-card p:not(.project-tag):not(.project-stamp) { max-width: 470px; margin-bottom: 0; font-size: 15px; line-height: 1.5; }
.project-card a, .project-note { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.project-card-dark a { color: var(--lime); }

.perspective { background: var(--ink); color: var(--paper); }
.perspective-layout { display: grid; grid-template-columns: 150px minmax(0, 1.4fr) minmax(180px, .55fr); gap: 50px; }
.section-label.light { color: #bbb9ae; margin: 0; align-self: start; }
.section-label.light span { background: var(--lime); color: var(--ink); }
.quote-mark { height: 76px; margin-bottom: 0; color: var(--lime); font-family: Georgia, serif; font-size: 125px; line-height: 1; }
.perspective-copy h2 { max-width: 850px; font-size: clamp(43px, 5vw, 74px); }
.perspective-text { max-width: 650px; margin: 28px 0; color: #d5d2c8; font-size: 18px; line-height: 1.55; }
.light-link { color: var(--paper); }
.fine-print { margin: 32px 0 0; color: #99978f; }
.perspective-aside { align-self: end; padding: 18px; border: 1px solid rgba(247,244,237,.28); }
.perspective-aside > p { margin-bottom: 17px; color: var(--lime); font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.perspective-aside ol { margin: 0; padding: 0; list-style: none; }
.perspective-aside li { display: flex; gap: 10px; padding-block: 8px; border-top: 1px solid rgba(247,244,237,.15); font-size: 14px; font-weight: 650; }
.perspective-aside li span { color: var(--lime); font-family: var(--mono); font-size: 10px; }

.about { border-bottom: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: 1fr .78fr; gap: clamp(45px, 9vw, 140px); }
.about-grid > div > p:not(.intro-copy) { margin: 21px 0 28px; color: #4b4d46; font-size: 17px; line-height: 1.55; }
.about-links { display: flex; flex-wrap: wrap; gap: 15px 23px; }
.about-links a { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }

.contact-section { padding-block: clamp(82px, 12vw, 150px); background: var(--paper-deep); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.45fr .8fr; gap: 28px; align-items: start; }
.contact-grid h2 { font-size: clamp(48px, 6vw, 84px); }
.contact-side { padding-top: 10px; }
.contact-side > p:not(.contact-note) { margin-bottom: 25px; color: #4a4b45; font-size: 15px; line-height: 1.55; }
.contact-links { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-bottom: 14px; }
.contact-email { display: inline-flex; gap: 9px; margin-bottom: 15px; border-bottom: 2px solid var(--ink); font-size: 18px; font-weight: 760; letter-spacing: -.035em; text-decoration: none; }
.contact-note { margin: 0; color: var(--muted); }

.site-footer { padding-block: 25px; background: var(--ink); color: var(--paper); }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1fr .7fr auto; align-items: center; gap: 25px; }
.footer-grid p, .footer-grid > a:last-child { margin: 0; font-family: var(--mono); font-size: 10px; font-weight: 700; line-height: 1.5; letter-spacing: .05em; text-transform: uppercase; }
.footer-grid > a:last-child { color: var(--lime); }

.reveal { animation: reveal .7s cubic-bezier(.2,.75,.25,1) both; }
.delay-1 { animation-delay: .08s; }
.delay-2 { animation-delay: .15s; }
@keyframes reveal { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 900px) {
  .section-heading, .experience-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .section-heading { gap: 24px; }
  .service-list { grid-template-columns: repeat(2, 1fr); }
  .perspective-layout { grid-template-columns: 1fr; gap: 28px; }
  .section-label.light { margin-bottom: 0; }
  .perspective-aside { max-width: 400px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card-lime { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --shell: min(100% - 32px, 1240px); }
  .nav-shell { min-height: 64px; }
  .site-nav { position: absolute; top: 64px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 16px 16px; border-bottom: 1px solid var(--ink); background: var(--paper); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav .nav-contact { margin-top: 8px; padding: 12px; border: 0; text-align: center; }
  .menu-button { display: inline-flex; }
  .hero { min-height: auto; padding-block: 60px 84px; }
  .hero-grid { grid-template-columns: 1fr; gap: 43px; padding-top: 38px; }
  h1 { font-size: clamp(51px, 16vw, 76px); }
  h2 { font-size: clamp(39px, 12vw, 59px); }
  .lede { font-size: 18px; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid article:nth-child(3) { border-left: 1px solid rgba(17,18,15,.35); }
  .proof-grid article { min-height: 112px; }
  .service-list { grid-template-columns: 1fr; }
  .service-card { min-height: 250px; }
  .service-card > p:not(.service-number) { min-height: auto; }
  .timeline-item { grid-template-columns: 1fr; gap: 10px; }
  .projects-heading { display: block; }
  .projects-heading .text-link { margin-top: 24px; }
  .project-card { min-height: 330px; }
  .project-card-lime { min-height: 300px; }
  .quote-mark { height: 54px; font-size: 96px; }
  .perspective-copy h2 { font-size: clamp(40px, 11vw, 58px); }
  .footer-grid { grid-template-columns: 1fr; gap: 17px; }
}

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