/* Greenbrier Equine Farm — main styles */

:root {
  --radius: 0.625rem;
  --background: oklch(0.98 0.012 90);
  --foreground: oklch(0.18 0.02 250);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.18 0.02 250);
  --primary: oklch(0.55 0.11 190);
  --primary-foreground: oklch(0.98 0.012 90);
  --secondary: oklch(0.94 0.015 90);
  --secondary-foreground: oklch(0.18 0.02 250);
  --muted: oklch(0.94 0.015 90);
  --muted-foreground: oklch(0.45 0.02 250);
  --accent: oklch(0.68 0.11 190);
  --accent-foreground: oklch(0.98 0.012 90);
  --border: oklch(0.88 0.012 90);
  --font-display: "Cormorant Garamond", ui-serif, Georgia, serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --ink: oklch(0.18 0.02 250);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.nav-open {
  overflow: hidden;
  touch-action: none;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.font-display {
  font-family: var(--font-display);
}

.container {
  width: 100%;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.section-y {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media (min-width: 640px) {
  .section-y {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

@media (min-width: 1024px) {
  .section-y {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0;
}

.section-heading {
  margin: 1rem 0 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.875rem;
  line-height: 1.15;
}

@media (min-width: 640px) {
  .section-heading {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .section-heading {
    font-size: 3rem;
  }
}

.muted {
  color: var(--muted-foreground);
}

.italic-primary {
  font-style: italic;
  color: var(--primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  padding: 0.875rem 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
  text-align: center;
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-weight: 500;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.06);
}

.btn-primary:hover {
  background: color-mix(in oklch, var(--primary) 90%, black);
}

.btn-accent {
  background: var(--accent);
  color: var(--accent-foreground);
  box-shadow: 0 10px 20px rgb(0 0 0 / 0.12);
}

.btn-accent:hover {
  background: color-mix(in oklch, var(--accent) 90%, black);
}

.btn-ghost {
  border: 1px solid rgb(255 255 255 / 0.4);
  background: rgb(255 255 255 / 0.1);
  color: #fff;
  backdrop-filter: blur(4px);
}

.btn-ghost:hover {
  background: rgb(255 255 255 / 0.2);
}

.btn-outline {
  border: 1px solid var(--border);
  background: var(--background);
  color: var(--foreground);
}

.btn-outline:hover {
  background: var(--secondary);
}

.btn-muted {
  border: 1px solid var(--border);
  background: var(--background);
  color: var(--muted-foreground);
  cursor: default;
}

.icon-check {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: var(--primary);
}

.icon-star {
  width: 0.75rem;
  height: 0.75rem;
}

/* —— Splash / Preloader —— */
.site-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--background);
  transition: opacity 0.9s ease, visibility 0.9s ease;
}

.site-preloader.is-hiding {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-seen #site-preloader {
  display: none !important;
}

.site-preloader__inner {
  text-align: center;
}

.site-preloader__logo {
  width: 140px;
  height: auto;
  margin: 0 auto 1.25rem;
}

.site-preloader__bar {
  width: 160px;
  height: 2px;
  margin: 0 auto;
  background: var(--border);
  overflow: hidden;
  border-radius: 9999px;
}

.site-preloader__bar span {
  display: block;
  height: 100%;
  width: 40%;
  background: var(--primary);
  animation: splash-bar 1.4s ease-in-out infinite;
}

.site-preloader__text {
  margin: 1rem 0 0;
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--muted-foreground);
  letter-spacing: 0.04em;
}

@keyframes splash-bar {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(320%); }
}

/* —— Header —— */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid color-mix(in oklch, var(--border) 40%, transparent);
  background: color-mix(in oklch, var(--background) 85%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-header.is-menu-open {
  background: var(--background);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  min-height: 4.5rem;
}

@media (min-width: 640px) {
  .header-inner {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    min-height: 5.5rem;
  }
}

@media (min-width: 1024px) {
  .header-inner {
    padding-top: 1rem;
    padding-bottom: 1rem;
    min-height: 7rem;
  }
}

.site-logo {
  display: flex;
  align-items: center;
  min-width: 0;
  flex-shrink: 1;
}

.site-logo__img {
  height: 3.75rem;
  width: auto;
  max-width: min(52vw, 11rem);
  object-fit: contain;
}

@media (min-width: 640px) {
  .site-logo__img {
    height: 5rem;
    max-width: min(46vw, 14rem);
  }
}

@media (min-width: 1024px) {
  .site-logo__img {
    height: 6rem;
    max-width: none;
  }
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

@media (min-width: 1280px) {
  .nav-desktop {
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-desktop > a:not(.btn) {
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 500;
  color: color-mix(in oklch, var(--foreground) 70%, transparent);
  transition: color 0.2s;
}

.nav-desktop > a:not(.btn):hover {
  color: var(--primary);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  margin-right: -0.35rem;
  background: none;
  border: none;
  border-radius: 0.5rem;
  padding: 0;
  cursor: pointer;
  color: var(--foreground);
  transition: background 0.2s;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: var(--secondary);
  outline: none;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle.is-open .icon-menu {
  display: none;
}

.nav-toggle.is-open .icon-close {
  display: block;
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }
}

.nav-mobile {
  border-top: 1px solid color-mix(in oklch, var(--border) 40%, transparent);
  background: var(--background);
  max-height: min(70vh, 28rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 12px 28px rgb(0 0 0 / 0.08);
}

.nav-mobile[hidden] {
  display: none !important;
}

@media (min-width: 1024px) {
  .nav-mobile {
    display: none !important;
  }
}

.nav-mobile__inner {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-top: 0.75rem;
  padding-bottom: 1.25rem;
}

.nav-mobile__inner > a:not(.btn) {
  border-radius: 0.5rem;
  padding: 0.85rem 0.85rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--foreground);
  transition: background 0.2s, color 0.2s;
}

.nav-mobile__inner > a:not(.btn):hover,
.nav-mobile__inner > a:not(.btn):focus-visible {
  background: var(--secondary);
  color: var(--primary);
  outline: none;
}

.nav-mobile__inner > .btn {
  margin-top: 0.65rem;
  width: 100%;
  min-height: 2.85rem;
}

/* —— Hero —— */
.hero {
  position: relative;
  height: 100svh;
  min-height: 520px;
  width: 100%;
  overflow: hidden;
  /* Clear fixed header so hero content isn't cramped under logo */
  padding-top: 4.5rem;
}

@media (min-width: 640px) {
  .hero {
    padding-top: 5.5rem;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding-top: 0;
  }
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgb(0 0 0 / 0.5), rgb(0 0 0 / 0.3), rgb(0 0 0 / 0.7));
}

.hero__content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero__line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.8);
}

.hero__line-rule {
  display: block;
  height: 1px;
  width: 1.5rem;
  background: var(--accent);
}

@media (min-width: 640px) {
  .hero__line {
    margin-bottom: 1.5rem;
    gap: 0.75rem;
    font-size: 0.75rem;
    letter-spacing: 0.3em;
  }
  .hero__line-rule {
    width: 2rem;
  }
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 2.25rem;
  line-height: 1.05;
  color: #fff;
}

.hero__title span {
  display: block;
  margin-top: 0.5rem;
  font-style: italic;
  color: var(--accent);
}

@media (min-width: 640px) {
  .hero__title { font-size: 3.75rem; }
}
@media (min-width: 768px) {
  .hero__title { font-size: 4.5rem; }
}
@media (min-width: 1024px) {
  .hero__title { font-size: 6rem; }
}

.hero__copy {
  margin: 1.5rem 0 0;
  max-width: 42rem;
  font-size: 1rem;
  color: rgb(255 255 255 / 0.85);
}

@media (min-width: 640px) {
  .hero__copy {
    margin-top: 2rem;
    font-size: 1.125rem;
  }
}
@media (min-width: 768px) {
  .hero__copy { font-size: 1.25rem; }
}

.hero__ctas {
  margin-top: 2rem;
  display: flex;
  width: 100%;
  max-width: 28rem;
  flex-direction: column;
  gap: 0.75rem;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}

.hero__ctas .btn {
  width: 100%;
  min-height: 3rem;
}

@media (min-width: 640px) {
  .hero__ctas {
    margin-top: 2.5rem;
    max-width: none;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding-left: 0;
    padding-right: 0;
  }

  .hero__ctas .btn {
    width: auto;
    min-width: 11rem;
  }
}

/* —— About —— */
.about-grid {
  position: relative;
  z-index: 10;
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 640px) {
  .about-grid { gap: 3.5rem; }
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
  }
}

.about-body {
  margin: 1.5rem 0 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.about-body + .about-body {
  margin-top: 1rem;
}

@media (min-width: 640px) {
  .about-body { font-size: 1.125rem; }
}

.about-stats {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

@media (min-width: 640px) {
  .about-stats {
    margin-top: 2.5rem;
    gap: 1.5rem;
    padding-top: 2rem;
  }
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
}

@media (min-width: 640px) {
  .stat-value { font-size: 1.875rem; }
}

.stat-label {
  margin-top: 0.25rem;
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  line-height: 1.3;
}

@media (min-width: 640px) {
  .stat-label { font-size: 0.75rem; }
}

.about-media {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
}

.about-media__glow {
  position: absolute;
  inset: -0.5rem;
  border-radius: 1.5rem;
  background: color-mix(in oklch, var(--accent) 15%, transparent);
  filter: blur(40px);
}

.about-media img {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 1rem;
  box-shadow: 0 25px 50px rgb(0 0 0 / 0.2);
  will-change: transform;
}

.about-quote {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: color-mix(in oklch, var(--card) 95%, transparent);
  padding: 0.75rem;
  box-shadow: 0 20px 40px rgb(0 0 0 / 0.12);
  backdrop-filter: blur(4px);
}

@media (min-width: 640px) {
  .about-quote {
    bottom: 1rem;
    left: 1rem;
    padding: 1.25rem;
  }
}

.about-quote p:first-child {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--primary);
}

@media (min-width: 640px) {
  .about-quote p:first-child { font-size: 1.5rem; }
}

.about-quote p:last-child {
  margin: 0.25rem 0 0;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .about-quote p:last-child { font-size: 0.75rem; }
}

/* —— Meet Rylen —— */
.meet-rylen {
  background: color-mix(in oklch, var(--secondary) 60%, transparent);
}

.meet-grid {
  position: relative;
  z-index: 10;
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .meet-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 4rem;
  }
}

.meet-media {
  position: relative;
}

.meet-media__glow {
  position: absolute;
  inset: -0.5rem;
  border-radius: 1.5rem;
  background: color-mix(in oklch, var(--accent) 15%, transparent);
  filter: blur(40px);
}

.meet-portrait {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  box-shadow: 0 10px 30px rgb(0 0 0 / 0.12);
}

@media (min-width: 640px) {
  .meet-portrait { border-radius: 1rem; }
}

.meet-portrait img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.rylen-carousel {
  position: relative;
  margin-top: 0.75rem;
  overflow: hidden;
}

.rylen-carousel__track {
  display: flex;
  transition: transform 0.5s ease;
}

.rylen-carousel__slide {
  min-width: 100%;
  flex-shrink: 0;
}

.rylen-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  background: var(--background);
}

.rylen-thumbs img {
  height: 10rem;
  width: 100%;
  object-fit: cover;
  border-radius: 0.375rem;
}

@media (min-width: 640px) {
  .rylen-thumbs img {
    height: 12rem;
    border-radius: 0.5rem;
  }
}

@media (min-width: 768px) {
  .rylen-thumbs img { height: 14rem; }
}

.rylen-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding-top: 0.5rem;
}

.rylen-dots button {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  border: none;
  padding: 0;
  cursor: pointer;
  background: color-mix(in oklch, var(--muted-foreground) 35%, transparent);
}

.rylen-dots button.is-active {
  background: var(--foreground);
}

.meet-bio {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.meet-bio p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .meet-bio p { font-size: 1.125rem; }
}

/* —— Services —— */
.services-intro {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

.services-intro .muted {
  margin: 1rem 0 0;
  font-size: 1rem;
}

@media (min-width: 640px) {
  .services-intro .muted { font-size: 1.125rem; }
}

.services-grid {
  position: relative;
  z-index: 10;
  margin-top: 3rem;
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .services-grid {
    margin-top: 4rem;
    gap: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.service-card {
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
  transition: box-shadow 0.3s;
}

.service-card:hover {
  box-shadow: 0 20px 40px rgb(0 0 0 / 0.1);
}

.service-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}

.service-card:hover .service-card__media img {
  transform: scale(1.05);
}

.service-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(0 0 0 / 0.4), transparent);
}

.service-card__badge {
  position: absolute;
  z-index: 1;
  left: 1.25rem;
  top: 1.25rem;
  border-radius: 9999px;
  background: rgb(255 255 255 / 0.9);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}

.service-card__body {
  padding: 2rem;
}

.service-card__body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 500;
}

.service-card__body > p {
  margin: 0.75rem 0 0;
  color: var(--muted-foreground);
}

.feature-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

.service-link:hover {
  text-decoration: underline;
}

/* —— Why Us —— */
.why-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 2rem;
  position: relative;
  z-index: 10;
}

@media (min-width: 640px) {
  .why-grid {
    margin-top: 3.5rem;
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.why-item {
  border-top: 1px solid color-mix(in oklch, var(--primary) 30%, transparent);
  padding-top: 1.5rem;
}

.why-num {
  font-family: var(--font-display);
  font-size: 0.875rem;
  color: var(--primary);
}

.why-item h3 {
  margin: 0.75rem 0 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
}

.why-item p {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

/* —— Pricing —— */
.pricing-intro {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 10;
}

.pricing-intro .muted {
  margin: 1rem 0 0;
}

.pricing-subhead {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  position: relative;
  z-index: 10;
}

@media (min-width: 640px) {
  .pricing-subhead { font-size: 1.5rem; }
}

.pricing-block {
  margin-top: 2.5rem;
  position: relative;
  z-index: 10;
}

@media (min-width: 640px) {
  .pricing-block { margin-top: 3.5rem; }
}

.price-grid {
  margin-top: 1.5rem;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .price-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .price-grid { grid-template-columns: repeat(3, 1fr); }
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.5rem;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
  transition: box-shadow 0.3s;
}

@media (min-width: 640px) {
  .price-card { padding: 2rem; }
}

.price-card:hover {
  box-shadow: 0 12px 28px rgb(0 0 0 / 0.1);
}

.price-card.is-featured {
  border-color: var(--primary);
  background: color-mix(in oklch, var(--primary) 5%, white);
  box-shadow: 0 0 0 1px color-mix(in oklch, var(--primary) 40%, transparent);
}

.price-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.25rem 0.75rem;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.price-card h4 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
}

.price-amount {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.price-amount .unit {
  font-size: 0.875rem;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--muted-foreground);
}

.price-card > .muted {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
}

.price-card .feature-list {
  flex: 1;
}

.price-card .btn,
.price-card .btn-muted {
  margin-top: 2rem;
  width: 100%;
}

.lessons-grid {
  margin-top: 1.5rem;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .lessons-grid { grid-template-columns: 1fr 1fr; }
}

.rate-group {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.5rem;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
}

@media (min-width: 640px) {
  .rate-group { padding: 2rem; }
}

.rate-group h4 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
}

.rate-list {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.rate-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--border);
}

.rate-list li:first-child {
  border-top: none;
  padding-top: 0;
}

.rate-list li:last-child {
  padding-bottom: 0;
}

.rate-price {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
}

@media (min-width: 640px) {
  .rate-price { font-size: 1.25rem; }
}

.addl-box {
  margin-top: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.5rem;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
}

@media (min-width: 640px) {
  .addl-box { padding: 2rem; }
}

.addl-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .addl-list { grid-template-columns: 1fr 1fr; }
}

.addl-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
}

@media (min-width: 640px) {
  .addl-list li { font-size: 1rem; }
}

.addl-note {
  margin: 1.5rem 0 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

/* —— Competing —— */
.competing-head {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  z-index: 10;
}

@media (min-width: 640px) {
  .competing-head {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.competing-head .muted {
  max-width: 28rem;
  margin: 0;
}

.competing-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  position: relative;
  z-index: 10;
}

@media (min-width: 640px) {
  .competing-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .competing-grid {
    gap: 1.25rem;
  }
}

/* Fancy boxes */
.fancy-box {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1rem;
  aspect-ratio: 16 / 10;
  width: 100%;
  background: color-mix(in oklch, var(--secondary) 40%, transparent);
  cursor: zoom-in;
  transition: box-shadow 0.5s, background 0.5s;
}

.fancy-box-frame {
  isolation: isolate;
  background: var(--card);
  padding: 0.375rem;
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.08);
  box-shadow: 0 0 0 1px color-mix(in oklch, var(--primary) 20%, transparent), 0 4px 12px rgb(0 0 0 / 0.08);
}

.fancy-box-frame:hover {
  box-shadow: 0 0 0 1px color-mix(in oklch, var(--primary) 40%, transparent), 0 16px 32px rgb(0 0 0 / 0.12);
}

.fancy-box-mat {
  isolation: isolate;
  background: oklch(0.96 0.012 90);
  padding: 0.625rem;
  box-shadow: 0 1px 0 oklch(1 0 0 / 0.6) inset, 0 8px 24px oklch(0.18 0.02 250 / 0.06);
  outline: 1px solid var(--border);
}

.fancy-box-float {
  isolation: isolate;
  background: var(--card);
  padding: 0.25rem;
  box-shadow: 0 10px 28px color-mix(in oklch, var(--primary) 10%, transparent);
  outline: 1px solid color-mix(in oklch, var(--border) 80%, transparent);
}

.fancy-box-inset {
  isolation: isolate;
  background: color-mix(in oklch, var(--secondary) 80%, transparent);
  padding: 0.5rem;
  box-shadow: inset 0 1px 3px oklch(0.18 0.02 250 / 0.08), 0 1px 0 oklch(1 0 0 / 0.4);
  outline: 1px solid var(--border);
}

.fancy-box-ribbon {
  isolation: isolate;
  background: var(--card);
  padding: 0.375rem;
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.08);
  outline: 1px solid color-mix(in oklch, var(--primary) 15%, transparent);
}

.fancy-box-film {
  isolation: isolate;
  background: color-mix(in oklch, var(--foreground) 90%, transparent);
  padding: 0.25rem;
  box-shadow: 0 10px 28px rgb(0 0 0 / 0.15);
}

.fancy-box__btn {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: none;
  padding: 0;
  background: none;
  cursor: zoom-in;
}

.fancy-box-frame .fancy-box__btn,
.fancy-box-inset .fancy-box__btn,
.fancy-box-ribbon .fancy-box__btn { border-radius: 0.5rem; }
.fancy-box-mat .fancy-box__btn { border-radius: 0.375rem; }
.fancy-box-float .fancy-box__btn { border-radius: 0.75rem; }
.fancy-box-film .fancy-box__btn { border-radius: 0.125rem; }

.fancy-box__btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 0% -3%;
  transition: transform 0.7s;
}

.fancy-box:hover .fancy-box__btn img {
  transform: scale(1.01);
}

.fancy-box__view {
  pointer-events: none;
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  border-radius: 9999px;
  background: color-mix(in oklch, var(--background) 90%, transparent);
  padding: 0.25rem 0.625rem;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  opacity: 0;
  transition: opacity 0.5s;
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.1);
}

.fancy-box:hover .fancy-box__view {
  opacity: 1;
}

.fancy-corner {
  position: absolute;
  z-index: 2;
  width: 14px;
  height: 14px;
  border-color: oklch(0.55 0.11 190 / 0.55);
  pointer-events: none;
}
.fancy-corner-tl { top: 6px; left: 6px; border-top: 2px solid; border-left: 2px solid; }
.fancy-corner-tr { top: 6px; right: 6px; border-top: 2px solid; border-right: 2px solid; }
.fancy-corner-bl { bottom: 6px; left: 6px; border-bottom: 2px solid; border-left: 2px solid; }
.fancy-corner-br { bottom: 6px; right: 6px; border-bottom: 2px solid; border-right: 2px solid; }

.fancy-ribbon {
  position: absolute;
  top: 0;
  right: 14px;
  z-index: 3;
  width: 18px;
  height: 36px;
  background: oklch(0.55 0.11 190);
  pointer-events: none;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%);
  box-shadow: 0 2px 6px oklch(0.18 0.02 250 / 0.2);
}
.fancy-ribbon-fold {
  position: absolute;
  top: 0;
  right: -6px;
  width: 6px;
  height: 8px;
  background: oklch(0.45 0.1 190);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.fancy-film-perf {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 10px;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0 6px,
    oklch(0.98 0.012 90 / 0.35) 6px 12px
  );
}
.fancy-film-perf-l { left: 2px; }
.fancy-film-perf-r { right: 2px; }

/* —— Gallery —— */
#gallery {
  position: relative;
  background: color-mix(in oklch, var(--secondary) 60%, transparent);
}

.gallery-pin {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  height: 100svh;
  max-height: 100svh;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

@media (min-width: 640px) {
  .gallery-pin {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

.gallery-heading {
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .gallery-heading {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
  }
}

.gallery-heading .muted {
  max-width: 28rem;
  margin: 0;
  font-size: 0.875rem;
}

@media (min-width: 640px) {
  .gallery-heading .muted { font-size: 1rem; }
}

.gallery-track-wrap {
  position: relative;
  margin-top: 1.5rem;
  min-height: 0;
  flex: 1;
  overflow: hidden;
}

.gallery-track {
  display: flex;
  height: 100%;
  width: max-content;
  align-items: center;
  gap: 0.75rem;
  padding-left: 1rem;
  padding-right: 1rem;
  will-change: transform;
}

@media (min-width: 640px) {
  .gallery-track {
    gap: 1.25rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .gallery-track {
    gap: 1.5rem;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.gallery-panel {
  position: relative;
  height: min(48vh, 440px);
  width: min(78vw, 620px);
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 1rem;
  border: none;
  padding: 0;
  background: none;
  cursor: pointer;
}

@media (min-width: 640px) {
  .gallery-panel {
    height: min(52vh, 480px);
    width: min(70vw, 640px);
  }
}

.gallery-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

.gallery-panel__shade {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(0 0 0 / 0.45), transparent);
  opacity: 0.5;
  transition: opacity 0.5s;
}

.gallery-panel:hover .gallery-panel__shade {
  opacity: 0.75;
}

.gallery-panel__caption {
  pointer-events: none;
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-style: italic;
  color: rgb(255 255 255 / 0.95);
  opacity: 0;
  transition: opacity 0.5s;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.gallery-panel:hover .gallery-panel__caption {
  opacity: 1;
}

.gallery-progress-wrap {
  margin-top: 1.5rem;
  flex-shrink: 0;
}

.gallery-progress-bar {
  height: 1px;
  overflow: hidden;
  background: var(--border);
}

.gallery-progress {
  height: 100%;
  width: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: var(--primary);
  will-change: transform;
}

.gallery-hint {
  margin: 0.5rem 0 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

@media (prefers-reduced-motion: reduce) {
  .gallery-track {
    margin: 0 auto;
    height: auto;
    width: 100%;
    max-width: 80rem;
    flex-wrap: wrap;
  }
  .gallery-panel {
    height: auto;
    width: 100%;
    aspect-ratio: 16 / 10;
  }
  .gallery-hint { display: none; }
}

@media (max-height: 700px) {
  .gallery-pin { padding-top: 1.25rem; padding-bottom: 1.25rem; }
  .gallery-panel {
    height: min(42vh, 320px);
    width: min(72vw, 520px);
  }
}

@media (max-height: 560px) {
  .gallery-pin { padding-top: 0.75rem; padding-bottom: 0.75rem; }
  .gallery-heading .muted,
  .gallery-panel__caption { display: none; }
  .gallery-panel {
    height: min(36vh, 240px);
    width: min(78vw, 420px);
  }
}

/* —— Contact —— */
.contact-grid {
  position: relative;
  z-index: 10;
  display: grid;
  gap: 2.5rem;
}

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

.contact-copy {
  margin: 1rem 0 0;
  max-width: 28rem;
  font-size: 1rem;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .contact-copy { font-size: 1.125rem; }
}

.contact-list {
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
}

.contact-icon {
  display: flex;
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: color-mix(in oklch, var(--primary) 10%, transparent);
  color: var(--primary);
}

.contact-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.contact-value {
  margin-top: 0.25rem;
  font-size: 1rem;
}

.contact-value a:hover {
  color: var(--primary);
}

.booking-form {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.25rem;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
}

@media (min-width: 640px) {
  .booking-form { padding: 2rem; }
}

.booking-form h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
}

.booking-form > .muted {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
}

.form-grid {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
}

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

@media (min-width: 640px) {
  .form-row-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.form-field label {
  display: block;
  margin-bottom: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: var(--background);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--foreground);
  outline: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px color-mix(in oklch, var(--primary) 20%, transparent);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: color-mix(in oklch, var(--muted-foreground) 60%, transparent);
}

.form-success {
  margin-top: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid color-mix(in oklch, var(--primary) 30%, transparent);
  background: color-mix(in oklch, var(--primary) 5%, transparent);
  padding: 1.5rem;
  text-align: center;
}

.form-success__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--primary);
}

.form-success p {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.booking-form .btn {
  margin-top: 0.5rem;
  width: 100%;
}

/* —— Footer —— */
.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  background: var(--background);
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .site-footer {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

.footer-inner {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  text-align: center;
}

@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    text-align: left;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 100%;
}

.footer-logo {
  height: 4rem;
  width: auto;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .footer-logo {
    height: 6rem;
  }
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
}

.footer-address {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.footer-meta {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .footer-meta { text-align: right; }
}

.footer-meta a:hover {
  color: var(--primary);
}

/* —— Lightbox —— */
.fancy-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in oklch, var(--ink) 85%, transparent);
  padding: 1rem;
  backdrop-filter: blur(12px);
}

.fancy-lightbox[hidden] {
  display: none !important;
}

.lb-close,
.lb-prev,
.lb-next {
  position: absolute;
  z-index: 10;
  border: none;
  border-radius: 9999px;
  background: color-mix(in oklch, var(--background) 90%, transparent);
  color: var(--foreground);
  padding: 0.5rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgb(0 0 0 / 0.15);
}

.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 0.75rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 0.75rem; top: 50%; transform: translateY(-50%); }

@media (min-width: 640px) {
  .lb-prev { left: 1.5rem; }
  .lb-next { right: 1.5rem; }
}

.lb-figure {
  position: relative;
  max-height: 85vh;
  max-width: 64rem;
  margin: 0;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--card);
  padding: 0.5rem;
  box-shadow: 0 25px 50px rgb(0 0 0 / 0.3), 0 0 0 1px color-mix(in oklch, var(--primary) 30%, transparent);
}

.lb-media {
  overflow: hidden;
  border-radius: 0.75rem;
}

.lb-media img {
  max-height: 78vh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto;
}

/* —— Section backdrops —— */
.section-relative {
  position: relative;
  overflow: hidden;
}

.section-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.backdrop-mist .orb {
  position: absolute;
  border-radius: 9999px;
  background: oklch(0.68 0.11 190 / 0.18);
  filter: blur(40px);
  animation: orb-drift 18s ease-in-out infinite;
}
.backdrop-mist .orb-a { width: 280px; height: 280px; top: 8%; left: -5%; }
.backdrop-mist .orb-b { width: 360px; height: 360px; bottom: 5%; right: -8%; background: oklch(0.55 0.11 190 / 0.12); animation-duration: 22s; animation-delay: -4s; }
.backdrop-mist .orb-c { width: 200px; height: 200px; top: 45%; left: 40%; background: oklch(0.98 0.012 90 / 0.5); animation-duration: 16s; animation-delay: -8s; }

@keyframes orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(24px, -18px) scale(1.06); }
  66% { transform: translate(-16px, 14px) scale(0.96); }
}

.backdrop-grain .grain-layer {
  position: absolute;
  inset: -20%;
  opacity: 0.35;
  background-image: radial-gradient(oklch(0.55 0.11 190 / 0.22) 0.8px, transparent 0.8px);
  background-size: 18px 18px;
  animation: grain-drift 40s linear infinite;
}

@keyframes grain-drift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-18px, 18px); }
}

.backdrop-bands .band {
  position: absolute;
  height: 140%;
  width: 28%;
  top: -20%;
  background: linear-gradient(105deg, transparent, oklch(0.68 0.11 190 / 0.08), transparent);
  animation: band-sweep 14s ease-in-out infinite;
}
.backdrop-bands .band-a { left: 5%; }
.backdrop-bands .band-b { left: 38%; animation-delay: -4s; animation-duration: 18s; }
.backdrop-bands .band-c { left: 70%; animation-delay: -8s; animation-duration: 16s; }

@keyframes band-sweep {
  0%, 100% { transform: translateX(0) skewX(-12deg); opacity: 0.5; }
  50% { transform: translateX(40px) skewX(-12deg); opacity: 1; }
}

.backdrop-waves .wave-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: oklch(0.55 0.11 190 / 0.14);
}
.backdrop-waves .wave-path { animation: wave-shift 20s ease-in-out infinite; }
.backdrop-waves .wave-2 { animation-delay: -5s; opacity: 0.7; }
.backdrop-waves .wave-3 { animation-delay: -10s; opacity: 0.5; }

@keyframes wave-shift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.backdrop-grid .grid-layer {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image:
    linear-gradient(oklch(0.55 0.11 190 / 0.07) 1px, transparent 1px),
    linear-gradient(90deg, oklch(0.55 0.11 190 / 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
}
.backdrop-grid .pulse-radial {
  position: absolute;
  width: 520px;
  height: 520px;
  left: 50%;
  top: 30%;
  translate: -50% -40%;
  border-radius: 9999px;
  background: radial-gradient(circle, oklch(0.68 0.11 190 / 0.14), transparent 65%);
  animation: radial-pulse 10s ease-in-out infinite;
}

@keyframes radial-pulse {
  0%, 100% { transform: scale(0.92); opacity: 0.55; }
  50% { transform: scale(1.08); opacity: 1; }
}

.backdrop-blobs .blob {
  position: absolute;
  border-radius: 9999px;
  filter: blur(48px);
  animation: blob-float 16s ease-in-out infinite;
}
.backdrop-blobs .blob-a { width: 320px; height: 320px; top: 10%; right: 8%; background: oklch(0.68 0.11 190 / 0.16); }
.backdrop-blobs .blob-b { width: 280px; height: 280px; bottom: 8%; left: 5%; background: oklch(0.55 0.11 190 / 0.1); animation-delay: -6s; }
.backdrop-blobs .vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 45%, oklch(0.55 0.11 190 / 0.06) 100%);
  animation: vignette-breathe 12s ease-in-out infinite;
}

@keyframes blob-float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-20px, 16px); }
}

@keyframes vignette-breathe {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.backdrop-glow .corner-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  bottom: -120px;
  right: -80px;
  border-radius: 9999px;
  background: radial-gradient(circle, oklch(0.68 0.11 190 / 0.2), transparent 70%);
  animation: glow-shift 14s ease-in-out infinite;
}
.backdrop-glow .ring-pulse {
  position: absolute;
  width: 240px;
  height: 240px;
  top: 12%;
  left: 8%;
  border-radius: 9999px;
  border: 1px solid oklch(0.55 0.11 190 / 0.2);
  animation: ring-pulse 8s ease-out infinite;
}

@keyframes glow-shift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, -20px) scale(1.1); }
}

@keyframes ring-pulse {
  0% { transform: scale(0.85); opacity: 0.7; }
  70% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

.backdrop-fade .top-fade {
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, oklch(0.55 0.11 190 / 0.35), transparent);
  background-size: 200% 100%;
  animation: fade-line 12s linear infinite;
}

@keyframes fade-line {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .section-backdrop *,
  .section-backdrop {
    animation: none !important;
  }
}

/* —— 404 —— */
.error-404 {
  position: relative;
  min-height: calc(100svh - 8rem);
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
  overflow: hidden;
}

.error-404__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, oklch(0.68 0.11 190 / 0.16), transparent 50%),
    radial-gradient(ellipse at 80% 70%, oklch(0.55 0.11 190 / 0.12), transparent 45%),
    var(--background);
}

.error-404__inner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
}

.error-404__title {
  margin: 1rem 0 0;
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1.1;
}

@media (min-width: 640px) {
  .error-404__title { font-size: 3.5rem; }
}

.error-404__copy {
  margin: 1.25rem 0 2rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 32rem;
}

/* Fallback pages */
.page-fallback {
  padding: 8rem 0 4rem;
}

.fallback-article h1 {
  font-size: 2.5rem;
  font-weight: 500;
  margin: 0 0 1.5rem;
}

.page-root {
  min-height: 100vh;
  background: var(--background);
  font-family: var(--font-sans);
  color: var(--foreground);
  overflow-x: clip;
  width: 100%;
}

/* Non-hero pages need clearance under fixed header */
body:not(.home) .site-main,
.contact-page,
.page-fallback,
.error-404 {
  padding-top: 5.5rem;
}

@media (min-width: 1024px) {
  body:not(.home) .site-main,
  .contact-page,
  .page-fallback,
  .error-404 {
    padding-top: 8rem;
  }
}

/* Prevent wide media / grids from causing horizontal scroll */
.about-media,
.service-card,
.price-card,
.fancy-box,
.gallery-panel,
.ccc-booking-card,
.meet-portrait,
.rate-group,
.addl-box {
  max-width: 100%;
}

.competing-grid,
.services-grid,
.price-grid,
.lessons-grid,
.why-grid {
  width: 100%;
}

.forminator-select.forminator-select-dropdown-container--open .forminator-select-dropdown .select2-results {
    background: white;
}
