:root {
  --ink: #0b0b0c;
  --ink-soft: #292a2d;
  --muted: #686b70;
  --line: rgba(15, 15, 16, 0.12);
  --line-strong: rgba(15, 15, 16, 0.2);
  --paper: #ffffff;
  --canvas: #f5f5f7;
  --canvas-strong: #ececee;
  --accent: #92969b;
  --accent-light: #cfd1d4;
  --success: #326b50;
  --radius-sm: 18px;
  --radius-md: 28px;
  --radius-lg: 44px;
  --shadow: 0 28px 80px rgba(13, 13, 14, 0.08);
  --header-height: 76px;
  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  color: var(--paper);
  background: var(--ink);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 12px;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  background: rgba(245, 245, 247, 0.78);
  border-bottom: 1px solid transparent;
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  transition: border-color 250ms ease, background 250ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--line);
}

.header-inner {
  display: grid;
  grid-template-columns: 180px 1fr 180px;
  align-items: center;
  height: 100%;
}

.brand {
  display: inline-flex;
  width: 152px;
  align-items: center;
}

.brand img {
  width: 152px;
  height: 54px;
  object-fit: contain;
  object-position: left center;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
}

.desktop-nav a {
  position: relative;
  padding: 10px 11px;
  color: #44464a;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 560;
  letter-spacing: -0.01em;
  transition: color 180ms ease, background 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.desktop-nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(12, 12, 13, 0.065);
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.language {
  position: relative;
}

.language summary {
  display: inline-flex;
  min-width: 58px;
  height: 38px;
  padding: 0 12px;
  justify-content: center;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  list-style: none;
  font-size: 12px;
  font-weight: 700;
}

.language summary::-webkit-details-marker {
  display: none;
}

.language summary::after {
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: "";
  transform: rotate(45deg) translateY(-2px);
  transition: transform 180ms ease;
}

.language[open] summary::after {
  transform: rotate(225deg) translate(-1px, -1px);
}

.language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 168px;
  max-height: calc(100svh - var(--header-height) - 16px);
  padding: 7px;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(12, 12, 13, 0.14);
}

.language-menu a {
  display: flex;
  padding: 10px 11px;
  justify-content: space-between;
  align-items: center;
  border-radius: 10px;
  font-size: 13px;
}

.language-menu a:hover,
.language-menu a:focus-visible,
.language-menu a[aria-current="true"] {
  background: var(--canvas);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 220ms ease, opacity 220ms ease;
}

.menu-toggle-lines {
  position: relative;
}

.menu-toggle-lines::before,
.menu-toggle-lines::after {
  position: absolute;
  left: 0;
  content: "";
}

.menu-toggle-lines::before {
  top: -6px;
}

.menu-toggle-lines::after {
  top: 6px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines::after {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-panel {
  position: fixed;
  z-index: 90;
  inset: var(--header-height) 0 0;
  display: none;
  padding: 28px 24px;
  overflow-y: auto;
  background: rgba(245, 245, 247, 0.98);
  backdrop-filter: blur(26px);
}

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

.mobile-nav {
  display: grid;
  gap: 2px;
}

.mobile-nav a {
  padding: 13px 4px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  font-size: clamp(22px, 7vw, 34px);
  font-weight: 620;
  letter-spacing: -0.035em;
}

.mobile-languages {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

[dir="rtl"] .language-menu {
  right: auto;
  left: 0;
}

.mobile-languages a {
  padding: 9px 13px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

main {
  overflow: hidden;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.display {
  margin: 0;
  font-size: clamp(54px, 8.2vw, 112px);
  font-weight: 650;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.display-small {
  margin: 0;
  font-size: clamp(48px, 7vw, 92px);
  font-weight: 640;
  letter-spacing: -0.058em;
  line-height: 0.98;
}

.section-title {
  max-width: 840px;
  margin: 0;
  font-size: clamp(38px, 5.6vw, 72px);
  font-weight: 630;
  letter-spacing: -0.052em;
  line-height: 1;
}

.card-title {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 620;
  letter-spacing: -0.038em;
  line-height: 1.08;
}

.lead {
  max-width: 670px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
  letter-spacing: -0.02em;
  line-height: 1.45;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  padding: 0 20px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 650;
  transition: transform 200ms var(--ease), background 200ms ease, color 200ms ease;
}

.button::after {
  content: "↗";
  font-size: 14px;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-secondary {
  color: var(--ink);
  background: transparent;
  border-color: var(--line-strong);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--paper);
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  padding: clamp(74px, 10vw, 132px) 0 74px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
  align-items: center;
  gap: clamp(40px, 7vw, 100px);
}

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

.hero-stage {
  position: relative;
  min-height: 620px;
  isolation: isolate;
}

.stage-aura {
  position: absolute;
  z-index: -2;
  inset: 8% -20% 3% -12%;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.98) 0 20%, rgba(222, 224, 227, 0.7) 37%, rgba(245, 245, 247, 0) 68%);
  filter: blur(3px);
}

.stage-ring {
  position: absolute;
  z-index: -1;
  right: 3%;
  bottom: 2%;
  width: 88%;
  aspect-ratio: 1;
  border: 1px solid rgba(16, 16, 17, 0.13);
  border-radius: 50%;
  transform: rotateX(68deg);
}

.figure {
  position: absolute;
  bottom: 3%;
  left: 50%;
  width: 228px;
  height: 555px;
  transform: translateX(-50%);
}

.figure-core {
  position: absolute;
  inset: 0 36px 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.98) 42%, rgba(198, 200, 204, 0.98) 100%);
  border: 1px solid rgba(20, 20, 22, 0.13);
  border-radius: 92px 92px 54px 54px;
  box-shadow: 24px 28px 80px rgba(16, 16, 17, 0.13), inset -18px -20px 60px rgba(14, 14, 15, 0.06);
}

.figure-core::before {
  position: absolute;
  top: 22%;
  left: 50%;
  width: 2px;
  height: 44%;
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.95), transparent);
  content: "";
  filter: blur(1px);
}

.figure-mark {
  position: absolute;
  top: 37%;
  left: 50%;
  color: rgba(13, 13, 14, 0.9);
  font-size: 14px;
  font-weight: 720;
  letter-spacing: 0.22em;
  text-orientation: mixed;
  text-transform: uppercase;
  transform: translateX(-50%) rotate(90deg);
  white-space: nowrap;
}

.figure-head {
  position: absolute;
  z-index: 2;
  top: -10px;
  left: 50%;
  width: 130px;
  height: 126px;
  background: linear-gradient(145deg, #fff, #d6d8db);
  border: 1px solid rgba(20, 20, 22, 0.13);
  border-radius: 48% 48% 44% 44%;
  box-shadow: 12px 20px 45px rgba(15, 15, 16, 0.12);
  transform: translateX(-50%);
}

.figure-arm {
  position: absolute;
  z-index: -1;
  top: 133px;
  left: 14px;
  width: 58px;
  height: 330px;
  background: linear-gradient(90deg, #d5d7da, #fff 54%, #c8cace);
  border: 1px solid rgba(20, 20, 22, 0.12);
  border-radius: 999px;
  box-shadow: 16px 20px 42px rgba(15, 15, 16, 0.1);
  transform: rotate(28deg);
  transform-origin: 72% 12%;
  animation: wave 5.6s var(--ease) infinite alternate;
}

.figure-arm::after {
  position: absolute;
  top: -6px;
  left: 0;
  width: 58px;
  height: 64px;
  background: linear-gradient(130deg, #fefefe, #d4d6d9);
  border: 1px solid rgba(20, 20, 22, 0.1);
  border-radius: 46%;
  content: "";
}

.figure-arm-right {
  z-index: 0;
  top: 146px;
  right: 13px;
  left: auto;
  height: 240px;
  transform: rotate(-11deg);
  transform-origin: 28% 10%;
  animation-delay: -2.5s;
}

.figure-base {
  position: absolute;
  bottom: -18px;
  left: 50%;
  width: 182px;
  height: 52px;
  background: linear-gradient(180deg, #37383a, #111112);
  border-radius: 50%;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
  transform: translateX(-50%);
}

.stage-note {
  position: absolute;
  right: -4%;
  bottom: 20%;
  display: grid;
  width: 130px;
  height: 130px;
  padding: 20px;
  place-content: center;
  color: var(--paper);
  background: rgba(12, 12, 13, 0.92);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 20px 55px rgba(8, 8, 9, 0.2);
}

@keyframes wave {
  0% { transform: rotate(20deg); }
  100% { transform: rotate(39deg); }
}

.hero-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 62px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.hero-strip-item {
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.52);
}

.hero-strip-item strong {
  display: block;
  margin-bottom: 3px;
  font-size: 14px;
}

.hero-strip-item span {
  color: var(--muted);
  font-size: 12px;
}

.section {
  padding: clamp(86px, 12vw, 168px) 0;
}

.section-white {
  background: var(--paper);
}

.section-dark {
  color: var(--paper);
  background: #0d0d0f;
}

.section-dark .eyebrow,
.section-dark .lead {
  color: #9c9da1;
}

.statement {
  display: grid;
  min-height: 760px;
  place-content: center;
  text-align: center;
}

.statement .section-title {
  max-width: 980px;
}

.statement-emphasis {
  color: #75777b;
}

.section-head {
  display: flex;
  margin-bottom: clamp(42px, 6vw, 74px);
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}

.section-head .lead {
  max-width: 430px;
  margin: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  position: relative;
  min-height: 430px;
  padding: clamp(28px, 4vw, 44px);
  overflow: hidden;
  background: var(--canvas);
  border: 1px solid rgba(15, 15, 16, 0.07);
  border-radius: var(--radius-md);
}

.feature-card:nth-child(2) {
  background: #e6e7e9;
}

.feature-card:nth-child(3) {
  color: var(--paper);
  background: var(--ink);
}

.feature-card:nth-child(3) p {
  color: #a6a7aa;
}

.feature-index {
  display: inline-grid;
  width: 44px;
  height: 44px;
  margin-bottom: 92px;
  place-content: center;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(15, 15, 16, 0.08);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}

.feature-card:nth-child(3) .feature-index {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
}

.feature-card p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
}

.metric {
  min-height: 280px;
  padding: 38px;
  background: #151517;
}

.metric-value {
  display: block;
  margin-bottom: 74px;
  font-size: clamp(54px, 6vw, 82px);
  font-weight: 610;
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.metric-label {
  color: #a8a9ad;
  font-size: 15px;
}

.page-hero {
  padding: clamp(96px, 13vw, 176px) 0 clamp(70px, 9vw, 120px);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  align-items: end;
  gap: 80px;
}

.page-hero .lead {
  margin: 0;
}

.page-visual {
  position: relative;
  height: min(46vw, 560px);
  min-height: 360px;
  overflow: hidden;
  background: #e7e8ea;
  border-radius: var(--radius-lg);
}

.page-visual::before {
  position: absolute;
  inset: 9% 26%;
  background: linear-gradient(145deg, #fff, #b8bbc0);
  border: 1px solid rgba(15, 15, 16, 0.11);
  border-radius: 999px;
  box-shadow: 40px 40px 90px rgba(14, 14, 15, 0.16);
  content: "";
  transform: rotate(-13deg);
}

.page-visual::after {
  position: absolute;
  inset: auto -9% -40% 24%;
  aspect-ratio: 1;
  border: 1px solid rgba(15, 15, 16, 0.13);
  border-radius: 50%;
  content: "";
}

.split {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(56px, 9vw, 130px);
}

.split-copy {
  max-width: 680px;
}

.prose-large {
  margin: 0;
  font-size: clamp(26px, 3.6vw, 48px);
  font-weight: 560;
  letter-spacing: -0.038em;
  line-height: 1.13;
}

.prose {
  color: var(--muted);
  font-size: 18px;
}

.prose p {
  margin: 0 0 24px;
}

.value-list {
  display: grid;
  margin-top: 50px;
  border-top: 1px solid var(--line);
}

.value-row {
  display: grid;
  grid-template-columns: 72px 0.8fr 1.2fr;
  gap: 22px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.value-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.value-row h3,
.value-row p {
  margin: 0;
}

.value-row h3 {
  font-size: 22px;
  letter-spacing: -0.025em;
}

.value-row p {
  color: var(--muted);
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.solution-card {
  min-height: 520px;
  padding: clamp(30px, 4vw, 48px);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.solution-card.dark {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}

.solution-card p {
  max-width: 480px;
  margin: 18px 0 0;
  color: var(--muted);
}

.solution-card.dark p {
  color: #a4a5a8;
}

.solution-art {
  position: relative;
  height: 250px;
  margin-bottom: 56px;
}

.solution-art::before,
.solution-art::after {
  position: absolute;
  content: "";
}

.solution-art::before {
  top: 6%;
  left: 50%;
  width: 122px;
  height: 230px;
  background: linear-gradient(145deg, #fdfdfd, #c7c9cd);
  border: 1px solid rgba(15, 15, 16, 0.1);
  border-radius: 999px;
  box-shadow: 20px 26px 58px rgba(15, 15, 16, 0.13);
  transform: translateX(-50%) rotate(8deg);
}

.solution-art::after {
  right: 3%;
  bottom: 0;
  left: 3%;
  height: 1px;
  background: var(--line);
}

.solution-card.dark .solution-art::before {
  background: linear-gradient(145deg, #777a7f, #19191b);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 20px 26px 68px rgba(0, 0, 0, 0.4);
}

.size-table {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.size-item {
  min-height: 250px;
  padding: 30px;
  background: var(--paper);
}

.size-item strong {
  display: block;
  margin-bottom: 90px;
  font-size: clamp(38px, 4vw, 60px);
  font-weight: 610;
  letter-spacing: -0.05em;
}

.size-item span {
  color: var(--muted);
  font-size: 13px;
}

.process-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.process-step {
  display: grid;
  grid-template-columns: 90px 0.85fr 1.15fr;
  gap: 28px;
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
}

.process-step .number {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.process-step h3,
.process-step p {
  margin: 0;
}

.process-step h3 {
  font-size: clamp(26px, 3vw, 40px);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.process-step p {
  max-width: 540px;
  color: var(--muted);
  font-size: 17px;
}

.quality-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 18px;
}

.quality-panel {
  min-height: 560px;
  padding: clamp(30px, 5vw, 56px);
  background: var(--paper);
  border-radius: var(--radius-md);
}

.quality-panel.dark {
  color: var(--paper);
  background: var(--ink);
}

.quality-panel p {
  max-width: 560px;
  color: var(--muted);
}

.quality-panel.dark p {
  color: #a6a7aa;
}

.quality-orbit {
  position: relative;
  height: 270px;
  margin-bottom: 48px;
}

.quality-orbit::before,
.quality-orbit::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.quality-orbit::before {
  top: 50%;
  left: 50%;
  width: 226px;
  height: 226px;
  border: 1px solid currentColor;
  opacity: 0.22;
  transform: translate(-50%, -50%);
}

.quality-orbit::after {
  top: 50%;
  left: 50%;
  width: 88px;
  height: 88px;
  background: currentColor;
  box-shadow: 0 0 70px rgba(255, 255, 255, 0.26);
  transform: translate(-50%, -50%);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.project-card {
  position: relative;
  min-height: 580px;
  padding: 36px;
  overflow: hidden;
  background: #e2e3e5;
  border-radius: var(--radius-md);
}

.project-card:nth-child(2) {
  background: #151517;
  color: var(--paper);
}

.project-card:nth-child(3) {
  background: #d4d6d9;
}

.project-card:nth-child(4) {
  background: var(--paper);
  border: 1px solid var(--line);
}

.project-card h3,
.project-card p {
  position: relative;
  z-index: 2;
  margin: 0;
}

.project-card h3 {
  font-size: 28px;
  letter-spacing: -0.035em;
}

.project-card p {
  margin-top: 7px;
  color: var(--muted);
}

.project-card:nth-child(2) p {
  color: #a6a7aa;
}

.project-shape {
  position: absolute;
  right: 16%;
  bottom: -12%;
  width: 160px;
  height: 440px;
  background: linear-gradient(145deg, #fff, #b9bcc0);
  border: 1px solid rgba(15, 15, 16, 0.12);
  border-radius: 999px;
  box-shadow: 30px 38px 78px rgba(15, 15, 16, 0.16);
  transform: rotate(15deg);
}

.project-card:nth-child(2) .project-shape {
  background: linear-gradient(145deg, #74777b, #101012);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 30px 38px 78px rgba(0, 0, 0, 0.4);
  transform: rotate(-15deg);
}

.project-card:nth-child(3) .project-shape {
  right: 32%;
  width: 240px;
  border-radius: 45% 45% 42% 42%;
  transform: rotate(0);
}

.project-card:nth-child(4) .project-shape {
  right: -2%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
}

.contact-panel {
  min-height: 590px;
  padding: clamp(32px, 5vw, 58px);
  background: var(--paper);
  border-radius: var(--radius-md);
}

.contact-panel.dark {
  color: var(--paper);
  background: var(--ink);
}

.contact-panel .lead {
  margin-top: 24px;
}

.contact-status {
  display: grid;
  gap: 10px;
  margin-top: 66px;
}

.contact-row {
  display: flex;
  padding: 18px 0;
  justify-content: space-between;
  gap: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.contact-row span {
  color: #95969a;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.contact-row strong {
  color: #d5d6d8;
  font-size: 14px;
  font-weight: 540;
}

.notice-card {
  display: flex;
  height: 100%;
  min-height: 470px;
  padding: 30px;
  flex-direction: column;
  justify-content: space-between;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.notice-dot {
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 10px rgba(146, 150, 155, 0.12);
}

.notice-card h2 {
  max-width: 420px;
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.notice-card p {
  max-width: 430px;
  margin: 18px 0 0;
  color: var(--muted);
}

.cta {
  padding: 0 0 clamp(86px, 11vw, 150px);
  background: var(--paper);
}

.cta-card {
  display: grid;
  grid-template-columns: 1fr auto;
  min-height: 380px;
  padding: clamp(38px, 7vw, 80px);
  align-items: end;
  gap: 40px;
  color: var(--paper);
  background: var(--ink);
  border-radius: var(--radius-lg);
}

.cta-card h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 620;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.cta-card .button {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--paper);
}

.site-footer {
  padding: 66px 0 30px;
  color: #babbbf;
  background: #0d0d0f;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 90px;
  padding-bottom: 64px;
}

.footer-wordmark {
  color: var(--paper);
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 640;
  letter-spacing: -0.058em;
  line-height: 0.9;
}

.footer-wordmark small {
  display: block;
  margin-top: 10px;
  color: #7f8185;
  font-size: 15px;
  font-weight: 560;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 42px;
}

.footer-nav a {
  font-size: 14px;
  transition: color 180ms ease;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--paper);
}

.footer-bottom {
  display: flex;
  padding-top: 22px;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 100ms;
}

.reveal-delay-2 {
  transition-delay: 200ms;
}

.language-gateway {
  min-height: 100svh;
  display: grid;
  padding: 36px;
  place-items: center;
  background:
    radial-gradient(circle at 78% 22%, #fff 0 10%, transparent 40%),
    var(--canvas);
}

.gateway-card {
  width: min(100%, 940px);
  padding: clamp(34px, 7vw, 76px);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(30px);
}

.gateway-logo {
  width: 190px;
  margin-bottom: clamp(70px, 10vw, 130px);
}

.gateway-card h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(42px, 7vw, 78px);
  font-weight: 630;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.gateway-card p {
  max-width: 540px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.gateway-languages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 48px;
}

.gateway-languages a {
  display: flex;
  min-height: 82px;
  padding: 20px;
  justify-content: space-between;
  align-items: center;
  background: var(--canvas);
  border: 1px solid transparent;
  border-radius: 18px;
  font-weight: 650;
  transition: border-color 180ms ease, transform 180ms var(--ease), background 180ms ease;
}

.gateway-languages a::after {
  content: "→";
}

.gateway-languages a:hover,
.gateway-languages a:focus-visible {
  background: var(--paper);
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

@media (max-width: 1040px) {
  .header-inner {
    grid-template-columns: 160px 1fr 120px;
  }

  .desktop-nav a {
    padding-inline: 8px;
    font-size: 12px;
  }

  .hero-grid {
    grid-template-columns: 1fr 0.8fr;
  }

  .hero-stage {
    min-height: 540px;
    transform: scale(0.88);
    transform-origin: center;
  }

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

  .feature-card {
    min-height: 350px;
  }

  .feature-index {
    margin-bottom: 62px;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 68px;
  }

  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .brand,
  .brand img {
    width: 132px;
  }

  .desktop-nav,
  .language {
    display: none;
  }

  .header-actions {
    grid-column: 2;
  }

  .menu-toggle {
    display: grid;
  }

  .hero {
    padding-top: 64px;
  }

  .hero-grid,
  .page-hero-grid,
  .split,
  .quality-grid,
  .contact-layout,
  .footer-top,
  .cta-card {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 570px;
    transform: none;
  }

  .hero-strip {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

  .section-head .lead {
    margin-top: 24px;
  }

  .metrics,
  .size-table {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-hero-grid {
    gap: 34px;
  }

  .page-hero .lead {
    margin-top: 0;
  }

  .value-row,
  .process-step {
    grid-template-columns: 52px 1fr;
  }

  .value-row p,
  .process-step p {
    grid-column: 2;
  }

  .solution-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    gap: 50px;
  }

  .cta-card {
    align-items: start;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .display {
    font-size: clamp(48px, 16vw, 72px);
  }

  .hero-stage {
    min-height: 510px;
    transform: scale(0.88);
    transform-origin: center bottom;
    margin-inline: -10%;
  }

  .stage-note {
    right: 2%;
    width: 108px;
    height: 108px;
    padding: 12px;
    font-size: 9px;
  }

  .metrics,
  .size-table {
    grid-template-columns: 1fr;
  }

  .metric {
    min-height: 220px;
  }

  .metric-value,
  .size-item strong {
    margin-bottom: 52px;
  }

  .page-visual {
    min-height: 310px;
    border-radius: 30px;
  }

  .value-row,
  .process-step {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .value-row p,
  .process-step p {
    grid-column: 1;
  }

  .solution-card,
  .project-card,
  .quality-panel,
  .contact-panel {
    min-height: auto;
  }

  .project-card {
    min-height: 500px;
  }

  .footer-nav {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .language-gateway {
    padding: 12px;
  }

  .gateway-card {
    border-radius: 28px;
  }

  .gateway-languages {
    grid-template-columns: 1fr;
  }
}

:root {
  --header-height: 48px;
  --container: 1440px;
  --canvas: #f5f5f7;
  --blue: #0071e3;
}

body {
  background: var(--canvas);
  color: #1d1d1f;
}

.site-header,
.site-header.is-scrolled {
  height: var(--header-height);
  background: rgba(250, 250, 252, 0.82);
  border-color: rgba(0, 0, 0, 0.06);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.header-inner {
  grid-template-columns: 120px 1fr 120px;
}

.brand,
.brand img {
  width: 108px;
}

.brand img {
  height: 38px;
}

.desktop-nav {
  gap: clamp(12px, 1.65vw, 26px);
}

.desktop-nav a {
  padding: 6px 0;
  color: #1d1d1f;
  background: transparent;
  font-size: 12px;
  font-weight: 440;
  letter-spacing: -0.01em;
  opacity: 0.78;
  transition: opacity 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.desktop-nav a[aria-current="page"] {
  color: #000;
  background: transparent;
  opacity: 1;
}

.desktop-nav a[aria-current="page"] {
  font-weight: 620;
}

.language summary {
  min-width: 48px;
  height: 30px;
  padding: 0 10px;
  background: transparent;
  border-color: rgba(0, 0, 0, 0.12);
  font-size: 11px;
}

.scroll-progress {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

.button {
  min-height: 44px;
  padding: 0 20px;
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: none;
  font-size: 14px;
  font-weight: 500;
}

.button::after {
  content: "›";
  font-size: 21px;
  font-weight: 300;
  line-height: 1;
}

.button:hover,
.button:focus-visible {
  background: #0077ed;
  border-color: #0077ed;
  transform: none;
}

.button-secondary {
  padding-inline: 10px;
  color: var(--blue);
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  color: #0077ed;
  background: transparent;
  border-color: transparent;
}

.hero {
  padding: 0 0 90px;
  background: var(--canvas);
}

.hero > .container {
  width: min(calc(100% - 28px), var(--container));
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 44px;
  text-align: center;
}

.hero-copy {
  max-width: 1100px;
  margin-inline: auto;
  padding: clamp(72px, 9vw, 126px) 20px 0;
}

.hero .display {
  max-width: 1080px;
  margin-inline: auto;
  font-size: clamp(58px, 7.5vw, 108px);
  font-weight: 650;
  letter-spacing: -0.062em;
}

.hero .lead {
  max-width: 760px;
  margin-inline: auto;
  color: #6e6e73;
  font-size: clamp(20px, 2vw, 26px);
}

.hero .actions {
  justify-content: center;
}

.hero-stage.hero-photo {
  width: 100%;
  min-height: min(63vw, 840px);
  border: 0;
  border-radius: 32px;
  box-shadow: none;
}

.hero-photo img {
  transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.045);
  will-change: transform;
}

.hero-photo:hover img {
  transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.045);
}

.hero-strip {
  max-width: 1040px;
  margin: 18px auto 0;
}

.hero-strip-item {
  background: rgba(255, 255, 255, 0.78);
  box-shadow: none;
}

.page-hero {
  padding: clamp(86px, 10vw, 140px) 0 clamp(42px, 5vw, 66px);
  text-align: center;
}

.page-hero-grid {
  display: block;
}

.page-hero .display-small {
  max-width: 1100px;
  margin-inline: auto;
  font-size: clamp(54px, 7vw, 100px);
  font-weight: 650;
  letter-spacing: -0.06em;
}

.page-hero .lead {
  max-width: 740px;
  margin: 28px auto 0;
  color: #6e6e73;
  font-size: clamp(19px, 2vw, 24px);
}

.media-container {
  width: min(calc(100% - 28px), var(--container));
}

.page-visual {
  height: min(53vw, 760px);
  min-height: 520px;
  border-radius: 30px;
  box-shadow: none;
}

.page-visual.has-image img {
  transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.045);
  will-change: transform;
}

.page-visual.has-image:hover img {
  transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.045);
}

.eyebrow {
  color: #6e6e73;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.section {
  padding: clamp(110px, 12vw, 180px) 0;
}

.section-title {
  max-width: 1050px;
  font-size: clamp(46px, 6.2vw, 86px);
  font-weight: 650;
  letter-spacing: -0.058em;
}

.home-statement {
  height: 165svh;
  padding: 0;
}

.home-statement .statement {
  position: sticky;
  top: var(--header-height);
  min-height: 0;
  height: calc(100svh - var(--header-height));
}

.feature-grid {
  gap: 20px;
}

.feature-card {
  min-height: 500px;
  border: 0;
  border-radius: 30px;
  box-shadow: none;
}

.feature-card:hover,
.solution-card:hover,
.quality-panel:hover,
.project-card:hover,
.contact-panel:hover {
  transform: scale(1.008);
  box-shadow: none;
}

.feature-index {
  width: 36px;
  height: 36px;
  margin-bottom: 130px;
  background: rgba(255, 255, 255, 0.84);
}

.solution-card,
.quality-panel,
.contact-panel,
.project-card {
  border: 0;
  border-radius: 30px;
  box-shadow: none;
}

.solution-art {
  height: 116px;
  margin-bottom: 64px;
}

.solution-art::before {
  top: 0;
  left: 0;
  width: auto;
  height: auto;
  color: #86868b;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  content: "01";
  font-size: 76px;
  font-weight: 650;
  letter-spacing: -0.06em;
  line-height: 1;
  transform: none;
}

.solution-art::after {
  right: 0;
  bottom: 0;
  left: 0;
}

.solution-card:nth-child(2) .solution-art::before {
  color: #f5f5f7;
  background: transparent;
  border: 0;
  box-shadow: none;
  content: "02";
}

.solution-card:nth-child(3) .solution-art::before {
  content: "03";
}

.solution-card:nth-child(4) .solution-art::before {
  content: "04";
}

.quality-orbit {
  height: 110px;
  margin-bottom: 56px;
}

.quality-orbit::before {
  top: 0;
  left: 0;
  width: 74px;
  height: 74px;
  border-color: currentColor;
  opacity: 0.24;
  transform: none;
}

.quality-orbit::after {
  top: 21px;
  left: 21px;
  width: 32px;
  height: 32px;
  box-shadow: 0 0 44px rgba(255, 255, 255, 0.35);
  transform: none;
}

.project-shape {
  display: none;
}

.project-card {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  justify-content: flex-end;
}

.metrics,
.size-table {
  border-radius: 30px;
}

.metric,
.size-item {
  transition: background 250ms ease;
}

.metric:hover,
.size-item:hover {
  transform: none;
}

.size-item:hover {
  background: #f7f7f9;
}

.cta-card {
  min-height: 460px;
  border-radius: 30px;
}

.cta-card .button {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.js .reveal {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(36px) scale(0.992);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease), filter 900ms var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

@media (max-width: 1040px) {
  .header-inner {
    grid-template-columns: 110px 1fr 90px;
  }

  .desktop-nav {
    gap: 13px;
  }

  .desktop-nav a {
    font-size: 11px;
  }

  .hero-grid {
    display: flex;
  }

  .hero-stage.hero-photo {
    min-height: min(67vw, 720px);
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 48px;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .brand,
  .brand img {
    width: 106px;
  }

  .mobile-panel {
    padding-top: 24px;
  }

  .hero-copy {
    padding-top: 72px;
  }

  .hero-stage.hero-photo {
    min-height: 68vw;
    margin-top: 0;
  }

  .page-hero-grid {
    display: block;
  }

  .page-visual {
    height: 60vw;
    min-height: 410px;
  }

  .home-statement {
    height: 140svh;
  }
}

@media (max-width: 560px) {
  .hero > .container,
  .media-container {
    width: min(calc(100% - 16px), var(--container));
  }

  .hero-copy {
    padding: 64px 10px 0;
  }

  .hero .display,
  .page-hero .display-small {
    font-size: clamp(44px, 13.8vw, 68px);
  }

  .hero .lead,
  .page-hero .lead {
    font-size: 19px;
  }

  .hero-stage.hero-photo {
    min-height: 72svh;
    border-radius: 20px;
  }

  .page-visual {
    height: 72vw;
    min-height: 320px;
    border-radius: 20px;
  }

  .page-hero {
    padding-top: 78px;
  }

  .section {
    padding-block: 96px;
  }

  .section-head {
    margin-bottom: 44px;
  }

  .feature-card {
    min-height: 410px;
  }

  .feature-index {
    margin-bottom: 90px;
  }

  .home-statement {
    height: 125svh;
    padding: 0;
  }

  .home-statement .statement {
    height: calc(100svh - var(--header-height));
  }

  .cta-card {
    min-height: 420px;
    border-radius: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-photo img,
  .page-visual.has-image img {
    transform: scale(1.02);
  }

  .js .reveal,
  .js .reveal.is-visible {
    opacity: 1;
    filter: none;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

:root {
  --container: 1320px;
  --canvas: #f2f2f4;
  --shadow: 0 32px 90px rgba(10, 10, 12, 0.1);
}

.site-header {
  background: rgba(242, 242, 244, 0.74);
}

.site-header.is-scrolled {
  background: rgba(250, 250, 251, 0.88);
}

.hero {
  min-height: auto;
  padding: 44px 0 76px;
}

.hero-grid {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(32px, 5vw, 72px);
}

.hero-copy {
  padding: 54px 0;
}

.hero .display {
  font-size: clamp(54px, 7vw, 104px);
}

.hero-stage.hero-photo {
  position: relative;
  min-height: 700px;
  margin: 0;
  overflow: hidden;
  isolation: isolate;
  background: #111215;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 42px;
  box-shadow: 0 38px 100px rgba(12, 15, 20, 0.2);
  transform: none;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  transition: transform 1.2s var(--ease);
}

.hero-photo:hover img {
  transform: scale(1.018);
}

.hero-photo-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(4, 6, 9, 0.34) 100%);
  pointer-events: none;
}

.hero-photo .stage-note {
  right: 24px;
  bottom: 24px;
  width: auto;
  height: auto;
  padding: 11px 15px;
  background: rgba(12, 13, 15, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  box-shadow: none;
  backdrop-filter: blur(14px);
}

.hero-strip {
  gap: 10px;
  margin-top: 26px;
  overflow: visible;
  background: transparent;
  border: 0;
}

.hero-strip-item {
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 15, 16, 0.08);
  border-radius: 17px;
  box-shadow: 0 12px 30px rgba(12, 12, 13, 0.035);
  backdrop-filter: blur(16px);
}

.page-hero {
  padding: clamp(92px, 11vw, 148px) 0 clamp(44px, 6vw, 72px);
}

.page-hero-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.7fr);
}

.page-visual {
  height: min(46vw, 650px);
  min-height: 480px;
  margin: 0;
  background: #121315;
  border-radius: 40px;
  box-shadow: var(--shadow);
}

.page-visual.has-image::before,
.page-visual.has-image::after {
  display: none;
}

.page-visual.has-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1.2s var(--ease), filter 500ms ease;
}

.page-visual.has-image:hover img {
  transform: scale(1.012);
}

body[data-page="company"] .page-visual img {
  object-position: center 42%;
}

body[data-page="production"] .page-visual img {
  object-position: center 48%;
}

body[data-page="contact"] .page-visual img {
  object-position: center 45%;
}

.section-white {
  background: #fbfbfc;
}

.feature-card,
.solution-card,
.quality-panel,
.project-card,
.contact-panel,
.metric,
.size-item {
  transition: transform 420ms var(--ease), box-shadow 420ms var(--ease), border-color 250ms ease;
}

.feature-card:hover,
.solution-card:hover,
.quality-panel:hover,
.project-card:hover,
.contact-panel:hover {
  z-index: 2;
  transform: translateY(-6px);
  box-shadow: 0 28px 74px rgba(11, 11, 13, 0.1);
}

.metric:hover,
.size-item:hover {
  transform: translateY(-3px);
}

.button {
  box-shadow: 0 12px 28px rgba(9, 9, 10, 0.12);
}

.button-secondary {
  box-shadow: none;
}

.feature-card,
.solution-card,
.quality-panel,
.contact-panel {
  border-color: rgba(15, 15, 16, 0.08);
}

.cta-card {
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  position: absolute;
  top: -60%;
  right: -15%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 67%);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.cta-card > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 1040px) {
  .hero-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .hero-stage.hero-photo {
    min-height: 590px;
    transform: none;
  }
}

@media (max-width: 820px) {
  .hero {
    padding-top: 28px;
  }

  .hero-grid,
  .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 720px;
    padding: 36px 0 12px;
  }

  .hero-stage.hero-photo {
    min-height: 560px;
    margin-top: 22px;
    transform: none;
  }

  .page-hero-grid {
    gap: 28px;
  }

  .page-visual {
    height: 62vw;
    min-height: 420px;
    border-radius: 32px;
  }
}

@media (max-width: 560px) {
  .hero-stage.hero-photo {
    min-height: 440px;
    margin-inline: 0;
    border-radius: 26px;
    transform: none;
  }

  .hero-photo img {
    object-position: 60% center;
  }

  .hero-photo .stage-note {
    right: 14px;
    bottom: 14px;
  }

  .hero-strip {
    grid-template-columns: 1fr;
  }

  .page-visual {
    height: 68vw;
    min-height: 310px;
    border-radius: 24px;
  }

  .feature-card:hover,
  .solution-card:hover,
  .quality-panel:hover,
  .project-card:hover,
  .contact-panel:hover {
    transform: none;
    box-shadow: none;
  }
}

:root {
  --header-height: 68px;
}

.site-header,
.site-header.is-scrolled {
  height: var(--header-height);
  background: rgba(250, 250, 252, 0.9);
  border-bottom: 1px solid rgba(0, 0, 0, 0.075);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

.site-header .container.header-inner {
  width: min(calc(100% - 48px), 1120px);
  grid-template-columns: 124px minmax(0, 1fr) 124px;
  gap: 20px;
}

.site-header .brand {
  width: 110px;
  height: 40px;
}

.site-header .brand img {
  width: 110px;
  height: 36px;
}

.site-header .desktop-nav {
  justify-self: center;
  justify-content: center;
  gap: clamp(15px, 1.45vw, 22px);
  white-space: nowrap;
}

.site-header .desktop-nav a {
  padding: 9px 0;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: -0.012em;
}

.site-header .header-actions {
  min-width: 124px;
}

.site-header .language summary {
  min-width: 54px;
  height: 34px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(0, 0, 0, 0.13);
  font-size: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.035);
}

.site-header .language-menu {
  top: calc(100% + 12px);
}

.site-header .menu-toggle {
  width: 42px;
  height: 42px;
}

@media (max-width: 1180px) {
  .site-header .container.header-inner {
    width: min(calc(100% - 32px), 1040px);
    grid-template-columns: 112px minmax(0, 1fr) 112px;
    gap: 16px;
  }

  .site-header .brand {
    width: 102px;
    height: 38px;
  }

  .site-header .brand img {
    width: 102px;
    height: 34px;
  }

  .site-header .desktop-nav {
    gap: 12px;
  }

  .site-header .desktop-nav a {
    font-size: 11.75px;
  }

  .site-header .header-actions {
    min-width: 112px;
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 64px;
  }

  .site-header .container.header-inner {
    width: min(calc(100% - 28px), 920px);
    grid-template-columns: 1fr auto;
    gap: 20px;
  }

  .site-header .brand {
    width: 106px;
    height: 38px;
  }

  .site-header .brand img {
    width: 106px;
    height: 35px;
  }

  .site-header .desktop-nav,
  .site-header .language {
    display: none;
  }

  .site-header .header-actions {
    min-width: 0;
    grid-column: 2;
  }

  .site-header .menu-toggle {
    display: grid;
  }

  .mobile-panel {
    inset: var(--header-height) 0 0;
  }
}

@media (max-width: 560px) {
  :root {
    --header-height: 60px;
  }

  .site-header .container.header-inner {
    width: calc(100% - 24px);
  }

  .site-header .brand {
    width: 98px;
    height: 36px;
  }

  .site-header .brand img {
    width: 98px;
    height: 32px;
  }
}

/* Opening brand animation */
body.splash-page {
  min-height: 100svh;
  overflow: hidden;
  background: #fff;
}

.brand-splash {
  position: relative;
  display: grid;
  min-height: 100svh;
  padding: 32px;
  place-items: center;
  overflow: hidden;
  background: #fff;
}

.brand-splash-inner {
  position: relative;
  width: min(82vw, 920px);
}

.brand-splash-logo {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0;
  filter: blur(7px);
  transform: translateY(8px) scale(0.96);
  transform-origin: center;
  animation: lumina-logo-intro 2.25s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  will-change: opacity, filter, transform;
}

.brand-splash-progress {
  position: relative;
  display: block;
  width: min(38vw, 230px);
  height: 1px;
  margin: clamp(22px, 3vw, 34px) auto 0;
  overflow: hidden;
  background: rgba(29, 29, 31, 0.12);
  opacity: 0;
  animation: lumina-progress-shell 1.8s ease 0.22s forwards;
}

.brand-splash-progress::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #9a9a9f, #1d1d1f 52%, #a9a9ad);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  animation: lumina-progress-line 1.65s cubic-bezier(0.65, 0, 0.35, 1) 0.3s forwards;
}

.brand-splash-fallback {
  position: absolute;
  bottom: 28px;
  left: 50%;
  color: #4a4a4e;
  font-size: 13px;
  transform: translateX(-50%);
}

@keyframes lumina-logo-intro {
  0% {
    opacity: 0;
    filter: blur(7px);
    transform: translateY(8px) scale(0.96);
  }

  24%,
  72% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }

  100% {
    opacity: 0;
    filter: blur(2px);
    transform: translateY(-4px) scale(1.015);
  }
}

@keyframes lumina-progress-shell {
  0%,
  10% {
    opacity: 0;
  }

  24%,
  80% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes lumina-progress-line {
  0% {
    transform: scaleX(0);
  }

  100% {
    transform: scaleX(1);
  }
}

@media (max-width: 560px) {
  .brand-splash {
    padding: 20px;
  }

  .brand-splash-inner {
    width: min(90vw, 520px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-splash-logo {
    opacity: 1;
    filter: none;
    transform: none;
    animation: none;
  }

  .brand-splash-progress {
    display: none;
  }
}

/* Refined site header */
.site-header,
.site-header.is-scrolled {
  background: rgba(250, 250, 252, 0.78);
  border-bottom-color: rgba(0, 0, 0, 0.055);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(26px);
  -webkit-backdrop-filter: saturate(180%) blur(26px);
  transition:
    background-color 240ms ease,
    border-color 240ms ease,
    box-shadow 240ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.9);
  border-bottom-color: rgba(0, 0, 0, 0.07);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.82),
    0 10px 32px rgba(0, 0, 0, 0.045);
}

.site-header .desktop-nav {
  gap: 2px;
  padding: 4px 6px;
  background: rgba(29, 29, 31, 0.035);
  border: 1px solid rgba(0, 0, 0, 0.045);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.site-header .desktop-nav a {
  position: relative;
  padding: 7px clamp(8px, 0.78vw, 11px);
  color: #55555a;
  border-radius: 999px;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.site-header .desktop-nav a::after {
  display: none;
}

.site-header .desktop-nav a:hover {
  color: #1d1d1f;
  background: rgba(255, 255, 255, 0.66);
}

.site-header .desktop-nav a.active,
.site-header .desktop-nav a[aria-current="page"] {
  color: #1d1d1f;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.065),
    0 4px 12px rgba(0, 0, 0, 0.04);
}

.site-header .desktop-nav a:active {
  transform: scale(0.98);
}

.site-header .language summary {
  color: #333336;
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.site-header .language summary:hover,
.site-header .language[open] summary {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(0, 0, 0, 0.14);
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 #fff;
}

.site-header .language-menu {
  padding: 7px;
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(0, 0, 0, 0.085);
  border-radius: 18px;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.05);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.18) transparent;
}

.site-header .language-menu a {
  border-radius: 11px;
  transition:
    color 160ms ease,
    background-color 160ms ease;
}

.site-header .language-menu a:hover {
  background: #f3f3f5;
}

.site-header .language-menu a.active,
.site-header .language-menu a[aria-current="true"] {
  color: #1d1d1f;
  background: #ededf0;
}

.site-header .menu-toggle {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 50%;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.site-header .menu-toggle:hover,
.site-header .menu-toggle[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(0, 0, 0, 0.14);
}

.site-header .menu-toggle:active {
  transform: scale(0.96);
}

.site-header .desktop-nav a:focus-visible,
.site-header .language summary:focus-visible,
.site-header .menu-toggle:focus-visible,
.mobile-panel a:focus-visible {
  outline: 2px solid #0071e3;
  outline-offset: 2px;
}

.mobile-panel {
  display: block;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  background: rgba(250, 250, 252, 0.965);
  border-top: 1px solid rgba(0, 0, 0, 0.055);
  transform: translateY(-8px);
  backdrop-filter: saturate(180%) blur(28px);
  -webkit-backdrop-filter: saturate(180%) blur(28px);
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    visibility 220ms ease;
}

.mobile-panel.is-open {
  display: block;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-panel .mobile-nav a {
  border-radius: 15px;
  transition:
    color 180ms ease,
    background-color 180ms ease;
}

.mobile-panel .mobile-nav a:hover,
.mobile-panel .mobile-nav a.active,
.mobile-panel .mobile-nav a[aria-current="page"] {
  color: #1d1d1f;
  background: rgba(0, 0, 0, 0.035);
}

.mobile-panel .mobile-languages a {
  background: rgba(255, 255, 255, 0.68);
  border-color: rgba(0, 0, 0, 0.085);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.mobile-panel .mobile-languages a:hover {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.14);
}

.mobile-panel .mobile-languages a.active,
.mobile-panel .mobile-languages a[aria-current="true"] {
  color: #fff;
  background: #1d1d1f;
  border-color: #1d1d1f;
  box-shadow: none;
}

@media (max-width: 1180px) {
  .site-header .desktop-nav {
    gap: 0;
    padding-inline: 4px;
  }

  .site-header .desktop-nav a {
    padding-inline: 7px;
  }
}

/* Long translated labels switch to the compact menu before they can collide. */
@media (max-width: 1080px) {
  .site-header .container.header-inner {
    grid-template-columns: 1fr auto;
  }

  .site-header .desktop-nav,
  .site-header .language {
    display: none;
  }

  .site-header .header-actions {
    grid-column: 2;
    min-width: 0;
  }

  .site-header .menu-toggle {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header *,
  .mobile-panel {
    transition-duration: 0.01ms !important;
  }
}

/* 2026-08-05 product and application imagery */
.solution-card {
  display: flex;
  min-height: 620px;
  padding: 0;
  flex-direction: column;
}

.solution-card .solution-art {
  width: 100%;
  height: clamp(270px, 26vw, 330px);
  margin: 0 0 clamp(30px, 3.2vw, 42px);
  flex: 0 0 auto;
  overflow: hidden;
  background-color: #e9e9eb;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-bottom: 1px solid rgba(0, 0, 0, 0.055);
  transition: background-size 700ms var(--ease), filter 400ms ease;
}

.solution-card .solution-art::before,
.solution-card .solution-art::after {
  display: none;
}

.solution-card:nth-child(1) .solution-art {
  background-image: url("../img/products/custom-chef-figure.webp");
  background-position: center 46%;
}

.solution-card:nth-child(2) .solution-art {
  background-image: url("../img/products/3d-bottle-model.webp");
  background-position: center 48%;
  border-bottom-color: rgba(255, 255, 255, 0.09);
}

.solution-card:nth-child(3) .solution-art {
  background-image: url("../img/products/custom-fox-mascot.webp");
  background-position: center 43%;
}

.solution-card:nth-child(4) .solution-art {
  background-image: url("../img/products/modular-fabric-system.webp");
  background-position: center 48%;
}

.solution-card .card-title,
.solution-card > p {
  margin-right: clamp(28px, 4vw, 48px);
  margin-left: clamp(28px, 4vw, 48px);
}

.solution-card .card-title {
  margin-top: 0;
}

.solution-card > p {
  margin-top: 16px;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.project-card {
  min-height: 500px;
  isolation: isolate;
  color: #fff;
  background-color: #1d1d1f;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.project-card::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 8, 10, 0.02) 28%, rgba(8, 8, 10, 0.82) 100%);
  content: "";
  pointer-events: none;
}

.project-card:nth-child(1) {
  background-image: url("../img/products/application-food-service.webp");
  background-position: center 48%;
}

.project-card:nth-child(2) {
  background-image: url("../img/products/application-retail.webp");
  background-position: center 48%;
}

.project-card:nth-child(3) {
  background-image: url("../img/products/application-opening.webp");
  background-position: center 46%;
}

.project-card:nth-child(4) {
  background-image: url("../img/products/application-event.webp");
  background-position: center 46%;
  border: 0;
}

.project-grid .project-card h2,
.project-grid .project-card p {
  position: relative;
  z-index: 2;
  margin-right: 0;
  margin-left: 0;
}

.project-grid .project-card h2 {
  margin-top: 0;
  margin-bottom: 8px;
  color: #fff;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 620;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.project-grid .project-card p,
.project-grid .project-card:nth-child(2) p {
  max-width: 500px;
  margin-top: 0;
  color: rgba(255, 255, 255, 0.74);
  text-wrap: balance;
}

@media (max-width: 820px) {
  .solution-card {
    min-height: 570px;
  }

  .solution-card .solution-art {
    height: clamp(260px, 62vw, 340px);
  }

  .project-card {
    min-height: min(120vw, 560px);
  }
}

@media (max-width: 560px) {
  .solution-card {
    min-height: 0;
  }

  .solution-card .solution-art {
    height: 255px;
    margin-bottom: 28px;
  }

  .solution-card .card-title,
  .solution-card > p {
    margin-right: 26px;
    margin-left: 26px;
  }

  .solution-card > p {
    margin-bottom: 32px;
  }

  .project-card {
    min-height: 430px;
    padding: 28px;
    background-size: cover;
  }

}

@media (prefers-reduced-motion: reduce) {
  .solution-card .solution-art,
  .project-card {
    transition: none;
  }
}

/* Lumina AI Design Studio hero */
@property --studio-accent {
  syntax: "<color>";
  inherits: true;
  initial-value: #b9bcc3;
}

.ai-hero .hero-grid {
  align-items: stretch;
}

.ai-hero .hero-copy {
  align-self: center;
}

.ai-hero .display {
  font-size: clamp(50px, 6.25vw, 88px);
  line-height: 0.96;
}

.ai-studio-stage {
  --studio-accent: #b9bcc3;
  position: relative;
  min-height: 700px;
  margin: 0 !important;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 78% 18%, rgba(87, 116, 217, 0.23), transparent 28%),
    radial-gradient(circle at 10% 88%, rgba(255, 255, 255, 0.14), transparent 26%),
    linear-gradient(145deg, #1c1d21, #090a0d 74%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 42px;
  box-shadow: 0 38px 100px rgba(12, 15, 20, 0.2);
  transform: none !important;
  transition: --studio-accent 620ms ease;
}

.ai-studio-stage:focus-visible {
  outline: 3px solid rgba(0, 113, 227, 0.6);
  outline-offset: 4px;
}

.studio-ambient {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(22px);
  pointer-events: none;
}

.studio-ambient-one {
  top: -12%;
  right: -10%;
  width: 280px;
  height: 280px;
  background: rgba(76, 110, 231, 0.25);
}

.studio-ambient-two {
  bottom: -16%;
  left: -8%;
  width: 240px;
  height: 240px;
  background: rgba(255, 255, 255, 0.1);
}

.studio-window {
  position: absolute;
  z-index: 1;
  inset: 18px;
  display: grid;
  grid-template-rows: 58px minmax(0, 1fr) 74px;
  overflow: hidden;
  color: #1d1d1f;
  background: rgba(246, 246, 248, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 30px;
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.studio-topbar {
  display: flex;
  padding: 0 18px;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.76);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.studio-brand,
.studio-state,
.studio-footer,
.studio-upload {
  display: flex;
  align-items: center;
}

.studio-brand {
  min-width: 0;
  gap: 9px;
}

.studio-brand strong {
  overflow: hidden;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.015em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-brand-mark,
.studio-upload-mark {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  background: #1d1d1f;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 720;
}

.studio-brand-mark {
  width: 28px;
  height: 28px;
}

.studio-state {
  min-width: 0;
  gap: 7px;
  padding: 7px 10px;
  color: #5d5d62;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 999px;
  font-size: 10px;
  line-height: 1;
}

.studio-state span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-state-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  background: #35a853;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(53, 168, 83, 0.1);
}

.studio-workspace {
  display: grid;
  grid-template-columns: 178px minmax(0, 1fr);
  min-height: 0;
}

.studio-sidebar {
  display: flex;
  min-width: 0;
  padding: 18px 14px;
  flex-direction: column;
  gap: 21px;
  background: rgba(255, 255, 255, 0.65);
  border-inline-end: 1px solid rgba(0, 0, 0, 0.07);
}

.studio-field {
  display: grid;
  gap: 9px;
}

.studio-label {
  color: #77777c;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.studio-tabs {
  display: grid;
  gap: 5px;
}

.studio-tab,
.studio-swatch,
.studio-generate {
  font: inherit;
  cursor: pointer;
}

.studio-tab {
  min-height: 34px;
  padding: 0 10px;
  color: #5d5d62;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 10px;
  text-align: start;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.studio-tab:hover {
  color: #1d1d1f;
  background: rgba(0, 0, 0, 0.035);
}

.studio-tab.is-active {
  color: #1d1d1f;
  background: #fff;
  border-color: rgba(0, 0, 0, 0.075);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.055);
  font-weight: 620;
}

.studio-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.studio-swatch {
  position: relative;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.studio-swatch:hover {
  transform: scale(1.06);
}

.studio-swatch.is-active {
  box-shadow: 0 0 0 2px #1d1d1f;
}

.studio-swatch-graphite { background: #b9bcc3; }
.studio-swatch-blue { background: #4f6fd6; }
.studio-swatch-orange { background: #db7d3d; }
.studio-swatch-red { background: #b94a51; }

.studio-upload {
  min-height: 38px;
  padding: 7px;
  gap: 7px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.075);
  border-radius: 10px;
  font-size: 9px;
}

.studio-upload-mark {
  width: 24px;
  height: 24px;
  border-radius: 7px;
}

.studio-upload i {
  margin-inline-start: auto;
  color: #248a3d;
  font-style: normal;
  font-weight: 700;
}

.studio-message-field {
  min-height: 34px;
  padding: 10px;
  overflow: hidden;
  color: #5d5d62;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 0, 0, 0.065);
  border-radius: 10px;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-message-field:focus {
  color: #1d1d1f;
  background: #fff;
  border-color: rgba(0, 113, 227, 0.48);
  outline: 2px solid rgba(0, 113, 227, 0.12);
}

.studio-canvas {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 47%, rgba(255, 255, 255, 0.98), rgba(232, 233, 237, 0.92) 48%, rgba(218, 220, 225, 0.9) 100%);
}

.studio-canvas::after {
  position: absolute;
  right: 14%;
  bottom: 11%;
  left: 14%;
  height: 22px;
  background: rgba(20, 22, 28, 0.16);
  border-radius: 50%;
  filter: blur(14px);
  content: "";
}

.studio-canvas-grid {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.045) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, transparent, #000 26%, #000 76%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 26%, #000 76%, transparent);
}

.studio-product {
  position: absolute;
  z-index: 2;
  bottom: 66px;
  left: 50%;
  width: 200px;
  height: 390px;
  transform: translateX(-50%);
  transform-origin: center bottom;
  filter: drop-shadow(0 24px 22px rgba(13, 15, 20, 0.18));
  animation: studio-product-float 4.8s ease-in-out infinite;
}

.studio-product > span,
.studio-product-body > span {
  position: absolute;
  display: block;
}

.studio-product-body,
.studio-product-head,
.studio-product-arm,
.studio-product-base,
.studio-ear {
  transition:
    width 680ms var(--ease),
    height 680ms var(--ease),
    inset 680ms var(--ease),
    border-radius 680ms var(--ease),
    opacity 320ms ease,
    background-color 420ms ease,
    transform 680ms var(--ease);
}

.studio-product-body {
  z-index: 2;
  bottom: 28px;
  left: 50%;
  width: 116px;
  height: 254px;
  overflow: hidden;
  background: linear-gradient(145deg, #fff 2%, var(--studio-accent) 56%, #686a70 145%);
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 58px 58px 30px 30px;
  box-shadow:
    inset 16px 0 24px rgba(255, 255, 255, 0.28),
    inset -13px 0 24px rgba(0, 0, 0, 0.08);
  transform: translateX(-50%);
}

.studio-product-body::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 24%;
  width: 1px;
  background: rgba(0, 0, 0, 0.12);
  box-shadow: 58px 0 0 rgba(255, 255, 255, 0.2);
  content: "";
}

.studio-product-head {
  z-index: 4;
  bottom: 268px;
  left: 50%;
  width: 92px;
  height: 90px;
  background: linear-gradient(145deg, #fff, var(--studio-accent));
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 48% 48% 44% 44%;
  box-shadow: inset 12px 0 18px rgba(255, 255, 255, 0.25);
  transform: translateX(-50%);
}

.studio-product-head::before {
  position: absolute;
  top: 38px;
  left: 29px;
  width: 6px;
  height: 6px;
  background: #25262a;
  border-radius: 50%;
  box-shadow: 27px 0 0 #25262a;
  content: "";
}

.studio-product-head::after {
  position: absolute;
  top: 50px;
  left: 36px;
  width: 20px;
  height: 10px;
  border-bottom: 2px solid rgba(37, 38, 42, 0.7);
  border-radius: 50%;
  content: "";
}

.studio-product-arm {
  z-index: 1;
  bottom: 132px;
  width: 38px;
  height: 174px;
  background: linear-gradient(120deg, #f9f9fa, var(--studio-accent));
  border: 1px solid rgba(0, 0, 0, 0.13);
  border-radius: 999px;
  box-shadow: inset 8px 0 14px rgba(255, 255, 255, 0.25);
  transform-origin: 50% 92%;
}

.studio-arm-left {
  left: 24px;
  transform: rotate(37deg);
  animation: studio-wave-left 2.6s ease-in-out infinite;
}

.studio-arm-right {
  right: 24px;
  height: 150px;
  transform: rotate(-46deg);
  animation: studio-wave-right 3.1s ease-in-out infinite;
}

.studio-product-base {
  z-index: 5;
  bottom: 4px;
  left: 50%;
  width: 142px;
  height: 36px;
  background: linear-gradient(180deg, #303136, #0d0e11);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 17px 17px 11px 11px;
  box-shadow: inset 0 4px 8px rgba(255, 255, 255, 0.08);
  transform: translateX(-50%);
}

.studio-product-logo {
  z-index: 2;
  top: 90px;
  left: 50%;
  display: grid !important;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: rgba(24, 25, 28, 0.92);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
  font-size: 15px;
  font-weight: 750;
  transform: translateX(-50%);
}

.studio-product-message {
  z-index: 2;
  bottom: 54px;
  left: 50%;
  max-width: 94px;
  padding: 6px 8px;
  overflow: hidden;
  color: #25262a;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  font-size: 7px;
  font-weight: 720;
  letter-spacing: 0.05em;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
  transform: translateX(-50%);
}

.studio-ear {
  z-index: 3;
  bottom: 340px;
  width: 44px;
  height: 62px;
  opacity: 0;
  background: linear-gradient(145deg, #fff, var(--studio-accent));
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.studio-ear-left { left: 31px; transform: rotate(-18deg); }
.studio-ear-right { right: 31px; transform: rotate(18deg); }

.ai-studio-stage[data-model="product"] .studio-product-body {
  width: 158px;
  height: 246px;
  border-radius: 72px 72px 38px 38px;
}

.ai-studio-stage[data-model="product"] .studio-product-head {
  bottom: 282px;
  width: 80px;
  height: 42px;
  border-radius: 14px 14px 9px 9px;
}

.ai-studio-stage[data-model="product"] .studio-product-head::before,
.ai-studio-stage[data-model="product"] .studio-product-head::after {
  opacity: 0;
}

.ai-studio-stage[data-model="product"] .studio-arm-left {
  bottom: 124px;
  left: 16px;
  height: 148px;
  transform: rotate(48deg);
}

.ai-studio-stage[data-model="product"] .studio-arm-right {
  right: 19px;
  height: 118px;
  opacity: 0;
}

.ai-studio-stage[data-model="product"] .studio-product-logo {
  top: 84px;
}

.ai-studio-stage[data-model="mascot"] .studio-product-body {
  width: 170px;
  height: 222px;
  border-radius: 86px 86px 46px 46px;
}

.ai-studio-stage[data-model="mascot"] .studio-product-head {
  bottom: 246px;
  width: 150px;
  height: 124px;
  border-radius: 48% 48% 44% 44%;
}

.ai-studio-stage[data-model="mascot"] .studio-product-head::before {
  top: 52px;
  left: 50px;
  box-shadow: 39px 0 0 #25262a;
}

.ai-studio-stage[data-model="mascot"] .studio-product-head::after {
  top: 69px;
  left: 64px;
}

.ai-studio-stage[data-model="mascot"] .studio-product-arm {
  bottom: 95px;
  height: 134px;
}

.ai-studio-stage[data-model="mascot"] .studio-arm-left { left: 6px; }
.ai-studio-stage[data-model="mascot"] .studio-arm-right { right: 6px; }

.ai-studio-stage[data-model="mascot"] .studio-product-base {
  width: 174px;
}

.ai-studio-stage[data-model="mascot"] .studio-ear {
  bottom: 344px;
  opacity: 1;
}

.ai-studio-stage[data-model="mascot"] .studio-product-logo {
  top: 77px;
}

.studio-ai-chip {
  position: absolute;
  z-index: 5;
  top: 18px;
  right: 18px;
  display: flex;
  max-width: calc(100% - 36px);
  padding: 8px 10px;
  align-items: center;
  gap: 6px;
  color: #3d3e43;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  font-size: 9px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

[dir="rtl"] .studio-ai-chip {
  right: auto;
  left: 18px;
}

.studio-ai-chip > span:first-child {
  color: #536fd2;
  font-size: 12px;
}

.studio-ai-chip strong {
  font-size: 9px;
}

.studio-ai-chip span:last-child {
  overflow: hidden;
  color: #77777c;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-pointer {
  position: absolute;
  z-index: 6;
  top: 20%;
  left: 18%;
  width: 15px;
  height: 21px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.4);
  clip-path: polygon(0 0, 100% 72%, 57% 74%, 72% 100%, 53% 100%, 38% 76%, 0 100%);
  filter: drop-shadow(0 4px 5px rgba(0, 0, 0, 0.2));
  animation: studio-pointer-tour 8s var(--ease) infinite;
}

.studio-footer {
  min-width: 0;
  padding: 0 16px;
  gap: 14px;
  background: rgba(255, 255, 255, 0.82);
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.studio-footer-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.studio-footer-copy span {
  color: #85858a;
  font-size: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.studio-footer-copy strong {
  overflow: hidden;
  font-size: 10px;
  font-weight: 620;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-progress {
  position: relative;
  height: 3px;
  min-width: 32px;
  flex: 1 1 auto;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 999px;
}

.studio-progress span {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #5472d9, #8a68d8);
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: left;
  animation: studio-progress 5.2s ease-in-out infinite;
}

[dir="rtl"] .studio-progress span {
  transform-origin: right;
}

.studio-generate {
  min-height: 36px;
  padding: 0 13px;
  flex: 0 0 auto;
  color: #fff;
  background: #1d1d1f;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.13);
  font-size: 9px;
  font-weight: 620;
  transition: background-color 180ms ease, transform 180ms ease;
}

.studio-generate span {
  margin-inline-end: 5px;
  color: #9eb2ff;
}

.studio-generate:hover {
  background: #313237;
}

.studio-generate:active {
  transform: scale(0.97);
}

.studio-tab:focus-visible,
.studio-swatch:focus-visible,
.studio-generate:focus-visible {
  outline: 2px solid #0071e3;
  outline-offset: 2px;
}

.ai-studio-stage.is-generating .studio-state-dot {
  background: #536fd2;
  box-shadow: 0 0 0 4px rgba(83, 111, 210, 0.13);
  animation: studio-state-pulse 900ms ease-in-out infinite;
}

.ai-studio-stage.is-generating .studio-product-logo,
.ai-studio-stage.is-generating .studio-product-message {
  animation: studio-detail-apply 1.2s var(--ease) both;
}

@keyframes studio-product-float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-7px); }
}

@keyframes studio-wave-left {
  0%, 100% { transform: rotate(34deg); }
  50% { transform: rotate(48deg); }
}

@keyframes studio-wave-right {
  0%, 100% { transform: rotate(-43deg); }
  50% { transform: rotate(-54deg); }
}

@keyframes studio-progress {
  0% { transform: scaleX(0); opacity: 0.6; }
  74% { transform: scaleX(1); opacity: 1; }
  86%, 100% { transform: scaleX(1); opacity: 0; }
}

@keyframes studio-pointer-tour {
  0%, 10% { top: 22%; left: 15%; opacity: 0; }
  18% { opacity: 1; }
  35% { top: 66%; left: 24%; opacity: 1; }
  58% { top: 42%; left: 68%; opacity: 1; }
  76% { top: 80%; left: 76%; opacity: 1; }
  88%, 100% { top: 80%; left: 76%; opacity: 0; }
}

@keyframes studio-state-pulse {
  50% { opacity: 0.45; transform: scale(0.82); }
}

@keyframes studio-detail-apply {
  0% { opacity: 0; transform: translateX(-50%) translateY(8px) scale(0.92); }
  100% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}

@media (max-width: 1180px) {
  .ai-studio-stage {
    min-height: 650px;
  }

  .studio-window {
    inset: 14px;
  }

  .studio-workspace {
    grid-template-columns: 162px minmax(0, 1fr);
  }

  .studio-product {
    bottom: 55px;
    scale: 0.9;
  }
}

@media (max-width: 820px) {
  .ai-hero .display {
    font-size: clamp(48px, 11.5vw, 76px);
  }

  .ai-studio-stage {
    min-height: 680px;
    margin-top: 22px !important;
  }

  .studio-workspace {
    grid-template-columns: 184px minmax(0, 1fr);
  }

  .studio-product {
    bottom: 68px;
    scale: 1;
  }
}

@media (max-width: 560px) {
  .ai-hero .display {
    font-size: clamp(43px, 12.7vw, 62px);
  }

  .ai-studio-stage {
    min-height: 620px;
    border-radius: 26px;
  }

  .studio-window {
    inset: 8px;
    grid-template-rows: 52px minmax(0, 1fr) 64px;
    border-radius: 20px;
  }

  .studio-topbar {
    padding: 0 12px;
  }

  .studio-brand strong {
    font-size: 11px;
  }

  .studio-state {
    max-width: 130px;
    padding: 6px 8px;
  }

  .studio-workspace {
    grid-template-columns: 1fr;
    grid-template-rows: 112px minmax(0, 1fr);
  }

  .studio-sidebar {
    display: grid;
    padding: 11px 12px;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 12px;
    border-inline-end: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  }

  .studio-tabs {
    display: flex;
    gap: 4px;
  }

  .studio-tab {
    min-height: 30px;
    padding: 0 8px;
    flex: 1 1 auto;
    font-size: 9px;
    text-align: center;
  }

  .studio-colour-field {
    min-width: 120px;
  }

  .studio-brand-field {
    display: none;
  }

  .studio-swatch {
    width: 23px;
    height: 23px;
  }

  .studio-product {
    bottom: 38px;
    scale: 0.78;
  }

  .studio-ai-chip {
    top: 12px;
    right: 12px;
  }

  [dir="rtl"] .studio-ai-chip {
    right: auto;
    left: 12px;
  }

  .studio-footer {
    padding: 0 11px;
    gap: 9px;
  }

  .studio-progress {
    display: none;
  }

  .studio-generate {
    min-height: 34px;
    padding: 0 10px;
    font-size: 8px;
  }
}

@media (max-width: 390px) {
  .studio-state span:last-child {
    display: none;
  }

  .studio-state {
    min-width: 28px;
    justify-content: center;
  }

  .studio-colour-field {
    min-width: 104px;
  }

  .studio-swatch {
    width: 21px;
    height: 21px;
  }

  .studio-footer-copy strong {
    max-width: 120px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .studio-product,
  .studio-product-arm,
  .studio-pointer,
  .studio-progress span,
  .studio-state-dot,
  .studio-product-logo,
  .studio-product-message {
    animation: none !important;
  }
}

/* Lumina AI Studio v2 — realistic product configurator */
.studio-v2-window {
  grid-template-rows: 58px minmax(0, 1fr) 74px;
}

.studio-v2-topbar {
  display: flex;
  padding: 0 18px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.studio-v2-topbar .studio-brand > div {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.studio-v2-topbar .studio-brand small {
  color: #98989d;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.studio-v2-workspace {
  display: grid;
  min-height: 0;
  grid-template-columns: 52px minmax(0, 1fr) 190px;
}

.studio-v2-toolrail {
  position: relative;
  z-index: 10;
  display: flex;
  min-width: 0;
  padding: 12px 8px;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.82);
  border-inline-end: 1px solid rgba(0, 0, 0, 0.07);
}

.studio-v2-tool,
.studio-v2-model {
  font: inherit;
  cursor: pointer;
}

.studio-v2-tool {
  position: relative;
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  color: #77777c;
  background: transparent;
  border: 0;
  border-radius: 10px;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.studio-v2-tool > span {
  font-size: 12px;
  font-weight: 680;
  line-height: 1;
}

.studio-v2-tool em {
  position: absolute;
  z-index: 20;
  top: 50%;
  left: calc(100% + 8px);
  padding: 6px 8px;
  opacity: 0;
  color: #fff;
  background: #1d1d1f;
  border-radius: 7px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
  font-size: 8px;
  font-style: normal;
  line-height: 1;
  pointer-events: none;
  transform: translate(-4px, -50%);
  transition: opacity 160ms ease, transform 160ms ease;
  white-space: nowrap;
}

[dir="rtl"] .studio-v2-tool em {
  right: calc(100% + 8px);
  left: auto;
  transform: translate(4px, -50%);
}

.studio-v2-tool:hover em,
.studio-v2-tool:focus-visible em {
  opacity: 1;
  transform: translate(0, -50%);
}

.studio-v2-tool:hover,
.studio-v2-tool.is-active {
  color: #1d1d1f;
  background: #fff;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.07);
}

.studio-v2-tool:active {
  transform: scale(0.94);
}

.studio-v2-tool-spacer {
  flex: 1 1 auto;
}

.studio-v2-tool-ai {
  color: #fff;
  background: linear-gradient(145deg, #4667d7, #7b5bd6);
  box-shadow: 0 7px 18px rgba(75, 96, 208, 0.25);
}

.studio-v2-tool-ai:hover {
  color: #fff;
  background: linear-gradient(145deg, #5373df, #8668df);
}

.studio-v2-canvas {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.98), rgba(237, 238, 242, 0.93) 48%, rgba(221, 223, 229, 0.96) 100%);
}

.studio-v2-canvas::before {
  position: absolute;
  z-index: 0;
  right: 12%;
  bottom: 11%;
  left: 12%;
  height: 24px;
  background: rgba(18, 20, 27, 0.18);
  border-radius: 50%;
  content: "";
  filter: blur(14px);
}

.studio-v2-canvas-grid {
  position: absolute;
  z-index: 0;
  inset: 0;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(42, 45, 55, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 45, 55, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 5%, transparent 72%);
  mask-image: radial-gradient(ellipse at center, #000 5%, transparent 72%);
}

.studio-v2-canvas-head {
  position: absolute;
  z-index: 8;
  top: 14px;
  right: 14px;
  left: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #7d7d82;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.studio-v2-canvas-head > span,
.studio-v2-canvas-head > div {
  display: flex;
  align-items: center;
  gap: 6px;
}

.studio-v2-canvas-head i {
  width: 5px;
  height: 5px;
  background: #37a854;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(55, 168, 84, 0.1);
}

.studio-v2-canvas-head b {
  padding: 5px 7px;
  color: #6f6f74;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.055);
  border-radius: 7px;
  font-size: 7px;
}

.studio-v2-product-stack {
  position: absolute;
  z-index: 2;
  inset: 42px 6px 36px;
  transform-origin: center bottom;
}

.studio-v2-asset,
.studio-v2-tint {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  object-fit: contain;
  transform: translateY(12px) scale(0.94);
  transform-origin: center bottom;
  transition: opacity 440ms ease, transform 720ms var(--ease), filter 500ms ease;
}

.studio-v2-asset {
  z-index: 2;
  filter: drop-shadow(0 22px 18px rgba(17, 20, 27, 0.2));
}

.studio-v2-tint {
  z-index: 3;
  background: var(--studio-accent);
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  mix-blend-mode: color;
  pointer-events: none;
}

.studio-v2-tint-figure {
  -webkit-mask-image: url("../img/studio-v2/moving-figure-cutout.png");
  mask-image: url("../img/studio-v2/moving-figure-cutout.png");
}

.studio-v2-tint-product {
  -webkit-mask-image: url("../img/studio-v2/bottle-model-cutout.png");
  mask-image: url("../img/studio-v2/bottle-model-cutout.png");
}

.studio-v2-tint-mascot {
  -webkit-mask-image: url("../img/studio-v2/fox-mascot-cutout.png");
  mask-image: url("../img/studio-v2/fox-mascot-cutout.png");
}

.ai-studio-stage[data-model="figure"] [data-studio-image="figure"],
.ai-studio-stage[data-model="product"] [data-studio-image="product"],
.ai-studio-stage[data-model="mascot"] [data-studio-image="mascot"] {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.ai-studio-stage[data-model="figure"] .studio-v2-tint-figure,
.ai-studio-stage[data-model="product"] .studio-v2-tint-product {
  opacity: 0.32;
}

.ai-studio-stage[data-model="mascot"] .studio-v2-tint-mascot {
  opacity: 0.18;
}

.studio-v2-brand-preview {
  position: absolute;
  z-index: 6;
  top: 50%;
  left: 50%;
  display: grid;
  width: 74px;
  justify-items: center;
  gap: 5px;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: top 620ms var(--ease), transform 380ms ease;
}

.ai-studio-stage[data-model="product"] .studio-v2-brand-preview { top: 52%; }
.ai-studio-stage[data-model="mascot"] .studio-v2-brand-preview { top: 57%; }

.studio-v2-brand-preview b {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  color: #fff;
  background: rgba(24, 25, 28, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 10px;
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.16);
  font-size: 11px;
}

.studio-v2-brand-preview span {
  display: block;
  max-width: 100%;
  padding: 5px 7px;
  overflow: hidden;
  color: #24252a;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.08);
  font-size: 6px;
  font-weight: 760;
  letter-spacing: 0.06em;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-v2-scan {
  position: absolute;
  z-index: 7;
  right: 8%;
  left: 8%;
  height: 2px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(83, 111, 210, 0.85), transparent);
  box-shadow: 0 0 18px rgba(83, 111, 210, 0.42);
  pointer-events: none;
}

.studio-v2-ai-chip {
  position: absolute;
  z-index: 9;
  top: 47px;
  right: 12px;
  display: flex;
  max-width: calc(100% - 24px);
  padding: 7px 9px;
  align-items: center;
  gap: 5px;
  color: #4e4f55;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
  font-size: 7px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

[dir="rtl"] .studio-v2-ai-chip {
  right: auto;
  left: 12px;
}

.studio-v2-ai-chip > span:first-child {
  color: #5874d8;
  font-size: 10px;
}

.studio-v2-ai-chip > span:last-child {
  overflow: hidden;
  color: #838388;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-v2-specs {
  position: absolute;
  z-index: 8;
  bottom: 12px;
  left: 50%;
  display: flex;
  gap: 5px;
  transform: translateX(-50%);
}

.studio-v2-specs span {
  padding: 5px 7px;
  color: #74747a;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 999px;
  font-size: 6px;
  font-weight: 720;
  letter-spacing: 0.05em;
}

.studio-v2-inspector {
  display: flex;
  min-width: 0;
  padding: 15px 13px;
  flex-direction: column;
  gap: 16px;
  overflow: hidden auto;
  background: rgba(255, 255, 255, 0.72);
  border-inline-start: 1px solid rgba(0, 0, 0, 0.07);
  scrollbar-width: none;
}

.studio-v2-inspector::-webkit-scrollbar {
  display: none;
}

.studio-v2-model-list {
  display: grid;
  gap: 5px;
}

.studio-v2-model {
  display: grid;
  min-height: 40px;
  padding: 4px 7px;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  color: #67676c;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 8px;
  font-weight: 580;
  text-align: start;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.studio-v2-model:hover {
  color: #1d1d1f;
  background: rgba(255, 255, 255, 0.74);
}

.studio-v2-model.is-active {
  color: #1d1d1f;
  background: #fff;
  border-color: rgba(0, 0, 0, 0.075);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.055);
}

.studio-v2-model:active {
  transform: scale(0.98);
}

.studio-v2-model-thumb {
  width: 30px;
  height: 30px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  border-radius: 8px;
}

.studio-v2-model-thumb-figure { background-image: url("../img/studio-v2/moving-figure-cutout.png"); }
.studio-v2-model-thumb-product { background-image: url("../img/studio-v2/bottle-model-cutout.png"); }
.studio-v2-model-thumb-mascot { background-image: url("../img/studio-v2/fox-mascot-cutout.png"); }

.studio-v2-inspector .studio-upload,
.studio-v2-inspector .studio-message-field {
  font-size: 8px;
}

.studio-v2-insight {
  display: grid;
  margin-top: auto;
  padding: 9px;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  color: #6f7076;
  background: linear-gradient(145deg, rgba(82, 111, 214, 0.08), rgba(125, 92, 215, 0.07));
  border: 1px solid rgba(83, 111, 210, 0.12);
  border-radius: 11px;
}

.studio-v2-insight > span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #536fd2, #7f5ed6);
  border-radius: 8px;
  font-size: 7px;
  font-weight: 760;
}

.studio-v2-insight p {
  margin: 0;
  font-size: 7px;
  line-height: 1.35;
}

.studio-v2-footer {
  padding: 0 16px;
  gap: 12px;
}

.studio-v2-prompt {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
}

.studio-v2-prompt > span {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #536fd2, #7e5ed6);
  border-radius: 10px;
  box-shadow: 0 7px 18px rgba(80, 99, 205, 0.2);
  font-size: 11px;
}

.studio-v2-prompt > div {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.studio-v2-prompt small {
  color: #95959a;
  font-size: 7px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.studio-v2-prompt strong {
  max-width: 150px;
  overflow: hidden;
  font-size: 9px;
  font-weight: 620;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-v2-tool:focus-visible,
.studio-v2-model:focus-visible {
  outline: 2px solid #0071e3;
  outline-offset: 2px;
}

.ai-studio-stage.is-generating .studio-v2-scan {
  opacity: 1;
  animation: studio-v2-scan 1.25s ease-in-out both;
}

.ai-studio-stage.is-generating .studio-v2-asset {
  filter: drop-shadow(0 22px 18px rgba(17, 20, 27, 0.2)) saturate(1.08) brightness(1.025);
}

.ai-studio-stage.is-generating .studio-v2-brand-preview {
  animation: studio-v2-brand-apply 1.2s var(--ease) both;
}

@keyframes studio-v2-scan {
  0% { top: 14%; transform: scaleX(0.35); }
  45% { transform: scaleX(1); }
  100% { top: 86%; transform: scaleX(0.45); }
}

@keyframes studio-v2-brand-apply {
  0% { opacity: 0.2; transform: translate(-50%, -50%) scale(0.84); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@media (max-width: 1180px) {
  .studio-v2-workspace {
    grid-template-columns: 46px minmax(0, 1fr) 170px;
  }

  .studio-v2-toolrail {
    padding-inline: 6px;
  }

  .studio-v2-inspector {
    padding: 13px 10px;
    gap: 13px;
  }

  .studio-v2-brand-preview {
    width: 66px;
  }
}

@media (max-width: 820px) {
  .studio-v2-workspace {
    grid-template-columns: 50px minmax(0, 1fr) 190px;
  }

  .studio-v2-product-stack {
    inset: 40px 8px 34px;
  }
}

@media (max-width: 560px) {
  .ai-studio-stage:has(.studio-v2-window) {
    min-height: 760px;
  }

  .studio-v2-window {
    grid-template-rows: 52px minmax(0, 1fr) 66px;
  }

  .studio-v2-topbar {
    padding: 0 12px;
  }

  .studio-v2-workspace {
    grid-template-columns: 1fr;
    grid-template-rows: 44px minmax(300px, 1fr) 218px;
  }

  .studio-v2-toolrail {
    padding: 5px 10px;
    flex-direction: row;
    justify-content: center;
    gap: 7px;
    border-inline-end: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  }

  .studio-v2-tool {
    width: 32px;
    height: 32px;
  }

  .studio-v2-tool em {
    display: none;
  }

  .studio-v2-tool-spacer {
    flex: 0 0 10px;
  }

  .studio-v2-product-stack {
    inset: 38px 10px 30px;
  }

  .studio-v2-inspector {
    display: grid;
    padding: 10px 11px;
    grid-template-columns: minmax(0, 1fr) auto;
    align-content: start;
    gap: 9px 12px;
    overflow: hidden;
    border-inline-start: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
  }

  .studio-v2-model-field {
    grid-column: 1 / -1;
  }

  .studio-v2-model-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
  }

  .studio-v2-model {
    min-height: 34px;
    padding: 3px 5px;
    grid-template-columns: 25px minmax(0, 1fr);
    gap: 5px;
    font-size: 7px;
  }

  .studio-v2-model-thumb {
    width: 25px;
    height: 25px;
  }

  .studio-v2-inspector .studio-brand-field {
    min-width: 142px;
  }

  .studio-v2-inspector .studio-upload {
    min-height: 32px;
  }

  .studio-v2-inspector .studio-message-field {
    min-height: 30px;
    padding: 8px;
  }

  .studio-v2-insight {
    display: none;
  }

  .studio-v2-footer {
    padding: 0 10px;
    gap: 8px;
  }

  .studio-v2-prompt > span {
    width: 27px;
    height: 27px;
  }

  .studio-v2-prompt strong {
    max-width: 112px;
    font-size: 8px;
  }
}

@media (max-width: 390px) {
  .ai-studio-stage:has(.studio-v2-window) {
    min-height: 742px;
  }

  .studio-v2-workspace {
    grid-template-rows: 42px minmax(290px, 1fr) 218px;
  }

  .studio-v2-topbar .studio-brand small,
  .studio-v2-canvas-head > div,
  .studio-v2-specs span:last-child {
    display: none;
  }

  .studio-v2-model {
    grid-template-columns: 22px minmax(0, 1fr);
    font-size: 6px;
  }

  .studio-v2-model-thumb {
    width: 22px;
    height: 22px;
  }

  .studio-v2-prompt strong {
    max-width: 82px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .studio-v2-asset,
  .studio-v2-tint,
  .studio-v2-scan,
  .studio-v2-brand-preview {
    animation: none !important;
    transition: none !important;
  }
}

/* Lumina AI Studio v3 — automated customer journey demo */
.studio-v3-window {
  grid-template-rows: 58px minmax(0, 1fr) 68px;
  pointer-events: none;
  user-select: none;
}

.studio-v3-topbar {
  display: flex;
  padding: 0 18px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.studio-v3-topbar .studio-brand > div {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.studio-v3-topbar .studio-brand small {
  color: #94949a;
  font-size: 6px;
  font-weight: 720;
  letter-spacing: 0.14em;
}

.studio-v3-status {
  display: flex;
  min-width: 0;
  padding: 7px 8px;
  align-items: center;
  gap: 6px;
  color: #66676d;
  background: rgba(247, 247, 249, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.065);
  border-radius: 999px;
  font-size: 7px;
}

.studio-v3-status > i {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  background: #4f6fd6;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(79, 111, 214, 0.1);
}

.studio-v3-status > span {
  max-width: 116px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-v3-status > b {
  padding: 3px 5px;
  color: #fff;
  background: #1d1d1f;
  border-radius: 999px;
  font-size: 5px;
  letter-spacing: 0.08em;
}

.studio-v3-workspace {
  display: grid;
  min-height: 0;
  grid-template-columns: 52px minmax(0, 1fr) 184px;
}

.studio-v3-rail {
  display: flex;
  min-width: 0;
  padding: 14px 8px;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.84);
  border-inline-end: 1px solid rgba(0, 0, 0, 0.07);
}

.studio-v3-rail-step {
  position: relative;
  display: grid;
  width: 34px;
  height: 42px;
  place-items: center;
  color: #85858b;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 11px;
  transition: color 260ms ease, background-color 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.studio-v3-rail-step::after {
  position: absolute;
  top: 100%;
  width: 1px;
  height: 9px;
  background: rgba(0, 0, 0, 0.09);
  content: "";
}

.studio-v3-rail-step:last-child::after {
  display: none;
}

.studio-v3-rail-step b {
  position: absolute;
  top: 4px;
  right: 5px;
  color: #aaaab0;
  font-size: 5px;
  font-weight: 700;
}

.studio-v3-rail-step i {
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

[data-demo-step="0"] [data-demo-rail="0"],
[data-demo-step="1"] [data-demo-rail="0"],
[data-demo-step="2"] [data-demo-rail="1"],
[data-demo-step="3"] [data-demo-rail="2"],
[data-demo-step="4"] [data-demo-rail="2"],
[data-demo-step="5"] [data-demo-rail="3"],
[data-demo-step="6"] [data-demo-rail="3"] {
  color: #1d1d1f;
  background: #fff;
  border-color: rgba(0, 0, 0, 0.07);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.07);
}

.studio-v3-canvas {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 39%, #fff 0, rgba(246, 247, 250, 0.98) 34%, rgba(226, 229, 235, 0.96) 100%);
}

.studio-v3-canvas::after {
  position: absolute;
  z-index: 1;
  right: 12%;
  bottom: 10%;
  left: 12%;
  height: 23px;
  background: rgba(21, 24, 32, 0.18);
  border-radius: 50%;
  content: "";
  filter: blur(14px);
}

.studio-v3-grid {
  position: absolute;
  z-index: 0;
  inset: 0;
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(38, 43, 56, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(38, 43, 56, 0.055) 1px, transparent 1px);
  background-size: 27px 27px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 4%, transparent 73%);
  mask-image: radial-gradient(ellipse at center, #000 4%, transparent 73%);
}

.studio-v3-canvas-head {
  position: absolute;
  z-index: 10;
  top: 13px;
  right: 13px;
  left: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #77787e;
  font-size: 7px;
  font-weight: 720;
  letter-spacing: 0.07em;
}

.studio-v3-canvas-head > span,
.studio-v3-canvas-head > div {
  display: flex;
  align-items: center;
  gap: 6px;
}

.studio-v3-canvas-head > span > i {
  width: 5px;
  height: 5px;
  background: #35a853;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(53, 168, 83, 0.1);
}

.studio-v3-canvas-head b {
  padding: 5px 7px;
  color: #6e6f75;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(0, 0, 0, 0.055);
  border-radius: 7px;
  font-size: 6px;
}

.studio-v3-product-stage {
  position: absolute;
  z-index: 3;
  inset: 39px 5px 31px;
  transform-origin: center bottom;
}

.studio-v3-asset {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  object-fit: contain;
  filter: drop-shadow(0 23px 18px rgba(14, 18, 27, 0.2));
  transform: translateY(10px) scale(0.93);
  transform-origin: center bottom;
  transition: opacity 520ms ease, transform 760ms var(--ease), filter 520ms ease;
}

[data-demo-model="figure"] [data-demo-asset="figure"],
[data-demo-model="product"] [data-demo-asset="product"],
[data-demo-model="mascot"] [data-demo-asset="mascot"] {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.studio-v3-brand-preview {
  position: absolute;
  z-index: 7;
  top: 41%;
  left: 50%;
  display: grid;
  width: 86px;
  opacity: 0;
  justify-items: center;
  gap: 5px;
  transform: translate(-50%, -50%) scale(0.86);
  transition: top 620ms var(--ease), opacity 360ms ease, transform 520ms var(--ease);
}

[data-demo-model="product"] .studio-v3-brand-preview { top: 51%; }
[data-demo-model="mascot"] .studio-v3-brand-preview { top: 58%; }

[data-demo-step="3"] .studio-v3-brand-preview,
[data-demo-step="4"] .studio-v3-brand-preview,
[data-demo-step="5"] .studio-v3-brand-preview,
[data-demo-step="6"] .studio-v3-brand-preview {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.studio-v3-brand-preview > b {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  background: rgba(18, 20, 25, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 11px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  font-size: 12px;
}

.studio-v3-brand-preview > span {
  display: block;
  width: 0;
  max-width: 86px;
  padding: 6px 0;
  overflow: hidden;
  color: #23242a;
  background: rgba(255, 255, 255, 0.92);
  border: 0 solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  font-size: 6px;
  font-weight: 780;
  letter-spacing: 0.06em;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

[data-demo-step="4"] .studio-v3-brand-preview > span,
[data-demo-step="5"] .studio-v3-brand-preview > span,
[data-demo-step="6"] .studio-v3-brand-preview > span {
  width: 72px;
  padding-inline: 7px;
  border-width: 1px;
  transition: width 920ms steps(10), padding 200ms ease;
}

.studio-v3-scan {
  position: absolute;
  z-index: 9;
  right: 7%;
  left: 7%;
  height: 2px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(77, 107, 219, 0.95), transparent);
  box-shadow: 0 0 20px rgba(77, 107, 219, 0.52);
}

[data-demo-step="5"] .studio-v3-scan {
  opacity: 1;
  animation: studio-v3-scan 1.65s ease-in-out both;
}

.studio-v3-ai-badge {
  position: absolute;
  z-index: 11;
  top: 44px;
  right: 11px;
  display: flex;
  max-width: calc(100% - 22px);
  padding: 7px 9px;
  align-items: center;
  gap: 5px;
  color: #4b4c53;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.065);
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
  font-size: 7px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

[dir="rtl"] .studio-v3-ai-badge {
  right: auto;
  left: 11px;
}

.studio-v3-ai-badge > span {
  color: #536fd2;
  font-size: 10px;
}

.studio-v3-ai-badge em {
  overflow: hidden;
  color: #85858b;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-v3-specs {
  position: absolute;
  z-index: 10;
  bottom: 11px;
  left: 50%;
  display: flex;
  gap: 5px;
  transform: translateX(-50%);
}

.studio-v3-specs span {
  padding: 5px 7px;
  color: #6d6e74;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(0, 0, 0, 0.055);
  border-radius: 999px;
  font-size: 5px;
  font-weight: 730;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.studio-v3-panel {
  display: flex;
  min-width: 0;
  padding: 14px 12px;
  flex-direction: column;
  gap: 13px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.76);
  border-inline-start: 1px solid rgba(0, 0, 0, 0.07);
}

.studio-v3-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #85858b;
  font-size: 6px;
  font-weight: 720;
  letter-spacing: 0.1em;
}

.studio-v3-panel-head b {
  padding: 3px 5px;
  color: #fff;
  background: #35a853;
  border-radius: 999px;
  font-size: 5px;
}

.studio-v3-group {
  display: grid;
  gap: 7px;
}

.studio-v3-group > small {
  color: #818187;
  font-size: 6px;
  font-weight: 720;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.studio-v3-model-list {
  display: grid;
  gap: 4px;
}

.studio-v3-model {
  display: grid;
  min-height: 37px;
  padding: 3px 7px;
  grid-template-columns: 27px minmax(0, 1fr) 7px;
  align-items: center;
  gap: 7px;
  color: #6f7076;
  background: rgba(255, 255, 255, 0.34);
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 7px;
  font-weight: 600;
  transition: color 300ms ease, background-color 300ms ease, border-color 300ms ease, box-shadow 300ms ease, transform 300ms ease;
}

.studio-v3-model-thumb {
  width: 27px;
  height: 27px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.studio-v3-model-thumb-figure { background-image: url("../img/studio-v3/colour-figure.png"); }
.studio-v3-model-thumb-product { background-image: url("../img/studio-v3/colour-bottle.png"); }
.studio-v3-model-thumb-mascot { background-image: url("../img/studio-v3/colour-fox-mascot.png"); }

.studio-v3-model > i {
  width: 6px;
  height: 6px;
  border: 1px solid #b5b5ba;
  border-radius: 50%;
}

[data-demo-model="figure"] [data-demo-model-card="figure"],
[data-demo-model="product"] [data-demo-model-card="product"],
[data-demo-model="mascot"] [data-demo-model-card="mascot"] {
  color: #1d1d1f;
  background: #fff;
  border-color: rgba(0, 0, 0, 0.075);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.06);
}

[data-demo-model="figure"] [data-demo-model-card="figure"] > i,
[data-demo-model="product"] [data-demo-model-card="product"] > i,
[data-demo-model="mascot"] [data-demo-model-card="mascot"] > i {
  background: #536fd2;
  border-color: #536fd2;
  box-shadow: 0 0 0 3px rgba(83, 111, 210, 0.1);
}

[data-demo-step="1"] [data-demo-model-card] {
  transform: translateY(-1px);
}

.studio-v3-swatches {
  display: flex;
  gap: 8px;
}

.studio-v3-swatch {
  width: 24px;
  height: 24px;
  background: var(--demo-swatch);
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
  transition: box-shadow 300ms ease, transform 300ms ease;
}

[data-demo-step="2"] .studio-v3-swatch.is-selected,
[data-demo-step="3"] .studio-v3-swatch.is-selected,
[data-demo-step="4"] .studio-v3-swatch.is-selected,
[data-demo-step="5"] .studio-v3-swatch.is-selected,
[data-demo-step="6"] .studio-v3-swatch.is-selected {
  box-shadow: 0 0 0 2px #1d1d1f;
  transform: scale(1.08);
}

.studio-v3-upload {
  display: grid;
  min-height: 34px;
  padding: 5px 6px;
  grid-template-columns: 24px minmax(0, 1fr) 12px;
  align-items: center;
  gap: 7px;
  color: #68696f;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 9px;
  font-size: 7px;
}

.studio-v3-upload > span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: #fff;
  background: #1d1d1f;
  border-radius: 7px;
  font-size: 8px;
  font-weight: 760;
}

.studio-v3-upload > b {
  overflow: hidden;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-v3-upload > i {
  opacity: 0;
  color: #248a3d;
  font-style: normal;
  font-weight: 760;
  transform: scale(0.6);
  transition: opacity 260ms ease, transform 340ms var(--ease);
}

[data-demo-step="3"] .studio-v3-upload > i,
[data-demo-step="4"] .studio-v3-upload > i,
[data-demo-step="5"] .studio-v3-upload > i,
[data-demo-step="6"] .studio-v3-upload > i {
  opacity: 1;
  transform: scale(1);
}

.studio-v3-message {
  display: flex;
  min-height: 30px;
  padding: 0 8px;
  align-items: center;
  justify-content: space-between;
  color: #5e5f65;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(0, 0, 0, 0.065);
  border-radius: 8px;
  font-size: 7px;
}

.studio-v3-message > span {
  display: block;
  width: 0;
  overflow: hidden;
  white-space: nowrap;
}

.studio-v3-message > i {
  width: 1px;
  height: 12px;
  opacity: 0;
  background: #536fd2;
}

[data-demo-step="4"] .studio-v3-message > span,
[data-demo-step="5"] .studio-v3-message > span,
[data-demo-step="6"] .studio-v3-message > span {
  width: calc(100% - 8px);
  transition: width 1.05s steps(12);
}

[data-demo-step="4"] .studio-v3-message > i {
  opacity: 1;
  animation: studio-v3-caret 620ms steps(1) infinite;
}

.studio-v3-generate {
  position: relative;
  display: grid;
  min-height: 35px;
  margin-top: auto;
  padding: 0 9px;
  overflow: hidden;
  grid-template-columns: 18px minmax(0, 1fr) 8px;
  align-items: center;
  gap: 6px;
  color: #fff;
  background: #1d1d1f;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  font-size: 7px;
}

.studio-v3-generate > span {
  color: #9db1ff;
  font-size: 10px;
}

.studio-v3-generate > b {
  overflow: hidden;
  font-weight: 620;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-v3-generate > i {
  width: 7px;
  height: 7px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
}

[data-demo-step="5"] .studio-v3-generate {
  background: linear-gradient(100deg, #425fcb, #7655cb);
}

[data-demo-step="5"] .studio-v3-generate::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  content: "";
  animation: studio-v3-button-shine 1.25s ease-in-out infinite;
}

[data-demo-step="5"] .studio-v3-generate > i {
  border-top-color: #fff;
  animation: studio-v3-spin 620ms linear infinite;
}

[data-demo-step="6"] .studio-v3-generate > i {
  background: #38a856;
  border-color: #38a856;
  box-shadow: 0 0 0 3px rgba(56, 168, 86, 0.16);
}

.studio-v3-footer {
  display: flex;
  min-width: 0;
  padding: 0 16px;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.88);
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.studio-v3-footer-copy {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.studio-v3-footer-copy > span {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #526fd2, #805dd5);
  border-radius: 9px;
  font-size: 10px;
}

.studio-v3-footer-copy > div {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.studio-v3-footer-copy small {
  color: #94949a;
  font-size: 6px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.studio-v3-footer-copy strong {
  max-width: 128px;
  overflow: hidden;
  font-size: 8px;
  font-weight: 620;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-v3-timeline {
  display: grid;
  height: 3px;
  min-width: 44px;
  flex: 1 1 auto;
  grid-template-columns: repeat(6, minmax(5px, 1fr));
  gap: 3px;
}

.studio-v3-timeline i {
  overflow: hidden;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 999px;
}

.studio-v3-timeline i::after {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #536fd2, #875fd3);
  border-radius: inherit;
  content: "";
  transition: width 360ms ease;
}

[data-demo-step="1"] .studio-v3-timeline i:nth-child(-n+1)::after,
[data-demo-step="2"] .studio-v3-timeline i:nth-child(-n+2)::after,
[data-demo-step="3"] .studio-v3-timeline i:nth-child(-n+3)::after,
[data-demo-step="4"] .studio-v3-timeline i:nth-child(-n+4)::after,
[data-demo-step="5"] .studio-v3-timeline i:nth-child(-n+5)::after,
[data-demo-step="6"] .studio-v3-timeline i:nth-child(-n+6)::after {
  width: 100%;
}

.studio-v3-ready {
  display: flex;
  max-width: 120px;
  align-items: center;
  gap: 6px;
  opacity: 0.35;
  color: #77787e;
  font-size: 6px;
  transition: opacity 320ms ease, color 320ms ease;
}

.studio-v3-ready i {
  display: grid;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  place-items: center;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 50%;
  font-style: normal;
}

.studio-v3-ready span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

[data-demo-step="6"] .studio-v3-ready {
  opacity: 1;
  color: #248a3d;
}

[data-demo-step="6"] .studio-v3-ready i {
  color: #fff;
  background: #35a853;
  box-shadow: 0 0 0 4px rgba(53, 168, 83, 0.1);
}

[data-demo-step="5"] .studio-v3-status > i {
  animation: studio-v3-status-pulse 720ms ease-in-out infinite;
}

[data-demo-step="6"] .studio-v3-status > i {
  background: #35a853;
  box-shadow: 0 0 0 4px rgba(53, 168, 83, 0.12);
}

.studio-v3-pointer {
  position: absolute;
  z-index: 40;
  top: 25%;
  left: 83%;
  width: 16px;
  height: 22px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.54);
  clip-path: polygon(0 0, 100% 72%, 58% 73%, 73% 100%, 54% 100%, 39% 77%, 0 100%);
  filter: drop-shadow(0 4px 5px rgba(0, 0, 0, 0.24));
  transform: translate(-50%, -50%);
  transition: top 720ms var(--ease), left 720ms var(--ease), opacity 300ms ease;
}

.studio-v3-pointer > i {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 24px;
  height: 24px;
  opacity: 0;
  border: 1px solid rgba(83, 111, 210, 0.52);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.35);
}

[data-demo-step="0"] .studio-v3-pointer { top: 28%; left: 82%; }
[data-demo-step="1"] .studio-v3-pointer { top: 35%; left: 83%; }
[data-demo-step="2"] .studio-v3-pointer { top: 55%; left: 84%; }
[data-demo-step="3"] .studio-v3-pointer { top: 67%; left: 84%; }
[data-demo-step="4"] .studio-v3-pointer { top: 75%; left: 84%; }
[data-demo-step="5"] .studio-v3-pointer { top: 84%; left: 84%; }
[data-demo-step="6"] .studio-v3-pointer { top: 48%; left: 54%; opacity: 0; }

[data-demo-step="1"] .studio-v3-pointer > i,
[data-demo-step="2"] .studio-v3-pointer > i,
[data-demo-step="3"] .studio-v3-pointer > i,
[data-demo-step="4"] .studio-v3-pointer > i,
[data-demo-step="5"] .studio-v3-pointer > i {
  animation: studio-v3-click 760ms 520ms ease-out both;
}

@keyframes studio-v3-click {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.35); }
  25% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.35); }
}

@keyframes studio-v3-scan {
  0% { top: 13%; transform: scaleX(0.32); }
  46% { transform: scaleX(1); }
  100% { top: 87%; transform: scaleX(0.42); }
}

@keyframes studio-v3-caret {
  50% { opacity: 0; }
}

@keyframes studio-v3-spin {
  to { transform: rotate(360deg); }
}

@keyframes studio-v3-button-shine {
  from { transform: translateX(-110%); }
  to { transform: translateX(110%); }
}

@keyframes studio-v3-status-pulse {
  50% { opacity: 0.42; transform: scale(0.8); }
}

@media (max-width: 1180px) {
  .studio-v3-workspace {
    grid-template-columns: 46px minmax(0, 1fr) 170px;
  }

  .studio-v3-rail {
    padding-inline: 6px;
  }

  .studio-v3-panel {
    padding: 12px 10px;
    gap: 11px;
  }

  .studio-v3-model {
    padding-inline: 5px;
    gap: 5px;
  }
}

@media (max-width: 820px) {
  .studio-v3-workspace {
    grid-template-columns: 50px minmax(0, 1fr) 190px;
  }

  .studio-v3-product-stage {
    inset: 38px 8px 30px;
  }
}

@media (max-width: 560px) {
  .ai-studio-stage:has(.studio-v3-window) {
    min-height: 760px;
  }

  .studio-v3-window {
    grid-template-rows: 52px minmax(0, 1fr) 64px;
  }

  .studio-v3-topbar {
    padding: 0 12px;
  }

  .studio-v3-topbar .studio-brand small {
    display: none;
  }

  .studio-v3-status > span {
    max-width: 92px;
  }

  .studio-v3-workspace {
    grid-template-columns: 1fr;
    grid-template-rows: 42px minmax(310px, 1fr) 220px;
  }

  .studio-v3-rail {
    padding: 5px 10px;
    flex-direction: row;
    justify-content: center;
    gap: 8px;
    border-inline-end: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  }

  .studio-v3-rail-step {
    width: 38px;
    height: 31px;
  }

  .studio-v3-rail-step::after {
    top: 50%;
    left: 100%;
    width: 9px;
    height: 1px;
  }

  [dir="rtl"] .studio-v3-rail-step::after {
    right: 100%;
    left: auto;
  }

  .studio-v3-rail-step b {
    top: 3px;
  }

  .studio-v3-product-stage {
    inset: 36px 10px 28px;
  }

  .studio-v3-panel {
    display: grid;
    padding: 9px 10px;
    grid-template-columns: minmax(0, 1fr) minmax(124px, 0.92fr);
    align-content: start;
    gap: 8px 10px;
    border-inline-start: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
  }

  .studio-v3-panel-head,
  .studio-v3-model-group,
  .studio-v3-generate {
    grid-column: 1 / -1;
  }

  .studio-v3-model-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .studio-v3-model {
    min-height: 33px;
    padding: 3px 5px;
    grid-template-columns: 23px minmax(0, 1fr) 5px;
    gap: 4px;
    font-size: 6px;
  }

  .studio-v3-model-thumb {
    width: 23px;
    height: 23px;
  }

  .studio-v3-swatches {
    gap: 6px;
  }

  .studio-v3-swatch {
    width: 21px;
    height: 21px;
  }

  .studio-v3-brand-group {
    gap: 5px;
  }

  .studio-v3-upload {
    min-height: 31px;
  }

  .studio-v3-message {
    min-height: 27px;
  }

  .studio-v3-generate {
    min-height: 31px;
    margin-top: 0;
  }

  .studio-v3-footer {
    padding: 0 10px;
    gap: 8px;
  }

  .studio-v3-footer-copy strong {
    max-width: 92px;
  }

  .studio-v3-ready {
    max-width: 78px;
  }

  [data-demo-step="0"] .studio-v3-pointer { top: 68%; left: 23%; }
  [data-demo-step="1"] .studio-v3-pointer { top: 70%; left: 24%; }
  [data-demo-step="2"] .studio-v3-pointer { top: 81%; left: 24%; }
  [data-demo-step="3"] .studio-v3-pointer { top: 81%; left: 72%; }
  [data-demo-step="4"] .studio-v3-pointer { top: 87%; left: 72%; }
  [data-demo-step="5"] .studio-v3-pointer { top: 91%; left: 71%; }
  [data-demo-step="6"] .studio-v3-pointer { top: 45%; left: 52%; }
}

@media (max-width: 390px) {
  .ai-studio-stage:has(.studio-v3-window) {
    min-height: 744px;
  }

  .studio-v3-workspace {
    grid-template-rows: 40px minmax(292px, 1fr) 220px;
  }

  .studio-v3-status > span,
  .studio-v3-canvas-head > div,
  .studio-v3-specs span:last-child,
  .studio-v3-ready span {
    display: none;
  }

  .studio-v3-ready {
    max-width: 18px;
  }

  .studio-v3-model {
    grid-template-columns: 21px minmax(0, 1fr);
  }

  .studio-v3-model > i {
    display: none;
  }

  .studio-v3-model-thumb {
    width: 21px;
    height: 21px;
  }

  .studio-v3-footer-copy strong {
    max-width: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .studio-v3-asset,
  .studio-v3-brand-preview,
  .studio-v3-brand-preview > span,
  .studio-v3-message > span,
  .studio-v3-message > i,
  .studio-v3-scan,
  .studio-v3-pointer,
  .studio-v3-pointer > i,
  .studio-v3-generate::after,
  .studio-v3-generate > i,
  .studio-v3-status > i {
    animation: none !important;
    transition: none !important;
  }
}

/* Final responsive pass and contact map */
html,
body {
  max-width: 100%;
}

body {
  overflow-x: clip;
}

img,
video,
iframe {
  max-width: 100%;
}

.hero-grid > *,
.page-hero-grid > *,
.section-head > *,
.contact-layout > *,
.footer-top > *,
.cta-card > * {
  min-width: 0;
}

.contact-row strong,
.footer-bottom span,
.contact-map-head p {
  overflow-wrap: anywhere;
}

body[data-page="contact"] .page-hero {
  padding-bottom: clamp(42px, 5.5vw, 70px);
}

body[data-page="contact"] .section {
  padding-top: clamp(34px, 5vw, 64px);
}

.contact-map-shell {
  margin-top: 18px;
  padding: clamp(24px, 4vw, 42px);
  background: var(--paper);
  border: 1px solid rgba(15, 15, 16, 0.08);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 70px rgba(12, 12, 14, 0.055);
}

.contact-map-head {
  display: flex;
  margin-bottom: clamp(22px, 3vw, 34px);
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.contact-map-head > div {
  max-width: 760px;
}

.contact-map-head .eyebrow {
  margin-bottom: 12px;
}

.contact-map-head .section-title {
  margin: 0;
  font-size: clamp(32px, 4.4vw, 58px);
}

.contact-map-head p:last-child {
  max-width: 700px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.contact-map-link {
  display: inline-flex;
  min-height: 44px;
  padding: 0 17px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(10, 10, 12, 0.12);
  font-size: 12px;
  font-weight: 630;
  transition: transform 180ms var(--ease), background-color 180ms ease;
}

.contact-map-link:hover {
  background: #303034;
  transform: translateY(-2px);
}

.contact-map-link:focus-visible {
  outline: 3px solid rgba(0, 113, 227, 0.3);
  outline-offset: 3px;
}

.contact-map-link span {
  font-size: 15px;
  line-height: 1;
}

.contact-map-frame {
  position: relative;
  height: clamp(380px, 43vw, 560px);
  overflow: hidden;
  background: #e7e8ea;
  border: 1px solid rgba(15, 15, 16, 0.08);
  border-radius: clamp(24px, 3vw, 34px);
}

.contact-map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.82) contrast(1.02);
}

.mobile-panel {
  max-height: calc(100dvh - var(--header-height));
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mobile-nav a {
  min-height: 46px;
}

.mobile-languages {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}

.mobile-languages::-webkit-scrollbar {
  display: none;
}

@media (max-width: 820px) {
  .contact-layout {
    gap: 14px;
  }

  .contact-panel {
    min-height: auto;
  }

  .notice-card {
    min-height: 360px;
  }

  .contact-map-head {
    align-items: flex-start;
  }

  .contact-map-frame {
    height: clamp(360px, 62vw, 470px);
  }

  .footer-bottom {
    gap: 14px;
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
  .page-hero-grid,
  .section-head,
  .cta-card {
    gap: 22px;
  }

  .display-small,
  .section-title,
  .card-title {
    overflow-wrap: anywhere;
  }

  .contact-panel {
    padding: 26px 22px;
    border-radius: 24px;
  }

  .contact-panel .lead {
    margin-top: 18px;
  }

  .contact-status {
    margin-top: 38px;
  }

  .contact-row {
    padding: 15px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }

  .contact-row strong {
    max-width: 100%;
    line-height: 1.55;
    text-align: start;
  }

  .notice-card {
    min-height: auto;
    padding: 24px;
    gap: 48px;
    border-radius: 19px;
  }

  .contact-map-shell {
    margin-top: 14px;
    padding: 17px;
    border-radius: 24px;
  }

  .contact-map-head {
    display: grid;
    margin-bottom: 20px;
    align-items: start;
    gap: 18px;
  }

  .contact-map-head .section-title {
    font-size: clamp(29px, 9.5vw, 42px);
  }

  .contact-map-head p:last-child {
    margin-top: 12px;
    font-size: 13px;
  }

  .contact-map-link {
    width: fit-content;
    min-height: 44px;
  }

  .contact-map-frame {
    height: 340px;
    border-radius: 18px;
  }

  .button,
  .contact-map-link,
  .menu-toggle {
    touch-action: manipulation;
  }

  .footer-top,
  .footer-bottom {
    gap: 32px;
  }
}

@media (max-width: 390px) {
  .container {
    width: min(calc(100% - 20px), var(--container));
  }

  .contact-panel {
    padding: 22px 18px;
  }

  .notice-card {
    padding: 20px;
  }

  .contact-map-shell {
    padding: 13px;
    border-radius: 20px;
  }

  .contact-map-frame {
    height: 300px;
    border-radius: 15px;
  }
}

@media (hover: none) {
  .feature-card:hover,
  .solution-card:hover,
  .quality-panel:hover,
  .project-card:hover,
  .contact-panel:hover,
  .metric:hover,
  .size-item:hover,
  .contact-map-link:hover {
    transform: none;
  }
}

/* Persistent WhatsApp contact */
.whatsapp-float {
  position: fixed;
  z-index: 80;
  inset-inline-end: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  display: inline-flex;
  min-height: 58px;
  padding: 7px 17px 7px 7px;
  align-items: center;
  gap: 11px;
  color: #fff;
  background: rgba(13, 13, 14, 0.91);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  box-shadow: 0 18px 48px rgba(8, 8, 10, 0.2), 0 3px 12px rgba(8, 8, 10, 0.12);
  backdrop-filter: saturate(145%) blur(20px);
  -webkit-backdrop-filter: saturate(145%) blur(20px);
  isolation: isolate;
  transition: transform 220ms var(--ease), box-shadow 220ms ease, background-color 220ms ease;
  touch-action: manipulation;
}

.whatsapp-float::before {
  position: absolute;
  z-index: -1;
  inset: -1px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: inherit;
  pointer-events: none;
}

.whatsapp-float-icon {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  color: #fff;
  background: #1fae5b;
  border-radius: 50%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26), 0 5px 14px rgba(31, 174, 91, 0.25);
  place-items: center;
  transition: transform 220ms var(--ease), background-color 220ms ease;
}

.whatsapp-float-icon svg {
  width: 25px;
  height: 25px;
}

.whatsapp-float-copy {
  display: grid;
  min-width: 93px;
  line-height: 1.05;
}

.whatsapp-float-copy small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.whatsapp-float-copy strong {
  margin-top: 5px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.whatsapp-float:hover {
  background: rgba(24, 24, 26, 0.96);
  box-shadow: 0 22px 58px rgba(8, 8, 10, 0.25), 0 4px 14px rgba(8, 8, 10, 0.14);
  transform: translateY(-3px);
}

.whatsapp-float:hover .whatsapp-float-icon {
  background: #22ba62;
  transform: scale(1.035);
}

.whatsapp-float:focus-visible {
  outline: 3px solid rgba(31, 174, 91, 0.3);
  outline-offset: 4px;
}

.js .whatsapp-float {
  animation: whatsapp-float-enter 560ms 240ms var(--ease) both;
}

@keyframes whatsapp-float-enter {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 560px) {
  .whatsapp-float {
    width: 54px;
    height: 54px;
    min-height: 54px;
    padding: 4px;
    inset-inline-end: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    justify-content: center;
  }

  .whatsapp-float-icon {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .whatsapp-float-copy {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .whatsapp-float {
    animation: none;
  }
}

@media (hover: none) {
  .whatsapp-float:hover,
  .whatsapp-float:hover .whatsapp-float-icon {
    transform: none;
  }
}

/* Language selector: flag, localized name and ISO language code. */
.language summary {
  min-width: 72px;
  padding-inline: 8px 10px;
  gap: 6px;
}

.language-menu {
  width: 206px;
}

.language-menu a {
  gap: 12px;
}

.language-flag {
  display: inline-grid;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  place-items: center;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  color: transparent;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
  font-size: 0;
  line-height: 1;
}

.language-flag[data-flag="tr"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Cpath fill='%23e30a17' d='M0 0h60v40H0z'/%3E%3Ccircle fill='%23fff' cx='24' cy='20' r='10'/%3E%3Ccircle fill='%23e30a17' cx='27' cy='20' r='8'/%3E%3Cpath fill='%23fff' d='m34 15 1.2 3.3h3.6l-2.9 2.1 1.1 3.4-3-2-3 2 1.1-3.4-2.9-2.1h3.6z'/%3E%3C/svg%3E");
}

.language-flag[data-flag="de"] {
  background-image: linear-gradient(to bottom, #111 0 33.333%, #d00 33.333% 66.666%, #ffce00 66.666% 100%);
}

.language-flag[data-flag="en"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Cpath fill='%23012169' d='M0 0h60v40H0z'/%3E%3Cpath stroke='%23fff' stroke-width='8' d='m0 0 60 40M60 0 0 40'/%3E%3Cpath stroke='%23c8102e' stroke-width='4' d='m0 0 60 40M60 0 0 40'/%3E%3Cpath stroke='%23fff' stroke-width='12' d='M30 0v40M0 20h60'/%3E%3Cpath stroke='%23c8102e' stroke-width='7' d='M30 0v40M0 20h60'/%3E%3C/svg%3E");
}

.language-flag[data-flag="ar"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Cpath fill='%23006c35' d='M0 0h60v40H0z'/%3E%3Cpath fill='%23fff' d='M15 15h30v2H15zm5 4h20v2H20zm-6 7h32v1.7H14zm23 1.7h9l-2 2H37z'/%3E%3C/svg%3E");
}

.language-flag[data-flag="es"] {
  background-image: linear-gradient(to bottom, #aa151b 0 25%, #f1bf00 25% 75%, #aa151b 75% 100%);
}

.language-flag[data-flag="pt"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Cpath fill='%23046a38' d='M0 0h24v40H0z'/%3E%3Cpath fill='%23da291c' d='M24 0h36v40H24z'/%3E%3Ccircle fill='%23ffcd00' cx='24' cy='20' r='6'/%3E%3Ccircle fill='none' stroke='%23fff' stroke-width='1.3' cx='24' cy='20' r='3.5'/%3E%3C/svg%3E");
}

.language-flag[data-flag="fr"] {
  background-image: linear-gradient(to right, #0055a4 0 33.333%, #fff 33.333% 66.666%, #ef4135 66.666% 100%);
}

.language-flag[data-flag="da"] {
  background-image: linear-gradient(to bottom, transparent 0 42%, #fff 42% 58%, transparent 58% 100%), linear-gradient(to right, #c60c30 0 31%, #fff 31% 42%, #c60c30 42% 100%);
}

.language-flag[data-flag="nl"] {
  background-image: linear-gradient(to bottom, #ae1c28 0 33.333%, #fff 33.333% 66.666%, #21468b 66.666% 100%);
}

.language-flag[data-flag="it"] {
  background-image: linear-gradient(to right, #009246 0 33.333%, #fff 33.333% 66.666%, #ce2b37 66.666% 100%);
}

.language-flag[data-flag="ru"] {
  background-image: linear-gradient(to bottom, #fff 0 33.333%, #0039a6 33.333% 66.666%, #d52b1e 66.666% 100%);
}

.language-code,
.language-option-code,
.mobile-language-code {
  font-variant-numeric: tabular-nums;
  font-weight: 750;
  letter-spacing: 0.055em;
  line-height: 1;
}

.language-code {
  font-size: 10.5px;
}

.language-option-main {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.language-option-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.language-option-code {
  margin-inline-start: auto;
  color: var(--muted);
  font-size: 10px;
}

.language-menu a[aria-current="true"] .language-option-code {
  color: var(--ink);
}

.mobile-languages a {
  display: inline-flex;
  min-height: 40px;
  padding: 8px 11px 8px 8px;
  align-items: center;
  gap: 7px;
}

.mobile-languages .language-flag {
  width: 22px;
  height: 22px;
  flex-basis: 22px;
}

.mobile-language-code {
  font-size: 10.5px;
}

.mobile-panel .mobile-languages a[aria-current="true"] .language-flag {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}
