/* ===== FONTS ===== */
@font-face {
  font-family: 'roc-grotesk';
  src: url('fonts/Roc Grotesk Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'roc-grotesk';
  src: url('fonts/Roc Grotesk Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'roc-grotesk';
  src: url('fonts/Roc Grotesk Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'roc-grotesk';
  src: url('fonts/Roc Grotesk Extra Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

.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;
}

:root {
  --bg: #181818;
  --surface: #202020;
  --border: #383838;
  --text: #e0e0e0;
  --text-muted: #8a8a8a;
  --radius: 3px;
  --transition: 0.25s ease;
  --max-w: 100%;
  --halo-text: 0 0 20px rgba(255, 255, 255, 0.06);
  --halo-box:  0 0 30px rgba(255, 255, 255, 0.05);
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'roc-grotesk', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.45;
  font-size: 30px;
  font-weight: 400;
}

h1, h2, h3, h4,
.nav-links a,
.hero-tag, .hero-role,
.section-title,
.form-group label, .contact-link,
.project-tags span, .footer {
  font-family: 'roc-grotesk', sans-serif;
  font-weight: 400;
}

h1, h2, h3, .hero-name, .hero-role, .section-title {
  text-transform: uppercase;
  text-shadow: var(--halo-text);
}

a { color: inherit; text-decoration: none; }

img { display: block; max-width: 100%; }

/* ===== FOCUS ===== */
a:focus-visible,
button:focus-visible,
.project-card:focus-visible,
.filter-pill:focus-visible,
.color-swatch:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

/* ===== SKIP LINK ===== */
.skip-link {
  position: absolute;
  top: -50px;
  left: 12px;
  z-index: 10001;
  background: var(--text);
  color: var(--bg);
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: top 0.2s ease;
}

.skip-link:focus-visible {
  top: 12px;
}

/* ===== CODE CHARS ===== */
@keyframes charFloat {
  0%   { opacity: 0.55; transform: translateX(-50%); }
  100% { opacity: 0;    transform: translateX(-50%); }
}

.code-char {
  position: absolute;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--text);
  pointer-events: none;
  z-index: 2;
  user-select: none;
  animation: charFloat 1.4s ease-out forwards;
}


/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 99px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  border-radius: 30px;
  font-size: 22px;
  font-weight: 500;
  border: 1px solid var(--text);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.btn:hover {
  background: var(--text);
  color: #000000;
  box-shadow: 0px 12px 32px 0px rgba(0, 0, 0, 0.45);
  transform: translateY(-4px);
}

.btn-sm { padding: 8px 20px; font-size: 14px; }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(18, 18, 18, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  opacity: 0;
  transform: translateY(-100%);
  transition: border-color var(--transition), box-shadow var(--transition), opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav.scrolled {
  border-color: var(--border);
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.08);
  opacity: 1;
  transform: translateY(0);
}

.nav-inner {
  display: flex;
  align-items: stretch;
  height: 67px;
}

.nav-cell {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7px 37px;
  border-right: 1px solid var(--border);
  transition: background var(--transition), transform var(--transition);
  flex-shrink: 0;
}

.nav-cell--logo:hover {
  background: var(--text);
  transform: translateY(4px);
}

.nav-cell--logo:hover .nav-logo img {
  filter: brightness(0);
}

.nav-left {
  display: flex;
  align-items: stretch;
  width: calc(37px + (100% - 130px) / 3);
  flex-shrink: 0;
}


.nav-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1;
  margin-bottom: 6px;
  transition: color var(--transition);
}

.nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo img {
  height: 25px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter var(--transition);
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: stretch;
  flex: 1;
}

.nav-links li {
  display: flex;
  flex: 0 0 auto;
  border-right: 1px solid var(--border);
  transition: background var(--transition), transform var(--transition);
}

.nav-links a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7px 32px;
  width: 100%;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--text);
  transition: color var(--transition);
}

.nav-links li:hover {
  background: var(--text);
  transform: translateY(4px);
}

.nav-links li:hover a,
.nav-links li:hover .nav-label {
  color: #181818;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--text);
  transition: transform var(--transition), opacity var(--transition);
}

.nav:has(.nav-links.open) .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav:has(.nav-links.open) .nav-toggle span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav:has(.nav-links.open) .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 37px 80px;
  position: relative;
  background: #181818;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  left: 0;
  right: 0;
  top: -15%;
  width: 100%;
  height: 130%;
  object-fit: cover;
  opacity: 0.55;
  pointer-events: none;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.1) 50%,
    rgba(24, 24, 24, 0.85) 100%
  );
  pointer-events: none;
}

.hero-fade {
  position: absolute;
  inset: 0;
  background: #181818;
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  will-change: transform;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  animation: hero-appear 2.2s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

.hero-logo {
  width: clamp(180px, 22vw, 300px);
  height: auto;
  display: block;
  margin: 0 auto;
  filter: saturate(0) brightness(0) invert(1) drop-shadow(0 4px 20px rgba(0, 0, 0, 0.95));
}

.hero-tag {
  font-size: 12px;
  color: #f4f4f4;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.9);
}

.hero-disciplines {
  font-size: 12px;
  color: #f4f4f4;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.9);
}

.hero-name {
  font-size: clamp(52px, 7.5vw, 130px);
  font-weight: 400;
  letter-spacing: -0.02em;
  text-transform: none;
  white-space: nowrap;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--text) 40%, var(--text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-role {
  font-size: clamp(18px, 2.2vw, 30px);
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 30px;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 0 48px;
}

.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  z-index: 2;
  bottom: 40px;
  animation: float 3s ease-in-out infinite;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
  animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ===== SECTIONS ===== */
.section { padding: 75px 37px; }
.section-alt { background: var(--bg); }

.container { width: 100%; padding: 0; }

.section-title {
  font-family: 'roc-grotesk', sans-serif;
  font-size: clamp(36px, 5.5vw, 77px);
  font-weight: 400;
  letter-spacing: -1px;
  text-transform: none;
  padding-top: 16px;
  margin-bottom: 16px;
  position: relative;
}

.section-num {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  vertical-align: super;
  margin-right: 10px;
  line-height: 1;
}

.section-title::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--border);
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.12);
}

#about { padding-top: 50px; padding-bottom: 50px; }
#projects { padding-top: 75px; }

/* ===== POSTERS ===== */
.posters-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.posters-preview img {
  width: 100%;
  display: block;
  border-radius: 0;
  transition: opacity var(--transition);
}

.posters-preview img:hover {
  opacity: 0.82;
}

.posters-cta {
  margin-top: 48px;
  text-align: center;
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  align-items: start;
  border-top: 1px solid var(--border);
}

.about-grid .section-title {
  margin-bottom: 0;
}

.about-grid .section-title::before {
  display: none;
}

.about-text {
  grid-column: 2 / 4;
  padding-top: 36px;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 30px;
  line-height: 1.3;
  text-wrap: pretty;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-text .btn {
  margin-top: 8px;
}

.exergue {
  font-family: 'roc-grotesk', sans-serif;
  font-weight: 300;
  font-size: 0.92em;
  color: var(--text);
  animation: exergue-glow 5s ease-in-out infinite;
}

@keyframes exergue-glow {
  0%, 80%, 100% {
    color: var(--text);
    text-shadow: none;
  }
  88% {
    color: var(--text);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.75), 0 0 22px rgba(255, 255, 255, 0.25);
  }
}

/* ===== SECTION TITLE SLIDE ===== */
.slide-in {
  opacity: 0;
  transform: translateX(-120px);
  transition: transform 1.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.4s ease;
}
.slide-in.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===== FADE-IN ===== */
.fade-in {
  opacity: 0;
  translate: 0 24px;
  transition: opacity 1.3s ease, translate 1.3s ease;
}
.fade-in.visible {
  opacity: 1;
  translate: 0 0;
}

/* ===== PROJECTS ===== */
.projects-area {
  position: relative;
}

.projects-coming-soon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(24, 24, 24, 0.72);
  backdrop-filter: blur(2px);
  overflow: hidden;
}

.coming-soon-tape {
  width: calc(100% + 120px);
  margin-left: -60px;
  padding: 28px 0;
  background: repeating-linear-gradient(
    -45deg,
    #1a1a1a 0px,
    #1a1a1a 24px,
    #272727 24px,
    #272727 48px
  );
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transform: rotate(-2.5deg);
  overflow: hidden;
}

.coming-soon-track {
  display: flex;
  white-space: nowrap;
  animation: coming-soon-marquee 22s linear infinite;
}

.coming-soon-track span {
  font-family: 'roc-grotesk', sans-serif;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.wf-title {
  height: 20px;
  background: var(--border);
  border-radius: 2px;
  margin-bottom: 20px;
}

.wf-lines {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 20px;
}

.wf-line {
  height: 10px;
  width: 100%;
  background: var(--surface);
  border-radius: 2px;
}

@keyframes coming-soon-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  perspective: 900px;
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  --rx: 0deg;
  --ry: 0deg;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.5s ease, opacity 0.5s ease, translate 0.6s ease;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-9px) rotateX(var(--rx)) rotateY(var(--ry));
  box-shadow: 0 36px 48px -8px rgba(0, 0, 0, 0.7), var(--halo-box);
}

.project-img {
  aspect-ratio: 16 / 9;
  filter: grayscale(100%);
  transition: filter 0.5s ease;
}

.project-card:hover .project-img {
  filter: grayscale(0%);
}

.project-body { padding: 24px; flex: 1; }

.project-body h3 {
  font-size: 32px;
  font-weight: 500;
  text-transform: none;
  margin-bottom: 10px;
  animation: exergue-glow 5s ease-in-out infinite;
}

.project-body p {
  font-family: 'roc-grotesk', sans-serif;
  font-weight: 400;
  color: var(--text-muted);
  font-size: 22px;
  margin-bottom: 32px;

}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.project-tags span {
  background: rgba(129, 129, 129, 0.1);
  color: var(--text-muted);
  border: 1px solid rgba(129, 129, 129, 0.3);
  padding: 5px 12px 2px;
  border-radius: 99px;
  font-family: 'roc-grotesk', sans-serif;
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
}


/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 60px;
  row-gap: 20px;
  align-items: start;
  border-top: 1px solid var(--border);
}

.contact-meta .section-title {
  margin-bottom: 0;
}

.contact-meta .section-title::before {
  display: none;
}

.contact-form {
  grid-column: 2 / 4;
  grid-row: 1 / span 2;
  margin: 0;
  padding-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.form-group input,
.form-group textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  color: var(--text);
  font-size: 22px;
  font-family: inherit;
  transition: border-color var(--transition);
  resize: vertical;
}

.form-group input:focus-visible,
.form-group textarea:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
  border-color: var(--text-muted);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-feedback {
  font-size: 13px;
  color: var(--text-muted);
  min-height: 1em;
}

.form-feedback.error {
  color: var(--text);
  font-weight: 500;
}

.contact-form .btn { align-self: flex-start; }

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

.contact-link {
  color: var(--text);
  font-size: 12px;
  letter-spacing: 0.5px;
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.social-icon {
  width: 28px;
  height: 20px;
  flex-shrink: 0;
}

.contact-link span {
  position: relative;
}

.contact-link span::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--text-muted);
  transition: width var(--transition);
}

.contact-link:hover { color: var(--text); }
.contact-link:hover span::after { width: 100%; }

/* ===== SEAL ===== */
@keyframes hero-appear {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.seal {
  width: calc(37px + (100vw - 130px) / 3 - 2px);
  margin-left: -37px;
  background: rgba(24, 24, 24, 0.33);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  animation: seal-appear 1.6s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

.seal-header {
  aspect-ratio: 586 / 53;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text);
}

.seal-body {
  aspect-ratio: 586 / 225;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  padding: 28px;
}

.seal-logo {
  width: 39%;
  height: auto;
}

.seal-row {
  aspect-ratio: 586 / 53;
  display: grid;
  grid-template-columns: var(--logo-cell-w, 40%) 1fr;
}

.seal-row:not(:last-child) {
  border-bottom: 1px solid var(--border);
}

.seal-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}

.seal-value {
  border-left: 1px solid var(--border);
}

/* ===== FOOTER ===== */
.footer {
  text-align: center;
  padding: 28px;
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 1px;
  border-top: 1px solid rgba(224, 224, 224, 0.1);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
.nav-left { width: auto; flex: 1; }
  .nav-logo img { height: 29px; }

  .nav-links {
    display: none;
    position: fixed;
    top: 67px; left: 0;
    width: 100%; height: calc(100dvh - 67px);
    background: var(--bg);
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
  }

  .nav-links.open { display: flex; }

  .nav-links li {
    border-right: none;
    border-top: 1px solid var(--border);
    padding: 22px 37px;
  }

  .nav-links li:last-child { border-bottom: 1px solid var(--border); }

  .nav-label { display: inline; }

  .nav-links a {
    font-size: clamp(28px, 8vw, 42px);
    display: flex;
    align-items: baseline;
    gap: 16px;
  }

  .nav-toggle { display: flex; z-index: 1; }

  .hero { padding: 100px 28px 80px; }

  .section { padding: 70px 28px; }

  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-grid { row-gap: 16px; }
  .about-text { grid-column: 1; padding-top: 0; }

  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-form { grid-column: 1; grid-row: auto; padding-top: 0; }
  .contact-links { margin-top: 25px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

  .form-row { grid-template-columns: 1fr; }

  .contact-form .btn { align-self: stretch; text-align: center; justify-content: center; }

  .projects-grid { grid-template-columns: 1fr; }
  .projects-grid .project-card:nth-child(n+2) { display: none; }
  .posters-preview { grid-template-columns: repeat(2, 1fr); }
}

/* ===== PROJECT VIDEO ===== */
.project-video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
}

.project-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ===== FILTER PILLS ===== */
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-self: end;
}

.filter-pill {
  background: rgba(129, 129, 129, 0.1);
  color: var(--text-muted);
  border: 1px solid rgba(129, 129, 129, 0.3);
  padding: 5px 14px 2px;
  border-radius: 99px;
  font-family: 'roc-grotesk', sans-serif;
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-pill:hover {
  border-color: var(--text-muted);
  color: var(--text);
}

.filter-pill:disabled {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}

.filter-pill.active {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

/* ===== VOIR PLUS ===== */
.projects-voir-plus {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

/* ===== PAGE TRANSITION ===== */
#page-curtain {
  position: fixed;
  inset: 0;
  background: var(--bg);
  transform: scaleY(1);
  transform-origin: top;
  z-index: 10000;
  pointer-events: none;
}

#page-curtain::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
}

@keyframes curtain-open {
  to { transform: scaleY(0); }
}

@keyframes curtain-close {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}

.curtain-is-opening {
  animation: curtain-open 0.55s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

.curtain-is-closing {
  transform-origin: bottom;
  animation: curtain-close 0.45s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .project-links { flex-direction: column; }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-video,
  .hero-content {
    transform: none !important;
  }

  .slide-in,
  .fade-in {
    opacity: 1 !important;
    transform: none !important;
    translate: 0 !important;
  }
}
