/* Tarrabin v5 home pilot (Nov 29, 2026). Loads after tc.css. Everything is scoped under .v5.
   Brand colours only: #071221 #0A1A2E #0C1D33 #033C59 #F4A100 #FFBA42 #F4F6F8 #C9D6E5 #D6E2F0 #E6E7E8. */
.v5{--hdr:79px}
.v5 h2{max-width:20ch}

/* 1. Hero: the person you are hiring */
.v5-hero{position:relative;isolation:isolate;background:#071221;overflow:hidden;display:flex;flex-direction:column}
.v5-hero-photo{position:relative;height:23vh;min-height:170px;max-height:300px}
.v5-hero-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 22%}
.v5-hero-photo::after{content:"";position:absolute;left:0;right:0;bottom:0;height:42%;background:linear-gradient(0deg,#071221 12%,rgba(7,18,33,0) 100%)}
.v5-hero-in{position:relative;margin-top:-1.25rem;padding-bottom:2rem}
.v5-hero h1{max-width:13ch;margin:0 0 .9rem}
.v5-hero .lead{max-width:44ch;margin:0}
.v5-hero .acts{margin-top:1rem;gap:.5rem 1.5rem}
.v5-fact{display:flex;flex-direction:column;gap:.1rem;margin:0 0 1rem;max-width:30rem}
.v5-fact b{font:600 1.2rem/1.25 var(--serif);color:#FFBA42}
.v5-fact span{font-size:1rem;line-height:1.4;color:#C9D6E5}
@media (min-width:900px){
  .v5-hero{flex-direction:row;align-items:stretch;min-height:min(calc(100svh - var(--hdr)),860px)}
  .v5-hero-photo{position:absolute;top:0;right:0;bottom:0;width:50%;height:auto;max-height:none;min-height:0}
  .v5-hero-photo img{object-position:50% 18%}
  .v5-hero-photo::after{top:0;height:auto;right:auto;width:38%;background:linear-gradient(90deg,#071221 0%,rgba(7,18,33,0) 100%)}
  .v5-hero-in{margin-top:0;align-self:center;padding-top:3rem;padding-bottom:3rem}
  .v5-hero-in>*{max-width:min(46%,34rem)}
  .v5-hero h1{font-size:clamp(3rem,5vw,4.6rem)}
}

/* shared section frame */
.v5-sec{padding:clamp(3.5rem,8vw,6.5rem) 0}
.v5-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:1.25rem 2rem;margin-bottom:clamp(1.75rem,4vw,3rem)}
.v5-head h2{margin:0}
.v5-head>div>.kick{margin-bottom:.85rem}

/* light ground */
.v5-light{background:#F4F6F8;color:#0C1D33}
.v5-light h2,.v5-light h3,.v5-light b{color:#071221}
.v5-light .kick{color:#033C59}
.v5-light .more{color:#071221;border-bottom-color:#033C59}
.v5 .btn-navy{background:#071221;color:#F4F6F8;border-color:#071221}
.v5 .btn-navy:hover{background:#033C59;border-color:#033C59}
.v5-light a:focus-visible,.v5-gold a:focus-visible,.v5 .btn-navy:focus-visible{outline:3px solid #033C59;outline-offset:4px;box-shadow:0 0 0 2px #F4F6F8}

/* 2. Work you can visit */
.v5-shots{display:grid;gap:1.25rem;grid-template-columns:1fr}
.v5-shot{display:flex;flex-direction:column;gap:.5rem;text-decoration:none;color:#0C1D33;background:#E6E7E8;border-radius:20px;padding:0 0 1.25rem;overflow:hidden;border:1px solid #D6E2F0}
.v5-shot img{display:block;width:100%;height:auto;aspect-ratio:864/388;object-fit:cover;object-position:50% 0}
.v5-shot-t{display:flex;flex-direction:column;gap:.1rem;padding:.75rem 1.25rem 0}
.v5-shot-t b{font:600 1.5rem/1.2 var(--serif);color:#071221}
.v5-shot-t span{font:600 .8125rem/1.4 var(--sans);letter-spacing:.08em;text-transform:uppercase;color:#033C59}
.v5-shot-l{padding:0 1.25rem;color:#0C1D33}
.v5-shot .more{margin:0 1.25rem;align-self:flex-start}
@media (min-width:900px){.v5-shots{grid-template-columns:1fr 1fr;gap:1.75rem}}

/* 3. Practices as a type list */
.v5-navy{background:#0A1A2E;border-top:1px solid #033C59;border-bottom:1px solid #033C59}
.v5-split{display:grid;gap:2rem}
.v5-stick h2{margin:0 0 1rem}
.v5-stick p{max-width:34ch;margin:0 0 1.5rem}
.v5-pr{list-style:none;margin:0;padding:0;border-top:1px solid #033C59}
.v5-pr a{display:grid;grid-template-columns:1fr auto;grid-template-areas:"n go" "c go";align-items:center;gap:.15rem 1rem;padding:1.1rem 0;min-height:44px;text-decoration:none;border-bottom:1px solid #033C59;color:#F4F6F8}
.v5-pr-n{grid-area:n;font:600 clamp(1.45rem,3.2vw,2.3rem)/1.15 var(--serif)}
.v5-pr-c{grid-area:c;font:600 .8125rem/1.4 var(--sans);letter-spacing:.12em;text-transform:uppercase;color:#F4A100}
.v5-pr-go{grid-area:go;width:2.75rem;height:2.75rem;border:1px solid #F4A100;border-radius:50%;position:relative}
.v5-pr-go::before{content:"";position:absolute;left:50%;top:50%;width:.6rem;height:.6rem;border-top:2px solid #F4A100;border-right:2px solid #F4A100;transform:translate(-65%,-50%) rotate(45deg)}
@media (min-width:900px){
  .v5-split{grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:4rem;align-items:start}
  .v5-stick{position:sticky;top:calc(var(--hdr) + 2rem)}
}

/* 4. The moment: the founder and the North */
.v5-moment{position:relative;isolation:isolate;overflow:hidden;background:#071221}
.v5-moment-bg{position:absolute;inset:0;z-index:-1}
.v5-moment-bg img{width:100%;height:100%;object-fit:cover;object-position:62% 45%;transform:scale(1.02)}
.v5-moment-bg::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#071221 30%,rgba(7,18,33,.72) 62%,rgba(7,18,33,.2) 100%)}
.v5-moment-in{display:flex;flex-direction:column;padding-top:2.5rem;padding-bottom:clamp(2.5rem,7vw,5rem)}
.v5-founder{display:block;width:min(72%,300px);height:auto;margin:0 auto -1px}
.v5-moment-t{border-top:1px solid #F4A100;padding-top:1.75rem}
.v5-moment h2{max-width:19ch;margin:0 0 1rem}
.v5-moment p{max-width:46ch;margin:0;color:#D6E2F0}
.v5-moment .kick{color:#FFBA42}
@media (min-width:900px){
  .v5-moment{min-height:min(92svh,820px);display:flex;align-items:flex-end}
  .v5-moment-bg::after{background:linear-gradient(90deg,#071221 0%,rgba(7,18,33,.78) 42%,rgba(7,18,33,.1) 100%)}
  .v5-moment-in{flex-direction:row-reverse;align-items:flex-end;justify-content:space-between;gap:3rem;padding-top:4rem;padding-bottom:0;width:100%}
  .v5-founder{width:auto;height:min(78svh,680px);margin:0}
  .v5-moment-t{border-top:0;padding:0 0 clamp(3rem,7vw,5rem);max-width:34rem}
}

/* 6. Client words on gold */
.v5-gold{background:#F4A100;color:#071221}
.v5-gold .kick{color:#071221}
.v5-gold .kick::before{border-color:#071221}
.v5-quote{margin:0;max-width:60rem}
.v5-quote blockquote{margin:0}
.v5-quote blockquote p{margin:0;font:600 clamp(1.6rem,4.3vw,3.1rem)/1.22 var(--serif);color:#071221;max-width:24ch}
.v5-quote figcaption{display:flex;flex-direction:column;margin-top:1.5rem;font-size:1rem;color:#071221}
.v5-quote figcaption b{font-weight:700}
.v5-quote-2{margin-top:clamp(2.5rem,6vw,4rem);padding-top:clamp(2rem,5vw,3rem);border-top:1px solid #071221}
.v5-quote-2 blockquote p{font-size:clamp(1.2rem,2.4vw,1.6rem);max-width:38ch}

/* 7. Recognition */
.v5-rec{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:1.5rem 1rem}
.v5-rec li{display:flex;flex-direction:column;gap:.2rem}
.v5-rec img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover;object-position:50% 12%;border-radius:20px;margin-bottom:.6rem;background:#E6E7E8}
.v5-rec-wide{grid-column:1/-1}
.v5-rec-wide img{aspect-ratio:961/532}
.v5-rec b{font:600 1.15rem/1.25 var(--serif);color:#071221}
.v5-rec span{font-size:1rem;color:#0C1D33}
@media (min-width:900px){.v5-rec{grid-template-columns:2fr 1fr 1fr;gap:1.75rem;align-items:start}.v5-rec img{aspect-ratio:auto;height:22rem}.v5-rec-wide{grid-column:auto}.v5-rec-wide img{aspect-ratio:auto}}

/* motion: hero enters once; the moment settles once when it comes into view; hover on linked pieces */
@media (prefers-reduced-motion:no-preference){
  .v5-hero-in>*{animation:v5in .7s cubic-bezier(.22,1,.36,1) both}
  .v5-hero-in>*:nth-child(2){animation-delay:.07s}.v5-hero-in>*:nth-child(3){animation-delay:.14s}
  .v5-hero-in>*:nth-child(4){animation-delay:.21s}.v5-hero-in>*:nth-child(5){animation-delay:.28s}
  @keyframes v5in{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
  .v5-moment-bg img{transition:transform 4.5s cubic-bezier(.22,1,.36,1)}
  .v5-moment.is-in .v5-moment-bg img{transform:scale(1.12)}
  .v5-pr-go{transition:background-color .16s ease-out,transform .16s ease-out}
  .v5-shot img{transition:transform .6s cubic-bezier(.22,1,.36,1)}
}
@media (hover:hover) and (prefers-reduced-motion:no-preference){
  .v5-pr a:hover .v5-pr-go,.v5-pr a:focus-visible .v5-pr-go{background:#F4A100;transform:translateX(4px)}
  .v5-pr a:hover .v5-pr-go::before,.v5-pr a:focus-visible .v5-pr-go::before{border-color:#071221}
  .v5-shot:hover img{transform:scale(1.03)}
}
.v5-pr a:hover .v5-pr-n,.v5-pr a:focus-visible .v5-pr-n{color:#FFBA42}

/* round 3 (Moe, Nov 29): practices lead the page on a light ground; websites are one line near the end */
.v5-prac .v5-pr{border-top-color:#C9D6E5}
.v5-prac .v5-pr a{grid-template-areas:"n go" "s go" "c go";border-bottom-color:#C9D6E5;color:#071221;padding:1.25rem 0}
.v5-prac .v5-pr-n{color:#071221}
.v5-pr-s{grid-area:s;font-size:1rem;line-height:1.45;color:#0C1D33;max-width:52ch}
.v5-prac .v5-pr-c{color:#033C59;margin-top:.2rem}
.v5-prac .v5-pr-go{border-color:#071221}
.v5-prac .v5-pr-go::before{border-color:#071221}
.v5-prac .v5-pr a:hover .v5-pr-n,.v5-prac .v5-pr a:focus-visible .v5-pr-n{color:#033C59}
.v5-prac .v5-stick p{color:#0C1D33}
@media (hover:hover) and (prefers-reduced-motion:no-preference){
  .v5-prac .v5-pr a:hover .v5-pr-go,.v5-prac .v5-pr a:focus-visible .v5-pr-go{background:#071221}
  .v5-prac .v5-pr a:hover .v5-pr-go::before,.v5-prac .v5-pr a:focus-visible .v5-pr-go::before{border-color:#F4A100}
}
.v5-line{background:#0A1A2E;border-top:1px solid #033C59;padding:2rem 0}
.v5-line h2.kick{font:600 .8125rem/1.3 var(--sans);max-width:none;margin:0 0 .5rem}
.v5-line p{display:flex;flex-wrap:wrap;gap:.25rem 1.5rem;margin:0}
.v5-line a{display:inline-flex;align-items:center;min-height:44px;color:#F4F6F8}

/* round 4 (Moe, Nov 29): clients and the work done for them, right after the first screen */
.v5-clients h2{max-width:24ch}
.v5-cl{display:grid;gap:2.5rem}
.v5-cl-g{border-top:1px solid #F4A100;padding-top:1.25rem}
.v5-cl-g h3{font:600 .8125rem/1.3 var(--sans);letter-spacing:.14em;text-transform:uppercase;color:#F4A100;margin:0 0 .9rem}
.v5-cl-n{margin:0 0 1.25rem;font:600 clamp(1.6rem,3.4vw,2.4rem)/1.2 var(--serif);color:#F4F6F8;display:flex;flex-direction:column;gap:.15rem}
.v5-cl-g ul{list-style:none;margin:0;padding:0;display:grid;gap:0}
.v5-cl-g li{padding:.7rem 0;border-top:1px solid #033C59;color:#D6E2F0;font-size:1.0625rem}
@media (min-width:900px){.v5-cl{grid-template-columns:1fr 1fr;gap:4rem}}

/* round 5 (Moe, Nov 29): less text, bigger pictures */
@media (max-width:899px){
  .v5-hero{min-height:calc(100svh - 79px - 58px);justify-content:flex-end}
  .v5-hero-photo{position:absolute;inset:0;height:auto;max-height:none;min-height:0}
  .v5-hero-photo{overflow:hidden}
  .v5-hero-photo img{position:absolute;left:0;top:-17%;height:122%;object-position:60% 0}
  .v5-hero-photo::after{height:66%;background:linear-gradient(0deg,#071221 40%,rgba(7,18,33,.8) 64%,rgba(7,18,33,0) 100%)}
  .v5-hero-in{margin-top:0;padding-top:0;padding-bottom:1.75rem}
}
.v5-hero h1{font-size:clamp(2.5rem,10vw,4.6rem);line-height:1.05}
.v5-hero .lead{font-size:1.0625rem;color:#D6E2F0}
.v5-fact{margin:0 0 .6rem}
.v5-fact b{font-size:1.3rem}
.v5-clients{padding:clamp(3rem,7vw,5rem) 0}
.v5-names{margin:0 0 1.5rem;display:flex;flex-direction:column;gap:.1rem;font:600 clamp(2.2rem,8vw,4.4rem)/1.08 var(--serif);color:#F4F6F8}
.v5-names span:nth-child(even){color:#F4A100}
@media (min-width:900px){.v5-names{flex-direction:row;flex-wrap:wrap;gap:.1rem 2.5rem}}
.v5-prac .v5-pr a{grid-template-areas:"n go" "c go";padding:1.5rem 0}
.v5-prac .v5-pr-n{font-size:clamp(1.7rem,4vw,2.6rem)}
.v5-band{display:grid;grid-template-columns:1fr;background:#071221}
.v5-band img{display:block;width:100%;height:62vh;min-height:320px;max-height:640px;object-fit:cover;object-position:50% 30%}
@media (min-width:900px){.v5-band{grid-template-columns:1fr 1fr}.v5-band img{height:78vh;max-height:760px}}
.v5-quote blockquote p{font-size:clamp(1.9rem,5.4vw,3.6rem);max-width:22ch}
.v5-gold{padding:clamp(4rem,10vw,8rem) 0}

/* round 6 (Moe, Nov 29): motion. Active only when tc5.js adds .v5a (never under reduced motion). */
.v5-prog{position:fixed;left:0;right:0;top:0;height:3px;background:#F4A100;transform-origin:0 50%;transform:scaleX(0);z-index:60;pointer-events:none}
.v5a .v5-hero-photo img{animation:v5ken 9s cubic-bezier(.22,1,.36,1) both}
@keyframes v5ken{from{transform:scale(1.16)}to{transform:scale(1)}}
.v5a .v5-hero-in>*{animation:none}
.v5w-o,.v5q-o{display:inline-block;overflow:hidden;vertical-align:top;padding-bottom:.08em}
.v5w,.v5q{display:inline-block}
.v5a .v5w{transform:translateY(110%);transition:transform .9s cubic-bezier(.22,1,.36,1);transition-delay:calc(var(--i)*70ms + 150ms)}
.v5a.v5-go .v5w{transform:none}
.v5a .v5-hero .kick,.v5a .v5-fact,.v5a .v5-hero .lead,.v5a .v5-hero .acts{opacity:0;transform:translateY(16px);transition:opacity .7s ease-out,transform .7s cubic-bezier(.22,1,.36,1)}
.v5a.v5-go .v5-hero .kick{opacity:1;transform:none;transition-delay:.05s}
.v5a.v5-go .v5-fact{opacity:1;transform:none;transition-delay:.75s}
.v5a.v5-go .v5-hero .lead{opacity:1;transform:none;transition-delay:.9s}
.v5a.v5-go .v5-hero .acts{opacity:1;transform:none;transition-delay:1.05s}
.v5a .v5r{opacity:0;transform:translateY(34px);transition:opacity .8s ease-out,transform .9s cubic-bezier(.22,1,.36,1);transition-delay:var(--d,0ms)}
.v5a .v5r.is-in{opacity:1;transform:none}
.v5a .v5-band img.v5r{opacity:1;transform:scale(1.14);clip-path:inset(14% 10% 14% 10% round 28px);transition:clip-path 1.2s cubic-bezier(.22,1,.36,1),transform 1.6s cubic-bezier(.22,1,.36,1)}
.v5a .v5-band img.v5r.is-in{transform:none;clip-path:inset(0 0 0 0 round 0px)}
.v5a .v5-founder.v5r{transform:translateY(70px)}
.v5a .v5-founder.v5r.is-in{transform:none}
.v5-names.is-rail{display:block;overflow:hidden;white-space:nowrap;margin-left:calc(-1*clamp(1.25rem,4vw,2rem));margin-right:calc(-1*clamp(1.25rem,4vw,2rem));padding:.1em 0}
.v5-names.is-rail .v5-track{display:inline-flex;gap:2.75rem;padding-left:clamp(1.25rem,4vw,2rem);will-change:transform}
.v5-names.is-rail .v5-dup{display:inline-flex;gap:2.75rem}
.v5-names.is-rail span{flex:none}
.v5-names.is-rail .v5-track>span:nth-child(even),.v5-names.is-rail .v5-dup>span:nth-child(even){color:#F4A100}
.v5-names.is-rail .v5-dup>span:nth-child(odd){color:#F4F6F8}
.v5-names.is-rail{font-size:clamp(3rem,13vw,7rem)}
.v5a .v5q{opacity:.22;transition:opacity .35s ease-out}
.v5a .v5q.on{opacity:1}
.v5a .v5-pr a{transition:padding-left .25s cubic-bezier(.22,1,.36,1)}
@media (hover:hover){.v5a .v5-pr a:hover{padding-left:.75rem}}
/* round 6b: scaled photos must not widen the page while they move */
.v5-band,.v5-hero-photo{overflow:hidden}
main.v5{overflow-x:clip}
/* round 7 (Moe, Nov 29): the first screen is the live 3D map of Wood Buffalo. hero3d.js draws it; the still shows without it. */
.v7-hero{position:relative;background:#071221;--p:0;--v7h:77px;--v7b:0px}
@media (max-width:899px){.v7-hero{--v7b:58px}}
.v7-pin{position:relative;height:calc(100svh - var(--v7h));min-height:400px;overflow:hidden;isolation:isolate;display:flex;flex-direction:column;justify-content:flex-end}
.v7-on .v7-hero{height:calc(260svh - var(--v7h))}
.v7-on .v7-pin{position:sticky;top:var(--v7h)}
.v7-poster,.v7-cv{position:absolute;inset:0;width:100%;height:100%;display:block}
.v7-poster{object-fit:cover;object-position:50% 50%}
.v7-cv{opacity:0;transition:opacity 1.1s ease-out}
.v7-live .v7-cv{opacity:1}
.v7-shade{position:absolute;inset:0;pointer-events:none;background:linear-gradient(0deg,#071221 0%,rgba(7,18,33,.86) 20%,rgba(7,18,33,.25) 52%,rgba(7,18,33,0) 70%),linear-gradient(180deg,rgba(7,18,33,.55) 0%,rgba(7,18,33,0) 16%)}
.v7-labels{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.v7-pl{position:absolute;left:0;top:0;opacity:0;transition:opacity .5s ease-out;white-space:nowrap;font:600 .6875rem/1 var(--sans,Jost,sans-serif);letter-spacing:.16em;text-transform:uppercase;color:#C9D6E5;padding-bottom:.5rem;will-change:transform}
.v7-pl.big{font-size:.8125rem;color:#FFBA42}
.v7-pl.water{font:italic 600 1rem/1 var(--serif,"Playfair Display",serif);letter-spacing:.02em;text-transform:none;color:#D6E2F0}
.v7-in{position:relative;padding-top:2rem;padding-bottom:calc(1.75rem + var(--v7b))}
.v7-hero h1{margin:0 0 1.25rem;font-size:clamp(2.6rem,10.5vw,5.6rem);line-height:1.02;max-width:14ch}
.v7-hero h1 span{display:block}
.v7-l2{color:#F4A100}
.v7-hero .acts{gap:.5rem 1.5rem;margin:0}
.v7-cue{display:none}
.v7-on .v7-in>.kick{animation:v7in .9s cubic-bezier(.22,1,.36,1) 1s both}
.v7-on .v7-l1{animation:v7in 1.1s cubic-bezier(.22,1,.36,1) 1.5s both}
.v7-on .v7-hero .acts{animation:v7in .9s cubic-bezier(.22,1,.36,1) 2.3s both}
@keyframes v7in{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
.v7-on .v7-l2{opacity:clamp(0,calc((var(--p) - .16) * 6),1);transform:translateY(calc((1 - clamp(0,calc((var(--p) - .16) * 6),1)) * 26px))}
@media (min-width:900px){
  .v7-in{padding-bottom:4.5rem}
  .v7-shade{background:linear-gradient(90deg,rgba(7,18,33,.95) 0%,rgba(7,18,33,.8) 38%,rgba(7,18,33,.2) 60%,rgba(7,18,33,0) 70%),linear-gradient(0deg,#071221 0%,rgba(7,18,33,0) 30%)}
  .v7-pl{font-size:.75rem}.v7-pl.big{font-size:.9375rem}.v7-pl.water{font-size:1.25rem}
  .v7-on .v7-cue{display:block;position:absolute;right:clamp(1.25rem,4vw,2rem);bottom:4.5rem;font:600 .6875rem/1 var(--sans,Jost,sans-serif);letter-spacing:.2em;text-transform:uppercase;color:#C9D6E5;writing-mode:vertical-rl;padding-bottom:4rem;opacity:calc(1 - var(--p) * 5)}
  .v7-cue::after{content:"";position:absolute;left:50%;bottom:0;width:1px;height:3.25rem;background:#F4A100;transform-origin:50% 0;animation:v7cue 2s cubic-bezier(.65,0,.35,1) infinite}
}
@keyframes v7cue{0%{transform:scaleY(0)}55%{transform:scaleY(1)}100%{transform:scaleY(1);opacity:0}}
@media (max-height:640px){.v7-hero h1{font-size:clamp(2rem,7vw,3.2rem);margin-bottom:.9rem}.v7-in{padding-top:1rem}}
/* round 8 (Nov 29): the six practices as icon tiles, one gold icon each. No text list. */
.v7-prac{background:#071221}
.v7-prac .v5-head{margin-bottom:2rem}
.v7-tiles{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:.75rem;perspective:1200px}
.v7-tiles li{margin:0}
.v7-tiles a{position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:1.5rem;height:100%;min-height:11.5rem;padding:1.25rem 1.1rem 1.1rem;border-radius:20px;background:linear-gradient(160deg,#0C1D33 0%,#0A1A2E 60%,#071221 100%);border:1px solid #033C59;color:#F4F6F8;text-decoration:none;overflow:hidden;transform-style:preserve-3d;transition:border-color .3s ease-out,transform .35s cubic-bezier(.22,1,.36,1),box-shadow .35s ease-out;box-shadow:0 18px 40px rgba(0,0,0,.35)}
.v7-tiles a::before{content:"";position:absolute;left:var(--mx,30%);top:var(--my,0%);width:16rem;height:16rem;margin:-8rem 0 0 -8rem;border-radius:50%;background:radial-gradient(closest-side,rgba(244,161,0,.22),rgba(244,161,0,0));opacity:0;transition:opacity .3s ease-out;pointer-events:none}
.v7-tiles svg{position:relative;width:3rem;height:3rem;color:#F4A100;transform:translateZ(30px)}
.v7-tn{position:relative;font:600 1.125rem/1.2 var(--serif,"Playfair Display",serif);transform:translateZ(18px);padding-right:1.5rem}
.v7-go{position:absolute;right:1rem;bottom:1.15rem;width:.6rem;height:.6rem;border-right:2px solid #F4A100;border-top:2px solid #F4A100;transform:rotate(45deg);transition:transform .3s cubic-bezier(.22,1,.36,1)}
.v7-tiles a:focus-visible{outline:2px solid #FFBA42;outline-offset:3px}
@media (hover:hover){.v7-tiles a:hover{border-color:#F4A100;box-shadow:0 26px 60px rgba(0,0,0,.5);transform:rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) translateY(-4px)}.v7-tiles a:hover::before{opacity:1}.v7-tiles a:hover .v7-go{transform:translateX(4px) rotate(45deg)}}
@media (min-width:900px){.v7-tiles{grid-template-columns:repeat(3,1fr);gap:1.25rem}.v7-tiles a{min-height:15rem;padding:2rem 1.75rem 1.75rem}.v7-tiles svg{width:3.5rem;height:3.5rem}.v7-tn{font-size:1.5rem}.v7-go{right:1.75rem;bottom:1.9rem}}
.v5a .v7-tiles svg path,.v5a .v7-tiles svg circle,.v5a .v7-tiles svg rect{stroke-dasharray:160;stroke-dashoffset:160;transition:stroke-dashoffset 1.4s cubic-bezier(.22,1,.36,1);transition-delay:calc(var(--d,0ms) + 250ms)}
.v5a .v7-tiles li.is-in svg path,.v5a .v7-tiles li.is-in svg circle,.v5a .v7-tiles li.is-in svg rect{stroke-dashoffset:0}
/* round 9 (Nov 29): client words on navy, in the same world as the map */
.v7-words{position:relative;background:#071221;padding:clamp(4.5rem,11vw,9rem) 0;overflow:hidden}
.v7-words::before{content:"\201C";position:absolute;left:clamp(.5rem,3vw,3rem);top:-.18em;font:600 clamp(14rem,34vw,30rem)/1 var(--serif,"Playfair Display",serif);color:#0C1D33;pointer-events:none}
.v7-words::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:linear-gradient(90deg,#F4A100,rgba(244,161,0,0) 70%)}
.v7-words .wrap{position:relative}
.v7-words .v5-quote blockquote p{color:#F4F6F8;max-width:22ch}
.v7-words .v5-quote figcaption{color:#C9D6E5;padding-left:1rem;border-left:2px solid #F4A100}
.v7-words .v5-quote figcaption b{color:#FFBA42}
/* round 10 (Moe, Nov 29): client names were too bold. Quiet line: small, light, spaced capitals. */
.v5 .v5-names,.v5 .v5-names.is-rail{font:400 clamp(1rem,2.6vw,1.375rem)/1.4 var(--sans,Jost,sans-serif);letter-spacing:.24em;text-transform:uppercase;color:#C9D6E5}
.v5 .v5-names span,.v5 .v5-names.is-rail .v5-track>span:nth-child(even),.v5 .v5-names.is-rail .v5-dup>span:nth-child(even),.v5 .v5-names.is-rail .v5-dup>span:nth-child(odd){color:#C9D6E5}
.v5 .v5-names.is-rail .v5-track,.v5 .v5-names.is-rail .v5-dup{gap:0}
.v5 .v5-names.is-rail span span,.v5 .v5-names.is-rail .v5-track>span{display:inline-flex;align-items:center}
.v5 .v5-names.is-rail .v5-track>span:not(.v5-dup)::after,.v5 .v5-names.is-rail .v5-dup>span::after{content:"";width:.4rem;height:.4rem;border-radius:50%;background:#F4A100;margin:0 1.75rem}
.v5 .v5-clients{padding:clamp(2.25rem,5vw,3.5rem) 0}
.v5 .v5-names{margin-bottom:1.25rem}
/* round 11 (Nov 29): closing call on the home page, big and short */
.v5 .cta{position:relative;overflow:hidden;padding:clamp(4.5rem,11vw,8.5rem) 0;background:radial-gradient(60% 80% at 50% 110%,#033C59 0%,#071221 70%)}
.v5 .cta .cta-in{display:flex;flex-direction:column;align-items:center;text-align:center;gap:1.75rem}
.v5 .cta h2{font-size:clamp(2.4rem,6.4vw,4.75rem);line-height:1.05;max-width:16ch;margin:0 auto}
.v5 .cta .acts{justify-content:center;margin-top:1.75rem}
.v5 .cta .btn-gold{font-size:1.125rem;padding:1.05rem 2rem;box-shadow:0 0 0 0 rgba(244,161,0,.5);animation:v7pulse 2.6s ease-out infinite}
@keyframes v7pulse{0%{box-shadow:0 0 0 0 rgba(244,161,0,.45)}70%{box-shadow:0 0 0 18px rgba(244,161,0,0)}100%{box-shadow:0 0 0 0 rgba(244,161,0,0)}}
@media (prefers-reduced-motion:reduce){.v5 .cta .btn-gold{animation:none}}
.v5 .cta .cta-side{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;gap:.75rem;border:0;padding:0;margin:0}
.v5 .cta .cta-side a{display:inline-flex;align-items:center;gap:.5rem;min-height:48px;padding:.6rem 1.2rem;border:1px solid #033C59;border-radius:999px;background:#0C1D33;color:#F4F6F8;text-decoration:none}
.v5 .cta .cta-side a:hover{border-color:#F4A100}
/* round 12 (Nov 29): the photo band becomes a moving 3D strip of real photos */
.v7-reel{position:relative;overflow:hidden;background:#071221;padding:clamp(3rem,8vw,6rem) 0;perspective:1400px}
.v7-stage{display:flex;flex-direction:column;gap:clamp(.75rem,2vw,1.25rem);transform:rotateX(14deg) rotateZ(-4deg) scale(1.12);transform-style:preserve-3d}
.v7-row{list-style:none;margin:0;padding:0;display:flex;gap:clamp(.75rem,2vw,1.25rem);width:max-content;will-change:transform}
.v7-row li{flex:none;margin:0}
.v7-row img{display:block;height:clamp(140px,17vw,230px);width:auto;aspect-ratio:auto;border-radius:18px;border:2px solid #F4A100;object-fit:cover;box-shadow:0 24px 60px rgba(0,0,0,.55)}
.v7-row.r2{margin-left:-30vw}
.v7-reel::before,.v7-reel::after{content:"";position:absolute;top:0;bottom:0;width:12vw;z-index:1;pointer-events:none}
.v7-reel::before{left:0;background:linear-gradient(90deg,#071221,rgba(7,18,33,0))}
.v7-reel::after{right:0;background:linear-gradient(270deg,#071221,rgba(7,18,33,0))}
@media (prefers-reduced-motion:reduce){.v7-stage{transform:none}}
/* Rulebook pass (Nov 29): shorter motion, no side stripes, no endless loops, skip link for the map */
.v5a .v5r{transform:translateY(12px);transition:opacity .5s cubic-bezier(.22,1,.36,1),transform .5s cubic-bezier(.22,1,.36,1);transition-delay:var(--d,0ms)}
.v5a .v5-founder.v5r{transform:translateY(24px)}
.v5a .v5w{transition-duration:.6s;transition-delay:calc(var(--i)*40ms + 150ms)}
.v7-words .v5-quote figcaption{border-left:0;padding-left:0}
.v7-words .v5-quote figcaption b{display:block;margin-top:.25rem}
.v5 .cta .btn-gold{animation-iteration-count:3}
.v5 h1,.v5 h2,.v5 h3{text-wrap:balance}
.v5 p{text-wrap:pretty}
html{scroll-padding-top:96px}
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
.v5 a:focus-visible{outline:2px solid #FFBA42;outline-offset:2px}
.v7-skip{position:absolute;right:clamp(1.25rem,4vw,2rem);top:1rem;z-index:3;display:inline-flex;align-items:center;min-height:44px;padding:0 1rem;border-radius:999px;border:1px solid #033C59;background:#0A1A2E;color:#C9D6E5;font:500 .8125rem/1 var(--sans,Jost,sans-serif);letter-spacing:.08em;text-transform:uppercase;text-decoration:none;transition:border-color .2s cubic-bezier(.22,1,.36,1),color .2s cubic-bezier(.22,1,.36,1)}
.v7-skip:hover{border-color:#F4A100;color:#F4F6F8}
.v7-hero:not(.v7-live) .v7-skip{display:none}
.v7-on .v7-hero{height:calc(220svh - var(--v7h))}
@media (max-width:899px){.v7-shade{background:linear-gradient(180deg,#071221 0%,#071221 9%,rgba(7,18,33,0) 24%),linear-gradient(0deg,#071221 0%,rgba(7,18,33,.86) 20%,rgba(7,18,33,.25) 52%,rgba(7,18,33,0) 70%)}}
/* round 13 (Moe, Nov 29): Recognition rebuilt. Four award cards: real photo, year in gold, tilt and glare toward the pointer (transitions.dev card tilt, React Bits TiltedCard and GlareHover ideas, written from scratch). */
.v8-rec{background:#071221;padding:clamp(4rem,9vw,7rem) 0}
.v8-rec .v5-head h2{color:#F4F6F8}
.v8-awards{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.25rem;perspective:1000px}
.v8-awards li{margin:0}
.v8-card{position:relative;display:block;aspect-ratio:3/4;border-radius:20px;overflow:hidden;border:1px solid #033C59;background:#0C1D33;color:#F4F6F8;text-decoration:none;transform:perspective(1000px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));transition:transform 1s cubic-bezier(.22,1,.36,1),border-color .25s cubic-bezier(.22,1,.36,1),box-shadow .4s cubic-bezier(.22,1,.36,1);box-shadow:0 24px 60px rgba(0,0,0,.45);will-change:transform}
.v8-card.is-on{transition:transform .4s cubic-bezier(.22,1,.36,1),border-color .25s cubic-bezier(.22,1,.36,1),box-shadow .4s cubic-bezier(.22,1,.36,1);border-color:#F4A100;box-shadow:0 30px 80px rgba(0,0,0,.6)}
.v8-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transform:scale(1.04);transition:transform 1.2s cubic-bezier(.22,1,.36,1)}
.v8-card.is-on img{transform:scale(1.08)}
.v8-card::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#071221 0%,rgba(7,18,33,.92) 26%,rgba(7,18,33,.2) 55%,rgba(7,18,33,0) 70%);pointer-events:none}
.v8-glare{position:absolute;inset:0;z-index:1;pointer-events:none;opacity:0;background:radial-gradient(circle at var(--gx,50%) var(--gy,50%),rgba(255,186,66,.32),rgba(255,186,66,0) 45%);transition:opacity .3s cubic-bezier(.22,1,.36,1)}
.v8-card.is-on .v8-glare{opacity:1}
.v8-cap{position:absolute;left:0;right:0;bottom:0;z-index:2;display:flex;flex-direction:column;gap:.2rem;padding:1.25rem}
.v8-yr{font:600 2.25rem/1 var(--serif,"Playfair Display",serif);color:#F4A100;margin-bottom:.35rem}
.v8-cap b{font:600 1.25rem/1.2 var(--serif,"Playfair Display",serif);color:#F4F6F8}
.v8-cap>span:last-child{font-size:.9375rem;color:#C9D6E5}
.v8-card:focus-visible{outline:2px solid #FFBA42;outline-offset:3px}
/* one gold sheen across each card as it arrives */
.v8-card .v8-cap::before{content:"";position:absolute;inset:-200% -60%;background:linear-gradient(115deg,rgba(255,186,66,0) 42%,rgba(255,186,66,.35) 50%,rgba(255,186,66,0) 58%);transform:translateX(-60%);pointer-events:none}
.v5a .v8-awards li.is-in .v8-cap::before{animation:v8sheen 1.4s cubic-bezier(.22,1,.36,1) calc(.3s + var(--k,0) * .12s) 1 both}
@keyframes v8sheen{to{transform:translateX(60%)}}
.v5a .v8-awards li{opacity:0;transform:translateY(24px) rotateX(8deg);transition:opacity .6s cubic-bezier(.22,1,.36,1),transform .7s cubic-bezier(.22,1,.36,1);transition-delay:calc(var(--k,0) * 80ms)}
.v5a .v8-awards li.is-in{opacity:1;transform:none}
@media (max-width:899px){
  .v8-awards{display:flex;gap:1rem;overflow-x:auto;scroll-snap-type:x mandatory;margin:0 calc(-1*clamp(1.25rem,4vw,2rem));padding:0 clamp(1.25rem,4vw,2rem) 1rem;scrollbar-width:none}
  .v8-awards::-webkit-scrollbar{display:none}
  .v8-awards li{flex:0 0 78vw;scroll-snap-align:start}
}
@media (prefers-reduced-motion:reduce){.v8-card,.v8-card img{transition:none}.v8-card .v8-cap::before{display:none}}

/* Hero headline: gold outline draws in, then fills (React Bits StrokeText idea, written from scratch) */
@media (prefers-reduced-motion:no-preference){
  .v7-on .v7-l1{animation:v7in 1.1s cubic-bezier(.22,1,.36,1) 1.5s both,v8stroke 2.4s cubic-bezier(.22,1,.36,1) 1.5s both}
}
@keyframes v8stroke{0%{color:rgba(244,246,248,0);-webkit-text-stroke:1px #F4A100}55%{color:rgba(244,246,248,0);-webkit-text-stroke:1px #F4A100}100%{color:#F4F6F8;-webkit-text-stroke:0 transparent}}
/* Primary hero button: a gold light runs around it twice, then stops (StarBorder idea) */
@property --v8a{syntax:"<angle>";inherits:false;initial-value:0deg}
.v7-hero .acts .btn-gold{position:relative;isolation:isolate}
.v7-hero .acts .btn-gold::before{content:"";position:absolute;inset:-2px;border-radius:inherit;padding:2px;background:conic-gradient(from var(--v8a),rgba(255,186,66,0) 0deg,#FFBA42 40deg,rgba(255,186,66,0) 80deg);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none;opacity:0}
@media (prefers-reduced-motion:no-preference){.v7-live .acts .btn-gold::before{opacity:1;animation:v8run 3s linear 3.4s 2 both}}
@keyframes v8run{from{--v8a:0deg}to{--v8a:360deg}}
@media (max-width:899px){.v8-awards{margin:0;padding:0 0 1rem;scroll-padding-left:0}}
