/* ==========================================================================
   Brick TV - Wedding page
   --------------------------------------------------------------------------
   Page-scoped. Loaded only by the wedding pages, after site.css, and every
   rule is nested under .wed so nothing here can reach the rest of the site.

   The wedding voice is the Brick TV system slowed down. Same ink, same bone,
   same maroon band, same two typefaces, same square corners. Three things
   change:

     pacing   roughly 1.6x the site's vertical rhythm, so the page breathes
     weight   Bricolage at 400-500 rather than 700-800. It is a variable font
              (400..800), so the lighter, more elegant cut of the brand
              typeface costs nothing and invents nothing
     red      reserved for things you click. Romance lives in the maroon and
              in the photography, not in the accent colour

   Wedding character therefore comes from layout, pacing and imagery, which is
   what the brief asks for, rather than from a second visual system.
   ========================================================================== */

.wed {
  --wed-y:       clamp(72px, 11vw, 150px);   /* section rhythm */
  --wed-y-tight: clamp(48px, 7vw, 96px);
  --wed-x:       var(--section-x);           /* share the site's gutter */
  --wed-rule:    rgba(237,227,211,.13);
}

/* --------------------------------------------------------------------------
   Type roles
   -------------------------------------------------------------------------- */
.wed-display {
  font-family: var(--display);
  font-weight: 450;
  letter-spacing: -.015em;
  line-height: 1.06;
  margin: 0;
  color: var(--bone);
}
.wed-h1    { font-size: clamp(34px, 5.6vw, 74px); }
.wed-h2    { font-size: clamp(27px, 4vw, 50px); }
.wed-h3    { font-size: clamp(21px, 2.4vw, 30px); font-weight: 500; }

.wed-lede {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.65;
  color: var(--bone);
  margin: 20px 0 0;
  max-width: 30em;
}
.wed-copy {
  font-size: 17px;
  line-height: 1.85;
  color: var(--bone-muted);
  max-width: 33em;
  margin: 24px 0 0;
}
.wed-copy--lead { color: var(--bone); }

/* The one eyebrow on the page, not one per section. */
.wed-eyebrow {
  font-size: 12px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--bone-muted); margin: 0 0 20px;
}

.wed-section { padding: var(--wed-y) var(--wed-x); }
.wed-section--tight { padding: var(--wed-y-tight) var(--wed-x); }
.wed-section--ruled { border-top: 1px solid var(--wed-rule); }

/* --------------------------------------------------------------------------
   Hero A - full bleed, content low. The site's hero, taller and quieter.
   -------------------------------------------------------------------------- */
.wed-hero {
  position: relative;
  min-height: min(90vh, 880px);
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
}
.wed-hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 52%;
}
.wed-hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(12,9,9,.62) 0%, rgba(12,9,9,.24) 34%,
    rgba(12,9,9,.86) 84%, var(--ink) 100%);
}
.wed-hero__inner {
  position: relative; z-index: 2;
  padding: clamp(140px,26vh,300px) var(--wed-x) clamp(44px,8vh,84px);
  max-width: 1100px;
}
.wed-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }

/* The page's single motion moment: the hero settles once on load. */
.wed-hero--reveal .wed-hero__img { animation: wedSettle 2.4s cubic-bezier(.2,.7,.25,1) both; }
@keyframes wedSettle { from { transform: scale(1.07); } to { transform: scale(1); } }

/* --------------------------------------------------------------------------
   Hero B - split. Copy and CTA sit beside the image, both above the fold, so
   a couple can book without scrolling at all.
   -------------------------------------------------------------------------- */
.wed-hero--split {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.05fr);
  align-items: stretch;
  min-height: min(76vh, 700px);
}
.wed-hero--split .wed-hero__inner {
  padding: clamp(56px,7vw,96px) clamp(28px,4vw,64px) clamp(56px,7vw,96px) var(--wed-x);
  display: flex; flex-direction: column; justify-content: center;
  max-width: none;
}
.wed-hero--split .wed-hero__media { position: relative; overflow: hidden; min-height: 320px; }
.wed-hero--split .wed-hero__img { object-position: 50% 38%; }
/* A hairline, not a hard cut, where the ink meets the photograph. */
.wed-hero--split .wed-hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--ink) 0%, rgba(12,9,9,.35) 12%, transparent 40%);
}

/* Below this the two columns stop being a split and start being a squeeze:
   the headline was running to seven lines in a half-width column. Stack it,
   photograph first, and the fade turns to run down instead of across. */
@media (max-width: 760px) {
  .wed-hero--split { grid-template-columns: minmax(0,1fr); min-height: 0; }
  .wed-hero--split .wed-hero__media { order: -1; height: 44vh; min-height: 260px; }
  .wed-hero--split .wed-hero__img { object-position: 50% 30%; }
  .wed-hero--split .wed-hero__media::after {
    background: linear-gradient(180deg, transparent 45%, rgba(12,9,9,.45) 78%, var(--ink) 100%);
  }
  .wed-hero--split .wed-hero__inner {
    padding: clamp(28px,6vw,44px) var(--wed-x) clamp(44px,9vw,64px);
  }
}

/* --------------------------------------------------------------------------
   Hero C - narrative. The photograph opens the page; the headline reads as a
   first line rather than a banner.
   -------------------------------------------------------------------------- */
.wed-hero--narrative { min-height: min(84vh, 800px); justify-content: center; }
.wed-hero--narrative .wed-hero__inner {
  padding: clamp(100px,14vh,180px) var(--wed-x);
  max-width: 900px; margin: 0 auto; text-align: center;
}
.wed-hero--narrative .wed-lede { margin-left: auto; margin-right: auto; }
.wed-hero--narrative .wed-hero__actions { justify-content: center; }
.wed-hero--narrative .wed-hero__scrim {
  background: linear-gradient(180deg,
    rgba(12,9,9,.74) 0%, rgba(12,9,9,.58) 45%,
    rgba(12,9,9,.86) 86%, var(--ink) 100%);
}

/* --------------------------------------------------------------------------
   Statement - the two content sections. Image one side, words the other,
   alternating. Deliberately unequal so it reads as a spread, not a table.
   -------------------------------------------------------------------------- */
.wed-statement {
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(0,1fr);
  gap: clamp(28px,5vw,80px);
  align-items: center;
}
.wed-statement--flip .wed-statement__media { order: 2; }
.wed-statement__body { max-width: 34em; }
.wed-statement__media { position: relative; overflow: hidden; }
.wed-statement__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  aspect-ratio: 5/4;
}
.wed-statement--portrait .wed-statement__media img { aspect-ratio: 4/5; }

/* Pending photograph: a composed empty frame, never a broken image. */
.wed-frame-pending {
  aspect-ratio: 5/4;
  background: var(--ink-raised);
  border: 1px solid var(--wed-rule);
  display: flex; align-items: center; justify-content: center;
}
.wed-frame-pending span {
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--bone-muted);
}

@media (max-width: 860px) {
  .wed-statement { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .wed-statement--flip .wed-statement__media { order: 0; }
}

/* --------------------------------------------------------------------------
   Packages, A - editorial rows. No boxes. A hairline between each, the name
   large, the price quiet beside it, the contents as one plain line.
   -------------------------------------------------------------------------- */
.wed-pk-rows { border-top: 1px solid var(--wed-rule); }
.wed-pk-row {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 12px clamp(24px,4vw,56px);
  align-items: baseline;
  padding: clamp(30px,4vw,48px) 0;
  border-bottom: 1px solid var(--wed-rule);
}
.wed-pk-row__price {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(20px,2.2vw,28px); color: var(--bone);
  white-space: nowrap;
}
.wed-pk-row__note { font-size: 16px; line-height: 1.75; color: var(--bone-muted); margin: 14px 0 0; max-width: 46em; }
.wed-pk-row__items {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  margin: 18px 0 0; padding: 0; list-style: none;
  font-size: 14px; color: var(--bone-muted);
}
/* A marker on every item, not a separator between them: the longer lists wrap,
   and a separator that lands at the start of a wrapped line reads as a bullet
   on the wrong item. */
.wed-pk-row__items li { position: relative; padding-left: 17px; }
.wed-pk-row__items li::before {
  content: ""; position: absolute; left: 0; top: .58em;
  width: 6px; height: 1px; background: var(--red);
}
.wed-pk-row__cta { grid-column: 1 / -1; margin-top: 22px; }

@media (max-width: 560px) {
  .wed-pk-row { grid-template-columns: minmax(0,1fr); }
  .wed-pk-row__price { font-size: 22px; }
}

/* --------------------------------------------------------------------------
   Packages, B - three panels side by side, built for comparison. Uses the
   site's existing panel treatment (ink-raised on a hairline), not a new card.
   -------------------------------------------------------------------------- */
.wed-pk-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
  align-items: stretch;
}
.wed-pk-card {
  background: var(--ink-raised);
  border: 1px solid var(--wed-rule);
  padding: clamp(24px,2.6vw,36px);
  display: flex; flex-direction: column;
}
/* The middle package is the one most couples want, so it carries the maroon
   edge. One emphasis, no badge, no scaling. */
.wed-pk-card--lead { border-color: rgba(200,16,46,.55); }
.wed-pk-card__price {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(26px,2.6vw,34px);
  color: var(--bone); margin: 16px 0 0;
}
.wed-pk-card__note {
  font-size: 15px; line-height: 1.7; color: var(--bone-muted);
  margin: 14px 0 22px;
}
.wed-pk-card__items {
  list-style: none; margin: 0 0 28px; padding: 22px 0 0;
  border-top: 1px solid var(--wed-rule);
  display: flex; flex-direction: column; gap: 11px;
  font-size: 14.5px; line-height: 1.5; color: var(--bone-muted);
}
.wed-pk-card__items li { padding-left: 18px; position: relative; }
.wed-pk-card__items li::before {
  content: ""; position: absolute; left: 0; top: .5em;
  width: 5px; height: 1px; background: var(--red);
}
.wed-pk-card__foot { margin-top: auto; }
.wed-pk-card__foot .btn { width: 100%; }

/* This layout exists to be compared, so the rows have to line up across all
   three cards: a two line package name must not push its price below the
   neighbour's. Subgrid hands each card the parent's rows. */
@supports (grid-template-rows: subgrid) {
  .wed-pk-cards { grid-template-rows: auto auto auto 1fr auto; }
  .wed-pk-card {
    display: grid;
    grid-row: span 5;
    grid-template-rows: subgrid;
    row-gap: 0;
  }
  .wed-pk-card__price { margin-top: 0; align-self: start; }
  .wed-pk-card__items { margin-bottom: 0; }
  .wed-pk-card__foot { padding-top: 24px; }
}

@media (max-width: 900px) {
  .wed-pk-cards { grid-template-columns: minmax(0,1fr); }
  /* Stacked, there is nothing left to align, and subgrid rows sized by the
     tallest card would leave craters under the short ones. */
  @supports (grid-template-rows: subgrid) {
    .wed-pk-cards { grid-template-rows: none; }
    .wed-pk-card { display: flex; grid-row: auto; }
    .wed-pk-card__price { margin-top: 16px; }
  }
}

/* --------------------------------------------------------------------------
   Packages, C - a two column ledger. Name and price hold the left rail, the
   detail runs down the right, so the page keeps its narrative column.
   -------------------------------------------------------------------------- */
.wed-pk-ledger { border-top: 1px solid var(--wed-rule); }
.wed-pk-entry {
  display: grid;
  grid-template-columns: minmax(0,.62fr) minmax(0,1fr);
  gap: clamp(20px,4vw,64px);
  padding: clamp(32px,4.5vw,56px) 0;
  border-bottom: 1px solid var(--wed-rule);
}
.wed-pk-entry__price {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(22px,2.4vw,30px); color: var(--bone-muted);
  margin: 12px 0 0;
}
.wed-pk-entry__note { font-size: 16px; line-height: 1.8; color: var(--bone-muted); margin: 0; }
.wed-pk-entry__items {
  list-style: none; margin: 20px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px,1fr));
  gap: 10px 26px;
  font-size: 14.5px; color: var(--bone-muted);
}
.wed-pk-entry__items li { padding-left: 18px; position: relative; }
.wed-pk-entry__items li::before {
  content: ""; position: absolute; left: 0; top: .52em;
  width: 5px; height: 1px; background: var(--red);
}
.wed-pk-entry__cta { margin-top: 24px; }

@media (max-width: 760px) {
  .wed-pk-entry { grid-template-columns: minmax(0,1fr); gap: 16px; }
}

/* --------------------------------------------------------------------------
   How we work (Concept C) - a real sequence, so it is the one place on the
   page where numbering belongs. A hairline rail carries the eye down it.
   -------------------------------------------------------------------------- */
.wed-steps { display: grid; gap: 0; max-width: 900px; }
.wed-step {
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  gap: clamp(20px,3vw,44px);
  padding: clamp(26px,3.4vw,40px) 0;
  position: relative;
}
.wed-step + .wed-step { border-top: 1px solid var(--wed-rule); }
.wed-step__n {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(30px,3.4vw,46px);
  line-height: 1; color: var(--bone);
  opacity: .28; font-variant-numeric: tabular-nums;
}
.wed-step__body p {
  font-size: 16px; line-height: 1.8; color: var(--bone-muted);
  margin: 10px 0 0; max-width: 40em;
}

/* --------------------------------------------------------------------------
   Why Brick TV (Concept B) - three points, ruled rather than boxed, so the
   packages below stay the only panels on the page.
   -------------------------------------------------------------------------- */
.wed-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: clamp(24px,3.4vw,52px);
}
.wed-point { border-top: 1px solid var(--red); padding-top: 22px; }
.wed-point h3 { font-family: var(--display); font-weight: 500; font-size: 20px; margin: 0; }
.wed-point p { font-size: 15.5px; line-height: 1.75; color: var(--bone-muted); margin: 12px 0 0; }

@media (max-width: 820px) { .wed-points { grid-template-columns: minmax(0,1fr); gap: 28px; } }

/* --------------------------------------------------------------------------
   Testimonial - one quote, large and alone. Built so a second one can be
   added later without the section changing shape.
   -------------------------------------------------------------------------- */
.wed-quote-section { padding: var(--wed-y) var(--wed-x); text-align: center; }
.wed-quote { margin: 0; max-width: 20em; margin-inline: auto; }
.wed-quote blockquote {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(28px,4.4vw,56px); line-height: 1.18;
  letter-spacing: -.015em; color: var(--bone); margin: 0;
}
.wed-quote figcaption {
  font-size: 13px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--bone-muted); margin-top: 30px;
}
/* Two or more quotes: they sit side by side and drop a size, no redesign. */
.wed-quotes--multi { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: clamp(28px,4vw,64px); }
.wed-quotes--multi .wed-quote blockquote { font-size: clamp(22px,2.4vw,30px); }

/* --------------------------------------------------------------------------
   Film - reuses .video-card from site.css verbatim, just framed wider.
   Hidden cleanly by the markup when no URL is set.
   -------------------------------------------------------------------------- */
.wed-film { max-width: 1100px; margin-inline: auto; }
.wed-film__head { text-align: center; margin-bottom: clamp(24px,3vw,40px); }

/* --------------------------------------------------------------------------
   Gallery strip - full bleed band of stills, used where a concept wants a
   breath between sections rather than another block of words.
   -------------------------------------------------------------------------- */
.wed-strip { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2px; }
.wed-strip img { width: 100%; height: clamp(180px,26vw,360px); object-fit: cover; display: block; }
@media (max-width: 700px) { .wed-strip { grid-template-columns: repeat(3, minmax(0,1fr)); } .wed-strip img { height: 150px; } }

@media (prefers-reduced-motion: reduce) {
  .wed-hero--reveal .wed-hero__img { animation: none; }
}
