/* =========================================================
   Solace Care Pharmacy — "Morning light"
   Bright, airy and friendly: white pages, soft sky / mint / peach
   panels, rounded shapes, one bright 3D moment in the hero.
   Display: Lexend · Body: Figtree
   ========================================================= */
:root {
  --ink: #13294B;          /* logo navy, used for headings */
  --green: #0F6B4F;        /* deep emerald: buttons, links, highlights (AA on white) */
  --green-2: #2EA35F;      /* logo green */
  --sun: #B8913A;          /* muted gold accent */
  --gold: #B8913A; --gold-text: #8A6D25; --evergreen: #0B2A22;
  --sky: #EDF5F1;
  --mint: #E4F0EA;
  --peach: #F6F1E5;
  --cloud: #F3F8F5;

  --bg: #F7FAF8; --surface: #FFFFFF; --soft: var(--cloud);
  --text: #23324A; --muted: #5B6B82; --line: #E0EAE4; --heading: var(--ink); --link: var(--green);
  --focus: #F2B705;
  --shadow-s: 0 1px 2px rgba(19,41,75,.06), 0 6px 18px -10px rgba(19,41,75,.18);
  --shadow: 0 2px 4px rgba(19,41,75,.04), 0 18px 44px -22px rgba(19,41,75,.28);

  --f-display: "Lexend", "Segoe UI", system-ui, sans-serif;
  --f-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --step--1: clamp(.9rem, .87rem + .1vw, .96rem);
  --step-0: clamp(1.05rem, 1rem + .2vw, 1.14rem);
  --step-1: clamp(1.22rem, 1.12rem + .4vw, 1.4rem);
  --step-2: clamp(1.5rem, 1.32rem + .8vw, 1.9rem);
  --step-3: clamp(1.9rem, 1.55rem + 1.6vw, 2.7rem);
  --step-4: clamp(2.4rem, 1.8rem + 3vw, 4.1rem);
  --r-s: 12px; --r: 20px; --r-l: 32px;
  --wrap: 1440px; --gutter: clamp(16px, 3.6vw, 56px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E1A2B; --surface: #142338; --soft: #17283F; --sky: #16304A; --mint: #133A2A; --peach: #3A2A1C; --cloud: #17283F;
    --text: #E6EDF5; --muted: #A7B5C7; --line: #263A55; --heading: #F2F6FB; --link: #6FD497; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0E1A2B; --surface: #142338; --soft: #17283F; --sky: #16304A; --mint: #133A2A; --peach: #3A2A1C; --cloud: #17283F;
  --text: #E6EDF5; --muted: #A7B5C7; --line: #263A55; --heading: #F2F6FB; --link: #6FD497; color-scheme: dark;
}
:root[data-textsize="large"] { font-size: 118%; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: var(--step-0)/1.62 var(--f-body); top: 0 !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--heading); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 600; text-wrap: balance; }
h1 { font-size: var(--step-4); font-weight: 700; letter-spacing: -.03em; }
h2 { font-size: var(--step-3); } h3 { font-size: var(--step-1); line-height: 1.25; letter-spacing: -.01em; }
p { margin: 0 0 1em; max-width: 66ch; }
.lead { font-size: var(--step-1); color: var(--muted); line-height: 1.5; max-width: 56ch; }
.muted { color: var(--muted); } .small { font-size: var(--step--1); } .fine { opacity: .8; max-width: none; margin-top: 14px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(56px, 7vw, 100px); }
.section-head { max-width: 720px; margin-bottom: clamp(24px, 3.5vw, 40px); }
.section-head.center { margin-inline: auto; text-align: center; } .section-head.center .lead { margin-inline: auto; }
.room { border-radius: var(--r-l); padding: clamp(28px, 5vw, 64px); }
.room--sky { background: var(--sky); } .room--mint { background: var(--mint); } .room--peach { background: var(--peach); } .room--cloud { background: var(--cloud); }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--focus); color: #000; padding: 10px 16px; border-radius: 8px; z-index: 1000; font-weight: 700; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#google_translate_element, .goog-te-banner-frame, .skiptranslate iframe { display: none !important; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.4em; border-radius: 999px; font: 700 var(--step-0)/1 var(--f-body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn svg { width: 1.1em; height: 1.1em; }
.btn--primary, .btn--dawn { background: var(--green); color: #fff; box-shadow: 0 8px 20px -10px rgba(28,138,74,.7); } .btn--primary:hover, .btn--dawn:hover { background: #167A40; color: #fff; }
.btn--sun { background: var(--green); color: #fff; box-shadow: 0 8px 20px -10px rgba(15,107,79,.7); } .btn--sun:hover { background: #E07A27; color: #fff; }
.btn--ghost, .btn--glass { background: var(--surface); color: var(--heading); border-color: var(--line); } .btn--ghost:hover, .btn--glass:hover { border-color: var(--heading); color: var(--heading); }
.btn--light { background: #fff; color: var(--ink); } .btn--light:hover { background: var(--mint); color: var(--ink); }
.btn--sm { padding: .6em 1.05em; font-size: .96rem; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-btn { background: none; border: 0; padding: 4px 2px; color: var(--link); font: 700 .92rem var(--f-body); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.text-link { font-weight: 700; color: var(--link); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Header: slim info strip + floating white nav bar ---------- */
.masthead { position: sticky; top: 0; z-index: 60; padding-bottom: 8px; background: linear-gradient(var(--bg) 70%, transparent); }
.utility { background: var(--mint); color: var(--ink); font-size: var(--step--1); }
.utility .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 38px; }
.utility-left { display: flex; gap: 22px; align-items: center; }
.utility-left > * { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.utility svg { width: 15px; height: 15px; color: var(--green); }
.utility a { color: var(--ink); text-decoration: none; font-weight: 700; }
.utility-tools { display: flex; gap: 6px; align-items: center; }
.tool-btn, .lang-select { background: #fff; color: var(--ink); border: 1px solid #CFE3D7; border-radius: 999px; padding: 3px 11px; font: 700 .82rem/1.4 var(--f-body); cursor: pointer; display: inline-flex; gap: 6px; align-items: center; width: auto; }
.tool-btn svg { width: 14px; height: 14px; color: var(--ink); }
.tool-btn[aria-pressed="true"] { background: var(--ink); color: #fff; } .tool-btn[aria-pressed="true"] svg { color: #fff; }
.site-header { margin-top: 10px; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 10px 8px 18px; box-shadow: var(--shadow-s); min-height: 92px; transition: min-height .3s, box-shadow .3s; }
.masthead.is-scrolled .site-header .wrap { min-height: 72px; box-shadow: var(--shadow); }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-logo { position: relative; display: block; width: 176px; height: 110px; transition: width .3s, height .3s; flex: none; }
.brand-logo img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 4px 8px rgba(19,41,75,.12)); }
.brand-logo-x canvas { position: absolute; inset: -6px -10px; width: calc(100% + 20px) !important; height: calc(100% + 12px) !important; filter: drop-shadow(0 6px 8px rgba(19,41,75,.25)); }
.masthead.is-scrolled .brand-logo { width: 136px; height: 85px; }
.brand-name { font: 700 2.05rem/1 var(--f-display); color: var(--heading); letter-spacing: -.02em; }
.brand-name small { display: block; font: 600 1.3rem/1.2 var(--f-display); color: var(--green); margin-top: 4px; letter-spacing: .01em; }
.brand-name em { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; align-items: center; }
.nav a { display: block; padding: 10px 14px; border-radius: 999px; color: var(--heading); font-weight: 600; text-decoration: none; white-space: nowrap; }
.nav a:hover { background: var(--cloud); }
.nav a[aria-current="page"] { background: var(--mint); color: var(--green); }
.nav .btn { margin-left: 6px; color: #fff; padding: .78em 1.25em; }
.nav-toggle { display: none; background: var(--cloud); border: 0; color: var(--ink); border-radius: 50%; width: 50px; height: 50px; cursor: pointer; place-items: center; }
.nav-toggle svg { width: 24px; height: 24px; }
@media (max-width: 1140px) {
  .nav-toggle { display: inline-grid; }
  .nav { position: fixed; inset: 0; top: var(--mast-h, 150px); background: var(--bg); padding: 16px var(--gutter); transform: translateX(100%); visibility: hidden; transition: transform .3s, visibility .3s; overflow-y: auto; }
  .nav.is-open { transform: none; visibility: visible; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 6px; }
  .nav a { font-size: 1.2rem; padding: 14px 18px; background: var(--cloud); }
  .nav .btn { margin: 12px 0 0; }
}
@media (max-width: 900px) { .hide-md { display: none !important; } }
@media (max-width: 640px) {
  .hide-sm { display: none !important; }
  .site-header .wrap { border-radius: 22px; min-height: 76px; padding-left: 12px; }
  .brand-logo { width: 112px; height: 70px; } .masthead.is-scrolled .brand-logo { width: 96px; height: 60px; }
  .brand-name { font-size: 1.4rem; } .brand-name small { font-size: .95rem; }
  .brand { gap: 8px; }
}
@media (max-width: 370px) { .brand-name { display: none; } }

/* ---------- Home hero: bright morning sky with the 3D vial ---------- */
.hero { position: relative; overflow: hidden; border-radius: var(--r-l); margin-top: 6px;
  background: radial-gradient(640px 420px at 76% 82%, rgba(255,203,150,.7), transparent 66%),
              radial-gradient(900px 500px at 20% 0%, rgba(255,255,255,.95), transparent 60%),
              linear-gradient(180deg, #CFE4F7 0%, #E3EFFA 48%, #F5F9FD 100%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; min-height: clamp(520px, 72vh, 680px); padding: clamp(32px, 5vw, 64px) clamp(28px, 5vw, 64px) clamp(70px, 8vw, 96px); gap: 20px; position: relative; z-index: 2; pointer-events: none; }
.hero-inner > * { pointer-events: auto; }
.hero h1 { color: var(--ink); max-width: 11ch; }
.hero .lead { color: #3B4D66; max-width: 32ch; }
.hero-stage { position: absolute; inset: 0; z-index: 1; }
.hero-stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.hero-stage .stage-fallback { position: absolute; right: 6%; top: 50%; translate: 0 -50%; width: min(40%, 480px); border-radius: var(--r); box-shadow: var(--shadow); }
.has-3d > .stage-fallback { display: none; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; list-style: none; padding: 0; }
.hero-badges li { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.9); border-radius: 999px; padding: 7px 14px; font-weight: 600; font-size: .95rem; color: var(--ink); box-shadow: var(--shadow-s); }
.hero-badges svg { width: 18px; height: 18px; color: var(--green); }
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; min-height: 0; padding-top: 290px; }
  .hero-stage { bottom: auto; height: 330px; }
  .hero-stage .stage-fallback { right: 50%; translate: 50% -50%; width: 70%; }
}

/* Quick-action dock under the hero */
.dock { position: relative; z-index: 3; margin: -50px auto 0; width: min(100% - 2 * var(--gutter) - 48px, 1060px); background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(5, 1fr); overflow: hidden; }
.dock a { display: grid; justify-items: center; gap: 8px; padding: 22px 10px 20px; text-decoration: none; color: var(--heading); font-weight: 700; text-align: center; line-height: 1.2; transition: background .2s; }
.dock a + a { border-left: 1px solid var(--line); }
.dock a:hover { background: var(--cloud); }
.dock .ic { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; transition: transform .2s; }
.dock a:hover .ic { transform: scale(1.06); }
.dock .ic svg { width: 25px; height: 25px; }
.dock a:nth-child(1) .ic { background: var(--mint); color: var(--green); }
.dock a:nth-child(2) .ic { background: var(--sky); color: #2563A8; }
.dock a:nth-child(3) .ic { background: var(--peach); color: #C2611B; }
.dock a:nth-child(4) .ic { background: #F1ECFB; color: #6B4FB8; }
.dock a:nth-child(5) .ic { background: #FDECEF; color: #C23B5A; }
.dock small { display: block; font-weight: 500; color: var(--muted); font-size: .86rem; }
@media (max-width: 760px) { .dock { grid-template-columns: repeat(2, 1fr); margin-top: -34px; width: min(100% - 2 * var(--gutter), 1060px); } .dock a:nth-child(odd) { border-left: 0; } .dock a:nth-child(n+3) { border-top: 1px solid var(--line); } .dock a:last-child { grid-column: 1 / -1; } }

/* ---------- Blocks ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 960px) { .grid-2 { grid-template-columns: 1fr; } .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.photo { border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow); }
.photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.tile { background: var(--surface); border-radius: var(--r); padding: 24px; color: inherit; text-decoration: none; display: block; box-shadow: var(--shadow-s); transition: transform .2s, box-shadow .2s; }
a.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tile h3 { margin-bottom: .3em; font-size: 1.18rem; } .tile p { color: var(--muted); margin: 0; line-height: 1.55; }
.ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); color: var(--green); margin-bottom: 14px; flex: none; }
.ico svg { width: 23px; height: 23px; }
.tile:nth-child(4n+2) .ico { background: var(--sky); color: #2563A8; }
.tile:nth-child(4n+3) .ico { background: var(--peach); color: #C2611B; }
.tile:nth-child(4n+4) .ico { background: #F1ECFB; color: #6B4FB8; }
.checks-list { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 12px; }
.checks-list li { position: relative; padding-left: 34px; }
.checks-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--green-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/14px no-repeat; }
.checks-list--two { grid-template-columns: 1fr 1fr; column-gap: 28px; }
@media (max-width: 640px) { .checks-list--two { grid-template-columns: 1fr; } }

.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.door { display: grid; grid-template-rows: 240px auto; border-radius: var(--r-l); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-s); text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s; }
.door:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.door img { width: 100%; height: 100%; object-fit: cover; }
.door-body { padding: 24px 28px 28px; }
.door .for { font-weight: 700; color: var(--green); font-size: var(--step--1); }
.door h3 { font-size: var(--step-2); margin: .25em 0; }
.door p { color: var(--muted); }
.door .cta { font-weight: 700; color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 860px) { .doors { grid-template-columns: 1fr; } }

.form-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.form-tile { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; background: var(--surface); border-radius: var(--r-s); padding: 14px 16px; text-decoration: none; color: inherit; box-shadow: var(--shadow-s); transition: box-shadow .2s, transform .2s; }
.form-tile:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.form-tile .ico { margin: 0; width: 44px; height: 44px; }
.form-tile strong { display: block; color: var(--heading); line-height: 1.25; }
.form-tile span span { display: block; color: var(--muted); font-size: .9rem; line-height: 1.4; margin-top: 3px; }
@media (max-width: 960px) { .form-tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .form-tiles { grid-template-columns: 1fr; } }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; background: var(--surface); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow-s); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: #fff; font: 700 1.05rem var(--f-display); margin-bottom: 14px; }
.steps h3 { font-size: 1.12rem; } .steps p { color: var(--muted); margin: 0; }
.steps--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .steps, .steps--3 { grid-template-columns: 1fr; } }

.band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.band div { background: var(--surface); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow-s); }
.band strong { display: block; font: 700 var(--step-2)/1.1 var(--f-display); color: var(--green); margin-bottom: 6px; }
.band span { color: var(--muted); font-size: var(--step--1); }
@media (max-width: 860px) { .band { grid-template-columns: 1fr 1fr; } }

.callout { border-radius: var(--r-l); padding: clamp(28px, 5vw, 56px); background: linear-gradient(115deg, #0B2A22, #0F6B4F); color: #fff; display: grid; grid-template-columns: 1.4fr auto; gap: 24px; align-items: center; }
.callout h2 { color: #fff; margin-bottom: .25em; } .callout p { color: #E3F6EA; margin: 0; }
.callout .btn--ghost, .callout .btn--glass { background: transparent; color: #fff; border-color: rgba(255,255,255,.65); }
@media (max-width: 760px) { .callout { grid-template-columns: 1fr; } }
.notice { border-left: 4px solid var(--sun); background: var(--peach); padding: 16px 20px; border-radius: 0 var(--r-s) var(--r-s) 0; font-size: var(--step--1); max-width: 82ch; }
.notice p { margin: 0; }

.rating { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.rating .score { font: 700 clamp(3rem, 2rem + 3vw, 4.4rem)/1 var(--f-display); color: var(--heading); }
.stars { color: #F2A60C; letter-spacing: 2px; font-size: 1.3rem; }
@media (max-width: 760px) { .rating { grid-template-columns: 1fr; } }

.faq { max-width: 860px; display: grid; gap: 10px; }
.faq details { background: var(--surface); border-radius: var(--r-s); padding: 0 20px; box-shadow: var(--shadow-s); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 44px 18px 0; font: 600 var(--step-0)/1.35 var(--f-display); color: var(--heading); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; translate: 0 -50%; width: 30px; height: 30px; border-radius: 50%; background: var(--mint); color: var(--green); display: grid; place-items: center; font: 700 1.2rem/1 var(--f-body); transition: rotate .25s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details > div { padding-bottom: 18px; color: var(--muted); }

/* ---------- Inner page hero ---------- */
.page-hero { padding-top: 6px; }
.page-hero > .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 24px; align-items: center; min-height: 400px; border-radius: var(--r-l); padding: clamp(28px, 5vw, 60px); background: var(--sky); }
.page-hero--mint > .wrap { background: var(--mint); } .page-hero--peach > .wrap { background: var(--peach); } .page-hero--cloud > .wrap { background: var(--cloud); }
.crumbs { font-size: var(--step--1); color: var(--muted); margin-bottom: 12px; } .crumbs a { color: var(--muted); }
.hero-3d { position: relative; width: 100%; aspect-ratio: 1 / 1; max-height: 440px; }
.hero-3d canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.hero-3d .stage-fallback { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); }
.hero-3d--short { aspect-ratio: 16 / 10; max-height: 300px; }
@media (max-width: 860px) { .page-hero > .wrap { grid-template-columns: 1fr; min-height: 0; } .hero-3d { order: -1; max-height: 280px; aspect-ratio: 4/3; } .hero-3d--short { display: none; } }

/* ---------- Forms Center ---------- */
.fc { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.fc-sticky { position: sticky; top: calc(var(--mast-h, 150px) + 12px); max-height: calc(100vh - var(--mast-h, 150px) - 24px); overflow-y: auto; padding: 4px; }
.fc-group { font: 700 .8rem var(--f-body); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin: 18px 0 6px 10px; }
.fc-group:first-child { margin-top: 0; }
.fc-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.fc-side a { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 12px; color: var(--heading); text-decoration: none; font-weight: 600; font-size: .97rem; line-height: 1.25; }
.fc-side a svg { width: 20px; height: 20px; color: var(--green); }
.fc-side a:hover { background: var(--cloud); }
.fc-side a[aria-current="true"] { background: var(--mint); color: var(--green); }
.fc-help { display: flex; gap: 12px; align-items: center; margin-top: 20px; padding: 14px; border-radius: var(--r-s); background: var(--peach); }
.fc-help svg { width: 22px; height: 22px; color: #C2611B; flex: none; }
.fc-help strong { display: block; color: var(--heading); } .fc-help a { font-weight: 700; white-space: nowrap; }
.fc-panel h2 { font-size: var(--step-3); }
.fc-select { display: none; }
@media (max-width: 960px) {
  .fc { grid-template-columns: 1fr; }
  .fc-side { display: none; }
  .fc-select { display: block; position: sticky; top: calc(var(--mast-h, 120px) + 4px); z-index: 5; background: var(--bg); padding: 8px 0; }
  .fc-select select { font-weight: 700; border-color: var(--green-2); }
}

.form-card { background: var(--surface); border-radius: var(--r-l); padding: clamp(20px, 4vw, 40px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.form-grid > .full, .form-grid .full { grid-column: 1 / -1; }
.form-grid > [hidden] { display: none !important; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-sec { font-size: 1.12rem; margin: 18px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--green); }
.form-grid > .form-sec:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.form-note { margin: 0; padding: 12px 14px; background: var(--sky); border-radius: 12px; font-size: var(--step--1); color: var(--text); max-width: none; }
label, legend { display: block; font-weight: 700; color: var(--heading); font-size: .98rem; margin-bottom: 6px; }
.req { color: #C0392B; }
.hint { display: block; font-size: .86rem; color: var(--muted); margin-top: 4px; }
input, select, textarea { width: 100%; font: 1rem/1.4 var(--f-body); padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--cloud); color: var(--text); transition: border-color .15s, background .15s; }
input:hover, select:hover, textarea:hover { border-color: #C9D5E2; }
input:focus, select:focus, textarea:focus { border-color: var(--green-2); background: var(--surface); outline: 3px solid color-mix(in srgb, var(--green-2) 25%, transparent); outline-offset: 0; }
textarea { min-height: 110px; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.opt { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 9px 14px; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 500; cursor: pointer; background: var(--surface); }
.opt input { width: 18px; height: 18px; margin: 0; accent-color: var(--green); flex: none; padding: 0; }
.opt:has(input:checked) { border-color: var(--green-2); background: var(--mint); font-weight: 700; }
.checks .opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.checks .opt { border-radius: 12px; }
.checks.missing .opts { outline: 2px solid #C0392B; outline-offset: 4px; border-radius: 12px; }
.yn { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.yn legend { float: left; margin: 0; font-weight: 500; color: var(--text); }
.yn .opts { flex-wrap: nowrap; } .yn .opt { padding: 6px 14px; }
.check-row { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--text); background: var(--peach); padding: 14px 16px; border-radius: 14px; margin: 0; }
.check-row input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--green); padding: 0; }
.sigpad .lbl { display: block; font-weight: 700; color: var(--heading); margin-bottom: 6px; }
.sigpad canvas { display: block; width: 100%; height: 160px; border: 1.5px dashed #C9D5E2; border-radius: 14px; background: #fff; touch-action: none; cursor: crosshair; }
.sigpad.signed canvas { border-style: solid; border-color: var(--green-2); }
.sigpad.missing canvas { border-color: #C0392B; }
.sig-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; color: var(--muted); }
.repeat { border: 1.5px solid var(--line); border-radius: 16px; padding: 16px; }
.repeat legend { padding: 0 6px; }
.repeat-row { padding: 14px 0; border-bottom: 1px dashed var(--line); }
.repeat-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; color: var(--green); }
.form-actions { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; margin-top: 24px; }
.form-actions p { margin: 0; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 12px; font-weight: 700; display: none; max-width: none; }
.form-status.ok { display: block; background: var(--mint); color: var(--green); }
.form-status.err { display: block; background: #FDECEA; color: #A93226; }
.hp { position: absolute; left: -9999px; }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; }
.contact-list .ico { margin: 0; }
.contact-list strong { display: block; color: var(--heading); }
.map { border: 0; width: 100%; height: 380px; border-radius: var(--r-l); }
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.site-footer { background: var(--mint); color: var(--text); padding-block: 60px 26px; font-size: var(--step--1); margin-top: clamp(40px, 6vw, 80px); border-radius: var(--r-l) var(--r-l) 0 0; }
.site-footer h2 { color: var(--heading); font: 700 1.02rem var(--f-display); letter-spacing: 0; margin-bottom: 14px; }
.site-footer a { color: var(--heading); text-decoration: none; } .site-footer a:hover { text-decoration: underline; color: var(--green); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.1fr; gap: 36px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-brand img { height: 96px; width: auto; margin-bottom: 14px; }
.g-rating { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; text-decoration: underline !important; }
.footer-bottom { border-top: 1px solid #CFE3D7; margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.quickbar { display: none; }
@media (max-width: 760px) {
  .quickbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 70; background: var(--surface); border-radius: 20px; box-shadow: 0 12px 30px -10px rgba(19,41,75,.35); overflow: hidden; border: 1px solid var(--line); }
  .quickbar a { color: var(--heading); text-decoration: none; display: grid; justify-items: center; gap: 2px; padding: 10px 4px; font-weight: 700; font-size: .78rem; }
  .quickbar a + a { border-left: 1px solid var(--line); }
  .quickbar svg { width: 20px; height: 20px; color: var(--green); }
  body { padding-bottom: 80px; }
}
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 80; max-width: 400px; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; box-shadow: var(--shadow); display: none; }
.cookie.show { display: block; } .cookie p { font-size: var(--step--1); margin-bottom: 12px; }
@media (max-width: 760px) { .cookie { left: 10px; right: 10px; bottom: 92px; max-width: none; } }
.prose { max-width: 760px; } .prose h2 { font-size: var(--step-2); margin-top: 1.6em; } .prose ul { padding-left: 1.2em; } .prose li { margin-bottom: .4em; }
.hours { width: 100%; border-collapse: collapse; } .hours td { padding: 8px 0; border-bottom: 1px solid var(--line); } .hours td:last-child { text-align: right; font-weight: 700; }
@media print { .masthead, .quickbar, .cookie, .site-footer, .hero-3d, .hero-stage { display: none !important; } }

/* ---------------------------------------------------- Vaccine booking portal */
.vaxp { max-width: 1060px; margin-inline: auto; scroll-margin-top: 130px; }
.vx-about { background: var(--sky); border-radius: var(--r-s); padding: 0 20px; margin-bottom: 22px; font-size: var(--step--1); }
.vx-about summary { cursor: pointer; padding: 14px 0; font-weight: 700; color: var(--heading); list-style-position: inside; }
.vx-about > div { padding-bottom: 14px; } .vx-about p { max-width: none; margin: 0 0 10px; }
.vx-wizard { display: grid; grid-template-columns: 230px 1fr; gap: 26px; align-items: start; }
.vx-rail { position: sticky; top: 130px; background: var(--surface); border-radius: var(--r); padding: 18px; box-shadow: var(--shadow-s); }
.vx-rail ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.vx-rail li { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; color: var(--muted); font-weight: 600; }
.vx-rail .num { width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; font: 700 .85rem var(--f-head); background: var(--cloud); border: 1.5px solid var(--line); }
.vx-rail li.done { color: var(--text); } .vx-rail li.done .num { background: var(--mint); border-color: var(--green-2); color: var(--green); }
.vx-rail li.active { background: var(--mint); color: var(--heading); } .vx-rail li.active .num { background: var(--green); border-color: var(--green); color: #fff; }
.vx-progress { display: none; height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; margin-top: 12px; }
.vx-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--green), var(--green-2)); border-radius: 99px; transition: width .4s; }
.vx-panel { background: var(--surface); border-radius: var(--r-l); padding: clamp(22px, 4vw, 44px); box-shadow: var(--shadow); min-width: 0; }
.vx-stepno { margin: 0 0 4px; font: 700 .8rem var(--f-head); letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
.vx-panel h2 { font-size: var(--step-2); margin: 0 0 6px; }
.vx-sub { color: var(--muted); margin: 0 0 22px; max-width: 62ch; }
.vx-hint { color: var(--muted); font-size: var(--step--1); margin: 0 0 14px; max-width: none; }
.vx-label { font-weight: 700; color: var(--heading); margin: 0 0 10px; }
.vx-field { margin-bottom: 16px; min-width: 0; }
.vx-g2, .vx-g3 { display: grid; gap: 0 16px; } .vx-g2 { grid-template-columns: 1fr 1fr; } .vx-g3 { grid-template-columns: 1fr 1fr 1fr; }
.vx-fs { margin-bottom: 18px; } .vx-fs .opt { border-radius: 12px; }
.vx-vax { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.vx-card { display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--surface); cursor: pointer; font-weight: 400; transition: border-color .15s, background .15s, transform .15s; }
.vx-card:hover { border-color: #C9D5E2; transform: translateY(-1px); }
.vx-card input { width: 20px; height: 20px; margin: 2px 0 0; padding: 0; flex: none; accent-color: var(--green); }
.vx-card .name { display: block; font-weight: 700; color: var(--heading); }
.vx-card .cat { display: inline-block; margin: 4px 0; padding: 2px 9px; border-radius: 99px; background: var(--sky); color: var(--ink); font-size: .76rem; font-weight: 700; }
.vx-card .note { display: block; font-size: .87rem; color: var(--muted); line-height: 1.4; }
.vx-card.sel { border-color: var(--green-2); background: var(--mint); }
.vx-q { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.vx-q .t { color: var(--text); }
.vx-yn { display: flex; gap: 6px; }
.vx-yn button { min-width: 64px; padding: 8px 14px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--surface); color: var(--text); font: 600 .95rem var(--f-body); cursor: pointer; }
.vx-yn button:hover { border-color: #C9D5E2; }
.vx-yn .y.on { background: var(--peach); border-color: var(--sun); color: #9A4A0C; font-weight: 700; }
.vx-yn .n.on { background: var(--mint); border-color: var(--green-2); color: var(--green); font-weight: 700; }
.vx-flag { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: var(--peach); border-left: 4px solid var(--sun); font-size: var(--step--1); }
.vx-flag.show { display: block; }
.vx-slots { display: flex; flex-wrap: wrap; gap: 8px; }
.vx-slot { padding: 10px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); color: var(--text); font: 600 .95rem var(--f-body); cursor: pointer; transition: border-color .15s, background .15s; }
.vx-slot:hover { border-color: var(--green-2); }
.vx-slot.sel { background: var(--green); border-color: var(--green); color: #fff; }
.vx-empty { color: var(--muted); margin: 0; }
.vx-vis { border: 1.5px solid var(--line); border-radius: 16px; padding: 14px 16px; margin-bottom: 12px; }
.vx-vis .head { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 10px; }
.vx-vis .head strong { display: block; color: var(--heading); } .vx-vis .head span { font-size: .84rem; color: var(--muted); }
.vx-vis .head a { flex: none; font-weight: 700; padding: 6px 14px; border-radius: 99px; background: var(--sky); text-decoration: none; }
.vx-ack { display: flex; gap: 12px; align-items: flex-start; margin: 0; font-weight: 500; color: var(--text); }
.vx-ack input { width: 20px; height: 20px; margin-top: 2px; padding: 0; flex: none; accent-color: var(--green); }
.vx-ack.consent { background: var(--peach); padding: 14px 16px; border-radius: 14px; margin: 6px 0 18px; }
.vx-sig > label { margin-bottom: 6px; }
.vx-sig canvas { display: block; width: 100%; height: 160px; border: 1.5px dashed #C9D5E2; border-radius: 14px; background: #fff; touch-action: none; cursor: crosshair; }
.vx-sig.signed canvas { border-style: solid; border-color: var(--green-2); }
.vx-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.vx-review { display: grid; gap: 14px; }
.vx-review section { background: var(--cloud); border-radius: 16px; padding: 16px 18px; }
.vx-review h3 { font-size: 1rem; margin: 0 0 8px; color: var(--green); }
.vx-review p { margin: 0; max-width: none; }
.vx-rgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px 18px; }
.vx-rgrid span { display: block; font-size: .8rem; color: var(--muted); font-weight: 600; }
.vx-sigprev { display: block; margin-top: 10px; max-width: 260px; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.vx-done { text-align: center; max-width: 680px; margin-inline: auto; }
.vx-done .vx-sub, .vx-done .vx-hint { margin-inline: auto; }
.vx-done .mark { width: 76px; height: 76px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; font-size: 2.2rem; color: #fff; background: linear-gradient(135deg, var(--green), var(--green-2)); box-shadow: 0 12px 30px -12px var(--green); }
.vx-foot { text-align: center; margin: 22px auto 0; font-size: var(--step--1); }
@media (max-width: 900px) {
  .vx-wizard { grid-template-columns: 1fr; gap: 14px; }
  .vx-rail { position: static; padding: 14px 16px; }
  .vx-rail ol { display: flex; gap: 6px; } .vx-rail li { padding: 0; } .vx-rail li > span:last-child { display: none; }
  .vx-rail li.active { background: none; } .vx-rail li.active > span:last-child { display: inline; }
  .vx-progress { display: block; }
}
@media (max-width: 620px) {
  .vx-g2, .vx-g3 { grid-template-columns: 1fr; }
  .vx-q { grid-template-columns: 1fr; gap: 8px; }
  .vx-vis .head { flex-direction: column; align-items: flex-start; }
  .vx-actions .btn { flex: 1; justify-content: center; }
}
@media (max-width: 480px) {
  .utility .wrap { gap: 8px; }
  .utility-left a { font-size: .84rem; }
  .utility-tools { gap: 4px; }
  .tool-btn, .lang-select { padding: 3px 8px; font-size: .78rem; }
  .lang-select { max-width: 92px; }
  .tool-btn[data-theme-toggle] span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
@media (max-width: 900px) { .vx-rail ol { flex-wrap: wrap; } .vx-rail li > span:last-child { white-space: nowrap; } }

/* ======================================================= 3D layer (main.js adds .fx3d) */
.fx3d .rv.rv, .fx3d .tilting.tilting {
  transform: perspective(1100px) rotateX(calc(var(--rx, 0deg) + var(--rvx, 0deg))) rotateY(var(--ry, 0deg)) translate3d(0, calc(var(--rvy, 0px) - var(--lift, 0px)), var(--rvz, 0px));
  transform-style: preserve-3d; will-change: transform; }
.fx3d .rv { --rvx: 16deg; --rvy: 46px; --rvz: -90px; opacity: 0; transition: opacity .55s cubic-bezier(.2,.7,.2,1) var(--d, 0ms), transform .75s cubic-bezier(.2,.7,.2,1) var(--d, 0ms), box-shadow .3s; }
.fx3d .rv.in { --rvx: 0deg; --rvy: 0px; --rvz: 0px; opacity: 1; }
.fx3d .rv.in.tilting, .fx3d .tilting { transition: transform .12s ease-out, box-shadow .3s, opacity .7s; }
.fx3d .tilting { --lift: 4px; box-shadow: 0 30px 60px -28px rgba(19,41,75,.38), 0 8px 20px -12px rgba(19,41,75,.2); position: relative; }
/* moving light reflection */
.fx3d .tile, .fx3d .door, .fx3d .form-tile, .fx3d .steps > li, .fx3d .band > div, .fx3d .stage3d, .fx3d .rating, .fx3d .dock a, .fx3d .vx-card { position: relative; }
.fx3d .tilting::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.32), rgba(255,255,255,0) 50%); mix-blend-mode: soft-light; }
/* parts pop off the card in depth */
.fx3d .tilting.tilting .ico, .fx3d .tilting.tilting .ic { transform: translateZ(44px) scale(1.06); }
.fx3d .tilting.tilting h3, .fx3d .tilting.tilting strong { transform: translateZ(26px); }
.fx3d .tilting .cta { transform: translateZ(18px); }
.fx3d .tile .ico, .fx3d .dock .ic, .fx3d .tile h3, .fx3d .band strong, .fx3d .door .cta, .fx3d .form-tile .ico { transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.fx3d .tile:hover, .fx3d .door:hover, .fx3d .form-tile:hover { translate: none; }
/* 3D icon chips: layered depth */
.ico, .dock .ic { box-shadow: inset 0 -3px 0 rgba(19,41,75,.08), 0 6px 14px -6px rgba(19,41,75,.25); }
.ico svg, .dock .ic svg { filter: drop-shadow(0 2px 1px rgba(19,41,75,.18)); }
/* heroes lean back as you scroll */
.fx3d .hero, .fx3d .page-hero > .wrap { transform: perspective(1400px) rotateX(calc(var(--lean, 0) * 9deg)) scale(calc(1 - var(--lean, 0) * .05)); transform-origin: 50% 100%; }
.fx3d .hero-inner { transform: translateY(calc(var(--lean, 0) * -40px)); }

/* In-section 3D stages */
.stage3d { position: relative; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 5 / 4; min-height: 300px; isolation: isolate;
  background: radial-gradient(120% 90% at 30% 20%, #FFFFFF 0%, var(--sky) 60%, #DCEBF8 100%); box-shadow: var(--shadow); }
.stage3d--mint { background: radial-gradient(120% 90% at 30% 20%, #FFFFFF 0%, var(--mint) 60%, #D6F0E0 100%); }
.stage3d--peach { background: radial-gradient(120% 90% at 30% 20%, #FFFFFF 0%, var(--peach) 60%, #FFE3CC 100%); }
.stage3d canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.stage3d .stage-fallback { width: 100%; height: 100%; object-fit: cover; }
.stage3d .tag { position: absolute; left: 16px; bottom: 16px; z-index: 2; background: rgba(255,255,255,.88); backdrop-filter: blur(6px); padding: 6px 12px; border-radius: 99px; font: 700 .8rem var(--f-body); color: var(--heading); box-shadow: var(--shadow-s); }
.stage3d .tag-x { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green-2); margin-right: 7px; vertical-align: 1px;  }
@keyframes pulse3d { 50% { opacity: .35; } }
[data-theme="dark"] .stage3d { background: radial-gradient(120% 90% at 30% 20%, #23395A 0%, #16304A 70%); }
/* 3D pill layer behind a room's content */
.room--fx { position: relative; overflow: hidden; isolation: isolate; }
.room--fx > .room-bg { position: absolute; inset: 0; z-index: -1; opacity: .75; pointer-events: none; }
.room--fx > .room-bg canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.callout--3d { grid-template-columns: 1.3fr 1fr auto; }
.callout .stage3d { background: radial-gradient(circle at 50% 40%, rgba(255,255,255,.35), rgba(255,255,255,0) 70%); box-shadow: none; aspect-ratio: 4/3; min-height: 200px; max-height: 240px; }
@media (max-width: 760px) { .callout--3d { grid-template-columns: 1fr; } .stage3d { min-height: 260px; aspect-ratio: 4 / 3; } }
@media print { .stage3d, .room-bg { display: none !important; } }
.stage3d:not(.has-3d) .tag { display: none; }

/* ======================================================= Editorial headlines, site-wide */
h1, h2 { font-family: "Instrument Serif", "Times New Roman", Georgia, serif; font-weight: 400; letter-spacing: -.015em; line-height: 1.02; }
h1 { font-size: clamp(2.8rem, 1.6rem + 3.4vw, 4.6rem); font-weight: 400; letter-spacing: -.02em; }
h2 { font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.6rem); }
h1 em, h2 em { font-style: italic; color: var(--green); }
.callout h2 em { color: #E3F6EA; }
.vx-panel h2, .form-card h2, .fc-side h2 { font-family: var(--f-display); font-weight: 600; letter-spacing: -.02em; line-height: 1.12; }
.vx-panel h2 { font-size: var(--step-2); }
.site-footer h2 { font-family: var(--f-body); font-weight: 700; letter-spacing: 0; line-height: 1.3; }

.masthead.is-scrolled .brand-name { font-size: 1.7rem; } .masthead.is-scrolled .brand-name small { font-size: 1.1rem; }
@media (max-width: 760px) { .masthead.is-scrolled .brand-name { font-size: 1.25rem; } .masthead.is-scrolled .brand-name small { font-size: .9rem; } }
.brand-name { white-space: nowrap; }
@media (max-width: 1360px) and (min-width: 1141px) { .brand-logo { width: 140px; height: 88px; } .brand-name { font-size: 1.7rem; } .brand-name small { font-size: 1.1rem; } .nav a { padding-inline: 11px; } }

/* ======================================================= Quick-action rail (left side, desktop) */
.qrail { display: none; }
@media (min-width: 1100px) {
  :root { --rail-space: 132px; }
  /* a slim strip of room on the left so the rail never covers content */
  main .wrap, .site-footer .wrap { width: min(100% - var(--rail-space) - var(--gutter), var(--wrap)); margin-left: max(var(--rail-space), calc((100% - var(--wrap)) / 2)); margin-right: auto; }
  .qrail { display: flex; flex-direction: column; justify-content: space-evenly; position: fixed; left: 16px; top: calc(var(--mast-h, 140px) + 16px); bottom: 24px; z-index: 55; width: 100px; padding: 14px 6px; border-radius: 999px;
    background: var(--surface); border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(19,41,75,.32);
    opacity: 0; pointer-events: none; transform: translateX(-30px); transition: opacity .45s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
  .qrail.show { opacity: 1; pointer-events: auto; transform: none; }
  .qrail a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px 4px; border-radius: 22px; text-decoration: none; color: var(--heading); text-align: center; transition: background .2s; }
  .qrail a:hover, .qrail a:focus-visible { background: var(--cloud); }
  .qrail .ic { width: 54px; height: 54px; flex: none; border-radius: 50%; display: grid; place-items: center; transition: transform .2s; box-shadow: inset 0 -3px 0 rgba(19,41,75,.07), 0 6px 14px -8px rgba(19,41,75,.3); }
  .qrail .ic svg { width: 24px; height: 24px; }
  .qrail .lb { font: 700 .86rem/1.2 var(--f-body); max-width: 86px; }
  .qrail .lb small { display: none; }
  .qrail a:hover .ic { transform: scale(1.07); }
  .qrail .lb { opacity: 1; transition: opacity .4s ease .35s; }
  .qrail.gliding .lb { opacity: 0; transition: none; }
}
@media (min-width: 1100px) and (max-height: 720px) { .qrail a { padding: 5px 4px; gap: 5px; } .qrail .ic { width: 44px; height: 44px; } }
@media print { .qrail { display: none !important; } }

/* ======================================================= Multi-dose pack gallery */
.packs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pack { margin: 0; display: grid; grid-template-rows: auto 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.pack:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -40px rgba(19,41,75,.4); }
.pack-img { height: 320px; display: block; padding: 20px; background: radial-gradient(120% 90% at 50% 25%, #FFFFFF 0%, var(--mint) 70%); }
.pack:nth-child(2) .pack-img { background: radial-gradient(120% 90% at 50% 25%, #FFFFFF 0%, var(--sky) 70%); }
.pack:nth-child(3) .pack-img { background: radial-gradient(120% 90% at 50% 25%, #FFFFFF 0%, var(--peach) 70%); }
.pack:nth-child(4) .pack-img { background: radial-gradient(120% 90% at 50% 25%, #FFFFFF 0%, #F1ECFB 70%); }
.pack-img { overflow: hidden; } .pack-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.pack:hover .pack-img img { transform: scale(1.05) rotate(-1deg); }
.pack figcaption { padding: 22px 24px 26px; }
.pack h3 { margin: 0 0 6px; font-size: 1.2rem; }
.pack p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.5; }
.packs-cta { margin-top: 28px; text-align: center; max-width: none; }
@media (max-width: 1200px) { .packs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .packs { grid-template-columns: 1fr; } .pack-img { height: 260px; } }
.pack:last-child .pack-img { padding: 4px; }

/* ======================================================= Palette: one color family + one accent */
.ico, .dock .ic, .dock a .ic, .qrail a .ic, .tile .ico, .svc .ic, .contact-list .ico, .form-tile .ico { background: var(--mint) !important; color: var(--green) !important; }
.pack .pack-img, .pack:nth-child(n) .pack-img { background: radial-gradient(120% 90% at 50% 25%, #FFFFFF 0%, #EAF3EE 72%) !important; }
.notice { border-left-color: var(--gold); background: var(--peach); }
.kicker { color: var(--green); }
.btn--primary { background: var(--green); border-color: var(--green); }
.btn--primary:hover { background: #0B5A42; border-color: #0B5A42; }
.site-footer { background: #EEF5F1; }
.utility { background: #E9F2ED; }
.steps li::before { background: var(--green); }
/* the deep evergreen long-term care band */
.packs-sec { background: var(--evergreen); color: #C9D8D1; }
.packs-sec .section-head h2, .packs-sec .section-head .display { color: #fff; }
.packs-sec .section-head h2 em, .packs-sec .section-head .display em { color: #D9BC74; }
.packs-sec .kicker { color: #D9BC74; }
.packs-sec .lead { color: #B9CCC3; }
.packs-sec .pack { border-color: rgba(255,255,255,.08); }
.packs-sec .btn--primary { background: #D9BC74; border-color: #D9BC74; color: var(--evergreen); }
.packs-sec .btn--primary:hover { background: #E6CD8E; border-color: #E6CD8E; color: var(--evergreen); }
.utility-left > a { font-weight: 600; } .utility-left > a:first-child { font-weight: 700; }
@media (max-width: 1280px) { .hide-lg { display: none !important; } }
@media (max-width: 1520px) { .hide-xl { display: none !important; } }

/* ======================================================= 3D loads straight in: no stock photo flash */
.webgl .stage-fallback { visibility: hidden; }
.webgl .fail-3d .stage-fallback { visibility: visible; }
.webgl .fail-3d.film-canvas .stage-fallback { visibility: visible; }
:root.webgl:not(.cine) .film-canvas .stage-fallback { visibility: visible; }
[data-film] canvas, [data-scene] canvas, [data-hero3d] canvas { animation: in3d .7s ease both; }
@keyframes in3d { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }
