@import url("https://fonts.googleapis.com/css2?family=Anek+Devanagari:wght@300;400;500;600&family=Figtree:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap");

:root {
  --ink-900: #16130f;
  --ink-700: #3c342b;
  --ink-500: #5f5346;
  --paper-000: #fffdf9;
  --paper-100: #fdfcf9;
  --paper-200: #fbf6ea;
  --line-200: #ece5d6;
  --line-300: #dccdb4;
  --marigold-500: #ff8f1c;
  --amber-600: #a1631c;
  --turmeric-400: #ffb75e;
  --sand-100: #ffe9c9;
  --sand-050: #fff6e6;
  --tint-amber-12: rgba(161, 99, 28, 0.12);
  --tint-amber-16: rgba(161, 99, 28, 0.16);
  --tint-amber-26: rgba(161, 99, 28, 0.26);
  --tint-turmeric-16: rgba(255, 183, 94, 0.16);
  --text-primary: var(--ink-900);
  --text-body: var(--ink-700);
  --text-secondary: var(--ink-500);
  --text-accent: var(--amber-600);
  --text-on-ink: var(--paper-100);
  --text-on-ink-muted: #9c9284;
  --surface-page: var(--paper-100);
  --surface-card: var(--paper-000);
  --surface-sunken: var(--paper-200);
  --surface-ink: var(--ink-900);
  --border-hairline: var(--line-200);
  --focus-ring: var(--amber-600);
  --wash-sunrise: linear-gradient(170deg, #fff6e6 0%, #ffe9c9 46%, #ffd9a3 100%);
  --wash-paper: linear-gradient(158deg, #fffdf9 0%, #fdf7ec 52%, #f8f0e2 100%);
  --wash-ink: linear-gradient(160deg, #241d16 0%, #16130f 100%);
  --wordmark-sweep: linear-gradient(96deg, #ffb03c 0%, #ff8f1c 34%, #e0611f 66%, #b93a2b 100%);
  --grain: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScxNDAnIGhlaWdodD0nMTQwJz48ZmlsdGVyIGlkPSduJz48ZmVUdXJidWxlbmNlIHR5cGU9J2ZyYWN0YWxOb2lzZScgYmFzZUZyZXF1ZW5jeT0nMC44NScgbnVtT2N0YXZlcz0nMycgc3RpdGNoVGlsZXM9J3N0aXRjaCcvPjwvZmlsdGVyPjxyZWN0IHdpZHRoPScxNDAnIGhlaWdodD0nMTQwJyBmaWx0ZXI9J3VybCgjbiknIG9wYWNpdHk9JzAuMjgnLz48L3N2Zz4=");
  --font-latin: "Figtree", system-ui, -apple-system, sans-serif;
  --font-devanagari: "Anek Devanagari", "Figtree", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --leading-display: 1;
  --leading-heading: 1.15;
  --leading-body: 1.65;
  --tracking-wordmark: -0.05em;
  --tracking-display: -0.045em;
  --tracking-heading: -0.03em;
  --tracking-caption: 0.36em;
  --tracking-eyebrow: 0.3em;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --gutter-page: clamp(24px, 6.6vw, 96px);
  --measure-prose: 68ch;
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  color: var(--text-body);
  background-color: var(--surface-page);
  background-image: var(--grain), var(--wash-paper);
  background-blend-mode: soft-light, normal;
  background-size: 140px 140px, auto;
  font-family: var(--font-latin);
  font-size: 16px;
  line-height: var(--leading-body);
}

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

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

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

h1,
h2,
h3 {
  color: var(--text-primary);
  font-weight: 600;
  text-wrap: pretty;
}

a {
  color: var(--text-accent);
  text-decoration: none;
  transition: color 120ms var(--ease-out);
}

a:hover {
  color: var(--text-primary);
}

button,
input,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

::selection {
  background: var(--sand-100);
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 16px;
  color: var(--text-on-ink);
  background: var(--surface-ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  color: var(--text-on-ink);
  transform: translateY(0);
}

.site {
  max-width: 1440px;
  min-height: 100vh;
  margin: 0 auto;
  overflow-x: clip;
  background: var(--surface-page);
}

.site-header-wrap {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--surface-page);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 89px;
  gap: var(--space-6);
  padding: 22px var(--gutter-page);
  border-bottom: 1px solid var(--border-hairline);
}

.wordmark-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: inherit;
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  line-height: 1;
}

.wordmark-stack {
  display: grid;
  align-items: baseline;
  justify-items: start;
}

.wordmark-script {
  grid-area: 1 / 1;
  visibility: visible;
  color: var(--text-primary);
  font-size: 26px;
  clip-path: inset(-15% -8% -25% -8%);
  transition: clip-path 620ms var(--ease-out);
}

.wordmark-script[lang="en"] {
  margin-left: -0.047em;
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: var(--tracking-wordmark);
}

.wordmark-script[lang="hi"] {
  margin-left: -0.08em;
  padding: 0 0.08em;
  overflow: visible;
  color: transparent;
  background-image: var(--wordmark-sweep);
  -webkit-background-clip: text;
  background-clip: text;
  font-family: var(--font-devanagari);
  font-weight: 500;
  line-height: 1.1;
}

.wordmark-script[aria-hidden="true"] {
  visibility: hidden;
  clip-path: inset(-15% 108% -25% -8%);
  transition: clip-path 620ms var(--ease-out), visibility 0ms linear 620ms;
}

.wordmark-caption {
  font-size: 9px;
  font-weight: 600;
  line-height: var(--leading-body);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.footer-wordmark {
  gap: 4.5px;
}

.footer-wordmark .wordmark-script {
  font-size: 30px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.site-nav > a:not(.button) {
  position: relative;
  white-space: nowrap;
  color: var(--text-body);
  border-bottom: 1px solid transparent;
  font-size: 15px;
  font-weight: 500;
}

.site-nav > a:not(.button)::after {
  position: absolute;
  top: 50%;
  right: -6px;
  left: -6px;
  height: 44px;
  content: "";
  transform: translateY(-50%);
}

.site-nav > a[aria-current="page"] {
  color: var(--text-accent);
  border-color: currentColor;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle-line {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0;
  border-radius: 2px;
  background: var(--ink-900);
  transition: transform 200ms var(--ease-out), opacity 200ms var(--ease-out);
}

.site-header[data-menu-open="true"] .menu-toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header[data-menu-open="true"] .menu-toggle-line:nth-child(2) {
  opacity: 0;
}

.site-header[data-menu-open="true"] .menu-toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.button {
  display: inline-flex;
  width: fit-content;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--ink-900);
  background: var(--marigold-500);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.1;
  cursor: pointer;
  transition: background 120ms var(--ease-out), color 120ms var(--ease-out), border-color 120ms var(--ease-out);
}

.button:hover {
  color: var(--paper-100);
  border-color: var(--amber-600);
  background: var(--amber-600);
}

.button-small {
  min-height: 36px;
  padding: 9px 18px;
  font-size: 14px;
}

.button-large {
  min-height: 54px;
  padding: 16px 32px;
  font-size: 17px;
}

.button-outline {
  color: var(--text-primary);
  border-color: var(--text-primary);
  background: transparent;
  font-weight: 500;
}

.button-outline:hover {
  color: var(--text-primary);
  border-color: var(--text-primary);
  background: var(--sand-050);
}

.eyebrow {
  margin-bottom: var(--space-4);
  color: var(--text-accent);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: var(--tracking-caption);
  line-height: var(--leading-body);
  text-transform: uppercase;
}

.display-heading {
  font-size: clamp(30px, 4vw, 52px);
  line-height: var(--leading-heading);
  letter-spacing: var(--tracking-display);
}

.page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-hairline);
  background-image: var(--wash-sunrise);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 78ch;
  padding: clamp(56px, 8vw, 120px) var(--gutter-page) clamp(48px, 6vw, 88px);
}

.page-hero .eyebrow {
  margin-bottom: clamp(20px, 3vw, 32px);
}

.page-title {
  font-size: clamp(34px, 4.8vw, 64px);
  line-height: var(--leading-display);
  letter-spacing: var(--tracking-display);
}

.page-lead {
  margin-top: clamp(24px, 3vw, 36px);
  color: var(--ink-700);
  font-size: clamp(19px, 1.5vw, 22px);
  line-height: var(--leading-body);
  text-wrap: pretty;
}

.hero-home {
  --hero-rings: repeating-radial-gradient(circle at 130% 50%, transparent 0 104px, var(--tint-amber-16) 104px 105px, transparent 105px 208px);
  min-height: calc(100svh - 89px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(56px, 8vw, 120px) var(--gutter-page);
  border-bottom: 1px solid var(--border-hairline);
  background-image: var(--hero-rings), var(--wash-sunrise);
}

.hero-home .eyebrow {
  margin-bottom: clamp(20px, 3vw, 32px);
}

.hero-title {
  position: relative;
  max-width: 17ch;
  font-size: clamp(38px, 5.6vw, 84px);
  line-height: var(--leading-display);
  letter-spacing: var(--tracking-display);
}

.hero-title-measure {
  visibility: hidden;
}

.hero-title-text {
  position: absolute;
  inset: 0;
}

.typing-caret {
  display: inline-block;
  width: 0.05em;
  height: 0.78em;
  margin-left: 0.06em;
  background: var(--text-accent);
  animation: caret-blink 900ms step-end infinite;
}

@keyframes caret-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-lead {
  max-width: 52ch;
  margin-top: clamp(24px, 3.4vw, 40px);
  color: var(--ink-700);
  font-size: clamp(28px, 1.9vw, 32px);
  line-height: var(--leading-body);
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: clamp(32px, 4vw, 48px);
}

.section {
  padding: clamp(64px, 8.5vw, 128px) var(--gutter-page);
}

.section-heading-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-5);
  margin-bottom: clamp(40px, 5vw, 72px);
}

.section-heading-row .display-heading {
  max-width: 24ch;
}

.section-intro {
  max-width: 34ch;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: var(--leading-body);
}

.featured-project {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  align-items: stretch;
  border: 1px solid var(--border-hairline);
  background: var(--surface-card);
}

.featured-copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding: clamp(28px, 3.4vw, 48px);
}

.featured-title {
  font-size: clamp(26px, 2.6vw, 42px);
  line-height: var(--leading-heading);
  letter-spacing: var(--tracking-heading);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line-300);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.project-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: var(--space-5);
}

.detail-label {
  margin-bottom: var(--space-2);
  color: var(--text-secondary);
  font-size: 12px;
  letter-spacing: var(--tracking-caption);
  text-transform: uppercase;
}

.detail-copy {
  color: var(--text-body);
  font-size: 16px;
  line-height: var(--leading-body);
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-2) var(--space-5);
  margin-top: auto;
  padding-top: var(--space-5);
  border-top: 1px solid var(--border-hairline);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 14px;
}

.text-link {
  border-bottom: 1px solid currentColor;
}

.featured-shot {
  display: flex;
  min-height: 380px;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 3vw, 32px);
  border-left: 1px solid var(--border-hairline);
  background: var(--surface-sunken);
}

.device-frame {
  display: block;
  width: 100%;
  padding: 8px 8px 12px;
  border: 1px solid var(--border-hairline);
  border-radius: 18px;
  background: var(--surface-card);
  box-shadow: 0 14px 30px -18px rgba(31, 24, 12, 0.14), 0 3px 10px -6px rgba(31, 24, 12, 0.06);
}

.device-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--border-hairline);
  border-radius: 10px;
  object-fit: cover;
  object-position: center;
  background: var(--surface-sunken);
}

.device-frame img.image-contain {
  object-fit: contain;
}

.device-frame img.image-top {
  object-position: top center;
}

.device-home {
  display: block;
  width: 28px;
  height: 3px;
  margin: 5px auto 0;
  border-radius: 999px;
  background: var(--tint-amber-16);
}

.work-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.case-card-link {
  display: flex;
  height: 100%;
  color: inherit;
}

.case-card {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-6);
  background: var(--surface-card);
  box-shadow: inset 0 0 0 1px var(--border-hairline);
  transition: background 200ms var(--ease-out);
}

.case-card-link:hover .case-card {
  background: var(--paper-200);
}

.case-card-link:hover {
  color: inherit;
}

.case-kicker {
  color: var(--text-accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  line-height: 1.4;
  text-transform: uppercase;
}

.case-title {
  color: var(--text-primary);
  font-size: 26px;
  line-height: var(--leading-heading);
  letter-spacing: var(--tracking-heading);
}

.case-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: var(--space-4);
  color: var(--text-secondary);
  font-size: 15px;
  line-height: var(--leading-body);
}

.case-body .detail-copy {
  font-size: 15px;
}

.case-domain {
  margin-top: auto;
  color: var(--text-accent);
  font-family: var(--font-mono);
  font-size: 14px;
}

.case-footer {
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--border-hairline);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 12px;
}

.all-projects-link {
  display: flex;
  justify-content: flex-start;
  margin-top: clamp(28px, 3.5vw, 44px);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border-hairline);
  font-family: var(--font-mono);
  font-size: 15px;
}

.services-section {
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
  background: var(--surface-sunken);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  align-items: start;
  gap: clamp(32px, 5vw, 72px);
}

.services-intro {
  position: sticky;
  top: clamp(32px, 4vw, 56px);
}

.services-intro .display-heading {
  max-width: 18ch;
}

.services-lead {
  max-width: 38ch;
  margin-top: var(--space-5);
  color: var(--text-body);
  font-size: 18px;
  line-height: var(--leading-body);
}

.service-item {
  display: grid;
  grid-template-columns: 3ch 1fr;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--line-300);
}

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

.step-number {
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 14px;
}

.service-title,
.process-title {
  margin-bottom: var(--space-2);
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: var(--tracking-heading);
}

.service-copy,
.process-copy {
  color: var(--text-body);
  font-size: 16px;
  line-height: var(--leading-body);
}

.process-section {
  padding-bottom: 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(40px, 5vw, 72px);
  border-top: 1px solid var(--border-hairline);
}

.process-step {
  padding: var(--space-6) var(--space-5);
  border-right: 1px solid var(--border-hairline);
}

.process-step:first-child {
  padding-left: 0;
}

.process-step:last-child {
  padding-right: 0;
  border-right: 0;
}

.process-step .step-number {
  color: var(--text-accent);
}

.process-title {
  margin-top: var(--space-4);
  margin-bottom: var(--space-3);
}

.handloom-motif {
  height: 120px;
  background-image: repeating-linear-gradient(90deg, var(--tint-amber-26) 0 1.5px, transparent 1.5px 26px, var(--tint-amber-12) 26px 40px, transparent 40px 66px), var(--wash-paper);
}

.stack-section {
  padding-top: clamp(56px, 7vw, 104px);
  padding-bottom: clamp(56px, 7vw, 104px);
}

.stack-section .display-heading {
  max-width: 20ch;
  font-size: clamp(26px, 3vw, 42px);
  letter-spacing: var(--tracking-heading);
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: clamp(32px, 4vw, 56px);
  margin-top: clamp(32px, 4vw, 56px);
  padding-top: clamp(28px, 3vw, 40px);
  border-top: 1px solid var(--line-300);
}

.stack-label {
  margin-bottom: var(--space-4);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 14px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.tag-list .tag:not(.tag-outline) {
  color: var(--amber-600);
  background: var(--sand-050);
  box-shadow: none;
}

.ink-motif {
  height: 140px;
  background-color: var(--surface-ink);
  background-image: var(--grain), repeating-radial-gradient(circle at 50% 118%, transparent 0 56px, var(--tint-turmeric-16) 56px 57px, transparent 57px 114px), var(--wash-ink);
  background-blend-mode: soft-light, normal, normal;
  background-size: 140px 140px, auto, auto;
}

.contact-section,
.join-section {
  background: var(--surface-ink);
}

.contact-grid,
.join-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  align-items: start;
  gap: clamp(40px, 6vw, 96px);
  padding: clamp(48px, 6vw, 96px) var(--gutter-page) clamp(64px, 8vw, 120px);
}

.contact-copy {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 48px);
}

.on-ink-eyebrow {
  color: var(--turmeric-400);
}

.contact-title,
.join-title {
  max-width: 20ch;
  color: var(--text-on-ink);
  font-size: clamp(32px, 4.6vw, 66px);
  line-height: var(--leading-heading);
  letter-spacing: var(--tracking-display);
}

.contact-lead,
.join-lead {
  max-width: 44ch;
  margin-top: var(--space-5);
  color: var(--text-on-ink-muted);
  font-size: 18px;
  line-height: var(--leading-body);
}

.direct-contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding-top: clamp(20px, 3vw, 32px);
  border-top: 1px solid var(--tint-amber-16);
}

.mono-caption {
  color: var(--text-on-ink-muted);
  font-family: var(--font-mono);
  font-size: 14px;
}

.contact-email,
.join-email {
  width: fit-content;
  border-bottom: 1px solid currentColor;
  color: var(--turmeric-400);
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: var(--tracking-heading);
}

.contact-email:hover,
.join-email:hover {
  color: var(--paper-100);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: clamp(28px, 3.4vw, 44px);
  border: 1px solid var(--tint-amber-16);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
  gap: var(--space-4);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-label {
  color: var(--text-on-ink-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  line-height: 1.4;
  text-transform: uppercase;
}

.form-input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--tint-amber-16);
  border-radius: 0;
  outline: none;
  color: var(--text-on-ink);
  background: rgba(250, 244, 232, 0.07);
  font-size: 16px;
  transition: border-color 120ms var(--ease-out);
}

.form-input:focus {
  border-color: var(--turmeric-400);
}

.form-input::placeholder {
  color: var(--text-on-ink-muted);
  opacity: 0.72;
}

textarea.form-input {
  min-height: 112px;
  resize: vertical;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: var(--space-2);
}

.form-actions .mono-caption {
  color: var(--text-on-ink-muted);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding: clamp(40px, 4vw, 64px) var(--gutter-page);
  border-top: 1px solid var(--border-hairline);
}

.footer-copy {
  max-width: var(--measure-prose);
  margin-bottom: 16px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: var(--leading-body);
}

.projects-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding: clamp(48px, 8vw, 96px) var(--gutter-page);
}

.project-row {
  display: grid;
  grid-template-columns: clamp(140px, 20vw, 240px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  margin: 0 calc(-1 * var(--space-5));
  padding: var(--space-5);
  border-bottom: 1px solid var(--line-300);
  transition: background 200ms var(--ease-out);
}

.project-row:hover,
.project-row:focus-within {
  background: var(--surface-sunken);
}

.project-row-image {
  color: inherit;
}

.project-row-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-2);
}

.project-row-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-2) var(--space-4);
}

.project-row-title {
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: var(--tracking-heading);
}

.project-row-title a {
  color: var(--text-primary);
}

.project-row-domain,
.project-tech,
.project-designer {
  font-family: var(--font-mono);
  font-size: 14px;
}

.project-row-copy {
  max-width: 60ch;
  color: var(--text-body);
  font-size: 16px;
  line-height: var(--leading-body);
}

.project-tech,
.project-designer {
  color: var(--text-secondary);
}

.project-designer a {
  border-bottom: 1px solid currentColor;
}

.sunrise-motif {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
}

.sunrise-arc {
  display: flex;
  width: 92%;
  height: 72%;
  align-items: flex-end;
  justify-content: center;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, rgba(255, 217, 163, 0.4) 0%, rgba(255, 217, 163, 0.15) 100%);
}

.sunrise-arc .sunrise-arc {
  width: 70%;
  height: 72%;
  background: linear-gradient(180deg, rgba(255, 143, 28, 0.32) 0%, rgba(255, 143, 28, 0.12) 100%);
}

.sunrise-arc .sunrise-arc .sunrise-arc {
  width: 62%;
  height: 62%;
  background: linear-gradient(180deg, rgba(161, 99, 28, 0.4) 0%, rgba(161, 99, 28, 0.18) 100%);
}

.about-hero {
  background-image: radial-gradient(var(--tint-amber-26) 1.5px, transparent 2px), var(--wash-paper);
  background-size: 34px 34px, auto;
}

.team-heading {
  margin-bottom: clamp(40px, 5vw, 72px);
}

.team-heading .display-heading {
  max-width: 24ch;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: var(--space-5);
}

.team-member {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.team-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.team-name {
  font-size: 26px;
  line-height: var(--leading-heading);
  letter-spacing: var(--tracking-heading);
}

.team-role {
  margin-top: var(--space-1);
  color: var(--text-accent);
  font-family: var(--font-mono);
  font-size: 14px;
}

.join-grid {
  align-items: end;
  gap: clamp(32px, 5vw, 72px);
}

.join-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

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

.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 420ms var(--ease-out), transform 420ms var(--ease-out);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1199px) and (min-width: 780px) {
  .work-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .work-cards > :last-child {
    grid-column: 1 / -1;
  }

  .work-cards > :last-child .device-frame img {
    aspect-ratio: 24 / 9;
  }
}

@media (max-width: 1105px) and (min-width: 780px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-step:nth-child(odd) {
    padding-left: 0;
  }

  .process-step:nth-child(even) {
    padding-right: 0;
    border-right: 0;
  }

  .process-step:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border-hairline);
  }
}

@media (max-width: 799px) {
  .services-intro {
    position: static;
  }
}

@media (max-width: 785px) {
  .featured-shot {
    min-height: 0;
    border-top: 1px solid var(--border-hairline);
    border-left: 0;
  }
}

@media (max-width: 779px) {
  .work-cards,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .work-cards > :last-child {
    grid-column: auto;
  }

  .work-cards > :last-child .device-frame img {
    aspect-ratio: 16 / 10;
  }

  .process-step {
    padding-right: 0;
    padding-left: 0;
    border-right: 0;
  }

  .process-step:not(:last-child) {
    border-bottom: 1px solid var(--border-hairline);
  }
}

@media (max-width: 639px) {
  .site-header {
    flex-wrap: wrap;
  }

  .js .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
  }

  .site-nav {
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 4px;
  }

  .js .site-nav {
    display: none;
  }

  .js .site-header[data-menu-open="true"] .site-nav {
    display: flex;
  }

  .site-nav > a:not(.button) {
    display: flex;
    min-height: 44px;
    align-items: center;
    border-bottom: 1px solid var(--border-hairline);
  }

  .site-nav > a:not(.button)::after {
    display: none;
  }

  .site-nav .button {
    width: 100%;
    margin-top: var(--space-4);
  }

  .hero-actions {
    flex-direction: column;
  }

  .page-hero-content {
    max-width: none;
  }

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

  .site-footer {
    align-items: flex-start;
  }
}

@media (max-width: 599px) {
  .project-row {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@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;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
