:root {
  --ink: #171a18;
  --ink-soft: #252a27;
  --paper: #f0eee8;
  --paper-deep: #e5e1d8;
  --white: #faf9f5;
  --signal: #d5ed37;
  --signal-dark: #bcd220;
  --line: rgba(23, 26, 24, .18);
  --muted: #686e69;
  --display: "Bodoni 72", Didot, "Times New Roman", serif;
  --body: "Avenir Next", Avenir, "Century Gothic", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --shell: min(1340px, calc(100% - 80px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 10px 16px; background: var(--signal); color: var(--ink); transform: translateY(-150%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }
.noise { position: fixed; inset: 0; z-index: 50; opacity: .035; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E"); }
.section-shell { width: var(--shell); margin-inline: auto; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 40; height: 96px; padding: 16px 40px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid transparent; transition: background .3s, border-color .3s, height .3s; }
.site-header.scrolled, .site-header.is-solid { height: 78px; background: rgba(240,238,232,.92); border-color: var(--line); backdrop-filter: blur(14px); }
.brand { width: 128px; display: block; }
.brand img { width: 100%; height: 56px; object-fit: contain; object-position: left center; }
.site-nav { display: flex; align-items: center; gap: 34px; font-size: 13px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
.site-nav a { position: relative; text-decoration: none; }
.site-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px; background: currentColor; transition: right .25s; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { right: 0; }
.nav-cta { padding: 13px 18px; background: var(--ink); color: var(--white); transition: background .2s, color .2s; }
.nav-cta:hover { background: var(--signal); color: var(--ink); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; }
.menu-toggle span:not(.sr-only) { display: block; width: 24px; height: 1px; margin: 6px auto; background: var(--ink); transition: transform .25s; }
.back-link { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.back-link span { margin-right: 8px; }

.hero { min-height: 820px; height: 100svh; max-height: 980px; padding: 160px max(40px, calc((100vw - 1340px)/2)) 70px; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 40px; position: relative; }
.hero-copy { position: relative; z-index: 2; max-width: 750px; }
.eyebrow, .section-number { margin: 0 0 28px; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 12px; }
.eyebrow span { width: 34px; height: 2px; background: var(--signal-dark); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.045em; line-height: .96; }
h1 { max-width: 800px; margin-bottom: 34px; font-size: clamp(66px, 7.7vw, 128px); }
h1 em, h2 em { font-weight: 400; color: var(--muted); }
.hero-intro { max-width: 590px; margin-bottom: 38px; padding-left: 100px; color: #4e544f; font-size: clamp(17px, 1.35vw, 21px); line-height: 1.65; }
.hero-actions { padding-left: 100px; display: flex; align-items: center; gap: 28px; }
.button { min-height: 54px; padding: 14px 20px; display: inline-flex; align-items: center; justify-content: space-between; gap: 34px; border: 1px solid currentColor; font-size: 12px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-3px); }
.button-primary { background: var(--ink); color: var(--white); border-color: var(--ink); }
.button-primary:hover { background: var(--signal); border-color: var(--signal); color: var(--ink); }
.button-light { background: var(--signal); color: var(--ink); border-color: var(--signal); }
.button-light:hover { background: var(--white); border-color: var(--white); }
.text-link { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.text-link span { display: inline-block; margin-left: 8px; transition: transform .2s; }
.text-link:hover span { transform: translateY(4px); }

.hero-visual { position: relative; aspect-ratio: 1; max-width: 650px; width: 100%; justify-self: end; }
.technical-field { position: absolute; inset: 7%; border: 1px solid var(--line); border-radius: 50%; }
.technical-field::before, .technical-field::after { content: ""; position: absolute; inset: 15%; border: 1px dashed rgba(23,26,24,.18); border-radius: 50%; }
.technical-field::after { inset: 30%; border-style: solid; }
.orbit { position: absolute; inset: 9%; border: 1px solid rgba(23,26,24,.48); border-radius: 50%; animation: rotate 24s linear infinite; }
.orbit::before { content: ""; position: absolute; top: 6%; left: 23%; width: 10px; height: 10px; border-radius: 50%; background: var(--signal-dark); box-shadow: 0 0 0 6px var(--paper); }
.orbit-two { inset: 21%; animation-direction: reverse; animation-duration: 16s; }
.orbit-two::before { top: 70%; left: 90%; width: 6px; height: 6px; }
.axis { position: absolute; background: rgba(23,26,24,.25); }
.axis-x { left: -6%; right: -6%; top: 50%; height: 1px; }
.axis-y { top: -6%; bottom: -6%; left: 50%; width: 1px; }
.machine-core { position: absolute; inset: 39%; display: grid; place-items: center; background: var(--ink); transform: rotate(45deg); }
.machine-core i { width: 40%; height: 40%; border: 1px solid var(--signal); border-radius: 50%; }
.measure { position: absolute; font-family: var(--mono); font-size: 9px; letter-spacing: .08em; }
.measure-a { top: 15%; right: 6%; }.measure-b { bottom: 24%; left: 2%; }.measure-c { bottom: 5%; right: 24%; }
.visual-note { position: absolute; padding: 8px 12px; background: var(--paper); border: 1px solid var(--line); font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.visual-note span { color: var(--muted); margin-right: 8px; }
.note-top { top: 4%; left: 11%; }.note-right { top: 35%; right: -1%; }.note-bottom { left: 16%; bottom: 6%; }
.hero-caption { position: absolute; right: 0; bottom: 3%; padding-left: 20px; border-left: 2px solid var(--signal-dark); font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.hero-index { position: absolute; bottom: 24px; left: 40px; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; writing-mode: vertical-rl; }
@keyframes rotate { to { transform: rotate(360deg); } }

.signal-bar { width: 100%; overflow: hidden; background: var(--signal); border-block: 1px solid var(--ink); }
.signal-track { width: max-content; padding: 13px 0; display: flex; align-items: center; gap: 28px; animation: ticker 30s linear infinite; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.signal-track i { width: 5px; height: 5px; background: var(--ink); transform: rotate(45deg); }
@keyframes ticker { to { transform: translateX(-50%); } }

.expertise { padding-block: 150px 170px; }
.section-heading { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 50px; align-items: end; margin-bottom: 90px; }
.section-number { color: var(--muted); }
.section-number.light { color: rgba(250,249,245,.55); }
.section-heading h2, .process h2, .about h2, .contact h2, .work-cta h2 { margin-bottom: 0; font-size: clamp(48px, 5.2vw, 82px); }
.section-heading > p:last-child { margin: 0; color: var(--muted); font-size: 15px; }
.service-list { border-top: 1px solid var(--ink); }
.service-item { min-height: 158px; padding: 30px 12px; display: grid; grid-template-columns: 70px 1.3fr 1fr 60px; gap: 30px; align-items: center; border-bottom: 1px solid var(--line); transition: background .3s, padding .3s; }
.service-item:hover { padding-inline: 26px; background: var(--white); }
.service-number { font-family: var(--mono); font-size: 10px; }
.service-title { display: grid; grid-template-columns: 58px 1fr; gap: 22px; align-items: center; }
.service-title svg { width: 48px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.service-title h3 { margin: 0; font-family: var(--display); font-size: clamp(28px, 2.8vw, 42px); font-weight: 400; line-height: 1; }
.service-item > p { max-width: 450px; margin: 0; color: var(--muted); font-size: 14px; }
.service-arrow { justify-self: end; font-size: 24px; transition: transform .25s; }
.service-item:hover .service-arrow { transform: translate(5px,-5px); }

.process { padding-block: 145px; background: var(--ink); color: var(--white); }
.process-inner { display: grid; grid-template-columns: .82fr 1.18fr; gap: 11vw; }
.process-intro { position: sticky; top: 130px; align-self: start; }
.process-intro > p:not(.section-number) { max-width: 420px; margin: 34px 0; color: rgba(250,249,245,.63); }
.process-steps { margin: 20px 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.2); }
.process-steps li { min-height: 205px; padding: 36px 0; display: grid; grid-template-columns: 90px 1fr; border-bottom: 1px solid rgba(255,255,255,.2); }
.process-steps > li > span { font-family: var(--mono); font-size: 11px; color: var(--signal); }
.process-steps h3 { margin-bottom: 18px; font-family: var(--display); font-size: 38px; font-weight: 400; }
.process-steps p { max-width: 480px; margin: 0; color: rgba(250,249,245,.57); font-size: 14px; }

.about { padding-block: 160px; display: grid; grid-template-columns: .85fr 1.15fr; gap: 9vw; align-items: center; }
.about-mark { aspect-ratio: 1; display: grid; grid-template-columns: repeat(3,1fr); align-items: center; position: relative; border: 1px solid var(--line); overflow: hidden; }
.about-mark::before { content: ""; position: absolute; width: 62%; aspect-ratio: 1; left: 19%; border: 1px solid var(--ink); border-radius: 50%; }
.about-mark::after { content: ""; position: absolute; width: 1px; height: 140%; left: 50%; top: -20%; background: var(--line); transform: rotate(35deg); }
.about-mark span { position: relative; z-index: 1; font-family: var(--display); font-size: clamp(70px, 9vw, 140px); line-height: 1; text-align: center; mix-blend-mode: multiply; }
.about-mark span:nth-child(2) { color: var(--signal-dark); transform: translateY(12%); }
.about-copy h2 { max-width: 700px; margin-bottom: 38px; }
.about-lead { max-width: 690px; font-size: clamp(20px, 2vw, 27px); line-height: 1.5; }
.about-columns { margin-top: 45px; display: grid; grid-template-columns: 1fr 1fr; gap: 45px; padding-top: 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

.contact { padding-block: 140px; background: var(--ink-soft); color: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10vw; }
.contact-copy > p:last-child { max-width: 480px; margin-top: 35px; color: rgba(250,249,245,.62); font-size: 18px; }
.contact-actions { border-top: 1px solid rgba(255,255,255,.24); }
.contact-actions a { min-height: 112px; padding: 22px 8px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.24); text-decoration: none; font-family: var(--display); font-size: clamp(22px, 2vw, 32px); transition: padding .25s, color .25s; }
.contact-actions a:hover { padding-inline: 20px; color: var(--signal); }
.contact-actions small { display: block; margin-bottom: 4px; color: rgba(250,249,245,.5); font-family: var(--mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.contact-actions b { font-family: var(--body); font-size: 22px; font-weight: 400; }
.site-footer { min-height: 125px; padding: 28px 40px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; background: var(--ink); color: rgba(250,249,245,.55); border-top: 1px solid rgba(255,255,255,.12); font-family: var(--mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.footer-brand { filter: invert(1); opacity: .8; }
.site-footer p { margin: 0; }.site-footer p:last-child { justify-self: end; }

.work-page { background: var(--paper); }
.work-hero { padding-top: 180px; padding-bottom: 100px; }
.work-hero-grid { display: grid; grid-template-columns: 1.5fr .5fr; gap: 7vw; align-items: end; }
.work-hero h1 { max-width: 950px; margin: 0; font-size: clamp(62px, 8vw, 124px); }
.work-hero-grid > p { margin: 0 0 14px; color: var(--muted); }
.blueprint-line { height: 64px; margin-top: 80px; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; }
.blueprint-line span { height: 1px; background: var(--line); }.blueprint-line i { width: 9px; height: 9px; margin: 0 15px; background: var(--signal-dark); transform: rotate(45deg); }
.work-list { padding-bottom: 150px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.work-card { min-height: 350px; padding: 30px; display: flex; flex-direction: column; border: 1px solid var(--line); background: rgba(250,249,245,.48); transition: background .25s, transform .25s; }
.work-card:nth-child(1), .work-card:nth-child(4), .work-card:nth-child(5), .work-card:nth-child(8) { grid-column: span 7; }
.work-card:nth-child(2), .work-card:nth-child(3), .work-card:nth-child(6), .work-card:nth-child(7) { grid-column: span 5; }
.work-card:hover { background: var(--white); transform: translateY(-5px); }
.work-card > span { font-family: var(--mono); font-size: 10px; }
.work-card h2 { max-width: 520px; margin: auto 0 24px; font-size: clamp(38px, 4vw, 60px); }
.work-card p { max-width: 540px; color: var(--muted); }
.work-card b { margin-top: 24px; padding-top: 15px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.work-cta { margin-bottom: 100px; padding: 65px; display: flex; align-items: end; justify-content: space-between; gap: 40px; background: var(--ink); color: var(--white); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  :root { --shell: min(100% - 48px, 900px); }
  .site-header { padding-inline: 24px; }
  .hero { height: auto; max-height: none; padding: 150px 24px 90px; grid-template-columns: 1fr; }
  .hero-copy { max-width: 850px; }
  .hero-visual { max-width: 600px; justify-self: center; }
  .hero-intro, .hero-actions { padding-left: 0; }
  .section-heading { grid-template-columns: 1fr 2fr; }.section-heading > p:last-child { grid-column: 2; }
  .service-item { grid-template-columns: 45px 1.25fr 1fr 35px; }
  .process-inner, .about, .contact-grid { gap: 7vw; }
  .work-hero-grid { grid-template-columns: 1fr; }.work-hero-grid > p { max-width: 600px; }
}

@media (max-width: 760px) {
  :root { --shell: calc(100% - 36px); }
  .site-header, .site-header.scrolled, .site-header.is-solid { height: 72px; padding: 9px 18px; }
  .brand { width: 105px; }.brand img { height: 50px; }
  .menu-toggle { display: block; position: relative; z-index: 2; }
  .site-nav { position: fixed; inset: 0; padding: 120px 28px 40px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; background: var(--paper); transform: translateX(100%); transition: transform .35s ease; font-family: var(--display); font-size: 34px; font-weight: 400; letter-spacing: -.02em; text-transform: none; }
  .site-nav.is-open { transform: none; }
  .site-nav .nav-cta { margin-top: auto; width: 100%; font-family: var(--body); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
  .hero { min-height: 0; padding: 125px 18px 70px; gap: 60px; }
  h1 { font-size: clamp(58px, 18vw, 82px); }
  .hero-intro { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-visual { width: 95%; }.hero-caption { display: none; }.visual-note { font-size: 8px; }.note-right { right: -4%; }
  .hero-index { display: none; }
  .signal-track { animation-duration: 22s; }
  .expertise { padding-block: 100px; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 55px; }.section-heading > p:last-child { grid-column: auto; }
  .service-item { padding: 26px 0; grid-template-columns: 35px 1fr 25px; gap: 12px; }.service-item:hover { padding-inline: 10px; }.service-title { grid-template-columns: 42px 1fr; gap: 12px; }.service-title svg { width: 36px; }.service-item > p { grid-column: 2 / -1; }.service-arrow { grid-column: 3; grid-row: 1; }
  .process { padding-block: 95px; }.process-inner { grid-template-columns: 1fr; gap: 70px; }.process-intro { position: static; }.process-steps li { grid-template-columns: 50px 1fr; min-height: 180px; }
  .about { padding-block: 100px; grid-template-columns: 1fr; }.about-mark { max-width: 520px; }.about-columns { grid-template-columns: 1fr; gap: 10px; }
  .contact { padding-block: 95px; }.contact-grid { grid-template-columns: 1fr; gap: 60px; }
  .site-footer { padding: 28px 18px; grid-template-columns: 1fr 1fr; }.site-footer > p:nth-child(2) { display: none; }.site-footer p:last-child { text-align: right; }
  .work-hero { padding-top: 130px; padding-bottom: 65px; }.work-hero h1 { font-size: clamp(56px, 16vw, 80px); }.blueprint-line { margin-top: 45px; }
  .work-list { padding-bottom: 90px; }.work-card, .work-card:nth-child(n) { grid-column: span 12; min-height: 310px; padding: 24px; }
  .work-cta { width: 100%; margin-bottom: 0; padding: 55px 18px; flex-direction: column; align-items: flex-start; }
}

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