/* ═══════════════════════════════════════════════════════════════
   THE AUER GROUP — Global Stylesheet
   ═══════════════════════════════════════════════════════════════ */

/* ─── GOOGLE FONTS ─── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Jost:wght@300;400;500;600;700&display=swap');

/* ─── CSS VARIABLES ─── */
:root {
  --navy:       #0e1118;
  --navy-mid:   #181d28;
  --navy-light: #222840;
  --gold:       #c9983a;
  --gold-light: #e4ad52;
  --gold-bright:#fbe092;
  --gold-dim:   #8b6a28;
  --white:      #f5f2ec;
  --white-pure: #ffffff;
  --text-muted: #8a8fa8;
  --border:     rgba(201,152,58,0.18);
}

/* ─── RESET & BASE ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Jost', sans-serif;
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

/* ─── PAGE CONTENT ─── */
.page-content {
  padding-top: 72px; /* nav height offset */
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  line-height: 1.2;
  color: var(--white);
}

p {
  font-family: 'Jost', sans-serif;
  line-height: 1.85;
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  color: var(--navy);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--white);
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 13px 32px;
  border-radius: 2px;
  border: 1px solid rgba(245,242,236,0.3);
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s, transform 0.2s;
  text-decoration: none;
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  transform: translateY(-2px);
}

/* ─── SECTION LABELS ─── */
.section-label {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

/* ─── GOLD LINE DIVIDER ─── */
.gold-line {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  margin: 12px 0 20px;
  border-radius: 1px;
}

.gold-line.center {
  margin-left: auto;
  margin-right: auto;
}

/* ─── SCROLL ANIMATIONS ─── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for children */
[data-stagger] .animate-on-scroll:nth-child(1) { transition-delay: 0.05s; }
[data-stagger] .animate-on-scroll:nth-child(2) { transition-delay: 0.12s; }
[data-stagger] .animate-on-scroll:nth-child(3) { transition-delay: 0.19s; }
[data-stagger] .animate-on-scroll:nth-child(4) { transition-delay: 0.26s; }
[data-stagger] .animate-on-scroll:nth-child(5) { transition-delay: 0.33s; }
[data-stagger] .animate-on-scroll:nth-child(6) { transition-delay: 0.40s; }

/* Custom delay attribute */
.animate-on-scroll[data-delay="1"] { transition-delay: 0.1s; }
.animate-on-scroll[data-delay="2"] { transition-delay: 0.2s; }
.animate-on-scroll[data-delay="3"] { transition-delay: 0.3s; }
.animate-on-scroll[data-delay="4"] { transition-delay: 0.4s; }

/* ─── FADE ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════ */

.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 72px;
  background: rgba(14,17,24,0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 80px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-logo-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.04em;
}

.nav-logo-sub {
  font-family: 'Jost', sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.65);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link.active {
  color: var(--gold-light);
}

.nav-cta {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold);
  padding: 9px 22px;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.2s;
}

.nav-cta:hover {
  background: var(--gold-light);
  color: var(--navy);
}

/* ─── HAMBURGER ─── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─── MOBILE NAV DRAWER ─── */
.nav-mobile {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--navy-mid);
  border-bottom: 1px solid var(--border);
  z-index: 999;
  padding: 24px 32px;
  flex-direction: column;
  gap: 0;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-mobile.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.nav-mobile .nav-link {
  font-size: 13px;
  letter-spacing: 0.18em;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: rgba(245,242,236,0.75);
}

.nav-mobile .nav-link:last-child {
  border-bottom: none;
}

.nav-mobile .nav-link::after {
  display: none;
}

@media (max-width: 1024px) {
  .nav-inner { padding: 0 40px; }
}

@media (max-width: 768px) {
  .nav-inner { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile { display: flex; }
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */

.site-footer {
  background: #080b10;
  border-top: 1px solid var(--border);
  padding: 72px 80px 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 64px;
  margin-bottom: 56px;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-brand .footer-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.footer-brand .footer-logo-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 300;
  color: var(--white);
  letter-spacing: 0.04em;
}

.footer-brand p {
  font-size: 13px;
  color: rgba(245,242,236,0.55);
  line-height: 1.85;
  max-width: 280px;
}

.footer-col h5 {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 13px;
  color: rgba(245,242,236,0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--gold-light);
}

.footer-contact p {
  font-size: 13px;
  color: rgba(245,242,236,0.55);
  line-height: 1.75;
  margin-bottom: 12px;
}

.footer-contact a {
  color: rgba(245,242,236,0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: var(--gold-light);
}

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

.footer-bottom p {
  font-size: 12px;
  color: rgba(245,242,236,0.3);
}

.footer-bottom a {
  color: rgba(245,242,236,0.3);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: var(--gold);
}

@media (max-width: 1024px) {
  .site-footer { padding: 60px 40px 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .site-footer { padding: 48px 24px 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ═══════════════════════════════════════════════════════════════
   UTILITY CLASSES
   ═══════════════════════════════════════════════════════════════ */

.text-gold    { color: var(--gold); }
.text-muted   { color: var(--text-muted); }
.text-center  { text-align: center; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE ACCORDION CARDS
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  /* Make each card a tap target */
  .accordion-grid > * {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  /* Collapsed: hide body content (p, ul, learn-more button, arrow link) */
  .accordion-grid > * p,
  .accordion-grid > * ul,
  .accordion-grid > * .btn-learn-more,
  .accordion-grid > * .arrow {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin-top: 0 !important;
    transition: max-height 0.35s ease, opacity 0.25s ease, margin-top 0.3s ease;
  }

  /* Expanded: reveal body content */
  .accordion-grid > *.accordion-open p,
  .accordion-grid > *.accordion-open ul,
  .accordion-grid > *.accordion-open .btn-learn-more,
  .accordion-grid > *.accordion-open .arrow {
    max-height: 400px;
    opacity: 1;
    margin-top: 12px !important;
  }

  /* Chevron icon injected by JS */
  .accordion-chevron {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    margin-left: 8px;
    color: var(--gold);
    transition: transform 0.3s ease;
  }
  .accordion-open .accordion-chevron {
    transform: rotate(180deg);
  }

  /* Give heading row space for the chevron */
  .accordion-grid > * h3,
  .accordion-grid > * h4 {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}
