/* =========================================================
   VIDEO EDITING SHOWCASE
   Wells Hamilton Media
   Editorial / Cinematic Portfolio Design
========================================================= */

/* =========================================================
   ROOT VARIABLES
========================================================= */

:root {
  --video-bg: #f4f4f4;
  --video-white: #ffffff;
  --video-dark: #0a0a0a;
  --video-dark-2: #171717;
  --video-dark-3: #242424;
  --video-text: #111111;
  --video-muted: #6a6a6a;
  --video-accent: #bcbcbc;
  --video-accent-light: #e5e5e5;
  --video-blue: #3d3d3d;
  --video-blue-light: #7a7a7a;
  --video-border: rgba(0, 0, 0, 0.1);
  --font-display: "Playfair Display", serif;
  --font-body: "Inter", sans-serif;
  --font-editorial: "Cormorant Garamond", serif;
}

/* =========================================================
   GLOBAL RESET
========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  background: var(--video-bg);
  color: var(--video-text);
  font-family: var(--font-body);
  overflow-x: hidden;
}

img,
iframe {
  max-width: 100%;
}

a {
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

/* =========================================================
   INTRO SECTION
========================================================= */

.video-intro {
  padding: 125px 0;
  background: var(--video-white);
}

.video-intro-grid {
  display: grid;
  grid-template-columns: 0.8fr 2fr;
  gap: 80px;
  align-items: start;
}

.video-intro-label {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-top: 12px;
  color: var(--video-dark);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.video-intro-label span {
  width: 32px;
  height: 1px;
  background: var(--video-accent);
}

.video-intro-content {
  max-width: 900px;
}

.video-intro-content h2 {
  margin-bottom: 30px;
  color: var(--video-dark);
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.video-intro-content h2 em {
  color: var(--video-blue);
  font-family: var(--font-editorial);
  font-weight: 500;
}

.video-intro-content p {
  max-width: 750px;
  color: var(--video-muted);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.95;
}

/* =========================================================
   VIDEO PROJECTS SECTION
========================================================= */

.video-projects {
  position: relative;
  padding: 130px 0 150px;
  background: var(--video-bg);
}

.video-projects::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--video-border);
}

/* =========================================================
   SECTION HEADER
========================================================= */

.video-section-header {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 75px;
}

.video-section-eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 20px;
  color: var(--video-blue);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.video-section-eyebrow span {
  width: 34px;
  height: 1px;
  background: var(--video-accent);
}

.video-section-header h2 {
  margin: 0;
  color: var(--video-dark);
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.2vw, 5.8rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.video-section-header h2 em {
  color: var(--video-blue);
  font-family: var(--font-editorial);
  font-weight: 500;
}

.video-section-header > p {
  max-width: 470px;
  margin: 0 0 5px auto;
  color: var(--video-muted);
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.9;
}

/* =========================================================
   VIDEO PROJECT GRID
========================================================= */

.video-project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 75px 35px;
}

/* =========================================================
   VIDEO PROJECT CARD
   STATIC — NO SCROLL ANIMATION
========================================================= */

.video-project-card {
  min-width: 0;
}

/* =========================================================
   VIDEO WRAPPER
========================================================= */

.video-project-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #050505;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

/* =========================================================
   YOUTUBE IFRAME
========================================================= */

.video-project-wrapper iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #050505;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.video-project-card:hover .video-project-wrapper iframe {
  transform: scale(1.025);
}

/* =========================================================
   VIDEO FRAME
========================================================= */

.video-project-wrapper::before {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 3;
  border: 1px solid rgba(188, 188, 188, 0.3);
  pointer-events: none;
  transition:
    inset 0.5s ease,
    border-color 0.5s ease;
}

.video-project-card:hover .video-project-wrapper::before {
  inset: 8px;
  border-color: rgba(188, 188, 188, 0.75);
}

/* =========================================================
   VIDEO LABEL
========================================================= */

.video-project-label {
  position: absolute;
  left: 24px;
  bottom: 22px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.video-project-label span {
  color: var(--video-accent);
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0;
}

/* =========================================================
   PROJECT INFORMATION
========================================================= */

.video-project-info {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 30px;
  padding: 25px 4px 0;
}

.video-project-category {
  padding-top: 5px;
  color: var(--video-blue);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.video-project-info h3 {
  margin: 0 0 9px;
  color: var(--video-dark);
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1.15;
}

.video-project-info p {
  margin: 0;
  color: var(--video-muted);
  font-size: 0.83rem;
  font-weight: 300;
  line-height: 1.75;
}

/* =========================================================
   CTA SECTION
========================================================= */

.video-cta {
  position: relative;
  padding: 145px 0;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    #171717 0%,
    #0a0a0a 60%,
    #050505 100%
  );
}

.video-cta-glow {
  position: absolute;
  width: 650px;
  height: 650px;
  right: -240px;
  top: -260px;
  border-radius: 50%;
  background: rgba(122, 122, 122, 0.2);
  filter: blur(15px);
  animation: ctaGlowMove 10s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes ctaGlowMove {
  from {
    transform: translate(0, 0) scale(1);
  }

  to {
    transform: translate(-90px, 100px) scale(1.18);
  }
}

/* =========================================================
   CTA CONTENT
========================================================= */

.video-cta-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.video-cta-content .video-section-eyebrow {
  justify-content: center;
  color: var(--video-accent);
}

.video-cta-content h2 {
  margin: 0 auto 28px;
  color: var(--video-white);
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 6.5rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.video-cta-content h2 em {
  color: var(--video-accent);
  font-family: var(--font-editorial);
  font-weight: 500;
}

.video-cta-content p {
  max-width: 680px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.9;
}

/* =========================================================
   CTA BUTTON
========================================================= */

.video-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
  padding: 16px 22px 16px 27px;
  border: 1px solid var(--video-accent);
  color: var(--video-white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  transition:
    background 0.35s ease,
    color 0.35s ease,
    transform 0.35s ease,
    gap 0.35s ease;
}

.video-cta-button i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--video-accent);
  color: var(--video-dark);
  transition: transform 0.35s ease;
}

.video-cta-button:hover {
  gap: 27px;
  background: var(--video-accent);
  color: var(--video-dark);
  transform: translateY(-3px);
}

.video-cta-button:hover i {
  transform: translateX(4px);
}

/* =========================================================
   LARGE TABLETS
========================================================= */

@media (max-width: 1100px) {
  .video-intro-grid {
    grid-template-columns: 0.7fr 1.3fr;
    gap: 50px;
  }

  .video-section-header {
    gap: 50px;
  }
}

/* =========================================================
   TABLETS
========================================================= */

@media (max-width: 900px) {
  .video-intro {
    padding: 100px 0;
  }

  .video-intro-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .video-intro-label {
    padding-top: 0;
  }

  .video-section-header {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 55px;
  }

  .video-section-header > p {
    margin-left: 0;
    max-width: 650px;
  }

  .video-project-grid {
    gap: 60px 25px;
  }

  .video-project-info {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .video-cta {
    padding: 110px 0;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {
  .video-intro {
    padding: 80px 0;
  }

  .video-intro-content h2 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .video-intro-content p {
    font-size: 0.87rem;
    line-height: 1.85;
  }

  .video-projects {
    padding: 90px 0 100px;
  }

  .video-section-eyebrow {
    font-size: 0.6rem;
    letter-spacing: 0.17em;
  }

  .video-section-header h2 {
    font-size: clamp(2.7rem, 13vw, 4.3rem);
  }

  .video-section-header > p {
    font-size: 0.84rem;
    line-height: 1.8;
  }

  .video-project-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .video-project-wrapper {
    aspect-ratio: 16 / 9;
  }

  .video-project-wrapper::before {
    inset: 8px;
  }

  .video-project-card:hover .video-project-wrapper::before {
    inset: 6px;
  }

  .video-project-label {
    left: 14px;
    bottom: 14px;
    padding: 7px 10px;
    font-size: 0.52rem;
  }

  .video-project-info {
    padding-top: 20px;
  }

  .video-project-info h3 {
    font-size: 1.35rem;
  }

  .video-project-info p {
    font-size: 0.78rem;
    line-height: 1.7;
  }

  .video-cta {
    padding: 95px 0;
  }

  .video-cta-content h2 {
    font-size: clamp(2.7rem, 13vw, 4.5rem);
  }

  .video-cta-content p {
    font-size: 0.84rem;
    line-height: 1.8;
  }

  .video-cta-button {
    margin-top: 32px;
    padding: 14px 18px 14px 22px;
    font-size: 0.62rem;
  }
}

/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 420px) {
  .video-intro-content h2 {
    font-size: 2.7rem;
  }

  .video-intro-content p {
    font-size: 0.8rem;
  }

  .video-section-header h2 {
    font-size: 2.9rem;
  }

  .video-project-info h3 {
    font-size: 1.25rem;
  }

  .video-cta-content h2 {
    font-size: 2.9rem;
  }
}

/* =========================================================
   =========================================================
   VIDEO EDITING HERO
   CENTERED CINEMATIC DESIGN
   =========================================================
========================================================= */

.video-hero {
  position: relative;
  min-height: 92vh;
  min-height: 92svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 100px 20px;
  background:
    radial-gradient(
      circle at 50% 35%,
      rgba(122, 122, 122, 0.28),
      transparent 32%
    ),
    radial-gradient(
      circle at 50% 90%,
      rgba(188, 188, 188, 0.14),
      transparent 30%
    ),
    linear-gradient(135deg, #050505 0%, #0a0a0a 50%, #1a1a1a 100%);
  color: #ffffff;
  isolation: isolate;
}

/* =========================================================
   BACKGROUND GRID
========================================================= */

.video-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 70px 70px;
  opacity: 0.5;
  pointer-events: none;
}

/* =========================================================
   AMBIENT GOLD LIGHT
========================================================= */

.video-hero::after {
  content: "";
  position: absolute;
  width: 700px;
  height: 700px;
  left: 50%;
  bottom: -450px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(188, 188, 188, 0.18) 0%,
    rgba(188, 188, 188, 0.06) 40%,
    transparent 70%
  );
  filter: blur(20px);
  pointer-events: none;
}

/* =========================================================
   HERO OVERLAY
========================================================= */

.video-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
    circle at center,
    transparent 0%,
    rgba(0, 0, 0, 0.15) 45%,
    rgba(0, 0, 0, 0.5) 100%
  );
  pointer-events: none;
}

/* =========================================================
   HERO CONTENT
========================================================= */

.video-hero-content {
  position: relative;
  z-index: 5;
  width: min(1000px, 92%);
  margin: 0 auto;
  padding: 60px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* =========================================================
   EYEBROW
========================================================= */

.video-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 28px;
  color: #bcbcbc;
  font-family: "Inter", sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.video-eyebrow span {
  display: block;
  width: 42px;
  height: 2px;
  background: #bcbcbc;
}

/* =========================================================
   MAIN HEADING
========================================================= */

.video-hero h1 {
  max-width: 1000px;
  margin: 0 0 28px;
  color: #ffffff;
  font-family: "Playfair Display", serif;
  font-size: clamp(4rem, 9vw, 8.5rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.055em;
  text-align: center;
}

/* =========================================================
   EMPHASIZED WORD
========================================================= */

.video-hero h1 em {
  display: block;
  margin-top: 5px;
  color: #bcbcbc;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.08em;
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.025em;
}

/* =========================================================
   DESCRIPTION
========================================================= */

.video-hero-content > p {
  max-width: 650px;
  margin: 0 auto 38px;
  color: rgba(255, 255, 255, 0.72);
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.85;
  text-align: center;
}

/* =========================================================
   HIDDEN DECORATIVE ELEMENTS
========================================================= */

.video-hero-shape,
.video-grid-pattern {
  display: none;
}

/* =========================================================
   HERO SCROLL REVEAL
   HERO ONLY
========================================================= */

/* EYEBROW — FROM TOP */

.video-eyebrow {
  opacity: 0;
  transform: translateY(-55px);
  transition:
    opacity 1.15s ease,
    transform 1.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* MAIN TITLE — FROM LEFT */

.video-hero h1 {
  opacity: 0;
  transform: translateX(-85px);
  transition:
    opacity 1.25s ease 0.12s,
    transform 1.45s cubic-bezier(0.22, 1, 0.36, 1) 0.12s;
}

/* EMPHASIZED TITLE — FROM RIGHT */

.video-hero h1 em {
  opacity: 0;
  transform: translateX(85px);
  transition:
    opacity 1.25s ease 0.28s,
    transform 1.45s cubic-bezier(0.22, 1, 0.36, 1) 0.28s;
}

/* DESCRIPTION — FROM BOTTOM */

.video-hero-content > p {
  opacity: 0;
  transform: translateY(55px);
  transition:
    opacity 1.15s ease 0.48s,
    transform 1.35s cubic-bezier(0.22, 1, 0.36, 1) 0.48s;
}

/* =========================================================
   HERO VISIBLE
========================================================= */

.video-hero.hero-visible .video-eyebrow {
  opacity: 1;
  transform: translateY(0);
}

.video-hero.hero-visible h1 {
  opacity: 1;
  transform: translateX(0);
}

.video-hero.hero-visible h1 em {
  opacity: 1;
  transform: translateX(0);
}

.video-hero.hero-visible .video-hero-content > p {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   TABLET HERO
========================================================= */

@media (max-width: 991px) {
  .video-hero {
    min-height: 850px;
    min-height: 92svh;
    padding: 80px 20px;
  }

  .video-hero-content {
    width: 90%;
  }

  .video-hero h1 {
    font-size: clamp(4rem, 11vw, 7rem);
  }
}

/* =========================================================
   MOBILE HERO
========================================================= */

@media (max-width: 768px) {
  .video-hero {
    min-height: 780px;
    padding: 70px 18px;
  }

  .video-hero-content {
    width: 94%;
    padding: 40px 0;
  }

  .video-eyebrow {
    gap: 10px;
    margin-bottom: 22px;
    font-size: 0.56rem;
    letter-spacing: 0.2em;
  }

  .video-eyebrow span {
    width: 28px;
  }

  .video-hero h1 {
    margin-bottom: 24px;
    font-size: clamp(3.4rem, 15vw, 5.5rem);
    line-height: 0.9;
    letter-spacing: -0.05em;
  }

  .video-hero-content > p {
    max-width: 520px;
    margin-bottom: 32px;
    font-size: 0.82rem;
    line-height: 1.8;
  }

  /* MOBILE HERO REVEAL */

  .video-eyebrow {
    transform: translateY(-40px);
  }

  .video-hero h1 {
    transform: translateX(-55px);
  }

  .video-hero h1 em {
    transform: translateX(55px);
  }

  .video-hero-content > p {
    transform: translateY(45px);
  }
}

/* =========================================================
   SMALL MOBILE HERO
========================================================= */

@media (max-width: 480px) {
  .video-hero {
    min-height: 720px;
    padding: 60px 15px;
  }

  .video-hero-content {
    width: 96%;
  }

  .video-eyebrow {
    font-size: 0.5rem;
    letter-spacing: 0.17em;
  }

  .video-hero h1 {
    font-size: 3.35rem;
    line-height: 0.92;
  }

  .video-hero-content > p {
    font-size: 0.78rem;
    line-height: 1.75;
  }
}

/* =========================================================
   ACCESSIBILITY / REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  /* PROJECTS ARE ALWAYS STATIC */

  .video-project-card {
    opacity: 1;
    transform: none;
  }

  /* HERO STILL BECOMES VISIBLE */

  .video-eyebrow,
  .video-hero h1,
  .video-hero h1 em,
  .video-hero-content > p {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* =========================================================
   TEXT SELECTION
========================================================= */

::selection {
  background: var(--video-accent);
  color: var(--video-dark);
}
body {
    padding-top: 105px;
}