:root {
  color-scheme: dark;
  --paper: #0d0d0d;
  --surface: #141414;
  --surface-muted: #191919;
  --ink: #f0f0ee;
  --muted: #a2a29f;
  --soft: #777773;
  --line: #30302f;
  --line-dark: #444443;
  --dark: #060606;
  --button-dark-hover: #d7d7d3;
  --image-placeholder: #222222;
  --image-label-bg: rgba(14, 14, 14, .94);
  --service-line: #30302f;
  --about-index-line: #30302f;
  --contact-button-bg: #f0f0ee;
  --contact-button-text: #151515;
  --contact-button-hover: #d8d8d4;
  --shell: 1160px;
  --gutter: clamp(22px, 5.3vw, 76px);
  --sans: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

:root[data-theme="light"] {
  color-scheme: light;
  --paper: #f7f7f5;
  --surface: #ffffff;
  --surface-muted: #eeeeec;
  --ink: #171717;
  --muted: #686865;
  --soft: #999994;
  --line: #dcdcd8;
  --line-dark: #373735;
  --dark: #171717;
  --button-dark-hover: #40403e;
  --image-placeholder: #d1d1cd;
  --image-label-bg: rgba(247, 247, 245, .94);
  --service-line: #cfcfcb;
  --about-index-line: #c8c8c3;
  --contact-button-bg: #f7f7f5;
  --contact-button-text: #171717;
  --contact-button-hover: #deded9;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: var(--ink); color: var(--paper); }
.section-shell { width: min(var(--shell), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.section-pad { padding-block: clamp(88px, 10vw, 138px); }
.skip-link { position: absolute; top: 10px; left: 10px; transform: translateY(-150%); background: var(--ink); color: var(--paper); padding: 12px 16px; z-index: 100; }
.skip-link:focus { transform: translateY(0); }

.site-header { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: baseline; font-size: .87rem; font-weight: 800; letter-spacing: -.055em; white-space: nowrap; }
.wordmark-period { margin-left: 2px; color: var(--soft); }
.main-nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 42px); }
.main-nav a { font-size: .78rem; color: var(--muted); transition: color .2s ease; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--ink); }
.main-nav .nav-contact { color: var(--ink); display: inline-flex; align-items: center; gap: 16px; padding: 12px 0 12px 20px; border-left: 1px solid var(--line); }
.menu-toggle { display: none; }
.theme-toggle { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; font-size: 1.35rem; line-height: 1; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.theme-toggle:hover { background: var(--surface-muted); border-color: var(--soft); }
.theme-toggle:active { transform: scale(.96); }
.theme-icon { display: block; transform: translateY(-1px); }

.hero { min-height: min(690px, calc(100svh - 88px)); display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: clamp(48px, 7vw, 100px); padding-block: clamp(68px, 9vw, 120px); }
.hero-copy { max-width: 590px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 25px; color: var(--muted); font: 500 .64rem/1.5 var(--mono); letter-spacing: .07em; }
.status-dot { width: 6px; height: 6px; display: inline-block; border-radius: 50%; background: var(--soft); flex: 0 0 auto; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { letter-spacing: -.075em; }
.hero h1 { font-size: clamp(4rem, 7.5vw, 7rem); line-height: .96; margin: 0; font-weight: 650; }
.hero h1 span, .section-heading h2 span, .about-copy h2 span, .contact-section h2 span { color: var(--soft); font-weight: 450; }
.hero-lede { color: var(--muted); font-size: clamp(.98rem, 1.2vw, 1.08rem); line-height: 1.8; max-width: 440px; margin: 28px 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 26px; padding: 15px 18px; min-height: 49px; border: 1px solid var(--ink); font-size: .78rem; font-weight: 600; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.button-dark { background: var(--ink); color: var(--paper); }
.button-dark:hover, .button-dark:focus-visible { background: var(--button-dark-hover); border-color: var(--button-dark-hover); }
.text-link { display: inline-flex; align-items: center; gap: 12px; padding-block: 8px; border-bottom: 1px solid var(--line); font-size: .78rem; font-weight: 600; transition: border-color .2s ease; }
.text-link:hover, .text-link:focus-visible { border-color: var(--ink); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 9px 18px; margin-top: 62px; padding-top: 16px; border-top: 1px solid var(--line); }
.hero-meta span { color: var(--muted); font: .61rem/1.5 var(--mono); }
.hero-preview { position: relative; display: block; min-width: 0; aspect-ratio: .84; max-height: 530px; overflow: hidden; background: var(--image-placeholder); color: #fff; }
.hero-preview img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.hero-preview:hover img { transform: scale(1.035); }
.preview-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.22) 0%, transparent 35%, transparent 48%, rgba(0,0,0,.62) 100%); }
.preview-top, .preview-bottom { position: absolute; left: 23px; right: 23px; display: flex; justify-content: space-between; align-items: center; }
.preview-top { top: 22px; font: .61rem var(--mono); letter-spacing: .04em; }
.preview-bottom { bottom: 22px; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.5); }
.preview-name { font-size: clamp(1.4rem, 2.3vw, 2.1rem); font-weight: 600; letter-spacing: -.06em; }
.preview-arrow { font-size: 1.2rem; }

.projects-section { border-top: 1px solid var(--line); }
.project-card + .project-card { margin-top: 72px; padding-top: 54px; border-top: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin-bottom: 52px; }
.section-heading .eyebrow { margin-bottom: 19px; }
.section-heading h2, .about-copy h2, .contact-section h2 { margin: 0; font-size: clamp(2.8rem, 5.2vw, 5rem); line-height: 1.02; font-weight: 600; }
.section-intro { color: var(--muted); font-size: .9rem; line-height: 1.8; max-width: 350px; margin: 0 0 5px; }
.project-image { position: relative; display: block; overflow: hidden; aspect-ratio: 1.9; background: var(--image-placeholder); }
.project-image img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .35s ease; }
.project-image:hover img, .project-image:focus-visible img { transform: scale(1.025); }
.image-open { position: absolute; right: 20px; top: 20px; width: 43px; height: 43px; display: grid; place-items: center; background: var(--paper); color: var(--ink); border-radius: 50%; font-size: 1.1rem; }
.image-label { position: absolute; left: 20px; bottom: 20px; padding: 9px 11px; background: var(--image-label-bg); color: var(--ink); font: .58rem var(--mono); letter-spacing: .035em; }
.project-details { display: flex; justify-content: space-between; align-items: center; gap: 25px; padding-top: 28px; }
.project-type { color: var(--muted); font: .61rem/1.5 var(--mono); letter-spacing: .045em; margin-bottom: 12px; }
.project-details h3 { margin-bottom: 9px; font-size: clamp(1.7rem, 3vw, 2.25rem); letter-spacing: -.065em; font-weight: 600; }
.project-description { max-width: 570px; color: var(--muted); font-size: .88rem; line-height: 1.75; margin: 0; }
.round-link { display: grid; place-items: center; flex: 0 0 49px; width: 49px; height: 49px; border: 1px solid var(--line); border-radius: 50%; font-size: 1.1rem; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.round-link:hover, .round-link:focus-visible { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 25px; }
.project-tags span { border: 1px solid var(--line); padding: 8px 10px; color: var(--muted); font: .61rem var(--mono); }
.concept-note { margin: 13px 0 0; font-size: .7rem; color: var(--soft); }

.services-section { background: var(--surface-muted); }
.services-section .section-heading { margin-bottom: 35px; }
.service-list { border-top: 1px solid var(--service-line); }
.service-item { display: grid; grid-template-columns: 46px minmax(0, 1fr) minmax(100px, 165px) 20px; align-items: center; gap: 26px; padding: 27px 0; border-bottom: 1px solid var(--service-line); }
.service-number, .process-number { color: var(--muted); font: .68rem var(--mono); }
.service-item h3 { font-size: 1.25rem; letter-spacing: -.045em; font-weight: 600; margin: 0 0 6px; }
.service-item p { font-size: .82rem; line-height: 1.7; color: var(--muted); max-width: 520px; margin: 0; }
.service-type { color: var(--muted); font: .57rem var(--mono); letter-spacing: .03em; }
.service-arrow { justify-self: end; color: var(--muted); font-size: 1rem; }

.process-section { border-bottom: 1px solid var(--line); }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.process-grid article { position: relative; min-height: 200px; padding: 23px 28px 20px 0; }
.process-grid article + article { padding-left: 28px; border-left: 1px solid var(--line); }
.process-number { display: block; margin-bottom: 31px; }
.process-grid h3 { font-size: 1.25rem; letter-spacing: -.045em; margin-bottom: 10px; font-weight: 600; }
.process-grid p { color: var(--muted); font-size: .82rem; line-height: 1.75; max-width: 290px; margin: 0; }

.about-section { background: var(--surface-muted); }
.about-layout { display: grid; grid-template-columns: .7fr 1.3fr; align-items: center; gap: clamp(55px, 10vw, 145px); padding-block: clamp(88px, 10vw, 135px); }
.about-index { align-self: stretch; min-height: 280px; display: flex; flex-direction: column; justify-content: space-between; border-top: 1px solid var(--about-index-line); padding-top: 12px; color: var(--muted); font: .59rem var(--mono); letter-spacing: .045em; }
.about-index strong { display: block; color: var(--ink); font-size: clamp(5rem, 10vw, 9rem); line-height: .9; letter-spacing: -.11em; font-family: var(--sans); font-weight: 700; }
.about-index strong span { color: var(--soft); }
.about-copy .eyebrow { margin-bottom: 22px; }
.about-copy h2 { margin-bottom: 24px; }
.about-copy > p:not(.eyebrow) { color: var(--muted); font-size: .9rem; line-height: 1.85; max-width: 570px; }
.about-copy .text-link { margin-top: 7px; }

.contact-section { text-align: center; padding-block: clamp(94px, 12vw, 156px); }
.contact-section .eyebrow { justify-content: center; margin-bottom: 23px; }
.contact-section h2 { font-size: clamp(3.1rem, 7vw, 6.7rem); }
.contact-lede { max-width: 465px; margin: 25px auto 30px; color: var(--muted); font-size: .9rem; line-height: 1.8; }
.button-light { background: var(--contact-button-bg); color: var(--contact-button-text); border-color: var(--contact-button-bg); }
.button-light:hover, .button-light:focus-visible { background: var(--contact-button-hover); border-color: var(--contact-button-hover); }
.button-large { padding: 17px 20px; }
.contact-email { font-size: .75rem; color: var(--soft); margin-top: 17px; }
.contact-email a { border-bottom: 1px solid #555; padding-bottom: 3px; }
.contact-section { background: var(--dark); color: var(--paper); width: 100%; max-width: none; }
.contact-section > * { width: min(100% - var(--gutter) * 2, var(--shell)); margin-inline: auto; }
.contact-section .eyebrow { color: #aaa; }
.contact-section h2 span { color: #8f8f8a; }
.contact-section .contact-email { color: #a7a7a1; }
.contact-section .contact-email a { border-color: #666; }

.site-footer { display: grid; grid-template-columns: 1fr 1.5fr 1fr; align-items: center; gap: 18px; padding-block: 25px; border-top: 1px solid var(--line); }
.site-footer p, .back-top, .footer-legal { color: var(--muted); font-size: .7rem; margin: 0; }
.footer-legal { text-decoration: underline; text-decoration-color: var(--line-dark); text-underline-offset: 4px; }
.footer-legal:hover, .footer-legal:focus-visible { color: var(--ink); }
.back-top { justify-self: end; }
.site-footer > small { grid-column: 1 / -1; color: var(--soft); font: .62rem var(--mono); margin-top: 10px; }

:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr .82fr; gap: 38px; }
  .hero h1 { font-size: clamp(3.7rem, 7vw, 5.8rem); }
  .hero-meta { gap: 8px 12px; }
  .section-heading { align-items: start; flex-direction: column; gap: 20px; }
  .section-intro { max-width: 500px; }
  .about-layout { gap: 55px; }
}
@media (max-width: 680px) {
  .site-header { position: relative; z-index: 20; min-height: 75px; }
  .theme-toggle { order: 2; margin-left: auto; margin-right: 10px; width: 40px; height: 40px; flex-basis: 40px; }
  .menu-toggle { order: 3; display: flex; width: 42px; height: 42px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
  .menu-toggle span { display: block; width: 15px; height: 1px; background: var(--ink); transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .main-nav { display: none; position: absolute; top: 74px; left: 0; right: 0; align-items: stretch; flex-direction: column; gap: 0; padding: 12px 0 20px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 14px 0; }
  .main-nav .nav-contact { border: 0; padding: 14px 0; margin-top: 0; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 45px; padding-block: 70px 78px; }
  .hero h1 { font-size: clamp(4rem, 15vw, 6rem); }
  .hero-lede { max-width: 440px; font-size: .96rem; }
  .hero-meta { margin-top: 40px; }
  .hero-preview { aspect-ratio: 1.08; max-height: none; }
  .section-pad { padding-block: 82px; }
  .section-heading { margin-bottom: 35px; }
  .section-heading h2, .about-copy h2 { font-size: clamp(2.8rem, 11.5vw, 4.3rem); }
  .project-card + .project-card { margin-top: 54px; padding-top: 36px; }
  .project-image { aspect-ratio: 1.2; }
  .project-details { align-items: flex-start; gap: 16px; padding-top: 23px; }
  .project-description { font-size: .82rem; }
  .round-link { flex-basis: 42px; width: 42px; height: 42px; }
  .project-tags { gap: 6px; }
  .project-tags span { font-size: .57rem; padding: 7px 8px; }
  .service-item { grid-template-columns: 28px minmax(0, 1fr) 18px; gap: 13px; padding: 23px 0; }
  .service-item h3 { font-size: 1.13rem; }
  .service-item p { font-size: .79rem; }
  .service-type { display: none; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid article, .process-grid article + article { min-height: auto; padding: 22px 0 25px; border-left: 0; border-bottom: 1px solid var(--line); }
  .process-grid article:last-child { border-bottom: 0; }
  .process-number { margin-bottom: 20px; }
  .about-layout { grid-template-columns: 1fr; gap: 47px; padding-block: 80px; }
  .about-index { min-height: 170px; }
  .about-index strong { font-size: 5.6rem; }
  .about-copy > p:not(.eyebrow) { font-size: .86rem; }
  .contact-section h2 { font-size: clamp(3rem, 12vw, 4.5rem); }
  .contact-lede { font-size: .84rem; }
  .site-footer { grid-template-columns: 1fr 1fr; row-gap: 14px; }
  .site-footer p { grid-column: 1 / -1; grid-row: 2; }
  .back-top { grid-column: 2; grid-row: 1; }
  .footer-legal { grid-column: 1; grid-row: 3; }
  .footer-legal-links { grid-column: 1; grid-row: 3; }
  .site-footer > small { margin-top: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
