:root {
  --ink: #101820;
  --ink-soft: #26323c;
  --paper: #f3efe6;
  --paper-deep: #e6dfd2;
  --lime: #c7f36b;
  --blue: #7ec8e3;
  --line: rgba(16, 24, 32, 0.18);
  --serif: "Newsreader", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
  --mono: "DM Mono", Consolas, monospace;
  --shell: min(1380px, calc(100vw - 80px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 12px 18px; background: var(--lime); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.section-shell { width: var(--shell); margin: 0 auto; }

.site-header { width: var(--shell); height: 96px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.wordmark { text-decoration: none; font-size: 25px; font-weight: 700; letter-spacing: -0.06em; }
.wordmark-dot { color: #769e22; }
.site-nav { display: flex; align-items: center; gap: 38px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; }
.site-nav a { text-decoration: none; transition: opacity .2s ease; }
.site-nav a:hover { opacity: .55; }
.site-nav .nav-cta { border: 1px solid var(--ink); padding: 11px 17px; border-radius: 99px; }
.menu-button { display: none; border: 0; background: none; padding: 12px; }
.menu-button span { display: block; width: 24px; height: 1px; background: var(--ink); margin: 6px; }

.hero { min-height: calc(100vh - 96px); padding: 34px 0 0; display: flex; flex-direction: column; }
.hero-kicker { font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em; font-size: 11px; display: flex; align-items: center; gap: 10px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #6c9914; box-shadow: 0 0 0 5px rgba(108,153,20,.12); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .5fr); gap: 8vw; align-items: end; flex: 1; padding: 40px 0 64px; }
.eyebrow { margin: 0 0 28px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .12em; font-size: 11px; font-weight: 500; }
.hero h1 { max-width: 990px; margin: 0; font-family: var(--serif); font-size: clamp(64px, 7.2vw, 118px); font-weight: 400; line-height: .9; letter-spacing: -.055em; }
.hero h1 em { color: #58751c; font-weight: 400; }
.hero-summary { max-width: 710px; margin: 36px 0 0 12%; font-size: clamp(17px, 1.35vw, 21px); line-height: 1.65; color: var(--ink-soft); }
.hero-actions { margin: 34px 0 0 12%; display: flex; align-items: center; gap: 30px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; border-radius: 999px; padding: 16px 22px; font-family: var(--mono); font-size: 12px; text-decoration: none; text-transform: uppercase; letter-spacing: .04em; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: var(--paper); }
.text-link { font-family: var(--mono); font-size: 12px; text-transform: uppercase; text-underline-offset: 7px; }
.text-link span, .project-link span { display: inline-block; transition: transform .2s ease; }
.text-link:hover span, .project-link:hover span { transform: translate(3px,-3px); }

.hero-signal { align-self: center; border: 1px solid var(--line); }
.signal-plot { height: 250px; position: relative; overflow: hidden; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 40px 40px; }
.signal-plot::before, .signal-plot::after { content: ""; position: absolute; inset: auto 8% 20% 8%; height: 1px; background: var(--ink); transform-origin: left; }
.signal-plot::after { inset: 8% auto 12% 16%; width: 1px; height: auto; }
.curve { position: absolute; border: 2px solid; border-color: var(--ink) transparent transparent var(--ink); width: 66%; height: 60%; border-radius: 50% 50% 10% 60%; transform: rotate(10deg); bottom: 17%; left: 18%; }
.curve-two { width: 45%; height: 42%; left: 31%; bottom: 19%; border-color: #668b18 transparent transparent #668b18; transform: rotate(-5deg); }
.plot-point { position: absolute; width: 13px; height: 13px; border: 3px solid var(--paper); border-radius: 50%; background: var(--lime); top: 28%; right: 25%; box-shadow: 0 0 0 1px var(--ink); }
.plot-label { position: absolute; font: 9px var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.plot-label-y { left: 5px; top: 50%; transform: rotate(-90deg); }
.plot-label-x { bottom: 5px; left: 50%; }
.signal-caption { display: grid; grid-template-columns: 95px 1fr; border-top: 1px solid var(--line); padding: 18px; gap: 14px; }
.signal-caption span { font: 10px var(--mono); text-transform: uppercase; }
.signal-caption p { margin: 0; font-size: 13px; line-height: 1.5; }
.capability-strip { min-height: 68px; margin-top: auto; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 24px; font: 10px var(--mono); text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.capability-strip span:not(:last-child)::after { content: "+"; color: #6c9914; margin-left: 4vw; }

.work { padding: 150px 0; }
.section-heading { display: grid; grid-template-columns: .55fr 1fr .75fr; gap: 6vw; align-items: start; margin-bottom: 74px; }
.section-heading h2, .about h2 { margin: 0; font-family: var(--serif); font-size: clamp(50px, 5vw, 78px); line-height: .98; font-weight: 400; letter-spacing: -.045em; }
.section-heading > p:last-child { margin: 10px 0 0; max-width: 420px; color: var(--ink-soft); line-height: 1.75; }
.project-list { border-top: 1px solid var(--ink); }
.project-card { min-height: 365px; display: grid; grid-template-columns: 9% 1fr; position: relative; border-bottom: 1px solid var(--line); padding: 48px 0; transition: background .25s ease, padding .25s ease; }
.project-card:hover { background: rgba(255,255,255,.26); padding-left: 20px; padding-right: 20px; }
.project-featured { grid-template-columns: 9% .9fr .7fr; gap: 3vw; }
.project-number { font: 11px var(--mono); padding-top: 9px; }
.project-content { max-width: 720px; }
.project-meta { display: flex; gap: 22px; font: 10px var(--mono); text-transform: uppercase; letter-spacing: .1em; color: #657079; }
.project-meta span + span::before { content: "·"; margin-right: 22px; }
.project-card h3 { margin: 20px 0 18px; font: 400 clamp(30px, 3vw, 48px)/1.08 var(--serif); letter-spacing: -.03em; }
.project-card p { margin: 0; max-width: 700px; line-height: 1.75; color: var(--ink-soft); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 24px 0 34px; }
.tag-list li { padding: 7px 11px; border: 1px solid var(--line); border-radius: 99px; font: 10px var(--mono); text-transform: uppercase; }
.project-link { font: 11px var(--mono); text-transform: uppercase; letter-spacing: .04em; text-underline-offset: 7px; }
.project-art { position: relative; min-height: 260px; border: 1px solid var(--line); overflow: hidden; background: var(--ink); background-image: linear-gradient(rgba(126,200,227,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(126,200,227,.12) 1px, transparent 1px); background-size: 34px 34px; }
.patient-line { position: absolute; height: 1px; background: var(--blue); width: 88%; left: 6%; top: 50%; transform: rotate(-13deg); }
.patient-line::before, .patient-line::after { content: ""; position: absolute; width: 9px; height: 9px; background: var(--lime); border-radius: 50%; top: -4px; box-shadow: 85px 22px 0 -2px var(--blue), 180px -18px 0 -1px var(--lime), 270px 12px 0 -2px var(--blue); }
.line-b { top: 42%; transform: rotate(8deg); opacity: .7; }
.line-c { top: 68%; transform: rotate(-3deg); opacity: .5; }
.interval { position: absolute; top: 18%; bottom: 16%; right: 20%; width: 16%; background: rgba(199,243,107,.15); border-left: 1px dashed var(--lime); border-right: 1px dashed var(--lime); }
.art-note { position: absolute; bottom: 13px; left: 16px; color: var(--paper); font: 10px var(--mono); }
.all-work-link { display: flex; align-items: center; justify-content: space-between; margin-top: 36px; text-decoration: none; font: 12px var(--mono); text-transform: uppercase; }
.round-arrow { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; transition: background .2s, color .2s; }
.all-work-link:hover .round-arrow { background: var(--ink); color: var(--paper); }

.about { border-top: 1px solid var(--ink); padding: 150px 0; }
.about-intro { display: grid; grid-template-columns: .55fr 1.8fr; gap: 6vw; }
.about-grid { display: grid; grid-template-columns: .9fr 1fr; gap: 10vw; margin: 90px 0; }
.about-statement { font: 400 clamp(22px, 2.15vw, 34px)/1.42 var(--serif); letter-spacing: -.015em; }
.about-statement p { margin: 0 0 28px; }
.principle { display: grid; grid-template-columns: 55px 1fr; gap: 16px; padding: 24px 0; border-top: 1px solid var(--line); }
.principle:last-child { border-bottom: 1px solid var(--line); }
.principle > span { font: 10px var(--mono); }
.principle h3 { margin: 0 0 8px; font-size: 16px; }
.principle p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.65; }
.toolbox { border: 1px solid var(--ink); display: grid; grid-template-columns: .3fr 1fr; padding: 28px; align-items: start; }
.toolbox > p { margin: 8px 0; font: 11px var(--mono); text-transform: uppercase; }
.toolbox-items { display: flex; gap: 8px; flex-wrap: wrap; }
.toolbox-items span { background: var(--ink); color: var(--paper); padding: 10px 14px; font: 10px var(--mono); text-transform: uppercase; }

.contact { width: 100%; max-width: none; padding: 120px max(40px, calc((100vw - 1380px)/2)); background: var(--ink); color: var(--paper); min-height: 660px; display: grid; grid-template-columns: 1fr .55fr; gap: 8vw; align-content: center; }
.contact h2 { max-width: 800px; margin: 0; font: 400 clamp(60px, 7vw, 108px)/.92 var(--serif); letter-spacing: -.05em; }
.contact-copy > p:last-child { max-width: 680px; margin: 36px 0 0; color: #b8c0c5; font-size: 18px; line-height: 1.7; }
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 28px; }
.button-light { background: var(--lime); color: var(--ink); }
.text-link-light { color: var(--paper); }
.contact-footer { grid-column: 1/-1; align-self: end; display: grid; grid-template-columns: 1fr 1fr auto; border-top: 1px solid rgba(255,255,255,.18); padding-top: 25px; margin-top: 70px; font: 10px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: #aeb7bc; }
.contact-footer p { margin: 0; }
.contact-footer a { color: var(--paper); text-underline-offset: 6px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 960px) {
  :root { --shell: calc(100vw - 40px); }
  .site-header { height: 76px; }
  .menu-button { display: block; }
  .site-nav { position: absolute; top: 76px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 18px; background: var(--paper); border: 1px solid var(--line); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 15px; }
  .site-nav .nav-cta { border-radius: 0; }
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; padding: 70px 0 45px; }
  .hero h1 { font-size: clamp(58px, 12vw, 92px); }
  .hero-summary, .hero-actions { margin-left: 0; }
  .hero-signal { display: none; }
  .capability-strip { overflow: auto; justify-content: flex-start; padding: 24px 0; }
  .section-heading { grid-template-columns: 1fr; }
  .section-heading .eyebrow { margin-bottom: 0; }
  .project-featured { grid-template-columns: 9% 1fr; }
  .project-featured .project-art { display: none; }
  .about-intro { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 45px; }
  .toolbox { grid-template-columns: 1fr; gap: 16px; }
  .contact { grid-template-columns: 1fr; padding-left: 20px; padding-right: 20px; }
  .contact-footer { margin-top: 20px; }
}

@media (max-width: 620px) {
  .hero { padding-top: 24px; }
  .hero-grid { padding-top: 50px; }
  .hero h1 { font-size: 55px; }
  .hero-summary { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .work, .about { padding: 95px 0; }
  .project-card, .project-featured { grid-template-columns: 1fr; padding: 35px 0; }
  .project-number { margin-bottom: 20px; }
  .section-heading { margin-bottom: 50px; }
  .section-heading h2, .about h2 { font-size: 48px; }
  .about-grid { margin: 60px 0; }
  .about-statement { font-size: 24px; }
  .contact { min-height: 720px; padding-top: 90px; padding-bottom: 50px; }
  .contact h2 { font-size: 57px; }
  .contact-footer { grid-template-columns: 1fr auto; gap: 12px; }
  .contact-footer p:nth-child(2) { display: none; }
}
