@font-face {
  font-family: "Inter Display";
  src: local("Inter Display"), local("Inter");
  font-display: swap;
}

:root {
  --paper: #ffffff;
  --paper-soft: #f5f3ef;
  --ink: #111111;
  --ink-soft: #363636;
  --muted: #77736e;
  --line: rgb(17 17 17 / 11%);
  --line-strong: rgb(17 17 17 / 24%);
  --radius: 3px;
  --shadow: 0 22px 70px rgb(17 17 17 / 10%);
  color-scheme: light;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter Display", Inter, "SF Pro Display", "SF Pro Text", -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
}

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

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

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

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

.serif {
  display: inline-block;
  padding-bottom: 0.08em;
  font-family: "Cormorant Garamond", "Bodoni 72", "Didot", "Iowan Old Style", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  line-height: 1.12;
}

.site-header {
  position: fixed;
  top: 22px;
  left: 50%;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  width: min(1920px, calc(100% - 56px));
  min-height: 56px;
  padding: 6px 8px 6px 12px;
  color: var(--ink);
  background: rgb(255 255 255 / 72%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 44px rgb(17 17 17 / 6%);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand,
.nav-links,
.hero__actions,
.intro__facts,
.header-action,
.button {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  min-width: 0;
}

.brand__name {
  font-size: 1rem;
  font-weight: 520;
  white-space: nowrap;
}

.nav-links {
  justify-content: center;
  gap: 4px;
}

.nav-links a {
  min-height: 40px;
  padding: 11px 14px;
  color: rgb(16 16 16 / 68%);
  font-size: 0.94rem;
  font-weight: 440;
  border-radius: var(--radius);
  transition:
    color 180ms ease,
    background 180ms ease;
}

.nav-links a:hover {
  color: var(--ink);
  background: rgb(16 16 16 / 6%);
}

.header-action,
.button {
  justify-content: center;
  min-height: 44px;
  font-weight: 560;
  line-height: 1;
  letter-spacing: 0;
  border-radius: var(--radius);
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.header-action {
  justify-self: end;
  padding: 0 18px;
  color: var(--paper);
  background: var(--ink);
}

.header-action:hover,
.button:hover {
  transform: translateY(-2px);
}

.button:active,
.header-action:active {
  transform: translateY(1px);
}

.button {
  min-width: 142px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--ink);
}

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

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

.button--ghost:hover {
  background: rgb(16 16 16 / 6%);
}

.section-pad {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  padding: 112px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(520px, 0.82fr);
  grid-template-rows: auto auto;
  align-items: center;
  align-content: center;
  column-gap: clamp(42px, 6vw, 88px);
  row-gap: clamp(22px, 3vw, 34px);
  width: min(1880px, calc(100% - 64px));
  min-height: 100dvh;
  padding-top: 104px;
  padding-bottom: 48px;
}

.hero__copy {
  grid-column: 1;
  grid-row: 1;
  max-width: 820px;
  padding-top: 20px;
}

.eyebrow {
  width: fit-content;
  margin-bottom: 24px;
  padding: 0 0 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 520;
  line-height: 1;
  letter-spacing: 0;
  background: transparent;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
}

.hero h1 {
  max-width: 860px;
  font-size: clamp(4.15rem, 6.05vw, 6rem);
  font-weight: 440;
  line-height: 1;
  letter-spacing: 0;
}

.hero__lead {
  max-width: 500px;
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 1.13rem;
  line-height: 1.72;
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 650px;
  margin-top: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line-strong);
}

.hero__meta span {
  min-height: 58px;
  padding: 18px 16px 16px 0;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 480;
  line-height: 1.25;
}

.hero__meta span + span {
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

.hero__actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero__below {
  grid-column: 1;
  grid-row: 2;
  max-width: 650px;
  align-self: start;
}

.hero__media {
  grid-column: 2;
  grid-row: 1 / span 2;
  position: relative;
  min-height: 760px;
  isolation: isolate;
}

.hero__media::before {
  position: absolute;
  inset: 66px 44px 36px auto;
  z-index: -1;
  width: 56%;
  content: "";
  border: 1px solid var(--line);
}

.portrait {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--paper-soft);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.portrait img,
.intro__image img,
.format-card--image img,
.work-card img,
.work-card video,
.niches__image img,
.process__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.05);
}

.portrait--hero {
  position: absolute;
  top: 8px;
  right: 0;
  width: min(540px, 76%);
  height: 710px;
}

.portrait--float {
  position: absolute;
  bottom: 2px;
  left: 28px;
  width: 270px;
  height: 360px;
  background: #ffffff;
  box-shadow: 0 22px 72px rgb(17 17 17 / 12%);
}

.intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.76fr) minmax(0, 1fr);
  grid-template-areas:
    "image copy"
    "image details";
  gap: 82px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.intro__image {
  grid-area: image;
  height: 690px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}

.intro__copy {
  grid-area: copy;
  align-self: end;
}

.intro__details {
  grid-area: details;
  align-self: start;
}

.intro__copy h2,
.section-title h2,
.work__header h2,
.niches h2,
.process h2,
.brand-fit h2,
.contacts h2 {
  color: var(--ink);
  font-size: clamp(3rem, 5.4vw, 5rem);
  font-weight: 480;
  line-height: 1.02;
  letter-spacing: 0;
}

.intro__copy p,
.section-title p,
.work__header p,
.contacts__copy p {
  max-width: 640px;
  margin-top: 24px;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.7;
}

.statement {
  max-width: 560px;
  margin-top: -28px;
  padding: 30px 0 0;
  color: var(--ink);
  font-family: "Cormorant Garamond", "Bodoni 72", "Didot", Georgia, serif;
  font-size: clamp(2.5rem, 4.2vw, 4.25rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.05;
  border-top: 1px solid var(--ink);
}

.intro__facts {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}

.intro__facts span {
  padding: 10px 14px;
  color: var(--ink);
  font-weight: 520;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}

.section-title {
  max-width: 780px;
  margin-bottom: 54px;
}

.format-grid {
  counter-reset: format;
  display: grid;
  grid-template-columns: 1.14fr 0.93fr 0.93fr;
  gap: 14px;
}

.format-card {
  position: relative;
  counter-increment: format;
  display: grid;
  align-content: start;
  min-height: 285px;
  padding: 28px;
  overflow: hidden;
  background:
    linear-gradient(142deg, rgb(255 255 255 / 0%) 0 58%, rgb(17 17 17 / 3%) 100%),
    var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.format-card::after {
  content: "";
  display: none;
}

.format-card:not(.format-card--image)::before {
  display: block;
  width: fit-content;
  margin-bottom: 54px;
  padding-bottom: 8px;
  color: var(--muted);
  font-family: "Cormorant Garamond", "Bodoni 72", "Didot", Georgia, serif;
  font-size: 3.6rem;
  font-style: italic;
  line-height: 0.86;
  content: counter(format, decimal-leading-zero);
  transition: color 180ms ease;
}

.format-card:not(.format-card--image):hover {
  border-color: var(--ink);
  box-shadow: 0 22px 68px rgb(17 17 17 / 9%);
  transform: translateY(-2px);
}

.format-card:not(.format-card--image):hover::before,
.format-card--large::before {
  color: var(--ink);
}

.format-card--large {
  grid-row: span 2;
  min-height: 584px;
  background: var(--paper-soft);
  border-color: var(--ink);
}

.format-card--image {
  min-height: 360px;
  padding: 0;
  overflow: hidden;
}

.format-card--image::after {
  display: none;
}

.format-card span {
  display: block;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 560;
}

.format-card--large span {
  color: var(--muted);
}

.format-card h3 {
  max-width: 500px;
  color: inherit;
  font-size: 2rem;
  font-weight: 480;
  line-height: 1.1;
  letter-spacing: 0;
}

.format-card p {
  max-width: 430px;
  margin-top: 18px;
  color: var(--ink-soft);
  line-height: 1.58;
}

.format-card--large p {
  color: var(--ink-soft);
}

.work {
  width: min(1440px, calc(100% - 40px));
}

.work__header {
  max-width: 760px;
  margin-bottom: 46px;
}

.work-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.work-card {
  position: relative;
  min-width: 0;
}

.work-card img,
.work-card video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: var(--paper-soft);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 18px 46px rgb(17 17 17 / 8%);
}

.work-card video {
  cursor: pointer;
}

.video-toggle {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 58px;
  height: 58px;
  padding: 0;
  place-items: center;
  background: rgb(255 255 255 / 86%);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  box-shadow: 0 18px 42px rgb(17 17 17 / 18%);
  transform: translate(-50%, -50%);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    background 180ms ease;
}

.video-toggle::before {
  width: 0;
  height: 0;
  margin-left: 4px;
  content: "";
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid var(--ink);
}

.work-card.is-playing .video-toggle {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.92);
  pointer-events: none;
}

.work-card:hover .video-toggle {
  background: #ffffff;
  transform: translate(-50%, -50%) scale(1.04);
}

.work-card div {
  display: grid;
  gap: 4px;
  margin-top: 14px;
}

.work-card strong {
  font-size: 1.08rem;
  font-weight: 560;
}

.work-card span {
  color: var(--muted);
  font-size: 0.95rem;
}

.niches {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.72fr);
  grid-template-areas:
    "title image"
    "details image";
  gap: 80px;
  align-items: center;
}

.niches__copy {
  grid-area: title;
}

.niches__details {
  grid-area: details;
}

.niche-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  padding: 0;
  margin: 46px 0 0;
  list-style: none;
  border-top: 1px solid var(--line-strong);
}

.niche-list li {
  padding: 20px 0;
  color: var(--ink-soft);
  font-size: 1.2rem;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}

.niches__image {
  grid-area: image;
  height: 640px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}

.process {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  grid-template-areas:
    "image title"
    "image details";
  gap: 80px;
  align-items: start;
}

.process__copy {
  grid-area: title;
}

.process__details {
  grid-area: details;
}

.process__image {
  grid-area: image;
  position: sticky;
  top: 104px;
  height: 560px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}

.process-list {
  counter-reset: process;
  display: grid;
  gap: 0;
  margin-top: 38px;
  border-top: 1px solid var(--line-strong);
}

.process-list article {
  counter-increment: process;
  position: relative;
  display: grid;
  grid-template-columns: 74px minmax(150px, 0.42fr) minmax(0, 1fr);
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.process-list article::before {
  color: var(--muted);
  font-family: "Cormorant Garamond", "Bodoni 72", "Didot", Georgia, serif;
  font-size: 2.35rem;
  font-style: italic;
  line-height: 0.9;
  content: counter(process, decimal-leading-zero);
}

.process-list h3 {
  font-size: 1.18rem;
  font-weight: 500;
  line-height: 1.16;
}

.process-list p {
  color: var(--ink-soft);
  line-height: 1.62;
}

.brand-fit {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
  gap: 80px;
  align-items: start;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.brand-fit__headline {
  position: sticky;
  top: 112px;
}

.brand-fit__quote {
  max-width: 530px;
  margin-top: 34px;
  color: var(--ink-soft);
  font-family: "Cormorant Garamond", "Bodoni 72", "Didot", Georgia, serif;
  font-size: clamp(2rem, 3.2vw, 3.25rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.1;
}

.brand-fit__list {
  counter-reset: reason;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--ink);
}

.brand-fit__list p {
  counter-increment: reason;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 24px;
  padding: 30px 0;
  color: var(--ink);
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  font-weight: 500;
  line-height: 1.22;
  border-bottom: 1px solid var(--line-strong);
}

.brand-fit__list p::before {
  color: var(--muted);
  font-family: "Cormorant Garamond", "Bodoni 72", "Didot", Georgia, serif;
  font-size: 2.6rem;
  font-style: italic;
  line-height: 0.82;
  content: counter(reason, decimal-leading-zero);
}

.brand-fit__list p:last-child {
  border-bottom-color: var(--ink);
}

.contacts {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 70px;
  align-items: start;
  padding-bottom: 80px;
}

.contacts__panel {
  display: grid;
  border-top: 1px solid var(--line-strong);
}

.contacts__panel a {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.contacts__panel a:hover {
  color: var(--muted);
  transform: translateX(4px);
}

.contacts__panel span {
  color: var(--muted);
  font-size: 0.94rem;
}

.contacts__panel strong {
  overflow-wrap: anywhere;
  font-size: 1.2rem;
}

.legal-footer {
  width: min(1280px, calc(100% - 40px));
  margin: -40px auto 0;
  padding: 0 0 34px;
}

.legal-footer p {
  max-width: 760px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.sheet {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
}

.sheet.is-open {
  pointer-events: auto;
}

.sheet__backdrop {
  position: absolute;
  inset: 0;
  padding: 0;
  cursor: pointer;
  background: rgb(17 17 17 / 0%);
  border: 0;
  transition: background 260ms ease;
}

.sheet.is-open .sheet__backdrop {
  background: rgb(17 17 17 / 22%);
}

.sheet__panel {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  max-width: 760px;
  padding: 18px 22px 24px;
  margin: 0 auto;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 30px 120px rgb(17 17 17 / 22%);
  transform: translateY(calc(100% + 24px));
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.sheet.is-open .sheet__panel {
  transform: translateY(0);
}

.sheet__handle {
  width: 42px;
  height: 3px;
  margin: 0 auto 18px;
  background: var(--line-strong);
  border-radius: 999px;
}

.sheet__close {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  margin-top: 22px;
  padding: 0 18px;
  color: var(--paper);
  font: inherit;
  font-weight: 560;
  background: #111111;
  border: 0;
  border-radius: var(--radius);
  box-shadow: none;
}

.sheet__close:hover,
.sheet__close:active {
  background: #111111;
  transform: none;
}

.sheet__close:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 3px;
}

.sheet h2 {
  max-width: 560px;
  color: var(--ink);
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 480;
  line-height: 1.02;
}

.sheet p {
  max-width: 520px;
  margin-top: 16px;
  color: var(--ink-soft);
  line-height: 1.65;
}

.sheet__links {
  display: grid;
  margin-top: 28px;
  border-top: 1px solid var(--ink);
}

.sheet__links a {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.sheet__links span {
  color: var(--muted);
}

.sheet__links strong {
  overflow-wrap: anywhere;
  font-size: 1.08rem;
}

.cursor-trail {
  position: fixed;
  inset: 0;
  z-index: 35;
  pointer-events: none;
}

.cursor-trail__mark {
  position: absolute;
  width: 24px;
  height: 24px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.72) rotate(var(--rotation));
  animation: cursorTrailFade 760ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.cursor-trail__mark img {
  display: block;
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 6px 14px rgb(17 17 17 / 16%));
}

@keyframes cursorTrailFade {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.58) rotate(var(--rotation));
  }

  16% {
    opacity: 0.82;
    transform: translate(-50%, -50%) scale(1) rotate(var(--rotation));
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.78) rotate(calc(var(--rotation) + 18deg));
  }
}

body.sheet-open {
  overflow: hidden;
}

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

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

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

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

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

  .cursor-trail {
    display: none;
  }
}

@media (max-width: 1500px) and (min-width: 1101px) {
  .brand-fit {
    grid-template-columns: minmax(0, 1.08fr) minmax(460px, 0.92fr);
    gap: 62px;
  }

  .brand-fit h2 {
    font-size: clamp(3.1rem, 4vw, 3.75rem);
    line-height: 1.04;
  }

  .brand-fit__quote {
    max-width: 620px;
    font-size: clamp(2rem, 2.6vw, 2.45rem);
  }

  .brand-fit__list p {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 22px;
    font-size: clamp(1.25rem, 2vw, 1.72rem);
  }
}

@media (max-width: 1100px) {
  .hero h1 {
    font-size: 58px;
  }

  .intro__copy h2,
  .section-title h2,
  .work__header h2,
  .niches h2,
  .process h2,
  .brand-fit h2,
  .contacts h2 {
    font-size: 54px;
  }

  .hero,
  .intro,
  .niches,
  .process,
  .brand-fit,
  .contacts {
    gap: 48px;
  }

  .intro,
  .brand-fit {
    border-top: 0;
    border-bottom: 0;
  }

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

  .format-card--large {
    grid-column: span 2;
    min-height: 390px;
  }

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

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    min-height: 56px;
  }

  .nav-links {
    display: none;
  }

  .brand__name {
    max-width: 158px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .section-pad {
    width: min(100% - 28px, 720px);
    padding: 78px 0;
  }

  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 34px;
    padding-top: 92px;
  }

  .hero__copy,
  .hero__media,
  .hero__below {
    grid-column: 1;
    grid-row: auto;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero__lead {
    font-size: 1.06rem;
  }

  .hero__media {
    width: min(100%, 460px);
    min-height: 456px;
    margin: -6px auto 0;
  }

  .hero__media::before {
    inset: 42px 26px 24px auto;
  }

  .portrait--hero {
    width: 78%;
    height: 410px;
  }

  .portrait--float {
    left: 0;
    width: 160px;
    height: 214px;
  }

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

  .hero__meta span {
    min-height: auto;
    padding: 14px 0;
  }

  .hero__meta span + span {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .intro,
  .niches,
  .process,
  .brand-fit,
  .contacts {
    grid-template-columns: 1fr;
  }

  .niches {
    grid-template-areas:
      "title"
      "image"
      "details";
  }

  .process {
    grid-template-areas:
      "title"
      "image"
      "details";
  }

  .intro__image,
  .niches__image,
  .process__image {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .intro {
    grid-template-areas:
      "copy"
      "image"
      "details";
  }

  .statement {
    margin-top: 0;
  }

  .process__image {
    position: static;
  }

  .intro__copy h2,
  .section-title h2,
  .work__header h2,
  .niches h2,
  .process h2,
  .brand-fit h2,
  .contacts h2 {
    font-size: 42px;
  }

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

  .format-card,
  .format-card--large,
  .format-card--image {
    grid-column: auto;
    grid-row: auto;
    min-height: 260px;
  }

  .format-card:not(.format-card--image)::before {
    margin-bottom: 28px;
    font-size: 3rem;
  }

  .niche-list {
    grid-template-columns: 1fr;
  }

  .process-list article,
  .contacts__panel a {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .process-list article {
    gap: 14px;
  }

  .work {
    width: 100%;
    max-width: none;
  }

  .work-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(210px, 38vw);
    grid-template-columns: none;
    gap: 14px;
    overflow-x: auto;
    padding: 0 14px 12px;
    scroll-padding-left: 14px;
    scroll-snap-type: x mandatory;
  }

  .work__header {
    width: min(100% - 28px, 720px);
    margin-right: auto;
    margin-left: auto;
  }

  .work-card {
    scroll-snap-align: start;
  }

  .work-card div {
    padding-right: 6px;
  }

  .brand-fit__headline {
    position: static;
  }
}

@media (max-width: 520px) {
  .site-header {
    top: 10px;
    width: calc(100% - 18px);
    padding-left: 10px;
  }

  .brand__name {
    max-width: 180px;
    font-size: 0.95rem;
  }

  .header-action {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.9rem;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: row;
  }

  .button {
    width: auto;
    min-width: 0;
    flex: 1 1 0;
    padding: 0 14px;
  }

  .work-track {
    grid-auto-columns: minmax(205px, 72vw);
  }

  .hero__media {
    min-height: 372px;
  }

  .portrait--hero {
    width: 82%;
    height: 342px;
  }

  .portrait--float {
    width: 136px;
    height: 186px;
  }

  .intro__copy h2,
  .section-title h2,
  .work__header h2,
  .niches h2,
  .process h2,
  .brand-fit h2,
  .contacts h2 {
    font-size: 36px;
  }
}
