:root {
  --bg: #fdf9f3;
  --bg-alt: #f8ecde;
  --surface: #fffdf9;
  --surface-alt: #fff2e2;
  --text: #2a2018;
  --text-soft: #5f5449;
  --accent: #b5572c;
  --accent-soft: #de8a54;
  --accent-deep: #8f3f1d;
  --line: #ecd8c3;
  --line-strong: #e3c09f;
  --shadow-soft: 0 14px 34px rgba(137, 84, 46, 0.14);
  --shadow-strong: 0 20px 50px rgba(137, 84, 46, 0.22);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --font-ui: "Sora", "Segoe UI", sans-serif;
  --font-display: "Spectral", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-ui);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  background: radial-gradient(circle at 10% 10%, #fff3e2, transparent 40%),
    radial-gradient(circle at 85% 15%, #ffe8d3, transparent 34%),
    radial-gradient(circle at 70% 90%, #f6ddc8, transparent 35%), var(--bg);
}

body.intro-running {
  overflow: hidden;
}

body.intro-running .site-header,
body.intro-running main,
body.intro-running .site-footer {
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  filter: blur(10px);
  transition: none;
}

.site-header,
main,
.site-footer {
  transition: opacity 720ms ease, transform 720ms ease, filter 720ms ease;
}

body.page-enter:not(.intro-running) .site-header,
body.page-enter:not(.intro-running) main,
body.page-enter:not(.intro-running) .site-footer {
  opacity: 0;
  transform: translateY(32px) scale(0.985);
  filter: blur(10px);
}

body.page-enter.page-enter-active:not(.intro-running) .site-header,
body.page-enter.page-enter-active:not(.intro-running) main,
body.page-enter.page-enter-active:not(.intro-running) .site-footer {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

body.page-enter.page-enter-active:not(.intro-running) .site-header {
  transition-delay: 0.14s;
}

body.page-enter.page-enter-active:not(.intro-running) main {
  transition-delay: 0.24s;
}

body.page-enter.page-enter-active:not(.intro-running) .site-footer {
  transition-delay: 0.34s;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0) 0,
    rgba(255, 255, 255, 0) 14px,
    rgba(181, 87, 44, 0.03) 14px,
    rgba(181, 87, 44, 0.03) 15px
  );
}

.site-intro {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  overflow: hidden;
  pointer-events: auto;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 232, 206, 0.96), rgba(255, 232, 206, 0.28) 24%, rgba(253, 249, 243, 0) 46%),
    linear-gradient(145deg, rgba(94, 43, 21, 0.97), rgba(143, 63, 29, 0.92) 42%, rgba(224, 138, 84, 0.92));
  opacity: 0;
  visibility: hidden;
  transition: opacity 650ms ease, visibility 650ms ease, transform 850ms ease;
}

.site-intro::before,
.site-intro::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 241, 224, 0.22);
}

.site-intro::before {
  width: 54vw;
  height: 54vw;
  min-width: 420px;
  min-height: 420px;
  max-width: 760px;
  max-height: 760px;
  animation: intro-halo-outer 2.6s ease-out forwards;
}

.site-intro::after {
  width: 34vw;
  height: 34vw;
  min-width: 260px;
  min-height: 260px;
  max-width: 480px;
  max-height: 480px;
  animation: intro-halo-inner 2.2s ease-out forwards;
}

.site-intro.visible {
  opacity: 1;
  visibility: visible;
}

.site-intro.done {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.03);
  pointer-events: none;
}

.site-intro-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.95), transparent 78%);
  opacity: 0.7;
}

.site-intro-beam {
  position: absolute;
  width: 120vw;
  height: 24vh;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.18),
    rgba(255, 255, 255, 0)
  );
  transform: rotate(-18deg) translateX(-110%);
  animation: intro-beam 1.8s cubic-bezier(0.16, 1, 0.3, 1) 0.18s forwards;
}

.site-intro-core {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 0.95rem;
  width: min(86vw, 720px);
  text-align: center;
  padding: 2rem 1.2rem;
}

.site-intro-logo-shell {
  position: relative;
  width: 122px;
  height: 122px;
  border-radius: 36px;
  padding: 10px;
  background: linear-gradient(160deg, rgba(255, 248, 238, 0.94), rgba(255, 229, 200, 0.88));
  box-shadow:
    0 0 0 1px rgba(255, 248, 238, 0.26),
    0 24px 46px rgba(35, 14, 8, 0.3),
    0 0 42px rgba(255, 214, 173, 0.22);
  transform: scale(0.56) rotate(-14deg);
  opacity: 0;
  filter: blur(12px);
  animation: intro-logo-in 0.95s cubic-bezier(0.2, 0.9, 0.22, 1) 0.12s forwards;
}

.site-intro-logo-shell::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 48px;
  border: 1px solid rgba(255, 244, 228, 0.26);
  animation: intro-ring-pulse 1.9s ease-out 0.25s forwards;
}

.site-intro-logo-shell img {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  object-fit: cover;
  display: block;
}

.site-intro-wordmark {
  margin: 0;
  color: #fff5ea;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(18px);
  animation: intro-text-rise 0.7s ease 0.42s forwards;
}

.site-intro-tagline {
  margin: 0;
  max-width: 28ch;
  color: rgba(255, 241, 224, 0.92);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.2vw, 2.35rem);
  line-height: 1.16;
  opacity: 0;
  transform: translateY(20px);
  animation: intro-text-rise 0.8s ease 0.58s forwards;
}

.site-intro-shimmer {
  position: absolute;
  left: -18%;
  right: -18%;
  bottom: 12%;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 240, 220, 0.9),
    rgba(255, 255, 255, 0)
  );
  transform: scaleX(0);
  transform-origin: center;
  animation: intro-line-grow 0.8s ease 0.78s forwards;
}

.site-intro-noise {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.3) 0, transparent 26%),
    radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.24) 0, transparent 24%),
    radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.18) 0, transparent 22%);
  mix-blend-mode: screen;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 130;
  background: rgba(255, 255, 255, 0.35);
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #a74723, #d07a46, #f0b085);
  box-shadow: 0 0 16px rgba(181, 87, 44, 0.45);
  transition: width 80ms linear;
}

.bg-glow {
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  filter: blur(50px);
  opacity: 0.45;
  pointer-events: none;
  will-change: transform, translate;
  transition: translate 220ms ease-out;
}

.bg-glow-one {
  width: 320px;
  height: 320px;
  top: -90px;
  left: -80px;
  background: #ffca95;
  animation: drift-a 15s ease-in-out infinite;
}

.bg-glow-two {
  width: 420px;
  height: 420px;
  right: -140px;
  bottom: -160px;
  background: #efb28a;
  animation: drift-b 18s ease-in-out infinite;
}

.float-shape {
  position: fixed;
  z-index: -1;
  pointer-events: none;
  border-radius: 36% 64% 56% 44% / 45% 39% 61% 55%;
  border: 1px solid rgba(181, 87, 44, 0.2);
  background: linear-gradient(
    150deg,
    rgba(255, 232, 206, 0.65),
    rgba(255, 247, 232, 0.15)
  );
  backdrop-filter: blur(2px);
  will-change: transform, translate;
  transition: translate 260ms ease-out;
}

.shape-a {
  width: 210px;
  height: 210px;
  right: 8%;
  top: 16%;
  animation: float-blob-a 17s ease-in-out infinite;
}

.shape-b {
  width: 190px;
  height: 190px;
  left: 7%;
  bottom: 12%;
  animation: float-blob-b 19s ease-in-out infinite;
}

@keyframes drift-a {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(34px, 28px) scale(1.05);
  }
}

@keyframes drift-b {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-40px, -18px) scale(0.96);
  }
}

@keyframes float-blob-a {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(-16px, 18px) rotate(8deg);
  }
}

@keyframes float-blob-b {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(18px, -12px) rotate(-7deg);
  }
}

@keyframes intro-logo-in {
  0% {
    opacity: 0;
    transform: scale(0.56) rotate(-14deg);
    filter: blur(12px);
  }
  68% {
    opacity: 1;
    transform: scale(1.05) rotate(2deg);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    filter: blur(0);
  }
}

@keyframes intro-text-rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes intro-line-grow {
  from {
    opacity: 0;
    transform: scaleX(0);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes intro-beam {
  0% {
    opacity: 0;
    transform: rotate(-18deg) translateX(-110%);
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(-18deg) translateX(110%);
  }
}

@keyframes intro-ring-pulse {
  0% {
    opacity: 0;
    transform: scale(0.7);
  }
  30% {
    opacity: 0.95;
  }
  100% {
    opacity: 0;
    transform: scale(1.32);
  }
}

@keyframes intro-halo-outer {
  0% {
    opacity: 0;
    transform: scale(0.6);
  }
  35% {
    opacity: 0.5;
  }
  100% {
    opacity: 0;
    transform: scale(1.18);
  }
}

@keyframes intro-halo-inner {
  0% {
    opacity: 0;
    transform: scale(0.72);
  }
  35% {
    opacity: 0.65;
  }
  100% {
    opacity: 0;
    transform: scale(1.28);
  }
}

@keyframes orbit-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse-soft {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes float-soft {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes button-glow {
  0%,
  100% {
    box-shadow: 0 10px 22px rgba(181, 83, 45, 0.35);
  }
  50% {
    box-shadow: 0 16px 30px rgba(181, 83, 45, 0.48);
  }
}

.container {
  width: min(1120px, calc(100% - 2.4rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 249, 243, 0.84);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(236, 216, 195, 0.55);
  transition: box-shadow 220ms ease, background 220ms ease, border-color 220ms ease;
}

.site-header.scrolled {
  background: rgba(255, 248, 238, 0.92);
  border-color: rgba(227, 192, 159, 0.7);
  box-shadow: 0 12px 30px rgba(143, 63, 29, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand span {
  font-size: clamp(1.2rem, 1rem + 0.45vw, 1.45rem);
  line-height: 1;
}

.brand img {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  object-fit: cover;
  border: 2px solid rgba(181, 83, 45, 0.38);
  box-shadow: 0 8px 16px rgba(181, 83, 45, 0.16);
}

.site-navigation {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.site-navigation a {
  position: relative;
  color: var(--text-soft);
  text-decoration: none;
  font-weight: 500;
  transition: color 180ms ease;
}

.site-navigation a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 220ms ease;
}

.site-navigation a:hover,
.site-navigation a:focus-visible,
.site-navigation a.active {
  color: var(--accent);
}

.site-navigation a:hover::after,
.site-navigation a:focus-visible::after,
.site-navigation a.active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  padding: 0.5rem 0.86rem;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: center;
  padding: 5rem 0 2.6rem;
}

.hero h1 {
  text-wrap: balance;
}

.hero-tag {
  display: inline-flex;
  margin: 0 0 0.7rem;
  padding: 0.34rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(181, 87, 44, 0.28);
  background: rgba(255, 246, 233, 0.9);
  color: var(--accent-deep);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.hero-aside {
  position: relative;
  display: grid;
  gap: 1rem;
}

.hero-orbit {
  width: 280px;
  height: 280px;
  justify-self: end;
  border-radius: 50%;
  position: relative;
  margin-bottom: -75px;
  will-change: transform;
  transition: transform 260ms ease;
}

.hero-orbit::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(181, 87, 44, 0.35);
  animation: orbit-spin 18s linear infinite;
}

.hero-orbit::after {
  content: "";
  position: absolute;
  inset: 24px;
  border-radius: 50%;
  border: 1px solid rgba(181, 87, 44, 0.25);
}

.orbit-core {
  position: absolute;
  inset: 84px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(181, 87, 44, 0.35);
  box-shadow: 0 16px 26px rgba(143, 63, 29, 0.16);
  animation: pulse-soft 5s ease-in-out infinite;
}

.orbit-core img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.orbit-pill {
  position: absolute;
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 250, 244, 0.95);
  color: var(--accent-deep);
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 8px 16px rgba(143, 63, 29, 0.1);
  animation: float-soft 3.6s ease-in-out infinite;
}

.pill-1 {
  top: 8%;
  right: -3%;
}

.pill-2 {
  bottom: 18%;
  left: -11%;
  animation-delay: 0.8s;
}

.pill-3 {
  bottom: 2%;
  right: 8%;
  animation-delay: 1.4s;
}

.eyebrow {
  margin: 0 0 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.16;
  margin-top: 0;
}

h1 {
  margin-bottom: 0.95rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h2 {
  margin-bottom: 0.5rem;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

h3 {
  margin-bottom: 0.5rem;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

p {
  margin-top: 0;
  color: var(--text-soft);
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.82rem 1.25rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 180ms ease, box-shadow 220ms ease, background 220ms ease,
    border-color 220ms ease;
  cursor: pointer;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  left: -60%;
  top: -2px;
  width: 40%;
  height: calc(100% + 4px);
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.46),
    rgba(255, 255, 255, 0)
  );
  transform: skewX(-22deg);
  transition: left 550ms ease;
}

.btn:hover::after,
.btn:focus-visible::after {
  left: 130%;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(140deg, var(--accent), var(--accent-soft));
  box-shadow: 0 10px 22px rgba(181, 83, 45, 0.35);
  animation: button-glow 3.4s ease-in-out infinite;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 14px 24px rgba(181, 83, 45, 0.45);
}

.btn-outline {
  border-color: var(--line-strong);
  color: var(--accent-deep);
  background: #fff8f1;
}

.hero-card {
  --spotlight-x: 50%;
  --spotlight-y: 50%;
  position: relative;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, #fffaf2, #ffe9d8);
  border: 1px solid #f2d7bf;
  padding: 1.4rem;
  box-shadow: var(--shadow-strong);
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 240ms ease, box-shadow 240ms ease;
  overflow: hidden;
  isolation: isolate;
}

.hero-card:hover {
  box-shadow: 0 24px 56px rgba(137, 84, 46, 0.28);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(
    circle 140px at var(--spotlight-x) var(--spotlight-y),
    rgba(255, 255, 255, 0.34),
    rgba(255, 255, 255, 0.12) 34%,
    rgba(255, 255, 255, 0) 70%
  );
  opacity: 0;
  transition: opacity 220ms ease;
  z-index: 0;
}

.hero-card > * {
  position: relative;
  z-index: 1;
}

.hero-card:hover::before,
.hero-card.is-glowing::before {
  opacity: 1;
}

.hero-card ul {
  padding-left: 1.2rem;
  margin: 0;
}

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

.metric-card {
  padding: 0.66rem 0.72rem;
  border-radius: 12px;
  border: 1px solid rgba(227, 192, 159, 0.7);
  background: linear-gradient(180deg, rgba(255, 250, 243, 0.9), rgba(255, 245, 232, 0.82));
}

.metric-value {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--accent-deep);
  line-height: 1;
}

.metric-label {
  margin: 0.3rem 0 0;
  color: #6e5f51;
  font-size: 0.76rem;
  line-height: 1.35;
}

.page-hero {
  padding: 4.7rem 0 1.3rem;
}

.page-hero h1 {
  margin-bottom: 0.6rem;
}

.page-hero p {
  max-width: 72ch;
}

[data-subpage-default][hidden],
[data-subpage][hidden] {
  display: none !important;
}

.subpage-view {
  min-height: calc(100vh - 180px);
}

.subpage-hero {
  padding: 4.7rem 0 1.4rem;
}

.subpage-hero h1 {
  margin-bottom: 0.6rem;
}

.subpage-hero p {
  max-width: 72ch;
}

.subpage-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.subpage-view ol {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-soft);
}

.subpage-view li + li {
  margin-top: 0.5rem;
}

.session-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.session-list li {
  color: var(--text-soft);
}

.portrait-card {
  margin: 0;
}

.portrait-frame {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(227, 192, 159, 0.8);
  background: linear-gradient(180deg, rgba(255, 252, 246, 0.95), rgba(255, 245, 233, 0.92));
  box-shadow: 0 18px 40px rgba(137, 84, 46, 0.16);
}

.portrait-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 22%;
}

.portrait-caption {
  margin: 1rem 0 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.breadcrumb {
  margin: 0 0 0.6rem;
  font-size: 0.88rem;
  color: #705f4e;
}

.breadcrumb a {
  color: #705f4e;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease, color 180ms ease;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--accent-deep);
  border-color: rgba(143, 63, 29, 0.55);
}

.section {
  position: relative;
  padding: 3.3rem 0;
  isolation: isolate;
}

.section::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  width: 100vw;
  height: 100%;
  z-index: -1;
  opacity: 0;
  transition: opacity 300ms ease;
}

main .section:nth-of-type(even)::before {
  opacity: 1;
  background: linear-gradient(
    180deg,
    rgba(255, 241, 224, 0.46),
    rgba(255, 247, 236, 0.18),
    rgba(255, 241, 224, 0.46)
  );
}

.section-heading {
  position: relative;
  margin-bottom: 1.3rem;
  padding-left: 0.95rem;
  border-left: 4px solid rgba(181, 87, 44, 0.36);
}

.section-heading::after {
  content: "";
  position: absolute;
  left: 0.95rem;
  bottom: -0.18rem;
  width: min(220px, 56%);
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(181, 87, 44, 0.9), rgba(222, 138, 84, 0.15));
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1), opacity 420ms ease;
}

.reveal.visible .section-heading::after {
  transform: scaleX(1);
  opacity: 1;
  transition-delay: 180ms;
}

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

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

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

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

.card {
  --spotlight-x: 50%;
  --spotlight-y: 50%;
  position: relative;
  padding: 1.28rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 252, 246, 0.95));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
  overflow: hidden;
  isolation: isolate;
}

.card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(
    circle 150px at var(--spotlight-x) var(--spotlight-y),
    rgba(255, 255, 255, 0.46),
    rgba(255, 241, 224, 0.28) 32%,
    rgba(255, 255, 255, 0) 70%
  );
  opacity: 0;
  transition: opacity 220ms ease;
  z-index: 0;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.28),
    rgba(255, 255, 255, 0) 38%,
    rgba(181, 87, 44, 0.08) 100%
  );
  opacity: 0;
  transition: opacity 250ms ease;
  z-index: 0;
}

.card > * {
  position: relative;
  z-index: 1;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
  border-color: var(--line-strong);
}

.card:hover::before,
.card.is-glowing::before {
  opacity: 1;
}

.card:hover::after {
  opacity: 1;
}

.card.alt {
  background: linear-gradient(180deg, #fff7ec, #fff1e2);
}

.card ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-soft);
}

.route-card {
  display: flex;
  flex-direction: column;
}

.route-card .btn {
  margin-top: auto;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chips span {
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  background: #fff3e6;
  border: 1px solid #f2d5bc;
  color: var(--accent-deep);
  font-size: 0.9rem;
  font-weight: 600;
  animation: float-soft 3.8s ease-in-out infinite;
}

.chips span:nth-child(2) {
  animation-delay: 0.5s;
}

.chips span:nth-child(3) {
  animation-delay: 1s;
}

.chips span:nth-child(4) {
  animation-delay: 1.5s;
}

.chips span:nth-child(5) {
  animation-delay: 2s;
}

.registration-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
}

.small-note {
  margin-top: 1rem;
  font-size: 0.94rem;
}

.form-card {
  display: grid;
  gap: 0.72rem;
}

.form-row {
  display: grid;
  gap: 0.34rem;
}

label {
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--text);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #e8cfb8;
  border-radius: var(--radius-md);
  padding: 0.68rem 0.75rem;
  font: inherit;
  color: var(--text);
  background: #fffcf8;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  border-color: #d89266;
  box-shadow: 0 0 0 3px rgba(216, 146, 102, 0.24);
  background: #fffefc;
}

.checkbox-row {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.5rem;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
}

.form-feedback {
  min-height: 1.3rem;
  margin: 0.2rem 0 0;
  color: var(--accent-deep);
  font-weight: 600;
}

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

.closing-cta {
  position: relative;
  overflow: hidden;
  margin-top: 1.1rem;
  margin-bottom: 0.6rem;
}

.closing-cta::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  background: linear-gradient(135deg, #f8ddc3, #f2c9a8 44%, #f7e8d3);
  z-index: -1;
}

.closing-cta::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  right: -160px;
  top: -180px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.58) 0,
    rgba(255, 255, 255, 0) 64%
  );
  animation: drift-a 17s ease-in-out infinite;
}

.closing-cta-inner {
  padding: 2.3rem 0;
}

.closing-cta h2 {
  margin-bottom: 0.55rem;
}

.closing-cta p {
  max-width: 66ch;
}

a {
  color: var(--accent-deep);
}

.site-footer {
  border-top: 1px solid rgba(236, 216, 195, 0.9);
  margin-top: 1.8rem;
  background: linear-gradient(180deg, rgba(255, 246, 236, 0.74), rgba(255, 245, 233, 0.86));
}

.footer-inner {
  min-height: 84px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
}

.footer-inner p {
  margin: 0;
}

.reveal {
  --reveal-ease: cubic-bezier(0.22, 1, 0.36, 1);
  opacity: 0;
  transform: translateY(42px);
  filter: blur(16px);
  transition:
    opacity 820ms var(--reveal-ease),
    transform 820ms var(--reveal-ease),
    filter 820ms var(--reveal-ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.scroll-reveal-item {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(10px);
  transition:
    opacity 760ms var(--reveal-ease),
    transform 760ms var(--reveal-ease),
    filter 760ms var(--reveal-ease);
  transition-delay: var(--sr-delay, 0ms);
  will-change: opacity, transform, filter;
}

.scroll-reveal-item.scroll-reveal-soft {
  transform: translateY(14px);
  filter: blur(6px);
}

.reveal.visible .scroll-reveal-item {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@media (max-width: 920px) {
  .float-shape {
    display: none;
  }

  .site-intro-logo-shell {
    width: 106px;
    height: 106px;
    border-radius: 30px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 3.9rem;
  }

  .hero-aside {
    justify-items: start;
  }

  .hero-orbit {
    width: 240px;
    height: 240px;
    margin-bottom: -54px;
    justify-self: start;
  }

  .orbit-core {
    inset: 74px;
  }

  .grid-two,
  .split,
  .route-grid,
  .hero-metrics,
  .registration-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .site-navigation {
    position: absolute;
    top: 96px;
    left: 0;
    right: 0;
    padding: 0.95rem 1rem 1.05rem;
    background: rgba(255, 248, 237, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }

  .site-navigation.open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 560px) {
  .scroll-progress {
    height: 3px;
  }

  .site-intro-core {
    width: min(90vw, 480px);
    gap: 0.7rem;
  }

  .site-intro-logo-shell {
    width: 92px;
    height: 92px;
    padding: 8px;
    border-radius: 26px;
  }

  .site-intro-wordmark {
    letter-spacing: 0.16em;
  }

  .container {
    width: min(1120px, calc(100% - 1.2rem));
  }

  .header-inner {
    min-height: 82px;
  }

  .site-navigation {
    top: 82px;
  }

  .brand {
    gap: 0.75rem;
  }

  .brand span {
    font-size: 1.05rem;
  }

  .brand img {
    width: 58px;
    height: 58px;
    border-radius: 16px;
  }

  .hero-orbit {
    width: 210px;
    height: 210px;
    margin-bottom: -36px;
  }

  .hero-tag {
    margin-bottom: 0.5rem;
  }

  .orbit-core {
    inset: 62px;
  }

  .orbit-pill {
    font-size: 0.74rem;
    padding: 0.3rem 0.58rem;
  }

  .section-heading {
    padding-left: 0.68rem;
    border-left-width: 3px;
  }

  .closing-cta-inner {
    padding: 1.9rem 0;
  }

  .card,
  .hero-card {
    border-radius: 16px;
  }

  .footer-inner {
    flex-direction: column;
    justify-content: center;
    padding: 0.7rem 0;
    min-height: 94px;
  }
}

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

  .reveal,
  .scroll-reveal-item {
    transition: none !important;
    transform: none !important;
    filter: none !important;
  }

  .btn-primary,
  .section-heading::after,
  .card::before,
  .card::after,
  .hero-card::before {
    animation: none !important;
    transition: none !important;
  }

  .bg-glow-one,
  .bg-glow-two,
  .shape-a,
  .shape-b,
  .hero-orbit::before,
  .orbit-core,
  .orbit-pill,
  .chips span,
  .closing-cta::after {
    animation: none !important;
  }
}
