/*
 * GMD / CINEMATIC PASS
 * Contemporary tropical action-game direction — original, brand-free artwork.
 */

:root {
  --ink: #080612;
  --night: #100b1f;
  --night-2: #1c1234;
  --paper: #f8f3ef;
  --paper-soft: #d9d1dd;
  --pink: #ff2b78;
  --hot-pink: #ff155f;
  --coral: #ff684e;
  --orange: #ff9a54;
  --cyan: #60f5df;
  --violet: #7843ff;
  --muted: rgba(248, 243, 239, 0.64);
  --line: rgba(248, 243, 239, 0.13);
  --display: "Barlow Condensed", Impact, sans-serif;
  --body: "Inter", Arial, sans-serif;
  --script: "Barlow Condensed", Impact, sans-serif;
}

body {
  background: var(--ink);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 998;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 48%, rgba(255,255,255,.025) 50%, transparent 52%) 0 0 / 180px 180px,
    radial-gradient(circle at var(--pointer-x, 70%) var(--pointer-y, 20%), rgba(255, 43, 120, 0.08), transparent 22%);
  mix-blend-mode: screen;
}

body::after {
  z-index: 999;
  opacity: 0.032;
  background-size: 150px 150px;
}

.loading-screen {
  background:
    radial-gradient(circle at 50% 50%, rgba(255,43,120,.17), transparent 28%),
    #080612;
}

.loading-screen::before,
.loading-screen::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.loading-screen::before {
  inset: 7%;
  border: 1px solid rgba(255,255,255,.07);
  clip-path: polygon(0 0, 32px 0, 32px 1px, 100% 1px, 100% calc(100% - 32px), calc(100% - 1px) calc(100% - 32px), calc(100% - 1px) 100%, 0 100%);
}

.loading-screen::after {
  top: 50%;
  left: 50%;
  width: 240px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--pink), var(--cyan), transparent);
  box-shadow: 0 0 18px rgba(255,43,120,.7);
  transform: translate(-50%, 76px) scaleX(.15);
  transform-origin: left;
  animation: cinematic-load 1.3s cubic-bezier(.2,.8,.2,1) infinite;
}

.loading-screen__sun {
  width: 72px;
  border-radius: 0;
  background: linear-gradient(145deg, var(--pink), var(--coral));
  clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
  box-shadow: 16px 12px 0 rgba(96,245,223,.8);
  animation: cinematic-mark 1.3s cubic-bezier(.2,.8,.2,1) infinite alternate;
}

@keyframes cinematic-load {
  0% { transform: translate(-50%, 76px) scaleX(.02); }
  65%, 100% { transform: translate(-50%, 76px) scaleX(1); }
}

@keyframes cinematic-mark {
  to { transform: translate(7px, 5px) skew(-4deg); box-shadow: 7px 6px 0 rgba(96,245,223,.9); }
}

.site-header {
  height: 82px;
  padding-top: 1px;
  background: linear-gradient(to bottom, rgba(7,5,16,.74), transparent);
}

.site-header.is-scrolled {
  height: 68px;
  border-color: rgba(255,255,255,.09);
  background: rgba(8, 6, 18, 0.76);
  backdrop-filter: blur(22px) saturate(1.45);
  -webkit-backdrop-filter: blur(22px) saturate(1.45);
}

.brand__monogram {
  width: 39px;
  height: 39px;
  border: 0;
  background: linear-gradient(145deg, var(--pink), var(--coral));
  color: white;
  font-family: var(--display);
  font-size: 19px;
  font-style: italic;
  font-weight: 900;
  box-shadow: 5px 5px 0 rgba(96,245,223,.9);
  clip-path: polygon(10% 0, 100% 0, 88% 100%, 0 100%);
  transform: none;
}

.brand__copy {
  letter-spacing: .14em;
}

.site-nav a {
  color: rgba(255,255,255,.62);
  font-size: 9px;
  letter-spacing: .18em;
}

.site-nav a::after {
  height: 1px;
  background: linear-gradient(90deg, var(--pink), var(--cyan));
  box-shadow: 0 0 8px var(--pink);
}

.header-cta {
  border: 0;
  background: rgba(255,255,255,.07);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.header-cta:hover {
  background: var(--paper);
  box-shadow: 5px 5px 0 var(--pink);
}

.hero {
  --mx: 70%;
  --my: 22%;
  min-height: max(790px, 100svh);
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(255, 104, 78, .25), transparent 19%),
    radial-gradient(ellipse at 78% 32%, rgba(120, 67, 255, .42), transparent 32%),
    linear-gradient(108deg, #080612 0%, #110921 46%, #281041 76%, #080612 100%);
  isolation: isolate;
}

.hero::before {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(8,6,18,.96) 0%, rgba(8,6,18,.72) 39%, rgba(8,6,18,.08) 69%),
    linear-gradient(to top, #080612 0%, transparent 25%);
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
  opacity: .7;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(96,245,223,.13), transparent 15%),
    linear-gradient(121deg, transparent 0 64%, rgba(255,43,120,.18) 64.2%, transparent 65%);
  transition: background .12s linear;
}

.hero__sun,
.hero__grid,
.hero__palms {
  display: none;
}

.hero__sky::before {
  position: absolute;
  top: -26%;
  right: -10%;
  width: 70vw;
  height: 95vh;
  content: "";
  opacity: .8;
  background:
    linear-gradient(114deg, transparent 48%, rgba(255,255,255,.06) 48.2% 48.5%, transparent 48.7%),
    linear-gradient(114deg, transparent 59%, rgba(96,245,223,.08) 59.2% 59.4%, transparent 59.6%),
    radial-gradient(ellipse at 50% 45%, rgba(255,43,120,.28), transparent 58%);
  transform: rotate(-6deg);
  filter: blur(.2px);
}

.hero__sky::after {
  position: absolute;
  right: 2%;
  bottom: 5%;
  width: 46vw;
  height: 24vh;
  content: "";
  opacity: .45;
  background: linear-gradient(172deg, transparent 0 39%, #05040c 40% 100%);
  clip-path: polygon(0 48%, 7% 42%, 14% 44%, 21% 24%, 28% 38%, 37% 32%, 45% 40%, 53% 17%, 59% 36%, 67% 29%, 73% 41%, 83% 20%, 89% 37%, 100% 30%, 100% 100%, 0 100%);
}

.hero__meta {
  top: 112px;
  width: min(520px, 42vw);
  padding-bottom: 12px;
  border-color: rgba(255,255,255,.12);
  color: rgba(255,255,255,.42);
  font-size: 8px;
  letter-spacing: .2em;
}

.hero__copy {
  width: min(650px, 51vw);
  padding-top: clamp(204px, 26vh, 270px);
}

.eyebrow {
  gap: 13px;
  color: var(--cyan);
  font-size: 9px;
  letter-spacing: .2em;
}

.eyebrow::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  box-shadow: 0 0 12px var(--cyan);
}

.hero h1 {
  overflow: visible;
  font-size: clamp(96px, 11.5vw, 178px);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -.065em;
  line-height: .67;
  text-shadow: none;
  transform: skew(-2deg);
}

.hero h1 span:first-child {
  color: white;
  text-shadow: 8px 10px 30px rgba(0,0,0,.34);
}

.hero h1 span:last-child {
  color: transparent;
  background: linear-gradient(103deg, #ff9872 5%, #ff2b78 48%, #bb37cf 92%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-stroke: 0;
  filter: drop-shadow(7px 7px 0 rgba(120,67,255,.46));
  text-shadow: none;
}

.hero__signature {
  top: clamp(343px, 43vh, 430px);
  left: clamp(330px, 29vw, 462px);
  padding: 7px 13px;
  border: 1px solid rgba(96,245,223,.35);
  background: rgba(8,6,18,.56);
  color: var(--cyan);
  font-family: var(--body);
  font-size: 8px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  backdrop-filter: blur(9px);
  transform: rotate(-3deg);
}

.hero__intro {
  max-width: 515px;
  margin-top: 40px;
  color: rgba(255,255,255,.62);
  font-size: 13px;
  line-height: 1.8;
}

.button {
  position: relative;
  overflow: hidden;
  min-height: 57px;
  border-radius: 2px;
  font-size: 9px;
  letter-spacing: .17em;
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
}

.button::before {
  position: absolute;
  top: -100%;
  left: -45%;
  width: 30%;
  height: 300%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.42), transparent);
  transform: skewX(-20deg);
  transition: left .7s cubic-bezier(.2,.7,.2,1);
}

.button:hover::before {
  left: 120%;
}

.button--primary {
  background: linear-gradient(112deg, var(--pink), var(--coral));
  box-shadow: 6px 6px 0 rgba(96,245,223,.88), 0 14px 35px rgba(255,43,120,.2);
}

.button--primary:hover {
  background: linear-gradient(112deg, var(--coral), var(--pink));
}

.text-link {
  border-color: rgba(255,255,255,.18);
  font-size: 9px;
  letter-spacing: .16em;
}

.hero-card {
  top: 12%;
  right: max(60px, calc((100vw - 1280px) / 2));
  width: clamp(360px, 34vw, 510px);
  height: min(78vh, 700px);
  min-height: 570px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: 0 42px 90px rgba(0,0,0,.45);
  clip-path: polygon(9% 0, 100% 0, 100% 91%, 91% 100%, 0 100%, 0 9%);
  transform: rotate(1deg);
  will-change: transform;
}

.hero-card::before {
  position: absolute;
  inset: 0;
  z-index: 3;
  content: "";
  pointer-events: none;
  border: 1px solid rgba(255,255,255,.26);
  clip-path: inherit;
}

.hero-card::after {
  inset: auto 0 0 0;
  z-index: 2;
  height: 42%;
  border: 0;
  background: linear-gradient(to top, rgba(7,4,18,.96), transparent);
}

.hero-card__photo {
  height: 100%;
  background: #1b102c;
}

.hero-card__photo::after {
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(9,5,21,.84), transparent 48%),
    linear-gradient(112deg, rgba(255,43,120,.15), transparent 35%, rgba(96,245,223,.1));
  mix-blend-mode: screen;
}

.hero-card__photo img {
  object-position: 50% 50%;
  filter: saturate(1.12) contrast(1.08) brightness(.94);
}

.hero-card__chrome {
  top: 18px;
  right: 18px;
  z-index: 5;
  width: 50px;
  height: 50px;
  border-width: 1px;
}

.hero-card__stamp {
  top: auto;
  right: 22px;
  bottom: 24px;
  left: auto;
  z-index: 6;
  width: 63px;
  height: 63px;
  background: rgba(96,245,223,.94);
  backdrop-filter: blur(8px);
  transform: none;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.hero-card__stamp strong {
  font-size: 30px;
  font-style: italic;
}

.hero-card__caption {
  right: 105px;
  bottom: 27px;
  left: 25px;
  z-index: 6;
  font-size: 8px;
  letter-spacing: .17em;
}

.hero__edition {
  right: -26px;
  bottom: -77px;
  z-index: 2;
  color: rgba(255,255,255,.018);
  font-size: 360px;
  font-style: italic;
  font-weight: 900;
  -webkit-text-stroke: 1px rgba(255,255,255,.055);
}

.hero__socials {
  bottom: 25px;
  font-size: 8px;
  letter-spacing: .17em;
}

.ticker {
  z-index: 12;
  width: 100%;
  height: 45px;
  margin: 0;
  border-top: 1px solid rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: #0d091b;
  color: rgba(255,255,255,.68);
  box-shadow: 0 15px 40px rgba(0,0,0,.2);
  transform: none;
}

.ticker span {
  padding: 0 34px;
  font-family: var(--body);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .2em;
}

.ticker i {
  color: var(--pink);
  font-size: 12px;
}

.section {
  padding-top: 145px;
  padding-bottom: 145px;
}

.section__label {
  color: var(--cyan);
  font-size: 8px;
  letter-spacing: .21em;
}

.section__label span:first-child {
  width: 28px;
  height: 28px;
  border-color: rgba(96,245,223,.34);
  background: rgba(96,245,223,.05);
}

.about {
  min-height: 930px;
  background:
    radial-gradient(circle at 15% 66%, rgba(255,43,120,.14), transparent 26%),
    linear-gradient(145deg, #0c0918, #151026 66%, #090713);
  color: var(--paper);
}

.about::before {
  top: 4%;
  right: -13%;
  width: 650px;
  height: 650px;
  border-color: rgba(96,245,223,.08);
  box-shadow: 0 0 0 100px rgba(96,245,223,.018), 0 0 0 200px rgba(255,43,120,.012);
}

.about::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 48%;
  width: 1px;
  content: "";
  background: linear-gradient(transparent, rgba(255,255,255,.08), transparent);
}

.about__photo {
  aspect-ratio: .82;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  background: #120e1d;
  box-shadow: 22px 25px 0 rgba(255,43,120,.13), 42px 46px 0 rgba(96,245,223,.035);
  clip-path: polygon(8% 0, 100% 0, 100% 92%, 92% 100%, 0 100%, 0 8%);
  transform: rotate(-1deg);
}

.about__photo::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  background: linear-gradient(to top, rgba(9,6,18,.58), transparent 50%);
  pointer-events: none;
}

.about__photo::after {
  inset: 0;
  box-shadow: inset 0 0 120px rgba(5,2,15,.28);
}

.about__photo img {
  filter: saturate(.86) contrast(1.09) brightness(.9);
}

.about__tape {
  right: -30px;
  bottom: 40px;
  padding: 12px 25px;
  border: 1px solid rgba(96,245,223,.38);
  background: rgba(10,7,23,.78);
  color: var(--cyan);
  backdrop-filter: blur(12px);
  transform: rotate(-4deg);
}

.about__cross {
  color: var(--pink);
  opacity: .7;
}

.about__copy .eyebrow,
.about__copy .eyebrow::before {
  color: var(--cyan);
  background: var(--cyan);
}

.about h2,
.projects h2,
.skills h2,
.contact h2 {
  font-style: italic;
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: .88;
}

.about h2 em,
.contact h2 em {
  color: transparent;
  background: linear-gradient(96deg, var(--coral), var(--pink) 54%, #ba4dff);
  background-clip: text;
  -webkit-background-clip: text;
  font-family: var(--display);
  font-size: 1em;
  font-style: italic;
  font-weight: 800;
  letter-spacing: -.045em;
  text-transform: uppercase;
}

.about__body {
  border-color: rgba(255,255,255,.1);
}

.about__body p {
  color: rgba(255,255,255,.58);
}

.about__facts div {
  border-color: rgba(255,255,255,.18);
}

.about__facts dt {
  color: rgba(255,255,255,.34);
}

.about__facts dd {
  font-weight: 700;
}

/* Scroll-driven cinematic canvas */
.city-journey {
  position: relative;
  height: 340vh;
  background: #05040b;
  isolation: isolate;
}

.city-journey__sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  background: #080611;
}

.city-journey__canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  background: #080611;
  transform: scale(1.01);
}

.city-journey__veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5,4,11,.82), transparent 44%, rgba(5,4,11,.2)),
    linear-gradient(to top, rgba(5,4,11,.8), transparent 35%, rgba(5,4,11,.22)),
    radial-gradient(circle at 50% 50%, transparent 25%, rgba(4,2,10,.34));
}

.city-journey__grain {
  position: absolute;
  inset: -50%;
  z-index: 3;
  pointer-events: none;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift .24s steps(2) infinite;
}

@keyframes grain-shift {
  0% { transform: translate(0,0); }
  25% { transform: translate(3%,-2%); }
  50% { transform: translate(-2%,3%); }
  75% { transform: translate(1%,-3%); }
}

.city-journey__hud {
  position: absolute;
  top: 35px;
  right: max(34px, calc((100vw - 1240px) / 2));
  left: max(34px, calc((100vw - 1240px) / 2));
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr auto 74px;
  align-items: center;
  padding: 11px 0;
  border-top: 1px solid rgba(255,255,255,.16);
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.58);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .21em;
}

.city-journey__hud span:nth-child(2) {
  color: var(--cyan);
}

.city-journey__hud span:last-child {
  color: white;
  font-family: var(--display);
  font-size: 15px;
  font-style: italic;
  text-align: right;
}

.city-journey__copy {
  position: absolute;
  top: 0;
  bottom: 0;
  left: max(48px, calc((100vw - 1240px) / 2));
  z-index: 5;
  width: min(680px, 55vw);
  pointer-events: none;
}

.city-journey__beat {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(calc(-50% + 35px));
  transition: opacity .55s ease, transform .7s cubic-bezier(.2,.75,.2,1), filter .55s ease;
}

.city-journey__beat.is-active {
  opacity: 1;
  filter: none;
  transform: translateY(-50%);
}

.city-journey__beat > span {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 22px;
  color: var(--cyan);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.city-journey__beat > span::before {
  width: 30px;
  height: 1px;
  content: "";
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.city-journey__beat h2 {
  max-width: 700px;
  color: white;
  font-family: var(--display);
  font-size: clamp(70px, 8vw, 124px);
  font-style: italic;
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: .82;
  text-transform: uppercase;
  text-shadow: 0 8px 40px rgba(0,0,0,.5);
}

.city-journey__beat:nth-child(2) h2 {
  color: transparent;
  background: linear-gradient(105deg, white 0 43%, #ff91b4 75%, var(--pink));
  background-clip: text;
  -webkit-background-clip: text;
}

.city-journey__progress {
  position: absolute;
  right: max(34px, calc((100vw - 1240px) / 2));
  bottom: 50%;
  z-index: 6;
  width: 1px;
  height: 160px;
  background: rgba(255,255,255,.18);
}

.city-journey__progress i {
  display: block;
  width: 3px;
  height: 0;
  margin-left: -1px;
  background: linear-gradient(var(--pink), var(--cyan));
  box-shadow: 0 0 12px var(--pink);
  transition: height .06s linear;
}

.city-journey__credit {
  position: absolute;
  right: max(34px, calc((100vw - 1240px) / 2));
  bottom: 30px;
  z-index: 5;
  color: rgba(255,255,255,.32);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.city-journey noscript img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

.projects {
  background:
    radial-gradient(circle at 87% 7%, rgba(255,43,120,.12), transparent 24%),
    linear-gradient(150deg, #0b0817, #130d24 55%, #080612);
  content-visibility: auto;
  contain-intrinsic-size: 2500px;
}

.projects::before,
.skills::before {
  opacity: .3;
  background-image: linear-gradient(115deg, transparent 0 49.8%, rgba(255,255,255,.045) 50%, transparent 50.2%);
  background-size: 180px 180px;
  mask-image: linear-gradient(to bottom, black, transparent);
}

.section__head > p {
  color: rgba(255,255,255,.52);
}

.project-card {
  position: relative;
  min-height: 470px;
  border-color: rgba(255,255,255,.1);
  border-radius: 3px;
  background: rgba(255,255,255,.025);
  box-shadow: 0 24px 80px rgba(0,0,0,.2);
  transform-style: preserve-3d;
  will-change: transform;
}

.project-card::before {
  position: absolute;
  inset: -1px;
  z-index: 5;
  content: "";
  opacity: 0;
  border: 1px solid transparent;
  background: radial-gradient(circle at var(--card-x, 50%) var(--card-y, 50%), rgba(96,245,223,.2), transparent 28%) border-box;
  pointer-events: none;
  transition: opacity .3s ease;
}

.project-card:hover::before {
  opacity: 1;
}

.project-card:hover {
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 32px 90px rgba(0,0,0,.34), 9px 9px 0 rgba(255,43,120,.13);
  transform: translateY(-4px);
}

.project-card__visual,
.project-card__copy {
  min-height: 470px;
}

.project-card__visual::after {
  background:
    linear-gradient(to top, rgba(7,5,15,.4), transparent 45%),
    linear-gradient(115deg, transparent 50%, rgba(255,255,255,.05) 50.2%, transparent 50.4%);
}

.project-card--sunset .project-card__visual {
  background:
    radial-gradient(circle at 76% 35%, rgba(255,155,89,.95) 0 13%, transparent 13.5%),
    radial-gradient(circle at 32% 90%, rgba(96,245,223,.25), transparent 30%),
    linear-gradient(145deg, #3b1b61, #d22973 49%, #ff795a);
}

.project-card__window {
  border: 1px solid rgba(255,255,255,.42);
  background: rgba(10,7,24,.7);
  box-shadow: 20px 22px 0 rgba(96,245,223,.19), 0 24px 60px rgba(0,0,0,.25);
  backdrop-filter: blur(10px);
}

.project-card__window strong {
  font-style: italic;
  font-weight: 800;
  letter-spacing: -.035em;
  text-shadow: 4px 4px 0 rgba(255,43,120,.7);
}

.project-card__orb {
  opacity: .45;
}

.project-card__poster {
  border: 1px solid rgba(255,255,255,.5);
  background: rgba(13,8,28,.26);
  box-shadow: 18px 22px 0 rgba(17,11,43,.32);
  backdrop-filter: blur(4px);
}

.project-card__poster span {
  font-family: var(--body);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  transform: none;
}

.project-card__poster strong,
.project-card__dashboard strong {
  font-style: italic;
  font-weight: 800;
}

.project-card__dashboard {
  border-color: rgba(96,245,223,.4);
  background: rgba(8,6,20,.72);
  backdrop-filter: blur(12px);
}

.project-card__copy {
  background: rgba(10,7,22,.82);
}

.project-card h3 {
  font-style: italic;
  font-weight: 800;
  letter-spacing: -.03em;
}

.project-card__copy p {
  color: rgba(255,255,255,.55);
}

.skills {
  background:
    radial-gradient(circle at 12% 70%, rgba(120,67,255,.18), transparent 26%),
    #0e0a1d;
  content-visibility: auto;
  contain-intrinsic-size: 1100px;
}

.skills__grid article {
  background: rgba(255,255,255,.018);
  transition: background .35s ease, transform .35s ease, box-shadow .35s ease;
}

.skills__grid article:hover {
  background: linear-gradient(145deg, rgba(255,43,120,.12), rgba(120,67,255,.06));
  box-shadow: inset 0 0 0 1px rgba(96,245,223,.18), 0 18px 55px rgba(0,0,0,.25);
}

.skills__grid h3 {
  font-style: italic;
  font-weight: 800;
}

.contact {
  background:
    radial-gradient(circle at 80% 35%, rgba(255,104,78,.18), transparent 20%),
    radial-gradient(circle at 75% 50%, rgba(120,67,255,.3), transparent 36%),
    linear-gradient(145deg, #0c0818, #1a0e2d 62%, #080612);
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

.contact::before {
  background:
    linear-gradient(90deg, rgba(8,6,18,.96), rgba(8,6,18,.54) 55%, transparent),
    linear-gradient(114deg, transparent 66%, rgba(96,245,223,.06) 66.2%, transparent 66.5%);
}

.contact__sun,
.contact__grid {
  display: none;
}

.contact h2 {
  font-weight: 800;
}



.site-footer {
  background: #06050c;
}

.js [data-reveal] {
  opacity: 0;
  filter: blur(5px);
  transform: translateY(36px) scale(.99);
  transition: none;
}

.js [data-reveal].is-visible {
  opacity: 1;
  filter: none;
  transform: none;
}

@media (max-width: 1100px) {
  .hero-card { right: 38px; width: 39vw; }
  .hero__signature { left: 29vw; }
  .about::after { display: none; }
}

@media (max-width: 820px) {
  .site-header { height: 72px; }

  .site-nav {
    background:
      radial-gradient(circle at 80% 20%, rgba(255,43,120,.17), transparent 25%),
      rgba(8,6,18,.985);
  }

  .site-nav a {
    font-style: italic;
    font-weight: 800;
  }

  .hero {
    min-height: 1120px;
  }

  .hero__copy {
    width: calc(100% - 64px);
  }

  .hero__signature {
    top: 280px;
    right: 0;
    left: auto;
  }

  .hero-card {
    top: 585px;
    right: 8%;
    width: min(68vw, 450px);
    height: 465px;
    min-height: 0;
  }

  .city-journey {
    height: 300vh;
  }

  .city-journey__copy {
    left: 32px;
    width: calc(100% - 96px);
  }

  .city-journey__beat h2 {
    font-size: clamp(66px, 13vw, 106px);
  }

  .city-journey__hud {
    right: 32px;
    left: 32px;
  }

  .city-journey__progress,
  .city-journey__credit {
    right: 32px;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 1050px;
  }

  .hero__copy {
    width: calc(100% - 40px);
    padding-top: 155px;
  }

  .hero h1 {
    font-size: clamp(76px, 26vw, 116px);
  }

  .hero__signature {
    top: 254px;
    font-size: 6px;
  }

  .hero-card {
    top: 626px;
    right: 8%;
    width: 78vw;
    height: 360px;
  }

  .hero-card__caption {
    right: 90px;
  }

  .hero__edition {
    right: -13px;
    bottom: -23px;
    font-size: 180px;
  }

  .about__photo {
    box-shadow: 12px 14px 0 rgba(255,43,120,.18), 21px 24px 0 rgba(96,245,223,.04);
  }

  .city-journey__sticky {
    min-height: 520px;
  }

  .city-journey__hud {
    top: 22px;
    right: 20px;
    left: 20px;
    grid-template-columns: 1fr auto;
  }

  .city-journey__hud span:nth-child(2) {
    display: none;
  }

  .city-journey__copy {
    left: 20px;
    width: calc(100% - 58px);
  }

  .city-journey__beat h2 {
    font-size: clamp(54px, 17vw, 78px);
  }

  .city-journey__progress {
    right: 20px;
    height: 120px;
  }

  .city-journey__credit {
    right: auto;
    bottom: 20px;
    left: 20px;
    font-size: 6px;
  }

  .project-card,
  .project-card__visual {
    min-height: 310px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .city-journey {
    height: 100vh;
  }

  .city-journey__grain {
    animation: none;
  }

  .city-journey__beat:not(:first-child),
  .city-journey__progress {
    display: none;
  }
}

/* -------------------------------------------------------------------------
 * INTERACTIVE SYSTEMS / distinctive portfolio layer
 * ---------------------------------------------------------------------- */

.cursor-system {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 997;
  display: none;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-100px, -100px, 0);
  transition: width .25s ease, height .25s ease, opacity .25s ease;
  will-change: transform;
}

.cursor-system span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(96,245,223,.72);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(96,245,223,.18), inset 0 0 12px rgba(96,245,223,.08);
  transition: border-radius .25s ease, background .25s ease, border-color .25s ease;
}

.cursor-system span::before,
.cursor-system span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  content: "";
  background: var(--pink);
  transform: translate(-50%, -50%);
}

.cursor-system span::before { width: 9px; height: 1px; }
.cursor-system span::after { width: 1px; height: 9px; }

.cursor-system b {
  position: relative;
  display: none;
  color: var(--ink);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .12em;
}

.cursor-system.is-visible { opacity: 1; }

.cursor-system.is-action {
  width: 68px;
  height: 68px;
}

.cursor-system.is-action span {
  border-color: var(--cyan);
  border-radius: 3px;
  background: rgba(96,245,223,.9);
}

.cursor-system.is-action span::before,
.cursor-system.is-action span::after { display: none; }
.cursor-system.is-action b { display: block; }





.about__scanner {
  position: absolute;
  inset: 0;
  z-index: 4;
  overflow: hidden;
  pointer-events: none;
}

.about__scanner::before,
.about__scanner::after {
  position: absolute;
  content: "";
}

.about__scanner::before {
  inset: 22px;
  border: 1px solid rgba(96,245,223,.22);
  clip-path: polygon(0 0, 38px 0, 38px 1px, calc(100% - 38px) 1px, calc(100% - 38px) 0, 100% 0, 100% 38px, calc(100% - 1px) 38px, calc(100% - 1px) calc(100% - 38px), 100% calc(100% - 38px), 100% 100%, calc(100% - 38px) 100%, calc(100% - 38px) calc(100% - 1px), 38px calc(100% - 1px), 38px 100%, 0 100%);
}

.about__scanner::after {
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 18px var(--cyan), 0 0 45px rgba(96,245,223,.35);
  animation: identity-scan 4.8s cubic-bezier(.45,0,.55,1) infinite;
}

.about__scanner span {
  position: absolute;
  top: 35px;
  left: 35px;
  padding: 7px 10px;
  background: rgba(8,6,18,.62);
  color: var(--cyan);
  font-size: 6px;
  font-weight: 800;
  letter-spacing: .2em;
  backdrop-filter: blur(8px);
}

.about__scanner i {
  position: absolute;
  top: 48%;
  left: 42%;
  width: 86px;
  height: 104px;
  border: 1px solid rgba(96,245,223,.32);
  border-radius: 45%;
  box-shadow: 0 0 0 9px rgba(96,245,223,.025);
  transform: translate(-50%, -50%) rotate(-3deg);
}

.skills__tech-photo {
  position: relative;
  max-width: 405px;
  aspect-ratio: 16 / 9;
  margin-top: 42px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.15);
  background: #090717;
  box-shadow: 11px 11px 0 rgba(255,43,120,.14);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.skills__tech-photo::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(7,5,16,.9), transparent 56%),
    linear-gradient(115deg, rgba(255,43,120,.12), transparent 42%, rgba(96,245,223,.09));
}

.skills__tech-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
  filter: saturate(1.08) contrast(1.06);
  transition: transform 1s cubic-bezier(.2,.75,.2,1), filter .5s ease;
}

.skills__tech-photo:hover img {
  filter: saturate(1.25) contrast(1.08);
  transform: scale(1.055);
}

.skills__tech-photo figcaption {
  position: absolute;
  right: 18px;
  bottom: 15px;
  left: 18px;
  z-index: 2;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.skills__tech-photo figcaption span {
  color: var(--cyan);
  font-family: monospace;
  font-size: 6px;
  letter-spacing: .16em;
}

.skills__tech-photo figcaption strong {
  max-width: 190px;
  color: white;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1.45;
  text-align: right;
  text-transform: uppercase;
}

@keyframes identity-scan {
  0%, 10% { top: 8%; opacity: 0; }
  18% { opacity: .85; }
  82% { opacity: .85; }
  90%, 100% { top: 94%; opacity: 0; }
}

.intel {
  display: grid;
  grid-template-columns: minmax(360px, .84fr) minmax(500px, 1.16fr);
  gap: clamp(70px, 9vw, 145px);
  align-items: center;
  min-height: 1000px;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 48%, rgba(96,245,223,.08), transparent 25%),
    radial-gradient(circle at 72% 52%, rgba(120,67,255,.2), transparent 39%),
    #080612;
}

.intel::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: .4;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 48%, rgba(255,255,255,.04) 48.1%, transparent 48.2%),
    linear-gradient(125deg, transparent 0 58%, rgba(255,43,120,.06) 58.1%, transparent 58.3%);
}

.intel__copy,
.radar {
  position: relative;
  z-index: 2;
}

.intel__copy > .eyebrow {
  margin-top: 55px;
}

.intel h2 {
  color: white;
  font-family: var(--display);
  font-size: clamp(68px, 7vw, 105px);
  font-style: italic;
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: .84;
  text-transform: uppercase;
}

.intel__intro {
  max-width: 450px;
  margin-top: 32px;
  color: rgba(255,255,255,.53);
  font-size: 12px;
  line-height: 1.8;
}

.intel-panel {
  max-width: 500px;
  margin-top: 46px;
  padding: 27px;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
  box-shadow: 12px 12px 0 rgba(255,43,120,.09);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  backdrop-filter: blur(12px);
}

.intel-panel.is-switching {
  animation: panel-switch .34s ease;
}

@keyframes panel-switch {
  45% { opacity: .2; transform: translateX(8px); filter: blur(4px); }
}

.intel-panel__top {
  display: flex;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.09);
  color: var(--cyan);
  font-size: 6px;
  font-weight: 800;
  letter-spacing: .2em;
}

.intel-panel__top span:last-child::before {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 6px;
  border-radius: 50%;
  background: #53edaa;
  box-shadow: 0 0 8px #53edaa;
  content: "";
}

.intel-panel h3 {
  margin: 23px 0 11px;
  color: white;
  font-family: var(--display);
  font-size: 38px;
  font-style: italic;
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1;
  text-transform: uppercase;
}

.intel-panel > p {
  min-height: 48px;
  color: rgba(255,255,255,.52);
  font-size: 10px;
  line-height: 1.65;
}







.radar {
  width: min(43vw, 620px);
  aspect-ratio: 1;
  margin-left: auto;
  border: 1px solid rgba(96,245,223,.2);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(96,245,223,.05) 0 2px, transparent 3px),
    radial-gradient(circle, transparent 0 24%, rgba(96,245,223,.12) 24.2% 24.5%, transparent 24.7% 48%, rgba(96,245,223,.09) 48.2% 48.45%, transparent 48.7% 72%, rgba(96,245,223,.07) 72.2% 72.4%, transparent 72.6%),
    rgba(7,9,20,.54);
  box-shadow: 0 0 100px rgba(120,67,255,.13), inset 0 0 80px rgba(96,245,223,.025);
}

.radar::before,
.radar::after {
  position: absolute;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(96,245,223,.13), transparent);
}

.radar::before {
  top: 50%;
  right: 0;
  left: 0;
  height: 1px;
}

.radar::after {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(transparent, rgba(96,245,223,.13), transparent);
}

.radar__canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  pointer-events: none;
}

.radar__core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: grid;
  width: 88px;
  height: 88px;
  place-content: center;
  border: 1px solid rgba(255,43,120,.5);
  border-radius: 50%;
  background: rgba(12,7,25,.82);
  box-shadow: 0 0 0 8px rgba(255,43,120,.045), 0 0 35px rgba(255,43,120,.2);
  text-align: center;
  transform: translate(-50%, -50%);
}

.radar__core span {
  color: white;
  font-family: var(--display);
  font-size: 28px;
  font-style: italic;
  font-weight: 900;
  line-height: .8;
}

.radar__core small {
  margin-top: 6px;
  color: var(--cyan);
  font-size: 5px;
  font-weight: 700;
  letter-spacing: .14em;
}

.radar__node {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(8,6,18,.78);
  color: rgba(255,255,255,.56);
  font-family: var(--body);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: color .25s ease, border-color .25s ease, background .25s ease, transform .25s ease, box-shadow .25s ease;
}

.radar__node i {
  width: 7px;
  height: 7px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.radar__node:hover,
.radar__node:focus-visible,
.radar__node.is-active {
  border-color: rgba(96,245,223,.65);
  background: rgba(19,16,38,.9);
  color: var(--cyan);
  box-shadow: 0 0 25px rgba(96,245,223,.12);
  transform: translateY(-3px);
}

.radar__node.is-active i {
  background: var(--pink);
  border-color: var(--pink);
  box-shadow: 0 0 12px var(--pink);
}

.radar__node--frontend { top: 16%; left: 44%; }
.radar__node--motion { top: 45%; right: 1%; }
.radar__node--performance { right: 20%; bottom: 10%; }
.radar__node--product { bottom: 22%; left: 5%; }

.radar__coord {
  position: absolute;
  z-index: 3;
  color: rgba(255,255,255,.2);
  font-family: monospace;
  font-size: 6px;
  letter-spacing: .13em;
}

.radar__coord--one { top: 28%; left: 8%; }
.radar__coord--two { right: 7%; bottom: 30%; }

.kinetic-break {
  --kinetic: 0;
  position: relative;
  height: 230vh;
  background: #ff336f;
}

.kinetic-break__sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 24%, rgba(255,177,98,.8), transparent 28%),
    linear-gradient(145deg, #ff7759, #ff2b78 52%, #ae37d0);
}

.kinetic-break__sticky::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: .18;
  background-image: linear-gradient(118deg, transparent 0 49.8%, rgba(255,255,255,.2) 50%, transparent 50.2%);
  background-size: 140px 140px;
}

.kinetic-break__micro {
  position: absolute;
  top: 34px;
  left: max(30px, calc((100vw - 1240px) / 2));
  z-index: 3;
  color: rgba(20,7,35,.58);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .22em;
}

.kinetic-break__line {
  position: absolute;
  z-index: 2;
  width: max-content;
  color: #12091f;
  font-family: var(--display);
  font-size: clamp(100px, 15vw, 230px);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: .75;
  text-transform: uppercase;
  white-space: nowrap;
  will-change: transform;
}

.kinetic-break__line--one {
  top: 11%;
  left: -22%;
  transform: translate3d(calc(var(--kinetic) * 22vw), 0, 0);
}

.kinetic-break__line--two {
  top: 42%;
  right: -34%;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255,255,255,.82);
  transform: translate3d(calc(var(--kinetic) * -28vw), 0, 0);
}

.kinetic-break__line--three {
  bottom: 6%;
  left: -15%;
  color: rgba(255,255,255,.92);
  transform: translate3d(calc(var(--kinetic) * 18vw), 0, 0);
}

.kinetic-break__statement {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 5;
  width: min(480px, calc(100% - 40px));
  padding: 30px;
  border: 1px solid rgba(255,255,255,.32);
  background: rgba(10,6,22,.82);
  color: white;
  box-shadow: 16px 16px 0 rgba(96,245,223,.5), 0 30px 80px rgba(51,3,40,.28);
  backdrop-filter: blur(14px);
  transform: translate(-50%, -50%) rotate(-2deg) scale(calc(.88 + var(--kinetic) * .12));
}

.kinetic-break__statement span {
  color: var(--cyan);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.kinetic-break__statement p {
  margin-top: 14px;
  font-family: var(--display);
  font-size: clamp(42px, 5vw, 66px);
  font-style: italic;
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: .86;
  text-transform: uppercase;
}

.kinetic-break__flare {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 36vw;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255,211,132,.58);
  filter: blur(80px);
  transform: translate(-50%, -50%) scale(calc(.6 + var(--kinetic) * .7));
}

@media (hover: hover) and (pointer: fine) {
  .cursor-system { display: flex; }
}

@media (max-width: 1000px) {
  .intel {
    grid-template-columns: 1fr;
    gap: 80px;
  }

  .intel__copy { max-width: 680px; }
  .radar { width: min(82vw, 610px); margin: 0 auto; }
}

@media (max-width: 820px) {
  .intel { min-height: auto; }
  .kinetic-break { height: 190vh; }
  .kinetic-break__line { font-size: clamp(90px, 20vw, 160px); }
  .kinetic-break__line--one { left: -70%; }
  .kinetic-break__line--two { right: -95%; }
  .kinetic-break__line--three { left: -65%; }
}

@media (max-width: 560px) {
  .about__scanner i { top: 48%; left: 42%; width: 67px; height: 82px; }

  .intel { padding-top: 105px; padding-bottom: 105px; }
  .intel__copy > .eyebrow { margin-top: 43px; }
  .intel h2 { font-size: clamp(57px, 18vw, 80px); }
  .intel-panel { padding: 22px 18px; }
  .radar { width: min(94vw, 440px); }
  .radar__core { width: 66px; height: 66px; }
  .radar__core span { font-size: 23px; }
  .radar__node { padding: 7px 8px; font-size: 6px; }
  .radar__node--frontend { top: 11%; left: 37%; }
  .radar__node--motion { top: 42%; right: -1%; }
  .radar__node--performance { right: 11%; bottom: 7%; }
  .radar__node--product { bottom: 19%; left: 0; }

  .kinetic-break__line { font-size: clamp(78px, 26vw, 122px); }
  .kinetic-break__line--one { top: 15%; left: -160%; }
  .kinetic-break__line--two { top: 43%; right: -205%; -webkit-text-stroke-width: 1px; }
  .kinetic-break__line--three { bottom: 9%; left: -150%; }
  .kinetic-break__statement { padding: 25px 21px; box-shadow: 9px 9px 0 rgba(96,245,223,.55); }
  .kinetic-break__statement p { font-size: clamp(40px, 14vw, 58px); }

  .skills__tech-photo {
    max-width: none;
    margin-top: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about__scanner::after { animation: none; top: 52%; }
  .kinetic-break { height: 100vh; }
  .kinetic-break__line { transform: none; }
  .kinetic-break__statement { transform: translate(-50%, -50%) rotate(-2deg); }
}

/* Scroll narrative: street -> portfolio -> message -> WhatsApp */
.contact-story {
  --story: 0;
  position: relative;
  height: 440vh;
  background: #070510;
  isolation: isolate;
}

.contact-story__sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100svh;
  min-height: 650px;
  overflow: hidden;
  background: #070510;
}

.contact-story__scene {
  position: absolute;
  inset: -5%;
  z-index: 1;
  width: 110%;
  height: 110%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 50%;
  filter: saturate(1.06) contrast(1.05) brightness(.88);
  transform: translate3d(calc(var(--story) * -3.8%), calc(var(--story) * -1.5%), 0) scale(calc(1.02 + var(--story) * .14));
  transform-origin: 46% 48%;
  will-change: transform;
}

.contact-story__grade {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5,3,13,.88) 0%, rgba(5,3,13,.46) 38%, rgba(5,3,13,.05) 65%, rgba(5,3,13,.32)),
    linear-gradient(to top, rgba(5,3,13,.82), transparent 40%, rgba(5,3,13,.12)),
    radial-gradient(circle at 76% 55%, rgb(255 43 120 / calc(var(--story) * .15)), transparent 27%);
}

.contact-story__grade::after {
  position: absolute;
  inset: 0;
  content: "";
  opacity: calc(.05 + var(--story) * .07);
  background: repeating-linear-gradient(to bottom, transparent 0 4px, rgba(255,255,255,.08) 4px 5px);
  mix-blend-mode: overlay;
}

.contact-story__lights {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
}

.contact-story__lights i {
  position: absolute;
  border-radius: 50%;
  opacity: calc(.18 + var(--story) * .35);
  background: var(--pink);
  filter: blur(3px);
  box-shadow: 0 0 35px 8px currentColor;
  transform: translate3d(calc(var(--story) * -12vw), calc(var(--story) * 4vh), 0);
}

.contact-story__lights i:nth-child(1) { top: 27%; right: 21%; width: 8px; height: 8px; color: var(--pink); }
.contact-story__lights i:nth-child(2) { top: 59%; right: 37%; width: 5px; height: 5px; color: var(--cyan); transform: translate3d(calc(var(--story) * -18vw), calc(var(--story) * -5vh), 0); }
.contact-story__lights i:nth-child(3) { bottom: 17%; right: 9%; width: 11px; height: 11px; color: var(--coral); transform: translate3d(calc(var(--story) * -8vw), calc(var(--story) * -2vh), 0); }

.contact-story__visitor {
  position: absolute;
  bottom: -6%;
  left: 0;
  z-index: 4;
  width: auto;
  height: min(94vh, 920px);
  opacity: calc(var(--story) * 7);
  filter: drop-shadow(0 26px 28px rgba(0,0,0,.58));
  transform: translate3d(calc(106vw - var(--story) * 74vw), calc(var(--story) * 2vh), 0) scale(calc(.74 + var(--story) * .09));
  transform-origin: 50% 100%;
  transition: opacity .65s ease, filter .65s ease;
  pointer-events: none;
  will-change: transform, opacity;
}

.contact-story__visitor::before {
  position: absolute;
  top: 26%;
  left: 51%;
  z-index: -1;
  width: 130px;
  aspect-ratio: 1;
  border: 1px solid rgba(50,230,255,.48);
  border-radius: 50%;
  content: "";
  opacity: calc(var(--story) * .65);
  box-shadow: 0 0 0 10px rgba(50,230,255,.04), 0 0 38px rgba(50,230,255,.2);
  transform: translate(-50%, -50%) scale(calc(.55 + var(--story) * .75));
}

.contact-story__visitor::after {
  position: absolute;
  right: 4%;
  bottom: 5%;
  left: 7%;
  z-index: -1;
  height: 5%;
  border-radius: 50%;
  content: "";
  background: rgba(0,0,0,.72);
  filter: blur(12px);
  transform: skewX(-14deg);
}

.contact-story__visitor img {
  display: block;
  width: auto;
  height: 100%;
  animation: visitor-step .54s cubic-bezier(.45,.05,.55,.95) infinite alternate;
  animation-play-state: paused;
  transform-origin: 50% 100%;
}

.contact-story.is-in-view .contact-story__visitor img {
  animation-play-state: running;
}

.story-phase-2 .contact-story__visitor {
  opacity: .42;
  filter: blur(1.5px) saturate(.82) drop-shadow(0 26px 28px rgba(0,0,0,.58));
}

.story-phase-3 .contact-story__visitor {
  opacity: .12;
  filter: blur(3px) saturate(.7) drop-shadow(0 26px 28px rgba(0,0,0,.58));
}

@keyframes visitor-step {
  from { transform: translate3d(0, -2px, 0) rotate(-.45deg); }
  to { transform: translate3d(0, 3px, 0) rotate(.45deg); }
}

.contact-story__hud {
  position: absolute;
  top: 31px;
  right: max(34px, calc((100vw - 1240px) / 2));
  left: max(34px, calc((100vw - 1240px) / 2));
  z-index: 8;
  display: flex;
  justify-content: space-between;
  padding-bottom: 11px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.5);
  font-family: monospace;
  font-size: 7px;
  letter-spacing: .18em;
}

.contact-story__hud span:last-child {
  color: var(--cyan);
}

.contact-story__copy {
  position: absolute;
  top: 50%;
  left: max(48px, calc((100vw - 1240px) / 2));
  z-index: 6;
  width: min(580px, 46vw);
  pointer-events: none;
}

.contact-story__beat {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  filter: blur(9px);
  transform: translateY(calc(-50% + 40px));
  transition: opacity .6s ease, filter .55s ease, transform .75s cubic-bezier(.2,.75,.2,1);
}

.contact-story__beat.is-active {
  opacity: 1;
  filter: none;
  transform: translateY(-50%);
}

.contact-story__beat > span {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 21px;
  color: var(--cyan);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.contact-story__beat > span::before {
  width: 29px;
  height: 1px;
  content: "";
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.contact-story__beat h2 {
  color: white;
  font-family: var(--display);
  font-size: clamp(66px, 7.7vw, 116px);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: .82;
  text-transform: uppercase;
  text-shadow: 0 15px 50px rgba(0,0,0,.52);
}

.contact-story__beat:nth-child(2) h2,
.contact-story__beat:nth-child(4) h2 {
  color: transparent;
  background: linear-gradient(98deg, white, #ff9aaf 60%, var(--pink));
  background-clip: text;
  -webkit-background-clip: text;
}

.story-phone {
  position: absolute;
  top: 50%;
  right: max(8vw, calc((100vw - 1180px) / 2));
  z-index: 9;
  width: min(300px, 24vw);
  aspect-ratio: 9 / 18.8;
  opacity: 0;
  pointer-events: none;
  filter: blur(8px);
  transform: translate3d(130%, -42%, 0) rotate(12deg) scale(.82);
  transition: opacity .7s ease, filter .6s ease, transform 1s cubic-bezier(.16,.8,.2,1);
  will-change: transform;
}

.story-phase-1 .story-phone,
.story-phase-2 .story-phone,
.story-phase-3 .story-phone {
  opacity: 1;
  filter: none;
  transform: translate3d(0, -50%, 0) rotate(-3deg) scale(1);
}

.story-phase-2 .story-phone,
.story-phase-3 .story-phone {
  transform: translate3d(-4vw, -50%, 0) rotate(2deg) scale(1.06);
}

.story-phase-3 .story-phone {
  transform: translate3d(-6vw, -52%, 0) rotate(0deg) scale(1.11);
}

.story-phone__frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,.45);
  border-radius: 38px;
  background: #080710;
  box-shadow:
    inset 0 0 0 5px #17131d,
    inset 0 0 0 7px rgba(255,255,255,.08),
    0 40px 90px rgba(0,0,0,.62),
    0 0 65px rgba(255,43,120,.16);
}

.story-phone__speaker {
  position: absolute;
  top: 9px;
  left: 50%;
  z-index: 20;
  width: 32%;
  height: 20px;
  border-radius: 20px;
  background: #05040a;
  transform: translateX(-50%);
}

.story-phone__status {
  position: absolute;
  top: 11px;
  right: 16px;
  left: 16px;
  z-index: 18;
  display: flex;
  justify-content: space-between;
  color: white;
  font-size: 7px;
  font-weight: 700;
}

.story-phone__screen {
  position: absolute;
  inset: 7px;
  overflow: hidden;
  border-radius: 31px;
  transition: opacity .55s ease, transform .7s cubic-bezier(.2,.75,.2,1), filter .55s ease;
}

.story-phone__portfolio {
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 22px 24px;
  background:
    radial-gradient(circle at 77% 27%, rgba(255,99,74,.5), transparent 22%),
    radial-gradient(circle at 70% 42%, rgba(120,67,255,.45), transparent 34%),
    #0a0718;
}

.story-phase-2 .story-phone__portfolio,
.story-phase-3 .story-phone__portfolio {
  opacity: 0;
  filter: blur(7px);
  transform: translateX(-28%);
}

.phone-portfolio__top {
  position: absolute;
  top: 34px;
  right: 17px;
  left: 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-portfolio__top b {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  background: var(--pink);
  color: white;
  font-family: var(--display);
  font-size: 12px;
  font-style: italic;
  clip-path: polygon(7px 0,100% 0,calc(100% - 7px) 100%,0 100%);
}

.phone-portfolio__top i,
.phone-portfolio__top i::before {
  display: block;
  width: 19px;
  height: 1px;
  content: "";
  background: rgba(255,255,255,.65);
}

.phone-portfolio__top i::before { transform: translateY(5px); }

.story-phone__portfolio > span {
  margin-bottom: 11px;
  color: var(--cyan);
  font-size: 5px;
  font-weight: 800;
  letter-spacing: .18em;
}

.story-phone__portfolio h3 {
  color: white;
  font-family: var(--display);
  font-size: clamp(35px, 4vw, 54px);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -.05em;
  line-height: .7;
  text-transform: uppercase;
}

.story-phone__portfolio h3 em {
  color: var(--pink);
  font-style: inherit;
}

.story-phone__portfolio p {
  margin-top: 23px;
  color: rgba(255,255,255,.56);
  font-size: 7px;
  line-height: 1.55;
}

.story-phone__portfolio button {
  height: 34px;
  margin-top: 18px;
  border: 0;
  background: linear-gradient(110deg, var(--pink), var(--coral));
  color: white;
  font: inherit;
  font-size: 6px;
  font-weight: 800;
  letter-spacing: .13em;
}

.story-phone__portfolio button b { margin-left: 14px; }

.phone-portfolio__nav {
  position: absolute;
  right: 19px;
  bottom: 18px;
  left: 19px;
  display: flex;
  justify-content: space-between;
}

.phone-portfolio__nav i {
  width: 26%;
  height: 1px;
  background: rgba(255,255,255,.16);
}

.story-phone__chat {
  z-index: 5;
  opacity: 0;
  background: #0c1612;
  filter: blur(6px);
  transform: translateX(28%);
}

.story-phase-2 .story-phone__chat,
.story-phase-3 .story-phone__chat {
  opacity: 1;
  filter: none;
  transform: none;
}

.phone-chat__head {
  display: grid;
  grid-template-columns: 14px 31px 1fr;
  gap: 7px;
  align-items: center;
  height: 68px;
  padding: 24px 12px 8px;
  background: #142b23;
  color: white;
}

.phone-chat__back { color: rgba(255,255,255,.7); font-size: 20px; }

.phone-chat__avatar {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--pink), var(--violet));
  font-family: var(--display);
  font-size: 13px;
  font-style: italic;
  font-weight: 800;
}

.phone-chat__head b,
.phone-chat__head small { display: block; }
.phone-chat__head b { font-size: 8px; }
.phone-chat__head small { margin-top: 2px; color: rgba(255,255,255,.55); font-size: 5px; }

.phone-chat__body {
  position: relative;
  display: flex;
  height: calc(100% - 105px);
  flex-direction: column;
  align-items: flex-end;
  padding: 31px 11px 12px;
  background:
    linear-gradient(rgba(8,16,13,.88), rgba(8,16,13,.88)),
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.08) 0 1px, transparent 1.5px) 0 0 / 17px 17px;
}

.phone-chat__day {
  position: absolute;
  top: 11px;
  left: 50%;
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(28,47,40,.9);
  color: rgba(255,255,255,.5);
  font-size: 4px;
  font-weight: 700;
  letter-spacing: .1em;
  transform: translateX(-50%);
}

.phone-chat__bubble,
.phone-chat__reply {
  position: relative;
  max-width: 86%;
  min-height: 33px;
  padding: 9px 9px 14px;
  border-radius: 8px 1px 8px 8px;
  background: #185a43;
  color: white;
  font-size: 6px;
  line-height: 1.5;
  box-shadow: 0 7px 18px rgba(0,0,0,.14);
}

.phone-chat__bubble small,
.phone-chat__reply small {
  position: absolute;
  right: 6px;
  bottom: 4px;
  color: rgba(255,255,255,.5);
  font-size: 4px;
}

.phone-chat__bubble i {
  display: inline-block;
  width: 1px;
  height: 8px;
  margin-left: 1px;
  background: var(--cyan);
  vertical-align: -1px;
  animation: story-caret .7s steps(1) infinite;
}

.phone-chat__reply {
  align-self: flex-start;
  margin-top: 10px;
  border-radius: 1px 8px 8px 8px;
  background: #18231f;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .5s ease, transform .5s ease;
}

.story-phase-3 .phone-chat__reply {
  opacity: 1;
  transform: none;
}

.phone-chat__input {
  position: absolute;
  right: 10px;
  bottom: 8px;
  left: 10px;
  display: flex;
  height: 31px;
  align-items: center;
  justify-content: space-between;
  padding-left: 12px;
  border-radius: 18px;
  background: #1b2924;
  color: rgba(255,255,255,.36);
  font-size: 6px;
}

.phone-chat__input b {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: #1c9b66;
  color: white;
  font-size: 10px;
}

.story-phone__shadow {
  position: absolute;
  right: 9%;
  bottom: -8%;
  left: 9%;
  z-index: -1;
  height: 13%;
  border-radius: 50%;
  background: rgba(0,0,0,.72);
  filter: blur(18px);
}

@keyframes story-caret { 50% { opacity: 0; } }

.contact-story__cta {
  position: absolute;
  right: max(8vw, calc((100vw - 1180px) / 2));
  bottom: 28px;
  z-index: 12;
  display: inline-flex;
  height: 52px;
  align-items: center;
  gap: 24px;
  padding: 0 22px;
  background: #28bd7b;
  color: #06140e;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity .5s ease, transform .5s ease, box-shadow .25s ease;
  clip-path: polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px);
}

.story-phase-3 .contact-story__cta {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.contact-story__cta:hover {
  box-shadow: 6px 6px 0 var(--pink);
  transform: translate(2px,2px);
}

.contact-story__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 15;
  width: 100%;
  height: 3px;
  background: rgba(255,255,255,.12);
}

.contact-story__progress i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--pink), var(--coral), var(--cyan));
  box-shadow: 0 0 12px var(--pink);
}

@media (max-width: 900px) {
  .contact-story { height: 420vh; }
  .contact-story__scene { object-position: 38% center; }
  .contact-story__visitor {
    bottom: -3%;
    height: min(70vh, 690px);
    transform: translate3d(calc(110vw - var(--story) * 83vw), calc(var(--story) * 3vh), 0) scale(calc(.76 + var(--story) * .08));
  }
  .contact-story__copy { top: 29%; left: 32px; width: calc(100% - 64px); }
  .contact-story__beat h2 { max-width: 630px; font-size: clamp(58px, 12vw, 90px); }
  .story-phone { top: 64%; right: 8%; width: min(250px, 42vw); }
  .story-phase-2 .story-phone,
  .story-phase-3 .story-phone { transform: translate3d(0, -50%, 0) rotate(1deg) scale(1.03); }
  .contact-story__cta { right: 32px; bottom: 22px; }
}

@media (max-width: 560px) {
  .contact-story__sticky { min-height: 610px; }
  .contact-story__scene { inset: -7%; width: 114%; height: 114%; object-position: 34% center; }
  .contact-story__visitor {
    bottom: -1%;
    height: min(53vh, 510px);
    transform: translate3d(calc(113vw - var(--story) * 96vw), calc(var(--story) * 2vh), 0) scale(calc(.76 + var(--story) * .08));
  }
  .contact-story__visitor::before { width: 88px; }
  .contact-story__grade {
    background:
      linear-gradient(to bottom, rgba(5,3,13,.5), rgba(5,3,13,.12) 38%, rgba(5,3,13,.82) 82%),
      linear-gradient(90deg, rgba(5,3,13,.62), transparent 70%);
  }
  .contact-story__hud { top: 22px; right: 20px; left: 20px; }
  .contact-story__copy { top: 24%; left: 20px; width: calc(100% - 40px); }
  .contact-story__beat h2 { font-size: clamp(48px, 15vw, 67px); }
  .contact-story__beat > span { margin-bottom: 13px; font-size: 6px; }
  .story-phone { top: 64%; right: 50%; width: min(218px, 60vw); transform: translate3d(160%, -38%, 0) rotate(10deg) scale(.8); }
  .story-phase-1 .story-phone,
  .story-phase-2 .story-phone,
  .story-phase-3 .story-phone { transform: translate3d(50%, -50%, 0) rotate(-1deg) scale(1); }
  .story-phase-3 .story-phone { transform: translate3d(50%, -52%, 0) rotate(0) scale(1.035); }
  .contact-story__cta { right: 20px; bottom: 16px; left: 20px; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .contact-story { height: 100vh; }
  .contact-story__scene { transform: none; }
  .contact-story__visitor { display: none; }
  .contact-story__beat:not(:first-child),
  .story-phone,
  .contact-story__progress { display: none; }
}

/* --------------------------------------------------------------------------
   MOTION DIRECTOR 2.0
   Masked hero lettering + pinned project frames. Scroll progress is
   supplied by the native motion director in portfolio.js; no CDN is required.
   -------------------------------------------------------------------------- */

/* Hero copy now enters through two masked frames instead of a flat fade. */
.js .hero h1[data-reveal] {
  opacity: 1;
  overflow: hidden;
  transform: skew(-2deg);
}

.js .hero h1[data-reveal] > span {
  clip-path: inset(0 0 105% 0);
  transform: translate3d(0, 85%, 0) skewY(5deg);
  transition: clip-path 1s cubic-bezier(.16,.8,.2,1), transform 1s cubic-bezier(.16,.8,.2,1);
}

.js .hero h1[data-reveal].is-visible > span {
  clip-path: inset(0);
  transform: translate3d(0, 0, 0) skewY(0);
}

.js .hero h1[data-reveal].is-visible > span:last-child { transition-delay: .09s; }

.js [data-reveal] {
  filter: blur(9px);
  transition-property: opacity, transform, filter;
}

.js [data-reveal].is-visible { filter: none; }

.js .about__media[data-reveal] {
  clip-path: polygon(0 0, 22% 0, 22% 100%, 0 100%);
  transition: opacity .9s ease, transform 1.05s cubic-bezier(.16,.8,.2,1), clip-path 1.15s cubic-bezier(.16,.8,.2,1);
}

.js .about__media[data-reveal].is-visible { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }

.projects__rail-hud { display: none; }

@media (min-width: 961px) {
  .projects.section {
    height: 390vh;
    padding: 0;
    content-visibility: visible;
    contain-intrinsic-size: none;
  }

  .projects__sticky {
    position: sticky;
    top: 0;
    z-index: 2;
    width: 100%;
    height: 100svh;
    min-height: 680px;
    padding: 52px max(48px, calc((100vw - 1240px) / 2));
    overflow: hidden;
  }

  .projects .section__head {
    align-items: center;
    margin-bottom: 32px;
  }

  .projects .section__head h2 {
    margin-top: 15px;
    font-size: clamp(54px, 5.2vw, 82px);
  }

  .projects .section__head > p { max-width: 350px; padding: 0; }

  .projects .project-list {
    display: flex;
    width: max-content;
    gap: 26px;
    transform: translate3d(var(--project-x, 0px), 0, 0);
    will-change: transform;
  }

  .projects .project-card {
    width: min(1040px, 76vw);
    height: min(50vh, 500px);
    min-height: 390px;
    flex: 0 0 auto;
    opacity: .34;
    filter: saturate(.68) brightness(.72);
    transform: perspective(1300px) rotateY(5deg) scale(.92);
    transform-origin: left center;
    transition: opacity .48s ease, filter .48s ease, transform .58s cubic-bezier(.16,.8,.2,1), border-color .3s ease, box-shadow .3s ease;
  }

  .projects .project-card:nth-child(even) { transform: perspective(1300px) rotateY(-5deg) scale(.92); }

  .projects .project-card.is-active {
    opacity: 1;
    filter: none;
    transform: perspective(1300px) rotateY(0) scale(1);
  }

  .projects .project-card__visual,
  .projects .project-card__copy { height: 100%; min-height: 0; }

  .projects .projects__note {
    position: absolute;
    bottom: 24px;
    left: max(48px, calc((100vw - 1240px) / 2));
    z-index: 5;
    margin: 0;
  }

  .projects__rail-hud {
    position: absolute;
    right: max(48px, calc((100vw - 1240px) / 2));
    bottom: 23px;
    z-index: 5;
    display: grid;
    width: min(390px, 32vw);
    grid-template-columns: 24px 1fr 24px;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,.48);
    font-family: monospace;
    font-size: 8px;
  }

  .projects__rail-hud > i {
    height: 1px;
    overflow: hidden;
    background: rgba(255,255,255,.16);
  }

  .projects__rail-hud > i b {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--pink), var(--cyan));
    box-shadow: 0 0 8px var(--pink);
  }

  .projects__rail-hud > small {
    grid-column: 1 / -1;
    margin-top: -4px;
    color: rgba(255,255,255,.25);
    font-size: 6px;
    letter-spacing: .18em;
    text-align: right;
  }
}

@media (prefers-reduced-motion: reduce) {
  .projects.section { height: auto; padding: 100px max(20px, calc((100vw - 1240px) / 2)); }
  .projects__sticky { position: relative; height: auto; min-height: 0; padding: 0; overflow: visible; }
  .projects .project-list { display: grid; width: auto; transform: none; }
  .projects .project-card { width: auto; height: auto; min-height: 0; opacity: 1; filter: none; transform: none; }
  .projects .projects__note { position: static; margin-top: 46px; }
  .projects__rail-hud { display: none; }
}
