@font-face{font-family:Inter;src:url('/fonts/inter-cyrillic-wght-normal.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap;unicode-range:U+0400-052F,U+2116}
@font-face{font-family:Inter;src:url('/fonts/inter-latin-wght-normal.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap;unicode-range:U+0000-00FF,U+2000-206F,U+20AC,U+2122,U+2190-2199}
@font-face{font-family:Manrope;src:url('/fonts/manrope-cyrillic-wght-normal.woff2') format('woff2');font-style:normal;font-weight:200 800;font-display:swap;unicode-range:U+0400-052F,U+2116}
@font-face{font-family:Manrope;src:url('/fonts/manrope-latin-wght-normal.woff2') format('woff2');font-style:normal;font-weight:200 800;font-display:swap;unicode-range:U+0000-00FF,U+2000-206F,U+20AC,U+2122,U+2190-2199}
@font-face{font-family:'PT Serif';src:url('/fonts/pt-serif-cyrillic-normal.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap;unicode-range:U+0400-052F,U+2116}
@font-face{font-family:'PT Serif';src:url('/fonts/pt-serif-latin-normal.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap;unicode-range:U+0000-00FF,U+2000-206F,U+20AC,U+2122}
@font-face{font-family:'PT Serif';src:url('/fonts/pt-serif-cyrillic-italic.woff2') format('woff2');font-style:italic;font-weight:400;font-display:swap;unicode-range:U+0400-052F,U+2116}
@font-face{font-family:'PT Serif';src:url('/fonts/pt-serif-latin-italic.woff2') format('woff2');font-style:italic;font-weight:400;font-display:swap;unicode-range:U+0000-00FF,U+2000-206F,U+20AC,U+2122}
:root {
  color-scheme: light;
  --paper: #f8f9f5;
  --ink: #14272a;
  --muted: #495d62;
  --teal: #165c62;
  --line: #c8d1cf;
  --night: #001a21;
  --lime: #d6f399;
  --sans: Inter, Arial, sans-serif;
  --display: Manrope, Inter, sans-serif;
  --serif: "PT Serif", Georgia, serif;
  --spring: cubic-bezier(.22,.92,.32,1.08);
  --section: 64px;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px;
  --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 1rem/1.5 var(--sans); }
h1,h2,h3,p,figure { margin: 0; }
h1,h2,h3 { line-height: 1.25; text-wrap: balance; }
h1,h2,h3,.brand { font-family: var(--display); }
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; letter-spacing: -.045em; }
h3 { font-size: 1.5rem; letter-spacing: -.035em; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
[hidden] { display: none !important; }
::selection { color: var(--night); background: #ceecac; }
:where(a,button,summary,[tabindex]):focus-visible { outline: 3px solid #057d84; outline-offset: 4px; }
:where(.hero,.about) :focus-visible { outline-color: var(--lime); }
.wrap { width: min(calc(100% - 48px),1200px); margin-inline: auto; }
.section { margin-top: var(--section); scroll-margin-top: var(--s4); }
.skip { position: fixed; z-index: 8; top: 4px; left: 16px; background: white; padding: var(--s3) var(--s4); transform: translateY(-160%); }
.skip:focus { transform: none; }
.sr { position:absolute; width:1px; height:1px; overflow:hidden; padding:0; clip-path:inset(50%); white-space:nowrap; }
.icon { width: 20px; height: 20px; flex: none; }
.bar,.brand,.bar nav,.contact,.actions,.button,.text-action,.section-head,.filters,.foot { display: flex; align-items: center; }
.mast { border-bottom: 1px solid var(--line); }
.bar { min-height: 64px; gap: var(--s6); }
.brand { gap: var(--s2); font-size: 1.25rem; font-weight: 800; letter-spacing: -.065em; min-height: 44px; }
.bar nav { gap: var(--s5); margin-left: auto; }
.bar nav a,.foot a,.text-action { min-height: 44px; display: inline-flex; align-items: center; }
.bar nav a,.foot a,.text-action { position: relative; }
.bar nav a::after,.foot a::after,.text-action::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 170ms ease-out;
}
:where(.bar nav a,.foot a,.text-action):focus-visible::after { transform: scaleX(1); }
.contact,.button,.text-action { gap: var(--s2); font-weight: 650; }
.contact,.button { width: fit-content; min-height: 48px; justify-content: center; border-radius: 8px; padding-inline: var(--s4); transition: background 160ms,color 160ms,transform 160ms var(--spring); }
.contact { min-height: 44px; }
.contact,.primary { color: white; background: #17373a; }
.contact:hover,.primary:hover { background: var(--teal); }
.quiet { border: 1px solid var(--line); }
.quiet:hover { background: #e5ede7; }
.button:active,.contact:active,.filters button:active { transform: translateY(1px); transition-duration: 60ms; }
.text-action { width: fit-content; }
.bar nav a,.contact,.foot { font-size: .875rem; }
.hero,.about { background: var(--night); color: #f6f9f3; }
.hero { overflow: hidden; }
.hero-spread,.about-spread { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: var(--s5); }
.hero-spread { align-items: center; min-height: 336px; }
.hero-art { position: absolute; z-index: -1; inset: 0 0 0 47%; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.hero-art::before {
  content: "";
  height: 100%; max-width: 100%; max-height: 100%; aspect-ratio: 3 / 2;
  background: url('/assets/cover.webp') center / contain no-repeat;
  mask-image: linear-gradient(90deg,transparent,#000 13%,#000 87%,transparent),linear-gradient(0deg,transparent,#000 6%,#000 96%,transparent);
  mask-composite: intersect;
}
.hero-copy { grid-column: span 6; padding-block: var(--s6); }
.hero h1 { margin-bottom: var(--s3); line-height: 1.12; letter-spacing: -.045em; }
.hero h1 em { font: italic 400 1em/1.12 var(--serif); color: var(--lime); letter-spacing: -.025em; }
.lead { color: #d3dedc; max-width: 47ch; }
.actions { gap: var(--s5); flex-wrap: wrap; margin-top: var(--s5); }
.hero .primary,.about .primary { background: var(--lime); color: var(--ink); }
.hero .primary:hover,.about .primary:hover { background: #e6ffb9; }
.section-head { justify-content: space-between; gap: var(--s4); margin-bottom: var(--s5); }
.section-head h2 { display: flex; align-items: baseline; gap: var(--s2); }
.count { color: var(--teal); font: italic 400 1.25rem/1 var(--serif); font-variant-numeric: tabular-nums; }
.filters { background: #e7ece6; border-radius: 8px; position: relative; isolation: isolate; padding: var(--s1); }
.filters::before {
  content: ""; position: absolute; z-index: -1; top: 4px; bottom: 4px; left: 0; border-radius: 6px;
  width: var(--tab-width,0); transform: translateX(var(--tab-x,0)); background: var(--ink);
  transition: transform 250ms var(--spring),width 250ms var(--spring);
}
.filters button { background: transparent; border: 0; min-height: 44px; min-width: 44px; padding-inline: var(--s4); border-radius: 6px; color: var(--muted); font-size: .875rem; font-weight: 650; }
.filters button[aria-pressed=true] { color: white; }
.cards { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); column-gap: var(--s5); }
.project { grid-column: 1/-1; min-width: 0; border-bottom: 1px solid var(--line); }
.project-link { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: var(--s5); align-items: center; padding-block: var(--s4); position: relative; }
.project-name { grid-column: span 4; min-width: 0; }
.project-name h3 { transition: color 160ms; overflow-wrap: anywhere; }
.meta { display: block; font-size: .75rem; font-weight: 650; color: var(--muted); }
.project-name h3 { margin-top: var(--s1); }
.project-summary { grid-column: span 6; color: var(--muted); max-width: 62ch; }
.picture { grid-column: span 2; background: #dfe7e2; width: 100%; aspect-ratio: 2.6; border-radius: 8px; overflow: hidden; }
.picture img,.window { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.picture img { transition: transform 280ms var(--spring); }
.mfa .picture .window { width: 45%; margin-inline: auto; }
.picture .audit-diagram { width:100%;height:100%;display:grid;place-items:center;background:#d6eae1;color:#214d4d;font:600 .875rem/1.25 var(--display); }
.picture .audit-diagram span { display:none; }
.cards:not(.filtered) .feature { grid-column: span 6; border: 0; }
.cards:not(.filtered) .feature .project-link { grid-template-columns: 1fr; gap: var(--s3); padding-block: 0 var(--s5); height: 100%; grid-template-rows: auto 1fr; align-items: start; }
.cards:not(.filtered) .feature .picture { grid-area: 1/1; position:relative; aspect-ratio: 2.55; }
.cards:not(.filtered) .feature .picture::after { content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,15,21,.45),transparent 68%),linear-gradient(0deg,rgba(4,15,21,.94),rgba(4,15,21,.78) 30%,rgba(4,15,21,.61) 52%,transparent 82%); }
.cards:not(.filtered) .feature img { object-position: 50% 45%; }
.cards:not(.filtered) .feature .project-name { grid-area: 1/1; align-self: end; z-index: 1; padding: var(--s5); color: white; }
.cards:not(.filtered) .feature .meta { color: #edf2ef; }
.cards:not(.filtered) .feature h3 { font-size: 2rem; }
.cards:not(.filtered) .feature .project-summary { grid-column: 1; padding-right: var(--s4); }
.cards:not(.filtered) .feature + .project:not(.feature),.filtered .project:not([hidden]) { border-top: 1px solid var(--line); }
.filtered .project { border-bottom: 0; }
.filtered { border-bottom: 1px solid var(--line); }
.project-link:focus-visible h3 { text-decoration: underline; text-underline-offset: .15em; }
.about { background: #0e3034; }
.about-spread { padding-block: var(--s7); }
.about-intro { grid-column: span 4; }
.about-intro h2 { font: 600 .875rem/1.5 var(--sans); color: #c2d4cc; letter-spacing: 0; }
.signature { font: italic 400 2.5rem/1.3 var(--serif); color: var(--lime); margin-top: var(--s3); }
.about-copy { grid-column: span 8; max-width: 68ch; }
.about-copy p + p { margin-top: var(--s3); }
.footer { border-top: 1px solid var(--line); }
.case-page + .footer { margin-top: var(--section); }
.foot { gap: var(--s5); min-height: 80px; color: var(--muted); }
.foot span { margin-right: auto; }
@media (hover:hover) and (pointer:fine) {
  .bar nav a:hover::after,.foot a:hover::after,.text-action:hover::after { transform: scaleX(1); }
  .project-link:hover .picture img { transform: scale(1.035); }
  .project-link:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
}
@media (max-width:1000px) {
  :root { --section:48px; }
  .cards,.project-link,.hero-spread,.about-spread { grid-template-columns: repeat(8,minmax(0,1fr)); }
  .hero-copy,.about-copy { grid-column: span 5; }
  .about-intro,.project-name,.project-summary { grid-column: span 3; }
  .cards:not(.filtered) .feature { grid-column: span 4; }
  .cards:not(.filtered) .feature .picture { aspect-ratio: 2; }
  .hero-art { left: 52%; }
  .cards:not(.filtered) .feature h3 { font-size:1.5rem; }
}
@media (max-width:700px) {
  :root { --section:40px; }
  .wrap { width:calc(100% - 32px); }
  .bar { gap:var(--s3); min-height:60px; }
  .bar nav { gap:var(--s3); }
  .brand { font-size:1.125rem; gap:var(--s1); }
  .brand img { width:24px;height:24px; }
  .contact { flex:none; width:44px; padding:0; }
  .contact span { display:none; }
  .hero-spread,.cards,.about-spread { grid-template-columns: repeat(4,minmax(0,1fr)); gap:var(--s4); }
  .hero-spread { min-height:0; }
  .hero-copy { grid-column:1/-1; padding-block:var(--s5); }
  .hero-art { top:4px;left:53%;right:-16px;bottom:auto;height:156px;  }
  .hero-art::before { width:100%;height:auto; }
  .hero h1 { font-size:2rem; max-width:70%; }
  .lead { max-width:48ch; }
  .actions { gap:var(--s4);margin-top:var(--s4); }
  .button { font-size:.875rem; }
  .section-head { align-items:start;flex-wrap:wrap;gap:var(--s3);margin-bottom:var(--s4); }
  h2 { font-size:1.5rem; }
  .filters button { padding-inline:var(--s3); }
  .cards { row-gap:0; }
  .project-link { grid-template-columns:80px minmax(0,1fr);gap:var(--s2) var(--s4);padding-block:var(--s4); }
  .project-name,.project-summary { grid-column:2; }
  .project-name h3 { font-size:1.25rem; }
  .project-summary { grid-column:1/-1; }
  .picture { grid-row:1;grid-column:1;aspect-ratio:1.6; }
  .cards:not(.filtered) .feature { grid-column:1/-1; }
  .cards:not(.filtered) .feature .picture { aspect-ratio:2.65; }
  .cards:not(.filtered) .feature .project-name { padding:var(--s4); }
  .cards:not(.filtered) .feature .project-summary { padding:0; }
  .about-spread { padding-block:var(--s6); }
  .about-intro,.about-copy { grid-column:1/-1; }
  .signature { font-size:2rem; margin:var(--s1) 0; }
  .foot { flex-wrap:wrap;gap:var(--s2) var(--s4);padding-block:var(--s4); }
}
@media (max-width:380px) {
  .bar { gap:var(--s2); }
  .bar nav { gap:var(--s2); }
  .bar .brand img { display:none; }
  .hero-art { left:63%; top:16px; height:120px; }
}
@media screen and (prefers-reduced-motion:no-preference) {
  @keyframes rise-in {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: none; }
  }
  @keyframes glass-in {
    from { opacity: .2; transform: translateX(6%) rotate(-6deg) scale(.92); }
    to { opacity: 1; transform: none; }
  }
  .hero-art { transition: transform 140ms ease-out; }
  .hero-art::before { animation: glass-in 900ms cubic-bezier(.16,1,.3,1) backwards; }
  .hero-copy > *, .case-intro, .case-visual, .motion-in {
    animation: rise-in 640ms cubic-bezier(.2,.78,.25,1) var(--enter-delay,0ms) backwards;
  }
  .case-visual { --enter-delay: 130ms; }
  .hero .lead { --enter-delay: 70ms; }
  .hero .actions { --enter-delay: 140ms; }
  .hero .actions:focus-within, .case-intro:focus-within { animation: none; }
}
@media screen and (min-width:701px) and (prefers-reduced-motion:no-preference) {
  .cards:not(.filtered) .feature + .feature, .about-copy { --enter-delay: 95ms; }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { transition:none!important;animation:none!important;scroll-behavior:auto!important; }
}

@media (forced-colors: active) {
  .filters button[aria-pressed=true] { border: 2px solid Highlight; }
  .cards:not(.filtered) .feature .project-name { background: Canvas; color: CanvasText; }
}
