/* =====================================================================
   TANAH CREATIONS — v2
   World: tropical-architectural editorial. Jungle green, sun yellow,
   bone paper, bamboo clay. Condensed grotesk shouts, serif italic sings.
   ===================================================================== */
:root {
  --jungle: #0f2a22;
  --jungle-2: #0b211b;
  --green: #173e32;
  --sun: #f2e967;
  --bone: #efe9dc;
  --sand: #e3dbc8;
  --clay: #b4643f;
  --ink: #10140f;
  --on-dark: #efe9dc;
  --muted-dark: rgba(239, 233, 220, .66);
  --muted-light: rgba(16, 20, 15, .62);
  --rule-dark: rgba(239, 233, 220, .16);
  --rule-light: rgba(16, 20, 15, .14);

  --grotesk: "Bricolage Grotesque", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;

  --g: clamp(16px, 4vw, 64px);          /* page gutter */
  --sec: clamp(96px, 13vw, 220px);      /* section rhythm */

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --logo: url("../img/logo.png");
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--jungle);
  color: var(--on-dark);
  font: 300 17px/1.55 var(--grotesk);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
::selection { background: var(--sun); color: var(--jungle); }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; border-radius: 4px; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 999; background: var(--sun); color: var(--jungle); padding: 10px 16px; border-radius: 99px; font-weight: 500; }
.skip:focus { top: 12px; }

.logo {
  display: block; aspect-ratio: 2512 / 958; background: currentColor;
  -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat;
}

.kicker { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.display {
  font-family: var(--grotesk); font-weight: 700; font-stretch: 75%;
  font-size: clamp(52px, 7.4vw, 6rem); line-height: .9; letter-spacing: -.035em; text-wrap: balance;
}
.display em { font-size: 1.06em; line-height: .8; letter-spacing: -.02em; }
[data-theme="dark"] .display em { color: var(--sun); }
[data-theme="light"] { background: var(--bone); color: var(--ink); }
[data-theme="light"] .display em { color: var(--clay); }

.m { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .05em .1em; margin: 0 -.05em -.1em; }
.m > span { display: inline-block; will-change: transform; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px; position: relative; isolation: isolate; overflow: hidden;
  border-radius: 99px; padding: 15px 24px; font-size: 15px; font-weight: 500; letter-spacing: .01em;
  border: 1px solid currentColor; transition: color .35s var(--ease-out), transform .16s var(--ease-out);
}
.btn::before { content: ""; position: absolute; inset: -1px; z-index: -1; background: currentColor; border-radius: inherit; transform: translateY(102%); transition: transform .5s var(--ease-out); }
.btn i { font-style: normal; display: inline-block; transition: transform .35s var(--ease-out); }
.btn:active { transform: scale(.97); }
.btn--sun { background: var(--sun); color: var(--jungle); border-color: var(--sun); }
.btn--sun::before { background: var(--jungle); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover i { transform: translate(2px, -2px) rotate(45deg); }
  .btn--ghost:hover::before { transform: none; }
  .btn--ghost:hover span, .btn--ghost:hover i { color: var(--jungle); }
  .hdr.is-light .btn--ghost:hover span, .hdr.is-light .btn--ghost:hover i { color: var(--bone); }
  .btn--sun:hover { color: var(--sun); }
  .btn--sun:hover::before { transform: none; }
}

.link { display: inline-flex; gap: 10px; align-items: center; font-weight: 500; padding-bottom: 6px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; }
.link i { font-style: normal; transition: transform .35s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .link:hover i { transform: translate(2px, -2px) rotate(45deg); } }

/* ---------- loader ---------- */
.loader { position: fixed; inset: 0; z-index: 300; background: var(--green); color: var(--sun); display: grid; place-content: center; justify-items: center; gap: 30px; }
.loader__logo { position: relative; width: min(60vw, 560px); transform-origin: 0 0; }
.loader__ghost { color: rgba(242, 233, 103, .1); }
.loader__fill { position: absolute; inset: 0; clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%); }
.loader__line { display: flex; gap: .3em; font-family: var(--serif); font-size: clamp(22px, 2.4vw, 34px); overflow: hidden; color: var(--bone); }
.loader__line > * { display: inline-block; transform: translateY(110%); }
.loader__line em { color: var(--sun); }
.loader__foot { position: absolute; left: var(--g); right: var(--g); bottom: 26px; display: flex; justify-content: space-between; align-items: end; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-dark); }
.loader__num { font: 700 clamp(44px, 6vw, 96px)/1 var(--grotesk); font-stretch: 75%; letter-spacing: -.03em; color: var(--sun); font-variant-numeric: tabular-nums; min-width: 3ch; text-align: center; }

/* ---------- cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 250; pointer-events: none; opacity: 0; }
.cursor i { display: block; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--sun); mix-blend-mode: difference; transition: transform .3s var(--ease-out); }
.cursor.is-link i { transform: scale(4.4); }
.cursor.is-drag i { transform: scale(7); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- header (translucent material) ---------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 100; display: flex; align-items: center; gap: 36px;
  padding: 18px var(--g); color: var(--sun);
  transition: transform .5s var(--ease-out), color .3s var(--ease-out), background-color .3s var(--ease-out), padding .3s var(--ease-out);
}
.hdr.is-light { color: var(--jungle); }
.hdr.is-hidden { transform: translateY(-110%); }
.hdr.is-solid { padding-block: 10px; background: rgba(11, 33, 27, .58); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); box-shadow: inset 0 -1px 0 rgba(239, 233, 220, .08); }
.hdr.is-solid.is-light { background: rgba(239, 233, 220, .7); box-shadow: inset 0 -1px 0 rgba(16, 20, 15, .08); }
.hdr__logo { width: 108px; flex: none; }
.hdr__nav { display: flex; gap: 30px; margin-left: auto; font-size: 14px; font-weight: 400; }
.hdr__nav a { position: relative; padding: 6px 0; }
.hdr__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .hdr__nav a:hover::after { transform: scaleX(1); transform-origin: left; } }
.hdr__cta { padding: 10px 18px; font-size: 14px; }
.hdr__burger { display: none; width: 44px; height: 44px; margin-left: auto; position: relative; }
.hdr__burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease-out); }
.hdr__burger span:first-child { top: 18px; } .hdr__burger span:last-child { top: 25px; }
.hdr__burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.hdr__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
@media (prefers-reduced-transparency: reduce) { .hdr.is-solid { background: var(--jungle-2); backdrop-filter: none; } .hdr.is-solid.is-light { background: var(--bone); } }

.menu { position: fixed; inset: 0; z-index: 99; background: var(--green); color: var(--bone); padding: 110px var(--g) 36px; display: flex; flex-direction: column; justify-content: space-between; clip-path: circle(0 at calc(100% - 40px) 40px); transition: clip-path .7s var(--ease-in-out), visibility 0s .7s; visibility: hidden; }
.menu.is-open { clip-path: circle(150% at calc(100% - 40px) 40px); visibility: visible; transition: clip-path .7s var(--ease-in-out); }
.menu nav { display: grid; gap: 4px; }
.menu nav a { font: 700 clamp(44px, 12vw, 80px)/1.02 var(--grotesk); font-stretch: 75%; letter-spacing: -.03em; display: flex; gap: 14px; align-items: baseline; }
.menu nav small { font: 500 12px var(--grotesk); color: var(--sun); letter-spacing: .1em; }
.menu > p { font-size: 14px; color: var(--muted-dark); }

/* ---------- TOUR ---------- */
.tour { position: relative; background: var(--green); }
.tour__stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.tour__gl, .tour__fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.tour__fallback { display: none; }
.tour__fallback img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.no-gl .tour__gl { display: none; }
.no-gl .tour__fallback { display: block; }
.tour__shade { position: absolute; inset: 0; pointer-events: none; opacity: 0; background:
  radial-gradient(ellipse 75% 70% at 0% 100%, rgba(11, 33, 27, .78), rgba(11, 33, 27, 0) 70%),
  linear-gradient(180deg, rgba(11, 33, 27, .5), rgba(11, 33, 27, 0) 22%); }

.hero { position: absolute; inset: 0; z-index: 3; pointer-events: none; display: grid; grid-template-rows: 1fr auto; padding: 92px var(--g) 30px; color: var(--sun); }
.hero__top { display: flex; justify-content: space-between; color: var(--bone); }
.hero__title { display: flex; flex-direction: column; justify-content: space-between; padding: 2vh 0; font-weight: 700; }
.hero__a { font-family: var(--grotesk); font-stretch: 75%; font-size: min(17vw, 27vh); line-height: .8; letter-spacing: -.04em; display: block; }
.hero__b { font-size: min(18vw, 29vh); line-height: .78; align-self: flex-end; display: block; letter-spacing: -.03em; }
.hero__bottom { display: flex; justify-content: space-between; align-items: end; gap: 24px; color: var(--bone); }
.hero__bottom > p { max-width: 330px; font-size: 15px; }
.badge { position: relative; width: 104px; height: 104px; flex: none; }
.badge svg { width: 100%; height: 100%; animation: spin 14s linear infinite; }
.badge text { font: 500 10.5px var(--grotesk); letter-spacing: .22em; text-transform: uppercase; fill: var(--bone); }
.badge i { position: absolute; inset: 0; display: grid; place-items: center; font-style: normal; color: var(--sun); font-size: 22px; }
@keyframes spin { to { transform: rotate(360deg); } }

.caps { position: absolute; z-index: 4; left: var(--g); bottom: clamp(70px, 10vh, 110px); width: min(620px, calc(100% - 2 * var(--g))); height: 1px; pointer-events: none; }
.cap { position: absolute; left: 0; bottom: 0; width: 100%; color: var(--bone); visibility: hidden; transition: visibility 0s .6s; }
.cap.is-on { visibility: visible; transition: none; }
.cap__n { display: flex; gap: 12px; align-items: baseline; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
.cap__n b { font-weight: 500; color: var(--sun); }
.cap h2 { font: 700 clamp(46px, 6.6vw, 6.5rem)/.88 var(--grotesk); font-stretch: 75%; letter-spacing: -.035em; margin-bottom: 18px; text-shadow: 0 2px 30px rgba(11, 33, 27, .35); }
.cap h2 em { color: var(--sun); font-size: 1.06em; }
.cap > p:last-child { max-width: 430px; font-size: 16px; color: rgba(239, 233, 220, .9); }
.cap .m > span { transform: translateY(105%); transition: transform .6s var(--ease-out); }
.cap__n, .cap > p:last-child { opacity: 0; transform: translateY(16px); transition: transform .6s var(--ease-out), opacity .35s var(--ease-out); }
.cap.is-on .m > span, .cap.is-on .cap__n, .cap.is-on > p:last-child { transform: none; opacity: 1; }
.cap.is-on .m > span { transition-delay: calc(var(--d, 0) * 1ms + 120ms); }
.cap.is-on .cap__n { transition-delay: 60ms; }
.cap.is-on > p:last-child { transition-delay: 380ms; }

.map {
  position: absolute; z-index: 5; right: var(--g); bottom: clamp(70px, 10vh, 110px); width: clamp(290px, 27vw, 420px);
  padding: 14px 14px 12px; border-radius: 18px; color: var(--bone); transform-origin: 100% 100%;
  background: rgba(11, 33, 27, .5); -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5);
  box-shadow: inset 0 1px 0 rgba(239, 233, 220, .14), 0 24px 60px rgba(0, 0, 0, .28);
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.97);
}
.map__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.map__head span:first-child { font: 700 24px/1 var(--grotesk); font-stretch: 75%; letter-spacing: -.01em; }
.map__count { font-size: 12px; letter-spacing: .12em; color: var(--muted-dark); font-variant-numeric: tabular-nums; }
.map__count b { color: var(--sun); font-weight: 500; }
.map__plan { position: relative; border-radius: 10px; overflow: hidden; background: var(--bone); }
.map__plan img { width: 100%; filter: saturate(.75) contrast(.95); }
.map__plan svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.map__route-bg { fill: none; stroke: rgba(16, 20, 15, .28); stroke-width: 5; stroke-dasharray: 3 14; stroke-linecap: round; }
.map__route { fill: none; stroke: var(--clay); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.map__pt { cursor: pointer; }
.map__pt circle { fill: var(--bone); stroke: var(--jungle); stroke-width: 5; transition: fill .25s var(--ease-out), r .25s var(--ease-out); }
.map__pt text { font: 700 36px var(--grotesk); fill: var(--jungle); text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.map__pt.is-past circle { fill: var(--sun); }
.map__pt:focus-visible { outline: none; }
.map__pt:focus-visible circle { stroke: var(--clay); stroke-width: 8; }
@media (hover: hover) and (pointer: fine) { .map__pt:hover circle { fill: var(--sun); } }
.map__cone { fill: url(#coneGrad); fill: rgba(180, 100, 63, .35); }
.map__dot { fill: var(--clay); stroke: var(--bone); stroke-width: 5; }
.map__ring { fill: none; stroke: var(--clay); stroke-width: 3; transform-box: fill-box; transform-origin: center; animation: ring 2s var(--ease-out) infinite; }
.map__hint { margin-top: 9px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dark); }
@media (prefers-reduced-transparency: reduce) { .map { background: var(--jungle-2); backdrop-filter: none; } }

.tour__bar { position: absolute; z-index: 4; left: var(--g); right: var(--g); bottom: 28px; height: 1px; background: rgba(239, 233, 220, .2); opacity: 0; }
.tour__bar i { position: absolute; inset: 0; background: var(--sun); transform-origin: left; transform: scaleX(0); }

/* ---------- MANIFESTO ---------- */
.manifesto { padding: var(--sec) var(--g); }
.manifesto .kicker { color: var(--clay); }
.manifesto__text { margin: 0 0 clamp(60px, 8vw, 120px); font: 700 clamp(40px, 6.4vw, 112px)/.95 var(--grotesk); font-stretch: 75%; letter-spacing: -.035em; max-width: 1500px; }
.manifesto__text .w { opacity: .13; }
.chip { display: inline-block; vertical-align: -.08em; width: 0; height: .78em; border-radius: 99px; overflow: hidden; margin: 0 .04em; }
.chip img { width: 2.1em; max-width: none; height: 100%; object-fit: cover; }
.manifesto__foot { display: grid; grid-template-columns: minmax(0, 520px) auto; justify-content: space-between; align-items: end; gap: 32px; border-top: 1px solid var(--rule-light); padding-top: 28px; }
.manifesto__foot b { font-weight: 600; }

/* ---------- WORK (stacked cards) ---------- */
.work { padding: var(--sec) var(--g) calc(var(--sec) * .6); background: var(--jungle); }
.work__head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 60px; align-items: end; margin-bottom: clamp(56px, 7vw, 110px); }
.work__head .kicker { grid-column: 1 / -1; color: var(--sun); }
.work__head > p { max-width: 400px; color: var(--muted-dark); justify-self: end; }
.stack { display: grid; gap: 4vh; }
.card {
  position: sticky; top: calc(10vh + var(--i, 0) * 22px); height: min(78vh, 720px);
  display: grid; grid-template-columns: 1.25fr 1fr; border-radius: 22px; overflow: hidden;
  background: var(--green); box-shadow: 0 -20px 60px rgba(0, 0, 0, .25); transform-origin: 50% 0;
}
.card:nth-child(2) { background: #1d4a3b; } .card:nth-child(3) { background: #24533f; } .card:nth-child(4) { background: var(--sun); color: var(--jungle); }
.card__img { overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); }
.card__body { padding: clamp(28px, 4vw, 64px); display: flex; flex-direction: column; justify-content: space-between; }
.card__n { font: 700 clamp(80px, 11vw, 190px)/.8 var(--grotesk); font-stretch: 75%; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px var(--sun); }
.card:nth-child(4) .card__n { -webkit-text-stroke-color: var(--jungle); }
.card h3 { font: 700 clamp(48px, 6vw, 104px)/.9 var(--grotesk); font-stretch: 75%; letter-spacing: -.04em; margin-bottom: 18px; }
.card p { max-width: 380px; font-size: 17px; opacity: .85; }
.card::after { content: ""; position: absolute; inset: 0; background: #000; opacity: var(--dim, 0); pointer-events: none; }

/* ---------- GROUND (principles) ---------- */
.ground { padding: var(--sec) var(--g); display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 7vw, 120px); position: relative; }
.ground__head .kicker { color: var(--clay); margin-bottom: 26px; }
.ground__head .display { margin-bottom: 28px; }
.ground__head p { max-width: 430px; color: var(--muted-light); }
.rows { list-style: none; align-self: end; border-top: 1px solid var(--rule-light); }
.rows li { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--rule-light); transition: padding .5s var(--ease-out), color .3s; }
.rows span { font-size: 12px; letter-spacing: .14em; color: var(--clay); }
.rows h3 { font: 700 clamp(44px, 5vw, 86px)/.9 var(--grotesk); font-stretch: 75%; letter-spacing: -.04em; }
.rows p { color: var(--muted-light); font-size: 15px; }
@media (hover: hover) and (pointer: fine) { .rows li:hover { padding-left: 18px; color: var(--green); } }
.peek { position: fixed; left: 0; top: 0; z-index: 60; width: 260px; aspect-ratio: 4/5; border-radius: 14px; overflow: hidden; pointer-events: none; opacity: 0; transform: scale(.9); box-shadow: 0 30px 60px rgba(0, 0, 0, .25); }
.peek img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- SITE (drag strip) ---------- */
.site { padding: var(--sec) 0; background: var(--jungle-2); overflow: hidden; }
.site__head { padding: 0 var(--g); display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px 60px; align-items: end; margin-bottom: clamp(48px, 6vw, 90px); }
.site__head .kicker { color: var(--sun); margin-bottom: 24px; }
.site__head p { color: var(--muted-dark); max-width: 460px; margin-bottom: 22px; }
.live { display: inline-flex; gap: 10px; align-items: center; font-size: 13px; border: 1px solid var(--rule-dark); border-radius: 99px; padding: 8px 15px; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(242, 233, 103, .55); } 70%, 100% { box-shadow: 0 0 0 11px rgba(242, 233, 103, 0); } }
.strip { cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; outline-offset: -4px; }
.strip.is-dragging { cursor: grabbing; }
.strip__track { display: flex; gap: clamp(12px, 1.6vw, 24px); padding: 0 var(--g); width: max-content; will-change: transform; align-items: flex-end; }
.strip figure { width: clamp(260px, 30vw, 460px); flex: none; }
.strip figure.tall { width: clamp(220px, 22vw, 340px); }
.strip figure > img { width: 100%; aspect-ratio: 4/3.2; object-fit: cover; border-radius: 12px; pointer-events: none; }
.strip figure.tall > img { aspect-ratio: 3/4.2; }
.strip figcaption { margin-top: 12px; font-size: 13px; letter-spacing: .06em; color: var(--muted-dark); }
.strip__ctrl { display: flex; align-items: center; gap: 18px; padding: 34px var(--g) 0; }
.strip__hint { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-dark); }
.strip__progress { flex: 1; height: 1px; background: var(--rule-dark); position: relative; }
.strip__progress i { position: absolute; inset: 0; background: var(--sun); transform-origin: left; transform: scaleX(.1); }
.round { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--rule-dark); display: grid; place-items: center; font-size: 18px; transition: background-color .25s var(--ease-out), color .25s var(--ease-out), transform .16s var(--ease-out); }
.round:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .round:hover { background: var(--sun); color: var(--jungle); border-color: var(--sun); } }

/* ---------- PROJECT ---------- */
.project { padding: var(--sec) var(--g); }
.project__head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 26px 60px; align-items: end; margin-bottom: clamp(56px, 7vw, 110px); }
.project__head .kicker { grid-column: 1 / -1; color: var(--clay); }
.project__head > p { max-width: 520px; color: var(--muted-light); }
.nums { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--rule-light); }
.nums > div { padding: 30px 20px 26px 0; display: flex; flex-direction: column-reverse; gap: 10px; }
.nums > div + div { border-left: 1px solid var(--rule-light); padding-left: 24px; }
.nums dd { font: 700 clamp(64px, 8vw, 140px)/.85 var(--grotesk); font-stretch: 75%; letter-spacing: -.045em; color: var(--green); font-variant-numeric: tabular-nums; }
.nums dt { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light); }
.plan { margin-top: clamp(56px, 7vw, 110px); display: grid; grid-template-columns: 2.6fr 1fr; gap: clamp(24px, 4vw, 70px); align-items: center; }
.plan img { width: 100%; border-radius: 14px; mix-blend-mode: multiply; }
.plan ul { list-style: none; display: grid; gap: 10px; }
.plan li { display: flex; gap: 12px; align-items: center; font-size: 15px; }
.plan li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--clay); flex: none; }

/* ---------- LOMBOK ---------- */
.lombok { padding: var(--sec) var(--g); background: var(--jungle); }
.lombok__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 110px); align-items: center; margin-bottom: clamp(60px, 8vw, 130px); }
.isle { width: 100%; height: auto; overflow: visible; }
.isle__coast { fill: none; stroke: var(--sun); stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .9; }
.isle__route { fill: none; stroke: var(--clay); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.pin2 { opacity: 0; }
.pin2 circle { fill: var(--bone); }
.pin2 text { font: 500 22px var(--grotesk); fill: var(--bone); letter-spacing: .02em; }
.pin2--home circle { fill: var(--sun); }
.pin2--home text { font: 700 34px var(--grotesk); font-stretch: 75%; fill: var(--sun); }
.pin2 .pulse { fill: none; stroke: var(--sun); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: ring 2.2s var(--ease-out) infinite; }
@keyframes ring { from { transform: scale(1); opacity: 1; } to { transform: scale(3.4); opacity: 0; } }
.lombok__copy .kicker { color: var(--sun); margin-bottom: 24px; }
.lombok__copy .display { margin-bottom: 28px; }
.lombok__copy > p { color: var(--muted-dark); max-width: 520px; margin-bottom: 36px; }
.route { list-style: none; border-top: 1px solid var(--rule-dark); }
.route li { display: grid; grid-template-columns: 110px 1fr; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--rule-dark); }
.route b { font: 700 30px/1 var(--grotesk); font-stretch: 75%; color: var(--sun); letter-spacing: -.02em; }
.route span { color: var(--muted-dark); font-size: 15px; }
.acc { display: flex; gap: 10px; height: clamp(440px, 70vh, 740px); }
.acc__item { position: relative; flex: 1; min-width: 0; border-radius: 16px; overflow: hidden; cursor: pointer; transition: flex-grow .8s var(--ease-in-out); }
.acc__item.is-open { flex-grow: 5; }
.acc__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 1.2s var(--ease-out); }
.acc__item.is-open img { transform: scale(1); }
.acc__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 48%, rgba(11, 33, 27, .78)); }
.acc__item figcaption { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 22px; display: grid; gap: 4px; white-space: nowrap; opacity: 0; transform: translateY(12px); transition: opacity .3s var(--ease-out), transform .5s var(--ease-out); }
.acc__item.is-open figcaption { opacity: 1; transform: none; transition-delay: .25s; }
.acc__item b { font: 700 clamp(30px, 3.4vw, 56px)/.9 var(--grotesk); font-stretch: 75%; letter-spacing: -.03em; }
.acc__item span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--sun); }

/* ---------- INVEST ---------- */
.invest { position: relative; overflow: hidden; background: var(--green); }
.invest__bg { position: absolute; inset: -14% 0; }
.invest__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.invest__in { position: relative; padding: var(--sec) var(--g); }
.invest .kicker { color: var(--sun); margin-bottom: 26px; }
.invest .display { max-width: 1250px; margin-bottom: 30px; }
.invest__lede { font-size: clamp(18px, 1.5vw, 22px); max-width: 600px; margin-bottom: clamp(56px, 7vw, 110px); color: rgba(239, 233, 220, .86); }
.invest__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 110px); margin-bottom: 60px; }
.invest h3 { font: 700 clamp(32px, 3vw, 50px)/.95 var(--grotesk); font-stretch: 75%; letter-spacing: -.03em; margin-bottom: 26px; }
.invest h3 em { color: var(--sun); }
.steps { list-style: none; counter-reset: s; border-top: 1px solid var(--rule-dark); }
.steps li { counter-increment: s; display: flex; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--rule-dark); font-size: 18px; }
.steps li::before { content: "0" counter(s); font-size: 12px; color: var(--sun); letter-spacing: .14em; padding-top: 6px; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.tags li { border: 1px solid var(--rule-dark); border-radius: 99px; padding: 10px 18px; font-size: 14px; transition: background-color .25s var(--ease-out), color .25s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .tags li:hover { background: var(--sun); color: var(--jungle); } }
.small { font-size: 14px; color: var(--muted-dark); max-width: 520px; }

/* ---------- NEXT ---------- */
.next { padding: var(--sec) var(--g); overflow: hidden; }
.next .kicker { color: var(--clay); margin-bottom: 26px; }
.phases { margin-top: clamp(60px, 8vw, 120px); display: grid; grid-template-columns: repeat(3, 1fr); position: relative; border-top: 1px solid var(--rule-light); }
.phases::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: var(--green); transform-origin: left; transform: scaleX(var(--p, 0)); }
.phases > div { padding: 30px 24px 0 0; }
.phases span { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--clay); }
.phases h3 { font: 700 clamp(40px, 4.2vw, 72px)/.9 var(--grotesk); font-stretch: 75%; letter-spacing: -.035em; margin: 14px 0 10px; }
.phases p { color: var(--muted-light); max-width: 300px; }
.seek { margin-top: clamp(80px, 10vw, 160px); font: 400 clamp(30px, 4.4vw, 76px)/1.05 var(--serif); display: flex; flex-wrap: wrap; gap: 0 .28em; }
.rot { display: inline-grid; overflow: hidden; height: 1.12em; color: var(--green); font-style: italic; }
.rot span { grid-area: 1 / 1; white-space: nowrap; visibility: hidden; }

/* ---------- CONTACT ---------- */
.contact { padding: var(--sec) var(--g); background: var(--green); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 130px); }
.contact .kicker { color: var(--sun); margin-bottom: 26px; }
.contact .display { margin-bottom: 30px; }
.contact__head > p { max-width: 440px; color: var(--muted-dark); margin-bottom: 40px; }
.direct { list-style: none; display: grid; gap: 8px; font: 400 clamp(22px, 2vw, 30px)/1.25 var(--serif); }
.direct a { background: linear-gradient(var(--sun), var(--sun)) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease-out), color .25s; }
@media (hover: hover) and (pointer: fine) { .direct a:hover { background-size: 100% 1px; color: var(--sun); } }
.form { display: grid; gap: 22px; align-content: start; }
.field { position: relative; }
.field input, .field textarea { width: 100%; background: none; border: 0; border-bottom: 1px solid var(--rule-dark); color: var(--bone); font: 300 18px var(--grotesk); padding: 26px 0 12px; outline: none; resize: vertical; transition: border-color .25s var(--ease-out); border-radius: 0; }
.field input:focus, .field textarea:focus { border-color: var(--sun); }
.field label { position: absolute; left: 0; top: 25px; color: var(--muted-dark); pointer-events: none; transform-origin: left; transition: transform .3s var(--ease-out), color .25s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-22px) scale(.78); color: var(--sun); }
.field small { display: none; margin-top: 8px; font-size: 13px; color: #ffb59a; }
.field.is-bad input { border-color: #ffb59a; }
.field.is-bad small { display: block; }
.opts { border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.opts legend { font-size: 14px; color: var(--muted-dark); margin-bottom: 12px; }
.opts input { position: absolute; opacity: 0; pointer-events: none; }
.opts span { display: inline-block; border: 1px solid var(--rule-dark); border-radius: 99px; padding: 9px 16px; font-size: 14px; cursor: pointer; transition: background-color .2s var(--ease-out), color .2s var(--ease-out), border-color .2s, transform .16s var(--ease-out); }
.opts label:active span { transform: scale(.96); }
.opts input:checked + span { background: var(--sun); color: var(--jungle); border-color: var(--sun); }
.opts input:focus-visible + span { outline: 2px solid var(--sun); outline-offset: 2px; }
.form .btn { justify-self: start; margin-top: 8px; }
.form__ok { font: 400 30px var(--serif); color: var(--sun); }

/* ---------- FOOTER — two places, one thread ---------- */
.foot { background: var(--jungle-2); overflow: hidden; }
.foot__in { padding: clamp(80px, 10vw, 140px) var(--g) 26px; }
.foot__top { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 70px); }
.foot__claim { font: 700 clamp(40px, 5vw, 5.5rem)/.9 var(--grotesk); font-stretch: 75%; letter-spacing: -.035em; max-width: 14ch; }
.foot__claim em { color: var(--sun); font-size: 1.06em; }
.clocks { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule-dark); border-bottom: 1px solid var(--rule-dark); }
.clock { display: flex; gap: clamp(16px, 2.4vw, 36px); align-items: center; padding: 28px 0; }
.clock + .clock { border-left: 1px solid var(--rule-dark); padding-left: clamp(16px, 3vw, 48px); }
.sun { width: clamp(84px, 9vw, 130px); flex: none; overflow: visible; }
.sun__arc { fill: none; stroke: var(--rule-dark); stroke-width: 1.5; stroke-dasharray: 3 5; }
.sun line { stroke: var(--rule-dark); stroke-width: 1; }
.sun__dot { fill: var(--sun); filter: drop-shadow(0 0 8px rgba(242, 233, 103, .7)); transition: cx 1s var(--ease-out), cy 1s var(--ease-out); }
.clock.is-night .sun__dot { fill: var(--bone); filter: none; }
.clock__place { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark); }
.clock__time { font: 700 clamp(44px, 5.4vw, 88px)/1 var(--grotesk); font-stretch: 75%; letter-spacing: -.03em; font-variant-numeric: tabular-nums; margin: 6px 0 4px; }
.clock__mood { font: 400 clamp(18px, 1.6vw, 24px)/1.2 var(--serif); font-style: italic; color: var(--sun); }
.foot__word { margin: clamp(40px, 6vw, 90px) 0 clamp(28px, 3vw, 44px); }
.foot__logo {
  width: 100%;
  background: url("../img/tour/aerial-lg.webp") var(--fx, 50%) var(--fy, 50%) / 130% auto no-repeat, var(--sun);
  transition: background-position .9s var(--ease-out);
}
.foot__bottom { display: grid; grid-template-columns: 1fr auto auto; gap: 24px clamp(32px, 5vw, 80px); align-items: center; padding-bottom: 26px; border-bottom: 1px solid var(--rule-dark); }
.foot__bottom nav, .foot__social { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; }
@media (hover: hover) and (pointer: fine) { .foot a:not(.btn):hover { color: var(--sun); } }
.foot__legal { display: flex; justify-content: space-between; gap: 16px; padding-top: 20px; font-size: 12px; color: var(--muted-dark); }
@media (max-width: 760px) {
  .clocks { grid-template-columns: 1fr; }
  .clock + .clock { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule-dark); }
  .foot__bottom { grid-template-columns: 1fr auto; }
  .foot__social { grid-column: 1 / -1; grid-row: 2; }
  .foot__legal { flex-direction: column; }
}

.wa { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; align-items: center; background: var(--sun); color: var(--jungle); border-radius: 99px; padding: 15px; font-size: 14px; font-weight: 500; box-shadow: 0 12px 30px rgba(0, 0, 0, .25); transform: translateY(150%); transition: transform .5s var(--ease-out); }
.wa span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .4s var(--ease-out), margin .4s var(--ease-out); }
.wa.is-on { transform: none; }
@media (hover: hover) and (pointer: fine) { .wa:hover span { max-width: 110px; margin-left: 10px; } }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .hdr__nav, .hdr__cta { display: none; }
  .hdr__burger { display: block; }
  .ground { grid-template-columns: 1fr; }
  .peek { display: none; }
  .lombok__grid { grid-template-columns: 1fr; }
  .lombok__map { max-width: 640px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hdr__logo { width: 92px; }
  .hero { padding-top: 84px; }
  .hero__top .kicker:last-child { display: none; }
  .hero__a { font-size: 21vw; }
  .hero__b { font-size: 23vw; }
  .hero__title { justify-content: space-between; padding: 4vh 0 7vh; }
  .hero__bottom > p { font-size: 14px; max-width: 220px; }
  .badge { width: 84px; height: 84px; }
  .caps { bottom: 64px; }
  .map { top: 76px; bottom: auto; right: 12px; width: 46vw; padding: 8px; border-radius: 12px; transform-origin: 100% 0; }
  .map__head span:first-child { font-size: 15px; }
  .map__count, .map__hint { display: none; }
  .map__head { margin-bottom: 6px; }
  .cap > p:last-child { font-size: 15px; }
  .manifesto__foot, .work__head, .site__head, .project__head, .invest__cols, .contact { grid-template-columns: 1fr; }
  .work__head > p { justify-self: start; }
  .card { grid-template-columns: 1fr; grid-template-rows: 46% 1fr; height: 74vh; top: calc(9vh + var(--i, 0) * 14px); }
  .card__n { font-size: 64px; }
  .card h3 { font-size: 52px; margin-bottom: 10px; }
  .card p { font-size: 15px; }
  .rows li { grid-template-columns: 1fr; gap: 6px; }
  .nums { grid-template-columns: 1fr 1fr; }
  .nums > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .nums > div:nth-child(n+3) { border-top: 1px solid var(--rule-light); }
  .plan { grid-template-columns: 1fr; }
  .pin2 text { font-size: 30px; }
  .pin2--home text { font-size: 42px; }
  .route li { grid-template-columns: 90px 1fr; }
  .acc { flex-direction: column; height: 680px; }
  .acc__item.is-open { flex-grow: 4; }
  .phases { grid-template-columns: 1fr; }
  .phases::before { display: none; }
  .phases > div { border-bottom: 1px solid var(--rule-light); padding-bottom: 24px; }
  .strip__hint { display: none; }
  .wa { right: 14px; bottom: 14px; }
}

/* reduced motion: fewer, gentler — keep fades, drop travel */
@media (prefers-reduced-motion: reduce) {
  .badge svg, .map__dot::after, .pin2 .pulse, .live i { animation: none; }
  .cap .m > span, .cap__n, .cap > p:last-child { transform: none !important; transition: opacity .3s ease !important; }
  .cap .m > span { opacity: 0; } .cap.is-on .m > span { opacity: 1; }
  .acc__item, .acc__item img { transition-duration: .01s; }
}

/* ---------- icons ---------- */
.ic { width: 1.05em; height: 1.05em; flex: none; display: inline-block; vertical-align: -.15em; }
.btn .ic { transition: transform .35s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .btn:hover .ic, .link:hover .ic { transform: translate(2px, -2px); } }
.round .ic { width: 20px; height: 20px; }
.badge i .ic { width: 22px; height: 22px; }

/* ---------- browser surfaces ---------- */
html { scrollbar-color: var(--clay) var(--jungle-2); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; } ::-webkit-scrollbar-track { background: var(--jungle-2); }
::-webkit-scrollbar-thumb { background: var(--clay); border-radius: 99px; border: 3px solid var(--jungle-2); }
input, textarea { caret-color: var(--sun); }
a { text-underline-offset: .2em; }

/* ---------- 3D MODEL ---------- */
.model { position: relative; background: var(--jungle-2); }
.model__stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.model__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: grab; }
.model__gl.is-dragging { cursor: grabbing; }
.model__copy { position: absolute; z-index: 2; left: var(--g); bottom: clamp(40px, 8vh, 90px); width: min(520px, calc(100% - 2 * var(--g))); pointer-events: none; }
.model__title { font: 700 clamp(52px, 7vw, 6rem)/.88 var(--grotesk); font-stretch: 75%; letter-spacing: -.035em; color: var(--bone); margin-bottom: 22px; text-shadow: 0 2px 30px rgba(11, 33, 27, .4); }
.model__title em { color: var(--sun); font-size: 1.06em; }
.model__steps { position: relative; min-height: 6.6em; }
.step { position: absolute; left: 0; bottom: 0; max-width: 440px; font-size: 17px; color: rgba(239, 233, 220, .9); opacity: 0; transform: translateY(14px); transition: opacity .35s var(--ease-out), transform .6s var(--ease-out); text-shadow: 0 1px 18px rgba(11, 33, 27, .6); }
.step b { display: block; font-weight: 600; color: var(--sun); margin-bottom: 4px; }
.step.is-on { opacity: 1; transform: none; transition-delay: .12s; }
.model__scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse 62% 78% at 0% 100%, rgba(11, 33, 27, .9), rgba(11, 33, 27, .55) 38%, rgba(11, 33, 27, 0) 72%); }
.model__labels { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.tag { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 10px; pointer-events: auto; opacity: 0; transition: opacity .4s var(--ease-out); will-change: transform; }
.tag.is-on { opacity: 1; }
.tag i { width: 12px; height: 12px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 5px rgba(242, 233, 103, .25); flex: none; }
.tag span { font-size: 13px; font-weight: 500; letter-spacing: .02em; color: var(--jungle); background: var(--bone); padding: 7px 12px; border-radius: 99px; white-space: nowrap; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); transition: background-color .25s var(--ease-out), color .25s var(--ease-out); }
.tag .ic { width: 13px; height: 13px; margin-left: 4px; }
@media (hover: hover) and (pointer: fine) { .tag:hover span { background: var(--sun); } }
.tag:focus-visible span { outline: 2px solid var(--sun); outline-offset: 2px; }
.model__hint { position: absolute; z-index: 2; right: var(--g); bottom: clamp(40px, 8vh, 90px); display: flex; gap: 10px; align-items: center; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark); opacity: 0; transition: opacity .5s var(--ease-out); }
.model__hint.is-on { opacity: 1; }
.model__fallback { display: none; position: absolute; inset: 0; padding: 12vh var(--g) 34vh; }
.model__fallback img { width: 100%; height: 100%; object-fit: contain; border-radius: 14px; background: var(--bone); }
.no-3d .model__gl, .no-3d .model__hint, .no-3d .model__labels { display: none; }
.no-3d .model__fallback { display: block; }
@media (max-width: 760px) {
  .step { font-size: 15px; }
  .model__steps { min-height: 8.4em; }
  .model__hint { display: none; }
  .tag span { font-size: 12px; padding: 6px 10px; }
}

/* =====================================================================
   v4 — language switch, drone flight, design ↔ today, magazine
   ===================================================================== */

/* ---------- language switch: segmented pill with a sliding sun thumb ---------- */
.lang { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: 99px; border: 1px solid currentColor; isolation: isolate; flex: none; }
.lang button { position: relative; z-index: 1; padding: 6px 11px; font-size: 12px; font-weight: 600; letter-spacing: .08em; border-radius: 99px; transition: color .35s var(--ease-out); }
.lang button[aria-pressed="true"] { color: var(--jungle); }
.lang__thumb { position: absolute; z-index: 0; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 99px; background: var(--sun); transition: transform .55s var(--ease-in-out); }
.lang.is-es .lang__thumb { transform: translateX(100%); }
.hdr.is-light .lang button[aria-pressed="true"] { color: var(--jungle); }
.lang--menu { margin-bottom: 18px; color: var(--bone); }
.lang--menu button { padding: 9px 18px; font-size: 14px; }
.menu__foot { font-size: 14px; color: var(--muted-dark); }
.hdr__nav { margin-left: auto; }
@media (max-width: 1024px) { .hdr .lang { margin-left: auto; } .hdr__burger { margin-left: 8px; } }

.swap { position: fixed; inset: 0; z-index: 400; background: var(--green); display: grid; place-items: center; clip-path: inset(0 0 100% 0); visibility: hidden; pointer-events: none; }
.swap__word { font: 400 clamp(64px, 12vw, 180px)/1 var(--serif); font-style: italic; color: var(--sun); overflow: hidden; }

/* ---------- DRONE ---------- */
.drone { position: relative; background: #0a1a15; }
.drone__stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.drone__cam { position: absolute; inset: 0; perspective: 1300px; perspective-origin: 50% 46%; will-change: filter; }
.drone__plane { position: absolute; left: 0; top: 0; width: max(135vw, 200vh); aspect-ratio: 2397 / 1644; transform-style: flat; will-change: transform, opacity; backface-visibility: hidden; }
.drone__plane > img { position: relative; z-index: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.drone__plane--b { opacity: 0; }
.drone__marks { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.mk { fill: none; stroke-dasharray: 1; stroke-dashoffset: 1; vector-effect: non-scaling-stroke; }
.mk--site { stroke: var(--sun); stroke-width: 2px; filter: drop-shadow(0 0 6px rgba(242, 233, 103, .6)); }
.mk--path { stroke: var(--bone); stroke-width: 1.5px; stroke-dasharray: 1; }
.mk--road { stroke: var(--bone); stroke-width: 1.5px; opacity: .8; }
.pin { position: absolute; z-index: 2; left: var(--x); top: var(--y); width: 0; height: 0; pointer-events: none; }
.pin > * { position: absolute; transform: scale(var(--k, 1)); transform-origin: 0 0; }
.pin i { left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--sun); transform-origin: 7px 7px; opacity: 0; transition: opacity .3s var(--ease-out); }
.pin i::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--sun); }
.pin span { left: 0; top: 0; display: block; white-space: nowrap; font: 600 13px/1 var(--grotesk); letter-spacing: .04em; color: var(--jungle); background: var(--bone); padding: 8px 12px; border-radius: 99px; margin: 0; translate: 16px -50%; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); clip-path: inset(0 100% 0 0 round 99px); transition: clip-path .6s var(--ease-out); }
.pin span::before { content: ""; position: absolute; right: 100%; top: 50%; width: 10px; height: 1px; background: var(--bone); }
.pin.is-on i { opacity: 1; animation: pinPulse 2s var(--ease-out) infinite; }
.pin.is-on span { clip-path: inset(0 0 0 0 round 99px); transition-delay: .12s; }
.pin--soft span { background: rgba(11, 33, 27, .7); color: var(--bone); backdrop-filter: blur(6px); }
@keyframes pinPulse { 0% { box-shadow: 0 0 0 0 rgba(242, 233, 103, .55); } 70%, 100% { box-shadow: 0 0 0 14px rgba(242, 233, 103, 0); } }

.drone__ground { position: absolute; inset: 0; z-index: 2; clip-path: circle(0 at 50% 46%); visibility: hidden; background: #0a1a15; }
.pair { position: absolute; inset: 0; margin: 0; overflow: hidden; }
.pair img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pair__render { will-change: transform; }
.pair__photo { clip-path: inset(0 0 0 100%); filter: saturate(.92) contrast(1.04); }
.pair__line { position: absolute; z-index: 10; top: 0; bottom: 0; left: 0; width: 2px; margin-left: -1px; background: var(--sun); box-shadow: 0 0 20px rgba(242, 233, 103, .5); opacity: 0; cursor: ew-resize; touch-action: none; }
.pair__line::before { content: ""; position: absolute; inset: 0 -18px; }
.pair__line i { position: absolute; top: 50%; left: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: var(--sun); color: var(--jungle); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); transition: transform .2s var(--ease-out); }
.pair__line:active i { transform: scale(.94); }
.pair__line .ic { width: 22px; height: 22px; }
.pair__tag { position: absolute; z-index: 11; top: 96px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: 8px 14px; border-radius: 99px; opacity: 0; transition: opacity .4s var(--ease-out); }
.pair__tag--l { left: var(--g); background: rgba(239, 233, 220, .88); color: var(--jungle); }
.pair__tag--r { right: var(--g); background: var(--sun); color: var(--jungle); }
.drone.is-ground .pair__tag { opacity: 1; }

/* HUD — drone on-screen display */
.hud { position: absolute; inset: 0; z-index: 4; pointer-events: none; color: rgba(239, 233, 220, .92); font: 500 11px/1 var(--grotesk); letter-spacing: .14em; font-variant-numeric: tabular-nums; text-shadow: 0 1px 8px rgba(0, 0, 0, .4); }
.hud__c { position: absolute; width: 34px; height: 34px; border: 1.5px solid rgba(239, 233, 220, .85); }
.hud__c--tl { left: var(--g); top: 84px; border-right: 0; border-bottom: 0; }
.hud__c--tr { right: var(--g); top: 84px; border-left: 0; border-bottom: 0; }
.hud__c--bl { left: var(--g); bottom: 28px; border-right: 0; border-top: 0; }
.hud__c--br { right: var(--g); bottom: 28px; border-left: 0; border-top: 0; }
.hud__top { position: absolute; top: 96px; left: calc(var(--g) + 50px); right: calc(var(--g) + 50px); display: flex; justify-content: space-between; }
.drone.is-ground .hud__top { opacity: 0; }
.hud__rec { display: flex; gap: 8px; align-items: center; }
.hud__rec b { width: 8px; height: 8px; border-radius: 50%; background: #ff5a4e; animation: rec 1.2s steps(2) infinite; }
@keyframes rec { 50% { opacity: .15; } }
.hud__cross { position: absolute; left: 50%; top: 46%; width: 44px; height: 44px; margin: -22px; transition: opacity .4s; }
.hud__cross::before, .hud__cross::after { content: ""; position: absolute; background: rgba(239, 233, 220, .8); }
.hud__cross::before { left: 0; right: 0; top: 50%; height: 1px; clip-path: polygon(0 0, 35% 0, 35% 100%, 0 100%, 0 0, 100% 0, 100% 100%, 65% 100%, 65% 0); }
.hud__cross::after { top: 0; bottom: 0; left: 50%; width: 1px; clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%, 0 0, 0 100%, 100% 100%, 100% 65%, 0 65%); }
.drone.is-ground .hud__cross, .drone.is-ground .hud__ladder, .drone.is-ground .hud__compass { opacity: 0; }
.hud__alt { position: absolute; right: calc(var(--g) + 60px); top: 46%; transform: translateY(-50%); display: grid; justify-items: end; gap: 4px; }
.hud__alt b { font: 700 34px/1 var(--grotesk); font-stretch: 75%; letter-spacing: -.01em; color: var(--sun); }
.hud__alt small { font-size: 10px; }
.hud__ladder { position: absolute; right: var(--g); top: calc(46% - 120px); height: 240px; width: 40px; overflow: hidden; mask-image: linear-gradient(transparent, #000 25%, #000 75%, transparent); -webkit-mask-image: linear-gradient(transparent, #000 25%, #000 75%, transparent); transition: opacity .4s; }
.hud__ladder > div { display: grid; }
.hud__ladder i { height: 3px; border-top: 1px solid rgba(239, 233, 220, .55); font-style: normal; font-size: 9px; text-align: right; width: 14px; justify-self: end; }
.hud__ladder i:nth-child(5n+1) { width: 26px; border-color: var(--bone); }
.hud__compass { position: absolute; left: 50%; top: 130px; width: min(440px, 60vw); height: 34px; transform: translateX(-50%); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent); transition: opacity .4s; }
.hud__tape { position: absolute; left: 50%; top: 0; height: 14px; }
.hud__tape i { position: absolute; top: 0; width: 1px; height: 6px; background: rgba(239, 233, 220, .6); font-style: normal; }
.hud__tape i.big { height: 10px; background: var(--bone); }
.hud__tape i:not(:empty) { width: auto; height: auto; background: none; transform: translateX(-50%); top: 12px; font-size: 10px; color: var(--sun); }
.hud__compass > b { position: absolute; left: 50%; bottom: -1px; transform: translateX(-50%); font-weight: 600; font-size: 10px; color: var(--bone); }
.hud__compass::after { content: ""; position: absolute; left: 50%; top: 0; width: 1px; height: 14px; background: var(--sun); }
.hud__geo { position: absolute; left: calc(var(--g) + 50px); bottom: 36px; display: grid; gap: 6px; }
.drone__copy { position: absolute; z-index: 5; left: var(--g); bottom: clamp(80px, 12vh, 130px); width: min(540px, calc(100% - 2 * var(--g))); pointer-events: none; }
.drone__copy::before { content: ""; position: absolute; z-index: -1; left: calc(-1 * var(--g)); right: -40%; bottom: -30%; top: -40%; background: radial-gradient(ellipse at 0% 100%, rgba(8, 22, 17, .85), rgba(8, 22, 17, 0) 70%); }
.drone__title { font: 700 clamp(48px, 6.4vw, 6rem)/.88 var(--grotesk); font-stretch: 75%; letter-spacing: -.035em; color: var(--bone); margin-bottom: 20px; }
.drone__title em { color: var(--sun); font-size: 1.06em; }
.drone__steps { position: relative; min-height: 7em; }
.dstep { position: absolute; left: 0; bottom: 0; max-width: 460px; font-size: 17px; color: rgba(239, 233, 220, .92); opacity: 0; transform: translateY(14px); transition: opacity .35s var(--ease-out), transform .6s var(--ease-out); }
.dstep b { display: block; color: var(--sun); font-weight: 600; margin-bottom: 4px; }
.dstep.is-on { opacity: 1; transform: none; transition-delay: .1s; }
.drone__bar { position: absolute; z-index: 5; left: calc(var(--g) + 50px); right: calc(var(--g) + 50px); bottom: 28px; height: 1px; background: rgba(239, 233, 220, .18); }
.drone__bar i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: var(--sun); }
@media (max-width: 760px) {
  .hud__ladder, .hud__top span:last-child { display: none; }
  .hud__alt { right: var(--g); top: 30%; }
  .hud__compass { top: 120px; }
  .hud__geo { font-size: 9px; left: var(--g); bottom: 40px; }
  .drone__copy { bottom: 74px; }
  .dstep { font-size: 15px; }
  .drone__steps { min-height: 9em; }
  .pin span { font-size: 11px; padding: 6px 9px; }
  .pair__tag { top: 80px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { .pin.is-on i, .hud__rec b { animation: none; } }

/* ---------- dossier download ---------- */
.dossier { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }
.dossier__meta { font-size: 13px; color: var(--muted-dark); letter-spacing: .04em; }
.btn .ic { width: 1.1em; height: 1.1em; }

/* ---------- MAGAZINE ---------- */
.mag { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; padding: var(--sec) var(--g); background: var(--jungle-2); overflow: hidden; }
.mag__cover { perspective: 1400px; display: grid; place-items: center; }
.mag__book { position: relative; width: min(420px, 70vw); aspect-ratio: 420 / 595; transform-style: preserve-3d; }
.mag__page { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 4px; box-shadow: 0 30px 70px rgba(0, 0, 0, .45), 0 2px 6px rgba(0, 0, 0, .25); transform-origin: 30% 100%; }
.mag__page--1 { z-index: 3; } .mag__page--2 { z-index: 2; filter: brightness(.85); } .mag__page--3 { z-index: 1; filter: brightness(.7); }
.mag__issue { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--sun); margin-bottom: 22px; }
.mag__copy .display { margin-bottom: 26px; }
.mag__copy > p:not(.mag__issue):not(.dossier__meta) { max-width: 460px; color: var(--muted-dark); margin-bottom: 34px; }
.mag__copy .dossier__meta { margin-top: 16px; }
@media (max-width: 760px) { .mag { grid-template-columns: 1fr; } .mag__book { width: min(300px, 70vw); } }
