@font-face {
  font-family: Gouda;
  src: url('/assets/HelveticaNeueLTPro-BdEx.otf') format('opentype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Eurostile;
  src: url('/assets/EurostileExtendedBlack.ttf') format('truetype');
  font-weight: 900;
  font-display: swap;
}
:root { color-scheme: light; font-family: Arial, Helvetica, sans-serif; }
* { box-sizing: border-box; }
html { min-height: 100%; background: #78b9c2; }
body {
  margin: 0;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: max(2.5rem, env(safe-area-inset-top)) 1.5rem max(2.5rem, env(safe-area-inset-bottom));
  color: #fff;
}
.backdrop { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.backdrop-poster, #landing-scene, #landing-scene canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#landing-scene { opacity: 0; transition: opacity 300ms ease; }
body[data-background-ready] #landing-scene { opacity: 1; }
.links-page { width: min(100%, 18rem); text-align: center; }
h1 { margin: 0 0 2rem; font-size: clamp(1.1rem, 4.8vw, 1.4rem); line-height: 1.15; }
.wordmark {
  position: relative;
  z-index: 2;
  display: inline-block;
  color: #fff;
  font-family: Gouda, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -.08em;
  text-decoration: none;
}
.links { display: grid; gap: .8rem; }
.privacy-note { position: fixed; top: max(.75rem, env(safe-area-inset-top)); right: max(.75rem, env(safe-area-inset-right)); z-index: 3; margin: 0; font: .8125rem/1.5 Arial, sans-serif; color: #fff; text-align: right; }
.privacy-note summary { width: max-content; min-width: 44px; min-height: 24px; margin-left: auto; padding: .25rem .125rem; font-size: .625rem; cursor: pointer; list-style: none; text-decoration: underline; text-underline-offset: .2em; }
.privacy-note summary::-webkit-details-marker { display: none; }
.privacy-note p { width: min(20rem, calc(100vw - 2rem)); max-height: calc(100svh - 4rem); overflow-y: auto; margin: .25rem 0 0; padding: .75rem; background: rgb(0 0 0 / 75%); border-radius: .5rem; text-align: left; }
.bubble {
  position: relative;
  display: grid;
  place-items: center;
  height: 3rem;
  padding: .7rem 1.25rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-family: Eurostile, Arial, sans-serif;
  font-size: .9rem;
  font-weight: 900;
  letter-spacing: -.025em;
  line-height: 1.25;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.bubble::before {
  content: '';
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: rgb(255 255 255 / 3%);
  -webkit-backdrop-filter: blur(1px) saturate(115%);
  backdrop-filter: blur(1px) saturate(115%);
}
body[data-glass-ready] .bubble::before { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.bubble span { position: relative; z-index: 2; }
.category-toggle { cursor: pointer; list-style: none; }
.category-toggle::-webkit-details-marker { display: none; }
.link-category[open] > .category-toggle::before {
  z-index: 2;
  inset: 2px;
  background: rgb(255 255 255 / 14%);
  filter: blur(2px);
}
.category-links { display: grid; gap: .55rem; padding: .55rem .5rem 0; }
.link-category:not([open]) > .category-links { display: none; }
.category-links .bubble { font-size: .85rem; }
#glass-reflections { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.bubble:focus-visible, .wordmark:focus-visible, .privacy-note summary:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
.bubble:active span { opacity: .8; }
@media (max-height: 600px) { body { padding-block: 1.5rem; } h1 { margin-bottom: 1.5rem; } .links { gap: .6rem; } }
@media (prefers-reduced-motion: reduce) { #landing-scene { transition: none; } }

