:root {
  --font-primary: "PP Neue Montreal", -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;

  --type-tracking-tight: -0.022em;
  --type-tracking-body-bd: 0.008em;
  --type-tracking-body: 0.01em;
  --type-tracking-flat: 0;

  --type-display-size: 96px;
  --type-display-line: 120px;
  --type-display-weight: 400;

  --type-heading-size: 64px;
  --type-heading-line: 80px;
  --type-heading-weight: 400;

  --type-subheading-size: 40px;
  --type-subheading-line: 64px;
  --type-subheading-weight: 400;

  --type-title-size: 24px;
  --type-title-line: 40px;
  --type-title-weight: 400;
  --type-title-bd-weight: 600;

  --type-body-lg-size: 20px;
  --type-body-lg-line: 28px;
  --type-body-lg-weight: 400;
  --type-body-lg-bd-weight: 600;

  --type-body-md-size: 16px;
  --type-body-md-line: 24px;
  --type-body-md-weight: 400;
  --type-body-md-bd-weight: 600;

  --type-caption-size: 12px;
  --type-caption-line: 16px;
  --type-caption-weight: 600;

  --color-neutral-0: #ffffff;
  --color-neutral-10: #fafdff;
  --color-neutral-20: #d9e1e5;
  --color-neutral-30: #b5bcbf;
  --color-neutral-40: #8e999e;
  --color-neutral-50: #737b80;
  --color-neutral-60: #576166;
  --color-neutral-70: #3d474d;
  --color-neutral-80: #262f33;
  --color-neutral-90: #010a0e;

  --color-brand-10: #fff3db;
  --color-brand-20: #ffe7b6;
  --color-brand-30: #ffd480;
  --color-brand-40: #ffc249;
  --color-brand-50: #ffa800;
  --color-brand-60: #c88600;
  --color-brand-70: #926100;
  --color-brand-80: #493100;
  --color-brand-90: #241800;

  --color-theme-symphony: #3399cc;
  --color-theme-leanplum: #2180f3;
  --color-theme-stripe: #635bff;
  --color-theme-greenlite: #27be31;
  --color-theme-tiktok: #fe2c55;

  --neutral-0: var(--color-neutral-0);
  --neutral-10: var(--color-neutral-10);
  --neutral-20: var(--color-neutral-20);
  --neutral-30: var(--color-neutral-30);
  --neutral-40: var(--color-neutral-40);
  --neutral-50: var(--color-neutral-50);
  --neutral-60: var(--color-neutral-60);
  --neutral-70: var(--color-neutral-70);
  --neutral-80: var(--color-neutral-80);
  --neutral-90: var(--color-neutral-90);
  --brand-50: var(--color-brand-50);
  --border-subtle-light: rgba(1, 10, 14, 0.08);
  --page-bg: var(--neutral-20);
  --text-primary: var(--neutral-90);
  --text-secondary: var(--neutral-70);
  --text-tertiary: var(--neutral-60);
  --line-subtle: var(--neutral-30);
  --interactive-hover-bg: var(--neutral-30);
  --interactive-hover-text: var(--neutral-90);
  --accent-text: var(--color-brand-70);
  --motion-duration-fast: 180ms;
  --motion-ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --page-width: 1080px;
  --page-gutter: 64px;
  --site-grid-line: rgba(1, 10, 14, 0.1);
  --site-grid-rail: calc((100% - var(--page-width)) / 2);
}

* {
  box-sizing: border-box;
}

html {
  overflow-y: scroll;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text-primary);
  font-family: var(--font-primary);
  min-height: 100vh;
  position: relative;
}

body:not(.system-page)::after {
  background:
    linear-gradient(
      to right,
      transparent max(0px, calc(var(--site-grid-rail) - 1px)),
      var(--site-grid-line) max(0px, calc(var(--site-grid-rail) - 1px)),
      var(--site-grid-line) max(0px, var(--site-grid-rail)),
      transparent max(0px, var(--site-grid-rail)),
      transparent min(100%, calc(var(--site-grid-rail) + var(--page-width))),
      var(--site-grid-line) min(100%, calc(var(--site-grid-rail) + var(--page-width))),
      var(--site-grid-line) min(100%, calc(var(--site-grid-rail) + var(--page-width) + 1px)),
      transparent min(100%, calc(var(--site-grid-rail) + var(--page-width) + 1px))
    ),
    linear-gradient(
      to bottom,
      transparent 47px,
      var(--site-grid-line) 47px,
      var(--site-grid-line) 48px,
      transparent 48px
    );
  content: "";
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: 30;
}

main {
  isolation: isolate;
  position: relative;
  z-index: 1;
}

.home-page {
  --page-bg: var(--neutral-0);
  --site-grid-line: rgba(1, 10, 14, 0.08);
}

.design-page {
  --page-bg: var(--neutral-0);
  overflow-y: hidden;
}

body,
button,
input,
textarea {
  font-synthesis-weight: none;
}

.system-page {
  background: var(--neutral-10);
  color: var(--neutral-90);
}

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

.type-display,
.type-heading,
.type-subheading,
.type-title-bd,
.type-title,
.type-body-lg-bd,
.type-body-lg,
.type-body-md-bd,
.type-body-md,
.type-caption {
  font-family: var(--font-primary);
  letter-spacing: var(--type-tracking-tight);
  margin: 0;
}

.type-display {
  font-size: var(--type-display-size);
  font-weight: var(--type-display-weight);
  line-height: var(--type-display-line);
}

.type-heading {
  font-size: var(--type-heading-size);
  font-weight: var(--type-heading-weight);
  line-height: var(--type-heading-line);
}

.type-subheading {
  font-size: var(--type-subheading-size);
  font-weight: var(--type-subheading-weight);
  line-height: var(--type-subheading-line);
}

.type-title-bd {
  font-size: var(--type-title-size);
  font-weight: var(--type-title-bd-weight);
  line-height: var(--type-title-line);
}

.type-title {
  font-size: var(--type-title-size);
  font-weight: var(--type-title-weight);
  letter-spacing: var(--type-tracking-flat);
  line-height: var(--type-title-line);
}

.type-body-lg-bd {
  font-size: var(--type-body-lg-size);
  font-weight: var(--type-body-lg-bd-weight);
  letter-spacing: var(--type-tracking-flat);
  line-height: var(--type-body-lg-line);
}

.type-body-lg {
  font-size: var(--type-body-lg-size);
  font-weight: var(--type-body-lg-weight);
  letter-spacing: var(--type-tracking-flat);
  line-height: var(--type-body-lg-line);
}

.type-body-md-bd {
  font-size: var(--type-body-md-size);
  font-weight: var(--type-body-md-bd-weight);
  letter-spacing: var(--type-tracking-body-bd);
  line-height: var(--type-body-md-line);
}

.type-body-md {
  font-size: var(--type-body-md-size);
  font-weight: var(--type-body-md-weight);
  letter-spacing: var(--type-tracking-body);
  line-height: var(--type-body-md-line);
}

.type-caption {
  font-size: var(--type-caption-size);
  font-weight: var(--type-caption-weight);
  line-height: var(--type-caption-line);
}

.type-caption-emphasis {
  letter-spacing: var(--type-tracking-flat);
}

.type-home-display {
  font-family: var(--font-primary);
  font-size: clamp(96px, 18.9vw, 272px);
  font-weight: var(--type-display-weight);
  letter-spacing: var(--type-tracking-tight);
  line-height: 1.25;
  margin: 0;
}

.brand-dot {
  color: var(--brand-50);
}

.site-header {
  align-items: center;
  background: transparent;
  display: flex;
  height: 48px;
  inset: 0 0 auto;
  justify-content: center;
  pointer-events: none;
  position: fixed;
  transition: background var(--motion-duration-fast) var(--motion-ease-standard);
  z-index: 20;
}

body.is-scrolled .site-header {
  backdrop-filter: blur(16px);
  background: rgba(217, 225, 229, 0.2);
  -webkit-backdrop-filter: blur(16px);
}

.brand {
  font-size: var(--type-body-md-size);
  font-weight: var(--type-body-md-weight);
  left: max(24px, calc(var(--site-grid-rail) + 24px));
  letter-spacing: var(--type-tracking-body);
  line-height: var(--type-body-md-line);
  opacity: 0;
  pointer-events: auto;
  position: absolute;
  top: 12px;
  transition: opacity var(--motion-duration-fast) var(--motion-ease-standard);
}

body.is-past-home .brand,
body.is-interior-page .brand {
  opacity: 1;
}

.nav-links {
  display: flex;
  gap: 8px;
  pointer-events: auto;
}

.nav-links a {
  border-bottom: 1px solid transparent;
  display: flex;
  height: 48px;
  align-items: center;
  font-size: var(--type-body-md-size);
  font-weight: var(--type-body-md-weight);
  letter-spacing: var(--type-tracking-body);
  line-height: var(--type-body-md-line);
  padding: 0 16px;
  transition:
    border-color var(--motion-duration-fast) var(--motion-ease-standard),
    color var(--motion-duration-fast) var(--motion-ease-standard);
}

.nav-links a:focus-visible,
.nav-links a:hover {
  color: var(--neutral-30);
  outline: none;
}

.nav-links a[aria-current="page"] {
  border-color: var(--brand-50);
}

.home-screen {
  align-items: center;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.74) 0%,
      rgba(255, 255, 255, 0.4) 24%,
      rgba(255, 255, 255, 0) 58%,
      rgba(255, 168, 0, 0.22) 100%
    ),
    linear-gradient(
      105deg,
      #ffa800 0%,
      #ffb01a 16%,
      #ffd480 32%,
      #fff3db 44%,
      #fafdff 52%,
      #d8f0f9 64%,
      #a8d7ee 82%,
      #8ac9e8 100%
    ),
    linear-gradient(
      90deg,
      rgba(255, 168, 0, 0.58) 0%,
      rgba(255, 168, 0, 0.16) 32%,
      rgba(250, 253, 255, 0.76) 53%,
      rgba(138, 201, 232, 0.48) 100%
    );
  display: flex;
  justify-content: center;
  min-height: 100vh;
  overflow: hidden;
  padding: 48px 24px 40px;
  position: relative;
}

.home-inner {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: var(--page-width);
  min-height: calc(100vh - 88px);
  position: relative;
  text-align: center;
  width: max-content;
  z-index: 1;
}

.home-title-block {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.home-intro {
  color: var(--neutral-90);
  margin: 0 0 40px;
}

.home-tagline {
  bottom: 0;
  color: var(--neutral-80);
  font-size: var(--type-title-size);
  left: 0;
  line-height: var(--type-title-line);
  margin: 0;
  max-width: min(680px, calc(100vw - 48px));
  position: absolute;
  white-space: normal;
}

.about-section {
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin: 0 auto;
  max-width: var(--page-width);
  padding: 144px 0 40px;
}

.hero-image {
  aspect-ratio: 1080 / 480;
  height: 480px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  border-radius: 8px;
  width: 100%;
}

.hero-image img {
  display: block;
  height: 720px;
  left: 50%;
  object-fit: cover;
  object-position: center 42%;
  position: absolute;
  top: calc(50% - 43px);
  transform: translate(-50%, -50%);
  width: 100%;
}

.hero-image h1 {
  bottom: 24px;
  color: var(--neutral-0);
  left: var(--page-gutter);
  position: absolute;
}

.summary {
  border-bottom: 1px solid var(--line-subtle);
  padding: 0 var(--page-gutter) 64px;
}

.summary-title,
.experience h3 {
  color: var(--text-primary);
  margin: 0;
}

.summary p {
  color: var(--text-secondary);
  margin: 16px 0 0;
}

.summary .summary-title {
  color: var(--text-primary);
  margin-top: 0;
}

.experience,
.resume-section {
  border-bottom: 1px solid var(--line-subtle);
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding: 0 var(--page-gutter) 64px;
}

.resume-section {
  gap: 42px;
}

.resume-section-final {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-section {
  align-items: center;
  border-top: 1px solid var(--line-subtle);
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 120px var(--page-gutter) 80px;
  text-align: center;
}

.contact-section h2 {
  max-width: 920px;
}

.contact-links {
  display: flex;
  gap: 16px;
}

.contact-button {
  align-items: center;
  border: 1px solid var(--text-secondary);
  border-radius: 999px;
  color: var(--text-primary);
  display: inline-flex;
  gap: 10px;
  justify-content: center;
  min-height: 48px;
  min-width: 136px;
  padding: 0 22px;
  transition:
    background var(--motion-duration-fast) var(--motion-ease-standard),
    border-color var(--motion-duration-fast) var(--motion-ease-standard),
    color var(--motion-duration-fast) var(--motion-ease-standard);
}

.contact-button svg {
  flex: 0 0 auto;
}

.contact-button:focus-visible,
.contact-button:hover {
  background: var(--interactive-hover-bg);
  border-color: var(--interactive-hover-bg);
  color: var(--interactive-hover-text);
  outline: none;
}

.experience > h2,
.resume-section > h2 {
  color: var(--text-tertiary);
  margin: 0;
}

.experience-item {
  display: grid;
  gap: 64px;
  grid-template-columns: 212px minmax(0, 1fr);
}

.experience-meta,
.experience-detail {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.experience-meta-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.experience p,
.resume-section p {
  color: var(--text-secondary);
  font-size: var(--type-body-md-size);
  font-weight: var(--type-body-md-weight);
  letter-spacing: var(--type-tracking-body);
  line-height: var(--type-body-md-line);
  margin: 0;
}

.experience .accent {
  color: var(--accent-text);
}

.placeholder-section {
  border-top: 1px solid var(--line-subtle);
  margin: 0 auto;
  max-width: var(--page-width);
  min-height: 320px;
  padding: 96px var(--page-gutter);
}

.placeholder-section :is(h1, h2) {
  color: var(--text-tertiary);
}

.design-carousel-section {
  display: flex;
  flex-direction: column;
  gap: 40px;
  height: calc(100vh - 48px);
  margin: 48px auto 0;
  max-width: var(--page-width);
  overflow: visible;
  padding: 40px 0;
}

.design-carousel-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0;
  width: 100%;
  position: relative;
}

.design-carousel-header::before {
  background: var(--brand-50);
  content: "";
  height: 40px;
  left: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
}

.design-carousel-header h1 {
  color: var(--text-primary);
  font-size: var(--type-subheading-size);
  line-height: var(--type-subheading-line);
  margin-left: 24px;
}

.carousel-controls {
  display: flex;
  gap: 8px;
}

.carousel-button {
  align-items: center;
  background: var(--neutral-0);
  border: 0;
  border-radius: 8px;
  color: var(--neutral-80);
  cursor: pointer;
  display: inline-flex;
  height: 36px;
  justify-content: center;
  padding: 0;
  transition:
    background var(--motion-duration-fast) var(--motion-ease-standard),
    border-color var(--motion-duration-fast) var(--motion-ease-standard),
    color var(--motion-duration-fast) var(--motion-ease-standard);
  width: 36px;
}

.carousel-button-primary {
  background: var(--neutral-0);
  color: var(--neutral-80);
}

.carousel-button:focus-visible,
.carousel-button:hover {
  background: var(--neutral-30);
  border-color: var(--neutral-30);
  color: var(--text-primary);
  outline: none;
}

.carousel-button-primary:focus-visible,
.carousel-button-primary:hover {
  background: var(--color-brand-20);
  border-color: var(--color-brand-20);
  color: var(--color-brand-70);
}

.project-carousel {
  display: flex;
  flex: 1 1 auto;
  gap: 8px;
  margin: 0;
  min-height: 0;
  overflow: visible;
  padding: 0;
  width: 100%;
}

.project-card {
  display: flex;
  flex: 0 0 32px;
  min-width: 0;
  transition:
    flex 360ms var(--motion-ease-standard),
    opacity var(--motion-duration-fast) var(--motion-ease-standard);
}

.project-card:not(.is-active):hover,
.project-card:not(.is-active):focus-within {
  flex-basis: 48px;
}

.project-card.is-active {
  flex: 1 1 auto;
}

.project-panel {
  align-items: flex-start;
  background: var(--neutral-20);
  border: 0;
  border-radius: 0;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  min-height: 0;
  overflow: hidden;
  padding: 40px;
  position: relative;
  text-align: left;
  transition:
    background var(--motion-duration-fast) var(--motion-ease-standard),
    box-shadow var(--motion-duration-fast) var(--motion-ease-standard);
  width: 100%;
}

.project-card:first-child .project-panel {
  border-bottom-left-radius: 8px;
  border-top-left-radius: 8px;
}

.project-card:last-child .project-panel {
  border-bottom-right-radius: 8px;
  border-top-right-radius: 8px;
}

.project-panel:focus-visible,
.project-panel:hover {
  outline: none;
}

.project-card:not(.is-active) .project-panel {
  padding: 0;
}

.project-title,
.project-content {
  opacity: 0;
  position: relative;
  transform: translateY(8px);
  transition:
    opacity 220ms var(--motion-ease-standard),
    transform 220ms var(--motion-ease-standard);
  white-space: normal;
}

.project-card.is-active .project-title,
.project-card.is-active .project-content {
  opacity: 1;
  transform: translateY(0);
}

.project-title {
  display: flex;
  gap: 24px;
  color: var(--text-primary);
  font-size: var(--type-display-size);
  font-weight: var(--type-display-weight);
  letter-spacing: var(--type-tracking-tight);
  line-height: var(--type-display-line);
  margin: 0;
  position: relative;
  white-space: nowrap;
  z-index: 1;
}

.project-content {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1;
}

.project-summary {
  color: var(--text-primary);
  margin: 0;
  max-width: 640px;
  white-space: nowrap;
}

.project-link-button {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: inherit;
  display: inline-flex;
  font-size: 14px;
  gap: 6px;
  line-height: 20px;
  min-height: 20px;
  padding: 0;
}

.project-panel::before,
.project-panel::after {
  content: "";
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity 240ms var(--motion-ease-standard);
}

.project-card.is-active .project-panel::before,
.project-card.is-active .project-panel::after {
  opacity: 1;
}

.project-panel-tiktok {
  background:
    url("./assets/Cover-TikTok.png") center / cover no-repeat,
    var(--neutral-10);
}

.project-panel-greenlite {
  background:
    url("./assets/Cover-GreenLite.png") center / cover no-repeat,
    var(--neutral-10);
}

.project-panel-greenlite .project-title,
.project-panel-greenlite .project-summary,
.project-panel-greenlite .project-link-button {
  color: var(--neutral-0);
}

.project-card.is-active .project-panel-greenlite .project-title {
  color: var(--color-theme-greenlite);
}

.project-panel-stripe {
  background:
    url("./assets/Cover-Stripe.png") center / cover no-repeat,
    #092c49;
  color: var(--neutral-0);
}

.project-panel-stripe .project-title,
.project-panel-stripe .project-summary,
.project-panel-stripe .project-link-button {
  color: var(--neutral-0);
}

.project-panel-leanplum {
  background:
    url("./assets/Cover-Leanplum.png") center / cover no-repeat,
    var(--neutral-10);
}

.project-panel-tiktok .project-link-button {
  color: var(--neutral-0);
}

.project-card:not(.is-active) .project-panel {
  color: var(--text-primary);
}

.project-card:not(.is-active) .project-panel-tiktok {
  background-position: right center;
}

.project-card:not(.is-active) .project-panel-stripe {
  background-position: right center;
}

.project-card:not(.is-active) .project-panel-greenlite {
  background-position: center center;
}

.project-card:not(.is-active) .project-panel-leanplum {
  background-position: right center;
}

.project-case-page {
  --page-bg: var(--neutral-0);
}

.case-study {
  margin: 0 auto;
  max-width: var(--page-width);
  padding: 136px 0 96px;
}

.design-auth-page {
  --page-bg: var(--neutral-0);
}

.design-auth-shell {
  display: grid;
  min-height: 100vh;
  padding: 120px 0 72px;
  place-items: center;
}

.design-auth-panel {
  width: min(520px, calc(100vw - 48px));
}

.design-auth-panel h1 {
  margin: 16px 0 40px;
}

.design-auth-form {
  display: grid;
  gap: 16px;
}

.design-auth-form label {
  color: var(--text-secondary);
}

.design-auth-form input {
  background: var(--neutral-0);
  border: 1px solid var(--line-subtle);
  border-radius: 8px;
  color: var(--text-primary);
  font: inherit;
  min-height: 56px;
  outline: none;
  padding: 0 18px;
  transition:
    border-color var(--motion-duration-fast) var(--motion-ease-standard),
    box-shadow var(--motion-duration-fast) var(--motion-ease-standard);
  width: 100%;
}

.design-auth-form input:focus {
  border-color: var(--brand-50);
  box-shadow: 0 0 0 3px rgba(255, 168, 0, 0.18);
}

.design-auth-error {
  color: var(--color-theme-tiktok);
  margin: 0;
}

.design-auth-submit {
  align-items: center;
  background: var(--neutral-90);
  border: 0;
  border-radius: 8px;
  color: var(--neutral-0);
  cursor: pointer;
  display: inline-flex;
  gap: 10px;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  transition:
    background var(--motion-duration-fast) var(--motion-ease-standard),
    color var(--motion-duration-fast) var(--motion-ease-standard),
    opacity var(--motion-duration-fast) var(--motion-ease-standard);
  width: fit-content;
}

.design-auth-submit:hover,
.design-auth-submit:focus-visible {
  background: var(--brand-50);
  color: var(--neutral-90);
}

.design-auth-submit:disabled {
  cursor: progress;
  opacity: 0.64;
}

.case-hero,
.case-section {
  border-bottom: 1px solid var(--line-subtle);
  display: grid;
  gap: 64px;
  grid-template-columns: 360px minmax(0, 1fr);
  padding: 0 0 96px;
}

.case-section {
  padding-top: 96px;
}

.case-hero-copy,
.case-section-copy {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.case-back-link {
  align-items: center;
  color: var(--text-secondary);
  display: inline-flex;
  gap: 8px;
  transition: color var(--motion-duration-fast) var(--motion-ease-standard);
}

.case-back-link:hover,
.case-back-link:focus-visible {
  color: var(--neutral-30);
  outline: none;
}

.case-eyebrow {
  color: var(--color-theme-tiktok);
  letter-spacing: var(--type-tracking-flat);
  margin: 0;
  text-transform: uppercase;
}

.case-hero h1,
.case-section h2,
.case-hero p,
.case-section p {
  margin: 0;
}

.case-lede {
  color: var(--text-secondary);
}

.case-meta {
  border-top: 1px solid var(--line-subtle);
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 16px 0 0;
  padding-top: 24px;
}

.case-meta div {
  display: grid;
  gap: 8px;
}

.case-meta dt {
  color: var(--text-tertiary);
  font-size: var(--type-caption-size);
  font-weight: var(--type-caption-weight);
  letter-spacing: var(--type-tracking-flat);
  line-height: var(--type-caption-line);
  text-transform: uppercase;
}

.case-meta dd {
  color: var(--text-secondary);
  font-size: var(--type-body-md-size);
  letter-spacing: var(--type-tracking-body);
  line-height: var(--type-body-md-line);
  margin: 0;
}

.case-hero-visual {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: flex-end;
  min-width: 0;
}

.case-hero-visual img,
.phone-strip figure,
.mobile-collage img,
.infra-showcase img {
  box-shadow:
    0 15px 35px rgba(60, 66, 87, 0.08),
    0 5px 15px rgba(0, 0, 0, 0.12);
}

.case-hero-visual img {
  border-radius: 24px;
  display: block;
  max-height: 520px;
  min-width: 0;
  object-fit: cover;
  width: min(31%, 190px);
}

.journey-stages {
  align-self: start;
  display: grid;
  gap: 16px;
  grid-column: 2;
  grid-template-columns: repeat(3, 1fr);
}

.journey-stage {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
}

.journey-stage span {
  background: var(--color-brand-20);
  border-radius: 999px;
  color: var(--neutral-90);
  display: inline-flex;
  font-size: var(--type-body-md-size);
  line-height: var(--type-body-md-line);
  padding: 6px 18px;
}

.journey-stage:nth-child(2) span {
  background: rgba(51, 153, 204, 0.24);
}

.journey-stage:nth-child(3) span {
  background: rgba(39, 190, 49, 0.24);
}

.journey-stage p {
  color: var(--text-tertiary);
  font-size: var(--type-body-md-size);
  line-height: var(--type-body-md-line);
}

.phone-strip {
  align-items: flex-start;
  display: flex;
  gap: 18px;
  grid-column: 1 / -1;
  overflow-x: auto;
  padding: 8px 0 24px;
  scrollbar-width: none;
}

.phone-strip::-webkit-scrollbar {
  display: none;
}

.phone-strip figure {
  background: var(--neutral-0);
  border-radius: 24px;
  flex: 0 0 156px;
  margin: 0;
  overflow: hidden;
}

.phone-strip img {
  display: block;
  height: 340px;
  object-fit: cover;
  width: 100%;
}

.case-feature-grid {
  align-items: start;
}

.mobile-collage {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mobile-collage img {
  background: var(--neutral-0);
  border-radius: 18px;
  display: block;
  height: 300px;
  object-fit: cover;
  width: 100%;
}

.case-infrastructure {
  border-bottom: 0;
}

.infra-showcase {
  align-items: center;
  display: grid;
  gap: 20px;
  grid-template-columns: 150px minmax(0, 1fr);
  min-width: 0;
}

.infra-showcase img {
  display: block;
}

.infra-mobile {
  grid-row: span 2;
  height: 330px;
  object-fit: cover;
  width: 150px;
}

.infra-desktop {
  border-radius: 12px;
  height: 210px;
  object-fit: cover;
  object-position: left top;
  width: 100%;
}

.infra-desktop-front {
  transform: translateX(-32px);
  width: calc(100% + 32px);
}

.type-specimen,
.color-specimen {
  margin: 0 auto;
  max-width: 1200px;
  padding: 80px 48px;
}

.specimen-eyebrow {
  color: var(--neutral-40);
  margin: 0 0 16px;
  text-transform: uppercase;
}

.type-specimen > h1 {
  color: var(--neutral-90);
  margin-bottom: 40px;
}

.color-specimen > h1 {
  color: var(--neutral-90);
  margin: 72px 0;
}

.type-specimen-table {
  background: var(--neutral-0);
  border: 1px solid var(--border-subtle-light);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 48px;
}

.type-specimen-header,
.type-specimen-row {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(240px, 1fr) 96px 120px minmax(240px, 1fr);
}

.type-specimen-header {
  color: var(--neutral-50);
  font-size: var(--type-caption-size);
  font-weight: var(--type-caption-weight);
  letter-spacing: var(--type-tracking-tight);
  line-height: var(--type-caption-line);
}

.type-specimen-row {
  align-items: center;
}

.type-specimen-row > p {
  color: var(--neutral-90);
  margin: 0;
}

.type-specimen-row > p:last-child {
  color: var(--neutral-60);
}

.color-group {
  align-items: center;
  display: grid;
  gap: 32px;
  grid-template-columns: 80px minmax(0, 1fr);
  margin-top: 48px;
}

.color-group h2 {
  color: var(--neutral-90);
}

.color-ramp {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  width: 100%;
}

.color-ramp-theme {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.color-chip {
  align-items: flex-end;
  background: var(--chip-color);
  color: var(--neutral-0);
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: space-between;
  min-height: 64px;
  padding: 8px;
}

.color-chip:first-child {
  border-bottom-left-radius: 8px;
  border-top-left-radius: 8px;
}

.color-chip:last-child {
  border-bottom-right-radius: 8px;
  border-top-right-radius: 8px;
}

.color-chip span,
.color-chip strong {
  font-family: Inter, var(--font-primary);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 16px;
}

.color-chip span {
  color: var(--neutral-50);
  transform: translateY(-34px);
}

.color-chip strong {
  color: currentColor;
}

.color-chip-dark {
  color: var(--neutral-90);
}

@media (max-width: 1180px) {
  :root {
    --page-width: calc(100vw - 48px);
    --page-gutter: clamp(24px, 5vw, 64px);
  }

  .brand {
    opacity: 1;
  }
}

@media (max-width: 760px) {
  :root {
    --type-display-size: 52px;
    --type-display-line: 64px;
    --type-heading-size: 44px;
    --type-heading-line: 56px;
    --type-subheading-size: 28px;
    --type-subheading-line: 40px;
    --type-title-size: 22px;
    --type-title-line: 32px;
  }

  .site-header {
    justify-content: flex-end;
    padding: 0 20px;
  }

  .brand {
    left: 20px;
    top: 12px;
  }

  .nav-links {
    gap: 18px;
  }

  .nav-links a {
    font-size: 14px;
  }

  .home-screen {
    min-height: 88vh;
  }

  .home-inner {
    min-height: calc(88vh - 88px);
  }

  .home-inner h1 {
    font-size: clamp(76px, 23vw, 116px);
  }

  .home-tagline {
    bottom: 4px;
  }

  .about-section {
    padding-top: 80px;
  }

  .hero-image {
    height: 420px;
  }

  .summary,
  .experience,
  .resume-section,
  .contact-section,
  .design-carousel-header,
  .placeholder-section,
  .case-study {
    padding-left: 0;
    padding-right: 0;
  }

  .case-study {
    padding-top: 96px;
  }

  .case-hero,
  .case-section {
    gap: 40px;
    grid-template-columns: 1fr;
    padding-bottom: 72px;
  }

  .case-section {
    padding-top: 72px;
  }

  .case-hero-visual {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 18px;
    scrollbar-width: none;
  }

  .case-hero-visual::-webkit-scrollbar {
    display: none;
  }

  .case-hero-visual img {
    flex: 0 0 190px;
    width: 190px;
  }

  .journey-stages {
    grid-column: auto;
  }

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

  .infra-showcase {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .infra-mobile {
    height: 270px;
    width: 120px;
  }

  .design-carousel-section {
    padding-top: 96px;
  }

  .project-carousel {
    gap: 12px;
    overflow-x: auto;
    padding-inline: 24px;
    scrollbar-width: none;
  }

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

  .project-card,
  .project-card.is-active {
    flex: 0 0 78vw;
  }

  .project-panel {
    min-height: 440px;
    padding: 32px;
  }

  .project-card:not(.is-active) .project-panel {
    padding: 0;
  }

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

  .experience-meta {
    gap: 8px;
  }

  .type-specimen,
  .color-specimen {
    padding: 64px 20px;
  }

  .type-specimen-table {
    gap: 28px;
    padding: 24px;
  }

  .type-specimen-header {
    display: none;
  }

  .type-specimen-row {
    gap: 8px;
    grid-template-columns: 1fr;
  }

  .color-specimen > h1 {
    margin: 48px 0;
  }

  .color-group {
    align-items: stretch;
    gap: 16px;
    grid-template-columns: 1fr;
  }

  .color-ramp,
  .color-ramp-theme {
    grid-template-columns: 1fr;
  }

  .color-chip,
  .color-chip:first-child,
  .color-chip:last-child {
    border-radius: 0;
  }

  .color-chip span {
    transform: none;
  }
}

@media (max-width: 520px) {
  :root {
    --page-width: calc(100vw - 32px);
    --type-subheading-size: 24px;
    --type-subheading-line: 34px;
  }

  .site-header {
    align-items: center;
    height: 48px;
    padding: 0 16px;
  }

  .brand {
    display: none;
  }

  .nav-links {
    gap: 16px;
    justify-content: center;
    width: 100%;
  }

  .design-carousel-header {
    align-items: flex-start;
    gap: 20px;
  }

  .design-carousel-header h1 {
    font-size: 36px;
    line-height: 44px;
  }

  .carousel-button {
    height: 44px;
    width: 44px;
  }

  .project-carousel {
    flex-direction: column;
    overflow: visible;
  }

  .project-card,
  .project-card.is-active {
    flex-basis: auto;
  }

  .project-card:not(.is-active) .project-panel {
    min-height: 88px;
  }

  .project-panel {
    height: auto;
    min-height: 360px;
  }

  .case-study {
    padding-top: 80px;
  }

  .case-hero,
  .case-section {
    padding-bottom: 56px;
  }

  .case-section {
    padding-top: 56px;
  }

  .journey-stages,
  .mobile-collage {
    grid-template-columns: 1fr;
  }

  .journey-stage {
    align-items: flex-start;
    text-align: left;
  }

  .phone-strip figure {
    flex-basis: 140px;
  }

  .phone-strip img {
    height: 304px;
  }

  .mobile-collage img {
    height: auto;
  }

  .infra-showcase {
    grid-template-columns: 1fr;
  }

  .infra-mobile {
    height: auto;
    max-height: 420px;
    width: min(210px, 100%);
  }

  .infra-desktop,
  .infra-desktop-front {
    height: auto;
    transform: none;
    width: 100%;
  }

  .home-inner h1 {
    font-size: 74px;
  }

  .hero-image {
    height: 360px;
  }

  .hero-image img {
    height: 520px;
  }

  .contact-links {
    flex-direction: column;
    width: 100%;
  }

  .contact-button {
    width: 100%;
  }
}
