:root {
  color-scheme: light;
  --ink: #171b2b;
  --ink-soft: #43485a;
  --muted: #666d7d;
  --line: #e6e8ee;
  --paper: #ffffff;
  --wash: #f5f6f9;
  --red: #e8292d;
  --red-dark: #ba1e23;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
::selection { background: #ffe0e1; color: var(--ink); }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 18px; z-index: 10; padding: 12px 16px; background: var(--ink); color: #fff; }
.skip-link:focus { top: 12px; }

.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 84px; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: 222px; height: 35px; }
.main-nav { display: flex; align-items: center; justify-content: center; flex: 1; gap: clamp(18px, 2.5vw, 40px); }
.main-nav a, .footer-links a { font-size: .9rem; font-weight: 600; transition: color .2s ease; }
.main-nav a:hover, .footer-links a:hover, .footer-contact a:hover { color: var(--red); }
.header-cta { flex: none; padding: 12px 18px; border: 1px solid var(--ink); font-size: .84rem; font-weight: 700; transition: background .2s ease, color .2s ease; }
.header-cta:hover { color: #fff; background: var(--ink); }

.hero { padding: clamp(72px, 9vw, 132px) 0 100px; background: linear-gradient(160deg, #fff 0%, #fff 62%, #f8f9fb 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(350px, .85fr); align-items: center; gap: clamp(42px, 7vw, 105px); }
.eyebrow, .section-kicker { margin: 0 0 24px; color: var(--red-dark); font-size: .77rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 12px; }
.eyebrow-mark { width: 20px; height: 2px; background: var(--red); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.038em; }
h1 { max-width: 680px; margin-bottom: 28px; font-size: clamp(3.6rem, 6.1vw, 6.2rem); font-weight: 750; }
.hero-lead { max-width: 590px; margin-bottom: 34px; color: var(--ink-soft); font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.7; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 13px 22px; font-size: .93rem; font-weight: 750; line-height: 1.2; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.button-primary { color: #fff; background: var(--red-dark); border: 1px solid var(--red-dark); }
.button-primary:hover { background: #94171b; border-color: #94171b; }
.button-text { padding-inline: 4px; border-bottom: 1px solid var(--ink); }
.button-text:hover { color: var(--red); border-color: var(--red); }
.hero-footnote { margin: 50px 0 0; color: var(--muted); font-size: .83rem; }
.hero-panel { position: relative; overflow: hidden; min-height: 485px; padding: 30px 34px 28px; background: var(--ink); color: #fff; box-shadow: 18px 18px 0 #e9ebf0; }
.hero-panel::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(#ffffff0c 1px, transparent 1px), linear-gradient(90deg, #ffffff0c 1px, transparent 1px); background-size: 38px 38px; mask-image: linear-gradient(to bottom, #0008, transparent 70%); pointer-events: none; }
.panel-topline { position: relative; display: flex; justify-content: space-between; color: #b9becb; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.panel-emblem { position: relative; width: 146px; height: 146px; margin: 42px 0 30px; border: 1px solid #ffffff52; border-radius: 50%; display: grid; place-items: center; }
.panel-emblem::before, .panel-emblem::after { content: ""; position: absolute; border-radius: 50%; }
.panel-emblem::before { inset: 14px; border: 1px solid #ffffff32; }
.panel-emblem::after { inset: 37px; background: var(--red); box-shadow: 0 0 45px #e8292d55; }
.panel-emblem span { position: absolute; z-index: 1; width: 7px; height: 7px; background: #fff; border-radius: 50%; }
.panel-emblem span:first-child { top: -4px; left: 68px; }
.panel-emblem span:nth-child(2) { right: 10px; bottom: 21px; }
.panel-emblem span:nth-child(3) { left: 3px; bottom: 34px; }
.panel-heading { position: relative; max-width: 300px; margin-bottom: 24px; font-size: 1.55rem; font-weight: 700; line-height: 1.25; letter-spacing: -.025em; }
.panel-steps { position: relative; margin: 0; padding: 0; list-style: none; }
.panel-steps li { display: grid; grid-template-columns: 42px 1fr auto; gap: 8px; align-items: baseline; padding: 12px 0; border-top: 1px solid #ffffff3a; }
.panel-steps li > span { color: #f57578; font-size: .8rem; font-weight: 800; }
.panel-steps strong { font-size: .94rem; }
.panel-steps small { color: #b8bdc8; font-size: .79rem; }

.section { padding: 105px 0; }
.section-intro { display: grid; grid-template-columns: 1.2fr .7fr; gap: 60px; align-items: end; margin-bottom: 42px; }
.section-intro .section-kicker { margin-bottom: 18px; }
h2 { max-width: 710px; margin-bottom: 0; font-size: clamp(2.5rem, 4.25vw, 4.3rem); font-weight: 750; }
.section-intro > p { max-width: 420px; margin-bottom: 7px; color: var(--ink-soft); font-size: 1.05rem; }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 275px; padding: 34px 32px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.service-card-featured { background: #fafbfc; }
.service-type { display: inline-block; margin-bottom: 42px; color: var(--red-dark); font-size: .73rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.service-card h3 { max-width: 310px; margin-bottom: 14px; font-size: 1.52rem; font-weight: 750; }
.service-card p { max-width: 330px; margin-bottom: 0; color: var(--ink-soft); font-size: .95rem; line-height: 1.65; }

.approach-section { background: var(--wash); }
.approach-grid { display: grid; grid-template-columns: .8fr 1fr; gap: clamp(50px, 10vw, 150px); }
.approach-heading .section-kicker { margin-bottom: 18px; }
.approach-heading h2 { margin-bottom: 24px; }
.approach-heading > p:last-child { max-width: 360px; color: var(--ink-soft); font-size: 1.03rem; }
.approach-item { display: grid; grid-template-columns: 55px 1fr; gap: 12px; padding: 27px 0; border-bottom: 1px solid #d8dce5; }
.approach-item:first-child { padding-top: 5px; }
.approach-item:last-child { border-bottom: 0; }
.approach-index { color: var(--red-dark); font-size: .86rem; font-weight: 800; }
.approach-item h3 { margin-bottom: 8px; font-size: 1.44rem; }
.approach-item p { max-width: 430px; margin-bottom: 0; color: var(--ink-soft); font-size: .98rem; }

.team-intro { margin-bottom: 38px; }
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.person-card { min-width: 0; }
.person-card img { width: 100%; height: 295px; object-fit: cover; object-position: center 24%; background: #e9ebef; filter: grayscale(12%); }
.person-card:nth-child(2) img { object-position: center; }
.person-copy { padding-top: 19px; }
.person-copy span { display: block; min-height: 35px; margin-bottom: 5px; color: var(--red-dark); font-size: .73rem; font-weight: 800; letter-spacing: .075em; text-transform: uppercase; }
.person-copy h3 { margin-bottom: 0; font-size: 1.35rem; }
.team-directory-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin: 70px 0 22px; padding-top: 34px; border-top: 1px solid var(--line); }
.team-directory-heading h3 { margin: 0; font-size: 1.8rem; }
.team-directory-heading p { margin: 0; color: var(--muted); font-size: .9rem; }
.staff-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.staff-card { display: flex; align-items: center; gap: 15px; min-width: 0; min-height: 112px; padding: 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.staff-avatar { display: grid; flex: none; place-items: center; width: 64px; height: 64px; background: #f3e4e5; color: var(--red-dark); font-size: .98rem; font-weight: 800; letter-spacing: .02em; }
.staff-card h4 { margin: 0 0 4px; font-size: .99rem; line-height: 1.25; letter-spacing: -.02em; }
.staff-card p { margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.3; }

.contact-section { padding: 85px 0; background: var(--ink); color: #fff; }
.contact-inner { display: flex; justify-content: space-between; align-items: end; gap: 48px; }
.contact-section .section-kicker { margin-bottom: 18px; color: #ff8184; }
.contact-section h2 { max-width: 680px; margin-bottom: 18px; }
.contact-section p:last-child { max-width: 520px; margin-bottom: 0; color: #c6cad5; }
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; flex: none; }
.button-light { background: #fff; color: var(--ink); }
.button-light:hover { background: #f2dfe0; }
.contact-email { color: #dfe2e9; font-size: .92rem; text-decoration: underline; text-underline-offset: 4px; }

.career-hero { padding: 88px 0 78px; background: var(--wash); }
.career-hero h1 { max-width: 900px; margin-bottom: 26px; font-size: clamp(2.8rem, 4.7vw, 4.7rem); }
.career-hero .section-kicker { margin-bottom: 18px; }
.career-intro { max-width: 850px; color: var(--ink-soft); font-size: 1.05rem; }
.career-intro p { margin-bottom: 14px; }
.career-intro p:last-child { margin-bottom: 0; }
.career-listings .section-intro a { color: var(--red-dark); text-decoration: underline; text-underline-offset: 3px; }
.job-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.job-card { padding: 30px; border: 1px solid var(--line); background: #fff; }
.job-card-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 22px; }
.job-type { color: var(--red-dark); font-size: .73rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.job-permalink { color: var(--muted); font-size: .78rem; text-decoration: underline; text-underline-offset: 3px; }
.job-card h2 { min-height: 2.2em; margin-bottom: 20px; font-size: 1.75rem; }
.job-meta { display: flex; flex-wrap: wrap; gap: 9px 20px; color: var(--ink-soft); font-size: .88rem; }
.job-card details { margin-top: 24px; border-top: 1px solid var(--line); }
.job-card summary { padding: 18px 0 0; color: var(--red-dark); cursor: pointer; font-size: .9rem; font-weight: 750; }
.job-card summary:hover { text-decoration: underline; text-underline-offset: 3px; }
.job-details { padding-top: 20px; color: var(--ink-soft); font-size: .94rem; line-height: 1.65; }
.job-details h2, .job-details h3 { margin: 28px 0 12px; color: var(--ink); font-size: 1.35rem; }
.job-details h2:first-child, .job-details h3:first-child { margin-top: 0; }
.job-details p { margin-bottom: 14px; }
.job-details ul { padding-left: 20px; margin: 0 0 20px; }
.job-details li { margin-bottom: 8px; }
.job-details a:not(.button) { color: var(--red-dark); text-decoration: underline; text-underline-offset: 3px; }
.job-details .button { margin-top: 16px; color: #fff; text-decoration: none; }
.job-page-section { padding: 78px 0 110px; }
.job-page-container { max-width: 900px; }
.breadcrumbs { margin-bottom: 42px; color: var(--muted); font-size: .88rem; }
.breadcrumbs a { text-decoration: underline; text-underline-offset: 3px; }
.job-page-section h1 { margin-bottom: 22px; font-size: clamp(2.8rem, 5vw, 4.8rem); }
.job-page-meta { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.job-page-details { padding-top: 20px; font-size: 1rem; }
.back-link { display: inline-block; margin-top: 36px; color: var(--red-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.site-footer { background: #fff; }
.footer-main { display: grid; grid-template-columns: 1.5fr .65fr 1fr; gap: 44px; padding-top: 62px; padding-bottom: 58px; }
.footer-main > div:first-child p { max-width: 290px; margin: 20px 0 0; color: var(--muted); font-size: .9rem; }
.footer-links, .footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-contact a, .footer-contact p { margin: 0; font-size: .9rem; }
.footer-contact p { color: var(--muted); }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 20px; padding-bottom: 26px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }

@media (max-width: 1050px) {
  .header-inner { flex-wrap: wrap; justify-content: space-between; padding-block: 18px; }
  .main-nav { order: 3; flex-basis: 100%; justify-content: flex-start; }
  .hero-grid { grid-template-columns: 1fr .9fr; gap: 42px; }
  h1 { font-size: clamp(3.3rem, 6vw, 5rem); }
  .service-card { padding-inline: 26px; }
  .team-grid { gap: 16px; }
  .person-card img { height: 265px; }
  .staff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .container { width: min(100% - 36px, 560px); }
  .header-inner { min-height: 0; gap: 18px; }
  .brand img { width: 190px; height: auto; }
  .header-cta { display: none; }
  .main-nav { gap: 10px 22px; flex-wrap: wrap; }
  .main-nav a { font-size: .85rem; }
  .hero { padding: 70px 0 90px; }
  .hero-grid, .section-intro, .approach-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 62px; }
  h1 { font-size: clamp(3.15rem, 10vw, 5.2rem); }
  .hero-footnote { margin-top: 30px; }
  .hero-panel { min-height: 440px; max-width: 520px; box-shadow: 12px 12px 0 #e9ebf0; }
  .section { padding: 78px 0; }
  .section-intro { gap: 20px; margin-bottom: 32px; }
  .section-intro > p { margin-bottom: 0; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card { min-height: 255px; }
  .service-type { margin-bottom: 28px; }
  .approach-grid { gap: 28px; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 18px; }
  .person-card img { height: 300px; }
  .team-directory-heading { flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 60px; }
  .job-grid { grid-template-columns: 1fr; }
  .job-card h2 { min-height: 0; }
  .contact-inner { align-items: flex-start; flex-direction: column; gap: 28px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .hero-panel { padding-inline: 24px; }
  .panel-steps li { grid-template-columns: 30px 1fr; }
  .panel-steps small { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; padding: 28px 26px 32px; }
  .service-type { margin-bottom: 22px; }
  .team-grid { gap: 28px 14px; }
  .person-card img { height: 225px; }
  .person-copy h3 { font-size: 1.18rem; }
  .staff-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
  .footer-main > div:first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 4px; }
  .career-hero, .job-page-section { padding-block: 66px; }
  .job-card { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
