:root {
  --paper: #f7f8f5;
  --ink: #202b26;
  --green: #173d32;
  --muted: #5f6a62;
  --line: #dce2da;
  --white: #fff;
  --accent: #607c47;
  --header-bg: rgba(247,248,245,.97);
  --card: #fff;
  --card-line: #e5e9e2;
  --button-bg: #173d32;
  --button-text: #fff;
  --button-hover: #285342;
  --about-bg: #173d32;
  --contact-bg: #e9eee5;
  --contact-line: #dfe6d9;
  --selected-service: #eef2e9;
  --hint-bg: rgba(247,248,245,.94);
  --copy-line: #b8c7af;
  --copy-hover: #d9e4d2;
  --selection-bg: #d6e3cd;
  --max: 1240px;
  --font-sans: 'Source Sans 3', Arial, Helvetica, sans-serif;
  --font-mono: 'Source Code Pro', Consolas, 'Liberation Mono', monospace;
}
html { color-scheme: light; }
html[data-theme="dark"] {
  color-scheme: dark;
  --paper: #101c17;
  --ink: #e8eee6;
  --green: #bfd5ab;
  --muted: #a9b8aa;
  --line: #32463a;
  --accent: #b2cc8f;
  --header-bg: rgba(16,28,23,.97);
  --card: #17291f;
  --card-line: #34483b;
  --button-bg: #c4d8ad;
  --button-text: #14271d;
  --button-hover: #d6e6c3;
  --about-bg: #17372a;
  --contact-bg: #1c3025;
  --contact-line: #3a5141;
  --selected-service: #1c3025;
  --hint-bg: rgba(23,41,31,.96);
  --copy-line: #617659;
  --copy-hover: #30472f;
  --selection-bg: #3c5635;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 116px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-sans); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
.eyebrow, .service-number, .service-tag, .project-type, .contact-label, .visual-heading, .subtle { font-family: var(--font-mono); }
::selection { background: var(--selection-bg); color: var(--ink); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }
.container { width: min(var(--max), calc(100% - 100px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 20px; background: var(--button-bg); color: var(--button-text); padding: 12px; z-index: 200; }
.skip-link:focus { top: 15px; }
.site-header { position: sticky; top: 0; background: var(--header-bg); backdrop-filter: blur(14px); z-index: 50; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.wordmark { font-size: 31px; font-weight: 700; letter-spacing: -1.2px; line-height: 1; }
.header-controls { display: flex; gap: 36px; align-items: center; }
nav { display: flex; gap: 30px; align-items: center; }
nav a { font-size: 15px; font-weight: 500; }
nav a:hover, .text-link:hover, .back-top:hover { color: var(--accent); }
.menu-toggle { display: none; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 15px 23px; background: var(--button-bg); color: var(--button-text); font-weight: 600; font-size: 15px; border: 1px solid var(--button-bg); border-radius: 3px; min-height: 52px; transition: background .2s; }
.button:hover { background: var(--button-hover); }
.button-small { padding: 11px 21px; min-height: 44px; }
.hero { display: grid; grid-template-columns: 1.16fr 1fr; gap: 60px; padding-block: 80px 70px; align-items: center; }
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .9px; margin: 0 0 26px; line-height: 1.5; color: var(--muted); }
h1 { font-size: clamp(40px,4.5vw,64px); font-weight: 500; line-height: 1.1; letter-spacing: -.025em; margin: 0; }
h1 span { color: var(--accent); }
.hero-intro { font-size: 18px; color: var(--muted); line-height: 1.75; margin: 28px 0 30px; }
.hero-actions { display: flex; align-items: center; gap: 27px; flex-wrap: wrap; }
.text-link { font-size: 15px; padding: 8px 0; border-bottom: 1px solid var(--ink); }
.hero-visual { margin: 0; background: var(--card); border: 1px solid var(--card-line); border-radius: 4px; align-self: stretch; padding: 25px 25px 22px; display: flex; flex-direction: column; justify-content: space-between; min-height: 435px; }
.visual-heading { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); gap: 15px; }
.hero-visual img { width: calc(100% + 50px); max-width: none; margin-left: -25px; height: auto; aspect-ratio: 1280 / 719; object-fit: contain; }
.hero-visual figcaption { display: flex; flex-direction: column; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.7; gap: 2px; }
.hero-visual figcaption strong { font-size: 15px; font-weight: 600; }
.hero-visual figcaption span { color: var(--muted); }
.expertise-strip { display: grid; grid-template-columns: repeat(3,1fr); border-block: 1px solid var(--line); padding-block: 22px; gap: 24px; }
.expertise-strip span { font-size: 14px; text-align: center; }
.expertise-strip span + span { border-left: 1px solid var(--line); }
.section { padding-block: 100px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 60px; margin-bottom: 54px; }
.section-heading .eyebrow { margin-bottom: 19px; }
h2 { font-size: clamp(30px,3.2vw,44px); font-weight: 500; letter-spacing: -.025em; line-height: 1.2; margin: 0; }
.section-heading > p { max-width: 350px; margin: 0 0 5px; font-size: 17px; color: var(--muted); line-height: 1.75; }
.service-grid { display: grid; grid-template-columns: repeat(4,1fr); align-items: start; border-top: 1px solid var(--line); }
.service { display: flex; flex-direction: column; padding: 27px 25px 4px 0; }
.service + .service { border-left: 1px solid var(--line); padding-left: 25px; }
.service:last-child { padding-right: 0; }
.service-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 34px; }
.service-number { font-size: 12px; color: var(--muted); }
.service svg { height: 28px; width: 28px; fill: none; stroke: var(--green); stroke-width: 1.2; stroke-linejoin: round; stroke-linecap: round; }
h3 { font-size: 21px; font-weight: 600; line-height: 1.35; letter-spacing: -.015em; margin: 0; }
.service h3 { font-size: 20px; }
.subtle { color: var(--accent); }
.service p { margin: 18px 0 26px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.service-tag { margin-top: auto; padding-top: 13px; font-size: 12px; color: var(--muted); }
.about { background: var(--about-bg); color: white; padding-block: 82px; }
.about-inner { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.3fr); gap: 120px; align-items: center; }
.about-year { padding-block: 20px; }
.about-year > span { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: clamp(76px,10.5vw,148px); font-weight: 400; line-height: 1.1; letter-spacing: -.065em; color: #d9e5c7; }
.about-year p { color: #e1e9df; font-size: 17px; line-height: 1.65; margin: 20px 0 0 5px; }
.about .eyebrow { color: #bacaba; margin-bottom: 20px; }
.about-copy > p:not(.eyebrow) { font-size: 17px; line-height: 1.75; color: #d2ded3; margin: 22px 0 0; max-width: 590px; }
.references .section-heading { margin-bottom: 32px; }
.reference-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 48px 36px; }
.reference-image { background: var(--card); border: 1px solid var(--card-line); border-radius: 3px; overflow: hidden; }
.reference-image img { width: 100%; height: auto; aspect-ratio: 1280 / 719; object-fit: contain; }
.reference-copy { padding: 22px 0 0; }
.project-type { display: block; font-size: 11px; letter-spacing: .65px; color: var(--muted); margin-bottom: 9px; }
.reference h3 { font-size: 23px; }
.reference p { font-size: 16px; line-height: 1.75; color: var(--muted); margin: 11px 0 0; max-width: 540px; }
.more-references { border-block: 1px solid var(--line); margin-top: 48px; }
.more-references summary { padding: 22px 0; list-style: none; font-size: 16px; font-weight: 600; display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
.plus { position: relative; display: block; width: 18px; height: 18px; flex: 0 0 18px; }
.plus::before, .plus::after { content: ''; position: absolute; background: var(--green); }
.plus::before { width: 18px; height: 1px; top: 8px; left: 0; }
.plus::after { width: 1px; height: 18px; top: 0; left: 8px; }
.more-references[open] .plus::after { display: none; }
.more-reference-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 26px 48px; padding: 12px 0 32px; }
.more-reference-grid h3 { font-size: 17px; letter-spacing: -.3px; }
.more-reference-grid p { font-size: 14px; line-height: 1.75; color: var(--muted); margin: 10px 0 0; }
.contact { background: var(--contact-bg); border-block: 1px solid var(--contact-line); padding-block: 80px; }
.contact-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 70px; }
.contact .eyebrow { margin-bottom: 21px; }
.contact h2 { font-size: clamp(40px,4.4vw,60px); line-height: 1.12; letter-spacing: -2.5px; }
.contact p { margin: 25px 0 0; font-size: 16px; color: var(--muted); line-height: 1.8; }
.contact-details { display: flex; flex-direction: column; gap: 26px; padding-top: 8px; }
.contact-label { display: block; color: var(--muted); font-size: 11px; letter-spacing: .8px; margin-bottom: 7px; }
.contact-email { font-family: var(--font-mono); font-size: clamp(23px,2.5vw,32px); font-weight: 400; letter-spacing: -.04em; border-bottom: 1px solid #9daa96; overflow-wrap: anywhere; }
.contact-phone { font-family: var(--font-mono); font-size: 22px; letter-spacing: -.04em; }
.contact-email:hover, .contact-phone:hover { color: var(--accent); }
address { font-style: normal; font-size: 16px; }
.site-footer { padding-block: 36px 24px; }
.footer-main { display: flex; align-items: center; gap: 32px; padding-bottom: 32px; }
.footer-main .wordmark { font-size: 26px; }
.footer-main p { font-size: 13px; color: var(--muted); margin: 0; }
.back-top { font-size: 13px; margin-left: auto; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 20px; display: flex; justify-content: space-between; align-items: baseline; gap: 30px; }
.footer-bottom > p { font-size: 12px; color: var(--muted); margin: 0; }
.company-details { font-size: 12px; max-width: 440px; }
.company-details summary { cursor: pointer; padding: 3px 0; text-decoration: underline; text-underline-offset: 4px; }
.company-details dl { display: grid; grid-template-columns: 115px 1fr; gap: 9px 12px; margin: 20px 0 0; }
.company-details dt { color: var(--muted); }
.company-details dd { margin: 0; overflow-wrap: anywhere; }
.company-details dd:nth-of-type(n+3) { font-family: var(--font-mono); }
.js-only { display: none; }
.js-enabled .js-only { display: inline-flex; }
nav a { position: relative; transition: color .2s; }
nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -7px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
nav a[aria-current="location"] { color: var(--green); }
nav a[aria-current="location"]::after { transform: scaleX(1); }
.button, .text-link, .copy-email, .dialog-footer button, .dialog-close { transition: background .2s, color .2s, transform .2s; }
.button:active, .copy-email:active, .dialog-footer button:active { transform: scale(.98); }
.artwork { position: relative; display: block; padding: 0; text-align: left; overflow: hidden; }
.js-enabled .artwork { cursor: pointer; }
.hero-art { border: 0; background: var(--card); width: calc(100% + 50px); margin-left: -25px; }
.hero-visual .hero-art img { width: 100%; margin: 0; }
.reference-image { width: 100%; }
.artwork img { transform: translate(var(--art-x, 0px), var(--art-y, 0px)) scale(var(--art-scale, 1)); transition: transform .4s cubic-bezier(.2,.65,.3,1); }
.artwork-hint { position: absolute; right: 16px; bottom: 16px; display: none; align-items: center; gap: 20px; background: var(--hint-bg); border: 1px solid var(--line); padding: 8px 12px; border-radius: 2px; font-size: 13px; color: var(--green); opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; }
.js-enabled .artwork-hint { display: flex; }
.artwork-hint > span { font-family: var(--font-mono); font-size: 20px; line-height: 1; }
.artwork:focus-visible .artwork-hint, .artwork:hover .artwork-hint { opacity: 1; transform: translateY(0); }
.project-open { background: none; color: var(--green); cursor: pointer; border: 0; border-bottom: 1px solid var(--line); padding: 8px 0; margin-top: 12px; min-height: 44px; }
.project-open:hover { border-color: var(--accent); }
.service { transition: background .3s; }
.service:has(.service-details[open]) { background: var(--selected-service); }
.service-details { margin-top: 18px; border-top: 1px solid var(--line); }
.service-details summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 13px; min-height: 48px; font-size: 15px; cursor: pointer; color: var(--green); }
.service-details .plus { width: 14px; height: 14px; flex-basis: 14px; }
.service-details .plus::before { width: 14px; top: 6px; }
.service-details .plus::after { height: 14px; left: 6px; transition: transform .2s; }
.service-details[open] .plus::after { transform: rotate(90deg); }
.service-extra { padding: 12px 0 16px; animation: detail-in .3s ease-out; }
.example-label, .scope-label, .dialog-eyebrow, .dialog-footer-note { font-family: var(--font-mono); font-size: 11px; letter-spacing: .5px; color: var(--muted); }
.service .service-extra p { font-size: 15px; line-height: 1.65; color: var(--ink); margin: 12px 0 0; }
.service:has(.service-details[open]) .service-top svg { animation: icon-nod .45s ease-out; }
@keyframes detail-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes icon-nod { 0%,100% { transform: rotate(0); } 45% { transform: rotate(-7deg); } }
.email-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.copy-email { align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 7px 11px; background: transparent; border: 1px solid var(--copy-line); border-radius: 3px; font-size: 14px; cursor: pointer; }
.copy-email svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.copy-email:hover, .copy-email.is-copied { background: var(--copy-hover); }
.copy-status { display: block; font-size: 13px; line-height: 1.6; color: var(--green); }
.copy-status:not(:empty) { margin-top: 8px; }
.reveal { transition: opacity .55s ease, transform .55s cubic-bezier(.2,.65,.3,1); transition-delay: var(--reveal-delay, 0ms); }
.reveal-pending { opacity: 0; transform: translateY(12px); }
.expertise-strip { position: relative; border-block: 0; }
.expertise-strip::before, .expertise-strip::after { content: ''; height: 1px; background: var(--line); position: absolute; left: 0; right: 0; transform-origin: left; transition: transform .8s ease; }
.expertise-strip::before { top: 0; }
.expertise-strip::after { bottom: 0; }
.expertise-strip.reveal-pending::before, .expertise-strip.reveal-pending::after { transform: scaleX(0); }
body.project-is-open { overflow: hidden; }
.project-dialog { width: min(1120px, calc(100% - 48px)); max-width: none; max-height: calc(100dvh - 48px); border: 1px solid var(--line); border-radius: 5px; padding: 0; margin: auto; color: var(--ink); background: var(--paper); box-shadow: 0 24px 90px rgba(10,30,20,.2); }
.project-dialog::backdrop { background: rgba(14,32,25,.6); backdrop-filter: blur(5px); }
.project-dialog[open] { animation: detail-in .25s ease-out; }
.project-dialog { overflow: auto; overscroll-behavior: contain; }
.dialog-shell { overflow: visible; }
.dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 24px; border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 2; }
.dialog-eyebrow { display: flex; align-items: center; gap: 22px; }
.dialog-eyebrow > span { white-space: nowrap; }
.dialog-close { display: flex; align-items: center; justify-content: center; gap: 12px; background: none; border: 0; min-height: 44px; padding: 8px 0 8px 12px; font-size: 15px; cursor: pointer; }
.dialog-close svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.3; fill: none; }
.dialog-close:hover { color: var(--accent); }
.dialog-body { display: grid; grid-template-columns: 1.25fr 1fr; }
.dialog-art { background: var(--card); display: flex; align-items: center; overflow: hidden; }
.dialog-art img { width: 100%; height: auto; object-fit: contain; }
.dialog-copy { padding: 40px 34px; }
.dialog-copy h2 { font-size: clamp(27px,3vw,36px); line-height: 1.15; }
.dialog-copy > p:not(.project-type):not(.scope-label) { color: var(--muted); font-size: 16px; line-height: 1.7; margin: 20px 0; }
.dialog-copy .scope-label { margin: 30px 0 10px; }
.dialog-copy ul { padding: 0; margin: 0; list-style: none; font-size: 15px; line-height: 1.6; }
.dialog-copy li { border-top: 1px solid var(--line); padding: 9px 0; }
.dialog-footer { border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 24px; }
.dialog-footer button { border: 0; background: transparent; padding: 10px 0; min-height: 44px; cursor: pointer; font-size: 15px; color: var(--green); }
.dialog-footer button:hover { color: var(--accent); }
@media (hover: hover) and (pointer: fine) {
  .js-enabled .artwork:hover { --art-scale: 1.035; }
}
@media (hover: none) {
  .artwork-hint { opacity: 1; transform: none; font-size: 12px; padding: 6px 9px; right: 12px; bottom: 12px; }
}
@media (max-width:760px) {
  .hero-art { width: calc(100% + 44px); margin-left: -22px; }
  .hero-visual .hero-art img { width: 100%; margin: 0; }
  nav a::after { bottom: 8px; right: auto; width: 30px; }
  .project-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); }
  .dialog-body { grid-template-columns: 1fr; }
  .dialog-art { border-bottom: 1px solid var(--line); }
  .dialog-copy { padding: 28px 22px; }
  .dialog-header, .dialog-footer { padding: 10px 18px; }
  .dialog-eyebrow { gap: 12px; font-size: 10px; }
  .dialog-footer-note { display: none; }
  .dialog-footer button { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal-pending { opacity: 1; transform: none; }
  .artwork img { transform: none; }
  .expertise-strip::before, .expertise-strip::after { transform: none !important; }
}
@media (min-width:1500px) {
  .hero { padding-block: 95px 86px; gap: 80px; }
}
@media (max-width:1100px) {
  .container { width: calc(100% - 64px); }
  .header-controls { gap: 24px; }
  nav { gap: 20px; }
  .hero { gap: 36px; padding-block: 60px; }
  h1 { font-size: 4.5vw; letter-spacing: -.025em; }
  .hero-visual { min-height: 390px; }
  .service-grid { grid-template-columns: repeat(2,1fr); gap: 35px 0; }
  .service { padding-right: 32px; }
  .service + .service { padding-left: 32px; }
  .service:nth-child(3) { border-left: 0; padding-left: 0; }
  .service:nth-child(2) { padding-right: 0; }
  .service-top { margin-bottom: 24px; }
  .service h3 { font-size: 22px; }
  .about-inner { gap: 60px; }
}
@media (max-width:760px) {
  html { scroll-padding-top: 95px; }
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 76px; gap: 16px; }
  .wordmark { font-size: 27px; }
  .header-controls { gap: 15px; }
  .button-small { min-height: 42px; padding: 9px 14px; font-size: 12px; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 6px; border: 0; background: none; padding: 10px 6px; width: 36px; height: 44px; cursor: pointer; }
  .menu-toggle span { width: 24px; height: 1px; background: var(--ink); display: block; transition: transform .2s; }
  .menu-toggle[aria-expanded=true] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded=true] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 16px 20px 24px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 12px 16px rgba(23,61,50,.05); }
  nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  nav a { display: block; font-size: 16px; padding: 12px 0; }
  .hero { grid-template-columns: 1fr; padding-block: 48px 38px; gap: 36px; }
  h1 { font-size: clamp(32px,8.5vw,57px); letter-spacing: -.025em; }
  .eyebrow { font-size: 11px; letter-spacing: .6px; margin-bottom: 22px; }
  .hero-intro { font-size: 17px; margin: 24px 0 27px; }
  .desktop-break { display: none; }
  .hero-visual { min-height: 330px; padding: 22px; }
  .hero-visual img { width: calc(100% + 44px); margin-left: -22px; }
  .hero-actions { gap: 22px; }
  .button { padding: 14px 18px; }
  .visual-heading { font-size: 11px; }
  .expertise-strip { grid-template-columns: 1fr; padding-block: 19px; gap: 9px; }
  .expertise-strip span { text-align: left; font-size: 13px; }
  .expertise-strip span + span { border: 0; }
  .section { padding-block: 64px; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 24px; margin-bottom: 32px; }
  .section-heading .eyebrow { margin-bottom: 16px; }
  h2 { font-size: 31px; letter-spacing: -.025em; }
  .section-heading > p { max-width: 500px; font-size: 16px; margin: 0; }
  .service-grid { gap: 0; }
  .service { padding: 23px 17px 25px 0; }
  .service + .service { padding: 23px 0 25px 17px; }
  .service:nth-child(3) { padding-left: 0; padding-right: 17px; }
  .service:nth-child(n+3) { border-top: 1px solid var(--line); }
  .service-top { margin-bottom: 22px; }
  .service h3 { font-size: 18px; letter-spacing: -.5px; }
  .service p { font-size: 16px; line-height: 1.75; margin: 15px 0 19px; }
  .service-tag { font-size: 11px; padding-top: 0; }
  .about { padding-block: 55px; }
  .about-inner { grid-template-columns: minmax(0,1fr); gap: 38px; }
  .about-year { display: flex; align-items: center; gap: 24px; padding: 0 0 30px; border-bottom: 1px solid #456557; }
  .about-year > span { font-size: 76px; letter-spacing: -5px; }
  .about-year p { font-size: 13px; margin: 0; }
  .about-copy > p:not(.eyebrow) { font-size: 16px; }
  .reference-grid { gap: 34px 22px; }
  .reference-copy { padding-top: 16px; }
  .reference h3 { font-size: 18px; }
  .reference p { font-size: 16px; margin-top: 9px; }
  .project-type { font-size: 11px; letter-spacing: .5px; }
  .more-references { margin-top: 32px; }
  .more-references summary { font-size: 15px; }
  .more-reference-grid { grid-template-columns: 1fr; gap: 23px; }
  .contact { padding-block: 57px; }
  .contact-inner { grid-template-columns: 1fr; gap: 32px; }
  .contact h2 { font-size: 43px; letter-spacing: -.025em; }
  .contact p { font-size: 16px; margin-top: 22px; }
  .contact-details { gap: 23px; }
  .contact-email { font-size: 27px; }
  .contact-phone { font-size: 23px; }
  .site-footer { padding-block: 31px 23px; }
  .footer-main { flex-wrap: wrap; gap: 18px 25px; padding-bottom: 25px; }
  .footer-main p { width: 100%; order: 2; }
  .back-top { font-size: 12px; }
  .footer-bottom { flex-direction: column; gap: 13px; }
  .company-details { align-self: stretch; width: 100%; }
  .company-details dl { grid-template-columns: 100px minmax(0,1fr); }
}
@media (max-width:460px) {
  .service-grid { grid-template-columns: 1fr; }
  .service, .service + .service, .service:nth-child(3) { border-left: 0; padding: 25px 0; }
  .service + .service { border-top: 1px solid var(--line); }
  .service-top { margin-bottom: 16px; }
  .service h3 { font-size: 22px; }
  .service p { font-size: 16px; }
  .reference-grid { grid-template-columns: 1fr; }
  .reference h3 { font-size: 22px; }
  .project-type { font-size: 11px; }
  .reference p { font-size: 16px; }
  .footer-main { align-items: flex-start; }
}
@media (max-width:360px) {
  .header-inner { gap: 12px; }
  .header-controls { gap: 8px; }
  .wordmark { font-size: 25px; }
  .button-small { font-size: 11px; padding: 9px 12px; white-space: nowrap; }
  h2 { font-size: 28px; }
  .about-year { gap: 16px; }
  .about-year > span { font-size: 58px; letter-spacing: -4px; }
  .about-year p { font-size: 12px; }
  .contact-email { font-size: 23px; }
}

.theme-toggle { position: relative; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; color: var(--green); transition: background .2s, border-color .2s, transform .2s; }
.theme-toggle svg { width: 24px; height: 24px; padding: 1px; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .bulb-glass { fill: #e3ecd7; transition: fill .2s; }
.theme-toggle .bulb-rays { opacity: 1; transition: opacity .2s; }
.theme-toggle:hover { background: var(--selected-service); border-color: var(--accent); }
.theme-toggle:active { transform: scale(.94); }
.theme-tooltip { position: absolute; top: calc(100% + 11px); left: 50%; transform: translate(-50%, -4px); padding: 6px 10px; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 3px; font-size: 13px; font-weight: 400; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .2s, transform .2s; }
.theme-toggle:hover .theme-tooltip, .theme-toggle:focus-visible .theme-tooltip { opacity: 1; transform: translate(-50%, 0); }
html[data-theme="dark"] .theme-toggle .bulb-glass { fill: transparent; }
html[data-theme="dark"] .theme-toggle .bulb-rays { opacity: .3; }
html[data-theme="dark"] .artwork img, html[data-theme="dark"] .dialog-art img { filter: invert(1); mix-blend-mode: screen; opacity: .82; }
html[data-theme="dark"] .project-dialog::backdrop { background: rgba(0,8,4,.78); }
@media (max-width:760px) { .header-controls { gap: 10px; } }
@media (max-width:460px) { .header-controls .button-small { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .site-header, .hero-actions, .back-top, .menu-toggle, .js-enabled .js-only, .artwork-hint, .project-dialog { display: none; }
  .reveal-pending { opacity: 1; transform: none; }
  html[data-theme="dark"] { --paper: #fff; --ink: #202b26; --muted: #5f6a62; --line: #dce2da; --green: #173d32; --accent: #607c47; --card: #fff; --card-line: #e5e9e2; }
  html[data-theme="dark"] .artwork img, html[data-theme="dark"] .dialog-art img { filter: none; mix-blend-mode: normal; opacity: 1; }
  body { background: white; }
  .container { width: 100%; }
  .hero { padding-block: 20px; }
  .section, .about, .contact { padding-block: 30px; }
  .about, .contact { background: white; color: var(--ink); }
  .about-year > span, .about-year p, .about .eyebrow, .about-copy > p:not(.eyebrow) { color: var(--ink); }
  .reference, .service { break-inside: avoid; }
}
