/*
 * AT visual refinement v2
 * Header simplification, mobile actions, homepage pacing, patient tools polish,
 * section transitions and footer refinement.
 */

:root {
  --atr-ink: #082b31;
  --atr-ink-soft: #123f45;
  --atr-teal: #2f9e94;
  --atr-teal-deep: #16786f;
  --atr-teal-light: #b9ebe4;
  --atr-mint: #eaf6f3;
  --atr-cream: #f8f4ec;
  --atr-sand: #efe6d7;
  --atr-white: #ffffff;
  --atr-text: #243f43;
  --atr-muted: #647b7e;
  --atr-line: rgba(8, 43, 49, .12);
  --atr-shadow-sm: 0 12px 32px rgba(8, 43, 49, .08);
  --atr-shadow-lg: 0 28px 80px rgba(8, 43, 49, .14);
  --atr-radius-sm: 16px;
  --atr-radius-md: 24px;
  --atr-radius-lg: 34px;
}

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

/* Header */
.at-editorial-topbar {
  min-height: 34px;
}

.at-editorial-topbar-inner {
  min-height: 34px;
}

.at-editorial-main {
  box-shadow: 0 1px 0 rgba(8, 43, 49, .07);
  transition: box-shadow .22s ease, background-color .22s ease, backdrop-filter .22s ease;
}

.at-editorial-header.is-refined-scrolled .at-editorial-main {
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 16px 36px rgba(8, 43, 49, .09);
  backdrop-filter: blur(14px);
}

.at-editorial-menu > .menu-item-646,
.at-editorial-mobile-menu > .menu-item-646 {
  display: none !important;
}

.at-editorial-menu > #menu-item-1449 { order: 1; }
.at-editorial-menu > #menu-item-2087 { order: 2; }
.at-editorial-menu > #menu-item-636 { order: 3; }
.at-editorial-menu > #menu-item-645 { order: 4; }
.at-editorial-menu > #menu-item-2272 { order: 5; }

.at-editorial-mobile-menu {
  display: flex;
  flex-direction: column;
}
.at-editorial-mobile-menu > #menu-item-1449 { order: 1; }
.at-editorial-mobile-menu > #menu-item-2087 { order: 2; }
.at-editorial-mobile-menu > #menu-item-636 { order: 3; }
.at-editorial-mobile-menu > #menu-item-645 { order: 4; }
.at-editorial-mobile-menu > #menu-item-2272 { order: 5; }

.at-editorial-menu > li > a {
  position: relative;
  padding-top: 9px;
  padding-bottom: 9px;
}

.at-editorial-menu > li > a::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 3px;
  left: 12px;
  height: 2px;
  border-radius: 999px;
  background: var(--atr-teal);
  opacity: 0;
  transform: scaleX(.45);
  transition: opacity .2s ease, transform .2s ease;
}

.at-editorial-menu > li > a:hover::after,
.at-editorial-menu > li.current-menu-item > a::after,
.at-editorial-menu > li.current-menu-ancestor > a::after {
  opacity: 1;
  transform: scaleX(1);
}

.at-editorial-menu > .menu-item-2272 > a {
  border: 1px solid rgba(47, 158, 148, .25);
  border-radius: 999px;
  background: rgba(47, 158, 148, .08);
  color: var(--atr-teal-deep);
}

.at-editorial-menu > .menu-item-2272 > a::after {
  display: none;
}

.at-editorial-mobile-menu > .menu-item-2272 > a {
  border-radius: 14px;
  background: rgba(47, 158, 148, .11);
  color: var(--atr-teal-deep);
  font-weight: 800;
}

.at-editorial-mobile-menu-extra {
  margin-top: 12px !important;
}

.at-editorial-mobile-menu-extra > li > a {
  padding-right: 16px !important;
  padding-left: 16px !important;
  border: 1px solid rgba(103, 206, 194, .22);
  border-radius: 14px;
  background: rgba(103, 206, 194, .1);
  color: #9be5dd !important;
  font-family: "Source Sans 3", sans-serif !important;
  font-size: 1rem !important;
  font-weight: 850 !important;
}

/* Shared line-icon treatment */
.at-home-icon svg,
.at-home-info-icon svg,
.at-home-trust-icon svg,
.at-home-trust-arrow svg,
.at-tools-card-icon svg,
.at-site-footer-note-icon svg,
.at-site-footer-contact-icon svg,
.at-mobile-action-bar svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.at-home-trust-icon,
.at-home-trust-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.at-home-trust-icon svg {
  width: 23px;
  height: 23px;
}

.at-home-trust-arrow svg {
  width: 18px;
  height: 18px;
}

/* Homepage pacing */
.at-home-section,
.at-home-hearing-aids,
.at-home-resources,
.at-home-book {
  position: relative;
}

.at-home-section,
.at-home-hearing-aids {
  padding-top: 88px;
  padding-bottom: 88px;
}

.at-home-section-head {
  margin-bottom: 42px;
}

.at-home-section-head > p,
.at-home-integrated-copy > p,
.at-home-hearing-copy > p,
.at-home-team-grid > div:first-child > p {
  max-width: 64ch;
}

.at-home-concerns::after,
.at-home-integrated::after,
.at-home-team-preview::after,
.at-home-patient-info::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 34px;
  pointer-events: none;
  background:
    radial-gradient(52px 22px at 52px 100%, transparent 49%, rgba(47, 158, 148, .08) 50%, transparent 52%) 0 0 / 104px 34px repeat-x;
  opacity: .58;
}

.at-home-icon,
.at-home-info-icon {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(47, 158, 148, .18);
  border-radius: 17px;
  background: rgba(47, 158, 148, .09);
  color: var(--atr-teal-deep);
  box-shadow: 0 0 0 8px rgba(47, 158, 148, .045);
}

.at-home-icon-light {
  border-color: rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .11);
  color: var(--atr-white);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, .045);
}

.at-home-concern-card {
  overflow: hidden;
}

.at-home-concern-card::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 180px;
  height: 180px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: .06;
  transition: transform .3s ease, opacity .3s ease;
}

.at-home-concern-card:hover::before,
.at-home-concern-card:focus-visible::before {
  opacity: .12;
  transform: scale(1.15);
}

/* Independent review panel */
.at-home-review-panel {
  overflow: hidden;
  isolation: isolate;
}

.at-home-review-panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -110px;
  right: -90px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(47, 158, 148, .16);
  border-radius: 50%;
  box-shadow: 0 0 0 32px rgba(47, 158, 148, .04), 0 0 0 64px rgba(47, 158, 148, .025);
}

.at-home-review-topline {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.at-home-google-mark svg {
  width: 22px;
  height: 22px;
}

.at-home-review-status {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border: 1px solid rgba(47, 158, 148, .18);
  border-radius: 999px;
  background: rgba(47, 158, 148, .08);
  color: var(--atr-teal-deep);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.at-home-review-principles {
  display: grid;
  gap: 10px;
  margin: 26px 0 30px;
}

.at-home-review-principles > div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
  align-items: start;
  padding: 13px 0;
  border-bottom: 1px solid var(--atr-line);
}

.at-home-review-principles strong {
  color: var(--atr-ink);
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.at-home-review-principles span {
  color: var(--atr-muted);
  font-size: .9rem;
  line-height: 1.5;
}

/* Integrated care visual without photography */
.at-home-care-map {
  position: relative;
  overflow: hidden;
  min-height: 490px;
  padding: 36px;
  border: 1px solid rgba(8, 43, 49, .1);
  border-radius: var(--atr-radius-lg);
  background:
    radial-gradient(circle at 18% 18%, rgba(185, 235, 228, .78), transparent 32%),
    linear-gradient(145deg, #f8fcfb 0%, #edf7f4 100%);
  box-shadow: var(--atr-shadow-sm);
}

.at-home-care-map-orbit {
  position: relative;
  min-height: 330px;
}

.at-home-care-map-orbit > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: rgba(47, 158, 148, .27);
  stroke: currentColor;
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.at-home-care-node {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  min-width: 88px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid rgba(8, 43, 49, .1);
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: var(--atr-ink);
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .05em;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 12px 32px rgba(8, 43, 49, .09);
}

.at-home-care-node-centre {
  top: 50%;
  left: 50%;
  width: 92px;
  height: 92px;
  min-height: 92px;
  transform: translate(-50%, -50%);
  border-color: rgba(255, 255, 255, .16);
  background: var(--atr-ink);
  color: var(--atr-white);
  font-size: .82rem;
}

.at-home-care-node-audio { top: 12%; left: 3%; }
.at-home-care-node-speech { top: 14%; right: 2%; }
.at-home-care-node-apd { bottom: 7%; left: 7%; }
.at-home-care-node-balance { right: 4%; bottom: 8%; }

.at-home-care-map-copy {
  position: relative;
  z-index: 2;
  max-width: 500px;
  padding-top: 22px;
  border-top: 1px solid rgba(8, 43, 49, .12);
}

.at-home-care-map-copy > strong {
  display: block;
  margin-bottom: 8px;
  color: var(--atr-ink);
  font-family: "Fraunces", serif;
  font-size: 1.3rem;
}

.at-home-care-map-copy p {
  margin-bottom: 0;
  color: var(--atr-muted);
  font-size: .94rem;
  line-height: 1.6;
}

.at-home-info-icon {
  margin-bottom: 28px;
}

.at-home-info-grid i {
  display: none;
}

/* Patient tools entry block */
.at-home-prep-cta {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(125deg, rgba(8, 43, 49, .98), rgba(18, 63, 69, .98)),
    var(--atr-ink);
}

.at-home-prep-cta::after {
  content: "";
  position: absolute;
  top: -130px;
  right: -110px;
  width: 310px;
  height: 310px;
  border: 1px solid rgba(185, 235, 228, .24);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(185, 235, 228, .045), 0 0 0 76px rgba(185, 235, 228, .025);
}

.at-home-prep-cta > * {
  position: relative;
  z-index: 1;
}

.at-home-prep-cta .at-home-mini-label,
.at-home-prep-cta h3,
.at-home-prep-cta p {
  color: var(--atr-white);
}

.at-home-prep-cta p {
  opacity: .76;
}

/* Footer */
.at-site-footer-main {
  position: relative;
  overflow: hidden;
}

.at-site-footer-main::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -160px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(185, 235, 228, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(185, 235, 228, .025), 0 0 0 84px rgba(185, 235, 228, .016);
}

.at-site-footer-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(280px, 1.5fr) minmax(150px, .72fr) minmax(190px, .9fr) minmax(250px, 1fr);
}

.at-site-footer-links a {
  position: relative;
  width: fit-content;
}

.at-site-footer-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -2px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

.at-site-footer-links a:hover::after,
.at-site-footer-links a:focus-visible::after {
  transform: scaleX(1);
}

.at-site-footer-contact-icon,
.at-site-footer-note-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: rgba(185, 235, 228, .1);
  color: var(--atr-teal-light);
}

.at-site-footer-contact-icon svg {
  width: 20px;
  height: 20px;
}

.at-site-footer-trust-note {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.at-site-footer-trust-note p {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, .56);
  font-size: .78rem;
  line-height: 1.55;
}

/* Mobile contact bar */
.at-mobile-action-bar {
  position: fixed;
  z-index: 9998;
  right: 12px;
  bottom: max(12px, env(safe-area-inset-bottom));
  left: 12px;
  display: none;
  grid-template-columns: .9fr 1.35fr;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 20px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 20px 48px rgba(8, 43, 49, .22);
  backdrop-filter: blur(18px);
  transition: opacity .24s ease, transform .24s ease;
}

.at-mobile-action-bar.is-hidden {
  pointer-events: none;
  opacity: 0;
  transform: translateY(120%);
}

.at-mobile-action-bar a {
  display: inline-flex;
  min-height: 52px;
  gap: 9px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: var(--atr-ink);
  font-size: .83rem;
  font-weight: 850;
  text-decoration: none !important;
}

.at-mobile-action-bar svg {
  width: 21px;
  height: 21px;
}

.at-mobile-whatsapp {
  background: var(--atr-mint);
}

.at-mobile-book {
  background: var(--atr-ink);
  color: var(--atr-white) !important;
}

/* Patient Tools refinement */
.at-tools {
  --tool-accent: var(--atr-teal);
}

.at-tools-page-progress {
  position: fixed;
  z-index: 10010;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  pointer-events: none;
  background: transparent;
}

.at-tools-page-progress > span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--atr-teal), #68c9bd);
  box-shadow: 0 0 18px rgba(47, 158, 148, .4);
  transition: width .08s linear;
}

.at-tools-breadcrumb-wrap {
  background: #f7fbfa;
  border-bottom: 1px solid rgba(8, 43, 49, .07);
}

.at-tools-breadcrumb {
  display: flex;
  min-height: 48px;
  gap: 10px;
  align-items: center;
  color: var(--atr-muted);
  font-size: .82rem;
}

.at-tools-breadcrumb a {
  color: var(--atr-teal-deep);
  font-weight: 800;
  text-decoration: none;
}

.at-tools-grid {
  gap: 18px;
}

.at-tools-card {
  --card-accent: var(--atr-teal);
  --card-wash: #edf8f5;
  position: relative;
  overflow: hidden;
  min-height: 310px;
  padding-bottom: 30px;
  background: linear-gradient(145deg, #fff 0%, var(--card-wash) 165%);
}

.at-tools-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--card-accent), transparent 78%);
}

.at-tools-card::after {
  content: none !important;
  display: none !important;
}

.at-tools-card:hover::after,
.at-tools-card:focus-visible::after {
  transform: translateX(5px);
}

.at-tools-card-match { --card-accent: #208f85; --card-wash: #e9f7f3; }
.at-tools-card-support { --card-accent: #3f7fa0; --card-wash: #edf6fa; }
.at-tools-card-speech { --card-accent: #9b6c81; --card-wash: #faf0f4; }
.at-tools-card-apd { --card-accent: #735c9a; --card-wash: #f4f0fa; }
.at-tools-card-results { --card-accent: #a7793f; --card-wash: #faf4ea; }
.at-tools-card-visit { --card-accent: #4d8372; --card-wash: #edf7f2; }

.at-tools-card .at-tools-card-icon {
  border-color: color-mix(in srgb, var(--card-accent) 20%, transparent);
  background: color-mix(in srgb, var(--card-accent) 10%, white);
  color: var(--card-accent);
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--card-accent) 7%, transparent);
}

.at-tools-card h3 {
  transition: color .2s ease;
}

.at-tools-card:hover h3,
.at-tools-card:focus-visible h3 {
  color: var(--card-accent);
}

.at-tools-card-feature,
.at-tools-recent-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  display: inline-flex;
  align-items: center;
  padding: 6px 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--card-accent) 12%, white);
  color: var(--card-accent);
  font-size: .67rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.at-tools-card.is-recent .at-tools-card-feature {
  display: none;
}

.at-tools-recent-badge {
  background: var(--atr-ink);
  color: var(--atr-white);
}

.at-tools-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 22px;
}

.at-tools-card-meta > span {
  display: inline-flex;
  padding: 6px 9px;
  border: 1px solid rgba(8, 43, 49, .09);
  border-radius: 999px;
  background: #fff;
  color: var(--atr-muted);
  font-size: .7rem;
  font-weight: 750;
}

.at-tools-back-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 24px;
  color: currentColor;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .07em;
  text-decoration: none !important;
  text-transform: uppercase;
  opacity: .72;
}

.at-tools-back-link::before {
  content: "←";
  font-size: 1rem;
}

.at-tools-back-link:hover,
.at-tools-back-link:focus-visible {
  opacity: 1;
}

.at-tools-module {
  --module-accent: var(--atr-teal);
}

#hearing-match { --module-accent: #32b4a6; }
#hearing-support { --module-accent: #3f7fa0; }
#speech-companion { --module-accent: #9b6c81; }
#apd-toolkit { --module-accent: #735c9a; }
#results-explainer { --module-accent: #d0a15d; }
#visit-aid { --module-accent: #4d8372; }

.at-tools-module-index {
  border-color: color-mix(in srgb, var(--module-accent) 28%, transparent);
  background: color-mix(in srgb, var(--module-accent) 11%, transparent);
  color: var(--module-accent);
}

.at-tools-workspace {
  position: relative;
  overflow: hidden;
}

.at-tools-workspace::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--module-accent), transparent 80%);
}

.at-tools-result:not([hidden]) {
  animation: atToolsResultIn .34s ease both;
}

.at-tools-result-label {
  color: var(--module-accent);
}

.at-tools-result-actions {
  align-items: center;
}

.at-tools-module.is-tool-active .at-tools-module-intro h2 {
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--module-accent) 30%, transparent);
  text-decoration-thickness: 5px;
  text-underline-offset: 7px;
}

.at-refine-reveal,
.at-tools-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease var(--atr-delay, 0ms), transform .55s ease var(--atr-delay, 0ms);
}

.at-refine-reveal.is-visible,
.at-tools-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes atToolsResultIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Desktop mega menus */
.at-editorial-header {
  overflow: visible;
}

.at-editorial-nav #menu-item-1449 > .sub-menu {
  display: none !important;
}

.at-editorial-nav #menu-item-2272 > a::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 1.7px solid currentColor;
  border-bottom: 1.7px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.at-editorial-nav #menu-item-1449 > a[aria-expanded="true"],
.at-editorial-nav #menu-item-2272 > a[aria-expanded="true"] {
  background: var(--atr-mint);
  color: var(--atr-ink);
}

.at-mega-menu-layer {
  position: absolute;
  z-index: 9995;
  top: 100%;
  right: 0;
  left: 0;
  pointer-events: none;
}

.at-mega-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  padding: 10px 24px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}

.at-mega-menu-panel.is-open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.at-mega-menu-shell {
  display: grid;
  grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr);
  gap: 28px;
  padding: 24px;
  border: 1px solid rgba(8, 43, 49, .12);
  border-radius: 0 0 26px 26px;
  background: rgba(255, 253, 249, .99);
  box-shadow: 0 30px 80px rgba(8, 43, 49, .18);
  backdrop-filter: blur(20px);
}

.at-mega-menu-intro {
  padding: 28px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(104, 201, 189, .19), transparent 34%),
    var(--atr-ink);
  color: var(--atr-white);
}

.at-mega-menu-kicker {
  display: block;
  margin-bottom: 15px;
  color: #8ad8cf;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.at-mega-menu-intro h2 {
  margin: 0 0 13px;
  color: var(--atr-white);
  font-family: "Fraunces", serif;
  font-size: clamp(1.75rem, 2.25vw, 2.5rem);
  line-height: 1.05;
}

.at-mega-menu-intro p {
  margin: 0;
  color: rgba(255, 255, 255, .7);
  font-size: .94rem;
  line-height: 1.6;
}

.at-mega-menu-primary-link {
  display: inline-flex;
  margin-top: 24px;
  color: #9be5dd !important;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-decoration: none !important;
  text-transform: uppercase;
}

.at-mega-menu-primary-link::after {
  content: "→";
  margin-left: 8px;
}

.at-mega-menu-shell {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-color: rgba(8, 43, 49, .1);
  background:
    linear-gradient(135deg, rgba(234, 246, 243, .72), transparent 36%),
    rgba(255, 253, 249, .995);
}

.at-mega-menu-shell::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -120px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(47, 158, 148, .11);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(47, 158, 148, .028), 0 0 0 84px rgba(47, 158, 148, .018);
  pointer-events: none;
}

.at-mega-menu-shell > * {
  position: relative;
  z-index: 1;
}

.at-mega-menu-intro {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, .11);
  box-shadow: 0 22px 52px rgba(8, 43, 49, .2);
}

.at-mega-menu-intro::before,
.at-mega-menu-intro::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.at-mega-menu-intro::before {
  right: -82px;
  bottom: -92px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(155, 229, 221, .25);
  box-shadow: 0 0 0 30px rgba(155, 229, 221, .045), 0 0 0 60px rgba(155, 229, 221, .025);
}

.at-mega-menu-intro::after {
  top: 26px;
  right: 28px;
  width: 11px;
  height: 11px;
  background: #8ad8cf;
  box-shadow: 20px 14px 0 rgba(138, 216, 207, .34), -14px 22px 0 rgba(138, 216, 207, .18);
}

.at-mega-menu-intro-services {
  background:
    radial-gradient(circle at 92% 8%, rgba(104, 201, 189, .22), transparent 32%),
    linear-gradient(150deg, #082b31 0%, #123f45 100%);
}

.at-mega-menu-intro-tools {
  background:
    radial-gradient(circle at 92% 8%, rgba(139, 116, 170, .22), transparent 32%),
    linear-gradient(150deg, #102d35 0%, #173e48 100%);
}

.at-mega-intro-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.at-mega-intro-points span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .8);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .035em;
}

.at-mega-menu-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-content: start;
}

.at-mega-menu-group {
  --group-accent: var(--atr-teal);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(8, 43, 49, .09);
  border-radius: 20px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 12px 34px rgba(8, 43, 49, .055);
  backdrop-filter: blur(8px);
}

.at-mega-menu-group-communication {
  --group-accent: #8b74aa;
}

.at-mega-menu-group-access {
  --group-accent: #2b6e8e;
}

.at-mega-services-help {
  grid-column: 1 / -1;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  padding: 15px 18px !important;
  border: 1px solid rgba(47, 158, 148, .2);
  border-radius: 17px !important;
  background: linear-gradient(135deg, rgba(234, 246, 243, .95), rgba(255, 255, 255, .9));
  color: var(--atr-ink) !important;
  text-decoration: none !important;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.at-mega-services-help:hover,
.at-mega-services-help:focus-visible {
  border-color: rgba(47, 158, 148, .4);
  box-shadow: 0 12px 28px rgba(8, 43, 49, .07);
  transform: translateY(-1px);
}

.at-mega-services-help strong,
.at-mega-services-help small {
  display: block;
}

.at-mega-services-help strong {
  margin-bottom: 2px;
  font-family: "Fraunces", serif;
  font-size: 1rem;
  line-height: 1.2;
}

.at-mega-services-help small {
  color: var(--atr-muted);
  font-size: .76rem;
  line-height: 1.4;
}

.at-mega-services-help > span:last-child {
  color: var(--atr-teal-deep);
  font-size: 1.1rem;
  font-weight: 900;
}

.at-mega-group-heading {
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 0 4px 5px;
  color: color-mix(in srgb, var(--group-accent) 88%, #082b31);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.at-mega-group-heading i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--group-accent);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--group-accent) 10%, transparent);
}

.at-mega-service-link {
  --link-accent: var(--group-accent);
  position: relative;
  display: grid !important;
  min-height: 70px;
  grid-template-columns: 44px minmax(0, 1fr) 18px;
  gap: 12px;
  align-items: center;
  padding: 10px 11px !important;
  border: 1px solid transparent;
  border-radius: 15px !important;
  background: rgba(248, 251, 250, .66);
  color: var(--atr-ink) !important;
  text-decoration: none !important;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.at-mega-service-audio { --link-accent: #208f85; }
.at-mega-service-aids { --link-accent: #3f7fa0; }
.at-mega-service-wax { --link-accent: #a7793f; }
.at-mega-service-balance { --link-accent: #4d8372; }
.at-mega-service-speech { --link-accent: #9b6c81; }
.at-mega-service-apd { --link-accent: #735c9a; }
.at-mega-service-home { --link-accent: #547d71; }
.at-mega-service-corporate { --link-accent: #2b6e8e; }

.at-mega-service-link:hover,
.at-mega-service-link:focus-visible {
  border-color: color-mix(in srgb, var(--link-accent) 28%, transparent);
  background: color-mix(in srgb, var(--link-accent) 7%, white);
  box-shadow: 0 12px 26px rgba(8, 43, 49, .075);
  transform: translateX(3px);
}

.at-mega-link-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--link-accent) 20%, transparent);
  border-radius: 13px;
  background: color-mix(in srgb, var(--link-accent) 10%, white);
  color: var(--link-accent);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--link-accent) 5%, transparent);
}

.at-mega-link-icon svg,
.at-mega-tool-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.at-mega-link-copy,
.at-mega-link-copy strong,
.at-mega-link-copy small {
  display: block;
}

.at-mega-link-copy strong {
  margin-bottom: 3px;
  font-size: .91rem;
  line-height: 1.15;
}

.at-mega-link-copy small {
  color: var(--atr-muted);
  font-size: .75rem;
  line-height: 1.35;
}

.at-mega-link-arrow {
  color: var(--link-accent, var(--tool-accent, var(--atr-teal)));
  font-size: 1rem;
  font-weight: 900;
  opacity: .58;
  transform: translateX(-3px);
  transition: opacity .2s ease, transform .2s ease;
}

.at-mega-service-link:hover .at-mega-link-arrow,
.at-mega-service-link:focus-visible .at-mega-link-arrow,
.at-mega-tool-link:hover .at-mega-link-arrow,
.at-mega-tool-link:focus-visible .at-mega-link-arrow {
  opacity: 1;
  transform: translateX(1px);
}

.at-mega-menu-help {
  --link-accent: var(--atr-teal-deep);
  margin-top: auto;
  border-color: rgba(47, 158, 148, .18);
  background: linear-gradient(135deg, rgba(234, 246, 243, .92), rgba(255, 255, 255, .82));
}

.at-mega-menu-tools-shell {
  grid-template-columns: minmax(260px, .64fr) minmax(0, 1.36fr);
}

.at-mega-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-content: start;
}

.at-mega-tool-link {
  --tool-accent: var(--atr-teal);
  --tool-wash: #edf8f5;
  position: relative;
  isolation: isolate;
  display: grid !important;
  min-height: 142px;
  grid-template-columns: 46px minmax(0, 1fr) 18px;
  gap: 12px;
  align-items: center;
  overflow: hidden;
  padding: 18px !important;
  border: 1px solid color-mix(in srgb, var(--tool-accent) 18%, transparent);
  border-radius: 19px !important;
  background: linear-gradient(145deg, #fff 0%, var(--tool-wash) 150%);
  color: var(--atr-ink) !important;
  text-decoration: none !important;
  box-shadow: 0 10px 28px rgba(8, 43, 49, .045);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.at-mega-tool-link::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -60px;
  right: -55px;
  width: 140px;
  height: 140px;
  border: 1px solid color-mix(in srgb, var(--tool-accent) 16%, transparent);
  border-radius: 50%;
  box-shadow: 0 0 0 22px color-mix(in srgb, var(--tool-accent) 4%, transparent);
  transition: transform .25s ease;
}

.at-mega-tool-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--tool-accent), transparent 84%);
}

.at-mega-tool-link:hover,
.at-mega-tool-link:focus-visible {
  border-color: color-mix(in srgb, var(--tool-accent) 38%, transparent);
  box-shadow: 0 16px 38px rgba(8, 43, 49, .09);
  transform: translateY(-3px);
}

.at-mega-tool-link:hover::before,
.at-mega-tool-link:focus-visible::before {
  transform: scale(1.12);
}

.at-mega-tool-match { --tool-accent: #208f85; --tool-wash: #e9f7f3; }
.at-mega-tool-support { --tool-accent: #3f7fa0; --tool-wash: #edf6fa; }
.at-mega-tool-speech { --tool-accent: #9b6c81; --tool-wash: #faf0f4; }
.at-mega-tool-apd { --tool-accent: #735c9a; --tool-wash: #f4f0fa; }
.at-mega-tool-results { --tool-accent: #a7793f; --tool-wash: #faf4ea; }
.at-mega-tool-visit { --tool-accent: #4d8372; --tool-wash: #edf7f2; }

.at-mega-tool-number {
  position: absolute;
  top: 14px;
  right: 16px;
  color: color-mix(in srgb, var(--tool-accent) 58%, transparent);
  font-size: .67rem;
  font-weight: 900;
  letter-spacing: .1em;
}

.at-mega-tool-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--tool-accent) 20%, transparent);
  border-radius: 14px;
  background: color-mix(in srgb, var(--tool-accent) 10%, white);
  color: var(--tool-accent);
  box-shadow: 0 0 0 7px color-mix(in srgb, var(--tool-accent) 5%, transparent);
}

.at-mega-tool-copy,
.at-mega-tool-copy strong,
.at-mega-tool-copy small {
  display: block;
}

.at-mega-tool-copy strong {
  margin-bottom: 5px;
  font-size: .88rem;
  line-height: 1.18;
}

.at-mega-tool-copy small {
  color: var(--atr-muted);
  font-size: .73rem;
  line-height: 1.35;
}

@media (max-width: 1180px) {
  .at-mega-menu-shell {
    grid-template-columns: minmax(230px, .62fr) minmax(0, 1.38fr);
    gap: 20px;
    padding: 20px;
  }

  .at-mega-menu-intro {
    padding: 24px;
  }

  .at-mega-menu-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .at-mega-menu-group-access {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .at-mega-menu-group-access .at-mega-group-heading {
    grid-column: 1 / -1;
  }

  .at-mega-tools-grid > a {
    min-height: 112px;
    padding: 15px;
  }
}

@media (max-width: 991px) {
  .at-mega-menu-layer {
    display: none !important;
  }
}

/* Responsive */
@media (max-width: 1180px) {
  .at-editorial-menu > li > a {
    padding-right: 10px;
    padding-left: 10px;
    font-size: .88rem;
  }

  .at-site-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .at-home-section,
  .at-home-hearing-aids {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .at-home-care-map {
    min-height: 450px;
  }
}

@media (max-width: 767px) {
  body {
    padding-bottom: 86px;
  }

  .at-editorial-topbar-contact a:last-child {
    display: none;
  }

  .at-mobile-action-bar {
    display: grid;
  }

  .at-home-section,
  .at-home-hearing-aids,
  .at-home-resources,
  .at-home-book {
    padding-top: 66px;
    padding-bottom: 66px;
  }

  .at-home-review-topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .at-home-review-principles > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .at-home-care-map {
    min-height: 430px;
    padding: 26px;
  }

  .at-home-care-map-orbit {
    min-height: 285px;
  }

  .at-home-care-node {
    min-width: 74px;
    min-height: 42px;
    padding: 8px 10px;
    font-size: .64rem;
  }

  .at-home-care-node-centre {
    width: 78px;
    height: 78px;
    min-height: 78px;
  }

  .at-home-care-node-audio { top: 10%; left: 0; }
  .at-home-care-node-speech { top: 11%; right: 0; }
  .at-home-care-node-apd { bottom: 8%; left: 0; }
  .at-home-care-node-balance { right: 0; bottom: 8%; }

  .at-site-footer-grid {
    grid-template-columns: 1fr;
  }

  .at-tools-card {
    min-height: 292px;
  }

  .at-tools-card-feature,
  .at-tools-recent-badge {
    top: 20px;
    right: 20px;
  }

  .at-tools-breadcrumb {
    min-height: 42px;
  }
}

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

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