:root {
  color-scheme: dark;
  --black: #050505;
  --white: #f4f4f1;
  --muted: #a9a9a5;
  --line: rgba(255, 255, 255, 0.18);
  --red: #f23c33;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--black);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: "DM Sans", Arial, sans-serif;
  overflow-x: hidden;
}

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

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: var(--black);
}

.hero__video,
.hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__video {
  z-index: -3;
  object-fit: cover;
  object-position: center;
}

.hero__shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.38) 53%, rgba(0, 0, 0, 0.16) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.52) 0%, transparent 30%, rgba(0, 0, 0, 0.72) 100%);
}

.site-header {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 88px;
  padding: 0 4.2vw;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: block;
  width: 154px;
  height: 48px;
  overflow: hidden;
}

.brand__image {
  display: block;
  width: 100%;
  height: 100%;
  background: url("assets/logo.png") center 49% / 232px 232px no-repeat;
}

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 26px;
  min-height: 44px;
  padding: 0 10px 0 18px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  transition: background 180ms ease, color 180ms ease;
}

.header-cta__arrow {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  font-size: 13px;
}

.header-cta:hover {
  background: var(--white);
  color: var(--black);
}

.hero__content {
  position: absolute;
  right: 4.2vw;
  bottom: 6.5vh;
  left: 4.2vw;
  max-width: 1280px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 23px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow span {
  width: 8px;
  height: 8px;
  background: var(--red);
}

h1 {
  max-width: 1000px;
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  font-size: clamp(52px, 6.5vw, 104px);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: 0;
}

h1 em {
  color: var(--red);
  font-style: normal;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-width: 190px;
  min-height: 50px;
  padding: 0 11px 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.hero-button--primary {
  background: var(--red);
  color: #fff;
}

.hero-button--secondary {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(5, 5, 5, 0.25);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.hero-button__icon {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 13px;
}

.hero-button--primary:hover {
  background: var(--white);
  color: var(--black);
}

.hero-button--secondary:hover {
  border-color: var(--red);
  color: var(--red);
}

.work-section {
  position: relative;
  padding: 118px 4.2vw 132px;
  background:
    linear-gradient(180deg, var(--black) 0%, #070707 48%, var(--black) 100%);
}

.work-section__header {
  max-width: 1280px;
  margin: 0 auto 56px;
  padding-bottom: 0;
  border-bottom: 0;
}

.section-kicker,
.project-card__type {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 11px;
}

.section-kicker span {
  width: 30px;
  height: 2px;
  background: var(--red);
}

h2 {
  margin: 18px 0 0;
  font-family: "Manrope", Arial, sans-serif;
  font-size: clamp(46px, 5.2vw, 82px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
}

.project-list {
  display: grid;
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.project-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(340px, 1.14fr);
  align-items: center;
  gap: clamp(34px, 5vw, 74px);
  min-height: 610px;
  padding: clamp(30px, 4.8vw, 70px);
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 78% 22%, rgba(242, 60, 51, 0.16), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.018) 58%),
    #050505;
  overflow: hidden;
  box-shadow: 0 34px 96px rgba(0, 0, 0, 0.52);
  content-visibility: auto;
  contain-intrinsic-size: 610px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(242, 60, 51, 0.2), transparent 34%, rgba(255, 255, 255, 0.055));
}

.project-card--website {
  grid-template-columns: minmax(380px, 1.14fr) minmax(0, 0.86fr);
  background:
    radial-gradient(circle at 18% 24%, rgba(242, 60, 51, 0.14), transparent 30%),
    linear-gradient(215deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.018) 58%),
    #050505;
}

.project-card--website .project-card__copy {
  grid-column: 2;
}

.project-card--website .project-media {
  grid-column: 1;
  grid-row: 1;
}

.project-card__copy {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.project-card__copy h3 {
  margin: 16px 0 18px;
  font-family: "Manrope", Arial, sans-serif;
  font-size: clamp(42px, 4.6vw, 76px);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: 0;
}

.project-card__copy p:not(.project-card__type) {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  line-height: 1.58;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-height: 46px;
  margin-top: 34px;
  padding: 0 9px 0 19px;
  border: 1px solid rgba(242, 60, 51, 0.72);
  border-radius: 999px;
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
}

.project-link span:last-child {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--red);
  border-radius: 50%;
  color: var(--red);
}

.project-media {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 16px;
}

.device-frame {
  position: relative;
  justify-self: center;
  overflow: hidden;
  border: 0;
  background: #000;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.14),
    0 34px 90px rgba(0, 0, 0, 0.72);
  contain: paint;
  transform: translateZ(0);
}

.device-frame::before {
  content: "";
  position: absolute;
  z-index: 2;
  background: rgba(255, 255, 255, 0.2);
}

.device-frame iframe,
.device-frame video,
.device-frame img {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.media-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 50%;
  background: rgba(5, 5, 5, 0.58);
  color: var(--white);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transform: translate(-50%, -50%);
  text-transform: uppercase;
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.2), 0 18px 42px rgba(0, 0, 0, 0.38);
  transition: opacity 160ms ease, transform 160ms ease, background 160ms ease;
}

.media-play:hover {
  background: rgba(242, 60, 51, 0.92);
  transform: translate(-50%, -50%) scale(1.045);
}

.device-frame.is-playing .media-play {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.92);
}

.media-play span {
  pointer-events: none;
}

.youtube-shell iframe {
  position: absolute;
  inset: 10px;
  z-index: 1;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  border: 0;
  border-radius: 26px;
  background: #000;
}

.device-frame--phone {
  width: min(330px, 100%);
  aspect-ratio: 9 / 16;
  border-radius: 38px;
  padding: 10px;
  background: #000;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.16),
    0 28px 72px rgba(0, 0, 0, 0.72);
}

.device-frame--phone::before {
  top: 8px;
  left: 50%;
  width: 72px;
  height: 5px;
  border-radius: 999px;
  transform: translateX(-50%);
}

.device-frame--phone iframe {
  border-radius: 26px;
}

.device-frame--browser {
  width: min(680px, 100%);
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  padding-top: 28px;
}

.device-frame--browser::before {
  top: 11px;
  left: 15px;
  width: 48px;
  height: 6px;
  border-radius: 999px;
  box-shadow:
    18px 0 0 rgba(255, 255, 255, 0.12),
    36px 0 0 rgba(242, 60, 51, 0.8);
}

.more-projects {
  display: grid;
  grid-template-columns: minmax(220px, 0.3fr) minmax(0, 1fr);
  align-items: center;
  gap: 34px;
  margin: 8px 0;
  padding: 36px 0;
  border-block: 0;
  overflow: hidden;
}

.marquee-stack {
  display: grid;
  gap: 10px;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-row {
  display: flex;
  width: 100%;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  flex: 0 0 max-content;
  gap: 10px;
  min-width: max-content;
  padding-right: 10px;
  animation: marquee-left 28s linear infinite;
}

.marquee-row--reverse .marquee-track {
  animation-name: marquee-right;
  animation-duration: 34s;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.075);
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

@keyframes marquee-left {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

@keyframes marquee-right {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(0);
  }
}

.case-teaser {
  display: grid;
  grid-template-columns: minmax(340px, 0.92fr) minmax(0, 1.08fr);
  align-items: stretch;
  gap: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(242, 60, 51, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02) 46%),
    #050505;
  box-shadow: 0 34px 96px rgba(0, 0, 0, 0.52);
  content-visibility: auto;
  contain-intrinsic-size: 700px;
}

.case-teaser__media {
  position: relative;
  min-height: 590px;
  background: #000;
}

.case-teaser__media picture,
.case-teaser__photo {
  display: block;
  width: 100%;
  height: 100%;
}

.case-teaser__photo {
  object-fit: cover;
}

.case-teaser__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.2) 55%, rgba(0, 0, 0, 0.74) 100%),
    linear-gradient(180deg, transparent 52%, rgba(0, 0, 0, 0.58) 100%);
}

.case-teaser__logo {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  width: 184px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: var(--white);
}

.case-teaser__logo img {
  display: block;
  width: 100%;
}

.case-teaser__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 4.2vw, 58px);
  background:
    linear-gradient(135deg, rgba(242, 60, 51, 0.14), rgba(255, 255, 255, 0.025)),
    #050505;
}

.case-teaser h3 {
  max-width: 760px;
  margin: 20px 0 22px;
  font-family: "Manrope", Arial, sans-serif;
  font-size: clamp(38px, 4.7vw, 78px);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: 0;
}

.case-teaser__copy > p:not(.section-kicker) {
  max-width: 640px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  line-height: 1.58;
}

.case-teaser__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 32px 0 36px;
}

.case-teaser__proof span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.case-teaser .hero-button {
  width: fit-content;
}

.lead-funnel h2,
.site-footer h2 {
  margin: 20px 0 22px;
  font-size: clamp(46px, 6vw, 96px);
}

.lead-funnel__copy > p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 19px;
  line-height: 1.58;
}

.lead-funnel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
  gap: 44px;
  align-items: start;
  padding: 116px 4.2vw 128px;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, #0a0a0a 0%, var(--black) 100%);
}

.lead-funnel__copy {
  position: sticky;
  top: 112px;
  max-width: 720px;
}

.funnel-card {
  min-height: 620px;
  padding: 28px;
  border: 1px solid rgba(242, 60, 51, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(242, 60, 51, 0.08)),
    #090909;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.funnel-progress {
  display: grid;
  gap: 10px;
  margin-bottom: 34px;
}

.funnel-progress span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.funnel-progress div {
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.funnel-progress i {
  display: block;
  width: 20%;
  height: 100%;
  border-radius: inherit;
  background: var(--red);
  transition: width 220ms ease;
}

.funnel-panel {
  display: none;
}

.funnel-panel.active {
  display: block;
}

.funnel-panel h3 {
  margin: 0 0 12px;
  font-family: "Manrope", Arial, sans-serif;
  font-size: clamp(32px, 3.5vw, 54px);
  font-weight: 500;
  line-height: 1;
}

.funnel-panel > p {
  max-width: 520px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.55;
}

.funnel-options {
  display: grid;
  gap: 10px;
}

.funnel-options button {
  width: 100%;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--white);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease;
}

.funnel-options button.selected,
.funnel-options button:hover {
  border-color: var(--red);
  background: rgba(242, 60, 51, 0.14);
}

.funnel-panel label {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.funnel-panel input,
.funnel-panel textarea {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  font: inherit;
  font-size: 16px;
  outline: 0;
}

.funnel-panel textarea {
  min-height: 116px;
  padding-top: 14px;
  resize: vertical;
}

.funnel-panel input:focus,
.funnel-panel textarea:focus {
  border-color: var(--red);
}

.funnel-error {
  min-height: 22px;
  margin: 6px 0 0;
  color: var(--red);
  font-size: 13px;
}

.funnel-success h3 {
  color: var(--red);
}

.funnel-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 34px;
}

.funnel-back {
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
}

.funnel-back:disabled {
  opacity: 0.32;
  cursor: default;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  padding: 54px 4.2vw 38px;
  border-top: 1px solid var(--line);
  background: #030303;
}

.site-footer__brand {
  max-width: 540px;
}

.site-footer__brand p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.64);
  line-height: 1.55;
}

.site-footer__links {
  display: grid;
  gap: 11px;
  justify-items: end;
  align-content: start;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  font-weight: 600;
}

.site-footer__links a:hover {
  color: var(--red);
}

.site-footer__meta {
  grid-column: 1 / -1;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
}

@media (max-width: 760px) {
  .hero {
    min-height: 100svh;
  }

  .hero__video {
    top: 0;
    height: 59svh;
    object-position: 57% center;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 72px;
    padding: 0 18px;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
  }

  .brand {
    width: 123px;
    height: 40px;
  }

  .brand__image {
    background-size: 187px 187px;
  }

  .header-cta {
    gap: 11px;
    min-height: 38px;
    padding: 0 7px 0 13px;
    font-size: 11px;
    text-transform: uppercase;
  }

  .header-cta__arrow {
    width: 24px;
    height: 24px;
  }

  .hero__shade {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.08)),
      linear-gradient(180deg, rgba(0, 0, 0, 0.34) 0%, rgba(0, 0, 0, 0.06) 30%, var(--black) 60%);
  }

  .hero__content {
    top: auto;
    right: 18px;
    bottom: 7svh;
    left: 18px;
  }

  .eyebrow {
    gap: 9px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.64);
    font-size: 9px;
  }

  .eyebrow span {
    width: 18px;
    height: 2px;
  }

  h1 {
    font-size: 38px;
    line-height: 1.04;
  }

  .headline__line {
    display: block;
    white-space: nowrap;
  }

  .hero__actions {
    gap: 8px;
    margin-top: 24px;
  }

  .hero-button {
    flex: 1;
    gap: 8px;
    min-width: 0;
    min-height: 44px;
    padding: 0 7px 0 12px;
    font-size: 10px;
    text-transform: uppercase;
  }

  .hero-button__icon {
    width: 24px;
    height: 24px;
  }

  .work-section {
    padding: 74px 18px 84px;
  }

  .work-section__header {
  max-width: 1280px;
  margin: 0 auto 56px;
  padding-bottom: 0;
  border-bottom: 0;
}

  .section-kicker {
    margin-bottom: 17px;
    font-size: 9px;
  }

  h2 {
    font-size: 44px;
  }

  .project-list {
    gap: 14px;
  }

  .case-teaser {
  display: grid;
  grid-template-columns: minmax(340px, 0.92fr) minmax(0, 1.08fr);
  align-items: stretch;
  gap: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(242, 60, 51, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02) 46%),
    #050505;
  box-shadow: 0 34px 96px rgba(0, 0, 0, 0.52);
  content-visibility: auto;
  contain-intrinsic-size: 700px;
}

  .case-teaser__media {
    min-height: 360px;
  }

  .case-teaser__media::after {
    background:
      linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.86) 100%);
  }

  .case-teaser__logo {
    right: 16px;
    bottom: 16px;
    width: 142px;
    padding: 12px;
  }

  .case-teaser__copy {
    padding: 22px 20px 20px;
  }

  .case-teaser h3 {
    font-size: 38px;
  }

  .case-teaser__copy > p:not(.section-kicker) {
    font-size: 14px;
  }

  .case-teaser__proof {
    gap: 8px;
    margin: 24px 0 24px;
  }

  .case-teaser__proof span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

  .case-teaser .hero-button {
    width: 100%;
  }

  .project-card,
  .project-card--website {
  grid-template-columns: minmax(380px, 1.14fr) minmax(0, 0.86fr);
  background:
    radial-gradient(circle at 18% 24%, rgba(242, 60, 51, 0.14), transparent 30%),
    linear-gradient(215deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.018) 58%),
    #050505;
}

  .project-card__copy {
    max-width: none;
  }

  .project-card__type {
    font-size: 9px;
  }

  .project-card__copy h3 {
    margin: 13px 0 13px;
    font-size: 38px;
  }

  .project-card__copy p:not(.project-card__type) {
    font-size: 14px;
    line-height: 1.52;
  }

  .project-link {
    margin-top: 22px;
    font-size: 10px;
  }

  .project-link span:last-child {
    width: 27px;
    height: 27px;
  }

  .device-frame {
  position: relative;
  justify-self: center;
  overflow: hidden;
  border: 0;
  background: #000;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.14),
    0 34px 90px rgba(0, 0, 0, 0.72);
  contain: paint;
  transform: translateZ(0);
}

  .device-frame--phone {
  width: min(330px, 100%);
  aspect-ratio: 9 / 16;
  border-radius: 38px;
  padding: 10px;
  background: #000;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.16),
    0 28px 72px rgba(0, 0, 0, 0.72);
}

  .device-frame--phone iframe {
  border-radius: 26px;
}

  .device-frame--browser {
    width: 100%;
    aspect-ratio: 4 / 5;
  }

  .more-projects {
  display: grid;
  grid-template-columns: minmax(220px, 0.3fr) minmax(0, 1fr);
  align-items: center;
  gap: 34px;
  margin: 8px 0;
  padding: 36px 0;
  border-block: 0;
  overflow: hidden;
}

  .more-projects p {
    margin: 0 0 14px;
    font-size: 9px;
  }

  .marquee-stack {
    gap: 8px;
    margin-inline: -18px;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .marquee-track {
    animation-duration: 22s;
  }

  .marquee-row--reverse .marquee-track {
    animation-duration: 27s;
  }

  .marquee-track span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.075);
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

  .work-section__header {
  max-width: 1280px;
  margin: 0 auto 56px;
  padding-bottom: 0;
  border-bottom: 0;
}

  .project-card,
  .project-card--website {
  grid-template-columns: minmax(380px, 1.14fr) minmax(0, 0.86fr);
  background:
    radial-gradient(circle at 18% 24%, rgba(242, 60, 51, 0.14), transparent 30%),
    linear-gradient(215deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.018) 58%),
    #050505;
}

  .project-card--website .project-card__copy,
  .project-card--website .project-media {
    grid-column: auto;
    grid-row: auto;
  }

    .project-card__copy h3 {
    font-size: 42px;
  }

  .project-card__copy p:not(.project-card__type) {
    font-size: 15px;
  }

  .project-card__meta {
    margin-top: 20px;
  }

  .project-card__meta span {
    min-height: 31px;
    padding: 0 11px;
    font-size: 9px;
  }

  .project-media {
    width: 100%;
    margin-top: 18px;
  }

    .device-frame--phone {
  width: min(330px, 100%);
  aspect-ratio: 9 / 16;
  border-radius: 38px;
  padding: 10px;
  background: #000;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.16),
    0 28px 72px rgba(0, 0, 0, 0.72);
}

  .device-frame--browser {
    width: 100%;
    aspect-ratio: 4 / 5;
  }
  .media-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 50%;
  background: rgba(5, 5, 5, 0.58);
  color: var(--white);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transform: translate(-50%, -50%);
  text-transform: uppercase;
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.2), 0 18px 42px rgba(0, 0, 0, 0.38);
  transition: opacity 160ms ease, transform 160ms ease, background 160ms ease;
}

  .more-projects {
  display: grid;
  grid-template-columns: minmax(220px, 0.3fr) minmax(0, 1fr);
  align-items: center;
  gap: 34px;
  margin: 8px 0;
  padding: 36px 0;
  border-block: 0;
  overflow: hidden;
}

  .marquee-stack {
    gap: 8px;
    margin-inline: -18px;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .marquee-track {
    animation-duration: 22s;
  }

  .marquee-row--reverse .marquee-track {
    animation-duration: 27s;
  }

  .marquee-track span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.075);
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

  .case-teaser {
  display: grid;
  grid-template-columns: minmax(340px, 0.92fr) minmax(0, 1.08fr);
  align-items: stretch;
  gap: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(242, 60, 51, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02) 46%),
    #050505;
  box-shadow: 0 34px 96px rgba(0, 0, 0, 0.52);
  content-visibility: auto;
  contain-intrinsic-size: 700px;
}

  .case-teaser__media {
    min-height: 360px;
  }

  .case-teaser__media::after {
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.86) 100%);
  }

  .case-teaser__logo {
    right: 16px;
    bottom: 16px;
    width: 142px;
    padding: 12px;
  }

  .case-teaser__copy {
    padding: 24px 20px 20px;
  }

  .case-teaser h3 {
    font-size: 40px;
  }

  .case-teaser__copy > p:not(.section-kicker) {
    font-size: 15px;
  }

  .case-teaser__proof {
    gap: 8px;
    margin: 24px 0;
  }

  .case-teaser__proof span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

  .case-teaser .hero-button {
    width: 100%;
  }

  .lead-funnel h2 {
    font-size: 44px;
  }

  .lead-funnel__copy > p {
    font-size: 15px;
  }

  .lead-funnel {
    display: block;
    padding: 74px 18px 84px;
  }

  .lead-funnel__copy {
    position: static;
    margin-bottom: 28px;
  }

  .funnel-card {
    min-height: 0;
    padding: 20px;
  }

  .funnel-panel h3 {
    font-size: 32px;
  }

  .funnel-options button {
    min-height: 52px;
    font-size: 14px;
  }

  .funnel-actions {
    margin-top: 28px;
  }

  .site-footer {
    display: block;
    padding: 46px 18px 34px;
  }

  .site-footer__links {
    justify-items: start;
    margin-top: 30px;
  }
}

@media (min-width: 500px) and (max-width: 760px) {
  .hero__content {
    right: 28px;
    left: 28px;
  }

  .eyebrow {
    margin-bottom: 22px;
    font-size: 10px;
  }

  h1 {
    font-size: 52px;
    line-height: 1.02;
  }
}

@media (max-width: 360px) {
  .site-header {
    padding-inline: 14px;
  }

  .brand {
    width: 111px;
  }

  .brand__image {
    background-size: 171px 171px;
  }

  .header-cta {
    padding-left: 10px;
    font-size: 10px;
  }

  .hero__content {
    right: 14px;
    left: 14px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 38px;
  }

  .project-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(340px, 1.14fr);
  align-items: center;
  gap: clamp(34px, 5vw, 74px);
  min-height: 610px;
  padding: clamp(30px, 4.8vw, 70px);
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 78% 22%, rgba(242, 60, 51, 0.16), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.018) 58%),
    #050505;
  overflow: hidden;
  box-shadow: 0 34px 96px rgba(0, 0, 0, 0.52);
  content-visibility: auto;
  contain-intrinsic-size: 610px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

  .project-card__copy h3 {
    font-size: 34px;
  }
}

.case-page {
  background: var(--black);
}

.case-page h1,
.case-page h2,
.case-page h3,
.case-page p {
  letter-spacing: 0;
}

.case-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 82px;
  padding: 0 4.2vw;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.92);
  backdrop-filter: blur(12px);
}

.case-hero,
.case-section,
.case-system,
.case-flow,
.related-work,
.case-cta {
  max-width: 1280px;
  margin: 0 auto;
  padding-right: 4.2vw;
  padding-left: 4.2vw;
}

.case-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 42px;
  align-items: end;
  min-height: calc(100svh - 82px);
  padding-top: 88px;
  padding-bottom: 90px;
}

.case-hero h1 {
  max-width: 920px;
  margin: 24px 0 24px;
  font-size: clamp(50px, 7vw, 112px);
}

.case-hero__copy > p:last-child {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 19px;
  line-height: 1.55;
}

.case-hero__panel {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015)),
    #080808;
}

.case-hero__panel img {
  display: block;
  width: min(230px, 100%);
  margin-bottom: 34px;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.4));
}

.case-hero__panel dl,
.case-hero__panel div {
  margin: 0;
}

.case-hero__panel dl {
  display: grid;
  gap: 18px;
}

.case-hero__panel dt {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.case-hero__panel dd {
  margin: 0;
  color: var(--white);
  font-size: 15px;
  line-height: 1.4;
}

.case-image-band {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.65fr);
  gap: 36px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 4.2vw 124px;
}

.case-image-band img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.case-image-band h2,
.case-system h2,
.case-flow h2,
.related-work h2,
.case-cta h2 {
  margin: 20px 0;
  font-size: clamp(38px, 5vw, 78px);
}

.case-image-band p:not(.section-kicker),
.case-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
  line-height: 1.55;
}

.case-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: 58px;
  padding-top: 108px;
  padding-bottom: 108px;
  border-top: 1px solid var(--line);
}

.case-section h2 {
  margin: 20px 0 0;
  font-size: clamp(38px, 5vw, 78px);
}

.case-prose p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 19px;
  line-height: 1.62;
}

.case-system {
  padding-top: 116px;
  padding-bottom: 120px;
  border-top: 1px solid var(--line);
}

.case-system__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.case-system__grid article,
.case-signal,
.case-flow__steps div,
.related-work__grid a {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.case-system__grid article {
  min-height: 330px;
  padding: 26px;
}

.case-system__grid span {
  color: var(--red);
  font-size: 12px;
  font-weight: 600;
}

.case-system__grid h3 {
  margin: 58px 0 18px;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.05;
}

.case-system__grid p,
.case-flow__steps strong,
.related-work__grid span {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.5;
}

.case-signal {
  display: grid;
  gap: 7px;
  margin-top: 30px;
  padding: 20px;
  border-color: rgba(242, 60, 51, 0.36);
}

.case-signal strong {
  color: var(--red);
  font-size: 12px;
  text-transform: uppercase;
}

.case-flow {
  padding-top: 112px;
  padding-bottom: 116px;
  border-top: 1px solid var(--line);
}

.case-flow__steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.case-flow__steps div {
  min-height: 160px;
  padding: 18px;
}

.case-flow__steps span {
  display: block;
  margin-bottom: 36px;
  color: var(--red);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.case-flow__steps strong {
  display: block;
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
}

.related-work {
  padding-top: 108px;
  padding-bottom: 112px;
  border-top: 1px solid var(--line);
}

.related-work__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.related-work__grid a {
  display: grid;
  gap: 10px;
  min-height: 132px;
  padding: 20px;
  color: var(--white);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 25px;
  line-height: 1.05;
}

.related-work__grid span {
  align-self: end;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.case-cta {
  padding-top: 112px;
  padding-bottom: 124px;
  border-top: 1px solid var(--line);
}

.case-cta p {
  max-width: 690px;
}

@media (max-width: 880px) {
  .case-hero,
  .case-image-band,
  .case-section {
    display: block;
  }

  .case-hero {
    min-height: 0;
    padding-top: 74px;
  }

  .case-hero h1 {
    font-size: 48px;
    line-height: 1;
  }

  .case-hero__copy > p:last-child,
  .case-prose p {
    font-size: 16px;
  }

  .case-hero__panel,
  .case-image-band div {
    margin-top: 32px;
  }

  .case-image-band,
  .case-section,
  .case-system,
  .case-flow,
  .related-work,
  .case-cta {
    padding-top: 70px;
    padding-bottom: 74px;
  }

  .case-system__grid,
  .case-flow__steps,
  .related-work__grid {
    grid-template-columns: 1fr;
  }

  .case-system__grid article {
    min-height: 0;
  }

  .case-system__grid h3 {
    margin-top: 36px;
  }
}

@media (max-width: 520px) {
  .case-header {
    min-height: 72px;
    padding: 0 18px;
  }

  .case-hero,
  .case-section,
  .case-system,
  .case-flow,
  .related-work,
  .case-cta,
  .case-image-band {
    padding-right: 18px;
    padding-left: 18px;
  }

  .case-hero h1 {
    font-size: 40px;
  }

  .case-image-band h2,
  .case-system h2,
  .case-flow h2,
  .related-work h2,
  .case-cta h2,
  .case-section h2 {
    font-size: 36px;
  }

  .case-image-band img {
    aspect-ratio: 4 / 5;
  }

  .related-work__grid a {
    min-height: 108px;
    font-size: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__video {
    display: none;
  }

  .marquee-track {
    animation-play-state: paused;
  }
}

.header-cta,
.hero-button--primary {
  background: linear-gradient(180deg, #ff5a50 0%, #f23c33 52%, #b91f19 100%);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.24), 0 14px 34px rgba(242, 60, 51, 0.24);
}

.header-cta:hover .header-cta__arrow,
.hero-button:hover .hero-button__icon,
.project-link:hover span:last-child {
  transform: translate(2px, -2px);
}

.header-cta__arrow,
.hero-button__icon,
.project-link span:last-child {
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.project-link {
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1);
}

.project-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.6);
}

.project-card:hover .device-frame img,
.project-card:hover .device-frame video,
.project-card:hover .device-frame iframe {
  filter: saturate(1.06) contrast(1.03);
}

.header-cta:focus-visible,
.hero-button:focus-visible,
.project-link:focus-visible,
.media-play:focus-visible,
.funnel-options button:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 4px;
}

@media (max-width: 760px) {
  .case-teaser__media {
    min-height: 0;
    aspect-ratio: 3 / 2;
  }

  .case-teaser__media picture,
  .case-teaser__photo {
    height: 100%;
  }

  .case-teaser__photo {
    object-fit: contain;
    object-position: center;
    background: #000;
  }
}

@media (max-width: 520px) {
  .case-image-band img {
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
    border: 0;
    background: #000;
  }
}

/* Homepage showcase system */
.work-section {
  --showcase-width: 1440px;
  padding: 124px max(24px, 4.8vw) 152px;
  background: var(--black);
}

.work-section__header,
.project-list {
  width: min(100%, var(--showcase-width));
  max-width: none;
  margin-inline: auto;
}

.work-section__header {
  display: grid;
  grid-template-columns: minmax(180px, .32fr) minmax(0, 1fr);
  align-items: end;
  margin-bottom: 92px;
}

.work-section__header > div { display: contents; }

.work-section__header .section-kicker {
  align-self: start;
  padding-top: 12px;
}

.work-section__header h2 {
  max-width: 800px;
  margin: 0;
  font-size: 76px;
  line-height: .96;
}

.project-list {
  display: grid;
  gap: 0;
}

.project-card,
.project-card--website,
.case-teaser,
.case-teaser__copy {
  background: transparent;
  box-shadow: none;
}

.project-card::before,
.case-teaser__media::after { display: none; }

.project-card {
  display: grid;
  grid-template-columns: minmax(320px, .82fr) minmax(520px, 1.18fr);
  align-items: center;
  gap: 88px;
  min-height: 0;
  padding: 42px 0 118px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  content-visibility: auto;
  contain-intrinsic-size: 660px;
  transform: none;
  transition: none;
}

.project-card--website {
  grid-template-columns: minmax(520px, 1.18fr) minmax(320px, .82fr);
  padding-top: 80px;
}

.project-card--website .project-card__copy { grid-column: 2; }

.project-card--website .project-media {
  grid-column: 1;
  grid-row: 1;
}

.project-card:hover {
  transform: none;
  box-shadow: none;
}

.project-card__copy {
  position: relative;
  max-width: 520px;
  padding-top: 28px;
}

.project-card__copy::before,
.case-teaser__copy::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  height: 3px;
  background: var(--red);
}

.project-card__type {
  margin-bottom: 24px;
  color: rgba(255,255,255,.54);
  font-size: 10px;
}

.project-card__copy h3 {
  max-width: 490px;
  margin: 0 0 26px;
  font-size: 68px;
  line-height: .94;
}

.project-card__copy p:not(.project-card__type) {
  max-width: 500px;
  font-size: 17px;
  line-height: 1.68;
}

.project-link {
  min-height: 48px;
  margin-top: 38px;
  background: transparent;
  box-shadow: none;
  transition: border-color 180ms ease, background 180ms ease;
}

.project-link:hover {
  border-color: var(--red);
  background: var(--red);
}

.project-link:hover span:last-child {
  border-color: var(--white);
  color: var(--white);
}

.project-media {
  width: 100%;
  margin: 0;
}

.device-frame {
  transition: transform 320ms cubic-bezier(.2,.7,.2,1), box-shadow 320ms ease;
}

.project-card:hover .device-frame {
  transform: translateY(-6px) translateZ(0);
  box-shadow: 0 42px 110px rgba(0,0,0,.82);
}

.device-frame--phone {
  width: 350px;
  max-width: 100%;
}

.device-frame--browser {
  width: min(100%, 760px);
  aspect-ratio: 16 / 10;
}

.more-projects {
  display: grid;
  grid-template-columns: minmax(220px, .28fr) minmax(0, 1fr);
  align-items: center;
  gap: 54px;
  width: 100%;
  margin: 4px 0 116px;
  padding: 24px 0;
  overflow: hidden;
}

.more-projects .section-kicker,
.marquee-stack { margin: 0; }

.marquee-stack { width: 100%; }

.marquee-track span {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: #151515;
  color: rgba(255,255,255,.8);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
}

.case-teaser {
  display: grid;
  grid-template-columns: minmax(500px, 1.02fr) minmax(400px, .98fr);
  align-items: center;
  gap: 90px;
  padding: 54px 0 26px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  content-visibility: auto;
  contain-intrinsic-size: 720px;
}

.case-teaser__media {
  position: relative;
  min-height: 0;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #0b0b0b;
  box-shadow: 0 34px 90px rgba(0,0,0,.58);
}

.case-teaser__media picture,
.case-teaser__photo {
  display: block;
  width: 100%;
  height: 100%;
}

.case-teaser__photo {
  object-fit: cover;
  object-position: center;
}

.case-teaser__logo {
  right: 22px;
  bottom: 22px;
  width: 176px;
  padding: 14px;
  border: 0;
  border-radius: 4px;
  background: var(--white);
  box-shadow: 0 16px 40px rgba(0,0,0,.34);
}

.case-teaser__copy {
  position: relative;
  padding: 30px 0 0;
}

.case-teaser__copy .section-kicker { margin-bottom: 24px; }

.case-teaser h3 {
  max-width: 700px;
  margin: 0 0 26px;
  font-size: 54px;
  line-height: 1.01;
}

.case-teaser__copy > p:not(.section-kicker) {
  max-width: 620px;
  font-size: 16px;
  line-height: 1.68;
}

.case-teaser__proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 0;
  margin: 34px 0 38px;
}

.case-teaser__proof span {
  min-height: 42px;
  padding: 0 14px 0 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255,255,255,.74);
  font-size: 10px;
}

.case-teaser__proof span::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--red);
}

.case-teaser .hero-button { width: fit-content; }

/* Package carousel */
.packages-section {
  padding: 130px max(24px, 4.8vw) 142px;
  overflow: hidden;
  background: #080808;
}

.packages-section__header,
.packages-carousel {
  width: min(100%, 1440px);
  margin-inline: auto;
}

.packages-section__header {
  display: grid;
  grid-template-columns: minmax(180px, .32fr) minmax(0, 1fr);
  align-items: end;
  margin-bottom: 68px;
}

.packages-section__header .section-kicker {
  align-self: start;
  padding-top: 12px;
}

.packages-section__header h2 {
  max-width: 780px;
  margin: 0;
  font-size: 68px;
  line-height: .98;
}

.packages-carousel {
  position: relative;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) 50px;
  align-items: center;
  gap: 20px;
}

.packages-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(360px, 440px);
  gap: 16px;
  overflow-x: auto;
  padding: 14px 2px 28px;
  scroll-padding-inline: 2px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  touch-action: pan-x pan-y;
}

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

.packages-track:focus-visible {
  outline: 2px solid rgba(255,255,255,.84);
  outline-offset: 8px;
}

.package-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 440px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 6px;
  background: #101010;
  box-shadow: 0 22px 60px rgba(0,0,0,.28);
  opacity: .68;
  scroll-snap-align: start;
  transform: scale(.975);
  transform-origin: center;
  transition: transform 260ms cubic-bezier(.2,.7,.2,1), border-color 220ms ease,
    background 220ms ease, box-shadow 220ms ease, opacity 220ms ease;
}

.package-card::after {
  content: "";
  position: absolute;
  right: 34px;
  bottom: 0;
  width: 72px;
  height: 3px;
  background: rgba(242,60,51,.34);
  transform: scaleX(.45);
  transform-origin: right;
  transition: transform 260ms ease, background 220ms ease;
}

.package-card:hover,
.package-card.is-current {
  border-color: rgba(242,60,51,.58);
  background: #151111;
  box-shadow: 0 30px 76px rgba(0,0,0,.48);
  opacity: 1;
  transform: translateY(-7px) scale(1);
}

.package-card:hover::after,
.package-card.is-current::after {
  border-color: rgba(242,60,51,.24);
  transform: scale(1.12);
}

.package-card--base {
  border-color: rgba(242,60,51,.42);
  background: #171010;
}

.package-card__eyebrow {
  margin: 0 0 38px;
  color: var(--red);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.package-card h3 {
  max-width: 360px;
  margin: 0 0 22px;
  font-size: 42px;
  line-height: 1;
}

.package-card p:not(.package-card__eyebrow) {
  max-width: 380px;
  margin: 0;
  color: rgba(255,255,255,.66);
  font-size: 15px;
  line-height: 1.62;
}

.package-card ul {
  display: grid;
  gap: 0;
  margin: auto 0 0;
  padding: 34px 0 0;
  list-style: none;
}

.package-card li {
  position: relative;
  padding: 12px 0 12px 18px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.82);
  font-size: 13px;
  line-height: 1.35;
}

.package-card li::before {
  top: 18px;
  width: 5px;
  height: 5px;
}

.carousel-control {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font: inherit;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease, opacity 180ms ease;
}

.carousel-control:hover:not(:disabled) {
  border-color: var(--red);
  background: var(--red);
  transform: scale(1.06);
}

.carousel-control:active:not(:disabled) { transform: scale(.94); }

.carousel-control:focus-visible {
  outline: 2px solid rgba(255,255,255,.9);
  outline-offset: 4px;
}

.carousel-control:disabled {
  opacity: .24;
  cursor: default;
}

@media (max-width: 1100px) {
  .work-section__header h2 { font-size: 62px; }
  .project-card,
  .project-card--website,
  .case-teaser { gap: 54px; }
  .project-card__copy h3 { font-size: 56px; }
  .case-teaser h3 { font-size: 44px; }
  .packages-section__header h2 { font-size: 58px; }
}

@media (max-width: 1023px) {
  .work-section { padding: 88px 28px 108px; }

  .work-section__header,
  .packages-section__header {
    display: block;
    margin-bottom: 58px;
  }

  .work-section__header > div { display: block; }

  .work-section__header .section-kicker,
  .packages-section__header .section-kicker { padding-top: 0; }

  .work-section__header h2,
  .packages-section__header h2 {
    max-width: 620px;
    margin-top: 18px;
    font-size: 52px;
  }

  .project-card,
  .project-card--website {
    grid-template-columns: minmax(0, 1fr);
    gap: 42px;
    padding: 26px 0 96px;
  }

  .project-card--website { padding-top: 20px; }

  .project-card__copy,
  .project-card--website .project-card__copy,
  .project-card--website .project-media,
  .project-media {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
  }

  .project-card__copy {
    order: 1;
    max-width: 620px;
  }

  .project-media {
    order: 2;
    display: grid;
    justify-items: center;
  }

  .project-card__copy h3 { font-size: 52px; }
  .project-card__copy p:not(.project-card__type) { max-width: 610px; }

  .device-frame--phone {
    width: 310px;
    max-width: min(100%, 310px);
  }

  .device-frame--browser {
    width: 100%;
    max-width: 720px;
    aspect-ratio: 16 / 10;
  }

  .more-projects {
    display: block;
    margin: 0 0 94px;
    padding: 8px 0;
  }

  .more-projects__copy { margin-bottom: 22px; }

  .marquee-stack {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  }

  .case-teaser {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
    padding: 20px 0 0;
  }

  .case-teaser__media {
    width: 100%;
    aspect-ratio: auto;
    overflow: visible;
    background: transparent;
    box-shadow: none;
  }

  .case-teaser__media picture,
  .case-teaser__photo {
    width: 100%;
    height: auto;
  }

  .case-teaser__photo {
    object-fit: contain;
    object-position: center;
  }

  .case-teaser__logo {
    right: 14px;
    bottom: 14px;
    width: 148px;
  }

  .case-teaser__copy { padding-top: 28px; }

  .case-teaser h3 {
    max-width: 700px;
    font-size: 46px;
  }

  .packages-section { padding: 96px 28px 106px; }

  .packages-carousel {
    display: block;
    width: 100%;
  }

  .packages-track {
    grid-auto-columns: minmax(340px, 72vw);
    gap: 14px;
    width: 100%;
    padding: 14px 2px 24px;
  }

  .carousel-control { display: none; }
}

@media (max-width: 600px) {
  .work-section { padding: 76px 18px 90px; }
  .work-section__header { margin-bottom: 54px; }

  .work-section__header h2,
  .packages-section__header h2 {
    font-size: 42px;
    line-height: 1;
  }

  .project-card,
  .project-card--website {
    gap: 32px;
    padding: 20px 0 80px;
  }

  .project-card__copy { padding-top: 22px; }

  .project-card__copy::before,
  .case-teaser__copy::before { width: 42px; }

  .project-card__type { margin-bottom: 18px; }

  .project-card__copy h3 {
    margin-bottom: 20px;
    font-size: 42px;
  }

  .project-card__copy p:not(.project-card__type) {
    font-size: 15px;
    line-height: 1.62;
  }

  .project-link { margin-top: 30px; }
  .device-frame--phone { width: min(82vw, 292px); }

  .device-frame--browser {
    width: 100%;
    aspect-ratio: 4 / 3;
  }

  .media-play {
    width: 84px;
    height: 84px;
    font-size: 11px;
  }

  .more-projects { margin-bottom: 76px; }

  .marquee-stack,
  .marquee-track { gap: 8px; }

  .marquee-track { padding-right: 8px; }

  .marquee-track span {
    min-height: 38px;
    padding: 0 14px;
    font-size: 10px;
  }

  .case-teaser {
    gap: 36px;
    padding-top: 0;
  }

  .case-teaser__logo {
    right: 10px;
    bottom: 10px;
    width: min(40vw, 132px);
    padding: 10px;
  }

  .case-teaser h3 {
    margin-bottom: 22px;
    font-size: 36px;
    line-height: 1.04;
  }

  .case-teaser__copy > p:not(.section-kicker) {
    font-size: 15px;
    line-height: 1.62;
  }

  .case-teaser__proof {
    grid-template-columns: 1fr;
    margin: 28px 0 32px;
  }

  .case-teaser__proof span { min-height: 36px; }
  .case-teaser .hero-button { width: 100%; }

  .packages-section { padding: 82px 18px 92px; }
  .packages-section__header { margin-bottom: 42px; }

  .packages-track {
    grid-auto-columns: calc(100vw - 54px);
    gap: 12px;
    padding: 10px 0 22px;
  }

  .package-card {
    min-height: 430px;
    padding: 28px 24px;
    opacity: .78;
    transform: scale(.985);
  }

  .package-card:hover,
  .package-card.is-current { transform: translateY(-4px) scale(1); }
  .package-card__eyebrow { margin-bottom: 32px; }
  .package-card h3 { font-size: 36px; }
  .package-card p:not(.package-card__eyebrow) { font-size: 14px; }
}

@media (max-width: 360px) {
  .work-section,
  .packages-section {
    padding-right: 14px;
    padding-left: 14px;
  }

  .work-section__header h2,
  .packages-section__header h2 { font-size: 38px; }
  .project-card__copy h3 { font-size: 38px; }
  .device-frame--phone { width: min(88vw, 278px); }
  .case-teaser h3 { font-size: 33px; }
  .packages-track { grid-auto-columns: calc(100vw - 42px); }

  .package-card {
    min-height: 446px;
    padding: 26px 20px;
  }

  .package-card h3 { font-size: 33px; }
}

@media (hover: none) {
  .project-card:hover .device-frame { transform: translateZ(0); }

  .package-card:hover {
    border-color: rgba(255,255,255,.09);
    background: #101010;
    box-shadow: 0 22px 60px rgba(0,0,0,.28);
    opacity: .78;
    transform: scale(.985);
  }

  .package-card.is-current {
    border-color: rgba(242,60,51,.58);
    background: #151111;
    box-shadow: 0 30px 76px rgba(0,0,0,.48);
    opacity: 1;
    transform: translateY(-4px) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .device-frame,
  .package-card,
  .package-card::after,
  .carousel-control { transition: none; }
  .packages-track { scroll-behavior: auto; }
}


/* Lead funnel contrast pass */
.lead-funnel { background: radial-gradient(circle at 82% 18%, rgba(242, 60, 51, 0.16), transparent 28%), linear-gradient(180deg, #070707 0%, var(--black) 100%); }
.funnel-card { padding: 30px; border-color: rgba(255, 255, 255, 0.72); background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(238, 238, 232, 0.94)); color: #080808; box-shadow: 0 34px 90px rgba(0, 0, 0, 0.44); }
.funnel-progress span { color: rgba(8, 8, 8, 0.56); }
.funnel-progress div { background: rgba(8, 8, 8, 0.12); }
.funnel-panel h3 { color: #070707; }
.funnel-panel > p { color: rgba(8, 8, 8, 0.62); }
.funnel-options button { padding-inline: 20px; border-color: rgba(8, 8, 8, 0.16); background: rgba(8, 8, 8, 0.035); color: #080808; font-weight: 700; transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease; }
.funnel-options button.selected, .funnel-options button:hover { border-color: var(--red); background: var(--red); color: var(--white); transform: translateX(4px); }
.funnel-panel label { color: rgba(8, 8, 8, 0.58); }
.funnel-panel input, .funnel-panel textarea { border-color: rgba(8, 8, 8, 0.16); background: rgba(255, 255, 255, 0.84); color: #080808; }
.funnel-panel input:focus, .funnel-panel textarea:focus { box-shadow: 0 0 0 3px rgba(242, 60, 51, 0.14); }
.funnel-back { border-color: rgba(8, 8, 8, 0.18); color: rgba(8, 8, 8, 0.68); }
@media (max-width: 600px) { .funnel-card { padding: 22px; box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38); } .funnel-options button { min-height: 56px; transform: none; } .funnel-options button.selected, .funnel-options button:hover { transform: none; } }

/* Lead funnel rounded corner pass */
.funnel-card { border-radius: 28px; overflow: hidden; }
.funnel-panel input, .funnel-panel textarea { border-radius: 18px; }
.funnel-progress div { border-radius: 999px; }
@media (max-width: 600px) { .funnel-card { border-radius: 24px; } .funnel-panel input, .funnel-panel textarea { border-radius: 16px; } }

/* Mobile-safe custom description fields */
#category-custom-wrap, #detail-custom-wrap { margin-top: 18px; }
#category-custom, #detail-custom { min-height: 96px; }
@media (max-width: 600px) { #category-custom-wrap, #detail-custom-wrap { margin-top: 14px; } #category-custom, #detail-custom { min-height: 88px; max-height: 150px; } }

/* Keep custom description fields hidden until selected */
#category-custom-wrap[hidden], #detail-custom-wrap[hidden] { display: none !important; }
