:root {
  --paper: #f1efea;
  --paper-warm: #fff8ec;
  --ink: #171513;
  --muted: #6c6256;
  --red: #871e1f;
  --red-bright: #f42923;
  --blue: #91bfdc;
  --line: rgba(23, 21, 19, 0.16);
  --paper-line: rgba(241, 239, 234, 0.24);
  --shadow: 0 24px 70px rgba(38, 28, 17, 0.2);
  --soft-shadow: 0 14px 34px rgba(38, 28, 17, 0.12);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --content-max: 1180px;
  --light-x: 50%;
  --light-y: 50%;
  --parallax-x: 0px;
  --parallax-y: 0px;
  --parallax-scroll: 0px;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0.25;
  mix-blend-mode: multiply;
  background-image:
    linear-gradient(rgba(23, 21, 19, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 21, 19, 0.025) 1px, transparent 1px);
  background-size: 17px 17px, 23px 23px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
  padding: 0.75rem clamp(1rem, 4vw, 4rem);
  color: var(--paper);
  transition: background 220ms ease, box-shadow 220ms ease, color 220ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(241, 239, 234, 0.94);
  color: var(--ink);
  box-shadow: 0 10px 35px rgba(38, 28, 17, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 132px;
  height: 48px;
  overflow: hidden;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2.5vw, 1.8rem);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links a {
  padding: 0.75rem 0;
}

.nav-cta {
  background: var(--red);
  color: var(--paper);
  padding: 0.75rem 1rem !important;
}

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

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 8px auto;
  background: currentColor;
}

.page-shell {
  min-height: 100vh;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 92svh;
  display: grid;
  grid-template-columns: minmax(1rem, 1fr) minmax(0, var(--content-max)) minmax(1rem, 1fr);
  grid-template-rows: 1fr auto;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}

.hero__scene {
  position: absolute;
  inset: -3%;
  z-index: -4;
  transform: translate3d(var(--parallax-x), calc(var(--parallax-y) + var(--parallax-scroll)), 0);
  transform-origin: center;
  transition: transform 650ms var(--ease);
  will-change: transform;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% 50%;
  image-rendering: auto;
}

.hero__image--red {
  z-index: 2;
  opacity: 1;
}

.hero__image--studio {
  z-index: 1;
}

.hero__scratch-canvas {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}

.hero__light {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: screen;
  filter: blur(2px);
  background: radial-gradient(
    circle at var(--light-x) var(--light-y),
    rgba(255, 248, 205, 0.58) 0 4rem,
    rgba(255, 188, 74, 0.2) 8rem,
    rgba(255, 255, 255, 0) 18rem
  );
  transition: opacity 180ms var(--ease);
}

.hero.is-illuminating .hero__light {
  opacity: 1;
}

.hero.is-scratch-ready .hero__image--red {
  opacity: 0;
}

.hero.is-scratch-ready .hero__scratch-canvas {
  opacity: 1;
}

.hero__grain {
  position: absolute;
  inset: 0;
  z-index: 5;
  opacity: 0.12;
  pointer-events: none;
  mix-blend-mode: overlay;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 3px 3px, 4px 4px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(23, 21, 19, 0.42), rgba(23, 21, 19, 0.1) 48%, rgba(23, 21, 19, 0)),
    linear-gradient(0deg, rgba(23, 21, 19, 0.24), rgba(23, 21, 19, 0) 46%, rgba(23, 21, 19, 0.08));
}

.hero__content {
  grid-column: 2;
  align-self: center;
  width: min(48vw, 560px);
  max-width: 560px;
  padding: 7.2rem 0 4.8rem;
  z-index: 10;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--red-bright);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero .eyebrow,
.manifesto .eyebrow,
.contact .eyebrow {
  color: var(--paper);
}

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

h1,
h2,
h3 {
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero__title {
  max-width: 9.6ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 4.65vw, 4.8rem);
  font-weight: 500;
  line-height: 0.95;
  text-wrap: balance;
}

.hero__copy {
  max-width: 36rem;
  margin: 1.2rem 0 0;
  color: rgba(241, 239, 234, 0.88);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.7rem 0 1.4rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid currentColor;
  padding: 0.85rem 1.1rem;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0 rgba(23, 21, 19, 0.72);
}

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

.button--ghost {
  background: rgba(241, 239, 234, 0.12);
  color: var(--paper);
  backdrop-filter: blur(12px);
}

.handwriting {
  font-family: "Caveat", "Comic Sans MS", cursive;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 0.95;
}

.hero-note {
  max-width: 21rem;
  margin: 0;
  color: var(--paper);
  transform: rotate(-2deg);
}

.section-pad {
  padding: clamp(4.5rem, 8vw, 7rem) clamp(1.25rem, 4vw, 5rem);
}

.inline-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 1.2rem clamp(1.25rem, 4vw, 5rem);
  background: var(--ink);
  color: var(--paper);
}

.inline-cta p {
  margin: 0;
  transform: rotate(-2deg);
}

.section-heading {
  max-width: 980px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-heading--split {
  max-width: var(--content-max);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  text-align: left;
}

.services-heading {
  position: relative;
  max-width: var(--content-max);
  min-height: 5.8rem;
  display: grid;
  place-items: center;
  margin-bottom: 2.4rem;
}

.services-heading h2 {
  margin: 0;
  text-align: center;
}

.service-stickers {
  position: absolute;
  right: 0;
  top: 50%;
  display: flex;
  gap: 0.72rem;
  transform: translateY(-50%);
}

.sticker {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border: 1px solid var(--line);
  background: var(--paper-warm);
  box-shadow: 7px 7px 0 rgba(135, 30, 31, 0.1);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.sticker:hover {
  box-shadow: 10px 12px 0 rgba(135, 30, 31, 0.16);
  transform: translateY(-6px);
}

.sticker-camera {
  transform: rotate(-7deg);
}

.sticker-camera::before {
  content: "";
  width: 34px;
  height: 26px;
  border-radius: 4px;
  background: var(--ink);
}

.sticker-camera::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 3px solid var(--red);
  border-radius: 50%;
  background: var(--paper);
}

.sticker-mic {
  transform: rotate(6deg);
}

.sticker-mic::before {
  content: "";
  width: 15px;
  height: 28px;
  border-radius: 999px;
  background: var(--red);
}

.sticker-mic::after {
  content: "";
  position: absolute;
  top: 24px;
  width: 25px;
  height: 16px;
  border: solid var(--ink);
  border-width: 0 2px 2px;
  border-radius: 0 0 14px 14px;
}

.sticker-rec {
  width: 74px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: rotate(-3deg);
}

.sticker-rec::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 0.35rem;
  border-radius: 50%;
  background: var(--red);
}

.sticker-spark {
  background: transparent;
  box-shadow: none;
  transform: rotate(12deg);
}

.sticker-spark::before,
.sticker-spark::after {
  content: "";
  position: absolute;
  width: 44px;
  height: 2px;
  background: var(--red);
}

.sticker-spark::after {
  transform: rotate(90deg);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.2rem, 5.4vw, 5.15rem);
  line-height: 0.96;
  text-wrap: balance;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: 1.25rem;
  line-height: 1.08;
}

.section-subtitle {
  max-width: 680px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.05rem;
}

.manifesto {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  padding-top: clamp(3.5rem, 6vw, 5.2rem);
  padding-bottom: clamp(3.5rem, 6vw, 5.2rem);
}

.manifesto::before {
  content: "real";
  position: absolute;
  right: -0.08em;
  top: 0.05em;
  color: rgba(241, 239, 234, 0.035);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(8rem, 24vw, 22rem);
  font-style: italic;
  line-height: 0.8;
}

.manifesto-grid,
.split-section,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.8fr);
  gap: clamp(2rem, 4.5vw, 3.6rem);
  max-width: var(--content-max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.manifesto-grid {
  align-items: center;
  max-width: 1080px;
}

.manifesto h2 {
  max-width: 9.5ch;
  margin-bottom: 0;
  font-size: clamp(2.55rem, 4.5vw, 4.7rem);
}

.manifesto-copy {
  color: rgba(241, 239, 234, 0.78);
  font-size: 1rem;
  max-width: 520px;
}

.manifesto-copy > p {
  margin-bottom: 1.05rem;
}

.mini-card-grid {
  display: grid;
  gap: 0.6rem;
  margin-top: 1.35rem;
}

.mini-card-grid article {
  border: 1px solid rgba(241, 239, 234, 0.2);
  background: rgba(241, 239, 234, 0.035);
  padding: 0.82rem 0.95rem;
}

.mini-card-grid span,
.work-card span {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--red-bright);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mini-card-grid strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--paper);
  text-transform: uppercase;
}

.mini-card-grid p {
  font-size: 0.94rem;
  line-height: 1.45;
  margin: 0;
}

.services,
.work-section {
  background: var(--paper);
}

.service-grid,
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: var(--content-max);
  margin: 0 auto;
}

.service-card {
  position: relative;
  min-height: 260px;
  padding: 1.35rem;
  border: 1px solid var(--line);
  background: rgba(255, 248, 236, 0.78);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.service-card:nth-child(odd) {
  background: var(--red);
  border-color: rgba(135, 30, 31, 0.86);
  color: var(--paper);
}

.service-card:nth-child(even) {
  background: rgba(255, 248, 236, 0.78);
  color: var(--ink);
}

.service-card:hover,
.work-card:hover,
.visual-item:hover {
  transform: translate(-4px, -4px);
  box-shadow: 10px 14px 0 rgba(135, 30, 31, 0.14);
}

.service-card span {
  color: var(--red);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 3.15rem;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
}

.service-card h3 {
  margin-top: 2.4rem;
}

.service-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.service-card:nth-child(odd) span,
.service-card:nth-child(odd) h3,
.service-card:nth-child(odd) p {
  color: var(--paper);
}

.service-card:nth-child(even) span {
  color: var(--red);
}

.service-card:nth-child(even) p {
  color: var(--muted);
}

.split-section {
  align-items: center;
  max-width: 1080px;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 0.92fr);
}

.method-image {
  position: relative;
  overflow: hidden;
  padding: 0.75rem;
  background: var(--paper-warm);
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
  animation: photo-float 6s var(--ease) infinite;
}

.method-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 520ms var(--ease), filter 520ms var(--ease);
}

.method-image span {
  position: absolute;
  left: 2rem;
  bottom: 2rem;
  padding: 0.45rem 0.75rem;
  background: var(--red);
  color: var(--paper);
  transform: rotate(2deg);
}

.method-image:hover {
  animation-play-state: paused;
  transform: rotate(-1deg) translateY(-8px);
}

.method-image:hover img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.055);
}

.method-content h2 {
  max-width: 10.8ch;
  font-size: clamp(2.45rem, 4.45vw, 4.45rem);
  line-height: 0.94;
}

.steps {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}

.steps article {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.steps strong {
  color: var(--red);
  font-weight: 900;
  text-transform: uppercase;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

@keyframes photo-float {
  0%,
  100% {
    transform: rotate(-2deg) translateY(0);
  }

  50% {
    transform: rotate(-1deg) translateY(-10px);
  }
}

.work-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-warm);
  color: inherit;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.work-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #ddd5c8;
}

.work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease;
}

.work-card:hover img {
  transform: scale(1.045);
}

.work-card > div:not(.work-media) {
  display: flex;
  flex-direction: column;
  min-height: 176px;
  padding: 1.15rem;
}

.work-card h3 {
  min-height: 2.1em;
}

.work-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.play-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(23, 21, 19, 0.58);
  transform: translate(-50%, -50%);
}

.play-mark::before {
  content: "";
  position: absolute;
  left: 52%;
  top: 50%;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 19px solid var(--paper);
  transform: translate(-50%, -50%);
}

.media-badge {
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  margin: 0 !important;
  padding: 0.35rem 0.55rem;
  background: var(--paper);
  color: var(--ink) !important;
}

.visual-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(23, 21, 19, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 21, 19, 0.025) 1px, transparent 1px),
    #e5ded3;
  background-size: 22px 22px;
}

.visual-section::before {
  content: "portfolio";
  position: absolute;
  right: clamp(1rem, 5vw, 6rem);
  top: 0.2rem;
  color: rgba(135, 30, 31, 0.08);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(5rem, 17vw, 14rem);
  font-style: italic;
  line-height: 1;
}

.visual-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: clamp(210px, 18vw, 285px);
  gap: clamp(0.85rem, 1.6vw, 1.2rem);
  max-width: 1280px;
  margin: 0 auto;
}

.visual-item {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(23, 21, 19, 0.18);
  background: var(--paper-warm);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.visual-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(23, 21, 19, 0.58), transparent 56%);
}

.visual-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.visual-item:hover img {
  transform: scale(1.06);
}

.visual-item span {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  max-width: calc(100% - 2rem);
  padding: 0.5rem 0.7rem;
  background: rgba(241, 239, 234, 0.94);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.visual-item:not(.tall):not(.wide) {
  grid-column: span 2;
}

.visual-item.tall {
  grid-column: span 2;
  grid-row: span 2;
}

.visual-item.wide {
  grid-column: span 4;
}

.perfection {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  max-width: min(calc(100vw - 3rem), 1240px);
  margin: 0 auto;
  overflow: hidden;
}

.perfection-copy {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  width: min(100%, 420px);
  min-height: 560px;
  padding: 3rem 2.4rem;
  background: var(--red);
  color: var(--paper);
  text-align: center;
  overflow: hidden;
}

.perfection-copy::before,
.perfection-copy::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 150px;
  border: 1px solid rgba(241, 239, 234, 0.22);
  transform: rotate(-13deg);
}

.perfection-copy::before {
  right: -60px;
  top: -58px;
}

.perfection-copy::after {
  left: -72px;
  bottom: -78px;
}

.perfection-copy > * {
  position: relative;
  z-index: 1;
}

.perfection-copy h2 {
  width: 100%;
  max-width: 9ch;
  margin: 0 auto 1.35rem;
  color: var(--paper);
  font-family: "Inter", Arial, sans-serif;
  font-size: clamp(3.05rem, 4vw, 3.75rem);
  font-weight: 900;
  line-height: 0.92;
  text-align: center;
}

.perfection-copy p:not(.handwriting) {
  max-width: 19rem;
  margin: 0 auto 1.9rem;
  color: rgba(241, 239, 234, 0.82);
  font-size: 1rem;
  line-height: 1.45;
  text-align: center;
}

.perfection-copy .handwriting {
  width: 100%;
  margin: 0 auto 1.55rem;
  color: var(--paper);
  font-size: clamp(2rem, 3vw, 2.7rem);
  text-align: center;
  transform: rotate(-2deg);
}

.perfection-copy .button {
  min-width: 208px;
  border-color: var(--paper);
  background: transparent;
  color: var(--paper);
  box-shadow: none;
}

.perfection-copy .button:hover,
.perfection-copy .button:focus-visible {
  box-shadow: 6px 6px 0 rgba(23, 21, 19, 0.34);
}

.perfection-board {
  position: relative;
  min-width: 0;
  min-height: clamp(500px, 52vw, 650px);
}

.perfection-card {
  position: absolute;
  margin: 0;
  overflow: hidden;
  padding: 0.65rem;
  background: var(--paper-warm);
  box-shadow: var(--shadow);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.perfection-card img,
.perfection-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.perfection-card:hover {
  z-index: 20;
  box-shadow: 0 28px 70px rgba(38, 28, 17, 0.22);
}

.perfection-card:hover img,
.perfection-card:hover video {
  transform: scale(1.055);
}

.card-a {
  left: 4%;
  top: 8%;
  z-index: 3;
  width: min(32vw, 330px);
  aspect-ratio: 4 / 5;
  transform: rotate(-4deg);
}

.card-b {
  right: 2%;
  top: 0;
  z-index: 2;
  width: min(26vw, 270px);
  aspect-ratio: 1 / 1;
  transform: rotate(3deg);
}

.card-c {
  left: 32%;
  top: 12%;
  z-index: 9;
  width: min(25vw, 280px);
  aspect-ratio: 4 / 5;
  transform: rotate(1.5deg);
}

.card-d {
  right: 10%;
  bottom: 2%;
  z-index: 5;
  width: min(25vw, 270px);
  aspect-ratio: 4 / 5;
  transform: rotate(-3deg);
}

.card-e {
  left: 17%;
  bottom: 8%;
  z-index: 1;
  width: min(21vw, 220px);
  aspect-ratio: 1 / 1.18;
  transform: rotate(4deg);
}

.contact {
  max-width: none;
  margin: 0;
  padding-left: clamp(1.25rem, 4vw, 5rem);
  padding-right: clamp(1.25rem, 4vw, 5rem);
  background: var(--ink);
  color: var(--paper);
}

.contact > * {
  max-width: 560px;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  color: rgba(241, 239, 234, 0.78);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(241, 239, 234, 0.25);
  background: rgba(255, 250, 240, 0.08);
  color: var(--paper);
  outline: none;
  padding: 0.95rem 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--paper);
}

.contact-form textarea {
  resize: vertical;
}

.footer {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem clamp(1.25rem, 4vw, 5rem);
  background: var(--paper);
}

.footer img {
  width: 130px;
  height: 54px;
  object-fit: contain;
}

.footer p {
  margin-bottom: 0;
  color: var(--muted);
}

.footer a {
  color: var(--red);
  font-weight: 900;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.video-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 21, 19, 0.78);
}

.video-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 460px);
  height: min(86vh, 760px);
  padding: 0.75rem;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.video-modal__dialog iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-modal__close {
  position: absolute;
  right: -0.7rem;
  top: -0.7rem;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 1px solid var(--paper);
  background: var(--red);
  color: var(--paper);
  cursor: pointer;
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1;
}

@media (max-width: 980px) {
  .manifesto-grid,
  .split-section,
  .perfection,
  .contact {
    grid-template-columns: 1fr;
  }

  .manifesto-grid {
    gap: 1.8rem;
  }

  .manifesto h2 {
    max-width: 11ch;
  }

  .manifesto-copy {
    max-width: 680px;
  }

  .split-section {
    max-width: 760px;
  }

  .method-image {
    max-width: 430px;
  }

  .method-content h2 {
    max-width: 12ch;
  }

  .hero__content {
    padding-bottom: 6rem;
  }

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

  .section-heading--split {
    display: block;
  }

  .services-heading {
    align-items: flex-start;
    justify-items: start;
    place-items: initial;
    min-height: auto;
    text-align: left;
  }

  .services-heading h2 {
    text-align: left;
  }

  .service-stickers {
    position: static;
    margin-top: 1.2rem;
    transform: none;
  }

  .perfection-board {
    min-height: 620px;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 68px;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 75;
  }

  .nav-links {
    position: fixed;
    inset: 0 0 auto;
    display: grid;
    gap: 0;
    padding: 5.5rem 1.25rem 1.25rem;
    background: var(--paper);
    color: var(--ink);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.8rem);
    transition: opacity 200ms ease, transform 200ms ease;
  }

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

  .nav-links a {
    border-top: 1px solid var(--line);
    padding: 1rem 0;
  }

  .nav-cta {
    margin-top: 1rem;
    text-align: center;
  }

  .hero {
    touch-action: pan-y;
    min-height: 100svh;
  }

  .hero__scene {
    inset: -7% -34%;
    transform: none;
    transition: none;
  }

  .hero__image {
    object-position: 36% 50%;
    transform: none;
  }

  .hero__image--studio,
  .hero__scratch-canvas,
  .hero__light {
    display: none;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(23, 21, 19, 0.16), rgba(23, 21, 19, 0.02) 34%, rgba(23, 21, 19, 0.42) 100%),
      linear-gradient(90deg, rgba(23, 21, 19, 0.34), rgba(23, 21, 19, 0.02));
  }

  .hero__content {
    align-self: end;
    width: min(100%, 24rem);
    padding: 7.5rem 0 4.6rem;
  }

  .hero__title {
    max-width: 10.5ch;
    font-size: clamp(2.5rem, 10.5vw, 3.8rem);
  }

  .hero__copy {
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero__actions {
    display: grid;
    width: min(100%, 21rem);
  }

  .inline-cta {
    align-items: stretch;
    flex-direction: column;
    text-align: center;
  }

  .service-grid,
  .work-grid,
  .visual-grid {
    grid-template-columns: 1fr;
  }

  .visual-grid {
    grid-auto-rows: minmax(250px, 68vw);
  }

  .visual-item,
  .visual-item:not(.tall):not(.wide),
  .visual-item.tall,
  .visual-item.wide {
    grid-column: auto;
    grid-row: auto;
  }

  .perfection {
    overflow: visible;
  }

  .perfection-copy {
    width: min(100%, 420px);
    min-height: 520px;
    margin: 0 auto;
  }

  .perfection-copy h2 {
    font-size: clamp(2.7rem, 10vw, 3.25rem);
  }

  .perfection-board {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    min-height: auto;
  }

  .perfection-card,
  .card-a,
  .card-b,
  .card-c,
  .card-d,
  .card-e {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 4 / 5;
    transform: none;
  }

  .card-b {
    aspect-ratio: 1 / 1;
  }

  .card-e {
    grid-column: span 2;
    aspect-ratio: 16 / 10;
  }

  .steps article {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 540px) {
  .hero {
    grid-template-columns: 1rem minmax(0, 1fr) 1rem;
  }

  .hero__content {
    padding-bottom: 4.2rem;
  }

  h2 {
    font-size: clamp(2.1rem, 12vw, 3.45rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
