/* ============================================================
   wemark studio — interior pages
   Builds on styles.css. Shared page header + templated
   discipline / feature / principle / form systems.
   ============================================================ */

/* ---------- Page header (compact walnut band) ---------- */
.page-hero {
  background: var(--cream);
  color: var(--walnut);
  min-height: clamp(620px, 70vh, 760px);
  margin-top: 100px;
  display: flex; align-items: flex-start;
  padding-top: clamp(72px, 11vh, 128px);
  padding-bottom: clamp(56px, 8vh, 96px);
  position: relative;
  overflow: hidden;
}
/* Standardize the title's vertical start across every inner page:
   content is top-aligned and the pre-title element (eyebrow OR logo
   lockup) sits in an equal-height reserved zone, so the H1 begins at
   the same Y on all inner pages regardless of which marker precedes it. */
.page-hero__inner > .eyebrow:first-child {
  min-height: 78px; display: flex; align-items: flex-end;
  margin-bottom: 1.6rem;
}
.page-hero__inner > .hero-lockup:first-child {
  display: block; height: 78px !important; width: auto;
  margin-bottom: 1.6rem !important;
}
/* full-bleed hero image (user-fillable) + cream fade so the left stays clean for text */
.page-hero__bg { position: absolute; inset: 0; z-index: 0; background: var(--cream); }
.page-hero__bg image-slot { display: block; width: 100%; height: 100%; }
.page-hero__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(95deg, rgba(247,239,221,0.97) 0%, rgba(247,239,221,0.86) 26%, rgba(247,239,221,0.45) 50%, rgba(247,239,221,0.06) 74%, rgba(247,239,221,0) 100%),
    linear-gradient(0deg, rgba(247,239,221,0.5) 0%, rgba(247,239,221,0) 38%);
}
.page-hero > .wrap { width: 100%; position: relative; z-index: 2; pointer-events: none; }
.page-hero__inner { position: relative; z-index: 2; max-width: 56rem; pointer-events: none; }
/* hero text is pass-through so the whole band is a drop target; keep links/buttons clickable */
.page-hero__inner a, .page-hero__inner button { pointer-events: auto; }
.page-hero .eyebrow { color: var(--camel); margin-bottom: 1.5rem; }
.page-hero h1 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(2.3rem, 4.6vw, 4.05rem); line-height: 1.06;
  letter-spacing: -0.014em; color: var(--walnut); text-wrap: balance;
}
.page-hero h1 .accent-word { color: var(--burgundy); }
.page-hero__intro {
  color: var(--cocoa); font-size: clamp(1.05rem, 1.5vw, 1.18rem);
  line-height: 1.65; max-width: 46ch; margin-top: 2.1rem;
  display: grid; gap: 1.1rem;
}
.page-hero__cta { margin-top: 2.4rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.page-hero__cta .btn--solid { background: var(--burgundy); color: var(--cream); }
.page-hero__cta .btn--solid:hover { background: var(--walnut); color: var(--cream); }
.page-hero__note { margin-top: 1.4rem; font-size: 0.85rem; color: var(--camel); }
.page-hero--tall { padding-bottom: clamp(5rem, 11vh, 9rem); }

/* breadcrumb-ish small index above title */
.page-index { font-family: var(--display); font-size: 0.95rem; color: var(--camel); letter-spacing: 0.05em; }

/* ---------- Section intro (shared) ---------- */
.intro-band { background: var(--white); }
.intro-band .wrap { max-width: 60rem; }
.intro-band__body { color: var(--cocoa); font-size: 1.1rem; line-height: 1.7; display: grid; gap: 1.3rem; }
.intro-band__body p:first-child { color: var(--walnut); font-size: 1.18rem; }

/* ============================================================
   SERVICES — templated discipline blocks
   ============================================================ */
.disc-block { padding-block: clamp(4rem, 8.5vh, 7.5rem); }
.disc-block + .disc-block { border-top: 1px solid var(--line); }
.disc-block__grid {
  display: grid; grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(2rem, 5vw, 5.5rem); align-items: start;
}
.disc-block__aside { position: sticky; top: 7.5rem; }
.disc-block__num {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(3.2rem, 6vw, 5rem); line-height: 0.9;
  color: var(--linen); display: block; margin-bottom: 1.1rem;
}
.disc-block__label { margin-bottom: 0.9rem; }
.disc-block__title {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1.02;
  color: var(--walnut); letter-spacing: -0.012em; margin-bottom: 0.5rem;
}
.disc-block__tagline { font-size: 1.05rem; color: var(--burgundy); font-style: italic; font-family: var(--display); }
.disc-block__body { color: var(--cocoa); font-size: 1.06rem; line-height: 1.68; display: grid; gap: 1.2rem; max-width: 46em; }
.disc-block__body p:first-child { color: var(--walnut); }

.svc-list { list-style: none; display: grid; gap: 0; margin-top: 2.2rem; border-top: 1px solid var(--line); }
.svc-item { padding: 1.3rem 0; border-bottom: 1px solid var(--line-soft); display: grid; grid-template-columns: 0.7fr 1.3fr; gap: clamp(1rem, 3vw, 2.5rem); align-items: baseline; }
.svc-item__term { font-weight: 600; color: var(--walnut); font-size: 1.02rem; }
.svc-item__desc { color: var(--cocoa); font-size: 0.98rem; line-height: 1.6; }
.disc-block__close { margin-top: 2rem; font-family: var(--display); font-style: italic; font-size: 1.15rem; color: var(--cocoa); line-height: 1.5; max-width: 40em; }

/* ============================================================
   TECHNOLOGY — feature blocks with UI mockups
   ============================================================ */
.feat { padding-block: clamp(4rem, 8.5vh, 7.5rem); }
.feat + .feat { border-top: 1px solid var(--line); }
.feat__grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.feat--rev .feat__text { order: 2; }
.feat__label { margin-bottom: 1rem; }
.feat__title { font-family: var(--display); font-weight: 500; font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.04; color: var(--walnut); letter-spacing: -0.012em; margin-bottom: 1.3rem; max-width: 16ch; }
.feat__body { color: var(--cocoa); font-size: 1.06rem; line-height: 1.68; display: grid; gap: 1.2rem; max-width: 44em; }
.feat__body p:first-child { color: var(--walnut); }

/* mockup framing on a walnut panel so the cream UI cards pop */
.feat__media {
  background: var(--walnut);
  border-radius: 20px;
  padding: clamp(1.6rem, 3.5vw, 2.8rem);
  position: relative; overflow: hidden;
}
.feat__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(45deg, rgba(247,239,221,0.04) 0 16px, rgba(247,239,221,0) 16px 32px);
}
.feat__media .ui { position: relative; z-index: 1; font-size: 0.86rem; }
.feat__media .ui + .ui { margin-top: 1rem; }

/* real product screenshots on the walnut mat (cream shots pop) */
.feat__media--shot { padding: clamp(1.3rem, 3vw, 2.4rem); }
.shot {
  position: relative; z-index: 2; border-radius: 12px; overflow: hidden;
  background: #fff; border: 1px solid rgba(247,239,221,0.16);
  box-shadow: 0 24px 50px -26px rgba(0,0,0,0.55), 0 8px 18px -12px rgba(0,0,0,0.42);
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1), box-shadow .4s ease;
}
.shot img { display: block; width: 100%; height: auto; }
.shot--float {
  position: absolute; z-index: 3; width: 50%; right: 5%; bottom: 6%;
  border-radius: 11px; box-shadow: 0 32px 60px -22px rgba(0,0,0,0.62);
}
.feat--rev .shot--float { right: auto; left: 5%; }
.shot--portrait { aspect-ratio: 4 / 5; }
.shot--portrait img { height: 100%; object-fit: cover; object-position: top center; }
.feat__media--shot:hover .shot { box-shadow: 0 30px 62px -22px rgba(0,0,0,0.62), 0 10px 22px -12px rgba(0,0,0,0.48); }
@media (prefers-reduced-motion: no-preference) {
  .reveal .shot { opacity: 0; transform: translateY(24px) scale(.985); }
  .reveal.in .shot { opacity: 1; transform: none; }
  .reveal .shot--float { transform: translateY(40px) scale(.94); }
  .reveal.in .shot--float { transform: none; transition-delay: .18s; }
}

/* supporting points under a feature */
.feat__points { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: .75rem; max-width: 40em; }
.feat__points li { position: relative; padding-left: 1.5rem; color: var(--cocoa); font-size: 1rem; line-height: 1.5; }
.feat__points li::before { content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; border-radius: 50%; background: var(--burgundy); }

/* feature subhead (the one-line promise above the body) */
.feat__sub { font-family: var(--display); font-weight: 500; font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.28; color: var(--walnut); letter-spacing: -0.01em; margin-bottom: 1.1rem; max-width: 26ch; text-wrap: balance; }
/* feature closing line (the payoff after the points) */
.feat__close { margin-top: 1.5rem; font-size: 1.06rem; line-height: 1.6; color: var(--walnut); font-weight: 500; max-width: 40em; }

/* proof-point placeholder — user drops a real stat in later */
.proof-ph { margin-top: 1.5rem; display: flex; align-items: flex-start; gap: .7rem; border: 1px dashed var(--line); border-radius: 12px; padding: .85rem 1.1rem; max-width: 34em; background: rgba(151,118,88,0.05); }
.proof-ph__tag { flex: none; font-family: var(--sans); font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--burgundy); border: 1px solid var(--line); border-radius: 100px; padding: .32rem .6rem; margin-top: .1rem; }
.proof-ph__txt { font-size: .95rem; line-height: 1.5; color: var(--camel); font-style: italic; }

/* coming-soon badge on a feature label */
.soon-badge { display: inline-block; margin-left: .55rem; vertical-align: middle; font-family: var(--sans); font-size: .58rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--camel); background: rgba(151,118,88,.14); border-radius: 4px; padding: .24rem .5rem; }

/* module chip row on the pulse intro */
.pulse-modules { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.8rem 0; }
.pulse-modules span { font-family: var(--display); font-weight: 500; font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: var(--walnut); border: 1px solid var(--line); border-radius: 100px; padding: .5rem 1.2rem; }
.pulse-modules span.is-soon { color: var(--camel); border-style: dashed; }

/* dashboard scorecard */
.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; margin-bottom: 1rem; }
.dash-kpi { background: var(--white); border: 1px solid var(--line-soft); border-radius: 8px; padding: .6rem .7rem; }
.dash-kpi .v { display: block; font-family: var(--display); font-weight: 600; font-size: 1.3rem; color: var(--walnut); line-height: 1; }
.dash-kpi .l { display: block; font-size: .62rem; color: var(--camel); text-transform: uppercase; letter-spacing: .07em; margin-top: .35rem; }

/* calendar mockup */
.cal-row { display: grid; grid-template-columns: 2.6rem 1fr auto; align-items: center; gap: .6rem; padding: .5rem .6rem; border-radius: 7px; background: var(--white); border: 1px solid var(--line-soft); margin-bottom: .4rem; font-size: .8rem; }
.cal-time { font-family: var(--display); font-weight: 600; color: var(--cocoa); }
.cal-appt { color: var(--walnut); }
.cal-src { font-size: .6rem; font-weight: 600; letter-spacing: .03em; padding: .15rem .45rem; border-radius: 5px; background: rgba(124,45,42,0.12); color: var(--burgundy); white-space: nowrap; }
.cal-row--open { background: transparent; border-style: dashed; }
.cal-row--open .cal-appt { color: var(--camel); font-style: italic; }
.cal-note { font-size: .66rem; color: var(--camel); text-align: center; margin-top: .6rem; letter-spacing: .03em; }

/* track ROI summary */
.roi-line { display: flex; justify-content: space-between; align-items: baseline; margin-top: .85rem; padding-top: .7rem; border-top: 1px solid var(--line-soft); }
.roi-line .lab { font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; color: var(--camel); }
.roi-line .val { font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: var(--burgundy); }

/* transcription mockup */
.trx-row { display: flex; gap: .55rem; padding: .5rem .2rem; font-size: .8rem; line-height: 1.45; }
.trx-row .who { font-weight: 600; color: var(--cocoa); min-width: 3.6rem; }
.trx-row .said { color: var(--walnut); }
.trx-chips { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: .7rem; }
.trx-chip { font-size: .62rem; font-weight: 600; letter-spacing: .03em; padding: .2rem .5rem; border-radius: 5px; background: rgba(124,45,42,0.12); color: var(--burgundy); }
.trx-score { display: flex; align-items: center; justify-content: space-between; margin-top: .8rem; padding-top: .7rem; border-top: 1px solid var(--line-soft); }
.trx-score .lab { font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; color: var(--camel); }
.trx-score .val { font-family: var(--display); font-weight: 600; font-size: 1.2rem; color: var(--burgundy); }

/* source / map mockup */
.map-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin: .3rem 0 .8rem; }
.map-grid span { aspect-ratio: 1; border-radius: 3px; background: var(--linen-soft); }
.map-grid span.l1 { background: rgba(124,45,42,0.22); }
.map-grid span.l2 { background: rgba(124,45,42,0.45); }
.map-grid span.l3 { background: var(--burgundy); }
.src-row { display: flex; align-items: center; gap: .5rem; font-size: .76rem; padding: .35rem 0; }
.src-row .nm { color: var(--cocoa); }
.src-row .track { width: 100%; height: 5px; border-radius: 3px; background: var(--linen-soft); position: relative; flex: 1; }
.src-row .track i { position: absolute; inset: 0 auto 0 0; background: var(--burgundy); border-radius: 3px; }
.src-row .pct { color: var(--walnut); font-weight: 600; min-width: 2.4rem; text-align: right; }

/* ============================================================
   HOW IT WORKS — phase blocks + callout
   ============================================================ */
.phase-block { padding-block: clamp(4rem, 8vh, 7rem); }
.phase-block + .phase-block { border-top: 1px solid var(--line); }
.phase-block__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.phase-block__tag { display: inline-flex; align-items: center; gap: .6rem; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--burgundy); margin-bottom: 1rem; }
.phase-block__tag .n { font-family: var(--display); font-size: 1rem; }
.phase-block__num { font-family: var(--display); font-weight: 500; font-size: clamp(3.5rem, 7vw, 6rem); line-height: 0.85; color: var(--linen); }
.phase-block__title { font-family: var(--display); font-weight: 500; font-size: clamp(2.1rem, 3.8vw, 3.2rem); line-height: 1.02; color: var(--walnut); letter-spacing: -0.014em; margin-bottom: 1.3rem; }
.phase-block__body { color: var(--cocoa); font-size: 1.08rem; line-height: 1.7; display: grid; gap: 1.2rem; max-width: 46em; }
.phase-block__body p:first-child { color: var(--walnut); }
.phase-block__chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.8rem; }
.chip { font-size: 0.82rem; color: var(--cocoa); border: 1px solid var(--line); border-radius: 100px; padding: .45rem 1rem; }

/* callout / aside note */
.callout { background: var(--cream); border-left: 3px solid var(--burgundy); border-radius: 0 14px 14px 0; padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1.8rem, 3.5vw, 2.8rem); max-width: 60rem; }
.callout__k { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--burgundy); margin-bottom: 0.8rem; }
.callout p { color: var(--cocoa); font-size: 1.05rem; line-height: 1.65; }
.callout p strong { color: var(--walnut); font-weight: 600; }

/* ============================================================
   ABOUT — premise, principles, pull quote
   ============================================================ */
.statement { background: var(--white); }
.statement h2 { font-family: var(--display); font-weight: 500; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.06; color: var(--walnut); letter-spacing: -0.012em; text-wrap: balance; }
.statement__body { color: var(--cocoa); font-size: 1.08rem; line-height: 1.7; display: grid; gap: 1.3rem; margin-top: 1.8rem; max-width: 48em; }
.statement__body p:first-child { color: var(--walnut); }

.principles { display: grid; gap: 0; margin-top: 1rem; border-top: 1px solid var(--line); }
.principle { display: grid; grid-template-columns: 4rem 1fr; gap: clamp(1.2rem, 3vw, 3rem); padding: 1.8rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.principle__num { font-family: var(--display); font-size: 1.3rem; color: var(--camel); }
.principle__text { font-size: 1.12rem; line-height: 1.6; color: var(--cocoa); max-width: 52em; }
.principle__text strong { color: var(--walnut); font-weight: 600; }

.pull { background: var(--cream); color: var(--walnut); text-align: center; padding-block: clamp(5rem, 11vh, 9rem); }
.pull__q { font-family: var(--display); font-weight: 500; font-style: italic; font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1.15; color: var(--walnut); max-width: 22ch; margin: 0 auto; letter-spacing: -0.01em; text-wrap: balance; }
.pull__body { color: var(--cocoa); font-size: 1.08rem; line-height: 1.68; max-width: 48ch; margin: 2.2rem auto 0; }
.pull .btn--solid { background: var(--burgundy); color: var(--cream); }
.pull .btn--solid:hover { background: var(--walnut); color: var(--cream); }

/* team placeholder */
.team__placeholder {
  margin-top: 2.5rem; border: 1px dashed var(--line); border-radius: 16px;
  padding: clamp(1.8rem, 4vw, 3rem); background: var(--cream); display: grid; gap: 1.4rem;
}
.team__row { display: flex; gap: 1.3rem; align-items: center; }
.team__avatar { width: 84px; height: 84px; border-radius: 50%; flex: none; background-color: var(--linen); background-image: repeating-linear-gradient(45deg, rgba(47,27,17,0.06) 0 8px, rgba(47,27,17,0) 8px 16px); border: 1px solid var(--line-soft); }
.team__note { font-size: 0.92rem; color: var(--camel); line-height: 1.55; }
.team__note b { color: var(--cocoa); font-weight: 600; }

/* ============================================================
   CONTACT — audit cards + form
   ============================================================ */
.audit-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.audit-card { border: 1px solid var(--line); border-radius: 16px; padding: clamp(1.6rem, 3vw, 2.2rem); background: var(--white); }
.audit-card__n { font-family: var(--display); font-size: 1.1rem; color: var(--camel); margin-bottom: .8rem; }
.audit-card__t { font-family: var(--display); font-weight: 500; font-size: 1.5rem; color: var(--walnut); margin-bottom: .6rem; letter-spacing: -0.01em; }
.audit-card__d { color: var(--cocoa); font-size: 0.99rem; line-height: 1.6; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.minor h2 { font-family: var(--display); font-weight: 500; font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: var(--walnut); margin-bottom: 1rem; letter-spacing: -0.01em; }
.minor p { color: var(--cocoa); font-size: 1.04rem; line-height: 1.68; }

/* form */
.form-section { background: var(--cream); }
.form-shell { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.form-shell__lead h2 { font-family: var(--display); font-weight: 500; font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.1; color: var(--walnut); letter-spacing: -0.012em; text-wrap: balance; }
.form-shell__lead .muted { color: var(--cocoa); font-size: 1.04rem; line-height: 1.65; margin-top: 1.4rem; max-width: 38ch; }
.form-shell__meta { margin-top: 2rem; display: grid; gap: 1rem; }
.form-meta-item { display: flex; gap: .8rem; align-items: flex-start; font-size: 0.95rem; color: var(--cocoa); }
.form-meta-item .ic { color: var(--burgundy); font-family: var(--display); font-weight: 600; }
.lead-photo { margin-top: 2.2rem; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--linen-soft); border: 1px solid var(--line); }
.lead-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; display: block; }

.form { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.8rem, 3.5vw, 2.6rem); }
.field { display: grid; gap: .5rem; margin-bottom: 1.2rem; }
.field--row { grid-template-columns: 1fr 1fr; gap: 1.2rem; display: grid; margin-bottom: 0; }
.field label { font-size: 0.82rem; font-weight: 500; letter-spacing: 0.04em; color: var(--cocoa); }
.field label .opt { color: var(--camel); font-weight: 400; letter-spacing: 0; }
.field input, .field textarea {
  font-family: var(--sans); font-size: 1rem; color: var(--walnut);
  background: var(--cream); border: 1px solid var(--line); border-radius: 10px;
  padding: 0.85rem 1rem; width: 100%; transition: border-color .2s, background .2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--camel); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--burgundy); background: var(--white); }
.field textarea { resize: vertical; min-height: 110px; }
.form .btn--solid { width: 100%; margin-top: .6rem; }
.form__note { margin-top: 1rem; font-size: 0.82rem; color: var(--camel); text-align: center; }

.audit-choice { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.audit-opt { display: flex; align-items: center; gap: .6rem; padding: .85rem 1rem; background: var(--cream); border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font-size: .92rem; color: var(--cocoa); transition: border-color .2s, background .2s, color .2s; }
.audit-opt input { accent-color: var(--burgundy); width: 16px; height: 16px; flex: none; margin: 0; }
.audit-opt:hover { border-color: var(--camel); }
.audit-opt:has(input:checked) { border-color: var(--burgundy); background: var(--white); color: var(--walnut); }

/* nav active state */
.nav__links a[aria-current="page"] { color: var(--walnut); opacity: 1; position: relative; }
.nav__links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px;
  background: var(--burgundy);
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .feat__grid, .phase-block__grid, .form-shell { grid-template-columns: 1fr; }
  .disc-block__aside { position: static; }
  .feat--rev .feat__text { order: 0; }
  .feat--rev .feat__media { order: -1; }
  /* layered product shots stack instead of overlapping on small screens */
  .shot--float { position: static; width: 74%; margin: 1.1rem 0 0 auto; }
  .feat--rev .shot--float { margin: 1.1rem auto 0 0; }
  .shot--portrait { aspect-ratio: auto; }
  .shot--portrait img { height: auto; }
}
/* tablet (701-900px): hold these two-up instead of collapsing to a stretched single column */
@media (max-width: 700px) {
  .disc-block__grid, .two-col { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .field--row { grid-template-columns: 1fr; }
  .principle { grid-template-columns: 1fr; gap: .4rem; }
  .audit-choice { grid-template-columns: 1fr; }
  .audit-cards { grid-template-columns: 1fr; }
  .svc-item { grid-template-columns: 1fr; gap: .35rem; }
}

/* ============================================================
   Studio closing CTA — span to the page margins (override the
   shared centered treatment from styles.css on inner pages).
   Scoped to :not(.has-split) so the image+text closing variant
   on pulse / how-it-works keeps its own .close-cta__grid layout.
   ============================================================ */
.close-cta:not(.has-split) { text-align: left; }
.close-cta:not(.has-split) .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  column-gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.close-cta:not(.has-split) .eyebrow { grid-column: 1; grid-row: 1; margin-bottom: 1.4rem; }
.close-cta:not(.has-split) h2 {
  grid-column: 1; grid-row: 2;
  max-width: 14ch; margin: 0;
}
.close-cta:not(.has-split) .close-cta__body {
  grid-column: 2; grid-row: 2;
  max-width: 48ch; margin: 0 0 2rem;
}
.close-cta:not(.has-split) .btn { grid-column: 2; grid-row: 3; justify-self: start; align-self: start; }
.close-cta:not(.has-split) .close-cta__note { grid-column: 2; grid-row: 4; margin: 1.1rem 0 0; }

@media (max-width: 760px) {
  .close-cta:not(.has-split) .wrap { grid-template-columns: 1fr; row-gap: 1.6rem; }
  .close-cta:not(.has-split) h2 { grid-column: 1; grid-row: auto; max-width: 18ch; }
  .close-cta:not(.has-split) .eyebrow,
  .close-cta:not(.has-split) .close-cta__body,
  .close-cta:not(.has-split) .btn,
  .close-cta:not(.has-split) .close-cta__note { grid-column: 1; grid-row: auto; }
}

/* ---------- Mobile/tablet hero legibility ----------
   Below the desktop breakpoint the hero photo sits full-width under the text,
   so the art-directed left-fade no longer covers the headline. Add a cream veil
   for dark-text heroes (default + --ink) so the copy stays legible over any
   photo. Desktop (>=980px) keeps the clean, veil-free look. Haloed heroes use
   light text on a dark image and are excluded. */
@media (max-width: 979px) {
  .page-hero:not(.page-hero--haloed)::after {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(180deg,
      rgba(247,239,221,0.88) 0%,
      rgba(247,239,221,0.68) 38%,
      rgba(247,239,221,0.34) 100%);
  }
}
