/* ============================================================
   ATELIER KARYKATUR, DESIGN SYSTEM
   Dark Elegance, Art Gallery Premium
   ------------------------------------------------------------
   0. Tokens ................ design variables
   1. Base .................. reset, typography, grain
   2. Utilities ............. container, buttons, reveal
   3. Navigation ............ glass bar + mobile menu
   4. Hero .................. headline + floating art
   5. Gallery ............... masonry grid + hover states
   6. Process ............... 3-step tiles
   7. CTA band .............. conversion section
   8. Footer ................ links + socials
   9. Lightbox .............. fullscreen viewer
   10. Responsive ........... breakpoints
   11. Reduced motion ....... a11y fallbacks
   ============================================================ */

/* ============ 0. TOKENS ============ */
:root {
  --bg:        #0a0a0b;
  --bg-2:      #0e0e10;
  --surface:   #131316;
  --surface-2: #19191d;

  --line:      rgba(255, 255, 255, .08);
  --line-2:    rgba(255, 255, 255, .14);

  --text:      #f4f1ea;
  --text-2:    #b6b2a9;
  --text-3:    #7e7a73;

  --gold:      #c9a35c;
  --gold-2:    #e8cd93;
  --gold-3:    #8f6f37;
  --gold-grad: linear-gradient(120deg, #f0d79b 0%, #c9a35c 48%, #8f6f37 100%);

  --r:          3px;
  --shadow:     0 30px 80px -30px rgba(0, 0, 0, .85);
  --container:  1240px;
  --container-wide: 1440px;
  --ease:       cubic-bezier(.22, .61, .36, 1);
  --nav-h:      4.75rem;
}

/* ============ 1. BASE ============ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + .75rem);
  -webkit-text-size-adjust: 100%;
  scrollbar-color: #26262b var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Subtle film grain over the whole page, the “premium print” feel */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.025em;
  text-wrap: balance;
}

p { margin: 0; color: var(--text-2); text-wrap: pretty; }

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

ul, ol { margin: 0; padding: 0; list-style: none; }

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

button { font: inherit; color: inherit; }

::selection { background: rgba(201, 163, 92, .28); color: #fff; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: #26262b;
  border-radius: 20px;
  border: 2px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { background: #3b3b43; }

/* anchor offset for the sticky nav */
[id] { scroll-margin-top: 6rem; }

body.is-locked { overflow: hidden; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 300;
  padding: .7rem 1.2rem;
  background: var(--gold-grad);
  color: #191205;
  font-weight: 600;
  border-radius: 0 0 8px 8px;
  transition: top .3s var(--ease);
}
.skip-link:focus { top: 0; }

/* ============ 2. UTILITIES ============ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4vw, 2.5rem);
}
.container--wide { max-width: var(--container-wide); }

.section { padding-block: clamp(4rem, 10vh, 8rem); }

.eyebrow {
  margin: 0 0 1.1rem;
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .28em;
  color: var(--gold);
}

.section__head {
  text-align: center;
  margin-bottom: clamp(2.4rem, 5vw, 3.6rem);
}
.section__title {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  letter-spacing: -.032em;
}
.section__title::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  margin: 1.05rem auto 0;
  border-radius: 2px;
  background: var(--gold-grad);
}
.section__desc {
  max-width: 58ch;
  margin: 1.15rem auto 0;
  font-size: clamp(.98rem, 1.15vw, 1.06rem);
}

.grad {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.muted { color: var(--text-3) !important; }

/* --- Buttons --- */
.btn {
  position: relative;
  z-index: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.65rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .94rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform .35s var(--ease),
              box-shadow .35s var(--ease),
              background .35s var(--ease),
              color .35s var(--ease),
              border-color .35s var(--ease);
}
.btn--gold {
  background: var(--gold-grad);
  color: #1a1305;
  box-shadow: 0 12px 34px -14px rgba(201, 163, 92, .75);
}
.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 46px -14px rgba(201, 163, 92, .9);
}
.btn--ghost {
  border-color: var(--line-2);
  color: var(--text);
  background: rgba(255, 255, 255, .02);
}
.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold-2);
  background: rgba(201, 163, 92, .08);
  transform: translateY(-2px);
}
.btn--sm { padding: .6rem 1.1rem; font-size: .85rem; }

/* Gradient glow pulsing around the primary CTA */
.btn--glow::before {
  content: "";
  position: absolute;
  inset: -3px;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(60% 120% at 50% 50%,
              rgba(232, 205, 147, .55),
              rgba(201, 163, 92, .18) 55%,
              transparent 75%);
  filter: blur(12px);
  opacity: .65;
  animation: glowPulse 3.4s var(--ease) infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: .5;  transform: scale(.97); }
  50%      { opacity: .95; transform: scale(1.05); }
}

/* Shop CTA: champagne glass, pulsing gold halo, light sweep on hover */
.btn--shop {
  overflow: hidden;
  color: var(--text);
  background: linear-gradient(180deg, rgba(232, 205, 147, .2), rgba(201, 163, 92, .08));
  border-color: rgba(232, 205, 147, .5);
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16);
  animation: shopPulse 3.2s var(--ease) infinite;
}
.btn--shop::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .5) 50%, transparent 70%);
  background-size: 300% 100%;
  background-position: 160% 0;
  opacity: 0;
  transition: opacity .3s var(--ease), background-position .95s var(--ease);
  pointer-events: none;
}
.btn--shop:hover {
  color: #191205;
  background: var(--gold-grad);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 20px 44px -16px rgba(232, 205, 147, .95);
  animation: none;
}
.btn--shop:hover::after { opacity: 1; background-position: -60% 0; }
.btn--shop:active { transform: translateY(0) scale(.98); }
@keyframes shopPulse {
  0%, 100% {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16),
                0 14px 34px -16px rgba(201, 163, 92, .7),
                0 0 0 0 rgba(232, 205, 147, .38);
  }
  50% {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22),
                0 18px 44px -14px rgba(232, 205, 147, .9),
                0 0 0 8px rgba(232, 205, 147, 0);
  }
}
.btn:active { transform: translateY(0) scale(.98); }

/* --- Reveal on scroll --- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(7px);
  transition: opacity .85s var(--ease), transform .85s var(--ease), filter .85s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; filter: blur(0); }

/* ============ 3. NAVIGATION ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 120;
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease), border-color .4s var(--ease);
}
.nav.is-scrolled {
  background: rgba(9, 9, 11, .72);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  border-bottom-color: var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: clamp(.75rem, 2vw, 2rem);
  height: var(--nav-h);
  transition: height .35s var(--ease);
}
.nav.is-scrolled .nav__inner { height: 4rem; }

.nav__progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: var(--gold-grad);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

.brand { display: flex; align-items: center; }
.brand__logo {
  display: block;
  height: clamp(2.4rem, 4.8vw, 3.2rem);
  width: auto;
  transition: transform .35s var(--ease), filter .35s var(--ease);
}
.brand:hover .brand__logo {
  transform: translateY(-2px);
  filter: drop-shadow(0 8px 20px rgba(201, 163, 92, .4));
}
.nav.is-scrolled .brand__logo { height: clamp(2.1rem, 4.2vw, 2.7rem); }
.footer .brand__logo { height: clamp(2.7rem, 5.4vw, 3.5rem); }

.nav__links { display: flex; margin-left: auto; gap: clamp(1rem, 2vw, 1.9rem); }
.nav__links a {
  position: relative;
  padding: .35rem 0;
  font-size: .9rem;
  color: var(--text-2);
  transition: color .3s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav__links a:hover,
.nav__links a.is-active { color: var(--text); }
.nav__links a:hover::after,
.nav__links a.is-active::after { transform: scaleX(1); }

/* Nav shop CTA: slightly tighter than the default button, glow preserved */
.nav .btn--shop { padding: .6rem 1.1rem; font-size: .84rem; }

.nav__burger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  cursor: pointer;
}
.nav__burger span {
  display: block;
  width: 18px;
  height: 1.6px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav.menu-open .nav__burger span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav.menu-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.menu-open .nav__burger span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

.nav__mobile {
  position: fixed;
  inset: var(--nav-h) 0 0;
  z-index: 119;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .35rem;
  padding: 2rem clamp(1.15rem, 6vw, 3rem);
  background:
    radial-gradient(115% 52% at 50% 0%, rgba(201, 163, 92, .12), transparent 62%),
    #0a0a0b;
  box-shadow: 0 24px 70px -24px rgba(0, 0, 0, .9);
  animation: mobileIn .35s var(--ease);
}
.nav__mobile[hidden] { display: none; }
@keyframes mobileIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.nav__mobile nav { display: flex; flex-direction: column; }
.nav__mobile a {
  padding: .45rem 0;
  font-size: clamp(1.5rem, 7vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -.02em;
}
.nav__mobile .btn {
  margin-top: 1.6rem;
  justify-content: center;
  font-size: clamp(1.05rem, 4.6vw, 1.3rem);
  letter-spacing: 0;
}
.nav__mobile a:not(.btn):hover { color: var(--gold-2); }
.nav__mobile a { animation: menuIn .55s var(--ease) both; }
.nav__mobile a:nth-child(1) { animation-delay: .05s; }
.nav__mobile a:nth-child(2) { animation-delay: .1s; }
.nav__mobile a:nth-child(3) { animation-delay: .15s; }
.nav__mobile a:nth-child(4) { animation-delay: .2s; }
.nav__mobile a:nth-child(5) { animation-delay: .25s; }
@keyframes menuIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ============ 4. HERO ============ */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 9vh, 6rem) clamp(4rem, 12vh, 8rem);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(58% 45% at 80% 14%, rgba(201, 163, 92, .16), transparent 70%),
    radial-gradient(48% 50% at 8% 92%, rgba(120, 90, 40, .15), transparent 72%),
    radial-gradient(75% 60% at 50% 45%, rgba(30, 26, 20, .5), transparent 72%),
    var(--bg);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero__title {
  margin: .2rem 0 1.4rem;
  font-size: clamp(2.6rem, 6.4vw, 5.05rem);
  line-height: 1.02;
  letter-spacing: -.038em;
}
.hero__sub {
  max-width: 48ch;
  font-size: clamp(1rem, 1.2vw, 1.12rem);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin: 2rem 0 2.5rem;
}

/* Floating framed artworks */
.hero__art { position: relative; will-change: transform; }
.hero__glow {
  position: absolute;
  inset: -10% -14%;
  z-index: -1;
  background: radial-gradient(50% 50% at 55% 45%, rgba(201, 163, 92, .26), transparent 70%);
  filter: blur(22px);
}

/* Soft light that follows the pointer over the artwork */
.hero__spot {
  position: absolute;
  top: 0;
  left: 0;
  width: 540px;
  height: 540px;
  margin: -270px 0 0 -270px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle, rgba(201, 163, 92, .2), rgba(201, 163, 92, .05) 45%, transparent 70%);
  filter: blur(16px);
  transform: translate3d(var(--mx, 620px), var(--my, 140px), 0);
}

/* Entrance choreography for the hero copy */
@keyframes riseIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.hero__copy > * { animation: riseIn .9s var(--ease) both; }
.hero__copy > *:nth-child(2) { animation-delay: .09s; }
.hero__copy > *:nth-child(3) { animation-delay: .18s; }
.hero__copy > *:nth-child(4) { animation-delay: .27s; }
.hero__copy > *:nth-child(5) { animation-delay: .36s; }
.hero__art { animation: fadeIn 1.1s .25s both; }
.hero__frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: 5px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.hero__frame img { width: 100%; height: auto; }
.hero__frame--main {
  width: clamp(210px, 74%, 430px);
  margin-inline: auto;
  animation: floatY 9s var(--ease) infinite;
}
.hero__frame--sub {
  position: absolute;
  top: -5%;
  right: -2%;
  z-index: -1;
  width: 36%;
  border-color: rgba(201, 163, 92, .28);
  opacity: .9;
  animation: floatSub 11s var(--ease) infinite;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
@keyframes floatSub {
  0%, 100% { transform: rotate(4deg) translateY(0); }
  50%      { transform: rotate(4deg) translateY(-18px); }
}

/* ============ 5. GALLERY ============ */
.gallery { position: relative; }
.gallery::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, var(--container-wide));
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2) 20%, var(--line-2) 80%, transparent);
}
.gallery::after {
  content: "";
  position: absolute;
  top: -7rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(940px, 92%);
  height: 26rem;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(201, 163, 92, .12), transparent 72%);
  pointer-events: none;
}

/*
   Masonry via CSS multi-column.
   Preserves every image's native aspect ratio (portrait AND landscape),
   never crops, and re-flows automatically when new works are added.
*/
.gallery__grid { columns: 1; column-gap: clamp(.7rem, 1.4vw, 1.15rem); }
.work { break-inside: avoid; margin: 0 0 clamp(.7rem, 1.4vw, 1.15rem); }

.work__frame {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  cursor: zoom-in;
  -webkit-appearance: none;
  appearance: none;
  transition: opacity .5s var(--ease),
              border-color .5s var(--ease),
              box-shadow .5s var(--ease);
}
.work__frame:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.work__lqip,
.work__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* ratio matches the source → zero cropping */
}
.work__lqip {
  z-index: 0;
  filter: blur(18px) saturate(1.25);
  transform: scale(1.12);
  transition: opacity .6s var(--ease);
}
.work__img {
  z-index: 1;
  opacity: 0;
  transition: opacity .7s var(--ease), transform .9s var(--ease);
}
.work.is-loaded .work__img { opacity: 1; }
.work.is-loaded .work__lqip { opacity: 0; }

/* Hover states only for precise pointers, touch never leaves tiles dimmed */
@media (hover: hover) and (pointer: fine) {
  /* Gentle zoom on the active piece… */
  .work__frame:hover .work__img { transform: scale(1.06); }

  /* …while the rest of the gallery steps back */
  .gallery__grid:hover .work__frame { opacity: .32; }
  .gallery__grid:hover .work__frame:hover {
    opacity: 1;
    border-color: rgba(201, 163, 92, .42);
    box-shadow: 0 24px 60px -28px rgba(0, 0, 0, .9), 0 0 46px -22px rgba(201, 163, 92, .35);
  }
}

.work__veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  background: linear-gradient(to top, rgba(6, 6, 8, .84) 0%, rgba(6, 6, 8, .15) 46%, transparent 72%);
  transition: opacity .5s var(--ease);
}
.work__overlay {
  position: absolute;
  z-index: 3;
  left: 1.05rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .55rem;
  color: var(--gold-2);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.work__frame:hover .work__veil,
.work__frame:focus-visible .work__veil { opacity: 1; }
.work__frame:hover .work__overlay,
.work__frame:focus-visible .work__overlay { opacity: 1; transform: none; }
.work__icon {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  border: 1px solid rgba(232, 205, 147, .5);
  background: rgba(10, 10, 11, .5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.work__label {
  font-size: .74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .16em;
}

/* ============ 6. PROCESS ============ */
.process {
  position: relative;
  background: linear-gradient(180deg, var(--bg), var(--bg-2) 45%, var(--bg));
}
.process::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, var(--container));
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2) 18%, var(--line-2) 82%, transparent);
  pointer-events: none;
}
.process__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.6rem);
}
.step {
  position: relative;
  overflow: hidden;
  padding: clamp(1.6rem, 2.4vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
  transition: transform .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s var(--ease);
}
.step:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 163, 92, .35);
  box-shadow: 0 26px 50px -28px rgba(0, 0, 0, .9), 0 0 40px -20px rgba(201, 163, 92, .25);
}
.step:hover::before { transform: scaleX(1); }
.step__num {
  position: absolute;
  top: .85rem;
  right: 1.1rem;
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .14);
}
.step__icon {
  display: inline-grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  margin-bottom: 1.15rem;
  color: var(--gold-2);
  border: 1px solid rgba(201, 163, 92, .3);
  border-radius: 12px;
  background: rgba(201, 163, 92, .07);
}
.step__title { margin-bottom: .55rem; font-size: 1.22rem; }
.step__text { font-size: .94rem; }

/* ============ 7. CTA BAND ============ */
.band__card {
  position: relative;
  overflow: hidden;
  padding: clamp(2.6rem, 6vw, 4.6rem) clamp(1.4rem, 4vw, 3rem);
  text-align: center;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background:
    radial-gradient(80% 130% at 50% 0%, rgba(201, 163, 92, .12), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01));
  box-shadow: var(--shadow);
}
.band__glow {
  position: absolute;
  top: -32%;
  left: 50%;
  width: min(700px, 92%);
  aspect-ratio: 1;
  transform: translateX(-50%);
  pointer-events: none;
  background: radial-gradient(circle, rgba(201, 163, 92, .22), transparent 68%);
  filter: blur(32px);
  animation: breathe 7s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { opacity: .7; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.07); }
}
.band__title {
  max-width: 22ch;
  margin: .4rem auto 1rem;
  font-size: clamp(1.8rem, 4.2vw, 3rem);
  letter-spacing: -.03em;
}
.band__text { max-width: 52ch; margin: 0 auto 1.9rem; }
.band__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .9rem;
}

/* ============ 8. FOOTER ============ */
.footer {
  margin-top: clamp(2rem, 6vw, 4rem);
  padding-top: clamp(2.6rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.55fr repeat(2, 1fr);
  gap: clamp(1.6rem, 3vw, 2.6rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
.footer__about { max-width: 40ch; margin: .9rem 0 1.2rem; font-size: .9rem; }
.footer__heading {
  margin-bottom: 1rem;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--gold);
}
.footer__col ul { display: flex; flex-direction: column; gap: .55rem; }
.footer__col a { font-size: .9rem; color: var(--text-2); transition: color .3s; }
.footer__col a:hover { color: var(--gold-2); }

.socials { display: flex; gap: .6rem; }
.socials a {
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  color: var(--text-2);
  border: 1px solid var(--line-2);
  border-radius: 50%;
  transition: transform .3s var(--ease), color .3s, background .3s, border-color .3s;
}
.socials a:hover {
  color: #191205;
  background: var(--gold-grad);
  border-color: transparent;
  transform: translateY(-2px);
}
.footer__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding-block: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: .8rem;
  color: var(--text-3);
}
.footer__bar p { color: inherit; }

/* ============ 9. LIGHTBOX ============ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(.8rem, 3vw, 2rem);
  background: rgba(4, 4, 5, .94);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  animation: lbIn .35s var(--ease);
}
.lightbox[hidden] { display: none; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }

.lightbox__img {
  max-width: min(94vw, 1200px);
  max-height: min(84vh, 1200px);
  object-fit: contain;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  box-shadow: 0 40px 100px -40px #000;
}
.lightbox__img.is-anim { animation: lbImg .45s var(--ease); }
@keyframes lbImg {
  from { opacity: 0; transform: scale(.96) translateY(10px); }
  to   { opacity: 1; transform: none; }
}

.lb-btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  color: var(--text);
  background: rgba(20, 20, 23, .6);
  border: 1px solid var(--line-2);
  border-radius: 50%;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.lb-btn:hover {
  color: #191205;
  background: var(--gold-grad);
  border-color: transparent;
}
.lb-close { top: clamp(.9rem, 3vw, 1.6rem); right: clamp(.9rem, 3vw, 1.6rem); }
.lb-prev  { left: clamp(.6rem, 2vw, 1.4rem); top: 50%; transform: translateY(-50%); }
.lb-next  { right: clamp(.6rem, 2vw, 1.4rem); top: 50%; transform: translateY(-50%); }
.lb-prev:hover, .lb-next:hover { transform: translateY(-50%) scale(1.06); }

.lightbox__caption {
  position: absolute;
  bottom: clamp(.8rem, 3vw, 1.4rem);
  left: 50%;
  display: flex;
  flex-basis: auto;
  align-items: baseline;
  gap: 1.1rem;
  max-width: 92vw;
  font-size: .84rem;
  color: var(--text-2);
  text-align: center;
  transform: translateX(-50%);
}
.lightbox__counter {
  font-size: .76rem;
  letter-spacing: .08em;
  color: var(--gold-2);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ============ 10. RESPONSIVE ============ */
@media (min-width: 640px)  { .gallery__grid { columns: 2; } }
@media (min-width: 1024px) { .gallery__grid { columns: 3; } }
@media (min-width: 1720px) { .gallery__grid { columns: 4; } }

@media (max-width: 960px) {
  .nav__links, .nav__inner > .btn { display: none; }
  .nav__burger { display: flex; }

  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__sub { margin-inline: auto; }
  .hero__cta { justify-content: center; }
  .hero__art { order: -1; max-width: 400px; margin-inline: auto; }

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

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer__grid { grid-template-columns: 1fr; }
  .hero__frame--sub { display: none; }
  .lightbox__caption { flex-direction: column; gap: .25rem; align-items: center; }
}

/* ============ 11. REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; filter: none; }
}
