/* ---------- home, Richard's standalone homepage (16 Nov) ---------- */
/* The same arrangement as the Owner's Seat: site.css is neutralised inside the
   wrapper and his rules re-apply over it. SVG is left alone so its presentation
   attributes keep their geometry. */
#page-home,#page-home *:where(:not(svg, svg *)){all:revert}
#page-home{all:initial;display:block}
#page-home{
  --ink:#00503A; --gold:#FED600; --bone:#FFFFFF;
  --leaf:#0B7A53; --char:#14211C; --mute:#3A4541;
  --line:rgba(0,80,58,.18);
  --wrap:1280px; --pad:clamp(22px,5vw,72px);
  --sec:clamp(84px,11vw,168px);
  --grain:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='160' height='160' filter='url(%23n)' opacity='.6'/></svg>");
}
#page-home *,#page-home *::before,#page-home *::after{box-sizing:border-box}
#page-home{margin:0;background:var(--bone);color:var(--char);font-family:Inter,system-ui,sans-serif;
  font-size:1rem;line-height:1.65;-webkit-font-smoothing:antialiased;overflow-x:clip}
#page-home img,#page-home video{max-width:100%}
#page-home h1,#page-home h2,#page-home h3,#page-home h4{margin:0}
#page-home p{margin:0 0 1em}
#page-home p:last-child{margin-bottom:0}
#page-home ul,#page-home ol{margin:0;padding:0;list-style:none}
#page-home a{color:inherit}
#page-home :focus-visible{outline:3px solid var(--leaf);outline-offset:3px;border-radius:2px}
#page-home .on-dark :focus-visible,#page-home .gold :focus-visible{outline-color:var(--ink)}
#page-home .on-dark :focus-visible{outline-color:var(--gold)}
#page-home .wrap{max-width:var(--wrap);margin-inline:auto;padding-inline:var(--pad)}
#page-home .sec{padding-block:var(--sec)}
#page-home .on-dark{background:var(--ink);color:var(--bone)}
#page-home .gold{background:var(--gold);color:var(--ink)}
/* ---------- type ---------- */
#page-home .d1,#page-home .d2,#page-home .d3,#page-home .d4{font-family:Anton,Impact,sans-serif;font-weight:400;text-transform:uppercase;
  line-height:.9;letter-spacing:.004em}
#page-home .d1{font-size:clamp(2.6rem,6.1vw,5.2rem)}
#page-home .d2{font-size:clamp(2.1rem,5.4vw,4.4rem);line-height:.93}
#page-home .d3{font-size:clamp(1.5rem,2.9vw,2.3rem);line-height:.98}
#page-home .d4{font-size:clamp(1.05rem,1.7vw,1.3rem);line-height:1.06}
#page-home .mark{color:var(--leaf)}
/* The one word that carries the headline. Dark green filled, outlined in
   yellow so it holds up over any part of a photograph or a moving frame.
   paint-order keeps the stroke behind the letterform, not through it. */
#page-home .mark--out{color:var(--ink);-webkit-text-stroke:0.055em var(--gold);
  paint-order:stroke fill;text-shadow:0 2px 14px rgba(0,30,20,.45)}
@supports not (paint-order: stroke){
#page-home .mark--out{color:var(--gold);-webkit-text-stroke:0}
}
#page-home .on-dark .mark{color:var(--gold)}
#page-home .lede{font-family:"Playfair Display",Georgia,serif;font-style:italic;
  font-size:clamp(1.15rem,2.2vw,1.65rem);line-height:1.4}
#page-home .eyebrow{font-size:.68rem;text-transform:uppercase;letter-spacing:.2em;font-weight:600;
  color:var(--leaf);margin:0 0 20px}
#page-home .on-dark .eyebrow,#page-home .gold .eyebrow{color:var(--ink)}
#page-home .on-dark .eyebrow{color:var(--gold)}
#page-home .say{font-size:clamp(1.02rem,1.5vw,1.18rem);line-height:1.6;color:var(--mute);max-width:46ch}
#page-home .on-dark .say{color:rgba(255,255,255,.86)}
#page-home .gold .say{color:rgba(0,80,58,.88)}
#page-home .tiny{font-size:.78rem;line-height:1.55;color:rgba(20,33,28,.62)}
#page-home .on-dark .tiny{color:rgba(255,255,255,.62)}
/* ---------- buttons ---------- */
#page-home .btn{display:inline-flex;align-items:center;justify-content:center;gap:.6em;min-height:54px;
  padding:16px 30px;border:1.5px solid transparent;border-radius:3px;cursor:pointer;
  font:600 .9rem/1 Inter,sans-serif;letter-spacing:.03em;text-decoration:none;
  transition:transform .18s ease,background .18s ease,border-color .18s ease}
#page-home .btn:hover{transform:translateY(-2px)}
#page-home .btn--gold{background:var(--gold);color:var(--ink)}
#page-home .btn--gold:hover{background:#ffe246}
#page-home .btn--ink{background:var(--ink);color:var(--bone)}
#page-home .btn--ink:hover{background:#063f2f}
#page-home .btn--ghost{background:transparent;color:var(--ink);border-color:var(--line)}
#page-home .btn--ghost:hover{border-color:var(--ink)}
#page-home .on-dark .btn--ghost{color:var(--bone);border-color:rgba(255,255,255,.46)}
#page-home .on-dark .btn--ghost:hover{background:rgba(255,255,255,.1);border-color:#fff}
/* Over a photograph or a video nothing transparent survives. Both of these
   are solid, so they read whatever frame is behind them. */
#page-home .btn--deep{background:var(--ink);color:var(--bone);border-color:var(--ink);
  box-shadow:0 6px 22px rgba(0,30,20,.3)}
#page-home .btn--deep:hover{background:#063F2F}
#page-home .hero .btn--gold{box-shadow:0 6px 22px rgba(0,30,20,.3)}
#page-home .acts{display:flex;flex-wrap:wrap;gap:14px;margin-top:clamp(26px,3vw,38px)}
/* ---------- picture frames ---------- */
#page-home .pic{position:relative;overflow:hidden;isolation:isolate;border-radius:4px;container-type:inline-size;
  background:radial-gradient(118% 88% at 16% 10%,rgba(254,214,0,.26),transparent 56%),
             linear-gradient(157deg,#0B7A53 0%,#00503A 80%)}
#page-home .pic>img,#page-home .pic>video{width:100%;height:100%;object-fit:cover;display:block;
  object-position:var(--pos,50% 50%)}
#page-home .pic::before{content:"";position:absolute;inset:0;z-index:3;pointer-events:none;
  background-image:var(--grain);opacity:.1;mix-blend-mode:overlay}
#page-home .r169{aspect-ratio:16/9}
#page-home .r43{aspect-ratio:4/3}
#page-home .r11{aspect-ratio:1/1}
#page-home .r45{aspect-ratio:4/5}
#page-home .r32{aspect-ratio:3/2}
/* ---------- nav ---------- */
/* ---------- 1. HERO ---------- */
#page-home .hero{position:relative;min-height:clamp(600px,92vh,960px);display:flex;align-items:flex-end;
  overflow:hidden;isolation:isolate;background:var(--ink)}
#page-home .hero__media{position:absolute;inset:0;z-index:0;border-radius:0}
#page-home .hero__media::before{display:none}
#page-home .hero::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(6deg,rgba(0,38,27,.93) 2%,rgba(0,52,38,.66) 46%,rgba(0,58,42,.2) 88%)}
#page-home .hero .wrap{position:relative;z-index:3;width:100%;padding-block:0 clamp(72px,9vw,124px)}
#page-home .hero h1{color:#fff;margin-bottom:24px;
  /* 13ch and a 2.6rem floor were tuned for a five word headline. A longer
     line needs a wider measure and a smaller floor, or it runs to five
     lines and buries the video behind it. Scoped to the hero only. */
  /* The four line breaks are set by hand in the markup. The floor is low
     enough that a 360px phone still honours them instead of re-wrapping.
     line-height is looser than the .9 the other display sizes use, so the
     four lines breathe; the size comes down a touch to pay for the extra
     height, which keeps the video clear on a 1280 laptop. */
  max-width:none;font-size:clamp(1.7rem,6.1vw,4.4rem);line-height:1.02}
#page-home .hero .lede{color:rgba(255,255,255,.94);max-width:34ch;margin:0 0 18px}
#page-home .hero__note{color:rgba(255,255,255,.8);max-width:46ch;font-size:clamp(.94rem,1.15vw,1.02rem);margin:0}
#page-home .hero .eyebrow{color:var(--gold)}
#page-home .vctl{position:absolute;right:var(--pad);bottom:clamp(20px,3vw,34px);z-index:6;display:flex;gap:10px}
#page-home .vctl button{width:50px;height:50px;display:inline-flex;align-items:center;justify-content:center;
  border-radius:50%;background:rgba(0,45,33,.6);border:1px solid rgba(255,255,255,.46);
  color:#fff;cursor:pointer;backdrop-filter:blur(6px);transition:background .18s ease}
#page-home .vctl button:hover{background:rgba(0,45,33,.9)}
#page-home .vctl svg{width:17px;height:17px;fill:currentColor;pointer-events:none}
#page-home .vctl .i-pause,#page-home .vctl .i-on{display:none}
#page-home .vctl button[data-s="paused"] .i-play{display:none}
#page-home .vctl button[data-s="paused"] .i-pause{display:block}
#page-home .vctl button[data-s="on"] .i-off{display:none}
#page-home .vctl button[data-s="on"] .i-on{display:block}
#page-home .vctl[hidden]{display:none}
/* ---------- 2. PATHWAYS ---------- */
#page-home .ways{border-top:1px solid var(--line);margin-top:clamp(40px,5vw,66px)}
#page-home .way{display:grid;grid-template-columns:76px 300px 1fr;gap:clamp(18px,3vw,44px);align-items:center;
  padding-block:clamp(18px,2.2vw,26px);border-bottom:1px solid var(--line);
  transition:background .25s ease}
#page-home .way:hover{background:#FAFBFA}
#page-home .way__n{font-family:Anton,sans-serif;font-size:1rem;letter-spacing:.14em;color:var(--leaf)}
#page-home .way__p{border-radius:3px;overflow:hidden}
#page-home .way__p .pic{aspect-ratio:16/10}
#page-home .way h3{margin-bottom:6px}
#page-home .way p{margin:0;font-size:.98rem;color:var(--mute);max-width:40ch}
/* ---------- 3. INDUSTRY ---------- */
#page-home .ind{display:grid;grid-template-columns:1.15fr .85fr;gap:clamp(20px,2.6vw,34px);
  margin-top:clamp(40px,5vw,64px)}
#page-home .ind .pic{height:100%;min-height:300px}
#page-home .ind__col{display:grid;gap:clamp(20px,2.6vw,34px)}
#page-home .lrn{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(18px,2.4vw,34px);
  margin-top:clamp(34px,4.2vw,54px)}
#page-home .lrn__i h4{margin:0 0 10px}
#page-home .lrn__i p{margin:0;color:rgba(255,255,255,.84);line-height:1.5;max-width:36ch}
#page-home .lrn__end{margin-top:clamp(30px,3.6vw,44px);max-width:58ch}
#page-home .shifts{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(18px,2.4vw,32px);
  margin-top:clamp(40px,5vw,64px);padding-top:clamp(32px,4vw,48px);
  border-top:1px solid rgba(255,255,255,.2)}
#page-home .hzn{margin-top:clamp(44px,5.5vw,72px);padding-top:clamp(32px,4vw,48px);
  border-top:1px solid rgba(255,255,255,.2)}
#page-home .hzn__lead{max-width:60ch}
#page-home .hzn__lead .d3{margin:0 0 14px}
#page-home .hzn__grid{display:grid;grid-template-columns:1.02fr .98fr;
  gap:clamp(26px,3.6vw,56px);align-items:center;margin-top:clamp(32px,3.8vw,50px)}
#page-home .chart{margin:0}
#page-home .chart svg{width:100%;height:auto;display:block;overflow:visible}
#page-home .ch-n{font-family:Anton,Impact,sans-serif;font-size:34px;fill:var(--gold);letter-spacing:.01em}
#page-home .ch-y{font-family:Inter,system-ui,sans-serif;font-size:19px;font-weight:600;fill:#fff;fill-opacity:.9}
#page-home .ch-s{font-family:Inter,system-ui,sans-serif;font-size:14px;fill:#fff;fill-opacity:.62;letter-spacing:.06em;text-transform:uppercase}
#page-home .chart figcaption{margin-top:14px;max-width:46ch}
#page-home .figs{display:grid;gap:clamp(16px,1.8vw,24px)}
#page-home .fig{padding-left:18px;border-left:2px solid var(--gold)}
#page-home .fig b{display:block;font-family:Anton,Impact,sans-serif;font-weight:400;
  font-size:clamp(2rem,3.4vw,2.9rem);line-height:1;color:var(--gold);letter-spacing:.01em}
#page-home .fig p{margin:8px 0 0;color:rgba(255,255,255,.84);font-size:clamp(.94rem,1.1vw,1rem);line-height:1.45;max-width:38ch}
#page-home .sgp{margin:clamp(28px,3.4vw,42px) 0 0;padding:18px 22px;max-width:70ch;
  background:rgba(255,255,255,.07);border-left:3px solid var(--gold);border-radius:4px;
  color:rgba(255,255,255,.9)}
#page-home .sgp b{color:var(--gold)}
#page-home .src{margin-top:20px;max-width:78ch}
#page-home .shift h4{margin-bottom:8px;color:var(--gold)}
#page-home .shift p{margin:0;font-size:.95rem;color:rgba(255,255,255,.84)}
/* ---------- 4. CONNECT ---------- */
#page-home .flow{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;gap:clamp(12px,1.8vw,26px);
  align-items:start;margin-top:clamp(40px,5vw,64px)}
#page-home .step .pic{aspect-ratio:4/3;margin-bottom:18px}
#page-home .step .k{font-family:Anton,sans-serif;font-size:.78rem;letter-spacing:.14em;color:var(--leaf);
  display:block;margin-bottom:8px}
#page-home .step h3{margin-bottom:8px}
#page-home .step p{margin:0;font-size:.95rem;color:var(--mute)}
#page-home .arrow{align-self:center;margin-top:-40px;color:var(--leaf);flex:0 0 auto}
#page-home .arrow svg{width:30px;height:30px;display:block}
/* ---------- 5. GROWTH ---------- */
#page-home .grow{display:grid;grid-template-columns:.95fr 1.05fr;gap:clamp(30px,5vw,80px);align-items:center}
#page-home .loop{display:flex;flex-wrap:wrap;gap:10px;margin-top:clamp(26px,3vw,36px)}
#page-home .loop span{display:inline-flex;align-items:center;gap:10px;padding:12px 18px;border-radius:999px;
  border:1px solid var(--line);background:#fff;font:600 .84rem/1 Inter,sans-serif;color:var(--ink)}
#page-home .loop span::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--gold);flex:0 0 auto}
/* ---------- programme ---------- */
#page-home .glance{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:rgba(255,255,255,.2);
  border:1px solid rgba(255,255,255,.2);border-radius:4px;overflow:hidden;
  margin-top:clamp(40px,5vw,64px)}
#page-home .glance div{background:var(--ink);padding:clamp(20px,2.4vw,30px)}
#page-home .glance dt{font-size:.62rem;text-transform:uppercase;letter-spacing:.15em;font-weight:600;
  color:var(--gold);margin-bottom:10px}
#page-home .glance dd{margin:0;font-family:Anton,sans-serif;text-transform:uppercase;font-size:1.3rem;
  line-height:1.04;color:#fff}
#page-home .glance dd.sm{font-family:Inter,sans-serif;text-transform:none;font-size:.9rem;font-weight:400;
  line-height:1.5;color:rgba(255,255,255,.9)}
#page-home .mods{display:grid;grid-template-columns:repeat(2,1fr);gap:0 clamp(28px,4vw,56px);
  margin-top:clamp(34px,4vw,52px)}
#page-home .mods li{display:grid;grid-template-columns:40px 1fr;gap:14px;padding-block:16px;
  border-top:1px solid var(--line);font-size:.98rem}
#page-home .mods li b{font-family:Anton,sans-serif;font-weight:400;font-size:.9rem;letter-spacing:.1em;color:#A9CFC0}
#page-home .xp{display:grid;grid-template-columns:repeat(2,1fr);gap:clamp(20px,2.6vw,36px);
  margin-top:clamp(40px,5vw,64px)}
#page-home .xp article .pic{aspect-ratio:3/2;margin-bottom:22px}
#page-home .xp h3{margin-bottom:10px}
#page-home .xp p{margin:0;font-size:.98rem;color:var(--mute);max-width:44ch}
/* ---------- close ---------- */
#page-home .close{text-align:center}
#page-home .close .d1{max-width:none}
#page-home .close .acts{justify-content:center}
/* ---------- footer ---------- */
/* ---------- reveal ---------- */
#page-home .rv{opacity:0;transform:translateY(30px);transition:opacity .75s ease,transform .75s cubic-bezier(.22,.61,.36,1)}
#page-home .rv.is-in{opacity:1;transform:none}
#page-home .rv-l{transform:translateX(-46px)}
#page-home .rv-r{transform:translateX(46px)}
#page-home .rv-z{transform:scale(1.05)}
#page-home .rv-l.is-in,#page-home .rv-r.is-in,#page-home .rv-z.is-in{transform:none}
/* ---------- media controls ---------- */
#page-home .pic{outline:2px dashed transparent;outline-offset:-8px;transition:outline-color .15s ease}
#page-home .hero__media .mbar{left:auto;right:12px;top:12px;bottom:auto}
#page-home .hero__media .mhint{top:34%}
/* ---------- responsive ---------- */
@media (max-width:1000px){
#page-home .way{grid-template-columns:54px 1fr;gap:16px}
#page-home .way__p{grid-column:2}
#page-home .way__t{grid-column:2}
#page-home .ind,#page-home .ind__col,#page-home .grow,#page-home .xp{grid-template-columns:minmax(0,1fr)}
/* Stacked, the industry photos drop the 300px minimum height. With it, a
   16:9 frame had to be 533px wide, so on a 390px phone the photos ran off
   the right edge. The room photo shows whole at its own 3:4. */
#page-home .ind .pic{height:auto;min-height:0}
#page-home .ind>.rv>.pic{aspect-ratio:3/4}
#page-home .shifts{grid-template-columns:1fr;gap:22px}
#page-home .lrn{grid-template-columns:1fr;gap:24px}
#page-home .hzn__grid{grid-template-columns:1fr;gap:30px}
#page-home .ch-n{font-size:30px}
#page-home .flow{grid-template-columns:1fr;gap:28px}
#page-home .arrow{display:none}
#page-home .glance{grid-template-columns:1fr 1fr}
#page-home .mods{grid-template-columns:1fr}
#page-home .hero{min-height:clamp(540px,86vh,760px)}
#page-home .rv-l,#page-home .rv-r{transform:translateY(30px)}
}
@media (max-width:620px){
#page-home .glance{grid-template-columns:1fr}
#page-home .btn{width:100%}
#page-home .acts{gap:10px}
#page-home .way{grid-template-columns:1fr}
#page-home .way__n{display:none}
#page-home .way__p,#page-home .way__t{grid-column:1}
}
@media (prefers-reduced-motion:reduce){
#page-home *,#page-home *::before,#page-home *::after{animation-duration:.001ms!important;transition-duration:.001ms!important}
#page-home .rv{opacity:1;transform:none}
#page-home .btn:hover{transform:none}
}

/* ---------- home: fixes for running inside the site ---------- */
/* Anchors clear the sticky header. */
#page-home [id]{scroll-margin-top:117px}
/* The video sits under his gradient; a still shows until it can play. */
#page-home .hero__media video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
/* The second button on the gold close needs an edge that holds on yellow. */
#page-home .gold .btn--ghost{border-color:var(--ink)}
#page-home .gold .btn--ghost:hover{background:rgba(0,80,58,.08)}
#page-home .close .tiny{max-width:72ch;margin:clamp(26px,3vw,36px) auto 0;color:rgba(0,80,58,.78)}
@media (prefers-reduced-motion:reduce){
  #page-home .vctl{display:none}
}
