/* =============================================
   JMS VIP Services — Stylesheet
   jmsvip.com

   Black and gold from the logo, on warm ivory. The logo is fine gold
   line-work, so it only ever sits on the dark surfaces: the header, the
   hero, the member pages and the footer.
   ============================================= */

:root {
  /* Brand */
  --gold: #C9A96E;           /* on dark surfaces, and decorative rules */
  --gold-light: #E3CD9E;
  --gold-deep: #8A6A35;      /* gold text on light surfaces: readable at body size */

  /* Surfaces */
  --black: #0B0B0A;
  --off-black: #141412;
  --charcoal: #1D1D1A;
  --ivory: #FBF8F2;
  --paper: #F4EFE6;
  --stone: #E4DCCD;

  /* Text */
  --ink: #1A1916;
  --muted: #625E56;
  --on-dark: #EDE7DC;
  --on-dark-muted: #A7A196;

  /* Names the member pages still use inline */
  --smoke: #A7A196;
  --mid: #2E2E2B;
  --cream: #F5F0E8;
  --white: #FFFFFF;
  --success: #3F8F68;
  --error: #C0463D;

  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --max: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(84px, 11vw, 150px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans); font-weight: 400; font-size: 16px; line-height: 1.7;
  color: var(--ink); background: var(--ivory);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.skip-link {
  position: absolute; left: 16px; top: -64px; z-index: 1000;
  background: var(--gold); color: var(--black); padding: 10px 16px;
  font-size: 14px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---- Type ---- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-deep);
}
.eyebrow::before { content: ''; width: 36px; height: 1px; background: currentColor; opacity: .7; }
.on-dark .eyebrow { color: var(--gold); }

.h2 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 5vw, 64px);
  line-height: 1.08; letter-spacing: -.01em; margin-top: 18px;
}
.h2 em { font-style: italic; color: var(--gold-deep); }
.on-dark .h2 em { color: var(--gold-light); }

.lede { font-size: clamp(16px, 1.35vw, 18px); color: var(--muted); max-width: 58ch; margin-top: 22px; }
.on-dark .lede { color: var(--on-dark-muted); }

/* ---- Buttons ---- */
.btn, .btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 17px 30px; border: 1px solid transparent; cursor: pointer;
  font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn-gold, .btn-primary { background: var(--gold); color: var(--black); }
.btn-gold:hover, .btn-primary:hover { background: var(--gold-light); }
.btn-outline-light { border-color: rgba(237, 231, 220, .45); color: var(--on-dark); }
.btn-outline-light:hover { border-color: var(--gold); color: var(--gold-light); }
.btn-dark { background: var(--black); color: var(--ivory); }
.btn-dark:hover { background: var(--charcoal); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn .wa-glyph { width: 18px; height: 18px; flex: none; fill: #25D366; margin-left: -4px; }

/* ---- Navigation ---- */
.site-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease), border-color .4s var(--ease);
}
.site-nav .wrap { max-width: 1440px; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 96px; transition: height .4s var(--ease); }
.site-nav.scrolled, .site-nav.solid {
  background: rgba(11, 11, 10, .96); border-color: rgba(201, 169, 110, .18);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
/* No blur while the header is solid, which is exactly when the mobile drawer
   is open. A blurred element becomes the reference box for fixed-position
   children, so the drawer measured itself against the 78px header instead of
   the screen: it came out 0 tall, with the first link above the top edge and
   no panel behind any of them. Solid is opaque, so nothing is lost. */
.site-nav.solid { -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-nav.scrolled .wrap, .site-nav.solid .wrap { height: 78px; }
.nav-brand { display: block; flex: none; }
.nav-brand img { height: 64px; width: auto; transition: height .4s var(--ease); }
.site-nav.scrolled .nav-brand img, .site-nav.solid .nav-brand img { height: 54px; }
.nav-menu { display: flex; align-items: center; gap: clamp(22px, 2.2vw, 38px); list-style: none; }
.nav-menu a {
  position: relative; padding: 8px 0; color: var(--on-dark); text-decoration: none; white-space: nowrap;
  font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
}
.nav-menu a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav-menu a:hover::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 26px; }
.nav-login {
  color: var(--on-dark); text-decoration: none; white-space: nowrap;
  font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
}
.nav-login:hover { color: var(--gold-light); }
.nav-actions .btn { padding: 13px 22px; }
.nav-toggle { display: none; position: relative; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 1px; background: var(--on-dark); transition: transform .3s var(--ease), opacity .3s; }
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed; inset: 78px 0 0 0; flex-direction: column; justify-content: center; gap: 30px;
    background: var(--black); opacity: 0; visibility: hidden;
    transition: opacity .3s var(--ease), visibility .3s;
  }
  .nav-menu.open { opacity: 1; visibility: visible; }
  .nav-menu a { font-size: 15px; }
  .nav-actions .btn { display: none; }
  .site-nav .wrap { height: 78px; }
  .nav-brand img, .site-nav.scrolled .nav-brand img { height: 52px; }
}

/* ---- Hero ---- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
  display: flex; align-items: flex-end; color: var(--on-dark); background: var(--black);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: hero-settle 16s var(--ease) forwards; }
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,11,10,.72) 0%, rgba(11,11,10,.18) 32%, rgba(11,11,10,.35) 58%, rgba(11,11,10,.94) 100%);
}
.hero-inner { position: relative; z-index: 1; width: 100%; padding-top: 170px; padding-bottom: clamp(52px, 9vh, 104px); }
.hero-title {
  font-family: var(--serif); font-weight: 400; font-size: clamp(50px, 8.2vw, 116px);
  line-height: .98; letter-spacing: -.015em; margin-top: 22px; max-width: 11ch;
}
.hero-title em { font-style: italic; color: var(--gold-light); }
.hero-sub { max-width: 48ch; margin-top: 26px; font-size: clamp(16px, 1.45vw, 19px); color: rgba(237, 231, 220, .86); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
/* Three buttons stack on a phone; one width keeps them reading as a set. */
@media (max-width: 560px) { .hero-actions .btn { width: 100%; } }
.hero-areas {
  display: flex; flex-wrap: wrap; gap: 10px 30px; margin-top: 60px; padding-top: 26px;
  border-top: 1px solid rgba(237, 231, 220, .18); list-style: none;
  font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: rgba(237, 231, 220, .72);
}
@keyframes hero-settle { to { transform: scale(1); } }

/* ---- Sections ---- */
.section { padding: var(--section) 0; }
.section-paper { background: var(--paper); }
.section-dark { background: var(--black); color: var(--on-dark); }
.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 24px 64px; margin-bottom: clamp(44px, 6vw, 76px);
}
.section-head .lede { margin-top: 0; }

/* ---- Introduction ---- */
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(48px, 8vw, 120px); align-items: center; }
.split-media { position: relative; margin-bottom: 8%; }
/* height: auto matters more than it looks. The width/height attributes on the
   img are a presentational hint that sets an explicit height, and aspect-ratio
   is ignored unless one dimension is auto — so without this the picture
   rendered 1625px tall, a narrow vertical strip cropped out of a landscape
   photograph and scaled up half again. */
.split-media > img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.split-media .inset {
  position: absolute; right: -9%; bottom: -8%; width: 48%; height: auto; aspect-ratio: 1; object-fit: cover;
  border: 10px solid var(--ivory);
}
.pillars { display: grid; gap: 28px; margin-top: 46px; }
.pillar { display: grid; grid-template-columns: 58px 1fr; gap: 20px; padding-top: 26px; border-top: 1px solid var(--stone); }
.pillar-num { font-family: var(--serif); font-size: 32px; line-height: 1; color: var(--gold-deep); }
.pillar h3 { font-family: var(--serif); font-weight: 500; font-size: 27px; line-height: 1.2; }
.pillar p { margin-top: 6px; font-size: 15.5px; color: var(--muted); }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split-media .inset { right: 5%; }
}

/* ---- Areas ---- */
.areas { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.area {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end; min-height: 380px;
  grid-column: span 4; background: var(--charcoal); color: var(--on-dark);
}
.area:nth-child(1) { grid-column: span 7; min-height: 540px; }
.area:nth-child(2) { grid-column: span 5; min-height: 540px; }
.area:nth-child(6), .area:nth-child(7) { grid-column: span 6; min-height: 420px; }
.area img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.area::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11,11,10,0) 18%, rgba(11,11,10,.5) 52%, rgba(11,11,10,.93) 100%);
}
.area:hover img { transform: scale(1.05); }
.area-body { padding: 30px 32px; }
.area-code { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-light); text-shadow: 0 1px 10px rgba(11, 11, 10, .8); }
.area h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3vw, 46px); line-height: 1.05; margin-top: 8px; text-shadow: 0 2px 14px rgba(11, 11, 10, .7); }
.area p { max-width: 40ch; margin-top: 10px; font-size: 14.5px; color: rgba(237, 231, 220, .92); text-shadow: 0 1px 10px rgba(11, 11, 10, .8); }
@media (max-width: 900px) {
  .areas { grid-template-columns: 1fr 1fr; }
  .area:nth-child(n) { grid-column: span 1; min-height: 320px; }
  .area:nth-child(1) { grid-column: span 2; min-height: 400px; }
}
@media (max-width: 560px) {
  .areas { grid-template-columns: 1fr; }
  .area:nth-child(n) { grid-column: span 1; min-height: 320px; }
}

/* ---- Interiors ---- */
.interiors { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.interior { position: relative; overflow: hidden; margin: 0; }
.interior img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.interior:hover img { transform: scale(1.04); }
.interior:nth-child(1) { grid-row: span 2; min-height: 620px; }
.interior:nth-child(2), .interior:nth-child(3), .interior:nth-child(4), .interior:nth-child(5) { aspect-ratio: 4 / 3; }
.interior figcaption {
  position: absolute; left: 0; bottom: 0; padding: 14px 18px;
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--on-dark);
  background: linear-gradient(90deg, rgba(11,11,10,.7), rgba(11,11,10,0));
}
@media (max-width: 900px) {
  .interiors { grid-template-columns: 1fr 1fr; }
  .interior:nth-child(1) { grid-column: span 2; grid-row: auto; min-height: 380px; }
}
@media (max-width: 560px) {
  .interiors { grid-template-columns: 1fr; }
  .interior:nth-child(1) { grid-column: auto; }
}

/* ---- How it works ---- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--stone); }
.step { padding: 40px 40px 0 0; }
.step + .step { padding-left: 40px; border-left: 1px solid var(--stone); }
.step-num { font-family: var(--serif); font-size: 15px; letter-spacing: .2em; color: var(--gold-deep); }
.step h3 { font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.15; margin-top: 14px; }
.step p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 30px 0; border-left: 0; }
  .step + .step { border-top: 1px solid var(--stone); }
}

/* ---- Enquire ---- */
.enquire { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(44px, 7vw, 104px); align-items: start; }
.contact-list { display: grid; gap: 22px; margin-top: 46px; list-style: none; }
.contact-list li { display: grid; gap: 4px; padding-bottom: 22px; border-bottom: 1px solid rgba(237, 231, 220, .14); }
.contact-list .label { font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.contact-list .value { font-family: var(--serif); font-size: 25px; line-height: 1.3; color: var(--on-dark); text-decoration: none; }
.contact-list a.value:hover { color: var(--gold-light); }

.form-card { background: var(--ivory); color: var(--ink); padding: clamp(28px, 4vw, 54px); }
.form-tabs { display: flex; gap: 34px; margin-bottom: 34px; border-bottom: 1px solid var(--stone); }
.form-tab {
  margin-bottom: -1px; padding: 0 0 14px; background: none; border: 0; border-bottom: 2px solid transparent; cursor: pointer;
  font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.form-tab[aria-selected="true"] { color: var(--ink); border-color: var(--gold); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.field { display: grid; gap: 8px; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.field label .opt { font-weight: 400; letter-spacing: .04em; text-transform: none; color: #8C877E; }
.field input, .field select, .field textarea {
  width: 100%; padding: 10px 0 12px; border: 0; border-bottom: 1px solid #CFC6B6; border-radius: 0;
  background: transparent; font-size: 16px; color: var(--ink); -webkit-appearance: none; appearance: none;
  transition: border-color .25s var(--ease);
}
.field select {
  padding-right: 26px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%238A6A35' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center;
}
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-deep); }
.field input::placeholder, .field textarea::placeholder { color: #A39D92; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; margin-top: 34px; }
.form-note { max-width: 40ch; font-size: 13px; color: var(--muted); }
.form-message { margin-top: 18px; font-size: 14.5px; }
.form-message:empty { display: none; }
.form-message.success { color: var(--success); }
.form-message.error { color: var(--error); }
@media (max-width: 960px) { .enquire { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } .form-tabs { gap: 22px; } }

/* ---- Member band & footer ---- */
.member-band { background: var(--off-black); color: var(--on-dark); border-top: 1px solid rgba(201, 169, 110, .16); }
.member-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 30px; padding-top: 32px; padding-bottom: 32px; }
.member-band p { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.3; }

.site-footer { background: var(--black); color: var(--on-dark-muted); padding: 76px 0 40px; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 44px; padding-bottom: 52px; border-bottom: 1px solid rgba(237, 231, 220, .1); }
.footer-brand img { height: 128px; width: auto; margin-left: -12px; }
.footer-brand p { max-width: 36ch; margin-top: 14px; font-size: 14.5px; }
.footer-col h4 { margin-bottom: 18px; font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.footer-col ul { display: grid; gap: 11px; list-style: none; font-size: 14.5px; }
.footer-col a { color: var(--on-dark); text-decoration: none; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 28px; font-size: 13px; }
.footer-bottom a { color: var(--on-dark-muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold-light); }
@media (max-width: 1100px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 820px) { .footer-top { grid-template-columns: 1fr; } }

/* ---- Legal pages ---- */
.page-hero { background: var(--black); color: var(--on-dark); padding: 190px 0 84px; }
.page-hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(46px, 6vw, 78px); line-height: 1.04; margin-top: 18px; }
.page-hero p { margin-top: 16px; color: var(--on-dark-muted); }
.prose { max-width: 760px; }
.prose h2 { font-family: var(--serif); font-weight: 500; font-size: 31px; line-height: 1.2; margin: 52px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); }
.prose p + p { margin-top: 14px; }
.prose ul { display: grid; gap: 8px; margin-top: 14px; padding-left: 20px; }
.prose a { color: var(--gold-deep); }

/* ---- Reveal on scroll (only once scripts have run, so nothing is hidden without them) ---- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---- Install banner ---- */
.pwa-banner {
  position: fixed; left: 50%; bottom: 20px; z-index: 150; transform: translateX(-50%);
  display: flex; align-items: center; gap: 14px; width: max-content; max-width: calc(100% - 32px);
  padding: 10px 10px 10px 20px; background: var(--off-black); color: var(--on-dark);
  border: 1px solid rgba(201, 169, 110, .3); box-shadow: 0 20px 50px rgba(0, 0, 0, .35); font-size: 13.5px;
}
.pwa-banner .btn { padding: 10px 16px; }
.pwa-banner .pwa-close { width: 36px; height: 36px; background: none; border: 0; color: var(--on-dark-muted); cursor: pointer; font-size: 18px; }

/* ---- Member pages: sign in, register ---- */
.auth-page {
  min-height: 100vh; display: grid; place-items: center; padding: 48px 20px;
  background: radial-gradient(ellipse at top, #1C1A15 0%, var(--black) 62%); color: var(--on-dark);
}
.auth-card { width: 100%; max-width: 440px; padding: clamp(32px, 5vw, 52px); background: var(--off-black); border: 1px solid rgba(201, 169, 110, .18); }
.auth-logo { display: flex; justify-content: center; margin-bottom: 18px; }
.auth-logo img { height: 118px; width: auto; }
.auth-title { font-family: var(--serif); font-weight: 400; font-size: 42px; line-height: 1.1; text-align: center; }
.auth-title em { font-style: italic; color: var(--gold-light); }
.auth-sub { margin-top: 8px; text-align: center; font-size: 14px; color: var(--on-dark-muted); }
.auth-form { display: grid; gap: 22px; margin-top: 34px; }
.auth-field { display: grid; gap: 8px; }
.auth-field label { font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-muted); }
.auth-field input {
  width: 100%; padding: 10px 0 12px; border: 0; border-bottom: 1px solid rgba(237, 231, 220, .25); border-radius: 0;
  background: transparent; font-size: 16px; color: var(--on-dark);
}
.auth-field input:focus { outline: none; border-color: var(--gold); }
.auth-submit {
  width: 100%; margin-top: 6px; padding: 16px; border: 0; cursor: pointer; background: var(--gold); color: var(--black);
  font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
}
.auth-submit:hover { background: var(--gold-light); }
.auth-submit:disabled { opacity: .6; cursor: progress; }
.auth-error { display: none; margin-top: 18px; padding: 12px 14px; border: 1px solid rgba(192, 70, 61, .5); color: #E8A29C; font-size: 13.5px; }
.auth-switch { margin-top: 22px; text-align: center; font-size: 13.5px; color: var(--on-dark-muted); }
.auth-switch a { color: var(--gold-light); text-decoration: none; }

/* ---- Member pages: dashboard ---- */
.dashboard { min-height: 100vh; padding: 150px 0 90px; background: var(--black); color: var(--on-dark); }
.dash-header, .dash-body { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.dash-header {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px;
  margin-bottom: 44px; padding-bottom: 32px; border-bottom: 1px solid rgba(237, 231, 220, .12);
}
.dash-greeting { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 5vw, 58px); line-height: 1.05; }
.dash-greeting em { font-style: italic; color: var(--gold-light); }
.dash-logout { color: var(--on-dark-muted); text-decoration: none; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.dash-logout:hover { color: var(--gold-light); }
.dash-section-title { margin-bottom: 18px; font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.dash-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dash-card { padding: 26px; background: var(--off-black); border: 1px solid rgba(237, 231, 220, .08); }
.dash-card-label { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-muted); }
.dash-card-value { margin-top: 8px; font-family: var(--serif); font-size: 46px; line-height: 1.1; color: var(--on-dark); }
#bookings-wrap { overflow-x: auto; }
.bookings-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.bookings-table th {
  padding: 12px 16px; text-align: left; border-bottom: 1px solid rgba(237, 231, 220, .12);
  font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-muted);
}
.bookings-table td { padding: 16px; border-bottom: 1px solid rgba(237, 231, 220, .06); }
.status-pill { display: inline-block; padding: 4px 10px; border: 1px solid currentColor; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.status-pending { color: var(--gold-light); }
.status-confirmed { color: #7BC7A0; }
.status-cancelled { color: #E8A29C; }
@media (max-width: 700px) { .dash-cards { grid-template-columns: 1fr; } }

/* ---- Header details ---- */
section[id], main[id] { scroll-margin-top: 72px; }
.nav-menu .menu-login { display: none; }
@media (max-width: 1100px) { .nav-menu .menu-login { display: block; } }
@media (max-width: 600px) { .nav-login { display: none; } }

/* On a phone the eyebrow's leading rule and wide spacing push it onto a second
   line, breaking the phrase in half. The rule goes, the spacing tightens. */
@media (max-width: 620px) {
  /* Without its rule, and a size smaller, the longest eyebrow on the site
     ("Central London / Luxury Sublet Residences") holds one line on a phone
     instead of breaking the phrase in half. */
  .eyebrow { font-size: 10px; letter-spacing: .12em; gap: 0; }
  .eyebrow::before { display: none; }
}

/* ---- WhatsApp button ----
   Dark and gold like the rest of the site, with the glyph in WhatsApp's own
   green so it is still recognised at a glance. Icon only on a phone. */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 140;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px 12px 16px; border-radius: 999px;
  background: var(--off-black); color: var(--on-dark); text-decoration: none;
  border: 1px solid rgba(201, 169, 110, .35);
  font-size: 13px; font-weight: 500; letter-spacing: .04em;
  box-shadow: 0 16px 36px rgba(11, 11, 10, .32);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease), border-color .25s, background .25s;
}
.wa-float.is-in { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { background: var(--charcoal); border-color: var(--gold); }
.wa-float svg { width: 22px; height: 22px; flex: none; fill: #25D366; }
@media (max-width: 560px) {
  .wa-float { right: 14px; bottom: 14px; padding: 14px; }
  .wa-float__label { display: none; }
}

/* ---- Show/hide on the passcode field ----
   Sits inside the field's own box so it does not disturb the layout. */
.auth-field { position: relative; }
.auth-reveal {
  position: absolute; right: 0; bottom: 10px;
  background: none; border: 0; padding: 4px 2px; cursor: pointer;
  font-family: inherit; font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); transition: color .2s;
}
.auth-reveal:hover { color: var(--gold); }
.auth-field input { padding-right: 52px; }

/* ---- Medical stays ----
   Four offers rather than numbered steps: these are things that are true at
   the same time, not an order to follow. */
.medical-lede { max-width: 60ch; margin-top: 26px; }
.offers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 48px; margin-top: 48px; }
.offer { padding-top: 24px; border-top: 1px solid var(--stone); }
.offer h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.2; }
.offer p { margin-top: 8px; font-size: 15.5px; color: var(--muted); }
/* The Arabic sits on its own line, a size up, reading right to left. It is a
   greeting rather than a translation of the paragraph above it. */
.offer .ar {
  margin-top: 12px; font-size: 18px; line-height: 1.8; color: var(--gold-deep);
  font-family: "Geeza Pro", "Noto Naskh Arabic", "Segoe UI", system-ui, sans-serif;
}
.medical-note { margin-top: 46px; font-size: 14px; color: var(--muted); max-width: 70ch; }
.medical-note a, .offer p a { color: var(--gold-deep); }

/* ---- Area pages ---- */
.page-hero .hero-actions { margin-top: 34px; }
.page-hero .lede { max-width: 62ch; }
.area-links-wrap { margin-top: 64px; padding-top: 40px; border-top: 1px solid rgba(237, 231, 220, .14); }
.area-links { display: flex; flex-wrap: wrap; gap: 8px 30px; margin-top: 20px; list-style: none; }
.area-links a { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 32px); color: var(--on-dark); text-decoration: none; }
.area-links a:hover { color: var(--gold-light); }
@media (max-width: 760px) {
  .offers { grid-template-columns: 1fr; gap: 28px; margin-top: 36px; }
}

/* A section-head button carries whatever label the section needs, and
   white-space: nowrap on .btn means a long one runs off the side of a phone
   rather than wrapping. Below 560px it takes the full column and centres, so
   the label length stops mattering. */
@media (max-width: 560px) {
  .section-head .btn { width: 100%; box-sizing: border-box; padding-left: 18px; padding-right: 18px; }
}
