/* ============================================
   DOMINA FERA — Dark, Elegant, Luxurious Aesthetic
   High-end fetish art brand style
   ============================================ */

:root {
  --bg: #0a0807;
  --bg-alt: #070505;
  --border: #2a2522;
  --accent-gold: #c5a46e;
  --accent-red: #7c2d2d;
  --text-primary: #f8f1e9;
  --text-muted: #d9c8b0;
  --text-faint: #a38f7c;
}

/* Base */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Instrument Sans', system-ui, -apple-system, sans-serif;
  font-feature-settings: "kern" "tnum" "ss01";
  -webkit-font-smoothing: antialiased;
}

/* Premium Serif Headings */
h1, h2, h3, .font-serif {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-feature-settings: "kern" "liga" "dlig";
}

/* Elegant Navigation */
nav {
  font-feature-settings: "tnum";
}

nav a {
  transition: color 0.3s cubic-bezier(0.23, 1.0, 0.32, 1);
}

/* Powerful Hero */
header h1 {
  font-weight: 600;
  letter-spacing: -1.8px;
}

/* Section Typography */
h2, h3 {
  color: #f8f1e9;
}

/* Refined Form Inputs — Very Premium */
input, textarea {
  font-family: 'Instrument Sans', system-ui, sans-serif;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

input:focus, textarea:focus {
  background-color: rgba(255,255,255,0.015);
  border-color: #c5a46e;
  outline: none;
}

/* Elegant Buttons */
a[href="#enter"],
button[type="submit"] {
  letter-spacing: 3px;
  font-feature-settings: "tnum";
}

/* Art Cards — Minimal & Luxurious */
#art .group {
  transition: border-color 500ms cubic-bezier(0.23, 1.0, 0.32, 1),
              transform 400ms cubic-bezier(0.23, 1.0, 0.32, 1);
}

#art .group:hover {
  transform: translateY(-1px);
}

/* Subtle Gold Accents */
.text-\[\#c5a46e\] {
  color: #c5a46e;
}

/* Experience lines */
#experience > div > div {
  transition: border-color 0.3s ease;
}

#experience > div > div:hover {
  border-color: #5c4033;
}

/* Footer */
footer a {
  transition: color 0.2s ease;
}

/* Image Treatments */
img {
  transition: transform 700ms cubic-bezier(0.23, 1, 0.32, 1);
}

.group:hover img {
  transform: scale(1.015);
}

/* Very refined scroll hint */
header .absolute.bottom-12 {
  font-family: 'Instrument Sans', system-ui, sans-serif;
}

/* ============================================
   MOBILE NAVIGATION
   ============================================ */

.nav-bar-inner {
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .nav-bar-inner {
    justify-content: flex-start;
    gap: 2.5rem;
  }

  .nav-bar-inner .nav-cta {
    margin-left: auto;
  }

  .nav-bar-inner > a:first-child {
    flex-shrink: 0;
  }

  .nav-bar-inner > .hidden.md\:flex {
    flex-shrink: 0;
  }

  .nav-mobile-cluster::before {
    display: none;
  }
}

.nav-auth #nav-account-dropdown {
  right: 0;
  left: auto;
}

/* Desktop: restore original nav link styling (undo mobile pill / nav-auth overrides) */
@media (min-width: 768px) {
  .nav-auth #nav-login {
    font-size: 0.875rem;
    letter-spacing: 1.5px;
    font-weight: 300;
    line-height: normal;
    color: #f8f1e9;
    padding: 0;
    height: auto;
    min-height: 0;
    border: none;
    border-radius: 0;
    background: none;
    box-sizing: content-box;
    white-space: normal;
    text-decoration: none;
  }

  .nav-auth #nav-login:hover {
    color: #c5a46e;
    background: none;
    border-color: transparent;
  }

  .nav-auth #nav-account-btn {
    font-size: 0.875rem;
    letter-spacing: 1.5px;
    font-weight: 300;
    line-height: normal;
    padding: 0;
    height: auto;
    min-height: 0;
    border: none;
    border-radius: 0;
    background: none;
    box-sizing: content-box;
    white-space: normal;
  }

  .nav-auth #nav-account-btn:hover,
  .nav-auth #nav-account-btn:focus-visible {
    background: none;
    border-color: transparent;
  }

  .nav-auth #nav-account-btn svg {
    width: 0.75rem;
    height: 0.75rem;
  }
}

/* Hamburger */
.nav-hamburger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.2s ease;
}

.nav-hamburger:hover,
.nav-hamburger:focus-visible {
  border-color: rgba(197, 164, 110, 0.35);
}

.nav-hamburger-box {
  display: block;
  width: 20px;
  height: 14px;
  position: relative;
}

.nav-hamburger-inner,
.nav-hamburger-inner::before,
.nav-hamburger-inner::after {
  display: block;
  position: absolute;
  width: 20px;
  height: 1.5px;
  background-color: #f8f1e9;
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}

.nav-hamburger-inner {
  top: 6px;
}

.nav-hamburger-inner::before {
  content: '';
  top: -6px;
}

.nav-hamburger-inner::after {
  content: '';
  top: 6px;
}

.nav-hamburger.is-active .nav-hamburger-inner {
  background-color: transparent;
}

.nav-hamburger.is-active .nav-hamburger-inner::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-hamburger.is-active .nav-hamburger-inner::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Mobile menu — right-side drawer */
.nav-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  pointer-events: none;
  visibility: hidden;
}

.nav-mobile-menu.is-open {
  pointer-events: auto;
  visibility: visible;
}

.nav-mobile-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-mobile-menu.is-open .nav-mobile-backdrop {
  opacity: 1;
}

.nav-mobile-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(300px, 86vw);
  background: #0a0807;
  border-left: 1px solid #2a2522;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.45);
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(0.23, 1, 0.32, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
}

.nav-mobile-menu.is-open .nav-mobile-panel {
  transform: translateX(0);
}

.nav-mobile-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1rem 1rem;
  border-bottom: 1px solid #2a2522;
  flex-shrink: 0;
}

.nav-mobile-panel-label {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 12px;
  letter-spacing: 3px;
  color: #c5a46e;
}

.nav-mobile-close {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 2px;
  color: #f8f1e9;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-mobile-close:hover {
  color: #c5a46e;
  border-color: rgba(197, 164, 110, 0.25);
}

.nav-mobile-links {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 0;
  flex: 1;
}

.nav-mobile-auth-section {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 0 0.75rem;
  border-top: 1px solid #2a2522;
  margin-top: auto;
}

.nav-mobile-link {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0.875rem 1.5rem;
  font-size: 13px;
  letter-spacing: 2px;
  color: #f8f1e9;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.nav-mobile-link:hover,
.nav-mobile-link:focus-visible {
  background-color: #1a1614;
  color: #c5a46e;
}

.nav-mobile-link--accent {
  color: #c5a46e;
  font-weight: 500;
}

.nav-mobile-cta-wrap {
  padding: 1.25rem 1.5rem 1.75rem;
  border-top: 1px solid #2a2522;
  flex-shrink: 0;
}

.nav-mobile-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  width: 100%;
  padding: 0.875rem 1.25rem;
  font-size: 11px;
  letter-spacing: 2.5px;
  font-weight: 500;
  color: #0a0807;
  background-color: #c5a46e;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.nav-mobile-cta:hover,
.nav-mobile-cta:focus-visible {
  background-color: #f8f1e9;
}

.nav-menu-open {
  overflow: hidden;
}

/* Mobile header layout */
@media (max-width: 767px) {
  nav .nav-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-left: 1.25rem;
    padding-right: 1rem;
    height: 3.75rem;
    min-height: 3.75rem;
  }

  nav .nav-logo {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    padding-right: 0.5rem;
  }

  nav .nav-logo-text {
    display: block;
    font-size: 14px !important;
    letter-spacing: 2px !important;
    color: #f8f1e9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  nav .nav-mobile-cluster {
    flex: 0 0 auto;
    gap: 0.5rem;
    align-items: center;
    padding-left: 0.625rem;
    border-left: 1px solid rgba(42, 37, 34, 0.9);
  }

  nav .nav-mobile-cluster::before {
    display: none;
  }

  nav .nav-mobile-cluster--solo {
    padding-left: 0;
    border-left: none;
  }

  nav .nav-auth {
    gap: 0.25rem;
  }

  nav .nav-cta {
    display: none !important;
  }

  /* Hide auth elements when toggled off by auth.js */
  nav .nav-auth #nav-login.nav-auth-hidden,
  nav #nav-user-group.nav-auth-hidden,
  nav #nav-user-menu.nav-auth-hidden,
  #nav-mobile-menu-login.nav-auth-hidden,
  .nav-mobile-auth-section .nav-mobile-link--auth.nav-auth-hidden {
    display: none !important;
  }

  /* Shared pill style for Login + Account (visible state only) */
  nav .nav-auth .nav-auth-pill:not(.nav-auth-hidden),
  nav .nav-auth #nav-login:not(.nav-auth-hidden),
  nav .nav-auth #nav-account-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    height: 44px;
    min-height: 44px;
    padding: 0 0.875rem;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.75px;
    line-height: 1;
    color: #c5a46e;
    border: 1px solid rgba(197, 164, 110, 0.5);
    border-radius: 22px;
    background: rgba(197, 164, 110, 0.08);
    box-sizing: border-box;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
  }

  nav .nav-auth #nav-login:hover,
  nav .nav-auth #nav-login:focus-visible,
  nav .nav-auth #nav-account-btn:hover,
  nav .nav-auth #nav-account-btn:focus-visible {
    color: #f8f1e9;
    background: rgba(197, 164, 110, 0.18);
    border-color: #c5a46e;
  }

  nav .nav-auth #nav-account-btn svg {
    width: 0.6875rem;
    height: 0.6875rem;
    opacity: 0.85;
    flex-shrink: 0;
  }

  nav .nav-hamburger {
    width: 44px;
    height: 44px;
    border: 1px solid #2a2522;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.02);
  }

  nav .nav-hamburger.is-active {
    border-color: rgba(197, 164, 110, 0.45);
    background: rgba(197, 164, 110, 0.06);
  }
}

/* ============================================
   MOBILE LAYOUT POLISH
   ============================================ */

@media (max-width: 767px) {
  /* Account dropdown — fixed position below header */
  .nav-auth #nav-account-dropdown {
    position: fixed;
    top: 3.875rem;
    right: 1rem;
    left: auto;
    z-index: 70;
    min-width: 11rem;
    border-top: 2px solid rgba(197, 164, 110, 0.4);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  }

  .nav-auth #nav-account-dropdown a {
    min-height: 48px;
    display: flex;
    align-items: center;
    font-size: 13px;
    letter-spacing: 0.5px;
  }

  /* Mobile drawer — align with header height */
  .nav-mobile-panel-header {
    padding-top: 1.375rem;
    padding-bottom: 1rem;
  }

  /* ── Homepage ── */
  .page-home header h1 {
    font-size: clamp(2.75rem, 12vw, 4.25rem) !important;
    line-height: 0.92;
    letter-spacing: -1px;
  }

  .page-home header .relative.z-10 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .page-home header .relative.z-10 p {
    font-size: 1.125rem;
    line-height: 1.45;
    margin-bottom: 2.25rem;
    padding: 0 0.5rem;
  }

  .page-home header .relative.z-10 .flex {
    gap: 0.875rem;
    padding: 0 0.25rem;
  }

  .page-home header .relative.z-10 .flex a {
    min-height: 52px;
    width: 100%;
    max-width: 300px;
    padding: 0.875rem 1.25rem;
    font-size: 12px;
  }

  .page-home #manifesto h2,
  .page-home #art h3,
  .page-home #experience h3 {
    font-size: clamp(1.875rem, 7.5vw, 2.75rem) !important;
    line-height: 1.08 !important;
  }

  .page-home #manifesto,
  .page-home #experience {
    padding-left: 1.375rem;
    padding-right: 1.375rem;
  }

  .page-home #manifesto {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .page-home #manifesto .text-center.mb-16 {
    margin-bottom: 2rem !important;
  }

  .page-home #manifesto .text-center.mb-16 > div {
    margin-bottom: 0.75rem !important;
    font-size: 10px;
    letter-spacing: 3.5px;
  }

  .page-home #manifesto .grid {
    gap: 2rem !important;
  }

  .page-home #manifesto .md\:col-span-3 {
    margin-bottom: 0.25rem;
  }

  .page-home #manifesto .text-\[17px\] {
    font-size: 0.9375rem;
    line-height: 1.75;
    letter-spacing: 0.01em;
  }

  .page-home #manifesto .text-\[17px\] p {
    margin-bottom: 1.25rem !important;
  }

  .page-home #manifesto .text-\[17px\] p:last-child {
    margin-bottom: 0 !important;
  }

  .page-home #art {
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
  }

  .page-home #art .max-w-6xl {
    padding-left: 1.375rem;
    padding-right: 1.375rem;
  }

  .page-home #art .flex.flex-col.mb-14 {
    margin-bottom: 2rem !important;
    gap: 0.75rem;
  }

  .page-home #art .flex.flex-col.mb-14 p {
    font-size: 0.9375rem;
    line-height: 1.65;
    max-width: 100%;
  }

  .page-home #art .grid {
    gap: 0.875rem !important;
  }

  .page-home #art .grid > div {
    padding: 1.375rem !important;
  }

  .page-home #art .grid > div .mb-8 {
    margin-bottom: 0.875rem !important;
  }

  .page-home #art .grid > div .font-serif.text-3xl {
    font-size: 1.5rem !important;
  }

  .page-home #art .grid > div p {
    font-size: 0.9375rem;
    line-height: 1.65;
  }

  .page-home #experience {
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
  }

  .page-home #experience .text-center.mb-16 {
    margin-bottom: 2rem !important;
  }

  .page-home #experience .space-y-px > div {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    gap: 0.5rem;
  }

  .page-home #experience .space-y-px > div > div:last-child {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #d9c8b0;
  }

  /* Long-form text on content pages */
  .page-home section p,
  .page-membership section p,
  .page-profile section p,
  section.max-w-3xl p,
  section.max-w-4xl p {
    line-height: 1.75;
  }

  /* ── Archive page ── */
  .page-archive header.pt-24 {
    padding-top: 5.25rem;
    padding-bottom: 2rem;
  }

  .page-archive header.pt-24 h1 {
    font-size: clamp(2rem, 9vw, 3.25rem) !important;
    margin-bottom: 0.75rem !important;
  }

  .page-archive header.pt-24 p {
    font-size: 1rem;
    line-height: 1.55;
    padding: 0 0.75rem;
  }

  .page-archive .archive-search-wrap {
    position: sticky;
    top: 3.75rem;
    z-index: 40;
    padding-top: 1.25rem;
    padding-bottom: 0.875rem;
    padding-left: 1.125rem;
    padding-right: 1.125rem;
    background: linear-gradient(to bottom, #0a0807 75%, rgba(10, 8, 7, 0));
  }

  .page-archive .archive-search-inner {
    max-width: 100%;
  }

  .page-archive #search-input {
    min-height: 50px;
    font-size: 16px;
    padding: 0.875rem 1.125rem;
    border-radius: 1px;
    background-color: #0d0b09;
  }

  .page-archive .archive-gallery-section {
    padding-top: 0.5rem !important;
    padding-bottom: 2.5rem !important;
    padding-left: 1.125rem !important;
    padding-right: 1.125rem !important;
  }

  #gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.625rem !important;
  }

  #gallery .archive-card {
    border-radius: 2px;
    -webkit-tap-highlight-color: transparent;
  }

  #gallery .archive-card:active {
    transform: scale(0.985);
    border-color: rgba(197, 164, 110, 0.45);
  }

  #gallery .archive-card .archive-card-body {
    padding: 0.625rem 0.5rem 0.75rem !important;
  }

  #gallery .archive-card-title {
    font-size: 0.8125rem !important;
    line-height: 1.35 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  #gallery .archive-card-meta {
    margin-top: 0.375rem !important;
    gap: 0.375rem !important;
  }

  #gallery .archive-card-model {
    font-size: 10px !important;
    line-height: 1.3;
  }

  #gallery .archive-card-date {
    font-size: 8px !important;
    letter-spacing: 1.25px !important;
    opacity: 0.9;
  }

  #gallery .archive-card p.text-sm {
    display: none;
  }

  #gallery .archive-card .absolute .text-sm {
    font-size: 10px !important;
    line-height: 1.3;
  }

  #gallery .archive-card .absolute .text-\[10px\] {
    font-size: 7px !important;
    letter-spacing: 2px !important;
  }

  #gallery .archive-card .absolute .bg-black\/70 {
    padding: 0.375rem 0.5rem !important;
    border-radius: 2px;
  }

  /* ── Photoshoot detail pages (high priority) ── */
  .photoshoot-detail header {
    padding-top: 5.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  .photoshoot-detail header .max-w-4xl {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .photoshoot-detail header a[href*="photoshoots"] {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 0.5rem;
    margin-bottom: 1.25rem !important;
    font-size: 11px;
    letter-spacing: 2.5px;
  }

  .photoshoot-detail header h1 {
    font-size: clamp(2.125rem, 9.5vw, 3.25rem) !important;
    line-height: 0.95 !important;
    margin-bottom: 1rem !important;
    padding: 0 0.25rem;
  }

  .photoshoot-detail header .flex.flex-col {
    gap: 0.375rem;
    font-size: 0.9375rem;
  }

  .photoshoot-detail header .text-\[\#c5a46e\] {
    letter-spacing: 2.5px;
  }

  .photoshoot-detail .max-w-2xl {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
    padding-top: 2rem !important;
    padding-bottom: 1rem !important;
  }

  .photoshoot-detail .max-w-2xl p {
    font-size: 1rem !important;
    line-height: 1.7 !important;
    color: #d9c8b0;
  }

  .photoshoot-detail section.max-w-7xl {
    padding-left: 1.125rem !important;
    padding-right: 1.125rem !important;
    padding-top: 1.25rem !important;
    padding-bottom: 2.75rem !important;
  }

  .photoshoot-detail section .text-xs.tracking-\[4px\] {
    margin-bottom: 1rem !important;
    font-size: 11px;
    letter-spacing: 3.5px;
  }

  .photoshoot-detail .photoshoot-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.5rem !important;
  }

  .photoshoot-detail .photoshoot-gallery .group,
  .photoshoot-detail .photoshoot-gallery .relative {
    border-radius: 1px;
  }

  .photoshoot-detail .photoshoot-gallery img {
    -webkit-tap-highlight-color: transparent;
  }

  .photoshoot-detail .photoshoot-gallery .absolute .text-\[10px\] {
    font-size: 8px !important;
    letter-spacing: 2.5px !important;
  }

  .photoshoot-detail .photoshoot-gallery .absolute .text-sm {
    font-size: 11px !important;
    line-height: 1.35;
  }

  .photoshoot-detail .photoshoot-gallery .absolute .bg-black\/70 {
    padding: 0.5rem 0.625rem !important;
  }

  .photoshoot-detail section.border-t a[href*="membership"],
  .photoshoot-detail section a[href*="membership"] {
    min-height: 56px !important;
    padding: 1rem 1.5rem !important;
    font-size: 12px !important;
    letter-spacing: 2.5px !important;
    width: 100%;
    max-width: 100%;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
  }

  .photoshoot-detail section.border-t {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  .photoshoot-detail section.border-t .max-w-md {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .photoshoot-detail section.border-t p {
    margin-top: 1.25rem !important;
    font-size: 11px;
    line-height: 1.5;
    padding: 0 0.5rem;
  }

  /* ── Profile ── */
  .page-profile header {
    padding-top: 5.25rem;
    padding-bottom: 2.5rem;
  }

  .page-profile header h1 {
    font-size: clamp(2rem, 8vw, 3rem) !important;
  }

  .page-profile section.max-w-xl {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .page-profile #profile-content .p-8 {
    padding: 1.5rem;
  }

  .page-profile #profile-content .text-xl {
    font-size: 1.0625rem;
  }

  .page-profile #profile-content a,
  .page-profile #profile-content button {
    min-height: 48px;
  }

  /* ── Membership ── */
  .page-membership header {
    padding-top: 5.25rem;
    padding-bottom: 2.5rem;
  }

  .page-membership header h1 {
    font-size: clamp(2rem, 9vw, 3rem) !important;
  }

  .page-membership header p {
    font-size: 1.0625rem;
    line-height: 1.55;
    padding: 0 0.5rem;
  }

  .page-membership section {
    padding-left: 1.375rem !important;
    padding-right: 1.375rem !important;
  }

  .page-membership section.max-w-3xl {
    padding-top: 2.5rem !important;
    padding-bottom: 2rem !important;
  }

  .page-membership section.max-w-3xl p {
    font-size: 0.9375rem;
    line-height: 1.75;
    margin-bottom: 1.25rem;
  }

  .page-membership .grid > div {
    padding: 1.375rem !important;
  }

  .page-membership .grid > div .font-serif.text-\[56px\] {
    font-size: 2.75rem !important;
  }

  .page-membership a[href*="checkout.php"] {
    min-height: 52px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
    font-size: 13px !important;
    letter-spacing: 1.5px !important;
  }

  .page-membership .border.border-\[\#2a2522\].p-6 {
    padding: 1.25rem !important;
  }

  /* ── Touch-friendly buttons site-wide ── */
  a[class*="bg-[#c5a46e]"],
  button[type="submit"],
  a[class*="border-[#c5a46e]"]:not(.group):not(.nav-mobile-cta) {
    min-height: 48px;
    -webkit-tap-highlight-color: transparent;
  }

  /* ── Footer ── */
  footer {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  footer .flex {
    text-align: center;
    gap: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  footer .flex.gap-x-6 {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.875rem 1.5rem;
  }

  footer .flex.gap-x-6 a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* Lightbox mobile */
@media (max-width: 767px) {
  #lightbox {
    padding: 0 !important;
    align-items: stretch !important;
    justify-content: center !important;
  }

  #lightbox .relative {
    max-width: 100vw !important;
    max-height: 100vh !important;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3.5rem 0.75rem 6.5rem;
  }

  #lightbox-img {
    max-height: calc(100vh - 10rem) !important;
    max-width: 100% !important;
    touch-action: pan-y pinch-zoom;
    -webkit-user-select: none;
    user-select: none;
  }

  #lightbox-close {
    position: fixed !important;
    top: 0.75rem !important;
    right: 0.75rem !important;
    width: 52px !important;
    height: 52px !important;
    font-size: 32px !important;
    background: rgba(10, 8, 7, 0.9) !important;
    border: 1px solid #2a2522 !important;
    z-index: 210 !important;
    -webkit-tap-highlight-color: transparent;
  }

  #lightbox-prev,
  #lightbox-next {
    position: fixed !important;
    top: auto !important;
    bottom: 1.5rem !important;
    transform: none !important;
    width: 56px !important;
    height: 56px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: rgba(10, 8, 7, 0.92) !important;
    border: 1px solid rgba(197, 164, 110, 0.35) !important;
    border-radius: 50% !important;
    font-size: 24px !important;
    padding: 0 !important;
    z-index: 210 !important;
    -webkit-tap-highlight-color: transparent;
  }

  #lightbox-prev {
    left: 1.25rem !important;
  }

  #lightbox-next {
    right: 1.25rem !important;
  }

  #lightbox-counter {
    position: fixed !important;
    bottom: 5.5rem !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    font-size: 12px !important;
    letter-spacing: 3.5px !important;
    color: #c5a46e !important;
    z-index: 210 !important;
  }
}

/* Accessibility + Premium feel */
a:focus-visible,
button:focus-visible {
  outline: 1px solid #c5a46e;
  outline-offset: 3px;
}

/* Subtle luxurious border treatment */
.border-\[\#2a2522\] {
  border-color: #2a2522;
}

/* Darker, richer overall mood */
.bg-\[\#070505\] {
  background-color: #070505;
}
