/* Campaign artwork is reused intact; the copy and glass frame remain native UI. */
.statement,
.backgrounds,
#materiais.materials-section {
  --identity-gutter-start: max(40px, env(safe-area-inset-left, 0px));
  --identity-gutter-end: max(40px, env(safe-area-inset-right, 0px));
  display: grid;
  grid-template-columns: minmax(var(--identity-gutter-start), 1fr) minmax(0, 1280px) minmax(var(--identity-gutter-end), 1fr);
}

.statement > .wrap,
.backgrounds > .wrap,
#materiais.materials-section > .wrap {
  grid-column: 2;
  width: 100%;
  min-width: 0;
  margin-inline: 0;
}

.statement {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(640px, 42.3vw, 840px);
  padding: 0;
  overflow: hidden;
  color: #eef3f8;
  background: #02090e;
  container-type: inline-size;
}

.statement::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 24% 83%, #108bea22, transparent 58%),
    radial-gradient(ellipse at 5% 24%, #108bea14, transparent 38%);
}

.statement .wrap {
  /* The copy shares the next section's grid; the glass frame extends into the gutter. */
  --manifesto-grid-gutter: max(var(--identity-gutter-start), calc((100cqi - 1280px) / 2));
  --manifesto-panel-inset: clamp(19px, calc(var(--manifesto-grid-gutter) - 21px), 94px);
  position: relative;
  z-index: 2;
  padding-block: clamp(64px, 5vw, 96px);
}

.manifesto-portrait {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: 1;
  display: block;
  width: 55%;
  height: 100%;
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent, #000 24%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 24%);
}

.manifesto-portrait img,
.manifesto-portrait video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translate3d(0, var(--manifesto-shift, 0px), 0);
}

.manifesto-portrait video {
  opacity: 0;
  transition: opacity .45s ease;
}

.manifesto-portrait.is-playing video {
  opacity: 1;
}

.statement.has-parallax-motion .manifesto-portrait img,
.statement.has-parallax-motion .manifesto-portrait video,
.statement.has-parallax-motion .manifesto-light {
  will-change: transform;
}

.statement.has-parallax-motion .manifesto-portrait img,
.statement.has-parallax-motion .manifesto-portrait video {
  mask-image: linear-gradient(transparent, #000 36px);
  -webkit-mask-image: linear-gradient(transparent, #000 36px);
}

.statement::before {
  transform: translate3d(0, var(--manifesto-glow-shift, 0px), 0);
}

.manifesto-light {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  color: #108bea;
  transform: translate3d(0, var(--manifesto-light-shift, 0px), 0);
}

.manifesto-light path:first-child {
  filter: drop-shadow(0 0 7px #108bea) drop-shadow(0 0 20px #108bea);
}

.manifesto-panel {
  box-sizing: content-box;
  position: relative;
  width: min(720px, calc(60cqi - var(--manifesto-grid-gutter) - var(--manifesto-panel-inset) - 1px));
  max-width: 1040px;
  margin-left: calc(-1px - var(--manifesto-panel-inset));
  transform: translateY(-12px);
  padding: clamp(38px, 3.1vw, 60px) var(--manifesto-panel-inset);
  border: 1px solid #9ec2df66;
  border-radius: clamp(28px, 2.7vw, 54px);
  background: linear-gradient(112deg, #05283c94, #03111cc2 58%, #03111c24);
  box-shadow: inset 0 1px 0 #eef3f812, -24px -18px 80px #108bea1c;
}

.manifesto-panel::after {
  content: '';
  position: absolute;
  inset: -1px auto auto -1px;
  width: 52%;
  height: 48%;
  border-top: 1px solid #eef3f8;
  border-left: 1px solid #9ec2df;
  border-top-left-radius: inherit;
  pointer-events: none;
  mask-image: linear-gradient(135deg, #000 4%, transparent 65%);
  -webkit-mask-image: linear-gradient(135deg, #000 4%, transparent 65%);
  filter: drop-shadow(0 0 7px #108bea) drop-shadow(0 0 22px #108bea);
}

.manifesto-panel::before {
  content: '';
  position: absolute;
  inset: -1px;
  padding: 1px;
  border-radius: inherit;
  pointer-events: none;
  background: conic-gradient(from var(--beam-angle, 0deg) at 21% 16%,
    #eef3f8 0deg, #108bea 20deg, #108bea12 60deg, transparent 115deg 305deg, #9ec2df 350deg);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  opacity: .8;
}

.statement h2 {
  max-width: none;
  font-size: clamp(42px, 4.67vw, 90px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -.035em;
  text-wrap: initial;
}

.statement h2 span {
  display: block;
  padding-bottom: .02em;
  white-space: nowrap;
}

.statement h2 span + span {
  color: #108bea;
  text-shadow: 0 0 32px #108bea22;
}

.statement p {
  max-width: 650px;
  margin-top: 24px;
  color: #d5e3ef;
  font-size: clamp(18px, 1.3vw, 25px);
  line-height: 1.48;
  letter-spacing: -.018em;
}

.manifesto-accent {
  display: block;
  width: clamp(88px, 6.25vw, 120px);
  height: 6px;
  margin-top: clamp(28px, 2vw, 38px);
  border-radius: 8px;
  background: linear-gradient(90deg, #9ec2df, #108bea 38%, #108bea00);
  box-shadow: -12px 0 28px #108bea2b;
}

.statement.is-entered .manifesto-panel::before {
  animation: manifesto-edge 5s ease-out both;
}

@keyframes manifesto-edge {
  from { --beam-angle: -55deg; opacity: .25; }
  to { --beam-angle: 0deg; opacity: .8; }
}

.motion-paused .manifesto-panel::before {
  animation: none;
}

.motion-paused #manifesto h2 span {
  animation: none;
  transform: none;
  filter: none;
  opacity: 1;
}

.motion-paused .manifesto-portrait video {
  opacity: 0;
}

.motion-paused .manifesto-portrait img,
.motion-paused .manifesto-portrait video,
.motion-paused .manifesto-light,
.motion-paused .statement::before {
  transform: none;
}

@media (max-width: 900px) {
  .statement,
  .backgrounds,
  #materiais.materials-section {
    --identity-gutter-start: max(20px, env(safe-area-inset-left, 0px));
    --identity-gutter-end: max(20px, env(safe-area-inset-right, 0px));
  }

  .statement {
    min-height: 0;
    padding: 0;
  }

  .statement .wrap {
    padding-top: clamp(280px, 60vw, 450px);
    padding-bottom: 64px;
  }

  .manifesto-portrait {
    inset: 0 0 auto;
    width: 100%;
    height: clamp(330px, 72vw, 520px);
    mask-image: linear-gradient(#000 58%, transparent 100%);
    -webkit-mask-image: linear-gradient(#000 58%, transparent 100%);
  }

  .manifesto-panel {
    box-sizing: border-box;
    width: calc(100% + var(--identity-gutter-start) + var(--identity-gutter-end));
    max-width: none;
    margin-inline: calc(0px - var(--identity-gutter-start)) calc(0px - var(--identity-gutter-end));
    transform: none;
    padding: 30px calc(var(--identity-gutter-end) - 1px) 34px calc(var(--identity-gutter-start) - 1px);
    border-radius: 28px;
    background: linear-gradient(125deg, #062438d9, #03111ce8 74%);
  }

  .statement h2 {
    font-size: clamp(27px, 7.8vw, 44px);
    line-height: 1.18;
    letter-spacing: -.04em;
  }

  .statement p {
    margin-top: 22px;
    font-size: 16px;
    line-height: 1.65;
  }

  .manifesto-accent {
    height: 5px;
    margin-top: 26px;
  }

  .manifesto-light {
    opacity: .55;
  }
}

@media (prefers-reduced-motion: reduce) {
  .manifesto-portrait video {
    opacity: 0 !important;
  }

  .manifesto-portrait img,
  .manifesto-portrait video,
  .manifesto-light,
  .statement::before {
    transform: none !important;
  }

  .statement.is-entered .manifesto-panel::before,
  .statement.is-entered h2 span {
    animation: none;
  }
}
