@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/fonts/space-grotesk.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/fonts/jetbrains-mono.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #05070d;
  --bg-deep: #02040a;
  --ink: #eaf4ff;
  --muted: #9bb0c7;
  --dim: #71849c;
  --line: rgba(143, 190, 255, 0.14);
  --line-strong: rgba(143, 190, 255, 0.28);
  --cyan: #3ef2ff;
  --violet: #8b6cff;
  --magenta: #ff4fd8;
  --peach: #f69679;
  --yellow: #fff799;
  --green: #a3d39c;
  --teal: #7accc8;
  --blue: #7da7d9;
  --lilac: #8781bd;
  --display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", "Cascadia Code", monospace;
  --bar-h: 66px;
  --controls-h: 72px;
  --ease: cubic-bezier(0.2, 0.75, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg-deep);
}

body.profile-page {
  min-height: 100svh;
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 20%, rgba(62, 242, 255, 0.08), transparent 28%),
    radial-gradient(circle at 86% 78%, rgba(139, 108, 255, 0.09), transparent 32%),
    var(--bg-deep);
  color: var(--ink);
  font-family: var(--display);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.profile-page::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(143, 190, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 190, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, black, transparent 82%);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 1px solid var(--cyan);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.profile-skip {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 20;
  padding: 0.7rem 1rem;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 0.6rem;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.profile-skip:focus {
  transform: translateY(0);
}

.profile-app {
  display: grid;
  grid-template-rows: var(--bar-h) minmax(0, 1fr) var(--controls-h);
  height: 100svh;
}

/* Top bar --------------------------------------------------------------- */
.profile-bar {
  z-index: 5;
  display: flex;
  gap: 1.2rem;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  padding: 0.65rem clamp(1rem, 2.5vw, 2rem);
  border-bottom: 1px solid var(--line);
  background: rgba(3, 6, 13, 0.72);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.profile-brand {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  min-width: 0;
  text-decoration: none;
}

.profile-brand__logo {
  display: block;
  width: auto;
  height: 38px;
  object-fit: contain;
}

.profile-brand__copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.profile-brand__copy strong {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.12em;
}

.profile-brand__copy small {
  overflow: hidden;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.37rem;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.profile-context {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  justify-content: center;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.42rem;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.profile-context span:last-child {
  color: var(--cyan);
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  justify-content: flex-end;
}

.lang-switch {
  display: inline-flex;
  height: 34px;
  flex: none;
  align-items: stretch;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.025);
}

.lang-link {
  display: inline-flex;
  min-width: 30px;
  align-items: center;
  justify-content: center;
  padding: 0 0.4rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.52rem;
  line-height: 1;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.lang-link:hover {
  color: var(--ink);
}

.lang-link.is-active {
  background: rgba(62, 242, 255, 0.13);
  color: var(--ink);
}

.profile-download,
.profile-exit {
  display: inline-flex;
  min-height: 34px;
  gap: 0.45rem;
  align-items: center;
  justify-content: center;
  padding: 0 0.7rem;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.48rem;
  line-height: 1.3;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    border-color 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease;
}

.profile-download {
  border-color: rgba(62, 242, 255, 0.42);
  background: rgba(62, 242, 255, 0.08);
  color: var(--cyan);
}

.profile-download:hover {
  border-color: var(--cyan);
  background: rgba(62, 242, 255, 0.14);
}

.profile-exit {
  width: 34px;
  padding: 0;
  color: var(--muted);
}

.profile-exit:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
}

.profile-download svg,
.profile-exit svg {
  width: 13px;
  height: 13px;
  flex: none;
}

/* Stage and slides ------------------------------------------------------ */
.profile-stage {
  display: grid;
  min-height: 0;
  place-items: center;
  padding: clamp(0.7rem, 1.4vw, 1.2rem) clamp(0.8rem, 2.4vw, 2rem);
  overflow: hidden;
}

.profile-deck {
  position: relative;
  width: min(100%, calc((100svh - var(--bar-h) - var(--controls-h) - 2.4rem) * 16 / 9));
  aspect-ratio: 16 / 9;
  min-height: 0;
  outline: none;
}

.profile-slide {
  position: absolute;
  inset: 0;
  display: flex;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(circle at 91% 9%, rgba(var(--slide-accent-rgb, 62, 242, 255), 0.13), transparent 30%),
    radial-gradient(circle at 4% 100%, rgba(139, 108, 255, 0.08), transparent 35%),
    linear-gradient(125deg, rgba(13, 21, 36, 0.96), rgba(4, 8, 16, 0.98));
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  opacity: 0;
  pointer-events: none;
  transform: translateX(1.4%) scale(0.992);
  visibility: hidden;
  transition:
    opacity 0.45s ease,
    transform 0.65s var(--ease),
    visibility 0.45s;
  container-type: inline-size;
}

.profile-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scale(1);
  visibility: visible;
}

.profile-slide::before {
  position: absolute;
  right: -0.02em;
  bottom: -0.18em;
  z-index: 0;
  content: attr(data-slide);
  color: transparent;
  font-family: var(--display);
  font-size: 30cqw;
  font-weight: 500;
  line-height: 0.7;
  letter-spacing: -0.1em;
  pointer-events: none;
  opacity: 0.19;
  -webkit-text-stroke: 1px rgba(234, 244, 255, 0.16);
}

.profile-slide::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 7cqw 7cqw;
  opacity: 0.35;
  mask-image: linear-gradient(135deg, black, transparent 76%);
}

.slide-grid,
.slide-glow {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.slide-grid {
  inset: 0;
  background: linear-gradient(90deg, transparent 0 72%, rgba(var(--slide-accent-rgb), 0.08) 72% 72.1%, transparent 72.1%);
}

.slide-glow {
  top: -15%;
  right: -6%;
  width: 40cqw;
  height: 40cqw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--slide-accent-rgb), 0.2), transparent 68%);
  filter: blur(10px);
}

.slide-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  padding: clamp(1.2rem, 3.6cqw, 3.3rem) clamp(1.2rem, 4.2cqw, 4rem) clamp(0.8rem, 2.2cqw, 2rem);
}

.slide-head {
  display: flex;
  flex: none;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding-bottom: clamp(0.5rem, 1.2cqw, 1rem);
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: clamp(0.38rem, 0.72cqw, 0.55rem);
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.slide-kicker {
  color: var(--slide-accent);
}

.slide-brand {
  margin-left: auto;
  color: var(--dim);
}

.slide-number {
  flex: none;
  color: var(--dim);
}

.slide-main {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  padding-top: clamp(0.8rem, 2.2cqw, 2rem);
}

.slide-foot {
  display: flex;
  flex: none;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding-top: clamp(0.5rem, 1.2cqw, 1rem);
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-family: var(--mono);
  font-size: clamp(0.34rem, 0.62cqw, 0.48rem);
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.slide-foot span:last-child {
  color: var(--muted);
}

/* Typography shared by slides ------------------------------------------ */
.slide-title {
  max-width: 13ch;
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(2rem, 5.4cqw, 4.6rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.slide-title .outline {
  color: transparent;
  -webkit-text-stroke: 1px rgba(234, 244, 255, 0.48);
}

.slide-title .accent {
  color: var(--slide-accent);
}

.slide-lede {
  max-width: 64ch;
  margin: clamp(0.6rem, 1.4cqw, 1rem) 0 0;
  color: var(--muted);
  font-size: clamp(0.67rem, 1.1cqw, 0.88rem);
  line-height: 1.65;
}

.slide-label {
  display: block;
  margin-bottom: clamp(0.4rem, 1cqw, 0.75rem);
  color: var(--slide-accent);
  font-family: var(--mono);
  font-size: clamp(0.38rem, 0.72cqw, 0.54rem);
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.outline {
  color: transparent;
  -webkit-text-stroke: 1px rgba(234, 244, 255, 0.45);
}

.accent {
  color: var(--slide-accent);
}

/* Cover ---------------------------------------------------------------- */
.profile-slide--cover {
  background:
    radial-gradient(circle at 76% 38%, rgba(62, 242, 255, 0.11), transparent 30%),
    radial-gradient(circle at 91% 84%, rgba(139, 108, 255, 0.14), transparent 30%),
    linear-gradient(125deg, #07101e, #03050b 72%);
}

.profile-slide--cover .slide-main {
  justify-content: center;
  padding-top: 0;
}

.cover-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(1.5rem, 4cqw, 4rem);
  height: 100%;
  min-height: 0;
  align-items: center;
}

.cover-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.cover-overline {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: clamp(0.4rem, 0.8cqw, 0.58rem);
  line-height: 1.5;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cover-title {
  max-width: 11ch;
  margin: clamp(0.7rem, 1.8cqw, 1.35rem) 0 0;
  color: var(--ink);
  font-size: clamp(2.65rem, 7.3cqw, 6.35rem);
  font-weight: 500;
  line-height: 0.89;
  letter-spacing: -0.075em;
}

.cover-title em {
  color: var(--cyan);
  font-style: normal;
}

.cover-lede {
  max-width: 44ch;
  margin: clamp(0.8rem, 1.8cqw, 1.4rem) 0 0;
  color: var(--muted);
  font-size: clamp(0.72rem, 1.08cqw, 0.9rem);
  line-height: 1.65;
}

.cover-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  margin-top: clamp(1.2rem, 3cqw, 2.4rem);
  padding-top: clamp(0.7rem, 1.4cqw, 1rem);
  border-top: 1px solid var(--line);
}

.cover-bottom div {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.cover-bottom small {
  color: var(--dim);
  font-family: var(--mono);
  font-size: clamp(0.32rem, 0.58cqw, 0.45rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cover-bottom strong {
  color: var(--ink);
  font-size: clamp(0.66rem, 0.9cqw, 0.82rem);
  font-weight: 400;
  line-height: 1.4;
}

.cover-visual {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 1;
  max-height: 100%;
  place-items: center;
  min-width: 0;
}

.cover-orbit {
  position: absolute;
  inset: 5%;
  border: 1px solid rgba(62, 242, 255, 0.24);
  border-radius: 50%;
  transform: rotate(-14deg) scaleY(0.78);
}

.cover-orbit::before,
.cover-orbit::after {
  position: absolute;
  content: "";
  border-radius: 50%;
}

.cover-orbit::before {
  inset: 13%;
  border: 1px solid rgba(139, 108, 255, 0.34);
}

.cover-orbit::after {
  inset: 28%;
  border: 1px dashed rgba(234, 244, 255, 0.18);
}

.cover-axis {
  position: absolute;
  width: 72%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(62, 242, 255, 0.45), transparent);
  transform: rotate(-35deg);
}

.cover-axis--b {
  transform: rotate(55deg) scaleX(0.8);
  background: linear-gradient(90deg, transparent, rgba(139, 108, 255, 0.4), transparent);
}

.cover-core {
  position: relative;
  display: grid;
  width: 47%;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(62, 242, 255, 0.25);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.11), transparent 42%),
    rgba(6, 14, 25, 0.68);
  box-shadow:
    0 0 0 10px rgba(62, 242, 255, 0.025),
    0 0 70px rgba(62, 242, 255, 0.12);
}

.cover-core img {
  width: 62%;
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

.cover-marker {
  position: absolute;
  display: flex;
  gap: 0.35rem;
  align-items: center;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: clamp(0.32rem, 0.58cqw, 0.46rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cover-marker::before {
  width: 5px;
  height: 5px;
  content: "";
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.cover-marker--a {
  top: 19%;
  right: 4%;
}

.cover-marker--b {
  bottom: 18%;
  left: 4%;
  color: var(--violet);
}

.cover-marker--c {
  right: 12%;
  bottom: 7%;
  color: var(--muted);
}

.cover-radar {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 270deg, transparent 0 82%, rgba(62, 242, 255, 0.14) 92%, transparent);
  mask-image: radial-gradient(circle, transparent 0 48%, black 49%);
  opacity: 0.65;
}

/* About ----------------------------------------------------------------- */
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.1rem, 3.2cqw, 3rem);
  flex: 1;
  min-height: 0;
  align-items: stretch;
}

.about-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
}

.about-copy .slide-lede {
  max-width: 42ch;
}

.about-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: clamp(1rem, 2.7cqw, 2rem);
}

.about-pillars span {
  padding: 0.45rem 0.62rem;
  border: 1px solid rgba(var(--slide-accent-rgb), 0.3);
  background: rgba(var(--slide-accent-rgb), 0.06);
  color: var(--slide-accent);
  font-family: var(--mono);
  font-size: clamp(0.34rem, 0.62cqw, 0.48rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.why-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(0.8rem, 1.7cqw, 1.35rem);
  border: 1px solid var(--line);
  background: rgba(7, 13, 24, 0.52);
}

.panel-head {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--line);
  color: var(--dim);
  font-family: var(--mono);
  font-size: clamp(0.32rem, 0.55cqw, 0.44rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.panel-head span:first-child {
  color: var(--slide-accent);
}

.why-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 0.85rem;
  padding: 0;
  margin: 0.45rem 0 0;
  list-style: none;
}

.why-list li {
  display: flex;
  gap: 0.48rem;
  align-items: baseline;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(143, 190, 255, 0.08);
  color: var(--muted);
  font-size: clamp(0.57rem, 0.88cqw, 0.72rem);
  line-height: 1.35;
}

.why-list li span {
  flex: none;
  color: var(--slide-accent);
  font-family: var(--mono);
  font-size: 0.78em;
}

/* Services -------------------------------------------------------------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(0.45rem, 1.1cqw, 0.9rem);
  flex: 1;
  min-height: 0;
  margin-top: clamp(1rem, 2.5cqw, 2rem);
}

.service-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  padding: clamp(0.65rem, 1.45cqw, 1.1rem);
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(var(--slide-accent-rgb), 0.06), transparent 55%),
    rgba(7, 13, 24, 0.48);
}

.service-num {
  color: var(--slide-accent);
  font-family: var(--mono);
  font-size: clamp(0.4rem, 0.72cqw, 0.54rem);
  letter-spacing: 0.1em;
}

.service-card h3 {
  margin: auto 0 0;
  color: var(--ink);
  font-size: clamp(0.78rem, 1.35cqw, 1.1rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.service-card p {
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: clamp(0.54rem, 0.82cqw, 0.68rem);
  line-height: 1.45;
}

/* Vision ---------------------------------------------------------------- */
.vision-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(1rem, 2.8cqw, 2.5rem);
  flex: 1;
  min-height: 0;
  align-items: stretch;
  margin-top: clamp(0.8rem, 2cqw, 1.5rem);
}

.vision-card,
.mission-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(1rem, 2.5cqw, 2rem);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 100% 0, rgba(var(--slide-accent-rgb), 0.12), transparent 44%),
    rgba(7, 13, 24, 0.5);
}

.vision-card {
  border-color: rgba(var(--slide-accent-rgb), 0.3);
}

.card-label {
  color: var(--slide-accent);
  font-family: var(--mono);
  font-size: clamp(0.38rem, 0.65cqw, 0.5rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.vision-quote {
  max-width: 22ch;
  margin: clamp(0.8rem, 1.8cqw, 1.3rem) 0 0;
  color: var(--ink);
  font-size: clamp(1.15rem, 2.75cqw, 2.35rem);
  line-height: 1.03;
  letter-spacing: -0.055em;
}

.mission-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 0;
  margin: 0.8rem 0 0;
  list-style: none;
}

.mission-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
}

.mission-list b {
  color: var(--slide-accent);
  font-family: var(--mono);
  font-size: 0.7em;
  font-weight: 400;
}

.mission-list strong {
  display: block;
  color: var(--ink);
  font-size: clamp(0.68rem, 1.08cqw, 0.84rem);
  font-weight: 500;
  line-height: 1.3;
}

.mission-list span {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: clamp(0.54rem, 0.82cqw, 0.68rem);
  line-height: 1.45;
}

.value-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: clamp(0.7rem, 1.4cqw, 1rem);
}

.value-strip span {
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: clamp(0.34rem, 0.6cqw, 0.46rem);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* Ecosystem ------------------------------------------------------------- */
.ecosystem-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(1rem, 3cqw, 2.8rem);
  flex: 1;
  min-height: 0;
  align-items: center;
}

.ecosystem-copy {
  min-width: 0;
}

.ecosystem-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: clamp(0.8rem, 1.8cqw, 1.3rem);
}

.ecosystem-tags span {
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: clamp(0.32rem, 0.58cqw, 0.44rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ecosystem-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.4rem, 1cqw, 0.8rem);
  align-items: stretch;
  min-width: 0;
}

.product-tile {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #f4f7fb;
}

.product-tile:nth-child(2) {
  transform: translateY(1.2rem);
}

.product-tile:nth-child(3) {
  transform: translateY(-0.6rem);
}

.product-tile img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0.45rem;
  object-fit: contain;
  background: #fff;
}

.product-tile figcaption {
  display: flex;
  grid-column: 1 / -1;
  justify-content: space-between;
  margin-top: auto;
  padding: 0.45rem 0.55rem;
  background: rgba(3, 7, 14, 0.95);
  color: var(--muted);
  font-family: var(--mono);
  font-size: clamp(0.28rem, 0.52cqw, 0.4rem);
  line-height: 1.4;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.partner-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
  align-items: center;
  margin-top: clamp(0.7rem, 1.6cqw, 1.1rem);
  padding-top: clamp(0.55rem, 1.2cqw, 0.85rem);
  border-top: 1px solid var(--line);
}

.partner-strip__label {
  color: var(--dim);
  font-family: var(--mono);
  font-size: clamp(0.32rem, 0.58cqw, 0.44rem);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.partner-strip img {
  width: auto;
  max-width: 6.4rem;
  height: clamp(0.8rem, 1.4cqw, 1.25rem);
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}

/* Partners -------------------------------------------------------------- */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.5rem, 1.2cqw, 1rem);
  flex: 1;
  min-height: 0;
  margin-top: clamp(1rem, 2.3cqw, 1.7rem);
}

.partner-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  padding: clamp(0.8rem, 1.6cqw, 1.3rem);
  border: 1px solid var(--line);
  background: rgba(7, 13, 24, 0.5);
}

.partner-logo {
  display: grid;
  width: 100%;
  min-height: clamp(2.8rem, 5.7cqw, 4.4rem);
  place-items: center;
  padding: 0.55rem;
  background: #f4f7fb;
}

.partner-logo img {
  display: block;
  width: auto;
  max-width: 78%;
  height: clamp(1rem, 2.2cqw, 1.7rem);
  object-fit: contain;
}

.partner-card__meta {
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 0.85rem;
  color: var(--dim);
  font-family: var(--mono);
  font-size: clamp(0.32rem, 0.56cqw, 0.44rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.partner-card h3 {
  margin: 0.55rem 0 0;
  color: var(--ink);
  font-size: clamp(1rem, 1.8cqw, 1.45rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}

.partner-card p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: clamp(0.56rem, 0.85cqw, 0.7rem);
  line-height: 1.5;
}

.partner-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: auto;
  padding-top: 0.8rem;
}

.partner-tags span {
  color: var(--slide-accent);
  font-family: var(--mono);
  font-size: clamp(0.28rem, 0.52cqw, 0.4rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Clients --------------------------------------------------------------- */
.client-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.45rem, 1cqw, 0.75rem);
  flex: 1;
  min-height: 0;
  margin-top: clamp(0.85rem, 2cqw, 1.4rem);
}

.client-tile {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(0.55rem, 1.1cqw, 0.8rem);
  border: 1px solid var(--line);
  background: rgba(7, 13, 24, 0.5);
}

.client-logo {
  display: grid;
  flex: 1;
  min-height: clamp(2.3rem, 4.3cqw, 3.2rem);
  place-items: center;
  padding: 0.4rem;
  background: #f4f7fb;
}

.client-logo img {
  display: block;
  width: auto;
  max-width: 82%;
  height: clamp(0.9rem, 1.85cqw, 1.45rem);
  object-fit: contain;
}

.client-tile strong {
  display: block;
  margin-top: 0.55rem;
  color: var(--ink);
  font-size: clamp(0.57rem, 0.88cqw, 0.7rem);
  font-weight: 500;
  line-height: 1.2;
}

.client-tile small {
  display: block;
  margin-top: 0.15rem;
  color: var(--dim);
  font-family: var(--mono);
  font-size: clamp(0.28rem, 0.5cqw, 0.37rem);
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Process --------------------------------------------------------------- */
.process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(0.45rem, 1.2cqw, 0.9rem);
  flex: 1;
  min-height: 0;
  margin-top: clamp(1rem, 2.8cqw, 2rem);
}

.process-track::before {
  position: absolute;
  top: 1.4rem;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--slide-accent), transparent);
  opacity: 0.5;
}

.process-step {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 3.1rem 0.75rem 0.8rem;
  border-top: 1px solid var(--line);
}

.process-step::before {
  position: absolute;
  top: 0.9rem;
  left: 0.75rem;
  width: 10px;
  height: 10px;
  content: "";
  border: 1px solid var(--slide-accent);
  border-radius: 50%;
  background: var(--bg);
  box-shadow: 0 0 16px rgba(var(--slide-accent-rgb), 0.5);
}

.process-step span {
  position: absolute;
  top: 0;
  left: 0.75rem;
  color: var(--slide-accent);
  font-family: var(--mono);
  font-size: clamp(0.35rem, 0.6cqw, 0.47rem);
  letter-spacing: 0.1em;
}

.process-step h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(0.75rem, 1.15cqw, 0.96rem);
  font-weight: 500;
  line-height: 1.1;
}

.process-step p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: clamp(0.5rem, 0.77cqw, 0.64rem);
  line-height: 1.5;
}

.process-note {
  max-width: 54ch;
  margin: clamp(0.8rem, 1.8cqw, 1.3rem) 0 0;
  color: var(--dim);
  font-family: var(--mono);
  font-size: clamp(0.34rem, 0.62cqw, 0.47rem);
  line-height: 1.5;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Principles ------------------------------------------------------------- */
.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.45rem, 1.1cqw, 0.85rem);
  flex: 1;
  min-height: 0;
  margin-top: clamp(0.9rem, 2.2cqw, 1.6rem);
}

.principle {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(0.65rem, 1.2cqw, 0.95rem);
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(var(--slide-accent-rgb), 0.055), transparent 55%),
    rgba(7, 13, 24, 0.48);
}

.principle span {
  color: var(--slide-accent);
  font-family: var(--mono);
  font-size: clamp(0.33rem, 0.56cqw, 0.44rem);
  letter-spacing: 0.08em;
}

.principle h3 {
  margin: 0.55rem 0 0;
  color: var(--ink);
  font-size: clamp(0.76rem, 1.1cqw, 0.95rem);
  font-weight: 500;
  line-height: 1.1;
}

.principle p {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: clamp(0.5rem, 0.76cqw, 0.62rem);
  line-height: 1.5;
}

/* Contact --------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
  gap: clamp(1.2rem, 3.4cqw, 3rem);
  flex: 1;
  min-height: 0;
  align-items: center;
}

.contact-lines {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.6rem;
  margin-top: clamp(1.2rem, 2.5cqw, 1.8rem);
}

.contact-lines > * {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  color: var(--muted);
  text-decoration: none;
}

.contact-lines span span,
.contact-lines > div > span {
  color: var(--dim);
  font-family: var(--mono);
  font-size: clamp(0.32rem, 0.56cqw, 0.44rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-lines strong {
  color: var(--ink);
  font-size: clamp(0.74rem, 1.1cqw, 0.9rem);
  font-weight: 400;
  line-height: 1.4;
}

.contact-lines a:hover strong {
  color: var(--slide-accent);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: clamp(1.2rem, 2.5cqw, 1.8rem);
}

.profile-btn {
  display: inline-flex;
  min-height: 38px;
  gap: 0.45rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-family: var(--mono);
  font-size: clamp(0.38rem, 0.64cqw, 0.5rem);
  line-height: 1.3;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    border-color 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease;
}

.profile-btn--primary {
  border-color: rgba(62, 242, 255, 0.5);
  background: rgba(62, 242, 255, 0.12);
  color: var(--cyan);
}

.profile-btn--ghost {
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
}

.profile-btn:hover {
  border-color: var(--cyan);
  color: var(--ink);
}

.profile-btn svg {
  width: 12px;
  height: 12px;
  flex: none;
}

.contact-visual {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 1;
  place-items: center;
  min-width: 0;
}

.contact-orbit {
  position: absolute;
  inset: 6%;
  border: 1px solid rgba(62, 242, 255, 0.26);
  border-radius: 50%;
  transform: rotate(16deg) scaleY(0.72);
}

.contact-orbit::before {
  position: absolute;
  inset: 17%;
  content: "";
  border: 1px dashed rgba(139, 108, 255, 0.4);
  border-radius: 50%;
}

.contact-core {
  position: relative;
  display: grid;
  width: 47%;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(62, 242, 255, 0.28);
  border-radius: 50%;
  background: rgba(7, 16, 28, 0.82);
  box-shadow: 0 0 70px rgba(62, 242, 255, 0.12);
}

.contact-core img {
  width: 60%;
  height: auto;
}

.contact-visual .cover-marker--a {
  top: 15%;
  right: 1%;
}

.contact-visual .cover-marker--b {
  bottom: 14%;
  left: 1%;
}

/* Controls -------------------------------------------------------------- */
.profile-controls {
  display: flex;
  gap: clamp(0.55rem, 1.6vw, 1.4rem);
  align-items: center;
  min-width: 0;
  padding: 0.65rem clamp(1rem, 2.5vw, 2rem);
  border-top: 1px solid var(--line);
  background: rgba(3, 6, 13, 0.74);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.profile-controls__group {
  display: flex;
  flex: none;
  gap: 0.45rem;
  align-items: center;
}

.profile-arrow {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.025);
  color: var(--ink);
  cursor: pointer;
  transition:
    border-color 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease;
}

.profile-arrow:hover:not(:disabled) {
  border-color: var(--cyan);
  background: rgba(62, 242, 255, 0.1);
  color: var(--cyan);
}

.profile-arrow:disabled {
  cursor: default;
  opacity: 0.3;
}

.profile-arrow svg {
  width: 14px;
  height: 14px;
}

.profile-counter {
  display: flex;
  gap: 0.3rem;
  align-items: baseline;
  padding-inline: 0.2rem;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.54rem;
  line-height: 1;
  letter-spacing: 0.06em;
}

.profile-counter strong {
  color: var(--cyan);
  font-size: 0.86rem;
  font-weight: 500;
}

.profile-progress {
  position: relative;
  flex: 1;
  height: 1px;
  min-width: 2rem;
  overflow: hidden;
  background: var(--line);
}

.profile-progress span {
  display: block;
  width: 10%;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  box-shadow: 0 0 10px rgba(62, 242, 255, 0.65);
  transition: width 0.45s var(--ease);
}

.profile-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.32rem;
  align-items: center;
  margin-left: auto;
}

.profile-dot {
  width: 18px;
  height: 18px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: var(--dim);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.34rem;
  line-height: 1;
}

.profile-dot::before {
  display: block;
  width: 4px;
  height: 4px;
  margin: auto;
  content: "";
  border-radius: 50%;
  background: currentColor;
}

.profile-dot:hover {
  color: var(--ink);
}

.profile-dot[aria-current="true"] {
  border-color: rgba(62, 242, 255, 0.5);
  color: var(--cyan);
}

.profile-fullscreen {
  display: inline-flex;
  min-height: 34px;
  gap: 0.35rem;
  align-items: center;
  padding: 0 0.55rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.42rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.profile-fullscreen:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.profile-fullscreen svg {
  width: 12px;
  height: 12px;
}

.profile-live {
  position: absolute;
}

/* Responsive ------------------------------------------------------------ */
@media (max-width: 1100px) {
  :root {
    --bar-h: 62px;
    --controls-h: 66px;
  }

  .profile-context span:last-child {
    display: none;
  }

  .profile-brand__copy small {
    display: none;
  }

  .service-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  :root {
    --bar-h: auto;
    --controls-h: auto;
  }

  body.profile-page {
    overflow: hidden;
  }

  .profile-app {
    grid-template-rows: auto minmax(0, 1fr) auto;
  }

  .profile-bar {
    flex-wrap: wrap;
    gap: 0.55rem;
    padding: 0.6rem 1rem;
  }

  .profile-brand__logo {
    height: 30px;
  }

  .profile-brand__copy strong {
    font-size: 0.72rem;
  }

  .profile-context {
    display: none;
  }

  .profile-actions {
    margin-left: auto;
  }

  .profile-download {
    min-height: 30px;
    padding-inline: 0.5rem;
    font-size: 0.4rem;
  }

  .profile-exit {
    width: 30px;
    min-height: 30px;
  }

  .lang-switch {
    height: 30px;
  }

  .lang-link {
    min-width: 27px;
    font-size: 0.46rem;
  }

  .profile-stage {
    padding: 0.45rem;
  }

  .profile-deck {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
  }

  .profile-slide {
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .slide-inner {
    padding: 1rem;
    min-height: 100%;
  }

  .slide-head {
    gap: 0.5rem;
  }

  .slide-brand {
    display: none;
  }

  .slide-foot {
    margin-top: 1.2rem;
  }

  .slide-title {
    font-size: clamp(2.2rem, 10vw, 3.6rem);
  }

  .slide-lede {
    font-size: 0.8rem;
    line-height: 1.6;
  }

  .cover-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
    align-content: center;
  }

  .cover-title {
    font-size: clamp(2.5rem, 12vw, 4.2rem);
  }

  .cover-visual {
    position: absolute;
    right: -8%;
    bottom: -6%;
    z-index: -1;
    width: 72%;
    opacity: 0.42;
  }

  .cover-lede {
    font-size: 0.82rem;
  }

  .cover-bottom {
    margin-top: 1.2rem;
  }

  .about-layout,
  .vision-layout,
  .ecosystem-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
    align-content: start;
  }

  .about-copy .slide-lede {
    max-width: 60ch;
  }

  .why-list {
    grid-template-columns: 1fr;
  }

  .why-list li {
    padding-block: 0.42rem;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    flex: none;
  }

  .service-card {
    min-height: 6.2rem;
  }

  .service-card h3 {
    font-size: 1rem;
  }

  .service-card p {
    font-size: 0.72rem;
  }

  .vision-track {
    flex: none;
  }

  .vision-layout {
    flex: none;
  }

  .ecosystem-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 0.4rem;
  }

  .product-tile:nth-child(2),
  .product-tile:nth-child(3) {
    transform: none;
  }

  .partner-grid {
    grid-template-columns: 1fr;
    flex: none;
  }

  .partner-card {
    display: grid;
    grid-template-columns: 6rem minmax(0, 1fr);
    gap: 0 0.7rem;
    align-items: center;
  }

  .partner-logo {
    grid-row: span 4;
    min-height: 4rem;
  }

  .partner-card h3 {
    margin-top: 0;
  }

  .partner-card__meta {
    margin-top: 0;
  }

  .partner-tags {
    padding-top: 0.35rem;
  }

  .client-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    flex: none;
  }

  .client-logo {
    min-height: 3.2rem;
  }

  .process-track {
    grid-template-columns: 1fr;
    flex: none;
    gap: 0;
    margin-top: 0.8rem;
  }

  .process-track::before {
    display: none;
  }

  .process-step {
    padding: 0.65rem 0 0.65rem 1.3rem;
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .process-step::before {
    top: 0.85rem;
    left: -5px;
  }

  .process-step span {
    position: static;
    display: block;
    margin-bottom: 0.2rem;
  }

  .process-step h3 {
    font-size: 0.9rem;
  }

  .process-step p {
    font-size: 0.72rem;
  }

  .principle-grid {
    grid-template-columns: 1fr;
    flex: none;
  }

  .principle {
    padding: 0.65rem 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
  }

  .principle h3 {
    font-size: 0.9rem;
  }

  .principle p {
    font-size: 0.74rem;
  }

  .contact-visual {
    position: absolute;
    right: -5%;
    bottom: 4%;
    z-index: -1;
    width: 68%;
    opacity: 0.45;
  }

  .contact-lines {
    gap: 0.7rem 1.2rem;
  }

  .profile-controls {
    flex-wrap: wrap;
    gap: 0.45rem;
    padding: 0.5rem 0.8rem;
  }

  .profile-progress {
    order: 3;
    flex: 1 1 100%;
  }

  .profile-dots {
    display: none;
  }

  .profile-fullscreen {
    margin-left: auto;
  }

  .profile-arrow {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 420px) {
  .profile-download span {
    display: none;
  }

  .profile-download {
    width: 30px;
    padding: 0;
  }

  .slide-inner {
    padding: 0.8rem;
  }

  .slide-head {
    font-size: 0.32rem;
  }

  .slide-foot {
    font-size: 0.3rem;
  }

  .cover-title {
    font-size: clamp(2.2rem, 13.2vw, 3.2rem);
  }

  .cover-overline,
  .cover-lede {
    font-size: 0.72rem;
  }

  .cover-bottom {
    gap: 0.7rem;
  }

  .cover-bottom strong {
    font-size: 0.72rem;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
    padding: 0.75rem;
  }

  .ecosystem-gallery {
    grid-template-columns: 1fr;
  }

  .product-tile {
    display: grid;
    grid-template-columns: 4rem minmax(0, 1fr);
  }

  .product-tile img {
    aspect-ratio: 1;
  }

  .product-tile figcaption {
    align-items: center;
  }

  .partner-card {
    grid-template-columns: 5rem minmax(0, 1fr);
  }

  .client-grid {
    grid-template-columns: 1fr;
  }

  .profile-btn {
    width: 100%;
  }
}

@media (max-height: 560px) and (min-width: 821px) {
  :root {
    --bar-h: 46px;
    --controls-h: 48px;
  }

  .profile-bar {
    padding-block: 0.3rem;
  }

  .profile-brand__logo {
    height: 28px;
  }

  .profile-brand__copy small,
  .profile-context span:last-child {
    display: none;
  }

  .profile-download,
  .profile-exit {
    min-height: 28px;
    font-size: 0.38rem;
  }

  .profile-stage {
    padding: 0.4rem;
  }

  .profile-deck {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
  }

  .profile-slide {
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .profile-controls {
    padding-block: 0.35rem;
  }

  .profile-arrow {
    width: 28px;
    height: 28px;
  }

  .profile-dot {
    width: 14px;
    height: 14px;
  }

  .profile-fullscreen {
    min-height: 28px;
    font-size: 0.34rem;
  }

  .profile-progress {
    max-width: 30%;
  }

  .profile-dots {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .profile-slide,
  .profile-progress span,
  .profile-download,
  .profile-exit,
  .profile-arrow,
  .profile-btn,
  .profile-fullscreen {
    transition: none !important;
  }
}

/* Print / PDF ----------------------------------------------------------- */
@page {
  size: 13.333in 7.5in;
  margin: 0;
}

@media print {
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  html,
  body.profile-page {
    width: 13.333in;
    height: auto;
    overflow: visible;
    background: var(--bg-deep);
  }

  .profile-bar,
  .profile-controls,
  .profile-skip,
  .profile-live {
    display: none !important;
  }

  .profile-app {
    display: block;
    height: auto;
  }

  .profile-stage {
    display: block;
    padding: 0;
    margin: 0;
    overflow: visible;
  }

  .profile-deck {
    display: block;
    width: auto;
    height: auto;
    margin: 0;
  }

  .profile-slide,
  .profile-slide.is-active,
  .profile-slide[aria-hidden="true"] {
    position: relative !important;
    inset: auto !important;
    display: flex !important;
    width: 13.333in !important;
    height: 7.5in !important;
    min-width: 0;
    min-height: 0;
    margin: 0 !important;
    overflow: hidden !important;
    border: 0;
    border-radius: 0;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
    visibility: visible !important;
    break-after: page;
    page-break-after: always;
  }

  .profile-slide:last-child {
    break-after: auto;
    page-break-after: auto;
  }

  .profile-slide::after {
    opacity: 0.3;
  }

  .profile-slide .slide-inner {
    width: 100%;
    min-height: 100%;
  }
}
