/* LAVI Technologies — main stylesheet */
:root {
  --black: #08090c;
  --panel: #101116;
  --panel-2: #15171e;
  --white: #f3f3f0;
  --muted: #999ba5;
  --red: #ff3048;
  --blue: #397bff;
  --line: rgba(255, 255, 255, .13);
  --heading: "Space Grotesk", sans-serif;
  --body: "Inter", sans-serif;
  --pad: clamp(22px, 7.5vw, 120px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

.page-progress {
  height: 2px;
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  background: transparent;
}

.page-progress span {
  height: 100%;
  width: 0;
  display: block;
  background: linear-gradient(90deg, var(--red), var(--blue));
  transform-origin: left;
}

.topbar {
  height: 82px;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  z-index: 12;
  top: 0;
  left: 0;
  right: 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  font: 700 34px/1 var(--heading);
  letter-spacing: -5px;
}

.brand-mark span {
  color: var(--red);
}

.brand-name {
  font: 600 9px/1.2 var(--heading);
  letter-spacing: 1.4px;
}

.topbar-note {
  font-size: 11px;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #c4c5ca;
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-dot,
.live-pill i {
  width: 7px;
  height: 7px;
  border-radius: 100%;
  background: var(--blue);
  box-shadow: 0 0 12px var(--blue);
}

.menu-toggle {
  background: none;
  border: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.menu-toggle span {
  width: 22px;
  height: 1px;
  background: var(--white);
  display: block;
  transition: transform .3s;
}

.menu-toggle span:nth-child(2) {
  width: 14px;
  background: var(--red);
  margin-left: -34px;
  transform: translateY(5px);
}

.menu-toggle b {
  font: 600 10px var(--heading);
  letter-spacing: 1.5px;
  margin-left: 12px;
}

.menu-toggle:hover span:first-child {
  transform: translateX(4px);
}

/* Full screen navigation */
.site-menu {
  position: fixed;
  z-index: 11;
  inset: 0;
  background: #0a0b10;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px var(--pad) 24px;
  opacity: 0;
  visibility: hidden;
  clip-path: circle(0 at calc(100% - 60px) 40px);
  transition: clip-path .8s cubic-bezier(.75, 0, .2, 1), opacity .3s, visibility .8s;
  overflow: hidden;
}

.site-menu.open {
  opacity: 1;
  visibility: visible;
  clip-path: circle(150% at calc(100% - 60px) 40px);
}

.menu-top,
.menu-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu-close {
  background: none;
  border: 0;
  font-size: 10px;
  letter-spacing: 1px;
  cursor: pointer;
}

.menu-close span {
  font-size: 24px;
  color: var(--red);
  vertical-align: -2px;
  margin-left: 10px;
}

.menu-center {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
  margin: auto 0;
}

.menu-center .eyebrow {
  color: var(--blue);
  font-size: 10px;
  letter-spacing: 2px;
}

.menu-center > a {
  font: 500 clamp(36px, 7vw, 78px)/1.15 var(--heading);
  display: flex;
  align-items: baseline;
  gap: 22px;
  border-bottom: 1px solid var(--line);
  padding: 5px 0;
  transition: color .25s, padding .3s;
}

.menu-center > a:hover {
  color: var(--red);
  padding-left: 12px;
}

.menu-center > a span {
  font: 11px var(--body);
  color: var(--blue);
}

.menu-center > a i {
  font: 24px var(--body);
  color: var(--red);
  margin-left: auto;
}

.menu-bottom {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--muted);
}

.menu-orb {
  position: absolute;
  width: 40vw;
  height: 40vw;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .18;
  animation: orbDrift 9s ease-in-out infinite alternate;
}

.menu-orb-red {
  background: var(--red);
  right: -15vw;
  top: 5vh;
}

.menu-orb-blue {
  background: var(--blue);
  right: 10vw;
  bottom: -25vw;
  animation-delay: -4s;
}

@keyframes orbDrift {
  to {
    transform: translate(-8vw, 7vh) scale(1.15);
  }
}

/* Hero */
.section-pad {
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.hero {
  min-height: 780px;
  height: min(930px, 100svh);
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 90px;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 90px 90px;
  mask-image: linear-gradient(90deg, #000, transparent 85%);
  opacity: .7;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: 58%;
}

.eyebrow {
  font-size: 10px;
  letter-spacing: 1.7px;
  font-weight: 600;
  color: #bcbec7;
  display: flex;
  align-items: center;
  gap: 12px;
}

.eyebrow-line {
  height: 1px;
  width: 30px;
  background: var(--red);
  display: inline-block;
}

.hero h1,
.intro h2,
.services-heading h2,
.work-heading h2,
.process-heading h2,
.pricing h2,
.contact h2 {
  font: 500 clamp(56px, 7.4vw, 112px)/.99 var(--heading);
  letter-spacing: -.075em;
  margin: 30px 0;
}

.type-wrap {
  display: inline-block;
  min-width: 2.65em;
  color: var(--red);
  position: relative;
}

.type-wrap::after {
  content: "";
  height: .8em;
  width: 2px;
  background: var(--blue);
  display: inline-block;
  vertical-align: -.04em;
  margin-left: 5px;
  animation: blink .75s steps(2) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.period {
  color: var(--blue);
}

.hero-description {
  max-width: 400px;
  color: #b4b5be;
  font-size: 15px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 18px;
  font-size: 11px;
  font-weight: 600;
  transition: transform .25s, box-shadow .25s;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px #0005;
}

.button span {
  font-size: 18px;
}

.button-light {
  background: var(--white);
  color: var(--black);
}

.text-link {
  font-size: 11px;
  color: var(--white);
  border-bottom: 1px solid #ffffff55;
  padding: 8px 0;
}

.text-link span {
  color: var(--blue);
  margin-left: 10px;
}

.hero-art {
  position: absolute;
  width: min(50vw, 670px);
  aspect-ratio: 1;
  right: 2%;
  top: 15%;
  display: grid;
  place-items: center;
  animation: artFloat 8s ease-in-out infinite;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 15%;
  border-radius: 50%;
  background: conic-gradient(from 20deg, transparent 0 17%, var(--blue) 19%, transparent 22% 44%, var(--red) 46%, transparent 48% 75%, var(--blue) 77%, transparent 80%);
  filter: blur(30px);
  opacity: .65;
  animation: spin 28s linear infinite;
}

.art-ring {
  position: absolute;
  border: 1px solid #fff3;
  border-radius: 50%;
  animation: spin 24s linear infinite;
}

.ring-one {
  inset: 13%;
  border-top-color: var(--red);
  border-right-color: var(--blue);
}

.ring-two {
  inset: 23%;
  border-bottom-color: var(--blue);
  border-left-color: var(--red);
  animation-direction: reverse;
  animation-duration: 18s;
}

.ring-three {
  inset: 34%;
  border: 1px dashed #fff5;
  animation-duration: 32s;
}

.art-core {
  width: 24%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #151923, #07080b);
  box-shadow: 0 0 80px #397bff55, 0 0 100px #ff304833, inset 0 0 40px #ffffff14;
  position: relative;
  z-index: 1;
  font: 700 clamp(50px, 8vw, 115px)/1 var(--heading);
  letter-spacing: -.1em;
}

.art-core i {
  font-style: normal;
  color: var(--red);
  margin-left: -.2em;
}

.art-label,
.art-coordinate {
  position: absolute;
  font: 9px var(--heading);
  letter-spacing: 1.5px;
  color: #c8cad2;
}

.art-label-top {
  top: 12%;
  left: 18%;
}

.art-label-bottom {
  bottom: 14%;
  right: 16%;
}

.art-coordinate {
  left: 12%;
  bottom: 24%;
  font-size: 8px;
  color: #8b8e9a;
  line-height: 1.8;
}

.art-cross {
  position: absolute;
  color: var(--red);
  font: 20px var(--body);
}

.cross-one {
  top: 28%;
  right: 17%;
}

.cross-two {
  bottom: 25%;
  left: 25%;
  color: var(--blue);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes artFloat {
  50% { transform: translateY(-15px) rotate(2deg); }
}

.hero-index {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 8px;
  letter-spacing: 1.3px;
  color: #898b94;
}

.scroll-line {
  width: 70px;
  height: 1px;
  background: linear-gradient(90deg, var(--red), var(--blue));
  margin-right: auto;
}

.hero-side-label {
  position: absolute;
  right: 20px;
  top: 47%;
  writing-mode: vertical-rl;
  font-size: 8px;
  letter-spacing: 2px;
  color: #676a74;
}

/* Shared sections */
.section-kicker {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 15px;
  color: #999ba5;
  font-size: 9px;
  letter-spacing: 1.5px;
}

.intro {
  position: relative;
  padding-top: 130px;
  padding-bottom: 145px;
  background: linear-gradient(105deg, #101116 0 33.3%, #171015 33.3% 66.6%, #0c1220 66.6%);
}

.intro-content {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 8%;
  align-items: end;
  margin-top: 45px;
}

.intro h2,
.services-heading h2,
.work-heading h2,
.process-heading h2 {
  font-size: clamp(52px, 7vw, 94px);
  margin: 0;
}

.red-text { color: var(--red); }
.blue-text { color: var(--blue); }

.intro-text {
  max-width: 430px;
  color: #c4c4cb;
}

.intro-text p { margin: 0 0 18px; }
.intro-text .text-link { display: inline-block; margin-top: 10px; }

.intro-stamp {
  position: absolute;
  right: var(--pad);
  bottom: 45px;
  width: 92px;
  height: 92px;
  border: 1px solid #ffffff3a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transform: rotate(-13deg);
  font-size: 6px;
  letter-spacing: 1px;
  color: #c2c3c8;
}

.intro-stamp b {
  font: 600 28px var(--heading);
  letter-spacing: -4px;
  color: var(--white);
}

/* Services */
.services {
  padding-top: 120px;
  padding-bottom: 140px;
  background: #0a0b10;
}

.services-heading,
.work-heading,
.process-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin: 50px 0 60px;
}

.services-heading > p,
.work-heading > p,
.process-heading > p {
  color: var(--muted);
  font-size: 12px;
  max-width: 280px;
}

.service-list { border-top: 1px solid var(--line); }

.service-row {
  display: grid;
  grid-template-columns: 70px 1fr 40px;
  gap: 20px;
  align-items: center;
  padding: 25px 10px;
  border-bottom: 1px solid var(--line);
  transition: background .3s, padding .3s;
}

.service-row:hover {
  background: linear-gradient(90deg, #ff30480d, #397bff0d);
  padding-left: 22px;
}

.service-number {
  font: 11px var(--heading);
  color: var(--blue);
}

.service-row h3 {
  font: 500 clamp(22px, 3vw, 34px) var(--heading);
  margin: 0;
}

.service-row p {
  font-size: 11px;
  color: var(--muted);
  margin: 5px 0 0;
}

.service-symbol {
  font-size: 22px;
  color: var(--red);
  transition: transform .3s;
}

.service-row:hover .service-symbol { transform: translate(4px, -4px); }

/* Concept and published work */
.work {
  padding-top: 120px;
  padding-bottom: 145px;
  background: linear-gradient(120deg, #0b0c11, #120e13 50%, #0b1019);
}

.work-heading { margin-bottom: 70px; }
.work-heading > p { max-width: 310px; }

.work-groups {
  display: grid;
  grid-template-columns: 1.5fr .75fr;
  gap: 6%;
}

.group-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}

.group-index {
  font-size: 8px;
  letter-spacing: 1.5px;
  color: var(--blue);
}

.group-heading h3 {
  font: 500 28px var(--heading);
  margin: 7px 0 0;
}

.group-count {
  font: 10px var(--heading);
  color: #898b94;
}

.group-description {
  color: var(--muted);
  font-size: 11px;
  max-width: 410px;
  margin: 17px 0 24px;
}

.concept-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.concept-card {
  background: #12141a;
  padding: 10px;
  border: 1px solid #ffffff15;
  transition: transform .3s, border .3s;
}

.concept-card:hover {
  transform: translateY(-5px);
  border-color: #397bff88;
}

.concept-label {
  font-size: 7px;
  letter-spacing: 1px;
  color: #aaa;
}

.toy-visual,
.electronics-visual,
.cafe-visual,
.clothing-visual,
.furniture-visual {
  height: 155px;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.toy-visual {
  background: #eb5b37;
  color: #21171b;
}

.toy-visual > span {
  font: 700 40px/.8 var(--heading);
  letter-spacing: -3px;
}

.toy-visual i {
  font-style: normal;
  font-size: 65px;
  color: #f6d551;
  position: absolute;
  right: 18px;
  top: 17px;
  animation: spin 18s linear infinite;
}

.electronics-visual {
  background: #b7c7d4;
  color: #11202c;
  justify-content: flex-start;
  padding-left: 18px;
}

.electronics-visual > span {
  font: 600 24px/.95 var(--heading);
  letter-spacing: -1px;
}

.electronics-visual > span b { color: #fc573e; }

.electronics-visual i {
  font-size: 60px;
  position: absolute;
  right: 16px;
  color: #273b54;
}

.cafe-visual {
  background: #dfcba8;
  color: #382f26;
  flex-direction: column;
}

.cafe-visual i {
  font: italic 500 30px/.85 Georgia;
  text-align: center;
}

.cafe-visual i span { color: #fc573e; }

.cafe-visual > b {
  font-size: 6px;
  letter-spacing: 2px;
  margin-top: 13px;
}

.clothing-visual {
  background: #c1bbb2;
  color: #171616;
  justify-content: space-around;
}

.clothing-visual > span {
  font: 600 25px/.95 var(--heading);
  letter-spacing: -1px;
}

.clothing-visual i {
  font: italic 13px Georgia;
  transform: rotate(-8deg);
  color: #e04c35;
}

.furniture-visual {
  background: #bdc0b4;
  color: #2b2c26;
  flex-direction: column;
}

.furniture-visual > span {
  font: 500 32px/.9 var(--heading);
  letter-spacing: -2px;
}

.furniture-visual > span i {
  color: #e34c32;
  font-style: normal;
}

.furniture-visual > b {
  font-size: 6px;
  letter-spacing: 1.5px;
  margin-top: 15px;
}

.concept-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 3px 2px;
}

.concept-meta h4 {
  font: 500 13px var(--heading);
  margin: 0;
}

.concept-meta p {
  font-size: 8px;
  color: var(--muted);
  margin: 2px 0 0;
}

.concept-meta > span { color: var(--blue); }

.published .group-heading { align-items: center; }

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #397bff55;
  padding: 5px 8px;
  font-size: 7px;
  letter-spacing: 1px;
  color: #cbd9ff;
}

.published-card {
  display: block;
  background: #10131a;
  border: 1px solid #ffffff18;
  padding: 10px;
  transition: transform .3s, border .3s;
}

.published-card:hover {
  transform: translateY(-5px);
  border-color: var(--red);
}

.published-art {
  height: 290px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 55% 40%, #917346 0, #3f3a2c 23%, #191b17 62%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #ece1c3;
}

.published-art::before,
.published-art::after {
  content: "";
  position: absolute;
  border: 1px solid #c8b98b55;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  animation: spin 35s linear infinite;
}

.published-art::after {
  width: 180px;
  height: 180px;
  border-style: dashed;
  animation-direction: reverse;
}

.published-art > span {
  font: 500 11px var(--heading);
  letter-spacing: 6px;
  z-index: 1;
}

.published-art > i {
  font: italic 30px/.9 Georgia;
  text-align: center;
  z-index: 1;
  margin-top: 8px;
}

.published-art > b {
  position: absolute;
  right: 15%;
  top: 19%;
  font-size: 30px;
  color: #e4bd64;
}

.published-art > small {
  position: absolute;
  bottom: 11px;
  left: 13px;
  font-size: 7px;
  letter-spacing: 1px;
}

.published-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 5px 7px;
}

.published-info h4 {
  font: 500 17px var(--heading);
  margin: 10px 0 2px;
}

.published-info p {
  font-size: 9px;
  color: var(--muted);
  margin: 0;
}

.published-arrow {
  font-size: 21px;
  color: var(--red);
}

.placeholder-note {
  font-size: 9px;
  color: #8d8f99;
}

/* Process */
.process {
  padding-top: 120px;
  padding-bottom: 140px;
  background: #101116;
}

.process-heading { margin-bottom: 55px; }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-card {
  padding: 23px 21px 27px;
  border-right: 1px solid var(--line);
  min-height: 255px;
}

.process-card:first-child { padding-left: 0; }
.process-card:last-child { border: 0; }

.process-card > span {
  font-size: 8px;
  letter-spacing: 1.5px;
  color: #9c9ea8;
}

.process-icon {
  font-size: 33px;
  margin: 26px 0 15px;
}

.icon-red { color: var(--red); }
.icon-blue { color: var(--blue); }

.process-card h3 {
  font: 500 17px var(--heading);
  margin: 0;
}

.process-card p {
  font-size: 10px;
  color: var(--muted);
  max-width: 210px;
}

/* Pricing */
.pricing {
  padding-top: 120px;
  padding-bottom: 145px;
  background: linear-gradient(110deg, #0b0c10 0 33.3%, #151014 33.3% 66.6%, #0b111a 66.6%);
}

.pricing-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 10%;
  padding-top: 55px;
}

.pricing h2 {
  font-size: clamp(55px, 6vw, 82px);
  margin: 0;
}

.pricing-lead {
  color: var(--muted);
  font-size: 12px;
  max-width: 290px;
  margin-top: 24px;
}

.price-list { border-top: 1px solid var(--line); }

.price-list article {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 17px;
  border-bottom: 1px solid var(--line);
}

.price-list article > div > span {
  font-size: 8px;
  letter-spacing: 1.3px;
  color: var(--blue);
}

.price-list h3 {
  font: 500 19px var(--heading);
  margin: 5px 0;
}

.price-list article p {
  font-size: 9px;
  color: var(--muted);
  margin: 0;
  max-width: 290px;
}

.price-list article strong {
  font-size: 8px;
  text-align: right;
  color: #b7b8c0;
  white-space: nowrap;
}

.price-list article strong b {
  display: block;
  font: 500 17px var(--heading);
  color: var(--white);
  margin-top: 3px;
}

.price-featured {
  background: linear-gradient(90deg, #ff30480d, #397bff0d);
}

.price-note {
  font-size: 9px;
  color: #898b94;
  margin-top: 15px;
}

/* Contact */
.contact {
  min-height: 570px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, var(--red) 0 33.33%, #101116 33.33% 66.66%, var(--blue) 66.66%);
  display: flex;
  align-items: center;
}

.contact-content {
  position: relative;
  z-index: 2;
  width: 72%;
  padding: 90px 0;
}

.contact .eyebrow { color: #dfdfe1; }
.contact .eyebrow-line { background: var(--white); }

.contact h2 {
  font-size: clamp(58px, 8.4vw, 120px);
  margin: 25px 0;
}

.contact h2 span { color: #779cff; }

.contact-content > p:not(.eyebrow) {
  max-width: 390px;
  color: #d0d1d5;
  font-size: 13px;
}

.button-dark {
  background: #08090c;
  color: #fff;
  margin-top: 18px;
}

.contact-placeholder {
  display: block;
  font-size: 8px;
  color: #ffffffa6;
  margin-top: 10px;
}

.contact-side {
  position: absolute;
  right: var(--pad);
  bottom: 45px;
  font: 600 11px/1.5 var(--heading);
  letter-spacing: 2px;
  text-align: right;
}

.contact-side span {
  font: 8px var(--body);
  color: #c7c9d0;
}

.contact-orbit {
  position: absolute;
  border: 1px solid #ffffff32;
  border-radius: 50%;
  width: 420px;
  height: 420px;
  right: 8%;
  top: 10%;
  animation: spin 40s linear infinite;
}

.orbit-b {
  width: 280px;
  height: 280px;
  right: 12%;
  top: 23%;
  border-style: dashed;
  animation-direction: reverse;
}

/* Footer */
.footer {
  padding: 30px var(--pad);
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.4fr auto;
  align-items: center;
  gap: 30px;
  background: #08090c;
  border-top: 1px solid var(--line);
}

.footer > p {
  font-size: 9px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a,
.copyright,
.back-top {
  font-size: 8px;
  color: #b1b2ba;
}

.footer-links a:hover,
.back-top:hover {
  color: var(--red);
}

.back-top { letter-spacing: 1px; }
.copyright { white-space: nowrap; }

/* Scroll animations and responsive layout */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2, .75, .2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.service-row.reveal:nth-child(2),
.process-card.reveal:nth-child(2) { transition-delay: .08s; }

.service-row.reveal:nth-child(3),
.process-card.reveal:nth-child(3) { transition-delay: .16s; }

.service-row.reveal:nth-child(4),
.process-card.reveal:nth-child(4) { transition-delay: .24s; }

.concept-card { animation: cardAppear .8s both; }
.concept-card:nth-child(2) { animation-delay: .08s; }
.concept-card:nth-child(3) { animation-delay: .16s; }
.concept-card:nth-child(4) { animation-delay: .24s; }

@keyframes cardAppear {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 950px) {
  .hero { min-height: 720px; }
  .hero-copy { width: 70%; }
  .hero-art { width: 58vw; right: -8%; opacity: .8; }
  .work-groups { grid-template-columns: 1fr; gap: 55px; }
  .published-card { max-width: 480px; }
  .published-art { height: 330px; }
  .footer { grid-template-columns: 1fr 1fr; }
  .footer-links { grid-row: 2; }
  .copyright { justify-self: end; }
}

@media (max-width: 650px) {
  :root { --pad: 23px; }

  .topbar { height: 70px; }
  .topbar-note { display: none; }

  .hero {
    height: auto;
    min-height: 800px;
    align-items: flex-start;
    padding-top: 165px;
  }

  .hero-copy { width: 100%; }
  .hero h1 {
    font-size: clamp(55px, 14vw, 84px);
    margin: 23px 0;
  }

  .hero-description { max-width: 300px; }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .hero-art {
    width: 85vw;
    top: 47%;
    right: -25%;
    opacity: .45;
  }

  .hero-side-label { display: none; }

  .hero-index {
    bottom: 25px;
  }

  .section-kicker {
    font-size: 7px;
    gap: 12px;
  }

  .section-kicker span:last-child { text-align: right; }

  .intro {
    padding-top: 90px;
    padding-bottom: 110px;
    background: linear-gradient(140deg, #101116 0 33%, #171015 33% 66%, #0c1220 66%);
  }

  .intro-content {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 38px;
  }

  .intro h2,
  .services-heading h2,
  .work-heading h2,
  .process-heading h2 {
    font-size: clamp(50px, 13vw, 74px);
  }

  .intro-stamp {
    width: 70px;
    height: 70px;
    bottom: 28px;
    right: 23px;
  }

  .intro-stamp b { font-size: 21px; }

  .services,
  .work,
  .process,
  .pricing {
    padding-top: 85px;
    padding-bottom: 95px;
  }

  .services-heading,
  .work-heading,
  .process-heading {
    display: block;
    margin: 38px 0 40px;
  }

  .services-heading > p,
  .work-heading > p,
  .process-heading > p {
    margin-top: 17px;
  }

  .service-row {
    grid-template-columns: 35px 1fr 22px;
    gap: 10px;
    padding: 21px 0;
  }

  .service-row h3 { font-size: 20px; }
  .service-row p { font-size: 9px; max-width: 260px; }

  .concept-grid { gap: 9px; }
  .concept-card { padding: 7px; }

  .toy-visual,
  .electronics-visual,
  .cafe-visual,
  .clothing-visual,
  .furniture-visual {
    height: 120px;
  }

  .toy-visual > span { font-size: 31px; }
  .electronics-visual > span { font-size: 19px; }
  .electronics-visual i { font-size: 42px; }
  .cafe-visual i { font-size: 24px; }
  .clothing-visual > span { font-size: 19px; }
  .furniture-visual > span { font-size: 25px; }
  .concept-meta h4 { font-size: 11px; }
  .concept-meta p { font-size: 7px; }

  .published-art { height: 260px; }

  .process-grid { grid-template-columns: 1fr 1fr; }

  .process-card {
    min-height: 220px;
    padding: 18px 13px;
    border-bottom: 1px solid var(--line);
  }

  .process-card:nth-child(2) { border-right: 0; }
  .process-card:nth-child(3) { padding-left: 0; }
  .process-card:nth-child(4) { border-bottom: 0; }
  .process-icon { margin: 18px 0 10px; }

  .pricing-layout {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-top: 38px;
  }

  .pricing h2 { font-size: 58px; }

  .price-list article { padding: 17px 9px; }
  .price-list article p { max-width: 200px; }
  .price-list article strong b { font-size: 14px; }

  .contact {
    min-height: 570px;
    background: linear-gradient(140deg, var(--red) 0 32%, #101116 32% 68%, var(--blue) 68%);
  }

  .contact-content {
    width: 100%;
    padding: 75px 0;
  }

  .contact h2 { font-size: clamp(58px, 14vw, 84px); }

  .contact-orbit {
    width: 280px;
    height: 280px;
    right: -25%;
    top: 18%;
    opacity: .7;
  }

  .orbit-b {
    width: 200px;
    height: 200px;
    right: -14%;
    top: 25%;
  }

  .contact-side {
    font-size: 9px;
    bottom: 22px;
  }

  .footer {
    grid-template-columns: 1fr 1fr;
    gap: 17px;
    padding-top: 25px;
  }

  .footer > p {
    justify-self: end;
    text-align: right;
  }

  .footer-links {
    gap: 14px;
    flex-wrap: wrap;
  }

  .copyright { font-size: 7px; }
  .back-top { justify-self: end; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Responsive improvements for phones, tablets, and larger screens */
img,
video,
svg {
  max-width: 100%;
}

body {
  min-width: 320px;
}

@media (max-width: 380px) {
  :root {
    --pad: 16px;
  }

  .hero {
    min-height: 720px;
    padding-top: 145px;
  }

  .hero h1 {
    font-size: clamp(46px, 13vw, 58px);
  }

  .hero-art {
    top: 51%;
    right: -34%;
    width: 100vw;
  }

  .hero-index {
    font-size: 7px;
    gap: 8px;
  }

  .scroll-line {
    width: 35px;
  }

  .concept-grid {
    grid-template-columns: 1fr;
  }

  .toy-visual,
  .electronics-visual,
  .cafe-visual,
  .clothing-visual,
  .furniture-visual {
    height: 160px;
  }

  .price-list article {
    align-items: flex-start;
    gap: 12px;
  }

  .price-list article p {
    max-width: 180px;
  }

  .price-list article strong b {
    font-size: 12px;
  }

  .footer-links {
    gap: 10px;
  }
}

@media (min-width: 651px) and (max-width: 950px) {
  :root {
    --pad: 6vw;
  }

  .hero h1 {
    font-size: clamp(64px, 9vw, 90px);
  }

  .intro-content {
    grid-template-columns: 1fr 1fr;
    gap: 5%;
  }

  .work-groups {
    grid-template-columns: 1fr;
  }

  .published-card {
    width: min(100%, 520px);
  }

  .pricing-layout {
    gap: 5%;
  }
}

@media (min-width: 1400px) {
  :root {
    --pad: max(120px, calc((100vw - 1440px) / 2));
  }

  .hero,
  .intro,
  .services,
  .work,
  .process,
  .pricing,
  .contact,
  .footer,
  .topbar {
    padding-left: var(--pad);
    padding-right: var(--pad);
  }

  .hero-copy {
    max-width: 760px;
  }
}