#enquiryPopup {
    --teal: #2e8378;
    --teal-d: #0f4247;
    --teal-d2: #227571;
    --mint: #f0f9f6;
    --mint-2: #e8f4f0;
    --hair: #d5e8e2;
    --gold: #2e8378;
    --gold-l: #4ea89c;
    --gold-d: #256b62;
    --gold-dd: #1f5b54;
    --white: #fff;
    --ink: #1e2422;
    --muted: #6c807c;
    --display: "Belleza", system-ui, sans-serif;
    --body: "Figtree", system-ui, sans-serif;
    --serif: "Cormorant Garamond", Georgia, serif;
    --cream: #edf6f4;
    --cream-2: #f7fbfa;
    --spring: cubic-bezier(.2, .9, .28, 1.06);
    --soft: cubic-bezier(.22, .61, .36, 1)
}

#enquiryPopup.eq-overlay {
    background: rgba(12, 34, 29, .6);
    backdrop-filter: blur(8px) saturate(118%);
    -webkit-backdrop-filter: blur(8px) saturate(118%);
    padding: 16px
}

.eq-modal {
    position: relative;
    width: 94%;
    max-width: 520px;
    max-height: 92vh;
    overflow: hidden;
    background: var(--cream);
    border-radius: 20px;
    border: 1px solid var(--hair);
    box-shadow: 0 30px 70px -26px rgba(8, 26, 22, .65);
    font-family: var(--body);
    color: var(--ink);
    transform: translateY(20px) scale(.975);
    opacity: 0;
    transition: transform .5s var(--spring), opacity .4s var(--soft)
}

#enquiryPopup.active .eq-modal {
    transform: none;
    opacity: 1
}

#enquiryPopupForm {
    padding: 0;
    margin: 0
}

.eq-scroller {
    max-height: 92vh;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) transparent
}

.eq-scroller::-webkit-scrollbar {
    width: 6px
}

.eq-scroller::-webkit-scrollbar-thumb {
    background: rgba(86, 230, 194, .5);
    border-radius: 8px
}

.eq-grain {
    position: absolute;
    inset: 0;
    z-index: 6;
    pointer-events: none;
    opacity: .045;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")
}

.eq-petals {
    position: absolute;
    inset: 0;
    z-index: 30;
    pointer-events: none;
    overflow: hidden
}

.eq-close {
    position: absolute;
    top: 11px;
    right: 11px;
    z-index: 20;
    width: 31px;
    height: 31px;
    border-radius: 50%;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, .55);
    background: linear-gradient(135deg, var(--gold-l), var(--gold-d));
    color: var(--teal-d);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
    display: grid;
    place-items: center;
    transition: .3s var(--soft);
    padding: 0;
    box-shadow: 0 2px 7px rgba(8, 26, 22, .35)
}

.eq-close:hover {
    background: #fff;
    color: var(--teal-d);
    transform: rotate(90deg)
}

.eq-step {
    display: none;
    position: relative;
    z-index: 1
}

.eq-step.is-active {
    display: block;
    animation: eqStepIn .5s var(--soft) both
}

.eq-step[hidden] {
    display: none
}

@keyframes eqStepIn {
    from {
        opacity: 0;
        transform: translateX(12px)
    }
    to {
        opacity: 1;
        transform: none
    }
}

.eq-head {
    position: relative;
    padding: 24px 24px 18px;
    color: var(--ink);
    overflow: hidden;
    border-bottom: 1px solid var(--hair);
    background: linear-gradient(95deg, rgba(237, 246, 244, .85) 0, rgba(237, 246, 244, .68) 50%, rgba(237, 246, 244, .38) 68%, rgba(237, 246, 244, .12) 88%, rgba(237, 246, 244, 0) 100%), url(../images/hero-banner/form-header.webp) right center/cover no-repeat
}

.eq-eyebrow {
    position: relative;
    font-size: .56rem;
    letter-spacing: .32em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--teal-d);
    margin: 0 0 6px
}

.eq-title {
    position: relative;
    font-family: var(--display);
    font-weight: 800;
    font-size: 1.7rem;
    line-height: 1.1;
    letter-spacing: -.01em;
    margin: 0;
    color: var(--teal-d);
    text-shadow: 0 1px 6px rgba(255, 255, 255, .85)
}

.eq-title em {
    font-style: normal;
    font-weight: 800;
    color: var(--teal)
}

.eq-tagline {
    position: relative;
    font-size: .78rem;
    color: var(--teal-d);
    margin: 9px 0 0;
    font-weight: 500;
    line-height: 1.4;
    max-width: 34ch;
    text-shadow: 0 1px 5px rgba(255, 255, 255, .9), 0 0 2px rgba(255, 255, 255, .65)
}

.eq-head-deco {
    position: relative;
    display: block;
    width: 150px;
    max-width: 60%;
    height: auto;
    margin: 9px 0 1px;
    opacity: .95
}

.eq-ya-logo {
    position: absolute;
    right: 15px;
    bottom: 13px;
    z-index: 2;
    height: 34px;
    width: auto;
    padding: 4px 9px;
    border-radius: 9px;
    background: rgba(237, 246, 244, .8);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    box-shadow: 0 2px 9px -3px rgba(8, 26, 22, .28)
}

.eq-leaf {
    position: absolute;
    bottom: 0;
    z-index: 0;
    width: 58px;
    opacity: .45;
    pointer-events: none
}

.eq-leaf-l {
    left: -6px
}

.eq-leaf-r {
    right: -6px;
    transform: scaleX(-1)
}

.eq-scroller {
    position: relative;
    z-index: 1
}

.eq-body {
    position: relative;
    padding: 14px 20px 16px
}

.eq-body::after,
.eq-body::before {
    content: "";
    position: absolute;
    top: 50%;
    z-index: -1;
    width: 200px;
    height: 200px;
    pointer-events: none;
    opacity: .12;
    background: url(../images/icons/wheel-icons/center-mandala.png) center/contain no-repeat
}

.eq-body::before {
    left: 0;
    transform: translate(-50%, -50%)
}

.eq-body::after {
    right: 0;
    transform: translate(50%, -50%)
}

.req {
    color: var(--gold-d)
}

.eq-btn-gold {
    font-family: var(--body);
    font-weight: 600;
    font-size: .92rem;
    letter-spacing: .01em;
    width: 100%;
    padding: 13px 18px;
    border-radius: 30px;
    cursor: pointer;
    color: #fff;
    background: var(--teal);
    border: 2px solid var(--teal);
    box-shadow: 0 6px 18px rgba(46, 131, 120, .25);
    transition: color .4s ease, background .4s ease, box-shadow .25s var(--soft), transform .25s var(--soft), opacity .35s, filter .35s
}

.eq-btn-gold:hover {
    background: #fff;
    color: var(--teal);
    box-shadow: 0 10px 24px rgba(46, 131, 120, .3)
}

.eq-btn-gold:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 3px rgba(46, 131, 120, .4)
}

.eq-btn-gold span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    text-transform: none;
    letter-spacing: .02em
}

.eq-btn-gold span::before {
    content: "";
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    will-change: transform;
    background: url(../images/icons/ryp-icon.svg) center/contain no-repeat;
    animation: eqLoaderSpin .9s linear infinite
}

@keyframes eqLoaderSpin {
    to {
        transform: rotate(360deg)
    }
}

.eq-form {
    display: grid;
    gap: 11px
}

.eq-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px
}

.eq-row {
    display: grid;
    gap: 5px
}

.eq-row>label {
    font-size: .55rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--teal-d);
    font-weight: 700
}

.eq-ctrl {
    font-family: var(--body);
    font-size: .88rem;
    color: var(--ink);
    width: 100%;
    padding: 10px 11px;
    border-radius: 9px;
    background: var(--white);
    border: 1px solid var(--hair);
    transition: .28s var(--soft)
}

.eq-ctrl::placeholder {
    color: #a4b2ac
}

.eq-ctrl:focus {
    outline: 0;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(46, 131, 120, .18)
}

.eq-ctrl:disabled {
    background: var(--mint-2);
    color: var(--muted);
    border-style: dashed;
    border-color: var(--hair);
    cursor: not-allowed
}

textarea.eq-ctrl {
    resize: vertical;
    min-height: 58px
}

select.eq-ctrl {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 30px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' fill='none' stroke='%232e8378' stroke-width='1.6'%3E%3Cpath d='M3 5l3.5 3.5L10 5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 11px center
}

.eq-ctrl.err,
.eq-ctrl.input-err,
.eq-ctrl.is-invalid {
    border-color: #d3756b;
    box-shadow: 0 0 0 3px rgba(211, 117, 107, .18)
}

.eq-refer {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
    margin: 0
}

.eq-refer input {
    display: none
}

.eq-refer .eq-box {
    width: 17px;
    height: 17px;
    border-radius: 5px;
    flex: none;
    border: 1px solid var(--hair);
    background: var(--white);
    display: grid;
    place-items: center;
    transition: .22s var(--soft)
}

.eq-refer .eq-box svg {
    width: 10px;
    height: 10px;
    opacity: 0;
    transition: .2s
}

.eq-refer input:checked+.eq-box {
    background: var(--teal);
    border-color: var(--teal-d)
}

.eq-refer input:checked+.eq-box svg {
    opacity: 1
}

.eq-refer span {
    font-size: .78rem;
    color: var(--muted)
}

.eq-refer-input {
    overflow: hidden
}

.enquiry-form-message {
    font-size: .82rem
}

.eq-petal {
    position: absolute;
    top: -30px;
    will-change: transform, opacity
}

@media(max-width:400px) {
    .eq-two {
        grid-template-columns: 1fr
    }
    .eq-body {
        padding: 12px 16px 14px
    }
    .eq-title {
        font-size: 1.5rem
    }
}

@media(prefers-reduced-motion:reduce) {
    .eq-step {
        animation: none !important
    }
}

.page-enroll .bottom-box .fixed-btn {
    display: none !important
}

.page-enroll #workshopOfferPopup {
    display: none !important
}

.page-enroll .enroll-form-header {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    text-align: left;
    padding: 30px clamp(22px, 3.5vw, 40px);
    border-radius: 0;
    overflow: hidden;
    color: #f1e9dc;
    background: linear-gradient(100deg, rgba(12, 52, 57, .82), rgba(34, 117, 113, .55)), url(../images/hero-banner/form-header.webp);
    background-size: cover;
    background-position: center
}

.page-enroll .enroll-form-header::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 92% 50%, rgba(94, 202, 165, .28), transparent 56%)
}

.enroll-form-header .efh-icon {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    color: #dff5ec;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .4))
}

.efh-lotus {
    display: block;
    width: 84px;
    height: 84px;
    filter: brightness(0) invert(1)
}

.enroll-form-header .efh-copy {
    position: relative;
    z-index: 1
}

.enroll-form-header .efh-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 11px;
    padding: 4px 13px;
    border-radius: 999px;
    background: rgba(46, 131, 120, .22);
    border: 1px solid rgba(159, 225, 203, .5);
    font-family: Figtree, system-ui, sans-serif;
    font-size: .66rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-weight: 700;
    color: #9fe1cb
}

.efh-tag-ico {
    width: 12px;
    height: 12px;
    flex: 0 0 auto
}

.enroll-form-header .efh-headline {
    margin: 0 0 7px;
    font-family: "Belleza", sans-serif;
    font-weight: 700;
    font-size: clamp(1.35rem, 2.5vw, 1.55rem);
    line-height: 1.22;
    letter-spacing: -.01em;
    color: #fff
}

.enroll-form-header .efh-headline b {
    color: #9fe1cb;
    font-weight: 800
}

.enroll-form-header .efh-text {
    margin: 0;
    font-family: Figtree, system-ui, sans-serif;
    font-size: .92rem;
    line-height: 1.5;
    color: #d7e6e0
}

.enroll-form-header .efh-text strong {
    color: #fff;
    font-weight: 700
}

@media (max-width:576px) {
    .page-enroll .enroll-form-header {
        flex-direction: column;
        text-align: center;
        gap: 11px;
        padding: 26px 18px
    }
    .enroll-form-header .efh-tag {
        margin-left: auto;
        margin-right: auto
    }
    .enroll-form-header .efh-headline {
        font-size: 1.42rem
    }
    .enroll-form-header .efh-text {
        font-size: .88rem
    }
    .efh-lotus {
        width: 66px;
        height: 66px
    }
}
/* ── Urgency strip ──────────────────────────────────────────────────────────
   Sits above the eyebrow in .eq-head. Server-rendered by
   includes/batch-urgency.php, so the date, countdown and wording are always
   current — nothing here is ever edited by hand.

   It has to win against a photographic header, so it is a filled gradient
   band rather than a tinted card: white text on deep teal, a gold hairline,
   a slow sheen that sweeps across it, and an entrance that fires every time
   the popup opens. Three states: --open (teal), --soon (teal, faster pulse),
   --critical (amber). Palette stays green/gold. */

#enquiryPopup .eq-urgency {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    /* The close button is absolutely positioned over this corner; keep the
       band clear of it so nobody reads the X as "dismiss this banner". */
    margin: 0 44px 14px 0;
    padding: 11px 16px 11px 14px;
    border-radius: 12px;
    overflow: hidden;
    isolation: isolate;
    font-family: var(--body);
    color: #fff;
    background: linear-gradient(100deg, #0d3c41 0%, #185f5d 48%, #2e8378 100%);
    border: 1px solid rgba(255, 255, 255, .18);
    box-shadow:
        0 10px 26px -10px rgba(10, 48, 45, .75),
        0 2px 0 rgba(255, 255, 255, .12) inset,
        0 0 0 1px rgba(46, 131, 120, .35)
}

/* Gold hairline down the leading edge. */
#enquiryPopup .eq-urgency::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(180deg, #e8c37a, #c79a44);
    z-index: 1
}

/* The sheen. A single soft diagonal band that crosses every few seconds —
   enough to catch the eye in peripheral vision, not enough to read as a
   flashing advert. */
#enquiryPopup .eq-urgency::after {
    content: "";
    position: absolute;
    top: -60%;
    left: -40%;
    width: 36%;
    height: 220%;
    pointer-events: none;
    z-index: 1;
    background: linear-gradient(90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, .16) 45%,
        rgba(255, 255, 255, .28) 50%,
        rgba(255, 255, 255, .16) 55%,
        rgba(255, 255, 255, 0) 100%);
    transform: skewX(-18deg);
    animation: eqSheen 5.2s ease-in-out 1.4s infinite
}

#enquiryPopup .eq-urgency-dot {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    margin-left: 2px;
    border-radius: 50%;
    background: #ffd98a;
    box-shadow: 0 0 0 0 rgba(255, 217, 138, .7), 0 0 10px rgba(255, 217, 138, .9);
    animation: eqUrgencyPulse 2.4s ease-out infinite
}

#enquiryPopup .eq-urgency-body {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0
}

#enquiryPopup .eq-urgency-head {
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .015em;
    line-height: 1.18;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .28)
}

#enquiryPopup .eq-urgency-sub {
    font-size: .74rem;
    font-weight: 600;
    line-height: 1.25;
    color: rgba(255, 255, 255, .9)
}

/* Within a fortnight the dot beats faster and the band warms very slightly. */
#enquiryPopup .eq-urgency--soon {
    background: linear-gradient(100deg, #0d3c41 0%, #1c6a63 48%, #35907f 100%)
}

#enquiryPopup .eq-urgency--soon .eq-urgency-dot {
    animation-duration: 1.5s
}

/* Final week, or three seats or fewer: amber. */
#enquiryPopup .eq-urgency--critical {
    background: linear-gradient(100deg, #6b3d04 0%, #a05c08 48%, #c8790f 100%);
    box-shadow:
        0 10px 26px -10px rgba(107, 61, 4, .75),
        0 2px 0 rgba(255, 255, 255, .14) inset,
        0 0 0 1px rgba(200, 121, 15, .4)
}

#enquiryPopup .eq-urgency--critical::before {
    background: linear-gradient(180deg, #ffe0a3, #e8b765)
}

#enquiryPopup .eq-urgency--critical .eq-urgency-dot {
    background: #fff1d2;
    box-shadow: 0 0 0 0 rgba(255, 241, 210, .75), 0 0 10px rgba(255, 241, 210, .95);
    animation-duration: 1.2s
}

/* Entrance. Keyed off .active so it replays every time the popup opens,
   and delayed so it lands just after the modal itself has settled. */
#enquiryPopup.active .eq-urgency {
    animation: eqUrgencyIn 520ms var(--spring) 160ms backwards
}

@keyframes eqUrgencyIn {
    0%   { opacity: 0; transform: translateY(-10px) scale(.97) }
    60%  { opacity: 1; transform: translateY(2px) scale(1.012) }
    100% { opacity: 1; transform: translateY(0) scale(1) }
}

@keyframes eqSheen {
    0%   { left: -40% }
    55%  { left: 115% }
    100% { left: 115% }
}

@keyframes eqUrgencyPulse {
    0%   { box-shadow: 0 0 0 0 rgba(255, 217, 138, .7), 0 0 10px rgba(255, 217, 138, .9) }
    70%  { box-shadow: 0 0 0 9px rgba(255, 217, 138, 0), 0 0 10px rgba(255, 217, 138, .9) }
    100% { box-shadow: 0 0 0 0 rgba(255, 217, 138, 0), 0 0 10px rgba(255, 217, 138, .9) }
}

@media (prefers-reduced-motion: reduce) {
    #enquiryPopup .eq-urgency-dot,
    #enquiryPopup .eq-urgency::after,
    #enquiryPopup.active .eq-urgency {
        animation: none !important
    }
}

@media (max-width: 480px) {
    #enquiryPopup .eq-urgency {
        gap: 10px;
        margin-right: 38px;
        padding: 10px 12px 10px 12px;
        border-radius: 10px
    }
    #enquiryPopup .eq-urgency-head { font-size: .76rem }
    #enquiryPopup .eq-urgency-sub  { font-size: .68rem }
}
