:root {
  --bg: #05060a;
  --accent: #4dff88;          /* Shrek green neon */
  --accent-soft: rgba(77, 255, 136, 0.15);
  --text: #f4f7f4;
  --muted: #9aa39a;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

main { position: relative; min-height: 100dvh; }

/* ── Grid mosaic ───────────────────────────────── */
.grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
  min-height: 100dvh;
  background: #000;
}

@media (max-width: 1100px) { .grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 680px)  { .grid { grid-template-columns: repeat(2, 1fr); } }

.tile {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #0c0f14;
  cursor: pointer;
  transition: opacity .35s ease, filter .35s ease, transform .35s ease;
}

.tile img,
.tile video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tile video {
  opacity: 0;
  transition: opacity .3s ease;
}
.tile.playing video { opacity: 1; }

/* dim tiles a touch so the center title reads clearly */
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
  transition: background .3s ease;
  pointer-events: none;
}
.tile:hover::after,
.tile.playing::after { background: rgba(0, 0, 0, 0); }

.tile:hover { z-index: 2; }
.tile:hover img,
.tile:hover video { transform: scale(1.04); }

/* filtered-out tiles */
.tile.hidden { opacity: .12; filter: grayscale(1); pointer-events: none; }

/* little category tag on hover */
.tile-tag {
  position: absolute;
  left: 8px;
  bottom: 8px;
  z-index: 3;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .25s ease, transform .25s ease;
}
.tile:hover .tile-tag { opacity: 1; transform: translateY(0); }

/* ── Center hero overlay ───────────────────────── */
.hero {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;                 /* clicks pass through to the grid */
  padding: 24px;
  background:
    radial-gradient(ellipse 60% 55% at 50% 50%, rgba(5,6,10,.82) 0%, rgba(5,6,10,.55) 45%, rgba(5,6,10,0) 100%);
}

.hero-card {
  pointer-events: auto;                 /* but the card itself is interactive */
  text-align: center;
  max-width: min(92vw, 640px);
  max-height: 92dvh;
  overflow-y: auto;
  scrollbar-width: none;
  padding: 8px 4px;
}
.hero-card::-webkit-scrollbar { display: none; }

.hero-name {
  font-size: clamp(3rem, 12vw, 8rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: .95;
  color: #fff;
  text-shadow:
    0 0 18px rgba(77,255,136,.55),
    0 0 48px rgba(77,255,136,.35),
    0 6px 30px rgba(0,0,0,.6);
}

.hero-tagline {
  margin-top: 14px;
  font-size: clamp(.9rem, 2.4vw, 1.15rem);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #fff;
}

.cats {
  margin-top: 16px;
  font-size: clamp(.8rem, 1.9vw, 1rem);
  letter-spacing: .1em;
  line-height: 1.7;
  color: var(--accent);
  text-shadow: 0 0 16px rgba(77,255,136,.35);
}

/* filter chips */
.chips {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.chip {
  pointer-events: auto;
  font: inherit;
  font-size: clamp(.8rem, 1.8vw, .95rem);
  font-weight: 600;
  letter-spacing: .02em;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.04);
  color: var(--text);
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all .2s ease;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #04150a;
  box-shadow: 0 0 22px rgba(77,255,136,.5);
}

/* contact */
.contact {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: inherit;
  font-weight: 700;
  font-size: clamp(.85rem, 1.8vw, 1rem);
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 999px;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: #04150a;
  box-shadow: 0 0 24px rgba(77,255,136,.45);
}
.btn-primary:hover { box-shadow: 0 0 34px rgba(77,255,136,.7); }

.btn-ghost {
  background: rgba(255,255,255,.06);
  color: #fff;
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: #fff; }

/* ── Full-service pitch ── */
.services {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.services-heading {
  font-size: clamp(1rem, 2.4vw, 1.35rem);
  font-weight: 800;
  letter-spacing: .01em;
  color: var(--accent);
  text-shadow: 0 0 18px rgba(77,255,136,.4);
}
.services-blurb {
  margin: 12px auto 0;
  max-width: 540px;
  font-size: clamp(.85rem, 1.9vw, 1rem);
  line-height: 1.55;
  color: #d7ded7;
  text-shadow: 0 2px 12px rgba(0,0,0,.7);
}
.services-tags {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.svc-tag {
  font-size: clamp(.72rem, 1.5vw, .82rem);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 13px;
  border-radius: 999px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(77,255,136,.35);
}

/* ── Info page ── */
.info {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(28px, 7vw, 80px) 24px 80px;
  min-height: 100dvh;
}
.info-back {
  display: inline-block;
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .04em;
  font-size: .95rem;
  transition: color .2s ease;
}
.info-back:hover { color: var(--accent); }
.info-title {
  margin-top: 28px;
  font-size: clamp(2.2rem, 8vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  color: #fff;
  text-shadow: 0 0 22px rgba(77,255,136,.4);
}
.info-lead {
  margin-top: 22px;
  font-size: clamp(1.05rem, 2.6vw, 1.4rem);
  line-height: 1.55;
  color: #eaefEa;
}
.info-lead strong { color: var(--accent); font-weight: 700; }
.info-sub {
  margin-top: 16px;
  font-size: clamp(.95rem, 2.2vw, 1.15rem);
  line-height: 1.6;
  color: #c7cec7;
}
.info-sub strong { color: var(--accent); font-weight: 700; }
.info-block {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.info-block h2 {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: .01em;
}
.info-block p {
  margin-top: 12px;
  font-size: clamp(.95rem, 2.2vw, 1.1rem);
  line-height: 1.65;
  color: #d7ded7;
}
.info-block strong { color: #fff; font-weight: 700; }
.info-cta {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* per-category media gallery on the info page */
.gallery {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.g-item {
  position: relative;
  flex: 0 0 auto;
  width: clamp(118px, 30vw, 168px);
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  overflow: hidden;
  background: #0c0f14;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,.08);
}
.g-item img,
.g-item video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.g-item video { opacity: 0; transition: opacity .3s ease; }
.g-item.playing video { opacity: 1; }
.g-item::after {
  content: "▶";
  position: absolute;
  right: 8px;
  bottom: 8px;
  font-size: 11px;
  color: #fff;
  opacity: .8;
  text-shadow: 0 1px 4px rgba(0,0,0,.8);
  pointer-events: none;
}
.g-item.playing::after,
.g-item:not(:has(video))::after { content: none; }

.info-contact { text-align: center; }
.info-contact h2 { color: var(--accent); }
.info-contact p { margin-top: 12px; color: #d7ded7; }

/* scroll hint on tall screens where grid extends below the fold */
.scroll-hint {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  pointer-events: none;
  animation: bob 2s ease-in-out infinite;
}
@keyframes bob { 0%,100%{ transform: translate(-50%,0);} 50%{ transform: translate(-50%,6px);} }
