:root {
  --ink: #050505;
  --muted: #6b6d73;
  --line: #dde4ec;
  --blue: #4020ff;
  --nav-h: 74px;
  --menu-h: 624px;
  --lime: #dfff00;
  --navy: #11106d;
  --cream: #f5ece3;
  --gradient-progress: 0;
  --figma-progress: 0;
}

@font-face {
  font-family: "Madefor Display ExtraBold";
  src: url("../Fonts/madefor-display-extrabold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  letter-spacing: 0;
  overflow-x: hidden;
}

button, a { font: inherit; color: inherit; }
button { border: 0; background: transparent; padding: 0; cursor: pointer; }
a { text-decoration: none; }

.site-header {
  height: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 0 0 30px;
  border-bottom: 1px solid #dce3eb;
  background: rgba(255, 255, 255, 0.98);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  font-size: 1.22rem;
  font-weight: 700;
  white-space: nowrap;
}

.brand-mark {
  width: 24px;
  height: 24px;
  position: relative;
  border-radius: 2px;
  background: #0b0b0e;
  overflow: hidden;
}

.brand-mark::after {
  content: "";
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  left: 5px;
  top: 5px;
}

.main-nav {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 48px;
}

.nav-link,
.nav-trigger {
  height: var(--nav-h);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  font-size: 1rem;
  white-space: nowrap;
}

.nav-trigger.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: #0b0b0e;
}

.chevron {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 160ms ease;
}

.nav-trigger.active .chevron { transform: rotate(225deg) translateY(-2px); }

.header-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  height: var(--nav-h);
}

.language-wrap {
  height: var(--nav-h);
  position: relative;
  display: grid;
  place-items: center;
}

.language-trigger {
  width: 58px;
  height: var(--nav-h);
  display: grid;
  place-items: center;
}

.globe {
  width: 19px;
  height: 19px;
  border: 1.7px solid #0b0b0e;
  border-radius: 50%;
  position: relative;
}

.globe::before,
.globe::after {
  content: "";
  position: absolute;
  inset: 2px 5px;
  border-left: 1px solid #0b0b0e;
  border-right: 1px solid #0b0b0e;
  border-radius: 50%;
}

.globe::after {
  inset: 7px 1px;
  border: 0;
  border-top: 1px solid #0b0b0e;
  border-bottom: 1px solid #0b0b0e;
  border-radius: 0;
}

.language-menu {
  position: absolute;
  right: -56px;
  top: var(--nav-h);
  width: 164px;
  padding: 18px 22px;
  display: grid;
  gap: 18px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
  z-index: 90;
  text-align: left;
}

.language-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-menu strong,
.language-menu span {
  font-size: 0.98rem;
  line-height: 1;
}

.login-link,
.start-button {
  height: var(--nav-h);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.login-link {
  width: 86px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.start-button {
  width: 180px;
  color: #fff;
  background: #050505;
  font-size: 1.02rem;
  transition: background 180ms ease;
}

.start-button:hover {
  background: var(--blue);
}

.avatar {
  width: 42px;
  height: 42px;
  margin-right: 28px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 55% 32%, #d5b292 0 12%, transparent 13%),
    radial-gradient(circle at 50% 40%, #261b18 0 30%, transparent 31%),
    radial-gradient(circle at 50% 120%, #925f50 0 48%, #d6d0ca 49% 100%);
}

.mega {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--nav-h);
  height: var(--menu-h);
  display: grid;
  grid-template-columns: 63% 37%;
  background: #fff;
  border-top: 1px solid #e4e8ef;
  box-shadow: 0 24px 70px rgba(0, 20, 50, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  z-index: 60;
}

.mega.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-left {
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 54px 86px 0;
}

.menu-kicker {
  margin: 0;
  padding-bottom: 24px;
  border-bottom: 1px solid #d9e0e8;
  font-size: 1rem;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 88px;
  row-gap: 28px;
  padding-top: 42px;
  align-content: start;
}

.menu-item {
  text-align: left;
  min-height: 74px;
  display: grid;
  align-content: start;
  gap: 14px;
  cursor: pointer;
}

.menu-item strong {
  font-size: 1.15rem;
  line-height: 1.1;
  font-weight: 700;
}

.menu-item strong::after {
  content: " ->";
  opacity: 0;
  transition: opacity 140ms ease;
}

.menu-item.active strong { color: var(--blue); }
.menu-item.active strong::after { opacity: 1; }

.menu-item span {
  color: #676b75;
  font-size: 1rem;
  line-height: 1.4;
  max-width: 19ch;
}

.menu-footer {
  margin-left: -86px;
  margin-right: -86px;
  min-height: 80px;
  border-top: 1px solid #eceff3;
  background: #fafafa;
  display: flex;
  align-items: center;
  padding: 0 86px;
  font-size: 1rem;
  gap: 8px;
}

.menu-footer a {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.mega-right {
  position: relative;
  background: linear-gradient(180deg, #fbfdff 0%, #edf6ff 100%);
  overflow: hidden;
}

.mega-right::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 52%, rgba(209, 225, 245, 0.95), rgba(255, 255, 255, 0) 26%);
  opacity: 0.9;
}

.preview {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 220ms ease, transform 220ms ease;
  z-index: 1;
}

.preview.active {
  opacity: 1;
  transform: translateY(0);
}

.preview-card {
  width: min(58vw, 740px);
  max-width: 82%;
  aspect-ratio: 1.42;
  display: grid;
  place-items: center;
}

.preview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  box-shadow: 0 24px 64px rgba(20, 35, 60, 0.16);
}

.hero {
  min-height: 100vh;
  padding: calc(var(--nav-h) + 94px) clamp(26px, 4.7vw, 96px) 72px;
  position: relative;
  background:
    radial-gradient(#dde6ef 0.85px, transparent 0.95px),
    #fff;
  background-size: 9px 9px;
  overflow: hidden;
}

.hero h1 {
  margin: 0;
  max-width: 1740px;
  font-size: clamp(6.2rem, 12.3vw, 15.2rem);
  line-height: 0.98;
  font-weight: 300;
  letter-spacing: 0;
}

.hero p {
  margin: clamp(60px, 6vw, 92px) 0 0;
  max-width: 790px;
  font-size: clamp(2rem, 2.55vw, 3.2rem);
  line-height: 1.1;
  font-weight: 300;
}

.hero-actions {
  margin-top: 54px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.pill {
  min-width: 194px;
  height: 52px;
  border-radius: 999px;
  color: #fff;
  background: #050505;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  font-size: 1rem;
}

.down-arrow {
  width: clamp(76px, 7vw, 118px);
  height: clamp(76px, 7vw, 118px);
  position: relative;
  margin-right: clamp(12px, 3vw, 62px);
}

.down-arrow::before,
.down-arrow::after {
  content: "";
  position: absolute;
  background: #050505;
}

.down-arrow::before {
  width: 5px;
  height: 80%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.down-arrow::after {
  width: 46%;
  height: 46%;
  left: 27%;
  bottom: 2%;
  border-right: 5px solid #050505;
  border-bottom: 5px solid #050505;
  background: transparent;
  transform: rotate(45deg);
}

.grid-experience {
  min-height: calc(100vh - var(--nav-h));
  background: linear-gradient(180deg, #e1ffd0 0%, #efffea 55%, #fbfcff 100%);
  position: relative;
}

.grid-pin {
  position: relative;
  height: auto;
  min-height: 760px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(310px, 0.42fr) minmax(740px, 1fr);
  align-items: center;
  gap: clamp(28px, 4vw, 76px);
  padding: clamp(42px, 8vh, 112px) clamp(28px, 4.7vw, 98px);
}

.grid-copy h2 {
  margin: 0;
  max-width: 570px;
  font-size: clamp(3.7rem, 4.6vw, 6rem);
  line-height: 1.04;
  font-weight: 300;
}

.grid-copy p {
  margin: 36px 0 28px;
  max-width: 510px;
  font-size: clamp(1.06rem, 1.15vw, 1.35rem);
  line-height: 1.45;
}

.text-link {
  display: inline-flex;
  gap: 8px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  font-weight: 600;
}

.editor-shell {
  justify-self: end;
  width: min(1240px, 68vw);
  aspect-ratio: 1.62;
  background: #efefef;
  display: grid;
  grid-template-rows: 40px 1fr;
  box-shadow: 0 30px 70px rgba(20, 30, 42, 0.08);
  transform-origin: center right;
}

.editor-top {
  background: #101521;
  color: #dce5ef;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  font-size: 0.76rem;
  padding-left: 13px;
}

.editor-top > div {
  display: flex;
  align-items: center;
  gap: 18px;
}

.editor-top > div:nth-child(2) { color: #c7d2df; }
.editor-top > div:last-child { justify-content: flex-end; gap: 14px; }
.publish { align-self: stretch; display: grid; place-items: center; padding: 0 17px; background: #1b76ff; color: #fff; }
.tiny-logo { width: 21px; height: 21px; background: #dbe7ff; border: 6px solid #0b1120; border-radius: 2px; }

.design-device {
  width: 17px;
  height: 17px;
  border: 1px solid #8e99aa;
  border-radius: 3px;
  opacity: 0.72;
}

.design-device.tablet {
  width: 13px;
  height: 20px;
}

.design-device.mobile {
  width: 10px;
  height: 20px;
}

.editor-shell[data-state="desktop"] .design-device[data-design-state="desktop"],
.editor-shell[data-state="generating"] .design-device[data-design-state="generating"],
.editor-shell[data-state="mobile"] .design-device[data-design-state="mobile"] {
  border-color: #51a0ff;
  box-shadow: 0 0 0 2px rgba(81, 160, 255, 0.18);
  opacity: 1;
}

.design-device.active {
  border-color: #51a0ff;
  box-shadow: 0 0 0 2px rgba(81, 160, 255, 0.18);
  opacity: 1;
}

.editor-body {
  min-height: 0;
  display: grid;
  grid-template-columns: 38px 1fr;
}

.editor-rail {
  background: #fbfcfd;
  color: #626a74;
  border-right: 1px solid #dfe5ec;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 19px;
  padding-top: 14px;
  font-size: 1rem;
}

.editor-canvas {
  padding: clamp(26px, 3vw, 44px) clamp(34px, 4vw, 72px);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.recorded-editor-shell {
  background: #eef0f2;
  box-shadow:
    0 42px 90px rgba(22, 39, 56, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.85) inset;
}

.recorded-editor-shell .editor-canvas {
  background:
    radial-gradient(circle at 52% 46%, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0) 42%),
    linear-gradient(180deg, #f4f5f6 0%, #eceff2 100%);
}

.grid-video-card {
  width: min(1040px, 100%);
  aspect-ratio: 1.78;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(13, 21, 34, 0.08);
  background:
    url("../Images/grid-editor-imagegen-poster.png") center / cover no-repeat,
    #fff;
  box-shadow:
    0 22px 54px rgba(12, 19, 30, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.92) inset;
  isolation: isolate;
}

.grid-video-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 24%),
    radial-gradient(circle at 50% 8%, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0) 30%);
  mix-blend-mode: screen;
}

.grid-recording-video {
  position: absolute;
  z-index: 1;
  left: -75.4%;
  top: -66.7%;
  width: 194%;
  height: 216%;
  display: block;
  object-fit: cover;
  filter: saturate(1.03) contrast(1.02);
}

.grid-video-glass {
  position: absolute;
  z-index: 3;
  left: 52%;
  top: 42%;
  height: 29px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 1px solid rgba(134, 148, 164, 0.22);
  border-radius: 3px;
  color: #48535f;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 9px 24px rgba(31, 45, 63, 0.12);
  backdrop-filter: blur(12px);
  font-size: 0.55rem;
  line-height: 1;
}

.grid-video-glass i {
  width: 9px;
  height: 9px;
  border: 1.4px solid currentColor;
  border-radius: 2px;
  opacity: 0.7;
}

.grid-video-glass i:nth-child(3) {
  border-radius: 50%;
}

.grid-video-selection {
  position: absolute;
  z-index: 3;
  left: 4.5%;
  right: 31%;
  top: 62.5%;
  height: 2px;
  background: rgba(80, 96, 115, 0.22);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.grid-video-selection::before,
.grid-video-selection::after {
  content: "";
  position: absolute;
  top: -12px;
  width: 7px;
  height: 26px;
  border-radius: 999px;
  background: rgba(65, 75, 90, 0.5);
}

.grid-video-selection::before { right: 0; }
.grid-video-selection::after { left: 62%; }

.responsive-landing {
  width: min(1040px, 100%);
  aspect-ratio: 1.56;
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.88fr) minmax(420px, 1.12fr);
  grid-template-rows: 74px 1fr 112px;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(16, 22, 32, 0.08);
  background:
    linear-gradient(rgba(13, 18, 24, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 18, 24, 0.04) 1px, transparent 1px),
    #f7f4ed;
  background-size: 42px 42px;
  color: #101318;
  box-shadow: 0 18px 46px rgba(11, 18, 30, 0.14);
  transition:
    width 560ms cubic-bezier(.2,.8,.2,1),
    height 560ms cubic-bezier(.2,.8,.2,1),
    aspect-ratio 560ms cubic-bezier(.2,.8,.2,1),
    grid-template-columns 560ms cubic-bezier(.2,.8,.2,1),
    grid-template-rows 560ms cubic-bezier(.2,.8,.2,1),
    border-radius 560ms cubic-bezier(.2,.8,.2,1),
    opacity 220ms ease;
}

.responsive-landing .landing-nav,
.responsive-landing .landing-copy,
.responsive-landing .landing-visual,
.responsive-landing .landing-stats {
  position: relative;
  overflow: hidden;
}

.responsive-landing .landing-nav {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 32px;
  border-bottom: 1px solid rgba(16, 22, 32, 0.08);
  color: #515761;
  font-size: clamp(0.62rem, 0.72vw, 0.78rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.responsive-landing .landing-nav strong {
  margin-right: auto;
  color: #101318;
  font-size: clamp(1.05rem, 1.16vw, 1.32rem);
  letter-spacing: -0.02em;
}

.responsive-landing .landing-nav em {
  font-style: normal;
  color: #f7f4ed;
  background: #111318;
  border-radius: 999px;
  padding: 11px 17px;
}

.responsive-landing .landing-copy {
  padding: clamp(34px, 4vw, 52px) clamp(26px, 3.4vw, 38px) 30px;
  display: grid;
  align-content: center;
  gap: 20px;
}

.responsive-landing .landing-copy small {
  color: #7a5d45;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.responsive-landing .landing-copy h3 {
  max-width: 430px;
  margin: 0;
  font-size: clamp(2.45rem, 3.2vw, 4.05rem);
  line-height: 0.96;
  font-weight: 400;
}

.responsive-landing .landing-copy p {
  max-width: 390px;
  margin: 0;
  color: #545b64;
  font-size: clamp(0.78rem, 0.9vw, 0.95rem);
  line-height: 1.48;
}

.responsive-landing .landing-copy a {
  width: max-content;
  min-height: 46px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0 19px;
  background: #0f1218;
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
}

.responsive-landing .landing-visual {
  grid-column: 2;
  grid-row: 2 / 4;
  margin: 30px 30px 30px 0;
  border-radius: 6px;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 26%),
    radial-gradient(circle at 16% 72%, rgba(20, 36, 25, 0.88) 0 13%, transparent 14%),
    radial-gradient(circle at 76% 38%, rgba(255, 255, 255, 0.62) 0 8%, transparent 9%),
    linear-gradient(120deg, transparent 0 42%, rgba(0, 0, 0, 0.32) 43% 44%, transparent 45%),
    linear-gradient(145deg, #b9aa95 0 28%, #ebe2d4 29% 50%, #5f6670 51% 72%, #1d242b 73%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.responsive-landing .landing-visual::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 12%;
  bottom: 13%;
  height: 24%;
  background:
    linear-gradient(90deg, #0f1519 0 18%, transparent 18% 24%, #0f1519 24% 42%, transparent 42% 48%, #0f1519 48% 66%, transparent 66% 72%, #0f1519 72%);
  opacity: 0.88;
}

.material-pill,
.result-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.46);
  box-shadow: 0 16px 40px rgba(20, 24, 31, 0.14);
}

.material-pill {
  left: 24px;
  top: 24px;
  border-radius: 999px;
  padding: 10px 14px;
  color: #15191f;
  font-size: 0.7rem;
  font-weight: 800;
}

.result-card {
  right: 24px;
  bottom: 24px;
  width: 132px;
  min-height: 92px;
  border-radius: 18px;
  padding: 16px;
  color: #15191f;
  display: grid;
  align-content: center;
  gap: 3px;
}

.result-card strong {
  font-size: 1.8rem;
  line-height: 1;
}

.result-card small {
  color: #59616a;
  font-size: 0.68rem;
  line-height: 1.2;
}

.responsive-landing .landing-stats {
  grid-column: 1;
  grid-row: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(16, 22, 32, 0.08);
}

.responsive-landing .landing-stats span {
  padding: 20px 18px;
  border-right: 1px solid rgba(16, 22, 32, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.responsive-landing .landing-stats span:last-child {
  border-right: 0;
}

.responsive-landing .landing-stats strong {
  font-size: 1.35rem;
  line-height: 1;
}

.responsive-landing .landing-stats small {
  color: #707780;
  font-size: 0.58rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.responsive-overlay {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(520px, 66%);
  padding: 30px 38px;
  transform: translate(-50%, -48%);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 60px rgba(28, 28, 56, 0.18);
  color: #171720;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  z-index: 8;
  transition: opacity 260ms ease, transform 420ms cubic-bezier(.2,.8,.2,1);
}

.responsive-overlay strong {
  display: block;
  margin-bottom: 22px;
}

.responsive-overlay span {
  display: block;
  height: 4px;
  background: #e6e8ef;
  overflow: hidden;
  margin-bottom: 18px;
}

.responsive-overlay i {
  display: block;
  width: 80%;
  height: 100%;
  background: linear-gradient(90deg, #4f66ff, #d754ff);
  transform-origin: left center;
  animation: responsiveProgress 2.2s ease-in-out infinite;
}

.responsive-overlay small {
  color: #737787;
  font-size: 0.86rem;
}

.responsive-landing[data-state="generating"] {
  opacity: 0.34;
}

.responsive-landing[data-state="generating"] .responsive-overlay {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.responsive-landing[data-state="generating"] .collage-toolbar {
  opacity: 0;
}

.responsive-landing[data-state="mobile"] {
  width: 320px;
  height: 612px;
  aspect-ratio: auto;
  grid-template-columns: 1fr;
  grid-template-rows: 62px 224px 1fr 98px;
  border-radius: 34px;
  padding: 12px;
  background: #101318;
  box-shadow:
    0 30px 74px rgba(11, 14, 22, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.responsive-landing[data-state="mobile"] .landing-nav {
  grid-column: 1;
  grid-row: 1;
  border: 0;
  padding: 0 16px;
}

.responsive-landing[data-state="mobile"] .landing-nav span {
  display: none;
}

.responsive-landing[data-state="mobile"] .landing-nav strong {
  color: #fff;
  font-size: 1rem;
}

.responsive-landing[data-state="mobile"] .landing-nav em {
  padding: 8px 10px;
  color: #111318;
  background: #d8ff58;
  font-size: 0.56rem;
}

.responsive-landing[data-state="mobile"] .landing-copy,
.responsive-landing[data-state="mobile"] .landing-visual,
.responsive-landing[data-state="mobile"] .landing-stats {
  grid-column: 1;
}

.responsive-landing[data-state="mobile"] .landing-visual {
  grid-row: 2;
  margin: 0;
  border-radius: 24px 24px 0 0;
}

.responsive-landing[data-state="mobile"] .landing-copy {
  grid-row: 3;
  padding: 18px 17px 14px;
  gap: 11px;
  background: #f7f4ed;
}

.responsive-landing[data-state="mobile"] .landing-copy h3 {
  font-size: 2rem;
  line-height: 0.98;
}

.responsive-landing[data-state="mobile"] .landing-copy p {
  font-size: 0.72rem;
  line-height: 1.34;
}

.responsive-landing[data-state="mobile"] .landing-copy small {
  font-size: 0.56rem;
}

.responsive-landing[data-state="mobile"] .landing-copy a {
  min-height: 39px;
  padding: 0 14px;
  font-size: 0.68rem;
}

.responsive-landing[data-state="mobile"] .landing-stats {
  grid-row: 4;
  background: #f7f4ed;
  border-radius: 0 0 24px 24px;
}

.responsive-landing[data-state="mobile"] .landing-stats span {
  padding: 14px 9px;
}

.responsive-landing[data-state="mobile"] .landing-stats strong {
  font-size: 1rem;
}

.responsive-landing[data-state="mobile"] .landing-stats small {
  font-size: 0.48rem;
}

.responsive-landing[data-state="mobile"] .material-pill {
  left: 15px;
  top: 15px;
  font-size: 0.58rem;
}

.responsive-landing[data-state="mobile"] .result-card {
  right: 14px;
  bottom: 14px;
  width: 104px;
  min-height: 72px;
  padding: 12px;
  border-radius: 14px;
}

.responsive-landing[data-state="mobile"] .result-card strong {
  font-size: 1.35rem;
}

.responsive-landing[data-state="mobile"] .collage-toolbar,
.responsive-landing[data-state="mobile"] .selection-line {
  opacity: 0;
}

@keyframes responsiveProgress {
  0% { transform: scaleX(0.22); }
  52% { transform: scaleX(1); }
  100% { transform: scaleX(0.52); }
}

.responsive-landing.grid-resize-demo {
  width: min(1040px, 100%);
  aspect-ratio: 1.56;
  display: block;
  padding: clamp(22px, 2.5vw, 36px);
  overflow: visible;
  border-radius: 0;
  border: 0;
  background: #ededed;
  box-shadow: 0 22px 60px rgba(31, 38, 52, 0.12);
}

.resize-site {
  height: 100%;
  padding: 18px 22px 22px;
  display: grid;
  grid-template-rows: 112px 1fr;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow:
    0 6px 18px rgba(20, 25, 32, 0.14),
    inset 0 0 0 1px rgba(5, 8, 12, 0.05);
}

.resize-nav {
  display: grid;
  grid-template-columns: minmax(260px, 1.25fr) repeat(4, minmax(86px, .62fr)) 70px;
  gap: 24px;
  align-items: start;
  color: #111318;
  font-size: clamp(0.48rem, 0.55vw, 0.66rem);
  line-height: 1.34;
}

.resize-logo {
  width: max-content;
  color: #151515;
  font-size: clamp(1rem, 1.15vw, 1.4rem);
  line-height: 0.94;
  font-weight: 600;
}

.resize-logo span {
  display: block;
  color: #888;
  font-weight: 400;
}

.resize-nav b,
.resize-nav span,
.resize-nav em {
  display: block;
  transition: opacity 420ms ease, filter 420ms ease, transform 420ms ease;
}

.resize-nav b {
  margin-bottom: 8px;
  font-weight: 800;
}

.resize-nav em {
  justify-self: end;
  min-width: 52px;
  height: 18px;
  display: grid;
  place-items: center;
  border: 1px solid #9ca46b;
  border-radius: 5px;
  background: #e8ff78;
  font-style: normal;
  font-weight: 800;
}

.grid-resize-demo:not([data-state="radu"]) .resize-logo,
.grid-resize-demo:not([data-state="radu"]) .resize-nav b,
.grid-resize-demo:not([data-state="radu"]) .resize-nav span,
.grid-resize-demo:not([data-state="radu"]) .resize-nav em {
  color: transparent;
  border-color: transparent;
  background: #e8e8e8;
  border-radius: 3px;
  filter: blur(.25px);
}

.grid-resize-demo:not([data-state="radu"]) .resize-logo {
  width: 74px;
  height: 16px;
}

.grid-resize-demo:not([data-state="radu"]) .resize-logo span {
  display: none;
}

.grid-resize-demo:not([data-state="radu"]) .resize-nav b {
  width: 34px;
  height: 9px;
}

.grid-resize-demo:not([data-state="radu"]) .resize-nav span {
  width: 70%;
  height: 8px;
  margin: 8px 0;
}

.grid-resize-demo:not([data-state="radu"]) .resize-nav em {
  width: 46px;
}

.resize-grid {
  min-height: 0;
  display: grid;
  grid-template-columns: var(--grid-cols, 2fr 1fr);
  grid-template-rows: var(--grid-rows, 1.48fr .58fr);
  gap: 10px;
  transition:
    grid-template-columns 900ms cubic-bezier(.19,1,.22,1),
    grid-template-rows 900ms cubic-bezier(.19,1,.22,1);
}

.grid-resize-demo[data-state="layout-a"] {
  --grid-cols: 2fr 1fr;
  --grid-rows: 1.45fr .68fr;
}

.grid-resize-demo[data-state="layout-b"] {
  --grid-cols: 1.25fr .75fr 1fr;
  --grid-rows: 1.78fr .66fr;
}

.grid-resize-demo[data-state="layout-c"] {
  --grid-cols: 1.28fr .78fr 1fr;
  --grid-rows: 1.38fr .55fr;
}

.grid-resize-demo[data-state="radu"] {
  --grid-cols: 1.3fr .78fr 1fr;
  --grid-rows: 1.38fr .5fr;
}

.resize-cell {
  min-width: 0;
  min-height: 0;
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  padding: 18px;
  color: #151515;
  transition:
    grid-column 900ms cubic-bezier(.19,1,.22,1),
    grid-row 900ms cubic-bezier(.19,1,.22,1),
    background 520ms ease,
    opacity 380ms ease;
}

.serum-cell {
  grid-column: 1 / 2;
  grid-row: 1;
  background: #cfe7d9;
}

.face-cell {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  background: #e4f0f5;
}

.lotion-cell {
  grid-column: 1 / 2;
  grid-row: 2;
  background: #556173;
  color: #fff;
}

.welcome-cell {
  grid-column: 2 / 3;
  grid-row: 2;
  background: #e6ff74;
}

.grid-resize-demo[data-state="layout-a"] .serum-cell {
  grid-column: 1 / 2;
  grid-row: 1;
}

.grid-resize-demo[data-state="layout-a"] .face-cell {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
}

.grid-resize-demo[data-state="layout-a"] .lotion-cell {
  grid-column: 1 / 2;
  grid-row: 2;
}

.grid-resize-demo[data-state="layout-a"] .welcome-cell {
  grid-column: 1 / 2;
  grid-row: 2;
  justify-self: end;
  width: 34%;
}

.grid-resize-demo[data-state="layout-b"] .serum-cell,
.grid-resize-demo[data-state="layout-c"] .serum-cell,
.grid-resize-demo[data-state="radu"] .serum-cell {
  grid-column: 1 / 3;
  grid-row: 1;
}

.grid-resize-demo[data-state="layout-b"] .face-cell,
.grid-resize-demo[data-state="layout-c"] .face-cell,
.grid-resize-demo[data-state="radu"] .face-cell {
  grid-column: 3 / 4;
  grid-row: 1 / 3;
}

.grid-resize-demo[data-state="layout-b"] .lotion-cell,
.grid-resize-demo[data-state="layout-c"] .lotion-cell,
.grid-resize-demo[data-state="radu"] .lotion-cell {
  grid-column: 1 / 2;
  grid-row: 2;
}

.grid-resize-demo[data-state="layout-b"] .welcome-cell,
.grid-resize-demo[data-state="layout-c"] .welcome-cell,
.grid-resize-demo[data-state="radu"] .welcome-cell {
  grid-column: 2 / 3;
  grid-row: 2;
  width: auto;
}

.grid-resize-demo:not([data-state="radu"]) .resize-cell > * {
  opacity: 0;
}

.grid-resize-demo[data-state="radu"] .resize-cell > * {
  opacity: 1;
  transition: opacity 520ms ease 180ms;
}

.grid-resize-demo[data-state="radu"] .serum-cell {
  background:
    radial-gradient(ellipse at 48% 54%, rgba(245, 238, 219, .98) 0 19%, transparent 20%),
    radial-gradient(ellipse at 59% 55%, rgba(194, 183, 155, .72) 0 25%, transparent 26%),
    linear-gradient(105deg, rgba(107, 127, 84, .5), rgba(238, 239, 232, .9) 66%);
}

.serum-cell::before,
.serum-cell::after {
  content: "";
  position: absolute;
  opacity: 0;
  transition: opacity 520ms ease 180ms;
}

.serum-cell::before {
  width: 48px;
  height: 116px;
  left: 43%;
  top: 16%;
  border-radius: 12px 12px 6px 6px;
  background: linear-gradient(90deg, rgba(255,255,255,.55), #c0a653 52%, #756724);
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
}

.serum-cell::after {
  width: 85px;
  height: 140px;
  left: 13%;
  bottom: 11%;
  background: linear-gradient(90deg, #f5f5f0, #d8d6d0);
  box-shadow: -8px 10px 14px rgba(0,0,0,.1);
}

.grid-resize-demo[data-state="radu"] .face-cell {
  background:
    radial-gradient(ellipse at 63% 40%, #bb6d45 0 22%, transparent 23%),
    radial-gradient(ellipse at 59% 45%, #a96748 0 34%, transparent 35%),
    linear-gradient(100deg, #f5f6f6 0 38%, #cc8c68 39% 65%, #f7f7f7 66%);
}

.face-cell::before {
  content: "";
  position: absolute;
  right: 8%;
  bottom: 0;
  width: 46%;
  height: 76%;
  border-radius: 49% 45% 0 0;
  background: linear-gradient(90deg, #9d5a3e, #d99a76);
  opacity: 0;
  transition: opacity 520ms ease 180ms;
}

.grid-resize-demo[data-state="radu"] .lotion-cell {
  background:
    linear-gradient(135deg, rgba(255,255,255,.88) 0 28%, transparent 29%),
    linear-gradient(135deg, #667386, #4d596a);
}

.grid-resize-demo[data-state="radu"] .welcome-cell {
  background: #e6ff74;
}

.grid-resize-demo[data-state="radu"] .serum-cell::before,
.grid-resize-demo[data-state="radu"] .serum-cell::after,
.grid-resize-demo[data-state="radu"] .face-cell::before {
  opacity: 1;
}

.resize-cell small {
  display: block;
  margin-bottom: 3px;
  font-size: .55rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.resize-cell strong {
  display: block;
  font-size: .82rem;
  line-height: 1.15;
}

.resize-cell p {
  max-width: 220px;
  margin: 18px 0 0;
  font-size: .58rem;
  line-height: 1.35;
  font-weight: 700;
}

.resize-cell span {
  position: absolute;
  left: 18px;
  bottom: 16px;
  min-width: 58px;
  min-height: 21px;
  display: inline-grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-size: .48rem;
  font-weight: 900;
}

.grid-resize-demo .selection-line {
  left: 23px;
  right: 23px;
  top: calc(112px + 22px + var(--resize-line-y, 54%));
  opacity: 1;
  transition: top 900ms cubic-bezier(.19,1,.22,1);
}

.grid-resize-demo[data-state="layout-a"] { --resize-line-y: 52%; }
.grid-resize-demo[data-state="layout-b"] { --resize-line-y: 63%; }
.grid-resize-demo[data-state="layout-c"] { --resize-line-y: 60%; }
.grid-resize-demo[data-state="radu"] { --resize-line-y: 63%; }

.grid-resize-demo[data-state="radu"] .selection-line {
  opacity: 0;
}

.grid-resize-demo .collage-toolbar {
  top: 58%;
  left: 59%;
  opacity: 1;
  transition: top 900ms cubic-bezier(.19,1,.22,1), left 900ms cubic-bezier(.19,1,.22,1), opacity 360ms ease;
}

.grid-resize-demo[data-state="layout-b"] .collage-toolbar { top: 61%; left: 60%; }
.grid-resize-demo[data-state="layout-c"] .collage-toolbar { top: 58%; left: 63%; }
.grid-resize-demo[data-state="radu"] .collage-toolbar { top: 58%; left: 61%; opacity: .88; }

.radu-site {
  width: min(1040px, 100%);
  aspect-ratio: 1.54;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.13);
  padding: 20px 24px 22px;
  position: relative;
  display: grid;
  grid-template-rows: 104px 1fr;
  overflow: hidden;
}

.radu-nav {
  display: grid;
  grid-template-columns: 1fr repeat(4, minmax(90px, 0.44fr)) 72px;
  gap: 22px;
  font-size: clamp(0.42rem, 0.52vw, 0.65rem);
  line-height: 1.25;
  color: #131313;
}

.radu-logo {
  font-size: clamp(1rem, 1.2vw, 1.45rem);
  line-height: 0.9;
  font-weight: 500;
}

.radu-nav strong { display: block; margin-bottom: 6px; }
.radu-nav span:not(.radu-logo) { display: block; margin: 2px 0; }
.cart { height: 18px; border: 1px solid #9bac42; border-radius: 5px; background: #eaff76; display: grid; place-items: center; font-size: 0.52rem; font-weight: 700; }

.radu-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1.55fr 0.55fr;
  gap: 10px;
  min-height: 0;
}

.serum,
.face,
.lotion,
.welcome {
  border-radius: 5px;
  overflow: hidden;
  position: relative;
  transform: translateZ(0);
}

.serum {
  background:
    radial-gradient(ellipse at 48% 54%, rgba(244, 236, 218, 0.98) 0 20%, transparent 21%),
    radial-gradient(ellipse at 58% 49%, rgba(221, 213, 188, 0.94) 0 25%, transparent 26%),
    linear-gradient(120deg, #aebd9e, #f0eee8 66%);
}

.serum::before {
  content: "";
  position: absolute;
  width: 66%;
  height: 36%;
  left: 25%;
  top: 39%;
  border-radius: 50%;
  background: linear-gradient(135deg, #d6c6a9, #a49274);
  filter: blur(0.4px);
  transform: rotate(-7deg);
}

.bottle {
  position: absolute;
  width: 50px;
  height: 124px;
  left: 44%;
  top: 19%;
  border-radius: 14px 14px 7px 7px;
  background: linear-gradient(90deg, rgba(255,255,255,0.34), #c9b25b 48%, #7d6b28);
  box-shadow: 0 4px 9px rgba(0,0,0,.18);
}

.bottle::before {
  content: "";
  position: absolute;
  left: 18px;
  top: -36px;
  width: 14px;
  height: 40px;
  border-radius: 8px 8px 2px 2px;
  background: #133684;
}

.box {
  position: absolute;
  width: 80px;
  height: 138px;
  left: 18%;
  top: 28%;
  background: linear-gradient(90deg, #f8f7f3, #d9d7d1);
  box-shadow: -10px 11px 15px rgba(0,0,0,.09);
}

.face {
  grid-row: 1 / 3;
  grid-column: 2;
  background:
    radial-gradient(ellipse at 62% 40%, #b56a40 0 22%, transparent 23%),
    radial-gradient(ellipse at 58% 45%, #9e5837 0 32%, transparent 33%),
    linear-gradient(100deg, #f4f5f5 0 38%, #cc8b66 39% 65%, #f6f6f6 66%);
}

.face::before {
  content: "";
  position: absolute;
  width: 43%;
  height: 76%;
  right: 9%;
  bottom: 0;
  border-radius: 48% 44% 0 0;
  background: linear-gradient(90deg, #9d5a3e, #d69a76);
}

.face::after {
  content: "";
  position: absolute;
  width: 20%;
  height: 42%;
  right: 16%;
  top: 36%;
  border-radius: 999px;
  border: 7px solid rgba(255, 255, 255, 0.92);
  border-left: 0;
  transform: rotate(-9deg);
}

.lotion {
  background:
    linear-gradient(135deg, rgba(255,255,255,.85) 0 28%, transparent 29%),
    linear-gradient(135deg, #6d7888, #4f5b6c);
  color: #fff;
  padding: 18px;
  display: grid;
  align-content: end;
}

.welcome {
  background: #ddff68;
  padding: 18px;
  font-size: 0.72rem;
  line-height: 1.35;
}

.placeholder .radu-nav strong,
.placeholder .radu-nav span:not(.radu-logo),
.placeholder .radu-logo,
.placeholder .cart {
  color: transparent;
  background: #ebebeb;
  border: 0;
  border-radius: 3px;
  height: 10px;
  overflow: hidden;
}

.placeholder .radu-logo { width: 72px; height: 15px; }
.placeholder .radu-nav span:not(.radu-logo) { width: 80%; }
.placeholder .cart { background: #9b9b9b; }

.placeholder .serum {
  background: #cfe8d9;
  grid-column: 1;
  grid-row: 1;
}

.placeholder .face {
  background: #e2f1f8;
}

.placeholder .serum::before,
.placeholder .face::before,
.placeholder .face::after,
.placeholder .bottle,
.placeholder .box {
  display: none;
}

.placeholder .lotion { background: #566171; color: transparent; }
.placeholder .welcome { background: #e4ff76; color: transparent; }

.collage-toolbar {
  position: absolute;
  left: 52%;
  top: 47%;
  transform: translate(-50%, -50%);
  height: 29px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  border-radius: 3px;
  color: #455061;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 3px 10px rgba(0,0,0,.18);
  font-size: 0.64rem;
  z-index: 5;
}

.selection-line {
  position: absolute;
  left: 24px;
  right: 24px;
  top: 63%;
  height: 2px;
  background: #2175ff;
  opacity: 1;
  z-index: 4;
}

.selection-line::before,
.selection-line::after {
  content: "";
  position: absolute;
  top: -4px;
  width: 26px;
  height: 8px;
  border-radius: 999px;
  background: #2175ff;
}

.selection-line::before { left: 35%; }
.selection-line::after { right: 0; width: 7px; height: 30px; top: -14px; }

.css-control-section {
  --css-control-progress: 0;
  min-height: 250vh;
  color: #f6f8fb;
  background: #111820;
  position: relative;
  z-index: 5;
}

.css-control-pin {
  position: sticky;
  top: var(--nav-h);
  min-height: calc(100vh - var(--nav-h));
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: clamp(54px, 6vw, 86px) clamp(28px, 4.6vw, 90px) clamp(42px, 5vw, 66px);
  background:
    radial-gradient(circle at 78% 82%, rgba(74, 122, 157, .16), rgba(74, 122, 157, 0) 34%),
    linear-gradient(180deg, #111820 0%, #0f151d 100%);
}

.css-control-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, .68fr);
  gap: clamp(46px, 10vw, 180px);
  align-items: start;
}

.css-control-copy h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(4.2rem, 5.3vw, 6.9rem);
  line-height: 1.03;
  font-weight: 300;
  letter-spacing: 0;
  transform: translateY(calc((1 - var(--css-control-progress)) * 18px));
  opacity: calc(.74 + var(--css-control-progress) * .26);
}

.css-control-copy p {
  max-width: 590px;
  margin: 18px 0 0;
  color: #e0e6ee;
  font-size: clamp(1.08rem, 1.18vw, 1.42rem);
  line-height: 1.45;
}

.css-control-stage {
  align-self: end;
  min-height: clamp(520px, 45vw, 675px);
  display: grid;
  grid-template-columns: minmax(300px, .36fr) minmax(620px, 1fr);
  align-items: end;
  gap: clamp(38px, 5vw, 76px);
  padding-top: clamp(56px, 6vw, 92px);
}

.css-code-panel {
  min-height: clamp(470px, 38vw, 640px);
  background: #fff;
  color: #111827;
  box-shadow: 0 28px 90px rgba(0,0,0,.22);
  transform:
    translate3d(calc((1 - var(--css-control-progress)) * -48px), calc((1 - var(--css-control-progress)) * 46px), 0)
    scale(calc(.94 + var(--css-control-progress) * .06));
  opacity: calc(.2 + var(--css-control-progress) * .8);
}

.css-code-head,
.css-code-ide,
.css-code-file {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #e8ecf1;
}

.css-code-head {
  height: 56px;
  padding: 0 22px;
  gap: 18px;
}

.css-code-head strong {
  margin-right: auto;
  font-size: 1.02rem;
}

.css-code-head span {
  font-weight: 800;
  font-size: 1.1rem;
}

.css-code-ide {
  height: 56px;
  justify-content: space-between;
  padding: 0 22px;
  color: #5f6a79;
  font-size: .72rem;
}

.css-code-ide b {
  padding: 8px 12px;
  border: 1px solid #dce4ee;
  border-radius: 4px;
  color: #4e96ff;
  background: #fafdff;
}

.css-code-file {
  height: 31px;
  justify-content: space-between;
  color: #626b78;
  font-size: .75rem;
}

.css-code-file span { padding-left: 12px; }
.css-code-file b {
  height: 100%;
  display: grid;
  place-items: center;
  padding: 0 12px;
  border-left: 1px solid #e8ecf1;
  font-weight: 500;
}

.css-code-panel pre {
  margin: 0;
  padding: 18px 22px 22px;
  height: calc(100% - 143px);
  overflow: hidden;
  font: 600 clamp(.82rem, .9vw, 1.08rem) / 1.74 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  color: #8e63bb;
}

.css-code-panel code {
  white-space: pre-wrap;
}

.css-code-panel code span {
  display: inline-block;
  width: 28px;
  color: #bec6d2;
  font-weight: 500;
}

.css-editor-shell {
  align-self: end;
  width: min(1090px, 66vw);
  aspect-ratio: 1.66;
  display: grid;
  grid-template-rows: 38px 1fr;
  background: #f2eeee;
  border: 1px solid rgba(218, 226, 237, .42);
  box-shadow: 0 32px 92px rgba(0,0,0,.26);
  transform:
    translate3d(calc((1 - var(--css-control-progress)) * 70px), calc((1 - var(--css-control-progress)) * 52px), 0)
    scale(calc(.9 + var(--css-control-progress) * .1));
  transform-origin: right bottom;
}

.css-editor-topbar {
  min-height: 38px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding-left: 10px;
  background: #101722;
  color: #dfe8f2;
  font-size: .64rem;
}

.css-editor-topbar > div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.css-editor-topbar > div:nth-child(2) span {
  width: 14px;
  height: 14px;
  border: 1px solid #8ca0ba;
  border-radius: 3px;
}

.css-editor-topbar > div:last-child {
  justify-content: flex-end;
}

.css-editor-topbar strong {
  align-self: stretch;
  min-width: 60px;
  display: grid;
  place-items: center;
  background: #2175ff;
  color: #fff;
}

.css-editor-body {
  min-height: 0;
  display: grid;
  grid-template-columns: 38px 1fr;
  overflow: hidden;
  background: #fbf8f8;
}

.css-editor-rail {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 17px;
  padding-top: 15px;
  border-right: 1px solid #e2e7ee;
  background: #fbfcfd;
  color: #5f6875;
  font-size: .84rem;
}

.css-editor-video-card {
  position: relative;
  overflow: hidden;
  background: #efeaea;
}

.css-editor-video-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at 52% 34%, rgba(255,255,255,.52), rgba(255,255,255,0) 36%),
    rgba(246, 242, 242, .94);
  pointer-events: none;
}

.css-control-video {
  display: none;
}

.css-tech-demo {
  position: absolute;
  z-index: 3;
  inset: 8% 9% 9% 9%;
  overflow: hidden;
  background: #d2d2d2;
  border: 1px solid rgba(20, 24, 28, .14);
  transform:
    translateY(calc((1 - var(--css-control-progress)) * 28px))
    scale(calc(.985 + var(--css-control-progress) * .015));
  opacity: calc(.18 + var(--css-control-progress) * .82);
}

.css-tech-demo nav {
  height: 40px;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 46px);
  padding: 0 18px;
  color: #111;
  background: rgba(245, 245, 245, .34);
  font-size: clamp(.42rem, .54vw, .68rem);
  font-weight: 800;
}

.css-tech-demo nav b {
  width: 38px;
  height: 38px;
  margin-left: -18px;
  display: grid;
  place-items: center;
  color: #050505;
  background: #c6ff3c;
  font-size: 1.25rem;
  font-style: italic;
}

.css-tech-demo nav em {
  margin-left: auto;
  font-style: normal;
}

.css-lime-card {
  position: absolute;
  left: 38%;
  top: 33%;
  width: 35%;
  height: 64%;
  background: linear-gradient(135deg, #c8ff35, #d7ff67);
  transform:
    translate(-50%, -50%)
    rotate(calc(-12deg + var(--css-control-progress) * 7deg))
    scale(calc(.88 + var(--css-control-progress) * .18));
  transform-origin: center;
  box-shadow: 0 18px 48px rgba(120, 190, 38, .2);
}

.css-tech-demo h3 {
  position: absolute;
  z-index: 3;
  left: 12%;
  top: 39%;
  margin: 0;
  color: #050505;
  font-size: clamp(3.1rem, 5vw, 6rem);
  line-height: .9;
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
}

.css-tech-demo h3 span {
  color: transparent;
  -webkit-text-stroke: 2px #050505;
  text-stroke: 2px #050505;
  clip-path: inset(0 calc((1 - var(--css-control-progress)) * 62%) 0 0);
}

.css-headset {
  position: absolute;
  z-index: 4;
  left: 45%;
  top: 55%;
  width: 26%;
  aspect-ratio: 1.45;
  border-radius: 45% 50% 38% 44%;
  background:
    radial-gradient(ellipse at 64% 33%, #f7f8fa 0 24%, transparent 25%),
    radial-gradient(ellipse at 50% 46%, #e6e7ea 0 38%, #a4a8ae 39% 52%, transparent 53%),
    radial-gradient(ellipse at 34% 69%, #26292f 0 28%, transparent 29%),
    linear-gradient(145deg, #f8f9fb, #b9bdc4 48%, #191d24 49% 100%);
  box-shadow: 0 20px 32px rgba(0,0,0,.18);
  transform: rotate(calc(-4deg + var(--css-control-progress) * -5deg));
}

.css-tech-demo p {
  position: absolute;
  left: 8%;
  bottom: 8%;
  width: 22%;
  margin: 0;
  color: #20242b;
  font-size: clamp(.42rem, .58vw, .7rem);
  line-height: 1.28;
}

.css-tech-demo p strong {
  display: block;
}

.css-tech-demo button {
  position: absolute;
  right: 4%;
  bottom: 7%;
  min-width: 112px;
  height: 34px;
  border-radius: 999px;
  background: #d5ff58;
  color: #101318;
  font-weight: 800;
  font-size: .74rem;
}

.animations {
  background: #fff;
  position: relative;
  z-index: 3;
}

.animation-copy {
  min-height: 360px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(430px, 0.75fr);
  gap: clamp(40px, 8vw, 150px);
  align-items: start;
  padding: 84px clamp(28px, 7vw, 142px) 70px;
  border-top: 1px solid var(--line);
  background: var(--anim-copy-bg, #fff);
  color: var(--anim-copy-color, #050505);
  transition: background 280ms ease, color 280ms ease;
}

.animation-copy h2 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(4rem, 5.3vw, 6.7rem);
  line-height: 1.02;
  font-weight: 300;
}

.animation-copy p {
  margin: 0 0 30px;
  max-width: 560px;
  font-size: clamp(1.1rem, 1.2vw, 1.45rem);
  line-height: 1.48;
}

.animation-stage {
  --mx: 0;
  --my: 0;
  min-height: 856px;
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(118px, 0.35fr) minmax(250px, 0.47fr) minmax(440px, 1.08fr);
  gap: 9px;
  padding: 20px 0 12px;
  background: var(--stage-bg, #f4ede8);
  border-bottom: 20px solid var(--stage-line, #b6cfe9);
  transition: background 280ms ease, border-color 280ms ease;
  overflow: hidden;
}

.animation-stage.r-expanded {
  grid-template-columns: minmax(260px, 0.72fr) minmax(118px, 0.35fr) minmax(250px, 0.47fr) minmax(440px, 1.08fr);
}

.motion-col {
  min-height: 798px;
  display: grid;
  grid-template-rows: 1fr 265px;
  gap: 20px;
  padding-left: 14px;
}

.orb-card {
  display: grid;
  place-items: center;
  background: var(--orb-bg, #f4f6fa);
  transition: background 280ms ease;
}

.spin-pie {
  width: min(76%, 430px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    conic-gradient(from var(--pie-rotation, 0deg), #ff4b09 0 78deg, #ffd1bf 78deg 142deg, #ff8a5f 142deg 360deg);
  filter: drop-shadow(22px 26px 36px rgba(11, 30, 50, 0.09));
  animation: pieSpin 8s linear infinite;
  position: relative;
}

.spin-pie::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.82) 0 2%, transparent 12%);
  filter: blur(6px);
}

@keyframes pieSpin {
  to { --pie-rotation: 360deg; }
}

@property --pie-rotation {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.switch-card {
  border-radius: 18px;
  background: #78aef8;
  padding: 33px 24px;
  display: grid;
  align-items: center;
}

.switch-track {
  height: 185px;
  border-radius: 999px;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.switch-knob {
  position: absolute;
  left: 14px;
  top: 8px;
  width: 169px;
  height: 169px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  transition: left 420ms cubic-bezier(.2,.8,.2,1), background 220ms ease, color 220ms ease;
}

.switch-card.on .switch-knob {
  left: calc(100% - 183px);
  background: var(--lime);
  color: #050505;
}

.arrow-card {
  border-radius: 18px;
  background:
    linear-gradient(var(--lime) 0 309px, #fff 309px 100%);
  display: grid;
  justify-items: center;
  align-items: start;
  padding-top: 78px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: background 520ms cubic-bezier(.2,.8,.2,1), padding-top 520ms cubic-bezier(.2,.8,.2,1), transform 220ms ease;
}

.arrow-card:hover {
  transform: translateY(-2px);
}

.arrow-card:focus-visible,
.hover-card:focus-visible {
  outline: 2px solid #050505;
  outline-offset: 3px;
}

.arrow-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 292px;
  height: 36px;
  background: #fff;
  transition: opacity 260ms ease;
  z-index: 0;
}

.arrow-symbol {
  width: 116px;
  height: 154px;
  position: relative;
  z-index: 1;
  transform: translateY(0);
  transition: transform 620ms cubic-bezier(.19,1,.22,1);
}

.arrow-symbol::before,
.arrow-symbol::after {
  content: "";
  position: absolute;
  background: #0b0b0e;
}

.arrow-symbol::before {
  left: 50%;
  top: 0;
  width: 8px;
  height: 135px;
  transform: translateX(-50%);
}

.arrow-symbol::after {
  width: 66px;
  height: 66px;
  left: 25px;
  bottom: 0;
  border-right: 8px solid #0b0b0e;
  border-bottom: 8px solid #0b0b0e;
  background: transparent;
  transform: rotate(45deg);
}

@keyframes arrowDrop {
  0%, 100% { transform: translateY(-8px); }
  50% { transform: translateY(32px); }
}

.arrow-card.dropped {
  padding-top: 584px;
  background:
    linear-gradient(180deg, #b9f6dc 0%, #f3c0b5 32%, #ff7b38 68%, #ff4b08 100%);
}

.arrow-card.dropped::before {
  top: auto;
  bottom: 0;
  height: 308px;
  border-radius: 18px;
  background: var(--lime);
  opacity: 1;
}

.arrow-card.dropped .arrow-symbol {
  transform: translateY(0);
}

.click-card {
  border: 12px solid #fff;
  border-radius: 24px;
  min-height: 798px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(5, 5, 8, 0.02), rgba(5, 5, 8, 0.46)),
    url("../Images/showcase-nova-atelier.png") 58% center / cover;
  background-position: center;
  background-size: cover;
  isolation: isolate;
  cursor: pointer;
  transition: filter 360ms ease, transform 360ms ease;
  will-change: background-image, transform;
}

.click-card.image-1 {
  background:
    linear-gradient(180deg, rgba(5, 5, 8, 0.02), rgba(5, 5, 8, 0.46)),
    url("../Images/showcase-nova-atelier.png") 58% center / cover;
}

.click-card.image-2 {
  background:
    linear-gradient(180deg, rgba(2, 4, 9, 0.06), rgba(2, 4, 9, 0.5)),
    url("../Images/bugence-design-lab-premium.png") 50% center / cover;
}

.click-card.image-3 {
  background:
    linear-gradient(180deg, rgba(5, 6, 9, 0.04), rgba(5, 6, 9, 0.48)),
    url("../Images/showcase-architecture.png") 62% center / cover;
}

.click-card.image-4 {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.5)),
    url("../Images/showcase-identity.png") center / cover;
}

.click-card.image-reveal {
  animation: clickImageReveal 560ms cubic-bezier(.19,1,.22,1);
}

.click-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 46%, rgba(255,255,255,0.18), transparent 22%),
    linear-gradient(135deg, rgba(255,255,255,0.16), transparent 34%);
  opacity: 0;
  transition: opacity 360ms ease;
  pointer-events: none;
}

.click-card[class*="image-"]::before {
  opacity: 1;
}

.lens {
  position: absolute;
  left: calc(50% + var(--mx) * 24px);
  top: calc(50% + var(--my) * 24px);
  width: 168px;
  height: 168px;
  border-radius: 50%;
  background: rgba(255,255,255,.42);
  border: 1px solid rgba(255,255,255,.8);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(2px);
  display: grid;
  place-items: center;
  z-index: 2;
}

.lens::after {
  content: "";
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
}

.click-card strong {
  position: absolute;
  left: 0;
  right: 0;
  top: 62%;
  z-index: 3;
  color: #fff;
  text-align: center;
  font-size: 1.55rem;
  line-height: 1;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.32);
}

@keyframes clickImageReveal {
  0% {
    filter: saturate(0.75) brightness(1.12);
    transform: scale(0.992);
  }
  100% {
    filter: saturate(1) brightness(1);
    transform: scale(1);
  }
}

.hover-parallax {
  display: grid;
  grid-template-rows: 368px 1fr;
  gap: 10px;
  padding-right: 7px;
  min-width: 0;
}

.hover-card {
  width: min(350px, 100%);
  justify-self: end;
  background: var(--navy);
  border-radius: 22px;
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 24px;
  transition:
    width 560ms cubic-bezier(.19,1,.22,1),
    transform 360ms ease,
    border-radius 360ms ease,
    background 260ms ease;
}

.hover-card:hover,
.hover-card:focus-visible {
  width: 100%;
  border-radius: 24px;
}

.hover-card span {
  font-size: 1.15rem;
}

.big-r {
  position: absolute;
  right: 28px;
  bottom: 8px;
  color: #fff;
  font-size: clamp(9rem, 15vw, 19rem);
  line-height: .78;
  font-weight: 700;
}

.parallax-card {
  min-height: 420px;
  border-radius: 28px;
  background: #ffe3aa;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  cursor: crosshair;
}

.parallax-layer {
  position: absolute;
  border-radius: 32px;
  transition: background 260ms ease;
}

.parallax-layer:nth-child(1) {
  inset: 27px;
  background: #ffd06b;
  transform: translate(calc(var(--mx) * 16px), calc(var(--my) * 12px));
}

.parallax-layer:nth-child(2) {
  inset: 53px;
  background: #ffbd3c;
  transform: translate(calc(var(--mx) * -28px), calc(var(--my) * 22px));
}

.parallax-layer:nth-child(3) {
  inset: 80px;
  background: #ffaa08;
  transform: translate(calc(var(--mx) * 42px), calc(var(--my) * -30px));
}

.parallax-layer:nth-child(4) {
  inset: 110px;
  background: #ff9800;
  transform: translate(calc(var(--mx) * -52px), calc(var(--my) * 36px));
}

.parallax-card strong {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: clamp(1.25rem, 1.7vw, 2rem);
  font-weight: 500;
}

body.dark-lab {
  --ink: #fff;
  --muted: #c7c7c7;
  --line: #151515;
  --anim-copy-bg: #000;
  --anim-copy-color: #fff;
  --stage-bg: #000;
  --stage-line: #000;
  --orb-bg: #000;
  --navy: #10106e;
  --lime: #dfff00;
  background: #000;
  color: #fff;
}

body.dark-lab .site-header,
body.dark-lab main,
body.dark-lab main > section,
body.dark-lab .animation-copy,
body.dark-lab .animation-stage {
  background: #000;
  color: #fff;
  border-color: #151515;
}

body.dark-lab .animations {
  background: #000;
}

body.dark-lab .site-header {
  background: rgba(0, 0, 0, 0.96);
  color: #fff;
  border-bottom-color: #191919;
}

body.dark-lab .brand,
body.dark-lab .main-nav,
body.dark-lab .header-actions,
body.dark-lab .login-link,
body.dark-lab .language-trigger,
body.dark-lab .site-header .brand,
body.dark-lab .site-header .nav-link,
body.dark-lab .site-header .nav-trigger,
body.dark-lab .site-header .header-actions,
body.dark-lab .site-header .language-trigger,
body.dark-lab .site-header .login-link {
  color: #fff;
}

body.dark-lab .site-header .nav-trigger.active::after {
  background: #fff;
}

body.dark-lab .globe,
body.dark-lab .globe::before {
  border-color: #fff;
}

body.dark-lab .globe::after {
  border-top-color: #fff;
  border-bottom-color: #fff;
}

body.dark-lab .gradient-studio,
body.dark-lab .gradient-pin,
body.dark-lab .gradient-copy,
body.dark-lab .gradient-stage {
  background: #000;
  color: #fff;
  border-color: #151515;
}

body.dark-lab .gradient-field {
  background:
    radial-gradient(circle at calc(78% - var(--gradient-progress) * 24%) calc(74% - var(--gradient-progress) * 16%), rgba(84, 76, 255, calc(.4 + var(--gradient-progress) * .42)), transparent 28%),
    radial-gradient(circle at calc(34% + var(--gradient-progress) * 46%) calc(24% + var(--gradient-progress) * 12%), rgba(223, 255, 0, calc(.26 + var(--gradient-progress) * .24)), transparent 24%),
    radial-gradient(circle at calc(12% + var(--gradient-progress) * 16%) calc(76% - var(--gradient-progress) * 8%), rgba(0, 255, 153, calc(.18 + var(--gradient-progress) * .24)), transparent 32%),
    conic-gradient(from calc(125deg + var(--gradient-progress) * 210deg) at calc(68% + var(--gradient-progress) * 9%) calc(57% + var(--gradient-progress) * 9%), #000, #070713, #10102f, #050505, #101800, #15050d, #000);
  filter: blur(calc(10px + var(--gradient-progress) * 9px)) saturate(1.18);
  opacity: .94;
}

body.dark-lab .color-picker {
  background: rgba(12, 12, 14, .92);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 26px 86px rgba(0, 0, 0, .42);
  backdrop-filter: blur(18px);
}

body.dark-lab .picker-head,
body.dark-lab .picker-mode,
body.dark-lab .picker-tabs,
body.dark-lab .picker-slider {
  border-color: rgba(255, 255, 255, .12);
}

body.dark-lab .picker-tabs i:first-child {
  background: #fff;
}

body.dark-lab .picker-tabs i:nth-child(3) {
  background: radial-gradient(circle at 35% 35%, #fff, #5d5d66 48%, #050505);
}

body.dark-lab .picker-mode b {
  border-color: rgba(223, 255, 0, .72);
}

body.dark-lab .picker-slider i:not(:first-child) {
  background: #151515;
  box-shadow: 0 0 0 3px rgba(223, 255, 0, .18);
}

body.dark-lab .picker-opacity b {
  border-color: rgba(255, 255, 255, .18);
  background: #dfff00;
}

body.dark-lab .spin-pie {
  background: conic-gradient(from var(--pie-rotation, 0deg), #18ef80 0 286deg, #344e54 286deg 330deg, #8fffc4 330deg 360deg);
}

body.dark-lab .switch-card { background: #b6b6b6; }
body.dark-lab .hover-card { background: #acbbaa; color: #0a0a0a; }
body.dark-lab .parallax-card { background: #2d8d6c; }
body.dark-lab .parallax-layer:nth-child(1) { background: #18a75d; }
body.dark-lab .parallax-layer:nth-child(2) { background: #16bf68; }
body.dark-lab .parallax-layer:nth-child(3) { background: #21db78; }
body.dark-lab .parallax-layer:nth-child(4) { background: #25f283; }
body.dark-lab .parallax-card strong { color: #030303; }

.responsive-behavior-section {
  background: #fff;
  position: relative;
  z-index: 4;
}

.responsive-behavior-copy {
  min-height: 310px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, .85fr);
  gap: clamp(42px, 8vw, 150px);
  align-items: start;
  padding: 78px clamp(28px, 7vw, 142px) 70px;
  border-top: 1px solid var(--line);
}

.responsive-behavior-copy h2 {
  margin: 0;
  font-size: clamp(4rem, 5.1vw, 6.4rem);
  line-height: 1.04;
  font-weight: 300;
}

.responsive-behavior-copy p {
  margin: 0 0 30px;
  max-width: 650px;
  font-size: clamp(1.06rem, 1.12vw, 1.35rem);
  line-height: 1.42;
}

.behavior-stage {
  min-height: 670px;
  display: grid;
  grid-template-columns: 69% 31%;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #a9bed5 0%, #dbe7f4 72%, #f9fbff 100%);
}

.behavior-stage::after {
  content: "";
  position: absolute;
  inset: 0 0 0 69%;
  background:
    radial-gradient(#e2e8ef .9px, transparent 1px),
    #fbfbfb;
  background-size: 9px 9px;
}

.behavior-editor {
  width: min(880px, 62vw);
  aspect-ratio: 1.6;
  align-self: start;
  justify-self: end;
  margin-top: 42px;
  position: relative;
  z-index: 2;
  display: block;
  overflow: hidden;
  background: #f8fafc;
  box-shadow: 0 30px 82px rgba(31, 52, 82, .2);
}

.behavior-generated-shot {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  animation: behaviorShotLoop 12s cubic-bezier(.19, 1, .22, 1) infinite;
  transform-origin: 58% 52%;
}

.behavior-loop-selection,
.behavior-loop-guide,
.behavior-loop-handle,
.behavior-loop-cursor {
  position: absolute;
  pointer-events: none;
  z-index: 4;
}

.behavior-loop-selection {
  left: 50.7%;
  top: 31.6%;
  width: 34%;
  height: 30.8%;
  border: 2px solid #287cff;
  background: rgba(73, 143, 255, .08);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .72),
    0 16px 30px rgba(40, 124, 255, .08);
  opacity: 0;
  transform-origin: left center;
  animation: behaviorSelectionLoop 12s cubic-bezier(.19, 1, .22, 1) infinite;
}

.behavior-loop-selection::before {
  content: "Responsive";
  position: absolute;
  left: -2px;
  top: -30px;
  height: 24px;
  display: grid;
  place-items: center;
  padding: 0 12px;
  border-radius: 3px;
  background: #1977ff;
  color: #fff;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: 0;
}

.behavior-loop-selection::after {
  content: "";
  position: absolute;
  inset: auto -6px -6px auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1977ff;
  box-shadow:
    calc(-100% - 24px) 0 0 #1977ff,
    0 calc(-100% - 24px) 0 #1977ff,
    calc(-100% - 24px) calc(-100% - 24px) 0 #1977ff;
}

.behavior-loop-guide {
  left: 85.2%;
  top: 25.2%;
  width: 1px;
  height: 54%;
  background: linear-gradient(180deg, transparent, rgba(25, 119, 255, .52), transparent);
  opacity: 0;
  animation: behaviorGuideLoop 12s linear infinite;
}

.behavior-loop-handle {
  top: 48%;
  width: 4px;
  height: 34px;
  border-radius: 999px;
  background: rgba(20, 28, 38, .42);
  opacity: 0;
  animation: behaviorHandleLoop 12s linear infinite;
}

.behavior-loop-handle.left { left: 47.8%; }
.behavior-loop-handle.right { left: 85%; }

.behavior-loop-cursor {
  left: 39%;
  top: 39%;
  width: 18px;
  height: 26px;
  background: #050505;
  clip-path: polygon(0 0, 0 100%, 36% 76%, 55% 100%, 72% 91%, 53% 67%, 100% 66%);
  filter: drop-shadow(0 4px 5px rgba(0,0,0,.26));
  animation: behaviorGeneratedCursor 12s cubic-bezier(.19, 1, .22, 1) infinite;
}

@keyframes behaviorShotLoop {
  0%, 19% { transform: scale(1) translate(0, 0); filter: none; }
  30%, 51% { transform: scale(1.018) translate(-.6%, .2%); filter: saturate(1.02); }
  62%, 82% { transform: scale(1.028) translate(-1.2%, -.3%); filter: saturate(1.04); }
  92%, 100% { transform: scale(1) translate(0, 0); filter: none; }
}

@keyframes behaviorSelectionLoop {
  0%, 23% { opacity: 0; transform: translate(-9%, 7%) scale(.44, .64); }
  30%, 46% { opacity: 1; transform: translate(-2%, 4%) scale(.66, .88); }
  56%, 78% { opacity: 1; transform: translate(0, 0) scale(1, 1); }
  87%, 100% { opacity: 0; transform: translate(4%, 0) scale(1.08, 1); }
}

@keyframes behaviorGuideLoop {
  0%, 38% { opacity: 0; transform: scaleY(.74); }
  48%, 78% { opacity: 1; transform: scaleY(1); }
  88%, 100% { opacity: 0; transform: scaleY(1); }
}

@keyframes behaviorHandleLoop {
  0%, 32% { opacity: 0; }
  40%, 80% { opacity: 1; }
  90%, 100% { opacity: 0; }
}

@keyframes behaviorGeneratedCursor {
  0%, 7% { opacity: 0; transform: translate(-120px, -28px); }
  12%, 21% { opacity: 1; transform: translate(-42px, -2px); }
  31%, 41% { opacity: 1; transform: translate(168px, 116px); }
  52%, 66% { opacity: 1; transform: translate(354px, 126px); }
  76%, 84% { opacity: 1; transform: translate(392px, 146px); }
  93%, 100% { opacity: 0; transform: translate(392px, 146px); }
}

@media (prefers-reduced-motion: reduce) {
  .behavior-generated-shot,
  .behavior-loop-selection,
  .behavior-loop-guide,
  .behavior-loop-handle,
  .behavior-loop-cursor {
    animation: none;
  }

  .behavior-loop-cursor,
  .behavior-loop-guide,
  .behavior-loop-handle,
  .behavior-loop-selection {
    opacity: 0;
  }
}

.behavior-topbar {
  height: 38px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding-left: 13px;
  background: #101521;
  color: #dce5ef;
  font-size: .7rem;
}

.behavior-topbar > div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.behavior-topbar > div:nth-child(2) span {
  width: 15px;
  height: 15px;
  border: 1px solid #708097;
  border-radius: 3px;
}

.behavior-topbar > div:last-child {
  justify-content: flex-end;
}

.behavior-topbar strong {
  align-self: stretch;
  display: grid;
  place-items: center;
  padding: 0 18px;
  background: #2175ff;
  color: #fff;
}

.behavior-bugence-logo {
  width: 21px;
  height: 21px;
  display: inline-block;
  flex: 0 0 auto;
  border-radius: 0;
  background: url("../Images/bugence-logo.svg") center / cover no-repeat;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
}

.behavior-workspace {
  min-height: 0;
  position: relative;
  display: block;
  overflow: hidden;
  background: #eef3f8;
}

.behavior-video-card {
  position: absolute;
  inset: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 34px minmax(150px, 190px) 1fr;
  background: #f4f5f6;
  isolation: isolate;
}

.behavior-video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,0) 24%),
    radial-gradient(circle at 56% 24%, rgba(255,255,255,.26), rgba(255,255,255,0) 34%);
  mix-blend-mode: screen;
}

.behavior-recording-video {
  display: none;
}

.behavior-video-cursor {
  position: absolute;
  z-index: 5;
  left: clamp(190px, 25%, 240px);
  top: 84px;
  width: 18px;
  height: 26px;
  background: #050505;
  clip-path: polygon(0 0, 0 100%, 36% 76%, 55% 100%, 72% 91%, 53% 67%, 100% 66%);
  filter: drop-shadow(0 3px 4px rgba(0,0,0,.22));
  animation: behaviorCursor 14s cubic-bezier(.19,1,.22,1) infinite;
}

.behavior-rail {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 18px;
  padding-top: 15px;
  background: #fbfcfd;
  color: #5e6874;
  border-right: 1px solid #e3e7ee;
  font-size: .95rem;
}

.quick-add-panel {
  min-width: 0;
  display: grid;
  grid-template-columns: 88px 1fr;
  position: relative;
  background: #fff;
  border-right: 1px solid #e3e7ee;
  color: #1d2530;
}

.quick-tabs {
  padding-top: 11px;
  display: grid;
  align-content: start;
  gap: 0;
  border-right: 1px solid #edf0f4;
  font-size: .54rem;
}

.quick-tabs strong,
.quick-tabs span {
  min-height: 25px;
  display: flex;
  align-items: center;
  padding: 0 13px;
}

.quick-tabs strong {
  color: #2576e8;
  background: #e9f2ff;
  font-weight: 600;
}

.quick-grid {
  padding: 11px 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
  gap: 10px;
  font-size: .54rem;
}

.quick-grid b {
  grid-column: span 1;
  font-size: .64rem;
}

.quick-grid > span {
  justify-self: end;
}

.quick-grid button {
  min-height: 54px;
  display: grid;
  place-items: center;
  gap: 4px;
  border: 1px solid #e2e6ec;
  border-radius: 3px;
  background: #fff;
  color: #343b46;
  font-size: .49rem;
  font-weight: 600;
}

.quick-grid button i {
  font-style: normal;
  font-size: .92rem;
  line-height: 1;
}

.quick-grid .title-tool {
  border-color: #d5dce6;
  box-shadow: 0 8px 20px rgba(20, 35, 52, .08);
}

.behavior-cursor {
  position: absolute;
  left: 178px;
  top: 80px;
  width: 18px;
  height: 26px;
  z-index: 6;
  background: #050505;
  clip-path: polygon(0 0, 0 100%, 36% 76%, 55% 100%, 72% 91%, 53% 67%, 100% 66%);
  filter: drop-shadow(0 3px 4px rgba(0,0,0,.2));
  animation: behaviorCursor 14s cubic-bezier(.19,1,.22,1) infinite;
}

.behavior-page {
  align-self: center;
  justify-self: center;
  width: min(812px, 92%);
  aspect-ratio: 1.17;
  padding: 18px;
  position: relative;
  overflow: hidden;
  background: #f8f6f3;
  box-shadow: 0 15px 38px rgba(25, 30, 42, .12);
}

.furniture-nav {
  display: grid;
  grid-template-columns: 1fr repeat(4, minmax(72px, .58fr)) 112px 28px;
  gap: 17px;
  align-items: start;
  min-height: 72px;
  color: #171717;
  font-size: clamp(.4rem, .52vw, .62rem);
  line-height: 1.22;
}

.furniture-nav strong {
  font-size: clamp(1rem, 1.25vw, 1.4rem);
  line-height: 1;
}

.furniture-nav button {
  height: 30px;
  border: 1px solid #191919;
  border-radius: 999px;
  background: transparent;
  font-weight: 700;
  font-size: .62rem;
}

.furniture-nav i,
.furniture-nav i::before,
.furniture-nav i::after {
  width: 22px;
  height: 2px;
  display: block;
  background: #171717;
}

.furniture-nav i {
  margin-top: 8px;
  position: relative;
  background: transparent;
}

.furniture-nav i::before,
.furniture-nav i::after {
  content: "";
  position: absolute;
  right: 0;
}

.furniture-nav i::before { top: 0; }
.furniture-nav i::after { top: 12px; }

.selected-element {
  position: relative;
  height: 92px;
  width: 80%;
  margin: 0 0 10px;
  border: 2px solid #2175ff;
  background: rgba(146, 190, 255, .64);
  transform-origin: left top;
  animation: selectedBehavior 14s cubic-bezier(.19,1,.22,1) infinite;
}

.selected-element::before,
.selected-element::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 4px;
  height: 30px;
  border-radius: 999px;
  background: rgba(34, 34, 34, .56);
  transform: translateY(-50%);
  animation: sideHandles 14s linear infinite;
}

.selected-element::before { left: -36px; }
.selected-element::after { right: -36px; }

.selected-element span {
  position: absolute;
  left: 8px;
  top: -25px;
  height: 22px;
  display: grid;
  place-items: center;
  padding: 0 12px;
  background: #1c7dff;
  color: #fff;
  font-size: .62rem;
  font-weight: 800;
  animation: textBadge 14s linear infinite;
}

.selected-element .title-add,
.selected-element .title-nevo {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  color: #332b18;
  font-size: clamp(2.8rem, 4.35vw, 4.95rem);
  line-height: .9;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  opacity: 0;
  letter-spacing: 0;
}

.selected-element .title-add {
  padding-left: 10px;
  animation: titleAddLoop 14s linear infinite;
}

.selected-element .title-nevo {
  padding-left: 8px;
  animation: titleNevoLoop 14s linear infinite;
}

.responsive-showcase {
  height: calc(100% - 102px);
  display: grid;
  grid-template-columns: var(--showcase-cols, .98fr 1.18fr);
  gap: 8px;
  animation: showcaseBehavior 14s cubic-bezier(.19,1,.22,1) infinite;
}

.showcase-tile {
  min-width: 0;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.showcase-tile.warm {
  background:
    linear-gradient(180deg, rgba(255,255,255,.16), transparent 38%),
    url("../Images/showcase-nova-atelier.png") 58% center / cover;
}

.showcase-tile.green {
  background:
    linear-gradient(180deg, rgba(255,255,255,.14), rgba(0,0,0,.16)),
    url("../Images/bugence-design-lab-premium.png") 50% center / cover;
}

.round-scroll {
  position: absolute;
  right: 34px;
  bottom: 35px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 30px rgba(20, 28, 40, .16);
}

.round-scroll::before,
.round-scroll::after {
  content: "";
  position: absolute;
  background: #191919;
}

.round-scroll::before {
  width: 2px;
  height: 24px;
  left: 50%;
  top: 12px;
}

.round-scroll::after {
  width: 14px;
  height: 14px;
  left: 19px;
  top: 24px;
  border-right: 2px solid #191919;
  border-bottom: 2px solid #191919;
  background: transparent;
  transform: rotate(45deg);
}

.behavior-panel {
  width: min(310px, 72%);
  position: absolute;
  z-index: 3;
  right: clamp(58px, 8vw, 162px);
  top: 176px;
  background: #fff;
  box-shadow: 0 20px 55px rgba(34, 48, 70, .13);
  animation: panelFloat 14s cubic-bezier(.19,1,.22,1) infinite;
}

.behavior-panel button {
  width: 100%;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  font-size: 1.08rem;
  border-bottom: 1px solid #ecedf0;
  background: #fff;
}

.behavior-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.behavior-panel li {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  font-size: 1.05rem;
  color: #2a2d32;
}

.behavior-panel li span {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #9fc4ff;
}

.option-scale,
.option-wrap,
.option-fixed,
.option-hug {
  animation: none;
}

.option-scale {
  background: #dcecff;
  color: #2d73c9;
  font-size: 1.24rem;
}

@keyframes quickAddPanel {
  0%, 31% { opacity: 1; transform: translateX(0); }
  36%, 100% { opacity: 0; transform: translateX(-18px); pointer-events: none; }
}

@keyframes selectedBehavior {
  0%, 11% {
    width: 66%;
    height: 88px;
    transform: translate(34%, 124px);
    background: rgba(146, 190, 255, .58);
    opacity: 0;
  }
  16%, 26% {
    width: 66%;
    height: 248px;
    transform: translate(43%, 118px);
    background: rgba(146, 190, 255, .62);
    opacity: 1;
  }
  34%, 46% {
    width: 92%;
    height: 104px;
    transform: translate(0, 0);
    background: rgba(133, 185, 255, .72);
    opacity: 1;
  }
  54%, 77% {
    width: 92%;
    height: 104px;
    transform: translate(0, 0);
    background: rgba(133, 185, 255, .52);
    opacity: 1;
  }
  86%, 100% {
    width: 94%;
    height: 104px;
    transform: translate(0, 0);
    background: transparent;
    border-color: transparent;
    opacity: 1;
  }
}

@keyframes sideHandles {
  0%, 16%, 86%, 100% { opacity: 0; }
  20%, 82% { opacity: 1; }
}

@keyframes textBadge {
  0%, 13%, 84%, 100% { opacity: 0; }
  17%, 80% { opacity: 1; }
}

@keyframes titleAddLoop {
  0%, 30% { opacity: 0; }
  35%, 58% { opacity: 1; }
  63%, 100% { opacity: 0; }
}

@keyframes titleNevoLoop {
  0%, 60% { opacity: 0; width: 52%; }
  66%, 85% { opacity: 1; width: 100%; }
  92%, 100% { opacity: 1; width: 100%; }
}

@keyframes showcaseBehavior {
  0%, 20% { grid-template-columns: .48fr 1fr; transform: translateY(132px); }
  28%, 48% { grid-template-columns: .52fr 1fr; transform: translateY(110px); }
  58%, 77% { grid-template-columns: .98fr 1.18fr; transform: translateY(0); }
  86%, 100% { grid-template-columns: .98fr 1.18fr; transform: translateY(0); }
}

@keyframes panelFloat {
  0%, 32% { transform: translateY(0); }
  42%, 70% { transform: translateY(2px); }
  80%, 100% { transform: translateY(0); }
}

@keyframes behaviorCursor {
  0%, 7% { opacity: 0; transform: translate(0, 0); }
  10%, 20% { opacity: 1; transform: translate(0, 0); }
  28%, 35% { opacity: 1; transform: translate(318px, 118px); }
  43%, 52% { opacity: 1; transform: translate(602px, 154px); }
  60%, 72% { opacity: 1; transform: translate(624px, 184px); }
  80%, 100% { opacity: 0; transform: translate(650px, 184px); }
}

@media (max-width: 980px) {
  :root { --nav-h: 64px; }
  .site-header { grid-template-columns: 1fr auto; padding-left: 18px; }
  .brand { font-size: 1rem; }
  .brand-mark { width: 23px; height: 23px; }
  .main-nav { gap: 18px; overflow-x: auto; justify-self: end; padding-right: 16px; max-width: 58vw; }
  .header-actions { display: none; }
  .mega { display: none; }
  .hero { min-height: 92vh; padding: calc(var(--nav-h) + 54px) 20px 44px; }
  .hero h1 { font-size: clamp(3.85rem, 15.4vw, 5rem); line-height: 1.04; max-width: 100%; }
  .hero p { font-size: 1.55rem; max-width: 92%; }
  .grid-pin { grid-template-columns: 1fr; min-height: 940px; align-content: start; padding: 56px 20px; }
  .editor-shell { width: 1040px; justify-self: start; transform-origin: top left; transform: scale(.66); }
  .responsive-behavior-copy { grid-template-columns: 1fr; padding: 64px 20px 42px; }
  .responsive-behavior-copy h2 { font-size: clamp(3.4rem, 12vw, 5.2rem); }
  .behavior-stage { grid-template-columns: 1fr; min-height: 840px; padding: 24px 10px 240px; }
  .behavior-stage::after { inset: auto 0 0; height: 260px; }
  .behavior-editor { width: 980px; justify-self: start; transform: scale(.72); transform-origin: top left; margin-top: 0; }
  .behavior-panel { left: 20px; right: 20px; top: auto; bottom: 34px; width: auto; max-width: 390px; }
  .css-control-pin { padding: 56px 20px; align-content: start; }
  .css-control-copy { grid-template-columns: 1fr; gap: 28px; }
  .css-control-copy h2 { font-size: clamp(3.4rem, 12vw, 5.2rem); }
  .css-control-stage { grid-template-columns: 1fr; align-items: start; min-height: 980px; gap: 28px; }
  .css-code-panel { width: min(440px, 100%); min-height: 430px; }
  .css-editor-shell { width: 1040px; justify-self: start; transform: scale(.62); transform-origin: top left; }
  .animation-copy { grid-template-columns: 1fr; padding: 64px 20px 42px; }
  .animation-copy h2 { font-size: clamp(3.5rem, 13vw, 5.3rem); }
  .animation-stage { grid-template-columns: 1fr; padding: 10px; }
  .motion-col { padding-left: 0; }
  .click-card { min-height: 620px; }
  .hover-parallax { padding-right: 0; }
}

@media (max-width: 520px) {
  .site-header { display: flex; justify-content: space-between; gap: 12px; }
  .main-nav { max-width: 48vw; gap: 14px; }
  .main-nav .nav-trigger:nth-child(n + 2),
  .main-nav .nav-link { display: none; }
  .hero h1 { font-size: clamp(2.9rem, 12.6vw, 3.25rem); }
  .hero p { font-size: 1.34rem; line-height: 1.18; }
  .down-arrow { display: none; }
  .grid-copy h2 { font-size: 3.2rem; }
  .grid-copy p { font-size: 1rem; }
  .responsive-behavior-copy h2 { font-size: 3.1rem; }
  .responsive-behavior-copy p { font-size: 1rem; }
  .behavior-stage { min-height: 690px; padding-bottom: 224px; }
  .behavior-editor { transform: scale(.39); }
  .behavior-panel { font-size: .9rem; }
  .behavior-panel button,
  .behavior-panel li { min-height: 52px; font-size: .95rem; }
  .css-control-section { min-height: 210vh; }
  .css-control-copy h2 { font-size: 3.1rem; }
  .css-control-copy p { font-size: 1rem; }
  .css-control-stage { min-height: 760px; }
  .css-code-panel { min-height: 360px; }
  .css-code-panel pre { font-size: .72rem; line-height: 1.58; padding: 14px; }
  .css-editor-shell { transform: scale(.36); }
}

.gradient-studio {
  min-height: 420vh;
  background: #fff;
  position: relative;
  z-index: 5;
}

.gradient-pin {
  position: sticky;
  top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  min-height: 760px;
  display: grid;
  grid-template-columns: 38.5% 61.5%;
  overflow: hidden;
  border-top: 1px solid var(--line);
}

.gradient-copy {
  display: grid;
  align-content: center;
  padding: clamp(42px, 5vw, 96px);
  background: #fff;
}

.gradient-copy h2 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(4rem, 5.1vw, 6.3rem);
  line-height: 1.03;
  font-weight: 300;
}

.gradient-copy p {
  max-width: 590px;
  margin: 58px 0 0;
  font-size: clamp(1.1rem, 1.18vw, 1.4rem);
  line-height: 1.48;
}

.gradient-stage {
  position: relative;
  overflow: hidden;
  background: #dae8ff;
}

.gradient-field {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at calc(78% - var(--gradient-progress) * 24%) calc(74% - var(--gradient-progress) * 16%), rgba(43, 29, 210, calc(var(--gradient-progress) * .95)), transparent 27%),
    radial-gradient(circle at calc(34% + var(--gradient-progress) * 46%) calc(24% + var(--gradient-progress) * 12%), rgba(223, 255, 0, calc(.85 - var(--gradient-progress) * .24)), transparent 26%),
    radial-gradient(circle at calc(12% + var(--gradient-progress) * 16%) calc(76% - var(--gradient-progress) * 8%), rgba(255, 115, 36, calc(.55 - var(--gradient-progress) * .35)), transparent 34%),
    conic-gradient(from calc(125deg + var(--gradient-progress) * 210deg) at calc(68% + var(--gradient-progress) * 9%) calc(57% + var(--gradient-progress) * 9%), #eaf2ff, #a7b4ff, #e6ffff, #dfff88, #efb5c9, #8c80ee, #eaf2ff);
  filter: blur(calc(var(--gradient-progress) * 3px));
  transform: scale(1.02);
}

.color-picker {
  position: absolute;
  left: 48%;
  top: 50%;
  width: 286px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 54px rgba(29, 38, 56, .16);
  overflow: hidden;
  transform: translate(-50%, -50%) scale(calc(.96 + var(--gradient-progress) * .08)) rotate(calc((var(--gradient-progress) - .5) * -1.8deg));
  color: #17191f;
}

.picker-head,
.picker-mode,
.picker-opacity,
.picker-slider,
.picker-tabs {
  display: flex;
  align-items: center;
}

.picker-head {
  justify-content: space-between;
  height: 58px;
  padding: 0 24px;
  border-bottom: 1px solid #e8ebef;
  font-size: 1.18rem;
}

.picker-head span { font-size: 1.8rem; font-weight: 300; }
.picker-tabs { height: 64px; justify-content: space-around; border-bottom: 1px solid #e8ebef; }
.picker-tabs i {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #17191f;
  position: relative;
}
.picker-tabs i:nth-child(2) { background: radial-gradient(circle at 40% 35%, #cfe4ff, #3f8dff); }
.picker-tabs i:nth-child(3) { background: radial-gradient(circle at 35% 35%, #fff, #161616); }
.picker-tabs i:nth-child(2)::after {
  content: "";
  position: absolute;
  left: -34px;
  right: -34px;
  bottom: -17px;
  height: 4px;
  background: #257cff;
}
.picker-mode { height: 76px; justify-content: space-between; padding: 0 24px; font-size: 1.28rem; }
.picker-mode span::after {
  content: "Fluid gradient";
  display: block;
  position: absolute;
  opacity: calc(var(--gradient-progress) * 1.4 - .48);
  transform: translateY(-1.45em);
}
.picker-mode b { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #9ec6ff; }
.picker-canvas {
  height: 144px;
  position: relative;
  background:
    radial-gradient(circle at calc(17% + var(--gradient-progress) * 44%) calc(73% - var(--gradient-progress) * 22%), #f9f2ff 0 4%, transparent 5%),
    conic-gradient(from calc(96deg + var(--gradient-progress) * 160deg) at 58% 54%, #dfeaff, #8f8bf5, #3723e4, #eff8ff, #8be979, #f3b8d3, #dfeaff);
  overflow: hidden;
}
.picker-canvas em {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border: 4px solid rgba(255,255,255,.55);
  border-radius: 50%;
  color: #fff;
  font-style: normal;
  transform: translate(-50%, -50%);
  opacity: calc(1 - var(--gradient-progress) * 1.35);
}
.picker-canvas span {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid #fff;
  border-radius: 50%;
}
.picker-canvas span:nth-child(2) { left: 6px; top: 10px; }
.picker-canvas span:nth-child(3) { right: 18px; top: 4px; }
.picker-canvas span:nth-child(4) { left: -4px; bottom: 36px; }
.picker-canvas span:nth-child(5) { right: -2px; bottom: 46px; }
.picker-slider { height: 70px; gap: 10px; padding: 0 26px; border-bottom: 1px solid #edf0f4; }
.picker-slider i:first-child,
.picker-opacity i {
  height: 9px;
  flex: 1;
  border-radius: 999px;
  background: linear-gradient(90deg, #e2e8ff, #8a8af1, #e9ff99);
  position: relative;
}
.picker-slider i:not(:first-child) { width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px #d6e3ff; }
.picker-opacity { height: 64px; gap: 16px; padding: 0 26px; font-size: 1.2rem; }
.picker-opacity b { width: 36px; height: 36px; border: 1px solid #c9d2de; border-radius: 5px; background: #2927ca; }

.mask-text-section {
  min-height: 920px;
  display: grid;
  align-items: start;
  padding: clamp(205px, 12.1vw, 242px) clamp(28px, 4.55vw, 90px) clamp(108px, 7.7vw, 154px);
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  background: #fff url("../Images/Bugence-mask-dot-bg.png") center top / 726px 824px repeat;
}

.mask-text-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,0) 24%, rgba(255,255,255,.25) 100%);
  pointer-events: none;
}

.mask-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.mask-heading-accessible {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.video-mask-text {
  margin: 0;
  width: calc(100% + 28px);
  max-width: none;
  aspect-ratio: 1382.7431640625 / 237.7777862548828;
  transform: translateX(-14px);
}

.video-mask-text-mobile {
  display: none;
}

.video-mask-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.video-mask-svg-text {
  font-family: "Madefor Display ExtraBold", "Arial Black", Helvetica, Arial, sans-serif;
  font-size: 188px;
  font-weight: 800;
  letter-spacing: 0;
  text-anchor: middle;
  text-transform: uppercase;
}

.video-mask-text-mobile .video-mask-svg-text {
  text-anchor: start;
}

.video-mask-fill {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.mask-inner p {
  max-width: min(570px, 100%);
  margin: clamp(48px, 4vw, 72px) 0 0;
  font-size: clamp(1.18rem, 1.28vw, 1.55rem);
  line-height: 1.46;
}

.cursor-section {
  background: #fff;
  position: relative;
  overflow: hidden;
}

.cursor-copy {
  min-height: 360px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .8fr);
  gap: clamp(40px, 8vw, 140px);
  padding: 86px clamp(28px, 4.6vw, 90px);
  border-top: 1px solid var(--line);
}

.cursor-copy h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(4rem, 5.4vw, 6.7rem);
  line-height: 1.04;
  font-weight: 300;
}

.cursor-copy p {
  max-width: 590px;
  margin: 0;
  font-size: clamp(1.1rem, 1.18vw, 1.42rem);
  line-height: 1.45;
}

.weather-grid {
  min-height: 620px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.weather-card {
  min-height: 620px;
  display: grid;
  align-content: end;
  padding: 0 clamp(28px, 3.5vw, 70px) 58px;
  transition: filter 220ms ease, transform 320ms ease;
}

.weather-card:hover {
  filter: saturate(1.08) brightness(1.02);
}

.weather-card span { font-size: clamp(1.4rem, 1.6vw, 2rem); }
.weather-card strong { font-size: clamp(5rem, 6.4vw, 8rem); line-height: .96; font-weight: 300; }
.sunny { background: linear-gradient(180deg, #dfff24, #fff5a8); }
.cloudy { background: linear-gradient(180deg, #dcecff, #edf6ff); }
.rain { background: linear-gradient(180deg, #b8c1d3, #d9e2ed); }
.weather-card[data-cursor] { cursor: none; }

.custom-cursor {
  position: fixed;
  left: 0;
  top: 0;
  width: 116px;
  height: 116px;
  z-index: 120;
  pointer-events: none;
  opacity: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  transform: translate(-50%, -50%) scale(.74) rotate(-2deg);
  transition:
    opacity 140ms ease,
    transform 180ms cubic-bezier(.19, 1, .22, 1),
    filter 180ms ease;
  will-change: left, top, transform, opacity;
}

.custom-cursor.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1) rotate(0deg);
}

.custom-cursor.sun {
  background-image: url("../Images/cursors/cursor-sun-imagegen.png");
  filter: drop-shadow(0 16px 34px rgba(224, 255, 0, .34));
}

.custom-cursor.cloud {
  width: 132px;
  height: 132px;
  background-image: url("../Images/cursors/cursor-cloud-imagegen.png");
  filter: drop-shadow(0 18px 30px rgba(70, 96, 132, .22));
}

.custom-cursor.rain {
  width: 128px;
  height: 128px;
  background-image: url("../Images/cursors/cursor-rain-imagegen.png");
  filter: drop-shadow(0 18px 30px rgba(29, 69, 255, .2));
}

.figma-flow {
  min-height: 390vh;
  background: #344f4f;
  color: #fff;
}

.figma-pin {
  position: sticky;
  top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(350px, .42fr) minmax(720px, 1fr);
  align-items: center;
  gap: clamp(38px, 5vw, 96px);
  padding: clamp(44px, 6.7vw, 96px) clamp(28px, 3.7vw, 74px);
  overflow: hidden;
}

.figma-copy h2 {
  max-width: 720px;
  margin: 58px 0 30px;
  font-size: clamp(4rem, 5vw, 6.4rem);
  line-height: 1.03;
  font-weight: 300;
}

.figma-copy p {
  max-width: 620px;
  margin: 0 0 38px;
  font-size: clamp(1.12rem, 1.25vw, 1.48rem);
  line-height: 1.46;
}

.figma-logos {
  display: flex;
  align-items: center;
  gap: 24px;
}

.figma-logos span,
.figma-logos b {
  width: 39px;
  height: 39px;
  display: block;
}
.figma-logos span {
  background:
    radial-gradient(circle at 32% 26%, #ff7161 0 13%, transparent 14%),
    radial-gradient(circle at 32% 50%, #a259ff 0 13%, transparent 14%),
    radial-gradient(circle at 32% 74%, #0acf83 0 13%, transparent 14%),
    radial-gradient(circle at 62% 26%, #f24e1e 0 13%, transparent 14%),
    radial-gradient(circle at 62% 50%, #1abcfe 0 13%, transparent 14%);
}
.figma-logos i {
  width: 62px;
  height: 1px;
  background: rgba(255,255,255,.75);
  position: relative;
}
.figma-logos i::after {
  content: "";
  position: absolute;
  right: 0;
  top: -5px;
  width: 10px;
  height: 10px;
  border-right: 2px solid #fff;
  border-top: 2px solid #fff;
  transform: rotate(45deg);
}
.figma-logos b {
  background: url("../Images/bugence-flow-logo-transparent.png") center / contain no-repeat;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .18));
}

.figma-actions { display: flex; align-items: center; gap: 28px; }
.white-pill {
  min-width: 154px;
  height: 54px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  font-weight: 700;
}
.figma-link { border-bottom: 1px solid currentColor; padding-bottom: 5px; }

.figma-device {
  justify-self: end;
  width: min(1160px, 63vw);
  aspect-ratio: 1.52;
  padding: 18px;
  border-radius: 22px;
  background: #c3cecc;
  box-shadow: 0 34px 80px rgba(10, 24, 24, .34);
  transform:
    translateX(calc((1 - var(--figma-progress)) * 3vw))
    translateY(calc((.5 - var(--figma-progress)) * 1.8vh))
    scale(calc(.91 + var(--figma-progress) * .07));
  transform-origin: center;
  will-change: transform;
}

.figma-browser {
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: #ececec;
}

.figma-bar {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 0 0 10px;
  background: #030724;
  color: #dfe8f0;
  font-size: .62rem;
}
.figma-bar div {
  height: 100%;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.figma-bar div:first-child {
  gap: 14px;
  min-width: 260px;
}
.figma-bar div:nth-child(2) {
  flex: 1;
  justify-content: center;
}
.figma-bar div:last-child {
  justify-content: flex-end;
  gap: 12px;
}
.figma-bar em,
.figma-bar small {
  font-style: normal;
  white-space: nowrap;
}
.figma-bar strong {
  padding: 5px 11px;
  border-radius: 4px;
  background: #9f38ff;
  color: #fff;
  font-size: .56rem;
}
.figma-bar b {
  align-self: stretch;
  min-width: 58px;
  display: grid;
  place-items: center;
  background: #1678ff;
  color: #fff;
  font-size: .58rem;
}
.studio-logo-chip {
  width: 23px;
  height: 23px;
  border-radius: 2px;
  background: #061022 url("../Images/bugence-flow-logo-transparent.png") center / 86% 86% no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22);
  flex: 0 0 auto;
}
.figma-bar i {
  width: 12px;
  height: 12px;
  border: 1px solid #7ea4de;
  display: block;
}
.figma-bar i:nth-child(2) { width: 7px; }
.figma-bar i:nth-child(3) { width: 5px; }
.avatar-dot {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 45% 28%, #f3dfc6 0 17%, transparent 18%),
    radial-gradient(circle at 52% 62%, #804c36 0 31%, transparent 32%),
    linear-gradient(135deg, #55d86a, #2351c9);
  box-shadow: 0 0 0 1px rgba(255,255,255,.5);
}

.figma-ui {
  height: calc(100% - 34px);
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding-left: 42px;
}

.figma-left-panel,
.plugin-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  background: #fff;
  color: #151515;
  box-shadow: 6px 0 24px rgba(0,0,0,.08);
  z-index: 4;
  transform: translateX(-105%);
  transition: transform 420ms cubic-bezier(.19,1,.22,1);
}
.figma-left-panel {
  left: 0;
  width: 42px;
  background: #fff;
  color: #293042;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 18px;
  padding: 12px 0;
  box-shadow: 4px 0 18px rgba(0,0,0,.06);
  transform: translateX(0);
}
.figma-left-panel span {
  width: 100%;
  min-height: 14px;
  display: grid;
  place-items: center;
  font-size: .82rem;
}
.figma-left-panel span:nth-last-child(2) { margin-top: auto; }
.figma-left-panel span:nth-child(6) {
  background: #e7f0ff;
  color: #0f52d6;
}
.plugin-panel {
  left: 42px;
  width: 260px;
  padding: 24px;
  display: grid;
  align-content: start;
  gap: 18px;
}
.plugin-panel strong { font-size: .75rem; }
.plugin-panel span { font-weight: 800; font-size: 1.1rem; }
.plugin-panel p { margin: 0; color: #626872; font-size: .75rem; }
.plugin-thumb {
  height: 260px;
  background:
    linear-gradient(90deg, #f6f6f6 0 48%, #f1f1f1 49%),
    linear-gradient(#a9fb42 0 8px, transparent 8px);
  box-shadow: inset 0 0 0 1px #dfe3e8;
}
.plugin-panel button { height: 44px; border-radius: 4px; background: #2f7cf6; color: #fff; font-weight: 800; }

.figma-page {
  width: 86%;
  aspect-ratio: 1.47;
  background: #f2f2f2;
  box-shadow: 0 18px 52px rgba(20, 25, 34, .16);
  transform:
    translateX(calc(var(--figma-progress) * 6%))
    translateY(calc((1 - var(--figma-progress)) * 2%))
    scale(calc(1 - var(--figma-progress) * .045));
  overflow: hidden;
  will-change: transform;
}

.book-store {
  height: 148%;
  background: #f3f3f3;
  transform: translateY(calc(var(--figma-progress) * -33%));
  transition: transform 120ms linear;
}
.domain-strip {
  height: 28px;
  display: grid;
  place-items: center;
  color: #a8a8a8;
  font-size: .54rem;
}
.domain-strip strong {
  margin-left: 4px;
  color: #b15ad8;
}
.sale-strip { height: 22px; display: grid; place-items: center; background: #75ff20; color: #0329c4; font-size: .45rem; font-weight: 800; }
.book-store nav {
  height: 48px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 16px;
  border: 1px solid #1e55d8;
  color: #1950da;
  font-size: .65rem;
}
.book-store nav strong { margin-right: auto; font-size: 1rem; }
.book-store nav i { font-style: normal; font-size: .9rem; }
.book-store nav em { margin-left: auto; border: 1px solid currentColor; border-radius: 999px; padding: 4px 8px; font-style: normal; }
.book-hero {
  height: 336px;
  position: relative;
  display: grid;
  grid-template-columns: 42% 58%;
  border-left: 1px solid #1e55d8;
  border-right: 1px solid #1e55d8;
  overflow: hidden;
}
.book-cover {
  width: 100px;
  height: 152px;
  justify-self: center;
  align-self: center;
  padding: 13px 10px;
  background: #e96836;
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
  display: grid;
  align-content: space-between;
}
.book-cover i {
  width: 38px;
  height: 42px;
  display: block;
  justify-self: center;
  background: linear-gradient(135deg, #2d3434, #c8ccc7);
  box-shadow: 0 4px 8px rgba(0,0,0,.25);
}
.book-cover small {
  font-size: .34rem;
  line-height: 1.15;
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding: 28px 0 0 34px;
}
.book-title { color: #1950da; font-size: clamp(3.2rem, 4vw, 5.1rem); line-height: .98; }
.hero-copy button {
  margin-top: 14px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #1457f2;
  color: #fff;
  font-size: .6rem;
}
.book-stack {
  position: absolute;
  right: -3%;
  bottom: -15px;
  width: 47%;
  height: 190px;
  background:
    linear-gradient(176deg, transparent 0 28%, #f7f4ec 29% 47%, #1649d4 48% 51%, #f9f7ef 52% 69%, #101318 70% 72%, transparent 73%),
    radial-gradient(ellipse at 68% 15%, #8a4c31 0 6%, transparent 6.6%),
    linear-gradient(18deg, transparent 0 34%, #8f4e31 35% 48%, #f0b823 49% 75%, transparent 76%);
  filter: drop-shadow(0 18px 26px rgba(0,0,0,.16));
}
.book-row {
  height: 210px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #1e55d8;
}
.book-row article {
  padding: 48px 24px 18px;
  border-right: 1px solid #1e55d8;
  color: #1e55d8;
  display: grid;
  align-content: end;
  grid-template-columns: 1fr auto;
  gap: 10px;
}
.book-row article b { grid-column: 1 / -1; width: 88px; height: 138px; background: #0d7775; color: #fff; display: grid; place-items: center; text-align: center; font-size: .62rem; margin-bottom: 14px; justify-self: center; }
.book-row article:nth-child(2) b { background: #9d9d9d; color: #fff; }
.book-row article:nth-child(3) b { background: #254423; color: #f6c883; }
.book-row article span,
.book-row article em { font-style: normal; font-size: .7rem; }
.blue-footer { height: 260px; padding: 56px 34px; background: linear-gradient(180deg, #bfcaff, #194cff); color: #fff; display: flex; align-items: end; gap: 54px; }
.blue-footer strong { margin-right: auto; font-size: 4.2rem; font-weight: 300; }
.blue-footer button { background: #fff; color: #1e55d8; border-radius: 999px; padding: 10px 20px; font-weight: 800; }

.figma-flow[data-step="2"] .plugin-panel,
.figma-flow[data-step="3"] .plugin-panel { transform: translateX(0); }
.figma-flow[data-step="2"] .figma-page,
.figma-flow[data-step="3"] .figma-page { transform: translateX(11%) scale(.95); }

.reuse-section {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 41.5% 58.5%;
  border-top: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
}

.reuse-copy {
  padding: clamp(80px, 10vw, 170px) clamp(30px, 4.7vw, 96px);
  display: grid;
  align-content: center;
}
.reuse-copy h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(4rem, 5.2vw, 6.6rem);
  line-height: 1.02;
  font-weight: 300;
}
.reuse-copy p { max-width: 590px; margin: 46px 0 34px; font-size: clamp(1.1rem, 1.16vw, 1.35rem); line-height: 1.45; }
.reuse-copy > div { display: flex; align-items: center; gap: 32px; }
.reuse-gallery {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr .72fr;
  grid-template-rows: 27% 73%;
}
.template-card { position: relative; padding: 52px; overflow: hidden; }
.template-card span { position: relative; z-index: 2; font-weight: 800; letter-spacing: .02em; }
.template-card div { position: absolute; inset: 122px 42px 44px; border-radius: 18px; box-shadow: 0 20px 52px rgba(30,30,30,.16); }
.restaurant { grid-row: 2; background: #fff1ec; }
.restaurant div { background: linear-gradient(90deg, #751313 0 36%, #06100f 37%); }
.store { grid-column: 2; grid-row: 1 / 3; background: #efff63; }
.store div { inset: 116px 44px 64px; border: 18px solid #efffa1; background: linear-gradient(90deg, #d9e2f0 0 45%, #b7d65a 46%); }
.library { grid-column: 1; grid-row: 1; background: #f9fbfb; display: grid; place-items: center; }
.library div { display: none; }

.asset-section {
  min-height: 100vh;
  background: #000;
  color: #fff;
  overflow: hidden;
  padding: 96px 0 34px;
}
.asset-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .85fr);
  gap: clamp(50px, 8vw, 150px);
  padding: 0 clamp(28px, 4.6vw, 90px) 78px;
}
.asset-head h2 { max-width: 820px; margin: 0; font-size: clamp(4rem, 5.2vw, 6.6rem); line-height: 1.03; font-weight: 300; }
.asset-head p { margin: 0; max-width: 650px; font-size: clamp(1.14rem, 1.2vw, 1.45rem); line-height: 1.48; color: #d6d6d6; }
.asset-strip {
  width: max-content;
  display: flex;
  gap: 34px;
  padding-left: clamp(28px, 4.6vw, 90px);
  animation: assetDrift 18s ease-in-out infinite alternate;
}
.asset-strip article { width: min(720px, 42vw); }
.asset-strip span { display: block; margin-bottom: 16px; color: #d6d6d6; }
.asset-strip img { width: 100%; aspect-ratio: 1.65; object-fit: cover; border: 1px solid #333; display: block; }
@keyframes assetDrift { to { transform: translateX(-22vw); } }

.capabilities {
  padding: 100px clamp(28px, 5.5vw, 112px) 120px;
  background: #f7f8fb;
  border-top: 1px solid #dfe5ec;
}
.capabilities h2 {
  max-width: 840px;
  margin: 0 0 70px;
  font-size: clamp(4rem, 5.3vw, 6.8rem);
  line-height: 1.05;
  font-weight: 300;
}
.cap-link {
  display: block;
  padding-bottom: 24px;
  border-bottom: 1px solid #8b929c;
  font-weight: 800;
  font-size: 1.18rem;
}
.cap-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(80px, 12vw, 210px);
  row-gap: 92px;
  padding-top: 70px;
}
.cap-grid article { max-width: 680px; }
.cap-grid strong { font-size: 1.13rem; }
.cap-grid p { margin: 18px 0 0; font-size: clamp(1.02rem, 1.08vw, 1.28rem); line-height: 1.45; }

.closing-cta {
  background:
    radial-gradient(#e5eadc .8px, transparent .9px),
    #fffff4;
  background-size: 8px 8px;
}
.closing-line {
  padding: 128px clamp(28px, 4.7vw, 96px) 300px;
  font-size: clamp(5rem, 7.4vw, 10rem);
  line-height: 1.04;
  font-weight: 300;
}
.start-band {
  min-height: 238px;
  display: grid;
  grid-template-columns: 1fr 238px;
  background: var(--lime);
  color: #050505;
}
.start-band span {
  display: flex;
  align-items: center;
  padding-left: clamp(28px, 4.7vw, 96px);
  font-size: clamp(5rem, 7vw, 9rem);
  line-height: 1;
  font-weight: 300;
}
.start-band i {
  background: #000;
  position: relative;
  display: grid;
  place-items: center;
}
.start-band i::before {
  content: "↗";
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  font-style: normal;
  font-size: 4rem;
}

.site-footer {
  display: grid;
  grid-template-columns: 22% 1fr;
  gap: clamp(60px, 8vw, 150px);
  padding: 78px clamp(28px, 5vw, 100px) 86px;
  background: #0d0d0e;
  color: #f2f2f2;
  border-top: 1px solid #232323;
}
.footer-brand {
  display: block;
  font-size: 1.3rem;
}
.footer-brand .brand-mark { display: inline-block; vertical-align: middle; margin-right: 8px; background: #fff; }
.footer-brand .brand-mark::after { background: #0d0d0e; }
.footer-brand p { margin: 34px 0 0; color: #c9c9c9; font-size: .95rem; line-height: 1.45; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 62px;
}
.footer-cols div { display: grid; align-content: start; gap: 16px; }
.footer-cols strong { font-size: .8rem; color: #fff; }
.footer-cols a { color: #cfcfcf; font-size: .98rem; }

@media (max-width: 980px) {
  .gradient-pin,
  .figma-pin,
  .reuse-section,
  .asset-head,
  .cursor-copy,
  .cap-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }
  .gradient-pin { min-height: 940px; grid-template-rows: auto 1fr; }
  .gradient-copy { align-content: start; }
  .gradient-copy h2,
  .cursor-copy h2,
  .figma-copy h2,
  .reuse-copy h2,
  .asset-head h2,
  .capabilities h2,
  .closing-line { font-size: clamp(3.5rem, 12vw, 5.5rem); }
  .weather-grid { grid-template-columns: 1fr; }
  .weather-card { min-height: 360px; }
  .figma-pin { align-content: start; min-height: 980px; }
  .figma-device { width: 1040px; justify-self: start; transform: scale(.62); transform-origin: top left; }
  .reuse-gallery { min-height: 760px; }
  .asset-strip article { width: 680px; }
  .start-band { grid-template-columns: 1fr 130px; min-height: 150px; }
  .start-band span { font-size: clamp(3.6rem, 13vw, 5.6rem); }
  .start-band i::before { width: 92px; height: 92px; font-size: 2.5rem; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .gradient-pin { min-height: 760px; }
  .color-picker { width: 250px; }
  .mask-text-section {
    min-height: 72vh;
    padding-top: 214px;
  }
  .video-mask-text {
    display: none;
  }
  .video-mask-text-mobile {
    display: block;
    width: min(100%, 340px);
    aspect-ratio: 758.2109375 / 425;
    transform: none;
  }
  .cursor-copy,
  .asset-head { gap: 28px; }
  .figma-copy h2 {
    max-width: 340px;
    margin-top: 42px;
    font-size: clamp(3rem, 11vw, 3.55rem);
  }
  .figma-copy p { max-width: 335px; }
  .figma-actions {
    gap: 18px;
    flex-wrap: wrap;
  }
  .figma-device { transform: scale(.34); }
  .figma-pin {
    min-height: 760px;
    padding-left: 28px;
    padding-right: 28px;
  }
  .reuse-section { display: block; }
  .reuse-gallery { grid-template-columns: 1fr; grid-template-rows: repeat(3, 360px); }
  .restaurant,
  .store,
  .library { grid-column: auto; grid-row: auto; }
  .asset-strip { animation: none; display: grid; width: auto; padding-right: 20px; }
  .asset-strip article { width: 100%; }
  .cap-grid { row-gap: 48px; }
  .closing-line { padding-bottom: 140px; }
  .footer-cols { grid-template-columns: 1fr; }
}

/* Shared generated BUGENCE brand mark. */
.brand-mark,
.bugence-logo::before,
.logo::before {
  width: 34px !important;
  height: 34px !important;
  flex: 0 0 34px !important;
  display: inline-block !important;
  border-radius: 0 !important;
  background: url("../Images/bugence-logo.svg") center / cover no-repeat !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.10) !important;
  overflow: hidden !important;
}

.brand-mark::after,
.bugence-logo::after,
.logo::after {
  display: none !important;
  content: none !important;
}

.bugence-logo,
.logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
}
.bugence-logo::before,
.logo::before {
  content: "" !important;
}

/* Project-wide light heading and paragraph text */
:where(h1, h2, h3, h4, h5, h6, p) {
  font-weight: 300 !important;
}
