:root {
  --bg-dark: #0a0a0a;
  --ink: #e8e8e8;
  --ink-dim: #b8c0cc;
  --brand-blue: #3939f1;
  --maxw: 1200px;
  --safe-top: env(safe-area-inset-top, 0px);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family:
    "Inter", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell,
    Noto Sans, Arial, sans-serif;
  color: var(--ink);
  background-color: var(--bg-dark);
  background-image: url("/assets/images/bg1.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
}

@media (max-width: 900px) {
  body {
    background-attachment: scroll;
  }
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0.75rem;
  padding: 0.4rem 0.75rem;
  background: #0f0f0f;
  color: var(--ink);
  border-radius: 999px;
  z-index: 11000;
  transform: translateY(-120%);
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0;
}

.skip-link:focus-visible {
  transform: translateY(0);
  opacity: 1;
  outline: 2px solid var(--brand-blue);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip-path: inset(50%);
  white-space: nowrap;
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.bg-shade {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.12s linear;
  background: none;
}

main {
  position: relative;
  z-index: 1;
}

.top-links {
  position: fixed;
  top: calc(8px + var(--safe-top));
  left: 0;
  right: 0;
  display: flex;
  gap: 28px;
  justify-content: center;
  padding-inline: 12px;
  z-index: 10000;
  transition: transform 0.28s ease, opacity 0.28s ease;
  will-change: transform, opacity;
  pointer-events: auto;
}

.top-links.hide {
  transform: translateY(-140%);
  opacity: 0;
}

.top-links a {
  color: var(--ink) !important;
  text-decoration: none;
  font-family: "Six Caps", sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  line-height: 1;
  padding: 0.25rem 0.35rem;
  border-radius: 0.25rem;
  opacity: 0.95;
  transition: color 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.top-links a:hover,
.top-links a:focus-visible {
  color: var(--brand-blue) !important;
  background: transparent;
  opacity: 1;
  outline: none;
}

.hamburger {
  display: none;
}

.mobile-menu {
  display: none;
}

.mobile-scrim {
  display: none;
}

@media (max-width: 640px) {
  .top-links {
    display: none;
  }

  .hamburger {
    position: fixed;
    top: calc(10px + var(--safe-top));
    right: 10px;
    z-index: 10010;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid #ffffff22;
    background: rgba(10, 10, 10, 0.55);
    -webkit-backdrop-filter: blur(6px) saturate(140%);
    backdrop-filter: blur(6px) saturate(140%);
    color: var(--ink);
    cursor: pointer;
  }

  .hamburger:focus-visible {
    outline: 2px solid var(--brand-blue);
    outline-offset: 2px;
  }

  .hamburger svg {
    width: 26px;
    height: 26px;
  }

  .mobile-scrim {
    position: fixed;
    inset: 0;
    z-index: 10004;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    display: block;
  }

  .mobile-scrim.open {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding-top: calc(14px + var(--safe-top));
    padding-bottom: 14px;
    z-index: 10005;
    display: grid;
    gap: 10px;
    justify-items: center;
    background: rgba(10, 10, 10, 0.78);
    -webkit-backdrop-filter: blur(10px) saturate(150%);
    backdrop-filter: blur(10px) saturate(150%);
    border-bottom: 1px solid #ffffff22;
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.24s ease, opacity 0.24s ease;
  }

  .mobile-menu.open {
    transform: translateY(0);
    opacity: 1;
  }

  .mobile-menu a {
    color: var(--ink);
    text-decoration: none;
    font-family: "Six Caps", sans-serif;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: clamp(1.25rem, 6vw, 1.8rem);
    padding: 0.4rem 0.6rem;
    border-radius: 0.35rem;
  }

  .mobile-menu a:hover,
  .mobile-menu a:focus-visible {
    color: var(--brand-blue);
  }

  .top-pad {
    height: 90px;
  }

  .rundown-grid {
    grid-template-columns: 1fr;
  }
}

.top-pad {
  height: 56px;
}

section {
  min-height: auto;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 96px 20px 72px;
  position: relative;
  isolation: isolate;
}

#home {
  min-height: 100svh;
}

.section-inner {
  width: min(100%, var(--maxw));
}

.rundown-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.rundown-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
  width: 100%;
}

.rundown-card {
  padding: 20px 22px;
  border-radius: 18px;
  border: 1px solid #ffffff22;
  background: linear-gradient(180deg, rgba(15, 17, 21, 0.85), rgba(8, 8, 12, 0.7));
  box-shadow: 0 12px 40px #000a;
  text-align: left;
}

.rundown-card h3 {
  margin: 0 0 6px;
  font-family: "Six Caps", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.rundown-card p {
  margin: 0;
  color: var(--ink-dim);
  font-size: clamp(0.95rem, 1.5vw, 1rem);
  line-height: 1.6;
}

@media (min-width: 901px) {
  .section-inner {
    backdrop-filter: blur(2px) saturate(130%);
  }

  #home .section-inner {
    backdrop-filter: none !important;
  }
}

section h2 {
  font-family: "Gloock", serif;
  font-weight: 400;
  font-size: clamp(1.3rem, 3.6vw, 3rem);
  margin: 0 0 0px;
}

.brand {
  color: #fff !important;
}

.tagline {
  color: var(--ink-dim);
  margin-top: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.sunrise {
  opacity: 0;
  transition: opacity 0.9s ease;
}

.sunrise.show {
  opacity: 1;
}

.logo-hidden {
  opacity: 0 !important;
  transition: opacity 0.35s ease;
}

.grid2 {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  align-items: center;
  text-align: left;
}

.media {
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 10px 40px #0009;
  border: 1px solid #ffffff22;
  display: block;
}

.col-copy p {
  max-width: 60ch;
}

@media (max-width: 900px) {
  .grid2 {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .col-copy p {
    margin-inline: auto;
  }

  .media {
    border: none;
    box-shadow: none;
    border-radius: 10px;
  }
}

#demo {
  padding-top: 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  padding: 12px 16px;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid #ffffff30;
  background: #0e141d;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  box-shadow: 0 6px 24px #0008;
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 2px solid #3939f1;
  outline-offset: 2px;
}

.btn.btn-outline {
  background: transparent;
  border-color: #ffffff40;
}

.btn.btn-outline:hover {
  border-color: #3939f1;
  color: #3939f1;
}

.shows-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: stretch;
}

.shows-grid.hidden {
  display: none;
}

.show-card {
  position: relative;
  padding: 18px 16px 16px;
  background: #0b0f16cc;
  border: 1px solid #ffffff22;
  border-radius: 16px;
  box-shadow: 0 12px 40px #000a;
  overflow: hidden;
}

.show-card::before,
.show-card::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border: 1px solid #ffffff44;
}

.show-card::before {
  top: 8px;
  left: 8px;
  border-right: none;
  border-bottom: none;
}

.show-card::after {
  bottom: 8px;
  right: 8px;
  border-left: none;
  border-top: none;
}

.show-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.show-date {
  font-family: "Six Caps", sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1;
  color: #3939f1;
}

.show-city {
  font-weight: 600;
  color: #e8e8e8b3;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
}

.show-venue {
  font-size: 1rem;
  color: #e8e8e8;
  margin-bottom: 14px;
}

.show-cta {
  display: flex;
  justify-content: flex-end;
}

.video-wrap {
  position: relative;
  width: 100%;
  max-width: var(--maxw);
  margin: 24px auto 0;
  aspect-ratio: 16 / 9;
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-wrap .video-load-btn {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  background: rgba(0, 0, 0, 0.85);
  color: var(--ink);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.video-wrap .video-load-btn:hover,
.video-wrap .video-load-btn:focus-visible {
  opacity: 0.7;
}

.quote-box {
  position: relative;
  margin: 12px auto 24px;
  padding: 20px 22px 20px 26px;
  max-width: 580px;
  text-align: left;
  background: linear-gradient(180deg, rgba(8, 10, 14, 0.88), rgba(8, 10, 14, 0.72));
  border: 1px solid #ffffff22;
  border-radius: 16px;
  box-shadow: 0 12px 40px #000a;
  backdrop-filter: blur(4px) saturate(120%);
}

.quote-box::before {
  content: "“";
  position: absolute;
  left: 12px;
  top: -18px;
  font-family: "Gloock", serif;
  font-size: 72px;
  line-height: 1;
  color: #3939f1;
  opacity: 0.9;
  pointer-events: none;
}

.quote {
  font-family: "Gloock", serif;
  color: var(--ink-dim);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.65;
  margin: 0;
  text-wrap: balance;
}

.quote-accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #3939f1, #2a2a80);
  border-radius: 16px 0 0 16px;
  opacity: 0.9;
}

#gravilhas .section-inner {
  backdrop-filter: none !important;
}

.gravilhas {
  width: clamp(160px, 18vw, 260px);
  height: auto;
  display: block;
  margin: 6px auto 0;
  border: none;
  box-shadow: none;
  border-radius: 0;
  filter: none;
  opacity: 0.95;
}

.link-wrap {
  position: relative;
}

.full-link {
  position: absolute;
  inset: 0;
  display: block;
}

footer {
  background: none;
  border: 0;
  padding: 28px 16px 48px;
  text-align: center;
}

.socials {
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: center;
  margin: 12px 0 0;
  flex-wrap: wrap;
}

.socials a {
  display: inline-grid;
  place-items: center;
  color: #3939f1;
}

.socials a:hover {
  opacity: 0.85;
}

.socials svg {
  width: 56px;
  height: 56px;
}

.footer-logo {
  width: 140px;
  height: auto;
  display: block;
  margin: 0 auto 10px;
}

.rights {
  color: var(--ink-dim);
  font-weight: 500;
  letter-spacing: 0.04em;
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  margin-top: 6px;
}

@media (prefers-reduced-motion: reduce) {
  .top-links,
  .btn,
  .btn:hover,
  .bg-shade {
    transition: none;
  }

  .btn,
  .btn:hover {
    transform: none;
    box-shadow: none;
  }
}
