:root {
  --bg: #0e0e0f;
  --bg-soft: #161617;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-border: rgba(255, 255, 255, 0.08);
  --text: #f4f1eb;
  --muted: #c3bfb8;
  --accent: #c49563;
  --accent-dark: #8b5e34;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --radius: 8px;
  --container: 1180px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

body.modal-open,
body.nav-open {
  overflow: hidden;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 6rem 0;
}

.eyebrow,
.artist-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.eyebrow {
  text-align: start;
}

.artist-eyebrow {
  text-align: center;
}

.artist-heading {
  text-align: center;
  max-width: 24ch;
  margin-left: auto;
  margin-right: auto;
}

h1,
h2,
h3 {
  font-family: "Cinzel", serif;
  line-height: 1.1;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5.7rem);
  max-width: 18ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  max-width: 22ch;
}

h3 {
  font-size: 1.3rem;
}

p {
  color: var(--muted);
  margin: 0 0 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  background: var(--accent);
  color: #140f0b;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  background: #d4a978;
}

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.btn:disabled:hover,
.btn[aria-disabled="true"]:hover {
  background: var(--accent);
  transform: none;
}

.btn-sm {
  padding: 0.8rem 1.1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1100;
  backdrop-filter: blur(14px);
  background: rgba(12, 12, 13, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-wrap {
  min-height: var(--header-height);
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  height: 100%;
  width: 340px;
  max-width: 340px;
  overflow: hidden;
}

.brand-banner img,
.brand img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: left center;
  position: relative;
  top: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a:not(.btn) {
  color: var(--muted);
  transition: color 0.2s ease;
}

.site-nav a:not(.btn):hover {
  color: var(--text);
}

.menu-toggle {
  display: none;
  position: relative;
  z-index: 1202;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: clip;
}

.parallax-section {
  position: relative;
  isolation: isolate;
}

.parallax-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.parallax-bg {
  inset: -12vh 0;
  z-index: -2;
  transform: none;
  background-image:
    linear-gradient(rgba(9, 9, 10, 0.52), rgba(9, 9, 10, 0.72)),
    url("assets/background.jpeg");
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: auto;
}

.hero-overlay {
  z-index: -1;
  background: radial-gradient(circle at top right, rgba(196, 148, 99, 0.16), transparent 35%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-image-only {
  min-height: calc(100svh - var(--header-height));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 0 5rem;
}

.main-header-image {
  display: block;
  width: min(92vw, 1080px);
  max-width: 100%;
  height: auto;
  object-fit: contain;
  transform: translateY(-20px);
}

/* Layout */
.two-col {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.home-about-artist-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.home-about-panel,
.home-artist-panel {
  min-width: 0;
}

.home-about-panel p:last-child {
  margin-bottom: 0;
}

.home-artist-panel {
  display: grid;
  justify-items: center;
}

.award-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 2.5rem;
  align-items: center;
}

.award-copy h2 {
  text-transform: uppercase;
  max-width: 12ch;
}

.award-copy p:last-child {
  margin-bottom: 0;
}

.award-image-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.award-image {
  display: block;
  width: min(100%, 360px);
  height: auto;
}

/* Cards */
.feature-card,
.artist-card,
.steps article {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-card {
  padding: 2rem;
}

.feature-card ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.feature-card li + li {
  margin-top: 0.7rem;
}

.card-grid {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.artist-card {
  overflow: hidden;
  width: min(100%, 420px);
  text-align: center;
}

.artist-card img {
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
}

.artist-card div {
  padding: 1.2rem;
  text-align: center;
}

.gallery-section h2,
.process h2,
.contact h2,
.artist h2 {
  margin-bottom: 1.5rem;
}

.link-button {
  appearance: none;
  border: none;
  background: none;
  padding: 0;
  margin-top: 0.25rem;
  color: var(--accent);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.link-button:hover,
.link-button:focus-visible {
  color: var(--text);
  opacity: 1;
}

/* Gallery parallax section */
.gallery-parallax-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.gallery-parallax-bg {
  z-index: -1;
  background-image:
    linear-gradient(rgba(14, 14, 15, 0.42), rgba(14, 14, 15, 0.56)),
    url("assets/giftbackparalax.jpeg");
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Featured carousel */
.featured-block,
.gallery-categories,
.paintings-block {
  margin-top: 2.5rem;
}

.gallery-subtitle {
  margin-bottom: 1rem;
  text-align: center;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.gallery-section .section-copy {
  max-width: 720px;
  margin: 0 auto 1.5rem;
  text-align: center;
  color: rgba(245, 240, 230, 0.8);
}

.carousel {
  position: relative;
  margin-bottom: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
  background: #0a0a0b;
}

.carousel-track {
  position: relative;
  height: min(68vw, 620px);
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  width: 100%;
  height: 100%;
}

.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.carousel-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #000;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(8, 8, 9, 0.6);
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
}

.carousel-btn.prev {
  left: 1rem;
}

.carousel-btn.next {
  right: 1rem;
}

/* Gallery cards */
.gallery-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.gallery-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(196, 149, 99, 0.2);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  text-align: left;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  color: var(--text);
}

.gallery-card:hover {
  transform: translateY(-4px);
  border-color: rgba(196, 149, 99, 0.55);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

.gallery-card img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: contain;
  object-position: center;
  background: #0a0a0b;
  padding: 0.5rem;
}

.gallery-card span {
  display: block;
  padding: 1rem 1rem 1.1rem;
  font-weight: 600;
  font-size: 1rem;
  color: #f5f0e6;
}

.paintings-grid .gallery-card img {
  height: 340px;
}

/* Gallery modal */
.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 1.5rem 1rem;
}

.gallery-modal.active {
  display: block;
}

.gallery-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(4px);
}

.gallery-modal-content {
  position: relative;
  z-index: 2;
  width: min(1100px, 100%);
  max-height: calc(100vh - 3rem);
  margin: 0 auto;
  background: #111;
  border: 1px solid rgba(196, 149, 99, 0.25);
  border-radius: 12px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.gallery-modal-header {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  padding-top: 0.25rem;
  background: #111;
}

.gallery-modal-close {
  position: absolute;
  top: 0.35rem;
  right: 0.2rem;
  background: rgba(17, 17, 17, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f5f0e6;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.gallery-modal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.gallery-modal-grid img {
  width: 100%;
  height: 320px;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
  border: 1px solid rgba(196, 149, 99, 0.18);
  display: block;
  background: #0d0d0e;
  padding: 0.5rem;
  cursor: zoom-in;
}

.gallery-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.gallery-detail-grid img {
  width: 100%;
  height: min(68vw, 520px);
  object-fit: contain;
  object-position: center;
  border: 1px solid rgba(196, 149, 99, 0.18);
  border-radius: var(--radius);
  background: #0d0d0e;
  padding: 0.5rem;
  box-shadow: var(--shadow);
  cursor: zoom-in;
}

.gallery-detail-grid img:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.gallery-empty-message {
  grid-column: 1 / -1;
  margin: 0;
  padding: 1.25rem;
  border: 1px solid rgba(196, 149, 99, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
}

.style-page-intro {
  align-items: start;
}

.home-path-header {
  max-width: 760px;
  margin: 0 0 2rem;
}

.home-path-header h2 {
  max-width: 30ch;
}

.check-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.check-list li + li {
  margin-top: 0.7rem;
}

/* Lightbox */
.lightbox-viewer {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 1rem;
}

.lightbox-viewer.active {
  display: block;
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(6px);
}

.lightbox-content {
  position: relative;
  z-index: 2;
  width: min(96vw, 1400px);
  min-height: calc(100vh - 2rem);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  background: rgba(17, 17, 17, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f5f0e6;
  font-size: 2rem;
  line-height: 1;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 6;
}

#lightbox-image {
  max-width: 100%;
  max-height: calc(100vh - 4rem);
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  background: #0d0d0e;
}

#lightbox-image[src=""] {
  display: none;
}

/* Process */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.steps article {
  padding: 1.7rem;
}

.steps span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(196, 148, 99, 0.12);
  color: var(--accent);
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Contact */
.contact-grid {
  align-items: start;
}

.contact-list {
  margin-top: 1.5rem;
}

.contact-list p {
  margin-bottom: 0.5rem;
}

.contact-list strong {
  color: var(--text);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.25rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--panel-border);
  color: var(--text);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.social-link:hover {
  transform: translateY(-2px);
  border-color: rgba(196, 149, 99, 0.55);
  background: rgba(255, 255, 255, 0.06);
}

.social-link img {
  width: 1.35rem;
  height: 1.35rem;
  object-fit: contain;
  flex: 0 0 auto;
}

.location-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.location-title {
  max-width: none;
  width: 100%;
  margin: 0 0 1.5rem;
  text-align: center;
  white-space: nowrap;
}

.location-map-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
}

.location-map-wrap a {
  display: inline-flex;
  justify-content: center;
}

.contact-map {
  width: min(260px, 100%);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
  border: 2px solid rgba(196, 149, 99, 0.35);
  box-shadow: var(--shadow);
  background: #0d0d0e;
}

.location-map {
  width: min(320px, 100%);
}

/* Policy modal */
.policy-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 2200;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 1rem;
}

.policy-modal.is-open {
  display: block;
}

.policy-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(3px);
}

.policy-modal-content {
  position: relative;
  width: min(720px, 100%);
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  margin: 0 auto;
  background: #111;
  border: 1px solid rgba(196, 149, 99, 0.35);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.policy-modal-header {
  position: sticky;
  top: 0;
  z-index: 3;
  margin-bottom: 1rem;
  background: #111;
  padding-top: 0.25rem;
}

.policy-modal-header h3 {
  margin: 0;
}

.policy-modal-body p {
  margin: 0 0 1.25rem;
  line-height: 1.8;
}

.policy-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 1.5rem 0;
  line-height: 1.5;
  cursor: pointer;
}

.policy-checkbox input {
  margin-top: 0.2rem;
  accent-color: var(--accent);
}

.policy-continue-btn {
  pointer-events: none;
  opacity: 0.45;
}

.policy-continue-btn.is-active {
  pointer-events: auto;
  opacity: 1;
}

.policy-modal-close {
  position: absolute;
  top: 0.35rem;
  right: 0.2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(17, 17, 17, 0.92);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 4;
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

/* Christian bio modal */
.bio-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 2300;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 1rem;
}

.bio-modal.is-open {
  display: block;
}

.bio-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(4px);
}

.bio-modal-content {
  position: relative;
  width: min(760px, 100%);
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  margin: 0 auto;
  background: #111;
  border: 1px solid rgba(196, 149, 99, 0.35);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.bio-modal-body p {
  margin: 0 0 1rem;
  line-height: 1.85;
  color: var(--muted);
}

.bio-modal-close {
  position: absolute;
  top: 0.35rem;
  right: 0.2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(17, 17, 17, 0.92);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 4;
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

/* Footer */
.site-footer {
  padding: 1.25rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-single {
  display: flex;
  justify-content: center;
  text-align: center;
}

.footer-single p {
  margin: 0;
  color: var(--muted);
}

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

/* Tablet and below */
@media (max-width: 900px) {
  :root {
    --header-height: 72px;
  }

  .two-col,
  .home-about-artist-grid,
  .process-step-grid,
  .award-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero-image-only {
    min-height: calc(100svh - var(--header-height));
    padding: 2rem 0 4rem;
  }

  .parallax-bg,
  .gallery-parallax-bg {
    inset: -10vh 0;
    background-attachment: scroll;
    will-change: transform;
  }

  .main-header-image {
    width: min(92vw, 900px);
  }

  .carousel-track {
    height: min(72vw, 480px);
  }

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

  .gallery-modal-grid img {
    height: 260px;
  }

  .gallery-detail-grid img {
    height: min(78vw, 420px);
  }

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

  .location-panel {
    align-items: center;
  }

  .location-title {
    text-align: center;
    margin: 0 0 1.5rem;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: fixed;
    top: calc(var(--header-height) + 8px);
    left: 0.75rem;
    right: 0.75rem;
    max-height: calc(100svh - var(--header-height) - 1rem);
    overflow-y: auto;
    padding: 1rem;
    background: #111214;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow);
    z-index: 1201;
  }

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

  .site-nav a,
  .site-nav .btn {
    width: 100%;
    justify-content: center;
  }

  .footer-wrap {
    flex-direction: column;
    text-align: center;
  }

  .brand {
    width: 340px;
    max-width: 340px;
  }

  .brand-banner img,
  .brand img {
    max-height: none;
    top: 0;
  }
}

/* Mobile */
@media (max-width: 640px) {
  :root {
    --header-height: 68px;
  }

  .section {
    padding: 4.5rem 0;
  }

  .container {
    width: min(100% - 1.25rem, var(--container));
  }

  .brand {
    width: 280px;
    max-width: 280px;
  }

  .brand-banner img,
  .brand img {
    max-height: none;
    top: 0;
  }

  .hero-image-only {
    min-height: calc(100svh - var(--header-height));
    padding: 2rem 0 3rem;
  }

  .main-header-image {
    width: min(94vw, 460px);
  }

  .gallery-subtitle {
    font-size: 1.2rem;
  }

  .carousel-track {
    height: min(78vw, 360px);
  }

  .carousel-btn {
    width: 42px;
    height: 42px;
  }

  .gallery-category-grid {
    grid-template-columns: 1fr;
  }

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

  .paintings-grid .gallery-card img {
    height: 220px;
  }

  .gallery-modal {
    padding: 0.75rem;
  }

  .gallery-modal-grid {
    grid-template-columns: 1fr;
  }

  .gallery-modal-grid img {
    height: 240px;
  }

  .gallery-detail-grid img {
    height: min(96vw, 360px);
  }

  .gallery-modal-content,
  .policy-modal-content,
  .bio-modal-content {
    width: 100%;
    max-height: calc(100vh - 1.5rem);
    padding: 1rem;
    border-radius: 8px;
  }

  .gallery-modal-close,
  .policy-modal-close,
  .bio-modal-close {
    top: 0.2rem;
    right: 0;
    width: 44px;
    height: 44px;
    font-size: 1.7rem;
  }

  .lightbox-viewer {
    padding: 0.75rem;
  }

  .lightbox-content {
    width: 100%;
    min-height: calc(100vh - 1.5rem);
    margin: 0 auto;
    padding: 0.75rem;
  }

  .lightbox-close {
    top: 0.75rem;
    right: 0.75rem;
    width: 46px;
    height: 46px;
    font-size: 1.8rem;
  }

  #lightbox-image {
    max-height: calc(100vh - 3rem);
    border-radius: 8px;
  }

  .location-map {
    width: min(270px, 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation: none !important;
    transition: none !important;
  }
}

#top {
  position: absolute;
  top: 0;
}

/* =========================================================
   Rebuild additions: multi-page SEO + booking funnel
   ========================================================= */

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #140f0b;
  padding: 0.75rem 1rem;
  z-index: 5000;
  border-radius: 0 0 12px 0;
  font-weight: 700;
}

.skip-link:focus {
  left: 0;
}

.site-nav a[aria-current="page"]:not(.btn) {
  color: var(--text);
}

.hero-copy {
  width: min(100%, 840px);
  margin: -4.5rem auto 0;
  text-align: center;
  padding: 1.5rem;
  border: 1px solid rgba(196, 149, 99, 0.22);
  background: rgba(14, 14, 15, 0.58);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-copy h1 {
  max-width: 20ch;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(2rem, 5vw, 4.7rem);
}

.hero-copy p {
  max-width: 68ch;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
  align-items: center;
  margin-top: 1.5rem;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: rgba(196, 149, 99, 0.45);
}

.btn-secondary:hover {
  background: rgba(196, 149, 99, 0.12);
  border-color: rgba(196, 149, 99, 0.72);
}

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header-height) + 5rem) 0 5rem;
  background:
    radial-gradient(circle at top right, rgba(196, 148, 99, 0.16), transparent 38%),
    linear-gradient(rgba(9, 9, 10, 0.64), rgba(9, 9, 10, 0.86)),
    url("assets/background.jpeg") center/cover no-repeat;
}

body[data-page-depth="1"] .page-hero {
  background:
    radial-gradient(circle at top right, rgba(196, 148, 99, 0.16), transparent 38%),
    linear-gradient(rgba(9, 9, 10, 0.64), rgba(9, 9, 10, 0.86)),
    url("../assets/background.jpeg") center/cover no-repeat;
}

.page-hero .container {
  max-width: 900px;
}

.page-hero h1 {
  max-width: 20ch;
}

.page-hero p {
  max-width: 68ch;
  font-size: 1.05rem;
}

.section-centered {
  text-align: center;
}

.section-centered h2,
.section-centered p {
  margin-left: auto;
  margin-right: auto;
}

.section-copy-wide {
  max-width: 74ch;
}

.preview-grid,
.resource-grid,
.faq-grid,
.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.process-step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.preview-card,
.resource-card,
.faq-card,
.policy-card,
.callout-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.6rem;
}

.preview-card h3,
.resource-card h3,
.faq-card h3,
.policy-card h3 {
  color: var(--text);
}

.process-step-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.6rem;
  min-width: 0;
}

.process-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  margin-bottom: 1rem;
  background: rgba(196, 149, 99, 0.16);
  color: #f3d4aa;
  font-weight: 700;
  font-size: 0.9rem;
}

.process-step-card h3 {
  margin-bottom: 1rem;
  text-transform: uppercase;
  line-height: 1.1;
}

.process-step-card p {
  color: var(--text);
}

.process-step-card p:last-child {
  margin-bottom: 0;
}

.preview-card a,
.resource-card a,
.faq-card a,
.policy-card a,
.inline-link {
  color: var(--accent);
  font-weight: 700;
}

.kicker-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.kicker-list li {
  border: 1px solid rgba(196, 149, 99, 0.18);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 0.9rem 1rem;
  color: var(--muted);
}

.page-content {
  max-width: 860px;
}

.page-content h2 {
  max-width: none;
  margin-top: 2.2rem;
}

.page-content ul,
.page-content ol {
  color: var(--muted);
  padding-left: 1.3rem;
}

.page-content li + li {
  margin-top: 0.55rem;
}

.notice-band {
  border-block: 1px solid rgba(196, 149, 99, 0.2);
  background: rgba(196, 149, 99, 0.08);
  padding: 2.2rem 0;
}

.notice-band .container {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
}

.notice-band p {
  margin-bottom: 0;
}

.faq-tools {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.25rem;
  border: 1px solid rgba(196, 149, 99, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.faq-search {
  display: grid;
  gap: 0.45rem;
}

.faq-search span {
  color: var(--text);
  font-weight: 700;
}

.faq-search input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
  padding: 0.9rem 1rem;
  outline: none;
}

.faq-search input:focus {
  border-color: rgba(196, 149, 99, 0.75);
  box-shadow: 0 0 0 3px rgba(196, 149, 99, 0.12);
}

.faq-filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.faq-filter {
  border: 1px solid rgba(196, 149, 99, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  padding: 0.55rem 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.faq-filter:hover,
.faq-filter.is-active {
  border-color: rgba(196, 149, 99, 0.8);
  background: rgba(196, 149, 99, 0.14);
  color: var(--text);
}

.faq-results,
.faq-empty {
  color: var(--muted);
  margin: 0;
}

.faq-empty {
  margin-top: 1.5rem;
}

.faq-card[hidden],
.faq-empty[hidden] {
  display: none !important;
}

.faq-card details {
  margin: 0;
}

.faq-card summary {
  cursor: pointer;
  color: var(--text);
  font-family: "Cinzel", serif;
  font-size: 1.1rem;
  line-height: 1.25;
}

.faq-card summary::marker {
  color: var(--accent);
}

.faq-card details p {
  margin: 1rem 0 0;
}

.gallery-intro-card {
  margin-bottom: 2rem;
}

.tattoo-guides-section {
  padding-top: 4rem;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.guide-grid[hidden],
.guide-detail[hidden] {
  display: none !important;
}

.guide-preview-card,
.guide-article {
  border: 1px solid rgba(196, 149, 99, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.guide-preview-card h2,
.guide-article h2 {
  max-width: 24ch;
}

.guide-preview-card .btn {
  margin-top: 0.5rem;
}

.guide-meta {
  color: rgba(244, 241, 235, 0.72);
  font-size: 0.95rem;
  font-weight: 700;
}

.guide-detail {
  max-width: 860px;
  margin: 0 auto;
}

.guide-back-link {
  display: inline-flex;
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.guide-lede {
  color: var(--text);
  font-size: 1.1rem;
}

.guide-body {
  margin-top: 2rem;
}

.guide-body p {
  font-size: 1.02rem;
}

.guide-body h3,
.guide-body h4 {
  margin: 2rem 0 0.8rem;
}

.guide-body h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.guide-body h4 {
  font-size: 1.25rem;
}

.guide-body strong {
  color: var(--text);
}

.guide-body em {
  color: #e2d1bd;
}

.guide-text-large {
  display: inline;
  color: var(--text);
  font-size: 1.18em;
}

.guide-text-small {
  display: inline;
  font-size: 0.9em;
}

.style-intro-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.style-pill {
  border: 1px solid rgba(196, 149, 99, 0.22);
  border-radius: 8px;
  padding: 0.75rem 0.95rem;
  text-align: center;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  font-weight: 600;
}

.contact-request-panel,
.contact-request-form {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.contact-request-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--text);
  font-weight: 700;
}

.contact-request-form label span {
  color: var(--text);
}

.contact-request-form input,
.contact-request-form select,
.contact-request-form textarea {
  width: 100%;
  border: 1px solid rgba(196, 149, 99, 0.26);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  padding: 0.9rem 1rem;
  outline: none;
}

.contact-request-form textarea {
  resize: vertical;
}

.contact-request-form input:focus,
.contact-request-form select:focus,
.contact-request-form textarea:focus {
  border-color: rgba(196, 149, 99, 0.72);
  box-shadow: 0 0 0 3px rgba(196, 149, 99, 0.12);
}

.contact-request-form select option {
  color: #111;
}

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

.form-note {
  border: 1px dashed rgba(196, 149, 99, 0.35);
  border-radius: 8px;
  padding: 1.25rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}

.policy-inline p {
  margin: 0.65rem 0 1rem;
}

.policy-checkbox-inline {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  gap: 0.7rem;
  font-weight: 500 !important;
  color: var(--muted) !important;
}

.policy-checkbox-inline input {
  width: auto;
  margin-top: 0.25rem;
  accent-color: var(--accent);
}

.form-status {
  min-height: 1.5rem;
  margin: 0;
  color: var(--accent);
  font-weight: 700;
}

.form-status.is-error {
  color: #f0a2a2;
}

.footer-wrap.rebuild-footer {
  align-items: flex-start;
  gap: 2rem;
}

.footer-brand,
.footer-links,
.footer-contact {
  display: grid;
  gap: 0.45rem;
}

.footer-brand p,
.footer-contact p {
  margin: 0;
}

.footer-links a,
.footer-contact a {
  color: var(--muted);
}

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

.footer-heading {
  color: var(--text);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.seo-helper-comment {
  display: none;
}

@media (max-width: 1000px) {
  .preview-grid,
  .resource-grid,
  .policy-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .style-intro-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .notice-band .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-wrap.rebuild-footer {
    display: grid;
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .hero-copy {
    margin-top: -2.5rem;
    padding: 1rem;
  }

  .hero-actions,
  .cta-row {
    align-items: stretch;
  }

  .hero-actions .btn,
  .cta-row .btn {
    width: 100%;
  }

  .preview-grid,
  .resource-grid,
  .faq-grid,
  .policy-grid,
  .kicker-list,
  .style-intro-grid,
  .guide-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: calc(var(--header-height) + 3.5rem) 0 3.5rem;
  }
}
