﻿/* ============================================================
   Srinivas Ganduri — Contemporary Indian Painter
   Design system: warm ivory, deep indigo, antique gold, terracotta
   ============================================================ */

:root {
  --ivory: #faf6f0;
  --ivory-dark: #f0e8dc;
  --cream: #e8dcc8;
  --indigo: #1a1a2e;
  --indigo-mid: #16213e;
  --indigo-soft: #2a2a4a;
  --gold: #c9a227;
  --gold-light: #e8c547;
  --gold-muted: #a68b2a;
  --terracotta: #c45c26;
  --terracotta-soft: #d4784a;
  --saffron: #e07a3d;
  --forest: #2d4a3e;
  --text: #1a1a2e;
  --text-muted: #5a5a6e;
  --text-light: #8a8a9a;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(26, 26, 46, 0.06);
  --shadow-md: 0 8px 30px rgba(26, 26, 46, 0.1);
  --shadow-lg: 0 20px 60px rgba(26, 26, 46, 0.15);
  --shadow-gold: 0 8px 32px rgba(201, 162, 39, 0.25);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --nav-h: 80px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-w: 1280px;
}

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

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

body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.display-xl {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.display-lg {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
}

.display-md {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 0.75rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.8;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

.section-sm {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header .lead {
  margin: 1rem auto 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: var(--radius-full);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--indigo);
  color: var(--ivory);
}

.btn-primary:hover {
  background: var(--indigo-soft);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-muted) 100%);
  color: var(--indigo);
  font-weight: 600;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-outline {
  border: 1.5px solid var(--indigo);
  color: var(--indigo);
  background: transparent;
}

.btn-outline:hover {
  background: var(--indigo);
  color: var(--ivory);
}

.btn-outline-light {
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--indigo);
  border-color: var(--white);
}

.btn-terracotta {
  background: var(--terracotta);
  color: var(--white);
}

.btn-terracotta:hover {
  background: var(--terracotta-soft);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196, 92, 38, 0.3);
}

.btn-sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 1.1rem 2.25rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: all var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
}

.navbar.dark-nav {
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(16px);
}

.navbar.dark-nav .nav-logo,
.navbar.dark-nav .nav-links a {
  color: var(--ivory);
}

.navbar.dark-nav .nav-links a:hover,
.navbar.dark-nav .nav-links a.active {
  color: var(--gold-light);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--indigo);
  letter-spacing: 0.02em;
}

.nav-logo span {
  color: var(--gold-muted);
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  letter-spacing: 0.02em;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--indigo);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  margin-left: 0.5rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--indigo);
  transition: all var(--transition);
  border-radius: 2px;
}

.navbar.dark-nav .nav-toggle span {
  background: var(--ivory);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
  background: var(--indigo);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(201, 162, 39, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 20% 80%, rgba(196, 92, 38, 0.1) 0%, transparent 50%),
    linear-gradient(160deg, #1a1a2e 0%, #16213e 50%, #0f0f1a 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a227' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
}

.hero-text {
  color: var(--ivory);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(201, 162, 39, 0.15);
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
}

.hero-text h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero-text h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-text .lead {
  color: rgba(250, 246, 240, 0.7);
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-frame {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(201, 162, 39, 0.2);
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-frame-border {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(201, 162, 39, 0.4);
  border-radius: calc(var(--radius-lg) - 4px);
  pointer-events: none;
  z-index: 2;
}

.hero-float {
  position: absolute;
  background: rgba(250, 246, 240, 0.95);
  backdrop-filter: blur(8px);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  z-index: 3;
}

.hero-float-1 {
  bottom: 12%;
  left: -8%;
}

.hero-float-2 {
  top: 15%;
  right: -5%;
}

.hero-float .label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 0.2rem;
}

.hero-float .value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--indigo);
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 5rem) 0 4rem;
  background: var(--indigo);
  color: var(--ivory);
  overflow: hidden;
  text-align: center;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(201, 162, 39, 0.1) 0%, transparent 60%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.page-hero .lead {
  color: rgba(250, 246, 240, 0.65);
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(250, 246, 240, 0.45);
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: var(--gold-light);
}

.breadcrumb a:hover {
  color: var(--gold);
}

/* ---------- Featured Works ---------- */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.work-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  cursor: pointer;
}

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

.work-card-img {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}

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

.work-card:hover .work-card-img img {
  transform: scale(1.06);
}

.work-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 26, 46, 0.85) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.work-card:hover .work-card-overlay {
  opacity: 1;
}

.work-card-overlay .btn {
  width: 100%;
}

.work-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.work-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.work-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-light);
}

.work-meta span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.work-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  padding: 0.3rem 0.75rem;
  background: var(--gold);
  color: var(--indigo);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
}

.work-badge.sold {
  background: var(--terracotta);
  color: var(--white);
}

.work-badge.enquire {
  background: var(--indigo);
  color: var(--gold-light);
}

/* ---------- About Teaser ---------- */
.about-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-teaser-visual {
  position: relative;
}

.about-teaser-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}

.about-teaser-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-accent {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 60%;
  height: 60%;
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0 2.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--cream);
  border-bottom: 1px solid var(--cream);
}

.stat-item .num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold-muted);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-item .label {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ---------- Philosophy / Quote ---------- */
.philosophy {
  background: var(--indigo);
  color: var(--ivory);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.philosophy::before {
  content: """;
  position: absolute;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 12rem;
  color: rgba(201, 162, 39, 0.08);
  line-height: 1;
  pointer-events: none;
}

.philosophy blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-style: italic;
  font-weight: 400;
  max-width: 800px;
  margin: 0 auto 1.5rem;
  line-height: 1.5;
  color: var(--white);
  position: relative;
}

.philosophy cite {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--gold-light);
  letter-spacing: 0.1em;
}

/* ---------- Blog Cards ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.blog-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.blog-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.75rem;
}

.blog-card-body h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  transition: color var(--transition);
}

.blog-card:hover .blog-card-body h3 {
  color: var(--gold-muted);
}

.blog-card-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 1.25rem;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-light);
  padding-top: 1rem;
  border-top: 1px solid var(--ivory-dark);
}

/* ---------- Gallery Page ---------- */
.gallery-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--cream);
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn {
  padding: 0.5rem 1.15rem;
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  border: 1px solid var(--cream);
  background: var(--white);
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--indigo);
  color: var(--ivory);
  border-color: var(--indigo);
}

.gallery-view-toggle {
  display: flex;
  gap: 0.35rem;
  background: var(--white);
  padding: 0.3rem;
  border-radius: var(--radius);
  border: 1px solid var(--cream);
}

.view-btn {
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  color: var(--text-light);
  transition: all var(--transition);
}

.view-btn.active,
.view-btn:hover {
  background: var(--indigo);
  color: var(--ivory);
}

/* Elite Showcase Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.gallery-grid.masonry {
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 10px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  cursor: pointer;
}

.gallery-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.gallery-item.featured {
  grid-column: span 2;
  grid-row: span 1;
}

.gallery-item.featured .gallery-item-img {
  aspect-ratio: 16/10;
}

.gallery-item-img {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--ivory-dark);
}

.gallery-item.featured .gallery-item-img {
  aspect-ratio: 16/10;
}

.gallery-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.gallery-item:hover .gallery-item-img img {
  transform: scale(1.05);
}

.gallery-item-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.08) 45%,
    rgba(255, 255, 255, 0.15) 50%,
    rgba(255, 255, 255, 0.08) 55%,
    transparent 60%
  );
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.gallery-item:hover .gallery-item-shine {
  opacity: 1;
  animation: shine 1.2s ease;
}

@keyframes shine {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

.gallery-item-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.gallery-item-body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.gallery-item-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gallery-item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.gallery-item-price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold-muted);
}

.gallery-item-price.enquire-only {
  font-size: 0.85rem;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-light);
}

.elite-ribbon {
  position: absolute;
  top: 1.25rem;
  right: -2rem;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-muted) 100%);
  color: var(--indigo);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 2.5rem;
  transform: rotate(45deg);
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* ---------- Lightbox / Showcase Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 26, 0.92);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--ivory);
  border-radius: var(--radius-lg);
  max-width: 1100px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95) translateY(20px);
  transition: transform 0.35s ease;
}

.modal-overlay.open .modal {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background var(--transition);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.modal-image {
  position: relative;
  background: var(--indigo);
  min-height: 400px;
}

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

.modal-details {
  padding: 2.5rem;
  overflow-y: auto;
  max-height: 90vh;
}

.modal-details .section-label {
  margin-bottom: 0.5rem;
}

.modal-details h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.modal-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.5rem;
  margin: 1.5rem 0;
  padding: 1.25rem 0;
  border-top: 1px solid var(--cream);
  border-bottom: 1px solid var(--cream);
}

.meta-row .meta-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 0.15rem;
}

.meta-row .meta-value {
  font-size: 0.95rem;
  font-weight: 500;
}

.modal-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.modal-price-box {
  background: var(--white);
  border: 1px solid var(--cream);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.modal-price-box .price-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 0.35rem;
}

.modal-price-box .price {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--gold-muted);
}

.modal-price-box .price-note {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 0.35rem;
}

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

/* ---------- Enquire Modal ---------- */
.enquire-modal .modal {
  grid-template-columns: 1fr;
  max-width: 560px;
  max-height: 92vh;
  overflow-y: auto;
}

.enquire-header {
  background: var(--indigo);
  color: var(--ivory);
  padding: 2rem 2.5rem 1.5rem;
  position: relative;
}

.enquire-header h2 {
  color: var(--white);
  font-size: 1.75rem;
  margin-bottom: 0.35rem;
}

.enquire-header p {
  font-size: 0.9rem;
  color: rgba(250, 246, 240, 0.65);
}

.enquire-artwork {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 1.25rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
}

.enquire-artwork img {
  width: 64px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
}

.enquire-artwork-info h4 {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 0.15rem;
}

.enquire-artwork-info span {
  font-size: 0.8rem;
  color: var(--gold-light);
}

.enquire-body {
  padding: 2rem 2.5rem 2.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.form-group label .req {
  color: var(--terracotta);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: inherit;
  font-size: 0.9rem;
  border: 1.5px solid var(--cream);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}

.form-control::placeholder {
  color: var(--text-light);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%235a5a6e' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

textarea.form-control {
  min-height: 110px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form-check input {
  margin-top: 0.25rem;
  accent-color: var(--gold);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.form-success {
  text-align: center;
  padding: 3rem 2rem;
  display: none;
}

.form-success.show {
  display: block;
}

.form-success .icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-muted));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.75rem;
}

.form-success h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.form-success p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* ---------- About Page ---------- */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.about-portrait {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}

.about-portrait-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow-lg);
}

.about-portrait-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-portrait-caption {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-light);
  font-style: italic;
}

.about-content h2 {
  margin-bottom: 1.25rem;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.85;
}

.timeline {
  margin-top: 3rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--cream);
  position: relative;
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--gold-muted);
  font-weight: 600;
}

.timeline-content h4 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.timeline-content p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.award-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid transparent;
  transition: all var(--transition);
}

.award-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.award-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.award-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.award-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------- Blog Post ---------- */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3.5rem;
  align-items: start;
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.blog-list-item {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.blog-list-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.blog-list-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.blog-list-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-list-item:hover .blog-list-img img {
  transform: scale(1.05);
}

.blog-list-body {
  padding: 1.5rem 1.5rem 1.5rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-list-body h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  transition: color var(--transition);
}

.blog-list-item:hover .blog-list-body h2 {
  color: var(--gold-muted);
}

.blog-list-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
}

.sidebar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.sidebar-card h3 {
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--cream);
}

.category-list li {
  margin-bottom: 0.5rem;
}

.category-list a {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.4rem 0;
  transition: color var(--transition);
}

.category-list a:hover {
  color: var(--gold-muted);
}

.category-list .count {
  color: var(--text-light);
  font-size: 0.8rem;
}

/* Blog article page */
.article {
  max-width: 760px;
  margin: 0 auto;
}

.article-header {
  text-align: center;
  margin-bottom: 3rem;
}

.article-header h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 1rem 0 1.25rem;
}

.article-hero-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 21/9;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-md);
}

.article-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-body {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.9;
}

.article-body h2 {
  font-size: 1.6rem;
  color: var(--text);
  margin: 2.5rem 0 1rem;
}

.article-body h3 {
  font-size: 1.25rem;
  color: var(--text);
  margin: 2rem 0 0.75rem;
}

.article-body p {
  margin-bottom: 1.25rem;
}

.article-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 1rem 0 1rem 1.5rem;
  margin: 2rem 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--indigo);
}

.article-body ul {
  margin: 1rem 0 1.5rem 1.5rem;
}

.article-body ul li {
  list-style: disc;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
}

.contact-info h2 {
  margin-bottom: 1rem;
}

.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.15), rgba(201, 162, 39, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.contact-item p,
.contact-item a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-item a:hover {
  color: var(--gold-muted);
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.contact-form-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.contact-form-card > p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-muted);
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--indigo);
  border-color: var(--indigo);
  color: var(--gold-light);
}

/* Studio hours */
.studio-hours {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--ivory-dark);
  border-radius: var(--radius);
}

.studio-hours h4 {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 0.35rem 0;
  color: var(--text-muted);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--indigo) 0%, var(--indigo-mid) 100%);
  color: var(--ivory);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 50% 50%, rgba(201, 162, 39, 0.1) 0%, transparent 70%);
}

.cta-banner .container {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(250, 246, 240, 0.65);
  max-width: 500px;
  margin: 0 auto 2rem;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--indigo);
  color: rgba(250, 246, 240, 0.7);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .nav-logo {
  color: var(--ivory);
  display: block;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 280px;
}

.footer h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  font-size: 0.8rem;
  color: rgba(250, 246, 240, 0.4);
}

/* ---------- Newsletter ---------- */
.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ivory);
  font-family: inherit;
  font-size: 0.85rem;
  outline: none;
}

.newsletter-form input::placeholder {
  color: rgba(250, 246, 240, 0.4);
}

.newsletter-form input:focus {
  border-color: var(--gold);
}

.newsletter-form .btn {
  padding: 0.7rem 1.25rem;
  font-size: 0.8rem;
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.bg-white { background: var(--white); }
.bg-ivory { background: var(--ivory); }
.bg-cream { background: var(--ivory-dark); }

/* Art placeholder gradients for demo images */
.art-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.art-placeholder::after {
  content: attr(data-title);
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover .art-placeholder::after,
.work-card:hover .art-placeholder::after {
  opacity: 1;
}

/* SVG art patterns as placeholders */
.art-1 { background: linear-gradient(145deg, #8b3a2f 0%, #c45c26 30%, #e8a87c 60%, #2d4a3e 100%); }
.art-2 { background: linear-gradient(160deg, #1a1a2e 0%, #4a1942 40%, #c9a227 70%, #f0e8dc 100%); }
.art-3 { background: linear-gradient(135deg, #2d4a3e 0%, #5a7a6a 25%, #c9a227 50%, #c45c26 75%, #1a1a2e 100%); }
.art-4 { background: linear-gradient(180deg, #e8dcc8 0%, #d4784a 35%, #8b3a2f 65%, #1a1a2e 100%); }
.art-5 { background: linear-gradient(120deg, #16213e 0%, #0f3460 30%, #e94560 60%, #c9a227 100%); }
.art-6 { background: linear-gradient(200deg, #faf6f0 0%, #e8c547 25%, #c45c26 55%, #2d4a3e 100%); }
.art-7 { background: linear-gradient(90deg, #1a1a2e 0%, #533483 40%, #e07a3d 70%, #f0e8dc 100%); }
.art-8 { background: linear-gradient(150deg, #2d4a3e 0%, #1a1a2e 40%, #c9a227 80%, #c45c26 100%); }
.art-9 { background: linear-gradient(170deg, #4a1942 0%, #16213e 40%, #e8a87c 70%, #c9a227 100%); }
.art-10 { background: linear-gradient(135deg, #0f0f1a 0%, #2a2a4a 30%, #c9a227 55%, #8b3a2f 80%, #faf6f0 100%); }
.art-11 { background: linear-gradient(145deg, #c45c26 0%, #e8dcc8 30%, #2d4a3e 60%, #1a1a2e 100%); }
.art-12 { background: linear-gradient(160deg, #c9a227 0%, #e07a3d 30%, #4a1942 65%, #16213e 100%); }

.art-mandala {
  position: absolute;
  width: 70%;
  height: 70%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.art-mandala::before,
.art-mandala::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.art-mandala::before { width: 70%; height: 70%; }
.art-mandala::after { width: 40%; height: 40%; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-text .lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-frame {
    max-width: 320px;
  }

  .hero-float-1 { left: 5%; }
  .hero-float-2 { right: 5%; }

  .works-grid,
  .blog-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item.featured {
    grid-column: span 2;
  }

  .about-teaser,
  .about-story,
  .contact-grid,
  .blog-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-portrait {
    position: static;
    max-width: 400px;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .modal {
    grid-template-columns: 1fr;
    max-height: 95vh;
    overflow-y: auto;
  }

  .modal-image {
    min-height: 280px;
    max-height: 40vh;
  }

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

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 85vw);
    height: 100vh;
    background: var(--ivory);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem 2rem;
    gap: 0;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 1000;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    width: 100%;
    padding: 1rem 0;
    border-bottom: 1px solid var(--cream);
    font-size: 1rem;
  }

  .nav-links .nav-cta {
    margin: 1.5rem 0 0;
    width: 100%;
  }

  .nav-links .nav-cta .btn {
    width: 100%;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .works-grid,
  .blog-grid,
  .gallery-grid,
  .awards-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item.featured {
    grid-column: span 1;
  }

  .gallery-item.featured .gallery-item-img {
    aspect-ratio: 4/5;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .blog-list-item {
    grid-template-columns: 1fr;
  }

  .blog-list-body {
    padding: 0 1.5rem 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  .section {
    padding: 4rem 0;
  }

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

  .modal-details {
    padding: 1.5rem;
  }

  .enquire-body,
  .enquire-header {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .contact-form-card {
    padding: 1.5rem;
  }
}

/* ---------- Animations ---------- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeUp 0.7s ease forwards;
}

.delay-1 { animation-delay: 0.1s; opacity: 0; }
.delay-2 { animation-delay: 0.2s; opacity: 0; }
.delay-3 { animation-delay: 0.3s; opacity: 0; }
.delay-4 { animation-delay: 0.4s; opacity: 0; }

/* Mobile nav backdrop */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 26, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.nav-backdrop.open {
  opacity: 1;
  visibility: visible;
}

/* ---------- Gallery series sections ---------- */
.gallery-series {
  margin-bottom: 4.5rem;
  scroll-margin-top: calc(var(--nav-h) + 1.5rem);
}

.gallery-series:last-child {
  margin-bottom: 0;
}

.gallery-series-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--cream);
}

.gallery-series-header .lead {
  max-width: 480px;
}

.series-count {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-muted);
  padding: 0.45rem 1rem;
  border: 1px solid var(--cream);
  border-radius: var(--radius-full);
  background: var(--white);
}

.series-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.series-nav-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 160px;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  color: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  border: none;
  text-align: left;
  width: 100%;
}

.series-nav-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.series-nav-card .sn-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.series-nav-card .sn-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 15, 26, 0.85) 0%, rgba(15, 15, 26, 0.25) 100%);
  z-index: 1;
}

.series-nav-card .sn-content {
  position: relative;
  z-index: 2;
}

.series-nav-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
  color: var(--white);
}

.series-nav-card p {
  font-size: 0.85rem;
  color: rgba(250, 246, 240, 0.7);
  margin: 0;
}

/* ---------- Home video ---------- */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.hero-video-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(26, 26, 46, 0.75) 0%, rgba(15, 15, 26, 0.55) 45%, rgba(15, 15, 26, 0.85) 100%);
  z-index: 1;
}

.hero .hero-content {
  z-index: 2;
}

.btn-play {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 1.25rem 0.65rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  transition: all var(--transition);
  font-size: 0.9rem;
  font-weight: 500;
}

.btn-play:hover {
  background: rgba(201, 162, 39, 0.2);
  border-color: var(--gold-light);
  color: var(--gold-light);
}

.btn-play-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-muted) 100%);
  color: var(--indigo);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-gold);
}

.video-section {
  background: var(--indigo);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}

.video-section-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.video-player-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #0a0a12;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(201, 162, 39, 0.2);
  cursor: pointer;
}

.video-player-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-poster-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(201, 162, 39, 0.12) 0%, transparent 70%),
    linear-gradient(160deg, rgba(26, 26, 46, 0.4) 0%, rgba(15, 15, 26, 0.7) 100%);
  transition: opacity 0.35s ease;
  z-index: 2;
}

.video-player-card.playing .video-poster-overlay {
  opacity: 0;
  pointer-events: none;
}

.video-play-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-muted) 100%);
  color: var(--indigo);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 12px 40px rgba(201, 162, 39, 0.4);
  transition: transform var(--transition);
  border: none;
  cursor: pointer;
}

.video-play-btn:hover {
  transform: scale(1.08);
}

.video-poster-label {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(250, 246, 240, 0.75);
  font-weight: 500;
}

.video-section .section-label {
  color: var(--gold-light);
}

.video-section h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.video-section .lead {
  color: rgba(250, 246, 240, 0.65);
  margin-bottom: 1.75rem;
}

.video-meta-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.video-meta-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: rgba(250, 246, 240, 0.75);
}

.video-meta-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* Fullscreen video modal */
.video-modal .modal {
  grid-template-columns: 1fr;
  max-width: 960px;
  background: #0a0a12;
  padding: 0;
}

.video-modal-inner {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
}

.video-modal-inner video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000;
}

.video-modal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--indigo);
  color: var(--ivory);
}

.video-modal-bar h3 {
  font-size: 1.1rem;
  color: var(--white);
}

.video-modal-bar p {
  font-size: 0.8rem;
  color: rgba(250, 246, 240, 0.55);
  margin: 0.15rem 0 0;
}

@media (max-width: 1024px) {
  .video-section-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .series-nav {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .video-play-btn {
    width: 64px;
    height: 64px;
    font-size: 1.25rem;
  }
}

/* ============================================================
   Home — Dark museum (scoped to body.page-home only)
   ============================================================ */

body.page-home {
  --home-bg: #0b0b0c;
  --home-surface: #141416;
  --home-elevated: #1c1c1f;
  --home-text: #f3efe6;
  --home-muted: rgba(243, 239, 230, 0.62);
  --home-faint: rgba(243, 239, 230, 0.38);
  --home-gold: #c6a75e;
  --home-line: rgba(243, 239, 230, 0.12);
  background: var(--home-bg);
  color: var(--home-text);
}

body.page-home .section {
  background: transparent;
  color: var(--home-text);
}

body.page-home .section-label {
  color: var(--home-gold);
  letter-spacing: 0.22em;
  font-weight: 400;
}

body.page-home .home-section-header {
  text-align: left;
  max-width: 36rem;
  margin-bottom: 2.75rem;
}

body.page-home .home-section-header h2 {
  color: var(--home-text);
  font-weight: 400;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-top: 0.5rem;
}

body.page-home .lead {
  color: var(--home-muted);
}

/* Nav */
body.page-home .navbar {
  background: transparent;
  border-bottom: 1px solid transparent;
}

body.page-home .navbar.scrolled {
  background: rgba(11, 11, 12, 0.92);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--home-line);
  box-shadow: none;
}

body.page-home .navbar.dark-nav .nav-logo,
body.page-home .navbar.dark-nav .nav-links a,
body.page-home .navbar.scrolled .nav-logo,
body.page-home .navbar.scrolled .nav-links a {
  color: var(--home-text);
}

body.page-home .nav-links a:hover,
body.page-home .nav-links a.active {
  color: var(--home-gold) !important;
}

body.page-home .nav-cta a {
  display: inline-block;
  padding: 0.35rem 0;
  color: var(--home-muted) !important;
  border-bottom: 1px solid transparent;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

body.page-home .nav-cta a:hover {
  color: var(--home-gold) !important;
  border-bottom-color: var(--home-gold);
}

body.page-home .nav-cta .btn,
body.page-home .nav-cta .btn-gold,
body.page-home .nav-cta .btn-sm {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0.35rem 0 !important;
  border-radius: 0 !important;
}

/* Buttons on home */
body.page-home .btn-gold {
  background: var(--home-gold);
  color: #121212;
  border: none;
  box-shadow: none;
  font-weight: 500;
  letter-spacing: 0.04em;
}

body.page-home .btn-gold:hover {
  background: #d4b56a;
  transform: none;
  box-shadow: none;
}

body.page-home .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border: 1px solid var(--home-line);
  color: var(--home-text);
  background: transparent;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

body.page-home .btn-ghost:hover {
  border-color: var(--home-gold);
  color: var(--home-gold);
  background: rgba(198, 167, 94, 0.06);
}

/* Hero minimal */
body.page-home .hero.hero-minimal {
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-h) + 2rem) 0 4.5rem;
  position: relative;
  background: var(--home-bg);
}

body.page-home .hero-video-wrap video {
  opacity: 0.55;
  filter: saturate(0.85) contrast(1.05);
}

body.page-home .hero-video-scrim {
  background:
    linear-gradient(180deg, rgba(11, 11, 12, 0.35) 0%, rgba(11, 11, 12, 0.2) 35%, rgba(11, 11, 12, 0.88) 100%),
    linear-gradient(90deg, rgba(11, 11, 12, 0.75) 0%, rgba(11, 11, 12, 0.25) 55%, transparent 100%);
}

body.page-home .hero-content-minimal {
  position: relative;
  z-index: 2;
  max-width: 38rem;
  padding-bottom: 0.5rem;
}

body.page-home .hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--home-gold);
  margin-bottom: 1.25rem;
  font-weight: 400;
}

body.page-home .hero-content-minimal h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.75rem, 7vw, 4.75rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--home-text);
  margin-bottom: 1.25rem;
}

body.page-home .hero-content-minimal h1 em {
  font-style: italic;
  color: var(--home-gold);
  font-weight: 400;
}

body.page-home .hero-content-minimal .lead {
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 28rem;
  margin-bottom: 2rem;
  color: var(--home-muted);
}

body.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

/* Studio film */
body.page-home .home-film {
  padding-top: 4rem;
  padding-bottom: 5rem;
  border-top: 1px solid var(--home-line);
}

body.page-home .home-film-inner {
  max-width: 960px;
  margin: 0 auto;
}

body.page-home .home-film .video-player-card {
  border-radius: 4px;
  box-shadow: none;
  border: 1px solid var(--home-line);
  background: #000;
  cursor: pointer;
}

body.page-home .home-film .video-poster-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.55) 100%);
}

body.page-home .home-film .video-play-btn {
  width: 72px;
  height: 72px;
  background: rgba(243, 239, 230, 0.92);
  color: #121212;
  box-shadow: none;
  font-size: 1.25rem;
}

body.page-home .home-film .video-play-btn:hover {
  transform: scale(1.04);
  background: var(--home-text);
}

body.page-home .home-film .video-poster-label {
  letter-spacing: 0.2em;
  color: var(--home-muted);
}

body.page-home .home-film-caption {
  margin-top: 1.75rem;
  max-width: 28rem;
}

body.page-home .home-film-caption h2 {
  font-weight: 400;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--home-text);
  margin: 0.4rem 0 0.75rem;
}

body.page-home .home-film-caption p:last-child {
  color: var(--home-muted);
  margin: 0;
  font-size: 0.98rem;
}

/* Series */
body.page-home .home-series {
  padding-top: 2rem;
  padding-bottom: 5rem;
}

body.page-home .home-series-nav {
  gap: 1rem;
}

body.page-home .home-series-nav .series-nav-card {
  border-radius: 4px;
  min-height: 320px;
  border: 1px solid var(--home-line);
  overflow: hidden;
}

body.page-home .home-series-nav .series-nav-card:hover {
  transform: none;
  border-color: rgba(198, 167, 94, 0.45);
}

body.page-home .home-series-nav .sn-overlay {
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.78) 100%);
}

body.page-home .home-series-nav .sn-content h3 {
  font-weight: 400;
  font-size: 1.65rem;
}

body.page-home .home-series-nav .sn-content p {
  color: var(--home-muted);
}

body.page-home .home-series-nav .series-nav-card:hover .sn-bg {
  transform: scale(1.03);
  transition: transform 1.1s ease;
}

/* Works */
body.page-home .home-works {
  padding-top: 2rem;
  padding-bottom: 5rem;
  border-top: 1px solid var(--home-line);
  background: var(--home-surface);
}

body.page-home .home-works-grid {
  gap: 2rem 1.5rem;
}

body.page-home .home-works .work-card {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

body.page-home .home-works .work-card:hover {
  transform: none;
  box-shadow: none;
}

body.page-home .home-works .work-card-link {
  display: block;
  color: inherit;
}

body.page-home .home-works .work-card-img {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--home-line);
  background: var(--home-elevated);
}

body.page-home .home-works .work-card-body {
  padding: 1rem 0 0;
}

body.page-home .home-works .work-card-body h3 {
  color: var(--home-text);
  font-weight: 400;
  font-size: 1.25rem;
  margin-bottom: 0.45rem;
}

body.page-home .home-works .work-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--home-faint);
}

body.page-home .home-works .work-card-overlay {
  display: none;
}

body.page-home .home-text-link {
  margin-top: 2.5rem;
}

body.page-home .home-text-link a {
  color: var(--home-muted);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--home-line);
  padding-bottom: 0.15rem;
}

body.page-home .home-text-link a:hover {
  color: var(--home-gold);
  border-bottom-color: var(--home-gold);
}

/* Artist + CTA */
body.page-home .home-artist {
  padding-top: 5rem;
  padding-bottom: 5.5rem;
  border-top: 1px solid var(--home-line);
}

body.page-home .home-artist-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: end;
  max-width: 1000px;
}

body.page-home .home-artist h2 {
  font-weight: 400;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--home-text);
  margin: 0.5rem 0 1rem;
}

body.page-home .home-artist .lead {
  margin: 0;
  max-width: 34rem;
}

body.page-home .home-artist-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: flex-end;
}

/* Footer dark */
body.page-home .footer {
  background: #080809;
  color: var(--home-muted);
  border-top: 1px solid var(--home-line);
}

body.page-home .footer .nav-logo {
  color: var(--home-text);
}

body.page-home .footer h4 {
  color: var(--home-text);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-family: var(--font-body);
}

body.page-home .footer-links a:hover {
  color: var(--home-gold);
}

body.page-home .footer-bottom {
  border-top-color: var(--home-line);
  color: var(--home-faint);
}

body.page-home .newsletter-form input {
  background: var(--home-elevated);
  border: 1px solid var(--home-line);
  color: var(--home-text);
}

body.page-home .newsletter-form input::placeholder {
  color: var(--home-faint);
}

/* Placeholders slightly brighter on dark */
body.page-home .art-placeholder {
  filter: brightness(1.08) contrast(1.05);
}

/* Mobile nav drawer on home */
@media (max-width: 768px) {
  body.page-home .nav-links {
    background: rgba(11, 11, 12, 0.98);
  }

  body.page-home .hero.hero-minimal {
    align-items: flex-end;
    padding-bottom: 3rem;
    min-height: 92svh;
  }

  body.page-home .hero-content-minimal h1 {
    font-size: clamp(2.4rem, 11vw, 3.25rem);
  }

  body.page-home .home-artist-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
  }

  body.page-home .home-artist-actions {
    justify-content: flex-start;
  }

  body.page-home .home-series-nav .series-nav-card {
    min-height: 260px;
  }

  body.page-home .home-works-grid {
    gap: 2.25rem;
  }
}

@media (max-width: 1024px) {
  body.page-home .home-artist-inner {
    grid-template-columns: 1fr;
  }

  body.page-home .home-artist-actions {
    justify-content: flex-start;
  }
}

/* ---------- Home YouTube studio film ---------- */
body.page-home .home-yt-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--home-line);
  background: #000;
  box-shadow: none;
}

body.page-home .home-yt-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ---------- Home Instagram ---------- */
body.page-home .home-instagram {
  padding-top: 5rem;
  padding-bottom: 5.5rem;
  border-top: 1px solid var(--home-line);
  background: var(--home-surface);
}

body.page-home .home-instagram-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  align-items: center;
}

body.page-home .home-instagram-copy h2 {
  font-weight: 400;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--home-text);
  margin: 0.5rem 0 1rem;
}

body.page-home .home-instagram-copy .lead {
  margin: 0 0 1.75rem;
  max-width: 28rem;
}

body.page-home .ig-profile-card {
  display: block;
  background: var(--home-elevated);
  border: 1px solid var(--home-line);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
  color: inherit;
}

body.page-home .ig-profile-card:hover {
  border-color: rgba(198, 167, 94, 0.45);
  transform: translateY(-2px);
}

body.page-home .ig-profile-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem 1.25rem 1rem;
}

body.page-home .ig-avatar-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, #f9ce34, #ee2a7b, #6228d7);
  flex-shrink: 0;
}

body.page-home .ig-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #1a1a1c;
  color: var(--home-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  border: 2px solid var(--home-elevated);
}

body.page-home .ig-handle {
  font-size: 1rem;
  font-weight: 600;
  color: var(--home-text);
  margin-bottom: 0.15rem;
}

body.page-home .ig-name {
  font-size: 0.85rem;
  color: var(--home-muted);
  margin-bottom: 0.35rem;
}

body.page-home .ig-bio {
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--home-faint);
}

body.page-home .ig-follow-chip {
  align-self: start;
  margin-top: 0.25rem;
  padding: 0.4rem 0.9rem;
  border-radius: 8px;
  background: var(--home-gold);
  color: #121212;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

body.page-home .ig-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--home-line);
  border-top: 1px solid var(--home-line);
}

body.page-home .ig-preview-cell {
  aspect-ratio: 1;
  overflow: hidden;
  background: #0a0a0b;
}

body.page-home .ig-preview-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.9);
}

body.page-home .ig-profile-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1.25rem;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--home-muted);
  border-top: 1px solid var(--home-line);
}

body.page-home .ig-profile-card:hover .ig-profile-footer {
  color: var(--home-gold);
}

@media (max-width: 1024px) {
  body.page-home .home-instagram-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  body.page-home .ig-profile-top {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "avatar meta"
      "follow follow";
  }

  body.page-home .ig-avatar-ring { grid-area: avatar; }
  body.page-home .ig-profile-meta { grid-area: meta; }
  body.page-home .ig-follow-chip {
    grid-area: follow;
    justify-self: start;
    margin-top: 0.35rem;
  }
}
