/* Landing hero: a 3D corridor of artwork on obsidian black.
   Tiles line both walls, curve round the far end and come back. Drag to move through it. */
.hx{--hx-bg:#060608;--hx-ink:#f4f4f5;--hx-dim:rgba(244,244,245,.62);--hx-line:rgba(255,255,255,.14);--hx-gold:212,175,55;
  position:relative;min-height:100vh;min-height:100svh;display:flex;flex-direction:column;overflow:hidden;isolation:isolate;
  color:var(--hx-ink);padding:clamp(88px,12vh,124px) 0 0;
  background:
    radial-gradient(52% 38% at 50% 30%,rgba(222,178,108,.11),rgba(222,178,108,.035) 55%,transparent 75%),   /* warm ambient glow behind the headline */
    radial-gradient(70% 40% at 50% 100%,rgba(255,255,255,.055),transparent 70%),                              /* soft light on the floor of the corridor */
    var(--hx-bg)}
.hx::after{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;                                  /* vignette: darkens the corners for depth */
  background:radial-gradient(125% 95% at 50% 46%,transparent 52%,rgba(0,0,0,.34) 100%)}

/* ---- copy ---- */
.hx-copy{position:relative;z-index:3;flex:none;display:flex;flex-direction:column;align-items:center;text-align:center;padding:0 var(--pad,24px)}
.hx-eyebrow{display:inline-flex;align-items:center;gap:9px;margin:0 0 clamp(12px,2.2vh,22px);font:500 11px/1 var(--font,Inter,sans-serif);letter-spacing:.06em;text-transform:none;color:rgba(244,244,245,.78)}
.hx-eyebrow i{width:5px;height:5px;border-radius:50%;background:rgb(var(--hx-gold));box-shadow:0 0 10px rgba(var(--hx-gold),.7);flex:none}
.hx .hx-title{margin:0;font-family:var(--font,Inter,sans-serif);font-weight:500;font-size:clamp(36px,6.1vw,88px);line-height:1.03;letter-spacing:-.042em;text-transform:none;color:var(--hx-ink);max-width:21ch;text-wrap:balance}
.hx .hx-title .hx-dim{                                                                                          /* brushed-silver highlight */
  background:linear-gradient(100deg,#8e929c 0%,#e9ebef 24%,#ffffff 38%,#a9adb6 58%,#eceef2 78%,#8a8e98 100%);
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;padding-right:.04em}
.hx-sub{margin:clamp(12px,2vh,20px) 0 0;max-width:46ch;font:400 clamp(13px,1.15vw,15px)/1.6 var(--font,Inter,sans-serif);color:var(--hx-dim)}
.hx-cta{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:clamp(16px,3vh,28px)}
.hx-btn,.hx-ghost{display:inline-flex;align-items:center;gap:8px;font:500 12.5px/1 var(--font,Inter,sans-serif);letter-spacing:.01em;text-transform:none;text-decoration:none;padding:14px 20px;border-radius:8px;transition:transform .3s,background .3s,border-color .3s,box-shadow .3s}
.hx-btn{color:#070709;background:#fff;border:1px solid #fff;box-shadow:0 8px 30px -10px rgba(255,255,255,.35)}
.hx-btn:hover{transform:translateY(-2px);box-shadow:0 14px 40px -10px rgba(255,255,255,.5)}
.hx-btn span{font-size:11px}
.hx-ghost{color:var(--hx-ink);background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.15);-webkit-backdrop-filter:blur(14px) saturate(140%);backdrop-filter:blur(14px) saturate(140%)}
.hx-ghost:hover{transform:translateY(-2px);background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.3)}
.hx a:focus-visible,.hx button:focus-visible{outline:2px solid rgba(var(--hx-gold),.9);outline-offset:3px;border-radius:6px}

/* ---- the corridor ---- */
/* No mask, no blur: tiles run straight off the screen edges (like the reference), and the nearest ones stretch as they pass the camera. */
.hx-stage{position:relative;z-index:1;flex:1 1 auto;min-height:clamp(290px,44svh,500px);margin-top:clamp(14px,2.4vh,30px);
  cursor:grab;touch-action:pan-y;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent}
.hx-stage.is-drag{cursor:grabbing}
.hx-gl{position:absolute;inset:0;width:100%;height:100%;display:block}
.hx-world{position:absolute;inset:0;margin:0;padding:0;list-style:none}
.hx-tile{position:absolute;left:50%;top:50%;transform-origin:0 0;margin:0;padding:0;list-style:none;visibility:hidden;
  backface-visibility:hidden;-webkit-backface-visibility:hidden;will-change:transform,opacity}
/* the card sits on its own GPU layer; the 3D placement is done on the <li> by hero.js */
.hx-card{width:100%;height:100%;border-radius:calc(6px * var(--k,1));transform:translate3d(0,0,0);backface-visibility:hidden;-webkit-backface-visibility:hidden;will-change:transform;
  box-shadow:0 0 0 1px rgba(255,255,255,.08),0 calc(30px * var(--k,1)) calc(60px * var(--k,1)) rgba(0,0,0,.8);
  transition:transform .4s cubic-bezier(.16,1,.3,1),box-shadow .4s}
.hx-card:hover{transform:translate3d(0,0,0) scale(1.04);
  box-shadow:0 0 0 1px rgba(var(--hx-gold),.9),0 0 34px rgba(var(--hx-gold),.28),0 30px 60px rgba(0,0,0,.8)}
/* Tested: image-rendering:crisp-edges / -webkit-optimize-contrast made the small far-away tiles look jagged, so they are left on the default smoothing.
   To try them anyway, add them to the rule below. */
.hx-card img{display:block;width:100%;height:100%;object-fit:cover;border-radius:calc(6px * var(--k,1));background:#0c0c0f;-webkit-user-drag:none;user-select:none;pointer-events:none;outline:0}
.hx-stage:focus-visible{outline:2px solid rgba(var(--hx-gold),.7);outline-offset:-4px}
.hx-stage.is-drag .hx-card{transition:none}

/* ---- bottom row ---- */
.hx-foot{position:absolute;z-index:4;left:var(--pad,24px);right:var(--pad,24px);bottom:clamp(14px,2.4vh,26px);display:flex;justify-content:center;align-items:center;gap:16px;pointer-events:none}
.hx-foot>*{pointer-events:auto}
.hx-hint,.hx-hint{margin:0;display:flex;align-items:center;gap:14px;font:500 10.5px/1 var(--font,Inter,sans-serif);letter-spacing:.05em;text-transform:none;color:rgba(244,244,245,.7)}
.hx-pause{appearance:none;-webkit-appearance:none;font:500 10.5px/1 var(--font,Inter,sans-serif);letter-spacing:.05em;text-transform:none;color:rgba(244,244,245,.7);background:none;border:0;border-left:1px solid var(--hx-line);border-radius:0;padding:2px 0 2px 14px;cursor:pointer}
.hx-pause:hover{color:#fff}

/* ---- entrance: pure CSS so the headline (LCP) is never held back by JavaScript ---- */
@keyframes hxIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
.hx-sub,.hx-cta{animation:hxIn .9s cubic-bezier(.16,1,.3,1) .12s both}
.hx-cta{animation-delay:.22s}
.hx-foot{animation:hxIn .9s ease .5s both}
.hx-js .hx-stage{opacity:0}
.hx-go .hx-stage{opacity:1;transition:opacity 1.2s ease .15s}

@media(max-width:760px){.hx{padding:84px 0 0}.hx .hx-title{font-size:clamp(34px,10.4vw,60px)}.hx-stage{min-height:clamp(270px,40svh,420px)}.hx-eyebrow{font-size:10.5px}}
@media(prefers-reduced-motion:reduce){.hx-sub,.hx-cta,.hx-foot{animation:none}.hx-js .hx-stage{opacity:1}.hx-go .hx-stage{transition:none}.hx-card{transition:none}}

/* subtitle: two lines on desktop, the first slightly longer than the second */
.hx-sub{max-width:600px}
@media(max-width:760px){.hx-sub{max-width:46ch}.hx-br{display:none}}

/* one-line title on desktop; it wraps naturally on phones */
@media(min-width:761px){.hx-title{max-width:21ch;white-space:normal}}
