/* ============================================================
   THE BLACK ROSE TATTOO COMPANY — bespoke cinematic styles
   Tokens mirror tailwind.config (ink/charcoal/purple/violet/silver)
   ============================================================ */

:root {
  --ink: #090909;
  --charcoal: #141414;
  --surface: #1a1a1d;
  --purple: #7a2eff;
  --violet: #5c23d6;
  --silver: #c9c9ce;
  --offwhite: #f5f5f7;
  /* Antique gold — refined secondary accent (purple stays primary) */
  --gold: #c8a24c;
  --gold-bright: #e8cd8a;
  --gold-deep: #9a7b34;
  --gold-line: linear-gradient(90deg, transparent, var(--gold), transparent);
  --gold-sheen: linear-gradient(120deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { -webkit-tap-highlight-color: transparent; }

html { background: var(--ink); overflow-x: hidden; }
/* Clip horizontal overflow at the root, not on <body>, so body doesn't become a
   separate scroll container (which breaks scroll position sync on some devices). */
body.overflow-x-hidden { overflow-x: visible; }
body { position: relative; }

::selection { background: rgba(122, 46, 255, 0.35); color: #fff; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: #2a2a30; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--violet); }

/* Film grain overlay */
.grain {
  position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: 0.04;
  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.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.skip-link {
  position: fixed; top: -60px; left: 50%; transform: translateX(-50%);
  background: var(--purple); color: #fff; padding: 10px 22px; border-radius: 0 0 8px 8px;
  z-index: 200; transition: top 0.25s var(--ease); font-size: 13px; letter-spacing: 0.05em;
}
.skip-link:focus { top: 0; }

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

/* Shared gradient text (purple → violet → silver) */
.text-gradient {
  background: linear-gradient(115deg, var(--violet) 0%, var(--purple) 28%, #c79bff 52%, var(--gold) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
/* When SplitType wraps a gradient word in its own inline-block span, background-clip:text
   no longer reaches the text from the parent <em>. Re-apply the gradient per word span. */
.text-gradient .word {
  background-image: linear-gradient(115deg, var(--violet) 0%, var(--purple) 28%, #c79bff 52%, var(--gold) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ============ TYPOGRAPHY HELPERS ============ */
.eyebrow {
  font-size: 11px; letter-spacing: 0.42em; text-transform: uppercase;
  color: rgba(201, 201, 206, 0.55); font-weight: 500;
}
.eyebrow::before { content: "—"; margin-right: 0.8em; color: var(--gold); }

.section { padding: clamp(6rem, 12vw, 11rem) 0; position: relative; }
.section-head { max-width: 46rem; }
.section-title {
  margin-top: 1.4rem; font-family: '"Cormorant Garamond"', serif;
  font-weight: 300; line-height: 1.0; letter-spacing: -0.01em;
  font-size: clamp(2.75rem, 7vw, 6rem); color: var(--offwhite);
}

/* ============ BUTTONS ============ */
.btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500;
  padding: 1rem 2.1rem; border-radius: 100px; position: relative; overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
  cursor: pointer; white-space: nowrap;
}
.btn-primary {
  color: #1a1206; background: var(--gold-sheen);
  box-shadow: 0 8px 30px -10px rgba(200, 162, 76, 0.55);
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, #f1dca0, var(--gold));
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 44px -10px rgba(200, 162, 76, 0.7); }
.btn-primary:hover::after { opacity: 1; }
.btn-primary > * { position: relative; z-index: 1; }

.btn-ghost {
  color: var(--offwhite); border: 1px solid rgba(200, 162, 76, 0.32); background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  border-color: var(--gold); color: #fff;
  box-shadow: 0 0 0 1px var(--gold), 0 0 30px -8px rgba(200, 162, 76, 0.45);
  transform: translateY(-2px);
}

/* ============ NAVIGATION ============ */
.nav { transition: background 0.5s var(--ease), backdrop-filter 0.5s var(--ease); }
.nav.scrolled {
  background: rgba(9, 9, 9, 0.6); backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
}
.nav-line {
  height: 1px; width: 100%; transform: scaleX(0); transform-origin: left;
  background: var(--gold-line);
  transition: transform 0.6s var(--ease); opacity: 0;
}
.nav.scrolled .nav-line { transform: scaleX(1); opacity: 1; }
.nav-logo { opacity: 0; transform: translateY(-6px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); pointer-events: none; }
.nav.scrolled .nav-logo { opacity: 1; transform: none; pointer-events: auto; }

.nav-link { position: relative; transition: color 0.3s var(--ease); }
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -7px; height: 1px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform 0.35s var(--ease);
}
.nav-link:hover { color: var(--offwhite); }
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-link.active { color: var(--offwhite); }
.nav-link.active::after { transform: scaleX(1); }

/* Mobile menu */
.mobile-menu {
  background: rgba(9, 9, 9, 0.92); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  display: none;
}
.mobile-menu.open { display: flex; }
.m-link { color: var(--offwhite); opacity: 0.9; transition: color 0.3s, letter-spacing 0.3s; }
.m-link:hover { color: var(--purple); letter-spacing: 0.04em; }

/* ============ HERO ============ */
.hero { background: radial-gradient(120% 90% at 50% 0%, #16101f 0%, var(--ink) 55%); }

.hero-logo-wrap {
  width: min(68vh, 600px); max-width: 92vw; will-change: transform;
  filter: drop-shadow(0 0 90px rgba(122, 46, 255, 0.3));
}
/* Middle layer: gentle float (CSS) — kept separate from the GSAP shrink so transforms don't collide */
.hero-logo-float { animation: float 7s ease-in-out infinite; will-change: transform; }
.hero-logo { width: 100%; height: auto; display: block; }
/* AI-rendered immersive emblem: fade the square edges into the page so smoke blends seamlessly */
.hero-logo--immersive {
  -webkit-mask-image: radial-gradient(circle at 50% 49%, #000 52%, transparent 80%);
  mask-image: radial-gradient(circle at 50% 49%, #000 52%, transparent 80%);
}

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

.hero-glow {
  position: absolute; top: 32%; left: 50%; width: 70vw; height: 70vw; max-width: 820px; max-height: 820px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(122, 46, 255, 0.22) 0%, rgba(92, 35, 214, 0.08) 38%, transparent 68%);
  filter: blur(20px); will-change: transform;
}
.hero-spotlight {
  position: absolute; top: -10%; left: 50%; transform: translateX(-50%);
  width: 120vw; height: 80vh;
  background: conic-gradient(from 180deg at 50% 0%, transparent 42%, rgba(200,162,76,0.09) 50%, transparent 58%);
  pointer-events: none;
}

/* Drifting smoke layers */
.smoke {
  position: absolute; inset: -20%; pointer-events: none; opacity: 0.32; mix-blend-mode: screen;
  background-repeat: no-repeat; will-change: transform;
}
.smoke-1 {
  background: radial-gradient(40% 50% at 30% 60%, rgba(80, 60, 120, 0.5), transparent 70%);
  animation: drift1 26s ease-in-out infinite;
}
.smoke-2 {
  background: radial-gradient(45% 40% at 70% 40%, rgba(60, 40, 110, 0.45), transparent 70%);
  animation: drift2 34s ease-in-out infinite;
}
@keyframes drift1 { 0%,100% { transform: translate(-3%, 2%) scale(1); } 50% { transform: translate(5%, -3%) scale(1.15); } }
@keyframes drift2 { 0%,100% { transform: translate(4%, -2%) scale(1.1); } 50% { transform: translate(-4%, 4%) scale(1); } }

.hero-eyebrow { font-weight: 500; }
.hero-headline { font-size: clamp(2.8rem, 9vw, 7.5rem); letter-spacing: -0.02em; }
.hero-headline em { font-style: normal; }

/* ============ PHILOSOPHY ============ */
.philosophy { position: relative; isolation: isolate; }
.philosophy-bg { position: absolute; inset: 0; z-index: -1; }
.philosophy-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(9,9,9,0.96) 0%, rgba(9,9,9,0.78) 45%, rgba(9,9,9,0.55) 100%),
              radial-gradient(80% 80% at 80% 50%, rgba(92, 35, 214, 0.18), transparent 60%);
}
.philosophy-bg img { filter: grayscale(0.7) contrast(1.05) brightness(0.7); }

/* ============ ARTISTS ============ */
.artist-portrait {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px;
  background: var(--charcoal);
}
.artist-portrait img {
  width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05) brightness(0.92);
  transition: filter 0.7s var(--ease), transform 1.1s var(--ease); transform: scale(1.02);
}
.artist-portrait:hover img { filter: grayscale(0); transform: scale(1.06); }
.artist-portrait::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); border-radius: 4px;
}
.artist-portrait-glow {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.6s var(--ease);
  background: radial-gradient(60% 60% at 50% 100%, rgba(122, 46, 255, 0.4), transparent 70%);
  mix-blend-mode: screen;
}
.artist-portrait:hover .artist-portrait-glow { opacity: 1; }

/* Mobile: alternating side-by-side rows like desktop — shrink portraits into a side column
   (odd artist = photo left / info right, even artist = photo right / info left). */
@media (max-width: 767px) {
  .artist {
    grid-template-columns: 5fr 6fr !important;   /* photo (narrow) | info (wide) */
    gap: 1.1rem !important;
    align-items: start !important;
  }
  .artist .artist-portrait {
    aspect-ratio: 3 / 4 !important;              /* fixed portrait thumbnail — no slivers */
    height: auto !important;
    position: sticky; top: 6rem;                 /* keeps the photo beside the text as it reads */
  }
  /* every 2nd artist mirrors: info (wide) left | photo (narrow) right */
  .artist:nth-child(even) { grid-template-columns: 6fr 5fr !important; }
  .artist:nth-child(even) .artist-portrait { order: 2; }
  .artist:nth-child(even) > div:nth-child(2) { order: 1; text-align: right; }
  .artist:nth-child(even) > div:nth-child(2) dl,
  .artist:nth-child(even) > div:nth-child(2) > div { justify-content: flex-end !important; }
  /* tighten the info column so it reads well at narrow width */
  .artist h3 { font-size: 1.85rem !important; margin-top: 0.35rem; }
  .artist > div:nth-child(2) > p:not(.eyebrow) { font-size: 0.9rem; line-height: 1.5; margin-top: 0.7rem; }
  .artist dl { gap: 0.4rem 1.5rem !important; margin-top: 1rem !important; }
  .artist .stat-value { font-size: 1.05rem; }
  .artist .stat-label { font-size: 9px; }
  .artist .btn-primary, .artist .btn-ghost { padding: 0.7rem 1.2rem; font-size: 11px; }
}

.stat-label { font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(201,201,206,0.45); }
.stat-value { margin-top: 0.4rem; font-family: '"Cormorant Garamond"', serif; font-size: 1.45rem; color: var(--gold); font-weight: 400; }

.ig-link {
  display: inline-flex; align-items: center; gap: 0.6em; color: var(--silver);
  font-size: 13px; letter-spacing: 0.04em; transition: color 0.3s var(--ease);
}
.ig-link:hover { color: var(--gold); }

/* ============ PORTFOLIO MASONRY ============ */
/* Editorial bento grid — fixed-ratio tiles (object-fit cover), asymmetric sizes, never square.
   Row unit tracks viewport width so tile proportions stay portrait within each column regime. */
.masonry {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 19vw;
  grid-auto-flow: dense;
  gap: 0.8rem;
}
@media (min-width: 768px) {
  .masonry {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: min(13vw, 158px);
    gap: 1.1rem;
  }
}

.m-item {
  position: relative; overflow: hidden;
  border-radius: 4px; background: var(--charcoal); cursor: pointer;
  box-shadow: 0 1px 0 rgba(255,255,255,0.04);
  grid-row: span 3;            /* default: editorial portrait */
}
/* Asymmetric rhythm: each gallery opens on a large feature, with periodic tall tiles */
.m-item:nth-child(7n+1) { grid-column: span 2; grid-row: span 5; }
.m-item:nth-child(7n+4) { grid-row: span 4; }
.m-item:nth-child(7n+6) { grid-row: span 4; }
.m-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: grayscale(0.55) brightness(0.85) contrast(1.02);
  transition: transform 0.9s var(--ease), filter 0.7s var(--ease);
}
.m-item::after {
  content: ""; position: absolute; inset: 0; border-radius: 4px; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(122, 46, 255, 0); transition: box-shadow 0.5s var(--ease);
}
.m-item:hover img { transform: scale(1.07); filter: grayscale(0) brightness(1) contrast(1.05); }
.m-item:hover::after { box-shadow: inset 0 0 0 1px rgba(200, 162, 76, 0.9), inset 0 0 40px rgba(200, 162, 76, 0.25); }

.m-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2.4rem 1.4rem 1.2rem;
  display: flex; flex-direction: column; gap: 0.15rem;
  background: linear-gradient(to top, rgba(9,9,9,0.92), transparent);
  opacity: 0; transform: translateY(10px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.m-item:hover .m-cap, .m-item:focus-visible .m-cap { opacity: 1; transform: none; }
.m-cap span { font-family: '"Cormorant Garamond"', serif; font-size: 1.35rem; color: #fff; }
.m-cap em { font-style: normal; font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }

/* ============ TIMELINE / PROCESS ============ */
.timeline { position: relative; list-style: none; margin: 0 auto; max-width: 40rem; padding-left: 0; }
.timeline::before {
  content: ""; position: absolute; left: 27px; top: 8px; bottom: 8px; width: 1px;
  background: linear-gradient(to bottom, var(--purple), rgba(122,46,255,0.05));
}
@media (min-width: 768px) { .timeline::before { left: 50%; transform: translateX(-0.5px); } }

.t-step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 1.5rem; padding: 1.4rem 0; }
@media (min-width: 768px) {
  .t-step { grid-template-columns: 1fr 56px 1fr; align-items: center; }
  .t-step:nth-child(odd) .t-body { grid-column: 1; text-align: right; }
  .t-step:nth-child(odd) .t-num { grid-column: 2; }
  .t-step:nth-child(even) .t-num { grid-column: 2; }
  .t-step:nth-child(even) .t-body { grid-column: 3; }
}
.t-num {
  width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%;
  background: var(--ink); border: 1px solid rgba(200, 162, 76, 0.5); color: var(--gold);
  font-family: '"Cormorant Garamond"', serif; font-size: 1.3rem; z-index: 2;
  box-shadow: 0 0 24px -8px rgba(200, 162, 76, 0.5);
}
.t-step.is-final .t-num { background: var(--gold-sheen); color: var(--ink); border-color: transparent; }
.t-body h3 { font-family: '"Cormorant Garamond"', serif; font-weight: 400; font-size: 1.7rem; color: var(--offwhite); }
.t-body p { margin-top: 0.4rem; color: rgba(201,201,206,0.65); font-weight: 300; line-height: 1.6; font-size: 0.95rem; }

/* ============ PIERCINGS ============ */
.pierce-grid { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 1fr; gap: 0.9rem; }
.pierce-grid img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 4px; aspect-ratio: 4/5;
  filter: grayscale(0.5) brightness(0.9); transition: filter 0.6s var(--ease), transform 0.9s var(--ease);
}
.pierce-grid img:hover { filter: grayscale(0) brightness(1); transform: scale(1.03); }
.pg-tall { grid-row: span 2; aspect-ratio: 4/7 !important; }
.chip {
  font-size: 12px; letter-spacing: 0.06em; padding: 0.45rem 1rem; border-radius: 100px;
  border: 1px solid rgba(200, 162, 76, 0.4); color: var(--silver); background: rgba(255,255,255,0.02);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.chip:hover { border-color: var(--gold); color: var(--gold-bright); }

/* ============ TESTIMONIALS ============ */
.stars { color: var(--gold); letter-spacing: 0.2em; font-size: 1.1rem; text-shadow: 0 0 18px rgba(200, 162, 76, 0.45); }
.glass-card {
  position: relative; padding: 2.6rem 2rem 2rem; border-radius: 8px; overflow: hidden;
  background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.glass-card::before {
  content: ""; position: absolute; top: 0; left: 1.6rem; right: 1.6rem; height: 1px;
  background: var(--gold-line); opacity: 0.7;
}
.glass-card:hover {
  transform: translateY(-5px); border-color: rgba(122, 46, 255, 0.4);
  box-shadow: 0 30px 60px -25px rgba(122, 46, 255, 0.35);
}
.quote-mark {
  font-family: '"Cormorant Garamond"', serif; font-size: 5rem; line-height: 0.5; color: var(--gold);
  opacity: 0.55; display: block; height: 2rem;
}
.t-author { margin-top: 1.6rem; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(201,201,206,0.5); }

/* ============ FAQ ============ */
.faq-item { }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.6rem 0.25rem; text-align: left; cursor: pointer; color: var(--offwhite);
  font-family: '"Cormorant Garamond"', serif; font-size: clamp(1.25rem, 3vw, 1.7rem); font-weight: 400;
  transition: color 0.3s var(--ease);
}
.faq-q:hover { color: #fff; }
.faq-icon { position: relative; flex: 0 0 18px; width: 18px; height: 18px; }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; top: 50%; left: 50%; background: var(--purple);
  transform: translate(-50%, -50%); transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.faq-icon::before { width: 16px; height: 1.5px; }
.faq-icon::after { width: 1.5px; height: 16px; }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-a { overflow: hidden; height: 0; transition: height 0.45s var(--ease); }
.faq-a p { padding: 0 0.25rem 1.7rem; color: rgba(201,201,206,0.65); font-weight: 300; line-height: 1.7; max-width: 90%; }

/* ============ BOOKING / CONTACT ============ */
.contact-glow {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 80vw; max-width: 900px; height: 500px;
  background: radial-gradient(circle, rgba(122, 46, 255, 0.16), transparent 65%); filter: blur(30px);
}
.booking-card {
  position: relative; padding: clamp(2rem, 5vw, 4.5rem); border-radius: 14px; overflow: hidden;
  background: linear-gradient(160deg, rgba(26,26,29,0.9), rgba(9,9,9,0.85));
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 40px 100px -40px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.05);
}
.booking-card::before {
  content: ""; position: absolute; top: 0; left: 18%; right: 18%; height: 1px;
  background: var(--gold-line);
}
.field { display: flex; flex-direction: column; gap: 0.55rem; }
.field label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(201,201,206,0.55); }
.field input, .field textarea, .field select {
  width: 100%; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px; padding: 0.95rem 1.1rem; color: var(--offwhite); font-size: 15px; font-family: inherit;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(201,201,206,0.3); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--purple); background: rgba(122, 46, 255, 0.04);
  box-shadow: 0 0 0 3px rgba(122, 46, 255, 0.12);
}
.select-wrap { position: relative; }
.select-wrap::after {
  content: ""; position: absolute; right: 1.1rem; top: 50%; width: 8px; height: 8px;
  border-right: 1.5px solid var(--silver); border-bottom: 1.5px solid var(--silver);
  transform: translateY(-65%) rotate(45deg); pointer-events: none;
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.field select option { background: var(--charcoal); color: var(--offwhite); }
.field input:disabled, .field textarea:disabled, .field select:disabled { opacity: 0.5; cursor: not-allowed; }

/* Instagram DM CTA — shown only when a non-Steven artist is picked (form is locked) */
.ig-dm-cta { display: none; }
#bookingForm.is-locked .field:not(.field-artist),
#bookingForm.is-locked .submit-row { opacity: 0.4; pointer-events: none; transition: opacity 0.3s var(--ease); }
#bookingForm.is-locked .ig-dm-cta {
  display: flex; flex-direction: column; align-items: center;
  max-width: 100%; padding: 1.4rem; border-radius: 10px;
  background: rgba(200, 162, 76, 0.06); border: 1px solid rgba(200, 162, 76, 0.35);
}
#igDmCta .btn-primary { white-space: normal; max-width: 100%; text-align: center; }
#igDmText { overflow-wrap: anywhere; }
@media (max-width: 767px) {
  #bookingForm.is-locked .ig-dm-cta { padding: 1.15rem 1rem; }
  #igDmCta .btn-primary { width: 100%; padding-left: 1rem; padding-right: 1rem; letter-spacing: 0.12em; }
}

/* ============ FOOTER ============ */
.footer { background: linear-gradient(to bottom, var(--ink), #060606); border-top: 1px solid rgba(255,255,255,0.05); }
.footer-watermark {
  position: absolute; bottom: -8%; right: -6%; width: min(46vw, 560px); height: auto;
  opacity: 0.05; filter: grayscale(1); pointer-events: none; z-index: 0;
}
.footer-h { font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(201,201,206,0.5); }
.social {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12); color: var(--silver);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.social:hover { color: var(--gold); border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 0 24px -6px rgba(200,162,76,0.6); }

/* ============ LIGHTBOX ============ */
.lightbox {
  position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center;
  background: rgba(5, 5, 6, 0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  opacity: 0; transition: opacity 0.4s var(--ease); padding: 5vw;
}
.lightbox[hidden] { display: none; }
.lightbox.open { opacity: 1; }
.lb-figure { max-width: min(92vw, 1100px); max-height: 88vh; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.lb-figure img {
  max-width: 100%; max-height: 78vh; object-fit: contain; border-radius: 4px;
  box-shadow: 0 40px 120px -30px rgba(122, 46, 255, 0.35); transform: scale(0.96);
  transition: transform 0.5s var(--ease);
}
.lightbox.open .lb-figure img { transform: scale(1); }
.lb-cap { text-align: center; font-family: '"Cormorant Garamond"', serif; color: var(--offwhite); font-size: 1.3rem; }
.lb-cap em { display: block; font-style: normal; font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-top: 0.3rem; }
.lb-close { position: absolute; top: 1.6rem; right: 1.8rem; color: var(--silver); transition: color 0.3s, transform 0.3s; }
.lb-close:hover { color: #fff; transform: rotate(90deg); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); color: var(--silver); padding: 1rem; transition: color 0.3s; }
.lb-nav:hover { color: var(--purple); }
.lb-prev { left: 0.5rem; } .lb-next { right: 0.5rem; }
@media (max-width: 640px) { .lb-nav { top: auto; bottom: 1rem; transform: none; } .lb-prev { left: 25%; } .lb-next { right: 25%; } }

/* ============ SCROLL REVEAL (JS adds .is-in) ============ */
/* Hidden state applies ONLY when JS is active, so content is never invisible without JS.
   Using :not(.is-in) avoids a specificity clash with the revealed state. */
.reveal { transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
html.js .reveal:not(.is-in) { opacity: 0; transform: translateY(28px); }
.char, .word { display: inline-block; }

/* ============ CINEMATIC LOADER ============ */
.loader { display: none; }
html.js .loader {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center;
  background: radial-gradient(120% 90% at 50% 40%, #140e22 0%, #060606 60%);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease);
}
.loader.is-done { opacity: 0; transform: scale(1.06); filter: blur(8px); pointer-events: none; }
.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 2rem; padding: 6vw; }
.loader-logo {
  width: min(42vh, 340px); max-width: 80vw; height: auto;
  -webkit-mask-image: radial-gradient(circle at 50% 49%, #000 52%, transparent 80%);
  mask-image: radial-gradient(circle at 50% 49%, #000 52%, transparent 80%);
  filter: drop-shadow(0 0 70px rgba(122, 46, 255, 0.35));
  animation: loaderPulse 2.4s ease-in-out infinite, loaderIn 1.2s var(--ease) both;
}
@keyframes loaderIn { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }
@keyframes loaderPulse { 0%,100% { filter: drop-shadow(0 0 50px rgba(122,46,255,0.25)); } 50% { filter: drop-shadow(0 0 90px rgba(122,46,255,0.5)); } }
.loader-bar { width: 180px; max-width: 60vw; height: 1px; background: rgba(255,255,255,0.12); overflow: hidden; }
.loader-bar-fill { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--violet), var(--purple)); box-shadow: 0 0 12px rgba(122,46,255,0.8); transition: width 0.2s linear; }
.loader-pct { font-size: 11px; letter-spacing: 0.4em; color: rgba(201,201,206,0.6); font-variant-numeric: tabular-nums; }
.loader-pct::after { content: " %"; }

/* Lock scroll while the loader is up */
body.loading { overflow: hidden; height: 100vh; }

/* Hero entrance — staggered after the loader lifts (JS-gated so no-JS shows it normally) */
html.js .hero-eyebrow, html.js .hero-headline, html.js .hero-sub, html.js .hero-cta {
  opacity: 0; transform: translateY(26px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
html.js .hero-logo-wrap { opacity: 0; transition: opacity 1.2s var(--ease); }
body.loaded .hero-logo-wrap { opacity: 1; }
body.loaded .hero-eyebrow { opacity: 1; transform: none; transition-delay: 0.35s; }
body.loaded .hero-headline { opacity: 1; transform: none; transition-delay: 0.5s; }
body.loaded .hero-sub { opacity: 1; transform: none; transition-delay: 0.68s; }
body.loaded .hero-cta { opacity: 1; transform: none; transition-delay: 0.84s; }

/* ============ ARTIST PAGES ============ */
.artist-page-hero { position: relative; padding: clamp(8rem, 14vw, 12rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; }
.artist-page-hero .contact-glow { top: -10%; }
.back-link {
  display: inline-flex; align-items: center; gap: 0.5em; font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(201,201,206,0.55); transition: color 0.3s var(--ease); margin-bottom: 2.5rem;
}
.back-link:hover { color: var(--gold); }
.back-link svg { transition: transform 0.3s var(--ease); }
.back-link:hover svg { transform: translateX(-4px); }
.ap-portrait { position: relative; aspect-ratio: 4/5; border-radius: 6px; overflow: hidden; background: var(--charcoal); }
.ap-portrait img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05) brightness(0.95); transition: filter 0.8s var(--ease), transform 1.1s var(--ease); transform: scale(1.02); }
.ap-portrait:hover img { filter: grayscale(0); transform: scale(1.06); }
.ap-portrait::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.07); border-radius: 6px; pointer-events: none; }
.ap-name { font-family: '"Cormorant Garamond"', serif; font-weight: 300; font-size: clamp(3rem, 7vw, 5.5rem); line-height: 1; letter-spacing: -0.01em; }
.ap-divider { width: 64px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); margin: 2rem 0; }

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .hero-logo-wrap, .hero-logo-float, .smoke, .loader-logo { animation: none !important; }
  .reveal, .reveal-lines, .hero-eyebrow, .hero-headline, .hero-sub, .hero-cta, .hero-logo-wrap { opacity: 1 !important; transform: none !important; }
}
