: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;
}

/* Homepage exterior hero — reference-led full-bleed composition. */
body[data-page="home"] .ai-hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  display: grid;
  padding: clamp(88px, 11vh, 136px) 0 clamp(38px, 6vh, 72px);
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  background-color: #dfe8ef;
  background-image: url("../img/hero-home-exterior-v3.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

body[data-page="home"] .ai-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(ellipse 47% 68% at 50% 51%, rgba(255, 255, 255, 0.93) 0%, rgba(255, 255, 255, 0.72) 44%, rgba(255, 255, 255, 0.08) 100%),
    linear-gradient(90deg, rgba(7, 18, 28, 0.12), transparent 28%, transparent 72%, rgba(7, 18, 28, 0.1));
  content: "";
  pointer-events: none;
}

body[data-page="home"] .ai-hero::after {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 23%;
  background: linear-gradient(to top, rgba(6, 12, 18, 0.2), transparent);
  content: "";
  pointer-events: none;
}

body[data-page="home"] .ai-hero > .container {
  width: min(100% - 40px, 1500px);
  max-width: none;
  margin-inline: auto;
}

body[data-page="home"] .ai-hero .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1000px);
  justify-content: center;
  align-items: center;
}

body[data-page="home"] .ai-hero .hero-copy {
  width: 100%;
  max-width: 1000px;
  margin-inline: auto;
  padding: 0 clamp(12px, 4vw, 58px);
  align-self: center;
  text-align: center;
}

body[data-page="home"] .ai-hero .eyebrow {
  margin-bottom: clamp(18px, 2.4vw, 30px);
  color: rgba(18, 22, 27, 0.62);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-shadow: 0 1px 18px rgba(255, 255, 255, 0.9);
}

body[data-page="home"] .ai-hero .display {
  max-width: 1000px;
  margin-inline: auto;
  color: #151719;
  font-size: clamp(48px, 5.5vw, 84px);
  font-weight: 660;
  letter-spacing: -0.062em;
  line-height: 0.98;
  text-wrap: balance;
  text-shadow: 0 2px 30px rgba(255, 255, 255, 0.86);
}

body[data-page="home"] .ai-hero .lead {
  max-width: 820px;
  margin: clamp(22px, 2.7vw, 34px) auto 0;
  color: rgba(31, 34, 38, 0.68);
  font-size: clamp(16px, 1.45vw, 21px);
  line-height: 1.52;
  text-wrap: balance;
  text-shadow: 0 1px 20px rgba(255, 255, 255, 0.94);
}

body[data-page="home"] .ai-hero .actions {
  margin-top: clamp(24px, 3.1vw, 38px);
  justify-content: center;
}

body[data-page="home"] .ai-hero .button {
  min-height: 52px;
  padding-inline: 23px;
  box-shadow: 0 12px 34px rgba(0, 91, 210, 0.2);
}

body[data-page="home"] .ai-hero .button-secondary {
  color: #0668d7;
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 32px rgba(22, 31, 42, 0.08);
  backdrop-filter: blur(18px) saturate(1.25);
}

body[data-page="home"] .ai-hero .hero-strip {
  max-width: 990px;
  margin: clamp(48px, 8vh, 90px) auto 0;
  padding: 10px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  box-shadow: 0 18px 54px rgba(16, 28, 40, 0.1);
  backdrop-filter: blur(22px) saturate(1.25);
}

body[data-page="home"] .ai-hero .hero-strip-item {
  padding: 12px 18px;
}

body[data-page="home"] .ai-hero .hero-strip-item strong {
  color: rgba(20, 22, 25, 0.86);
}

body[data-page="home"] .ai-hero .hero-strip-item span {
  color: rgba(31, 34, 38, 0.6);
}

/* The existing animated studio remains available as a focused modal. */
body[data-page="home"] .ai-hero .ai-studio-stage {
  position: fixed !important;
  z-index: 1002;
  top: 50%;
  left: 50%;
  width: min(1180px, calc(100vw - 48px));
  height: min(760px, calc(100svh - 48px));
  min-height: 0;
  margin: 0 !important;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -47%) scale(0.965) !important;
  transition: opacity 240ms ease, transform 420ms var(--ease), visibility 240ms ease;
}

body.ai-studio-open {
  overflow: hidden;
}

body.ai-studio-open[data-page="home"] .ai-hero .ai-studio-stage {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1) !important;
}

.studio-modal-backdrop {
  position: fixed;
  z-index: 1001;
  inset: 0;
  visibility: hidden;
  background: rgba(7, 9, 12, 0.62);
  opacity: 0;
  backdrop-filter: blur(18px) saturate(0.8);
  transition: opacity 240ms ease, visibility 240ms ease;
}

body.ai-studio-open .studio-modal-backdrop {
  visibility: visible;
  opacity: 1;
}

.studio-modal-close {
  position: absolute;
  z-index: 20;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  display: grid;
  padding: 0;
  place-items: center;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(6, 7, 9, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  backdrop-filter: blur(12px);
}

@media (max-width: 820px) {
  body[data-page="home"] .ai-hero {
    min-height: calc(100svh - var(--header-height));
    padding: clamp(74px, 10vh, 106px) 0 28px;
    background-position: 50% center;
  }

  body[data-page="home"] .ai-hero::before {
    background:
      radial-gradient(ellipse 76% 68% at 50% 48%, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.72) 58%, rgba(255, 255, 255, 0.2) 100%),
      linear-gradient(90deg, rgba(7, 18, 28, 0.12), transparent 38%, transparent 62%, rgba(7, 18, 28, 0.1));
  }

  body[data-page="home"] .ai-hero > .container {
    width: min(100% - 28px, 1500px);
  }

  body[data-page="home"] .ai-hero .hero-copy {
    padding-inline: clamp(4px, 3vw, 24px);
  }

  body[data-page="home"] .ai-hero .display {
    font-size: clamp(43px, 10.5vw, 68px);
  }

  body[data-page="home"] .ai-hero .lead {
    max-width: 660px;
    font-size: clamp(15px, 2.5vw, 18px);
  }

  body[data-page="home"] .ai-hero .hero-strip {
    margin-top: clamp(38px, 7vh, 62px);
  }

  body[data-page="home"] .ai-hero .ai-studio-stage {
    width: calc(100vw - 24px);
    height: calc(100svh - 24px);
  }
}

@media (max-width: 560px) {
  body[data-page="home"] .ai-hero {
    min-height: calc(100svh - var(--header-height));
    padding-top: clamp(64px, 8vh, 86px);
    background-position: center center;
  }

  body[data-page="home"] .ai-hero::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.91) 35%, rgba(255, 255, 255, 0.82) 72%, rgba(8, 16, 24, 0.08));
  }

  body[data-page="home"] .ai-hero .eyebrow {
    margin-bottom: 15px;
    font-size: 9px;
  }

  body[data-page="home"] .ai-hero .display {
    font-size: clamp(39px, 12vw, 55px);
    line-height: 0.99;
  }

  body[data-page="home"] .ai-hero .lead {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    font-size: 14px;
    line-height: 1.48;
  }

  body[data-page="home"] .ai-hero .actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  body[data-page="home"] .ai-hero .button {
    width: 100%;
  }

  body[data-page="home"] .ai-hero .hero-strip {
    display: none;
  }

  body[data-page="home"] .ai-hero .ai-studio-stage {
    width: calc(100vw - 12px);
    height: calc(100svh - 12px);
    border-radius: 24px;
  }

  .studio-modal-close {
    top: 12px;
    right: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] .ai-hero .ai-studio-stage,
  .studio-modal-backdrop {
    transition: none;
  }
}

/* INDEXBACK exact-scene revision: header continuity + visible AI studio. */
body[data-page="home"] .site-header,
body[data-page="home"] .site-header.is-scrolled {
  position: sticky;
  isolation: isolate;
  color: #1d1d1f;
  background: rgba(245, 247, 249, 0.34);
  border-bottom-color: rgba(255, 255, 255, 0.48);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.36);
  backdrop-filter: blur(18px) saturate(1.28);
  -webkit-backdrop-filter: blur(18px) saturate(1.28);
}

body[data-page="home"] .site-header.is-scrolled {
  background: rgba(245, 247, 249, 0.46);
  border-bottom-color: rgba(255, 255, 255, 0.58);
  box-shadow: 0 8px 30px rgba(20, 32, 44, 0.08);
}

body[data-page="home"] .site-header::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: url("../img/hero-home-indexback-exact-v5.png");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: max(100vw, 187.45svh) auto;
  background-attachment: fixed;
  content: "";
  opacity: 0.34;
  pointer-events: none;
}

body[data-page="home"] .site-header .container.header-inner {
  position: relative;
  z-index: 1;
}

body[data-page="home"] .ai-hero {
  position: relative;
  min-height: 0;
  display: block;
  margin-top: calc(-1 * var(--header-height));
  padding: 0 0 clamp(78px, 9vw, 132px);
  isolation: isolate;
  overflow: clip;
  background: var(--canvas);
}

body[data-page="home"] .ai-hero::before {
  position: absolute;
  z-index: -2;
  top: 0;
  right: 0;
  left: 0;
  height: 100svh;
  background-color: #dfe6ec;
  background-image: url("../img/hero-home-indexback-exact-v5.png");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  content: "";
  pointer-events: none;
}

body[data-page="home"] .ai-hero::after {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  left: 0;
  height: 100svh;
  background:
    radial-gradient(ellipse 51% 61% at 50% 52%, rgba(255, 255, 255, 0.2), transparent 76%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 74%, rgba(242, 242, 244, 0.16));
  content: "";
  pointer-events: none;
}

body[data-page="home"] .ai-hero > .container {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, 1500px);
  max-width: none;
  margin-inline: auto;
}

body[data-page="home"] .ai-hero .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  justify-items: center;
  align-items: start;
}

body[data-page="home"] .ai-hero .hero-copy {
  width: min(100%, 1000px);
  min-height: 100svh;
  display: flex;
  margin: 0 auto;
  padding: calc(var(--header-height) + clamp(46px, 7vh, 86px)) clamp(12px, 4vw, 58px) clamp(42px, 7vh, 78px);
  align-self: auto;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

body[data-page="home"] .ai-hero .eyebrow {
  margin-bottom: clamp(16px, 2vw, 26px);
  color: rgba(25, 28, 32, 0.65);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-shadow: 0 1px 18px rgba(255, 255, 255, 0.92);
}

body[data-page="home"] .ai-hero .display {
  max-width: 1000px;
  margin-inline: auto;
  color: #151719;
  font-size: clamp(48px, 5.35vw, 82px);
  font-weight: 660;
  letter-spacing: -0.062em;
  line-height: 0.98;
  text-wrap: balance;
  text-shadow: 0 2px 32px rgba(255, 255, 255, 0.9);
}

body[data-page="home"] .ai-hero .lead {
  max-width: 820px;
  margin: clamp(21px, 2.6vw, 32px) auto 0;
  color: rgba(36, 39, 44, 0.69);
  font-size: clamp(16px, 1.38vw, 20px);
  line-height: 1.54;
  text-wrap: balance;
  text-shadow: 0 1px 22px rgba(255, 255, 255, 0.96);
}

body[data-page="home"] .ai-hero .actions {
  margin-top: clamp(23px, 2.9vw, 36px);
  justify-content: center;
}

body[data-page="home"] .ai-hero .button {
  min-height: 52px;
  padding-inline: 23px;
  box-shadow: 0 12px 34px rgba(0, 91, 210, 0.2);
}

body[data-page="home"] .ai-hero .button-secondary {
  color: #0668d7;
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(255, 255, 255, 0.74);
  box-shadow: 0 12px 32px rgba(22, 31, 42, 0.08);
  backdrop-filter: blur(18px) saturate(1.25);
}

body[data-page="home"] .ai-hero .ai-studio-stage,
body.ai-studio-open[data-page="home"] .ai-hero .ai-studio-stage {
  position: relative !important;
  z-index: 2;
  top: auto;
  left: auto;
  width: min(1180px, 100%);
  height: auto;
  min-height: 700px;
  margin: clamp(84px, 10vw, 146px) auto 0 !important;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: none !important;
  scroll-margin-top: calc(var(--header-height) + 28px);
  transition: --studio-accent 620ms ease;
}

body[data-page="home"] .ai-hero .hero-strip {
  max-width: 1180px;
  margin: 28px auto 0;
  padding: 10px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 15, 16, 0.07);
  border-radius: 24px;
  box-shadow: 0 18px 54px rgba(16, 28, 40, 0.07);
  backdrop-filter: blur(22px) saturate(1.2);
}

body[data-page="home"] .ai-hero .hero-strip-item {
  padding: 12px 18px;
}

body[data-page="home"] .ai-hero .hero-strip-item strong {
  color: rgba(20, 22, 25, 0.86);
}

body[data-page="home"] .ai-hero .hero-strip-item span {
  color: rgba(31, 34, 38, 0.6);
}

.studio-modal-backdrop,
.studio-modal-close {
  display: none !important;
}

@media (max-width: 820px) {
  body[data-page="home"] .site-header::before {
    background-size: max(100vw, 187.45svh) auto;
  }

  body[data-page="home"] .ai-hero > .container {
    width: min(100% - 28px, 1500px);
  }

  body[data-page="home"] .ai-hero .hero-copy {
    padding-inline: clamp(4px, 3vw, 24px);
  }

  body[data-page="home"] .ai-hero .display {
    font-size: clamp(43px, 10.5vw, 68px);
  }

  body[data-page="home"] .ai-hero .lead {
    max-width: 660px;
    font-size: clamp(15px, 2.5vw, 18px);
  }

  body[data-page="home"] .ai-hero .ai-studio-stage,
  body.ai-studio-open[data-page="home"] .ai-hero .ai-studio-stage {
    width: 100%;
    min-height: 680px;
    margin-top: clamp(68px, 12vw, 104px) !important;
  }
}

@media (max-width: 560px) {
  body[data-page="home"] .site-header::before {
    opacity: 0.24;
  }

  body[data-page="home"] .ai-hero::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.72) 32%, rgba(255, 255, 255, 0.74) 76%, rgba(242, 242, 244, 0.08));
  }

  body[data-page="home"] .ai-hero .hero-copy {
    padding-top: calc(var(--header-height) + clamp(34px, 6vh, 58px));
  }

  body[data-page="home"] .ai-hero .eyebrow {
    margin-bottom: 15px;
    font-size: 9px;
  }

  body[data-page="home"] .ai-hero .display {
    font-size: clamp(39px, 12vw, 55px);
    line-height: 0.99;
  }

  body[data-page="home"] .ai-hero .lead {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    font-size: 14px;
    line-height: 1.48;
  }

  body[data-page="home"] .ai-hero .actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  body[data-page="home"] .ai-hero .button {
    width: 100%;
  }

  body[data-page="home"] .ai-hero .ai-studio-stage,
  body.ai-studio-open[data-page="home"] .ai-hero .ai-studio-stage {
    min-height: 620px;
    margin-top: 58px !important;
    border-radius: 26px;
  }

  body[data-page="home"] .ai-hero .hero-strip {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] .ai-hero .ai-studio-stage {
    transition: none;
  }
}

/* Mobile crop configuration for the exact INDEXBACK scene. */
@media (max-width: 820px) {
  body[data-page="home"] .site-header::before {
    background-image: none;
    background-color: rgba(244, 247, 249, 0.4);
  }

  body[data-page="home"] .ai-hero::before {
    background-image:
      url("../img/hero-home-indexback-exact-v5.png"),
      url("../img/hero-home-indexback-exact-v5.png");
    background-position:
      left top,
      right top;
    background-repeat: no-repeat;
    background-size:
      auto 100svh,
      auto 100svh;
  }

  body[data-page="home"] .ai-hero::after {
    background:
      linear-gradient(90deg, transparent 0 15%, rgba(255, 255, 255, 0.5) 31%, rgba(255, 255, 255, 0.9) 48%, rgba(255, 255, 255, 0.9) 52%, rgba(255, 255, 255, 0.5) 69%, transparent 85%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.38) 66%, rgba(242, 242, 244, 0.08));
  }

  body[data-page="home"] .ai-hero .hero-copy {
    width: min(100%, 690px);
    min-height: 100svh;
  }
}

@media (max-width: 560px) {
  body[data-page="home"] .ai-hero::before {
    background-position:
      9% top,
      91% top;
    background-size:
      auto 100svh,
      auto 100svh;
    opacity: 0.9;
  }

  body[data-page="home"] .ai-hero::after {
    background:
      linear-gradient(90deg, transparent 0 10%, rgba(255, 255, 255, 0.62) 25%, rgba(255, 255, 255, 0.94) 43%, rgba(255, 255, 255, 0.94) 57%, rgba(255, 255, 255, 0.62) 75%, transparent 90%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.44) 68%, rgba(242, 242, 244, 0.1));
  }

  body[data-page="home"] .ai-hero .hero-copy {
    width: 100%;
    padding-right: 8px;
    padding-left: 8px;
  }

  body[data-page="home"] .ai-hero .display {
    max-width: 430px;
    font-size: clamp(36px, 11.3vw, 51px);
  }

  body[data-page="home"] .ai-hero .lead {
    max-width: 410px;
  }

  body[data-page="home"] .ai-hero .ai-studio-stage,
  body.ai-studio-open[data-page="home"] .ai-hero .ai-studio-stage {
    width: calc(100vw - 20px);
    min-height: 620px;
    margin-inline: calc(50% - 50vw + 10px) !important;
  }
}

@media (max-width: 390px) {
  body[data-page="home"] .ai-hero::before {
    background-position:
      10% top,
      90% top;
  }

  body[data-page="home"] .ai-hero .display {
    font-size: clamp(34px, 10.8vw, 43px);
  }

  body[data-page="home"] .ai-hero .lead {
    font-size: 13px;
    -webkit-line-clamp: 4;
  }

  body[data-page="home"] .ai-hero .button {
    min-height: 48px;
  }
}

/* Project cards: real application imagery and accessible lightbox. */
.project-card.has-project-media {
  background-image: none !important;
}

.project-media-trigger {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  color: inherit;
  background: #111214;
  border: 0;
  cursor: zoom-in;
}

.project-media-trigger picture,
.project-media-trigger img {
  display: block;
  width: 100%;
  height: 100%;
}

.project-media-trigger img {
  object-fit: cover;
  transition: transform 700ms var(--ease), filter 420ms ease;
}

.project-card:nth-child(1) .project-media-trigger img {
  object-position: center 44%;
}

.project-card:nth-child(2) .project-media-trigger img {
  object-position: center 44%;
}

.project-card:nth-child(3) .project-media-trigger img {
  object-position: center 48%;
}

.project-card:nth-child(4) .project-media-trigger img {
  object-position: center 46%;
}

.project-card.has-project-media::before {
  z-index: 1;
  background: linear-gradient(180deg, rgba(7, 8, 10, 0.02) 24%, rgba(7, 8, 10, 0.18) 48%, rgba(7, 8, 10, 0.9) 100%);
}

.project-card.has-project-media h2,
.project-card.has-project-media > p {
  pointer-events: none;
}

.project-card.has-project-media:hover .project-media-trigger img,
.project-card.has-project-media:focus-within .project-media-trigger img {
  transform: scale(1.035);
}

.project-media-trigger:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -7px;
}

body.project-lightbox-open {
  overflow: hidden;
}

.project-lightbox {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: grid;
  padding: clamp(16px, 3vw, 34px);
  place-items: center;
  background: rgba(5, 5, 6, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  transition: opacity 180ms ease;
}

.project-lightbox[hidden] {
  display: none;
}

.project-lightbox.is-open {
  opacity: 1;
}

.project-lightbox-panel {
  position: relative;
  width: min(100%, 1040px);
  max-height: calc(100svh - 32px);
  overflow: hidden;
  background: #111214;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: clamp(20px, 3vw, 30px);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.46);
}

.project-lightbox figure {
  display: grid;
  max-height: calc(100svh - 32px);
  margin: 0;
  grid-template-rows: minmax(0, 1fr) auto;
}

.project-lightbox img {
  display: block;
  width: 100%;
  max-height: calc(100svh - 118px);
  object-fit: contain;
  background: #09090a;
}

.project-lightbox figcaption {
  padding: 17px 64px 18px 20px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.5;
}

[dir="rtl"] .project-lightbox figcaption {
  padding-right: 20px;
  padding-left: 64px;
  text-align: right;
}

.project-lightbox-close {
  position: absolute;
  z-index: 2;
  top: 12px;
  inset-inline-end: 12px;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  color: #fff;
  background: rgba(15, 15, 16, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.24);
  cursor: pointer;
  font: 300 28px/1 Arial, sans-serif;
  place-items: center;
}

.project-lightbox-close:hover,
.project-lightbox-close:focus-visible {
  background: rgba(255, 255, 255, 0.18);
}

.project-lightbox-close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 560px) {
  .project-lightbox {
    padding: 10px;
  }

  .project-lightbox-panel,
  .project-lightbox figure {
    max-height: calc(100svh - 20px);
  }

  .project-lightbox img {
    max-height: calc(100svh - 112px);
  }

  .project-lightbox figcaption {
    padding: 14px 58px 15px 16px;
    font-size: 13px;
  }

  [dir="rtl"] .project-lightbox figcaption {
    padding-right: 16px;
    padding-left: 58px;
  }

  .project-lightbox-close {
    top: 10px;
    inset-inline-end: 10px;
    width: 40px;
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-media-trigger img,
  .project-lightbox {
    transition: none;
  }
}

/* Shared contact strip and social links. */
:root {
  --contact-strip-height: 32px;
}

.site-contact-strip {
  height: var(--contact-strip-height);
  flex: 0 0 var(--contact-strip-height);
  color: rgba(255, 255, 255, 0.82);
  background: rgba(17, 17, 19, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-contact-strip-inner {
  width: min(calc(100% - 48px), 1120px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-contact-phone,
.footer-contact-phone {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.site-contact-phone {
  min-height: 28px;
  font-size: 11px;
  transition: color 180ms ease;
}

.site-contact-phone:hover,
.site-contact-phone:focus-visible {
  color: #fff;
}

.contact-phone-icon {
  display: inline-grid;
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1;
  place-items: center;
}

.contact-phone-label {
  color: rgba(255, 255, 255, 0.54);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.site-contact-phone strong {
  color: #fff;
  font-size: 11px;
  font-weight: 560;
  letter-spacing: 0.012em;
}

.site-contact-marquee {
  --marquee-travel: clamp(230px, 38vw, 560px);
  position: relative;
  min-width: 0;
  height: 100%;
  flex: 1 1 auto;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 91%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 91%, transparent 100%);
}

.site-contact-marquee-copy {
  position: absolute;
  top: 50%;
  inset-inline-start: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 10px;
  font-weight: 470;
  letter-spacing: 0.015em;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  transform: translate3d(0, -50%, 0);
  animation: contact-social-flow 16s linear infinite;
  will-change: transform, opacity;
}

.site-contact-marquee-short {
  display: none;
}

[dir="rtl"] .site-contact-marquee {
  -webkit-mask-image: linear-gradient(270deg, #000 0%, #000 91%, transparent 100%);
  mask-image: linear-gradient(270deg, #000 0%, #000 91%, transparent 100%);
}

[dir="rtl"] .site-contact-marquee-copy {
  animation-name: contact-social-flow-rtl;
}

@keyframes contact-social-flow {
  0% {
    opacity: 0;
    transform: translate3d(0, -50%, 0);
  }

  9% {
    opacity: 1;
  }

  88% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate3d(var(--marquee-travel), -50%, 0);
  }
}

@keyframes contact-social-flow-rtl {
  0% {
    opacity: 0;
    transform: translate3d(0, -50%, 0);
  }

  9% {
    opacity: 1;
  }

  88% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate3d(calc(-1 * var(--marquee-travel)), -50%, 0);
  }
}

.site-social-links {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.social-link {
  display: inline-grid;
  flex: 0 0 auto;
  color: currentColor;
  border-radius: 50%;
  place-items: center;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms var(--ease);
}

.site-social-links-header .social-link {
  width: 24px;
  height: 24px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.site-social-links-header {
  margin-inline-end: 16px;
}

.site-social-links-header .social-link:hover,
.site-social-links-header .social-link:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.social-link:focus-visible,
.site-contact-phone:focus-visible,
.footer-contact-phone:focus-visible {
  outline: 2px solid #58a6ff;
  outline-offset: 2px;
}

.social-glyph {
  position: relative;
  display: inline-grid;
  width: 14px;
  height: 14px;
  place-items: center;
}

.instagram-glyph {
  border: 1.6px solid currentColor;
  border-radius: 4px;
}

.instagram-glyph::before {
  width: 5px;
  height: 5px;
  border: 1.4px solid currentColor;
  border-radius: 50%;
  content: "";
}

.instagram-glyph::after {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 2px;
  height: 2px;
  background: currentColor;
  border-radius: 50%;
  content: "";
}

.linkedin-glyph {
  font: 700 12px/1 Arial, sans-serif;
  letter-spacing: -0.08em;
}

.footer-contact-links {
  display: flex;
  margin-top: 28px;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 22px;
}

.footer-contact-phone {
  color: #f5f5f7;
  font-size: 14px;
  font-weight: 590;
  letter-spacing: 0.01em;
  transition: color 180ms ease;
}

.footer-contact-phone:hover,
.footer-contact-phone:focus-visible {
  color: #fff;
}

.footer-contact-phone .contact-phone-icon {
  width: 24px;
  height: 24px;
  color: #f5f5f7;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.footer-social-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-social-icon {
  display: inline-grid;
  width: 24px;
  height: 24px;
  color: #f5f5f7;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  font: 600 13px/1 Arial, sans-serif;
  place-items: center;
}

.site-social-links-footer .social-link {
  width: 34px;
  height: 34px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.site-social-links-footer .social-link:hover,
.site-social-links-footer .social-link:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.24);
  transform: translateY(-2px);
}

.mobile-panel {
  inset: var(--header-height) 0 0;
  max-height: calc(100dvh - var(--header-height));
}

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

body[data-page="home"] .ai-hero {
  margin-top: calc(-1 * var(--header-height));
}

body[data-page="home"] .ai-hero .hero-copy {
  padding-top: calc(var(--header-height) + clamp(46px, 7vh, 86px));
}

body[data-page="home"] .ai-hero .ai-studio-stage {
  scroll-margin-top: calc(var(--header-height) + 28px);
}

@media (max-width: 560px) {
  :root {
    --contact-strip-height: 30px;
  }

  .site-contact-strip-inner {
    width: min(calc(100% - 24px), 1120px);
    gap: 10px;
  }

  .contact-phone-label {
    display: none;
  }

  .site-contact-phone,
  .site-contact-phone strong {
    font-size: 10.5px;
  }

  .site-social-links-header {
    gap: 6px;
    margin-inline-end: 8px;
  }

  .site-contact-marquee-long {
    display: none;
  }

  .site-contact-marquee {
    --marquee-travel: clamp(90px, 24vw, 150px);
  }

  .site-contact-marquee-short {
    display: block;
  }

  .site-contact-marquee-copy {
    font-size: 9.5px;
    animation-duration: 13.5s;
  }

  .site-social-links-header .social-link {
    width: 23px;
    height: 23px;
  }

  .footer-contact-links {
    align-items: flex-start;
    flex-direction: column;
  }

  body[data-page="home"] .ai-hero .hero-copy {
    padding-top: calc(var(--header-height) + clamp(34px, 6vh, 58px));
  }
}

@media (max-width: 390px) {
  .site-contact-strip-inner {
    gap: 6px;
  }

  .site-contact-phone .contact-phone-icon {
    display: none;
  }

  .site-contact-phone,
  .site-contact-phone strong {
    font-size: 9.5px;
  }

  .site-social-links-header {
    gap: 4px;
    margin-inline-end: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-contact-marquee-copy {
    animation: none;
    opacity: 1;
    transform: translate3d(0, -50%, 0);
  }
}

/* Global presence — homepage */
.global-presence-section {
  position: relative;
  overflow: hidden;
  padding-block: clamp(88px, 10vw, 148px);
  isolation: isolate;
}

.global-presence-section::before,
.global-presence-section::after {
  position: absolute;
  z-index: -1;
  width: clamp(340px, 42vw, 700px);
  aspect-ratio: 1;
  content: "";
  pointer-events: none;
  border-radius: 50%;
  filter: blur(12px);
}

.global-presence-section::before {
  top: -48%;
  right: -16%;
  background: radial-gradient(circle, rgba(193, 198, 205, 0.12), transparent 68%);
}

.global-presence-section::after {
  bottom: -58%;
  left: -20%;
  background: radial-gradient(circle, rgba(111, 116, 124, 0.1), transparent 68%);
}

.global-presence-head {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr);
  align-items: end;
  gap: clamp(28px, 6vw, 86px);
  margin-bottom: clamp(44px, 6vw, 76px);
}

.global-presence-head .eyebrow {
  margin-bottom: 18px;
  color: #aeb1b6;
}

.global-presence-head .section-title,
.global-presence-head .lead {
  margin: 0;
}

.global-presence-head .section-title {
  max-width: 760px;
  color: #f5f5f7;
  text-wrap: balance;
}

.global-presence-head .lead {
  max-width: 520px;
  color: #a6a8ad;
  font-size: clamp(16px, 1.55vw, 20px);
}

.global-map-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: clamp(28px, 3.5vw, 46px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), transparent 42%),
    #111114;
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.34);
}

.global-map-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
  min-height: 360px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 63% 24%, rgba(223, 226, 231, 0.11), transparent 26%),
    #0b0b0d;
  background-size: 8.333% 25%, 8.333% 25%, auto, auto;
}

.global-map-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, #0b0b0d 0%, transparent 9%, transparent 91%, #0b0b0d 100%);
}

.global-map-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.72;
  filter: brightness(1.8) contrast(0.82);
}

.global-map-marker {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #f5f5f7;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.global-map-marker > i {
  position: relative;
  display: block;
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border: 2px solid #0b0b0d;
  border-radius: 50%;
  background: #f3f3f5;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.55), 0 0 18px rgba(255, 255, 255, 0.72);
}

.global-map-marker > i::before,
.global-map-marker > i::after {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 32px;
  height: 32px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.28);
  animation: global-marker-pulse 3.6s ease-out infinite;
}

.global-map-marker > i::after {
  animation-delay: 1.8s;
}

.global-map-marker b {
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(14, 14, 16, 0.78);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.global-map-marker.marker-germany {
  top: 20.8%;
  left: 52.6%;
  flex-direction: row-reverse;
  transform: translate(-100%, -50%);
}

.global-map-marker.marker-turkiye {
  top: 28%;
  left: 58.2%;
  transform: translate(0, -50%);
}

.global-country-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.global-country-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  min-width: 0;
  padding: clamp(22px, 3vw, 34px);
  gap: 16px;
}

.global-country-card + .global-country-card {
  border-inline-start: 1px solid rgba(255, 255, 255, 0.1);
}

.global-country-code {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #111114;
  background: linear-gradient(145deg, #f5f5f7, #a4a7ac);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.08em;
}

.global-country-card h3,
.global-country-card p {
  margin: 0;
}

.global-country-card h3 {
  color: #f5f5f7;
  font-size: clamp(17px, 1.65vw, 21px);
  line-height: 1.2;
}

.global-country-card p {
  margin-top: 4px;
  color: #92949a;
  font-size: 13px;
  line-height: 1.45;
}

@keyframes global-marker-pulse {
  0% {
    opacity: 0.85;
    transform: translate(-50%, -50%) scale(0.28);
  }
  72%,
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.18);
  }
}

@media (max-width: 820px) {
  .global-presence-head {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .global-presence-head .lead {
    max-width: 680px;
  }

  .global-map-visual {
    min-height: 300px;
  }

  .global-map-marker {
    font-size: 11px;
  }

  .global-map-marker b {
    padding: 5px 8px;
  }

  .global-country-card {
    grid-template-columns: 36px 1fr;
    padding: 22px 18px;
    gap: 12px;
  }

  .global-country-code {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }
}

@media (max-width: 620px) {
  .global-presence-section {
    padding-block: 78px;
  }

  .global-presence-head {
    margin-bottom: 34px;
  }

  .global-map-card {
    border-radius: 26px;
  }

  .global-map-visual {
    min-height: 245px;
  }

  .global-map-marker b {
    display: none;
  }

  .global-map-marker.marker-germany {
    transform: translate(-50%, -50%);
  }

  .global-map-marker.marker-turkiye {
    transform: translate(-50%, -50%);
  }

  .global-country-list {
    grid-template-columns: 1fr;
  }

  .global-country-card {
    padding: 20px;
  }

  .global-country-card + .global-country-card {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-inline-start: 0;
  }
}

@media (max-width: 390px) {
  .global-map-visual {
    min-height: 210px;
  }

  .global-presence-head .lead {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .global-map-marker > i::before,
  .global-map-marker > i::after {
    animation: none;
    opacity: 0;
  }
}

/* Global presence — Lumina metallic network */
.global-map-visual::before {
  position: absolute;
  z-index: 1;
  inset: -40% -24%;
  content: "";
  pointer-events: none;
  background: linear-gradient(108deg, transparent 38%, rgba(255, 255, 255, 0.09) 49%, transparent 60%);
  transform: translate3d(-44%, 0, 0);
  animation: global-map-sheen 11s var(--ease) infinite;
}

.global-map-visual::after {
  z-index: 1;
}

.global-map-image {
  z-index: 0;
  opacity: 0.76;
  filter: grayscale(1) brightness(2.05) contrast(0.76) drop-shadow(0 14px 30px rgba(0, 0, 0, 0.28));
  transform-origin: 58% 28%;
  animation: global-map-breathe 9s ease-in-out infinite;
}

.global-map-routes {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.global-route-track,
.global-route-light {
  fill: none;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.global-route-track {
  stroke: rgba(210, 214, 220, 0.2);
  stroke-width: 1;
}

.global-route-light {
  stroke: rgba(248, 248, 250, 0.92);
  stroke-width: 1.35;
  stroke-dasharray: 3 17;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.72));
  animation: global-route-travel 8s linear infinite;
}

.global-route-light:nth-of-type(2n) {
  animation-delay: -2.2s;
}

.global-route-light:nth-of-type(3n) {
  animation-delay: -4.6s;
}

.global-map-marker,
.global-map-marker.marker-germany,
.global-map-marker.marker-turkiye {
  z-index: 3;
  display: block;
  width: 0;
  height: 0;
  gap: 0;
  transform: translate(-50%, -50%);
}

.global-map-marker > i {
  position: absolute;
  top: -5px;
  left: -5px;
  width: 10px;
  height: 10px;
  margin: 0;
}

.global-map-marker b {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  min-width: 34px;
  height: 28px;
  padding: 0 9px;
  place-items: center;
  color: #f4f4f6;
  border-color: rgba(255, 255, 255, 0.16);
  background: linear-gradient(145deg, rgba(51, 52, 56, 0.94), rgba(14, 14, 16, 0.9));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  direction: ltr;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.global-map-marker.marker-netherlands {
  top: 19.5%;
  left: 51%;
}

.global-map-marker.marker-netherlands b {
  transform: translate(-47px, -38px);
}

.global-map-marker.marker-germany {
  top: 21.5%;
  left: 53.1%;
}

.global-map-marker.marker-germany b {
  transform: translate(13px, -32px);
}

.global-map-marker.marker-france {
  top: 24.8%;
  left: 50.2%;
}

.global-map-marker.marker-france b {
  transform: translate(-52px, 10px);
}

.global-map-marker.marker-austria {
  top: 24.4%;
  left: 54.5%;
}

.global-map-marker.marker-austria b {
  transform: translate(12px, 14px);
}

.global-map-marker.marker-turkiye {
  top: 28.1%;
  left: 58.4%;
}

.global-map-marker.marker-turkiye > i {
  top: -7px;
  left: -7px;
  width: 14px;
  height: 14px;
  border-width: 3px;
  background: linear-gradient(145deg, #ffffff, #a9adb3);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.75), 0 0 26px rgba(255, 255, 255, 0.95);
}

.global-map-marker.marker-turkiye b {
  min-width: 40px;
  color: #101012;
  background: linear-gradient(145deg, #ffffff, #aeb2b8);
  transform: translate(14px, 12px);
}

.global-map-marker.marker-uae {
  top: 36.8%;
  left: 65.4%;
}

.global-map-marker.marker-uae b {
  transform: translate(13px, 10px);
}

.global-country-card {
  position: relative;
  transition: background-color 260ms ease;
}

.global-country-card:hover {
  background: rgba(255, 255, 255, 0.035);
}

.global-country-card:nth-child(3n + 1) {
  border-inline-start: 0;
}

.global-country-card:nth-child(n + 4) {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes global-route-travel {
  to {
    stroke-dashoffset: -80;
  }
}

@keyframes global-map-breathe {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(0.996);
  }
  50% {
    opacity: 0.82;
    transform: scale(1.006);
  }
}

@keyframes global-map-sheen {
  0%,
  18% {
    opacity: 0;
    transform: translate3d(-44%, 0, 0);
  }
  42% {
    opacity: 1;
  }
  70%,
  100% {
    opacity: 0;
    transform: translate3d(44%, 0, 0);
  }
}

@media (max-width: 620px) {
  .global-map-visual {
    min-height: 0;
    aspect-ratio: 2 / 1;
  }

  .global-map-marker > i {
    top: -3px;
    left: -3px;
    width: 6px;
    height: 6px;
    border-width: 1px;
  }

  .global-map-marker.marker-turkiye > i {
    top: -4px;
    left: -4px;
    width: 8px;
    height: 8px;
    border-width: 2px;
  }

  .global-country-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .global-country-card,
  .global-country-card + .global-country-card,
  .global-country-card:nth-child(3n + 1),
  .global-country-card:nth-child(n + 4) {
    border-top: 0;
    border-inline-start: 0;
  }

  .global-country-card:nth-child(even) {
    border-inline-start: 1px solid rgba(255, 255, 255, 0.1);
  }

  .global-country-card:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .global-country-card {
    grid-template-columns: 32px minmax(0, 1fr);
    padding: 17px 14px;
    gap: 10px;
  }

  .global-country-code {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    font-size: 10px;
  }

  .global-country-card h3 {
    font-size: 15px;
  }

  .global-country-card p {
    font-size: 11px;
  }
}

@media (max-width: 390px) {
  .global-country-list {
    grid-template-columns: 1fr;
  }

  .global-country-card,
  .global-country-card:nth-child(even),
  .global-country-card:nth-child(n + 3) {
    border-inline-start: 0;
  }

  .global-country-card + .global-country-card {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .global-map-image,
  .global-map-visual::before,
  .global-route-light {
    animation: none;
  }
}

/* Global presence — brighter map and animated flag badges */
.global-map-card {
  border-color: rgba(225, 228, 233, 0.2);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), transparent 38%),
    linear-gradient(180deg, #252a31 0%, #15181d 72%);
  box-shadow: 0 38px 110px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.global-map-visual {
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 57% 26%, rgba(238, 241, 245, 0.25), transparent 27%),
    radial-gradient(circle at 22% 40%, rgba(124, 136, 151, 0.18), transparent 34%),
    linear-gradient(145deg, #30363f 0%, #1a1e24 62%, #252b33 100%);
  background-size: 8.333% 25%, 8.333% 25%, auto, auto, auto;
}

.global-map-visual::after {
  background: linear-gradient(90deg, rgba(24, 28, 34, 0.84) 0%, transparent 9%, transparent 91%, rgba(24, 28, 34, 0.84) 100%);
}

.global-map-image {
  opacity: 0.9;
  filter: grayscale(1) brightness(2.48) contrast(0.72) drop-shadow(0 16px 34px rgba(0, 0, 0, 0.32));
}

.global-route-track {
  stroke: rgba(231, 234, 239, 0.36);
}

.global-route-light {
  stroke: rgba(255, 255, 255, 0.98);
  stroke-width: 1.55;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.92));
}

.global-country-list {
  background: rgba(12, 14, 17, 0.62);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.global-map-marker b {
  display: flex;
  width: 58px;
  min-width: 58px;
  height: 34px;
  padding: 4px 6px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.34);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.23), rgba(14, 16, 19, 0.9));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 0 20px rgba(214, 220, 228, 0.15);
  animation: global-flag-float 4.8s ease-in-out infinite;
}

.global-marker-flag {
  width: 25px;
  height: 18px;
  flex: 0 0 auto;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 4px;
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.34);
}

.global-marker-code {
  color: #f7f7f8;
  font-size: 9px;
  font-weight: 760;
  letter-spacing: 0.08em;
  line-height: 1;
}

.global-map-marker.marker-netherlands b {
  transform: translate(-64px, -43px);
  animation-delay: -1.6s;
}

.global-map-marker.marker-germany b {
  transform: translate(17px, -39px);
  animation-delay: -3.2s;
}

.global-map-marker.marker-france b {
  transform: translate(-65px, 9px);
  animation-delay: -0.8s;
}

.global-map-marker.marker-austria b {
  transform: translate(-35px, 20px);
  animation-delay: -2.4s;
}

.global-map-marker.marker-turkiye b {
  width: 64px;
  min-width: 64px;
  height: 36px;
  transform: translate(18px, 14px);
  animation-delay: -4s;
}

.global-map-marker.marker-turkiye .global-marker-code {
  color: #15171a;
}

.global-map-marker.marker-uae b {
  transform: translate(15px, 12px);
  animation-delay: -1.2s;
}

@keyframes global-flag-float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -5px;
  }
}

@media (max-width: 620px) {
  .global-map-marker b {
    display: flex;
    width: 28px;
    min-width: 28px;
    height: 21px;
    padding: 2px;
    border-radius: 7px;
  }

  .global-marker-flag {
    width: 22px;
    height: 15px;
    border-radius: 3px;
  }

  .global-marker-code {
    display: none;
  }

  .global-map-marker.marker-netherlands b {
    transform: translate(-39px, -29px);
  }

  .global-map-marker.marker-germany b {
    transform: translate(8px, -30px);
  }

  .global-map-marker.marker-france b {
    transform: translate(-42px, 5px);
  }

  .global-map-marker.marker-austria b {
    transform: translate(-13px, 15px);
  }

  .global-map-marker.marker-turkiye b {
    width: 30px;
    min-width: 30px;
    height: 22px;
    transform: translate(12px, 1px);
  }

  .global-map-marker.marker-uae b {
    transform: translate(11px, 17px);
  }

  @keyframes global-flag-float {
    0%,
    100% {
      translate: 0 0;
    }
    50% {
      translate: 0 -3px;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .global-map-marker b {
    animation: none;
  }
}

/* Global presence — interactive representation drawer */
body.global-country-panel-open {
  overflow: hidden;
}

.global-map-marker.is-interactive {
  cursor: pointer;
}

.global-map-marker.is-interactive b {
  transition: filter 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.global-map-marker.is-interactive:hover b,
.global-map-marker.is-interactive:focus-visible b,
.global-map-marker.is-active b {
  border-color: rgba(255, 255, 255, 0.72);
  filter: brightness(1.18);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.52), 0 0 28px rgba(232, 235, 240, 0.34);
}

.global-map-marker.is-interactive:focus-visible {
  outline: none;
}

.global-map-marker.is-interactive:focus-visible b {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}

.global-map-marker.is-active > i {
  background: #ffffff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.68), 0 0 34px rgba(255, 255, 255, 1);
}

@media (min-width: 621px) {
  .global-map-marker.is-interactive::after {
    position: absolute;
    z-index: 5;
    top: 32px;
    left: 50%;
    max-width: 180px;
    padding: 7px 10px;
    content: attr(data-tooltip);
    color: #f7f7f8;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    background: rgba(9, 11, 14, 0.9);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 7px) scale(0.96);
    transition: opacity 180ms ease, transform 220ms var(--ease);
    direction: inherit;
    font-size: 11px;
    font-weight: 650;
    line-height: 1.25;
    text-align: center;
    white-space: nowrap;
  }

  .global-map-marker.is-interactive:hover::after,
  .global-map-marker.is-interactive:focus-visible::after {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
}

.global-map-visual[data-active-country] .global-route-track,
.global-map-visual[data-active-country] .global-route-light {
  opacity: 0.12;
  transition: opacity 240ms ease, stroke-width 240ms ease;
}

.global-map-visual[data-active-country="TR"] .global-route-track,
.global-map-visual[data-active-country="TR"] .global-route-light,
.global-map-visual[data-active-country="DE"] [data-country="DE"],
.global-map-visual[data-active-country="AT"] [data-country="AT"],
.global-map-visual[data-active-country="NL"] [data-country="NL"],
.global-map-visual[data-active-country="FR"] [data-country="FR"],
.global-map-visual[data-active-country="AE"] [data-country="AE"] {
  opacity: 1;
}

.global-map-visual[data-active-country="DE"] .global-route-light[data-country="DE"],
.global-map-visual[data-active-country="AT"] .global-route-light[data-country="AT"],
.global-map-visual[data-active-country="NL"] .global-route-light[data-country="NL"],
.global-map-visual[data-active-country="FR"] .global-route-light[data-country="FR"],
.global-map-visual[data-active-country="AE"] .global-route-light[data-country="AE"] {
  stroke-width: 2;
}

.global-country-panel[hidden] {
  display: none;
}

.global-country-panel {
  position: fixed;
  z-index: 1200;
  inset: 0;
  display: grid;
  justify-items: end;
  pointer-events: none;
}

.global-country-panel.is-open {
  pointer-events: auto;
}

.global-country-panel-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(5, 6, 8, 0.58);
  opacity: 0;
  cursor: default;
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  transition: opacity 280ms ease;
}

.global-country-panel.is-open .global-country-panel-backdrop {
  opacity: 1;
}

.global-country-drawer {
  position: relative;
  z-index: 1;
  width: min(100%, 470px);
  height: 100%;
  overflow-y: auto;
  color: #f5f5f7;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(180deg, rgba(39, 43, 50, 0.98), rgba(14, 16, 19, 0.99) 52%);
  box-shadow: -34px 0 90px rgba(0, 0, 0, 0.42);
  opacity: 0.7;
  transform: translate3d(104%, 0, 0);
  transition: transform 320ms var(--ease), opacity 260ms ease;
  overscroll-behavior: contain;
}

.global-country-panel.is-open .global-country-drawer {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.global-country-panel-banner {
  --country-accent: 166, 173, 183;
  position: relative;
  display: flex;
  min-height: 230px;
  overflow: hidden;
  padding: 34px;
  align-items: flex-end;
  gap: 18px;
  background:
    radial-gradient(circle at 18% 24%, rgba(var(--country-accent), 0.52), transparent 34%),
    linear-gradient(145deg, #383e47, #171a1f 68%);
}

.global-country-panel-banner.country-tr { --country-accent: 205, 48, 65; }
.global-country-panel-banner.country-de { --country-accent: 218, 173, 45; }
.global-country-panel-banner.country-at { --country-accent: 213, 69, 78; }
.global-country-panel-banner.country-nl { --country-accent: 212, 83, 67; }
.global-country-panel-banner.country-fr { --country-accent: 79, 107, 170; }
.global-country-panel-banner.country-ae { --country-accent: 48, 143, 105; }

.global-country-panel-visual {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background: url("../img/global/world-map-equirectangular.svg") 54% 46% / 155% auto no-repeat;
  filter: grayscale(1) brightness(2.5);
  transform: scale(1.04);
}

.global-country-panel-banner::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, transparent 40%, rgba(8, 10, 13, 0.76));
  background-size: 44px 44px, 44px 44px, auto;
}

.global-country-panel-flag,
.global-country-panel-code {
  position: relative;
  z-index: 1;
}

.global-country-panel-flag {
  width: 112px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.global-country-panel-code {
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  font-weight: 760;
  letter-spacing: 0.18em;
}

.global-country-panel-close {
  position: absolute;
  z-index: 3;
  top: 20px;
  right: 20px;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  color: #f5f5f7;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(11, 13, 16, 0.68);
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 180ms ease, transform 180ms ease;
}

.global-country-panel-close:hover,
.global-country-panel-close:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  transform: scale(1.05);
}

.global-country-panel-close span {
  margin-top: -2px;
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
}

.global-country-panel-content {
  padding: 34px clamp(24px, 4vw, 40px) 46px;
}

.global-country-panel-eyebrow,
.global-country-panel-role,
.global-country-panel-intro,
.global-country-panel-status p {
  margin: 0;
}

.global-country-panel-eyebrow {
  color: #aeb2b8;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.16em;
}

.global-country-panel-content h3 {
  margin: 10px 0 4px;
  color: #f7f7f8;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.global-country-panel-role {
  color: #c6c9ce;
  font-size: 15px;
  font-weight: 650;
}

.global-country-panel-intro {
  margin-top: 22px;
  color: #a9adb3;
  font-size: 15px;
  line-height: 1.65;
}

.global-country-panel-details {
  display: grid;
  margin: 28px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.global-country-panel-details > div {
  display: grid;
  grid-template-columns: minmax(82px, 0.34fr) 1fr;
  padding: 17px 0;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.global-country-panel-details dt,
.global-country-panel-details dd {
  margin: 0;
}

.global-country-panel-details dt {
  color: #81858c;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.global-country-panel-details dd {
  color: #d9dadd;
  font-size: 13px;
  line-height: 1.58;
  white-space: pre-line;
}

.global-country-panel-status {
  position: relative;
  overflow: hidden;
  margin-top: 28px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.045);
}

.global-country-panel-status small {
  display: block;
  margin-bottom: 8px;
  color: #d5d7da;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.global-country-panel-status p {
  color: #9fa3a9;
  font-size: 14px;
  line-height: 1.6;
}

.global-country-panel-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 28px;
  gap: 10px;
}

.global-country-panel-actions .button {
  min-height: 48px;
  padding: 12px 14px;
  justify-content: center;
  text-align: center;
}

.global-country-panel-actions .button-primary {
  color: #111317;
  background: linear-gradient(145deg, #ffffff, #b8bcc2);
}

.global-country-panel-actions .button-secondary {
  color: #f5f5f7;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.055);
}

.global-country-map-link {
  grid-column: 1 / -1;
  padding: 10px 0 0;
  color: #bfc2c7;
  font-size: 13px;
  font-weight: 650;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 4px;
}

[dir="rtl"] .global-country-panel-close {
  right: auto;
  left: 20px;
}

@media (max-width: 820px) {
  .global-country-panel {
    align-items: end;
    justify-items: stretch;
  }

  .global-country-drawer {
    width: 100%;
    height: auto;
    max-height: min(88svh, 760px);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-inline-start: 0;
    border-radius: 28px 28px 0 0;
    box-shadow: 0 -28px 80px rgba(0, 0, 0, 0.5);
    opacity: 0.8;
    transform: translate3d(0, 104%, 0);
  }

  .global-country-panel.is-open .global-country-drawer {
    transform: translate3d(0, 0, 0);
  }

  .global-country-panel-banner {
    min-height: 168px;
    padding: 26px 24px;
  }

  .global-country-panel-flag {
    width: 82px;
    border-radius: 12px;
  }

  .global-country-panel-content {
    padding: 26px 22px calc(30px + env(safe-area-inset-bottom));
  }

  .global-country-panel-content h3 {
    font-size: clamp(30px, 9vw, 42px);
  }
}

@media (max-width: 430px) {
  .global-country-panel-actions {
    grid-template-columns: 1fr;
  }

  .global-country-map-link {
    grid-column: auto;
  }

  .global-country-panel-details > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .global-country-panel-backdrop,
  .global-country-drawer,
  .global-map-marker.is-interactive b,
  .global-map-visual[data-active-country] .global-route-track,
  .global-map-visual[data-active-country] .global-route-light {
    transition: none;
  }
}

/* Editorial gallery experience */
.gallery-page {
  overflow: clip;
  background:
    radial-gradient(circle at 8% 10%, rgba(255, 255, 255, 0.96), transparent 30%),
    var(--paper);
}

.gallery-page-hero {
  padding-bottom: clamp(56px, 7vw, 92px);
}

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

.gallery-rail {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: clamp(24px, 3vw, 42px);
  padding: 26px 0 34px;
  gap: 48px;
  border-top: 1px solid rgba(18, 18, 20, 0.14);
}

.gallery-rail .eyebrow {
  margin-bottom: 9px;
}

.gallery-rail h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.gallery-rail > p {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

.gallery-collage {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(198, clamp(24px, 2.65vw, 42px));
  gap: clamp(12px, 1.6vw, 24px);
}

.gallery-tile {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-width: 0;
  padding: 0;
  color: #fff;
  border: 0;
  border-radius: clamp(20px, 2.2vw, 32px);
  background: #111214;
  box-shadow: 0 20px 54px rgba(13, 14, 16, 0.12);
  cursor: zoom-in;
  isolation: isolate;
  text-align: start;
}

.gallery-tile-01 {
  grid-column: 1 / 8;
  grid-row: 1 / 11;
}

.gallery-tile-02 {
  grid-column: 8 / 13;
  grid-row: 1 / 9;
}

.gallery-tile-03 {
  grid-column: 8 / 13;
  grid-row: 9 / 19;
}

.gallery-tile-04 {
  grid-column: 1 / 8;
  grid-row: 11 / 19;
}

.gallery-tile-05 {
  grid-column: 1 / 5;
  grid-row: 19 / 31;
}

.gallery-tile-06 {
  grid-column: 5 / 9;
  grid-row: 19 / 31;
}

.gallery-tile-07 {
  grid-column: 9 / 13;
  grid-row: 19 / 31;
}

.gallery-tile-08 {
  grid-column: 1 / 7;
  grid-row: 31 / 43;
}

.gallery-tile-09 {
  grid-column: 7 / 13;
  grid-row: 31 / 43;
}

.gallery-tile-10 {
  grid-column: 1 / 5;
  grid-row: 43 / 55;
}

.gallery-tile-11 {
  grid-column: 5 / 9;
  grid-row: 43 / 55;
}

.gallery-tile-12 {
  grid-column: 9 / 13;
  grid-row: 43 / 55;
}

.gallery-tile-13 {
  grid-column: 1 / 7;
  grid-row: 55 / 67;
}

.gallery-tile-14 {
  grid-column: 7 / 13;
  grid-row: 55 / 67;
}

.gallery-tile-15 {
  grid-column: 1 / 5;
  grid-row: 67 / 79;
}

.gallery-tile-16 {
  grid-column: 5 / 9;
  grid-row: 67 / 79;
}

.gallery-tile-17 {
  grid-column: 9 / 13;
  grid-row: 67 / 79;
}

.gallery-tile-18 {
  grid-column: 1 / 7;
  grid-row: 79 / 91;
}

.gallery-tile-19 {
  grid-column: 7 / 13;
  grid-row: 79 / 91;
}

.gallery-tile-20 { grid-column: 1 / 5; grid-row: 91 / 103; }
.gallery-tile-21 { grid-column: 5 / 9; grid-row: 91 / 103; }
.gallery-tile-22 { grid-column: 9 / 13; grid-row: 91 / 103; }
.gallery-tile-23 { grid-column: 1 / 7; grid-row: 103 / 115; }
.gallery-tile-24 { grid-column: 7 / 13; grid-row: 103 / 115; }
.gallery-tile-25 { grid-column: 1 / 5; grid-row: 115 / 127; }
.gallery-tile-26 { grid-column: 5 / 9; grid-row: 115 / 127; }
.gallery-tile-27 { grid-column: 9 / 13; grid-row: 115 / 127; }
.gallery-tile-28 { grid-column: 1 / 7; grid-row: 127 / 139; }
.gallery-tile-29 { grid-column: 7 / 13; grid-row: 127 / 139; }
.gallery-tile-30 { grid-column: 1 / 5; grid-row: 139 / 151; }
.gallery-tile-31 { grid-column: 5 / 9; grid-row: 139 / 151; }
.gallery-tile-32 { grid-column: 9 / 13; grid-row: 139 / 151; }
.gallery-tile-33 { grid-column: 1 / 7; grid-row: 151 / 163; }
.gallery-tile-34 { grid-column: 7 / 13; grid-row: 151 / 163; }
.gallery-tile-35 { grid-column: 1 / 5; grid-row: 163 / 175; }
.gallery-tile-36 { grid-column: 5 / 9; grid-row: 163 / 175; }
.gallery-tile-37 { grid-column: 9 / 13; grid-row: 163 / 175; }
.gallery-tile-38 { grid-column: 1 / 7; grid-row: 175 / 187; }
.gallery-tile-39 { grid-column: 7 / 13; grid-row: 175 / 187; }
.gallery-tile-40 { grid-column: 1 / 7; grid-row: 187 / 199; }
.gallery-tile-41 { grid-column: 7 / 13; grid-row: 187 / 199; }

.gallery-tile-media,
.gallery-tile-media picture,
.gallery-tile-media img {
  display: block;
  width: 100%;
  height: 100%;
}

.gallery-tile-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.gallery-tile-media img {
  object-fit: cover;
  object-position: center 44%;
  filter: saturate(0.94) contrast(1.02);
  transform: scale(1.002);
  transition: transform 900ms var(--ease), filter 500ms ease;
}

.gallery-tile-03 .gallery-tile-media img {
  object-position: center 48%;
}

.gallery-tile-shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.28), transparent 34%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.04) 54%);
  transition: background 400ms ease;
}

.gallery-tile-play {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: clamp(54px, 5.2vw, 76px);
  height: clamp(54px, 5.2vw, 76px);
  padding-inline-start: 4px;
  color: #111214;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  background: rgba(250, 250, 252, 0.8);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px) saturate(1.25);
  font-size: clamp(17px, 1.6vw, 23px);
  transform: translate(-50%, -50%);
  transition: background 240ms ease, transform 420ms var(--ease);
  place-items: center;
}

.gallery-tile:hover .gallery-tile-play,
.gallery-tile:focus-visible .gallery-tile-play {
  background: #fff;
  transform: translate(-50%, -50%) scale(1.08);
}

.gallery-tile-index {
  position: absolute;
  top: clamp(16px, 2vw, 26px);
  inset-inline-start: clamp(16px, 2vw, 26px);
  display: inline-flex;
  align-items: center;
  padding: 7px 9px 7px 7px;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(248, 248, 250, 0.72);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(16px) saturate(1.35);
  color: #111214;
}

.gallery-tile-index b {
  display: grid;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #111214;
  color: #fff;
  font-size: 11px;
  font-weight: 720;
  place-items: center;
}

.gallery-tile-index i {
  padding-inline-end: 3px;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-tile-copy {
  position: absolute;
  right: clamp(18px, 2.4vw, 32px);
  bottom: clamp(18px, 2.4vw, 32px);
  left: clamp(18px, 2.4vw, 32px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 9px 20px;
}

.gallery-tile-copy small {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gallery-tile-copy strong {
  overflow: hidden;
  font-size: clamp(23px, 3vw, 42px);
  font-weight: 620;
  letter-spacing: -0.045em;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gallery-tile-copy > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  font-weight: 650;
}

.gallery-tile-copy > span i {
  display: grid;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  font-style: normal;
  transition: color 220ms ease, background 220ms ease, transform 220ms ease;
  place-items: center;
}

.gallery-tile:hover .gallery-tile-media img,
.gallery-tile:focus-visible .gallery-tile-media img {
  filter: saturate(1.04) contrast(1.03);
  transform: scale(1.045);
}

.gallery-tile:hover .gallery-tile-copy > span i,
.gallery-tile:focus-visible .gallery-tile-copy > span i {
  color: #111214;
  background: #fff;
  transform: translate(2px, -2px);
}

.gallery-tile:focus-visible {
  outline: 3px solid #111214;
  outline-offset: 5px;
}

body.gallery-viewer-open {
  overflow: hidden;
}

.gallery-viewer {
  position: fixed;
  z-index: 10020;
  inset: 0;
  display: grid;
  padding: clamp(12px, 2.5vw, 34px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms ease;
  place-items: center;
}

.gallery-viewer[hidden] {
  display: none;
}

.gallery-viewer.is-open {
  opacity: 1;
  pointer-events: auto;
}

.gallery-viewer-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(3, 4, 6, 0.88);
  backdrop-filter: blur(20px) saturate(0.75);
  cursor: default;
}

.gallery-viewer-panel {
  position: relative;
  display: grid;
  overflow: hidden;
  width: min(100%, 1420px);
  height: min(90svh, 900px);
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.34fr);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: clamp(22px, 2.4vw, 36px);
  background: #0b0c0e;
  box-shadow: 0 42px 130px rgba(0, 0, 0, 0.58);
  opacity: 0;
  transform: translateY(18px) scale(0.975);
  transition: opacity 320ms ease, transform 520ms var(--ease);
}

.gallery-viewer.is-open .gallery-viewer-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.gallery-viewer-stage {
  position: relative;
  display: grid;
  overflow: hidden;
  min-width: 0;
  min-height: 0;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.09), transparent 42%),
    #07080a;
  place-items: center;
}

.gallery-viewer-media {
  position: absolute;
  inset: 0;
  display: flex;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  align-items: center;
  justify-content: center;
  place-items: center;
}

.gallery-viewer-media img,
.gallery-viewer-media video {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  background: #050608;
  object-fit: contain !important;
  object-position: center center !important;
}

.gallery-viewer-media img {
  animation: galleryMediaReveal 620ms var(--ease) both;
}

@keyframes galleryMediaReveal {
  from { opacity: 0; transform: scale(0.985); }
  to { opacity: 1; transform: scale(1); }
}

.gallery-viewer-topbar {
  position: absolute;
  z-index: 3;
  top: 18px;
  right: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.gallery-viewer-counter {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 15px;
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(10, 11, 13, 0.55);
  backdrop-filter: blur(14px);
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0.12em;
}

.gallery-viewer-close,
.gallery-viewer-arrow {
  display: grid;
  padding: 0;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(10, 11, 13, 0.58);
  backdrop-filter: blur(14px);
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
  place-items: center;
}

.gallery-viewer-close {
  width: 44px;
  height: 44px;
  pointer-events: auto;
  font: 300 28px/1 Arial, sans-serif;
}

.gallery-viewer-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 48px;
  height: 48px;
  font-size: 21px;
  transform: translateY(-50%);
}

.gallery-viewer-prev {
  inset-inline-start: 18px;
}

.gallery-viewer-next {
  inset-inline-end: 18px;
}

.gallery-viewer-close:hover,
.gallery-viewer-close:focus-visible,
.gallery-viewer-arrow:hover,
.gallery-viewer-arrow:focus-visible {
  color: #111214;
  background: #fff;
}

.gallery-viewer-close:focus-visible,
.gallery-viewer-arrow:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.gallery-viewer-info {
  position: relative;
  z-index: 2;
  display: flex;
  overflow: auto;
  min-height: 0;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(32px, 4vw, 58px) clamp(26px, 3vw, 46px);
  color: #151619;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(214, 216, 220, 0.96)),
    #eaebed;
}

.gallery-viewer-info::before {
  position: absolute;
  top: 18px;
  inset-inline-end: 18px;
  width: 56px;
  height: 12px;
  border-top: 1px solid rgba(17, 18, 20, 0.22);
  border-bottom: 1px solid rgba(17, 18, 20, 0.22);
  content: "";
}

.gallery-viewer-sector {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  margin-bottom: 24px;
  padding: 7px 10px;
  color: #fff;
  border-radius: 999px;
  background: #17181a;
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-viewer-title {
  margin: 0;
  color: #111214;
  font-size: clamp(34px, 4.2vw, 62px);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.gallery-viewer-summary {
  margin: 28px 0 0;
  color: #4b4e53;
  font-size: 16px;
  line-height: 1.65;
}

.gallery-viewer-meta {
  display: grid;
  margin: clamp(32px, 5vh, 70px) 0 0;
  border-top: 1px solid rgba(17, 18, 20, 0.16);
}

.gallery-viewer-meta > div {
  display: grid;
  padding: 17px 0;
  gap: 6px;
  border-bottom: 1px solid rgba(17, 18, 20, 0.16);
}

.gallery-viewer-meta dt,
.gallery-viewer-meta dd {
  margin: 0;
}

.gallery-viewer-meta dt {
  color: #74777c;
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-viewer-meta dd {
  color: #202226;
  font-size: 14px;
  font-weight: 620;
  line-height: 1.45;
}

[dir="rtl"] .gallery-tile-copy,
[dir="rtl"] .gallery-viewer-info {
  text-align: right;
}

@media (max-width: 980px) {
  .gallery-collage {
    grid-template-rows: repeat(198, clamp(22px, 3.8vw, 38px));
  }

  .gallery-tile-copy strong {
    font-size: clamp(22px, 4vw, 34px);
  }

  .gallery-viewer-panel {
    width: min(100%, 820px);
    height: min(94svh, 980px);
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 62svh) minmax(0, 32svh);
  }

  .gallery-viewer-info {
    max-height: 38svh;
    padding: 28px 28px 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-inline-start: 0;
  }

  .gallery-viewer-title {
    font-size: clamp(31px, 7vw, 48px);
  }

  .gallery-viewer-summary {
    margin-top: 18px;
  }

  .gallery-viewer-meta {
    grid-template-columns: 1fr 1fr;
    margin-top: 24px;
    gap: 24px;
  }
}

@media (max-width: 680px) {
  .gallery-page-hero {
    padding-bottom: 48px;
  }

  .gallery-rail {
    display: grid;
    padding: 22px 0 26px;
    gap: 18px;
  }

  .gallery-rail > p {
    font-size: 15px;
  }

  .gallery-collage {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 14px;
  }

  .gallery-tile,
  .gallery-tile-01,
  .gallery-tile-02,
  .gallery-tile-03,
  .gallery-tile-04 {
    min-height: 0;
    aspect-ratio: 4 / 5;
    grid-column: auto;
    grid-row: auto;
  }

  .gallery-tile-05,
  .gallery-tile-06,
  .gallery-tile-07,
  .gallery-tile-08,
  .gallery-tile-09,
  .gallery-tile-10,
  .gallery-tile-11,
  .gallery-tile-12,
  .gallery-tile-13,
  .gallery-tile-14,
  .gallery-tile-15,
  .gallery-tile-16,
  .gallery-tile-17,
  .gallery-tile-18,
  .gallery-tile-19,
  .gallery-tile-20,
  .gallery-tile-21,
  .gallery-tile-22,
  .gallery-tile-23,
  .gallery-tile-24,
  .gallery-tile-25,
  .gallery-tile-26,
  .gallery-tile-27,
  .gallery-tile-28,
  .gallery-tile-29,
  .gallery-tile-30,
  .gallery-tile-31,
  .gallery-tile-32,
  .gallery-tile-33,
  .gallery-tile-34,
  .gallery-tile-35,
  .gallery-tile-36,
  .gallery-tile-37,
  .gallery-tile-38,
  .gallery-tile-39,
  .gallery-tile-40,
  .gallery-tile-41 {
    min-height: 0;
    aspect-ratio: 4 / 5;
    grid-column: auto;
    grid-row: auto;
  }

  .gallery-tile:nth-child(even) {
    aspect-ratio: 1 / 1.08;
  }

  .gallery-tile-copy {
    grid-template-columns: 1fr;
  }

  .gallery-tile-copy > span {
    display: none;
  }

  .gallery-tile-copy strong {
    font-size: clamp(27px, 9vw, 38px);
  }

  .gallery-viewer {
    align-items: end;
    padding: 0;
  }

  .gallery-viewer-panel {
    width: 100%;
    height: 100svh;
    grid-template-rows: minmax(0, 58svh) minmax(0, 42svh);
    border: 0;
    border-radius: 0;
  }

  .gallery-viewer-stage {
    width: 100%;
    min-height: 0;
  }

  .gallery-viewer-info {
    max-height: 42svh;
    padding: 24px 20px calc(26px + env(safe-area-inset-bottom));
  }

  .gallery-viewer-sector {
    margin-bottom: 16px;
  }

  .gallery-viewer-title {
    font-size: clamp(30px, 10vw, 42px);
  }

  .gallery-viewer-summary {
    font-size: 15px;
    line-height: 1.55;
  }

  .gallery-viewer-meta {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .gallery-viewer-topbar {
    top: calc(12px + env(safe-area-inset-top));
    right: 12px;
    left: 12px;
  }

  .gallery-viewer-arrow {
    top: 50%;
    bottom: auto;
    width: 44px;
    height: 44px;
    transform: translateY(-50%);
  }
}

/* Global presence — focused mobile map viewport */
.global-map-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 620px) {
  .global-map-visual {
    height: clamp(310px, 84vw, 360px);
    min-height: 310px;
    aspect-ratio: auto;
  }

  .global-map-canvas {
    top: 50%;
    left: 50%;
    width: auto;
    height: 100%;
    aspect-ratio: 2 / 1;
    transform: translate(-58%, -50%);
  }

  .global-map-marker > i {
    top: -4px;
    left: -4px;
    width: 8px;
    height: 8px;
    border-width: 1px;
  }

  .global-map-marker.marker-turkiye > i {
    top: -5px;
    left: -5px;
    width: 10px;
    height: 10px;
    border-width: 2px;
  }

  .global-route-track {
    stroke-width: 1.15;
  }

  .global-route-light {
    stroke-width: 1.7;
  }
}

@media (max-width: 390px) {
  .global-map-visual {
    height: 310px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-tile-media img,
  .gallery-tile-copy > span i,
  .gallery-viewer,
  .gallery-viewer-panel {
    transition: none;
  }

  .gallery-viewer-media img {
    animation: none;
  }
}

/* Instagram-style gallery grid */
.gallery-page {
  background: #fff;
}

.gallery-page .gallery-section {
  padding: clamp(8px, 1vw, 14px) 0 clamp(80px, 10vw, 132px);
}

.gallery-page .gallery-section > .container {
  width: min(calc(100% - 32px), 1040px);
}

.gallery-page .gallery-collage {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: none;
  gap: 4px;
}

.gallery-page .gallery-tile {
  min-height: 0;
  aspect-ratio: 1 / 1;
  grid-column: auto;
  grid-row: auto;
  border-radius: 0;
  box-shadow: none;
}

.gallery-page .gallery-tile-media img {
  object-position: center 43%;
  filter: saturate(0.96) contrast(1.01);
  transform: scale(1.001);
  transition: transform 480ms var(--ease), filter 320ms ease;
}

.gallery-page .gallery-tile-shade {
  background: rgba(0, 0, 0, 0);
  transition: background 240ms ease;
}

.gallery-page .gallery-tile-index,
.gallery-page .gallery-tile-copy {
  display: none;
}

.gallery-page .gallery-tile-play {
  top: 12px;
  right: 12px;
  left: auto;
  width: 30px;
  height: 30px;
  padding-inline-start: 2px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background: rgba(8, 9, 11, 0.42);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  font-size: 12px;
  transform: none;
}

.gallery-page .gallery-tile:hover .gallery-tile-media img,
.gallery-page .gallery-tile:focus-visible .gallery-tile-media img {
  filter: saturate(1.03) contrast(1.03);
  transform: scale(1.028);
}

.gallery-page .gallery-tile:hover .gallery-tile-shade,
.gallery-page .gallery-tile:focus-visible .gallery-tile-shade {
  background: rgba(0, 0, 0, 0.14);
}

.gallery-page .gallery-tile:hover .gallery-tile-play,
.gallery-page .gallery-tile:focus-visible .gallery-tile-play {
  background: rgba(8, 9, 11, 0.68);
  transform: none;
}

.gallery-page .gallery-tile:focus-visible {
  z-index: 2;
  outline: 3px solid #111214;
  outline-offset: -3px;
}

@media (max-width: 680px) {
  .gallery-page .gallery-section {
    padding: 2px 0 72px;
  }

  .gallery-page .gallery-section > .container {
    width: 100%;
  }

  .gallery-page .gallery-collage {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: none;
    gap: 2px;
  }

  .gallery-page .gallery-tile,
  .gallery-page .gallery-tile:nth-child(even) {
    aspect-ratio: 1 / 1;
    grid-column: auto;
    grid-row: auto;
  }

  .gallery-page .gallery-tile-play {
    top: 7px;
    right: 7px;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    font-size: 10px;
  }
}
