:root {
  --primary: #800032;
  --primary-dark: #520021;
  --primary-soft: #f9edf3;
  --ink: #171319;
  --muted: #635a66;
  --light: #fff9fb;
  --white: #ffffff;
  --line: #eadde4;
  --dark: #151015;
  --gold: #c69a45;
  --shadow: 0 24px 80px rgba(31, 13, 23, 0.14);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --container: 1040px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 50px;
}

section[id],
article[id],
div[id] {
  scroll-margin-top: 50px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(128, 0, 50, 0.35);
  outline-offset: 4px;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

p {
  color: var(--muted);
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.03;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 860px;
  margin-bottom: 24px;
  font-size: clamp(3.1rem, 8vw, 6.9rem);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 4.2rem);
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.container {
  width: min(100% - 72px, var(--container));
  margin-inline: auto;
}

.section {
  padding: 110px 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  padding: 12px 16px;
  color: var(--white);
  background: var(--primary);
  border-radius: 999px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(128, 0, 50, 0.12);
  backdrop-filter: blur(18px);
}

.utility-bar {
  color: var(--white);
  background: var(--primary);
}

.utility-inner,
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.utility-inner {
  min-height: 42px;
  font-size: 0.88rem;
}

.utility-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.utility-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 700;
}

.utility-links a {
  color: var(--white);
}

.utility-links .client-access-button {
  padding: 6px 14px;
  color: var(--primary);
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(31, 13, 23, 0.18);
  line-height: 1.2;
  transition:
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.utility-links .client-access-button:hover {
  color: var(--primary-dark);
  background: var(--primary-soft);
  box-shadow: 0 6px 16px rgba(31, 13, 23, 0.24);
  transform: translateY(-1px);
}

.main-nav {
  position: relative;
}

.nav-inner {
  min-height: 86px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  width: 180px;
  height: auto;
  place-items: center;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.nav-links>a,
.nav-item>a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 14px;
  color: #342a34;
  font-size: 0.94rem;
  font-weight: 750;
  border-radius: 999px;
}

.nav-links>a:hover,
.nav-item:hover>a {
  color: var(--primary);
  background: var(--primary-soft);
}

.nav-item {
  position: relative;
}

.nav-item.has-dropdown::before {
  content: "";
  position: absolute;
  top: 100%;
  right: -12px;
  left: -12px;
  height: 28px;
}

.has-dropdown>a::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr 1fr minmax(240px, 0.9fr);
  gap: 18px;
  width: min(760px, calc(100vw - 48px));
  padding: 22px;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
  transform: translateX(-50%) translateY(14px);
  transition: opacity 220ms ease, transform 220ms ease, visibility 0s linear 220ms;
}

.dropdown-menu--two-column {
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  width: min(460px, calc(100vw - 48px));
}

.dropdown-menu--two-column>div {
  min-width: 0;
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s;
}

.dropdown-menu a {
  display: block;
  padding: 10px 12px;
  color: var(--ink);
  font-weight: 750;
  border-radius: 14px;
}

.dropdown-menu a:hover {
  color: var(--primary);
  background: var(--primary-soft);
}

.dropdown-label {
  margin: 0 0 8px;
  padding-inline: 12px;
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dropdown-cta {
  padding: 20px;
  color: var(--white);
  background: linear-gradient(145deg, var(--primary), var(--primary-dark));
  border-radius: 20px;
}

.dropdown-cta strong,
.dropdown-cta p,
.dropdown-cta a {
  color: var(--white);
}

.dropdown-cta p {
  margin: 8px 0 18px;
  color: rgba(255, 255, 255, 0.82);
}

.dropdown-cta .text-link::after {
  background: var(--white);
}

.about-dropdown {
  grid-template-columns: 1fr;
  gap: 4px;
  width: 220px;
  min-width: 220px;
  padding: 12px;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  min-width: 150px;
  min-height: 40px;
  padding: 0 22px;
  font-weight: 650;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.nav-cta,
.button-primary {
  color: var(--white);
  background: var(--primary);
  box-shadow: 0 16px 36px rgba(128, 0, 50, 0.26);
}

.button-secondary {
  color: var(--primary);
  background: var(--white);
  border-color: rgba(128, 0, 50, 0.22);
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.button-primary:hover {
  background: var(--primary-dark);
}

.button-secondary:hover {
  background: var(--primary-soft);
}

.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  border: 0;
  clip-path: inset(50%);
}

.nav-toggle-label {
  display: none;
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: clip;
  padding: 120px 0 96px;
  background:
    linear-gradient(90deg, rgba(255, 249, 251, 0.62) 0%, rgba(255, 249, 251, 0.58) 30%, rgba(255, 249, 251, 0.36) 52%, rgba(255, 249, 251, 0.12) 72%, rgba(255, 249, 251, 0.04) 100%),
    url("../img/hero-banner.png") center center / cover no-repeat;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.75fr);
  gap: 42px;
  align-items: center;
}

.hero-copy {
  position: relative;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: var(--primary);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero-panel {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  padding: 32px;
  color: var(--white);
  background: linear-gradient(145deg, rgba(128, 0, 50, 0.96), rgba(37, 9, 24, 0.98)), linear-gradient(45deg, rgba(255, 255, 255, 0.08), transparent);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-panel::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 220px;
  height: 220px;
  border: 40px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
}

.hero-panel h2,
.hero-panel p,
.check-list {
  position: relative;
}

.hero-panel h2 {
  margin-bottom: 16px;
  color: var(--white);
  font-size: clamp(1.9rem, 3vw, 3rem);
}

.hero-panel p {
  color: rgba(255, 255, 255, 0.82);
}

.panel-tag {
  position: relative;
  display: inline-flex;
  margin-bottom: 24px;
  padding: 8px 12px;
  color: var(--primary-dark);
  background: var(--white);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 900;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
}

.check-list li::before {
  content: "✔";
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  margin-top: 1px;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 50%;
}

.stats-strip {
  position: relative;
  z-index: 2;
  margin-top: -44px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.stats-grid>div {
  padding: 28px;
  border-right: 1px solid var(--line);
}

.stats-grid>div:last-child {
  border-right: 0;
}

.stat-value {
  display: block;
  color: var(--primary);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.06em;
}

.stat-label {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 750;
}

.two-column-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 52px;
  align-items: start;
}

.intro .two-column-grid {
  align-items: center;
}

.intro-copy {
  align-self: center;
}

.intro-copy p,
.section-lede {
  font-size: 1.08rem;
}

.founder-photo {
  width: min(100%, 420px);
  margin: 16px 0 0;
}

.founder-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 46px;
}

.section-heading h2 {
  max-width: 680px;
  margin-bottom: 0;
}

.section-heading.narrow {
  display: block;
  max-width: 850px;
}

.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  font-weight: 900;
}

.text-link::after {
  content: "";
  width: 34px;
  height: 2px;
  margin-left: 10px;
  background: var(--primary);
  transition: width 180ms ease;
}

.text-link:hover::after {
  width: 52px;
}


.why-section,
.events-section,
.cta-section {
  background: var(--white);
}

.service-grid,
.testimonial-grid,
.events-grid {
  display: grid;
  gap: 18px;
}

.service-grid {
  grid-template-columns: repeat(3, 1fr);
}

.service-card,
.event-card,
.booking-card,
.contact-card,
.staff-card,
.job-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 56px rgba(31, 13, 23, 0.07);
}

.service-card {
  position: relative;
  min-height: 290px;
  overflow: hidden;
  padding: 30px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -42px;
  width: 110px;
  height: 110px;
  background: var(--primary-soft);
  border-radius: 40px;
  transform: rotate(18deg);
}

.service-card:hover {
  border-color: rgba(128, 0, 50, 0.32);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.card-number {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.18em;
}

.service-card p,
.event-card p {
  position: relative;
  margin-bottom: 0;
}

.industries-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: radial-gradient(circle at 16% 24%, rgba(255, 255, 255, 0.09), transparent 25%), linear-gradient(135deg, var(--dark), var(--primary-dark));
}

.industries-section h2,
.industries-section p {
  color: var(--white);
}

.industries-section .section-lede {
  color: rgba(255, 255, 255, 0.75);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.industry-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  padding: 0 24px;
  color: var(--white);
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  font-weight: 900;
}

.industry-pill:hover {
  background: rgba(255, 255, 255, 0.14);
}

.testimonials-section,
.page-intro,
.staff-section,
.job-section {
  background: var(--light);
}

.testimonial-grid {
  grid-template-columns: repeat(3, 1fr);
}

.testimonial-rating {
  display: block;
  width: 100%;
  margin-bottom: 22px;
  color: var(--gold);
  font-size: 1.55rem;
  font-weight: 950;
  letter-spacing: 0.18em;
  line-height: 1;
  text-align: center;
}

blockquote {
  margin: 0;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 56px rgba(31, 13, 23, 0.07);
}

blockquote p {
  margin-bottom: 24px;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 720;
}

cite {
  color: var(--primary);
  font-style: normal;
  font-weight: 900;
}

.affiliations-section {
  background: var(--white);
}

.affiliations-heading {
  margin-bottom: 38px;
  text-align: center;
}

.affiliations-heading h2 {
  margin-bottom: 18px;
  color: var(--primary);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.section-divider {
  position: relative;
  width: min(230px, 60vw);
  height: 18px;
  margin: 0 auto;
}

.section-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 1px;
  background: #7fa9b5;
}

.section-divider span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  background: #6b9faf;
  transform: translate(-50%, -50%) rotate(45deg);
}

.affiliation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  max-width: 960px;
  margin: 54px auto 0;
}

.affiliation-card {
  display: grid;
  min-height: 176px;
  place-items: center;
  padding: 36px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 22px 64px rgba(31, 13, 23, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.affiliation-card:hover {
  border-color: rgba(128, 0, 50, 0.28);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.affiliation-card img {
  width: auto;
  max-width: 280px;
  max-height: 112px;
  object-fit: contain;
}

.events-grid {
  grid-template-columns: repeat(
    auto-fit,
    minmax(min(100%, 280px), 1fr)
  );
}

.event-card {
  display: flex;
  flex-direction: column;
  padding: 30px;
}

.event-card>span {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.event-card>p {
  margin-bottom: 22px;
}

.event-details {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.event-details li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  color: var(--muted);
  line-height: 1.55;
}

.event-details li::before {
  content: "≫";
  color: #00843d;
  font-weight: 900;
}

.event-card .text-link {
  margin-top: auto;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 42px;
  background: radial-gradient(circle at 91% 16%, rgba(128, 0, 50, 0.15), transparent 27%), var(--primary-soft);
  border: 1px solid rgba(128, 0, 50, 0.12);
  border-radius: var(--radius-lg);
}

.cta-band h2 {
  margin-bottom: 12px;
}

.cta-band p {
  max-width: 650px;
  margin-bottom: 0;
}

#ask-mickey {
  min-width: 132px;
  color: var(--primary);
  background: var(--white);
  border-color: rgba(128, 0, 50, 0.18);
  box-shadow: 0 14px 34px rgba(128, 0, 50, 0.14);
  white-space: nowrap;
}

#ask-mickey:hover {
  background: var(--white);
  box-shadow: 0 18px 42px rgba(128, 0, 50, 0.18);
}

.consult-section {
  background: linear-gradient(180deg, #fff, var(--light));
}

.consult-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(380px, 1fr);
  gap: 46px;
  align-items: start;
}

.contact-card {
  display: grid;
  gap: 4px;
  max-width: 340px;
  margin-top: 30px;
  padding: 24px;
}

.contact-card strong {
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-card a {
  color: var(--primary);
  font-size: 1.7rem;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.booking-card {
  overflow: hidden;
}

.booking-card--external {
  min-height: 520px;
}

.booking-launch {
  display: flex;
  min-height: 440px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(32px, 6vw, 64px);
  background:
    radial-gradient(circle at 92% 12%,
      rgba(128, 0, 50, 0.12),
      transparent 28%),
    var(--white);
}

.booking-launch h3 {
  max-width: 520px;
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
}

.booking-launch>p:not(.eyebrow) {
  max-width: 540px;
  margin-bottom: 28px;
  font-size: 1rem;
}

.booking-launch__note {
  margin: 18px 0 0 !important;
  font-size: 0.82rem !important;
}

@media (max-width: 620px) {
  .booking-card--external {
    min-height: auto;
  }

  .booking-launch {
    min-height: auto;
    align-items: stretch;
    padding: 30px 24px;
  }
}

.booking-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  color: var(--white);
  background: var(--primary);
}

.booking-header span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 750;
}

.calendly-inline-widget {
  min-width: 320px;
  height: 680px;
  background: var(--white);
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: #292b30;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 42px;
  padding: 70px 0 42px;
}

.footer-grid h2 {
  color: #db1d4f;
  margin-bottom: 18px;
  font-size: 0.86rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-grid p {
  max-width: 360px;
  color: rgba(255, 255, 255, 0.68);
}

.footer-grid a {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 700;
}

.footer-grid a:hover,
.footer-bottom a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p,
.footer-bottom a {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
}

.page-hero {
  padding: 56px 0;
  color: var(--white);
  background: #7e0532;
}

.page-hero-inner {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.page-hero .hero-copy {
  position: relative;
}

.page-hero .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.page-hero h1 {
  max-width: none;
  margin: 0;
  color: var(--white);
  font-size: clamp(3rem, 6vw, 5.4rem);
  text-align: center;
}

.centered-copy {
  max-width: 860px;
  text-align: center;
}

.centered-copy p {
  margin-top: 24px;
}

.section-intro {
  max-width: 900px;
  margin-inline: auto;
  margin-bottom: 46px;
  text-align: center;
}

.section-intro p {
  max-width: 900px;
  margin: 30px auto 0;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.65;
  text-align: center;
}

.managing-partner {
  background: var(--white);
}

.partner-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 72px;
  align-items: center;
}

.partner-copy h2 {
  max-width: 620px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.4vw, 3.5rem);
}

.partner-copy p {
  max-width: 660px;
}

.partner-contact {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.partner-contact a {
  color: var(--primary);
  font-weight: 850;
}

.partner-photo {
  width: min(100%, 360px);
  margin: 0 auto;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.partner-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 18%;
}

.centered-heading {
  display: block;
  max-width: none;
  margin: 0 auto 46px;
  text-align: center;
}

.centered-heading .eyebrow,
.centered-heading h2 {
  max-width: none;
  margin-inline: auto;
  text-align: center;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 280px));
  justify-content: center;
  gap: 28px;
}

.staff-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.staff-card>img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  background: var(--primary-soft);
}

.staff-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.staff-body h3 {
  margin-bottom: 6px;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.staff-role {
  margin-bottom: 14px;
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.staff-contact {
  margin-top: auto;
}

.staff-contact a {
  display: block;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 650;
}

.staff-contact a+a {
  margin-top: 4px;
}

.job-card {
  max-width: 900px;
  margin-inline: auto;
  overflow: hidden;
}

.job-heading {
  padding: 30px 34px;
  color: var(--white);
  background: linear-gradient(145deg, var(--primary), var(--primary-dark));
}

.job-heading .eyebrow,
.job-heading h2 {
  color: var(--white);
}

.job-heading h2 {
  margin-bottom: 0;
}

.job-content {
  padding: 34px;
}

.job-list {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  padding-left: 1.2rem;
  color: var(--muted);
}

.job-apply {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 18px;
  background: var(--primary-soft);
  border-radius: var(--radius-sm);
}

.job-apply strong {
  color: var(--ink);
}

.job-apply a {
  color: var(--primary);
  font-weight: 900;
}


.portal-section .container {
  text-align: center;
}

.portal-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  align-items: stretch;
  text-align: center;
}

.portal-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-height: 220px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 56px rgba(31, 13, 23, 0.07);
  text-align: center;
}

.portal-card h3 {
  margin-bottom: 0;
  font-size: 1.08rem;
  line-height: 1.2;
}

.portal-card .card-number {
  justify-content: center;
  margin-bottom: 18px;
}

.portal-card .button {
  width: 100%;
}

.portal-note {
  max-width: 900px;
  margin: 28px auto 0;
  padding: 18px 20px;
  color: var(--ink);
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: 0 18px 56px rgba(31, 13, 23, 0.07);
}

.portal-note a {
  color: var(--primary);
  font-weight: 900;
}

@media (max-width: 900px) {
  .portal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .portal-grid {
    grid-template-columns: 1fr;
  }
}

.faq-section {
  background: var(--light);
}


.faq-list {
  display: grid;
  gap: 14px;
  max-width: 960px;
  margin: 48px auto 0;
}

.faq-item {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 56px rgba(31, 13, 23, 0.07);
}

.faq-question {
  position: relative;
  display: block;
  width: 100%;
  padding: 24px 82px 24px 28px;
  color: var(--ink);
  font: inherit;
  text-align: left;
  background: var(--white);
  border: 0;
  cursor: pointer;
}

.faq-question:hover,
.faq-question[aria-expanded="true"] {
  background: var(--primary-soft);
}

.faq-question::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 28px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--white);
  background: var(--primary);
  border-radius: 50%;
  font-size: 1.35rem;
  font-weight: 850;
  line-height: 1;
  transform: translateY(-50%);
}

.faq-question[aria-expanded="true"]::after {
  content: "−";
}


.faq-question-text {
  display: block;
  font-size: 1.04rem;
  font-weight: 850;
  line-height: 1.3;
}

.faq-answer {
  padding: 2px 28px 30px;
}

.faq-answer p,
.faq-answer li {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.72;
}

.faq-answer p {
  margin-bottom: 16px;
}

.faq-answer p:last-child,
.faq-answer ol:last-child,
.faq-answer ul:last-child,
.faq-answer .faq-table-wrap:last-child {
  margin-bottom: 0;
}

.faq-answer h3 {
  margin: 24px 0 10px;
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.faq-answer h3:first-child {
  margin-top: 0;
}

.faq-answer ol,
.faq-answer ul {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding-left: 22px;
}

.faq-table-wrap {
  overflow-x: auto;
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.faq-table-wrap table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  background: var(--white);
}

.faq-table-wrap th,
.faq-table-wrap td {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.faq-table-wrap th {
  color: var(--ink);
  background: var(--primary-soft);
  font-weight: 900;
}

.faq-table-wrap tr:last-child td {
  border-bottom: 0;
}

.info-contact {
  max-width: 960px;
  margin: 34px auto 0;
  padding: 22px 26px;
  color: var(--ink);
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 56px rgba(31, 13, 23, 0.07);
}

.info-contact a {
  color: var(--primary);
  font-weight: 900;
}


@media (max-width: 1100px) {
  .nav-cta {
    display: none;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid,
  .two-column-grid,
  .consult-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 680px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid>div:nth-child(2) {
    border-right: 0;
  }

  .stats-grid>div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 860px) {
  .utility-inner {
    justify-content: center;
    text-align: center;
  }

  .utility-inner p {
    display: none;
  }

  .nav-inner {
    min-height: 76px;
  }

  .nav-toggle-label {
    display: grid;
    width: 44px;
    height: 44px;
    place-content: center;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 14px;
    cursor: pointer;
  }

  .nav-toggle-label span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink);
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 20px;
    left: 20px;
    display: none;
    align-items: stretch;
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
  }

  .nav-toggle:checked~.nav-links {
    display: grid;
  }

  .nav-links>a,
  .nav-item>a {
    justify-content: space-between;
    width: 100%;
    min-height: 46px;
  }

  .nav-item {
    width: 100%;
  }

  .dropdown-menu,
  .about-dropdown {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    width: 100%;
    margin-top: 6px;
    padding: 10px;
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
    border-radius: 18px;
    box-shadow: none;
    transform: none;
  }

  .dropdown-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 86px;
  }

  .section {
    padding: 76px 0;
  }

  .section-heading,
  .cta-band {
    display: block;
  }

  .section-heading .text-link,
  .cta-actions {
    margin-top: 20px;
  }

  .testimonial-grid,
  .events-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-band {
    padding: 30px;
  }

  .page-hero {
    padding: 70px 0;
  }

  .partner-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .partner-photo {
    order: -1;
    width: min(100%, 320px);
  }

  .partner-copy,
  .partner-copy p {
    margin-inline: auto;
    text-align: center;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  h1 {
    font-size: clamp(2.7rem, 15vw, 4.6rem);
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .affiliation-grid,
  .service-grid,
  .industry-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .affiliation-grid {
    max-width: 100%;
    gap: 22px;
  }

  .affiliation-card {
    min-height: 150px;
    padding: 28px;
  }

  .affiliation-card img {
    max-width: 240px;
    max-height: 96px;
  }

  .stats-grid>div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stats-grid>div:last-child {
    border-bottom: 0;
  }

  .hero-panel,
  .service-card,
  blockquote,
  .event-card {
    padding: 24px;
    border-radius: 22px;
  }

  .consult-grid {
    gap: 28px;
  }

  .booking-card {
    border-radius: 20px;
  }

  .calendly-inline-widget {
    min-width: 0 !important;
    height: 720px !important;
  }

  .job-heading,
  .job-content {
    padding: 24px;
  }

  .staff-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .staff-card {
    max-width: 320px;
    margin-inline: auto;
  }

  .footer-bottom {
    display: block;
  }


  .faq-answer {
    padding-right: 24px;
    padding-left: 24px;
  }

  .faq-question {
    padding: 22px 72px 22px 24px;
  }

  .faq-question::after {
    right: 24px;
  }

  .footer-bottom a {
    display: inline-block;
    margin-top: 12px;
  }
}

.feature-list-section {
  background: var(--light);
}

.feature-list {
  max-width: 940px;
}

.feature-list__card {
  padding: clamp(28px, 5vw, 54px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 56px rgba(31, 13, 23, 0.07);
}

.feature-list__heading {
  max-width: 820px;
  margin-bottom: 28px;
  color: var(--ink);
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.16;
  letter-spacing: -0.045em;
}

.feature-list__items {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.feature-list__item {
  position: relative;
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 48px;
  padding: 12px 0;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 650;
  line-height: 1.45;
  border-bottom: 1px solid var(--line);
}

.feature-list__item::before {
  content: "»";
  color: var(--primary);
  font-size: 1.75rem;
  font-weight: 950;
  line-height: 1;
}

.feature-list__items--two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 42px;
}

@media (max-width: 760px) {
  .feature-list__items--two-column {
    grid-template-columns: 1fr;
    column-gap: 0;
  }
}

.feature-list__note {
  margin: 28px 0 0;
  padding: 22px 24px;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 650;
  line-height: 1.65;
  background: var(--primary-soft);
  border-left: 5px solid var(--primary);
  border-radius: var(--radius-sm);
}

@media (max-width: 620px) {
  .feature-list__card {
    padding: 28px 22px;
  }

  .feature-list__item {
    grid-template-columns: 22px 1fr;
    font-size: 0.95rem;
  }

  .feature-list__note {
    padding: 18px;
  }
}

/* Mobile hardening refinements
   These overrides preserve the desktop layout while preventing common
   small-screen overflow issues on navigation, cards, embeds, and long text. */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  -webkit-text-size-adjust: 100%;
}

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

table {
  max-width: 100%;
}

button,
input,
textarea,
select {
  max-width: 100%;
  font: inherit;
}

.nav-toggle-label,
.button,
.nav-cta,
.faq-question {
  touch-action: manipulation;
}

@supports not (overflow: clip) {

  html,
  body {
    overflow-x: hidden;
  }
}

@media (max-width: 1100px) {
  .hero-panel {
    min-height: auto;
  }
}

@media (max-width: 860px) {
  .utility-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 16px;
  }

  .nav-inner {
    gap: 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: clamp(128px, 44vw, 180px);
  }

  .nav-links {
    right: 14px;
    left: 14px;
    max-height: calc(100dvh - 96px);
    padding: 14px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .dropdown-menu a {
    overflow-wrap: anywhere;
  }

  .hero {
    padding-bottom: 64px;
    background-position: center top;
  }

  .hero-panel {
    min-height: auto;
  }

  .contact-card {
    width: 100%;
    max-width: none;
  }

  .booking-header {
    display: block;
  }

  .booking-header span {
    display: block;
    margin-top: 4px;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 64px 0;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .hero-grid,
  .two-column-grid,
  .consult-grid,
  .partner-grid {
    gap: 28px;
  }

  .footer-grid {
    padding-top: 52px;
  }

  .footer-bottom {
    text-align: center;
  }
}

@media (max-width: 620px) {
  :root {
    --radius-md: 20px;
    --radius-lg: 26px;
  }

  html {
    scroll-padding-top: 84px;
  }

  .utility-inner {
    min-height: auto;
    padding: 8px 0;
  }

  .utility-links {
    width: 100%;
    font-size: 0.82rem;
  }

  .brand-mark {
    width: min(150px, 48vw);
  }

  .nav-inner {
    min-height: 66px;
    gap: 12px;
  }

  .nav-toggle-label {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
  }

  .nav-links {
    right: 14px;
    left: 14px;
    padding: 12px;
    border-radius: 20px;
  }

  h1 {
    letter-spacing: -0.055em;
  }

  h2 {
    font-size: clamp(1.75rem, 10vw, 3rem);
  }

  h3 {
    font-size: clamp(1.1rem, 5.2vw, 1.35rem);
  }

  .page-hero h1 {
    font-size: clamp(2.25rem, 13vw, 3.75rem);
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    padding: 70px 0 64px;
    background-position: 58% center;
  }

  .hero-panel {
    min-height: auto;
    padding: 22px;
  }

  .stats-strip {
    margin-top: 0;
  }

  .stats-grid {
    border-radius: 20px;
  }

  .stat-value {
    font-size: clamp(2.1rem, 13vw, 3rem);
  }

  .section-heading {
    gap: 18px;
    margin-bottom: 30px;
  }

  .intro-copy p,
  .section-lede {
    font-size: 1rem;
  }

  .text-link {
    max-width: 100%;
  }

  .text-link::after {
    flex: 0 0 24px;
    width: 24px;
  }

  .industry-pill {
    min-height: 72px;
    padding: 16px 18px;
    border-radius: 22px;
  }

  .affiliation-card img {
    max-width: min(220px, 82vw);
  }

  .cta-band {
    padding: 24px;
    border-radius: 22px;
  }

  #ask-mickey {
    width: 100%;
    min-width: 0;
  }

  .contact-card {
    width: 100%;
    max-width: none;
    padding: 20px;
  }

  .contact-card a {
    overflow-wrap: anywhere;
    font-size: clamp(1.15rem, 6.5vw, 1.45rem);
  }

  .booking-header {
    padding: 18px 20px;
  }

  .calendly-inline-widget {
    width: 100% !important;
  }

  .footer-grid {
    gap: 26px;
    padding: 50px 0 32px;
  }

  .page-hero {
    padding: 54px 0;
  }

  .partner-copy p,
  .centered-copy p,
  .section-intro p {
    font-size: 0.98rem;
  }

  .staff-body {
    padding: 20px;
  }

  .job-apply {
    display: block;
  }

  .job-apply a {
    display: block;
    margin-top: 8px;
    overflow-wrap: anywhere;
  }

  .portal-card {
    min-height: auto;
    padding: 24px;
  }

  .faq-question::after {
    width: 30px;
    height: 30px;
    font-size: 1.15rem;
  }

  .faq-question-text {
    font-size: 0.98rem;
  }

  .faq-table-wrap {
    margin-inline: -4px;
  }

  .faq-table-wrap table {
    min-width: 460px;
  }

  .info-contact {
    padding: 20px;
  }

  .feature-list__card {
    border-radius: 20px;
  }

  .feature-list__heading {
    font-size: clamp(1.45rem, 8vw, 2rem);
  }

  .feature-list__item {
    align-items: start;
  }
}

@media (max-width: 380px) {
  .container {
    width: min(100% - 22px, var(--container));
  }

  .brand-mark {
    width: min(136px, 46vw);
  }

  .nav-toggle-label {
    width: 40px;
    height: 40px;
  }

  .button,
  .nav-cta {
    min-width: 0;
    padding-inline: 18px;
  }

  .hero-panel,
  .service-card,
  blockquote,
  .event-card,
  .cta-band,
  .info-contact,
  .portal-note {
    padding: 20px;
  }

  .faq-question {
    padding: 20px 64px 20px 20px;
  }

  .faq-question::after {
    right: 20px;
  }

  .faq-answer {
    padding-right: 20px;
    padding-left: 20px;
  }

  .faq-table-wrap table {
    min-width: 420px;
  }
}

/* ==========================================================================
   Services page
   ========================================================================== */

.services-page {
  background: var(--white);
}

.services-page #service-directory,
.services-page .service-detail,
.services-page #return-calculator {
  scroll-margin-top: 220px;
}

.services-page .nav-item>a[aria-current="page"] {
  color: var(--primary);
  background: var(--primary-soft);
}

.services-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(82px, 10vw, 138px) 0 clamp(76px, 9vw, 122px);
  color: var(--white);
  background:
    radial-gradient(circle at 87% 18%, rgba(255, 255, 255, 0.14), transparent 24%),
    radial-gradient(circle at 8% 92%, rgba(198, 154, 69, 0.18), transparent 27%),
    linear-gradient(135deg, #25111d 0%, var(--primary-dark) 48%, var(--primary) 100%);
}

.services-hero::before,
.services-hero::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.services-hero::before {
  top: -180px;
  right: -120px;
  width: 480px;
  height: 480px;
}

.services-hero::after {
  right: 180px;
  bottom: -310px;
  width: 520px;
  height: 520px;
}

.services-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  max-width: 960px;
  margin-inline: auto;
  text-align: center;
}

.services-hero__copy h1 {
  max-width: 900px;
  margin: 0 auto 28px;
  color: var(--white);
  font-size: clamp(3rem, 7vw, 6.6rem);
}

.services-hero__lede {
  max-width: 760px;
  margin: 0 auto 34px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
}

.services-hero .hero-actions {
  justify-content: center;
}

.services-hero__button.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.42);
}

.services-hero__button.button-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.service-jump {
  position: sticky;
  top: 128px;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 36px rgba(31, 13, 23, 0.05);
  backdrop-filter: blur(18px);
}

.service-jump__inner {
  display: flex;
  gap: 8px;
  padding: 12px 0;
  overflow-x: auto;
  scrollbar-width: thin;
}

.service-jump a {
  flex: 0 0 auto;
  padding: 9px 14px;
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 850;
  white-space: nowrap;
}

.service-jump a:hover,
.service-jump a:focus-visible {
  color: var(--primary);
  background: var(--primary-soft);
  border-color: rgba(128, 0, 50, 0.14);
}

.services-intro {
  background: var(--light);
}

.services-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 82px);
  align-items: start;
}

.services-intro__grid h2 {
  margin-bottom: 0;
  font-size: clamp(2.25rem, 4.6vw, 4.5rem);
}

.services-intro__copy {
  padding-top: 10px;
}

.services-intro__copy p {
  color: var(--ink);
  font-size: 1.05rem;
}

.services-intro__copy p:last-child {
  margin-bottom: 0;
}

.services-group {
  position: relative;
  overflow: hidden;
}

.services-group--core {
  background: var(--white);
}

.services-group--support {
  color: var(--white);
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 255, 255, 0.06), transparent 21%),
    linear-gradient(140deg, #171319, #2a1521 52%, var(--primary-dark));
}

.services-group__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 48px;
}

.services-group__heading h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(2.2rem, 4.7vw, 4.5rem);
}

.services-group--support .services-group__heading h2 {
  color: var(--white);
}

.services-group__count {
  color: rgba(128, 0, 50, 0.28);
  font-size: clamp(2.2rem, 6vw, 5.4rem);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.08em;
}

.services-group--support .services-group__count {
  color: rgba(255, 255, 255, 0.16);
}

.service-detail-list {
  display: grid;
  gap: 22px;
}

.service-detail {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 58px rgba(31, 13, 23, 0.08);
}

.service-detail__rail {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 30px 22px;
  color: var(--white);
  background: linear-gradient(165deg, var(--primary), var(--primary-dark));
}

.service-detail__number {
  font-size: 2.35rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.06em;
}

.service-detail__category {
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.service-detail__body {
  padding: clamp(28px, 5vw, 52px);
}

.service-detail__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.service-detail__tag {
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.service-detail__header h3 {
  max-width: 720px;
  margin-bottom: 0;
  font-size: clamp(1.9rem, 4vw, 3.55rem);
}

.service-detail__symbol {
  display: grid;
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  place-items: center;
  color: var(--primary);
  background: var(--primary-soft);
  border: 1px solid rgba(128, 0, 50, 0.12);
  border-radius: 20px;
  font-size: 0.86rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.service-detail__summary {
  max-width: 880px;
  margin-bottom: 30px;
  color: var(--ink);
  font-size: 1.04rem;
}

.service-detail__columns {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.7fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: start;
}

.service-detail h4 {
  margin: 0 0 15px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.service-detail__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.service-detail__list li {
  position: relative;
  min-height: 54px;
  padding: 14px 0 14px 25px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  font-size: 0.93rem;
  font-weight: 700;
  line-height: 1.45;
}

.service-detail__list li::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 3px;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 0 5px var(--primary-soft);
}

.service-detail__aside {
  padding: 24px;
  background: var(--primary-soft);
  border: 1px solid rgba(128, 0, 50, 0.1);
  border-radius: var(--radius-sm);
}

.service-detail__aside p {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 0.93rem;
}

.service-detail__aside .text-link {
  margin-top: 18px;
  font-size: 0.9rem;
}

.service-detail--dark {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.2);
}

.return-calculator-section {
  background:
    radial-gradient(circle at 92% 8%, rgba(128, 0, 50, 0.1), transparent 24%),
    var(--light);
}

.calculator-heading {
  max-width: 860px;
  margin: 0 auto 44px;
  text-align: center;
}

.calculator-heading h2 {
  margin-bottom: 16px;
  font-size: clamp(2.3rem, 5.2vw, 4.9rem);
}

.calculator-heading>p:last-child {
  max-width: 760px;
  margin: 0 auto;
  color: var(--ink);
  font-size: 1.03rem;
}

.return-calculator-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 22px;
  align-items: start;
}

.return-calculator {
  overflow: hidden;
  background: var(--white);
  border: 12px solid #e9d3de;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.calculator-group {
  margin: 10px 0 0;
  padding: 28px;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.calculator-group legend {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 0;
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 900;
}

.calculator-group legend span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--white);
  background: var(--primary);
  border-radius: 50%;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.calculator-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.calculator-field {
  display: grid;
  gap: 8px;
}

.calculator-field>span {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 800;
}

.calculator-field select {
  width: 100%;
  min-height: 50px;
  padding: 0 42px 0 14px;
  color: var(--ink);
  background-color: var(--white);
  border: 1px solid #d8cbd2;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(31, 13, 23, 0.06);
  cursor: pointer;
}

.calculator-field select:focus {
  border-color: var(--primary);
  outline: 3px solid rgba(128, 0, 50, 0.12);
}

.calculator-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px 28px;
  background: #fffafc;
}

.calculator-reset {
  padding: 10px 4px;
  color: var(--muted);
  background: transparent;
  border: 0;
  font-weight: 800;
  cursor: pointer;
}

.calculator-reset:hover {
  color: var(--primary);
}

.calculator-result {
  position: sticky;
  top: 204px;
  min-height: 420px;
  padding: 30px;
  color: var(--white);
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.13), transparent 24%),
    linear-gradient(145deg, var(--primary), var(--primary-dark));
  border-radius: 28px;
  box-shadow: 0 24px 80px rgba(82, 0, 33, 0.26);
}

.calculator-result__eyebrow {
  display: block;
  margin-bottom: 0px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.calculator-result__empty {
  display: grid;
  min-height: 150px;
  align-content: center;
}

.calculator-result__empty strong {
  color: var(--white);
  font-size: 1.7rem;
  line-height: 1.15;
}

.calculator-result__empty p,
.calculator-result__content p {
  color: rgba(255, 255, 255, 0.78);
}

.calculator-result__range {
  margin-bottom: 26px;
  color: var(--white) !important;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.07em;
}

.calculator-result__label {
  margin-bottom: 26px;
  font-size: 0.88rem;
  font-weight: 750;
}

.calculator-result__facts {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
}

.calculator-result__facts div {
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.calculator-result__facts dt {
  margin-bottom: 3px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.calculator-result__facts dd {
  margin: 0;
  color: var(--white);
  font-weight: 850;
}

.calculator-result__drivers h3 {
  margin-bottom: 10px;
  color: var(--white);
  font-size: 0.96rem;
  letter-spacing: 0;
}

.calculator-result__drivers ul {
  display: grid;
  gap: 7px;
  margin: 0 0 24px;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.86rem;
}

.calculator-disclaimer {
  margin-bottom: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.75rem;
  line-height: 1.55;
}

.calculator-result .button-secondary {
  width: 100%;
  color: var(--primary);
  border-color: transparent;
}

.irs-resource-section {
  padding-top: 0;
  background: var(--light);
}

.irs-resource-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  padding: clamp(30px, 5vw, 52px);
  color: var(--white);
  background:
    radial-gradient(circle at 92% 22%, rgba(255, 255, 255, 0.12), transparent 26%),
    linear-gradient(135deg, #1f1720, #3b1729 58%, var(--primary));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.irs-resource-card h2 {
  max-width: 720px;
  margin-bottom: 14px;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.irs-resource-card p {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.75);
}

.irs-resource-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 210px;
}

.irs-resource-actions .button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
}

.irs-resource-actions .button-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

@media (max-width: 1100px) {

  .services-hero__grid,
  .services-intro__grid,
  .return-calculator-shell {
    grid-template-columns: 1fr;
  }

  .calculator-result {
    position: static;
    min-height: 0;
  }
}

@media (max-width: 860px) {
  .service-jump {
    top: 118px;
  }

  .service-detail {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .service-detail__rail {
    padding: 26px 16px;
  }

  .service-detail__columns,
  .irs-resource-card {
    grid-template-columns: 1fr;
  }

  .service-detail__list {
    grid-template-columns: 1fr;
  }

  .irs-resource-actions {
    flex-direction: row;
    min-width: 0;
  }
}

@media (max-width: 700px) {
  .service-jump {
    top: 108px;
  }

  .services-group__heading {
    display: block;
  }

  .services-group__count {
    display: block;
    margin-top: 18px;
  }

  .service-detail {
    display: block;
  }

  .service-detail__rail {
    flex-direction: row;
    align-items: center;
    padding: 15px 20px;
  }

  .service-detail__category {
    writing-mode: initial;
    transform: none;
  }

  .service-detail__header {
    display: block;
  }

  .service-detail__symbol {
    margin-top: 18px;
  }

  .calculator-fields {
    grid-template-columns: 1fr;
  }

  .return-calculator {
    border-width: 8px;
  }

  .calculator-group {
    padding: 24px 20px;
  }

  .irs-resource-actions {
    flex-direction: column;
  }
}

@media (max-width: 620px) {

  .services-page #service-directory,
  .services-page .service-detail,
  .services-page #return-calculator {
    scroll-margin-top: 175px;
  }

  .services-hero {
    padding: 68px 0;
  }

  .services-hero__copy {
    padding: 0;
  }

  .services-hero__copy h1 {
    font-size: clamp(2.55rem, 13vw, 4.25rem);
  }

  .service-jump {
    top: 98px;
  }

  .services-intro__copy p,
  .service-detail__summary {
    font-size: 0.98rem;
  }

  .service-detail__body {
    padding: 24px 20px;
  }

  .service-detail__header h3 {
    font-size: clamp(1.75rem, 10vw, 2.55rem);
  }

  .service-detail__aside {
    padding: 20px;
  }

  .calculator-heading {
    margin-bottom: 30px;
  }

  .return-calculator-shell {
    gap: 16px;
  }

  .calculator-submit {
    flex-direction: column;
    align-items: stretch;
  }

  .calculator-submit .button {
    width: 100%;
  }

  .calculator-result {
    padding: 24px 20px;
    border-radius: 22px;
  }

  .irs-resource-card {
    padding: 26px 22px;
    border-radius: 22px;
  }
}

/* ==========================================================================
   Plain-text FAQ content
   ========================================================================== */

.faq-answer {
  overflow-wrap: anywhere;
}

.faq-answer>p,
.faq-answer>ul {
  max-width: 100%;
}

.faq-answer ul {
  list-style: disc outside;
}

.faq-answer li::marker {
  color: var(--primary);
}

.faq-answer br {
  display: inline;
}

.faq-status {
  margin: 0;
  padding: 28px;
  color: var(--muted);
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 56px rgba(31, 13, 23, 0.07);
}

@media (max-width: 620px) {

  .faq-answer p,
  .faq-answer li {
    font-size: 0.92rem;
  }

  .faq-answer ul {
    padding-left: 20px;
  }
}

.faq-status--error {
  color: #7a102f;
}

/* ==========================================================================
   Blog page
   ========================================================================== */

.blog-section {
  scroll-margin-top: 140px;
  background: var(--light);
}

.blog-section .container,
.blog-list,
.blog-entry,
.blog-entry__content {
  min-width: 0;
}

.blog-list {
  display: grid;
  gap: 30px;
  width: 100%;
  max-width: 960px;
  margin: 48px auto 0;
}

/* When the optional top pagination is visible, it provides the spacing above
   the entries. This prevents a large double gap between the controls and list. */
.blog-pagination--top:not([hidden]) + .blog-list {
  margin-top: 0;
}

.blog-entry {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 56px rgba(31, 13, 23, 0.08);
}

.blog-entry__media {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  padding: 0;
  color: var(--white);
  text-align: left;
  background: var(--primary-soft);
  border: 0;
  border-radius: 0;
  cursor: pointer;
  isolation: isolate;
  appearance: none;
  -webkit-appearance: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.blog-entry__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
  transition:
    filter 260ms ease,
    transform 320ms ease;
}

.blog-entry__description-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 4vw, 44px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  color: var(--white);
  font-size: clamp(0.92rem, 1.7vw, 1.08rem);
  font-weight: 650;
  line-height: 1.65;
  text-align: left;
  overflow-wrap: anywhere;
  background: rgba(23, 19, 25, 0.64);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  -webkit-overflow-scrolling: touch;
  transition:
    opacity 240ms ease,
    transform 240ms ease,
    visibility 0s linear 240ms;
}

.blog-entry__media:hover .blog-entry__image,
.blog-entry__media:focus-visible .blog-entry__image,
.blog-entry__media--description-visible .blog-entry__image {
  filter: grayscale(1) brightness(0.46);
  transform: scale(1.025);
}

.blog-entry__media:hover .blog-entry__description-overlay,
.blog-entry__media:focus-visible .blog-entry__description-overlay,
.blog-entry__media--description-visible .blog-entry__description-overlay {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}

.blog-entry__media:focus-visible {
  outline: 3px solid rgba(128, 0, 50, 0.55);
  outline-offset: -5px;
}

.blog-entry__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 48px);
}

.blog-entry:nth-child(even) .blog-entry__media {
  order: 2;
}

.blog-entry:nth-child(even) .blog-entry__content {
  order: 1;
}

.blog-entry__label {
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 5px 9px;
  color: var(--white);
  background: var(--primary);
  border-radius: 5px;
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.blog-entry__title {
  max-width: 100%;
  margin-bottom: 18px;
  font-size: clamp(1.45rem, 2.8vw, 2.35rem);
  line-height: 1.18;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}

.blog-entry__date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  margin-bottom: 0;
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.blog-entry__date::before {
  content: "";
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(var(--primary), var(--primary)) 2px 4px / 10px 8px no-repeat,
    linear-gradient(var(--white), var(--white)) 4px 6px / 6px 1px no-repeat,
    linear-gradient(var(--white), var(--white)) 4px 8px / 6px 1px no-repeat;
  border: 1px solid var(--primary);
  border-radius: 2px;
}

.blog-status {
  width: 100%;
  margin: 0;
  padding: 28px;
  color: var(--ink);
  text-align: center;
  overflow-wrap: anywhere;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 56px rgba(31, 13, 23, 0.07);
}

.blog-status--error {
  color: var(--primary);
}

@media (max-width: 760px) {
  .blog-section {
    scroll-margin-top: 120px;
  }

  .blog-list {
    gap: 24px;
    margin-top: 36px;
  }

  .blog-pagination--top:not([hidden]) + .blog-list {
    margin-top: 0;
  }

  .blog-entry {
    grid-template-columns: minmax(0, 1fr);
  }

  .blog-entry:nth-child(even) .blog-entry__media,
  .blog-entry:nth-child(even) .blog-entry__content {
    order: initial;
  }

  .blog-entry__content {
    padding: 28px 24px 32px;
  }
}

@media (max-width: 620px) {
  .blog-list {
    gap: 20px;
    margin-top: 30px;
  }

  .blog-pagination--top:not([hidden]) + .blog-list {
    margin-top: 0;
  }

  .blog-entry {
    border-radius: 20px;
  }

  .blog-entry__description-overlay {
    align-items: flex-start;
    justify-content: flex-start;
    padding: 20px 18px 64px;
    font-size: clamp(0.92rem, 4vw, 1rem);
    line-height: 1.58;
  }

  .blog-entry__content {
    padding: 24px 20px 28px;
  }

  .blog-entry__label {
    margin-bottom: 14px;
  }

  .blog-entry__title {
    margin-bottom: 14px;
    font-size: clamp(1.3rem, 6.4vw, 1.7rem);
  }

  .blog-entry__date {
    font-size: 0.84rem;
  }

  .blog-status {
    padding: 22px 20px;
  }
}

@media (max-width: 380px) {
  .blog-entry__description-overlay {
    padding: 18px 16px 60px;
    font-size: 0.9rem;
  }

  .blog-entry__content {
    padding: 22px 18px 26px;
  }
}

/* Touch-only affordance: desktop users discover the overlay through hover;
   touch users receive an explicit visual instruction instead. */
@media (hover: none), (pointer: coarse) {
  .blog-entry__media::after {
    content: "Tap for details";
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 3;
    max-width: calc(100% - 24px);
    padding: 8px 11px;
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 850;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    pointer-events: none;
    background: rgba(23, 19, 25, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(6px);
  }

  .blog-entry__media[aria-expanded="true"]::after {
    content: "Tap to close";
    background: rgba(128, 0, 50, 0.94);
  }

  .blog-entry__media:hover .blog-entry__image {
    filter: none;
    transform: none;
  }

  .blog-entry__media:hover .blog-entry__description-overlay {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
  }

  .blog-entry__media--description-visible .blog-entry__image {
    filter: grayscale(1) brightness(0.46);
    transform: scale(1.025);
  }

  .blog-entry__media--description-visible .blog-entry__description-overlay {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-entry__image,
  .blog-entry__description-overlay {
    transition: none;
  }
}

/* ==========================================================================
   Blog pagination
   ========================================================================== */

.blog-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 6px;
  width: 100%;
  max-width: 960px;
  margin: 38px auto 0;
}

.blog-pagination--top {
  margin: 0 auto 30px;
}

.blog-pagination--bottom {
  margin: 38px auto 0;
}

.blog-pagination[hidden] {
  display: none;
}

.blog-pagination__link,
.blog-pagination__ellipsis {
  display: inline-grid;
  min-width: 44px;
  height: 44px;
  place-items: center;
  padding: 0 10px;
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1;
}

.blog-pagination__link {
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(31, 13, 23, 0.05);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.blog-pagination__link:hover {
  color: var(--primary);
  background: var(--primary-soft);
  border-color: rgba(128, 0, 50, 0.25);
  transform: translateY(-1px);
}

.blog-pagination__link:focus-visible {
  position: relative;
  z-index: 1;
}

.blog-pagination__link--current,
.blog-pagination__link--current:hover {
  color: var(--white);
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 10px 24px rgba(128, 0, 50, 0.2);
  transform: none;
}

.blog-pagination__ellipsis {
  min-width: 24px;
  padding-inline: 3px;
  color: var(--muted);
}

@media (max-width: 620px) {
  .blog-pagination {
    gap: 6px 4px;
  }

  .blog-pagination--top {
    margin-bottom: 24px;
  }

  .blog-pagination--bottom,
  .blog-pagination:not(.blog-pagination--top):not(.blog-pagination--bottom) {
    margin-top: 28px;
  }
}

@media (max-width: 420px) {
  .blog-pagination {
    row-gap: 6px;
  }

  .blog-pagination__link,
  .blog-pagination__ellipsis {
    min-width: 44px;
    height: 44px;
    padding-inline: 8px;
    font-size: 0.84rem;
  }

  .blog-pagination__ellipsis {
    min-width: 20px;
    padding-inline: 2px;
  }
}

/* ==========================================================================
   JSON-driven events
   ========================================================================== */

.event-status {
  grid-column: 1 / -1;
  margin: 0;
  padding: 28px;
  color: var(--ink);
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 56px rgba(31, 13, 23, 0.07);
}

.event-status--error {
  color: var(--primary);
}

.event-card__link {
  align-self: flex-start;
}

/* ==========================================================================
   JSON-driven team and careers content
   ========================================================================== */

.team-status,
.career-status {
  grid-column: 1 / -1;
  width: 100%;
  margin: 0;
  padding: 28px;
  color: var(--ink);
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 56px rgba(31, 13, 23, 0.07);
}

.team-status--error,
.career-status--error {
  color: var(--primary);
}

.jobs-list {
  display: grid;
  gap: 30px;
}

.jobs-list .job-card {
  width: 100%;
}

.job-meta {
  margin: 0 0 26px;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 620px) {
  .jobs-list {
    gap: 22px;
  }

  .team-status,
  .career-status {
    padding: 22px;
  }
}



/* ==========================================================================
   Final accessibility, resilience, and production refinements
   ========================================================================== */

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  border: 0 !important;
  clip-path: inset(50%) !important;
}

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid rgba(128, 0, 50, 0.42);
  outline-offset: 4px;
}

.nav-toggle:focus-visible + .nav-toggle-label {
  outline: 3px solid rgba(128, 0, 50, 0.42);
  outline-offset: 4px;
}

.nav-links [aria-current="page"],
.utility-links [aria-current="page"] {
  color: var(--primary);
  background: var(--primary-soft);
}

.utility-links .client-access-button[aria-current="page"] {
  color: var(--primary-dark);
  background: var(--primary-soft);
}

body {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}

button,
input,
select,
textarea {
  accent-color: var(--primary);
}

.noscript-notice {
  margin: 0;
  padding: 12px 20px;
  color: var(--primary-dark);
  text-align: center;
  background: var(--primary-soft);
  border-bottom: 1px solid var(--line);
}

@media (max-width: 860px) {
  .nav-toggle:checked + .nav-toggle-label span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle:checked + .nav-toggle-label span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked + .nav-toggle-label span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-toggle-label span {
    transition: transform 180ms ease, opacity 180ms ease;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .service-jump,
  .hero-actions,
  .cta-section,
  .nav-toggle,
  .nav-toggle-label {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .section,
  .page-hero,
  .services-hero {
    padding: 24px 0;
    background: none !important;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    font-weight: 400;
  }
}