:root {
  color-scheme: light;
  --ink: #1e2a2b;
  --cream: #f4efe6;
  --cream-hover: #ece5d8;
  --paper: #fbfaf7;
  --rust: #a73522;
  --rust-hover: #862817;
  --rust-dark: #e0714f;
  --on-rust: #fffaf1;
  --muted-dark: #c9d2d0;
  --muted: #3c4747;
  --muted-2: #5e6b6c;
  --line-dark: rgba(244, 239, 230, .16);
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --gutter: clamp(20px, 5vw, 72px);
  --section: clamp(72px, 8vw, 120px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  font: 400 16px/1.55 Outfit, "Avenir Next", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
body, p, h1, h2, h3, figure, dd, dl, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button, summary { cursor: pointer; }
::selection { background: var(--rust); color: #fff; }
:focus-visible { outline: 2px solid var(--rust-dark); outline-offset: 4px; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 24px; }
.shell { width: min(100% - var(--gutter) * 2, 1320px); margin-inline: auto; }
.section { padding-block: var(--section); }
h1, h2, h3 { font-weight: 500; text-wrap: balance; }
h1 { font-size: clamp(46px, 6.4vw, 92px); line-height: 1; letter-spacing: -.035em; }
h2 { font-size: clamp(38px, 4.7vw, 68px); line-height: 1.02; letter-spacing: -.03em; }
.accent { color: var(--rust); }
.skip-link { position: absolute; z-index: 10; inset: 8px auto auto 8px; background: var(--cream); color: var(--ink); padding: 10px 16px; transform: translateY(-160%); }
.skip-link:focus { transform: none; }

/* Pixels: a 9-unit stroke with a 1-unit gap on a 10-unit grid */
.px { fill: none; stroke-width: 9; stroke-dasharray: 9 1; }
.pt { fill: none; stroke-width: 9; }
.chev { width: 10px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 10; }
.cursor { display: inline-block; width: .5em; height: .11em; margin-left: .07em; background: var(--rust-dark); animation: blink 2.6s ease-in-out infinite; }
.hero--light .cursor { background: var(--rust); }
@keyframes blink { 0%, 50% { opacity: 1; } 60%, 90% { opacity: 0; } 100% { opacity: 1; } }
@keyframes sweep { 0%, 26%, 100% { opacity: 0; } 9% { opacity: .42; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes shade { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
@keyframes reveal { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Labels, links and buttons */
.label { display: flex; align-items: center; gap: 10px; font: 13px/1.4 var(--mono); text-transform: lowercase; color: var(--rust); }
.hero .label { color: var(--rust-dark); }
.button { display: inline-flex; align-items: center; gap: 10px; width: fit-content; min-height: 56px; padding: 16px 26px; border: 0; border-radius: 0; background: var(--rust-dark); color: var(--ink); font-size: 17px; line-height: 20px; font-weight: 500; white-space: nowrap; }
.button:hover { background: #ea8665; }
.button--rust { background: var(--rust); color: var(--on-rust); }
.button--rust:hover { background: var(--rust-hover); }
.button--outline { min-height: 50px; padding: 14px 20px; background: none; border: 1.5px solid var(--ink); font-size: 16px; }
.button--outline:hover { background: var(--ink); color: var(--cream); }
.button:disabled { opacity: .55; cursor: default; }
.text-link { display: inline-flex; gap: 8px; padding: 12px 0; font-size: 17px; line-height: 20px; border-bottom: 1px solid rgba(244, 239, 230, .5); }
.text-link:hover { border-color: currentColor; }
.text-link--dark { padding: 6px 0; font-size: 16px; color: var(--rust-dark); border-color: var(--rust-dark); }
.mono-link { padding: 12px 0; font: 13px/1.4 var(--mono); text-transform: lowercase; color: var(--rust); border-bottom: 1.5px solid var(--rust); white-space: nowrap; }
.mono-link:hover { color: var(--rust-hover); }

/* Header */
.site-header { position: relative; z-index: 3; background: var(--ink); color: var(--cream); border-bottom: 1px solid var(--line-dark); }
.header-inner { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 12px 32px; }
.brand { display: flex; align-items: center; min-height: 44px; }
.logo { flex: none; max-width: none; shape-rendering: crispEdges; }
.logo--sm { display: none; }
.desktop-nav { display: flex; gap: 32px; font: 13px/1.4 var(--mono); text-transform: lowercase; }
.desktop-nav a { padding: 14px 0; }
.desktop-nav a:hover, .desktop-nav [aria-current] { color: var(--rust-dark); }
.header-cta { padding: 12px 18px; border: 1px solid var(--cream); font-size: 15px; line-height: 20px; }
.header-cta:hover, .header-cta[aria-current] { border-color: var(--rust-dark); color: var(--rust-dark); }
.mobile-nav { display: none; }

/* Heroes */
.hero { position: relative; overflow: hidden; min-height: 700px; display: flex; align-items: center; padding-block: 96px 104px; background: var(--ink); color: var(--cream); }
.hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
.hero h1 { max-width: 13ch; }
.hero .lede { max-width: 700px; font-size: clamp(18px, 1.45vw, 21px); line-height: 1.55; font-weight: 300; color: var(--muted-dark); }
.hero .accent { color: var(--rust-dark); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.hero-art { position: absolute; right: -3%; top: 50%; transform: translateY(-50%); pointer-events: none; }
.hero-art--prompt { width: 60%; max-width: 900px; }
.hero-art--mark { width: 44%; max-width: 640px; }
.hero-art--underscore { top: auto; bottom: 0; left: var(--gutter); right: auto; transform: none; width: 34%; max-width: 460px; }
.sweep { opacity: 0; animation: sweep 5.2s ease-in-out infinite; }
.blink { animation: blink 2.6s ease-in-out infinite; }
.hero--home h1 { max-width: 1120px; font-size: clamp(42px, 5.3vw, 76px); }
.hero--home .lede { max-width: 760px; }
.rise { animation: rise .8s var(--ease) both; }
.rise:nth-child(2) { animation-delay: .15s; }
.rise:nth-child(3) { animation-delay: .3s; }
.hero--light { justify-content: center; text-align: center; background: var(--cream); color: var(--ink); }
.hero--light .hero-inner { align-items: center; gap: 28px; }
.hero--light h1 { max-width: none; }
.hero--light .lede { max-width: 680px; color: var(--muted); font-weight: 400; }
.hero-cluster { position: absolute; width: 30%; max-width: 420px; height: auto; pointer-events: none; }
.hero-cluster--tr { top: 0; right: 0; }
.hero-cluster--bl { bottom: 0; left: 0; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 12px; }
.chips a { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border: 1.5px solid var(--ink); font: 13px/18px var(--mono); }
.chips a span { color: var(--rust); }
.chips a:hover { background: var(--ink); color: var(--cream); }
.chips a:hover span { color: var(--rust-dark); }

/* Home: what we do */
.svc-section { background: var(--paper); }
.svc-section h2 { margin-bottom: 56px; }
.svc-list { display: flex; flex-direction: column; gap: 12px; }
.svc { position: relative; overflow: hidden; background: var(--cream); transition: background-color .35s ease, color .35s ease; }
.svc:not([open]):hover { background: var(--cream-hover); }
.svc[open] { background: var(--ink); color: var(--cream); }
.svc summary { position: relative; z-index: 1; display: flex; align-items: center; gap: 20px; padding: 26px 32px; list-style: none; }
.svc summary::-webkit-details-marker { display: none; }
.svc-icon { width: 40px; height: 40px; flex: none; }
.icon-a { stroke: var(--rust); }
.icon-b { stroke: var(--ink); }
.svc[open] .icon-a { stroke: var(--rust-dark); }
.svc[open] .icon-b { stroke: var(--cream); }
.svc-name { flex: 1 1 auto; min-width: 0; font-size: clamp(22px, 2.1vw, 30px); line-height: 1.15; font-weight: 500; letter-spacing: -.02em; }
.svc-plus { flex: none; font: 24px/1 var(--mono); color: var(--rust); }
.svc[open] .svc-plus { visibility: hidden; }
.svc-cluster { position: absolute; right: 0; bottom: 0; width: 130px; height: auto; opacity: .5; pointer-events: none; }
.svc-body { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px 56px; padding: 6px 32px 48px 92px; }
.svc[open] .svc-body { animation: reveal .45s var(--ease) both; }
.svc-text { flex: 1 1 380px; min-width: 0; max-width: 620px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.svc-text > p { min-height: 86px; font-size: 19px; line-height: 1.5; font-weight: 300; color: var(--muted-dark); }
.svc-text ul { align-self: stretch; display: flex; flex-direction: column; gap: 10px; padding-top: 22px; border-top: 1px solid rgba(244, 239, 230, .22); font-size: 17px; line-height: 1.35; }
.svc-text li { display: flex; align-items: baseline; gap: 12px; }
.svc-text li::before { content: ""; flex: none; width: 8px; height: 8px; background: var(--rust-dark); }
.svc-art { flex: none; width: 250px; height: 250px; margin-right: 6%; }

/* Home: challenge tiles that grow on hover */
.challenges { background: var(--cream); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-bottom: 64px; }
.section-head > div { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.xc { --row: 320px; --gap: 16px; position: relative; height: calc(var(--row) * 3 + var(--gap) * 2); }
.xc-tile { position: absolute; overflow: hidden; isolation: isolate; background: var(--ink); color: var(--cream);
  left: calc(var(--c) * ((100% - var(--gap) * 2) / 3 + var(--gap))); top: calc(var(--r) * (var(--row) + var(--gap)));
  width: calc(var(--w) * (100% - var(--gap) * 2) / 3 + (var(--w) - 1) * var(--gap)); height: calc(var(--h) * var(--row) + (var(--h) - 1) * var(--gap));
  transition: left .65s var(--ease), top .65s var(--ease), width .65s var(--ease), height .65s var(--ease), background-color .45s ease, opacity .4s ease, transform .5s var(--ease); }
.xc-tile[data-state=open] { z-index: 3; background: var(--rust); color: var(--on-rust); }
.xc-tile[data-state=covered] { opacity: 0; transform: scale(.94); }
.xc-link { position: absolute; inset: 0; display: block; }
.xc-link:focus-visible { outline: 2px solid var(--on-rust); outline-offset: -6px; }
.xc-front { position: absolute; inset: 0; padding: 30px 30px 28px; display: flex; flex-direction: column; justify-content: space-between; transition: opacity .3s ease; }
.xc-tile[data-state=open] .xc-front { opacity: 0; transition: opacity .2s ease; }
.xc-cluster { position: absolute; top: 0; right: 0; height: auto; opacity: .55; }
.xc-top { position: relative; display: flex; align-items: flex-start; justify-content: space-between; }
.xc-pic { width: 84px; height: 84px; }
.xc-num { font: 13px/1.4 var(--mono); color: var(--muted-dark); }
.xc-title { position: relative; max-width: 14em; font-size: clamp(22px, 2.1vw, 30px); line-height: 1.15; letter-spacing: -.02em; }
.xc-big { position: absolute; inset: 0; padding: 56px 8%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; text-align: center; opacity: 0; transform: scale(.86); pointer-events: none; transition: opacity .25s ease, transform .55s var(--ease); }
.xc-tile[data-state=open] .xc-big { opacity: 1; transform: none; transition: opacity .45s ease .3s, transform .6s var(--ease) .2s; }
.xc-big-title { max-width: 15em; font-size: 50px; line-height: 1.08; font-weight: 500; letter-spacing: -.03em; }
.xc-inline { display: inline-block; width: 1.2em; height: 1.2em; margin-right: .3em; vertical-align: -.22em; }
.xc-big-text { max-width: 34em; font-size: 22px; line-height: 1.5; color: rgba(255, 250, 241, .88); }
.xc-more { padding: 6px 0; font-size: 17px; border-bottom: 1px solid rgba(255, 250, 241, .7); }
.xc-tile[data-shape=wide] .xc-big { padding: 24px 7%; gap: 14px; }
.xc-tile[data-shape=tall] .xc-big { padding: 40px 30px; gap: 20px; }
.xc-tile:is([data-shape=wide], [data-shape=tall]) .xc-big-title { font-size: 34px; }
.xc-tile:is([data-shape=wide], [data-shape=tall]) .xc-big-text { font-size: 18px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* What we do: service sections */
.service { padding-block: clamp(72px, 7.5vw, 104px); background: var(--paper); }
.service--alt { background: var(--cream); }
.service-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 56px 80px; }
.service--alt .service-inner { flex-direction: row-reverse; }
.service-text { flex: 1 1 440px; min-width: 0; max-width: 640px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.tag { padding: 6px 10px; border: 1px solid rgba(30, 42, 43, .4); font: 12px/16px var(--mono); color: var(--rust); }
.service h2, .partner h2 { font-size: clamp(34px, 3.9vw, 56px); line-height: 1.04; }
.service-intro { font-size: 20px; line-height: 1.5; color: var(--muted); }
.offers { align-self: stretch; display: flex; flex-direction: column; gap: 22px; padding-top: 24px; border-top: 1.5px solid var(--ink); }
.offers div { position: relative; padding-left: 25px; }
.offers div::before { content: ""; position: absolute; left: 0; top: 10px; width: 9px; height: 9px; background: var(--rust); }
.offers dt { font-size: 21px; line-height: 1.3; font-weight: 500; }
.offers dd { margin-top: 6px; font-size: 16px; line-height: 1.55; color: var(--muted); }
.art-panel { flex: 1 1 380px; min-width: 0; max-width: 540px; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; background: var(--ink); }
.art { width: 84%; height: auto; }
.projects { position: relative; overflow: hidden; padding-top: 136px; background: var(--paper); }
.projects h2 { position: relative; margin-bottom: 64px; }
.ghost { position: absolute; top: 56px; left: var(--gutter); width: 90%; max-width: 1300px; height: auto; pointer-events: none; }

/* What we do: a list beside one open panel; the picked row moves into the panel */
.mi { --row: 104px; position: relative; height: calc(var(--row) * 8 + 1px); }
.mi-end { position: absolute; left: 0; top: calc(var(--row) * 8); width: calc(40% - 16px); height: 1px; background: rgba(30, 42, 43, .14); }
.mi-item { position: absolute; overflow: hidden; isolation: isolate; background: var(--paper); color: var(--ink); box-shadow: inset 0 1px 0 rgba(30, 42, 43, .14);
  left: 0; top: calc(var(--slot) * var(--row)); width: calc(40% - 16px); height: var(--row);
  transition: left .75s cubic-bezier(.65, 0, .25, 1), top .75s cubic-bezier(.65, 0, .25, 1), width .75s cubic-bezier(.65, 0, .25, 1), height .75s cubic-bezier(.65, 0, .25, 1), background-color .3s ease, color .3s ease, box-shadow .3s ease; }
.mi-item[data-state=open] { z-index: 3; left: calc(40% + 16px); top: 0; width: calc(60% - 16px); height: calc(var(--row) * 8); background: var(--ink); color: var(--cream); box-shadow: none; }
.mi-item[data-state=row]:is(:hover, :focus-within), .mi-item[data-prev] { background: var(--ink); color: var(--cream); box-shadow: none; }
.mi-item[data-prev] { z-index: 2; transition: left .75s cubic-bezier(.65, 0, .25, 1), top .75s cubic-bezier(.65, 0, .25, 1), width .75s cubic-bezier(.65, 0, .25, 1), height .75s cubic-bezier(.65, 0, .25, 1), background-color .4s ease .65s, color .4s ease .65s, box-shadow .4s ease .65s; }
.mi-row { position: absolute; left: 0; top: 0; right: 0; height: var(--row); padding: 0 22px; display: flex; align-items: center; gap: 20px; border: 0; background: none; color: inherit; font-size: 20px; line-height: 1.3; font-weight: 500; letter-spacing: -.01em; text-align: left; transition: opacity .35s ease .55s, padding-left .35s var(--ease); }
.mi-item[data-state=row]:hover .mi-row { padding-left: 30px; }
.mi-row:focus-visible { outline: 2px solid var(--rust-dark); outline-offset: -4px; }
.mi-item[data-state=open] .mi-row { opacity: 0; visibility: hidden; transition: opacity .15s ease, visibility 0s linear .15s; }
.mi-icon { width: 46px; height: 46px; flex: none; }
.pic-a { stroke: var(--ink); transition: stroke .3s ease; }
.pic-b { stroke: var(--rust); transition: stroke .3s ease; }
.mi-item:is([data-state=row]:hover, [data-state=row]:focus-within, [data-prev]) .pic-a { stroke: var(--cream); }
.mi-item:is([data-state=row]:hover, [data-state=row]:focus-within, [data-prev]) .pic-b { stroke: var(--rust-dark); }
.mi-pane { position: absolute; inset: 0; padding: 56px; display: flex; flex-direction: column; gap: 48px; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .15s ease, transform .3s ease, visibility 0s linear .15s; }
.mi-item[data-state=open] .mi-pane { opacity: 1; visibility: visible; transform: none; transition: opacity .45s ease .5s, transform .6s var(--ease) .45s, visibility 0s; }
.mi-cluster { position: absolute; top: 0; right: 0; height: auto; opacity: .5; }
.mi-top { position: relative; display: flex; align-items: flex-start; justify-content: space-between; }
.mi-pic { width: 150px; height: 150px; }
.mi-count { font: 13px/1.4 var(--mono); color: var(--muted-dark); }
.mi-text { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.mi-text h3 { max-width: 16em; font-size: clamp(28px, 2.8vw, 40px); line-height: 1.1; letter-spacing: -.025em; }
.mi-text p { max-width: 640px; font-size: 19px; line-height: 1.55; font-weight: 300; color: var(--muted-dark); }

/* Why us *//* Why us */
.steps { background: var(--cream); }
.steps h2 { margin-bottom: 64px; }
.step-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px; }
.step-grid li { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: 36px 32px 40px; background: var(--paper); border-top: 3px solid var(--ink); }
.step-num { width: 59px; height: auto; }
.step-grid h3 { margin-top: 12px; font-size: 28px; line-height: 1.18; letter-spacing: -.015em; }
.step-grid p { font-size: 17px; line-height: 1.55; color: var(--muted); }
.partner { background: var(--paper); }
.partner-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 56px 80px; }
.partner-text { flex: 1 1 440px; min-width: 0; max-width: 640px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.partner-text p { font-size: 19px; line-height: 1.55; color: var(--muted); }
.partner-text .button { margin-top: 8px; }

/* Call to action */
.cta { padding-bottom: 96px; }
.cta--cream { background: var(--cream); }
.cta--paper { background: var(--paper); }
.cta-card { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 36px 56px; padding: 80px 6% 72px; background: var(--ink); color: var(--cream); }
.cta-corner { position: absolute; top: 0; right: 0; width: 22%; min-width: 120px; max-width: 240px; height: auto; pointer-events: none; }
.cta-text { position: relative; flex: 1 1 420px; min-width: 0; max-width: 760px; display: flex; flex-direction: column; gap: 20px; }
.cta-text h2 { font-size: clamp(34px, 4.2vw, 60px); line-height: 1.03; }
.cta-text p { max-width: 640px; font-size: 19px; line-height: 1.55; font-weight: 300; color: var(--muted-dark); }
.cta-card .button { position: relative; }

/* Contact us */
.hero--map { background-color: #1b2526; background-position: 62% 50%; background-size: cover; }
.map-fade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30, 42, 43, .96) 0%, rgba(30, 42, 43, .9) 34%, rgba(30, 42, 43, 0) 56%); pointer-events: none; }
.map-pin { position: absolute; left: 62%; top: 50%; width: 69px; height: 99px; margin: -80px 0 0 -35px; overflow: visible; pointer-events: none; }
.pin-head { animation: bob 2.6s ease-in-out infinite; }
.pin-shadow { animation: shade 2.6s ease-in-out infinite; }
.hero--map .hero-inner { gap: 28px; }
.map-address { align-self: stretch; max-width: 560px; padding-top: 28px; border-top: 1px solid var(--line-dark); display: flex; flex-direction: column; gap: 8px; font-style: normal; }
.street { font-size: 26px; line-height: 1.25; font-weight: 500; }
.city { font: 14px/1.4 var(--mono); color: var(--muted-dark); }
.map-credit { position: absolute; right: 16px; bottom: 12px; font: 11px/1.4 var(--mono); color: rgba(244, 239, 230, .6); }
.brief-section { background: var(--paper); }
.brief-inner { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 48px 72px; }
.brief-intro { flex: 1 1 400px; min-width: 0; max-width: 540px; display: flex; flex-direction: column; gap: 24px; }
.brief-intro .lede { font-size: 21px; line-height: 1.5; color: var(--muted); }
.brief { flex: 1.15 1 440px; min-width: 0; max-width: 680px; padding: 32px; display: flex; flex-direction: column; gap: 18px; background: var(--cream); color: var(--ink); }
.brief h3 { font-size: 30px; line-height: 1.1; letter-spacing: -.02em; }
.brief > p { font-size: 16px; line-height: 1.55; color: var(--muted); }
.brief-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 18px 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font: 13px/1.4 var(--mono); text-transform: lowercase; }
.brief :is(input, select, textarea) { width: 100%; padding: 0 14px; border: 1.5px solid var(--ink); border-radius: 0; background: var(--paper); font-size: 17px; color: var(--ink); }
.brief :is(input, select) { height: 50px; }
.brief textarea { padding: 12px 14px; line-height: 1.5; resize: vertical; }
.brief :is(input, select, textarea):focus-visible { outline: 2px solid var(--rust); outline-offset: 2px; }
.brief .button { min-height: 52px; }
#project-status { font-size: 16px; color: var(--muted); }
#project-status:empty { display: none; }

/* Footer */
.site-footer { padding-block: 48px 40px; background: var(--paper); color: var(--ink); border-top: 1px solid rgba(30, 42, 43, .12); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 40px 64px; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 0 32px; font: 13px/1.4 var(--mono); text-transform: lowercase; }
.footer-inner nav a { padding: 14px 0; }
.footer-inner nav a:hover { color: var(--rust); }
.site-footer small { display: block; font: 12px/1.4 var(--mono); color: var(--muted-2); }

/* Mascot placements */
.footer-end { display: flex; align-items: flex-end; gap: 16px; margin-top: 48px; padding-top: 14px; border-top: 1px solid rgba(30, 42, 43, .16); }
.site-footer .footer-end small { margin: 0; padding: 0 0 6px; border: 0; }
.ft-critter { width: 100px; height: 34px; flex: none; overflow: visible; }
.hero--404 { min-height: 720px; }
.nf-inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 48px 72px; }
.nf-text { flex: 1 1 420px; min-width: 0; max-width: 560px; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.nf-title { font: 500 clamp(34px, 3.8vw, 54px)/1.1 var(--mono); letter-spacing: -.02em; }
.nf-scene { flex: 1 1 520px; min-width: 0; max-width: 760px; height: auto; overflow: visible; }

/* Mascot: the two-hook critter. Each figure nests move > flip > hop > parts; legs swap between two frames while walking. */
:is(.hc-flip, .nf-flip, .ft-flip, .fb-flip) { transform-box: fill-box; transform-origin: 50% 50%; }
:is(.hc-hop, .nf-hop, .ft-hop, .fb-hop) { transform-box: fill-box; transform-origin: 50% 100%; }
:is(.hc-eyeu, .nf-eyeu, .ft-eyeu, .fb-eyeu) { animation: critter-blink 3.4s steps(1, end) infinite; }
@keyframes critter-blink { 0%, 44%, 52%, 100% { opacity: 1; } 46%, 50% { opacity: 0; } }
.hc-move { animation: hc-move 12.0s linear infinite; }
.hc-flip { animation: hc-flip 12.0s steps(1, end) infinite; }
.hc-hop { animation: hc-hop 12.0s ease-in-out infinite; }
.hc-look { animation: hc-look 12.0s ease-in-out infinite; }
.hc-lb { animation: hc-lb 12.0s steps(1, end) infinite; }
.hc-la { animation: hc-la 12.0s steps(1, end) infinite; }
.hc-eyes { transform: translate(var(--look, 0px), 0); transition: transform .25s ease; }
@keyframes hc-move { 0% { transform: translate(112px, 77px); } 33.33% { transform: translate(112px, 77px); } 53.33% { transform: translate(128px, 77px); } 63.33% { transform: translate(128px, 77px); } 83.33% { transform: translate(112px, 77px); } 100% { transform: translate(112px, 77px); } }
@keyframes hc-flip { 0% { transform: scale(1, 1); } 63.33% { transform: scale(-1, 1); } 83.33% { transform: scale(1, 1); } 100% { transform: scale(1, 1); } }
@keyframes hc-hop { 0% { transform: translate(0, 0) scale(1, 1); } 53.75% { transform: translate(0, 0) scale(1, 1); } 54.42% { transform: translate(0, 2px) scale(1.06, .9); } 55.83% { transform: translate(0, -9px) scale(.96, 1.06); } 57.25% { transform: translate(0, 0) scale(1.04, .94); } 57.92% { transform: translate(0, 0) scale(1, 1); } 58.33% { transform: translate(0, 0) scale(1, 1); } 59% { transform: translate(0, 2px) scale(1.06, .9); } 60.42% { transform: translate(0, -9px) scale(.96, 1.06); } 61.83% { transform: translate(0, 0) scale(1.04, .94); } 62.5% { transform: translate(0, 0) scale(1, 1); } 100% { transform: translate(0, 0) scale(1, 1); } }
@keyframes hc-look { 0% { transform: translate(0px, 0); } 11.67% { transform: translate(0px, 0); } 13.33% { transform: translate(3px, 0); } 20% { transform: translate(3px, 0); } 21.67% { transform: translate(-3px, 0); } 28.33% { transform: translate(-3px, 0); } 30% { transform: translate(0px, 0); } 100% { transform: translate(0px, 0); } }
@keyframes hc-lb { 0% { opacity: 0; } 33.33% { opacity: 1; } 35.82% { opacity: 1; } 35.83% { opacity: 0; } 38.32% { opacity: 0; } 38.33% { opacity: 1; } 40.82% { opacity: 1; } 40.83% { opacity: 0; } 43.32% { opacity: 0; } 43.33% { opacity: 1; } 45.82% { opacity: 1; } 45.83% { opacity: 0; } 48.32% { opacity: 0; } 48.33% { opacity: 1; } 50.82% { opacity: 1; } 50.83% { opacity: 0; } 53.32% { opacity: 0; } 53.33% { opacity: 0; } 63.33% { opacity: 1; } 65.82% { opacity: 1; } 65.83% { opacity: 0; } 68.33% { opacity: 0; } 68.33% { opacity: 1; } 70.83% { opacity: 1; } 70.83% { opacity: 0; } 73.33% { opacity: 0; } 73.33% { opacity: 1; } 75.83% { opacity: 1; } 75.83% { opacity: 0; } 78.33% { opacity: 0; } 78.33% { opacity: 1; } 80.83% { opacity: 1; } 80.83% { opacity: 0; } 83.33% { opacity: 0; } 83.33% { opacity: 0; } 100% { opacity: 0; } }
@keyframes hc-la { 0% { opacity: 1; } 33.33% { opacity: 0; } 35.82% { opacity: 0; } 35.83% { opacity: 1; } 38.32% { opacity: 1; } 38.33% { opacity: 0; } 40.82% { opacity: 0; } 40.83% { opacity: 1; } 43.32% { opacity: 1; } 43.33% { opacity: 0; } 45.82% { opacity: 0; } 45.83% { opacity: 1; } 48.32% { opacity: 1; } 48.33% { opacity: 0; } 50.82% { opacity: 0; } 50.83% { opacity: 1; } 53.32% { opacity: 1; } 53.33% { opacity: 1; } 63.33% { opacity: 0; } 65.82% { opacity: 0; } 65.83% { opacity: 1; } 68.33% { opacity: 1; } 68.33% { opacity: 0; } 70.83% { opacity: 0; } 70.83% { opacity: 1; } 73.33% { opacity: 1; } 73.33% { opacity: 0; } 75.83% { opacity: 0; } 75.83% { opacity: 1; } 78.33% { opacity: 1; } 78.33% { opacity: 0; } 80.83% { opacity: 0; } 80.83% { opacity: 1; } 83.33% { opacity: 1; } 83.33% { opacity: 1; } 100% { opacity: 1; } }
.nf-move { animation: nf-move 11.0s linear infinite; }
.nf-flip { animation: nf-flip 11.0s steps(1, end) infinite; }
.nf-hop { animation: nf-hop 11.0s ease-in-out infinite; }
.nf-look { animation: nf-look 11.0s ease-in-out infinite; }
.nf-lb { animation: nf-lb 11.0s steps(1, end) infinite; }
.nf-la { animation: nf-la 11.0s steps(1, end) infinite; }
.nf-q { animation: nf-q 11.0s steps(1, end) infinite; }
@keyframes nf-move { 0% { transform: translate(10px, 0); } 7.27% { transform: translate(10px, 0); } 34.55% { transform: translate(470px, 0); } 65.45% { transform: translate(470px, 0); } 92.73% { transform: translate(10px, 0); } 100% { transform: translate(10px, 0); } }
@keyframes nf-flip { 0% { transform: scale(1, 1); } 65.45% { transform: scale(-1, 1); } 92.73% { transform: scale(1, 1); } 100% { transform: scale(1, 1); } }
@keyframes nf-hop { 0% { transform: translate(0, 0) scale(1, 1); } 56.36% { transform: translate(0, 0) scale(1, 1); } 57.09% { transform: translate(0, 2px) scale(1.06, .9); } 58.64% { transform: translate(0, -26px) scale(.96, 1.06); } 60.18% { transform: translate(0, 0) scale(1.04, .94); } 60.91% { transform: translate(0, 0) scale(1, 1); } 60.91% { transform: translate(0, 0) scale(1, 1); } 61.64% { transform: translate(0, 2px) scale(1.06, .9); } 63.18% { transform: translate(0, -26px) scale(.96, 1.06); } 64.73% { transform: translate(0, 0) scale(1.04, .94); } 65.45% { transform: translate(0, 0) scale(1, 1); } 100% { transform: translate(0, 0) scale(1, 1); } }
@keyframes nf-look { 0% { transform: translate(0px, 0); } 36.36% { transform: translate(0px, 0); } 38.18% { transform: translate(-10px, 0); } 44.55% { transform: translate(-10px, 0); } 46.36% { transform: translate(10px, 0); } 52.73% { transform: translate(10px, 0); } 54.55% { transform: translate(0px, 0); } 100% { transform: translate(0px, 0); } }
@keyframes nf-lb { 0% { opacity: 0; } 7.27% { opacity: 1; } 9.99% { opacity: 1; } 10% { opacity: 0; } 12.72% { opacity: 0; } 12.73% { opacity: 1; } 15.45% { opacity: 1; } 15.45% { opacity: 0; } 18.17% { opacity: 0; } 18.18% { opacity: 1; } 20.9% { opacity: 1; } 20.91% { opacity: 0; } 23.63% { opacity: 0; } 23.64% { opacity: 1; } 26.35% { opacity: 1; } 26.36% { opacity: 0; } 29.08% { opacity: 0; } 29.09% { opacity: 1; } 31.81% { opacity: 1; } 31.82% { opacity: 0; } 34.54% { opacity: 0; } 34.55% { opacity: 0; } 65.45% { opacity: 1; } 68.17% { opacity: 1; } 68.18% { opacity: 0; } 70.9% { opacity: 0; } 70.91% { opacity: 1; } 73.63% { opacity: 1; } 73.64% { opacity: 0; } 76.35% { opacity: 0; } 76.36% { opacity: 1; } 79.08% { opacity: 1; } 79.09% { opacity: 0; } 81.81% { opacity: 0; } 81.82% { opacity: 1; } 84.54% { opacity: 1; } 84.55% { opacity: 0; } 87.26% { opacity: 0; } 87.27% { opacity: 1; } 89.99% { opacity: 1; } 90% { opacity: 0; } 92.72% { opacity: 0; } 92.73% { opacity: 0; } 100% { opacity: 0; } }
@keyframes nf-la { 0% { opacity: 1; } 7.27% { opacity: 0; } 9.99% { opacity: 0; } 10% { opacity: 1; } 12.72% { opacity: 1; } 12.73% { opacity: 0; } 15.45% { opacity: 0; } 15.45% { opacity: 1; } 18.17% { opacity: 1; } 18.18% { opacity: 0; } 20.9% { opacity: 0; } 20.91% { opacity: 1; } 23.63% { opacity: 1; } 23.64% { opacity: 0; } 26.35% { opacity: 0; } 26.36% { opacity: 1; } 29.08% { opacity: 1; } 29.09% { opacity: 0; } 31.81% { opacity: 0; } 31.82% { opacity: 1; } 34.54% { opacity: 1; } 34.55% { opacity: 1; } 65.45% { opacity: 0; } 68.17% { opacity: 0; } 68.18% { opacity: 1; } 70.9% { opacity: 1; } 70.91% { opacity: 0; } 73.63% { opacity: 0; } 73.64% { opacity: 1; } 76.35% { opacity: 1; } 76.36% { opacity: 0; } 79.08% { opacity: 0; } 79.09% { opacity: 1; } 81.81% { opacity: 1; } 81.82% { opacity: 0; } 84.54% { opacity: 0; } 84.55% { opacity: 1; } 87.26% { opacity: 1; } 87.27% { opacity: 0; } 89.99% { opacity: 0; } 90% { opacity: 1; } 92.72% { opacity: 1; } 92.73% { opacity: 1; } 100% { opacity: 1; } }
@keyframes nf-q { 0% { opacity: 0; } 36.36% { opacity: 1; } 54.55% { opacity: 0; } 100% { opacity: 0; } }
@keyframes fta-move { 0% { transform: translate(0px, 0); } 37.5% { transform: translate(54px, 0); } 46.88% { transform: translate(54px, 0); } 84.38% { transform: translate(0px, 0); } 100% { transform: translate(0px, 0); } }
@keyframes fta-flip { 0% { transform: scale(1, 1); } 46.88% { transform: scale(-1, 1); } 84.38% { transform: scale(1, 1); } 100% { transform: scale(1, 1); } }
@keyframes fta-hop { 0% { transform: translate(0, 0) scale(1, 1); } 84.38% { transform: translate(0, 0) scale(1, 1); } 86.88% { transform: translate(0, 2px) scale(1.06, .9); } 92.19% { transform: translate(0, -8px) scale(.96, 1.06); } 97.5% { transform: translate(0, 0) scale(1.04, .94); } 100% { transform: translate(0, 0) scale(1, 1); } 100% { transform: translate(0, 0) scale(1, 1); } }
@keyframes fta-lb { 0% { opacity: 0; } 0% { opacity: 1; } 6.22% { opacity: 1; } 6.25% { opacity: 0; } 12.47% { opacity: 0; } 12.5% { opacity: 1; } 18.72% { opacity: 1; } 18.75% { opacity: 0; } 24.97% { opacity: 0; } 25% { opacity: 1; } 31.22% { opacity: 1; } 31.25% { opacity: 0; } 37.47% { opacity: 0; } 37.5% { opacity: 0; } 46.88% { opacity: 1; } 53.09% { opacity: 1; } 53.12% { opacity: 0; } 59.34% { opacity: 0; } 59.37% { opacity: 1; } 65.59% { opacity: 1; } 65.62% { opacity: 0; } 71.84% { opacity: 0; } 71.88% { opacity: 1; } 78.09% { opacity: 1; } 78.13% { opacity: 0; } 84.34% { opacity: 0; } 84.38% { opacity: 0; } 100% { opacity: 0; } }
@keyframes fta-la { 0% { opacity: 1; } 0% { opacity: 0; } 6.22% { opacity: 0; } 6.25% { opacity: 1; } 12.47% { opacity: 1; } 12.5% { opacity: 0; } 18.72% { opacity: 0; } 18.75% { opacity: 1; } 24.97% { opacity: 1; } 25% { opacity: 0; } 31.22% { opacity: 0; } 31.25% { opacity: 1; } 37.47% { opacity: 1; } 37.5% { opacity: 1; } 46.88% { opacity: 0; } 53.09% { opacity: 0; } 53.12% { opacity: 1; } 59.34% { opacity: 1; } 59.37% { opacity: 0; } 65.59% { opacity: 0; } 65.62% { opacity: 1; } 71.84% { opacity: 1; } 71.88% { opacity: 0; } 78.09% { opacity: 0; } 78.13% { opacity: 1; } 84.34% { opacity: 1; } 84.38% { opacity: 1; } 100% { opacity: 1; } }
@keyframes ftb-move { 0% { transform: translate(0px, 0); } 37.5% { transform: translate(54px, 0); } 46.88% { transform: translate(54px, 0); } 84.38% { transform: translate(0px, 0); } 100% { transform: translate(0px, 0); } }
@keyframes ftb-flip { 0% { transform: scale(1, 1); } 46.88% { transform: scale(-1, 1); } 84.38% { transform: scale(1, 1); } 100% { transform: scale(1, 1); } }
@keyframes ftb-hop { 0% { transform: translate(0, 0) scale(1, 1); } 84.38% { transform: translate(0, 0) scale(1, 1); } 86.88% { transform: translate(0, 2px) scale(1.06, .9); } 92.19% { transform: translate(0, -8px) scale(.96, 1.06); } 97.5% { transform: translate(0, 0) scale(1.04, .94); } 100% { transform: translate(0, 0) scale(1, 1); } 100% { transform: translate(0, 0) scale(1, 1); } }
@keyframes ftb-lb { 0% { opacity: 0; } 0% { opacity: 1; } 6.22% { opacity: 1; } 6.25% { opacity: 0; } 12.47% { opacity: 0; } 12.5% { opacity: 1; } 18.72% { opacity: 1; } 18.75% { opacity: 0; } 24.97% { opacity: 0; } 25% { opacity: 1; } 31.22% { opacity: 1; } 31.25% { opacity: 0; } 37.47% { opacity: 0; } 37.5% { opacity: 0; } 46.88% { opacity: 1; } 53.09% { opacity: 1; } 53.12% { opacity: 0; } 59.34% { opacity: 0; } 59.37% { opacity: 1; } 65.59% { opacity: 1; } 65.62% { opacity: 0; } 71.84% { opacity: 0; } 71.88% { opacity: 1; } 78.09% { opacity: 1; } 78.13% { opacity: 0; } 84.34% { opacity: 0; } 84.38% { opacity: 0; } 100% { opacity: 0; } }
@keyframes ftb-la { 0% { opacity: 1; } 0% { opacity: 0; } 6.22% { opacity: 0; } 6.25% { opacity: 1; } 12.47% { opacity: 1; } 12.5% { opacity: 0; } 18.72% { opacity: 0; } 18.75% { opacity: 1; } 24.97% { opacity: 1; } 25% { opacity: 0; } 31.22% { opacity: 0; } 31.25% { opacity: 1; } 37.47% { opacity: 1; } 37.5% { opacity: 1; } 46.88% { opacity: 0; } 53.09% { opacity: 0; } 53.12% { opacity: 1; } 59.34% { opacity: 1; } 59.37% { opacity: 0; } 65.59% { opacity: 0; } 65.62% { opacity: 1; } 71.84% { opacity: 1; } 71.88% { opacity: 0; } 78.09% { opacity: 0; } 78.13% { opacity: 1; } 84.34% { opacity: 1; } 84.38% { opacity: 1; } 100% { opacity: 1; } }
.site-footer.is-seen .ft-move { animation: fta-move 3.2s linear 1 both; }
.site-footer:hover .ft-move { animation: ftb-move 3.2s linear 1 both; }
.site-footer.is-seen .ft-flip { animation: fta-flip 3.2s steps(1, end) 1 both; }
.site-footer:hover .ft-flip { animation: ftb-flip 3.2s steps(1, end) 1 both; }
.site-footer.is-seen .ft-hop { animation: fta-hop 3.2s ease-in-out 1 both; }
.site-footer:hover .ft-hop { animation: ftb-hop 3.2s ease-in-out 1 both; }
.site-footer.is-seen .ft-lb { animation: fta-lb 3.2s steps(1, end) 1 both; }
.site-footer:hover .ft-lb { animation: ftb-lb 3.2s steps(1, end) 1 both; }
.site-footer.is-seen .ft-la { animation: fta-la 3.2s steps(1, end) 1 both; }
.site-footer:hover .ft-la { animation: ftb-la 3.2s steps(1, end) 1 both; }
.sent { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.sent[hidden] { display: none !important; }
.sent-critter { width: 70px; height: 55px; flex: none; overflow: visible; opacity: 0; transform: translateY(24px); }
.sent[data-run=a] .sent-critter { animation: fb-pop-a .5s cubic-bezier(.2, 1.4, .4, 1) forwards; }
.sent[data-run=b] .sent-critter { animation: fb-pop-b .5s cubic-bezier(.2, 1.4, .4, 1) forwards; }
@keyframes fb-pop-a { to { opacity: 1; transform: none; } }
@keyframes fb-pop-b { to { opacity: 1; transform: none; } }
.sent[data-run=a] .fb-hop { animation: fb-hop-a 1.2s ease-in-out .45s; }
.sent[data-run=b] .fb-hop { animation: fb-hop-b 1.2s ease-in-out .45s; }
@keyframes fb-hop-a { 0% { transform: translate(0, 0) scale(1, 1); } 0% { transform: translate(0, 0) scale(1, 1); } 6.67% { transform: translate(0, 2px) scale(1.06, .9); } 20.83% { transform: translate(0, -14px) scale(.96, 1.06); } 35% { transform: translate(0, 0) scale(1.04, .94); } 41.67% { transform: translate(0, 0) scale(1, 1); } 45.83% { transform: translate(0, 0) scale(1, 1); } 52.5% { transform: translate(0, 2px) scale(1.06, .9); } 66.67% { transform: translate(0, -14px) scale(.96, 1.06); } 80.83% { transform: translate(0, 0) scale(1.04, .94); } 87.5% { transform: translate(0, 0) scale(1, 1); } 100% { transform: translate(0, 0) scale(1, 1); } }
@keyframes fb-hop-b { 0% { transform: translate(0, 0) scale(1, 1); } 0% { transform: translate(0, 0) scale(1, 1); } 6.67% { transform: translate(0, 2px) scale(1.06, .9); } 20.83% { transform: translate(0, -14px) scale(.96, 1.06); } 35% { transform: translate(0, 0) scale(1.04, .94); } 41.67% { transform: translate(0, 0) scale(1, 1); } 45.83% { transform: translate(0, 0) scale(1, 1); } 52.5% { transform: translate(0, 2px) scale(1.06, .9); } 66.67% { transform: translate(0, -14px) scale(.96, 1.06); } 80.83% { transform: translate(0, 0) scale(1.04, .94); } 87.5% { transform: translate(0, 0) scale(1, 1); } 100% { transform: translate(0, 0) scale(1, 1); } }
.sent:is([data-run=a], [data-run=b]) .fb-happy { animation: fb-happy 2.6s steps(1, end) .4s forwards; }
.sent:is([data-run=a], [data-run=b]) .fb-look { animation: fb-eyes 2.6s steps(1, end) .4s forwards; }
@keyframes fb-happy { 0%, 99% { opacity: 1; } 100% { opacity: 0; } }
@keyframes fb-eyes { 0%, 99% { opacity: 0; } 100% { opacity: 1; } }

@media (max-width: 900px) {
  .xc { height: auto; display: flex; flex-direction: column; gap: 16px; }
  .xc-tile { position: relative; left: auto; top: auto; width: auto; height: 260px; }
  .mi { height: auto; display: flex; flex-direction: column; }
  .mi-end { display: none; }
  .mi-item { position: relative; left: auto; top: auto; width: auto; height: var(--row); }
  .mi-item[data-state=open] { order: -1; left: auto; width: auto; height: auto; min-height: 560px; margin-bottom: 16px; }
  .mi-item[data-state=open] .mi-pane { position: relative; inset: auto; min-height: 560px; padding: 32px 24px; }
}
@media (max-width: 1024px) {
  .desktop-nav, .header-cta { display: none; }
  .mobile-nav { display: block; position: relative; }
  .mobile-nav summary { display: flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--cream); font: 13px/1 var(--mono); text-transform: lowercase; list-style: none; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav[open] summary { border-color: var(--rust-dark); color: var(--rust-dark); }
  .mobile-nav nav { position: absolute; right: 0; top: calc(100% + 8px); min-width: 210px; display: grid; background: var(--cream); color: var(--ink); }
  .mobile-nav nav a { padding: 14px 18px; font: 14px/1.4 var(--mono); text-transform: lowercase; }
  .mobile-nav nav a:hover, .mobile-nav [aria-current] { background: var(--cream-hover); color: var(--rust); }
  .svc-art { display: none; }
}
@media (max-width: 720px) {
  .header-inner { min-height: 84px; }
  .logo--lg { display: none; }
  .logo--sm { display: block; }
  .site-footer .logo { width: 188px; height: auto; }
  .hero { min-height: 0; padding-block: 72px 88px; }
  .hero-art--prompt, .hero-art--mark { width: 90%; right: -30%; opacity: .7; }
  .map-fade { background: rgba(30, 42, 43, .86); }
  .map-pin { display: none; }
  .brief { padding: 24px 20px; }
  .hero-cluster { width: 45%; }
  .svc summary { padding: 22px 20px; gap: 14px; }
  .svc-icon { width: 32px; height: 32px; }
  .svc-body { padding: 0 20px 36px; }
  .svc-text > p { min-height: 0; }
  .section-head, .svc-section h2, .steps h2, .projects h2 { margin-bottom: 40px; }
  .projects { padding-top: 96px; }
  .cta { padding-bottom: 72px; }
  .cta-card { padding: 56px 24px; }
  .button { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .sweep { opacity: 0; }
}
