/* "Midnight Sea & Sand": nawayefsouth.com's look since Nov 14, 2026 (George: "update nawayefsouth.com homepage to the
   attached, follow the .md file"; the brief's tokens are kept by name). Loaded after hot.css, and after site.css on the
   host's answer pages, only where an entry has `theme: "midnight"` (hotpage.js), so no other hot page changes. Dark navy
   and sand gold; every text pair keeps AA: #eef3f7 on #0b2238 14.6:1, #ecc883 on #071524 11.5:1, #0b2238 on #e6b65e 8.4:1,
   form text rgba(238,243,247,.72) on the form's navy 8.3:1, #4d5b68 on #eef2f6 6.2:1. */
.theme-midnight {
  /* announce bar */
  --ns-bar: #071524; --ns-bar-ink: #dfe8ef;
  /* header */
  --ns-header-bg: rgba(9, 28, 46, .96); --ns-header-ink: #eef3f7;
  --ns-header-soft: rgba(238, 243, 247, .72); --ns-header-line: rgba(236, 200, 131, .28);
  --ns-iconbtn-line: rgba(238, 243, 247, .28);
  /* brand */
  --ns-mark-bg: linear-gradient(140deg, #f3dcae, #e2b768); --ns-mark-ink: #0b2238; --ns-mark-line: rgba(11, 34, 56, .25);
  --ns-wordmark-sub: #ecc883;
  /* core */
  --ns-navy: #0b2238; --ns-navy-2: #091c2e; --ns-navy-3: #112c46;
  --ns-accent: #ecc883; --ns-accent-hi: #f3dcae; --ns-accent-lo: #e2b768;
  --ns-sea: #bfe0f0;
  /* CTA */
  --ns-cta: linear-gradient(135deg, #f3d697, #e6b65e); --ns-cta-solid: #e6b65e; --ns-cta-ink: #0b2238;
  --ns-cta-glow: 0 12px 26px -12px rgba(230, 182, 94, .9);
  /* hero */
  --ns-hero-overlay: linear-gradient(90deg, rgba(6, 22, 38, .88) 0%, rgba(6, 22, 38, .5) 55%, rgba(6, 22, 38, .2));
  --ns-hero-overlay-mobile: linear-gradient(180deg, rgba(6, 22, 38, .1) 0%, rgba(6, 22, 38, 0) 22%, rgba(6, 22, 38, .55) 42%, rgba(6, 22, 38, .9) 58%, #0b2238 76%);
  --ns-eyebrow: #cfe2ee;
  --ns-hook-bg: rgba(143, 196, 222, .16); --ns-hook-ink: #bfe0f0; --ns-hook-line: rgba(191, 224, 240, .2);
  --ns-tile-bg: rgba(9, 28, 46, .5); --ns-tile-line: rgba(191, 224, 240, .22); --ns-tile-label: #ecc883;
  /* form */
  --ns-form-bg: rgba(9, 28, 46, .8); --ns-form-line: rgba(236, 200, 131, .32);
  --ns-form-ink: #eef3f7; --ns-form-soft: rgba(238, 243, 247, .72);
  --ns-tag-bg: rgba(236, 200, 131, .18); --ns-tag-ink: #f3dcae;
  --ns-input-bg: #f2f6f9; --ns-input-line: transparent; --ns-input-ph: #7d8b97;
  /* the form's own band under the hero on a phone */
  --ns-section-bg: linear-gradient(180deg, #0b2238, #091c2e);
  /* the phone's bottom bar */
  --ns-tab-bg: rgba(7, 21, 36, .94); --ns-tab-line: rgba(236, 200, 131, .28);
  --ns-tab-wa-ink: #fff; --ns-tab-wa-line: rgba(255, 255, 255, .35);

  /* hot.css's own tokens, so every section follows */
  --charcoal: #071524; --charcoal-2: #0b2238;
  --green: #0b2238; --green-soft: #1d3a57; --green-light: #bfe0f0;
  --on-dark: #eef3f7; --on-dark-soft: #a9b8c6;
  --warm-white: #f6f8fa; --off-white: #eef2f6; --sand: #e6ecf1; --sand-deep: #d3dce4;
  --ink: #14212e; --ink-soft: #4d5b68; --ink-faint: #56636f;
  --line: #dde4ea; --line-strong: #c5d0da; --line-dark: rgba(238, 243, 247, .2);
  --glass-dark: rgba(9, 28, 46, .5); --glass-edge: rgba(11, 34, 56, .14);
  --header-h: 62px; --tabbar-h: 66px;
}
@media (min-width: 1024px) { .theme-midnight { --header-h: 72px; } }

/* ── The emblem and the spaced wordmark ── */
.theme-midnight .ns-lock { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.theme-midnight .ns-mark { position: relative; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; font: 800 17px/1 var(--sans); color: var(--ns-mark-ink); background: var(--ns-mark-bg); box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .6); }
.theme-midnight .ns-mark::before { content: ""; position: absolute; inset: 3px; border-radius: 7.5px; border: 1px solid var(--ns-mark-line); }
.theme-midnight .ns-word { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.theme-midnight .ns-word b { font: 700 12.5px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; white-space: nowrap; color: var(--ns-header-ink); }
.theme-midnight .ns-word small { font: 600 7.5px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; white-space: nowrap; color: var(--ns-wordmark-sub); }
@media (max-width: 359px) { .theme-midnight .ns-word b { font-size: 11px; letter-spacing: .18em; } .theme-midnight .ns-word small { letter-spacing: .16em; } }
@media (min-width: 1024px) {
  .theme-midnight .ns-lock { gap: 14px; }
  .theme-midnight .ns-mark { width: 42px; height: 42px; border-radius: 11px; font-size: 19px; box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .5); }
  .theme-midnight .ns-mark::before { inset: 4px; border-radius: 8px; }
  .theme-midnight .ns-word { gap: 6px; }
  .theme-midnight .ns-word b { font-size: 14px; letter-spacing: .32em; }
  .theme-midnight .ns-word small { font-size: 8.5px; letter-spacing: .3em; }
}
/* The hero's larger one; a phone's header already carries the mark. */
.theme-midnight .ns-lock--hero { display: none; }
@media (min-width: 1024px) {
  .theme-midnight .ns-lock--hero { display: inline-flex; gap: 16px; margin-bottom: 22px; justify-self: start; }
  .theme-midnight .ns-lock--hero .ns-mark { width: 54px; height: 54px; border-radius: 13px; font-size: 25px; }
  .theme-midnight .ns-lock--hero .ns-mark::before { border-radius: 10px; }
  .theme-midnight .ns-lock--hero .ns-word { gap: 8px; }
  .theme-midnight .ns-lock--hero .ns-word b { font-size: 20px; color: #fff; }
  .theme-midnight .ns-lock--hero .ns-word small { font-size: 9.5px; }
}

/* ── Top strip ── */
.theme-midnight .announce { background: var(--ns-bar); color: var(--ns-bar-ink); font-size: 11px; }
.theme-midnight .announce__inner { min-height: 34px; }
.theme-midnight .announce__msg { font-weight: 500; min-width: 0; }
.theme-midnight .announce__dot { background: var(--ns-accent); }
.theme-midnight .announce__cta { min-height: 34px; padding: 0; font-size: 11px; color: var(--ns-accent); text-decoration: none; }
.theme-midnight .announce__cta:hover { color: var(--ns-accent-hi); }
.theme-midnight .announce :focus-visible { outline-color: var(--ns-accent); }
@media (min-width: 760px) {
  .theme-midnight .announce, .theme-midnight .announce__cta { font-size: 12px; }
  .theme-midnight .announce__inner, .theme-midnight .announce__cta { min-height: 40px; }
}

/* ── Header ── */
.theme-midnight .nav { background: var(--ns-header-bg); border-bottom: 1px solid var(--ns-header-line); color: var(--ns-header-ink); }
.theme-midnight .nav__inner { gap: 14px; }
.theme-midnight .nav__brand { padding: 0; margin-right: auto; }
.theme-midnight .nav :focus-visible { outline-color: var(--ns-accent); }
.theme-midnight .nav__links, .theme-midnight .site-page .nav__links { display: none; gap: 22px; }
.theme-midnight .nav__links a { color: var(--ns-header-soft); }
.theme-midnight .nav__links a:hover { color: var(--ns-header-ink); }
.theme-midnight .icon-btn { display: inline-flex; width: 38px; height: 38px; border-color: var(--ns-iconbtn-line); color: var(--ns-header-ink); }
.theme-midnight .icon-btn:hover { border-color: var(--ns-header-ink); }
.theme-midnight .nav .btn--sm { min-height: 46px; padding: 0 22px; white-space: nowrap; }
/* A phone's header is the mark, the call button and the menu; WhatsApp and Register are in the bar at the bottom. */
@media (max-width: 767px) {
  .theme-midnight .nav__cta > .btn, .theme-midnight .site-page .nav__cta .btn,
  .theme-midnight .nav__cta > [data-cta="whatsapp"], .theme-midnight .nav__cta > [data-hb-action="whatsapp-header"] { display: none; }
}
@media (min-width: 1024px) { .theme-midnight .icon-btn { width: 42px; height: 42px; } }
@media (min-width: 1240px) {
  .theme-midnight .nav__links, .theme-midnight .site-page .nav__links { display: flex; margin-inline: auto; }
  .theme-midnight .nav__brand { margin-right: 0; }
  .theme-midnight .nav__menu { display: none; }
}
.theme-midnight .nav__menu { position: relative; }
.theme-midnight .nav__menu > summary { list-style: none; }
.theme-midnight .nav__menu > summary::-webkit-details-marker { display: none; }
.theme-midnight .nav__menu[open] > summary { border-color: var(--ns-accent); color: var(--ns-accent); }
.theme-midnight .nav__drop { position: absolute; right: 0; top: calc(100% + 12px); z-index: 60; display: grid; min-width: 230px; padding: 8px; background: var(--ns-navy-2); border: 1px solid var(--ns-header-line); border-radius: 16px; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .7); }
.theme-midnight .nav__drop a { padding: 12px 14px; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: var(--ns-header-ink); text-decoration: none; }
.theme-midnight .nav__drop a:hover { background: rgba(255, 255, 255, .07); }

/* ── Buttons: the sand-gold register button everywhere; WhatsApp an outline where it sits beside it ── */
.theme-midnight :is(.btn--primary, .btn--on-dark, .tabbar__btn--primary) { background: var(--ns-cta); background-origin: border-box; border-color: transparent; color: var(--ns-cta-ink); font-weight: 500; box-shadow: var(--ns-cta-glow); }
.theme-midnight :is(.btn--primary, .btn--on-dark):hover { background: var(--ns-cta); background-origin: border-box; border-color: transparent; filter: brightness(1.06); }
.theme-midnight :is(.btn--primary, .btn--on-dark) .spinner { border-color: rgba(11, 34, 56, .3); border-top-color: var(--ns-cta-ink); }
.theme-midnight :is(.btn--primary, .btn--on-dark, .tabbar__btn--primary):focus-visible { outline-color: var(--ns-accent-hi); outline-offset: 3px; }
.theme-midnight :is(.section:not(.dark), .gate) .btn--primary:focus-visible { outline-color: var(--ns-navy); }
.theme-midnight :is(.hero__ctas, .final__alt, .deskbar__cta, .ans__btns) .btn--wa { background: transparent; border-color: rgba(255, 255, 255, .55); color: #fff; }
.theme-midnight :is(.hero__ctas, .final__alt, .deskbar__cta, .ans__btns) .btn--wa:hover { background: rgba(255, 255, 255, .08); border-color: #fff; }
.theme-midnight :is(.hero__ctas, .final__alt, .deskbar__cta, .ans__btns) .btn--wa svg { color: #25d366; }

/* ── Hero ── */
.theme-midnight .hero { background: var(--ns-navy); color: var(--ns-header-ink); }
.theme-midnight .hero__scrim { background: var(--ns-hero-overlay); }
.theme-midnight .hero__grid { padding-top: clamp(40px, 6vw, 84px); align-items: center; }
.theme-midnight .hero__eyebrow { font-size: 11px; letter-spacing: .2em; color: var(--ns-eyebrow); }
.theme-midnight .hero__eyebrow-in > span::before { color: var(--ns-accent); opacity: 1; }
.theme-midnight .hero h1 { max-width: none; font-size: clamp(40px, 5vw, 62px); line-height: .98; letter-spacing: -.04em; color: #fff; }
.theme-midnight .ns-accent { color: var(--ns-accent); }
.theme-midnight .hero__sub { font-size: clamp(16px, 1.5vw, 19px); font-weight: 400; color: rgba(255, 255, 255, .88); }
.theme-midnight .hero__hook { justify-self: start; margin-top: 16px; padding: 9px 14px; border-radius: 999px; background: var(--ns-hook-bg); border: 1px solid var(--ns-hook-line); color: var(--ns-hook-ink); font-size: 14px; font-weight: 500; line-height: 1.3; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
@media (max-width: 599px) { .theme-midnight .hero__hook { border-radius: 16px; font-size: 13px; } }
.theme-midnight .hero__facts.glass-dark { container-type: inline-size; max-width: 660px; background: var(--ns-tile-bg); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--ns-tile-line); border-radius: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.theme-midnight .hero__fact { padding: 14px 16px; border-right: 1px solid var(--ns-tile-line); border-bottom: 1px solid var(--ns-tile-line); }
.theme-midnight .hero__fact:nth-child(2n) { border-right: 0; }
.theme-midnight .hero__fact:nth-child(n + 3) { border-bottom: 0; }
.theme-midnight .hero__facts .hero__fact-value { font-size: min(21px, calc((50cqi - 34px) / 5.8)); font-weight: 500; color: #fff; }
.theme-midnight .hero__facts .hero__fact-label { font-size: 9.5px; font-weight: 500; letter-spacing: .14em; color: var(--ns-tile-label); }
@media (min-width: 1024px) {
  .theme-midnight .hero__facts.glass-dark { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .theme-midnight .hero__fact, .theme-midnight .hero__fact:nth-child(2n) { border-bottom: 0; border-right: 1px solid var(--ns-tile-line); }
  .theme-midnight .hero__fact:last-child { border-right: 0; }
  .theme-midnight .hero__facts .hero__fact-value { font-size: min(21px, calc((25cqi - 34px) / 5.8)); }
  .theme-midnight .hero__facts .hero__fact-label { font-size: min(9.5px, calc((25cqi - 34px) / 8.2)); }
}
.theme-midnight .hero__blurb { color: rgba(238, 243, 247, .82); }
.theme-midnight .hero__ctas .btn { min-height: 54px; }
.theme-midnight .ns-trust { display: none; list-style: none; margin: 14px 0 0; padding: 0; flex-wrap: wrap; gap: 6px 16px; font-size: 11.5px; font-weight: 500; color: rgba(238, 243, 247, .82); }
.theme-midnight .ns-trust li { display: flex; align-items: center; gap: 5px; }
.theme-midnight .ns-trust svg { width: 12px; height: 12px; color: var(--ns-accent); }
/* Below 1024 px the render is the top of the hero, clear at its head and fading into the navy behind the words, and the
   form has a band of its own after them. */
@media (max-width: 1023px) {
  .theme-midnight .hero__bg { position: absolute; inset: 0 0 auto; z-index: -2; height: 600px; min-height: 0; max-height: none; }
  .theme-midnight .hero__bg::after { display: none; }
  /* The render is taller than its box and raised, so the horizon sits near the top and the villas fill the rest. */
  .theme-midnight .hero__bg picture { display: block; width: 100%; height: 100%; }
  .theme-midnight .hero__img { width: 100%; height: 800px; margin-top: -200px; object-fit: cover; object-position: 50% 50%; }
  .theme-midnight .hero__eyebrow { font-size: 9.5px; letter-spacing: .15em; margin-bottom: 12px; }
  .theme-midnight .hero__eyebrow-in { margin-left: -21px; }
  .theme-midnight .hero__eyebrow-in > span::before { width: 21px; }
  .theme-midnight .hero__scrim { display: block; inset: 0 0 auto; height: 601px; background: var(--ns-hero-overlay-mobile); }
  .theme-midnight .hero__grid { padding-top: 250px; padding-bottom: 0; gap: 28px; }
  .theme-midnight .hero h1 { font-size: 40px; }
  .theme-midnight .ns-trust { display: flex; }
  .theme-midnight .hero__panel { margin-inline: calc(var(--gutter) * -1); padding: 28px var(--gutter) 34px; background: var(--ns-section-bg); }
}
@media (min-width: 600px) and (max-width: 1023px) { .theme-midnight .hero__panel > * { width: 100%; max-width: 560px; margin-inline: auto; } }

/* ── The two forms: one dark card ── */
.theme-midnight .form--dark.glass-dark { padding: 26px 24px; border-radius: 22px; background: var(--ns-form-bg); border: 1px solid var(--ns-form-line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); color: var(--ns-form-ink); }
@media (min-width: 1024px) { .theme-midnight .form--dark.glass-dark { border-radius: 24px; } }
.theme-midnight .ns-tag { justify-self: start; margin-bottom: 4px; padding: 6px 10px; border-radius: 999px; background: var(--ns-tag-bg); color: var(--ns-tag-ink); font: 800 9.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.theme-midnight .form--dark .form__title, .theme-midnight .form--dark .field label { color: var(--ns-form-ink); }
.theme-midnight .form--dark :is(.form__sub, .form-perks, .privacy, .small), .theme-midnight .form--dark .field .opt,
.theme-midnight .final .form--dark :is(.small, .privacy, .opt), .theme-midnight .final .form--dark .field .opt { color: var(--ns-form-soft); }
.theme-midnight .form--dark .privacy a, .theme-midnight .final .form--dark .privacy a { color: var(--ns-form-ink); }
.theme-midnight .form--dark .field input, .theme-midnight .form--dark .phone-row select { min-height: 48px; border-radius: 12px; background-color: var(--ns-input-bg); border-color: var(--ns-input-line); color: #14212e; }
.theme-midnight .form--dark .field input::placeholder { color: var(--ns-input-ph); }
.theme-midnight .form--dark .field input:focus-visible, .theme-midnight .form--dark .phone-row select:focus-visible { outline: 2px solid var(--ns-accent); outline-offset: 2px; border-color: transparent; }
.theme-midnight .form--dark :focus-visible, .theme-midnight .final .form--dark :focus-visible { outline-color: var(--ns-accent); }
.theme-midnight .form--dark .form-perks svg, .theme-midnight .form--dark .villa-tag svg { color: var(--ns-wordmark-sub); }
.theme-midnight .form--dark .err, .theme-midnight .final .form--dark .err { color: #ffb4a6; }
.theme-midnight .form--dark .field-hint { color: var(--ns-sea); }
.theme-midnight .form--dark .form-fail { background: rgba(255, 180, 166, .1); border-color: rgba(255, 180, 166, .4); }
.theme-midnight .form--dark .btn--ghost { border-color: rgba(255, 255, 255, .4); color: #fff; }
.theme-midnight .done-ic { background: var(--ns-mark-bg); color: var(--ns-mark-ink); }
/* The advisor under the hero's form, on a phone. */
.theme-midnight .ns-adv { display: none; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--ns-tile-line); border-radius: 16px; background: rgba(9, 28, 46, .5); color: var(--ns-form-ink); }
.theme-midnight .ns-adv__pic { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--ns-mark-bg); color: var(--ns-mark-ink); }
.theme-midnight .ns-adv__pic svg { width: 22px; height: 22px; }
.theme-midnight .ns-adv p { display: grid; gap: 3px; }
.theme-midnight .ns-adv b { font-size: 14.5px; font-weight: 500; }
.theme-midnight .ns-adv p span { font-size: 12px; color: var(--ns-form-soft); }
@media (max-width: 1023px) { .theme-midnight .ns-adv { display: flex; } }

/* ── The phone's bottom bar: WhatsApp and Register ── */
.theme-midnight .tabbar { grid-template-columns: 1fr 1.6fr; gap: 8px; padding: 10px 12px calc(10px + var(--safe-b)); background: var(--ns-tab-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--ns-tab-line); }
.theme-midnight .tabbar__btn { flex-direction: row; gap: 8px; min-height: 46px; padding: 0 12px; border-radius: 999px; font-size: 13.5px; font-weight: 500; }
.theme-midnight .tabbar__btn--wa { border: 1px solid var(--ns-tab-wa-line); color: var(--ns-tab-wa-ink); }
.theme-midnight .tabbar__btn--wa svg { width: 18px; height: 18px; color: #25d366; }
.theme-midnight .tabbar__btn--primary:focus-visible { outline-offset: 2px; }
.theme-midnight .tabbar :focus-visible { outline-color: var(--ns-accent-hi); }

/* ── The rest of the page: what hot.css colors by hand ── */
.theme-midnight .deskbar { background: var(--ns-tab-bg); border-top: 1px solid var(--ns-tab-line); }
.theme-midnight .card:hover, .theme-midnight .villa:hover { border-color: rgba(11, 34, 56, .28); }
.theme-midnight .ambient::before { background: radial-gradient(circle, rgba(143, 196, 222, .3), rgba(143, 196, 222, 0) 62%); }
.theme-midnight .ambient::after { background: radial-gradient(circle, rgba(236, 200, 131, .26), rgba(236, 200, 131, 0) 62%); }
.theme-midnight .avatar { background: var(--ns-mark-bg); color: var(--ns-mark-ink); }
.theme-midnight .final::before { background: linear-gradient(90deg, rgba(6, 22, 38, .9), rgba(6, 22, 38, .5)); }
@media (max-width: 959px) { .theme-midnight .final::before { background: rgba(6, 22, 38, .8); } }
.theme-midnight .gate { background: var(--glass-shine), rgba(246, 248, 250, .94); }
.theme-midnight .gate-backdrop { background: rgba(4, 14, 24, .62); }
.theme-midnight .fp-ask { background: rgba(7, 21, 36, .84); }
.theme-midnight .phase--open { background: linear-gradient(140deg, #1d3a57, #0b2238 55%, #071524); box-shadow: 0 18px 40px -18px rgba(11, 34, 56, .7); }
.theme-midnight .phase--open span { color: var(--ns-sea); }
.theme-midnight .amen__img::after { background: linear-gradient(transparent, rgba(7, 21, 36, .3)); }
.theme-midnight .footer { border-top-color: var(--ns-header-line); }
.theme-midnight .viewer { --accent: #ecc883; --gold: #ecc883; --line: rgba(238, 243, 247, .14); --muted: #a9b8c6; --bg: #071524; --text: #eef3f7; --ink: #eef3f7; }
/* The host's answer pages (site.css). */
.theme-midnight .ans__body > p:first-child { border-left-color: var(--ns-cta-solid); }
.theme-midnight .ans-card:hover { border-color: var(--ns-accent-lo); }
.theme-midnight .ans__body a { color: #1d4f7a; }
.theme-midnight .ans__body a:hover { color: var(--ns-navy); }

/* ── Nov 14, 2026 (George approved the mockups: "Yes, build all") ── */
/* Highlights: white cards with a gold top line and an icon; the first three glow. */
.theme-midnight #highlights .card { position: relative; padding: 20px; background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--ns-cta-solid); border-radius: 0; box-shadow: none; }
.theme-midnight #highlights .card:hover { border-color: var(--line-strong); border-top-color: var(--ns-cta-solid); }
.theme-midnight #highlights .card .card__num { position: absolute; top: 24px; right: 20px; margin: 0; color: #8a6420; }
.theme-midnight .ns-ic { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 14px; border-radius: 50%; background: #f7efdd; color: #8a6420; }
.theme-midnight .ns-ic svg { width: 19px; height: 19px; }
.theme-midnight #highlights .card:nth-child(-n + 3) { border-color: rgba(230, 182, 94, .55); border-top-color: var(--ns-cta-solid); box-shadow: 0 0 0 4px rgba(236, 200, 131, .16), 0 14px 32px -14px rgba(230, 182, 94, .6); }
.theme-midnight #highlights .card:nth-child(-n + 3) .ns-ic { background: var(--ns-accent); color: var(--ns-navy); }

/* Payment plan: one bar, the stages under it, the amounts on a price picked above them. */
.theme-midnight .ns-pay { max-width: 920px; }
.theme-midnight .ns-pay__bar { display: flex; height: 54px; border-radius: 12px; overflow: hidden; font-size: 15px; font-weight: 500; }
.theme-midnight .ns-pay__bar span { display: grid; place-items: center; min-width: 44px; }
.theme-midnight .ns-pay__bar .s0 { background: var(--ns-cta); color: var(--ns-navy); }
.theme-midnight .ns-pay__bar .s1 { background: #1d3a57; color: #eef3f7; }
.theme-midnight .ns-pay__bar .s2 { background: var(--ns-navy); color: #eef3f7; }
.theme-midnight .ns-pay__stages { display: flex; list-style: none; margin: 10px 0 0; padding: 0; font-size: 13px; color: var(--ink-soft); }
.theme-midnight .ns-pay__stages li { min-width: 44px; padding-right: 8px; }
.theme-midnight .ns-pay__stages b { display: none; }
.theme-midnight .ns-pay__pick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 28px 0 12px; font-size: 14px; color: var(--ink-soft); }
.theme-midnight .ns-pay__pick span { margin-right: 6px; }
.theme-midnight .ns-pay__pick label { padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--ink); cursor: pointer; }
.theme-midnight #ns-pay-0:checked ~ .ns-pay__pick label[for="ns-pay-0"], .theme-midnight #ns-pay-1:checked ~ .ns-pay__pick label[for="ns-pay-1"] { background: var(--ns-navy); border-color: var(--ns-navy); color: #fff; }
.theme-midnight #ns-pay-0:focus-visible ~ .ns-pay__pick label[for="ns-pay-0"], .theme-midnight #ns-pay-1:focus-visible ~ .ns-pay__pick label[for="ns-pay-1"] { outline: 2px solid var(--ns-navy); outline-offset: 3px; }
.theme-midnight .ns-pay__sum { display: none; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0 0 14px; }
.theme-midnight .ns-pay__sum.s0, .theme-midnight #ns-pay-1:checked ~ .ns-pay__sums .s1 { display: grid; }
.theme-midnight #ns-pay-1:checked ~ .ns-pay__sums .s0 { display: none; }
.theme-midnight .ns-pay__sum div { padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.theme-midnight .ns-pay__sum dt { font-size: 12px; color: var(--ink-soft); }
.theme-midnight .ns-pay__sum dd { margin: 4px 0 0; font-size: 18px; font-weight: 500; letter-spacing: -.02em; color: var(--ink); }
@media (max-width: 699px) {
  .theme-midnight .ns-pay__sum { grid-template-columns: 1fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
  .theme-midnight .ns-pay__sum div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 14px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; }
  .theme-midnight .ns-pay__sum div:last-child { border-bottom: 0; }
  .theme-midnight .ns-pay__sum dt { font-size: 13px; }
  .theme-midnight .ns-pay__sum dd { margin: 0; font-size: 16px; white-space: nowrap; }
  .theme-midnight .ns-pay__stages { display: grid; gap: 6px; }
  .theme-midnight .ns-pay__stages li { flex: none !important; }
  .theme-midnight .ns-pay__stages b { display: inline; color: var(--ink); }
}

/* Location: our own map of Abu Dhabi on navy; names and times on the map from 768 px, a numbered list below it on a phone. */
.theme-midnight #location { background: var(--ns-navy); color: var(--ns-header-ink); }
.theme-midnight #location h2 { color: #fff; }
.theme-midnight #location .eyebrow, .theme-midnight #location .lede, .theme-midnight #location .small { color: var(--on-dark-soft); }
.theme-midnight #location .eyebrow__num { color: var(--ns-accent); }
.theme-midnight .ns-map { max-width: 920px; }
.theme-midnight .ns-map__tabs { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 14px; border: 1px solid rgba(238, 243, 247, .2); border-radius: 999px; }
.theme-midnight .ns-map__tabs label { padding: 8px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--on-dark-soft); cursor: pointer; }
.theme-midnight #ns-map-0:checked ~ .ns-map__tabs label[for="ns-map-0"], .theme-midnight #ns-map-1:checked ~ .ns-map__tabs label[for="ns-map-1"] { background: var(--ns-accent); color: var(--ns-navy); }
.theme-midnight #ns-map-0:focus-visible ~ .ns-map__tabs label[for="ns-map-0"], .theme-midnight #ns-map-1:focus-visible ~ .ns-map__tabs label[for="ns-map-1"] { outline: 2px solid var(--ns-accent); outline-offset: 3px; }
.theme-midnight .ns-map__frame { border: 1px solid rgba(236, 200, 131, .22); border-radius: 16px; overflow: hidden; }
.theme-midnight .ns-map__frame svg { display: block; width: 100%; height: auto; font-family: var(--sans); }
.theme-midnight .ns-map .m-sea { fill: #081a2b; }
.theme-midnight .ns-map .m-wave path { stroke: #bfe0f0; stroke-opacity: .05; }
.theme-midnight .ns-map .m-main { fill: #112a42; stroke: #1d3a57; }
.theme-midnight .ns-map .m-land { fill: #14324f; stroke: #244767; }
.theme-midnight .ns-map .m-isle { fill: #183a5b; stroke: rgba(236, 200, 131, .45); }
.theme-midnight .ns-map .m-bridge { stroke: #a9b8c6; stroke-opacity: .6; stroke-width: 2; }
.theme-midnight .ns-map .m-area { font-size: 11px; letter-spacing: 3px; fill: #5f7a92; }
.theme-midnight .ns-map .m-area--isle { font-size: 10px; letter-spacing: 2px; fill: #c9a96a; }
.theme-midnight .ns-map .m-set { display: none; }
.theme-midnight .ns-map .m-set.s0, .theme-midnight #ns-map-1:checked ~ .ns-map__frame .m-set.s1 { display: inline; }
.theme-midnight #ns-map-1:checked ~ .ns-map__frame .m-set.s0 { display: none; }
.theme-midnight .ns-map .m-pin { cursor: pointer; outline: none; transition: opacity .2s; }
.theme-midnight .ns-map .m-route { fill: none; stroke: var(--ns-accent); stroke-width: 1.2; stroke-dasharray: 3 5; stroke-linecap: round; opacity: .55; }
.theme-midnight .ns-map .m-dot { fill: var(--ns-navy); stroke: var(--ns-accent); stroke-width: 1.5; }
.theme-midnight .ns-map .m-num { font-size: 11px; font-weight: 500; text-anchor: middle; fill: var(--ns-accent); }
.theme-midnight .ns-map .m-label rect, .theme-midnight .ns-map .m-far rect { fill: rgba(9, 28, 46, .94); stroke: var(--ns-accent); stroke-opacity: .45; }
.theme-midnight .ns-map .m-name { font-size: 11px; fill: #c9d6e2; }
.theme-midnight .ns-map .m-time { font-size: 12px; font-weight: 500; fill: #fff; }
.theme-midnight .ns-map .m-far .m-name { fill: var(--ns-accent); }
.theme-midnight .ns-map .m-home-halo { fill: var(--ns-accent); opacity: .2; }
.theme-midnight .ns-map .m-home { fill: var(--ns-accent); stroke: var(--ns-navy); stroke-width: 1.5; }
.theme-midnight .ns-map .m-home-tag { fill: var(--ns-accent); }
.theme-midnight .ns-map .m-home-name { font-size: 11px; font-weight: 500; text-anchor: middle; fill: var(--ns-navy); }
.theme-midnight .ns-map .m-set:is(:hover, :focus-within) .m-pin:not(:hover, :focus) { opacity: .3; }
.theme-midnight .ns-map .m-pin:is(:hover, :focus) .m-route { opacity: 1; stroke-width: 2.2; }
.theme-midnight .ns-map .m-pin:is(:hover, :focus) :is(.m-dot, .m-label rect) { fill: var(--ns-accent); stroke-opacity: 1; }
.theme-midnight .ns-map .m-pin:is(:hover, :focus) :is(.m-num, .m-name, .m-time) { fill: var(--ns-navy); }
.theme-midnight .ns-map__list, .theme-midnight .ns-map__note { display: none; }
.theme-midnight .ns-map__note.s0, .theme-midnight #ns-map-1:checked ~ .ns-map__note.s1 { display: block; }
.theme-midnight #ns-map-1:checked ~ .ns-map__note.s0 { display: none; }
.theme-midnight .ns-map__note { margin-top: 12px; }
/* A phone: the map shows pins and numbers only; the names and times are the list under it. */
@media (max-width: 767px) {
  .theme-midnight .ns-map .m-label, .theme-midnight .ns-map .m-far { display: none; }
  .theme-midnight .ns-map__list { counter-reset: nsm; list-style: none; margin: 12px 0 0; padding: 0; }
  .theme-midnight .ns-map__list.s0, .theme-midnight #ns-map-1:checked ~ .ns-map__list.s1 { display: block; }
  .theme-midnight #ns-map-1:checked ~ .ns-map__list.s0 { display: none; }
  .theme-midnight .ns-map__list li { display: flex; align-items: center; gap: 10px; padding: 10px 2px; border-bottom: 1px solid rgba(191, 224, 240, .12); font-size: 14px; color: #dfe8ef; }
  .theme-midnight .ns-map__list li:not(.far)::before { counter-increment: nsm; content: counter(nsm); display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: rgba(236, 200, 131, .16); color: var(--ns-accent); font-size: 12px; font-weight: 500; }
  .theme-midnight .ns-map__list li.far { padding-left: 36px; }
  .theme-midnight .ns-map__list a { color: inherit; }
  .theme-midnight .ns-map__list b { margin-left: auto; font-size: 15px; color: #fff; white-space: nowrap; }
}

/* The Homes.me logo beside the emblem (hotpage.js homesLogo) on /hot/nawayef-south: a gold-tinted rule, and on a phone
   the emblem alone before it. */
.theme-midnight .nav .nav__lead > .nav__brand { margin-right: 0; }
.theme-midnight .hm-rule { background: var(--ns-header-line); }
@media (max-width: 767px) { .theme-midnight .nav .nav__lead .ns-word { display: none; } }
@media (min-width: 1240px) { .theme-midnight .nav__lead { margin-right: 0; } }
