/* 2025–26 editorial layer: glass, oversized type, bento, marquees, reveals. */

html.lenis {
  scroll-behavior: auto !important;
}

.site-header[data-header].is-stuck {
  background: rgba(18, 16, 14, 0.46) !important;
  backdrop-filter: blur(22px) saturate(1.35);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.marquee {
  overflow: hidden;
  border-block: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(10px);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee span {
  padding: 0.85rem 0;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.section-head h2,
.page-hero h1,
.studio h2,
.contact-band h2 {
  font-size: clamp(2.7rem, 5.4vw, 5.5rem) !important;
  line-height: 0.92 !important;
  letter-spacing: -0.045em !important;
  max-width: 16ch;
}

.section-head h2 .word,
.word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  margin-right: 0.22em;
}

.word > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.is-in .word > span,
.word.is-in > span {
  transform: translateY(0);
}

.fact-band strong,
.stats strong {
  font-size: clamp(2.4rem, 4vw, 4rem) !important;
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.mosaic,
.gallery,
.services,
.feature-grid {
  gap: 0.85rem !important;
}

.tile,
.gallery img,
.service,
.plan-card,
.project,
.season {
  border-radius: 1.25rem;
  overflow: hidden;
}

.section picture,
.case-media picture {
  display: block;
  border-radius: 1.35rem;
  overflow: hidden;
}

.section picture img,
.case-media picture img,
.plan-card picture img {
  width: 100%;
  height: min(68vh, 720px);
  object-fit: cover;
}

.plan-card picture img {
  height: 240px;
}

.section img,
.tile img,
.case-media img {
  clip-path: inset(8% 8% 8% 8%);
  transition: clip-path 1.05s cubic-bezier(0.16, 1, 0.3, 1), transform 1.1s ease;
}

.is-in img,
.case.is-in img {
  clip-path: inset(0);
}

.tile:hover img,
.plan-card:hover img,
.case-link:hover img {
  transform: scale(1.04);
}

@media (min-width: 960px) {
  .steps,
  .timeline {
    display: block !important;
  }

  .steps li,
  .timeline li {
    position: sticky;
    top: 5.5rem;
    margin: 0 0 0.8rem;
    min-height: 34vh;
    padding: 1.6rem 1.5rem !important;
    border-radius: 1.4rem;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(16px);
    box-shadow: 0 18px 50px rgba(20, 16, 12, 0.08);
  }
}

.btn,
.nav-cta,
.cine-cta {
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

@media (max-width: 800px) {
  .section-head h2,
  .page-hero h1 {
    font-size: clamp(2.4rem, 11vw, 3.4rem) !important;
  }

  .steps li,
  .timeline li {
    position: static;
    min-height: 0;
  }
}

@media (max-width: 800px) {
  .alert .wrap {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.75rem;
    min-height: 44px;
    padding-top: 0;
    padding-bottom: 0;
  }

  .alert .wrap > span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .alert-full {
    display: none;
  }

  .alert-short {
    display: inline;
  }

  body:has(.alert) {
    --alert-h: 44px;
  }

  .alert,
  .alert a {
    font-size: 0.875rem;
  }

  .alert a {
    flex: none;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    min-width: 44px;
    padding: 0 0.15rem;
  }

  .site-footer,
  .site-footer a,
  .site-footer p,
  .legal,
  p.fine,
  p.kicker,
  .kicker,
  p.case-num,
  figcaption,
  .marquee span,
  .cine-copy .kicker,
  .cine-copy .cine-cta,
  .cine-copy .btn,
  .cine-cta,
  a.btn,
  .site-header .nav-cta {
    font-size: 0.875rem;
  }

  .site-header .nav-cta {
    min-height: 44px !important;
    padding-top: 0.65rem !important;
    padding-bottom: 0.65rem !important;
  }

  .site-footer a,
  a.logo,
  .includes li > a,
  .legal li > a,
  .nav-panel a,
  .site-header .mega a,
  .site-header .menu a,
  .filters > button,
  .tabs [role="tab"] {
    min-height: 44px;
    min-width: 44px;
  }

  .site-footer a,
  .includes li > a,
  .legal li > a {
    display: flex;
    align-items: center;
    width: fit-content;
  }

  a.logo,
  .nav-panel a,
  .site-header .mega a,
  .site-header .menu a,
  .filters > button,
  .tabs [role="tab"] {
    display: inline-flex;
    align-items: center;
    box-sizing: border-box;
  }

  .filters > button,
  .tabs [role="tab"] {
    padding: 0.55rem 0.85rem;
  }

  a.logo {
    padding: 0.35rem 0.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track,
  .word > span,
  .section img,
  .tile img,
  .case-media img {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    clip-path: none !important;
  }
}
