:root {
  --ink: #181817;
  --ink-muted: #65615a;
  --paper: #f4f1ea;
  --paper-strong: #fbfaf6;
  --line: #d7d1c7;
  --accent: #c95532;
  --accent-dark: #963a20;
  --dark-surface: #22221f;
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --shadow: 0 28px 70px -38px rgba(48, 36, 25, 0.45);
  --header-height: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.025;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

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

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

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

button {
  font: inherit;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.sr-only {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  border: 0;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: var(--header-height);
  padding: 0 clamp(20px, 4vw, 72px);
  border-bottom: 1px solid transparent;
  background: rgba(244, 241, 234, 0.88);
  backdrop-filter: blur(18px);
  transition: border-color 240ms ease, background 240ms ease;
}

.site-header.scrolled {
  border-bottom-color: rgba(24, 24, 23, 0.11);
  background: rgba(244, 241, 234, 0.96);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Outfit", sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.brand-mark {
  position: relative;
  display: inline-block;
  width: 34px;
  height: 24px;
}

.brand-mark i {
  position: absolute;
  left: 0;
  display: block;
  width: 34px;
  height: 4px;
  border-radius: 999px;
  background: var(--ink);
  transform: skewX(-22deg);
}

.brand-mark i:nth-child(1) {
  top: 1px;
}

.brand-mark i:nth-child(2) {
  top: 10px;
}

.brand-mark i:nth-child(3) {
  top: 19px;
  width: 25px;
  background: var(--accent);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 44px);
  font-size: 0.9rem;
  font-weight: 600;
}

.site-nav a {
  position: relative;
  transition: color 200ms ease;
}

.site-nav a:not(.nav-contact)::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.site-nav a:not(.nav-contact):hover::after,
.site-nav a:not(.nav-contact):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-contact {
  padding: 10px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  transition: background 200ms ease, color 200ms ease, transform 200ms ease;
}

.nav-contact:hover,
.nav-contact:focus-visible {
  background: var(--ink);
  color: var(--paper);
}

.nav-contact:active {
  transform: scale(0.98);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 1px;
  margin: 7px auto;
  background: var(--ink);
  transition: transform 220ms ease;
}

.hero,
.work-section,
.apps-section,
.studio-section,
.contact-section,
.site-footer,
.app-main {
  width: min(100%, 1600px);
  margin: 0 auto;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.75fr);
  gap: clamp(42px, 7vw, 120px);
  align-items: center;
  min-height: calc(100dvh - var(--header-height));
  padding: clamp(72px, 9vw, 132px) clamp(20px, 6vw, 96px) 96px;
}

.hero-copy {
  align-self: center;
  max-width: 790px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.work-intro h2,
.apps-heading h2,
.studio-statement h2,
.contact-copy h2,
.app-hero h1,
.app-section-heading h2,
.app-cta h2 {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  letter-spacing: -0.055em;
}

.hero h1 {
  max-width: 860px;
  font-size: clamp(3.4rem, 6.8vw, 7.4rem);
  line-height: 0.91;
}

.hero h1 span {
  color: var(--ink-muted);
  font-weight: 500;
}

.hero-lede {
  max-width: 660px;
  margin: 34px 0 0;
  color: var(--ink-muted);
  font-size: clamp(1.04rem, 1.4vw, 1.25rem);
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), background 220ms ease, color 220ms ease, border-color 220ms ease;
}

.button svg {
  width: 20px;
  height: 20px;
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.button:hover svg,
.button:focus-visible svg {
  transform: translateX(4px);
}

.button:active {
  transform: scale(0.98);
}

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

.button-primary:hover,
.button-primary:focus-visible {
  border-color: var(--accent);
  background: var(--accent);
  color: white;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
  font-weight: 700;
  transition: border-color 200ms ease, color 200ms ease;
}

.text-link svg {
  width: 18px;
  height: 18px;
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.text-link:hover,
.text-link:focus-visible {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.text-link:hover svg,
.text-link:focus-visible svg {
  transform: translate(3px, -3px);
}

.hero-index {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  border: 1px solid rgba(24, 24, 23, 0.08);
  border-radius: var(--radius-lg);
  background: var(--dark-surface);
  color: #f8f3e9;
  box-shadow: var(--shadow);
}

.hero-index::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 58px 58px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.index-topline {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  padding: 28px 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.live-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}

.live-label i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d77b55;
  box-shadow: 0 0 0 5px rgba(215, 123, 85, 0.12);
  animation: breathe 2.4s ease-in-out infinite;
}

@keyframes breathe {
  50% { transform: scale(0.72); opacity: 0.7; }
}

.hero-icons {
  position: relative;
  height: 390px;
}

.hero-icon {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 25%;
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.75);
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-icon:hover {
  transform: translateY(-7px) rotate(0deg) !important;
}

.hero-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-icon-main {
  top: 66px;
  left: 50%;
  z-index: 2;
  width: 178px;
  height: 178px;
  transform: translateX(-50%) rotate(-3deg);
  animation: float-main 5s ease-in-out infinite;
}

.hero-icon-a,
.hero-icon-b,
.hero-icon-c,
.hero-icon-d {
  width: 96px;
  height: 96px;
}

.hero-icon-a {
  top: 32px;
  left: 8%;
  transform: rotate(-8deg);
  animation: float-a 5.8s ease-in-out infinite;
}

.hero-icon-b {
  top: 52px;
  right: 7%;
  transform: rotate(7deg);
  animation: float-b 6.4s ease-in-out infinite;
}

.hero-icon-c {
  bottom: 30px;
  left: 16%;
  transform: rotate(5deg);
  animation: float-b 6.8s ease-in-out infinite reverse;
}

.hero-icon-d {
  right: 15%;
  bottom: 18px;
  transform: rotate(-7deg);
  animation: float-a 6.2s ease-in-out infinite reverse;
}

@keyframes float-main {
  0%, 100% { transform: translateX(-50%) translateY(0) rotate(-3deg); }
  50% { transform: translateX(-50%) translateY(-9px) rotate(-1deg); }
}

@keyframes float-a {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}

@keyframes float-b {
  0%, 100% { translate: 0 0; }
  50% { translate: 4px -6px; }
}

.hero-metrics {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(25, 25, 23, 0.82);
  backdrop-filter: blur(12px);
}

.hero-metrics div {
  padding: 20px 18px 23px;
}

.hero-metrics div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-metrics dt {
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-metrics dd {
  margin: 6px 0 0;
  color: white;
  font-size: 0.82rem;
  font-weight: 600;
}

.hero-rule {
  position: absolute;
  right: clamp(20px, 6vw, 96px);
  bottom: 36px;
  left: clamp(20px, 6vw, 96px);
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink-muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-rule i {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.work-section,
.apps-section,
.studio-section,
.contact-section {
  padding: clamp(100px, 12vw, 190px) clamp(20px, 6vw, 96px);
}

.work-section {
  border-top: 1px solid var(--line);
  background: var(--paper-strong);
}

.section-kicker,
.group-heading {
  display: flex;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.work-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 80px;
  align-items: end;
  margin: clamp(54px, 7vw, 100px) 0 clamp(72px, 9vw, 130px);
}

.work-intro h2 {
  max-width: 850px;
  font-size: clamp(2.8rem, 5.5vw, 6.6rem);
  line-height: 0.96;
}

.work-intro > p {
  max-width: 520px;
  margin: 0;
  color: var(--ink-muted);
  font-size: 1.05rem;
}

.practice-list {
  display: grid;
  gap: 24px;
}

.practice {
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(300px, 0.8fr) minmax(360px, 1.2fr);
  gap: clamp(28px, 5vw, 80px);
  min-height: 420px;
  overflow: hidden;
  padding: clamp(28px, 4vw, 58px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
}

.practice-games {
  background: var(--dark-surface);
  color: #f8f3e9;
}

.practice-number {
  font-family: "Outfit", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
}

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

.practice h3 {
  max-width: 600px;
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: clamp(2.1rem, 3.7vw, 4.2rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
}

.practice-copy > p:not(.eyebrow) {
  max-width: 500px;
  margin: 24px 0 26px;
  color: var(--ink-muted);
}

.practice-games .eyebrow {
  color: #ef9c77;
}

.practice-games .practice-copy > p:not(.eyebrow),
.practice-games .practice-number {
  color: rgba(255, 255, 255, 0.58);
}

.practice-games .text-link {
  border-color: rgba(255, 255, 255, 0.18);
}

.practice-art {
  position: relative;
  align-self: stretch;
  min-height: 310px;
}

.utility-art {
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom right, black 50%, transparent);
}

.file-shape {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(290px, 70%);
  aspect-ratio: 0.78;
  border: 1px solid var(--line);
  border-radius: 18px 44px 18px 18px;
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.file-back {
  transform: translate(-65%, -48%) rotate(-8deg);
}

.file-front {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 38px;
  transform: translate(-32%, -43%) rotate(5deg);
}

.file-front span,
.file-front b {
  font-family: "Outfit", sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
}

.file-front b {
  color: var(--accent);
}

.file-front i {
  width: 68%;
  height: 1px;
  background: var(--line);
  transform: rotate(-36deg);
}

.game-art {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
}

.game-path {
  position: absolute;
  right: -10%;
  bottom: -42%;
  width: 110%;
  height: 82%;
  border: 42px solid #c95532;
  border-top-color: transparent;
  border-left-color: transparent;
  border-radius: 50%;
  transform: rotate(-12deg);
}

.game-orb {
  position: absolute;
  border-radius: 50%;
  background: #f4d664;
  box-shadow: inset -10px -12px 0 rgba(152, 74, 37, 0.22);
}

.game-orb-one {
  top: 21%;
  left: 18%;
  width: 64px;
  height: 64px;
  animation: orb-hop 2.2s ease-in-out infinite;
}

.game-orb-two {
  top: 48%;
  left: 50%;
  width: 30px;
  height: 30px;
  background: #79beb0;
  animation: orb-hop 2.8s ease-in-out infinite reverse;
}

.game-orb-three {
  top: 15%;
  right: 13%;
  width: 38px;
  height: 38px;
  background: #f7f2e7;
  animation: orb-hop 2.5s ease-in-out infinite;
}

@keyframes orb-hop {
  0%, 100% { transform: translateY(0); }
  45% { transform: translateY(-16px); }
}

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

.apps-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.38fr);
  gap: 80px;
  align-items: end;
}

.apps-heading h2 {
  font-size: clamp(2.8rem, 5vw, 6rem);
  line-height: 0.96;
}

.apps-heading > p {
  max-width: 470px;
  margin: 0 0 8px;
  color: var(--ink-muted);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 62px 0 72px;
}

.filter-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  padding: 0 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-muted);
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.filter-button span {
  display: grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: rgba(24, 24, 23, 0.07);
  font-size: 0.7rem;
}

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

.filter-button.active span {
  background: rgba(255, 255, 255, 0.13);
}

.filter-button:active {
  transform: scale(0.98);
}

.app-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(42px, 6vw, 88px);
}

.app-directory.single-group {
  grid-template-columns: minmax(0, 1fr);
}

.app-directory.single-group .app-group {
  width: min(100%, 860px);
}

.app-group {
  min-width: 0;
}

.app-group[hidden],
.app-row[hidden] {
  display: none;
}

.app-row {
  display: grid;
  grid-template-columns: 28px 68px minmax(0, 1fr) auto 28px;
  gap: 17px;
  align-items: center;
  min-height: 116px;
  border-bottom: 1px solid var(--line);
  transition: color 220ms ease, padding 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.app-row:hover,
.app-row:focus-visible {
  padding-right: 7px;
  color: var(--accent-dark);
}

.app-row-number {
  color: var(--ink-muted);
  font-family: "Outfit", sans-serif;
  font-size: 0.66rem;
  font-weight: 600;
}

.app-row img {
  width: 68px;
  height: 68px;
  border: 1px solid rgba(24, 24, 23, 0.06);
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 14px 24px -18px rgba(45, 32, 22, 0.55);
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

.app-row:hover img {
  transform: rotate(-3deg) scale(1.04);
}

.app-row-copy {
  display: grid;
  gap: 4px;
}

.app-row-copy strong {
  font-family: "Outfit", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.app-row-copy small {
  overflow: hidden;
  max-width: 420px;
  color: var(--ink-muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.app-row-proof {
  color: var(--ink-muted);
  font-size: 0.68rem;
  font-weight: 700;
  white-space: nowrap;
}

.app-row svg {
  width: 24px;
  height: 24px;
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.app-row:hover svg {
  transform: translate(3px, -3px);
}

.studio-section {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(420px, 0.85fr);
  gap: clamp(70px, 10vw, 160px);
  border-top: 1px solid var(--line);
  background: var(--paper-strong);
}

.studio-statement {
  position: sticky;
  top: calc(var(--header-height) + 50px);
  align-self: start;
}

.studio-statement h2 {
  max-width: 760px;
  font-size: clamp(2.7rem, 5vw, 6rem);
  line-height: 0.96;
}

.studio-details {
  display: grid;
}

.studio-note {
  min-height: 240px;
  padding: 44px 0;
  border-top: 1px solid var(--line);
}

.studio-note:first-child {
  border-top: 0;
  padding-top: 0;
}

.studio-note > span {
  color: var(--accent);
  font-family: "Outfit", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
}

.studio-note h3 {
  margin: 28px 0 14px;
  font-family: "Outfit", sans-serif;
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.studio-note p {
  max-width: 470px;
  margin: 0;
  color: var(--ink-muted);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(420px, 1.3fr);
  gap: 80px;
  align-items: end;
  background: var(--accent);
  color: #fff7f1;
}

.contact-copy .eyebrow {
  color: rgba(255, 255, 255, 0.64);
}

.contact-copy h2 {
  max-width: 620px;
  font-size: clamp(2.6rem, 4.5vw, 5.4rem);
  line-height: 0.98;
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 22px 0;
  border-bottom: 2px solid rgba(255, 255, 255, 0.55);
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.35rem, 3vw, 3.3rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.contact-link svg {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-link:hover svg,
.contact-link:focus-visible svg {
  transform: translate(5px, -5px);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(150px, 0.5fr) minmax(150px, 0.5fr);
  gap: 60px;
  padding: 72px clamp(20px, 6vw, 96px) 30px;
  background: var(--ink);
  color: #f3eee5;
}

.site-footer .brand-mark i {
  background: #f3eee5;
}

.site-footer .brand-mark i:nth-child(3) {
  background: #da7552;
}

.footer-brand p {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.84rem;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 10px;
  font-size: 0.84rem;
}

.footer-column > span {
  margin-bottom: 9px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.76);
  transition: color 180ms ease;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: white;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  padding-top: 28px;
  margin-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* App detail pages */
.app-page {
  --page-accent: #c95532;
  --page-accent-rgb: 201, 85, 50;
  --page-deep: #632915;
  --page-soft: #f0d9cf;
}

.app-main {
  padding: 0 clamp(20px, 6vw, 96px);
}

.app-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 30px 0 0;
  color: var(--ink-muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.app-breadcrumb svg {
  width: 13px;
  height: 13px;
}

.app-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(440px, 0.74fr);
  gap: clamp(54px, 8vw, 130px);
  align-items: center;
  min-height: calc(100dvh - 140px);
  padding: clamp(64px, 8vw, 120px) 0 100px;
}

.app-identity {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.app-identity img {
  width: 72px;
  height: 72px;
  border: 1px solid rgba(24, 24, 23, 0.06);
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 18px 32px -22px rgba(24, 24, 23, 0.55);
}

.app-identity span {
  display: grid;
  gap: 2px;
}

.app-identity strong {
  font-size: 0.92rem;
}

.app-identity small {
  color: var(--ink-muted);
  font-size: 0.75rem;
}

.app-hero h1 {
  max-width: 850px;
  font-size: clamp(3.5rem, 7vw, 7.8rem);
  line-height: 0.9;
}

.app-tagline {
  max-width: 680px;
  margin: 32px 0 0;
  color: var(--ink-muted);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
}

.app-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-height: 58px;
  padding: 0 21px;
  border: 1px solid var(--ink);
  border-radius: 12px;
  background: var(--ink);
  color: white;
  font-size: 0.84rem;
  font-weight: 700;
  transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.store-button.secondary {
  background: transparent;
  color: var(--ink);
}

.store-button:hover,
.store-button:focus-visible {
  border-color: var(--page-accent);
  background: var(--page-accent);
  color: white;
}

.store-button:active {
  transform: scale(0.98);
}

.store-button svg {
  width: 24px;
  height: 24px;
}

.app-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 30px 0 0;
  color: var(--ink-muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.app-proof span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.app-proof span::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--page-accent);
  content: "";
}

.app-visual {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border: 1px solid rgba(24, 24, 23, 0.08);
  border-radius: var(--radius-lg);
  background: var(--page-deep);
  color: white;
  box-shadow: var(--shadow);
}

.app-visual::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  mask-image: linear-gradient(to bottom right, black 35%, transparent 85%);
}

.visual-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  transform: translate(-50%, -57%);
}

.visual-orbit::before,
.visual-orbit::after {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
}

.visual-orbit::before {
  width: 290px;
  height: 290px;
}

.visual-orbit::after {
  width: 490px;
  height: 490px;
}

.visual-icon {
  position: absolute;
  top: 46%;
  left: 50%;
  z-index: 2;
  width: 220px;
  height: 220px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 27%;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.62);
  transform: translate(-50%, -50%) rotate(-4deg);
  animation: app-icon-float 5s ease-in-out infinite;
}

.visual-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes app-icon-float {
  0%, 100% { transform: translate(-50%, -50%) rotate(-4deg); }
  50% { transform: translate(-50%, calc(-50% - 10px)) rotate(-1deg); }
}

.visual-feature {
  position: absolute;
  z-index: 3;
  max-width: 200px;
  padding: 14px 17px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  background: rgba(29, 29, 27, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(14px);
  font-size: 0.75rem;
  font-weight: 700;
}

.visual-feature::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--page-accent);
  content: "";
}

.visual-feature-one {
  top: 13%;
  left: 6%;
}

.visual-feature-two {
  right: 6%;
  top: 29%;
}

.visual-feature-three {
  bottom: 24%;
  left: 8%;
}

.visual-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 98px;
  padding: 24px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(26, 26, 24, 0.8);
  backdrop-filter: blur(16px);
}

.visual-caption span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.visual-caption strong {
  font-family: "Outfit", sans-serif;
  font-size: 1rem;
  font-weight: 600;
}

.app-section {
  padding: clamp(96px, 11vw, 170px) 0;
  border-top: 1px solid var(--line);
}

.app-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.45fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 76px;
}

.app-section-heading h2 {
  max-width: 840px;
  font-size: clamp(2.8rem, 5vw, 6rem);
  line-height: 0.96;
}

.app-section-heading > p {
  margin: 0;
  color: var(--ink-muted);
}

.feature-list {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 1fr;
  border-top: 1px solid var(--line);
}

.feature-item {
  min-height: 310px;
  padding: 38px clamp(24px, 3vw, 44px) 34px 0;
}

.feature-item + .feature-item {
  padding-left: clamp(24px, 3vw, 44px);
  border-left: 1px solid var(--line);
}

.feature-item > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--page-accent);
  color: white;
  font-family: "Outfit", sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
}

.feature-item h3 {
  margin: 70px 0 16px;
  font-family: "Outfit", sans-serif;
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.feature-item p {
  max-width: 390px;
  margin: 0;
  color: var(--ink-muted);
}

.workflow-section {
  position: relative;
  overflow: hidden;
  margin: 0 calc(clamp(20px, 6vw, 96px) * -1);
  padding: clamp(90px, 11vw, 165px) clamp(20px, 6vw, 96px);
  background: var(--ink);
  color: white;
}

.workflow-section::after {
  position: absolute;
  right: -10vw;
  bottom: -24vw;
  width: 58vw;
  height: 58vw;
  border: 1px solid rgba(var(--page-accent-rgb), 0.4);
  border-radius: 50%;
  content: "";
}

.workflow-header {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
}

.workflow-header h2 {
  max-width: 720px;
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: clamp(2.8rem, 5vw, 6rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.workflow-header p {
  max-width: 510px;
  margin: 0;
  color: rgba(255, 255, 255, 0.57);
}

.workflow-steps {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 80px;
}

.workflow-step {
  min-height: 240px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
}

.workflow-step span {
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.workflow-step h3 {
  margin: 68px 0 0;
  font-family: "Outfit", sans-serif;
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.related-section {
  padding: clamp(96px, 11vw, 165px) 0;
}

.related-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 48px;
}

.related-header h2 {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: clamp(2.4rem, 4vw, 4.6rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
}

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

.related-app {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 28px;
  gap: 20px;
  align-items: center;
  min-height: 126px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper-strong);
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), border-color 220ms ease;
}

.related-app:hover,
.related-app:focus-visible {
  border-color: var(--page-accent);
  transform: translateY(-3px);
}

.related-app img {
  width: 88px;
  height: 88px;
  border-radius: 23px;
  object-fit: cover;
}

.related-app span {
  display: grid;
  gap: 5px;
}

.related-app strong {
  font-family: "Outfit", sans-serif;
  font-size: 1.12rem;
  font-weight: 600;
}

.related-app small {
  color: var(--ink-muted);
}

.related-app svg {
  width: 25px;
  height: 25px;
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.related-app:hover svg {
  transform: translate(3px, -3px);
}

.app-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 50px;
  align-items: end;
  margin-bottom: clamp(90px, 11vw, 160px);
  padding: clamp(44px, 6vw, 78px);
  border-radius: var(--radius-lg);
  background: var(--page-soft);
}

.app-cta h2 {
  max-width: 720px;
  font-size: clamp(2.7rem, 4.5vw, 5.3rem);
  line-height: 0.96;
}

.app-page .site-footer {
  width: 100%;
  max-width: none;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1), transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: 1fr 0.8fr;
    gap: 52px;
  }

  .hero-index {
    min-height: 540px;
  }

  .practice {
    grid-template-columns: 46px minmax(280px, 0.8fr) minmax(300px, 1fr);
    gap: 28px;
  }

  .app-directory {
    grid-template-columns: 1fr;
  }

  .studio-section,
  .contact-section {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }

  .app-hero {
    grid-template-columns: 1fr 0.72fr;
    gap: 52px;
  }

  .app-visual {
    min-height: 560px;
  }

  .visual-orbit {
    width: 320px;
    height: 320px;
  }

  .visual-icon {
    width: 185px;
    height: 185px;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 70px;
  }

  .site-header {
    padding: 0 20px;
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle[aria-expanded="true"] > span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(2) {
    transform: translateY(-4px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 10px 20px 22px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav .nav-contact {
    justify-self: start;
    padding: 10px 18px;
    margin-top: 12px;
    border: 1px solid var(--ink);
  }

  .hero,
  .app-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero {
    padding-top: 74px;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 13vw, 6.4rem);
  }

  .hero-index {
    min-height: 560px;
  }

  .hero-rule {
    position: static;
    grid-column: 1;
    margin-top: 10px;
  }

  .work-intro,
  .apps-heading,
  .studio-section,
  .contact-section,
  .app-section-heading,
  .workflow-header {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .practice {
    grid-template-columns: 34px minmax(0, 1fr);
    min-height: 0;
  }

  .practice-art {
    grid-column: 2;
    min-height: 330px;
  }

  .studio-statement {
    position: static;
  }

  .contact-link {
    font-size: clamp(1.2rem, 5.7vw, 2.5rem);
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .app-hero {
    padding-top: 62px;
  }

  .app-visual {
    min-height: 600px;
  }

  .feature-list,
  .workflow-steps {
    grid-template-columns: 1fr;
  }

  .feature-item {
    min-height: 230px;
    padding: 32px 0;
    border-bottom: 1px solid var(--line);
  }

  .feature-item + .feature-item {
    padding-left: 0;
    border-left: 0;
  }

  .feature-item h3 {
    margin-top: 42px;
  }

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

  .app-cta {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 600px) {
  .hero,
  .work-section,
  .apps-section,
  .studio-section,
  .contact-section,
  .app-main {
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero {
    padding-bottom: 56px;
  }

  .hero h1,
  .app-hero h1 {
    font-size: clamp(3.15rem, 15vw, 5.4rem);
  }

  .hero-lede {
    margin-top: 26px;
  }

  .hero-index {
    min-height: 500px;
    border-radius: 26px;
  }

  .hero-icons {
    height: 350px;
  }

  .hero-icon-main {
    width: 150px;
    height: 150px;
  }

  .hero-icon-a,
  .hero-icon-b,
  .hero-icon-c,
  .hero-icon-d {
    width: 74px;
    height: 74px;
  }

  .hero-metrics div {
    padding: 17px 10px 19px;
  }

  .hero-metrics dt {
    font-size: 0.54rem;
  }

  .hero-metrics dd {
    font-size: 0.7rem;
  }

  .section-kicker span:last-child {
    display: none;
  }

  .work-intro {
    margin: 52px 0 74px;
  }

  .practice {
    grid-template-columns: 1fr;
    padding: 24px;
    border-radius: 26px;
  }

  .practice-number {
    display: none;
  }

  .practice-art {
    grid-column: 1;
    min-height: 285px;
  }

  .file-shape {
    width: 210px;
  }

  .app-row {
    grid-template-columns: 56px minmax(0, 1fr) 24px;
    gap: 13px;
    min-height: 96px;
  }

  .app-row-number,
  .app-row-proof {
    display: none;
  }

  .app-row img {
    width: 56px;
    height: 56px;
    border-radius: 15px;
  }

  .app-row-copy strong {
    font-size: 0.96rem;
  }

  .app-row-copy small {
    max-width: 260px;
    font-size: 0.7rem;
  }

  .filter-bar {
    margin: 42px 0 58px;
  }

  .filter-button {
    min-height: 40px;
    padding: 0 14px;
  }

  .contact-section {
    padding-top: 84px;
    padding-bottom: 84px;
  }

  .contact-link svg {
    width: 30px;
    height: 30px;
  }

  .site-footer {
    gap: 42px 26px;
    padding: 56px 20px 24px;
  }

  .footer-bottom {
    display: grid;
    gap: 10px;
  }

  .app-breadcrumb {
    padding-top: 24px;
  }

  .app-hero {
    padding: 52px 0 78px;
  }

  .app-identity img {
    width: 62px;
    height: 62px;
    border-radius: 17px;
  }

  .app-visual {
    min-height: 500px;
    border-radius: 26px;
  }

  .visual-orbit {
    width: 270px;
    height: 270px;
  }

  .visual-icon {
    width: 160px;
    height: 160px;
  }

  .visual-feature {
    max-width: 155px;
    padding: 10px 12px;
    font-size: 0.64rem;
  }

  .visual-feature-three {
    bottom: 23%;
  }

  .visual-caption {
    min-height: 84px;
    padding: 19px 20px;
  }

  .workflow-section {
    margin-right: -20px;
    margin-left: -20px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .workflow-steps {
    margin-top: 54px;
  }

  .workflow-step {
    min-height: 190px;
  }

  .workflow-step h3 {
    margin-top: 46px;
  }

  .related-header {
    display: grid;
  }

  .related-app {
    grid-template-columns: 66px minmax(0, 1fr) 22px;
  }

  .related-app img {
    width: 66px;
    height: 66px;
    border-radius: 18px;
  }

  .app-cta {
    padding: 36px 24px;
    border-radius: 26px;
  }
}

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

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

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