:root {
  --brown: #2b211c;
  --deep-mineral: #34385f;
  --parchment: #eee6d8;
  --blue: #6673c8;
  --blue-deep: #3f4b98;
  --blue-mist: #dfe4f6;
  --orange: #e16f4f;
  --orange-deep: #a8432f;
  --celadon: #b9cfc4;
  --celadon-deep: #617f72;
  --gold: #d4a84f;
  --soft-gold: #ddbb67;
  --practice-wash: #d7dacd;
  --chalk: #faf8f2;
  --ink: #171513;
  --muted: #766e65;
  --line: rgb(43 33 28 / 24%);
  --pad: clamp(1.15rem, 3.25vw, 4rem);
  --section: clamp(6.5rem, 12vw, 12rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--chalk); color: var(--brown); font-family: "DM Sans", sans-serif; font-size: 16px; line-height: 1.4; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
.skip-link { position: fixed; top: .75rem; left: .75rem; z-index: 100; padding: .7rem 1rem; background: var(--ink); color: var(--chalk); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header { display: grid; grid-template-columns: 1fr auto; align-items: center; min-height: 6.8rem; padding: 1.2rem var(--pad); background: var(--parchment); border-bottom: 1px solid var(--line); }
.brand { display: flex; flex-direction: column; width: fit-content; color: var(--brown); font-family: "Manrope", sans-serif; font-size: clamp(1.55rem, 2.35vw, 2.3rem); font-weight: 800; letter-spacing: -.055em; line-height: .78; text-decoration: none; }
.brand-made { display: flex; gap: .18em; align-items: center; width: 100%; }
.brand-dot { flex: 0 0 auto; width: .54em; height: .54em; margin-top: .08em; background: var(--brand-dot, var(--orange)); border-radius: 50%; }
:root[data-brand-tone="software"] { --brand-dot: var(--orange); }
:root[data-brand-tone="strategy"] { --brand-dot: var(--blue); }
:root[data-brand-tone="data-ai"] { --brand-dot: var(--celadon); }
:root[data-brand-tone="architecture"] { --brand-dot: var(--gold); }
.site-nav { display: flex; gap: clamp(1.4rem, 3vw, 3.5rem); }
.site-nav a { font-size: .94rem; text-decoration: none; }
.site-nav a:hover { text-decoration: underline; text-underline-offset: .3rem; }
.menu-button { display: none; align-items: center; gap: .7rem; border: 0; background: transparent; color: inherit; font: inherit; }
.menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.menu-icon { position: relative; width: 1.45rem; height: .75rem; }
.menu-icon i { position: absolute; right: 0; width: 100%; height: 1.5px; background: currentColor; transition: top 220ms var(--ease), transform 220ms var(--ease); }
.menu-icon i:first-child { top: .1rem; }
.menu-icon i:last-child { top: .62rem; }
.menu-button[aria-expanded="true"] .menu-icon i:first-child { top: .36rem; transform: rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-icon i:last-child { top: .36rem; transform: rotate(-45deg); }

h1, h2, h3 { font-family: "Manrope", sans-serif; }
.hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(4rem, 8vw, 8rem) var(--pad) 1.4rem; background: var(--parchment); }
.hero::before { position: absolute; z-index: -1; top: -4rem; right: -4%; width: 56%; height: clamp(30rem, 48vw, 46rem); background-image: radial-gradient(circle, rgb(43 33 28 / 18%) 1.5px, transparent 2px); background-size: 32px 32px; content: ""; mask-image: radial-gradient(ellipse at top right, black 0%, rgb(0 0 0 / 94%) 38%, transparent 80%); pointer-events: none; }
.hero-kicker { display: flex; justify-content: space-between; gap: 2rem; margin-bottom: clamp(4rem, 8vw, 8rem); padding-bottom: .9rem; border-bottom: 1px solid var(--line); font-size: .83rem; }
.hero-kicker span:last-child { color: var(--muted); text-align: right; }
.hero-intro { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(17rem, .7fr); gap: clamp(3rem, 8vw, 10rem); align-items: end; }
.hero h1 { max-width: 12ch; margin: 0; font-size: clamp(3.7rem, 7.1vw, 7.7rem); font-weight: 800; letter-spacing: -.052em; line-height: .98; }
.hero-side { padding-bottom: .5rem; }
.hero-side p { max-width: 30rem; margin: 0 0 2.2rem; font-size: clamp(1.05rem, 1.35vw, 1.3rem); line-height: 1.35; }
.hero-side a { font-weight: 600; text-underline-offset: .35rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; }
.hero-email { color: var(--muted); font-size: .92rem; }

.hero-work { height: clamp(30rem, 49vw, 48rem); margin: clamp(4rem, 8vw, 8rem) 0 0; overflow: hidden; background: var(--brown); }
.hero-work img { width: 100%; height: 100%; object-fit: cover; object-position: center 47%; filter: saturate(.72) contrast(.95); }
.hero-foot { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.2rem; font-size: .82rem; }
.hero-foot p { margin: 0; }
.hero-foot span { text-decoration: underline; text-underline-offset: .2rem; }

.section-pad { padding-right: var(--pad); padding-left: var(--pad); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: clamp(4rem, 7vw, 7rem); }
.section-head h2, .section-head p { margin: 0; font-size: .9rem; font-weight: 500; }
.section-head p { max-width: 28rem; color: var(--muted); }
.work { padding-top: var(--section); padding-bottom: var(--section); background: var(--chalk); }
.project-list { display: grid; gap: clamp(6rem, 10vw, 10rem); }
.project { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(19rem, .65fr); gap: clamp(2rem, 5vw, 6rem); align-items: stretch; }
.project:nth-child(even) { grid-template-columns: minmax(19rem, .65fr) minmax(0, 1.35fr); }
.project:nth-child(even) .project-art { grid-column: 2; }
.project:nth-child(even) .project-copy { grid-column: 1; grid-row: 1; }
.project-art { position: relative; min-height: min(43vw, 38rem); overflow: hidden; }
.art-one { background-color: #d5ded6; background-image: radial-gradient(circle, rgb(97 127 114 / 26%) 1.5px, transparent 2px); background-size: 26px 26px; }
.art-one svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.art-one .paint { fill: none; stroke-linecap: round; }
.art-one .paint-a { stroke: var(--orange); stroke-width: 92; opacity: .82; }
.art-one .paint-b { stroke: var(--blue); stroke-width: 52; opacity: .72; }
.art-one .paint-c { stroke: #f4ecd9; stroke-width: 68; opacity: .88; }
.art-one .paint-detail { stroke: var(--brown); stroke-width: 5; opacity: .42; }
.art-label { position: absolute; z-index: 1; top: 1.3rem; left: 1.3rem; font-family: "Manrope", sans-serif; font-size: clamp(1.7rem, 3vw, 3.5rem); font-weight: 800; letter-spacing: -.04em; }
.art-two { display: grid; place-items: center; background-color: var(--blue); background-image: radial-gradient(circle, rgb(63 75 152 / 32%) 1.5px, transparent 2px); background-size: 26px 26px; color: var(--chalk); }
.system-cells { position: relative; display: grid; grid-template-columns: repeat(4, clamp(2.8rem, 6vw, 6.5rem)); gap: clamp(.6rem, 1.5vw, 1.5rem); }
.system-cells span { aspect-ratio: 1; border: 2px solid rgb(250 248 242 / 38%); border-radius: 18%; }
.system-cells span:nth-child(2), .system-cells span:nth-child(7), .system-cells span:nth-child(12) { background: var(--orange); border-color: var(--orange); }
.system-cells span:nth-child(5), .system-cells span:nth-child(10) { border-radius: 50%; background: var(--celadon); border-color: var(--celadon); }
.system-cells svg { position: absolute; inset: -8%; width: 116%; height: 116%; overflow: visible; }
.system-cells svg path { fill: none; stroke: var(--chalk); stroke-width: 4; stroke-linecap: round; opacity: .8; }
.system-cells svg circle { fill: var(--brown); stroke: var(--chalk); stroke-width: 3; }
.art-two > p { position: absolute; right: 1.3rem; bottom: 1rem; margin: 0; font-family: "Manrope", sans-serif; font-size: clamp(1.3rem, 2.1vw, 2.4rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.08; }
.project-illustration { background: var(--parchment); color: var(--brown); }
.project-illustration img { width: 100%; height: 100%; object-fit: cover; }
.project-copy { display: flex; flex-direction: column; justify-content: flex-end; gap: clamp(2rem, 5vw, 5rem); min-height: 15rem; }
.project-copy p, .project-copy h3 { margin: 0; }
.project-context { max-width: 31rem; color: var(--brown); font-size: clamp(.98rem, 1.25vw, 1.15rem); line-height: 1.55; }
.project-details { display: grid; gap: clamp(2rem, 4vw, 4rem); padding-top: 1rem; border-top: 1px solid var(--line); }
.project-details > div > p, .project-details > p { color: var(--muted); font-size: .82rem; }
.project-copy h3 { max-width: 17ch; margin-top: .8rem; font-size: clamp(2rem, 3.2vw, 3.55rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.02; }
.work-brief { position: relative; display: grid; grid-template-columns: 1.15fr .85fr .45fr; gap: clamp(2rem, 5vw, 6rem); margin-bottom: clamp(7rem, 12vw, 12rem); padding: clamp(2rem, 4vw, 4rem); overflow: hidden; background-color: var(--celadon); background-image: radial-gradient(circle, rgb(43 33 28 / 16%) 2px, transparent 2.5px); background-size: 28px 28px; }
.work-brief::after { position: absolute; right: -7%; bottom: -25%; width: 48%; height: 58%; border: 26px solid rgb(225 111 79 / 60%); border-radius: 50%; content: ""; transform: rotate(-10deg); }
.work-brief > * { position: relative; z-index: 1; }
.work-brief p, .work-brief h3 { margin: 0; }
.work-brief > div > p { margin-bottom: clamp(3rem, 7vw, 7rem); font-size: .82rem; }
.work-brief h3 { max-width: 13ch; font-size: clamp(2.4rem, 5vw, 5.5rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.work-brief > p { align-self: end; max-width: 34rem; font-size: clamp(1rem, 1.4vw, 1.25rem); }
.work-brief ul { align-self: end; margin: 0; padding: 0; list-style: none; font-size: .86rem; }
.work-brief li { padding: .55rem 0; border-bottom: 1px solid rgb(43 33 28 / 34%); }
.work-index { margin: 0 calc(var(--pad) * -1) clamp(8rem, 13vw, 13rem); }
.work-index > header { display: flex; justify-content: space-between; gap: 2rem; padding: 0 var(--pad) 1.25rem; }
.work-index h3, .work-index p { margin: 0; font-family: "DM Sans", sans-serif; font-size: .86rem; font-weight: 500; }
.work-index p { color: var(--muted); text-align: right; }
.case-rail { display: flex; gap: 1px; overflow-x: auto; padding: 0 var(--pad) 1rem; cursor: grab; scrollbar-width: none; scroll-snap-type: x proximity; overscroll-behavior-x: contain; }
.case-rail::-webkit-scrollbar { display: none; }
.case-rail.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.case-tile { position: relative; display: flex; flex: 0 0 clamp(17rem, 25vw, 25rem); flex-direction: column; aspect-ratio: 1; justify-content: space-between; overflow: hidden; padding: clamp(1.25rem, 2vw, 2rem); color: var(--brown); text-decoration: none; scroll-snap-align: start; }
.case-tile::before { position: absolute; inset: 0; opacity: .48; background-image: radial-gradient(circle, currentColor 1.5px, transparent 2px); background-size: 24px 24px; content: ""; }
.case-tile > * { position: relative; z-index: 1; }
.case-tile span, .case-tile small { font-size: .78rem; font-weight: 500; }
.case-tile strong { max-width: 11ch; font-family: "Manrope", sans-serif; font-size: clamp(1.8rem, 3vw, 3.25rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.03; }
.case-tile-one { background: var(--celadon); }
.case-tile-two { background: var(--blue); color: var(--chalk); }
.case-tile-three { background: var(--orange); }
.case-tile-four { background: var(--parchment); border: 1px solid var(--line); }
.case-tile-five { background: var(--brown); color: var(--chalk); }
.case-tile:hover strong { text-decoration: underline; text-decoration-thickness: .08em; text-underline-offset: .12em; }

.practice { padding-top: var(--section); padding-bottom: var(--section); background: var(--practice-wash); color: var(--brown); }
.practice-intro { display: grid; grid-template-columns: 1.4fr .6fr; gap: 3rem; align-items: end; }
.practice-intro h2 { max-width: 10ch; margin: 0; font-size: clamp(4rem, 8vw, 8.5rem); font-weight: 800; letter-spacing: -.05em; line-height: .94; }
.practice-intro p { max-width: 30rem; margin: 0; color: rgb(43 33 28 / 76%); font-size: 1.05rem; }
.services-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(7rem, 11vw, 11rem); border-top: 1px solid rgb(43 33 28 / 34%); border-left: 1px solid rgb(43 33 28 / 34%); }
.services-grid article { min-height: 24rem; padding: clamp(1.5rem, 3vw, 3rem); border-right: 1px solid rgb(43 33 28 / 34%); border-bottom: 1px solid rgb(43 33 28 / 34%); }
.service-signal { position: relative; width: 100%; height: 6.5rem; margin-bottom: clamp(3rem, 6vw, 6rem); background-image: radial-gradient(circle, rgb(43 33 28 / 34%) 2px, transparent 2.5px); background-size: 22px 22px; }
.service-signal::after { position: absolute; top: clamp(.425rem, var(--signal-y, 50%), calc(100% - .425rem)); left: clamp(.425rem, var(--signal-x, 50%), calc(100% - .425rem)); width: .85rem; height: .85rem; background: var(--orange); border: 1px solid var(--orange-deep); border-radius: 50%; content: ""; transform: translate(-50%, -50%); }
.services-grid article:nth-child(2) .service-signal { --signal-x: 72%; --signal-y: 25%; }
.services-grid article:nth-child(2) .service-signal::after { background: var(--blue); border-color: var(--blue-deep); }
.services-grid article:nth-child(3) .service-signal { --signal-x: 28%; --signal-y: 75%; }
.services-grid article:nth-child(3) .service-signal::after { background: var(--celadon); border-color: var(--celadon-deep); }
.services-grid article:nth-child(4) .service-signal { --signal-x: 68%; --signal-y: 65%; }
.services-grid article:nth-child(5) .service-signal { --signal-x: 72%; --signal-y: 25%; }
.services-grid article:nth-child(5) .service-signal::after { background: var(--celadon); border-color: var(--celadon-deep); }
.services-grid article:nth-child(6) .service-signal { --signal-x: 28%; --signal-y: 75%; }
.services-grid article:nth-child(6) .service-signal::after { background: var(--blue); border-color: var(--blue-deep); }
.services-grid h3, .services-grid p { margin: 0; }
.services-grid h3 { font-size: clamp(2rem, 3.5vw, 4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.services-grid p { max-width: 36rem; margin-top: 1rem; color: rgb(43 33 28 / 78%); font-size: 1rem; }

.about { display: grid; grid-template-columns: minmax(18rem, .78fr) minmax(0, 1.22fr); gap: clamp(3rem, 9vw, 11rem); padding-top: var(--section); padding-bottom: var(--section); background: var(--parchment); }
.about-photo { position: relative; margin: 0; min-height: 38rem; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) sepia(.12); }
.about-photo figcaption { position: absolute; right: .8rem; bottom: .7rem; left: .8rem; color: white; font-size: .72rem; text-shadow: 0 1px 8px rgb(0 0 0 / 60%); }
.about-copy { align-self: center; }
.about-copy h2 { max-width: 11ch; margin: 0 0 clamp(4rem, 8vw, 8rem); font-size: clamp(3.8rem, 7vw, 7.5rem); font-weight: 800; letter-spacing: -.05em; line-height: .95; }
.about-copy p { max-width: 38rem; margin: 0; font-size: 1.05rem; }
.about-copy .about-lead { margin-bottom: 2rem; font-size: clamp(1.35rem, 2vw, 2rem); line-height: 1.2; }
.about-copy span { text-decoration: underline; text-underline-offset: .25rem; }

.contact { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(24rem, .95fr); gap: clamp(3rem, 7vw, 8rem); align-items: end; min-height: min(52rem, 86svh); overflow: hidden; padding: clamp(3rem, 6vw, 6rem) var(--pad); background: var(--blue); color: var(--chalk); }
.contact-pattern { position: absolute; inset: 0; opacity: .28; background-image: radial-gradient(circle, var(--chalk) 2.5px, transparent 3px); background-size: 48px 48px; background-position: -5px -5px; mask-image: linear-gradient(90deg, transparent, black 45%, black); }
.contact-heading, .contact-links { position: relative; }
.contact-heading { align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; }
.contact-heading p { margin: 0; font-size: .9rem; }
.contact h2 { max-width: 12ch; margin: clamp(4rem, 8vw, 8rem) 0 0; font-size: clamp(3.8rem, 6.2vw, 7rem); font-weight: 800; letter-spacing: -.05em; line-height: .94; }
.contact-links { display: grid; width: 100%; color: var(--chalk); border-top: 1px solid rgb(250 248 242 / 45%); }
.contact-links a { display: grid; grid-template-columns: clamp(4rem, 7vw, 7rem) minmax(0, 1fr); gap: .8rem 2rem; min-width: 0; padding: clamp(2rem, 4vw, 4rem) 0; border-bottom: 1px solid rgb(250 248 242 / 45%); text-decoration: none; }
.contact-links small { grid-column: 1; grid-row: 1; padding-top: .45rem; font-size: .85rem; font-weight: 500; }
.contact-links span { grid-column: 2; overflow-wrap: anywhere; font-family: "Manrope", sans-serif; font-size: clamp(1.7rem, 2.35vw, 2.9rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.contact-links em { grid-column: 2; color: rgb(250 248 242 / 70%); font-size: clamp(.9rem, 1.2vw, 1.1rem); font-style: normal; }
.contact-links a:hover span { text-decoration: underline; text-decoration-thickness: .07em; text-underline-offset: .18em; }
.site-footer { display: grid; grid-template-columns: 1fr 1fr auto; gap: 1rem; align-items: end; padding: 2rem var(--pad); background: var(--blue); color: var(--chalk); border-top: 1px solid rgb(250 248 242 / 30%); }
.site-footer p { margin: 0; font-size: .78rem; }
.footer-brand { color: var(--chalk); }
.reveal { opacity: 0; transform: translateY(1.5rem); transition: opacity 550ms ease, transform 750ms var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 800px) {
  .site-header { min-height: 5.5rem; }
  .brand { font-size: 1.55rem; }
  .menu-button { display: flex; z-index: 3; justify-self: end; padding: .5rem 0 .5rem .5rem; }
  .site-nav { position: fixed; inset: 0; z-index: 2; flex-direction: column; justify-content: flex-end; gap: 0; padding: 7rem var(--pad) 2rem; background: var(--brown); color: var(--chalk); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 180ms ease, visibility 180ms; }
  .site-nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
  .site-nav a { font-family: "Manrope", sans-serif; font-size: clamp(3.7rem, 17vw, 6rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; opacity: 0; transform: translateY(1rem); transition: opacity 260ms ease, transform 420ms var(--ease); }
  .site-nav.is-open a { opacity: 1; transform: none; }
  .site-nav.is-open a:nth-child(1) { transition-delay: 60ms; }
  .site-nav.is-open a:nth-child(2) { transition-delay: 100ms; }
  .site-nav.is-open a:nth-child(3) { transition-delay: 140ms; }
  .site-nav.is-open a:nth-child(4) { transition-delay: 180ms; }
  .menu-open .site-header > .brand, .menu-open .menu-button { position: relative; z-index: 3; color: var(--chalk); }
  .hero { padding-top: 4.5rem; }
  .hero-kicker { flex-direction: column; gap: .3rem; margin-bottom: 4rem; }
  .hero-kicker span:last-child { text-align: left; }
  .hero-intro { grid-template-columns: minmax(0, 1fr); gap: 3.5rem; }
  .hero-intro > * { min-width: 0; }
  .hero h1 { max-width: 10ch; font-size: clamp(2.8rem, 10.8vw, 4.8rem); letter-spacing: -.04em; }
  .hero-side { max-width: 30rem; }
  .hero-side p { max-width: 20rem; }
  .hero-work { width: 100%; height: 33rem; }
  .hero-work img { object-position: 52% center; }
  .hero-foot { align-items: flex-end; }
  .hero-foot p:last-child { max-width: 10rem; text-align: right; }
  .section-head { grid-template-columns: 1fr; gap: .7rem; }
  .work-brief { grid-template-columns: 1fr; }
  .work-brief > div > p { margin-bottom: 3rem; }
  .work-index > header { flex-direction: column; gap: .35rem; }
  .work-index p { text-align: left; }
  .case-tile { flex-basis: min(78vw, 22rem); }
  .project, .project:nth-child(even) { grid-template-columns: 1fr; gap: 1.3rem; }
  .project:nth-child(even) .project-art, .project:nth-child(even) .project-copy { grid-column: auto; grid-row: auto; }
  .project-art { min-height: 70svh; max-height: 44rem; }
  .project-copy { gap: 3rem; min-height: 0; }
  .project-copy h3 { font-size: clamp(2.3rem, 10vw, 3.7rem); }
  .practice-intro { grid-template-columns: 1fr; gap: 3rem; }
  .practice-intro h2 { font-size: clamp(4rem, 18vw, 6rem); }
  .services-grid { grid-template-columns: 1fr; }
  .services-grid article { min-height: 20rem; }
  .about { grid-template-columns: 1fr; }
  .about-photo { min-height: 65svh; }
  .about-copy h2 { font-size: clamp(3.8rem, 17vw, 6rem); }
  .contact { grid-template-columns: 1fr; gap: 5rem; min-height: 0; }
  .contact-heading { min-height: 0; }
  .contact h2 { margin-top: 5rem; font-size: clamp(3.4rem, 14vw, 5.5rem); }
  .contact-links a { grid-template-columns: 3.5rem minmax(0, 1fr); gap: .8rem 1rem; }
  .contact-links span { font-size: clamp(1.65rem, 8vw, 2.7rem); }
  .site-footer { grid-template-columns: 1fr auto; }
  .site-footer > p:nth-child(2) { display: none; }
}

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