/* MedWay / Passage — warm paper, midnight blue and restrained copper. */
:root {
  --mw-navy: #142b49;
  --mw-blue: #355f94;
  --mw-paper: #fffaf3;
  --mw-paper-soft: #fff2e8;
  --mw-sky: #eef7fb;
  --mw-copper: #b05c37;
  --mw-coral: #ef8a65;
  --mw-line: #e5ddd5;
  --cmt-ink: #263b53;
  --cmt-heading: #142b49;
  --cmt-muted: #59697c;
  --cmt-teal: #355f94;
  --cmt-border: #e5ddd5;
  --cmt-soft: #fffaf3;
  --ink: #263b53;
  --navy: #142b49;
  --teal: #355f94;
  --teal-dark: #243f68;
  --aqua: #eef7fb;
  --cream: #fffaf3;
  --muted: #59697c;
  --line: #e5ddd5;
  --color-ink: #263b53;
  --color-teal: #355f94;
  --color-muted: #657182;
  --color-paper: #fffaf3;
  --color-line: #e5ddd5;
  --focus: 0 0 0 3px #355f9430;
}
html { scroll-padding-top: 110px; }
body.cmt-site { background: var(--mw-paper); font-size: 16px; line-height: 1.85; }
.cmt-container, .cmt-site .container { width: calc(100% - 96px); max-width: 1328px; }
.cmt-site h1, .cmt-site h2, .cmt-site h3 { font-weight: 600; text-wrap: pretty; }
.cmt-site p { text-wrap: pretty; }
.cmt-site :focus-visible { outline: 2px solid var(--mw-copper); outline-offset: 5px; }
.cmt-site .skip-link { z-index: 300; }
.cmt-icon, .cmt-site .cmt-icon { filter: brightness(0) saturate(100%) invert(33%) sepia(22%) saturate(1274%) hue-rotate(173deg) brightness(94%); }
.cmt-header { background: #fffdf9; transition: background-color .25s; }
.cmt-header.is-scrolled { background: #fff; }
.cmt-header-inner { height: 86px; gap: 26px; }
.cmt-brand { width: 184px; gap: 11px; }
/* Preserve the full-colour MedWay mark. The source PNG already contains the
   brand palette; applying grayscale here made the header logo look black and
   white after the visual refresh. */
.cmt-brand > img { filter: none; width: 45px; height: 45px; }
.cmt-brand strong { color: var(--mw-navy); font-size: 27px; letter-spacing: -1px; }
.cmt-brand small { color: var(--cmt-muted); font-size: 9px; letter-spacing: 2px; margin-top: 6px; }
.cmt-navigation { order: 1; justify-content: flex-end; margin-inline-start: 0; gap: 24px; }
.cmt-navigation > a { padding: 31px 0; font-size: 14px; font-weight: 500; }
.cmt-navigation > a[aria-current]:after { background: var(--mw-copper); height: 2px; bottom: 20px; }
.cmt-navigation > a:hover { color: var(--mw-copper); }
.cmt-language { order: 2; padding-inline-start: 23px; }
.cmt-language .language-menu { inset-inline-start: auto; inset-inline-end: 0; border-radius: 12px; }
.cmt-menu-toggle { order: 3; }
.cmt-eyebrow { color: var(--mw-copper); font-size: 12px; font-weight: 600; letter-spacing: .1em; }
.cmt-eyebrow:before { width: 25px; height: 2px; }
.cmt-button, .cmt-site .button { min-height: 50px; padding: 12px 23px; border-radius: 5px; background: var(--mw-navy); border: 2px solid var(--mw-navy); color: white; font-size: 14px; font-weight: 500; transition: background-color .25s, border-color .25s, transform .25s; }
.cmt-site .cmt-button .cmt-icon, .cmt-site .button:not(.button--quiet) .cmt-icon { filter: brightness(0) invert(1); }
.cmt-button:hover, .cmt-site .button:hover { background: var(--mw-blue); border-color: var(--mw-blue); transform: translateY(-2px); }
.cmt-button--white, .cmt-site .button--outline, .cmt-site .button--quiet { color: var(--mw-navy); background: transparent; border-color: #142b4938; }
.cmt-button--white:hover, .cmt-site .button--outline:hover, .cmt-site .button--quiet:hover { color: var(--mw-navy); background: #eceef2; border-color: var(--mw-navy); }
.cmt-text-link { color: var(--mw-navy) !important; border-color: #ad85634d; font-size: 14px; gap: 18px; }
.cmt-text-link .cmt-icon { transition: transform .25s; }
.cmt-text-link:hover .cmt-icon { transform: translateX(4px); }
[dir=rtl] .cmt-text-link:hover .cmt-icon { transform: translateX(-4px); }
.cmt-home-hero { background: var(--mw-paper); color: var(--mw-navy); min-height: 0; height: auto; display: block; text-align: start; overflow: clip; padding-top: 46px; }
.mw-hero-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(32px, 5vw, 78px); align-items: center; }
.cmt-home-hero-content { width: 100%; padding: 32px 0; max-width: none; }
.cmt-home-hero .cmt-eyebrow { justify-content: flex-start; color: var(--mw-copper); font-size: 11px; letter-spacing: .08em; margin-bottom: 30px; }
.cmt-home-hero h1 { color: var(--mw-navy); font-size: clamp(36px, 3.65vw, 57px); line-height: 1.45; letter-spacing: -.035em; margin: 0 0 27px; max-width: 100%; font-weight: 600; }
.cmt-home-hero h1 span, .cmt-home-hero h1 em { display: block; }
.cmt-home-hero h1 em { font-style: normal; color: #63768e; font-weight: 400; }
html[lang=en] .cmt-home-hero h1 { font-size: clamp(44px, 4.8vw, 72px); line-height: 1.08; letter-spacing: -.055em; }
html[lang=ar] .cmt-home-hero h1 { line-height: 1.55; }
.cmt-home-hero .cmt-hero-intro { color: var(--cmt-muted); font-size: 15px; line-height: 2; margin: 0 0 30px; max-width: 510px; }
.cmt-home-hero .cmt-actions { justify-content: flex-start; flex-wrap: wrap; gap: 12px; }
.cmt-home-hero .cmt-button--white .cmt-icon { filter: brightness(0) saturate(100%) invert(18%) sepia(16%) saturate(1540%) hue-rotate(173deg); }
.cmt-hero-notes { justify-content: flex-start; flex-wrap: wrap; gap: 9px 18px; padding-top: 24px; margin-top: 25px; color: #59697c; font-size: 11px; white-space: normal; }
.cmt-hero-notes .cmt-icon { width: 14px; height: 14px; filter: none; opacity: .9; }
.mw-hero-media { min-width: 0; height: 555px; position: relative; isolation: isolate; overflow: hidden; border-radius: 160px 10px 10px 10px; background: #cbd4df; }
[dir=rtl] .mw-hero-media { border-radius: 10px 160px 10px 10px; }
.mw-hero-media:after { content: ''; position: absolute; inset: 12px; border: 0; border-radius: 150px 4px 4px 4px; z-index: 1; pointer-events: none; }
[dir=rtl] .mw-hero-media:after { border-radius: 4px 150px 4px 4px; }
.mw-hero-media .cmt-hero-video { object-position: 53% center; }
.mw-hero-media .cmt-hero-shade { background: #142b498c; }
.mw-media-index { position: absolute; top: 35px; inset-inline-end: 28px; font-size: 9px; letter-spacing: .19em; color: #fff; z-index: 2; }
.mw-media-caption { position: absolute; bottom: 40px; inset-inline: 34px 65px; z-index: 2; color: #fff; }
.mw-caption-line { display: block; width: 36px; height: 2px; background: #d9b693; margin-bottom: 20px; }
.mw-media-caption p { color: #fff; font-size: 22px; letter-spacing: .02em; margin: 0 0 10px; }
.mw-media-caption small { color: #e0e5ed; font-size: 11px; }
.mw-video-toggle { position: absolute; bottom: 34px; inset-inline-end: 27px; z-index: 3; width: 38px; height: 38px; display: grid; place-items: center; color: white; background: #ffffff15; border: 2px solid #ffffff70; border-radius: 50%; line-height: 1; }
.mw-video-toggle:hover { background: #ffffff35; }
.mw-video-toggle .mw-play-symbol, .mw-video-toggle[aria-pressed=true] .mw-pause-symbol { display: none; }
.mw-video-toggle[aria-pressed=true] .mw-play-symbol { display: block; }
.mw-hero-baseline { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0 26px; color: var(--cmt-muted); }
.mw-hero-baseline > span { font-size: 10px; letter-spacing: .18em; }
.mw-hero-baseline p { font-size: 11px; letter-spacing: .1em; margin: 0; }
.mw-hero-baseline .cmt-scroll { position: static; width: 34px; height: 34px; border-color: #142b4930; background: transparent; flex: none; }
.mw-hero-baseline .cmt-scroll .cmt-icon { filter: none; width: 17px; height: 17px; }
.cmt-conversion { background: var(--mw-navy); color: #fff; }
.cmt-conversion-inner { min-height: 168px; grid-template-columns: 240px 1fr auto; gap: 32px; padding-block: 32px; }
.cmt-conversion h2 { color: #fff; font-size: 23px; font-weight: 500; }
.cmt-conversion p, .cmt-conversion small { color: #bcc8d8; }
.cmt-conversion li b { color: #e4c5a6; border: 2px solid #dcc2a340; background: transparent; border-radius: 3px; }
.cmt-conversion strong { color: #fff; font-weight: 500; }
.cmt-conversion .cmt-button { background: #e7c8a9; border-color: #e7c8a9; color: var(--mw-navy); }
.cmt-conversion .cmt-button .cmt-icon { filter: grayscale(1) brightness(.3); }
.cmt-home-journey { padding: 94px 0; background: var(--mw-paper-soft); }
.mw-journey-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 9%; align-items: start; }
.mw-journey-heading { padding-top: 13px; position: sticky; top: 130px; }
.mw-journey-heading h2 { font-size: clamp(26px, 3vw, 40px); line-height: 1.5; white-space: pre-line; margin: 24px 0 32px; }
.cmt-home-journey ol { display: block; padding: 0; border-radius: 0; background: transparent; color: var(--mw-navy); }
.cmt-home-journey li { display: grid; grid-template-columns: 48px 1fr; column-gap: 24px; text-align: start; padding: 23px 0; }
.cmt-home-journey li:first-child { padding-top: 0; }
.cmt-home-journey li:last-child { border-bottom: 0; }
.cmt-home-journey li:not(:last-child):after { display: none; }
.cmt-home-journey b { grid-row: span 2; width: auto; height: auto; display: block; margin: 0; font-family: Georgia,serif; font-size: 34px; color: #a48566; border: 0; background: none; }
.cmt-home-journey li h2 { color: var(--mw-navy); font-size: 18px; margin: 3px 0 9px; }
.cmt-home-journey li p { color: var(--cmt-muted); font-size: 13px; line-height: 1.9; max-width: 510px; }
.cmt-section { padding: 94px 0; }
.cmt-section h2 { font-size: clamp(28px,3vw,40px); line-height: 1.4; letter-spacing: -.025em; font-weight: 500; }
.cmt-section-intro p { max-width: 760px; font-size: 14px; line-height: 1.95; }
.cmt-soft { background: var(--mw-paper); }
.cmt-icon-disc { background: #fff0e6; border-radius: 12px; }
.cmt-home-benefits { background: white; }
.cmt-home-benefits > .cmt-container { display: grid; grid-template-columns: .8fr 1.6fr; gap: 8%; }
.cmt-home-benefits .cmt-section-head { display: block; margin-bottom: 0; }
.cmt-home-benefits .cmt-section-head h2 { margin-bottom: 25px; }
.cmt-benefit-grid { grid-template-columns: 1fr 1fr; gap: 35px 36px; }
.cmt-benefit-grid article, .cmt-benefit-grid article:first-child, .cmt-benefit-grid article:last-child { border: 0; padding: 0; }
.cmt-benefit-grid article > div { margin-bottom: 20px; }
.cmt-benefit-grid article small { color: var(--mw-copper); }
.cmt-benefit-grid h3 { font-size: 17px; line-height: 1.65; }
.cmt-benefit-grid p { font-size: 13px; line-height: 1.95; }
.cmt-home-card-grid { gap: 28px; }
.cmt-image-card { border: 0; border-radius: 6px; background: transparent; }
.cmt-image-card > img { aspect-ratio: 1.3; border-radius: 6px; transition: transform .65s cubic-bezier(.22,.68,0,1); }
.cmt-image-card > div { padding: 24px 0; }
.cmt-image-card h3 { font-size: 18px; }
.cmt-image-card h3 > span { border-color: #142b4930; width: 32px; height: 32px; }
.cmt-image-card p { color: var(--cmt-muted); font-size: 13px; }
.cmt-image-card:hover { transform: translateY(-5px); }
.cmt-home-card-grid .cmt-image-card:nth-child(2) { margin-top: 40px; }
.cmt-home-card-grid .cmt-image-card:nth-child(3) { margin-top: 80px; }
.cmt-decision-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 40px; }
.cmt-decision-grid > a { display: grid; grid-template-columns: 60px 1fr; gap: 0 22px; padding: 30px 0; min-height: 0; border: 0; border-radius: 0; background: transparent; transition: background .25s; }
.cmt-decision-grid > a > div { grid-row: span 2; display: block; margin: 0; }
.cmt-decision-grid > a > div > .cmt-icon { display: none; }
.cmt-decision-grid h3 { font-size: 19px; margin-bottom: 8px; }
.cmt-decision-grid p { font-size: 13px; }
.cmt-decision-grid > a:hover { background: #fff8; }
.cmt-practical { background: var(--mw-navy); }
.cmt-practical h2, .cmt-practical h3 { color: #fff; }
.cmt-practical .cmt-eyebrow { color: #d6b58f; }
.cmt-practical .cmt-muted { color: #b7c4d5; font-size: 14px; }
.cmt-practical-grid { grid-template-columns: 1fr 1fr; gap: 0 46px; }
.cmt-practical-grid article, .cmt-practical-grid article:nth-child(n+4) { grid-column: auto; background: transparent; border: 0; border-radius: 0; padding: 29px 0; min-height: 0; }
.cmt-practical-grid article:last-child { grid-column: 1/-1; max-width: 730px; }
.cmt-practical-grid h3 { font-size: 17px; font-weight: 500; }
.cmt-practical-grid p { color: #b7c4d5; line-height: 1.95; }
.cmt-practical-grid .cmt-icon-disc { background: #ffffff0c; border: 2px solid #ffffff20; border-radius: 50%; }
.cmt-practical-grid .cmt-icon { filter: grayscale(1) brightness(0) invert(.85); }
.cmt-story { border: 0; border-radius: 6px; background: var(--mw-paper); grid-template-columns: 1.15fr 1fr; }
.cmt-story > img { min-height: 440px; }
.cmt-story > div { padding: 52px; color: var(--mw-navy); }
.cmt-story h3 { color: var(--mw-navy); font-size: 30px; line-height: 1.5; }
.cmt-story p { color: var(--cmt-muted); font-size: 14px; }
.cmt-story small { color: var(--mw-copper); padding-top: 18px; }
.cmt-story .cmt-button { width: fit-content; }
.cmt-closing { padding: 55px 0; background: #e8dfd2; color: var(--mw-navy); }
.cmt-closing h2 { color: var(--mw-navy); font-size: 31px; font-weight: 500; }
.cmt-closing p { color: #5c6674; font-size: 14px; }
.cmt-closing .cmt-button--white { background: var(--mw-navy); color: white; border-color: var(--mw-navy); }
.cmt-closing .cmt-button--white .cmt-icon { filter: brightness(0) invert(1); }
.cmt-footer { background: #10233c; padding: 78px 0 28px; }
.cmt-footer-grid { grid-template-columns: 1.6fr .8fr .9fr 1fr; gap: 65px; }
.cmt-footer .cmt-brand > img { filter: none; }
.cmt-footer p { color: #a9b7c9; font-size: 13px; max-width: 300px; line-height: 2; }
.cmt-footer h2 { font-weight: 500; color: #d6b58f; font-size: 13px; }
.cmt-footer-column a, .cmt-footer-column button { font-size: 12px; color: #bdc8d7; }
.cmt-footer-bottom { margin-top: 62px; color: #9caec4; font-size: 11px; align-items: flex-start; }
.cmt-footer-bottom > span:last-child { max-width: 680px; text-align: end; }
.cmt-floating { inset-inline-end: 18px; bottom: 18px; gap: 9px; }
.cmt-floating b { width: 46px; height: 46px; border-color: #dce2e9; }
.cmt-floating b .cmt-icon { width: 20px; height: 20px; }
.cmt-floating button:first-child b { background: var(--mw-navy); border-color: var(--mw-navy); }
.cmt-floating small { font-size: 10px; padding: 2px 7px; }
.cmt-modal { background: #10233cd9; }
.cmt-modal-panel { border-radius: 14px; padding: 36px; }
.cmt-modal-panel h2 { font-weight: 500; }
.cmt-modal-close { background: #edf0f5; }
.cmt-cookie-options label { background: var(--mw-paper); }
.cmt-site input, .cmt-site select, .cmt-site textarea { accent-color: var(--mw-blue); }
@media (prefers-reduced-motion: no-preference) {
  html.mw-motion-ready .mw-reveal { transition: opacity .65s ease, translate .65s cubic-bezier(.2,.65,.3,1); transition-delay: var(--mw-reveal-delay,0ms); }
  html.mw-motion-ready .mw-reveal:not(.is-visible) { opacity: 1; translate: none; }
  html.mw-motion-ready .mw-reveal.is-visible { opacity: 1; translate: none; }
  .mw-caption-line { animation: mw-line-in 1.2s ease both; transform-origin: left; }
  @keyframes mw-line-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}
@media (min-width: 1001px) and (max-width: 1220px) {
  .cmt-header-inner { gap: 18px; }
  .cmt-navigation, html[lang=en] .cmt-navigation, html[lang=ar] .cmt-navigation { gap: 15px; }
  .cmt-brand { width: 156px; }
  .cmt-navigation > a, html[lang=en] .cmt-navigation > a { font-size: 12px; }
  .cmt-language { padding-inline-start: 15px; }
  .cmt-conversion-inner { grid-template-columns: 210px 1fr; }
  .cmt-conversion-inner > .cmt-button { grid-column: 2; justify-self: start; }
  .cmt-conversion-inner > div { grid-row: span 2; }
}
@media (max-width: 1000px) {
  .cmt-container, .cmt-site .container { width: calc(100% - 56px); }
  .cmt-header-inner { height: 72px; width: calc(100% - 48px); }
  .cmt-navigation { top: 72px; background: #faf9f6; max-height: calc(100dvh - 72px); padding: 15px 28px; }
  .cmt-navigation > a { padding: 14px 6px; font-size: 16px; }
  .cmt-language { margin-inline-start: auto; border: 0; }
  .cmt-menu-toggle { margin-inline-start: 0; background: transparent; border-color: #142b4930; border-radius: 5px; }
  .mw-hero-grid { gap: 30px; }
  .mw-hero-media { height: 500px; border-start-start-radius: 110px; }
  .cmt-home-hero h1 { font-size: 36px; }
  .cmt-home-hero .cmt-hero-intro { font-size: 14px; }
  .cmt-home-hero .cmt-button { padding: 11px 16px; font-size: 13px; }
  .mw-media-caption { inset-inline-start: 26px; }
  .mw-media-caption p { font-size: 18px; }
  .cmt-conversion-inner { grid-template-columns: 1fr; gap: 25px; }
  .cmt-conversion-inner > div { grid-row: auto; }
  .cmt-conversion-inner > .cmt-button { grid-column: auto; justify-self: start; }
  .mw-journey-layout { grid-template-columns: 1fr 1.4fr; gap: 7%; }
  .cmt-home-benefits > .cmt-container { grid-template-columns: 1fr; gap: 40px; }
  .cmt-home-benefits .cmt-section-head { display: flex; }
  .cmt-home-benefits .cmt-section-head h2 { margin-bottom: 0; }
  .cmt-home-card-grid { gap: 20px; }
  .cmt-story > div { padding: 30px; }
  .cmt-footer-grid { gap: 40px; grid-template-columns: 1.4fr 1fr 1fr; }
  .cmt-footer-grid > div:last-child { grid-column: 2/4; }
}
@media (max-width: 720px) {
  .cmt-container, .cmt-site .container { width: calc(100% - 40px); }
  .cmt-header-inner { height: 68px; width: calc(100% - 36px); gap: 12px; }
  .cmt-brand { width: auto; gap: 8px; }
  .cmt-brand strong { font-size: 23px; }
  .cmt-brand > img { width: 36px; height: 36px; }
  .cmt-brand small { font-size: 8px; margin-top: 4px; }
  .cmt-language { padding-inline-start: 0; }
  .cmt-language .language-toggle { font-size: 11px; gap: 4px; }
  .cmt-language .language-toggle .cmt-icon:first-child { width: 16px; }
  .cmt-menu-toggle { font-size: 12px; min-width: 44px; padding: 9px; gap: 5px; }
  .cmt-menu-toggle > span { display: none; }
  .cmt-navigation { top: 68px; max-height: calc(100dvh - 68px); }
  .cmt-home-hero { padding-top: 28px; min-height: 0; height: auto; }
  .mw-hero-grid { grid-template-columns: 1fr; gap: 27px; }
  .cmt-home-hero-content { padding: 14px 0 0; width: 100%; }
  .cmt-home-hero .cmt-eyebrow { font-size: 10px; margin-bottom: 23px; }
  .cmt-home-hero h1 { font-size: clamp(29px,8.1vw,48px); max-width: 100%; margin: 0 0 20px; line-height: 1.45; }
  html[lang=en] .cmt-home-hero h1 { font-size: 47px; }
  .cmt-home-hero .cmt-hero-intro { font-size: 13px; line-height: 1.95; margin-bottom: 23px; }
  .cmt-home-hero .cmt-actions { display: flex; gap: 10px; }
  .cmt-home-hero .cmt-button { min-height: 48px; padding: 11px 15px; font-size: 13px; }
  .cmt-hero-notes { padding-top: 17px; margin-top: 20px; font-size: 10px; gap: 8px 15px; }
  .cmt-hero-notes .cmt-icon { width: 12px; height: 12px; }
  .mw-hero-media { height: 360px; border-radius: 95px 6px 6px 6px; }
  [dir=rtl] .mw-hero-media { border-radius: 6px 95px 6px 6px; }
  .mw-hero-media:after { border-radius: 87px 3px 3px 3px; inset: 9px; }
  [dir=rtl] .mw-hero-media:after { border-radius: 3px 87px 3px 3px; }
  .mw-media-index { font-size: 8px; top: 24px; inset-inline-end: 22px; }
  .mw-media-caption { bottom: 29px; inset-inline-start: 25px; }
  .mw-media-caption p { font-size: 20px; }
  .mw-media-caption small { font-size: 10px; }
  .mw-caption-line { margin-bottom: 16px; }
  .mw-video-toggle { bottom: 28px; inset-inline-end: 22px; width: 34px; height: 34px; }
  .mw-hero-baseline { padding: 18px 0 23px; gap: 16px; }
  .mw-hero-baseline > span { display: none; }
  .mw-hero-baseline p { font-size: 9px; letter-spacing: .03em; }
  .cmt-conversion-inner { padding: 32px 0; display: block; }
  .cmt-conversion h2 { font-size: 23px; }
  .cmt-conversion p { font-size: 12px; }
  .cmt-conversion ol { grid-template-columns: 1fr; gap: 20px; margin: 25px 0; }
  .cmt-conversion .cmt-button { width: 100%; }
  .cmt-home-journey, .cmt-section { padding: 56px 0; }
  .mw-journey-layout { grid-template-columns: 1fr; gap: 32px; }
  .mw-journey-heading { position: static; padding-top: 0; }
  .mw-journey-heading h2 { font-size: 29px; margin: 18px 0; }
  .cmt-home-journey ol { padding: 0; }
  .cmt-home-journey li { padding: 22px 0; column-gap: 18px; grid-template-columns: 40px 1fr; }
  .cmt-home-journey b { font-size: 28px; width: auto; height: auto; }
  .cmt-home-journey li h2 { font-size: 17px; }
  .cmt-home-journey li p { font-size: 12px; }
  .cmt-section h2 { font-size: 28px; line-height: 1.45; }
  .cmt-home-benefits .cmt-section-head { display: block; }
  .cmt-home-benefits .cmt-section-head .cmt-text-link { margin-top: 20px; }
  .cmt-benefit-grid { grid-template-columns: 1fr; gap: 28px; }
  .cmt-benefit-grid article, .cmt-benefit-grid article:first-child, .cmt-benefit-grid article:nth-child(3) { padding: 0 0 26px; }
  .cmt-benefit-grid article:last-child { border: 0; padding-bottom: 0; }
  .cmt-benefit-grid h3 { font-size: 18px; }
  .cmt-section-intro p { font-size: 13px; }
  .cmt-home-card-grid { grid-template-columns: 1fr; gap: 25px; }
  .cmt-home-card-grid .cmt-image-card:nth-child(n) { margin-top: 0; }
  .cmt-image-card > img { aspect-ratio: 1.55; }
  .cmt-image-card > div { padding: 20px 0; }
  .cmt-decision-grid { grid-template-columns: 1fr; margin-top: 28px; }
  .cmt-decision-grid > a { padding: 24px 0; grid-template-columns: 44px 1fr; gap: 0 18px; }
  .cmt-decision-grid h3 { font-size: 18px; }
  .cmt-decision-grid .cmt-icon-disc { width: 40px; height: 40px; }
  .cmt-practical-grid { display: grid; grid-template-columns: 1fr; margin-top: 28px; }
  .cmt-practical-grid article { margin: 0; padding: 24px 0; }
  .cmt-story { grid-template-columns: 1fr; margin-top: 28px; }
  .cmt-story > img { height: 240px; min-height: 0; }
  .cmt-story > div { padding: 28px; }
  .cmt-story h3 { font-size: 25px; }
  .cmt-closing { padding: 38px 0; }
  .cmt-closing h2 { font-size: 27px; }
  .cmt-closing .cmt-actions { flex-wrap: wrap; }
  .cmt-footer { padding-top: 48px; }
  .cmt-footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 22px; }
  .cmt-footer-grid > div:first-child, .cmt-footer-grid > div:last-child { grid-column: 1/-1; }
  .cmt-footer p { max-width: 100%; }
  .cmt-footer-bottom { display: block; margin-top: 38px; font-size: 10px; }
  .cmt-footer-bottom > span { display: block; }
  .cmt-footer-bottom > span:last-child { margin-top: 14px; text-align: start; }
  .cmt-floating { inset-inline-end: 10px; bottom: 12px; }
  .cmt-floating > a { display: none; }
  .cmt-floating b { width: 45px; height: 45px; }
  .cmt-floating small { display: none; }
  .cmt-modal { padding: 16px; }
  .cmt-modal-panel { padding: 25px; max-height: calc(100dvh - 32px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  .cmt-site *, .cmt-site *:before, .cmt-site *:after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .mw-reveal { opacity: 1 !important; translate: none !important; }
}

/* Contrast corrections for legacy CMT selectors that load before the refresh.
 * These components share names with the new palette but carry old white/text
 * rules with equal or higher specificity. Keep text readable on every surface. */
.mw-journey-heading h2 { color: var(--mw-navy) !important; }
.mw-journey-heading .cmt-eyebrow { color: var(--mw-copper) !important; }
.cmt-conversion .cmt-button { color: var(--mw-navy) !important; }
.cmt-conversion .cmt-button .cmt-icon { filter: brightness(0) saturate(100%) invert(18%) sepia(26%) saturate(1260%) hue-rotate(176deg) brightness(86%); }
.cmt-closing h2, .cmt-closing p { color: var(--mw-navy) !important; }
.cmt-closing .cmt-button--white { color: #fff !important; }
.cmt-closing .cmt-button--white .cmt-icon { filter: brightness(0) invert(1); }
.cmt-program .cmt-tcm-experience h3 { color: #fff !important; }
.cmt-program .cmt-tcm-experience p, .cmt-program .cmt-tcm-experience a { color: #f7f5f0 !important; }

/* Inner-page heading rules are more specific than the shared conversion bar.
 * Keep this dark section on the same white type scale as the home page. */
.cmt-site .cmt-conversion h2 { color: #fff !important; }
.cmt-site .cmt-conversion p { color: #cbd4df !important; }

/* Small copper labels sit on warm paper; use the accessible darker copper. */
.cmt-site .cmt-about-nav p,
.cmt-site .cmt-tcm-direction small,
.cmt-site .cmt-eyebrow,
.cmt-site .mw-journey-heading .cmt-eyebrow { color: var(--mw-copper) !important; }

/* Taste / Impeccable pass: one quiet system, one authored focal moment.
 * Keep the medical editorial palette, but remove competing decoration from
 * the shared public theme and make interaction states feel intentional. */
:root {
  --mw-ease-out: cubic-bezier(.16, 1, .3, 1);
  --mw-ease-standard: cubic-bezier(.2, .65, .3, 1);
  --mw-duration-fast: 160ms;
  --mw-duration-ui: 260ms;
  --mw-duration-focus: 520ms;
  --mw-radius: 6px;
}

.cmt-site {
  --mw-surface: var(--mw-paper);
  --mw-surface-raised: #fff;
  --mw-surface-muted: #f5efe8;
  --mw-text-soft: #52667b;
  background: var(--mw-surface);
  text-rendering: optimizeLegibility;
}

.cmt-site ::selection { background: #d8b28f; color: var(--mw-navy); }
.cmt-site :where(a, button, input, select, textarea) { -webkit-tap-highlight-color: transparent; }
.cmt-site :where(button, [role='button'], a) { touch-action: manipulation; }
.cmt-site :where(button, a):focus-visible { outline: 2px solid var(--mw-copper); outline-offset: 4px; }

/* The reading ground is a flat paper surface; the photograph carries the
 * atmosphere. This keeps the split-stage idea legible on every route. */
.cmt-home-hero,
.cmt-home-journey,
.cmt-practical { background-image: none; }
.cmt-home-hero { background-color: var(--mw-paper); }
.cmt-home-journey { background-color: var(--mw-paper-soft); }
.cmt-practical { background-color: var(--mw-navy); }

.cmt-header { transition: background-color var(--mw-duration-ui) var(--mw-ease-out); }
.cmt-header::after { content: ''; position: absolute; inset-inline-start: 0; inset-block-end: -1px; width: var(--mw-scroll-progress, 0%); height: 2px; background: var(--mw-copper); pointer-events: none; transition: width 120ms linear; }
.cmt-navigation > a { transition: color var(--mw-duration-fast) ease, transform var(--mw-duration-fast) var(--mw-ease-out); }
.cmt-navigation > a:hover { transform: translateY(-1px); }
.cmt-navigation > a[aria-current] { font-weight: 650; }
.cmt-menu-toggle { transition: background-color var(--mw-duration-fast) ease, border-color var(--mw-duration-fast) ease, transform var(--mw-duration-fast) var(--mw-ease-out); }
.cmt-menu-toggle:hover { background: #fff; border-color: var(--mw-copper); transform: translateY(-1px); }

.cmt-button,
.cmt-site .button { transition: background-color var(--mw-duration-ui) var(--mw-ease-out), border-color var(--mw-duration-ui) var(--mw-ease-out), color var(--mw-duration-ui) var(--mw-ease-out), transform var(--mw-duration-fast) var(--mw-ease-out); }
.cmt-button:active,
.cmt-site .button:active { transform: translateY(1px) scale(.985); }
.cmt-button[disabled],
.cmt-site .button[disabled] { cursor: not-allowed; opacity: .55; transform: none; }

.cmt-home-hero-content { animation: mw-hero-copy-in var(--mw-duration-focus) var(--mw-ease-out) both; }
.mw-hero-media .cmt-hero-video { transform: scale(1.015); animation: mw-hero-drift 18s var(--mw-ease-standard) infinite alternate; }
.mw-hero-media:hover .cmt-hero-video { animation-play-state: paused; transform: scale(1.03); transition: transform 700ms var(--mw-ease-out); }
.mw-video-toggle { transition: background-color var(--mw-duration-fast) ease, transform var(--mw-duration-fast) var(--mw-ease-out); }
.mw-video-toggle:hover { transform: scale(1.06); }

.cmt-section-head,
.cmt-section-intro { align-items: flex-end; }
.cmt-section h2 { max-width: 18ch; }
.cmt-section p { max-width: 70ch; }
.cmt-eyebrow { letter-spacing: .08em; }

.cmt-home-card-grid .cmt-image-card,
.cmt-decision-grid > a,
.cmt-practical-grid article,
.cmt-benefit-grid article { transition: transform var(--mw-duration-ui) var(--mw-ease-out), background-color var(--mw-duration-ui) ease, border-color var(--mw-duration-ui) ease; }
.cmt-home-card-grid .cmt-image-card:focus-within { transform: translateY(-4px); }
.cmt-home-card-grid .cmt-image-card:hover > img,
.cmt-home-card-grid .cmt-image-card:focus-within > img { transform: scale(1.025); }
.cmt-decision-grid > a:hover,
.cmt-decision-grid > a:focus-visible { background: #fff; transform: translateX(4px); }
[dir='rtl'] .cmt-decision-grid > a:hover,
[dir='rtl'] .cmt-decision-grid > a:focus-visible { transform: translateX(-4px); }
.cmt-image-card h3 > span { transition: background-color var(--mw-duration-fast) ease, border-color var(--mw-duration-fast) ease, transform var(--mw-duration-fast) var(--mw-ease-out); }
.cmt-image-card:hover h3 > span,
.cmt-image-card:focus-within h3 > span { background: var(--mw-navy); border-color: var(--mw-navy); transform: translateX(3px); }
.cmt-image-card:hover h3 > span .cmt-icon,
.cmt-image-card:focus-within h3 > span .cmt-icon { filter: brightness(0) invert(1); }

.cmt-modal { overscroll-behavior: contain; }
.cmt-modal-panel { animation: mw-panel-in 300ms var(--mw-ease-out) both; }
.cmt-floating b { transition: transform var(--mw-duration-fast) var(--mw-ease-out), background-color var(--mw-duration-fast) ease; }
.cmt-floating button:hover b,
.cmt-floating a:hover b { transform: translateY(-3px); }

@keyframes mw-hero-copy-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes mw-hero-drift {
  from { transform: scale(1.015) translate3d(0, 0, 0); }
  to { transform: scale(1.06) translate3d(-1.2%, -1%, 0); }
}
@keyframes mw-panel-in {
  from { opacity: 0; transform: translateY(12px) scale(.985); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 720px) {
  .cmt-section h2 { max-width: none; }
  .cmt-section p { max-width: none; }
  .cmt-home-hero-content { animation-duration: 420ms; }
  .cmt-decision-grid > a:hover,
  .cmt-decision-grid > a:focus-visible { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .cmt-home-hero-content,
  .mw-hero-media .cmt-hero-video,
  .cmt-modal-panel { animation: none; }
  .mw-hero-media .cmt-hero-video,
  .mw-hero-media:hover .cmt-hero-video { transform: none; }
  .cmt-site :where(a, button, input, select, textarea) { scroll-behavior: auto; }
}
