/* CSS Variables for Executive Palette */
:root {
  --navy-deep: #0A192F;
  --navy-light: #112240;
  --gold-accent: #C5A059;
  --gold-hover: #D4AF68;
  --gray-light: #F8F9FA;
  --gray-mid: #E9ECEF;
  --text-dark: #333333;
  --text-light: #F3F4F6;
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Source Sans Pro', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background-color: #FFFFFF;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

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

/* Universal Utilities */
.aag-inline-link {
  color: var(--gold-accent);
  text-decoration: underline;
}

.aag-btn-primary, .aag-submit-btn {
  display: inline-block;
  background: var(--gold-accent);
  color: #fff;
  padding: 0.8rem 2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.aag-btn-primary:hover, .aag-submit-btn:hover {
  background: var(--gold-hover);
}

/* Header & Nav */
.aurelius-masthead {
  position: sticky;
  top: 0;
  background: var(--navy-deep);
  color: var(--text-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 5%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.aag-brand-mark {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.aag-initials {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--gold-accent);
  border: 1px solid var(--gold-accent);
  padding: 0.2rem 0.5rem;
}

.aag-full-name {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.aag-navigation {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.aag-nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s;
}

.aag-nav-link:hover {
  color: var(--gold-accent);
}

.aag-ghost-link {
  opacity: 0.7;
}

.aag-action-btn {
  background: transparent;
  border: 1px solid var(--gold-accent);
  color: var(--gold-accent);
  padding: 0.5rem 1.2rem;
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s;
}

.aag-action-btn:hover {
  background: var(--gold-accent);
  color: #fff;
}

/* Hero Section */
.exec-hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
  background: var(--gray-light);
}

.hero-copy-matrix {
  padding: 6rem 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-primary-thesis {
  font-size: 3.5rem;
  color: var(--navy-deep);
}

.hero-sub-thesis {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 2.5rem;
  max-width: 90%;
}

.hero-action-cluster {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.hero-trust-badge {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-light);
  text-transform: uppercase;
  border-left: 2px solid var(--gold-accent);
  padding-left: 10px;
}

.hero-visual-matrix {
  height: 100%;
}

.hero-visual-matrix img {
  height: 100%;
}

/* Heritage / About Section */
.firm-background-dossier {
  display: flex;
  flex-wrap: wrap;
  padding: 5.5rem 10%;
  background: #FFFFFF;
  gap: 4rem;
}

.dossier-content {
  flex: 1 1 500px;
}

.dossier-heading {
  font-size: 2.5rem;
  color: var(--navy-deep);
}

.dossier-paragraph {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: #444;
}

.dossier-metrics {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  border-left: 1px solid var(--gray-mid);
  padding-left: 3rem;
}

.metric-node {
  display: flex;
  flex-direction: column;
}

.metric-value {
  font-size: 3rem;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--gold-accent);
  line-height: 1;
}

.metric-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #666;
  margin-top: 0.5rem;
}

/* Capabilities / Tabs Section */
.practice-areas-module {
  padding: 6.2rem 10%;
  background: var(--navy-deep);
  color: var(--text-light);
}

.module-title-centered {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.aag-tab-interface {
  max-width: 1000px;
  margin: 0 auto;
}

.aag-tab-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.aag-tab-btn {
  background: transparent;
  border: none;
  color: #aaa;
  font-size: 1.1rem;
  font-family: var(--font-serif);
  padding: 1rem 2rem;
  cursor: pointer;
  transition: all 0.3s;
  border-bottom: 3px solid transparent;
}

.aag-tab-btn.active-tab, .aag-tab-btn:hover {
  color: var(--gold-accent);
  border-bottom: 3px solid var(--gold-accent);
}

.aag-tab-content-area {
  background: var(--navy-light);
  padding: 3rem;
  border-radius: 4px;
}

.aag-tab-pane {
  display: none;
  animation: fadeIn 0.5s ease;
}

.aag-tab-pane.active-pane {
  display: block;
}

.pane-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.pane-text h3 {
  color: var(--gold-accent);
  font-size: 1.8rem;
}

.pane-text-heavy h3 {
  color: var(--gold-accent);
  font-size: 1.8rem;
}

.pane-text p, .pane-text-heavy p {
  margin-bottom: 1.5rem;
  color: #ddd;
}

.pane-list {
  list-style: none;
}

.pane-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
  color: #ccc;
}

.pane-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold-accent);
}

.pane-visual img {
  border-radius: 2px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Endorsements Section */
.endorsements-gallery {
  padding: 5rem 10%;
  background: var(--gray-light);
}

.gallery-heading {
  text-align: center;
  font-size: 2.5rem;
  color: var(--navy-deep);
  margin-bottom: 3rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.endorsement-card {
  background: #FFF;
  padding: 2.5rem;
  border-top: 4px solid var(--gold-accent);
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.endorsement-quote {
  font-style: italic;
  color: #555;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.endorser-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.endorser-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

.endorser-details {
  display: flex;
  flex-direction: column;
}

.endorser-name {
  font-weight: 600;
  color: var(--navy-deep);
}

.endorser-title {
  font-size: 0.85rem;
  color: #888;
}

/* Contact Portal */
.secure-contact-portal {
  padding: 7rem 10%;
  background: #FFFFFF;
}

.portal-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.portal-context {
  flex: 1 1 400px;
}

.portal-context h2 {
  font-size: 2.5rem;
  color: var(--navy-deep);
}

.portal-context p {
  margin-bottom: 2rem;
  color: #555;
}

.portal-context-img {
  max-height: 250px;
  border-radius: 2px;
}

.portal-form-container {
  flex: 1 1 400px;
  background: var(--gray-light);
  padding: 3rem;
  border-radius: 4px;
}

.aag-form .form-group {
  margin-bottom: 1.5rem;
}

.aag-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--navy-deep);
}

.aag-form input, .aag-form textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 2px;
  font-family: inherit;
}

.aag-form input:focus, .aag-form textarea:focus {
  outline: none;
  border-color: var(--gold-accent);
}

/* Footer */
.aurelius-footing {
  background: #050D1A;
  color: #888;
  padding: 4rem 10% 2rem;
  font-size: 0.9rem;
}

.footing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footing-brand h3 {
  color: #FFF;
  margin-bottom: 0.5rem;
}

.footing-contact h4, .footing-links h4 {
  color: #FFF;
  margin-bottom: 1rem;
}

.footing-links a {
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.footing-links a:hover {
  color: var(--gold-accent);
}

.footing-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.noise-disclaimer {
  font-size: 0.75rem;
  opacity: 0.6;
}

/* Responsive & Rhythm Adjustments */
@media (max-width: 992px) {
  .exec-hero-split {
    grid-template-columns: 1fr;
  }
  .hero-copy-matrix {
    padding: 4rem 5%;
  }
  .pane-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .aag-navigation {
    display: none;
  }
  .firm-background-dossier, .practice-areas-module, .endorsements-gallery, .secure-contact-portal {
    padding-left: 5%;
    padding-right: 5%;
  }
  .hero-primary-thesis {
    font-size: 2.5rem;
  }
  .metric-node {
    flex-direction: row;
    align-items: baseline;
    gap: 1rem;
  }
}

/* Legal Document Container */
.legal-doc-container {
  max-width: 800px;
  margin: 4rem auto;
  padding: 0 5%;
}

.legal-doc-container h1 {
  color: var(--navy-deep);
  margin-bottom: 2rem;
}

.legal-doc-container p {
  margin-bottom: 1rem;
  color: #444;
}
