/* =========================================================
   DOTS MEDIA
   HERO SECTION
   ========================================================= */


/* =========================================================
   HERO WRAPPER
   ========================================================= */

.hero-wrap {
  position: relative;

  min-height: 100vh;
  

  background:
    radial-gradient(
      circle at 20% 10%,
      #1a0f08 0%,
      #0a0705 55%,
      #050403 100%
    );

  padding: 110px 60px 80px;

  overflow: hidden;
}


/* =========================================================
   HERO CONTENT
   ========================================================= */

.hero-content {
  position: relative;

  z-index: 2;

  max-width: 1400px;

  margin: 0 auto;

  display: grid;

  grid-template-columns: 1fr 1.7fr;

  gap: 50px;

  align-items: center;
}


/* =========================================================
   HERO TAG
   ========================================================= */

.hero-tag {
  display: flex;

  align-items: center;

  gap: 10px;

  color: #cfcfcf;

  font-size: 13px;

  font-weight: 600;

  letter-spacing: 2px;

  text-transform: uppercase;

  margin-bottom: 28px;
}


/* =========================================================
   HERO TITLE
   Split into lines by hero-reveal.js — see the reveal block
   near the bottom of this file for the animation itself.
   ========================================================= */

.hero-title {
  font-size: 40px;

  font-weight: 800;

  line-height: 1.08;

  letter-spacing: -1px;

  margin-bottom: 20px;
}

.hero-title .accent {
  color: #ff7a1a;
}

.hero-title .title-word,
.hero-title .title-space {
  display: inline-block;
}

.hero-title.title-split-ready .title-line {
  display: block;
  overflow: hidden;
}

.hero-title .title-line-inner {
  display: block;

  transform: translateY(115%);

  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  /* per-line stagger delay is set inline by hero-reveal.js */
}

body.page-ready .hero-title .title-line-inner {
  transform: translateY(0);
}


/* =========================================================
   HERO DESCRIPTION
   ========================================================= */

.hero-description {
  color: #a9a9a9;

  font-size: 16.5px;

  line-height: 1.7;

  max-width: 520px;

  margin-bottom: 15px;

  opacity: 0;
  transform: translateY(16px);

  transition:
    opacity 0.6s ease 0.9s,
    transform 0.6s ease 0.9s;
}

body.page-ready .hero-description {
  opacity: 1;
  transform: translateY(0);
}


/* =========================================================
   HERO CAROUSEL INDICATOR
   ========================================================= */

.carousel-dot {
  width: 8px;

  height: 8px;

  border-radius: 50%;

  background: #ffffff;

  margin-bottom: 28px;

  opacity: 0;

  transition: opacity 0.5s ease 0.95s;
}

body.page-ready .carousel-dot {
  opacity: 1;
}


/* =========================================================
   HERO BUTTONS
   The orange glow comes from the custom cursor ring
   (cursor.css / cursor.js). On top of that, both buttons are
   "magnetic" — magnetic-buttons.js tracks the mouse over each
   button and nudges it left/right/up/down toward the cursor
   (inline transform, set directly on the element). The
   transition below only kicks in for the snap-back once the
   mouse leaves — magnetic-buttons.js disables it while the
   mouse is actively moving, so the follow itself feels instant.
   ========================================================= */

.hero-buttons {
  display: flex;

  align-items: center;

  gap: 16px;
}


/* =========================================================
   PRIMARY BUTTON - GET IN TOUCH
   ========================================================= */

.btn-primary {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 10px;

  background: #ff7a1a;

  color: #1a0f08;

  font-weight: 700;

  font-size: 14px;

  padding: 17px 28px;

  border: none;

  border-radius: 999px;

  cursor: pointer;

  transition: transform 0.2s ease;

  transform-origin: center center;

  will-change: transform;
}


/* =========================================================
   SECONDARY BUTTON - VIEW OUR PORTFOLIO
   ========================================================= */

.btn-secondary {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  background: transparent;

  color: #ffffff;

  font-weight: 700;

  font-size: 14px;

  padding: 17px 28px;

  border: 1.5px solid #3a3a3a;

  border-radius: 999px;

  cursor: pointer;

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;

  transform-origin: center center;

  will-change: transform;
}

.btn-secondary:hover {
  border-color: #ff7a1a;
  background: rgba(255, 122, 26, 0.05);
}


/* =========================================================
   HERO IMAGE
   .hero-image-mask is the fixed, always-visible window
   (rounded corners + shadow live here). .hero-image-card slides
   up from below it on load, then handles the hover zoom.
   ========================================================= */

.hero-image-wrap {
  position: relative;
}

.hero-image-mask {
  position: relative;

  border-radius: 24px;

  overflow: hidden;

  height: 620px;

  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.5);
}

.hero-image-card {
  position: relative;

  height: 100%;

  transform: translateY(100%);

  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

body.page-ready .hero-image-card {
  transform: translateY(0);
}

.hero-image-card img {
  width: 100%;

  height: 100%;

  object-fit: cover;

  display: block;

  transform: scale(1);

  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image-card:hover img {
  transform: scale(1.07);
}


/* =========================================================
   HERO IMAGE BADGE
   ========================================================= */

.badge {
  position: absolute;

  left: -16px;

  bottom: -12px;

  z-index: 3;

  width: 185px;

  box-sizing: border-box;

  background: rgba(15, 12, 10, 0.82);

  backdrop-filter: blur(8px);

  border: 1px solid rgba(255, 255, 255, 0.12);

  border-radius: 14px;

  padding: 12px 18px;

  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.35);

  opacity: 0;
  transform: translateY(14px);

  transition:
    opacity 0.6s ease 1.1s,
    transform 0.5s ease 1.1s;
}

body.page-ready .badge {
  opacity: 1;
  transform: translateY(0);
}


/* =========================================================
   BADGE LABEL
   ========================================================= */

.badge .badge-label {
  color: #8f8f8f;

  font-size: 10px;

  font-weight: 600;

  letter-spacing: 2px;

  line-height: 1.2;

  text-transform: uppercase;

  margin-bottom: 7px;
}


/* =========================================================
   BADGE VALUE
   ========================================================= */

.badge .badge-value {
  color: #ffffff;

  font-size: 16px;

  font-weight: 700;

  line-height: 1.2;

  white-space: nowrap;
}


/* =========================================================
   MOBILE RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {

  /* HERO WRAPPER */
  .hero-wrap {
    min-height: auto;
    padding: 105px 20px 70px;
    overflow: hidden;
    margin-top: 110px;
  }


  /* HERO CONTENT */
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 38px;
    width: 100%;
    padding-top: 60px;
  }


  /* LEFT CONTENT */
  .hero-left {
    width: 100%;
  }


  /* HERO TAG */
  .hero-tag {
    gap: 8px;
    font-size: 9px;
    line-height: 1.7;
    letter-spacing: 3px;
    margin-bottom: 20px;
    max-width: 100%;
  }


  .tag-dot {
    flex-shrink: 0;
  }


  /* HERO TITLE */
  .hero-title {
    font-size: clamp(36px, 10vw, 48px);
    line-height: 1.05;
    letter-spacing: -1px;
    margin-bottom: 22px;
    max-width: 100%;
  }


  /* DESCRIPTION */
  .hero-description {
    max-width: 100%;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 28px;
  }


  /* REMOVE CAROUSEL DOT ON MOBILE */
  .carousel-dot {
    width: 5px;
    height: 5px;
    margin-bottom: 20px;
  }


  /* BUTTON AREA */
  .hero-buttons {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }


  /* PRIMARY BUTTON */
  .btn-primary,
  .btn-secondary {
    width: 100%;
    min-height: 52px;
    padding: 15px 20px;
    font-size: 11px;
    letter-spacing: 1px;
  }


  .btn-primary {
    border-radius: 999px;
  }


  .btn-secondary {
    border-radius: 999px;
  }


  /* IMAGE AREA */
  .hero-image-wrap {
    width: 100%;
    position: relative;
    margin-top: 0;
    padding-bottom: 20px;
  }


  /* IMAGE WINDOW */
  .hero-image-mask {
    width: 100%;
    height: 360px;
    border-radius: 14px;
  }


  .hero-image-card {
    width: 100%;
    height: 100%;
  }


  .hero-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }


  /* BADGE */
  .badge {
    left: 16px;
    bottom: 0;
    width: 155px;
    padding: 11px 14px;
    border-radius: 10px;
  }


  .badge .badge-label {
    font-size: 8px;
    letter-spacing: 1.8px;
    margin-bottom: 6px;
  }


  .badge .badge-value {
    font-size: 12px;
  }


  /* DISABLE HOVER EFFECTS ON MOBILE */
  .hero-image-card:hover img {
    transform: none;
  }


  .btn-primary:hover,
  .btn-secondary:hover {
    transform: none;
  }


  .btn-secondary:hover {
    border-color: #3a3a3a;
    background: transparent;
  }

}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  .hero-title .title-line-inner,
  .hero-description,
  .carousel-dot,
  .hero-image-card,
  .badge {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .btn-primary:hover,
  .btn-secondary:hover {
    animation: none;
    transform: none;
  }

  .hero-image-card img {
    transition: none;
  }

}

@media (max-width: 480px) {

  .hero-wrap {
    padding: 92px 18px 60px;
  }


  .hero-content {
    gap: 32px;
  }


  .hero-tag {
    font-size: 8px;
    letter-spacing: 2.5px;
    margin-bottom: 18px;
  }


  .hero-title {
    font-size: 34px;
    line-height: 1.08;
    letter-spacing: -0.8px;
    margin-bottom: 20px;
  }


  .hero-description {
    font-size: 13px;
    line-height: 1.75;
    margin-bottom: 5px;
  }


  .hero-buttons {
    gap: 10px;
  }


  .btn-primary,
  .btn-secondary {
    min-height: 48px;
    padding: 14px 18px;
    font-size: 10px;
  }


  .hero-image-mask {
    height: 320px;
    border-radius: 12px;
  }


  .badge {
    left: 12px;
    bottom: -4px;
    width: 150px;
    padding: 10px 13px;
  }

}