/* 
Theme Name: Departure 2027
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Music Film & TV Podcasts
Author: Umai
Author URI: https://umai.agency
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/


/* DEPARTURE — HEADER */

/* Main header */

header.elementor-location-header:has(.departure-header) {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;

  transform: translateY(0);

  /* Faster reveal */
  transition:
    transform 0.8s cubic-bezier(0.24, 1, 0.32, 1);
}

/* Slower exit */

header.elementor-location-header.is-hidden {
  transform: translateY(-100%);

  transition-duration: 0.8s;
}

/* Reveal on scroll up */

header.elementor-location-header.is-visible {
  transform: translateY(0);

  transition-duration: 0.8s;
}

/* Maintain page layout */

body {
  padding-top: var(--departure-header-height, 0px);
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
  header.elementor-location-header:has(.departure-header) {
    transition: none !important;
  }
}

/* DEPARTURE — STYLED & */

@font-face {
  font-family: 'OOLygaAmpersand';
  src: url('https://departuredev.wpenginepowered.com/wp-content/uploads/2026/11/OOLygaTrial-Italic.woff2') format('woff2'),
	   url('https://departuredev.wpenginepowered.com/wp-content/uploads/2026/11/OOLygaTrial-Italic.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0026;
}

h1, h2, h3, p {
  font-family: 'OOLygaAmpersand', 'PP Neue Montreal', sans-serif !important;
}

/* DEPARTURE — OO LYGA ITALIC */

em {
  font-family: "OO Lygia Italic", serif !important;
}

/* DEPARTURE — STATIC ANIMATION */

.departure-static {
  position: relative;
  overflow: hidden;
}

.departure-static::after {
  content: "" !important;
  position: absolute;
  inset: -60px;
  z-index: 10;
  pointer-events: none;
  background-image: url('https://departuredev.wpenginepowered.com/wp-content/uploads/2026/11/noise-texture.svg');
  background-repeat: repeat;
  background-size: 128px 128px;
  opacity: 0.4;
  animation: departure-grain 0.5s steps(1) infinite;
}

@keyframes departure-grain {
  0%, 100% { transform: translate(0, 0); }
  20%      { transform: translate(-25px, 15px); }
  40%      { transform: translate(20px, -20px); }
  60%      { transform: translate(-15px, -25px); }
  80%      { transform: translate(25px, 20px); }
}

@media (prefers-reduced-motion: reduce) {
  .departure-static::after {
    animation: none;
  }
}

/* DEPARTURE — ANIMATED HEADINGS */

.departure-word-reveal .departure-word {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  filter: blur(6px);

  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.1s cubic-bezier(0.22, 1, 0.36, 1),
    filter 1.2s cubic-bezier(0.22, 1, 0.36, 1);

  transition-delay: var(--word-delay, 0ms);
}

.departure-word-reveal.is-visible .departure-word {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

/* Departure — Word Reveal Descender Fix */

.departure-word-reveal .departure-word {
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}

/* Allow heading glyphs to extend beyond their boxes */

.departure-word-reveal {
  overflow: visible;
}

@media (prefers-reduced-motion: reduce) {
  .departure-word-reveal .departure-word {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

/* DEPARTURE — IMAGE ANIMATION LOAD */

/* Classic Image Widget — Wrapper */
.departure-image-reveal:not(img) {
  overflow: hidden;
}

/* Both Classic and Atomic Images */
.departure-image-reveal:is(img),
.departure-image-reveal:not(img) img {
  opacity: 0;
  transform: scale(1.05);
  filter: blur(8px);

  transition:
    opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.5s cubic-bezier(0.22, 1, 0.36, 1),
    filter 1.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reveal — Atomic Images */
img.departure-image-reveal.is-visible,

/* Reveal — Classic Images */
.departure-image-reveal.is-visible img {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .departure-image-reveal:is(img),
  .departure-image-reveal:not(img) img {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

/* DEPARTURE — PLATINUM HOLOGRAPHIC V3 */

#platinum {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #1a1a1a;
}

/* Hologram */

#platinum::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background-image:
    radial-gradient(
      ellipse 45% 35% at 30% 25%,
      rgba(255, 255, 255, 0.14) 0%,
      rgba(255, 255, 255, 0.05) 45%,
      transparent 100%
    ),
    radial-gradient(
      ellipse at 20% 30%,
      rgba(51, 8, 158, 0.55),
      transparent 60%
    ),
    radial-gradient(
      ellipse at 85% 20%,
      rgba(238, 221, 57, 0.14),
      transparent 55%
    ),
    radial-gradient(
      ellipse at 65% 85%,
      rgba(255, 118, 86, 0.20),
      transparent 60%
    ),
    linear-gradient(
      125deg,
      #1a1a1a 0%,
      #241b36 25%,
      #171b30 50%,
      #30202b 75%,
      #1a1a1a 100%
    );

  background-size:
    180% 180%,
    160% 160%,
    180% 180%,
    160% 160%,
    250% 250%;

  background-position:
    0% 0%,
    0% 20%,
    100% 0%,
    50% 100%,
    0% 50%;

  opacity: 0;
  transition: opacity 0.6s ease;
}

/* Noise */

#platinum::after {
  content: "";
  position: absolute;
  inset: -60px;
  z-index: 1;
  pointer-events: none;

  background-image: url("https://departuredev.wpenginepowered.com/wp-content/uploads/2026/11/noise-texture.svg");
  background-repeat: repeat;
  background-size: 128px 128px;

  opacity: 0;
  transition: opacity 0.6s ease;
}

/* Keep content above hologram */

#platinum > * {
  position: relative;
  z-index: 2;
}

/* Hover */

#platinum:hover::before {
  opacity: 1;
  animation: platinum-holo 8s ease-in-out infinite alternate;
}

#platinum:hover::after {
  opacity: 1;
  animation: platinum-grain 0.5s steps(1) infinite;
}

/* Spotlight + Colors */

@keyframes platinum-holo {
  0% {
    background-position:
      0% 0%,
      0% 20%,
      100% 0%,
      50% 100%,
      0% 50%;
  }

  35% {
    background-position:
      70% 25%,
      50% 70%,
      20% 40%,
      85% 20%,
      40% 50%;
  }

  70% {
    background-position:
      100% 85%,
      100% 30%,
      65% 90%,
      20% 65%,
      80% 50%;
  }

  100% {
    background-position:
      25% 100%,
      20% 85%,
      0% 20%,
      100% 0%,
      100% 50%;
  }
}

/* Animated Static */

@keyframes platinum-grain {
  0%, 100% {
    transform: translate(0, 0);
  }

  20% {
    transform: translate(-25px, 15px);
  }

  40% {
    transform: translate(20px, -20px);
  }

  60% {
    transform: translate(-15px, -25px);
  }

  80% {
    transform: translate(25px, 20px);
  }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
  #platinum:hover::before,
  #platinum:hover::after {
    animation: none;
  }
}

/* DEPARTURE — ANIMATED LINKS */

:is(h1, h2, h3, h4, h5, h6, p, li) a:not(.elementor-button) {
  display: inline;
  text-decoration: none !important;

  background-image: linear-gradient(
    currentColor,
    currentColor
  ) !important;

  background-repeat: no-repeat !important;
  background-position: left bottom !important;
  background-size: 0% 1px !important;

  transition:
    background-size 0.5s cubic-bezier(0.22, 1, 0.36, 1) !important;

  -webkit-box-decoration-break: clone !important;
  box-decoration-break: clone !important;
}

/* Hover and keyboard focus */

:is(h1, h2, h3, h4, h5, h6, p, li) a:not(.elementor-button):is(:hover, :focus-visible) {
  background-size: 100% 1px !important;
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
  :is(h1, h2, h3, h4, h5, h6, p, li) a:not(.elementor-button) {
    transition: none !important;
  }
}

/* DEPARTURE — GRAVITY FORMS */

/* Form theme variables */

.departure-footer .gform-theme--framework {
  --gf-ctrl-radius: 999px;
  --gf-ctrl-border-color: #595959;
  --gf-ctrl-border-size: 2px;
  --gf-ctrl-bg-color: transparent;
  --gf-ctrl-color: #ffffff;
}

/* All standard text + email fields */

.departure-footer .gform-theme--framework
:is(
  .ginput_container_text,
  .ginput_container_email,
  .ginput_container_name
) input:is(
  [type="text"],
  [type="email"]
) {
  width: 100%;
  min-height: 64px;

  padding: 16px 24px !important;

  background: transparent !important;
  border: 2px solid #595959 !important;
  border-radius: 999px !important;

  color: #ffffff !important;
  font-family: "PP Neue Montreal", sans-serif !important;
  font-size: 18px !important;
  font-weight: 400;

  box-shadow: none !important;
  outline: none;

  transition:
    border-color 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.4s ease;
}

/* Placeholder styling */

.departure-footer .gform-theme--framework
:is(
  .ginput_container_text,
  .ginput_container_email,
  .ginput_container_name
) input::placeholder {
  font-size: 18px !important;
  color: #858585 !important;
  opacity: 1 !important;
}

/* Hover */

.departure-footer .gform-theme--framework
:is(
  .ginput_container_text,
  .ginput_container_email,
  .ginput_container_name
) input:hover {
  border-color: #999999 !important;
}

/* Focus */

.departure-footer .gform-theme--framework
:is(
  .ginput_container_text,
  .ginput_container_email,
  .ginput_container_name
) input:focus {
  border-color: #EEDD39 !important;
  background-color: rgba(255, 255, 255, 0.025) !important;
  box-shadow: none !important;
}

/* Mobile */

@media (max-width: 767px) {
  .departure-footer .gform-theme--framework
  :is(
    .ginput_container_text,
    .ginput_container_email,
    .ginput_container_name
  ) input:is([type="text"], [type="email"]) {
    min-height: 48px;
    padding: 16px 24px !important;
    font-size: 16px !important;
  }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
  .departure-footer .gform-theme--framework
  :is(
    .ginput_container_text,
    .ginput_container_email,
    .ginput_container_name
  ) input {
    transition: none !important;
  }
}

/* DEPARTURE — GRAVITY FORMS BUTTON */

/* Default state */

.departure-footer .gform_wrapper
:is(
  .gform_button,
  button[type="submit"],
  input[type="submit"]
) {
  appearance: none;
  background-color: var(--white) !important;
  color: var(--black) !important;
  border: 2px solid var(--white) !important;
  border-radius: 999px !important;
  padding: 18px 32px !important;
  min-height: 64px;
  font-family: "PP Neue Montreal", sans-serif !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  text-align: center;
  text-decoration: none !important;
  box-shadow: none !important;
  cursor: pointer;
  transition:
    background-color 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

/* Hover */

.departure-footer .gform_wrapper
:is(
  .gform_button,
  button[type="submit"],
  input[type="submit"]
):hover {
  background-color: var(--grey-lighter) !important;
  color: var(--black);
  transform: translateY(-2px);
}

/* Keyboard focus */

.departure-footer .gform_wrapper
:is(
  .gform_button,
  button[type="submit"],
  input[type="submit"]
):focus-visible {
  outline: 2px solid #EEDD39 !important;
  outline-offset: 4px;
}

/* Disabled / submitting */

.departure-footer .gform_wrapper
:is(
  .gform_button,
  button[type="submit"],
  input[type="submit"]
):disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

/* Mobile */

@media (max-width: 767px) {
  .departure-footer .gform_wrapper
  :is(
    .gform_button,
    button[type="submit"],
    input[type="submit"]
  ) {
    min-height: 56px;
    padding: 12px 24px !important;
    font-size: 16px !important;
  }
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  .departure-footer .gform_wrapper
  :is(
    .gform_button,
    button[type="submit"],
    input[type="submit"]
  ) {
    transition: none !important;
    transform: none !important;
  }
}