/*
Theme Name: Voshells Launch
Theme URI: https://voshellspharmacy.com/
Author: RapidDev
Description: Local launch theme for Voshells Pharmacy first-stage WordPress pages.
Version: 1.0.0
Text Domain: voshells-launch
*/

:root {
  --navy-900: #050e1a;
  --navy-800: #051730;
  --navy-700: #08234a;
  --navy-600: #0d3c7e;
  --beige-600: #ac753a;
  --beige-500: #b6753a;
  --beige-400: #bf8f5c;
  --beige-200: #d1ac84;
  --beige-25: #fffdfa;
  --grey-950: #0e0f0f;
  --grey-900: #101828;
  --grey-800: #222830;
  --grey-700: #3e4651;
  --grey-500: #8b929b;
  --grey-100: #c1c8d4;
  --grey-50: #fcfeff;
  --blue-25: #f0f6ff;
  --stroke: #f3f4f6;
  --line: rgba(193, 200, 212, 0.3);
  --display: "Cormorant Garamond", Georgia, serif;
  --figma-display: "Flawsome", "Flawsome Regular", "Cormorant Garamond", Georgia, serif;
  --body: "Avenir Next", Avenir, "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --site-pad: clamp(20px, 4.17vw, 60px);
  --radius: 8px;
  --shadow: 0 24px 80px rgba(5, 23, 48, 0.12);
}

body.home,
body.page-slug-about {
  --display: var(--figma-display);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--grey-950);
  background: var(--grey-50);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

img,
iframe {
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 9999;
  transform: translateY(-160%);
  background: var(--navy-800);
  color: var(--grey-50);
  padding: 10px 14px;
  border-radius: var(--radius);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--grey-50);
  border-bottom: 1px solid rgba(193, 200, 212, 0.22);
}

body.admin-bar .site-header {
  top: 32px;
}

.header-inner {
  min-height: 81px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 24px clamp(20px, 5.55vw, 80px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 129px;
  height: 33px;
  flex: 0 0 auto;
}

.brand img,
.footer-brand img {
  display: block;
  width: 100%;
  height: 100%;
}

.primary-nav {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-list a,
.nav-disabled {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  color: var(--grey-950);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
}

.nav-disabled {
  cursor: default;
}

.nav-list a {
  position: relative;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--beige-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.nav-list a:hover::after,
.nav-list a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--grey-50);
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--navy-800);
}

.site-main {
  overflow-x: clip;
  background: var(--grey-50);
}

.site-main > *,
.wp-block-group,
.wp-block-columns,
.wp-block-buttons,
.wp-block-list,
.wp-block-heading,
figure {
  margin-top: 0;
  margin-bottom: 0;
}

.wp-block-group > :last-child,
.wp-block-column > :last-child {
  margin-bottom: 0;
}

.container,
.rd-container {
  width: min(1320px, calc(100vw - 40px));
  margin-inline: auto;
}

.rd-narrow {
  width: min(880px, calc(100vw - 40px));
  margin-inline: auto;
}

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

h1,
h2,
h3,
h4 {
  color: var(--navy-700);
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(52px, 5.84vw, 84px);
}

h2 {
  font-size: clamp(46px, 5.84vw, 84px);
}

h3 {
  font-size: clamp(34px, 3.62vw, 52px);
}

h4 {
  font-size: clamp(26px, 2.92vw, 42px);
}

p {
  color: var(--grey-700);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--beige-600);
  font-family: Avenir, var(--body);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 3px;
  line-height: 1.5;
  text-transform: uppercase;
}

.lead {
  color: var(--grey-700);
  font-size: clamp(19px, 1.67vw, 24px);
  line-height: 1.5;
}

.rd-section {
  padding: 84px var(--site-pad);
}

.rd-section.white {
  background: var(--grey-50);
}

.rd-section.blue {
  background: var(--blue-25);
}

.rd-section.navy {
  background: var(--navy-800);
}

.rd-section.navy h2,
.rd-section.navy h3,
.rd-section.navy h4,
.rd-section.navy p,
.rd-section.navy li {
  color: var(--grey-50);
}

.rd-section.navy .eyebrow {
  color: var(--beige-200);
}

.rd-heading {
  display: grid;
  gap: 12px;
  max-width: 900px;
  margin-bottom: 44px;
}

.rd-heading.center {
  margin-inline: auto;
  text-align: center;
}

.rd-heading.center p {
  margin-inline: auto;
}

.rd-heading p:not(.eyebrow) {
  max-width: 800px;
  font-size: clamp(18px, 1.67vw, 24px);
  line-height: 1.5;
}

.wp-block-cover {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.wp-block-cover__image-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wp-block-cover__background {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.38);
}

.wp-block-cover__inner-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.rd-button-row,
.wp-block-buttons.rd-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.wp-block-button {
  display: inline-flex;
}

.wp-block-button__link,
.rd-button,
.contact-form button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  min-height: 55px;
  border: 0;
  border-radius: var(--radius);
  padding: 16px 32px;
  background: var(--navy-700);
  color: var(--grey-50);
  font-family: Avenir, var(--body);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1.44px;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.wp-block-button__link::after,
.rd-button::after,
.contact-form button[type="submit"]::after {
  content: "\2192";
  margin-left: 12px;
  font-size: 22px;
  line-height: 0;
}

.wp-block-button__link:hover,
.rd-button:hover,
.contact-form button[type="submit"]:hover {
  transform: translateY(-1px);
  background: var(--navy-600);
}

.wp-block-button.beige .wp-block-button__link,
.rd-button.beige {
  background: var(--beige-600);
}

.wp-block-button.light .wp-block-button__link,
.rd-button.light {
  background: var(--grey-50);
  color: var(--navy-700);
}

.wp-block-button.outline .wp-block-button__link,
.rd-button.outline {
  border: 1.5px solid rgba(193, 200, 212, 0.5);
  background: transparent;
  color: var(--navy-700);
}

.rd-home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  min-height: 470px;
  background: var(--grey-50);
}

.rd-home-hero .rd-hero-cover {
  min-height: 470px;
  align-items: flex-end;
  padding: 60px;
}

.rd-home-hero h1 {
  max-width: 860px;
  margin-bottom: 0;
  color: var(--grey-50);
  font-size: clamp(52px, 5vw, 72px);
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}

.rd-home-hero .rd-hero-cover .eyebrow {
  margin-bottom: 8px;
  color: var(--grey-50);
  font-size: 14px;
}

.rd-hero-choices {
  display: grid;
  grid-template-rows: 1fr 1fr;
  min-height: 470px;
}

.rd-choice {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 44px;
}

.rd-choice-patient {
  background: var(--navy-800);
}

.rd-choice-prescriber {
  background: var(--beige-400);
}

.rd-choice h2 {
  margin: 0;
  color: var(--grey-50);
  font-family: Avenir, var(--body);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 3px;
  line-height: 1.5;
  text-transform: uppercase;
}

.rd-choice p {
  max-width: 270px;
  color: rgba(252, 254, 255, 0.8);
  font-size: 16px;
}

.rd-home-hero .rd-choice p {
  display: none;
}

.rd-choice .wp-block-button__link {
  min-width: 0;
  background: transparent;
  padding: 0;
  color: var(--grey-50);
  justify-content: flex-start;
}

.rd-affiliations {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 32px;
  min-height: 106px;
  padding: 28px 80px;
  background: var(--grey-50);
  border-bottom: 1px solid var(--line);
}

.rd-affiliations p {
  margin: 0;
  color: var(--grey-500);
  font-family: Avenir, var(--body);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 2px;
  text-align: center;
  text-transform: uppercase;
}

.rd-affiliations figure {
  display: flex;
  justify-content: center;
}

.rd-affiliations img {
  width: auto;
  max-height: 42px;
  object-fit: contain;
}

.rd-tabs {
  display: flex;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 44px;
  padding: 8px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(193, 200, 212, 0.2);
}

.rd-tabs p {
  margin: 0;
  padding: 16px 32px;
  color: var(--grey-700);
  font-family: Avenir, var(--body);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  white-space: nowrap;
}

.rd-tabs p:first-child {
  border-radius: 6px;
  background: var(--beige-400);
  color: var(--grey-50);
}

.rd-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 44px;
}

.rd-card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rd-card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rd-image-card,
.rd-resource-card,
.rd-testimonial,
.rd-service-card,
.rd-team-card,
.rd-contact-card,
.contact-form-panel,
.newsletter-card {
  border-radius: var(--radius);
  background: var(--grey-50);
  box-shadow: 0 1px 0 rgba(5, 23, 48, 0.04);
}

.rd-image-card {
  overflow: hidden;
  border: 1px solid var(--line);
}

.rd-image-card > .wp-block-group__inner-container {
  position: relative;
}

.rd-image-card figure,
.rd-resource-card figure,
.rd-value-card figure {
  overflow: hidden;
}

.rd-image-card img,
.rd-resource-card img,
.rd-value-card img,
.rd-story-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rd-image-card figure {
  aspect-ratio: 638 / 456;
}

.rd-image-card .rd-card-body {
  display: grid;
  gap: 8px;
  padding: 28px 32px 34px;
}

.rd-image-card .rd-card-body::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 52%;
  background: linear-gradient(180deg, rgba(5, 23, 48, 0), rgba(5, 23, 48, 0.72));
  pointer-events: none;
}

.rd-image-card .rd-card-body {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
}

.rd-image-card h3 {
  position: relative;
  margin: 0;
  color: var(--grey-50);
  font-size: clamp(36px, 3.62vw, 52px);
}

.rd-image-card p {
  position: relative;
  margin: 0;
  color: rgba(252, 254, 255, 0.82);
  font-size: 20px;
  line-height: 1.5;
}

.rd-resource-grid {
  display: grid;
  gap: 24px;
}

.rd-resource-card {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--line);
}

.rd-resource-card figure {
  min-height: 220px;
}

.rd-resource-card .rd-card-body {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 28px 34px 28px 0;
}

.rd-resource-card h3 {
  margin: 0;
  font-size: clamp(32px, 3.2vw, 46px);
}

.rd-resource-card p {
  margin: 0;
  font-size: 18px;
}

.rd-resource-card .eyebrow {
  margin-bottom: 0;
  font-size: 14px;
  letter-spacing: 2px;
}

.rd-testimonial,
.rd-service-card,
.rd-team-card {
  display: grid;
  gap: 24px;
  min-height: 300px;
  padding: 40px 32px;
}

.rd-testimonial {
  border: 1px solid var(--line);
  box-shadow: 0 12px 36px rgba(5, 23, 48, 0.06);
}

.rd-testimonial::before {
  content: "''";
  color: var(--beige-200);
  font-family: Georgia, serif;
  font-size: 54px;
  line-height: 0.5;
}

.rd-testimonial p {
  font-size: 20px;
}

.rd-testimonial strong,
.rd-team-card strong {
  color: var(--navy-700);
  font-family: Avenir, var(--body);
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.rd-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.rd-split.reverse .wp-block-column:first-child {
  order: 2;
}

.rd-story-image,
.rd-story-image figure {
  height: 520px;
  overflow: hidden;
  border-radius: var(--radius);
}

.rd-copy {
  display: grid;
  gap: 20px;
}

.rd-copy p:not(.eyebrow) {
  color: var(--grey-800);
  font-size: 20px;
  line-height: 1.6;
}

.rd-cta-cover {
  min-height: 520px;
  padding: 84px 60px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.rd-home-cta {
  background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url("assets/img/redesign/optimized/home-consultation.webp");
}

.rd-about-cta {
  background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url("assets/img/redesign/optimized/about-consultation.webp");
}

.rd-cta-cover h2 {
  max-width: 740px;
  margin-bottom: 12px;
  color: var(--beige-25);
}

.rd-cta-cover p:not(.eyebrow) {
  max-width: 720px;
  margin-bottom: 36px;
  color: var(--beige-25);
  font-size: 24px;
}

.rd-newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 551px;
  gap: 64px;
  align-items: center;
  background: var(--blue-25);
}

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

.rd-newsletter li {
  position: relative;
  padding-left: 20px;
  color: var(--navy-700);
  font-size: 20px;
}

.rd-newsletter li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--beige-600);
}

.newsletter-card {
  display: grid;
  gap: 24px;
  padding: 44px;
  box-shadow: var(--shadow);
}

.newsletter-card h3 {
  margin: 0;
  font-size: 44px;
}

.newsletter-card .form-note {
  text-align: center;
}

.rd-page-cover {
  min-height: 620px;
  padding: 84px 60px;
}

.rd-page-cover h1 {
  max-width: 900px;
  margin-bottom: 0;
  color: var(--grey-50);
}

.rd-page-cover .eyebrow {
  color: var(--beige-200);
}

.rd-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  padding-top: 24px;
}

.rd-timeline-item {
  border-top: 1.5px solid var(--beige-400);
  padding-top: 24px;
}

.rd-timeline-item h3 {
  margin-bottom: 8px;
  color: var(--beige-600);
  font-family: Avenir, var(--body);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 3px;
}

.rd-values {
  display: grid;
  gap: 44px;
}

.rd-value-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.rd-value-card figure {
  height: 340px;
  border-radius: var(--radius);
}

.rd-value-card h3 {
  margin-bottom: 8px;
  color: var(--grey-950);
  font-size: 52px;
}

.rd-value-card p {
  font-size: 20px;
}

.rd-events-hero,
.rd-contact-hero {
  padding: 116px var(--site-pad);
  background: var(--navy-800);
}

.rd-events-hero h1,
.rd-events-hero p,
.rd-contact-hero h1,
.rd-contact-hero p {
  color: var(--grey-50);
}

.rd-events-hero .eyebrow,
.rd-contact-hero .eyebrow {
  color: var(--beige-200);
}

.empty-state {
  display: grid;
  justify-items: center;
  gap: 18px;
  max-width: 860px;
  margin: 0 auto;
  padding: 64px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--grey-50);
  text-align: center;
  box-shadow: var(--shadow);
}

.empty-state p:not(.eyebrow) {
  max-width: 680px;
  font-size: 20px;
}

.rd-contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: start;
}

.rd-contact-card {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 24px;
  padding: 40px;
  border: 1px solid var(--line);
}

.contact-list {
  display: grid;
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  gap: 5px;
  color: var(--grey-800);
}

.contact-list strong {
  color: var(--beige-600);
  font-family: Avenir, var(--body);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.contact-form-panel {
  padding: 12px;
  border: 1px solid var(--line);
  scroll-margin-top: 110px;
}

.contact-form-panel .local-status,
.contact-form-panel .form-error {
  margin: 12px 8px 0;
}

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(193, 200, 212, 0.2);
}

.tab {
  min-height: 56px;
  border: 0;
  border-radius: 6px;
  padding: 14px 16px;
  background: transparent;
  color: var(--grey-700);
  font-family: Avenir, var(--body);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  cursor: pointer;
}

.tab.active {
  background: var(--beige-400);
  color: var(--grey-50);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: grid;
}

.contact-form {
  gap: 18px;
  padding: 40px 28px 28px;
}

.contact-form h2 {
  font-size: 44px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form label,
.newsletter-card label {
  display: grid;
  gap: 8px;
  color: var(--grey-950);
  font-size: 14px;
  font-weight: 500;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.newsletter-card input,
.newsletter-card select {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  color: var(--grey-950);
  background: var(--grey-50);
  font: 500 16px/1.5 var(--body);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.newsletter-card input:focus,
.newsletter-card select:focus {
  outline: 3px solid rgba(13, 60, 126, 0.14);
  border-color: var(--navy-600);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error,
.local-status {
  padding: 13px 14px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
}

.form-error {
  background: #fff1f2;
  color: #be123c;
}

.local-status {
  background: #e9f8ee;
  color: #166534;
}

.form-note {
  margin: 0;
  color: var(--grey-500);
  font-size: 14px;
  line-height: 1.5;
}

.portal-note,
.rx-routes {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--blue-25);
}

.portal-note span,
.rx-routes span,
.rx-routes a {
  color: var(--grey-700);
}

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

.rx-routes div {
  display: grid;
  gap: 4px;
}

.map-section iframe {
  display: block;
  width: 100%;
  height: 430px;
  border: 0;
}

.site-footer {
  display: grid;
  gap: 48px;
  padding: 64px var(--site-pad) 40px;
  color: var(--grey-50);
  background: var(--navy-800);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(180px, 0.62fr) minmax(180px, 0.62fr) minmax(220px, 0.7fr);
  gap: 44px;
  align-items: start;
}

.footer-brand {
  display: inline-flex;
  width: 129px;
  height: 33px;
  margin-bottom: 20px;
  filter: none;
}

.footer-brand-block {
  display: grid;
  gap: 16px;
}

.footer-brand-block p,
.footer-contact a,
.footer-contact span,
.footer-links li,
.footer-bottom p {
  margin: 0;
  color: var(--grey-50);
  font-size: 16px;
  line-height: 1.5;
}

.footer-brand-block p:nth-of-type(2),
.footer-contact.muted span,
.footer-links li,
.footer-bottom p {
  color: var(--grey-100);
}

.footer-contact {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

.footer-links h2 {
  margin: 0 0 14px;
  color: var(--beige-200);
  font-family: Avenir, var(--body);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 3px;
  line-height: 1.5;
  text-transform: uppercase;
}

.footer-links h2:not(:first-child) {
  margin-top: 32px;
}

.footer-links ul {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(252, 254, 255, 0.2);
}

.footer-bottom > div {
  display: flex;
  gap: 20px;
}

.footer-bottom > div:last-child {
  flex-direction: column;
  gap: 0;
  text-align: right;
}

@media (max-width: 1180px) {
  .nav-toggle {
    display: block;
  }

  .nav-list {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 82px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--grey-50);
    box-shadow: var(--shadow);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list a,
  .nav-disabled {
    display: flex;
    padding: 14px;
  }

  .rd-home-hero,
  .rd-newsletter,
  .rd-contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .rd-home-hero .rd-hero-cover,
  .rd-hero-choices {
    min-height: 420px;
  }

  .rd-card-grid.three,
  .rd-card-grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rd-contact-card {
    position: static;
  }

  .footer-bottom,
  .footer-bottom > div {
    flex-direction: column;
  }

  .footer-bottom > div:last-child {
    text-align: left;
  }
}

@media (max-width: 780px) {
  body.admin-bar .site-header {
    top: 46px;
  }

  .header-inner {
    min-height: 72px;
    padding: 18px 20px;
  }

  .rd-section,
  .rd-events-hero,
  .rd-contact-hero {
    padding: 64px 20px;
  }

  .rd-home-hero {
    display: block;
  }

  .rd-home-hero .rd-hero-cover {
    min-height: 520px;
    padding: 32px 20px;
  }

  .rd-hero-choices {
    min-height: 0;
  }

  .rd-choice {
    min-height: 250px;
    padding: 32px 24px;
  }

  .rd-affiliations {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 28px 20px;
  }

  .rd-tabs {
    width: 100%;
  }

  .rd-tabs p {
    padding-inline: 20px;
    font-size: 14px;
  }

  .rd-card-grid,
  .rd-card-grid.three,
  .rd-card-grid.four,
  .rd-split,
  .rd-value-card,
  .rd-resource-card,
  .form-grid,
  .rx-routes,
  .tabs,
  .rd-timeline {
    grid-template-columns: 1fr;
  }

  .rd-split.reverse .wp-block-column:first-child {
    order: initial;
  }

  .rd-resource-card .rd-card-body {
    padding: 0 24px 28px;
  }

  .rd-resource-card figure {
    min-height: 240px;
  }

  .rd-story-image,
  .rd-story-image figure {
    height: 360px;
  }

  .rd-page-cover {
    min-height: 520px;
    padding: 64px 20px;
  }

  .newsletter-card {
    padding: 28px 20px;
  }

  .contact-form {
    padding: 28px 18px 20px;
  }

  .empty-state {
    padding: 40px 20px;
  }
}

@media (max-width: 520px) {
  .brand {
    width: 118px;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 40px;
  }

  h3,
  .rd-value-card h3 {
    font-size: 34px;
  }

  .eyebrow {
    font-size: 14px;
    letter-spacing: 2px;
  }

  .rd-affiliations {
    grid-template-columns: 1fr;
  }

  .wp-block-button,
  .wp-block-button__link,
  .rd-button,
  .contact-form button[type="submit"] {
    width: 100%;
  }
}

/* WordPress wraps core/group children in an inner container on the front end. */
.wp-block-group__inner-container {
  width: 100%;
}

.rd-home-hero {
  display: block;
}

.rd-home-hero > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  min-height: 470px;
}

.rd-hero-choices {
  display: block;
}

.rd-hero-choices > .wp-block-group__inner-container {
  display: grid;
  grid-template-rows: 1fr 1fr;
  min-height: 470px;
}

.rd-choice {
  display: block;
}

.rd-choice > .wp-block-group__inner-container {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.rd-affiliations {
  display: block;
}

.rd-affiliations > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 32px;
}

.rd-section > .wp-block-group__inner-container {
  width: min(1320px, calc(100vw - 40px));
  margin-inline: auto;
}

.rd-section.rd-newsletter > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 551px;
  gap: 64px;
  align-items: center;
}

.rd-heading > .wp-block-group__inner-container {
  display: grid;
  gap: 12px;
}

.rd-heading.center > .wp-block-group__inner-container {
  justify-items: center;
}

.rd-tabs {
  display: block;
}

.rd-tabs > .wp-block-group__inner-container {
  display: flex;
}

.rd-card-grid,
.rd-card-grid.three,
.rd-card-grid.four {
  display: block;
}

.rd-card-grid > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 44px;
}

.rd-card-grid.three > .wp-block-group__inner-container {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rd-card-grid.four > .wp-block-group__inner-container {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rd-image-card,
.rd-resource-card,
.rd-testimonial,
.rd-service-card,
.rd-team-card,
.rd-contact-card,
.newsletter-card,
.empty-state {
  display: block;
}

.rd-image-card > .wp-block-group__inner-container {
  display: grid;
}

.rd-card-body > .wp-block-group__inner-container {
  display: grid;
  gap: 8px;
}

.rd-resource-grid {
  display: block;
}

.rd-resource-grid > .wp-block-group__inner-container {
  display: grid;
  gap: 24px;
}

.rd-resource-card > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}

.rd-testimonial > .wp-block-group__inner-container,
.rd-service-card > .wp-block-group__inner-container,
.rd-team-card > .wp-block-group__inner-container {
  display: grid;
  gap: 24px;
  min-height: 300px;
}

.rd-values {
  display: block;
}

.rd-values > .wp-block-group__inner-container {
  display: grid;
  gap: 44px;
}

.rd-value-card {
  display: block;
}

.rd-value-card > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.rd-timeline {
  display: block;
}

.rd-timeline > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  padding-top: 24px;
}

.empty-state > .wp-block-group__inner-container {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.rd-contact-grid {
  display: block;
}

.rd-contact-grid > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: start;
}

.rd-contact-card > .wp-block-group__inner-container,
.newsletter-card > .wp-block-group__inner-container {
  display: grid;
  gap: 24px;
}

@media (max-width: 1180px) {
  .rd-home-hero > .wp-block-group__inner-container,
  .rd-section.rd-newsletter > .wp-block-group__inner-container,
  .rd-contact-grid > .wp-block-group__inner-container,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .rd-card-grid.three > .wp-block-group__inner-container,
  .rd-card-grid.four > .wp-block-group__inner-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .rd-home-hero > .wp-block-group__inner-container {
    display: block;
  }

  .rd-affiliations > .wp-block-group__inner-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rd-card-grid > .wp-block-group__inner-container,
  .rd-card-grid.three > .wp-block-group__inner-container,
  .rd-card-grid.four > .wp-block-group__inner-container,
  .rd-resource-card > .wp-block-group__inner-container,
  .rd-value-card > .wp-block-group__inner-container,
  .rd-contact-grid > .wp-block-group__inner-container,
  .rd-timeline > .wp-block-group__inner-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .rd-affiliations > .wp-block-group__inner-container {
    grid-template-columns: 1fr;
  }
}

/* Home final transfer from Figma: Redesign / Home - final. */
body:is(.home, .page-slug-about) {
  --hf-navy: #050e1a;
  --hf-navy-2: #071d38;
  --hf-blue: #08234a;
  --hf-body: #3e4651;
  --hf-muted: #8b929b;
  --hf-cream: #fffdfa;
  --hf-white: #fcfeff;
  --hf-soft-blue: #f0f6ff;
  --hf-beige: #b6753a;
  --hf-beige-2: #c79257;
  --hf-panel: #e8cfae;
  --hf-line: rgba(193, 200, 212, 0.55);
  --hf-display: var(--figma-display);
  --hf-sans: "Avenir Next Cyr", "Avenir Next", Avenir, "DM Sans", sans-serif;
  background: var(--hf-white);
  font-family: var(--hf-sans);
}

body.home .site-main {
  overflow-x: clip;
  background: var(--hf-white);
}

body.home .site-main > .wp-block-html,
body.home .hf-home,
body.home .hf-home * {
  box-sizing: border-box;
}

body.home .site-main > .wp-block-html,
body.home .hf-home,
body.home .hf-home section,
body.home .hf-home h1,
body.home .hf-home h2,
body.home .hf-home h3,
body.home .hf-home p,
body.home .hf-home ul {
  margin: 0;
}

body.home .site-header {
  height: 81px;
  min-height: 81px;
  border: 0;
  background: var(--hf-white);
}

body.home .header-inner {
  height: 81px;
  min-height: 81px;
  padding: 24px 80px;
  gap: 36px;
}

body.home .brand {
  width: 129px;
  height: 33px;
}

body.home .nav-list {
  gap: 36px;
}

body.home .nav-list a,
body.home .nav-disabled {
  min-height: 24px;
  gap: 10px;
  color: var(--hf-navy);
  font-family: var(--hf-sans);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 24px;
}

body.home .nav-list a::after {
  display: block;
}

body.home .nav-list a.has-dropdown::after {
  display: none;
}

body.home .nav-list a:not(.has-dropdown)::after {
  bottom: -6px;
  height: 2px;
  background: var(--hf-navy);
}

body.home .nav-chevron {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-top: -4px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

body.home .hf-home {
  width: 100%;
  color: var(--hf-body);
  font-family: var(--hf-sans);
  background: var(--hf-white);
}

body.home .hf-home img {
  display: block;
  max-width: none;
}

body.home .hf-container {
  width: 1320px;
  margin: 0 auto;
}

body:is(.home, .page-slug-about) .hf-eyebrow {
  color: var(--hf-beige);
  font-family: var(--hf-sans);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 4px;
  line-height: 30px;
  text-transform: uppercase;
}

body:is(.home, .page-slug-about) .hf-eyebrow-light {
  color: var(--hf-cream);
}

body.home .hf-home h1,
body.home .hf-home h2,
body.home .hf-home h3 {
  color: var(--hf-blue);
  font-family: var(--hf-display);
  font-weight: 400;
  letter-spacing: 0;
}

body.home .hf-home h2 {
  font-size: 84px;
  line-height: 1.2;
}

body.home .hf-lede {
  color: var(--hf-body);
  font-family: var(--hf-sans);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.5;
}

body.home .hf-hero {
  display: grid;
  grid-template-columns: 1077px 363px;
  height: 700px;
  background: var(--hf-white);
}

body.home .hf-hero-media {
  position: relative;
  height: 700px;
  overflow: hidden;
}

body.home .hf-hero-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

body.home .hf-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 14, 26, 0.07) 0%, rgba(5, 14, 26, 0.1) 45%, rgba(5, 14, 26, 0.47) 100%);
}

body.home .hf-hero-copy {
  position: absolute;
  left: 80px;
  bottom: 70px;
  width: 800px;
}

body.home .hf-hero-copy .hf-eyebrow {
  margin-bottom: 31px;
}

body.home .hf-hero-copy h1 {
  width: 781px;
  color: var(--hf-cream);
  font-size: 80px;
  line-height: 1.15;
}

body.home .hf-hero-actions {
  display: grid;
  grid-template-rows: 350px 350px;
  height: 700px;
}

body.home .hf-hero-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 40px;
  height: 350px;
  padding: 136px 44px 0 48px;
  color: var(--hf-cream);
  font-family: var(--hf-sans);
  text-decoration: none;
}

body.home .hf-hero-panel span {
  color: currentColor;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 4px;
  line-height: 1.5;
  text-transform: uppercase;
}

body.home .hf-hero-panel i {
  position: relative;
  display: block;
  width: 55px;
  height: 18px;
  transition: transform 220ms ease;
}

body.home .hf-hero-panel i::before,
body.home .hf-hero-panel i::after {
  content: "";
  position: absolute;
  background: currentColor;
}

body.home .hf-hero-panel i::before {
  left: 0;
  top: 8px;
  width: 55px;
  height: 2px;
  transform-origin: left center;
  transition: width 220ms ease;
}

body.home .hf-hero-panel i::after {
  right: 0;
  top: 1px;
  width: 16px;
  height: 16px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  background: transparent;
  transform: rotate(45deg);
  transition: right 220ms ease;
}

body.home .hf-hero-panel:hover i,
body.home .hf-hero-panel:focus-visible i {
  transform: translateX(12px);
}

body.home .hf-hero-panel:hover i::before,
body.home .hf-hero-panel:focus-visible i::before {
  width: 66px;
}

body.home .hf-hero-panel:hover i::after,
body.home .hf-hero-panel:focus-visible i::after {
  right: -11px;
}

body.home .hf-hero-panel-patient {
  background: var(--hf-navy-2);
}

body.home .hf-hero-panel-prescriber {
  color: #332313;
  background: var(--hf-panel);
}

body.home .hf-affiliations {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  height: 140px;
  padding: 24px 34px;
  background: var(--hf-white);
}

body.home .hf-affiliations img {
  width: auto;
  height: auto;
  max-height: 54px;
  object-fit: contain;
}

body.home .hf-affiliations img:nth-child(1) {
  width: 288px;
  max-width: 288px;
}

body.home .hf-affiliations img:nth-child(2),
body.home .hf-affiliations img:nth-child(3) {
  width: 276px;
  max-width: 276px;
}

body.home .hf-affiliations img:nth-child(4) {
  width: 276px;
  max-width: 276px;
}

body.home .hf-affiliations img:nth-child(5) {
  width: 160px;
  max-width: 160px;
}

body.home .hf-section {
  padding: 84px 60px;
}

body.home .hf-specialty {
  height: 1256px;
  background: var(--hf-white);
}

body.home .hf-heading {
  text-align: center;
}

body.home .hf-specialty .hf-heading,
body.home .hf-resources .hf-heading,
body.home .hf-testimonials .hf-heading {
  height: 388px;
  margin: 0 auto 64px;
}

body.home .hf-heading h2 {
  margin-top: 32px;
}

body.home .hf-heading .hf-lede {
  margin: 24px auto 0;
}

body.home .hf-heading-wide {
  max-width: 1110px;
}

body.home .hf-heading-wide .hf-lede {
  max-width: 910px;
}

body.home .hf-tabs {
  display: grid;
  grid-template-columns: 250px 215px 170px 210px;
  align-items: center;
  width: 846px;
  height: 72px;
  margin: 0 auto 64px;
  padding: 8px;
  border: 1px solid #d8dde5;
  border-radius: 8px;
  background: #f2f4f8;
}

body.home .hf-tabs button {
  position: relative;
  height: 56px;
  border: 0;
  border-radius: 6px;
  padding: 0 27px;
  background: transparent;
  color: var(--hf-body);
  font-family: var(--hf-sans);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 4px;
  line-height: 24px;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
}

body.home .hf-tabs button + button::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 17px;
  width: 1px;
  height: 22px;
  background: #c1c8d4;
}

body.home .hf-tabs button[aria-selected="true"] {
  background: var(--hf-beige-2);
  color: var(--hf-white);
}

body.home .hf-tabs button[aria-selected="true"]::before,
body.home .hf-tabs button[aria-selected="true"] + button::before {
  display: none;
}

body.home .hf-tab-panel {
  display: none;
  grid-template-columns: 644px 644px;
  gap: 32px;
}

body.home .hf-tab-panel.is-active {
  display: grid;
}

body.home .hf-image-card {
  position: relative;
  display: block;
  width: 644px;
  height: 500px;
  overflow: hidden;
  border-radius: 4px;
  color: var(--hf-white);
  text-decoration: none;
}

body.home .hf-image-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 58%;
  background: linear-gradient(180deg, rgba(5, 14, 26, 0) 0%, rgba(5, 23, 48, 0.78) 100%);
}

body.home .hf-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.home .hf-image-card:nth-child(2) img {
  object-position: center 37%;
}

body.home .hf-image-card span {
  position: absolute;
  left: 32px;
  bottom: 42px;
  z-index: 2;
  color: var(--hf-white);
  font-family: var(--hf-display);
  font-size: 52px;
  font-weight: 400;
  line-height: 1.2;
}

body.home .hf-resources {
  height: 1771px;
  background: var(--hf-soft-blue);
}

body.home .hf-heading-resources {
  max-width: 800px;
}

body.home .hf-heading-resources .hf-lede {
  max-width: 820px;
}

body.home .hf-resource-list {
  display: grid;
  gap: 32px;
  width: 1100px;
  margin: 0 auto;
}

body.home .hf-resource-card {
  display: grid;
  grid-template-columns: 288px 716px;
  gap: 32px;
  width: 1100px;
  height: 358px;
  padding: 40px 32px;
  border-radius: 8px;
  background: var(--hf-white);
}

body.home .hf-resource-card-tall {
  height: 371px;
}

body.home .hf-resource-media {
  display: grid;
  grid-template-rows: 200px 54px;
  gap: 24px;
  width: 288px;
}

body.home .hf-resource-media img {
  width: 288px;
  height: 200px;
  border-radius: 6px;
  object-fit: cover;
}

body.home .hf-outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 288px;
  height: 54px;
  border: 2px solid var(--hf-beige);
  border-radius: 6px;
  color: var(--hf-beige);
  font-family: var(--hf-sans);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
}

body.home .hf-outline-button::after {
  content: "";
  width: 16px;
  height: 12px;
  margin-left: 12px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: skewX(-12deg) rotate(45deg);
}

body.home .hf-resource-copy {
  padding-top: 0;
}

body.home .hf-resource-copy .hf-eyebrow {
  font-size: 14px;
  line-height: 21px;
}

body.home .hf-resource-copy h3 {
  margin-top: 13px;
  color: var(--hf-blue);
  font-size: 52px;
  line-height: 1.1;
}

body.home .hf-resource-copy p:not(.hf-eyebrow) {
  margin-top: 22px;
  color: #222830;
  font-family: var(--hf-sans);
  font-size: 16px;
  line-height: 1.5;
}

body.home .hf-resource-copy ul {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding: 0;
  list-style: none;
}

body.home .hf-resource-copy li {
  position: relative;
  padding-left: 14px;
  color: #222830;
  font-family: var(--hf-sans);
  font-size: 16px;
  line-height: 1.5;
}

body.home .hf-resource-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hf-beige-2);
}

body.home .hf-testimonials {
  height: 961px;
  background: var(--hf-white);
}

body.home .hf-heading-testimonials {
  max-width: 920px;
}

body.home .hf-heading-testimonials .hf-lede {
  max-width: 770px;
}

body.home .hf-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 424px);
  gap: 24px;
}

body.home .hf-testimonial-card {
  width: 424px;
  height: 341px;
  padding: 32px 32px 28px;
  border: 1px solid rgba(193, 200, 212, 0.45);
  border-radius: 8px;
  background: var(--hf-white);
  box-shadow: 0 14px 42px rgba(5, 23, 48, 0.08);
}

body.home .hf-quote-mark {
  height: 44px;
  color: #f3ede6;
  font-family: Georgia, serif;
  font-size: 86px;
  font-weight: 700;
  line-height: 0.65;
}

body.home .hf-stars {
  margin-top: 18px;
  color: #d5a779;
  font-size: 24px;
  letter-spacing: 4px;
  line-height: 1;
}

body.home .hf-quote {
  min-height: 96px;
  margin-top: 24px !important;
  padding-left: 22px;
  border-left: 2px solid var(--hf-beige-2);
  color: #222830;
  font-family: var(--hf-sans);
  font-size: 16px;
  font-style: italic;
  line-height: 1.5;
}

body.home .hf-author {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(193, 200, 212, 0.35);
}

body.home .hf-author span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--hf-white);
  background: #0d3c7e;
  font-family: var(--hf-sans);
  font-size: 22px;
  font-weight: 800;
}

body.home .hf-author p {
  color: var(--hf-body);
  font-size: 16px;
  line-height: 1.5;
}

body.home .hf-author strong {
  color: var(--hf-navy);
  font-size: 16px;
  font-weight: 600;
}

body.home .hf-consultation {
  position: relative;
  height: 536px;
  overflow: hidden;
}

body.home .hf-consultation > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

body.home .hf-consultation-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 14, 26, 0.45) 0%, rgba(5, 14, 26, 0.16) 46%, rgba(5, 14, 26, 0) 100%);
}

body.home .hf-consultation-copy {
  position: absolute;
  left: 60px;
  top: 84px;
  width: 720px;
  z-index: 2;
}

body.home .hf-consultation-copy h2 {
  margin-top: 18px;
  color: var(--hf-cream);
  font-size: 84px;
  line-height: 1.2;
}

body.home .hf-consultation-copy p:not(.hf-eyebrow) {
  width: 720px;
  margin-top: 12px;
  color: var(--hf-cream);
  font-family: var(--hf-sans);
  font-size: 24px;
  line-height: 1.5;
}

body.home .hf-consultation-arrow {
  position: absolute;
  left: 399px;
  top: 99px;
  z-index: 3;
  width: 788px;
  height: 206px;
  background: url("assets/img/figma-home/consultation-arrow-raw.svg") center / contain no-repeat;
  pointer-events: none;
}

body.home .hf-consultation-badge {
  position: absolute;
  left: 1150px;
  top: 130px;
  z-index: 4;
  width: 230px;
  height: 231px;
  background: url("assets/img/figma-home/consultation-circle.png") center / contain no-repeat;
}

body:is(.home, .page-slug-about) .hf-newsletter {
  height: 793px;
  background: var(--hf-soft-blue);
}

body:is(.home, .page-slug-about) .hf-newsletter-inner {
  display: grid;
  grid-template-columns: 705px 551px;
  align-items: center;
  gap: 64px;
  width: 1320px;
  height: 100%;
  margin: 0 auto;
}

body:is(.home, .page-slug-about) .hf-newsletter-copy h2 {
  margin-top: 28px;
  color: var(--hf-blue);
  font-size: 84px;
  line-height: 1.2;
}

body:is(.home, .page-slug-about) .hf-newsletter-copy p:not(.hf-eyebrow) {
  margin-top: 28px;
  color: var(--hf-body);
  font-family: var(--hf-sans);
  font-size: 20px;
  line-height: 1.5;
}

body:is(.home, .page-slug-about) .hf-newsletter-copy ul {
  display: grid;
  gap: 15px;
  margin-top: 30px;
  padding: 0;
  list-style: none;
}

body:is(.home, .page-slug-about) .hf-newsletter-copy li {
  position: relative;
  padding-left: 22px;
  color: var(--hf-blue);
  font-family: var(--hf-sans);
  font-size: 20px;
  line-height: 1.5;
}

body:is(.home, .page-slug-about) .hf-newsletter-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hf-beige-2);
}

body:is(.home, .page-slug-about) .hf-newsletter-form {
  display: grid;
  grid-template-rows: auto auto auto auto auto auto;
  gap: 27px;
  width: 551px;
  height: 625px;
  padding: 44px;
  border-radius: 12px;
  background: var(--hf-white);
}

body:is(.home, .page-slug-about) .hf-newsletter-form h3 {
  color: var(--hf-blue);
  font-size: 44px;
  line-height: 1.2;
}

body:is(.home, .page-slug-about) .hf-newsletter-form label {
  display: grid;
  gap: 8px;
  color: #0e0f0f;
  font-family: var(--hf-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

body:is(.home, .page-slug-about) .hf-newsletter-form input,
body:is(.home, .page-slug-about) .hf-newsletter-form select {
  width: 100%;
  height: 56px;
  border: 1px solid #d8dde5;
  border-radius: 8px;
  padding: 0 20px;
  color: #0e0f0f;
  background: var(--hf-white);
  font-family: var(--hf-sans);
  font-size: 16px;
  font-weight: 400;
}

body:is(.home, .page-slug-about) .hf-newsletter-form input::placeholder,
body:is(.home, .page-slug-about) .hf-newsletter-form select:invalid {
  color: var(--hf-muted);
}

body:is(.home, .page-slug-about) .hf-newsletter-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 463px;
  height: 57px;
  border: 0;
  border-radius: 8px;
  color: var(--hf-white);
  background: var(--hf-blue);
  font-family: var(--hf-sans);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
}

body:is(.home, .page-slug-about) .hf-newsletter-form button::after {
  content: "";
  width: 16px;
  height: 16px;
  margin-left: 16px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

body:is(.home, .page-slug-about) .hf-newsletter-note,
body:is(.home, .page-slug-about) .hf-newsletter-status {
  color: var(--hf-muted);
  font-family: var(--hf-sans);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

body:is(.home, .page-slug-about) .hf-newsletter-note a {
  color: var(--hf-beige);
}

body:is(.home, .page-slug-about) .hf-newsletter-status {
  min-height: 0;
  margin-top: -18px !important;
  font-weight: 700;
}

body.home .site-footer {
  height: 745px;
  min-height: 745px;
  overflow: hidden;
  padding: 64px 60px 40px;
  color: var(--hf-white);
  background: var(--hf-navy-2);
}

body.home .footer-grid {
  display: grid;
  grid-template-columns: 450px 214px 209px 258px;
  gap: 104px;
  align-items: start;
  height: 545px;
}

body.home .footer-brand {
  width: 129px;
  height: 33px;
  margin: 0 0 24px;
  filter: none;
}

body.home .footer-brand-block {
  display: block;
}

body.home .footer-brand-block p,
body.home .footer-contact a,
body.home .footer-contact span,
body.home .footer-links li,
body.home .footer-links a,
body.home .footer-bottom p,
body.home .footer-bottom a,
body.home .footer-bottom span {
  margin: 0;
  color: var(--hf-white);
  font-family: var(--hf-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  text-decoration: none;
}

body.home .footer-brand-block p:nth-of-type(1) {
  margin-bottom: 16px;
}

body.home .footer-brand-block p:nth-of-type(2) {
  width: 450px;
  margin-bottom: 24px;
}

body.home .footer-social {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

body.home .footer-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--hf-white);
  border-radius: 50%;
  color: var(--hf-white);
  font-family: var(--hf-sans);
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

body.home .footer-contact {
  display: grid;
  gap: 8px;
  margin: 0 0 24px;
}

body.home .footer-contact a {
  font-weight: 800;
}

body.home .footer-contact.muted span,
body.home .footer-links li,
body.home .footer-links a,
body.home .footer-bottom p,
body.home .footer-bottom a,
body.home .footer-bottom span {
  color: #d9e2ef;
}

body.home .footer-links h2 {
  margin: 0 0 18px;
  color: #d1ac84;
  font-family: var(--hf-sans);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 4px;
  line-height: 1.5;
  text-transform: uppercase;
}

body.home .footer-links h2:not(:first-child) {
  margin-top: 32px;
}

body.home .footer-links ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.home .footer-links-programs h2 {
  line-height: 1.35;
}

body.home .footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  height: 96px;
  padding-top: 52px;
  border-top: 1px solid rgba(252, 254, 255, 0.2);
}

body.home .footer-location {
  display: flex;
  gap: 48px;
}

body.home .footer-legal {
  display: grid;
  justify-items: end;
  gap: 2px;
  text-align: right;
}

body.home .footer-legal p:last-child {
  display: flex;
  gap: 12px;
}

@media (max-width: 1180px) {
  body.home .site-header {
    height: 72px;
    min-height: 72px;
  }

  body.home .header-inner {
    height: 72px;
    min-height: 72px;
    padding: 18px 24px;
  }

  body.home .nav-list {
    gap: 0;
  }

  body.home .hf-container,
  body:is(.home, .page-slug-about) .hf-newsletter-inner {
    width: min(100% - 48px, 960px);
  }

  body.home .hf-hero {
    grid-template-columns: 1fr;
    height: auto;
  }

  body.home .hf-hero-media {
    height: 620px;
  }

  body.home .hf-hero-actions {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 260px;
    height: 260px;
  }

  body.home .hf-hero-panel {
    height: 260px;
    padding-top: 86px;
  }

  body.home .hf-affiliations {
    grid-template-columns: repeat(5, minmax(120px, 1fr));
    gap: 12px;
    padding-inline: 24px;
    overflow: hidden;
  }

  body.home .hf-section,
  body.home .site-footer {
    padding-inline: 24px;
  }

  body.home .hf-specialty,
  body.home .hf-resources,
  body.home .hf-testimonials,
  body:is(.home, .page-slug-about) .hf-newsletter,
  body.home .site-footer {
    height: auto;
    min-height: 0;
  }

  body.home .hf-specialty .hf-heading,
  body.home .hf-resources .hf-heading,
  body.home .hf-testimonials .hf-heading {
    height: auto;
    margin-bottom: 48px;
  }

  body.home .hf-tabs {
    width: 100%;
    overflow-x: auto;
  }

  body.home .hf-tab-panel,
  body.home .hf-testimonial-grid,
  body:is(.home, .page-slug-about) .hf-newsletter-inner,
  body.home .footer-grid {
    grid-template-columns: 1fr;
  }

  body.home .hf-tab-panel {
    width: 100%;
  }

  body.home .hf-image-card,
  body.home .hf-resource-list,
  body.home .hf-resource-card,
  body.home .hf-testimonial-card,
  body:is(.home, .page-slug-about) .hf-newsletter-form {
    width: 100%;
  }

  body.home .hf-resource-list {
    max-width: 900px;
  }

  body.home .hf-resource-card,
  body.home .hf-resource-card-tall {
    grid-template-columns: 288px 1fr;
    height: auto;
  }

  body.home .hf-consultation-copy {
    left: 24px;
    width: min(720px, calc(100% - 48px));
  }

  body.home .hf-consultation-arrow,
  body.home .hf-consultation-badge {
    display: none;
  }

  body:is(.home, .page-slug-about) .hf-newsletter-inner {
    gap: 48px;
    padding-block: 72px;
  }

  body:is(.home, .page-slug-about) .hf-newsletter-form {
    height: auto;
  }

  body:is(.home, .page-slug-about) .hf-newsletter-form button {
    width: 100%;
  }

  body.home .site-footer {
    overflow: visible;
  }

  body.home .footer-grid {
    height: auto;
    gap: 40px;
  }

  body.home .footer-bottom {
    height: auto;
    margin-top: 48px;
    padding-top: 32px;
  }
}

@media (max-width: 780px) {
  body.home .hf-home h2,
  body:is(.home, .page-slug-about) .hf-newsletter-copy h2,
  body.home .hf-consultation-copy h2 {
    font-size: 48px;
    line-height: 1.12;
  }

  body.home .hf-lede,
  body.home .hf-consultation-copy p:not(.hf-eyebrow) {
    font-size: 18px;
  }

  body.home .hf-hero-media {
    height: 540px;
  }

  body.home .hf-hero-copy {
    left: 24px;
    right: 24px;
    bottom: 48px;
    width: auto;
  }

  body.home .hf-hero-copy h1 {
    width: auto;
    font-size: 54px;
  }

  body.home .hf-hero-actions {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, 210px);
    height: 420px;
  }

  body.home .hf-hero-panel {
    height: 210px;
    padding: 64px 24px 0;
  }

  body.home .hf-affiliations {
    grid-template-columns: repeat(2, 1fr);
    height: auto;
  }

  body.home .hf-affiliations img {
    height: 72px;
  }

  body.home .hf-tabs {
    grid-template-columns: repeat(4, max-content);
  }

  body.home .hf-tabs button {
    padding-inline: 20px;
    font-size: 13px;
    letter-spacing: 2px;
  }

  body.home .hf-image-card {
    height: 360px;
  }

  body.home .hf-image-card span,
  body.home .hf-resource-copy h3 {
    font-size: 36px;
  }

  body.home .hf-resource-card,
  body.home .hf-resource-card-tall {
    grid-template-columns: 1fr;
  }

  body.home .hf-resource-media,
  body.home .hf-resource-media img,
  body.home .hf-outline-button {
    width: 100%;
  }

  body.home .hf-resource-media {
    grid-template-rows: 220px 54px;
  }

  body.home .hf-testimonial-grid {
    gap: 18px;
  }

  body.home .hf-consultation {
    height: 520px;
  }

  body:is(.home, .page-slug-about) .hf-newsletter-form {
    padding: 28px 20px;
  }

  body:is(.home, .page-slug-about) .hf-newsletter-form h3 {
    font-size: 34px;
  }

  body.home .footer-location,
  body.home .footer-bottom {
    flex-direction: column;
    gap: 18px;
  }

  body.home .footer-legal {
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 520px) {
  body.home .header-inner {
    padding-inline: 20px;
  }

  body.home .brand {
    width: 118px;
    height: 30px;
  }

  body.home .hf-container,
  body:is(.home, .page-slug-about) .hf-newsletter-inner {
    width: calc(100% - 40px);
  }

  body.home .hf-section {
    padding: 56px 0;
  }

  body.home .hf-hero-copy h1 {
    font-size: 43px;
  }

  body.home .hf-hero-panel span {
    font-size: 20px;
  }

  body.home .hf-affiliations {
    grid-template-columns: 1fr;
  }

  body:is(.home, .page-slug-about) .hf-newsletter-copy li,
  body:is(.home, .page-slug-about) .hf-newsletter-copy p:not(.hf-eyebrow) {
    font-size: 16px;
  }

  body.home .footer-brand-block p:nth-of-type(2) {
    width: auto;
  }
}

/* Desktop footer/header refinement against the Figma frame. */
@media (min-width: 1181px) {
  body.home {
    --hf-navy-2: #051730;
  }

  body.home .hf-outline-button::after {
    display: none;
  }

  body:is(.home, .page-slug-about) .hf-newsletter-form button::after {
    width: 24px;
    height: 14px;
    margin-left: 16px;
    border: 0;
    background: url("data:image/svg+xml,%3Csvg width='24' height='14' viewBox='0 0 24 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 7H22M16 1L22 7L16 13' stroke='%23FCFEFF' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
    transform: none;
  }

  body.home .footer-grid {
    position: relative;
    display: block;
    width: 1320px;
    height: 545px;
    margin: 0;
  }

  body.home .footer-brand-block,
  body.home .footer-links-patients,
  body.home .footer-links-specialty,
  body.home .footer-links-programs {
    position: absolute;
    top: 0;
  }

  body.home .footer-brand-block {
    left: 0;
    width: 450px;
  }

  body.home .footer-links-patients {
    left: 553px;
    width: 214px;
  }

  body.home .footer-links-specialty {
    left: 816px;
    width: 209px;
  }

  body.home .footer-links-programs {
    left: 1062px;
    width: 258px;
  }

  body.home .footer-bottom {
    width: 1320px;
  }
}

@media (min-width: 1181px) {
  body.home .site-footer {
    display: block;
    gap: 0;
  }

  body.home .footer-grid {
    height: 544px;
  }

  body.home .footer-links-programs {
    width: 300px;
  }
}

/* Home QA correction pass: typography weight, fluid desktop scaling, image fidelity, CTA, testimonials, footer. */
body.home .brand img,
body.home .footer-brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

body.home .hf-eyebrow {
  font-weight: 600;
  letter-spacing: 3px;
}

body.home .hf-hero-copy .hf-eyebrow,
body.home .hf-consultation-copy .hf-eyebrow {
  font-weight: 800;
}

body.home .hf-hero-panel span,
body.home .hf-tabs button,
body.home .hf-outline-button,
body:is(.home, .page-slug-about) .hf-newsletter-form button {
  font-weight: 700;
}

body.home .hf-tabs button {
  min-width: 0;
  padding-inline: 16px;
  letter-spacing: 3px;
  overflow: hidden;
  text-overflow: clip;
}

body.home .hf-tabs button[aria-selected="true"] {
  font-weight: 700;
}

body.home .hf-affiliations img {
  width: auto;
  image-rendering: auto;
}

body.home .hf-affiliations {
  gap: 20px;
}

body.home .hf-affiliations img {
  max-height: 70px;
}

body.home .hf-affiliations img:nth-child(1) {
  width: 315px;
  max-width: 315px;
}

body.home .hf-affiliations img:nth-child(2),
body.home .hf-affiliations img:nth-child(3),
body.home .hf-affiliations img:nth-child(4) {
  width: 300px;
  max-width: 300px;
}

body.home .hf-affiliations img:nth-child(5) {
  width: 185px;
  max-width: 185px;
}

body.home .hf-quote-mark {
  width: 40px;
  height: 36px;
  color: transparent;
  font-size: 0;
  line-height: 1;
  background: url("data:image/svg+xml,%3Csvg width='40' height='31' viewBox='0 0 40 31' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 31V18.9C0 11.1 4 4.7 12 0L15.6 5.7C11.2 8.8 8.8 12.2 8.4 16H16V31H0ZM24 31V18.9C24 11.1 28 4.7 36 0L39.6 5.7C35.2 8.8 32.8 12.2 32.4 16H40V31H24Z' fill='%23F5EDE6'/%3E%3C/svg%3E") left top / 40px 31px no-repeat;
}

body.home .hf-stars {
  width: 120px;
  height: 22px;
  margin-top: 19px;
  color: transparent;
  font-size: 0;
  letter-spacing: 0;
  background: url("data:image/svg+xml,%3Csvg width='120' height='22' viewBox='0 0 120 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23D1AC84'%3E%3Cpath d='M11 1.5 13.7 7l6.1.9-4.4 4.3 1 6.1L11 15.4l-5.4 2.9 1-6.1-4.4-4.3L8.3 7 11 1.5Z'/%3E%3Cpath d='M35.5 1.5 38.2 7l6.1.9-4.4 4.3 1 6.1-5.4-2.9-5.4 2.9 1-6.1-4.4-4.3 6.1-.9 2.7-5.5Z'/%3E%3Cpath d='M60 1.5 62.7 7l6.1.9-4.4 4.3 1 6.1-5.4-2.9-5.4 2.9 1-6.1-4.4-4.3 6.1-.9L60 1.5Z'/%3E%3Cpath d='M84.5 1.5 87.2 7l6.1.9-4.4 4.3 1 6.1-5.4-2.9-5.4 2.9 1-6.1-4.4-4.3 6.1-.9 2.7-5.5Z'/%3E%3Cpath d='M109 1.5l2.7 5.5 6.1.9-4.4 4.3 1 6.1-5.4-2.9-5.4 2.9 1-6.1-4.4-4.3 6.1-.9 2.7-5.5Z'/%3E%3C/g%3E%3C/svg%3E") left center / contain no-repeat;
}

body.home .hf-author span {
  font-weight: 700;
}

body.home .hf-consultation-copy .hf-eyebrow {
  color: #e3cbb1;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 3px;
}

body.home .hf-consultation-badge {
  border-radius: 50%;
  overflow: hidden;
  clip-path: circle(50% at 50% 50%);
  background-size: cover;
}

body.home .footer-social a {
  font-size: 0;
  font-weight: 400;
}

body.home .footer-social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

body.home .footer-contact a {
  font-weight: 700;
}

body.home .footer-links h2 {
  letter-spacing: 3px;
}

@media (min-width: 1181px) {
  body.home .hf-hero {
    grid-template-columns: minmax(0, 74.7916667vw) minmax(300px, 25.2083333vw);
    width: 100vw;
    max-width: none;
  }

  body.home .hf-hero-copy {
    left: clamp(60px, 5.5555556vw, 96px);
  }

  body.home .hf-hero-copy h1 {
    width: min(781px, calc(74.7916667vw - 120px));
  }

  body.home .hf-hero-panel {
    padding-left: clamp(34px, 3.3333333vw, 64px);
    padding-right: clamp(30px, 3.0555556vw, 58px);
  }

  body.home .hf-tabs {
    grid-template-columns: 250px 215px 170px 195px;
    overflow: hidden;
  }

  body.home .hf-consultation > img {
    object-position: center center;
  }

  body.home .hf-consultation-copy {
    left: clamp(60px, 4.1666667vw, 96px);
  }

  body.home .hf-consultation-arrow {
    left: clamp(339px, 23.5416667vw, 452px);
  }

  body.home .hf-consultation-badge {
    right: clamp(60px, 4.1666667vw, 96px);
    left: auto;
    top: 176px;
  }
}

@media (min-width: 1501px) {
  body.home .header-inner {
    padding-inline: clamp(80px, 5.5555556vw, 120px);
  }

  body.home .hf-container,
  body:is(.home, .page-slug-about) .hf-newsletter-inner {
    width: min(1320px, calc(100vw - 120px));
  }

  body.home .footer-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(390px, 450px) 214px 209px minmax(258px, 300px);
    justify-content: space-between;
    gap: clamp(48px, 5vw, 104px);
    width: min(1320px, calc(100vw - 120px));
    margin-inline: auto;
  }

  body.home .footer-brand-block,
  body.home .footer-links-patients,
  body.home .footer-links-specialty,
  body.home .footer-links-programs {
    position: static;
    width: auto;
  }

  body.home .footer-brand-block {
    max-width: 450px;
  }

  body.home .footer-brand-block p:nth-of-type(2) {
    width: auto;
  }

  body.home .footer-bottom {
    width: min(1320px, calc(100vw - 120px));
    margin-inline: auto;
  }
}

@media (max-width: 1180px) {
  body.home .hf-tabs {
    grid-template-columns: repeat(4, minmax(170px, 1fr));
  }

  body.home .hf-tabs button {
    padding-inline: 14px;
    letter-spacing: 2px;
  }

  body.home .hf-affiliations {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px 44px;
  }

  body.home .hf-affiliations img {
    width: auto;
    height: auto;
    max-height: 48px;
  }
}

@media (max-width: 520px) {
  body.home .hf-affiliations {
    gap: 22px 28px;
  }

  body.home .hf-affiliations img {
    max-height: 42px;
  }
}

/* Targeted Home fixes from visual QA. */
body.home .hf-tabs {
  margin-top: 32px;
}

body.home .hf-tabs button {
  font-weight: 600;
}

body.home .hf-tabs button[aria-selected="true"] {
  font-weight: 600;
}

body.home .hf-consultation-copy .hf-eyebrow {
  font-weight: 600;
}

body:is(.home, .page-slug-about) .hf-newsletter-form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 54px;
  color: var(--hf-muted);
  background-color: var(--hf-white);
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%238B929B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 24px center;
  background-size: 14px 8px;
}

body:is(.home, .page-slug-about) .hf-newsletter-form select:valid {
  color: #0e0f0f;
}

body.home .footer-grid {
  margin-bottom: 60px;
}

body.home .footer-links h2 {
  font-weight: 600;
}

body.home .footer-social a {
  width: 56px;
  height: 56px;
  border-width: 2px;
}

body.home .footer-social svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.home .footer-social a:first-child svg {
  fill: currentColor;
  stroke: none;
}

body.home .footer-bottom {
  display: grid;
  grid-template-columns: 1fr 439px;
  align-items: start;
  height: 77px;
  padding-top: 18px;
}

body.home .footer-legal {
  justify-items: start;
  text-align: left;
}

body.home .footer-legal p:last-child {
  justify-content: flex-start;
}

@media (min-width: 1181px) {
  body.home {
    --hf-frame-left: max(60px, calc((100vw - 1440px) / 2 + 60px));
  }

  body.home .hf-consultation-copy {
    left: var(--hf-frame-left);
  }

  body.home .hf-consultation-arrow {
    left: calc(var(--hf-frame-left) + 279px);
  }

  body.home .hf-consultation-badge {
    left: calc(var(--hf-frame-left) + 1090px);
    right: auto;
  }
}

@media (max-width: 1180px) {
  body.home .hf-tabs {
    margin-top: 24px;
  }

  body.home .footer-bottom {
    grid-template-columns: 1fr;
  }
}

body.home .hf-hero-copy .hf-eyebrow,
body.home .hf-hero-panel span {
  font-weight: 600;
}

body.home .hf-affiliations {
  gap: 16px;
}

body.home .hf-affiliations img {
  max-height: 80px;
}

body.home .hf-affiliations img:nth-child(1) {
  width: 330px;
  max-width: 330px;
}

body.home .hf-affiliations img:nth-child(2),
body.home .hf-affiliations img:nth-child(3),
body.home .hf-affiliations img:nth-child(4) {
  width: 314px;
  max-width: 314px;
}

body.home .hf-affiliations img:nth-child(5) {
  width: 190px;
  max-width: 190px;
}

body.home .hf-outline-button {
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

body.home .hf-outline-button:hover,
body.home .hf-outline-button:focus-visible {
  color: var(--hf-white);
  background-color: var(--hf-beige);
  border-color: var(--hf-beige);
  box-shadow: 0 10px 24px rgba(182, 117, 58, 0.22);
  transform: translateY(-2px);
}

body.home .site-footer {
  height: 805px;
  min-height: 805px;
  padding-bottom: 100px;
}

@media (max-width: 1180px) {
  body.home .site-footer {
    height: auto;
    min-height: 0;
    padding-bottom: 64px;
  }
}

/* Responsive stability pass. */
body.home .hf-home {
  overflow-x: clip;
}

body.home .hf-container,
body.home .hf-resource-list,
body.home .hf-tab-panel,
body.home .hf-testimonial-grid,
body:is(.home, .page-slug-about) .hf-newsletter-inner,
body.home .footer-grid,
body.home .footer-bottom {
  max-width: calc(100vw - 120px);
}

body.home .footer-social img {
  display: block;
  width: 56px;
  height: 56px;
}

body.home .footer-social a {
  width: 56px;
  height: 56px;
  border: 0;
}

body.home .footer-social svg {
  display: none;
}

body:is(.home, .page-slug-about) .hf-newsletter-form select {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

body:is(.home, .page-slug-about) .hf-custom-select {
  position: relative;
}

body:is(.home, .page-slug-about) .hf-custom-select-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 56px;
  border: 1px solid #d8dde5;
  border-radius: 8px;
  padding: 0 20px;
  color: #0e0f0f;
  background: var(--hf-white);
  font-family: var(--hf-sans);
  font-size: 16px;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
}

body:is(.home, .page-slug-about) .hf-newsletter-form .hf-custom-select-button {
  width: 100%;
  height: 56px;
  border: 1px solid #d8dde5;
  border-radius: 8px;
  padding: 0 20px;
  color: #0e0f0f;
  background: var(--hf-white);
  box-shadow: none;
  font-family: var(--hf-sans);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.5;
  text-transform: none;
  transform: none;
}

body:is(.home, .page-slug-about) .hf-custom-select-button::after {
  content: "";
  width: 14px;
  height: 8px;
  background: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%238B929B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

body:is(.home, .page-slug-about) .hf-newsletter-form .hf-custom-select-button::after {
  flex: 0 0 auto;
  width: 14px;
  height: 8px;
  margin: 0;
  border: 0;
  background: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%238B929B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transform: none;
}

body:is(.home, .page-slug-about) .hf-custom-select-list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 20;
  overflow: hidden;
  border: 1px solid #d8dde5;
  border-radius: 8px;
  background: var(--hf-white);
  box-shadow: 0 18px 38px rgba(5, 23, 48, 0.16);
}

body:is(.home, .page-slug-about) .hf-custom-select-option {
  display: block;
  width: 100%;
  min-height: 46px;
  border: 0;
  padding: 0 20px;
  color: #0e0f0f;
  background: var(--hf-white);
  font-family: var(--hf-sans);
  font-size: 16px;
  text-align: left;
  cursor: pointer;
}

body:is(.home, .page-slug-about) .hf-custom-select-option:hover,
body:is(.home, .page-slug-about) .hf-custom-select-option:focus-visible,
body:is(.home, .page-slug-about) .hf-custom-select-option[aria-selected="true"] {
  color: var(--hf-white);
  background: var(--hf-blue);
}

@media (min-width: 1181px) and (max-width: 1350px) {
  body.home .hf-container,
  body:is(.home, .page-slug-about) .hf-newsletter-inner,
  body.home .footer-grid,
  body.home .footer-bottom {
    width: calc(100vw - 120px);
  }

  body.home .hf-tab-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  body.home .hf-image-card {
    width: 100%;
  }

  body.home .hf-resource-list,
  body.home .hf-resource-card {
    width: min(1100px, 100%);
  }

  body.home .hf-resource-card {
    grid-template-columns: 288px minmax(0, 1fr);
  }

  body.home .hf-testimonial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.home .hf-testimonial-card {
    width: 100%;
  }

  body:is(.home, .page-slug-about) .hf-newsletter-inner {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 551px);
  }
}

@media (max-width: 780px) {
  body.home .hf-container,
  body.home .hf-resource-list,
  body.home .hf-tab-panel,
  body.home .hf-testimonial-grid,
  body:is(.home, .page-slug-about) .hf-newsletter-inner,
  body.home .footer-grid,
  body.home .footer-bottom {
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
  }

  body.home .hf-section {
    padding-inline: 20px;
  }

  body.home .hf-affiliations {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 22px;
    justify-items: center;
    padding: 34px 20px;
  }

  body.home .hf-affiliations img,
  body.home .hf-affiliations img:nth-child(n) {
    width: min(100%, 250px);
    max-width: 250px;
    max-height: 78px;
  }

  body.home .hf-affiliations img:nth-child(5) {
    grid-column: 1 / -1;
    width: 150px;
    max-width: 150px;
  }

  body.home .hf-hero-panel {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    height: 158px;
    padding: 0 40px;
  }

  body.home .hf-hero-panel span {
    min-width: 0;
    font-size: 21px;
    letter-spacing: 4px;
  }

  body.home .hf-hero-panel i {
    flex: 0 0 auto;
  }

  body.home .hf-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    height: auto;
    overflow: visible;
  }

  body.home .hf-tabs button {
    height: 56px;
    padding-inline: 10px;
    font-size: 13px;
    letter-spacing: 2px;
  }

  body.home .hf-tabs button + button::before {
    display: none;
  }

  body.home .hf-resource-card,
  body.home .hf-resource-card-tall {
    display: flex;
    flex-direction: column;
    gap: 28px;
    width: 100%;
    padding: 32px 28px;
  }

  body.home .hf-resource-media {
    display: contents;
  }

  body.home .hf-resource-media img {
    order: 1;
    width: 100%;
    height: auto;
    aspect-ratio: 1.44;
  }

  body.home .hf-resource-copy {
    order: 2;
    min-width: 0;
  }

  body.home .hf-outline-button {
    order: 3;
    width: 100%;
    margin-top: 4px;
  }

  body.home .hf-resource-copy h3,
  body:is(.home, .page-slug-about) .hf-newsletter-copy h2,
  body.home .hf-consultation-copy h2,
  body.home .hf-home h2 {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  body.home .hf-consultation {
    height: 620px;
  }

  body.home .hf-consultation-copy {
    left: 28px;
    right: 28px;
    width: auto;
  }

  body.home .hf-consultation-copy p:not(.hf-eyebrow) {
    width: auto;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  body:is(.home, .page-slug-about) .hf-newsletter-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 36px;
  }

  body:is(.home, .page-slug-about) .hf-newsletter-form {
    width: 100%;
    padding: 34px 24px;
  }

  body:is(.home, .page-slug-about) .hf-custom-select-list {
    position: static;
    margin-top: 8px;
  }

  body.home .site-footer {
    padding: 56px 24px 54px;
  }

  body.home .footer-grid {
    margin-bottom: 34px;
  }

  body.home .footer-brand-block p:nth-of-type(2),
  body.home .footer-links,
  body.home .footer-links ul,
  body.home .footer-bottom,
  body.home .footer-location,
  body.home .footer-legal {
    min-width: 0;
    max-width: 100%;
  }

  body.home .footer-brand-block p,
  body.home .footer-links li,
  body.home .footer-links a,
  body.home .footer-bottom p,
  body.home .footer-bottom a {
    overflow-wrap: anywhere;
  }

  body.home .footer-bottom {
    padding-top: 22px;
    margin-top: 0;
    gap: 20px;
  }

  body.home .footer-location {
    flex-direction: column;
    gap: 14px;
  }

  body.home .footer-legal p:last-child {
    flex-wrap: wrap;
  }
}

/* Shared footer must match the accepted Home footer on every page. */
.site-footer {
  height: 745px;
  min-height: 745px;
  overflow: visible;
  padding: 64px 60px 40px;
  color: var(--hf-white);
  background: var(--hf-navy-2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 450px 214px 209px 258px;
  gap: 104px;
  align-items: start;
  width: min(1320px, calc(100vw - 120px));
  height: 545px;
  margin: 0 auto 60px;
}

.footer-brand {
  width: 129px;
  height: 33px;
  margin: 0 0 24px;
  filter: none;
}

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

.footer-brand-block {
  display: block;
}

.footer-brand-block p,
.footer-contact a,
.footer-contact span,
.footer-links li,
.footer-links a,
.footer-bottom p,
.footer-bottom a,
.footer-bottom span {
  margin: 0;
  color: var(--hf-white);
  font-family: var(--hf-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  text-decoration: none;
}

.footer-brand-block p:nth-of-type(1) {
  margin-bottom: 16px;
}

.footer-brand-block p:nth-of-type(2) {
  width: 450px;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
}

.footer-social a,
.footer-social img {
  width: 40px;
  height: 40px;
  border: 0;
}

.footer-contact {
  display: grid;
  gap: 8px;
  margin-top: 28px;
}

.footer-contact a {
  font-weight: 600;
}

.footer-contact.muted span,
.footer-links li,
.footer-links a,
.footer-bottom p,
.footer-bottom a,
.footer-bottom span {
  color: rgba(252, 254, 255, 0.72);
}

.footer-links h2 {
  margin: 0 0 22px;
  color: var(--hf-beige-2);
  font-family: var(--hf-sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 4.6px;
  line-height: 1.5;
  text-transform: uppercase;
}

.footer-links h2:not(:first-child) {
  margin-top: 42px;
}

.footer-links ul {
  display: grid;
  gap: 17px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  width: min(1320px, calc(100vw - 120px));
  height: auto;
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid rgba(252, 254, 255, 0.2);
}

.footer-location {
  display: flex;
  gap: 40px;
}

.footer-legal {
  display: grid;
  justify-items: end;
  gap: 12px;
  text-align: right;
}

.footer-legal p:last-child {
  display: flex;
  justify-content: flex-start;
  gap: 0;
}

@media (min-width: 1181px) and (max-width: 1350px) {
  .site-footer {
    height: auto;
    min-height: 745px;
  }

  .footer-grid {
    grid-template-columns: minmax(320px, 1.35fr) minmax(170px, 0.65fr) minmax(190px, 0.7fr) minmax(230px, 0.85fr);
    gap: 48px;
  }

  .footer-brand-block p:nth-of-type(2),
  .footer-links,
  .footer-links-programs h2,
  .footer-links li {
    width: auto;
    max-width: 100%;
  }
}

@media (max-width: 1180px) {
  .site-footer {
    height: auto;
    min-height: 0;
    padding: 56px 40px 54px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: calc(100vw - 80px);
    height: auto;
    gap: 48px 40px;
  }

  .footer-brand-block p:nth-of-type(2),
  .footer-links,
  .footer-links ul,
  .footer-bottom,
  .footer-location,
  .footer-legal {
    min-width: 0;
    max-width: 100%;
  }

  .footer-bottom {
    width: 100%;
    max-width: calc(100vw - 80px);
    grid-template-columns: 1fr;
  }

  .footer-legal {
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 780px) {
  .site-footer {
    padding: 56px 24px 54px;
  }

  .footer-grid,
  .footer-bottom {
    width: 100%;
    max-width: calc(100vw - 48px);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    margin-bottom: 34px;
  }

  .footer-brand-block p,
  .footer-links li,
  .footer-links a,
  .footer-bottom p,
  .footer-bottom a {
    overflow-wrap: anywhere;
  }

  .footer-bottom {
    gap: 20px;
    padding-top: 22px;
  }

  .footer-location {
    flex-direction: column;
    gap: 14px;
  }

  .footer-legal p:last-child {
    flex-wrap: wrap;
  }
}

/* Final footer/form refinements against Figma. */
body.home .footer-social {
  gap: 8px;
}

body.home .footer-social a,
body.home .footer-social img {
  width: 40px;
  height: 40px;
}

body.home .footer-contact a {
  font-weight: 600;
}

body.home .hf-specialty .hf-heading {
  margin-bottom: 88px;
}

body:is(.home, .page-slug-about) .hf-newsletter-form .hf-custom-select-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 56px;
  border: 1px solid #d8dde5;
  border-radius: 8px;
  padding: 0 20px;
  color: #0e0f0f;
  background: var(--hf-white);
  box-shadow: none;
  font-family: var(--hf-sans);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.5;
  text-align: left;
  text-transform: none;
  transform: none;
}

body:is(.home, .page-slug-about) .hf-newsletter-form .hf-custom-select-button.is-placeholder {
  color: var(--hf-muted);
}

body:is(.home, .page-slug-about) .hf-newsletter-form .hf-custom-select-button::after {
  flex: 0 0 auto;
  display: block;
  width: 14px;
  height: 8px;
  margin: 0;
  border: 0;
  background: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%238B929B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transform: none;
}

body:is(.home, .page-slug-about) .hf-newsletter-form .hf-custom-select-list {
  border: 1px solid #d8dde5;
  border-radius: 8px;
  background: var(--hf-white);
  box-shadow: 0 14px 32px rgba(5, 23, 48, 0.14);
}

body:is(.home, .page-slug-about) .hf-newsletter-form .hf-custom-select-option {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 48px;
  min-height: 48px;
  border: 0;
  border-radius: 0;
  padding: 0 20px;
  color: #0e0f0f;
  background: var(--hf-white);
  box-shadow: none;
  font-family: var(--hf-sans);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.5;
  text-align: left;
  text-transform: none;
  transform: none;
}

body:is(.home, .page-slug-about) .hf-newsletter-form .hf-custom-select-option::after {
  display: none;
}

body:is(.home, .page-slug-about) .hf-newsletter-form .hf-custom-select-option:hover,
body:is(.home, .page-slug-about) .hf-newsletter-form .hf-custom-select-option:focus-visible,
body:is(.home, .page-slug-about) .hf-newsletter-form .hf-custom-select-option[aria-selected="true"] {
  color: var(--hf-white);
  background: var(--hf-blue);
}

@media (max-width: 780px) {
  body.home .hf-specialty .hf-heading {
    margin-bottom: 48px;
  }
}

/* Final tablet/header/footer corrections. */
.site-header,
body.home .site-header {
  height: auto;
  min-height: 81px;
  border-bottom: 1px solid rgba(193, 200, 212, 0.22);
  background: var(--grey-50);
}

.header-inner,
body.home .header-inner {
  width: 100%;
  min-height: 81px;
  height: auto;
  padding: 24px clamp(20px, 5.55vw, 80px);
}

.nav-list a.has-dropdown::after,
body.home .nav-list a.has-dropdown::after {
  display: none;
}

.nav-list a:not(.has-dropdown)::after,
body.home .nav-list a:not(.has-dropdown)::after {
  display: block;
  bottom: -6px;
  height: 2px;
  background: var(--navy-800);
}

.nav-chevron,
body.home .nav-chevron {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 2px;
  border-right: 1.7px solid currentColor;
  border-bottom: 1.7px solid currentColor;
  transform: rotate(45deg);
}

body.home .hf-affiliations {
  overflow: visible;
}

body.home .hf-affiliations img:nth-child(1) {
  width: 288px;
  max-width: 288px;
}

body.home .hf-affiliations img:nth-child(2),
body.home .hf-affiliations img:nth-child(3),
body.home .hf-affiliations img:nth-child(4) {
  width: 276px;
  max-width: 276px;
}

body.home .hf-affiliations img:nth-child(5) {
  width: 160px;
  max-width: 160px;
}

body.home .hf-outline-button {
  gap: 0;
  padding-inline: 18px;
}

body.home .hf-outline-button::after {
  display: none !important;
  content: none !important;
}

body.home .site-footer {
  overflow: visible;
}

body.home .footer-grid {
  margin-bottom: 60px;
}

body.home .footer-bottom {
  height: auto;
  padding-top: 28px;
}

body.home .footer-links h2 {
  font-weight: 600;
}

body.home .footer-contact a {
  font-weight: 600;
}

body.home .footer-social {
  gap: 8px !important;
}

body.home .footer-social a,
body.home .footer-social img {
  width: 40px !important;
  height: 40px !important;
}

@media (min-width: 1181px) {
  body.home .hf-tabs button {
    font-weight: 600;
  }
}

@media (min-width: 781px) and (max-width: 1180px) {
  .header-inner,
  body.home .header-inner {
    min-height: 81px;
    padding: 24px 40px;
  }

  body.home .hf-container,
  body.home .hf-resource-list,
  body.home .hf-tab-panel,
  body.home .hf-testimonial-grid,
  body:is(.home, .page-slug-about) .hf-newsletter-inner,
  body.home .footer-grid,
  body.home .footer-bottom {
    width: calc(100vw - 80px);
    max-width: calc(100vw - 80px);
  }

  body.home .hf-affiliations {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    height: auto;
    min-height: 220px;
    gap: 34px 28px;
    padding: 38px 40px;
    justify-items: center;
    align-items: center;
  }

  body.home .hf-affiliations img,
  body.home .hf-affiliations img:nth-child(n) {
    width: min(100%, 230px);
    max-width: 230px;
    max-height: 76px;
  }

  body.home .hf-affiliations img:nth-child(1) {
    width: min(100%, 250px);
    max-width: 250px;
  }

  body.home .hf-affiliations img:nth-child(5) {
    grid-column: 2;
    width: min(100%, 160px);
    max-width: 160px;
  }

  body.home .hf-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(846px, calc(100vw - 80px));
    height: auto;
    overflow: visible;
  }

  body.home .hf-tabs button {
    min-width: 0;
    height: 58px;
    padding-inline: 12px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    white-space: normal;
    overflow-wrap: normal;
  }

  body.home .hf-tabs button + button::before {
    display: none;
  }

  body.home .hf-resource-card,
  body.home .hf-resource-card-tall {
    width: 100%;
    grid-template-columns: minmax(220px, 288px) minmax(0, 1fr);
    height: auto;
    min-height: 358px;
  }

  body.home .hf-resource-media,
  body.home .hf-resource-media img,
  body.home .hf-outline-button {
    width: 100%;
  }

  body.home .site-footer {
    height: auto;
    min-height: 0;
    padding: 56px 40px 56px;
  }

  body.home .footer-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
    gap: 44px 56px;
    height: auto;
    margin-bottom: 40px;
  }

  body.home .footer-brand-block p:nth-of-type(2),
  body.home .footer-links,
  body.home .footer-links ul,
  body.home .footer-bottom,
  body.home .footer-location,
  body.home .footer-legal {
    min-width: 0;
    max-width: 100%;
  }

  body.home .footer-brand-block p,
  body.home .footer-links li,
  body.home .footer-links a,
  body.home .footer-bottom p,
  body.home .footer-bottom a {
    overflow-wrap: anywhere;
  }

  body.home .footer-bottom {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 24px;
  }

  body.home .footer-location,
  body.home .footer-legal {
    display: flex;
    justify-content: flex-start;
    text-align: left;
  }
}

@media (max-width: 780px) {
  .site-header,
  body.home .site-header {
    min-height: 72px;
  }

  .header-inner,
  body.home .header-inner {
    min-height: 72px;
    padding: 18px 20px;
  }

  .nav-list,
  body.home .nav-list {
    top: 72px;
  }

  body.home .hf-affiliations {
    min-height: 0;
  }

  body.home .hf-tabs {
    width: 100%;
  }

  body.home .hf-tabs button {
    min-width: 0;
    font-weight: 600;
    white-space: normal;
    overflow-wrap: normal;
  }

  body.home .hf-outline-button {
    padding-inline: 12px;
    font-size: 13px;
    letter-spacing: 1.4px;
    white-space: normal;
  }

  body.home .site-footer {
    height: auto;
    min-height: 0;
    overflow: visible;
    padding: 48px 20px 44px;
  }

  body.home .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    height: auto;
    gap: 30px;
    margin-bottom: 28px;
  }

  body.home .footer-links h2:not(:first-child) {
    margin-top: 24px;
  }

  body.home .footer-links ul {
    gap: 10px;
  }

  body.home .footer-bottom {
    display: grid;
    grid-template-columns: 1fr;
    padding-top: 20px;
    gap: 18px;
  }

  body.home .footer-location,
  body.home .footer-legal {
    display: grid;
    gap: 10px;
    text-align: left;
  }

  body.home .footer-legal p:last-child {
    justify-content: flex-start;
  }
}

/* About Us updated: scoped Figma transfer. */
body.page-slug-about .site-main {
  background: #fcfeff;
}

/* Events page updated: scoped Figma transfer. */
body.page-slug-events .site-main {
  background: #fcfeff;
}

body.page-slug-events {
  background: #051730;
}

.ep-page,
.ep-page * {
  box-sizing: border-box;
}

.ep-page {
  --ep-navy: #051730;
  --ep-blue: #08234a;
  --ep-body: #3e4651;
  --ep-dark-text: #313847;
  --ep-muted: #8b929b;
  --ep-line: #e7ebf0;
  --ep-white: #fcfeff;
  --ep-soft: #f3f5f7;
  --ep-cream: #fffdfa;
  --ep-gold: #bf8f5c;
  --ep-gold-dark: #b6753a;
  --ep-display: var(--figma-display);
  --ep-sans: "Avenir Next Cyr", "Avenir Next", Avenir, "DM Sans", sans-serif;
  overflow-x: clip;
  color: var(--ep-body);
  background: var(--ep-white);
  font-family: var(--ep-sans);
}

.ep-page h1,
.ep-page h2,
.ep-page h3,
.ep-page p,
.ep-page figure {
  margin: 0;
}

.ep-page img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ep-container {
  width: min(1320px, calc(100vw - 40px));
  margin-inline: auto;
}

.ep-eyebrow {
  color: var(--ep-gold-dark);
  font-family: var(--ep-sans);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 4.8px;
  text-transform: uppercase;
}

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

.ep-hero .ep-eyebrow {
  font-weight: 800;
}

.ep-hero {
  position: relative;
  min-height: 400px;
  overflow: hidden;
  background: var(--ep-navy);
}

.ep-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.ep-sr-copy {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.ep-hero-copy {
  position: absolute;
  left: clamp(24px, 5.55vw, 80px);
  top: 93px;
  display: grid;
  gap: 24px;
  max-width: 790px;
}

.ep-hero h1 {
  color: var(--ep-cream);
  font-family: var(--ep-display);
  font-size: clamp(52px, 5vw, 72px);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: 0;
}

.ep-events {
  padding: 83px 0 86px;
}

.ep-heading {
  display: grid;
  justify-items: center;
  gap: 18px;
  margin-bottom: 47px;
  text-align: center;
}

.ep-heading h2 {
  color: var(--ep-blue);
  font-family: var(--ep-display);
  font-size: clamp(52px, 5.28vw, 76px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0;
}

.ep-toolbar {
  display: grid;
  grid-template-columns: 380px 170px 132px 295px 199px;
  gap: 18px;
  align-items: center;
  min-height: 104px;
  margin-bottom: 64px;
  padding: 24px 32px;
  border: 1px solid #dfe4ec;
  border-radius: 8px;
  background: var(--ep-soft);
}

body.page-slug-events .ep-toolbar {
  display: none !important;
}

.ep-search,
.ep-filter,
.ep-view-tabs,
.ep-find {
  min-height: 56px;
  border: 1px solid #d8dde5;
  border-radius: 4px;
  background: var(--ep-white);
  color: #3e4651;
  font-family: var(--ep-sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.ep-search {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
}

.ep-search span {
  width: 24px;
  height: 24px;
  background: url("assets/img/events-redesign/search-icon.png") center / contain no-repeat;
  flex: 0 0 auto;
}

.ep-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ep-body);
  font: inherit;
}

.ep-search input::placeholder {
  color: #8b929b;
  opacity: 1;
}

.ep-filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 18px;
  color: #8b929b;
  text-align: left;
}

.ep-filter span {
  width: 10px;
  height: 10px;
  border-right: 2px solid #0e0f0f;
  border-bottom: 2px solid #0e0f0f;
  transform: translateY(-2px) rotate(45deg);
}

.ep-view-tabs {
  display: grid;
  grid-template-columns: 85px 115px 83px;
  align-items: center;
  padding: 6px;
  overflow: hidden;
}

.ep-view-tabs button {
  min-height: 44px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--ep-dark-text);
  font-family: var(--ep-sans);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 4.8px;
  text-transform: uppercase;
}

.ep-view-tabs button[aria-selected="true"],
.ep-find {
  background: var(--ep-navy);
  color: var(--ep-cream);
}

.ep-view-tabs button + button {
  border-left: 1px solid #d8dde5;
}

.ep-view-tabs button[aria-selected="true"] + button {
  border-left-color: transparent;
}

.ep-find {
  border-color: var(--ep-navy);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 4.8px;
  text-transform: uppercase;
}

.ep-event-list {
  display: grid;
  gap: 48px;
}

.ep-event-card {
  display: grid;
  grid-template-columns: 150px 460px minmax(0, 1fr);
  min-height: 461px;
  overflow: hidden;
  border: 1px solid var(--ep-line);
  border-radius: 8px;
  background: var(--ep-white);
  box-shadow: 0 18px 42px rgba(5, 23, 48, 0.08);
}

.ep-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--ep-cream);
  text-align: center;
}

.ep-date-navy {
  background: var(--ep-navy);
}

.ep-date-gold {
  background: var(--ep-gold);
}

.ep-date strong {
  color: currentColor;
  font-family: var(--ep-display);
  font-size: 64px;
  font-weight: 400;
  line-height: 0.92;
}

.ep-date-navy strong {
  color: var(--ep-gold);
}

.ep-date span {
  margin-top: 14px;
  color: var(--ep-cream);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.ep-date small {
  margin-top: 14px;
  color: rgba(252, 254, 255, 0.74);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
}

.ep-event-media {
  min-height: 461px;
  background: #d8dee5;
}

.ep-event-copy {
  display: grid;
  align-content: start;
  gap: 19px;
  padding: 42px 56px 40px 40px;
}

.ep-tag {
  justify-self: start;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.ep-tag-warm {
  background: #fff3e9;
  color: var(--ep-gold-dark);
}

.ep-tag-cool {
  background: #edf4ff;
  color: #6b82b3;
}

.ep-event-copy h3 {
  max-width: 560px;
  color: var(--ep-blue);
  font-family: var(--ep-display);
  font-size: 40px;
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: 0;
}

.ep-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 26px;
  color: var(--ep-dark-text);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  margin-top: 2px;
}

.ep-meta span {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.ep-meta span::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.ep-meta-time::before {
  background: url("assets/img/events-redesign/clock-icon.png") center / contain no-repeat;
}

.ep-meta-place::before {
  width: 19px;
  height: 13px;
  background: url("assets/img/events-redesign/video-icon.png") center / contain no-repeat;
}

.ep-summary {
  max-width: 575px;
  color: var(--ep-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
}

.ep-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 25px;
}

.ep-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 32px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: var(--ep-sans);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 4px;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.ep-button:not(.ep-button-outline) {
  min-width: 278px;
}

.ep-button-outline {
  min-width: 196px;
}

.ep-button:hover,
.ep-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(5, 23, 48, 0.14);
}

.ep-button-navy {
  background: var(--ep-navy);
  color: var(--ep-cream);
}

.ep-button-gold {
  background: var(--ep-gold-dark);
  color: var(--ep-cream);
}

.ep-button-outline {
  border-color: var(--ep-line);
  background: var(--ep-white);
  color: var(--ep-body);
}

@media (max-width: 1180px) {
  .ep-toolbar {
    grid-template-columns: minmax(260px, 1fr) 170px 132px;
  }

  .ep-view-tabs,
  .ep-find {
    grid-column: auto;
  }

  .ep-event-card {
    grid-template-columns: 116px minmax(260px, 420px) minmax(0, 1fr);
  }
}

@media (max-width: 960px) {
  .ep-hero-copy {
    top: 76px;
  }

  .ep-toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .ep-search,
  .ep-view-tabs,
  .ep-find {
    grid-column: 1 / -1;
  }

  .ep-event-card {
    grid-template-columns: 108px minmax(0, 1fr);
  }

  .ep-event-media {
    min-height: 360px;
  }

  .ep-event-copy {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .ep-container {
    width: min(100% - 32px, 1320px);
  }

  .ep-hero {
    min-height: 360px;
  }

  .ep-hero-copy {
    left: 20px;
    right: 20px;
    top: 64px;
    gap: 16px;
  }

  .ep-hero h1 {
    font-size: 43px;
  }

  .ep-eyebrow {
    font-size: 13px;
    letter-spacing: 3px;
  }

  .ep-events {
    padding: 58px 0 64px;
  }

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

  .ep-heading h2 {
    font-size: 48px;
  }

  .ep-toolbar {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
    margin-bottom: 40px;
  }

  .ep-filter,
  .ep-filter-date {
    width: 100%;
  }

  .ep-view-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ep-view-tabs button,
  .ep-find,
  .ep-button {
    letter-spacing: 2.6px;
  }

  .ep-event-list {
    gap: 28px;
  }

  .ep-event-card {
    grid-template-columns: 92px minmax(0, 1fr);
    min-height: 0;
  }

  .ep-date {
    min-height: 240px;
  }

  .ep-date strong {
    font-size: 40px;
  }

  .ep-event-media {
    min-height: 240px;
  }

  .ep-event-copy {
    gap: 14px;
    padding: 28px 20px 30px;
  }

  .ep-event-copy h3 {
    font-size: 34px;
  }

  .ep-summary {
    font-size: 15px;
  }

  .ep-actions,
  .ep-button {
    width: 100%;
  }
}

.au-page,
.au-page * {
  box-sizing: border-box;
}

.au-page {
  --au-navy: #08234a;
  --au-navy-dark: #051730;
  --au-blue: #0d3c7e;
  --au-beige: #ac753a;
  --au-beige-2: #b6753a;
  --au-cream: #fffdfa;
  --au-white: #fcfeff;
  --au-soft: #f0f6ff;
  --au-body: #3e4651;
  --au-black: #0e0f0f;
  --au-line: rgba(193, 200, 212, 0.3);
  overflow-x: clip;
  color: var(--au-body);
  background: var(--au-white);
  font-family: var(--hf-sans, "Avenir Next Cyr", "Avenir Next", Avenir, "DM Sans", sans-serif);
}

.au-page h1,
.au-page h2,
.au-page h3,
.au-page p,
.au-page ul {
  margin: 0;
}

.au-page h1,
.au-page h2,
.au-page h3 {
  font-family: var(--figma-display);
  font-weight: 400;
  letter-spacing: 1px;
}

.au-page img {
  display: block;
  max-width: none;
}

.au-eyebrow {
  color: var(--au-beige);
  font-family: Avenir, var(--body);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 3px;
  line-height: 1.5;
  text-transform: uppercase;
}

.au-section {
  padding: 84px 60px;
}

.au-heading {
  display: grid;
  gap: 24px;
  margin-inline: auto;
}

.au-heading-center {
  align-items: center;
  max-width: 910px;
  text-align: center;
}

.au-heading h2 {
  color: var(--au-navy);
  font-size: 84px;
  line-height: 1.2;
}

.au-heading > p:last-child {
  max-width: 910px;
  color: var(--au-body);
  font-size: 24px;
  line-height: 1.5;
}

.au-hero {
  position: relative;
  height: 700px;
  overflow: hidden;
  background: var(--au-navy);
}

.au-hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.au-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 23, 48, 0.7) 0%, rgba(5, 23, 48, 0.7) 41%, rgba(5, 23, 48, 0) 100%),
    rgba(5, 23, 48, 0.12);
}

.au-hero-copy {
  position: absolute;
  left: 80px;
  top: 108px;
  width: 871px;
  color: var(--au-cream);
}

.au-hero-copy h1 {
  width: 871px;
  color: var(--au-cream);
  font-size: 100px;
  line-height: 1.15;
}

.au-hero-copy p {
  width: 871px;
  margin-top: 24px;
  color: var(--au-cream);
  font-size: 24px;
  line-height: 1.5;
}

.au-button-row {
  display: flex;
  gap: 32px;
  margin-top: 44px;
}

.au-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  min-height: 63px;
  gap: 16px;
  border-radius: 8px;
  padding: 16px 32px;
  color: var(--au-white);
  font-family: Avenir, var(--body);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 1.62px;
  line-height: 31px;
  text-transform: uppercase;
  transition: transform 180ms ease, filter 180ms ease;
}

.au-button:hover,
.au-button:focus-visible {
  filter: brightness(1.06);
  transform: translateY(-2px);
}

.au-button-blue {
  background: var(--au-blue);
}

.au-button-beige {
  background: var(--au-beige);
}

.au-button span {
  width: 24px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg width='24' height='14' viewBox='0 0 24 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 7H22M16 1L22 7L16 13' stroke='%23FCFEFF' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
}

.au-journey {
  min-height: 770px;
  background: #fff;
}

.au-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(1320px, 100%);
  margin: 116px auto 0;
  text-align: center;
}

.au-timeline-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 36px;
  height: 1px;
  background: rgba(172, 117, 58, 0.62);
}

.au-timeline article {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 4px;
}

.au-timeline article::before {
  content: "";
  width: 13px;
  height: 13px;
  margin-bottom: 35px;
  border-radius: 50%;
  background: var(--au-beige);
  box-shadow: 0 8px 14px rgba(5, 23, 48, 0.2);
}

.au-timeline strong {
  color: var(--au-beige);
  font-family: Inter, var(--body);
  font-size: 32px;
  line-height: 48px;
}

.au-timeline span {
  color: var(--au-body);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
}

.au-story {
  display: grid;
  grid-template-columns: 638px 638px;
  gap: 44px;
  align-items: center;
  min-height: 599px;
  padding-block: 72px;
  background: var(--au-white);
}

.au-copy {
  display: grid;
  gap: 24px;
}

.au-copy h2 {
  color: var(--au-navy);
  font-size: 84px;
  line-height: 1.2;
}

.au-copy p:not(.au-eyebrow) {
  color: var(--au-body);
  font-size: 24px;
  line-height: 1.5;
}

.au-story-image {
  width: 638px;
  height: 430px;
  border-radius: 8px;
  object-fit: cover;
}

.au-vision-mission {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--au-white);
}

.au-vision-mission > .au-vm-copy:nth-child(2) {
  background: var(--au-soft);
}

.au-vm-image,
.au-vm-copy {
  height: 420px;
}

.au-vm-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.au-vm-copy {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 0 60px;
  color: var(--au-black);
}

.au-vm-copy h2 {
  color: var(--au-black);
  font-size: 52px;
  line-height: 1.2;
}

.au-vm-copy p {
  max-width: 600px;
  color: var(--au-black);
  font-size: 20px;
  line-height: 1.5;
}

.au-vm-copy-left {
  justify-items: start;
}

.au-vm-copy-right {
  justify-items: start;
}

.au-services {
  min-height: 839px;
  background: var(--au-soft);
}

.au-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 31px;
  margin-top: 64px;
}

.au-service-card {
  min-height: 356px;
  padding: 40px 32px;
  border-radius: 8px;
  background: var(--au-white);
}

.au-service-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 32px;
  border-radius: 12px;
  color: var(--au-white);
  background: var(--au-blue);
}

.au-service-icon svg {
  width: 32px;
  height: 32px;
}

.au-service-card h3 {
  color: var(--au-navy);
  font-size: 42px;
  line-height: 1.2;
}

.au-service-card p {
  margin-top: 8px;
  color: #222830;
  font-size: 16px;
  line-height: 1.5;
}

.au-team {
  min-height: 950px;
  background: var(--au-white);
}

.au-team-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 245px));
  gap: 24px;
  justify-content: center;
  margin-top: 64px;
}

.au-team-grid article {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(193, 200, 212, 0.3);
  border-radius: 8px;
  background: var(--au-white);
  box-shadow: 0 14px 28px rgba(5, 23, 48, 0.08);
}

.au-team-grid img {
  width: 100%;
  height: 244.8px;
  object-fit: cover;
  object-position: center top;
}

.au-team-grid h3 {
  margin: 24px 24px 0;
  color: var(--au-black);
  font-size: 32px;
  line-height: 1.2;
}

.au-team-grid p {
  margin-inline: 24px;
  color: var(--au-body);
  font-size: 16px;
  line-height: 1.5;
}

.au-team-grid .au-role {
  margin: 4px 0 12px;
  margin-inline: 24px;
  color: var(--au-black);
  font-weight: 500;
}

.au-community {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
  background: var(--au-navy-dark);
}

.au-community-copy {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 84px 60px;
}

.au-community-copy .au-eyebrow {
  color: #d1ac84;
}

.au-community-copy h2 {
  color: var(--au-white);
  font-size: 56px;
  line-height: 1.2;
}

.au-community-copy p:not(.au-eyebrow) {
  color: var(--au-soft);
  font-size: 16px;
  line-height: 1.5;
}

.au-community img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.au-values {
  min-height: 1575px;
  background: var(--au-white);
}

.au-value-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 44px;
  margin-top: 64px;
}

.au-value-grid img {
  width: 100%;
  height: 340px;
  border-radius: 8px;
  object-fit: cover;
}

.au-value-grid h3 {
  margin-top: 24px;
  color: var(--au-black);
  font-size: 52px;
  line-height: 1.2;
}

.au-value-grid p {
  margin-top: 8px;
  color: var(--au-black);
  font-size: 20px;
  line-height: 1.5;
}

.au-cta {
  position: relative;
  min-height: 607px;
  overflow: hidden;
  background: var(--au-navy-dark);
}

.au-cta > img {
  width: 100%;
  height: 607px;
  object-fit: cover;
}

.au-cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.au-cta-copy {
  position: absolute;
  left: 60px;
  top: 84px;
  width: 760px;
  color: var(--au-cream);
}

.au-cta-copy .au-eyebrow {
  color: #d1ac84;
}

.au-cta-copy h2 {
  width: 732px;
  margin-top: 8px;
  color: var(--au-cream);
  font-size: 84px;
  line-height: 1.2;
}

.au-cta-copy p:not(.au-eyebrow) {
  width: 720px;
  margin-top: 12px;
  color: var(--au-cream);
  font-size: 24px;
  line-height: 1.5;
}

@media (max-width: 1180px) {
  .au-section {
    padding: 72px 40px;
  }

  .au-hero-copy {
    left: 40px;
    width: calc(100% - 80px);
  }

  .au-hero-copy h1,
  .au-hero-copy p {
    width: min(871px, 100%);
  }

  .au-heading h2,
  .au-copy h2,
  .au-cta-copy h2 {
    font-size: 64px;
  }

  .au-story,
  .au-community {
    grid-template-columns: 1fr;
  }

  .au-story {
    min-height: 0;
  }

  .au-story-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1.48;
  }

  .au-vision-mission {
    grid-template-columns: 1fr;
  }

  .au-vm-image,
  .au-vm-copy {
    height: auto;
    min-height: 360px;
  }

  .au-vm-copy {
    padding: 60px 40px;
  }

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

  .au-team-grid {
    justify-content: stretch;
  }

  .au-team-grid img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }

  .au-community img {
    min-height: 420px;
  }

  .au-cta-copy {
    left: 40px;
    width: calc(100% - 80px);
  }

  .au-cta-copy h2,
  .au-cta-copy p:not(.au-eyebrow) {
    width: min(720px, 100%);
  }

}

@media (min-width: 1181px) and (max-width: 1350px) {
  .au-story {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
  }

  .au-story-image {
    width: 100%;
  }

  .au-team-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .au-team-grid img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }
}

@media (max-width: 780px) {
  .au-section {
    padding: 56px 20px;
  }

  .au-hero {
    height: 620px;
  }

  .au-hero-copy {
    left: 20px;
    right: 20px;
    top: 76px;
    width: auto;
  }

  .au-hero-copy h1,
  .au-heading h2,
  .au-copy h2,
  .au-cta-copy h2 {
    font-size: 48px;
    line-height: 1.12;
  }

  .au-hero-copy p,
  .au-heading > p:last-child,
  .au-copy p:not(.au-eyebrow),
  .au-cta-copy p:not(.au-eyebrow) {
    font-size: 18px;
  }

  .au-button-row {
    flex-direction: column;
    gap: 14px;
    margin-top: 32px;
  }

  .au-button {
    width: 100%;
    min-width: 0;
  }

  .au-timeline {
    grid-template-columns: 1fr 1fr;
    gap: 34px 18px;
    margin-top: 56px;
  }

  .au-timeline-line {
    display: none;
  }

  .au-timeline article::before {
    margin-bottom: 10px;
  }

  .au-story {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .au-vm-copy {
    min-height: 0;
    padding: 44px 20px;
  }

  .au-vm-copy h2,
  .au-value-grid h3 {
    font-size: 42px;
  }

  .au-service-grid,
  .au-team-grid,
  .au-value-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .au-service-grid {
    margin-top: 48px;
  }

  .au-team-grid {
    margin-top: 48px;
  }

  .au-community-copy {
    padding: 56px 20px;
  }

  .au-community-copy h2 {
    font-size: 42px;
  }

  .au-community img {
    min-height: 320px;
  }

  .au-value-grid img {
    height: auto;
    aspect-ratio: 1.88;
  }

  .au-cta {
    min-height: 680px;
  }

  .au-cta > img {
    height: 680px;
  }

  .au-cta-copy {
    left: 20px;
    right: 20px;
    top: 56px;
    width: auto;
  }

}

/* Overflow fixes after final desktop logo/footer overrides. */
@media (min-width: 1181px) and (max-width: 1500px) {
  body.home .hf-consultation-badge {
    left: auto;
    right: 60px;
  }

  body.home .footer-grid {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.74fr) minmax(0, 0.72fr) minmax(0, 0.95fr);
    gap: 32px;
    width: calc(100vw - 120px);
    max-width: calc(100vw - 120px);
    height: auto;
    margin-bottom: 42px;
  }

  body.home .footer-brand-block,
  body.home .footer-links-patients,
  body.home .footer-links-specialty,
  body.home .footer-links-programs {
    position: static;
    width: auto;
  }

  body.home .footer-brand-block p:nth-of-type(2),
  body.home .footer-links,
  body.home .footer-links-programs h2,
  body.home .footer-links li {
    width: auto;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  body.home .footer-bottom {
    width: calc(100vw - 120px);
    max-width: calc(100vw - 120px);
  }
}

@media (min-width: 781px) and (max-width: 1180px) {
  body.home .hf-affiliations img,
  body.home .hf-affiliations img:nth-child(n) {
    width: min(100%, 230px) !important;
    max-width: 230px !important;
    max-height: 76px !important;
  }

  body.home .hf-affiliations img:nth-child(1) {
    width: min(100%, 250px) !important;
    max-width: 250px !important;
  }

  body.home .hf-affiliations img:nth-child(5) {
    grid-column: 2;
    width: min(100%, 160px) !important;
    max-width: 160px !important;
  }
}

@media (max-width: 780px) {
  body.home .hf-affiliations img,
  body.home .hf-affiliations img:nth-child(n) {
    width: min(100%, 160px) !important;
    max-width: 160px !important;
    max-height: 64px !important;
  }

  body.home .hf-affiliations img:nth-child(1) {
    width: min(100%, 172px) !important;
    max-width: 172px !important;
  }

  body.home .hf-affiliations img:nth-child(5) {
    grid-column: 1 / -1;
    width: min(100%, 132px) !important;
    max-width: 132px !important;
  }
}

@media (min-width: 640px) and (max-width: 780px) {
  body.home .hf-affiliations {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px 24px;
  }

  body.home .hf-affiliations img,
  body.home .hf-affiliations img:nth-child(n) {
    width: min(100%, 190px) !important;
    max-width: 190px !important;
    max-height: 66px !important;
  }

  body.home .hf-affiliations img:nth-child(1) {
    width: min(100%, 210px) !important;
    max-width: 210px !important;
  }

  body.home .hf-affiliations img:nth-child(5) {
    grid-column: 2;
    width: min(100%, 140px) !important;
    max-width: 140px !important;
  }

  body.home .footer-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.9fr);
    gap: 34px 44px;
  }
}

/* Header unification and mobile hero gap cleanup. */
.site-header,
body.home .site-header {
  height: auto !important;
  min-height: 81px !important;
  border-bottom: 1px solid rgba(193, 200, 212, 0.22);
  background: var(--hf-white, var(--grey-50));
}

.header-inner,
body.home .header-inner {
  width: 100%;
  height: auto !important;
  min-height: 81px !important;
  padding: 24px clamp(20px, 5.55vw, 80px) !important;
  gap: 36px;
}

.nav-list,
body.home .nav-list {
  gap: 36px;
}

.nav-list a,
.nav-disabled,
body.home .nav-list a,
body.home .nav-disabled {
  gap: 10px;
  color: var(--hf-navy, var(--navy-800));
  font-family: var(--hf-sans, "Avenir Next Cyr", "Avenir Next", Avenir, "DM Sans", sans-serif);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 24px;
}

.nav-list a:not(.has-dropdown)::after,
body.home .nav-list a:not(.has-dropdown)::after {
  background: var(--beige-500) !important;
}

.nav-list a.has-dropdown::after,
body.home .nav-list a.has-dropdown::after {
  display: none !important;
}

.nav-chevron,
body.home .nav-chevron {
  width: 8px;
  height: 8px;
  margin: -4px 0 0 2px;
  border-right: 1.7px solid currentColor;
  border-bottom: 1.7px solid currentColor;
}

@media (max-width: 1180px) {
  .nav-list,
  body.home .nav-list {
    gap: 0;
  }
}

@media (max-width: 780px) {
  .site-header,
  body.home .site-header {
    min-height: 72px !important;
  }

  .header-inner,
  body.home .header-inner {
    min-height: 72px !important;
    padding: 18px 20px !important;
  }

  .nav-list,
  body.home .nav-list {
    top: 72px;
  }

  body.home .hf-hero-actions {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, minmax(158px, auto));
    height: auto;
    gap: 0;
    background: transparent;
  }

  body.home .hf-hero-panel {
    height: auto;
    min-height: 158px;
    margin: 0;
  }
}

/* Final global footer lock: footer is one shared component across all pages. */
.site-footer {
  display: block !important;
  box-sizing: border-box !important;
  overflow: visible !important;
  color: #fcfeff !important;
  background: #051730 !important;
}

.footer-grid,
.footer-bottom {
  box-sizing: border-box !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.footer-brand-block,
.footer-links,
.footer-links ul,
.footer-contact,
.footer-social,
.footer-location,
.footer-legal {
  box-sizing: border-box !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

.footer-brand-block p,
.footer-contact a,
.footer-contact span,
.footer-links li,
.footer-links a,
.footer-bottom p,
.footer-bottom a,
.footer-bottom span {
  color: #fcfeff !important;
}

.footer-contact.muted span,
.footer-links li,
.footer-links a,
.footer-bottom p,
.footer-bottom a,
.footer-bottom span {
  color: rgba(252, 254, 255, 0.72) !important;
}

.footer-links h2 {
  color: #b6753a !important;
  font-weight: 600 !important;
}

.footer-brand,
.footer-brand img {
  filter: none !important;
}

body:is(.home, .page-slug-about) .hf-newsletter-form select {
  display: none !important;
}

@media (min-width: 1181px) {
  .site-footer {
    height: 745px !important;
    min-height: 745px !important;
    padding: 64px 60px 40px !important;
  }

  .footer-grid {
    display: grid !important;
    grid-template-columns: 450px 214px 209px 258px !important;
    gap: 63px !important;
    width: min(1320px, calc(100vw - 120px)) !important;
    height: 545px !important;
    margin-bottom: 60px !important;
  }

  .footer-bottom {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    width: min(1320px, calc(100vw - 120px)) !important;
  }
}

@media (min-width: 1181px) and (max-width: 1350px) {
  .site-footer {
    height: auto !important;
  }

  .footer-grid {
    grid-template-columns: minmax(320px, 1.35fr) minmax(170px, 0.65fr) minmax(190px, 0.7fr) minmax(230px, 0.85fr) !important;
    gap: 48px !important;
  }
}

@media (max-width: 1180px) {
  .site-footer {
    height: auto !important;
    min-height: 0 !important;
    padding: 56px 40px 54px !important;
  }

  .footer-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 48px 40px !important;
    width: 100% !important;
    max-width: calc(100vw - 80px) !important;
    height: auto !important;
    margin-bottom: 34px !important;
  }

  .footer-bottom {
    width: 100% !important;
    max-width: calc(100vw - 80px) !important;
    grid-template-columns: 1fr !important;
  }

  .footer-legal {
    justify-items: start !important;
    text-align: left !important;
  }
}

@media (max-width: 780px) {
  .site-footer {
    padding: 56px 24px 54px !important;
  }

  .footer-grid,
  .footer-bottom {
    width: 100% !important;
    max-width: calc(100vw - 48px) !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
  }

  .footer-brand-block p,
  .footer-links li,
  .footer-links a,
  .footer-bottom p,
  .footer-bottom a {
    overflow-wrap: anywhere !important;
  }
}

/* Final About/Footer correction layer. Keep this at EOF. */
body.page-slug-about .au-timeline article::before {
  width: 16px !important;
  height: 16px !important;
  margin-bottom: 24px !important;
  border: 0 !important;
  background: #ac753a !important;
  box-shadow: none !important;
}

body.page-slug-about .au-timeline-line {
  top: 40px !important;
  height: 2px !important;
  background: rgba(172, 117, 58, 0.32) !important;
}

body.page-slug-about .au-service-card {
  min-height: 356px !important;
  padding: 40px 32px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: #fcfeff !important;
  box-shadow: none !important;
}

body.page-slug-about .au-service-icon {
  display: grid !important;
  place-items: center !important;
  width: 64px !important;
  height: 64px !important;
  margin-bottom: 32px !important;
  border-radius: 12px !important;
  background: #0d3c7e !important;
}

body.page-slug-about .au-service-icon img {
  display: block !important;
  width: auto !important;
  height: 26px !important;
  max-width: 26px !important;
  object-fit: contain !important;
}

body.page-slug-about .au-team-grid article {
  border: 1px solid rgba(193, 200, 212, 0.3) !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 12px 12px rgba(0, 0, 0, 0.05) !important;
}

body.page-slug-about .au-team-photo {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
  contain: paint !important;
  border-radius: 8px 8px 0 0 !important;
  background: #fff !important;
}

body.page-slug-about .au-team-photo img {
  position: absolute !important;
  display: block !important;
  max-width: none !important;
  object-fit: fill !important;
  background: transparent !important;
}

body.page-slug-about .au-team-grid article:first-child .au-team-photo img {
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

body.page-slug-about .au-team-grid article:nth-child(n + 2):nth-child(-n + 4) .au-team-photo img {
  left: 0 !important;
  top: -13.65% !important;
  width: 100% !important;
  height: 113.65% !important;
}

body.page-slug-about .au-team-grid article:nth-child(5) .au-team-photo img {
  left: 0 !important;
  top: 0 !important;
  width: 100% !important;
  height: 100% !important;
  transform: translate(-162.65%, -59.84%) scale(4.7178, 3.0992) !important;
  transform-origin: top left !important;
}

body.page-slug-about .au-team-grid .au-role {
  color: #ac753a !important;
  font-weight: 500 !important;
}

body.page-slug-about .au-value-grid {
  gap: 44px !important;
}

body.page-slug-about .au-value-grid article {
  display: flex !important;
  flex-direction: column !important;
  gap: 24px !important;
}

body.page-slug-about .au-value-grid img {
  width: 100% !important;
  height: 340px !important;
  border-radius: 8px !important;
  object-fit: cover !important;
}

body.page-slug-about .au-value-grid h3,
body.page-slug-about .au-value-grid p {
  margin-top: 0 !important;
}

body:is(.home, .page-slug-about) .hf-newsletter-form button::after {
  content: "" !important;
  flex: 0 0 auto !important;
  width: 24px !important;
  height: 24px !important;
  margin-left: 12px !important;
  border: 0 !important;
  background: url("assets/img/contact/arrow-submit.svg") center / 18px 15px no-repeat !important;
  transform: none !important;
}

@media (min-width: 1181px) {
  .site-footer {
    height: 745px !important;
    min-height: 745px !important;
    padding: 64px 60px 40px !important;
  }

  .footer-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 854px !important;
    gap: 44px !important;
    align-items: start !important;
    width: 100% !important;
    max-width: 1320px !important;
    height: auto !important;
    margin-bottom: 48px !important;
  }

  .footer-links-patients {
    grid-column: 2 !important;
    width: 184px !important;
  }

  .footer-links-specialty {
    grid-column: 3 !important;
    width: 202px !important;
  }

  .footer-links-programs {
    grid-column: 4 !important;
    width: 258px !important;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr) 184px 202px 258px !important;
  }

  .footer-bottom {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 40px !important;
    width: 100% !important;
    max-width: 1320px !important;
    padding-top: 36px !important;
    border-top: 1px solid rgba(252, 254, 255, 0.2) !important;
  }

  .footer-location {
    display: flex !important;
    align-items: flex-start !important;
    gap: 20px !important;
    width: auto !important;
  }

  .footer-location p:first-child {
    width: 156px !important;
  }

  .footer-legal {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 0 !important;
    width: auto !important;
    text-align: left !important;
    white-space: nowrap !important;
  }

  .footer-legal p:last-child {
    display: flex !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    width: auto !important;
  }
}

@media (max-width: 1180px) {
  .footer-bottom,
  .footer-location,
  .footer-legal,
  .footer-legal p:last-child {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    text-align: left !important;
  }

  .footer-bottom,
  .footer-legal {
    flex-direction: column !important;
  }
}

@media (max-width: 780px) {
  body.page-slug-about .au-value-grid img {
    height: auto !important;
    aspect-ratio: 1.876 / 1 !important;
  }

  .footer-location {
    flex-direction: column !important;
  }
}

/* Final About polish from actual 27 May Figma. */
.au-timeline article::before {
  width: 13px !important;
  height: 13px !important;
  margin-bottom: 35px !important;
  background: #ac753a !important;
  box-shadow: 0 8px 18px rgba(5, 23, 48, 0.16) !important;
}

.au-timeline-line {
  top: 36px !important;
  height: 1px !important;
  background: rgba(172, 117, 58, 0.62) !important;
}

.au-service-card {
  min-height: 356px !important;
  padding: 40px 32px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: #fcfeff !important;
  box-shadow: none !important;
}

.au-service-icon {
  display: grid !important;
  place-items: center !important;
  width: 64px !important;
  height: 64px !important;
  margin-bottom: 32px !important;
  border-radius: 12px !important;
  color: #fcfeff !important;
  background: #0d3c7e !important;
}

.au-service-icon svg {
  width: 32px !important;
  height: 32px !important;
  overflow: visible !important;
}

.au-team-grid article {
  border: 1px solid rgba(193, 200, 212, 0.3) !important;
  border-radius: 8px !important;
  background: #fcfeff !important;
  box-shadow: 0 26px 54px rgba(5, 23, 48, 0.11) !important;
}

.au-team-grid .au-role {
  color: #ac753a !important;
  font-weight: 500 !important;
}

.au-team-grid img {
  object-position: center top !important;
}

.au-value-grid article {
  display: grid !important;
  align-content: start !important;
  gap: 24px !important;
}

.au-value-grid h3,
.au-value-grid p {
  margin-top: 0 !important;
}

body:is(.home, .page-slug-about) .hf-newsletter-form button::after {
  content: "" !important;
  flex: 0 0 auto !important;
  width: 24px !important;
  height: 24px !important;
  margin-left: 12px !important;
  border: 0 !important;
  background: url("assets/img/contact/arrow-submit.svg") center / 18px 15px no-repeat !important;
  transform: none !important;
}

.footer-bottom {
  align-items: start !important;
}

.footer-legal {
  gap: 12px !important;
}

.footer-legal p:last-child {
  gap: 12px !important;
}

/* Contact Us: Figma Redesign transfer, using shared Home header and footer. */
body.page-slug-contact {
  --hf-navy: #050e1a;
  --hf-navy-2: #071d38;
  --hf-blue: #08234a;
  --hf-body: #3e4651;
  --hf-muted: #8b929b;
  --hf-cream: #fffdfa;
  --hf-white: #fcfeff;
  --hf-soft-blue: #f0f6ff;
  --hf-beige: #b6753a;
  --hf-beige-2: #c79257;
  --hf-line: rgba(193, 200, 212, 0.3);
  --hf-display: var(--figma-display);
  --hf-sans: "Avenir Next Cyr", "Avenir Next", Avenir, "DM Sans", sans-serif;
  background: var(--hf-white);
  font-family: var(--hf-sans);
}

body.page-slug-contact .site-main {
  overflow-x: clip;
  background: var(--hf-white);
}

body.page-slug-contact .cu-hero,
body.page-slug-contact .cu-contact-info,
body.page-slug-contact .cu-location,
body.page-slug-contact .cu-hero *,
body.page-slug-contact .cu-contact-info *,
body.page-slug-contact .cu-location * {
  box-sizing: border-box;
}

body.page-slug-contact .cu-hero p,
body.page-slug-contact .cu-hero h1,
body.page-slug-contact .cu-hero ul,
body.page-slug-contact .cu-contact-info p,
body.page-slug-contact .cu-contact-info h2,
body.page-slug-contact .cu-location p,
body.page-slug-contact .cu-location h2 {
  margin: 0;
}

.cu-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(460px, 0.78fr);
  gap: 64px;
  align-items: center;
  min-height: 532px;
  padding: 84px 60px;
  background: var(--hf-soft-blue);
}

.cu-hero-copy {
  display: grid;
  gap: 24px;
  justify-items: start;
  max-width: 650px;
}

.cu-hero .eyebrow,
.cu-contact-info .eyebrow {
  color: var(--hf-beige);
  font-family: Avenir, var(--hf-sans);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 3px;
  line-height: 1.5;
  text-transform: uppercase;
}

.cu-hero h1 {
  max-width: 610px;
  color: var(--hf-blue);
  font-family: var(--hf-display);
  font-size: clamp(58px, 5.84vw, 84px);
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1.2;
}

.cu-hero-copy > p:not(.eyebrow) {
  max-width: 650px;
  color: var(--hf-body);
  font-family: var(--hf-sans);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
}

.cu-hero ul {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.cu-hero li {
  position: relative;
  padding-left: 20px;
  color: var(--hf-blue);
  font-family: var(--hf-sans);
  font-size: 20px;
  line-height: 1.5;
}

.cu-hero li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hf-beige-2);
}

.cu-form-card {
  min-width: 0;
}

body.page-slug-contact .contact-form-panel {
  width: 100%;
  padding: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--hf-white);
  box-shadow: none;
  scroll-margin-top: 110px;
}

body.page-slug-contact .contact-form-panel .local-status,
body.page-slug-contact .contact-form-panel .form-error {
  margin: 0 0 20px;
}

body.page-slug-contact .contact-form {
  display: grid;
  gap: 24px;
  padding: 0;
}

body.page-slug-contact .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 16px;
}

body.page-slug-contact .contact-form label {
  display: grid;
  gap: 8px;
  color: var(--grey-950);
  font-family: var(--hf-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

body.page-slug-contact .contact-form input,
body.page-slug-contact .contact-form select,
body.page-slug-contact .contact-form textarea {
  width: 100%;
  min-height: 58px;
  border: 1.5px solid var(--hf-line);
  border-radius: 8px;
  padding: 16px 20px;
  color: var(--grey-950);
  background: #fff;
  font: 500 16px/1.5 var(--hf-sans);
}

body.page-slug-contact .contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

body.page-slug-contact .contact-form input::placeholder,
body.page-slug-contact .contact-form textarea::placeholder,
body.page-slug-contact .contact-form select:invalid {
  color: var(--grey-500);
}

body.page-slug-contact .contact-form input:focus,
body.page-slug-contact .contact-form select:focus,
body.page-slug-contact .contact-form textarea:focus {
  border-color: var(--hf-line);
  border-width: 1.5px;
  outline: -webkit-focus-ring-color auto 1px;
  box-shadow: none;
}

body.page-slug-contact .sms-consent {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  color: var(--grey-950);
  font-size: 14px;
  font-weight: 400;
}

body.page-slug-contact .contact-form label.sms-consent {
  gap: 14px;
}

body.page-slug-contact .sms-consent input {
  appearance: none;
  width: 24px;
  min-width: 24px;
  height: 24px;
  min-height: 24px;
  margin: 0;
  padding: 0;
  background: #fff;
  border: 1.5px solid var(--grey-100);
  border-radius: 4px;
  cursor: pointer;
}

body.page-slug-contact .sms-consent input:checked {
  border-color: var(--hf-beige-2);
  background: var(--hf-beige-2) url("data:image/svg+xml,%3Csvg width='12' height='9' viewBox='0 0 12 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4.5L4.4 8L11 1' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px 9px no-repeat;
}

body.page-slug-contact .sms-consent span {
  color: #0e0f0f;
  font-weight: 400;
  line-height: 1.5;
}

body.page-slug-contact .contact-form button[type="submit"] {
  width: 100%;
  min-height: 58px;
  border-radius: 8px;
  background: var(--hf-blue);
  font-family: Avenir, var(--hf-sans);
}

body.page-slug-contact .contact-form button[type="submit"]::after {
  content: "";
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  margin-left: 12px;
  background: url("assets/img/contact/arrow-submit.svg") center / 18px 15px no-repeat;
}

body.page-slug-contact .contact-form select[name="topic"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

body.page-slug-contact .hf-custom-select {
  position: relative;
}

body.page-slug-contact .hf-custom-select-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 58px;
  border: 1.5px solid var(--hf-line);
  border-radius: 8px;
  padding: 0 20px;
  color: #0e0f0f;
  background: var(--hf-white);
  box-shadow: none;
  font-family: var(--hf-sans);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.5;
  text-align: left;
  text-transform: none;
  cursor: pointer;
}

body.page-slug-contact .hf-custom-select-button.is-placeholder {
  color: var(--hf-muted);
}

body.page-slug-contact .hf-custom-select-button::after {
  content: "";
  flex: 0 0 auto;
  display: block;
  width: 14px;
  height: 8px;
  margin: 0;
  border: 0;
  background: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%238B929B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transform: none;
}

body.page-slug-contact .hf-custom-select-button:focus-visible,
body.page-slug-contact .hf-custom-select.is-open .hf-custom-select-button {
  border-color: var(--hf-line);
  border-width: 1.5px;
  outline: -webkit-focus-ring-color auto 1px;
  box-shadow: none;
}

body.page-slug-contact .hf-custom-select-list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 20;
  overflow: hidden;
  border: 1px solid #d8dde5;
  border-radius: 8px;
  background: var(--hf-white);
  box-shadow: 0 14px 32px rgba(5, 23, 48, 0.14);
}

body.page-slug-contact .hf-custom-select-option {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 48px;
  min-height: 48px;
  border: 0;
  border-radius: 0;
  padding: 0 20px;
  color: #0e0f0f;
  background: var(--hf-white);
  box-shadow: none;
  font-family: var(--hf-sans);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.5;
  text-align: left;
  text-transform: none;
  transform: none;
  cursor: pointer;
}

body.page-slug-contact .hf-custom-select-option::after {
  display: none;
}

body.page-slug-contact .hf-custom-select-option:hover,
body.page-slug-contact .hf-custom-select-option:focus-visible,
body.page-slug-contact .hf-custom-select-option[aria-selected="true"] {
  color: var(--hf-white);
  background: var(--hf-blue);
}

.cu-contact-info {
  display: grid;
  gap: 24px;
  justify-items: center;
  padding: 84px 60px;
  background: var(--hf-white);
  text-align: center;
}

.cu-contact-info h2,
.cu-location h2 {
  color: var(--hf-blue);
  font-family: var(--hf-display);
  font-size: clamp(48px, 5.84vw, 84px);
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1.2;
}

.cu-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 315px));
  gap: 16px;
  align-items: stretch;
  justify-content: center;
  width: 100%;
  margin-top: 40px;
}

.cu-info-card {
  display: grid;
  gap: 20px;
  justify-items: center;
  min-height: 222px;
  padding: 32px;
  border: 1px solid var(--hf-line);
  border-radius: 8px;
  background: var(--hf-white);
  box-shadow: 0 12px 12px rgba(0, 0, 0, 0.05);
  color: inherit;
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.cu-info-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 22px rgba(5, 23, 48, 0.08);
}

.cu-info-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 9999px;
  background: rgba(181, 200, 226, 0.4);
  color: var(--hf-blue);
  font-size: 22px;
  line-height: 1;
}

.cu-info-icon img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.cu-info-card:nth-child(2) .cu-info-icon img {
  width: 18px;
  height: 24px;
}

.cu-info-card span:not(.cu-info-icon) {
  color: #505863;
  font-family: var(--hf-sans);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
}

.cu-info-card strong {
  color: var(--hf-blue);
  font-family: Avenir, var(--hf-sans);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 3px;
  line-height: 1.5;
  text-transform: uppercase;
}

.cu-location {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 614px;
  background: var(--hf-soft-blue);
}

.cu-map {
  display: block;
  min-height: 614px;
  overflow: hidden;
}

.cu-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 614px;
  border: 0;
}

.cu-location-copy {
  display: grid;
  gap: 32px;
  align-content: center;
  padding: 60px;
}

.cu-location-copy > p {
  max-width: 620px;
  color: #0f0216;
  font-family: var(--hf-sans);
  font-size: 18px;
  line-height: 1.5;
}

.cu-detail {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: #0f0216;
  font-family: var(--hf-sans);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
}

.cu-detail span {
  display: block;
  width: 24px;
  height: 24px;
  color: var(--hf-beige);
}

.cu-detail span img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.cu-detail:nth-of-type(2) span img {
  width: 18px;
  height: 24px;
}

.cu-directions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  min-height: 62px;
  border-radius: 8px;
  padding: 16px 32px;
  background: var(--navy-600);
  color: var(--hf-white);
  font-family: Avenir, var(--hf-sans);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 1.62px;
  line-height: 31px;
  text-transform: uppercase;
}

.cu-directions span,
.cu-directions img {
  display: block;
  width: 18px;
  height: 15px;
  object-fit: contain;
}

body.page-slug-contact .cu-location h2 {
  max-width: 520px;
  font-size: clamp(48px, 4.72vw, 68px);
}

@media (max-width: 1180px) {
  .cu-hero,
  .cu-location {
    grid-template-columns: 1fr;
  }

  .cu-hero {
    gap: 40px;
  }

  .cu-hero-copy {
    max-width: none;
  }
}

@media (max-width: 900px) {
  .cu-info-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}

@media (max-width: 780px) {
  .cu-hero,
  .cu-contact-info,
  .cu-location-copy {
    padding: 56px 20px;
  }

  .cu-hero {
    min-height: 0;
  }

  .cu-hero h1,
  .cu-contact-info h2,
  .cu-location h2 {
    font-size: 48px;
  }

  .cu-hero .eyebrow,
  .cu-contact-info .eyebrow {
    font-size: 14px;
    letter-spacing: 2px;
  }

  .cu-hero-copy > p:not(.eyebrow),
  .cu-hero li,
  .cu-info-card span:not(.cu-info-icon),
  .cu-info-card strong,
  .cu-detail {
    font-size: 16px;
  }

  body.page-slug-contact .contact-form-panel {
    padding: 28px 20px;
  }

  body.page-slug-contact .form-grid {
    grid-template-columns: 1fr;
  }

  .cu-map,
  .cu-map iframe {
    min-height: 360px;
  }
}

@media (max-width: 520px) {
  .cu-hero h1,
  .cu-contact-info h2,
  .cu-location h2 {
    font-size: 40px;
  }

  .cu-info-card {
    min-height: 0;
    padding: 28px 20px;
  }
}

/* Absolute final About/Footer lock. Keep this last: shared footer and About polish. */
.site-footer {
  display: block !important;
  box-sizing: border-box !important;
  overflow: visible !important;
  color: #fcfeff !important;
  background: #051730 !important;
}

.footer-grid,
.footer-bottom {
  box-sizing: border-box !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.footer-brand-block,
.footer-links,
.footer-links ul,
.footer-contact,
.footer-social,
.footer-location,
.footer-legal {
  box-sizing: border-box !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

.footer-brand-block p,
.footer-contact a,
.contact-form-panel .footer-contact a,
.footer-contact span,
.footer-links li,
.footer-links a,
.footer-bottom p,
.footer-bottom a,
.footer-bottom span {
  color: #fcfeff !important;
}

.footer-contact.muted span,
.footer-links li,
.footer-links a,
.footer-bottom p,
.footer-bottom a,
.footer-bottom span {
  color: rgba(252, 254, 255, 0.72) !important;
}

.footer-contact a {
  font-weight: 600 !important;
}

.footer-links h2 {
  color: #b6753a !important;
  font-weight: 600 !important;
}

.footer-brand,
.footer-brand img {
  filter: none !important;
}

body:is(.home, .page-slug-about) .hf-newsletter-form select {
  display: none !important;
}

@media (min-width: 1181px) {
  .site-footer {
    height: auto !important;
    min-height: 745px !important;
    padding: 64px 60px 40px !important;
  }

  .footer-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 184px 202px 258px !important;
    gap: 44px !important;
    align-items: start !important;
    width: 100% !important;
    max-width: 1320px !important;
    height: auto !important;
    margin-bottom: 48px !important;
  }

  .footer-links-patients {
    width: 184px !important;
  }

  .footer-links-specialty {
    width: 202px !important;
  }

  .footer-links-programs {
    width: 258px !important;
  }

  .footer-bottom {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 40px !important;
    width: 100% !important;
    max-width: 1320px !important;
    padding-top: 36px !important;
    border-top: 1px solid rgba(252, 254, 255, 0.2) !important;
  }

  .footer-location {
    display: flex !important;
    align-items: flex-start !important;
    gap: 20px !important;
    width: auto !important;
  }

  .footer-location p:first-child {
    width: 156px !important;
  }

  .footer-legal {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 0 !important;
    width: auto !important;
    text-align: left !important;
    white-space: nowrap !important;
  }

  .footer-legal p:last-child {
    display: flex !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    width: auto !important;
  }
}

@media (min-width: 1181px) and (max-width: 1350px) {
  .site-footer {
    height: auto !important;
  }

  .footer-grid {
    grid-template-columns: minmax(320px, 1fr) minmax(170px, 184px) minmax(190px, 202px) minmax(230px, 258px) !important;
    gap: 48px !important;
  }
}

@media (max-width: 1180px) {
  .site-footer {
    height: auto !important;
    min-height: 0 !important;
    padding: 56px 40px 54px !important;
  }

  .footer-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 48px 40px !important;
    width: 100% !important;
    max-width: calc(100vw - 80px) !important;
    height: auto !important;
    margin-bottom: 34px !important;
  }

  .footer-bottom {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 24px !important;
    width: 100% !important;
    max-width: calc(100vw - 80px) !important;
    padding-top: 32px !important;
  }

  .footer-location,
  .footer-legal {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    text-align: left !important;
  }

  .footer-location {
    gap: 20px !important;
  }

  .footer-legal {
    flex-direction: column !important;
    gap: 0 !important;
  }

  .footer-legal p:last-child {
    display: flex !important;
    gap: 12px !important;
    width: auto !important;
  }
}

@media (max-width: 780px) {
  .site-footer {
    padding: 56px 24px 54px !important;
  }

  .footer-grid,
  .footer-bottom {
    width: 100% !important;
    max-width: calc(100vw - 48px) !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
  }

  .footer-brand-block p,
  .footer-links li,
  .footer-links a,
  .footer-bottom p,
  .footer-bottom a {
    overflow-wrap: anywhere !important;
  }

  .footer-location {
    flex-direction: column !important;
  }
}

body.page-slug-about .au-timeline article::before {
  width: 16px !important;
  height: 16px !important;
  margin-bottom: 24px !important;
  border: 0 !important;
  background: #ac753a !important;
  box-shadow: none !important;
}

body.page-slug-about .au-timeline-line {
  top: 40px !important;
  height: 2px !important;
  background: rgba(172, 117, 58, 0.32) !important;
}

body.page-slug-about .au-service-card {
  min-height: 356px !important;
  padding: 40px 32px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: #fcfeff !important;
  box-shadow: none !important;
}

body.page-slug-about .au-service-icon {
  display: grid !important;
  place-items: center !important;
  width: 64px !important;
  height: 64px !important;
  margin-bottom: 32px !important;
  border-radius: 12px !important;
  background: #0d3c7e !important;
}

body.page-slug-about .au-service-icon img {
  display: block !important;
  width: auto !important;
  height: 26px !important;
  max-width: 26px !important;
  object-fit: contain !important;
}

body.page-slug-about .au-team-grid article {
  border: 1px solid rgba(193, 200, 212, 0.3) !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 12px 12px rgba(0, 0, 0, 0.05) !important;
}

body.page-slug-about .au-team-photo {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
  contain: paint !important;
  border-radius: 8px 8px 0 0 !important;
  background: #fff !important;
}

body.page-slug-about .au-team-photo img {
  position: absolute !important;
  display: block !important;
  max-width: none !important;
  object-fit: fill !important;
  background: transparent !important;
}

body.page-slug-about .au-team-grid article:first-child .au-team-photo img {
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

body.page-slug-about .au-team-grid article:nth-child(n + 2):nth-child(-n + 4) .au-team-photo img {
  left: 0 !important;
  top: -13.65% !important;
  width: 100% !important;
  height: 113.65% !important;
}

body.page-slug-about .au-team-grid article:nth-child(5) .au-team-photo img {
  left: 0 !important;
  top: 0 !important;
  width: 100% !important;
  height: 100% !important;
  transform: translate(-162.65%, -59.84%) scale(4.7178, 3.0992) !important;
  transform-origin: top left !important;
}

body.page-slug-about .au-team-grid .au-role {
  color: #ac753a !important;
  font-weight: 500 !important;
}

body.page-slug-about .au-value-grid {
  gap: 44px !important;
}

body.page-slug-about .au-value-grid article {
  display: flex !important;
  flex-direction: column !important;
  gap: 24px !important;
}

body.page-slug-about .au-value-grid img {
  width: 100% !important;
  height: 340px !important;
  border-radius: 8px !important;
  object-fit: cover !important;
}

body.page-slug-about .au-value-grid h3,
body.page-slug-about .au-value-grid p {
  margin-top: 0 !important;
}

body:is(.home, .page-slug-about) .hf-newsletter-form button::after {
  content: "" !important;
  flex: 0 0 auto !important;
  width: 24px !important;
  height: 24px !important;
  margin-left: 12px !important;
  border: 0 !important;
  background: url("assets/img/contact/arrow-submit.svg") center / 18px 15px no-repeat !important;
  transform: none !important;
}

@media (max-width: 780px) {
  body.page-slug-about .au-value-grid img {
    height: auto !important;
    aspect-ratio: 1.876 / 1 !important;
  }
}

/* Emergency final lock: tablet orphan cards + footer white gap across all pages. */
html,
body,
.site-main {
  background: #fcfeff !important;
}

body:has(.site-footer),
.site-footer,
.site-footer * {
  box-sizing: border-box !important;
}

.site-footer {
  display: flow-root !important;
  width: 100% !important;
  margin: 0 !important;
  background: #051730 !important;
  color: #fcfeff !important;
  overflow: hidden !important;
}

.site-footer::before,
.site-footer::after,
.footer-grid::before,
.footer-grid::after,
.footer-bottom::before,
.footer-bottom::after {
  content: none !important;
  display: none !important;
}

@media (min-width: 641px) and (max-width: 1180px) {
  body.page-slug-about .au-service-grid,
  body.page-slug-about .au-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 28px !important;
    justify-items: stretch !important;
  }

  body.page-slug-about .au-service-card,
  body.page-slug-about .au-team-grid article {
    width: 100% !important;
    max-width: none !important;
  }

  body.page-slug-about .au-service-card:nth-child(3),
  body.page-slug-about .au-team-grid article:nth-child(5) {
    grid-column: 1 / -1 !important;
    justify-self: center !important;
    width: calc((100% - 28px) / 2) !important;
    max-width: none !important;
  }
}

@media (max-width: 640px) {
  body.page-slug-about .au-service-card:nth-child(3),
  body.page-slug-about .au-team-grid article:nth-child(5) {
    width: 100% !important;
  }
}

/* Final requested polish: Home tablet/header controls and About timeline/team. */
.nav-list a,
.nav-disabled,
body.home .nav-list a,
body.home .nav-disabled {
  position: relative !important;
}

.nav-list a::after,
.nav-disabled::after,
body.home .nav-list a::after,
body.home .nav-disabled::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: -8px !important;
  display: block !important;
  height: 2px !important;
  background: var(--beige-500, #b6753a) !important;
  transform: scaleX(0) !important;
  transform-origin: left !important;
  transition: transform 160ms ease !important;
}

.nav-list a:hover::after,
.nav-list a:focus-visible::after,
.nav-list a[aria-current="page"]::after,
.nav-list a.is-active::after,
.nav-disabled:hover::after,
body.home .nav-list a:hover::after,
body.home .nav-list a:focus-visible::after,
body.home .nav-list a[aria-current="page"]::after,
body.home .nav-list a.is-active::after,
body.home .nav-disabled:hover::after {
  transform: scaleX(1) !important;
}

.nav-list a.has-dropdown::after,
body.home .nav-list a.has-dropdown::after,
.nav-disabled.has-dropdown::after,
body.home .nav-disabled.has-dropdown::after {
  display: block !important;
}

@media (max-width: 1180px) {
  .nav-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    gap: 6px !important;
    padding: 0 !important;
  }

  .nav-toggle span {
    display: block !important;
    width: 24px !important;
    height: 2px !important;
    margin: 0 !important;
    background: var(--navy-800, #051730) !important;
  }
}

body:is(.home, .page-slug-about) .hf-newsletter-form button::after {
  width: 24px !important;
  height: 14px !important;
  margin-left: 16px !important;
  border: 0 !important;
  background: url("data:image/svg+xml,%3Csvg width='24' height='14' viewBox='0 0 24 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 7H22M16 1L22 7L16 13' stroke='%23FCFEFF' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat !important;
  transform: none !important;
}

@media (min-width: 640px) and (max-width: 1180px) {
  body.home .hf-affiliations {
    display: flex !important;
    flex-wrap: wrap !important;
    align-content: center !important;
    justify-content: center !important;
    gap: 42px 74px !important;
    height: auto !important;
    min-height: 260px !important;
    padding: 36px 48px !important;
  }

  body.home .hf-affiliations img,
  body.home .hf-affiliations img:nth-child(n) {
    flex: 0 1 auto !important;
    grid-column: auto !important;
  }
}

body.page-slug-about .au-timeline article::before {
  width: 16px !important;
  height: 16px !important;
  box-sizing: content-box !important;
  margin-bottom: 24px !important;
  border: 6px solid #fff !important;
  border-radius: 999px !important;
  background: #ac753a !important;
  box-shadow: 0 10px 22px rgba(5, 23, 48, 0.14) !important;
}

body.page-slug-about .au-timeline-line {
  top: 38px !important;
  height: 2px !important;
  background: rgba(172, 117, 58, 0.38) !important;
}

body.page-slug-about .au-team-grid article > p:last-child {
  margin-bottom: 24px !important;
}

/* Final responsive spacing fixes requested after visual QA. */
@media (min-width: 781px) and (max-width: 1180px) {
  body.page-slug-about .au-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    justify-items: center !important;
  }

  body.page-slug-about .au-service-card {
    width: 100% !important;
    max-width: 520px !important;
  }

  body.page-slug-about .au-service-card:nth-child(3) {
    grid-column: 1 / -1 !important;
    justify-self: center !important;
  }

  body.page-slug-about .au-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    justify-items: center !important;
  }

  body.page-slug-about .au-team-grid article {
    width: 100% !important;
    max-width: 520px !important;
  }

  body.page-slug-about .au-team-grid article:nth-child(5) {
    grid-column: 1 / -1 !important;
    justify-self: center !important;
  }
}

@media (max-width: 780px) {
  body.page-slug-about .au-hero {
    height: auto !important;
    min-height: 0 !important;
    padding: 112px 30px 56px !important;
  }

  body.page-slug-about .au-hero > img,
  body.page-slug-about .au-hero-overlay {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }

  body.page-slug-about .au-hero-copy {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    width: 100% !important;
  }

  body.page-slug-about .au-hero-copy h1,
  body.page-slug-about .au-hero-copy p {
    width: 100% !important;
  }

  body.page-slug-about .au-button-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    margin-top: 30px !important;
  }

  body.page-slug-about .au-button-row br {
    display: none !important;
  }

  body.page-slug-about .au-button {
    min-height: 64px !important;
    padding: 16px 24px !important;
  }

  body.page-slug-about .au-cta {
    min-height: 0 !important;
    padding: 64px 30px 56px !important;
  }

  body.page-slug-about .au-cta > img,
  body.page-slug-about .au-cta-overlay {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }

  body.page-slug-about .au-cta-copy {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    width: 100% !important;
  }

  body.page-slug-about .au-cta-copy h2,
  body.page-slug-about .au-cta-copy p:not(.au-eyebrow) {
    width: 100% !important;
  }
}

/* Events page responsive fixes: keep after global footer/header overrides. */
@media (max-width: 1180px) {
  body.page-slug-events .site-header {
    position: relative !important;
    top: auto !important;
  }

  body.page-slug-events .ep-container {
    width: min(100% - 40px, 1320px) !important;
  }

  body.page-slug-events .ep-hero {
    min-height: clamp(300px, 44vw, 400px) !important;
    background: #051730 !important;
  }

  body.page-slug-events .ep-hero > img {
    display: none !important;
  }

  body.page-slug-events .ep-hero::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: url("assets/img/events-redesign/events-hero-clean.webp") center center / cover no-repeat !important;
  }

  body.page-slug-events .ep-sr-copy {
    position: absolute !important;
    left: clamp(24px, 5.2vw, 60px) !important;
    top: clamp(48px, 9vw, 92px) !important;
    width: min(620px, calc(100% - 48px)) !important;
    height: auto !important;
    overflow: visible !important;
    clip: auto !important;
    clip-path: none !important;
    white-space: normal !important;
    z-index: 2 !important;
  }

  body.page-slug-events .ep-hero h1 {
    font-size: clamp(42px, 7vw, 68px) !important;
    line-height: 1.16 !important;
  }

  body.page-slug-events .ep-hero .ep-eyebrow {
    margin-bottom: 18px !important;
  }

  body.page-slug-events .ep-toolbar {
    grid-template-columns: minmax(145px, 0.72fr) minmax(145px, 0.72fr) minmax(286px, 1.45fr) !important;
    gap: 16px !important;
    padding: 20px !important;
  }

  body.page-slug-events .ep-search {
    grid-column: 1 / -1 !important;
  }

  body.page-slug-events .ep-filter,
  body.page-slug-events .ep-filter-date,
  body.page-slug-events .ep-view-tabs {
    grid-column: auto !important;
    width: 100% !important;
  }

  body.page-slug-events .ep-find {
    grid-column: 1 / -1 !important;
    width: 100% !important;
  }
}

@media (min-width: 641px) and (max-width: 960px) {
  body.page-slug-events .ep-events {
    padding: 58px 0 70px !important;
  }

  body.page-slug-events .ep-event-list {
    gap: 34px !important;
  }

  body.page-slug-events .ep-event-card {
    grid-template-columns: 82px minmax(0, 1fr) !important;
    min-height: 0 !important;
  }

  body.page-slug-events .ep-date,
  body.page-slug-events .ep-event-media {
    min-height: 0 !important;
    height: 300px !important;
  }

  body.page-slug-events .ep-date strong {
    font-size: 38px !important;
  }

  body.page-slug-events .ep-date span {
    margin-top: 8px !important;
    font-size: 15px !important;
  }

  body.page-slug-events .ep-date small {
    margin-top: 8px !important;
    font-size: 12px !important;
  }

  body.page-slug-events .ep-event-copy {
    grid-column: 1 / -1 !important;
    gap: 12px !important;
    padding: 24px 28px 28px !important;
  }

  body.page-slug-events .ep-event-copy h3 {
    max-width: 100% !important;
    font-size: 32px !important;
    line-height: 1.18 !important;
  }

  body.page-slug-events .ep-summary {
    max-width: 100% !important;
    font-size: 14px !important;
  }

  body.page-slug-events .ep-actions {
    gap: 12px !important;
    padding-top: 14px !important;
  }

  body.page-slug-events .ep-button {
    min-height: 48px !important;
    padding: 0 22px !important;
    font-size: 11px !important;
    letter-spacing: 3px !important;
  }

  body.page-slug-events .ep-button:not(.ep-button-outline) {
    min-width: 214px !important;
  }

  body.page-slug-events .ep-button-outline {
    min-width: 150px !important;
  }
}

@media (max-width: 780px) {
  body.page-slug-events .ep-toolbar {
    grid-template-columns: minmax(125px, 0.62fr) minmax(125px, 0.62fr) minmax(260px, 1.45fr) !important;
    gap: 12px !important;
    padding: 16px !important;
  }

  body.page-slug-events .ep-filter,
  body.page-slug-events .ep-filter-date,
  body.page-slug-events .ep-view-tabs {
    min-height: 54px !important;
  }
}

@media (max-width: 640px) {
  body.page-slug-events .ep-container {
    width: min(100% - 32px, 1320px) !important;
  }

  body.page-slug-events .ep-hero {
    min-height: 300px !important;
  }

  body.page-slug-events .ep-hero::before {
    object-position: center top !important;
  }

  body.page-slug-events .ep-sr-copy {
    left: 22px !important;
    top: 58px !important;
    width: calc(100% - 44px) !important;
  }

  body.page-slug-events .ep-hero h1 {
    font-size: 42px !important;
  }

  body.page-slug-events .ep-toolbar {
    grid-template-columns: 1fr !important;
  }

  body.page-slug-events .ep-search,
  body.page-slug-events .ep-filter,
  body.page-slug-events .ep-filter-date,
  body.page-slug-events .ep-view-tabs,
  body.page-slug-events .ep-find {
    grid-column: 1 / -1 !important;
  }

  body.page-slug-events .ep-event-card {
    grid-template-columns: 72px minmax(0, 1fr) !important;
  }

  body.page-slug-events .ep-date,
  body.page-slug-events .ep-event-media {
    height: 250px !important;
    min-height: 0 !important;
  }

  body.page-slug-events .ep-event-copy {
    padding: 22px 18px 24px !important;
  }
}
