/* ===== Mathew Matisak LLC — Premium Site Styles ===== */

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

:root {
  /* Brand Colors — from brand kit rgb(26, 54, 93) */
  --navy: #1A365D;
  --navy-light: #1E4175;
  --navy-deep: #0F2440;
  --steel: #4A6FA5;
  --steel-light: #6B8FC0;
  --steel-muted: rgba(74, 111, 165, 0.08);
  --steel-border: rgba(74, 111, 165, 0.15);

  /* Neutrals */
  --gray-50: #FAFBFC;
  --gray-100: #F5F7FA;
  --gray-200: #E8ECF1;
  --gray-300: #D5DBE4;
  --gray-400: #B8C1CC;
  --gray-500: #6E7A8A;
  --gray-700: #3D4F5F;
  --gray-900: #1A2332;
  --text: #2C3E50;
  --text-light: #5A6A7A;
  --white: #FFFFFF;

  /* Layout */
  --max-width: 1140px;
  --nav-height: 76px;
  --section-padding: 7rem 0;

  /* Elevation */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.03);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.07), 0 4px 12px rgba(0,0,0,0.04);

  /* Shape */
  --radius: 6px;
  --radius-lg: 10px;
  --radius-xl: 16px;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --transition: 0.3s var(--ease);
}

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

::selection {
  background: var(--steel-border);
  color: var(--navy);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--steel);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--navy);
}

:focus-visible {
  outline: 2px solid var(--steel);
  outline-offset: 3px;
  border-radius: 2px;
}

/* --- Container --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  transition: box-shadow var(--transition), border-color var(--transition);
}

.nav.scrolled {
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
  border-bottom-color: transparent;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--navy);
  transition: opacity var(--transition);
}

.nav-logo:hover {
  opacity: 0.8;
  color: var(--navy);
}

.nav-logo svg {
  height: 36px;
  width: auto;
}

.nav-logo-img {
  height: 54px;
  width: auto;
  max-width: 380px;
  display: block;
  flex-shrink: 0;
}

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

.nav-links a {
  color: var(--gray-500);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color var(--transition);
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s var(--ease-out);
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  position: relative;
  width: 36px;
  height: 36px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  position: absolute;
  left: 7px;
  transition: top 0.3s var(--ease), transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle span:nth-child(1) { top: 10px; }
.nav-toggle span:nth-child(2) { top: 17px; }
.nav-toggle span:nth-child(3) { top: 24px; }

.nav-toggle.open span:nth-child(1) {
  top: 17px;
  transform: rotate(45deg);
}
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) {
  top: 17px;
  transform: rotate(-45deg);
}

/* --- Hero Section --- */
.hero {
  padding: 11rem 0 5.5rem;
  background: linear-gradient(135deg, var(--white) 0%, var(--gray-50) 60%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: var(--nav-height);
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--steel) 30%, transparent 60%);
  opacity: 1;
}

.hero-bg-mark {
  position: absolute;
  top: var(--nav-height);
  right: -80px;
  width: 520px;
  height: 520px;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

.hero-bg-mark svg {
  width: 100%;
  height: 100%;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 700px;
}

.hero-content p {
  font-size: 1.0625rem;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 1.25rem;
}

.hero-content .hero-lead {
  font-size: 3.5rem;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 2.25rem;
  letter-spacing: -0.03em;
}

.hero-meta {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  gap: 0;
}

.hero-meta span {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
}

.hero-meta span + span {
  margin-left: 2rem;
  padding-left: 2rem;
  border-left: 1px solid var(--gray-300);
}

/* Sub-page hero */
.hero--subpage {
  padding: 10rem 0 3.5rem;
}

.hero--subpage .section-title {
  font-size: 2.125rem;
}

.hero--subpage .section-subtitle {
  margin-bottom: 0;
}

/* --- Section Base --- */
.section {
  padding: var(--section-padding);
}

.section--gray {
  background: var(--gray-50);
}

.section--navy {
  background: linear-gradient(170deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
}

.section--flush-top {
  padding-top: 0;
}

.section-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 0.875rem;
  display: block;
  border-left: 2px solid var(--steel);
  padding-left: 0.625rem;
}

.section--navy .section-label {
  color: var(--steel-light);
  border-left-color: var(--steel-light);
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.125rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.section--navy .section-title {
  color: var(--white);
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-light);
  max-width: 520px;
  line-height: 1.8;
  margin-bottom: 3.5rem;
}

.section--navy .section-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

/* --- Framework Cards --- */
.framework-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.framework-card {
  padding: 2.25rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease), border-color 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.framework-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.framework-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--steel-border);
  transform: translateY(-4px);
}

.framework-card:hover::before {
  transform: scaleX(1);
}

.framework-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--steel-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.framework-card-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--steel);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.framework-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.875rem;
  letter-spacing: -0.01em;
}

.framework-card p {
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.75;
}

/* --- Engagements --- */
.engagements-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 3.5rem;
}

.engagement {
  padding: 2.25rem 0 2.25rem 1.5rem;
  border-bottom: 1px solid var(--gray-200);
  border-left: 3px solid var(--gray-200);
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}

.engagement:hover {
  border-left-color: var(--navy);
}

.engagement:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: calc(50% - 1.75rem);
}

.engagement h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.625rem;
  letter-spacing: -0.005em;
}

.engagement p {
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 0.5rem;
}

.engagement .metric {
  font-size: 0.9375rem;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 0;
}

/* --- Background / About --- */
.about-header {
  display: flex;
  align-items: flex-start;
  gap: 2.75rem;
  margin-bottom: 3.5rem;
}

.about-photo {
  width: 180px;
  height: 180px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
  border: 3px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.about-intro {
  flex: 1;
}

.about-intro p {
  font-size: 1.0625rem;
  opacity: 0.7;
  line-height: 1.8;
  max-width: 580px;
}

.background-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
}

.background-role {
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: background var(--transition), border-color var(--transition);
}

.background-role:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.32);
}

.background-role--full {
  grid-column: 1 / -1;
}

.background-role h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--white);
  letter-spacing: -0.005em;
}

.background-role p {
  font-size: 0.9375rem;
  line-height: 1.8;
  opacity: 0.75;
  margin-bottom: 0.5rem;
  max-width: 640px;
}

.background-role ul {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.background-role ul li {
  font-size: 0.9375rem;
  line-height: 1.8;
  opacity: 0.75;
  padding-left: 1.75rem;
  position: relative;
  margin-bottom: 0.375rem;
}

.background-role ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 10px;
  height: 1.5px;
  background: var(--steel-light);
}

/* --- Governance --- */
.governance-content {
  max-width: 680px;
}

.governance-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.875rem 2.5rem;
  margin-top: 1.75rem;
  list-style: none;
  padding: 0;
}

.governance-list li {
  font-size: 0.9375rem;
  color: var(--text-light);
  padding-left: 1.75rem;
  position: relative;
  line-height: 1.7;
  font-weight: 500;
}

.governance-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 10px;
  height: 2px;
  background: var(--steel);
  border-radius: 1px;
}

.governance-note {
  margin-top: 1.75rem;
  font-size: 0.9375rem;
  color: var(--text-light);
  max-width: 640px;
}

/* --- CTA Section --- */
.cta-section {
  text-align: center;
  padding: 6rem 0;
  background: linear-gradient(170deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.cta-section .section-title {
  max-width: 560px;
  margin: 0 auto 1.25rem;
  color: var(--white);
}

.cta-section .section-subtitle {
  max-width: 480px;
  margin: 0 auto 3rem;
  color: rgba(255, 255, 255, 0.65);
}

.cta-section .section-label {
  border-left-color: var(--steel-light);
  color: var(--steel-light);
}

.cta-section .btn-primary {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.cta-section .btn-primary:hover {
  background: var(--gray-100);
  color: var(--navy);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.22);
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4.5rem;
  align-items: start;
}

.contact-info h3 {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 0.625rem;
  margin-top: 2.25rem;
}

.contact-info h3:first-child {
  margin-top: 0;
}

.contact-info p {
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.8;
}

.contact-info a {
  color: var(--steel);
  font-weight: 500;
  transition: color var(--transition);
}

.contact-info a:hover {
  color: var(--navy);
}

.contact-form {
  background: var(--white);
  padding: 2.75rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
}

.contact-form h3 {
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

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

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.9375rem 1rem;
  font-size: 0.9375rem;
  font-family: 'Inter', sans-serif;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}

.form-group input:hover,
.form-group textarea:hover {
  border-color: var(--gray-400);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--steel);
  box-shadow: 0 0 0 3px var(--steel-muted);
}

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9375rem 2.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
  text-decoration: none;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(26, 54, 93, 0.2);
}

.btn-primary:hover {
  background: var(--navy-light);
  box-shadow: 0 4px 16px rgba(26, 54, 93, 0.3);
  transform: translateY(-2px);
  color: var(--white);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(26, 54, 93, 0.2);
}

.btn--block {
  width: 100%;
}

.sms-disclosure {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ── SMS consent checkbox ─────────────────────────────────────────────── */
.form-group--checkbox {
  margin-bottom: 1.5rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  cursor: pointer;
  font-size: 0.8125rem;
  color: var(--gray-600);
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  accent-color: var(--navy);
  cursor: pointer;
}

/* --- Legal/Compliance --- */
.legal-content {
  max-width: 700px;
}

.legal-section {
  margin-bottom: 3.5rem;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h2 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1.125rem;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid var(--gray-200);
}

.legal-section p {
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 1rem;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

/* --- Footer --- */
.footer {
  background: var(--gray-900);
  color: rgba(255, 255, 255, 0.65);
  padding: 3.5rem 0;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.footer-logo svg {
  height: 22px;
  width: auto;
  opacity: 0.4;
}

.footer p {
  font-size: 0.8125rem;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 2.25rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition);
  font-weight: 500;
}

.footer-links a:hover {
  color: rgba(255, 255, 255, 0.85);
}

/* --- Utilities --- */
.form-hint {
  font-weight: 400;
  color: var(--gray-500);
}

.mt-1 {
  margin-top: 1rem;
}

/* --- Scroll Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger */
.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }
.fade-in:nth-child(5) { transition-delay: 0.4s; }
.fade-in:nth-child(6) { transition-delay: 0.5s; }
.fade-in:nth-child(7) { transition-delay: 0.6s; }

/* --- Responsive: Tablet --- */
@media (max-width: 900px) {
  .engagements-grid {
    grid-template-columns: 1fr;
  }

  .engagement:last-child:nth-child(odd) {
    max-width: 100%;
  }

  .background-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* --- Responsive: Mobile --- */
@media (max-width: 768px) {
  :root {
    --section-padding: 4.5rem 0;
  }

  .container {
    padding: 0 1.5rem;
  }

  .nav-inner {
    padding: 0 1.5rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    gap: 0;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    border-bottom: 1px solid var(--gray-100);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-links a {
    display: block;
    padding: 1rem 0;
    font-size: 0.875rem;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    padding: 8rem 0 3.5rem;
  }

  .hero--subpage {
    padding: 8rem 0 2.5rem;
  }

  .hero-content .hero-lead {
    font-size: 2.375rem;
  }

  .hero-meta span + span {
    margin-left: 1.25rem;
    padding-left: 1.25rem;
  }

  .framework-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .framework-card {
    padding: 1.75rem;
  }

  .engagement {
    padding-left: 1.25rem;
  }

  .governance-list {
    grid-template-columns: 1fr;
  }

  .about-header {
    flex-direction: column;
    gap: 1.5rem;
  }

  .about-photo {
    width: 120px;
    height: 120px;
  }

  .section-title {
    font-size: 1.625rem;
  }

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

  .footer-brand {
    flex-direction: column;
    gap: 0.75rem;
  }

  .background-role {
    padding: 1.75rem;
  }

  .contact-form {
    padding: 2rem;
  }

  .nav-logo svg {
    height: 28px;
  }

  .nav-logo-img {
    height: 46px;
    width: auto;
    max-width: 320px;
  }

  .hero-tagline {
    font-size: 0.875rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }

  .nav-inner {
    padding: 0 1.25rem;
    gap: 0;
  }

  .hero-content .hero-lead {
    font-size: 1.75rem;
  }

  .hero-meta {
    flex-direction: column;
    gap: 0.5rem;
  }

  .hero-meta span + span {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
  }

  .contact-form {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
  }

  .engagements-grid {
    gap: 0;
  }

  .nav-logo svg {
    height: 24px;
  }

  .nav-logo-img {
    height: 40px;
    width: auto;
    max-width: 280px;
  }
}

/* --- Hero Tagline & CTA --- */
.hero-tagline {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
  margin-top: 2rem;
  margin-bottom: 2.5rem;
  padding-left: 1.125rem;
  border-left: 3px solid var(--steel);
  line-height: 1.5;
}

.hero-cta {
  margin-bottom: 3rem;
}

/* --- Honeypot field (invisible to real users) --- */
.hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  tab-size: 0;
}

/* --- Form success state --- */
.form-success {
  text-align: center;
  padding: 3rem 1.5rem;
}

.form-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--steel-muted);
  color: var(--steel);
  font-size: 1.875rem;
  line-height: 64px;
  display: block;
  margin: 0 auto 1.5rem;
  border: 2px solid var(--steel-border);
}

.form-success h4 {
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.625rem;
  letter-spacing: -0.01em;
}

.form-success p {
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.75;
}

/* --- Form error state --- */
.form-error {
  margin-bottom: 1.25rem;
  padding: 1rem 1.125rem;
  background: #FFEBEE;
  border: 1px solid #FEB2B2;
  border-radius: var(--radius);
  color: #B71C1C;
  font-size: 0.875rem;
  line-height: 1.6;
}

/* --- Hero Origin Note --- */
.hero-origin {
  margin-top: 1.75rem;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.85;
  max-width: 580px;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
}

/* --- What the Work Typically Involves --- */
.section--work-involves {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}

.work-involves-content {
  max-width: 640px;
}

.work-list {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 2rem;
}

.work-list li {
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.8;
  padding: 0.625rem 0 0.625rem 1.75rem;
  position: relative;
  border-bottom: 1px solid var(--gray-100);
}

.work-list li:last-child {
  border-bottom: none;
}

.work-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.1em;
  width: 10px;
  height: 1.5px;
  background: var(--steel);
}

.work-involves-close {
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.8;
  font-style: italic;
}

/* --- Print --- */
@media print {
  .nav, .nav-toggle, .btn, .footer, .cta-section {
    display: none;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero::before {
    display: none;
  }

  .fade-in {
    opacity: 1;
    transform: none;
  }

  .section--navy {
    background: var(--gray-100);
    color: var(--text);
  }

  .section--navy .section-title,
  .section--navy .section-label,
  .background-role h3 {
    color: var(--navy);
  }

  .background-role p,
  .background-role ul li,
  .about-intro p {
    opacity: 1;
    color: var(--text);
  }
}
