/* Lustre Digital — holding page */
@font-face {
  font-family: "Druk Wide";
  src: url(fonts/druk-wide-heavy-subset.woff) format("woff");
  font-weight: 800;
  font-display: block;
}

:root {
  --cyan: #00f0ff;
  --ink: #000;
  --white: #eef6f7;
  --dim: rgba(238, 246, 247, .52);
  --faint: rgba(238, 246, 247, .16);
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --wide: "Druk Wide", "Arial Black", Impact, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--ink); color: var(--white); font-family: var(--mono); -webkit-font-smoothing: antialiased; }
body { overflow: hidden; min-height: 100svh; cursor: crosshair; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--cyan); color: #000; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.bg { position: fixed; inset: 0; width: 100%; height: 100%; display: block; }

/* Wordmark */
.mark { position: fixed; left: 50%; top: 43%; transform: translate(-50%, -50%); width: min(98vw, 1700px); pointer-events: none; text-align: center; z-index: 2; }
.mark canvas { display: block; width: 100%; aspect-ratio: 3.3 / 1; filter: drop-shadow(0 0 1.4vw rgba(0, 240, 255, .38)); }
.digital { font-family: var(--wide); font-weight: 800; font-size: clamp(11px, 1.7vw, 30px); letter-spacing: 1.3em; margin-right: -1.3em; color: var(--white); margin-top: max(-4.4vw, -76px); }

/* Link hover: cyan sweep underline */
.u { position: relative; display: inline-block; }
.u::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: var(--cyan); transform: scaleX(0); transform-origin: right; transition: transform .45s cubic-bezier(.7, 0, .2, 1); }
.u:hover::after, .u:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.u:hover { color: var(--cyan); }
a:focus-visible { outline: 1px solid var(--cyan); outline-offset: 4px; }

.top { position: fixed; top: 22px; left: 28px; right: 28px; display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); z-index: 3; pointer-events: none; }
.top b { color: var(--white); font-weight: 500; }

.shade { position: fixed; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); z-index: 2; pointer-events: none; }
.contact { position: fixed; left: 0; right: 0; bottom: 26px; display: flex; justify-content: center; align-items: center; z-index: 3; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.contact > * { padding: 0 22px; border-left: 1px solid var(--faint); text-shadow: 0 1px 8px #000; }
.contact > *:first-child { border-left: 0; color: var(--dim); }
.contact .soc { display: flex; gap: 18px; }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.rise { animation: rise 1.1s cubic-bezier(.2, .7, .1, 1) both; }

/* No-WebGL fallback: keep the brand visible */
.no-gl .mark canvas { display: none; }
.no-gl .mark::before { content: "LUSTRE"; display: block; font-family: var(--wide); font-weight: 800; font-size: 15vw; line-height: 1.1; color: var(--cyan); }
.no-gl .digital { margin-top: 0; }

@media (max-width: 760px) {
  .top .mid { display: none; }
  .mark { top: 36%; }
  .shade { height: 52vh; background: linear-gradient(transparent, rgba(0, 0, 0, .6) 40%, rgba(0, 0, 0, .92)); }
}
@media (max-width: 1000px) {
  /* contact becomes a frosted card with big, tappable rows */
  .contact { left: 14px; right: 14px; max-width: 460px; margin: 0 auto; bottom: max(14px, env(safe-area-inset-bottom)); flex-direction: column; align-items: stretch;
    background: rgba(2, 7, 12, .8); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
    border: 1px solid rgba(0, 240, 255, .25); border-radius: 14px; overflow: hidden;
    font-size: 15px; letter-spacing: .02em; text-transform: none; box-shadow: 0 0 40px rgba(0, 240, 255, .08); }
  .contact > * { padding: 14px 18px; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .08); text-shadow: none; }
  .contact > *:first-child { border-top: 0; padding: 14px 18px 6px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); }
  .contact > a { display: flex; justify-content: space-between; align-items: center; color: var(--white); }
  .contact > a.u::after { content: "↗"; position: static; height: auto; background: none; transform: none; color: var(--cyan); font-size: 16px; }
  .contact > a:active { background: rgba(0, 240, 255, .1); }
  .contact > span:first-child + a { border-top: 0; }
  .contact .soc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding: 0; }
  .contact .soc a { padding: 14px 0; text-align: center; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--white); }
  .contact .soc a + a { border-left: 1px solid rgba(255, 255, 255, .08); }
  .contact .soc a::after { display: none; }
  .contact .soc a:active { background: rgba(0, 240, 255, .1); color: var(--cyan); }
}
@media (max-width: 360px) { .contact { font-size: 14px; } .contact > * { padding-left: 14px; padding-right: 14px; } }
@media (prefers-reduced-motion: reduce) { .rise { animation: none; } }
