@charset "UTF-8";

:root {
  --paper: #f7f7f2;
  --paper-deep: #ecece4;
  --ink: #17231f;
  --ink-soft: #4c5953;
  --line: rgba(23, 35, 31, 0.16);
  --mint: #d9efdf;
  --mint-bright: #c8ed87;
  --blue: #dbe9ff;
  --peach: #f5ddcf;
  --yellow: #f4efb8;
  --white: #fffef9;
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 40px;
  --max-width: 1440px;
  --page-gutter: clamp(20px, 4.2vw, 72px);
  --ease: cubic-bezier(0.2, 0.75, 0.25, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.menu-open,
body.dialog-open {
  overflow: hidden;
}

::selection {
  background: var(--mint-bright);
  color: var(--ink);
}

img {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--page-gutter);
  border-bottom: 1px solid transparent;
  transition:
    padding 300ms var(--ease),
    background-color 300ms ease,
    border-color 300ms ease,
    backdrop-filter 300ms ease;
}

.site-header.is-scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
  border-color: var(--line);
  background: rgba(247, 247, 242, 0.85);
  backdrop-filter: blur(18px);
}

.wordmark {
  position: relative;
  z-index: 102;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.035em;
}

.wordmark-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  overflow: hidden;
}

.wordmark-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 50px);
  font-size: 0.86rem;
  font-weight: 550;
}

.site-nav a:not(.nav-cta) {
  position: relative;
}

.site-nav a:not(.nav-cta)::after {
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 250ms var(--ease);
}

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 11px 17px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  transition: transform 250ms var(--ease), background-color 250ms ease;
}

.nav-cta:hover {
  background: #293a34;
  transform: translateY(-2px);
}

.menu-toggle {
  position: relative;
  z-index: 102;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(247, 247, 242, 0.8);
  cursor: pointer;
}

.menu-toggle-label {
  font-size: 0.75rem;
  font-weight: 650;
}

.menu-toggle-icon {
  position: relative;
  display: block;
  width: 16px;
  height: 10px;
}

.menu-toggle-icon i {
  position: absolute;
  left: 0;
  display: block;
  width: 16px;
  height: 1px;
  background: var(--ink);
  transition: transform 220ms ease, top 220ms ease;
}

.menu-toggle-icon i:first-child { top: 2px; }
.menu-toggle-icon i:last-child { top: 8px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon i:first-child { top: 5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon i:last-child { top: 5px; transform: rotate(-45deg); }

.hero {
  position: relative;
  display: grid;
  min-height: min(960px, 100svh);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(150px, 19vh, 220px) var(--page-gutter) 36px;
  grid-template-columns: minmax(0, 1.08fr) minmax(400px, 0.92fr);
  column-gap: clamp(30px, 6vw, 100px);
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  color: var(--ink-soft);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: clamp(0.65rem, 0.8vw, 0.75rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint-bright);
  content: "";
  box-shadow: 0 0 0 4px rgba(200, 237, 135, 0.28);
}

.hero h1,
.section-heading h2,
.about h2,
.contact h2 {
  margin: 0;
  font-size: clamp(4rem, 8.3vw, 8.3rem);
  font-weight: 430;
  letter-spacing: -0.082em;
  line-height: 0.84;
}

.hero h1 span,
.section-heading h2 span,
.about h2 span,
.contact h2 span {
  color: var(--ink-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.07em;
}

.hero-intro {
  max-width: 590px;
  margin: 46px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.45vw, 1.25rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 14px 20px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 650;
  transition: transform 260ms var(--ease), background-color 260ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-dark {
  background: var(--ink);
  color: var(--paper);
}

.button-dark:hover {
  background: #2b3c36;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid currentColor;
  font-size: 0.85rem;
  font-weight: 650;
  transition: gap 250ms var(--ease);
}

.text-link:hover {
  gap: 18px;
}

.hero-art {
  position: relative;
  width: min(100%, 590px);
  aspect-ratio: 1;
  align-self: center;
  justify-self: end;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--mint);
  overflow: hidden;
}

.hero-art-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 11.11% 11.11%;
  mask-image: radial-gradient(circle, #000 0 64%, transparent 82%);
}

.hero-art::before,
.hero-art::after {
  position: absolute;
  background: var(--ink);
  content: "";
  opacity: 0.25;
}

.hero-art::before {
  top: 50%;
  left: 8%;
  width: 84%;
  height: 1px;
}

.hero-art::after {
  top: 8%;
  left: 50%;
  width: 1px;
  height: 84%;
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(23, 35, 31, 0.34);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-one {
  width: 56%;
  height: 56%;
  animation: orbitSpin 14s linear infinite;
}

.orbit-two {
  width: 78%;
  height: 34%;
  animation: orbitSpinReverse 18s linear infinite;
}

.orbit span {
  position: absolute;
  top: 50%;
  left: -7px;
  width: 14px;
  height: 14px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--mint-bright);
}

.orbit-two span {
  top: -7px;
  left: 50%;
  background: var(--white);
}

.hero-equation {
  position: absolute;
  z-index: 2;
  top: 41%;
  left: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6vw, 6rem);
  font-style: italic;
  transform: translate(-50%, -50%);
}

.hero-curve {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-curve path {
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}

.hero-coordinate {
  position: absolute;
  z-index: 2;
  color: var(--ink-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.8rem;
  font-style: italic;
}

.coordinate-x { top: 52%; right: 9%; }
.coordinate-y { top: 9%; left: 52%; }

.hero-art-note {
  position: absolute;
  right: 14%;
  bottom: 13%;
  margin: 0;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-meta {
  display: flex;
  align-self: end;
  justify-content: space-between;
  grid-column: 1 / -1;
  margin-top: clamp(70px, 12vh, 160px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@keyframes orbitSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes orbitSpinReverse {
  from { transform: translate(-50%, -50%) rotate(25deg); }
  to { transform: translate(-50%, -50%) rotate(-335deg); }
}

.marquee {
  width: 100%;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 32px;
  padding-right: 32px;
  font-size: clamp(1rem, 2vw, 1.5rem);
  letter-spacing: -0.03em;
  animation: marquee 28s linear infinite;
}

.marquee-track i {
  color: var(--mint-bright);
  font-style: normal;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(110px, 13vw, 190px) var(--page-gutter);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.5fr);
  align-items: end;
  gap: clamp(30px, 8vw, 120px);
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.section-heading h2,
.about h2 {
  font-size: clamp(3.3rem, 6.3vw, 6.8rem);
  line-height: 0.91;
}

.section-heading > p:last-child,
.work-heading > p {
  max-width: 390px;
  margin: 0 0 2px;
  color: var(--ink-soft);
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
}

.service-list {
  display: grid;
  margin-top: clamp(56px, 8vw, 110px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  position: relative;
  display: flex;
  min-height: 520px;
  flex-direction: column;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid rgba(23, 35, 31, 0.12);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 400ms var(--ease), box-shadow 400ms ease;
}

.service-card:hover {
  box-shadow: 0 24px 60px rgba(23, 35, 31, 0.1);
  transform: translateY(-8px);
}

.service-card-mint { background: var(--mint); }
.service-card-blue { background: var(--blue); }
.service-card-peach { background: var(--peach); }

.service-number {
  color: var(--ink-soft);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.7rem;
}

.service-icon {
  display: grid;
  width: 98px;
  height: 98px;
  margin: 34px 0 42px;
  place-items: center;
  border: 1px solid rgba(23, 35, 31, 0.22);
  border-radius: 50%;
  transition: background-color 300ms ease, transform 500ms var(--ease);
}

.service-card:hover .service-icon {
  background: rgba(255, 255, 255, 0.42);
  transform: rotate(8deg) scale(1.04);
}

.service-icon svg {
  width: 48px;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.service-card h3 {
  margin: 0;
  font-size: clamp(1.65rem, 2.4vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.06;
}

.service-card > p {
  margin: 20px 0 30px;
  color: var(--ink-soft);
  font-size: 0.93rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.service-tags li {
  padding: 7px 10px;
  border: 1px solid rgba(23, 35, 31, 0.18);
  border-radius: 999px;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.61rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.work {
  max-width: none;
  background: #eef3ee;
  color: var(--ink);
}

.work > * {
  max-width: calc(var(--max-width) - (var(--page-gutter) * 2));
  margin-right: auto;
  margin-left: auto;
}

.work .eyebrow,
.work-heading > p {
  color: var(--ink-soft);
}

.work .eyebrow::before {
  background: var(--mint-bright);
}

.work h2 span {
  color: var(--ink-soft);
}

.work-heading {
  grid-template-columns: minmax(0, 1.4fr) minmax(250px, 0.45fr);
}

.work-heading > div .eyebrow {
  margin-bottom: 24px;
}

.project-filters {
  display: flex;
  gap: 8px;
  margin-top: clamp(45px, 6vw, 75px);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}

.project-filters::-webkit-scrollbar { display: none; }

.filter-button {
  flex: 0 0 auto;
  padding: 9px 14px;
  border: 1px solid rgba(23, 35, 31, 0.2);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 0.72rem;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}

.filter-button sup {
  margin-left: 4px;
  font-size: 0.56rem;
}

.filter-button:hover,
.filter-button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.project-grid {
  display: grid;
  margin-top: 30px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 46px) 16px;
}

.project-card {
  min-width: 0;
  grid-column: span 4;
}

.project-card.is-hidden {
  display: none;
}

.project-grid.is-filtered .project-card:not(.is-hidden) {
  grid-column: span 4;
}

.project-grid:not(.is-filtered) .project-card:nth-last-child(2) {
  grid-column: 3 / span 4;
}

.project-grid:not(.is-filtered) .project-card:last-child {
  grid-column: 7 / span 4;
}

.project-grid.is-filtered .project-card-web:not(.is-hidden) {
  grid-column: 5 / span 4;
}

.project-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.project-image-wrap {
  position: relative;
  display: grid;
  aspect-ratio: 1.2 / 1;
  place-items: center;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.project-card-web .project-image-wrap img {
  object-position: top center;
}

.project-tint-mint { background: var(--mint); }
.project-tint-blue { background: var(--blue); }
.project-tint-peach { background: var(--peach); }
.project-tint-yellow { background: var(--yellow); }

.project-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease), filter 500ms ease;
}

.project-image-contain img {
  width: 66%;
  height: 66%;
  border-radius: 10px;
  object-fit: contain;
  box-shadow: 0 18px 40px rgba(23, 35, 31, 0.1);
}

.project-open:hover .project-image-wrap img {
  filter: saturate(1.06);
  transform: scale(1.035);
}

.project-image-contain .project-open:hover img,
.project-open:hover .project-image-contain img {
  transform: scale(1.07) rotate(-1deg);
}

.project-arrow {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 47px;
  height: 47px;
  place-items: center;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font-size: 1.1rem;
  opacity: 0;
  transform: scale(0.72) rotate(-18deg);
  transition: opacity 250ms ease, transform 350ms var(--ease);
}

.project-open:hover .project-arrow,
.project-open:focus-visible .project-arrow {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.project-info {
  padding: 18px 3px 0;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  color: var(--ink-soft);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-info h2,
.project-info h3 {
  margin: 10px 0 7px;
  font-size: clamp(1.35rem, 2.05vw, 2rem);
  font-weight: 470;
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.project-info p {
  max-width: 620px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.work-archive-link {
  display: flex;
  justify-content: center;
  margin-top: clamp(44px, 6vw, 78px);
}

.static-page-main {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: clamp(125px, 14vw, 190px) var(--page-gutter) clamp(80px, 10vw, 150px);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 48px;
  padding: 0;
  color: var(--ink-soft);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  list-style: none;
  text-transform: uppercase;
}

.breadcrumb li:not(:last-child)::after {
  margin-left: 8px;
  content: "/";
  opacity: 0.5;
}

.breadcrumb a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.archive-hero,
.case-study-hero {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
  align-items: end;
}

.archive-hero .eyebrow,
.case-study-hero .eyebrow {
  grid-column: 1 / -1;
}

.archive-hero h1,
.case-study-hero h1,
.not-found-page h1 {
  margin: 18px 0 0;
  font-size: clamp(3.4rem, 8vw, 8.4rem);
  font-weight: 430;
  letter-spacing: -0.075em;
  line-height: 0.92;
}

.archive-hero h1,
.case-study-hero h1 {
  grid-column: 1 / span 8;
}

.archive-intro,
.case-study-lead {
  grid-column: 9 / -1;
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.45vw, 1.24rem);
}

.archive-projects {
  margin-top: clamp(70px, 9vw, 130px);
}

.case-study-media {
  position: relative;
  display: grid;
  margin-top: clamp(55px, 8vw, 110px);
  padding: clamp(16px, 2.5vw, 34px);
  place-items: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.case-study-media img {
  width: 100%;
  max-height: min(72vh, 850px);
  border-radius: calc(var(--radius-lg) - 14px);
  object-fit: cover;
}

.case-study-media.is-contained img {
  width: min(72%, 760px);
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.case-study-layout {
  display: grid;
  margin-top: clamp(65px, 9vw, 130px);
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: clamp(55px, 10vw, 150px);
  align-items: start;
}

.case-study-copy {
  display: grid;
  gap: 22px;
}

.case-study-copy h2,
.case-study-facts h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.2vw, 3.2rem);
  font-weight: 460;
  letter-spacing: -0.055em;
  line-height: 1;
}

.case-study-copy h2:not(:first-child) {
  margin-top: 38px;
}

.case-study-copy p {
  max-width: 780px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.3vw, 1.14rem);
  line-height: 1.75;
}

.case-study-facts {
  position: sticky;
  top: 120px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.case-study-facts dl {
  display: grid;
  margin: 30px 0;
}

.case-study-facts dl div {
  display: grid;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  grid-template-columns: 0.8fr 1.2fr;
  gap: 18px;
}

.case-study-facts dt {
  color: var(--ink-soft);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.case-study-facts dd {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
}

.case-study-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.case-study-actions .button {
  flex: 1 1 150px;
  gap: 14px;
  padding-right: 17px;
  padding-left: 17px;
}

.case-study-navigation {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(80px, 12vw, 170px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.not-found-page {
  min-height: calc(100svh - 210px);
}

.not-found-page p:not(.eyebrow) {
  max-width: 620px;
  margin: 38px 0 32px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.about {
  display: grid;
  grid-template-columns: minmax(270px, 0.6fr) minmax(0, 1.4fr);
  gap: clamp(50px, 9vw, 140px);
  align-items: start;
}

.about-portrait {
  position: sticky;
  top: 130px;
}

.portrait-frame {
  position: relative;
  max-width: 440px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--blue);
  transform: rotate(-1.5deg);
}

.portrait-frame::after {
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 74px;
  height: 74px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--mint-bright);
  content: "∑";
  display: grid;
  place-items: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  font-style: italic;
}

.portrait-frame img {
  width: 100%;
  aspect-ratio: 0.86 / 1;
  border-radius: calc(var(--radius-lg) - 10px);
  filter: saturate(0.82) contrast(1.02);
  object-fit: cover;
}

.about-portrait > p {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 30px 0 0 8px;
  color: var(--ink-soft);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.about-portrait > p span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #68a956;
  box-shadow: 0 0 0 5px rgba(104, 169, 86, 0.15);
}

.about-copy > .eyebrow {
  margin-bottom: 34px;
}

.about-body {
  display: grid;
  margin-top: clamp(45px, 7vw, 85px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.about-body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(0.97rem, 1.2vw, 1.1rem);
}

.about-body strong {
  color: var(--ink);
  font-weight: 650;
}

.about-stats {
  display: grid;
  max-width: 650px;
  margin: clamp(50px, 6vw, 80px) 0 0;
  padding: 30px 0 0;
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.about-stats div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-stats dt {
  font-size: clamp(2.3rem, 4vw, 4rem);
  font-weight: 450;
  letter-spacing: -0.07em;
  line-height: 1;
}

.about-stats dt sup {
  font-size: 0.4em;
  vertical-align: top;
}

.about-stats dd {
  margin: 0;
  color: var(--ink-soft);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.03em;
  line-height: 1.5;
  text-transform: uppercase;
}

.process {
  padding-top: 40px;
}

.process-heading {
  display: block;
}

.process-heading .eyebrow {
  margin-bottom: 28px;
}

.process-list {
  display: grid;
  margin: clamp(55px, 7vw, 90px) 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
}

.process-list li {
  min-height: 245px;
  padding: 26px clamp(18px, 2vw, 28px) 22px;
  border-right: 1px solid var(--line);
}

.process-list li:first-child { padding-left: 0; }
.process-list li:last-child { border-right: 0; }

.process-list span {
  color: var(--ink-soft);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.65rem;
}

.process-list h3 {
  margin: 72px 0 12px;
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.process-list p {
  max-width: 235px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.contact {
  position: relative;
  margin: 0 16px 16px;
  padding: clamp(100px, 13vw, 180px) var(--page-gutter);
  border-radius: var(--radius-lg);
  background: var(--mint);
  text-align: center;
  overflow: hidden;
}

.contact > *:not(.contact-shape) {
  position: relative;
  z-index: 2;
}

.contact .eyebrow {
  justify-content: center;
}

.contact h2 {
  font-size: clamp(3.5rem, 7.4vw, 8rem);
  line-height: 0.9;
}

.contact-intro {
  max-width: 520px;
  margin: 38px auto 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

.contact-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 32px;
}

.button-large {
  min-height: 60px;
  padding-right: 24px;
  padding-left: 24px;
}

.contact-phone {
  border-bottom: 1px solid currentColor;
  font-size: 0.85rem;
  font-weight: 600;
}

.contact-shape {
  position: absolute;
  border: 1px solid rgba(23, 35, 31, 0.18);
  border-radius: 50%;
}

.contact-shape-one {
  top: -180px;
  left: -120px;
  width: 420px;
  height: 420px;
}

.contact-shape-two {
  right: -100px;
  bottom: -250px;
  width: 560px;
  height: 560px;
  box-shadow:
    0 0 0 60px rgba(255, 255, 255, 0.12),
    0 0 0 120px rgba(255, 255, 255, 0.08);
}

.site-footer {
  display: grid;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 45px var(--page-gutter) 35px;
  grid-template-columns: 1fr auto;
  gap: 34px;
  align-items: end;
}

.footer-wordmark {
  justify-self: start;
}

.site-footer > p {
  margin: 0;
  color: var(--ink-soft);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  gap: 28px;
  font-size: 0.75rem;
}

.footer-links a {
  border-bottom: 1px solid var(--line);
}

.site-footer small {
  color: var(--ink-soft);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.6rem;
  justify-self: end;
}

.project-dialog {
  width: min(1120px, calc(100vw - 40px));
  max-height: min(820px, calc(100svh - 40px));
  padding: 0;
  border: 0;
  border-radius: var(--radius-md);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.26);
  overflow: hidden;
}

.project-dialog[open] {
  animation: dialogIn 380ms var(--ease) both;
}

.project-dialog::backdrop {
  background: rgba(10, 16, 14, 0.72);
  backdrop-filter: blur(6px);
}

@keyframes dialogIn {
  from { opacity: 0; transform: translateY(28px) scale(0.975); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.dialog-shell {
  display: grid;
  min-height: min(680px, calc(100svh - 40px));
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
}

.dialog-close {
  position: absolute;
  z-index: 5;
  top: 16px;
  right: 16px;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0 0 3px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  cursor: pointer;
  font-size: 1.55rem;
  line-height: 1;
  transition: transform 250ms var(--ease);
}

.dialog-close:hover { transform: rotate(90deg); }

.dialog-image {
  min-height: 100%;
  background: var(--blue);
  overflow: hidden;
}

.dialog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dialog-content {
  display: flex;
  padding: clamp(48px, 6vw, 80px) clamp(30px, 5vw, 66px);
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
}

.dialog-content h2 {
  margin: 0;
  font-size: clamp(2.5rem, 4.4vw, 4.7rem);
  font-weight: 460;
  letter-spacing: -0.07em;
  line-height: 0.95;
}

.dialog-lead {
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

.dialog-details {
  display: grid;
  margin: 36px 0;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.dialog-details div span {
  display: block;
  color: var(--ink-soft);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dialog-details div strong {
  display: block;
  margin-top: 4px;
  font-size: 0.84rem;
  font-weight: 600;
}

.dialog-link {
  align-self: flex-start;
}

.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal-delay-1 { transition-delay: 90ms; }
.js .reveal-delay-2 { transition-delay: 180ms; }
.js .reveal-delay-3 { transition-delay: 270ms; }

@media (max-width: 1100px) {
  .hero {
    min-height: auto;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.8fr);
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .service-card {
    display: grid;
    min-height: 0;
    grid-template-columns: 60px 130px minmax(0, 0.8fr) minmax(280px, 1fr);
    align-items: center;
    gap: 20px;
  }

  .service-icon { margin: 0; }
  .service-card > p { margin: 0; }
  .service-tags { margin: 0; }

  .project-card,
  .project-grid.is-filtered .project-card:not(.is-hidden),
  .project-grid:not(.is-filtered) .project-card:nth-last-child(2),
  .project-grid:not(.is-filtered) .project-card:last-child {
    grid-column: span 6;
  }

  .project-grid.is-filtered .project-card-web:not(.is-hidden) {
    grid-column: 4 / span 6;
  }
}

@media (max-width: 820px) {
  :root {
    --radius-lg: 28px;
  }

  .site-header {
    padding-top: 15px;
    padding-bottom: 15px;
  }

  .menu-toggle { display: inline-flex; }

  .site-nav {
    position: fixed;
    z-index: 101;
    inset: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 15px;
    padding: 110px var(--page-gutter) 50px;
    background: var(--mint);
    clip-path: circle(0 at calc(100% - 45px) 35px);
    pointer-events: none;
    transition: clip-path 600ms var(--ease);
  }

  .site-nav.is-open {
    clip-path: circle(150% at calc(100% - 45px) 35px);
    pointer-events: auto;
  }

  .site-nav > a {
    font-size: clamp(2.4rem, 12vw, 5rem);
    font-weight: 480;
    letter-spacing: -0.06em;
    line-height: 1.04;
  }

  .site-nav > .nav-cta {
    margin-top: 18px;
    padding: 14px 20px;
    color: var(--paper);
    font-size: 1rem;
    letter-spacing: -0.02em;
  }

  .hero {
    display: flex;
    min-height: auto;
    padding-top: 135px;
    flex-direction: column;
  }

  .hero-copy {
    width: 100%;
    align-self: stretch;
  }

  .hero h1 {
    font-size: clamp(3.25rem, 14vw, 7.2rem);
  }

  .hero-intro { margin-top: 32px; }

  .hero-art {
    width: min(88vw, 520px);
    margin-top: 60px;
    align-self: center;
  }

  .hero-meta {
    width: 100%;
    margin-top: 65px;
  }

  .section-heading,
  .work-heading {
    display: block;
  }

  .section-heading .eyebrow,
  .work-heading .eyebrow {
    margin-bottom: 26px;
  }

  .section-heading > p:last-child,
  .work-heading > p {
    margin-top: 30px;
  }

  .service-card {
    display: flex;
    min-height: 480px;
    align-items: stretch;
  }

  .service-icon { margin: 30px 0 36px; }
  .service-card > p { margin: 18px 0 28px; }
  .service-tags { margin-top: auto; }

  .project-card,
  .project-grid.is-filtered .project-card:not(.is-hidden),
  .project-grid:not(.is-filtered) .project-card:nth-last-child(2),
  .project-grid:not(.is-filtered) .project-card:last-child,
  .project-grid.is-filtered .project-card-web:not(.is-hidden) {
    grid-column: 1 / -1;
  }

  .project-image-wrap {
    aspect-ratio: 1.22 / 1;
  }

  .about {
    grid-template-columns: 1fr;
  }

  .about-portrait {
    position: static;
    order: 2;
  }

  .portrait-frame {
    max-width: 520px;
  }

  .about-body {
    gap: 20px;
  }

  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-list li {
    border-bottom: 1px solid var(--line);
  }

  .process-list li:nth-child(2) { border-right: 0; }

  .dialog-shell {
    display: block;
    min-height: 0;
  }

  .dialog-image {
    height: min(38vh, 310px);
    min-height: 0;
  }

  .dialog-content {
    display: block;
  }
}

@media (max-width: 820px) {
  .archive-hero h1,
  .case-study-hero h1,
  .archive-intro,
  .case-study-lead {
    grid-column: 1 / -1;
  }

  .archive-intro,
  .case-study-lead {
    max-width: 650px;
    margin-top: 22px;
  }

  .case-study-layout {
    grid-template-columns: 1fr;
  }

  .case-study-facts {
    position: static;
  }
}

@media (max-width: 560px) {
  .hero h1,
  .section-heading h2,
  .about h2,
  .contact h2 {
    letter-spacing: -0.07em;
  }

  .hero-actions,
  .contact-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-art { width: 100%; }

  .hero-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .project-filters {
    margin-right: calc(var(--page-gutter) * -1);
    padding-right: var(--page-gutter);
  }

  .project-arrow {
    width: 42px;
    height: 42px;
    opacity: 1;
    transform: none;
  }

  .about-body {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .about-stats div {
    display: grid;
    grid-template-columns: 100px 1fr;
    align-items: center;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .process-list li,
  .process-list li:nth-child(2) {
    min-height: 0;
    padding: 24px 0 28px;
    border-right: 0;
  }

  .process-list h3 { margin-top: 38px; }

  .contact {
    margin: 0 8px 8px;
  }

  .contact-actions {
    align-items: center;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .site-footer small { justify-self: start; }

  .footer-links {
    flex-wrap: wrap;
  }

  .project-dialog {
    width: calc(100vw - 16px);
    max-height: calc(100svh - 16px);
    border-radius: 20px;
  }

  .dialog-image { height: 31vh; }

  .dialog-content { padding: 36px 24px 42px; }

  .dialog-details { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .static-page-main {
    padding-top: 115px;
  }

  .breadcrumb ol {
    margin-bottom: 34px;
  }

  .archive-hero h1,
  .case-study-hero h1,
  .not-found-page h1 {
    font-size: clamp(3.1rem, 16vw, 5rem);
  }

  .case-study-media {
    padding: 10px;
    border-radius: var(--radius-md);
  }

  .case-study-media img {
    border-radius: calc(var(--radius-md) - 7px);
  }

  .case-study-media.is-contained img {
    width: 88%;
  }

  .case-study-facts {
    padding: 22px;
  }

  .case-study-navigation {
    align-items: flex-start;
    flex-direction: column;
  }
}

.contact-dialog {
  width: min(780px, calc(100vw - 40px));
  max-height: calc(100svh - 40px);
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.28);
  overflow: auto;
}

.contact-dialog[open] {
  animation: dialogIn 380ms var(--ease) both;
}

.contact-dialog::backdrop {
  background: rgba(10, 16, 14, 0.72);
  backdrop-filter: blur(6px);
}

.contact-dialog-shell {
  position: relative;
  padding: clamp(38px, 6vw, 72px);
}

.contact-dialog .eyebrow {
  margin-bottom: 22px;
}

.contact-dialog h2 {
  max-width: 630px;
  margin: 0;
  font-size: clamp(3.1rem, 7vw, 6.4rem);
  font-weight: 470;
  letter-spacing: -0.075em;
  line-height: 0.9;
}

.contact-dialog h2 span {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
}

.contact-dialog-intro {
  max-width: 520px;
  margin: 26px 0 0;
  color: var(--ink-soft);
}

.contact-form {
  display: grid;
  margin-top: 38px;
  gap: 22px;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-field {
  display: grid;
  gap: 8px;
}

.contact-field > span {
  color: var(--ink-soft);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.64rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.contact-field input {
  min-height: 54px;
  padding: 13px 15px;
}

.contact-field textarea {
  min-height: 155px;
  padding: 14px 15px;
  line-height: 1.55;
  resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(23, 35, 31, 0.08);
}

.contact-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form-note {
  margin: -3px 0 0;
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.contact-form-actions {
  display: flex;
  min-height: 54px;
  align-items: center;
  gap: 20px;
}

.contact-submit {
  flex: 0 0 auto;
  border: 0;
  cursor: pointer;
}

.contact-submit:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.contact-form-status {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.8rem;
  line-height: 1.45;
}

.contact-form-status.is-success { color: #17663a; }
.contact-form-status.is-error { color: #9e3329; }

@media (max-width: 560px) {
  .contact-dialog {
    width: calc(100vw - 16px);
    max-height: calc(100svh - 16px);
    border-radius: 20px;
  }

  .contact-dialog-shell {
    padding: 40px 20px 28px;
  }

  .contact-dialog h2 {
    padding-right: 28px;
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
