/* ==========================================================================
  VasudevCore — Design System
  Palette drawn from the brand mark: a peacock feather rendered in teal,
  green and deep indigo above an inked wordmark. The feather "eye" is the
   signature motif of this system — it recurs as the loading state, the
   scroll indicator and the hero centerpiece.
   ========================================================================== */

:root {
  /* Color */
  --primary: #009B83;
  /* peacock teal — primary actions */
  --primary-600: #007666;
  --primary-light: #39C98B;
  /* feather green — highlights and success */
  --secondary: #17245F;
  /* wordmark navy — headings and dark surfaces */
  --accent: #22D6A1;
  /* bright feather teal — signature glow */
  --accent-violet: #3D35A6;
  /* wordmark violet — small accents */
  --ink: #101A46;
  /* readable navy body text */
  --paper: #F3FBF7;
  /* cool green-white page background */
  --surface: #FFFFFF;
  /* card surfaces */
  --surface-dark: #0D163B;
  /* logo navy dark sections */
  --surface-dark-2: #14235A;
  --muted: #566879;
  --muted-light: #84969C;
  --border: #DCEBE5;
  --border-dark: rgba(255, 255, 255, 0.12);
  --success: #39C98B;
  --danger: #C4483A;
  --gradient: linear-gradient(120deg, #00C878 0%, #008C95 52%, #102A72 100%);

  /* Type */
  --font-display: 'Sora', 'Segoe UI', sans-serif;
  --font-body: 'DM Sans', 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Layout */
  --container: 1240px;
  --container-narrow: 820px;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --gutter: clamp(20px, 5vw, 64px);

  /* Motion */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
  --dur-fast: .2s;
  --dur: .5s;
  --dur-slow: .9s;

  /* Shadow */
  --shadow-sm: 0 2px 10px rgba(13, 22, 59, .06);
  --shadow-md: 0 12px 32px rgba(13, 22, 59, .10);
  --shadow-lg: 0 24px 60px rgba(13, 22, 59, .16);
  --glow: 0 0 0 1px rgba(34, 214, 161, .25), 0 0 40px rgba(34, 214, 161, .25);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd,
ul,
ol {
  margin: 0;
}

ul[class],
ol[class] {
  padding: 0;
  list-style: none;
}

img,
picture,
svg {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

html,
body {
  height: 100%;
}

body {
  position: relative;
  isolation: isolate;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 50%;
  left: 50%;
  width: min(42vw, 520px);
  height: min(42vw, 520px);
  background: url('../assets/images/logo.png') center / contain no-repeat;
  opacity: .08;
  filter: saturate(1.15) contrast(1.05) drop-shadow(0 0 24px rgba(34, 214, 161, .1));
  pointer-events: none;
  z-index: -1;
  transform: translate(-50%, -50%);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform, opacity;
  animation: ambientPeacock 18s ease-in-out infinite;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--secondary);
  color: #fff;
  padding: 12px 20px;
  z-index: 999;
  border-radius: 0 0 8px 0;
  font-family: var(--font-mono);
  font-size: .85rem;
}

.skip-link:focus {
  left: 0;
}

/* ---------- Focus ---------- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--secondary);
  line-height: 1.08;
  letter-spacing: -0.01em;
  font-weight: 600;
}

h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.6rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
}

h4 {
  font-size: 1.1rem;
}

p {
  color: var(--muted);
}

p.lead {
  font-size: 1.15rem;
  color: var(--ink);
  opacity: .82;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(34, 214, 161, .18);
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container-narrow {
  max-width: var(--container-narrow);
}

.legal-content {
  width: min(100% - 40px, var(--container-narrow));
  margin-inline: auto;
}

.legal-hero .legal-content {
  text-align: center;
}

.legal-hero .lead,
.legal-sections p {
  max-width: 68ch;
  margin-inline: auto;
}

.legal-sections>div {
  width: 100%;
  text-align: left;
}

section {
  padding: clamp(64px, 9vw, 128px) 0;
  position: relative;
}

.section-tight {
  padding: clamp(40px, 6vw, 72px) 0;
}

.grid {
  display: grid;
  gap: 24px;
}

.g-2 {
  grid-template-columns: repeat(2, 1fr);
}

.g-3 {
  grid-template-columns: repeat(3, 1fr);
}

.stack {
  display: flex;
  flex-direction: column;
}

.row {
  display: flex;
  align-items: center;
}

.between {
  justify-content: space-between;
}

.gap-sm {
  gap: 10px;
}

.gap-md {
  gap: 20px;
}

.wrap {
  flex-wrap: wrap;
}

.surface-dark {
  background: var(--surface-dark);
  color: #EAF3F0;
}

.surface-dark h1,
.surface-dark h2,
.surface-dark h3,
.surface-dark h4 {
  color: #fff;
}

.surface-dark p {
  color: rgba(234, 243, 240, .68);
}

/* ---------- About core ---------- */
.about-core {
  overflow: hidden;
  height: 650px;
  padding: 20px 0;
  background:
    radial-gradient(circle at 12% 45%, rgba(0, 155, 131, .12), transparent 28%),
    linear-gradient(135deg, #07121F 0%, #0B1A2A 55%, #07131F 100%);
  color: #EAF3F0;
}

.about-core::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .18;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .22) .6px, transparent .6px);
  background-size: 5px 5px;
}

.about-core__layout {
  position: relative;
  height: 610px;
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: center;
}

.about-core__visual {
  min-width: 0;
}

.about-core__frame {
  position: relative;
  width: min(100%, 350px);
  height: 500px;
  max-width: 350px;
  margin-inline: auto;
  padding: 22px;
  border: 1px solid rgba(34, 214, 161, .24);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(24, 43, 58, .7), rgba(5, 18, 29, .82));
  box-shadow: 0 0 0 24px rgba(8, 24, 36, .35), 0 24px 80px rgba(0, 0, 0, .28);
}

.about-core__frame::before {
  content: '';
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 20px;
  pointer-events: none;
}

.about-core__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 20px;
  opacity: 1;
  filter: saturate(1.15) contrast(1.08) drop-shadow(0 0 24px rgba(34, 214, 161, .2));
}

.about-core__content {
  min-width: 0;
}

.about-core .eyebrow {
  color: var(--accent);
}

.about-core h2 {
  max-width: 720px;
  margin: 6px 0 12px;
  color: #F4FAF8;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  line-height: 1.08;
}

.about-core h2 span {
  color: #F5D957;
  font-family: Georgia, serif;
  font-weight: 400;
}

.about-core .lead {
  max-width: 62ch;
  color: #B5C7D0;
}

.about-core__principles {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.about-core__principle {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 0;
  padding: 12px 18px;
  border: 1px solid rgba(148, 181, 202, .2);
  border-radius: 18px;
  background: rgba(17, 34, 51, .62);
  box-shadow: inset 0 1px rgba(255, 255, 255, .03);
}

.about-core__principle:last-child {
  border-color: rgba(34, 214, 161, .42);
}

.about-core__principle>strong {
  color: #F5D957;
  font-family: Georgia, serif;
  font-size: 1.2rem;
  font-weight: 400;
}

.about-core__principle h3 {
  margin-bottom: 3px;
  color: #F4FAF8;
  font-size: .88rem;
}

.about-core__principle p {
  color: #91A8B6;
  font-size: .76rem;
  line-height: 1.4;
}

.about-core__link {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  margin-top: 18px;
  padding: 13px 18px 13px 20px;
  border: 1px solid rgba(34, 214, 161, .55);
  border-radius: 999px;
  background: var(--accent);
  color: var(--surface-dark);
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  box-shadow: 0 10px 28px rgba(34, 214, 161, .18);
  transition: transform var(--dur-fast) var(--ease-soft), box-shadow var(--dur-fast) var(--ease-soft), background var(--dur-fast);
}

.about-core__link:hover {
  background: #63E7B9;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(34, 214, 161, .3);
}

.about-core__link:focus-visible {
  outline: 3px solid #F5D957;
  outline-offset: 4px;
}

.about-core__link span {
  font-size: 1.15rem;
  letter-spacing: 0;
  transition: transform var(--dur-fast) var(--ease-soft);
}

.about-core__link:hover span {
  transform: translateX(4px);
}

.process-section {
  isolation: isolate;
  overflow: hidden;
  background: #071733;
}

/* ---------- Scroll-stacking service cards ---------- */
.service-card-stack {
  position: relative;
}

.service-card-stack>article {
  position: sticky;
  top: 112px;
  z-index: 1;
  min-height: 420px;
  padding: 42px;
  background: linear-gradient(120deg, #F7FCFA 0%, #E7F6F1 42%, #FFFFFF 72%, #DDF3EE 100%);
  background-size: 240% 240%;
  animation: gradientShift 12s ease-in-out infinite;
  border-color: rgba(0, 155, 131, .2);
  will-change: transform;
}

.service-card-stack>article:hover {
  border-color: rgba(0, 155, 131, .55);
  box-shadow: 0 22px 50px rgba(0, 89, 95, .18), 0 0 0 1px rgba(34, 214, 161, .12);
}

.service-card-stack>article:nth-child(2) {
  top: 130px;
}

.service-card-stack>article:nth-child(3) {
  top: 148px;
}

.service-card-stack>article:nth-child(4) {
  top: 166px;
}

.service-card-stack>article:nth-child(5) {
  top: 184px;
}

.service-card-stack>article:nth-child(6) {
  top: 202px;
}

.service-card-stack>article:nth-child(7) {
  top: 220px;
}

.service-card-stack>article:nth-child(8) {
  top: 238px;
}

.service-card-stack>article:nth-child(9) {
  top: 256px;
}

.service-card-stack>article:nth-child(10) {
  top: 274px;
}

.service-stack-section {
  padding-top: 80px;
  padding-bottom: 80px;
  background: linear-gradient(135deg, #081727, #10283B 52%, #07131F);
  background-attachment: fixed;
}

.process-section::before,
.process-section::after {
  content: '';
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(0, 200, 120, .14);
  border-radius: 50%;
  pointer-events: none;
}

.process-section::before {
  width: min(820px, 78vw);
  aspect-ratio: 1;
  box-shadow: 0 0 0 72px rgba(0, 140, 149, .045), 0 0 0 144px rgba(16, 42, 114, .08);
}

.process-section::after {
  width: min(560px, 54vw);
  aspect-ratio: 1;
  border-color: rgba(0, 140, 149, .24);
}

.process-section .container {
  position: relative;
  z-index: 1;
}

.process-section .section-head {
  max-width: 900px;
  margin-bottom: 28px;
}

.process-section .eyebrow {
  color: #00c878;
}

.process-section .section-head h2 {
  background: linear-gradient(120deg, #fff 0%, #fff 48%, #00c878 72%, #008c95 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-soft), box-shadow var(--dur-fast) var(--ease-soft), background var(--dur-fast), border-color var(--dur-fast);
  white-space: nowrap;
}

.btn-primary {
  background: var(--secondary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: #101A50;
}

.btn-accent {
  background: var(--primary);
  color: #fff;
}

.btn-accent:hover {
  transform: translateY(-2px);
  background: var(--primary-600);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--secondary);
}

.btn-ghost:hover {
  border-color: var(--secondary);
  transform: translateY(-2px);
}

.btn-ghost-light {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-ghost-light:hover {
  background: var(--primary-600);
  border-color: var(--primary-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-sm {
  padding: 10px 18px;
  font-size: .85rem;
}

.btn[disabled] {
  opacity: .5;
  cursor: not-allowed;
  transform: none !important;
}

.btn-arrow {
  transition: transform var(--dur-fast) var(--ease-soft);
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

/* Magnetic wrapper target */
.magnetic {
  will-change: transform;
}

/* ---------- Badges / chips ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .04em;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: var(--surface);
}

.chip {
  font-size: .82rem;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--secondary);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-soft);
}

.chip:hover {
  border-color: var(--primary);
}

.chip.active {
  background: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
}

/* ---------- Cards ---------- */
.card {
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(14px) saturate(125%);
  backdrop-filter: blur(14px) saturate(125%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 155, 131, .25);
}

.card h3 {
  font-size: clamp(1.45rem, 2.2vw, 1.75rem);
  color: var(--secondary);
}

.card p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  opacity: .95;
}

.card .mono {
  font-size: .9rem !important;
  color: var(--secondary);
}

/* ---------- Featured course carousel ---------- */
.courses-carousel {
  width: min(100%, 760px);
  margin-inline: auto;
}

.courses-carousel__viewport {
  overflow: hidden;
  border-radius: var(--radius);
}

.courses-carousel__track {
  display: flex;
  transition: transform .6s var(--ease);
  will-change: transform;
}

.courses-carousel__slide {
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.courses-carousel__slide .btn {
  align-self: flex-start;
  margin-top: auto;
}

.courses-carousel__controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.courses-carousel__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid var(--primary);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: transform var(--dur-fast), background var(--dur-fast);
}

.courses-carousel__dot.is-active {
  background: var(--primary);
  transform: scale(1.3);
}

.courses-carousel__dot:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.training-tracks-carousel {
  width: 100%;
  margin-inline: 0;
}

.training-tracks-carousel .courses-carousel__viewport {
  min-height: 176px;
}

.training-tracks-carousel .courses-carousel__slide {
  gap: 16px;
}

.training-tracks-carousel .courses-carousel__slide h3 {
  margin: 0;
  color: #fff;
  font-size: 1.35rem;
}

.training-tracks-carousel .courses-carousel__slide .row {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-dark);
  color: #fff;
}

.training-tracks-carousel .courses-carousel__slide .row:last-child {
  border-bottom: 0;
}

.training-tracks-carousel .courses-carousel__slide .mono {
  color: rgba(234, 243, 240, .68);
}

.glass {
  background: rgba(255, 255, 255, .66);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, .5);
}

.surface-dark .glass {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
}

/* ---------- Nav ---------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  background-color: white;
  z-index: 200;
  padding: 10px 0;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  /* transition: background var(--dur-fast) var(--ease-soft), padding var(--dur-fast), box-shadow var(--dur-fast), border-color var(--dur-fast);
  border-bottom: 1px solid transparent; */
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.14rem;
  color: var(--secondary);
}

.brand img {
  width: 64px;
  height: 64px;
  max-height: 64px;
  object-fit: contain;
  border-radius: 6px;
}

.nav-links {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  margin-left: auto;
  white-space: nowrap;
}

.nav-links a {
  position: relative;
  padding: 9px 15px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink);
  border-radius: 999px;
  transition: color var(--dur-fast), background var(--dur-fast);
}

.nav-links a:hover {
  background: rgba(0, 155, 131, .08);
  color: var(--primary);
}

.nav-links a.active {
  color: var(--primary);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 3px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.nav-toggle {
  display: none;
}

/* ---------- Mobile nav drawer ---------- */
.nav-drawer {
  position: fixed;
  inset: 0;
  background: var(--paper);
  z-index: 199;
  padding: 100px 28px 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.nav-drawer.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-drawer a {
  font-family: var(--font-display);
  font-size: 1.6rem;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--secondary);
}

.nav-drawer .btn {
  margin-top: 20px;
  align-self: flex-start;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  overflow: hidden;
  background:
    radial-gradient(60% 50% at 82% 18%, rgba(34, 214, 161, .18), transparent 60%),
    radial-gradient(50% 45% at 8% 85%, rgba(61, 53, 166, .12), transparent 60%),
    var(--paper);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(243, 251, 247, .20);
  pointer-events: none;
}

.hero-background-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  transform: translateY(-3%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.hero-copy h1 {
  margin-bottom: 22px;
}

.hero-copy h1 .accent-word {
  color: var(--primary);
}

.hero-copy p.lead {
  max-width: 46ch;
  margin-bottom: 34px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero-meta {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.hero-meta .stat b {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--secondary);
  display: block;
}

.hero-meta .stat span {
  font-size: .8rem;
  color: var(--muted);
}

/* Loading screen */
.loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--paper);
  display: grid;
  place-items: center;
  transition: opacity .6s var(--ease), visibility .6s;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-loader {
  overflow: hidden;
  background: #ffffff;
}

.intro-content {
  position: relative;
  z-index: 1;
  width: 100vw;
  height: 100vh;
  display: grid;
  justify-items: center;
  gap: 16px;
  color: #111827;
}

.intro-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: block;
  animation: introLogoIn .9s var(--ease) both;
}

.intro-line {
  position: absolute;
  bottom: 6vh;
  width: 72px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), var(--primary-light));
  animation: introLine 1.8s var(--ease) infinite alternate;
}

.home-reveal {
  display: none;
}

body.home-loading .site-header,
body.home-loading .hero-copy {
  opacity: 0;
  filter: blur(8px);
  transform: translate3d(0, 18px, 0);
  transition: opacity .55s ease, transform .55s ease, filter .55s ease;
}

body.home-loading.home-revealing .site-header,
body.home-loading.home-revealing .hero-copy {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0);
}

@keyframes introLine {
  from {
    transform: scaleX(.35);
    opacity: .5;
  }

  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes introLogoIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(.9);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ---------- FAQ ---------- */
.accordion-item {
  border-bottom: 1px solid var(--border);
}

.accordion-trigger {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: var(--secondary);
}

.accordion-trigger .plus {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
}

.accordion-trigger .plus::before,
.accordion-trigger .plus::after {
  content: '';
  position: absolute;
  background: var(--primary);
  border-radius: 2px;
  transition: transform var(--dur-fast) var(--ease-soft);
}

.accordion-trigger .plus::before {
  left: 0;
  top: 50%;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.accordion-trigger .plus::after {
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

.accordion-trigger[aria-expanded="true"] .plus::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur) var(--ease);
}

.accordion-panel p {
  padding: 0 4px 22px;
  max-width: 68ch;
}

/* ---------- Forms ---------- */
.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  font-size: .84rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 8px;
}

.form-field .required {
  color: var(--danger);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: .95rem;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 155, 131, .12);
  outline: none;
}

.form-field textarea {
  resize: vertical;
  min-height: 130px;
}

.form-field .hint {
  font-size: .78rem;
  color: var(--muted-light);
  margin-top: 6px;
}

.form-field .error-msg {
  font-size: .8rem;
  color: var(--danger);
  margin-top: 6px;
  display: none;
}

.form-field.invalid input,
.form-field.invalid select,
.form-field.invalid textarea {
  border-color: var(--danger);
}

.form-field.invalid .error-msg {
  display: block;
}

.form-note {
  font-size: .8rem;
  color: var(--muted-light);
  border: 1px dashed var(--border);
  padding: 14px 16px;
  border-radius: 12px;
  margin-top: 18px;
}

.form-status {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: .9rem;
  display: none;
}

.form-status.show {
  display: block;
}

.form-status.ok {
  background: rgba(57, 201, 139, .1);
  color: var(--primary-600);
  border: 1px solid rgba(57, 201, 139, .3);
}

.form-status.bad {
  background: rgba(196, 72, 58, .08);
  color: var(--danger);
  border: 1px solid rgba(196, 72, 58, .25);
}

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, #071a2d 0%, #0b1f38 100%);
  color: rgba(234, 243, 240, .72);
  padding: 78px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.7fr 1.1fr 1.2fr 1.1fr;
  gap: 26px 30px;
  align-items: start;
  margin-bottom: 42px;
}

.footer-brand {
  max-width: 360px;
}

.footer-col:nth-of-type(2) {
  margin-left: 0px;
  width: 78%;
  max-width: 220px;
  /* background-color: white; */
}

.footer-col:nth-of-type(3) {
  margin-left: -45px;
  margin-right: 0;
  /* background-color: white; */
}

.footer-col:nth-of-type(4) {
  margin-left: var(--accent);
  margin-left: -30px;
  /* background-color: white; */
}

.footer-brand .brand {
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
}

.footer-brand .brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
}

.footer-brand p {
  max-width: 30ch;
  margin-top: 14px;
  color: rgba(234, 243, 240, .58);
  font-size: .92rem;
  line-height: 1.7;
}

.footer-col {
  min-width: 0;
}

.footer-col h4 {
  color: #fff;
  font-size: .8rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  font-weight: 600;
  margin-bottom: 14px;
}

.footer-col a,
.footer-col span {
  display: block;
  padding: 7px 0;
  font-size: .92rem;
  color: rgba(234, 243, 240, .62);
  transition: color var(--dur-fast), transform var(--dur-fast);
}

.footer-col a:hover {
  color: var(--accent);
  transform: translateX(2px);
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.social-row a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(22, 7, 56, 0.02);
  display: grid;
  place-items: center;
  transition: border-color var(--dur-fast), transform var(--dur-fast), background var(--dur-fast);
}

.social-row a:hover {
  border-color: var(--accent);
  background: rgba(120, 218, 255, 0.06);
  transform: translateY(-2px);
}

.social-row a:nth-child(1) svg {
  color: #0A66C2;
}

.social-row a:nth-child(2) svg {
  color: #E1306C;
}

.social-row a:nth-child(3) svg {
  color: #FF0000;
}

.social-row svg {
  width: 16px;
  height: 16px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: .82rem;
  color: rgba(234, 243, 240, .56);
}

.footer-bottom a {
  color: rgba(234, 243, 240, .55);
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 150;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--secondary);
  color: #fff;
  display: grid;
  place-items: center;
  border: none;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px) scale(.9);
  pointer-events: none;
  transition: opacity var(--dur-fast), transform var(--dur-fast);
  box-shadow: var(--shadow-md);
}

.back-to-top.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 300;
  width: 0%;
  transition: width .08s linear;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 168px 0 70px;
  background: radial-gradient(70% 60% at 85% 0%, rgba(34, 214, 161, .16), transparent 60%), var(--paper);
  border-bottom: 1px solid var(--border);
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: .82rem;
  color: var(--muted);
  margin-bottom: 20px;
  font-family: var(--font-mono);
}

.breadcrumbs a {
  color: var(--muted);
}

.breadcrumbs a:hover {
  color: var(--primary);
}

/* ---------- Custom cursor (desktop) ---------- */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 400;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--primary);
}

.cursor-ring {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(0, 155, 131, .4);
  transition: width .18s, height .18s, border-color .18s, background .18s;
}

.cursor-ring.hover {
  width: 56px;
  height: 56px;
  background: rgba(34, 214, 161, .1);
  border-color: var(--accent);
}

/* ---------- Utility ---------- */
.text-center {
  text-align: center;
}

.muted {
  color: var(--muted);
}

.mono {
  font-family: var(--font-mono);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger>* {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal-stagger.in>* {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.in>*:nth-child(1) {
  transition-delay: .02s;
}

.reveal-stagger.in>*:nth-child(2) {
  transition-delay: .10s;
}

.reveal-stagger.in>*:nth-child(3) {
  transition-delay: .18s;
}

.reveal-stagger.in>*:nth-child(4) {
  transition-delay: .26s;
}

.reveal-stagger.in>*:nth-child(5) {
  transition-delay: .34s;
}

.reveal-stagger.in>*:nth-child(6) {
  transition-delay: .42s;
}

.reveal-stagger.in>*:nth-child(n+7) {
  transition-delay: .46s;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.center-cta {
  text-align: center;
  padding: 90px 40px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.center-cta h2 {
  color: #fff;
  margin-bottom: 16px;
}

.center-cta p {
  color: rgba(234, 243, 240, .7);
  max-width: 50ch;
  margin: 0 auto 34px;
}

.center-cta .btn-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.car-13,
.car-13 *,
.car-13 *::before,
.car-13 *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.car-13 ::selection {
  background: #3D35A6;
  color: #fff;
}

.car-13 {
  --accent: #3D35A6;
  font-family: var(--font-body);
  width: 100%;
  min-height: 0;
  padding: 24px 20px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.car-13__stage {
  width: min(1280px, 100%);
  perspective: 1200px;
}

.car-13__radio {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.car-13__deck {
  position: relative;
  height: 420px;
  transform-style: preserve-3d;
}

.car-13__cover {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 340px;
  height: 340px;
  margin: -170px 0 0 -170px;
  border-radius: 10px;
  overflow: hidden;
  transform-style: preserve-3d;
  box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .8);
  transition: transform .24s ease-out, opacity .24s ease-out, box-shadow .24s ease-out;
  opacity: .55;
}

.car-13__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.car-13__hit {
  position: absolute;
  inset: 0;
  cursor: pointer;
}

.car-13__cover:has(.car-13__hit:hover) {
  box-shadow: 0 28px 48px -18px rgba(13, 22, 59, .5);
}

.car-13__content {
  position: absolute;
  inset: auto 12px 12px;
  z-index: 1;
  padding: 10px;
  border-radius: 8px;
  color: var(--secondary);
  background: rgba(255, 255, 255, .88);
}

.car-13__content h3 {
  margin: 8px 0 5px;
  font-size: 1.3rem;
  line-height: 1.15;
}

.car-13__content p {
  font-size: .88rem;
  line-height: 1.4;
}

.car-13__content .badge {
  font-size: .68rem;
}

/* Keep the centered card dominant while giving the surrounding cards room. */
.car-13__radio:nth-of-type(1):checked~.car-13__deck .car-13__cover:nth-child(2) {
  transform: translateX(180px) rotateY(-42deg) scale(.82);
}

.car-13__radio:nth-of-type(1):checked~.car-13__deck .car-13__cover:nth-child(3) {
  transform: translateX(330px) rotateY(-48deg) scale(.66);
}

.car-13__radio:nth-of-type(1):checked~.car-13__deck .car-13__cover:nth-child(4) {
  transform: translateX(450px) rotateY(-52deg) scale(.52);
}

.car-13__radio:nth-of-type(1):checked~.car-13__deck .car-13__cover:nth-child(5) {
  transform: translateX(540px) rotateY(-54deg) scale(.42);
}

.car-13__radio:nth-of-type(2):checked~.car-13__deck .car-13__cover:nth-child(1) {
  transform: translateX(-180px) rotateY(42deg) scale(.82);
}

.car-13__radio:nth-of-type(2):checked~.car-13__deck .car-13__cover:nth-child(3) {
  transform: translateX(180px) rotateY(-42deg) scale(.82);
}

.car-13__radio:nth-of-type(2):checked~.car-13__deck .car-13__cover:nth-child(4) {
  transform: translateX(330px) rotateY(-48deg) scale(.66);
}

.car-13__radio:nth-of-type(2):checked~.car-13__deck .car-13__cover:nth-child(5) {
  transform: translateX(450px) rotateY(-52deg) scale(.52);
}

.car-13__radio:nth-of-type(3):checked~.car-13__deck .car-13__cover:nth-child(1) {
  transform: translateX(-330px) rotateY(48deg) scale(.66);
}

.car-13__radio:nth-of-type(3):checked~.car-13__deck .car-13__cover:nth-child(2) {
  transform: translateX(-180px) rotateY(42deg) scale(.82);
}

.car-13__radio:nth-of-type(3):checked~.car-13__deck .car-13__cover:nth-child(4) {
  transform: translateX(180px) rotateY(-42deg) scale(.82);
}

.car-13__radio:nth-of-type(3):checked~.car-13__deck .car-13__cover:nth-child(5) {
  transform: translateX(330px) rotateY(-48deg) scale(.66);
}

.car-13__radio:nth-of-type(4):checked~.car-13__deck .car-13__cover:nth-child(1) {
  transform: translateX(-450px) rotateY(52deg) scale(.52);
}

.car-13__radio:nth-of-type(4):checked~.car-13__deck .car-13__cover:nth-child(2) {
  transform: translateX(-330px) rotateY(48deg) scale(.66);
}

.car-13__radio:nth-of-type(4):checked~.car-13__deck .car-13__cover:nth-child(3) {
  transform: translateX(-180px) rotateY(42deg) scale(.82);
}

.car-13__radio:nth-of-type(4):checked~.car-13__deck .car-13__cover:nth-child(5) {
  transform: translateX(180px) rotateY(-42deg) scale(.82);
}

.car-13__radio:nth-of-type(5):checked~.car-13__deck .car-13__cover:nth-child(1) {
  transform: translateX(-540px) rotateY(54deg) scale(.42);
}

.car-13__radio:nth-of-type(5):checked~.car-13__deck .car-13__cover:nth-child(2) {
  transform: translateX(-450px) rotateY(52deg) scale(.52);
}

.car-13__radio:nth-of-type(5):checked~.car-13__deck .car-13__cover:nth-child(3) {
  transform: translateX(-330px) rotateY(48deg) scale(.66);
}

.car-13__radio:nth-of-type(5):checked~.car-13__deck .car-13__cover:nth-child(4) {
  transform: translateX(-180px) rotateY(42deg) scale(.82);
}

/* default rest = deck focused on #3 handled by checked below */

.car-13__radio:nth-of-type(1):checked~.car-13__deck .car-13__cover:nth-child(1),
.car-13__radio:nth-of-type(2):checked~.car-13__deck .car-13__cover:nth-child(2),
.car-13__radio:nth-of-type(3):checked~.car-13__deck .car-13__cover:nth-child(3),
.car-13__radio:nth-of-type(4):checked~.car-13__deck .car-13__cover:nth-child(4),
.car-13__radio:nth-of-type(5):checked~.car-13__deck .car-13__cover:nth-child(5) {
  transform: translateX(0) rotateY(0) scale(1);
  opacity: 1;
  z-index: 5;
}

/* checked #1 */

.car-13__radio:nth-of-type(1):checked~.car-13__deck .car-13__cover:nth-child(2) {
  transform: translateX(120px) rotateY(-42deg) scale(.82);
  opacity: .75;
  z-index: 4;
}

.car-13__radio:nth-of-type(1):checked~.car-13__deck .car-13__cover:nth-child(3) {
  transform: translateX(210px) rotateY(-48deg) scale(.66);
  z-index: 3;
}

.car-13__radio:nth-of-type(1):checked~.car-13__deck .car-13__cover:nth-child(4) {
  transform: translateX(285px) rotateY(-52deg) scale(.52);
  opacity: .35;
  z-index: 2;
}

.car-13__radio:nth-of-type(1):checked~.car-13__deck .car-13__cover:nth-child(5) {
  transform: translateX(345px) rotateY(-54deg) scale(.42);
  opacity: .2;
  z-index: 1;
}

/* checked #2 */

.car-13__radio:nth-of-type(2):checked~.car-13__deck .car-13__cover:nth-child(1) {
  transform: translateX(-120px) rotateY(42deg) scale(.82);
  opacity: .75;
  z-index: 4;
}

.car-13__radio:nth-of-type(2):checked~.car-13__deck .car-13__cover:nth-child(3) {
  transform: translateX(120px) rotateY(-42deg) scale(.82);
  opacity: .75;
  z-index: 4;
}

.car-13__radio:nth-of-type(2):checked~.car-13__deck .car-13__cover:nth-child(4) {
  transform: translateX(210px) rotateY(-48deg) scale(.66);
  z-index: 3;
}

.car-13__radio:nth-of-type(2):checked~.car-13__deck .car-13__cover:nth-child(5) {
  transform: translateX(285px) rotateY(-52deg) scale(.52);
  opacity: .35;
  z-index: 2;
}

/* checked #3 */

.car-13__radio:nth-of-type(3):checked~.car-13__deck .car-13__cover:nth-child(1) {
  transform: translateX(-210px) rotateY(48deg) scale(.66);
  z-index: 3;
}

.car-13__radio:nth-of-type(3):checked~.car-13__deck .car-13__cover:nth-child(2) {
  transform: translateX(-120px) rotateY(42deg) scale(.82);
  opacity: .75;
  z-index: 4;
}

.car-13__radio:nth-of-type(3):checked~.car-13__deck .car-13__cover:nth-child(4) {
  transform: translateX(120px) rotateY(-42deg) scale(.82);
  opacity: .75;
  z-index: 4;
}

.car-13__radio:nth-of-type(3):checked~.car-13__deck .car-13__cover:nth-child(5) {
  transform: translateX(210px) rotateY(-48deg) scale(.66);
  z-index: 3;
}

/* checked #4 */

.car-13__radio:nth-of-type(4):checked~.car-13__deck .car-13__cover:nth-child(1) {
  transform: translateX(-285px) rotateY(52deg) scale(.52);
  opacity: .35;
  z-index: 2;
}

.car-13__radio:nth-of-type(4):checked~.car-13__deck .car-13__cover:nth-child(2) {
  transform: translateX(-210px) rotateY(48deg) scale(.66);
  z-index: 3;
}

.car-13__radio:nth-of-type(4):checked~.car-13__deck .car-13__cover:nth-child(3) {
  transform: translateX(-120px) rotateY(42deg) scale(.82);
  opacity: .75;
  z-index: 4;
}

.car-13__radio:nth-of-type(4):checked~.car-13__deck .car-13__cover:nth-child(5) {
  transform: translateX(120px) rotateY(-42deg) scale(.82);
  opacity: .75;
  z-index: 4;
}

/* checked #5 */

.car-13__radio:nth-of-type(5):checked~.car-13__deck .car-13__cover:nth-child(1) {
  transform: translateX(-345px) rotateY(54deg) scale(.42);
  opacity: .2;
  z-index: 1;
}

.car-13__radio:nth-of-type(5):checked~.car-13__deck .car-13__cover:nth-child(2) {
  transform: translateX(-285px) rotateY(52deg) scale(.52);
  opacity: .35;
  z-index: 2;
}

.car-13__radio:nth-of-type(5):checked~.car-13__deck .car-13__cover:nth-child(3) {
  transform: translateX(-210px) rotateY(48deg) scale(.66);
  z-index: 3;
}

.car-13__radio:nth-of-type(5):checked~.car-13__deck .car-13__cover:nth-child(4) {
  transform: translateX(-120px) rotateY(42deg) scale(.82);
  opacity: .75;
  z-index: 4;
}

.car-13__radio:focus-visible~.car-13__deck .car-13__cover:nth-child(1) {
  outline: 0;
}

.car-13__radio:nth-of-type(1):focus-visible~.car-13__deck .car-13__cover:nth-child(1),
.car-13__radio:nth-of-type(2):focus-visible~.car-13__deck .car-13__cover:nth-child(2),
.car-13__radio:nth-of-type(3):focus-visible~.car-13__deck .car-13__cover:nth-child(3),
.car-13__radio:nth-of-type(4):focus-visible~.car-13__deck .car-13__cover:nth-child(4),
.car-13__radio:nth-of-type(5):focus-visible~.car-13__deck .car-13__cover:nth-child(5) {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.car-19,
.car-19 *,
.car-19 *::before,
.car-19 *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.car-19 ::selection {
  background: var(--primary);
  color: #fff;
}

.car-19 {
  --accent: var(--accent-violet);
  width: 100%;
  padding: 28px 20px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.car-19__row {
  list-style: none;
  display: flex;
  gap: 10px;
  width: min(820px, 100%);
  height: min(260px, 38vh);
}

.car-19__panel {
  flex: 1 1 0;
  min-width: 0;
  transition: flex-grow .5s cubic-bezier(.2, .8, .2, 1);
}

.car-19__panel:hover,
.car-19__panel:focus-within {
  flex-grow: 5;
}

.car-19__link {
  position: relative;
  display: block;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  background: var(--gradient);
}

.car-19__link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 18%, rgba(255, 255, 255, .78) 100%);
  transition: background .5s;
}

.car-19__link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(.72);
  transition: filter .5s;
}

.car-19__panel:hover .car-19__link img,
.car-19__panel:focus-within .car-19__link img {
  filter: brightness(1);
}

.car-19__cap {
  position: absolute;
  left: 16px;
  bottom: 16px;
  right: 16px;
  z-index: 3;
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--secondary);
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 4px 18px rgba(9, 18, 35, .12);
  opacity: 1;
  transform: translateY(0);
  transition: color .4s, background .4s, opacity .4s;
  white-space: normal;
}

.car-19__cap b,
.car-19__cap small {
  display: block;
}

.car-19__cap b {
  font-size: 1.2rem;
  line-height: 1.2;
}

.car-19__cap small {
  font-size: .9rem;
  line-height: 1.4;
  color: var(--secondary);
  margin-top: 4px;
}

.car-19__panel:not(:hover):not(:focus-within) .car-19__cap small {
  display: none;
}

.car-19__panel:hover .car-19__cap,
.car-19__panel:focus-within .car-19__cap {
  background: rgba(255, 255, 255, .92);
}

.car-19__panel:hover .car-19__link,
.car-19__panel:focus-within .car-19__link {
  background: var(--gradient);
}

.car-19__link:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .car-19 {
    padding-inline: 0;
  }

  .car-19__row {
    flex-direction: column;
    height: auto;
    gap: 12px;
  }

  .car-19__panel,
  .car-19__panel:hover,
  .car-19__panel:focus-within {
    flex: none;
    width: 100%;
    height: 88px;
  }

  .car-19__panel:hover,
  .car-19__panel:focus-within {
    height: 310px;
  }

  .car-19__cap {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .car-19__panel:not(:hover):not(:focus-within) .car-19__cap small {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {

  .car-19__panel,
  .car-19__link img,
  .car-19__cap {
    transition: none;
  }
}

@media (hover: none) and (max-width: 768px) {

  .car-19__panel,
  .car-19__panel:hover,
  .car-19__panel:focus-within {
    height: 250px;
  }

  .car-19__panel:not(:hover):not(:focus-within) .car-19__cap small {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .car-13__cover {
    transition: none;
  }
}

@media (max-width: 700px) {
  .car-13 {
    padding-inline: 0;
  }

  .car-13__stage {
    overflow: hidden;
  }

  .car-13__deck {
    height: 360px;
    cursor: grab;
    touch-action: pan-y;
  }

  .car-13.is-dragging .car-13__deck {
    cursor: grabbing;
  }

  .car-13.is-dragging .car-13__cover {
    transition: none;
  }

  .car-13__hit {
    pointer-events: none;
  }

  .car-13__cover {
    width: min(280px, 82vw);
    height: min(280px, 82vw);
    margin: calc(min(280px, 82vw) / -2) 0 0 calc(min(280px, 82vw) / -2);
  }

  .car-13__radio:nth-of-type(1):checked~.car-13__deck .car-13__cover:nth-child(2),
  .car-13__radio:nth-of-type(2):checked~.car-13__deck .car-13__cover:nth-child(3),
  .car-13__radio:nth-of-type(3):checked~.car-13__deck .car-13__cover:nth-child(4),
  .car-13__radio:nth-of-type(4):checked~.car-13__deck .car-13__cover:nth-child(5) {
    transform: translateX(110px) rotateY(-32deg) scale(.78);
  }

  .car-13__radio:nth-of-type(2):checked~.car-13__deck .car-13__cover:nth-child(1),
  .car-13__radio:nth-of-type(3):checked~.car-13__deck .car-13__cover:nth-child(2),
  .car-13__radio:nth-of-type(4):checked~.car-13__deck .car-13__cover:nth-child(3),
  .car-13__radio:nth-of-type(5):checked~.car-13__deck .car-13__cover:nth-child(4) {
    transform: translateX(-110px) rotateY(32deg) scale(.78);
  }
}