/* Revision 7 — the selected mobile composition.
   Load after revision6.css. Desktop retains the original hero action group. */

.hero-mobile-actions { display: none; }

/* Shared mobile header: a readable wordmark and compact, generous controls. */
@media (max-width: 900px) {
  .header .header-inner {
    min-height: 78px;
    gap: 6px;
    justify-content: flex-start;
  }
  .header .brand {
    flex: 0 0 auto;
    gap: 9px;
    color: #082f59;
  }
  .header .monogram {
    display: block;
    flex: 0 0 clamp(40px, 12.3vw, 48px);
    width: clamp(40px, 12.3vw, 48px);
    padding: 0;
    font-size: clamp(40px, 12.3vw, 48px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -.22em;
  }
  .header .brand-name {
    font-size: clamp(10.5px, 3.08vw, 12px);
    font-weight: 450;
    line-height: 1.2;
    letter-spacing: -.025em;
    color: #4c7592;
  }
  .header .brand-name strong {
    margin-top: 3px;
    font-size: clamp(13px, 3.98vw, 15.5px);
    font-weight: 650;
    line-height: 1.16;
    letter-spacing: -.04em;
    color: #082f59;
    white-space: nowrap;
  }
  .header .header-tools {
    gap: 4px;
    margin-inline-start: auto;
    flex: 0 0 auto;
  }
  .header .header-tools .site-search-trigger,
  .header .header-tools .site-search-trigger:hover,
  .header .header-tools .site-search-trigger:active {
    display: inline-flex;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    margin: 0;
    padding: 10px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #082f59;
  }
  .header .header-tools .site-search-trigger > svg {
    width: 26px;
    height: 26px;
    stroke-width: 1.7;
  }
  .header .header-tools .languages {
    gap: 8px;
    min-height: 44px;
    margin: 0;
    color: #557a94;
    font-size: 12px;
    font-weight: 550;
    line-height: 1;
  }
  .header .header-tools .languages a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    min-height: 44px;
  }
  .header .header-tools .languages a[aria-current="page"] {
    color: #082f59;
    font-weight: 750;
    text-decoration: none;
  }
  .header .header-tools .languages > span { opacity: .4; }
  .header .menu-button,
  .header .menu-button:hover,
  .header .menu-button:active {
    display: inline-flex;
    width: 44px;
    min-width: 44px;
    height: 44px;
    margin: 0;
    padding: 10px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #082f59;
    flex: 0 0 44px;
  }
  .header .menu-button > svg { width: 29px; height: 29px; }
}

/* Text, medical imagery and actions occupy separate rows on mobile. */
@media (max-width: 760px) {
  body[data-page="home"] .header-slot { top: 0; }
  body[data-page="home"] .header:not(.is-scroll-fixed) {
    border-bottom: 0;
    background: transparent;
  }
  body[data-page="home"] .hero {
    min-height: 0;
    isolation: isolate;
    background: linear-gradient(180deg, #e3f6fd 0%, #daf3fc 35%, #bfe9f8 73%, #d9f2fb 100%);
  }
  body[data-page="home"] .hero::before {
    z-index: -1;
    background: url('/assets/ice-flow.svg') 58% 50% / auto 100% no-repeat;
    opacity: .5;
  }
  body[data-page="home"] .hero::after { display: none; }
  body[data-page="home"] .hero .hero-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: calc(var(--sticky-header-height, 78px) + 8px) 0 0;
  }
  body[data-page="home"] .hero .hero-copy {
    position: relative;
    inset: auto;
    z-index: 3;
    width: calc(100% - 32px);
    max-width: none;
    margin: 0 auto;
    padding: 0;
  }
  body[data-page="home"] .hero h1 {
    margin: 0 0 8px;
    color: #062e59;
    font-size: clamp(36px, 12.3vw, 53px);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -.06em;
    white-space: normal;
  }
  body[data-page="home"] .hero h1 small {
    display: block;
    margin: 0 0 7px;
    color: #4c7897;
    font-size: clamp(16px, 4.2vw, 18px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -.025em;
  }
  body[data-page="home"] .hero h1 > span,
  body[data-page="home"] .hero h1 > span + span {
    display: inline;
    margin: 0;
  }
  body[data-page="home"] .hero .hero-specialty {
    max-width: none;
    margin: 0;
    color: #123c62;
    font-size: clamp(16px, 4.49vw, 18px);
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -.025em;
  }
  body[data-page="home"] .hero .hero-specialty::after {
    content: "";
    display: block;
    width: 36px;
    height: 3px;
    margin: 10px 0;
    border-radius: 2px;
    background: #36d2a0;
  }
  body[data-page="home"] .hero .hero-location {
    display: block;
    width: auto;
    max-width: none;
    margin: 0 0 9px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #244e70;
    font-size: clamp(12.5px, 3.58vw, 14px);
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: -.025em;
  }
  body[data-page="home"] .hero .hero-copy > .hero-actions { display: none; }
  body[data-page="home"] .hero .hero-visual {
    position: relative;
    inset: auto;
    z-index: 2;
    isolation: isolate;
    flex: none;
    width: 100%;
    max-width: none;
    height: clamp(210px, calc(100vh - 540px), 315px);
    height: clamp(210px, calc(100svh - 540px), 315px);
    margin: 0;
    overflow: hidden;
    background: radial-gradient(ellipse at 66% 48%, #d4f5fb80, transparent 65%);
  }
  body[data-page="home"] .hero .hero-visual::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 12%;
    bottom: 0;
    left: -3%;
    width: 70%;
    background: linear-gradient(90deg, #8dcce533 0%, #effcff99 8%, #ffffffb0 16%, #b2dfef33 21%, #eafaff75 32%, #f5ffffa0 40%, #aedbea26 46%, #e7f9fd70 61%, transparent 69%);
    filter: blur(2px);
    transform: skewY(-7deg);
    transform-origin: left bottom;
    opacity: .7;
  }
  body[data-page="home"] .hero .hero-visual::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(90deg, transparent 78%, #effcff57 78.3%, transparent 78.7%), linear-gradient(165deg, transparent 64%, #f7ffff7d 64.3%, transparent 64.8%), linear-gradient(18deg, transparent 73%, #effcff75 73.3%, transparent 73.8%), linear-gradient(0deg, #f2feff45 1px, transparent 1px);
    background-size: auto, auto, auto, 100% 68px;
    pointer-events: none;
  }
  body[data-page="home"] .hero .hero-visual .portrait-orbit {
    position: absolute;
    left: 0;
    right: auto;
    top: 0;
    bottom: 0;
    z-index: 2;
    width: 80%;
    max-width: none;
    height: 100%;
    max-height: none;
    aspect-ratio: auto;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }
  body[data-page="home"] .hero .hero-visual .portrait-orbit img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    padding: 0;
    border-radius: 0;
    object-fit: contain;
    object-position: left bottom;
    transform: none;
  }
  body[data-page="home"] .hero .anatomy-motion {
    position: absolute;
    left: auto;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1;
    width: 46%;
    height: 100%;
    margin: 0;
    opacity: 1;
    animation: none !important;
    transform: none;
    will-change: auto;
  }
  body[data-page="home"] .hero .anatomy-motion .digestive {
    position: static;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: right center;
    filter: drop-shadow(0 5px 9px #1684ac1f);
    transform: none;
  }
  body[data-page="home"] .hero .hero-chip { display: none; }
  body[data-page="home"] .hero-mobile-actions {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: minmax(0, 56fr) minmax(0, 44fr);
    align-items: stretch;
    gap: 10px;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 14px 16px;
    border: 0;
    background: linear-gradient(105deg, #f8fcfc, #f1f9fc);
  }
  body[data-page="home"] .hero-mobile-actions > .button {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    gap: 7px;
    padding: 5px 5px 5px 14px;
    border: 1px solid #0d4977;
    border-radius: 100px;
    background: linear-gradient(100deg, #082d5c, #0c4e7e);
    box-shadow: none;
    font-size: clamp(11.5px, 3.59vw, 14px);
    font-weight: 700;
    letter-spacing: -.04em;
    line-height: 1.2;
    white-space: nowrap;
  }
  body[data-page="home"] .hero-mobile-actions .arrow {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #6be8ac, #43cfad);
    box-shadow: none;
  }
  body[data-page="home"] .hero-mobile-actions .arrow svg { width: 21px; height: 21px; }
  body[data-page="home"] .hero-mobile-actions > .button.secondary {
    gap: 5px;
    padding-left: 12px;
    border-color: #4b9bce;
    background: #fbfdfe;
    color: #0b355c;
    font-size: clamp(10.5px, 3.2vw, 12.5px);
    letter-spacing: -.035em;
  }
  body[data-page="home"] .hero-mobile-actions .button.secondary .arrow {
    width: 29px;
    height: 34px;
    background: transparent;
    color: #1272ac;
  }

  /* The four records lead the section; explanatory text and links stay visible. */
  body[data-page="home"] .hero + .wrap { width: 100%; }
  body[data-page="home"] .science {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-top: 0;
    padding: 20px 16px 22px;
    border: 0;
    border-radius: 24px 24px 0 0;
    background: linear-gradient(135deg, #fbfeff, #f0f8fd);
    box-shadow: none;
  }
  body[data-page="home"] .science-copy { display: contents; }
  body[data-page="home"] .science-copy h2 {
    order: 1;
    width: 100%;
    margin: 0;
    color: #082f59;
    font-size: clamp(25px, 6.9vw, 29px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.055em;
  }
  body[data-page="home"] .science-body { display: block; order: 2; width: 100%; }
  body[data-page="home"] .science-copy p {
    order: 3;
    width: 100%;
    max-width: none;
    margin: 0;
    color: #4c6d83;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.6;
    text-align: left;
  }
  body[data-page="home"] .science-copy > .button { order: 4; }
  body[data-page="home"] .science .stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin: 0;
    padding: 0;
    border: 0;
  }
  body[data-page="home"] .science .stat {
    min-width: 0;
    padding: 10px 4px 7px;
    border: 1px solid #c7e2f1;
    border-radius: 10px;
    background: #f8fcff;
  }
  body[data-page="home"] .science .stat b {
    font-size: clamp(26px, 7.2vw, 30px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.055em;
  }
  body[data-page="home"] .science .stat span {
    min-height: 30px;
    max-width: none;
    margin-top: 6px;
    font-size: clamp(10px, 2.8vw, 11.5px);
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: -.025em;
  }
  body[data-page="home"] .science .stat-link {
    min-height: 28px;
    margin-top: 7px;
    padding: 5px 2px;
    gap: 3px;
    border-color: #c7dfe9;
    background: transparent;
    font-size: clamp(9px, 2.4vw, 10px);
    line-height: 1.25;
  }
}

@media (max-width: 350px) {
  .header .header-inner { width: calc(100% - 24px); gap: 4px; }
  .header .brand { gap: 6px; }
  .header .header-tools { gap: 0; }
  .header .header-tools .languages { gap: 4px; }
  body[data-page="home"] .hero-mobile-actions { gap: 8px; padding: 12px 16px; }
  body[data-page="home"] .hero-mobile-actions > .button {
    min-height: 48px;
    gap: 5px;
    padding-left: 10px;
  }
  body[data-page="home"] .hero-mobile-actions .arrow { width: 30px; height: 30px; }
  body[data-page="home"] .hero-mobile-actions > .button.secondary { gap: 3px; padding-left: 9px; }
  body[data-page="home"] .hero-mobile-actions .button.secondary .arrow { width: 24px; height: 30px; }
}

@media (max-width: 760px) and (max-height: 700px) {
  body[data-page="home"] .hero .hero-inner { padding-top: calc(var(--sticky-header-height, 78px) + 4px); }
  body[data-page="home"] .hero h1 { margin-bottom: 7px; }
  body[data-page="home"] .hero h1 small { margin-bottom: 5px; }
  body[data-page="home"] .hero .hero-specialty::after { margin-block: 8px; }
  body[data-page="home"] .hero .hero-location { margin-bottom: 6px; }
  body[data-page="home"] .hero-mobile-actions { padding-block: 12px; }
}

@media (max-width: 760px) and (max-height: 620px) {
  body[data-page="home"] .hero .hero-visual {
    height: clamp(136px, calc(100svh - 420px), 200px);
  }
}
.treatment-cover{aspect-ratio:2.4;max-height:none}
.treatment-cover img{display:block;height:100%;width:100%;object-fit:cover;object-position:center}
@media(max-width:760px){.treatment-cover{aspect-ratio:1.5;max-height:none}.treatment-cover img{height:100%}}
