/* Halo Digilab Space
   Rule for this file: no signal relies on colour alone. Active/inactive states
   differ in brightness and carry an icon, a label and a shape change. */

@property --holo-angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

:root {
  --bg: #000;
  --ink: #f4efe9;
  --ink-soft: #b9b1a8;
  --ink-dim: #8a837b;
  --gold: #e9b97a;
  --copper: #c9744f;
  --glass: rgba(255, 255, 255, .045);
  --glass-strong: rgba(255, 255, 255, .08);
  --line: rgba(255, 255, 255, .14);
  --holo: #7df9ff, #b48cff, #ff8fd8, #ffd38a, #8affc1, #7df9ff;
  --radius: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh;
  background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--font);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

:focus-visible { outline: 3px solid #fff; outline-offset: 4px; border-radius: 8px; }

.ico {
  width: 1.35em; height: 1.35em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  vertical-align: -.28em;
}
.ico.big { width: 2.2rem; height: 2.2rem; color: var(--gold); }

#net { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: .55; }

/* ---------- State switching ---------- */
#foyer, #home, #pages { position: relative; z-index: 1; }
.js #home, .js #pages { display: none; }
.js body[data-state="home"] #home,
.js body[data-state="entering"] #home { display: flex; }
.js body[data-state="page"] #pages { display: block; }
.js body:not([data-state="foyer"]):not([data-state="entering"]) #foyer { display: none; }
.js .page { display: none; }
.js .page.is-current { display: block; }

/* ---------- Logo button + digital ornaments ---------- */
.logo-btn {
  position: relative; display: grid; place-items: center;
  --foyer-logo: min(52.3vmin, 343px);   /* foyer logo: 0.95 x 0.95 of the original min(58vmin, 380px); previous step was min(55.1vmin, 361px); the orbiting sparks follow this value */
  width: var(--foyer-logo); aspect-ratio: 1; border-radius: 50%;
  -webkit-tap-highlight-color: transparent;
}
.logo-btn img {
  width: 100%; border-radius: 50%;
  filter: drop-shadow(0 0 28px rgba(233, 185, 122, .22));
  transition: filter .4s, transform .4s var(--ease);
}
.logo-btn:hover img { filter: drop-shadow(0 0 40px rgba(233, 185, 122, .42)); transform: scale(1.02); }
.logo-btn.small { width: clamp(120px, 17vw, 190px); }

.orbits { position: absolute; inset: -14%; pointer-events: none; }
.orbit {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .13);
  animation: spin 26s linear infinite;
}
.orbit.o2 { inset: 6%; border-style: dashed; border-color: rgba(125, 249, 255, .22); animation-duration: 40s; animation-direction: reverse; }
.orbit.o3 { inset: -7%; border-color: rgba(180, 140, 255, .16); animation-duration: 60s; }
.orbit i {
  position: absolute; top: 50%; left: 50%; width: 7px; height: 7px; margin: -3.5px;
  border-radius: 50%; background: #fff; box-shadow: 0 0 12px 2px rgba(125, 249, 255, .8);
  transform: rotate(var(--a, 0deg)) translateX(var(--r)) ;
}
.orbit { --r: calc(var(--foyer-logo) * .64); }
.logo-btn.small .orbit { --r: calc(clamp(120px, 17vw, 190px) * .64); }
.orbit.o2 { --r: calc(var(--foyer-logo) * .565); }
.logo-btn.small .orbit.o2 { --r: calc(clamp(120px, 17vw, 190px) * .565); }
.orbit.o3 { --r: calc(var(--foyer-logo) * .73); }
.orbit i:nth-child(2) { --a: 180deg; }
.orbit.o2 i:nth-child(1) { --a: 40deg; } .orbit.o2 i:nth-child(2) { --a: 160deg; } .orbit.o2 i:nth-child(3) { --a: 280deg; }
.orbit.o2 i { width: 5px; height: 5px; margin: -2.5px; box-shadow: 0 0 10px 2px rgba(255, 143, 216, .8); }
.orbit.o3 i { --a: 110deg; box-shadow: 0 0 12px 2px rgba(255, 211, 138, .9); }

.pulse {
  position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  border: 2px solid rgba(125, 249, 255, .0);
}
.is-spinning .pulse { animation: pulse 1s var(--ease); }
.is-spinning img { animation: spin-left 1s var(--ease) forwards; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-left { to { transform: rotate(-180deg); } }
@keyframes pulse {
  0% { transform: scale(1); border-color: rgba(125, 249, 255, .9); }
  100% { transform: scale(2.2); border-color: rgba(180, 140, 255, 0); }
}

/* ---------- Foyer ---------- */
#foyer {
  position: fixed; inset: 0; z-index: 5;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2.2rem;
  padding: 24px 24px calc(24px + var(--foot));
}
.foyer-hint {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .55rem 1.1rem; border: 1px solid var(--line); border-radius: 999px;
  color: var(--ink); background: var(--glass); letter-spacing: .04em; font-size: .95rem;
  animation: breathe 2.6s ease-in-out infinite;
}
.foyer-name { letter-spacing: .42em; text-transform: uppercase; font-size: .78rem; color: var(--ink-soft); text-align: center; padding-left: .42em; }
@keyframes breathe { 50% { opacity: .55; } }
body[data-state="entering"] .foyer-hint,
body[data-state="entering"] .foyer-name { opacity: 0; transition: opacity .3s; animation: none; }
body[data-state="entering"] #foyer .orbits { opacity: 0; transition: opacity .5s; }

/* ---------- Home ---------- */
#home {
  min-height: 100vh; min-height: 100dvh;
  flex-direction: column; justify-content: center; gap: clamp(1.6rem, 4.5vh, 3.4rem);
  padding: clamp(20px, 4vh, 48px) clamp(16px, 4vw, 56px) calc(var(--foot) + 24px);
  max-width: 1320px; margin: 0 auto;
}
.row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.8vw, 26px);
  perspective: 1400px; perspective-origin: 50% 50%;
}

/* The translucent, holographic-bordered doors */
.card {
  --tilt-y: 0deg; --lift: 0px; --rx: 0deg; --mx: 50%; --my: 50%;
  position: relative; display: flex; flex-direction: column; gap: .35rem;
  min-height: clamp(128px, 19vh, 176px); padding: 1.25rem 1.3rem 1.2rem;
  border-radius: var(--radius); text-decoration: none; color: var(--ink);
  border: 1px solid var(--line);   /* same quiet outline as the panels on the inner pages */
  /* floating glass: dark, see-through pane with a pointer sheen, a thin diagonal reflection and a lit top edge */
  background:
    radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 255, 255, .07), transparent 45%),
    linear-gradient(112deg, transparent 38%, rgba(255, 255, 255, .035) 44%, transparent 50%),
    linear-gradient(145deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .01) 55%, rgba(125, 249, 255, .025)),
    rgba(0, 0, 0, .35);
  /* no backdrop blur here on purpose: with moving lines and stars behind the doors it halves the frame rate */
  box-shadow: 0 24px 60px rgba(0, 0, 0, .75), inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 -1px 0 rgba(255, 255, 255, .04);
  transform: rotateX(var(--rx)) rotateY(var(--tilt-y)) translateZ(var(--lift));
  transform-style: preserve-3d;
  transition: transform .5s var(--ease), box-shadow .4s;
  animation: float 7s ease-in-out infinite; animation-delay: calc(var(--n, 0) * -1.3s);
}
.card::before, .card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--holo-angle), var(--holo));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: holo 7s linear infinite; animation-delay: calc(var(--n, 0) * -.9s);
  inset: -1px; opacity: 0; transition: opacity .35s;   /* dark until the pointer (or keyboard focus) arrives */
}
.card::after { filter: blur(9px); padding: 3px; }
/* touch screens have no hover, so keep a soft holographic line there */
@media (hover: none) { .card::before { opacity: .55; } }
.card .ico { width: 2rem; height: 2rem; color: var(--gold); margin-bottom: auto; }
.card-title { font-size: clamp(1.02rem, 1.35vw, 1.28rem); font-weight: 600; letter-spacing: .01em; line-height: 1.25; }
.card-sub { font-size: .86rem; color: var(--ink-soft); line-height: 1.35; }

.card:hover, .card:focus-visible { --lift: 34px; box-shadow: 0 30px 70px rgba(0, 0, 0, .7), 0 0 44px rgba(125, 249, 255, .13), inset 0 1px 0 rgba(255, 255, 255, .2); }
.card:hover::before, .card:focus-visible::before { opacity: 1; }
.card:hover::after, .card:focus-visible::after { opacity: .85; }

/* The rows bend like a curved screen: outer doors turn toward the visitor */
.row .card[data-i="0"] { --tilt-y: 20deg; --lift: 26px; --n: 0; }
.row .card[data-i="1"] { --tilt-y: 7deg; --n: 1; }
.row .card[data-i="2"] { --tilt-y: -7deg; --n: 2; }
.row .card[data-i="3"] { --tilt-y: -20deg; --lift: 26px; --n: 3; }
.row-top .card { --rx: -5deg; }
.row-bottom .card { --rx: 5deg; }
.row .card[data-i="0"]:hover, .row .card[data-i="3"]:hover,
.row .card[data-i="0"]:focus-visible, .row .card[data-i="3"]:focus-visible { --lift: 54px; }

/* flat layout (phones, small windows): the sphere wrapper is just a column of two rows */
.sphere { display: flex; flex-direction: column; gap: clamp(12px, 1.8vw, 26px); }
.sphere-fill, .sphere-grid { display: none; }

/* ---------- Home as the inside of a sphere (wide screens; switched on by js/main.js) ----------
   The visitor stands inside a sphere built from panels. The eight doors are eight of those
   panels; the rest are empty building blocks. Logo, sparks and welcome float at the centre. */
.js body[data-state="home"] #home.is-sphere,
.js body[data-state="entering"] #home.is-sphere { display: block; }   /* only while home is showing */
#home.is-sphere {
  position: relative; max-width: none; padding: 0;
  height: calc(100vh - var(--foot)); height: calc(100dvh - var(--foot)); min-height: 0; overflow: hidden;
  perspective: var(--P, 1000px); perspective-origin: 50% 50%;
}
#home.is-sphere .sphere {
  position: absolute; left: 50%; top: 50%; width: 0; height: 0; display: block;
  transform-style: preserve-3d;
  transform: translateZ(var(--R, 700px)) rotateX(var(--look-x, 0deg)) rotateY(var(--look-y, 0deg));
}
#home.is-sphere .row, #home.is-sphere .sphere-fill { display: block; position: absolute; left: 0; top: 0; transform-style: preserve-3d; perspective: none; }
#home.is-sphere .card, .block {
  position: absolute; left: 0; top: 0;
  width: var(--tw, 200px); height: var(--th, 140px); min-height: 0;
  margin: calc(var(--th, 140px) / -2) 0 0 calc(var(--tw, 200px) / -2);
  transform: rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)) translateZ(calc(var(--lift, 0px) - var(--R, 700px)));
  backface-visibility: hidden;
}
#home.is-sphere .card { --lift: 0px; animation: none; padding: .95rem 1.05rem; gap: .2rem; border-radius: 16px; transform-style: flat; }
#home.is-sphere .card .ico { width: 1.7rem; height: 1.7rem; }
#home.is-sphere .card-title { font-size: clamp(1rem, 1.35vw, 1.3rem); }
#home.is-sphere .card-sub { font-size: .8rem; }
#home.is-sphere .card:hover, #home.is-sphere .card:focus-visible { --lift: 46px; }
.block {
  border-radius: 16px; border: 1px solid rgba(255, 255, 255, .2);
  background: linear-gradient(145deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .008) 60%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07);
  opacity: var(--o, .6); pointer-events: none;
}
#home.is-sphere .sphere-grid { display: block; position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
body[data-state="entering"] .sphere-grid { opacity: 0; }
body[data-state="home"] .sphere-grid { animation: block-in 1.8s ease-out backwards; animation-delay: .2s; }
#home.is-sphere .welcome {
  position: absolute; inset: 0; z-index: 2; padding: 0 24px; pointer-events: none;
  translate: var(--drift-x, 0px) var(--drift-y, 0px);
}
#home.is-sphere .welcome > * { pointer-events: auto; }
/* logo size inside the sphere: change --logo only; the orbiting sparks follow it (0.95 of the original 110/12vw/170; 0.9 was 99/10.8vw/153) */
#home.is-sphere { --logo: clamp(104.5px, 11.4vw, 161.5px); }
#home.is-sphere .logo-btn.small { width: var(--logo); }
#home.is-sphere .logo-btn.small .orbit { --r: calc(var(--logo) * .64); }
#home.is-sphere .logo-btn.small .orbit.o2 { --r: calc(var(--logo) * .565); }
#home.is-sphere .welcome-text { max-width: 34rem; }
#home.is-sphere h1 { font-size: clamp(1.6rem, 2.9vw, 2.5rem); }
#home.is-sphere .lede { font-size: clamp(.92rem, 1.1vw, 1.02rem); margin-top: .6rem; }
#home.is-sphere .eyebrow { margin-bottom: .45rem; }
#home.is-sphere .logo-slot, #home.is-sphere .welcome-text { animation: hover-in-space 9s ease-in-out infinite; }
#home.is-sphere .welcome-text { animation-delay: -3s; }
@keyframes hover-in-space { 50% { translate: 0 -8px; } }
body[data-state="entering"] .block { opacity: 0; }
body[data-state="home"] .block { animation: block-in 1.1s var(--ease) backwards; animation-delay: var(--d, 0ms); }
@keyframes block-in { from { opacity: 0; } }
body[data-state="home"] #home.is-sphere .card { animation: block-in 1s var(--ease) backwards; animation-delay: calc(var(--n, 0) * 110ms + 250ms); }
body[data-state="home"] #home.is-sphere .row-bottom .card { animation-delay: calc(var(--n, 0) * 110ms + 450ms); }

@keyframes holo { to { --holo-angle: 360deg; } }
@keyframes float { 50% { translate: 0 -7px; } }

.welcome { display: flex; align-items: center; justify-content: center; gap: clamp(1.4rem, 4vw, 3.6rem); padding: 0 clamp(0px, 3vw, 40px); }
.logo-slot { flex: none; }
.welcome-text { max-width: 40rem; }
.eyebrow { display: flex; align-items: center; gap: .5rem; text-transform: uppercase; letter-spacing: .3em; font-size: .74rem; color: var(--gold); margin-bottom: .7rem; }
h1 { font-size: clamp(1.9rem, 4.2vw, 3.3rem); line-height: 1.12; font-weight: 600; letter-spacing: -.015em; text-wrap: balance; }
.lede { margin-top: .9rem; color: var(--ink-soft); font-size: clamp(1rem, 1.3vw, 1.14rem); max-width: 44rem; text-wrap: pretty; }

/* entrance */
body[data-state="entering"] #home .card,
body[data-state="entering"] #home .welcome-text { opacity: 0; }
body[data-state="entering"] #home .logo-slot { visibility: hidden; }
body[data-state="home"] #home .card { animation: float 7s ease-in-out infinite, rise .9s var(--ease) backwards; animation-delay: calc(var(--n, 0) * -1.3s), calc(var(--n, 0) * 90ms + 60ms); }
body[data-state="home"] #home .welcome-text { animation: rise .9s var(--ease) backwards; }
@keyframes rise { from { opacity: 0; translate: 0 26px; } }

/* ---------- Door → logo morph ---------- */
.morph {
  position: fixed; z-index: 50; display: grid; place-items: center; overflow: visible;
  background: rgba(10, 10, 12, .7); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  pointer-events: none;
}
.morph::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px;
  background: conic-gradient(from var(--holo-angle), var(--holo));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: holo 1.6s linear infinite;
}
.morph-logo { position: fixed; z-index: 49; display: grid; place-items: center; pointer-events: none; }
.morph-logo img { width: 100%; height: 100%; border-radius: 50%; opacity: 0; filter: drop-shadow(0 0 34px rgba(233, 185, 122, .35)); }
.morph-logo .orbits { opacity: 0; }
.morph-logo .burst {
  position: absolute; inset: 0; border-radius: 50%; opacity: 0;
  border: 2px solid rgba(255, 255, 255, .95);
  box-shadow: 0 0 40px 10px rgba(125, 249, 255, .55), inset 0 0 40px 10px rgba(180, 140, 255, .45);
}
.veil { position: fixed; inset: 0; z-index: 40; background: #000; opacity: 0; pointer-events: none; }

/* ---------- Inner pages ---------- */
#pages { max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px) calc(var(--foot) + 32px); }
.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 1.2rem; padding: 14px 0;
  background: linear-gradient(#000 70%, transparent);
}
.header-logo { display: flex; align-items: center; gap: .8rem; text-decoration: none; flex: none; }
.header-logo .logo-wrap { position: relative; display: block; width: 58px; height: 58px; margin: 6px; }
.header-logo img { width: 58px; height: 58px; transition: transform .8s var(--ease); }
/* the orbital sparks stay with the logo on every page */
.header-logo .orbit { --r: 37px; }
.header-logo .orbit.o2 { --r: 32.8px; }
.header-logo .orbit i { width: 4px; height: 4px; margin: -2px; box-shadow: 0 0 8px 1px rgba(125, 249, 255, .8); }
.header-logo .orbit.o2 i { width: 3px; height: 3px; margin: -1.5px; box-shadow: 0 0 7px 1px rgba(255, 143, 216, .8); }
.header-logo:hover img, .header-logo.is-turning img { transform: rotate(-180deg); }
/* Indonesian menu words are longer: drop the small name beside the logo so all nine tabs stay on one row */
html[lang="id"] .header-name { display: none; }
.header-name { font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; line-height: 1.5; color: var(--ink-soft); }

/* wraps rather than scrolls, so no menu item is ever hidden off-screen */
.site-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 4px; margin-left: auto; padding: 4px 0; overflow-x: clip; }
.site-nav a {
  position: relative; display: inline-flex; align-items: center; gap: .45rem; flex: none;
  padding: .55rem .85rem .6rem; border-radius: 14px 14px 0 0;
  text-decoration: none; font-size: .88rem; color: var(--ink-dim); white-space: nowrap;
  transition: color .2s, background .2s;
}
.site-nav a:hover { color: var(--ink); background: var(--glass); }
/* Active = a real tab: holographic border with curved top corners, open at the bottom,
   and a holographic line running out to the left and right of it.
   It is also not hue-dependent: white bold text + lit glass vs. dim grey text. */
.site-nav a[aria-current="page"] {
  color: #fff; font-weight: 700;
  background: linear-gradient(rgba(255, 255, 255, .13), rgba(255, 255, 255, .03));
}
.site-nav a[aria-current="page"] .ico { color: var(--gold); }
.site-nav a[aria-current="page"]::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px 2px 0; pointer-events: none;
  background: conic-gradient(from var(--holo-angle), var(--holo));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: holo 7s linear infinite;
}
.site-nav a[aria-current="page"]::after {
  content: ""; position: absolute; bottom: 0; left: -100vw; right: -100vw; height: 2px; pointer-events: none;
  background: linear-gradient(90deg, #7df9ff, #b48cff, #ff8fd8, #ffd38a, #8affc1, #7df9ff) 0 0 / 50vw 100%;
  /* hide the stretch under the tab itself, so the tab stays open at the bottom */
  -webkit-mask: linear-gradient(90deg, #000 calc(100vw + 2px), transparent 0, transparent calc(100% - 100vw - 2px), #000 0);
  mask: linear-gradient(90deg, #000 calc(100vw + 2px), transparent 0, transparent calc(100% - 100vw - 2px), #000 0);
  animation: holo-slide 9s linear infinite;
}
@keyframes holo-slide { to { background-position: 50vw 0; } }

/* ---------- Footer bar (every screen) ----------
   A holographic line across the top, black underneath, static copyright + legal links,
   and the language sphere sitting ON the line at the right. --foot is its measured height (set by js). */
:root { --foot: 46px; }
.site-foot {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex; flex-wrap: wrap; align-items: center; gap: .2rem 1.6rem;
  padding: 9px calc(88px + env(safe-area-inset-right)) 9px clamp(16px, 4vw, 40px);
  background: #000; color: var(--ink-dim); font-size: .78rem; line-height: 1.4;
}
.site-foot::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1.5px; pointer-events: none;
  background: linear-gradient(90deg, #7df9ff, #b48cff, #ff8fd8, #ffd38a, #8affc1, #7df9ff) 0 0 / 50vw 100%;
  animation: holo-slide 9s linear infinite; opacity: .8;
}
.foot-copy { margin: 0; }
.foot-company { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .3); }
.foot-company:hover { color: #fff; text-decoration-color: #fff; }
.foot-links { display: flex; gap: .2rem 1rem; }
.foot-links a { display: inline-flex; align-items: center; gap: .35rem; color: var(--ink-soft); text-decoration: none; padding: .15rem 0; border-bottom: 1px solid transparent; }
.foot-links a:hover { color: #fff; border-bottom-color: #fff; }
.foot-links .ico { width: 1.1em; height: 1.1em; }

/* The language sphere: shows the current language (EN / ID); pressing it turns it over to the other.
   Its centre sits exactly on the holographic line. */
.globe {
  position: absolute; right: clamp(16px, 3vw, 36px); top: -21px; width: 42px; height: 42px;
  border-radius: 50%; perspective: 260px; -webkit-tap-highlight-color: transparent;
  transition: transform .45s var(--ease);
}
.globe:hover, .globe:focus-visible { transform: translateY(-4px); }
.globe:hover .globe-ball { animation: globe-float 2.4s ease-in-out infinite; }
.globe-ball {
  position: relative; display: block; width: 100%; height: 100%; border-radius: 50%;
  transform-style: preserve-3d; transition: transform .8s cubic-bezier(.6, 0, .2, 1);
  box-shadow: 0 0 0 6px #000;                                  /* cuts a gap in the line around the sphere */
}
.globe.is-id .globe-ball { transform: rotateY(180deg); }
.globe-face {
  position: absolute; inset: 0; display: grid; place-items: center; border-radius: 50%;
  font-size: .78rem; font-weight: 800; letter-spacing: .08em; color: #fff;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  /* a lit sphere: highlight top-left, shade bottom-right, faint latitude rings */
  background:
    radial-gradient(circle at 34% 30%, rgba(255, 255, 255, .55), rgba(255, 255, 255, .08) 32%, transparent 48%),
    repeating-radial-gradient(ellipse 100% 40% at 50% 50%, transparent 0 5px, rgba(236, 217, 184, .18) 5px 6px),
    radial-gradient(circle at 50% 50%, #3a3630, #0b0a09 72%);
  box-shadow: inset -6px -8px 14px rgba(0, 0, 0, .8), inset 4px 6px 10px rgba(255, 255, 255, .08), 0 6px 18px rgba(0, 0, 0, .7);
  text-shadow: 0 1px 2px #000;
}
.globe-face.id { transform: rotateY(180deg); }
.globe-face::before {                                           /* holographic rim: this is an interactive control */
  content: ""; position: absolute; inset: -1.5px; border-radius: 50%; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--holo-angle), var(--holo));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: holo 7s linear infinite; opacity: .8;
}
@keyframes globe-float { 50% { translate: 0 -3px; } }

.page { padding: clamp(28px, 6vh, 64px) 0 24px; animation: rise .7s var(--ease) backwards; }
.page-head { margin-bottom: clamp(1.6rem, 4vh, 2.8rem); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-bottom: 16px; }
.panel {
  position: relative; padding: 1.4rem 1.5rem; border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .038), rgba(255, 255, 255, .01)), rgba(0, 0, 0, .35);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
  border: 1px solid var(--line);
}
.panel.wide { margin-bottom: 16px; }
.panel h2 { font-size: 1.1rem; font-weight: 600; margin-bottom: .45rem; display: flex; align-items: center; gap: .5rem; }
.panel p { color: var(--ink-soft); font-size: .98rem; }
.panel b { color: var(--ink); font-weight: 600; }
.link-panel { text-decoration: none; display: block; transition: border-color .2s, background .2s, transform .3s var(--ease); }
.link-panel:hover { border-color: #fff; background: var(--glass-strong); transform: translateY(-3px); }
.link-panel p { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; word-break: break-word; }
.ico.big + h2 { margin-top: .8rem; }

.tag {
  display: inline-flex; align-items: center; gap: .4rem; margin-bottom: .8rem;
  padding: .22rem .7rem .22rem .5rem; border-radius: 999px; border: 1px dashed rgba(255, 255, 255, .45);
  font-size: .78rem !important; letter-spacing: .06em; color: var(--ink) !important;
}
.ticks { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: .8rem 1.6rem; margin-top: .8rem; }
.ticks.one-col { grid-template-columns: 1fr; }
.ticks li { display: flex; gap: .65rem; color: var(--ink-soft); font-size: .98rem; }
.ticks .ico { color: var(--gold); margin-top: .12em; }

.steps { display: grid; gap: 14px; counter-reset: s; margin-bottom: 16px; }
.steps li { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.2rem 1.4rem; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(255, 255, 255, .038), rgba(255, 255, 255, .01)), rgba(0, 0, 0, .35); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); }
.step-n { flex: none; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold); font-weight: 700; font-size: 1.1rem; }
.steps h2 { font-size: 1.12rem; margin-bottom: .2rem; }
.steps p { color: var(--ink-soft); font-size: .98rem; }

.cta { margin-top: 1.8rem; }
/* Buttons: pearl white (a faint iridescent sheen over white, not a flat block);
   the holographic border lights up on hover / keyboard focus, like the doors. */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: .7rem; padding: .85rem 1.5rem; border-radius: 999px;
  color: #000; font-weight: 700; text-decoration: none;
  background:
    radial-gradient(120% 140% at 20% 0%, rgba(255, 255, 255, .95), transparent 55%),
    linear-gradient(115deg, #f7f4ee 0%, #e9ecfb 22%, #fbe9f3 42%, #e8f8f4 62%, #fbf3e4 80%, #f7f4ee 100%) 0 0 / 220% 100%;
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(0, 0, 0, .08), 0 8px 24px rgba(0, 0, 0, .45);
  transition: transform .3s var(--ease), box-shadow .3s, background-position 1.2s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: -2px; border-radius: inherit; padding: 2px; pointer-events: none;
  background: conic-gradient(from var(--holo-angle), var(--holo));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: holo 7s linear infinite; opacity: 0; transition: opacity .35s;
}
.btn:hover, .btn:focus-visible { transform: translateY(-2px); background-position: 100% 0; box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(0, 0, 0, .08), 0 10px 40px rgba(233, 185, 122, .3), 0 0 30px rgba(125, 249, 255, .18); }
.btn:hover::before, .btn:focus-visible::before { opacity: 1; }
.btn .ico { transition: transform .3s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }


/* ---------- Smaller screens ---------- */
@media (max-width: 1500px) { .header-name { display: none; } .site-nav a { padding-left: .7rem; padding-right: .7rem; } }
@media (max-width: 900px) {
  .row { grid-template-columns: repeat(2, 1fr); perspective: none; }
  .row .card { --tilt-y: 0deg !important; --rx: 0deg !important; --lift: 0px !important; min-height: 116px; }
  #home { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .site-foot { font-size: .7rem; padding-right: 72px; gap: .1rem .8rem; }
  .globe { width: 38px; height: 38px; top: -19px; }
  .welcome { flex-direction: column; text-align: center; padding-top: 1.4rem; }  /* phone: logo above, welcome first, then the doors */
  .eyebrow { justify-content: center; }
  .page-head .eyebrow { justify-content: flex-start; }
  .card { padding: 1rem; border-radius: 20px; }
  .card-sub { font-size: .8rem; }
  .site-header { position: static; align-items: flex-start; gap: .6rem; }
  .site-nav { justify-content: flex-start; }
  .site-nav a { padding: .4rem .6rem; font-size: .82rem; }
}

/* ---------- Calm mode ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
