/* ═══════════════════════════════════════════
   WILLIAM MCGUIRE — SITE STYLESHEET
   Shared across all pages
   ═══════════════════════════════════════════ */

/* Fonts loaded via <link> tags in each HTML page for non-blocking render */

/* ── Variables ── */
:root {
  --bg: #1c1c1e;
  --bg-2: #222224;
  --bg-3: #282828;
  --surface: #242426;
  --border: #2e2e32;
  --border-mid: #3a3a3e;
  --muted: #52525a;
  --mid: #7a7a84;
  --text: #d0d0d8;
  --bright: #eeeef2;
  --accent: #c8a46e;
  --accent-dim: #6e5830;
  --accent-light: #d4b580;
  --font-head: 'Outfit', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'Space Mono', monospace;
  --max: 1140px;
  --radius: 6px;
  --nav-height: 93px;
  --nav-height-tablet: 76px;
  --nav-height-mobile: 76px;
}

/* ── Reset ── */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Prevent white flash before CSS loads */
html {
  background: #1c1c1e;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* ==== UNIVERSALPAGE LAYOUTS ==== */

.page-wrap {
  flex: 1;
  padding: 48px 32px;
}
.centered-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 768px) {
  .page-wrap {
    padding: 32px 20px;
  }
}

.page-inner {
  margin: 0 auto;
}
.page-inner.wide {
  max-width: 900px;
}
.page-inner.standard {
  max-width: 820px;
}
.page-inner.narrow {
  max-width: 680px;
}
.page-inner.centered {
  text-align: center;
  max-width: 480px;
}
.page-inner.max {
  max-width: var(--max);
}

/* Page Components */
.page-eyebrow {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--accent);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

/* Dividers */
.page-divider {
  height: 1px;
  width: 40px;
  background: var(--accent-dim);
}
.page-divider.left {
  margin: 2px 0 18px;
}
.page-divider.centered {
  margin: 0 auto;
}

/* Spacers */
.spacer-sm { height: 10px; }
.spacer-md { height: 25px; }
.spacer-lg { height: 50px; }

/* ── NAV ── */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(28, 28, 30, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 26px 32px;
  height: 93px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-id {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1;
  text-decoration: none;
}

.nav-name {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 700;
  color: var(--bright);
  letter-spacing: -0.01em;
}

.nav-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-sub span {
  color: var(--border-mid);
  margin: 0 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-item {
  padding: 7px 13px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 500;
  color: var(--mid);
  border-radius: 4px;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}

.nav-item:hover {
  color: var(--text);
  background: var(--bg-2);
}

.nav-item.active {
  text-decoration: underline;
  text-decoration-color: var(--accent-dim);
  text-underline-offset: 4px;
  ;
}

.nav-shop {
  margin-left: 10px;
  padding: 7px 15px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid var(--accent-dim);
  border-radius: 4px;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.nav-shop:hover {
  border-color: var(--accent);
  color: var(--accent-light);
}

/* ── HAMBURGER NAV ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: transparent;
  border: none;
  margin-left: 8px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--mid);
  border-radius: 2px;
  transition: background 0.2s;
}

.nav-hamburger:hover span {
  background: var(--text);
}

.nav-mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  padding: 8px 20px 12px;
}

.nav-mobile-menu.open {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 99;
}

.nav-mobile-menu a {
  padding: 10px 0;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 500;
  color: var(--mid);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.nav-mobile-menu a:last-child {
  border-bottom: none;
}

.nav-mobile-menu a:hover,
.nav-mobile-menu a.active {
  color: var(--bright);
}

.nav-mobile-menu a.shop {
  color: var(--accent);
}

@media (max-width: 768px) {
  .nav-wrap {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
  }

  body {
    padding-top: var(--nav-height-tablet);
  }

  .nav {
    padding: 18px 20px;
    height: var(--nav-height-tablet);
  }

  .nav-links .nav-item {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }
}



/* ── PAGE HEADER ── */
.page-head {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  padding: 36px 32px 28px;
}

.page-head-inner {
  max-width: var(--max);
  margin: 0 auto;
}



.page-title {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  color: var(--bright);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.page-subtitle {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--mid);
}

.page-desc {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--mid);
  max-width: 520px;
}

@media (max-width: 768px) {
  .page-head {
    padding: 24px 20px 20px;
  }
}

@media (max-width: 480px) {
  .page-title {
    font-size: 24px;
  }
}

/* EDIT POTENTIAL: may need to adjust the sticky filter-wrap for mobile*/

/* ── SECTION BLOCKS ── */
.section {
  padding: 40px 32px;
  border-bottom: 1px solid var(--border);
}

.section.alt-bg {
  background: var(--bg-2);
}

.sec-title {
  font-family: var(--font-head);
  font-size: 23px;
  font-weight: 600;
  color: var(--mid);
  letter-spacing: -0.02em;
  margin: 12px 0;
  text-align: center;
}

@media (max-width: 768px) {
  .section {
    padding: 36px 20px;
  }
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  border: 1px solid transparent;
}

.btn-gold {
  color: var(--accent);
  border-color: var(--accent-dim);
  background: transparent;
}

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

.btn-ghost {
  color: var(--mid);
  border-color: var(--border);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--border-mid);
  color: var(--text);
}

/* ── FOOTER ── */
.footer {
  background: #111113;
  border-top: 1px solid var(--border);
  padding: 0 32px;
}

.footer-main {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid #1a1a1e;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1;
  text-align: left;
}

.footer-name {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.footer-tagline {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--muted);
}

.footer-nav {
  display: flex;
  gap: 18px;
}

.footer-link {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-link.gold {
  color: var(--accent-dim);
}

.footer-link.gold:hover {
  color: var(--accent);
}

.footer-secondary {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #2a2a30;
}

.footer-legal {
  display: flex;
  gap: 12px;
}

.footer-legal-link {
  font-family: var(--font-body);
  font-size: 10px;
  color: #2a2a30;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal-link:hover {
  color: var(--muted);
}

  .footer-divider {
  display: none;
}

@media (max-width: 768px) {

  /* FOOTER MOBILE */
  .footer {
    padding: 0 20px;
  }

  .footer-main {
    flex-direction: column-reverse;
    align-items: center;
    gap: 20px;
  }

  .footer-brand {
    text-align: center;
    align-items: center;
  }

  .footer-nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }

.footer-divider {
    display: block;
  }

  .footer-secondary {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .footer-copy {
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }
}

/* ===========
  Individual Pages
  ========== 
*/

/* ---HOMEPAGE---*/

/* Homepage section backgrounds */
.section-disc {
  background: var(--bg);
}

.section-clients {
  background: var(--bg-2);
}

/* ── HERO (homepage) ── */
.hero-wrap {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  padding: 28px 0 20px;
  overflow: hidden;
}

.hero-inner {
  max-width: 960px;
  margin: 0 auto;
  border-radius: 0;
  position: relative;
  aspect-ratio: 16/9;
  overflow: visible;
}

.hero-track {
  display: flex;
  gap: 12px;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.45, 0.05, 0.55, 0.95);
  position: relative;
  left: 50%;
}

.hero-slide {
  flex-shrink: 0;
  width: 100%;
  max-width: 960px;
  height: 100%;
  position: relative;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  opacity: 0.3;
  transition: opacity 0.5s ease;
  border-radius: 0;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide:first-child {
  border-left: none;
}

.hero-slide:last-child {
  border-right: none;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Gradient backgrounds for each slide */
.hero-slide-1 {
  background: linear-gradient(145deg, #1a1828 0%, #24182c 40%, #181e20 100%);
}

.hero-slide-2 {
  background: linear-gradient(145deg, #1e2818 0%, #18281e 40%, #201e14 100%);
}

.hero-slide-3 {
  background: linear-gradient(145deg, #28181e 0%, #181828 40%, #1e2018 100%);
}

.hero-slide-4 {
  background: linear-gradient(145deg, #1a1828 0%, #24182c 40%, #181e20 100%);
}

.hero-slide-5 {
  background: linear-gradient(145deg, #1e2818 0%, #18281e 40%, #201e14 100%);
}

.hero-slide-6 {
  background: linear-gradient(145deg, #28181e 0%, #181828 40%, #1e2018 100%);
}

/* Controls container below carousel */
.hero-controls {
  max-width: 960px;
  margin: 0 auto;
  padding: 16px 32px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: relative;
}

.hero-arrow {
  width: 36px;
  height: 36px;
  background: rgba(28, 28, 30, 0.6);
  border: 1px solid var(--accent-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 4px;
  font-size: 18px;
  color: var(--accent-dim);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

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

.hero-dots {
  display: flex;
  gap: 6px;
  z-index: 10;
}

.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border-mid);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-dot.active {
  width: 10px;
  border-radius: 3px;
  background: var(--accent-dim);
}

/* Tablet breakpoint */
@media (max-width: 1024px) {
  .hero-wrap {
    padding: 24px 0 18px;
  }
  
  .hero-inner {
    max-width: 720px;
  }
  
  .hero-slide {
    max-width: 720px;
  }
  
  .hero-controls {
    max-width: 720px;
  }
}

/* Mobile breakpoint */
@media (max-width: 768px) {
  .hero-wrap {
    padding: 20px 0 16px;
  }
  
  .hero-inner {
    aspect-ratio: 16/9;
    max-width: 90%;
  }
  
  .hero-slide {
    max-width: 90vw;
  }
  
  .hero-track {
    gap: 8px;
  }
  
  .hero-controls {
    max-width: 90%;
    padding: 14px 20px 0;
    gap: 16px;
  }
  
  .hero-arrows {
    gap: 10px;
  }
  
  .hero-arrow {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
  
  .hero-dots {
    gap: 5px;
  }
  
  .hero-dot {
    width: 5px;
    height: 5px;
  }
  
  .hero-dot.active {
    width: 16px;
  }
}

/* Small mobile breakpoint */
@media (max-width: 480px) {
  .hero-wrap {
    padding: 16px 0 14px;
  }
  
  .hero-inner {
    max-width: 95%;
  }
  
  .hero-slide {
    max-width: 95vw;
  }
  
  .hero-track {
    gap: 6px;
  }
  
  .hero-controls {
    max-width: 95%;
    padding: 12px 16px 0;
  }
}

/* ── DISCIPLINE CARDS ── */
.disc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  justify-content: center;
  max-width: 960px;
  margin: 0 auto;
}

.disc-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
  aspect-ratio: 414/255;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, border-color 0.2s;
}

.disc-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-mid);
}

.disc-card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.disc-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.disc-card-grad {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(10, 10, 12, 0.94) 0%, rgba(10, 10, 12, 0.3) 55%, transparent 100%);
}

.dc-illus {
  background: linear-gradient(150deg, #1e1428 0%, #141428 60%, #1e1e28 100%);
}

.dc-conc {
  background: linear-gradient(150deg, #141e14 0%, #141e1e 60%, #1e2014 100%);
}

.dc-toy {
  background: linear-gradient(150deg, #201c14 0%, #1c1c10 60%, #201e14 100%);
}

.dc-bg {
  background: linear-gradient(150deg, #14181e 0%, #141e1e 60%, #141820 100%);
}

.dc-nfts {
  background: linear-gradient(150deg, #1e1428 0%, #14102e 60%, #1e1428 100%);
}

.dc-books {
  background: linear-gradient(150deg, #181828 0%, #1e1e14 60%, #1c1c18 100%);
}

.disc-card-body {
  position: relative;
  z-index: 3;
  padding: 12px 14px 14px;
}

.disc-card-name {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--bright);
  margin-bottom: 3px;
  letter-spacing: -0.01em;
}

.disc-card-label {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .disc-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 86%;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .disc-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* ── CLIENT CARDS ── */
.client-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 960px;
  margin: 0 auto;
}

.client-card {
  flex: 0 1 200px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
  aspect-ratio: 330/200;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, border-color 0.2s;
}

.client-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-mid);
}

.client-card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.client-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.client-card-grad {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(10, 10, 12, 0.92) 0%, rgba(10, 10, 12, 0.1) 65%, transparent 100%);
}

.cc-ms {
  background: linear-gradient(135deg, #0e1828 0%, #141428 100%);
}

.cc-az {
  background: linear-gradient(135deg, #281c0e 0%, #1e1814 100%);
}

.cc-bf {
  background: linear-gradient(135deg, #0e2818 0%, #101e14 100%);
}

.cc-eg {
  background: linear-gradient(135deg, #1e0e28 0%, #18101e 100%);
}

.cc-rg {
  background: linear-gradient(135deg, #180e28 0%, #14101e 100%);
}

.cc-dl {
  background: linear-gradient(135deg, #0e1e28 0%, #0e181e 100%);
}

.cc-lf {
  background: linear-gradient(135deg, #0e2820 0%, #0e1e18 100%);
}

.cc-pm {
  background: linear-gradient(135deg, #280e0e 0%, #1e0e0e 100%);
}

.cc-hbr {
  background: linear-gradient(135deg, #1e280e 0%, #181e0e 100%);
}

.cc-ms2 {
  background: linear-gradient(135deg, #28200e 0%, #1e180e 100%);
}

.client-card-body {
  position: relative;
  z-index: 3;
  padding: 8px 10px 10px;
}

.client-card-name {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  color: var(--bright);
  letter-spacing: -0.01em;
}

@media (max-width: 480px) {
  .client-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 86%;
    margin: 0 auto;
  }
}

.client-card {
  min-width: 0 0 45%;
}


.disc-card::after,
.client-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.04) 30%, rgba(255, 255, 255, 0.10) 50%, rgba(255, 255, 255, 0.04) 70%, transparent 100%);
  transform: skewX(-20deg);
  z-index: 4;
  pointer-events: none;
  transition: left 0s;
}

.disc-card:hover::after,
.client-card:hover::after {
  left: 150%;
  transition: left 0.6s ease;
}




/* -- --GALLERY-- -- */

/* FILTER BAR (gallery page) */
.filter-wrap {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  padding: 18px 32px;
  position: sticky;
  top: var(--nav-height);
  z-index: 90;
}

.filter-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.filter-groups {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: start;
}

.filter-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-group {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  justify-content: center;
}

.filter-group-label {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--bright);
  margin-right: 2px;
  flex-shrink: 0;
  cursor: default;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--mid);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  user-select: none;
}


.disciplines-group .filter-btn {
  font-size: 13px;
  padding: 6px 13px;
  font-weight: 500;
}

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

.filter-btn.active {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(200, 164, 110, 0.08);
}

.filter-btn.active::after {
  content: '✓';
  font-size: 10px;
  opacity: 0.8;
}

.filter-all-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-left: 12px;
  border-left: 1px solid var(--border);
}

.filter-btn-all {
  padding: 8px 16px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--muted);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.filter-btn-all:hover,
.filter-btn-all.active {
  border-color: var(--accent);
  color: var(--accent);
}

.logic-toggle {
  display: flex;
  border: 1px solid var(--border-mid);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.logic-btn {
  padding: 5px 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  background: var(--surface);
  border: none;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  letter-spacing: 0.05em;
}

.logic-btn.active {
  color: var(--accent);
  background: var(--bg-3);
}

.active-summary {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.active-summary-label {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.active-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--accent);
  border: 1px solid var(--accent-dim);
  border-radius: 3px;
  background: rgba(200, 164, 110, 0.06);
}

.active-tag-remove {
  cursor: pointer;
  opacity: 0.6;
  font-size: 12px;
  line-height: 1;
  transition: opacity 0.2s;
}

.active-tag-remove:hover {
  opacity: 1;
}

.clear-btn {
  padding: 3px 8px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 3px;
  cursor: pointer;
  letter-spacing: 0.08em;
  transition: color 0.2s, border-color 0.2s;
}

.clear-btn:hover {
  color: var(--text);
  border-color: var(--border-mid);
}

.filter-mobile-toggle {
  display: none;
  width: 100%;
  padding: 10px 16px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius);
  cursor: pointer;
  text-align: left;
  justify-content: space-between;
  align-items: center;
  transition: border-color 0.2s;
}

.filter-mobile-toggle:hover {
  border-color: var(--accent);
}

/* FILTER BAR MOBILE */
@media (max-width: 768px) {
  .filter-wrap {
    padding: 14px 20px;
    top: var(--nav-height-tablet);
  }

  .filter-mobile-toggle {
    display: flex;
  }

  .filter-groups {
    display: none;
  }

  .filter-groups.mobile-open {
    display: grid;
    margin-top: 12px;
  }

  .filter-groups {
    grid-template-columns: 1fr;
  }

  .filter-all-wrap {
    flex-direction: row;
    border-left: none;
    border-top: 1px solid var(--border);
    padding-left: 0;
    padding-top: 10px;
    justify-content: flex-start;
  }
}

/*Results Bar (gallery page)*/
.results-bar {
  padding: 12px 32px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}

.results-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.results-count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--mid);
  letter-spacing: 0.06em;
}

.results-count strong {
  color: var(--text);
}

@media (max-width: 768px) {
  .results-bar {
    padding: 10px 20px;
  }
}

/* Row Gallery Style */
.gallery-wrap {
  padding: 28px 32px 64px;
}

.gallery-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items:
    flex-start;
  justify-content: center;
}

.gal-item {
  flex-shrink: 0;
  flex-grow: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
  cursor: pointer;
  background: var(--surface);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.gal-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  border-color: var(--border-mid);
}

.gal-item.hidden {
  display: none;
}


.gal-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(10, 10, 12, 0.88) 0%, rgba(10, 10, 12, 0.2) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
}

.gal-item:hover .gal-overlay {
  opacity: 1;
}

.gal-overlay-discipline {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.gal-overlay-client {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--bright);
}

.gallery-empty {
  display: none;
  padding: 80px 32px;
  text-align: center;
}

.gallery-empty.visible {
  display: block;
}

.gallery-empty-title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  color: var(--mid);
  margin-bottom: 8px;
}

.gallery-empty-desc {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 1024px) {
  .gallery-grid {
    --row-target: 220px;
  }
}

@media (max-width: 768px) {
  .gallery-wrap {
    padding: 20px 20px 48px;
  }

  .gallery-grid {
    --row-target: 160px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    --row-target: 120px;
  }
}

/* Blur-up: visible blurry state first, then sharpens */
.gal-item img {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gal-item img.placeholder {
  opacity: 1;
  filter: none;
  transform: none;
}

.gal-item img.loading {
  opacity: 1;
  filter: blur(10px);
  transform: scale(1.02);
  transition: filter 0.6s ease, transform 0.6s ease, opacity 0.2s ease;
}

.gal-item img.loaded {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}

/* HOVER: Shine effect */
.gal-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.04) 30%, rgba(255, 255, 255, 0.10) 50%, rgba(255, 255, 255, 0.04) 70%, transparent 100%);
  transform: skewX(-20deg);
  z-index: 4;
  pointer-events: none;
  transition: left 0s;
}

.gal-item:hover::after {
  left: 150%;
  transition: left 0.5s ease;
}


/* ── LIGHTBOX ── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 12, 0.94);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.lightbox.open {
  display: flex;
}

.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.7);
}

.lightbox-meta {
  display: flex;
  gap: 12px;
  align-items: center;
}

.lightbox-discipline {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lightbox-client {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--bright);
}

.lightbox-close {
  position: fixed;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  background: var(--surface);
  border: 1px solid var(--border-mid);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--mid);
  font-size: 18px;
  transition: color 0.2s, border-color 0.2s;
  z-index: 1001;
}

.lightbox-close:hover {
  color: var(--bright);
  border-color: var(--mid);
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(20, 20, 22, 0.75);
  border: 1px solid var(--border-mid);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--mid);
  font-size: 18px;
  transition: color 0.2s, background 0.2s;
  z-index: 1001;
}

.lightbox-nav:hover {
  color: var(--bright);
  background: rgba(20, 20, 22, 0.95);
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

/* ── SCROLL TO TOP ── */
.scroll-top {
  position: fixed;
  bottom: 45px;
  right: 35px;
  width: 40px;
  height: 40px;
  background: rgba(36, 36, 38, 0.8);
  border: 2px solid var(--accent-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--accent-dim);
  font-size: 32px;
  font-weight: 250;
  padding-top: 11px;
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, border-color 0.2s, color 0.2s, background 0.2s;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: all;
}

.scroll-top:hover {
  background: rgba(36, 36, 38, 0.9);
  border-color: var(--accent);
  color: var(--accent);
}

@media (max-width: 480px) {
  .scroll-top {
    bottom: 25px;
    right: 28px;
    width: 42px;
    height: 42px;
    z-index: 50;
  }
}





/* ── CONTACT PAGE ── */

.contact-cols {
  display: flex;
  flex-direction: row;
  gap: 32px;
  height: auto;
  max-width: 640px;
  margin: 0 auto;
  justify-content: center;
  align-items: center;
}

.contact-methods {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  height: 450px;
  padding: 20px 0;
  justify-content: space-between;
}

.contact-method {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  padding: 14px 20px;
  background: var(--surface);
  border: 1px solid var(--accent-dim);
  border-radius: var(--radius);
  text-decoration: none;
  width: 100%;
  transition: border-color 0.2s;
}

.contact-method:hover {
  background: var(--bg-3);
}

.contact-method:hover .contact-method-icon img {
  opacity: 1;
}

.contact-method-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  border: 1px solid var(--accent-dim);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  position: relative;
}

.contact-method-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(79%) sepia(12%) saturate(1189%) hue-rotate(359deg) brightness(92%) contrast(83%);
  position: absolute;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.icon-glyph {
  font-size: 36px;
  line-height: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 7px 2px;
}

.contact-method-icon img+* {
  display: none;
}

.contact-method-icon:has(img[src=""]) *:not(img),
.contact-method-icon img[alt] {
  display: flex;
}

.contact-method-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-method-label {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.contact-method-value {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--bright);
}

/* Container: just a positioner, no bg or border */
.contact-img {
  max-height: 450px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* Border and radius on the img itself so they hug the image with no gap */
.contact-img img {
  display: block;
  max-height: 450px;
  width: auto;
  aspect-ratio: 3/4;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  object-fit: cover;
}


@media (max-width: 768px) {
  .contact-cols {
    flex-direction: column;
    height: auto;
    width: 100%;
    align-items: center;
    margin-bottom: 16px;
  }

  .contact-methods {
    width: auto;
    flex: 0 0 auto;
  }

  .contact-img {
    width: 100%;
    height: 100%;
    max-height: none;
  }
}

@media (max-width: 480px) {
  .contact-cols {
    width: 100%;
  }

  .contact-img {
    width: 80%;
    margin: 0 auto;
  }
}

/* ── ABOUT PAGE ── */
.about-header {
  text-align: center;
  margin-bottom: 44px;
}

.about-img {
  float: left;
  width: 220px;
  margin: 4px 36px 20px 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

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

.about-img-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-3);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about-body p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 18px;
}

.about-body p.lead {
  font-size: 17px;
  color: var(--bright);
  font-weight: 500;
  line-height: 1.7;
}

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

.about-clear {
  clear: both;
}

@media (max-width: 600px) {
  .about-img {
    float: none;
    width: 100%;
    max-width: 240px;
    margin: 0 auto 28px;
    display: block;
  }
}


/* --- SHOP PAGE --- */
/*also used by 404*/


.shop-title {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 700;
  color: var(--bright);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 24px;
}

.shop-desc {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 40px;
}

.shop-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .shop-title {
    font-size: 28px;
  }
}

/* --- LEGAL: PRIVACY POLICY & TERMS OF SERVICE --- */

.policy-title {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 700;
  color: var(--bright);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.policy-date {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 40px;
}

.policy-body h2 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  color: var(--bright);
  margin: 32px 0 10px;
}

.policy-body p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 14px;
}

.policy-body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {}