/* ===== Ackerman Consultants — Styles ===== */

:root {
  /* Primary */
  --navy: #0b2545;
  --navy-deep: #081b35;
  --navy-light: #13396b;
  --white: #ffffff;
  /* Secondary */
  --gray-50: #f6f7f9;
  --gray-100: #eceef1;
  --gray-300: #c9ced6;
  --gray-500: #6b7280;
  --gray-700: #3f4654;
  --gray-900: #262b33;
  --black: #15171a;
  /* Accent */
  --accent: #2f7de0;
  --accent-dark: #1f5fb0;

  --font-head: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-width: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--navy);
  margin: 0 0 16px;
  line-height: 1.2;
  font-weight: 700;
}

h1 em, h2 em, h3 em {
  font-style: italic;
  font-weight: 600;
}

h2 { font-size: 2.3rem; }
h3 { font-size: 1.15rem; }

p { margin: 0 0 16px; color: var(--gray-700); }

.section-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-500);
  margin-bottom: 10px;
}

.section-label.light { color: var(--gray-300); }
.centered { text-align: center; margin-left: auto; margin-right: auto; }
.section-intro { max-width: 600px; }
.section-intro.light { color: var(--gray-300); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.logo-link { display: flex; align-items: center; height: 100%; }
.logo-img { height: 36px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav a {
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.main-nav a:hover { color: var(--accent); border-color: var(--accent); }

.main-nav a.nav-cta {
  background: var(--accent);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 4px;
  border-bottom: none;
}

.main-nav a.nav-cta:hover { background: var(--accent-dark); border-color: transparent; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  padding: 160px 0 140px;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
}

.hero-bg svg { width: 100%; height: 60%; display: block; }

@keyframes heroDrift {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(16px); }
}

.hero-bg svg polyline {
  animation: heroDrift 16s ease-in-out infinite;
  transform-origin: center;
}

.hero-bg svg polyline:nth-of-type(2) {
  animation-duration: 20s;
  animation-direction: reverse;
}

.hero-inner { position: relative; max-width: 1080px; margin: 0 auto; }

.hero-logo {
  height: 68px;
  width: auto;
  margin: 0 auto 48px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 72px;
  align-items: center;
  text-align: left;
}

.hero-text { text-align: left; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gray-300);
  margin-bottom: 18px;
}

.hero h1 {
  color: var(--white);
  font-size: 3.3rem;
  margin-bottom: 22px;
}

.hero-sub {
  color: var(--gray-100);
  font-size: 1.15rem;
  max-width: 540px;
  margin: 0 0 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.hero-portrait {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.portrait-frame {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 2px solid rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 18px;
}

.portrait-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  border-radius: 50%;
}

.portrait-initials {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}

.portrait-name {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.portrait-credentials {
  font-size: 0.78rem;
  color: var(--gray-300);
  margin-bottom: 0;
  max-width: 220px;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-primary { background: var(--white); color: var(--navy); }
.btn-primary:hover { background: var(--gray-100); }

.btn-secondary { border-color: rgba(255,255,255,0.5); color: var(--white); }
.btn-secondary:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--gray-100); }

.cv-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  background: var(--white);
  color: var(--navy);
  border-radius: 4px;
  border: 1px solid transparent;
  transition: background 0.2s, color 0.2s;
}

.cv-link svg { width: 17px; height: 17px; }
.cv-link:hover { background: var(--gray-100); color: var(--accent); }

/* ===== About ===== */
.about { padding: 130px 0; background: var(--gray-100); }

.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  background: var(--white);
  padding: 32px;
  border-radius: 6px;
  border: 1px solid var(--gray-100);
}

.stat { display: flex; flex-direction: column; }

.stat-num {
  font-family: var(--font-head);
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--gray-500);
  margin-top: 4px;
}

/* ===== Our Approach to Innovation ===== */
.framework { padding: 130px 0; background: var(--white); }

.framework-block {
  margin-top: 64px;
}

.framework-block:first-of-type {
  margin-top: 56px;
}

.framework-block + .framework-block {
  margin-top: 90px;
  padding-top: 70px;
  border-top: 1px solid var(--gray-100);
}

.framework-block h3 {
  font-size: 1.5rem;
}

.framework-diagram {
  max-width: 680px;
  margin: 56px auto 0;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  padding: 36px 32px 24px;
  box-shadow: 0 24px 60px rgba(11, 37, 69, 0.10);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.framework-diagram:hover {
  transform: translateY(-3px);
  box-shadow: 0 30px 70px rgba(11, 37, 69, 0.15);
}

.framework-diagram svg {
  width: 100%;
  height: auto;
  display: block;
}

.framework-diagram .axis-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  fill: var(--gray-500);
  letter-spacing: 0.02em;
}

.framework-diagram .quad-title {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  fill: var(--navy);
}

.framework-diagram .quad-title-muted { fill: var(--gray-500); }

.framework-diagram .quad-title-feature { fill: var(--accent); }

.framework-diagram .quad-sub {
  font-family: var(--font-body);
  font-size: 12px;
  fill: var(--gray-700);
}

.framework-diagram .quad-sub-feature {
  fill: var(--accent);
  font-weight: 600;
}

.framework-caption {
  max-width: 680px;
  margin: 20px auto 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--gray-500);
}

/* ===== Novation Dynamic diagram (within Our Approach to Innovation) ===== */
.novation-diagram {
  max-width: 680px;
  margin: 56px auto 0;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  padding: 36px 32px 24px;
  box-shadow: 0 24px 60px rgba(11, 37, 69, 0.10);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.novation-diagram:hover {
  transform: translateY(-3px);
  box-shadow: 0 30px 70px rgba(11, 37, 69, 0.15);
}

.novation-diagram svg {
  width: 100%;
  height: auto;
  display: block;
}

.novation-diagram .axis-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  fill: var(--gray-500);
  letter-spacing: 0.02em;
}

.novation-diagram .axis-label-accent { fill: var(--accent); }

.novation-diagram .pillar-title {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  fill: var(--navy);
}

.novation-diagram .pillar-sub {
  font-family: var(--font-body);
  font-size: 12px;
  fill: var(--gray-700);
}

/* ===== Services ===== */
.services { padding: 130px 0; background: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 64px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 6px;
  padding: 32px 28px;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  box-shadow: 0 10px 30px rgba(11, 37, 69, 0.08);
  transform: translateY(-3px);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  margin-bottom: 18px;
}

.service-icon svg { width: 22px; height: 22px; }

.service-card h3 { margin-bottom: 10px; }
.service-card p { margin-bottom: 0; font-size: 0.95rem; flex-grow: 1; }

.service-card-link {
  display: inline-block;
  align-self: flex-start;
  margin-top: 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid var(--gray-300);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.service-card-link:hover { color: var(--accent); border-color: var(--accent); }

/* ===== What's Happening ===== */
.updates { padding: 130px 0; background: var(--gray-50); }

.updates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 64px;
}

.updates-grid--single {
  grid-template-columns: minmax(0, 420px);
  justify-content: center;
}

.update-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 6px;
  padding: 32px 28px;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}

.update-card:hover {
  box-shadow: 0 10px 30px rgba(11, 37, 69, 0.08);
  transform: translateY(-3px);
}

.update-date {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.update-card h3 { margin-bottom: 10px; }
.update-card p { margin-bottom: 0; font-size: 0.95rem; flex-grow: 1; }

.updates-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.pulse-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.pulse-dot {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  z-index: 1;
}

.pulse-ring {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
  animation: pulse-out 2.4s ease-out infinite;
}

.pulse-ring-delay { animation-delay: 1.2s; }

@keyframes pulse-out {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2.6); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .pulse-ring { animation: none; display: none; }
}

/* ===== Our Approach ===== */
.approach { padding: 130px 0; background: var(--gray-100); }

.approach-text {
  max-width: 760px;
  margin: 56px auto 0;
}

.approach-text p {
  font-size: 1rem;
  color: var(--gray-700);
}

.approach-text p:last-child { margin-bottom: 0; }

/* ===== Speaking ===== */
.speaking {
  padding: 130px 0;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
}
.speaking h2, .speaking h3 { color: var(--white); }

.speaking-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 56px;
}

.speaking-col {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 28px 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.speaking-col:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

.speaking-col h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.plain-list { list-style: none; margin: 0; padding: 0; }
.plain-list li {
  font-size: 0.96rem;
  color: var(--gray-100);
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* ===== Awards ===== */
.awards { padding: 130px 0; background: var(--white); }

.awards-list {
  list-style: none;
  margin: 56px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 56px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.awards-list.single-col {
  grid-template-columns: 1fr;
  max-width: 560px;
}

.awards-list li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 16px 12px;
  margin: 0 -12px;
  border-bottom: 1px solid var(--gray-100);
  border-left: 3px solid transparent;
  border-radius: 4px;
  transition: background 0.2s ease, padding-left 0.2s ease, border-left-color 0.2s ease;
}

.awards-list li:hover {
  background: var(--gray-50);
  padding-left: 18px;
  border-left-color: var(--accent);
}

.award-year {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
  flex-shrink: 0;
  width: 48px;
}

.award-desc {
  font-size: 0.95rem;
  color: var(--gray-700);
}

/* ===== Recent Publications ===== */
.publications { padding: 130px 0; background: var(--gray-100); }

.publications-list {
  list-style: decimal;
  margin: 56px 0 0;
  padding: 0 0 0 24px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.publications-list li {
  font-size: 0.95rem;
  color: var(--gray-700);
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-300);
}

.publications-list li:last-child { border-bottom: none; }
.publications-list li::marker { color: var(--navy); font-weight: 600; }

.pub-link {
  display: inline-block;
  margin-left: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  border-bottom: 1px solid var(--gray-300);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}

.pub-link:hover { color: var(--accent); border-color: var(--accent); }

/* ===== Philosophy / pull-quote ===== */
.philosophy {
  padding: 110px 0;
  background: var(--white);
  text-align: center;
}

.philosophy blockquote {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--navy);
  max-width: 760px;
  margin: 0 auto 18px;
  line-height: 1.4;
}

.philosophy-attr {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin: 0;
}

/* ===== Industries ===== */
.industries { padding: 130px 0; background: var(--gray-100); }

.industries-list {
  list-style: none;
  margin: 56px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 40px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.industries-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--navy);
}

/* ===== Contact ===== */
.contact {
  padding: 150px 0;
  background: linear-gradient(160deg, var(--black) 0%, var(--navy-deep) 100%);
  color: var(--white);
  text-align: center;
}

.contact-inner { max-width: 620px; margin: 0 auto; }
.contact h2 { color: var(--white); }
.contact p { color: var(--gray-300); }
.contact-links { margin: 28px 0 24px; }

.contact-details {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.contact-details a { color: var(--gray-300); border-bottom: 1px solid rgba(255,255,255,0.25); padding-bottom: 2px; }
.contact-details a:hover { color: var(--accent); border-color: var(--accent); }

/* Formspree form — fs-* classes styled for dark contact section */
.fs-form {
  margin: 36px 0 32px;
  text-align: left;
}

.fs-field-row {
  display: flex;
  gap: 20px;
}

.fs-field {
  flex: 1;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.fs-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-300);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}

.fs-required { color: var(--accent); }

.form-required-note {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-300);
  margin: 0 0 18px;
}

.fs-input,
.fs-textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 4px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--white);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.fs-input::placeholder,
.fs-textarea::placeholder { color: var(--gray-500); }

.fs-input:focus,
.fs-textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255,255,255,0.09);
}

.fs-input[aria-invalid="true"],
.fs-textarea[aria-invalid="true"] { border-color: #e3897a; }

.fs-textarea { resize: vertical; min-height: 130px; }

.fs-description {
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--gray-500);
}

.fs-button-group {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.fs-button {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 4px;
  border: 1px solid transparent;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.fs-button:hover { background: var(--gray-100); }

.fs-button:disabled { opacity: 0.6; cursor: not-allowed; }

.form-note {
  font-size: 0.82rem;
  color: var(--gray-500);
  margin: 0;
}

/* Formspree AJAX states */
.form-success-msg {
  display: none;
  margin-top: 20px;
  padding: 18px 20px;
  background: rgba(47, 125, 224, 0.12);
  border: 1px solid rgba(47, 125, 224, 0.35);
  border-radius: 4px;
  color: var(--accent);
  font-size: 0.95rem;
  text-align: left;
}

.form-level-error {
  display: none;
  margin-bottom: 12px;
  font-size: 0.88rem;
  color: #e3897a;
}

.form-field-error {
  display: block;
  min-height: 1em;
  font-size: 0.8rem;
  color: #e3897a;
  margin-top: 4px;
}

@media (max-width: 640px) {
  .fs-field-row { flex-direction: column; gap: 0; }
  .fs-button-group { flex-direction: column; align-items: flex-start; }
}

/* ===== Scroll Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.services-grid .reveal:nth-child(1) { transition-delay: 0s; }
.services-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.services-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.services-grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.services-grid .reveal:nth-child(5) { transition-delay: 0.32s; }

.speaking-grid .reveal:nth-child(1) { transition-delay: 0s; }
.speaking-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.speaking-grid .reveal:nth-child(3) { transition-delay: 0.2s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-bg svg polyline {
    animation: none;
  }
}

/* ===== Footer ===== */
.site-footer {
  background: var(--navy-deep);
  color: var(--gray-300);
  padding: 32px 0;
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  height: 26px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-text p { margin: 0; color: var(--gray-300); }
.footer-tagline { font-size: 0.78rem; color: var(--gray-500); margin-top: 2px !important; }

.footer-email:hover { color: var(--accent); }

/* ===== Back to Top ===== */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s, background 0.2s;
  box-shadow: 0 6px 18px rgba(11, 37, 69, 0.25);
  z-index: 500;
}

.back-to-top svg { width: 20px; height: 20px; }

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover { background: var(--accent); }

/* ===== Responsive ===== */
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-text { text-align: center; }
  .hero-sub { margin: 0 auto 36px; }
  .hero-actions { justify-content: center; }
  .hero-portrait { order: -1; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .updates-grid { grid-template-columns: 1fr 1fr; }
  .speaking-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 700px) {
  .main-nav {
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
    border-bottom: 1px solid var(--gray-100);
    box-shadow: 0 8px 16px rgba(0,0,0,0.04);
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--gray-100); }
  .main-nav a.nav-cta { margin-top: 10px; text-align: center; }

  .nav-toggle { display: flex; }

  .hero { padding: 110px 0 90px; }
  .hero h1 { font-size: 2.2rem; }

  .services-grid { grid-template-columns: 1fr; }
  .updates-grid { grid-template-columns: 1fr; }
  .industries-list { grid-template-columns: 1fr; }
  .awards-list { grid-template-columns: 1fr; }
  .publications-list { padding-left: 20px; }

  .about-stats { grid-template-columns: 1fr 1fr; padding: 24px; }

  .footer-inner { flex-direction: column; text-align: center; }
}
