/* Latent Aurum, start-up page (s20).
   One typeface, Hubot Sans, used three ways: wide capitals for what we say, plain sentences for the rest, small spaced capitals for labels.
   Black, ivory and gold sections take turns, so every scroll is a new scene. */

/* ---------- the one font (self-hosted, SIL Open Font License; it can be narrow or wide and light or heavy) ---------- */
@font-face{font-family:"Hubot Sans";src:url("../fonts/hubot-sans.woff2") format("woff2");font-weight:200 900;font-stretch:75% 125%;font-style:normal;font-display:swap}

/* ---------- colours and measures ---------- */
:root{
  --obsidian:#08080A;
  --ivory:#EFE9DD;
  --gold:#CDAC78;
  --gold-deep:#9C7730;   /* gold for big words on ivory */
  --bronze:#7C5C1F;      /* gold for small labels on ivory */
  --stone:#A8A091;       /* quiet text on black */
  --umber:#5A5244;       /* quiet text on ivory */
  --shade:#3B2F17;       /* quiet text on gold */
  --gutter:clamp(20px,4.4vw,72px);
  --nav-h:64px;
  --ease:cubic-bezier(.16,1,.3,1);
  --vh:1vh;
}
@supports (height:1svh){:root{--vh:1svh}}
.t-dark{--bg:var(--obsidian);--fg:var(--ivory);--fg2:var(--stone);--hot:var(--gold);--label:var(--gold);--line:#25252B}
.t-ivory{--bg:var(--ivory);--fg:var(--obsidian);--fg2:var(--umber);--hot:var(--gold-deep);--label:var(--bronze);--line:#CFC7B6}
.t-gold{--bg:var(--gold);--fg:var(--obsidian);--fg2:var(--shade);--hot:var(--obsidian);--label:var(--shade);--line:#A98B57}
.t-dark,.t-ivory,.t-gold{background:var(--bg);color:var(--fg)}

/* ---------- base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{overflow-x:hidden;overflow-x:clip;scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--obsidian);color:var(--ivory);font-family:"Hubot Sans",system-ui,-apple-system,"Segoe UI",sans-serif;font-weight:400;font-size:1.0625rem;line-height:1.55;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
img,video,svg{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
h1,h2,h3,p,figure,ul,ol{margin:0}
ul,ol{padding:0;list-style:none}
:focus-visible{outline:2px solid currentColor;outline-offset:3px}
::selection{background:var(--gold);color:var(--obsidian)}
.skip{position:fixed;left:12px;top:-60px;z-index:70;background:var(--gold);color:var(--obsidian);padding:10px 16px;transition:top .3s var(--ease)}
.skip:focus{top:12px}
.sr{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.wrap{max-width:1680px;margin-inline:auto;padding-inline:var(--gutter)}
main,.footer{overflow-x:clip}

/* ---------- one font, three ways ---------- */
/* big wide capitals */
.mega{font-weight:500;font-stretch:112%;text-transform:uppercase;letter-spacing:-.045em;word-spacing:.16em;line-height:.86}   /* tight letters, but a clear gap between words */
.mega .hot,.mega.hot,.mega em{font-style:normal;color:var(--hot)}
/* plain sentences: the same font, lighter and at reading width */
.voice{font-weight:400;font-stretch:100%;letter-spacing:-.012em;line-height:1.3;font-size:clamp(1.15rem,1.55vw,1.5rem);text-wrap:balance}
/* small labels, used sparingly */
.tiny{font-size:.68rem;font-weight:500;font-stretch:112%;letter-spacing:.13em;text-transform:uppercase;line-height:1.5;color:var(--label)}

/* big lines come up from behind an edge, one after the other */
.ln{display:block;overflow:hidden;padding-block:.05em;margin-block:-.05em}
.ln-i{display:block}
.js [data-lines] .ln-i{transform:translateY(112%);transition:transform 1.15s var(--ease);transition-delay:calc(var(--l,0) * 95ms)}
.js [data-lines].in .ln-i{transform:none}
/* smaller things settle into place once */
.js [data-reveal]{opacity:0;transform:translateY(16px);transition:opacity .9s var(--ease),transform .9s var(--ease);transition-delay:calc(var(--i,0) * 90ms)}
.js [data-reveal].in{opacity:1;transform:none}

/* ---------- buttons: a label and an arrow, side by side ---------- */
.chip{display:inline-flex;align-items:stretch;gap:3px;color:var(--fg);font-size:.7rem;font-weight:500;font-stretch:112%;letter-spacing:.11em;text-transform:uppercase;white-space:nowrap}
.chip-l,.chip-a{display:grid;place-items:center;min-height:42px;border:1px solid var(--fg);transition:background-color .35s var(--ease),color .35s var(--ease)}
.chip-l{padding:0 1.3em}
.chip-a{width:42px}
.chip-a svg{width:17px;height:17px;transition:transform .35s var(--ease)}
.chip:hover .chip-l,.chip:hover .chip-a,.chip:focus-visible .chip-l,.chip:focus-visible .chip-a{background:var(--fg);color:var(--bg)}
.chip:hover .chip-a svg{transform:translateX(3px)}
.chip--solid .chip-l,.chip--solid .chip-a{background:var(--fg);color:var(--bg)}
.chip--solid:hover .chip-l,.chip--solid:hover .chip-a,.chip--solid:focus-visible .chip-l,.chip--solid:focus-visible .chip-a{background:transparent;color:var(--fg)}
/* small text buttons over films: pause and play */
.mini{padding:8px 12px;font-size:.62rem;font-weight:500;font-stretch:112%;letter-spacing:.13em;text-transform:uppercase;color:var(--ivory);background:rgba(8,8,10,.62);border:1px solid rgba(239,233,221,.34);transition:background-color .3s,border-color .3s}
.mini[hidden]{display:none}
.mini:hover,.mini:focus-visible{background:rgba(8,8,10,.9);border-color:var(--ivory)}

/* ---------- nav: the name and three small solid tabs. No bar. Its colours follow the section underneath ---------- */
.nav{--fg:var(--ivory);--bg:var(--obsidian);--mark:var(--gold);
  position:absolute;inset:0 0 auto 0;z-index:50;height:var(--nav-h);display:flex;align-items:center;justify-content:space-between;gap:12px;padding-inline:var(--gutter);pointer-events:none}
.nav > *{pointer-events:auto}
.js .nav{position:fixed}
.nav[data-on="ivory"]{--fg:var(--obsidian);--bg:var(--ivory);--mark:var(--obsidian)}
.nav[data-on="gold"]{--fg:var(--obsidian);--bg:var(--gold);--mark:var(--obsidian)}
.brand{display:flex;align-items:center;gap:13px;min-height:44px;color:var(--mark)}
.brand .bars{width:21px;height:32px;transition:color .3s}
.brand img{height:15px;width:auto;transition:filter .3s}
.nav[data-on="ivory"] .brand img,.nav[data-on="gold"] .brand img{filter:brightness(0)}
[hidden]{display:none!important}
/* phones and tablets: once the page moves, a soft band in the colour of the section underneath sits behind the name
   and the Menu button, so words scrolling up never run through them */
@media (max-width:900px){
  .js .nav::before{content:"";position:absolute;inset:0 0 -20px 0;z-index:-1;background:linear-gradient(var(--bg) 60%,rgba(0,0,0,0));opacity:0;transition:opacity .3s;pointer-events:none}
  .js .nav.is-moved::before{opacity:1}
  .nav[data-on="ivory"]::before{background:linear-gradient(var(--ivory) 60%,rgba(239,233,221,0))}
  .nav[data-on="gold"]::before{background:linear-gradient(var(--gold) 60%,rgba(205,172,120,0))}
  .nav[data-on="dark"]::before{background:linear-gradient(var(--obsidian) 60%,rgba(8,8,10,0))}
}
/* bigger places to tap on touch screens, without changing how things look */
.menu-btn{position:relative}
.menu-btn::after{content:"";position:absolute;inset:-8px -4px}
@media (pointer:coarse){
  .mini{padding:11px 14px}
  .menu-foot a{display:inline-block;padding-block:10px}
  .footer-col li a{display:inline-block;padding-block:5px}
}
/* the menu. Without scripts it is a row of tabs on the right. With scripts, the Menu button on the left opens it
   as a black panel that slides in from the left (as on promise.ai), with the page dimmed behind it */
.menu-list{display:flex;gap:3px}
.menu-btn{display:inline-flex;align-items:center;gap:.75em;height:30px;padding:0 1em 0 .85em;border:0;background:var(--fg);color:var(--bg);font-size:.64rem;font-weight:700;font-stretch:112%;letter-spacing:.12em;text-transform:uppercase;cursor:pointer;transition:background-color .3s,color .3s,box-shadow .3s}
.menu-btn svg{width:16px;height:10px;fill:none;stroke:var(--gold);stroke-width:1.6}
/* the three lines are always aurum gold: the bright gold on a black button, a deeper gold on an ivory one so they still show */
.nav[data-on="dark"] .menu-btn svg{stroke:var(--gold-deep)}
.nav[data-on="dark"] .menu-btn:hover svg,.nav[data-on="dark"] .menu-btn:focus-visible svg,.menu-open .menu-btn svg{stroke:var(--gold)}
.menu-btn:hover,.menu-btn:focus-visible{background:var(--bg);color:var(--fg);box-shadow:inset 0 0 0 1px var(--fg)}
.js .nav{justify-content:flex-start}
.js .brand{position:absolute;left:50%;transform:translateX(-50%)}
.js .menu{position:fixed;top:0;left:0;bottom:0;z-index:2;width:min(100vw,600px);display:flex;flex-direction:column;justify-content:space-between;gap:40px;padding:calc(var(--nav-h) + clamp(28px,7vh,84px)) var(--gutter) clamp(24px,4vh,40px);overflow-y:auto;background:var(--obsidian);color:var(--ivory);transform:translateX(-102%);visibility:hidden;transition:transform .6s var(--ease),visibility 0s linear .6s}
.menu-open .menu{transform:none;visibility:visible;transition:transform .6s var(--ease)}
.menu:focus{outline:none}
.nav .menu-scrim{position:fixed;inset:0;z-index:1;background:rgba(8,8,10,.62);opacity:0;pointer-events:none;transition:opacity .5s ease}
.menu-open .nav .menu-scrim{opacity:1;pointer-events:auto}
.menu-open,.menu-open body{overflow:hidden}
.menu-close{position:absolute;top:calc((var(--nav-h) - 44px) / 2);right:calc(var(--gutter) - 12px);display:grid;place-items:center;width:44px;height:44px;border:0;background:none;color:var(--ivory);cursor:pointer}
.menu-close svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.3;transition:transform .4s var(--ease)}
.menu-close:hover svg,.menu-close:focus-visible svg{transform:rotate(90deg)}
.js .menu-list{display:grid;gap:.12em}
.js .menu .tab{display:inline-block;height:auto;padding:0 .04em .06em 0;background:linear-gradient(100deg,#E4C98F 0%,#CDAC78 45%,#9C7730 100%);-webkit-background-clip:text;background-clip:text;box-shadow:none;color:transparent;font-size:clamp(2.5rem,5.6vw,4.6rem);font-weight:700;letter-spacing:-.04em;line-height:1;transition:color .3s;word-spacing:.14em}
.js .menu .tab::after{content:none}
.js .menu .tab:hover,.js .menu .tab:focus-visible{box-shadow:none;color:var(--ivory)}
.js .menu-list li{opacity:0;transform:translateY(26px);transition:opacity .4s ease,transform .7s var(--ease)}
.menu-open .menu-list li{opacity:1;transform:none}
.menu-open .menu-list li:nth-child(1){transition-delay:.14s}
.menu-open .menu-list li:nth-child(2){transition-delay:.2s}
.menu-open .menu-list li:nth-child(3){transition-delay:.26s}
.menu-open .menu-list li:nth-child(4){transition-delay:.32s}
.menu-foot{display:flex;flex-wrap:wrap;align-items:center;gap:14px 30px;padding-top:20px;border-top:1px solid rgba(239,233,221,.16);font-size:.66rem;font-weight:500;font-stretch:112%;letter-spacing:.12em;text-transform:uppercase;color:var(--stone)}
.menu-foot a{transition:color .3s}
.menu-foot a:hover,.menu-foot a:focus-visible{color:var(--ivory)}
.tab{position:relative;display:grid;place-items:center;height:30px;padding:0 .95em;background:var(--fg);color:var(--bg);font-size:.64rem;font-weight:500;font-stretch:112%;letter-spacing:.12em;text-transform:uppercase;white-space:nowrap;transition:background-color .3s,color .3s,box-shadow .3s}
.tab::after{content:"";position:absolute;inset:-8px -1px}
.tab:hover,.tab:focus-visible{background:var(--bg);color:var(--fg);box-shadow:inset 0 0 0 1px var(--fg)}
@media (max-width:560px){
  .tab--wide{display:none}
  .js .brand{position:static;transform:none;margin-left:auto}
  .js .menu .tab--wide{display:inline-block}
  .brand{gap:10px}
  .brand .bars{width:17px;height:26px}
  .brand img{height:13px}
}
@media (max-width:350px){.tab--mid{display:none}.js .menu .tab--mid{display:inline-block}}

/* ---------- opening: pinned, so the next section slides up over it ---------- */
.curtain{position:relative}
.hero{--p:0;position:sticky;top:0;z-index:0;isolation:isolate;display:flex;align-items:flex-end;height:100vh;height:100svh;min-height:560px;overflow:hidden}
.hero-stage{position:absolute;inset:0;z-index:-1}
/* the picture is 16:9. This box always covers the opening, a touch oversize so the scroll drift never shows an edge. */
.hero-media{position:absolute;left:50%;top:50%;
  width:max(100vw,calc(100vh * 1.9556));width:max(100vw,calc(max(100svh,560px) * 1.9556));
  aspect-ratio:16/9;translate:-50% -50%;
  transform:translate3d(0,calc(var(--p) * 5%),0) scale(calc(1 + var(--p) * .04));
  transform-origin:48.4% 41.7%;will-change:transform}
.hero-media img{width:100%;height:100%;object-fit:cover}
/* the opening film plays on top of the still, and the still is the very frame it ends on */
.hero-media video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:none;transition:opacity 1s var(--ease)}
.hero-video .hero-media video{display:block}
.hero-video.is-rest .hero-media video{opacity:0}
/* with the film: the words light up on black first, then the film comes up behind them */
.hero-video .hero-stage{animation:fadein 1.8s 2.2s ease both}
@keyframes fadein{from{opacity:0}to{opacity:1}}
.hero-shade{position:absolute;inset:0;background:
    linear-gradient(to bottom,rgba(8,8,10,.7),rgba(8,8,10,0) 26%),
    linear-gradient(to top,rgba(8,8,10,.95) 0%,rgba(8,8,10,.74) 32%,rgba(8,8,10,.3) 66%,rgba(8,8,10,.22) 100%)}
.hero-shade::after{content:"";position:absolute;inset:0;background:var(--obsidian);opacity:calc(var(--p) * .75)}
.hero-copy{position:relative;width:100%;padding:calc(var(--nav-h) + 32px) var(--gutter) clamp(22px,3.4vw,44px)}
.hero-h{max-width:2495px;margin-inline:auto;font-size:clamp(2.6rem,8.1vw,13.6rem);line-height:.88}   /* past the largest size the three lines keep their shape and sit in the middle */
.hl{display:block;white-space:nowrap}
.hl-1{padding-left:13%}
.hl-2{display:flex;justify-content:space-between}
.hl-3{padding-left:6%}
.br-m{display:none}
.w{display:inline-block;color:rgba(239,233,221,.2);animation:lit .7s ease forwards;animation-delay:calc(.45s + var(--n) * .34s)}
@keyframes lit{to{color:var(--ivory)}}
.hero-foot{display:flex;align-items:flex-end;justify-content:flex-end;gap:20px;margin-top:clamp(26px,4vw,58px);min-height:34px}
@media (max-height:559px){
  /* a very short screen cannot hold the pinned opening, so it scrolls like any other section */
  .hero{position:relative}
}
@media (max-width:760px){
  .hero-h{font-size:11vw}
  .hl,.hl-2{display:inline;padding-left:0;white-space:normal}
  .br-m{display:inline}
  .hl-1 .w{margin-left:15vw}
  .w-for{margin-left:4vw}
  .w-gen{margin-left:6vw}
  .hero-foot{flex-direction:column;align-items:flex-start;gap:16px}
  .hero-foot .mini{align-self:flex-end}
}
@media (max-height:559px) and (orientation:landscape){
  /* a phone on its side: the opening fits the screen, and the three lines are sized by its height so they all show */
  .hero{height:100vh;height:100svh;min-height:0}
  .hero-h{font-size:min(8.1vw,13.5vh)}
  .hero-copy{padding-top:calc(var(--nav-h) + 8px);padding-bottom:16px}
  .hero-foot{margin-top:12px;min-height:0}
  .hero-foot .mini{align-self:flex-end}
}

/* ---------- who we are (ivory) ---------- */
.statement{position:relative;z-index:1;padding-block:clamp(96px,13vw,190px) clamp(64px,8vw,120px)}
.statement-in{display:grid;grid-template-columns:minmax(0,1fr);justify-items:center;text-align:center}
.statement-h{font-size:calc((min(100vw,1680px) - 2 * var(--gutter)) / 16.4)}   /* the longest line just fits */
.reel-stage{width:100%;margin-top:clamp(22px,2.6vw,36px)}
.reel{position:relative;width:clamp(230px,30vw,470px);aspect-ratio:16/9;margin:0 auto;overflow:hidden;background:var(--obsidian)}
/* with the script: the film sits just under the big line, then stays near the top of the screen and grows
   to the full width while the page moves on; scrolling back shrinks it again */
.reel-grow .reel-pin{position:sticky;top:calc(var(--nav-h) + 20px)}
.reel-grow .reel{left:50%;margin:0;transform:translateX(-50%);max-width:none}
.reel img,.reel video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.reel video{opacity:0;transition:opacity .6s}
.reel.is-live video{opacity:1}
/* a little film grain over our pictures, fine enough to be felt more than seen */
.reel::after,.index-card::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:url("../images/grain.png") 0 0/88px 88px;opacity:.5}
.reel-toggle{position:absolute;z-index:2;right:8px;bottom:8px;padding:6px 9px}
.statement-voice{max-width:24em;margin-top:clamp(22px,2.6vw,34px)}
.statement .chip{margin-top:clamp(24px,2.8vw,36px)}
/* the mark in one line of aurum gold. Bar by bar it draws itself like a pen going round each outline,
   then a point of light runs along the lines once. Without scripts, or with less motion, it is simply there. */
.mark-o{--sw:.37;width:auto;height:clamp(200px,34vw,480px);margin-top:clamp(72px,10vw,150px);overflow:visible;filter:drop-shadow(0 0 10px rgba(205,172,120,.28))}
.mark-o rect{fill:none}
/* line weights are in drawing units (the mark is 104 units tall), set so the line stays about 1.6px at every size */
@media (max-width:1100px){.mark-o{--sw:.46}}
@media (max-width:800px){.mark-o{--sw:.62}}
@media (max-width:588px){.mark-o{--sw:.82}}
.mark-line rect{stroke:url(#aurum);stroke-width:var(--sw);stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:0}
/* the gold inside each bar rises from the bottom; the script ties both the line and the gold to the scroll */
.mark-fill rect{fill:url(#aurum);transform-box:fill-box;transform-origin:50% 100%}
.mark-scroll .mark-line rect{stroke-dashoffset:1}
.mark-scroll .mark-fill rect{transform:scaleY(0)}
.mark-say{margin-top:clamp(20px,2.2vw,32px);font-size:clamp(1rem,1.3vw,1.25rem);color:var(--fg2)}
/* the mission, under the name's meaning: a small label, then one line in the larger voice */
.mission{margin-top:clamp(56px,7vw,110px);display:grid;justify-items:center;gap:clamp(12px,1.4vw,18px)}
.mission-say{max-width:19em;font-size:clamp(1.5rem,2.6vw,2.5rem);line-height:1.18;color:var(--fg);text-wrap:balance}
@media (max-width:600px){
  .statement-h{font-size:calc((100vw - 2 * var(--gutter)) / 8.6);font-stretch:100%}   /* on a phone the lines wrap, in a narrower cut; the longest word still fits */
  .reel{width:min(100%,360px)}
}

/* ---------- founders (black): three people. The photographs have black behind them, so they sit straight on the page ---------- */
.founders{padding-block:clamp(84px,11vw,170px) clamp(92px,12vw,180px)}
.founders-say{max-width:18em;margin-bottom:clamp(44px,6vw,100px);font-size:clamp(1.5rem,2.6vw,2.5rem)}
.people{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(16px,2.2vw,36px)}
.shot{position:relative;overflow:hidden}
.shot img{width:100%;height:auto;aspect-ratio:637/850;object-fit:cover;transition:transform 1.4s var(--ease)}
.people li:hover .shot img{transform:scale(1.03)}
/* the edges of each photograph melt into the page */
.shot::after{content:"";position:absolute;inset:0;pointer-events:none;background:
    linear-gradient(to bottom,var(--obsidian),rgba(8,8,10,0) 24%),
    linear-gradient(to right,var(--obsidian),rgba(8,8,10,0) 13%),
    linear-gradient(to left,var(--obsidian),rgba(8,8,10,0) 13%)}
.person{margin-top:20px;font-size:clamp(1.3rem,1.95vw,1.8rem);font-weight:500;text-transform:uppercase;letter-spacing:-.04em;word-spacing:.24em;line-height:1}
.role{margin-top:9px}
.credit{margin-top:10px;max-width:38ch;font-size:.92rem;line-height:1.5;color:var(--fg2)}
.credit b{font-weight:500;color:var(--fg)}
.people-nav{display:none}
@media (max-width:760px){
  /* phones: the three sit in a row you swipe, with the next one clearly peeking in.
     Under the row: where you are (1 / 3) and two arrows that move one founder along. */
  .people{position:relative;display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;margin-inline:calc(var(--gutter) * -1);padding-inline:var(--gutter);scroll-padding-inline:var(--gutter);scrollbar-width:none}
  .people::-webkit-scrollbar{display:none}
  .people li{flex:0 0 min(68vw,340px);scroll-snap-align:start}
  .people-nav:not([hidden]){display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:clamp(26px,7vw,40px)}
  .people-count{font-variant-numeric:tabular-nums;letter-spacing:.2em}
  .people-btns{display:flex;gap:3px}
  .people-btn{display:grid;place-items:center;width:46px;height:46px;border:1px solid var(--fg);color:var(--fg);transition:background-color .35s var(--ease),color .35s var(--ease),opacity .35s var(--ease)}
  .people-btn svg{width:18px;height:18px}
  .people-btn:hover,.people-btn:focus-visible{background:var(--fg);color:var(--bg)}
  .people-btn[aria-disabled="true"]{opacity:.28;cursor:default}
  .people-btn[aria-disabled="true"]:hover{background:none;color:var(--fg)}
}

/* ---------- work (ivory): an index ----------
   Plain version (no scripts, or a very short screen): four names, each with what it covers, then the four buttons.
   With scripts: the names scroll past a frame that stays in the middle of the screen. The name passing the middle
   turns black, its pictures and films take turns in the frame, its list sits at the bottom of the screen, and its button shows.
   Every name reads at all times: the others in a stone grey, the one on in black. Where the letters cross the frame
   they turn plain ivory: a second copy of the names sits over the frame, cut to its shape as the page moves. */
.index{position:relative;isolation:isolate}
.index-card{display:none}
.index-list{display:grid;gap:clamp(30px,4vw,52px);padding:clamp(84px,11vw,160px) var(--gutter) clamp(44px,5vw,64px)}
.index-name{font-size:min(11.4vw,7.4rem);font-stretch:100%}
.index-say{display:grid;gap:.7em;margin-top:.7em;max-width:min(46rem,100%)}
.say-lead{font-size:clamp(1.3rem,2.1vw,2.2rem);line-height:1.25;letter-spacing:-.012em;color:var(--fg);text-wrap:pretty}
.say-points{display:flex;flex-wrap:wrap;gap:.35em 1.4em;font-size:clamp(.82rem,1.05vw,1.2rem);font-weight:500;font-stretch:112%;letter-spacing:.1em;line-height:1.4;text-transform:uppercase;color:var(--fg2)}
.index-bar{display:grid;gap:22px;padding:0 var(--gutter) clamp(72px,9vw,120px)}
.index-go{display:flex;flex-wrap:wrap;gap:10px}
.index-line{display:none}
.index-over{display:none}
@media (min-height:520px){
  .js .index{--name:min(9.2vw,calc(var(--vh) * 16));--row:calc(var(--name) * .86);--cw:min(clamp(190px,22vw,360px),calc(var(--vh) * 41));--ch:calc(var(--cw) * 1.26);--pin:calc(var(--vh) * 50 - var(--ch) / 2)}
  /* the names fade out under the top bar, so they never run through the name and the Menu button */
  .js .index::before{content:"";position:sticky;top:0;z-index:3;display:block;height:calc(var(--nav-h) + 48px);margin-bottom:calc(-1 * (var(--nav-h) + 48px));background:linear-gradient(var(--ivory) 52%,rgba(239,233,221,0));pointer-events:none}
  .js .index-stage{position:relative;padding-top:var(--pin)}
  /* the picture waits one screen-middle down the section, so by the time the section fills the screen it is already where it stays */
  .js .index-card{display:block;position:sticky;z-index:0;pointer-events:none;top:var(--pin);width:var(--cw);height:var(--ch);margin:0 auto;overflow:hidden;background:var(--obsidian)}
  /* one set of pictures and films per name; inside a set they take turns */
  .js .card-set{position:absolute;inset:0;opacity:0;transition:opacity .5s ease}
  .js .card-set.is-on{opacity:1}
  .js .card-m{position:absolute;inset:0;margin:0;opacity:0;transition:opacity 1s ease}
  .js .card-m.is-on{opacity:1}
  .js .card-m img,.js .card-m video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
  .js .card-m img{transform:scale(1.07);transition:transform 6s linear}
  .js .card-m.is-on img{transform:none}
  .js .card-m video{opacity:0;transition:opacity .6s ease}
  .js .card-m.is-playing video{opacity:1}
  .js .index-list{position:relative;z-index:1;display:block;margin-top:calc(var(--vh) * -50 - var(--ch) / 2);padding:calc(var(--vh) * 44) 0 calc(var(--vh) * 48);text-align:center}
  .js .index-item{height:var(--row)}
  .js .index-name{display:inline-block;font-size:var(--name);font-stretch:100%;line-height:var(--row);white-space:nowrap;color:#8C8478;cursor:pointer;transition:color .3s ease}
  .js .index-name:hover{color:#4F4A43}
  .js .index-item.is-on .index-name{color:var(--obsidian)}
  /* the copy over the frame: the same names in the same places, ivory, cut to the frame's shape by the script.
     Until the script places it, it is cut away completely */
  .js .index-over{display:block;position:absolute;z-index:2;left:0;width:100%;margin:0;pointer-events:none;clip-path:inset(50%)}
  .js .index-over .index-name{color:rgba(239,233,221,.62);cursor:default;text-shadow:0 0 .35em rgba(8,8,10,.22)}
  .js .index-over .index-item.is-on .index-name{color:var(--ivory)}
  .js .index-say{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  /* the line and the button ride along the bottom of the screen, and the names fade out as they reach them.
     They stay out of sight until the index has the screen. */
  .js .index-bar{position:sticky;bottom:0;z-index:3;display:flex;align-items:flex-end;justify-content:flex-end;gap:32px;padding:84px var(--gutter) clamp(18px,2.4vw,30px);pointer-events:none;opacity:0;transition:opacity .5s ease;background:linear-gradient(to top,var(--ivory) 64%,rgba(239,233,221,0))}
  .js .index.is-live .index-bar{opacity:1}
  /* what the name is, in one plain line, bottom left and large enough to read; under it, its points.
     For Stories the point for the picture on show is lit */
  .js .index-line{display:grid;gap:.7em;max-width:min(900px,60vw);margin-right:auto}
  .js .index-line .say-lead{color:var(--obsidian);font-size:clamp(1.4rem,2.35vw,3rem);line-height:1.16;letter-spacing:-.018em}
  .js .index-line .say-points{font-size:clamp(.85rem,1.08vw,1.3rem)}
  .js .index-line .say-points{color:var(--umber)}
  .js .index-line li{opacity:.55;transition:opacity .5s ease,color .5s ease}
  .js .index-line li.is-cur{opacity:1;color:var(--obsidian)}
  .js .index-go{position:relative;display:block;flex:none;width:min(62vw,300px);height:44px}
  .js .index-go .chip{position:absolute;right:0;bottom:0;opacity:0;pointer-events:none;transition:opacity .3s ease}
  .js .index-go .chip.is-on{opacity:1}
  .js .index.is-live .index-go .chip.is-on{pointer-events:auto}
}
@media (min-height:520px) and (max-aspect-ratio:1/1){
  /* tall screens: narrower letters so the longest name sits inside the screen, and the line sits above its button */
  .js .index{--name:min(12.3vw,calc(var(--vh) * 11));--row:calc(var(--name) * 1.16);--cw:min(54vw,calc(var(--vh) * 40))}
  .js .index-name{font-stretch:82%}
  .js .index-bar{flex-direction:column;align-items:center;gap:16px;padding-top:64px;text-align:center;background:linear-gradient(to top,var(--ivory) 70%,rgba(239,233,221,0))}
  .js .index-go{width:100%}
  .js .index-go .chip{right:auto;left:50%;translate:-50% 0}
  .js .index-line{max-width:min(440px,100%);margin:0 auto;gap:.6em}
  .js .index-line .say-lead{font-size:clamp(1.18rem,5.4vw,1.6rem)}
  .js .index-line .say-points{font-size:clamp(.8rem,3.3vw,1rem)}
  .js .index-line .say-points{justify-content:center;gap:.3em 1em}
}

/* ---------- how we work (black): two big lines, one from each side ---------- */
.how{padding-block:clamp(92px,12vw,180px) clamp(72px,9vw,130px)}
.how-in{padding-inline:var(--gutter)}
.how-lead{font-size:clamp(1.5rem,2.6vw,2.5rem)}
.how-h{margin-top:.18em;font-size:min(calc((100vw - 2 * var(--gutter)) / 9.62),15rem)}   /* the longer line just fits */
.how-h .ln{white-space:nowrap}
.how-2{text-align:right}
.how-p{max-width:34em;margin-top:clamp(44px,6vw,96px);font-size:clamp(1.12rem,1.5vw,1.45rem);line-height:1.45;color:var(--fg2);text-wrap:pretty}
.how-foot{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:flex-start;gap:26px 40px;margin-top:clamp(28px,3.4vw,48px)}

/* ---------- questions page (black, like the legal page): each question opens in place ---------- */
.qa{padding-top:calc(var(--nav-h) + clamp(56px,9vw,120px));padding-bottom:clamp(72px,10vw,140px)}
.qa h1{font-size:clamp(2.3rem,6.6vw,6.6rem)}
.qa .lede{margin-top:clamp(18px,2.4vw,30px);max-width:26em}
.qa-list{max-width:min(100%,62rem);margin-top:clamp(40px,5.5vw,80px)}
.faq-q{border-top:1px solid var(--line);interpolate-size:allow-keywords}
.faq-q:last-child{border-bottom:1px solid var(--line)}
.faq-q summary{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-block:clamp(18px,1.7vw,26px);cursor:pointer;list-style:none}
.faq-q summary::-webkit-details-marker{display:none}
.faq-q summary>:first-child{font-size:clamp(1.12rem,1.6vw,1.55rem);font-weight:500;font-stretch:104%;letter-spacing:-.015em;line-height:1.22;transition:color .35s var(--ease)}
.faq-q summary:hover>:first-child{color:var(--hot)}
/* a plus that turns into a minus */
.faq-pm{flex:none;position:relative;width:15px;height:15px;color:var(--hot)}
.faq-pm::before,.faq-pm::after{content:"";position:absolute;left:0;top:50%;width:100%;height:1.5px;margin-top:-.75px;background:currentColor;transition:transform .45s var(--ease)}
.faq-pm::after{transform:rotate(90deg)}
.faq-q[open] .faq-pm::after{transform:rotate(0deg)}
.faq-a p{max-width:40em;padding-bottom:clamp(20px,2vw,30px);font-size:clamp(1rem,1.2vw,1.14rem);line-height:1.55;color:var(--fg2);text-wrap:pretty}
.faq-a a{color:var(--fg);text-decoration:underline;text-decoration-thickness:1px;text-decoration-color:var(--hot);text-underline-offset:.22em}
.faq-a a:hover{color:var(--hot)}
/* where the browser can, the answer slides open instead of jumping */
.faq-q::details-content{block-size:0;overflow:hidden;transition:block-size .55s var(--ease),content-visibility .55s allow-discrete}
.faq-q[open]::details-content{block-size:auto}

/* ---------- contact (gold): the words run across the band as the page moves ---------- */
.contact{padding-block:clamp(84px,10vw,150px) clamp(64px,8vw,112px);overflow:hidden}
.contact-ask{font-size:clamp(1.5rem,2.6vw,2.5rem)}
.run{margin-block:clamp(16px,2.2vw,30px) clamp(34px,4.4vw,60px)}
.run-row{display:flex;align-items:center;width:max-content;font-size:clamp(4rem,15.8vw,19rem);line-height:.84;white-space:nowrap;transform:translate3d(var(--x,-6vw),0,0);will-change:transform}
.run-row span{flex:none}
/* the mark sits between the words */
.run-row i{flex:none;width:.42em;height:.6em;margin-inline:.2em;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 66 100'%3E%3Crect x='0' y='35' width='6' height='33'/%3E%3Crect x='15' y='21.75' width='6' height='58.7'/%3E%3Crect x='30' y='0' width='6' height='100'/%3E%3Crect x='45' y='17.5' width='6' height='65'/%3E%3Crect x='60' y='27.05' width='6' height='43.3'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 66 100'%3E%3Crect x='0' y='35' width='6' height='33'/%3E%3Crect x='15' y='21.75' width='6' height='58.7'/%3E%3Crect x='30' y='0' width='6' height='100'/%3E%3Crect x='45' y='17.5' width='6' height='65'/%3E%3Crect x='60' y='27.05' width='6' height='43.3'/%3E%3C/svg%3E") center/contain no-repeat}
.run-row--line{--x:-38vw;opacity:.2}
.contact-act{display:flex;flex-wrap:wrap;align-items:center;gap:18px 30px}

/* ---------- footer (black): big menu, small print, the name ---------- */
.footer{position:relative;padding-top:clamp(72px,9vw,128px)}
.footer-top{display:grid;grid-template-columns:1fr auto 1fr;gap:32px;align-items:start}
.footer-col ul{display:grid;gap:5px;margin-top:12px}
.footer-col a{font-size:clamp(1.05rem,1.45vw,1.3rem);font-weight:500;text-transform:uppercase;letter-spacing:-.03em;line-height:1.15;border-bottom:1px solid transparent;transition:border-color .3s;word-spacing:.1em}
.footer-col a:hover,.footer-col a:focus-visible{border-bottom-color:currentColor}
.footer-col--end{text-align:right}
/* LinkedIn shows as its logo once the official file is saved as assets/linkedin-logo.png; until then, the word */
.li-link{display:inline-flex;align-items:center}
.li-link.has-logo{border-bottom:0!important;margin-top:6px;opacity:.85;transition:opacity .3s}
.li-link.has-logo:hover,.li-link.has-logo:focus-visible{opacity:1}
.li-logo{display:block;width:28px;height:28px;object-fit:contain}
.li-logo[hidden]{display:none}
.li-link.has-logo .li-word{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.footer-nav{display:grid;justify-items:center}
.footer-nav a{font-size:clamp(2.2rem,4.8vw,4.6rem);font-weight:500;text-transform:uppercase;letter-spacing:-.055em;line-height:.9;color:rgba(239,233,221,.42);transition:color .3s}
.footer-nav a:hover,.footer-nav a:focus-visible{color:var(--ivory)}
.footer-legal{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 32px;margin-top:clamp(52px,7vw,96px);padding-top:18px;border-top:1px solid var(--line);font-size:.78rem;line-height:1.5;color:var(--fg2)}
.footer-legal p:first-child{max-width:70ch}
.footer{padding-bottom:clamp(28px,3vw,44px)}
@media (max-width:760px){
  .footer-top{grid-template-columns:1fr 1fr;row-gap:44px}
  .footer-nav{grid-column:1 / -1;grid-row:1;justify-items:start}
  .footer-nav a{font-size:13vw}
}

/* ---------- privacy and legal page ---------- */
.legal{padding-top:calc(var(--nav-h) + clamp(56px,9vw,120px));padding-bottom:clamp(72px,10vw,140px)}
.legal h1{font-size:clamp(2.3rem,6.6vw,6.6rem)}
.legal .lede{margin-top:clamp(18px,2.4vw,30px);max-width:26em}
.legal-body{max-width:68ch;margin-top:clamp(8px,2vw,24px)}
.legal-body h2{margin-top:clamp(48px,6vw,84px);padding-top:26px;border-top:1px solid var(--line);font-size:clamp(1.5rem,2.5vw,2.2rem);font-weight:500;text-transform:uppercase;letter-spacing:-.045em;word-spacing:.16em;line-height:1}
.legal-body h2[id]{scroll-margin-top:calc(var(--nav-h) + 8px)}   /* a link to a section lands below the menu bar, not under it */
.legal-body h3{margin-top:30px;font-size:1.02rem;font-weight:500}
.legal-body p,.legal-body li{margin-top:12px;color:var(--fg2)}
.legal-body ul{margin-top:4px}
.legal-body a{color:var(--fg);border-bottom:1px solid currentColor;padding-bottom:1px}
.todo{color:var(--gold)}
.draft-note{margin-top:34px;padding:18px 22px;border:1px solid var(--gold);color:var(--fg)}
.draft-note strong{font-weight:500;color:var(--gold)}

/* LinkedIn's own logo, shown in aurum gold. The script recolours the official file saved as
   assets/images/linkedin-logo.png; if it cannot, the file's shape is filled with gold here instead */
.li-gold{display:none;width:28px;height:28px;background:linear-gradient(135deg,#E4C98F,#CDAC78 50%,#9C7730);
  -webkit-mask:url("../images/linkedin-logo.png") center/contain no-repeat;mask:url("../images/linkedin-logo.png") center/contain no-repeat}
.li-link.has-logo .li-gold{display:block}
.li-link.has-gold .li-gold{display:none}
.li-link.has-gold .li-logo{display:block}

/* ---------- contact page: one form, in the colours of the page ---------- */
.talk{padding-top:calc(var(--nav-h) + clamp(56px,9vw,120px));padding-bottom:clamp(72px,10vw,140px)}
.talk h1{font-size:clamp(2.3rem,6.6vw,6.6rem)}
.talk .lede{margin-top:clamp(18px,2.4vw,30px);max-width:26em}
.talk-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 18px;max-width:46rem;margin-top:clamp(40px,5vw,64px)}
.field{display:grid;gap:9px;min-width:0}
.field--wide{grid-column:1 / -1}
.field label{font-size:.68rem;font-weight:500;font-stretch:112%;letter-spacing:.14em;word-spacing:.1em;text-transform:uppercase;color:var(--stone)}
.field .opt{letter-spacing:.06em;text-transform:none;color:#8C8577}
.field input,.field select,.field textarea{width:100%;min-height:52px;padding:13px 15px;border:1px solid #4A4740;border-radius:0;background:#111014;color:var(--ivory);font:inherit;font-size:1rem;line-height:1.4;transition:border-color .25s}
.field textarea{min-height:170px;resize:vertical}
.field select{appearance:none;-webkit-appearance:none;padding-right:46px;cursor:pointer;
  background:#111014 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23CDAC78' stroke-width='1.6'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center/18px no-repeat}
.field select:invalid{color:#8C8577}
.field option{color:var(--ivory);background:#111014}
.field input:hover,.field select:hover,.field textarea:hover{border-color:#6A665D}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--gold)}
.field input:focus-visible,.field select:focus-visible,.field textarea:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.talk-form.tried .field :invalid{border-color:#C97A5A}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.talk-note{font-size:.9rem;color:var(--stone)}
.talk-note a{color:var(--ivory);border-bottom:1px solid currentColor;padding-bottom:1px}
.talk-act{display:flex;flex-wrap:wrap;align-items:center;gap:14px 24px;margin-top:4px}
.talk-act .chip{border:0;padding:0;background:none;cursor:pointer;font-family:inherit}
.talk-act .chip[disabled]{opacity:.6;cursor:progress}
.talk-msg{margin:0;font-size:.95rem;color:var(--gold)}
.talk-msg a{color:var(--ivory);border-bottom:1px solid currentColor}
.talk-done{max-width:34rem;margin-top:clamp(40px,5vw,64px);padding:26px 28px;border:1px solid var(--gold)}
.talk-done h2{font-size:clamp(1.4rem,2.4vw,2rem);font-weight:500;letter-spacing:-.02em}
.talk-done p{margin-top:10px;color:var(--stone)}
.talk-done:focus{outline:none}
.hp{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}
@media (max-width:600px){
  .talk-form{grid-template-columns:minmax(0,1fr)}
  .talk-act .chip{width:100%}
  .talk-act .chip-l{flex:1}
}

/* ---------- reduced motion: nothing moves, everything shows ---------- */
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  .w{animation:none;color:var(--ivory)}
  .hero-video .hero-stage{animation:none}
  .hero-media{transform:none}
  .hero-media video,.reel video{display:none}
  .mini{display:none}
  .js [data-reveal]{opacity:1;transform:none;transition:none}
  .js [data-lines] .ln-i{transform:none;transition:none}
  .js .card-set,.js .card-m,.js .card-m img,.js .index-name,.js .index-go .chip,.js .index-bar,.js .index-line li{transition:none}
  .js .card-m img{transform:none}
  .js .card-m video{display:none}
  .shot img{transition:none}
  .people-btn{transition:none}
  .chip-l,.chip-a,.chip-a svg,.tab{transition:none}
  .faq-q::details-content,.faq-pm::before,.faq-pm::after{transition:none}
  .js .menu,.menu-open .menu,.js .menu-list li,.nav .menu-scrim{transition:none}
}
