/* Grouped site navigation (dropdowns on desktop, drill-down on phones), new home sections
   and the stepped application form. Loaded after deor.css; same colours and typefaces. */
.nav-links { gap: 30px; }
.nav-dd { position: relative; }
.nav-dd > a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 0; }
.nav-dd > a::after { content: ''; width: 5px; height: 5px; border-inline-end: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .6; }
.nav-dd-pop { position: absolute; top: 100%; inset-inline-start: -24px; min-width: 240px; padding: 14px 0; background: rgba(10,3,20,.97); border: 1px solid rgba(201,149,107,.25); box-shadow: 0 30px 60px rgba(0,0,0,.5); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 600; }
.nav-dd:hover .nav-dd-pop, .nav-dd:focus-within .nav-dd-pop { opacity: 1; visibility: visible; transform: none; }
.nav-dd-pop a { display: block; padding: 9px 24px; font-size: 11px !important; letter-spacing: 2.5px !important; white-space: nowrap; }
.nav-dd-pop a:last-child { margin-top: 6px; padding-top: 13px; border-top: 1px solid rgba(201,149,107,.15); color: var(--rose) !important; }
.nav-dd.wide .nav-dd-pop { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-width: 600px; column-gap: 8px; }
.nav-dd.wide .nav-dd-pop a { white-space: normal; text-transform: none !important; letter-spacing: .5px !important; font-size: 15px !important; font-family: 'EB Garamond', serif !important; }
.nav-dd.wide .nav-dd-pop a:last-child { grid-column: 1 / -1; text-transform: uppercase !important; letter-spacing: 2.5px !important; font-size: 11px !important; font-family: 'Cormorant Garamond', serif !important; }
html[dir=rtl] .nav-dd-pop { inset-inline-start: auto; inset-inline-end: -24px; }
@media (max-width: 1280px) { .nav-links { gap: 22px; } }

/* Phone drill-down menu */
.mobile-nav { justify-content: flex-start; align-items: stretch; gap: 0; padding: 84px 28px 32px; overflow-y: auto; }
.mnav-panel { display: none; flex-direction: column; }
.mnav-panel.on { display: flex; animation: mnavIn .25s ease both; }
@keyframes mnavIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.mobile-nav .mnav-row { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 16px 0; border: 0; border-bottom: 1px solid rgba(201,149,107,.15); background: none; color: var(--ivory); font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 300; letter-spacing: 3px; text-transform: uppercase; text-align: start; cursor: pointer; }
.mobile-nav .mnav-row span { color: var(--rose); font-size: 28px; }
html[dir=rtl] .mobile-nav .mnav-row span { transform: scaleX(-1); }
.mobile-nav .mnav-row.sub { font-family: 'EB Garamond', serif; font-size: 19px; letter-spacing: .5px; text-transform: none; padding: 13px 0; }
.mnav-back { align-self: flex-start; background: none; border: 0; color: var(--rose); font-family: 'Cormorant Garamond', serif; font-size: 13px; letter-spacing: 3px; text-transform: uppercase; padding: 0 0 18px; cursor: pointer; }
.mobile-nav .mnav-head { font-size: 34px; letter-spacing: 4px; margin-bottom: 8px; color: var(--champagne); }
.mnav-ctas { display: grid; gap: 12px; margin-top: 30px; }
.mobile-nav .mnav-ctas a { font-size: 12px; letter-spacing: 4px; text-align: center; }
html[dir=rtl] .mobile-close { right: auto; left: 24px; }

/* Home: statement band */
.statement { padding: 110px 48px; text-align: center; border-top: 1px solid rgba(201,149,107,.12); border-bottom: 1px solid rgba(201,149,107,.12); background: linear-gradient(180deg, rgba(45,10,78,.25), transparent); }
.statement p.big { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: clamp(26px, 3.4vw, 46px); line-height: 1.3; max-width: 980px; margin: 18px auto 0; color: var(--ivory); }

/* Home: how membership works */
.how { padding: 120px 48px; }
.how-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; margin-top: 56px; }
.how-step { padding: 44px 36px; background: rgba(45,10,78,.22); border: 1px solid rgba(201,149,107,.14); position: relative; }
.how-step .n { font-family: 'Cormorant Garamond', serif; font-size: 64px; font-weight: 300; color: rgba(201,149,107,.35); line-height: 1; }
.how-step h3 { font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: 28px; margin: 18px 0 10px; color: var(--ivory); }
.how-step p { color: rgba(245,240,232,.62); font-size: 16px; line-height: 1.7; }
.how-cta { text-align: center; margin-top: 48px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Home: members' app band */
.appband { padding: 110px 48px; }
.appband-in { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.appband-phone { justify-self: center; width: 270px; height: 540px; border-radius: 40px; border: 1px solid rgba(201,149,107,.4); background: linear-gradient(170deg, var(--twilight), var(--purple) 40%, var(--black)); padding: 26px 18px; position: relative; box-shadow: 0 40px 90px rgba(0,0,0,.6); }
.appband-phone .ph-brand { text-align: center; font-family: 'Cormorant Garamond', serif; letter-spacing: 6px; font-size: 18px; color: var(--ivory); }
.appband-phone .ph-card { margin-top: 22px; padding: 16px; border: 1px solid rgba(201,149,107,.35); background: rgba(6,3,10,.45); }
.appband-phone .ph-card small { display: block; font-family: 'Cormorant Garamond', serif; font-size: 9px; letter-spacing: 3px; color: var(--rose); text-transform: uppercase; }
.appband-phone .ph-card b { display: block; font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: 22px; color: var(--ivory); margin-top: 4px; }
.appband-phone .ph-tabs { position: absolute; inset-inline: 0; bottom: 0; height: 64px; border-top: 1px solid rgba(201,149,107,.3); display: flex; justify-content: space-around; align-items: center; border-radius: 0 0 40px 40px; background: rgba(6,3,10,.6); }
.appband-phone .ph-tabs i { width: 18px; height: 18px; border: 1px solid rgba(245,240,232,.4); border-radius: 4px; }
.appband-phone .ph-tabs i.c { width: 42px; height: 42px; border-radius: 50%; border: 0; background: linear-gradient(135deg, var(--rose), var(--champagne)); transform: translateY(-14px); }
.appband ul { list-style: none; margin: 24px 0 34px; display: grid; gap: 12px; }
.appband li { color: rgba(245,240,232,.7); }
.appband li::before { content: '◆'; color: var(--rose); font-size: 9px; margin-inline-end: 12px; vertical-align: 2px; }

@media (max-width: 900px) {
  .statement, .how, .appband { padding: 76px 22px; }
  .how-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 34px; }
  .how-step { padding: 30px 24px; }
  .appband-in { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .appband-phone { order: 2; width: 230px; height: 440px; }
}

/* Stepped application form */
.apply-steps { display: flex; gap: 8px; margin-bottom: 34px; }
.apply-steps span { flex: 1; padding-top: 12px; border-top: 2px solid rgba(201,149,107,.18); font-family: 'Cormorant Garamond', serif; font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(245,240,232,.35); }
.apply-steps span.done { border-color: var(--rose); color: var(--rose); }
.apply-steps span.now { border-color: var(--champagne); color: var(--ivory); }
.apply-step { display: contents; }
.js-steps .apply-step:not(.on) { display: none; }
.apply-nav { display: flex; gap: 12px; margin-top: 28px; }
.apply-nav button { flex: 1; }
.apply-nav .prev { background: none; border: 1px solid rgba(201,149,107,.35); color: var(--rose); font-family: 'Cormorant Garamond', serif; letter-spacing: 3px; text-transform: uppercase; font-size: 11px; padding: 16px; cursor: pointer; }
.no-js-only { display: none; }
.mobile-nav { z-index: 560; }
#apply-form { scroll-margin-top: 110px; }
.apply-nav .form-submit { margin: 0; width: auto; }
