/* Overrides for the static export (no Wix runtime / no free-plan banner). */
:root, html, body { --wix-ads-height: 0px !important; }
#WIX_ADS { display: none !important; }

/* Header: stick flush to the top on every page and breakpoint (Wix compiled
   top:30px to sit under its free-plan banner) and stay above page content. */
header { position: sticky !important; top: 0 !important; z-index: 50 !important; }

/* Rebuilt pro-gallery: rows of one narrow (1/3) + one wide (2/3) tile */
.tp-gallery { display: flex; flex-direction: column; gap: var(--tp-gap, 13px); width: 100%; }
.tp-row { display: flex; gap: var(--tp-gap, 13px); }
.tp-gi {
  position: relative; display: block; padding: 0; margin: 0; border: 0; background: #111;
  overflow: hidden; border-radius: 16px; cursor: pointer; min-width: 0;
}
.tp-gi.tp-n { flex: 1 1 0; aspect-ratio: 238 / 336; }
.tp-gi.tp-w { flex: 2 1 0; }
.tp-gi img, .tp-gi video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.tp-gi:hover img, .tp-gi:hover video { transform: scale(1.05); }
.tp-gi:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.tp-play {
  position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px;
  border-radius: 50%; background: rgba(0,0,0,.35); pointer-events: none;
}
.tp-play::after {
  content: ""; position: absolute; left: 24px; top: 18px;
  border-style: solid; border-width: 12px 0 12px 19px; border-color: transparent transparent transparent #fff;
}
@media (max-width: 750px) { .tp-gallery, .tp-row { --tp-gap: 30px; } }

/* Lightbox */
.tp-lb { position: fixed; inset: 0; z-index: 100000; background: rgba(0,0,0,.92); display: none; align-items: center; justify-content: center; }
.tp-lb.is-open { display: flex; }
.tp-lb-stage { position: absolute; inset: 56px 64px; display: flex; align-items: center; justify-content: center; }
.tp-lb-stage img, .tp-lb-stage video { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }
.tp-lb button { position: absolute; background: none; border: 0; color: #fff; cursor: pointer; font: 300 44px/1 sans-serif; padding: 8px 14px; z-index: 1; }
.tp-lb-close { top: 8px; right: 12px; }
.tp-lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.tp-lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
@media (max-width: 750px) { .tp-lb-stage { inset: 56px 8px; } .tp-lb-prev, .tp-lb-next { top: auto; bottom: 8px; transform: none; } }

/* Smooth scroll (Lenis) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* Project cards reveal on scroll */
.tp-reveal { opacity: 0; translate: 0 60px; transition: opacity .9s cubic-bezier(.2,.7,.2,1), translate .9s cubic-bezier(.2,.7,.2,1); }
.tp-reveal.is-in { opacity: 1; translate: 0 0; }

/* Travelling astronaut (landing page, desktop) */
.tp-astro { position: fixed; left: 0; top: 0; z-index: 40; display: block; transform-origin: 50% 50%; will-change: transform; }
.tp-astro-bob { display: block; width: 100%; height: 100%; animation: tp-bob 6s ease-in-out infinite; }
.tp-astro img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
@keyframes tp-bob { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-12px) rotate(3deg); } }
@media (prefers-reduced-motion: reduce) { .tp-reveal { opacity: 1; translate: none; } .tp-astro-bob { animation: none; } }

/* Orbiting Works: pinned galaxy flight (assets/space.js) */
.tp-stage { grid-area: 7 / 1 / 8 / 2; position: relative; }
.tp-stage-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; contain: layout paint; }
/* One galaxy layer behind the whole landing page (hero -> flight -> About Me) */
.tp-galaxy { position: fixed; top: 0; left: 0; right: 0; height: 100vh; height: 100lvh; z-index: -1; pointer-events: none; background: #050505; }
.tp-galaxy canvas { display: block; width: 100%; height: 100%; opacity: 0; transition: opacity .8s ease; }
.tp-galaxy.is-on canvas { opacity: 1; }
html.tp-galaxy-on { background: #050505; }
html.tp-galaxy-on body { background: transparent; }
html.tp-galaxy-on .wixui-page { background-color: transparent !important; }
/* Stars video in the hero and the About grid photo: keep their light, drop their black */
html.tp-galaxy-on #comp-m8rrdlvo, html.tp-galaxy-on #img_comp-lwp7g0o4 { mix-blend-mode: screen; }
html.tp-galaxy-on #img_comp-lwp7g0o4 { opacity: .55; }
html.tp-galaxy-on #comp-m8rrdlvo { visibility: hidden; }
/* Removed from the landing page */
#comp-m961idg5, #comp-m8lmhmbb { display: none !important; }
.tp-stage-cards { position: absolute; inset: 0; z-index: 3; }
.tp-orbit-card {
  position: absolute !important; left: 0; right: 0; top: var(--tp-cy, 50%); margin: 0 !important;
  transform-origin: 50% 50%; will-change: transform, filter; visibility: hidden;
}
/* Project information settles in once the project is locked at the focal point */
.tp-orbit-card h1, .tp-orbit-card h2, .tp-orbit-card h3, .tp-orbit-card h4, .tp-orbit-card h5, .tp-orbit-card h6,
.tp-orbit-card p, .tp-orbit-card a.wixui-button {
  transition: opacity .6s ease, transform .7s cubic-bezier(.2,.7,.2,1); opacity: .45; transform: translateY(10px);
}
.tp-orbit-card.is-focus h1, .tp-orbit-card.is-focus h2, .tp-orbit-card.is-focus h3, .tp-orbit-card.is-focus h4,
.tp-orbit-card.is-focus h5, .tp-orbit-card.is-focus h6, .tp-orbit-card.is-focus p, .tp-orbit-card.is-focus a.wixui-button {
  opacity: 1; transform: none;
}
.tp-orbit-card.is-focus p { transition-delay: .08s; }
.tp-orbit-card.is-focus a.wixui-button { transition-delay: .16s; }
.tp-orbit-card [id^="bgLayers_"] * { background-color: transparent !important; }
.tp-orbit-card [id^="bgLayers_"] { background: transparent !important; }
.tp-stage-title {
  position: absolute; left: 0; right: 0; top: var(--tp-cy, 50%); z-index: 3; text-align: center; color: #fff;
  transform-origin: 50% 50%; will-change: transform, opacity; pointer-events: none; padding: 0 16px;
}
.tp-stage-title h2 {
  margin: 0; font-size: clamp(44px, 8.5vw, 136px); line-height: .95; letter-spacing: -.02em; font-weight: 400;
  text-shadow: 0 0 40px rgba(140, 170, 255, .35), 0 0 120px rgba(255, 140, 80, .18);
}
.tp-stage-hint {
  margin: 22px 0 0; font: 500 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .32em; text-transform: uppercase; color: rgba(255, 255, 255, .62);
}
/* Project cards as glass panels floating in space */
#comp-m4jjn9vg2, #comp-m8rqa08e4, #comp-m8liod5h3, #comp-m961idgy2 {
  border-radius: 26px;
  background: linear-gradient(155deg, rgba(34,30,30,.74), rgba(10,9,10,.84) 40%, rgba(5,5,6,.9)) !important; /* beats Wix .NaeT1r */
  box-shadow: 0 40px 120px -30px rgba(0,0,0,.85), 0 0 80px -20px rgba(120,150,255,.18), inset 0 1px 0 rgba(255,255,255,.14);
}
#comp-m4jjn9vg2 > .inner-box, #comp-m8rqa08e4 > .inner-box, #comp-m8liod5h3 > .inner-box, #comp-m961idgy2 > .inner-box {
  border-color: rgba(255,255,255,.16) !important; border-radius: 26px;
}
html.tp-stage-on a.wixui-button[aria-label="Explore"]:not(:hover) { background-color: transparent !important; }
.tp-stage-dots { position: absolute; right: 28px; top: 50%; z-index: 4; display: flex; flex-direction: column; gap: 14px; transform: translateY(-50%); }
.tp-stage-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.25); transition: transform .4s ease, background .4s ease, box-shadow .4s ease; }
.tp-stage-dots i.on { background: #fff; box-shadow: 0 0 12px rgba(255,255,255,.9); transform: scale(1.5); }
@media (max-width: 750px) {
  .tp-stage-dots { right: auto; left: 50%; top: auto; bottom: 18px; flex-direction: row; transform: translateX(-50%); }
}
.tp-hud {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2;
  display: flex; align-items: center; gap: 10px; white-space: nowrap; pointer-events: none;
  font: 500 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .18em;
  color: rgba(255, 255, 255, .78); opacity: 0; transition: opacity .4s ease;
}
.tp-hud.is-on { opacity: 1; }
.tp-hud-dot { width: 7px; height: 7px; border-radius: 50%; background: #ff6a2b; box-shadow: 0 0 10px #ff6a2b; animation: tp-blink 1.6s ease-in-out infinite; }
@keyframes tp-blink { 50% { opacity: .25; } }
@media (max-width: 1000px) { .tp-hud { display: none; } }

/* Warp jump between pages */
.tp-warp { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 2147483646; pointer-events: none; }
html.tp-warp-in body::after { content: ""; position: fixed; inset: 0; z-index: 2147483645; background: radial-gradient(circle, #fff6ea, #ffaa5a); }
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .2s; }

/* 3D astronaut (assets/astro3d.js) rendered in place of the 2D artwork */
.tp-astro-3d wow-image, .tp-astro-3d .tp-astro-bob { position: relative; }
.tp-astro3d { position: absolute; inset: -25%; width: 150% !important; height: 150% !important; max-width: none !important; pointer-events: none; display: block; }
html.tp-astro3d-on .tp-astro-3d img { opacity: 0 !important; }
html.tp-astro3d-pending img[alt="Astro"], html.tp-astro3d-pending .tp-astro img { opacity: 0 !important; }
.tp-astro3d { animation: tp-astro3d-in .9s ease both; }
@keyframes tp-astro3d-in { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
/* The 3D canvas is larger than his image box (raised hands, "closer"): don't clip it to the box */
html.tp-astro3d-on .tp-astro-3d, html.tp-astro3d-on .tp-astro-3d * { overflow: visible !important; clip-path: none !important; }
/* "Hi! Scroll down" while he waves */
.tp-astro-say { position: fixed; left: 0; top: 0; z-index: 40; pointer-events: none; display: flex; align-items: center; gap: 9px;
  padding: 9px 15px; border-radius: 999px; white-space: nowrap; color: #fff; font: 500 13px/1 "nunito sans", nunito-sans, sans-serif; letter-spacing: .03em;
  background: rgba(14,14,16,.55); border: 1px solid rgba(255,255,255,.22); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,.35); opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s linear .35s; }
.tp-astro-say.is-on { opacity: 1; visibility: visible; transition: opacity .35s ease; }
.tp-astro-say i { width: 7px; height: 7px; border-right: 1.5px solid #ff8a3c; border-bottom: 1.5px solid #ff8a3c; transform: translateY(-2px) rotate(45deg); animation: tp-say-bob 1s ease-in-out infinite; }
@keyframes tp-say-bob { 50% { transform: translateY(2px) rotate(45deg); } }
@media (prefers-reduced-motion: reduce) { .tp-astro-say { display: none; } }
/* Hero: no perspective grid lines (desktop + mobile) */
#comp-m8rrcucb14, #comp-m8m0n1ca9, #comp-m8m0n1bw { display: none !important; } /* + the dark ticker text on tablet */
/* Hero: no orange rectangles around the astronaut (desktop, then mobile/tablet) */
#comp-m8rrcuc29, #comp-m8rrcuc512, #comp-m8rrcuc82, #comp-m8rrcuc911, #comp-m8rrcuca11,
#comp-m8m0n1bu6, #comp-m8m0n1c02, #comp-m8m0n1c62, #comp-m8m0n1c716, #comp-m8m0n1c821 { display: none !important; }

/* Particle galaxy canvas (assets/js/galaxy3d.js) */
.tp-galaxy3d { position: absolute; inset: 0; display: block; width: 100% !important; height: 100% !important; opacity: 0; transition: opacity 1.2s ease; }
.tp-galaxy.is-on .tp-galaxy3d { opacity: 1; }

/* Project card zoom (leaving the home page) and arrival on the project page */
.tp-zoom-cover { position: fixed; inset: 0; z-index: 2147483000; background: #050505; opacity: 0; pointer-events: none; }
html.tp-zooming, html.tp-zooming body { cursor: progress; }
html.tp-zoom-in body::after { content: ""; position: fixed; inset: 0; z-index: 2147483000; background: #050505; pointer-events: none; opacity: 1; transform: scale(1); }
html.tp-zoom-in.tp-zoom-out body::after { opacity: 0; transition: opacity 1.1s cubic-bezier(.2,.7,.2,1); }

/* Interactive astronaut */
.tp-astro-3d { cursor: grab; touch-action: pan-y; }
.tp-astro-3d:active { cursor: grabbing; }
.tp-astro-bubble { position: fixed; z-index: 60; max-width: 220px; padding: 10px 14px; border-radius: 14px 14px 14px 4px;
  background: rgba(12, 10, 14, .82); color: #fff; font: 500 13px/1.4 system-ui, -apple-system, sans-serif;
  border: 1px solid rgba(255, 180, 120, .35); box-shadow: 0 10px 30px rgba(0,0,0,.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; transform: translateY(8px) scale(.96); transition: opacity .35s ease, transform .35s ease; pointer-events: none; }
.tp-astro-bubble.is-on { opacity: 1; transform: none; }

/* Astronaut moods: floating emoji + trippy colour shift */
.tp-emote { position: fixed; z-index: 61; font-size: 26px; line-height: 1; pointer-events: none; opacity: 0;
  animation: tp-emote 2.2s cubic-bezier(.2,.7,.3,1) forwards; filter: drop-shadow(0 4px 10px rgba(0,0,0,.5)); }
@keyframes tp-emote {
  0% { opacity: 0; transform: translate(-50%, 0) scale(.4) rotate(0deg); }
  15% { opacity: 1; transform: translate(calc(-50% + var(--dx) * .15), -20px) scale(1.15) rotate(calc(var(--rot) * .3)); }
  100% { opacity: 0; transform: translate(calc(-50% + var(--dx)), -150px) scale(.9) rotate(var(--rot)); }
}
.tp-astro3d.is-trippy { animation: tp-trippy 1.1s linear infinite; }
@keyframes tp-trippy { 0% { filter: hue-rotate(0deg) saturate(1.8); } 50% { filter: hue-rotate(180deg) saturate(2.4) drop-shadow(0 0 18px #ff4fd8); } 100% { filter: hue-rotate(360deg) saturate(1.8); } }
@media (prefers-reduced-motion: reduce) { .tp-emote { display: none; } .tp-astro3d.is-trippy { animation: none; } }

/* Foreground dust (assets/js/realgalaxy.js): drifts in front of the astronaut */
.tp-fgdust { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; height: 100lvh; z-index: 45; pointer-events: none; mix-blend-mode: screen; opacity: 0; transition: opacity .8s ease; }
.tp-fgdust.is-on { opacity: .85; }
@media (prefers-reduced-motion: reduce) { .tp-fgdust { display: none; } }

/* ---- Spaceship + in-page trip to About (assets/js/ship3d.js, assets/js/travel.js) ---- */
.tp-ship { position: fixed; inset: 0; width: 100vw !important; height: 100vh !important; z-index: 35; pointer-events: none; }
.tp-ship.tp-ship-about { z-index: 5; }
html.tp-ship-hover, html.tp-ship-hover body { cursor: grab; }
html.tp-ship-drag, html.tp-ship-drag body { cursor: grabbing; user-select: none; }
.tp-about-layer { position: fixed; inset: 0; z-index: 30; perspective: 1200px; perspective-origin: 50% 50%; visibility: hidden; pointer-events: none; }
.tp-about-layer.is-live { pointer-events: auto; }
.tp-about-frame { display: block; width: 100%; height: 100%; border: 0; background: transparent; color-scheme: normal; transform-origin: 50% 50%; will-change: transform; }
.tp-about-back { position: fixed; left: 24px; bottom: 24px; z-index: 60; padding: 12px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25);
  background: rgba(10,9,12,.7); color: #fff; font: 500 13px/1 system-ui, -apple-system, sans-serif; letter-spacing: .04em; cursor: pointer;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transform: translateY(200%); visibility: hidden; transition: transform .5s cubic-bezier(.2,.7,.2,1), visibility 0s .5s; }
.tp-about-back.is-on { transform: none; visibility: visible; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.tp-about-back:hover { border-color: rgba(255,150,70,.7); }
html.tp-about-open .tp-fgdust { z-index: 32; }
/* About page: galaxy behind (standalone) or transparent inside the home page (embed) */
html.tp-galaxy-bg #comp-m8wpgz84, html.tp-galaxy-bg #comp-m8wpgz84 * { background: transparent !important; }
html.tp-embed, html.tp-embed body { background: transparent !important; overscroll-behavior: contain; }
html.tp-embed .wixui-page, html.tp-embed #SITE_CONTAINER { background: transparent !important; }
html.tp-embed #SITE_HEADER, html.tp-embed header { display: none !important; }
html.tp-embed #SITE_CONTAINER { padding-top: var(--tp-hdr, 80px); }
@media (max-width: 750px) { html.tp-embed #SITE_CONTAINER { padding-bottom: 76px; } } /* clear of "Back to orbit" */
/* "Click to know me" sits below the ship */
#comp-m95qald8 { transform: translateY(clamp(70px, 14vw, 170px)); }
@media (max-width: 750px) { #comp-m95qald8 { transform: translateY(64px); } }
/* About text stays readable over the galaxy */
html.tp-galaxy-bg #SITE_PAGES h1, html.tp-galaxy-bg #SITE_PAGES h2, html.tp-galaxy-bg #SITE_PAGES h3, html.tp-galaxy-bg #SITE_PAGES p { text-shadow: 0 1px 2px rgba(0,0,0,.85), 0 0 22px rgba(0,0,0,.6); }
/* "Click to know me" and the case-study "Explore" buttons: same outlined style as the About page buttons */
#comp-m95qald8 { width: auto !important; min-width: 0 !important; justify-self: center; }
#comp-m95qald8 a.wixui-button, html.tp-stage-on .tp-orbit-card a.wixui-button[aria-label="Explore"] {
  width: auto !important; min-width: 0 !important; height: auto !important; padding: 11px 30px !important; border-radius: 0 !important; white-space: nowrap;
  background: transparent !important; border: 2px solid #fff !important; box-shadow: none !important;
  transition: background-color .4s, border-color .4s !important; }
#comp-m95qald8 a.wixui-button span, html.tp-stage-on .tp-orbit-card a.wixui-button[aria-label="Explore"] span {
  color: #fff !important; font: 400 17px/1.6 "nunito sans", nunito-sans, sans-serif !important; letter-spacing: normal !important; white-space: nowrap; transition: color .4s; }
#comp-m95qald8 a.wixui-button:hover, #comp-m95qald8 a.wixui-button:focus-visible,
html.tp-stage-on .tp-orbit-card a.wixui-button[aria-label="Explore"]:hover, html.tp-stage-on .tp-orbit-card a.wixui-button[aria-label="Explore"]:focus-visible { background: #fff !important; }
#comp-m95qald8 a.wixui-button:hover span, #comp-m95qald8 a.wixui-button:focus-visible span,
html.tp-stage-on .tp-orbit-card a.wixui-button[aria-label="Explore"]:hover span, html.tp-stage-on .tp-orbit-card a.wixui-button[aria-label="Explore"]:focus-visible span { color: #050505 !important; }
@media (max-width: 750px) {
  /* Phones: compact buttons */
  #comp-m95qald8, #comp-m95qald8 a.wixui-button, html.tp-stage-on .tp-orbit-card [class*="lIkFMb"] { height: auto !important; min-height: 0 !important; align-self: center !important; }
  #comp-m95qald8 a.wixui-button, html.tp-stage-on .tp-orbit-card a.wixui-button[aria-label="Explore"] { padding: 6px 16px !important; min-height: 0 !important; border-width: 1.5px !important; }
  #comp-m95qald8 a.wixui-button span, html.tp-stage-on .tp-orbit-card a.wixui-button[aria-label="Explore"] span { font-size: 14px !important; line-height: 1.6 !important; }
  /* Case-study cards: even inner padding, content fills the card */
  #comp-m4jjn9vg2, #comp-m8rqa08e4, #comp-m8liod5h3, #comp-m961idgy2 { padding: 34px 22px 24px !important; }
  #comp-m4jjn9vg2 > :not(.inner-box):not(.tp-case-tag), #comp-m8rqa08e4 > :not(.inner-box):not(.tp-case-tag),
  #comp-m8liod5h3 > :not(.inner-box):not(.tp-case-tag), #comp-m961idgy2 > :not(.inner-box):not(.tp-case-tag) { margin-left: 0 !important; margin-right: 0 !important; max-width: 100%; }
  .tp-orbit-card .wixui-rich-text { width: 100% !important; }
  .tp-orbit-card .wixui-image, .tp-orbit-card .wixui-image > a, .tp-orbit-card .wixui-image > a > div, .tp-orbit-card .wixui-image img { width: 100% !important; }
  .tp-orbit-card .wixui-image { border-radius: 12px; overflow: hidden; }
  .tp-orbit-card [class*="lIkFMb"] { width: auto !important; margin-top: 8px !important; }
  .tp-case-tag { left: 22px !important; }
}
/* About copy: breathing room between paragraphs */
html.tp-galaxy-bg #SITE_PAGES p.font_8 + p.font_8 { margin-top: .75em; }
html.tp-galaxy-bg:not(.tp-embed) header { background: #050505; }
/* Footer over the galaxy (home + About): transparent, white type, icons and rule */
html.tp-galaxy-on footer, html.tp-galaxy-bg footer { background: transparent !important; }
html.tp-galaxy-on footer [id^="bgLayers_"] *, html.tp-galaxy-bg footer [id^="bgLayers_"] * { background-color: transparent !important; }
html.tp-galaxy-on footer .wixui-rich-text__text, html.tp-galaxy-bg footer .wixui-rich-text__text { color: #fff !important; }
html.tp-galaxy-on footer p.font_9, html.tp-galaxy-bg footer p.font_9 { opacity: .75; }
html.tp-galaxy-on footer img, html.tp-galaxy-bg footer img { filter: brightness(0) invert(1); opacity: .9; transition: opacity .2s ease; }
html.tp-galaxy-on footer a:hover img, html.tp-galaxy-bg footer a:hover img { opacity: 1; filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(255,140,60,.6)); }
html.tp-galaxy-on footer .EU_s7i, html.tp-galaxy-bg footer .EU_s7i { border-top-color: rgba(255,255,255,.28) !important; }

/* Orbiting Works intro */
.tp-stage-intro { max-width: 640px; margin: 26px auto 0; font: 400 clamp(15px, 1.25vw, 18px)/1.65 'Nunito Sans', system-ui, -apple-system, sans-serif;
  color: rgba(255,255,255,.82); text-shadow: 0 1px 3px rgba(0,0,0,.9), 0 0 24px rgba(0,0,0,.7); letter-spacing: .005em; }
@media (max-width: 750px) { .tp-stage-intro { margin-top: 18px; font-size: 14.5px; } }
/* About portrait: fade its hard bottom edge into the galaxy */
#comp-m8rueye4 img { -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 99%); mask-image: linear-gradient(to bottom, #000 78%, transparent 99%); }

/* Orbiting Works intro on glass */
.tp-intro-card { max-width: 720px; margin: 0 auto; padding: clamp(26px, 3vw, 44px) clamp(22px, 3.2vw, 48px); border-radius: 28px; text-align: center;
  background: linear-gradient(155deg, rgba(40,34,30,.62), rgba(10,9,12,.72) 45%, rgba(6,6,8,.8));
  border: 1px solid rgba(255,255,255,.14); box-shadow: 0 40px 120px -30px rgba(0,0,0,.85), inset 0 1px 0 rgba(255,255,255,.12);
  -webkit-backdrop-filter: blur(14px) saturate(1.1); backdrop-filter: blur(14px) saturate(1.1); }
.tp-intro-eyebrow { margin: 0 0 14px; font: 500 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .32em; text-transform: uppercase; color: #ff8a3c; }
.tp-intro-card .tp-stage-intro { margin: 0; color: rgba(255,255,255,.9); text-shadow: none; }
.tp-intro-card .tp-stage-hint { margin-top: 22px; }
/* Case study label on each project */
.tp-case-tag { position: absolute; top: -13px; left: clamp(20px, 3vw, 34px); z-index: 2; padding: 6px 12px; border-radius: 999px; pointer-events: none;
  background: #ff7a2e; color: #fff; font: 600 10.5px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .2em; text-transform: uppercase;
  box-shadow: 0 6px 20px rgba(255,110,40,.35); }

/* ---- Recent Projects (assets/js/recent.js) ---- */
.tp-recent { grid-area: 6 / 1 / 7 / 2; position: relative; pointer-events: auto; padding: clamp(80px, 12vh, 160px) clamp(16px, 5vw, 64px) clamp(60px, 10vh, 120px); color: #fff; }
.tp-recent-head { max-width: 1100px; margin: 0 auto clamp(32px, 5vh, 56px); }
.tp-recent-eyebrow { margin: 0 0 12px; font: 500 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .32em; text-transform: uppercase; color: #ff8a3c; }
.tp-recent-title { margin: 0; font: 400 clamp(34px, 4.6vw, 64px)/1.02 'madefor-display-extrabold', 'Helvetica Neue', Arial, sans-serif; letter-spacing: -.02em; text-shadow: 0 2px 30px rgba(0,0,0,.6); }
.tp-recent-sub { margin: 14px 0 0; color: rgba(255,255,255,.72); font: 400 clamp(15px, 1.2vw, 18px)/1.5 'Nunito Sans', system-ui, sans-serif; }
.tp-recent-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(16px, 2vw, 26px); perspective: 1400px; }
.tp-recent-card { grid-column: span 2; display: flex; flex-direction: column; color: inherit; text-decoration: none; border-radius: 22px; overflow: hidden;
  background: linear-gradient(155deg, rgba(40,34,30,.62), rgba(10,9,12,.76) 45%, rgba(6,6,8,.86)); border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 30px 90px -30px rgba(0,0,0,.85), inset 0 1px 0 rgba(255,255,255,.1); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d;
  transition: transform .5s cubic-bezier(.2,.7,.2,1), opacity .9s cubic-bezier(.2,.7,.2,1), translate .9s cubic-bezier(.2,.7,.2,1), border-color .3s ease, box-shadow .3s ease; }
.tp-recent-card.is-featured { grid-column: span 3; }
.tp-recent-card.tp-pre { opacity: 0; translate: 0 70px; }
.tp-recent-card:hover, .tp-recent-card:focus-visible { border-color: rgba(255,140,60,.55); box-shadow: 0 40px 110px -30px rgba(0,0,0,.9), 0 0 60px -20px rgba(255,120,40,.4); outline: none; }
.tp-recent-shot { position: relative; background: #0b0b0d; }
.tp-recent-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: rgba(255,255,255,.05); border-bottom: 1px solid rgba(255,255,255,.07); }
.tp-recent-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.22); }
.tp-recent-bar span { margin-left: 8px; font: 500 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: rgba(255,255,255,.5); letter-spacing: .04em; }
.tp-recent-shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.tp-recent-card:hover .tp-recent-shot img { transform: scale(1.04); }
.tp-recent-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.tp-recent-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tp-recent-body h3 { margin: 0; font: 600 clamp(18px, 1.5vw, 22px)/1.2 'Poppins', 'Nunito Sans', system-ui, sans-serif; color: #fff; }
.tp-recent-role { padding: 5px 10px; border-radius: 999px; background: rgba(255,122,46,.16); border: 1px solid rgba(255,122,46,.55); color: #ffb07a;
  font: 600 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .18em; text-transform: uppercase; }
.tp-recent-body p { margin: 0; color: rgba(255,255,255,.72); font: 400 15px/1.55 'Nunito Sans', system-ui, sans-serif; }
.tp-recent-visit { margin-top: auto; padding-top: 6px; font: 500 13px/1 'Nunito Sans', system-ui, sans-serif; color: rgba(255,255,255,.6); transition: color .25s ease; }
.tp-recent-card:hover .tp-recent-visit { color: #ff8a3c; }
@media (max-width: 900px) { .tp-recent-card, .tp-recent-card.is-featured { grid-column: span 3; } }
@media (max-width: 620px) { .tp-recent-grid { grid-template-columns: 1fr; } .tp-recent-card, .tp-recent-card.is-featured { grid-column: auto; } }
@media (prefers-reduced-motion: reduce) { .tp-recent-card { transform: none; } }

/* ---- Mission Log spacer: open space after the hero where the ship cruises in ---- */
.tp-mission { grid-area: 5 / 1 / 6 / 2; position: relative; min-height: 80vh; pointer-events: none; }
@media (max-width: 750px) { .tp-mission { min-height: 70vh; } }
.tp-mission-now { margin: 22px 0; padding: 16px 18px 16px 20px; border-radius: 4px 14px 14px 4px; position: relative;
  background: linear-gradient(90deg, rgba(255,122,46,.14), rgba(255,122,46,.03) 70%); border: 1px solid rgba(255,122,46,.28); border-left: 2px solid #ff7a2e;
  font: 700 clamp(16px, 1.3vw, 19px)/1.5 'Nunito Sans', system-ui, sans-serif; color: #fff; box-shadow: inset 0 0 24px rgba(255,122,46,.06); }
.tp-mission-label { display: block; margin-bottom: 8px; font: 600 10.5px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .26em; text-transform: uppercase; color: #ff8a3c; }
.tp-mission-now mark { background: linear-gradient(transparent 58%, rgba(255,122,46,.55) 58%); color: #ffb37a; padding: 0 .1em; }

/* ---- Hero panel: intro + Mission Log on futuristic glass ---- */
.tp-hero-box { height: auto !important; min-height: 0 !important; background: none !important; overflow: visible !important; }
.tp-hero-box > .inner-box { display: none !important; }
/* Desktop hero: the panel sits right of the astronaut, vertically centred (the hero scales with vw) */
#comp-m8rrcucc18.tp-hero-box { padding: 0 !important; margin: 0 0 0 35vw !important; justify-self: start !important; align-self: center !important;
  width: min(47vw, 700px) !important; }
#comp-m8rrcucc18 .tp-hero-card { width: 100%; }
.tp-hero-card { position: relative; box-sizing: border-box; width: min(600px, 100%); margin-left: auto; color: #fff; text-align: left;
  padding: clamp(26px, 2.6vw, 38px) clamp(24px, 2.8vw, 40px) clamp(22px, 2.2vw, 30px); border-radius: 22px; isolation: isolate; overflow: hidden;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(255,122,46,.16), transparent 55%),
    radial-gradient(90% 70% at 0% 100%, rgba(110,150,255,.12), transparent 60%),
    linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.02) 40%, rgba(10,10,16,.35));
  -webkit-backdrop-filter: blur(18px) saturate(1.35); backdrop-filter: blur(18px) saturate(1.35);
  box-shadow: 0 30px 90px -20px rgba(0,0,0,.75), 0 0 0 1px rgba(255,255,255,.06), inset 0 1px 0 rgba(255,255,255,.18), inset 0 -1px 0 rgba(255,255,255,.04); }
/* gradient hairline border */
.tp-hero-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: -1;
  background: linear-gradient(135deg, rgba(255,150,80,.85), rgba(255,255,255,.12) 30%, rgba(255,255,255,.04) 60%, rgba(120,160,255,.6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
/* HUD corner brackets + fine scanlines + a slow light sweep */
.tp-hero-card::after { content: ""; position: absolute; inset: 10px; pointer-events: none; z-index: -1; border-radius: 14px;
  background:
    linear-gradient(#ff8a3c, #ff8a3c) top left / 18px 1.5px no-repeat, linear-gradient(#ff8a3c, #ff8a3c) top left / 1.5px 18px no-repeat,
    linear-gradient(#ff8a3c, #ff8a3c) bottom right / 18px 1.5px no-repeat, linear-gradient(#ff8a3c, #ff8a3c) bottom right / 1.5px 18px no-repeat,
    linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,.5)) top right / 10px 1px no-repeat, linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,.5)) bottom left / 10px 1px no-repeat,
    repeating-linear-gradient(0deg, rgba(255,255,255,.022) 0 1px, transparent 1px 4px); opacity: .9; }
.tp-hero-card > * { position: relative; }
.tp-hero-card { --sweep: -60%; }
.tp-hero-card .tp-hero-eyebrow::after { content: ""; position: absolute; top: -60px; bottom: -900px; left: var(--sweep); width: 40%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.06), transparent); transform: skewX(-18deg); animation: tp-sweep 7s ease-in-out 1.2s infinite; }
@keyframes tp-sweep { 0% { left: -60%; } 45%, 100% { left: 140%; } }
.tp-hero-eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font: 600 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .28em; text-transform: uppercase; color: rgba(255,255,255,.72); }
.tp-hero-eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: #ff6a2b; box-shadow: 0 0 10px #ff6a2b, 0 0 2px #fff inset; animation: tp-blink 1.6s ease-in-out infinite; flex: none; }
.tp-hero-title { margin: 0 0 14px; font: 400 clamp(40px, 3.9vw, 58px)/1.04 'madefor-display-extrabold', 'Helvetica Neue', Arial, sans-serif; letter-spacing: -.02em; color: #fff;
  text-shadow: 0 0 40px rgba(255,140,80,.18); }
.tp-hero-text { margin: 0; font: 400 clamp(16px, 1.2vw, 18px)/1.65 'Nunito Sans', system-ui, sans-serif; color: rgba(255,255,255,.86); }
.tp-hero-end { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin: 0;
  font: 400 15px/1.5 'Nunito Sans', system-ui, sans-serif; color: rgba(255,255,255,.66); }
.tp-hero-coord { font: 500 10.5px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .2em; color: rgba(255,255,255,.4); }
@media (max-width: 760px) {
  .tp-hero-card { width: 100%; padding: 22px 20px 18px; border-radius: 18px; }
  .tp-hero-title { font-size: 34px; margin-bottom: 10px; }
  .tp-hero-text { font-size: 15.5px; line-height: 1.6; }
  .tp-mission-now { margin: 16px 0; padding: 13px 14px 13px 16px; font-size: 15.5px; }
  .tp-hero-eyebrow { font-size: 10px; letter-spacing: .22em; margin-bottom: 12px; }
  .tp-hero-end { font-size: 14px; }
  .tp-hero-coord { display: none; }
}
@media (prefers-reduced-motion: reduce) { .tp-hero-card .tp-hero-eyebrow::after { animation: none; display: none; } }
/* Case studies title in the 3D flight */
.tp-stage-title .tp-cs-title { font-size: clamp(44px, 7vw, 110px); margin: 0; }
.tp-stage-title .tp-recent-eyebrow { margin-bottom: 14px; }
/* About Me: only the ship (no grid lines) */
#comp-lx9xq2jq, #comp-lx9xq2wt, #comp-lx9xq3dg, #comp-lx9xq33l, #comp-lx9xq3mr, #comp-lx9xq3tq, #comp-lx9xq438, #img_comp-lwp7g0o4 { display: none !important; }
