:root {
  --orange: #ff4d00;
  --black: #050505;
  --white: #ffffff;
  --soft: #f3f1ee;
  --line: rgba(5, 5, 5, 0.14);
  --panel-pad: clamp(24px, 4vw, 56px);
  --header-h: 74px;
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--black);
  background: var(--white);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overscroll-behavior: none;
}

body {
  overflow: hidden;
  font-family: "Montserrat", Arial, sans-serif;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  display: grid;
  grid-template-columns: minmax(110px, 220px) 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 18px var(--panel-pad);
  background: var(--white);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand img {
  width: clamp(116px, 15vw, 188px);
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.main-nav a,
.header-cta,
.button {
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.main-nav a:hover {
  color: var(--orange);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

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

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

.button-dark {
  color: var(--white);
  background: var(--black);
}

.button-light {
  color: var(--black);
  background: var(--white);
}

.button-orange {
  color: var(--black);
  background: var(--orange);
}

.horizontal-stage {
  width: 100vw;
  height: 100svh;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  touch-action: pan-x;
  scrollbar-width: none;
}

.horizontal-stage::-webkit-scrollbar {
  display: none;
}

.panel {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  min-height: 100svh;
  overflow: hidden;
  padding: calc(var(--header-h) + 28px) var(--panel-pad) 34px;
  background: var(--white);
}

.panel-dark {
  color: var(--white);
  background: var(--black);
}

.panel-orange {
  color: var(--black);
  background: var(--orange);
}

.eyebrow {
  margin: 0 0 18px;
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

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

h1,
h2 {
  margin-bottom: 18px;
  font-weight: 900;
  line-height: 0.88;
  text-transform: uppercase;
}

h1 {
  max-width: 900px;
  font-size: clamp(62px, 8.8vw, 156px);
}

h2 {
  max-width: 780px;
  font-size: clamp(48px, 8vw, 118px);
}

h3 {
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 900;
  line-height: 0.98;
  text-transform: uppercase;
}

p {
  font-size: clamp(15px, 1.35vw, 19px);
  font-weight: 300;
  line-height: 1.55;
}

.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.78fr);
  align-items: center;
  gap: clamp(24px, 5vw, 80px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.hero-lead {
  max-width: 690px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-mark {
  position: relative;
  min-height: clamp(380px, 72vh, 760px);
  display: grid;
  place-items: center;
  border-left: 1px solid var(--line);
}

.hero-mark img {
  width: clamp(160px, 27vw, 380px);
}

.marquee {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  gap: 0.28em;
  width: max-content;
  font-weight: 900;
  white-space: nowrap;
  text-transform: uppercase;
  animation: marquee-x 17s linear infinite;
}

.marquee-big {
  bottom: clamp(-92px, -6vw, -42px);
  font-size: clamp(42px, 8vw, 118px);
}

.marquee span:nth-child(2n) {
  color: var(--orange);
}

.panel-intro {
  position: relative;
  z-index: 2;
  max-width: min(720px, 45vw);
}

.services-panel,
.portfolio-panel,
.pricing-panel,
.team-panel {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(390px, 1.1fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: stretch;
}

.pricing-panel {
  background: var(--soft);
}

.vertical-wall,
.portfolio-stack,
.role-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(12px, 2vw, 26px);
  height: calc(100svh - var(--header-h) - 64px);
  overflow: hidden;
}

.vertical-loop {
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation-duration: 22s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.vertical-loop::after {
  content: "";
  min-height: 1px;
}

.loop-up {
  animation-name: loop-up;
}

.loop-down {
  animation-name: loop-down;
}

.slow {
  animation-duration: 28s;
}

.service-card,
.project-card,
.contact-card {
  border-radius: 8px;
}

.service-card {
  min-height: clamp(188px, 25vh, 285px);
  padding: clamp(20px, 3vw, 34px);
  color: var(--black);
  background: var(--white);
}

.service-card.orange {
  background: var(--orange);
}

.service-card span {
  display: block;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 900;
}

.service-card p {
  margin-bottom: 0;
  font-size: clamp(14px, 1.2vw, 17px);
}

.portfolio-panel {
  background:
    linear-gradient(90deg, var(--white) 0 54%, var(--soft) 54% 100%);
}

.portfolio-stack {
  padding-inline: clamp(0px, 2vw, 24px);
}

.project-card {
  position: relative;
  min-height: clamp(240px, 39vh, 430px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(18px, 2.4vw, 28px);
  overflow: hidden;
  color: var(--white);
  background: var(--black);
}

.project-card::after {
  content: "";
  position: absolute;
  width: 54%;
  aspect-ratio: 1;
  right: -12%;
  bottom: -12%;
  border: 26px solid currentColor;
  transform: rotate(18deg);
  opacity: 0.22;
}

.project-card span {
  position: relative;
  z-index: 1;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.project-card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  font-size: clamp(24px, 2.8vw, 42px);
  overflow-wrap: anywhere;
}

.project-b,
.project-e {
  color: var(--black);
  background: var(--orange);
}

.project-c,
.project-f {
  background: #1f1f1f;
}

.price-board {
  display: grid;
  align-content: center;
  gap: 10px;
  height: calc(100svh - var(--header-h) - 64px);
  overflow: hidden;
}

.price-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  min-height: clamp(58px, 8.4vh, 86px);
  padding: 0 clamp(16px, 2.4vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.price-row.featured {
  color: var(--black);
  background: var(--orange);
  border-color: var(--orange);
}

.price-row span,
.price-row p {
  margin: 0;
  font-size: clamp(13px, 1.3vw, 18px);
  font-weight: 900;
  text-transform: uppercase;
}

.price-row h3 {
  margin: 0;
  font-size: clamp(18px, 2.5vw, 38px);
  overflow-wrap: anywhere;
}

.studio-panel {
  display: grid;
  grid-template-columns: minmax(620px, 0.95fr) minmax(600px, 0.75fr);
  align-items: center;
  gap: clamp(48px, 8vw, 140px);
  flex-basis: 165vw;
  width: 165vw;
  max-width: none;
}

.studio-grid {
  display: grid;
  grid-template-columns: minmax(360px, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
}

.studio-grid p:last-child {
  max-width: 560px;
  margin-bottom: clamp(20px, 7vh, 72px);
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 400;
}

.studio-about {
  position: relative;
  z-index: 2;
}

.about-stack {
  display: grid;
  gap: 14px;
}

.about-stack article {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: clamp(14px, 2vw, 26px);
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid rgba(5, 5, 5, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.about-stack span {
  font-size: 13px;
  font-weight: 900;
}

.about-stack h3,
.about-stack p {
  grid-column: 2;
}

.about-stack h3 {
  margin-bottom: 8px;
  font-size: clamp(24px, 3.2vw, 50px);
}

.about-stack p {
  margin-bottom: 0;
  max-width: 560px;
  font-size: clamp(14px, 1.2vw, 18px);
}

.studio-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  display: flex;
  gap: 0.45em;
  width: max-content;
  font-size: clamp(48px, 10vw, 160px);
  font-weight: 900;
  line-height: 0.9;
  white-space: nowrap;
  animation: marquee-x 19s linear infinite;
}

.team-panel {
  background-image:
    linear-gradient(rgba(255, 77, 0, 0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 77, 0, 0.28) 1px, transparent 1px);
  background-size: 52px 52px;
}

.role-columns .vertical-loop {
  justify-content: flex-start;
}

.role-columns span {
  display: flex;
  align-items: center;
  min-height: clamp(86px, 13vh, 138px);
  padding: 0 clamp(16px, 2.2vw, 26px);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  color: var(--white);
  background: rgba(5, 5, 5, 0.84);
  font-size: clamp(20px, 2.9vw, 38px);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(280px, 460px);
  align-items: center;
  gap: clamp(24px, 7vw, 96px);
}

.contact-copy p {
  max-width: 640px;
}

.contact-card {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
  background: var(--soft);
}

.contact-card img {
  width: clamp(112px, 17vw, 220px);
  margin-bottom: clamp(12px, 5vh, 42px);
}

.contact-card > a {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  font-size: clamp(16px, 2vw, 24px);
  font-weight: 900;
}

.contact-card > a::after {
  content: "->";
  color: var(--orange);
}

.social-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.social-links a {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-size: clamp(12px, 1.1vw, 14px);
  font-weight: 900;
}

.social-links a::after {
  content: "->";
  color: var(--orange);
}

.progress {
  position: fixed;
  z-index: 30;
  left: var(--panel-pad);
  right: var(--panel-pad);
  bottom: 14px;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.14);
}

.progress span {
  display: block;
  width: calc(var(--progress, 0) * 100%);
  height: 100%;
  background: var(--orange);
}

.site-footer {
  display: none;
}

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

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

@keyframes loop-up {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-50%);
  }
}

@keyframes loop-down {
  from {
    transform: translateY(-50%);
  }

  to {
    transform: translateY(0);
  }
}

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

@media (max-width: 900px) {
  :root {
    --header-h: 66px;
  }

  html,
  body {
    height: auto;
    min-height: 100%;
    overscroll-behavior: auto;
  }

  body {
    overflow-x: hidden;
    overflow-y: auto;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .main-nav {
    display: none;
  }

  .hero-panel,
  .services-panel,
  .portfolio-panel,
  .pricing-panel,
  .studio-panel,
  .studio-grid,
  .team-panel,
  .contact-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .horizontal-stage {
    width: 100%;
    height: auto;
    display: block;
    overflow: visible;
    touch-action: pan-y;
  }

  .panel {
    width: 100%;
    max-width: 100%;
    min-height: auto;
    padding-top: calc(var(--header-h) + 22px);
    overflow: hidden;
  }

  .panel-intro {
    max-width: 100%;
  }

  .hero-panel {
    align-content: center;
    min-height: 100svh;
  }

  .hero-mark {
    min-height: 220px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .marquee-big {
    bottom: clamp(-44px, -8vw, -28px);
    font-size: clamp(36px, 8vw, 70px);
  }

  .services-panel,
  .portfolio-panel,
  .pricing-panel,
  .team-panel {
    align-content: start;
  }

  .vertical-wall,
  .portfolio-stack,
  .role-columns {
    grid-template-columns: minmax(0, 1fr);
    height: auto;
    overflow: visible;
  }

  .portfolio-panel {
    background: var(--white);
  }

  .price-board {
    height: auto;
    align-content: start;
    overflow: visible;
    padding-right: 0;
  }

  .vertical-loop {
    animation: none;
    transform: none;
  }

  .loop-clone {
    display: none !important;
  }

  .studio-grid p:last-child {
    margin-bottom: 0;
  }

  .studio-panel {
    flex-basis: auto;
    width: 100%;
    max-width: 100%;
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    align-items: stretch;
    gap: 28px;
  }

  .studio-about {
    max-width: 100%;
  }

  .studio-strip {
    position: relative;
    bottom: auto;
    margin-top: 18px;
  }

  .progress {
    display: none;
  }

  .site-footer {
    display: flex;
    min-height: 74px;
    align-items: center;
    justify-content: center;
    padding: 24px var(--panel-pad);
    border-top: 1px solid var(--line);
    background: var(--white);
  }

  .site-footer p {
    margin: 0;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
  }
}

@media (max-width: 560px) {
  :root {
    --panel-pad: 18px;
  }

  .site-header {
    padding-block: 16px;
  }

  .header-cta {
    min-height: 40px;
    padding-inline: 14px;
  }

  h1 {
    font-size: clamp(48px, 14.5vw, 62px);
  }

  h2 {
    font-size: clamp(40px, 13vw, 66px);
  }

  .hero-copy,
  .panel-intro,
  .contact-copy {
    max-width: calc(100vw - (var(--panel-pad) * 2));
    min-width: 0;
  }

  .hero-lead {
    margin-bottom: 22px;
    max-width: 100%;
  }

  .marquee-big {
    bottom: -30px;
    font-size: clamp(34px, 11vw, 48px);
  }

  .button {
    width: 100%;
  }

  .vertical-wall,
  .portfolio-stack,
  .role-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    height: auto;
  }

  .service-card {
    min-height: 180px;
    padding: 18px;
  }

  .service-card h3 {
    font-size: 18px;
  }

  .service-card p {
    font-size: 13px;
  }

  .project-card {
    min-height: 210px;
    padding: 18px;
  }

  .project-card h3 {
    font-size: 28px;
  }

  .role-columns span {
    min-height: 86px;
    font-size: 22px;
  }

  .studio-panel {
    flex-basis: auto;
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
  }

  .about-stack article {
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 18px;
  }

  .about-stack h3 {
    font-size: 24px;
  }

  .price-row {
    grid-template-columns: 28px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 8px 10px;
  }

  .pricing-panel {
    gap: 14px;
  }

  .pricing-panel .panel-intro h2 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .pricing-panel .panel-intro p {
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.35;
  }

  .pricing-panel .button {
    min-height: 44px;
  }

  .price-board {
    height: auto;
    gap: 6px;
    overflow: visible;
    padding-right: 0;
  }

  .price-row span {
    font-size: 12px;
  }

  .price-row h3 {
    font-size: clamp(14px, 4vw, 18px);
    line-height: 0.98;
  }

  .price-row p {
    grid-column: auto;
    justify-self: end;
    font-size: 11px;
    white-space: nowrap;
  }

  .contact-card {
    padding: 20px;
  }

  .contact-card > a {
    font-size: 16px;
  }

  .social-links {
    grid-template-columns: 1fr;
  }
}
