:root {
  --bg: #e2dcd1;
  --text: #2f3e46;
  --muted: #52615f;
  --sage: #6f927f;
  --terra: #bc7f62;
  --sand: #e0cebb;
  --white: rgba(255, 255, 255, .72);
  --mouse-x: 50%;
  --mouse-y: 50%;
  --font-body: clamp(.88rem, .38vw + .78rem, 1.08rem);
  --space: clamp(1rem, 2vw, 1.6rem);
}
* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; }
html { scroll-behavior: auto; }
body { min-height: 100svh; color: var(--text); background: transparent; font-family: "Open Sans", "Segoe UI", sans-serif; font-size: var(--font-body); line-height: 1.6; opacity: 0; transform: translateY(.5rem); transition: opacity .9s ease, transform .9s ease; }
body.loaded { opacity: 1; transform: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 4px; }
.skip-link { position: fixed; top: .8rem; left: .8rem; z-index: 100; padding: .5rem .8rem; color: white; background: var(--text); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
#ayurvedic-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; background: var(--bg); isolation: isolate; }
.section-bg { position: absolute; inset: 0; transition: opacity 2.2s ease, filter 2.4s ease, transform 2.4s ease; }
.section-bg-base { z-index: 1; background: url("images/background gradient.png") center / cover no-repeat; }
.section-bg-about { z-index: 2; opacity: 0; filter: blur(20px) saturate(1.02); transform: scale(1.04); background: url("images/background.png") center / cover no-repeat; }
.section-bg-purpose { z-index: 3; opacity: 1; background: radial-gradient(circle at 50% 50%, rgba(111,146,127,.2), rgba(188,127,98,.12) 24%, transparent 58%); animation: breathe 11s ease-in-out infinite; }
.section-bg-purpose::before, .section-bg-purpose::after { content: ""; position: absolute; inset: -18%; border: 1px solid rgba(111,146,127,.16); border-radius: 50%; filter: blur(1px); transform-origin: center; animation: breatheRipple 12s ease-in-out infinite; }
.section-bg-purpose::after { inset: -8%; border-color: rgba(188,127,98,.14); animation-delay: -6s; animation-duration: 14s; }
body.about-bg-active .section-bg-base { opacity: 0; filter: blur(4px); transform: scale(1.01); }
body.about-bg-active .section-bg-about { opacity: 1; filter: blur(0); transform: scale(1); }
@keyframes breathe { 0%, 100% { filter: saturate(1) brightness(1); transform: scale(1); } 50% { filter: saturate(1.08) brightness(1.04); transform: scale(1.04); } }
@keyframes breatheRipple { 0%, 100% { transform: scale(.72); opacity: .18; } 50% { transform: scale(1.08); opacity: .58; } }
main { position: relative; z-index: 1; width: 100vw; height: 100vh; height: 100svh; overflow: hidden; }
.section { position: absolute; top: 0; left: 0; width: 100vw; height: 100vh; height: 100svh; display: flex; align-items: center; justify-content: center; padding: 5rem 1rem; transform-origin: center center; opacity: 0; transform: scale(.92); filter: blur(10px); pointer-events: none; transition: opacity 1.5s cubic-bezier(.25, 1, .5, 1), transform 1.5s cubic-bezier(.25, 1, .5, 1), filter 1.5s ease; }
.section-active { z-index: 10; opacity: 1; transform: scale(1); filter: blur(0); pointer-events: auto; }
.section-hidden-prev, .section-hidden-next { opacity: 0; transform: scale(.92); filter: blur(10px); pointer-events: none; }
.page-count { position: fixed; left: 50%; bottom: 1.1rem; z-index: 30; min-width: 8rem; color: var(--text); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-align: center; text-transform: lowercase; transform: translateX(-50%); }
.radial-menu { position: fixed; top: 0; left: 0; z-index: 40; width: 100%; height: clamp(3.8rem, 8vh, 5rem); overflow: hidden; background: transparent; --rail-nudge: 0px; transition: height .65s cubic-bezier(.25, 1, .5, 1); }
.radial-menu:hover, .radial-menu:focus-within, .radial-menu.is-expanded { height: clamp(5rem, 11vh, 7rem); }
.radial-menu-item { position: absolute; top: 50%; left: 50%; width: max-content; max-width: min(13rem, 34vw); border: 0; padding: .45rem .55rem; color: var(--text); background: transparent; cursor: pointer; font-size: clamp(.72rem, .7vw, .88rem); font-weight: 700; line-height: 1.25; opacity: var(--slot-opacity, .34); transform: translate(-50%, -50%) translateX(var(--rail-nudge)) scale(var(--slot-scale, .72)); transition: opacity .8s ease, transform 1s cubic-bezier(.22, 1, .36, 1), color .35s ease, font-size .5s ease; white-space: normal; text-align: center; }
.radial-menu:hover .radial-menu-item, .radial-menu:focus-within .radial-menu-item, .radial-menu.is-expanded .radial-menu-item { transform: translate(-50%, -50%) translateX(var(--rail-nudge)) scale(var(--slot-scale-expanded, var(--slot-scale, .72))); }
.radial-menu-item:hover, .radial-menu-item:focus-visible, .radial-menu-item.is-active { color: var(--terra); opacity: 1; font-weight: 700; }
.radial-menu:hover .radial-menu-item.is-active, .radial-menu:focus-within .radial-menu-item.is-active, .radial-menu.is-expanded .radial-menu-item.is-active { font-size: clamp(.9rem, 1vw, 1.1rem); text-shadow: 0 1px 8px rgba(255,255,255,.72); }
.eyebrow { margin: 0 0 .65rem; color: var(--terra); font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; color: var(--text); font-family: "Lora", Georgia, serif; font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 4.2rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.6rem); }
h3 { font-size: clamp(1rem, 1.5vw, 1.3rem); }
p { max-width: 68ch; margin: 0; }
.hero-copy, .about-copy, .contact-copy, .prompt-copy, .booking-copy { width: min(92vw, 52rem); max-height: calc(100svh - 6rem); overflow-y: auto; padding: 1rem; text-align: center; }
.hero-copy { display: flex; flex-direction: column; align-items: center; gap: .55rem; }
.role { color: var(--muted); font-size: clamp(.78rem, .45vw + .66rem, 1rem); }
.hero-note { color: var(--muted); font-size: .78rem; }
.about-copy { width: min(94vw, 68rem); }
.about-copy > h2 { margin-bottom: 2rem; }
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 3vw, 2.8rem); margin-top: 0; }
.tech-text { min-height: 0; padding: 0; text-align: left; }
.tech-text h3 { max-width: 14ch; }
.tech-text p { margin-top: .8rem; color: var(--muted); font-size: .82rem; line-height: 1.7; }
.contact-copy, .prompt-copy { width: min(92vw, 54rem); }
.prompt-copy > p { width: min(100%, 68ch); margin-inline: auto; text-align: center; }
.bio-section { max-width: 46rem; margin: 1.8rem auto 0; }
.bio-section p { margin: .85rem auto; color: var(--muted); font-size: .88rem; line-height: 1.75; }
.bio-profile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1rem; margin: 1.8rem auto 0; }
.bio-portrait { width: 5.8rem; height: 5.8rem; border-radius: 50%; object-fit: cover; filter: saturate(.72); }
.bio-name { color: var(--text) !important; font-weight: 600; line-height: 1.3; }
.contact-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.4rem; margin-top: 1rem; }
.contact-links a { color: var(--text); text-decoration-thickness: 1px; text-underline-offset: .2em; font-weight: 600; font-size: .85rem; }
.feedback-slideshow { width: min(92vw, 42rem); margin: 2rem auto 0; }
.feedback-viewport { overflow: hidden; }
.feedback-track { display: flex; transition: transform 1s cubic-bezier(.25, 1, .5, 1); will-change: transform; }
.feedback-slide { flex: 0 0 100%; margin: 0; padding: 0 .5rem; opacity: 0; filter: blur(8px); transform: scale(.96); transition: opacity 1s ease, filter 1s ease, transform 1s cubic-bezier(.25, 1, .5, 1); }
.feedback-slide.is-current { opacity: 1; filter: none; transform: scale(1); }
.feedback-slide[hidden] { display: block; }
.feedback-slide[aria-hidden="true"] { pointer-events: none; }
.feedback-slide blockquote { margin: 0; color: var(--text); font-size: .9rem; font-style: italic; line-height: 1.65; }
.feedback-slide figcaption { margin-top: .8rem; color: var(--muted); font-size: .76rem; }
.feedback-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1rem; }
.feedback-nav { border: 0; padding: .2rem; color: var(--text); background: transparent; cursor: pointer; font-size: 1rem; }
.feedback-dots { display: flex; gap: .45rem; }
.feedback-dots button { width: .45rem; height: .45rem; padding: 0; border: 0; border-radius: 50%; background: rgba(47,62,70,.25); cursor: pointer; }
.feedback-dots button[aria-selected="true"] { background: var(--terra); transform: scale(1.25); }
.contact-form { width: min(100%, 28rem); display: flex; flex-direction: column; gap: .8rem; margin: 1.5rem auto 0; text-align: left; }
.contact-form label { display: flex; flex-direction: column; align-items: stretch; gap: .3rem; color: var(--muted); font-size: .78rem; text-align: left; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 0; border-bottom: 1px solid rgba(47,62,70,.3); border-radius: 0; padding: .55rem 0; color: var(--text); background: transparent; outline: none; text-align: left; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-bottom-color: var(--terra); box-shadow: 0 2px 0 rgba(188,127,98,.18); }
.contact-form textarea { resize: vertical; }
.contact-form button { align-self: center; border: 0; padding: .7rem 1.1rem; color: white; background: var(--text); cursor: pointer; font-size: .8rem; font-weight: 600; }
.contact-form button:hover { background: var(--terra); }
.booking-copy > h2 { margin-bottom: .8rem; }
.booking-copy > p { width: min(100%, 68ch); margin-inline: auto; color: var(--muted); font-size: .82rem; text-align: center; }
.form-status { min-height: 1.3em; color: var(--terra); font-size: .75rem; text-align: center; }
.reveal { opacity: 0; transform: translateY(1.2rem); filter: blur(6px); transition: opacity .55s ease, transform .7s cubic-bezier(.22,1,.36,1), filter .7s ease; }
.reveal.active { opacity: 1; transform: none; filter: none; }
.section:not(.section-active) .reveal { opacity: 0; transform: translateY(1.2rem) scale(.985); filter: blur(10px); }
.section-active .reveal { opacity: 1; transform: none; filter: none; }
body:not(.motion-ready) .reveal { opacity: 1; transform: none; filter: none; }
@media (max-width: 720px) {
  .radial-menu { height: 3.8rem; }
  .radial-menu:hover, .radial-menu:focus-within, .radial-menu.is-expanded { height: 5.4rem; }
  .radial-menu-item { max-width: min(8rem, 27vw); font-size: .62rem; }
  .tech-grid { grid-template-columns: 1fr; gap: .2rem; margin-top: 1rem; }
  .tech-text { min-height: auto; padding: .85rem .6rem; }
  .tech-number { margin-bottom: .7rem; }
  .tech-text p { font-size: .76rem; }
  .section { width: 100vw; height: 100svh; padding: .5rem; }
  .hero-copy, .about-copy, .contact-copy, .prompt-copy, .booking-copy { max-height: calc(100svh - 4rem); padding: .5rem; }
  .bio-section p { font-size: .78rem; }
  .feedback-slideshow { margin-top: 1.4rem; }
  .feedback-slide blockquote { font-size: .78rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
}
