/* harryfilming — landing page (v4: showreel, story camera, work melt row).
   Loaded after style.css. Previous desk version saved in _old/landing-v3-desk/. */

/* ---------- Tighter top: title -> showreel -> intro ---------- */
.home-title { margin-bottom: 0 !important; padding-bottom: 0; }
.home-reel { margin-top: clamp(10px, 1.3vw, 18px); margin-bottom: 0; }
.home-title h1 { line-height: .74; }   /* box hugs the capitals, so the line below can't overlap */
.home-title .sub { margin-top: clamp(10px, 1.1vw, 16px); }
.home-intro { margin-top: clamp(56px, 7vw, 100px); align-items: start; }
/* single wordmark: no sliced ghost copies above/below */
.home-title h1::before, .home-title h1::after { display: none; }

/* ---------- Story teaser ---------- */
.home-story {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px); align-items: center;
}
.home-cam { position: relative; display: block; aspect-ratio: 2000 / 1745; margin-left: -3%;
  transition: filter .25s ease; filter: brightness(.9); }
.home-cam:hover, .home-cam:focus-visible { filter: brightness(1.05); outline: none; }
.home-cam img { position: absolute; inset: 0; width: 100%; height: 100%; }
/* viewfinder screen: same overlay box as story.css */
.home-cam .vf { position: absolute; left: 31.941%; top: 52.817%; width: 35.627%; height: 32.254%;
  overflow: hidden; background: #000; border-radius: 1.4% / 1.8%; }
.home-cam .vf video { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-cam .vf::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(125deg, rgba(255,255,255,.07), transparent 40%);
  box-shadow: inset 0 0 40px rgba(0,0,0,.6), inset 0 0 0 1px rgba(0,0,0,.85); }

.home-story__copy h2 {
  font-weight: 900; font-stretch: 80%; text-transform: uppercase;
  font-size: clamp(32px, 4.4vw, 60px); line-height: .95; margin-bottom: 18px;
}
.home-story__copy p:not(.label) { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55; color: #cfcfcf; max-width: 34ch; }
.home-story__copy .cta { display: inline-block; margin-top: 26px; }

/* ---------- Work melt row (same effect as the Work page, no seats) ---------- */
.home-melt-wrap { position: relative; }
.home-melt { height: clamp(380px, 64vh, 680px); }
#melt-fallback[hidden], .home-melt[hidden] { display: none; }
.melt-hint {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: #fff; background: rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.5); padding: 9px 14px;
  opacity: 0; transition: opacity .25s ease; pointer-events: none; white-space: nowrap;
}
.home-melt-wrap:hover .melt-hint { opacity: 1; }

/* ---------- Phones ---------- */
@media (max-width: 760px) {
  .home-story { grid-template-columns: 1fr; }
  .home-cam { margin-left: 0; }
  .home-melt { height: clamp(300px, 58vh, 480px); }
  .melt-hint { opacity: 1; font-size: 10px; }   /* no hover on phones: always show */
}

/* link right under the work row */
.home-more { margin-top: calc(-1 * clamp(40px, 9vh, 100px)); position: relative; z-index: 2; }
.home-story { margin-bottom: clamp(40px, 4vw, 60px); }

/* ---------- QA fixes 21 Nov: offer line on the first screen ---------- */
/* Smaller wordmark (the header logo already says it), reel sized off the screen height,
   so "Creative video for startups." lands inside a 1440×800 laptop window. */
.home-main { padding-top: 70px; }
.home-title { padding-top: 6px; }
.home-title h1 { font-size: clamp(34px, 4.6vw, 66px); }
.home-title .sub { margin-top: 10px; }
.home-reel .reel { width: min(100%, calc((100svh - 350px) * 16 / 9)); min-width: min(100%, 560px); margin-inline: auto; }
.home-intro { margin-top: clamp(28px, 3vw, 40px); }
.melt-hint { text-transform: none; letter-spacing: .03em; font-weight: 500; }

/* Client strip */
.home-clients { display: flex; align-items: baseline; gap: clamp(14px, 2vw, 28px); flex-wrap: wrap;
  margin-top: clamp(40px, 5vw, 64px); margin-bottom: clamp(24px, 3vw, 40px);
  padding-top: 18px; border-top: 1px solid var(--line); }
.home-clients__label { font-size: 14px; font-weight: 500; letter-spacing: .03em; color: var(--muted); }
.home-clients ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px clamp(18px, 3vw, 44px); }
.home-clients li { font-weight: 600; letter-spacing: -.01em; font-size: clamp(17px, 1.6vw, 22px); color: #cfcfcf; }

/* Work row now sits above the Story teaser */
.home-work { margin-bottom: clamp(60px, 8vw, 110px); }

@media (max-width: 760px) {
  .home-main { padding-top: 60px; }
  .home-reel .reel { width: 100%; min-width: 0; background: transparent; }
  /* sound button under the video, not over the phones */
  .home-reel .sound-btn { position: static; transform: none; display: flex; margin: 12px auto 0; font-size: 12px; padding: 9px 14px; }
  .home-clients { gap: 10px; }
  .home-clients ul { gap: 4px 18px; }
}

/* Tighter gap between hero copy and the Work row (Harry, 21 Nov) */
.home-intro { margin-bottom: clamp(16px, 2vw, 32px); }
.home-work { margin-top: calc(-1 * clamp(30px, 6vh, 80px)); position: relative; }
@media (max-width: 760px) { .home-work { margin-top: calc(-1 * clamp(20px, 4vh, 40px)); } }
