
:root{
  --paper:#e7e4da;--paper-hi:#f6f4ee;--ink:#141412;--muted:#625f57;--light:#f6f3ec;--orange:#ff8448;
  --gutter:clamp(18px,4vw,60px);--header:68px;--rail:0px;--edge:clamp(24px,3.2vw,50px);
  --noise:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .25 0 0 0 0 .2 0 0 0 0 .12 0 0 0 .32 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  font-family:"Familjen Grotesk","Helvetica Neue",Arial,sans-serif;color:var(--ink);background:#0c0b0a;color-scheme:dark;
  -webkit-font-smoothing:antialiased
}
@media (min-width:1100px){:root{--rail:clamp(210px,16vw,270px)}}
*{box-sizing:border-box}
html.lenis,html.lenis body{height:auto}
.lenis.lenis-smooth{scroll-behavior:auto!important}
.lenis.lenis-stopped{overflow:hidden}
body{margin:0;overflow-x:clip}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
h1,h2,h3,h4,p,figure,ol,ul{margin:0}
a:focus-visible{outline:2px solid var(--orange);outline-offset:4px;border-radius:4px}
.skip{position:fixed;left:16px;top:8px;z-index:50;background:var(--light);color:var(--ink);padding:12px 16px;border-radius:8px;transform:translateY(-160%)}
.skip:focus{transform:none}
.mono,.kicker,.chapter-no,.deck-label,.ecard-top,.foot,.cover-cue{font:500 11.5px/1.4 "Azeret Mono",ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.12em;text-transform:uppercase}
em,.serif{font-family:"Brygada 1918",Georgia,serif;font-style:italic;font-weight:400}

/* Header */
.mast{position:fixed;z-index:30;inset:0 0 auto;height:var(--header);display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:0 var(--gutter);color:var(--light);transition:color .4s}
.mast[data-tone=ink]{color:var(--ink)}
.brand{justify-self:start;display:inline-flex;align-items:center;gap:11px;font-weight:720;font-size:23px;letter-spacing:-.065em}
.brand img{width:34px;height:34px;border-radius:8px;box-shadow:0 0 0 1px #ffffff1f}
.brand i{font-style:normal;color:var(--orange)}
.mast-nav{display:flex;gap:30px;font-size:14px;font-weight:560}
.mast-nav a{opacity:.78;transition:opacity .2s}.mast-nav a:hover{opacity:1}
.cta{justify-self:end;font-size:14px;font-weight:620;padding:10px 18px;border-radius:99px;background:var(--light);color:var(--ink);transition:background .4s,color .4s}
.mast[data-tone=ink] .cta{background:var(--ink);color:var(--light)}
@media (max-width:700px){.mast-nav{display:none}.mast{grid-template-columns:1fr auto}.brand{font-size:20px}}

/* The fixed stage behind every chapter */
.stage{position:fixed;inset:0;z-index:0;overflow:hidden;background:#0c0b0a}
.scene{--zoom:1;position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .7s,visibility 0s .7s}
.scene.is-active{opacity:1;visibility:visible;transition:opacity .7s}
.scene img,.scene picture{position:absolute;inset:0;width:100%;height:100%}
.scene img{object-fit:cover;transform:scale(var(--zoom));transform-origin:50% 46%}
.scene::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#000a 0,#0000 26%,#0000 48%,#000c 100%)}
.scene--light::after{background:linear-gradient(180deg,#0000 60%,#0000001f)}
.scene--ontour{background:radial-gradient(120% 90% at 50% 62%,#f4f1fb 0,#ddd5ee 46%,#b7aad6 100%)}
.scene--ontour img{object-fit:contain;mix-blend-mode:multiply;padding:15vh 9vw 9vh}
.scene--consult{background:#101827}
.scene--consult img{filter:grayscale(1) contrast(1.15) brightness(.42);object-position:72% 50%;mix-blend-mode:luminosity}
.grain{position:absolute;inset:0;background:var(--noise);opacity:.55;mix-blend-mode:overlay;pointer-events:none}

main{position:relative;z-index:1}

/* Cover: framed title card */
.cover{position:relative;height:100vh;height:100svh}
.motion .cover{height:230vh;height:230svh}
.frame{position:absolute;z-index:15;left:50%;top:50%;translate:-50% -50%;width:min(430px,86vw);height:min(590px,76svh);padding:28px 28px 26px;display:flex;flex-direction:column;color:var(--light);pointer-events:none}
.motion .frame{position:fixed}
.frame-box{position:absolute;inset:0}
.ln{position:absolute;background:currentColor;opacity:.7}
.ln-t{left:0;right:0;top:0;height:1px;transform-origin:0 0}
.ln-r{top:0;bottom:0;right:0;width:1px;transform-origin:0 0}
.ln-b{left:0;right:0;bottom:0;height:1px;transform-origin:100% 0}
.ln-l{top:0;bottom:0;left:0;width:1px;transform-origin:0 100%}
.dock-title{align-self:flex-start;font-size:clamp(46px,4.6vw,60px);font-weight:730;letter-spacing:-.07em;line-height:.86;transform-origin:0 0;pointer-events:auto;transition:color .4s}
.dock-title span{display:block;font-family:"Brygada 1918",Georgia,serif;font-style:italic;font-weight:400;font-size:1.16em;letter-spacing:-.045em;margin-left:.05em}
.dock-title b{color:var(--orange);font-weight:inherit}
.frame-sub{margin-top:auto;max-width:27ch;font-family:"Brygada 1918",Georgia,serif;font-style:italic;font-size:clamp(19px,1.7vw,22px);line-height:1.16;letter-spacing:-.01em;color:#f6f3ecdd}
.dock-index{align-self:flex-start;width:240px;margin-top:24px;transform-origin:0 0;pointer-events:auto;transition:color .4s}
.dock-index ol{list-style:none;padding:0;font-size:16px;font-weight:640;line-height:1.3;letter-spacing:-.02em}
.dock-index a{position:relative;display:flex;justify-content:space-between;gap:16px;opacity:.82;transition:opacity .25s}
.dock-index a:hover,.dock-index a.is-current{opacity:1}
.dock-index a::before{content:"";position:absolute;left:-14px;top:50%;width:6px;height:6px;margin-top:-3px;border-radius:50%;background:var(--orange);transform:scale(0);transition:transform .3s}
.dock-index a.is-current::before{transform:none}
.dock-index b{font-family:"Brygada 1918",Georgia,serif;font-style:italic;font-weight:400;opacity:.66}
[data-tone=ink].dock-title,[data-tone=ink].dock-index{color:var(--ink)}
.cover-cue{position:absolute;left:50%;bottom:22px;translate:-50% 0;display:flex;flex-direction:column;align-items:center;gap:10px;color:#f6f3ecb3}
.motion .cover-cue{position:fixed;z-index:14}
.cover-cue span{width:1px;height:38px;background:linear-gradient(#f6f3ec00,#f6f3ec);animation:cue 2.2s ease-in-out infinite;transform-origin:50% 0}
@keyframes cue{0%{transform:scaleY(0)}50%{transform:scaleY(1);transform-origin:50% 0}51%{transform-origin:50% 100%}100%{transform:scaleY(0);transform-origin:50% 100%}}

/* Chapters */
.chapter{position:relative}
.opener{position:relative}
.motion .opener{height:300vh;height:300svh}
.opener-inner{position:relative;min-height:100vh;min-height:100svh;display:flex;flex-direction:column;justify-content:flex-end;padding:calc(var(--header) + 20px) var(--gutter) clamp(36px,9vh,90px) calc(var(--gutter) + var(--rail));color:var(--light);overflow:clip}
.motion .opener-inner{position:sticky;top:0;height:100vh;height:100svh}
.chapter[data-scene=booth] .opener-inner,.chapter[data-scene=ontour] .opener-inner{color:var(--ink)}
.chapter-no{opacity:.82}
.giant{font-size:clamp(3.3rem,13vw,15.5rem);font-weight:680;letter-spacing:-.078em;line-height:.84;margin:.14em 0 .16em -.04em;padding-bottom:.06em;white-space:nowrap;overflow:clip}
.giant .ch{display:inline-block;will-change:transform}
.giant--serif{font-family:"Brygada 1918",Georgia,serif;font-style:italic;font-weight:400;font-size:clamp(3.2rem,10.5vw,12rem);letter-spacing:-.055em;line-height:.95;padding-right:.08em}
.lede{font-family:"Brygada 1918",Georgia,serif;font-style:italic;font-size:clamp(1.65rem,3.1vw,3.3rem);line-height:1.05;letter-spacing:-.03em;max-width:21ch;text-wrap:balance}
.lede .w{display:inline-block}
.cap{font-size:1.9em;line-height:0;vertical-align:-.1em;margin-right:.015em;letter-spacing:0}

/* Paper sheets with torn edges */
.sheet-wrap{position:relative;z-index:2}
.motion .chapter:not(.chapter--sheet-only) .sheet-wrap{margin-top:-100vh;margin-top:-100svh}
.sheet{position:relative;z-index:1;min-height:calc(100svh + var(--edge) * 2);padding:var(--edge) 0;color:var(--ink);background:var(--noise),var(--paper);overflow-x:clip;
  -webkit-mask:url(torn-top.svg) top/100% var(--edge) no-repeat,linear-gradient(#000 0 0) 0 calc(var(--edge) - 1px)/100% calc(100% - var(--edge) * 2 + 2px) no-repeat,url(torn-bottom.svg) bottom/100% var(--edge) no-repeat;
  mask:url(torn-top.svg) top/100% var(--edge) no-repeat,linear-gradient(#000 0 0) 0 calc(var(--edge) - 1px)/100% calc(100% - var(--edge) * 2 + 2px) no-repeat,url(torn-bottom.svg) bottom/100% var(--edge) no-repeat}
.rim{position:absolute;z-index:0;left:0;right:0;height:var(--edge);pointer-events:none;filter:drop-shadow(0 0 12px #0000006b)}
.rim::before{content:"";position:absolute;inset:0;background:var(--paper-hi);-webkit-mask:var(--m) 0 0/100% 100% no-repeat;mask:var(--m) 0 0/100% 100% no-repeat}
.rim--top{top:-4px;--m:url(torn-top-rim.svg)}
.rim--bottom{bottom:-4px;--m:url(torn-bottom-rim.svg)}
.sheet-inner{padding:clamp(80px,15vh,170px) var(--gutter) clamp(60px,10vh,120px) calc(var(--gutter) + var(--rail))}
.kicker{color:var(--muted);margin-bottom:18px}
.serif-head,.serif-lede{font-family:"Brygada 1918",Georgia,serif;font-style:italic;font-weight:400;letter-spacing:-.035em;line-height:1.02;text-wrap:balance}
.serif-head{font-size:clamp(2.3rem,4.3vw,4.6rem);margin-bottom:26px}
.serif-lede{font-size:clamp(1.9rem,3.6vw,3.9rem);max-width:20ch;margin-top:18px}
.feature-copy>p:not(.kicker),.consult-head>p:not(.kicker){font-size:clamp(1rem,1.15vw,1.2rem);line-height:1.52;max-width:40ch;color:#3b3934;text-wrap:pretty}
.pill{display:inline-flex;align-items:center;gap:8px;margin-top:28px;padding:11px 18px;border-radius:99px;background:var(--ink);color:var(--light);font-size:14px;font-weight:620;transition:transform .25s}
.pill::after{content:"↗";font-size:13px}
.pill:hover{transform:translateY(-2px)}
.pill--light{background:var(--light);color:var(--ink)}
.pill--ghost{background:#0000;color:var(--light);box-shadow:inset 0 0 0 1px #f6f3ec80}

/* Ontourage head + deck */
.studio-title{display:flex;align-items:center;gap:.16em;font-size:clamp(3.6rem,8.5vw,10rem);font-weight:690;letter-spacing:-.075em;line-height:1}
.studio-title img{width:.7em;height:.7em;border-radius:20%;box-shadow:0 14px 30px -14px #000a}
.deck{position:relative;--cw:clamp(150px,15.5vw,240px)}
.deck-stage{padding:40px var(--gutter) 90px calc(var(--gutter) + var(--rail))}
.deck-cards{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:16px}
.pcard{width:var(--cw);height:calc(var(--cw) * 1.4)}
.pcard a{display:flex;flex-direction:column;height:100%;padding:8px;background:#fbfaf6;border-radius:12px;box-shadow:0 1px 1px #0000001a,0 22px 44px -18px #0000007a}
.pcard img{flex:1;min-height:0;width:100%;object-fit:cover;border-radius:6px}
.pcard img.contain{object-fit:contain;background:#fff}
.pcard-meta{display:grid;grid-template-columns:1fr auto;gap:1px 8px;padding:11px 5px 4px}
.pcard-meta b{font-size:clamp(14px,1.25vw,19px);letter-spacing:-.035em;font-weight:690}
.pcard-meta small{grid-column:1;font:500 9.5px/1.3 "Azeret Mono",ui-monospace,Menlo,monospace;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.pcard-meta i{grid-row:1/3;grid-column:2;align-self:center;font-family:"Brygada 1918",Georgia,serif;font-size:clamp(18px,1.6vw,24px)}
.deck-label{display:flex;gap:14px;color:var(--muted);margin-bottom:22px}
.deck-label b{color:var(--ink);font-weight:500}
.motion .deck{height:330vh;height:330svh}
.motion .deck-stage{position:sticky;top:0;height:100vh;height:100svh;display:grid;place-items:center;padding:var(--header) var(--gutter) 0 calc(var(--gutter) + var(--rail))}
.motion .deck-label{position:absolute;top:calc(var(--header) + 26px);left:calc(var(--gutter) + var(--rail))}
.motion .deck-cards{display:block;position:relative;width:var(--cw);height:calc(var(--cw) * 1.4)}
.motion .pcard{position:absolute;inset:0}
@media (max-width:700px){.deck{--cw:clamp(96px,27.5vw,170px)}}

/* Feature boards: cards placed on the table */
.feature{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:clamp(30px,5vw,96px);align-items:center;min-height:100vh;min-height:100svh}
.board{position:relative;width:100%;aspect-ratio:1/1.02;perspective:1400px}
.bcard{position:absolute;left:var(--x);top:var(--y);margin:0;transform:rotate(var(--r))}
.photo{width:var(--w);padding:8px;background:#fbfaf6;border-radius:8px;box-shadow:0 1px 2px #0000001f,0 26px 50px -20px #00000080}
.photo img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:3px}
.photo--white img{object-fit:contain;background:#fff}
.phone{width:var(--w);padding:6px;background:#121212;border-radius:clamp(18px,2.6vw,36px);box-shadow:0 2px 4px #0000003d,0 40px 70px -26px #000000a3}
.phone img{width:100%;border-radius:clamp(13px,2.1vw,30px)}
.chip{z-index:2;display:inline-flex;align-items:center;gap:9px;padding:11px 16px;background:#fff;border-radius:12px;font-size:clamp(11.5px,1vw,14px);font-weight:620;letter-spacing:-.01em;white-space:nowrap;box-shadow:0 1px 2px #0000002b,0 16px 34px -14px #0000006b}
.chip i{width:8px;height:8px;border-radius:50%;background:var(--orange);flex:none}
.chip--dark{background:var(--ink);color:var(--light)}
@media (max-width:860px){.feature{grid-template-columns:1fr;gap:56px;padding-bottom:90px}.board{max-width:560px}}
@media (max-width:520px){.chip{padding:8px 11px;border-radius:9px}}

/* Consulting ledger: each new card displaces the last */
.consult-head{padding-bottom:20px}
.ledger-stage{padding:30px var(--gutter) 100px calc(var(--gutter) + var(--rail))}
.ledger-cards{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:18px}
.ecard{display:flex;flex-direction:column;min-height:330px;padding:clamp(22px,2.6vw,38px);border-radius:16px;background:#fbfaf6;box-shadow:0 1px 2px #0000001f,0 30px 60px -26px #00000085}
.ecard:nth-child(2){background:var(--ink);color:var(--light)}
.ecard:nth-child(3){background:#d6cfbd}
.ecard:nth-child(4){background:var(--orange)}
.ecard-top{display:flex;justify-content:space-between;align-items:flex-start;opacity:.75}
.ecard-top b{font-family:"Brygada 1918",Georgia,serif;font-style:italic;font-weight:400;font-size:44px;line-height:.7;letter-spacing:0;text-transform:none}
.ecard h4{margin:auto 0 14px;padding-top:28px;font-size:clamp(1.7rem,2.7vw,2.8rem);font-weight:680;letter-spacing:-.055em;line-height:.98}
.ecard>p:last-child{font-size:clamp(.95rem,1.05vw,1.08rem);line-height:1.5;opacity:.86;text-wrap:pretty}
.motion .ledger{height:420vh;height:420svh}
.motion .ledger-stage{position:sticky;top:0;height:100vh;height:100svh;display:grid;place-items:center;padding:var(--header) var(--gutter) 0 calc(var(--gutter) + var(--rail))}
.motion .ledger-cards{display:block;position:relative;width:min(540px,86vw);height:min(420px,64svh)}
.motion .ecard{position:absolute;inset:0;min-height:0}

/* Contact */
.motion .chapter--end .opener{height:auto}
.chapter--end .opener-inner{justify-content:center}
.motion .chapter--end .opener-inner{position:relative;height:auto;min-height:100svh}
.contact-links{display:flex;flex-wrap:wrap;gap:12px}
.contact-links .pill{margin-top:8px}
.foot{position:relative;display:flex;justify-content:space-between;gap:20px;padding:22px var(--gutter) 26px calc(var(--gutter) + var(--rail));color:#f6f3ecaa;border-top:1px solid #f6f3ec26;background:#0c0b0acc}
.foot a:hover{color:var(--light)}

@media (prefers-reduced-motion:reduce){.cover-cue span{animation:none}.scene,.scene.is-active{transition:none}}
