@font-face {
  font-family: Vabe;
  src: url("assets/vabe-regular.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Vabe;
  src: url("assets/vabe-heavy.woff") format("woff");
  font-weight: 700 900;
  font-display: swap;
}

@font-face {
  font-family: "Bootzy TM";
  src: url("assets/bootzy-tm.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f5f1eb;
  --ink: #171413;
  --pink: #ff0082;
  --yellow: #e8e810;
  --blue: #07578a;
  --heading-font: "Bootzy TM", Vabe, sans-serif;
  --heading-spacing: .06em;
  --nav-height: 4.25rem;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  font-family: Vabe, "Trebuchet MS", sans-serif;
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 1rem);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
:where(h1, h2, h3, .studio__topics summary, .studio__feature strong, .reel-card__title) {
  font-family: var(--heading-font);
  font-weight: 400;
  font-kerning: none;
  font-variant-ligatures: none;
  letter-spacing: var(--heading-spacing);
  word-spacing: .07em;
}
:where(h1, h2, h3) strong { font-weight: inherit; }
img { display: block; max-inline-size: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 5px; }
.wrap { width: min(100% - var(--gutter) * 2, 78rem); margin-inline: auto; }
.sr-only, .skip:not(:focus) {
  position: absolute;
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}
.skip:focus { position: fixed; z-index: 12; top: .5rem; left: .5rem; background: white; padding: .85rem; }
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: .65rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.15;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}
.pill--dark { background: var(--ink); color: white; }
.pill--dark:hover { background: var(--yellow); border-color: var(--ink); color: var(--ink); }
.pill--light { background: white; color: var(--ink); }
.pill--light:hover { background: var(--yellow); }
.pill--outline { border-color: currentColor; }
.pill--outline:hover { background: white; }
.text-link { font-weight: 700; text-underline-offset: .24em; text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-thickness: 2px; }

.site-header, .site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  height: var(--nav-height);
  padding-inline: var(--gutter);
  border-bottom: 1px solid #17141320;
  background: var(--paper);
}
.wordmark { display: block; flex: none; }
.wordmark img { width: clamp(3.6rem, 6vw, 4.875rem); }
.site-header nav, .site-footer nav { display: flex; align-items: center; gap: clamp(.85rem, 2.7vw, 2.25rem); }
.site-header nav a:not(.pill), .site-footer nav a { text-decoration: none; }
.site-header nav a:not(.pill):hover, .site-footer nav a:hover { text-decoration: underline; text-underline-offset: .2em; }
.site-header .pill { min-height: 2.6rem; }

.hero { overflow: clip; border-bottom: 1px solid #17141320; }
.hero__layout {
  position: relative;
  display: grid;
  grid-template-columns: 59% 41%;
  align-items: center;
  max-width: 100rem;
  min-height: clamp(36rem, 53vw, 47rem);
  margin-inline: auto;
}
.collage {
  align-self: stretch;
  position: relative;
  min-width: 0;
  background: radial-gradient(ellipse at 60% 70%, #ffe38142, transparent 53%);
}
.collage img { position: absolute; pointer-events: none; transform-origin: 50% 60%; }
.collage__cloche { width: min(80%, 37rem); left: -2%; top: -8%; --rise: 1rem; }
.collage__bursts { width: 53%; left: 48%; top: 16%; --turn: -8deg; --rise: .8rem; }
.collage__body { width: 56%; top: 20%; left: 37%; --turn: 3deg; --rise: 1rem; }
.collage__face { width: 29%; top: 24%; left: 34%; --turn: -5deg; --rise: .6rem; }
.collage__pink { width: 36%; left: -8%; top: 52%; --turn: -12deg; --rise: .9rem; }
.hero__copy { position: relative; z-index: 1; padding: 2.25rem var(--gutter) 3.4rem 0; }
.hero__note {
  position: relative;
  width: fit-content;
  max-width: 95%;
  margin-bottom: clamp(1.2rem, 3vw, 2.3rem);
  padding: .65rem 1rem;
  border-radius: 1rem 1rem 1rem .13rem;
  background: var(--yellow);
  line-height: 1.35;
}
.hero h1 { position: relative; width: min(100%, 36rem); }
.hero h1 img:first-child { width: 96%; }
.hero__subtitle {
  display: block;
  width: max-content;
  margin: .45rem 0 0 21%;
  color: #df390e;
  font-size: clamp(2.15rem, 6vw, 5.85rem);
  line-height: 1;
}
.hero__gold { position: absolute; width: 21%; right: 0; top: 7%; pointer-events: none; --turn: 12deg; --rise: .75rem; }
.hero__tagline { max-width: 11em; margin-top: clamp(1.5rem, 4vw, 3.3rem); font-size: clamp(1.85rem, 4.08vw, 4.15rem); line-height: .96; letter-spacing: -.055em; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.15rem; margin-top: 1.5rem; }
@keyframes collage-in {
  from { opacity: 0; transform: translateY(var(--rise)) rotate(var(--turn, 0deg)) scale(.97); }
  to { opacity: 1; transform: none; }
}

.services h2, .contact h2, .flight h2, .reels h2 {
  font-size: clamp(2.55rem, 5.7vw, 5.7rem);
  line-height: 1.02;
}

.flight { --flight-screen: min(46rem, calc(100svh - var(--nav-height))); height: var(--flight-screen); background: var(--blue); }
.flight.is-animated { height: calc(var(--flight-screen) + min(50svh, 25rem)); }
.flight__stage {
  position: sticky;
  top: var(--nav-height);
  height: var(--flight-screen);
  min-height: 18rem;
  overflow: clip;
  isolation: isolate;
  background:
    linear-gradient(180deg, transparent 56%, #06385d),
    var(--blue) url("assets/cielo.webp") center 54% / cover no-repeat;
}
.cabin, .window-track { position: absolute; inset: 0; pointer-events: none; }
.cabin { background: radial-gradient(ellipse at 66% 40%, #55535a, #27252d 47%, #17151b 83%); opacity: var(--cabin-alpha, 1); }
.window-track {
  display: grid;
  place-items: center;
  padding-left: 37%;
  transform: translateX(var(--window-x, 0px));
}
.window {
  width: clamp(13rem, 28vw, 24rem);
  max-height: 80%;
  aspect-ratio: .78;
  padding: clamp(1.1rem, 3vw, 2.6rem);
  border-radius: 48% 48% 44% 44% / 37% 37% 42% 42%;
  background: linear-gradient(143deg, #bab8be 0%, #fff 30%, #babac0 61%, #65626f 99%);
  box-shadow: inset 5px 7px 20px #fff9, inset -8px -12px 26px #17131b94, 0 24px 70px #0d0816a1;
  opacity: var(--window-alpha, 1);
  transform: scale(var(--window-scale, 1));
}
.window__rim, .window__liner, .window__glass { height: 100%; border-radius: inherit; }
.window__rim { padding: 6%; background: linear-gradient(150deg, #423f4a, #72717c 43%, #fdfffc 88%); }
.window__liner { padding: 4%; background: linear-gradient(145deg, #f3f5f9, #888d9a); }
.window__glass {
  background: #2095c3 url("assets/cielo-canva.webp") center / cover no-repeat;
  box-shadow: inset 0 10px 12px #122c5177;
}
.flight__copy {
  position: absolute;
  left: max(var(--gutter), calc((100% - 78rem) / 2));
  bottom: clamp(2.2rem, 9%, 5rem);
  max-width: min(36%, 34rem);
  color: white;
  opacity: var(--copy-alpha, 1);
  transform: translateY(var(--copy-y, 0px));
}
.flight__copy a { margin-top: 1.2rem; }
.flight__copy.is-faded:not(:focus-within) { visibility: hidden; }
.flight__copy:focus-within { opacity: 1; }
.flight__copy img { width: clamp(5rem, 12vw, 9.5rem); margin-bottom: .9rem; transform: rotate(-9deg); }

.reels {
  position: relative;
  overflow: clip;
  isolation: isolate;
  padding: clamp(2.4rem, 6svh, 4.5rem) 0 clamp(3.2rem, 7vw, 6rem);
  color: white;
  text-align: center;
  background:
    linear-gradient(180deg, #06385d 0%, #084371b0 23%, #0a4e8266 54%, #083c64e8 100%),
    var(--blue) url("assets/cielo.webp") center / cover no-repeat;
}
.reels__heading { padding-inline: 1.25rem; }
.reels h2 { font-size: clamp(2.55rem, 5.7vw, 4.8rem); }
.reels__heading p { margin-top: .8rem; font-size: 1.05rem; }
.carousel {
  --card-width: min(clamp(10.8rem, 18.7vw, 15.75rem), max(10.8rem, 28svh));
  --card-gap: clamp(.9rem, 2.3vw, 2.25rem);
  width: min(100%, 90rem);
  margin: .55rem auto 0;
}
.carousel__track {
  position: relative;
  display: flex;
  gap: var(--card-gap);
  padding: 1.65rem calc((100% - var(--card-width)) / 2) 2.1rem;
  overflow: auto hidden;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  list-style: none;
  cursor: grab;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track:focus-visible { outline-offset: -5px; }
.carousel__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.carousel__track.is-dragging * { cursor: grabbing; }
.carousel__item { flex: 0 0 var(--card-width); scroll-snap-align: center; }
.reel-card {
  position: relative;
  display: block;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 9 / 16;
  border: 1px solid #ffffff95;
  border-radius: clamp(1rem, 2vw, 1.55rem);
  overflow: hidden;
  background: #164675;
  box-shadow: 0 12px 32px #08264566;
  color: white;
  text-decoration: none;
  text-align: left;
  user-select: none;
  -webkit-user-drag: none;
  transform: translateY(var(--drop, 0px)) rotate(var(--lean, 0deg)) scale(var(--size, 1));
  opacity: var(--presence, 1);
}
.reel-card:hover, .reel-card:focus-visible { opacity: 1; }
.reel-card img, .reel-card::after { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.reel-card img { object-fit: cover; z-index: -2; }
.reel-card::after { content: ""; z-index: -1; background: linear-gradient(0deg, #100c14ed, #150d1580 20%, transparent 58%); }
.reel-card__title { position: absolute; bottom: 1rem; left: .9rem; right: .9rem; line-height: 1.15; }
.reel-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  transform: translate(-50%, -50%);
  border: 1px solid #ffffff87;
  border-radius: 50%;
  background: #1714137d;
}
.reel-card__play::before { content: ""; width: 0; height: 0; border-block: .4rem solid transparent; border-left: .65rem solid white; margin-left: .17rem; }
.reel-card.is-centered .reel-card__play, .reel-card:hover .reel-card__play { background: var(--yellow); border-color: var(--yellow); }
.reel-card.is-centered .reel-card__play::before, .reel-card:hover .reel-card__play::before { border-left-color: var(--ink); }
.carousel__controls { display: flex; align-items: center; justify-content: center; gap: .75rem; }
.carousel__position { width: 4.25rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.control {
  display: inline-grid;
  place-items: center;
  width: 2.85rem;
  height: 2.85rem;
  padding: 0;
  border: 1px solid #ffffff8f;
  border-radius: 50%;
  background: #103452a0;
  color: white;
  cursor: pointer;
}
.control:hover:not(:disabled) { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.control:disabled { opacity: .4; cursor: default; }
.chevron { width: .53rem; height: .53rem; border-inline-end: 2px solid; border-block-start: 2px solid; transform: translateX(-2px) rotate(45deg); }
.chevron--previous { transform: translateX(2px) rotate(-135deg); }
.reels__link { margin-top: 1.55rem; }

.services { padding-block: clamp(4rem, 8vw, 7rem); }
.services h2 { color: #c50064; }
.services__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem clamp(1.3rem, 4vw, 4rem);
  list-style: none;
  padding: 0;
  margin: clamp(1.65rem, 4vw, 3.5rem) 0 1.8rem;
}
.services__list li { padding-top: 1.15rem; border-top: 1px solid #17141352; }
.services__list h3 { font-size: 1.2rem; }
.services__list p { margin-top: .5rem; line-height: 1.48; }

.contact { overflow: clip; }
.contact__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.site-footer { min-height: 5.5rem; }

.player {
  width: min(28.5rem, 100% - 1rem);
  max-height: calc(100dvh - 1rem);
  max-width: none;
  padding: .85rem;
  border: 0;
  border-radius: 1.25rem;
  background: var(--paper);
  color: var(--ink);
}
.player::backdrop { background: #151019cb; }
.player[open] { display: grid; gap: .65rem; }
.player__header { display: flex; justify-content: space-between; align-items: center; gap: .75rem; }
.player__header h2 { font-size: 1.15rem; }
.player__close { background: var(--ink); font-size: 1.7rem; font-family: sans-serif; line-height: 1; }
.player__media { height: min(66dvh, 37rem); overflow: hidden; border-radius: .75rem; background: #fff; }
.player__media iframe { width: 100%; height: 100%; border: 0; }
.player .pill { justify-self: center; }
body:has(dialog[open]) { overflow: hidden; }

@media (max-width: 760px) {
  :root { --nav-height: 3.7rem; }
  .site-header nav { gap: .78rem; font-size: .9rem; }
  .site-header .pill { min-height: 2.38rem; padding-inline: .75rem; }
  .hero__layout { grid-template-columns: minmax(0, 1fr); min-height: unset; }
  .hero__copy { display: contents; }
  .hero__intro, .hero__details { position: relative; grid-column: 1; padding-inline: var(--gutter); }
  .hero__intro { grid-row: 1; z-index: 1; padding-top: 1.45rem; }
  .hero__details { grid-row: 3; z-index: 1; padding-bottom: 1.6rem; }
  .hero h1 { width: min(73%, 25rem); }
  .hero__subtitle { margin-top: .38rem; }
  .hero__gold { width: 15%; max-width: 5rem; right: 4%; top: 24%; }
  .hero__note { max-width: 94%; margin-bottom: 1.3rem; }
  .hero__tagline { margin-top: 1.35rem; font-size: clamp(1.85rem, 6vw, 3rem); }
  .hero__actions { margin-top: 1rem; }
  .collage { grid-area: 2 / 1; width: 100%; height: clamp(15.5rem, 75vw, 28rem); overflow: hidden; }
  .collage__cloche { width: 76%; left: 0; top: -7%; }
  .collage__bursts { width: 45%; left: 48%; top: 4%; }
  .collage__body { width: 51%; left: 42%; top: 9%; }
  .collage__face { width: 26%; left: 38%; top: 13%; }
  .collage__pink { width: 30%; left: -4%; top: 46%; }
  .flight { --flight-screen: max(27rem, min(41rem, calc(100svh - var(--nav-height)))); }
  .flight__stage { background-image: linear-gradient(180deg, transparent 56%, #06385d), url("assets/cielo-movil.webp"); }
  .window-track { padding: 0 0 26%; }
  .window { width: min(48vw, 14rem); aspect-ratio: .73; }
  .flight__copy { max-width: calc(100% - var(--gutter) * 2); bottom: 1.7rem; }
  .flight__copy img { display: none; }
  .flight h2 { font-size: clamp(2rem, 7vw, 3.4rem); }
  .flight__copy a { margin-top: .8rem; }
  .reels {
    background-image: linear-gradient(180deg, #06385d, #084371b0 23%, #0a4e8266 54%, #083c64e8), url("assets/cielo-movil.webp");
  }
  .carousel { --card-width: min(64vw, 14rem); --card-gap: .8rem; }
  .carousel__track { padding-block: 1.45rem 1.75rem; }
  .services__list { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 365px) {
  .site-header { padding-inline: .85rem; }
  .site-header nav { gap: .6rem; font-size: .85rem; }
  .site-header .pill { min-height: 2.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
