/* Starverz — paper, ink, and the press */

:root {
  --paper: #eeeeee;
  --paper-2: #e5e5e5;
  --paper-3: #e5e5e5;
  --ink: #23374d;
  --ink-soft: #3a5168;
  --muted: #6b7c8d;
  --line: #d5d5d5;
  --carmine: #1089ff;
  --carmine-deep: #0b6fd4;
  --indigo: #23374d;
  --gold: #1089ff;
  --cyan-ink: #1089ff;
  --magenta-ink: #23374d;
  --yellow-ink: #1089ff;
  --shadow: 0 18px 40px rgba(35, 55, 77, 0.12);
  --header-h: 84px;
  --content: 1140px;
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body: "Outfit", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: #eeeeee;
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
}

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

a {
  color: var(--carmine);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

a:hover {
  color: var(--carmine-deep);
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 80;
  padding: 8px 14px;
  background: var(--carmine);
  color: var(--paper);
  font-weight: 500;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

.wrap {
  width: min(var(--content), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  border-bottom: 1px solid var(--line);
  background: rgba(238, 238, 238, 0.92);
  backdrop-filter: blur(12px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.mark {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.brand-meta {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 8px 12px;
  position: relative;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}

.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 1px;
  background: var(--carmine);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--paper-3);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  position: relative;
  margin: 0 auto;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

main {
  position: relative;
  z-index: 1;
  animation: page-in 0.5s ease both;
}

body.is-leaving main {
  animation: page-out 0.28s ease both;
}

@keyframes page-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes page-out {
  from {
    opacity: 1;
    transform: none;
  }
  to {
    opacity: 0;
    transform: translateY(-12px);
  }
}

.kicker {
  margin: 0 0 12px;
  color: var(--carmine);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 16px;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  font-style: italic;
  font-weight: 500;
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  font-style: italic;
}

h3 {
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 500;
}

.lede,
.muted {
  color: var(--ink-soft);
}

.lede {
  font-size: 1.12rem;
  max-width: 38rem;
  font-weight: 300;
}

.page-hero {
  padding: 80px 0 20px;
}

.page-hero h1 {
  max-width: 16ch;
}

.section {
  padding: 80px 0;
}

.section.tight {
  padding: 36px 0 88px;
}

.home-band {
  padding: 24px 0 16px;
}

.home-band + .home-band {
  padding-top: 8px;
}

.home-band .section-head {
  margin-bottom: 16px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 36px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.section-head p {
  margin: 0;
  max-width: 36ch;
  color: var(--muted);
}

.hero-landing {
  position: relative;
  width: 100%;
  min-height: calc(100svh - var(--header-h));
  overflow: hidden;
  background: var(--paper-2);
}

.hero-landing-bg {
  display: block;
  width: 100%;
  height: calc(100svh - var(--header-h));
  object-fit: cover;
  object-position: center;
}

.hero-intro {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 48px;
  align-items: start;
  padding: 56px 0 24px;
}

.hero-intro .lede {
  max-width: 42rem;
}

.hero-title {
  margin-bottom: 10px;
}

.role {
  margin: 0 0 20px;
  color: var(--indigo);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 28px;
}

.stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  justify-self: end;
  width: 100%;
  text-align: right;
}

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

.stat + .stat {
  padding-left: 0;
  border-left: 0;
}

.stat b {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  font-weight: 500;
}

.stat span {
  color: var(--muted);
  font-size: 0.82rem;
}

.hero-frame {
  position: relative;
  margin: 0;
}

.hero-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: sepia(0.18) contrast(1.05);
  box-shadow: var(--shadow);
  transform: rotate(1.6deg);
}

.hero-frame figcaption,
.hero-chip {
  margin-top: 14px;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--muted);
  font-size: 0.95rem;
  transform: rotate(1.6deg);
}

.hero-chip {
  position: static;
  display: block;
  padding: 0;
  background: none;
  border: 0;
  letter-spacing: 0;
  text-transform: none;
}

.dot {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary,
.btn-amber {
  background: var(--carmine);
  color: #eeeeee;
}

.btn-primary:hover,
.btn-amber:hover {
  background: var(--carmine-deep);
  color: #eeeeee;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

.grid-3,
.grid-2 {
  display: grid;
  gap: 28px;
}

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

.card,
.skill-group {
  background: var(--paper-3);
  border: 0;
  border-top: 3px solid var(--carmine);
  padding: 26px 24px 28px;
  box-shadow: none;
}

.card:nth-child(2),
.skill-group:nth-child(2) {
  border-top-color: var(--indigo);
}

.card:nth-child(3) {
  border-top-color: var(--gold);
}

.card h3 {
  margin-bottom: 10px;
}

.card p:last-child,
.card ul:last-child {
  margin-bottom: 0;
}

.card ul,
.prose ul {
  padding-left: 18px;
  color: var(--ink-soft);
}

.card li + li,
.prose li + li {
  margin-top: 8px;
}

.pillar-index {
  margin: 0 0 8px;
  color: var(--gold);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 18px;
}

.tag {
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 0.82rem;
}

.tag::before {
  content: "· ";
  color: var(--carmine);
}

.layers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 8px;
}

.layer {
  padding: 8px 4px 0;
  border: 0;
  background: none;
}

.layer b {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--carmine);
  line-height: 1;
}

.layer:nth-child(2) b { color: var(--indigo); }
.layer:nth-child(3) b { color: var(--gold); }

.ink-plates {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 160px;
  margin: 8px 0 36px;
}

.plate {
  width: 110px;
  height: 110px;
  margin-left: -28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #eeeeee;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  mix-blend-mode: multiply;
}

.plate:first-child { margin-left: 0; }
.plate-c { background: rgba(42, 143, 154, 0.72); }
.plate-m { background: rgba(184, 74, 122, 0.72); }
.plate-y { background: rgba(224, 179, 58, 0.72); color: var(--ink); }
.plate-k { background: rgba(28, 20, 16, 0.62); }

.prose {
  max-width: 68ch;
}

.prose p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.timeline {
  display: grid;
  gap: 32px;
}

.job {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 28px;
  padding: 0 0 28px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
}

.job time,
.meta {
  color: var(--muted);
  font-size: 0.88rem;
}

.job time {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink);
}

.skill-list,
.craft-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.skill,
.craft-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.bar {
  display: none;
}

.project {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  border: 0;
  background: none;
  overflow: visible;
  margin-bottom: 72px;
}

.project.reverse .project-copy { order: 2; }
.project.reverse .project-visual { order: 1; }

.project-copy,
.project-visual {
  padding: 0;
}

.project-visual {
  background: none;
  border: 0;
  min-height: 0;
}

.project-visual img {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: sepia(0.12);
  box-shadow: var(--shadow);
}

.project:nth-child(odd) .project-visual img {
  transform: rotate(-1.2deg);
}

.project:nth-child(even) .project-visual img {
  transform: rotate(1.4deg);
}

.gallery-grid {
  columns: 3;
  column-gap: 22px;
}

.gallery-grid .shot,
.project-grid .shot,
.project-grid .shot:nth-child(n),
.home-carousel .shot {
  transform: none;
  margin: 0 0 22px;
  padding: 0;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
  display: grid;
  grid-template-rows: auto auto;
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.project-grid .shot,
.project-grid .shot:nth-child(n) {
  margin: 0;
  aspect-ratio: 3 / 2;
  grid-template-rows: 1fr auto;
}

.gallery-grid .shot img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: cover;
  display: block;
}

.project-grid .shot img {
  aspect-ratio: auto;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.gallery-grid .shot-cap,
.project-grid .shot-cap,
.home-carousel .shot-cap {
  padding: 7px 12px 8px;
  line-height: 1.2;
}

.gallery-grid .shot-cap strong,
.project-grid .shot-cap strong,
.home-carousel .shot-cap strong {
  font-size: 0.95rem;
  line-height: 1.2;
  margin: 0;
}

.gallery-grid .shot-cap span,
.project-grid .shot-cap span,
.home-carousel .shot-cap span {
  display: block;
  font-size: 0.72rem;
  line-height: 1.2;
}

.home-carousel {
  overflow: hidden;
  width: 100%;
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
}

.home-carousel.is-dragging {
  cursor: grabbing;
}

.home-carousel-track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  will-change: transform;
}

.home-carousel-set {
  display: flex;
  flex-wrap: nowrap;
  gap: 18px;
  padding-right: 18px;
}

.home-carousel .shot {
  flex: 0 0 340px;
  width: 340px;
  max-width: 340px;
  margin: 0;
  aspect-ratio: 3 / 2;
  grid-template-rows: 1fr auto;
}

.home-carousel .shot,
.home-carousel .shot img {
  -webkit-user-drag: none;
  user-select: none;
}

.home-carousel .shot img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  pointer-events: none;
}

.home-carousel .shot-cap {
  padding: 7px 12px 8px;
  line-height: 1.2;
}

.home-carousel .shot-cap strong {
  font-size: 0.95rem;
  line-height: 1.2;
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .home-carousel {
    overflow-x: auto;
    cursor: default;
  }
}

.shot {
  break-inside: avoid;
  margin: 0 0 28px;
  border: 0;
  background: var(--paper-3);
  cursor: zoom-in;
  padding: 12px 12px 0;
  width: 100%;
  text-align: left;
  color: inherit;
  font: inherit;
  text-decoration: none;
  box-shadow: var(--shadow);
  transform: none;
}

a.shot {
  cursor: pointer;
  display: block;
}

a.shot:hover {
  color: inherit;
}

.shot img {
  width: 100%;
  height: auto;
  filter: sepia(0.12) contrast(1.04);
}

.shot-cap {
  padding: 12px 4px 16px;
}

.shot strong {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  font-weight: 500;
}

.shot span {
  color: var(--muted);
  font-size: 0.86rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  place-items: center;
  background: rgba(28, 20, 16, 0.82);
  padding: 24px;
}

.lightbox.open {
  display: grid;
}

.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 78vh;
  object-fit: contain;
}

.lightbox p {
  color: #e5e5e5;
  text-align: center;
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-style: italic;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  color: var(--paper);
  border-color: var(--paper);
}

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

.form {
  display: grid;
  gap: 16px;
}

.form > p {
  margin: 0;
}

.form button[type="submit"] {
  width: 100%;
}

label {
  display: grid;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

input,
textarea,
select {
  width: 100%;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: inherit;
  border-radius: 0;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-bottom-color: var(--carmine);
}

.select {
  position: relative;
  display: block;
}

.select-native {
  position: absolute;
  left: -9999px;
  top: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: inherit;
  line-height: inherit;
  text-align: left;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.select-value {
  display: block;
  min-width: 0;
  padding: 0;
  margin: 0;
}

.select-trigger:focus-visible,
.select-trigger[aria-expanded="true"] {
  outline: none;
  border-bottom-color: var(--carmine);
}

.select-chevron {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: var(--carmine);
  transition: transform 0.2s ease;
}

.select-trigger[aria-expanded="true"] .select-chevron {
  transform: rotate(180deg);
}

.form .select-menu,
ul.select-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 12;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 6px;
  padding-inline: 6px;
  list-style: none;
  background: #eeeeee;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 12px;
}

.select-menu[hidden] {
  display: none;
}

.select-menu [role="option"] {
  box-sizing: border-box;
  margin: 0;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
}

.select-menu [role="option"]:hover,
.select-menu [role="option"].is-active {
  background: #e5e5e5;
}

.select-menu [role="option"][aria-selected="true"] {
  background: rgba(16, 137, 255, 0.14);
  color: var(--carmine);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note,
.form-status {
  font-size: 0.88rem;
  color: var(--muted);
}

.form-status.ok { color: var(--indigo); }
.form-status.err { color: var(--carmine); }

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 36px;
}

.sign-name {
  margin: 4px 0 18px;
  font-family: "Caveat", "Segoe Script", cursive;
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--ink);
}

.reach-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--carmine);
  text-decoration: none;
  font-size: 1.05rem;
  word-break: break-all;
}

.reach-email:hover {
  color: var(--carmine-deep);
}

.reach-email svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}

.crumb {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.88rem;
}

.crumb a {
  color: var(--ink-soft);
  text-decoration: none;
}

.crumb a:hover {
  color: var(--carmine);
}

.case {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: start;
  padding: 56px 0 28px;
}

.case-hero .shot {
  transform: none;
  margin: 0;
  padding: 0;
  background: none;
  box-shadow: none;
  cursor: zoom-in;
}

.case-hero img {
  width: 100%;
  height: auto;
  box-shadow: var(--shadow);
  filter: sepia(0.1);
}

.case-hero figcaption {
  margin-top: 12px;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--muted);
}

.case-story .lede {
  margin-bottom: 20px;
}

.case-pager {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 8px 0 72px;
  border-top: 1px solid var(--line);
  margin-top: 12px;
}

.case-pager a {
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
}

.case-pager a:hover {
  color: var(--carmine);
}

.studio {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
  padding: 28px 0 88px;
}

.studio-nav {
  position: sticky;
  top: calc(var(--header-h) + 28px);
}

.studio-nav .kicker {
  margin-bottom: 18px;
}

.studio-nav button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--ink-soft);
  cursor: pointer;
}

.studio-nav button:hover {
  color: var(--ink);
}

.studio-nav button[aria-current="true"] {
  color: var(--carmine);
}

.studio-stage {
  position: relative;
  min-width: 0;
}

.collection {
  display: none;
}

.collection.is-active {
  display: block;
  animation: collection-in 0.4s ease;
}

.collection.is-leaving {
  display: block;
  pointer-events: none;
  animation: collection-out 0.18s ease forwards;
}

@keyframes collection-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes collection-out {
  from {
    opacity: 1;
    transform: none;
  }
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

.collection-head {
  margin-bottom: 28px;
}

.collection-head h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  padding: 40px 0 28px;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 180px 1.2fr 1fr 1fr;
  gap: 32px;
  align-items: start;
  font-size: 0.92rem;
}

.footer-logo {
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 2;
  width: 100%;
  max-width: 180px;
  border: 1px dashed var(--line);
  background: var(--paper-3);
  color: var(--muted);
  text-decoration: none;
  font-family: var(--font-display);
  font-style: italic;
}

.footer-logo:hover {
  color: var(--carmine);
  border-color: var(--carmine);
}

.footer-brand {
  color: var(--ink);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
  font-size: 1.4rem;
  margin: 0 0 6px;
}

.footer-tag {
  margin: 0 0 10px;
  color: var(--ink-soft);
}

.footer-grid h2 {
  font-size: 0.78rem;
  font-style: normal;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 12px;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid li + li {
  margin-top: 6px;
}

.footer-grid a {
  color: var(--ink-soft);
  text-decoration: none;
}

.footer-grid a:hover {
  color: var(--carmine);
}

.footer-grid p {
  margin: 0 0 8px;
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
}

@media (max-width: 900px) {
  .hero,
  .grid-3,
  .grid-2,
  .project,
  .project.reverse,
  .job,
  .contact-grid,
  .section-head,
  .studio,
  .case,
  .hero-intro,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .studio-nav {
    position: static;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 6px;
    margin-bottom: 8px;
  }

  .studio-nav .kicker {
    display: none;
  }

  .studio-nav button {
    flex: 0 0 auto;
    width: auto;
    border: 1px solid var(--line);
    padding: 8px 14px;
    font-size: 1.1rem;
    white-space: nowrap;
  }

  .studio-nav button[aria-current="true"] {
    border-color: var(--carmine);
  }

  .project.reverse .project-copy,
  .project.reverse .project-visual {
    order: unset;
  }

  .gallery-grid { columns: 2; }
  .project-grid { grid-template-columns: 1fr; }
  .stats {
    justify-self: stretch;
    text-align: left;
    max-width: 280px;
  }

  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    background: rgba(238, 238, 238, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .nav.open { display: flex; }

  .hero-frame img,
  .hero-chip,
  .project-visual img {
    transform: none;
  }
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .wrap { width: min(var(--content), calc(100% - 32px)); }
  .gallery-grid { columns: 1; }
  .hero-landing,
  .hero-landing-bg { min-height: calc(100svh - var(--header-h)); }
  .hero-intro { padding-top: 36px; }
  .layers { grid-template-columns: 1fr; }
  h1 { font-size: clamp(2.4rem, 12vw, 3.4rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
