/* ========================================================================
   KC DESIGNS — STYLE SYSTEM
   Bold / High-Contrast / Industrial
   ======================================================================== */

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

:root {
  --bg: #000000;
  --bg-elevated: #0a0a0a;
  --bg-card: #000000;
  --amber-glow: rgba(255, 165, 0, 0.12);
  --text-primary: #f0f0f0;
  --text-secondary: #999999;
  --text-muted: #666666;
  --border: #2a2a2a;
  --accent: #ffffff;
  --white: #ffffff;

  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Barlow', sans-serif;

  --nav-height: 64px;
  --container-max: 1280px;
  --container-pad: 24px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-primary);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul { list-style: none; }

/* --- TOPOGRAPHY ACCENT — INVERTED LAYOUT ---
   Topo pattern lives on the LEFT and RIGHT outer panes only.
   The center content area is solid black (body background).
   A gradient blend strip on the inner edge of each pane
   smoothly transitions topo → black.                       */

/* Legacy element — hidden; the topo-fade panels now carry the pattern */
.topo-accent {
  display: none;
}

/* Each side pane: topo SVG background + gradient overlay fading to black
   on the inner edge. Uses layered backgrounds — gradient on top, topo beneath. */
.topo-fade {
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
}

.topo-fade--left {
  left: 0;
  /* Width = from screen edge to the container edge.
     On 2560px: 1280 - 640 = 640px.
     On 1920px: 960 - 640 = 320px.
     On ≤1280px: collapses to 0 (no side panels needed). */
  width: max(0px, calc(50% - 640px + 180px));
  /* Layer 1 (top): gradient — transparent on the outer edge,
     solid black on the inner edge (blends into center).
     Layer 2 (bottom): the topo SVG pattern.
     Tile sized to cover full viewport height so no repeat seam is visible. */
  background:
    linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 46%, rgba(0, 0, 0, 0.08) 60%, rgba(0, 0, 0, 0.18) 72%, rgba(0, 0, 0, 0.34) 83%, rgba(0, 0, 0, 0.56) 91%, rgba(0, 0, 0, 0.82) 98%, #000000 100%),
    url('./assets/images/topo-pattern.svg');
  background-size:
    100% 100%,
    cover;
  background-repeat:
    no-repeat,
    no-repeat;
  background-position:
    0 0,
    right center;
}

.topo-fade--right {
  right: 0;
  width: max(0px, calc(50% - 640px + 180px));
  background:
    linear-gradient(to left, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 46%, rgba(0, 0, 0, 0.08) 60%, rgba(0, 0, 0, 0.18) 72%, rgba(0, 0, 0, 0.34) 83%, rgba(0, 0, 0, 0.56) 91%, rgba(0, 0, 0, 0.82) 98%, #000000 100%),
    url('./assets/images/topo-pattern.svg');
  background-size:
    100% 100%,
    cover;
  background-repeat:
    no-repeat,
    no-repeat;
  background-position:
    0 0,
    left center;
}

/* --- CONTAINER --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

/* --- NAVIGATION --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease;
}

.nav__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.nav__logo {
  display: flex;
  align-items: center;
  transition: opacity 0.2s ease;
}
.nav__logo:hover { opacity: 0.7; }

.nav__logo-img {
  height: 36px;
  width: auto;
}

.nav__logo-li {
  display: flex;
  align-items: center;
  padding: 0 24px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__links > li:not(.nav__logo-li) {
  width: 100px;
  text-align: center;
}
.nav__links > li:nth-child(2) {
  margin-right: 36px;
}
.nav__links > li:nth-child(4) {
  margin-left: 36px;
}

.nav__link {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--text-secondary);
  transition: color 0.25s ease;
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--white);
  transition: width 0.3s var(--ease-out);
}
.nav__link:hover,
.nav__link.active {
  color: var(--white);
}
.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

/* THEME TOGGLE */
.theme-toggle {
  position: absolute;
  left: var(--container-pad);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  transition: border-color 0.3s ease, color 0.3s ease;
  z-index: 1001;
  padding: 0;
}
.theme-toggle:hover {
  border-color: rgba(255, 255, 255, 0.5);
}
.theme-toggle__icon {
  display: none;
}
.theme-toggle__icon--moon {
  display: block;
}

/* Inverted (light) mode — true full inversion */
html {
  transition: filter 0.5s ease;
}
html.inverted {
  filter: invert(1);
}
/* Keep portrait photo normal */
html.inverted .about__photo {
  filter: invert(1);
}
/* Counter-invert the entire shop image wrapper in light mode.
   This counter-inverts both the image AND the background behind transparent
   PNG areas, so products render natively in their correct colors. */
html.inverted .shop-card__image-wrapper {
  filter: invert(1);
  background: #ffffff; /* appears white after counter-inversion, behind transparent PNG areas */
}
html.inverted .shop-card__image {
  background: transparent; /* let wrapper bg show through transparent PNG areas */
}
/* Light mode: blue glow (pre-inversion values that flip to blue on screen)
   Sizes match the dark-mode amber glow exactly. */
html.inverted .portfolio-card:hover,
html.inverted .shop-card:hover,
html.inverted .shop-card.visible:hover {
  box-shadow: 0 0 8px 1px rgba(255, 165, 0, 0.3), 0 0 20px 2px rgba(255, 140, 0, 0.12);
}
html.inverted .about__image-wrapper--portrait:hover {
  box-shadow: 0 0 12px 2px rgba(255, 165, 0, 0.3), 0 0 28px 4px rgba(255, 140, 0, 0.12);
}
html.inverted .modal__image-wrapper:hover {
  box-shadow: 0 0 8px 1px rgba(255, 165, 0, 0.3), 0 0 20px 2px rgba(255, 140, 0, 0.12);
}
html.inverted .theme-toggle__icon--moon {
  display: none;
}
html.inverted .theme-toggle__icon--sun {
  display: block;
}

/* HAMBURGER */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
  position: absolute;
  right: var(--container-pad);
  top: 50%;
  transform: translateY(-50%);
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s var(--ease-out), opacity 0.2s ease;
  transform-origin: center;
}
.nav__hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav__hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- PAGE ROUTING (SPA) --- */
.page {
  display: none;
}
.page.active {
  display: block;
  animation: pageFadeIn 0.4s var(--ease-out) both;
}
.page.leaving {
  display: block;
  animation: pageFadeOut 0.2s ease-in both;
}

/* Directional page transitions */
@keyframes pageFadeIn {
  from { opacity: 0; transform: translateX(var(--page-dir, 0px)); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes pageFadeOut {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(calc(var(--page-dir, 0px) * -0.5)); }
}

/* --- SECTIONS --- */
.section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

/* Non-home pages need top padding to clear the fixed nav */
.section--page {
  padding-top: calc(var(--nav-height) + 40px);
}

/* ========================================================================
   HERO SECTION — Full-viewport landing
   ======================================================================== */
.section--hero {
  padding: 0;
}

.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: transparent;
}

.hero__image-wrapper {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background: transparent;
}

.hero__overlay {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.hero__logo {
  width: clamp(280px, 40vw, 480px);
  height: auto;
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.3s ease;
  animation: heroLogoIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}
.hero__logo:hover {
  opacity: 0.85;
}

@keyframes heroLogoIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 0.5;
    transform: scale(1);
  }
}

.hero__tagline {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 1.4vw, 1.05rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(10px);
  animation: heroFadeUp 0.8s var(--ease-out) 0.8s forwards;
}

.hero__tagline .sep {
  color: var(--text-muted);
  margin: 0 4px;
}

.hero__cta {
  margin-top: 24px;
  opacity: 0;
  transform: translateY(10px);
  animation: heroFadeUp 0.8s var(--ease-out) 1.1s forwards;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__btn {
  display: inline-block;
  padding: 14px 48px;
  border: 1px solid var(--white);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: transparent;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}
.hero__btn:hover {
  background: var(--white);
  color: var(--bg);
}

/* ========================================================================
   WORK / PORTFOLIO PAGE
   ======================================================================== */

.section--work {
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

/* KC blade logo — centered header on Work page */
.work__logo-header {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.work__logo-img {
  width: clamp(220px, 33vw, 440px);
  height: auto;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}
.work__logo-img:hover {
  opacity: 0.85;
}

/* --- WORK CATEGORY FILTERS --- */
.work-filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.work-filter {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-transform: uppercase;
  padding: 8px 20px;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.work-filter:hover {
  color: var(--text-secondary);
  border-color: var(--text-muted);
}
.work-filter.active {
  color: var(--white);
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

/* --- PORTFOLIO GRID --- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.portfolio-card {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  cursor: pointer;
  background: transparent;
  box-shadow: none;
  transition: box-shadow 0.3s ease;
}

.portfolio-card:hover {
  box-shadow: 0 0 8px 1px rgba(255, 165, 0, 0.3), 0 0 20px 2px rgba(255, 140, 0, 0.12);
}

.portfolio-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.portfolio-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 40%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.4s var(--ease-out);
}

.portfolio-card:hover .portfolio-card__image {
  transform: scale(1.05);
}
.portfolio-card:hover .portfolio-card__overlay {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-card__category {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.portfolio-card__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: var(--white);
  line-height: 1.1;
}

.portfolio-card__subtitle {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 4px;
  font-weight: 400;
}

/* Scroll animation */
.portfolio-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.portfolio-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Placeholder cards */
.portfolio-card--placeholder {
  cursor: default;
}
.portfolio-card--placeholder:hover {
  box-shadow: none;
}
.portfolio-card__placeholder-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}
.portfolio-card__placeholder-label .portfolio-card__category {
  margin-bottom: 8px;
  color: var(--text-muted);
}
.portfolio-card__placeholder-label .portfolio-card__title {
  color: var(--text-muted);
  font-size: 1.3rem;
}
.portfolio-card__placeholder-label .portfolio-card__subtitle {
  color: var(--text-muted);
  opacity: 0.6;
}

/* --- WORK > PROCESS CTA --- */
.work__process-cta {
  text-align: center;
  padding: 48px 0 16px;
}
.work__process-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.work__process-btn {
  display: inline-block;
  padding: 12px 40px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.work__process-btn:hover {
  color: var(--white);
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}

/* --- SECTION DIVIDER --- */
.section-divider {
  padding: 60px 0;
  position: relative;
  z-index: 1;
}

.divider__line {
  display: flex;
  align-items: center;
  gap: 20px;
}
.divider__line::before,
.divider__line::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.divider__monogram {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

.divider__logo {
  height: 36px;
  width: auto;
  opacity: 0.4;
}

/* PULL QUOTE */
.pull-quote {
  text-align: center;
  margin-top: 48px;
  padding: 48px 0 0;
  position: relative;
}
.pull-quote::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: var(--border);
}
.pull-quote p {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 4.5rem);
  letter-spacing: 0.04em;
  color: var(--text-primary);
  line-height: 1.1;
}

/* --- SECTION HEADERS --- */
.section__header {
  margin-bottom: 56px;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: 0.1em;
  color: var(--white);
  line-height: 1;
}

.section__subtitle {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-secondary);
  margin-top: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* --- SHOP GRID --- */
.section--shop {
  background: transparent;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.shop-card {
  background: transparent;
  border: 1px solid var(--border);
  box-shadow: none;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease;
  overflow: hidden;
}
.shop-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 8px 1px rgba(255, 165, 0, 0.3), 0 0 20px 2px rgba(255, 140, 0, 0.12);
}

.shop-card__image-wrapper {
  position: relative;
  aspect-ratio: 1 / 1;
  background: transparent;
  overflow: hidden;
}

.shop-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.shop-card:hover .shop-card__image {
  transform: scale(1.04);
}

.shop-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--white);
  color: var(--bg);
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 4px 10px;
  text-transform: uppercase;
}


.shop-card__info {
  padding: 20px;
}

.shop-card__name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  color: var(--white);
}

.shop-card__price {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 4px;
  font-weight: 500;
}

.shop-card__btn {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 24px;
  border: 1px solid var(--white);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: transparent;
  transition: background 0.25s ease, color 0.25s ease;
  cursor: pointer;
}
.shop-card__btn:hover {
  background: var(--white);
  color: var(--bg);
}
.shop-card__btn--disabled {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
  border-style: dashed;
}

/* scroll animation for shop cards */
.shop-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out),
              box-shadow 0.35s ease;
}
.shop-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.shop-card.visible:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 8px 1px rgba(255, 165, 0, 0.3), 0 0 20px 2px rgba(255, 140, 0, 0.12);
}

/* Fade transition for shop grid swap */
.shop-grid--fading {
  opacity: 0;
  transition: opacity 0.25s ease;
}

/* LIGHT SIDE / DARK SIDE label */
.shop__side-label {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.22em;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 36px;
  transition: opacity 0.3s ease;
}

.shop__note {
  margin-top: 40px;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.02em;
}

/* ========================================================================
   PROCESS PAGE
   ======================================================================== */
.section--process {
  padding-bottom: 60px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}

.process-card {
  border: 1px solid var(--border);
  padding: 40px 28px;
  text-align: center;
  transition: box-shadow 0.35s ease, transform 0.35s var(--ease-out);
}
.process-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 8px 1px rgba(255, 165, 0, 0.3), 0 0 20px 2px rgba(255, 140, 0, 0.12);
}

.process-card__icon {
  color: var(--text-muted);
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.process-card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 12px;
}

.process-card__desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.process-card__tag {
  display: inline-block;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
  padding: 4px 12px;
  border: 1px solid var(--border);
}

/* Instagram CTA Section */
.process__instagram {
  text-align: center;
  padding: 60px 0;
  border-top: 1px solid var(--border);
}

.process__ig-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--text-secondary);
}

.process__ig-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.process__ig-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.process__ig-btn {
  display: inline-block;
  padding: 14px 48px;
  border: 1px solid var(--white);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: transparent;
  transition: background 0.3s ease, color 0.3s ease;
}
.process__ig-btn:hover {
  background: var(--white);
  color: var(--bg);
}

/* --- ABOUT --- */
.about__content {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: start;
}

.about__image-wrapper {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}
.about__image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.05);
  pointer-events: none;
}

/* Portrait-specific amber halo on hover */
.about__image-wrapper--portrait {
  box-shadow: none;
  transition: box-shadow 0.4s ease;
}
.about__image-wrapper--portrait:hover {
  box-shadow: 0 0 12px 2px rgba(255, 165, 0, 0.3), 0 0 28px 4px rgba(255, 140, 0, 0.12);
}

.about__photo {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s var(--ease-out);
}
.about__image-wrapper--portrait:hover .about__photo {
  transform: scale(1.03);
}

/* About page — large logos header */
.about__logos-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-bottom: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.about__logo-lg {
  opacity: 0.5;
  transition: opacity 0.3s ease;
}
.about__logo-lg:hover {
  opacity: 0.85;
}

.about__logo-lg--gear {
  height: 100px;
  width: auto;
}

.about__logo-lg--blade {
  height: 92px;
  width: auto;
}

.about__name {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 4px;
}

.about__role {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.about__headline {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}

.about__bio p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}
.about__bio p:last-child {
  margin-bottom: 0;
}

.about__patents-btn {
  display: inline-block;
  margin-top: 28px;
  padding: 14px 48px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--white);
  background: transparent;
  transition: background 0.3s ease, color 0.3s ease;
}
.about__patents-btn:hover {
  background: var(--white);
  color: #000;
}

.about__logos-inline {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 36px;
}

.about__logo-sm {
  opacity: 0.5;
  transition: opacity 0.3s ease;
}
.about__logo-sm:hover {
  opacity: 0.85;
}

.about__logo-sm--gear {
  height: 80px;
  width: auto;
}

.about__logo-sm--blade {
  height: 72px;
  width: auto;
}



/* --- CONTACT --- */

/* Logos header — centered, matching About page style */
.contact__logos-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-bottom: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.contact__logo {
  opacity: 0.5;
  transition: opacity 0.3s ease;
}
.contact__logo:hover {
  opacity: 0.85;
}
.contact__logo--gear {
  height: 100px;
  width: auto;
}
.contact__logo--blade {
  height: 92px;
  width: auto;
}

/* Contact details — horizontal row */
.contact__details {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.contact__info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact__label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}
.contact__label svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.contact__value {
  font-size: 1rem;
  color: var(--text-primary);
  font-weight: 500;
  transition: color 0.2s ease;
  text-transform: uppercase;
}
a.contact__value:hover {
  color: var(--white);
}

/* Form row — name + email side by side */
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* FORM */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.form-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.form-input {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.25s ease;
  -webkit-appearance: none;
  border-radius: 0;
}
.form-input:focus {
  border-color: var(--text-secondary);
}
.form-input::placeholder {
  color: var(--text-muted);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  align-self: flex-start;
  padding: 14px 40px;
  border: 1px solid var(--white);
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
  position: relative;
}
.form-submit:hover {
  background: var(--white);
  color: var(--bg);
}

.form-submit__sending,
.form-submit__sent {
  display: none;
}
.form-submit.sending .form-submit__text { display: none; }
.form-submit.sending .form-submit__sending { display: inline; }
.form-submit.sending { opacity: 0.6; pointer-events: none; }
.form-submit.sent .form-submit__text { display: none; }
.form-submit.sent .form-submit__sent { display: inline; }
.form-submit.sent { border-color: var(--text-secondary); color: var(--text-secondary); }

.form-status {
  font-size: 0.85rem;
  margin-top: 4px;
  min-height: 20px;
}
.form-status.error {
  color: #e55;
}
.form-status.success {
  color: var(--text-secondary);
}

/* --- FOOTER --- */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  position: relative;
  z-index: 1;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__social {
  display: flex;
  gap: 20px;
}

.footer__social-link {
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.footer__social-link:hover {
  color: var(--white);
}

.footer__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.footer__tagline {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.footer__location {
  font-size: 0.7rem;
  color: var(--text-muted);
  opacity: 0.6;
  letter-spacing: 0.04em;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer__blade-logo {
  height: 28px;
  width: auto;
  opacity: 0.35;
  transition: opacity 0.3s ease;
}
.footer__blade-logo:hover {
  opacity: 0.6;
}

.footer__copy {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

/* --- MODAL --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: stretch;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  transform: scale(0.98);
  transition: transform 0.35s var(--ease-out);
}
.modal-overlay.open .modal {
  transform: scale(1);
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  padding: 8px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 2px;
}
.modal__close:hover { color: var(--white); }

/* Image viewer area — fills most of the screen */
.modal__viewer {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  position: relative;
}
/* When in full-size mode, allow scrolling */
.modal__viewer--scrollable {
  overflow: auto;
  cursor: grab;
  /* Hide scrollbars — drag to pan instead */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}
.modal__viewer--scrollable::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}
.modal__viewer--scrollable:active {
  cursor: grabbing;
}

.modal__image {
  user-select: none;
  -webkit-user-select: none;
  display: block;
}
/* Fit mode — image contained within viewer, centered */
.modal__image--fit {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
/* Full-size mode — native resolution, scrollable */
.modal__image--full {
  max-width: none;
  max-height: none;
  width: auto;
  height: auto;
}

/* Info bar at bottom */
.modal__info-bar {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 16px 24px;
  background: rgba(0, 0, 0, 0.9);
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.modal__info-left {
  flex-shrink: 0;
}
.modal__info-right {
  flex: 1;
  min-width: 0;
}
.modal__info-right .modal__description {
  margin-top: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.modal__info-right .modal__tags {
  margin-top: 6px;
}

.modal__category {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}

.modal__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: var(--white);
  line-height: 1;
}

.modal__subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-top: 8px;
}

.modal__description {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: 20px;
}

.modal__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.modal__tag {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
  padding: 3px 10px;
  border: 1px solid var(--border);
}

/* Size toggle button */
.modal__zoom-controls {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
  margin-left: auto;
}
.modal__zoom-btn {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-weight: 600;
  transition: color 0.2s ease, border-color 0.2s ease;
  padding: 0 16px;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  white-space: nowrap;
}
.modal__zoom-btn:hover {
  color: var(--white);
  border-color: var(--text-muted);
}

/* --- SCROLL REVEAL --- */
.reveal-element {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal-element.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================================================
   RESPONSIVE
   ======================================================================== */

/* TABLET */
@media (max-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about__content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact__details {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* MOBILE */
@media (max-width: 768px) {
  :root {
    --nav-height: 56px;
    --container-pad: 16px;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav__links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
  }
  .nav__links.open {
    opacity: 1;
    visibility: visible;
  }
  .nav__links .nav__link {
    font-size: 1.2rem;
    letter-spacing: 0.25em;
  }

  .nav__logo-li {
    position: static;
    transform: none;
    order: -1;
    padding: 0 0 8px 0;
  }
  .nav__logo-img {
    height: 40px;
  }
  .nav__links > li:not(.nav__logo-li) {
    width: auto;
    text-align: center;
  }
  .nav__links > li:nth-child(2) {
    margin-right: 0;
  }
  .nav__links > li:nth-child(4) {
    margin-left: 0;
  }

  .section {
    padding: 60px 0;
  }
  .section--page {
    padding-top: calc(var(--nav-height) + 24px);
  }

  .hero__logo {
    width: clamp(180px, 55vw, 320px);
  }

  .hero__btn {
    padding: 12px 36px;
    font-size: 0.68rem;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .portfolio-card__overlay {
    padding: 16px;
  }
  .portfolio-card__title {
    font-size: 1.1rem;
  }
  .portfolio-card__category {
    font-size: 0.55rem;
  }

  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .work-filters {
    gap: 6px;
  }
  .work-filter {
    padding: 6px 14px;
    font-size: 0.58rem;
  }

  .section__title {
    font-size: 2.5rem;
  }

  .pull-quote p {
    font-size: 2rem;
  }

  .about__logos-inline {
    gap: 20px;
    margin-top: 28px;
  }
  .about__logo-sm--gear {
    height: 56px;
  }
  .about__logo-sm--blade {
    height: 50px;
  }

  .contact__logos-header {
    gap: 24px;
    margin-bottom: 36px;
    padding-bottom: 28px;
  }
  .contact__logo--gear {
    height: 72px;
  }
  .contact__logo--blade {
    height: 66px;
  }
  .contact__details {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .contact-form__row {
    grid-template-columns: 1fr;
  }

  .modal__info-bar {
    flex-direction: column;
    gap: 12px;
    padding: 12px 16px;
  }
  .modal__info-right .modal__description {
    white-space: normal;
  }
  .modal__title {
    font-size: 1.3rem;
  }
  .modal__zoom-controls {
    margin-left: 0;
  }
}

/* SMALL MOBILE */
@media (max-width: 480px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .shop-grid {
    grid-template-columns: 1fr;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .footer__inner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

/* --- IMAGE LOADING — blur-up effect --- */
.portfolio-card__image,
.shop-card__image,
.about__photo {
  background: var(--bg-elevated);
  transition: opacity 0.5s ease, filter 0.5s ease, transform 0.6s var(--ease-out);
}
.portfolio-card__image[data-loaded="false"],
.shop-card__image[data-loaded="false"],
.about__photo[data-loaded="false"] {
  opacity: 0.3;
  filter: blur(12px);
}
.portfolio-card__image[data-loaded="true"],
.shop-card__image[data-loaded="true"],
.about__photo[data-loaded="true"] {
  opacity: 1;
  filter: blur(0);
}

/* --- SCROLL TO TOP --- */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-muted);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, color 0.2s ease, border-color 0.2s ease;
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover {
  color: var(--white);
  border-color: var(--text-muted);
}

/* ========================================================================
   CUSTOM CURSOR
   ======================================================================== */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--ease-out), height 0.25s var(--ease-out),
              border-color 0.25s ease, background 0.25s ease, opacity 0.2s ease;
  mix-blend-mode: difference;
  opacity: 0;
}
.cursor.visible {
  opacity: 1;
}
.cursor--hover {
  width: 56px;
  height: 56px;
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.06);
}
.cursor--view {
  width: 80px;
  height: 80px;
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.06);
}
.cursor__label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-body);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #fff;
  opacity: 0;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}
.cursor--view .cursor__label {
  opacity: 1;
}
/* Hide custom cursor on touch devices */
@media (hover: none) and (pointer: coarse) {
  .cursor { display: none !important; }
}

/* ========================================================================
   SCROLL PROGRESS BAR
   ======================================================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: rgba(255, 255, 255, 0.35);
  z-index: 1100;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
html.inverted .scroll-progress {
  background: rgba(0, 0, 0, 0.25);
}

/* ========================================================================
   LOADING SCREEN
   ======================================================================== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader__gear {
  width: 80px;
  height: 80px;
  opacity: 0;
  animation: loaderPulse 1.2s ease-in-out forwards;
}
@keyframes loaderPulse {
  0% { opacity: 0; transform: scale(0.85) rotate(-10deg); }
  50% { opacity: 0.6; transform: scale(1) rotate(0deg); }
  100% { opacity: 0.3; transform: scale(0.97) rotate(2deg); }
}

/* ========================================================================
   KEYBOARD SHORTCUTS OVERLAY
   ======================================================================== */
.shortcuts-trigger {
  position: fixed;
  bottom: 32px;
  left: 32px;
  z-index: 900;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.6);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, color 0.2s ease, border-color 0.2s ease;
}
.shortcuts-trigger.visible {
  opacity: 1;
  visibility: visible;
}
.shortcuts-trigger:hover {
  color: var(--white);
  border-color: var(--text-muted);
}
@media (hover: none) and (pointer: coarse) {
  .shortcuts-trigger { display: none !important; }
}

.shortcuts-overlay {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.shortcuts-overlay.open {
  opacity: 1;
  visibility: visible;
}
.shortcuts-panel {
  max-width: 400px;
  width: 90%;
  padding: 40px;
  border: 1px solid var(--border);
  background: rgba(10, 10, 10, 0.95);
}
.shortcuts-panel__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: 28px;
}
.shortcuts-panel__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.shortcuts-panel__row:last-child {
  border-bottom: none;
}
.shortcuts-panel__action {
  font-size: 0.82rem;
  color: var(--text-secondary);
}
.shortcuts-panel__key {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  padding: 3px 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}
.shortcuts-panel__close-hint {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 24px;
  letter-spacing: 0.06em;
}

/* ========================================================================
   LIGHTBOX NAVIGATION ARROWS
   ======================================================================== */
.modal__nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-secondary);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease, color 0.2s ease, border-color 0.2s ease;
}
.modal-overlay.open .modal__nav-arrow {
  opacity: 1;
}
.modal__nav-arrow:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}
.modal__nav-arrow--prev {
  left: 16px;
}
.modal__nav-arrow--next {
  right: 16px;
}
@media (max-width: 768px) {
  .modal__nav-arrow {
    width: 36px;
    height: 36px;
  }
  .modal__nav-arrow--prev { left: 8px; }
  .modal__nav-arrow--next { right: 8px; }
}

/* ========================================================================
   PREFERS-REDUCED-MOTION
   ======================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .cursor { display: none !important; }
  .loader { display: none !important; }
  .page { animation: none !important; }
  .page.active { opacity: 1; transform: none; }
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--border);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}
