:root {
  --pattern: url("../../auvenida/pattern.svg");
}

html,
body { overflow-x: hidden; }

@media (max-width: 900px) {
  :root {
    --mobile-header-height: 66px;
    --mobile-header-offset: calc(var(--mobile-header-height) + env(safe-area-inset-top, 0px));
  }
}

.skip-link {
  position: absolute;
  left: -999px;
}

.skip-link:focus {
  left: 20px;
  top: 20px;
  z-index: 5;
  background: #fff;
  padding: 10px;
}

.container {
  width: min(1240px, calc(100% - 80px));
    margin: auto;
}

.dark-wave, .pattern-background {
  color: #fff;
    background-color: var(--blue);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.dark-wave {
  background-image: url("../../auvenida/bg-dark.svg");
}

.pattern-background {
  background: #1e4a66 var(--pattern) center / var(--pattern-size, cover) no-repeat;
}

.hero {
  --signal-x: 50%;
    --signal-y: 50%;
    --signal-opacity: 1;
    --shadow-w: 520px;
    --shadow-h: 420px;
    --glow-w: 210px;
    --glow-h: 165px;
    --pattern-size: cover;
    height: 100vh;
    min-height: fit-content;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    isolation: isolate;
}

.hero::before, .hero::after {
  content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero::before {
  z-index: 0;
    background: radial-gradient(
      ellipse var(--shadow-w) var(--shadow-h) at var(--signal-x) var(--signal-y),
      rgba(17, 41, 62, .72) 0,
      rgba(17, 41, 62, .58) 18%,
      rgba(17, 41, 62, .40) 38%,
      rgba(17, 41, 62, .22) 58%,
      rgba(17, 41, 62, .09) 76%,
      rgba(17, 41, 62, 0) 100%
    );
    filter: blur(24px);
    opacity: .92;
}

.hero::after {
  z-index: 3;
    background: radial-gradient(
      ellipse var(--glow-w) var(--glow-h) at var(--signal-x) var(--signal-y),
      rgba(255, 255, 255, .96) 0 2.5%,
      rgba(255, 247, 218, .92) 5%,
      rgba(229, 195, 99, .88) 12%,
      rgba(169, 209, 255, .82) 26%,
      rgba(169, 209, 255, .42) 44%,
      rgba(169, 209, 255, .16) 60%,
      transparent 76%
    );
    -webkit-mask-image: var(--pattern);
    mask-image: var(--pattern);
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: var(--pattern-size);
    mask-size: var(--pattern-size);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    mix-blend-mode: screen;
    opacity: var(--signal-opacity);
}

.hero-grid {
  position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: 1fr 240px;
    align-items: end;
    gap: 60px;
    padding: 220px 0 90px;
}

.hero-grid-single {
  grid-template-columns: minmax(0, 1fr);
}

.kicker {
  margin: 0 0 24px;
    color: var(--gold);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .15em;
}

.hero h1 {
  font-family: "IBM Plex Serif", Georgia, serif;
    font-weight: 600;
}

.hero h1 {
  margin: 0;
    font-size: clamp(32px, 7vw, 96px);
    line-height: .95;
    letter-spacing: -.05em;
}

.hero h1 em {
  font-style: italic;
}

.hero-lead {
  max-width: 470px;
    margin: 34px 0;
    font-size: 18px;
    line-height: 1.65;
    color: #dce9f5;
}

.actions {
  display: flex;
    gap: 26px;
    align-items: center;
    flex-wrap: wrap;
}

.text-action {
  border-bottom: 1px solid currentColor;
    padding-bottom: 4px;
    font-size: 14px;
    font-weight: 700;
}

.text-action span {
  margin-left: 15px;
    font-size: 16px;
}

.hero-note {
  border-top: 1px solid rgba(255, 255, 255, .35);
    padding-top: 16px;
    color: #dce9f5;
}

.hero-note span {
  color: var(--gold);
    font-size: 14px;
}

.hero-note p {
  font-size: 14px;
    line-height: 1.65;
}

.orbit-pattern > .container {
  position: relative;
    z-index: 1;
    overflow: hidden;
    min-height: var(--orbit-size);
}

.journey.orbit-pattern > .container > .section-intro.compact {
  min-height: var(--orbit-size);
}

.section-blue .kicker {
  color: var(--blue);
}

.contact .kicker {
  color: var(--blue);
}

@media (max-width:900px) {
.container {
  width: min(100% - 40px, 1240px);
}
.hero {
  --shadow-w: 70vw;
      --shadow-h: 56vw;
      --glow-w: 38vw;
      --glow-h: 30vw;
      --pattern-size: cover;
      height: auto;
      min-height: 0;
      padding: 0;
      align-items: flex-start;
}
.hero-grid {
  padding: calc(var(--mobile-header-offset, 66px) + 24px) 0 36px;
}
.hero-lead {
  margin: 18px 0 24px;
}
.actions {
  gap: 12px;
}
.hero-grid {
  grid-template-columns: 1fr;
}
.hero-note {
  display: none;
}
}

.container {
  width: min(var(--container-max), calc(100% - 80px));
}

@media (max-width:900px) {
.container {
  width: min(var(--container-max), calc(100% - 40px));
}
.kicker {
  font-size: 14px;
      margin: 0 0 14px;
}
}

@media (max-width:414px) {
.container {
  width:calc(100% - 32px);
}
.kicker {
  margin-bottom:12px; font-size:9px; letter-spacing:.11em;
}
.hero {
  height: auto; min-height: 0; padding: 0; align-items: flex-start;
}
.hero-grid {
  padding: calc(var(--mobile-header-offset, 66px) + 20px) 0 28px;
}
.hero h1 {
  max-width:100%;
      font-size:clamp(38px,11vw,46px);
      line-height:.98;
      letter-spacing:-.04em;
      overflow-wrap:anywhere;
}
.hero-lead {
  margin:24px 0; font-size:15px; line-height:1.55;
}
.actions {
  align-items:stretch; flex-wrap:wrap; gap:10px;
}
.actions .button, .actions .text-action {
  width:100%; min-height:44px; justify-content:space-between;
}
.actions .text-action {
  padding:12px 0 7px;
}
}

@media (min-width:415px) and (max-width:480px) {
.hero h1 {
  font-size:44px;
}
}

@media (max-width:480px) {
.hero {
  --shadow-w: 82vw;
      --shadow-h: 66vw;
      --glow-w: 44vw;
      --glow-h: 36vw;
}
}

@media (prefers-reduced-motion: reduce) {
.hero::before, .hero::after {
  display: none;
}
}
