/* ==========================================================
   EMPYR LIVINGS — HOME PAGE  (white / navy / gold)
   Loaded after style.css, on index.html only, so nothing
   here can change the other pages.
   ========================================================== */

:root{
  --em-navy:#0B2545;
  --em-navy-2:#071A33;
  --em-gold:#B8912F;
  --em-gold-2:#D9B65C;
  --em-gold-ink:#8C6A1C;
  --em-gold-wash:#FBF6E9;
  --em-ink:#1D2B3A;
  --em-muted:#5D6B7A;
  --em-line:#E3E8EF;
  --em-mist:#F3F6FA;
  --em-ease:cubic-bezier(.22,1,.36,1);
  --em-ease-io:cubic-bezier(.77,0,.18,1);
  --em-serif:'Playfair Display',Georgia,'Times New Roman',serif;
  --em-sans:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
}

/* the hero runs under the nav on this page */
body{ padding-top:0; }
.em-wrap{ max-width:1240px; margin:0 auto; padding:0 32px; }

/* ---------- crawlable fallback: shown only if the scripts never build ---------- */
html.js .em-fb{ display:none; }
html.js .em-fallback .em-fb{ display:block; }
.em-fb-list{ list-style:none; display:grid; gap:10px; }
.em-fb-list a{ color:var(--em-navy); font-weight:600; }

/* ---------- nav: clear over the hero, solid once you scroll ---------- */
nav{ transition:background .4s var(--em-ease), border-color .4s, box-shadow .4s; }
body:not(.em-solid) nav{
  background:transparent; border-bottom-color:transparent;
  -webkit-backdrop-filter:none; backdrop-filter:none;
}
body:not(.em-solid) nav .logo{ color:#fff; }
body:not(.em-solid) nav .logo span{ color:var(--em-gold-2); }
body:not(.em-solid) .nav-center a{ color:rgba(255,255,255,.84); }
body:not(.em-solid) .nav-center a:hover,
body:not(.em-solid) .nav-center a.active{ color:#fff; border-bottom-color:var(--em-gold-2); }
body:not(.em-solid) .nav-hamburger span{ background:#fff; }
body.em-solid nav{ box-shadow:0 8px 30px -12px rgba(11,37,69,.18); }
/* over the hero the white version of the logo is used */
body:not(.em-solid) nav .logo-on-light{ display:none; }
body:not(.em-solid) nav .logo-on-dark{ display:block; }
body:not(.em-solid) nav .logo .logo-text{ color:#fff; }
body:not(.em-solid) nav .logo .logo-text span{ color:var(--em-gold-2); }

/* ==========================================================
   BUTTONS
   ========================================================== */
.em-btn{
  position:relative; isolation:isolate; overflow:hidden;
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  min-height:50px; padding:0 28px; border-radius:999px;
  font:600 .92rem/1 var(--em-sans); letter-spacing:.005em; white-space:nowrap;
  text-decoration:none; cursor:pointer; border:1.5px solid transparent;
  transition:color .45s var(--em-ease), border-color .45s var(--em-ease), background-color .45s;
}
.em-btn::before{
  content:""; position:absolute; inset:0; z-index:-1;
  transform:scaleX(0); transform-origin:right center;
  transition:transform .6s var(--em-ease);
}
.em-btn:hover::before{ transform:scaleX(1); transform-origin:left center; }
.em-btn:focus-visible{ outline:3px solid var(--em-gold-2); outline-offset:3px; }
.em-btn-gold{ background:var(--em-gold); color:#fff; }
.em-btn-gold::before{ background:var(--em-navy); }
.em-btn-navy{ background:var(--em-navy); color:#fff; }
.em-btn-navy::before{ background:var(--em-gold); }
.em-btn-light{ background:#fff; color:var(--em-navy); }
.em-btn-light::before{ background:var(--em-gold); }
.em-btn-light:hover{ color:#fff; }
.em-btn-line{ background:transparent; color:#fff; border-color:rgba(255,255,255,.55); }
.em-btn-line::before{ background:#fff; }
.em-btn-line:hover{ color:var(--em-navy); border-color:#fff; }
.em-btn-outline{ background:transparent; color:var(--em-navy); border-color:var(--em-navy); }
.em-btn-outline::before{ background:var(--em-navy); }
.em-btn-outline:hover{ color:#fff; }
.em-btn-sm{ min-height:38px; padding:0 16px; font-size:.82rem; }
.em-btn-block{ width:100%; }

.em-round{
  width:48px; height:48px; flex:0 0 48px; border-radius:50%;
  display:grid; place-items:center; cursor:pointer;
  background:transparent; color:#fff; border:1px solid rgba(255,255,255,.42);
  transition:background .3s, color .3s, border-color .3s, opacity .3s;
}
.em-round svg{ width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.em-round:hover{ background:#fff; color:var(--em-navy); border-color:#fff; }
.em-round-dark{ background:#fff; color:var(--em-navy); border-color:var(--em-line); }
.em-round-dark:hover{ background:var(--em-navy); color:#fff; border-color:var(--em-navy); }
.em-round:disabled{ opacity:.35; pointer-events:none; }
.em-round:focus-visible{ outline:3px solid var(--em-gold-2); outline-offset:2px; }

.em-textlink{
  color:var(--em-navy); font-weight:600; font-size:.92rem; white-space:nowrap;
  text-decoration:none; padding-bottom:3px;
  background:linear-gradient(var(--em-gold),var(--em-gold)) left bottom / 100% 1.5px no-repeat;
  transition:background-size .5s var(--em-ease);
}
.em-textlink:hover{ background-size:40% 1.5px; }

/* ==========================================================
   GENERATED ARTWORK
   ========================================================== */
.em-scene{ position:absolute; inset:0; width:100%; height:100%; display:block; }
.em-art{ position:absolute; inset:0; display:block; overflow:hidden; background:var(--em-navy); }
.em-art img,
.em-kb img,
.em-loc-art img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  opacity:0; transition:opacity .8s var(--em-ease);
}
.em-art img.ok, .em-kb img.ok, .em-loc-art img.ok{ opacity:1; }

/* living details, only where they are seen: the active hero slide,
   the open region panel and the site-visit band */
.em-hs.on .is-live .l-cloud, .em-hs.was .is-live .l-cloud,
.em-region.on .is-live .l-cloud, .em-visit .is-live .l-cloud{ animation:em-drift 28s linear infinite alternate; }
.em-hs.on .is-live .l-far{ animation:em-far 9s var(--em-ease) both; }
.em-hs.on .is-live .l-shim, .em-hs.was .is-live .l-shim,
.em-region.on .is-live .l-shim, .em-visit .is-live .l-shim{ animation:em-shim 4.5s ease-in-out infinite alternate; }
.em-hs.on .is-live .em-tw, .em-region.on .is-live .em-tw, .em-visit .is-live .em-tw{ animation:em-tw 3.4s ease-in-out infinite; }
.em-tw2{ animation-delay:1.1s !important; }
.em-tw3{ animation-delay:2.2s !important; }
.em-hs.on .is-live .em-trail, .em-region.on .is-live .em-trail, .em-visit .is-live .em-trail{ animation:em-trail 2.6s linear infinite; }
.em-trail2{ animation-direction:reverse !important; }
.em-hero.is-off .em-scene *{ animation-play-state:paused !important; }

@keyframes em-drift{ from{ transform:translateX(-40px); } to{ transform:translateX(60px); } }
@keyframes em-far{ from{ transform:translateX(-26px); } to{ transform:translateX(0); } }
@keyframes em-shim{ from{ transform:translateX(-18px); opacity:.55; } to{ transform:translateX(18px); opacity:1; } }
@keyframes em-tw{ 0%,100%{ opacity:1; } 50%{ opacity:.15; } }
@keyframes em-trail{ to{ stroke-dashoffset:-152; } }

/* ==========================================================
   INTRO (first page of a visit only)
   ========================================================== */
.em-loader{ display:none; }
html.em-intro .em-loader{
  display:flex; align-items:center; justify-content:center;
  position:fixed; inset:0; z-index:1000; background:#fff; pointer-events:none;
  animation:em-loader-out .9s var(--em-ease-io) 1.15s forwards;
}
.em-loader-word{ display:block; overflow:hidden; padding-bottom:.12em; }
.em-loader-word em{ font-style:italic; color:var(--em-gold); }
.em-loader-word span{
  display:block; font-family:var(--em-serif); font-weight:400;
  font-size:clamp(1.9rem,4vw,2.9rem); color:var(--em-navy); letter-spacing:.01em;
  animation:em-up .9s var(--em-ease) .1s both;
}
.em-loader-line{
  display:block; height:1.5px; margin-top:12px; background:var(--em-gold);
  transform-origin:left center; animation:em-grow 1s var(--em-ease) .35s both;
}
@keyframes em-loader-out{ to{ clip-path:inset(0 0 100% 0); visibility:hidden; } }
@keyframes em-up{ from{ transform:translateY(110%); } to{ transform:none; } }
@keyframes em-grow{ from{ transform:scaleX(0); } }

/* ==========================================================
   HERO SLIDER
   ========================================================== */
.em-hero-wrap{ padding:0; position:relative; }
.em-hero{
  position:relative; overflow:hidden; isolation:isolate; color:#fff;
  height:100vh; height:100svh; min-height:640px; max-height:960px;
  background:linear-gradient(180deg,#0B1C3A 0%,#23386A 52%,#8C7A93 80%,#DCAC78 100%);
}
.em-hs-track{ position:absolute; inset:0; }
.em-hs{ position:absolute; inset:0; visibility:hidden; }
.em-hs.on, .em-hs.was{ visibility:visible; }
.em-hs.was{ z-index:1; }
.em-hs.on{ z-index:2; animation:em-wipe 1.2s var(--em-ease-io) both; }
.em-hs.on.first{ animation:none; }
@keyframes em-wipe{ from{ clip-path:inset(0 0 0 100%); } to{ clip-path:inset(0 0 0 0); } }
@keyframes em-wipe-back{ from{ clip-path:inset(0 100% 0 0); } to{ clip-path:inset(0 0 0 0); } }

.em-hs-media{ position:absolute; inset:0; overflow:hidden; }
.em-kb{ position:absolute; inset:0; transform-origin:58% 62%; will-change:transform; }
.em-hs.on .em-kb, .em-hs.was .em-kb{ animation:em-kb 9s linear both; }
@keyframes em-kb{ from{ transform:scale(1.12); } to{ transform:scale(1); } }
@keyframes em-kb-soft{ from{ transform:scale(1.05); } to{ transform:scale(1); } }
.em-kb picture{ position:absolute; inset:0; }

.em-hs-media::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:
    linear-gradient(180deg, rgba(7,26,51,.62) 0%, rgba(7,26,51,0) 24%),
    linear-gradient(0deg, rgba(7,26,51,.92) 0%, rgba(7,26,51,.5) 30%, rgba(7,26,51,0) 60%),
    linear-gradient(90deg, rgba(7,26,51,.55) 0%, rgba(7,26,51,0) 58%);
}

.em-hs-copy{ position:absolute; left:0; right:0; bottom:calc(214px + 4vh); z-index:3; }
.em-hs-eyebrow, .em-hs-title, .em-hs-sub, .em-hs-cta{ overflow:hidden; padding-bottom:.14em; margin-bottom:-.14em; }
.em-hs-eyebrow > span, .em-hs-title > span, .em-hs-sub > span, .em-hs-cta > span{
  display:block; transform:translateY(112%);
  transition:transform .9s var(--em-ease);
}
.em-hs-eyebrow{ font-size:.86rem; font-weight:500; color:var(--em-gold-2); margin-bottom:16px; }
.em-hs-eyebrow > span{ display:flex; align-items:center; gap:12px; }
.em-hs-eyebrow > span::before{ content:""; width:34px; height:1px; background:currentColor; flex:0 0 34px; }
.em-hs-title{
  font-family:var(--em-serif); font-weight:400; letter-spacing:-.022em;
  font-size:clamp(2.6rem,6.2vw,5.6rem); line-height:1.02; max-width:13ch;
  text-wrap:balance; text-shadow:0 2px 30px rgba(7,26,51,.35);
}
.em-hs-sub{ margin-top:18px; font-size:clamp(1rem,1.25vw,1.16rem); color:rgba(255,255,255,.84); max-width:46ch; }
.em-hs-cta{ margin-top:30px; }
.em-hs-cta > span{ display:flex; gap:12px; flex-wrap:wrap; padding:3px; }

.em-hs.on .em-hs-eyebrow > span{ transform:none; transition-delay:.5s; }
.em-hs.on .em-hs-title > span{ transform:none; transition-delay:.6s; }
.em-hs.on .em-hs-sub > span{ transform:none; transition-delay:.72s; }
.em-hs.on .em-hs-cta > span{ transform:none; transition-delay:.84s; }
/* first slide: play the same rise on load, after the intro if it's showing */
.em-hs.first .em-hs-eyebrow > span{ animation:em-up 1s var(--em-ease) both; animation-delay:calc(.15s + var(--em-intro,0ms)); }
.em-hs.first .em-hs-title > span{ animation:em-up 1.1s var(--em-ease) both; animation-delay:calc(.25s + var(--em-intro,0ms)); }
.em-hs.first .em-hs-sub > span{ animation:em-up 1s var(--em-ease) both; animation-delay:calc(.4s + var(--em-intro,0ms)); }
.em-hs.first .em-hs-cta > span{ animation:em-up 1s var(--em-ease) both; animation-delay:calc(.52s + var(--em-intro,0ms)); }

.em-hs-bar{ position:absolute; left:0; right:0; bottom:118px; z-index:4; }
.em-hs-bar-in{ display:flex; align-items:flex-end; justify-content:space-between; gap:40px; }
.em-hs-tabs{ flex:1; max-width:900px; display:grid; grid-auto-flow:column; grid-auto-columns:minmax(0,1fr); gap:20px; }
.em-hs-tab{
  position:relative; padding:16px 0 0; background:none; border:0; cursor:pointer;
  text-align:left; font:inherit; color:rgba(255,255,255,.58); transition:color .3s;
}
.em-hs-tab:hover, .em-hs-tab.on{ color:#fff; }
.em-hs-tab:focus-visible{ outline:2px solid var(--em-gold-2); outline-offset:6px; }
.em-hs-prog{ position:absolute; top:0; left:0; right:0; height:2px; overflow:hidden; background:rgba(255,255,255,.22); }
.em-hs-prog b{ position:absolute; inset:0; background:var(--em-gold-2); transform:scaleX(0); transform-origin:left center; }
.em-hs-tab-n{ display:block; font-size:.74rem; color:var(--em-gold-2); font-variant-numeric:tabular-nums; margin-bottom:5px; }
.em-hs-tab-t{ display:block; font-size:.9rem; font-weight:500; line-height:1.3; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.em-hs-tab-t small{ display:block; font-size:.76rem; font-weight:400; opacity:.72; margin-top:1px; }
.em-hs-nav{ display:flex; align-items:center; gap:10px; }
.em-hs-count{ font-size:.9rem; color:rgba(255,255,255,.66); margin-right:8px; font-variant-numeric:tabular-nums; }
.em-hs-count b{ color:#fff; font-weight:600; }
.em-hero.is-still .em-hs-prog b{ transform:scaleX(1); }

.em-hero-fb{ position:absolute; left:0; right:0; bottom:220px; z-index:3; }

/* ==========================================================
   H1 + SEARCH CARD
   ========================================================== */
.em-find{ position:relative; z-index:6; padding:0 0 12px; background:#fff; }
.em-find-card{
  position:relative; margin-top:-86px;
  display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.35fr); gap:18px 48px; align-items:center;
  padding:34px 38px; background:#fff; border-radius:24px;
  box-shadow:0 40px 80px -30px rgba(11,37,69,.32), 0 2px 8px rgba(11,37,69,.05);
  animation:em-card-in 1.1s var(--em-ease) .35s both;
}
html.em-intro .em-find-card{ animation-delay:1.55s; }
@keyframes em-card-in{ from{ opacity:0; transform:translateY(40px); } }
.em-find-head h1{
  font-family:var(--em-serif); font-weight:500; color:var(--em-navy);
  font-size:clamp(1.55rem,2.3vw,2.1rem); line-height:1.14; letter-spacing:-.012em; text-wrap:balance;
}
.em-find-head p{ margin-top:12px; color:var(--em-muted); font-size:.95rem; }
.em-find-head p span{ color:var(--em-navy); font-weight:600; font-variant-numeric:tabular-nums; }

.em-stage{ display:flex; gap:6px; flex-wrap:wrap; margin-bottom:12px; }
.em-stage button{
  border:1px solid var(--em-line); background:#fff; color:var(--em-ink); cursor:pointer;
  font:500 .82rem/1 var(--em-sans); padding:9px 14px; border-radius:999px; white-space:nowrap;
  transition:background .25s, color .25s, border-color .25s;
}
.em-stage button:hover{ border-color:var(--em-navy); }
.em-stage button[aria-pressed="true"]{ background:var(--em-navy); border-color:var(--em-navy); color:#fff; }

.em-search-row{
  position:relative; display:flex; align-items:center; gap:10px;
  padding:5px 5px 5px 18px; border:1.5px solid var(--em-line); border-radius:999px; background:#fff;
  transition:border-color .25s, box-shadow .25s;
}
.em-search-row:focus-within{ border-color:var(--em-gold); box-shadow:0 0 0 4px rgba(184,145,47,.13); }
.em-search-ico svg{ width:20px; height:20px; display:block; fill:none; stroke:var(--em-muted); stroke-width:1.8; stroke-linecap:round; }
.em-search-row input{
  flex:1; min-width:0; border:0; outline:0; background:transparent;
  font:400 1rem var(--em-sans); color:var(--em-ink); padding:11px 0;
}
.em-search-row input::-webkit-search-cancel-button{ display:none; }
.em-search-row .em-btn{ min-height:48px; }
.em-search-go svg{ display:none; width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:2.2; stroke-linecap:round; }
.em-step-s{ display:none; }
.em-sugg{
  position:absolute; left:0; right:0; top:calc(100% + 10px); z-index:30;
  list-style:none; padding:8px; max-height:380px; overflow:auto;
  background:#fff; border:1px solid var(--em-line); border-radius:18px;
  box-shadow:0 30px 70px -20px rgba(11,37,69,.35);
}
.em-sugg a{
  display:flex; align-items:baseline; justify-content:space-between; gap:18px;
  padding:12px 14px; border-radius:11px; color:var(--em-ink); text-decoration:none; font-size:.95rem;
}
.em-sugg a b{ color:var(--em-gold-ink); font-weight:700; }
.em-sugg small{ color:var(--em-muted); font-size:.8rem; white-space:nowrap; }
.em-sugg li[aria-selected="true"] a, .em-sugg a:hover{ background:var(--em-mist); }
.em-sugg-none{ padding:12px 14px; color:var(--em-muted); font-size:.9rem; }
.em-quick{ display:flex; flex-wrap:wrap; align-items:center; gap:6px 16px; margin-top:14px; font-size:.84rem; }
.em-quick span{ color:var(--em-muted); }
.em-quick a{ color:var(--em-navy); text-decoration:none; border-bottom:1px solid var(--em-line); transition:border-color .25s; }
.em-quick a:hover{ border-bottom-color:var(--em-gold); }

/* stats (markup from app.js buildStats) */
.stat-row.em-stats{ margin-top:52px; padding:0; border-top:1px solid var(--em-line); border-bottom:1px solid var(--em-line); }
.em-stats .stat-cell{ padding:28px 12px; border-right:1px solid var(--em-line); }
.em-stats .stat-cell:last-child{ border-right:0; }
.em-stats .stat-cell b{ color:var(--em-navy); font-weight:500; font-size:clamp(1.6rem,2.5vw,2.25rem); }
.em-stats .stat-cell span{ text-transform:none; letter-spacing:0; font-size:.84rem; margin-top:8px; }

.em-devs{ padding:40px 0 56px; }
.em-devs-label{ text-align:center; color:var(--em-muted); font-size:.86rem; margin-bottom:18px; }
.em-devs .dev-logo{ border-color:transparent; background:var(--em-mist); }

/* ==========================================================
   SECTIONS
   ========================================================== */
.em-sec{ padding:118px 0; }
.em-sec-mist{ background:var(--em-mist); }
.em-sec-tight{ padding:24px 0 118px; }
.em-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:28px; margin-bottom:46px; }
.em-head-stack{ display:block; }
.em-rule{ display:block; width:56px; height:2px; background:var(--em-gold); margin-bottom:22px; }
.em-h2{
  font-family:var(--em-serif); font-weight:500; color:var(--em-navy);
  font-size:clamp(2rem,3.9vw,3.3rem); line-height:1.06; letter-spacing:-.02em;
  max-width:17ch; text-wrap:balance;
}
.em-lede{ margin-top:16px; color:var(--em-muted); font-size:1.06rem; max-width:52ch; text-wrap:pretty; }
.em-lede a{ color:var(--em-navy); font-weight:600; text-decoration:none; }
.em-mask{ display:block; overflow:hidden; padding-bottom:.12em; margin-bottom:-.12em; }
.em-rise{ display:block; }
.em-ctrl{ display:flex; align-items:center; gap:10px; }

/* ==========================================================
   SIGNATURE COLLECTION
   ========================================================== */
.em-sig{
  display:grid; grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);
  min-height:580px; background:#fff; border-radius:28px; overflow:hidden;
  box-shadow:0 50px 100px -50px rgba(11,37,69,.45);
}
.em-sig-arts{ position:relative; overflow:hidden; min-height:580px; background:var(--em-navy); }
.em-sig-art{ position:absolute; inset:0; display:block; visibility:hidden; }
.em-sig-art.on, .em-sig-art.was{ visibility:visible; }
.em-sig-art.was{ z-index:1; }
.em-sig-art.on{ z-index:2; animation:em-wipe 1.15s var(--em-ease-io) both; }
.em-sig-art.on.back{ animation-name:em-wipe-back; }
.em-sig-par{ position:absolute; inset:-7% 0; display:block; }
.em-sig-art .em-art{ transform-origin:50% 70%; }
.em-sig-art.on .em-art{ animation:em-settle 1.7s var(--em-ease) both; }
@keyframes em-settle{ from{ transform:scale(1.12); } to{ transform:scale(1); } }
.em-sig-arts::after{
  content:""; position:absolute; inset:0; z-index:3; pointer-events:none;
  background:linear-gradient(0deg, rgba(7,26,51,.55) 0%, rgba(7,26,51,0) 32%);
}
.em-sig-stamp{ position:absolute; left:30px; bottom:22px; z-index:4; color:rgba(255,255,255,.72); font-family:var(--em-serif); font-size:1.05rem; }
.em-sig-stamp b{ color:#fff; font-weight:400; font-size:2.8rem; margin-right:4px; font-variant-numeric:tabular-nums; }

.em-sig-info{ display:flex; padding:50px 48px 44px; }
.em-sig-card{ display:flex; flex-direction:column; width:100%; }
.em-sig-card[hidden]{ display:none; }
.em-sig-card > *{ opacity:0; transform:translateY(18px); transition:opacity .6s var(--em-ease), transform .9s var(--em-ease); }
.em-sig-card.on > *{ opacity:1; transform:none; }
.em-sig-card.on > :nth-child(2){ transition-delay:.06s; }
.em-sig-card.on > :nth-child(3){ transition-delay:.12s; }
.em-sig-card.on > :nth-child(4){ transition-delay:.18s; }
.em-sig-card.on > :nth-child(5){ transition-delay:.24s; }
.em-sig-card.on > :nth-child(6){ transition-delay:.3s; }
.em-sig-card.on > :nth-child(7){ transition-delay:.36s; }
.em-sig-dev{ color:var(--em-gold-ink); font-size:.86rem; font-weight:600; }
.em-sig-name{ margin-top:10px; font-family:var(--em-serif); font-weight:500; font-size:clamp(1.9rem,2.8vw,2.6rem); line-height:1.06; letter-spacing:-.015em; }
.em-sig-name a{ color:var(--em-navy); text-decoration:none; }
.em-sig-loc{ margin-top:8px; color:var(--em-muted); }
.em-sig-tag{ margin-top:18px; color:var(--em-ink); line-height:1.6; }
.em-facts{ display:grid; grid-template-columns:1fr 1fr; margin-top:26px; border-top:1px solid var(--em-line); }
.em-facts div{ padding:14px 0; border-bottom:1px solid var(--em-line); }
.em-facts div:nth-child(odd){ padding-right:16px; border-right:1px solid var(--em-line); }
.em-facts div:nth-child(even){ padding-left:18px; }
.em-facts dt{ font-size:.76rem; color:var(--em-muted); }
.em-facts dd{ margin-top:3px; font-weight:600; color:var(--em-navy); font-size:.98rem; }
.em-sig-hl{ list-style:none; margin-top:20px; display:grid; gap:8px; }
.em-sig-hl li{ position:relative; padding-left:22px; font-size:.92rem; color:var(--em-ink); }
.em-sig-hl li::before{ content:""; position:absolute; left:0; top:.66em; width:11px; height:1.5px; background:var(--em-gold); }
.em-sig-cta{ margin-top:auto; padding-top:28px; display:flex; flex-wrap:wrap; gap:10px; }

.em-sig-thumbs{ display:flex; gap:12px; margin:10px -4px 0; overflow-x:auto; scrollbar-width:none; padding:12px 4px 26px; }
.em-sig-thumbs::-webkit-scrollbar{ display:none; }
.em-sig-thumb{
  flex:0 0 auto; display:flex; align-items:center; gap:12px; cursor:pointer;
  padding:7px 18px 7px 7px; border-radius:14px; background:#fff; border:1px solid var(--em-line);
  font:inherit; text-align:left; transition:border-color .3s, box-shadow .3s, transform .3s var(--em-ease);
}
.em-sig-thumb:hover{ transform:translateY(-2px); }
.em-sig-thumb .em-scene{ position:static; flex:0 0 64px; width:64px; height:48px; border-radius:9px; }
.em-sig-thumb b{ display:block; font-size:.86rem; font-weight:600; color:var(--em-navy); white-space:nowrap; }
.em-sig-thumb small{ font-size:.76rem; color:var(--em-muted); }
.em-sig-thumb.on{ border-color:var(--em-gold); box-shadow:0 12px 26px -14px rgba(184,145,47,.8); }

/* ==========================================================
   EXPLORE: tabs, chips, rail, cards
   ========================================================== */
.em-tabs{ display:flex; gap:34px; border-bottom:1px solid var(--em-line); margin-bottom:22px; overflow-x:auto; scrollbar-width:none; }
.em-tabs::-webkit-scrollbar{ display:none; }
.em-tab{
  position:relative; padding:0 0 15px; background:none; border:0; cursor:pointer; white-space:nowrap;
  font:500 1.04rem var(--em-sans); color:var(--em-muted); transition:color .3s;
}
.em-tab span{ margin-left:7px; font-size:.78rem; font-variant-numeric:tabular-nums; }
.em-tab::after{
  content:""; position:absolute; left:0; right:0; bottom:-1px; height:2px; background:var(--em-gold);
  transform:scaleX(0); transform-origin:left center; transition:transform .55s var(--em-ease);
}
.em-tab:hover, .em-tab[aria-selected="true"]{ color:var(--em-navy); }
.em-tab[aria-selected="true"]::after{ transform:none; }
.em-tab:focus-visible, .em-chip:focus-visible{ outline:2px solid var(--em-gold); outline-offset:4px; }

.em-chips{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:26px; }
.em-chip{
  border:1px solid var(--em-line); background:#fff; border-radius:999px; cursor:pointer;
  padding:9px 16px; font:500 .86rem var(--em-sans); color:var(--em-ink);
  transition:background .25s, color .25s, border-color .25s;
}
.em-chip span{ margin-left:3px; color:var(--em-muted); }
.em-chip:hover{ border-color:var(--em-navy); }
.em-chip[aria-pressed="true"]{ background:var(--em-navy); border-color:var(--em-navy); color:#fff; }
.em-chip[aria-pressed="true"] span{ color:rgba(255,255,255,.7); }
.em-chip:disabled{ opacity:.4; pointer-events:none; }

#explore, #localities{ overflow-x:clip; }
.em-rail{
  display:flex; gap:22px; overflow-x:auto; overscroll-behavior-x:contain;
  scroll-snap-type:x mandatory; scroll-padding:0 32px; scrollbar-width:none;
  margin:0 -32px; padding:8px 32px 30px; cursor:grab;
}
/* on wide screens the rail runs off the right edge, so the next card peeks in */
@media (min-width:1241px){
  .em-rail{ margin-right:calc(50% - 50vw); padding-right:calc(50vw - 50%); }
}
.em-rail::-webkit-scrollbar{ display:none; }
.em-rail > *{ scroll-snap-align:start; }
.em-rail.is-drag{ cursor:grabbing; scroll-snap-type:none; user-select:none; }
.em-rail.is-drag a{ pointer-events:none; }
.em-rail.em-in > *{ animation:em-card-rise .75s var(--em-ease) both; animation-delay:calc(var(--i, 0) * 55ms); }
@keyframes em-card-rise{ from{ opacity:0; transform:translateY(26px); } }

.em-card{
  position:relative; flex:0 0 calc((100% - 66px) / 4); min-width:258px;
  display:flex; flex-direction:column; background:#fff;
  border:1px solid var(--em-line); border-radius:20px; overflow:hidden;
  transition:transform .55s var(--em-ease), box-shadow .55s var(--em-ease), border-color .3s;
}
.em-card:hover{ transform:translateY(-6px); border-color:transparent; box-shadow:0 34px 60px -30px rgba(11,37,69,.4); }
.em-card-art{ position:relative; display:block; aspect-ratio:4 / 3; overflow:hidden; background:var(--em-navy); }
.em-card-art .em-art{ transition:transform 1.2s var(--em-ease); }
.em-card:hover .em-card-art .em-art{ transform:scale(1.07); }
.em-tag{
  position:absolute; left:14px; top:14px; z-index:2;
  display:inline-flex; align-items:center; gap:7px;
  padding:6px 12px 6px 10px; border-radius:999px;
  font-size:.74rem; font-weight:600; color:var(--em-navy);
  background:rgba(255,255,255,.94); -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px);
}
.em-tag::before{ content:""; width:7px; height:7px; border-radius:50%; background:var(--dot, var(--em-navy)); }
.em-tag-new-launch{ --dot:var(--em-gold); }
.em-tag-under-construction{ --dot:#3E6DB5; }
.em-tag-ready{ --dot:#1C7A55; }
.em-card .card-save{ z-index:4; }
.em-card-body{ display:flex; flex-direction:column; flex:1; padding:18px 20px 20px; }
.em-card-dev{ font-size:.78rem; font-weight:600; color:var(--em-gold-ink); }
.em-card-name{ margin-top:4px; font-family:var(--em-serif); font-weight:500; font-size:1.34rem; line-height:1.2; }
.em-card-name a{ color:var(--em-navy); text-decoration:none; }
.em-card-name a::after{ content:""; position:absolute; inset:0; z-index:1; }
.em-card-loc{ margin-top:4px; font-size:.86rem; color:var(--em-muted); }
.em-card-meta{ display:grid; gap:2px; margin:12px 0 16px; font-size:.84rem; color:var(--em-muted); }
.em-card-meta span:first-child{ color:var(--em-ink); font-weight:500; }
.em-card-foot{ margin-top:auto; padding-top:14px; border-top:1px solid var(--em-line); display:grid; gap:12px; }
.em-card-row{ display:flex; align-items:center; justify-content:space-between; gap:10px; }
.em-card-price small{ display:block; font-size:.72rem; color:var(--em-muted); }
.em-card-price b{ font-family:var(--em-serif); font-size:1.2rem; font-weight:600; color:var(--em-navy); white-space:nowrap; }
.em-card-foot .em-btn, .em-card-foot .em-wa{ position:relative; z-index:3; }
.em-wa{
  flex:0 0 38px; width:38px; height:38px; border-radius:50%; display:grid; place-items:center;
  border:1px solid var(--em-line); transition:background .25s, border-color .25s;
}
.em-wa svg{ width:18px; height:18px; fill:#25D366; transition:fill .25s; }
.em-wa:hover{ background:#25D366; border-color:#25D366; }
.em-wa:hover svg{ fill:#fff; }

.em-card-more{
  align-items:center; justify-content:center; text-align:center; gap:14px; padding:34px 26px;
  background:var(--em-navy); border-color:var(--em-navy); color:#fff; text-decoration:none; font-weight:500;
}
.em-card-more:hover{ background:var(--em-navy-2); }
.em-card-more-n{ font-family:var(--em-serif); font-size:3.6rem; line-height:1; color:var(--em-gold-2); }

.em-rail-foot{ display:flex; align-items:center; gap:26px; margin-top:6px; }
.em-rail-track{ flex:1; height:2px; position:relative; overflow:hidden; background:var(--em-line); border-radius:2px; }
.em-rail-track i{ position:absolute; top:0; bottom:0; left:0; width:30%; background:var(--em-navy); border-radius:2px; }
.em-rail-btns{ display:flex; gap:8px; }

.em-early{
  margin-top:40px; display:flex; align-items:center; justify-content:space-between; gap:26px;
  padding:24px 28px; border-radius:20px; border:1px solid #EFE3C2;
  background:linear-gradient(100deg, var(--em-gold-wash) 0%, #fff 75%);
}
.em-early p{ color:var(--em-ink); max-width:64ch; }
.em-early b{ color:var(--em-navy); }

/* ==========================================================
   REGIONS
   ========================================================== */
.em-regions{ display:flex; gap:16px; height:580px; }
.em-region{
  position:relative; flex:1 1 0; min-width:0; isolation:isolate;
  border-radius:26px; overflow:hidden; color:#fff; text-decoration:none; background:var(--em-navy);
  transition:flex-grow 1s var(--em-ease);
}
.em-region.on{ flex-grow:2.2; }
.em-region:focus-visible{ outline:3px solid var(--em-gold); outline-offset:3px; }
.em-region-art{ position:absolute; inset:-6% 0; display:block; }
.em-region::after{
  content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background:linear-gradient(0deg, rgba(7,26,51,.9) 0%, rgba(7,26,51,.35) 42%, rgba(7,26,51,0) 70%);
}
.em-region-copy{ position:absolute; left:0; right:0; bottom:0; z-index:2; padding:32px; display:flex; flex-direction:column; }
.em-region-n{ font-size:.84rem; font-weight:600; color:var(--em-gold-2); }
.em-region-name{ margin-top:8px; font-family:var(--em-serif); font-weight:500; font-size:clamp(1.6rem,2.4vw,2.35rem); line-height:1.08; }
.em-region-blurb, .em-region-go{ opacity:0; transform:translateY(14px); transition:opacity .5s, transform .8s var(--em-ease); }
.em-region-blurb{ margin-top:10px; font-size:.94rem; color:rgba(255,255,255,.8); max-width:40ch; }
.em-region-go{ align-self:flex-start; margin-top:18px; padding-bottom:3px; font-size:.9rem; font-weight:600; border-bottom:1.5px solid var(--em-gold-2); }
.em-region.on .em-region-blurb, .em-region.on .em-region-go{ opacity:1; transform:none; transition-delay:.25s; }

/* ==========================================================
   LOCALITIES
   ========================================================== */
.em-loc-rail{ gap:18px; }
.em-loc{
  position:relative; flex:0 0 228px; aspect-ratio:3 / 4; display:block; isolation:isolate;
  border-radius:20px; overflow:hidden; color:#fff; text-decoration:none; background:var(--em-navy);
}
.em-loc-art{ position:absolute; inset:0; display:block; transition:transform 1.2s var(--em-ease); }
.em-loc:hover .em-loc-art{ transform:scale(1.07); }
.em-loc::after{
  content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background:linear-gradient(0deg, rgba(7,26,51,.88) 0%, rgba(7,26,51,0) 55%);
}
.em-loc-copy{ position:absolute; left:18px; right:18px; bottom:16px; z-index:2; }
.em-loc-copy b{ display:block; font-family:var(--em-serif); font-weight:500; font-size:1.34rem; line-height:1.15; }
.em-loc-copy small{ font-size:.8rem; color:rgba(255,255,255,.76); }
.em-loc:focus-visible{ outline:3px solid var(--em-gold); outline-offset:3px; }

/* ==========================================================
   HOW WE WORK
   ========================================================== */
.em-how{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.15fr); gap:90px; align-items:start; }
.em-how-side{ position:sticky; top:130px; }
.em-how-side .em-head{ margin-bottom:32px; }
.em-steps{ position:relative; padding-left:64px; }
.em-steps-line{ position:absolute; left:19px; top:10px; bottom:10px; width:2px; background:var(--em-line); }
.em-steps-fill{ position:absolute; inset:0; background:var(--em-gold); transform:scaleY(0); transform-origin:top center; }
.em-steps ol{ list-style:none; display:grid; gap:70px; }
.em-step{ position:relative; transition:opacity .7s var(--em-ease); }
html.js .em-step{ opacity:.32; }
html.js .em-step.on{ opacity:1; }
.em-step-n{
  position:absolute; left:-64px; top:0; width:40px; height:40px; border-radius:50%;
  display:grid; place-items:center; background:#fff; border:1.5px solid var(--em-line);
  font-size:.78rem; font-weight:600; color:var(--em-muted); font-variant-numeric:tabular-nums;
  transition:border-color .5s, color .5s, background .5s;
}
.em-step.on .em-step-n{ border-color:var(--em-gold); color:var(--em-gold-ink); background:var(--em-gold-wash); }
.em-step h3{ font-family:var(--em-serif); font-weight:500; font-size:1.75rem; line-height:1.2; color:var(--em-navy); padding-top:2px; }
.em-step p{ margin-top:12px; color:var(--em-muted); font-size:1.02rem; line-height:1.72; max-width:50ch; }

/* ==========================================================
   SITE VISIT BAND + SERVICES
   ========================================================== */
.em-visit{
  position:relative; isolation:isolate; overflow:hidden; min-height:460px;
  display:flex; align-items:center; border-radius:30px; background:var(--em-navy); color:#fff;
}
.em-visit-art{ position:absolute; inset:0; overflow:hidden; }
.em-visit-par{ position:absolute; inset:-8% 0; }
.em-visit::after{
  content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background:linear-gradient(90deg, rgba(7,26,51,.94) 0%, rgba(7,26,51,.72) 36%, rgba(7,26,51,0) 70%);
}
.em-visit-copy{ position:relative; z-index:2; padding:68px; max-width:620px; }
.em-visit-copy h2{ font-family:var(--em-serif); font-weight:500; font-size:clamp(2rem,3.6vw,3.1rem); line-height:1.06; letter-spacing:-.015em; }
.em-visit-copy p{ margin-top:16px; color:rgba(255,255,255,.8); font-size:1.06rem; max-width:40ch; }
.em-visit-cta{ display:flex; flex-wrap:wrap; gap:12px; margin-top:32px; }

.em-services{ display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:16px; margin-top:56px; }
.em-services-h{ grid-column:1 / -1; font-family:var(--em-serif); font-weight:500; font-size:1.55rem; color:var(--em-navy); margin-bottom:4px; }
.em-service{
  display:flex; flex-direction:column; gap:6px; padding:24px 22px; border-radius:20px;
  background:#fff; border:1px solid var(--em-line); text-decoration:none;
  transition:border-color .3s, transform .5s var(--em-ease), box-shadow .5s var(--em-ease);
}
.em-service svg{ width:30px; height:30px; margin-bottom:10px; fill:none; stroke:var(--em-gold); stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
.em-service b{ color:var(--em-navy); font-size:1rem; }
.em-service span{ color:var(--em-muted); font-size:.86rem; line-height:1.5; }
.em-service:hover{ border-color:var(--em-gold); transform:translateY(-4px); box-shadow:0 24px 40px -26px rgba(11,37,69,.4); }

/* ==========================================================
   FAQ
   ========================================================== */
.em-faq-wrap{ display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:80px; align-items:start; }
.em-faq details{ border-bottom:1px solid #D8E0EA; }
.em-faq details:first-child{ border-top:1px solid #D8E0EA; }
.em-faq summary{
  list-style:none; cursor:pointer; display:flex; align-items:center; justify-content:space-between; gap:24px;
  padding:24px 0; font-family:var(--em-serif); font-weight:500; font-size:1.24rem; line-height:1.32; color:var(--em-navy);
}
.em-faq summary::-webkit-details-marker{ display:none; }
.em-faq summary:focus-visible{ outline:2px solid var(--em-gold); outline-offset:4px; }
.em-faq summary i{
  position:relative; flex:0 0 32px; height:32px; border-radius:50%; border:1px solid #C9D3E0;
  transition:background .35s, border-color .35s;
}
.em-faq summary i::before, .em-faq summary i::after{
  content:""; position:absolute; left:50%; top:50%; width:12px; height:1.5px; background:var(--em-navy);
  transform:translate(-50%,-50%); transition:transform .45s var(--em-ease), background .35s;
}
.em-faq summary i::after{ transform:translate(-50%,-50%) rotate(90deg); }
.em-faq details[open] summary i{ background:var(--em-navy); border-color:var(--em-navy); }
.em-faq details[open] summary i::before, .em-faq details[open] summary i::after{ background:#fff; }
.em-faq details[open] summary i::after{ transform:translate(-50%,-50%) rotate(0deg); }
.em-faq details p{ padding:0 48px 26px 0; color:var(--em-muted); line-height:1.75; max-width:64ch; }
@supports (interpolate-size:allow-keywords){
  :root{ interpolate-size:allow-keywords; }
  .em-faq details::details-content{
    height:0; overflow:clip;
    transition:height .5s var(--em-ease), content-visibility .5s allow-discrete;
  }
  .em-faq details[open]::details-content{ height:auto; }
}

/* ==========================================================
   GUIDES
   ========================================================== */
.em-guides{ display:grid; grid-template-columns:1.3fr 1fr 1fr; gap:20px; }
.em-guide{
  display:flex; flex-direction:column; min-height:290px; padding:32px 30px;
  border-radius:22px; border:1px solid var(--em-line); background:#fff; text-decoration:none;
  transition:transform .5s var(--em-ease), box-shadow .5s var(--em-ease), border-color .3s;
}
.em-guide:hover{ transform:translateY(-4px); border-color:transparent; box-shadow:0 30px 50px -30px rgba(11,37,69,.45); }
.em-guide-lead{ background:var(--em-navy); border-color:var(--em-navy); }
.em-guide-cat{ font-size:.8rem; font-weight:600; color:var(--em-gold-ink); }
.em-guide h3{ margin-top:14px; font-family:var(--em-serif); font-weight:500; font-size:1.42rem; line-height:1.24; color:var(--em-navy); }
.em-guide p{ margin-top:12px; font-size:.93rem; line-height:1.62; color:var(--em-muted); }
.em-guide-meta{ margin-top:auto; padding-top:24px; display:flex; align-items:center; gap:10px; font-size:.8rem; color:var(--em-muted); }
.em-guide-meta i{ width:4px; height:4px; border-radius:50%; background:currentColor; opacity:.5; }
.em-guide-lead .em-guide-cat{ color:var(--em-gold-2); }
.em-guide-lead h3{ color:#fff; font-size:1.9rem; }
.em-guide-lead p, .em-guide-lead .em-guide-meta{ color:rgba(255,255,255,.72); }

/* ==========================================================
   ENQUIRY
   ========================================================== */
.em-enquire{ padding-top:24px; }
.em-enq{
  display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  border-radius:30px; overflow:hidden; border:1px solid var(--em-line);
  box-shadow:0 50px 100px -50px rgba(11,37,69,.45);
}
.em-enq-side{
  position:relative; overflow:hidden; padding:58px 52px; color:#fff;
  background:
    radial-gradient(90% 60% at 100% 100%, rgba(217,182,92,.14) 0%, rgba(217,182,92,0) 70%),
    var(--em-navy);
}
.em-enq-side h2{ font-family:var(--em-serif); font-weight:500; font-size:clamp(2rem,3.2vw,2.8rem); line-height:1.06; letter-spacing:-.015em; }
.em-enq-side > p{ margin-top:14px; color:rgba(255,255,255,.76); max-width:36ch; }
.em-contact{ list-style:none; margin-top:38px; display:grid; gap:20px; }
.em-contact li{ color:rgba(255,255,255,.86); font-size:.95rem; }
.em-contact span{ display:block; margin-bottom:3px; font-size:.78rem; color:var(--em-gold-2); }
.em-contact a{ color:#fff; font-weight:600; text-decoration:none; }
.em-contact a:hover{ color:var(--em-gold-2); }
.em-contact address{ font-style:normal; font-size:.92rem; line-height:1.55; max-width:34ch; }
.em-enq-rera{ margin-top:38px; font-size:.8rem; color:rgba(255,255,255,.52); }
.em-enq-form{ padding:54px 52px; background:#fff; align-content:center; }
.em-enq-form .field input, .em-enq-form .field select, .em-enq-form .field textarea{ border-radius:12px; }
.em-enq-form .em-btn{ min-height:54px; margin-top:4px; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width:1100px){
  .em-card{ flex-basis:calc((100% - 44px) / 3); }
  .em-hs-tab-t small{ display:none; }
  .em-find-card{ grid-template-columns:minmax(0,1fr); gap:20px; }
  .em-services{ grid-template-columns:repeat(3,minmax(0,1fr)); }
  .em-sig{ grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); }
  .em-how{ gap:56px; }
}

@media (max-width:860px){
  .em-wrap{ padding:0 20px; }

  .em-hero{ height:88vh; height:88svh; min-height:560px; max-height:780px; }
  .em-hs-copy{ bottom:146px; }
  .em-hs-title{ font-size:clamp(2.3rem,10.5vw,3.3rem); max-width:12ch; }
  .em-hs-sub{ font-size:.98rem; max-width:32ch; margin-top:14px; }
  .em-hs-cta{ margin-top:24px; }
  .em-hs-cta .em-btn{ min-height:46px; padding:0 20px; }
  /* on phones the tabs shrink to thin progress segments */
  .em-hs-bar{ bottom:70px; }
  .em-hs-bar-in{ align-items:center; gap:18px; }
  .em-hs-tabs{ gap:6px; }
  .em-hs-tab{ padding:0; height:24px; }
  .em-hs-prog{ top:11px; }
  .em-hs-tab-n, .em-hs-tab-t{ display:none; }
  .em-hs-count{ display:none; }
  .em-round{ width:42px; height:42px; flex-basis:42px; }
  .em-hero-fb{ bottom:150px; }

  .em-find-card{ margin-top:-46px; padding:24px 20px; border-radius:20px; }
  .em-find-head h1{ font-size:1.55rem; }
  .em-stage{ flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; margin:0 -20px 12px; padding:0 20px; }
  .em-stage::-webkit-scrollbar{ display:none; }
  .em-search-row{ padding-left:14px; }
  .em-search-row .em-btn{ min-height:44px; padding:0 16px; }
  .em-search-ico{ display:none; }
  .stat-row.em-stats{ margin-top:36px; }
  .em-stats .stat-cell{ padding:18px 6px; }
  .em-stats .stat-cell:nth-child(3n){ border-right:0; }
  .em-stats .stat-cell:nth-child(-n+3){ padding-bottom:18px; border-bottom:1px solid var(--em-line); }
  .em-devs{ padding:30px 0 40px; }

  .em-sec{ padding:76px 0; }
  .em-sec-tight{ padding:12px 0 76px; }
  .em-head{ flex-direction:column; align-items:flex-start; gap:20px; margin-bottom:30px; }
  .em-lede{ font-size:1rem; }

  .em-sig{ grid-template-columns:1fr; min-height:0; border-radius:22px; }
  .em-sig-arts{ min-height:0; aspect-ratio:4 / 3; }
  .em-sig-info{ padding:28px 22px 26px; }
  .em-sig-stamp{ left:20px; bottom:14px; }
  .em-sig-stamp b{ font-size:2.1rem; }

  .em-rail{ margin:0 -20px; padding:8px 20px 24px; scroll-padding:0 20px; gap:14px; }
  .em-card{ flex-basis:84%; min-width:0; }
  .em-rail-btns{ display:none; }
  .em-rail-foot{ flex-wrap:wrap; gap:16px; }
  .em-rail-track{ flex:1 1 100%; }
  /* the sticky bar already carries Enquire, so the extra floating button goes */
  .quote-fab{ display:none; }
  .em-early{ flex-direction:column; align-items:flex-start; padding:22px; }

  .em-regions{ flex-direction:column; height:auto; gap:12px; }
  .em-region, .em-region.on{ flex:none; height:250px; }
  .em-region-copy{ padding:24px; }
  .em-region .em-region-blurb, .em-region .em-region-go{ opacity:1; transform:none; }

  .em-loc{ flex-basis:58%; }

  .em-how{ grid-template-columns:1fr; gap:44px; }
  .em-how-side{ position:static; }
  .em-steps{ padding-left:58px; }
  .em-steps ol{ gap:44px; }
  .em-step-n{ left:-58px; }
  .em-step h3{ font-size:1.45rem; }

  .em-visit{ min-height:520px; align-items:flex-end; border-radius:24px; }
  .em-visit::after{ background:linear-gradient(0deg, rgba(7,26,51,.95) 0%, rgba(7,26,51,.62) 52%, rgba(7,26,51,.08) 100%); }
  .em-visit-copy{ padding:30px 22px; }
  .em-services{ grid-template-columns:1fr 1fr; gap:12px; margin-top:40px; }
  .em-service{ padding:20px 18px; }

  .em-faq-wrap{ grid-template-columns:1fr; gap:6px; }
  .em-faq summary{ font-size:1.1rem; padding:20px 0; }
  .em-faq details p{ padding-right:0; }

  .em-guides{ grid-template-columns:1fr; }
  .em-guide{ min-height:0; }
  .em-guide-lead h3{ font-size:1.6rem; }

  .em-enq{ grid-template-columns:1fr; border-radius:24px; }
  .em-enq-side, .em-enq-form{ padding:36px 22px; }
}

@media (max-width:400px){
  .em-hs-cta .em-btn{ padding:0 16px; font-size:.86rem; }
  .em-stats .stat-cell, .em-stats .stat-cell:nth-child(3n){ border-right:1px solid var(--em-line); border-bottom:1px solid var(--em-line); padding:18px 6px; }
  .em-stats .stat-cell:nth-child(2n){ border-right:0; }
  .em-stats .stat-cell:nth-last-child(-n+2){ border-bottom:0; }
  .em-service{ padding:18px 16px; }
}

/* ==========================================================
   REDUCED MOTION: everything readable, nothing moving
   ========================================================== */
@media (prefers-reduced-motion:reduce){
  .em-hs.on, .em-sig-art.on, .em-kb, .em-sig-art .em-art, .em-find-card, .em-rail.em-in > *{ animation:none !important; }
  .em-scene *{ animation:none !important; }
  .em-hs-eyebrow > span, .em-hs-title > span, .em-hs-sub > span, .em-hs-cta > span{ transform:none !important; transition:none !important; animation:none !important; }
  .em-sig-card > *, .em-region, .em-region-blurb, .em-region-go, .em-card, .em-art{ transition:none !important; }
  html.js .em-step{ opacity:1; }
}


/* ==========================================================
   PHONES: the banner sits on top at its own 1920x900 shape, so
   nothing is cropped, and the text sits below it on navy.
   ========================================================== */
@media (max-width:760px){
  .em-hero{ height:calc(72px + 46.875vw + 372px); min-height:0; max-height:none; background:var(--em-navy-2); }
  .em-hs-media{ top:72px; bottom:auto; height:46.875vw; }
  .em-hs-media::after{ background:linear-gradient(0deg, rgba(7,26,51,.85) 0%, rgba(7,26,51,0) 30%); }
  .em-hs.on .em-kb, .em-hs.was .em-kb{ animation-name:em-kb-soft; }
  .em-hs-copy{ top:calc(72px + 46.875vw + 26px); bottom:auto; }
  .em-hs-title{ font-size:clamp(2rem,8.6vw,2.6rem); text-shadow:none; max-width:none; }
  .em-hs-eyebrow{ margin-bottom:12px; }
  .em-hs-sub{ margin-top:12px; font-size:.95rem; }
  .em-hs-cta{ margin-top:20px; }
  .em-hs-bar{ bottom:66px; }
}
@keyframes em-kb-soft{ from{ transform:scale(1.05); } to{ transform:scale(1); } }

/* ==========================================================
   PHONES: less text, cleaner blocks, thumb-friendly buttons.
   Desktop is untouched.
   ========================================================== */
@media (max-width:760px){
  /* hero: project name and two buttons, nothing else */
  .em-hero{ height:calc(72px + 46.875vw + 272px); }
  .em-hs-sub{ display:none; }
  .em-hs-bar{ bottom:40px; }
  .em-hs-cta > span{ flex-wrap:nowrap; }
  .em-hs-cta .em-btn{ flex:1; padding:0 12px; }

  /* H1 + search: title, one search bar, one row of quick picks */
  .em-find-card{
    margin-top:-22px; padding:22px 18px 18px; border-radius:20px; gap:14px;
    box-shadow:0 22px 50px -26px rgba(11,37,69,.4), 0 1px 3px rgba(11,37,69,.06);
  }
  .em-find-head h1{ font-size:1.42rem; line-height:1.22; }
  .em-find-head p, .em-stage{ display:none; }
  .em-search-row{ padding:4px 4px 4px 16px; }
  .em-search-row input{ font-size:16px; padding:10px 0; }
  .em-search-row .em-search-go{ flex:0 0 46px; width:46px; min-height:46px; padding:0; border-radius:50%; }
  .em-search-go span{ display:none; }
  .em-search-go svg{ display:block; }
  .em-quick{ flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; gap:8px; margin:14px -18px 0; padding:0 18px 2px; }
  .em-quick::-webkit-scrollbar{ display:none; }
  .em-quick span{ display:none; }
  .em-quick a{
    flex:0 0 auto; padding:8px 14px; border:1px solid var(--em-line); border-radius:999px;
    background:var(--em-mist); font-size:.84rem; font-weight:500;
  }

  /* stats: compact 3 x 2 */
  .stat-row.em-stats{ grid-template-columns:repeat(3,1fr); margin-top:26px; }
  .em-stats .stat-cell, .em-stats .stat-cell:nth-child(2n), .em-stats .stat-cell:nth-child(3n){ padding:16px 4px; border-right:1px solid var(--em-line); border-bottom:0; }
  .em-stats .stat-cell:nth-child(3n){ border-right:0; }
  .em-stats .stat-cell:nth-child(-n+3){ border-bottom:1px solid var(--em-line); }
  .em-stats .stat-cell b{ font-size:1.3rem; }
  .em-stats .stat-cell span{ font-size:.72rem; margin-top:4px; line-height:1.3; }
  .em-devs{ padding:24px 0 30px; }
  .em-devs-label{ font-size:.78rem; margin-bottom:12px; }

  /* section heads: heading only */
  .em-sec{ padding:60px 0; }
  .em-head{ margin-bottom:22px; gap:14px; }
  .em-rule{ width:40px; margin-bottom:14px; }
  .em-h2{ font-size:1.85rem; }
  .em-lede{ display:none; }
  #faq .em-lede{ display:block; font-size:.92rem; margin-top:10px; }

  /* signature */
  .em-sig-tag, .em-sig-hl{ display:none; }
  .em-sig-info{ padding:22px 18px 20px; }
  .em-sig-name{ font-size:1.7rem; }
  .em-facts{ margin-top:18px; }
  .em-facts div{ padding:11px 0; }
  .em-sig-cta{ flex-wrap:nowrap; padding-top:20px; }
  .em-sig-cta .em-btn{ flex:1; padding:0 12px; }
  .em-ctrl .em-round{ width:40px; height:40px; flex-basis:40px; }

  /* explore */
  .em-tabs{ gap:22px; margin-bottom:16px; }
  .em-tab{ font-size:.95rem; padding-bottom:12px; }
  .em-chips{ flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; margin:0 -20px 20px; padding:0 20px; }
  .em-chips::-webkit-scrollbar{ display:none; }
  .em-chip{ flex:0 0 auto; }
  .em-card-body{ padding:16px 16px 18px; }
  .em-card-name{ font-size:1.22rem; }
  .em-early{ flex-direction:row; align-items:center; gap:14px; padding:16px 18px; margin-top:28px; }
  .em-early p{ flex:1; font-size:0; max-width:none; }
  .em-early p b{ font-size:.9rem; line-height:1.4; }
  .em-early .em-btn{ flex:0 0 auto; min-height:42px; padding:0 16px; font-size:.82rem; }

  /* regions: swipe sideways instead of a tall stack */
  .em-regions{
    flex-direction:row; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none;
    margin:0 -20px; padding:0 20px 6px; gap:12px;
  }
  .em-regions::-webkit-scrollbar{ display:none; }
  .em-region, .em-region.on{ flex:0 0 78%; height:300px; scroll-snap-align:start; }
  .em-region-blurb{ display:none !important; }
  .em-region-copy{ padding:20px; }

  /* localities */
  .em-loc{ flex-basis:46%; }
  .em-loc-copy b{ font-size:1.12rem; }

  /* how we work: one short line per step */
  .em-how{ gap:30px; }
  .em-how-side .em-head{ margin-bottom:18px; }
  .em-step-l{ display:none; }
  .em-step-s{ display:block; }
  .em-steps ol{ gap:30px; }
  .em-step h3{ font-size:1.3rem; }
  .em-step p{ margin-top:6px; font-size:.94rem; line-height:1.55; }

  /* site visit */
  .em-visit{ min-height:400px; }
  .em-visit-copy h2{ font-size:1.8rem; }
  .em-visit-copy p{ display:none; }
  .em-visit-cta{ flex-wrap:nowrap; margin-top:20px; }
  .em-visit-cta .em-btn{ flex:1; padding:0 10px; font-size:.84rem; }

  /* services: icon and name only */
  .em-services{ margin-top:32px; gap:10px; }
  .em-services-h{ font-size:1.25rem; }
  .em-service{ flex-direction:row; align-items:center; gap:10px; padding:16px 14px; border-radius:16px; }
  .em-service svg{ flex:0 0 24px; width:24px; height:24px; margin:0; }
  .em-service b{ font-size:.88rem; line-height:1.25; }
  .em-service span{ display:none; }
  .em-service:last-child{ grid-column:span 2; }

  /* guides: swipe */
  .em-guides{
    display:flex; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none;
    margin:0 -20px; padding:0 20px 6px; gap:12px;
  }
  .em-guides::-webkit-scrollbar{ display:none; }
  .em-guide{ flex:0 0 80%; scroll-snap-align:start; padding:22px 20px; min-height:190px; }
  .em-guide p{ display:none; }
  .em-guide h3, .em-guide-lead h3{ font-size:1.25rem; }

  /* enquiry: phone and email only, three fields */
  .em-enq-side{ padding:28px 22px; }
  .em-enq-side h2{ font-size:1.8rem; }
  .em-enq-side > p{ display:none; }
  .em-contact{ margin-top:20px; gap:14px; }
  .em-contact li:nth-child(n+3){ display:none; }
  .em-enq-rera{ margin-top:18px; }
  .em-enq-form{ padding:24px 20px 26px; }
  .em-enq-form .form-row2:nth-of-type(2){ grid-template-columns:1fr 1fr; gap:10px; }
  .em-enq-form .em-msg{ display:none; }
}

/* ==========================================================
   PHONES: the block under the banner. No boxed card, centred,
   more air, three headline numbers only. Reads calmer.
   ========================================================== */
@media (max-width:760px){
  .em-hero{ height:calc(72px + 46.875vw + 256px); }
  .em-hs-bar{ bottom:24px; }

  .em-find{ padding:44px 0 4px; }
  .em-find-card{
    margin-top:0; padding:0; gap:24px; text-align:center;
    background:none; border-radius:0; box-shadow:none;
  }
  .em-find-head::before{ content:""; display:block; width:36px; height:1.5px; margin:0 auto 18px; background:var(--em-gold); }
  .em-find-head h1{ max-width:17ch; margin:0 auto; font-size:1.55rem; line-height:1.26; }
  .em-search-row{ border-color:#D6DEE8; box-shadow:0 14px 34px -20px rgba(11,37,69,.35); }
  .em-quick{ flex-wrap:wrap; justify-content:center; overflow:visible; gap:6px 20px; margin:16px 0 0; padding:0; }
  .em-quick a{
    padding:2px 0; border:0; border-bottom:1px solid transparent; border-radius:0;
    background:none; color:var(--em-muted); font-size:.86rem; font-weight:400;
  }
  .em-quick a:active, .em-quick a:hover{ color:var(--em-navy); border-bottom-color:var(--em-gold); }
  .em-quick a:nth-of-type(n+6){ display:none; }

  .stat-row.em-stats{ margin-top:40px; border:0; grid-template-columns:repeat(3,1fr); }
  .em-stats .stat-cell,
  .em-stats .stat-cell:nth-child(2n),
  .em-stats .stat-cell:nth-child(3n),
  .em-stats .stat-cell:nth-child(-n+3){ padding:2px 8px; border:0; border-right:1px solid var(--em-line); }
  .em-stats .stat-cell:nth-child(3){ border-right:0; }
  .em-stats .stat-cell:nth-child(n+4){ display:none; }
  .em-stats .stat-cell b{ font-size:1.5rem; }
  .em-stats .stat-cell span{ font-size:.72rem; line-height:1.35; margin-top:6px; }

  .em-devs{ padding:40px 0 44px; }
}

/* ##########################################################
   ROUND 3 — trust band, trusted developers, filter sidebar,
   stage buttons, testimonials, journal, popular searches.
   These rules come last on purpose and win over the older ones.
   ########################################################## */

/* hero: no card overlapping it any more */
.em-hs-bar{ bottom:44px; }
.em-hs-copy{ bottom:calc(150px + 3vh); }
@media (max-width:860px){ .em-hs-bar{ bottom:36px; } .em-hs-copy{ bottom:120px; } }
@media (max-width:760px){ .em-hs-bar{ bottom:24px; } .em-hs-copy{ bottom:auto; } }

/* ---------- H1 + numbers ---------- */
.em-trust{
  padding:54px 0 50px;
  background:linear-gradient(100deg, #FFFFFF 0%, #FDFAF3 50%, #F9F0DE 100%);
  border-bottom:1px solid #EEE5D1;
}
.em-kicker{
  display:flex; align-items:center; justify-content:center; gap:18px; margin:0 auto 34px;
  font:600 .76rem/1.6 var(--em-sans); letter-spacing:.2em; text-transform:uppercase;
  color:var(--em-navy); text-align:center;
}
.em-kicker::before, .em-kicker::after{ content:""; flex:0 0 56px; height:1px; background:linear-gradient(90deg, transparent, var(--em-gold)); }
.em-kicker::after{ transform:scaleX(-1); }
.em-trust .stat-row.em-stats{ margin:0; padding:0; border:0; grid-template-columns:repeat(6, minmax(0,1fr)); }
.em-trust .em-stats .stat-cell:nth-child(n){ display:block; position:relative; padding:4px 10px; border:0; }
.em-trust .em-stats .stat-cell + .stat-cell::before{
  content:""; position:absolute; left:0; top:8%; bottom:8%; width:1px;
  background:linear-gradient(180deg, transparent, var(--em-gold) 50%, transparent);
}
.em-trust .em-stats .stat-cell b{ font-family:var(--em-serif); color:var(--em-gold); font-weight:600; font-size:clamp(1.8rem, 2.6vw, 2.45rem); }
.em-trust .em-stats .stat-cell span{
  margin-top:10px; font-size:.72rem; font-weight:600; letter-spacing:.11em; line-height:1.4;
  text-transform:uppercase; color:#4A5868;
}

/* ---------- trusted developers ---------- */
.em-trusted{ padding:64px 0 72px; background:#F5F6F8; }
.em-trusted-h{
  margin-bottom:34px; text-align:center; color:var(--em-navy);
  font-family:var(--em-serif); font-weight:400; font-size:clamp(1.9rem, 3vw, 2.6rem); letter-spacing:-.01em;
}
.em-trusted .dev-track{ gap:22px; padding:10px 0 18px; }
.em-trusted .dev-logo{
  width:212px; height:106px; padding:18px 26px; background:#fff; border:0; border-radius:16px;
  box-shadow:0 12px 30px -18px rgba(11,37,69,.28);
  transition:transform .5s var(--em-ease), box-shadow .5s var(--em-ease);
}
.em-trusted .dev-logo:hover{ transform:translateY(-4px); box-shadow:0 22px 40px -20px rgba(11,37,69,.38); }
.em-trusted .dev-name{ font:600 .92rem/1.3 var(--em-sans); color:var(--em-navy); text-align:center; }

/* ---------- explore: sidebar + results ---------- */
.em-ex{ display:grid; grid-template-columns:272px minmax(0,1fr); gap:40px; align-items:start; }
.em-ex-side{
  position:sticky; top:100px; padding:22px 12px 14px; background:#fff;
  border:1px solid var(--em-line); border-radius:20px; box-shadow:0 24px 50px -36px rgba(11,37,69,.4);
}
.em-ex-label{ padding:0 12px 10px; font:700 .7rem var(--em-sans); letter-spacing:.14em; text-transform:uppercase; color:var(--em-muted); }
.em-ex-list + .em-ex-label{ margin-top:12px; padding-top:18px; border-top:1px solid var(--em-line); }
.em-ex-list{ display:grid; gap:2px; }
.em-ex-item{
  position:relative; display:flex; align-items:center; gap:12px; width:100%; padding:10px 12px;
  border:0; border-radius:10px; background:none; cursor:pointer; text-align:left;
  font:500 .92rem var(--em-sans); color:var(--em-ink); transition:background .25s, color .25s;
}
.em-ex-item svg{ flex:0 0 18px; width:18px; height:18px; fill:none; stroke:var(--em-gold); stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.em-ex-item span{ flex:1; }
.em-ex-item em{ font-style:normal; font-size:.78rem; color:var(--em-muted); font-variant-numeric:tabular-nums; }
.em-ex-item:hover{ background:var(--em-mist); }
.em-ex-item[aria-pressed="true"]{ background:var(--em-gold-wash); color:var(--em-navy); font-weight:600; }
.em-ex-item[aria-pressed="true"]::before{ content:""; position:absolute; left:-12px; top:8px; bottom:8px; width:3px; border-radius:2px; background:var(--em-gold); }
.em-ex-item:disabled{ opacity:.38; cursor:default; }
.em-ex-item:focus-visible{ outline:2px solid var(--em-gold); outline-offset:1px; }
.em-ex-top{ display:flex; align-items:baseline; justify-content:space-between; margin-bottom:18px; }
.em-ex-top p{ color:var(--em-muted); font-size:.95rem; }
.em-ex-top b{ margin-right:4px; font-family:var(--em-serif); font-size:1.5rem; font-weight:600; color:var(--em-navy); }
.em-ex-empty{ padding:40px 0; color:var(--em-muted); }
.em-seg, #em-explore .em-chips{ display:none; }
#em-explore .em-rail-foot{ margin-top:8px; }
@media (min-width:1024px){
  .em-rail.em-ex-grid{
    display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:20px;
    margin:0; padding:0; overflow:visible; scroll-snap-type:none; cursor:auto;
  }
  .em-rail.em-ex-grid > *:nth-child(n+7){ display:none; }
  .em-ex-grid .em-card{ min-width:0; }
  #em-explore .em-rail-foot{ justify-content:center; margin-top:34px; }
  #em-explore .em-rail-track{ display:none; }
}
@media (max-width:1023px){
  .em-ex{ display:block; }
  .em-ex-side, .em-ex-top{ display:none; }
  .em-seg{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:6px; margin-bottom:14px; padding:5px; background:var(--em-mist); border-radius:18px; }
  #em-explore .em-chips{ display:flex; flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; margin:0 -20px 20px; padding:0 20px; }
  #em-explore .em-chips::-webkit-scrollbar{ display:none; }
  #em-explore .em-chip{ flex:0 0 auto; }
  #em-explore .em-rail-foot{ flex-wrap:wrap; gap:18px; }
  #em-explore .em-rail-track{ flex:1 1 100%; }
  .em-ex-all{ width:100%; }
}
.em-seg button{
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px;
  padding:11px 4px; border:0; border-radius:14px; background:transparent; cursor:pointer;
  color:var(--em-muted); transition:background .35s var(--em-ease), color .35s, box-shadow .35s;
}
.em-seg b{ font:600 1.2rem/1 var(--em-serif); color:var(--em-navy); transition:color .35s; }
.em-seg span{ font:700 .64rem/1.25 var(--em-sans); letter-spacing:.06em; text-transform:uppercase; text-align:center; }
.em-seg button[aria-selected="true"]{ background:var(--em-navy); color:#fff; box-shadow:0 10px 22px -12px rgba(11,37,69,.7); }
.em-seg button[aria-selected="true"] b{ color:var(--em-gold-2); }
.em-seg button:focus-visible{ outline:2px solid var(--em-gold); outline-offset:2px; }
.em-early{ margin-top:44px; }

/* ---------- testimonials ---------- */
.em-tm-track{ display:flex; gap:20px; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; padding:6px 2px 12px; }
.em-tm-track::-webkit-scrollbar{ display:none; }
.em-tm-card{
  flex:0 0 calc((100% - 40px) / 3); scroll-snap-align:start; margin:0;
  display:flex; flex-direction:column; padding:34px 30px 26px;
  background:#fff; border:1px solid var(--em-line); border-radius:22px;
  transition:transform .5s var(--em-ease), box-shadow .5s var(--em-ease);
}
.em-tm-card:hover{ transform:translateY(-4px); box-shadow:0 28px 50px -32px rgba(11,37,69,.45); }
.em-tm-mark{ display:block; height:34px; font-family:var(--em-serif); font-size:4.8rem; line-height:.8; color:var(--em-gold); }
.em-tm-card blockquote{ flex:1; margin:14px 0 0; font-family:var(--em-serif); font-size:1.12rem; line-height:1.58; color:var(--em-navy); }
.em-tm-card figcaption{ display:flex; align-items:center; gap:12px; margin-top:24px; padding-top:20px; border-top:1px solid var(--em-line); }
.em-tm-av{ flex:0 0 42px; width:42px; height:42px; border-radius:50%; display:grid; place-items:center; background:var(--em-navy); color:var(--em-gold-2); font:600 1.05rem var(--em-serif); }
.em-tm-card figcaption b{ display:block; font-size:.92rem; color:var(--em-navy); }
.em-tm-card figcaption small{ font-size:.8rem; color:var(--em-muted); }

/* ---------- journal, newspaper style ---------- */
.em-paper{ padding:28px 36px 30px; background:#FBF8F2; border:1px solid #E9E1CF; border-radius:22px; }
.em-paper-mast{
  display:grid; grid-template-columns:1fr auto 1fr; align-items:end; gap:16px;
  padding-bottom:14px; border-bottom:4px double var(--em-navy);
}
.em-paper-mast h2{ font-family:var(--em-serif); font-weight:600; font-size:clamp(1.9rem, 3.2vw, 2.7rem); line-height:1.05; letter-spacing:-.01em; color:var(--em-navy); text-align:center; }
.em-paper-side{ font:700 .7rem var(--em-sans); letter-spacing:.16em; text-transform:uppercase; color:var(--em-gold-ink); }
.em-paper-all{ justify-self:end; padding-bottom:2px; text-decoration:none; border-bottom:1px solid var(--em-gold); }
.em-paper-cols{ display:grid; grid-template-columns:1.3fr 1fr 1fr; }
.em-news{ display:flex; flex-direction:column; padding:22px 26px 4px; color:inherit; text-decoration:none; }
.em-news:first-child{ padding-left:0; }
.em-news:last-child{ padding-right:0; }
.em-news + .em-news{ border-left:1px solid #DCD2BD; }
.em-news-kick{ font:700 .68rem var(--em-sans); letter-spacing:.16em; text-transform:uppercase; color:var(--em-gold-ink); }
.em-news h3{ margin-top:10px; font-family:var(--em-serif); font-weight:600; font-size:1.3rem; line-height:1.26; color:var(--em-navy); text-decoration:underline; text-decoration-color:transparent; text-underline-offset:5px; text-decoration-thickness:1px; transition:text-decoration-color .3s; }
.em-news-lead h3{ font-size:1.7rem; line-height:1.18; }
.em-news p{ margin-top:10px; font-size:.93rem; line-height:1.6; color:var(--em-muted); }
.em-news-meta{ display:flex; align-items:center; gap:8px; margin-top:14px; font-size:.78rem; color:var(--em-muted); }
.em-news-meta i{ width:3px; height:3px; border-radius:50%; background:currentColor; }
.em-news:hover h3{ text-decoration-color:var(--em-gold); }

/* ---------- popular searches ---------- */
.em-links{ padding:8px 0 64px; }
.em-links-h{ padding-top:36px; margin-bottom:20px; border-top:1px solid var(--em-line); font-family:var(--em-serif); font-weight:500; font-size:1.4rem; color:var(--em-navy); }
.em-links-grid{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:30px; }
.em-links-col summary{ list-style:none; margin-bottom:12px; pointer-events:none; font:700 .72rem var(--em-sans); letter-spacing:.14em; text-transform:uppercase; color:var(--em-gold-ink); }
.em-links-col summary::-webkit-details-marker{ display:none; }
.em-links-col ul{ list-style:none; display:grid; gap:8px; }
.em-links-col a{ font-size:.9rem; color:var(--em-muted); text-decoration:none; }
.em-links-col a:hover{ color:var(--em-navy); text-decoration:underline; text-decoration-color:var(--em-gold); }

/* ---------- tablet ---------- */
@media (max-width:1100px){
  .em-trust .stat-row.em-stats{ grid-template-columns:repeat(3, minmax(0,1fr)); row-gap:26px; }
  .em-trust .em-stats .stat-cell:nth-child(3n+1)::before{ display:none; }
  .em-tm-card{ flex-basis:calc((100% - 20px) / 2); }
}

/* ---------- phones ---------- */
@media (max-width:760px){
  .em-trust{ padding:36px 0 32px; }
  .em-kicker{ gap:12px; margin-bottom:24px; font-size:.64rem; letter-spacing:.14em; }
  .em-kicker::before, .em-kicker::after{ flex-basis:22px; }
  .em-trust .em-stats .stat-cell:nth-child(n){ padding:2px 4px; }
  .em-trust .em-stats .stat-cell b{ font-size:1.45rem; }
  .em-trust .em-stats .stat-cell span{ margin-top:6px; font-size:.58rem; letter-spacing:.08em; }

  .em-trusted{ padding:40px 0 44px; }
  .em-trusted-h{ margin-bottom:20px; font-size:1.7rem; }
  .em-trusted .dev-logo{ width:150px; height:80px; padding:12px 16px; border-radius:14px; }

  .em-tm-card{ flex-basis:86%; padding:26px 22px 20px; border-radius:18px; }
  .em-tm-mark{ height:26px; font-size:3.8rem; }
  .em-tm-card blockquote{ font-size:1.02rem; }

  .em-paper{ padding:20px 18px 6px; border-radius:18px; }
  .em-paper-mast{ grid-template-columns:1fr auto; }
  .em-paper-mast > span:first-child{ display:none; }
  .em-paper-mast h2{ font-size:1.6rem; text-align:left; }
  .em-paper-cols{ display:block; }
  .em-news, .em-news:first-child, .em-news:last-child{ padding:16px 0; }
  .em-news + .em-news{ border-left:0; border-top:1px solid #DCD2BD; }
  .em-news h3, .em-news-lead h3{ font-size:1.1rem; line-height:1.3; margin-top:6px; }
  .em-news p{ display:none; }
  .em-news-meta{ margin-top:8px; }

  .em-links{ padding:0 0 40px; }
  .em-links-h{ padding-top:28px; margin-bottom:6px; font-size:1.2rem; }
  .em-links-grid{ grid-template-columns:1fr; gap:0; }
  .em-links-col{ border-bottom:1px solid var(--em-line); }
  .em-links-col summary{
    display:flex; justify-content:space-between; align-items:center; margin:0; padding:15px 0;
    pointer-events:auto; cursor:pointer;
  }
  .em-links-col summary::after{ content:"+"; font:400 1.2rem/1 var(--em-sans); color:var(--em-navy); transition:transform .3s; }
  .em-links-col[open] summary::after{ transform:rotate(45deg); }
  .em-links-col ul{ padding-bottom:14px; }
}
#ex-h{ max-width:26ch; }
.em-trusted .dev-logo img{ color:transparent; font-size:0; }

/* ---------- trusted developers, v2: name cards that turn into logos ---------- */
.em-trusted{ padding:70px 0 76px; background:#F5F6F8; overflow:hidden; }
.em-trusted-kick{ text-align:center; font:700 .7rem var(--em-sans); letter-spacing:.2em; text-transform:uppercase; color:var(--em-gold-ink); margin-bottom:10px; }
.em-trusted .em-trusted-h{ margin-bottom:10px; text-align:center; }
.em-trusted-sub{ max-width:46ch; margin:0 auto 38px; text-align:center; color:var(--em-muted); font-size:.98rem; }
.em-trusted-sub span{ color:var(--em-navy); font-weight:600; }
.em-dv-wrap{ display:grid; gap:18px; }
.em-dv-row{
  overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image:linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.em-dv-track{ display:flex; width:max-content; animation:em-marq var(--dur, 60s) linear infinite; }
.em-dv-rev .em-dv-track{ animation-direction:reverse; }
.em-dv-row:hover .em-dv-track{ animation-play-state:paused; }
@keyframes em-marq{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }
.em-dv{
  position:relative; flex:0 0 auto; width:220px; height:108px; margin:6px 9px 14px;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px;
  padding:16px 22px; background:#fff; border-radius:16px; text-align:center;
  box-shadow:0 12px 30px -18px rgba(11,37,69,.3), 0 0 0 1px rgba(11,37,69,.04);
  transition:transform .5s var(--em-ease), box-shadow .5s var(--em-ease);
}
.em-dv:hover{ transform:translateY(-4px); box-shadow:0 22px 40px -20px rgba(11,37,69,.4), 0 0 0 1px rgba(184,145,47,.35); }
.em-dv-name{ font-family:var(--em-serif); font-weight:500; font-size:1.08rem; line-height:1.2; color:var(--em-navy); }
.em-dv small{ font:700 .62rem var(--em-sans); letter-spacing:.14em; text-transform:uppercase; color:var(--em-gold-ink); }
.em-dv img{ position:absolute; inset:16px 22px; width:calc(100% - 44px); height:calc(100% - 32px); object-fit:contain; opacity:0; transition:opacity .5s; }
.em-dv.has-logo img{ opacity:1; }
.em-dv.has-logo .em-dv-name, .em-dv.has-logo small{ visibility:hidden; }
@media (max-width:760px){
  .em-trusted{ padding:44px 0 48px; }
  .em-trusted-sub{ margin-bottom:24px; font-size:.9rem; padding:0 10px; }
  .em-dv-wrap{ gap:8px; }
  .em-dv{ width:160px; height:86px; margin:4px 6px 10px; padding:12px 14px; border-radius:14px; }
  .em-dv-name{ font-size:.95rem; }
  .em-dv img{ inset:12px 14px; width:calc(100% - 28px); height:calc(100% - 24px); }
}
@media (prefers-reduced-motion:reduce){
  .em-dv-track{ animation:none; }
  .em-dv-row{ overflow-x:auto; }
}
/* alternate section tones so neighbours never blend into one big gap */
#signature.em-sec-mist{ background:#fff; }
#explore{ background:var(--em-mist); }
#explore .em-ex-side{ box-shadow:0 24px 50px -36px rgba(11,37,69,.3); }
.em-trusted{ padding-bottom:64px; }
