/*
Theme Name: RHuntLaw
Theme URI: https://rhuntlaw.com
Author: Law Office of Russell D. Hunt, Sr.
Author URI: https://rhuntlaw.com
Description: Professional criminal defense law firm theme for Russell D. Hunt, Sr. — Waco, Texas. Texas Board Certified, NBTA Certified, Super Lawyers.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Private
Text Domain: rhuntlaw
Tags: law, legal, criminal-defense, professional, dark
*/

/* =============================================
   ROOT VARIABLES
   ============================================= */
:root {
  --navy: #0a0f1e;
  --deep: #0d1526;
  --gold: #c9a84c;
  --gold-light: #e8c96b;
  --gold-pale: #f5e6b8;
  --cream: #f8f4ec;
  --white: #ffffff;
  --gray: #8a9ab5;
  --light-gray: #d4dce8;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--navy);
  color: var(--cream);
  font-family: 'Cormorant Garamond', Georgia, serif;
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--gold-light); }

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.1;
  color: var(--white);
}

p { margin-bottom: 1rem; }

/* =============================================
   NAVIGATION
   ============================================= */
#masthead {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 15, 30, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 4rem;
  max-width: 1400px;
  margin: 0 auto;
}

.site-branding .site-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
  line-height: 1.2;
  margin: 0;
}

.site-branding .site-title a { color: var(--gold); }

.site-branding .site-description {
  font-size: 0.65rem;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  color: var(--gray);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0;
}

/* Primary Nav */
#primary-navigation ul {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

#primary-navigation a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--light-gray);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.3s;
}

#primary-navigation a:hover { color: var(--gold); }

#primary-navigation .menu-item-cta a {
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 0.5rem 1.4rem;
}

#primary-navigation .menu-item-cta a:hover {
  background: var(--gold);
  color: var(--navy);
}

/* Mobile hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-size: 1.2rem;
}

/* =============================================
   ANNIVERSARY BANNER
   ============================================= */
.anniversary-banner {
  background: linear-gradient(90deg, rgba(201,168,76,0.15), rgba(201,168,76,0.08), rgba(201,168,76,0.15));
  border-bottom: 1px solid rgba(201, 168, 76, 0.3);
  text-align: center;
  padding: 1rem 2rem;
  position: fixed;
  top: 82px;
  left: 0; right: 0;
  z-index: 99;
}

.anniversary-banner p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0;
}

.banner-star { color: var(--gold); font-size: 0.9rem; font-weight: 700; }

/* =============================================
   HERO SECTION
   ============================================= */
.hero-section {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
  padding-top: 105px;
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201,168,76,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(201,168,76,0.04) 0%, transparent 50%),
    linear-gradient(135deg, #0a0f1e 0%, #0d1a2e 50%, #0a0f1e 100%);
}

.hero-pattern {
  position: absolute; inset: 0; opacity: 0.03;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(201,168,76,0.5) 40px, rgba(201,168,76,0.5) 41px),
    repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(201,168,76,0.5) 40px, rgba(201,168,76,0.5) 41px);
}

.hero-left {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: center;
  padding: 6rem 3rem 4rem 5rem;
}

.hero-eyebrow {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1.5rem;
  opacity: 0; animation: fadeUp 0.8s ease forwards 0.3s;
}

.hero-eyebrow-line { width: 40px; height: 1px; background: var(--gold); }

.hero-eyebrow span {
  font-size: 0.75rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--gold); font-weight: 500;
}

.hero-title {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 900; line-height: 1.05; color: var(--white);
  margin-bottom: 0.3rem;
  opacity: 0; animation: fadeUp 0.8s ease forwards 0.5s;
}

.hero-title .gold { color: var(--gold); }

.hero-subtitle {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 400; font-style: italic; color: var(--gray);
  margin-bottom: 1.2rem;
  opacity: 0; animation: fadeUp 0.8s ease forwards 0.65s;
}

.hero-badges {
  display: flex; gap: 0.6rem; flex-wrap: wrap;
  margin-bottom: 1.5rem;
  opacity: 0; animation: fadeUp 0.8s ease forwards 0.72s;
}

.hero-badge {
  font-size: 0.62rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--navy); background: var(--gold);
  padding: 0.3rem 0.8rem; font-weight: 700;
}

.hero-divider {
  width: 60px; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-bottom: 1.8rem;
  opacity: 0; animation: fadeUp 0.8s ease forwards 0.75s;
}

.hero-mission {
  font-size: 1.25rem; font-weight: 300; line-height: 1.75;
  color: #dde6f0; max-width: 480px;
  margin-bottom: 2.5rem; font-style: italic;
  opacity: 0; animation: fadeUp 0.8s ease forwards 0.85s;
}

.hero-mission strong { color: var(--gold-light); font-style: normal; font-weight: 600; }

.hero-actions {
  display: flex; gap: 1.2rem; align-items: center;
  opacity: 0; animation: fadeUp 0.8s ease forwards 1s;
}

.hero-right {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  padding: 5rem 2rem 4rem 1rem;
  opacity: 0; animation: fadeIn 1.2s ease forwards 0.6s;
}


/* Hero badge row — logo + anniversary circle side by side */
.hero-badge-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: nowrap !important;
  width: 100%;
}

.hero-logo-badge {
  width: 160px;
  height: 160px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 24px rgba(201,168,76,0.35));
  animation: fadeIn 1.2s ease forwards 0.4s;
  opacity: 0;
}

/* Anniversary badge circle */
.anniversary-circle {
  width: 320px; height: 320px; border-radius: 50%; flex-shrink: 0;
  border: 2px solid var(--gold);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  position: relative;
  background: radial-gradient(circle, rgba(201,168,76,0.1) 0%, transparent 70%);
  box-shadow: 0 0 100px rgba(201,168,76,0.22), inset 0 0 60px rgba(201,168,76,0.08);
  animation: pulse 3s ease-in-out infinite;
}

.anniversary-circle::before {
  content: '';
  position: absolute; inset: 8px;
  border-radius: 50%; border: 1px solid rgba(201,168,76,0.3);
}

.anniversary-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 7.6rem; color: var(--gold); line-height: 1;
}

.anniversary-label {
  font-size: 1.1rem; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--gold-pale); margin-top: 0.4rem;
}

.anniversary-est {
  font-size: 0.9rem; letter-spacing: 0.2em;
  color: var(--gray); text-transform: uppercase; margin-top: 0.2rem;
}

.hero-stats {
  display: flex; flex-direction: column; gap: 1.2rem;
  margin-top: 2.5rem; padding-top: 2rem;
  border-top: 1px solid rgba(201,168,76,0.15);
  width: 100%; max-width: 310px;
}

.stat-item { display: flex; align-items: center; gap: 1rem; }

.stat-icon {
  width: 36px; height: 36px;
  border: 1px solid rgba(201,168,76,0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1rem; flex-shrink: 0;
}

.stat-label { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gray); }
.stat-value { font-size: 0.95rem; color: var(--cream); font-weight: 600; }

/* =============================================
   BUTTONS
   ============================================= */
.btn-primary {
  background: var(--gold); color: var(--navy);
  padding: 1rem 2.2rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  border: none; cursor: pointer;
  transition: all 0.3s; display: inline-block;
}

.btn-primary:hover {
  background: var(--gold-light);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201,168,76,0.3);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 1rem 2.2rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  cursor: pointer; transition: all 0.3s; display: inline-block;
}

.btn-link-gold {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.88rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold); text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.4rem;
  transition: color 0.3s;
  border: none; background: none; padding: 0;
}
.btn-link-gold:hover { color: var(--gold-light); }

.btn-outline:hover {
  background: var(--gold); color: var(--navy);
}

.btn-link {
  color: var(--light-gray);
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 0.5rem;
  transition: color 0.3s;
}

.btn-link:hover { color: var(--gold); }



/* =============================================
   SECTION COMMONS
   ============================================= */
.site-section { padding: 6rem 5rem; position: relative; }
.site-section.bg-deep { background: var(--deep); }

.section-inner { max-width: 1400px; margin: 0 auto; }

.section-eyebrow {
  font-size: 0.7rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 0.7rem;
  display: flex; align-items: center; gap: 0.8rem;
}

.section-eyebrow::before { content: ''; width: 30px; height: 1px; background: var(--gold); }

.section-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700; color: var(--white); line-height: 1.1;
}

.section-heading em { color: var(--gold); font-style: italic; }

/* =============================================
   PRACTICE AREAS
   ============================================= */
.practice-header {
  display: flex; align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3.5rem;
}

.practice-header-note {
  max-width: 380px; color: var(--gray);
  font-size: 1rem; line-height: 1.7; text-align: right;
}

.charge-strip {
  display: flex; gap: 1.5rem; margin-bottom: 3rem;
}

.charge-item {
  flex: 1; border: 1px solid rgba(201,168,76,0.3);
  padding: 1.2rem 1.8rem;
  display: flex; align-items: center; gap: 1rem;
  background: rgba(201,168,76,0.04);
}

.charge-item-icon { font-size: 1.5rem; }
.charge-item-label { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gray); margin-bottom: 0.2rem; }
.charge-item-title { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: var(--gold); }

.practice-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5px; background: rgba(201,168,76,0.1);
}

.practice-card {
  background: var(--navy); padding: 2.5rem 2rem;
  position: relative; overflow: hidden;
  transition: all 0.4s ease;
}

.practice-card::before {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}

.practice-card:hover { background: var(--deep); transform: translateY(-3px); }
.practice-card:hover::before { transform: scaleX(1); }

.practice-card-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.5rem; color: rgba(201,168,76,0.08);
  position: absolute; top: 1rem; right: 1.5rem;
  line-height: 1; transition: color 0.4s;
}

.practice-card:hover .practice-card-number { color: rgba(201,168,76,0.15); }
.practice-card-icon { font-size: 1.8rem; margin-bottom: 1rem; }

.practice-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; font-weight: 700; color: var(--white);
  margin-bottom: 0.8rem; line-height: 1.2;
}

.practice-card-desc { font-size: 0.95rem; line-height: 1.65; color: var(--gray); font-weight: 300; }

.practice-card-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1rem; }

.practice-tag {
  font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(201,168,76,0.25);
  padding: 0.25rem 0.6rem;
}


/* Association badges in about section */
.about-badges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.4rem;
  align-items: center;
  justify-items: center;
  width: 100%;
}

.about-assoc-badge {
  width: 90px;
  height: 90px;
  object-fit: contain;
  display: block;
  border-radius: 4px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.5));
  transition: transform .3s, filter .3s;
  opacity: .92;
}

.about-assoc-badge:hover {
  transform: scale(1.08);
  opacity: 1;
  filter: drop-shadow(0 3px 12px rgba(201,168,76,.4));
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about-grid {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 5rem; align-items: start;
}

.about-photo-wrap {
  position: relative; max-width: 380px;
}

.about-photo-frame {
  position: relative;
  border: none;
  overflow: hidden;
}

.about-photo-frame img {
  width: 100%; display: block; object-fit: cover;
  filter: brightness(0.97) contrast(1.02);
}

.about-photo-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(10,15,30,0.9));
  padding: 2.5rem 1.5rem 1.5rem; text-align: center;
}

.about-name-plate {
  background: var(--gold); color: var(--navy);
  padding: 0.6rem 1.2rem; display: inline-block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem; letter-spacing: 0.1em; margin-bottom: 0.4rem;
}

.about-name-sub { font-size: 0.65rem; color: var(--gold-pale); letter-spacing: 0.2em; text-transform: uppercase; }

/* Corner accents */
.corner { display: none; }

/* Badges below photo */
.credentials-row {
  display: flex; gap: 1rem;
  margin-top: 1.5rem; align-items: flex-start;
}

.super-lawyers-img {
  width: 110px; height: auto;
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.super-lawyers-img:hover { transform: scale(1.05); }

.cert-list { display: flex; flex-direction: column; gap: 0.8rem; flex: 1; }

.cert-item {
  display: flex; align-items: center; gap: 1rem;
  border: 1px solid rgba(201,168,76,0.25);
  padding: 0.9rem 1rem;
  background: rgba(201,168,76,0.04);
}

.cert-icon {
  width: 38px; height: 38px; border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
  background: rgba(201,168,76,0.08);
}

.cert-name { font-family: 'Playfair Display', serif; font-size: 0.9rem; font-weight: 700; color: var(--gold-light); line-height: 1.2; }
.cert-sub { font-size: 0.72rem; color: var(--gray); margin-top: 0.15rem; }

/* About content */
.about-content p { font-size: 1.05rem; line-height: 1.85; color: var(--light-gray); margin-bottom: 1.2rem; font-weight: 300; }
.about-content p strong { color: var(--gold-light); font-weight: 600; }

.career-timeline {
  display: flex; margin-top: 1.5rem;
  border: 1px solid rgba(201,168,76,0.2); overflow: hidden;
}

.career-block { padding: 1.2rem 1.5rem; text-align: center; flex: 1; }
.career-block.prosecutor { background: rgba(201,168,76,0.06); border-right: 1px solid rgba(201,168,76,0.2); }
.career-block.defense { background: rgba(201,168,76,0.12); }
.career-years { font-family: 'Bebas Neue', sans-serif; font-size: 2.5rem; color: var(--gold); line-height: 1; }
.career-role { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gray); margin-top: 0.3rem; }
.career-detail { font-size: 0.8rem; color: var(--light-gray); margin-top: 0.2rem; }

.mission-block {
  border-left: 2px solid var(--gold);
  padding: 1.2rem 1.8rem; margin: 1.5rem 0;
  background: rgba(201,168,76,0.04);
}

.mission-block p {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; font-style: italic;
  color: var(--cream) !important; margin: 0 !important; line-height: 1.5;
}

/* =============================================
   CONTACT SECTION
   ============================================= */
.contact-section { background: var(--deep); padding: 5rem; }
.contact-inner { max-width: 1000px; margin: 0 auto; text-align: center; }

.contact-eyebrow {
  font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.7rem;
  display: flex; align-items: center; justify-content: center; gap: 0.8rem;
}

.contact-eyebrow::after { content: ''; width: 30px; height: 1px; background: var(--gold); }

.contact-tagline { font-size: 1.15rem; color: var(--gray); max-width: 500px; margin: 1rem auto 3rem; line-height: 1.7; font-weight: 300; }

.contact-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-bottom: 1.5rem; }
.contact-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-bottom: 3rem; }

.contact-card {
  border: 1px solid rgba(201,168,76,0.15);
  padding: 2rem 1.2rem; text-align: center;
  background: rgba(201,168,76,0.02); transition: all 0.3s;
}

.contact-card:hover { border-color: rgba(201,168,76,0.4); background: rgba(201,168,76,0.05); }
.contact-card-icon { font-size: 1.8rem; margin-bottom: 0.8rem; }
.contact-card-label { font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gray); margin-bottom: 0.4rem; }
.contact-card-value { font-size: 0.95rem; color: var(--cream); font-weight: 500; line-height: 1.6; }
.contact-card-value a { color: var(--cream); }
.contact-card-value a:hover { color: var(--gold); }

.cta-block {
  margin-top: 2rem; padding: 3rem;
  border: 1px solid rgba(201,168,76,0.2);
  background: radial-gradient(ellipse at center, rgba(201,168,76,0.05) 0%, transparent 70%);
}

.cta-block h3 { font-family: 'Playfair Display', serif; font-size: 1.8rem; color: var(--white); margin-bottom: 0.8rem; }
.cta-block p { font-size: 1rem; color: var(--gray); margin-bottom: 1.5rem; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* =============================================
   FOOTER
   ============================================= */
#colophon {
  background: #060a14;
  padding: 2.5rem 5rem;
  border-top: 1px solid rgba(201,168,76,0.1);
}

.footer-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1.2rem;
}

.footer-brand { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; color: var(--gold); line-height: 1.3; }
.footer-brand span { display: block; font-family: 'Cormorant Garamond', serif; font-size: 0.7rem; color: var(--gray); letter-spacing: 0.15em; text-transform: uppercase; font-weight: 400; }

.footer-nav { display: flex; gap: 2rem; }
.footer-nav a { font-size: 0.75rem; color: var(--gray); letter-spacing: 0.1em; text-transform: uppercase; transition: color 0.3s; }
.footer-nav a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(201,168,76,0.08);
  padding-top: 1.2rem;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 0.5rem;
}

.footer-bottom p { font-size: 0.75rem; color: var(--gray); margin: 0; }
.footer-bottom .gold-text { color: var(--gold); }
.footer-website a { font-size: 0.8rem; color: var(--gold); letter-spacing: 0.1em; }
.footer-website a:hover { color: var(--gold-light); }
.footer-legal { font-size: 0.7rem !important; color: var(--gray) !important; }

/* =============================================
   REVEAL ANIMATIONS
   ============================================= */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 40px rgba(201,168,76,0.1), inset 0 0 30px rgba(201,168,76,0.04); }
  50% { box-shadow: 0 0 70px rgba(201,168,76,0.2), inset 0 0 50px rgba(201,168,76,0.08); }
}

/* =============================================
   RESPONSIVE
   ============================================= */
/* =============================================
   RESPONSIVE — TABLET (max 1024px)
   ============================================= */
@media (max-width: 1024px) {
  .nav-container { padding: 1rem 2rem; }

  /* Hero: stack left/right vertically */
  .hero-section {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 120px;
  }
  .hero-left {
    padding: 7rem 2.5rem 3rem;
    text-align: center;
    align-items: center;
  }
  .hero-eyebrow { justify-content: center; }
  .hero-badges { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-mission { text-align: left; }

  /* Show hero-right but compact it */
  .hero-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 2rem 4rem;
  }
  .hero-badge-row {
    gap: 1.5rem;
  }
  .hero-logo-badge,
  .anniversary-circle {
    width: 260px;
    height: 260px;
  }
  .anniversary-number { font-size: 4rem; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-photo-wrap { max-width: 420px; margin: 0 auto; }
  .about-badges-grid { grid-template-columns: repeat(3, 1fr); }

  /* Practice grid */
  .practice-grid { grid-template-columns: repeat(2, 1fr); }

  /* Charge strip */
  .charge-strip { flex-wrap: wrap; }
  .charge-item { flex: 1 1 45%; }

  /* Sections */
  .site-section { padding: 3.5rem 2rem; }
  .contact-section { padding: 3.5rem 2rem; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .practice-header-note { text-align: left; }

  /* Footer */
  #colophon { padding: 2rem; }
  .footer-top { flex-direction: column; gap: 1.5rem; text-align: center; }
  .footer-bottom { justify-content: center; text-align: center; flex-direction: column; gap: .5rem; }
}

/* =============================================
   RESPONSIVE — MOBILE (max 768px)
   ============================================= */
@media (max-width: 768px) {
  /* Nav mobile menu */
  .menu-toggle { display: block; }
  #primary-navigation { display: none; width: 100%; }
  #primary-navigation.active { display: block; }
  #primary-navigation ul { flex-direction: column; gap: 0; padding: 1rem 0; }
  #primary-navigation li { border-bottom: 1px solid rgba(201,168,76,0.1); }
  #primary-navigation a { display: block; padding: 0.9rem 2rem; font-size: 1rem; }
  .nav-container { flex-wrap: wrap; }

  /* Hero */
  .hero-left { padding: 9rem 1.5rem 2.5rem; }
  .hero-title { font-size: clamp(2.2rem, 8vw, 3rem); }
  .hero-badge-row { flex-direction: row; gap: 1rem; }
  .hero-logo-badge,
  .anniversary-circle { width: 200px; height: 200px; }
  .anniversary-number { font-size: 5rem; }
  .hero-stats { max-width: 100%; }

  /* Banner */
  .anniversary-banner { padding: 0.75rem 1rem; top: 90px; }
  .anniversary-banner p { font-size: 0.85rem; letter-spacing: 0.12em; }

  /* Practice */
  .practice-grid { grid-template-columns: 1fr; }
  .charge-strip { flex-direction: column; }
  .charge-item { width: 100%; }

  /* About */
  .about-grid { grid-template-columns: 1fr; }
  .credentials-row { flex-direction: column; align-items: center; }
  .about-badges-grid { grid-template-columns: repeat(3, 1fr); gap: .6rem; }
  .about-assoc-badge { max-width: 60px; }

  /* Contact */
  .contact-grid-3,
  .contact-grid-4 { grid-template-columns: 1fr 1fr; }
  .cta-buttons { flex-direction: column; align-items: center; }

  /* Career timeline */
  .career-timeline { flex-direction: column; }

  /* Section padding */
  .site-section { padding: 3rem 1.5rem; }
  .contact-section { padding: 3rem 1.5rem; }
}

/* =============================================
   RESPONSIVE — SMALL MOBILE (max 480px)
   ============================================= */
@media (max-width: 480px) {
  /* Nav */
  .nav-container { padding: 0.8rem 1.2rem; }
  .site-title a { font-size: 0.9rem; }

  /* Hero */
  .hero-left { padding: 9rem 1.2rem 2rem; }
  .hero-title { font-size: clamp(2rem, 9vw, 2.6rem); }
  .hero-badges { gap: .35rem; }
  .hero-badge { font-size: .5rem; padding: .2rem .55rem; }
  .hero-mission { font-size: 1.05rem; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: .75rem; }
  .btn-primary,
  .btn-outline { text-align: center; width: 100%; }
  .hero-logo-badge,
  .anniversary-circle { width: 180px; height: 180px; }
  .anniversary-number { font-size: 3rem; }

  /* Banner */
  .anniversary-banner { top: 90px; }
  .anniversary-banner p { font-size: 0.75rem; letter-spacing: 0.08em; }

  /* Practice */
  .practice-card { padding: 1.5rem 1.2rem; }

  /* Contact */
  .contact-grid-3,
  .contact-grid-4 { grid-template-columns: 1fr; }

  /* About badges */
  .about-badges-grid { grid-template-columns: repeat(2, 1fr); }

  /* Footer */
  .footer-nav { flex-direction: column; gap: .8rem; text-align: center; }
  .footer-bottom p { font-size: .7rem; }
}

/* =============================================
   CONTACT PAGE (page-contact.php)
   ============================================= */

/* Page Hero */
.page-hero {
  position: relative;
  min-height: 280px;
  display: flex; align-items: center;
  overflow: hidden;
  margin-top: 105px;
  padding: 4rem 5rem;
}

.page-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(201,168,76,0.08) 0%, transparent 60%),
    linear-gradient(135deg, #0a0f1e 0%, #0d1a2e 60%, #0a0f1e 100%);
}

.page-hero-pattern {
  position: absolute; inset: 0; opacity: 0.03;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(201,168,76,0.5) 40px, rgba(201,168,76,0.5) 41px),
    repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(201,168,76,0.5) 40px, rgba(201,168,76,0.5) 41px);
}

.page-hero-inner { position: relative; z-index: 2; max-width: 700px; }

.page-hero-eyebrow {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1rem;
}

.page-hero-line { width: 40px; height: 1px; background: var(--gold); }

.page-hero-eyebrow span {
  font-size: 0.75rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--gold); font-weight: 500;
}

.page-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900; color: var(--white); line-height: 1.05;
  margin-bottom: 0.8rem;
}

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

.page-hero-subtitle {
  font-size: 1.15rem; color: var(--light-gray);
  font-style: italic; font-weight: 300;
}

/* Quick Contact Bar */
.quick-contact-bar {
  background: var(--gold);
  display: flex; align-items: stretch;
  padding: 0;
}

.quick-contact-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.4rem 3rem; flex: 1;
  color: var(--navy); text-decoration: none;
  transition: background 0.3s;
}

.quick-contact-item:hover { background: rgba(10,15,30,0.08); color: var(--navy); }

.qc-icon { font-size: 1.5rem; flex-shrink: 0; }

.qc-label {
  font-size: 0.65rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(10,15,30,0.6);
  font-weight: 600; margin-bottom: 0.2rem;
}

.qc-value { font-size: 1rem; font-weight: 700; color: var(--navy); }

.qc-divider { width: 1px; background: rgba(10,15,30,0.15); margin: 1rem 0; }

/* Main Contact Grid */
.contact-page { background: var(--navy); }

.contact-page-grid {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 0; max-width: 1400px; margin: 0 auto;
  padding: 5rem;
  align-items: start;
}

/* Info Column */
.contact-info-col { padding-right: 4rem; }

.contact-info-heading { margin-bottom: 2.5rem; }

.info-cards { display: flex; flex-direction: column; gap: 0; }

.info-card {
  display: flex; align-items: flex-start; gap: 1.2rem;
  padding: 1.2rem 1.4rem;
  border-bottom: 1px solid rgba(201,168,76,0.1);
  transition: background 0.3s;
}

.info-card:first-child { border-top: 1px solid rgba(201,168,76,0.1); }
.info-card:hover { background: rgba(201,168,76,0.04); }

.info-card-icon {
  font-size: 1.4rem; flex-shrink: 0;
  margin-top: 0.1rem;
}

.info-card-label {
  font-size: 0.65rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gray);
  margin-bottom: 0.3rem;
}

.info-card-value {
  font-size: 1rem; color: var(--cream); font-weight: 500; line-height: 1.5;
}

.info-card-value a { color: var(--gold); }
.info-card-value a:hover { color: var(--gold-light); }

.contact-disclaimer {
  margin-top: 2rem;
  padding: 1.2rem 1.5rem;
  border-left: 2px solid rgba(201,168,76,0.3);
  background: rgba(201,168,76,0.04);
}

.contact-disclaimer p {
  font-size: 0.82rem; color: var(--gray);
  line-height: 1.6; margin: 0;
}

.contact-disclaimer strong { color: var(--gold-pale); }

/* Form Column */
.form-card {
  background: var(--deep);
  border: 1px solid rgba(201,168,76,0.2);
  padding: 3rem;
  position: relative;
}

.form-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}

.form-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem; font-weight: 700;
  color: var(--white); margin-bottom: 0.5rem;
}

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

.form-subtitle {
  font-size: 1rem; color: var(--gray);
  margin-bottom: 2rem; line-height: 1.6;
}

/* Form Elements */
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }

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

.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group-full { grid-column: 1 / -1; }

.form-group label {
  font-size: 0.75rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--light-gray); font-weight: 500;
}

.required { color: var(--gold); }

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(201,168,76,0.04);
  border: 1px solid rgba(201,168,76,0.2);
  color: var(--cream);
  padding: 0.9rem 1.1rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  width: 100%;
  transition: border-color 0.3s, background 0.3s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c9a84c' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group select option {
  background: #0d1526;
  color: var(--cream);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(138,154,181,0.5);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(201,168,76,0.07);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}

.form-group textarea { resize: vertical; min-height: 160px; line-height: 1.7; }

.form-footer {
  display: flex; align-items: center;
  justify-content: space-between; gap: 1.5rem;
  margin-top: 0.5rem; flex-wrap: wrap;
}

.form-privacy {
  font-size: 0.82rem; color: var(--gray);
  margin: 0; display: flex; align-items: center; gap: 0.4rem;
}

.form-submit {
  white-space: nowrap; flex-shrink: 0;
  font-size: 1rem; padding: 1rem 2.5rem;
  cursor: pointer; border: none;
}

/* Success Message */
.form-success {
  text-align: center;
  padding: 3rem 2rem;
  border: 1px solid rgba(201,168,76,0.3);
  background: rgba(201,168,76,0.05);
}

.form-success-icon {
  width: 60px; height: 60px; border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; color: var(--gold);
  margin: 0 auto 1.5rem;
}

.form-success h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem; color: var(--white); margin-bottom: 1rem;
}

.form-success p { color: var(--light-gray); font-size: 1.05rem; line-height: 1.7; }
.form-success a { color: var(--gold); }

/* Error Messages */
.form-errors {
  background: rgba(180,50,50,0.15);
  border: 1px solid rgba(180,50,50,0.4);
  padding: 1rem 1.4rem;
  margin-bottom: 1rem;
}

.form-errors p { color: #f5a0a0; font-size: 0.9rem; margin: 0.2rem 0; }

/* Responsive */
@media (max-width: 1100px) {
  .contact-page-grid { grid-template-columns: 1fr; padding: 3rem 2rem; }
  .contact-info-col { padding-right: 0; margin-bottom: 3rem; }
}

@media (max-width: 768px) {
  .quick-contact-bar { flex-direction: column; }
  .qc-divider { width: 100%; height: 1px; margin: 0; }
  .quick-contact-item { padding: 1rem 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .form-footer { flex-direction: column; align-items: flex-start; }
  .form-card { padding: 2rem 1.5rem; }
  .page-hero { padding: 3rem 2rem; margin-top: 105px; }
}

/* Nav logo removed */

/* Nav container */
.nav-container {
  padding: 1.2rem 4rem;
}

.anniversary-banner {
  top: 82px;
}

.hero-section {
  padding-top: 105px;
}

/* Hero logo — left side */
.hero-logo {
  width: 120px;
  height: auto;
  margin-bottom: 1.8rem;
  filter: drop-shadow(0 3px 20px rgba(201,168,76,0.3));
  animation: fadeUp 0.8s ease forwards 0.25s;
  opacity: 0;
}

/* =============================================
   ASSOCIATION BADGES SECTION
   ============================================= */
.badges-section {
  background: #060a14;
  padding: 3rem 4rem;
  border-top: 1px solid rgba(201,168,76,.15);
  border-bottom: 1px solid rgba(201,168,76,.15);
}

.badges-section-eyebrow {
  font-size: .68rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
}
.badges-section-eyebrow::before,
.badges-section-eyebrow::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.assoc-badges-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.assoc-badge-img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.5));
  opacity: .88;
  transition: transform .3s, opacity .3s, filter .3s;
}

.assoc-badge-img:hover {
  transform: scale(1.1);
  opacity: 1;
  filter: drop-shadow(0 3px 14px rgba(201,168,76,.45));
}

@media (max-width: 768px) {
  .badges-section { padding: 2.5rem 2rem; }
  .assoc-badges-row { gap: 1.5rem; }
  .assoc-badge-img { width: 70px; height: 70px; }
}

@media (max-width: 480px) {
  .assoc-badge-img { width: 55px; height: 55px; }
  .assoc-badges-row { gap: 1rem; }
}

/* =============================================
   FOOTER LOGO
   ============================================= */
.footer-logo-bar {
  display: flex;
  justify-content: center;
  padding: 2rem 0 1rem;
  border-bottom: 1px solid rgba(201,168,76,.1);
  margin-bottom: 1.5rem;
}

.footer-logo-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  opacity: .75;
  filter: drop-shadow(0 2px 8px rgba(201,168,76,.2));
  transition: opacity .3s, transform .3s;
}

.footer-logo-img:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* =============================================
   NAV BRAND LOGO + TEXT
   ============================================= */
.site-branding-link {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
}

.nav-brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 6px rgba(201,168,76,.3));
  transition: opacity .3s;
}

.nav-brand-logo:hover { opacity: .85; }

.nav-brand-text {
  display: flex;
  flex-direction: column;
}

.nav-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .03em;
  line-height: 1.2;
}

.nav-brand-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: .6rem;
  color: var(--gray);
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 400;
}

/* Keep old site-title/description hidden */
.site-title { display: none; }
.site-description { display: none; }
