:root {
  --header-space: 7.5rem;
  --scene-handoff-duration: 320ms;
  color-scheme: dark;
  --navy-950: #020b1c;
  --navy-900: #041632;
  --navy-800: #06275f;
  --blue-600: #0757ed;
  --blue-500: #0585ff;
  --cyan-400: #1ad8ff;
  --cyan-300: #45e9ff;
  --white: #f8fbff;
  --line: rgba(255, 255, 255, 0.78);
  --page-inline: clamp(1.35rem, 4.75vw, 5rem);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-snap-type: none;
  background: var(--navy-950);
}

/* One native document on every screen. The fixed stage owns only the scenery. */
.ambient-stage {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background: #041632;
  contain: layout paint;
}

.ambient-scene,
.scene-transition {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--scene-handoff-duration) linear,
    visibility 0s var(--scene-handoff-duration);
}

.ambient-scene.is-active,
.scene-transition.is-playing {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.ambient-stage video,
.ambient-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ambient-stage video {
  display: block;
  object-fit: cover;
  object-position: 50% center;
}

.ambient-shade {
  background: linear-gradient(180deg, rgba(1, 8, 22, .32), transparent 35%, rgba(1, 8, 22, .18));
}

.ambient-scene--start .ambient-shade {
  background:
    linear-gradient(90deg, rgba(2, 10, 27, .9), rgba(2, 15, 38, .7) 29%, rgba(3, 22, 53, .25) 56%, transparent 85%),
    linear-gradient(180deg, rgba(1, 8, 22, .2), transparent 40%, rgba(1, 9, 25, .18));
}

.scene-transition {
  z-index: 2;
  transition:
    opacity var(--scene-handoff-duration) linear,
    visibility 0s var(--scene-handoff-duration);
}

.scene-changing .ambient-scene,
.scene-changing .scene-transition {
  will-change: opacity;
}

.scene-transition.is-playing video {
  animation: travel-crop 2s linear both;
}

@keyframes travel-crop {
  from { object-position: var(--crop-from, 50%) center; }
  to { object-position: var(--crop-to, 50%) center; }
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  color: var(--white);
  background: var(--navy-950);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

.site-shell {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background:
    linear-gradient(93deg, rgba(2, 11, 28, 0.97) 0%, rgba(3, 23, 59, 0.86) 39%, rgba(5, 70, 194, 0.35) 70%, rgba(5, 116, 242, 0.2) 100%),
    var(--navy-900);
}

.site-header {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  padding: clamp(1.25rem, 2.7vw, 2rem) var(--page-inline) 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: clamp(0.65rem, 1.1vw, 1rem);
  border-radius: 0.45rem;
}

.brand-mark {
  width: clamp(2.7rem, 4.2vw, 4.25rem);
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 0.45rem 0.9rem rgba(0, 0, 0, 0.2));
}

.brand-name {
  font-size: clamp(1.55rem, 2.35vw, 2.55rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.045em;
  text-shadow: 0 0.2rem 1rem rgba(0, 0, 0, 0.32);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.8rem, 3.5vw, 3.75rem);
  justify-self: center;
  padding-top: 0.25rem;
}

.nav-link {
  position: relative;
  padding: 0.2rem 0 0.9rem;
  color: rgba(248, 251, 255, 0.84);
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.025em;
  text-shadow: 0 0.12rem 0.6rem rgba(0, 0, 0, 0.42);
  transition: color 180ms ease;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 0.2rem;
  border-radius: 999px;
  background: var(--cyan-300);
  box-shadow: 0 0 0.85rem rgba(39, 225, 255, 0.7);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active {
  color: #ffffff;
}

.nav-link.is-active::after,
.nav-link:hover::after,
.nav-link:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.hero {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: calc(100vh - clamp(5.5rem, 9vw, 7.5rem));
  min-height: calc(100svh - clamp(5.5rem, 9vw, 7.5rem));
  padding: clamp(3.5rem, 8vh, 7.5rem) var(--page-inline) clamp(5rem, 13vh, 8.5rem);
}

.hero-content {
  width: min(100%, 51rem);
  transform: translateY(-1.4vh);
  animation: reveal 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

h1 {
  max-width: 50rem;
  margin: 0;
  font-size: clamp(3.15rem, 5.25vw, 5rem);
  font-weight: 760;
  line-height: 0.96;
  letter-spacing: -0.064em;
  text-wrap: balance;
  text-shadow: 0 0.32rem 1.45rem rgba(0, 0, 0, 0.28);
}

h1 span {
  display: block;
}

h1 span + span {
  margin-top: 0.12em;
}

h1 strong {
  color: var(--cyan-400);
  font: inherit;
  text-shadow: 0 0 1.4rem rgba(4, 196, 255, 0.2);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 1.65vw, 1.7rem);
  margin-top: clamp(2.6rem, 5.2vh, 3.5rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 4.5rem;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 0.9rem 2.1rem;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 680;
  line-height: 1;
  letter-spacing: -0.02em;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
.brand:focus-visible {
  outline: 3px solid var(--cyan-300);
  outline-offset: 0.35rem;
}

.button--primary {
  width: min(100%, 19rem);
  justify-content: space-between;
  border-color: rgba(58, 233, 255, 0.9);
  background: linear-gradient(105deg, #19dfe7 0%, #0689ff 48%, #0865ee 100%);
  box-shadow:
    0 0 1.25rem rgba(0, 204, 255, 0.72),
    inset 0 0.1rem 0.2rem rgba(255, 255, 255, 0.35);
}

.button--primary:hover {
  box-shadow:
    0 0 1.85rem rgba(0, 204, 255, 0.88),
    inset 0 0.1rem 0.2rem rgba(255, 255, 255, 0.44);
}

.button--primary svg {
  width: 1.8rem;
  height: 1.8rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button--secondary {
  width: min(100%, 16.5rem);
  border-color: var(--line);
  background: rgba(2, 20, 53, 0.2);
  box-shadow: inset 0 0 0 1px rgba(2, 11, 28, 0.18);
  backdrop-filter: blur(0.35rem);
}

.button--secondary:hover {
  border-color: #ffffff;
  background: rgba(10, 77, 177, 0.25);
  box-shadow: 0 0 1.1rem rgba(31, 172, 255, 0.22);
}

.resources-section {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(1, 8, 23, 0.2), rgba(1, 9, 27, 0.04) 58%, rgba(1, 8, 22, 0.18)),
    url("./assets/resources-server-room.webp") center bottom / cover no-repeat,
    #03102b;
}

.resources-inner {
  display: flex;
  flex: 1;
  flex-direction: column;
  width: 100%;
  padding: clamp(2.5rem, 6.3vh, 4.8rem) clamp(1rem, 2.6vw, 2.75rem) 2.25rem;
}

.resources-label {
  display: grid;
  grid-template-columns: minmax(2rem, 9rem) auto minmax(2rem, 9rem);
  align-items: center;
  align-self: center;
  gap: clamp(0.9rem, 2vw, 1.8rem);
  width: min(92vw, 43rem);
}

.resources-label span {
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(76, 224, 255, 0.92));
  box-shadow: 0 0 0.85rem rgba(25, 195, 255, 0.68);
}

.resources-label span:last-child {
  background: linear-gradient(90deg, rgba(76, 224, 255, 0.92), transparent);
}

.resources-label h2 {
  margin: 0;
  font-size: clamp(2.55rem, 4vw, 4rem);
  font-weight: 760;
  line-height: 0.95;
  letter-spacing: -0.06em;
  text-align: center;
  text-shadow:
    0 0.2rem 1.15rem rgba(0, 0, 0, 0.68),
    0 0 1.4rem rgba(12, 138, 255, 0.28);
}

.resource-carousel {
  --carousel-gap: clamp(1.35rem, 4.25vw, 4.5rem);
  display: grid;
  grid-template-columns: clamp(3.25rem, 5vw, 4.8rem) minmax(0, 1fr) clamp(3.25rem, 5vw, 4.8rem);
  align-items: center;
  gap: clamp(0.7rem, 1.6vw, 1.5rem);
  width: min(100%, 95rem);
  margin: clamp(1.55rem, 3.4vh, 2.5rem) auto 0;
}

.resource-viewport {
  min-width: 0;
  overflow: hidden;
  padding: 1.5rem 1.2rem 1.75rem;
  touch-action: pan-y;
}

.resource-track {
  display: flex;
  gap: var(--carousel-gap);
  width: 100%;
  transform: translate3d(0, 0, 0);
  transform-style: preserve-3d;
  transition: transform 540ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.resource-card {
  --glare-x: 50%;
  --glare-y: 50%;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  display: flex;
  flex: 0 0 calc((100% - (var(--carousel-gap) * 2)) / 3);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: clamp(15.75rem, 30vh, 18.75rem);
  border: 1.5px solid rgba(123, 225, 255, 0.9);
  border-radius: clamp(1.25rem, 2vw, 1.8rem);
  padding: 2rem clamp(1rem, 2vw, 1.65rem) 1.45rem;
  background:
    linear-gradient(145deg, rgba(33, 152, 255, 0.23), rgba(2, 27, 75, 0.47) 50%, rgba(5, 92, 206, 0.19)),
    rgba(4, 35, 88, 0.2);
  box-shadow:
    0 0 1.1rem rgba(27, 196, 255, 0.62),
    0 1.6rem 3.5rem rgba(0, 7, 25, 0.42),
    inset 0 0 1.15rem rgba(65, 203, 255, 0.2),
    inset 0 1px rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(0.8rem) saturate(1.2);
  -webkit-backdrop-filter: blur(0.8rem) saturate(1.2);
  transform: perspective(850px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  transition:
    transform 170ms ease-out,
    border-color 220ms ease,
    box-shadow 220ms ease,
    filter 220ms ease;
  will-change: transform;
}

.resource-card:hover,
.resource-card:focus-within {
  z-index: 2;
  border-color: rgba(224, 251, 255, 0.98);
  box-shadow:
    0 0 1.75rem rgba(27, 213, 255, 0.88),
    0 2rem 4rem rgba(0, 7, 25, 0.52),
    inset 0 0 1.6rem rgba(76, 215, 255, 0.3),
    inset 0 1px rgba(255, 255, 255, 0.5);
  filter: brightness(1.08);
}

.card-effects {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
  transform: translateZ(1px);
}

.card-glare {
  position: absolute;
  inset: -35%;
  background:
    radial-gradient(circle at var(--glare-x) var(--glare-y), rgba(255, 255, 255, 0.32), rgba(80, 220, 255, 0.13) 16%, transparent 38%),
    linear-gradient(125deg, transparent 34%, rgba(255, 255, 255, 0.13) 48%, transparent 62%);
  opacity: 0;
  transform: translateZ(3px);
  transition: opacity 220ms ease;
}

.resource-scanline {
  position: absolute;
  right: 0;
  left: 0;
  top: -22%;
  height: 18%;
  background: linear-gradient(to bottom, transparent, rgba(95, 229, 255, 0.2), transparent);
  opacity: 0;
}

.resource-cyber-lines span {
  position: absolute;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(84, 225, 255, 0.58), transparent);
  opacity: 0;
  transform: scaleX(0);
}

.resource-cyber-lines span:nth-child(1) {
  top: 24%;
  transform-origin: left;
}

.resource-cyber-lines span:nth-child(2) {
  top: 52%;
  transform-origin: right;
}

.resource-cyber-lines span:nth-child(3) {
  top: 78%;
  transform-origin: left;
}

.resource-particles span {
  --particle-x: 0;
  --particle-y: 0;
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #65efff;
  box-shadow: 0 0 0.55rem rgba(65, 230, 255, 0.95);
  opacity: 0;
}

.resource-particles span:nth-child(1) {
  --particle-x: 1;
  --particle-y: -1;
  top: 32%;
  left: 18%;
}

.resource-particles span:nth-child(2) {
  --particle-x: -1;
  --particle-y: -0.6;
  top: 62%;
  right: 18%;
}

.resource-particles span:nth-child(3) {
  --particle-x: 0.5;
  --particle-y: 1;
  top: 18%;
  left: 58%;
}

.resource-particles span:nth-child(4) {
  --particle-x: -0.7;
  --particle-y: 0.8;
  right: 40%;
  bottom: 18%;
}

@media (hover: hover) and (pointer: fine) {
  .resource-card:hover {
    transform: perspective(850px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(-0.45rem) scale(1.018);
  }

  .resource-card:hover .card-glare {
    opacity: 1;
  }

  .resource-card:hover .resource-scanline {
    opacity: 1;
    animation: resourceScan 1.85s linear infinite;
  }

  .resource-card:hover .resource-cyber-lines span {
    animation: resourceLine 2.7s linear infinite;
  }

  .resource-card:hover .resource-cyber-lines span:nth-child(2) {
    animation-delay: 0.85s;
  }

  .resource-card:hover .resource-cyber-lines span:nth-child(3) {
    animation-delay: 1.55s;
  }

  .resource-card:hover .resource-particles span {
    animation: resourceParticle 1.9s ease-out infinite;
  }

  .resource-card:hover .resource-particles span:nth-child(2) {
    animation-delay: 0.35s;
  }

  .resource-card:hover .resource-particles span:nth-child(3) {
    animation-delay: 0.75s;
  }

  .resource-card:hover .resource-particles span:nth-child(4) {
    animation-delay: 1.1s;
  }
}

@keyframes resourceScan {
  to {
    transform: translateY(680%);
  }
}

@keyframes resourceLine {
  0%,
  100% {
    opacity: 0;
    transform: scaleX(0);
  }
  45%,
  55% {
    opacity: 0.85;
    transform: scaleX(1);
  }
}

@keyframes resourceParticle {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0);
  }
  40% {
    opacity: 0.95;
  }
  100% {
    opacity: 0;
    transform: translate3d(calc(var(--particle-x) * 1.8rem), calc(var(--particle-y) * 1.8rem), 0);
  }
}

.resource-card::before,
.resource-card::after {
  position: absolute;
  z-index: 4;
  width: 2.15rem;
  height: 2.15rem;
  content: "";
  pointer-events: none;
}

.resource-card::before {
  top: -1px;
  left: -1px;
  border-top: 3px solid #ebfbff;
  border-left: 3px solid #ebfbff;
  border-radius: 1.25rem 0 0;
  filter: drop-shadow(0 0 0.42rem #3edcff);
}

.resource-card::after {
  right: -1px;
  bottom: -1px;
  border-right: 3px solid #ebfbff;
  border-bottom: 3px solid #ebfbff;
  border-radius: 0 0 1.25rem;
  filter: drop-shadow(0 0 0.42rem #3edcff);
}

.card-dots {
  position: absolute;
  z-index: 3;
  top: 1rem;
  right: 1.1rem;
  display: flex;
  gap: 0.27rem;
  transform: translateZ(1.2rem);
}

.card-dots i {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: #55ecff;
  box-shadow: 0 0 0.45rem rgba(45, 222, 255, 0.95);
}

.resource-icon {
  position: relative;
  z-index: 2;
  display: grid;
  width: clamp(4.1rem, 5.5vw, 5.5rem);
  height: clamp(4.1rem, 5.5vw, 5.5rem);
  place-items: center;
  color: #e8fbff;
  filter: drop-shadow(0 0 0.58rem rgba(27, 190, 255, 0.82));
  transform: translateZ(2.1rem);
}

.resource-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.resource-card h3 {
  position: relative;
  z-index: 2;
  min-height: 2.05em;
  margin: 0.65rem 0 0.85rem;
  font-size: clamp(1.14rem, 1.55vw, 1.45rem);
  font-weight: 720;
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-align: center;
  text-shadow: 0 0.15rem 0.7rem rgba(0, 0, 0, 0.68);
  transform: translateZ(1.65rem);
}

.resource-action {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  width: 100%;
  min-height: 3.35rem;
  border: 1.5px solid #6beeff;
  border-radius: 999px;
  padding: 0.7rem 1.15rem;
  background: linear-gradient(100deg, rgba(15, 204, 255, 0.96), rgba(1, 105, 255, 0.96));
  box-shadow:
    0 0 1rem rgba(0, 199, 255, 0.75),
    inset 0 1px rgba(255, 255, 255, 0.38);
  font-size: 1rem;
  font-weight: 690;
  cursor: pointer;
  transform: translateZ(2rem);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.resource-action:hover {
  transform: translateZ(2rem) translateY(-2px);
  box-shadow:
    0 0 1.5rem rgba(0, 216, 255, 0.9),
    inset 0 1px rgba(255, 255, 255, 0.46);
}

.resource-action svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.carousel-arrow {
  position: relative;
  display: grid;
  width: clamp(3.25rem, 5vw, 4.8rem);
  height: clamp(8.3rem, 20vh, 12.5rem);
  place-items: center;
  border: 1.5px solid rgba(132, 227, 255, 0.92);
  border-radius: 1.1rem;
  padding: 0;
  background: linear-gradient(180deg, rgba(63, 142, 255, 0.38), rgba(9, 46, 121, 0.45));
  box-shadow:
    0 0 1rem rgba(35, 184, 255, 0.5),
    inset 0 0 1.25rem rgba(68, 187, 255, 0.22);
  backdrop-filter: blur(0.7rem);
  -webkit-backdrop-filter: blur(0.7rem);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.carousel-arrow::before,
.carousel-arrow::after {
  position: absolute;
  z-index: -1;
  top: 13%;
  bottom: 13%;
  width: 1.05rem;
  border: 1px solid rgba(99, 208, 255, 0.58);
  border-radius: 0.75rem;
  background: rgba(16, 74, 170, 0.13);
  content: "";
}

.carousel-arrow--previous::before,
.carousel-arrow--previous::after {
  right: 100%;
  border-right: 0;
}

.carousel-arrow--previous::after {
  right: calc(100% + 0.55rem);
  top: 22%;
  bottom: 22%;
}

.carousel-arrow--next::before,
.carousel-arrow--next::after {
  left: 100%;
  border-left: 0;
}

.carousel-arrow--next::after {
  left: calc(100% + 0.55rem);
  top: 22%;
  bottom: 22%;
}

.carousel-arrow:hover {
  transform: scale(1.035);
  background: linear-gradient(180deg, rgba(67, 167, 255, 0.56), rgba(9, 57, 148, 0.56));
  box-shadow:
    0 0 1.45rem rgba(35, 201, 255, 0.7),
    inset 0 0 1.25rem rgba(68, 187, 255, 0.3);
}

.carousel-arrow--previous {
  transform: translateX(-0.55rem);
}

.carousel-arrow--next {
  transform: translateX(0.55rem);
}

.carousel-arrow--previous:hover {
  transform: translateX(-0.55rem) scale(1.035);
}

.carousel-arrow--next:hover {
  transform: translateX(0.55rem) scale(1.035);
}

.carousel-arrow svg {
  width: clamp(1.65rem, 2.35vw, 2.2rem);
  height: clamp(1.65rem, 2.35vw, 2.2rem);
  fill: none;
  stroke: #ffffff;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 0.45rem rgba(69, 221, 255, 0.84));
}

.carousel-arrow:focus-visible,
.resource-action:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 0.3rem;
}

.carousel-status {
  align-self: center;
  min-height: 1.5rem;
  margin: 0.4rem 0 0;
  color: rgba(235, 249, 255, 0.86);
  font-size: 0.9rem;
  font-weight: 620;
  letter-spacing: 0.08em;
  text-shadow: 0 0.1rem 0.55rem rgba(0, 0, 0, 0.9);
}

.resource-toast {
  position: absolute;
  z-index: 5;
  right: 50%;
  bottom: clamp(1.25rem, 4vh, 2.75rem);
  max-width: calc(100% - 2rem);
  border: 1px solid rgba(105, 229, 255, 0.82);
  border-radius: 999px;
  padding: 0.8rem 1.25rem;
  background: rgba(1, 19, 52, 0.88);
  box-shadow: 0 0 1.2rem rgba(0, 183, 255, 0.38);
  opacity: 0;
  pointer-events: none;
  text-align: center;
  transform: translate(50%, 0.7rem);
  transition: opacity 180ms ease, transform 180ms ease;
  backdrop-filter: blur(0.7rem);
}

.resource-toast.is-visible {
  opacity: 1;
  transform: translate(50%, 0);
}

.contact-section {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 48%, rgba(21, 117, 255, 0.24), transparent 28%),
    radial-gradient(circle at 80% 40%, rgba(17, 127, 255, 0.2), transparent 32%),
    linear-gradient(112deg, #06142e 0%, #102d5d 44%, #071935 100%);
}

.contact-inner {
  display: flex;
  flex: 1;
  flex-direction: column;
  width: 100%;
  padding: clamp(2.3rem, 5.4vh, 4.5rem) var(--page-inline) clamp(2rem, 4vh, 3.5rem);
}

.contact-label {
  display: grid;
  grid-template-columns: minmax(2rem, 8rem) auto minmax(2rem, 8rem);
  align-items: center;
  align-self: center;
  gap: clamp(0.9rem, 2vw, 1.8rem);
  width: min(90vw, 37rem);
}

.contact-label span {
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(91, 226, 255, 0.96));
  box-shadow: 0 0 0.85rem rgba(25, 195, 255, 0.68);
}

.contact-label span:last-child {
  background: linear-gradient(90deg, rgba(91, 226, 255, 0.96), transparent);
}

.contact-label h2 {
  margin: 0;
  font-size: clamp(2.55rem, 4vw, 4rem);
  font-weight: 760;
  line-height: 0.95;
  letter-spacing: -0.06em;
  text-align: center;
  text-shadow:
    0 0.2rem 1.15rem rgba(0, 0, 0, 0.68),
    0 0 1.4rem rgba(12, 138, 255, 0.34);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(18rem, 0.82fr) minmax(28rem, 1.18fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 4.5rem);
  width: min(100%, 81rem);
  margin: clamp(1.6rem, 3.6vh, 2.8rem) auto 0;
}

.coaching-card {
  position: relative;
  display: flex;
  min-height: clamp(17rem, 36vh, 21rem);
  overflow: hidden;
  flex-direction: column;
  justify-content: center;
  border: 1.5px solid rgba(112, 224, 255, 0.9);
  border-radius: clamp(1.5rem, 2.3vw, 2.1rem);
  padding: clamp(2rem, 3.8vw, 3.6rem);
  background:
    linear-gradient(135deg, rgba(26, 138, 255, 0.28), rgba(3, 28, 75, 0.58) 52%, rgba(22, 103, 210, 0.24)),
    rgba(2, 22, 60, 0.48);
  box-shadow:
    0 0 1.35rem rgba(23, 196, 255, 0.64),
    0 2.2rem 5rem rgba(0, 7, 25, 0.46),
    inset 0 0 2.5rem rgba(79, 199, 255, 0.18),
    inset 0 1px rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(1rem) saturate(1.22);
  -webkit-backdrop-filter: blur(1rem) saturate(1.22);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.coaching-card::before {
  position: absolute;
  top: -80%;
  left: -36%;
  width: 44%;
  height: 250%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.17), transparent);
  content: "";
  transform: rotate(20deg);
  transition: left 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.coaching-card::after {
  position: absolute;
  right: -3.4rem;
  bottom: -5rem;
  width: 12rem;
  height: 12rem;
  border: 1px solid rgba(91, 229, 255, 0.5);
  border-radius: 50%;
  box-shadow:
    0 0 0 1.25rem rgba(34, 141, 255, 0.07),
    0 0 0 2.5rem rgba(34, 141, 255, 0.04),
    inset 0 0 2rem rgba(46, 197, 255, 0.16);
  content: "";
}

.coaching-card:hover {
  transform: translateY(-0.35rem);
  box-shadow:
    0 0 2rem rgba(23, 207, 255, 0.78),
    0 2.5rem 5.5rem rgba(0, 7, 25, 0.5),
    inset 0 0 2.5rem rgba(79, 199, 255, 0.24),
    inset 0 1px rgba(255, 255, 255, 0.52);
}

.coaching-card:hover::before {
  left: 112%;
}

.coaching-orbit {
  position: absolute;
  top: 1.6rem;
  right: 1.6rem;
  width: 0.72rem;
  height: 0.72rem;
  border: 2px solid #c9f8ff;
  border-radius: 50%;
  box-shadow:
    0 0 0 0.45rem rgba(56, 205, 255, 0.12),
    0 0 1rem rgba(61, 222, 255, 0.92);
}

.coaching-kicker {
  position: relative;
  z-index: 1;
  margin: 0 0 0.65rem;
  color: rgba(225, 248, 255, 0.78);
  font-size: 0.85rem;
  font-weight: 720;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.coaching-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(2.55rem, 4.4vw, 4.5rem);
  font-weight: 760;
  line-height: 0.92;
  letter-spacing: -0.065em;
  text-shadow: 0 0.28rem 1.3rem rgba(0, 0, 0, 0.5);
}

.coaching-card h3 strong {
  display: block;
  color: #48ddff;
  font: inherit;
  text-shadow: 0 0 1.4rem rgba(29, 196, 255, 0.36);
}

.coaching-link {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.75rem;
  margin-top: 1.55rem;
  border-bottom: 2px solid rgba(97, 230, 255, 0.82);
  padding: 0 0 0.45rem;
  font-size: 1.13rem;
  font-weight: 680;
  transition: color 180ms ease, gap 180ms ease;
}

.coaching-link:hover {
  gap: 1rem;
  color: #73ebff;
}

.coaching-link svg,
.contact-submit svg {
  width: 1.45rem;
  height: 1.45rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-form {
  display: grid;
  gap: 1rem;
  border: 1.5px solid rgba(133, 226, 255, 0.9);
  border-radius: clamp(1.5rem, 2.3vw, 2.1rem);
  padding: clamp(1.5rem, 2.8vw, 2.3rem);
  background:
    linear-gradient(145deg, rgba(73, 150, 255, 0.2), rgba(4, 36, 88, 0.48) 55%, rgba(23, 113, 224, 0.17)),
    rgba(6, 34, 78, 0.35);
  box-shadow:
    0 0 1.4rem rgba(37, 193, 255, 0.58),
    0 2rem 4.8rem rgba(0, 7, 25, 0.38),
    inset 0 0 2rem rgba(91, 201, 255, 0.13),
    inset 0 1px rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(1.05rem) saturate(1.15);
  -webkit-backdrop-filter: blur(1.05rem) saturate(1.15);
}

.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-field {
  display: grid;
  gap: 0.5rem;
}

.form-field label {
  font-size: 1rem;
  font-weight: 650;
}

.field-shell {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 3.8rem;
  border: 1.5px solid rgba(178, 231, 255, 0.82);
  border-radius: 1rem;
  background: rgba(35, 91, 166, 0.24);
  box-shadow:
    inset 0 0 1.1rem rgba(102, 184, 255, 0.08),
    0 0 0 rgba(70, 215, 255, 0);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.field-shell:focus-within {
  border-color: #74e9ff;
  background: rgba(34, 104, 198, 0.3);
  box-shadow:
    inset 0 0 1.1rem rgba(102, 184, 255, 0.13),
    0 0 1rem rgba(39, 200, 255, 0.4);
}

.field-shell > svg {
  position: absolute;
  top: 50%;
  left: 1rem;
  width: 1.55rem;
  height: 1.55rem;
  fill: none;
  stroke: rgba(238, 251, 255, 0.94);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: translateY(-50%);
}

.field-shell input,
.field-shell textarea {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #ffffff;
  font: inherit;
  font-size: 1rem;
}

.field-shell input {
  min-height: 3.7rem;
  padding: 0.8rem 1rem 0.8rem 3.35rem;
}

.field-shell textarea {
  min-height: 7rem;
  resize: vertical;
  padding: 1rem 1rem 1rem 3.35rem;
  line-height: 1.45;
}

.field-shell--message {
  align-items: flex-start;
}

.field-shell--message > svg {
  top: 1.05rem;
  transform: none;
}

.field-shell input::placeholder,
.field-shell textarea::placeholder {
  color: rgba(225, 241, 255, 0.58);
}

.consent-field {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.75rem;
}

.consent-field input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.consent-field > label {
  display: block;
  cursor: pointer;
}

.consent-field > label > span {
  display: grid;
  width: 1.75rem;
  height: 1.75rem;
  place-items: center;
  border: 1.5px solid rgba(159, 229, 255, 0.9);
  border-radius: 0.4rem;
  background: rgba(7, 48, 111, 0.35);
  box-shadow: inset 0 0 0.6rem rgba(59, 196, 255, 0.12);
}

.consent-field svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 150ms ease, transform 150ms ease;
}

.consent-field input:checked + label > span {
  border-color: #71efff;
  background: linear-gradient(135deg, #1cd7ef, #0878ff);
  box-shadow: 0 0 0.75rem rgba(31, 211, 255, 0.48);
}

.consent-field input:checked + label svg {
  opacity: 1;
  transform: scale(1);
}

.consent-field input:focus-visible + label > span {
  outline: 3px solid #ffffff;
  outline-offset: 0.25rem;
}

.consent-field p {
  margin: 0;
  color: rgba(236, 248, 255, 0.84);
  font-size: 0.88rem;
  line-height: 1.35;
}

.consent-field a {
  color: #8cefff;
  font-weight: 680;
  text-decoration: underline;
  text-decoration-color: rgba(90, 226, 255, 0.62);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.consent-field a:hover {
  color: #ffffff;
  text-decoration-color: #ffffff;
}

.consent-field a:focus-visible {
  border-radius: 0.2rem;
  outline: 2px solid #ffffff;
  outline-offset: 0.2rem;
}

.contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 4.35rem;
  border: 1.5px solid #b7f5ff;
  border-radius: 999px;
  padding: 0.9rem 1.5rem;
  background: linear-gradient(100deg, rgba(23, 201, 255, 0.96), rgba(4, 103, 245, 0.96));
  box-shadow:
    0 0 1.4rem rgba(16, 196, 255, 0.76),
    inset 0 1px rgba(255, 255, 255, 0.48);
  font-size: 1.15rem;
  font-weight: 740;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.contact-submit:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 2rem rgba(22, 213, 255, 0.9),
    inset 0 1px rgba(255, 255, 255, 0.54);
}

.contact-submit:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.contact-submit:focus-visible,
.coaching-link:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 0.3rem;
}

.form-status {
  min-height: 1.2rem;
  margin: -0.25rem 0 0;
  color: #a9efff;
  font-size: 0.86rem;
  line-height: 1.35;
  text-align: center;
}

.form-status.is-success {
  color: #9dffd4;
}

.form-status.is-error {
  color: #ffd0d8;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(-1.4vh);
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  .brand {
    justify-self: start;
  }

  .main-nav {
    width: 100%;
    justify-content: flex-start;
    justify-self: stretch;
    gap: clamp(1.35rem, 7vw, 2.6rem);
    overflow-x: auto;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .nav-link {
    flex: 0 0 auto;
    font-size: 1rem;
  }

  .hero {
    align-items: flex-start;
    min-height: auto;
    padding-top: clamp(4.5rem, 13vh, 7rem);
  }

  .hero-content {
    transform: none;
  }

.hero-video-shade {
    background:
      linear-gradient(90deg, rgba(2, 10, 27, 0.91), rgba(3, 20, 48, 0.58)),
      linear-gradient(180deg, rgba(1, 8, 22, 0.12), rgba(1, 9, 25, 0.36));
  }

  h1 {
    font-size: clamp(2.75rem, 13vw, 4.2rem);
    line-height: 0.99;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 24rem;
  }

  .button,
  .button--primary,
  .button--secondary {
    width: 100%;
  }

.glow--lower {
    right: -118%;
    bottom: -26%;
  }

  .resources-section {
    background-position: center bottom;
  }

  .resources-inner {
    padding-top: 2.4rem;
  }

  .resources-label {
    grid-template-columns: minmax(1.5rem, 1fr) auto minmax(1.5rem, 1fr);
  }

  .resource-carousel {
    --carousel-gap: 1rem;
    grid-template-columns: 2.7rem minmax(0, 1fr) 2.7rem;
    gap: 0.65rem;
    margin-top: 1.3rem;
  }

  .resource-viewport {
    padding: 1rem 0.65rem 1.35rem;
  }

  .resource-card {
    flex-basis: 100%;
    height: min(20rem, 45vh);
    min-height: 16.5rem;
  }

  .carousel-arrow {
    width: 2.7rem;
    height: 8rem;
    border-radius: 0.85rem;
  }

  .carousel-arrow::before,
  .carousel-arrow::after {
    display: none;
  }

  .carousel-arrow--previous,
  .carousel-arrow--next {
    transform: none;
  }

  .carousel-arrow--previous:hover,
  .carousel-arrow--next:hover {
    transform: scale(1.025);
  }
}

@media (min-width: 761px) and (max-width: 1060px) {
  .resource-card {
    flex-basis: calc((100% - var(--carousel-gap)) / 2);
  }
}

@media (min-width: 761px) and (max-height: 730px) {
  .resources-inner {
    padding-top: 2rem;
  }

  .resources-label h2 {
    font-size: 2.7rem;
  }

  .resource-carousel {
    margin-top: 0.8rem;
  }

  .resource-viewport {
    padding-top: 0.8rem;
  }

  .resource-card {
    height: 14.25rem;
    padding-top: 1.55rem;
    padding-bottom: 1.1rem;
  }

  .resource-icon {
    width: 3.8rem;
    height: 3.8rem;
  }

  .resource-card h3 {
    margin-top: 0.35rem;
    margin-bottom: 0.45rem;
  }

  .resource-action {
    min-height: 2.85rem;
  }
}

@media (max-width: 960px) {
  .contact-inner {
    padding-top: 2.5rem;
    padding-bottom: 4rem;
  }

  .contact-label {
    grid-template-columns: minmax(1.5rem, 1fr) auto minmax(1.5rem, 1fr);
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
    width: min(100%, 42rem);
    gap: 1.5rem;
  }

  .coaching-card {
    min-height: 15rem;
  }

}

@media (max-width: 600px) {
  .contact-inner {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .contact-label h2 {
    font-size: 2.7rem;
  }

  .contact-layout {
    margin-top: 1.5rem;
  }

  .coaching-card {
    min-height: 13.5rem;
    padding: 1.75rem;
  }

  .coaching-card h3 {
    font-size: clamp(2.55rem, 14vw, 3.8rem);
  }

  .contact-form {
    padding: 1.15rem;
  }

  .consent-field p {
    font-size: 0.82rem;
  }
}

@media (min-width: 961px) and (max-height: 760px) {
  .contact-inner {
    padding-top: 1.65rem;
    padding-bottom: 1.5rem;
  }

  .contact-label h2 {
    font-size: 2.7rem;
  }

  .contact-layout {
    margin-top: 1rem;
  }

  .coaching-card {
    min-height: 15rem;
  }

  .contact-form {
    gap: 0.65rem;
    padding: 1.3rem 1.65rem;
  }

  .field-shell,
  .field-shell input {
    min-height: 3.2rem;
  }

  .field-shell textarea {
    min-height: 5.5rem;
  }

  .contact-submit {
    min-height: 3.45rem;
  }
}

@media (max-width: 400px) {
  .brand-name {
    font-size: 1.55rem;
  }

  .brand-mark {
    width: 2.65rem;
  }

  h1 {
    font-size: clamp(2.45rem, 12.8vw, 3.2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .resource-track {
    transition: none;
  }

  .resource-card,
  .resource-card:hover {
    transform: none !important;
  }

  .resource-scanline,
  .resource-cyber-lines span,
  .resource-particles span {
    animation: none !important;
  }

}

/* Fallback document layout; JavaScript upgrades it to discrete pages. */
.site-story-flow {
  position: relative;
  z-index: 1;
}

.site-story-flow > [data-scene] {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  height: auto;
  overflow: clip;
  scroll-snap-align: none;
}

.scene-flow-ready .site-story-flow > [data-scene] {
  background: transparent;
  position: absolute;
  inset: 0;
  height: 100%;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(99, 202, 255, .45) transparent;
}

html.scene-flow-ready,
.scene-flow-ready body {
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
  scroll-behavior: auto;
}

.scene-flow-ready .site-story-flow {
  position: fixed;
  inset: 0;
  overflow: hidden;
  transition: opacity 180ms ease;
}

.scene-flow-ready .site-story-flow > [hidden] {
  display: none !important;
}

.scene-flow-ready .resources-section,
.scene-flow-ready .contact-section {
  display: block;
}

.scene-flow-ready .resources-inner,
.scene-flow-ready .contact-inner {
  min-height: 100%;
}

.scene-changing .site-story-flow {
  opacity: 0;
  pointer-events: none;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  padding-top: max(1.25rem, env(safe-area-inset-top));
  padding-bottom: 1.25rem;
  background: linear-gradient(180deg, rgba(2, 10, 27, .86), rgba(2, 10, 27, .4) 70%, transparent);
}

.hero {
  min-height: 100vh;
  min-height: 100svh;
  padding-top: calc(var(--header-space) + 2rem);
}

.resources-inner,
.contact-inner {
  justify-content: flex-start;
  padding-top: calc(var(--header-space) + 0.6rem);
  padding-bottom: max(3rem, env(safe-area-inset-bottom));
}

.resources-inner .resource-carousel {
  margin-top: clamp(0.25rem, 0.8vh, 0.6rem);
}

.resources-inner .resource-viewport {
  padding-top: 0.75rem;
}

.contact-inner .contact-layout {
  margin-top: clamp(1rem, 2.2vh, 1.65rem);
}

.scene-content {
  transition: opacity 180ms ease;
}

.scene-flow-ready .hero-content {
  animation: none;
  transform: none;
}

.motion-toggle {
  display: grid;
  place-items: center;
  justify-self: end;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(163, 222, 255, .38);
  border-radius: 50%;
  background: rgba(3, 22, 53, .55);
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease;
}

.motion-toggle:hover { background: rgba(13, 88, 164, .55); border-color: var(--cyan-300); }
.motion-toggle:disabled { opacity: .6; cursor: default; }
.motion-toggle svg { grid-area: 1 / 1; width: 1.1rem; height: 1.1rem; stroke: currentColor; stroke-width: 2; fill: none; }
.motion-toggle .motion-play { display: none; }
.motion-toggle[aria-pressed="true"] .motion-play { display: block; }
.motion-toggle[aria-pressed="true"] .motion-pause { display: none; }
.motion-toggle:focus-visible,
.nav-link:focus-visible { outline: 2px solid var(--cyan-300); outline-offset: .3rem; }

/* Avoid permanent GPU layers and blur passes for offscreen carousel clones. */
.resource-card { will-change: auto; }
.resource-track { will-change: auto; }
.resource-card:hover { will-change: transform; }
#kontaktformular { scroll-margin-top: calc(var(--header-space) + 1rem); }

@media (max-width: 900px) {
  :root { --header-space: 8.5rem; }
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .8rem 1rem;
    padding-inline: 1.25rem;
  }
  .brand { grid-column: 1; grid-row: 1; }
  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: start;
    width: auto;
    gap: 1.8rem;
  }
  .motion-toggle { grid-column: 2; grid-row: 1; }
  .hero { align-items: center; padding-bottom: 4rem; }
  .ambient-scene--start video { object-position: 58% center; }
  .ambient-scene--kontakt video { object-position: 0% center; }
  .scene-transition--resources { --crop-from: 58%; --crop-to: 50%; }
  .scene-transition--contact { --crop-from: 50%; --crop-to: 0%; }
  .ambient-scene--start .ambient-shade {
    background: linear-gradient(90deg, rgba(2, 10, 27, .8), rgba(3, 20, 48, .4));
  }
  .ambient-scene--kontakt .ambient-shade {
    background: linear-gradient(180deg, rgba(2, 10, 27, .35), transparent 28% 64%, rgba(2, 10, 27, .28));
  }
  .contact-layout { margin-top: 1.25rem; }
  .resource-card,
  .coaching-card,
  .contact-form {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    background-color: rgba(3, 24, 60, .7);
    box-shadow: 0 0 1rem rgba(27, 196, 255, .32), inset 0 1px rgba(255, 255, 255, .25);
  }
  .carousel-arrow { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .field-shell input, .field-shell textarea { font-size: 1rem; }
}

@media (max-height: 500px) and (orientation: landscape) {
  .contact-layout { margin-top: 2rem; }
  .hero { padding-bottom: 2rem; }
}

@media (max-width: 760px) {
  .resource-carousel {
    grid-template-columns: 1fr 1fr;
    gap: .5rem 1rem;
    width: min(100%, 28rem);
  }
  .resource-viewport {
    grid-column: 1 / -1;
    grid-row: 1;
    padding: 1rem .75rem 1.25rem;
  }
  .carousel-arrow {
    grid-row: 2;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
  }
  .carousel-arrow--previous { grid-column: 1; justify-self: end; }
  .carousel-arrow--next { grid-column: 2; justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-snap-type: none; }
  .scene-transition { display: none; }
}
