/* =========================================================
   Base
========================================================= */

:root{
  --bg: #0b0c0f;
  --panel: rgba(255,255,255,0.06);
  --panel2: rgba(255,255,255,0.08);
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.65);
  --line: rgba(255,255,255,0.08);
  --shadow: 0 18px 60px rgba(0,0,0,0.55);
  --r: 18px;
  --gap: 18px;

  /* Higher = slower (multiplies animation duration) */
  --wall-speed-mult: 2.0;
}

*{ box-sizing: border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: radial-gradient(1200px 700px at 40% 10%, rgba(255,255,255,0.06), transparent 60%),
              radial-gradient(900px 500px at 80% 60%, rgba(255,255,255,0.04), transparent 60%),
              var(--bg);
  color: var(--text);
  overflow: hidden; /* we control scrolling inside grid/feed */
}

.siteFooter{
  position: fixed;
  z-index: 45;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  width: min(860px, calc(100vw - 20px));
  padding: 10px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.34);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.28);
  text-align: center;
}

.siteFooter p{
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255,255,255,0.68);
}

.siteFooter a{
  color: rgba(255,255,255,0.92);
  text-decoration: none;
}

.siteFooter a:hover{
  text-decoration: underline;
}

/* =========================================================
   Topbar (fixed like inspo)
========================================================= */

.topbar{
  position: fixed;
  z-index: 50;
  top: 10px;
  left: 10px;
  right: 10px;
  height: 56px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.45);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.35);
}

.topbar__left, .topbar__right{
  display:flex;
  align-items:center;
  gap: 10px;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
}

#brandLogo{
  height: 26px;
  width: auto;
  display:block;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.45));
}

/* Chips */
.chips{
  display:flex;
  gap:8px;
  align-items:center;
}

.chip{
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  cursor: pointer;
  font-size: 13px;
}
.chip.is-active{
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.14);
}

/* Pills right side */
.pillset{ display:flex; gap:8px; }

.pill{
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  text-decoration:none;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 13px;
}
.pill--btn{ cursor:pointer; }

.dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.25);
  margin-right: 8px;
}

/* =========================================================
   Stage
========================================================= */

.stage{
  position: relative;
  height: 100vh;
  padding-top: 76px; /* space under topbar */
}

/* Utility */
.is-hidden{ display:none !important; }

/* =========================================================
   GRID MODE — 3 COLUMNS + INFINITE SCROLL
========================================================= */

#grid{
  position: absolute;
  inset: 76px 0 0 0;
  padding: var(--gap);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  overflow: hidden;
  z-index: 1; /* behind overlay */
}

.wallCol{
  overflow: hidden;
  border-radius: var(--r);
}

.wallTrack{
  display:flex;
  flex-direction: column;
  gap: var(--gap);
  will-change: transform;

  animation: wallScroll var(--dur, 120s) linear infinite;
}

.wallCol:hover .wallTrack{
  animation-play-state: paused;
}

@keyframes wallScroll{
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}

.tile{
  width: 100%;
  border-radius: var(--r);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: rgba(255,255,255,0.03);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06) inset;
  border: 0;
  padding: 0;
}

.tile img{
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.tileTag{
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(0,0,0,0.35);
  color: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
}

/* =========================================================
   LANDING OVERLAY — BIG FLOATING LOGO
========================================================= */

.landingOverlay{
  position: absolute;
  inset: 76px 0 0 0;
  z-index: 3;
  pointer-events: none; /* don't block clicks */
  display: grid;
  place-items: center;
}

.landingOverlay__inner{
  width: min(900px, 92vw);
  display:flex;
  justify-content:center;
  align-items:center;
  position: relative;
}

.landingOverlay__logo{
  width: min(720px, 86vw);
  height: auto;
  opacity: 0.92;
  filter: drop-shadow(0 30px 80px rgba(0,0,0,0.75));
}

.landingOverlay::before{
  content:"";
  position:absolute;
  inset: 0;
  background:
    radial-gradient(700px 380px at 50% 50%, rgba(0,0,0,0.15), rgba(0,0,0,0.55) 70%, rgba(0,0,0,0.70));
  opacity: 0.55;
}

/* =========================================================
   FEED MODE
========================================================= */

#feed{
  position: absolute;
  inset: 76px 0 0 0;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  z-index: 2;
}

.panel{
  height: calc(100vh - 76px);
  scroll-snap-align: start;
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 22px 18px;
}

.panel__img{
  max-height: 72vh;
  width: min(980px, 96vw);
  object-fit: contain;
  border-radius: 22px;
  box-shadow: var(--shadow);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
}

.meta{
  width: min(980px, 96vw);
  display:flex;
  flex-direction: column;
  gap: 6px;
  color: var(--muted);
}

.meta h1{
  margin:0;
  font-size: 16px;
  color: var(--text);
  font-weight: 600;
}
.meta p{
  margin:0;
  font-size: 13px;
}

.badges{
  display:flex;
  gap:8px;
  flex-wrap: wrap;
}
.badge{
  display:inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.82);
  font-size: 12px;
}

/* =========================================================
   Thumbs + arrows (feed mode)
========================================================= */

.thumbStrip{
  position: fixed;
  z-index: 40;
  right: 12px;
  top: 86px;
  bottom: 18px;
  width: 86px;
  overflow: auto;
  display:flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(12px);
}

.thumb{
  border: 0;
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  background: rgba(255,255,255,0.04);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06) inset;
}

.thumb img{
  width:100%;
  height: 68px;
  object-fit: cover;
  display:block;
}

.thumb.is-active{
  box-shadow: 0 0 0 2px rgba(255,255,255,0.22) inset, 0 10px 24px rgba(0,0,0,0.35);
}

.navArrows{
  position: fixed;
  z-index: 41;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  display:flex;
  flex-direction: column;
  gap: 10px;
}

.navBtn{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.35);
  color: rgba(255,255,255,0.9);
  cursor:pointer;
  backdrop-filter: blur(12px);
}

/* =========================================================
   Modals
========================================================= */

.modal{
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  padding: 0;
  background: rgba(12,12,16,0.96);
  color: var(--text);
  width: min(760px, 92vw);
  max-width: 92vw;
}

.modal::backdrop{
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
}

.modal__head{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 14px 14px 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.modal__head h2{
  margin:0;
  font-size: 15px;
}
.modal__body{
  padding: 14px;
  color: var(--muted);
}

/* About layout */
.aboutGrid{
  display: block;
}

.aboutCopy p{
  margin: 0;
  line-height: 1.7;
}

.aboutCopy{
  display: grid;
  gap: 14px;
}

.aboutEyebrow{
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.aboutLead{
  color: rgba(255,255,255,0.86);
  font-size: 18px;
  line-height: 1.6;
  max-width: 42ch;
}

.aboutSection{
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.aboutSection h3{
  margin: 0 0 10px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.92);
}

.aboutList{
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.aboutNote{
  padding-top: 8px;
  color: rgba(255,255,255,0.8);
}

/* Contact layout */
.contactList{
  display:flex;
  flex-direction: column;
  gap: 10px;
}

.contactRow{
  display:grid;
  grid-template-columns: 140px 1fr;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
}

.contactLabel{
  font-size: 13px;
  color: rgba(255,255,255,0.70);
}

.contactValue{
  color: rgba(255,255,255,0.92);
  text-decoration: none;
}
.contactValue:hover{
  text-decoration: underline;
}

/* Socials row inside modals */
.modal__socials{
  display:flex;
  gap: 8px;
  align-items:center;
  justify-content: flex-end;
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* tighten spacing on smaller screens */
@media (max-width: 860px){
  :root{ --gap: 12px; }
  .tile{ border-radius: 16px; }
  .modal__socials{ justify-content: flex-start; }
  .contactRow{ grid-template-columns: 1fr; }
  .siteFooter{
    bottom: 8px;
    padding: 9px 12px;
  }
  .siteFooter p{
    font-size: 11px;
  }
}
