/* exp.css: "Through the viewfinder", the experience layer for techguys.co.za.
   Everything here is decoration or a pre-state that exp.js resolves. Nothing hides content on its own: pre-states are applied by
   the script (classes and inline styles on the elements it creates or wraps), so if exp.js never runs the page is exactly the page it was.
   The one exception is the hero headline's focus-pull, which only changes how the existing reveal arrives (the reveal's own .in class resolves it).
   Tokens are the site's own (--cream, --hairline, --mono ...); --exp-bronze is the globe's inner-mesh colour. */

/* ---- fonts: a fallback sized like each web font, so the text wraps the same before and after the web font arrives. The page swaps its fonts in about a second after the first paint; the text used to
   re-wrap and the page jumped (refund-policy 0.2 at tablet width, the Work suite page 0.14). The numbers are measured in a browser: size-adjust = the web font's width over the fallback's on the site's own text;
   ascent and descent = the web font's divided by size-adjust. The site's own stacks (--serif, --sans, --mono) are repeated with the fallback slotted in after the web font. ---- */
@font-face { font-family: "Instrument Serif Fallback"; src: local("Times New Roman"), local("TimesNewRomanPSMT"); size-adjust: 82.75%; ascent-override: 119.64%; descent-override: 37.46%; line-gap-override: 0%; }
@font-face { font-family: "Instrument Serif Fallback"; font-style: italic; src: local("Times New Roman Italic"), local("TimesNewRomanPS-ItalicMT"); size-adjust: 87.61%; ascent-override: 113%; descent-override: 35.38%; line-gap-override: 0%; }
@font-face { font-family: "Inter Fallback"; font-weight: 300; src: local("Arial"), local("ArialMT"); size-adjust: 104.77%; ascent-override: 92.46%; descent-override: 23.02%; line-gap-override: 0%; }
@font-face { font-family: "Inter Fallback"; font-weight: 400; src: local("Arial"), local("ArialMT"); size-adjust: 106.68%; ascent-override: 90.81%; descent-override: 22.61%; line-gap-override: 0%; }
@font-face { font-family: "Inter Fallback"; font-weight: 500; src: local("Arial"), local("ArialMT"); size-adjust: 107.83%; ascent-override: 89.84%; descent-override: 22.37%; line-gap-override: 0%; }
@font-face { font-family: "Inter Fallback"; font-weight: 600 700; src: local("Arial Bold"), local("Arial-BoldMT"); size-adjust: 101.46%; ascent-override: 95.48%; descent-override: 23.77%; line-gap-override: 0%; }
@font-face { font-family: "Space Mono Fallback"; font-weight: 400; src: local("Courier New"), local("CourierNewPSMT"); size-adjust: 101.98%; ascent-override: 109.83%; descent-override: 35.3%; line-gap-override: 0%; }
@font-face { font-family: "Space Mono Fallback"; font-weight: 700; src: local("Courier New Bold"), local("CourierNewPS-BoldMT"); size-adjust: 101.98%; ascent-override: 109.83%; descent-override: 35.3%; line-gap-override: 0%; }
:root { --serif: "Instrument Serif", "Instrument Serif Fallback", "Times New Roman", serif; --sans: "Inter", "Inter Fallback", system-ui, sans-serif; --mono: "Space Mono", "Space Mono Fallback", "JetBrains Mono", monospace; }
:root { --exp-bronze: #b86b3c; --exp-ease: cubic-bezier(.16, 1, .3, 1); }

/* the diagonal arrows (the site's up-right arrow character) are drawn, not typed: an iPhone swaps that character for a grey colour-emoji box whatever fonts the page asks for.
   The character stays in the page (for readers, and for anyone without this file), is pushed out of a clipped box, and a mask in the text colour is drawn in its place; size follows the font size as the glyph did.
   Only where masks work (the arrow would otherwise be a solid square), and the URL is written out in each declaration (no var(): a failed lookup would leave the same square). */
@supports ((-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.1'%3E%3Cpath d='M3 21 21 3M13 3h8v8'/%3E%3C/svg%3E")) or (mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.1'%3E%3Cpath d='M3 21 21 3M13 3h8v8'/%3E%3C/svg%3E"))) {
  .svc-arr, .ind-arr, .marr, .arr-d { display: inline-block; position: relative; width: 1em; height: 1em; overflow: hidden; text-indent: 100em; white-space: nowrap; }
  .svc-arr::before, .ind-arr::before, .marr::before, .arr-d::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.1'%3E%3Cpath d='M3 21 21 3M13 3h8v8'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.1'%3E%3Cpath d='M3 21 21 3M13 3h8v8'/%3E%3C/svg%3E") center / contain no-repeat; }
  .arr-d { vertical-align: -.12em; }
}

/* ---- hero: the headline pulls into focus as its lines reveal; a light leak sweeps across once; dust drifts behind it ---- */
.exp .hero-h .clip-line > span { filter: blur(10px); transition: transform 1.4s var(--exp-ease), filter 1.2s var(--exp-ease); }
.exp .hero-h .clip-line.in > span { filter: none; }
.exp-dust { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.exp-orbit { position: absolute; inset: 0; z-index: 0; pointer-events: none; }   /* sits on the globe's canvas, under the hero's grade and text */
.exp-orbit-on .exp-dust { display: none; }   /* the 3D dust replaces the flat one */
.exp-leak { position: absolute; left: 0; width: 100%; z-index: 3; pointer-events: none; overflow: hidden; }   /* the wrapper clips the band: it can never widen the page */
.exp-leak i { position: absolute; inset: 0; opacity: 0; transform: translateX(-70%) skewX(-14deg);
  background: linear-gradient(100deg, transparent 32%, rgba(255, 214, 170, .15) 50%, transparent 68%); }
.exp-leak.go i { animation: exp-leak 2.2s cubic-bezier(.3, .1, .2, 1) both; }
@keyframes exp-leak { 0% { opacity: 0; transform: translateX(-70%) skewX(-14deg); } 12% { opacity: 1; } 100% { opacity: 0; transform: translateX(70%) skewX(-14deg); } }

/* ---- section headings: each word pulls into focus in turn when the site's own reveal fires (.in is the reveal's class) ---- */
.exp .reveal .exp-hw { display: inline-block; opacity: 0; transform: translateY(.4em); filter: blur(8px);
  transition: opacity 1.1s var(--exp-ease) calc(var(--w, 0) * 90ms), transform 1.3s var(--exp-ease) calc(var(--w, 0) * 90ms), filter 1.1s var(--exp-ease) calc(var(--w, 0) * 90ms); }
.exp .reveal.in .exp-hw { opacity: 1; transform: none; filter: none; }

/* ---- viewfinder corner marks: the one motif every scene shares ------------------------------------------------ */
.exp-corners { position: absolute; pointer-events: none; z-index: 3; --cs: 22px; transition: translate .7s var(--exp-ease); }
.exp-corners.fill { inset: 104px 44px 44px; }   /* top clears the fixed nav bar */
.exp-corners i { position: absolute; width: var(--cs); height: var(--cs); border: 0 solid var(--cream); opacity: 0;
  transition: opacity .7s var(--exp-ease), transform 1.1s var(--exp-ease), border-color .5s; }
.exp-corners .tl { left: 0; top: 0; border-width: 1px 0 0 1px; transform: translate(-16px, -16px); }
.exp-corners .tr { right: 0; top: 0; border-width: 1px 1px 0 0; transform: translate(16px, -16px); }
.exp-corners .bl { left: 0; bottom: 0; border-width: 0 0 1px 1px; transform: translate(-16px, 16px); }
.exp-corners .br { right: 0; bottom: 0; border-width: 0 1px 1px 0; transform: translate(16px, 16px); }
.exp-corners.on i { opacity: .8; transform: none; }
.exp-corners.on.confirm i { animation: exp-confirm 1.3s .15s ease both; }
@keyframes exp-confirm { 0% { border-color: var(--cream); } 30% { border-color: var(--exp-bronze); } 100% { border-color: var(--cream); } }
.exp-hero-frame { --cs: 26px; }

/* ---- right-edge section rail (wide screens with a mouse) / progress hairline (everything else) --------------- */
.exp-rail { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 95; display: flex; flex-direction: column; align-items: flex-end; }
.exp-rail button { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; justify-content: flex-end; gap: 12px;
  height: 26px; padding: 0 2px 0 18px; font: 400 10px/1 var(--mono); letter-spacing: 1.4px; text-transform: uppercase; color: var(--cream); }
.exp-rail button:focus-visible { outline: 1px solid var(--cream); outline-offset: 3px; }
.exp-rail .t { display: block; height: 1px; width: 10px; background: var(--cream); opacity: .32; transition: width .5s var(--exp-ease), opacity .3s, background-color .3s; }
.exp-rail .n { opacity: 0; transform: translateX(6px); white-space: nowrap; text-shadow: 0 0 10px #000, 0 0 3px #000; transition: opacity .3s, transform .4s var(--exp-ease); }
.exp-rail button:hover .n, .exp-rail button:focus-visible .n { opacity: 1; transform: none; }
.exp-rail button:hover .t, .exp-rail button:focus-visible .t { width: 18px; opacity: .9; }
.exp-rail button[aria-current="true"] .t { width: 28px; opacity: 1; background: var(--exp-bronze); }
.exp-prog { position: fixed; left: 0; top: 0; width: 100%; height: 2px; z-index: 130; pointer-events: none; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--exp-bronze), var(--cream)); }

/* ---- cursor light (wide, mouse) and tap ping (touch) --------------------------------------------------------- */
.exp-glow { position: fixed; left: 0; top: 0; width: 640px; height: 640px; margin: -320px 0 0 -320px; border-radius: 50%; pointer-events: none; z-index: 2; opacity: 0;
  background: radial-gradient(closest-side, rgba(184, 107, 60, .10), rgba(184, 107, 60, .04) 45%, transparent 72%); transition: opacity .6s; will-change: transform; }
.exp-glow.on { opacity: 1; }
.exp-ping { position: fixed; left: 0; top: 0; width: 48px; height: 48px; margin: -24px 0 0 -24px; pointer-events: none; z-index: 10001; opacity: 0; --c: var(--cream);
  background:
    linear-gradient(var(--c), var(--c)) 0 0 / 12px 1px no-repeat, linear-gradient(var(--c), var(--c)) 0 0 / 1px 12px no-repeat,
    linear-gradient(var(--c), var(--c)) 100% 0 / 12px 1px no-repeat, linear-gradient(var(--c), var(--c)) 100% 0 / 1px 12px no-repeat,
    linear-gradient(var(--c), var(--c)) 0 100% / 12px 1px no-repeat, linear-gradient(var(--c), var(--c)) 0 100% / 1px 12px no-repeat,
    linear-gradient(var(--c), var(--c)) 100% 100% / 12px 1px no-repeat, linear-gradient(var(--c), var(--c)) 100% 100% / 1px 12px no-repeat;
  animation: exp-ping .6s var(--exp-ease) forwards; }
@keyframes exp-ping { 0% { opacity: .95; transform: scale(1.7); } 60% { opacity: .8; } 100% { opacity: 0; transform: scale(.78); } }

/* ---- statement: words light up as you read ------------------------------------------------------------------- */
.exp-w { opacity: .16; }

/* ---- studio: the photo pulls into focus (a pre-blurred copy fades away: cheap on phones, unlike animating a filter) ---- */
.sv-stage .exp-blur { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); pointer-events: none; will-change: opacity; }
.sv-stage > img:not(.exp-blur) { will-change: transform; }

/* ---- services, small screens: a line drawing in each row ------------------------------------------------------ */
.svc { --art: 84px; }
.exp-art { position: absolute; right: 92px; top: 50%; width: var(--art); height: var(--art); margin-top: calc(var(--art) / -2); pointer-events: none; color: var(--cream); }
.exp-art svg { display: block; width: 100%; height: 100%; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.exp-art path { stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .5;
  transition: stroke-dashoffset 1.2s var(--exp-ease), opacity .45s; transition-delay: calc(var(--i, 0) * 75ms), 0s; }
.exp-art path.b { stroke: var(--exp-bronze); opacity: 1; }
.exp-art .dot { fill: var(--exp-bronze); stroke: none; opacity: 0; transition: opacity .6s .9s; }
.exp-art.in path { stroke-dashoffset: 0; }
.exp-art.in .dot { opacity: 1; }
.svc:hover .exp-art path:not(.b), .svc:focus-within .exp-art path:not(.b) { opacity: 1; transition-delay: 0s, 0s; }
@media (max-width: 800px) {
  .svc { --art: 56px; }
  .svc.exp-has-art > h3, .svc.exp-has-art > p { padding-right: calc(var(--art) + 52px); }   /* the text keeps clear of the drawing and the arrow */
  .exp-art { right: 40px; }
  .exp-art svg { stroke-width: 1.8; }
}

/* ---- services, wide screens: one stage that morphs between the six drawings ---------------------------------- */
.svc-list.exp-staged { position: relative; }
.exp-stage { position: absolute; top: 0; bottom: 0; right: 84px; width: clamp(240px, 24vw, 420px); pointer-events: none; --sh: clamp(260px, 52vh, 430px); }
.exp-stage-in { position: sticky; top: calc(50vh - var(--sh) / 2 - 16px); perspective: 1100px; }
.exp-stage-box { position: relative; width: min(100%, var(--sh)); aspect-ratio: 1; margin-left: auto; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--exp-ease); }
.exp-stage-frame { position: absolute; inset: -18px; --cs: 20px; }
.exp-big { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; stroke: var(--cream); stroke-width: .8; stroke-linecap: round; stroke-linejoin: round; }
.exp-big path { stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .8; transition: stroke-dashoffset .45s ease-in, opacity .3s; }
.exp-big path.f { opacity: .3; }
.exp-big path.b { stroke: var(--exp-bronze); opacity: 1; }
.exp-big.on path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.2s var(--exp-ease) calc(var(--i, 0) * 55ms), opacity .3s; }
.exp-big .dot { fill: var(--exp-bronze); stroke: none; opacity: 0; transition: opacity .3s; }
.exp-big.on .dot { opacity: 1; transition: opacity .6s 1.2s; }
.exp-stage-cap { display: flex; justify-content: flex-end; gap: 14px; margin-top: 30px; font: 400 10px/1 var(--mono); letter-spacing: 1.6px; text-transform: uppercase; }
.exp-stage-cap b { font-weight: 400; color: var(--exp-bronze); }
.exp-stage-cap span { color: var(--cream-dim); }
.exp-staged .svc > h3, .exp-staged .svc > p { transition: opacity .35s; }
.exp-staged:has(.svc.exp-cur) .svc:not(.exp-cur) > h3, .exp-staged:has(.svc.exp-cur) .svc:not(.exp-cur) > p { opacity: .45; }
.exp-staged .svc.exp-cur .svc-arr { color: var(--exp-bronze); opacity: 1; }

/* ---- method: a line that fills as the four steps go by, and the photographs "expose" along the way ------------- */
.exp .pp-list { position: relative; }
.exp-mline { position: absolute; left: -22px; top: 0; bottom: 0; width: 1px; background: var(--hairline); pointer-events: none; }
.exp-mline i { position: absolute; inset: 0; background: var(--exp-bronze); transform-origin: 50% 0; transform: scaleY(0); }
.exp-mline b { position: absolute; left: -6px; top: 0; width: 13px; height: 13px; margin-top: -6px; transform: translateY(var(--y, 0px)); }
.exp-mline b::before, .exp-mline b::after { content: ""; position: absolute; background: var(--exp-bronze); }
.exp-mline b::before { left: 6px; top: 0; width: 1px; height: 13px; }
.exp-mline b::after { left: 0; top: 6px; width: 13px; height: 1px; }
.exp-expose { position: absolute; inset: 0; background: #000; opacity: .5; pointer-events: none; z-index: 2; }
@media (max-width: 700px) { .exp-mline { left: -15px; } }

/* ---- photo break: South Africa drawn on the photograph, a halftone field inside it, three cities joined --------- */
.exp-map { position: absolute; z-index: 1; right: max(24px, 2.6vw); top: 50%; width: min(35vw, 560px); aspect-ratio: 560 / 500; transform: translateY(-50%); pointer-events: none; }
.exp-map::before { content: ""; position: absolute; inset: -14%; background: radial-gradient(closest-side, rgba(0, 0, 0, .62), rgba(0, 0, 0, .3) 60%, transparent); }   /* a dark pool so the map reads over the photograph */
.exp-map canvas, .exp-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.exp-map svg { overflow: visible; fill: none; stroke: var(--cream); stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
.mp-o, .mp-h, .mp-s, .mp-a { stroke-dasharray: 1; stroke-dashoffset: 1; }
.mp-o { stroke-opacity: 1; stroke-width: 1.3; }
.mp-h { stroke: var(--exp-bronze); stroke-opacity: .9; }
.mp-s { stroke-opacity: .5; }
.mp-a { stroke-opacity: .95; }
.mp-a.f { stroke-opacity: .4; }
.mp-n { opacity: 0; }
.mp-n .core { fill: var(--exp-bronze); stroke: none; }
.mp-n .ring { stroke-opacity: .6; }
.mp-n .pulse { stroke: var(--exp-bronze); transform-box: fill-box; transform-origin: center; animation: exp-pulse 3s ease-out infinite; animation-play-state: paused; opacity: 0; }
.exp-map.live .pulse { animation-play-state: running; }
.exp-map .dot { fill: var(--exp-bronze); stroke: none; opacity: 0; }
@keyframes exp-pulse { 0% { transform: scale(1); opacity: .75; } 100% { transform: scale(3.2); opacity: 0; } }
.exp-city { position: absolute; display: flex; flex-direction: column; gap: 3px; font: 400 10px/1.2 var(--mono); letter-spacing: 1.5px; text-transform: uppercase; color: var(--cream);
  white-space: nowrap; opacity: 0; text-shadow: 0 0 18px #000, 0 0 8px #000, 0 0 2px #000; }
.exp-city b { font-weight: 400; }
.exp-city small { font-size: 9px; letter-spacing: 1px; color: var(--cream); opacity: .7; }
.exp-city[data-side="r"] { transform: translate(16px, -50%); }
.exp-city[data-side="l"] { transform: translate(calc(-100% - 16px), -50%); align-items: flex-end; }
@media (max-width: 1100px) {
  .exp-map { right: auto; left: 50%; top: auto; bottom: 5vh; width: min(66vw, 300px); transform: translateX(-50%); }
  .exp-map svg { stroke-width: 1.6; }
  .exp-city small { display: none; }
}
@media (max-height: 599px) { .exp-map { display: none; } }

/* ---- principles: a glyph each; sectors: hairlines that draw and rows that come forward ---------------------- */
.exp .pillar { position: relative; }
.exp-glyph { position: absolute; right: 28px; top: 46px; width: 64px; height: 64px; pointer-events: none; color: var(--cream); }
.pillar:nth-child(odd) .exp-glyph { right: 68px; }
.exp-glyph svg { display: block; width: 100%; height: 100%; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .8s var(--exp-ease); }
.exp-glyph path { stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .55; transition: stroke-dashoffset 1.2s var(--exp-ease) calc(var(--i, 0) * 120ms), opacity .4s; }
.exp-glyph path.b { stroke: var(--exp-bronze); opacity: 1; }
.exp-glyph path.f { opacity: .28; }
.exp-glyph.in path { stroke-dashoffset: 0; }
.pillar:hover .exp-glyph path:not(.b):not(.f) { opacity: 1; }
.pillar:hover .g-problem svg { transform: rotate(-9deg) translate(3px, 3px); }
.pillar:hover .g-built svg { transform: translateY(-4px); }
.pillar:hover .g-partners svg { transform: rotate(16deg); }
.pillar:hover .g-honest svg { transform: rotate(-12deg); }
@media (max-width: 700px) { .exp-glyph { width: 48px; height: 48px; top: 36px; right: 0 !important; } }
.pillar-list.exp-draw .pillar { border-top-color: transparent; }
.pillar-list.exp-draw .pillar::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--hairline); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.5s var(--exp-ease); }
.pillar-list.exp-draw .pillar.in::before { transform: scaleX(1); }
.ind-list.exp-draw .rule-fill { transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.5s var(--exp-ease) .2s, background-color .3s; }
.ind-list.exp-draw li.in .rule-fill { transform: scaleX(1); }
@media (hover: hover) {
  .pillar-list > .pillar > :not(.exp-glyph), .ind-list > li > * { transition: opacity .35s, filter .35s; }
  .pillar-list:has(.pillar:hover) .pillar:not(:hover) > :not(.exp-glyph), .ind-list:has(li:hover) li:not(:hover) > * { opacity: .38; filter: blur(1px); }
  .ind-list li:hover .rule-fill { background: var(--cream); }
}

/* ---- final call to action: the button sits in a viewfinder frame -------------------------------------------- */
.exp-cta-frame { --cs: 16px; }
.exp-cta-frame.tight i.tl { transform: translate(6px, 6px); } .exp-cta-frame.tight i.tr { transform: translate(-6px, 6px); }
.exp-cta-frame.tight i.bl { transform: translate(6px, -6px); } .exp-cta-frame.tight i.br { transform: translate(-6px, -6px); }
.exp-cta-frame.tight i { opacity: 1; }

/* ---- the other pages: services, studio, sectors, work, contact, thank-you, 404 -------------------------------------- */
/* thank-you and 404: the same focus-pull on the big headline */
.exp .ty-h .clip-line > span, .exp .nf-h .clip-line > span { filter: blur(10px); transition: transform 1.4s var(--exp-ease), filter 1.2s var(--exp-ease); }
.exp .ty-h .clip-line.in > span, .exp .nf-h .clip-line.in > span { filter: none; }
/* small line pictures (values, support levels, thank-you check, 404 signal) */
.exp-pic { display: block; pointer-events: none; color: var(--cream); }
.exp-pic svg { display: block; width: 100%; height: 100%; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .8s var(--exp-ease); }
.exp-pic path { stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .55; transition: stroke-dashoffset 1.2s var(--exp-ease) calc(var(--i, 0) * 120ms), opacity .4s; }
.exp-pic path.b { stroke: var(--exp-bronze); opacity: 1; }
.exp-pic path.f { opacity: .28; }
.exp-pic.in path { stroke-dashoffset: 0; }
/* services: a large drawing beside each tier, rings on the support plans */
.exp-tierart { position: absolute; right: 0; top: 50%; width: clamp(140px, 14vw, 210px); aspect-ratio: 1; transform: translateY(-50%); pointer-events: none; }
.exp-tierart .exp-big { stroke-width: 1; }
.exp-pic.lvl { position: absolute; right: 22px; top: 22px; width: 52px; height: 52px; }
.sup-card:hover .exp-pic.lvl path:not(.b):not(.f) { opacity: 1; }
@media (min-width: 801px) and (max-width: 1180px) { .sec-head:has(> .exp-tierart) > div:not(.exp-tierart) { padding-right: calc(clamp(140px, 14vw, 210px) + 28px); } }   /* the text keeps clear of the drawing at tablet widths */
@media (max-width: 800px) { .exp-tierart { position: relative; right: auto; top: auto; transform: none; width: 104px; margin: 24px 0 0; grid-column: 1 / -1; } }
/* studio: a glyph for each value */
.val-g { position: absolute; right: 8px; top: 50%; width: 56px; height: 56px; margin-top: -28px; }
.val:hover .exp-pic path:not(.b):not(.f) { opacity: 1; }
.val:hover .g-practical svg { transform: rotate(-5deg); } .val:hover .g-honest svg { transform: rotate(-12deg); } .val:hover .g-built svg { transform: translateY(-4px); }
.val:hover .g-partners svg { transform: rotate(16deg); } .val:hover .g-za svg { transform: scale(1.07); }
@media (max-width: 1000px) { .val:has(> .val-g) > p { padding-right: 76px; } }
@media (max-width: 700px) {
  .val-g { width: 40px; height: 40px; margin-top: -20px; right: 0; }
  .val:has(> .val-g) > h3, .val:has(> .val-g) > p { padding-right: 52px; }
}
/* sectors: a contact sheet of ten frames */
.exp-sheet { display: grid; grid-template-columns: repeat(10, 1fr); gap: 10px; margin: 0 0 56px; }
.exp-sheet .fr { all: unset; box-sizing: border-box; position: relative; display: block; aspect-ratio: 1; cursor: pointer; border: 1px solid var(--hairline); color: var(--cream); transition: border-color .4s, background-color .4s; }
.exp-sheet .fr:hover, .exp-sheet .fr:focus-visible { border-color: transparent; background: rgba(255, 255, 255, .03); }
.exp-sheet .fr:focus-visible { outline: 1px solid var(--cream); outline-offset: 3px; }
.exp-sheet .no { position: absolute; left: 8px; top: 7px; font: 400 9px/1 var(--mono); letter-spacing: 1.4px; color: var(--cream-dim); transition: color .3s; }
.exp-sheet .fr:hover .no, .exp-sheet .fr:focus-visible .no { color: var(--exp-bronze); }
.exp-sheet svg { position: absolute; left: 20%; top: 26%; width: 60%; height: 60%; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .6s var(--exp-ease); }
.exp-sheet .fr:hover svg, .exp-sheet .fr:focus-visible svg { transform: translateY(-3px) scale(1.06); }
.exp-sheet path { stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .6; transition: stroke-dashoffset 1.1s var(--exp-ease) calc(var(--b, 0) * 70ms + var(--i, 0) * 70ms), opacity .3s; }
.exp-sheet path.b { stroke: var(--exp-bronze); opacity: 1; }
.exp-sheet path.f { opacity: .3; }
.exp-sheet.in path { stroke-dashoffset: 0; }
.exp-sheet .fr:hover path:not(.b):not(.f), .exp-sheet .fr:focus-visible path:not(.b):not(.f) { opacity: 1; }
.exp-sheet .fr::before { content: ""; position: absolute; inset: -6px; opacity: 0; --c: var(--cream); transition: inset .45s var(--exp-ease), opacity .3s;
  background:
    linear-gradient(var(--c), var(--c)) 0 0 / 9px 1px no-repeat, linear-gradient(var(--c), var(--c)) 0 0 / 1px 9px no-repeat,
    linear-gradient(var(--c), var(--c)) 100% 0 / 9px 1px no-repeat, linear-gradient(var(--c), var(--c)) 100% 0 / 1px 9px no-repeat,
    linear-gradient(var(--c), var(--c)) 0 100% / 9px 1px no-repeat, linear-gradient(var(--c), var(--c)) 0 100% / 1px 9px no-repeat,
    linear-gradient(var(--c), var(--c)) 100% 100% / 9px 1px no-repeat, linear-gradient(var(--c), var(--c)) 100% 100% / 1px 9px no-repeat; }
.exp-sheet .fr:hover::before, .exp-sheet .fr:focus-visible::before { inset: -1px; opacity: .95; }
.exp-sheet .cap { grid-column: 1 / -1; margin: 6px 0 0; min-height: 12px; display: flex; gap: 14px; font: 400 10px/12px var(--mono); letter-spacing: 1.6px; text-transform: uppercase; opacity: 0; transition: opacity .3s; }
.exp-sheet .cap.on { opacity: 1; }
.exp-sheet .cap b { font-weight: 400; color: var(--exp-bronze); }
.exp-sheet .cap span { color: var(--cream-dim); }
@media (max-width: 800px) { .exp-sheet { grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 40px; } }
.ind-row > * { transition: opacity .4s, filter .4s; }
@media (hover: hover) { [data-exp] .ind-page .container:has(.ind-row:hover) .ind-row:not(:hover) > * { opacity: .38; filter: blur(1px); } }
.exp-focus:has(.ind-row.exp-cur) .ind-row:not(.exp-cur) > * { opacity: .42; }
/* work: arrive out of focus, then lock */
[data-exp] .work-img.exp-pre { filter: blur(8px) brightness(.82); transition: filter 1.3s var(--exp-ease); }
[data-exp] .work-img.exp-pre.exp-lock { filter: none; }
.exp-work-frame { inset: 3% 2%; --cs: 22px; }
.exp-scan { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 4; }
.exp-scan::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 100%; opacity: 0; transform: translateY(-100%);
  background: linear-gradient(to bottom, transparent 44%, rgba(184, 107, 60, .24) 50%, transparent 56%); }
.exp-scan.go::before { animation: exp-scan 2s .35s cubic-bezier(.45, 0, .2, 1) both; }
@keyframes exp-scan { 0% { opacity: 0; transform: translateY(-100%); } 12% { opacity: 1; } 88% { opacity: 1; } 100% { opacity: 0; transform: translateY(100%); } }
/* contact: the focus frame glides to the field you are in; a hairline fills as the required fields become valid */
.exp-af { left: 0; top: 0; width: 0; height: 0; --cs: 14px; transition: translate .55s var(--exp-ease), width .55s var(--exp-ease), height .55s var(--exp-ease); }
.exp-fprog { position: absolute; left: 0; top: -14px; width: 100%; height: 1px; background: var(--exp-bronze); transform-origin: 0 50%; transform: scaleX(0); transition: transform .7s var(--exp-ease); pointer-events: none; }
/* thank-you: captured */
.exp-ty-frame, .exp-nf-frame { --cs: 24px; transition: translate 1s var(--exp-ease); }
.exp-pic.check { position: absolute; right: 6%; top: 34%; width: clamp(88px, 11vw, 140px); height: clamp(88px, 11vw, 140px); }
.exp-pic.check svg { stroke-width: .9; }
.exp-flash { position: fixed; inset: 0; z-index: 9999; background: #fff; opacity: 0; pointer-events: none; }
.exp-flash.go { animation: exp-flash .8s ease-out both; }
@keyframes exp-flash { 0% { opacity: 0; } 8% { opacity: .13; } 100% { opacity: 0; } }
/* 404: hunting for focus, then struck-through signal bars */
.exp-pic.sig { position: absolute; right: 6%; top: 36%; width: clamp(80px, 10vw, 128px); height: clamp(80px, 10vw, 128px); }
.exp-pic.sig svg { stroke-width: 1; }
.exp-pic.sig.flick path:not(.b) { animation: exp-flick 2.6s steps(1, end) infinite; }
.exp-pic.sig.in.flick path:not(.b) { animation: none; opacity: .35; }
@keyframes exp-flick { 0%, 100% { opacity: .6; } 18% { opacity: .15; } 22% { opacity: .7; } 51% { opacity: .2; } 58% { opacity: .65; } 80% { opacity: .1; } 86% { opacity: .6; } }
@keyframes exp-hunt { 0% { filter: blur(0); } 14% { filter: blur(7px); } 32% { filter: blur(1px); } 52% { filter: blur(5px); } 74% { filter: blur(1px); } 100% { filter: blur(0); } }
.exp .nf-h.exp-hunt .clip-line.in > span { animation: exp-hunt 1.9s .65s ease-in-out both; }
@media (max-width: 800px) { .exp-pic.check, .exp-pic.sig { right: 0; top: 0; width: 64px; height: 64px; } }

/* ---- real 3D canvases (shared) ---- */
.exp3d-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* ---- services stage in real 3D: big titles on the left, one large sculpture on the right that morphs as the row changes ---- */
.svc-list.exp3d { counter-reset: svc; }
.svc-list.exp3d .exp-stage { right: 0; width: 54%; --sh: clamp(460px, 76vh, 760px); }
.svc-list.exp3d .exp-stage-box { width: 100%; height: var(--sh); aspect-ratio: auto; transform: none; margin: 0; }
.svc-list.exp3d .exp-stage-frame { inset: 0; }
.svc-list.exp3d .exp-stage-cap { margin-top: 18px; padding-right: 8px; }
.svc-list.exp3d .svc { grid-template-columns: minmax(0, 1fr) 40px; column-gap: 24px; row-gap: 0; padding: clamp(18px, 4.4vh, 44px) 0; align-items: center; max-width: 46%; }
.svc-list.exp3d .svc > h3 { grid-column: 1; grid-row: 1; font-size: clamp(38px, 5.4vw, 88px); line-height: .98; letter-spacing: -.012em; }
.svc-list.exp3d .svc > .svc-arr { grid-column: 2; grid-row: 1; }
.svc-list.exp3d .svc > h3::before { counter-increment: svc; content: counter(svc, decimal-leading-zero); display: block; margin-bottom: 12px; font: 400 11px/1 var(--mono); letter-spacing: 1.8px; color: var(--exp-bronze); opacity: .85; }
.svc-list.exp3d .svc > p { grid-column: 1 / -1; grid-row: 2; max-width: 40ch; max-height: 0; opacity: 0; overflow: hidden; margin: 0; transition: max-height .8s var(--exp-ease), opacity .5s, margin .5s; }
.svc-list.exp3d .svc.exp-cur > p { max-height: 9em; opacity: 1; margin-top: 18px; }

/* ---- the map in real 3D: a large transparent canvas over the photograph, a soft dark pool behind it so the relief reads ---- */
.photo-break.exp-map3d-on > .pb-text { align-self: flex-start; margin-top: clamp(96px, 15vh, 190px); }   /* the quote moves up so the relief can sit below it */
.exp-map.exp-map3d { right: 0; top: 20%; bottom: 0; width: min(66vw, 1060px); aspect-ratio: auto; transform: none; }
.exp-map.exp-map3d::before { inset: 0; background: radial-gradient(closest-side at 55% 50%, rgba(0, 0, 0, .66), rgba(0, 0, 0, .34) 62%, transparent); }
.exp-map.exp-map3d .exp-city { transform: translate(18px, -50%); }
.exp-map.exp-map3d .exp-city[data-side="l"] { transform: translate(calc(-100% - 18px), -50%); }
@media (max-width: 1100px) { .photo-break.exp-map3d-on > .pb-text { align-self: center; margin-top: 0; } .exp-map.exp-map3d { left: 0; right: 0; top: auto; bottom: 0; width: auto; height: min(64vh, 600px); transform: none; } }

/* ---- the work page as a 3D gallery: one sticky canvas behind four full-screen projects ---- */
.works.exp-work3d { position: relative; padding-top: 0; padding-bottom: 80px; }
.exp main[data-exp="inner"] .works { padding-top: 0; }   /* the 3D gallery takes the page's 160px off the top of the work list; applied from the first paint it no longer pushes the first project up when the script switches the gallery on */
.exp-work-stage { position: sticky; top: 0; height: 100vh; margin-bottom: -100vh; z-index: 0; pointer-events: none; overflow: hidden; }
.exp-work-hint { position: absolute; z-index: 2; left: 50%; bottom: 34px; transform: translateX(-50%); font: 400 10px/1 var(--mono); letter-spacing: 1.8px; text-transform: uppercase; color: var(--cream-dim); opacity: .75; white-space: nowrap; }
.works.exp-work3d > .container { position: relative; z-index: 1; }
.works.exp-work3d .work { min-height: 100vh; margin-bottom: 0; gap: 48px; }
.works.exp-work3d .work-img { opacity: 0; min-height: 64vh; cursor: grab; }   /* the 3D device stands where this was; the box keeps the cursor label and the link */
.works.exp-work3d .work-text { padding: 40px 0; text-shadow: 0 0 26px #000, 0 0 10px #000; }
.works.exp-work3d .work-text { padding: 96px 0 40px; }
.works.exp-work3d .work-text .label { margin-bottom: 18px; }
.works.exp-work3d .work-text h2 { font-size: clamp(48px, 6vw, 100px); margin-bottom: 14px; }
.works.exp-work3d .work-block { margin-bottom: 16px; padding-top: 14px; }
.works.exp-work3d .work-block p { font-size: 17px; line-height: 1.55; color: #d9d3c7; }
.works.exp-work3d .work-result { margin-top: 22px; padding: 16px 0; font-size: clamp(22px, 2.3vw, 34px); }
@media (max-width: 900px) { .works.exp-work3d .work { min-height: 0; gap: 8px; } .works.exp-work3d .work-img { min-height: 54vh; touch-action: pan-y; }   /* vh, like the stage: on an iPhone 100vh is the TALL viewport (bars hidden) and the 3D scene is sized against the stage, so a slot in svh came out shorter than its device */ .works.exp-work3d .work-text { padding: 12px 0 16px; } .exp-work-hint { bottom: 18px; }
  .works.exp-work3d .work-img.is-laptop { margin-top: 40px; }   /* a glued laptop stands about 30px above its place (its hinge is the origin), so it gets the room back that the tighter text padding above would take */
  /* the laptop is as wide as the screen and only about half as tall as its slot, so the slot leaves ~290px of black under it. Its lower edge is about (54vw - 44px) below the slot's top at any phone width, so the title is pulled up to sit ~48px under it
     (over the empty lower part of the slot; the text stays on top so its links keep working). Never pushes down (a wide landscape screen would be taller than its slot). */
  .works.exp-work3d .work-img.is-laptop + .work-text { position: relative; z-index: 1; margin-top: min(0px, calc(54vw - 54vh - 4px)); } }
/* the page ships 140px under every project (and 20px under its text): on a phone that is most of a screen of black under a collapsed list, so the flat version closes up too */
@media (max-width: 900px) { [data-exp] .works:not(.exp-work3d) .work { margin-bottom: 24px; } [data-exp] .works:not(.exp-work3d) .work-text { padding-bottom: 0; } }

/* ---- reduced motion: the finished picture, no movement -------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .exp .hero-h .clip-line > span { filter: none !important; }
  .exp .reveal .exp-hw { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  .exp-art path, .exp-glyph path, .exp-big path { transition: none !important; stroke-dashoffset: 0 !important; }
  .exp-art .dot, .exp-big .dot { transition: none !important; opacity: 1 !important; }
  .exp-map .pulse { animation: none !important; }
  .exp-corners i { transition: none !important; opacity: .8 !important; transform: none !important; animation: none !important; }
  .pillar-list.exp-draw .pillar::before, .ind-list.exp-draw .rule-fill { transition: none !important; transform: none !important; }
  .exp-stage-box { transition: none !important; transform: none !important; }
  .exp-w { opacity: 1 !important; }
  .exp-glow, .exp-ping, .exp-leak, .exp-dust { display: none !important; }
  .exp-pic path, .exp-sheet path { transition: none !important; stroke-dashoffset: 0 !important; }
  .exp-pic.sig.flick path { animation: none !important; }
  .exp .nf-h.exp-hunt .clip-line.in > span { animation: none !important; }
  .exp .ty-h .clip-line > span, .exp .nf-h .clip-line > span { filter: none !important; }
  [data-exp] .work-img.exp-pre { filter: none !important; transition: none !important; }
  .exp-scan, .exp-flash { display: none !important; }
  .exp-af, .exp-fprog { transition: none !important; }
  .exp-af:not(.on) i { opacity: 0 !important; }
}

/* ---- inner-page heroes: one signature 3D object on the right, screen-blended over the photograph (its black is the photograph) ---- */
.page-hero .exp-hero3d, .ty .exp-hero3d, .nf .exp-hero3d { position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; width: min(56vw, 900px); pointer-events: none; mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24%); mask-image: linear-gradient(90deg, transparent 0, #000 24%); }
.page-hero.exp-h3d-on > .hero-content { width: 100%; }
.exp main[data-hero3d] .page-hero > .hero-content { width: 100%; }   /* Services, Studio, Industries carry data-hero3d: the text has its final width from the first paint, so adding the object (a moment later) does not move the headline sideways; with no object (reduced motion, a weak device, the fuse) the text just stays at the left */
.ty.exp-h3d-on > .container, .nf.exp-h3d-on > .container { width: 100%; max-width: 1380px; }   /* (their own rule caps the block at 900px and centres it) */
.ty.exp-h3d-on .exp-pic.check, .nf.exp-h3d-on .exp-pic.sig { display: none; }   /* the object says it now */
.ty.exp-h3d-on .container .lead, .nf.exp-h3d-on .container .lead { max-width: 30em; }   /* the paragraph keeps clear of the object */
.ty .exp-hero3d, .nf .exp-hero3d { width: min(50vw, 800px); right: -3vw; }   /* these heroes shrink-wrap and centre their text block; with an object on the right the text goes left, like the home page */
.ty.exp-h3d-on, .nf.exp-h3d-on { overflow: hidden; }   /* the object bleeds 3vw past the right edge: without this the page scrolls sideways by that much (the heroes of the other pages clip themselves) */
.page-hero .exp-hero3d.exp-map.exp-map3d { aspect-ratio: auto; transform: none; }
@media (min-width: 1100px) { .page-hero .exp-hero3d.exp-map.exp-map3d { left: 57vw; right: -2vw; width: auto; } }
@media (min-width: 1700px) { .page-hero .exp-hero3d.exp-map.exp-map3d { left: 60vw; } }   /* the headline is larger on wide screens: a little more room between its last word and the coast */   /* the box starts where the headline ends and stops 2vw past the edge, so the whole country and its labels stay on screen (it used to bleed 9vw past the edge and cut off Johannesburg and Durban) */
.page-hero .exp-hero3d.exp-map::before { display: none; }
.exp-h3d-tabs { position: absolute; z-index: 3; right: max(24px, 2.6vw); bottom: 30px; display: flex; gap: 6px; }
.exp-h3d-tabs button { all: unset; box-sizing: border-box; cursor: pointer; padding: 10px 14px; border: 1px solid var(--hairline); background: rgba(8, 8, 10, .6); font: 400 10px/1 var(--mono); letter-spacing: 1.5px; text-transform: uppercase; color: var(--cream-dim); transition: color .3s, border-color .3s, background-color .3s; }
.exp-h3d-tabs button i { font-style: normal; color: var(--exp-bronze); margin-right: 9px; }
.exp-h3d-tabs button:hover, .exp-h3d-tabs button:focus-visible { color: var(--cream); border-color: var(--cream-mute); }
.exp-h3d-tabs button:focus-visible { outline: 1px solid var(--cream); outline-offset: 3px; }
.exp-h3d-tabs button[aria-current="true"] { color: var(--cream); border-color: var(--cream); }
@media (max-width: 1099px) {
  .page-hero .exp-hero3d, .page-hero .exp-hero3d.exp-map.exp-map3d, .ty .exp-hero3d, .nf .exp-hero3d { top: 56px; bottom: auto; width: 100%; height: 46%; right: 0; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
  .exp-h3d-tabs { display: none; }
  /* thank-you and 404: the object is a band on top, and the words start below it */
  .ty .exp-hero3d, .nf .exp-hero3d { height: max(260px, 38vh); height: max(260px, 38svh); }
  .ty.exp-h3d-on, .nf.exp-h3d-on { padding-top: calc(76px + max(260px, 38vh)); padding-top: calc(76px + max(260px, 38svh)); }
}

/* ---- depth everywhere: reveals arrive out of the distance, cards lean toward the pointer ---- */
/* the site's own fade-and-rise, with a 3D lean that resolves as it arrives: for headings, text, list rows and figures (not for big wrappers, where a lean around the bottom edge would throw the top
   hundreds of pixels), and not on the long-form pages */
.exp main[data-exp="home"] .reveal:is(h1, h2, h3, h4, p, li, blockquote, figure, span, a), .exp main[data-exp="inner"] .reveal:is(h1, h2, h3, h4, p, li, blockquote, figure, span, a) { transform: perspective(1100px) translate3d(0, 44px, -90px) rotateX(9deg); transform-origin: 50% 100%; }
.exp main[data-exp="home"] .reveal.in:is(h1, h2, h3, h4, p, li, blockquote, figure, span, a), .exp main[data-exp="inner"] .reveal.in:is(h1, h2, h3, h4, p, li, blockquote, figure, span, a) { transform: none; }
.exp-reduced .reveal, .exp-reduced .reveal.in { transform: none !important; }
.exp .sup-card, .exp-sheet .fr { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.exp .sup-card { position: relative; transition: background .4s ease, transform .5s var(--exp-ease); }
.exp-sheet .fr { transition: border-color .4s, background-color .4s, transform .5s var(--exp-ease); }
.exp .sup-card::after, .exp-sheet .fr::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(255, 214, 170, .14), transparent 62%); }
.exp .sup-card:hover::after, .exp-sheet .fr:hover::after { opacity: 1; }

/* ---- contact: the guided flow is built by script a moment after the page paints. Hold its place so nothing visible jumps when it arrives: the way-in button's room under the
   headline is reserved, and the details and form below stay hidden (never forever: a timer shows them after 4s even if the script never arrives, reduced motion included). ---- */
.exp main[data-exp="inner"]:has(form.form[action$="contact.php"]):not(.exp-brief-on) .hero-content::after { content: ""; display: block; height: 106px; }
.exp main[data-exp="inner"]:has(form.form[action$="contact.php"]):not(.exp-brief-on) .contact-main { visibility: hidden; animation: eb-failsafe 0s 4s forwards !important; }
@keyframes eb-failsafe { to { visibility: visible; } }
@media (max-width: 700px) { .exp main[data-exp="inner"]:has(form.form[action$="contact.php"]):not(.exp-brief-on) .hero-content::after { height: 148px; } }
