/* ==========================================================
   MarkUp round 3 (Nov 12) — comments #22–35
   ========================================================== */

/* #32 Hero: single team cut-out (client-supplied) overlapping the headline */
.hx__lineup { min-height: clamp(280px, 46vh, 520px); margin-top: calc(-1 * clamp(60px, 7.4vw, 128px)); }
.hx__lineup::after { display: none; }
.hx__team { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; object-position: center bottom; opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease) .5s, transform 1.3s var(--ease) .5s; }
.hx.is-ready .hx__team { opacity: 1; transform: none; }

/* #26 / #30 "We support you every step of the way" — K13-style scroll reveal, fixed awards */
.sup { background: var(--k); color: #fff; }
.sup__scroll { height: 260vh; }
.sup__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; overflow: hidden; }
.sup__inner { width: 100%; max-width: 1500px; padding: 76px var(--px) 0; text-align: center; }
.sup__awards { display: flex; justify-content: center; align-items: center; gap: clamp(20px, 3vw, 48px); margin-bottom: clamp(28px, 5vh, 56px); }
.sup__awards img { height: clamp(104px, 15vh, 168px); width: auto; filter: drop-shadow(0 18px 30px rgba(0,0,0,.5)); }
.sup__awards .sup__wide img { height: auto; width: clamp(220px, 23vw, 340px); background: #fff; padding: 10px 14px; }
.sup__title { font-family: var(--font); font-weight: 700; letter-spacing: -.025em; font-size: clamp(34px, 4.9vw, 88px); line-height: 1.08; }
.sup__title span { display: inline-block; opacity: calc(.1 + var(--w, 0) * .9); transform: translate3d(calc((1 - var(--w, 0)) * 70px), 0, 0); filter: blur(calc((1 - var(--w, 0)) * 6px)); will-change: transform, opacity; }
.sup__title .hl { color: var(--y); }
.sup__rule { display: block; width: 72px; height: 6px; border-radius: 3px; background: var(--y); margin: clamp(22px, 4vh, 40px) auto; transform: scaleX(0); transition: transform .7s var(--ease); }
.sup__foot { display: flex; justify-content: center; align-items: center; gap: 32px; text-align: left; opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease) .1s, transform .7s var(--ease) .1s; }
.sup__foot b { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(20px, 1.9vw, 28px); line-height: 1.1; padding-right: 32px; border-right: 2px solid rgba(255,255,255,.45); }
.sup__foot p { max-width: 600px; font-size: clamp(16px, 1.4vw, 21px); line-height: 1.45; color: rgba(255,255,255,.86); }
.sup.is-done .sup__rule { transform: none; }
.sup.is-done .sup__foot { opacity: 1; transform: none; }

/* #29 Founder: the moving awards now live here */
.founder__marquee { margin-top: 34px; padding-top: 28px; border-top: 1px solid rgba(11,11,10,.1); -webkit-mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.founder__marquee .awards__row { gap: 16px; padding-right: 16px; }
.founder__marquee .awards__row li { width: 112px; height: 112px; padding: 12px; background: #fff; border: 1px solid rgba(11,11,10,.08); }
.founder__marquee .awards__row li.awards__wide { width: 220px; }

/* #31 statement removed — tighten the steps section top */
.about { padding-top: clamp(70px, 8vw, 110px); }

/* #28 Values: accordion + video (accordionmedia reference) */
.values.values--acc { padding: clamp(70px, 8vw, 120px) var(--px); background: #efede6; }
.vac { display: grid; grid-template-columns: .92fr 1.08fr; max-width: var(--wrap); margin: 0 auto; min-height: 640px; box-shadow: 0 30px 60px rgba(11,11,10,.08); }
.vac__panel { background: #fff; padding: clamp(30px, 4vw, 64px); display: flex; flex-direction: column; }
.vac__panel .title-lg { color: var(--k); }
.vac__intro { margin: 14px 0 30px; color: rgba(11,11,10,.66); max-width: 460px; }
.vac__list { border-top: 1px solid rgba(11,11,10,.12); margin-top: auto; }
.vac__item { position: relative; border-bottom: 1px solid rgba(11,11,10,.12); }
.vac__q { width: 100%; display: flex; align-items: center; gap: 16px; padding: 18px 0; text-align: left; font-family: var(--font-display); font-size: clamp(19px, 1.6vw, 23px); font-weight: 600; color: var(--k); }
.vac__ico { width: 46px; height: 46px; flex: none; display: grid; place-items: center; background: #f1efe8; transition: background-color .4s; }
.vac__ico svg { width: 22px; height: 22px; }
.vac__item.is-open .vac__ico { background: var(--y); }
.vac__q i { position: relative; margin-left: auto; width: 14px; height: 14px; flex: none; }
.vac__q i::before, .vac__q i::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; background: currentColor; transition: transform .35s var(--ease); }
.vac__q i::after { transform: rotate(90deg); }
.vac__item.is-open .vac__q i::after { transform: rotate(0); }
.vac__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.vac__item.is-open .vac__a { grid-template-rows: 1fr; }
.vac__a > div { overflow: hidden; }
.vac__a p { padding: 0 0 20px 62px; color: rgba(11,11,10,.7); line-height: 1.5; }
.vac__bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.vac__bar b { display: block; height: 100%; background: var(--y); transform-origin: left; transform: scaleX(0); }
.vac__item.is-open .vac__bar b { transform: scaleX(var(--p, 0)); }
.vac__media { position: relative; margin: 0; overflow: hidden; background: #000; min-height: 520px; }
.vac__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vac__media .values__sound { right: 22px; bottom: 22px; width: 52px; height: 52px; }

/* #35 Lawyers: 8-up grid with dark name bar */
.crew__head { grid-template-columns: auto 1fr auto; align-items: end; gap: 24px 56px; }
.crew__intro { display: contents; }
.crew__intro .text-md { margin: 0; max-width: 520px; align-self: end; }
.crew__intro .btn { align-self: end; }
.crew__grid { grid-template-columns: repeat(8, 1fr); gap: 10px; }
.lw a { display: flex; flex-direction: column; height: 100%; background: var(--k); color: #fff; }
.lw__img { aspect-ratio: 4 / 4.6; border: 0; background: #fff; }
.lw__img img { object-fit: cover; object-position: center top; }
.lw b { margin: 0; padding: 14px 14px 0; font-size: clamp(14px, 1.15vw, 18px); line-height: 1.1; color: #fff; }
.lw b::after { content: ""; display: block; width: 22px; height: 3px; background: var(--y); margin: 9px 0 7px; }
.lw b + span { padding: 0 14px 14px; color: rgba(255,255,255,.72); font-size: 13px; margin: 0; }

/* #22 Reviews: stacked deck — finished review goes to the back */
.rv__stage--deck { background: transparent; box-shadow: none; padding: 0 44px 44px 0; min-height: 0; display: block; color: #fff; --pad: clamp(28px, 4vw, 60px); }
.rv__stage--deck .rv__quotes { display: grid; margin: 0; }
.rv__stage--deck .rv__q { grid-area: 1 / 1; min-height: 440px; padding: calc(var(--pad) + 84px) var(--pad) calc(var(--pad) + 76px); background: var(--k); opacity: 1; pointer-events: none; transform-origin: 0 0; box-shadow: 0 24px 50px rgba(0,0,0,.28); transition: transform .65s var(--ease), opacity .55s var(--ease), background-color .5s; }
.rv__stage--deck .rv__q > * { transition: opacity .35s; }
.rv__stage--deck .rv__q:not([data-pos="0"]) > * { opacity: 0; }
.rv__stage--deck .rv__q[data-pos="0"] { z-index: 4; transform: none; pointer-events: auto; }
.rv__stage--deck .rv__q[data-pos="1"] { z-index: 3; transform: translate(22px, 22px); background: #2c2c29; }
.rv__stage--deck .rv__q[data-pos="2"] { z-index: 2; transform: translate(44px, 44px); background: #4a4314; }
.rv__stage--deck .rv__q[data-pos="3"] { z-index: 1; transform: translate(44px, 44px); background: #4a4314; opacity: 0; }
.rv__stage--deck .rv__q.is-leaving { z-index: 5; transform: translate(-60px, -24px) rotate(-6deg); opacity: 0; }
.rv__stage--deck .rv__mark { position: absolute; z-index: 6; top: var(--pad); left: var(--pad); }
.rv__stage--deck .rv__nav { position: absolute; z-index: 6; left: var(--pad); right: calc(44px + var(--pad)); bottom: calc(44px + var(--pad)); }

/* #25 Blog: three equal cards */
.bl__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: clamp(40px, 5vw, 60px); }
.bl-card { display: flex; flex-direction: column; }
.bl-card__img { display: block; aspect-ratio: 16 / 11; overflow: hidden; background: #ddd; margin-bottom: 18px; }
.bl-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.bl-card:hover .bl-card__img img { transform: scale(1.06); }
.bl-card h3 { margin: 14px 0 10px; font-family: var(--font-display); font-size: clamp(20px, 1.7vw, 26px); line-height: 1.12; letter-spacing: -.005em; }
.bl-card h3 + p { font-size: 15px; line-height: 1.5; color: rgba(11,11,10,.7); margin-bottom: 18px; }
.bl-card .bl__more { margin-top: auto; align-self: flex-start; }
.bl-card:hover .bl__more svg { transform: translateX(5px); }

/* #24 / #34 FAQ: rays removed, split yellow / black */
.faq.faq--split { position: relative; background: var(--k); color: #fff; padding: clamp(80px, 9vw, 130px) 0; overflow: hidden; }
.faq--split::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 44%; background: var(--y); clip-path: polygon(0 0, 100% 0, 76% 100%, 0 100%); }
.faq--split .faq__grid { position: relative; z-index: 1; align-items: center; }
.faq--split .faq__intro { color: var(--k); }
.faq--split .faq__intro .eyebrow { color: var(--k); }
.faq--split .faq__intro .title-lg { font-size: clamp(44px, 5vw, 78px); line-height: .95; max-width: 460px; }
.faq--split .faq__help p { white-space: normal; max-width: 400px; font-size: 18px; }
.faq--split .faq-item { background: transparent; border-bottom: 1px solid rgba(255,255,255,.16); padding: 22px 20px; border-left: 4px solid transparent; transition: background-color .4s, border-color .4s; }
.faq--split .faq-item.is-open { background: #1d1d1b; border-left-color: var(--y); }
.faq--split .faq-item__q { color: #fff; font-family: var(--font-display); font-weight: 600; font-size: clamp(18px, 1.6vw, 24px); }
.faq--split .faq-item__sign { background: transparent !important; border: 2px solid var(--y); color: var(--y); }
.faq--split .faq-item.is-open .faq-item__sign { background: var(--y) !important; color: var(--k); }
.faq--split .faq-item__a p { color: rgba(255,255,255,.8); opacity: 1; }

/* #23 CTA: left-aligned copy over the Edmonton skyline */
.cta-band.cta-band--v2 { min-height: clamp(460px, 44vw, 620px); justify-content: center; text-align: left; background: #111; }
.cta-band--v2 > img { position: absolute; inset: 0; order: 0; width: 100%; height: 100%; max-height: none; min-height: 0; object-fit: cover; object-position: 60% 22%; -webkit-mask-image: none; mask-image: none; }
.cta-band--v2::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #111 0%, rgba(17,17,17,.94) 30%, rgba(17,17,17,.55) 52%, rgba(17,17,17,0) 74%); }
.cta-band--v2 .cta-band__inner { z-index: 2; align-items: flex-start; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 60px var(--px); }
.cta-band__eyebrow { display: flex; align-items: center; gap: 16px; color: var(--y); font-weight: 700; font-size: 15px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 18px; }
.cta-band__eyebrow::before { content: ""; width: 7px; height: 30px; background: #d7261e; transform: skewX(-24deg); }
.cta-band--v2 .title-lg { font-size: clamp(40px, 4.6vw, 72px); line-height: .95; color: #fff; }
.cta-band--v2 .title-lg .accent { display: block; }
.cta-band--v2 .cta-band__inner p { max-width: 560px; font-size: 19px; line-height: 1.5; margin: 18px 0 28px; }

/* Round 3 responsive */
@media (max-width: 1199px) {
  .crew__grid { grid-template-columns: repeat(4, 1fr); }
  .crew__head { grid-template-columns: 1fr auto; }
  .crew__intro .text-md { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 1023px) {
  .vac { grid-template-columns: 1fr; min-height: 0; }
  .vac__media { order: -1; min-height: 0; aspect-ratio: 16 / 10; }
  .bl__cards { grid-template-columns: 1fr 1fr; }
  .faq--split::before { display: none; }
  .faq--split .faq__intro { background: var(--y); margin: calc(-1 * clamp(80px, 9vw, 130px)) calc(-1 * var(--gutter)) 20px; padding: 64px var(--gutter) 48px; }
  .cta-band--v2::after { background: linear-gradient(180deg, rgba(17,17,17,.94) 0%, rgba(17,17,17,.8) 55%, rgba(17,17,17,.4) 100%); }
}
@media (max-width: 767px) {
  .hx__lineup { min-height: 0; aspect-ratio: 3.2; margin-top: 18px; }
  .sup__scroll { height: 220vh; }
  .sup__awards img { height: 84px; }
  .sup__awards .sup__wide img { width: 150px; padding: 6px 8px; }
  .sup__title { font-size: clamp(32px, 9.4vw, 46px); }
  .sup__foot { flex-direction: column; text-align: center; gap: 14px; }
  .sup__foot b { border: 0; padding: 0; }
  .crew__head { grid-template-columns: 1fr; }
  .crew__grid { grid-template-columns: repeat(2, 1fr); }
  .rv__stage--deck { padding: 0 20px 20px 0; }
  .rv__stage--deck .rv__q { min-height: 380px; padding-bottom: calc(var(--pad) + 70px); }
  .rv__stage--deck .rv__q[data-pos="1"] { transform: translate(10px, 10px); }
  .rv__stage--deck .rv__q[data-pos="2"], .rv__stage--deck .rv__q[data-pos="3"] { transform: translate(20px, 20px); }
  .rv__stage--deck .rv__nav { right: calc(20px + var(--pad)); bottom: calc(20px + var(--pad)); }
  .bl__cards { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .sup__title span { opacity: 1 !important; transform: none !important; filter: none !important; }
  .sup__rule, .sup__foot, .hx__team { opacity: 1 !important; transform: none !important; }
}

.hx__stats b { white-space: nowrap; font-size: clamp(18px, 1.75vw, 28px); }
.hx__stats li { padding: 0 12px; }
@media (max-width: 767px) { .hx__stats b { white-space: normal; } }

.founder__card > * { min-width: 0; }
.founder__marquee { max-width: 100%; overflow: hidden; }
.crew > .container { max-width: 1560px; }
.lw b + span { font-size: 12.5px; }
@media (max-width: 767px) { .hx__lineup { aspect-ratio: 1.9; } .hx__team { object-fit: cover; object-position: center bottom; } }

/* #36 Hero team photo spans the full screen width */
.hx__lineup { min-height: 0; flex: none; width: 100%; aspect-ratio: 1920 / 600; }
.hx__team { object-fit: cover; object-position: center bottom; }
/* #37 footer credit */
.footer-credit { margin-top: 6px; text-align: center; font-size: 13px; color: rgba(255,255,255,.5); }
.footer-credit a { color: rgba(255,255,255,.8); text-decoration: underline; text-underline-offset: 3px; }
.footer-credit a:hover { color: var(--y); }
@media (max-width: 767px) { .hx__lineup { aspect-ratio: 1.9; } }
.footer-credit a { display: inline-block; text-decoration: none; opacity: .75; transition: opacity .25s; }
.footer-credit a:hover { opacity: 1; }
.footer-credit img { display: block; height: 34px; width: auto; margin: 6px auto 0; }
