/*
Theme Name: ZenStones
Theme URI: https://zenstones.ru
Author: ZenStones
Author URI: https://zenstones.ru
Description: Премиальная тема для магазина украшений из натуральных камней. Тёмный и светлый режим.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: zenstones
*/

/* ============================================================
   CSS VARIABLES & THEMING
   ============================================================ */

:root {
  /* Dark mode (default) */
  --bg:        #0c0b09;
  --bg2:       #141210;
  --bg3:       #1c1a16;
  --surface:   #211f1a;
  --border:    rgba(201,168,76,0.18);
  --gold:      #c9a84c;
  --gold-dim:  #a07a2a;
  --gold-glow: rgba(201,168,76,0.15);
  --text:      #e8dfc8;
  --text-muted:#9a8f78;
  --text-dim:  #5c5448;
  --white:     #f0ead8;
  --shadow:    rgba(0,0,0,0.6);

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;

  /* Spacing */
  --gap:   2rem;
  --r:     4px;
  --r-lg:  12px;

  /* Transitions */
  --t: 0.35s ease;
}

body.light-mode {
  --bg:        #f0ece2;
  --bg2:       #e8e2d6;
  --bg3:       #ddd7c8;
  --surface:   #d4cebe;
  --border:    rgba(120,90,30,0.2);
  --gold:      #8a6420;
  --gold-dim:  #6b4e18;
  --gold-glow: rgba(138,100,32,0.12);
  --text:      #1c1a14;
  --text-muted:#5a5040;
  --text-dim:  #8a806a;
  --white:     #1c1a14;
  --shadow:    rgba(0,0,0,0.15);
}

/* ============================================================
   RESET & BASE
   ============================================================ */

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

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  transition: background var(--t), color var(--t);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { color: var(--gold); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--gold-dim); }
ul { list-style: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

h1,h2,h3,h4,h5 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--white);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
}

/* ============================================================
   UTILITY
   ============================================================ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container--narrow { max-width: 760px; margin: 0 auto; padding: 0 1.5rem; }

.section-pad { padding: 7rem 0; }
@media(max-width:768px){ .section-pad { padding: 4rem 0; } }

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

/* Grain overlay texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.5;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all var(--t);
  position: relative;
  overflow: hidden;
}

.btn--gold {
  background: var(--gold);
  color: #0c0b09;
}
.btn--gold:hover {
  background: var(--gold-dim);
  color: #0c0b09;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201,168,76,0.3);
}

.btn--outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn--outline:hover {
  background: var(--gold);
  color: #0c0b09;
  transform: translateY(-2px);
}

/* ============================================================
   HEADER / NAV
   ============================================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.2rem 0;
  transition: background var(--t), padding var(--t), backdrop-filter var(--t);
}

.site-header.scrolled {
  background: rgba(12,11,9,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
}

body.light-mode .site-header.scrolled {
  background: rgba(240,236,226,0.92);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--white);
  text-transform: uppercase;
}
.nav-logo span { color: var(--gold); }
.nav-logo:hover { color: var(--white); }

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

.nav-menu a {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--t);
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--t);
}
.nav-menu a:hover { color: var(--gold); }
.nav-menu a:hover::after { width: 100%; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Theme toggle */
.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t);
  font-size: 1rem;
}
.theme-toggle:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-glow);
}

.icon-sun, .icon-moon { transition: opacity var(--t), transform var(--t); }
body:not(.light-mode) .icon-sun { display: none; }
body.light-mode .icon-moon { display: none; }

/* Burger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-muted);
  transition: all var(--t);
}
.nav-burger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.active span:nth-child(2) { opacity: 0; }
.nav-burger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media(max-width:768px){
  .nav-menu {
    position: fixed;
    top: 0; right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg2);
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    gap: 1.5rem;
    transition: right var(--t);
    border-left: 1px solid var(--border);
  }
  .nav-menu.open { right: 0; }
  .nav-menu a { font-size: 1rem; }
  .nav-burger { display: flex; }
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Animated geometric stone pattern */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(201,168,76,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(201,168,76,0.05) 0%, transparent 50%),
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(60,40,10,0.3) 0%, transparent 60%);
}

.hero-bg canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-content { }

.hero-title {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
  display: block;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 440px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

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

.hero-badges {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.hero-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--gold);
  font-weight: 300;
}
.hero-badge span {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* Hero visual (placeholder product showcase) */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-product-ring {
  position: relative;
  width: 420px;
  height: 420px;
}

.hero-product-ring::before,
.hero-product-ring::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
  animation: ringRotate 20s linear infinite;
}
.hero-product-ring::before {
  inset: 0;
  border-color: rgba(201,168,76,0.15);
}
.hero-product-ring::after {
  inset: 30px;
  border-color: rgba(201,168,76,0.08);
  animation-direction: reverse;
  animation-duration: 30s;
}

@keyframes ringRotate {
  to { transform: rotate(360deg); }
}

.hero-product-center {
  position: absolute;
  inset: 60px;
  border-radius: 50%;
  background: var(--bg3);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-product-center img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* Placeholder image when no real image */
.hero-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--gold-dim);
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-align: center;
  background: radial-gradient(circle at center, var(--bg3) 0%, var(--bg2) 100%);
}

.hero-img-placeholder svg {
  width: 64px;
  height: 64px;
  opacity: 0.4;
}

/* Floating dots */
.hero-dot {
  position: absolute;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.6;
  animation: floatDot 4s ease-in-out infinite;
}
.hero-dot:nth-child(1) { width: 6px; height: 6px; top: 15%; left: 10%; animation-delay: 0s; }
.hero-dot:nth-child(2) { width: 4px; height: 4px; top: 70%; left: 5%; animation-delay: 1s; }
.hero-dot:nth-child(3) { width: 8px; height: 8px; top: 30%; right: 8%; animation-delay: 2s; }
.hero-dot:nth-child(4) { width: 5px; height: 5px; top: 80%; right: 15%; animation-delay: 0.5s; }

@keyframes floatDot {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(-12px); opacity: 0.8; }
}

@media(max-width:900px){
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-subtitle { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-badges { justify-content: center; }
  .hero-visual { display: none; }
}

/* ============================================================
   MARQUEE STRIP
   ============================================================ */

.marquee-strip {
  background: var(--gold);
  padding: 0.75rem 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 0;
  animation: marqueeScroll 20s linear infinite;
  white-space: nowrap;
}

.marquee-track span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #0c0b09;
  padding: 0 2.5rem;
}

.marquee-track span::before {
  content: '◆';
  margin-right: 2.5rem;
  opacity: 0.4;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */

.section-about {
  background: var(--bg2);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-img-wrap {
  position: relative;
}

.about-img-frame {
  aspect-ratio: 3/4;
  background: var(--bg3);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}

.about-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.about-img-frame:hover img { transform: scale(1.04); }

.about-img-accent {
  position: absolute;
  width: 200px;
  height: 200px;
  bottom: -2rem;
  right: -2rem;
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.3rem;
}

.about-img-accent strong {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}
.about-img-accent span {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.about-text h2 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  margin-bottom: 1.5rem;
}
.about-text p {
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  font-size: 1rem;
}

.about-list {
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.about-list li::before {
  content: '—';
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

@media(max-width:768px){
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-img-accent { display: none; }
}

/* ============================================================
   PRODUCTS SECTION
   ============================================================ */

.section-products { background: var(--bg); }

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3.5rem;
  gap: 2rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

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

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

/* Product card */
.product-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
  cursor: pointer;
}

.product-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(201,168,76,0.1);
}

.product-img {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
  background: var(--bg3);
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.product-card:hover .product-img img { transform: scale(1.08); }

.product-badge {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  background: var(--gold);
  color: #0c0b09;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
}

.product-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--text-dim);
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

.product-info {
  padding: 1.2rem 1rem 1rem;
}

.product-stone {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

.product-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.product-desc {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-price {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold);
  font-weight: 400;
}

.product-link {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--t);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.product-card:hover .product-link { color: var(--gold); }

/* ============================================================
   FEATURES / WHY US
   ============================================================ */

.section-features {
  background: var(--bg2);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

@media(max-width:768px){ .features-grid { grid-template-columns: 1fr; } }

.feature-card {
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
  background: var(--bg);
  position: relative;
  transition: border-color var(--t), transform var(--t);
}

.feature-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.feature-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 1.5rem;
  color: var(--gold);
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--white);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.feature-num {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 300;
  color: var(--border);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* ============================================================
   STONES SECTION — parallax stone types
   ============================================================ */

.section-stones {
  background: var(--bg);
  overflow: hidden;
}

.stones-intro {
  max-width: 600px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.stones-intro h2 { font-size: clamp(2rem,4vw,3rem); margin-bottom: 1rem; }
.stones-intro p { color: var(--text-muted); }

.stones-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.stones-scroll::-webkit-scrollbar { height: 2px; }
.stones-scroll::-webkit-scrollbar-track { background: transparent; }
.stones-scroll::-webkit-scrollbar-thumb { background: var(--border); }

.stone-chip {
  flex-shrink: 0;
  width: 180px;
  padding: 1.5rem 1.2rem;
  border: 1px solid var(--border);
  background: var(--bg2);
  text-align: center;
  transition: border-color var(--t), transform var(--t);
  cursor: default;
}

.stone-chip:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.stone-chip-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  border: 2px solid var(--border);
}

.stone-chip-name {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.stone-chip-prop {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ============================================================
   CTA BANNER
   ============================================================ */

.section-cta {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  padding: 5rem 0;
}

.cta-text h2 {
  font-size: clamp(2rem,4vw,3rem);
  margin-bottom: 1rem;
}
.cta-text p { color: var(--text-muted); max-width: 500px; }

@media(max-width:768px){
  .cta-inner { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
  .cta-text p { margin-inline: auto; }
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media(max-width:900px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:480px){ .footer-grid { grid-template-columns: 1fr; } }

.footer-brand .nav-logo { display: inline-block; margin-bottom: 1rem; }

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-dim);
  max-width: 280px;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 0.9rem;
  transition: all var(--t);
}
.social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-glow);
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

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

.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--text-dim);
  transition: color var(--t);
}
.footer-col ul li a:hover { color: var(--gold); }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ============================================================
   INNER PAGES
   ============================================================ */

.page-hero {
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  padding: 3rem 0;
  padding-top: 100px;
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
}

.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
}

.page-content {
  padding: 5rem 0;
}

.page-content p {
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  font-size: 1rem;
  max-width: 720px;
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   WP MENU OVERRIDE
   ============================================================ */

.nav-menu.wp-menu { display: flex; }
.wp-menu li { list-style: none; }
.wp-menu li a {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--t);
  position: relative;
}
.wp-menu li a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--t);
}
.wp-menu li a:hover { color: var(--gold); }
.wp-menu li a:hover::after { width: 100%; }
