/* =====================================================================
   TANAH v5 — the story (paper → real), the reel and the liquid reveal
   ===================================================================== */
:root { --paper: #efe9dc; --ink: #173e32; }
.kick { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--sun); margin-bottom: 18px; }
[data-theme="paper"] { background: var(--paper); color: var(--ink); }
.hdr.is-light .lang button[aria-pressed="true"] { color: var(--jungle); }
body.in-story .wa { transform: translateY(150%); }

/* ---------- loader: reveals the paper through a closing circle ---------- */
.loader { clip-path: circle(150% at 50% 60%); }

/* ---------- STORY ---------- */
.story { position: relative; background: var(--paper); color: var(--ink); }
.story__stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.story__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.story__grain { position: absolute; inset: -50%; pointer-events: none; opacity: .06; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(5) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } 100% { transform: translate(0, 0); } }

.story__hero { position: absolute; z-index: 3; inset: 0; padding: 120px var(--g) 140px; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; will-change: transform, opacity; }
.story__title { font: 700 min(15vw, 24vh)/.82 var(--grotesk); font-stretch: 75%; letter-spacing: -.045em; color: var(--ink); display: flex; flex-direction: column; }
.story__title .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.story__title .ln > * { display: inline-block; }
.story__title .ln--em { align-self: flex-end; }
.story__title em { font-size: 1.12em; color: var(--clay); letter-spacing: -.03em; }
.story__sub { max-width: 360px; font-size: 16px; color: rgba(23, 62, 50, .8); }

.story__labels { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.story__labels .tag { position: absolute; left: 0; top: 0; padding: 0; background: none; box-shadow: none; opacity: 0; transition: opacity .4s var(--ease-out);
  font: 400 clamp(17px, 1.6vw, 24px)/1 var(--serif); font-style: italic; color: var(--clay); white-space: nowrap; translate: -50% -140%; }
.story__labels .tag::after { content: ""; position: absolute; left: 50%; top: 125%; width: 1px; height: 26px; background: currentColor; transform-origin: top; }
.story__labels .tag.is-on { opacity: 1; }

.beats { position: absolute; z-index: 4; left: var(--g); bottom: clamp(110px, 16vh, 170px); width: min(560px, calc(100% - 2 * var(--g))); height: 1px; pointer-events: none; }
.beat { position: absolute; left: 0; bottom: 0; width: 100%; visibility: hidden; transition: visibility 0s .7s; }
.beat.is-on { visibility: visible; transition: none; }
.beat__n { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--clay); margin-bottom: 14px; opacity: 0; transform: translateY(12px); transition: opacity .4s var(--ease-out), transform .6s var(--ease-out); }
.beat h2 { font: 700 clamp(46px, 6.4vw, 6.4rem)/.88 var(--grotesk); font-stretch: 75%; letter-spacing: -.04em; color: var(--ink); margin-bottom: 16px; transition: color .6s; }
.beat h2 em { color: var(--clay); font-size: 1.08em; }
.beat h2 .m > span { transform: translateY(110%) rotate(3deg); transition: transform .8s var(--ease-out); }
.beat > p:last-child { max-width: 440px; font-size: 16px; color: rgba(23, 62, 50, .85); opacity: 0; transform: translateY(12px); transition: opacity .4s var(--ease-out), transform .6s var(--ease-out); }
.beat.is-on .beat__n, .beat.is-on > p:last-child { opacity: 1; transform: none; transition-delay: .08s; }
.beat.is-on > p:last-child { transition-delay: .35s; }
.beat.is-on h2 .m > span { transform: none; transition-delay: calc(var(--d, 0) * 1ms + 100ms); }
/* the last two beats sit over the built, sunlit scene */
.beat:nth-child(n+4) h2, .beat:nth-child(n+4) > p:last-child { color: #fff; text-shadow: 0 2px 30px rgba(10, 30, 22, .55); }
.beat:nth-child(n+4) h2 em, .beat:nth-child(n+4) .beat__n { color: var(--sun); }

.chapters { position: absolute; z-index: 4; right: var(--g); top: 50%; transform: translateY(-50%); display: grid; gap: 6px; }
.chapters button { display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding: 5px 0; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); opacity: .45; transition: opacity .3s var(--ease-out); }
.chapters button span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .5s var(--ease-out); }
.chapters button i { width: 18px; height: 1.5px; background: currentColor; transition: width .4s var(--ease-out); }
.chapters button.is-on { opacity: 1; }
.chapters button.is-on span { max-width: 200px; }
.chapters button.is-on i { width: 40px; background: var(--clay); }
@media (hover: hover) and (pointer: fine) { .chapters button:hover { opacity: 1; } .chapters button:hover span { max-width: 200px; } }
body.story-lit .chapters button, body.story-lit .story__hint { color: #fff; }

.story__foot { position: absolute; z-index: 4; left: var(--g); right: var(--g); bottom: 30px; display: flex; align-items: center; gap: 22px; }
.story__bar { flex: 1; height: 1px; background: rgba(23, 62, 50, .2); position: relative; }
.story__bar i { position: absolute; inset: 0; background: var(--clay); transform-origin: left; transform: scaleX(0); }
.story__hint { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.film { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 99px; background: var(--ink); color: var(--paper); font-size: 13px; font-weight: 600; letter-spacing: .02em; transition: transform .16s var(--ease-out), background-color .25s; }
.film:active { transform: scale(.96); }
.film__ic { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--sun); }
.film__ic i { position: absolute; top: 9px; width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent var(--ink); left: 11px; transition: all .2s; }
.film__ic i + i { display: none; }
.film.is-playing .film__ic i { border: 0; width: 3px; height: 10px; background: var(--ink); left: 9px; }
.film.is-playing .film__ic i + i { display: block; left: 15px; }
@media (max-width: 760px) {
  .story__hero { padding: 100px var(--g) 150px; }
  .story__title { font-size: 20vw; }
  .chapters { display: none; }
  .story__hint { display: none; }
  .beats { bottom: 96px; }
  .beat > p:last-child { font-size: 15px; }
}

/* ---------- REEL (renders) ---------- */
.reel__head { position: absolute; z-index: 3; left: var(--g); top: 110px; pointer-events: none; }
.reel__h { font: 700 clamp(52px, 8vw, 7rem)/.86 var(--grotesk); font-stretch: 75%; letter-spacing: -.04em; color: var(--bone); }
.reel__h em { color: var(--sun); font-size: 1.08em; }

/* ---------- REVEAL ---------- */
.reveal { padding: var(--sec) var(--g); background: var(--jungle-2); }
.reveal__head { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 60px; align-items: end; margin-bottom: clamp(40px, 5vw, 70px); }
.reveal__head .kick, .reveal__head .display { grid-column: 1; }
.reveal__head > p { grid-column: 2; grid-row: 2; color: var(--muted-dark); max-width: 440px; }
.reveal__head .live { grid-column: 2; justify-self: start; }
.reveal__stage { position: relative; height: min(82vh, 820px); border-radius: 18px; overflow: hidden; cursor: none; touch-action: pan-y; background: #0a1a15; }
.reveal__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.reveal__hint { position: absolute; left: 50%; top: 50%; translate: -50% -50%; padding: 12px 20px; border-radius: 99px; background: rgba(11, 33, 27, .55); backdrop-filter: blur(10px); color: var(--bone); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; pointer-events: none; transition: opacity .5s; }
.reveal__stage.is-touched .reveal__hint { opacity: 0; }
.reveal__tabs { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.reveal__tabs button { display: flex; gap: 10px; align-items: baseline; padding: 10px 16px; border-radius: 99px; background: rgba(11, 33, 27, .55); backdrop-filter: blur(10px); color: var(--bone); font-size: 14px; cursor: pointer; transition: background-color .25s var(--ease-out), color .25s; }
.reveal__tabs b { font-size: 11px; color: var(--sun); font-weight: 600; }
.reveal__tabs button[aria-selected="true"] { background: var(--sun); color: var(--jungle); }
.reveal__tabs button[aria-selected="true"] b { color: var(--jungle); }
@media (max-width: 760px) { .reveal__head { grid-template-columns: 1fr; } .reveal__head > p, .reveal__head .live { grid-column: 1; grid-row: auto; } .reveal__stage { height: 70vh; } .reveal__tabs button { font-size: 12px; padding: 8px 12px; } }

/* =====================================================================
   THE DRAWING SET — every section after the story is a sheet on the same paper
   ===================================================================== */
:root { --grid-s: rgba(23, 62, 50, .055); --grid-l: rgba(23, 62, 50, .1); --rule-p: rgba(23, 62, 50, .18); --muted-p: rgba(23, 62, 50, .72); }
body { background: var(--paper); }
/* (sections are transparent: the paper and the grid live on the body, the journey canvas sits between) */
.story__fade { position: absolute; inset: 0; z-index: 5; background: var(--paper) var(--grid-img); background-size: var(--grid-size); background-attachment: fixed; opacity: 0; pointer-events: none; }
.sheet-no { font: 600 11px/1 var(--grotesk); letter-spacing: .2em; color: var(--muted-p); margin-bottom: 12px; }
[data-theme="paper"] .display em { color: var(--clay); }
[data-theme="paper"] .kick { color: var(--clay); }
.btn--ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--ink::before { background: var(--sun); }
@media (hover: hover) and (pointer: fine) { .btn--ink:hover { color: var(--ink); } .btn--ink:hover::before { transform: none; } }

/* ---------- folio (a pinned sheet) ---------- */
.folio__stage { position: relative; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 40fr) minmax(0, 60fr); grid-template-rows: auto 1fr auto;
  column-gap: clamp(28px, 4vw, 72px); padding: 104px var(--g) 34px; }
.folio__art { grid-column: 2; grid-row: 1 / 4; position: relative; min-height: 0; }
.folio__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.folio.no-gl .folio__gl { display: none; }
.folio__marks { position: absolute; inset: -14px; width: calc(100% + 28px); height: calc(100% + 28px); overflow: visible; pointer-events: none; }
.folio__marks path { fill: none; stroke: var(--ink); stroke-width: 1.2; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .6; }
.folio__block { position: absolute; right: 0; bottom: 0; z-index: 2; display: grid; grid-template-columns: auto auto; border: 1px solid var(--ink); background: var(--paper);
  font: 500 10px/1 var(--grotesk); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); opacity: calc(var(--fr, 0) * 1); transform: translateY(calc((1 - var(--fr, 0)) * 10px)); }
.folio__block > * { padding: 8px 12px; border-right: 1px solid var(--rule-p); border-bottom: 1px solid var(--rule-p); white-space: nowrap; }
.folio__block b { font: 700 14px/1 var(--grotesk); font-stretch: 75%; letter-spacing: .06em; }
.folio__block .folio__no { color: var(--clay); font-weight: 700; }
.folio__scale { display: flex; align-items: center; gap: 0; }
.folio__scale i { width: 10px; height: 4px; border: 1px solid var(--ink); }
.folio__scale i:nth-child(odd) { background: var(--ink); }
.folio__scale i:last-of-type { margin-right: 8px; }
.folio__plan { position: absolute; right: 14px; top: 14px; z-index: 2; width: clamp(150px, 15vw, 230px); aspect-ratio: 1410 / 624; border: 1px solid var(--rule-p); background: var(--paper);
  opacity: var(--fr, 0); }
.folio__plan img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); opacity: .55; mix-blend-mode: multiply; }
.folio__plan i { position: absolute; left: var(--px, 50%); top: var(--py, 50%); width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 2px var(--ink); transition: left .9s var(--ease-in-out), top .9s var(--ease-in-out); }
.folio__plan span { position: absolute; left: 0; bottom: 100%; padding-bottom: 5px; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-p); }

.folio__head { grid-column: 1; grid-row: 1; opacity: calc(.15 + var(--fr, 0) * .85); }
.folio__head .display { font-size: clamp(40px, 4.6vw, 5.4rem); margin-bottom: 18px; }
.folio__lede { color: var(--muted-p); max-width: 420px; font-size: 15px; }
.folio__head .dossier { margin-top: 22px; }
.folio__head .dossier__meta, .lombok .dossier__meta { color: var(--muted-p); }
.folio__head .seek { margin-top: 10px; font-size: clamp(24px, 2.4vw, 40px); }

.folio__beats { grid-column: 1; grid-row: 2; position: relative; min-height: 0; }
.fbeat { position: absolute; left: 0; right: 0; bottom: 0; visibility: hidden; transition: visibility 0s .7s; }
.fbeat.is-on { visibility: visible; transition: none; }
.fbeat__n { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--clay); margin-bottom: 12px; }
.fbeat h3 { font: 700 clamp(34px, 3.6vw, 4rem)/.92 var(--grotesk); font-stretch: 75%; letter-spacing: -.035em; color: var(--ink); margin-bottom: 14px; }
.fbeat h3 em { color: var(--clay); font-size: 1.06em; }
.fbeat h3 .m > span { transform: translateY(110%) rotate(3deg); transition: transform .8s var(--ease-out); }
.fbeat > p:not(.fbeat__n), .fbeat__n, .fbeat .fsteps, .fbeat .ftags { opacity: 0; transform: translateY(12px); transition: opacity .4s var(--ease-out), transform .6s var(--ease-out); }
.fbeat > p:not(.fbeat__n) { max-width: 430px; font-size: 15.5px; color: var(--muted-p); }
.fbeat.is-on h3 .m > span { transform: none; transition-delay: calc(var(--d, 0) * 1ms + 80ms); }
.fbeat.is-on > p:not(.fbeat__n), .fbeat.is-on .fbeat__n, .fbeat.is-on .fsteps, .fbeat.is-on .ftags { opacity: 1; transform: none; transition-delay: .3s; }
.fbeat.is-on .fbeat__n { transition-delay: .05s; }
.fsteps { list-style: none; counter-reset: s; display: grid; gap: 0; margin-top: 18px; max-width: 430px; }
.fsteps li { counter-increment: s; display: flex; gap: 14px; padding: 9px 0; border-top: 1px solid var(--rule-p); font-size: 15px; }
.fsteps li::before { content: "0" counter(s); font-size: 11px; color: var(--clay); font-weight: 600; padding-top: 3px; }
.ftags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; max-width: 460px; }
.ftags li { border: 1px solid var(--rule-p); border-radius: 99px; padding: 7px 13px; font-size: 13px; }

.folio__ticks { grid-column: 1; grid-row: 3; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 18px; padding-top: 22px; margin-top: 22px; border-top: 1px solid var(--rule-p); }
.folio__ticks button { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); opacity: .42; transition: opacity .3s var(--ease-out); }
.folio__ticks button span em { font-style: normal; }
.folio__ticks i { width: 14px; height: 1.5px; background: currentColor; transition: width .4s var(--ease-out), background-color .3s; }
.folio__ticks button.is-on { opacity: 1; }
.folio__ticks button.is-on i { width: 30px; background: var(--clay); }
@media (hover: hover) and (pointer: fine) { .folio__ticks button:hover { opacity: 1; } .folio__art { cursor: crosshair; } }

@media (max-width: 760px) {
  .folio__stage { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr) auto auto; padding: 84px var(--g) 22px; row-gap: 16px; }
  .folio__head { grid-row: 1; }
  .folio__head .display { font-size: clamp(34px, 10vw, 46px); margin-bottom: 8px; }
  .folio__lede, .folio__head .seek { display: none; }
  .folio__head .dossier { margin-top: 10px; gap: 8px 14px; }
  .folio__head .btn { padding-block: 10px; }
  .folio__art { grid-column: 1; grid-row: 2; }
  .folio__beats { grid-row: 3; height: 200px; }
  .folio__ticks { display: none; }
  .fbeat h3 { font-size: 32px; margin-bottom: 8px; }
  .fbeat > p:not(.fbeat__n) { font-size: 14px; }
  .fsteps, .ftags { display: none; }
  .folio__plan { width: 120px; right: 8px; top: 8px; }
  .folio__block { font-size: 8.5px; } .folio__block > * { padding: 6px 8px; } .folio__scale { display: none; }
}

/* ---------- paper versions of the remaining sections ---------- */
.manifesto { background-color: var(--paper); }
.reveal { background-color: var(--paper); }
.reveal__head > p { color: var(--muted-p); }
.reveal .live, .lombok .live { border-color: var(--rule-p); }
.reveal__stage { border-radius: 4px; box-shadow: 0 0 0 1px var(--rule-p), 0 40px 80px -40px rgba(23, 62, 50, .35); }
.lombok { background-color: var(--paper); }
.isle__coast { stroke: var(--ink); opacity: .75; }
.pin2 circle { fill: var(--ink); }
.pin2 text { fill: var(--ink); }
.pin2--home circle { fill: var(--sun); stroke: var(--ink); stroke-width: 2; }
.pin2--home text { fill: var(--clay); }
.pin2 .pulse { stroke: var(--clay); }
.lombok__copy .kicker { color: var(--clay); }
.lombok__copy > p { color: var(--muted-p); }
.acc__item { border-radius: 4px; background: var(--paper); box-shadow: 0 0 0 1px var(--rule-p); }
.acc__sk { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; filter: contrast(1.25); transition: opacity 1s var(--ease-in-out) .15s; }
.acc__item:not(.is-open) img:not(.acc__sk) { opacity: 0; }
.acc__item img:not(.acc__sk) { transition: transform 1.2s var(--ease-out), opacity .9s var(--ease-in-out) .2s; }
.acc__item.is-open .acc__sk { opacity: 0; }
.acc__item:not(.is-open)::after { opacity: 0; }
.acc__item b { color: var(--bone); }
.contact { background-color: var(--paper); }
.contact .kicker { color: var(--clay); }
.contact__head > p, .opts legend, .field label { color: var(--muted-p); }
.direct a { background-image: linear-gradient(var(--clay), var(--clay)); }
@media (hover: hover) and (pointer: fine) { .direct a:hover { color: var(--clay); } }
.field input, .field textarea { color: var(--ink); border-bottom-color: var(--rule-p); }
.field input:focus, .field textarea:focus { border-color: var(--clay); }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { color: var(--clay); }
.field small { color: #b4433f; } .field.is-bad input { border-color: #b4433f; }
.opts span { border-color: var(--rule-p); }
.opts input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.contact .btn--sun { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.contact .btn--sun::before { background: var(--sun); }
@media (hover: hover) and (pointer: fine) { .contact .btn--sun:hover { color: var(--ink); } }
.manifesto__foot { border-top-color: var(--rule-p); }
.reveal__head .sheet-no { grid-column: 1; grid-row: auto; margin: 0; }
@media (max-width: 760px) { .folio__block { grid-template-columns: auto auto auto; } .folio__block > span:nth-of-type(1) { display: none; } }

/* =====================================================================
   THE JOURNEY — one continuous sheet after the story
   ===================================================================== */
:root {
  --grid-img: linear-gradient(var(--grid-l) 1px, transparent 1px), linear-gradient(90deg, var(--grid-l) 1px, transparent 1px),
              linear-gradient(var(--grid-s) 1px, transparent 1px), linear-gradient(90deg, var(--grid-s) 1px, transparent 1px);
  --grid-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
}
body { background: var(--paper); background-image: var(--grid-img); background-size: var(--grid-size); background-attachment: fixed; background-position: -1px -1px; }
.journey__gl { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; transition: opacity .6s; }
main, .foot { position: relative; z-index: 1; }
.manifesto, .lombok, .contact, .jsec { background: transparent !important; }
.pen { position: fixed; left: 0; top: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .35s; will-change: transform; }
.pen svg { display: block; transform: translate(-20px, 0) rotate(-146deg); transform-origin: 20px 0; filter: drop-shadow(6px 10px 8px rgba(23, 62, 50, .25)); }
.no-journey .pen { display: none; }

.jsec { position: relative; }
.jhead { position: relative; padding: 26vh var(--g) 8vh; max-width: min(640px, 44vw); box-sizing: content-box; }
.jhead .display { font-size: clamp(44px, 5vw, 5.8rem); margin-bottom: 18px; }
.jhead__p { color: var(--muted-p); max-width: 440px; }
.jhead .dossier { margin-top: 24px; }
.jhead .seek { margin-top: 16px; font-size: clamp(24px, 2.6vw, 42px); }
.jhead .live { margin-top: 8px; border-color: var(--rule-p); }

.jb { position: relative; height: 165vh; }
.jb__txt { position: sticky; top: 30vh; margin-left: var(--g); width: min(440px, 33vw); }
.jb__n { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--clay); margin-bottom: 12px; }
.jb h3 { font: 700 clamp(40px, 4.4vw, 4.8rem)/.9 var(--grotesk); font-stretch: 75%; letter-spacing: -.035em; color: var(--ink); margin-bottom: 16px; }
.jb h3 em { color: var(--clay); font-size: 1.06em; }
.jb__p { max-width: 420px; font-size: 16px; color: var(--muted-p); }
.jb h3 .m > span { transform: translateY(110%) rotate(3deg); transition: transform .8s var(--ease-out); }
.jb__n, .jb__p, .jb .fsteps, .jb .ftags { opacity: 0; transform: translateY(14px); transition: opacity .45s var(--ease-out), transform .7s var(--ease-out); }
.jb.is-on h3 .m > span { transform: none; transition-delay: calc(var(--d, 0) * 1ms + 60ms); }
.jb.is-on .jb__n, .jb.is-on .jb__p, .jb.is-on .fsteps, .jb.is-on .ftags { opacity: 1; transform: none; transition-delay: .25s; }
.jb.is-on .jb__n { transition-delay: 0s; }
.jpause { height: 0; }
.jplaces { margin-top: 6vh; }
.lombok .lombok__grid { margin-bottom: 0; }

@media (max-width: 760px) {
  .jhead { max-width: none; padding: 18vh var(--g) 6vh; }
  .jhead .display { font-size: clamp(38px, 11vw, 52px); }
  .jb { height: 150vh; }
  .jb__txt { top: auto; bottom: 0; position: sticky; margin: 0; width: auto; padding: 60px var(--g) 28px;
    background: linear-gradient(to bottom, rgba(239, 233, 220, 0), rgba(239, 233, 220, .94) 34%); }
  .jb { display: flex; flex-direction: column; justify-content: flex-end; }
  .jb h3 { font-size: 36px; }
  .jb__p { font-size: 14.5px; }
  .jb .fsteps, .jb .ftags { display: none; }
  .pen svg { width: 16px; height: 64px; }
}
