:root {
  --bg: #07111a;
  --bg-soft: #102031;
  --bg-deep: #040b13;
  --ink: #142536;
  --cream: #e6f0f6;
  --text: #edf5fa;
  --muted: #9ab0c3;
  --muted-dark: rgba(20, 37, 54, 0.72);
  --accent: #69d8cf;
  --accent-cool: #8bb6ff;
  --accent-warm: #9ad8f6;
  --glass-fill: rgba(8, 17, 27, 0.72);
  --glass-fill-soft: rgba(8, 17, 27, 0.58);
  --glass-border: rgba(181, 223, 248, 0.12);
  --glass-border-strong: rgba(181, 223, 248, 0.18);
  --panel-light-top: rgba(232, 242, 248, 0.88);
  --panel-light-bottom: rgba(214, 228, 238, 0.68);
  --panel-light-solid: rgba(218, 230, 239, 0.58);
  --line-dark: rgba(20, 37, 54, 0.08);
  --line-dark-soft: rgba(20, 37, 54, 0.05);
  --shadow-soft: 0 30px 80px rgba(0, 0, 0, 0.26);
  --shadow-card: 0 24px 60px rgba(0, 0, 0, 0.16);
  --radius-xl: 34px;
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --max-width: 1220px;
  --header-offset: 110px;
  --page-progress: 0;
  --hero-progress: 0;
  --hero-copy-scale: 1;
  --hero-copy-shift: 0px;
  --hero-meta-opacity: 1;
  --hero-film-scale: 0.84;
  --hero-film-shift-y: 24px;
  --hero-film-radius: 38px;
  --hero-film-opacity: 1;
  --hero-film-visibility: 1;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Avenir Next", "SF Pro Display", "Segoe UI", sans-serif;
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 16% 18%, rgba(105, 216, 207, 0.18), transparent 18rem),
    radial-gradient(circle at 84% 14%, rgba(154, 216, 246, 0.16), transparent 22rem),
    radial-gradient(circle at 76% 54%, rgba(139, 182, 255, 0.15), transparent 24rem),
    linear-gradient(180deg, #06111a 0%, #0b1725 44%, #050b14 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.016) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: 0.32;
  pointer-events: none;
  z-index: -3;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.04), transparent 42%),
    url("assets/images/textures.webp") center / cover no-repeat;
  mix-blend-mode: soft-light;
  opacity: 0.028;
  filter: blur(18px) saturate(0.74);
  transform: scale(1.08);
  pointer-events: none;
  z-index: -2;
}

[id] {
  scroll-margin-top: 120px;
}

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

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

canvas {
  display: block;
}

.ambient {
  position: fixed;
  width: 34rem;
  height: 34rem;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.32;
  pointer-events: none;
  z-index: -4;
}

.ambient--one {
  top: -10rem;
  left: -8rem;
  background: rgba(105, 216, 207, 0.24);
}

.ambient--two {
  top: 14rem;
  right: -10rem;
  background: rgba(154, 216, 246, 0.22);
}

.ambient--three {
  bottom: -10rem;
  left: 42%;
  background: rgba(139, 182, 255, 0.18);
}

.scroll-film {
  position: fixed;
  inset: 0;
  display: grid;
  justify-items: center;
  align-items: start;
  padding: calc(var(--header-offset) + 0.75rem) 12px 18px;
  pointer-events: none;
  overflow: clip;
  z-index: 0;
  opacity: var(--hero-film-visibility);
  transition: opacity 200ms ease;
}

.scroll-film__wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 18%, rgba(105, 216, 207, 0.14), transparent 20rem),
    radial-gradient(circle at 88% 30%, rgba(154, 216, 246, 0.12), transparent 24rem),
    linear-gradient(180deg, rgba(4, 11, 19, 0.08), rgba(4, 11, 19, 0.32));
  opacity: calc(0.3 + (var(--hero-film-visibility) * 0.7));
}

.scroll-film__canvas-wrap {
  position: relative;
  width: min(68vw, 860px);
  max-width: calc(100vw - 24px);
  aspect-ratio: 16 / 10;
  opacity: var(--hero-film-opacity);
  overflow: hidden;
  border-radius: var(--hero-film-radius);
  border: 1px solid var(--glass-border);
  background:
    linear-gradient(145deg, rgba(230, 240, 246, 0.12), rgba(255, 255, 255, 0.03)),
    rgba(8, 17, 27, 0.44);
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(22px) saturate(1.2);
  transform:
    translate3d(0, var(--hero-film-shift-y), 0)
    scale(var(--hero-film-scale));
  transform-origin: center center;
  will-change: transform, opacity, border-radius;
  transition:
    border-radius 180ms linear,
    opacity 180ms linear,
    transform 120ms linear;
}

.scroll-film__canvas-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.22), transparent 26%, transparent 68%, rgba(255, 255, 255, 0.06)),
    linear-gradient(180deg, rgba(4, 9, 19, 0.04), rgba(4, 9, 19, 0.38));
  pointer-events: none;
}

.scroll-film__canvas-wrap canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #08111c;
}

.scroll-film__glow {
  position: absolute;
  inset: auto -10% -18% 16%;
  height: 38%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(105, 216, 207, 0.18), transparent 68%);
  filter: blur(38px);
  z-index: 1;
}

.scroll-film__scanlines {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05) 0,
    rgba(255, 255, 255, 0.02) 1px,
    transparent 2px,
    transparent 6px
  );
  opacity: 0.12;
  mix-blend-mode: screen;
}

.scroll-film__hud {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--glass-fill-soft);
  border: 1px solid var(--glass-border);
  color: rgba(237, 245, 250, 0.9);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
  opacity: calc(0.46 + (var(--hero-meta-opacity) * 0.54));
}

.site-header {
  position: fixed;
  top: 18px;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 0 12px;
}

.dynamic-island {
  width: min(900px, calc(100vw - 24px));
  margin: 0 auto;
  padding: 12px 12px 10px;
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
  border-radius: 34px;
  backdrop-filter: blur(22px) saturate(1.35);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.32);
  transition:
    transform 280ms ease,
    background-color 280ms ease,
    border-color 280ms ease;
}

.dynamic-island.is-scrolled {
  transform: translateY(-2px);
  background: rgba(8, 17, 27, 0.84);
  border-color: var(--glass-border-strong);
}

.dynamic-island__core {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.brand-mark__orb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-cool));
  box-shadow: 0 0 18px rgba(105, 216, 207, 0.42);
}

.brand-mark__name {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dynamic-island__signal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
}

.dynamic-island__pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cool), var(--accent));
  box-shadow: 0 0 18px rgba(139, 182, 255, 0.36);
  animation: pulse 2.6s infinite ease-in-out;
}

.dynamic-island__toggle {
  border: 0;
  border-radius: 999px;
  min-height: 44px;
  padding: 0 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

.dynamic-island__expanded {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 280ms ease,
    opacity 200ms ease,
    margin-top 280ms ease;
}

.dynamic-island:hover .dynamic-island__expanded,
.dynamic-island:focus-within .dynamic-island__expanded,
.dynamic-island.is-open .dynamic-island__expanded {
  margin-top: 12px;
  max-height: 120px;
  opacity: 1;
}

.nav-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid rgba(181, 223, 248, 0.08);
  border-radius: 18px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  transition:
    transform 200ms ease,
    background-color 200ms ease,
    color 200ms ease,
    border-color 200ms ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-current {
  color: var(--text);
  background: rgba(181, 223, 248, 0.08);
  border-color: var(--glass-border-strong);
  transform: translateY(-1px);
}

.dynamic-island__progress {
  margin-top: 10px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.dynamic-island__progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-warm), var(--accent-cool));
}

.portfolio-main {
  position: relative;
  z-index: 1;
}

.section {
  position: relative;
  padding: 8rem 0;
}

@supports (content-visibility: auto) {
  .section {
    content-visibility: auto;
    contain-intrinsic-size: 920px;
  }

  .hero-scroll {
    content-visibility: visible;
    contain-intrinsic-size: auto;
  }
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 17, 27, 0.16), rgba(8, 17, 27, 0.08));
}

.section--light::before {
  background:
    linear-gradient(180deg, rgba(231, 241, 247, 0.82), rgba(217, 229, 238, 0.72)),
    radial-gradient(circle at 20% 10%, rgba(105, 216, 207, 0.12), transparent 20rem);
  backdrop-filter: blur(14px);
}

.section--contact::before {
  background: linear-gradient(180deg, rgba(8, 17, 27, 0.06), rgba(8, 17, 27, 0.18));
}

.section-shell {
  position: relative;
  z-index: 2;
  width: min(var(--max-width), calc(100vw - 2rem));
  margin: 0 auto;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2.8rem;
}

.section-kicker {
  margin: 0 0 0.9rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section-kicker--dark {
  color: rgba(20, 37, 54, 0.58);
}

.section-heading h2,
.hero-copy h1,
.contact-panel h2 {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.section-heading h2 {
  font-size: clamp(2.15rem, 4vw, 3.7rem);
}

.section-lead,
.hero-copy__lead,
.contact-panel p {
  max-width: 62ch;
  margin-top: 1.2rem;
  color: inherit;
  opacity: 0.82;
  font-size: 1.02rem;
}

.hero-scroll {
  min-height: 210vh;
  padding-top: 0;
  padding-bottom: 10rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  align-items: end;
  gap: clamp(1.4rem, 2.8vw, 2.5rem);
  position: sticky;
  top: calc(var(--header-offset) + 0.9rem);
  min-height: calc(100vh - var(--header-offset) - 1.6rem);
}

.hero-copy {
  max-width: 760px;
  align-self: end;
  padding-bottom: clamp(1rem, 4vh, 2.4rem);
  transform: translateY(var(--hero-copy-shift)) scale(var(--hero-copy-scale));
  transform-origin: left bottom;
  will-change: transform;
}

.hero-copy .section-kicker {
  color: rgba(237, 245, 250, 0.62);
  opacity: calc(0.6 + (var(--hero-meta-opacity) * 0.4));
}

.hero-copy h1 {
  max-width: 11.6ch;
  text-shadow: 0 16px 50px rgba(0, 0, 0, 0.28);
}

.hero-copy__lead,
.hero-badges,
.hero-links,
.hero-side {
  opacity: var(--hero-meta-opacity);
  transform: translateY(calc((1 - var(--hero-meta-opacity)) * 18px));
  transition:
    opacity 120ms linear,
    transform 120ms linear;
}

.hero-side {
  width: min(100%, 360px);
  justify-self: end;
  align-self: center;
  padding: 1.35rem;
  background:
    linear-gradient(180deg, rgba(181, 223, 248, 0.1), rgba(255, 255, 255, 0.03)),
    rgba(8, 17, 27, 0.74);
  border: 1px solid rgba(181, 223, 248, 0.1);
  box-shadow:
    0 28px 70px rgba(4, 10, 18, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero-side__eyebrow {
  margin: 0 0 0.7rem;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(237, 245, 250, 0.58);
}

.hero-side h3 {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero-note__eyebrow {
  margin: 0 0 0.8rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(237, 245, 250, 0.68);
}

.hero-note h3 {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-note p:not(.hero-note__eyebrow) {
  margin: 0.8rem 0 0;
  color: var(--muted);
}

.hero-transfer {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.35rem;
  color: rgba(237, 245, 250, 0.7);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: calc(0.34 + (var(--hero-progress) * 0.66));
}

#about {
  margin-top: -10vh;
  padding-top: 11rem;
  z-index: 2;
  overflow: clip;
}

#about::before {
  border-radius: 34px 34px 0 0;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.45rem;
}

.hero-badges--dark {
  margin-top: 1.8rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 36px;
  padding: 0 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: rgba(181, 223, 248, 0.06);
  color: rgba(237, 245, 250, 0.92);
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
}

.chip--dark {
  color: var(--ink);
  background: var(--line-dark-soft);
  border-color: var(--line-dark);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.7rem;
}

.hero-actions--side {
  flex-direction: column;
  align-items: stretch;
  margin-top: 1.2rem;
}

.hero-actions--side .button {
  width: 100%;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.35rem;
  max-width: 760px;
}

.hero-facts--side {
  grid-template-columns: 1fr;
  max-width: none;
  margin-top: 1rem;
}

.hero-fact {
  padding: 0.95rem 1rem 1rem;
  border-radius: 20px;
  background: rgba(181, 223, 248, 0.06);
  border: 1px solid rgba(181, 223, 248, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero-fact strong {
  display: block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(237, 245, 250, 0.58);
}

.hero-fact span {
  display: block;
  margin-top: 0.45rem;
  color: rgba(237, 245, 250, 0.92);
  font-size: 0.94rem;
  line-height: 1.35;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.hero-proof__item {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 0.9rem;
  border-radius: 999px;
  background: rgba(181, 223, 248, 0.05);
  border: 1px solid rgba(181, 223, 248, 0.1);
  color: rgba(237, 245, 250, 0.86);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-links--side {
  margin-top: 1rem;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 0 1.3rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-cool));
  color: var(--bg-deep);
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 18px 40px rgba(105, 216, 207, 0.18);
  transition: transform 180ms ease;
}

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

.button--ghost {
  background: rgba(181, 223, 248, 0.06);
  color: var(--text);
  box-shadow: none;
  border: 1px solid var(--glass-border);
}

.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: inherit;
  font-weight: 600;
  opacity: 0.88;
}

.text-link::after {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg) translateY(1px);
}

.hero-links,
.contact-links,
.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.metric-card {
  padding: 1rem 1rem 1.1rem;
  border-radius: 20px;
  background: rgba(181, 223, 248, 0.06);
  border: 1px solid rgba(181, 223, 248, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.metric-card strong {
  display: block;
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.metric-card span {
  display: block;
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.panel {
  padding: 1.35rem;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(181, 223, 248, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(8, 17, 27, 0.72);
  border: 1px solid rgba(181, 223, 248, 0.08);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.panel--light {
  background:
    linear-gradient(180deg, var(--panel-light-top), var(--panel-light-bottom)),
    var(--panel-light-solid);
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow-card);
}

.story-grid,
.proof-grid,
.concept-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.portrait-panel__media {
  overflow: hidden;
  border-radius: 24px;
  aspect-ratio: 1 / 1.12;
}

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

.portrait-panel__copy {
  padding: 1rem 0.15rem 0.1rem;
}

.portrait-panel__copy h3,
.showcase-card__copy h3,
.capability-card h3,
.proof-panel h3 {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.portrait-panel__copy p,
.showcase-card__copy p,
.capability-card p,
.proof-panel p,
.concept-copy__note,
.story-panel p {
  margin: 0.9rem 0 0;
  color: inherit;
  opacity: 0.82;
}

.story-panel {
  padding: 1.65rem;
}

.story-panel--accent {
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(105, 216, 207, 0.16), transparent 20rem),
    radial-gradient(circle at bottom right, rgba(139, 182, 255, 0.14), transparent 18rem),
    linear-gradient(160deg, rgba(10, 22, 34, 0.96), rgba(7, 15, 24, 0.96));
  border: 1px solid rgba(181, 223, 248, 0.12);
  box-shadow:
    0 28px 70px rgba(4, 10, 18, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.story-panel--accent p {
  color: rgba(237, 245, 250, 0.9);
  opacity: 1;
}

.story-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}

.story-stats div {
  padding: 1rem;
  border-radius: 20px;
  background: var(--line-dark-soft);
  border: 1px solid var(--line-dark);
}

.story-panel--accent .story-stats div {
  background: rgba(181, 223, 248, 0.06);
  border-color: rgba(181, 223, 248, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.story-stats strong,
.proof-stats strong {
  display: block;
  font-size: 1rem;
}

.story-stats span,
.proof-stats span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted-dark);
  font-size: 0.92rem;
}

.story-panel--accent .story-stats strong {
  color: rgba(237, 245, 250, 0.94);
}

.story-panel--accent .story-stats span {
  color: rgba(237, 245, 250, 0.72);
}

.story-panel--accent .chip--dark {
  color: rgba(237, 245, 250, 0.92);
  background: rgba(181, 223, 248, 0.07);
  border-color: rgba(181, 223, 248, 0.12);
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.showcase-card--wide {
  grid-column: span 2;
}

.showcase-card__copy,
.capability-card,
.proof-panel,
.contact-panel {
  padding: 1rem 0.1rem 0.2rem;
}

.showcase-card__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.95rem;
}

.browser-shot,
.media-card,
.capability-card__media,
.concept-visual__hero,
.concept-visual__support {
  overflow: hidden;
  border-radius: 24px;
}

.browser-shot {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0b1825;
  border: 1px solid rgba(181, 223, 248, 0.08);
}

.browser-shot__bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  gap: 0.45rem;
  align-items: center;
  padding: 14px 16px;
  background: linear-gradient(180deg, rgba(8, 17, 27, 0.76), rgba(8, 17, 27, 0.24));
}

.browser-shot__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
}

.browser-shot img,
.media-card img,
.capability-card__media img,
.concept-visual__hero img,
.concept-visual__support img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.browser-shot--soft img {
  filter: saturate(0.92) contrast(0.92);
}

.browser-shot__overlay {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: rgba(8, 17, 27, 0.68);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
}

.browser-shot__overlay span {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(237, 245, 250, 0.72);
}

.browser-shot__overlay p {
  margin: 0.4rem 0 0;
  color: var(--text);
  font-size: 0.92rem;
}

.browser-shot--warm::after,
.browser-shot--cool::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 48%;
  background: linear-gradient(180deg, transparent, rgba(8, 17, 27, 0.32));
}

.media-card {
  aspect-ratio: 16 / 10;
}

.media-card--dark {
  background: #09131d;
}

.craft-section {
  overflow: hidden;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.capability-card__media {
  aspect-ratio: 4 / 3.2;
  margin-bottom: 1rem;
  background: rgba(181, 223, 248, 0.04);
}

.section--concept {
  overflow: hidden;
}

.concept-visual__hero {
  aspect-ratio: 4 / 5.4;
}

.concept-visual__support {
  margin-top: 1rem;
  aspect-ratio: 16 / 9;
}

.concept-copy {
  padding: 1.65rem;
}

.concept-copy__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.concept-steps {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.concept-steps li {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 1rem 1rem 1.1rem;
  border-radius: 20px;
  background: var(--line-dark-soft);
  border: 1px solid var(--line-dark);
}

.concept-steps strong {
  font-size: 1rem;
}

.concept-steps span {
  color: var(--muted-dark);
}

.logo-orbit-card {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 640px;
}

.logo-orbit {
  position: relative;
  width: min(100%, 560px);
  aspect-ratio: 1 / 1;
}

.logo-orbit__ring {
  position: absolute;
  inset: 0;
  animation: spin 24s linear infinite;
  will-change: transform;
}

.orbit-item {
  position: absolute;
  width: 180px;
  height: 180px;
  padding: 0.8rem;
  border-radius: 28px;
  background: rgba(181, 223, 248, 0.08);
  border: 1px solid rgba(181, 223, 248, 0.1);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.orbit-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
}

.orbit-item--north {
  top: 0;
  left: 50%;
  transform: translate(-50%, 0);
}

.orbit-item--east {
  top: 50%;
  right: 0;
  transform: translate(0, -50%);
}

.orbit-item--south {
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 0);
}

.orbit-item--west {
  top: 50%;
  left: 0;
  transform: translate(0, -50%);
}

.logo-orbit__core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(56%, 290px);
  padding: 1rem;
  border-radius: 32px;
  background: rgba(8, 17, 27, 0.8);
  border: 1px solid var(--glass-border);
  transform: translate(-50%, -50%);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.logo-orbit__core img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 24px;
}

.logo-orbit__core p {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.proof-panel {
  padding: 1.6rem;
}

.proof-stats {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.3rem;
}

.proof-stats div {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(181, 223, 248, 0.05);
  border: 1px solid rgba(181, 223, 248, 0.08);
}

.proof-stats span {
  color: var(--muted);
}

.proof-stats .text-link {
  margin-top: 0.7rem;
}

.cert-marquee {
  margin-top: 1.25rem;
  overflow: hidden;
  padding: 1rem;
}

.proof-support-grid {
  margin-top: 1.25rem;
}

.cert-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: marquee 28s linear infinite;
  will-change: transform;
}

.cert-card {
  width: 320px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(181, 223, 248, 0.08);
  background: rgba(181, 223, 248, 0.05);
}

.cert-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-panel {
  padding: clamp(1.7rem, 4vw, 2.8rem);
  text-align: left;
}

.contact-panel h2 {
  font-size: clamp(2.2rem, 4.4vw, 4rem);
}

.contact-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.6rem;
}

.contact-card {
  display: grid;
  gap: 0.55rem;
  padding: 1.15rem 1.2rem;
  border-radius: 24px;
  border: 1px solid rgba(181, 223, 248, 0.1);
  background:
    linear-gradient(180deg, rgba(181, 223, 248, 0.08), rgba(181, 223, 248, 0.04)),
    rgba(8, 17, 27, 0.56);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.contact-card:hover,
.contact-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--glass-border-strong);
}

.contact-card__eyebrow,
.contact-meta__label {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(237, 245, 250, 0.58);
}

.contact-card strong {
  font-size: 1.25rem;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.contact-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.contact-meta {
  margin-top: 1.8rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

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

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.25);
    opacity: 0.7;
  }
}

@media (max-width: 1120px) {
  .hero-grid,
  .story-grid,
  .proof-grid,
  .concept-grid,
  .contact-card-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
  }

  .hero-copy,
  .section-heading,
  .contact-panel {
    max-width: 760px;
  }

  .hero-grid {
    top: calc(var(--header-offset) + 0.6rem);
    min-height: calc(100vh - var(--header-offset) - 1rem);
  }

  .hero-copy__lead,
  .section-lead,
  .contact-panel p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-badges,
  .hero-facts,
  .hero-proof,
  .hero-links,
  .hero-side,
  .contact-actions,
  .contact-links {
    justify-content: center;
  }

  .hero-copy {
    text-align: center;
    transform-origin: center bottom;
  }

  .hero-side {
    justify-self: center;
    width: min(100%, 760px);
    text-align: center;
  }

  .hero-transfer {
    justify-content: center;
    gap: 1rem;
  }

  .hero-metrics {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-facts {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-links--side,
  .hero-proof--side {
    justify-content: center;
  }

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

@media (max-width: 860px) {
  .scroll-film {
    padding: calc(var(--header-offset) + 0.3rem) 10px 14px;
  }

  .scroll-film__canvas-wrap {
    width: calc(100vw - 20px);
    aspect-ratio: 4 / 5.15;
  }

  .dynamic-island__expanded {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .showcase-grid,
  .capability-grid,
  .story-stats,
  .hero-metrics,
  .hero-facts {
    grid-template-columns: 1fr;
  }

  .showcase-card--wide {
    grid-column: auto;
  }

  .logo-orbit-card {
    min-height: 520px;
  }

  .orbit-item {
    width: 130px;
    height: 130px;
  }

  .hero-scroll {
    min-height: 190svh;
    padding-bottom: 7rem;
  }

  #about {
    margin-top: -6vh;
    padding-top: 8.5rem;
  }
}

@media (max-width: 680px) {
  body::after {
    opacity: 0.02;
    filter: blur(12px) saturate(0.7);
  }

  .ambient {
    width: 28rem;
    height: 28rem;
    filter: blur(72px);
    opacity: 0.22;
  }

  .site-header {
    top: 10px;
    padding: 0 10px;
  }

  .dynamic-island {
    width: calc(100vw - 20px);
    border-radius: 28px;
  }

  .dynamic-island__core {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .brand-mark__name {
    display: none;
  }

  .dynamic-island__signal {
    justify-content: flex-start;
    overflow: hidden;
  }

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

  .section {
    padding: 5rem 0;
  }

  .hero-scroll {
    min-height: 176svh;
    padding-bottom: 5rem;
  }

  .hero-copy h1,
  .section-heading h2,
  .contact-panel h2 {
    line-height: 1;
  }

  .hero-copy {
    width: 100%;
    padding-inline: 0.25rem;
  }

  .hero-copy h1 {
    max-width: 10.4ch;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(2rem, 9.8vw, 3.2rem);
    letter-spacing: -0.06em;
  }

  .hero-copy__lead {
    max-width: 27ch;
    font-size: 0.96rem;
  }

  .scroll-film__hud {
    left: 12px;
    right: 12px;
    bottom: 12px;
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.74rem;
  }

  .contact-panel,
  .story-panel,
  .concept-copy,
  .proof-panel {
    padding: 1.25rem;
  }

  .hero-transfer {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }

  .chip {
    font-size: 0.8rem;
  }

  .hero-fact {
    padding: 0.9rem 0.95rem;
  }

  .hero-fact span {
    font-size: 0.9rem;
  }

  .hero-proof__item {
    font-size: 0.76rem;
    letter-spacing: 0.05em;
  }

  .hero-side {
    padding: 1.2rem;
  }

  .hero-side h3 {
    font-size: 1.38rem;
  }

  .logo-orbit {
    width: min(100%, 360px);
  }

  .logo-orbit__ring {
    animation-duration: 32s;
  }

  .orbit-item {
    width: 92px;
    height: 92px;
    padding: 0.45rem;
    border-radius: 20px;
  }

  .logo-orbit__core {
    width: min(58%, 220px);
    border-radius: 24px;
  }

  .cert-card {
    width: 260px;
  }

  .cert-track {
    animation-duration: 40s;
  }
}

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

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