/* THE MERCURIAL WORLD — HOME THRESHOLD v0.6.8
   Bounded homepage arrival candidate. HOME remains a threshold, not a second Central Court.
   Mercury/Hg identity + orbital instrument + two directional doors. No room-specific hero art is reused. */

body.home-threshold-v068{overflow-x:hidden}
body.home-threshold-v068 .threshold-stage{
  min-height:calc(100svh - 68px);
  padding:clamp(22px,4vw,54px) clamp(16px,3vw,40px);
  display:grid;
  place-items:center;
  background:
    radial-gradient(66rem 34rem at 50% 58%,rgba(151,198,204,.045),transparent 60%),
    radial-gradient(50rem 30rem at 50% 100%,rgba(199,161,91,.04),transparent 62%),
    linear-gradient(180deg,#030404 0,#070908 45%,#030404 100%);
}
body.home-threshold-v068 .threshold-stage::before{
  content:"";position:absolute;inset:0;pointer-events:none;opacity:.75;
  background:
    linear-gradient(90deg,transparent 0,rgba(224,204,162,.035) 49.94%,rgba(156,205,212,.11) 50%,rgba(224,204,162,.035) 50.06%,transparent 100%),
    repeating-linear-gradient(90deg,transparent 0 11.9%,rgba(255,255,255,.012) 12%,transparent 12.08% 24.9%);
}
body.home-threshold-v068 .threshold-stage::after{
  content:"";position:absolute;left:50%;bottom:-22vh;width:min(1050px,92vw);height:49vh;transform:translateX(-50%) perspective(780px) rotateX(68deg);
  transform-origin:50% 100%;border:1px solid rgba(205,171,105,.20);border-radius:50% 50% 0 0/100% 100% 0 0;
  background:repeating-linear-gradient(90deg,rgba(155,202,209,.025) 0 1px,transparent 1px 78px);
  box-shadow:0 -24px 85px rgba(0,0,0,.72),inset 0 24px 70px rgba(213,178,108,.018);pointer-events:none;
}

.home-threshold-frame{
  position:relative;z-index:2;width:min(1180px,100%);min-height:min(760px,calc(100svh - 118px));
  display:grid;grid-template-columns:minmax(300px,.82fr) minmax(430px,1.18fr);align-items:center;gap:clamp(20px,4vw,66px);
  padding:clamp(34px,5vw,74px);overflow:hidden;
  border:1px solid rgba(201,173,116,.26);
  background:
    linear-gradient(90deg,rgba(213,180,112,.035),transparent 18% 82%,rgba(155,202,209,.028)),
    radial-gradient(circle at 72% 50%,rgba(143,194,201,.06),transparent 31%),
    linear-gradient(145deg,rgba(15,16,15,.94),rgba(5,6,6,.985) 52%,rgba(2,3,3,.99));
  box-shadow:0 42px 140px rgba(0,0,0,.62),inset 0 0 0 1px rgba(255,255,255,.018),inset 0 0 120px rgba(0,0,0,.38);
  clip-path:polygon(2.6% 0,97.4% 0,100% 3.3%,100% 96.7%,97.4% 100%,2.6% 100%,0 96.7%,0 3.3%);
}
.home-threshold-frame::before{
  content:"";position:absolute;inset:18px;pointer-events:none;border:1px solid rgba(155,202,209,.075);
  clip-path:polygon(1.6% 0,98.4% 0,100% 2.6%,100% 97.4%,98.4% 100%,1.6% 100%,0 97.4%,0 2.6%);
}
.home-threshold-frame::after{
  content:"";position:absolute;left:50%;top:0;bottom:0;width:1px;pointer-events:none;
  background:linear-gradient(transparent,rgba(211,177,108,.17) 13%,rgba(155,202,209,.12) 50%,rgba(211,177,108,.17) 87%,transparent);
}
.threshold-v068-copy{position:relative;z-index:3;align-self:center;max-width:470px}
.threshold-v068-copy .eyebrow{display:inline-flex;align-items:center;gap:10px;color:#c8aa70}
.threshold-v068-copy .eyebrow::before{content:"";width:28px;height:1px;background:#c8aa70;opacity:.8}
.threshold-v068-copy h1{margin:.7rem 0 1rem;font:400 clamp(3.65rem,6.4vw,6.9rem)/.86 Georgia,serif;letter-spacing:-.052em;color:#efe8d9;text-wrap:balance}
.threshold-cycle{margin:0;color:#9daeb0;font:600 .64rem/1.5 var(--mono);letter-spacing:.18em;text-transform:uppercase}
.threshold-cycle span{color:#c7a15b;padding:0 .34em}
.threshold-v068-copy .threshold-lead{margin:1.35rem 0 0;max-width:330px;color:#89999c;font-size:.9rem;line-height:1.6}
.threshold-register{margin-top:2.2rem;display:grid;grid-template-columns:auto 1fr;gap:9px 14px;max-width:350px;color:#64777b;font:600 .53rem/1.4 var(--mono);letter-spacing:.14em;text-transform:uppercase}
.threshold-register::before{content:"THRESHOLD / 00";color:#b69b67}.threshold-register::after{content:"NARRATIVE ⇣   ·   PATTERN ⇡";border-top:1px solid rgba(155,202,209,.13);padding-top:8px}

.threshold-v068-instrument-zone{position:relative;z-index:3;display:grid;justify-items:center;align-items:center;min-height:560px}
.threshold-v068-instrument-zone::before{
  content:"";position:absolute;width:min(530px,46vw);aspect-ratio:1;border-radius:50%;
  background:radial-gradient(circle,rgba(155,202,209,.025),transparent 62%);box-shadow:0 0 90px rgba(151,204,211,.03);pointer-events:none;
}
.threshold-v068-instrument{
  position:relative;width:min(470px,41vw);aspect-ratio:1;border-radius:50%;display:grid;place-items:center;text-decoration:none;color:inherit;
  outline:none;isolation:isolate;
}
.threshold-v068-instrument::before{
  content:"";position:absolute;inset:4%;border-radius:50%;
  background:repeating-conic-gradient(from -1deg,rgba(226,205,159,.31) 0 1deg,transparent 1deg 9deg);
  -webkit-mask:radial-gradient(circle,transparent 0 47%,#000 47.3% 49%,transparent 49.4% 100%);
  mask:radial-gradient(circle,transparent 0 47%,#000 47.3% 49%,transparent 49.4% 100%);
  opacity:.6;pointer-events:none;
}
.threshold-v068-instrument::after{
  content:"";position:absolute;inset:10%;border:1px solid rgba(207,175,110,.24);border-radius:50%;
  box-shadow:0 0 0 24px rgba(155,202,209,.012),0 0 0 55px rgba(207,175,110,.010),0 0 70px rgba(155,202,209,.045),inset 0 0 68px rgba(0,0,0,.6);pointer-events:none;
}
.threshold-v068-instrument:hover .hg-nucleus,.threshold-v068-instrument:focus-visible .hg-nucleus{
  border-color:rgba(226,204,155,.78);box-shadow:0 0 0 10px rgba(155,202,209,.025),0 0 58px rgba(155,202,209,.15),inset 0 0 36px rgba(207,175,110,.07)
}
.threshold-v068-instrument:focus-visible{filter:drop-shadow(0 0 10px rgba(155,202,209,.22))}
.orbit-plane{position:absolute;left:50%;top:50%;width:89%;height:34%;border:1px solid rgba(155,202,209,.30);border-radius:50%;transform:translate(-50%,-50%) rotate(var(--tilt));box-shadow:0 0 18px rgba(155,202,209,.035)}
.orbit-plane.gold{border-color:rgba(211,177,108,.31)}
.orbit-plane::after{content:"";position:absolute;width:8px;height:8px;border-radius:50%;left:calc(100% - 9px);top:50%;transform:translateY(-50%);background:#b9e1e5;box-shadow:0 0 18px rgba(155,225,234,.65)}
.orbit-plane.gold::after{background:#e1c589;box-shadow:0 0 18px rgba(225,197,137,.5)}
.orbit-one{--tilt:0deg;animation:thresholdOrbitOne 24s linear infinite}
.orbit-two{--tilt:60deg;animation:thresholdOrbitTwo 31s linear infinite reverse}
.orbit-three{--tilt:-60deg;animation:thresholdOrbitThree 38s linear infinite}
@keyframes thresholdOrbitOne{to{transform:translate(-50%,-50%) rotate(360deg)}}
@keyframes thresholdOrbitTwo{from{transform:translate(-50%,-50%) rotate(60deg)}to{transform:translate(-50%,-50%) rotate(420deg)}}
@keyframes thresholdOrbitThree{from{transform:translate(-50%,-50%) rotate(-60deg)}to{transform:translate(-50%,-50%) rotate(300deg)}}
.hg-nucleus{position:relative;z-index:5;width:132px;height:132px;border-radius:50%;display:grid;place-items:center;align-content:center;border:1px solid rgba(207,175,110,.56);background:radial-gradient(circle at 36% 28%,rgba(255,255,255,.11),rgba(17,21,21,.98) 33%,rgba(3,5,5,.99) 70%);box-shadow:0 0 0 10px rgba(155,202,209,.014),0 0 46px rgba(155,202,209,.07),inset 0 0 34px rgba(207,175,110,.04);transition:border-color .2s ease,box-shadow .2s ease}
.hg-nucleus strong{font:400 3.25rem/.92 Georgia,serif;color:#eff0e8}.hg-nucleus small,.hg-nucleus em{font:600 .48rem/1.2 var(--mono);letter-spacing:.14em;color:#a99875;font-style:normal;text-transform:uppercase}.hg-nucleus small{margin-bottom:5px}.hg-nucleus em{margin-top:7px;color:#687e82}
.instrument-caption{position:absolute;z-index:6;bottom:10%;left:50%;transform:translateX(-50%);white-space:nowrap;color:#7f9397;font:600 .55rem/1 var(--mono);letter-spacing:.18em;text-transform:uppercase}
.instrument-caption b{color:#cfb578;font-weight:600}
.threshold-meridian{position:absolute;left:50%;top:4%;bottom:4%;width:1px;background:linear-gradient(transparent,rgba(155,202,209,.32),rgba(207,175,110,.45) 50%,rgba(155,202,209,.32),transparent);opacity:.58;pointer-events:none}
.threshold-equator{position:absolute;top:50%;left:4%;right:4%;height:1px;background:linear-gradient(90deg,transparent,rgba(155,202,209,.18),rgba(207,175,110,.28) 50%,rgba(155,202,209,.18),transparent);opacity:.55;pointer-events:none}

.threshold-v068-routes{width:min(560px,100%);display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:-18px;position:relative;z-index:8}
.threshold-direction{min-height:70px;display:grid;grid-template-columns:34px 1fr;grid-template-rows:auto auto;column-gap:10px;align-items:center;padding:12px 14px;text-decoration:none;border:1px solid rgba(155,202,209,.17);background:linear-gradient(180deg,rgba(10,13,13,.90),rgba(5,7,7,.94));box-shadow:inset 0 1px rgba(255,255,255,.02);transition:border-color .2s ease,transform .2s ease,background .2s ease}
.threshold-direction:hover,.threshold-direction:focus-visible{outline:none;border-color:rgba(211,177,108,.52);background:linear-gradient(180deg,rgba(16,17,15,.95),rgba(7,8,8,.98));transform:translateY(-2px)}
.threshold-direction .arrow{grid-row:1/3;width:30px;height:42px;display:grid;place-items:center;color:#c7a15b;font-size:1.35rem;border-right:1px solid rgba(155,202,209,.12)}
.threshold-direction strong{font:600 .62rem/1.25 var(--mono);letter-spacing:.13em;color:#e7ebe8}.threshold-direction small{font:600 .48rem/1.2 var(--mono);letter-spacing:.14em;text-transform:uppercase;color:#708589;margin-top:5px}
.threshold-direction.descend .arrow{color:#a9cdd1}.threshold-direction.ascend .arrow{color:#d5b775}

@media(max-width:900px){
  .home-threshold-frame{grid-template-columns:1fr;gap:12px;min-height:auto;padding:36px 24px 30px}
  .home-threshold-frame::after{left:auto;right:12%;opacity:.45}
  .threshold-v068-copy{max-width:720px;text-align:center;justify-self:center}
  .threshold-v068-copy .eyebrow{justify-content:center}.threshold-v068-copy .threshold-lead{margin-left:auto;margin-right:auto}.threshold-register{display:none}
  .threshold-v068-copy h1{font-size:clamp(3.35rem,11vw,5.5rem)}
  .threshold-v068-instrument-zone{min-height:500px;width:100%}
  .threshold-v068-instrument{width:min(430px,72vw)}
  .threshold-v068-instrument-zone::before{width:min(470px,78vw)}
  .threshold-v068-routes{margin-top:-24px}
}
@media(max-width:620px){
  body.home-threshold-v068 .threshold-stage{min-height:auto;padding:10px 54px 64px 8px}
  .home-threshold-frame{padding:30px 12px 26px;clip-path:polygon(3% 0,97% 0,100% 2%,100% 98%,97% 100%,3% 100%,0 98%,0 2%)}
  .home-threshold-frame::before{inset:9px}
  .home-threshold-frame::after{display:none}
  .threshold-v068-copy .eyebrow{font-size:.52rem}.threshold-v068-copy h1{font-size:clamp(2.9rem,15vw,4.45rem);margin:.55rem 0 .8rem}.threshold-cycle{font-size:.51rem;letter-spacing:.11em}.threshold-v068-copy .threshold-lead{font-size:.78rem;max-width:260px;margin-top:.9rem}
  .threshold-v068-instrument-zone{min-height:392px}
  .threshold-v068-instrument{width:min(330px,88vw)}
  .threshold-v068-instrument-zone::before{width:min(350px,92vw)}
  .hg-nucleus{width:102px;height:102px}.hg-nucleus strong{font-size:2.6rem}.hg-nucleus small,.hg-nucleus em{font-size:.42rem}.instrument-caption{bottom:7%;font-size:.46rem;letter-spacing:.14em}
  .threshold-v068-routes{grid-template-columns:1fr;gap:7px;margin-top:-7px;width:94%}.threshold-direction{min-height:60px;padding:9px 10px}.threshold-direction strong{font-size:.56rem}.threshold-direction small{font-size:.43rem}
}
@media(prefers-reduced-motion:reduce){
  .orbit-plane{animation:none!important}.threshold-direction{transition:none!important}.threshold-direction:hover,.threshold-direction:focus-visible{transform:none}
}

/* v0.7.11 creator/colophon credit — restrained threshold provenance */
.threshold-creator{margin:1.15rem 0 0;color:#6f8083;font:600 .52rem/1.6 var(--mono);letter-spacing:.11em;text-transform:uppercase}
.threshold-creator a{color:#bda56e;text-decoration:none;border-bottom:1px solid rgba(189,165,110,.26);padding-bottom:.08rem}
.threshold-creator a:hover,.threshold-creator a:focus-visible{color:#e4d2a6;outline:none;border-color:rgba(159,218,225,.62)}
@media(max-width:900px){.threshold-creator{text-align:center;margin-top:1rem}}
