/* ============================================================
   Rylee's Agency — styles.css
   Editorial, white/grey/black, photography-forward aesthetic.
   Design tokens live in :root — stick to the scale.
   (Palette changed from sage/cream to monochrome per Rylee.)
   ============================================================ */

:root {
  /* --- Backgrounds --- */
  --white: #ffffff;
  --grey-paper: #f7f7f7;    /* light grey paper */
  --grey-panel: #efefef;    /* slightly deeper grey panel */
  --logo-paper: #f0ece8;    /* warm cream-grey sampled from the RS logo coin — hero bg */

  /* --- Accents (monochrome) --- */
  --grey: #a6a6a6;          /* mid grey — borders, bullets, rules */
  --grey-deep: #7d7d7d;
  --charcoal: #3d3d3d;      /* dark grey — buttons, eyebrows */
  --black: #1c1c1c;         /* near black */

  /* --- Ink / text --- */
  --ink: #1c1c1c;           /* black — body */
  --ink-soft: #6e6e6e;      /* muted grey secondary text */
  --line: #e5e5e5;          /* hairline borders */
  --line-soft: #eeeeee;

  /* --- Effects --- */
  --shadow-sm: 0 2px 14px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 14px 44px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.14);

  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 20px;

  --maxw: 1180px;
  --maxw-narrow: 760px;

  /* --- Type --- */
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --script: 'Petit Formal Script', 'Cormorant Garamond', cursive;
  --sans: 'Jost', 'Helvetica Neue', system-ui, sans-serif;
}

/* ============================================================
   Reset / base
   ============================================================ */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  font-size: 17px;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.12;
  margin: 0;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }

p { margin: 0 0 1.1rem; }

.italic { font-style: italic; }
.script {
  font-family: var(--script);
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.01em;
}

/* ============================================================
   Layout helpers
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

section { padding: clamp(64px, 9vw, 118px) 0; }
.section-cream { background: var(--grey-paper); }
.section-deep { background: var(--grey-panel); }

.section-head {
  max-width: var(--maxw-narrow);
  margin: 0 auto clamp(40px, 6vw, 64px);
  text-align: center;
}
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }

/* Eyebrow — letter-spaced all-caps label with side rule */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 20px;
}
.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--grey);
  opacity: 0.7;
}
.eyebrow.solo::before,
.eyebrow.solo::after { display: none; }

/* Small floral / botanical divider */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 22px auto;
  color: var(--grey);
}
.divider::before,
.divider::after {
  content: "";
  width: 46px;
  height: 1px;
  background: var(--grey);
  opacity: 0.55;
}
.divider svg { width: 22px; height: 22px; opacity: 0.85; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 15px 34px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--charcoal); color: #fff; }
.btn-primary:hover { background: var(--black); transform: translateY(-2px); }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--grey); }
.btn-outline:hover { background: var(--grey); color: #fff; border-color: var(--grey); transform: translateY(-2px); }

.btn-light { background: rgba(255,255,255,0.9); color: var(--ink); }
.btn-light:hover { background: #fff; transform: translateY(-2px); }

.btn-sm { padding: 11px 24px; font-size: 0.7rem; }

/* Text link with animated underline */
.link-underline {
  position: relative;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--black);
  padding-bottom: 3px;
}
.link-underline::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--black);
  transition: width 0.3s ease;
}
.link-underline:hover::after { width: 100%; }

/* ============================================================
   Navigation (sticky glass) — shared markup + nav.js
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--ink);
}
/* RS monogram — real logo image, circle-clipped.
   .brand-logo       → light backgrounds (multiply hides the paper bg)
   .brand-logo-dark  → dark backgrounds (invert + screen renders white strokes) */
.brand-mark {
  width: 42px; height: 42px;
  border: 1px solid var(--grey);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--black);
  flex-shrink: 0;
}
.brand-logo {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  mix-blend-mode: multiply;
  flex-shrink: 0;
}
.brand-logo-dark {
  mix-blend-mode: screen;
  filter: invert(1);
}
/* Coin bg matches --logo-paper, so it merges seamlessly into the hero —
   no border/blend needed. */
.hero-logo {
  width: 104px; height: 104px;
  margin: 0 auto 26px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.brand-name small {
  display: block;
  font-family: var(--sans);
  font-size: 0.56rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  position: relative;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 4px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--charcoal);
  transition: width 0.3s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--black); }

.nav-cta { display: flex; align-items: center; gap: 18px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  width: 100%; height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */
/* Logo-paper hero, black words (per Rylee) — flanked by two 9:16 reels
   ("Rylee's" left, "Agency" right). .hero-bg kept as a hook for a future
   photo/video background if one arrives. */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ink);
  padding: 120px 32px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--logo-paper);
}
.hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 5vw, 72px);
}
.hero-reel {
  width: clamp(180px, 17vw, 260px);
  flex-shrink: 0;
}
.hero-content { position: relative; max-width: 780px; }
.hero h1 { margin-bottom: 8px; }
.hero-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  color: var(--ink-soft);
  margin-bottom: 30px;
}
.hero-monogram {
  width: 92px; height: 92px;
  margin: 0 auto 26px;
  border: 1.5px solid var(--grey);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 2rem;
  color: var(--ink);
}
.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}
.hero-meta {
  margin-top: 34px;
  font-size: 0.74rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Sub-page header (weddings / brand-pr) */
.page-header {
  text-align: center;
  padding: clamp(84px, 12vw, 150px) 32px clamp(40px, 6vw, 70px);
  background: var(--grey-paper);
}
.page-header .lead {
  max-width: 640px;
  margin: 18px auto 0;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

/* Photo-banner variant (weddings) — the photo supplies the color; palette stays mono */
.page-header-photo {
  position: relative;
  background-size: cover;
  background-position: center 62%; /* keep chandeliers + aisle in frame */
  padding-top: clamp(120px, 16vw, 200px);
  padding-bottom: clamp(80px, 11vw, 140px);
}
.page-header-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(20, 17, 14, 0.34), rgba(20, 17, 14, 0.5));
}
.page-header-photo > div { position: relative; }
.page-header-photo h1,
.page-header-photo .eyebrow,
.page-header-photo .divider { color: #fff; }

/* Reels-flanked variant (brand-pr) — slimmer take on the home-hero layout */
.page-header-reels .header-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 5vw, 64px);
}
.page-header-reels .hero-reel {
  flex: 0 0 auto;
  width: clamp(150px, 14vw, 210px);
}
.page-header-reels .header-copy { max-width: 640px; }
@media (max-width: 900px) {
  .page-header-reels .header-row { flex-wrap: wrap; }
  .page-header-reels .header-copy { order: -1; flex-basis: 100%; }
  .page-header-reels .hero-reel { width: min(160px, 40vw); }
}

/* Portfolio-deck video (brand-pr) — Canva mp4 export playing in a 16:9 frame */
.deck-section { padding-top: 0; }
.deck-slideshow {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--grey-panel);
  box-shadow: var(--shadow-md);
}
.deck-slideshow video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.deck-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 4px;
  border: 0;
  border-radius: 50%;
  background: rgba(28, 28, 28, 0.45);
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}
.deck-arrow:hover,
.deck-arrow:focus-visible { background: rgba(28, 28, 28, 0.72); }
.deck-prev { left: 14px; }
.deck-next { right: 14px; }


/* ============================================================
   Split (image + text)
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 76px);
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 5;
  background: var(--grey-panel);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-copy h2 { margin-bottom: 18px; }
.split-copy p { color: var(--ink-soft); }

/* Role / subtitle line under a heading */
.role {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--grey-deep);
  margin: -10px 0 18px;
}

/* Placeholder image tile (marked for Rylee's real photos) */
.ph {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  background:
    repeating-linear-gradient(45deg, #ececec, #ececec 14px, #f3f3f3 14px, #f3f3f3 28px);
  color: var(--ink-soft);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
  padding: 20px;
}

/* ============================================================
   Stat strip
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  text-align: center;
}
.stat .num {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  color: var(--black);
  line-height: 1;
}
.stat .label {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 10px;
}

/* As-seen-on / brand logo row */
.brandrow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(24px, 5vw, 56px);
  margin-top: 12px;
}
.brandrow span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--ink-soft);
  opacity: 0.8;
}

/* ============================================================
   Cards (service teasers, portfolio)
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card-media { aspect-ratio: 3 / 2; background: var(--grey-panel); }
.card-body { padding: 30px 28px 34px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { margin-bottom: 10px; }
.card-body p { color: var(--ink-soft); font-size: 0.98rem; flex: 1; }
.card-body .link-underline { margin-top: 18px; }

/* ============================================================
   Reels — vertical 9:16 phone-style video tiles
   ============================================================ */
.reel-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 940px;
  margin: 0 auto;
}
.reel {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--grey-panel);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.reel video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.reel-label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 18px 16px;
  background: linear-gradient(to top, rgba(35, 40, 44, 0.65), transparent);
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
  pointer-events: none;
}
@media (max-width: 768px) {
  .reel-strip { grid-template-columns: 1fr; max-width: 320px; }
}

/* Portfolio grid (square tiles) */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.gallery .tile {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--grey-panel);
}
.gallery .tile img,
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Weddings gallery — 5 photos: 3-up with a double-wide landscape tile (2 clean rows) */
@media (min-width: 700px) {
  .gallery-thirds { grid-template-columns: repeat(3, 1fr); }
  .gallery-thirds .tile-wide { grid-column: span 2; aspect-ratio: auto; }
  /* absolute img → the square tiles set the row height, wide tile matches it */
  .gallery-thirds .tile-wide img { position: absolute; inset: 0; }
}
/* Brand-logo tiles — show the whole mark on white instead of cropping */
.gallery .tile.tile-logo { background: var(--white); border: 1px solid var(--line); }
.gallery .tile.tile-logo img {
  object-fit: contain;
  padding: 18%;
}
.gallery .tile.tile-logo .tile-caption {
  background: none;
  color: var(--ink-soft);
}
.tile-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 14px 12px;
  background: linear-gradient(to top, rgba(35, 40, 44, 0.6), transparent);
  color: #fff;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
}

/* ============================================================
   Package (pricing) cards — mirror the template
   ============================================================ */
.packages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}
.pkg {
  background: var(--white);
  border: 1px solid var(--grey);
  border-radius: var(--radius-sm);
  padding: 40px 32px 34px;
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pkg:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.pkg.feature { border-color: var(--charcoal); box-shadow: var(--shadow-sm); }
.pkg-badge {
  align-self: center;
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--grey-paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 14px;
}
.pkg-name {
  font-family: var(--script);
  font-size: 2.6rem;
  color: var(--black);
  line-height: 1;
  margin-bottom: 6px;
}
.pkg-rule {
  width: 46px; height: 1px;
  background: var(--grey);
  margin: 14px auto 22px;
}
.pkg ul {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  text-align: left;
  flex: 1;
}
.pkg ul li {
  position: relative;
  padding: 0 0 12px 22px;
  font-size: 0.96rem;
  color: var(--ink);
}
.pkg ul li::before {
  content: "";
  position: absolute;
  left: 2px; top: 11px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--grey);
}
.pkg ul li strong { font-weight: 500; }
.pkg-price {
  font-family: var(--serif);
  font-size: 2.8rem;
  color: var(--ink);
  margin-bottom: 20px;
}
.pkg .btn { align-self: center; }

/* Info bands (add-ons, travel) */
.band {
  text-align: center;
  max-width: var(--maxw-narrow);
  margin: 0 auto;
}
.band h3 {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 16px;
}
.band p { color: var(--ink); font-size: 1.02rem; }
.band .sep { color: var(--grey); margin: 0 10px; }

/* Larger add-ons band */
.band-lg h3 { font-size: 0.92rem; margin-bottom: 20px; }
.band-lg p { font-size: 1.28rem; line-height: 1.7; }
.band-lg .sep { margin: 0 14px; }

/* ============================================================
   Two-column offering blocks (brand-pr)
   ============================================================ */
.offer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.offer {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 42px 40px;
  box-shadow: var(--shadow-sm);
}
.offer h3 { margin-bottom: 8px; }
.offer .offer-tag {
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--grey-deep);
  margin-bottom: 14px;
  display: block;
}
.offer ul { list-style: none; margin: 18px 0 0; padding: 0; }
.offer ul li {
  position: relative;
  padding: 0 0 10px 22px;
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.offer ul li::before {
  content: "";
  position: absolute; left: 2px; top: 10px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--grey);
}

/* Small print / disclaimer note */
.note {
  max-width: var(--maxw-narrow);
  margin: 32px auto 0;
  text-align: center;
  font-size: 0.86rem;
  color: var(--ink-soft);
  font-style: italic;
}

/* ============================================================
   Inquiry form
   ============================================================ */
.form-wrap {
  max-width: 660px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: clamp(30px, 5vw, 50px);
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--grey-paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--charcoal);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 130px; }
.form-msg {
  margin-top: 16px;
  font-size: 0.92rem;
  text-align: center;
  min-height: 1.2em;
}
.form-msg.error { color: #b4553f; }
.form-msg.success { color: var(--grey-deep); }

/* ============================================================
   Contact / footer
   ============================================================ */
.contact-cta {
  text-align: center;
  background: var(--charcoal);
  color: #fff;
}
.contact-cta h2 { color: #fff; }
.contact-cta p { color: rgba(255,255,255,0.85); }
.contact-cta .btn-light { margin-top: 12px; }
.contact-lines {
  margin-top: 22px;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}
.contact-lines a { border-bottom: 1px solid rgba(255,255,255,0.4); }

footer {
  background: var(--ink);
  color: rgba(255,255,255,0.78);
  padding: 64px 32px 40px;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.footer-brand .brand-mark { border-color: rgba(255,255,255,0.5); color: #fff; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.94rem; margin-top: 16px; max-width: 300px; }
footer h4 {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
footer ul { list-style: none; margin: 0; padding: 0; }
footer ul li { margin-bottom: 10px; color: rgba(255,255,255,0.78); font-size: 0.96rem; }
footer ul li a { color: rgba(255,255,255,0.78); font-size: 0.96rem; }
footer ul li a:hover { color: #fff; }
.footer-bottom {
  max-width: var(--maxw);
  margin: 44px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .packages { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .offer-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  /* Keep the About headshot's portrait ratio on small screens (photo is 4:5);
     top-anchor the crop so wider tablet layouts never cut off the face. */
  .split-media { aspect-ratio: 4 / 5; max-height: 560px; }
  .split-media img { object-position: top; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  /* Hero: text on top, the two reels side by side underneath */
  .hero { padding-top: 80px; padding-bottom: 64px; }
  .hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .hero-content { grid-row: 1; grid-column: 1 / -1; }
  .hero-reel { width: min(180px, 42vw); }
  .hero-reel-left { grid-row: 2; grid-column: 1; justify-self: end; }
  .hero-reel-right { grid-row: 2; grid-column: 2; justify-self: start; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    align-items: center;
    gap: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line-soft);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }
  .nav-links.open { max-height: 340px; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: block; padding: 18px 0; }
  .nav-links a::after { display: none; }
  .hamburger { display: flex; }
  .nav-cta .btn { display: none; }
  .stats { grid-template-columns: 1fr; gap: 34px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .container { padding: 0 22px; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; }
}

/* Reduced motion — animations.css handles reveal states; keep smooth-scroll off */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
