:root {
  --gtm-navy: #1B3A5C;
  --gtm-navy-dark: #122840;
  --gtm-orange: #F47C20;
  --gtm-orange-hover: #E06D15;
  --gtm-white: #FFFFFF;
  --gtm-gray-100: #F5F7FA;
  --gtm-gray-200: #E8ECF0;
  --gtm-gray-500: #6B7B8C;
  --gtm-gray-900: #1A2332;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max-width: 720px;
  --nav-height: 3.5rem;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gtm-gray-900);
  background: var(--gtm-white);
}

a {
  color: var(--gtm-navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
a:hover {
  color: var(--gtm-orange);
}

img, svg {
  max-width: 100%;
  height: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 0.5rem 1rem;
  background: var(--gtm-orange);
  color: var(--gtm-white);
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

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

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 960px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  min-height: var(--nav-height);
}

.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  overflow: visible;
  text-decoration: none;
  color: var(--gtm-gray-900);
}
.site-logo:hover {
  opacity: 0.85;
}

.logo-mark {
  display: inline-flex;
  align-items: baseline;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.logo-gt {
  color: var(--gtm-orange);
}

.logo-m {
  color: var(--gtm-navy);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--gtm-gray-200);
  border-radius: 4px;
  padding: 0.35rem 0.65rem;
  font-size: 0.875rem;
  cursor: pointer;
  color: var(--gtm-navy);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: block;
  padding: 0.5rem 0.75rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--gtm-gray-900);
  border-radius: 4px;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--gtm-orange);
  background: var(--gtm-gray-100);
}

.nav-cta {
  margin-left: 0.5rem;
}
.nav-cta a {
  background: var(--gtm-orange);
  color: var(--gtm-white) !important;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-decoration: none;
}
.nav-cta a:hover {
  background: var(--gtm-orange-hover);
  color: var(--gtm-white) !important;
}

@media (max-width: 640px) {
  .nav-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--gtm-white);
    border-bottom: 1px solid var(--gtm-gray-200);
    padding: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links .nav-cta {
    margin-left: 0;
    width: 100%;
  }
  .nav-links .nav-cta a {
    text-align: center;
  }
  .site-nav {
    position: relative;
    flex-wrap: wrap;
  }
}
.site-main {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

.page-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 2rem;
}
.page-content h1 {
  font-size: 2rem;
  margin: 0 0 0.5rem;
  color: var(--gtm-navy);
}
.page-content h2 {
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
  color: var(--gtm-navy);
}
.page-content h3 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.5rem;
}
.page-content p, .page-content ul {
  margin: 0 0 1rem;
}
.page-content ul {
  padding-left: 1.25rem;
}

.lead {
  font-size: 1.125rem;
  color: var(--gtm-gray-500);
  margin-bottom: 1.5rem;
}

.about-page .page-header {
  margin-bottom: 1.75rem;
}

.about-prose p {
  margin: 0 0 1.25rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--gtm-gray-900);
}
.about-prose p:last-child {
  margin-bottom: 0;
}
.about-prose strong {
  color: var(--gtm-navy);
  font-weight: 600;
}
.about-prose em {
  font-style: italic;
}

.about-tiles {
  margin-top: 2.5rem;
  margin-bottom: 0;
}
.about-tiles .section h2 {
  display: none;
}

.hero {
  background: var(--gtm-navy);
  color: var(--gtm-white);
  margin: 0 -1.25rem 2.5rem;
  padding: 3rem 1.25rem 3.5rem;
  text-align: center;
}
@media (min-width: 641px) {
  .hero {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding-left: calc(50vw - 50% + 1.25rem);
    padding-right: calc(50vw - 50% + 1.25rem);
  }
}
.hero .hero-brand {
  margin-bottom: 0.5rem;
  padding-top: 2.75rem;
}
.hero .hero-brand h1 {
  display: flex;
  justify-content: center;
  align-items: baseline;
  flex-wrap: nowrap;
  font-size: 1.75rem;
  margin: 0;
  font-weight: 700;
  color: var(--gtm-white);
  line-height: 1.2;
}
.hero .hero-part {
  white-space: nowrap;
}
.hero .hero-anchor-col {
  position: relative;
  display: inline-block;
}
.hero .hero-anchor-letter {
  display: inline-block;
}
.hero .hero-mark {
  position: absolute;
  bottom: calc(100% + 0.4rem);
  left: 50%;
  transform: translateX(-50%);
  font-size: 2.45rem;
  line-height: 1;
  white-space: nowrap;
}
.hero .hero-m {
  display: inline-block;
  color: var(--gtm-white);
}
.hero .hero-gt {
  position: absolute;
  right: 100%;
  top: 0;
  color: var(--gtm-orange);
}
.hero .hero-role {
  font-size: 1.05rem;
  opacity: 0.9;
  max-width: 32rem;
  margin: 0 auto 1.75rem;
  line-height: 1.5;
}

.btn {
  display: inline-block;
  padding: 0.65rem 1.35rem;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: var(--gtm-orange);
  color: var(--gtm-white);
}
.btn-primary:hover {
  background: var(--gtm-orange-hover);
  color: var(--gtm-white);
}

.btn-outline {
  background: transparent;
  color: var(--gtm-white);
  border: 2px solid rgba(255, 255, 255, 0.6);
}
.btn-outline:hover {
  border-color: var(--gtm-white);
  color: var(--gtm-white);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.section {
  margin-bottom: 2.5rem;
}
.section h2 {
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gtm-gray-500);
  margin: 0 0 1rem;
  font-weight: 600;
}

.card-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 600px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .card-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 480px) {
  .card-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  border: 1px solid var(--gtm-gray-200);
  border-radius: 8px;
  padding: 1.25rem;
  background: var(--gtm-white);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.card:hover {
  border-color: var(--gtm-orange);
  box-shadow: 0 2px 8px rgba(27, 58, 92, 0.08);
}
.card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}
.card h3 a {
  text-decoration: none;
  color: var(--gtm-navy);
}
.card h3 a:hover {
  color: var(--gtm-orange);
}
.card .card-meta {
  font-size: 0.8125rem;
  color: var(--gtm-gray-500);
  margin-bottom: 0.5rem;
}
.card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--gtm-gray-900);
}
.card .card-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--gtm-orange);
}

.card-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 1.75rem 1.25rem;
  text-align: center;
  text-decoration: none !important;
  color: var(--gtm-navy);
  min-height: 8.5rem;
}
.card-tile h3 {
  margin: 0;
  font-size: 1.1rem;
  color: inherit;
  text-decoration: none;
}
.card-tile:hover {
  color: var(--gtm-orange);
}
.card-tile:hover .card-icon {
  background: rgba(244, 124, 32, 0.12);
  color: var(--gtm-orange);
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: var(--gtm-gray-100);
  color: var(--gtm-navy);
  transition: background 0.15s, color 0.15s;
}
.card-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.case-study {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--gtm-gray-200);
}
.case-study:last-child {
  border-bottom: none;
}

.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gtm-orange);
  margin-bottom: 0.35rem;
}

.contact-primary {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}
@media (min-width: 640px) {
  .contact-primary {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-email-block {
  padding: 1.5rem;
  background: var(--gtm-gray-100);
  border-radius: 8px;
  border-left: 4px solid var(--gtm-navy);
}
.contact-email-block h2 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  color: var(--gtm-navy);
}
.contact-email-block p {
  margin: 0 0 0.75rem;
}
.contact-email-block p:last-child {
  margin-bottom: 0;
}

.contact-email-link {
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--gtm-navy);
}
.contact-email-link:hover {
  color: var(--gtm-orange);
}

.contact-block {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--gtm-gray-100);
  border-radius: 8px;
}
.contact-block h2 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  color: var(--gtm-navy);
}

.contact-secondary {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--gtm-gray-200);
  background: transparent;
}
.contact-secondary h2 {
  font-size: 1.1rem;
  color: var(--gtm-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.contact-secondary .text-muted {
  margin-bottom: 1.25rem;
}

.schedule-block {
  margin: 0;
  padding: 1.5rem;
  background: var(--gtm-gray-100);
  border-radius: 8px;
  border-left: 4px solid var(--gtm-orange);
}
.schedule-block h2 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  color: var(--gtm-navy);
}
.schedule-block p {
  margin: 0 0 1rem;
}
.schedule-block .schedule-note {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
}
.schedule-block .schedule-stub {
  opacity: 0.85;
  cursor: default;
  pointer-events: none;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.turnstile-container {
  margin-bottom: 1rem;
}
.turnstile-container:empty {
  display: none;
}

.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.35rem;
}
.form-group input, .form-group textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid var(--gtm-gray-200);
  border-radius: 4px;
}
.form-group input:focus, .form-group textarea:focus {
  outline: 2px solid var(--gtm-orange);
  outline-offset: 1px;
  border-color: var(--gtm-orange);
}
.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-status {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: 4px;
  font-size: 0.9375rem;
}
.form-status.success {
  background: #d4edda;
  color: #155724;
}
.form-status.error {
  background: #f8d7da;
  color: #721c24;
}

.sim-embed {
  margin: 1.5rem 0;
  border: 1px solid var(--gtm-gray-200);
  border-radius: 8px;
  overflow: hidden;
  background: var(--gtm-gray-100);
}
.sim-embed iframe {
  display: block;
  width: 100%;
  border: none;
}

.sim-section {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--gtm-gray-200);
}
.sim-section:last-child {
  border-bottom: none;
}

.site-footer {
  border-top: 1px solid var(--gtm-gray-200);
  padding: 2rem 1.25rem;
  margin-top: 2rem;
  text-align: center;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--gtm-gray-100);
  color: var(--gtm-navy);
  text-decoration: none;
}
.social-links a:hover {
  background: var(--gtm-orange);
  color: var(--gtm-white);
}
.social-links a svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

.copyright {
  font-size: 0.8125rem;
  color: var(--gtm-gray-500);
  margin: 0;
}

.text-muted {
  color: var(--gtm-gray-500);
  font-size: 0.9375rem;
}

.resume {
  max-width: 800px;
  padding-top: 2rem;
}
.resume h2 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gtm-gray-500);
  margin: 2rem 0 0.75rem;
  font-weight: 600;
}
.resume h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--gtm-navy);
}
.resume p {
  margin: 0 0 0.5rem;
}
.resume ul {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
}
.resume ul li {
  margin-bottom: 0.35rem;
}

.resume-header {
  border-bottom: 2px solid var(--gtm-navy);
  padding-bottom: 1.25rem;
  margin-bottom: 0.5rem;
}
.resume-header h1 {
  margin: 0 0 0.25rem;
  font-size: 2rem;
  color: var(--gtm-navy);
}
.resume-header .resume-tagline {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  color: var(--gtm-gray-500);
}

.resume-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9375rem;
}
.resume-contact a {
  text-decoration: none;
}

.resume-section {
  margin-bottom: 0.5rem;
}

.resume-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.resume-tags li {
  background: var(--gtm-gray-100);
  border: 1px solid var(--gtm-gray-200);
  border-radius: 4px;
  padding: 0.25rem 0.6rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gtm-navy);
}

.resume-domains {
  margin-top: 0.75rem !important;
  font-size: 0.9375rem;
}

.resume-role {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--gtm-gray-200);
}
.resume-role:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.resume-role-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.25rem 1rem;
  margin-bottom: 0.15rem;
}

.resume-dates {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gtm-gray-500);
  white-space: nowrap;
}

.resume-title {
  font-weight: 600;
  color: var(--gtm-navy);
}

.resume-context {
  font-size: 0.9375rem;
  color: var(--gtm-gray-500);
  font-style: italic;
}

.resume-list-compact {
  margin: 0;
  padding-left: 1.25rem;
}
.resume-list-compact li {
  margin-bottom: 0.35rem;
}

@media print {
  .site-header,
  .site-footer,
  .skip-link {
    display: none !important;
  }
  .resume {
    max-width: none;
    padding-top: 0;
  }
  .resume-role {
    break-inside: avoid;
  }
}
.page-header {
  padding-top: 2rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--gtm-gray-200);
  padding-bottom: 1.5rem;
}
.page-header h1 {
  margin: 0 0 0.35rem;
  font-size: 2rem;
  color: var(--gtm-navy);
}
