:root {
  --ag-navy: #0B0F14;
  --ag-ivory: #F5F3EF;
  --ag-steel: #3D5A80;
  --ag-slate: #8A94A6;
  --ag-gold: #C47A2C;
  --ag-white: #FFFFFF;
  --ag-line: rgba(11,15,20,.10);
  --ag-radius: 32px;
  --ag-shadow: 0 24px 70px rgba(11,15,20,.10);
  --ag-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ag-ivory);
  color: var(--ag-navy);
  font-family: var(--ag-font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.ag-container { width: min(1280px, calc(100% - 40px)); margin-inline: auto; }
.ag-section { padding: 96px 0; }
.ag-section-tight { padding: 64px 0; }
.ag-dark { background: var(--ag-navy); color: var(--ag-ivory); }
.ag-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; align-items: center; }
.ag-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ag-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.ag-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--ag-line);
  background: rgba(245,243,239,.92);
  backdrop-filter: blur(18px);
}
.ag-header-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.ag-brand { display: inline-flex; align-items: center; gap: 12px; }
.ag-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--ag-navy);
  color: var(--ag-ivory);
  font-weight: 950;
  letter-spacing: -0.18em;
  padding-right: 3px;
}
.ag-brand-name { margin: 0; font-size: 14px; font-weight: 950; text-transform: uppercase; letter-spacing: .18em; }
.ag-brand-line { margin: 2px 0 0; font-size: 12px; color: var(--ag-slate); }
.ag-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 650; color: rgba(11,15,20,.68); }
.ag-nav a:hover { color: var(--ag-navy); }
.ag-mobile-toggle { display: none; width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--ag-line); background: transparent; align-items: center; justify-content: center; }
.ag-mobile-menu { display: none; border-top: 1px solid var(--ag-line); padding: 12px 0 18px; }
.ag-mobile-menu a { display: block; padding: 13px 16px; border-radius: 18px; font-weight: 750; color: rgba(11,15,20,.75); }
.ag-mobile-menu a:hover { background: rgba(11,15,20,.05); color: var(--ag-navy); }

.ag-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 850;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.ag-btn:hover { transform: translateY(-1px); }
.ag-btn-dark { background: var(--ag-navy); color: var(--ag-ivory); }
.ag-btn-dark:hover { background: var(--ag-steel); }
.ag-btn-gold { background: var(--ag-gold); color: var(--ag-navy); }
.ag-btn-gold:hover { background: var(--ag-ivory); color: var(--ag-navy); }
.ag-btn-outline-light { color: var(--ag-ivory); border-color: rgba(245,243,239,.24); }
.ag-btn-outline-light:hover { background: var(--ag-ivory); color: var(--ag-navy); }
.ag-btn-outline-dark { color: var(--ag-navy); border-color: var(--ag-line); }
.ag-btn-outline-dark:hover { background: var(--ag-navy); color: var(--ag-ivory); }

.ag-label { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; color: var(--ag-slate); font-size: 11px; font-weight: 800; letter-spacing: .32em; text-transform: uppercase; }
.ag-label::before { content: ""; width: 40px; height: 2px; border-radius: 100px; background: var(--ag-gold); }
.ag-dark .ag-label { color: var(--ag-gold); }
.ag-eyebrow { color: var(--ag-gold); font-size: 11px; font-weight: 850; letter-spacing: .24em; text-transform: uppercase; margin: 0 0 18px; }
.ag-h1, .ag-h2, .ag-h3 { margin: 0; letter-spacing: -.055em; line-height: .96; font-weight: 950; }
.ag-h1 { font-size: clamp(48px, 7.4vw, 106px); max-width: 900px; }
.ag-h2 { font-size: clamp(38px, 5.4vw, 76px); }
.ag-h3 { font-size: clamp(25px, 2.2vw, 34px); line-height: 1.02; }
.ag-lead { font-size: clamp(18px, 2vw, 22px); line-height: 1.65; color: rgba(245,243,239,.72); max-width: 720px; margin: 28px 0 0; }
.ag-muted { color: rgba(11,15,20,.62); line-height: 1.7; }
.ag-dark .ag-muted { color: rgba(245,243,239,.70); }
.ag-gold-text { color: var(--ag-gold); font-style: italic; }

.ag-hero { position: relative; overflow: hidden; padding: 112px 0; }
.ag-hero::after { content: "AM"; position: absolute; right: -80px; bottom: -50px; font-size: clamp(220px, 28vw, 480px); line-height: .75; font-weight: 950; letter-spacing: -.18em; color: rgba(255,255,255,.028); pointer-events: none; }
.ag-hero-grid { display: grid; grid-template-columns: 1fr .88fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.ag-hero-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.ag-portrait-card { overflow: hidden; border-radius: var(--ag-radius); border: 1px solid rgba(255,255,255,.10); background: rgba(255,255,255,.04); box-shadow: 0 40px 110px rgba(0,0,0,.35); }
.ag-portrait-card img { display: block; width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center; }
.ag-hero-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.10); }
.ag-hero-tabs span { display: block; text-align: center; padding: 16px 10px; background: var(--ag-navy); font-weight: 850; font-size: 14px; }

.ag-card { border: 1px solid var(--ag-line); border-radius: var(--ag-radius); background: rgba(255,255,255,.72); box-shadow: var(--ag-shadow); }
.ag-card-content { padding: 30px; }
.ag-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 999px; background: rgba(61,90,128,.10); color: var(--ag-steel); margin-bottom: 26px; }
.ag-card h3 { margin: 0; font-size: 24px; line-height: 1.05; letter-spacing: -.04em; }
.ag-card p { margin: 14px 0 0; }
.ag-card-link { margin-top: 24px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 950; }
.ag-card-link:hover { color: var(--ag-gold); }
.ag-service-card { height: 100%; transition: transform .25s ease, box-shadow .25s ease; }
.ag-service-card:hover { transform: translateY(-4px); box-shadow: 0 26px 80px rgba(11,15,20,.14); }

.ag-proof-card { height: 100%; box-shadow: none; }
.ag-proof-body { display: grid; gap: 16px; margin-top: 24px; font-size: 14px; line-height: 1.65; color: rgba(11,15,20,.68); }
.ag-proof-body strong { color: var(--ag-navy); }

.ag-problem-box { border: 1px solid rgba(255,255,255,.10); border-radius: var(--ag-radius); background: rgba(255,255,255,.045); padding: 40px; }
.ag-problem-box p { margin: 0; font-size: clamp(20px,2vw,24px); line-height: 1.55; color: rgba(245,243,239,.76); }
.ag-problem-box p + p { margin-top: 26px; }

.ag-belief-list { display: grid; gap: 16px; }
.ag-belief { display: flex; gap: 18px; border: 1px solid rgba(255,255,255,.10); border-radius: 24px; background: rgba(255,255,255,.045); padding: 22px; }
.ag-belief-num { color: var(--ag-gold); font-weight: 950; }
.ag-belief p { margin: 0; font-size: 18px; line-height: 1.55; color: rgba(245,243,239,.78); }

.ag-blue-card { background: var(--ag-steel); color: var(--ag-ivory); border-color: transparent; }
.ag-blue-card p { color: rgba(245,243,239,.76); font-size: 18px; line-height: 1.65; }
.ag-check-list { display: grid; gap: 16px; }
.ag-check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.6; color: rgba(11,15,20,.70); }
.ag-check svg { flex: none; margin-top: 2px; color: var(--ag-steel); }

.ag-package-wrap { border-radius: var(--ag-radius); background: rgba(255,255,255,.70); box-shadow: var(--ag-shadow); padding: 40px; }
.ag-package { border: 1px solid var(--ag-line); border-radius: 26px; background: var(--ag-ivory); padding: 26px; }
.ag-package h3 { margin: 18px 0 0; font-size: 25px; letter-spacing: -.04em; line-height: 1.05; }
.ag-package p { margin-top: 14px; font-size: 14px; line-height: 1.7; color: rgba(11,15,20,.62); }

.ag-insight-card svg { color: var(--ag-gold); margin-bottom: 22px; }
.ag-quote-band { border-radius: var(--ag-radius); background: var(--ag-navy); color: var(--ag-ivory); padding: 48px; }
.ag-quote-band svg { color: var(--ag-gold); margin-bottom: 26px; }
.ag-quote-band p { margin: 0; max-width: 980px; font-size: clamp(30px,4vw,58px); font-weight: 950; letter-spacing: -.05em; line-height: 1.03; }

.ag-contact-card { border: 1px solid rgba(255,255,255,.10); background: rgba(255,255,255,.05); color: var(--ag-ivory); border-radius: var(--ag-radius); box-shadow: 0 40px 110px rgba(0,0,0,.26); }
.ag-contact-card .ag-card-content { padding: 34px; }
.ag-contact-card .ag-btn { width: 100%; margin-top: 14px; }
.ag-contact-note { margin-top: 26px; border: 1px solid rgba(255,255,255,.10); border-radius: 24px; background: rgba(0,0,0,.20); padding: 20px; color: rgba(245,243,239,.68); line-height: 1.65; font-size: 14px; }

.ag-footer { border-top: 1px solid var(--ag-line); padding: 42px 0; }
.ag-footer-grid { display: grid; grid-template-columns: 1.3fr .75fr .95fr; gap: 34px; }
.ag-footer-title { margin: 0; font-weight: 950; text-transform: uppercase; letter-spacing: .18em; }
.ag-footer p, .ag-footer a { font-size: 14px; line-height: 1.65; color: rgba(11,15,20,.62); }
.ag-footer a:hover { color: var(--ag-navy); }
.ag-footer-label { color: var(--ag-gold) !important; font-size: 11px !important; font-weight: 900; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 12px; }
.ag-footer-links { display: grid; gap: 8px; }

.ag-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.ag-reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Elementor compatibility */
.elementor-page .site-main,
.elementor-page .ag-page-content { padding: 0; }
.page-template-template-canvas .ag-site-header,
.page-template-template-canvas .ag-footer { display: none; }
.ag-elementor-full-width .ag-container { width: 100%; max-width: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ag-reveal { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .ag-container { width: min(100% - 32px, 1280px); }
  .ag-section { padding: 72px 0; }
  .ag-hero { padding: 80px 0; }
  .ag-hero-grid, .ag-grid-2 { grid-template-columns: 1fr; }
  .ag-grid-3, .ag-grid-4 { grid-template-columns: 1fr; }
  .ag-nav, .ag-header-inner > .ag-btn { display: none; }
  .ag-mobile-toggle { display: inline-flex; }
  .ag-mobile-menu.is-open { display: block; }
  .ag-hero-actions .ag-btn { width: 100%; }
  .ag-problem-box, .ag-quote-band, .ag-package-wrap { padding: 28px; }
  .ag-footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .ag-h1 { font-size: 48px; }
  .ag-h2 { font-size: 38px; }
  .ag-card-content { padding: 24px; }
  .ag-label { letter-spacing: .22em; }
  .ag-hero-tabs span { font-size: 12px; padding: 13px 6px; }
  .ag-quote-band p { font-size: 30px; }
}
