/* ===================================================================
   Hammond Drysuits — Custom CSS
   Hero liquid shader, dev breakdown cards, unique section shader
   =================================================================== */

/* ===== HERO: LIQUID SHADER ===== */

.hd-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hd-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.4;
}

.hd-hero__shader {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hd-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 2rem;
  pointer-events: none;
}

.hd-hero__logo {
  width: clamp(200px, 30vw, 420px);
  height: auto;
  margin-bottom: 1.5rem;
  filter: brightness(0) invert(1);
}

.hd-hero__content h1 {
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.4;
}

.hd-hero__content h1 em {
  font-style: normal;
  color: #009cde;
}

.hd-hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: hdScrollBounce 2s ease-in-out infinite;
}

@keyframes hdScrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}


/* ===== DEV BREAKDOWN: E-COMMERCE CARDS ===== */

.hd-devbreak {
  padding: calc(4rem + 4vh) 8vw;
  background: var(--pf-bg);
  color: var(--pf-heading);
  overflow: hidden;
}

.hd-devbreak__intro {
  max-width: 56em;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.hd-devbreak__heading {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--pf-heading, #fff);
  margin: 0 0 1rem;
}

.hd-devbreak__text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--pf-text, rgba(255, 255, 255, 0.7));
  margin: 0;
}

.hd-devbreak__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}

.hd-devbreak__card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hd-devbreak__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 156, 222, 0.1);
}

.hd-devbreak__video {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #111;
}

.hd-devbreak__video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hd-devbreak__title {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--pf-heading, #fff);
  margin: 0;
  padding: 1.25rem 1.5rem 0.5rem;
  font-weight: 600;
}

.hd-devbreak__desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--pf-text, rgba(255, 255, 255, 0.6));
  margin: 0;
  padding: 0 1.5rem 1.5rem;
}


/* ===== UNIQUE SECTION: SHADER REUSE ===== */

.hd-unique {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 70vh;
  overflow: hidden;
}

.hd-unique__shader {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.45;
}

.hd-unique__content {
  position: relative;
  z-index: 1;
  padding: calc(6rem + 4vh) 4vw calc(6rem + 4vh) 8vw;
  text-align: left;
  align-items: flex-start;
}

.hd-unique__content .pf-unique__heading {
  font-size: clamp(2rem, 4vw, 3.5rem);
  text-align: left;
}

.hd-unique__content .pf-unique__body {
  margin: 2rem 0 0;
}

.hd-unique__content .pf-unique__text {
  text-align: left;
}

.hd-unique__image {
  position: relative;
  z-index: 1;
  padding: 2rem 8vw 2rem 2rem;
}

.hd-unique__image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(0, 156, 222, 0.1);
  display: block;
}


/* ===== RESPONSIVE ===== */

@media (max-width: 1024px) {
  .hd-devbreak__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .hd-hero {
    min-height: 100svh;
  }

  .hd-hero__logo {
    width: clamp(180px, 50vw, 280px);
  }

  .hd-devbreak {
    padding: 3rem 6vw;
  }

  .hd-devbreak__grid {
    grid-template-columns: 1fr;
  }

  .hd-devbreak__title {
    padding: 1rem 1.25rem 0.25rem;
  }

  .hd-devbreak__desc {
    padding: 0 1.25rem 1.25rem;
  }

  .hd-unique {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hd-unique__content {
    padding: 4rem 6vw 2rem;
  }

  .hd-unique__content .pf-unique__heading {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .hd-unique__image {
    padding: 0 6vw 4rem;
  }
}

@media (max-width: 480px) {
  .hd-hero__content h1 {
    font-size: 0.9rem;
    letter-spacing: 0.1em;
  }

  .hd-devbreak__card:hover {
    transform: none;
  }
}

/* ===== TESTIMONIALS: dark blue card backgrounds ===== */

.portfolio-testimonials .pt-scard {
  background: rgba(0, 156, 222, 0.1);
  border: 1px solid rgba(0, 156, 222, 0.15);
}

/* ===== DESIGN SYSTEM: Font specimens white on dark ===== */

.pf-design__fonts img {
  filter: invert(1);
}
