:root {
  --white: #ffffff;
  --blue-950: #06152b;
  --blue-900: #082b5f;
  --blue-800: #073b7a;
  --blue-700: #0b4f9f;
  --blue-600: #0b72d9;
  --blue-500: #1686f7;
  --red-700: #bf1118;
  --red-600: #e31b23;
  --red-500: #ff2b35;
  --ink: #071226;
  --muted: #9fb2ca;
  --line: rgba(255, 255, 255, .14);
  --panel: rgba(255, 255, 255, .08);
  --max: 1200px;
  --header: 76px;
  --mx: 50vw;
  --my: 40vh;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  min-width: 320px;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--white);
  background:
    radial-gradient(circle at 50% -10%, rgba(22, 134, 247, .26), transparent 35%),
    linear-gradient(180deg, #06152b 0%, #071226 46%, #020814 100%);
  line-height: 1.55;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
  background: none;
}

h1,
h2,
h3,
h4 {
  font-family: "Syne", system-ui, sans-serif;
  line-height: .98;
  letter-spacing: 0;
}

p {
  color: var(--muted);
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--red-500), var(--blue-500));
  transform: scaleX(0);
  transform-origin: left;
}

.cursor-light {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, .12), transparent 22rem);
  mix-blend-mode: screen;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 80;
}

.nav-shell {
  min-height: var(--header);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 2px;
  padding: 10px 14px 10px 18px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(2, 8, 20, .62);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .35);
  backdrop-filter: blur(22px);
}

.brand img {
  width: 116px;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .4));
}

.site-nav {
  justify-self: center;
  display: flex;
  gap: 4px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  transition: .22s var(--ease);
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--white);
  background: rgba(255, 255, 255, .1);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  transition: .22s var(--ease);
}

.nav-open .menu-toggle span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-open .menu-toggle span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .05em;
  text-transform: uppercase;
  overflow: hidden;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 1px 1px auto;
  height: 45%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, .35), transparent);
  z-index: -1;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(3px);
}

.btn-red {
  color: var(--white);
  background: linear-gradient(145deg, var(--red-500), var(--red-700));
  box-shadow: 0 5px 0 var(--red-700), 0 18px 34px rgba(227, 27, 35, .26);
}

.btn-blue {
  color: var(--white);
  background: linear-gradient(145deg, var(--blue-500), var(--blue-800));
  box-shadow: 0 5px 0 var(--blue-900), 0 18px 34px rgba(22, 134, 247, .22);
}

.btn-light {
  color: var(--white);
  background: rgba(255, 255, 255, .08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 16px 34px rgba(0, 0, 0, .18);
}

.btn.full {
  width: 100%;
}

.home-hero,
.page-hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 136px 0 86px;
}

.page-hero {
  min-height: 620px;
  text-align: center;
}

.home-hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background: var(--hero-art, radial-gradient(circle at 18% 28%, rgba(227, 27, 35, .32), transparent 25%), radial-gradient(circle at 80% 20%, rgba(22, 134, 247, .34), transparent 28%));
  animation: artFloat 12s ease-in-out infinite alternate;
}

.home-hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(115deg, transparent 0 18%, rgba(255, 255, 255, .07) 18% 19%, transparent 19% 50%, rgba(227, 27, 35, .13) 50% 51%, transparent 51%), repeating-linear-gradient(90deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 90px);
  animation: gridSlide 20s linear infinite;
  opacity: .7;
}

.hero-scan {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(2, 8, 20, .72));
}

.home-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: clamp(40px, 7vw, 90px);
  align-items: center;
}

.kicker {
  color: var(--red-500);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.mega-title,
.mask-title {
  max-width: 980px;
  margin: 16px 0 22px;
  font-size: clamp(40px, 9vw, 40px);
  text-transform: uppercase;
}

.mask-title {
  margin-inline: auto;
  font-size: clamp(40px, 10vw, 40px);
}

.hero-lead {
  max-width: 680px;
  color: #d3dfed;
  font-size: clamp(18px, 2.1vw, 24px);
  font-weight: 500;
}

.page-hero .hero-lead {
  margin-inline: auto;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 30px;
}

.page-hero .action-row,
.cinema-cta .action-row {
  justify-content: center;
}

.brand-monolith {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
  border-radius: 42px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: linear-gradient(145deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .03));
  box-shadow: 0 40px 100px rgba(0, 0, 0, .38);
  overflow: hidden;
}

.brand-monolith::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: conic-gradient(from 90deg, transparent, rgba(227, 27, 35, .35), rgba(22, 134, 247, .32), transparent);
  animation: spin 18s linear infinite;
}

.brand-monolith img {
  position: relative;
  width: min(68%, 340px);
  filter: drop-shadow(0 28px 42px rgba(0, 0, 0, .44));
}

.monolith-stats {
  position: relative;
  display: inline-grid;
  gap: 2px;
  min-width: 138px;
  padding: 16px;
  margin: 10px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px;
  background: rgba(2, 8, 20, .62);
  backdrop-filter: blur(10px);
}

.monolith-stats strong {
  font: 800 40px/1 "Syne";
}

.monolith-stats span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.marquee-band {
  overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, .12);
  background: var(--red-600);
}

.marquee-band div {
  display: flex;
  width: max-content;
  gap: 42px;
  padding: 18px 0;
  animation: marquee 18s linear infinite;
}

.marquee-band span {
  font: 800 26px/1 "Syne";
  text-transform: uppercase;
  white-space: nowrap;
}

.editorial-block,
.contact-section,
.price-section,
.comments-section {
  position: relative;
  padding: clamp(50px, 2vw, 50px) 0;
}

.section-intro {
  max-width: 820px;
  margin-bottom: 46px;
}

.section-intro h2,
.feature-copy h2,
.story-copy h2,
.cinema-cta h2,
.product-spec h2,
.showcase-copy h2,
.contact-panel h2,
.price-section h2,
.comments-section h2 {
  margin: 9px 0 9px;
  font-size: clamp(50px, 2vw, 50px);
}

.poster-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.poster-card {
  position: relative;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 24px;
  border-radius: 28px;
  background: #111;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .3);
  transition: transform .3s var(--ease), filter .3s var(--ease);
}

.poster-card:hover {
  transform: translateY(-8px) scale(1.01);
}

.poster-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .72;
  transition: transform .7s var(--ease);
}

.poster-card:hover img {
  transform: scale(1.08);
}

.poster-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(2, 8, 20, .92));
}

.poster-card span,
.poster-card h3,
.poster-card p {
  position: relative;
  z-index: 1;
}

.poster-card span,
.product-copy span,
.quote-card span {
  color: var(--red-500);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.poster-card h3 {
  margin: 10px 0;
  font-size: 30px;
}

.poster-card p {
  color: #d5dfec;
}

.feature-cinema,
.split-story,
.service-showcase,
.product-hero-panel {
  padding: clamp(86px, 10vw, 140px) 0;
}

.feature-cinema {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: stretch;
  min-height: 720px;
}

.feature-media {
  min-height: 620px;
  overflow: hidden;
  border-radius: 0 42px 42px 0;
}

.feature-media img,
.showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8vw;
}

.product-stack {
  display: grid;
  gap: 22px;
}

.product-panel {
  min-height: 500px;
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr);
  gap: clamp(26px, 4vw, 54px);
  align-items: center;
  padding: clamp(28px, 5vw, 62px);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .035));
  overflow: hidden;
}

.product-device {
  display: grid;
  place-items: center;
  width: min(100%, 390px);
  min-height: 360px;
  justify-self: center;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .04)),
    radial-gradient(circle at 50% 35%, rgba(22, 134, 247, .18), transparent 56%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .18),
    0 24px 56px rgba(0, 0, 0, .28);
}

.product-device img,
.app-orbit img {
  width: min(100%, 260px);
  max-height: 260px;
  object-fit: contain;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 28px;
  background: rgba(255, 255, 255, .08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .2),
    0 24px 44px rgba(0, 0, 0, .34);
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .32));
  animation: productFloat 4.8s ease-in-out infinite alternate;
}

.product-copy h3 {
  margin: 12px 0 16px;
  font-size: clamp(38px, 6vw, 76px);
}

.process-strip {
  padding: 90px 0;
  background: linear-gradient(90deg, rgba(227, 27, 35, .16), rgba(22, 134, 247, .16));
}

.process-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.process-card,
.quote-card,
.contact-form,
.contact-panel,
.price-table,
.comment-form,
.comments-list article {
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 26px;
  background: rgba(255, 255, 255, .075);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .24);
  backdrop-filter: blur(16px);
}

.process-card {
  padding: 28px;
}

.process-card span {
  color: var(--red-500);
  font-weight: 950;
  text-transform: uppercase;
}

.process-card h3 {
  margin: 16px 0 8px;
  font-size: 28px;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.quote-card {
  padding: 30px;
}

.quote-card h3 {
  margin: 12px 0;
  font-size: 32px;
}

.split-story .container,
.service-showcase .container,
.product-hero-panel .container,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(300px, .9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
}

.story-image {
  display: grid;
  place-items: center;
  min-height: 520px;
  border-radius: 38px;
  background: radial-gradient(circle, rgba(255, 255, 255, .16), rgba(255, 255, 255, .04));
}

.story-image img {
  width: min(70%, 360px);
}

.stat-line {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 30px;
}

.stat-line strong {
  color: var(--red-500);
  font: 800 44px/1 "Syne";
}

.showcase-media {
  min-height: 620px;
  overflow: hidden;
  border-radius: 36px;
}

.showcase-copy ul,
.product-spec ul {
  display: grid;
  gap: 12px;
  margin: 28px 0;
  list-style: none;
}

.showcase-copy li,
.product-spec li {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .13);
  color: #d7e1ee;
  font-weight: 800;
}

.app-orbit {
  display: grid;
  place-items: center;
  width: min(100%, 480px);
  min-height: 500px;
  justify-self: center;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 42px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .035)),
    radial-gradient(circle at 50% 40%, rgba(22, 134, 247, .28), rgba(255, 255, 255, .035) 62%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .18),
    0 30px 80px rgba(0, 0, 0, .32);
}

.app-orbit img {
  width: min(100%, 320px);
  max-height: 320px;
  border-radius: 32px;
}

.price-table {
  overflow: hidden;
  margin-top: 28px;
}

.price-row {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  gap: 10px;
  padding: 18px 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.price-row.head {
  color: var(--white);
  background: linear-gradient(90deg, var(--red-700), var(--blue-800));
  font-weight: 950;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .06em;
}

.price-row strong {
  color: var(--red-500);
}

.contact-form,
.contact-panel,
.comment-form {
  padding: clamp(24px, 4vw, 42px);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: #dce8f7;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 16px;
  background: rgba(255, 255, 255, .08);
  color: var(--white);
  padding: 16px 18px;
  outline: none;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(22, 134, 247, .16);
}

select option {
  color: var(--ink);
}

.contact-panel {
  display: grid;
  gap: 14px;
  align-self: stretch;
}

.contact-panel a {
  display: block;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .08);
  font-weight: 900;
}

.hp-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
}

.alert,
.comment-message {
  display: none;
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 900;
}

.alert.show,
.comment-message:not(:empty),
.comment-message.success,
.comment-message.error {
  display: block;
}

.alert.success,
.comment-message.success {
  color: #dff8e8;
  background: rgba(32, 160, 86, .25);
  border: 1px solid rgba(95, 220, 140, .4);
}

.alert.error,
.comment-message.error {
  color: #ffe0e3;
  background: rgba(227, 27, 35, .2);
  border: 1px solid rgba(255, 80, 90, .35);
}

.download-counter,
.download-note {
  color: #d7e1ee;
  font-weight: 900;
}

.comments-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.comment-card {
  padding: 22px;
}

.comment-card h4 {
  font-size: 20px;
}

main > .nav-cta1,
main > .nav-cta2,
main > .nav-cta {
  margin-top: 28px;
  margin-bottom: 80px;
}

main > .nav-cta1 {
  margin-left: calc(50% - 170px);
  margin-right: 12px;
}

main > .nav-cta2 {
  margin-left: 12px;
}

main:not(:has(> .nav-cta1)) > .nav-cta2 {
  position: relative;
  left: 50%;
  margin-left: 0;
  transform: translateX(-50%);
}

main > .nav-cta:not(.nav-cta1):not(.nav-cta2) {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

main > .menu-toggle {
  display: none !important;
}

.cinema-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(110px, 12vw, 180px) 0;
  text-align: center;
  background: linear-gradient(135deg, rgba(227, 27, 35, .22), rgba(22, 134, 247, .16));
}

.cinema-cta h2 {
  max-width: 960px;
  margin-inline: auto;
}

/* Portfólio em vídeo — cards estilo Alves Estúdio */
.video-portfolio {
  padding-top: 70px;
  padding-bottom: 80px;
}

.video-portfolio .video-container {
  max-width: 1080px;
}

.video-portfolio .section-intro {
  margin-bottom: 34px;
}

.video-portfolio .videos-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.video-portfolio .video-card {
  position: relative;
  min-height: 360px;
  border-radius: 28px;
  overflow: hidden;
  background: #050505;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .3);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.video-portfolio .video-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 34px 80px rgba(0, 0, 0, .38);
}

.video-portfolio .video-card video,
.video-portfolio .video-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .74;
  transition: transform .7s var(--ease), opacity .3s var(--ease);
}

.video-portfolio .video-card:hover video,
.video-portfolio .video-card:hover img {
  transform: scale(1.08);
  opacity: .9;
}

.video-portfolio .audio-card audio {
  width: 100%;
  margin-top: 16px;
}

.video-portfolio .video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 8, 20, .05) 0%, rgba(2, 8, 20, .45) 42%, rgba(2, 8, 20, .94) 100%),
    linear-gradient(135deg, rgba(227, 27, 35, .16), rgba(22, 134, 247, .12));
  z-index: 1;
}

.video-portfolio .video-content {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
}

.video-portfolio .video-content span {
  color: var(--red-500);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.video-portfolio .video-content h3 {
  margin: 8px 0 10px;
  color: var(--white);
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: .98;
}

.video-portfolio .video-content p {
  max-width: 94%;
  color: #d5dfec;
  font-size: 14px;
  line-height: 1.45;
}

.video-portfolio .glass-video-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-top: 16px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--white);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, .26);
  background: rgba(255, 255, 255, .12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .24),
    0 14px 34px rgba(0, 0, 0, .24);
  backdrop-filter: blur(14px);
  cursor: pointer;
  transition: transform .22s var(--ease), background .22s var(--ease), border-color .22s var(--ease);
}

.video-portfolio .glass-video-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, .2);
  border-color: rgba(255, 255, 255, .42);
}

.inline-portfolio .video-container {
  max-width: 1180px;
}

.inline-portfolio .video-card {
  min-height: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .075);
}

.inline-portfolio .video-card video,
.inline-portfolio .video-card img {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  opacity: 1;
  transform: none;
}

.inline-portfolio .video-card:hover video,
.inline-portfolio .video-card:hover img {
  transform: none;
  opacity: 1;
}

.inline-portfolio .video-overlay {
  display: none;
}

.inline-portfolio .video-content {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  padding: 22px;
}

.inline-portfolio .video-content p {
  max-width: 100%;
}

.audiovisual-portfolio .videos-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.audiovisual-portfolio .video-card video {
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #000;
}

.image-portfolio .videos-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.zoom-trigger {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  cursor: zoom-in;
  background: #050505;
}

.zoom-trigger img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .5s var(--ease);
}

.inline-portfolio .zoom-trigger:hover img {
  transform: scale(1.04);
}

.image-lightbox[hidden] {
  display: none;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: 30px;
  background: rgba(2, 8, 20, .9);
  backdrop-filter: blur(14px);
}

.image-lightbox:target {
  display: grid;
}

.image-lightbox img {
  max-width: min(1100px, 94vw);
  max-height: 86vh;
  border-radius: 22px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, .55);
}

.lightbox-close {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 201;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--white);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  background: rgba(255, 255, 255, .14);
}

.lightbox-open {
  overflow: hidden;
}

@media (max-width: 1120px) {
  .video-portfolio .videos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .video-portfolio .video-card {
    min-height: 340px;
  }
}

@media (max-width: 700px) {
  .video-portfolio {
    padding-top: 50px;
    padding-bottom: 60px;
  }

  .video-portfolio .videos-grid {
    grid-template-columns: 1fr;
  }

  .video-portfolio .video-card {
    min-height: 320px;
    border-radius: 24px;
  }

  .video-portfolio .video-content {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .video-portfolio .video-content h3 {
    font-size: 26px;
  }
}

.footer {
  padding: 80px 0 32px;
  background: #020814;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 34px;
}

.footer-brand img {
  width: 130px;
  margin-bottom: 18px;
}

.footer h4 {
  margin-bottom: 14px;
  font-size: 18px;
}

.footer a {
  display: block;
  margin: 9px 0;
  color: #c8d7ea;
  font-weight: 800;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 54px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: #9fb2ca;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .72s var(--ease), transform .72s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes artFloat {
  from {
    transform: translate3d(-1%, -1%, 0) scale(1);
  }

  to {
    transform: translate3d(1%, 1%, 0) scale(1.04);
  }
}

@keyframes gridSlide {
  to {
    background-position: 0 0, 90px 0;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

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

@keyframes productFloat {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-14px);
  }
}

@media (max-width: 1120px) {

  .poster-grid,
  .process-strip .container {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-stage,
  .feature-cinema,
  .product-panel,
  .split-story .container,
  .service-showcase .container,
  .product-hero-panel .container,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .feature-media {
    border-radius: 0;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .site-header {
    top: 0;
  }

  .nav-shell {
    width: 100%;
    border-radius: 0;
    grid-template-columns: auto 1fr auto;
  }

  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav {
    position: absolute;
    top: var(--header);
    left: 16px;
    right: 16px;
    display: grid;
    padding: 18px;
    border-radius: 24px;
    background: rgba(2, 8, 20, .96);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: .22s var(--ease);
  }

  .site-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    justify-content: center;
    min-height: 52px;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 32px, var(--max));
  }

  .home-hero,
  .page-hero {
    min-height: auto;
    padding: 122px 0 70px;
  }

  .mega-title,
  .mask-title {
    font-size: clamp(42px, 13vw, 66px);
  }

  .hero-lead {
    font-size: 17px;
  }

  .action-row .btn {
    width: 100%;
  }

  main > .nav-cta1,
  main > .nav-cta2,
  main > .nav-cta {
    width: min(260px, calc(100% - 32px));
    margin: 10px auto;
    left: auto !important;
    transform: none !important;
  }

  main > .nav-cta1 {
    margin-top: 28px;
  }

  main > .nav-cta2,
  main > .nav-cta:not(.nav-cta1):not(.nav-cta2) {
    margin-bottom: 70px;
  }

  .poster-grid,
  .process-strip .container,
  .quote-grid,
  .form-grid,
  .price-row {
    grid-template-columns: 1fr;
  }

  .poster-card {
    min-height: 410px;
  }

  .brand-monolith,
  .app-orbit,
  .story-image {
    min-height: 360px;
  }

  .product-device,
  .app-orbit {
    width: 100%;
    min-height: 320px;
    padding: 24px;
  }

  .product-device img,
  .app-orbit img {
    width: min(100%, 230px);
    max-height: 230px;
    padding: 14px;
    border-radius: 24px;
  }

  .price-row.head {
    display: none;
  }

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

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
