/* ========================================================================
   Stuart Photography Company — new site
   Blend: Top Tier's clean premium layout + Fred's warm, human voice
   ======================================================================== */

:root {
  --ink:      #263038;   /* brand dark slate */
  --ink-soft: #4b5762;
  --paper:    #f4f4f5;   /* brand light */
  --paper-2:  #e9edf1;   /* cool band */
  --line:     #dfe3e7;
  --mist:     #e4ecf3;   /* deeper wash of the brand blue */
  --mist-line:#cfdce8;
  --accent:   #4a7293;   /* brand steel-blue (official) */
  --accent-d: #37566e;   /* deeper brand blue */
  --white:    #ffffff;

  --serif: "Fraunces", Georgia, serif;
  --sans:  "Nunito Sans", system-ui, -apple-system, sans-serif;

  --wrap: 1160px;
  --r: 14px;
  --shadow: 0 8px 18px -10px rgba(38, 48, 56, 0.30), 0 32px 64px -24px rgba(38, 48, 56, 0.42);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: linear-gradient(180deg, #f7f7f8 0%, var(--paper) 30%, #eff1f3 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Shared ---------- */
.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-d);
  margin-bottom: 0.9rem;   /* intrinsic, so an eyebrow is spaced in any context */
}

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.section-title em { font-style: italic; color: var(--accent); }

.section-head { max-width: var(--wrap); margin: 0 auto 3rem; padding: 0 clamp(1.2rem, 4vw, 2rem); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  color: var(--white);
  background: var(--ink);
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--accent-d); border-color: var(--accent-d); box-shadow: var(--shadow); }
.btn--lg { padding: 1.05rem 2rem; font-size: 1rem; }
.btn--sm { padding: 0.6rem 1.15rem; font-size: 0.86rem; }
.btn--block { width: 100%; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: transparent; color: var(--accent-d); border-color: var(--accent); box-shadow: none; transform: translateY(-2px); }
.btn--light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--light:hover { background: var(--paper-2); color: var(--ink); border-color: var(--paper-2); }

.link {
  font-weight: 700;
  color: var(--accent-d);
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.18s ease;
}
.link:hover { border-color: var(--accent); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(244, 244, 245, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.nav.is-stuck { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(38,48,56,0.4); }
.nav__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0.9rem clamp(1.2rem, 4vw, 2rem);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.brand { display: flex; align-items: center; margin-right: auto; }
.brand__logo { height: 47px; width: auto; }

.nav__links { display: flex; gap: 1.6rem; }
.nav__links a {
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--ink-soft);
  position: relative;
  transition: color 0.18s ease;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px; background: var(--accent);
  transition: width 0.22s ease;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }
.nav__actions { display: flex; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--ink); transition: transform 0.25s ease, opacity 0.2s ease; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.5rem clamp(1.2rem, 4vw, 2rem) 1.4rem;
  border-top: 1px solid var(--line);
}
.nav__mobile a { padding: 0.7rem 0; font-weight: 700; border-bottom: 1px solid var(--line); }
.nav__mobile a.btn { border: 1.5px solid var(--ink); margin-top: 0.6rem; }
.nav__mobile.is-open { display: flex; }

/* ---------- Hero ---------- */
.hero {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 5.5rem) clamp(1.2rem, 4vw, 2rem) clamp(2rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 6.4vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 1rem 0 1.3rem;
}
.hero__title em { font-style: italic; color: var(--accent); }
.hero__lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 34ch;
  margin-bottom: 2rem;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 2rem; }
.hero__proof { display: flex; align-items: center; gap: 0.7rem; font-size: 0.95rem; color: var(--ink-soft); }
.stars { color: var(--accent); letter-spacing: 0.1em; font-size: 1.05rem; }
.stars--lg { font-size: 1.6rem; }

.hero__media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}
/* the landscape shot spans the full width beneath the two portraits */
.hero__media .ph:nth-child(3) { grid-column: 1 / -1; }

/* ---------- Placeholders (swap for real photos) ---------- */
.ph {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  background: linear-gradient(135deg, #eef1f4, #dbe4ec);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
}
/* empty (no-photo) slots keep a portrait shape so the silhouette shows */
.ph:not(:has(img)) { aspect-ratio: 4 / 5; }
.ph:not(:has(img))::before {
  /* subtle person silhouette — only when the slot has no photo yet */
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 38%, rgba(75,115,148,0.22) 0 60px, transparent 62px),
    radial-gradient(ellipse 46% 30% at 50% 96%, rgba(75,115,148,0.18) 0 60%, transparent 62%);
  opacity: 0.7;
}
.ph img {
  display: block;
  width: 100%;
  height: auto;
}
.ph span {
  position: relative;
  z-index: 1;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-d);
  background: rgba(244,244,245,0.85);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}
.ph--card { margin-bottom: 1.3rem; }

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
  padding: 1.1rem 0;
}
.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  white-space: nowrap;
  animation: scroll 34s linear infinite;
}
.marquee__track span {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--ink);
}
.marquee__track i { color: var(--accent); font-style: normal; font-size: 0.6rem; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Client band ---------- */
.clients {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.7rem 0;
}
.clients__label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-d);
  margin-bottom: 1.2rem;
}
/* two stacked rows, each scrolling the opposite way */
.clients__rows { display: grid; gap: clamp(0.8rem, 2vw, 1.3rem); }
.clients__marquee {
  overflow: hidden;
  /* fade the band out at both edges so it reads as continuous */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.clients__track {
  display: inline-flex;
  align-items: center;
  gap: clamp(2rem, 5vw, 3.6rem);
  white-space: nowrap;
  animation: clientscroll 42s linear infinite;
}
.clients__marquee:hover .clients__track { animation-play-state: paused; }
/* items must keep their intrinsic size - flex would otherwise shrink them to nothing */
.clients__track > * { flex: 0 0 auto; }

.client {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.05rem, 1.9vw, 1.45rem);
  color: var(--ink);
  opacity: 0.72;
}
/* Logos arrive with their own backgrounds (some light, some dark), so each one
   sits on its own tile rather than floating on the band. Keeps a mixed set tidy. */
.client--logo {
  display: inline-flex;
  align-items: center;
  opacity: 0.88;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.client--logo:hover { opacity: 1; transform: translateY(-2px); }
/* Client logos arrive in wildly different proportions (a wide wordmark next to a
   near-square crest). Capping BOTH dimensions sizes them optically rather than
   letting one ratio dominate the row. */
.client--logo img {
  display: block;
  flex: 0 0 auto;
  width: auto;
  height: auto;
  max-height: clamp(30px, 3.8vw, 44px);
  max-width: clamp(130px, 17vw, 200px);
  object-fit: contain;
  border-radius: 5px;   /* only visible on logos with a solid plate */
}
/* Some brands only supply a white (reversed) logo. Rather than recolour their
   mark, give it the dark ground it was designed for. */
.client--onDark {
  background: var(--ink);
  border-radius: 8px;
  padding: 0.45rem 0.8rem;
}
.client--onDark img { max-height: clamp(26px, 3.2vw, 36px); border-radius: 0; }

/* second row runs the other way, so the two rows counter-scroll */
.clients__track--rev { animation-name: clientscroll-rev; animation-duration: 48s; }

@keyframes clientscroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes clientscroll-rev {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .clients__track { animation: none; flex-wrap: wrap; justify-content: center; white-space: normal; }
  .clients__marquee { -webkit-mask-image: none; mask-image: none; }
}

/* ---------- Intro ---------- */
.intro {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 7rem) clamp(1.2rem, 4vw, 2rem);
}
/* copy on the left, the film sitting beside it on the right */
.intro__grid { display: grid; grid-template-columns: 0.88fr 1.12fr; gap: clamp(1.8rem, 4vw, 3.2rem); align-items: center; }
.intro .section-title { max-width: 18ch; }
.intro__body { font-size: 1.12rem; color: var(--ink-soft); margin-top: 1.2rem; }

/* ---------- Services ---------- */
.services {
  background: linear-gradient(180deg, #edf0f3 0%, #e6ebef 100%);
  border-top: 1px solid var(--line);
  padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(4rem, 9vw, 7rem);
}
.services .cards { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(1.2rem, 4vw, 2rem); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.3rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { font-family: var(--serif); font-weight: 500; font-size: 1.45rem; margin-bottom: 0.6rem; }
.card p { color: var(--ink-soft); margin-bottom: 1.1rem; }
.card .ph::before { opacity: 0.55; }

/* ---------- Teams ---------- */
.team {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(1.2rem, 4vw, 2rem) clamp(4rem, 9vw, 7rem);
}
.team__copy { max-width: 62ch; margin-bottom: 2.2rem; }
.team__body { color: var(--ink-soft); font-size: 1.12rem; margin: 1rem 0 1.6rem; }

/* the client quote inside the teams section — the reset zeroes blockquote
   margins, so it needs its own breathing room on both sides */
.team__quote {
  margin: 2.4rem 0 0;
  padding-left: 1.4rem;
  border-left: 3px solid var(--accent);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.5;
  color: var(--ink);
  max-width: 58ch;
}
.team__quote cite {
  display: block;
  margin-top: 0.9rem;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
}
.team__cta { margin-top: 2.6rem; }
.team__photo { display: block; }

/* ---------- Branding ---------- */
.branding {
  background: linear-gradient(165deg, #e9f0f6 0%, #dee8f1 100%);
  border-top: 1px solid var(--mist-line);
  border-bottom: 1px solid var(--mist-line);
  padding: clamp(3.5rem, 7vw, 5rem) 0 clamp(4rem, 9vw, 7rem);
}
.branding__copy,
/* published examples - the photographs out in the world, not portfolio frames.
   matched on HEIGHT so mixed aspect ratios sit together and each stays retina-sharp */
.inuse { margin-top: clamp(2.4rem, 5vw, 3.4rem); }
.inuse__label {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent-d); margin-bottom: 1rem;
}
.inuse__row { display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: flex-start; }
.inuse figure { margin: 0; }
.inuse img {
  display: block; height: clamp(165px, 17vw, 210px); width: auto; max-width: 100%;
  border-radius: var(--r);
  border: 1px solid var(--mist-line);
  box-shadow: var(--shadow);
}
.inuse figcaption {
  margin-top: 0.7rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.branding__media { max-width: var(--wrap); margin-left: auto; margin-right: auto; padding: 0 clamp(1.2rem, 4vw, 2rem); }
.branding__copy h2 { max-width: 22ch; }
.branding__body { max-width: 60ch; }
.branding__media .ph { border-color: var(--mist-line); }
.branding__copy { margin-bottom: 2.2rem; }
.branding__body { color: var(--ink-soft); font-size: 1.12rem; margin: 1rem 0 1.6rem; }
.branding__media {
  columns: 2;
  column-gap: 1rem;
}
.branding__media .ph {
  break-inside: avoid;
  margin-bottom: 1rem;
}

/* ---------- Gallery ---------- */
.gallery {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(4rem, 9vw, 7rem) 0;
}
.gallery .section-head { margin-bottom: 2.5rem; }
.gallery__grid {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(1.2rem, 4vw, 2rem);
  columns: 3;
  column-gap: 1rem;
}
.gallery__grid .ph {
  break-inside: avoid;
  margin-bottom: 1rem;
}

/* ---------- Process ---------- */
.process {
  background: radial-gradient(80rem 44rem at 50% 0%, #2e3a44 0%, #202931 68%);
  color: var(--paper);
  padding: clamp(4rem, 9vw, 7rem) 0;
}
.process .section-head { color: var(--paper); }
.process .eyebrow { color: var(--accent); }
.steps {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(1.2rem, 4vw, 2rem);
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.step { border-top: 2px solid rgba(244,244,245,0.2); padding-top: 1.3rem; }
.step__num { font-family: var(--serif); font-size: 2.4rem; color: var(--accent); display: block; margin-bottom: 0.6rem; }
.step h3 { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; margin-bottom: 0.5rem; }
.step p { color: rgba(244,244,245,0.72); }

/* ---------- Reviews ---------- */
.reviews {
  padding: clamp(4rem, 9vw, 7rem) clamp(1.2rem, 4vw, 2rem);
  background: radial-gradient(52rem 26rem at 50% 32%, rgba(255,255,255,0.85), rgba(255,255,255,0) 70%);
}
.reviews__inner { max-width: 780px; margin: 0 auto; text-align: center; }
.reviews blockquote {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 3.2vw, 2.3rem);
  line-height: 1.28;
  letter-spacing: -0.01em;
  margin: 1.2rem 0 1.4rem;
}
.reviews cite { font-style: normal; font-weight: 700; font-size: 1.05rem; }
.reviews__meta { margin-top: 0.5rem; color: var(--ink-soft); }

/* ---------- Film ---------- */
.film__frame { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(1.2rem, 4vw, 2rem); }
/* the video is a column of .intro__grid, which already applies the wrap + side padding */
.intro .film__frame { max-width: none; padding: 0; margin: 0; }
/* the preview bundle swaps the video for its poster image - both must size identically */
.film__frame video,
.film__frame img {
  width: 100%; height: auto; display: block;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: #000;
  box-shadow: var(--shadow);
}

/* ---------- Reviews feature (large portrait + text beside) ---------- */
.feature {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: var(--ink);
  color: var(--paper);
  min-height: clamp(420px, 62vh, 640px);
}
.feature__media { position: relative; overflow: hidden; }
.feature__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 40% 28%;
  display: block;
}
/* the portrait's own darkness dissolves into the slate text field */
.feature__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 55%, rgba(38,48,56,0.55) 82%, var(--ink) 100%);
}
.feature__copy {
  display: grid;
  align-content: center;
  gap: 1.1rem;
  padding: clamp(2.5rem, 6vw, 5rem);
}
.feature__copy .stars { color: #a8c6de; font-size: 1.5rem; }
.feature__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  line-height: 1.12;
}
.feature__meta { font-size: 0.9rem; color: rgba(244, 244, 245, 0.65); }

/* ---------- Pricing ---------- */
.pricing { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(1.2rem, 4vw, 2rem) clamp(4rem, 9vw, 7rem); }
.pricing__card {
  background: linear-gradient(150deg, #eef1f5 0%, #e4eaf0 100%);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(2rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2rem;
  align-items: center;
}
.pricing__body { color: var(--ink-soft); font-size: 1.1rem; margin-top: 1rem; max-width: 46ch; }
.pricing__cta { display: flex; flex-direction: column; gap: 0.8rem; }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(160deg, #3e6181 0%, #2f4a60 100%); color: var(--white); }
.cta__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 7rem) clamp(1.2rem, 4vw, 2rem);
  text-align: center;
}
.cta__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 4.4vw, 3.2rem);
  line-height: 1.1;
  max-width: 20ch;
  margin: 0 auto 1rem;
}
.cta__lede { font-size: 1.15rem; opacity: 0.9; margin-bottom: 2rem; }
.cta__details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 760px;
  margin: 3.5rem auto 0;
  text-align: left;
  border-top: 1px solid rgba(255,255,255,0.25);
  padding-top: 2rem;
}
.cta__details h4 { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.6rem; opacity: 0.75; }
.cta__details p { opacity: 0.95; }
.cta__details a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.foot { background: linear-gradient(180deg, #263038 0%, #1d252c 100%); color: var(--paper); padding: clamp(3rem, 6vw, 4.5rem) clamp(1.2rem, 4vw, 2rem); }
.foot__inner { max-width: var(--wrap); margin: 0 auto; text-align: center; display: grid; gap: 1.2rem; justify-items: center; }
.foot__logo { height: 58px; width: auto; opacity: 0.95; }
.foot__tag { color: rgba(244,244,245,0.7); max-width: 42ch; }
.foot__links { display: flex; flex-wrap: wrap; gap: 1.4rem; justify-content: center; }
.foot__links a { color: rgba(244,244,245,0.8); font-weight: 600; font-size: 0.92rem; }
.foot__links a:hover { color: var(--accent); }
.foot__copy { color: rgba(244,244,245,0.45); font-size: 0.82rem; }

/* ==========================================================
   SUBPAGES
   ========================================================== */
.nav__links a.is-active { color: var(--ink); }
.nav__links a.is-active::after { width: 100%; }

/* ---------- Page hero ---------- */
.pagehero {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.2rem, 4vw, 2rem) clamp(2rem, 5vw, 3rem);
}
.pagehero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.3rem, 5.5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0.9rem 0 1.1rem;
  max-width: 18ch;
}
.pagehero__title em { font-style: italic; color: var(--accent); }
.pagehero__lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-soft); max-width: 56ch; }

/* ---------- Rates ---------- */
.rates { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(1.2rem, 4vw, 2rem) clamp(3rem, 7vw, 5rem); }
.rates__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.rate {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(1.6rem, 3vw, 2.4rem);
}
.rate__label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-d); }
.rate__num { font-family: var(--serif); font-size: clamp(2.8rem, 6vw, 4rem); line-height: 1; margin: 0.6rem 0 0.5rem; }
.rate__note { color: var(--ink-soft); }

/* scope label sitting directly on top of the rate cards */
.scopebar {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.9rem;
  padding: 0.85rem 1.1rem;
  margin-bottom: 1rem;
  background: var(--ink);
  color: var(--paper);
  border-radius: 12px;
}
.scopebar__tag {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--accent);
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
}
.scopebar__text { font-weight: 600; font-size: 0.95rem; color: rgba(244, 244, 245, 0.85); }

/* qualifier under the inclusions */
.ratesnote {
  margin-top: 2rem;
  padding: 1.1rem 1.3rem;
  border-left: 3px solid var(--accent);
  background: var(--paper-2);
  border-radius: 0 12px 12px 0;
  color: var(--ink-soft);
}
.ratesnote strong { color: var(--ink); }

.included {
  list-style: none;
  display: grid;
  gap: 0.9rem;
  margin-top: 2.2rem;
}
.included li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 0.7rem;
  align-items: start;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}
.included li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 900;
  line-height: 1.5;
}
.included strong { color: var(--ink); display: block; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; padding: 0 clamp(1.2rem, 4vw, 2rem) clamp(4rem, 8vw, 6rem); }
.qa { border-top: 1px solid var(--line); padding: 1.6rem 0; }
.qa h3 { font-family: var(--serif); font-weight: 500; font-size: 1.4rem; margin-bottom: 0.5rem; }
.qa p { color: var(--ink-soft); }
.qa p + p { margin-top: 0.7rem; }
/* service list on the location page - semantic <ul> extracts better than <br> runs */
.svc-list { list-style: none; margin-top: 0.4rem; }
.svc-list li { color: var(--ink-soft); padding-left: 1.1rem; position: relative; margin-top: 0.6rem; }
.svc-list li::before { content: ""; position: absolute; left: 0; top: 0.62em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.svc-list strong { color: var(--ink); font-weight: 700; }

/* ---------- About ---------- */
.about {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(1.2rem, 4vw, 2rem) clamp(4rem, 8vw, 6rem);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.8rem, 5vw, 3.5rem);
  align-items: start;
}
.about__body p { color: var(--ink-soft); font-size: 1.08rem; }
.about__body p + p { margin-top: 1.1rem; }
.about__body h3 {
  font-family: var(--serif); font-weight: 500; font-size: 1.5rem;
  margin: 2rem 0 0.7rem; color: var(--ink);
}

/* ---------- Coaching videos (prep page) ---------- */
.videos {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(3rem, 7vw, 5rem) 0;
  margin-bottom: clamp(3rem, 7vw, 5rem);
}
.videos__lede { color: var(--ink-soft); max-width: 56ch; margin-top: 0.8rem; }
.videos__grid {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(1.2rem, 4vw, 2rem);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.2rem, 3vw, 2rem);
}
.video__thumb {
  position: relative;
  display: block;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
  background: var(--paper-2);
}
.video__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.video__thumb:hover img { transform: scale(1.04); }
.video__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.video__play::before {
  content: "";
  position: absolute;
  width: 66px; height: 66px;
  border-radius: 50%;
  background: rgba(38,48,56,0.62);
  border: 2px solid rgba(244,244,245,0.9);
  transition: background 0.25s ease, transform 0.25s ease;
}
.video__thumb:hover .video__play::before { background: var(--accent-d); transform: scale(1.06); }
.video h3 {
  font-family: var(--serif); font-weight: 500; font-size: 1.4rem;
  margin: 1rem 0 0.4rem;
}
.video p { color: var(--ink-soft); }

.cta__sign {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  margin-top: 1.6rem;
  opacity: 0.9;
}

@media (max-width: 700px) {
  .videos__grid { grid-template-columns: 1fr; }
}

/* ---------- Contact ---------- */
.contact-grid {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(1.2rem, 4vw, 2rem) clamp(4rem, 8vw, 6rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.ccard {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.6rem;
}
.ccard h3 { font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-d); margin-bottom: 0.8rem; }
.ccard p, .ccard a { color: var(--ink-soft); }
.ccard p + p { margin-top: 0.55rem; }   /* value and its description need separating */
.ccard a:hover { color: var(--accent-d); }
.ccard .big { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); display: block; margin-bottom: 0.3rem; }

/* social icon row — brand glyphs as click-throughs */
.social {
  list-style: none;
  display: flex;
  gap: 0.7rem;
  margin: 0 0 1rem;
  padding: 0;
}
.social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-soft);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.social a:hover,
.social a:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
}
.social svg { width: 20px; height: 20px; fill: currentColor; display: block; }
@media (prefers-reduced-motion: reduce) { .social a:hover { transform: none; } }

/* footer sits on dark ink, so the icons invert */
.social--light a {
  background: transparent;
  border-color: rgba(244, 244, 245, 0.28);
  color: rgba(244, 244, 245, 0.85);
}
.social--light a:hover,
.social--light a:focus-visible {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

/* ==========================================================
   LIGHTBOX
   ========================================================== */
.gallery__grid .ph { cursor: zoom-in; }
.gallery__grid .ph img { transition: transform 0.4s ease; }
.gallery__grid .ph:hover img { transform: scale(1.03); }

.lb {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  background: rgba(23, 29, 34, 0.94);
  padding: clamp(1rem, 4vw, 3rem);
}
.lb.is-open { display: grid; }
.lb__fig {
  margin: 0;
  max-width: min(1200px, 100%);
  max-height: 100%;
  display: grid;
  gap: 0.9rem;
  justify-items: center;
}
.lb__img {
  max-width: 100%;
  max-height: calc(100vh - 9rem);
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.lb__img.is-ready { opacity: 1; }
.lb__cap {
  color: rgba(244, 244, 245, 0.72);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.lb__btn {
  position: absolute;
  background: rgba(244, 244, 245, 0.1);
  border: 1px solid rgba(244, 244, 245, 0.25);
  color: var(--paper);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.lb__btn:hover { background: rgba(244, 244, 245, 0.22); border-color: var(--accent); }
.lb__close { top: clamp(0.8rem, 3vw, 1.6rem); right: clamp(0.8rem, 3vw, 1.6rem); }
.lb__prev { left: clamp(0.5rem, 2vw, 1.4rem); top: 50%; transform: translateY(-50%); }
.lb__next { right: clamp(0.5rem, 2vw, 1.4rem); top: 50%; transform: translateY(-50%); }

/* spinner while the full-size file downloads */
.lb__load {
  position: absolute;
  width: 34px; height: 34px;
  border: 3px solid rgba(244, 244, 245, 0.25);
  border-top-color: var(--paper);
  border-radius: 50%;
  animation: lbspin 0.8s linear infinite;
  display: none;
}
.lb.is-loading .lb__load { display: block; }
@keyframes lbspin { to { transform: rotate(360deg); } }

body.lb-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .gallery__grid .ph img,
  .lb__img { transition: none; }
  .lb__load { animation: none; }
}

@media (max-width: 700px) {
  .lb__prev { left: 0.4rem; }
  .lb__next { right: 0.4rem; }
  .lb__img { max-height: calc(100vh - 11rem); }
}

/* tight masonries: shadows off — depth cues belong to isolated images only */
.gallery__grid .ph,
.branding__media .ph { box-shadow: none; }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav__links, .nav__actions { display: none; }
  .nav__toggle { display: flex; }
  .hero { grid-template-columns: 1fr; }
  .hero__media { max-width: 460px; }
  .cards { grid-template-columns: 1fr; }
  .intro__grid { grid-template-columns: 1fr; }
  .intro .section-title { max-width: none; }
  .gallery__grid { columns: 2; }
  .inuse__row { display: grid; grid-template-columns: 1fr; }
  .inuse img { height: auto; width: 100%; }
  .feature { grid-template-columns: 1fr; min-height: 0; }
  .feature__media { height: min(72vw, 420px); }
  .feature__media::after { background: linear-gradient(180deg, transparent 55%, rgba(38,48,56,0.55) 84%, var(--ink) 100%); }

  .branding__media { columns: 1; }
  .rates__grid { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .pricing__card { grid-template-columns: 1fr; }
  .cta__details { grid-template-columns: 1fr; text-align: center; }
}
