/* Grand Mayfair • V27 Luxury Home Refinements
   Six scoped homepage sections. Does NOT override the V26 platform marquee or logos.
   Keep PHP routes, statistics, newsletter POST/CSRF and member links untouched.
*/
:root {
  --gm27-navy: #071622;
  --gm27-midnight: #091c2d;
  --gm27-panel: #102b41;
  --gm27-edge: rgba(222,187,126,.24);
  --gm27-gold: #dfbc81;
  --gm27-ivory: #f5f0e8;
  --gm27-mist: #b8c8d5;
}
/* 1 • Compact facts / four inline editorial metrics */
body .gm27-stats {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(38px,5vw,64px) 0 clamp(46px,5vw,70px)!important;
  background: linear-gradient(120deg,#0c2437 0%,#061521 65%,#0b2334 100%)!important;
  border-block: 1px solid rgba(218,179,109,.17);
}
body .gm27-stats::before {
  position:absolute;content:"";inset:0;z-index:-1;pointer-events:none;
  background: radial-gradient(ellipse at 18% 90%,rgba(38,92,128,.22),transparent 45%);
}
body .gm27-stats__heading {display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:22px}
body .gm27-stats__heading span {
  font: 800 10px/1.3 'Manrope',sans-serif;letter-spacing:.18em;color:#d7b77e;
}
body .gm27-stats__heading span+span {color:#8fa8bc;font-weight:600;letter-spacing:.11em}
body .gm27-stats__heading b {color:#d7b77e;font-size:12px;margin-left:7px}
body .gm27-stats .stats-grid {gap:0!important;grid-template-columns: repeat(4,minmax(0,1fr));border-top:1px solid rgba(211,184,137,.19);border-bottom:1px solid rgba(211,184,137,.19)}
body .gm27-stats .stat-card {
  position:relative;min-height:150px;display:flex;flex-direction:column;justify-content:center;
  padding:21px clamp(14px,2.5vw,32px)!important;border:0!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;transition:background .35s ease!important;
}
body .gm27-stats .stat-card:not(:first-child) {border-left:1px solid rgba(212,185,139,.2)!important}
body .gm27-stats .stat-card:hover {transform:none!important;background:rgba(213,182,130,.055)!important}
body .gm27-stats .stat-card strong {font:500 clamp(2.45rem,3.45vw,3.9rem)/.93 'Cormorant Garamond',Georgia,serif!important;color:#e6c58f!important;letter-spacing:-.04em}
body .gm27-stats .stat-card h3 {font:600 clamp(1.17rem,1.35vw,1.55rem)/1.06 'Cormorant Garamond',Georgia,serif!important;color:#f5ede4!important;margin:10px 0 8px!important}
body .gm27-stats .stat-card p {font:400 .77rem/1.65 'Manrope',sans-serif;color:#b0c2d0!important;max-width:32ch;margin:0!important}
/* 2 • Hospitality editorial / airy text and real architectural photograph */
body .gm27-hospitality {
  position:relative;background:radial-gradient(circle at 95% 80%,rgba(32,77,112,.17),transparent 35%),#071726!important;
  padding-block:clamp(68px,7.5vw,110px)!important;
}
body .gm27-hospitality .hospitality-layout {grid-template-columns:minmax(0,1fr) minmax(0,.94fr);gap:clamp(42px,6vw,90px)!important;align-items:center}
body .gm27-hospitality .hospitality-copy {max-width:600px}
body .gm27-hospitality .hospitality-copy h2 {font:500 clamp(3.1rem,4.4vw,4.9rem)/.94 'Cormorant Garamond',Georgia,serif!important;letter-spacing:-.03em!important;margin:11px 0 22px!important;max-width:12ch;color:#f5eee5!important}
body .gm27-hospitality .hospitality-copy .lead {color:#ebeff2!important;font-size:1.07rem!important;line-height:1.7!important;max-width:48ch}
body .gm27-hospitality .hospitality-copy p:not(.lead) {color:#b5c9d7!important;max-width:53ch;line-height:1.85}
body .gm27-hospitality .check-grid {gap:8px 14px!important;margin-top:25px!important}
body .gm27-hospitality .check-grid span {
  min-width:0;background:transparent!important;border:0!important;border-bottom:1px solid rgba(218,187,136,.16)!important;
  border-radius:0!important;padding:12px 6px 12px 30px!important;
  color:#e5edf2!important;font:600 .78rem/1.5 'Manrope',sans-serif!important;
  transition:color .25s ease,border-color .25s ease!important;
}
body .gm27-hospitality .check-grid span::before {content:'✦';left:5px!important;top:11px;font-size:12px;color:#d9ba82!important}
body .gm27-hospitality .check-grid span:hover {color:#f8e3bc!important;border-color:rgba(218,187,136,.55)!important}
body .gm27-hospitality .hospitality-visual {
  min-height:clamp(380px,38vw,500px)!important;border-radius:21px!important;isolation:isolate;
  border:1px solid rgba(223,188,128,.22)!important;
  background-image:linear-gradient(180deg,rgba(3,15,26,.07) 15%,rgba(3,15,26,.58) 100%),url('https://images.unsplash.com/photo-1551882547-ff40c63fe5fa?auto=format&fit=crop&w=1600&q=85')!important;
  background-size:cover!important;background-position:center!important;
  box-shadow:0 34px 70px rgba(0,0,0,.29)!important;overflow:hidden;
  transition:filter .6s ease,transform .65s cubic-bezier(.2,.75,.2,1)!important;
}
body .gm27-hospitality .hospitality-visual::before {content:'GRAND MAYFAIR  /  HOSPITALITY';position:absolute;top:25px;left:25px;color:#f3dfb7;z-index:2;font:800 9px/1.3 'Manrope',sans-serif;letter-spacing:.15em;text-shadow:0 1px 10px rgba(0,0,0,.5)}
body .gm27-hospitality .hospitality-visual:hover {transform:translateY(-4px)!important;filter:brightness(1.06)}
body .gm27-hospitality .hospitality-visual__card {
  left:22px!important;right:22px!important;bottom:22px!important;padding:20px 23px!important;
  background:linear-gradient(100deg,rgba(4,17,29,.85),rgba(10,30,46,.7))!important;
  border:1px solid rgba(225,197,148,.28)!important;border-radius:13px!important;
  backdrop-filter:blur(18px);
}
body .gm27-hospitality .hospitality-visual__card span {letter-spacing:.15em!important;color:#ddbd88!important}
body .gm27-hospitality .hospitality-visual__card strong {font:500 clamp(1.7rem,2.3vw,2.65rem)/1 'Cormorant Garamond',Georgia,serif!important;color:#f8f1e8}
/* 3 • Membership invitation; no giant benefits */
body .gm27-membership {
  overflow:hidden;position:relative;padding-block:clamp(70px,8vw,105px)!important;
  background:radial-gradient(ellipse at 76% 38%,rgba(46,96,135,.26),transparent 49%),linear-gradient(120deg,#081d30,#050f1b)!important;
  border-block:1px solid rgba(218,186,132,.23)!important;
}
body .gm27-membership::before {content:'M';position:absolute;right:4%;top:-8%;font:500 clamp(18rem,31vw,34rem)/1 'Cormorant Garamond',Georgia,serif;color:rgba(209,171,114,.035);pointer-events:none}
body .gm27-membership .membership-showcase__grid {gap:clamp(30px,5vw,76px)!important;grid-template-columns:minmax(0,1.03fr) minmax(0,.97fr);align-items:center}
body .gm27-membership .membership-showcase__copy h2 {font:500 clamp(3.1rem,4.6vw,5rem)/.94 'Cormorant Garamond',Georgia,serif!important;letter-spacing:-.034em;max-width:11ch;color:#f4efe6!important;margin:10px 0 20px!important}
body .gm27-membership .membership-showcase__copy p {max-width:50ch;color:#c3d3de!important;line-height:1.85}
body .gm27-membership .membership-showcase__copy .btn {
  display:inline-flex;align-items:center;gap:18px;margin-top:24px!important;min-height:51px!important;
  border-radius:999px!important;padding:0 24px!important;
  border:1px solid rgba(246,222,176,.66)!important;
  background:linear-gradient(130deg,#d0a466,#f2d7a4 48%,#c89c5f)!important;
  box-shadow:0 15px 34px rgba(0,0,0,.24)!important;color:#091b2a!important;
  font:800 10px/1.2 'Manrope',sans-serif!important;letter-spacing:.13em!important;
  transition:transform .3s ease,box-shadow .3s ease!important;
}
body .gm27-membership .membership-showcase__copy .btn:hover {transform:translateY(-3px)!important;box-shadow:0 24px 45px rgba(0,0,0,.36)!important}
body .gm27-membership .membership-showcase__cards {gap:12px!important}
body .gm27-membership .mini-benefit {
  min-height:145px!important;border:1px solid rgba(220,185,128,.21)!important;border-radius:17px!important;
  padding:23px 22px!important;background:linear-gradient(135deg,rgba(23,52,75,.86),rgba(9,27,45,.86))!important;
  box-shadow:0 10px 38px rgba(0,0,0,.16);transition:transform .45s cubic-bezier(.2,.75,.2,1),border-color .3s ease!important;
}
body .gm27-membership .mini-benefit:hover {transform:translateY(-5px);border-color:rgba(231,197,136,.51)!important}
body .gm27-membership .mini-benefit span {font:800 10px/1 'Manrope',sans-serif;color:#dfbe86;letter-spacing:.17em}
body .gm27-membership .mini-benefit h3 {font:500 clamp(1.65rem,2vw,2.3rem)/1.03 'Cormorant Garamond',Georgia,serif!important;color:#f8f1e7!important}
/* 4 • Curated travel styles; compact photo tiles with elegant insets */
body .gm27-categories {position:relative;background:linear-gradient(145deg,#071827,#061321)!important;padding-block:clamp(68px,7vw,100px)!important}
body .gm27-categories .section-heading {margin-bottom:30px!important}
body .gm27-categories .section-heading h2 {font:500 clamp(2.7rem,3.85vw,4rem)/.97 'Cormorant Garamond',Georgia,serif!important;letter-spacing:-.03em;max-width:21ch}
body .gm27-categories .category-grid {gap:13px!important;grid-template-columns:repeat(4,minmax(0,1fr))}
body .gm27-categories .category-card {
  min-height:clamp(245px,24vw,325px)!important;border:1px solid rgba(226,197,145,.25)!important;
  border-radius:17px!important;padding:20px!important;
  box-shadow:0 20px 55px rgba(0,0,0,.25)!important;
  transition:transform .5s cubic-bezier(.2,.75,.2,1),box-shadow .45s ease,border-color .35s ease!important;
  background-size:cover!important;
}
body .gm27-categories .category-card::before {background:linear-gradient(180deg,rgba(3,15,26,.08) 0%,rgba(3,15,26,.12) 35%,rgba(3,15,26,.88) 100%)!important;transition:background .35s ease!important}
body .gm27-categories .category-card::after {
  content:'↗';right:19px!important;top:18px!important;width:34px;height:34px;display:grid;place-items:center;
  border-radius:50%;border:1px solid rgba(245,222,176,.45);background:rgba(7,22,35,.37);
  font:500 18px/1 'Manrope',sans-serif;color:#efd6aa;
  transition:transform .3s ease,background .3s ease;
}
body .gm27-categories .category-card:hover {transform:translateY(-6px)!important;border-color:rgba(236,207,156,.65)!important;box-shadow:0 29px 62px rgba(0,0,0,.33)!important}
body .gm27-categories .category-card:hover::after {transform:translate(2px,-2px);background:rgba(220,183,120,.18)}
body .gm27-categories .category-card span {color:#e2c28b!important;font:800 10px/1.4 'Manrope',sans-serif!important;letter-spacing:.17em!important}
body .gm27-categories .category-card strong {max-width:14ch;font:500 clamp(1.75rem,2.3vw,2.6rem)/1 'Cormorant Garamond',Georgia,serif!important;color:#fbf4e9!important;letter-spacing:-.02em}
/* 5 • Service philosophy: numbered outline strips rather than generic big boxes */
body .gm27-promise {background:linear-gradient(180deg,#081a2a,#071421)!important;padding-block:clamp(65px,7vw,95px)!important}
body .gm27-promise .section-heading{margin-bottom:28px!important}
body .gm27-promise .section-heading h2{font:500 clamp(2.7rem,3.7vw,3.8rem)/.98 'Cormorant Garamond',Georgia,serif!important;max-width:22ch}
body .gm27-promise .service-promise-grid {grid-template-columns:repeat(3,minmax(0,1fr));gap:0!important;border-top:1px solid rgba(218,188,140,.23);border-bottom:1px solid rgba(218,188,140,.23)}
body .gm27-promise .service-promise-card {
  border:none!important;border-radius:0!important;min-height:190px;padding:28px clamp(18px,2.5vw,34px)!important;
  background:transparent!important;box-shadow:none!important;
  transition:background .4s ease!important;
}
body .gm27-promise .service-promise-card:not(:first-child) {border-left:1px solid rgba(218,188,140,.23)!important}
body .gm27-promise .service-promise-card:hover {transform:none!important;background:rgba(217,182,121,.05)!important}
body .gm27-promise .service-promise-card span {margin:0 0 20px!important;font:800 10px/1.2 'Manrope',sans-serif;letter-spacing:.14em;color:#d9b982!important}
body .gm27-promise .service-promise-card h3 {font:500 clamp(1.65rem,2.25vw,2.4rem)/1.04 'Cormorant Garamond',Georgia,serif!important;color:#f6eee5!important;margin:0 0 12px!important}
body .gm27-promise .service-promise-card p {color:#bbcad7!important;font:.85rem/1.75 'Manrope',sans-serif!important;max-width:40ch}
/* 6 • Newsletter: compact concierge invitation, strong CTA, excellent focus */
body .gm27-newsletter {padding:0 0 90px!important;background:#071421!important}
body .gm27-newsletter .newsletter-card {
  position:relative;overflow:hidden;isolation:isolate;gap:32px;
  padding:clamp(28px,4vw,48px)!important;border:1px solid rgba(223,193,140,.37)!important;
  border-radius:23px!important;
  background:radial-gradient(circle at 100% 0%,rgba(56,113,151,.16),transparent 35%),linear-gradient(115deg,#122f46,#0a2135 75%,#0b1b2a)!important;
  box-shadow:0 28px 75px rgba(0,0,0,.31)!important;
}
body .gm27-newsletter .newsletter-card::before{content:'';position:absolute;inset:0 auto 0 0;width:3px;background:linear-gradient(180deg,transparent 0%,#e0bc7f 36%,#e0bc7f 70%,transparent 100%)}
body .gm27-newsletter .newsletter-card h2{font:500 clamp(2.25rem,3.35vw,3.55rem)/.98 'Cormorant Garamond',Georgia,serif!important;letter-spacing:-.025em;max-width:13ch;color:#f7efe7!important;margin:9px 0 0!important}
body .gm27-newsletter .newsletter-form{min-width:min(100%,420px);display:flex;align-items:center;gap:7px;padding:6px;border:1px solid rgba(238,207,160,.25);border-radius:999px;background:rgba(4,19,31,.55);transition:border-color .3s ease,box-shadow .3s ease}
body .gm27-newsletter .newsletter-form:focus-within{border-color:rgba(232,198,145,.75);box-shadow:0 0 0 4px rgba(210,170,111,.09)}
body .gm27-newsletter .newsletter-form input {min-width:0;flex:1;margin:0;padding:12px 16px!important;border:0!important;background:transparent!important;border-radius:999px!important;box-shadow:none!important;color:#f8f0e5!important;outline:0!important;font:500 .86rem/1.25 'Manrope',sans-serif!important}
body .gm27-newsletter .newsletter-form input::placeholder{color:#aebdcc!important;opacity:1}
body .gm27-newsletter .newsletter-form .btn {
  flex:none;min-height:44px!important;padding:0 23px!important;border-radius:999px!important;
  border:1px solid rgba(242,218,181,.8)!important;
  background:linear-gradient(130deg,#c79d61,#efd3a3 45%,#c79860)!important;
  color:#0a1b2b!important;font:800 10px/1 'Manrope',sans-serif!important;letter-spacing:.13em!important;
  transition:transform .3s ease,box-shadow .3s ease!important;
}
body .gm27-newsletter .newsletter-form .btn:hover{transform:translateY(-2px)!important;box-shadow:0 10px 25px rgba(0,0,0,.24)!important}
body .gm27-newsletter .newsletter-form .btn:focus-visible{outline:2px solid #f3dab0;outline-offset:3px}
/* Consistent staggered reveals respect existing site IntersectionObserver. No new runtime. */
@media (prefers-reduced-motion:no-preference) {
  body .gm27-stats .stat-card,body .gm27-membership .mini-benefit,body .gm27-promise .service-promise-card {transition:background .35s ease,transform .4s cubic-bezier(.22,.75,.26,1),border-color .35s ease!important}
}
@media (max-width:1050px){
  body .gm27-hospitality .hospitality-layout,body .gm27-membership .membership-showcase__grid {grid-template-columns:1fr!important;gap:36px!important}
  body .gm27-hospitality .hospitality-copy h2,body .gm27-membership .membership-showcase__copy h2{max-width:18ch}
  body .gm27-hospitality .hospitality-visual {min-height:420px!important}
  body .gm27-categories .category-grid {grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body .gm27-categories .category-card{min-height:290px!important}
}
@media (max-width:760px){
  body .gm27-stats .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body .gm27-stats .stat-card {min-height:145px}
  body .gm27-stats .stat-card:nth-child(3){border-left:0!important}
  body .gm27-stats .stat-card:nth-child(n+3){border-top:1px solid rgba(212,185,139,.2)!important}
  body .gm27-promise .service-promise-grid{grid-template-columns:1fr!important}
  body .gm27-promise .service-promise-card{min-height:0!important;padding:22px 10px!important;border-left:0!important}
  body .gm27-promise .service-promise-card:not(:first-child){border-top:1px solid rgba(218,188,140,.23)!important;border-left:0!important}
  body .gm27-newsletter .newsletter-card{flex-direction:column;align-items:stretch!important}
  body .gm27-newsletter .newsletter-form{width:100%;min-width:0}
}
@media (max-width:520px){
  body .gm27-stats__heading span+span{display:none}
  body .gm27-stats .stat-card{padding:18px 15px!important}
  body .gm27-stats .stat-card p{font-size:.71rem}
  body .gm27-hospitality .hospitality-copy h2{font-size:clamp(2.9rem,11vw,3.7rem)!important}
  body .gm27-hospitality .hospitality-visual{min-height:330px!important}
  body .gm27-hospitality .check-grid{grid-template-columns:1fr!important}
  body .gm27-membership .membership-showcase__cards{gap:9px!important}
  body .gm27-membership .mini-benefit{min-height:122px!important;padding:18px 16px!important}
  body .gm27-membership .mini-benefit h3{font-size:1.52rem!important}
  body .gm27-categories .category-grid{gap:10px!important}
  body .gm27-categories .category-card{min-height:208px!important;padding:14px!important}
  body .gm27-categories .category-card strong{font-size:1.48rem!important}
  body .gm27-categories .category-card::after{width:29px;height:29px;font-size:15px;top:12px!important;right:12px!important}
  body .gm27-newsletter .newsletter-card{padding:26px 21px!important}
  body .gm27-newsletter .newsletter-form{flex-direction:column;align-items:stretch;gap:8px;border-radius:18px;padding:10px}
  body .gm27-newsletter .newsletter-form input{width:100%;flex:auto;padding:13px 14px!important;font-size:.86rem!important;text-align:left}
  body .gm27-newsletter .newsletter-form .btn{width:100%;padding:0 16px!important;min-height:44px!important}
}
@media (prefers-reduced-motion:reduce){
  body .gm27-stats *,body .gm27-hospitality *,body .gm27-membership *,body .gm27-categories *,body .gm27-promise *,body .gm27-newsletter *{animation:none!important;transition:none!important}
}
