:root {
  --bg: #050505;
  --panel: #0b0b0b;
  --panel-2: #101010;
  --text: #f5f5f2;
  --muted: #a8a8a2;
  --line: rgba(255,255,255,.12);
  --line-strong: rgba(255,255,255,.24);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }
::selection { background: #fff; color: #000; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 84px;
  padding: 0 max(26px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, rgba(5,5,5,.96), rgba(5,5,5,.72), transparent);
  z-index: 50;
}

.brand-mark {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .16em;
}
.nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 13px;
  letter-spacing: .06em;
  color: #c8c8c3;
}
.nav a { transition: color .2s ease; }
.nav a:hover { color: #fff; }
.nav-cta {
  border: 1px solid var(--line-strong);
  padding: 11px 16px;
}

.menu-btn {
  display: none;
  width: 44px; height: 44px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.menu-btn span:not(.sr-only) {
  display: block;
  width: 24px; height: 1px;
  background: #fff;
  margin: 7px auto;
}

.mobile-nav {
  display: none;
}

.hero {
  min-height: 100svh;
  max-width: var(--max);
  margin: 0 auto;
  padding: 126px 26px 76px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 34px;
  position: relative;
}
.hero-copy { position: relative; z-index: 2; }
.eyebrow {
  margin: 0 0 24px;
  color: #bcbcb7;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .24em;
}
.hero h1 {
  margin: 0;
  max-width: 790px;
  font-size: clamp(46px, 5.4vw, 80px);
  line-height: .99;
  letter-spacing: -.045em;
  font-weight: 600;
}
.hero h1 span {
  color: #adada8;
  font-weight: 450;
}
.hero-text {
  max-width: 610px;
  margin: 30px 0 0;
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.btn {
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .03em;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: #f3f3ef; color: #050505; }
.btn-secondary { border: 1px solid var(--line-strong); color: #efefeb; }

.hero-logo-wrap {
  position: relative;
  width: min(46vw, 570px);
  justify-self: end;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.hero-logo-wrap img {
  position: relative;
  z-index: 2;
  width: 100%;
  border-radius: 50%;
  filter: contrast(1.05);
}
.logo-halo {
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  filter: blur(70px);
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(100px);
  opacity: .15;
}
.glow-one {
  width: 360px; height: 360px;
  right: 8%; top: 14%;
  background: #fff;
}
.glow-two {
  width: 280px; height: 280px;
  left: -12%; bottom: 4%;
  background: #777;
}
.scroll-cue {
  position: absolute;
  left: 26px; bottom: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #777;
  font-size: 9px;
  letter-spacing: .22em;
}
.scroll-cue i {
  display: block;
  width: 58px;
  height: 1px;
  background: #666;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 130px 26px;
  border-top: 1px solid var(--line);
}
.section-split {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 70px;
}
.section-kicker {
  font-size: 11px;
  letter-spacing: .18em;
  color: #777;
  font-weight: 700;
}
.section-content h2,
.approach-head h2,
.contact h2 {
  margin: 0;
  max-width: 850px;
  font-size: clamp(36px, 4.7vw, 66px);
  line-height: 1.04;
  letter-spacing: -.035em;
  font-weight: 500;
}
.two-col-copy {
  margin-top: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  max-width: 900px;
}
.two-col-copy p,
.approach-head p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.capability-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.cap-card {
  min-height: 300px;
  padding: 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 100% 0%, rgba(255,255,255,.035), transparent 42%),
    transparent;
  transition: background .25s ease, transform .25s ease;
}
.cap-card:hover {
  background: #0c0c0c;
  transform: translateY(-2px);
}
.cap-num {
  color: #666;
  font-size: 11px;
  letter-spacing: .16em;
}
.cap-card h3 {
  margin: 105px 0 14px;
  font-size: 28px;
  letter-spacing: -.02em;
  font-weight: 500;
}
.cap-card p {
  margin: 0;
  max-width: 470px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.approach-head {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  align-items: end;
  margin-top: 48px;
}
.approach-head p { max-width: 340px; }
.process {
  position: relative;
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
}
.process-line {
  position: absolute;
  top: 19px; left: 0; right: 0;
  height: 1px;
  background: var(--line);
}
.process article { position: relative; padding-top: 52px; }
.process article > span {
  position: absolute;
  top: 0; left: 0;
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: #aaa;
  font-size: 10px;
}
.process h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 600;
}
.process p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.quote-band {
  padding-top: 58px;
  padding-bottom: 58px;
  overflow: hidden;
}
.quote-band p {
  margin: 0;
  text-align: center;
  white-space: nowrap;
  font-size: clamp(24px, 4vw, 54px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: .03em;
  color: #d7d7d1;
}
.quote-band span {
  color: #5f5f5b;
  padding: 0 .25em;
}

.contact {
  min-height: 72vh;
  display: grid;
  place-items: center;
  padding: 120px 26px;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.07), transparent 36%),
    #070707;
}
.contact-inner {
  max-width: 980px;
  text-align: center;
}
.contact h2 {
  margin: 0 auto;
}
.email-link {
  display: inline-block;
  margin-top: 40px;
  padding-bottom: 5px;
  border-bottom: 1px solid #fff;
  font-size: clamp(19px, 2.2vw, 30px);
  font-weight: 500;
}
.contact-note {
  margin: 30px auto 0;
  color: #787873;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 26px 42px;
  display: flex;
  justify-content: space-between;
  color: #686864;
  font-size: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .mobile-nav {
    display: flex;
    position: fixed;
    inset: 84px 0 0;
    background: rgba(5,5,5,.98);
    flex-direction: column;
    padding: 40px 26px;
    gap: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: .2s ease;
    z-index: 49;
  }
  .mobile-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .mobile-nav a {
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    font-size: 28px;
    letter-spacing: -.02em;
  }

  .hero {
    min-height: auto;
    padding-top: 120px;
    grid-template-columns: 1fr;
  }
  .hero-copy { order: 2; }
  .hero-logo-wrap {
    order: 1;
    justify-self: center;
    width: min(80vw, 520px);
    margin-bottom: 12px;
  }
  .hero h1 { font-size: clamp(44px, 11vw, 72px); }
  .scroll-cue { display: none; }

  .section { padding-top: 95px; padding-bottom: 95px; }
  .section-split { grid-template-columns: 1fr; gap: 34px; }
  .two-col-copy { grid-template-columns: 1fr; }
  .capability-grid { grid-template-columns: 1fr; }
  .cap-card { min-height: 240px; }
  .cap-card h3 { margin-top: 70px; }

  .approach-head {
    align-items: start;
    flex-direction: column;
  }
  .process {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .process-line {
    width: 1px;
    height: calc(100% - 30px);
    left: 19px; top: 0;
  }
  .process article {
    padding-top: 0;
    padding-left: 64px;
    min-height: 96px;
  }
  .process article > span {
    left: 0;
  }
}

@media (max-width: 560px) {
  .site-header { height: 72px; }
  .mobile-nav { inset: 72px 0 0; }
  .hero { padding: 100px 20px 70px; }
  .hero-logo-wrap { width: 92vw; margin-left: -6vw; margin-right: -6vw; }
  .hero-text { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { text-align: center; }
  .section { padding: 78px 20px; }
  .section-content h2,
  .approach-head h2,
  .contact h2 { font-size: 38px; }
  .cap-card { padding: 24px; }
  .contact { padding: 90px 20px; }
  footer { padding-left: 20px; padding-right: 20px; }
}

/* JasonHermes.com — retains the original MA212 design system */
.brand-affiliation {font-size: 9px; font-weight: 500; color: #999; letter-spacing: .1em; white-space: nowrap;}
.career-head {margin-top: 42px;}
.career-head p {margin-top: 22px;}
.career-list {margin-top: 55px; border-top: 1px solid var(--line);}
.career-item {display:grid;grid-template-columns: 225px 1fr;gap:42px;padding:35px 8px 39px;border-bottom:1px solid var(--line);}
.career-meta {color:#8c8c88;letter-spacing:.13em;font-size:11px;font-weight:700;display:flex;justify-content:space-between;max-width:175px;gap:10px;padding-top:8px;}
.career-meta span {opacity:.5;}
.career-item h3 {font-size:clamp(28px,3vw,40px);letter-spacing:-.025em;font-weight:500;margin:0 0 9px;}
.career-division {color:#999;font-size:.66em;}
.career-role {color:#e3e3de!important;font-size:15px!important;font-weight:600;margin:0 0 15px!important;}
.career-item p {color:var(--muted);font-size:16px;line-height:1.7;max-width:800px;margin:0;}
.impact-grid article h3 {font-size:clamp(24px,2.5vw,35px);line-height:1.15;}
@media (max-width: 740px) { .career-item {grid-template-columns:1fr;gap:12px;padding:27px 0;} .career-meta{max-width:none;justify-content:flex-start;} .career-head {margin-top:30px;} .brand-affiliation{font-size:8px;} }
