/* The Studio Canvas · v2 art direction.
   Site chrome: ink / paper / cobalt (signature) / lime (tiny status only) — live brand tokens.
   Secondary colour lives inside the project artwork: each piece has its own palette, type and imagery.
   Layout: sticky stage, one large canvas; camera position is a pure function of scroll progress. */
:root {
  --ink: #111214;
  --graphite: #18191c;
  --paper: #f3f3ef;
  --blue: #2455f5;
  --lime: #c7ff20;
  --line: #d8d9d4;
  --muted: #575952;
  --ink-line: rgba(243,243,239,.13);
  --ink-mute: rgba(243,243,239,.58);
  --f-site: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-display: "Space Grotesk", "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --gut: clamp(18px, 2.6vw, 44px);
  --ease: cubic-bezier(.2,.7,.1,1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }   /* stop iOS Safari from inflating text inside wide artboards */
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 400 17px/1.55 var(--f-site); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
[hidden] { display: none !important; }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: .02em; }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px rgba(199,255,32,.16); flex: none; }

/* ---------- chrome ---------- */
.top { position: fixed; z-index: 30; top: 0; left: 0; right: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: calc(env(safe-area-inset-top,0px) + 18px) var(--gut) 14px; pointer-events: none; }
.top > * { pointer-events: auto; }
.word { font: 700 20px/1 var(--f-site); letter-spacing: -.035em; text-decoration: none; }
.word i { font-style: normal; color: var(--blue); }
.word img { display: block; height: 22px; width: auto; }
.now { justify-self: center; transition: opacity .4s; display: flex; align-items: center; gap: 10px; padding: 8px 14px; border: 1px solid var(--ink-line); border-radius: 8px; background: rgba(17,18,20,.78); backdrop-filter: blur(10px); color: var(--ink-mute); min-width: 0; }
.now b { color: var(--paper); font-weight: 500; white-space: nowrap; }
.right { justify-self: end; display: flex; align-items: center; gap: 26px; font-size: 15px; }
.right a:not(.btn) { text-decoration: none; opacity: .78; }
.right a:not(.btn):hover { opacity: 1; }
.btn { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; padding: 11px 18px; border-radius: 10px; text-decoration: none; font-weight: 500; font-size: 15px; border: 1px solid transparent; transition: background .25s, color .25s, border-color .25s; cursor: pointer; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--paper); color: var(--ink); }
.btn-ghost { border-color: var(--ink-line); background: rgba(17,18,20,.5); }
.btn-ghost:hover { border-color: var(--paper); }
.menu { display: none; }

/* ---------- journey ---------- */
.journey { position: relative; height: 1000vh; }
.stage { position: sticky; top: 0; height: 100vh; overflow: hidden; perspective: 2600px; background:
  radial-gradient(circle at 1px 1px, rgba(243,243,239,.075) 1px, transparent 1.4px) 0 0 / 30px 30px, var(--ink); }
.canvas { position: absolute; left: 0; top: 0; width: 4200px; height: 3240px; transform-origin: 0 0; will-change: transform; }
.canvas { transform-style: preserve-3d; }
.frame { position: absolute; will-change: transform; }
.outro { position: absolute; inset: 0; z-index: 7; background: radial-gradient(70% 60% at 50% 50%, rgba(17,18,20,.94), rgba(17,18,20,.78) 70%, rgba(17,18,20,.6)); display: grid; place-content: center; justify-items: center; gap: 30px; padding: 0 var(--gut); text-align: center; opacity: 0; pointer-events: none; }
.outro.on { pointer-events: auto; }
.outro .k { display: flex; align-items: center; gap: 10px; color: var(--ink-mute); }
.outro h2 { margin: 0; font: 500 clamp(56px, 8.6vw, 156px)/.86 var(--f-display); letter-spacing: -.065em; text-wrap: balance; }
.outro h2 em { font-style: normal; color: var(--blue); }
.outro .ctas { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.mar-book .go { transition: background .4s; }
.frame > .label { position: absolute; left: 2px; bottom: calc(100% + 18px); display: flex; gap: 18px; align-items: baseline; font: 400 20px/1 var(--f-mono); color: var(--ink-mute); white-space: nowrap; }
.frame > .label b { font: 500 30px/1 var(--f-display); letter-spacing: -.03em; color: var(--paper); }
.board { position: relative; width: 100%; height: 100%; border-radius: 12px; overflow: hidden; box-shadow: 0 60px 120px -40px rgba(0,0,0,.75), 0 0 0 1px rgba(243,243,239,.07); background: var(--graphite); }
.wire { position: absolute; inset: 0; }
.wire svg { width: 100%; height: 100%; display: block; }
.wire rect { fill: none; stroke: rgba(122,150,255,.5); stroke-width: 1.5; }
.wire rect.t { stroke: none; fill: rgba(243,243,239,.14); }
.final { position: absolute; inset: 0; clip-path: inset(0 0 calc((1 - var(--b, 0)) * 100%) 0); }
.scan { position: absolute; left: 0; right: 0; top: calc(var(--b, 0) * 100%); height: 2px; background: var(--blue); box-shadow: 0 0 24px 2px rgba(36,85,245,.8); opacity: calc(var(--b, 0) * (1 - var(--b, 0)) * 4); pointer-events: none; }
.sel { position: absolute; border: 3px solid var(--blue); border-radius: 14px; pointer-events: none; transition: left .7s var(--ease), top .7s var(--ease), width .7s var(--ease), height .7s var(--ease), opacity .4s; }
.sel i { position: absolute; width: 18px; height: 18px; background: var(--paper); border: 3px solid var(--blue); border-radius: 3px; }
.sel i:nth-child(1) { left: -11px; top: -11px; } .sel i:nth-child(2) { right: -11px; top: -11px; } .sel i:nth-child(3) { left: -11px; bottom: -11px; } .sel i:nth-child(4) { right: -11px; bottom: -11px; }
.sel span { position: absolute; right: -3px; bottom: calc(100% + 14px); background: var(--blue); color: #fff; font: 500 20px/1 var(--f-mono); padding: 9px 13px; border-radius: 7px; white-space: nowrap; }

.scrim { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(90deg, rgba(17,18,20,.97) 0%, rgba(17,18,20,.95) 30%, rgba(17,18,20,.45) 39%, rgba(17,18,20,0) 46%); }
.panel { position: absolute; z-index: 5; left: var(--gut); bottom: 10vh; width: min(420px, 30vw); opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .6s var(--ease); pointer-events: none; }
.panel.on { opacity: 1; transform: none; pointer-events: auto; }
.panel .k { display: flex; align-items: center; gap: 10px; color: var(--ink-mute); }
.panel h2 { font: 500 clamp(30px, 3vw, 50px)/1 var(--f-display); letter-spacing: -.045em; margin: 0 0 0; text-wrap: balance; }
.panel p { margin: 16px 0 0; color: var(--ink-mute); max-width: 40ch; font-size: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 20px 0 0; padding: 0; list-style: none; }
.chips li { font-size: 13px; padding: 6px 11px; border-radius: 8px; border: 1px solid var(--ink-line); }
.credit { margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--ink-line); display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font: 400 12px/1.5 var(--f-mono); color: rgba(243,243,239,.45); }
.credit b { color: var(--ink-mute); font-weight: 500; }
.hero { position: absolute; z-index: 6; left: var(--gut); top: 0; bottom: 0; width: min(620px, 46vw); display: flex; flex-direction: column; justify-content: center; gap: 26px; transition: opacity .5s, transform .6s var(--ease); }
.hero.off { opacity: 0; transform: translateY(-20px); pointer-events: none; }
.hero h1 { position: relative; margin: 0; display: grid; font: 500 clamp(72px, 9.4vw, 168px)/.8 var(--f-display); letter-spacing: -.068em; font-feature-settings: "ss01", "ss02"; }
.hero h1 .l1 { display: flex; align-items: flex-start; gap: .32em; }
.hero h1 .l2 { display: block; }
.hero h1 .l2 { padding-left: .52em; }
.hero h1 i { font-style: normal; display: inline-block; width: .15em; height: .15em; margin-left: .05em; background: var(--blue); border-radius: 50%; }
.hero h1 small { display: block; margin-top: .9em; width: 14em; font: 400 12px/1.5 var(--f-mono); letter-spacing: .02em; color: var(--ink-mute); text-transform: none; }
.hero h1 small b { display: block; color: var(--paper); font-weight: 500; }
.hero .lead { font: 400 clamp(19px, 1.5vw, 24px)/1.32 var(--f-display); letter-spacing: -.02em; max-width: 26ch; color: rgba(243,243,239,.86); }
.hero .ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.hero .cue { display: flex; align-items: center; gap: 10px; color: var(--ink-mute); }
.progress { position: absolute; z-index: 6; left: var(--gut); top: 96px; display: grid; gap: 9px; justify-items: start; transition: opacity .4s; }
.progress.dim { opacity: 0; pointer-events: none; }
.progress button { all: unset; cursor: pointer; display: flex; align-items: center; gap: 12px; font: 400 12px var(--f-mono); color: var(--ink-mute); }
.progress button::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .7; transition: transform .35s var(--ease), background .3s, box-shadow .3s, opacity .3s; }
.progress button:hover::before { opacity: 1; }
.progress button.on { color: var(--paper); }
.progress button.on::before { background: var(--blue); opacity: 1; transform: scale(1.4); box-shadow: 0 0 0 3px rgba(36,85,245,.28); }

/* =========================================================
   PROJECT ARTWORK (drawn at 1x in canvas px)
   ========================================================= */

/* 1 · Hotel Marée — website. Dusk coast photography (generated), Fraunces, coral / sea teal */
.mar { position: absolute; inset: 0; color: #fff; font-family: "Fraunces", Georgia, serif; }
.mar canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.mar-nav { position: absolute; left: 0; right: 0; top: 0; display: flex; align-items: center; gap: 34px; padding: 34px 52px; font: 400 15px "Schibsted Grotesk", sans-serif; letter-spacing: .02em; }
.mar-nav .logo { font: italic 400 34px/1 "Fraunces", serif; letter-spacing: -.01em; margin-right: auto; }
.mar-nav .stay { border: 1px solid rgba(255,255,255,.7); border-radius: 999px; padding: 11px 20px; }
.mar h3 { position: absolute; left: 52px; bottom: 190px; margin: 0; font: 300 128px/.88 "Fraunces", serif; letter-spacing: -.045em; font-variation-settings: "opsz" 144; text-shadow: 0 2px 30px rgba(40,20,10,.15); }
.mar h3 em { font-style: italic; }
.mar .cap { position: absolute; left: 56px; bottom: 150px; font: 500 13px "IBM Plex Mono", monospace; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.mar-book { position: absolute; left: 52px; right: 52px; bottom: 44px; height: 78px; display: grid; grid-template-columns: 1fr 1fr 1fr auto; background: #f6efe6; color: #10262d; border-radius: 4px; font: 400 15px "Schibsted Grotesk", sans-serif; overflow: hidden; }
.mar-book > div { padding: 16px 24px; border-right: 1px solid rgba(16,38,45,.12); display: grid; align-content: center; gap: 2px; }
.mar-book small { font: 500 11px "IBM Plex Mono", monospace; letter-spacing: .08em; text-transform: uppercase; color: #7a6a5c; }
.mar-book b { font-weight: 500; font-size: 17px; }
.mar-book .go { background: #10262d; color: #f6efe6; display: grid; place-items: center; padding: 0 34px; font-weight: 500; font-size: 16px; }
.mar-m h3 { left: 26px; bottom: 170px; font-size: 64px; }
.mar-m .cap { left: 28px; bottom: 136px; font-size: 11px; }
.mar-m .mar-nav { padding: 26px; }
.mar-m .mar-nav .logo { font-size: 28px; }
.mar-m .burger { width: 24px; height: 10px; border-top: 2px solid #fff; border-bottom: 2px solid #fff; }
.mar-m .mar-book { left: 22px; right: 22px; bottom: 34px; grid-template-columns: 1fr; height: auto; }
.mar-m .mar-book .go { padding: 18px; }

/* 2 · Wholesale ordering portal — B2B web app. Navy / green, product photography tiles, live order maths in USD */
.pt { position: absolute; inset: 0; background: #eef0f3; color: #14222c; font: 400 14px/1.4 "Schibsted Grotesk", sans-serif; }
.pt-head { display: flex; align-items: center; gap: 14px; height: 70px; padding: 0 26px; background: #fff; border-bottom: 1px solid #e1e4e8; }
.pt-logo { width: 30px; height: 30px; border-radius: 50%; background: conic-gradient(from 200deg, #13a052 0 78%, transparent 78%); display: grid; place-items: center; }
.pt-logo::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.pt-head h4 { margin: 0; font: 600 26px/1 "Schibsted Grotesk", sans-serif; letter-spacing: -.03em; }
.pt-acct { margin-left: auto; display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; }
.pt-sel { display: flex; align-items: center; gap: 10px; min-width: 196px; padding: 10px 12px; border: 1px solid #cfd4da; border-radius: 6px; font-weight: 500; font-size: 14px; }
.pt-sel i { width: 14px; height: 12px; border-radius: 2px; background: #13a052; }
.pt-sel em { margin-left: auto; font-style: normal; color: #6b7682; }
.pt-place { background: #14222c; color: #fff; padding: 11px 16px; border-radius: 6px; font-weight: 500; font-size: 14px; }
.pt-bell { width: 18px; height: 18px; border: 2px solid #6b7682; border-radius: 9px 9px 3px 3px; }
.pt-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 16px 26px 0; }
.pt-kpi { background: #fff; border-radius: 10px; padding: 14px 16px; box-shadow: 0 1px 2px rgba(20,34,44,.06); }
.pt-kpi.dark { background: #14222c; color: #fff; }
.pt-kpi small { display: block; font-size: 12px; color: #5b6672; }
.pt-kpi.dark small { color: rgba(255,255,255,.75); }
.pt-kpi b { display: block; margin-top: 4px; font: 700 28px/1.1 "Schibsted Grotesk", sans-serif; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pt-kpi span { display: block; margin-top: 6px; font-size: 11px; color: #5b6672; }
.pt-kpi span em { font-style: normal; font-weight: 600; }
.pt-main { position: absolute; left: 26px; right: 26px; top: 196px; bottom: -20px; background: #fff; border-radius: 12px 12px 0 0; box-shadow: 0 1px 2px rgba(20,34,44,.06); display: grid; grid-template-columns: 1fr 330px; gap: 22px; padding: 14px 20px 0; }
.pt-tabs { display: flex; align-items: center; gap: 22px; height: 44px; border-bottom: 1px solid #e8ebee; margin-bottom: 14px; font-size: 14px; color: #6b7682; }
.pt-tabs span.on { color: #13a052; font-weight: 600; box-shadow: inset 0 -3px 0 #13a052; height: 100%; display: flex; align-items: center; }
.pt-tabs .search { margin-left: auto; width: 190px; padding: 8px 12px; border: 1px solid #dfe3e7; border-radius: 6px; color: #9aa3ad; font-size: 13px; }
.pt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pt-card { border: 1px solid #e1e4e8; border-radius: 10px; padding: 8px 8px 10px; transition: border-color .3s, box-shadow .3s; }
.pt-card.in { border-color: #13a052; box-shadow: 0 0 0 1px #13a052 inset; }
.pt-img { height: 112px; border-radius: 6px; overflow: hidden; display: grid; place-items: center; }
.pt-img svg { width: 100%; height: 100%; display: block; }
.pt-card h5 { margin: 9px 2px 0; font: 600 15px/1.2 "Schibsted Grotesk", sans-serif; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-card .pr { margin: 3px 2px 0; color: #13a052; font-weight: 600; font-variant-numeric: tabular-nums; }
.pt-card .meta { margin: 3px 2px 0; font-size: 11px; color: #7a848e; }
.pt-act { margin-top: 9px; height: 32px; }
.pt-add { width: 100%; height: 100%; border: 0; border-radius: 6px; background: #14222c; color: #fff; font: 500 13px "Schibsted Grotesk", sans-serif; cursor: pointer; transition: background .2s; }
.pt-add:hover { background: #24384a; }
.pt-step { display: grid; grid-template-columns: 32px 1fr 32px; align-items: center; height: 100%; text-align: center; font-weight: 600; font-size: 16px; font-variant-numeric: tabular-nums; }
.pt-step button { height: 32px; border: 0; border-radius: 6px; background: #13a052; color: #fff; font: 600 18px/1 "Schibsted Grotesk", sans-serif; cursor: pointer; transition: background .2s; }
.pt-step button:hover { background: #0e8a45; }
.pt-sum { border: 1px solid #e1e4e8; border-radius: 10px; padding: 16px 18px; align-self: start; display: grid; }
.pt-sum header { display: flex; justify-content: space-between; align-items: baseline; }
.pt-sum h5 { margin: 0; font: 600 20px/1 "Schibsted Grotesk", sans-serif; letter-spacing: -.02em; }
.pt-sum .clear { border: 0; background: none; color: #d6453d; font: 500 12px "Schibsted Grotesk", sans-serif; cursor: pointer; padding: 0; }
.pt-cust { margin-top: 10px; padding: 8px 10px; border-radius: 6px; background: #f3f5f7; font-size: 12px; color: #5b6672; display: flex; justify-content: space-between; }
.pt-cust b { color: #14222c; font-weight: 600; }
.pt-lines { margin-top: 8px; min-height: 150px; display: grid; align-content: start; }
.pt-line { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; font-size: 13px; color: #4b5560; font-variant-numeric: tabular-nums; animation: ptin .5s var(--ease); }
.pt-line b { font-weight: 500; color: #14222c; white-space: nowrap; }
@keyframes ptin { from { background: rgba(19,160,82,.14); } }
.pt-tot { border-top: 1px solid #e8ebee; padding-top: 10px; display: grid; gap: 6px; font-size: 13px; color: #5b6672; font-variant-numeric: tabular-nums; }
.pt-tot div { display: flex; justify-content: space-between; }
.pt-tot .grand { margin-top: 4px; color: #14222c; font-size: 15px; font-weight: 600; align-items: baseline; }
.pt-tot .grand b { font-size: 24px; letter-spacing: -.02em; }
.pt-btns { display: grid; gap: 8px; margin-top: 12px; }
.pt-btns span { text-align: center; padding: 11px; border-radius: 6px; font-weight: 500; font-size: 14px; }
.pt-btns .q { background: #14222c; color: #fff; }
.pt-btns .o { background: #13a052; color: #fff; }

/* 3 · Ridgeline — trail app. Topographic map, Archivo condensed, moss / snow / route orange */
.rl { position: absolute; inset: 0; background: #22392d; color: #eef0e8; font-family: "Archivo", sans-serif; }
.rl > canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.rl-title { position: absolute; left: 56px; top: 50px; font: 800 150px/.82 "Archivo", sans-serif; font-variation-settings: "wdth" 62; letter-spacing: -.01em; text-transform: uppercase; color: #eef0e8; }
.rl-title span { display: block; color: #ff6a2b; }
.rl-meta { position: absolute; left: 60px; bottom: 54px; display: grid; gap: 6px; font: 500 13px "IBM Plex Mono", monospace; letter-spacing: .06em; text-transform: uppercase; color: rgba(238,240,232,.75); }
.rl-scr { position: absolute; width: 300px; height: 640px; border-radius: 40px; overflow: hidden; background: #eef0e8; color: #1b2a22; box-shadow: 0 50px 80px -30px rgba(0,0,0,.6); font-family: "Schibsted Grotesk", sans-serif; }
.rl-scr::after { content: ""; position: absolute; left: 50%; top: 13px; width: 92px; height: 26px; transform: translateX(-50%); border-radius: 14px; background: #0c0d0c; }
.rl-s1 { left: 470px; top: 80px; }
.rl-s2 { left: 760px; top: 130px; }
.rl-s1 canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.rl-s1 svg { position: absolute; inset: 0; }
.rl-route { fill: none; stroke: #ff6a2b; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.rl-route-bg { fill: none; stroke: rgba(255,255,255,.85); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.rl-pin { position: absolute; top: 58px; left: 16px; right: 16px; background: #fff; border-radius: 16px; padding: 12px 14px; box-shadow: 0 8px 20px rgba(0,0,0,.12); display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.rl-pin b { font-size: 15px; display: block; }
.rl-pin span { color: #6b7a70; }
.rl-pin em { font-style: normal; background: #ffe5d8; color: #c44611; padding: 4px 8px; border-radius: 6px; font-size: 12px; font-weight: 600; }
.rl-sheet { position: absolute; left: 0; right: 0; bottom: 0; background: #fff; border-radius: 26px 26px 0 0; padding: 18px 18px 22px; }
.rl-sheet .grab { width: 40px; height: 4px; border-radius: 2px; background: #d6dbd6; margin: 0 auto 14px; }
.rl-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.rl-stats div { font: 400 11px "IBM Plex Mono", monospace; color: #6b7a70; text-transform: uppercase; }
.rl-stats b { display: block; font: 800 26px/1.05 "Archivo", sans-serif; font-variation-settings: "wdth" 75; color: #1b2a22; font-variant-numeric: tabular-nums; }
.rl-go { margin-top: 14px; text-align: center; padding: 15px; border-radius: 14px; background: #ff6a2b; color: #fff; font-weight: 600; }
.rl-s2 .ph { position: relative; height: 300px; }
.rl-s2 .ph canvas { width: 100%; height: 100%; display: block; }
.rl-s2 .ph .back { position: absolute; left: 16px; top: 52px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.9); }
.rl-s2 .body { padding: 18px; }
.rl-s2 .tags { display: flex; gap: 6px; font-size: 12px; }
.rl-s2 .tags span { padding: 4px 9px; border-radius: 6px; background: #e3e8e2; }
.rl-s2 .tags span.hard { background: #ffe5d8; color: #c44611; font-weight: 600; }
.rl-s2 h4 { margin: 12px 0 0; font: 800 34px/.95 "Archivo", sans-serif; font-variation-settings: "wdth" 70; text-transform: uppercase; }
.rl-s2 p { margin: 8px 0 0; font-size: 13px; color: #6b7a70; }
.rl-s2 .elev { margin-top: 14px; }
.rl-s2 .elev svg { width: 100%; height: 86px; display: block; }
.rl-s2 .elev small { display: flex; justify-content: space-between; font: 400 10px "IBM Plex Mono", monospace; color: #8a968e; }

/* 4 · Rise Bakehouse — identity. Marigold / cocoa / cream, Bricolage, flat-lay composition */
.rb { position: absolute; inset: 0; background: #f2b233; color: #3a2417; font-family: "Bricolage Grotesque", sans-serif; overflow: hidden; }
.rb::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 70% at 75% 40%, rgba(255,255,255,.18), transparent 60%); pointer-events: none; }
.rb-mark { position: absolute; left: 64px; top: 86px; }
.rb-word { position: absolute; left: 50px; top: 196px; font: 800 300px/.8 "Bricolage Grotesque", sans-serif; letter-spacing: -.065em; font-variation-settings: "opsz" 96; }
.rb-con { position: absolute; left: 0; top: 0; width: 640px; height: 800px; pointer-events: none; }
.rb-con * { fill: none; stroke: #3a2417; stroke-width: 1.2; opacity: .55; }
.rb-line { position: absolute; left: 66px; top: 470px; font: 500 30px/1.15 "Bricolage Grotesque", sans-serif; letter-spacing: -.02em; max-width: 13ch; }
.rb-sw { position: absolute; left: 66px; bottom: 50px; display: flex; gap: 10px; }
.rb-sw div { width: 112px; height: 112px; border-radius: 6px; padding: 10px; display: grid; align-content: end; font: 500 11px/1.3 "IBM Plex Mono", monospace; letter-spacing: .02em; }
.rb-item { position: absolute; left: 0; top: 0; will-change: transform; }
.rb-box { width: 330px; height: 330px; background: #f6ecd9; border-radius: 4px; box-shadow: 0 30px 40px -18px rgba(58,36,23,.45), inset 0 0 0 10px #efe2ca; display: grid; place-items: center; }
.rb-box .seal { width: 150px; height: 150px; border-radius: 50%; background: #3a2417; color: #f6ecd9; display: grid; place-items: center; text-align: center; font: 600 11px/1.3 "IBM Plex Mono", monospace; letter-spacing: .14em; }
.rb-box .seal b { display: block; font: 800 40px/1 "Bricolage Grotesque", sans-serif; letter-spacing: -.05em; margin: 6px 0; }
.rb-cup { width: 190px; height: 190px; border-radius: 50%; background: radial-gradient(circle, #f6ecd9 0 56%, #e8d9bd 57% 60%, #3a2417 61%); box-shadow: 0 26px 34px -16px rgba(58,36,23,.5); display: grid; place-items: center; }
.rb-cup svg { width: 74px; }
.rb-bag { width: 230px; height: 330px; background: linear-gradient(90deg, #f6ecd9 0 48%, #ecdfc6 48% 52%, #f6ecd9 52%); border-radius: 3px; box-shadow: 0 30px 40px -18px rgba(58,36,23,.45); display: grid; justify-items: center; align-content: center; gap: 10px; }
.rb-bag::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 46px; background: #e9dbc0; border-bottom: 1px dashed rgba(58,36,23,.25); }
.rb-bag .w { font: 800 54px/1 "Bricolage Grotesque", sans-serif; letter-spacing: -.06em; }
.rb-menu { width: 270px; height: 380px; background: #fffaf1; border-radius: 3px; box-shadow: 0 30px 40px -18px rgba(58,36,23,.45); padding: 26px 24px; font: 500 15px/1.25 "Bricolage Grotesque", sans-serif; }
.rb-menu h6 { margin: 0 0 12px; font: 600 11px "IBM Plex Mono", monospace; letter-spacing: .14em; color: #c8742c; }
.rb-menu div { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dotted rgba(58,36,23,.3); }
.rb-menu .big { font: 800 40px/1 "Bricolage Grotesque", sans-serif; letter-spacing: -.05em; margin-bottom: 18px; border: 0; }

/* 5 · Rise Counter — kitchen screen. Dark, status colour coded, large type */
.kd { position: absolute; inset: 0; background: #121315; color: #f2f2ee; font-family: "Schibsted Grotesk", sans-serif; }
.kd-top { display: flex; align-items: center; gap: 22px; padding: 22px 30px; border-bottom: 1px solid rgba(255,255,255,.08); }
.kd-top .brand { font: 800 26px/1 "Bricolage Grotesque", sans-serif; letter-spacing: -.05em; color: #f2b233; }
.kd-top .tabs { display: flex; gap: 4px; margin-left: 14px; font-size: 14px; }
.kd-top .tabs span { padding: 8px 14px; border-radius: 10px; color: rgba(242,242,238,.55); }
.kd-top .tabs span.on { background: #f2f2ee; color: #121315; }
.kd-top .clock { margin-left: auto; font: 500 28px "IBM Plex Mono", monospace; letter-spacing: -.02em; }
.kd-cols { position: absolute; left: 30px; right: 30px; top: 100px; bottom: 26px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.kd-col h6 { margin: 0; display: flex; align-items: center; gap: 10px; font: 600 15px "Schibsted Grotesk", sans-serif; }
.kd-col h6 i { width: 10px; height: 10px; border-radius: 50%; }
.kd-col h6 span { margin-left: auto; font: 500 13px "IBM Plex Mono", monospace; color: rgba(242,242,238,.5); }
.kd-tk { position: absolute; width: calc((100% - 48px) / 4); height: 150px; border-radius: 12px; background: #1d1e21; padding: 16px 18px; transition: left .65s var(--ease), top .65s var(--ease), opacity .4s; overflow: hidden; }
.kd-tk::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--c, #ff6b5b); transition: background .4s; }
.kd-tk .r1 { display: flex; justify-content: space-between; align-items: baseline; }
.kd-tk .n { font: 800 34px/1 "Schibsted Grotesk", sans-serif; letter-spacing: -.03em; }
.kd-tk .t { font: 500 14px "IBM Plex Mono", monospace; color: var(--c, #ff6b5b); transition: color .4s; }
.kd-tk .who { margin-top: 4px; font-size: 14px; color: rgba(242,242,238,.6); }
.kd-tk ul { margin: 10px 0 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.5; }

/* 6 · Lumen — festival microsite. Generative light, Unbounded, coral / gold / cobalt on black */
.lu { position: absolute; inset: 0; background: #08080a; color: #fff; font-family: "Unbounded", sans-serif; }
.lu canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.lu-nav { position: absolute; left: 0; right: 0; top: 0; display: flex; align-items: center; gap: 36px; padding: 36px 56px; font: 500 14px "Schibsted Grotesk", sans-serif; letter-spacing: .02em; }
.lu-nav .logo { font: 800 20px/1 "Unbounded", sans-serif; letter-spacing: .08em; margin-right: auto; }
.lu-nav .tix { background: #ff7a59; color: #08080a; padding: 12px 20px; border-radius: 999px; font-weight: 600; }
.lu h3 { position: absolute; left: 50px; bottom: 150px; margin: 0; font: 900 270px/.8 "Unbounded", sans-serif; letter-spacing: -.02em; }
.lu .sub { position: absolute; left: 58px; bottom: 76px; right: 58px; display: flex; justify-content: space-between; align-items: end; font: 500 18px/1.4 "Schibsted Grotesk", sans-serif; }
.lu .sub b { font: 600 13px "IBM Plex Mono", monospace; letter-spacing: .08em; text-transform: uppercase; color: #ffc94a; display: block; margin-bottom: 6px; }
.lu .sub .dates { font: 700 34px/1 "Unbounded", sans-serif; letter-spacing: -.02em; text-align: right; }

/* ---------- after the journey ---------- */
.after { position: relative; z-index: 3; background: var(--paper); color: var(--ink); }
.wrap { max-width: 1520px; margin-inline: auto; padding-inline: var(--gut); }
.work { padding-block: clamp(80px, 10vw, 150px); }
.work-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }
.work h2, .contact h2 { margin: 0; font: 500 clamp(44px, 6vw, 100px)/.9 var(--f-display); letter-spacing: -.06em; }
.work-top p { max-width: 40ch; color: var(--muted); }
.shelf { margin-top: 48px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.case { position: relative; border-radius: 12px; background: #e4e4de; min-height: 420px; display: grid; align-content: end; padding: 26px; overflow: hidden; }
.case.alt { background: var(--ink); color: var(--paper); }
.case b { font: 600 28px/1.1 var(--f-site); letter-spacing: -.03em; }
.case span { color: var(--muted); margin-top: 6px; font-size: 15px; }
.case.alt span { color: var(--ink-mute); }
.case .ph { position: absolute; left: 26px; top: 22px; display: flex; gap: 8px; align-items: center; font: 500 12px var(--f-mono); }
.contact { background: var(--ink); color: var(--paper); padding-block: clamp(80px, 10vw, 150px) 40px; }
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; }
.contact p.lead { color: var(--ink-mute); max-width: 40ch; margin-top: 24px; font-size: 19px; }
.contact .mail { display: inline-block; margin-top: 26px; font: 500 26px var(--f-site); letter-spacing: -.02em; text-decoration: none; border-bottom: 2px solid var(--blue); padding-bottom: 4px; word-break: break-all; }
form { display: grid; gap: 22px; align-content: start; min-width: 0; }
.f { display: grid; gap: 8px; min-width: 0; }
.f > label, .f > .lbl { font: 500 12px var(--f-mono); color: var(--ink-mute); }
.f input, .f textarea { width: 100%; min-width: 0; background: var(--graphite); border: 1px solid var(--ink-line); border-radius: 10px; padding: 14px 16px; color: var(--paper); font: 400 16px var(--f-site); }
.f input:focus, .f textarea:focus { outline: none; border-color: var(--blue); }
.f textarea { min-height: 110px; resize: vertical; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.needs { display: flex; flex-wrap: wrap; gap: 8px; }
.needs label { position: relative; }
.needs input { position: absolute; opacity: 0; }
.needs span { display: inline-block; padding: 9px 14px; border-radius: 10px; border: 1px solid var(--ink-line); cursor: pointer; font-size: 15px; transition: background .2s, border-color .2s; }
.needs input:checked + span { background: var(--blue); border-color: var(--blue); }
.needs input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 2px; }
.sendrow { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.sendrow small { color: var(--ink-mute); }
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 90px; padding-top: 22px; border-top: 1px solid var(--ink-line); color: var(--ink-mute); font-size: 14px; }

/* ---------- reduced motion: same content as a calm vertical reading order ---------- */
body.static .journey { height: auto; }
body.static .stage { position: relative; height: auto; overflow: visible; perspective: none; padding: 120px var(--gut) 60px; display: grid; gap: 80px; }
body.static .canvas { display: none; }
body.static .scrim, body.static .progress, body.static .scan, body.static .now { display: none; }
body.static .hero { position: static; width: auto; }
body.static .scene-s { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 48px; align-items: center; }
body.static .panel { position: static; opacity: 1; transform: none; width: auto; pointer-events: auto; }
body.static .fitbox { position: relative; overflow: hidden; border-radius: 12px; }
body.static .fitbox .frame { position: absolute; left: 0 !important; top: 0 !important; transform-origin: 0 0; }
body.static .fitbox .label { display: none; }
body.static .outro { position: static; opacity: 1; background: none; pointer-events: auto; padding-block: 60px; }
body.static .fitbox .frame { will-change: auto; }

/* ---------- mobile ---------- */
@media (max-width: 820px) {
  .now, .right a:not(.btn), .right .btn:not(.menu) { display: none; }
  .top { grid-template-columns: 1fr auto; background: linear-gradient(rgba(17,18,20,.92) 55%, rgba(17,18,20,0)); padding-bottom: 26px; }
  .menu { display: inline-flex; padding: 9px 14px; font-size: 14px; }
  .hero { width: auto; right: var(--gut); top: auto; bottom: 7vh; justify-content: end; gap: 18px; }
  .hero h1 { font-size: clamp(70px, 23vw, 118px); }
  .hero h1 small { display: none; }
  .hero h1 .l2 { padding-left: .34em; }
  .outro h2 { font-size: clamp(48px, 15vw, 80px); }
  .hero .lead { font-size: 19px; }
  .panel { left: var(--gut); right: var(--gut); width: auto; bottom: 4.5vh; }
  .panel h2 { font-size: clamp(28px, 8vw, 38px); }
  .panel p { font-size: 15px; margin-top: 10px; }
  .chips { margin-top: 14px; } .chips li { font-size: 12px; padding: 5px 9px; }
  .credit { margin-top: 14px; padding-top: 10px; font-size: 11px; }
  .scrim { background: linear-gradient(0deg, rgba(17,18,20,.98) 0%, rgba(17,18,20,.96) 45%, rgba(17,18,20,.55) 52%, rgba(17,18,20,0) 57%); }
  .progress { display: none; }
  .shelf, .contact-grid, .pair { grid-template-columns: 1fr; }
  .case { min-height: 260px; }
  .contact-grid { gap: 40px; }
  body.static .scene-s { grid-template-columns: 1fr; gap: 20px; }
}

/* ---------- WordPress integration ---------- */
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--paper); color: var(--ink); padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.foot a { color: inherit; text-decoration: none; }
.foot a:hover { color: var(--paper); }
.admin-bar .top { top: 32px; }
.admin-bar .stage { top: 32px; height: calc(100vh - 32px); }
@media (max-width: 782px) { .admin-bar .top { top: 46px; } .admin-bar .stage { top: 46px; height: calc(100vh - 46px); } }

/* Phones & tablets: never lay out the 4200px 3D canvas (mobile Safari memory limit).
   The mode is decided once in <head> (html.cdc-lite) so CSS and canvas.js always agree. */
.cdc-lite .canvas { display: none; transform: none !important; }
.cdc-lite .frame { will-change: auto; }
.cdc-lite .scrim, .cdc-lite .progress, .cdc-lite .sel { display: none; }
.cdc-lite body.static .stage { padding-top: 110px; gap: 64px; }
.cdc-lite body.static .hero { padding-bottom: 8px; }

/* ---------- Phones: card choreography (body.mob, see mobileMode in canvas.js) ---------- */
.mob .stage { height: 100vh; height: 100svh; }
.mdeck { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.mcard { position: absolute; transform-origin: 50% 55%; will-change: transform, opacity; pointer-events: auto; }
.mclip { position: absolute; inset: 0; overflow: hidden; border-radius: 12px; background: var(--graphite); box-shadow: 0 34px 60px -22px rgba(0,0,0,.85), 0 0 0 1px rgba(243,243,239,.08); }
.mclip .frame { position: absolute; will-change: auto; }
.mclip .frame > .label { display: none; }
.mclip .board { border-radius: 0; box-shadow: none; }
.mdim { position: absolute; inset: 0; border-radius: 12px; background: var(--ink); opacity: 0; pointer-events: none; }
.mob .panel, .mob .hero { transition: none; }
.mob .panel { pointer-events: none; }
.mob .panel.on { pointer-events: auto; }
.mob .panel h2 { font-size: clamp(27px, 7.4vw, 34px); margin-top: 0; }
.mob .panel p { font-size: 15px; line-height: 1.45; }
.mob .panel .chips li { font-size: 12px; padding: 4px 9px; }
.cdc-lite .mob .scrim, .mob .scrim { display: block; z-index: 4; background: linear-gradient(0deg, rgba(17,18,20,.97) 0%, rgba(17,18,20,.9) 38%, rgba(17,18,20,0) 47%); }
.mob .panel { z-index: 6; }
.mob .hero { z-index: 6; }
@media (max-height: 700px) { .mob .panel p { display: none; } }
/* phones: the ending lets the receding wall of projects show through */
.mob .outro { background: radial-gradient(80% 42% at 50% 50%, rgba(17,18,20,.95), rgba(17,18,20,.72) 70%, rgba(17,18,20,.42)); z-index: 7; }
.mob .outro h2 { transform-origin: 50% 60%; }
/* phones: the contact section rises straight up under the closing line instead of after a screen of empty stage */
.mob .journey { margin-bottom: -26vh; margin-bottom: -26svh; }
.mob .after { background: var(--ink); border-top: 1px solid rgba(243,243,239,.14); }   /* a clear edge: the contact is its own section */
/* phones: product pulse when the order adds it */
.pt-card.pulse { animation: ptpulse .7s var(--ease); }
@keyframes ptpulse { 0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(19,160,82,.0); } 35% { transform: scale(1.045); box-shadow: 0 0 0 6px rgba(19,160,82,.28); } 100% { transform: scale(1); box-shadow: 0 0 0 1px #13a052 inset; } }
@media (prefers-reduced-motion: reduce) { .pt-card.pulse { animation: none; } }
/* phones: calmer contact copy */
@media (max-width: 820px) {
  .contact p.lead { font-size: 16px; line-height: 1.5; margin-top: 16px; }
  .contact .mail { font-size: 18px; margin-top: 18px; border-bottom-width: 1.5px; }
  /* service options: an even two-column grid (3 rows of 2) instead of a ragged wrap */
  .needs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .needs span { display: block; text-align: center; white-space: nowrap; }
}
@media (max-width: 360px) {
  .needs span { padding-inline: 8px; font-size: 14px; }   /* keeps "Custom software" on one line on the narrowest phones */
}
/* phones: LUMEN card text as one bottom-anchored stack, so the subtitle can never ride up into the title,
   whatever the font metrics or text scaling. (Desktop keeps its original absolute layout.) */
.mclip .lu { display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; padding: 0 338px 76px 50px; }   /* right padding = 1600 − 1320 (visible crop, MCROP[6]) + 58 */
.mclip .lu h3, .mclip .lu .sub { position: relative; left: auto; right: auto; bottom: auto; flex: none; }
.mclip .lu .sub { margin: 34px 0 0 8px; }
