/* DLF The Magnolias 2 – coming soon / priority registration page
   Night-ink hero with a magnolia drawn in champagne light, rose accent, ivory form card. */

:root {
  --ink: #120e0c;
  --ink-2: #1d1715;
  --ink-3: #2a221f;
  --ivory: #f8f5f1;
  --paper: #ffffff;
  --stone: #ece6df;
  --text: #55514e;
  --muted: #7c7774;
  --gold: #c9a46a;
  --gold-2: #e6cc9a;
  --rose: #d51b5e;
  --rose-dark: #b70645;
  --line: rgba(31, 26, 23, .14);
  --line-light: rgba(255, 255, 255, .16);

  --caps: "Cinzel", "Trajan Pro", Georgia, serif;
  --serif: "EB Garamond", Garamond, Georgia, serif;

  --gutter: clamp(20px, 5vw, 56px);
  --wrap: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--text); font-family: var(--serif); font-size: 18px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

.mg-wrap { max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.mg-section { padding: clamp(80px, 11vw, 150px) 0; }
.center { text-align: center; }

.mg-eyebrow { font-family: var(--caps); font-size: 12px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.mg-eyebrow--rose { color: var(--rose); }
.mg-h2 { font-family: var(--caps); font-weight: 400; color: var(--ink); font-size: clamp(26px, 3.4vw, 46px); line-height: 1.22; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 26px; text-wrap: balance; }
.mg-h2 em { font-family: var(--serif); font-style: italic; text-transform: none; letter-spacing: 0; color: var(--gold-2); }
.mg-h2--light { color: #fff; }
.mg-body { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.7; }

/* Buttons */
.mg-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 32px; border: 1px solid transparent; border-radius: 0; cursor: pointer; text-decoration: none;
  font-family: var(--caps); font-size: 13px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  background: none; position: relative; overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease), border-color .4s var(--ease), background-color .4s var(--ease);
}
.mg-btn--rose { background: var(--rose); color: #fff; }
.mg-btn--rose::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%); transform: translateX(-120%); animation: shine 4.5s var(--ease) infinite 2s; }
.mg-btn--rose:hover { background: var(--rose-dark); }
@keyframes shine { 0%, 60% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.mg-btn--ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.mg-btn--ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.mg-btn--sm { min-height: 42px; padding: 0 20px; font-size: 11px; }
.mg-btn--block { width: 100%; }
.mg-btn[disabled] { opacity: .6; cursor: progress; }

/* Header */
.mg-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; gap: 24px; padding: 0 var(--gutter); color: #fff;
  transition: background-color .5s var(--ease), box-shadow .5s var(--ease);
}
.mg-header.is-solid { background: rgba(18, 14, 12, .88); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line-light); }
.mg-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; color: #fff; }
.mg-brand svg { width: 34px; height: 34px; color: var(--gold); }
.mg-brand span { font-family: var(--caps); font-size: 15px; letter-spacing: .22em; text-transform: uppercase; white-space: nowrap; }
.mg-brand em { font-family: var(--serif); font-style: italic; font-size: 1.35em; letter-spacing: 0; color: var(--gold-2); text-transform: none; }
.mg-header__phone { font-family: var(--caps); font-size: 12px; letter-spacing: .12em; text-decoration: none; opacity: .85; }
.mg-header__phone:hover { color: var(--gold-2); opacity: 1; }

/* Hero */
.mg-hero { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; color: rgba(255, 255, 255, .8); display: flex; align-items: center; background: radial-gradient(120% 90% at 30% 40%, #2a1e1c 0%, var(--ink) 60%); }
.mg-hero__bg { position: absolute; inset: 0; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.glow--a { width: 46vmax; height: 46vmax; left: -10vmax; top: -12vmax; background: radial-gradient(circle, rgba(213, 27, 94, .55), transparent 65%); animation: drift 18s ease-in-out infinite alternate; }
.glow--b { width: 40vmax; height: 40vmax; right: -12vmax; bottom: -16vmax; background: radial-gradient(circle, rgba(201, 164, 106, .45), transparent 65%); animation: drift 22s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(6vmax, 4vmax) scale(1.15); } }

.mg-hero__bloom { position: absolute; left: 50%; top: 52%; width: min(120vmin, 1100px); transform: translate(-62%, -50%); color: var(--gold); opacity: .32; }
.bloom-lines path { stroke-width: 1.1; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 3.6s var(--ease) forwards; }
.bloom-lines path:nth-child(1) { animation-delay: .3s; }
.bloom-lines path:nth-child(2), .bloom-lines path:nth-child(3) { animation-delay: .8s; }
.bloom-lines path:nth-child(4), .bloom-lines path:nth-child(5) { animation-delay: 1.3s; }
.bloom-lines path:nth-child(6) { animation-delay: 1.8s; }
.bloom-lines path:nth-child(7) { animation-delay: 2.1s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.petals span {
  position: absolute; top: -40px; width: 14px; height: 22px; border-radius: 80% 0 80% 0;
  background: linear-gradient(135deg, rgba(255, 232, 238, .85), rgba(213, 27, 94, .35));
  opacity: 0; animation: fall linear infinite;
}
@keyframes fall {
  0% { transform: translate3d(0, -5vh, 0) rotate(0deg); opacity: 0; }
  10% { opacity: .7; }
  90% { opacity: .5; }
  100% { transform: translate3d(var(--dx, 60px), 110vh, 0) rotate(var(--rot, 420deg)); opacity: 0; }
}

.mg-frame { position: absolute; inset: 14px; border: 1px solid rgba(201, 164, 106, .22); pointer-events: none; z-index: 1; }
.mg-frame::before, .mg-frame::after { content: ""; position: absolute; width: 22px; height: 22px; border: 1px solid var(--gold); }
.mg-frame::before { left: -1px; bottom: -1px; border-width: 0 0 1px 1px; }
.mg-frame::after { right: -1px; bottom: -1px; border-width: 0 1px 1px 0; }

.mg-hero__inner {
  position: relative; z-index: 2; width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto;
  padding: calc(var(--header-h) + 40px) var(--gutter) 96px;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 96px); align-items: center;
}
.mg-status {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; margin-bottom: 30px;
  border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .04); backdrop-filter: blur(6px);
  font-family: var(--caps); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: #fff;
}
.mg-status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 0 0 rgba(213, 27, 94, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(213, 27, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(213, 27, 94, 0); } }

.mg-title { margin: 6px 0 26px; color: #fff; font-weight: 400; line-height: .95; }
.mg-title__the { display: block; font-family: var(--serif); font-style: italic; font-size: clamp(26px, 3vw, 40px); color: var(--gold-2); margin-bottom: 6px; }
.mg-title__name { display: inline-block; font-family: var(--caps); font-size: clamp(36px, 7.4vw, 112px); letter-spacing: .06em; text-transform: uppercase; }
.mg-title__num {
  display: inline-block; margin-left: .12em; font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(56px, 10.5vw, 160px); line-height: .8; vertical-align: -.06em;
  background: linear-gradient(160deg, #fff3d6 0%, var(--gold) 45%, #9b7440 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.mg-coming { display: flex; align-items: center; gap: 18px; font-family: var(--caps); font-size: clamp(13px, 1.3vw, 16px); letter-spacing: .55em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 28px; }
.mg-coming span { height: 1px; width: 56px; background: linear-gradient(90deg, transparent, var(--gold)); }
.mg-coming span:last-child { background: linear-gradient(90deg, var(--gold), transparent); }
.mg-lede { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.6; max-width: 34ch; margin-bottom: 38px; }
.mg-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.mg-card { background: var(--ivory); color: var(--text); padding: clamp(28px, 3vw, 40px); box-shadow: 0 40px 120px rgba(0, 0, 0, .45); position: relative; }
.mg-card::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(201, 164, 106, .45); pointer-events: none; }
.mg-card__kicker { font-family: var(--caps); font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--rose); margin-bottom: 10px; }
.mg-card__title { font-family: var(--caps); font-weight: 400; color: var(--ink); font-size: clamp(22px, 2.2vw, 28px); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }
.mg-card__sub { font-size: 16px; line-height: 1.5; margin-bottom: 22px; }

.mg-scroll { position: absolute; left: 50%; bottom: 26px; z-index: 2; width: 1px; height: 56px; overflow: hidden; background: rgba(255, 255, 255, .2); transform: translateX(-50%); }
.mg-scroll span { position: absolute; inset: 0; background: var(--gold); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* Why */
.mg-why { background: var(--ivory); }
.mg-why .mg-h2 { margin-bottom: clamp(44px, 6vw, 72px); }
.mg-why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); margin-bottom: clamp(44px, 5vw, 64px); }
.mg-why__grid article { background: var(--paper); border: 1px solid var(--line); padding: clamp(28px, 3vw, 44px); text-align: center; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.mg-why__grid article:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(31, 26, 23, .08); }
.mg-num { display: block; font-family: var(--serif); font-style: italic; font-size: 34px; color: var(--gold); margin-bottom: 14px; }
.mg-why h3 { font-family: var(--caps); font-weight: 400; font-size: 18px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin-bottom: 12px; }
.mg-why p { font-size: 17px; }

/* Legacy */
.mg-legacy { position: relative; min-height: 92vh; min-height: 92svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; background: var(--ink); text-align: center; }
.mg-legacy__media { position: absolute; inset: -12% 0; }
.mg-legacy__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4) brightness(.55); }
.mg-legacy::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(18, 14, 12, .6), rgba(18, 14, 12, .35) 40%, rgba(18, 14, 12, .9)); }
.mg-legacy__content { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; padding: 120px var(--gutter) 40px; }
.mg-marquee { position: relative; z-index: 2; overflow: hidden; padding: 32px 0 64px; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.mg-marquee__track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 34s linear infinite; }
.mg-marquee span { font-family: var(--caps); font-size: clamp(26px, 4vw, 56px); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .45); }
.mg-marquee span.is-next { color: var(--gold-2); -webkit-text-stroke: 0; }
.mg-marquee i { width: 10px; height: 10px; transform: rotate(45deg); border: 1px solid var(--gold); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
.mg-note { position: absolute; right: var(--gutter); bottom: 16px; z-index: 2; font-size: 12px; font-style: italic; color: rgba(255, 255, 255, .5); }

/* Final */
.mg-final { background: var(--paper); }
.mg-final__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.mg-final__bloom { width: 56px; height: 56px; color: var(--gold); margin-bottom: 24px; }
.mg-final__form { background: var(--ivory); padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); position: relative; }
.mg-final__form::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(201, 164, 106, .4); pointer-events: none; }
.mg-contact { list-style: none; padding: 0; margin: 34px 0 0; border-top: 1px solid var(--line); }
.mg-contact li { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.mg-contact span { font-family: var(--caps); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.mg-contact a { display: inline-flex; align-items: center; min-height: 56px; padding-left: 16px; text-decoration: none; color: var(--ink); }
.mg-contact a:hover { color: var(--rose); }

/* Form */
.enquiry-form { display: grid; gap: 14px; position: relative; }
.field { position: relative; }
.field-row { display: grid; grid-template-columns: 120px 1fr; gap: 10px; }
.field input, .field select {
  width: 100%; min-height: 56px; padding: 22px 16px 8px; border: 1px solid var(--line); border-radius: 0; background: var(--paper);
  font-size: 17px; color: var(--ink); appearance: none; -webkit-appearance: none;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field select { padding: 0 34px 0 14px; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 19px) 25px, calc(100% - 14px) 25px; background-size: 5px 5px; background-repeat: no-repeat; }
.field--code select { font-size: 16px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 3px rgba(213, 27, 94, .12); }
.field label { position: absolute; left: 17px; top: 17px; pointer-events: none; font-size: 17px; color: var(--muted); transform-origin: left top; transition: transform .3s var(--ease), color .3s var(--ease); }
.field input:focus + label, .field input:not(:placeholder-shown) + label { transform: translateY(-10px) scale(.72); color: var(--rose); }
.field__error { display: none; margin-top: 6px; font-size: 14px; color: var(--rose-dark); }
.is-invalid .field__error, .consent__error.is-shown { display: block; }
.is-invalid input { border-color: var(--rose-dark); }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 14px; line-height: 1.5; cursor: pointer; padding: 2px 0; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--rose); }
.consent a { color: var(--rose); }
.consent__error { margin-top: -8px; }
.form-status { font-size: 15px; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--rose-dark); }
.form-trust { font-size: 13px; color: var(--muted); text-align: center; margin-top: -4px; }
.form-success { text-align: center; padding: 18px 0 6px; }
.form-success img { display: none; }
.form-success::before { content: ""; display: block; width: 56px; height: 56px; margin: 0 auto; border-radius: 50%; border: 1px solid var(--gold); background: radial-gradient(circle, rgba(213, 27, 94, .12), transparent 70%); }
.form-success h3 { font-family: var(--caps); font-weight: 400; letter-spacing: .1em; text-transform: uppercase; font-size: 22px; color: var(--ink); margin: 16px 0 10px; }
.form-success p { font-size: 17px; }

/* Dialog */
.mg-dialog {
  width: min(500px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain;
  padding: clamp(28px, 4vw, 44px); border: 0; border-radius: 0; background: var(--ivory); color: var(--text);
  box-shadow: 0 40px 140px rgba(0, 0, 0, .5);
}
.mg-dialog::backdrop { background: rgba(10, 8, 7, .72); backdrop-filter: blur(6px); }
.mg-dialog[open] { animation: dialogIn .6s var(--ease); }
@keyframes dialogIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.mg-dialog__close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.mg-dialog__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.mg-dialog__bloom { width: 40px; height: 40px; color: var(--gold); margin-bottom: 14px; }

/* Footer */
.mg-footer { background: var(--ink); color: rgba(255, 255, 255, .6); padding: 64px 0 calc(36px + env(safe-area-inset-bottom)); font-size: 14px; border-top: 1px solid var(--line-light); }
.mg-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 30px; border-bottom: 1px solid var(--line-light); margin-bottom: 28px; }
.mg-brand--light { margin-right: 0; }
.mg-footer nav { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.mg-footer nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-family: var(--caps); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.mg-footer nav a:hover { color: var(--gold-2); }
.mg-footer__rera { font-family: var(--caps); font-size: 13px; letter-spacing: .12em; color: #fff; margin-bottom: 14px; }
.mg-footer__legal { max-width: 920px; line-height: 1.6; margin-bottom: 18px; }

/* Sticky bar (phones) */
.mg-sticky { display: none; }

/* Reveal states (only with JS) */
.js [data-reveal], .js [data-reveal-group] > *, .js [data-hero], .js .mg-card { opacity: 0; }

/* ---------- Tablet & phone ---------- */
@media (max-width: 980px) {
  .mg-hero__inner { grid-template-columns: 1fr; text-align: center; padding-bottom: 72px; }
  .mg-hero__copy { display: flex; flex-direction: column; align-items: center; }
  .mg-lede { margin-left: auto; margin-right: auto; }
  .mg-hero__cta { justify-content: center; }
  .mg-card { max-width: 520px; width: 100%; margin: 0 auto; text-align: left; }
  .mg-hero__bloom { transform: translate(-50%, -62%); width: 150vmin; }
  .mg-final__grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .mg-header { gap: 12px; }
  .mg-header__phone { display: none; }
  .mg-brand svg { width: 28px; height: 28px; }
  .mg-brand span { font-size: 13px; letter-spacing: .16em; }
  .mg-frame { inset: 8px; }
  .mg-hero__inner { padding-top: calc(var(--header-h) + 28px); padding-bottom: 56px; gap: 34px; }
  .mg-status { margin-bottom: 22px; font-size: 10px; }
  .mg-title__name { font-size: 9.4vw; letter-spacing: .04em; }
  .mg-title__num { font-size: 15vw; }
  .mg-coming { letter-spacing: .42em; gap: 12px; margin-bottom: 20px; }
  .mg-coming span { width: 32px; }
  .mg-lede { font-size: 18px; margin-bottom: 0; }
  .mg-hero__cta { display: none; }
  .mg-card { padding: 26px 20px; }
  .mg-scroll { display: none; }
  .mg-why__grid { grid-template-columns: 1fr; }
  .mg-why__grid article { padding: 28px 22px; }
  .mg-legacy__content { padding-top: 96px; }
  .mg-marquee { padding: 24px 0 56px; }
  .mg-final__form { padding: 26px 18px; margin: 0 calc(var(--gutter) * -1 + 8px); }
  .mg-footer nav { display: grid; grid-template-columns: 1fr; width: 100%; }

  .mg-sticky {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 30;
    display: grid; grid-template-columns: 1fr 1fr 1.25fr; background: var(--ink-2); border: 1px solid var(--line-light);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .4); transform: translateY(150%); transition: transform .5s var(--ease);
  }
  .mg-sticky.is-visible { transform: none; }
  .mg-sticky.is-visible.is-hidden { transform: translateY(150%); }
  .mg-sticky a, .mg-sticky button { display: grid; place-items: center; min-height: 54px; border: 0; background: none; color: #fff; text-decoration: none; cursor: pointer; font-family: var(--caps); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
  .mg-sticky a + a { border-left: 1px solid var(--line-light); }
  .mg-sticky button { background: var(--rose); }
  .mg-footer { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }

  .mg-dialog { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: calc(30px + env(safe-area-inset-top)) 20px calc(28px + env(safe-area-inset-bottom)); }
}
@media (max-width: 380px) {
  .field-row { grid-template-columns: 98px 1fr; gap: 8px; }
  .field--code select { font-size: 15px; padding: 0 24px 0 10px; background-position: calc(100% - 15px) 25px, calc(100% - 10px) 25px; }
  .mg-btn--sm { padding: 0 14px; letter-spacing: .14em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .bloom-lines path { stroke-dashoffset: 0; }
  .petals { display: none; }
  .js [data-reveal], .js [data-reveal-group] > *, .js [data-hero], .js .mg-card { opacity: 1; }
  .mg-marquee__track { animation: none; }
}
@media (max-width: 760px) { .mg-hide-sm { display: none; } }

/* Title: the gold "2" sits as a flourish on the top-right of the name */
.mg-title__row { position: relative; display: inline-block; white-space: nowrap; padding-right: .5em; }
.mg-title__name { font-size: clamp(34px, 6.6vw, 100px); }
.mg-title__num { position: absolute; right: -.08em; top: -.42em; margin: 0; font-size: clamp(60px, 9vw, 150px); filter: drop-shadow(0 6px 24px rgba(201, 164, 106, .35)); }
.mg-btn--sm { gap: 0; }
.mg-hero__bloom { opacity: .26; }
@media (max-width: 760px) {
  .mg-title__name { font-size: 8.6vw; }
  .mg-title__num { font-size: 15vw; top: -.36em; }
  .mg-title__row { padding-right: .55em; }
}
.mg-title__row { font-size: clamp(34px, 6.4vw, 96px); padding-right: .72em; }
.mg-title__name { font-size: 1em; }
.mg-title__num { font-size: 1.55em; right: 0; top: -.3em; }
@media (max-width: 760px) {
  .mg-title__row { font-size: 8.4vw; padding-right: .78em; }
  .mg-title__name { font-size: 1em; }
  .mg-title__num { font-size: 1.7em; top: -.32em; }
}
@media (max-width: 760px) {
  .mg-title { margin: 2px 0 22px; }
  .mg-title__the { font-size: 30px; margin-bottom: 2px; }
  .mg-title__row { font-size: 11.4vw; padding-right: .7em; }
  .mg-title__num { font-size: 1.6em; top: -.34em; }
  .mg-status { margin-bottom: 18px; }
  .mg-eyebrow { margin-bottom: 12px; }
}
@media (max-width: 760px) {
  .mg-why__grid { gap: 10px; }
  .mg-why__grid article { display: grid; grid-template-columns: 44px 1fr; column-gap: 8px; text-align: left; padding: 22px 18px; }
  .mg-why__grid article .mg-num { grid-row: span 2; font-size: 28px; margin: -4px 0 0; }
  .mg-why h3 { font-size: 15px; margin-bottom: 6px; }
  .mg-why p { font-size: 16px; line-height: 1.5; }
}

/* ---------- Wordmark (spaced capitals, vertical "THE", gold 2) ---------- */
.wm { display: inline-flex; align-items: center; color: inherit; line-height: 1; white-space: nowrap; }
.wm__the {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: var(--caps); font-size: .26em; letter-spacing: .18em; text-transform: uppercase;
  margin-right: .5em; color: var(--gold-2); line-height: 1;
}
.wm__name { font-family: var(--caps); font-weight: 400; letter-spacing: .32em; text-transform: uppercase; margin-right: -.12em; }
.wm__num { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.5em; margin-left: .2em; color: var(--gold-2); letter-spacing: 0; line-height: .6; }
.mg-brand { font-size: 17px; }
.mg-brand .wm__name { font-size: 1em; }
.mg-brand--light { font-size: 18px; }

/* Hero title in the same wordmark style */
.mg-title__row { display: inline-flex; align-items: center; font-size: clamp(30px, 5.4vw, 80px); padding-right: .8em; }
.mg-title__the {
  display: block; writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: var(--caps); font-style: normal; font-size: .2em !important; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold-2); margin: 0 .55em 0 0 !important; line-height: 1;
}
.mg-title__name { font-size: 1em; letter-spacing: .14em; margin-right: -.14em; }
.mg-title__num { top: -.38em; right: -.04em; font-size: 1.7em; }

/* ---------- WhatsApp ---------- */
.wa-ico { width: 20px; height: 20px; flex: none; }
.mg-btn--wa { background: #25d366; color: #fff; border-color: #25d366; }
.mg-btn--wa:hover { background: #1fb257; border-color: #1fb257; color: #fff; }
.mg-contact__wa { gap: 10px; }
.mg-contact__wa .wa-ico { color: #25d366; width: 22px; height: 22px; }
.mg-dialog__wa {
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; margin-top: 10px;
  border: 1px solid rgba(37, 211, 102, .5); color: #128c4a; text-decoration: none; font-size: 16px;
  transition: background-color .3s var(--ease);
}
.mg-dialog__wa:hover { background: rgba(37, 211, 102, .08); }
.mg-dialog__wa .wa-ico { color: #25d366; width: 22px; height: 22px; }
.mg-sticky__wa { display: flex !important; align-items: center; justify-content: center; gap: 8px; }
.mg-sticky__wa .wa-ico { color: #25d366; width: 18px; height: 18px; }

.wa-float {
  position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 40;
  display: flex; align-items: center; gap: 12px; text-decoration: none;
  opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease), bottom .5s var(--ease);
}
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa-float__btn {
  position: relative; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 10px 30px rgba(37, 211, 102, .35), 0 4px 12px rgba(0, 0, 0, .25);
  transition: transform .4s var(--ease);
}
.wa-float__btn svg { width: 32px; height: 32px; }
.wa-float__btn::before, .wa-float__btn::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(37, 211, 102, .6);
  animation: waRing 2.8s var(--ease) infinite;
}
.wa-float__btn::after { animation-delay: 1.4s; }
@keyframes waRing { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }
.wa-float:hover .wa-float__btn { transform: scale(1.06); }
.wa-float__tip {
  padding: 9px 14px; background: var(--paper); color: var(--ink); font-size: 15px; white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18); position: relative;
  opacity: 0; transform: translateX(8px); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.wa-float__tip::after { content: ""; position: absolute; right: -5px; top: 50%; width: 10px; height: 10px; background: var(--paper); transform: translateY(-50%) rotate(45deg); }
.wa-float:hover .wa-float__tip, .wa-float.show-tip .wa-float__tip { opacity: 1; transform: none; }

@media (max-width: 760px) {
  .mg-brand { font-size: 13px; }
  .mg-brand .wm__name { letter-spacing: .24em; }
  .mg-brand--light { font-size: 15px; }
  .mg-title__row { font-size: 7.6vw; padding-right: .82em; }
  .mg-title__name { letter-spacing: .1em; margin-right: -.1em; }
  .mg-title__num { font-size: 1.75em; }
  .wa-float { right: 16px; bottom: calc(84px + env(safe-area-inset-bottom)); }
  .wa-float.is-low { bottom: calc(18px + env(safe-area-inset-bottom)); }
  .wa-float__btn { width: 54px; height: 54px; }
  .wa-float__btn svg { width: 29px; height: 29px; }
  .wa-float__tip { display: none; }
}
@media (max-width: 380px) {
  .mg-brand { font-size: 12px; }
  .mg-brand .wm__name { letter-spacing: .18em; }
}
@media (prefers-reduced-motion: reduce) { .wa-float__btn::before, .wa-float__btn::after { display: none; } }
/* Keep the vertical "THE" readable at small sizes */
.mg-brand .wm__the { font-size: max(.32em, 7px); }
.mg-title__the { font-size: max(.2em, 9px) !important; }
@media (max-width: 760px) {
  .mg-title__row { font-size: 9.2vw; padding-right: .8em; }
  .mg-title__name { letter-spacing: .07em; margin-right: -.07em; }
  .mg-title__the { margin-right: .45em !important; }
  .wa-float.is-typing { opacity: 0; pointer-events: none; }
}

/* Header WhatsApp button (replaces the phone number) */
.mg-header__wa {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px;
  border: 1px solid rgba(37, 211, 102, .55); color: #fff; text-decoration: none;
  font-family: var(--caps); font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  transition: background-color .35s var(--ease), border-color .35s var(--ease);
}
.mg-header__wa .wa-ico { color: #25d366; width: 18px; height: 18px; }
.mg-header__wa:hover { background: #25d366; border-color: #25d366; }
.mg-header__wa:hover .wa-ico { color: #fff; }
.field.is-invalid select { border-color: var(--rose-dark); }

@media (max-width: 760px) {
  .mg-header__wa { width: 42px; padding: 0; justify-content: center; }
  .mg-header__wa span { display: none; }
  /* Bottom bar is now WhatsApp + Register; the floating button steps aside while the bar is showing */
  .mg-sticky { grid-template-columns: 1fr 1.3fr; }
  .wa-float { bottom: calc(18px + env(safe-area-inset-bottom)); }
  .wa-float:not(.is-low) { opacity: 0; pointer-events: none; transform: translateY(20px) scale(.9); }
}

/* Phone number back in the navbar + Call in the phone bottom bar */
.mg-header__phone { display: inline-flex !important; align-items: center; gap: 8px; min-height: 42px; color: #fff; }
.mg-header__phone .ph-ico { width: 17px; height: 17px; color: var(--gold-2); }
.mg-sticky__call { display: flex !important; align-items: center; justify-content: center; gap: 8px; }
.mg-sticky__call .ph-ico { width: 17px; height: 17px; color: var(--gold-2); }
@media (max-width: 760px) {
  .mg-header__phone { width: 40px; justify-content: center; border: 1px solid rgba(201, 164, 106, .5); opacity: 1; }
  .mg-header__phone span { display: none; }
  .mg-header__wa { width: 40px; }
  .mg-header { gap: 8px; }
  .mg-sticky { grid-template-columns: 1fr 1fr 1.25fr; }
  .mg-sticky a + a { border-left: 1px solid var(--line-light); }
}
@media (max-width: 380px) {
  .mg-header__phone, .mg-header__wa { width: 38px; min-height: 38px; }
  .mg-header .mg-btn--sm { min-height: 38px; padding: 0 12px; }
  .mg-sticky a, .mg-sticky button { letter-spacing: .1em; }
}

/* ---------- About & FAQ ---------- */
.mg-about { background: var(--ivory); }
.mg-about__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.mg-about__text .mg-body { margin-bottom: 18px; }
.mg-tags { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mg-tags li { padding: 7px 14px; border: 1px solid rgba(201, 164, 106, .55); font-family: var(--caps); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.mg-faq__item { border-top: 1px solid var(--line); }
.mg-faq__item:last-child { border-bottom: 1px solid var(--line); }
.mg-faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 0; min-height: 56px; }
.mg-faq__item summary::-webkit-details-marker { display: none; }
.mg-faq__item summary h3 { font-family: var(--caps); font-weight: 400; font-size: 16px; letter-spacing: .06em; color: var(--ink); line-height: 1.4; }
.mg-faq__icon { position: relative; width: 14px; height: 14px; flex: none; }
.mg-faq__icon::before, .mg-faq__icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--rose); transition: transform .4s var(--ease); }
.mg-faq__icon::after { transform: rotate(90deg); }
.mg-faq__item[open] .mg-faq__icon::after { transform: rotate(0deg); }
.mg-faq__item summary:hover h3 { color: var(--rose); }
.mg-faq__item p { padding: 0 32px 22px 0; font-size: 17px; line-height: 1.65; }
.mg-faq__item[open] p { animation: faqIn .5s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 980px) { .mg-about__grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .mg-faq__item summary { padding: 18px 0; }
  .mg-faq__item summary h3 { font-size: 15px; }
  .mg-faq__item p { padding-right: 0; font-size: 16px; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.mg-title__row { word-spacing: -.3em; }
.mg-title__row > * { word-spacing: normal; }

/* ---------- OTP step ---------- */
.form-details { display: grid; gap: 14px; }
.enquiry-form.is-otp .form-details { opacity: .55; }
.enquiry-form.is-otp .form-details .consent, .enquiry-form.is-otp .form-details .field--code { pointer-events: none; }
.otp-step { display: grid; gap: 10px; padding: 16px; border: 1px solid rgba(201, 164, 106, .55); background: var(--paper); animation: faqIn .5s var(--ease); }
.otp-step[hidden] { display: none; }
.otp-note { font-size: 15px; line-height: 1.5; }
.otp-note b { color: var(--ink); font-weight: 500; white-space: nowrap; }
.otp-step input[name="otp"] { font-size: 22px; letter-spacing: .4em; }
.otp-link { border: 0; background: none; padding: 6px 0; color: var(--rose); font-size: 15px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; justify-self: start; min-height: 36px; }
.otp-link[disabled] { color: var(--muted); text-decoration: none; cursor: default; }
.form-status:not(.is-error) { color: #1f7a4d; }
.field input:disabled, .field select:disabled { background: var(--stone); color: var(--text); -webkit-text-fill-color: var(--text); opacity: 1; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
