:root {
  --bg: #000000;
  --bg-soft: #080808;
  --surface: rgba(10, 10, 10, 0.86);
  --surface-strong: rgba(6, 6, 6, 0.94);
  --border: rgba(194, 151, 92, 0.22);
  --text: #f5eee4;
  --muted: #cbbda9;
  --accent: #c59a57;
  --accent-soft: rgba(197, 154, 87, 0.16);
  --shadow: 0 32px 70px rgba(0, 0, 0, 0.35);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --site-width: min(1180px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(197, 154, 87, 0.1), transparent 30%),
    radial-gradient(circle at 85% 14%, rgba(197, 154, 87, 0.06), transparent 22%),
    linear-gradient(180deg, #020202 0%, #000000 46%, #050505 100%);
  font-family: "Noto Serif TC", serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(circle at center, black 45%, transparent 100%);
  opacity: 0.32;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  backdrop-filter: blur(18px);
  background: rgba(3, 3, 3, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.nav-shell {
  width: var(--site-width);
  margin: 0 auto;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0;
  border-radius: 0;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.brand-mark:hover,
.brand-mark.is-current-home {
  opacity: 0.96;
  transform: translateY(-1px);
}

.brand-logo {
  width: 78px;
  height: 78px;
  padding: 0;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
  box-shadow: none;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: "Cormorant Garamond", serif;
}

.brand-copy strong {
  font-size: 1.95rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
}

.brand-mark.is-current-home .brand-copy strong {
  color: #f0ddb9;
}

.brand-kicker {
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-nav a {
  position: relative;
  padding: 12px 18px;
  color: var(--muted);
  font-size: 0.96rem;
  border-radius: 999px;
  transition: color 0.28s ease, background 0.28s ease, transform 0.28s ease;
}

.site-nav a:hover,
.site-nav a.is-current {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.site-nav a.is-current::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.nav-toggle {
  display: none;
  width: 50px;
  height: 50px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 6px 0;
  border-radius: 999px;
  background: var(--text);
}

.page-main {
  width: var(--site-width);
  margin: 0 auto;
  padding: 40px 0 88px;
}

.section {
  margin-top: 32px;
}

body[data-page="home"] .section {
  margin-top: 54px;
}

.hero-section,
.panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(14, 14, 14, 0.92), rgba(5, 5, 5, 0.96));
  box-shadow: var(--shadow);
}

.hero-section {
  padding: 44px;
}

.home-hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border: none;
  border-radius: 0;
  box-shadow: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.62) 40%, rgba(0, 0, 0, 0.42) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.56) 100%),
    url("../img/bg1.jpeg") center center / cover no-repeat;
}

.home-hero .hero-grid {
  width: var(--site-width);
  margin: 0 auto;
  min-height: clamp(460px, 62vw, 720px);
}

body[data-page="home"] .page-main {
  padding-bottom: 104px;
}

body[data-page="home"] .home-hero {
  margin-bottom: 18px;
}

body[data-page="home"] .home-hero .hero-grid {
  padding-top: 24px;
  padding-bottom: 28px;
}

body[data-page="home"] .hero-actions {
  margin-top: 92px;
  gap: 18px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #e9d8bc;
  font-size: 0.88rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(197, 154, 87, 0.72);
}

.hero-title,
.section-title,
.card-title,
.quote-text {
  font-family: "Cormorant Garamond", serif;
}

.hero-title {
  margin: 20px 0 16px;
  font-size: clamp(3rem, 6vw, 5.3rem);
  line-height: 0.95;
  letter-spacing: 0.03em;
}

.hero-copy,
.section-copy,
.card-copy,
.contact-list a,
.contact-list span,
.metric-copy {
  color: var(--muted);
  line-height: 1.9;
  font-size: 1rem;
}

.hero-actions,
.button-row,
.tag-list,
.stat-row,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, #d4ae72, #b37a38);
  color: #120d09;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(179, 122, 56, 0.3);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.08);
}

.hero-visual,
.image-panel {
  min-height: 460px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background-position: center;
  background-size: cover;
  box-shadow: inset 0 -120px 120px rgba(12, 9, 7, 0.52);
}

.hero-visual {
  display: flex;
  align-items: flex-end;
  padding: 28px;
}

.artist-photo-panel {
  min-height: 420px;
  border: none;
  border-radius: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  box-shadow: none;
}

.floating-badge,
.overlay-note {
  max-width: 260px;
  padding: 18px 20px;
  border-radius: 24px;
  background: rgba(16, 12, 9, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.floating-badge strong,
.overlay-note strong,
.section-title,
.card-title {
  display: block;
  margin-bottom: 8px;
  font-size: 1.8rem;
  line-height: 1.05;
}

.overlay-note strong {
  font-size: 1.5rem;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 20px;
}

body[data-page="home"] .section-head {
  margin-bottom: 30px;
}

.section-title {
  margin: 0 0 10px;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
}

.feature-grid,
.style-grid,
.gallery-grid,
.micro-grid,
.contact-layout,
.story-grid,
.artist-layout {
  display: grid;
  gap: 20px;
}

body[data-page="home"] .style-grid,
body[data-page="home"] .story-grid {
  gap: 30px;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.style-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.micro-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.story-grid,
.contact-layout {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.artist-layout {
  grid-template-columns: 0.9fr 1.1fr;
}

.feature-card,
.style-card,
.gallery-card,
.micro-card,
.story-panel,
.contact-card,
.quote-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.style-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.style-card-image {
  display: block;
  width: 100%;
  height: 290px;
  margin: 14px auto 18px;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
  background: #050505;
}

.style-card .card-index {
  margin-bottom: 12px;
}

.style-card .card-title {
  margin-bottom: 0;
}

.style-card .card-copy {
  margin: 0;
}

body[data-page="home"] .style-card {
  padding: 12px 10px 8px;
}

body[data-page="home"] .style-card-image {
  margin: 18px auto 22px;
}

body[data-page="home"] .style-card .card-title {
  margin-bottom: 4px;
}

body[data-page="home"] .style-card .card-copy {
  margin-top: 6px;
}

.style-card:hover {
  transform: none;
  border-color: transparent;
}

.story-panel {
  padding: 18px 6px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.story-panel:hover {
  transform: none;
  border-color: transparent;
}

.feature-card:hover,
.style-card:hover,
.gallery-card:hover,
.micro-card:hover,
.story-panel:hover,
.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(197, 154, 87, 0.36);
}

.feature-card,
.style-card,
.gallery-card,
.micro-card,
.story-panel,
.contact-card {
  transition: transform 0.28s ease, border-color 0.28s ease;
}

.card-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: #ebd8bb;
  font-weight: 700;
}

.tag-list span {
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.94rem;
}

.stat-card {
  flex: 1 1 180px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.metric-value {
  display: block;
  margin-bottom: 8px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  color: var(--text);
}

.gallery-card {
  overflow: hidden;
  padding: 0;
}

.gallery-card-button {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.gallery-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.gallery-card-button:hover img {
  transform: scale(1.03);
}

.gallery-copy {
  padding: 22px;
}

.gallery-label {
  display: inline-block;
  margin-bottom: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #ecd9bb;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.contact-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-card li + li {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-key {
  display: block;
  margin-bottom: 6px;
  color: #edd8b6;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.quote-card {
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(197, 154, 87, 0.14), transparent 45%),
    linear-gradient(180deg, rgba(35, 27, 21, 0.92), rgba(19, 15, 12, 0.96));
}

body[data-page="home"] .story-panel,
body[data-page="home"] .quote-card {
  padding-top: 30px;
  padding-bottom: 30px;
}

body[data-page="home"] .quote-card {
  border-radius: 28px;
  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.quote-text {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
}

.footer-note {
  margin-top: 22px;
  color: rgba(245, 238, 228, 0.6);
  text-align: center;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
}

.artist-list-grid,
.artist-works-grid {
  display: grid;
  gap: 24px;
}

.has-lightbox-open {
  overflow: hidden;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  padding: 28px;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
}

.gallery-lightbox.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-lightbox-shell {
  width: min(1200px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.gallery-lightbox-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(10, 10, 10, 0.88);
}

.gallery-lightbox-title {
  font-size: 1.1rem;
  letter-spacing: 0.04em;
}

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

.gallery-lightbox-button {
  min-width: 48px;
  height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font: inherit;
}

.gallery-lightbox-button {
  cursor: pointer;
}

.gallery-lightbox-stage {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  border-radius: 28px;
  background: rgba(7, 7, 7, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.05);
  touch-action: none;
  cursor: zoom-in;
}

.gallery-lightbox-stage img {
  max-width: min(100%, 1400px);
  max-height: 80vh;
  object-fit: contain;
  transform-origin: center center;
  transition: transform 0.2s ease;
  user-select: none;
  -webkit-user-drag: none;
}

.gallery-lightbox-thumbs {
  display: flex;
  gap: 12px;
  overflow-x: auto;
}

.gallery-lightbox-thumb {
  flex: 0 0 90px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
  cursor: pointer;
}

.gallery-lightbox-thumb.is-active {
  border-color: rgba(197, 154, 87, 0.7);
}

.gallery-lightbox-thumb img {
  width: 100%;
  height: 74px;
  object-fit: cover;
}

.admin-page {
  min-height: 100vh;
  padding: 40px 24px 72px;
}

.admin-login-shell,
.admin-shell {
  width: min(1240px, 100%);
  margin: 0 auto;
}

.admin-login-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 80px);
}

.admin-login-card,
.admin-sidebar,
.admin-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(14, 14, 14, 0.92), rgba(5, 5, 5, 0.96));
  box-shadow: var(--shadow);
}

.admin-login-card {
  width: min(560px, 100%);
  padding: 36px;
}

.admin-shell {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 28px;
}

.admin-sidebar,
.admin-panel {
  padding: 28px;
}

.admin-tab-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 20px;
}

.admin-tab {
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.admin-tab.is-active {
  border-color: rgba(197, 154, 87, 0.6);
  background: rgba(197, 154, 87, 0.12);
}

.admin-content {
  display: grid;
  gap: 24px;
}

.admin-form,
.admin-form-grid {
  display: grid;
  gap: 18px;
}

.admin-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 28px;
}

.admin-field {
  display: grid;
  gap: 10px;
}

.admin-field span {
  color: #ecd9bb;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
}

.admin-field-tip {
  color: rgba(245, 238, 228, 0.62);
  font-size: 0.82rem;
  line-height: 1.6;
}

.admin-field input,
.admin-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font: inherit;
}

.admin-field textarea {
  resize: vertical;
}

.admin-field-full {
  grid-column: 1 / -1;
}

.admin-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-submit {
  width: 100%;
}

.admin-feedback {
  min-height: 1.5em;
  margin: 0;
  color: #ecd9bb;
}

.admin-list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.admin-item-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
}

.admin-item-cover {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.admin-item-body {
  padding: 20px;
}

.admin-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.admin-image-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-preview-card {
  width: 120px;
  display: grid;
  gap: 8px;
}

.admin-preview-card-rich {
  width: 160px;
}

.admin-preview-media {
  position: relative;
}

.admin-preview-card img {
  width: 100%;
  height: 92px;
  object-fit: cover;
  border-radius: 14px;
}

.admin-preview-card-rich img {
  height: 120px;
}

.admin-preview-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(197, 154, 87, 0.92);
  color: #120d09;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.admin-preview-card span {
  font-size: 0.78rem;
  color: var(--muted);
  word-break: break-all;
}

.admin-preview-actions {
  display: grid;
  gap: 8px;
}

.admin-preview-button {
  width: 100%;
  min-height: 38px;
  padding-inline: 10px;
  font-size: 0.82rem;
}

.admin-preview-button:disabled {
  opacity: 0.5;
  cursor: default;
}

.is-hidden {
  display: none !important;
}

.artist-list-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.artist-card-link {
  display: block;
  height: 100%;
}

.artist-card-item,
.artist-work-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, border-color 0.28s ease;
}

.artist-card-item {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.artist-card-item:hover,
.artist-work-card:hover {
  transform: translateY(-4px);
  border-color: rgba(197, 154, 87, 0.36);
}

.artist-card-media,
.artist-detail-media {
  background: rgba(255, 255, 255, 0.02);
}

.artist-card-media img,
.artist-detail-media img,
.artist-work-card img {
  width: 100%;
  display: block;
}

.artist-card-media img {
  height: 340px;
  object-fit: cover;
}

.artist-card-body,
.artist-work-copy {
  padding: 22px;
}

.artist-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding-top: 32px;
}

.artist-card-media {
  margin-bottom: 8px;
}

.artist-card-body .card-title {
  min-height: 44px;
  margin-top: 10px;
  margin-bottom: 0;
}

.artist-style-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 16px;
  min-height: 92px;
  align-content: flex-start;
}

.artist-style-tags span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.9rem;
}

.artist-intro-box {
  padding: 30px 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(16, 16, 16, 0.94), rgba(8, 8, 8, 0.98));
  box-shadow: var(--shadow);
}

.artist-intro-box .section-head {
  margin-bottom: 12px;
}

.artist-intro-box .story-grid {
  gap: 12px;
}

.artist-intro-box .story-panel {
  padding: 8px 0;
}

.artist-card-body .card-copy {
  margin: auto 0 0;
}

.artist-detail-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
}

.artist-detail-media {
  overflow: hidden;
  border-radius: 28px;
}

.artist-detail-media img {
  max-height: 620px;
  object-fit: cover;
}

.artist-style-tags-detail {
  margin-top: 22px;
}

.artist-works-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.artist-work-card img {
  height: 300px;
  object-fit: cover;
}

.footer-mount {
  width: 100%;
  margin-top: 64px;
}

.site-footer {
  width: var(--site-width);
  margin: 0 auto;
  padding: 34px 34px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.footer-shell {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.15fr;
  gap: 28px;
  align-items: start;
}

.footer-brand,
.footer-brand-copy {
  display: flex;
}

.footer-brand {
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.footer-brand-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.footer-brand-copy {
  flex-direction: column;
  gap: 4px;
  font-family: "Cormorant Garamond", serif;
}

.footer-brand-kicker {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.footer-brand-copy strong {
  font-size: 2rem;
  line-height: 1;
  color: #f0ddb9;
}

.footer-description,
.footer-links a,
.footer-links span,
.footer-contact-list a,
.footer-contact-list span,
.footer-bottom-line {
  color: var(--muted);
  line-height: 1.8;
  font-size: 0.96rem;
}

.footer-heading {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 1.2rem;
  font-family: "Cormorant Garamond", serif;
}

.footer-links,
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a:hover,
.footer-contact-list a:hover {
  color: var(--text);
}

.footer-contact-card {
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.footer-bottom-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  transition: transform 0.24s ease, filter 0.24s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.04);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.32));
}

.whatsapp-float img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px) scale(0.992);
  filter: blur(8px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.7s ease;
}

.hero-section[data-reveal] {
  transform: translateY(30px) scale(0.978);
  filter: blur(10px);
  transform-origin: center top;
  transition:
    opacity 0.9s ease,
    transform 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.9s ease,
    box-shadow 0.9s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.hero-section[data-reveal].is-visible {
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.03);
}

@media (max-width: 1080px) {
  .hero-grid,
  .artist-detail-layout,
  .artist-layout,
  .artist-list-grid,
  .artist-works-grid,
  .feature-grid,
  .style-grid,
  .gallery-grid,
  .micro-grid,
  .story-grid,
  .contact-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-shell {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-visual,
  .image-panel {
    min-height: 360px;
  }
}

@media (max-width: 920px) {
  :root {
    --site-width: min(100vw - 28px, 1180px);
  }

  .nav-shell {
    min-height: 82px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% - 6px);
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    background: rgba(16, 13, 10, 0.96);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a.is-current::after {
    display: none;
  }

  .hero-section {
    padding: 28px;
  }

  .hero-grid,
  .artist-detail-layout,
  .artist-layout,
  .artist-list-grid,
  .artist-works-grid,
  .feature-grid,
  .style-grid,
  .gallery-grid,
  .micro-grid,
  .story-grid,
  .contact-layout,
  .section-head,
  .footer-shell,
  .footer-bottom-line {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

  .footer-bottom-line {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .brand-copy strong {
    font-size: 1.55rem;
  }

  .brand-kicker {
    font-size: 0.72rem;
    letter-spacing: 0.28em;
  }

  .hero-title {
    font-size: 2.7rem;
  }

  .hero-section,
  .feature-card,
  .gallery-copy,
  .story-panel,
  .contact-card,
  .quote-card,
  .micro-card {
    padding: 20px;
  }

  .style-card-image {
    width: 100%;
    margin: 12px auto 16px;
    height: 240px;
  }

  .gallery-card img {
    height: 260px;
  }

  .page-main {
    padding-bottom: 60px;
  }

  .gallery-lightbox {
    padding: 14px;
  }

  .gallery-lightbox-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .gallery-lightbox-actions {
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .admin-page {
    padding-inline: 14px;
  }

  .admin-shell,
  .admin-list-grid,
  .admin-form-grid {
    grid-template-columns: 1fr;
  }


  .artist-card-media img {
    height: 300px;
  }

  .artist-work-card img {
    height: 260px;
  }

  .site-footer {
    padding: 24px 20px 18px;
  }

  .footer-brand-logo {
    width: 60px;
    height: 60px;
  }

  .footer-brand-copy strong {
    font-size: 1.65rem;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 62px;
    height: 62px;
  }
}
