:root {
  --ink: #141413;
  --paper: #faf9f5;
  --surface: #f3f1e9;
  --surface-strong: #ece9df;
  --line: #dedbd0;
  --muted: #68665f;
  --soft: #8c8980;
  --accent: #b4533b;
  --accent-dark: #99442f;
  --success: #57704c;
  --warning: #9b6b29;
  --error: #9b463f;
  --header-height: 72px;
  --page-width: 1200px;
  --page-pad: clamp(24px, 4vw, 48px);
  --section-space: clamp(88px, 11vw, 144px);
  --radius: 10px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --sans: "Manrope", system-ui, sans-serif;
  --serif: "Newsreader", Georgia, serif;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body,
button,
input,
textarea,
select {
  font-family: var(--sans);
}

::selection {
  background: #e8c2b6;
  color: var(--ink);
}

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

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

h1,
h2,
h3,
p {
  margin: 0;
}

:focus-visible {
  outline: 3px solid rgba(180, 83, 59, 0.42);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  min-height: 44px;
  transform: translateY(-160%);
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  font-weight: 600;
  transition: transform 180ms var(--ease);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: calc(var(--header-height) + var(--safe-top));
  padding-top: var(--safe-top);
  border-bottom: 1px solid transparent;
  background: var(--paper);
  transition: border-color 180ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.site-header__inner {
  width: min(100%, calc(var(--page-width) + var(--page-pad) * 2));
  height: var(--header-height);
  margin: 0 auto;
  padding-right: max(var(--page-pad), var(--safe-right));
  padding-left: max(var(--page-pad), var(--safe-left));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}

.brand {
  justify-self: start;
  min-height: 44px;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}

.brand__name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.brand__role {
  color: var(--soft);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.primary-nav a,
.header-email {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  transition:
    color 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

.primary-nav a {
  padding: 0 12px;
  color: var(--muted);
}

.primary-nav a:hover {
  color: var(--ink);
  background: var(--surface);
}

.header-email {
  justify-self: end;
  padding: 0 16px;
  border: 1px solid var(--line);
}

.header-email:hover {
  border-color: var(--ink);
}

.hero {
  min-height: calc(100svh - var(--header-height));
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.hero__inner {
  width: min(100%, calc(var(--page-width) + var(--page-pad) * 2));
  margin: 0 auto;
  padding: clamp(80px, 10vw, 128px) max(var(--page-pad), var(--safe-right))
    clamp(96px, 12vw, 152px) max(var(--page-pad), var(--safe-left));
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(280px, 4fr);
  align-items: end;
  gap: clamp(56px, 8vw, 112px);
}

.eyebrow {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 13ch;
  margin-top: 24px;
  font-family: var(--serif);
  font-size: clamp(56px, 7.1vw, 92px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-wrap: balance;
}

.hero__lede {
  max-width: 62ch;
  margin-top: 32px;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.65;
}

.hero__actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    transform 160ms var(--ease);
}

.button--primary {
  background: var(--accent);
  color: #fffaf7;
}

.button--primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 5px;
}

.text-link:hover {
  color: var(--ink);
  text-decoration-color: var(--ink);
}

.hero__proof {
  padding-bottom: 4px;
}

.hero__proof-item {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.hero__proof-item:last-child {
  border-bottom: 1px solid var(--line);
}

.hero__proof-label {
  display: block;
  margin-bottom: 8px;
  color: var(--soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__proof p {
  max-width: 32ch;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.4;
}

.section {
  width: min(100%, calc(var(--page-width) + var(--page-pad) * 2));
  margin: 0 auto;
  padding: var(--section-space) max(var(--page-pad), var(--safe-right));
  padding-left: max(var(--page-pad), var(--safe-left));
}

.section-heading {
  margin-bottom: clamp(48px, 7vw, 80px);
  display: grid;
  grid-template-columns: 56px minmax(0, 7fr) minmax(260px, 4fr);
  align-items: end;
  gap: 24px;
}

.section-heading--compact {
  grid-template-columns: 56px minmax(0, 8fr) minmax(0, 3fr);
}

.section-heading__index {
  align-self: start;
  color: var(--soft);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.section-heading h2,
.about h2 {
  max-width: 15ch;
  margin-top: 16px;
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.04;
  text-wrap: balance;
}

.section-heading__copy {
  max-width: 45ch;
  color: var(--muted);
  font-size: 15px;
}

.flagship-project {
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: minmax(300px, 4fr) minmax(0, 8fr);
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
}

.flagship-project__body {
  min-width: 0;
  padding: clamp(32px, 4.5vw, 56px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}

.flagship-project__meta {
  margin-bottom: 16px;
  color: #e3a795;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.flagship-project h3 {
  font-family: var(--serif);
  font-size: clamp(56px, 6vw, 80px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.flagship-project__body > div > p:last-child {
  margin-top: 24px;
  color: #bfbbb1;
  font-size: 15px;
  line-height: 1.65;
}

.flagship-project__capabilities {
  margin: auto 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.flagship-project__capabilities li {
  padding: 6px 10px;
  border: 1px solid #44413d;
  border-radius: 999px;
  color: #bfbbb1;
  font-size: 11px;
  font-weight: 600;
}

.flagship-project .button {
  gap: 8px;
}

.flagship-project__preview {
  border-left: 1px solid #343431;
}

.flagship-project .project-preview__bar {
  border-bottom-color: #343431;
  background: #1d1d1b;
  color: #a8a49b;
}

.flagship-project .project-preview__viewport {
  aspect-ratio: 16 / 10;
  background: #0d0d0c;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}

.project-card {
  grid-column: span 6;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fdfcf8;
}

.project-card--wide {
  grid-column: span 12;
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(280px, 4fr);
}

.project-preview {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: var(--surface-strong);
}

.project-preview__bar {
  height: 32px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  color: var(--soft);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.015em;
  line-height: 1;
}

.project-preview__bar::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex: 0 0 auto;
}

.project-preview__bar span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-preview__viewport {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-strong);
}

.project-preview__viewport::before {
  content: "Loading preview";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--soft);
  font-size: 12px;
}

.project-preview iframe {
  position: relative;
  z-index: 1;
  width: 200%;
  max-width: none;
  height: 200%;
  border: 0;
  background: #fff;
  pointer-events: none;
  transform: scale(0.5);
  transform-origin: top left;
}

.project-preview__viewport > img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-preview__link {
  position: absolute;
  z-index: 2;
  inset: 32px 0 0;
}

.project-preview__link:focus-visible {
  outline-offset: -5px;
}

.project-card__body {
  min-height: 248px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  border-top: 1px solid var(--line);
}

.project-card--wide .project-card__body {
  min-height: 100%;
  justify-content: space-between;
  border-top: 0;
  border-left: 1px solid var(--line);
}

.project-card__meta {
  margin-bottom: 10px;
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.project-card h3 {
  font-family: var(--serif);
  font-size: clamp(26px, 2.5vw, 36px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.project-card__body > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.project-card__body > a {
  min-height: 44px;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 5px;
}

.project-card__body > a:hover {
  text-decoration-color: currentColor;
}

.work__note {
  max-width: 72ch;
  margin: 24px 0 0 auto;
  color: var(--soft);
  font-size: 12px;
  text-align: right;
}

.work__note a {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.work-paths {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.work-paths > a {
  min-width: 0;
  min-height: 248px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-left: 1px solid var(--line);
  transition: background-color 180ms ease;
}

.work-paths > a:first-child {
  border-left: 0;
}

.work-paths > a:hover {
  background: var(--surface);
}

.work-paths > a > span,
.showcase-card__meta p,
.showcase-card__meta span,
.showcase-card__try > span,
.problem-index__grid > a > span,
.business-preview-grid article > div > p {
  color: var(--accent-dark);
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.work-paths strong {
  margin-top: 24px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.work-paths p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.work-paths em,
.problem-index__grid em {
  min-height: 44px;
  margin-top: auto;
  padding-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-dark);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.featured-work,
.problem-index,
.business-previews {
  margin-top: clamp(80px, 10vw, 120px);
}

.featured-work__heading,
.problem-index__heading,
.business-previews__heading {
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(280px, 4fr);
  align-items: end;
  gap: 48px;
}

.featured-work__heading h3,
.problem-index__heading h3,
.business-previews__heading h3,
.archive-cta h3 {
  max-width: 18ch;
  margin: 12px 0 0;
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.04;
  text-wrap: balance;
}

.featured-work__heading > p,
.problem-index__heading > p,
.business-previews__heading > p {
  color: var(--muted);
  font-size: 15px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.showcase-card {
  grid-column: span 4;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fdfcf8;
}

.showcase-card--medium {
  grid-column: span 6;
}

.showcase-card--flagship {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(320px, 5fr);
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.showcase-card__preview {
  display: block;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--surface-strong);
}

.showcase-card--flagship .showcase-card__preview {
  border-right: 1px solid #3b3935;
  border-bottom: 0;
  background: #0d0d0c;
}

.showcase-card__preview img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 200ms var(--ease);
}

.showcase-card__preview:hover img {
  transform: scale(1.012);
}

.showcase-card--flagship .showcase-card__preview img {
  height: 100%;
  min-height: 520px;
}

.showcase-card__body {
  min-height: 360px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.showcase-card--flagship .showcase-card__body {
  min-height: 100%;
  padding: clamp(32px, 4vw, 56px);
}

.showcase-card__meta {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.showcase-card__meta span {
  color: var(--soft);
  white-space: nowrap;
}

.showcase-card--flagship .showcase-card__meta p {
  color: #e3a795;
}

.showcase-card--flagship .showcase-card__meta span {
  color: #a8a49b;
}

.showcase-card h4 {
  margin: 20px 0 0;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}

.showcase-card--medium h4 {
  font-size: 42px;
}

.showcase-card--flagship h4 {
  font-size: clamp(52px, 6vw, 72px);
  font-weight: 400;
}

.showcase-card__body > p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.showcase-card--flagship .showcase-card__body > p {
  color: #bfbbb1;
}

.showcase-card__try {
  width: 100%;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.showcase-card--flagship .showcase-card__try {
  border-top-color: #3b3935;
}

.showcase-card__try > span {
  color: var(--soft);
}

.showcase-card__try p {
  margin-top: 6px;
  font-size: 13px;
}

.showcase-card--flagship .showcase-card__try p {
  color: #bfbbb1;
}

.showcase-card__action {
  min-height: 44px;
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 5px;
}

.showcase-card--flagship .showcase-card__action {
  color: #e3a795;
}

.showcase-card__action:hover {
  text-decoration-color: currentColor;
}

.problem-index {
  padding: clamp(56px, 7vw, 80px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.problem-index__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.problem-index__grid > a {
  min-width: 0;
  min-height: 284px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-left: 1px solid var(--line);
  transition: background-color 180ms ease;
}

.problem-index__grid > a:first-child {
  border-left: 0;
}

.problem-index__grid > a:hover {
  background: var(--surface);
}

.problem-index__grid strong {
  margin-top: 16px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.problem-index__grid p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.business-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.business-preview-grid article {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fdfcf8;
}

.business-preview__image {
  display: block;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.business-preview__image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 200ms var(--ease);
}

.business-preview__image:hover img {
  transform: scale(1.012);
}

.business-preview-grid article > div {
  min-height: 232px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.business-preview-grid h4 {
  margin: 12px 0 0;
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.business-preview-grid article > div > span {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

.business-preview-grid article > div > a {
  min-height: 44px;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 5px;
}

.business-preview-grid article > div > a:hover {
  text-decoration-color: currentColor;
}

.archive-cta {
  margin-top: clamp(72px, 9vw, 112px);
  padding: clamp(32px, 5vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 8fr) auto;
  align-items: end;
  gap: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.archive-cta h3 {
  max-width: 23ch;
  font-size: clamp(32px, 4vw, 48px);
}

.archive-cta > div > p:last-child {
  max-width: 62ch;
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
}

.archive-cta .button {
  white-space: nowrap;
}

.concepts {
  margin-top: clamp(72px, 10vw, 120px);
  padding-top: clamp(48px, 7vw, 80px);
  border-top: 1px solid var(--line);
}

.concepts__heading {
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(280px, 4fr);
  align-items: end;
  gap: 48px;
}

.concepts__heading h3 {
  max-width: 17ch;
  margin-top: 14px;
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.concepts__heading > p {
  max-width: 50ch;
  color: var(--muted);
  font-size: 15px;
}

.problem-work {
  padding: clamp(48px, 7vw, 80px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.problem-work__heading {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(260px, 4fr);
  gap: 16px 48px;
  align-items: end;
  margin-bottom: 32px;
}

.problem-work__heading .eyebrow {
  grid-column: 1 / -1;
}

.problem-work__heading h4,
.demo-archive__heading h4 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.problem-work__heading > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.problem-work__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.problem-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fdfcf8;
}

.problem-card--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(300px, 5fr);
}

.problem-card__image {
  display: block;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.problem-card--wide .problem-card__image {
  border-right: 1px solid var(--line);
  border-bottom: 0;
}

.problem-card__image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 200ms var(--ease);
}

.problem-card__image:hover img {
  transform: scale(1.012);
}

.problem-card__body {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
}

.problem-card--wide .problem-card__body {
  min-height: 100%;
}

.problem-card__body > p:first-child {
  color: var(--accent-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.problem-card h5 {
  margin: 10px 0 16px;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.problem-card__body > p:nth-of-type(2) {
  color: var(--muted);
  font-size: 13px;
}

.problem-card__body > div {
  width: 100%;
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
}

.problem-card__body a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.demo-archive {
  margin-top: clamp(72px, 10vw, 120px);
}

.demo-archive__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
}

.demo-archive__heading .eyebrow {
  margin-bottom: 10px;
}

.demo-archive__heading > p {
  flex: 0 0 auto;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.demo-archive__controls {
  position: sticky;
  top: calc(var(--header-height) - 1px);
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 24px;
  align-items: end;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(250, 249, 245, 0.97);
}

.demo-filters {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.demo-filters button {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.demo-filters button:hover {
  color: var(--ink);
  background: var(--surface);
}

.demo-filters button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.demo-search {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.demo-search input {
  width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fdfcf8;
  color: var(--ink);
  font-size: 14px;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-top: 24px;
}

.archive-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fdfcf8;
  color: inherit;
  text-decoration: none;
  transition:
    border-color 180ms ease,
    transform 180ms var(--ease);
}

.archive-card:hover {
  border-color: #9f9b91;
  transform: translateY(-2px);
}

.archive-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: block;
  border-bottom: 1px solid var(--line);
  object-fit: cover;
}

.archive-card__copy {
  min-height: 176px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
}

.archive-card__copy small {
  color: var(--accent-dark);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.archive-card__copy strong {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.archive-card__copy > span {
  margin-top: auto;
  padding-top: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.demo-empty {
  margin: 24px 0 0;
  padding: 48px 24px;
  border: 1px dashed var(--line);
  text-align: center;
}

.demo-empty h5 {
  margin: 0;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
}

.demo-empty p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.concept-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.concept-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fdfcf8;
  color: inherit;
  text-decoration: none;
  transition:
    border-color 180ms ease,
    transform 180ms var(--ease);
}

.concept-card:hover {
  border-color: #9f9b91;
  transform: translateY(-2px);
}

.concept-card:focus-visible {
  outline-offset: 4px;
}

.concept-card > img {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: block;
  border-bottom: 1px solid var(--line);
  object-fit: cover;
}

.concept-card__copy {
  min-height: 196px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.concept-card__copy small {
  color: var(--accent-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.concept-card__copy strong {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.concept-card__copy > span {
  margin-top: auto;
  padding-top: 24px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.concepts__index-link {
  min-height: 48px;
  width: max-content;
  margin: 24px 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
}

.seo-method {
  border-top: 1px solid var(--line);
}

.seo-method__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.seo-method__grid > article {
  min-width: 0;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(32px, 4vw, 48px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fdfcf8;
}

.seo-method__grid > article:last-child {
  background: var(--surface);
}

.seo-method__number {
  color: var(--accent-dark);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.seo-method h3 {
  max-width: 14ch;
  margin-top: 32px;
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.seo-method article > p:nth-of-type(2) {
  max-width: 54ch;
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
}

.seo-method article > a,
.seo-method__links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.seo-method article > a {
  margin-top: auto;
}

.seo-formulas {
  width: 100%;
  margin-top: 32px;
  border-top: 1px solid var(--line);
}

.seo-formulas p {
  min-height: 68px;
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.seo-formulas span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.seo-formulas code {
  overflow-wrap: anywhere;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.seo-method__links {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.approach {
  border-top: 1px solid var(--line);
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.process-list li {
  min-height: 136px;
  padding: 32px 0;
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.process-list__number {
  color: var(--soft);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.process-list li > div {
  display: grid;
  grid-template-columns: minmax(220px, 4fr) minmax(280px, 5fr);
  gap: clamp(32px, 8vw, 112px);
}

.process-list h3 {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.process-list p {
  max-width: 48ch;
  color: var(--muted);
  font-size: 15px;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(300px, 5fr);
  gap: clamp(64px, 10vw, 144px);
  border-top: 1px solid var(--line);
}

.about__lead {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 24px;
}

.about__copy {
  padding-top: 32px;
}

.about__copy > p {
  color: var(--muted);
  font-size: 16px;
}

.about__copy > p + p {
  margin-top: 24px;
}

.about__links {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.about__links a {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
}

.contact {
  margin: 0;
  padding: var(--section-space) max(var(--page-pad), var(--safe-right))
    calc(var(--section-space) + var(--safe-bottom))
    max(var(--page-pad), var(--safe-left));
  background: var(--ink);
  color: var(--paper);
}

.contact__inner {
  width: min(100%, var(--page-width));
  margin: 0 auto;
}

.contact .eyebrow {
  color: #e3a795;
}

.contact h2 {
  max-width: 13ch;
  margin-top: 16px;
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1;
}

.contact p:not(.eyebrow) {
  max-width: 54ch;
  margin-top: 24px;
  color: #bfbbb1;
  font-size: 17px;
}

.contact__actions {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 16px 24px;
}

.contact__actions .button {
  margin: 0;
}

.contact__call {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  color: #f2efe7;
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: #706d67;
  text-underline-offset: 6px;
}

.site-footer {
  padding: 32px max(var(--page-pad), var(--safe-right))
    calc(32px + var(--safe-bottom)) max(var(--page-pad), var(--safe-left));
  border-top: 1px solid #343431;
  background: var(--ink);
  color: #9c9991;
}

.site-footer__inner {
  width: min(100%, var(--page-width));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 12px;
}

.site-footer__inner > div {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.site-footer a {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-footer a:hover {
  color: var(--paper);
}

@media (max-width: 1000px) {
  .hero__inner {
    grid-template-columns: minmax(0, 7fr) minmax(240px, 3fr);
    gap: 56px;
  }

  .section-heading {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .section-heading__copy {
    grid-column: 2;
    margin-top: 8px;
  }

  .project-card--wide {
    grid-template-columns: minmax(0, 7fr) minmax(260px, 5fr);
  }

  .project-card__body {
    padding: 24px;
  }

  .process-list li > div {
    gap: 48px;
  }

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

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

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

  .work-paths > a:nth-child(3) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .work-paths > a:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .showcase-card {
    grid-column: span 6;
  }

  .showcase-card--flagship {
    grid-column: 1 / -1;
  }

  .problem-index__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    border: 0;
  }

  .problem-index__grid > a,
  .problem-index__grid > a:first-child {
    border: 1px solid var(--line);
  }

  .problem-index__grid > a:last-child {
    grid-column: 1 / -1;
  }

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

@media (max-width: 820px) {
  :root {
    --header-height: 64px;
  }

  .site-header__inner {
    grid-template-columns: 1fr auto;
    gap: 16px;
  }

  .primary-nav {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero__inner {
    padding-top: 88px;
    padding-bottom: 96px;
    grid-template-columns: 1fr;
    gap: 64px;
  }

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

  .hero__proof-item:last-child {
    border-bottom: 0;
  }

  .project-card,
  .project-card--wide {
    grid-column: span 12;
    display: block;
  }

  .flagship-project {
    display: block;
  }

  .flagship-project__preview {
    border-top: 1px solid #343431;
    border-left: 0;
  }

  .project-card--wide .project-card__body {
    min-height: 248px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .concepts__heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .featured-work__heading,
  .problem-index__heading,
  .business-previews__heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .showcase-card--flagship {
    display: block;
  }

  .showcase-card--flagship .showcase-card__preview {
    border-right: 0;
    border-bottom: 1px solid #3b3935;
  }

  .showcase-card--flagship .showcase-card__preview img {
    height: auto;
    min-height: 0;
  }

  .problem-work__heading {
    grid-template-columns: 1fr;
  }

  .problem-work__heading .eyebrow {
    grid-column: 1;
  }

  .problem-card--wide {
    display: block;
  }

  .problem-card--wide .problem-card__image {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .demo-archive__controls {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .seo-method__grid {
    grid-template-columns: 1fr;
  }

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

  .about__copy {
    padding: 0 0 0 64px;
  }
}

@media (max-width: 640px) {
  :root {
    --page-pad: 16px;
    --section-space: 80px;
  }

  .brand__role {
    display: none;
  }

  .header-email {
    padding: 0 13px;
  }

  .hero__inner {
    padding-top: 72px;
    padding-bottom: 80px;
  }

  .hero h1 {
    margin-top: 16px;
    font-size: clamp(46px, 14vw, 64px);
    line-height: 1;
  }

  .hero__lede {
    margin-top: 24px;
    font-size: 16px;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__actions .text-link {
    justify-content: center;
  }

  .hero__proof {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero__proof-item:last-child {
    border-bottom: 1px solid var(--line);
  }

  .section-heading,
  .section-heading--compact {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 16px;
  }

  .section-heading__copy {
    grid-column: 2;
  }

  .section-heading h2,
  .about h2 {
    font-size: 40px;
  }

  .project-grid {
    gap: 16px;
  }

  .project-card__body,
  .project-card--wide .project-card__body {
    min-height: 224px;
    padding: 24px;
  }

  .project-card h3 {
    font-size: 29px;
  }

  .work__note {
    text-align: left;
  }

  .work-paths {
    grid-template-columns: 1fr;
  }

  .work-paths > a,
  .work-paths > a:nth-child(4) {
    min-height: 220px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .work-paths > a:first-child {
    border-top: 0;
  }

  .work-paths p,
  .showcase-card__body > p,
  .showcase-card__try p,
  .problem-index__grid p,
  .business-preview-grid article > div > span,
  .archive-cta > div > p:last-child {
    font-size: 16px;
  }

  .featured-work,
  .problem-index,
  .business-previews {
    margin-top: 80px;
  }

  .featured-work__heading h3,
  .problem-index__heading h3,
  .business-previews__heading h3 {
    font-size: 38px;
  }

  .showcase-card,
  .showcase-card--medium,
  .showcase-card--flagship {
    grid-column: 1 / -1;
  }

  .showcase-card__body,
  .showcase-card--flagship .showcase-card__body {
    min-height: 0;
    padding: 24px;
  }

  .showcase-card__meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .showcase-card h4,
  .showcase-card--medium h4 {
    font-size: 36px;
  }

  .showcase-card--flagship h4 {
    font-size: 52px;
  }

  .showcase-card__try {
    margin-top: 32px;
  }

  .problem-index__grid {
    grid-template-columns: 1fr;
  }

  .problem-index__grid > a,
  .problem-index__grid > a:last-child {
    grid-column: 1;
    min-height: 240px;
  }

  .business-preview-grid {
    grid-template-columns: 1fr;
  }

  .business-preview-grid article > div {
    min-height: 232px;
  }

  .archive-cta {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .archive-cta .button {
    width: 100%;
  }

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

  .concept-card__copy {
    min-height: 176px;
  }

  .problem-work__grid,
  .archive-grid {
    grid-template-columns: 1fr;
  }

  .problem-card--wide {
    grid-column: 1;
  }

  .problem-card__body {
    min-height: 240px;
    padding: 24px;
  }

  .demo-archive__heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .demo-archive__controls {
    position: static;
  }

  .archive-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .archive-card img {
    width: 112px;
    height: 100%;
    min-height: 128px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .archive-card__copy {
    min-height: 128px;
    padding: 16px;
  }

  .archive-card__copy strong {
    font-size: 22px;
  }

  .archive-card__copy > span {
    display: none;
  }

  .seo-method__grid > article {
    min-height: 400px;
    padding: 32px 24px;
  }

  .seo-formulas p {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .concepts__index-link {
    width: 100%;
    margin-left: 0;
  }

  .process-list li {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 16px;
  }

  .process-list li > div {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .process-list h3 {
    font-size: 28px;
  }

  .about__lead {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 16px;
  }

  .about__copy {
    padding-left: 48px;
  }

  .contact h2 {
    font-size: clamp(48px, 15vw, 64px);
  }

  .contact__actions {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .contact .button {
    width: 100%;
    padding-right: 12px;
    padding-left: 12px;
  }

  .contact__call {
    justify-content: center;
  }

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
