/* ==========================================================================
   Switzer Variable Font (Local Bundled Swiss Neo-Grotesque)
   ========================================================================== */
@font-face {
  font-family: 'Switzer';
  src: url('./fonts/switzer-variable.woff2') format('woff2-variations'),
       url('./fonts/switzer-variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Switzer';
  src: url('./fonts/switzer-variable-italic.woff2') format('woff2-variations'),
       url('./fonts/switzer-variable-italic.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* ==========================================================================
   Design Tokens & Reset
   ========================================================================== */
:root {
  --bg: #f7f7f5;
  --surface: #ffffff;
  --ink: #111111;
  --ink-muted: #6b6b70;
  --ink-faint: rgba(17, 17, 17, 0.42);
  --hairline: rgba(17, 17, 17, 0.1);
  --hairline-strong: rgba(17, 17, 17, 0.18);
  --shadow-soft: 0 14px 36px rgba(17, 17, 17, 0.065), 0 3px 10px rgba(17, 17, 17, 0.03);
  --shadow-hover: 0 22px 48px rgba(17, 17, 17, 0.1), 0 6px 16px rgba(17, 17, 17, 0.045);
  --container-max: 1200px;
  --gutter: clamp(18px, 4vw, 48px);
  --font-sans: 'Switzer', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

*::-webkit-scrollbar,
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

html,
body {
  width: 100%;
  min-height: 100%;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 12.5px;
  line-height: 1.45;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

img,
svg,
a {
  -webkit-user-drag: none;
  user-drag: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
}

[hidden] {
  display: none !important;
}

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

/* ==========================================================================
   Top Navigation Bar (3-Zone Editorial Header)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(247, 247, 245, 0.86);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}

.header-inner {
  width: 100%;
  max-width: calc(var(--container-max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 54px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
}

.brand-btn {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  justify-self: start;
  cursor: pointer;
  flex-shrink: 0;
  padding: 6px 0;
  transition: opacity 0.2s ease;
}

.brand-logo-img {
  height: 20px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: invert(1);
  opacity: 0.94;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-btn:hover {
  opacity: 0.68;
}

.brand-btn:hover .brand-logo-img {
  transform: scale(1.03);
}

.brand-btn:focus-visible,
.nav-link:focus-visible,
.nav-cta:focus-visible,
.section-link:focus-visible,
.work-plate:focus-visible,
.clients-expand-btn:focus-visible,
.payment-toggle-btn:focus-visible,
.contact-discord-btn:focus-visible,
.footer-link:focus-visible,
.lightbox-icon-btn:focus-visible,
.lightbox-nav-btn:focus-visible,
.lightbox-dot:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  gap: clamp(18px, 3vw, 34px);
}

.nav-link {
  position: relative;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink-muted);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  padding: 6px 0;
  transition: color 0.18s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--ink);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  padding: 9px 17px;
  border-radius: 12px;
  background: rgba(17, 17, 20, 0.78);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 8px 22px rgba(17, 17, 17, 0.14),
    0 2px 6px rgba(17, 17, 17, 0.08);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    box-shadow 0.25s ease,
    transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-cta:hover {
  background: rgba(24, 24, 28, 0.86);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 12px 26px rgba(17, 17, 17, 0.18),
    0 3px 8px rgba(17, 17, 17, 0.1);
}

.nav-cta:active {
  transform: scale(0.97);
}

/* ==========================================================================
   Main Editorial Column
   ========================================================================== */
.page-main {
  width: 100%;
  max-width: calc(var(--container-max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 74px var(--gutter) 0;
}

/* ==========================================================================
   Hero · Centered Signature Mark + Frosted Metrics Bar
   ========================================================================== */
.hero-section {
  padding: clamp(10px, 1.8dvh, 22px) 0 0;
}

.hero-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(8px, 1.4dvh, 18px) 0 clamp(20px, 3.2dvh, 36px);
}

.hero-mark-frame {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-mark-img {
  width: clamp(260px, 32vw, 440px);
  height: auto;
  display: block;
  object-fit: contain;
  filter: invert(1);
  opacity: 0.94;
  user-select: none;
}

.hero-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  font-size: 1.08em;
}

/* Unified Frosted Architectural Metrics Bar (Centered Alignment) */
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  justify-items: center;
  gap: clamp(16px, 3vw, 40px);
  padding: clamp(20px, 2.8dvh, 28px) clamp(24px, 3.6vw, 48px);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: var(--shadow-soft);
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  min-width: 0;
}

.metric-value {
  font-family: var(--font-sans);
  font-size: clamp(36px, 4.2vw, 58px);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.052em;
  line-height: 0.92;
  color: var(--ink);
}

.metric-plus {
  color: rgba(17, 17, 17, 0.34);
  font-weight: 600;
  margin-left: 1px;
}

.metric-label {
  font-size: clamp(11px, 0.85vw, 12.5px);
  font-weight: 500;
  color: var(--ink-muted);
  letter-spacing: 0.01em;
}

/* ==========================================================================
   Shared Architectural Section Header Bar
   ========================================================================== */
.section-bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(14px, 2dvh, 22px);
}

.section-title {
  font-family: var(--font-sans);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 700;
  letter-spacing: -0.038em;
  line-height: 1.04;
  color: var(--ink);
}

.section-link,
.payment-toggle-btn {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-muted);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  padding: 4px 0;
  transition: color 0.18s ease;
}

.section-link:hover,
.payment-toggle-btn:hover,
.payment-toggle-btn[aria-expanded="true"] {
  color: var(--ink);
}

/* ==========================================================================
   01 · Selected Work (Asymmetric Exhibition Plate Grid)
   ========================================================================== */
.work-section {
  padding: clamp(30px, 5dvh, 56px) 0 0;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 18px);
}

.work-plate {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  grid-column: span 4;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-plate--lead {
  grid-column: span 7;
  aspect-ratio: 16 / 9.4;
}

.work-plate--side {
  grid-column: span 5;
  aspect-ratio: auto;
  height: 100%;
}

.work-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-plate:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.work-plate:hover .work-img {
  transform: scale(1.025);
}

/* ==========================================================================
   02 · Creator Clients (3-Grid Primary + Blurred Expandable Window)
   ========================================================================== */
.clients-section {
  --client-gap: clamp(10px, 1.4vw, 18px);
  --clients-peek-h: clamp(72px, 6.2vw, 108px);
  padding: clamp(38px, 6dvh, 68px) 0 0;
}

.clients-grid {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--client-gap);
}

.client-card {
  --card-radius: clamp(14px, 1.35vw, 22px);
  --card-bezel: clamp(3px, 0.32vw, 5px);
  --inner-radius: calc(var(--card-radius) - var(--card-bezel));
  position: relative;
  display: block;
  flex: 0 1 calc((100% - (2 * var(--client-gap))) / 3);
  width: calc((100% - (2 * var(--client-gap))) / 3);
  padding: var(--card-bezel);
  border-radius: var(--card-radius);
  background: #ffffff;
  border: none;
  outline: none;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.client-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.client-card:active {
  transform: scale(0.985);
}

.client-card:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.client-card-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.06;
  overflow: hidden;
  border-radius: var(--inner-radius);
  background: #eaeae8;
}

.client-portrait {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
  user-select: none;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.client-card:hover .client-portrait {
  transform: scale(1.045);
}

.client-blur-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  border-radius: inherit;
}

.client-portrait-blur {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
  transform: scale(1.1);
  transform-origin: center center;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.client-card:hover .client-portrait-blur {
  transform: scale(1.145);
}

.client-portrait-blur--soft {
  filter: blur(8px) saturate(1.1);
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 40%,
    rgba(0, 0, 0, 0.48) 58%,
    rgba(0, 0, 0, 0.92) 76%,
    #000 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 40%,
    rgba(0, 0, 0, 0.48) 58%,
    rgba(0, 0, 0, 0.92) 76%,
    #000 100%
  );
}

.client-portrait-blur--deep {
  filter: blur(22px) saturate(1.18);
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 56%,
    rgba(0, 0, 0, 0.45) 72%,
    rgba(0, 0, 0, 0.88) 88%,
    #000 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 56%,
    rgba(0, 0, 0, 0.45) 72%,
    rgba(0, 0, 0, 0.88) 88%,
    #000 100%
  );
}

.client-card-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: clamp(14px, 1.4vw, 24px) clamp(14px, 1.4vw, 24px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  text-align: left;
  gap: 3px;
  min-width: 0;
}

.client-name {
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.35vw, 21px);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.025em;
  line-height: 1.15;
  text-shadow: 0 1px 12px rgba(10, 12, 18, 0.42), 0 1px 3px rgba(10, 12, 18, 0.25);
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.client-subs {
  font-family: var(--font-sans);
  font-size: clamp(11.5px, 0.95vw, 14.5px);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.86);
  text-shadow: 0 1px 10px rgba(10, 12, 18, 0.42), 0 1px 2px rgba(10, 12, 18, 0.24);
  line-height: 1.2;
}

.client-card[data-tone="light"] .client-name {
  color: var(--ink);
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.45);
}

.client-card[data-tone="light"] .client-subs {
  color: rgba(17, 17, 17, 0.72);
  text-shadow: 0 1px 6px rgba(255, 255, 255, 0.4);
}

/* Blurred Collapsed Window & Smooth Focus Reveal */
.clients-window {
  position: relative;
  width: 100%;
  margin-top: 4px;
}

.clients-extra-viewport {
  position: relative;
  height: var(--clients-peek-h);
  margin: 0 -10px;
  padding: 0 10px;
  overflow: hidden;
  border-radius: 18px;
  will-change: height;
  transition: height 0.62s cubic-bezier(0.22, 1, 0.36, 1);
}

.clients-extra-grid {
  padding: var(--client-gap) 0 24px;
  transform-origin: center top;
  will-change: filter, transform, opacity;
  filter: blur(15px);
  transform: scale(0.95) translate3d(0, -8px, 0);
  opacity: 0.78;
  pointer-events: none;
  transition:
    filter 0.56s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.62s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.clients-window:not(.is-expanded) .clients-extra-grid .client-card {
  opacity: 0.86;
  transform: scale(0.97) translate3d(0, 8px, 0);
}

.clients-window.is-expanded .clients-extra-grid {
  filter: blur(0px);
  transform: scale(1) translate3d(0, 0, 0);
  opacity: 1;
  pointer-events: auto;
}

.clients-window.is-expanded .clients-extra-grid .client-card {
  opacity: 1;
  transform: scale(1) translate3d(0, 0, 0);
  transition-delay: var(--card-delay, 0ms);
}

.clients-window.is-expanded .clients-extra-grid .client-card:hover {
  transform: translateY(-4px);
  transition-delay: 0ms;
}

.clients-window-fade {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(247, 247, 245, 0.14) 0%,
    rgba(247, 247, 245, 0.72) 55%,
    rgba(247, 247, 245, 0.98) 90%,
    #f7f7f5 100%
  );
  opacity: 1;
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.clients-window.is-expanded .clients-window-fade {
  opacity: 0;
}

.clients-toggle-dock {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: center;
  margin-top: calc(var(--clients-peek-h) * -0.58);
  transition: margin-top 0.62s cubic-bezier(0.22, 1, 0.36, 1);
}

.clients-window.is-expanded .clients-toggle-dock {
  margin-top: 8px;
}

.clients-expand-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.2s ease,
    box-shadow 0.25s ease;
}

.clients-expand-btn:hover {
  transform: translateY(-2px);
  background: #ffffff;
  box-shadow: var(--shadow-hover);
}

.clients-expand-btn:active {
  transform: scale(0.97);
}

.clients-expand-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.clients-window.is-expanded .clients-expand-icon {
  transform: rotate(180deg);
}

/* ==========================================================================
   03 · Contact (Pure Minimalist Editorial Closing & Focus Mode)
   ========================================================================== */
.hero-section,
.work-section,
.clients-section {
  transition:
    filter 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: filter, opacity;
}

body.is-contact-focused .hero-section,
body.is-contact-focused .work-section,
body.is-contact-focused .clients-section {
  filter: blur(11px);
  opacity: 0.34;
}

.contact-section {
  position: relative;
  z-index: 2;
  padding: clamp(42px, 6.5dvh, 76px) 0 clamp(28px, 4.5dvh, 48px);
}

.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.contact-headline {
  font-family: var(--font-sans);
  font-size: clamp(44px, 6.8vw, 98px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.052em;
  color: var(--ink);
}

.contact-discord-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 15px;
  background: rgba(17, 17, 20, 0.78);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 12px 28px rgba(17, 17, 17, 0.16),
    0 2px 6px rgba(17, 17, 17, 0.08);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition:
    background-color 0.2s ease,
    box-shadow 0.25s ease,
    transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-discord-btn:hover {
  background: rgba(24, 24, 28, 0.86);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 16px 34px rgba(17, 17, 17, 0.2),
    0 4px 10px rgba(17, 17, 17, 0.1);
}

.contact-discord-btn:active {
  transform: scale(0.98);
}

.payment-drawer {
  width: 100%;
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  margin-top: 0;
  transition:
    grid-template-rows 0.38s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.25s ease,
    margin-top 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.payment-drawer.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 22px;
}

.payment-drawer-inner {
  min-height: 0;
  overflow: hidden;
}

.payment-strip {
  padding-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.payment-logo-img {
  height: 22px;
  width: auto;
  display: block;
  object-fit: contain;
}

.payment-logo-wise {
  filter: brightness(0.42) saturate(1.35) contrast(1.2);
}

.payment-logo-remitly {
  filter: invert(1) brightness(0.14);
}

/* ==========================================================================
   Minimal Architectural Footer (Zero Pill Enclosures)
   ========================================================================== */
.site-footer {
  width: 100%;
  max-width: calc(var(--container-max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(26px, 4dvh, 42px);
}

.footer-inner {
  padding-top: clamp(18px, 2.6dvh, 26px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}

.svg-defs-hidden {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: transparent;
  color: rgba(17, 17, 17, 0.44);
  text-decoration: none;
  transition: filter 0.22s ease;
}

.footer-icon-link svg {
  display: block;
  overflow: visible;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.96))
          drop-shadow(0 4px 10px rgba(17, 17, 17, 0.14));
  transition: filter 0.26s ease;
}

.footer-icon-link--fill .footer-glyph {
  fill: url(#footer-frosted-glass);
}

.footer-icon-link--stroke .footer-glyph {
  stroke: url(#footer-frosted-glass);
}

.footer-shine-bar {
  transform-box: view-box;
  transform-origin: 0 0;
  transform: translateX(-14px) skewX(-20deg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0s linear 0.18s;
}

.footer-icon-link:hover .footer-shine-bar {
  opacity: 1;
  transform: translateX(56px) skewX(-20deg);
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.08s ease;
}

.footer-icon-link--fill:hover .footer-glyph {
  fill: url(#footer-frosted-glass-hover);
}

.footer-icon-link--stroke:hover .footer-glyph {
  stroke: url(#footer-frosted-glass-hover);
}

.footer-icon-link:hover svg {
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 1))
          drop-shadow(0 6px 14px rgba(17, 17, 17, 0.2));
}

.footer-icon-link:active {
  transform: scale(0.95);
}

/* ==========================================================================
   Windowed Apple-Style Frosted-Glass Artwork Slider
   ========================================================================== */
.lightbox-dialog {
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  border: none;
  padding: 0;
  margin: 0;
  background: rgba(247, 247, 245, 0.34);
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  color: var(--ink);
  opacity: 0;
  transition: opacity 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.lightbox-dialog.is-visible {
  opacity: 1;
}

.lightbox-dialog::backdrop {
  background: transparent;
}

.lightbox-shell {
  width: 100%;
  height: 100%;
  padding: clamp(16px, 3vw, 40px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-window {
  width: min(1020px, 100%);
  max-height: min(88dvh, 760px);
  padding: clamp(14px, 2vw, 22px);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(30px) saturate(170%);
  -webkit-backdrop-filter: blur(30px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 32px 84px rgba(17, 17, 17, 0.16),
    0 8px 24px rgba(17, 17, 17, 0.08);
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.6vh, 18px);
  transform: scale(0.92) translateY(14px);
  opacity: 0;
  transition:
    transform 0.44s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.lightbox-dialog.is-visible .lightbox-window {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.lightbox-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.lightbox-icon-btn,
.lightbox-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 6px 18px rgba(17, 17, 17, 0.08);
  transition:
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.2s ease,
    box-shadow 0.24s ease;
}

.lightbox-icon-btn {
  width: 36px;
  height: 36px;
}

.lightbox-nav-btn {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.lightbox-icon-btn:hover,
.lightbox-nav-btn:hover {
  background: rgba(255, 255, 255, 0.96);
  transform: scale(1.05);
  box-shadow:
    inset 0 1px 0 #ffffff,
    0 10px 24px rgba(17, 17, 17, 0.13);
}

.lightbox-icon-btn:active,
.lightbox-nav-btn:active {
  transform: scale(0.94);
}

.lightbox-stage {
  min-height: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(10px, 1.5vw, 18px);
}

.lightbox-viewport {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: min(64dvh, 560px);
  overflow: hidden;
  border-radius: 16px;
  background: rgba(17, 17, 17, 0.04);
  box-shadow: 0 16px 40px rgba(17, 17, 17, 0.12);
  touch-action: pan-y;
}

.lightbox-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.56s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.lightbox-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lightbox-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  transform: scale(0.965);
  opacity: 0.72;
  transition:
    transform 0.56s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.44s ease;
}

.lightbox-slide.is-active .lightbox-slide-img {
  transform: scale(1);
  opacity: 1;
}

.lightbox-dots {
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 9999px;
  background: rgba(17, 17, 17, 0.055);
}

.lightbox-dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: rgba(17, 17, 17, 0.24);
  cursor: pointer;
  transition:
    width 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.26s ease;
}

.lightbox-dot:hover {
  background: rgba(17, 17, 17, 0.48);
}

.lightbox-dot.is-active {
  width: 22px;
  background: var(--ink);
}

/* ==========================================================================
   Responsive Refinements (Mobile & Small Viewports)
   ========================================================================== */
@media (max-width: 640px) {
  .header-inner {
    height: 50px;
    gap: 12px;
  }

  .brand-logo-img {
    height: 18px;
  }

  .header-nav {
    gap: 14px;
  }

  .nav-link {
    font-size: 11.5px;
  }

  .nav-cta {
    padding: 8px 14px;
    border-radius: 11px;
    font-size: 11.5px;
  }

  .page-main {
    padding-top: 66px;
  }

  .hero-section {
    padding-top: 8px;
  }

  .hero-grid {
    padding: 8px 0 20px;
  }

  .hero-mark-img {
    width: clamp(210px, 58vw, 270px);
  }

  .metrics-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-items: center;
    gap: 18px 14px;
    padding: 18px 20px;
    border-radius: 14px;
  }

  .metric-item {
    align-items: center;
    text-align: center;
    padding: 0;
    gap: 4px;
  }

  .metric-value {
    font-size: clamp(32px, 8.6vw, 42px);
  }

  .lightbox-window {
    border-radius: 20px;
    padding: 12px;
    gap: 12px;
  }

  .lightbox-stage {
    position: relative;
    display: block;
  }

  .lightbox-viewport {
    border-radius: 12px;
  }

  .lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.84);
  }

  .lightbox-nav-btn:hover {
    transform: translateY(-50%) scale(1.05);
  }

  .lightbox-nav-btn:active {
    transform: translateY(-50%) scale(0.94);
  }

  .lightbox-nav-btn--prev {
    left: 8px;
  }

  .lightbox-nav-btn--next {
    right: 8px;
  }

  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .work-plate,
  .work-plate--side {
    grid-column: span 1;
    aspect-ratio: 16 / 10;
    height: auto;
    border-radius: 10px;
  }

  .work-plate--lead {
    grid-column: span 2;
    aspect-ratio: 16 / 9.5;
  }

  /* Keep 3-Column Creator Grid on Mobile per User Preference */
  .clients-section {
    --client-gap: clamp(6px, 2vw, 10px);
    --clients-peek-h: clamp(46px, 12vw, 66px);
  }

  .client-card {
    --card-radius: clamp(11px, 3.4vw, 18px);
    --card-bezel: clamp(2.5px, 0.7vw, 4px);
    --inner-radius: calc(var(--card-radius) - var(--card-bezel));
    flex: 0 1 calc((100% - (2 * var(--client-gap))) / 3);
    width: calc((100% - (2 * var(--client-gap))) / 3);
    padding: var(--card-bezel);
    border-radius: var(--card-radius);
  }

  .client-card-frame {
    aspect-ratio: 1 / 1.18;
  }

  .client-card-info {
    padding: clamp(7px, 2vw, 12px);
    gap: 2px;
  }

  .client-name {
    font-size: clamp(10px, 2.9vw, 14.5px);
  }

  .client-subs {
    font-size: clamp(7.8px, 2.15vw, 11px);
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .clients-extra-viewport {
    border-radius: 14px;
  }

  .clients-expand-btn {
    padding: 9px 18px;
    font-size: 12.5px;
  }

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

  .contact-discord-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
