/* ============================================
   Arbiter Wellness — Global Styles
   Deep navy + gold, clean data-driven aesthetic
   ============================================ */

:root {
  --navy: #253548;
  --navy-light: #2E4058;
  --navy-mid: #3A4F6A;
  --gold: #B9A163;
  --gold-light: #D0B87A;
  --gold-muted: #9A864F;
  --white: #FFFFFF;
  --off-white: #F7F5F0;
  --soft-black: #1C1C1C;
  --text-muted: #A8B2C1;
  --text-body: #D1D9E6;
  --border-subtle: rgba(185, 161, 99, 0.22);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
  --radius: 8px;
  --transition: 0.25s ease;
  --max-width: 1120px;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--navy);
  color: var(--text-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  min-height: 100vh;
}

/* Massive blurred logo background layer */
.bg-logo-layer {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 140vw;
  height: 140vw;
  max-width: 1600px;
  max-height: 1600px;
  transform: translate(-50%, -50%);
  background-image: url('../assets/logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.18;
  filter: blur(32px);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
  transition: transform 0.15s ease-out;
}

/* Optional very slow breathing animation */
@keyframes subtle-breathe {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.03); }
}

.bg-logo-layer.breathe {
  animation: subtle-breathe 18s ease-in-out infinite;
}

/* Ensure all content sits cleanly above the background */
.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition);
}

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

ul, ol {
  list-style: none;
}

/* ========== Typography ========== */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--white);
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.5rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.45rem;
  margin-bottom: 0.6rem;
}

p {
  margin-bottom: 1.1rem;
  max-width: 65ch;
}

.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 58ch;
}

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

.text-white {
  color: var(--white);
}

/* ========== Layout ========== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-sm {
  padding: 3.5rem 0;
}

.section-alt {
  background-color: var(--navy-light);
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.35;
  margin: 0 auto;
  max-width: 200px;
}

/* ========== Header / Nav ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.logo-link:hover {
  color: var(--white);
}

.logo-img {
  height: 72px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  border-radius: 0;
}

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

.nav-desktop a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color var(--transition);
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--gold);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  padding: 0.45rem 1rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all var(--transition);
}

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

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold);
  margin: 5px 0;
  transition: var(--transition);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--navy-light);
  border-top: 1px solid var(--border-subtle);
  padding: 1rem 1.5rem 1.5rem;
}

.nav-mobile a {
  color: var(--text-body);
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.95rem;
}

.nav-mobile a:last-child {
  border-bottom: none;
  margin-top: 0.5rem;
}

.nav-mobile.open {
  display: flex;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

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

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

.btn-outline {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}

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

.btn-lg {
  padding: 1rem 2.2rem;
  font-size: 1rem;
}

/* ========== Hero ========== */
.hero {
  padding: 6rem 0 5rem;
  text-align: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(201, 162, 39, 0.07) 0%, transparent 60%);
  pointer-events: none;
}

.hero-logo {
  width: 88px;
  height: 88px;
  margin: 0 auto 1.75rem;
}

.hero h1 {
  margin-bottom: 0.75rem;
}

.hero .tagline {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.03em;
  margin-bottom: 1.5rem;
}

.hero .lead {
  margin: 0 auto 2.25rem;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.email-highlight {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.email-highlight a {
  color: var(--gold);
  font-weight: 500;
  border-bottom: 1px solid transparent;
}

.email-highlight a:hover {
  border-bottom-color: var(--gold);
}

/* ========== Cards Grid ========== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.card {
  background: var(--navy-light);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: border-color var(--transition), transform var(--transition);
}

.card:hover {
  border-color: rgba(201, 162, 39, 0.45);
  transform: translateY(-3px);
}

.card-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1.25rem;
  color: var(--gold);
}

.card h3 {
  margin-bottom: 0.75rem;
}

.card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.card-link {
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.card-link::after {
  content: '→';
  transition: transform var(--transition);
}

.card-link:hover::after {
  transform: translateX(3px);
}

/* ========== Feature / Content Blocks ========== */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.feature-row.reverse {
  direction: rtl;
}

.feature-row.reverse > * {
  direction: ltr;
}

.feature-content h2 {
  margin-bottom: 1.1rem;
}

.feature-list {
  margin: 1.5rem 0;
}

.feature-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-body);
  font-size: 0.98rem;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
}

.feature-visual {
  background: var(--navy-mid);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-height: 280px;
  justify-content: center;
}

.metric-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.metric-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.metric-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.metric-value {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--gold);
  font-weight: 600;
}

/* ========== Trinity Section ========== */
.trinity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.trinity-card {
  background: var(--navy);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
}

.trinity-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.trinity-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.85rem;
}

.trinity-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0 auto;
}

/* ========== CTA Banner ========== */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy-mid) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 3.5rem 2.5rem;
  text-align: center;
}

.cta-banner h2 {
  margin-bottom: 0.85rem;
}

.cta-banner p {
  margin: 0 auto 1.75rem;
  color: var(--text-muted);
}

.cta-email {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.01em;
}

.cta-email:hover {
  color: var(--gold-light);
}

/* ========== Page Header (inner pages) ========== */
.page-header {
  padding: 4rem 0 3rem;
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
}

.page-header h1 {
  margin-bottom: 0.75rem;
}

.page-header .lead {
  margin: 0 auto;
}

/* ========== Content Page ========== */
.content-block {
  max-width: 720px;
  margin: 0 auto;
}

.content-block h2 {
  margin-top: 2.75rem;
  margin-bottom: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.content-block h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.content-block h3 {
  margin-top: 2rem;
  color: var(--gold-light);
}

.content-block ul {
  margin: 1.25rem 0 1.5rem 0.5rem;
}

.content-block ul li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.65rem;
}

.content-block ul li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* ========== About / Partnerships ========== */
.partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.partner-card {
  background: var(--navy-light);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 2rem;
}

.partner-card h3 {
  color: var(--gold);
  margin-bottom: 0.75rem;
}

/* ========== Resources ========== */
.resource-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.resource-item {
  background: var(--navy-light);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: border-color var(--transition);
}

.resource-item:hover {
  border-color: rgba(201, 162, 39, 0.4);
}

.resource-item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.resource-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

.resource-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  border: 1px solid var(--border-subtle);
  padding: 0.3rem 0.65rem;
  border-radius: 3px;
  white-space: nowrap;
}

/* ========== Footer ========== */
.site-footer {
  background: var(--navy-light);
  border-top: 1px solid var(--border-subtle);
  padding: 3.5rem 0 2rem;
  margin-top: 2rem;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand .logo-link {
  font-size: 1.25rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 28ch;
  margin: 0;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.55rem;
}

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

.footer-email {
  color: var(--gold) !important;
  font-weight: 500;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ========== Utility ========== */
.text-center {
  text-align: center;
}

.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }

/* ========== Responsive ========== */
@media (max-width: 900px) {
  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 2rem;
  }

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

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

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

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    padding: 4rem 0 3.5rem;
  }

  .section {
    padding: 3.5rem 0;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }

  .btn-lg {
    width: 100%;
  }
}

/* ===== Four Pillars section with Greek pillar background ===== */
.pillars-section {
  position: relative;
  overflow: hidden;
}

.pillars-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
}

.greek-pillar-svg {
  height: 115%;
  width: auto;
  max-width: 420px;
  opacity: 0.55;
  filter: blur(14px);
  transform: scale(1.15);
}

/* Ensure cards stay sharp above the pillar */
.pillars-section .cards-grid,
.pillars-section .text-center {
  position: relative;
  z-index: 2;
}

.pillars-section .card {
  background: rgba(46, 64, 88, 0.92); /* slightly more opaque so text stays crisp */
  backdrop-filter: blur(4px);
}
