/* Hallmark · custom (by request: direction C "Two orbits", picked by Adam 2026-11-09) · genre: atmospheric · surface: chooser · posture: restrained · nav: wordmark only · footer: one credit line · hero: the two orbits are the page */
/* Hallmark · critique · P4 H5 E4 S4 R4 V4 · a two-door chooser; each platform is an orbit of light in its own brand colours, picking one pulls all the light into it */
/* Hallmark · dismissed 29 · the chip glow is the orbit light reaching the logo on a night canvas, not a depth shadow */

@font-face{
  font-family:"Sora";
  src:url("fonts/sora-latin.woff2") format("woff2");
  font-weight:100 800;
  font-style:normal;
  font-display:swap;
}

:root{
  --font:"Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --night:#060a14;
  --ink:#eef2fa;
  --muted:#93a0b8;
  --line:rgba(255,255,255,.16);
  --chip:rgba(255,255,255,.97);
  --glow-cic:rgba(120,140,230,.28);
  --glow-mg:rgba(90,170,255,.30);
  --ease:cubic-bezier(.22,1,.36,1);
  --button-bg:rgba(6,10,20,.35);
  --pad:clamp(20px,4vw,48px);
}

*{box-sizing:border-box}
html,body{margin:0;min-height:100%;overflow-x:clip}
html{background:var(--night);color-scheme:dark}
body{font-family:var(--font);color:var(--ink);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent}
a{color:inherit;text-decoration:none}

#sky{position:fixed;inset:0;width:100%;height:100%;display:block;z-index:0}

.page{position:relative;z-index:1;min-height:100vh;min-height:100svh;display:grid;grid-template-rows:auto auto 1fr auto;
  max-width:1440px;margin:0 auto;
  padding:max(24px,env(safe-area-inset-top)) var(--pad) max(20px,env(safe-area-inset-bottom))}

.nav{display:flex;justify-content:space-between;align-items:center}
.word{font-weight:600;font-size:16px;letter-spacing:-.01em}

.intro{text-align:center;margin-top:clamp(20px,7vh,72px)}
h1{margin:0;font-weight:600;font-size:clamp(32px,4.4vw,60px);letter-spacing:-.03em;line-height:1.05;text-wrap:balance}
.hint{margin:16px 0 0;color:var(--muted);font-size:15px}
@media (hover:none){.hint{display:none}}

.choices{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;justify-items:center;padding:4vh 0}

.choice{display:grid;justify-items:center;gap:20px;padding:28px 36px;border-radius:32px;
  transition:transform .6s var(--ease),opacity .5s var(--ease)}
.choice:hover,.choice:focus-visible{transform:scale(1.045)}
.choice:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.choice:active{transform:scale(.98)}

.chip{display:grid;place-items:center;height:56px;padding:0 20px;background:var(--chip);border-radius:16px;
  transition:box-shadow .6s var(--ease)}
.choice[data-key="1"] .chip{box-shadow:0 0 60px var(--glow-cic)}
.choice[data-key="2"] .chip{box-shadow:0 0 60px var(--glow-mg)}
.choice[data-key="1"]:hover .chip,.choice[data-key="1"]:focus-visible .chip{box-shadow:0 0 90px 10px var(--glow-cic)}
.choice[data-key="2"]:hover .chip,.choice[data-key="2"]:focus-visible .chip{box-shadow:0 0 90px 10px var(--glow-mg)}
.logo{display:block;height:28px;width:auto}
.logo--cic{height:50px}

.name{font-size:clamp(44px,5.2vw,76px);font-weight:700;letter-spacing:-.045em;line-height:1;overflow-wrap:break-word;min-width:0}

.open{display:inline-flex;align-items:center;height:48px;padding:0 24px;border-radius:999px;border:1px solid var(--line);
  font-weight:600;font-size:15px;background:var(--button-bg);
  transition:background-color .35s var(--ease),color .35s var(--ease),border-color .35s var(--ease)}
.choice:hover .open,.choice:focus-visible .open{background:var(--ink);color:var(--night);border-color:var(--ink)}

/* after a pick: the other one steps back, the picked one comes forward */
.is-leaving .choice{pointer-events:none}
.is-leaving .choice:not(.is-picked){opacity:0;transform:scale(.92)}
.is-leaving .choice.is-picked{transform:scale(1.12)}
.is-leaving .intro,.is-leaving .foot,.is-leaving .nav{opacity:0;transition:opacity .4s var(--ease)}

.foot{display:flex;justify-content:flex-end;color:var(--muted);font-size:13px}
.foot a{text-decoration:underline;text-underline-offset:3px;transition:color .25s var(--ease)}
.foot a:hover{color:var(--ink)}
.foot a:focus-visible{outline:2px solid var(--ink);outline-offset:3px;border-radius:2px}

.veil{position:fixed;inset:0;z-index:5;background:var(--to,var(--night));opacity:0;pointer-events:none;transition:opacity .45s var(--ease)}
.veil.on{opacity:1}

/* entrance — only when JS runs and motion is welcome; content is visible without either */
@media (prefers-reduced-motion:no-preference){
  .js h1{animation:rise 1.2s .15s var(--ease) both}
  .js .hint{animation:rise 1.2s .25s var(--ease) both}
  .js .choice{animation:rise 1.3s var(--ease) both}
  .js .choice[data-key="1"]{animation-delay:.55s}
  .js .choice[data-key="2"]{animation-delay:.65s}
  .js .foot,.js .nav{animation:fade 1.2s .8s var(--ease) both}
}
@keyframes rise{from{opacity:0;transform:translateY(14px)}}
@keyframes fade{from{opacity:0}}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition-duration:0s!important}
}

@media (max-width:720px){
  .choices{grid-template-columns:minmax(0,1fr);align-content:center;gap:4vh;padding:2vh 0}
  .choice{padding:20px 24px;gap:16px}
  .name{font-size:40px}
  .chip{height:50px}
  .logo{height:24px}.logo--cic{height:42px}
  .foot{justify-content:center}
}
@media (max-height:620px) and (min-width:721px){
  .intro{margin-top:8px}
  .name{font-size:44px}
}
