/* ---------- Base & viewport ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
:root{
  --vh: 100vh;  /* fallback */
  --vh: 100svh; /* iOS with URL bar */
  --vh: 100dvh; /* modern dynamic viewport */
  --overlay-tint: rgba(0,0,0,0.35); /* global tint strength */
}

body{
  width: 100%;
  height: var(--vh);
  background: #000;
  overflow: hidden;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Background (poster + video) ---------- */
.video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 2s;
  pointer-events: none;
}

.bg-video.active {
  opacity: 1;
  z-index: 1;
}

/* Poster fills screen immediately */
.poster{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgb(12,12,12); /* ~95% black */
  transform: translateZ(0);
  will-change: opacity;
  transition: opacity .5s ease;
}

/* ---------- Oversized fixed title ---------- */
.site-title {
  position: fixed;
  top: -13px;                 /* pushes top edge 5px out of frame */
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 5;
  padding: 0;                /* no extra padding so it hugs the top */

  font-family: 'Notable', 'Arial Black', sans-serif;
  
  font-size: clamp(3rem, 10vw, 8rem);  /* responsive, big and bold */
  font-weight: 900;
  line-height: 0.9;          /* tighter vertical spacing */
  letter-spacing: 0.04em;
  color: #ff1493;            /* vivid solid pink */
  text-transform: uppercase;

  /* clean, no drop shadow */
  text-shadow: none;
  background: none;
  pointer-events: none;      /* avoid blocking clicks/taps */
}

/* ---------- Bottom tagline ---------- */
.site-tagline {
  z-index: 11;
  pointer-events: auto;     /* override the earlier none */
  cursor: pointer;
  position: fixed;
  bottom: 10px;              /* 5px out of frame (bleeds off bottom) */
  left: 0;
  width: 100%;
  text-align: center;
  padding: 0;

  font-family: 'Notable', 'Arial Black', sans-serif;

  font-size: clamp(1.2rem, 3vw, 2.5rem);  /* responsive but slightly smaller */
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.05em;
  color: #ff1493;            /* same solid vivid pink */
  text-transform: uppercase;

  text-shadow: none;
  background: none;
  
  padding-bottom: 16px;  /* clickable area inside viewport */
  margin-bottom: -16px;  /* preserves the same visual position */
  -webkit-tap-highlight-color: transparent; /* nicer iOS tap */
  touch-action: manipulation;
  
}


/* Vimeo iframe set to *cover* any aspect ratio */
.video-background iframe{
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;

  /* Base 16:9 sizing */
  width: 100vw;
  height: 56.25vw;           /* 9/16 */

  /* Ensure full coverage on tall portrait screens */
  min-width: 177.78dvh;      /* 16/9 of viewport height */
  min-height: 100dvh;

  /* Fallbacks */
  min-width: 177.78vh;
  min-height: 100vh;

  opacity: 0;                /* start hidden; show when loaded */
  transition: opacity .6s ease;
}

/* When iframe is ready, fade it in and fade poster out */
.video-loaded .video-background iframe { opacity: 1; }
.video-loaded .video-background .poster { opacity: 0; }

/* ---------- Overlay: global tint + vignette ---------- */
.overlay{
  z-index: 1;
  position: relative;
  width: 100%;
  height: var(--vh);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: env(safe-area-inset-top) env(safe-area-inset-right)
           env(safe-area-inset-bottom) env(safe-area-inset-left);
}

/* Soft color tint for legibility */
.overlay::before{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(
      to bottom,
      rgba(0,0,0,0.15) 0%,
      var(--overlay-tint) 50%,
      rgba(0,0,0,0.5) 100%
  );
  z-index:-1;
}

/* Subtle vignette around edges */
.overlay::after{
  content:"";
  position:absolute; inset:-10vmax;
  background: radial-gradient(60% 60% at 50% 50%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.45) 100%);
  z-index:2;
  pointer-events:none;
}

/* ---------- Content panel (glass) ---------- */
/* Glassmorphism panel behind the icons */
.links-panel {
  padding: 18px 28px;
  border-radius: 16px;

  /* The glass effect */
  background: rgba(255, 255, 255, 0.08); /* subtle translucent white */
  backdrop-filter: blur(12px) saturate(130%);
  -webkit-backdrop-filter: blur(12px) saturate(130%); /* for Safari */

  /* Subtle depth & inner glow */
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

/* ---------- Icons (original colors, equal height, bottom-aligned) ---------- */
.links-container{
  display: flex;
  gap: 40px;
  align-items: flex-end; /* bottom edge alignment */
}

.links-container a img{
  height: 100px;
  width: auto;
  object-fit: contain;
  border-radius: 10px;
  transition: transform .3s ease, opacity .3s ease;
}

.links-container a img:hover{
  transform: scale(1.08) translateY(-4px);
  opacity: .9;
}

/* ---------- Mobile tweaks ---------- */
@media (max-width: 600px){
  .links-panel{ padding: 14px 18px; border-radius: 12px; }
  .links-container{ gap: 28px; }
  .links-container a img{ height: 78px; }
}

/* Respect data saver: show poster only, don’t load heavy video */
@media (prefers-reduced-data: reduce){
  .video-background iframe{ display: none !important; }
  .poster{ opacity: 1 !important; }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce){
  .links-container a img:hover{ transform: none; }
  .video-background iframe, .poster{ transition: none; }
}

/* === Slide-up info panel (scrollable) === */
.info-panel {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 66vh;                     /* stays at 2/3 of viewport height */
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: white;

  /* Slide/fade behavior */
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.6s ease;

  z-index: 12;
  pointer-events: none;             /* hidden: no blocking */
  display: flex;
  justify-content: center;
  align-items: flex-start;

  /* === make it scrollable === */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch; /* smooth scrolling on iOS */
  scroll-behavior: smooth;
  padding: 6vh 30px 8vh;
  box-sizing: border-box;
}

.info-panel.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Content stays centered and constrained in width */
.info-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
  font-size: 1.2rem;
  line-height: 1.55;
}

/* Optional: make sure text doesn't hug bottom edge */
.info-content::after {
  content: "";
  display: block;
  height: 10vh; /* adds scroll-space padding at bottom */
}

.info-content h2 {
  font-family: 'Black Han Sans', 'Anton', sans-serif;
  font-size: 2rem;
  margin-bottom: 0.8em;
  color: #ff1493;
}

/* Optional: dim the footer text when panel is open */
.site-tagline.dimmed {
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

/* --- Remove overlay tint/vignette per request --- */
.overlay::before,
.overlay::after {
  content: none !important;
}

/* --- Ensure stacking is correct now that titles are outside --- */
.video-background { z-index: -1 !important; } /* stays behind everything */
.overlay { z-index: 1 !important; }           /* links panel layer */
.site-title { z-index: 10 !important; }       /* header on top */
.site-tagline {
  z-index: 11 !important;                     /* footer on very top */
  pointer-events: auto !important;
  cursor: pointer !important;
}

/* Panel heading */
.info-content h2 {
  font-family: 'Black Han Sans','Anton',sans-serif;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  margin-bottom: 1rem;
  color: #ff1493;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* List layout */
.bio-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  text-align: left;         /* better readability for sentences */
}

/* Each item */
.bio-list li {
  position: relative;
  padding-left: 18px;       /* space for custom bullet */
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  line-height: 1.55;
  color: #f2f2f2;
}

/* Pink accent bullet */
.bio-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff1493;
  box-shadow: 0 0 0 2px rgba(255, 20, 147, 0.18);
}

/* Emphasize the lead phrase */
.bio-list .lead {
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* Slightly soften trailing copy */
.bio-list li { color: rgba(255,255,255,0.92); }

/* Position the social links lower — just above the footer */
.overlay {
  position: fixed;              /* stays fixed like footer */
  bottom: calc(6vh + 40px);     /* adjust height above footer (footer is -5px bleed) */
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  z-index: 5;
  pointer-events: none;         /* prevent blocking footer clicks */
}

/* Keep the glass panel itself interactive */
.links-panel {
  pointer-events: auto;
  padding: 14px 24px;
  border-radius: 16px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px) saturate(130%);
  -webkit-backdrop-filter: blur(12px) saturate(130%);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4),
              0 0 0 1px rgba(255,255,255,0.1) inset;
}

/* Adjust icon row spacing */
.links-container {
  display: flex;
  gap: 32px;
  align-items: flex-end;
}

/* Scale icons down by ~20% */
.links-container a img {
  height: 80px;                 /* was 100px */
  width: auto;
  object-fit: contain;
  border-radius: 10px;
  transition: transform .3s ease, opacity .3s ease;
}

/* Hover interaction remains the same */
.links-container a img:hover {
  transform: scale(1.08) translateY(-4px);
  opacity: .9;
}

/* Responsive tweak for smaller screens */
@media (max-width: 600px) {
  .overlay { bottom: calc(8vh + 30px); }
  .links-container a img { height: 64px; }
}

.video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}

.bg-video.slide-out {
  transform: translateY(-100%);
  z-index: 1;
}

.bg-video.slide-in {
  transform: translateY(0%);
  z-index: 2;
}



