/* Front page of a standalone copy: three doors into the panel (teacher · student · parent).
   Same material as the panel: ink + periwinkle on pearl glass, Estedad, the background spheres. */
.land{min-height:100vh}
.hall{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:34px;padding:48px 20px 36px;max-width:1080px;margin:0 auto}

.crest{text-align:center;display:flex;flex-direction:column;align-items:center}
.crest .mono{margin-bottom:22px}
.crest h1{margin:0;font-size:clamp(32px,5.4vw,52px);font-weight:900;line-height:1.2;letter-spacing:-.6px;color:var(--ink)}
.crest p{margin:12px 0 0;color:var(--ink2);font-size:clamp(14.5px,1.8vw,17px);font-weight:500;max-width:34em}

/* ---------- the three doors ---------- */
.doors{display:grid;grid-template-columns:1fr 1.12fr 1fr;gap:18px;width:100%;align-items:stretch}
.door{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;gap:16px;padding:34px 22px 22px;border-radius:34px;text-decoration:none;color:var(--ink);overflow:hidden;
  background:linear-gradient(155deg,rgba(255,255,255,.78),rgba(255,255,255,.38));border:1px solid var(--edge);
  box-shadow:0 1px 2px rgba(40,48,67,.05),0 26px 44px -24px rgba(40,48,67,.42),inset 0 1px 0 #fff;
  -webkit-backdrop-filter:blur(14px) saturate(1.2);backdrop-filter:blur(14px) saturate(1.2);
  transition:transform .45s var(--spring),box-shadow .45s var(--ease)}
/* a soft light that slides across the glass when the door is hovered or focused */
.door::before{content:"";position:absolute;inset:0;background:linear-gradient(115deg,transparent 30%,rgba(255,255,255,.55) 48%,transparent 66%);transform:translateX(120%);transition:transform .9s var(--ease);pointer-events:none}
.door:hover,.door:focus-visible{transform:translateY(-8px);box-shadow:0 1px 2px rgba(40,48,67,.05),0 40px 60px -28px rgba(40,48,67,.5),inset 0 1px 0 #fff}
.door:hover::before,.door:focus-visible::before{transform:translateX(-120%)}
.door:focus-visible{outline:3px solid rgba(90,102,136,.55);outline-offset:4px}
.door:active{transform:translateY(-3px) scale(.99)}

/* the sphere: the same pearl balls as the background, holding the role's mark */
.orb{position:relative;width:96px;height:96px;border-radius:50%;display:grid;place-items:center;flex:none;color:var(--ink);
  background:radial-gradient(circle at 34% 28%,#fff 0,#f3f5f9 20%,#dde1ea 48%,#bec5d6 76%,#a7afc4 100%);
  box-shadow:0 22px 30px -16px rgba(70,82,115,.55),inset 0 -4px 10px rgba(90,102,136,.18);transition:transform .6s var(--spring)}
.orb svg{width:42px;height:42px;stroke-width:1.7;filter:drop-shadow(0 1px 0 rgba(255,255,255,.9))}
.door:hover .orb,.door:focus-visible .orb{transform:translateY(-4px) rotate(-8deg) scale(1.04)}

.dt{display:flex;flex-direction:column;gap:6px}
.dt b{font-size:22px;font-weight:800;line-height:1.4}
.dt span{font-size:14px;line-height:1.85;color:var(--ink2);font-weight:500;max-width:19em}

.key{margin-top:auto;display:inline-flex;align-items:center;gap:7px;padding:7px 14px 7px 12px;border-radius:999px;font-size:12.5px;font-weight:600;color:var(--accent);background:rgba(90,102,136,.1)}
.key svg{width:16px;height:16px}

/* student door: the one most people open; dark ink glass */
.door-student{color:#fff;padding-top:40px;
  background:linear-gradient(160deg,rgba(74,84,114,.94),rgba(40,48,67,.96) 55%,rgba(27,32,46,.97));border-color:rgba(255,255,255,.22);
  box-shadow:0 1px 2px rgba(40,48,67,.1),0 34px 54px -24px rgba(31,37,54,.75),inset 0 1px 0 rgba(255,255,255,.18)}
.door-student::before{background:linear-gradient(115deg,transparent 30%,rgba(255,255,255,.16) 48%,transparent 66%)}
.door-student:hover,.door-student:focus-visible{box-shadow:0 1px 2px rgba(40,48,67,.1),0 46px 70px -28px rgba(31,37,54,.8),inset 0 1px 0 rgba(255,255,255,.18)}
.door-student .orb{width:110px;height:110px}
.door-student .orb svg{width:48px;height:48px}
.door-student .dt b{font-size:24px}
.door-student .dt span{color:rgba(255,255,255,.74)}
.door-student .key{color:#fff;background:rgba(255,255,255,.14)}

.hall-note{margin:0;color:var(--ink3);font-size:13px;font-weight:500;text-align:center}

/* one orchestrated entrance: crest, then the doors rise in turn */
@media (prefers-reduced-motion:no-preference){
  .crest{animation:rise .8s var(--ease) both}
  .door{animation:rise .9s var(--spring) both;animation-delay:calc(.18s + var(--i,0) * .12s)}
  .hall-note{animation:rise .8s var(--ease) .7s both}
}
@keyframes rise{from{opacity:0;transform:translateY(26px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.door,.door::before,.orb{transition:none}}

/* phones: student door first, the others as compact rows */
@media (max-width:760px){
  .hall{justify-content:flex-start;gap:26px;padding-top:44px}
  .crest .mono{--s:84px;margin-bottom:16px}
  .doors{grid-template-columns:1fr;gap:12px}
  .door{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:16px;row-gap:8px;text-align:right;align-items:center;padding:16px;border-radius:26px}
  .door .orb{grid-row:1 / span 2}
  .door .dt{min-width:0}
  .door .key{justify-self:start;margin-top:0;padding:4px 11px 4px 9px;font-size:11.5px}
  .door .dt b{font-size:18px}.door .dt span{font-size:13px;line-height:1.7}
  .orb,.door-student .orb{width:64px;height:64px}
  .orb svg,.door-student .orb svg{width:30px;height:30px}
  .door-student{order:-1;padding:20px 16px}
  .door-student .dt b{font-size:20px}
  .door:hover,.door:focus-visible{transform:translateY(-3px)}
}
