:root {
  --paper: #f4f4f1;
  --white: #ffffff;
  --ink: #0a0a0a;
  --grey: #a6a6a6;
  --soft-grey: #e5e5e2;
  --nav: rgba(55, 55, 55, 0.72);
  --blue: #0004ff;
  --mono: "Fragment Mono", "Courier New", monospace;
  --sans: "Outfit", "Helvetica Neue", Arial, sans-serif;
}

@font-face {
  font-family: "Outfit";
  src: url("assets/outfit.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
}

body.menu-open {
  overflow: hidden;
}

body.contact-open {
  overflow: hidden;
}

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

button {
  font: inherit;
}

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

.mono,
.case-number,
.case-info dl,
.hero-pill,
.hero-time,
.nav-contact,
.lab-footer,
.desktop-nav,
.lab-nav nav,
.project-kicker {
  font-family: var(--mono);
  text-transform: uppercase;
}

.lab-nav {
  position: fixed;
  top: 26px;
  left: 50%;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto auto auto;
  align-items: center;
  gap: 10px;
  width: min(760px, calc(100vw - 36px));
  min-height: 56px;
  padding: 8px;
  border-radius: 999px;
  color: var(--white);
  background: var(--nav);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.lab-logo {
  display: flex;
  align-items: center;
  width: 112px;
  padding-left: 12px;
  line-height: 0;
}

.lab-logo img {
  width: 100%;
  height: auto;
  filter: none;
}

.lab-nav nav {
  display: flex;
  gap: 14px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 9px;
  letter-spacing: 0;
}

.lab-nav nav a:hover {
  color: var(--white);
}

.nav-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  min-height: 38px;
  padding: 0 20px;
  border-radius: 999px;
  color: var(--white);
  background: var(--blue);
  font-size: 11px;
}

.menu-toggle {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  cursor: pointer;
}

.menu-toggle span {
  grid-area: 1 / 1;
  width: 16px;
  height: 1px;
  background: var(--white);
  transition: transform 180ms ease;
}

.menu-toggle span:last-child {
  transform: rotate(90deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: rotate(0deg);
}

.mobile-menu {
  position: fixed;
  inset: 94px 18px auto;
  z-index: 45;
  display: none;
  border-radius: 24px;
  color: var(--white);
  background: rgba(20, 20, 20, 0.92);
  backdrop-filter: blur(20px);
  overflow: hidden;
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu nav a {
  display: flex;
  justify-content: space-between;
  padding: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 34px;
  line-height: 0.95;
}

.mobile-menu nav a:first-child {
  border-top: 0;
}

.ov-hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: center;
  overflow: hidden;
  background: #0d0d0c;
}

.hero-stage {
  width: min(42vw, 470px);
  min-width: 300px;
  aspect-ratio: 952 / 1268;
  margin-top: 28px;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 46px 120px rgba(0, 0, 0, 0.34);
  animation: hero-rise 1.1s cubic-bezier(0.12, 0.23, 0.5, 1) both;
}

.hero-video-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  min-width: 520px;
  height: 100%;
  max-height: none;
  margin: 0;
  aspect-ratio: auto;
  border-radius: 0;
  background: #0d0d0c;
  box-shadow: none;
}

.hero-stage img,
.hero-stage video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-stage img {
  filter: saturate(0.3) contrast(1.05);
}

.hero-stage video {
  object-fit: cover;
  filter: saturate(0.92) contrast(1.03);
}

.hero-pill {
  position: absolute;
  z-index: 2;
  bottom: 34px;
  left: 50%;
  display: inline-flex;
  min-width: 200px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
  font-size: 11px;
  transform: translateX(-50%);
}

.hero-time {
  position: absolute;
  z-index: 2;
  bottom: 42px;
  left: 22px;
  color: var(--white);
  font-size: 11px;
  opacity: 0.78;
}

.lab-intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(320px, 1fr);
  gap: clamp(42px, 10vw, 180px);
  padding: 26px 20px 92px;
  background: var(--white);
}

.lab-intro h1 {
  max-width: 320px;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0;
}

.lab-intro h1 span {
  display: block;
  margin-top: 16px;
  color: #9a9a9a;
  font-size: clamp(21px, 2.4vw, 34px);
  line-height: 1;
}

.intro-copy {
  display: grid;
  align-content: start;
  gap: 14px;
  padding-top: 12px;
  font-size: clamp(22px, 2.55vw, 36px);
  font-weight: 300;
  line-height: 1.08;
}

.intro-copy .mono {
  color: var(--grey);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.4;
}

.intro-copy p:last-child {
  color: var(--grey);
}

.question-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1fr);
  gap: clamp(44px, 8vw, 120px);
  min-height: 430px;
  padding: 68px 20px 88px;
  background: var(--white);
}

.question-grid .mono {
  max-width: 440px;
  color: #747474;
  font-size: 12px;
  line-height: 1.65;
}

.question-grid .mono strong {
  color: var(--ink);
  font-weight: 400;
}

.question-grid h2,
.question-grid h3 {
  max-width: 760px;
  font-size: clamp(30px, 3.8vw, 54px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

.question-grid h3 {
  margin-top: 14px;
  color: #9a9a9a;
}

.question-grid p:not(.mono p) {
  max-width: 800px;
  margin-top: 20px;
  color: var(--grey);
  font-size: clamp(22px, 2.75vw, 38px);
  font-weight: 300;
  line-height: 1.06;
}

.seo-services {
  display: grid;
  grid-template-columns: minmax(220px, 0.5fr) minmax(320px, 1fr);
  gap: clamp(36px, 8vw, 120px);
  padding: 74px 20px 88px;
  border-top: 1px solid var(--soft-grey);
  background: var(--white);
}

.seo-services .mono {
  color: var(--grey);
  font-size: 11px;
}

.seo-services h2 {
  max-width: 820px;
  font-size: clamp(32px, 4.2vw, 64px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0;
}

.seo-services p:not(.mono) {
  max-width: 860px;
  margin-top: 24px;
  color: var(--grey);
  font-size: clamp(19px, 2vw, 28px);
  line-height: 1.18;
}

.case-stack {
  background: var(--white);
}

.case-row {
  display: grid;
  grid-template-columns: minmax(0, 50vw) minmax(300px, 1fr);
  min-height: 470px;
  border-top: 1px solid var(--soft-grey);
  cursor: pointer;
}

.case-image {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 100%;
  border: 0;
  padding: 24px;
  background: #f2f2ef;
  cursor: pointer;
}

.case-image img {
  width: 560px;
  max-width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  filter: saturate(0.9) contrast(1.03);
  transition: transform 700ms ease, filter 500ms ease;
}

.case-image:hover img {
  filter: saturate(1) contrast(1.02);
  transform: scale(1.025);
}

.case-info {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100%;
  padding: 24px 20px 46px;
}

.case-number {
  color: #3f3f3f;
  font-size: 16px;
}

.case-info dl {
  align-self: center;
  display: grid;
  gap: 8px;
  color: #858585;
  font-size: 11px;
  line-height: 1.25;
}

.case-info dl div {
  display: grid;
  grid-template-columns: 128px 1fr;
}

.case-info dt::after {
  content: " :";
}

.case-info dd {
  color: #1e1e1e;
}

.case-info p {
  max-width: 520px;
  color: #232323;
  font-size: 17px;
  line-height: 1.35;
}

.case-info p span,
.service-columns p span,
.project-panel-copy p span,
.final-cta > p:not(.mono) {
  display: block;
}

.case-info p span + span,
.service-columns p span + span,
.project-panel-copy p span + span,
.final-cta > p:not(.mono) {
  margin-top: 8px;
  color: #8b8b8b;
}

.project-view {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--white);
  color: var(--ink);
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: transform 650ms cubic-bezier(0.16, 1, 0.3, 1), opacity 300ms ease;
}

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

.project-view-top {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid var(--soft-grey);
  font-size: 11px;
}

.project-back,
.project-controls button {
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
  font-family: inherit;
  font-size: 11px;
  cursor: pointer;
}

.project-back {
  min-width: 132px;
  min-height: 34px;
}

.project-count {
  color: #676767;
}

.project-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.project-track::-webkit-scrollbar {
  display: none;
}

.project-panel {
  flex: 0 0 min(64vw, 840px);
  display: grid;
  min-height: 100%;
  border-right: 1px solid var(--soft-grey);
  scroll-snap-align: start;
}

.project-intro-panel {
  flex-basis: min(36vw, 520px);
}

.project-panel-media {
  display: grid;
  place-items: center;
  padding: 42px;
  background: #f2f2ef;
}

.project-panel-media img {
  width: 100%;
  max-width: 760px;
  max-height: calc(100svh - 190px);
  object-fit: contain;
  filter: saturate(0.68) contrast(1.04);
}

.project-panel-video {
  align-content: center;
  gap: 18px;
}

.project-video-frame {
  width: min(100%, 860px);
  aspect-ratio: 16 / 9;
  border: 0;
  background: #000;
}

.project-video-link {
  font-family: "Space Mono", monospace;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: none;
}

.project-video-link:hover {
  color: var(--blue);
}

.project-panel-copy {
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 42px clamp(28px, 3.2vw, 54px);
}

.project-panel-copy h2 {
  font-size: clamp(42px, 5vw, 92px);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: 0;
}

.project-panel-copy dl {
  align-self: center;
  display: grid;
  gap: 8px;
  color: #858585;
  font-size: 11px;
}

.project-panel-copy dl div {
  display: grid;
  grid-template-columns: 138px 1fr;
}

.project-panel-copy dt::after {
  content: " :";
}

.project-panel-copy dd {
  color: #1e1e1e;
}

.project-panel-copy p {
  max-width: 560px;
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 500;
  line-height: 1.06;
}

.project-media-only {
  grid-template-columns: 1fr;
}

.project-media-only .project-panel-media {
  padding: 5vw;
}

.project-media-only .project-panel-media img {
  max-width: 82vw;
}

.project-controls {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 3;
  display: flex;
  gap: 8px;
}

.project-controls button {
  width: 44px;
  height: 44px;
  font-size: 20px;
}

body.project-open {
  overflow: hidden;
}

.services-lab {
  padding: 96px 20px 120px;
  background: var(--ink);
  color: var(--white);
}

.services-lab > .mono {
  color: #a8a8a8;
  font-size: 11px;
}

.service-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 42px;
  background: rgba(255, 255, 255, 0.18);
}

.service-columns article {
  display: grid;
  align-content: space-between;
  min-height: 420px;
  padding: 24px;
  background: var(--ink);
}

.service-columns span {
  color: #a8a8a8;
  font-family: var(--mono);
}

.service-columns h2 {
  align-self: end;
  margin-top: auto;
  font-size: clamp(32px, 4.2vw, 58px);
  font-weight: 400;
  line-height: 0.95;
}

.service-columns p {
  max-width: 28ch;
  margin-top: 26px;
  color: #cfcfcf;
  font-size: 17px;
  line-height: 1.35;
}

.final-cta {
  display: grid;
  min-height: 70vh;
  align-content: center;
  justify-items: center;
  gap: 28px;
  padding: 100px 20px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 30%, rgba(0, 4, 255, 0.14), transparent 30%),
    var(--paper);
}

.final-cta .mono {
  color: #777;
  font-size: 11px;
}

.final-cta h2 {
  max-width: 980px;
  font-size: clamp(44px, 6.2vw, 92px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0;
}

.final-cta > p:not(.mono) {
  max-width: 580px;
  color: #8b8b8b;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.08;
}

.final-cta a {
  display: inline-flex;
  min-width: 240px;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--white);
  background: var(--blue);
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
}

.packaging-lab {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1fr);
  gap: clamp(36px, 8vw, 120px);
  padding: clamp(72px, 10vw, 150px) 20px 80px;
  background: var(--white);
}

.packaging-lab h1 {
  max-width: 820px;
  margin-top: 18px;
  font-size: clamp(48px, 7vw, 112px);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: 0;
}

.packaging-lab > p {
  align-self: end;
  max-width: 760px;
  color: #8c8c8c;
  font-size: clamp(28px, 4vw, 58px);
  font-weight: 300;
  line-height: 0.98;
}

.product-showroom {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  min-height: 760px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(12, 12, 10, 0.94)),
    #0a0a0a;
  color: var(--white);
}

.showroom-copy {
  display: grid;
  align-content: space-between;
  gap: 28px;
  padding: 58px 20px;
}

.showroom-copy .mono,
.service-packages .mono {
  color: #a4a4a4;
  font-size: 11px;
}

.showroom-copy h2 {
  max-width: 520px;
  font-size: clamp(44px, 6vw, 96px);
  font-weight: 400;
  line-height: 0.9;
}

.showroom-copy p:not(.mono) {
  max-width: 46ch;
  color: #c8c8c8;
  font-size: 18px;
  line-height: 1.35;
}

.product-canvas-wrap {
  position: relative;
  height: 760px;
  min-height: 760px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 228, 180, 0.18), transparent 30%),
    radial-gradient(circle at 50% 70%, rgba(0, 4, 255, 0.12), transparent 36%);
}

#product-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
}

.css-product-shelf {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 46px);
  perspective: 1100px;
  pointer-events: none;
}

.css-tin {
  position: relative;
  display: grid;
  width: clamp(132px, 14vw, 210px);
  aspect-ratio: 1 / 0.52;
  place-items: center;
  border-radius: 50%;
  color: #d78d5c;
  background:
    repeating-radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.055) 0 2px, transparent 2px 9px),
    radial-gradient(circle at 50% 50%, #1b1a18 0 34%, #0b0b0a 35% 100%);
  box-shadow:
    0 28px 46px rgba(0, 0, 0, 0.72),
    inset 0 0 0 8px #070707,
    inset 0 -20px 18px rgba(0, 0, 0, 0.55);
  transform: rotateX(62deg) rotateZ(-8deg);
  transform-style: preserve-3d;
  animation: shelf-float 7s ease-in-out infinite;
}

.css-tin::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.16), transparent 42%);
  pointer-events: none;
}

.css-tin::after {
  content: "";
  position: absolute;
  right: 4%;
  bottom: -19%;
  left: 4%;
  height: 34%;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(180deg, #12110f, #050505);
  transform: translateZ(-18px);
  box-shadow: 0 22px 34px rgba(0, 0, 0, 0.6);
}

.css-tin span,
.css-tin strong,
.css-tin em {
  position: relative;
  z-index: 2;
  font-style: normal;
  line-height: 0.92;
  text-align: center;
  text-transform: uppercase;
  transform: rotateZ(8deg);
}

.css-tin span {
  align-self: end;
  font-size: 10px;
  letter-spacing: 0.28em;
}

.css-tin strong {
  font-size: clamp(28px, 3vw, 48px);
  letter-spacing: 0.04em;
}

.css-tin em {
  align-self: start;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.css-tin-post {
  color: #f1d1a6;
  animation-delay: -1.5s;
  transform: rotateX(62deg) rotateZ(5deg) translateY(-16px);
}

.css-tin-strategy {
  color: #91c6a4;
  animation-delay: -3s;
  transform: rotateX(62deg) rotateZ(12deg);
}

.css-tin:hover {
  animation-play-state: paused;
}

@keyframes shelf-float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -18px;
  }
}

.service-packages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: #1b1b1b;
  color: var(--white);
}

.package-card {
  display: grid;
  align-content: space-between;
  min-height: 430px;
  padding: 26px 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 38%),
    #0d0d0d;
}

.package-card h2 {
  align-self: end;
  margin-top: auto;
  font-size: clamp(42px, 6vw, 84px);
  font-weight: 400;
  line-height: 0.9;
}

.package-card p:last-child {
  max-width: 30ch;
  margin-top: 24px;
  color: #d3d3d3;
  font-size: 17px;
  line-height: 1.35;
}

.lab-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  color: #777;
  background: var(--white);
  font-size: 11px;
}

.contact-panel {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: start center;
  padding: 94px 18px 18px;
  background: rgba(12, 12, 12, 0.42);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.contact-panel.is-open {
  opacity: 1;
  pointer-events: auto;
}

.contact-card {
  position: relative;
  width: min(460px, 100%);
  padding: 28px;
  border-radius: 8px;
  color: var(--black);
  background: var(--white);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
}

.contact-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: var(--black);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.contact-card .mono {
  margin-bottom: 18px;
  color: var(--grey);
  font-size: 11px;
}

.contact-card h2 {
  max-width: 10ch;
  margin-bottom: 24px;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0;
}

.contact-card form {
  display: grid;
  gap: 12px;
}

.contact-card label {
  display: grid;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--grey);
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  border: 1px solid var(--soft-grey);
  border-radius: 0;
  padding: 12px;
  color: var(--black);
  background: #f7f7f4;
  font: 16px var(--sans);
}

.contact-card textarea {
  resize: vertical;
  min-height: 116px;
}

.contact-card input:focus,
.contact-card textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 0;
}

.contact-card form button {
  justify-self: start;
  min-height: 42px;
  margin-top: 4px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: var(--blue);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  cursor: pointer;
}

.contact-direct {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--soft-grey);
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
}

.contact-direct a:hover,
.lab-footer a:hover {
  color: var(--blue);
}

.projects-heading,
.legal-page {
  padding: 150px 20px 80px;
  background: var(--white);
}

.projects-heading p,
.legal-page > p {
  color: var(--grey);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}

.projects-heading h1,
.legal-page h1 {
  max-width: 950px;
  margin-top: 26px;
  font-size: clamp(56px, 9vw, 138px);
  font-weight: 400;
  line-height: 0.86;
}

.projects-grid {
  display: grid;
  background: var(--white);
}

.project-card {
  border-top: 1px solid var(--soft-grey);
}

.project-card a {
  display: grid;
  grid-template-columns: minmax(0, 50vw) minmax(300px, 1fr);
  min-height: 470px;
}

.project-kicker {
  display: none;
}

.project-card img {
  align-self: center;
  justify-self: center;
  width: auto;
  max-width: min(calc(100% - 48px), 560px);
  height: auto;
  max-height: 420px;
  object-fit: contain;
  filter: saturate(0.9) contrast(1.03);
}

.project-meta {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 28px 20px;
}

.project-meta h2 {
  font-size: clamp(38px, 5.5vw, 78px);
  font-weight: 400;
  line-height: 0.9;
}

.project-meta p {
  color: var(--grey);
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
}

.legal-content {
  max-width: 920px;
  margin-top: 58px;
}

.legal-content h2 {
  margin-top: 34px;
  font-size: 28px;
  font-weight: 400;
}

.legal-content p {
  margin-top: 10px;
  color: #555;
  font-size: 18px;
  line-height: 1.45;
}

.legal-content a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: scale(1.12) translateY(24px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@media (max-width: 780px) {
  .lab-nav {
    grid-template-columns: minmax(90px, 1fr) auto auto;
  }

  .lab-nav nav {
    display: none;
  }

  .nav-contact {
    min-width: 138px;
  }

  .lab-intro,
  .question-grid,
  .seo-services,
  .case-row,
  .packaging-lab,
  .product-showroom,
  .service-packages,
  .project-card a {
    grid-template-columns: 1fr;
  }

  .lab-intro {
    padding-top: 34px;
  }

  .case-row,
  .project-card a {
    min-height: 0;
  }

  .case-image {
    min-height: 0;
    padding: 18px;
  }

  .case-image img,
  .project-card img {
    max-height: none;
  }

  .case-info {
    min-height: 300px;
  }

  .project-view-top {
    padding: 16px;
  }

  .project-track {
    display: flex;
  }

  .project-panel {
    flex-basis: 100vw;
    grid-template-columns: 1fr;
  }

  .project-intro-panel {
    flex-basis: 100vw;
  }

  .project-panel-media {
    padding: 18px;
  }

  .project-panel-media img {
    max-height: 58svh;
  }

  .project-panel-copy {
    min-height: 38svh;
    padding: 24px 18px 78px;
    border-left: 0;
  }

  .project-panel-copy h2 {
    font-size: 42px;
  }

  .project-panel-copy p {
    font-size: 24px;
  }

  .project-media-only .project-panel-media {
    padding: 18px;
  }

  .project-media-only .project-panel-media img {
    max-width: calc(100vw - 36px);
  }

  .project-controls {
    right: 16px;
    bottom: 16px;
  }

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

  .service-columns article {
    min-height: 300px;
  }

  .product-showroom,
  .product-canvas-wrap {
    height: auto;
    min-height: 620px;
  }

  .showroom-copy {
    padding-bottom: 26px;
  }

  .service-packages {
    gap: 0;
  }
}

@media (max-width: 620px) {
  .ov-hero {
    min-height: 100svh;
    padding: 0;
  }

  .lab-nav {
    top: 18px;
    right: 12px;
    left: 12px;
    width: min(360px, calc(100vw - 24px));
    display: flex;
    justify-content: space-between;
    transform: none;
  }

  .lab-logo {
    width: 104px;
    padding-left: 8px;
  }

  .nav-contact {
    display: none;
  }

  .hero-stage {
    width: min(76vw, 340px);
    min-width: 0;
    border-radius: 32px;
  }

  .hero-video-stage {
    width: 100%;
    min-width: 0;
    height: 100%;
    max-height: none;
    aspect-ratio: auto;
    border-radius: 0;
    box-shadow: none;
  }

  .hero-time {
    display: none;
  }

  .lab-intro h1,
  .packaging-lab h1,
  .intro-copy,
  .packaging-lab > p,
  .question-grid h2,
  .seo-services h2,
  .question-grid p:not(.mono p) {
    font-size: 34px;
  }

  .case-image {
    padding: 14px;
  }

  .case-image img,
  .project-card img {
    max-height: none;
  }

  .case-info {
    min-height: 280px;
  }

  .projects-heading h1,
  .legal-page h1 {
    font-size: 58px;
  }

  .final-cta h2 {
    font-size: 54px;
  }

  .product-showroom,
  .product-canvas-wrap {
    height: auto;
    min-height: 520px;
  }

  .css-product-shelf {
    flex-direction: column;
    gap: 16px;
  }

  .css-tin {
    width: min(54vw, 210px);
  }

  .package-card {
    min-height: 300px;
  }
}
