/* ==========================================================================
   nhatrangtattoo.com — Dual Theme System (Style 1: Dark Editorial + Style 3: Tropical Brutalism)
   Heavy Calligraphy DNA: UnifrakturMaguntia, Pirata One, Marck Script, Cormorant Garamond, Syne
   ========================================================================== */

:root {
  --font-gothic: 'UnifrakturMaguntia', 'Pirata One', serif;
  --font-script: 'Marck Script', 'Bad Script', cursive;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-brutal: 'Syne', 'Space Grotesk', sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Transition */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --------------------------------------------------------------------------
   THEME 1: DARK EDITORIAL / UNDERGROUND INK
   -------------------------------------------------------------------------- */
[data-theme="editorial"] {
  --bg: #08080a;
  --bg-elev: #111115;
  --bg-card: #121216;
  --bg-card-hover: #18181f;
  --text: #f3eee5;
  --text-muted: #9f988c;
  --text-soft: #6e685f;
  --accent: #d92b2b;
  --accent-text: #ffffff;
  --accent-2: #c9a86a;
  --accent-glow: rgba(217, 43, 43, 0.24);
  --border: rgba(243, 238, 229, 0.13);
  --border-strong: rgba(243, 238, 229, 0.28);
  --border-width: 1px;
  --radius: 4px;
  --radius-pill: 999px;
  --shadow-card: 0 24px 60px rgba(0, 0, 0, 0.55);
  --shadow-hover: 0 30px 70px rgba(0, 0, 0, 0.72), 0 0 0 1px rgba(201, 168, 106, 0.35);
  --shadow-btn: 0 10px 28px rgba(217, 43, 43, 0.28);
  --header-bg: rgba(8, 8, 10, 0.84);
  --marquee-bg: #111115;
  --marquee-text: #f3eee5;
  --marquee-accent: #c9a86a;
  --seal-bg: #d92b2b;
  --seal-text: #fff8f0;
  --glyph-opacity: 0.04;
  --font-heading: var(--font-serif);
  --heading-transform: none;
  --btn-transform-hover: translateY(-2px);
}

/* --------------------------------------------------------------------------
   THEME 3: TROPICAL STREET / NEO-BRUTALISM
   -------------------------------------------------------------------------- */
[data-theme="brutalism"] {
  --bg: #f3ede0;
  --bg-elev: #fffdf7;
  --bg-card: #fffdf7;
  --bg-card-hover: #fff9e6;
  --text: #0d0d0d;
  --text-muted: #3d3a33;
  --text-soft: #646055;
  --accent: #ff4422;
  --accent-text: #0d0d0d;
  --accent-2: #c8ff2e;
  --accent-3: #0047ff;
  --accent-glow: rgba(200, 255, 46, 0.45);
  --border: #0d0d0d;
  --border-strong: #0d0d0d;
  --border-width: 2.5px;
  --radius: 2px;
  --radius-pill: 2px;
  --shadow-card: 6px 6px 0px #0d0d0d;
  --shadow-hover: 10px 10px 0px #0d0d0d;
  --shadow-btn: 4px 4px 0px #0d0d0d;
  --header-bg: rgba(243, 237, 224, 0.94);
  --marquee-bg: #c8ff2e;
  --marquee-text: #0d0d0d;
  --marquee-accent: #ff4422;
  --seal-bg: #0d0d0d;
  --seal-text: #c8ff2e;
  --glyph-opacity: 0.065;
  --font-heading: var(--font-brutal);
  --heading-transform: uppercase;
  --btn-transform-hover: translate(-2px, -2px);
}

/* --------------------------------------------------------------------------
   BASE & RESET
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.55;
  overflow-x: hidden;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
  position: relative;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  color: inherit;
}

.container {
  width: min(1240px, calc(100% - 2.5rem));
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

/* Subtle Film / Paper Grain */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
  opacity: 0.04;
  background-image: radial-gradient(rgba(128, 128, 128, 0.5) 1px, transparent 0);
  background-size: 4px 4px;
}

/* Background Floating Calligraphy Watermarks */
.bg-calligraphy-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-glyph {
  position: absolute;
  font-family: var(--font-gothic);
  color: var(--text);
  opacity: var(--glyph-opacity);
  user-select: none;
  white-space: nowrap;
  line-height: 1;
}

.bg-glyph-1 {
  font-size: clamp(9rem, 22vw, 22rem);
  top: -2rem;
  left: -3rem;
  transform: rotate(-7deg);
}

.bg-glyph-2 {
  font-size: clamp(8rem, 18vw, 18rem);
  top: 42%;
  right: -4rem;
  transform: rotate(9deg);
}

.bg-glyph-3 {
  font-size: clamp(7rem, 16vw, 16rem);
  bottom: -2rem;
  left: 12%;
  transform: rotate(-4deg);
}

/* --------------------------------------------------------------------------
   HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: var(--border-width) solid var(--border);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-seal {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--seal-bg);
  color: var(--seal-text);
  font-family: var(--font-gothic);
  font-size: 1.2rem;
  border: var(--border-width) solid var(--border-strong);
  border-radius: var(--radius);
  transform: rotate(-4deg);
  transition: transform 0.25s var(--ease);
}

.brand-logo:hover .brand-seal {
  transform: rotate(0deg) scale(1.06);
}

.brand-wordmark {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.brand-calligraphy {
  font-family: var(--font-gothic);
  font-size: 1.65rem;
  letter-spacing: 0.02em;
  line-height: 1;
}

.brand-dot {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.main-nav a {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  padding-block: 4px;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--text);
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s var(--ease);
}

.main-nav a:hover::after {
  width: 100%;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Theme Switcher */
.theme-switcher {
  display: inline-flex;
  background: var(--bg-elev);
  border: var(--border-width) solid var(--border-strong);
  border-radius: var(--radius-pill);
  padding: 3px;
  gap: 2px;
}

.theme-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: none;
  background: transparent;
  padding: 0.36rem 0.72rem;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.22s var(--ease);
}

.theme-btn.active {
  background: var(--text);
  color: var(--bg);
}

[data-theme="brutalism"] .theme-btn.active {
  background: var(--accent-2);
  color: #0d0d0d;
  outline: 2px solid #0d0d0d;
}

.theme-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.dot-editorial {
  background: linear-gradient(135deg, #111 45%, #d92b2b 55%);
  border: 1px solid rgba(255,255,255,0.4);
}

.dot-brutal {
  background: linear-gradient(135deg, #c8ff2e 50%, #ff4422 50%);
  border: 1px solid #0d0d0d;
}

/* Language Switcher */
.lang-switcher {
  display: inline-flex;
  border: var(--border-width) solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.lang-btn {
  border: none;
  background: transparent;
  padding: 0.36rem 0.5rem;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.lang-btn.active {
  background: var(--accent);
  color: var(--accent-text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.82rem 1.45rem;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: var(--border-width) solid var(--border-strong);
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-text);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-btn);
}

[data-theme="editorial"] .btn-primary {
  border-color: transparent;
}

.btn-primary:hover {
  transform: var(--btn-transform-hover);
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  background: var(--bg-elev);
  color: var(--text);
}

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

.btn-sm {
  padding: 0.52rem 1rem;
  font-size: 0.78rem;
}

.btn-lg {
  padding: 1.05rem 1.9rem;
  font-size: 0.94rem;
}

.btn-full {
  width: 100%;
}

/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  padding: clamp(2.8rem, 6vw, 5.2rem) 0 clamp(3.2rem, 6vw, 5rem);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.25rem;
}

.eyebrow-stamp {
  display: inline-block;
  padding: 0.32rem 0.75rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: var(--border-width) solid var(--border-strong);
  background: var(--bg-elev);
  border-radius: var(--radius);
}

[data-theme="brutalism"] .eyebrow-stamp {
  background: var(--accent-2);
  box-shadow: 3px 3px 0 #0d0d0d;
  transform: rotate(-1.5deg);
}

.eyebrow-callig {
  font-family: var(--font-script);
  font-size: 1.5rem;
  color: var(--accent-2);
}

[data-theme="brutalism"] .eyebrow-callig {
  color: var(--accent);
}

.hero-title {
  margin: 0;
  display: flex;
  flex-direction: column;
  line-height: 0.96;
}

.hero-title-script {
  font-family: var(--font-script);
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);
  font-weight: 400;
  color: var(--accent-2);
  margin-bottom: 0.15rem;
  letter-spacing: 0.01em;
}

[data-theme="brutalism"] .hero-title-script {
  color: var(--accent);
}

.hero-title-main {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5.8vw, 4.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: var(--heading-transform);
}

.hero-title-gothic {
  font-family: var(--font-gothic);
  font-size: clamp(3.6rem, 7.6vw, 6.6rem);
  font-weight: 400;
  line-height: 0.92;
  color: var(--text);
  margin-top: 0.1rem;
  text-shadow: 0 8px 32px var(--accent-glow);
}

[data-theme="brutalism"] .hero-title-gothic {
  color: #0d0d0d;
  text-shadow: 4px 4px 0 var(--accent-2);
}

.hero-flourish {
  width: min(360px, 85%);
  height: auto;
  color: var(--accent-2);
  margin: 0.9rem 0 1.2rem;
  display: block;
}

[data-theme="brutalism"] .hero-flourish {
  color: #0d0d0d;
}

.flourish-path {
  stroke-dasharray: 520;
  stroke-dashoffset: 520;
  animation: drawInk 1.8s var(--ease) 0.25s forwards;
}

@keyframes drawInk {
  to {
    stroke-dashoffset: 0;
  }
}

.hero-subtitle {
  font-size: 1.04rem;
  color: var(--text-muted);
  max-width: 56ch;
  margin: 0 0 1.75rem;
}

/* Hero Search */
.hero-search {
  display: flex;
  gap: 0.65rem;
  margin-bottom: 2rem;
  max-width: 580px;
}

.search-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--bg-elev);
  border: var(--border-width) solid var(--border-strong);
  border-radius: var(--radius);
  padding: 0 1rem;
  box-shadow: var(--shadow-btn);
}

[data-theme="editorial"] .search-field {
  box-shadow: none;
}

.search-icon {
  color: var(--accent);
  font-size: 1rem;
}

.search-field input {
  width: 100%;
  border: none;
  background: transparent;
  padding: 0.9rem 0;
  font-size: 0.94rem;
  outline: none;
}

.search-field input::placeholder {
  color: var(--text-soft);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 30px;
  background: var(--border-strong);
}

/* Hero Visual Frame */
.hero-visual {
  position: relative;
}

.hero-frame {
  position: relative;
  border-radius: var(--radius);
  border: var(--border-width) solid var(--border-strong);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 5;
  background: #0d0d0f;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.hero-frame:hover .hero-img {
  transform: scale(1.03);
}

.hero-frame-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,8,10,0.08) 0%, rgba(8,8,10,0.55) 100%);
  pointer-events: none;
}

[data-theme="brutalism"] .hero-frame-overlay {
  background: linear-gradient(180deg, transparent 50%, rgba(13,13,13,0.45) 100%);
}

/* Calligraphic Hanko / Wax Ink Seal */
.hero-ink-seal {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--seal-bg);
  color: var(--seal-text);
  border: 2px solid var(--border-strong);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: rotate(10deg);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
}

[data-theme="brutalism"] .hero-ink-seal {
  border-radius: 2px;
  box-shadow: 4px 4px 0 var(--accent);
}

.seal-gothic {
  font-family: var(--font-gothic);
  font-size: 1.9rem;
  line-height: 0.95;
}

.seal-sub {
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  opacity: 0.9;
}

/* Floating Live Availability Card */
.hero-live-card {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1.1rem;
  background: rgba(14, 14, 18, 0.88);
  color: #f3eee5;
  backdrop-filter: blur(12px);
  border: var(--border-width) solid rgba(243, 238, 229, 0.22);
  border-radius: var(--radius);
}

[data-theme="brutalism"] .hero-live-card {
  background: var(--accent-2);
  color: #0d0d0d;
  border: 2.5px solid #0d0d0d;
  box-shadow: 4px 4px 0 #0d0d0d;
}

.hero-live-card strong {
  display: block;
  font-size: 0.88rem;
}

.hero-live-card span {
  font-size: 0.78rem;
  opacity: 0.82;
}

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.25);
  animation: pulseDot 2s infinite;
}

[data-theme="brutalism"] .live-dot {
  background: #ff4422;
  box-shadow: 0 0 0 4px rgba(255, 68, 34, 0.3);
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); }
}

/* --------------------------------------------------------------------------
   CALLIGRAPHIC MARQUEE
   -------------------------------------------------------------------------- */
.marquee-wrap {
  background: var(--marquee-bg);
  color: var(--marquee-text);
  border-top: var(--border-width) solid var(--border-strong);
  border-bottom: var(--border-width) solid var(--border-strong);
  padding: 0.9rem 0;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  width: max-content;
  animation: marqueeScroll 32s linear infinite;
}

.marquee-wrap:hover .marquee-track {
  animation-play-state: paused;
}

.m-gothic {
  font-family: var(--font-gothic);
  font-size: 1.85rem;
  letter-spacing: 0.03em;
}

.m-script {
  font-family: var(--font-script);
  font-size: 1.75rem;
}

.m-sans {
  font-family: var(--font-brutal);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.m-star {
  color: var(--marquee-accent);
  font-size: 1.1rem;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   SECTIONS SHARED
   -------------------------------------------------------------------------- */
.section {
  padding: clamp(3.8rem, 7vw, 6.2rem) 0;
  position: relative;
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.2rem;
}

.section-kicker-callig {
  display: block;
  font-family: var(--font-script);
  font-size: 1.65rem;
  color: var(--accent-2);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

[data-theme="brutalism"] .section-kicker-callig {
  color: var(--accent);
}

.section-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.05;
  text-transform: var(--heading-transform);
}

.section-desc {
  margin: 0;
  max-width: 46ch;
  color: var(--text-muted);
  font-size: 0.96rem;
}

/* --------------------------------------------------------------------------
   FILTER PANEL
   -------------------------------------------------------------------------- */
.filter-panel {
  background: var(--bg-card);
  border: var(--border-width) solid var(--border-strong);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 1.4rem;
  box-shadow: var(--shadow-card);
}

[data-theme="editorial"] .filter-panel {
  box-shadow: none;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.filter-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-pill);
  border: var(--border-width) solid var(--border-strong);
  background: transparent;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

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

.chip.active {
  background: var(--accent);
  color: var(--accent-text);
  border-color: var(--border-strong);
}

[data-theme="brutalism"] .chip.active {
  background: var(--accent-2);
  color: #0d0d0d;
  box-shadow: 3px 3px 0 #0d0d0d;
}

.filter-secondary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
}

.select-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.select-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.select-wrap select {
  width: 100%;
  background: var(--bg);
  border: var(--border-width) solid var(--border-strong);
  border-radius: var(--radius);
  padding: 0.62rem 0.8rem;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  outline: none;
}

.results-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.reset-btn {
  background: none;
  border: none;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* --------------------------------------------------------------------------
   ARTISTS GRID & CARDS
   -------------------------------------------------------------------------- */
.artists-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.artist-card {
  background: var(--bg-card);
  border: var(--border-width) solid var(--border-strong);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s ease;
  cursor: pointer;
}

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

[data-theme="brutalism"] .artist-card:hover {
  transform: translate(-4px, -4px);
}

.card-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #101014;
  border-bottom: var(--border-width) solid var(--border-strong);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.artist-card:hover .card-media img {
  transform: scale(1.05);
}

.card-top-badges {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  right: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
}

.badge-avail {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.65rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(10, 10, 14, 0.84);
  color: #f3eee5;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}

[data-theme="brutalism"] .badge-avail {
  background: var(--accent-2);
  color: #0d0d0d;
  border: 2px solid #0d0d0d;
  box-shadow: 2px 2px 0 #0d0d0d;
}

.badge-rating {
  padding: 0.3rem 0.6rem;
  font-size: 0.76rem;
  font-weight: 800;
  background: var(--bg-elev);
  color: var(--text);
  border: var(--border-width) solid var(--border-strong);
  border-radius: var(--radius);
}

.card-callig-tag {
  position: absolute;
  bottom: 0.8rem;
  left: 0.85rem;
  font-family: var(--font-gothic);
  font-size: 1.55rem;
  color: #fff;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.9);
  letter-spacing: 0.02em;
}

.card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.75rem;
}

.card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.6rem;
}

.artist-name {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.42rem;
  font-weight: 800;
  line-height: 1.15;
}

.artist-studio {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.artist-langs {
  display: flex;
  gap: 0.28rem;
  flex-shrink: 0;
}

.lang-pill {
  font-size: 0.66rem;
  font-weight: 800;
  padding: 0.18rem 0.4rem;
  border: 1px solid var(--border-strong);
  border-radius: 2px;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.style-pill {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.24rem 0.6rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
}

[data-theme="brutalism"] .style-pill {
  border-color: #0d0d0d;
  color: #0d0d0d;
  background: #fff;
}

.card-footer {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.price-block {
  display: flex;
  flex-direction: column;
}

.price-from {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.price-val {
  font-weight: 800;
  font-size: 1rem;
}

.card-open-hint {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3.5rem 1.5rem;
  border: var(--border-width) dashed var(--border-strong);
  border-radius: var(--radius);
}

/* --------------------------------------------------------------------------
   CALLIGRAPHY MANIFESTO SECTION
   -------------------------------------------------------------------------- */
.manifesto-card {
  background: var(--bg-card);
  border: var(--border-width) solid var(--border-strong);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 4.5vw, 3.6rem);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.manifesto-ornament {
  position: absolute;
  top: 1rem;
  right: 1.8rem;
  pointer-events: none;
}

.ornament-gothic {
  font-family: var(--font-gothic);
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  opacity: 0.12;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.manifesto-title {
  margin: 0 0 1rem;
  display: flex;
  flex-direction: column;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.05;
}

.manifesto-script {
  font-family: var(--font-script);
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  font-weight: 400;
  color: var(--accent-2);
}

[data-theme="brutalism"] .manifesto-script {
  color: var(--accent);
}

.manifesto-text {
  color: var(--text-muted);
  margin: 0 0 1.8rem;
  max-width: 54ch;
}

.manifesto-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.pillar {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.pillar-num {
  font-family: var(--font-gothic);
  font-size: 1.7rem;
  color: var(--accent);
  line-height: 1;
  min-width: 34px;
}

.pillar h3 {
  margin: 0 0 0.2rem;
  font-size: 1rem;
  font-weight: 700;
}

.pillar p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.style-poster-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.style-tile {
  text-align: left;
  background: var(--bg);
  border: var(--border-width) solid var(--border-strong);
  border-radius: var(--radius);
  padding: 1.4rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  cursor: pointer;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.2s ease;
}

.style-tile:hover {
  transform: var(--btn-transform-hover);
  box-shadow: var(--shadow-btn);
  border-color: var(--accent);
}

[data-theme="brutalism"] .style-tile:nth-child(1) { background: var(--accent-2); }
[data-theme="brutalism"] .style-tile:nth-child(4) { background: #ffd8cc; }

.style-tile-gothic {
  font-family: var(--font-gothic);
  font-size: 1.45rem;
  color: var(--accent-2);
  line-height: 1.1;
}

[data-theme="brutalism"] .style-tile-gothic {
  color: #0d0d0d;
}

.style-tile strong {
  font-family: var(--font-heading);
  font-size: 1.15rem;
}

.style-tile-count {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

/* --------------------------------------------------------------------------
   PRICE ESTIMATOR
   -------------------------------------------------------------------------- */
.estimator-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.est-note {
  margin-top: 1.3rem;
  font-size: 0.86rem;
  color: var(--accent-2);
  font-weight: 500;
}

[data-theme="brutalism"] .est-note {
  color: var(--text);
  background: var(--accent-2);
  display: inline-block;
  padding: 0.45rem 0.8rem;
  border: 2px solid #0d0d0d;
}

.estimator-box {
  background: var(--bg-card);
  border: var(--border-width) solid var(--border-strong);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.est-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.est-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.est-opt {
  padding: 0.55rem 0.95rem;
  border: var(--border-width) solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--bg);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.est-opt.active {
  background: var(--text);
  color: var(--bg);
}

[data-theme="brutalism"] .est-opt.active {
  background: var(--accent);
  color: #0d0d0d;
  box-shadow: 3px 3px 0 #0d0d0d;
}

.est-result {
  padding-top: 1.25rem;
  border-top: var(--border-width) solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.est-result-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.est-price-vnd {
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 2.6vw, 1.95rem);
  font-weight: 800;
  line-height: 1.15;
}

.est-price-usd {
  font-size: 0.92rem;
  color: var(--accent);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   JOIN BANNER (FOR ARTISTS)
   -------------------------------------------------------------------------- */
.join-banner {
  background: var(--bg-card);
  border: var(--border-width) solid var(--border-strong);
  border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 3.6rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

[data-theme="brutalism"] .join-banner {
  background: #0d0d0d;
  color: #fffdf7;
}

[data-theme="brutalism"] .join-banner .eyebrow-stamp {
  background: var(--accent-2);
  color: #0d0d0d;
}

[data-theme="brutalism"] .join-banner .join-desc {
  color: #d4cfc3;
}

.join-callig-bg {
  position: absolute;
  right: 2rem;
  bottom: -1.4rem;
  font-family: var(--font-gothic);
  font-size: clamp(4.5rem, 11vw, 9rem);
  opacity: 0.08;
  pointer-events: none;
  line-height: 1;
}

.join-content {
  max-width: 620px;
  position: relative;
  z-index: 2;
}

.join-title {
  margin: 0.85rem 0 0.65rem;
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  line-height: 1.08;
}

.join-desc {
  margin: 0;
  color: var(--text-muted);
}

.join-actions {
  position: relative;
  z-index: 2;
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: var(--border-width) solid var(--border-strong);
  padding: 3rem 0 5.5rem;
  background: var(--bg-elev);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.footer-calligraphy {
  font-family: var(--font-gothic);
  font-size: 2rem;
  line-height: 1.1;
  margin-bottom: 0.4rem;
}

.footer-brand p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  font-size: 0.86rem;
  font-weight: 600;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: right;
}

/* --------------------------------------------------------------------------
   FLOATING QUICK STYLE COMPARE PILL
   -------------------------------------------------------------------------- */
.floating-theme-pill {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.5rem 0.42rem 0.85rem;
  background: var(--bg-elev);
  border: var(--border-width) solid var(--border-strong);
  border-radius: var(--radius-pill);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}

.pill-caption {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-right: 0.2rem;
}

.pill-btn {
  border: 1px solid var(--border-strong);
  background: transparent;
  padding: 0.38rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pill-btn.active {
  background: var(--accent);
  color: var(--accent-text);
  border-color: var(--border-strong);
}

[data-theme="brutalism"] .pill-btn.active {
  background: var(--accent-2);
  color: #0d0d0d;
}

/* --------------------------------------------------------------------------
   MODALS
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(5, 5, 8, 0.78);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal-backdrop.open {
  display: flex;
}

.modal-dialog {
  width: min(920px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-card);
  border: var(--border-width) solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  position: relative;
}

.modal-dialog-sm {
  width: min(520px, 100%);
}

.modal-close {
  position: sticky;
  top: 1rem;
  float: right;
  margin: 1rem 1rem 0 0;
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  border: var(--border-width) solid var(--border-strong);
  background: var(--bg-elev);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  z-index: 5;
}

.modal-artist-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 1.8rem;
  padding: 1.8rem;
  clear: both;
}

.modal-photo {
  border-radius: var(--radius);
  overflow: hidden;
  border: var(--border-width) solid var(--border-strong);
  aspect-ratio: 4 / 5;
}

.modal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-info h3 {
  margin: 0.25rem 0 0.4rem;
  font-family: var(--font-heading);
  font-size: 2rem;
  line-height: 1.1;
}

.modal-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0.8rem 0 1rem;
}

.modal-bio {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin: 0 0 1.2rem;
}

.modal-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.tier-box {
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 0.65rem;
}

.tier-box span {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.tier-box strong {
  font-size: 0.88rem;
}

.modal-review {
  background: var(--bg);
  border-left: 3px solid var(--accent);
  padding: 0.85rem 1rem;
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 1.3rem;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Booking Form Modal */
.modal-form-wrap {
  padding: 1.2rem 2rem 2rem;
  clear: both;
}

.modal-form-title {
  margin: 0 0 1.25rem;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  line-height: 1.1;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-row label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.form-row input,
.form-row textarea {
  width: 100%;
  background: var(--bg);
  border: var(--border-width) solid var(--border-strong);
  border-radius: var(--radius);
  padding: 0.75rem 0.9rem;
  font-size: 0.92rem;
  outline: none;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--accent);
}

.form-success {
  text-align: center;
  padding: 1.5rem 0;
}

.success-gothic {
  font-family: var(--font-gothic);
  font-size: 3.2rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.7rem;
}

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .main-nav, .nav-cta {
    display: none;
  }
  .hero-grid,
  .manifesto-grid,
  .estimator-grid {
    grid-template-columns: 1fr;
  }
  .artists-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-frame {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(1240px, calc(100% - 1.5rem));
  }
  .artists-grid,
  .filter-secondary,
  .modal-artist-layout,
  .style-poster-grid {
    grid-template-columns: 1fr;
  }
  .hero-search {
    flex-direction: column;
  }
  .theme-label, .pill-caption {
    display: none;
  }
  .footer-meta {
    text-align: left;
  }
  .modal-tiers {
    grid-template-columns: 1fr;
  }
}
