/* ==========================================
   BRANDFATHER — CORPORATE REPORTS SITE
   brandfather.marketing
   Inter (body) + Playfair Display (italic emphasis)
   ========================================== */

:root {
  --bg: #080808;
  --bg-soft: #111111;
  --bg-card: #161616;
  --ink: #f5f3ee;
  --ink-mute: #9a9488;
  --accent: #c9ff3a;
  --accent-soft: #dbff70;
  --accent-deep: #9fcc1f;
  --accent-rgb: 201, 255, 58;
  --border: rgba(245, 243, 238, 0.08);
  --border-strong: rgba(245, 243, 238, 0.16);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius: 4px;
  --radius-lg: 12px;
  --max: 1280px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  width: 100%;
  background: var(--bg);
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-weight: 400;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.005em;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: var(--bg); }

em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

/* ============ ANNOUNCE ============ */
.announce {
  background: var(--accent);
  color: var(--bg);
  text-align: center;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
}
@media (max-width: 600px) {
  .announce { font-size: 12px; padding: 8px 12px; }
}

/* ============ NAV (sticky) ============ */
.nav {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(8, 8, 8, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  width: 100%;
  will-change: transform;
  transform: translateZ(0);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo img { height: 32px; width: auto; }
.logo-text {
  font-size: 13px;
  color: var(--ink-mute);
  line-height: 1.3;
  font-weight: 500;
}
.logo-text strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-link {
  font-size: 14px;
  color: var(--ink);
  opacity: 0.78;
  transition: opacity 0.2s, color 0.2s;
  font-weight: 500;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  opacity: 1;
  color: var(--accent);
}

.nav-cta {
  background: var(--accent);
  color: var(--bg);
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 13.5px;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}
.nav-cta:hover {
  background: var(--accent-soft);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--ink);
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .nav-links.mobile-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg);
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.mobile-open .nav-cta {
    display: block;
    text-align: center;
    margin-top: 8px;
  }
  .logo-text { display: none; }
}

/* ============ HERO ============ */
.hero {
  padding: 72px 24px 80px;
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: -10%;
  width: min(600px, 70vw);
  height: min(600px, 70vw);
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.12) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: -1;
}
@media (max-width: 600px) {
  .hero { padding: 40px 20px 56px; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 28px;
  padding: 8px 14px;
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  border-radius: 100px;
  background: rgba(var(--accent-rgb), 0.05);
  font-weight: 500;
}

h1.hero-title {
  font-size: clamp(38px, 6vw, 80px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
  max-width: 960px;
  color: var(--ink);
}
.hero-title em {
  font-family: var(--serif);
  color: var(--accent);
  font-style: italic;
  font-weight: 400;
}

.hero-sub {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--ink-mute);
  max-width: 720px;
  line-height: 1.65;
  margin-bottom: 40px;
}
.hero-sub strong { color: var(--ink); font-weight: 600; }

.hero-ctas {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
  padding: 16px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(var(--accent-rgb), 0.3);
  background: var(--accent-soft);
}
.btn-secondary {
  background: transparent;
  color: var(--ink);
  padding: 16px 28px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 15px;
  border: 1px solid var(--border-strong);
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-secondary:hover {
  background: var(--bg-soft);
  border-color: var(--ink-mute);
}

@media (max-width: 600px) {
  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}

.hero-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.credential-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-mute);
}
.credential-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}
.credential-item strong {
  color: var(--ink);
  font-weight: 600;
}

/* ============ HERO IMAGE ============ */
.hero-featured-image {
  margin-top: 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  position: relative;
}
.hero-featured-image img,
.hero-featured-image video {
  width: 100%;
  display: block;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}
@media (max-width: 768px) {
  .hero-featured-image img,
  .hero-featured-image video { aspect-ratio: 16 / 10; }
}

/* ============ TRUST BAR ============ */
.trust-bar {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 36px 24px;
  overflow: hidden;
}
.trust-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
  text-align: center;
  margin-bottom: 28px;
  font-weight: 600;
}
.trust-logos {
  display: flex;
  gap: 48px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  max-width: var(--max);
  margin: 0 auto;
}
.trust-logos img {
  height: 36px;
  width: auto;
  opacity: 0.7;
  filter: brightness(0) invert(1) opacity(0.7);
  transition: opacity 0.2s;
  max-width: 160px;
  object-fit: contain;
}
.trust-logos img:hover {
  opacity: 1;
  filter: brightness(0) invert(1) opacity(1);
}
@media (max-width: 600px) {
  .trust-logos { gap: 28px; }
  .trust-logos img { height: 28px; }
}

/* ============ SECTIONS ============ */
section { padding: 80px 24px; }
@media (max-width: 600px) { section { padding: 56px 20px; } }
.section-inner { max-width: var(--max); margin: 0 auto; }

.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
}

h2.section-title {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  max-width: 900px;
  color: var(--ink);
}
h2.section-title em {
  font-family: var(--serif);
  color: var(--accent);
  font-style: italic;
  font-weight: 400;
}

.section-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--ink-mute);
  max-width: 720px;
  line-height: 1.65;
  margin-bottom: 48px;
}
.section-sub strong { color: var(--ink); font-weight: 600; }

/* ============ SERVICE CARDS ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.service-card {
  background: var(--bg);
  padding: 32px 28px;
  transition: background 0.3s;
  display: flex;
  flex-direction: column;
}
.service-card:hover { background: var(--bg-soft); }
.service-card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--bg-soft);
}
.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.service-card:hover .service-card-image img { transform: scale(1.03); }
.service-num {
  font-size: 11px;
  color: var(--ink-mute);
  margin-bottom: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}
.service-tag {
  display: inline-block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 10px;
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  color: var(--accent);
  border-radius: 100px;
  width: fit-content;
  margin-bottom: 12px;
  font-weight: 600;
}
.service-card h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--ink);
}
.service-card p {
  color: var(--ink-mute);
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}
.service-cta {
  font-size: 13px;
  color: var(--ink-mute);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-weight: 600;
}
.service-card:hover .service-cta { color: var(--accent); }

/* ============ WHY CARDS ============ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 20px;
}
.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.3s, transform 0.3s;
}
.why-card:hover {
  border-color: rgba(var(--accent-rgb), 0.4);
  transform: translateY(-2px);
}
.why-num {
  font-size: 11px;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: 0.12em;
  font-weight: 600;
  text-transform: uppercase;
}
.why-card h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.why-card p {
  color: var(--ink-mute);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ============ PROCESS ============ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 28px;
  margin-top: 40px;
}
.process-step {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  position: relative;
}
.process-step::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 48px;
  height: 1px;
  background: var(--accent);
}
.process-num {
  font-size: 11px;
  color: var(--accent);
  margin-bottom: 14px;
  letter-spacing: 0.12em;
  font-weight: 600;
  text-transform: uppercase;
}
.process-step h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.process-step p {
  color: var(--ink-mute);
  font-size: 14px;
  line-height: 1.6;
}

/* ============ STATS ============ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat-num {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.03em;
}
.stat-label {
  font-size: 12px;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* ============ PORTFOLIO GRID ============ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 16px;
  margin-top: 40px;
}
.portfolio-item {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--border);
}
.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.portfolio-item:hover img { transform: scale(1.05); }
.portfolio-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.85) 100%);
  color: var(--ink);
}
.portfolio-item-overlay h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 2px;
  letter-spacing: -0.012em;
}
.portfolio-item-overlay p {
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
}

/* ============ REPORT TYPES TABLE ============ */
.report-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.report-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}
.report-table th {
  padding: 16px 20px;
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  background: var(--bg-soft);
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.report-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  vertical-align: middle;
}
.report-table tr:last-child td { border-bottom: 0; }
.report-table tr:hover td { background: var(--bg-soft); }
.rt-name { font-weight: 600; color: var(--ink); }
.rt-mandatory { color: var(--accent); font-weight: 600; }
.rt-optional { color: var(--ink-mute); }
.rt-audience { color: var(--ink-mute); font-size: 13px; }
@media (max-width: 768px) {
  .report-table-wrap::after {
    content: '← Scroll for more →';
    display: block;
    padding: 12px;
    text-align: center;
    font-size: 11px;
    color: var(--ink-mute);
    border-top: 1px solid var(--border);
    background: var(--bg-soft);
  }
}

/* ============ FORM ============ */
.form-section {
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  position: relative;
  overflow: hidden;
}
.form-section::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 0;
  width: min(600px, 80vw);
  height: min(600px, 80vw);
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.08) 0%, transparent 70%);
  filter: blur(80px);
  z-index: 0;
  transform: translateX(-30%);
}
.form-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
  position: relative;
  z-index: 1;
}
@media (max-width: 968px) {
  .form-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
.form-left h2 {
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--ink);
}
.form-left h2 em {
  font-family: var(--serif);
  color: var(--accent);
  font-style: italic;
  font-weight: 400;
}
.form-left p {
  font-size: 16px;
  color: var(--ink-mute);
  line-height: 1.65;
  margin-bottom: 32px;
}
.form-right {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 36px;
}
@media (max-width: 600px) { .form-right { padding: 24px 20px; } }

.form-group { margin-bottom: 20px; }
.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}
@media (max-width: 600px) {
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
.form-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  margin-bottom: 8px;
  font-weight: 600;
}
.form-label .req { color: var(--accent); }
.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-textarea { resize: vertical; min-height: 90px; }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%239a9488' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 10px;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 11px 13px;
  cursor: pointer;
  font-size: 13.5px;
  transition: all 0.2s;
  user-select: none;
}
.checkbox-label:has(input:checked) {
  border-color: var(--accent);
  background: rgba(var(--accent-rgb), 0.05);
}
.checkbox-label input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
}
.form-submit {
  width: 100%;
  background: var(--accent);
  color: var(--bg);
  border: none;
  padding: 16px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  font-family: var(--sans);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.form-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(var(--accent-rgb), 0.3);
  background: var(--accent-soft);
}
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.form-fine {
  text-align: center;
  font-size: 12px;
  color: var(--ink-mute);
  margin-top: 14px;
}
.form-status {
  padding: 16px;
  border-radius: var(--radius);
  margin-top: 16px;
  display: none;
  font-size: 14px;
}
.form-status.success {
  display: block;
  background: rgba(var(--accent-rgb), 0.1);
  border: 1px solid var(--accent);
  color: var(--accent);
}
.form-status.error {
  display: block;
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid #ff6b6b;
  color: #ff6b6b;
}

/* ============ FAQ ============ */
.faq-list { max-width: 880px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
  cursor: pointer;
}
.faq-q {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.018em;
  color: var(--ink);
}
.faq-toggle {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: transform 0.3s, background 0.2s;
  color: var(--accent);
  margin-top: 2px;
}
.faq-item.open .faq-toggle {
  transform: rotate(45deg);
  background: var(--accent);
  color: var(--bg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  color: var(--ink-mute);
  font-size: 15px;
  line-height: 1.7;
  padding-right: 48px;
}
.faq-item.open .faq-a {
  max-height: 800px;
  padding-top: 16px;
}
.faq-a strong { color: var(--ink); font-weight: 600; }
@media (max-width: 600px) { .faq-a { padding-right: 0; } }

/* ============ BLOG ============ */
.blog-hero {
  padding: 64px 24px 40px;
  max-width: 880px;
  margin: 0 auto;
}
.blog-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  font-weight: 600;
}
.blog-meta-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ink-mute);
}
.blog-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--ink);
}
.blog-title em {
  font-family: var(--serif);
  color: var(--accent);
  font-style: italic;
  font-weight: 400;
}
.blog-lede {
  font-size: clamp(17px, 1.8vw, 21px);
  color: var(--ink-mute);
  line-height: 1.55;
}
.blog-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 24px 80px;
  font-size: 17px;
  line-height: 1.75;
}
.blog-body p { margin-bottom: 22px; color: var(--ink); }
.blog-body p em, .blog-body li em {
  font-family: inherit;
  color: inherit;
  font-style: italic;
  font-weight: 400;
}
.seo-content p em, .seo-content li em {
  font-family: inherit;
  color: inherit;
  font-style: italic;
  font-weight: 400;
}
.blog-body h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 600;
  margin-top: 48px;
  margin-bottom: 18px;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ink);
}
.blog-body h3 {
  font-size: 22px;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.blog-body ul, .blog-body ol { margin-bottom: 22px; padding-left: 24px; }
.blog-body li { margin-bottom: 10px; color: var(--ink); }
.blog-body strong { color: var(--ink); font-weight: 600; }
.blog-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.blog-body blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 24px;
  margin: 32px 0;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.45;
  font-style: italic;
  color: var(--ink);
  font-weight: 400;
}
.blog-cta-box {
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.08), rgba(var(--accent-rgb), 0.02));
  border: 1px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 40px 0;
  text-align: center;
}
.blog-cta-box h3 {
  font-size: 26px;
  margin-bottom: 12px;
  margin-top: 0;
  font-weight: 600;
  letter-spacing: -0.022em;
  color: var(--ink);
}
.blog-cta-box p {
  margin-bottom: 20px;
  color: var(--ink-mute);
  font-size: 16px;
}
.blog-cta-box .btn-primary {
  color: var(--bg) !important;
  background: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.blog-cta-box .btn-primary:hover {
  background: var(--accent-soft);
  color: var(--bg) !important;
}
.blog-body a.btn-primary {
  text-decoration: none;
  color: var(--bg);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 24px;
}
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color 0.3s, transform 0.3s;
  display: block;
}
.blog-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}
.blog-card-cat {
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  font-weight: 600;
}
.blog-card h3 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.022em;
  color: var(--ink);
}
.blog-card p {
  color: var(--ink-mute);
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-mute);
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.blog-card-read {
  margin-left: auto;
  color: var(--accent);
  font-weight: 600;
}

/* ============ FOOTER ============ */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 56px 24px 28px;
}
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}
@media (max-width: 768px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
}
.footer-brand p {
  color: var(--ink-mute);
  font-size: 13.5px;
  margin-top: 16px;
  line-height: 1.65;
  max-width: 320px;
}
.footer-col h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  font-size: 14px;
  color: var(--ink);
  opacity: 0.7;
  transition: opacity 0.2s, color 0.2s;
}
.footer-col a:hover {
  opacity: 1;
  color: var(--accent);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--ink-mute);
  flex-wrap: wrap;
  gap: 12px;
}

/* ============ PAGE HERO ============ */
.page-hero {
  padding: 56px 24px 72px;
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
}
.page-hero h1 {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--ink);
}
.page-hero h1 em {
  font-family: var(--serif);
  color: var(--accent);
  font-style: italic;
  font-weight: 400;
}
.page-hero p {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--ink-mute);
  max-width: 720px;
  line-height: 1.65;
  margin-bottom: 28px;
}

/* ============ SEO CONTENT ============ */
.seo-content {
  padding: 48px 24px 72px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.seo-content-inner {
  max-width: 880px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-mute);
}
.seo-content h2 {
  font-size: clamp(24px, 3vw, 32px);
  color: var(--ink);
  margin-bottom: 16px;
  margin-top: 36px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.seo-content h2:first-child { margin-top: 0; }
.seo-content h2 em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}
.seo-content p { margin-bottom: 16px; }
.seo-content ul {
  list-style: none;
  margin-bottom: 22px;
  padding-left: 0;
}
.seo-content ul li {
  padding: 5px 0 5px 22px;
  position: relative;
}
.seo-content ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.seo-content strong { color: var(--ink); font-weight: 600; }
.seo-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============ STICKY MOBILE CTA ============ */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: var(--accent);
  color: var(--bg);
  padding: 14px;
  border-radius: var(--radius);
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  z-index: 90;
}
@media (max-width: 768px) {
  .sticky-cta.visible { display: block; }
}

/* ============ MOTION ============ */
@media (prefers-reduced-motion: no-preference) {
  .fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }
}
*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ==========================================
   PHASE 2 OPTIMIZATIONS (UX/A11Y/PERFORMANCE)
   Added 2026-05-17
   ========================================== */

/* ---- Skip to content link (A11Y) ---- */
.skip-to-content {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent);
  color: var(--bg);
  padding: 8px 16px;
  z-index: 10000;
  font-weight: 600;
  font-size: 14px;
  border-radius: 0 0 var(--radius) 0;
  transition: top 0.2s;
}
.skip-to-content:focus {
  top: 0;
  outline: 2px solid var(--ink);
  outline-offset: -4px;
}

/* ---- Improved focus rings (A11Y) ---- */
*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
button:focus-visible,
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.nav-cta:focus-visible {
  outline-offset: 4px;
}

/* ---- Reduced motion (A11Y) ---- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
}

/* ---- Print styles ---- */
@media print {
  .nav, .announce, .sticky-cta, footer, .form-section,
  .nav-toggle, video, [class*="tawk"] {
    display: none !important;
  }
  body {
    background: white !important;
    color: black !important;
  }
  a {
    color: black !important;
    text-decoration: underline !important;
  }
  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
    color: #555;
  }
  h1, h2, h3 {
    page-break-after: avoid;
    color: black !important;
  }
  .hero, section { padding: 20px 0 !important; }
}

/* ---- High contrast mode support ---- */
@media (prefers-contrast: high) {
  :root {
    --border: rgba(245, 243, 238, 0.25);
    --border-strong: rgba(245, 243, 238, 0.5);
    --ink-mute: #c4bcae;
  }
}

/* ---- Loading states (CRO/UX) ---- */
.loading {
  opacity: 0.5;
  pointer-events: none;
  cursor: wait;
}
.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(8, 8, 8, 0.3);
  border-top-color: var(--bg);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
  margin-right: 8px;
}

/* ---- Comparison table (AEO - structured for answer engines) ---- */
.comparison-table {
  overflow-x: auto;
  margin: 32px 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-soft);
}
.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}
.comparison-table th {
  background: var(--bg-card);
  padding: 14px 20px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  border-bottom: 1px solid var(--border-strong);
}
.comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 14.5px;
  vertical-align: top;
}
.comparison-table tr:last-child td { border-bottom: 0; }
.comparison-table td:first-child {
  font-weight: 600;
  color: var(--ink);
}

/* ---- Stat callouts (EEAT/CRO) ---- */
.stat-callout {
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.08), rgba(var(--accent-rgb), 0.02));
  border: 1px solid rgba(var(--accent-rgb), 0.25);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin: 24px 0;
  display: flex;
  align-items: center;
  gap: 20px;
}
.stat-callout .stat-value {
  font-size: clamp(36px, 4vw, 56px);
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
}
.stat-callout .stat-desc {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.5;
}
.stat-callout .stat-desc strong { display: block; margin-bottom: 4px; font-weight: 600; }

/* ---- Lazy load placeholder ---- */
img[loading="lazy"] {
  background: var(--bg-soft);
  min-height: 1px;
}

/* ---- Video styling improvements ---- */
video {
  background: var(--bg-soft);
}

/* ---- Better mobile sticky CTA ---- */
@media (max-width: 768px) {
  body { padding-bottom: 72px; }
  .sticky-cta {
    bottom: 12px;
    left: 12px;
    right: 12px;
    padding: 14px 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7);
  }
}

/* ---- Author bio (EEAT) ---- */
.author-bio {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px;
  margin: 48px 0 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  color: var(--bg);
  flex-shrink: 0;
  font-weight: 600;
}
.author-info h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}
.author-info p {
  font-size: 14px;
  color: var(--ink-mute);
  line-height: 1.6;
  margin-bottom: 8px;
}
.author-info .author-meta {
  font-size: 12px;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
@media (max-width: 600px) {
  .author-bio { flex-direction: column; padding: 20px; }
}

/* ---- Breadcrumbs (SEO + UX) ---- */
.breadcrumbs {
  padding: 16px 24px;
  max-width: var(--max);
  margin: 0 auto;
  font-size: 13px;
  color: var(--ink-mute);
}
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  align-items: center;
}
.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumbs li:not(:last-child)::after {
  content: '/';
  color: var(--ink-mute);
  opacity: 0.5;
}
.breadcrumbs a {
  color: var(--ink-mute);
  transition: color 0.2s;
}
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs li:last-child {
  color: var(--ink);
  font-weight: 500;
}

/* ---- Testimonial cards (EEAT/CRO) ---- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 20px;
  margin-top: 32px;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
}
.testimonial-card::before {
  content: '“';
  position: absolute;
  top: 8px;
  left: 20px;
  font-family: var(--serif);
  font-size: 64px;
  color: var(--accent);
  line-height: 1;
  opacity: 0.4;
}
.testimonial-quote {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 20px;
  padding-top: 24px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg);
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.testimonial-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.testimonial-meta {
  font-size: 12.5px;
  color: var(--ink-mute);
  margin-top: 2px;
}

/* ---- Page transitions ---- */
@media (prefers-reduced-motion: no-preference) {
  body {
    animation: fadeIn 0.3s ease-out;
  }
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
}

/* ---- Focus management for forms (A11Y) ---- */
.form-input:focus-visible,
.form-select:focus-visible,
.form-textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 0;
  border-color: var(--accent);
}

/* ---- Required field indicator ---- */
.form-label .req {
  color: var(--accent);
  margin-left: 2px;
}

/* ---- Better error states ---- */
.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: #ff6b6b;
  background: rgba(255, 107, 107, 0.05);
}
.form-error-msg {
  font-size: 12px;
  color: #ff6b6b;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ---- Better Selection ---- */
::selection {
  background: var(--accent);
  color: var(--bg);
  text-shadow: none;
}

/* ---- Container queries ready ---- */
@supports (container-type: inline-size) {
  .responsive-container { container-type: inline-size; }
}

