:root {
  color-scheme: light;
  --cream: #fff5de;
  --deep: #004f61;
  --teal: #008a8d;
  --sage: #66ae99;
  --red: #b32900;
  --rust: #ba3a1c;
  --yellow: #ffc700;
  --ink: #191715;
  --soft-ink: rgb(25 23 21 / 72%);
  --line: rgb(25 23 21 / 16%);
  --white: #fffaf0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.48;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 70px;
  padding: 12px clamp(16px, 4vw, 48px);
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: block;
  width: clamp(96px, 10vw, 142px);
  height: 48px;
  overflow: hidden;
}

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

nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  color: var(--soft-ink);
  font-size: 0.95rem;
  font-weight: 750;
}

nav a {
  text-decoration: none;
}

nav a:hover {
  color: var(--red);
}

.block {
  position: relative;
  overflow: hidden;
  padding-inline: clamp(16px, 4vw, 48px);
}

.block-cream {
  background: var(--cream);
  color: var(--ink);
}

.block-red {
  background: var(--red);
  color: var(--cream);
}

.block-teal {
  background: var(--teal);
  color: var(--cream);
}

.block-deep {
  background: var(--deep);
  color: var(--cream);
}

.block-yellow {
  background: var(--yellow);
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(24px, 6vw, 74px);
  align-items: center;
  min-height: calc(100svh - 70px);
  padding-block: clamp(40px, 7vw, 86px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: currentColor;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.block-cream .eyebrow {
  color: var(--red);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 18ch;
  font-size: clamp(2.25rem, 3.9vw, 4.35rem);
  font-weight: 950;
}

.hero h1 {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.hero .intro {
  font-weight: 850;
  text-transform: none;
}

h2 {
  max-width: 18ch;
  font-size: 2.5rem;
  line-height: 3rem;
  font-weight: 950;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

h3 {
  font-size: clamp(1.45rem, 2.4vw, 2.2rem);
  font-weight: 950;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.intro {
  max-width: 640px;
  margin: 24px 0 0;
  color: var(--soft-ink);
  font-size: clamp(1.05rem, 1.7vw, 1.32rem);
}

.hero-actions {
  --hero-primary-width: min(247px, 100%);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.hero-actions .button.primary {
  width: var(--hero-primary-width);
}

.profile-gif {
  display: block;
  width: min(247px, 100%);
  aspect-ratio: 1 / 1.18;
  margin-top: 18px;
  filter: grayscale(1);
  object-fit: cover;
  object-position: center top;
}

.button,
.package a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 2px solid currentColor;
  border-radius: 0;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.button.primary,
.package a {
  background: var(--ink);
  color: var(--cream);
}

.button.secondary {
  background: transparent;
}

.button:hover,
.package a:hover {
  transform: translateY(-2px);
}

.hero-media {
  position: relative;
  min-height: 66vh;
  margin: 0;
  isolation: isolate;
}

.hero-media::before {
  position: absolute;
  inset: 15% -4% 5% 8%;
  z-index: -2;
  background: var(--yellow);
  content: "";
}

.logo-field {
  position: absolute;
  top: -42%;
  left: 50%;
  z-index: -1;
  width: min(1960px, 264%);
  aspect-ratio: 16 / 9;
  max-width: none;
  opacity: 0.95;
  transform: translateX(-50%) rotate(-10deg);
  transform-origin: center;
}

.lottie-field svg {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.proof {
  position: relative;
  isolation: isolate;
  padding: 0;
  background: var(--cream);
  border-block: 1px solid var(--ink);
}

.proof ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.proof li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 86px;
  padding: 16px;
  border-left: 1px solid var(--ink);
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  transform-origin: center;
}

.proof li:first-child {
  border-left: 0;
}

.proof li:nth-child(1) {
  background: var(--deep);
  color: var(--cream);
}

.proof li:nth-child(2) {
  background: var(--teal);
  color: var(--cream);
}

.proof li:nth-child(3) {
  background: var(--sage);
}

.proof li:nth-child(4) {
  background: var(--yellow);
}

.section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: clamp(24px, 6vw, 76px);
  min-height: 76vh;
  padding-block: clamp(62px, 9vw, 124px);
}

.section[hidden] {
  display: none;
}

.section-number {
  position: absolute;
  right: clamp(12px, 3vw, 40px);
  bottom: -0.24em;
  margin: 0;
  color: currentColor;
  font-size: clamp(9rem, 24vw, 24rem);
  font-weight: 950;
  line-height: 0.76;
  opacity: 0.18;
}

.section-heading {
  position: relative;
  z-index: 1;
}

.two-column {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: end;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 4vw, 42px);
}

.two-column p,
.service-grid p,
.package li,
.process li,
.cta p,
footer {
  font-size: 1.04rem;
}

.two-column p {
  margin: 0;
}

.film-reel {
  position: relative;
  z-index: 2;
  grid-column: 1 / -1;
  margin-top: clamp(28px, 5vw, 64px);
  overflow: hidden;
  border-radius: 8px;
}

.film-reel iframe {
  display: block;
  width: 100%;
  border: 0;
  aspect-ratio: 16 / 9;
  background: var(--ink);
}

.block-red .two-column p,
.block-teal .two-column p,
.block-deep .package li {
  color: rgb(255 245 222 / 86%);
}

.graphic-section,
.illustration-section {
  overflow: hidden;
}

.graphic-section {
  background: var(--red);
}

.graphic-section::before,
.illustration-section::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  pointer-events: none;
}

.graphic-section::before {
  background: linear-gradient(
    90deg,
    var(--red) 0%,
    var(--red) 28%,
    rgb(179 41 0 / 88%) 40%,
    rgb(179 41 0 / 38%) 55%,
    transparent 100%
  );
}

.illustration-section::before {
  background: linear-gradient(
    90deg,
    var(--teal) 0%,
    var(--teal) 28%,
    rgb(0 138 141 / 88%) 40%,
    rgb(0 138 141 / 38%) 55%,
    transparent 100%
  );
}

.graphic-section .section-heading,
.illustration-section .section-heading,
.graphic-section .two-column,
.illustration-section .two-column,
.graphic-section .section-number,
.illustration-section .section-number,
.graphic-controls {
  z-index: 2;
}

.graphic-section .two-column,
.illustration-section .two-column {
  grid-column: 1 / -1;
  max-width: min(780px, 58%);
}

.graphic-collage {
  position: absolute;
  z-index: 0;
  inset: 0 0 0 26%;
  padding: clamp(34px, 6vw, 88px) clamp(24px, 5vw, 70px);
  transform: rotate(-2deg) scale(1.04);
}

.case-set {
  position: absolute;
  inset: clamp(34px, 6vw, 88px) clamp(24px, 5vw, 70px);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(8, 1fr);
  gap: 14px;
  opacity: 0;
  transform: translateX(24px) scale(0.985);
  transition: opacity 700ms ease, transform 700ms ease;
}

.case-set.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.case-piece {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  min-height: 120px;
  padding: 14px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgb(25 23 21 / 26%);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.case-piece.image-case {
  padding: 0;
  background: var(--cream);
}

.case-piece.image-case img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) brightness(0.9);
}

.illustration-collage .case-set {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  gap: 0;
}

.product-collage .case-set {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  gap: 0;
}

.illustration-collage .case-piece.image-case {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  align-items: stretch;
  min-height: min(62vh, 560px);
  background: #fff;
}

.product-collage .case-piece.image-case {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  align-items: stretch;
  min-height: min(62vh, 560px);
  background: var(--cream);
}

.illustration-collage .case-piece.image-case img {
  box-sizing: border-box;
  object-fit: contain;
  object-position: right center;
  padding: clamp(8px, 1.5vw, 18px);
  filter: saturate(0.96) brightness(0.94);
}

.product-collage .case-piece.image-case img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  filter: saturate(0.98) brightness(0.94);
}

.case-poster {
  grid-column: 2 / 6;
  grid-row: 1 / 6;
  background: linear-gradient(160deg, var(--cream) 0 58%, var(--yellow) 58%);
}

.case-social {
  grid-column: 6 / 10;
  grid-row: 2 / 5;
  background: radial-gradient(circle at 62% 44%, var(--red) 0 18%, transparent 19%), var(--sage);
}

.case-banner {
  grid-column: 5 / 12;
  grid-row: 5 / 7;
  background: linear-gradient(110deg, var(--deep) 0 36%, var(--teal) 36% 68%, var(--cream) 68%);
  color: var(--cream);
}

.case-card {
  grid-column: 9 / 13;
  grid-row: 1 / 4;
  background: var(--yellow);
}

.case-system {
  grid-column: 1 / 5;
  grid-row: 6 / 9;
  background: linear-gradient(145deg, var(--teal), var(--cream));
}

.case-set-two .case-poster {
  grid-column: 1 / 5;
  grid-row: 2 / 8;
  background: linear-gradient(160deg, var(--deep) 0 42%, var(--cream) 42% 72%, var(--yellow) 72%);
  color: var(--cream);
}

.case-set-two .case-social {
  grid-column: 5 / 8;
  grid-row: 1 / 4;
  background: var(--yellow);
}

.case-set-two .case-banner {
  grid-column: 4 / 12;
  grid-row: 4 / 6;
  background: linear-gradient(110deg, var(--cream) 0 34%, var(--sage) 34% 62%, var(--red) 62%);
  color: var(--ink);
}

.case-set-two .case-card {
  grid-column: 8 / 12;
  grid-row: 1 / 4;
  background: radial-gradient(circle at 48% 44%, var(--ink) 0 16%, transparent 17%), var(--teal);
  color: var(--cream);
}

.case-set-two .case-system {
  grid-column: 8 / 13;
  grid-row: 6 / 9;
  background: linear-gradient(145deg, var(--rust), var(--cream));
}

.case-set-three .case-poster {
  grid-column: 3 / 7;
  grid-row: 1 / 5;
  background: radial-gradient(circle at 62% 34%, var(--yellow) 0 20%, transparent 21%), var(--cream);
}

.case-set-three .case-social {
  grid-column: 7 / 11;
  grid-row: 2 / 6;
  background: linear-gradient(145deg, var(--red), var(--yellow));
}

.case-set-three .case-banner {
  grid-column: 1 / 8;
  grid-row: 6 / 8;
  background: linear-gradient(110deg, var(--teal) 0 40%, var(--deep) 40%);
  color: var(--cream);
}

.case-set-three .case-card {
  grid-column: 10 / 13;
  grid-row: 5 / 9;
  background: var(--sage);
}

.case-set-three .case-system {
  grid-column: 1 / 4;
  grid-row: 2 / 6;
  background: linear-gradient(145deg, var(--yellow), var(--cream));
}

.graphic-controls {
  display: flex;
  gap: 8px;
  grid-column: 1 / -1;
  margin-top: 18px;
}

.graphic-controls button {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--cream);
  border-radius: 0;
  background: transparent;
  color: var(--cream);
  font: inherit;
  font-size: 1.55rem;
  font-weight: 950;
  line-height: 1;
  cursor: pointer;
}

.graphic-controls button:hover {
  background: var(--cream);
  color: var(--red);
}

.has-gallery {
  grid-template-rows: auto 1fr;
}

.has-gallery .section-heading {
  grid-row: 1 / span 2;
}

.has-gallery .two-column {
  align-self: end;
}

.category-gallery {
  position: relative;
  z-index: 2;
  align-self: center;
  min-width: 0;
}

.gallery-toolbar {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 10px;
}

.gallery-button {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 2px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: var(--cream);
  font: inherit;
  font-size: 1.55rem;
  font-weight: 950;
  line-height: 1;
  cursor: pointer;
}

.gallery-button:hover {
  background: var(--cream);
  color: var(--teal);
}

.gallery-track {
  display: grid;
  grid-auto-columns: minmax(280px, 74%);
  grid-auto-flow: column;
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 0 0 16px;
  scroll-padding-inline: 0;
  scroll-snap-type: inline mandatory;
  scrollbar-color: var(--cream) transparent;
}

.gallery-track:focus {
  outline: 2px solid var(--cream);
  outline-offset: 4px;
}

.gallery-card {
  position: relative;
  min-height: clamp(260px, 34vw, 430px);
  overflow: hidden;
  border: 2px solid var(--ink);
  background: var(--cream);
  color: var(--ink);
  scroll-snap-align: start;
}

.card-label {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.shape {
  position: absolute;
  display: block;
  border: 14px solid var(--ink);
}

.gallery-card-one .shape-a {
  right: 12%;
  bottom: 16%;
  width: 38%;
  aspect-ratio: 1;
  background: var(--yellow);
}

.gallery-card-one .shape-b {
  left: 12%;
  bottom: 20%;
  width: 34%;
  height: 44%;
  background: var(--sage);
  transform: skewX(-10deg);
}

.gallery-card-one .shape-c {
  top: 24%;
  left: 28%;
  width: 38%;
  height: 18%;
  background: var(--red);
  transform: rotate(-6deg);
}

.gallery-card-two {
  background: var(--yellow);
}

.gallery-card-two .shape-a {
  right: 18%;
  top: 18%;
  width: 34%;
  height: 44%;
  background: var(--cream);
  border-radius: 50% 50% 44% 44%;
}

.gallery-card-two .shape-b {
  left: 17%;
  bottom: 13%;
  width: 28%;
  height: 52%;
  background: var(--red);
  transform: rotate(5deg);
}

.gallery-card-two .shape-c {
  right: 14%;
  bottom: 12%;
  width: 42%;
  height: 18%;
  background: var(--deep);
}

.gallery-card-three {
  background: var(--deep);
  color: var(--cream);
}

.gallery-card-three .shape-a {
  top: 22%;
  left: 12%;
  width: 76%;
  height: 18%;
  background: var(--cream);
  transform: rotate(-3deg);
}

.gallery-card-three .shape-b {
  right: 12%;
  bottom: 16%;
  width: 28%;
  height: 42%;
  background: var(--yellow);
  transform: rotate(7deg);
}

.gallery-card-three .shape-c {
  left: 12%;
  bottom: 18%;
  width: 42%;
  height: 28%;
  background: var(--teal);
}

.portfolio-masonry {
  position: relative;
  z-index: 2;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 10px;
  margin-top: clamp(30px, 5vw, 64px);
}

.masonry-item {
  position: relative;
  min-height: 80px;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: var(--soft-ink);
  color: var(--cream);
  cursor: pointer;
  padding: 0;
}

.masonry-item::before,
.masonry-item::after {
  position: absolute;
  inset: 0;
  content: "";
}

.masonry-item::before {
  background:
    linear-gradient(135deg, rgb(255 245 222 / 14%), transparent 44%),
    repeating-linear-gradient(90deg, rgb(255 245 222 / 10%) 0 1px, transparent 1px 16px);
  mix-blend-mode: screen;
}

.masonry-item::after {
  opacity: 0.86;
  transition: transform 180ms ease, opacity 180ms ease;
}

.masonry-item span {
  position: absolute;
  z-index: 2;
  left: 14px;
  bottom: 12px;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.masonry-item:hover::after {
  opacity: 1;
  transform: scale(1.04);
}

.masonry-item.image-item {
  background: var(--cream);
}

.masonry-item.image-item::before,
.masonry-item.image-item::after {
  display: none;
}

.masonry-item.image-item img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
  transition: transform 220ms ease;
}

.masonry-item.image-item:hover img {
  transform: scale(1.035);
}

.masonry-item:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.masonry-item.square {
  grid-column: span 2;
  min-height: 110px;
}

.masonry-item.medium {
  grid-column: span 3;
  min-height: 140px;
}

.masonry-item.tall,
.masonry-item.portrait {
  grid-column: span 2;
  min-height: 180px;
}

.masonry-item.wide {
  grid-column: span 4;
  min-height: 120px;
}

.masonry-item.panorama {
  grid-column: span 6;
  min-height: 100px;
}

.photo-masonry .masonry-item:nth-child(6n + 1)::after {
  background: linear-gradient(150deg, var(--ink), var(--deep));
}

.photo-masonry .masonry-item:nth-child(6n + 2)::after {
  background: linear-gradient(140deg, var(--sage), var(--cream));
}

.photo-masonry .masonry-item:nth-child(6n + 3)::after {
  background: linear-gradient(140deg, var(--rust), var(--red));
}

.photo-masonry .masonry-item:nth-child(6n + 4)::after {
  background: linear-gradient(140deg, var(--yellow), var(--cream));
}

.photo-masonry .masonry-item:nth-child(6n + 5)::after {
  background: linear-gradient(140deg, var(--teal), var(--deep));
}

.photo-masonry .masonry-item:nth-child(6n)::after {
  background: linear-gradient(140deg, var(--soft-ink), var(--cream));
}

.photo-masonry .masonry-item.image-item::before,
.photo-masonry .masonry-item.image-item::after {
  display: none !important;
  background: none !important;
  content: none !important;
}

.service-grid,
.package-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--ink);
}

.service-grid article,
.package {
  min-height: 100%;
  padding: clamp(20px, 3vw, 34px);
  border-right: 1px solid var(--ink);
}

.service-grid article:last-child,
.package:last-child {
  border-right: 0;
}

.service-grid article:nth-child(1) {
  background: var(--cream);
}

.service-grid article:nth-child(2) {
  background: var(--sage);
}

.service-grid article:nth-child(3) {
  background: var(--yellow);
}

.service-grid p {
  margin: 16px 0 0;
  color: var(--soft-ink);
}

.packages .section-heading {
  color: var(--cream);
}

.package {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: rgb(255 245 222 / 8%);
  color: var(--cream);
}

.package.featured {
  background: var(--rust);
}

.price {
  margin: 0;
  color: var(--yellow);
  font-size: 1.45rem;
  font-weight: 950;
}

.package ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.package a {
  margin-top: auto;
  background: var(--cream);
  color: var(--ink);
  max-width: 100%;
  min-height: 58px;
  padding: 10px 12px;
  font-size: 0.9rem;
  line-height: 1.18;
  text-align: left;
  white-space: normal;
}

.process {
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 1.25fr);
}

.process ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--ink);
  counter-reset: steps;
}

.process li {
  position: relative;
  min-height: 280px;
  padding: 76px clamp(18px, 3vw, 30px) 28px;
  border-right: 1px solid var(--ink);
  background: var(--cream);
  color: var(--soft-ink);
  counter-increment: steps;
}

.process li:nth-child(2) {
  background: var(--sage);
}

.process li:nth-child(3) {
  border-right: 0;
  background: var(--yellow);
}

.process li::before {
  position: absolute;
  top: 22px;
  left: clamp(18px, 3vw, 30px);
  color: var(--red);
  font-weight: 950;
  content: "0" counter(steps);
}

.process strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1.08;
}

.cta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  padding-block: clamp(54px, 8vw, 94px);
}

.cta > div {
  flex: 1 1 auto;
  min-width: 0;
}

.cta h2 {
  max-width: 17ch;
}

.cta p {
  max-width: 580px;
  margin: 18px 0 0;
  color: rgb(25 23 21 / 74%);
}

.cta .button.primary {
  flex: 0 0 auto;
  background: var(--red);
  color: var(--cream);
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(16px, 4vw, 48px);
  background: var(--ink);
  color: rgb(255 245 222 / 74%);
}

footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .section,
  .process {
    grid-template-columns: 1fr;
  }

  .has-gallery {
    grid-template-rows: auto;
  }

  .has-gallery .section-heading {
    grid-row: auto;
  }

  .gallery-track {
    grid-auto-columns: minmax(260px, 86%);
  }

  .graphic-section .two-column {
    max-width: none;
  }

  .illustration-section .two-column {
    max-width: none;
  }

  .graphic-collage {
    inset: 40% 0 0 0;
    opacity: 0.55;
  }

  .case-set {
    inset: clamp(24px, 5vw, 48px);
  }

  .graphic-section::before {
    background: linear-gradient(
      180deg,
      var(--red) 0%,
      var(--red) 46%,
      rgb(179 41 0 / 78%) 68%,
      rgb(179 41 0 / 24%) 100%
    );
  }

  .illustration-section::before {
    background: linear-gradient(
      180deg,
      var(--teal) 0%,
      var(--teal) 46%,
      rgb(0 138 141 / 78%) 68%,
      rgb(0 138 141 / 24%) 100%
    );
  }

  .portfolio-masonry {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    min-height: 440px;
  }

  .proof ul,
  .service-grid,
  .package-grid,
  .process ol,
  .two-column {
    grid-template-columns: 1fr;
  }

  .proof li,
  .service-grid article,
  .package,
  .process li {
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .proof li:last-child,
  .service-grid article:last-child,
  .package:last-child,
  .process li:last-child {
    border-bottom: 0;
  }


  .cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .block {
    padding-inline: 16px;
  }

  h1 {
    max-width: 14ch;
    font-size: 2.35rem;
  }

  h2 {
    font-size: 2.5rem;
    line-height: 3rem;
  }

  .portfolio-masonry {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .graphic-collage {
    inset: 46% -20% 0 -12%;
    padding: 24px;
    transform: rotate(-2deg) scale(0.88);
  }

  .case-set {
    inset: 24px;
    gap: 8px;
  }

  .case-piece {
    min-height: 90px;
    padding: 10px;
    font-size: 0.68rem;
  }

  .masonry-item.square,
  .masonry-item.medium,
  .masonry-item.tall,
  .masonry-item.portrait,
  .masonry-item.wide,
  .masonry-item.panorama {
    grid-column: span 2;
    min-height: 120px;
  }

  .masonry-item.tall,
  .masonry-item.portrait {
    min-height: 180px;
  }

  .hero-media {
    min-height: 340px;
  }

  .hero-media::before {
    inset: 20% -8% 4% 10%;
  }

  .logo-field {
    top: -4%;
    left: 52%;
    width: 150%;
  }

  .button,
  .package a {
    width: 100%;
  }
}
