/* ============================================
   REZA HABIB — Professional Site
   Design: Refined Academic Authority
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Lora:ital,wght@0,400;0,500;1,400&family=DM+Sans:wght@300;400;500&display=swap');

/* ---- CSS Variables ---- */
:root {
  --bg:           #F8F7F2;
  --bg-alt:       #EFEDE5;
  --navy:         #1A1F3C;
  --navy-light:   #2D3561;
  --gold:         #B8962E;
  --gold-light:   #D4AF55;
  --text:         #2C2C2C;
  --text-muted:   #6B6B6B;
  --border:       #DDD9CE;
  --white:        #FFFFFF;
  --serif:        'Playfair Display', Georgia, serif;
  --body:         'Lora', Georgia, serif;
  --sans:         'DM Sans', system-ui, sans-serif;
  --max-w:        1100px;
  --transition:   0.3s ease;
}

/* ---- Dark Mode ---- */
@media (prefers-color-scheme: dark) {
  :root {
    --bg:         #0F1320;
    --bg-alt:     #161B2E;
    --text:       #E4E0D8;
    --text-muted: #9A9690;
    --border:     #2A3050;
    /* --white intentionally NOT overridden — used for text in hero/nav */
  }

  /* Page body & base text */
  body { background: var(--bg); color: var(--text); }

  /* Headings — !important to override all specific navy color rules */
  h1, h2, h3 { color: #E4E0D8 !important; }
  h4 { color: var(--gold-light) !important; }
  strong { color: #E4E0D8 !important; }
  p { color: var(--text); }

  /* Hero & nav headings already use var(--white) — restore them */
  .hero h1, .hero h2, .hero h3 { color: var(--white) !important; }
  .page-hero h1 { color: var(--white) !important; }

  /* Muted text in cards/sections */
  .service-card p,
  .about-text p,
  .section-header p,
  .expertise-item p,
  .talk-card p,
  .content-section li,
  .contact-info p { color: var(--text-muted) !important; }

  /* Links — override browser default blue */
  a { color: var(--gold-light); }
  a:hover { color: var(--gold); }
  /* Content section links specifically */
  .content-section a,
  .about-text a,
  .expertise-item a,
  .portfolio-card a,
  .talk-card a,
  .contact-info a { color: var(--gold-light) !important; }
  /* Nav links already styled with rgba white — leave them */
  .nav-links a { color: rgba(255,255,255,0.75); }

  /* Cards and white-background surfaces */
  .service-card,
  .about-stat,
  .credential-item,
  .timeline-item,
  .contact-form-wrap,
  .expertise-item,
  .qual-list li,
  .tool-row,
  .portfolio-card,
  .talk-card {
    background: #1E2438 !important;
    border-color: #2A3050 !important;
    color: var(--text);
  }

  /* Form inputs */
  .form-group input,
  .form-group textarea,
  .form-group select {
    background: #1A1F35 !important;
    border-color: #2A3050 !important;
    color: var(--text) !important;
  }

  .service-card:hover,
  .expertise-item:hover,
  .portfolio-card:hover,
  .talk-card:hover { background: #252B42 !important; }
  section:not(.hero):not(.credentials):not(.press-bar):nth-child(even) {
    background: var(--bg-alt);
  }

  /* Footer */
  .site-footer { background: #080C18; }
}

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

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--navy);
  line-height: 1.25;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.125rem); font-weight: 600; }
h3 { font-size: clamp(1.1rem, 2vw, 1.375rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); }

p { margin-bottom: 1.25rem; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 500; color: var(--navy); }

/* ---- Layout ---- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

section { padding: 5rem 0; }

/* Only apply alternating bg to plain sections, not dark/branded ones */
section:not(.hero):not(.credentials):not(.press-bar):nth-child(even) {
  background: var(--bg-alt);
}

/* ---- Rule Divider ---- */
.rule {
  width: 3rem;
  height: 2px;
  background: var(--gold);
  margin: 1.25rem 0 1.75rem;
}
.rule--center { margin-left: auto; margin-right: auto; }

/* ---- Navigation ---- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-family: var(--serif);
  font-size: 1.125rem;
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.nav-logo span { color: var(--gold-light); }
.nav-logo:hover { color: var(--white); }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold-light); }

.nav-cta {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--navy) !important;
  background: var(--gold-light);
  padding: 0.45rem 1.1rem;
  border-radius: 3px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav-cta:hover { background: var(--gold); color: var(--white) !important; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* ---- Hero ---- */
section.hero {
  background: var(--navy) !important;
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}

section.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(184,150,46,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.hero-eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-pipe {
  color: rgba(255,255,255,0.3);
  margin: 0 0.5rem;
}

.hero-sub {
  font-family: var(--body);
  font-size: 1.125rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  margin: 1.5rem 0 2.25rem;
  max-width: 520px;
}

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

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.75rem 1.75rem;
  border-radius: 3px;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
}
.btn-primary:hover { background: var(--gold-light); color: var(--white); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-outline:hover { border-color: var(--gold-light); color: var(--gold-light); }

.btn-dark {
  background: var(--navy);
  color: var(--white);
}
.btn-dark:hover { background: var(--navy-light); transform: translateY(-1px); }

.hero-photo {
  width: 320px;
  height: 370px;
  flex-shrink: 0;
  overflow: hidden;
  border: none;
  box-shadow: none;
  border-radius: 0;
  background: transparent;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-photo-placeholder {
  width: 100%;
  height: 100%;
  background: var(--navy-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-family: var(--sans);
  font-size: 0.8rem;
  text-align: center;
  padding: 1rem;
}

/* ---- As Seen In ---- */
.press-bar {
  background: var(--navy-light);
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.press-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.press-label {
  font-family: var(--sans);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4);
  white-space: nowrap;
}

.press-items {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

.press-item {
  font-family: var(--serif);
  font-size: 0.9rem;
  font-style: italic;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.02em;
  transition: color var(--transition);
  text-decoration: none;
}
a.press-item:hover { color: var(--gold-light); }
.press-item--inactive { cursor: default; }

/* Logo items */
.press-item--logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 1;
  transition: opacity var(--transition);
}
.press-item--logo:hover { opacity: 0.8; color: inherit; }

.press-logo {
  display: block;
  height: 22px;
  width: auto;
  /* Convert any dark logo to white */
  filter: brightness(0) invert(1);
}

.press-logo--atlantic { height: 58px; }
.press-logo--time { height: 32px; }
.press-logo--tal { height: 20px; }
.press-logo--sciam { height: 40px; width: auto; filter: none; }

.press-tal-text {
  font-family: var(--serif);
  font-size: 0.85rem;
  font-style: italic;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.02em;
  transition: color var(--transition);
}
.press-item--tal:hover .press-tal-text { color: var(--gold-light); }

/* ---- Section Headers ---- */
.section-header { margin-bottom: 3rem; }
.section-header h2 { margin-bottom: 0; }
.section-header p {
  margin-top: 0.75rem;
  color: var(--text-muted);
  font-size: 1.0625rem;
  max-width: 540px;
}

/* ---- Service Cards ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
}

.service-card {
  background: var(--white);
  padding: 2.5rem;
  transition: background var(--transition);
}
.service-card:hover { background: #FDFCF8; }

.service-icon {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--navy);
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.975rem;
  line-height: 1.7;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
}
.service-link:hover { gap: 0.7rem; color: var(--gold); }

/* ---- Credentials Strip ---- */
section.credentials {
  background: var(--navy) !important;
  color: var(--white);
}

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

.cred-item { padding: 1rem 0; }

.cred-number {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.cred-label {
  font-family: var(--sans);
  font-size: 0.825rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.4;
}

/* ---- Credential List ---- */
.cred-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 2rem;
}

.cred-list li {
  font-size: 0.975rem;
  color: var(--text-muted);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.55;
}

.cred-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.8rem;
}

/* ---- About Preview ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-photo {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  aspect-ratio: 4/5;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about-photo-placeholder {
  width: 100%;
  height: 100%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-family: var(--sans);
  font-size: 0.85rem;
  min-height: 400px;
}

.about-text p { color: var(--text-muted); }

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  background: var(--navy);
  padding: 3rem 0;
  min-height: 324px;
  display: flex;
  align-items: center;
}

.page-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.page-hero h1 { color: var(--white); font-size: clamp(1.75rem, 4vw, 2.5rem); }
.page-hero .tagline {
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem;
  margin-top: 0.75rem;
  max-width: 580px;
}

/* ---- Content Sections ---- */
.content-section { padding: 4rem 0; }
.content-section + .content-section { border-top: 1px solid var(--border); }

.content-section h2 { margin-bottom: 1rem; }
.content-section h3 {
  font-size: 1.2rem;
  margin-top: 2rem;
  margin-bottom: 0.6rem;
  color: var(--navy);
}
.content-section h3:first-child { margin-top: 0; }

.content-section p,
.content-section li { color: var(--text-muted); }

/* ---- Expertise Cards ---- */
.expertise-list { display: flex; flex-direction: column; gap: 2.5rem; }

.expertise-item {
  padding: 2rem 2.5rem;
  background: var(--white);
  border-left: 3px solid var(--gold);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.expertise-item h3 {
  margin-top: 0;
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.expertise-item p { color: var(--text-muted); margin-bottom: 0; }

/* ---- Qualifications List ---- */
.qual-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.qual-list li {
  padding: 0.75rem 1rem 0.75rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  font-size: 0.975rem;
  color: var(--text-muted);
  position: relative;
}

.qual-list li::before {
  content: '✓';
  position: absolute;
  left: 0.5rem;
  color: var(--gold);
  font-size: 0.8rem;
}

/* ---- Tools Grid ---- */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.tool-row {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 1.25rem;
}

.tool-label {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.tool-items {
  font-size: 0.925rem;
  color: var(--text-muted);
}

/* ---- Portfolio Cards ---- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.portfolio-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 1.75rem;
  transition: box-shadow var(--transition);
}
.portfolio-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.08); }

.portfolio-card h3 {
  font-size: 1rem;
  margin-top: 0;
  margin-bottom: 0.6rem;
  color: var(--navy);
}

.portfolio-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.portfolio-link {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.portfolio-link:hover { color: var(--navy); }

/* ---- Talk Cards ---- */
.talks-list { display: flex; flex-direction: column; gap: 1.5rem; }

.talk-card {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 2rem;
}

.talk-card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
}

.talk-card p { color: var(--text-muted); font-size: 0.975rem; margin: 0; }

/* ---- Contact Form ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h3 { margin-bottom: 0.5rem; margin-top: 2rem; }
.contact-info h3:first-child { margin-top: 0; }
.contact-info p, .contact-info a { color: var(--text-muted); font-size: 0.975rem; }
.contact-info a:hover { color: var(--gold); }

.directory-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.5rem;
}
.directory-list li { font-size: 0.9rem; color: var(--text-muted); }

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

.form-group label {
  display: block;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  font-family: var(--body);
  font-size: 0.975rem;
  color: var(--text);
  transition: border-color var(--transition);
  appearance: none;
}

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

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

/* ---- Social Icon Links ---- */
.footer-social {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 0.75rem;
}

.social-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.07);
  transition: color var(--transition), background var(--transition);
}

.social-icon-link:hover {
  color: var(--gold-light);
  background: rgba(255,255,255,0.12);
}

.social-icon-link svg {
  display: block;
  flex-shrink: 0;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.55);
  padding: 3rem 0 2rem;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

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

.footer-brand {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.4rem;
}
.footer-brand span { color: var(--gold-light); }

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  max-width: 260px;
  line-height: 1.5;
}

.footer-nav {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.footer-col a { font-size: 0.875rem; color: rgba(255,255,255,0.55); }
.footer-col a:hover { color: var(--gold-light); }

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.45);
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 2px;
  transition: all var(--transition);
}
.social-link:hover { color: var(--gold-light); border-color: var(--gold-light); }

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.3); }
.footer-bottom a { color: rgba(255,255,255,0.3); }
.footer-bottom a:hover { color: var(--gold-light); }

/* ---- Animations ---- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo { width: 180px; height: 210px; order: -1; }
  .services-grid { grid-template-columns: 1fr; }
  .cred-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .cred-list { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: var(--navy);
    padding: 1rem 2rem 1.5rem;
    gap: 0.75rem;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  section { padding: 3.5rem 0; }
  .cred-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: 1fr; }
  .footer-nav { flex-direction: column; gap: 1.5rem; }
}
