/* ===========================================================
   FOAN Design System v1 — "The Building"
   Shared by every page. Loaded after tailwind.css and
   chambers-polish.css. Navy + gold, HUD details, cursor-aware
   cards. Effects switch off for touch screens and for visitors
   who ask for reduced motion.
   =========================================================== */

:root{
  --navy:#0a1628; --navy-2:#0d1d35; --navy-3:#12284a; --navy-light:#1e3a5f;
  --gold:#d4af37; --gold-light:#e8c96e; --gold-dark:#b8941f; --cream:#faf8f3;
  --line:rgba(212,175,55,.20); --line-strong:rgba(212,175,55,.50);
  --mute:#a9b3c9;
  --mono:'IBM Plex Mono','Courier New',monospace;
  --serif:'Cormorant Garamond',Georgia,serif;
  --nav-h:72px;
}

html{ scroll-behavior:smooth; scroll-padding-top:calc(var(--nav-h) + 24px); }
body{ font-family:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif; -webkit-font-smoothing:antialiased; }
.font-serif{ font-family:var(--serif); }
img{ max-width:100%; }
:focus-visible{ outline:2px solid var(--gold); outline-offset:3px; border-radius:4px; }

.skip-link{ position:absolute; left:-999px; top:8px; z-index:100; background:var(--gold); color:var(--navy); padding:.6rem 1rem; border-radius:8px; font-weight:700; }
.skip-link:focus{ left:8px; }

/* ---------- navigation ---------- */
.foan-nav{ position:fixed; inset:0 0 auto 0; z-index:60; padding:14px 0; background:rgba(10,22,40,.96);
  -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px); border-bottom:1px solid transparent;
  transition:background .3s ease, border-color .3s ease, padding .3s ease; }
.foan-nav.is-scrolled{ background:rgba(10,22,40,.95); border-bottom-color:var(--line); padding:9px 0; }
.foan-nav__inner{ max-width:80rem; margin:0 auto; padding:0 1.5rem; display:flex; align-items:center; justify-content:space-between; gap:1rem; }
.foan-brand{ display:flex; align-items:center; gap:.75rem; text-decoration:none; }
.foan-brand img{ width:44px; height:44px; border-radius:.55rem; border:2px solid rgba(212,175,55,.45); object-fit:cover; transition:border-color .3s, transform .3s; }
.foan-brand:hover img{ border-color:var(--gold); transform:scale(1.06); }
.foan-brand b{ display:block; font-family:var(--serif); font-size:1.4rem; line-height:1; color:#fff; letter-spacing:.1em; }
.foan-brand small{ display:block; margin-top:3px; font-family:var(--mono); font-size:.6rem; letter-spacing:.2em; color:var(--gold); text-transform:uppercase; }
.foan-links{ display:none; align-items:center; gap:1.5rem; }
.foan-links a{ position:relative; display:inline-flex; align-items:center; gap:.35rem; color:#fff; font-size:.875rem; font-weight:500; text-decoration:none; transition:color .2s; }
.foan-links a svg{ width:16px; height:16px; }
.foan-links a::after{ content:""; position:absolute; left:0; bottom:-6px; width:0; height:2px; background:var(--gold); transition:width .3s ease; }
.foan-links a:hover, .foan-links a.is-active{ color:var(--gold); }
.foan-links a:hover::after, .foan-links a.is-active::after{ width:100%; }
.foan-links a.foan-cta{ background:var(--gold); color:var(--navy); padding:.6rem 1.25rem; border-radius:999px; font-weight:700; transition:background .2s, transform .2s; }
.foan-links a.foan-cta::after{ display:none; }
.foan-links a.foan-cta:hover{ background:#fff; color:var(--navy); transform:translateY(-1px); }
.foan-burger{ background:none; border:0; color:#fff; padding:.5rem; cursor:pointer; line-height:0; }
.foan-menu{ display:none; max-height:calc(100vh - 70px); overflow:auto; background:var(--navy); border-top:1px solid var(--line); padding:.75rem 1.5rem 1.25rem; }
.foan-menu.is-open{ display:block; }
.foan-menu a{ display:flex; align-items:center; gap:.75rem; padding:.9rem 0; color:#fff; font-size:1.05rem; font-weight:500; text-decoration:none; border-bottom:1px solid rgba(212,175,55,.1); }
.foan-menu a svg{ width:20px; height:20px; color:var(--gold); }
.foan-menu a.is-active{ color:var(--gold); }
.foan-menu a:last-child{ border-bottom:0; color:var(--gold); font-weight:700; }
@media (min-width:900px){ .foan-links{ display:flex; } .foan-burger, .foan-menu{ display:none !important; } }

/* ---------- HUD primitives ---------- */
.hud-grid{ position:absolute; inset:0; pointer-events:none;
  background-image:linear-gradient(rgba(212,175,55,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(212,175,55,.07) 1px, transparent 1px);
  background-size:48px 48px; -webkit-mask-image:radial-gradient(ellipse 80% 80% at 50% 40%, #000 30%, transparent 78%); mask-image:radial-gradient(ellipse 80% 80% at 50% 40%, #000 30%, transparent 78%); }
.floor-badge{ display:inline-flex; align-items:center; gap:.5rem; font-family:var(--mono); font-size:.72rem; letter-spacing:.14em; text-transform:uppercase;
  color:var(--gold-light); border:1px solid var(--line-strong); background:rgba(212,175,55,.07); padding:.4rem .8rem; border-radius:999px; }
.floor-badge i, .floor-badge svg{ width:14px; height:14px; }
.mzansi-tag{ display:inline-flex; align-items:center; gap:.5rem; font-size:.8rem; color:var(--mute); }

.page-hero{ position:relative; isolation:isolate; overflow:hidden; background:var(--navy); color:#fff; padding:8.5rem 0 4rem; }
.page-hero::before{ content:""; position:absolute; inset:0; z-index:-2;
  background:radial-gradient(60% 90% at 88% 0%, rgba(212,175,55,.16), transparent 62%), radial-gradient(55% 70% at 0% 100%, rgba(30,58,95,.85), transparent 70%); }
.page-hero .hud-grid{ z-index:-1; }
.page-hero::after{ content:""; position:absolute; left:0; right:0; top:-160px; height:160px; z-index:-1; pointer-events:none;
  background:linear-gradient(180deg, transparent, rgba(232,201,110,.09), transparent); animation:foan-scan 8s linear infinite; }
@keyframes foan-scan{ to{ transform:translateY(900px); } }
.page-hero h1{ font-family:var(--serif); font-weight:700; line-height:1.05; }
.page-hero .lead{ color:#c6cede; font-size:1.2rem; max-width:44rem; }
.crumbs{ font-family:var(--mono); font-size:.72rem; letter-spacing:.08em; text-transform:uppercase; color:#8a93a3; margin-bottom:1.25rem; }
.crumbs a{ color:var(--gold); text-decoration:none; } .crumbs a:hover{ text-decoration:underline; }

.btn-gold, .btn-ghost{ display:inline-flex; align-items:center; gap:.5rem; padding:.9rem 1.7rem; border-radius:999px; font-weight:700; text-decoration:none; transition:transform .2s, background .2s, color .2s, border-color .2s; }
.btn-gold{ background:var(--gold); color:var(--navy); }
.btn-gold:hover{ background:#fff; transform:translateY(-2px); }
.btn-ghost{ border:1.5px solid var(--line-strong); color:var(--gold-light); }
.btn-ghost:hover{ background:var(--gold); color:var(--navy); border-color:var(--gold); }
.btn-gold svg, .btn-ghost svg{ width:18px; height:18px; }

/* ---------- cursor-aware cards ---------- */
.tilt, .service-card{ position:relative; transform-style:preserve-3d; transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease; will-change:transform; }
.tilt::before, .service-card::before{ content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none; opacity:0; transition:opacity .3s ease;
  background:radial-gradient(280px circle at var(--mx,50%) var(--my,50%), rgba(232,201,110,.22), transparent 62%); }
.tilt:hover::before, .service-card:hover::before{ opacity:1; }
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  .tilt.is-tilting, .service-card.is-tilting{ transition:transform .08s linear, box-shadow .3s ease, border-color .3s ease;
    transform:perspective(900px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) scale(1.015); box-shadow:0 26px 50px -22px rgba(0,0,0,.55); }
  .tilt.is-tilting .lift{ transform:translateZ(28px); }
}
.lift{ transition:transform .25s ease; }

/* ---------- services directory (the building) ---------- */
.dir{ display:grid; grid-template-columns:1fr; gap:1.5rem; align-items:start; }
@media (min-width:1024px){ .dir{ grid-template-columns:240px 1fr; gap:3rem; } }
.elevator{ position:sticky; top:calc(var(--nav-h) - 2px); z-index:40; display:flex; gap:.5rem; overflow-x:auto; padding:.75rem 0; margin:0 -1.5rem; padding-left:1.5rem; padding-right:1.5rem;
  background:rgba(10,22,40,.94); -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px); border-bottom:1px solid var(--line); scrollbar-width:none; }
.elevator::-webkit-scrollbar{ display:none; }
.elevator__title{ display:none; }
.elevator a{ flex:0 0 auto; display:flex; align-items:center; gap:.55rem; padding:.45rem .8rem; border:1px solid var(--line); border-radius:999px; font-size:.78rem; color:var(--mute); text-decoration:none; white-space:nowrap; transition:color .2s, border-color .2s, background .2s; }
.elevator a b{ font-family:var(--mono); font-weight:500; color:var(--gold-dark); font-size:.7rem; }
.elevator a:hover{ color:#fff; border-color:var(--line-strong); }
.elevator a.is-active{ color:#fff; border-color:var(--gold); background:rgba(212,175,55,.12); }
.elevator a.is-active b{ color:var(--gold-light); }
@media (min-width:1024px){
  .elevator{ top:calc(var(--nav-h) + 24px); flex-direction:column; gap:0; overflow:visible; margin:0; padding:1rem 0; background:none; border:0; -webkit-backdrop-filter:none; backdrop-filter:none; border-left:1px solid var(--line); }
  .elevator__title{ display:block; font-family:var(--mono); font-size:.68rem; letter-spacing:.18em; text-transform:uppercase; color:var(--gold-dark); padding:0 0 .9rem 1.1rem; }
  .elevator a{ border:0; border-radius:0; padding:.55rem 1rem .55rem 1.1rem; margin-left:-1px; border-left:2px solid transparent; font-size:.86rem; }
  .elevator a.is-active{ border-left-color:var(--gold); background:linear-gradient(90deg, rgba(212,175,55,.16), transparent); }
}

.floor{ position:relative; padding:2.75rem 0 3.25rem; border-top:1px solid var(--line); }
.floor:first-of-type{ border-top:0; padding-top:1rem; }
.floor::before{ content:""; position:absolute; left:-1.5rem; top:2.75rem; bottom:3.25rem; width:2px; background:linear-gradient(180deg, var(--gold), transparent); opacity:0; transition:opacity .4s ease; }
.floor.is-lit::before{ opacity:.9; }
.floor__head{ display:flex; align-items:flex-end; gap:1.25rem; margin-bottom:1.75rem; flex-wrap:wrap; }
.floor__no{ font-family:var(--serif); font-weight:700; font-size:clamp(3.5rem,9vw,5.5rem); line-height:.85; color:rgba(212,175,55,.2); transition:color .4s ease; }
.floor.is-lit .floor__no{ color:rgba(232,201,110,.75); }
.floor__label{ font-family:var(--mono); font-size:.7rem; letter-spacing:.2em; text-transform:uppercase; color:var(--gold); }
.floor__title{ font-family:var(--serif); font-weight:700; color:#fff; font-size:clamp(1.9rem,4vw,2.6rem); line-height:1.05; }
.floor__tag{ color:var(--mute); margin-top:.35rem; max-width:34rem; }
.svc-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(250px,1fr)); gap:1rem; }
.svc{ display:flex; flex-direction:column; gap:.55rem; min-height:178px; padding:1.25rem; border-radius:16px; border:1px solid var(--line); text-decoration:none; color:#fff;
  background:linear-gradient(160deg, rgba(255,255,255,.065), rgba(255,255,255,.015)); }
.svc:hover{ border-color:var(--line-strong); }
.svc__top{ display:flex; align-items:center; justify-content:space-between; }
.svc__mark{ font-family:var(--mono); font-size:.66rem; letter-spacing:.14em; color:var(--gold-dark); }
.svc__icon{ width:40px; height:40px; display:grid; place-items:center; border-radius:11px; background:rgba(212,175,55,.1); border:1px solid var(--line); color:var(--gold-light); }
.svc__icon svg{ width:20px; height:20px; }
.svc h3{ font-family:var(--serif); font-size:1.4rem; font-weight:700; line-height:1.1; }
.svc p{ color:var(--mute); font-size:.86rem; line-height:1.5; }
.svc__also{ font-family:var(--mono); font-size:.62rem; letter-spacing:.1em; text-transform:uppercase; color:var(--gold-light); border:1px solid var(--line); border-radius:999px; padding:.15rem .5rem; align-self:flex-start; }
.svc__go{ margin-top:auto; display:inline-flex; align-items:center; gap:.35rem; font-size:.8rem; color:var(--gold-light); transition:gap .2s; }
.svc__go svg{ width:14px; height:14px; }
.svc:hover .svc__go{ gap:.65rem; }

/* ---------- stat strip on dark ---------- */
.hud-stats{ display:grid; grid-template-columns:repeat(2,1fr); gap:1.5rem; border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding:1.6rem 0; margin-top:2.5rem; }
@media (min-width:768px){ .hud-stats{ grid-template-columns:repeat(4,1fr); } }
.hud-stats b{ display:block; font-family:var(--serif); font-size:2.2rem; line-height:1; color:#fff; }
.hud-stats span{ font-family:var(--mono); font-size:.68rem; letter-spacing:.14em; text-transform:uppercase; color:var(--mute); }

/* ---------- service detail pages (light body) ---------- */
.feat{ padding:1.75rem; border-radius:18px; background:#fff; border:1px solid rgba(212,175,55,.22); box-shadow:0 10px 30px -18px rgba(10,22,40,.3); }
.feat__icon{ width:52px; height:52px; display:grid; place-items:center; border-radius:14px; background:var(--navy); color:var(--gold); margin-bottom:1.1rem; }
.feat__icon svg{ width:26px; height:26px; }
.feat h3{ font-family:var(--serif); font-size:1.5rem; font-weight:700; color:var(--navy); margin-bottom:.4rem; line-height:1.15; }
.feat p{ color:#4b5563; line-height:1.65; }
.fit-list{ list-style:none; padding:0; margin:0; display:grid; gap:.7rem; }
.fit-list li{ display:flex; gap:.7rem; align-items:flex-start; color:#374151; }
.fit-list svg{ flex:0 0 auto; width:20px; height:20px; color:var(--gold-dark); margin-top:2px; }
.callout{ border-left:3px solid var(--gold); background:rgba(212,175,55,.09); padding:1rem 1.25rem; border-radius:0 12px 12px 0; color:#374151; font-size:.95rem; line-height:1.6; }
.callout b{ color:var(--navy); }
.faq details{ background:#fff; border:1px solid rgba(10,22,40,.1); border-radius:14px; padding:1rem 1.25rem; transition:border-color .2s; }
.faq details + details{ margin-top:.75rem; }
.faq details[open]{ border-color:var(--line-strong); }
.faq summary{ cursor:pointer; list-style:none; display:flex; justify-content:space-between; gap:1rem; font-weight:600; color:var(--navy); }
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{ content:"+"; font-family:var(--mono); color:var(--gold-dark); font-size:1.2rem; line-height:1; transition:transform .2s; }
.faq details[open] summary::after{ transform:rotate(45deg); }
.faq p{ margin-top:.75rem; color:#4b5563; line-height:1.65; }
.chambers-step h3{ font-family:var(--serif); font-size:1.35rem; font-weight:700; color:var(--navy); margin-bottom:.35rem; }
.chambers-step p{ color:#4b5563; font-size:.95rem; line-height:1.6; }
.cta-band{ position:relative; isolation:isolate; overflow:hidden; text-align:center; background:var(--navy); color:#fff; border-radius:24px; padding:3.25rem 1.5rem; }
.cta-band::before{ content:""; position:absolute; inset:0; z-index:-1; background:radial-gradient(70% 120% at 50% 0%, rgba(212,175,55,.18), transparent 65%); }
.cta-band .hud-grid{ z-index:-1; opacity:.6; }
.cta-band h2{ font-family:var(--serif); font-weight:700; font-size:clamp(1.8rem,4vw,2.5rem); line-height:1.1; }
.delivery-note{ display:flex; gap:.75rem; align-items:flex-start; font-size:.88rem; color:#4b5563; line-height:1.6; }
.delivery-note svg{ flex:0 0 auto; width:20px; height:20px; color:var(--gold-dark); margin-top:2px; }
.more-card{ display:block; padding:1.25rem; border-radius:14px; background:#fff; border:1px solid rgba(212,175,55,.22); text-decoration:none; color:var(--navy); }
.more-card:hover{ border-color:var(--gold); }
.more-card h3{ font-family:var(--serif); font-size:1.3rem; font-weight:700; line-height:1.15; }
.more-card p{ color:#6b7280; font-size:.85rem; margin-top:.3rem; }
.more-card svg{ width:22px; height:22px; color:var(--gold-dark); margin-bottom:.6rem; }

/* ---------- blog ---------- */
.post-card{ display:flex; flex-direction:column; border-radius:18px; overflow:hidden; background:#fff; border:1px solid rgba(212,175,55,.22); text-decoration:none; color:var(--navy); height:100%; }
.post-card__top{ position:relative; isolation:isolate; overflow:hidden; background:var(--navy); padding:1.5rem; min-height:130px; display:flex; flex-direction:column; justify-content:space-between; }
.post-card__top .hud-grid{ z-index:-1; opacity:.7; }
.post-card__cat{ font-family:var(--mono); font-size:.68rem; letter-spacing:.16em; text-transform:uppercase; color:var(--gold-light); }
.post-card__top svg{ width:30px; height:30px; color:var(--gold); }
.post-card__body{ padding:1.25rem 1.4rem 1.4rem; display:flex; flex-direction:column; gap:.5rem; flex:1; }
.post-card h3{ font-family:var(--serif); font-size:1.5rem; font-weight:700; line-height:1.12; }
.post-card p{ color:#4b5563; font-size:.92rem; line-height:1.6; }
.post-card__meta{ margin-top:auto; font-family:var(--mono); font-size:.7rem; letter-spacing:.08em; text-transform:uppercase; color:#8a93a3; }
.article{ max-width:44rem; margin:0 auto; color:#374151; font-size:1.075rem; line-height:1.8; }
.article h2{ font-family:var(--serif); font-size:2rem; font-weight:700; color:var(--navy); margin:2.5rem 0 .75rem; line-height:1.15; }
.article h3{ font-family:var(--serif); font-size:1.5rem; font-weight:700; color:var(--navy); margin:1.8rem 0 .5rem; }
.article p{ margin:0 0 1.2rem; }
.article ul, .article ol{ margin:0 0 1.4rem 1.2rem; display:grid; gap:.5rem; }
.article ul{ list-style:disc; } .article ol{ list-style:decimal; }
.article a{ color:var(--gold-dark); text-decoration:underline; text-underline-offset:3px; }
.article blockquote{ border-left:3px solid var(--gold); padding-left:1.1rem; font-family:var(--serif); font-size:1.4rem; font-style:italic; color:var(--navy); margin:1.8rem 0; }
.article-meta{ font-family:var(--mono); font-size:.72rem; letter-spacing:.1em; text-transform:uppercase; color:#a9b3c9; }

/* ---------- portal teaser ---------- */
.portal-panel{ position:relative; isolation:isolate; overflow:hidden; border-radius:24px; background:linear-gradient(135deg,var(--navy) 0%,var(--navy-light) 55%,var(--navy) 100%); border:1px solid var(--line-strong); padding:3rem 1.75rem; text-align:center; color:#fff; }
.portal-panel .hud-grid{ z-index:-1; }
.portal-pill{ display:inline-flex; align-items:center; gap:.5rem; font-family:var(--mono); font-size:.72rem; letter-spacing:.16em; text-transform:uppercase; color:var(--gold-light); border:1px solid var(--line-strong); border-radius:999px; padding:.4rem .9rem; background:rgba(212,175,55,.08); }
.portal-pill::before{ content:""; width:8px; height:8px; border-radius:50%; background:var(--gold); animation:foan-pulse 1.8s ease-in-out infinite; }
@keyframes foan-pulse{ 50%{ opacity:.25; } }

/* ---------- footer ---------- */
.foan-footer{ background:var(--navy); color:#fff; padding:0 0 2rem; border-top:1px solid var(--line); }
.foan-footer__strip{ border-bottom:1px solid rgba(255,255,255,.1); }
.foan-footer__strip > div{ max-width:80rem; margin:0 auto; padding:.8rem 1.5rem; display:flex; flex-wrap:wrap; gap:.5rem 2rem; justify-content:center; }
.foan-footer__grid{ max-width:80rem; margin:0 auto; padding:3.5rem 1.5rem 0; display:grid; gap:2.5rem; grid-template-columns:1fr; }
@media (min-width:768px){ .foan-footer__grid{ grid-template-columns:1.6fr 1fr 1.3fr 1fr; } }
.foan-footer h4{ font-family:var(--mono); font-size:.72rem; letter-spacing:.16em; text-transform:uppercase; color:var(--gold); margin-bottom:1rem; }
.foan-footer ul{ list-style:none; padding:0; margin:0; display:grid; gap:.55rem; }
.foan-footer li a{ color:#9ca3af; font-size:.9rem; text-decoration:none; transition:color .2s; }
.foan-footer li a:hover{ color:var(--gold); }
.foan-footer__base{ max-width:80rem; margin:2.5rem auto 0; padding:1.5rem 1.5rem 0; border-top:1px solid rgba(255,255,255,.1); display:flex; flex-wrap:wrap; justify-content:space-between; gap:.5rem 1rem; color:#6b7280; font-size:.85rem; }

.wa-float{ position:fixed; right:1.25rem; bottom:1.25rem; z-index:55; width:56px; height:56px; display:grid; place-items:center; border-radius:50%; background:#25d366; color:#fff; box-shadow:0 12px 30px -8px rgba(0,0,0,.5); transition:transform .2s; }
.wa-float:hover{ transform:scale(1.1); }
.wa-float::after{ content:""; position:absolute; inset:-6px; border-radius:50%; border:2px solid rgba(37,211,102,.55); animation:foan-ring 2.4s ease-out infinite; }
@keyframes foan-ring{ from{ transform:scale(.85); opacity:.9; } to{ transform:scale(1.35); opacity:0; } }

/* ---------- reveal on scroll ---------- */
.js .reveal{ opacity:0; translate:0 18px; transition:opacity .7s ease, translate .7s cubic-bezier(.2,.7,.2,1), transform .3s ease, box-shadow .3s ease, border-color .3s ease; transition-delay:var(--d,0ms), var(--d,0ms), 0s, 0s, 0s; }
.js .reveal.is-in{ opacity:1; translate:0 0; }

@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  .page-hero::after, .wa-float::after, .portal-pill::before{ animation:none; }
  .js .reveal{ opacity:1; translate:none; transition:none; }
  *{ transition-duration:.01ms !important; }
}

/* ===========================================================
   Phase 2 — home page: the tower
   =========================================================== */
.home-hero{ position:relative; isolation:isolate; overflow:hidden; background:var(--navy); color:#fff; padding:calc(var(--nav-h) + 2.5rem) 0 2.5rem; }
.home-hero .hud-grid{ z-index:-1; }
.home-hero__glow{ position:absolute; z-index:-1; width:60vw; height:60vw; max-width:760px; max-height:760px; right:-8%; top:6%; border-radius:50%;
  background:radial-gradient(circle, rgba(212,175,55,.16), transparent 62%); transform:translate(calc(var(--px,0)*-18px), calc(var(--py,0)*-14px)); transition:transform .25s ease-out; }
.home-hero__grid{ display:grid; gap:2rem; align-items:center; }
@media (min-width:1024px){ .home-hero__grid{ grid-template-columns:1.05fr .95fr; gap:3rem; } }
.home-hero h1{ font-family:var(--serif); font-weight:700; font-size:clamp(2.6rem,6.2vw,4.9rem); line-height:1.02; margin:1rem 0 1.25rem; }
.text-gradient{ background:linear-gradient(100deg,var(--gold-light),var(--gold) 55%,#fff); -webkit-background-clip:text; background-clip:text; color:transparent; }
.home-hero__lead{ font-size:1.15rem; line-height:1.65; color:#cbd3e4; max-width:34rem; margin-bottom:1.75rem; }
.greet{ margin-top:1rem; font-family:var(--mono); font-size:.95rem; color:var(--mute); min-height:1.5em; }
.greet__word{ color:var(--gold-light); font-weight:600; display:inline-block; transition:opacity .35s ease, transform .35s ease; }
.greet__word.is-out{ opacity:0; transform:translateY(6px); }

.tower-stage{ position:relative; max-width:520px; margin:0 auto; width:100%; }
.tower{ position:relative; transform:translate(calc(var(--px,0)*8px), calc(var(--py,0)*6px)); transition:transform .25s ease-out; }
.tower-spot{ position:absolute; inset:0; pointer-events:none; opacity:0; transition:opacity .3s; z-index:1;
  background:radial-gradient(260px circle at var(--sx,50%) var(--sy,50%), rgba(232,201,110,.16), transparent 70%); mix-blend-mode:screen; }
.tower:hover .tower-spot{ opacity:1; }
.tw-svg{ display:block; width:100%; height:auto; overflow:visible; }
.tw-hud circle, .tw-hud line{ fill:none; stroke:rgba(212,175,55,.14); stroke-width:1; stroke-dasharray:3 7; }
.tw-crown path, .tw-crown line{ fill:rgba(18,40,74,.9); stroke:var(--gold); stroke-width:1.4; }
.tw-crown line{ fill:none; }
.tw-beacon{ fill:var(--gold-light); animation:twBeacon 2.2s ease-in-out infinite; }
@keyframes twBeacon{ 0%,100%{ opacity:.35; } 50%{ opacity:1; } }
.tw-floor{ cursor:pointer; outline:none; }
.tw-hit{ fill:transparent; }
.tw-body{ fill:rgba(18,40,74,.92); stroke:rgba(212,175,55,.45); stroke-width:1.2; transition:fill .25s, stroke .25s; }
.tw-win{ fill:rgba(212,175,55,.10); stroke:rgba(212,175,55,.28); stroke-width:.8; transition:fill .25s; }
.tw-win.lit{ fill:rgba(232,201,110,.55); }
.tw-no{ font-family:var(--mono); font-size:11px; fill:rgba(212,175,55,.5); transition:fill .25s; }
.tw-tag{ opacity:0; transition:opacity .25s; pointer-events:none; }
.tw-tag line{ stroke:var(--gold); stroke-width:1; }
.tw-tag text{ font-family:var(--mono); font-size:11px; letter-spacing:.08em; fill:var(--gold-light); }
.tw-floor:hover .tw-body, .tw-floor:focus-visible .tw-body, .tw-floor.is-active .tw-body{ fill:rgba(30,58,95,.98); stroke:var(--gold-light); }
.tw-floor:hover .tw-win, .tw-floor:focus-visible .tw-win, .tw-floor.is-active .tw-win{ fill:rgba(232,201,110,.75); }
.tw-floor:hover .tw-no, .tw-floor:focus-visible .tw-no, .tw-floor.is-active .tw-no{ fill:var(--gold-light); }
.tw-floor:hover .tw-tag, .tw-floor:focus-visible .tw-tag, .tw-floor.is-active .tw-tag{ opacity:1; }
.tw-lobby rect, .tw-lobby path{ fill:rgba(18,40,74,.9); stroke:var(--gold); stroke-width:1.4; }
.tw-lobby path{ fill:none; }
.tw-lobby-t{ font-family:var(--serif); font-size:15px; letter-spacing:.35em; fill:var(--gold-light); }
.tw-scan{ animation:twScan 5.5s linear infinite; pointer-events:none; }
@keyframes twScan{ 0%{ transform:translateY(0); opacity:0; } 10%{ opacity:1; } 90%{ opacity:1; } 100%{ transform:translateY(-560px); opacity:0; } }

.tower-readout{ display:flex; align-items:center; gap:1rem; margin-top:1rem; padding:.9rem 1.1rem; border:1px solid var(--line-strong); border-radius:14px; background:rgba(13,29,53,.8); min-height:76px; }
.tower-readout__no{ font-family:var(--serif); font-size:2.4rem; line-height:1; color:var(--gold); min-width:2.2ch; }
.tower-readout__body{ flex:1; min-width:0; }
.tower-readout__body b{ display:block; font-family:var(--serif); font-size:1.3rem; color:#fff; line-height:1.15; }
.tower-readout__body span{ display:block; font-size:.85rem; color:var(--mute); margin-top:2px; }
.tower-readout__go{ display:inline-flex; align-items:center; gap:.3rem; font-size:.8rem; font-weight:700; color:var(--gold-light); text-decoration:none; white-space:nowrap; }
.tower-readout__go svg{ width:16px; height:16px; }

/* ---------- floor directory cards ---------- */
.floor-card{ display:flex; flex-direction:column; gap:.6rem; height:100%; padding:1.4rem; border-radius:18px; background:var(--navy); color:#fff; text-decoration:none;
  border:1px solid var(--line); position:relative; overflow:hidden; }
.floor-card::before{ content:""; position:absolute; inset:0; pointer-events:none; opacity:0; transition:opacity .3s;
  background:radial-gradient(240px circle at var(--mx,50%) var(--my,50%), rgba(232,201,110,.2), transparent 70%); }
.floor-card:hover::before{ opacity:1; }
.floor-card:hover{ border-color:var(--gold); }
.floor-card__top{ display:flex; align-items:center; justify-content:space-between; }
.floor-card__no{ font-family:var(--mono); font-size:.8rem; letter-spacing:.14em; color:var(--gold); }
.floor-card__icon{ width:42px; height:42px; display:grid; place-items:center; border-radius:12px; background:rgba(212,175,55,.12); color:var(--gold-light); }
.floor-card__icon svg{ width:22px; height:22px; }
.floor-card h3{ font-family:var(--serif); font-size:1.55rem; line-height:1.1; font-weight:700; }
.floor-card p{ font-size:.9rem; color:#b6c0d6; line-height:1.55; }
.floor-card__go{ margin-top:auto; padding-top:.5rem; display:inline-flex; align-items:center; gap:.35rem; font-size:.8rem; font-weight:700; color:var(--gold-light); }
.floor-card__go svg{ width:16px; height:16px; transition:transform .2s; }
.floor-card:hover .floor-card__go svg{ transform:translateX(4px); }
.floor-card--cta{ background:linear-gradient(135deg,var(--gold-dark),var(--gold)); color:var(--navy); border-color:var(--gold); }
.floor-card--cta p, .floor-card--cta .floor-card__no, .floor-card--cta .floor-card__go{ color:var(--navy); }
.floor-card--cta .floor-card__icon{ background:rgba(10,22,40,.12); color:var(--navy); }

/* ---------- HR band ---------- */
.hr-band{ position:relative; isolation:isolate; overflow:hidden; background:linear-gradient(135deg,var(--navy-2),var(--navy-light)); padding:5.5rem 0; }
.hr-band .hud-grid{ z-index:-1; }
.hr-chip{ display:inline-flex; align-items:center; gap:.5rem; padding:.55rem 1rem; border-radius:999px; border:1px solid var(--line-strong); color:#fff; font-size:.88rem; text-decoration:none; background:rgba(10,22,40,.5); transition:background .2s,color .2s,border-color .2s,transform .2s; }
.hr-chip svg{ width:16px; height:16px; color:var(--gold); }
.hr-chip:hover{ background:var(--gold); color:var(--navy); border-color:var(--gold); transform:translateY(-2px); }
.hr-chip:hover svg{ color:var(--navy); }

@media (prefers-reduced-motion:reduce){
  .tw-scan, .tw-beacon{ animation:none; } .tw-scan{ display:none; }
  .tower, .home-hero__glow{ transform:none !important; transition:none; }
  .greet__word{ transition:none; }
}
@media (hover:none){ .tower-spot{ display:none; } }

/* ===========================================================
   Phase 2b — logo core, heading motion, glowing CTAs, live process, service hero visual
   =========================================================== */

/* ---------- glowing logo (chromatic, robotic) ---------- */
.logo-core{ position:relative; display:inline-flex; align-items:center; gap:1.1rem; margin:1.6rem 0 2.1rem 24px; }
.lc-stage{ position:relative; width:112px; height:112px; flex:none; display:grid; place-items:center; }
.lc-ring{ position:absolute; inset:-10px; border-radius:50%; pointer-events:none;
  background:conic-gradient(from 0deg, #00e5ff, #7b5cff, #ff3dcb, #ffb800, #d4af37, #00e5ff);
  -webkit-mask:radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); mask:radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  animation:lcSpin 7s linear infinite; filter:drop-shadow(0 0 8px rgba(0,229,255,.7)); }
.lc-ring--2{ inset:-22px; opacity:.55; animation-duration:12s; animation-direction:reverse; filter:drop-shadow(0 0 8px rgba(255,61,203,.55));
  -webkit-mask:radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px)) , repeating-conic-gradient(#000 0 14deg, transparent 14deg 24deg);
  -webkit-mask-composite:source-in; mask-composite:intersect; mask:radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px)) intersect, repeating-conic-gradient(#000 0 14deg, transparent 14deg 24deg); }
@keyframes lcSpin{ to{ transform:rotate(360deg); } }
.lc-frame{ position:relative; width:100%; height:100%; border-radius:26px; overflow:hidden; isolation:isolate; background:#0a1628;
  box-shadow:0 0 0 1px rgba(232,201,110,.55), 0 0 26px rgba(212,175,55,.55), 0 0 60px rgba(0,229,255,.28), inset 0 0 22px rgba(0,229,255,.18);
  animation:lcGlow 3.4s ease-in-out infinite; }
@keyframes lcGlow{ 50%{ box-shadow:0 0 0 1px rgba(232,201,110,.9), 0 0 38px rgba(212,175,55,.85), 0 0 84px rgba(255,61,203,.38), inset 0 0 26px rgba(255,61,203,.2); } }
.lc-img, .lc-ghost{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; }
.lc-ghost{ mix-blend-mode:screen; opacity:.0; pointer-events:none; }
.lc-ghost--r{ filter:saturate(0) brightness(1.2) sepia(1) hue-rotate(-50deg) saturate(8); animation:lcGlitchR 5s steps(1,end) infinite; }
.lc-ghost--c{ filter:saturate(0) brightness(1.2) sepia(1) hue-rotate(150deg) saturate(8); animation:lcGlitchC 5s steps(1,end) infinite; }
@keyframes lcGlitchR{ 0%,86%,100%{ opacity:0; transform:none; } 87%{ opacity:.65; transform:translate(-4px,1px); } 90%{ opacity:.5; transform:translate(3px,-1px); } 93%{ opacity:0; } }
@keyframes lcGlitchC{ 0%,86%,100%{ opacity:0; transform:none; } 87%{ opacity:.65; transform:translate(4px,-1px); } 90%{ opacity:.5; transform:translate(-3px,1px); } 93%{ opacity:0; } }
.lc-scan{ position:absolute; left:0; right:0; height:38%; top:-40%; z-index:2; pointer-events:none;
  background:linear-gradient(180deg, transparent, rgba(0,229,255,.35), transparent); animation:lcScan 3.6s ease-in-out infinite; }
@keyframes lcScan{ 0%{ top:-40%; } 60%,100%{ top:110%; } }
.lc-frame::after{ content:""; position:absolute; inset:0; z-index:3; pointer-events:none; opacity:.35;
  background:repeating-linear-gradient(0deg, rgba(0,0,0,.35) 0 1px, transparent 1px 3px); }
.lc-word{ font-family:var(--serif); font-size:2.3rem; line-height:1; font-weight:700; letter-spacing:.14em;
  background:linear-gradient(100deg,#00e5ff,#7b5cff 30%,#ff3dcb 55%,#ffb800 80%,#e8c96e); background-size:220% 100%; -webkit-background-clip:text; background-clip:text; color:transparent;
  animation:lcHue 6s linear infinite; filter:drop-shadow(0 0 10px rgba(212,175,55,.45)); }
.lc-word small{ display:block; margin-top:.5rem; font-family:var(--mono); font-size:.62rem; letter-spacing:.3em; color:var(--gold-light); -webkit-text-fill-color:var(--gold-light); text-transform:uppercase; }
@keyframes lcHue{ to{ background-position:-220% 0; } }
@media (max-width:480px){ .lc-stage{ width:88px; height:88px; } .lc-word{ font-size:1.8rem; } }

/* nav logo gets the same chromatic edge */
.foan-brand img{ animation:navLogo 5s ease-in-out infinite; }
@keyframes navLogo{ 0%,100%{ box-shadow:0 0 10px rgba(212,175,55,.45), 0 0 0 0 rgba(0,229,255,0); } 50%{ box-shadow:0 0 16px rgba(212,175,55,.8), 0 0 22px rgba(0,229,255,.45); } }

/* ---------- animated heading ---------- */
.home-hero h1 .w{ display:inline-block; opacity:0; transform:translateY(.45em) scale(.96); filter:blur(10px);
  animation:wordIn .9s cubic-bezier(.2,.8,.2,1) forwards; animation-delay:calc(.35s + var(--i)*.14s); }
@keyframes wordIn{ to{ opacity:1; transform:none; filter:blur(0); } }
.home-hero h1 .text-gradient{ background-size:240% 100%; animation:wordIn .9s cubic-bezier(.2,.8,.2,1) forwards, shimmer 5s linear 1.6s infinite; animation-delay:calc(.35s + var(--i)*.14s), 1.6s;
  filter:drop-shadow(0 0 14px rgba(212,175,55,.35)); }
@keyframes shimmer{ to{ background-position:-240% 0; } }
.greet{ opacity:0; animation:fadeUp .6s ease .15s forwards; }
@keyframes fadeUp{ from{ opacity:0; transform:translateY(8px); } to{ opacity:1; transform:none; } }
.greet__word{ position:relative; }
.greet__word::after{ content:""; position:absolute; right:-.7ch; top:.1em; width:.55ch; height:1.05em; background:var(--gold-light); animation:caret 1s steps(1) infinite; }
@keyframes caret{ 50%{ opacity:0; } }
.greet__rest{ opacity:0; animation:fadeUp .6s ease 1.1s forwards; }
.home-hero__lead{ opacity:0; animation:fadeUp .8s ease 1.3s forwards; }

/* ---------- glowing, flashing CTAs ---------- */
.btn-gold.glow, .btn-ghost.glow{ position:relative; overflow:hidden; isolation:isolate; }
.btn-gold.glow{ animation:goldPulse 2.2s ease-in-out infinite; }
@keyframes goldPulse{
  0%,100%{ box-shadow:0 0 0 0 rgba(212,175,55,.55), 0 0 14px 2px rgba(212,175,55,.45); }
  50%{ box-shadow:0 0 0 10px rgba(212,175,55,0), 0 0 34px 8px rgba(232,201,110,.85); } }
.btn-gold.glow::after, .btn-ghost.glow::after{ content:""; position:absolute; top:0; bottom:0; left:-60%; width:40%; z-index:-1; pointer-events:none;
  background:linear-gradient(100deg, transparent, rgba(255,255,255,.85), transparent); transform:skewX(-20deg); animation:sweep 3.2s ease-in-out infinite; }
.btn-ghost.glow::after{ background:linear-gradient(100deg, transparent, rgba(232,201,110,.55), transparent); animation-delay:1.6s; }
@keyframes sweep{ 0%{ left:-60%; } 45%,100%{ left:130%; } }
.btn-ghost.glow{ animation:ghostPulse 2.2s ease-in-out 1.1s infinite; text-shadow:0 0 10px rgba(232,201,110,.55); }
@keyframes ghostPulse{
  0%,100%{ border-color:rgba(212,175,55,.5); box-shadow:0 0 0 0 rgba(212,175,55,.0), inset 0 0 0 rgba(212,175,55,0); }
  50%{ border-color:#e8c96e; box-shadow:0 0 26px 4px rgba(212,175,55,.5), inset 0 0 18px rgba(212,175,55,.22); } }
.btn-gold.glow:hover, .btn-ghost.glow:hover{ animation-play-state:paused; }

/* ---------- live process (Consultation, Strategise, Deliver) ---------- */
.process-live .chambers-process::before{ opacity:.25; }
.process-live .chambers-process::after{ content:""; position:absolute; top:26px; left:8%; height:2px; width:0; background:linear-gradient(90deg,#00e5ff,#d4af37,#ff3dcb); box-shadow:0 0 12px rgba(0,229,255,.8); border-radius:2px; }
.process-live .chambers-step{ text-align:left; }
.process-live .chambers-step .num{ transition:none; }
.process-live .chambers-step h4, .process-live .chambers-step p{ transition:color .3s; }
.process-live.is-live .chambers-process::after{ animation:procLine 7s ease-in-out infinite; }
.process-live.is-live .chambers-step .num{ animation:numLit 7s ease-in-out infinite; animation-delay:calc(var(--i)*2s); }
.process-live.is-live .chambers-step h4{ animation:textLit 7s ease-in-out infinite; animation-delay:calc(var(--i)*2s); }
@keyframes procLine{ 0%{ width:0; opacity:1; } 62%{ width:84%; opacity:1; } 90%{ width:84%; opacity:1; } 100%{ width:84%; opacity:0; } }
@keyframes numLit{
  0%,100%{ background:#0a1628; color:#e8c96e; border-color:#d4af37; box-shadow:none; transform:none; }
  6%,26%{ background:#d4af37; color:#0a1628; border-color:#fff; box-shadow:0 0 0 8px rgba(212,175,55,.18), 0 0 30px rgba(232,201,110,.9); transform:scale(1.14); }
  36%{ background:#0a1628; color:#e8c96e; border-color:#d4af37; box-shadow:none; transform:none; } }
@keyframes textLit{ 0%,100%{ color:#fff; text-shadow:none; } 6%,26%{ color:#e8c96e; text-shadow:0 0 14px rgba(232,201,110,.6); } 36%{ color:#fff; text-shadow:none; } }
.chambers-step .num{ position:relative; }
.process-live .step-ico{ display:inline-flex; width:20px; height:20px; margin-right:.4rem; vertical-align:-3px; color:var(--gold); }

/* ---------- service page hero visual ---------- */
.page-hero__grid{ display:grid; gap:2.5rem; align-items:center; }
@media (min-width:1024px){ .page-hero__grid{ grid-template-columns:1.25fr .75fr; } }
.hero-visual{ position:relative; isolation:isolate; overflow:hidden; border-radius:24px; aspect-ratio:4/3; max-width:460px; width:100%; margin-inline:auto;
  background:radial-gradient(120% 120% at 30% 20%, #17305a, #0a1628 70%); border:1px solid var(--line-strong);
  box-shadow:0 0 0 1px rgba(212,175,55,.12), 0 20px 60px rgba(0,0,0,.45), 0 0 60px rgba(212,175,55,.15); }
.hv-rings{ position:absolute; inset:0; display:grid; place-items:center; z-index:0; }
.hv-rings i{ position:absolute; border-radius:50%; border:1px dashed rgba(212,175,55,.35); animation:lcSpin 30s linear infinite; }
.hv-rings i:nth-child(1){ width:34%; aspect-ratio:1; } .hv-rings i:nth-child(2){ width:60%; aspect-ratio:1; animation-direction:reverse; border-color:rgba(0,229,255,.28); } .hv-rings i:nth-child(3){ width:88%; aspect-ratio:1; border-style:solid; border-color:rgba(212,175,55,.14); }
.hv-core{ position:absolute; inset:0; display:grid; place-items:center; z-index:1; }
.hv-icon{ width:86px; height:86px; display:grid; place-items:center; border-radius:24px; color:var(--gold-light);
  background:rgba(10,22,40,.7); border:1px solid var(--line-strong); box-shadow:0 0 34px rgba(212,175,55,.45), inset 0 0 20px rgba(212,175,55,.15); animation:lcGlow 3.4s ease-in-out infinite; }
.hv-icon svg{ width:42px; height:42px; }
.hv-photo{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:1; opacity:.78; }
.hv-shade{ position:absolute; inset:0; z-index:2; background:linear-gradient(180deg, rgba(10,22,40,.15) 30%, rgba(10,22,40,.85)); pointer-events:none; }
.hv-tag{ position:absolute; z-index:3; font-family:var(--mono); font-size:.66rem; letter-spacing:.16em; text-transform:uppercase; color:var(--gold-light); }
.hv-tag--tl{ top:14px; left:16px; padding:.25rem .6rem; border:1px solid var(--line-strong); border-radius:999px; background:rgba(10,22,40,.7); }
.hv-tag--bl{ bottom:14px; left:16px; right:16px; color:#fff; }
.hv-scan{ position:absolute; left:0; right:0; height:30%; top:-35%; z-index:3; pointer-events:none; background:linear-gradient(180deg, transparent, rgba(232,201,110,.22), transparent); animation:lcScan 4.5s ease-in-out infinite; }

@media (prefers-reduced-motion:reduce){
  .home-hero h1 .w{ opacity:1; transform:none; filter:none; animation:none; }
  .home-hero h1 .text-gradient{ animation:none; }
  .greet, .greet__rest, .home-hero__lead{ opacity:1; animation:none; }
  .greet__word::after{ animation:none; }
  .lc-ring, .lc-frame, .lc-ghost, .lc-scan, .lc-word, .foan-brand img, .hv-rings i, .hv-icon, .hv-scan{ animation:none; }
  .btn-gold.glow{ animation:none; box-shadow:0 0 22px 4px rgba(212,175,55,.6); }
  .btn-ghost.glow{ animation:none; box-shadow:0 0 16px 2px rgba(212,175,55,.35); }
  .btn-gold.glow::after, .btn-ghost.glow::after{ display:none; }
  .process-live .chambers-process::after{ width:84%; animation:none; }
  .process-live.is-live .chambers-step .num, .process-live.is-live .chambers-step h4, .process-live.is-live .chambers-process::after{ animation:none; }
}
.has-photo .hv-icon{ position:absolute; right:14px; top:12px; width:48px; height:48px; border-radius:14px; z-index:3; }
.has-photo .hv-icon svg{ width:24px; height:24px; }
.has-photo .hv-core{ display:block; position:static; }
.has-photo .hv-core .hv-icon{ position:absolute; }
.eyebrow::before{ content:none !important; }

/* Client portal button in the header */
.foan-portal, .foan-links a.foan-portal{ display:inline-flex; align-items:center; gap:.4rem; background:linear-gradient(135deg,#e8c96e,#d4af37); color:#0a1628 !important; padding:.55rem 1.1rem; border-radius:999px; font-weight:700; font-size:.85rem; text-decoration:none; white-space:nowrap; animation:goldPulse 2.2s ease-in-out infinite; }
.foan-portal svg, .foan-links a.foan-portal svg{ width:16px; height:16px; }
.foan-links a.foan-portal::after{ display:none; }
.foan-portal:hover{ background:#fff; transform:translateY(-1px); }
.foan-portal--m{ margin-left:auto; padding:.45rem .9rem; font-size:.78rem; }
.foan-menu a.foan-portal-item{ color:#e8c96e; font-weight:700; }
@media (min-width:900px){ .foan-portal--m{ display:none !important; } }
@media (prefers-reduced-motion:reduce){ .foan-portal{ animation:none; box-shadow:0 0 16px 2px rgba(212,175,55,.5); } }

#foan-phone-bar{ position:fixed; left:12px; right:12px; bottom:12px; z-index:90; display:flex; gap:.75rem; align-items:center; flex-wrap:wrap; padding:.7rem 1rem; border-radius:14px; background:#0b1630; color:#fff; border:1px solid rgba(212,175,55,.6); box-shadow:0 10px 30px rgba(0,0,0,.35); font-size:.88rem; max-width:720px; margin:0 auto; }
#foan-phone-bar a{ background:#d4af37; color:#0b1630; font-weight:700; padding:.4rem .9rem; border-radius:999px; text-decoration:none; }
#foan-phone-bar button{ margin-left:auto; background:none; border:0; color:#fff; font-size:1.3rem; line-height:1; cursor:pointer; }

/* public prices */
.price-strip{padding:2rem 0 0;background:#fff}
.price-card{display:flex;flex-wrap:wrap;align-items:center;gap:1rem 2rem;padding:1.4rem 1.6rem;border-radius:18px;background:linear-gradient(135deg,#0a1628,#12264a);border:1px solid rgba(212,175,55,.45);color:#fff;box-shadow:0 10px 30px rgba(10,22,40,.18)}
.price-k{display:block;font:500 .72rem 'IBM Plex Mono',monospace;letter-spacing:.14em;text-transform:uppercase;color:#e8c96e}
.price-main{font:700 2rem 'Cormorant Garamond',serif;line-height:1.1}.price-main--s{font-size:1.25rem}
.price-chips{display:flex;flex-wrap:wrap;gap:.5rem;list-style:none;margin:0;padding:0;flex:1}
.price-chips li{padding:.35rem .8rem;border-radius:999px;background:rgba(212,175,55,.14);border:1px solid rgba(212,175,55,.35);font-size:.85rem;color:#f3e3a6}
.price-fine{margin:.9rem 0 0;font-size:.85rem;color:#5b6678}
body[style*="0a1628"] .price-fine{color:#aab4c8}
.pt-wrap{overflow-x:auto;border:1px solid rgba(212,175,55,.25);border-radius:16px}
.pt{width:100%;border-collapse:collapse;font-size:.95rem}
.pt th,.pt td{padding:.8rem 1rem;text-align:left;border-bottom:1px solid rgba(255,255,255,.08);vertical-align:top}
.pt thead th{font:500 .72rem 'IBM Plex Mono',monospace;letter-spacing:.12em;text-transform:uppercase;color:#e8c96e}
.pt tbody th a{color:#fff;text-decoration:none;font-weight:600}.pt tbody th a:hover{color:#e8c96e}
.pt-price{white-space:nowrap;font-weight:700;color:#e8c96e}.pt-note{color:#aab4c8;font-size:.88rem}
@media (max-width:640px){.pt thead{display:none}.pt tr{display:block;padding:.6rem 0;border-bottom:1px solid rgba(255,255,255,.08)}.pt th,.pt td{display:block;border:0;padding:.15rem 1rem}}

/* ===========================================================
   The 3D tower (Three.js): canvas, floating floor names, plain list fallback
   =========================================================== */
.t3{ position:relative; width:100%; }
.t3-scene{ position:relative; height:640px; touch-action:pan-y; }
.t3-canvas{ -webkit-mask-image:radial-gradient(ellipse 64% 58% at 50% 46%, #000 58%, transparent 100%); mask-image:radial-gradient(ellipse 64% 58% at 50% 46%, #000 58%, transparent 100%); position:absolute; inset:0; width:100%; height:100%; display:block; cursor:grab; outline:none; }
.t3-canvas:active{ cursor:grabbing; }
.t3-lines{ position:absolute; left:0; top:0; width:100%; height:640px; pointer-events:none; overflow:visible; }
.t3-lines line{ stroke:rgba(212,175,55,.38); stroke-width:1; stroke-dasharray:2 3; transition:stroke .25s; }
.t3-lines line.on{ stroke:var(--gold-light); stroke-dasharray:none; stroke-width:1.4; }
.t3-label{ position:absolute; left:0; top:0; display:inline-flex; align-items:center; gap:.4rem; max-width:250px; padding:.2rem .55rem; border-radius:99px; border:1px solid rgba(212,175,55,.35);
  background:rgba(8,18,36,.78); backdrop-filter:blur(4px); color:#cfd8ea; text-decoration:none; font-family:var(--mono); font-size:.66rem; letter-spacing:.06em; text-transform:uppercase; white-space:nowrap; opacity:0; transition:opacity .4s, border-color .25s, background .25s, color .25s; will-change:transform; }
.t3-label b{ color:var(--gold); font-weight:700; } .t3-label span{ overflow:hidden; text-overflow:ellipsis; }
.t3-label:hover, .t3-label:focus-visible, .t3-label.is-active{ color:#fff; border-color:var(--gold-light); background:rgba(30,58,95,.95); box-shadow:0 0 16px rgba(232,201,110,.4); max-width:none; z-index:3; outline:none; }
.t3-label.is-active b, .t3-label:hover b{ color:var(--gold-light); }
.t3-ready .t3-label{ opacity:1; }
/* No 3D (old device or blocked): the floors stand as a simple stacked list */
.t3.t3-fb .t3-scene, .t3.t3-fb .t3-lines{ display:none; }
.t3.t3-fb .t3-label{ position:relative; display:flex; transform:none !important; max-width:none; width:min(100%, 340px); margin:3px auto; opacity:1; border-radius:8px; padding:.5rem .8rem; }
@media (max-width:560px){ .t3-scene, .t3-lines{ height:540px; } .t3-label{ font-size:.54rem; letter-spacing:.03em; padding:.14rem .4rem; gap:.3rem; max-width:112px; } .t3-label.is-active{ max-width:150px; } }
@media (prefers-reduced-motion:reduce){ .t3-label{ transition:none; } }
