/* Meridian Health: a calm gallery wall. Framed pieces, museum plaques, plum and sage on warm plaster. */
:root {
  --wall: #f4f0ec; --wall-2: #ebe4de; --paper: #ffffff; --ink: #2a1630; --plum: #6a2c6e; --plum-d: #4a1d4e; --plum-l: #efe3ee;
  --sage: #2f6f66; --muted: #675b6a; --line: rgba(42, 22, 48, .14); --oak: #a8835a; --r: 2px;
  --head: 'Inclusive Sans', system-ui, sans-serif; --body: 'Jost', system-ui, sans-serif; --top: 48px; --ease: cubic-bezier(.22, .7, .2, 1);
  color-scheme: light;
}
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .4s; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 150px; }
body { margin: 0; color: var(--ink); font: 400 1.0625rem/1.65 var(--body); overflow-x: hidden;
  background-color: var(--wall);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .4 0 0 0 0 .3 0 0 0 0 .38 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
img { max-width: 100%; display: block; }
a { color: inherit; }
p a, li a, dd a, .lnk { color: var(--plum); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--head); font-weight: 400; line-height: 1.12; letter-spacing: -.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 4.3rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.7rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.38rem); }
h4 { font: 600 1.05rem/1.35 var(--body); margin: 0 0 .35em; }
p { margin: 0 0 1em; }
.lede { font-size: 1.18rem; color: #463549; max-width: 62ch; }
.muted { color: var(--muted); } .small { font-size: .92rem; } .note { font-size: .86rem; color: var(--muted); }
.skip { position: absolute; left: 8px; top: 56px; z-index: 300; background: var(--plum); color: #fff; padding: 10px 16px; transform: translateY(-200%); }
.skip:focus { transform: none; }
:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.acc { font: 500 .72rem/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }

/* header: split nav around a centred logo */
.hd { position: fixed; top: var(--top); left: 0; right: 0; z-index: 60; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; height: 84px; padding: 0 clamp(16px, 3vw, 40px); background: rgba(244, 240, 236, .9); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: height .3s var(--ease), border-color .3s, box-shadow .3s; }
.scrolled .hd { height: 66px; border-color: var(--line); box-shadow: 0 8px 30px -20px rgba(42, 22, 48, .4); }
body { padding-top: 84px; }
.hd ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.hd ul a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; font-weight: 500; font-size: .98rem; position: relative; }
.hd ul a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 8px; height: 1.5px; background: var(--plum); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.hd ul a:hover::after, .hd ul a[aria-current="page"]::after { transform: none; }
.hd ul a[aria-current="page"] { color: var(--plum); }
.hd-r { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; justify-self: center; }
.logo svg { width: 46px; height: 46px; transition: width .3s, height .3s; }
.scrolled .hd .logo svg { width: 38px; height: 38px; }
.logo b { font: 400 1.45rem/1 var(--head); display: block; letter-spacing: -.01em; }
.logo small { display: block; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.menu-btn { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; font: 500 .95rem var(--body); color: var(--ink); cursor: pointer; justify-self: end; }
.menu-btn svg { width: 20px; height: 20px; }
@media (max-width: 1100px) {
  .hd { grid-template-columns: auto 1fr; height: 68px; } body { padding-top: 68px; }
  .hd-l, .hd-r { display: none; } .logo { justify-self: start; } .menu-btn { display: inline-flex; }
  .logo svg { width: 38px; height: 38px; } .logo b { font-size: 1.2rem; }
}
.menu { position: fixed; inset: var(--top) 0 0 0; z-index: 120; background: var(--plum-d); color: #f6eef5; overflow-y: auto; }
.menu[hidden] { display: none; }
.menu-in { max-width: 980px; margin: 0 auto; padding: 22px clamp(16px, 4vw, 48px) 60px; }
.menu-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.menu .acc { color: #d8c3d6; }
.menu-x { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: none; color: #fff; font-size: 1.6rem; cursor: pointer; }
.menu-main { list-style: none; margin: 0; padding: 0; }
.menu-main a { display: flex; align-items: baseline; gap: 18px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); text-decoration: none; font: 400 clamp(1.5rem, 4.5vw, 2.4rem)/1.2 var(--head); }
.menu-main .mn { font: 500 .8rem var(--body); letter-spacing: .14em; color: #cdb2cb; min-width: 28px; }
.menu-main a[aria-current="page"] { color: #f2c9e8; }
.menu-2 { list-style: none; margin: 22px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.menu-2 a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; color: #e9d9e7; }
.lang { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .9rem; }
.lang button { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid currentColor; background: none; color: inherit; font: 500 .92rem var(--body); cursor: pointer; }
.lang button[aria-pressed="true"] { background: #f6eef5; color: var(--plum-d); }
.lang small { width: 100%; opacity: .85; }

/* live strip */
.live { display: flex; align-items: center; gap: 18px; padding: 8px clamp(16px, 3vw, 40px); background: var(--paper); border-bottom: 1px solid var(--line); font-size: .88rem; }
.live-tag { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--sage); letter-spacing: .14em; text-transform: uppercase; font-size: .72rem; }
.live-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--sage); animation: blink 2s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.live-items { display: flex; gap: 24px; flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.live-items::-webkit-scrollbar { display: none; }
.live-items span { color: var(--muted); } .live-items b { color: var(--ink); font-weight: 600; }
.live-src { font-size: .76rem; color: var(--muted); white-space: nowrap; }
@media (max-width: 760px) { .live { flex-wrap: wrap; gap: 6px 14px; } .live-src { width: 100%; } }

/* rooms */
.room { padding: clamp(64px, 9vw, 128px) 0; position: relative; }
.room + .room::before { content: ''; position: absolute; top: 0; left: 50%; width: min(1180px, 90vw); transform: translateX(-50%); border-top: 1px solid var(--line); }
.room-hd { max-width: 760px; margin: 0 auto clamp(32px, 5vw, 60px); text-align: center; }
.room-no { display: inline-block; font: 500 .74rem var(--body); letter-spacing: .24em; text-transform: uppercase; color: var(--plum); padding: 6px 14px; border: 1px solid rgba(106, 44, 110, .35); border-radius: 999px; margin-bottom: 16px; }
.room-eb { display: block; font: italic 400 1.05rem var(--head); color: var(--muted); margin-bottom: 8px; }
.room-hd .lede { margin: 0 auto; }
.room.left .room-hd { text-align: left; margin-left: 0; }
.room.tint { background: linear-gradient(180deg, rgba(235, 228, 222, .7), rgba(235, 228, 222, 0)); }
.grid { display: grid; gap: clamp(16px, 2.4vw, 30px); }
.g2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.split { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split.rev > :first-child { order: 2; } }
.grid > *, .split > *, .wall > *, .banner .wrap > * { min-width: 0; }

/* framed art */
.art { margin: 0; position: relative; }
.art-a { text-decoration: none; display: block; color: inherit; }
.fr { position: relative; padding: 12px; background: #2a1630; box-shadow: 0 2px 0 rgba(255, 255, 255, .5) inset, 0 34px 40px -26px rgba(42, 22, 48, .55), 0 10px 14px -10px rgba(42, 22, 48, .35); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.fr.f-oak { background: linear-gradient(135deg, #b8916a, #8f6a43 60%, #a8835a); }
.fr.f-plum { background: linear-gradient(135deg, #7b3a80, #4a1d4e); }
.fr.f-black { background: #1d1420; }
.fr::before { content: ''; position: absolute; left: 50%; top: -46px; width: 70%; height: 46px; transform: translateX(-50%); background: radial-gradient(60% 100% at 50% 100%, rgba(255, 244, 222, .7), transparent 70%); pointer-events: none; opacity: .7; }
.mat { background: #fbf9f7; padding: clamp(10px, 2vw, 22px); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06), inset 0 2px 8px rgba(0, 0, 0, .08); }
.ph { position: relative; aspect-ratio: var(--ar, 4/5); overflow: hidden; background: linear-gradient(150deg, #e8dde6, #d6c6d4 55%, #c9d8d3); }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); color: transparent; }
.art:hover .ph img, .art-a:focus-visible .ph img { transform: scale(1.07); }
.art:hover .fr { transform: translateY(-4px); box-shadow: 0 2px 0 rgba(255, 255, 255, .5) inset, 0 44px 50px -26px rgba(42, 22, 48, .55), 0 14px 20px -10px rgba(42, 22, 48, .35); }
.plaque { margin-top: 18px; padding: 12px 14px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 6px 14px -10px rgba(42, 22, 48, .4); max-width: 340px; font-size: .92rem; line-height: 1.45; }
.plaque b { display: block; font: 500 1.02rem/1.3 var(--head); margin: 6px 0 2px; }
.plaque i { display: block; color: var(--muted); font-style: italic; }
.plaque p { margin: 8px 0 0; color: #4a3a4d; }
.plaque .pr { display: block; margin-top: 8px; font: 500 1.05rem var(--head); color: var(--plum); }

/* salon wall */
.wall { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(20px, 3vw, 44px) clamp(16px, 2.6vw, 36px); align-items: start; }
.wall > .art { grid-column: span 12; }
@media (min-width: 760px) {
  .wall > .art { grid-column: span 6; }
  .wall > .w4 { grid-column: span 4; } .wall > .w5 { grid-column: span 5; } .wall > .w7 { grid-column: span 7; } .wall > .w8 { grid-column: span 8; } .wall > .w3 { grid-column: span 3; }
  .wall > .dn { margin-top: 70px; } .wall > .dn2 { margin-top: 140px; } .wall > .up { margin-top: -40px; }
}

/* home hero exhibition */
.expo { padding: clamp(30px, 5vw, 64px) 0 clamp(50px, 7vw, 90px); }
.expo .wrap { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 1000px) { .expo .wrap { grid-template-columns: .82fr 1.18fr; } }
.expo h1 { font-size: clamp(2.1rem, 3.7vw, 3.5rem); view-transition-name: page-title; }
.expo .eb, .crumb { font: 500 .78rem var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--plum); margin-bottom: 18px; display: block; }
.crumb a { color: var(--muted); }
.model .fr { padding: 14px; }
.model .mat { padding: clamp(8px, 1.6vw, 18px); }
.stage { position: relative; aspect-ratio: 16/11; overflow: hidden; background: radial-gradient(90% 80% at 40% 20%, #ffffff, #efe7ec 60%, #e2d6de); }
@media (max-width: 640px) { .stage { aspect-ratio: 1/1; } }
.map-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s; }
.stage.is-live .map-canvas { opacity: 1; }
.stage.is-live .still { opacity: 0; }
.still { position: absolute; inset: 0; transition: opacity 1s; }
.still svg { width: 100%; height: 100%; }
.map-lbl { position: absolute; left: 0; top: 0; font: 500 .72rem var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); background: rgba(255, 255, 255, .82); padding: 3px 7px; border-radius: 2px; pointer-events: none; white-space: nowrap; transition: opacity .3s; }
.map-tip { position: absolute; z-index: 3; transform: translate(-50%, calc(-100% - 18px)); background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 3px; font-size: .84rem; pointer-events: none; max-width: 240px; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .5); }
.map-tip b { display: block; font-weight: 600; } .map-tip span { opacity: .85; }
.guide { margin-top: 18px; display: grid; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: 500 .9rem var(--body); cursor: pointer; }
.chip i { width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--plum)); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.near { display: grid; gap: 8px; }
.near-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.near-row label { font-weight: 500; }
.near-row select { min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); font: inherit; color: var(--ink); }
.near-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .92rem; }
.near-list li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; background: var(--paper); border: 1px solid var(--line); }
.near-list li span { color: var(--muted); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 999px; background: var(--plum); color: #fff; border: 1px solid var(--plum); font: 500 1rem var(--body); text-decoration: none; cursor: pointer; transition: background .25s, transform .25s var(--ease), box-shadow .25s; }
.btn:hover { background: var(--plum-d); box-shadow: 0 12px 26px -14px rgba(106, 44, 110, .8); }
.btn svg { width: 18px; height: 18px; }
.btn.ghost { background: transparent; color: var(--ink); border-color: rgba(42, 22, 48, .35); }
.btn.ghost:hover { border-color: var(--plum); color: var(--plum); box-shadow: none; }
.btn.sage { background: var(--sage); border-color: var(--sage); }
.btn.sm { min-height: 44px; padding: 0 18px; font-size: .94rem; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.acts { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* inner banner */
.banner { padding: clamp(34px, 5vw, 70px) 0 clamp(50px, 7vw, 90px); }
.banner .wrap { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (min-width: 960px) { .banner.has-art .wrap { grid-template-columns: 1.05fr .95fr; } .banner-art { max-width: 470px; justify-self: center; width: 100%; } }
.banner h1 { view-transition-name: page-title; max-width: 18ch; }
.facts { list-style: none; padding: 0; margin: 20px 0 26px; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.facts li { display: flex; align-items: center; gap: 8px; color: #463549; }
.facts svg { width: 22px; height: 22px; color: var(--sage); }

/* plaques (wall text) */
.plq { background: var(--paper); border: 1px solid var(--line); padding: clamp(20px, 2.6vw, 30px); position: relative; }
.plq::before { content: ''; position: absolute; left: 0; top: 0; width: 40px; height: 3px; background: var(--plum); }
.plq .ico { width: 34px; height: 34px; color: var(--sage); margin-bottom: 14px; display: block; }
.plq p:last-child { margin-bottom: 0; }
.plq h3 { margin-bottom: .35em; }

/* steps with drawn line */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); position: relative; }
.steps li { background: var(--paper); border: 1px solid var(--line); padding: 26px 22px; position: relative; }
.steps .sn { font: 400 2.4rem/1 var(--head); color: var(--plum); display: block; margin-bottom: 14px; }
.steps p { margin: 0; color: #4a3a4d; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); padding: 1px 0 0 1px; }
.stats > div { background: var(--paper); padding: 26px 24px; border: 1px solid var(--line); margin: -1px 0 0 -1px; }
.big { display: block; font: 400 clamp(2rem, 3.6vw, 3rem)/1 var(--head); color: var(--plum); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.stats p { margin: 0; color: var(--muted); font-size: .95rem; }

/* timeline */
.tl { list-style: none; margin: 0; padding: 0; border-left: 1.5px solid rgba(106, 44, 110, .35); }
.tl li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 0 0 26px 24px; position: relative; }
.tl li::before { content: ''; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--wall); border: 2px solid var(--plum); }
.tl time { font: 500 .82rem var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--plum); padding-top: 3px; }
.tl p { margin: 0; color: var(--muted); }
@media (max-width: 560px) { .tl li { grid-template-columns: 1fr; gap: 2px; } }

/* quotes as framed text */
.quotes { display: grid; gap: 30px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); align-items: start; }
.qart blockquote { margin: 0; padding: clamp(18px, 2.6vw, 30px); min-height: 220px; display: flex; align-items: center; }
.qart blockquote p { font: italic 400 1.22rem/1.45 var(--head); margin: 0; }
.quotes > :nth-child(2) { margin-top: 40px; }

/* tables */
.tbl { overflow-x: auto; background: var(--paper); border: 1px solid var(--line); -webkit-overflow-scrolling: touch; }
.tbl table { width: 100%; border-collapse: collapse; min-width: 640px; }
.tbl th, .tbl td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl thead th { font: 500 .76rem var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); background: #faf7f5; }
.tbl tbody th { font-weight: 600; }
.tbl tr:last-child td, .tbl tr:last-child th { border-bottom: 0; }
.tbl caption { caption-side: bottom; text-align: left; padding: 12px 16px; font-size: .86rem; color: var(--muted); }
.yes { color: var(--sage); font-weight: 600; } .no { color: var(--muted); }

/* faq */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-top: 1px solid var(--line); background: transparent; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 48px 20px 0; position: relative; font: 400 1.15rem/1.35 var(--head); min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 8px; top: 26px; width: 12px; height: 12px; border-right: 1.5px solid var(--plum); border-bottom: 1.5px solid var(--plum); transform: rotate(45deg); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 32px; }
.faq details > div { padding: 0 0 20px; color: #4a3a4d; max-width: 70ch; }

/* forms */
.card { background: var(--paper); border: 1px solid var(--line); padding: clamp(20px, 3vw, 36px); box-shadow: 0 24px 40px -34px rgba(42, 22, 48, .5); }
form .row, .row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.fld { display: grid; gap: 6px; margin-bottom: 14px; }
.fld label, .fld legend { font-weight: 500; font-size: .95rem; }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 50px; padding: 12px 14px; background: #fdfcfb; color: var(--ink); border: 1px solid rgba(42, 22, 48, .25); border-radius: var(--r); font: inherit; font-size: 1rem; }
.fld textarea { min-height: 120px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--plum); box-shadow: 0 0 0 3px rgba(106, 44, 110, .18); }
.fld .err { color: #a3263d; font-size: .86rem; }
.fld.bad input, .fld.bad select, .fld.bad textarea { border-color: #a3263d; }
fieldset { border: 0; padding: 0; margin: 0 0 14px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts label { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px; border: 1px solid var(--line); background: #fdfcfb; cursor: pointer; font-weight: 400; }
.opts input { accent-color: var(--plum); width: 18px; height: 18px; }
.opts label:has(input:checked) { border-color: var(--plum); background: var(--plum-l); }
input[type=range] { accent-color: var(--plum); width: 100%; min-height: 44px; }
.thanks { display: none; padding: 28px; background: var(--plum-l); border-left: 3px solid var(--plum); }
.thanks.on { display: block; }
form.done > :not(.thanks) { display: none; }
.sum { background: #faf7f5; border: 1px solid var(--line); padding: 18px; }
.sum dl { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; margin: 0; }
.sum dt { color: var(--muted); } .sum dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.sum .tot { border-top: 1px solid var(--line); padding-top: 10px; font-weight: 600; color: var(--ink); font-size: 1.1rem; }
.wiz-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 24px; padding: 0; counter-reset: s; }
.wiz-steps li { counter-increment: s; flex: 1; min-width: 110px; padding: 10px 0; border-top: 2px solid var(--line); font-size: .86rem; color: var(--muted); }
.wiz-steps li::before { content: counter(s, decimal-leading-zero) '  '; color: var(--plum); font-weight: 600; }
.wiz-steps li.on { border-color: var(--plum); color: var(--ink); } .wiz-steps li.done { border-color: var(--sage); }
.wiz-p { display: none; } .wiz-p.on { display: block; }

/* plan comparison cards */
.price { font: 400 2rem/1 var(--head); color: var(--plum); }
.price small { font: 400 .9rem var(--body); color: var(--muted); }

/* care network page */
.netmap { display: grid; gap: 22px; }
@media (min-width: 1000px) { .netmap { grid-template-columns: 1.35fr .65fr; align-items: start; } }
.netmap svg { width: 100%; height: auto; display: block; }
.netmap .stage { aspect-ratio: auto; }
.pv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-height: 640px; overflow-y: auto; }
.pv { background: var(--paper); border: 1px solid var(--line); padding: 12px 14px; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; }
.pv i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); margin-top: 7px; }
.pv b { font-weight: 600; } .pv span { grid-column: 2; font-size: .88rem; color: var(--muted); }
.tag { display: inline-block; font: 600 .7rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; padding: 5px 8px; background: var(--plum-l); color: var(--plum); margin-right: 4px; }
.tag.sg { background: #dfeeea; color: var(--sage); }
[data-pin] { transition: opacity .3s, transform .3s; transform-box: fill-box; transform-origin: center; }
[data-pin].off { opacity: .08; }
[data-pin].hl { transform: scale(1.6); }

/* slots */
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; }
.slots button { min-height: 46px; border: 1px solid var(--line); background: #fdfcfb; font: 500 .95rem var(--body); cursor: pointer; color: var(--ink); }
.slots button[aria-pressed="true"] { background: var(--sage); color: #fff; border-color: var(--sage); }
.slots button:disabled { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 14px; }
.days button { flex: none; min-width: 78px; min-height: 64px; border: 1px solid var(--line); background: #fdfcfb; cursor: pointer; font: 500 .85rem var(--body); color: var(--ink); }
.days button b { display: block; font: 400 1.3rem var(--head); }
.days button[aria-pressed="true"] { border-color: var(--plum); background: var(--plum-l); }

/* emergency block */
.emerg { background: var(--plum-d); color: #f6eef5; padding: clamp(28px, 5vw, 60px); display: grid; gap: 28px; }
@media (min-width: 900px) { .emerg { grid-template-columns: 1fr 1fr; align-items: center; } }
.emerg h2, .emerg h3 { color: #fff; }
.emerg a.num { font: 400 clamp(1.8rem, 4vw, 2.8rem) var(--head); color: #fff; text-decoration: none; display: inline-block; margin: 8px 0; }
.emerg ol { margin: 0; padding-left: 20px; } .emerg li { margin-bottom: 8px; }
.emerg .acc { color: #d8c3d6; }

/* AI line */
.ailine { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; padding: 24px; background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--sage); }
.ailine .wave { position: relative; width: 64px; height: 64px; border-radius: 50%; background: var(--sage); color: #fff; display: grid; place-items: center; }
.ailine .wave svg { width: 28px; height: 28px; }
.ailine .wave i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--sage); animation: ring 2.4s infinite; }
.ailine .wave i + i { animation-delay: 1.2s; }
@keyframes ring { from { transform: scale(1); opacity: .6; } to { transform: scale(1.6); opacity: 0; } }
.ailine b { display: block; font: 400 1.2rem/1.3 var(--head); margin-bottom: 4px; }
.ailine span { display: block; color: var(--muted); font-size: .95rem; }
.ailine a { display: inline-block; margin-top: 8px; font: 500 1.25rem var(--head); color: var(--sage); text-decoration: none; }

/* cta */
.cta-room { padding-top: 40px; }
.cta { text-align: center; max-width: 900px; margin: 0 auto; padding: clamp(36px, 6vw, 72px); background: var(--paper); border: 12px solid #fbf9f7; outline: 10px solid var(--plum); box-shadow: 0 40px 60px -40px rgba(42, 22, 48, .6); }
.cta .acts { justify-content: center; }
.cta .lede { margin: 0 auto 24px; }

/* member card */
.mcard { position: relative; aspect-ratio: 1.6; max-width: 420px; padding: 22px; color: #fff; background: radial-gradient(120% 120% at 100% 0, #8e4a93, #4a1d4e 60%); border-radius: 14px; box-shadow: 0 26px 40px -24px rgba(42, 22, 48, .8); overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; }
.mcard::after { content: ''; position: absolute; right: -40px; top: -40px; width: 200px; height: 200px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); }
.mcard .mc-t { display: flex; justify-content: space-between; align-items: center; }
.mcard svg { width: 36px; height: 36px; }
.mcard b { font: 400 1.35rem var(--head); display: block; }
.mcard small { opacity: .85; letter-spacing: .1em; text-transform: uppercase; font-size: .7rem; }
.st { display: inline-block; font: 600 .72rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; padding: 5px 8px; }
.st.ok { background: #dfeeea; color: #22564f; } .st.up { background: #f6ead9; color: #7a5212; } .st.due { background: #f6dde2; color: #8c2236; } .st.past { background: #ece7ea; color: var(--muted); }
.rows { display: grid; gap: 10px; }
.rowi { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 14px 16px; background: #fdfcfb; border: 1px solid var(--line); }
.msgs { display: grid; gap: 10px; }
.msgs .m { padding: 12px 14px; background: #fdfcfb; border: 1px solid var(--line); }
.msgs .m small { display: block; color: var(--muted); margin-bottom: 4px; }

/* charts */
.chart { background: var(--paper); border: 1px solid var(--line); padding: 22px; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart .ln { fill: none; stroke: var(--plum); stroke-width: 2.5; stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2.2s var(--ease) forwards .3s; }
.chart .ln.v { stroke: var(--sage); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.chart text { fill: var(--muted); font: 11px var(--body); }
.chart .grid line { stroke: rgba(42, 22, 48, .08); }
.chart .bar { fill: var(--plum); transform-origin: bottom; transform-box: fill-box; animation: grow 1.2s var(--ease) both; }
.chart .bar.v { fill: var(--sage); }
@keyframes grow { from { transform: scaleY(0); } }

/* prose */
.prose { max-width: 68ch; margin: 0 auto; }
.prose p, .prose li { color: #3c2c40; font-size: 1.1rem; }
.prose blockquote { margin: 1.6em 0; padding: 0 0 0 22px; border-left: 3px solid var(--plum); font: italic 1.35rem/1.45 var(--head); }

/* footer */
.ft { background: var(--ink); color: #e9dde8; padding: 64px 0 30px; }
.ft a { color: #f2e6f0; }
.ft-top { display: flex; flex-wrap: wrap; gap: 20px 60px; align-items: center; padding-bottom: 30px; border-bottom: 1px solid rgba(255, 255, 255, .14); margin-bottom: 30px; }
.ft-top .logo { justify-self: start; } .ft-top .logo small { color: #cdb2cb; } .ft-top p { max-width: 520px; margin: 0; color: #d6c6d4; }
.ft-g { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.ft h3 { font: 500 .78rem var(--body); letter-spacing: .2em; text-transform: uppercase; color: #cdb2cb; }
.ft ul { list-style: none; padding: 0; margin: 0; }
.ft ul a { display: inline-flex; min-height: 36px; align-items: center; text-decoration: none; }
.ft ul a:hover { text-decoration: underline; }
.ft-b { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .86rem; color: #cdb2cb; }
.toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 16px 6px 6px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; background: none; color: #fff; font: inherit; cursor: pointer; }
.toggle i { width: 36px; height: 22px; border-radius: 11px; background: rgba(255, 255, 255, .2); position: relative; }
.toggle i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; }
.toggle[aria-pressed="true"] i { background: var(--sage); } .toggle[aria-pressed="true"] i::after { transform: translateX(14px); }

/* phone bottom bar */
.emerg-bar { display: none; }
@media (max-width: 1100px) {
  .emerg-bar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .emerg-bar a, .emerg-bar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 58px; background: none; border: 0; color: var(--ink); text-decoration: none; font: 500 .74rem var(--body); cursor: pointer; }
  .emerg-bar svg { width: 22px; height: 22px; color: var(--plum); }
  .emerg-bar a:first-child svg { color: #a3263d; }
  body { padding-bottom: 60px; }
  .vb-launch { display: none; }
}

/* chat */
.vb-launch { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 22px 0 18px; border-radius: 999px; background: var(--plum); color: #fff; border: 0; cursor: pointer; font: 500 1rem var(--body); box-shadow: 0 18px 36px -16px rgba(74, 29, 78, .8); }
.vb-launch svg { width: 22px; height: 22px; }
.vb { position: fixed; right: 22px; bottom: 22px; z-index: 140; width: min(400px, calc(100vw - 24px)); height: min(640px, calc(100svh - 90px)); background: var(--paper); border: 1px solid var(--line); border-radius: 14px; display: none; flex-direction: column; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(42, 22, 48, .6); }
.vb.on { display: flex; }
@media (max-width: 1100px) { .vb { left: 10px; right: 10px; width: auto; bottom: 68px; height: calc(100svh - 136px); } }
.vb header { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--plum-d); color: #fff; }
.vb-av svg { width: 38px; height: 38px; display: block; }
.vb header b { display: block; font-weight: 600; } .vb header small { opacity: .85; font-size: .8rem; }
.vb-x { margin-left: auto; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: none; color: #fff; font-size: 1.4rem; cursor: pointer; }
.vb .log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: #faf7f5; }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 14px; font-size: .96rem; line-height: 1.45; }
.msg.bot { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg.me { background: var(--plum); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.msg .rc { margin-top: 8px; padding: 10px; border: 1px dashed rgba(42, 22, 48, .3); font-size: .9rem; }
.vb .chips { padding: 10px 16px; gap: 6px; background: #faf7f5; }
.vb .chips button { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--plum); background: #fff; color: var(--plum); font: 500 .86rem var(--body); cursor: pointer; }
.vb form { display: flex; gap: 8px; padding: 12px 16px 16px; border-top: 1px solid var(--line); }
.vb form input { flex: 1; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r); font: inherit; }
.typing { display: inline-flex; gap: 4px; } .typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1s infinite; }

/* Receivly modal */
.rv { position: fixed; inset: 0; z-index: 300; background: rgba(30, 14, 34, .62); display: none; place-items: center; padding: 60px 12px 12px; }
.rv.on { display: grid; }
.rv-box { width: min(440px, 100%); max-height: calc(100svh - 72px); overflow-y: auto; background: #fbfaf7; color: #17140f; border-radius: 14px; box-shadow: 0 40px 100px rgba(0, 0, 0, .4); font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; }
.rv-hd { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid #e8e4dc; }
.rv-logo { display: flex; align-items: center; gap: 8px; font-weight: 800; }
.rv-logo i { width: 26px; height: 26px; border-radius: 7px; background: #0f6b5c; display: grid; place-items: center; color: #fff; font-style: normal; font-size: .85rem; }
.rv-hd button { background: none; border: 0; font-size: 1.4rem; cursor: pointer; color: #555; width: 44px; height: 44px; }
.rv-bd { padding: 18px 20px 22px; }
.rv-amt { font-size: 1.9rem; font-weight: 800; margin: 2px 0; }
.rv-for { color: #5d574d; font-size: .9rem; margin-bottom: 16px; }
.rv-tabs { display: grid; grid-template-columns: 1fr 1fr; background: #efece5; border-radius: 10px; padding: 4px; margin-bottom: 16px; }
.rv-tabs button { min-height: 42px; border: 0; background: none; border-radius: 8px; font: 600 .92rem system-ui, sans-serif; cursor: pointer; color: #3d382f; }
.rv-tabs button[aria-selected="true"] { background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .12); color: #0f6b5c; }
.rv label { display: block; font-size: .8rem; font-weight: 600; color: #5d574d; margin: 10px 0 4px; }
.rv input { width: 100%; min-height: 46px; border: 1px solid #d6d1c6; border-radius: 8px; padding: 0 12px; font: 1rem system-ui, sans-serif; background: #fff; color: #17140f; }
.rv .r2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rv-bank { background: #f2efe8; border-radius: 10px; padding: 14px; font-size: .92rem; line-height: 1.7; }
.rv-go { width: 100%; min-height: 50px; margin-top: 16px; border: 0; border-radius: 10px; background: #0f6b5c; color: #fff; font: 700 1rem system-ui, sans-serif; cursor: pointer; }
.rv-ft { font-size: .76rem; color: #6b6457; text-align: center; margin-top: 12px; }
.rv-spin { width: 46px; height: 46px; border: 4px solid #d9e9e5; border-top-color: #0f6b5c; border-radius: 50%; margin: 28px auto 14px; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.rv-ok { width: 56px; height: 56px; border-radius: 50%; background: #0f6b5c; color: #fff; display: grid; place-items: center; margin: 8px auto 12px; font-size: 1.6rem; }
.rv-rc { border: 1px dashed #cfc8ba; border-radius: 10px; padding: 14px; font-size: .9rem; }
.rv-rc div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; } .rv-rc div span:first-child { color: #6b6457; }
.rv a.rv-dl { display: block; text-align: center; margin-top: 12px; color: #0f6b5c; font-weight: 700; }

.receipt-card { background: #fff; border: 1px solid var(--line); padding: clamp(22px, 4vw, 40px); max-width: 640px; margin: 0 auto; box-shadow: 0 30px 50px -40px rgba(42, 22, 48, .6); }
.receipt-card dl { display: grid; grid-template-columns: 1fr auto; gap: 10px 20px; margin: 18px 0; }
.receipt-card dt { color: var(--muted); } .receipt-card dd { margin: 0; text-align: right; font-weight: 600; }

/* low data and motion */
.lowdata .live-tag i, .lowdata .ailine .wave i { animation: none; }
.lowdata .map-canvas { display: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  .chart .ln { stroke-dashoffset: 0; }
}
@media print { .hd, .live, .ft, .emerg-bar, .vb, .vb-launch, #covorn-ribbon, #covorn-ribbon-space { display: none !important; } body { padding: 0; background: #fff; } }
@media (max-width: 1100px) { .vb-launch { display: none; } }
[hidden] { display: none !important; }
.tbl table:not(:has(thead th:nth-child(3))) { min-width: 0; }
