/* ==========================================================================
   PRERNA YPD — Yogasan, Pranayam & Dhyan
   Hand-written stylesheet. No frameworks, no build step.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
    --cream: #f9f6f0;
    --sand: #efebe1;
    --ink: #1c2b23;
    --ink-soft: #526359;
    --ink-muted: #7a8c82;
    --saffron: #d97736;
    --saffron-deep: #b85c20;
    --sage: #4a6b5d;
    --sage-light: #e4ece7;
    --forest: #111c16;
    --forest-surface: #1a2821;

    /* RGB triplets, for translucent variants */
    --cream-rgb: 249, 246, 240;
    --sand-rgb: 239, 235, 225;
    --ink-rgb: 28, 43, 35;
    --saffron-rgb: 217, 119, 54;
    --sage-rgb: 74, 107, 93;
    --forest-rgb: 17, 28, 22;

    --serif: "Cormorant Garamond", Georgia, serif;
    --sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --mono: "JetBrains Mono", ui-monospace, "Courier New", monospace;

    /* The easing used throughout the original site */
    --ease: cubic-bezier(0.16, 1, 0.3, 1);

    --header-h: 4rem;
}

@media (min-width: 640px) {
    :root {
        --header-h: 5rem;
    }
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    background: var(--cream);
    color: var(--ink);
    font-family: var(--sans);
    font-weight: 400;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img,
video {
    display: block;
    max-width: 100%;
}

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
}

input,
textarea {
    font: inherit;
}

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

ul {
    list-style: none;
}

svg {
    display: block;
    flex-shrink: 0;
}

::selection {
    background: var(--saffron);
    color: var(--cream);
}

:focus-visible {
    outline: 2px solid var(--saffron);
    outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   3. Layout
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.container--6xl { max-width: 72rem; }
.container--5xl { max-width: 64rem; }
.container--4xl { max-width: 56rem; }

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

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

/* Vertical section rhythm. The original used py-24 / sm:py-32. */
.section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

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

.section--page-head {
    padding-top: 8rem;
    padding-bottom: 4rem;
}

.section--flush-top { padding-top: 0; }
.section--flush-bottom { padding-bottom: 0; }

@media (min-width: 640px) {
    .section {
        padding-top: 8rem;
        padding-bottom: 8rem;
    }
    .section--sm {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
    .section--page-head {
        padding-top: 11rem;
        padding-bottom: 4rem;
    }
    .section--flush-top { padding-top: 0; }
    .section--flush-bottom { padding-bottom: 0; }
}

/* Two-column editorial split — the lg:grid-cols-12 pattern */
.split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .split {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }
    .split__narrow { grid-column: span 5; }
    .split__wide { grid-column: span 7; }
    .split__half { grid-column: span 6; }
    .split--flip .split__narrow { order: 2; }
    .split--flip .split__wide { order: 1; }
}

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

@media (min-width: 640px) {
    .grid--2-sm { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
    .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

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

.stack-lg {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.center { text-align: center; }
.measure { max-width: 42rem; }
.measure--sm { max-width: 36rem; }
.measure--lg { max-width: 48rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* --------------------------------------------------------------------------
   4. Typography
   -------------------------------------------------------------------------- */
.eyebrow {
    font-family: var(--mono);
    font-size: 0.75rem;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--saffron);
}

.eyebrow--tight { letter-spacing: 0.25em; }
.eyebrow--sage { color: var(--sage); }
.eyebrow--muted { color: var(--ink-muted); }

.h1 {
    font-family: var(--serif);
    font-weight: 300;
    font-size: 3rem;
    line-height: 1.06;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.h1--page {
    font-size: 2.25rem;
    line-height: 1.1;
    letter-spacing: normal;
}

.h2 {
    font-family: var(--serif);
    font-weight: 300;
    font-size: 1.875rem;
    line-height: 1.25;
    color: var(--ink);
}

.h2--snug { line-height: 1.375; }

.h3 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 1.3;
}

@media (min-width: 640px) {
    .h1 { font-size: 3.75rem; }
    .h1--page { font-size: 3rem; }
    .h2 { font-size: 2.25rem; }
}

@media (min-width: 1024px) {
    .h1 { font-size: 4.5rem; }
    .h1--page { font-size: 3.75rem; }
    .h2--xl { font-size: 3rem; }
}

.lead {
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1.625;
    color: var(--ink-soft);
}

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

.prose {
    color: var(--ink-soft);
    line-height: 1.625;
}

.prose--flow {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.small {
    font-size: 0.875rem;
    line-height: 1.625;
}

.tiny {
    font-size: 0.75rem;
    line-height: 1.5;
    color: var(--ink-muted);
}

.serif { font-family: var(--serif); }
.italic { font-style: italic; }
.saffron { color: var(--saffron); }
.sage-text { color: var(--sage); }
.muted { color: var(--ink-muted); }

/* Serif italic emphasis inside headings — matches <em> usage in the original */
.h1 em,
.h2 em,
.quote em,
.prose em {
    font-style: italic;
}

.pull-quote {
    font-family: var(--serif);
    font-weight: 300;
    font-style: italic;
    font-size: 1.5rem;
    line-height: 1.625;
    color: var(--ink-soft);
}

.quote {
    font-family: var(--serif);
    font-weight: 300;
    font-size: 1.875rem;
    line-height: 1.375;
    color: var(--ink);
}

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

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

/* --------------------------------------------------------------------------
   5. Surfaces & decorative treatments
   -------------------------------------------------------------------------- */
.bg-sand { background: rgba(var(--sand-rgb), 0.6); }
.bg-forest {
    background: var(--forest);
    color: var(--cream);
}
.bg-sage-light { background: var(--sage-light); }

/* Headings default to ink, so every dark surface must re-assert cream —
   otherwise a heading disappears into its own background. */
.bg-forest .h1,
.bg-forest .h2,
.bg-forest .h3,
.dark-panel .h1,
.dark-panel .h2,
.dark-panel .h3,
.card--dark .h3,
.contact-aside .h2,
.slot-card__head .h2 {
    color: var(--cream);
}

/* Fine dotted paper texture */
.texture-grain {
    background-image: radial-gradient(rgba(var(--ink-rgb), 0.04) 1px, transparent 1px);
    background-size: 22px 22px;
}

/* The arch-topped image frame used for the founder portrait */
.clipped-frame {
    border-radius: 10rem 10rem 1.5rem 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(var(--sage-rgb), 0.25);
}

.rounded-frame {
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(var(--sage-rgb), 0.25);
    position: relative;
}

/* Soft coloured glow blobs behind dark sections */
.glow {
    position: absolute;
    border-radius: 9999px;
    background: rgba(var(--saffron-rgb), 0.1);
    filter: blur(64px);
    pointer-events: none;
}

.glow--tl { left: -6rem; top: -6rem; width: 24rem; height: 24rem; }
.glow--tr { right: -6rem; top: -6rem; width: 24rem; height: 24rem; }
.glow--bl { left: -4rem; bottom: -5rem; width: 16rem; height: 16rem; }

.relative { position: relative; }
.overflow-hidden { overflow: hidden; }

/* --------------------------------------------------------------------------
   6. Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 9999px;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.2;
    transition:
        background-color 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.btn svg {
    width: 1rem;
    height: 1rem;
}

.btn--sm {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

.btn--lg {
    padding: 1rem 2rem;
}

.btn--lg svg,
.btn--xl svg {
    width: 1.25rem;
    height: 1.25rem;
}

.btn--xl {
    padding: 1rem 2.25rem;
    font-size: 1.125rem;
}

.btn--block {
    width: 100%;
}

.btn-primary {
    background: var(--saffron);
    color: var(--cream);
}

.btn-primary:hover {
    background: var(--saffron-deep);
    transform: scale(1.03);
}

.btn--block.btn-primary:hover {
    transform: scale(1.02);
}

.btn-outline {
    border: 1px solid rgba(var(--ink-rgb), 0.25);
    color: var(--ink);
}

.btn-outline:hover {
    border-color: var(--saffron);
    color: var(--saffron);
}

.btn-ghost-saffron {
    border: 1px solid rgba(var(--saffron-rgb), 0.6);
    color: var(--saffron);
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
}

.btn-ghost-saffron:hover {
    background: var(--saffron);
    color: var(--cream);
}

/* Inline text link with a nudging arrow */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--saffron);
    font-weight: 500;
}

.link-arrow svg {
    width: 1rem;
    height: 1rem;
    transition: transform 0.3s ease;
}

.link-arrow:hover svg {
    transform: translateX(0.25rem);
}

/* --------------------------------------------------------------------------
   7. Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    background: rgba(var(--cream-rgb), 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(var(--sage-rgb), 0.15);
}

.site-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
}

.brand img {
    height: 3rem;
    width: auto;
}

.nav-desktop {
    display: none;
}

.nav-desktop__link {
    font-size: 0.875rem;
    letter-spacing: 0.025em;
    color: var(--ink-soft);
    transition: color 0.3s ease;
}

.nav-desktop__link:hover {
    color: var(--ink);
}

.nav-desktop__link.is-active {
    color: var(--saffron);
    font-weight: 500;
}

.nav-toggle {
    display: flex;
    padding: 0.5rem;
    color: var(--ink);
}

.nav-toggle svg {
    width: 1.5rem;
    height: 1.5rem;
}

.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 1.25rem;
    background: var(--cream);
    border-top: 1px solid rgba(var(--sage-rgb), 0.15);
    padding: 1.5rem;
}

.nav-mobile.is-open {
    display: flex;
}

.nav-mobile__link {
    font-family: var(--serif);
    font-size: 1.5rem;
    color: var(--ink);
}

.nav-mobile__link.is-active {
    color: var(--saffron);
}

.nav-mobile .btn {
    margin-top: 0.5rem;
}

@media (min-width: 640px) {
    .brand img { height: 4rem; }
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
        align-items: center;
        gap: 2rem;
    }
    .nav-toggle { display: none; }
    .nav-mobile,
    .nav-mobile.is-open { display: none; }
}

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    overflow: hidden;
    padding-top: 8rem;
    padding-bottom: 5rem;
}

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

.hero__orb {
    position: absolute;
    left: 50%;
    top: 6rem;
    transform: translateX(-50%);
    opacity: 0.7;
    pointer-events: none;
}

.hero__portrait {
    max-width: 28rem;
    margin: 0 auto;
}

.hero__portrait img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: 50% 18%;
    will-change: transform;
}

@media (min-width: 1024px) {
    .hero__portrait { max-width: none; }
}

.hero__actions {
    margin-top: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

/* The breathing orb: four nested rings on a slow, offset pulse */
.breath-orb {
    position: relative;
    width: 34rem;
    height: 34rem;
    max-width: 90vw;
    pointer-events: none;
}

.breath-orb span {
    position: absolute;
    border-radius: 9999px;
    animation: breath 9s ease-in-out infinite;
}

.breath-orb span:nth-child(1) {
    inset: 0;
    background: rgba(228, 236, 231, 0.6);
    filter: blur(64px);
}

.breath-orb span:nth-child(2) {
    inset: 2.5rem;
    border: 1px solid rgba(var(--sage-rgb), 0.2);
    animation-delay: -2.2s;
}

.breath-orb span:nth-child(3) {
    inset: 6rem;
    border: 1px solid rgba(var(--saffron-rgb), 0.25);
    animation-delay: -4.5s;
}

.breath-orb span:nth-child(4) {
    inset: 10rem;
    background: rgba(var(--saffron-rgb), 0.1);
    filter: blur(40px);
    animation-delay: -6.5s;
}

@keyframes breath {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.18);
        opacity: 0.85;
    }
}

/* --------------------------------------------------------------------------
   9. Marquee
   -------------------------------------------------------------------------- */
.marquee {
    overflow: hidden;
    background: var(--forest);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(var(--saffron-rgb), 0.2);
    border-bottom: 1px solid rgba(var(--saffron-rgb), 0.2);
}

.marquee__track {
    display: flex;
    width: max-content;
    animation: marquee 32s linear infinite;
}

.marquee:hover .marquee__track {
    animation-play-state: paused;
}

.marquee__row {
    display: flex;
    flex-shrink: 0;
    align-items: center;
}

.marquee__row > span {
    display: flex;
    align-items: center;
}

.marquee__word {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.5rem;
    color: rgba(var(--cream-rgb), 0.9);
    padding: 0 1.5rem;
    white-space: nowrap;
}

.marquee__dot {
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 9999px;
    background: var(--saffron);
}

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

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   10. Cards
   -------------------------------------------------------------------------- */
.card {
    background: var(--cream);
    border: 1px solid rgba(var(--sage-rgb), 0.15);
    border-radius: 1.5rem;
    padding: 2rem;
    height: 100%;
}

.card--dark {
    background: var(--forest-surface);
    border-color: rgba(var(--cream-rgb), 0.1);
    color: var(--cream);
}

.card--dark .card__text { color: rgba(var(--cream-rgb), 0.65); }

.card__number {
    font-family: var(--serif);
    font-weight: 300;
    font-size: 3rem;
    line-height: 1;
    color: rgba(var(--saffron-rgb), 0.4);
}

.card__title {
    font-family: var(--serif);
    font-size: 1.5rem;
    margin-top: 1rem;
}

.card__text {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.625;
    color: var(--ink-soft);
}

.card__icon {
    width: 1.75rem;
    height: 1.75rem;
    color: var(--saffron);
    margin-bottom: 1.5rem;
    stroke-width: 1.5;
}

/* Testimonial figure */
.testimonial {
    background: var(--cream);
    border: 1px solid rgba(var(--sage-rgb), 0.15);
    border-radius: 1.5rem;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial blockquote {
    font-family: var(--serif);
    font-weight: 300;
    font-size: 1.25rem;
    line-height: 1.625;
    color: var(--ink);
    flex: 1;
}

.testimonial figcaption {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial__avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background: var(--sage-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif);
    font-size: 1.125rem;
    color: var(--sage);
    flex-shrink: 0;
}

.testimonial__name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ink);
}

@media (min-width: 640px) {
    .testimonial { padding: 2.5rem; }
    .testimonial blockquote { font-size: 1.5rem; }
}

/* Caption plate laid over an image */
.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 1.5rem;
}

.image-caption__plate {
    background: rgba(var(--forest-rgb), 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(var(--cream-rgb), 0.1);
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
}

.image-caption__title {
    font-family: var(--serif);
    font-weight: 300;
    font-size: 1.25rem;
    line-height: 1.375;
    color: var(--cream);
}

.image-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(var(--forest-rgb), 0.9),
        rgba(var(--forest-rgb), 0.25) 55%,
        transparent
    );
}

.band-image {
    width: 100%;
    height: 22rem;
    object-fit: cover;
}

/* Portrait (9:16) phone video — shown at its true aspect beside the copy,
   never letterboxed into a landscape band. */
.video-frame {
    position: relative;
    width: 100%;
    max-width: 20rem;
    margin: 0 auto;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(var(--sage-rgb), 0.25);
}

.video-frame video {
    display: block;
    width: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
}

.video-frame .image-caption {
    padding: 1.25rem;
}

.video-frame .image-caption__plate {
    padding: 1rem 1.25rem;
}

.video-frame .image-caption__title {
    font-size: 1.125rem;
}

@media (min-width: 640px) {
    .video-frame { max-width: 22rem; }
}

@media (min-width: 1024px) {
    /* Sit the video against the right edge of its column */
    .video-frame { margin-right: 0; }
}

@media (min-width: 640px) {
    .image-caption { padding: 2.5rem; }
    .image-caption__title { font-size: 1.875rem; }
    .band-image { height: 30rem; }
}

/* --------------------------------------------------------------------------
   11. Home — free trial banner, chapters, pricing
   -------------------------------------------------------------------------- */
.trial-banner {
    position: relative;
    overflow: hidden;
    border-radius: 2rem;
    border: 1px solid rgba(var(--saffron-rgb), 0.3);
    background: rgba(var(--saffron-rgb), 0.05);
    padding: 3rem 2rem;
    text-align: center;
}

@media (min-width: 640px) {
    .trial-banner { padding: 3.5rem; }
}

.chapter__image {
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(var(--sage-rgb), 0.2);
}

.chapter__image img {
    width: 100%;
    height: 18rem;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.chapter__image:hover img {
    transform: scale(1.05);
}

.chapter__number {
    font-family: var(--serif);
    font-weight: 300;
    font-size: 4.5rem;
    line-height: 1;
    color: rgba(var(--saffron-rgb), 0.25);
    display: block;
}

.chapter__name {
    font-family: var(--serif);
    font-size: 1.875rem;
    color: var(--ink);
    margin-top: -0.75rem;
}

@media (min-width: 640px) {
    .chapter__image img { height: 20rem; }
    .chapter__number { font-size: 6rem; }
    .chapter__name { font-size: 2.25rem; }
}

/* Timing cards on the dark panel */
.dark-panel {
    background: var(--forest);
    border-radius: 2.5rem;
    padding: 3.5rem 2rem;
    color: var(--cream);
    position: relative;
    overflow: hidden;
}

@media (min-width: 640px) {
    .dark-panel { padding: 5rem 3.5rem; }
}

.timing-card {
    background: var(--forest-surface);
    border: 1px solid rgba(var(--cream-rgb), 0.1);
    border-radius: 1.5rem;
    padding: 1.75rem;
    height: 100%;
}

.timing-card__head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--saffron);
}

.timing-card__head svg {
    width: 1.25rem;
    height: 1.25rem;
}

.timing-card__time {
    font-family: var(--serif);
    font-size: 2.25rem;
    margin-top: 1rem;
    line-height: 1.1;
}

.timing-card__mood {
    font-family: var(--serif);
    font-style: italic;
    font-size: 0.875rem;
    color: rgba(var(--cream-rgb), 0.6);
    margin-top: 0.25rem;
}

.timing-card__list {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(var(--cream-rgb), 0.1);
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    font-size: 0.875rem;
    color: rgba(var(--cream-rgb), 0.75);
}

/* Pricing */
.pricing-card {
    margin-top: 3rem;
    background: var(--cream);
    border: 1px solid rgba(var(--sage-rgb), 0.2);
    border-radius: 2rem;
    padding: 2.5rem;
    box-shadow: 0 20px 25px -5px rgba(var(--sage-rgb), 0.1);
}

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

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 32rem;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pricing-grid > div + div {
        border-left: 1px solid rgba(var(--sage-rgb), 0.2);
        padding-left: 2rem;
    }
}

.price {
    font-family: var(--serif);
    font-weight: 300;
    font-size: 3rem;
    line-height: 1.1;
    color: var(--ink);
}

.price__symbol {
    font-size: 1.5rem;
    vertical-align: top;
    color: var(--saffron);
}

.price__period {
    font-family: var(--sans);
    font-size: 1rem;
    color: var(--ink-muted);
}

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

.tick-list {
    margin: 2.5rem auto 0;
    max-width: 28rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tick-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--ink-soft);
}

.tick-list__dot {
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 9999px;
    background: var(--saffron);
    margin-top: 0.625rem;
    flex-shrink: 0;
}

.benefit-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.benefit-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--ink-soft);
}

.benefit-list svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--saffron);
    stroke-width: 2.5;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.final-cta__logo {
    height: 6rem;
    width: auto;
    margin: 0 auto 2.5rem;
}

.final-cta__headline {
    font-family: var(--serif);
    font-weight: 300;
    font-size: 2.25rem;
    line-height: 1.2;
    color: var(--ink);
}

@media (min-width: 640px) {
    .final-cta__headline { font-size: 3rem; }
}

@media (min-width: 1024px) {
    .final-cta__headline { font-size: 3.75rem; }
}

/* --------------------------------------------------------------------------
   12. About page
   -------------------------------------------------------------------------- */
.founder-caption {
    margin-top: 1.25rem;
    text-align: center;
}

.founder-caption__name {
    font-family: var(--serif);
    font-size: 1.25rem;
    color: var(--ink);
}

.story-quote {
    border-left: 2px solid rgba(var(--saffron-rgb), 0.5);
    padding: 0.25rem 0 0.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-family: var(--serif);
    font-weight: 300;
    font-size: 1.25rem;
    line-height: 1.4;
    color: var(--ink);
}

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

.note-box {
    margin-top: 2rem;
    background: var(--sage-light);
    border: 1px solid rgba(var(--sage-rgb), 0.2);
    border-radius: 1.5rem;
    padding: 1.75rem;
}

.note-box strong {
    color: var(--ink);
    font-weight: 500;
}

.bento {
    border-radius: 1.5rem;
    padding: 2.5rem;
    height: 16rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: var(--sage-light);
    color: var(--ink);
}

.bento--dark {
    background: var(--forest);
    color: var(--cream);
}

.bento__label {
    font-family: var(--serif);
    font-weight: 300;
    font-size: 2.25rem;
    color: var(--sage);
}

.bento--dark .bento__label { color: var(--saffron); }

.bento__text {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--ink-soft);
}

.bento--dark .bento__text { color: rgba(var(--cream-rgb), 0.7); }

/* --------------------------------------------------------------------------
   13. Programs page
   -------------------------------------------------------------------------- */
.tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3.5rem;
}

.tab {
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    background: var(--sage-light);
    color: var(--ink-soft);
    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}

.tab:hover {
    background: var(--sage);
    color: var(--cream);
}

.tab.is-active {
    background: var(--ink);
    color: var(--cream);
}

.tab__number {
    font-family: var(--serif);
    font-style: italic;
    margin-right: 0.5rem;
    color: var(--saffron);
}

.tab.is-active .tab__number { color: var(--saffron); }

.program-panel {
    display: none;
}

.program-panel.is-active {
    display: grid;
    animation: panel-in 0.5s var(--ease) both;
}

@keyframes panel-in {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.program-panel__image {
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(var(--sage-rgb), 0.25);
}

.program-panel__image img {
    width: 100%;
    height: 20rem;
    object-fit: cover;
}

@media (min-width: 640px) {
    .program-panel__image img { height: 26rem; }
}

.program-panel__caption {
    margin-top: 1rem;
    text-align: center;
    font-family: var(--serif);
    font-style: italic;
    color: var(--ink-muted);
}

.program-panel__headline {
    font-family: var(--serif);
    font-weight: 300;
    font-size: 1.875rem;
    line-height: 1.25;
    color: var(--ink);
    margin-top: 0.75rem;
}

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

/* --------------------------------------------------------------------------
   14. Schedule page
   -------------------------------------------------------------------------- */
.slot-card {
    background: var(--cream);
    border: 1px solid rgba(var(--sage-rgb), 0.15);
    border-radius: 2rem;
    overflow: hidden;
    height: 100%;
}

.slot-card__head {
    background: var(--forest);
    color: var(--cream);
    padding: 2rem;
}

.slot-card__head svg {
    width: 1.25rem;
    height: 1.25rem;
}

.slot-card__time {
    font-family: var(--serif);
    font-weight: 300;
    font-size: 3rem;
    line-height: 1.1;
    margin-top: 1rem;
}

.slot-card__mood {
    font-family: var(--serif);
    font-style: italic;
    color: rgba(var(--cream-rgb), 0.6);
    margin-top: 0.5rem;
}

.slot-card__body {
    padding: 1.5rem;
}

@media (min-width: 640px) {
    .slot-card__head { padding: 2.5rem; }
    .slot-card__body { padding: 2rem; }
}

.convert-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.875rem 0;
    text-align: left;
    border-top: 1px solid rgba(var(--sage-rgb), 0.1);
}

.convert-row:first-child {
    border-top: 0;
}

.convert-row__region {
    font-size: 0.875rem;
    color: var(--ink-soft);
    transition: color 0.2s ease;
}

.convert-row:hover .convert-row__region {
    color: var(--ink);
}

.convert-row__right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.convert-row__time {
    font-family: var(--serif);
    font-size: 1.125rem;
    color: var(--ink);
    white-space: nowrap;
}

.convert-row__zone {
    font-size: 0.875rem;
    color: var(--ink-muted);
}

.convert-row__note {
    font-family: var(--mono);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--saffron);
    white-space: nowrap;
}

.convert-row__copy {
    width: 0.875rem;
    height: 0.875rem;
    color: var(--ink-muted);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.convert-row:hover .convert-row__copy {
    opacity: 1;
}

.local-panel {
    background: var(--sage-light);
    border-radius: 2rem;
    padding: 2rem;
    text-align: center;
}

@media (min-width: 640px) {
    .local-panel { padding: 3rem; }
}

.local-panel__icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--sage);
    margin: 0 auto 1rem;
}

.local-time {
    background: var(--cream);
    border-radius: 1rem;
    padding: 1.5rem;
}

.local-time__value {
    font-family: var(--serif);
    font-size: 1.875rem;
    color: var(--ink);
    margin-top: 0.5rem;
}

/* --------------------------------------------------------------------------
   15. Contact page — form & FAQ
   -------------------------------------------------------------------------- */
.form-card {
    background: rgba(var(--sand-rgb), 0.7);
    border-radius: 2rem;
    padding: 2rem;
}

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

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

.field {
    width: 100%;
    background: var(--cream);
    border: 1px solid rgba(var(--sage-rgb), 0.25);
    border-radius: 1rem;
    padding: 0.875rem 1.25rem;
    color: var(--ink);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field::placeholder {
    color: var(--ink-muted);
}

.field:focus {
    outline: none;
    border-color: var(--saffron);
    box-shadow: 0 0 0 1px var(--saffron);
}

textarea.field {
    resize: none;
}

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

.slot-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid rgba(var(--sage-rgb), 0.25);
    background: var(--cream);
    color: var(--ink-soft);
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    text-align: left;
    transition:
        border-color 0.3s ease,
        background-color 0.3s ease,
        color 0.3s ease;
}

.slot-option svg {
    width: 1rem;
    height: 1rem;
    color: var(--saffron);
}

.slot-option:hover {
    border-color: var(--sage);
}

.slot-option.is-active {
    border-color: var(--saffron);
    background: rgba(var(--saffron-rgb), 0.1);
    color: var(--ink);
}

.slot-option__label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
}

.slot-option__time {
    display: block;
    font-size: 0.75rem;
    color: var(--ink-muted);
}

.contact-aside {
    background: var(--forest);
    color: var(--cream);
    border-radius: 2rem;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

@media (min-width: 640px) {
    .contact-aside { padding: 2.5rem; }
}

.contact-aside__headline {
    font-family: var(--serif);
    font-weight: 300;
    font-size: 1.875rem;
    line-height: 1.375;
    margin-top: 1rem;
}

.contact-aside__details {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(var(--cream-rgb), 0.1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 0.875rem;
    color: rgba(var(--cream-rgb), 0.7);
}

/* FAQ accordion */
.faq {
    border-top: 1px solid rgba(var(--sage-rgb), 0.15);
}

.faq__item {
    border-bottom: 1px solid rgba(var(--sage-rgb), 0.15);
}

.faq__toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 0;
    text-align: left;
}

.faq__question {
    font-family: var(--serif);
    font-size: 1.25rem;
    color: var(--ink);
}

.faq__chevron {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--saffron);
    transition: transform 0.3s ease;
}

.faq__toggle[aria-expanded="true"] .faq__chevron {
    transform: rotate(180deg);
}

.faq__panel {
    overflow: hidden;
    height: 0;
    opacity: 0;
    transition:
        height 0.35s var(--ease),
        opacity 0.35s var(--ease);
}

.faq__panel p {
    padding-bottom: 1.5rem;
    color: var(--ink-soft);
    line-height: 1.625;
    max-width: 48rem;
}

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

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
.site-footer {
    background: var(--forest);
    color: var(--cream);
    padding: 4rem 0;
}

@media (min-width: 640px) {
    .site-footer { padding: 5rem 0; }
}

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

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }
    .footer-grid__brand { grid-column: span 5; }
    .footer-grid__links { grid-column: span 3; }
    .footer-grid__sessions { grid-column: span 4; }
}

.footer-logo {
    display: inline-flex;
    background: var(--cream);
    border-radius: 1rem;
    padding: 0.75rem 1.25rem;
}

.footer-logo img {
    height: 4rem;
    width: auto;
}

.footer-blurb {
    margin-top: 1.5rem;
    color: rgba(var(--cream-rgb), 0.7);
    line-height: 1.625;
    max-width: 24rem;
}

.footer-heading {
    font-family: var(--mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--saffron);
    margin-bottom: 1.25rem;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-nav a {
    color: rgba(var(--cream-rgb), 0.7);
    width: fit-content;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--saffron);
}

.footer-session-time {
    color: rgba(var(--cream-rgb), 0.7);
}

.footer-social {
    margin-top: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(var(--cream-rgb), 0.7);
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-social svg {
    width: 1rem;
    height: 1rem;
}

.footer-social:hover {
    color: var(--saffron);
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(var(--cream-rgb), 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer-bottom__blessing {
    font-family: var(--serif);
    font-style: italic;
    color: rgba(var(--cream-rgb), 0.6);
}

.footer-bottom__legal {
    font-size: 0.75rem;
    color: rgba(var(--cream-rgb), 0.4);
}

@media (min-width: 640px) {
    .footer-bottom { flex-direction: row; }
}

/* --------------------------------------------------------------------------
   17. Motion — scroll reveals, masked headline lines, toasts
   -------------------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.85s var(--ease),
        transform 0.85s var(--ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* Headline lines that rise out of a clipping mask on page load */
.masked-line {
    display: block;
    overflow: hidden;
    padding-bottom: 0.08em;
    margin-bottom: -0.08em;
}

.masked-line > span {
    display: block;
    transform: translateY(115%);
    animation: line-rise 1s var(--ease) forwards;
}

@keyframes line-rise {
    to { transform: none; }
}

/* Elements that simply fade up shortly after load */
.fade-in {
    opacity: 0;
    animation: fade-in 0.8s ease forwards;
}

.fade-up {
    opacity: 0;
    transform: translateY(16px);
    animation: fade-up 0.8s ease forwards;
}

@keyframes fade-in {
    to { opacity: 1; }
}

@keyframes fade-up {
    to {
        opacity: 1;
        transform: none;
    }
}

/* Toast — replaces the sonner library */
.toast-tray {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    pointer-events: none;
}

.toast {
    background: var(--forest-surface);
    color: var(--cream);
    border: 1px solid rgba(var(--saffron-rgb), 0.4);
    border-radius: 0.75rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    animation: toast-in 0.3s var(--ease);
}

.toast.is-leaving {
    animation: toast-out 0.3s ease forwards;
}

@keyframes toast-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
}

@keyframes toast-out {
    to {
        opacity: 0;
        transform: translateY(12px);
    }
}

/* Respect a reduced-motion preference: show everything, animate nothing */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001s !important;
        animation-delay: 0s !important;
        transition-duration: 0.001s !important;
    }

    html { scroll-behavior: auto; }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .masked-line > span { transform: none; }
    .fade-in,
    .fade-up {
        opacity: 1;
        transform: none;
    }
}

/* Utility spacing used sparingly in the markup */
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-14 { margin-top: 3.5rem; }
.mt-16 { margin-top: 4rem; }
.mt-20 { margin-top: 5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
