:root {
  --ink: #f5f7fb;
  --muted: #a4adbd;
  --subtle: #727c8f;
  --bg: #05070b;
  --surface: #0d1119;
  --surface-2: #141a25;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #63b3ff;
  --accent-2: #8e7dff;
  --warm: #ff9d7a;
  --success: #66ddb1;
  --nav-height: 68px;
  --radius-lg: 38px;
  --radius-md: 24px;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
  --shell: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color-scheme: dark;
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 15% 0%, rgba(67, 99, 160, 0.13), transparent 30rem),
    var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  content: "";
  transform: scaleX(var(--page-progress, 0));
  transform-origin: left;
  background: linear-gradient(90deg, var(--accent), #c0a7ff, var(--warm));
  box-shadow: 0 0 20px rgba(99, 179, 255, 0.8);
}

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

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

button,
input,
textarea {
  font: inherit;
}

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

button {
  color: inherit;
}

::selection {
  background: rgba(99, 179, 255, 0.35);
  color: #fff;
}

:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 12px;
  padding: 10px 15px;
  transform: translateY(-160%);
  border-radius: 999px;
  background: #fff;
  color: #000;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

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

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-nav {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  height: var(--nav-height);
  border-bottom: 1px solid transparent;
  background: rgba(5, 7, 11, 0.18);
  transition: background 220ms ease, border-color 220ms ease, backdrop-filter 220ms ease;
}

.site-nav.is-scrolled,
.site-nav:focus-within {
  border-color: var(--line);
  background: rgba(5, 7, 11, 0.78);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
  backdrop-filter: saturate(160%) blur(20px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--shell);
  height: 100%;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 126px;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand img {
  width: auto;
  height: 26px;
  object-fit: contain;
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.nav-links a,
.nav-actions a {
  padding: 8px 12px;
  border-radius: 999px;
  color: #d7dce5;
  font-size: 0.84rem;
  transition: color 180ms ease, background 180ms ease;
}

.nav-links a:hover,
.nav-actions a:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}

.nav-actions .nav-cta {
  background: #f4f7fb;
  color: #0b0d11;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 17px;
  height: 1.5px;
  margin: auto;
  content: "";
  background: #fff;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle span::before {
  transform: translateY(-5px);
}

.menu-toggle span::after {
  transform: translateY(3.5px);
}

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

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

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

.mobile-panel {
  display: none;
}

.button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  gap: 9px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 650;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.text-link:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: #f7f8fb;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.12);
  color: #090b10;
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.button-accent {
  background: var(--accent);
  box-shadow: 0 12px 34px rgba(99, 179, 255, 0.24);
  color: #06111d;
}

.text-link {
  min-height: auto;
  padding: 0;
  color: var(--accent);
}

.text-link::after {
  content: "↗";
  transition: transform 180ms ease;
}

.text-link:hover::after {
  transform: translate(2px, -2px);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: clip;
  isolation: isolate;
  place-items: center;
}

.hero-media,
.hero-media::after {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -2;
  overflow: hidden;
  background: #101621;
}

.hero-media img {
  width: 100%;
  height: 100%;
  transform: translate3d(0, var(--hero-y, 0), 0) scale(var(--hero-scale, 1.08));
  object-fit: cover;
  will-change: transform;
}

.hero-media::after {
  content: "";
  background:
    linear-gradient(180deg, rgba(3, 5, 8, 0.34), rgba(3, 5, 8, 0.14) 35%, rgba(5, 7, 11, 0.93) 100%),
    linear-gradient(90deg, rgba(4, 6, 9, 0.56), transparent 62%);
}

.hero-content {
  width: var(--shell);
  padding-top: calc(var(--nav-height) + 10vh);
  padding-bottom: 12vh;
  align-self: end;
}

.hero-copy {
  max-width: 940px;
}

.eyebrow {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.display {
  max-width: 1000px;
  margin: 0;
  font-size: clamp(3.7rem, 10.3vw, 9.2rem);
  font-weight: 720;
  letter-spacing: -0.066em;
  line-height: 0.88;
  text-wrap: balance;
}

.display .soft {
  color: rgba(255, 255, 255, 0.54);
}

.hero-lede {
  max-width: 720px;
  margin: 28px 0 0;
  color: #d8dde6;
  font-size: clamp(1.08rem, 2vw, 1.42rem);
  line-height: 1.48;
  text-wrap: balance;
}

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

.scroll-cue {
  position: absolute;
  right: max(20px, calc((100vw - 1180px) / 2));
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.76rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.scroll-cue::before {
  width: 1px;
  height: 42px;
  content: "";
  background: linear-gradient(#fff, transparent);
  animation: cue 1.7s ease-in-out infinite;
}

@keyframes cue {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.45; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
}

.section {
  position: relative;
  padding: clamp(92px, 12vw, 170px) 0;
}

.section-tight {
  padding-block: clamp(74px, 9vw, 120px);
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  margin-bottom: clamp(48px, 7vw, 88px);
  align-items: end;
  gap: 30px;
}

.kicker {
  display: block;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  font-size: clamp(2.7rem, 6.8vw, 6.4rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.96;
  text-wrap: balance;
}

.section-intro {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.22rem);
}

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

.project-card {
  position: relative;
  grid-column: span 6;
  min-height: 660px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.project-card:first-child {
  grid-column: span 12;
  min-height: min(80vh, 780px);
}

.card-media {
  position: absolute;
  z-index: -2;
  inset: 0;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  transition: transform 800ms cubic-bezier(.2, .7, .2, 1), filter 500ms ease;
  filter: saturate(0.88);
  object-fit: cover;
}

.project-card:hover .card-media img {
  transform: scale(1.035);
  filter: saturate(1.05);
}

.card-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(5, 7, 11, 0.02) 15%, rgba(5, 7, 11, 0.35) 50%, rgba(5, 7, 11, 0.97) 100%);
}

.card-copy {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: clamp(28px, 5vw, 58px);
}

.project-card:not(:first-child) .card-copy {
  padding: 34px;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 12px;
  gap: 8px 14px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-copy h3 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 5.2rem);
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.project-card:not(:first-child) h3 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.card-copy p {
  max-width: 650px;
  margin: 18px 0 22px;
  color: #c8ced9;
}

.hosting-panel,
.contact-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #121a27, #0b1018);
  box-shadow: var(--shadow);
}

.hosting-panel {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  min-height: 620px;
  align-items: center;
}

.hosting-copy {
  padding: clamp(38px, 6vw, 76px);
}

.hosting-copy h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 5.7rem);
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.hosting-copy p,
.contact-copy p {
  max-width: 560px;
  margin: 24px 0 30px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hosting-visual {
  height: 100%;
  min-height: 500px;
  padding: 40px;
}

.hosting-visual img {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  object-fit: cover;
}

.contact-card {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  padding: clamp(28px, 5vw, 66px);
  align-items: center;
  gap: clamp(30px, 6vw, 80px);
}

.contact-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: calc(var(--radius-lg) - 10px);
}

.contact-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-portrait::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: inherit;
  content: "";
}

.story-intro {
  background: linear-gradient(180deg, var(--bg), #0a0e15 58%, var(--bg));
}

.story-chapter {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.75fr);
  min-height: 120vh;
  padding-block: 14vh;
  align-items: start;
  gap: clamp(36px, 8vw, 110px);
}

.story-chapter.reverse {
  grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1.15fr);
}

.story-chapter.reverse .story-media {
  grid-column: 2;
}

.story-chapter.reverse .story-copy {
  grid-row: 1;
  grid-column: 1;
}

.story-media {
  position: sticky;
  top: calc(var(--nav-height) + 5vh);
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.story-media img {
  width: 100%;
  max-height: 78vh;
  cursor: zoom-in;
  object-fit: cover;
}

.parallax-media img {
  transform: scale(1.08) translate3d(0, var(--parallax, 0px), 0);
  will-change: transform;
}

.story-copy {
  position: sticky;
  top: 28vh;
  padding-top: 12px;
}

.chapter-number {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.story-copy h2,
.story-copy h3 {
  margin: 14px 0 20px;
  font-size: clamp(2.5rem, 5.7vw, 5.3rem);
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.story-copy p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
}

.modal,
.lightbox {
  position: fixed;
  z-index: 90;
  inset: 0;
  display: grid;
  padding: 20px;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
  background: rgba(2, 4, 7, 0.76);
  opacity: 0;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  place-items: center;
}

.modal.is-open,
.lightbox.is-open {
  visibility: visible;
  opacity: 1;
}

.modal-card {
  width: min(560px, 100%);
  max-height: calc(100svh - 40px);
  overflow: auto;
  padding: clamp(24px, 5vw, 42px);
  transform: translateY(18px) scale(0.97);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #101620;
  box-shadow: var(--shadow);
  transition: transform 220ms ease;
}

.modal.is-open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 20px;
}

.modal-head h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.icon-button {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.form-grid {
  display: grid;
  gap: 17px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field label {
  color: #d8dde6;
  font-size: 0.82rem;
  font-weight: 650;
}

.form-field input,
.form-field textarea,
.newsletter-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 15px;
  outline: 0;
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
}

.form-field input,
.newsletter-form input {
  min-height: 50px;
  padding: 0 15px;
}

.form-field textarea {
  min-height: 130px;
  padding: 14px 15px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus,
.newsletter-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(99, 179, 255, 0.12);
}

.lightbox {
  cursor: zoom-out;
}

.lightbox img {
  max-width: min(1450px, 96vw);
  max-height: 90vh;
  border-radius: 18px;
  box-shadow: var(--shadow);
  object-fit: contain;
}

.lightbox .icon-button {
  position: absolute;
  top: 20px;
  right: 20px;
}

.site-footer {
  padding: 48px 0 34px;
  border-top: 1px solid var(--line);
  background: #05070b;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 30px;
  gap: 30px;
}

.footer-mark {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 680;
  letter-spacing: -0.04em;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.social-links a {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #d5dae3;
  font-size: 0.78rem;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.social-links a:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--subtle);
  font-size: 0.76rem;
  gap: 20px;
}

/* Skimego */
.skimego-page {
  --accent: #b8f43c;
  --accent-2: #6c56ff;
  background: #f3f5ee;
  color: #171b16;
  color-scheme: light;
}

.skimego-page::before {
  background: linear-gradient(90deg, #b8f43c, #765cff);
}

.skimego-page .site-nav {
  color: #fff;
}

.skimego-hero .hero-media::after {
  background: linear-gradient(90deg, rgba(27, 21, 75, 0.92), rgba(30, 25, 83, 0.55) 52%, rgba(20, 24, 34, 0.18));
}

.skimego-hero .display {
  max-width: 850px;
  font-size: clamp(3.6rem, 9vw, 8.3rem);
}

.sk-section {
  padding: clamp(86px, 11vw, 150px) 0;
}

.sk-section h2 {
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 6rem);
  letter-spacing: -0.055em;
  line-height: 0.96;
}

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

.experience-card {
  padding: 28px;
  border: 1px solid rgba(20, 25, 18, 0.11);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(33, 40, 28, 0.08);
}

.experience-card img {
  width: 92px;
  height: 92px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: #ecefe8;
  object-fit: contain;
}

.experience-card h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.experience-card p {
  margin: 0;
  color: #5c6458;
}

.app-feature {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  overflow: hidden;
  border-radius: 42px;
  background: #261c68;
  color: #fff;
  align-items: center;
}

.app-feature-visual {
  display: grid;
  min-height: 620px;
  padding: 50px 30px 0;
  background: radial-gradient(circle at 50% 35%, #7d66ff, transparent 58%);
  place-items: end center;
}

.app-feature-visual img {
  max-height: 560px;
}

.app-feature-copy {
  padding: clamp(36px, 7vw, 90px);
}

.app-feature-copy p {
  max-width: 520px;
  color: #d2ccf0;
  font-size: 1.13rem;
}

.newsletter {
  background: #171b16;
  color: #fff;
}

.newsletter-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: end;
  gap: 70px;
}

.newsletter-form {
  display: flex;
  margin-top: 28px;
  gap: 10px;
}

.sk-social {
  display: flex;
  gap: 14px;
}

.sk-social img {
  width: 28px;
  height: 28px;
}

/* Legal pages */
.legal-page {
  background: #080a10;
}

.legal-hero {
  position: relative;
  min-height: 58svh;
  padding: calc(var(--nav-height) + 110px) 0 80px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.legal-hero::before {
  position: absolute;
  top: 50%;
  right: -8vw;
  width: min(510px, 60vw);
  height: min(510px, 60vw);
  content: "";
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(110, 87, 255, 0.29), transparent 67%);
  filter: blur(12px);
}

.legal-logo {
  width: 76px;
  height: 76px;
  margin-bottom: 30px;
  border-radius: 21px;
  object-fit: cover;
}

.legal-hero h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(3.3rem, 9vw, 8.4rem);
  letter-spacing: -0.065em;
  line-height: 0.88;
}

.legal-hero p {
  max-width: 760px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.06rem, 2vw, 1.34rem);
}

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

.legal-clause {
  min-height: 280px;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
}

.legal-clause .clause-number {
  display: inline-grid;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(125, 107, 255, 0.18);
  color: #bdb4ff;
  font-size: 0.8rem;
  font-weight: 700;
  place-items: center;
}

.legal-clause h2 {
  margin: 26px 0 13px;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.legal-clause p {
  margin: 0;
  color: var(--muted);
}

/* Quintech scroll deck */
.quintech-page {
  --slide-accent: #8de8ff;
  overflow-x: hidden;
  background: #060713;
  scroll-snap-type: y proximity;
}

.deck-nav {
  position: fixed;
  z-index: 30;
  top: 50%;
  right: 20px;
  display: grid;
  transform: translateY(-50%);
  gap: 8px;
}

.deck-nav a {
  width: 9px;
  height: 9px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  background: transparent;
  transition: transform 180ms ease, background 180ms ease;
}

.deck-nav a.is-active {
  transform: scale(1.45);
  background: #fff;
}

.deck-back {
  position: fixed;
  z-index: 30;
  top: 18px;
  left: 20px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 8, 18, 0.56);
  color: #fff;
  font-size: 0.78rem;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.deck-slide {
  position: relative;
  display: grid;
  min-height: 100svh;
  padding: clamp(80px, 10vw, 130px) max(30px, calc((100vw - 1180px) / 2));
  overflow: hidden;
  scroll-snap-align: start;
  isolation: isolate;
  place-items: center;
}

.deck-slide::before,
.deck-slide::after {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  content: "";
  filter: blur(4px);
}

.deck-slide::before {
  top: -28vw;
  left: -20vw;
  width: 64vw;
  height: 64vw;
  background: radial-gradient(circle, var(--orb-a), transparent 68%);
}

.deck-slide::after {
  right: -18vw;
  bottom: -30vw;
  width: 65vw;
  height: 65vw;
  background: radial-gradient(circle, var(--orb-b), transparent 68%);
}

.slide-1 { --orb-a: rgba(73, 83, 255, .58); --orb-b: rgba(132, 72, 255, .42); background: #090b22; }
.slide-2 { --orb-a: rgba(255, 76, 106, .48); --orb-b: rgba(255, 151, 91, .38); background: #190a15; }
.slide-3 { --orb-a: rgba(255, 112, 76, .46); --orb-b: rgba(255, 194, 104, .4); background: #170d0a; }
.slide-4 { --orb-a: rgba(0, 195, 255, .45); --orb-b: rgba(24, 87, 255, .48); background: #061122; }
.slide-5 { --orb-a: rgba(177, 53, 255, .44); --orb-b: rgba(255, 53, 85, .44); background: #160716; }
.slide-6 { --orb-a: rgba(102, 211, 75, .42); --orb-b: rgba(188, 238, 87, .36); background: #0b1608; }
.slide-7 { --orb-a: rgba(255, 154, 30, .52); --orb-b: rgba(255, 221, 55, .34); background: #181006; }
.slide-8 { --orb-a: rgba(139, 56, 255, .45); --orb-b: rgba(57, 28, 229, .48); background: #0d071b; }
.slide-9 { --orb-a: rgba(255, 82, 39, .48); --orb-b: rgba(255, 187, 61, .36); background: #180c07; }
.slide-10 { --orb-a: rgba(47, 219, 223, .43); --orb-b: rgba(72, 102, 232, .48); background: #06121c; }

.slide-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  width: 100%;
  max-width: 1180px;
  align-items: center;
  gap: clamp(40px, 8vw, 110px);
}

.slide-title-only {
  display: block;
  max-width: 1040px;
  text-align: center;
}

.slide-copy .eyebrow {
  color: rgba(255, 255, 255, 0.62);
}

.slide-copy h1,
.slide-copy h2 {
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 8rem);
  letter-spacing: -0.065em;
  line-height: 0.88;
  text-wrap: balance;
}

.slide-copy h2 {
  font-size: clamp(2.8rem, 6vw, 5.9rem);
}

.slide-copy p,
.slide-copy li {
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1rem, 1.65vw, 1.2rem);
}

.slide-copy ul {
  padding-left: 1.2em;
}

.slide-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
  gap: 18px;
}

.slide-visual img {
  max-width: 48%;
  max-height: 360px;
  border-radius: 28px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3);
  object-fit: contain;
}

.slide-visual img:only-child {
  max-width: 86%;
}

.slide-slogan {
  margin-top: 38px !important;
  color: #fff !important;
  font-size: 0.82rem !important;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* 404 and PDF */
.error-page,
.pdf-page {
  display: grid;
  min-height: 100svh;
  place-items: center;
}

.error-orb {
  position: absolute;
  width: min(560px, 80vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 32%, #7fbfff, #3830a8 43%, transparent 70%);
  filter: blur(8px);
  opacity: 0.62;
  animation: float 8s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate3d(-7%, -4%, 0) scale(.94); }
  50% { transform: translate3d(8%, 5%, 0) scale(1.05); }
}

.error-content {
  position: relative;
  z-index: 1;
  max-width: 880px;
  padding: 30px;
  text-align: center;
}

.error-code {
  margin: 0;
  font-size: clamp(8rem, 30vw, 24rem);
  font-weight: 760;
  letter-spacing: -0.1em;
  line-height: 0.72;
  color: rgba(255, 255, 255, 0.12);
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.34);
}

.error-content h1 {
  margin: -1vw 0 14px;
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: -0.045em;
}

.error-content p,
.error-content ul {
  color: var(--muted);
}

.error-asides {
  display: flex;
  justify-content: center;
  margin: 28px 0 12px !important;
  gap: 12px;
}

.error-asides span {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  font-size: .72rem;
}

.error-content ul {
  display: inline-block;
  margin: 8px auto 28px;
  text-align: left;
}

.pdf-page {
  display: block;
  padding-top: var(--nav-height);
  background: #11151d;
}

.pdf-frame {
  width: 100%;
  height: calc(100svh - var(--nav-height));
  border: 0;
  background: #fff;
}

.pdf-fallback {
  padding: 40px;
  text-align: center;
}

/* Reveal motion */
.js [data-reveal] {
  transform: translate3d(0, 38px, 0);
  transition: opacity 750ms cubic-bezier(.2, .7, .2, 1), transform 750ms cubic-bezier(.2, .7, .2, 1);
  opacity: 0;
}

.js [data-reveal="left"] {
  transform: translate3d(-44px, 0, 0);
}

.js [data-reveal="right"] {
  transform: translate3d(44px, 0, 0);
}

.js [data-reveal].is-visible {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

@media (max-width: 900px) {
  :root {
    --shell: min(100% - 28px, 720px);
    --radius-lg: 30px;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .mobile-panel {
    position: absolute;
    top: calc(var(--nav-height) + 8px);
    right: 14px;
    left: 14px;
    display: grid;
    padding: 12px;
    visibility: hidden;
    transform: translateY(-10px) scale(0.985);
    border: 1px solid var(--line);
    border-radius: 23px;
    background: rgba(9, 12, 18, 0.94);
    box-shadow: var(--shadow);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    opacity: 0;
    -webkit-backdrop-filter: blur(22px);
    backdrop-filter: blur(22px);
  }

  .mobile-panel.is-open {
    visibility: visible;
    transform: translateY(0) scale(1);
    opacity: 1;
  }

  .mobile-panel a {
    padding: 13px 14px;
    border-radius: 13px;
    color: #e9edf4;
  }

  .mobile-panel a:hover {
    background: rgba(255, 255, 255, 0.08);
  }

  .hero-content {
    padding-bottom: 100px;
  }

  .scroll-cue {
    display: none;
  }

  .section-header {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .project-card,
  .project-card:first-child {
    grid-column: span 12;
    min-height: 620px;
  }

  .hosting-panel,
  .contact-card,
  .app-feature,
  .newsletter-grid {
    grid-template-columns: 1fr;
  }

  .hosting-visual {
    min-height: 380px;
    padding: 0 20px 20px;
  }

  .contact-portrait {
    max-height: 560px;
  }

  .story-chapter,
  .story-chapter.reverse {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-block: 70px;
  }

  .story-chapter.reverse .story-media,
  .story-chapter.reverse .story-copy {
    grid-row: auto;
    grid-column: auto;
  }

  .story-media,
  .story-copy {
    position: relative;
    top: auto;
  }

  .story-copy {
    padding: 6px 4px 0;
  }

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

  .app-feature-visual {
    min-height: 470px;
    order: 2;
  }

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

  .slide-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .slide-copy ul {
    display: inline-block;
    text-align: left;
  }

  .slide-visual {
    min-height: 220px;
  }

  .slide-visual img {
    max-height: 230px;
  }
}

@media (max-width: 620px) {
  .display {
    font-size: clamp(3.25rem, 17vw, 5.6rem);
  }

  .hero-lede {
    font-size: 1rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .project-card,
  .project-card:first-child {
    min-height: 570px;
  }

  .card-copy,
  .project-card:not(:first-child) .card-copy {
    padding: 25px;
  }

  .contact-card {
    padding: 18px;
  }

  .footer-top,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .deck-nav {
    display: none;
  }

  .deck-slide {
    min-height: 100svh;
    padding: 86px 22px 50px;
  }

  .slide-inner {
    gap: 22px;
  }

  .slide-copy h1 {
    font-size: clamp(3.2rem, 18vw, 5.2rem);
  }

  .slide-copy h2 {
    font-size: clamp(2.5rem, 13vw, 4rem);
  }

  .slide-copy p,
  .slide-copy li {
    font-size: 0.92rem;
  }

  .slide-visual img {
    max-height: 170px;
    border-radius: 18px;
  }

  .legal-hero {
    min-height: auto;
    padding-top: calc(var(--nav-height) + 70px);
  }
}

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

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

  .hero-media img,
  .parallax-media img {
    transform: none !important;
  }

  .js [data-reveal] {
    transform: none;
    opacity: 1;
  }
}
