/* =============================================================================
   ZYZY — personal site
   -----------------------------------------------------------------------------
   Sections:
     1  Design tokens (colours, type, spacing)  ← change colours HERE
     2  Reset & base
     3  Utilities (wrap, kicker, reveal, divider)
     4  Intro curtain
     5  Header / navigation
     6  Hero
     7  About
     8  Projects (the archive)
     9  Currently
    10  Contact
    11  Footer
    12  Cursor dot · status badge · leopard accents
    13  No-JS fallback
    14  Reduced motion & responsive
   ========================================================================== */

/* 1 ── DESIGN TOKENS ───────────────────────────────────────────────────────── */
:root {
  /* --- colour: black ground · pink-leopard cyber -------------------------- */
  --porcelain: #060606;   /* page background — black                          */
  --shell:     #0E0D0E;   /* very soft raised surface                         */
  --blush:     #1E1519;   /* blush wash (project hover)                       */
  --petal:     #6E2E4E;   /* pink — selection                                 */
  --rose:      #E88DB2;   /* soft pink — accents, cursor                      */
  --clay:      #FF7ABF;   /* bright pink — links, arrows, hover, spot rings   */
  --ink:       #F2E9EC;   /* near-white — primary text                        */
  --cocoa:     #B8A7AE;   /* muted mauve-grey — secondary text                */
  --line:      #241E21;   /* hairlines                                        */
  --spot:      #CE84A6;   /* leopard mark                                     */
  --ok:        #6FCF97;   /* semantic "secure" green (not an accent)          */

  /* hero leopard-print canvas (HackDev-style) */
  --hero-ground:   #B83C6A;
  --hero-ground-2: #551B3E;
  --hero-spot:     #170811;

  /* --- type --------------------------------------------------------------- */
  /* one pixel face for every title + label, one mono face for explanation text */
  --font-pixel:   "Silkscreen", "Pixelify Sans", "Space Mono", ui-monospace, monospace;
  --font-display: var(--font-pixel);   /* big titles              */
  --font-mono:    var(--font-pixel);   /* small labels / microcopy */
  --font-body:    "Space Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;   /* sentences */

  --fs-hero:    clamp(3rem, 1.6rem + 8vw, 7.5rem);
  --fs-h2:      clamp(2rem, 1.3rem + 3.2vw, 3.6rem);
  --fs-project: clamp(1.7rem, 1.25rem + 2.4vw, 3rem);
  --fs-contact: clamp(2.1rem, 1.2rem + 5vw, 5rem);
  --fs-lead:    clamp(1.1rem, 1rem + 0.55vw, 1.4rem);
  --fs-body:    clamp(1rem, 0.96rem + 0.2vw, 1.13rem);
  --fs-mono:    0.72rem;

  /* --- spacing ---------------------------------------------------------------- */
  --pad-x: clamp(1.5rem, 5vw, 7rem);
  --section-y: clamp(5rem, 3.5rem + 9vh, 9rem);
  --maxw: 1180px;
  --measure: 60ch;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: dark;
}

/* 2 ── RESET & BASE ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--porcelain);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.intro-active { overflow: hidden; height: 100vh; }

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--petal); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 500;
  background: var(--ink);
  color: var(--porcelain);
  padding: 0.7rem 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

:where(#about, #projects, #currently, #contact) { scroll-margin-top: 5rem; }

/* the skip link lands here — keep the tab order without a full-page outline */
#main:focus { outline: none; }

/* 3 ── UTILITIES ───────────────────────────────────────────────────────────── */
.wrap { max-width: var(--maxw); margin-inline: auto; }

.section { padding: var(--section-y) var(--pad-x); position: relative; }

.kicker {
  font-family: var(--font-pixel);
  font-weight: 400;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: var(--cocoa);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}
.kicker::before {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: var(--clay);
  flex: none;
}

.section__head {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.3rem, 0.95rem + 2.3vw, 2.5rem);
  line-height: 1.35;
  letter-spacing: 0;
  color: var(--ink);
  margin-bottom: clamp(2rem, 5vh, 3.5rem);
  text-wrap: balance;
}

/* scroll-reveal — JS adds .in; also forced visible without JS / reduced motion */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(var(--i, 0) * 0.07s);
}
.reveal.in { opacity: 1; transform: none; }

.divider {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-inline: var(--pad-x);
}
.divider::before, .divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.divider .leo { width: 20px; height: 20px; color: var(--spot); opacity: 0.5; }

/* 4 ── INTRO CURTAIN ───────────────────────────────────────────────────────── */
#intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #050505;
  display: grid;
  place-items: center;
  overflow: hidden;
  transition: transform 0.95s cubic-bezier(0.76, 0, 0.24, 1);
}
#intro.is-leaving { transform: translateY(-101%); }
#intro.is-done { display: none; }

.intro__inner {
  display: grid;
  place-items: center;
  padding: 1.25rem;
  max-height: 92vh;
}
/* col + payoff share one cell so the payoff is centred when it cross-fades in */
.intro__inner > * { grid-area: 1 / 1; }

.intro__col {
  font-family: var(--font-pixel);
  font-weight: 700;
  font-size: clamp(0.72rem, 2.1vh, 1.35rem);
  line-height: 1.5;
  letter-spacing: 0;
  color: #F3E9EC;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.intro__col .word { display: flex; flex-direction: column; align-items: center; }
.intro__col .gap { height: clamp(0.45rem, 1.5vh, 1.1rem); }
.intro__col .ltr {
  display: block;
  opacity: 0;
  transform: translateY(12px);
  filter: blur(6px);
  will-change: transform, opacity, filter;
}
.intro__col.run .ltr {
  animation: introLtr 0.85s var(--ease) both;
  animation-delay: var(--d, 0s);
}
@keyframes introLtr {
  0%   { opacity: 0; transform: translateY(12px); filter: blur(6px); }
  60%  { opacity: 1; filter: blur(0); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.intro__col .caret {
  display: block;
  width: 0.5em;
  height: 0.9em;
  margin-top: 0.5rem;
  background: #FF3DAF;
  opacity: 0;
}
.intro__col .caret.blink { animation: caretblink 1.05s ease-in-out infinite; }
@keyframes caretblink { 0%, 100% { opacity: 0.15; } 50% { opacity: 1; } }

.intro__payoff {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.6rem, 7vw, 3.4rem);
  color: var(--ink);
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  filter: blur(8px);
  transition: opacity 0.9s ease, transform 0.9s var(--ease), filter 0.9s ease;
}
.intro__payoff.show { opacity: 1; transform: none; filter: blur(0); }

.intro__meta {
  position: absolute;
  bottom: 1.6rem;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(240, 226, 231, 0.5);
}
.intro__skip {
  position: absolute;
  top: 1.3rem;
  right: 1.3rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(240, 226, 231, 0.62);
  padding: 0.6rem;
  opacity: 0;
  transition: opacity 0.4s, color 0.25s;
}
.intro__skip.show { opacity: 1; }
.intro__skip:hover, .intro__skip:focus-visible { color: #FF6FC0; }

/* 5 ── HEADER / NAV ────────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 120;
  padding: clamp(1rem, 2.4vh, 1.55rem) var(--pad-x);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.8s ease, transform 0.8s var(--ease),
              padding 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent);
  transition: opacity 0.3s ease;
}
.site-header.scrolled::before { opacity: 0; }
body.intro-done .site-header { opacity: 1; transform: none; }

.site-header.scrolled {
  padding: 0.7rem var(--pad-x);
  background: color-mix(in srgb, var(--porcelain) 82%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  font-family: var(--font-pixel);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  color: #F7EEF2;
  text-decoration: none;
}

.site-nav { display: flex; gap: clamp(1rem, 3vw, 2rem); }
.site-nav a {
  position: relative;
  font-family: var(--font-pixel);
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0;
  text-transform: lowercase;
  color: rgba(247, 238, 242, 0.66);
  text-decoration: none;
  padding: 0.3rem 0;
  transition: color 0.25s;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--clay);
  transition: right 0.35s var(--ease);
}
.site-nav a:hover, .site-nav a:focus-visible, .site-nav a.is-current { color: var(--ink); }
.site-nav a:hover::after, .site-nav a:focus-visible::after, .site-nav a.is-current::after { right: 0; }

/* 6 ── HERO (glitch wordmark over a drifting pixel leopard print) ─────────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: calc(var(--section-y) + 3rem) var(--pad-x) calc(var(--section-y) + 4rem);
  overflow: hidden;
  isolation: isolate;
  background: #060606;
}
@media (max-height: 620px) { .hero { min-height: 0; } }

.hero__leo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  image-rendering: pixelated;
}
.hero__crt {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.34) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse 62% 42% at 50% 47%, rgba(6, 3, 6, 0.66) 0%, transparent 72%),
    radial-gradient(ellipse at 50% 44%, transparent 30%, rgba(4, 2, 4, 0.8) 100%);
  animation: crt-flicker 6s steps(2, end) infinite;
}
@keyframes crt-flicker { 0%, 100% { opacity: 0.92; } 48% { opacity: 1; } 91% { opacity: 0.84; } 93% { opacity: 1; } }

.hero__inner {
  position: relative;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1s ease, transform 1s var(--ease);
}
.hero__inner::before {
  content: "";
  position: absolute;
  inset: -60% -22%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(6, 3, 6, 0.78) 0%, rgba(6, 3, 6, 0.35) 45%, transparent 72%);
}
body.intro-done .hero__inner { opacity: 1; transform: none; }

.hero__title {
  position: relative;
  display: inline-block;
  font-family: var(--font-pixel);
  font-weight: 700;
  font-size: clamp(2.6rem, 14vw, 9.5rem);
  line-height: 1;
  letter-spacing: 0;
  color: #FFF4FA;
  text-shadow:
    0 0 2px rgba(255, 255, 255, 0.5),
    0 0 26px rgba(255, 61, 175, 0.5),
    0 0 62px rgba(255, 61, 175, 0.28);
  animation: glitch-jump 5.5s steps(1, end) infinite;
}
.hero__title::before,
.hero__title::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  text-shadow: none;
  opacity: 0.9;
  clip-path: inset(50% 0 50% 0);   /* hidden at rest — flashes slivers */
}
.hero__title::before {
  color: #FF3DAF;
  animation: glitch-a 3.4s steps(1, end) infinite;
}
.hero__title::after {
  color: #7B5CFF;
  animation: glitch-b 4.1s steps(1, end) infinite;
}
.hero__title:focus { outline: none; }
@keyframes glitch-jump {
  0%, 92%, 100% { transform: none; }
  93% { transform: translateX(-3px) skewX(-2deg); }
  95% { transform: translateX(4px); }
  97% { transform: translateX(-2px) skewX(1.5deg); }
}
@keyframes glitch-a {
  0%, 6%, 100%   { clip-path: inset(50% 0 50% 0); transform: translate(0, 0); }
  7%, 9%   { clip-path: inset(16% 0 68% 0); transform: translate(-4px, 0); }
  40%, 43% { clip-path: inset(70% 0 12% 0); transform: translate(4px, 0); }
  44%      { clip-path: inset(50% 0 50% 0); }
  74%, 77% { clip-path: inset(38% 0 46% 0); transform: translate(-3px, 0); }
  78%      { clip-path: inset(50% 0 50% 0); }
}
@keyframes glitch-b {
  0%, 10%, 100% { clip-path: inset(50% 0 50% 0); transform: translate(0, 0); }
  11%, 13% { clip-path: inset(62% 0 20% 0); transform: translate(4px, 0); }
  14%      { clip-path: inset(50% 0 50% 0); }
  52%, 55% { clip-path: inset(22% 0 60% 0); transform: translate(-4px, 0); }
  56%      { clip-path: inset(50% 0 50% 0); }
  85%, 88% { clip-path: inset(48% 0 34% 0); transform: translate(3px, 0); }
}

.hero__sub {
  margin-top: clamp(0.9rem, 2.4vh, 1.9rem);
  font-family: var(--font-pixel);
  font-weight: 400;
  font-size: clamp(0.62rem, 0.56rem + 0.4vw, 0.82rem);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  text-indent: 0.42em;
  color: rgba(255, 173, 214, 0.72);
}

.hero__foot {
  position: absolute;
  left: var(--pad-x);
  right: var(--pad-x);
  bottom: clamp(1.6rem, 5vh, 3rem);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  text-align: left;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 1s ease 0.3s, transform 1s var(--ease) 0.3s;
}
body.intro-done .hero__foot { opacity: 1; transform: none; }

.hero__eyebrow {
  font-family: var(--font-pixel);
  font-weight: 400;
  font-size: 0.64rem;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  color: var(--clay);
  margin-bottom: 0.5rem;
}
.hero__tagline {
  font-family: var(--font-body);
  font-size: clamp(0.8rem, 0.78rem + 0.2vw, 0.94rem);
  line-height: 1.6;
  color: var(--cocoa);
  max-width: 42ch;
}
.hero__cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.1rem;
  font-family: var(--font-pixel);
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: lowercase;
  text-decoration: none;
  color: #120409;
  background: var(--clay);
  border-radius: 3px;
  transition: transform 0.25s var(--ease), background 0.25s ease;
}
.hero__cta span { transition: transform 0.25s var(--ease); }
.hero__cta:hover { background: #FF9AD0; transform: translateY(-2px); }
.hero__cta:hover span { transform: translateY(3px); }

@media (max-width: 620px) {
  .hero__foot { flex-direction: column; align-items: flex-start; }
}

/* 7 ── ABOUT ──────────────────────────────────────────────────────────────── */
.about__body {
  max-width: 60ch;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.about__body p {
  font-family: var(--font-body);
  font-size: clamp(0.92rem, 0.88rem + 0.25vw, 1.05rem);
  line-height: 1.85;
  color: var(--ink);
}

/* 8 ── PROJECTS (THE ARCHIVE) ──────────────────────────────────────────────── */
.projects__list { display: flex; flex-direction: column; }

.project {
  position: relative;
  padding: clamp(1.6rem, 4vh, 2.6rem) 0;
  border-top: 1px solid var(--line);
  transition: background-color 0.4s ease;
}
.projects__list .project:last-child { border-bottom: 1px solid var(--line); }
.project--muted { opacity: 0.5; }
.project.is-link:hover { background-color: color-mix(in srgb, var(--blush) 45%, transparent); }

.project__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-family: var(--font-pixel);
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  color: var(--cocoa);
}
.project__status { color: var(--clay); }

.project__name {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.2rem, 0.95rem + 1.4vw, 1.9rem);
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--ink);
  margin: 0.55rem 0 0.6rem;
  transition: color 0.3s ease, transform 0.4s var(--ease);
}
.project__name .leo {
  width: 15px;
  height: 15px;
  color: var(--spot);
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.4s ease, transform 0.4s var(--ease);
  flex: none;
}
.project.is-link:hover .project__name { color: var(--clay); transform: translateX(10px); }
.project.is-link:hover .project__name .leo { opacity: 1; transform: scale(1); }

.project__desc {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 0.87rem + 0.2vw, 1.02rem);
  line-height: 1.75;
  color: var(--cocoa);
  max-width: 56ch;
}
.project__tech {
  font-family: var(--font-pixel);
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-transform: lowercase;
  color: var(--cocoa);
  opacity: 0.9;
  margin-top: 0.9rem;
}
.project__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.1rem;
  font-family: var(--font-pixel);
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  color: var(--clay);
  text-decoration: none;
}
.project__cta .arrow { transition: transform 0.3s var(--ease); }
.project.is-link:hover .project__cta .arrow { transform: translateX(5px); }
/* stretched link: the whole row is clickable, but it stays a single real link */
.project.is-link .project__cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}
.project__cta--static { color: var(--cocoa); }

.project__media {
  position: absolute;
  right: 0;
  top: 50%;
  width: 220px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 2px;
  opacity: 0;
  transform: translateY(-50%) scale(0.96);
  transition: opacity 0.4s ease, transform 0.4s var(--ease);
  pointer-events: none;
  box-shadow: 0 24px 48px -24px rgba(60, 30, 20, 0.35);
}
.project__media img { width: 100%; height: 100%; object-fit: cover; }
.project.is-link:hover .project__media { opacity: 1; transform: translateY(-50%) scale(1); }

/* 9 ── CURRENTLY ───────────────────────────────────────────────────────────── */
.currently__list { border-top: 1px solid var(--line); }
.currently__row {
  display: grid;
  grid-template-columns: minmax(6rem, 11rem) 1fr;
  gap: 0.4rem 2rem;
  align-items: baseline;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}
.currently__row dt {
  font-family: var(--font-pixel);
  font-weight: 400;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: lowercase;
  color: var(--cocoa);
}
.currently__row dd {
  font-family: var(--font-body);
  font-size: clamp(0.98rem, 0.9rem + 0.5vw, 1.25rem);
  line-height: 1.5;
  color: var(--ink);
}

/* 10 ── CONTACT ────────────────────────────────────────────────────────────── */
.contact {
  padding-block: clamp(6rem, 14vh, 11rem);
  overflow: hidden;
}
.contact__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='170' height='170'%3E%3Cg fill='none' stroke='%23FF7ABF' stroke-width='6' stroke-linecap='round'%3E%3Ccircle cx='42' cy='40' r='14' stroke-dasharray='11 10'/%3E%3Ccircle cx='128' cy='96' r='16' stroke-dasharray='13 11'/%3E%3Ccircle cx='90' cy='143' r='11' stroke-dasharray='9 9'/%3E%3Ccircle cx='150' cy='24' r='8' stroke-dasharray='7 8'/%3E%3Ccircle cx='20' cy='118' r='9' stroke-dasharray='8 9'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 170px;
}
.contact > .wrap { position: relative; }
.contact__head {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.4rem, 1rem + 2.8vw, 2.9rem);
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--ink);
  max-width: 20ch;
  text-wrap: balance;
  margin-bottom: 2rem;
}
.contact__note {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 0.87rem + 0.2vw, 1.02rem);
  line-height: 1.8;
  color: var(--cocoa);
  max-width: 52ch;
  margin-bottom: 3rem;
}
.contact__links { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.contact__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.15rem, 0.95rem + 1.3vw, 1.85rem);
  letter-spacing: 0.01em;
  text-transform: lowercase;
  transition: color 0.3s ease, padding-left 0.3s var(--ease);
}
.contact__links a .arrow {
  font-family: var(--font-body);
  font-size: 0.7em;
  color: var(--clay);
  transition: transform 0.3s var(--ease);
}
.contact__links a:hover, .contact__links a:focus-visible { color: var(--clay); padding-left: 0.6rem; }
.contact__links a:hover .arrow, .contact__links a:focus-visible .arrow { transform: translate(4px, -4px); }

/* 11 ── FOOTER ─────────────────────────────────────────────────────────────── */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem 2rem;
  padding: 2.5rem var(--pad-x) 3rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-pixel);
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  color: var(--cocoa);
}
.site-footer a { color: var(--cocoa); text-decoration: none; transition: color 0.25s; }
.site-footer a:hover { color: var(--clay); }
.footer__sign { letter-spacing: 0.02em; opacity: 0.6; }

/* 12 ── CURSOR DOT · STATUS BADGE · LEOPARD ACCENTS ───────────────────────── */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--rose);
  opacity: 0;
  pointer-events: none;
  z-index: 300;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
  transition: width 0.28s ease, height 0.28s ease, opacity 0.28s ease,
              background 0.28s ease, border-color 0.28s ease;
}
.cursor-dot.active { opacity: 0.6; }
.cursor-dot.big {
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--clay);
  mix-blend-mode: normal;
}
@media (hover: none), (pointer: coarse) { .cursor-dot { display: none !important; } }

.status-badge {
  position: fixed;
  left: 1.4rem;
  bottom: 1.4rem;
  z-index: 110;
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-pixel);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  color: var(--cocoa);
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
}
body.intro-done .status-badge { opacity: 0.5; }
.status-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 40%, transparent); }
  50%      { opacity: 0.5; box-shadow: 0 0 0 5px color-mix(in srgb, var(--ok) 0%, transparent); }
}
@media (min-width: 1024px) { .status-badge { display: flex; } }

.leo { display: inline-block; }
.leo svg { width: 100%; height: 100%; display: block; fill: currentColor; }

.hero__spots .leo {
  position: absolute;
  color: var(--spot);
  animation: float var(--dur, 9s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50%      { transform: translate(3px, -10px) rotate(7deg); }
}

/* 12b ── INTRO · ACT 2 (dark digital-rain reveal) ────────────────────────── */
#cyber {
  position: absolute;
  inset: 0;
  background: #0C0A0B;
  opacity: 0;
  transition: opacity 0.5s ease;
}
#cyber.show { opacity: 1; }

.cyber__rain { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

.cyber__scan {
  position: absolute;
  left: 0; right: 0;
  top: -2px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(230, 133, 163, 0.5), transparent);
  animation: cyberScan 2.6s ease-in-out 0.6s 2;
}
@keyframes cyberScan {
  0%   { top: -2px;  opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { top: 100%;  opacity: 0; }
}

.cyber__name {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.08em;
  padding: 0 5vw;
  font-family: var(--font-pixel);
  font-weight: 700;
  font-size: clamp(2.8rem, 17vw, 12.5rem);
  line-height: 1;
  letter-spacing: 0;
  /* two-tone: pink -> neon purple, flowing across the word */
  background: linear-gradient(112deg, #FF7ABF 0%, #D06AD8 50%, #9A55F2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px rgba(255, 120, 195, 0.5);
  paint-order: stroke fill;
  opacity: 0;
  transition: opacity 0.35s ease, text-shadow 0.6s ease;
}
.cyber__name.show { opacity: 1; }
.cyber__name.locked {
  text-shadow:
    0 0 16px rgba(255, 122, 191, 0.55),
    0 0 38px rgba(154, 85, 242, 0.45),
    0 0 82px rgba(154, 85, 242, 0.22);
}
.cyber__ltr {
  display: inline-block;
  min-width: 0.6em;
  text-align: center;
  opacity: 0.3;
  transition: opacity 0.35s ease, transform 0.3s var(--ease);
}
.cyber__ltr.lock { opacity: 1; }
.cyber__caret {
  display: inline-block;
  margin-left: 0.04em;
  color: #FF7ABF;
  -webkit-text-fill-color: #FF7ABF;
  animation: caretblink 1.05s ease-in-out infinite;
}

/* 12d ── GLOBE / GOING GLOBAL ───────────────────────────────────────────── */
.globe__wrap {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
@media (min-width: 900px) { .globe__wrap { grid-template-columns: 1fr 1fr; } }

.globe__text p:not(.kicker) {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 0.87rem + 0.2vw, 1.02rem);
  line-height: 1.8;
  color: var(--ink);
  max-width: 50ch;
}
.globe__text .section__head { margin-bottom: 1.5rem; }

.globe__stage {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1 / 1;
  justify-self: center;
  overflow: visible;
}
.globe__stage::before {   /* soft dark halo so she reads — no frame */
  content: "";
  position: absolute;
  inset: -12%;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.2) 55%, transparent 75%);
}
.globe__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

.globe__lbl {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-pixel);
  font-weight: 400;
  font-size: 0.66rem;
  letter-spacing: 0.03em;
  text-transform: lowercase;
  color: rgba(226, 194, 201, 0.5);
}
.globe__lbl--tl { top: 2%; left: 0; }
.globe__lbl--tr { top: 2%; right: 0; }
.globe__lbl--bl { bottom: 2%; left: 0; }
.globe__lbl--br { bottom: 2%; right: 0; }
.globe__lbl i {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--ok);
  animation: pulse 2.6s ease-in-out infinite;
}

/* 12e ── CYBERPUNK ATMOSPHERE (scanlines + vignette) ────────────────────── */
main, .site-footer { position: relative; z-index: 1; }

#fx { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
#fx::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0 2px, rgba(255, 122, 191, 0.025) 2px 3px);
  mix-blend-mode: screen;
}
#fx::after {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(ellipse at 50% 38%, transparent 34%, rgba(0, 0, 0, 0.62) 100%);
}

/* 13 ── NO-JS FALLBACK ─────────────────────────────────────────────────────── */
.noscript-card {
  max-width: 640px;
  margin: 18vh auto;
  padding: 0 1.5rem;
}
.noscript-card h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.noscript-card h1 span { color: var(--cocoa); font-size: 0.5em; }
.noscript-card p { margin-bottom: 1rem; line-height: 1.8; color: var(--cocoa); }
.noscript-card a { color: var(--clay); }

/* 14 ── REDUCED MOTION & RESPONSIVE ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero__inner, .hero__foot { opacity: 1 !important; transform: none !important; }
  .hero__title::before, .hero__title::after { display: none !important; }
  .hero__title { text-shadow: 0 0 20px rgba(255, 61, 175, 0.3) !important; }
  .hero__crt { opacity: 0.9 !important; }
  .intro__col .ltr { opacity: 1 !important; transform: none !important; filter: none !important; }
  .intro__payoff { opacity: 1 !important; transform: none !important; filter: none !important; }
}

@media (max-width: 640px) {
  .currently__row { grid-template-columns: 1fr; gap: 0.15rem; }
  .site-header__inner { gap: 0.5rem; }
  .wordmark { letter-spacing: 0.12em; font-size: 0.95rem; }
  .site-nav { gap: 1rem; }
  .site-nav a { font-size: 0.8rem; }
}

@media (max-width: 380px) {
  :root { --pad-x: 1.15rem; }
  .site-nav { gap: 0.7rem; }
  .site-nav a { font-size: 0.76rem; letter-spacing: 0.02em; }
  .wordmark { font-size: 0.88rem; letter-spacing: 0.1em; }
}

@media (min-width: 1500px) {
  :root { --maxw: 1320px; }
}
