/* ==========================================================================
   GREGORI PAGANINI (@molobyte) — EXPOSIÇÃO EDITORIAL EM SCROLLYTELLING
   Estética: Design Editorial Suíço / Neobrutalismo + Pintura Clássica Século XIX
   ========================================================================== */

:root {
  --vermilion: #F42D06;
  --paper: #F3EFE6;
  --obsidian: #0E0D0C;
  --ink: #0B0A09;
  --ivory: #F8F5EE;

  --current-bg: #F42D06;
  --current-ink: #0B0A09;

  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-script: 'Pinyon Script', cursive;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, monospace;
}

/* Base & Lenis */
html {
  background-color: var(--vermilion);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: auto;
  overflow-x: clip;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  background-color: var(--current-bg);
  color: var(--current-ink);
  overflow-x: clip;
  transition: color 0.45s ease;
}

::selection {
  background-color: #0B0A09;
  color: #F8F5EE;
}

/* Subtle archival print paper grain overlay */
.paper-grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* ==========================================================================
   TYPOGRAPHY PRIMITIVES
   ========================================================================== */

.font-editorial {
  font-family: var(--font-serif);
}

.font-script {
  font-family: var(--font-script);
}

.catalog-label {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.5;
}

.catalog-micro {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.5;
}

/* Editorial superscript numbers matching reference: (01) */
.sup-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 0.34em;
  vertical-align: super;
  margin-left: 0.08em;
  opacity: 0.85;
  letter-spacing: 0;
}

/* ==========================================================================
   PERSISTENT MUSEUM HEADER
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  color: var(--current-ink);
  transition: color 0.45s ease, background-color 0.45s ease, backdrop-filter 0.45s ease;
}

.site-header.is-scrolled {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.menu-plus {
  position: relative;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-plus::before,
.menu-plus::after {
  content: '';
  position: absolute;
  background-color: currentColor;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-plus::before {
  width: 20px;
  height: 1.25px;
}

.menu-plus::after {
  width: 1.25px;
  height: 20px;
}

.menu-plus[aria-expanded='true']::before {
  transform: rotate(45deg);
}

.menu-plus[aria-expanded='true']::after {
  transform: rotate(45deg);
}

/* Top scroll progress hairline */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background-color: currentColor;
  z-index: 70;
  pointer-events: none;
  opacity: 0.65;
}

/* ==========================================================================
   ACT I: HERO EXHIBITION OPENING
   ========================================================================== */

.hero-section {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow-x: clip;
  overflow-y: visible;
  padding-top: 0;
}

/* Reserva os ~40% superiores da 1ª dobra para header + tipografia gigante,
   garantindo que em QUALQUER monitor (1080p, 1440p, 4K ou janela quadrada)
   a 1ª dobra corte exatamente na casaca clássica (~39% da altura do personagem),
   escondendo 100% o jeans, chaves e Vans até o usuário rolar a página. */
.hero-top-stage {
  min-height: 40svh;
  padding-top: clamp(4.25rem, 7.5svh, 6.5rem);
  padding-bottom: clamp(0.75rem, 2svh, 2rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-display-line {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 4.25vw, 4.45rem);
  line-height: 0.98;
  letter-spacing: -0.026em;
  color: #0B0A09;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  column-gap: 0.08em;
}

@media (min-width: 1024px) {
  .hero-display-line {
    flex-wrap: nowrap;
  }
}

.hero-term {
  display: inline-block;
  position: relative;
  white-space: nowrap;
  transition: color 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.32s ease;
  cursor: default;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .hero-term,
  .hero-term * {
    cursor: none;
  }
}

.hero-term:hover,
.hero-term:focus-visible {
  color: var(--ivory);
  outline: none;
}

.hero-term--featured {
  color: var(--ivory);
}

.hero-term--featured:hover,
.hero-term--featured:focus-visible {
  color: #0B0A09;
}

.hero-slash {
  display: inline-block;
  font-weight: 300;
  opacity: 0.55;
  margin: 0 0.14em;
  transform: translateY(-0.04em);
  user-select: none;
}

/* Faint giant cursive watermark behind portrait ("paganini.dev") */
.hero-watermark {
  position: absolute;
  left: 0;
  right: 0;
  top: 73svh;
  transform: translateY(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  user-select: none;
  z-index: 5;
}

.hero-watermark-text {
  display: block;
  font-family: var(--font-script);
  font-size: clamp(6.5rem, min(22vw, 38svh), 23rem);
  line-height: 0.85;
  white-space: nowrap;
  color: #871000;
  opacity: 0.24;
  will-change: transform;
}

.footer-watermark {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1.5rem;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

/* Portrait full-body foreground cutout:
   Na 1ª dobra (100svh), aparece ESTRITAMENTE até a casaca (~39% da figura, acima do jeans).
   Ao rolar, a mesma pintura contínua revela o jeans selvedge, chaves e tênis Vans. */
.hero-portrait-stage {
  position: relative;
  z-index: 20;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  pointer-events: none;
}

.hero-portrait-wrap {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  will-change: transform;
}

/* Caixa travada na proporção exata 567:1301 para alinhar 1:1 retrato + olhos SVG.
   Altura = 156svh (sem teto em px!) combinada com .hero-top-stage (40svh):
   (100 - 40) / 156 = 38.5% visível na 1ª dobra em QUALQUER altura de tela! */
.hero-portrait-figure {
  position: relative;
  height: 156svh;
  width: auto;
  max-width: 92vw;
  aspect-ratio: 567 / 1301;
  display: block;
  will-change: transform;
}

.hero-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  display: block;
  filter: drop-shadow(0 24px 36px rgba(40, 5, 0, 0.22));
  user-select: none;
}

.hero-eyes-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

/* Transição instantânea ("cortada") sem deslize suave, fiel ao efeito stop-motion editorial */
.eye-gaze-layer {
  opacity: 0;
}

.hero-eyes-svg.is-tracking .eye-gaze-layer {
  opacity: 1;
}

/* Flanking micro-notes (exact composition of referencia-arte.jpg) */
.hero-micro-note {
  max-width: 248px;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  text-align: justify;
  text-justify: inter-word;
  color: #0B0A09;
}

.hero-micro-note .engraving-inline {
  display: block;
  width: 66px;
  margin-bottom: 12px;
}

.hero-micro-note .engraving-inline[data-engraving="hound"] {
  width: 70px;
}

.hero-micro-note .engraving-inline[data-engraving="crown"] {
  width: 62px;
}

.hero-float-right .engraving-inline {
  margin-left: auto;
}

.engraving-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Mantém contraste do destaque "Moderno na execução." ao transitar do fundo vermilion para o papel claro */
.theme-contrast-accent {
  color: var(--ivory);
  transition: color 0.55s ease;
}

body.is-paper-theme .theme-contrast-accent {
  color: var(--vermilion);
}

/* ==========================================================================
   ACT II: MANIFESTO (ARCHIVAL PAPER)
   ========================================================================== */

.manifesto-word {
  display: inline-block;
  opacity: 0.16;
  transition: opacity 0.2s ease;
  will-change: opacity;
}

.editorial-rule {
  height: 1px;
  width: 100%;
  background-color: currentColor;
  opacity: 0.2;
  transform-origin: left center;
}

.uptime-counter {
  font-variant-numeric: lining-nums tabular-nums;
  white-space: nowrap;
}

.uptime-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background-color: #16A34A;
  flex-shrink: 0;
  animation: uptimePulse 2.2s ease-in-out infinite;
}

@keyframes uptimePulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.5);
  }
  50% {
    opacity: 0.45;
    box-shadow: 0 0 0 5px rgba(22, 163, 74, 0);
  }
}

/* ==========================================================================
   DOSSIER ACTION BUTTONS (USADOS NO MODAL DE PROJETO)
   ========================================================================== */

/* Museum Action Buttons */
.museum-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  padding: 0.58rem 0.92rem;
  border: 1px solid currentColor;
  transition: background-color 0.28s ease, color 0.28s ease, border-color 0.28s ease;
  cursor: pointer;
}

.museum-btn--accent {
  background-color: var(--vermilion);
  border-color: var(--vermilion);
  color: #0B0A09;
  font-weight: 600;
}

.museum-btn--accent:hover {
  background-color: var(--ivory);
  border-color: var(--ivory);
  color: #0B0A09;
}

/* ==========================================================================
   ACT IV: TECHNICAL ARCHIVAL SPECIMEN CARD (STACK)
   ========================================================================== */

.specimen-row {
  border-top: 1px solid rgba(11, 10, 9, 0.22);
  transition: background-color 0.32s cubic-bezier(0.22, 1, 0.36, 1), color 0.32s ease;
}

.specimen-row:last-child {
  border-bottom: 1px solid rgba(11, 10, 9, 0.22);
}

.specimen-row:hover {
  background-color: #0B0A09;
  color: var(--paper);
}

.specimen-tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.28rem 0.6rem;
  border: 1px solid currentColor;
  opacity: 0.85;
  display: inline-block;
}

/* ==========================================================================
   OVERLAYS: NAVIGATION INDEX & ARTWORK TECHNICAL DOSSIER MODAL
   ========================================================================== */

.index-overlay {
  position: fixed;
  inset: 0;
  z-index: 55;
  background-color: #0B0A09;
  color: var(--ivory);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.45s ease;
}

.index-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.dossier-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.5rem, 2vw, 2rem);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.32s ease, visibility 0.32s ease;
}

.dossier-modal.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.dossier-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(8, 7, 6, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.dossier-panel {
  position: relative;
  z-index: 1;
  width: min(1360px, 100%);
  height: min(860px, 92svh);
  background-color: var(--paper);
  color: var(--ink);
  border: 1px solid rgba(11, 10, 9, 0.28);
  box-shadow: 0 32px 84px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(18px) scale(0.98);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.dossier-modal.is-open .dossier-panel {
  transform: translateY(0) scale(1);
}

.dossier-body {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr;
  overflow-y: auto;
}

@media (min-width: 1024px) {
  .dossier-body {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    overflow: hidden;
  }
}

/* Coluna esquerda: palco amplo de screenshots */
.dossier-visual-col {
  background-color: var(--obsidian);
  color: var(--ivory);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 300px;
  border-bottom: 1px solid rgba(11, 10, 9, 0.2);
}

@media (min-width: 1024px) {
  .dossier-visual-col {
    min-height: 0;
    border-bottom: none;
    border-right: 1px solid rgba(11, 10, 9, 0.22);
  }
}

.dossier-stage {
  position: relative;
  flex: 1;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  overflow: hidden;
  background: radial-gradient(circle at 50% 45%, #1B1917 0%, #0D0C0B 100%);
}

@media (min-width: 640px) {
  .dossier-stage {
    min-height: 380px;
    padding: 1.75rem 2.25rem;
  }
}

.dossier-stage-hud {
  position: absolute;
  top: 0.85rem;
  left: 0.95rem;
  z-index: 5;
  pointer-events: none;
}

.dossier-stage-hud[hidden] {
  display: none;
}

.dossier-hud-pill {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.34rem 0.68rem;
  background-color: rgba(14, 13, 12, 0.82);
  border: 1px solid rgba(248, 245, 238, 0.2);
  color: rgba(248, 245, 238, 0.86);
  backdrop-filter: blur(6px);
}

.dossier-img-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-width: 100%;
  max-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(248, 245, 238, 0.12);
  background-color: #090807;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.48);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 1024px) {
  .dossier-img-frame {
    width: min(100%, calc((92svh - 175px) * 4 / 3));
  }
}

.dossier-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  user-select: none;
  opacity: 1;
  transition: opacity 0.28s ease;
}

.dossier-img-frame.is-loading .dossier-img,
.dossier-img-frame.is-empty .dossier-img {
  opacity: 0;
  visibility: hidden;
}

.dossier-stage-loader {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--ivory);
  pointer-events: none;
}

.dossier-stage-loader[hidden] {
  display: none;
}

.dossier-stage-loader__mark {
  width: 18px;
  height: 18px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  animation: dossierLoaderTick 2.2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.dossier-stage-loader__mark::before,
.dossier-stage-loader__mark::after {
  content: '';
  position: absolute;
  background-color: rgba(248, 245, 238, 0.82);
}

.dossier-stage-loader__mark::before {
  width: 14px;
  height: 1.2px;
}

.dossier-stage-loader__mark::after {
  width: 1.2px;
  height: 14px;
}

.dossier-stage-loader__track {
  position: relative;
  width: 112px;
  height: 1px;
  background-color: rgba(248, 245, 238, 0.16);
  overflow: hidden;
}

.dossier-stage-loader__bar {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 42%;
  background-color: var(--vermilion);
  animation: dossierLoaderSlide 1.15s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.dossier-stage-loader__label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(248, 245, 238, 0.62);
}

.dossier-img-frame.is-empty .dossier-stage-loader__mark,
.dossier-img-frame.is-empty .dossier-stage-loader__track {
  display: none;
}

@keyframes dossierLoaderTick {
  0%, 15% { transform: rotate(0deg); }
  45%, 65% { transform: rotate(90deg); }
  95%, 100% { transform: rotate(180deg); }
}

@keyframes dossierLoaderSlide {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(260%); }
}

.dossier-stage-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(14, 13, 12, 0.82);
  border: 1px solid rgba(248, 245, 238, 0.24);
  color: var(--ivory);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.dossier-stage-arrow:hover {
  background-color: var(--vermilion);
  border-color: var(--vermilion);
  color: #0B0A09;
}

.dossier-stage-arrow--prev {
  left: 0.75rem;
}

.dossier-stage-arrow--next {
  right: 0.75rem;
}

.dossier-stage-arrow[hidden] {
  display: none;
}

.dossier-gallery-bar {
  padding: 0.85rem 1.25rem 1rem;
  border-top: 1px solid rgba(248, 245, 238, 0.12);
  background-color: #12100F;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.dossier-gallery-bar[hidden] {
  display: none;
}

.dossier-thumbs {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  padding-bottom: 2px;
}

.dossier-thumbs[hidden] {
  display: none;
}

.dossier-thumb {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.65rem 0.35rem 0.38rem;
  border: 1px solid rgba(248, 245, 238, 0.18);
  background-color: rgba(248, 245, 238, 0.04);
  color: rgba(248, 245, 238, 0.72);
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.22s ease, background-color 0.22s ease, color 0.22s ease;
}

.dossier-thumb:hover {
  border-color: rgba(248, 245, 238, 0.45);
  color: var(--ivory);
}

.dossier-thumb.is-active {
  border-color: var(--vermilion);
  background-color: rgba(244, 45, 6, 0.16);
  color: var(--ivory);
}

.dossier-thumb__preview {
  width: 38px;
  height: 28px;
  overflow: hidden;
  background-color: #090807;
  border: 1px solid rgba(248, 245, 238, 0.15);
  flex-shrink: 0;
}

.dossier-thumb__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dossier-thumb__label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Coluna direita: abas Sobre o Projeto (casual) vs Parte Técnica */
.dossier-info-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 0;
  background-color: var(--paper);
}

.dossier-scroll-area {
  flex: 1;
  padding: 1.5rem 1.5rem 1.75rem;
}

@media (min-width: 640px) {
  .dossier-scroll-area {
    padding: 1.85rem 2rem 2rem;
  }
}

@media (min-width: 1024px) {
  .dossier-scroll-area {
    overflow-y: auto;
  }
}

.dossier-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(11, 10, 9, 0.28);
  background-color: rgba(11, 10, 9, 0.04);
}

.dossier-tab {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 0.68rem 0.75rem;
  text-align: center;
  color: rgba(11, 10, 9, 0.65);
  cursor: pointer;
  transition: background-color 0.22s ease, color 0.22s ease;
}

.dossier-tab + .dossier-tab {
  border-left: 1px solid rgba(11, 10, 9, 0.22);
}

.dossier-tab:hover {
  color: var(--ink);
  background-color: rgba(11, 10, 9, 0.06);
}

.dossier-tab.is-active {
  background-color: var(--ink);
  color: var(--ivory);
  font-weight: 500;
}

/* ==========================================================================
   CUSTOM MAGNETIC EDITORIAL CURSOR (POINTER: FINE ONLY)
   ========================================================================== */

.custom-cursor {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .custom-cursor {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 14px;
    height: 14px;
    border-radius: 999px;
    border: 1.5px solid #0B0A09;
    background-color: rgba(248, 245, 238, 0.15);
    pointer-events: none;
    z-index: 95;
    transform: translate(-50%, -50%);
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 9px;
    line-height: 1.25;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-align: center;
    padding: 0 6px;
    color: var(--ivory);
    transition:
      width 0.3s cubic-bezier(0.22, 1, 0.36, 1),
      height 0.3s cubic-bezier(0.22, 1, 0.36, 1),
      background-color 0.25s ease,
      border-color 0.25s ease;
    will-change: transform;
  }

  .custom-cursor.is-dark-surface {
    border-color: var(--ivory);
  }

  .custom-cursor.is-expanded {
    width: 86px;
    height: 86px;
    letter-spacing: 0.11em;
    background-color: #0B0A09;
    border-color: #0B0A09;
    color: var(--ivory);
  }

  .custom-cursor.is-dark-surface.is-expanded {
    background-color: var(--vermilion);
    border-color: var(--vermilion);
    color: #0B0A09;
    font-weight: 600;
  }
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */

.editorial-toast {
  position: fixed;
  bottom: 1.75rem;
  left: 50%;
  transform: translate(-50%, 24px);
  z-index: 90;
  background-color: #0B0A09;
  color: var(--ivory);
  padding: 0.75rem 1.35rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid rgba(248, 245, 238, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.editorial-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ==========================================================================
   RESPONSIVE & REDUCED MOTION SAFEGUARDS
   ========================================================================== */

@media (max-width: 767px) {
  .hero-top-stage {
    min-height: 42svh;
    padding-top: 4.5rem;
    padding-bottom: 1rem;
  }

  .hero-display-line {
    font-size: clamp(1.5rem, 6.4vw, 2.25rem);
    line-height: 1.08;
    column-gap: 0.06em;
    row-gap: 0.1rem;
  }

  .hero-portrait-wrap {
    width: 100%;
  }

  .hero-portrait-figure {
    height: 148svh;
    max-width: 88vw;
  }

  .hero-micro-note {
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .manifesto-word {
    opacity: 1 !important;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
