/* RelentisAI — pastel AI / ML palette + glass */

:root {
  --bg-0: #e8e4f2;
  --bg-1: #dce8f5;
  --bg-2: #d4f0e8;
  --surface: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.7) 0%,
    rgba(240, 248, 255, 0.5) 38%,
    rgba(248, 242, 255, 0.48) 72%,
    rgba(252, 248, 255, 0.45) 100%
  );
  --surface-strong: rgba(255, 255, 255, 0.78);
  --stroke: rgba(255, 255, 255, 0.85);
  --stroke-soft: rgba(80, 60, 120, 0.06);
  --text: #1a1826;
  --text-muted: #4a4758;
  --text-faint: #7a7688;
  /* Pastel AI accents: indigo · violet · cyan */
  --accent: #5b6abf;
  --accent-soft: rgba(91, 106, 191, 0.16);
  --shadow: 0 22px 56px rgba(75, 60, 140, 0.1);
  --shadow-soft: 0 10px 32px rgba(70, 55, 120, 0.08);
  --radius: 24px;
  --radius-sm: 16px;
  --radius-btn: 14px;
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --max: 1180px;
  --scroll: 0;
  --mx: 0px;
  --my: 0px;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  color: var(--text);
  background: linear-gradient(
    165deg,
    #e8e2f4 0%,
    #ddeaf8 22%,
    #e0f4f0 48%,
    #f0e8fc 72%,
    #e5eefc 100%
  );
  position: relative;
  overflow-x: hidden;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 200;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  height: 100%;
  transform: scaleX(var(--scroll, 0));
  transform-origin: left center;
  background: linear-gradient(
    90deg,
    #7b6fd8 0%,
    #5ba3e8 38%,
    #4ec8d4 68%,
    #7dd4b8 100%
  );
  border-radius: 0 3px 3px 0;
  box-shadow: 0 0 24px rgba(110, 100, 200, 0.4);
  transition: transform 0.12s ease-out;
}

.reduce-motion .scroll-progress {
  display: none;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(100, 80, 160, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 80, 160, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(
    ellipse 85% 70% at 50% 35%,
    rgba(0, 0, 0, 0.55) 0%,
    transparent 75%
  );
}

.reduce-motion .bg-grid {
  opacity: 0.5;
}

.bg-gradient {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(
      ellipse 120% 80% at 6% 8%,
      rgba(200, 190, 255, 0.75) 0%,
      rgba(220, 210, 255, 0.25) 45%,
      transparent 58%
    ),
    radial-gradient(
      ellipse 95% 70% at 94% 10%,
      rgba(180, 230, 255, 0.7) 0%,
      transparent 52%
    ),
    radial-gradient(
      ellipse 75% 60% at 50% 100%,
      rgba(170, 240, 215, 0.55) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse 55% 45% at 78% 42%,
      rgba(255, 190, 230, 0.35) 0%,
      transparent 52%
    ),
    radial-gradient(
      ellipse 40% 35% at 22% 55%,
      rgba(150, 210, 255, 0.3) 0%,
      transparent 48%
    ),
    linear-gradient(
      168deg,
      #ebe4f8 0%,
      #e0eefc 30%,
      #e4faf5 58%,
      #f2eefc 100%
    );
  animation: bg-breathe 22s ease-in-out infinite alternate;
}

@keyframes bg-breathe {
  0% {
    filter: saturate(1.05) hue-rotate(0deg);
    transform: scale(1);
  }
  100% {
    filter: saturate(1.15) hue-rotate(8deg);
    transform: scale(1.025);
  }
}

.reduce-motion .bg-gradient {
  animation: none;
}

.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(78px);
  opacity: 0.62;
  will-change: transform;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.orb-a {
  width: min(70vw, 520px);
  height: min(70vw, 520px);
  background: radial-gradient(
    circle,
    rgba(190, 175, 255, 0.95) 0%,
    rgba(210, 195, 255, 0.45) 42%,
    transparent 68%
  );
  top: -12%;
  left: -5%;
  transform: translate(calc(var(--mx) * 0.6), calc(var(--my) * 0.45));
}

.orb-b {
  width: min(55vw, 420px);
  height: min(55vw, 420px);
  background: radial-gradient(
    circle,
    rgba(140, 220, 255, 0.9) 0%,
    rgba(180, 235, 250, 0.45) 48%,
    transparent 70%
  );
  bottom: 5%;
  right: -8%;
  transform: translate(calc(var(--mx) * -0.5), calc(var(--my) * -0.4));
}

.orb-c {
  width: min(45vw, 340px);
  height: min(45vw, 340px);
  background: radial-gradient(
    circle,
    rgba(120, 235, 200, 0.82) 0%,
    rgba(170, 245, 215, 0.45) 52%,
    transparent 72%
  );
  top: 42%;
  left: 35%;
  transform: translate(calc(var(--mx) * 0.25), calc(var(--my) * 0.35));
}

.reduce-motion .bg-orbs {
  display: none;
}

.bg-noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.042;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.shell {
  width: min(100% - 1.75rem, var(--max));
  margin-inline: auto;
}

/* Glass */
.glass {
  background: var(--surface);
  backdrop-filter: blur(20px) saturate(1.55);
  -webkit-backdrop-filter: blur(20px) saturate(1.55);
  border: 1px solid var(--stroke);
  box-shadow:
    var(--shadow-soft),
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    inset 0 -1px 0 rgba(130, 110, 200, 0.07);
  transition:
    box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s ease,
    background 0.4s ease;
}

@media (hover: hover) {
  .glass:hover {
    border-color: rgba(255, 255, 255, 0.98);
    box-shadow:
      var(--shadow-soft),
      inset 0 1px 0 rgba(255, 255, 255, 0.9),
      0 0 0 1px rgba(140, 120, 220, 0.12),
      0 12px 44px rgba(100, 80, 180, 0.1);
  }
}

.panel {
  border-radius: var(--radius);
  padding: clamp(1.35rem, 3.2vw, 2rem);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #6b5fd4;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(140, 120, 220, 0.22);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 4px 20px rgba(100, 80, 180, 0.06);
}

.badge--inline {
  padding: 0.32rem 0.75rem;
  font-size: 0.625rem;
}

.section-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8b7ec8;
  margin-bottom: 0.55rem;
}

/* Scroll-driven reveals */
.reveal {
  opacity: 0;
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal:not(.tilt-card) {
  transform: translateY(1.75rem);
  filter: blur(4px);
}

.reveal.tilt-card {
  filter: blur(5px);
}

.reveal.is-visible {
  opacity: 1;
  filter: blur(0);
}

.reveal:not(.tilt-card).is-visible {
  transform: translateY(0);
}

.card-grid .reveal:nth-child(1) {
  transition-delay: 0s;
}
.card-grid .reveal:nth-child(2) {
  transition-delay: 0.08s;
}
.card-grid .reveal:nth-child(3) {
  transition-delay: 0.16s;
}
.card-grid .reveal:nth-child(4) {
  transition-delay: 0.24s;
}

.reduce-motion .reveal {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  transition: none !important;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.65rem 0;
  transition: padding 0.35s ease;
}

.site-header.is-scrolled {
  padding: 0.5rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.58) 0%,
    rgba(236, 232, 255, 0.48) 45%,
    rgba(228, 245, 255, 0.44) 100%
  );
  backdrop-filter: blur(16px) saturate(1.45);
  -webkit-backdrop-filter: blur(16px) saturate(1.45);
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
  transition:
    background 0.4s ease,
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

.site-header.is-scrolled .header-inner {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.72) 0%,
    rgba(230, 224, 255, 0.58) 50%,
    rgba(220, 240, 255, 0.52) 100%
  );
  box-shadow: 0 12px 40px rgba(90, 70, 160, 0.12);
  border-color: rgba(255, 255, 255, 0.95);
}

.logo {
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.035em;
  color: var(--text);
  text-decoration: none;
  transition: transform 0.25s ease, color 0.25s ease;
}

.logo:hover {
  transform: translateY(-1px);
}

.logo-accent {
  font-weight: 700;
  background: linear-gradient(120deg, #6b5fd4 0%, #4a9fd4 50%, #5cb89a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

.nav a:not(.nav-cta) {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.25s ease;
}

.nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #8b7fd8 0%, #4eb8d8 100%);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav a:not(.nav-cta):hover {
  color: var(--text);
}

.nav a:not(.nav-cta):hover::after,
.nav a:not(.nav-cta):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.nav a:not(.nav-cta):focus-visible {
  outline: 2px solid #7b6fd8;
  outline-offset: 4px;
  border-radius: 4px;
}

.nav-cta {
  margin-left: 0.5rem;
  padding: 0.5rem 1.15rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fafbff !important;
  text-decoration: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #6b5fd4 0%, #4a8fe8 100%);
  box-shadow: 0 4px 18px rgba(90, 80, 200, 0.35);
  transition:
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(80, 110, 220, 0.4);
}

.nav-cta:focus-visible {
  outline: 2px solid #5b6abf;
  outline-offset: 3px;
}

.reduce-motion .nav a:not(.nav-cta)::after {
  transition: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 12px;
  background: var(--accent-soft);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.is-open .nav-toggle-bar:first-child {
  transform: translateY(4px) rotate(45deg);
}

.site-header.is-open .nav-toggle-bar:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.68) 0%,
    rgba(238, 232, 255, 0.55) 50%,
    rgba(228, 246, 255, 0.5) 100%
  );
  backdrop-filter: blur(14px) saturate(1.35);
  -webkit-backdrop-filter: blur(14px) saturate(1.35);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-soft);
}

.mobile-nav a:not(.nav-cta--mobile) {
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--stroke-soft);
}

.mobile-nav a.nav-cta--mobile {
  margin-top: 0.35rem;
  padding: 0.75rem 1rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.875rem;
  color: #fafbff !important;
  text-decoration: none;
  border-radius: var(--radius-btn);
  background: linear-gradient(135deg, #6b5fd4 0%, #4a8fe8 100%);
  box-shadow: 0 4px 18px rgba(90, 80, 200, 0.32);
  border-bottom: none;
}

.mobile-nav a:last-child {
  border-bottom: none;
}

@media (max-width: 720px) {
  .nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .mobile-nav:not([hidden]) {
    display: flex;
  }
}

main {
  position: relative;
  isolation: isolate;
}

/* Hero */
.hero {
  position: relative;
  z-index: 0;
  padding: clamp(1.25rem, 4vw, 2.25rem) 0 1.75rem;
  perspective: 1400px;
}

.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  top: 0;
  bottom: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    168deg,
    rgba(230, 220, 255, 0.55) 0%,
    rgba(210, 235, 255, 0.42) 38%,
    rgba(200, 245, 230, 0.38) 68%,
    rgba(245, 230, 255, 0.35) 100%
  );
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.hero-copy > * {
  animation: hero-in 0.95s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.hero-copy > *:nth-child(1) {
  animation-delay: 0.08s;
}
.hero-copy > *:nth-child(2) {
  animation-delay: 0.18s;
}
.hero-copy > *:nth-child(3) {
  animation-delay: 0.28s;
}
.hero-copy > *:nth-child(4) {
  animation-delay: 0.38s;
}

.reduce-motion .hero-copy > * {
  animation: none !important;
  opacity: 1 !important;
  filter: none !important;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.22fr 0.78fr;
  gap: clamp(1rem, 3vw, 1.35rem);
  align-items: stretch;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.eyebrow {
  margin: 0 0 1rem;
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-family: var(--font-serif);
  font-size: clamp(2.45rem, 5.5vw, 3.65rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.hero h1 em {
  font-style: italic;
  background: linear-gradient(120deg, #6b5fd4 0%, #3a9fd0 45%, #4aafa0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  margin: 0 0 1.35rem;
  color: var(--text-muted);
  max-width: 42ch;
  font-size: 1.02rem;
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.85rem;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.8rem 1.4rem;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  transition:
    background 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-actions .btn-primary::after {
  content: "→";
  font-size: 1.05em;
  font-weight: 500;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-actions .btn-primary:hover::after {
  transform: translateX(4px);
}

.btn-primary {
  background: linear-gradient(
    145deg,
    #6b5fd4 0%,
    #4a8fe8 35%,
    #38b8d4 70%,
    #5cba9a 100%
  );
  background-size: 200% 200%;
  background-position: 0% 50%;
  color: #fafbff;
  box-shadow: 0 4px 26px rgba(90, 80, 200, 0.35);
}

.btn-primary:hover {
  background-position: 100% 50%;
  box-shadow: 0 8px 36px rgba(70, 130, 210, 0.4);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.58) 0%,
    rgba(236, 230, 255, 0.45) 45%,
    rgba(220, 245, 255, 0.42) 100%
  );
  color: var(--text);
  border-color: rgba(200, 190, 255, 0.45);
}

.btn-ghost:hover {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.78) 0%,
    rgba(232, 224, 255, 0.62) 50%,
    rgba(218, 242, 255, 0.55) 100%
  );
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(100, 90, 200, 0.12);
  border-color: rgba(180, 170, 240, 0.55);
}

.btn-ghost:active {
  transform: translateY(0);
}

.reduce-motion .btn-primary {
  background: linear-gradient(145deg, #6b5fd4, #4a9fd4);
  background-size: auto;
}

.reduce-motion .btn:hover {
  transform: none;
}

.hero-aside {
  padding: 1.25rem;
  display: flex;
  align-items: center;
}

.stat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.stat-list li {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--stroke-soft);
  animation: hero-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.stat-list li:nth-child(1) {
  animation-delay: 0.45s;
}
.stat-list li:nth-child(2) {
  animation-delay: 0.55s;
}
.stat-list li:nth-child(3) {
  animation-delay: 0.65s;
}

.reduce-motion .stat-list li {
  animation: none !important;
}

.stat-list li:first-child {
  padding-top: 0;
}

.stat-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.stat-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9b8ec8;
}

.stat-value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
}

/* Sections */
.section {
  position: relative;
  z-index: 0;
  padding: clamp(1.75rem, 4vw, 2.75rem) 0;
}

#focus::before,
#approach::before,
#contact::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  top: 0;
  bottom: 0;
  z-index: -1;
  pointer-events: none;
}

#focus::before {
  background: linear-gradient(
    188deg,
    rgba(210, 200, 255, 0.45) 0%,
    rgba(200, 235, 255, 0.35) 55%,
    rgba(240, 230, 255, 0.25) 100%
  );
}

#approach::before {
  background: linear-gradient(
    178deg,
    rgba(195, 245, 225, 0.42) 0%,
    rgba(220, 210, 255, 0.32) 50%,
    rgba(230, 220, 255, 0.28) 100%
  );
}

#contact::before {
  background: linear-gradient(
    182deg,
    rgba(220, 200, 255, 0.38) 0%,
    rgba(190, 235, 255, 0.36) 55%,
    rgba(210, 255, 240, 0.22) 100%
  );
}

.section-alt {
  padding-top: 0;
}

.section-head {
  max-width: 52ch;
  margin-bottom: 1.35rem;
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3.6vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #2a2538;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

@media (max-width: 700px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
}

.tilt-card {
  --rx: 0deg;
  --ry: 0deg;
  --lift: 0px;
  transform: perspective(920px) rotateX(var(--rx)) rotateY(var(--ry))
    translateY(var(--lift));
  transform-style: preserve-3d;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease;
}

@media (hover: hover) {
  .tilt-card:hover {
    --lift: -5px;
    box-shadow:
      var(--shadow),
      inset 0 1px 0 rgba(255, 255, 255, 0.6),
      0 0 0 1px rgba(160, 140, 230, 0.12);
  }
}

.tilt-subtle {
  --rx: 0deg;
  --ry: 0deg;
  transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.reduce-motion .tilt-card,
.reduce-motion .tilt-subtle {
  transform: none !important;
  transition: box-shadow 0.3s ease !important;
}

.card-icon {
  font-size: 0.75rem;
  margin-bottom: 0.65rem;
  letter-spacing: 0.05em;
  opacity: 0.92;
}

.card-grid .tilt-card:nth-child(1) .card-icon {
  color: #8b7fd8;
}

.card-grid .tilt-card:nth-child(2) .card-icon {
  color: #4a9fe8;
}

.card-grid .tilt-card:nth-child(3) .card-icon {
  color: #3db8a8;
}

.card-grid .tilt-card:nth-child(4) .card-icon {
  color: #b07fd4;
}

.card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

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

/* Split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  align-items: stretch;
}

@media (max-width: 800px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.panel-narrow .section-label + h2,
.panel-narrow h2 {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 3.1vw, 2.05rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.18;
}

.panel-narrow > p {
  margin: 0 0 1.1rem;
  color: var(--text-muted);
}

.checklist {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text-muted);
}

.checklist li {
  margin-bottom: 0.5rem;
}

.checklist li:last-child {
  margin-bottom: 0;
}

.panel-quote {
  display: flex;
  align-items: center;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.52) 0%,
    rgba(230, 218, 255, 0.42) 35%,
    rgba(210, 240, 255, 0.38) 70%,
    rgba(220, 255, 245, 0.32) 100%
  );
}

.panel-quote blockquote {
  margin: 0;
}

.panel-quote blockquote p {
  margin: 0 0 0.75rem;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--text);
}

.panel-quote footer {
  font-size: 0.875rem;
  color: #8b82b0;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

@media (max-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-card h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.8vw, 1.7rem);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.address {
  margin: 0 0 0.85rem;
  font-style: normal;
  line-height: 1.7;
  color: var(--text-muted);
}

.address strong {
  color: var(--text);
  font-weight: 600;
}

.address-email {
  color: #6b5fd4;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(107, 95, 212, 0.35);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.address-email:hover {
  color: #3a9fd0;
  border-bottom-color: rgba(58, 159, 208, 0.5);
}

.contact-note {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.contact-cta .eyebrow {
  margin-bottom: 0.7rem;
}

.contact-cta h3 {
  margin: 0.35rem 0 0.75rem;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.25;
}

.contact-cta .contact-lede {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.contact-cta .btn-primary {
  margin-bottom: 0.65rem;
}

.contact-hint {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  padding: 1.25rem 0 1.5rem;
  border-top: 1px solid rgba(180, 160, 230, 0.22);
  background: linear-gradient(
    180deg,
    rgba(236, 228, 255, 0.5) 0%,
    rgba(220, 245, 255, 0.2) 100%
  );
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.footer-brand {
  font-weight: 700;
  letter-spacing: -0.035em;
  font-size: 1.0625rem;
}

.footer-meta {
  font-size: 0.875rem;
  color: #8a82a8;
}
