/* ── pawgallery — style.css ── */
/* ================================================================
   RIZZPAW Gallery — style.css
   Palette: #00272e (dark teal), #fecd8c (warm sand), #f8f0e3 (cream), #003d4a (dark accent)
   ================================================================ */

/* ---- Reset & Base -------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --teal:      #00272e;
  --teal-dark: #003d4a;
  --sand:      #fecd8c;
  --cream:     #f8f0e3;
  --cream-dim: #ede5d4;
  --white:     #ffffff;
  --text-light: rgba(248, 240, 227, 0.72);
  --text-dim:   rgba(248, 240, 227, 0.45);
  --gold-line:  rgba(254, 205, 140, 0.35);
  --gold-solid: #fecd8c;

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --container:        1160px;
  --container-narrow: 760px;
  --gap:              clamp(24px, 4vw, 48px);
  --section-pad:      clamp(72px, 10vw, 128px);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--teal);
  background: var(--cream);
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

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

.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;
}

/* Focus visible — accessibility */
:focus-visible {
  outline: 2px solid var(--sand);
  outline-offset: 3px;
}

/* ---- Layout Utilities ---------------------------------------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 60px);
}

.container-narrow {
  max-width: var(--container-narrow);
}

/* ---- Typography ---------------------------------------------- */
.label-uppercase {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-dark);
  display: block;
  margin-bottom: 16px;
}

.label-light {
  color: var(--text-dim);
}

.section-heading {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--teal);
  margin-bottom: 28px;
}

.section-heading-light {
  color: var(--cream);
}

/* ---- Gold Divider Line --------------------------------------- */
.gold-line {
  width: 100%;
  height: 1px;
  background: var(--gold-line);
  margin-block: 40px;
}

/* ---- Announcement Bar --------------------------------------- */
.announcement-bar {
  background: var(--teal-dark);
  color: var(--cream);
  text-align: center;
  padding: 10px 20px;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ---- Header -------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 39, 46, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gold-line);
}

.header-nav {
  max-width: var(--container);
  margin-inline: auto;
  padding: 0 clamp(20px, 5vw, 60px);
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
}

.nav-links a {
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--sand);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--sand);
}

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

.wordmark {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  line-height: 1;
  flex-shrink: 0;
}

.wordmark-main {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.0625rem;
  letter-spacing: 0.28em;
  color: var(--cream);
  text-transform: uppercase;
}

.wordmark-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--sand);
  margin-top: 2px;
}

.cart-icon {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-light);
  transition: color 0.3s ease;
  position: relative;
}

.cart-icon:hover {
  color: var(--sand);
}

.cart-count {
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.05em;
}

/* ---- Hero ---------------------------------------------------- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--teal);
}

.hero-bg {
  position: absolute;
  inset: -20% 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 60%, rgba(0, 61, 74, 0.9) 0%, transparent 70%),
    linear-gradient(160deg, #001f25 0%, #00272e 40%, #003d4a 70%, #002228 100%);
  will-change: transform;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-inline: clamp(20px, 6vw, 80px);
  max-width: 860px;
}

.hero-label {
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 28px;
  opacity: 0.85;
}

.hero-heading {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.75rem, 7.5vw, 6rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 28px;
}

.hero-subtitle {
  font-weight: 300;
  font-size: clamp(0.9375rem, 1.8vw, 1.1rem);
  line-height: 1.7;
  color: var(--text-light);
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: 48px;
  letter-spacing: 0.01em;
}

.btn-outline {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  border: 1px solid rgba(248, 240, 227, 0.4);
  padding: 16px 36px;
  transition: border-color 0.35s ease, color 0.35s ease, background 0.35s ease;
}

.btn-outline:hover {
  border-color: var(--sand);
  color: var(--sand);
  background: rgba(254, 205, 140, 0.06);
}

/* ---- Exhibition Intro --------------------------------------- */
.exhibition-intro {
  background: var(--cream);
  padding-block: var(--section-pad);
  text-align: center;
}

.exhibition-text {
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  font-weight: 300;
  line-height: 1.8;
  color: var(--teal);
  opacity: 0.85;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 0;
}

.exhibition-meta {
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  opacity: 0.4;
  text-align: center;
}

/* ---- Featured Works ----------------------------------------- */
.featured-works {
  background: var(--teal);
  padding-block: var(--section-pad);
}

.featured-header {
  margin-bottom: clamp(40px, 6vw, 72px);
}

.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: start;
}

.featured-large {
  grid-row: 1 / 3;
}

.featured-img-wrap {
  overflow: hidden;
  position: relative;
}

.featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              filter 0.9s ease;
  filter: saturate(0.85);
}

.featured-img-wrap:hover .featured-img {
  transform: scale(1.03);
  filter: saturate(1);
}

.featured-large .featured-img-wrap {
  aspect-ratio: 4 / 5;
}

.featured-small .featured-img-wrap {
  aspect-ratio: 4 / 3;
}

.featured-stack {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.featured-caption {
  padding-top: 16px;
}

.piece-number {
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sand);
  opacity: 0.6;
  display: block;
  margin-bottom: 6px;
}

.piece-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--cream);
  margin-bottom: 4px;
  line-height: 1.3;
}

.piece-meta {
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--text-dim);
  letter-spacing: 0.03em;
}

.piece-price {
  color: var(--sand);
  opacity: 0.8;
}

/* ---- Products Grid ------------------------------------------ */
.products-grid {
  background: var(--cream);
  padding-block: var(--section-pad);
}

.section-header-centered {
  text-align: center;
  margin-bottom: clamp(48px, 7vw, 80px);
}

.section-header-centered .label-uppercase {
  display: block;
  text-align: center;
}

.section-header-centered .section-heading {
  text-align: center;
  margin-bottom: 0;
}

.products-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 4vw, 40px);
}

.product-card {
  /* no border — pure spacing */
}

.product-link {
  display: block;
}

.product-img-wrap {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  margin-bottom: 20px;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              filter 0.9s ease;
  filter: saturate(0.5);
}

.product-link:hover .product-img,
.product-link:focus-visible .product-img {
  transform: scale(1.03);
  filter: saturate(1);
}

.product-info {
  padding-inline: 0;
}

.product-edition {
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  opacity: 0.45;
  margin-bottom: 5px;
}

.product-name {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.125rem;
  color: var(--teal);
  margin-bottom: 6px;
  line-height: 1.3;
}

.product-price {
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--teal);
  opacity: 0.55;
  letter-spacing: 0.03em;
}

/* ---- Gallery Wings ------------------------------------------ */
.wings {
  background: var(--teal-dark);
  padding-block: var(--section-pad);
}

.wings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.wing-card {
  border-left: 1px solid var(--sand);
  transition: border-color 0.4s ease;
}

.wing-card:hover {
  border-left-color: var(--sand);
  border-left-width: 2px;
}

.wing-inner {
  padding: 32px 32px 32px 28px;
}

.wing-number {
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sand);
  opacity: 0.5;
  margin-bottom: 12px;
}

.wing-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.375rem;
  color: var(--cream);
  margin-bottom: 16px;
  line-height: 1.25;
}

.wing-desc {
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-light);
  margin-bottom: 28px;
}

.wing-link {
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sand);
  opacity: 0.7;
  transition: opacity 0.3s ease, letter-spacing 0.3s ease;
}

.wing-link:hover {
  opacity: 1;
  letter-spacing: 0.22em;
}

/* ---- Atelier ------------------------------------------------ */
.atelier {
  background: var(--teal);
  padding-block: var(--section-pad);
}

.atelier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 8vw, 100px);
  align-items: start;
}

.atelier-body {
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-light);
  margin-bottom: 20px;
}

.principles-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.principle {
  display: flex;
  gap: 24px;
  padding-block: 28px;
  border-bottom: 1px solid var(--gold-line);
}

.principle:first-child {
  border-top: 1px solid var(--gold-line);
}

.principle-num {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1rem;
  color: var(--sand);
  opacity: 0.4;
  flex-shrink: 0;
  width: 28px;
  padding-top: 2px;
  letter-spacing: 0.05em;
}

.principle-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.0625rem;
  color: var(--cream);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.principle-desc {
  font-size: 0.8125rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-light);
  opacity: 0.8;
}

/* ---- Press / Reviews ---------------------------------------- */
.press {
  background: var(--cream-dim);
  padding-block: var(--section-pad);
  text-align: center;
}

.press .section-heading {
  margin-bottom: 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 48px);
  margin-block: clamp(40px, 6vw, 64px);
  text-align: left;
}

.review {
  border: none;
  background: none;
}

.review-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(0.9375rem, 1.6vw, 1.0625rem);
  line-height: 1.7;
  color: var(--teal);
  margin-bottom: 20px;
}

.review-author {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--teal);
  opacity: 0.55;
}

.review-pub {
  font-style: normal;
  opacity: 0.7;
}

/* ---- Newsletter --------------------------------------------- */
.newsletter {
  background: var(--teal);
  padding-block: var(--section-pad);
  text-align: center;
}

.newsletter-label {
  margin-inline: auto;
}

.newsletter-text {
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-light);
  max-width: 480px;
  margin-inline: auto;
  margin-bottom: 44px;
}

.newsletter-form {
  max-width: 480px;
  margin-inline: auto;
}

.newsletter-input-wrap {
  display: flex;
  border: 1px solid rgba(248, 240, 227, 0.25);
  transition: border-color 0.3s ease;
}

.newsletter-input-wrap:focus-within {
  border-color: var(--sand);
}

.newsletter-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 16px 20px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 300;
  letter-spacing: 0.03em;
  color: var(--cream);
}

.newsletter-input::placeholder {
  color: var(--text-dim);
}

.newsletter-btn {
  padding: 16px 24px;
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--sand);
  border: none;
  transition: background 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  cursor: pointer;
}

.newsletter-btn:hover {
  background: var(--cream);
}

.newsletter-note {
  font-size: 0.6875rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-top: 16px;
}

/* ---- Footer ------------------------------------------------- */
.site-footer {
  background: var(--teal-dark);
  padding-block: clamp(48px, 7vw, 80px) 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  margin-bottom: 48px;
  align-items: start;
}

.footer-wordmark {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.28em;
  color: var(--cream);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.footer-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.8125rem;
  color: var(--sand);
  margin-bottom: 16px;
  opacity: 0.8;
}

.footer-tagline {
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.6;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a {
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--text-light);
  opacity: 0.6;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.footer-nav a:hover {
  opacity: 1;
  color: var(--sand);
}

.footer-legal {
  font-size: 0.6875rem;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 2;
}

.footer-legal-links a {
  color: var(--text-dim);
  transition: color 0.3s ease;
}

.footer-legal-links a:hover {
  color: var(--sand);
}

.footer-gold-line {
  width: 100%;
  height: 1px;
  background: var(--gold-line);
  margin-bottom: 24px;
}

.footer-credit {
  font-size: 0.625rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: center;
}

/* ---- Scroll Reveal ------------------------------------------ */
.reveal,
.reveal-child {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-child {
  transition-delay: calc(var(--child-index, 0) * 0.12s);
}

.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .reveal,
  .reveal-child {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .featured-img,
  .product-img {
    transition: none;
  }

  .hero-bg {
    will-change: auto;
  }
}

/* ---- Responsive — 960px ------------------------------------- */
@media (max-width: 960px) {
  .products-list {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* ---- Responsive — 768px ------------------------------------- */
@media (max-width: 768px) {
  .nav-links.nav-left {
    display: none;
  }

  .nav-links.nav-right li:not(:last-child) {
    display: none;
  }

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

  .featured-large {
    grid-row: auto;
  }

  .featured-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

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

  .atelier-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

/* ---- Responsive — 480px ------------------------------------- */
@media (max-width: 480px) {
  .hero-heading {
    font-size: 2.5rem;
  }

  .products-list {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .featured-stack {
    grid-template-columns: 1fr;
  }

  .newsletter-input-wrap {
    flex-direction: column;
  }

  .newsletter-btn {
    width: 100%;
    padding-block: 14px;
  }

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

/* ── Custom Sand Dot Cursor (desktop only) ─────────────── */
@media (pointer: fine) {
  body:not(.default-cursor) { cursor: none; }
}
body.default-cursor,
body.default-cursor * { cursor: auto !important; }
body.default-cursor #galleryCursor { display: none !important; }

#galleryCursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sand);
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 6px rgba(254, 205, 140, 0.5);
}

/* ── Cream dot trail ──────────────────────────────────── */
.gallery-trail {
  position: fixed;
  pointer-events: none;
  z-index: 99990;
  border-radius: 50%;
  background: rgba(254, 205, 140, 0.55);
  animation: gallery-trail-fade 1.6s ease-out forwards;
}
@keyframes gallery-trail-fade {
  0%   { opacity: 0.6; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.2); }
}

/* ── Cursor Controls ───────────────────────────────────── */
.cursor-controls {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  gap: 8px;
}
.cursor-ctrl {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(254, 205, 140, 0.6);
  font-size: 0.6rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.cursor-ctrl:hover { background: rgba(254,205,140,0.12); color: var(--sand); }
.cursor-ctrl.off { opacity: 0.35; }
.cursor-ctrl__icon { font-size: 1rem; }
.cursor-ctrl__label { font-family: inherit; letter-spacing: 0.05em; text-transform: uppercase; }

/* ── Back to Landing ───────────────────────────────────── */


/* === MJ Graphics === */
.hero {
  background-image: linear-gradient(to bottom, rgba(20,35,35,0.5), rgba(20,35,35,0.5)), url('gallery_hero.png');
  background-size: cover;
  background-position: center;
}



.wing-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  filter: sepia(0.2) saturate(0.9);
  transition: filter 0.3s, transform 0.4s;
}
.wing-card:hover .wing-img {
  filter: sepia(0) saturate(1);
  transform: scale(1.03);
}
.atelier-img {
  width: 100%;
  max-width: 500px;
  border-radius: 0.5rem;
  filter: sepia(0.15);
}


/* Back to landing */
.back-to-landing {
  position: fixed;
  top: 130px;
  left: 24px;
  z-index: 110;
  padding: 10px 18px;
  background: rgba(20,40,45,0.9); border: 1px solid rgba(254,205,140,0.3); box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  color: #fff;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
  transition: transform 0.3s, background 0.3s;
  text-decoration: none;
}
.back-to-landing:hover { transform: translateY(-2px); background: rgba(25,50,55,1); box-shadow: 0 4px 20px rgba(254,205,140,0.4); }



/* ── Defensive: force reveal-active for visibility ── */
.reveal, .reveal-left, .reveal-right, .reveal-scale, .reveal-fade {
  opacity: 1 !important;
  transform: none !important;
}
/* ── Defensive: respect HTML hidden attribute (some vibes' CSS
   set display:flex on .mobile-nav etc. without honoring [hidden]) ── */
[hidden] { display: none !important; }
