:root {
  --bg: #f9f9f9;
  --ink: #132048;
  --muted: #4a5568;
  --accent: #1aa6c7;
  --line: rgba(19, 32, 72, .12);
  --font: "Josefin Sans", system-ui, sans-serif;
  --display: "Oswald", "Josefin Sans", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
h1, h2, h3 {
  margin: 0 0 .6rem;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
}

/* ===== TOP NAV (no logo) ===== */
.topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  padding: 1.15rem clamp(1rem, 3.5vw, 3.5rem);
}
.topnav {
  display: flex;
  align-items: center;
  gap: clamp(.7rem, 1.5vw, 1.25rem);
  flex-wrap: wrap;
  justify-content: flex-end;
}
.topnav a {
  font-size: clamp(.85rem, 1.1vw, .98rem);
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0,0,0,.35);
}
.topnav a:hover, .topnav a.on { color: #b8ecf7; }
.nav-cta {
  border: 1.5px solid #fff;
  padding: .5rem .95rem;
  border-radius: 999px;
}
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: rgba(255,255,255,.2);
  border-radius: 8px;
  padding: 10px;
  cursor: pointer;
}
.menu-btn span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: #fff;
}

.drawer {
  position: fixed;
  inset: 0 auto 0 0;
  width: min(360px, 88vw);
  background: var(--bg);
  transform: translateX(-105%);
  transition: transform .28s ease;
  z-index: 40;
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.drawer.open { transform: translateX(0); }
.drawer-close {
  align-self: flex-end;
  border: 0;
  background: transparent;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}
.drawer nav { display: flex; flex-direction: column; gap: .85rem; }
.drawer nav a { font-size: 1.15rem; font-weight: 600; }
.drawer-note { color: var(--muted); margin-top: auto; }
.drawer-mask {
  position: fixed;
  inset: 0;
  background: rgba(19,32,72,.4);
  z-index: 35;
}
.drawer-mask[hidden] { display: none !important; }

/* ===== HERO SLIDE (video + text + cutout) ===== */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  min-height: 100vh;
  display: grid;
  align-items: stretch;
  overflow: hidden;
  color: #fff;
}
.hero-slide {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-dim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,14,28,.72) 0%, rgba(8,14,28,.38) 48%, rgba(8,14,28,.18) 100%),
    linear-gradient(0deg, rgba(8,14,28,.55) 0%, rgba(8,14,28,.12) 42%, rgba(8,14,28,.28) 100%);
}
.hero-stage {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: end;
  gap: clamp(1rem, 3vw, 2.5rem);
  min-height: 100svh;
  min-height: 100vh;
  width: 100%;
  padding: clamp(6rem, 12vh, 8rem) clamp(1.1rem, 4vw, 4rem) 0;
}
.hero-copy {
  align-self: center;
  justify-self: end;
  text-align: left;
  max-width: 42rem;
  width: 100%;
  padding-bottom: clamp(2rem, 6vh, 4rem);
}
.hero-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.25rem, 5.2vw, 3.9rem);
  line-height: 1.16;
  text-transform: none;
  letter-spacing: -.01em;
  font-weight: 600;
  text-shadow: 0 3px 24px rgba(0,0,0,.4);
  display: flex;
  flex-direction: column;
  gap: .18em;
  perspective: 600px;
}
.hero-title .line {
  display: block;
  opacity: 0;
  will-change: transform, opacity, filter;
}
.hero-title .line.is-in {
  animation: heroEnter .75s cubic-bezier(.16,1,.3,1) forwards;
}
.hero-title .line.is-live {
  opacity: 1;
  animation: heroLive 3.6s ease-in-out infinite;
}
.hero-title .line.accent {
  color: #9adff0;
  font-weight: 700;
}
.hero-title .line.accent.is-live {
  animation: heroLive 3.6s ease-in-out infinite, heroGlow 2.8s ease-in-out infinite;
}

@keyframes heroEnter {
  from {
    opacity: 0;
    transform: translate3d(-28px, 36px, 0) scale(.96);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}
@keyframes heroLive {
  0%, 100% { transform: translate3d(0, 0, 0); }
  25% { transform: translate3d(6px, -8px, 0); }
  50% { transform: translate3d(0, -12px, 0); }
  75% { transform: translate3d(-5px, -6px, 0); }
}
@keyframes heroGlow {
  0%, 100% {
    color: #9adff0;
    text-shadow: 0 0 0 rgba(154,223,240,0), 0 3px 24px rgba(0,0,0,.4);
  }
  50% {
    color: #e7fbff;
    text-shadow: 0 0 22px rgba(154,223,240,.65), 0 3px 24px rgba(0,0,0,.4);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-title .line {
    opacity: 1;
    animation: none !important;
    transform: none !important;
    filter: none !important;
  }
}

.hero-mayor {
  margin: 0;
  justify-self: start;
  align-self: end;
  width: min(100%, 520px);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-mayor img {
  width: 100%;
  height: auto;
  max-height: min(78vh, 820px);
  object-fit: contain;
  object-position: bottom center;
  background: transparent;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,.35));
}
.hero-mayor figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* ===== CONTENT ===== */
.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(1.25rem, 4vw, 3rem);
  padding: clamp(2rem, 5vw, 4.5rem) clamp(1.1rem, 4vw, 4rem);
  align-items: start;
  background: var(--bg);
}
.intro-text h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
.intro-text p {
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.65;
  max-width: 42rem;
}
.intro-side {
  margin-top: 2rem;
  max-width: 28rem !important;
}
.btn {
  display: inline-flex;
  margin-top: 1.1rem;
  padding: .8rem 1.25rem;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
  border-radius: 999px;
}
.btn:hover { background: var(--accent); color: #fff; }

.intro-mayor { margin: 0; }
.intro-mayor img {
  width: 100%;
  aspect-ratio: auto;
  max-height: 640px;
  object-fit: contain;
  object-position: bottom center;
  background: transparent;
}
.intro-mayor figcaption {
  margin-top: .8rem;
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.intro-mayor span { color: var(--muted); }

.works {
  padding: clamp(1.5rem, 4vw, 3.5rem) clamp(1.1rem, 4vw, 4rem);
  background: var(--bg);
}
.works-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.works-head a { color: var(--accent); font-weight: 700; white-space: nowrap; }
.works-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.75rem, 1.5vw, 1rem);
}
.work-card time {
  display: block;
  margin-top: .65rem;
  color: var(--accent);
  font-size: .8rem;
  font-weight: 600;
}
.work-card h3 {
  font-size: clamp(.92rem, 1.1vw, 1rem);
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font);
  font-weight: 600;
  line-height: 1.35;
}
.work-img {
  aspect-ratio: 3/4;
  background: #dfe6ee center/cover no-repeat;
}

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: #fff;
  padding: .85rem 0;
}
.ticker-track {
  display: flex;
  width: max-content;
  gap: 1rem;
  animation: marquee 38s linear infinite;
  font-family: var(--display);
  letter-spacing: .08em;
  color: var(--ink);
  opacity: .7;
  white-space: nowrap;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  padding: clamp(2rem, 5vw, 4.5rem) clamp(1.1rem, 4vw, 4rem);
  background: var(--bg);
  align-items: center;
}
.split p { color: var(--muted); line-height: 1.65; font-size: clamp(1rem, 1.3vw, 1.1rem); max-width: 36rem; }
.split-stat {
  min-height: clamp(200px, 28vw, 280px);
  display: grid;
  place-content: center;
  text-align: center;
  background: linear-gradient(160deg, #e8f7fb, #f4f6fa);
  border: 1px solid var(--line);
}
.split-stat strong {
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: var(--ink);
}
.split-stat span { color: var(--accent); font-weight: 700; margin-top: .35rem; }

.foot {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 2rem clamp(1.1rem, 4vw, 4rem) 2.4rem;
}
.foot-brand {
  display: inline-flex;
  margin-bottom: .75rem;
}
.foot-brand img {
  width: auto;
  height: 42px;
  max-width: 160px;
  object-fit: contain;
  opacity: .9;
}
.foot-cols {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  color: var(--muted);
}
.foot-cols nav { display: flex; flex-direction: column; gap: .45rem; }
.copy { margin-top: 1.4rem; color: var(--muted); font-size: .85rem; }

.page-hero {
  padding: clamp(5rem, 10vh, 7rem) clamp(1.1rem, 4vw, 4rem) 1rem;
  background: var(--bg);
}
.page-hero p { color: var(--muted); }
.page-pad { padding: 1rem clamp(1.1rem, 4vw, 4rem) 4rem; background: var(--bg); }

.services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.services article {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.2rem;
}
.services p { color: var(--muted); line-height: 1.55; }

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.news-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.15rem;
}
.news-card time { color: var(--accent); font-size: .82rem; font-weight: 600; }
.news-card p { color: var(--muted); line-height: 1.5; }

.about-band {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: center;
}
.about-text p { color: var(--muted); line-height: 1.65; font-size: clamp(1rem, 1.3vw, 1.1rem); }
.mayor { margin: 0; }
.mayor img {
  width: 100%;
  aspect-ratio: auto;
  max-height: 640px;
  object-fit: contain;
  object-position: bottom center;
  background: transparent;
}
.mayor figcaption { margin-top: .75rem; display: flex; flex-direction: column; gap: .15rem; }
.mayor figcaption span { color: var(--muted); }
.contact { color: var(--muted); line-height: 1.7; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .intro, .split, .about-band { grid-template-columns: 1fr; }
  .hero-stage {
    grid-template-columns: 1fr;
    align-items: end;
    padding-bottom: 0;
  }
  .hero-copy {
    align-self: end;
    justify-self: stretch;
    max-width: 100%;
    padding-bottom: 1rem;
    order: 1;
  }
  .hero-mayor {
    justify-self: center;
    width: min(78%, 420px);
    order: 2;
  }
  .hero-title { font-size: clamp(2.2rem, 9vw, 3.6rem); }
}
@media (max-width: 860px) {
  .topnav { display: none; }
  .menu-btn { display: block; }
  .works-grid, .services, .news-grid { grid-template-columns: 1fr; }
  .hero { min-height: 100svh; }
  .topbar { justify-content: space-between; }
}
@media (max-width: 520px) {
  .hero-title { font-size: clamp(2rem, 11vw, 2.8rem); }
  .hero-mayor { width: min(92%, 360px); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .drawer { transition: none; }
}
