/*
Theme Name: CyFortis
Theme URI: https://cyfortis.xyz
Author: CyFortis
Author URI: https://cyfortis.xyz
Description: Cyber & AI Governance Advisory — Senior GRC advisory for boards, CISOs, and risk managers across regulated industries.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: cyfortis
*/

/* ── CSS VARIABLES ─────────────────────────────────────────────────────────── */
:root {
  --navy:       #0D1F3C;
  --navy-mid:   #0D2D4F;
  --slate:      #1A5F8A;
  --teal:       #1A7FA0;
  --teal-light: #2AA0C4;
  --cream:      #F5F0E8;
  --cream-dark: #EAE4DA;
  --white:      #FFFFFF;
  --text-light: #7A9BBF;
  --text-muted: #AABFD4;
  --border:     #1A3A5C;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(13,31,60,0.3);
  --shadow-md: 0 8px 32px rgba(13,31,60,0.4);
  --shadow-lg: 0 24px 64px rgba(13,31,60,0.5);
}

/* ── RESET & BASE ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── TYPOGRAPHY ─────────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  color: var(--white);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

p { color: var(--text-muted); line-height: 1.75; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
}

/* ── LAYOUT ─────────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section { padding: 100px 0; }
.section--tight { padding: 60px 0; }

/* ── BUTTONS ────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--teal);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--teal-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(26,127,160,0.35);
}

.btn--outline {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--border);
}
.btn--outline:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-1px);
}

/* ── NAVIGATION ─────────────────────────────────────────────────────────────── */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: var(--transition);
}

#site-header.scrolled {
  background: rgba(13, 31, 60, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 0;
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--teal);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}

.logo-text span {
  color: var(--teal);
}

.nav-links { display: flex; align-items: center; gap: 2.5rem; }

.nav-links .nav-menu-list,
ul.nav-menu-list {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu-list li a,
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--white); }

.nav-cta { margin-left: 1rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cream);
  transition: var(--transition);
  border-radius: 2px;
}

/* ── HERO ───────────────────────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(26,95,138,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 10% 80%, rgba(26,127,160,0.08) 0%, transparent 60%);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,127,160,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,127,160,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(26,127,160,0.12);
  border: 1px solid rgba(26,127,160,0.3);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  margin-bottom: 2rem;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.hero-badge span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

#hero h1 {
  margin-bottom: 1.5rem;
  color: var(--white);
}

#hero h1 em {
  font-style: normal;
  color: var(--teal);
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--text-light);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.proof-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.proof-number {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.proof-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.proof-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* ── POSITIONING STRIP ──────────────────────────────────────────────────────── */
#positioning {
  background: rgba(26,127,160,0.06);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}

.positioning-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.positioning-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  white-space: nowrap;
  flex-shrink: 0;
}

.positioning-divider {
  width: 1px;
  height: 28px;
  background: var(--border);
  flex-shrink: 0;
}

.positioning-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tag {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-light);
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  white-space: nowrap;
}

/* ── APPROACH ───────────────────────────────────────────────────────────────── */
#approach { background: var(--navy); }

.section-header {
  margin-bottom: 4rem;
  max-width: 600px;
}

.section-header h2 { margin: 0.75rem 0 1rem; }
.section-header p { font-size: 1.05rem; }

.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.approach-step {
  background: var(--navy);
  padding: 2.5rem 2rem;
  position: relative;
  transition: background var(--transition);
}

.approach-step:hover {
  background: rgba(26,95,138,0.12);
}

.step-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(26,127,160,0.15);
  line-height: 1;
  margin-bottom: 1.5rem;
  transition: color var(--transition);
}

.approach-step:hover .step-num {
  color: rgba(26,127,160,0.35);
}

.approach-step h3 {
  color: var(--white);
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.approach-step p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.step-detail {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.step-detail ul { display: flex; flex-direction: column; gap: 0.4rem; }

.step-detail li {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-left: 1rem;
  position: relative;
}

.step-detail li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-size: 0.7rem;
  top: 0.15em;
}

/* ── SERVICES ───────────────────────────────────────────────────────────────── */
#services {
  background: linear-gradient(180deg, var(--navy) 0%, rgba(13,29,58,0.95) 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.service-card {
  background: var(--navy);
  padding: 2.5rem;
  transition: background var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover { background: rgba(26,95,138,0.1); }
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 44px;
  height: 44px;
  background: rgba(26,127,160,0.1);
  border: 1px solid rgba(26,127,160,0.25);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: rgba(26,127,160,0.2);
  border-color: var(--teal);
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.service-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}

.service-card p {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-frameworks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.framework-tag {
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 0.2rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-family: var(--font-mono);
}

/* ── AUDIENCES ──────────────────────────────────────────────────────────────── */
#audiences {
  background: rgba(13,29,58,0.6);
}

.audiences-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.audience-card {
  background: rgba(26,95,138,0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}

.audience-card:hover {
  border-color: rgba(26,127,160,0.4);
  background: rgba(26,95,138,0.12);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.audience-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.audience-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.audience-question {
  font-size: 0.875rem;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 1.5rem;
  padding-left: 0.75rem;
  border-left: 2px solid var(--teal);
  line-height: 1.6;
}

.audience-points {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.audience-points li {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.5;
}

.audience-points li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-size: 0.65rem;
  top: 0.2em;
}

/* ── ABOUT ──────────────────────────────────────────────────────────────────── */
#about {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.about-bg {
  position: absolute;
  top: 0;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(26,95,138,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-content .section-header { margin-bottom: 2rem; }
.about-content .section-header p { font-size: 1rem; margin-bottom: 1rem; }

.about-credentials {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 2rem;
}

.credential {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-light);
}

.credential-dot {
  width: 5px;
  height: 5px;
  background: var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
}

.about-card {
  background: rgba(26,95,138,0.08);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 2rem;
  right: 2rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
}

.about-card-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.5rem;
}

.jurisdiction-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.jurisdiction-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.jurisdiction-item .flag {
  font-size: 1rem;
}

.about-quote {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-light);
  font-style: italic;
  line-height: 1.7;
}

/* ── ASSESSMENT CTA ─────────────────────────────────────────────────────────── */
#assessment-cta {
  background: linear-gradient(135deg, rgba(26,95,138,0.15) 0%, rgba(26,127,160,0.08) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.assessment-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
}

.assessment-content h2 { margin: 0.75rem 0 1rem; }
.assessment-content p { max-width: 540px; }

.assessment-steps {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.assessment-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-light);
}

.step-bullet {
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
}

.assessment-card {
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  min-width: 280px;
  text-align: center;
}

.assessment-card .assessment-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.assessment-card h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.assessment-card p {
  font-size: 0.8rem;
  margin-bottom: 1.5rem;
}

/* ── CONTACT ────────────────────────────────────────────────────────────────── */
#contact { background: var(--navy); }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-info .section-header { margin-bottom: 2.5rem; }

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
}

.contact-method:hover {
  border-color: var(--teal);
  background: rgba(26,127,160,0.06);
}

.method-icon {
  width: 36px;
  height: 36px;
  background: rgba(26,127,160,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.method-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  display: block;
  margin-bottom: 0.15rem;
}

.method-value {
  font-size: 0.875rem;
  color: var(--text-light);
}

.contact-form-wrap {
  background: rgba(26,95,138,0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.contact-form-wrap h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.contact-form-wrap > p {
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(13,31,60,0.8);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.875rem;
  transition: border-color var(--transition);
  outline: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  background: rgba(26,95,138,0.08);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-group select option { background: var(--navy); }

.form-submit { width: 100%; justify-content: center; margin-top: 0.5rem; }

/* ── FOOTER ─────────────────────────────────────────────────────────────────── */
#site-footer {
  background: rgba(8,18,36,0.95);
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .nav-logo { margin-bottom: 1rem; }

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col li a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-frameworks {
  display: flex;
  gap: 0.5rem;
}

.footer-frameworks .framework-tag {
  font-size: 0.62rem;
}

/* ── MOBILE ─────────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .assessment-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--navy);
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    z-index: 999;
  }

  .nav-links.open a { font-size: 1.2rem; }

  .approach-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .audiences-grid { grid-template-columns: 1fr; }
  .jurisdiction-grid { grid-template-columns: 1fr; }

  .hero-proof { flex-wrap: wrap; gap: 1.5rem; }
  .proof-divider { display: none; }

  .positioning-inner { flex-wrap: wrap; }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

/* ── INSIGHTS ARCHIVE ───────────────────────────────────────────────────────── */
.insights-hero {
  padding: 140px 0 60px;
  background: linear-gradient(180deg, rgba(26,95,138,0.08) 0%, transparent 100%);
  border-bottom: 1px solid var(--border);
}

.insights-hero-inner { max-width: 640px; }
.insights-hero-inner .eyebrow { margin-bottom: 1rem; display: block; }
.insights-hero-inner h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 1rem; }
.insights-hero-inner p { font-size: 1.05rem; }

.insights-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 3rem;
}

.filter-btn {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  padding: 0.4rem 1rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(26,127,160,0.06);
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.insights-grid--3 { grid-template-columns: repeat(3, 1fr); }

.insight-card {
  background: rgba(26,95,138,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.insight-card:hover {
  border-color: rgba(26,127,160,0.4);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.insight-card-image {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.insight-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.insight-card:hover .insight-card-image img { transform: scale(1.03); }

.insight-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.insight-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.insight-category {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
}

.insight-meta-dot { color: var(--border); font-size: 0.75rem; }

.insight-date,
.insight-read {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.insight-title {
  font-size: 1.05rem;
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.insight-title a {
  color: var(--white);
  transition: color var(--transition);
}

.insight-title a:hover { color: var(--teal); }

.insight-excerpt {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  flex: 1;
}

.insight-read-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.03em;
  transition: gap var(--transition);
}

.insight-read-link:hover { color: var(--teal-light); }

.insights-pagination {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.insights-pagination .nav-links {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.insights-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: var(--transition);
  text-decoration: none;
}

.insights-pagination .page-numbers:hover,
.insights-pagination .page-numbers.current {
  border-color: var(--teal);
  color: var(--teal);
}

.insights-pagination .prev,
.insights-pagination .next {
  width: auto;
  padding: 0 1rem;
  font-size: 0.8rem;
}

.insights-empty {
  text-align: center;
  padding: 4rem 0;
  color: var(--text-muted);
}

/* ── SINGLE ARTICLE ─────────────────────────────────────────────────────────── */
.article-header {
  padding: 140px 0 60px;
  background: linear-gradient(180deg, rgba(26,95,138,0.08) 0%, transparent 100%);
  border-bottom: 1px solid var(--border);
}

.article-header-inner { max-width: 760px; }

.article-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.article-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.article-lead {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 640px;
}

.article-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.author-avatar {
  width: 40px;
  height: 40px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.author-name {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
}

.author-role {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.article-featured-image {
  padding: 2rem 0 0;
}

.article-featured-image img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 4rem;
  align-items: start;
}

/* Article content typography */
.article-content {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-light);
}

.article-content h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
  color: var(--white);
}

.article-content h3 {
  font-size: 1.2rem;
  margin: 2rem 0 0.75rem;
  color: var(--white);
}

.article-content p { margin-bottom: 1.5rem; }

.article-content ul,
.article-content ol {
  margin: 0 0 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }

.article-content li { color: var(--text-light); }

.article-content strong { color: var(--white); font-weight: 600; }

.article-content em { font-style: italic; color: var(--text-light); }

.article-content blockquote {
  border-left: 3px solid var(--teal);
  padding: 1rem 0 1rem 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--text-light);
  font-size: 1.05rem;
}

.article-content a {
  color: var(--teal);
  text-decoration: underline;
  text-decoration-color: rgba(26,127,160,0.4);
  transition: text-decoration-color var(--transition);
}

.article-content a:hover { text-decoration-color: var(--teal); }

.article-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

/* Sidebar */
.article-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sidebar-card {
  background: rgba(26,95,138,0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.sidebar-card-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}

.related-posts {
  background: rgba(13,29,58,0.5);
  border-top: 1px solid var(--border);
}

/* ── RESPONSIVE — INSIGHTS & ARTICLE ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .insights-grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .insights-grid,
  .insights-grid--3 { grid-template-columns: 1fr; }
  .article-header { padding: 120px 0 40px; }
}
