/* Persimmon graduate scheme - site styles v1.1 */
@font-face{font-family:"Jost";src:url(fonts/Jost-Variable-latin.woff2) format("woff2");font-weight:500 800;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Jost";src:url(fonts/Jost-Variable-latin-ext.woff2) format("woff2");font-weight:500 800;font-display:swap;unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+20A0-20AB,U+20AD-20C0,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Figtree";src:url(fonts/Figtree-Variable-latin.woff2) format("woff2");font-weight:400 800;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Figtree";src:url(fonts/Figtree-Variable-latin-ext.woff2) format("woff2");font-weight:400 800;font-display:swap;unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+20A0-20AB,U+20AD-20C0,U+2C60-2C7F,U+A720-A7FF}

/* Brand palette (guidelines 04.1). Sun yellow is for calls to action only. */
:root{
 --fir:#004749;--green:#007961;--lawn:#3ab28b;--stone:#f4f3ed;--coral:#ee775e;--sky:#8fced2;--sun:#fdc947;
 --paper:#f4f3ed;--surface:#fff;--line:#dcdcd2;--ink:#004749;--text:#3d4a47;--muted:#5b6662;
 --night:#004749;--night-2:#003436;--on-night:#ffffff;--on-night-2:#d4e6e1;
 --focus:#007961;--wrap:1240px;--gut:clamp(20px,4vw,40px);--sec:clamp(72px,9vw,128px);
 --ease:cubic-bezier(.2,.7,.2,1);
 --fh:"Jost","Futura PT",Futura,"Century Gothic",system-ui,sans-serif;--fb:"Figtree",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
 color-scheme:light}
html[data-fs="2"]{font-size:112.5%}html[data-fs="3"]{font-size:125%}
html[data-theme="dark"]{--paper:#0b1f20;--surface:#122b2c;--line:#24413f;--ink:#f4f3ed;--text:#d7e3df;--muted:#b5c6c1;--green:#3ab28b;--night:#002b2c;--night-2:#001f20;--focus:#8fced2;color-scheme:dark}
html[data-contrast="1"]{--paper:#fff;--surface:#fff;--line:#000;--ink:#000;--text:#000;--muted:#000;--green:#00513f;--lawn:#00513f;--night:#000;--night-2:#000;--on-night-2:#fff;--focus:#000}
html[data-contrast="1"][data-theme="dark"]{--paper:#000;--surface:#000;--line:#fff;--ink:#fff;--text:#fff;--muted:#fff;--green:#9ef0d2;--lawn:#9ef0d2;--focus:#fff}
html[data-contrast="1"] a:not(.btn){text-decoration:underline}

*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:96px}
body{margin:0;font-family:var(--fb);font-size:1.0625rem;line-height:1.65;color:var(--text);background:var(--paper);-webkit-font-smoothing:antialiased;overflow-x:clip}
img{max-width:100%;display:block;height:auto}
h1,h2,h3{font-family:var(--fh);color:var(--ink);margin:0;font-weight:700;letter-spacing:-.01em}
h1{font-size:clamp(2.7rem,5.8vw,5.4rem);line-height:1;letter-spacing:-.025em;text-wrap:balance}
h2{font-size:clamp(2rem,3.8vw,3.4rem);line-height:1.06;letter-spacing:-.02em;text-wrap:balance}
h3{font-size:1.25rem;line-height:1.3;font-weight:700}
p{margin:0 0 1em}p:last-child{margin-bottom:0}
a{color:var(--green)}
ul,ol,dl,dd{margin:0;padding:0}ul,ol{list-style:none}
:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
.wrap{width:100%;max-width:calc(var(--wrap) + 2*var(--gut));margin:0 auto;padding:0 var(--gut)}
.skip{position:absolute;left:12px;top:-60px;z-index:200;background:var(--fir);color:#fff;padding:10px 16px;border-radius:999px;text-decoration:none}
.skip:focus{top:12px}
.ic{width:1.15em;height:1.15em;flex:none;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}

/* Eyebrow: a small lawn-green roof mark before the label. */
.eyebrow{display:flex;align-items:center;gap:.7em;font-size:.8rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--green);margin:0 0 1.1rem}
.eb-mark{width:14px;height:12px;background:var(--lawn);clip-path:polygon(50% 0,100% 45%,100% 100%,0 100%,0 45%)}
.lead{font-size:clamp(1.1rem,1.4vw,1.25rem);line-height:1.6}

/* Buttons follow persimmonhomes.com: full pill, bold label, 2px border, colour lifts towards white on hover over .3s.
   Primary is sun yellow, the brand's call-to-action colour. */
.btn{--bc:var(--sun);--tc:#003436;display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:50px;padding:11px 24px;border:2px solid var(--bc);border-radius:999px;background:var(--bc);color:var(--tc);font:700 1rem/1.375 var(--fb);text-decoration:none;cursor:pointer;transition:.3s ease background-color,.3s ease border-color,.3s ease color}
.btn:hover,.btn:focus-visible{background:color-mix(in srgb,var(--bc) 80%,white);border-color:color-mix(in srgb,var(--bc) 80%,white)}
.btn-ic{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;transition:transform .35s var(--ease)}
.btn:hover .btn-ic,.btn:focus-visible .btn-ic{transform:translateX(4px)}
.btn-ghost{--bc:var(--fir);--tc:#fff;background:transparent;color:var(--ink);border-color:currentColor}
.btn-ghost:hover,.btn-ghost:focus-visible{background:var(--fir);color:#fff;border-color:var(--fir)}
html[data-theme="dark"] .btn-ghost:hover{background:var(--stone);color:var(--fir);border-color:var(--stone)}
html[data-contrast="1"] .btn{--bc:#000;--tc:#fff}
.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:2rem}

/* Operator strip and header. The header stays at the top while scrolling, as on persimmonhomes.com, and slims down. */
.operator{background:var(--night-2);color:var(--on-night-2);font-size:.82rem}
.operator .wrap{display:flex;justify-content:space-between;gap:16px;padding-top:8px;padding-bottom:8px}
.operator strong{color:#fff}
.bar{position:sticky;top:0;z-index:50;background:color-mix(in srgb,var(--surface) 94%,transparent);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--line);transition:box-shadow .3s}
.bar.is-scrolled{box-shadow:0 10px 30px -18px rgba(0,52,54,.5)}
.header-inner{display:flex;align-items:center;gap:24px;min-height:84px;transition:min-height .3s var(--ease)}
.bar.is-scrolled .header-inner{min-height:66px}
.brand{display:flex;margin-right:auto}.brand img{width:auto;height:40px;transition:height .3s var(--ease)}
.bar.is-scrolled .brand img{height:32px}
.brand-dark{display:none}html[data-theme="dark"] .brand-light{display:none}html[data-theme="dark"] .brand-dark{display:block}
.nav{display:flex;align-items:center;gap:2px}
.nav a{position:relative;padding:10px 14px;color:var(--ink);text-decoration:none;font-weight:600;border-radius:999px;transition:background-color .25s,color .25s}
.nav a:hover{background:var(--paper)}
.nav a[aria-current="page"]{background:var(--fir);color:#fff}
html[data-theme="dark"] .nav a[aria-current="page"]{background:var(--lawn);color:#002b2c}
.nav .nav-roles{display:none}
.header-cta{min-height:44px;padding:8px 20px}
.burger{display:none;width:46px;height:46px;border:1px solid var(--line);border-radius:50%;background:transparent;cursor:pointer;position:relative}
.burger span,.burger span::before,.burger span::after{position:absolute;left:13px;right:13px;height:2px;background:var(--ink);content:"";transition:transform .3s var(--ease)}
.burger span{top:22px}.burger span::before{top:-6px;left:0;right:0}.burger span::after{top:6px;left:0;right:0}
.burger[aria-expanded="true"] span{background:transparent}.burger[aria-expanded="true"] span::before{transform:translateY(6px) rotate(45deg)}.burger[aria-expanded="true"] span::after{transform:translateY(-6px) rotate(-45deg)}
@media (max-width:1100px){
 .burger{display:block}.header-cta{display:none}
 .nav{display:none;position:absolute;left:0;right:0;top:100%;flex-direction:column;align-items:stretch;gap:4px;padding:14px var(--gut) 24px;background:var(--surface);border-bottom:1px solid var(--line);box-shadow:0 24px 40px -24px rgba(0,0,0,.3)}
 .nav.open{display:flex;animation:drop .3s var(--ease)}
 .nav a{padding:14px 18px;font-size:1.1rem}
 .nav .nav-roles{display:block;margin-top:10px;background:var(--sun);color:#003436;text-align:center}
}
@keyframes drop{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
@media (max-width:640px){.operator .wrap span:first-child{display:none}.operator .wrap{justify-content:center}.brand img{height:32px}}

/* Accessibility panel */
.a11y{position:relative}
.a11y-btn{width:46px;height:46px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;background:transparent;color:var(--ink);cursor:pointer}
.a11y-btn svg{width:26px;height:26px}
.a11y-panel{position:absolute;right:0;top:calc(100% + 10px);width:min(330px,calc(100vw - 32px));padding:18px;background:var(--surface);border:1px solid var(--line);border-radius:16px;box-shadow:0 24px 48px -20px rgba(0,0,0,.3);display:none;z-index:60}
.a11y-panel.open{display:block}
.a11y-title{font-family:var(--fh);font-weight:700;color:var(--ink);margin-bottom:10px}
.a11y-row{display:flex;align-items:center;gap:12px;padding:10px 0;border-top:1px solid var(--line)}
.aic{width:34px;height:34px;display:grid;place-items:center;color:var(--green)}.aic svg{width:22px;height:22px}
.lbl{flex:1;color:var(--ink);font-weight:600;line-height:1.3}.lbl small{display:block;color:var(--muted);font-weight:400}
.tts-btn,.fs-group button{border:1px solid var(--line);background:var(--paper);color:var(--ink);border-radius:999px;padding:6px 12px;font:600 .9rem var(--fb);cursor:pointer}
.tts-btn[aria-pressed="true"],.fs-group button[aria-pressed="true"]{background:var(--fir);color:#fff;border-color:var(--fir)}
.fs-group{display:flex;gap:4px}.fs-group .fs1{font-size:.8rem}.fs-group .fs2{font-size:.95rem}.fs-group .fs3{font-size:1.1rem}
.tgl{width:46px;height:26px;border-radius:13px;border:1px solid var(--line);background:var(--paper);position:relative;cursor:pointer}
.tgl::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:var(--muted);transition:transform .25s var(--ease)}
.tgl[aria-pressed="true"]{background:var(--green);border-color:var(--green)}.tgl[aria-pressed="true"]::after{transform:translateX(20px);background:#fff}

/* Sections. The stone corner at the top left echoes the angled page corners in the brand guidelines. */
.section{padding:var(--sec) 0;position:relative}
.section-head{max-width:780px;margin-bottom:clamp(36px,5vw,64px)}
.section-head .lead{margin-top:1.1rem}
.corner{position:absolute;pointer-events:none}
.corner-tl{left:0;top:0;width:min(34vw,420px);height:min(30vw,360px);background:var(--surface);clip-path:polygon(0 0,100% 0,0 100%);opacity:.9}

/* HERO - feature: the film inside a house-shaped frame, the three home-symbol pillars rising behind it. */
.hero{position:relative;overflow:hidden;isolation:isolate}
.hero-feature{padding:clamp(40px,5vw,72px) 0 clamp(48px,5vw,72px)}
.hero-grid{position:relative;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(32px,5vw,72px);align-items:center}
.hero-copy .lead{max-width:560px;margin-top:1.6rem}
.hero .w{display:inline-block;overflow:hidden;vertical-align:top;padding-bottom:.1em;margin-bottom:-.1em}
.hero .w>span{display:inline-block}
/* The emphasis word gets the four yellow corner brackets from the Persimmon careers banner. */
.frame{position:relative;display:inline-block;font-style:normal;color:var(--green);padding:0 .14em;margin:0 .04em}
.frame i{position:absolute;width:.32em;height:.32em;border:0 solid var(--sun)}
.frame i:nth-of-type(1){left:-.04em;top:.02em;border-left-width:.07em;border-top-width:.07em}
.frame i:nth-of-type(2){right:-.04em;top:.02em;border-right-width:.07em;border-top-width:.07em}
.frame i:nth-of-type(3){left:-.04em;bottom:.02em;border-left-width:.07em;border-bottom-width:.07em}
.frame i:nth-of-type(4){right:-.04em;bottom:.02em;border-right-width:.07em;border-bottom-width:.07em}
html[data-contrast="1"] .frame i{border-color:#000}
.hero-stage{position:relative;aspect-ratio:1/1.02;max-width:600px;width:100%;justify-self:end}
.house{position:absolute;left:19%;right:0;top:4%;bottom:0;clip-path:polygon(50% 0,100% 30%,100% 100%,0 100%,0 30%);overflow:hidden;background:var(--fir)}
.house-still,.hero-film{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero-film{opacity:0;transition:opacity 1s ease}.hero-film.is-playing{opacity:1}
.house-tint{position:absolute;inset:0;background:linear-gradient(to top,rgba(0,71,73,.55),rgba(0,71,73,0) 45%)}
.stage-pillars{position:absolute;left:0;bottom:0;width:17%;height:74%;display:flex;align-items:flex-end;gap:8%}
.stage-pillars i{display:block;flex:1;transform-origin:bottom;clip-path:polygon(0 18%,100% 0,100% 100%,0 100%)}
.stage-pillars i:nth-child(1){height:62%;background:var(--lawn)}.stage-pillars i:nth-child(2){height:82%;background:var(--green)}.stage-pillars i:nth-child(3){height:100%;background:var(--fir)}
.motion-toggle{position:absolute;right:16px;bottom:16px;z-index:3;width:42px;height:42px;border-radius:50%;border:1px solid rgba(255,255,255,.6);background:rgba(0,52,54,.6);color:#fff;display:grid;place-items:center;cursor:pointer}
.motion-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.motion-toggle .i-play{display:none}.is-paused .i-play{display:block}.is-paused .i-pause{display:none}
.hero-facts{position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:clamp(36px,5vw,64px);background:var(--fir);border-radius:20px;overflow:hidden}
.fact{padding:22px 26px;border-left:1px solid rgba(255,255,255,.14)}
.fact:first-child{border-left:0}
.fact dt{font-size:.8rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--sky)}
.fact dd{font-family:var(--fh);font-size:clamp(1.5rem,2.4vw,2.2rem);font-weight:700;line-height:1.15;color:#fff;margin-top:4px}
.fact:first-child dd{color:var(--sun)}
@media (prefers-reduced-motion:no-preference){
 html.js .hero .w>span{animation:rise .9s var(--ease) both;animation-delay:calc(.1s + var(--wi,0) * 70ms)}
 html.js .frame .frame-txt{display:inline-block;animation:rise .9s var(--ease) both;animation-delay:.35s}
 html.js .frame i{animation:bracket .7s var(--ease) both;animation-delay:.95s}
 html.js .hero-feature .house{animation:raise 1.2s var(--ease) both;animation-delay:.15s}
 html.js .hero .stage-pillars i,html.js .ph-pillars i,html.js .cta-house i{animation:grow 1s var(--ease) both}
 html.js .stage-pillars i:nth-child(1),html.js .ph-pillars i:nth-child(1){animation-delay:.45s}
 html.js .stage-pillars i:nth-child(2),html.js .ph-pillars i:nth-child(2){animation-delay:.6s}
 html.js .stage-pillars i:nth-child(3),html.js .ph-pillars i:nth-child(3){animation-delay:.75s}
}
@keyframes rise{from{transform:translateY(105%)}to{transform:translateY(0)}}
@keyframes bracket{from{opacity:0;transform:scale(2.2)}to{opacity:1;transform:scale(1)}}
@keyframes raise{from{clip-path:polygon(50% 100%,100% 100%,100% 100%,0 100%,0 100%)}to{clip-path:polygon(50% 0,100% 30%,100% 100%,0 100%,0 30%)}}
@keyframes grow{from{transform:scaleY(0)}to{transform:scaleY(1)}}

/* HERO - page head */
.hero-pagehead{padding:clamp(48px,6vw,88px) 0 clamp(56px,6vw,96px)}
.ph-grid{position:relative;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:clamp(32px,5vw,72px);align-items:center}
.hero-pagehead h1{font-size:clamp(2.4rem,4.6vw,4.3rem)}
.ph-art,.about-image,.mt-image{position:relative;margin:0}
.ph-art{aspect-ratio:5/4.4}
.ph-frame{position:absolute;left:12%;right:0;top:0;bottom:0;overflow:hidden;border-radius:24px;clip-path:polygon(0 0,100% 0,100% 100%,22% 100%,0 78%)}
.ph-frame img{width:100%;height:100%;object-fit:cover}
.ph-pillars{position:absolute;left:0;bottom:0;width:22%;height:70%;display:flex;align-items:flex-end;gap:6%;z-index:1}
.ph-pillars i{display:block;flex:1;transform-origin:bottom;clip-path:polygon(0 18%,100% 0,100% 100%,0 100%)}
.ph-pillars i:nth-child(1){height:55%;background:var(--sky)}.ph-pillars i:nth-child(2){height:78%;background:var(--lawn)}.ph-pillars i:nth-child(3){height:100%;background:var(--green)}
.ph-art-plain{display:flex;align-items:flex-end;justify-content:center}

/* STATS - a fir-green band with large figures; brand chevrons drift through in the background. */
.stats{background:var(--fir);color:var(--on-night-2);overflow:hidden;isolation:isolate}
.stats h2{color:#fff}.stats .eyebrow{color:var(--sky)}.stats .eb-mark{background:var(--sun)}
.stat-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(16px,2vw,28px)}
.stat{padding:28px 0 0;border-top:3px solid var(--lawn)}
.stat:first-child{border-top-color:var(--sun)}
.stat dt{font-family:var(--fh);font-size:clamp(2.6rem,4.6vw,4.4rem);line-height:1;font-weight:700;color:#fff;letter-spacing:-.03em;font-variant-numeric:tabular-nums;white-space:nowrap}
.stat:first-child dt{color:var(--sun)}
.stat dt{position:relative}
.stat-pre{position:absolute;left:0;bottom:100%;margin-bottom:6px;font-family:var(--fb);font-size:.78rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--sky);line-height:1}
.stat dd{margin-top:.8rem;color:var(--on-night-2)}
.chevrons{position:absolute;right:-60px;top:50%;transform:translateY(-50%);display:flex;gap:18px;z-index:-1;opacity:.12}
.chevrons i{display:block;width:120px;height:240px;background:var(--lawn);clip-path:polygon(0 0,40% 0,100% 50%,40% 100%,0 100%,60% 50%)}
@media (prefers-reduced-motion:no-preference){html.js .chevrons{animation:chev 14s linear infinite alternate}}
@keyframes chev{from{transform:translate(0,-50%)}to{transform:translate(-120px,-50%)}}

/* ABOUT */
.about-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:clamp(36px,6vw,96px);align-items:center}
.about-copy h2{margin-bottom:1.6rem}
.about-body p:first-child{font-size:1.2rem;color:var(--ink)}
.about-image{aspect-ratio:4/4.6}

/* STEPS as a rotation track: eight house-shaped cards slide sideways as you scroll down. */
.rotation{padding:0;background:var(--paper)}
.track-pin{position:relative}
.track-sticky{padding:var(--sec) 0 clamp(48px,6vw,80px);overflow:hidden}
.rotation .section-head{margin-bottom:clamp(28px,4vw,48px)}
.track-view{overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;padding:8px 0 22px;-webkit-overflow-scrolling:touch}
.track-view:focus-visible{outline-offset:-3px}
.track{display:flex;gap:18px;width:max-content;padding:0 var(--gut) 0 max(var(--gut),calc((100vw - var(--wrap)) / 2))}
.room{position:relative;flex:none;width:clamp(230px,24vw,300px);scroll-snap-align:start}
.room-roof{display:block;height:56px;background:var(--green);clip-path:polygon(50% 0,100% 100%,0 100%)}
.room-body{min-height:300px;padding:26px 26px 30px;background:var(--green);color:#e6f3ef;display:flex;flex-direction:column}
.room:nth-child(3n+2) .room-roof,.room:nth-child(3n+2) .room-body{background:var(--fir)}
.room:nth-child(3n+3) .room-roof,.room:nth-child(3n+3) .room-body{background:var(--lawn);color:#00302f}
.room:nth-child(3n+3) h3,.room:nth-child(3n+3) .room-num{color:#002b2c}
.room-num{font-family:var(--fh);font-size:3.4rem;font-weight:700;line-height:1;color:rgba(255,255,255,.95)}
.room-ic{display:grid;place-items:center;width:52px;height:52px;margin:22px 0 auto;border-radius:50%;background:rgba(255,255,255,.16);color:#fff}
.room:nth-child(3n+3) .room-ic{background:rgba(0,48,47,.12);color:#002b2c}
.room-ic .ic{width:26px;height:26px}
.room-when{margin:24px 0 .3rem;font-size:.78rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;opacity:.85}
.room h3{font-size:1.45rem;color:#fff}
.room p:not(.room-when){margin-top:.6rem;font-size:.98rem}
.room.is-final .room-roof,.room.is-final .room-body{background:var(--sun);color:#003436}
.room.is-final h3,.room.is-final .room-num{color:#003436}.room.is-final .room-ic{background:rgba(0,52,54,.12);color:#003436}
.track-meter{display:flex;align-items:center;gap:16px;margin-top:22px;font-size:.82rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--green)}
.meter{flex:1;height:4px;background:var(--line);border-radius:4px;overflow:hidden}
.meter-fill{display:block;height:100%;width:100%;background:linear-gradient(90deg,var(--lawn),var(--sun));transform-origin:left;transform:scaleX(var(--p,1))}
/* Pinned version (wide screens, motion allowed): the script sets the pin height and the slide. */
html.track-on .track-view{overflow:visible;scroll-snap-type:none;padding-bottom:8px}
html.track-on .track-sticky{position:sticky;top:0;min-height:100vh;display:flex;flex-direction:column;justify-content:center}
html.track-on .track{transform:translate3d(var(--tx,0),0,0);will-change:transform}

/* MAP - a dot map of the UK with the six offices pinned; the list and the pins light up together. */
.locations{background:var(--surface)}
.map-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(32px,5vw,80px);align-items:center}
.locs{display:grid;gap:10px}
.locs li{display:flex;align-items:center;gap:14px;padding:14px 18px;border:1px solid var(--line);border-radius:999px;background:var(--paper);cursor:default;transition:background-color .3s,border-color .3s,transform .3s var(--ease)}
.locs li.is-on,.locs li:hover,.locs li:focus-visible{background:var(--fir);border-color:var(--fir);color:#fff;transform:translateX(6px)}
.locs li.is-on strong,.locs li:hover strong,.locs li:focus-visible strong{color:#fff}
.locs strong{display:block;color:var(--ink);font-weight:700}.locs small{display:block;font-size:.88rem;opacity:.8}
.loc-ic{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--lawn);color:#fff;flex:none}
.loc-ic .ic{width:20px;height:20px}
.map-note{margin-top:22px;color:var(--muted)}
.map-art{position:relative;max-width:480px;width:100%;justify-self:center}
.map-dots{width:100%;height:auto}
.map-pins{position:absolute;inset:0}
.pin{position:absolute;width:0;height:0}
.pin-dot{position:absolute;left:-11px;top:-30px;width:22px;height:30px;background:var(--sun);clip-path:path("M11 30C11 30 0 17.5 0 11a11 11 0 0 1 22 0c0 6.5-11 19-11 19z");filter:drop-shadow(0 2px 2px rgba(0,0,0,.25));transition:transform .3s var(--ease)}
.pin-ring{position:absolute;left:-14px;top:-14px;width:28px;height:28px;border-radius:50%;border:2px solid var(--sun);opacity:0}
.pin.is-on .pin-dot{transform:scale(1.35)}
.pin.is-on .pin-ring{opacity:1}
@media (prefers-reduced-motion:no-preference){
 html.rv-on .map-art:not(.rv-in) .pin-dot{transform:translateY(-40px);opacity:0}
 html.js .map-art .pin-dot{transition:transform .7s cubic-bezier(.3,1.6,.5,1) var(--d),opacity .3s var(--d)}
 html.js .map-art.rv-in .pin-ring{animation:pulse 2.4s ease-out infinite;animation-delay:calc(var(--d) + .8s)}
}
@keyframes pulse{0%{opacity:.9;transform:scale(.5)}100%{opacity:0;transform:scale(2.2)}}

/* ICON GRID */
.icon-grid{background:var(--paper)}
.tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(14px,1.6vw,22px)}
.tiles-5{grid-template-columns:repeat(5,minmax(0,1fr))}
.tile{position:relative;padding:28px 24px 30px;background:var(--surface);border-radius:20px;border:1px solid var(--line);overflow:hidden;transition:transform .45s var(--ease),box-shadow .45s var(--ease)}
.tile::after{content:"";position:absolute;right:-30px;bottom:-30px;width:90px;height:90px;background:var(--stone);clip-path:polygon(50% 0,100% 40%,100% 100%,0 100%,0 40%);transition:transform .6s var(--ease),background-color .4s}
.tile:hover{transform:translateY(-6px);box-shadow:0 24px 40px -26px rgba(0,71,73,.45)}
.tile:hover::after{transform:translate(-18px,-18px) rotate(-8deg);background:var(--sun)}
.tile-ic{position:relative;z-index:1;display:inline-grid;place-items:center;width:50px;height:50px;border-radius:50%;background:var(--fir);color:#fff;margin-bottom:18px}
.tile-ic .ic{width:24px;height:24px}
.tile h3{position:relative;z-index:1;font-size:1.15rem}
.tile p{position:relative;z-index:1;margin-top:.5rem;color:var(--muted);font-size:.98rem}
html[data-theme="dark"] .tile::after{background:var(--line)}

/* MEDIA TEXT */
.mt-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(36px,6vw,96px);align-items:center}
.mt-grid:not(.is-right) .mt-image{order:-1}
.mt-copy h2{margin-bottom:1.4rem}
.mt-image{aspect-ratio:4/4.4}
.pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:1.6rem}
.pills li{padding:8px 16px;border-radius:999px;background:var(--surface);border:1px solid var(--line);font-weight:600;color:var(--ink);font-size:.95rem}

/* COLUMNS */
.columns{background:var(--surface)}
.cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(16px,2vw,28px)}
.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.col{padding:clamp(26px,3vw,40px);background:var(--paper);border-radius:24px;border-top:6px solid var(--lawn)}
.col:nth-child(2){border-top-color:var(--sky)}.col:nth-child(3){border-top-color:var(--sun)}
.col h3{font-size:1.5rem;margin:.2rem 0 .8rem}

/* CHECKLIST */
.checklist-grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(32px,5vw,80px);align-items:start}
.checklist .section-head{position:sticky;top:110px}
.checks{display:grid;gap:12px}
.checks li{display:flex;gap:18px;align-items:flex-start;padding:20px 22px;background:var(--surface);border:1px solid var(--line);border-radius:18px}
.list-ic{flex:none;display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:var(--lawn);color:#fff}
.list-ic .ic{width:22px;height:22px}
.checks h3{font-size:1.1rem;margin-top:.55rem}
.checks p{color:var(--muted);margin-top:.35rem}

/* STEPS - the process as brand chevrons that light up in turn. */
.steps{background:var(--surface)}
.stages{display:grid;grid-template-columns:repeat(var(--n,4),minmax(0,1fr));gap:clamp(12px,1.4vw,18px)}
.stage{display:flex;flex-direction:column}
.stage-chev{position:relative;display:flex;align-items:center;height:64px;padding-left:28px;background:var(--line);clip-path:polygon(0 0,calc(100% - 28px) 0,100% 50%,calc(100% - 28px) 100%,0 100%,28px 50%);transition:background-color .6s var(--ease)}
.stage:first-child .stage-chev{clip-path:polygon(0 0,calc(100% - 28px) 0,100% 50%,calc(100% - 28px) 100%,0 100%)}
.stage-n{font-family:var(--fh);font-size:1.6rem;font-weight:700;color:var(--ink);padding-left:12px;transition:color .6s}
.stage.is-lit .stage-chev{background:var(--green)}.stage.is-lit .stage-n{color:#fff}
.stage.is-final.is-lit .stage-chev{background:var(--sun)}.stage.is-final.is-lit .stage-n{color:#003436}
.stage-body{flex:1;margin-top:16px;padding:22px 22px 26px;background:var(--paper);border-radius:18px}
.stage-ic{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--fir);color:#fff;margin-bottom:14px}
.stage-ic .ic{width:22px;height:22px}
.stage-when{font-size:.78rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--green);margin-bottom:.3rem}
.stage h3{font-size:1.25rem;margin-bottom:.5rem}
.stage p:not(.stage-when){color:var(--muted)}

/* TABLE */
.table-grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(32px,5vw,80px);align-items:start}
.table-wrap{border-radius:20px;overflow:hidden;border:1px solid var(--line);background:var(--surface)}
table{width:100%;border-collapse:collapse}
th,td{padding:18px 22px;text-align:left;border-top:1px solid var(--line)}
thead th{background:var(--fir);color:#fff;font-size:.8rem;letter-spacing:.12em;text-transform:uppercase;border-top:0}
tbody th{font-weight:600;color:var(--ink)}
tr.hl th,tr.hl td{background:color-mix(in srgb,var(--sun) 35%,var(--surface));color:#003436}

/* FAQ */
.faq-grid{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);gap:clamp(32px,5vw,80px);align-items:start}
.faq .section-head{position:sticky;top:110px}
.accordion{display:grid;gap:10px}
.accordion-item{background:var(--surface);border:1px solid var(--line);border-radius:18px;overflow:hidden}
.accordion-item h3{font-size:inherit}
.accordion-trigger{width:100%;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 22px;border:0;background:none;text-align:left;font:700 1.1rem/1.35 var(--fb);color:var(--ink);cursor:pointer}
.accordion-trigger svg{flex:none;width:30px;height:30px;padding:6px;border-radius:50%;background:var(--paper);fill:none;stroke:var(--green);stroke-width:2.4;stroke-linecap:round;transition:transform .35s var(--ease),background-color .3s}
.accordion-trigger[aria-expanded="true"] svg{transform:rotate(45deg);background:var(--sun);stroke:#003436}
.answer{padding:0 22px 22px;color:var(--text)}

/* CTA band - with the home symbol's pillars rising on the right. */
.cta-band{background:var(--fir);color:var(--on-night-2);overflow:hidden;isolation:isolate}
.cta-band h2{color:#fff}.cta-band .eyebrow{color:var(--sun)}.cta-band .eb-mark{background:var(--sun)}
.cta-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:clamp(28px,5vw,80px);align-items:end}
.cta-copy p{font-size:1.15rem}
.cta-band .btn-ghost{color:#fff}.cta-band .btn-ghost:hover{background:#fff;color:var(--fir);border-color:#fff}
.cta-house{position:absolute;right:-2%;bottom:0;width:min(34vw,420px);height:100%;display:flex;align-items:flex-end;gap:4%;z-index:-1;opacity:.22}
.cta-house i{display:block;flex:1;transform-origin:bottom;clip-path:polygon(0 18%,100% 0,100% 100%,0 100%)}
.cta-house i:nth-child(1){height:50%;background:var(--sky)}.cta-house i:nth-child(2){height:72%;background:var(--lawn)}.cta-house i:nth-child(3){height:94%;background:#fff}

/* Footer */
.footer{position:relative;background:var(--night-2);color:#cfe2dd;padding:64px 0 44px;overflow:hidden}
.footer .wrap{position:relative;display:flex;flex-wrap:wrap;justify-content:space-between;gap:28px;align-items:flex-start}
.footer-brand img{height:38px;width:auto}
.footer-top p{margin-top:14px;font-family:var(--fh);font-size:1.2rem;color:#fff}
.footer-nav{display:flex;flex-wrap:wrap;gap:8px 24px}
.footer-nav a{color:#fff;text-decoration:none;display:inline-flex;align-items:center;gap:.4em;font-weight:600}
.footer-nav a:hover{color:var(--sun)}
.footer-nav .ic{width:1em;height:1em}
.footer-pillars{position:absolute;right:4%;bottom:0;width:140px;height:110px;display:flex;align-items:flex-end;gap:6px;opacity:.25}
.footer-pillars i{display:block;flex:1;clip-path:polygon(0 18%,100% 0,100% 100%,0 100%)}
.footer-pillars i:nth-child(1){height:55%;background:var(--lawn)}.footer-pillars i:nth-child(2){height:78%;background:var(--green)}.footer-pillars i:nth-child(3){height:100%;background:var(--sky)}
#auto-top-link{position:fixed;right:20px;bottom:20px;z-index:40;width:50px;height:50px;display:grid;place-items:center;border-radius:50%;background:var(--sun);color:#003436;opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .3s,transform .3s,visibility .3s}
#auto-top-link svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
#auto-top-link.is-visible{opacity:1;visibility:visible;transform:none}

/* Scroll entrances. Content is only hidden once the script runs and motion is allowed. */
html.rv-pre [data-rv]{opacity:0}
html.rv-on [data-rv]{transition:opacity .9s var(--ease),transform .9s var(--ease),clip-path 1.1s var(--ease);transition-delay:var(--rv-delay,0s)}
html.rv-on [data-rv]:not(.rv-in){opacity:0}
html.rv-on [data-rv="up"]:not(.rv-in){transform:translateY(30px)}
html.rv-on [data-rv="clip"]{clip-path:inset(0 0 0 0)}
html.rv-on [data-rv="clip"]:not(.rv-in){opacity:1;clip-path:inset(100% 0 0 0)}
html.rv-on [data-rv].rv-in{opacity:1;transform:translate(0,0)}
@media (prefers-reduced-motion:reduce){
 html{scroll-behavior:auto}
 *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
 html.rv-on [data-rv],html.rv-pre [data-rv]{opacity:1!important;transform:none!important;clip-path:none!important}
}

/* Layout below desktop */
@media (max-width:1100px){
 .tiles,.tiles-5{grid-template-columns:repeat(3,minmax(0,1fr))}
 .stat-row{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:32px}
 .checklist-grid,.faq-grid,.table-grid{grid-template-columns:1fr}
 .checklist .section-head,.faq .section-head{position:static}
 .stages{grid-template-columns:repeat(2,minmax(0,1fr))}
 .stage:nth-child(3) .stage-chev{clip-path:polygon(0 0,calc(100% - 28px) 0,100% 50%,calc(100% - 28px) 100%,0 100%)}
}
@media (max-width:900px){
 .hero-grid,.ph-grid,.about-grid,.cta-grid,.mt-grid,.map-grid{grid-template-columns:1fr}
 .hero-stage{max-width:520px;justify-self:center}
 .hero-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
 .fact:nth-child(3){border-left:0}.fact:nth-child(n+3){border-top:1px solid rgba(255,255,255,.14)}
 .mt-grid:not(.is-right) .mt-image{order:0}
 .ph-art,.about-image,.mt-image{max-width:520px;width:100%}
 .cols{grid-template-columns:1fr}
 .corner-tl{width:50vw;height:40vw}
}
@media (max-width:640px){
 body{font-size:1rem}
 .tiles,.tiles-5{grid-template-columns:1fr}
 .stat-row{grid-template-columns:1fr 1fr}
 .stat dt{font-size:2.3rem}
 .actions .btn{flex:1 1 100%}
 .stages{grid-template-columns:1fr}
 .stage .stage-chev,.stage:first-child .stage-chev,.stage:nth-child(3) .stage-chev{clip-path:polygon(0 0,calc(100% - 22px) 0,100% 50%,calc(100% - 22px) 100%,0 100%)}
 .fact{padding:18px}
 .room{width:78vw}
 th,td{padding:14px 16px}
}

/* HERO - full-width film option: the film behind the copy, a fir-green shade for legibility, facts along the foot,
   and the bottom right corner cut at the brand angle. */
.hero-full{padding:0;min-height:max(620px,calc(100svh - 122px));display:flex;flex-direction:column;justify-content:flex-end;background:var(--fir);clip-path:polygon(0 0,100% 0,100% calc(100% - 72px),calc(100% - 160px) 100%,0 100%)}
.hero-full .corner{display:none}
.full-media{position:absolute;inset:0;z-index:-1;overflow:hidden}
.full-still,.hero-full .hero-film{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.full-scrim{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,52,54,.92) 0,rgba(0,52,54,.72) 38%,rgba(0,52,54,.2) 72%,rgba(0,52,54,.05) 100%),linear-gradient(to top,rgba(0,52,54,.85) 0,rgba(0,52,54,0) 40%)}
.full-inner{position:relative;padding-top:clamp(56px,7vw,110px);padding-bottom:clamp(28px,3vw,44px)}
.hero-full .hero-copy{max-width:720px}
.hero-full h1{color:#fff;font-size:clamp(2.8rem,5.4vw,5.2rem)}
.hero-full .frame{color:var(--lawn)}
.hero-full .eyebrow{color:var(--sky)}.hero-full .eb-mark{background:var(--sun)}
.hero-full .lead{color:#e3efeb;max-width:600px}
.hero-full .btn-ghost{color:#fff}.hero-full .btn-ghost:hover{background:#fff;color:var(--fir);border-color:#fff}
.hero-full .motion-toggle{right:var(--gut);bottom:clamp(36px,4vw,56px)}
.full-foot{position:relative;padding-bottom:clamp(36px,4vw,60px)}
.hero-full .hero-facts{margin-top:0;background:rgba(0,52,54,.62);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.16)}
@media (prefers-reduced-motion:no-preference){
 html.js .hero-full .full-still{animation:kb 18s ease-in-out infinite alternate}
 html.js .hero-full  html.js .hero-full }
@keyframes kb{from{transform:scale(1.02)}to{transform:scale(1.1)}}
@media (max-width:900px){
 .hero-full{min-height:0;clip-path:polygon(0 0,100% 0,100% calc(100% - 40px),calc(100% - 90px) 100%,0 100%)}
 .full-scrim{background:linear-gradient(to top,rgba(0,52,54,.95) 0,rgba(0,52,54,.8) 55%,rgba(0,52,54,.45) 100%)}
 .full-inner{padding-top:120px}
 .hero-full .motion-toggle{top:16px;bottom:auto}
}
/* Graduate stories (28th Oct) */
.stories{background:var(--surface)}
.stories-row{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:clamp(16px,1.8vw,24px)}
.stories-row:focus-visible{outline:3px solid var(--focus);outline-offset:6px;border-radius:24px}
.story-card{display:flex;flex-direction:column;background:var(--paper);border-radius:24px;overflow:hidden;border-top:6px solid var(--lawn);transition:transform .45s var(--ease),box-shadow .45s var(--ease)}
.story-card:nth-child(3n+2){border-top-color:var(--sky)}.story-card:nth-child(3n){border-top-color:var(--sun)}
.story-card:hover{transform:translateY(-6px);box-shadow:0 24px 40px -26px rgba(0,71,73,.45)}
.story-photo{margin:0;aspect-ratio:4/5;overflow:hidden;background:var(--line)}
.story-photo img{width:100%;height:100%;object-fit:cover;transition:transform .8s var(--ease)}
.story-card:hover .story-photo img{transform:scale(1.04)}
.story-body{display:flex;flex-direction:column;flex:1;padding:22px 22px 24px}
.story-body blockquote{margin:0 0 18px;position:relative;padding-top:26px}
.story-body blockquote::before{content:"\201C";position:absolute;top:-14px;left:-2px;font:800 3.6rem/1 var(--fh);color:var(--lawn)}
.story-body blockquote p{margin:0;font-size:1.02rem;line-height:1.55;color:var(--ink);font-weight:500}
.story-who{margin:auto 0 0;display:flex;flex-direction:column;gap:2px}
.story-who strong{font-family:var(--fh);font-size:1.15rem;color:var(--ink)}
.story-who span{font-size:.9rem;color:var(--muted)}
.story-link{display:inline-flex;align-items:center;gap:8px;margin-top:14px;font-weight:700;color:var(--green);text-decoration:none}
.story-link .ic{width:18px;height:18px;transition:transform .3s var(--ease)}
.story-link:hover{text-decoration:underline}.story-link:hover .ic{transform:translateX(4px)}
.stories-more{margin-top:clamp(28px,4vw,44px)}
.stories .btn-ghost{color:var(--ink)}
.people{display:grid;gap:clamp(48px,7vw,96px)}
.person{display:grid;grid-template-columns:minmax(0,.42fr) minmax(0,.58fr);gap:clamp(28px,5vw,72px);align-items:start;scroll-margin-top:110px}
.person:nth-child(even){grid-template-columns:minmax(0,.58fr) minmax(0,.42fr)}.person:nth-child(even) .person-photo{order:2}
.person-photo{margin:0;width:100%;max-width:460px;position:sticky;top:110px;border-radius:24px;overflow:hidden;aspect-ratio:4/5;border-top:6px solid var(--lawn);background:var(--line)}
.person:nth-child(even) .person-photo{border-top-color:var(--sun);justify-self:end}
.person-photo img{width:100%;height:100%;object-fit:cover}
.person-copy h3{font-size:clamp(1.6rem,2.6vw,2.2rem)}
.person-role{margin:.3rem 0 1.2rem;font-weight:700;color:var(--green)}
.person-bio p{margin:0 0 1em;line-height:1.7}
.person-bio p:first-child{font-size:1.12rem;color:var(--ink)}
@media (max-width:900px){.person,.person:nth-child(even){grid-template-columns:1fr}.person:nth-child(even) .person-photo{order:0}.person-photo{position:static;max-width:420px}}
@media (max-width:640px){
.stories-row{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:14px;padding:4px 2px 18px;margin:0 calc(-1*var(--gut));padding-left:var(--gut);padding-right:var(--gut);scroll-padding-left:var(--gut)}
.story-card{flex:0 0 82%;scroll-snap-align:start}
.story-card:hover{transform:none}
}
@media (prefers-reduced-motion:reduce){.story-card,.story-photo img,.story-link .ic{transition:none}.story-card:hover,.story-card:hover .story-photo img{transform:none}}
/* Five hero facts (deadline added 12th Nov 2026) */
.hero-facts:has(.fact:nth-child(5)){grid-template-columns:repeat(4,minmax(0,1fr)) minmax(0,1.5fr)}
.hero-facts:has(.fact:nth-child(5)) .fact dd{font-size:clamp(1.35rem,2vw,1.9rem)}
@media (max-width:900px){.hero-facts:has(.fact:nth-child(5)){grid-template-columns:repeat(2,minmax(0,1fr))}.fact:nth-child(5){grid-column:1/-1;border-left:0}}
