/* =========================================================
   weddings.css — Wedding Films
   Light, warm and editorial. Asymmetric layouts, overlapping
   imagery, generous whitespace and Playfair carrying the
   voice. Everything here should feel unhurried and personal.
   ========================================================= */

/* ---------- Hero ---------- */
.w-hero {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(3rem, 8vh, 6rem);
  overflow: hidden;
  isolation: isolate;
}
.w-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.w-hero__media img,
.w-hero__media video {
  width: 100%; height: 100%;
  object-fit: cover;
  /* The hero photograph is portrait in a landscape frame, so it always
     crops vertically and a centred crop takes the tops of their heads
     off. Bias the visible window upward to keep faces in. On a phone the
     frame is tall enough that there is no vertical crop, so this simply
     has no effect there. */
  object-position: center 35%;
}
/* Weighted towards the bottom-left, where the copy sits, so the
   headline stays readable whatever photograph goes behind it. */
.w-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(17,17,17,.72) 0%, rgba(17,17,17,.34) 48%, rgba(17,17,17,.12) 100%),
    linear-gradient(180deg, rgba(17,17,17,.42) 0%, rgba(17,17,17,.16) 34%, rgba(17,17,17,.78) 100%);
}
.w-hero__inner { position: relative; color: var(--ivory); max-width: 56ch; }
.w-hero h1 { text-shadow: 0 2px 30px rgba(17,17,17,.35); }
.w-hero__eyebrow { color: rgba(247,245,242,.82); }
.w-hero h1 { color: var(--ivory); font-weight: 400; }
.w-hero h1 em { font-style: italic; color: var(--taupe); }
.w-hero__sub {
  margin-top: 1.75rem;
  max-width: 46ch;
  font-size: var(--fs-lead);
  font-weight: 300;
  line-height: 1.6;
  color: rgba(247,245,242,.85);
}
.w-hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }
.w-hero .btn--ghost { color: var(--ivory); border-color: rgba(247,245,242,.45); }
.w-hero .btn--ghost:hover { border-color: var(--ivory); }
.w-hero .btn { background: var(--ivory); color: var(--charcoal); }

/* Scroll cue — a thin line that draws down and repeats */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 1px; height: 64px;
  background: rgba(247,245,242,.28);
  overflow: hidden;
}
.scroll-cue::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--taupe);
  animation: cue 2.6s var(--ease) infinite;
}
@keyframes cue {
  0%   { transform: translateY(-100%); }
  60%  { transform: translateY(100%); }
  100% { transform: translateY(100%); }
}

/* ---------- Opening statement ---------- */
.w-statement { text-align: center; }
.w-statement__quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1rem + 2.1vw, 2.75rem);
  font-weight: 400;
  line-height: 1.34;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.w-statement__quote em { font-style: italic; color: var(--accent); }
.w-statement__attr {
  margin-top: 2.5rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fg-faint);
}

/* ---------- Alternating feature blocks ---------- */
.w-feature {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.w-feature + .w-feature { margin-top: clamp(4rem, 9vw, 8rem); }

/* Ellie's wedding photography is all shot portrait, so the media
   column stays narrow and tall rather than cropping a couple into
   a letterbox. */
.w-feature__media { grid-column: 1 / span 6; position: relative; }
.w-feature__body  { grid-column: 8 / span 5; }
.w-feature--flip .w-feature__media { grid-column: 7 / span 6; grid-row: 1; }
.w-feature--flip .w-feature__body  { grid-column: 1 / span 5; grid-row: 1; }

/* A second, smaller image overlapping the first — the layout
   signature of this side. Hidden on narrow screens where it
   would only crowd the text. */
.w-feature__inset {
  position: absolute;
  right: -18%;
  bottom: -10%;
  width: 46%;
  box-shadow: 0 24px 60px rgba(43, 43, 43, .18);
  border: 8px solid var(--bg);
}
.w-feature--flip .w-feature__inset { right: auto; left: -14%; }

@media (max-width: 900px) {
  .w-feature__media,
  .w-feature__body,
  .w-feature--flip .w-feature__media,
  .w-feature--flip .w-feature__body { grid-column: 1 / -1; grid-row: auto; }
  .w-feature__inset { display: none; }
}

/* ---------- Included list ---------- */
.w-included {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
}
.w-included__item {
  padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1rem, 2vw, 2rem) clamp(1.75rem, 3vw, 2.5rem) 0;
  border-bottom: 1px solid var(--line);
}
.w-included__num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-style: italic;
  color: var(--accent);
  margin-bottom: 1rem;
}
.w-included__item h3 { margin-bottom: .75rem; font-size: 1.125rem; }
.w-included__item p { font-size: 0.9375rem; color: var(--fg-muted); line-height: 1.65; }

/* ---------- Process ---------- */
.w-process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.w-process__step { position: relative; padding-top: 2.5rem; }
.w-process__step::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 40px; height: 1px;
  background: var(--accent);
}
.w-process__step h3 { font-size: 1.25rem; margin-bottom: .875rem; }
.w-process__step p { color: var(--fg-muted); font-size: 0.9375rem; }
.w-process__label {
  display: block;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: .75rem;
}

/* ---------- Featured film ----------
   The film is shot portrait, so it is presented portrait rather
   than letterboxed into a widescreen frame. Nothing loads until
   the visitor presses play. */
.w-showcase {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
@media (max-width: 900px) { .w-showcase { grid-template-columns: 1fr; } }

.w-showcase__player {
  position: relative;
  background: var(--charcoal);
  box-shadow: 0 30px 80px rgba(43, 43, 43, .22);
}
.w-showcase__player video {
  width: 100%;
  aspect-ratio: 1080 / 1834;
  object-fit: cover;
  background: var(--charcoal);
}
.w-showcase__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.w-showcase__meta div { min-width: 120px; }
.w-showcase__meta dt {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: .375rem;
}
.w-showcase__meta dd { font-size: 0.9375rem; }

/* ---------- Testimonial ---------- */
.w-testimonial { text-align: center; }
.w-testimonial blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.375rem, 1rem + 1.7vw, 2.25rem);
  line-height: 1.45;
  max-width: 24ch;
  margin-inline: auto;
  text-wrap: balance;
}
.w-testimonial figcaption {
  margin-top: 2rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fg-faint);
}

/* ---------- Enquiry ---------- */
.w-enquire {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
@media (max-width: 900px) { .w-enquire { grid-template-columns: 1fr; } }
