/* =========================================================
   Jaz Dudziak — Custom Colour Tattoos
   ========================================================= */

:root {
  --bg: #061a1c;
  --surface: #0c282b;
  --surface-2: #0f3134;
  --border: #134e4a;
  --accent: #2dd4bf;
  --accent-2: #5eead4;
  --text: #f0fdfa;
  --muted: #a7c4c0;
  --dim: #6f9894;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --nav-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .6);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
em { font-style: italic; }
h1, h2, h3 { margin: 0; font-weight: 500; line-height: 1.1; }
p { margin: 0; }

::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
@media (min-width: 720px) { .container { width: min(1180px, 100% - 64px); } }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--accent); color: var(--bg); padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 16px; }

/* ---------- Background flora ---------- */
.bg-flora { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.bg-sprig { position: absolute; color: var(--accent); opacity: .08; }
.bg-sprig--1 { width: 260px; height: 520px; left: -60px; top: 18vh; transform: rotate(-12deg); }
.bg-sprig--2 { width: 220px; height: 440px; right: -50px; top: 55vh; transform: rotate(168deg); }
.bg-sprig--3 { width: 180px; height: 360px; left: 46%; bottom: -160px; transform: rotate(80deg); opacity: .06; }

main, .footer, .nav { position: relative; z-index: 1; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.6em; border-radius: 999px; font-weight: 600; font-size: .95rem;
  letter-spacing: .01em; border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s, border-color .25s;
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #04201f;
  box-shadow: 0 10px 30px -10px rgba(45, 212, 191, .55);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(45, 212, 191, .7); }
.btn--ghost { border-color: var(--border); background: rgba(12, 40, 43, .5); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-2); transform: translateY(-2px); }
.btn--block { width: 100%; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  background: rgba(6, 26, 28, .55);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.nav.is-scrolled { background: rgba(6, 26, 28, .82); border-bottom-color: rgba(19, 78, 74, .7); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mono {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--border); font-family: var(--serif); font-style: italic; font-size: 1.2rem;
  color: var(--accent-2); background: radial-gradient(circle at 30% 30%, rgba(45,212,191,.18), transparent 70%);
}
.brand__word { font-family: var(--serif); font-size: 1.45rem; letter-spacing: .01em; }
.brand__word em { color: var(--accent-2); }

.nav__links { display: none; margin-left: auto; gap: 34px; }
.nav__links a { position: relative; font-size: .92rem; color: var(--muted); transition: color .2s; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s 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__cta { display: none; padding: .7em 1.3em; }

.burger {
  margin-left: auto; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--border); background: rgba(12, 40, 43, .6);
  display: grid; place-content: center; gap: 5px;
}
.burger span { display: block; width: 18px; height: 1.5px; background: var(--text); border-radius: 2px; transition: transform .3s, opacity .3s; }

@media (min-width: 960px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .burger { display: none; }
}

/* ---------- Drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(2, 10, 11, .6); opacity: 0; transition: opacity .35s; }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(360px, 86vw);
  background: var(--surface); border-left: 1px solid var(--border);
  padding: 88px 28px 32px; display: flex; flex-direction: column; gap: 28px;
  transform: translateX(100%); transition: transform .4s var(--ease); overflow: hidden;
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__flora { position: absolute; width: 260px; height: 260px; right: -40px; bottom: -40px; color: var(--accent); opacity: .14; transform: rotate(180deg); pointer-events: none; }
.drawer__close {
  position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--border); background: transparent; font-size: 1.6rem; line-height: 1;
}
.drawer__links { display: flex; flex-direction: column; }
.drawer__links a {
  font-family: var(--serif); font-size: 2rem; padding: 10px 0; border-bottom: 1px solid rgba(19, 78, 74, .6);
  transition: color .2s, padding-left .25s var(--ease);
}
.drawer__links a:hover { color: var(--accent-2); padding-left: 8px; }
.drawer__note { font-size: .85rem; color: var(--dim); }

/* ---------- Shared section bits ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); }
.section__head--left { text-align: left; margin: 0; }
.eyebrow {
  display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.section__title { font-family: var(--serif); font-size: clamp(2.3rem, 5vw, 3.6rem); letter-spacing: -.01em; }
.section__title em { color: var(--accent-2); }
.section__sub { color: var(--muted); margin-top: 18px; font-size: 1.05rem; }

.card {
  background: linear-gradient(180deg, rgba(15, 49, 52, .7), rgba(12, 40, 43, .9));
  border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.divider { display: flex; justify-content: center; padding: 0 16px; }
.divider svg { width: min(420px, 100%); height: 42px; color: var(--accent); opacity: .18; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: calc(100svh - var(--nav-h)); display: grid; align-items: center;
  padding: 64px 0 96px; overflow: hidden; text-align: center;
}
.hero__glow {
  position: absolute; inset: -20% -10% auto; height: 120%; pointer-events: none;
  background:
    radial-gradient(40% 40% at 50% 42%, rgba(45, 212, 191, .22), transparent 70%),
    radial-gradient(30% 30% at 20% 70%, rgba(94, 234, 212, .10), transparent 70%),
    radial-gradient(28% 28% at 82% 22%, rgba(19, 78, 74, .55), transparent 70%);
  animation: breathe 10s ease-in-out infinite alternate;
}
@keyframes breathe { from { transform: scale(1); opacity: .85; } to { transform: scale(1.08); opacity: 1; } }

.hero__corner { position: absolute; width: clamp(160px, 28vw, 340px); height: clamp(160px, 28vw, 340px); color: var(--accent); opacity: .16; pointer-events: none; }
.hero__corner--tl { top: 0; left: 0; transform: scaleY(-1); }
.hero__corner--br { bottom: 0; right: 0; transform: scaleX(-1); }

.hero__inner { position: relative; display: flex; flex-direction: column; align-items: center; }

.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--border); background: rgba(12, 40, 43, .7);
  font-size: .8rem; font-weight: 500; letter-spacing: .04em; color: var(--accent-2);
}
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(45,212,191,.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(45,212,191,0); } 100% { box-shadow: 0 0 0 0 rgba(45,212,191,0); } }

.hero__title {
  font-family: var(--serif); font-weight: 400; margin-top: 28px;
  font-size: clamp(3rem, 10vw, 7.2rem); line-height: .98; letter-spacing: -.02em;
}
.hero__title em {
  font-weight: 500;
  background: linear-gradient(100deg, var(--accent) 0%, var(--accent-2) 40%, #fbcfe8 70%, #fde68a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em;
}
.hero__lede { max-width: 580px; margin-top: 26px; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.15rem); }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }

.stats {
  list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border); border-radius: var(--radius); background: rgba(12, 40, 43, .55);
  backdrop-filter: blur(6px); width: min(640px, 100%);
}
.stats li { padding: 18px 10px; display: flex; flex-direction: column; gap: 2px; }
.stats li + li { border-left: 1px solid var(--border); }
.stats strong { font-family: var(--serif); font-size: clamp(1.5rem, 4vw, 2.1rem); font-weight: 500; color: var(--accent-2); line-height: 1.1; }
.stats span { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

.hero__scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1px solid var(--border); border-radius: 20px;
}
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--accent); animation: scroll 1.8s infinite; }
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- About ---------- */
.about__grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 900px) { .about__grid { grid-template-columns: 5fr 6fr; gap: 80px; } }

.portrait { position: relative; margin: 0 auto; width: min(420px, 100%); }
.portrait__frame {
  position: relative; aspect-ratio: 4 / 5; border-radius: 220px 220px var(--radius) var(--radius);
  overflow: hidden; border: 1px solid var(--border); padding: 10px; background: var(--surface);
}
.portrait__frame > * { width: 100%; height: 100%; border-radius: 210px 210px 12px 12px; object-fit: cover; }
.portrait__placeholder {
  display: grid; place-content: center; text-align: center; gap: 6px;
  background:
    radial-gradient(60% 50% at 50% 35%, rgba(45, 212, 191, .25), transparent 70%),
    linear-gradient(160deg, #0f3a3c, #072022);
}
.portrait__initials { font-family: var(--serif); font-style: italic; font-size: 5rem; color: var(--accent-2); line-height: 1; }
.portrait__hint { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.portrait__flora { position: absolute; color: var(--accent); pointer-events: none; }
.portrait__flora--a { width: 120px; height: 240px; left: -56px; bottom: 30px; opacity: .18; transform: rotate(-18deg); }
.portrait__flora--b { width: 170px; height: 170px; right: -36px; top: -28px; opacity: .16; transform: scaleY(-1) scaleX(-1); }
.portrait figcaption { margin-top: 16px; text-align: center; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }

.prose { margin-top: 26px; display: grid; gap: 18px; color: var(--muted); font-size: 1.04rem; }

.highlights { display: grid; gap: 20px; margin-top: clamp(56px, 8vw, 96px); }
@media (min-width: 760px) { .highlights { grid-template-columns: repeat(3, 1fr); } }
.highlight { padding: 32px 28px; transition: transform .35s var(--ease), border-color .35s; }
.highlight:hover { transform: translateY(-4px); border-color: rgba(45, 212, 191, .5); }
.highlight__icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px;
  background: rgba(45, 212, 191, .1); color: var(--accent-2); border: 1px solid var(--border);
}
.highlight__icon svg { width: 28px; height: 28px; }
.highlight h3 { font-family: var(--serif); font-size: 1.6rem; margin-bottom: 10px; }
.highlight p { color: var(--muted); font-size: .95rem; }

/* ---------- Portfolio ---------- */
.filters {
  display: flex; gap: 10px; margin-bottom: 40px; overflow-x: auto; padding-bottom: 6px;
  scrollbar-width: none; justify-content: flex-start;
}
.filters::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .filters { justify-content: center; flex-wrap: wrap; } }
.filter {
  flex: none; padding: .65em 1.2em; border-radius: 999px; border: 1px solid var(--border);
  background: rgba(12, 40, 43, .6); color: var(--muted); font-size: .88rem; font-weight: 500;
  transition: background .25s, color .25s, border-color .25s;
}
.filter:hover { color: var(--text); border-color: var(--accent); }
.filter.is-active { background: var(--accent); color: #04201f; border-color: var(--accent); }

.gallery { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .gallery { grid-template-columns: repeat(4, 1fr); } }

.work {
  position: relative; padding: 0; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); overflow: hidden; text-align: left;
  transition: transform .4s var(--ease), border-color .3s, box-shadow .4s, opacity .4s;
}
.work:hover { transform: translateY(-6px); border-color: rgba(45, 212, 191, .55); box-shadow: 0 30px 60px -30px rgba(45, 212, 191, .35); }
.work.is-hidden { display: none; }

.work__art {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  background:
    radial-gradient(60% 50% at 25% 25%, var(--c1), transparent 70%),
    radial-gradient(55% 50% at 80% 70%, var(--c2), transparent 70%),
    radial-gradient(40% 40% at 60% 20%, var(--c3), transparent 70%),
    #0b2023;
}
.work__art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(6, 26, 28, .85));
}
.work__art svg, .work__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.work__art svg { padding: 12%; filter: drop-shadow(0 4px 14px rgba(0,0,0,.35)); }
.work:hover .work__art svg, .work:hover .work__art img { transform: scale(1.06); }

.work__info { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px; z-index: 1; }
.work__tag { font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2); }
.work__info h3 { font-family: var(--serif); font-size: 1.5rem; margin-top: 4px; }

.gallery__empty { text-align: center; color: var(--dim); margin-top: 24px; }

/* ---------- Process ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; counter-reset: s; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { padding: 34px 28px; position: relative; overflow: hidden; }
.step::before {
  content: ""; position: absolute; top: 0; left: 28px; right: 28px; height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.step__num { font-family: var(--serif); font-style: italic; font-size: 3rem; line-height: 1; color: var(--accent); opacity: .7; }
.step h3 { font-family: var(--serif); font-size: 1.55rem; margin: 18px 0 10px; }
.step p { color: var(--muted); font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .faq__grid { grid-template-columns: 4fr 7fr; gap: 72px; align-items: start; } .faq .section__head { position: sticky; top: calc(var(--nav-h) + 32px); } }
.accordion { display: grid; gap: 12px; }
.qa { border: 1px solid var(--border); border-radius: var(--radius-sm); background: rgba(12, 40, 43, .6); transition: border-color .3s, background .3s; }
.qa[open] { border-color: rgba(45, 212, 191, .45); background: var(--surface); }
.qa summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative;
  font-weight: 500; font-size: 1.02rem;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent);
  transform: rotate(45deg); transition: transform .3s var(--ease);
}
.qa[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.qa__body { padding: 0 22px 22px; color: var(--muted); }

/* ---------- Booking ---------- */
.book { overflow: hidden; }
.book::before {
  content: ""; position: absolute; inset: 10% 0 auto; height: 80%; pointer-events: none;
  background: radial-gradient(40% 50% at 70% 50%, rgba(45, 212, 191, .12), transparent 70%);
}
.book__corner { position: absolute; width: 300px; height: 300px; left: 0; bottom: 0; color: var(--accent); opacity: .12; pointer-events: none; }
.book__grid { position: relative; display: grid; gap: 48px; }
@media (min-width: 960px) { .book__grid { grid-template-columns: 5fr 6fr; gap: 72px; align-items: start; } }
.book__list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.book__list li { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.book__list li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: rgba(45,212,191,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%235eead4' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.book__contact { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 32px; }
.book__contact a { color: var(--accent-2); border-bottom: 1px solid var(--border); padding-bottom: 2px; transition: border-color .2s; overflow-wrap: anywhere; }
.book__contact a:hover { border-color: var(--accent); }

.form { padding: clamp(24px, 4vw, 40px); display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; }
@media (min-width: 600px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm); border: 1px solid var(--border);
  background: rgba(6, 26, 28, .7); color: var(--text); font: inherit; font-size: .98rem;
  transition: border-color .2s, box-shadow .2s;
}
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%232dd4bf' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 14px;
}
.field select option { background: var(--surface); }
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(45, 212, 191, .18); }
.field__error { display: none; font-size: .8rem; color: #fda4af; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #fb7185; }
.field.is-invalid .field__error { display: block; }

.check { display: flex; align-items: center; gap: 12px; font-size: .92rem; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.check.is-invalid span { color: #fda4af; }

.form__status { min-height: 1.4em; font-size: .92rem; text-align: center; color: var(--accent-2); }
.form__status.is-error { color: #fda4af; }

/* ---------- Footer ---------- */
.footer { padding: 24px 0 48px; }
.footer__inner { display: grid; justify-items: center; text-align: center; gap: 18px; margin-top: 32px; }
.footer__tag { color: var(--muted); font-size: .92rem; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; }
.footer__links a { color: var(--muted); font-size: .9rem; transition: color .2s; }
.footer__links a:hover { color: var(--accent-2); }
.footer__copy { color: var(--dim); font-size: .8rem; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 16px; visibility: hidden; }
.lightbox.is-open { visibility: visible; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(2, 10, 11, .82); backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s; }
.lightbox.is-open .lightbox__backdrop { opacity: 1; }
.lightbox__panel {
  position: relative; width: min(940px, 100%); max-height: calc(100svh - 32px); overflow: auto;
  display: grid; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .3s, transform .35s var(--ease);
}
.lightbox.is-open .lightbox__panel { opacity: 1; transform: none; }
@media (min-width: 760px) { .lightbox__panel { grid-template-columns: 1fr 1fr; } }
.lightbox__art { position: relative; aspect-ratio: 4 / 5; }
.lightbox__art .work__art { position: absolute; inset: 0; aspect-ratio: auto; }
.lightbox__info { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.lightbox__info .eyebrow { margin: 0; }
.lightbox__info h3 { font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.8rem); }
.lightbox__info p:not(.eyebrow) { color: var(--muted); }
.lightbox__info .btn { align-self: flex-start; margin-top: 10px; white-space: normal; text-align: center; }
.lightbox__close, .lightbox__nav {
  position: absolute; z-index: 2; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--border); background: rgba(6, 26, 28, .75); font-size: 1.5rem; line-height: 1;
  display: grid; place-items: center; transition: border-color .2s, color .2s;
}
.lightbox__close:hover, .lightbox__nav:hover { border-color: var(--accent); color: var(--accent-2); }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__nav { top: calc(50% - 22px); }
.lightbox__nav--prev { left: 12px; }
.lightbox__nav--next { right: 12px; }
@media (min-width: 760px) { .lightbox__nav { top: calc(50% - 22px); } .lightbox__nav--next { right: calc(50% + 12px); } }
@media (max-width: 759px) { .lightbox__nav { top: calc((min(940px, 100vw - 32px)) * .62 - 22px); } }

/* Card without a photo yet (added via the editor) */
.work__soon {
  position: absolute; inset: 0; display: grid; place-items: center; z-index: 0;
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(240, 253, 250, .75);
}
.filter[hidden] { display: none; }
