/* ============================================
   FONTS
   ============================================ */

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

:root {
  --bg: #0a0a0a;
  --bg-card: #111111;
  --bg-nav: rgba(10, 10, 10, 0.85);
  --text: #f0ece4;
  --text-muted: #999999;
  --accent: #00e8c8;
  --accent-warm: #ff4d2e;
  --accent-red: #b52a1a;
  --accent-blue: #1a5aab;
  --accent-green: #1a7a3a;
  --accent-purple: #6a1fa0;
  --border: rgba(240, 236, 228, 0.07);

  --font-display: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body: 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

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

.site-shell {
  position: relative;
  z-index: 2;
  background: var(--bg);
  margin-bottom: var(--footer-reveal-space, 0px);
}

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

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

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease), height 0.3s var(--ease), background 0.3s var(--ease), opacity 0.3s var(--ease);
  mix-blend-mode: difference;
}

.cursor--hover {
  width: 48px;
  height: 48px;
  background: var(--text);
}

.cursor::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  background: #000;
  -webkit-mask: url('../assets/arrow-forward-diagonal.svg') center / contain no-repeat;
  mask: url('../assets/arrow-forward-diagonal.svg') center / contain no-repeat;
  mix-blend-mode: normal;
  opacity: 0;
  transition: opacity 0.2s var(--ease);
}

.cursor--hover::after {
  opacity: 1;
}

.cursor--hidden {
  opacity: 0;
}

/* Custom cursor scoped to desktop non-touch devices (class added by JS) */
body.has-custom-cursor,
body.has-custom-cursor * {
  cursor: none !important;
}

/* ============================================
   SKIP LINK
   ============================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 10000;
  background: var(--accent);
  color: var(--bg);
  padding: 0.5rem 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 1rem;
}

/* ============================================
   FOCUS VISIBLE
   ============================================ */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

:focus:not(:focus-visible) {
  outline: none;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
[data-animate] {
  --reveal-x: 0px;
  opacity: 0;
  transform: translate(var(--reveal-x), 40px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}

[data-animate].in-view {
  opacity: 1;
  transform: translate(var(--reveal-x), 0);
}

[data-animate-delay="1"] {
  transition-delay: 0.1s;
}

[data-animate-delay="2"] {
  transition-delay: 0.2s;
}

[data-animate-delay="3"] {
  transition-delay: 0.3s;
}

[data-animate-delay="4"] {
  transition-delay: 0.4s;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1.5rem 3rem;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease);
}

.nav-icon {
  grid-column: 1;
  justify-self: start;
}

.nav-wordmark {
  grid-column: 2;
  justify-self: center;
}

.nav-hamburger {
  grid-column: 3;
  justify-self: end;
}

.nav.scrolled {
  background: var(--bg);
  padding: 1.15rem 3rem;
  border-bottom: 1px solid var(--border);
}

.nav-icon {
  display: flex;
  align-items: center;
  transition: opacity 0.3s;
}

.nav-icon:hover {
  opacity: 0.7;
}

.nav-icon img {
  height: 42px;
  width: auto;
  display: block;
}

.nav-wordmark {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.nav-wordmark:hover {
  opacity: 0.7;
}

.page-home .nav-wordmark {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

.page-home .nav.scrolled .nav-wordmark {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.35s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* ============================================
   HERO — HOMEPAGE
   ============================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg);
}


.hero-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg,
      transparent,
      transparent 3px,
      rgba(0, 0, 0, 0.04) 3px,
      rgba(0, 0, 0, 0.04) 4px);
  pointer-events: none;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: #0a0a0a;
  z-index: 0;
  overflow: hidden;
}

.hero-bg video,
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0.5;
}

/* Dark gradient overlay for text legibility */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.75) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: fit-content;
}

.hero-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 9.5vw, 11rem);
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 2.5rem;
  white-space: nowrap;
}

.hero-title em {
  font-style: normal;
  -webkit-text-stroke: 0;
  color: var(--text);
}

.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  align-self: stretch;
}

.hero-desc {
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.7;
}

.hero-scroll {
  position: absolute;
  bottom: 4rem;
  right: 3rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px;
  height: 60px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}

.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  animation: scrollLine 1.8s var(--ease) infinite;
}

@keyframes scrollLine {
  0% {
    top: -100%;
  }

  100% {
    top: 200%;
  }
}

/* ============================================
   HERO — COVER VIDEO (replaces Unicorn Studio)
   ============================================ */
.hero-cover-video {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 0;
}

.hero-cover-overlay {
  display: none;
}

.hero-cover-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 2rem;
  pointer-events: none;
}

.hero-cover-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 9.5vw, 11rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--text);
  opacity: 0;
  animation: cover-fade-in 2.5s var(--ease) 0.4s forwards;
}

.hero-cover-subtitle {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(0.7rem, 1.1vw, 0.95rem);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--text-muted);
  margin-top: 1.25rem;
  opacity: 0;
  animation: cover-fade-in 2.5s var(--ease) 1.2s forwards;
}

@keyframes cover-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ============================================
   HOME HERO
   ============================================ */
.home-hero {
  background: var(--bg);
  display: flex;
  flex-direction: column;
  padding-bottom: 0;
}

.home-hero-grid {
  display: grid;
  padding: 0;
}

.home-hero-grid--full {
  grid-template-columns: 1fr;
  gap: 0;
}

.home-hero-full {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--bg);
}

.page-home .home-hero--full {
  position: relative;
  z-index: 0;
}

.page-home .home-hero--full .home-hero-full {
  min-height: 100svh;
  background: transparent;
}

.page-home .home-hero--full .home-hero-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100svh;
  z-index: -1;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.45s var(--ease);
}

.page-home.home-video-hidden .home-hero--full .home-hero-video {
  opacity: 0;
}

.home-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-hero-frame-overlay {
  position: absolute;
  top: 8rem;
  right: 14rem;
  bottom: 4.5rem;
  left: 14rem;
  border: 10px solid #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 2.5rem 3rem;
  z-index: 1;
  pointer-events: none;
  container-type: inline-size;
}

.home-hero-svg-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  height: auto;
  max-width: clamp(320px, 65%, 820px);
  max-height: 75%;
  z-index: 1;
  pointer-events: none;
}

.home-hero-frame-overlay-top,
.home-hero-frame-overlay-bottom {
  width: 100%;
  text-align: center;
  font-family: var(--font-display);
  color: #fff;
  text-transform: uppercase;
  line-height: 1;
}

.home-hero-frame-overlay-top {
  font-weight: 800;
  font-size: clamp(1.6rem, 6.6cqw, 4.6rem);
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.home-hero-frame-overlay-bottom {
  font-weight: 400;
  font-size: clamp(1.2rem, 3vw, 3rem);
  letter-spacing: 0.38em;
  text-indent: 0.38em;
}

/* ── Hero cover reveal animations ──────────────────────────────────────── */
/* Frame: fades in and scales up from slightly smaller */
.home-hero-frame-overlay {
  animation: hero-frame-in 1s var(--ease) 0.45s both;
}

/* Top text: slides down into place */
.home-hero-frame-overlay-top {
  animation: hero-text-down 0.8s var(--ease) 0.85s both;
}

/* Bottom text: slides up into place */
.home-hero-frame-overlay-bottom {
  animation: hero-text-up 0.8s var(--ease) 1.05s both;
}

@keyframes hero-frame-in {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes hero-text-down {
  from { opacity: 0; transform: translateY(-18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes hero-text-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-frame-overlay,
  .home-hero-frame-overlay-top,
  .home-hero-frame-overlay-bottom {
    animation: none;
  }
}

/* Rotating tagline word — slides out left, in from right */
.home-hero-rotator {
  display: inline-block;
  white-space: nowrap;
  color: var(--accent-red);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), color 0.35s var(--ease);
  will-change: opacity, transform, color;
}

.home-hero-rotator.is-out {
  opacity: 0;
  transform: translateX(-40px);
}

.home-hero-rotator.is-in-start {
  opacity: 0;
  transform: translateX(40px);
  transition: none;
}

/* Marquee overrides on the home hero — borderless, transparent, larger text, tighter spacing */
.home-hero .marquee {
  border: none;
  background: transparent;
  padding: 0.75rem 0;
}

/* 6 copies in the track — use -16.667% translate (= 1/6) so the loop
   is always seamless even on very large viewports with big fonts */
.home-hero .marquee-track {
  animation-name: marqueeScrollHero;
}

@keyframes marqueeScrollHero {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-16.6667%); }
}

.home-hero .marquee-item {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 1.8vw, 4vw);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  padding: 0 0.6rem;
  gap: 0.6rem;
}

.home-hero .marquee-item span {
  color: #fff;
  font-size: 0.75em;
  opacity: 0.85;
}

/* ============================================
   HOME 2 — three-panel hero
   ============================================ */
.home-hero--triple .home-hero-grid--triple {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 100svh;
  height: 100svh;
  gap: 0;
  padding: 0;
  align-items: stretch;
}

.home-hero-left--triple {
  height: 100%;
}

.home-hero-frame--triple {
  height: 100%;
  border: none;
}

.home-2-hero-brand,
.home-2-hero-menu-panel {
  height: 100%;
  min-width: 0;
}

.home-2-hero-brand {
  display: flex;
  background: var(--bg);
  border-left: 1px solid rgba(10, 10, 10, 0.18);
  border-right: 1px solid rgba(10, 10, 10, 0.18);
  position: relative;
  container-type: inline-size;
  overflow: hidden;
}

.home-2-hero-menu-panel {
  display: flex;
  align-items: stretch;
  background: var(--bg);
  overflow: hidden;
  position: relative;
  container-type: inline-size;
}

.home-2-hero-panel-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-2-hero-word {
  position: absolute;
  top: 5cqw;
  left: 0;
  right: 0;
  padding: 0 5cqw;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 9.1cqw;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
  pointer-events: none;
  z-index: 2;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.18);
}

.home-2-hero-word--blue {
  color: var(--accent-blue);
  text-shadow: 0 0 16px rgba(111, 181, 255, 0.28);
}

.home-statement {
  padding: 10rem 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* ── Home Studio Intro ──────────────────────────── */
.home-intro {
  padding: 8rem 6rem;
}

.home-intro-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

.home-intro-text {
  font-size: clamp(1.1rem, 1.8vw, 1.6rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  max-width: 80ch;
}

.home-intro-icon {
  width: 36px;
  height: auto;
  filter: brightness(0) invert(1);
}

.home-work-label {
  padding: 0 6rem 2rem;
}

.home-work-label-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.25vw, 3.5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--text);
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.page-home #main-content {
  background: var(--bg);
}

.page-home .home-intro,
.page-home .home-work-label,
.page-home .home-work-grid,
.page-home .work-with-me,
.page-home .home-statement {
  position: relative;
  z-index: 1;
  background: var(--bg);
}

.page-home .home-intro[data-animate],
.page-home .home-work-label[data-animate],
.page-home .home-work-grid[data-animate],
.page-home .work-with-me[data-animate],
.page-home .home-statement[data-animate] {
  opacity: 1;
  transform: none;
  transition: none;
}

.page-home .home-cta {
  position: relative;
  z-index: 1;
  background: #f0ece4;
}

.home-statement-inner {
  --reveal-x: 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  width: 100%;
  max-width: 1440px;
  text-align: center;
}

.home-statement-icon {
  width: clamp(120px, 12vw, 180px);
  height: auto;
  display: block;
  flex-shrink: 0;
}

.home-statement-tagline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0;
  text-transform: none;
  text-align: center;
  width: 100%;
}

.home-statement-line {
  display: block;
  text-align: center;
}

.home-statement-rotator-slot {
  display: inline-grid;
  place-items: center;
  width: 13ch;
  overflow: hidden;
}

.home-statement-tagline .home-hero-rotator {
  text-align: center;
}

@media (max-width: 1100px) {
  .home-hero--triple .home-hero-grid--triple {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Mobile hero sizing */
@media (max-width: 900px) {
  .home-hero-grid {
    padding: 0;
  }

  .home-hero-full {
    min-height: 100svh;
  }

  .home-hero-frame-overlay {
    top: 6.5rem;
    right: 4rem;
    bottom: 3rem;
    left: 4rem;
    border-width: 8px;
    padding: 1.5rem;
  }

  .home-hero--triple .home-hero-grid--triple {
    grid-template-columns: 1fr;
    min-height: auto;
    height: auto;
    gap: 2rem;
    padding: 6rem 1.5rem 2rem;
  }

  .home-2-hero-brand,
  .home-2-hero-menu-panel {
    height: auto;
  }

  .home-statement {
    padding: 4rem 1.5rem;
  }

  .home-statement-inner {
    --reveal-x: 0px;
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .home-statement-tagline {
    justify-items: center;
    width: auto;
    text-align: center;
  }

  .home-statement-line {
    justify-content: center;
  }

}

/* ============================================
   SHOP — Coming Soon
   ============================================ */
.shop-soon {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 6rem;
  text-align: center;
}

.shop-soon-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 8vw, 7rem);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0;
}

/* ============================================
   MARQUEE
   ============================================ */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0;
  background: var(--bg-card);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
  will-change: transform;
}

.marquee-item {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.marquee-item span {
  color: var(--accent);
  font-size: 0.5rem;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ============================================
   HOMEPAGE STATEMENT SECTION
   ============================================ */
.statement-section {
  padding: 6rem 4rem;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 3rem;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.statement-label {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 2.2;
}

.statement-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.statement-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 4.5rem);
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.0;
  letter-spacing: -0.02em;
}

.statement-heading em {
  font-style: normal;
  color: var(--accent);
}

.statement-aside {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: right;
  line-height: 2.2;
}

.statement-cta-link {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: color 0.3s;
}

.statement-cta-link .arrow-icon {
  opacity: 0.5;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.statement-cta-link:hover {
  color: var(--accent);
}

.statement-cta-link:hover .arrow-icon {
  transform: translateX(4px);
  opacity: 1;
}

/* ============================================
   HOMEPAGE WORK SHOWCASE
   ============================================ */
.work-showcase {
  border-bottom: 1px solid var(--border);
}

.showcase-card {
  position: relative;
  overflow: hidden;
  display: block;
  height: clamp(280px, 52vh, 600px);
}

.showcase-card--full {
  height: clamp(360px, 65vh, 750px);
}

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

.showcase-img {
  position: absolute;
  inset: 0;
  background: var(--bg-card);
  overflow: hidden;
  transition: transform 0.7s var(--ease);
}

.showcase-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.showcase-card:hover .showcase-img {
  transform: scale(1.04);
}

.showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(0, 0, 0, 0.82) 100%);
  z-index: 1;
  transition: background 0.5s var(--ease);
}

.showcase-card:hover .showcase-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.9) 100%);
}

.showcase-info {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 2.5rem 3rem;
  z-index: 2;
}

.showcase-tag {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.showcase-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 2rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--text);
}

.showcase-subtitle {
  font-size: 0.78rem;
  color: rgba(240, 236, 228, 0.55);
  margin-top: 0.4rem;
  line-height: 1.5;
}

.showcase-arrow {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(240, 236, 228, 0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), border-color 0.3s;
}

.showcase-arrow img {
  width: 14px;
  height: 14px;
}

.showcase-card:hover .showcase-arrow {
  opacity: 1;
  transform: scale(1);
  border-color: rgba(0, 232, 200, 0.5);
}

.showcase-cta {
  padding: 3.5rem 4rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
}

/* ============================================
   HOMEPAGE WORK WITH ME
   ============================================ */
.work-with-me {
  padding: 7rem 6rem 8rem;
  border-top: 1px solid var(--border);
}

.work-with-me-inner {
  max-width: 1440px;
  margin: 0 auto;
}

.work-with-me-header {
  display: grid;
  grid-template-columns: minmax(180px, 0.36fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: end;
  margin-bottom: 2.5rem;
}

.work-with-me-kicker,
.work-with-me-subheading,
.work-with-me-service-number,
.work-with-me-best-for h3 {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.work-with-me-kicker,
.work-with-me-service-number,
.work-with-me-best-for h3 {
  color: var(--accent);
}

.work-with-me-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 6rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.work-with-me-copy {
  display: grid;
  grid-template-columns: minmax(180px, 0.36fr) minmax(0, 1fr);
  gap: 3rem;
  margin-bottom: 5rem;
}

.work-with-me-copy p {
  grid-column: 2;
  max-width: 860px;
  color: rgba(240, 236, 228, 0.72);
  font-size: clamp(1rem, 1.45vw, 1.28rem);
  line-height: 1.65;
}

.work-with-me-copy p + p {
  margin-top: 1rem;
}

.work-with-me-services-wrap {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}

.work-with-me-subheading {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.work-with-me-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.work-with-me-service {
  min-height: 260px;
  padding: clamp(1.5rem, 2.5vw, 2.2rem);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.work-with-me-service h4 {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.6vw, 1.65rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  max-width: 12ch;
}

.work-with-me-service p {
  margin-top: auto;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.work-with-me-best-for {
  margin-top: 2rem;
  padding: 2rem;
  border: 1px solid rgba(240, 236, 228, 0.14);
  display: grid;
  grid-template-columns: minmax(150px, 0.25fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.work-with-me-best-for p {
  max-width: 780px;
  color: var(--text);
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  line-height: 1.6;
}

/* ============================================
   HOMEPAGE CTA BANNER
   ============================================ */
.home-cta {
  padding: 12rem 4rem;
  background: #f0ece4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  text-align: center;
  border-radius: 0 0 2rem 2rem;
}

.home-cta-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--bg);
}

.home-cta-heading em {
  font-style: normal;
}

.home-cta .btn {
  border-color: var(--bg);
  border-width: 2px;
  border-radius: 999px;
  color: var(--bg);
  font-weight: 700;
}

.home-cta .btn:hover {
  border-color: var(--bg);
  border-width: 2px;
  border-radius: 999px;
  background: var(--bg);
  color: #f0ece4;
}

.home-cta .btn .arrow-icon {
  filter: brightness(0);
}

.home-cta .btn:hover .arrow-icon {
  filter: brightness(0) invert(1);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.9rem 1.8rem;
  border: 1px solid var(--border);
  color: var(--text);
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}

.btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--filled {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

.btn--filled:hover {
  background: transparent;
  color: var(--accent);
}


/* ============================================
   FOOTER
   ============================================ */
footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background: var(--bg);
}

.footer {
  position: relative;
  isolation: isolate;
  background: var(--bg);
  padding: clamp(2rem, 5vw, 5rem) clamp(1.5rem, 4vw, 4rem) 0;
  display: grid;
  grid-template-columns: minmax(180px, 2fr) minmax(0, 3fr);
  gap: clamp(1.5rem, 3vw, 4rem);
  align-items: start;
}

.footer-vert-logo {
  overflow: hidden;
  align-self: end;
  height: clamp(180px, 28vw, 560px);
}

.footer-vert-logo img,
.footer-vert-logo video {
  width: auto;
  height: 100%;
  display: block;
  opacity: 0.85;
  transition: opacity 0.3s;
  mix-blend-mode: lighten;
}

.footer-vert-logo img:hover,
.footer-vert-logo video:hover {
  opacity: 1;
}

.footer-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.25rem, 2.6vw, 3rem);
  min-width: 0;
}

.footer-col-label {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.4vw, 1.35rem);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: clamp(0.65rem, 1.5vw, 1.35rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav a {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.2vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  opacity: 1;
  display: inline-flex;
  align-items: center;
  transition: opacity 0.3s, color 0.3s;
  text-transform: uppercase;
  line-height: 1;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  opacity: 1;
}

.footer-nav a.footer-link--accent:hover,
.footer-nav a.footer-link--accent:focus-visible {
  color: var(--accent);
}

.footer-nav a.footer-link--warm:hover,
.footer-nav a.footer-link--warm:focus-visible {
  color: var(--accent-warm);
}

.footer-nav a.footer-link--red:hover,
.footer-nav a.footer-link--red:focus-visible {
  color: var(--accent-red);
}

.footer-nav a.footer-link--blue:hover,
.footer-nav a.footer-link--blue:focus-visible {
  color: var(--accent-blue);
}

.footer-nav a.footer-link--green:hover,
.footer-nav a.footer-link--green:focus-visible {
  color: var(--accent-green);
}

.footer-nav a.footer-link--purple:hover,
.footer-nav a.footer-link--purple:focus-visible {
  color: var(--accent-purple);
}

.footer-tagline-text {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.35vw, 1.25rem);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
  line-height: 1.35;
  padding-top: clamp(0.8rem, 1.8vw, 1.5rem);
}

.footer-social-row {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.6vw, 1.25rem);
  margin-top: clamp(0.75rem, 1.6vw, 1rem);
  flex-wrap: wrap;
}

.footer-download-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.footer-download-row a {
  min-height: 3.6rem;
  min-width: min(100%, 260px);
  padding: 0.95rem 1.5rem;
  border: 1px solid rgba(240, 236, 228, 0.35);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.footer-download-row a:hover,
.footer-download-row a:focus-visible {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}

.footer-social {
  display: flex;
  align-items: center;
  opacity: 1;
  transition: opacity 0.3s, transform 0.3s;
}

.footer-social:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.footer-social img {
  height: clamp(28px, 3vw, 40px);
  width: clamp(28px, 3vw, 40px);
  display: block;
  filter: brightness(0) invert(1);
}

.footer-copy {
  padding: 1.2rem clamp(1.5rem, 4vw, 4rem);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .footer {
    grid-template-columns: minmax(140px, 1fr) minmax(0, 2fr);
  }

  .footer-right {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 601px) and (max-width: 1100px) {
  .footer {
    grid-template-columns: minmax(220px, 1.15fr) minmax(0, 1.85fr);
    padding-bottom: 0;
  }

  .footer-vert-logo {
    height: clamp(280px, 42vw, 460px);
    overflow: visible;
    margin-bottom: -1px;
  }
}

@media (max-width: 600px) {
  .footer {
    grid-template-columns: 1fr;
    text-align: left;
    padding-bottom: 0;
  }

  .footer-vert-logo {
    order: 2;
    justify-self: center;
    align-self: end;
    height: clamp(300px, 68vw, 460px);
    overflow: hidden;
    transform: none;
    margin-bottom: -1px;
    pointer-events: auto;
  }

  .footer-right {
    order: 1;
    grid-template-columns: 1fr;
    justify-items: start;
    padding-bottom: 0;
  }

  .footer-nav,
  .footer-nav li,
  .footer-connect-col,
  .footer-right > div {
    width: 100%;
  }

  .footer-nav {
    align-items: flex-start;
  }

  .footer-nav a,
  .footer-tagline-text,
  .footer-col-label {
    text-align: left;
  }

  .footer-nav a {
    justify-content: flex-start;
    align-self: flex-start;
  }

  .footer-social-row {
    justify-content: flex-start;
  }
}

.footer-logo img {
  height: 22px;
  width: auto;
  display: block;
  opacity: 0.4;
  transition: opacity 0.3s;
}

.footer-logo img:hover {
  opacity: 1;
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  padding: 14rem 3rem 5rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.page-apparel .page-hero {
  border-bottom: none;
}

.page-branding .page-hero,
.page-illustration .page-hero {
  border-bottom: none;
}

.page-hero-text {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

.page-hero-animation {
  position: absolute;
  right: 16rem;
  bottom: 0;
  height: 75%;
  width: auto;
  mix-blend-mode: lighten;
  opacity: 1;
  pointer-events: none;
}

.page-hero-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.page-hero-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.page-hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 5.5vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.page-hero-subtitle {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 500px;
  line-height: 1.7;
}

.page-hero-accent {
  width: 60px;
  height: 4px;
  margin-top: 1.25rem;
  border-radius: 2px;
}

.page-hero--centered .page-hero-text {
  text-align: center;
}

.page-hero--centered .page-hero-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.page-hero--compact-title .page-hero-title {
  font-size: clamp(1.9rem, 3.4vw, 3.5rem);
  line-height: 1;
  white-space: nowrap;
}

/* ============================================
   CATEGORY GRID
   ============================================ */
.category-grid {
  padding: 5rem 3rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Branding page card layout ───────────────
   Square card: top 2/3 image, bottom 1/3 info */
.category-grid .cat-card {
  aspect-ratio: 1/1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 0.5rem;
}

.category-grid .cat-card--wide {
  grid-column: span 1;
  aspect-ratio: 1/1;
}

/* Image takes top 2/3 */
.category-grid .cat-card-img {
  position: relative;
  inset: unset;
  width: 100%;
  flex: 0 0 66.666%;
  overflow: hidden;
}

/* Info takes bottom 1/3, no background */
.category-grid .cat-card-info {
  position: static;
  left: auto;
  bottom: auto;
  z-index: auto;
  flex: 0 0 33.333%;
  background: transparent;
  padding: 1.05rem 0 0.35rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.75rem;
}

/* Card text always visible */
.category-grid .cat-card-tag {
  opacity: 1;
}

.category-grid .cat-card-desc {
  margin: 0;
  max-width: 34rem;
  color: rgba(240, 236, 228, 0.68);
  font-size: clamp(0.78rem, 1vw, 0.95rem);
  line-height: 1.45;
}

.category-grid .cat-card-title {
  opacity: 1;
  transform: none;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.05;
  transition: color 0.3s var(--ease);
}

/* Reset card-level hover — effects should only fire over the image */
.category-grid .cat-card:hover .cat-card-overlay { background: rgba(0,0,0,0); }
.category-grid .cat-card:hover .cat-card-img img { transform: none; }
.category-grid .cat-card:hover .cat-card-arrow { opacity: 0; transform: scale(0.7); border-color: rgba(240,236,228,0.18); }
.category-grid .cat-card:hover .cat-card-title { color: var(--text); }

/* Re-apply hover effects only when mouse is over the image */
.category-grid .cat-card-img:hover .cat-card-overlay { background: rgba(0,0,0,0.45); }
.category-grid .cat-card-img:hover img { transform: scale(1.05); }
.category-grid .cat-card-img:hover .cat-card-arrow { opacity: 1; transform: scale(1); border-color: rgba(0,232,200,0.5); }
.category-grid .cat-card:has(.cat-card-img:hover) .cat-card-title { color: var(--accent); }

.cat-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1/1;
  display: block;
}

.cat-card--wide {
  grid-column: span 1;
  aspect-ratio: 1/1;
}

.cat-card-img {
  position: absolute;
  inset: 0;
  background: var(--bg-card);
  overflow: hidden;
  transition: transform 0.7s var(--ease);
}

.cat-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.7s var(--ease);
}

.cat-card:hover .cat-card-img img {
  transform: scale(1.05);
}

/* Placeholder colors for category cards */
.cat-card:nth-child(1) .cat-card-img {
  background: linear-gradient(135deg, #101828 0%, #1a2a3a 100%);
}

.cat-card:nth-child(2) .cat-card-img {
  background: linear-gradient(135deg, #1a1020 0%, #2a1a30 100%);
}

.cat-card:nth-child(3) .cat-card-img {
  background: linear-gradient(135deg, #1a1010 0%, #2a1818 100%);
}

.cat-card:nth-child(4) .cat-card-img {
  background: linear-gradient(135deg, #101a10 0%, #182818 100%);
}

.cat-card:nth-child(5) .cat-card-img {
  background: linear-gradient(135deg, #1a1820 0%, #121018 100%);
}

.cat-card:nth-child(6) .cat-card-img {
  background: linear-gradient(135deg, #101418 0%, #0a1020 100%);
}

.cat-card:nth-child(7) .cat-card-img {
  background: linear-gradient(135deg, #181010 0%, #220d0d 100%);
}

.cat-card:nth-child(8) .cat-card-img {
  background: linear-gradient(135deg, #0d1a12 0%, #0a1410 100%);
}

.cat-card:hover .cat-card-img {
  transform: none;
}

.cat-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  z-index: 1;
  transition: background 0.4s var(--ease);
}

.cat-card:hover .cat-card-overlay {
  background: rgba(0, 0, 0, 0.45);
}

.cat-card-info {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 2;
}

.cat-card-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.cat-card:hover .cat-card-title {
  opacity: 1;
  transform: translateY(0);
}

.cat-card-tag {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0;
  transition: opacity 0.4s var(--ease) 0.06s;
}

.cat-card:hover .cat-card-tag {
  opacity: 1;
}

.cat-card-arrow {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(240, 236, 228, 0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), border-color 0.3s;
}

.cat-card-arrow img {
  width: 14px;
  height: 14px;
}

.cat-card:hover .cat-card-arrow {
  opacity: 1;
  transform: scale(1);
  border-color: rgba(0, 232, 200, 0.5);
}

/* Illustration grid variant (more items) */

/* ============================================
   LOGO DESIGN PAGE
   ============================================ */

.logo-design-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 9rem 3rem 4rem;
}

.logo-design-header {
  margin-bottom: 4rem;
}

.logo-design-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.logo-design-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3rem;
  margin-bottom: 5rem;
}

.logo-grid-item {
  background: transparent;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  min-height: 200px;
  overflow: hidden;
}

.logo-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Scale-in animation for logo grid items (driven by JS queue, not CSS delays) */
.logo-grid-item[data-logo-animate] {
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

.logo-grid-item[data-logo-animate].in-view {
  opacity: 1;
  transform: scale(1);
}

.logo-design-bottom-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.logo-design-prev-next {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 900px) {
  .logo-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  .logo-grid-item {
    padding: 1.5rem;
  }
  .logo-design-wrap {
    padding: 3rem 1.25rem 3rem;
  }
}

/* ============================================
   ILLUSTRATION GALLERY
   ============================================ */

/* Scale-in animation for illustration cards (overrides default slide-up) */
.illus-gallery-item[data-animate] {
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.illus-gallery-item[data-animate].in-view {
  opacity: 1;
  transform: scale(1);
}
.illus-gallery {
  padding: 3rem 3rem 3rem;
  columns: 3;
  column-gap: 1rem;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

.illus-gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  overflow: hidden;
  position: relative;
  display: block;
  background: var(--bg-card);
  border-radius: 0.5rem;
  cursor: pointer;
}

.illus-gallery-item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.illus-gallery-item img,
.illus-gallery-item video {
  width: 100%;
  display: block;
  transition: transform 0.55s var(--ease), opacity 0.3s;
}

.illus-gallery-item:hover img,
.illus-gallery-item:hover video {
  transform: scale(1.04);
  opacity: 0.8;
}

.illus-gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem 0.85rem 0.7rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
  font-size: 0.63rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.illus-gallery-item:hover .illus-gallery-caption {
  opacity: 1;
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.96);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img-wrap {
  max-width: 84vw;
  max-height: 84vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-wrap img {
  max-width: 84vw;
  max-height: 84vh;
  object-fit: contain;
  display: block;
  transition: opacity 0.18s ease;
}

.lightbox-img-wrap img.is-fading {
  opacity: 0;
}

.lightbox-close {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #fff;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 901;
  transition: background 0.2s, border-color 0.2s;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
}

.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 901;
  transition: background 0.2s, border-color 0.2s;
}

.lightbox-prev {
  left: 1.5rem;
}

.lightbox-next {
  right: 1.5rem;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
}

.lightbox-footer {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  z-index: 901;
  pointer-events: none;
}

.lightbox-title {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.lightbox-counter {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.38);
}

/* ============================================
   PROJECT PAGE
   ============================================ */
.project-hero {
  height: 35vh;
  position: relative;
  overflow: hidden;
}

.project-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #101828 0%, #0a0a14 100%);
  transition: transform 0.1s linear;
}

.project-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.3) 0%, rgba(10, 10, 10, 0.8) 100%);
  z-index: 1;
}

.project-hero-content {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  width: calc(100% - 6rem);
  max-width: 1920px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  transform: translateX(-50%);
}

.project-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 4.5rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.95;
}

.project-meta-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: right;
}

.project-meta-item label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.project-meta-item span {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-body {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 5rem 9rem;
  align-items: start;
  border-top: 1px solid var(--border);
}

.project-sidebar {
  position: sticky;
  top: 7rem;
  height: calc(100vh - 7rem);
  display: flex;
  flex-direction: column;
  padding-bottom: 3rem;
}

/* Push prev/next nav to the bottom of the sidebar */
.project-prev-next {
  margin-top: auto;
  padding-top: 2rem;
}

/* Project page directional slide animations.
   Uses separate data-animate-left / data-animate-right attributes so there
   is zero conflict with the global [data-animate] translateY system. */

@keyframes slideInFromLeft {
  from { opacity: 0; transform: translateX(-100vw); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideInFromRight {
  from { opacity: 0; transform: translateX(100vw); }
  to   { opacity: 1; transform: translateX(0); }
}

[data-animate-left] {
  opacity: 0;
}
[data-animate-left].in-view {
  animation: slideInFromLeft 1.1s var(--ease) forwards;
}

[data-animate-right] {
  opacity: 0;
}
[data-animate-right].in-view {
  animation: slideInFromRight 1.1s var(--ease) forwards;
}

/* Stagger delays */
[data-animate-left][data-animate-delay="1"].in-view,
[data-animate-right][data-animate-delay="1"].in-view { animation-delay: 0.12s; }

[data-animate-left][data-animate-delay="2"].in-view,
[data-animate-right][data-animate-delay="2"].in-view { animation-delay: 0.24s; }

[data-animate-left][data-animate-delay="3"].in-view,
[data-animate-right][data-animate-delay="3"].in-view { animation-delay: 0.36s; }

[data-animate-left][data-animate-delay="4"].in-view,
[data-animate-right][data-animate-delay="4"].in-view { animation-delay: 0.48s; }

[data-animate-left][data-animate-delay="5"].in-view,
[data-animate-right][data-animate-delay="5"].in-view { animation-delay: 0.60s; }

[data-animate-left][data-animate-delay="6"].in-view,
[data-animate-right][data-animate-delay="6"].in-view { animation-delay: 0.72s; }

[data-animate-left][data-animate-delay="7"].in-view,
[data-animate-right][data-animate-delay="7"].in-view { animation-delay: 0.84s; }

.project-sidebar-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

.project-sidebar-section:last-child {
  border-bottom: none;
}

.project-sidebar-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.project-sidebar-value {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.4;
}

.project-sidebar-section:first-child .project-sidebar-value {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.2;
}

.project-sidebar-title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.project-sidebar-year {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.project-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.project-desc:last-of-type {
  margin-bottom: 0;
}

.project-images {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  overflow-x: clip; /* Prevent right-side slide-in animations (translateX(100vw))
                       from creating horizontal scroll. clip doesn't create a
                       scroll container so it can't break sticky siblings. */
}

.project-image {
  width: 100%;
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
}

.project-image img {
  width: calc(100% + 4px);
  max-width: none;
  height: auto;
  display: block;
  margin: -2px;
}

.project-image:nth-child(odd) {
  background: linear-gradient(135deg, #101828 0%, #0a1020 100%);
}

.project-image:nth-child(even) {
  background: linear-gradient(135deg, #181020 0%, #100a18 100%);
}

.project-image--wide {}

/* ============================================
   ABOUT PAGE
   ============================================ */

/* ── About page layout ────────────────────── */

/* Section 1: The Studio — centered */
.about-studio {
  padding: 10rem 10rem 7rem;
  display: flex;
  justify-content: center;
  position: relative;
  background-image: url('../assets-optimized/Studio photo.jpeg');
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.about-studio::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.65);
  z-index: -1;
}

.about-studio-inner {
  max-width: 720px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.about-studio-badge {
  width: clamp(140px, 18vw, 260px);
  height: auto;
  margin-bottom: 1rem;
}

.about-studio-inner p {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.8;
  color: var(--text);
}

/* ============================================
   OPEN THE BOX PAGE
   ============================================ */
.open-box-page {
  min-height: 100vh;
}

.open-box-section {
  min-height: 100svh;
  padding: clamp(4.5rem, 9vh, 8rem) clamp(1.5rem, 6vw, 6rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: clamp(2rem, 4vw, 3.5rem);
}

.open-box-badge {
  width: clamp(180px, 18vw, 280px);
  height: auto;
  display: block;
  transition: opacity 0.25s var(--ease);
}

.open-box-badge:hover,
.open-box-badge:focus-visible {
  opacity: 0.78;
}

.open-box-badge img {
  width: 100%;
  height: auto;
}

.open-box-copy {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.open-box-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 5.8vw, 5.25rem);
  font-weight: 800;
  line-height: 0.95;
  color: var(--text);
}

.open-box-copy p {
  max-width: 680px;
  font-size: clamp(1.1rem, 1.55vw, 1.45rem);
  line-height: 1.55;
  color: var(--text);
}

.open-box-actions {
  width: min(100%, 520px);
  margin-top: clamp(1.25rem, 3vw, 2.5rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.open-box-actions a {
  min-height: 3.1rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(240, 236, 228, 0.35);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.open-box-actions a:hover,
.open-box-actions a:focus-visible {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}

@media (max-width: 640px) {
  .open-box-section {
    min-height: auto;
    padding-top: 4rem;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-bottom: 4rem;
    justify-content: flex-start;
    gap: 2.25rem;
  }

  .open-box-badge {
    width: clamp(170px, 58vw, 230px);
  }

  .open-box-copy {
    gap: 1.35rem;
  }

  .open-box-copy h1 {
    font-size: clamp(2.35rem, 12vw, 3.25rem);
    line-height: 0.98;
  }

  .open-box-copy p {
    font-size: 1.08rem;
    line-height: 1.6;
  }

  .open-box-actions {
    grid-template-columns: 1fr;
    margin-top: 1.25rem;
  }
}

.about-profile {
  display: grid;
  grid-template-columns: minmax(280px, 520px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(3rem, 7vw, 8rem);
  width: calc(100% - 6rem);
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding: 7rem 0;
  border-bottom: 1px solid var(--border);
}

.about-profile-copy {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.about-profile-section {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* Shared label */
.about-block-label {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--text);
  text-transform: none;
}

/* Shared content */
.about-block-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-block-content p {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.8;
  color: var(--text);
}

.about-profile-image {
  width: min(100%, 520px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--surface);
}

.about-profile-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Services list */
.about-what-list {
  list-style: none;
  margin-top: 0.5rem;
}

.about-what-list li {
  font-size: clamp(0.78rem, 0.9vw, 0.9rem);
  font-weight: 500;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
  padding: 0.3rem 0;
  display: flex;
  align-items: center;
  gap: 0.6em;
}

.about-what-list li::before {
  content: '•';
  font-size: 1em;
  color: var(--text);
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .about-studio {
    padding: 6rem 2rem 4rem;
  }

  .about-profile {
    grid-template-columns: 1fr;
    width: auto;
    padding: 4rem 2rem;
    gap: 3rem;
  }

  .about-profile-image {
    width: 100%;
  }
}

/* ── Philosophy section ───────────────────── */
.about-philosophy {
  padding: 8rem 3rem 15rem;
}

.about-philosophy-inner {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

.about-philosophy-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--text);
}

.about-philosophy-body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-philosophy-body p {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.8;
  color: var(--text);
}

.about-philosophy-body p:first-child {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 500;
  color: var(--text);
}

@media (max-width: 900px) {
  .about-philosophy {
    padding: 6rem 2rem 10rem;
  }
}

.about-hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.about-hero-title em {
  font-style: normal;
  -webkit-text-stroke: 1px rgba(240, 236, 228, 0.3);
  color: transparent;
}

.about-hero-bio {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.about-photo-section {
  padding: 12rem 3rem 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

.about-info-block--title {
  border-bottom: 1px solid var(--border);
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-logo {
  width: clamp(200px, 30vw, 360px);
  height: auto;
}

.about-name-block {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.about-name-heading {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 0;
}

.about-name-sub {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.about-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0.5rem 0;
}

.about-info-last {
  padding-top: 2rem;
}

.about-photo-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.about-photo-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #101828 0%, #1a1030 100%);
}

.about-photo-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(240, 236, 228, 0.5);
}

.about-photo-border {
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(0, 232, 200, 0.15);
  pointer-events: none;
}

.about-info {
  padding-top: 2rem;
}

.about-info-block {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

.about-info-block:last-child {
  border-bottom: none;
}

.about-info-label {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.about-info-content {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-list li {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text);
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s;
}

.service-list li:hover {
  color: var(--accent);
}

.service-list li .arrow-icon {
  opacity: 0.35;
  transition: opacity 0.3s, transform 0.3s;
}

.service-list li:hover .arrow-icon {
  opacity: 1;
  transform: translate(3px, -3px);
}

/* ============================================
   ABOUT — SERVICES SECTION
   ============================================ */
.about-services {
  padding: 5rem 3rem;
  border-top: 1px solid var(--border);
}

.about-services-label {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--text);
  text-align: center;
  margin-bottom: 2rem;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

.about-services-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

.about-services-list li {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 0;
  height: 220px;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.about-services-list li {
  filter: grayscale(1) opacity(0.35);
  transition: filter 0.4s var(--ease);
}

.about-services-list li:hover {
  filter: grayscale(0) opacity(1);
}

.about-service-img img {
  transition: transform 0.5s var(--ease);
}

.about-services-list li:hover .about-service-img img {
  transform: scale(1.07);
}

.about-service-text {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 2.5rem 3rem 2.5rem 2rem;
}

.about-service-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--text);
}

.about-service-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 48ch;
}

.about-service-img {
  overflow: hidden;
  min-height: 100%;
}

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

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
  padding: 14rem 8rem 6rem;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: center;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

.contact-left {}

.contact-logo-video {
  width: clamp(120px, 13vw, 220px);
  height: auto;
  display: block;
  margin-bottom: 2rem;
  mix-blend-mode: lighten;
}

.contact-heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 4.5vw, 5.5rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 2rem;
}

.contact-heading em {
  font-style: normal;
  color: inherit;
}

.contact-subtext {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 0;
}

.contact-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-form-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-input,
.form-textarea {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.3s;
  width: 100%;
  box-sizing: border-box;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--accent);
}

.form-textarea {
  resize: none;
  min-height: 140px;
  line-height: 1.6;
}

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

.form-submit {
  align-self: flex-start;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
  margin-top: 0.25rem;
}

.form-submit:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ============================================
   ARROW ICONS
   ============================================ */
.arrow-icon {
  display: inline-block;
  flex-shrink: 0;
}

.arrow-icon--sm {
  width: 12px;
  height: 12px;
}

.arrow-icon--md {
  width: 16px;
  height: 16px;
}

.arrow-icon--lg {
  width: 22px;
  height: 22px;
}

/* Hero scroll down arrow */
.hero-scroll-arrow {
  width: 18px;
  height: auto;
  opacity: 0.4;
  animation: scrollBob 2s ease-in-out infinite;
}

@keyframes scrollBob {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(5px);
  }
}

/* Back arrow link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s;
}

.back-link .arrow-icon {
  opacity: 0.5;
  transition: opacity 0.3s, transform 0.3s var(--ease);
}

.back-link:hover {
  color: var(--text);
}

.back-link:hover .arrow-icon {
  opacity: 1;
  transform: translateX(-4px);
}

.project-scope-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.scope-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: border-color 0.3s, color 0.3s;
}

.scope-tag:hover {
  border-color: var(--text-muted);
  color: var(--text);
}

.project-sidebar-role {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

.project-prev-next {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

.project-prev-next .btn {
  flex: 1;
  justify-content: center;
}

.project-nav-footer {
  display: flex;
  margin-top: 0.75rem;
}

.project-nav-footer .btn {
  flex: 1;
  justify-content: center;
}

.project-prev-next .btn,
.project-nav-footer .btn {
  border-color: rgba(240, 236, 228, 0.28);
  border-radius: 0.55rem;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.project-prev-next .btn .arrow-icon,
.project-nav-footer .btn .arrow-icon {
  transition: filter 0.25s var(--ease);
}

.project-prev-next .btn:hover,
.project-nav-footer .btn:hover {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}

.project-prev-next .btn:hover .arrow-icon,
.project-nav-footer .btn:hover .arrow-icon {
  filter: brightness(0);
}

.btn--ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn--ghost:hover {
  background: var(--bg-card);
}

/* ============================================
   MURAL SECTION
   ============================================ */
.mural-section {
  padding: 5rem 3rem 6rem;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

.mural-section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 3.25vw, 3.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.mural-image-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.mural-grid-item {
  overflow: hidden;
  background: var(--bg-card);
  border-radius: 0.5rem;
}

.mural-grid-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s var(--ease);
}

.mural-grid-item:hover img {
  transform: scale(1.04);
}

@media (max-width: 900px) {
  .mural-section {
    padding: 4rem 2rem 5rem;
  }

  .mural-section-header {
    grid-template-columns: 1fr;
    margin-bottom: 2rem;
  }

  .mural-image-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .mural-section {
    padding: 3.5rem 1.5rem 4rem;
  }
}

/* ============================================
   CATEGORY PAGE NAV CARDS
   ============================================ */
.cat-nav-section {
  padding: 3rem;
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    repeat(3, minmax(0, calc((1440px - 2.5rem) / 3)))
    minmax(0, 1fr);
  gap: 1.25rem;
  border-top: 1px solid var(--border);
}

.cat-nav-section > .cat-nav-card:nth-child(1) {
  grid-column: 2;
}

.cat-nav-section > .cat-nav-card:nth-child(2) {
  grid-column: 3;
}

.cat-nav-section > .cat-nav-card:nth-child(3) {
  grid-column: 4;
}

.cat-nav-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  min-height: 180px;
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.3s var(--ease);
}

.cat-nav-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  transform: translateX(-100%);
  transition: transform 0.55s var(--ease);
}

.cat-nav-card:hover::before {
  transform: translateX(0);
}

.cat-nav-card--red {
  border-left: 3px solid #b52a1a;
}

.cat-nav-card--blue {
  border-left: 3px solid #1a5aab;
}

.cat-nav-card--green {
  border-left: 3px solid #1a7a3a;
}

.cat-nav-card--purple {
  border-left: 3px solid #6a1fa0;
}

.cat-nav-card--red::before {
  background: linear-gradient(to right, #b52a1a 0%, transparent 100%);
}

.cat-nav-card--blue::before {
  background: linear-gradient(to right, #1a5aab 0%, transparent 100%);
}

.cat-nav-card--green::before {
  background: linear-gradient(to right, #1a7a3a 0%, transparent 100%);
}

.cat-nav-card--purple::before {
  background: linear-gradient(to right, #6a1fa0 0%, transparent 100%);
}

.cat-nav-card-title {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.cat-nav-card .cat-card-arrow {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 1;
}

.cat-nav-card:hover .cat-card-arrow {
  opacity: 1;
  transform: scale(1);
  border-color: rgba(240, 236, 228, 0.4);
}

@media (max-width: 768px) {
  .cat-nav-section {
    grid-template-columns: 1fr;
  }

  .cat-nav-section > .cat-nav-card:nth-child(1),
  .cat-nav-section > .cat-nav-card:nth-child(2),
  .cat-nav-section > .cat-nav-card:nth-child(3) {
    grid-column: 1;
  }
}

/* ============================================
   HOME WORK GRID
   ============================================ */
.home-work-grid {
  display: grid;
  grid-template-columns:
    minmax(6rem, 1fr)
    minmax(0, calc((1440px - 2.5rem) / 2))
    minmax(0, calc((1440px - 2.5rem) / 2))
    minmax(6rem, 1fr);
  /* Row height = column width → half-width cells are square;
     wide (span) cells are the same height but full-width */
  grid-auto-rows: calc((min(100vw - 12rem, 1440px) - 2.5rem) / 2);
  gap: 2.5rem;
  background: var(--bg);
  padding: 2.5rem 0 6rem;
}

/* Span both columns */
.hwg-span {
  grid-column: 2 / 4;
}

.home-work-grid > .hwg-img:nth-of-type(odd) {
  grid-column: 2;
}

.home-work-grid > .hwg-img:nth-of-type(even) {
  grid-column: 3;
}

/* Image cells */
.hwg-img {
  overflow: hidden;
  position: relative;
  border-radius: 0.5rem;
}

.hwg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease);
}

.hwg-img:hover img {
  transform: scale(1.03);
}

/* Card hover overlay + info */
.hwg-card {
  display: block;
  text-decoration: none;
}

.hwg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  z-index: 1;
  transition: background 0.4s var(--ease);
  pointer-events: none;
}

.hwg-card:hover .hwg-overlay {
  background: rgba(0, 0, 0, 0.5);
}

.hwg-arrow {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(240, 236, 228, 0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), border-color 0.3s;
  pointer-events: none;
}

.hwg-arrow img {
  width: 14px;
  height: 14px;
}

.hwg-card:hover .hwg-arrow {
  opacity: 1;
  transform: scale(1);
  border-color: rgba(0, 232, 200, 0.5);
}

.hwg-info {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 2;
  pointer-events: none;
}

.hwg-card-title {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.4vw, 1.4rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.hwg-card-tag {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0;
  transition: opacity 0.4s var(--ease) 0.06s;
}

.hwg-card:hover .hwg-card-title {
  opacity: 1;
  transform: translateY(0);
}

.hwg-card:hover .hwg-card-tag {
  opacity: 1;
}

/* Video cells */
.hwg-video {
  overflow: hidden;
  position: relative;
}

.hwg-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Text cells */
.hwg-text {
  container-type: inline-size;
  background: var(--bg);
  display: flex;
  align-items: center;
  padding: clamp(2rem, 4vw, 4.5rem);
}

.hwg-text-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}


.hwg-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 5.5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--text);
}

.hwg-body {
  font-size: clamp(0.88rem, 1.05vw, 1rem);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 32ch;
}

@media (max-width: 768px) {
  .home-work-label {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .home-work-grid {
    grid-template-columns: 2rem 1fr 2rem;
    grid-auto-rows: calc(100vw - 4rem);
    padding: 1.5rem 0 4rem;
    gap: 1.5rem;
  }

  .hwg-span {
    grid-column: 2;
  }

  .home-work-grid > .hwg-img:nth-of-type(odd),
  .home-work-grid > .hwg-img:nth-of-type(even) {
    grid-column: 2;
  }
}

.more-work {
  border-top: 1px solid var(--border);
  padding: 4rem 3rem;
}

.more-work-label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

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

.more-work-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 1.5rem;
  border: 1px solid var(--border);
  transition: background 0.3s, border-color 0.3s;
}

.more-work-card:hover {
  background: var(--bg-card);
  border-color: var(--text-muted);
}

.more-work-card-label {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

/* ============================================
   UTILITIES
   ============================================ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* ============================================
   HAMBURGER BUTTON
   ============================================ */
.nav-hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  width: 36px;
  height: 28px;
  background: none;
  border: none;
  cursor: none;
  padding: 0;
  z-index: 300;
  position: relative;
  transition: opacity 0.25s var(--ease);
}

.nav-hamburger:hover {
  opacity: 0.72;
}

.nav-hamburger span {
  display: block;
  width: 32px;
  height: 3px;
  background: var(--text);
  transition: transform 0.4s var(--ease), opacity 0.3s;
  transform-origin: center;
}

.nav-hamburger.is-open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.nav-hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-hamburger.is-open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ============================================
   MOBILE MENU OVERLAY
   ============================================ */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s var(--ease);
}

.mobile-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

/* ============================================
   MOBILE MENU DRAWER
   ============================================ */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(520px, 92vw);
  background: #0f0f0f;
  border-left: 1px solid var(--border);
  z-index: 250;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  transform: translateX(100%);
  transition: transform 0.55s var(--ease);
  overflow-y: auto;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.mobile-menu-header .nav-icon img {
  height: 42px;
}

.mobile-menu-close {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: border-color 0.3s, color 0.3s;
  flex-shrink: 0;
}

.mobile-menu-close:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
}

.mobile-menu-nav a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 7vw, 3rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
  padding: 1.1rem 0;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}

.mobile-menu-nav a .arrow-icon {
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s, transform 0.3s var(--ease);
  flex-shrink: 0;
}

/* Per-link hover + active colours matching footer */
.mobile-menu-nav a:nth-child(1):hover,
.mobile-menu-nav a:nth-child(1).active { color: var(--accent-red); }    /* Branding */

.mobile-menu-nav a:nth-child(2):hover,
.mobile-menu-nav a:nth-child(2).active { color: var(--accent-blue); }   /* Illustration */

.mobile-menu-nav a:nth-child(3):hover,
.mobile-menu-nav a:nth-child(3).active { color: var(--accent-green); }  /* Apparel */

.mobile-menu-nav a:nth-child(4):hover,
.mobile-menu-nav a:nth-child(4).active { color: var(--accent); }        /* About */

.mobile-menu-nav a:nth-child(5):hover,
.mobile-menu-nav a:nth-child(5).active { color: var(--accent-warm); }   /* Contact */

.mobile-menu-nav a:hover,
.mobile-menu-nav a.active {
  padding-left: 0.5rem;
}

.mobile-menu-nav a:hover .arrow-icon,
.mobile-menu-nav a.active .arrow-icon {
  opacity: 0.6;
  transform: translateX(0);
}

.mobile-menu-footer {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-top: 0.9rem;
  margin-top: 0.25rem;
}

.mobile-menu-footer .footer-social img {
  height: 32px;
  width: 32px;
}

/* staggered link animation on open */
.mobile-menu.is-open .mobile-menu-nav a {
  animation: menuLinkIn 0.5s var(--ease) both;
}

.mobile-menu.is-open .mobile-menu-footer .footer-social {
  animation: menuLinkIn 0.5s var(--ease) both;
}

.mobile-menu.is-open .mobile-menu-nav a:nth-child(1) {
  animation-delay: 0.08s;
}

.mobile-menu.is-open .mobile-menu-nav a:nth-child(2) {
  animation-delay: 0.13s;
}

.mobile-menu.is-open .mobile-menu-nav a:nth-child(3) {
  animation-delay: 0.18s;
}

.mobile-menu.is-open .mobile-menu-nav a:nth-child(4) {
  animation-delay: 0.23s;
}

.mobile-menu.is-open .mobile-menu-nav a:nth-child(5) {
  animation-delay: 0.28s;
}

.mobile-menu.is-open .mobile-menu-footer .footer-social:nth-child(1) {
  animation-delay: 0.33s;
}

.mobile-menu.is-open .mobile-menu-footer .footer-social:nth-child(2) {
  animation-delay: 0.38s;
}

@keyframes menuLinkIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .nav {
    padding: 1.5rem 2rem;
  }

  .nav.scrolled {
    padding: 1rem 2rem;
  }

  .hero {
    padding: 0 2rem 3rem;
  }

  .category-grid,
  .project-body,
  .about-photo-section,
  .contact-section,
  .page-hero,
  .about-hero {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .statement-section {
    padding: 4rem 2rem;
  }

  .showcase-info {
    padding: 2rem;
  }

  .showcase-cta {
    padding: 2.5rem 2rem;
  }

  .work-with-me {
    padding: 5.5rem 2rem 6rem;
  }

  .work-with-me-header,
  .work-with-me-copy {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .work-with-me-copy p {
    grid-column: 1;
  }

  .work-with-me-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-cta {
    padding: 6rem 2rem;
  }

  .footer {
    padding: 3rem 2rem 2rem;
    gap: 2.5rem;
  }

  .footer-tagline {
    padding: 2rem;
  }

  .footer-copy {
    padding: 1rem 2rem;
  }

  .footer-vert-logo {
    height: clamp(140px, 28vw, 200px);
  }

  @media (max-width: 600px) {
    .footer {
      grid-template-columns: 1fr;
    }

    .footer-right {
      grid-template-columns: 1fr 1fr;
    }

    .footer-tagline {
      flex-direction: column;
      align-items: flex-start;
      gap: 1.5rem;
    }

    .footer-copy {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.5rem;
    }
  }

  .illus-gallery {
    columns: 3;
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


@media (max-width: 768px) {
  .nav {
    position: absolute;
  }

  [data-animate] {
    transform: translate(var(--reveal-x), 24px);
    transition-duration: 0.7s;
  }

  .page-hero-animation {
    display: none;
  }

  .more-work-grid {
    grid-template-columns: 1fr;
  }

  .lightbox-img-wrap,
  .lightbox-img-wrap img {
    max-width: 92vw;
    max-height: 62vh;
  }

  .lightbox-prev,
  .lightbox-next {
    top: auto;
    bottom: 5rem;
    transform: none;
  }

  .lightbox-prev {
    left: calc(50% - 3.5rem);
  }

  .lightbox-next {
    left: calc(50% + 0.5rem);
    right: auto;
  }

  .hero-title {
    font-size: clamp(2.5rem, 11vw, 6rem);
    white-space: normal;
  }

  .hero-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }

  /* Statement section → stack on mobile */
  .statement-section {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
    padding: 4rem 1.5rem;
  }

  .statement-aside {
    text-align: center;
  }

  .statement-label {
    display: none;
  }

  /* Showcase rows → stack on mobile */
  .showcase-row {
    grid-template-columns: 1fr;
  }

  .showcase-card {
    height: clamp(240px, 60vw, 400px);
  }

  .showcase-card--full {
    height: clamp(300px, 70vw, 480px);
  }

  /* CTA banner */
  .work-with-me {
    padding: 4.5rem 1.5rem 5rem;
  }

  .work-with-me-header {
    margin-bottom: 2rem;
  }

  .work-with-me-copy {
    margin-bottom: 3.5rem;
  }

  .work-with-me-services {
    grid-template-columns: 1fr;
  }

  .work-with-me-service {
    min-height: auto;
  }

  .work-with-me-service h4 {
    max-width: none;
  }

  .work-with-me-service p {
    margin-top: 0.35rem;
  }

  .work-with-me-best-for {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.5rem;
  }

  .home-cta {
    padding: 5rem 1.5rem;
    gap: 2rem;
    border-radius: 0;
  }

  .about-photo-section,
  .contact-section {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-services-list li {
    grid-template-columns: 1fr;
    grid-template-rows: 200px auto;
    height: auto;
    filter: none;
  }

  .about-service-img {
    order: -1;
  }

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

  .category-grid {
    grid-template-columns: 1fr;
  }

  .cat-card--wide {
    grid-column: span 1;
    aspect-ratio: 1/1;
  }

  .illus-gallery {
    columns: 2;
  }

  .project-body {
    grid-template-columns: 1fr;
  }

  .project-sidebar {
    position: static;
    height: auto;
  }

  .project-prev-next {
    margin-top: 2rem;
  }

  .project-hero-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }

  .project-meta-grid {
    text-align: left;
  }

  .footer {
    grid-template-columns: minmax(140px, 1fr) minmax(0, 2fr);
    text-align: left;
  }

  .footer-right {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: start;
    justify-items: start;
  }
}

@media (max-width: 480px) {
  .nav {
    padding: 1.2rem 1.25rem;
  }

  .hero {
    padding: 0 1.25rem 2.5rem;
  }

  .category-grid,
  .project-body,
  .about-photo-section,
  .contact-section,
  .page-hero,
  .about-hero {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .footer {
    padding: 1.5rem 1.25rem;
  }

  .illus-gallery {
    columns: 2;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (max-width: 600px) {
  .footer {
    grid-template-columns: 1fr;
    text-align: left;
    padding: 3rem 1.5rem 0;
    gap: 2rem;
  }

  .footer-vert-logo {
    height: clamp(360px, 92vw, 560px);
    justify-self: center;
    align-self: end;
    margin-bottom: -1px;
  }

  .footer-right {
    grid-template-columns: 1fr;
    justify-items: start;
    padding-bottom: 0;
  }

  .footer-nav,
  .footer-nav li,
  .footer-connect-col,
  .footer-right > div {
    width: 100%;
  }

  .footer-nav {
    align-items: flex-start;
  }

  .footer-nav a,
  .footer-tagline-text,
  .footer-col-label {
    text-align: left;
  }

  .footer-nav a {
    justify-content: flex-start;
    align-self: flex-start;
  }

  .footer-social-row {
    justify-content: flex-start;
  }
}

@media (min-width: 601px) {
  .footer {
    grid-template-columns: minmax(180px, 2fr) minmax(0, 3fr);
    padding: clamp(2rem, 5vw, 5rem) clamp(1.5rem, 4vw, 4rem) 0;
    gap: clamp(1.5rem, 3vw, 4rem);
    text-align: initial;
  }

  .footer-vert-logo {
    order: initial;
    justify-self: auto;
    align-self: end;
    height: clamp(180px, 28vw, 560px);
    overflow: hidden;
    transform: none;
    margin-bottom: 0;
    pointer-events: auto;
  }

  .footer-right {
    order: initial;
    grid-template-columns: 1fr 1fr;
    justify-content: normal;
    justify-items: stretch;
    padding-bottom: 0;
  }

  .footer-nav,
  .footer-nav li,
  .footer-connect-col,
  .footer-right > div {
    width: auto;
  }

  .footer-nav {
    align-items: stretch;
  }

  .footer-nav a,
  .footer-tagline-text,
  .footer-col-label {
    text-align: initial;
  }

  .footer-nav a {
    justify-content: flex-start;
    align-self: auto;
  }

  .footer-social-row {
    justify-content: flex-start;
  }
}

.section-divider {
  border: none;
  border-top: 1px solid var(--text-muted);
  margin: 0;
}

.category-page-divider {
  width: 100vw;
  margin: 0;
  margin-left: calc(50% - 50vw);
  border: none;
  border-top: 1px solid var(--border);
}

/* ============================================
   APPAREL GALLERY
   ============================================ */
.apparel-gallery {
  padding: 4rem 0 6rem;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.apparel-row-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: min(46vw, 320px);
  height: auto;
  max-height: 36%;
  object-fit: contain;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 14px 34px rgba(0, 0, 0, 0.45));
}

.apparel-section-hero {
  position: relative;
  width: 100%;
  margin: 0 auto 1.25rem;
  height: clamp(220px, 30vw, 430px);
  overflow: hidden;
  background: var(--bg-card);
}

.apparel-section-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.08), rgba(10, 10, 10, 0.62));
  pointer-events: none;
}

.apparel-section-hero > img:not(.apparel-row-logo) {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.apparel-section-desc {
  width: min(100% - 6rem, 1440px);
  max-width: 820px;
  margin: 0 auto;
  padding: 1.75rem 0 2.25rem;
  color: var(--text-muted);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.65;
  text-align: center;
}

.apparel-section-desc + .apparel-section-desc {
  margin-top: -1.6rem;
  padding-top: 0.65rem;
  padding-bottom: 2.25rem;
}

.apparel-strip {
  overflow: hidden;
  width: 100%;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}

.apparel-strip.is-dragging {
  cursor: grabbing;
}

.apparel-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  will-change: transform;
}

.apparel-grid {
  width: min(100% - 6rem, 1440px);
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.apparel-item {
  flex-shrink: 0;
  height: 380px;
  width: auto;
  overflow: hidden;
  border-radius: 0.5rem;
  background: var(--bg-card);
  position: relative;
}

.apparel-grid .apparel-item {
  height: auto;
  width: 100%;
  cursor: pointer;
}

.apparel-item img {
  height: 100%;
  width: auto;
  display: block;
  will-change: transform;
  draggable: false;
  /* belt */
  -webkit-user-drag: none;
  /* Safari/Chrome native image drag */
  user-select: none;
  pointer-events: none;
  /* let clicks fall through to .apparel-item */
}

.apparel-grid .apparel-item img {
  width: 100%;
  height: auto;
}

.apparel-item--placeholder {
  width: 420px;
}

@media (max-width: 900px) {
  .apparel-section-hero {
    height: clamp(200px, 38vw, 340px);
  }

  .apparel-grid {
    width: calc(100% - 4rem);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .apparel-section-desc {
    width: calc(100% - 4rem);
  }
}

@media (max-width: 560px) {
  .apparel-gallery {
    gap: 3.5rem;
  }

  .apparel-section-hero {
    height: 220px;
  }

  .apparel-row-logo {
    width: min(68vw, 260px);
    max-height: 32%;
  }

  .apparel-grid {
    width: calc(100% - 3rem);
    grid-template-columns: 1fr;
  }

  .apparel-section-desc {
    width: calc(100% - 3rem);
    font-size: 1rem;
  }
}

/* ============================================
   PAGE TRANSITIONS
   ============================================ */
#page-transition {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 99; /* below nav (z-index: 100) so the nav stays visible during transition */
  pointer-events: none;
  /* animation-fill-mode: both applies the 'from' state immediately,
     so the curtain covers the page before JS even runs — no flash. */
  animation: curtain-reveal 0.35s var(--ease) both;
}

/* Reverse direction: used when navigating to a previous project */
#page-transition.is-reverse {
  animation: curtain-reveal-reverse 0.35s var(--ease) both;
}

#page-transition.is-exiting {
  animation: curtain-cover 0.5s var(--ease-in) both;
  pointer-events: all;
}

#page-transition.is-exiting-reverse {
  animation: curtain-cover-reverse 0.5s var(--ease-in) both;
  pointer-events: all;
}

@keyframes curtain-reveal {
  from { transform: translateX(0); }
  to   { transform: translateX(100%); }
}

@keyframes curtain-reveal-reverse {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

@keyframes curtain-cover {
  from { transform: translateX(-100%); }
  to   { transform: translateX(0); }
}

@keyframes curtain-cover-reverse {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}

@media (max-width: 768px) {
  .site-shell {
    margin-bottom: 0;
  }

  footer {
    position: relative;
    z-index: 2;
  }

  .footer-vert-logo {
    min-height: 180px;
    height: clamp(180px, 44vw, 260px);
    margin-bottom: 0;
    background: url('../assets-optimized/FTV Primary Icon.svg') center / contain no-repeat;
  }

  .footer-vert-logo video {
    display: none;
  }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {

  #page-transition {
    animation: none !important;
    transform: translateX(100%) !important;
    pointer-events: none !important;
  }


  /* Scroll reveal: fade only, no slide */
  [data-animate] {
    transform: none !important;
    transition: opacity 0.4s ease !important;
  }

  /* Marquee: stop scrolling */
  .marquee-track {
    animation: none !important;
  }

  /* Hero scroll indicator: stop */
  .hero-scroll-line::after {
    animation: none !important;
  }

  .hero-scroll-arrow {
    animation: none !important;
    opacity: 0.4;
  }

  /* Mobile menu link stagger: skip, appear immediately */
  .mobile-menu.is-open .mobile-menu-nav a {
    animation: none !important;
    opacity: 1;
    transform: none;
  }

  /* Nav backdrop: instant switch, no transition */
  .nav {
    transition: none !important;
  }
}
