/* Example Agency Page — uses same CSS vars as theme.css */

.ex-page {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.ex-page h1, .ex-page h2, .ex-page h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.15;
}

/* ─── Nav ─────────────────────────────────── */
.ex-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
}

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

.ex-nav-brand {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--fg);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ex-nav-brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.ex-nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.ex-nav-links a {
  font-size: 13px;
  font-weight: 400;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.ex-nav-links a:hover,
.ex-nav-links a.active { color: var(--fg); }

.ex-nav-cta {
  font-size: 13px !important;
  font-weight: 500 !important;
  color: var(--accent) !important;
}

/* ─── Hero ─────────────────────────────────── */
.ex-hero {
  padding: 80px 40px 100px;
  max-width: 1200px;
  margin: 0 auto;
}

.ex-hero-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.ex-hero h1 {
  font-size: clamp(42px, 5vw, 64px);
  color: var(--fg);
  margin-bottom: 20px;
}

.ex-hero-one-liner {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 2.5vw, 28px);
  font-style: italic;
  color: var(--accent);
  margin-bottom: 24px;
  line-height: 1.3;
}

.ex-hero-sub {
  font-size: 16px;
  color: var(--fg-muted);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.ex-constraint-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--fg-muted);
}

.ex-constraint-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ─── Section Shared ───────────────────────── */
.ex-section {
  padding: 80px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.ex-section--alt {
  background: var(--bg-alt);
  max-width: none;
  padding: 80px 40px;
}

.ex-section--alt .ex-section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.ex-section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.ex-section h2 {
  font-size: clamp(26px, 3vw, 40px);
  color: var(--fg);
  margin-bottom: 16px;
}

.ex-section-intro {
  font-size: 16px;
  color: var(--fg-muted);
  max-width: 680px;
  line-height: 1.7;
  margin-bottom: 48px;
}

.ex-section-intro + p { margin-top: 0; }

/* ─── Score Table ─────────────────────────── */
.ex-score-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.ex-score-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  padding: 0 16px 12px 0;
  border-bottom: 2px solid var(--border);
}

.ex-score-table th:last-child { text-align: right; }

.ex-score-table td {
  padding: 12px 16px 12px 0;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.ex-score-table td:last-child { text-align: right; }

.ex-score-table tr:last-child td { border-bottom: none; }

.ex-score-name {
  font-weight: 500;
  color: var(--fg);
  white-space: nowrap;
}

.ex-score-pct {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  display: inline-block;
  min-width: 36px;
}

.ex-score-why {
  color: var(--fg-muted);
  font-size: 13px;
  line-height: 1.5;
}

.ex-score-total {
  font-weight: 700;
  color: var(--fg);
  padding-top: 20px !important;
}

.ex-score-total-pct {
  color: var(--accent);
  font-size: 18px;
  font-weight: 700;
}

/* ─── Data Cards ──────────────────────────── */
.ex-data-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ex-data-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
}

.ex-data-card-title {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 16px;
}

.ex-data-card ul {
  list-style: none;
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.7;
}

.ex-data-card ul li::before {
  content: '— ';
  color: var(--accent);
}

.ex-data-card ul li + li { margin-top: 4px; }

.ex-data-card p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.7;
}

.ex-data-card p + p { margin-top: 8px; }

.ex-data-sources {
  font-size: 12px;
  color: #a09890;
  margin-top: 12px;
  line-height: 1.5;
}

/* ─── Niche Callout ────────────────────────── */
.ex-callout {
  background: var(--fg);
  color: #faf6f0;
  border-radius: 14px;
  padding: 28px 32px;
  margin-top: 32px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.ex-callout-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(212,134,90,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-warm);
  font-size: 18px;
  flex-shrink: 0;
}

.ex-callout-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin-bottom: 6px;
}

.ex-callout h4 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.ex-callout p {
  font-size: 14px;
  color: #a09890;
  line-height: 1.6;
}

/* ─── 12-Week Plan ────────────────────────── */
.ex-phase {
  margin-bottom: 56px;
}

.ex-phase-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.ex-phase-num {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  border-radius: 100px;
  padding: 4px 14px;
  flex-shrink: 0;
}

.ex-phase-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
}

.ex-week {
  margin-bottom: 28px;
  padding: 24px 28px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.ex-week-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-family: 'DM Sans', sans-serif;
}

.ex-week-title span {
  color: var(--fg-muted);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.ex-week ul {
  list-style: none;
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.7;
}

.ex-week ul li::before {
  content: '→ ';
  color: var(--accent);
}

.ex-week ul li + li { margin-top: 4px; }

.ex-week-output {
  margin-top: 14px;
  padding: 12px 16px;
  background: var(--bg-alt);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-muted);
}

.ex-week-output::before {
  content: 'OUTPUT: ';
  color: var(--accent);
  font-weight: 600;
}

/* ─── Tools Table ─────────────────────────── */
.ex-two-col-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.ex-two-col-intro h3 {
  font-size: 17px;
  margin-bottom: 8px;
  color: var(--fg);
}

.ex-two-col-intro p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}

.ex-tools-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.ex-tools-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  padding: 0 20px 12px 0;
  border-bottom: 2px solid var(--border);
}

.ex-tools-table td {
  padding: 12px 20px 12px 0;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  color: var(--fg-muted);
}

.ex-tools-table tr:last-child td { border-bottom: none; }

.ex-tools-table td:first-child { color: var(--fg); font-weight: 500; }

.ex-tools-badge {
  display: inline-block;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px 10px;
  font-size: 12px;
  color: var(--fg-muted);
}

/* ─── Failure Cards ───────────────────────── */
.ex-failure-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ex-failure-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ex-failure-num {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(184,92,56,0.08);
  border-radius: 100px;
  padding: 4px 12px;
  display: inline-block;
  width: fit-content;
}

.ex-failure-title {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--fg);
}

.ex-failure-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ex-failure-body {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}

.ex-failure-mitigation {
  font-size: 14px;
  color: var(--fg);
  line-height: 1.6;
  background: var(--bg-alt);
  border-radius: 8px;
  padding: 14px 16px;
}

/* ─── Soft CTA ────────────────────────────── */
.ex-cta {
  background: var(--bg-alt);
  padding: 80px 40px;
  text-align: center;
}

.ex-cta-inner { max-width: 640px; margin: 0 auto; }

.ex-cta h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  color: var(--fg);
  margin-bottom: 16px;
}

.ex-cta-body {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.ex-btn-primary {
  display: inline-block;
  padding: 16px 32px;
  background: var(--accent);
  color: #fff;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}

.ex-btn-primary:hover {
  background: #a35030;
  transform: translateY(-2px);
}

/* ─── Footer ──────────────────────────────── */
.ex-footer {
  background: var(--fg);
  color: #a09890;
  padding: 48px 40px;
}

.ex-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ex-footer-name {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: #faf6f0;
  display: block;
  margin-bottom: 4px;
}

.ex-footer-tagline { font-size: 12px; color: #6b6459; }

.ex-footer-copy { font-size: 12px; color: #4a4440; }

/* ─── Responsive ───────────────────────────── */
@media (max-width: 1024px) {
  .ex-data-grid { grid-template-columns: 1fr 1fr; }
  .ex-failure-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .ex-nav { padding: 0 24px; }
  .ex-section, .ex-hero, .ex-cta, .ex-footer { padding-left: 24px; padding-right: 24px; }
  .ex-section--alt { padding-left: 24px; padding-right: 24px; }
  .ex-data-grid, .ex-failure-grid { grid-template-columns: 1fr; }
  .ex-two-col-intro { grid-template-columns: 1fr; gap: 24px; }
  .ex-nav-links { gap: 20px; }
  .ex-footer-inner { flex-direction: column; gap: 16px; text-align: center; }
}

@media (max-width: 480px) {
  .ex-score-table { font-size: 13px; }
  .ex-score-pct { font-size: 14px; }
  .ex-nav-links li:not(:last-child) { display: none; }
}