/* AIN MUSLIMAH | Midnight Emerald Edition.
   Visual layer only: does not modify booking, payment or admin logic.
   Free webfont interpretations of the supplied editorial-font reference. */
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:opsz,wght@6..96,400;6..96,500;6..96,600&family=Cormorant+Garamond:wght@400;500;600;700&family=Italiana&family=Manrope:wght@400;500;600;700;800&family=Pinyon+Script&display=swap');

:root {
  --ams-night:#071c17;
  --ams-forest:#0b2b23;
  --ams-forest-2:#10392e;
  --ams-panel:#123b30;
  --ams-panel-hi:#194b3b;
  --ams-gold:#ddbd80;
  --ams-ivory:#f4ecd9;
  --ams-muted:#c1d1c4;
  --ams-line:rgba(221,189,128,.38);
  --ams-type-editorial:'Bodoni Moda',Georgia,serif;
  --ams-type-soft:'Italiana','Times New Roman',serif;
  --ams-type-classic:'Cormorant Garamond',Georgia,serif;
  --ams-type-script:'Pinyon Script','Brush Script MT',cursive;
  --ams-type-body:'Manrope',Arial,sans-serif;
  color-scheme:dark;
}

html.ams-curated body {
  background:var(--ams-night)!important;
  color:var(--ams-ivory)!important;
  font-family:var(--ams-type-body)!important;
}
html.ams-curated :is(button,input,select,textarea) {font-family:var(--ams-type-body)}
html.ams-curated :is(.section-heading h2,.booking-heading h2,.spa-feature-copy h2,.stay-copy h2,.about h2,.contact h2) {
  font-family:var(--ams-type-editorial)!important;
  font-weight:500!important;
  letter-spacing:-.035em;
  line-height:1.16;
  color:var(--ams-ivory)!important;
  text-wrap:balance;
}
html.ams-curated .hero h1 {
  font-family:var(--ams-type-editorial)!important;
  font-weight:500!important;
  letter-spacing:-.045em;
  color:#fff7e8!important;
}
html.ams-curated :is(.ams-events h2,.ams-event-enquiry h3,.ams-event-heading h3) {
  font-family:var(--ams-type-soft)!important;
  font-weight:400!important;
  letter-spacing:-.01em;
  color:var(--ams-ivory)!important;
}
html.ams-curated .ams-events h2 em {
  font-family:var(--ams-type-script)!important;
  font-weight:400!important;
  font-style:normal!important;
  font-size:1.12em;
  letter-spacing:0;
  color:#f1d39e!important;
  display:inline-block;
  padding-inline:.07em;
  line-height:1.15;
}
html.ams-curated :is(.brand,.choice-card h3,.service-content h3,.promo-copy h3,.booking-panel h3,.details-copy h2,.ams-calendar-toolbar h3,.ams-event-price-card h3,.ams-event-form-title) {
  font-family:var(--ams-type-classic)!important;
  font-weight:600;
  letter-spacing:.008em;
}
html.ams-curated .brand{font-family:var(--ams-type-soft)!important;font-size:clamp(22px,2vw,31px)}
html.ams-curated :is(.eyebrow,.ams-chapter,.ams-event-overline,.choice-tag,.service-category,.promo-eyebrow,.ams-calendar-eyebrow) {
  font-family:var(--ams-type-body)!important;
  font-weight:800;
  letter-spacing:.18em;
  color:var(--ams-gold)!important;
}
html.ams-curated :is(.section-heading>p,.booking-heading>p,.spa-feature-copy>p,.stay-copy>p,.about-text,.contact>p,.ams-events-lead) {
  color:var(--ams-muted)!important;
}

/* Deep botanical gradients on every public chapter, including its footer. */
html.ams-curated :is(.spa-feature,.promo-section,.service-section,.homestay,.gallery-section,.choice-section,.about,#booking,.booking-section,.ams-events,.ams-stay-request,.ams-availability-calendar,#contact,.contact) {
  background:radial-gradient(ellipse at 3% 6%,rgba(24,91,68,.44),transparent 45%),
             radial-gradient(ellipse at 96% 94%,rgba(150,117,53,.15),transparent 39%),
             linear-gradient(135deg,#081e18 0%,#113529 52%,#0a271f 100%)!important;
  border-color:var(--ams-line)!important;
  color:var(--ams-ivory);
}
html.ams-curated :is(.service-section,.gallery-section,.about,.ams-availability-calendar) {
  background:radial-gradient(ellipse at 95% 4%,rgba(29,106,78,.25),transparent 48%),
             linear-gradient(145deg,#071a15,#0b2b22 60%,#102f27)!important;
}
html.ams-curated .hero {
  background:radial-gradient(circle at 24% 15%,#18543f 0,transparent 46%),
             linear-gradient(130deg,#061711,#0c382a 54%,#164c3b)!important;
}
html.ams-curated .top-ribbon,
html.ams-curated .mini-strip {
  background:linear-gradient(90deg,#071b16,#154938,#092820)!important;
  border-block:1px solid rgba(221,189,128,.35);
  color:#ecd5a7!important;
}
html.ams-curated .top-ribbon span,
html.ams-curated .mini-strip * {color:#ecd5a7!important}

/* Header and collapsed navigation: never white on white. */
html.ams-curated .header {
  background:rgba(7,31,24,.97)!important;
  border-bottom:1px solid var(--ams-line)!important;
  box-shadow:0 6px 30px #0005!important;
}
html.ams-curated .header .brand,
html.ams-curated .header .brand span,
html.ams-curated .header .nav>a {color:var(--ams-ivory)!important}
html.ams-curated .header .brand small {color:var(--ams-gold)!important}
html.ams-curated .header .brand img {box-shadow:0 0 0 2px var(--ams-gold),0 9px 23px #0007}
html.ams-curated .header .nav {background:#0b2b23!important}
html.ams-curated .header .nav :is(a,.lang-btn,.language-switch) {color:var(--ams-ivory)!important}
html.ams-curated .header .nav .nav-book {
  background:linear-gradient(110deg,#ba9250,#efd79e)!important;
  color:#153a2a!important;
  border-color:#dfc381!important;
}
html.ams-curated .header .nav .nav-book,
html.ams-curated .header .nav .nav-book span {color:#153a2a!important}
html.ams-curated .menu-toggle {background:#153d30!important;color:#f4e8cd!important;border-color:var(--ams-line)!important}

/* Architectural cards: emerald surfaces with fine gold contours. */
html.ams-curated :is(.promo-live-card,.service-card,.choice-card,.booking-panel,.ams-event-facilities article,.ams-event-enquiry,.ams-event-form,.ams-calendar-card,.facts div,.cards article,.location-grid article) {
  background:linear-gradient(155deg,#174839,#0c2b23 75%)!important;
  color:var(--ams-ivory)!important;
  border:1px solid var(--ams-line)!important;
  box-shadow:0 18px 46px #0004,0 0 0 1px #dfbe7720!important;
}
html.ams-curated .promo-copy,
html.ams-curated .service-content {background:transparent!important;color:var(--ams-ivory)!important}
html.ams-curated :is(.promo-copy h3,.service-content h3,.choice-card h3,.facts strong,.ams-event-facilities h4,.ams-event-facilities article h4,.booking-panel h3) {
  color:var(--ams-ivory)!important;
}
html.ams-curated :is(.promo-copy p,.service-content p,.choice-card p,.service-disclaimer,.ams-event-facilities article p,.ams-event-enquiry-copy>p,.ams-event-heading>p,.ams-event-heading p,.ams-calendar-intro>p,.ams-calendar-status) {
  color:var(--ams-muted)!important;
}
html.ams-curated :is(.service-content strong,.promo-prices strong,.promo-prices b,.price strong,.booking-total strong) {
  color:#f0d49c!important;
}
html.ams-curated .service-image {background:#0d3027!important}
html.ams-curated .service-category {background:#245846!important;border:1px solid var(--ams-line)}
html.ams-curated .service-count {color:#c3d5c7!important}
html.ams-curated :is(.service-tools input,.service-tools select) {
  background:#12382c!important;color:var(--ams-ivory)!important;border:1px solid var(--ams-line)!important;
}
html.ams-curated :is(.service-tools input,.service-tools select)::placeholder {color:#a7beae}
html.ams-curated .service-actions button {background:#153e30!important;color:#f7e6c5!important;border-color:#c6a369!important}
html.ams-curated .service-actions a {background:#d4b474!important;color:#0c291f!important;border-color:#d4b474!important}
html.ams-curated .ams-branch-wa {
  background:#194638!important;color:#f5e5c4!important;
  border:1px solid var(--ams-line)!important;
}
html.ams-curated .ams-branch-wa:hover,
html.ams-curated .service-actions button:hover {background:#24614b!important}
html.ams-curated :is(.promo-highlight,.promo-empty,.promo-note,.promo-deadline) {
  background:rgba(229,188,110,.09)!important;
  color:#f0d9aa!important;
  border-color:var(--ams-line)!important;
}
html.ams-curated .promo-live-card :is(.promo-prices,.promo-copy p,.promo-deadline) {color:#e7dece!important}
html.ams-curated .promo-prices span {background:#103b2e!important;border-left-color:#d9b977!important}
html.ams-curated .promo-prices small {color:#c5d5c5!important}
html.ams-curated .promo-book {background:linear-gradient(110deg,#b99252,#e8d09c)!important;color:#0c271f!important}
html.ams-curated .promo-lightbox {background:#123a2d!important;border-color:var(--ams-line)!important}
html.ams-curated :is(.choice-stay,.choice-spa,.choice-event) {background:linear-gradient(145deg,#1a503e,#0b2c23)!important}
html.ams-curated .choice-card :is(h3,p,.choice-tag,.ams-choice-more) {color:#f4e8d6!important}
html.ams-curated .spa-feature-art,
html.ams-curated .homestay .stay-visual,
html.ams-curated .gallery-grid .gallery-item,
html.ams-curated .ams-event-hero-photo,
html.ams-curated .ams-event-gallery button {
  border-color:#c5a46b!important;
  box-shadow:0 17px 36px #0005!important;
}
html.ams-curated :is(.spa-values span,.amenity-grid span,.amenities span,.homestay .photo-sticker) {
  background:#174435!important;
  color:#f1e7d2!important;
  border:1px solid var(--ams-line)!important;
}
html.ams-curated :is(.stay-copy p,.stay-copy .price,.price small,.spa-feature-copy p,.spa-values span,.amenity-grid span) {color:#e2e7d9!important}

/* Forms: clear labels, generous separation, dark native controls. */
html.ams-curated :is(.booking-field,.ams-event-form-grid label) {color:#eed9b7!important}
html.ams-curated :is(.booking-field input,.booking-field select,.booking-field textarea,.ams-event-form-grid input,.ams-event-form-grid select,.ams-event-form-grid textarea) {
  background:#0b2d24!important;
  color:#fff2dc!important;
  border:1px solid #b99a6173!important;
  color-scheme:dark;
  box-shadow:inset 0 1px 5px #0002;
}
html.ams-curated :is(.booking-field input,.booking-field textarea,.ams-event-form-grid input,.ams-event-form-grid textarea)::placeholder {color:#aabcae}
html.ams-curated :is(.booking-field input,.booking-field select,.booking-field textarea,.ams-event-form-grid input,.ams-event-form-grid select,.ams-event-form-grid textarea):focus-visible {
  outline:2px solid #e4c484!important;
  outline-offset:2px;
}
html.ams-curated :is(.booking-tabs button,.booking-total,.ams-event-form-total,.ams-event-reminder,.ams-availability-note,.ams-spa-discount-note) {
  background:#194637!important;
  color:#f0e3c9!important;
  border:1px solid var(--ams-line)!important;
}
html.ams-curated .booking-tabs button.active {background:#cfad6c!important;color:#0c2b20!important}
html.ams-curated :is(.booking-heading p,.booking-note,.ams-event-reminder p,.ams-event-reminder b,.ams-event-form-total strong,.ams-event-form-total span) {color:#e1d9c7!important}
html.ams-curated :is(.booking-submit,.ams-event-submit) {background:linear-gradient(105deg,#b89554,#e8d09a)!important;color:#0d2b21!important}

/* Wedding: quiet, dramatic gold accents. */
html.ams-curated .ams-event-types>span {background:#1b4c3b!important;color:#f4e6cb!important;border-color:var(--ams-line)!important}
html.ams-curated .ams-event-owner-options .ams-event-owner,
html.ams-curated .ams-event-owner {background:#173e30!important;color:#efdfbf!important;border-color:var(--ams-line)!important}
html.ams-curated .ams-event-form-title,
html.ams-curated .ams-event-form-total strong {color:#ecd09a!important}
html.ams-curated .ams-event-status {color:#f2ca80!important}

/* Homestay availability: preserve the meaning of each status. */
html.ams-curated .ams-calendar-intro p,
html.ams-curated .ams-calendar-legend,
html.ams-curated .ams-calendar-toolbar h3 {color:#f0e8d5!important}
html.ams-curated .ams-calendar-weekdays {color:#e5c98f!important}
html.ams-curated .ams-calendar-day.available {background:#1b513b!important;color:#ddf7de!important;border-color:#578e67!important}
html.ams-curated .ams-calendar-day.available:hover {background:#286347!important}
html.ams-curated .ams-calendar-day.blocked {background:#542b32!important;color:#f9c3c4!important;border-color:#b86b73!important}
html.ams-curated .ams-calendar-day.past {background:#20342d!important;color:#8da79a!important}
html.ams-curated .ams-calendar-day.unknown {background:#26392e!important;color:#aeb8a3!important}
html.ams-curated .ams-calendar-toolbar button {background:#224a37!important;color:#ecd29a!important;border-color:var(--ams-line)!important}

/* Contact locations are legible on mobile even with decorative art underneath. */
html.ams-curated #contact,
html.ams-curated #contact :is(h2,h3,h4,p,small,.map-link) {color:#f2e9d5!important}
html.ams-curated #contact .location-grid>* {background:#143f31!important;color:#f2e9d5!important;border:1px solid var(--ams-line)!important}
html.ams-curated #contact .location-grid>article p {color:#dbe6d9!important}
html.ams-curated #contact .location-grid .btn.white {background:#dfbd7b!important;color:#15382a!important}
html.ams-curated #contact .location-grid .btn.white * {color:#15382a!important}
html.ams-curated #contact :is(.map-link,.socials a) {color:#f6d6a0!important;text-decoration-color:#f6d6a0!important}
html.ams-curated :is(.about .facts div,.about .facts div span,.about .facts div strong) {color:#f0e3cb!important}

/* Poster/details overlays, including manicure catalogue. */
html.ams-curated :is(.service-dialog,.details-dialog) {background:#0e2b23!important;color:var(--ams-ivory)!important;border:1px solid var(--ams-line)!important}
html.ams-curated .details-poster {background:#173e32!important}
html.ams-curated .details-copy :is(h2,p,small) {color:#e8e4d8!important}
html.ams-curated .details-price {background:#1c4b3a!important;color:#f0e6d0!important;border:1px solid var(--ams-line)}
html.ams-curated .details-price strong {color:#efd49e!important}
html.ams-curated footer {background:#061a14!important;color:#c4cdbd!important;border-top:1px solid var(--ams-line)}

/* Recolor existing slowly floating hand-drawn floral/halo decoration. */
html.ams-curated .ams-lux-scene {
  --ams-doodle-ink:#a6d4b4;
  --ams-doodle-gold:#f2d397;
  --lux-petal:#f4d394;
  --lux-ring:#e1bf785e;
  --lux-flower:#d1b77822;
}
html.ams-curated .ams-lux-scene .ams-lux-halo {opacity:.72}
html.ams-curated .section-ornament {color:#e5c078!important}
html.ams-curated .section-heading h2::after,
html.ams-curated .booking-heading h2::after {opacity:.9}
html.ams-curated :is(a,button,input,select,textarea):focus-visible {outline:2px solid #f0d396;outline-offset:3px}

@media(max-width:760px) {
  html.ams-curated .hero h1 {font-size:clamp(38px,9.2vw,56px)!important}
  html.ams-curated .brand {font-size:clamp(21px,5vw,27px)!important}
  html.ams-curated :is(.section-heading h2,.spa-feature-copy h2,.stay-copy h2,.about h2) {font-size:clamp(29px,7.1vw,43px)!important}
  html.ams-curated .ams-events h2 em {font-size:1.07em}
}
@media(prefers-reduced-motion:reduce) {
  html.ams-curated .ams-lux-scene * {animation:none!important}
}
