/* index3 — alternate front-page design (layers on brio.css) */
.hs { position: relative; height: 100svh; min-height: 620px; overflow: hidden; background: var(--ink); color: var(--ivory); }
.hs__slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity 1.5s ease, visibility 0s 1.5s; }
.hs__slide.is-on { opacity: 1; visibility: visible; transition: opacity 1.5s ease; }
.hs__slide::before { content: ""; position: absolute; inset: 0; background: var(--img) center / cover no-repeat; transform: scale(1); }
.hs__slide.is-on::before { animation: hsKen 9s ease-out both; }
@keyframes hsKen { from { transform: scale(1.02); } to { transform: scale(1.12); } }
.hs__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,20,26, 0.27), rgba(7,20,26, 0.07) 30%, rgba(7,20,26, 0.16) 60%, rgba(7,20,26, 0.38)), linear-gradient(90deg, rgba(7,20,26, 0.32), transparent 70%); }
.hs__copy { position: relative; z-index: 1; padding: 0 clamp(20px, 5vw, 64px); max-width: 1280px; width: 100%; margin: 0 auto 60px; }
.hs__copy > * { opacity: 0; transform: translateY(24px); }
.hs__slide.is-on .hs__copy > * { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); }
.hs__slide.is-on .hs__copy > :nth-child(1) { transition-delay: .5s; }
.hs__slide.is-on .hs__copy > :nth-child(2) { transition-delay: .7s; }
.hs__slide.is-on .hs__copy > :nth-child(3) { transition-delay: .9s; }
.hs h1 { font-size: clamp(44px, 6.6vw, 98px); font-weight: 400; margin: 26px 0; max-width: 14ch; }
.hs h1 em { font-style: italic; color: var(--gold-hi); }
.hs p { max-width: 46ch; font-size: 18px; font-weight: 300; color: rgba(247,242,232,.82); }
.hs__bar { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; padding: 28px clamp(20px, 5vw, 64px) 34px; }
.hs__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hs__ctrl { display: flex; align-items: center; gap: 18px; font-size: 12px; letter-spacing: .24em; color: rgba(247,242,232,.7); }
.hs__count b { color: var(--gold-hi); font-weight: 500; }
.hs__arrow { width: 48px; height: 48px; border: 1px solid var(--line-gold); display: grid; place-items: center; color: var(--gold-hi); transition: background .3s, color .3s; }
.hs__arrow:hover { background: var(--gold); color: var(--ink); }
.hs__progress { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(247,242,232,.15); }
.hs__progress i { display: block; height: 100%; background: var(--gold); transform-origin: left; animation: hsProg 6.5s linear infinite; }
@keyframes hsProg { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.s3 { padding: clamp(80px, 10vw, 150px) clamp(20px, 5vw, 64px); }
.s3--sand { background: var(--sand); }
.s3--paper { background: var(--paper); }
.s3--dark { background: var(--ink); color: var(--ivory); }
.s3 h2 { font-size: clamp(36px, 4.6vw, 64px); margin: 22px 0; }
.s3 h2 em { font-style: italic; color: var(--gold-lo); }
.s3--dark h2 em { color: var(--gold-hi); }
.s3__head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.s3__head .lede { margin-inline: auto; }
.s3__head--l { text-align: left; margin: 0 0 56px; max-width: 820px; }

.s3__split { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.s3__sticky { position: sticky; top: 120px; }
.rows { border-top: 1px solid var(--line); }
.row3 { display: grid; grid-template-columns: 56px 1fr auto; gap: 24px; align-items: start; padding: 38px 0; border-bottom: 1px solid var(--line); transition: padding-left .5s var(--ease), background .5s; }
.row3:hover { padding-left: 18px; }
.row3__n { font-family: var(--serif); font-size: 34px; color: var(--gold-lo); line-height: 1; }
.row3 h3 { font-size: 30px; margin-bottom: 10px; }
.row3 p { color: var(--muted); }
.row3 .icon { width: 30px; height: 30px; stroke-width: 1.2; color: var(--gold-lo); }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card3 { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); padding: 34px 26px 38px; box-shadow: var(--shadow); transition: transform .5s var(--ease); }
.card3:hover { transform: translateY(-8px); }
.card3 .icon { width: 30px; height: 30px; stroke-width: 1.2; color: var(--gold-lo); margin-bottom: 22px; }
.card3 h4 { font-size: 25px; margin-bottom: 10px; }
.card3 p { color: var(--muted); font-size: 15.5px; }

.tiles { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; }
.tile { margin: 0; position: relative; min-height: clamp(320px, 42vw, 520px); background: var(--img) center / cover no-repeat; overflow: hidden; }
.tile::before { content: ""; position: absolute; inset: 0; background: inherit; transition: transform 1.2s var(--ease); }
.tile:hover::before { transform: scale(1.08); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(7,20,26, 0.38)); }
.tile figcaption { position: absolute; z-index: 1; left: 22px; bottom: 20px; font-family: var(--serif); font-style: italic; font-size: 24px; }

.cc { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 560px; }
.cc__img { position: relative; background: var(--img) center / cover no-repeat; color: var(--ivory); display: flex; align-items: flex-end; }
.cc__img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,20,26, 0.25), rgba(11,32,41, 0.38)); }
.cc__ov { position: relative; padding: clamp(32px, 5vw, 72px); }
.cc__ov h2 { font-size: clamp(38px, 4.6vw, 66px); margin-top: 20px; }
.cc__ov h2 em { font-style: italic; color: var(--gold-hi); }
.cc__body { background: var(--paper); display: grid; align-content: center; gap: 44px; padding: clamp(32px, 5vw, 72px); }
.cc__body h4 { font-size: 30px; margin-bottom: 10px; }
.cc__body p { color: var(--muted); margin-bottom: 20px; max-width: 44ch; }
.cc__body a.line { display: flex; align-items: center; gap: 14px; padding: 8px 0; color: var(--deep); }
.cc__body a.line:hover { color: var(--gold-lo); }
.cc__body .icon { color: var(--gold-lo); }

@media (max-width: 960px) {
  .s3__split, .cc { grid-template-columns: 1fr; }
  .s3__sticky { position: static; }
  .cards { grid-template-columns: 1fr 1fr; }
  .tiles { grid-template-columns: 1fr; }
  .cc__img { min-height: 320px; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .row3 { grid-template-columns: 40px 1fr; }
  .row3 > .icon, .row3 > span[data-icon] { display: none; }
  .hs__ctrl { display: none; }
}

/* luxury lightbox */
.tile { cursor: zoom-in; }
.tile::after { transition: background .5s; }
.tile:hover::after { background: linear-gradient(180deg, rgba(232,185,47,.08) 30%, rgba(7,20,26, 0.41)); }
.tile:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.lb { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: rgba(4, 12, 16, .94); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); opacity: 0; transition: opacity .5s var(--ease); }
.lb[hidden] { display: none; }
.lb.on { opacity: 1; }
.lb::before { content: ""; position: absolute; inset: clamp(12px, 2vw, 28px); border: 1px solid var(--line-gold); pointer-events: none; }
.lb__fig { margin: 0; max-width: min(1100px, 86vw); transform: scale(.96); transition: transform .8s var(--ease); }
.lb.on .lb__fig { transform: none; }
.lb__img { max-height: 76svh; max-width: 100%; margin: 0 auto; object-fit: contain; border: 1px solid var(--line-gold); box-shadow: 0 40px 120px -20px rgba(0,0,0,.8); transition: opacity .28s ease, transform .28s ease; }
.lb__img.out { opacity: 0; transform: scale(.985); }
.lb__fig figcaption { display: flex; justify-content: space-between; gap: 20px; margin-top: 22px; color: var(--ivory); }
.lb__cap { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.4vw, 30px); }
.lb__n { font-size: 11px; letter-spacing: .3em; color: var(--gold); align-self: center; }
.lb__close, .lb__nav { position: absolute; width: 52px; height: 52px; display: grid; place-items: center; color: var(--gold-hi); border: 1px solid var(--line-gold); transition: background .3s, color .3s; }
.lb__close:hover, .lb__nav:hover { background: var(--gold); color: var(--ink); }
.lb__close { top: clamp(24px, 3.4vw, 44px); right: clamp(24px, 3.4vw, 44px); }
.lb__nav { top: 50%; margin-top: -26px; }
.lb__nav--prev { left: clamp(24px, 3.4vw, 44px); }
.lb__nav--next { right: clamp(24px, 3.4vw, 44px); }
@media (max-width: 720px) { .lb__nav { top: auto; bottom: 28px; margin: 0; } .lb__nav--prev { left: 28px; } .lb__nav--next { right: 28px; } .lb__fig { max-width: 92vw; } }

/* index4: contact section keeps the original teal shade (id changed from #concierge to #contact) */
#contact.fx::after { background: linear-gradient(180deg, rgba(7, 20, 26, 0.37), rgba(7, 20, 26, 0.27) 45%, rgba(7, 20, 26, 0.38)); }

/* index4: concierge cards + retreat photo cards */
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 980px; margin: 0 auto; }
.svc__card { position: relative; padding: 46px 42px 48px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); box-shadow: var(--shadow); }
.svc__card--dark { background: var(--deep); color: var(--ivory); border-color: var(--line-gold); border-top-color: var(--gold); }
.svc__ico { display: inline-grid; place-items: center; width: 54px; height: 54px; border: 1px solid var(--line-gold); color: var(--gold-lo); margin-bottom: 26px; }
.svc__card--dark .svc__ico { color: var(--gold-hi); }
.svc__card h4 { font-size: 32px; margin-bottom: 12px; }
.svc__card p { color: var(--muted); margin-bottom: 26px; }
.svc__card--dark p { color: rgba(247,242,232,.72); }
.svc__card a.line { display: flex; align-items: center; gap: 14px; padding: 9px 0; color: var(--gold-hi); }
.svc__card a.line:hover { color: #fff; }

.rt { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 8px; }
.rt__card { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .6s var(--ease); }
.rt__card:hover { transform: translateY(-8px); }
.rt__img { position: relative; height: 230px; background: var(--img) center / cover no-repeat; }
.rt__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(11,32,41, 0.25)); }
.rt__badge { position: absolute; z-index: 1; left: 28px; bottom: -26px; width: 52px; height: 52px; display: grid; place-items: center; background: var(--gold); color: var(--ink); box-shadow: 0 10px 24px -8px rgba(0,0,0,.4); }
.rt__body { padding: 50px 28px 36px; }
.rt__n { font-family: var(--serif); font-size: 15px; letter-spacing: .2em; color: var(--gold-lo); display: block; margin-bottom: 10px; }
.rt__body h3 { font-size: 30px; margin-bottom: 10px; }
.rt__body p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 960px) { .svc, .rt { grid-template-columns: 1fr; } }

/* index4: clear separation between concierge and the sections around it */
.s3--sea { background: radial-gradient(120% 90% at 50% 0%, #1c4350 0%, var(--sea) 45%, #0c242d 100%); color: var(--ivory); border-top: 1px solid var(--line-gold); position: relative; }
.s3--sea h2 em { color: var(--gold-hi); }
.s3--sea .lede { color: rgba(247,242,232,.75); }
.s3--sea .svc__card:not(.svc__card--dark) { background: var(--paper); color: var(--text); }
.s3--sea .svc__card--dark { background: rgba(7,20,26,.55); border-color: var(--line-gold); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
#retreat { position: relative; border-top: 4px solid var(--gold); }
#retreat::before { content: ""; position: absolute; top: -4px; left: 50%; width: 120px; height: 4px; margin-left: -60px; background: var(--gold-hi); }

/* luxury scroll-to-top */
.totop { position: fixed; right: clamp(18px, 3vw, 40px); bottom: clamp(18px, 3vw, 40px); z-index: 60; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%;
  background: linear-gradient(145deg, #f1dfae, var(--gold) 55%, var(--gold-lo)); color: var(--ink);
  box-shadow: 0 14px 34px -10px rgba(0,0,0,.6), 0 0 0 6px rgba(232,185,47,.16), inset 0 1px 0 rgba(255,255,255,.55);
  opacity: 0; transform: translateY(20px) scale(.85); pointer-events: none; transition: opacity .5s var(--ease), transform .5s var(--ease), box-shadow .4s; }
.totop.show { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -10px rgba(0,0,0,.65), 0 0 0 8px rgba(255,217,102,.28), inset 0 1px 0 rgba(255,255,255,.6); }
.totop__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.totop__ring circle { fill: none; stroke-width: 1.5; stroke: rgba(7,20,26,.18); }
.totop__ring .totop__bar { stroke: var(--ink); stroke-linecap: round; transition: stroke-dashoffset .15s linear; }
.totop__arrow { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.totop:hover .totop__arrow { transform: translateY(-3px); }
.totop:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 5px; }

/* index4: how-it-works steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps .svc__card { padding: 40px 34px 42px; }
.steps__n { position: absolute; top: 26px; right: 30px; font-family: var(--serif); font-size: 46px; line-height: 1; color: var(--gold-lo); opacity: .5; }
.steps .svc__card:not(.svc__card--dark) h4 { color: var(--ink); }
.steps .svc__card:not(.svc__card--dark) p { color: var(--muted); }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr; } }

/* index4 hero spacing: clear the nav above and the buttons below */
.hs__copy { margin: 0 auto; padding: 150px clamp(20px, 5vw, 64px) 190px; }
.hs h1 { font-size: clamp(40px, 5.8vw, 88px); max-width: 17ch; margin: 22px 0 22px; }
.hs p { max-width: 50ch; }
@media (max-width: 720px) { .hs__copy { padding: 130px 20px 220px; } }

/* ---- index2: stronger text legibility over photos (header nav + hero) ---- */
.nav:not(.solid) { background: linear-gradient(180deg, rgba(7,20,26,.55), rgba(7,20,26,0)); }
.nav__links a { color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.75), 0 2px 14px rgba(0,0,0,.55); font-weight: 500; }
.nav__links a:hover { color: var(--gold-hi); }
.nav__links .btn, .nav__links .btn span { color: var(--gold-hi); text-shadow: 0 1px 3px rgba(0,0,0,.7); }
.nav__links .btn:hover, .nav__links .btn:hover span { color: var(--ink); text-shadow: none; }
.logo__text b { color: var(--gold-hi); text-shadow: 0 1px 3px rgba(0,0,0,.8), 0 2px 14px rgba(0,0,0,.55); }
.logo__text small { color: var(--gold-hi); opacity: 1; font-weight: 500; text-shadow: 0 1px 3px rgba(0,0,0,.8); }
.logo img { filter: drop-shadow(0 2px 6px rgba(0,0,0,.6)); }

.hs__copy h1 { color: #fff; text-shadow: 0 2px 4px rgba(0,0,0,.65), 0 6px 36px rgba(0,0,0,.6); }
.hs__copy h1 em { color: var(--gold-hi); }
.hs__copy p { color: #fff; font-weight: 400; text-shadow: 0 1px 3px rgba(0,0,0,.8), 0 2px 18px rgba(0,0,0,.65); }
.hs__copy .eyebrow { color: var(--gold-hi); font-weight: 500; text-shadow: 0 1px 3px rgba(0,0,0,.85), 0 2px 12px rgba(0,0,0,.6); }
.hs__ctrl { color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.8); }
.hs__bar .btn { text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.hs__bar .btn--solid { text-shadow: none; }

/* ---- index2 mobile: visible nav login + hero buttons ---- */
@media (max-width: 960px) {
  .nav { padding: 14px 16px; gap: 12px; }
  .nav:not(.solid) { background: linear-gradient(180deg, rgba(7,20,26,.7), rgba(7,20,26,0)); }
  .nav__links { gap: 0; }
  .nav__links .btn { display: inline-flex; background: var(--gold); border: 1px solid var(--gold-hi); color: #1a1205; padding: 10px 16px; font-weight: 500; white-space: nowrap; box-shadow: 0 4px 16px rgba(0,0,0,.45); text-shadow: none; }
  .nav__links .btn span { color: #1a1205; text-shadow: none; }
  .nav__links .btn:hover, .nav__links .btn:hover span { background: var(--gold-hi); color: #1a1205; }
}
@media (max-width: 720px) {
  .logo__text small { display: none; }
  .hs__bar { padding: 20px 16px 28px; background: linear-gradient(180deg, rgba(7,20,26,0), rgba(7,20,26,.55)); }
  .hs__cta { width: 100%; flex-direction: column; gap: 12px; }
  .hs__cta .btn { width: 100%; justify-content: center; text-align: center; padding: 15px 20px; font-weight: 500; text-shadow: none; }
  .hs__cta .btn--solid { background: var(--gold); border-color: var(--gold-hi); color: #1a1205; box-shadow: 0 6px 20px rgba(0,0,0,.4); }
  .hs__cta .btn:not(.btn--solid) { color: #fff; background: rgba(7,20,26,.55); border: 1px solid rgba(255,255,255,.75); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
  .hs__cta .btn span { color: inherit; }
}

/* fix: nav gradient tiled into the 1px transparent border -> dark line under the nav */
.nav { background-repeat: no-repeat; background-origin: border-box; }
.nav:not(.solid) { background-repeat: no-repeat; background-origin: border-box; background-size: 100% 100%; }

/* subtle external link in nav */
.nav__links a.nav__ext { opacity: .7; font-size: 11px; letter-spacing: .18em; font-weight: 400; }
.nav__links a.nav__ext:hover { opacity: 1; }

/* ---- mobile menu (burger) ---- */
.nav__burger { display: none; width: 44px; height: 44px; padding: 0; margin-left: 8px; flex: none; background: transparent; border: 1px solid var(--line-gold); color: var(--gold-hi); cursor: pointer; align-items: center; justify-content: center; }
.nav__burger span, .nav__burger span::before, .nav__burger span::after { display: block; width: 20px; height: 2px; background: currentColor; transition: transform .35s var(--ease), background .2s; position: relative; }
.nav__burger span::before, .nav__burger span::after { content: ""; position: absolute; left: 0; }
.nav__burger span::before { top: -6px; } .nav__burger span::after { top: 6px; }
.nav.menu-open .nav__burger span { background: transparent; }
.nav.menu-open .nav__burger span::before { top: 0; transform: rotate(45deg); }
.nav.menu-open .nav__burger span::after { top: 0; transform: rotate(-45deg); }
.nav__menu { display: none; }
@media (max-width: 960px) {
  .nav__burger { display: inline-flex; }
  .nav__links { margin-left: auto; }
  .nav__menu { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; padding: 8px 16px 20px; background: rgba(7,20,26,.97); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line-gold); border-bottom: 1px solid var(--line-gold); max-height: calc(100svh - 70px); overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s; }
  .nav.menu-open .nav__menu { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .nav__menu a { padding: 16px 4px; font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: #fff; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav__menu a:hover, .nav__menu a:focus-visible { color: var(--gold-hi); }
  .nav__menu a.nav__ext { margin-top: 6px; border-bottom: 0; font-size: 11px; letter-spacing: .18em; opacity: .65; }
}
@media (max-width: 520px) {
  .nav { gap: 6px; }
  .nav .logo { gap: 8px; min-width: 0; }
  .nav .logo img { width: 34px; height: 34px; }
  .nav .logo__text b { font-size: 19px; letter-spacing: .16em; }
  .nav__links .btn { padding: 10px 12px; font-size: 10.5px; letter-spacing: .14em; }
  .nav__burger { width: 40px; height: 40px; margin-left: 4px; }
}

/* ---- full transparent logo lockup ---- */
.nav .logo { flex: 0 1 auto; min-width: 0; }
.nav .logo img.logo__full { width: auto; height: 54px; max-width: 100%; object-fit: contain; transition: height .4s var(--ease); }
.nav.solid .logo img.logo__full { height: 42px; }
.footer .logo img.logo__full { width: auto; height: 64px; }
.auth__art .logo img.logo__full { width: auto; height: 60px; }
@media (max-width: 520px) {
  .nav .logo img.logo__full { width: auto; height: 38px; }
  .nav.solid .logo img.logo__full { height: 34px; }
  .footer .logo img.logo__full { height: 52px; }
}
