/* RECAST LAB — main stylesheet */
:root {
  --bg: #0a0a0a;
  --surface: #151515;
  --paper: #e8e5dc;
  --ink: #111;
  --acid: #ffffff;
  --muted: #9b9b95;
  --line: rgba(232, 229, 220, 0.25);
  --pad: clamp(1.2rem, 4vw, 4.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--paper);
  font-family: "IBM Plex Mono", monospace;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }

a { color: inherit; }
button { font: inherit; }
::selection { background: var(--acid); color: var(--ink); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--pad);
  border-bottom: 1px solid var(--line);
  background: rgba(10,10,10,.82);
  backdrop-filter: blur(12px);
}
.brand {
  display: flex;
  align-items: center;
  gap: .8rem;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: .08em;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--acid);
  color: var(--ink);
  font-weight: 700;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.main-nav > a,
.dropdown-toggle {
  color: var(--paper);
  background: none;
  border: 0;
  padding: .6rem 0;
  text-decoration: none;
  text-transform: uppercase;
  font-size: .82rem;
  letter-spacing: .1em;
  cursor: pointer;
}
.main-nav > a:hover,
.dropdown-toggle:hover { color: var(--acid); }
.nav-dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + .8rem);
  right: 0;
  min-width: 210px;
  padding: .5rem;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--ink);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: .2s ease;
}
.nav-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: .75rem;
  color: inherit;
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(0,0,0,.2);
}
.dropdown-menu a:last-child { border-bottom: 0; }
.dropdown-menu a:hover { background: var(--acid); }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 12px;
  background: none;
  border: 1px solid var(--line);
}
.menu-toggle span:not(.sr-only) {
  display: block;
  height: 1px;
  background: var(--paper);
  margin: 6px 0;
  transition: .2s;
}

.section {
  min-height: 100vh;
  padding: 8rem var(--pad);
}
.section-label {
  margin-bottom: 4rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: .78rem;
  letter-spacing: .12em;
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 8.5rem;
}
.hero-kicker {
  display: flex;
  justify-content: space-between;
  margin-bottom: clamp(2rem, 6vh, 5rem);
  color: var(--muted);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.hero-title {
  margin: 0;
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(4rem, 12.5vw, 12rem);
  line-height: .78;
  letter-spacing: -.06em;
  text-transform: uppercase;
}
.hero-title span { display: block; }
.hero-title .outline {
  color: transparent;
  -webkit-text-stroke: clamp(1px, .11vw, 2px) var(--paper);
}
.hero-title .solid {
  color: var(--acid);
  transform: translateX(clamp(0rem, 5vw, 5rem));
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(250px, 520px) auto;
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
  margin-top: 4rem;
}
.hero-copy {
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.35rem);
}
.hero-stamp {
  width: 190px;
  aspect-ratio: 1;
  border: 1px solid var(--paper);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotate(7deg);
  text-align: center;
  font-size: .65rem;
  letter-spacing: .1em;
}
.hero-stamp strong {
  color: var(--acid);
  font-family: "Archivo Black";
  font-size: 2.2rem;
}
.scroll-cue {
  align-self: flex-start;
  margin-top: 4rem;
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid var(--paper);
}
.scroll-cue:hover { color: var(--acid); border-color: var(--acid); }

.marquee {
  overflow: hidden;
  background: var(--acid);
  color: var(--ink);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 24s linear infinite;
  font-family: "Archivo Black";
  font-size: clamp(1.5rem, 4vw, 4rem);
  line-height: 1;
  padding: 1rem 0;
  white-space: nowrap;
}
@keyframes marquee { to { transform: translateX(-50%); } }

.about { background: var(--paper); color: var(--ink); }
.about .section-label { border-color: rgba(0,0,0,.28); color: #555; }
.about-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(3rem, 8vw, 9rem);
}
.section-heading {
  position: sticky;
  top: 8rem;
  align-self: start;
  margin: 0;
  font-family: "Archivo Black";
  font-size: clamp(3rem, 7vw, 7rem);
  line-height: .9;
  letter-spacing: -.055em;
}
.about-copy p { max-width: 720px; margin: 0 0 2rem; }
.about-copy .lead {
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  line-height: 1.4;
}
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 7rem;
  border-top: 2px solid var(--ink);
}
.timeline article {
  padding: 1.5rem 1rem 1rem 0;
  border-right: 1px solid rgba(0,0,0,.25);
}
.timeline article:last-child { border-right: 0; }
.timeline strong {
  display: block;
  font-family: "Archivo Black";
  font-size: clamp(1.5rem, 3vw, 3rem);
}
.timeline span { font-size: .78rem; }

.works { padding-bottom: 0; }
.project {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  min-height: 86vh;
  margin: 0 calc(var(--pad) * -1);
  border-top: 1px solid var(--line);
}
.project > * { padding: clamp(2rem, 6vw, 6rem) var(--pad); }
.project-visual {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background:
    linear-gradient(135deg, transparent 0 38%, rgba(217,255,67,.16) 38% 40%, transparent 40% 100%),
    repeating-linear-gradient(-8deg, #131313 0 14px, #1d1d1d 14px 28px);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.project-pvnk .project-visual {
  background:
    radial-gradient(circle at 70% 30%, rgba(217,255,67,.35), transparent 23%),
    repeating-radial-gradient(circle at 60% 40%, #121212 0 11px, #202020 12px 19px);
  border-right: 0;
  border-left: 1px solid var(--line);
}
.visual-number {
  font-size: .8rem;
  color: var(--acid);
}
.visual-word {
  font-family: "Archivo Black";
  font-size: clamp(4rem, 10vw, 11rem);
  line-height: .78;
  letter-spacing: -.08em;
  color: transparent;
  -webkit-text-stroke: 2px var(--paper);
  overflow-wrap: anywhere;
}
.image-note {
  margin: 0;
  max-width: 400px;
  color: var(--muted);
  font-size: .72rem;
}
.image-note code { color: var(--acid); }
.project-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.project-type {
  color: var(--acid);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.project-title {
  margin: 1rem 0 2.5rem;
  font-family: "Archivo Black";
  font-size: clamp(4rem, 8vw, 9rem);
  line-height: .8;
  letter-spacing: -.065em;
}
.project-info > p:not(.project-type) { max-width: 650px; }
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 2rem;
}
.project-tags span {
  padding: .55rem .8rem;
  border: 1px solid var(--line);
  font-size: .7rem;
  text-transform: uppercase;
}

.contacts {
  min-height: auto;
  background: var(--acid);
  color: var(--ink);
}
.contacts .section-label { border-color: rgba(0,0,0,.35); color: #333; }
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: end;
  gap: 5rem;
}
.contact-heading {
  margin: 0;
  font-family: "Archivo Black";
  font-size: clamp(3.5rem, 8.7vw, 9rem);
  line-height: .82;
  letter-spacing: -.065em;
}
.contact-heading span {
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
}
.contact-links a {
  position: relative;
  display: block;
  padding: 1.5rem 3rem 1.5rem 0;
  border-top: 2px solid var(--ink);
  color: var(--ink);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.contact-links a:last-child { border-bottom: 2px solid var(--ink); }
.contact-links span {
  display: block;
  margin-bottom: .45rem;
  font-size: .7rem;
  text-transform: uppercase;
}
.contact-links b {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
}
.contact-links a:hover { padding-left: 1rem; background: rgba(0,0,0,.07); }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem var(--pad);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .7rem;
}
.site-footer a { text-decoration: none; }

.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity .75s ease, transform .75s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: 73px 0 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 2rem var(--pad);
    background: var(--bg);
    transform: translateX(100%);
    transition: transform .3s ease;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav > a,
  .dropdown-toggle {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
    text-align: left;
  }
  .dropdown-menu {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: var(--surface);
    color: var(--paper);
    border: 0;
  }
  .nav-dropdown.open .dropdown-menu { display: block; }
  .hero-grid,
  .about-layout,
  .contact-layout { grid-template-columns: 1fr; }
  .hero-title .solid { transform: none; }
  .hero-stamp { display: none; }
  .section-heading { position: static; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .project { grid-template-columns: 1fr; }
  .project-pvnk .project-info { order: 2; }
  .project-visual,
  .project-pvnk .project-visual {
    min-height: 500px;
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  .brand-name { display: none; }
  .section { padding-top: 6.5rem; padding-bottom: 6.5rem; }
  .hero { min-height: 100svh; }
  .hero-title { font-size: clamp(3.45rem, 18vw, 6rem); }
  .hero-kicker { gap: 1rem; }
  .timeline { grid-template-columns: 1fr; }
  .timeline article { border-right: 0; border-bottom: 1px solid rgba(0,0,0,.2); }
  .project-title { font-size: clamp(3.5rem, 18vw, 6rem); }
  .visual-word { font-size: clamp(3.8rem, 21vw, 7rem); }
  .site-footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}


/* Added images — clean edition */
.brand-mark {
  overflow: hidden;
  background: transparent;
  border: 1px solid var(--line);
}
.brand-mark img {
  width: 84%;
  height: 84%;
  object-fit: contain;
}

.hero-title-wrap {
  position: relative;
}
.hero-logo-clean {
  display: block;
  width: min(320px, 48vw);
  max-height: 110px;
  object-fit: contain;
  margin: 0 0 2rem auto;
  opacity: .92;
}

.about-photo {
  margin: 0 0 3rem;
  border: 1px solid rgba(0,0,0,.22);
  overflow: hidden;
}
.about-photo img {
  display: block;
  width: 100%;
  max-height: 680px;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1);
}

.project-visual {
  align-items: center;
}
.project-logo-clean {
  display: block;
  max-width: 84%;
  max-height: 58vh;
  object-fit: contain;
  margin: auto;
}
.dumbdry-logo-clean {
  width: min(760px, 84%);
}
.pvnk-logo-clean {
  width: min(520px, 72%);
}
.project-visual .image-note {
  align-self: flex-start;
}

@media (max-width: 900px) {
  .hero-logo-clean {
    margin-left: 0;
    width: min(300px, 70vw);
  }
}


/* Product galleries — added without changing the original design */
.product-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  margin-top: 3rem;
}
.gallery-item {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.18;
  padding: 0;
  overflow: hidden;
  background: #f3f3f0;
  border: 1px solid var(--line);
  cursor: zoom-in;
}
.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.gallery-item:hover img {
  transform: scale(1.035);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  place-items: center;
  padding: 2rem;
  background: rgba(0,0,0,.94);
}
.lightbox.open {
  display: grid;
}
.lightbox-image {
  max-width: min(92vw, 1400px);
  max-height: 88vh;
  object-fit: contain;
}
.lightbox-close {
  position: fixed;
  top: 1.2rem;
  right: 1.4rem;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.35);
  background: #0a0a0a;
  color: white;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 700px) {
  .product-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* Final readability tweaks */
.hero-stamp strong {
  font-size: 1.35rem;
  line-height: 1.15;
  max-width: 120px;
}

.contact-links a {
  font-size: clamp(1rem, 1.55vw, 1.35rem);
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -.02em;
}

.contact-links span {
  margin-bottom: .7rem;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .13em;
  opacity: .72;
}

.contact-links b {
  font-size: 1.8rem;
}

@media (max-width: 560px) {
  .contact-links a {
    font-size: 1rem;
    padding-right: 2.4rem;
  }
}


/* Experimental artistic layer inspired by Berlin poster culture */
.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #050505;
  color: var(--paper);
  transition:
    clip-path 1.15s cubic-bezier(.76, 0, .24, 1),
    visibility 0s linear 1.15s;
  clip-path: inset(0 0 0 0);
}
.intro-screen.is-finished {
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
}
.intro-screen::before,
.intro-screen::after {
  content: "";
  position: absolute;
  background: rgba(255,255,255,.18);
}
.intro-screen::before {
  top: 0;
  bottom: 0;
  left: 12vw;
  width: 1px;
}
.intro-screen::after {
  left: 0;
  right: 0;
  bottom: 14vh;
  height: 1px;
}
.intro-noise {
  position: absolute;
  inset: 0;
  opacity: .12;
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,.035) 0,
      rgba(255,255,255,.035) 1px,
      transparent 1px,
      transparent 4px
    );
  animation: introFlicker .18s steps(2) infinite;
}
.intro-center {
  position: relative;
  width: min(72vw, 780px);
  text-align: center;
}
.intro-logo {
  width: min(64vw, 680px);
  max-height: 31vh;
  object-fit: contain;
  opacity: 0;
  transform: scale(.88) skewX(-5deg);
  filter: blur(12px);
  animation: introLogo 1.15s .18s cubic-bezier(.19,1,.22,1) forwards;
}
.intro-line {
  width: 0;
  height: 1px;
  margin: 2rem auto 1.2rem;
  background: var(--acid);
  animation: introLine .9s .7s cubic-bezier(.19,1,.22,1) forwards;
}
.intro-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  overflow: hidden;
  font-size: clamp(.58rem, 1vw, .78rem);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.intro-meta span {
  opacity: 0;
  transform: translateY(130%);
  animation: introMeta .65s 1s forwards;
}
.intro-meta span:nth-child(2) { animation-delay: 1.12s; }
.intro-meta span:nth-child(3) { animation-delay: 1.24s; }
.intro-counter {
  position: absolute;
  right: 2rem;
  bottom: 1.4rem;
  font-size: clamp(2rem, 7vw, 6rem);
  font-family: "Archivo Black", sans-serif;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.35);
}
.intro-cross {
  position: absolute;
  font-size: clamp(2rem, 4vw, 4rem);
  color: var(--acid);
  font-weight: 200;
}
.intro-cross-one { left: 4vw; top: 7vh; }
.intro-cross-two { right: 5vw; bottom: 7vh; transform: rotate(45deg); }

@keyframes introLogo {
  to {
    opacity: 1;
    transform: scale(1) skewX(0);
    filter: blur(0);
  }
}
@keyframes introLine { to { width: 100%; } }
@keyframes introMeta {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes introFlicker {
  0% { transform: translateY(0); }
  100% { transform: translateY(2px); }
}

body.intro-active {
  overflow: hidden;
}

.cursor-orbit {
  position: fixed;
  z-index: 999;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(217,255,67,.55);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition:
    width .2s ease,
    height .2s ease,
    opacity .2s ease,
    border-color .2s ease;
  mix-blend-mode: difference;
}
.cursor-orbit.active { opacity: 1; }
.cursor-orbit.hovering {
  width: 76px;
  height: 76px;
  border-color: white;
}

.hero-line {
  transform-origin: left center;
}
body.site-entered .hero-line-one {
  animation: heroSliceIn .9s .15s cubic-bezier(.19,1,.22,1) both;
}
body.site-entered .hero-line-two {
  animation: heroSliceIn .9s .28s cubic-bezier(.19,1,.22,1) both;
}
@keyframes heroSliceIn {
  from {
    opacity: 0;
    transform: translateX(-7vw) skewX(-8deg);
    clip-path: inset(0 100% 0 0);
  }
  to {
    opacity: 1;
    transform: translateX(0) skewX(0);
    clip-path: inset(0 0 0 0);
  }
}

.project-visual,
.about-photo,
.gallery-item {
  transform-style: preserve-3d;
  transition:
    transform .55s cubic-bezier(.19,1,.22,1),
    filter .55s ease;
}
.project-visual:hover,
.about-photo:hover {
  transform: translateY(-5px);
}
.gallery-item:hover {
  transform: translateY(-5px) rotate(.35deg);
  filter: contrast(1.04);
}

.project-logo-clean {
  transition: transform .6s cubic-bezier(.19,1,.22,1);
}
.project-visual:hover .project-logo-clean {
  transform: scale(1.035);
}

.section-label::after {
  content: "";
  display: block;
  width: 0;
  height: 1px;
  margin-top: 1rem;
  background: currentColor;
  opacity: .5;
  transition: width .8s cubic-bezier(.19,1,.22,1);
}
.section-label.visible::after {
  width: 100%;
}

@media (hover: none), (pointer: coarse) {
  .cursor-orbit { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .intro-screen { display: none; }
  body.intro-active { overflow: auto; }
  .hero-line { animation: none !important; }
}


/* Checkerboard intro variation */
.intro-screen {
  clip-path: none;
  transition: visibility 0s linear 1.45s;
}

.intro-screen.is-finished {
  clip-path: none;
  visibility: hidden;
}

.intro-checkerboard {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(6, 1fr);
  pointer-events: none;
}

.intro-tile {
  background: #050505;
  border: .5px solid rgba(255,255,255,.025);
  transform: scale(1.01);
  transform-origin: center;
  transition:
    transform .72s cubic-bezier(.76, 0, .24, 1),
    opacity .55s ease;
  will-change: transform, opacity;
}

.intro-screen.checker-open .intro-tile {
  transform: scale(0);
  opacity: 0;
}

/* Keep the intro content above the checkerboard until opening begins */
.intro-center,
.intro-cross,
.intro-counter {
  z-index: 30;
  transition:
    opacity .35s ease,
    transform .45s cubic-bezier(.76, 0, .24, 1);
}

.intro-screen.checker-open .intro-center,
.intro-screen.checker-open .intro-cross,
.intro-screen.checker-open .intro-counter {
  opacity: 0;
  transform: scale(.96);
}

/* Blur lens inside the moving cursor */
.cursor-orbit {
  overflow: hidden;
  background: rgba(255,255,255,.025);
  backdrop-filter: blur(5px) saturate(.8);
  -webkit-backdrop-filter: blur(5px) saturate(.8);
  box-shadow:
    inset 0 0 18px rgba(255,255,255,.07),
    0 0 0 1px rgba(0,0,0,.18);
  mix-blend-mode: normal;
}

.cursor-orbit::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.018);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.cursor-orbit::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--acid);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px rgba(217,255,67,.75);
}

.cursor-orbit.hovering {
  backdrop-filter: blur(9px) saturate(.7);
  -webkit-backdrop-filter: blur(9px) saturate(.7);
}

@media (max-width: 700px) {
  .intro-checkerboard {
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(8, 1fr);
  }
}


/* Visible fluoro/black checkerboard fix */
.intro-checkerboard {
  background: #050505;
}

.intro-tile {
  border: 0;
  opacity: 1;
  transform: scale(1.02);
}

.intro-tile.tile-dark {
  background: #050505;
}

.intro-tile.tile-acid {
  background: var(--acid);
}

.intro-screen.checker-ready .intro-center,
.intro-screen.checker-ready .intro-cross,
.intro-screen.checker-ready .intro-counter {
  opacity: 1;
}

.intro-screen.checker-open .intro-tile {
  transform: scale(0);
  opacity: 0;
}

.intro-screen.checker-open .intro-tile.tile-acid {
  filter: brightness(1.05);
}

@media (prefers-reduced-motion: reduce) {
  .intro-checkerboard {
    display: none;
  }
}


/* Sequenced intro: checkerboard → logo → description → homepage */
.intro-center,
.intro-cross,
.intro-counter {
  opacity: 0;
  pointer-events: none;
}

.intro-center {
  transform: translateY(12px) scale(.97);
}

.intro-logo {
  opacity: 0 !important;
  transform: scale(.9) skewX(-4deg) !important;
  filter: blur(10px) !important;
  animation: none !important;
}

.intro-line {
  width: 0 !important;
  animation: none !important;
}

.intro-meta span {
  opacity: 0 !important;
  transform: translateY(120%) !important;
  animation: none !important;
}

.intro-screen.show-logo .intro-center {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition:
    opacity .5s ease,
    transform .65s cubic-bezier(.19,1,.22,1);
}

.intro-screen.show-logo .intro-logo {
  opacity: 1 !important;
  transform: scale(1) skewX(0) !important;
  filter: blur(0) !important;
  transition:
    opacity .65s ease,
    transform .8s cubic-bezier(.19,1,.22,1),
    filter .65s ease;
}

.intro-screen.show-meta .intro-line {
  width: 100% !important;
  transition: width .7s cubic-bezier(.19,1,.22,1);
}

.intro-screen.show-meta .intro-meta span {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition:
    opacity .45s ease,
    transform .55s cubic-bezier(.19,1,.22,1);
}

.intro-screen.show-meta .intro-meta span:nth-child(2) {
  transition-delay: .1s;
}

.intro-screen.show-meta .intro-meta span:nth-child(3) {
  transition-delay: .2s;
}

.intro-screen.show-meta .intro-counter,
.intro-screen.show-meta .intro-cross {
  opacity: 1;
  transition: opacity .45s ease;
}

.intro-screen.checker-open .intro-center,
.intro-screen.checker-open .intro-cross,
.intro-screen.checker-open .intro-counter {
  opacity: inherit;
  transform: none;
}

/* Larger, poster-like opening logo */
.intro-center {
  width: min(82vw, 920px);
}

.intro-logo {
  width: min(72vw, 780px);
  max-height: 36vh;
}

@media (max-width: 700px) {
  .intro-center {
    width: min(88vw, 620px);
  }

  .intro-logo {
    width: min(80vw, 560px);
  }
}


/* Black & white edition */
:root {
  --acid: #ffffff;
}

::selection {
  background: #ffffff;
  color: #000000;
}

.brand-mark {
  border-color: rgba(255,255,255,.45);
}

.hero-title .solid {
  color: #ffffff;
}

.marquee {
  background: #ffffff;
  color: #000000;
}

.hero-stamp strong,
.project-type,
.image-note code,
.visual-number {
  color: #ffffff;
}

.intro-tile.tile-acid {
  background: #ffffff;
}

.intro-line {
  background: #ffffff;
}

.cursor-orbit {
  border-color: rgba(255,255,255,.72);
}

.cursor-orbit::after {
  background: #ffffff;
  box-shadow: 0 0 10px rgba(255,255,255,.7);
}

.contact-heading span {
  -webkit-text-stroke: 2px #000000;
}

.project-visual {
  background:
    linear-gradient(135deg, transparent 0 38%, rgba(255,255,255,.13) 38% 40%, transparent 40% 100%),
    repeating-linear-gradient(-8deg, #131313 0 14px, #1d1d1d 14px 28px);
}

.project-pvnk .project-visual {
  background:
    radial-gradient(circle at 70% 30%, rgba(255,255,255,.22), transparent 23%),
    repeating-radial-gradient(circle at 60% 40%, #121212 0 11px, #202020 12px 19px);
}

.main-nav > a:hover,
.dropdown-toggle:hover,
.scroll-cue:hover {
  color: #ffffff;
  border-color: #ffffff;
}

.dropdown-menu a:hover {
  background: #000000;
  color: #ffffff;
}


/* Mobile-first master refinements */
html {
  scroll-padding-top: 76px;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  min-height: 72px;
}

.main-nav a,
.dropdown-toggle,
.menu-toggle,
.gallery-item,
.lightbox-nav,
.lightbox-close {
  touch-action: manipulation;
}

.project {
  position: relative;
  isolation: isolate;
}

.project > * {
  position: relative;
  z-index: 2;
}

.project-watermark {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  width: min(62vw, 760px);
  max-height: 55%;
  object-fit: contain;
  transform: translate(-50%, -50%);
  opacity: .025;
  pointer-events: none;
  filter: grayscale(1);
}

.project-pvnk .project-watermark {
  width: min(48vw, 560px);
}

/* Better gallery lightbox */
.lightbox {
  grid-template-columns: minmax(56px, 1fr) minmax(0, auto) minmax(56px, 1fr);
  grid-template-rows: auto 1fr;
  gap: 1rem;
  padding: 1rem 1.25rem 1.5rem;
}

.lightbox-topbar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  color: #fff;
  font-size: .75rem;
  letter-spacing: .12em;
}

.lightbox-close {
  position: static;
  width: 48px;
  height: 48px;
}

.lightbox-image {
  grid-column: 2;
  grid-row: 2;
}

.lightbox-nav {
  align-self: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(0,0,0,.45);
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}

.lightbox-prev {
  grid-column: 1;
  grid-row: 2;
  justify-self: end;
}

.lightbox-next {
  grid-column: 3;
  grid-row: 2;
  justify-self: start;
}

/* Cursor label */
.cursor-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: .58rem;
  letter-spacing: .12em;
  opacity: 0;
  transition: opacity .2s ease;
}

.cursor-orbit.hovering .cursor-label {
  opacity: 1;
}

/* About section desktop balance */
.about-copy {
  min-width: 0;
}

.about-photo {
  position: relative;
}

.about-photo::after {
  content: "DAVIDE ROSSI / RECAST LAB";
  position: absolute;
  left: 1rem;
  bottom: .8rem;
  padding: .35rem .55rem;
  background: rgba(0,0,0,.72);
  color: #fff;
  font-size: .62rem;
  letter-spacing: .1em;
}

/* Mobile optimization */
@media (max-width: 900px) {
  :root {
    --pad: clamp(1rem, 4.8vw, 1.5rem);
  }

  body {
    font-size: 15px;
    line-height: 1.58;
  }

  .site-header {
    padding-top: .8rem;
    padding-bottom: .8rem;
  }

  .section {
    min-height: auto;
    padding-top: 6.25rem;
    padding-bottom: 6.25rem;
  }

  .hero {
    min-height: 100svh;
    padding-top: 7.5rem;
    padding-bottom: 2rem;
  }

  .hero-kicker {
    margin-bottom: 2.5rem;
    font-size: .65rem;
    line-height: 1.4;
  }

  .hero-title {
    font-size: clamp(3.8rem, 18vw, 7rem);
    line-height: .82;
  }

  .hero-grid {
    margin-top: 2.25rem;
    gap: 1.75rem;
  }

  .hero-copy {
    max-width: 34rem;
    font-size: 1rem;
    line-height: 1.6;
  }

  .scroll-cue {
    margin-top: 2.5rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .marquee-track {
    font-size: clamp(1.15rem, 7vw, 2.4rem);
    padding: .8rem 0;
  }

  .section-label {
    margin-bottom: 2.5rem;
  }

  .about-layout {
    gap: 2.5rem;
  }

  .section-heading {
    font-size: clamp(2.9rem, 14vw, 5rem);
    line-height: .92;
  }

  .about-photo {
    margin-bottom: 2rem;
  }

  .about-photo img {
    max-height: none;
    aspect-ratio: 4 / 5;
    object-position: center;
  }

  .about-copy .lead {
    font-size: 1.2rem;
  }

  .about-copy p {
    margin-bottom: 1.45rem;
  }

  .timeline {
    margin-top: 3.5rem;
  }

  .timeline article {
    padding: 1rem 0;
  }

  .project {
    min-height: auto;
  }

  .project > * {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .project-visual,
  .project-pvnk .project-visual {
    min-height: 58svh;
  }

  .project-title {
    margin-bottom: 1.75rem;
    font-size: clamp(3.5rem, 18vw, 6rem);
  }

  .project-info > p:not(.project-type) {
    font-size: .95rem;
  }

  .project-tags {
    gap: .45rem;
    margin-top: 1.5rem;
  }

  .project-tags span {
    padding: .48rem .65rem;
    font-size: .64rem;
  }

  .product-gallery {
    gap: .5rem;
    margin-top: 2rem;
  }

  .gallery-item {
    aspect-ratio: 1 / 1.12;
  }

  .project-watermark {
    width: 92vw;
    opacity: .02;
  }

  .project-pvnk .project-watermark {
    width: 74vw;
  }

  .contact-layout {
    gap: 3rem;
  }

  .contact-heading {
    font-size: clamp(3rem, 15vw, 5.5rem);
    line-height: .86;
  }

  .contact-links a {
    min-height: 76px;
    display: block;
    padding-top: 1.15rem;
    padding-bottom: 1.15rem;
    font-size: .95rem;
  }

  .site-footer {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
  }
}

@media (max-width: 560px) {
  .intro-meta {
    display: grid;
    justify-content: center;
    gap: .35rem;
  }

  .intro-meta span {
    text-align: center;
  }

  .hero-logo-clean {
    width: min(240px, 72vw);
    margin-bottom: 1.4rem;
  }

  .hero-title {
    font-size: clamp(3.15rem, 17vw, 5.8rem);
  }

  .hero-kicker {
    flex-direction: column;
    gap: .35rem;
  }

  .project-visual,
  .project-pvnk .project-visual {
    min-height: 52svh;
  }

  .project-logo-clean {
    max-width: 82%;
    max-height: 40svh;
  }

  .product-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .lightbox {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr auto;
    padding: .75rem;
  }

  .lightbox-topbar {
    grid-column: 1 / -1;
  }

  .lightbox-image {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: 96vw;
    max-height: 74svh;
  }

  .lightbox-prev,
  .lightbox-next {
    grid-row: 3;
    width: 100%;
    height: 52px;
    justify-self: stretch;
  }

  .lightbox-prev {
    grid-column: 1;
  }

  .lightbox-next {
    grid-column: 2;
  }

  .contact-links a {
    overflow-wrap: anywhere;
  }
}

/* Reduced animation load on mobile */
@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  .project-visual:hover,
  .about-photo:hover,
  .gallery-item:hover {
    transform: none;
  }

  .gallery-item img {
    transition-duration: .2s;
  }

  .cursor-orbit {
    display: none;
  }
}


/* iPhone and narrow-screen fixes */
:root {
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.site-header {
  padding-left: calc(var(--pad) + var(--safe-left));
  padding-right: calc(var(--pad) + var(--safe-right));
  padding-top: calc(.8rem + var(--safe-top));
}

.main-nav {
  background: #050505;
  color: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

@media (max-width: 900px) {
  .main-nav {
    inset:
      calc(72px + var(--safe-top))
      0
      0
      0;
    padding:
      1.25rem
      calc(var(--pad) + var(--safe-right))
      calc(2rem + var(--safe-bottom))
      calc(var(--pad) + var(--safe-left));
    background: #050505;
    border-top: 1px solid rgba(255,255,255,.16);
    box-shadow: 0 20px 60px rgba(0,0,0,.65);
  }

  .main-nav > a,
  .dropdown-toggle {
    color: #ffffff;
    background: #050505;
    min-height: 58px;
    align-items: center;
    font-size: 1rem;
  }

  .dropdown-menu {
    margin-top: .25rem;
    background: #111111;
    color: #ffffff;
    border: 1px solid rgba(255,255,255,.15);
  }

  .dropdown-menu a {
    color: #ffffff;
    background: #111111;
    min-height: 52px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }

  .dropdown-menu a:hover,
  .dropdown-menu a:focus {
    background: #ffffff;
    color: #000000;
  }

  .section,
  .site-footer {
    padding-left: calc(var(--pad) + var(--safe-left));
    padding-right: calc(var(--pad) + var(--safe-right));
  }

  .hero {
    overflow: hidden;
  }

  .hero-title {
    width: 100%;
    max-width: 100%;
    font-size: clamp(2.85rem, 15.4vw, 5.8rem);
    line-height: .86;
    letter-spacing: -.072em;
    overflow-wrap: normal;
    word-break: keep-all;
  }

  .hero-title span {
    width: 100%;
    max-width: 100%;
    white-space: nowrap;
  }

  .hero-title .outline,
  .hero-title .solid {
    transform: none !important;
  }

  .hero-title-wrap {
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }

  .hero-logo-clean {
    max-width: min(72vw, 260px);
    height: auto;
  }

  .contact-heading {
    width: 100%;
    max-width: 100%;
    font-size: clamp(2.65rem, 13.2vw, 5.2rem);
    line-height: .9;
    letter-spacing: -.064em;
    overflow-wrap: normal;
    word-break: keep-all;
  }

  .contact-heading br {
    display: block;
  }

  .contact-heading span {
    display: inline-block;
    max-width: 100%;
  }

  .contact-layout {
    overflow: visible;
  }

  .contact-links {
    min-width: 0;
    width: 100%;
  }

  .contact-links a {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: anywhere;
    word-break: break-word;
    padding-right: 2.8rem;
  }

  .project-title,
  .section-heading,
  .visual-word {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 430px) {
  :root {
    --pad: 1rem;
  }

  .brand-mark {
    width: 2.25rem;
    height: 2.25rem;
  }

  .menu-toggle {
    width: 46px;
    height: 46px;
  }

  .hero {
    min-height: 100svh;
    padding-top: calc(6.8rem + var(--safe-top));
    padding-bottom: calc(1.5rem + var(--safe-bottom));
  }

  .hero-title {
    font-size: clamp(2.55rem, 14.6vw, 4.5rem);
    line-height: .89;
    letter-spacing: -.068em;
  }

  .hero-title .outline {
    -webkit-text-stroke: 1px #ffffff;
  }

  .hero-kicker {
    margin-bottom: 1.8rem;
  }

  .hero-copy {
    font-size: .94rem;
    line-height: 1.55;
  }

  .section-heading {
    font-size: clamp(2.55rem, 13.2vw, 4.5rem);
  }

  .project-title {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .contact-heading {
    font-size: clamp(2.45rem, 12.2vw, 4rem);
    line-height: .92;
  }

  .contact-heading span {
    -webkit-text-stroke: 1.5px #000000;
  }

  .contact-links a {
    font-size: .9rem;
    line-height: 1.4;
  }

  .site-footer {
    padding-bottom: calc(1.25rem + var(--safe-bottom));
  }
}

@media (max-width: 375px) {
  .hero-title {
    font-size: clamp(2.35rem, 14vw, 3.9rem);
  }

  .contact-heading {
    font-size: clamp(2.2rem, 11.7vw, 3.5rem);
  }

  .project-title {
    font-size: clamp(2.8rem, 14vw, 4.4rem);
  }
}


/* Final iPhone-safe typography and intro cleanup */
.intro-counter {
  display: none !important;
}

/* Prevent large headings from ever overflowing */
.hero-title,
.contact-heading,
.section-heading,
.project-title {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

/* Desktop remains visually unchanged */
@media (max-width: 900px) {
  .hero-title {
    display: grid;
    gap: .02em;
    font-size: clamp(2.35rem, 13.8vw, 5.35rem);
    line-height: .9;
    letter-spacing: -.065em;
  }

  .hero-title span {
    display: block;
    width: 100%;
    max-width: 100%;
    white-space: normal;
    overflow: visible;
  }

  .hero-title .outline {
    overflow-wrap: normal;
    word-break: normal;
  }

  .hero-title .solid {
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .contact-heading {
    font-size: clamp(2.25rem, 11.8vw, 4.75rem);
    line-height: .94;
    letter-spacing: -.058em;
  }

  .contact-heading,
  .contact-heading span {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
  }
}

/* Standard modern iPhones */
@media (max-width: 430px) {
  .hero-title {
    font-size: clamp(2.15rem, 12.9vw, 4.15rem);
    line-height: .92;
    letter-spacing: -.06em;
  }

  .contact-heading {
    font-size: clamp(2.05rem, 10.8vw, 3.65rem);
    line-height: .96;
    letter-spacing: -.052em;
  }

  .contact-heading span {
    -webkit-text-stroke: 1.25px #000000;
  }
}

/* iPhone SE and other very narrow screens */
@media (max-width: 375px) {
  .hero-title {
    font-size: clamp(1.98rem, 12.25vw, 3.55rem);
    line-height: .94;
    letter-spacing: -.055em;
  }

  .contact-heading {
    font-size: clamp(1.9rem, 10.2vw, 3.15rem);
    line-height: .98;
    letter-spacing: -.047em;
  }
}

/* Extreme fallback, including browser zoom and split view */
@media (max-width: 340px) {
  .hero-title {
    font-size: 1.95rem;
    letter-spacing: -.045em;
  }

  .contact-heading {
    font-size: 1.82rem;
    letter-spacing: -.04em;
  }
}


/* Micro typography fix:
   make the final "E" in UNREPEATABLE slightly smaller */
.hero-title .solid .last-e,
.hero-title .solid span.last-e{
  font-size:0.94em;
  display:inline-block;
  vertical-align:baseline;
}

/* Balance UNIQUE / UNREPEATABLE on mobile */
@media (max-width:900px){
  .hero-copy .keywords,
  .hero-copy strong,
  .hero-copy .tagline{
    font-size:0.96em;
  }
  /* Fallback: second emphasized line in hero */
  .hero-copy p:last-child,
  .hero-copy .solid + *{
    font-size:0.96em;
  }
}

/* If UNIQUE / UNREPEATABLE is wrapped in spans */
.hero-copy .unrepeatable{
  font-size:0.96em;
}


/* Keep the final contact word on one line */
.unrepeatable-word {
  display: inline-block;
  white-space: nowrap;
}

@media (max-width: 430px) {
  .contact-heading .unrepeatable-word {
    font-size: .88em;
    letter-spacing: -.065em;
  }
}

@media (max-width: 375px) {
  .contact-heading .unrepeatable-word {
    font-size: .82em;
  }
}


/* Definitive mobile fit for UNREPEATABLE */
.contact-heading .unrepeatable-word {
  display: block !important;
  width: max-content !important;
  max-width: none !important;
  white-space: nowrap !important;
  overflow-wrap: normal !important;
  word-break: keep-all !important;
  hyphens: none !important;
}

@media (max-width: 900px) {
  .contact-heading .unrepeatable-word {
    font-size: min(9.4vw, .86em) !important;
    line-height: 1 !important;
    letter-spacing: -.075em !important;
  }
}

@media (max-width: 430px) {
  .contact-heading .unrepeatable-word {
    font-size: 9.1vw !important;
    letter-spacing: -.08em !important;
  }
}

@media (max-width: 375px) {
  .contact-heading .unrepeatable-word {
    font-size: 8.8vw !important;
    letter-spacing: -.085em !important;
  }
}

@media (max-width: 340px) {
  .contact-heading .unrepeatable-word {
    font-size: 8.45vw !important;
    letter-spacing: -.09em !important;
  }
}


/* Cleaner logo panels — black background with subtle fading grid */
.project-visual,
.project-pvnk .project-visual {
  position: relative;
  overflow: hidden;
  background: #0a0a0a !important;
}

.project-visual::before,
.project-pvnk .project-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: .28;
  -webkit-mask-image:
    linear-gradient(
      to bottom,
      rgba(0,0,0,.95) 0%,
      rgba(0,0,0,.58) 13%,
      transparent 34%,
      transparent 66%,
      rgba(0,0,0,.58) 87%,
      rgba(0,0,0,.95) 100%
    );
  mask-image:
    linear-gradient(
      to bottom,
      rgba(0,0,0,.95) 0%,
      rgba(0,0,0,.58) 13%,
      transparent 34%,
      transparent 66%,
      rgba(0,0,0,.58) 87%,
      rgba(0,0,0,.95) 100%
    );
}

.project-visual::after,
.project-pvnk .project-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      to bottom,
      rgba(255,255,255,.025),
      transparent 22%,
      transparent 78%,
      rgba(255,255,255,.025)
    );
}

.project-logo-clean,
.project-visual .visual-number,
.project-visual .image-note {
  position: relative;
  z-index: 2;
}

@media (max-width: 700px) {
  .project-visual::before,
  .project-pvnk .project-visual::before {
    background-size: 28px 28px;
    opacity: .22;
  }
}

.shop-link{display:inline-flex;margin:14px 0 28px;align-items:center;gap:.45rem;color:#fff;text-decoration:none;
font-size:.72rem;letter-spacing:.18em;text-transform:uppercase;border-bottom:1px solid rgba(255,255,255,.3);padding-bottom:6px;transition:.25s}
.shop-link span{transition:.25s}
.shop-link:hover{border-color:#fff}.shop-link:hover span{transform:translateX(4px)}


/* Editorial Vinted strips below each project description */
.shop-strip {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  width: 100%;
  margin: 2rem 0 2.6rem;
  padding: 1rem 0;
  color: #fff;
  text-decoration: none;
  border-top: 1px solid rgba(255,255,255,.22);
  border-bottom: 1px solid rgba(255,255,255,.22);
  overflow: hidden;
}

.shop-strip::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .35s ease;
}

.shop-strip-label,
.shop-strip-action {
  position: relative;
  z-index: 1;
  font-size: .7rem;
  line-height: 1;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.shop-strip-label {
  color: rgba(255,255,255,.58);
}

.shop-strip-action {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 500;
  white-space: nowrap;
}

.shop-strip-action b {
  font-weight: 400;
  transition: transform .28s ease;
}

.shop-strip:hover::after,
.shop-strip:focus-visible::after {
  transform: scaleX(1);
}

.shop-strip:hover .shop-strip-action b,
.shop-strip:focus-visible .shop-strip-action b {
  transform: translate(4px,-2px);
}

.shop-strip:focus-visible {
  outline: 1px solid #fff;
  outline-offset: 4px;
}

@media (max-width: 700px) {
  .shop-strip {
    margin: 1.6rem 0 2rem;
    padding: .9rem 0;
  }

  .shop-strip-label,
  .shop-strip-action {
    font-size: .63rem;
    letter-spacing: .14em;
  }
}

@media (max-width: 380px) {
  .shop-strip {
    grid-template-columns: 1fr;
    gap: .55rem;
  }

  .shop-strip-action {
    justify-self: start;
  }
}


/* === MOBILE MENU REFINEMENT === */
@media (max-width: 900px) {
  .main-nav {
    inset: calc(78px + env(safe-area-inset-top, 0px)) 0 auto 0 !important;
    width: 100% !important;
    min-height: auto !important;
    padding: 0 !important;
    background: rgba(5,5,5,.985) !important;
    border-top: 1px solid rgba(255,255,255,.12) !important;
    border-bottom: 1px solid rgba(255,255,255,.16) !important;
    box-shadow: 0 18px 40px rgba(0,0,0,.34) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
  }

  .main-nav > a,
  .main-nav .dropdown-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    min-height: 66px !important;
    padding: 0 1.25rem !important;
    margin: 0 !important;
    color: #fff !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.12) !important;
    font-size: clamp(1rem, 4.8vw, 1.28rem) !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
  }

  .main-nav > a:last-child {
    border-bottom: 0 !important;
  }

  .dropdown-menu {
    position: static !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #101010 !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .dropdown-menu a {
    min-height: 52px !important;
    padding: 0 1.5rem !important;
    display: flex !important;
    align-items: center !important;
    color: rgba(255,255,255,.82) !important;
    background: #101010 !important;
    border-bottom: 1px solid rgba(255,255,255,.08) !important;
    font-size: .8rem !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
  }

  .dropdown-menu a:hover,
  .dropdown-menu a:focus {
    background: #fff !important;
    color: #000 !important;
  }
}


/* === MORE SPACE BELOW PROJECT LOGOS === */
.project-visual .image-note {
  margin-top: 2.25rem !important;
}

@media (max-width: 900px) {
  .project-visual .image-note {
    margin-top: 2.7rem !important;
  }
}


/* === REMOVE DECORATIVE WATERMARK LOGOS COMPLETELY === */
.project-watermark,
.project-pvnk .project-watermark,
.project-dumbdry .project-watermark {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.project-pvnk,
.project-dumbdry,
.project-info,
.project-content {
  background-image: none !important;
}

.project-pvnk::before,
.project-pvnk::after,
.project-dumbdry::before,
.project-dumbdry::after,
.project-info::before,
.project-info::after {
  content: none !important;
  display: none !important;
  opacity: 0 !important;
  background: none !important;
  background-image: none !important;
}


/* === CLEAN INTRO SCROLL LOCK ===
   Locked only before the real homepage (WELCOME TO RECAST LAB) is shown. */
html.intro-lock-clean,
html.intro-lock-clean body,
body.intro-lock-clean {
  overflow: hidden !important;
  overscroll-behavior: none !important;
  touch-action: none !important;
}


/* Product gallery size normalization */
.product-gallery .gallery-item {
  aspect-ratio: 1 / 1.18;
}
.product-gallery .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* === INTRO SCROLL LOCK: active only until WELCOME screen === */
html.intro-lock-clean,
html.intro-lock-clean body,
body.intro-lock-clean {
  overflow: hidden !important;
  overscroll-behavior: none !important;
}

body.intro-lock-clean {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100svh !important;
  touch-action: none !important;
}
