/* Glolilo. Dark for drama, magenta for the big statements, paper for what gets read closely. */

@font-face { font-family: 'Jost'; src: url(../fonts/jost-normal.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Bodoni Moda'; src: url(../fonts/bodoni-moda-normal.woff2) format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Bodoni Moda'; src: url(../fonts/bodoni-moda-italic.woff2) format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Hanken Grotesk'; src: url(../fonts/hanken-grotesk-normal.woff2) format('woff2'); font-weight: 400 500; font-display: swap; }

:root {
  --ink: #140b12;
  --mag: #b30b66;
  --wine: #3a0a26;
  --hot: #f0389a;
  --bone: #f6f0e8;
  --text: #17101a;
  --soft: #4b3f47;
  --edge: 6vw;
  --sans: 'Jost', 'Avenir Next', Futura, sans-serif;
  --serif: 'Bodoni Moda', Didot, 'Times New Roman', serif;
  --body: 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --screen: 100vh;
}
@supports (height: 100svh) { :root { --screen: 100svh; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bone); color: var(--text); font-family: var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, h4, p, dl, dd, ul { margin: 0; padding: 0; font-weight: inherit; font-size: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

.skip { position: fixed; z-index: 30; left: 16px; top: -60px; padding: 10px 16px; background: var(--ink); color: var(--bone); border-radius: 6px; font-size: 15px; }
.skip:focus { top: 76px; }

/* Fixed navigation: follows the colours of whatever is beneath it */
.nav { position: fixed; z-index: 20; inset: 0 0 auto; display: flex; justify-content: space-between; align-items: center; padding: clamp(12px, 1.9vw, 26px) 4vw; transition: background-color .3s, box-shadow .3s; --dot: var(--hot); color: var(--bone); }
.nav[data-theme="mag"] { --dot: var(--ink); }
.nav[data-theme="paper"] { --dot: var(--mag); color: var(--text); }
.nav.half { background: linear-gradient(to right, var(--bone) 50%, transparent 50%); }
.nav.bar[data-theme="ink"] { background: rgba(20,11,18,.93); box-shadow: none; }
.nav.bar { background: rgba(246,240,232,.93); box-shadow: 0 1px 0 rgba(23,16,26,.08); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.brand { display: block; line-height: 0; }
.logo { display: block; height: clamp(30px, 2.8vw, 40px); width: auto; aspect-ratio: 2723 / 1054; overflow: visible; }
.logo circle { transition: fill .3s; }
.cta { font: 500 clamp(14px, 1.05vw, 15px)/1 var(--body); padding: .8em 1.3em; border-radius: 99px; text-decoration: none; white-space: nowrap; color: var(--bone); background: rgba(20,11,18,0); box-shadow: inset 0 0 0 1px rgba(246,240,232,.45); transition: background-color .3s, box-shadow .3s, transform .2s; }
.cta:hover { transform: translateY(-1px); }
.nav[data-theme="mag"] .cta, .nav[data-theme="paper"] .cta { background: var(--ink); box-shadow: none; }
.cta { transition: background-color .3s, box-shadow .3s, transform .2s, opacity .3s, visibility .3s; }
.nav.closing-now .cta { opacity: 0; visibility: hidden; }

/* Hero stage. JavaScript sets the moving values; these are the resting ones for no-script. */
.hero { position: relative; height: calc(var(--screen) * 4.25); }
.stage { position: sticky; top: 0; height: var(--screen); overflow: hidden; background: var(--ink); color: var(--bone); }
.flood { position: absolute; inset: 0; }
.flood { background: var(--mag); }
.thread, .net { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; display: none; }
.thread path { fill: none; stroke: var(--hot); stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.8s .3s cubic-bezier(.6,0,.2,1) forwards; }
.thread circle { fill: var(--hot); opacity: 0; animation: pop .3s 2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { to { opacity: 1; } }
.net path { fill: none; stroke: var(--bone); stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: 1; }
.net circle { fill: var(--bone); }
.net text { fill: var(--bone); font-family: var(--body); font-weight: 500; }
h1 { position: absolute; left: 4vw; top: 12vh; font: 600 clamp(56px, 12vw, 190px)/.92 var(--sans); letter-spacing: -.035em; white-space: nowrap; z-index: 1; }
.done { display: inline-grid; }
.done > span { grid-area: 1 / 1; }
.done .serif { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--hot); letter-spacing: -.02em; opacity: 0; }
.done .sans { color: var(--ink); }
.done .sans::before { content: attr(data-text); }
.people { position: absolute; z-index: 2; right: -3vw; bottom: -2vh; width: min(49vw, 86vh); height: auto; will-change: transform; }
.lead { position: absolute; z-index: 3; left: 4vw; bottom: 5vh; width: 30vw; min-width: 280px; font-size: 16px; line-height: 1.45; color: var(--bone); }
.hint { position: absolute; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(246,240,232,.6); display: none; }
.statement { position: absolute; display: none; font-family: var(--sans); font-weight: 500; letter-spacing: -.03em; line-height: 1.04; }
.statement em { display: block; font-style: normal; color: var(--ink); }
.js .flood, .js .people, .js h1 { will-change: clip-path, transform; }
.js .thread, .js .net, .js .hint, .js .statement { display: block; }
.js .done .serif { opacity: 1; }
.js .done .sans { opacity: 0; }
.js .statement, .js .net text { opacity: 0; }

/* Shared paper type */
.kicker { display: flex; align-items: center; font: 500 13px var(--body); letter-spacing: .04em; color: var(--soft); }
.kicker i { width: 8px; height: 8px; border-radius: 50%; background: var(--mag); flex: none; }
.kicker u { display: block; width: 72px; height: 1px; background: var(--mag); }
.kicker span, .kicker h2 { margin-left: 14px; }
.kicker.on-dark { color: rgba(246,240,232,.72); }
.kicker.on-dark i { background: var(--hot); }
.kicker.on-dark u { background: var(--hot); }
.big { margin-top: clamp(14px, 2.2vw, 30px); font: 400 clamp(34px, 4.8vw, 84px)/1.08 var(--serif); letter-spacing: -.015em; color: var(--text); }
.big em { color: var(--mag); }
.read { position: relative; background: var(--bone); padding: 0 var(--edge); }

/* 4: The process, on full magenta. The negative margin pins it over the services until its dot has opened. */
.process { position: relative; z-index: 8; margin-top: calc(var(--screen) * -1.62); height: calc(var(--screen) * 4.3); }
.story { position: sticky; top: 0; height: var(--screen); padding: clamp(60px, 10vh, 92px) var(--edge) 2vh; display: flex; flex-direction: column; justify-content: center; background: var(--mag); color: var(--bone); }
.story .big { position: relative; z-index: 2; width: fit-content; align-self: flex-start; color: var(--bone); will-change: transform; }
.story .big em { color: var(--bone); }
.kicker.on-mag { color: rgba(246,240,232,.88); }
.kicker.on-mag i, .kicker.on-mag u { background: var(--bone); }
.js .story .kicker { opacity: 0; will-change: transform, opacity; }
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4vw; margin-top: clamp(22px, 5vh, 56px); padding-top: 34px; }
.js .steps { opacity: 0; }
.rule, .rule-live { position: absolute; left: 0; right: 0; top: 4px; height: 1px; }
.rule { background: rgba(246,240,232,.28); }
.rule-live { background: var(--bone); transform-origin: left top; }
.js .rule-live { transform: scaleX(0); }
.ring { position: absolute; top: -34px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--mag); box-shadow: inset 0 0 0 1px rgba(246,240,232,.6); }
.ring::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--bone); transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.js .ring::after { transform: scale(0); }
.js .ring.on::after { transform: scale(1); }
.ring.end { top: 0; left: auto; right: 0; }
.step { position: relative; }
.js .step .txt { opacity: 0; will-change: transform, opacity; }
.step h3 { font: 500 clamp(24px, min(3.3vw, 6vh), 56px)/1.05 var(--sans); letter-spacing: -.03em; }
.step p { margin-top: .7em; font-size: clamp(15px, 1.25vw, 19px); line-height: 1.5; color: rgba(246,240,232,.9); }
.tail { margin-top: clamp(22px, 5vh, 56px); font: italic 400 clamp(22px, 2.4vw, 40px)/1.2 var(--serif); color: var(--bone); }
.tail span { display: inline-block; }
.js .tail span { opacity: 0; will-change: transform, opacity; }

/* Scroll-pinned acts share a ground that opens or closes like the hero's dot */
.act { position: relative; }
.pin { position: sticky; top: 0; height: var(--screen); overflow: hidden; }
.ground { position: absolute; inset: 0; }

/* 3: What we do. The negative margin pins it over the hero's stage, which holds still beneath
   it until the dark ground has fully opened. */
.what { z-index: 7; margin-top: calc(var(--screen) * -1.65); height: calc(var(--screen) * 3.75); }
.what.unpinned + .process { margin-top: 0; }
.what .ground { background: var(--ink); color: var(--bone); }
.what-in { height: 100%; padding: clamp(64px, 11vh, 110px) var(--edge) 5vh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); column-gap: 5vw; align-items: center; }
.what-left { display: flex; flex-direction: column; gap: clamp(12px, 3vh, 30px); }
.words { position: relative; font: 600 min(13vw, 23vh)/1.02 var(--sans); letter-spacing: -.04em; }
.marker { position: absolute; right: 0; top: 0; width: clamp(14px, 1.6vw, 24px); height: clamp(14px, 1.6vw, 24px); border-radius: 50%; background: var(--hot); will-change: transform; }
.panels { display: grid; }
.panel { grid-area: 1 / 1; will-change: transform, opacity; }
.panel h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.pitch { font: italic 400 clamp(23px, 2.5vw, 38px)/1.18 var(--serif); color: var(--hot); margin-bottom: clamp(18px, 3.4vh, 36px); }
.service { padding-block: clamp(13px, 2.2vh, 22px); border-top: 1px solid rgba(246,240,232,.2); }
.service h4 { font: 500 clamp(19px, 1.75vw, 27px)/1.2 var(--sans); letter-spacing: -.015em; }
.service p { margin-top: .4em; font-size: clamp(15px, 1.15vw, 17px); line-height: 1.5; color: rgba(246,240,232,.72); }

/* 5: The track record. One enormous number, with the sectors moving past beneath it. */
.record { z-index: 9; margin-top: calc(var(--screen) * -1.55); height: calc(var(--screen) * 2.85); }
.process.unpinned + .record { margin-top: 0; }
.record .ground { background: var(--ink); color: var(--bone); }
.record-in { height: 100%; padding: clamp(60px, 10vh, 92px) 0 clamp(18px, 4vh, 40px); display: flex; flex-direction: column; justify-content: center; gap: clamp(14px, 4vh, 44px); overflow: hidden; }
.years { display: flex; align-items: flex-end; gap: 2.5vw; padding: 0 var(--edge); }
.years strong { font: 400 min(31vw, 54vh)/.84 var(--serif); letter-spacing: -.035em; color: var(--hot); transform-origin: left bottom; will-change: transform; }
.years span { font: 300 min(4.6vw, 8vh)/1.04 var(--sans); letter-spacing: -.03em; padding-bottom: .3em; }
.js .years span { opacity: 0; will-change: transform, opacity; }
.tickers { display: flex; flex-direction: column; gap: .15em; font: 500 min(5vw, 8.6vh)/1.15 var(--sans); letter-spacing: -.03em; }
.ticker { display: flex; width: max-content; padding: 0 var(--edge); white-space: nowrap; will-change: transform; }
.ticker li + li::before { content: ''; display: inline-block; width: .3em; height: .3em; margin: 0 .55em; border-radius: 50%; background: var(--hot); vertical-align: .14em; }
.js .tickers { opacity: 0; }

/* 6: Founders: one line first, then the rest arrives with the scroll */
.founders { height: calc(var(--screen) * 3.05); background: var(--bone); }
.founders .pin { display: flex; align-items: stretch; }
.founders-copy { flex: 1 1 50%; min-width: 0; padding: 12vh 4vw 8vh var(--edge); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.founders-copy .big { position: relative; z-index: 3; width: fit-content; font-size: clamp(34px, 4.3vw, 76px); will-change: transform; }
.founders-copy .big em { display: block; }
.founders-copy dl { margin-top: clamp(20px, 5vh, 52px); }
.founders-copy dt { font: 500 clamp(18px, 1.6vw, 26px) var(--sans); letter-spacing: -.01em; }
.founders-copy dd { margin: .3em 0 1.5em; max-width: 30em; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.5; color: var(--soft); }
.js .reveal, .js .founders-copy .big em { opacity: 0; will-change: transform, opacity; }
.shot { flex: 1 1 50%; min-width: 0; min-height: 0; position: relative; overflow: hidden; background: var(--mag); }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 30% center; will-change: transform; }

/* 7: What they live by: three principles, arriving one at a time */
.why { z-index: 10; margin-top: calc(var(--screen) * -1.45); height: calc(var(--screen) * 3); }
.founders.unpinned + .why { margin-top: 0; }
.why .ground { background: var(--wine); color: var(--bone); display: flex; align-items: center; }
.why-in { width: 100%; padding: clamp(60px, 10vh, 92px) var(--edge) 3vh; }
.why h2 { font: 400 clamp(34px, min(4.8vw, 8.6vh), 84px)/1.08 var(--serif); letter-spacing: -.015em; }
.why h2 em { display: block; color: var(--hot); }
.principles { margin: clamp(18px, 4.5vh, 48px) 0 0; padding: 0; list-style: none; }
.principle { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 4vw; align-items: center; min-height: clamp(74px, 14vh, 128px); padding-block: clamp(8px, 1.4vh, 14px); border-top: 1px solid rgba(246,240,232,.22); }
.principle:last-child { border-bottom: 1px solid rgba(246,240,232,.22); }
.principle h3 { font: 500 clamp(30px, min(4.3vw, 7.8vh), 72px)/1.05 var(--sans); letter-spacing: -.035em; }
.principle p { font-size: clamp(16px, 1.45vw, 22px); line-height: 1.4; color: rgba(246,240,232,.86); }
.js .why h2, .js .principle { opacity: 0; will-change: transform, opacity; }

/* 8: The close: the opening's flood runs in reverse, back down to one dot */
.closing { z-index: 11; margin-top: calc(var(--screen) * -1); height: calc(var(--screen) * 1.5); }
.why.unpinned + .closing { margin-top: 0; }
.anchor { position: absolute; left: 0; bottom: 0; height: var(--screen); width: 1px; }
.closing .pin { background: var(--ink); color: var(--bone); display: flex; align-items: center; justify-content: center; }
.closing .ground { background: var(--wine); }
.close-in { position: relative; text-align: center; width: min(600px, 76vw); }
.close-in h2 { font: 500 clamp(32px, min(4.2vw, 7.2vh), 66px)/1.06 var(--sans); letter-spacing: -.03em; }
.button { display: inline-block; margin-top: clamp(16px, 3.4vh, 30px); padding: .85em 1.6em; border-radius: 99px; background: var(--ink); color: var(--bone); font: 500 clamp(15px, 1.2vw, 18px)/1 var(--body); text-decoration: none; transition: transform .2s; }
.button:hover { transform: translateY(-1px); }
.js .close-in { opacity: 0; will-change: transform, opacity; }

/* Footer */
.foot { position: relative; background: var(--ink); color: rgba(246,240,232,.72); padding: clamp(40px, 8vh, 80px) var(--edge) clamp(28px, 5vh, 48px); --dot: var(--hot); }
.foot .logo { color: var(--bone); height: clamp(36px, 3.4vw, 52px); }
.foot p { margin-top: 18px; font: 300 clamp(20px, 2vw, 28px)/1.2 var(--sans); color: var(--bone); letter-spacing: -.01em; }
.foot p.small { margin-top: 10px; font: 400 14px/1.5 var(--body); color: rgba(246,240,232,.62); letter-spacing: 0; }

/* Tall screens: phones and upright tablets */
@media (max-aspect-ratio: 17/20) {
  :root { --edge: 6vw; }
  .nav { padding-inline: 6vw; }
  h1 { font-size: 20vw; top: 16vw; left: 5vw; }
  .people { right: -2vw; width: 104vw; }
  .lead { left: 6vw; width: 86vw; font-size: 16px; bottom: auto; top: 76vw; }
  .steps { grid-template-columns: 1fr; gap: clamp(14px, 2.6vh, 24px); margin-top: clamp(20px, 3.4vh, 32px); padding-top: 0; padding-left: 28px; }
  .rule, .rule-live { left: 4px; right: auto; top: 4px; bottom: 4px; height: auto; width: 1px; }
  .ring { top: .45em; left: -28px; }
  .ring.end { top: auto; bottom: 0; left: 0; right: auto; }
  .step h3 { font-size: clamp(24px, 3.4vh, 34px); }
  .step h3 br { display: none; }
  .big br { display: none; }
  .step p { margin-top: .3em; }
  .tail { margin-top: clamp(16px, 3vh, 30px); }
  .story { padding-top: 64px; }
  .what-in { grid-template-columns: minmax(0, 1fr); align-content: center; row-gap: clamp(14px, 2.6vh, 26px); padding-top: 72px; padding-bottom: 3vh; }
  .words { font-size: min(19vw, 8.6vh); }
  .pitch { margin-bottom: clamp(10px, 1.8vh, 18px); }
  .years { flex-direction: column; align-items: flex-start; gap: 3vh; }
  .years strong { font-size: min(58vw, 34vh); }
  .years span { font-size: min(10.5vw, 6vh); padding-bottom: 0; }
  .years span br { display: none; }
  .tickers { font-size: min(10vw, 5.4vh); }
  .founders .pin { flex-direction: column; }
  .founders-copy { flex: none; padding: 76px var(--edge) clamp(10px, 2vh, 20px); }
  .founders-copy dl { margin-top: clamp(12px, 2.2vh, 22px); }
  .founders-copy dd { margin-bottom: .9em; }
  .shot { flex: 1 1 auto; }
  .shot img { object-position: 30% 12%; }
  html:not(.js) .founders .shot, .calm .founders .shot, .founders.unpinned .shot { flex: none; aspect-ratio: 1; }
  .principle { grid-template-columns: minmax(0, 1fr); row-gap: .35em; min-height: 0; padding-block: clamp(10px, 1.8vh, 18px); align-items: start; }
  .principle h3 { font-size: clamp(30px, min(9.4vw, 5.2vh), 56px); }
  .why h2 { font-size: clamp(34px, min(10vw, 5.6vh), 64px); }
}

/* No pinning: reduced motion, no-script, or a screen too short to hold a pinned section */
html:not(.js) .process, html:not(.js) .what, html:not(.js) .record, html:not(.js) .founders, html:not(.js) .why, html:not(.js) .closing,
.calm .process, .calm .what, .calm .record, .calm .founders, .calm .why, .calm .closing,
.process.unpinned, .act.unpinned { height: auto; margin-top: 0; }
html:not(.js) .hero { height: var(--screen); }
html:not(.js) .story, html:not(.js) .pin,
.calm .story, .calm .pin,
.unpinned .story, .unpinned .pin { position: relative; height: auto; min-height: var(--screen); padding-block: 12vh; }
.calm .story, .unpinned .story { clip-path: none !important; }
html:not(.js) .record-in, .calm .record-in, .unpinned .record-in { height: auto; min-height: var(--screen); padding-block: 14vh; }
html:not(.js) .ticker, .calm .ticker, .unpinned .ticker { width: auto; flex-wrap: wrap; row-gap: .15em; white-space: normal; transform: none !important; }
html:not(.js) .ticker li, .calm .ticker li, .unpinned .ticker li { white-space: nowrap; }
html:not(.js) .pin, .calm .pin, .unpinned .pin { padding-block: 0; }
html:not(.js) .ground, .calm .ground, .unpinned .ground { position: relative; inset: auto; min-height: var(--screen); clip-path: none !important; }
.calm .why .ground, .unpinned.why .ground, html:not(.js) .why .ground { padding-block: 8vh; }
html:not(.js) .what-in, .calm .what-in, .unpinned .what-in { height: auto; grid-template-columns: minmax(0, 1fr); padding-block: 14vh; }
html:not(.js) .words, .calm .words, .unpinned .words { display: none; }
html:not(.js) .panels, .calm .panels, .unpinned .panels { row-gap: 56px; margin-top: 32px; }
html:not(.js) .panel, .calm .panel, .unpinned .panel { grid-area: auto; opacity: 1 !important; transform: none !important; visibility: visible !important; }
html:not(.js) .panel h3, .calm .panel h3, .unpinned .panel h3 { position: static; width: auto; height: auto; clip-path: none; font: 600 clamp(56px, 9vw, 130px)/1.02 var(--sans); letter-spacing: -.04em; margin-bottom: 12px; }
.calm { scroll-behavior: auto; }
.calm .thread path { animation: none; stroke-dashoffset: 0; }
.calm .thread circle { animation: none; opacity: 1; }
.calm .process { margin-top: 0; }
.calm .hero { height: calc(var(--screen) * 2); }
html:not(.js) .closing .pin, .calm .closing .pin, .unpinned.closing .pin { padding-block: 16vh; background: var(--mag); }
html:not(.js) .closing .ground, .calm .closing .ground, .unpinned.closing .ground { display: none; }
html:not(.js) .close-in, .calm .close-in { opacity: 1; }
html:not(.js) .anchor { display: none; }
html:not(.js) .nav { position: absolute; }
@media print { .nav { position: static; } }
