/* Careonix public website
   Palette is drawn from the supplied logo. Heart red is reserved for the
   primary staffing action; purple and green only appear on the values that
   the logo assigns them to. */

@font-face {
  font-family: "Lexend";
  src: url("../fonts/lexend-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0c2d55;          /* the cupped hand */
  --ink-soft: #3d5168;
  --paper: #ffffff;
  --mist: #edf4f5;
  --line: #d3e0e3;
  --teal: #0a7c83;         /* left figure */
  --teal-deep: #075f65;
  --heart: #c21f4b;        /* heart outline */
  --heart-deep: #9e173c;
  --purple: #6b3d9e;
  --green: #3c7f2b;
  --focus: #c21f4b;
  --scale: 1;
  --radius-s: 6px;
  --radius-l: 18px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: calc(17px * var(--scale)); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-weight: 350; line-height: 1.65; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--teal-deep); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-weight: 650; line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.9rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.12rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; max-width: 68ch; }
ul, ol { padding-left: 1.2em; }

.wrap { width: min(1160px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -100px; z-index: 100; background: var(--paper); color: var(--ink); padding: 12px 16px; border-radius: var(--radius-s); font-weight: 600; }
.skip:focus { top: 12px; }
main:focus { outline: none; }
.muted { color: var(--ink-soft); }
.fineprint { color: var(--ink-soft); font-size: .88rem; margin-top: 2rem; }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.3em; border-radius: 999px; border: 2px solid transparent;
  font-weight: 600; text-decoration: none; cursor: pointer; line-height: 1.2; text-align: center;
}
.button-heart { background: var(--heart); color: #fff; }
.button-heart:hover { background: var(--heart-deep); }
.button-ink { background: var(--ink); color: #fff; }
.button-ink:hover { background: #082242; }
.button-light { background: #fff; color: var(--ink); }
.button-light:hover { background: var(--mist); }
.button-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.button-outline:hover { background: var(--ink); color: #fff; }

.listen {
  display: inline-flex; align-items: center; gap: .5em; margin-top: .5rem;
  background: none; border: 0; padding: .4em 0; color: var(--teal-deep); font-weight: 600; cursor: pointer;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em;
}
.listen::before {
  content: ""; width: 1.5em; height: 1.5em; border-radius: 50%; background: var(--teal) center/40% no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 12'%3E%3Cpath d='M0 0l10 6-10 6z' fill='%23fff'/%3E%3C/svg%3E");
  background-position: 58% 50%; flex: none;
}
.listen:hover { text-decoration-thickness: 2px; }

/* Accessibility toolbar */
.toolbar { background: var(--mist); border-bottom: 1px solid var(--line); font-size: .82rem; }
.toolbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; flex-wrap: wrap; padding-block: 6px; }
.tools { display: flex; gap: 6px; flex-wrap: wrap; }
.tools button {
  background: #fff; border: 1px solid var(--line); color: var(--ink); border-radius: 999px;
  padding: .3em .9em; min-height: 34px; cursor: pointer; font-weight: 500;
}
.tools button:hover:not(:disabled) { border-color: var(--ink); }
.tools button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.tools button:disabled { opacity: .45; cursor: default; }
.logins { display: flex; gap: 18px; }
.logins a { color: var(--ink); font-weight: 500; }

/* Header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; flex: none; }
.brand img { width: 52px; height: auto; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-size: 1.45rem; font-weight: 650; letter-spacing: -.03em; }
.brand-sub { font-size: .8rem; color: var(--ink-soft); letter-spacing: .02em; }
.primary-nav { display: flex; align-items: center; gap: 16px; }
.primary-nav > ul { display: flex; gap: 0; list-style: none; margin: 0; padding: 0; }
.primary-nav > ul > li > a { display: block; padding: .5em .55em; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .9rem; white-space: nowrap; border-radius: var(--radius-s); }
.primary-nav > ul > li > a:hover { background: var(--mist); }
.primary-nav > ul > li > a[aria-current] { box-shadow: inset 0 -3px 0 var(--teal); border-radius: 0; }
.nav-cta { min-height: 44px; font-size: .92rem; white-space: nowrap; }
.menu-toggle { flex: none; display: none; align-items: center; gap: .6em; background: none; border: 1.5px solid var(--ink); border-radius: 999px; padding: .5em 1em; font-weight: 600; cursor: pointer; min-height: 44px; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 16px; height: 2px; background: currentColor; position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -5px; } .menu-icon::after { top: 5px; }

/* Hero: a white dome resting in the navy "hand" below it */
.hero {
  position: relative; z-index: 2; background: var(--paper);
  padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 9vw, 120px);
  border-bottom-left-radius: 50% clamp(48px, 9vw, 130px);
  border-bottom-right-radius: 50% clamp(48px, 9vw, 130px);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero h1 { max-width: 16ch; margin-bottom: .45em; }
.hero-lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--ink-soft); max-width: 46ch; }
.hero-roles { border-left: 3px solid var(--teal); padding: .2em 0 .2em 1.4em; }
.hero-roles h2 { font-size: 1rem; font-weight: 600; color: var(--ink-soft); letter-spacing: 0; margin-bottom: .8em; }
.hero-roles ul { list-style: none; padding: 0; margin: 0; }
.hero-roles li { font-size: 1.15rem; font-weight: 500; padding: .45em 0; border-bottom: 1px solid var(--line); }
.hero-roles li:last-child { border-bottom: 0; }

.doors { background: var(--ink); margin-top: clamp(-130px, -9vw, -48px); padding: clamp(84px, 12vw, 170px) 0 clamp(48px, 7vw, 88px); }
.doors-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 24px); }
.door {
  display: flex; flex-direction: column; gap: .6em; min-height: 230px;
  padding: clamp(26px, 3.5vw, 42px); border-radius: var(--radius-l); text-decoration: none;
  transition: transform .2s ease;
}
.door:hover { transform: translateY(-3px); }
.door-title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 650; letter-spacing: -.03em; line-height: 1.1; }
.door-text { max-width: 36ch; font-size: 1.02rem; }
.door-action { margin-top: auto; padding-top: 1em; font-weight: 600; display: inline-flex; align-items: center; gap: .6em; }
.door-action::after { content: ""; width: 2.2em; height: 2.2em; flex: none; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 0a12 12 0 1 1 0 24a12 12 0 1 1 0-24zM9.2 6.3l-1.4 1.4 4.3 4.3-4.3 4.3 1.4 1.4 5.7-5.7z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 0a12 12 0 1 1 0 24a12 12 0 1 1 0-24zM9.2 6.3l-1.4 1.4 4.3 4.3-4.3 4.3 1.4 1.4 5.7-5.7z'/%3E%3C/svg%3E") center/contain no-repeat; }
.door-staff { background: #fff; color: var(--ink); }
.door-staff .door-action { color: var(--heart); }
.door-work { background: var(--teal); color: #fff; }
.door-work .door-text { color: #e6f4f4; }
.door:focus-visible { outline-color: #fff; outline-offset: 4px; }

/* Sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-mist { background: var(--mist); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 1.5rem; }
.section-head h2 { margin: 0; }

.service-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 6vw, 80px); }
.service-list article { border-top: 1px solid var(--line); padding: 1.6rem 0 .6rem; }
.service-list h3 { font-size: 1.3rem; margin-bottom: .35em; }
.service-list p { color: var(--ink-soft); margin: 0; }

.process { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 4px; }
.steps li { counter-increment: step; position: relative; padding: 1.2rem 0 1.2rem 4rem; border-bottom: 1px solid var(--line); }
.steps li:last-child { border-bottom: 0; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 1.05rem; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 600;
}
.steps h3 { margin-bottom: .2em; }
.steps p { margin: 0; color: var(--ink-soft); }

.values { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.values li { --c: var(--teal); padding-top: 1.2rem; border-top: 4px solid var(--c); }
.values .v-purple { --c: var(--purple); }
.values .v-heart { --c: var(--heart); }
.values .v-green { --c: var(--green); }
.values h3 { color: var(--c); font-size: 1.2rem; }
.values p { color: var(--ink-soft); margin: 0; }

.a11y { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.a11y-actions { display: grid; gap: 10px; }
.a11y-actions .button { justify-content: flex-start; padding-left: 1.4em; }

.closing { background: var(--ink); color: #fff; padding: clamp(56px, 8vw, 96px) 0; }
.closing-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.closing h2 { margin-bottom: .3em; }
.closing p { color: #c9d6e4; margin: 0; }

/* Inner pages */
.page-head { background: var(--mist); padding: clamp(36px, 6vw, 72px) 0 clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); max-width: 22ch; }
.page-head .lead, .page-head .lead p { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-soft); max-width: 56ch; }
.lead p:last-child { margin-bottom: 0; }
.breadcrumb { font-size: .88rem; color: var(--ink-soft); margin-bottom: 1.2rem; }
.breadcrumb a { color: var(--ink-soft); }
.meta { color: var(--ink-soft); font-size: .92rem; }

.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 6vw, 88px); padding-block: clamp(40px, 6vw, 80px); align-items: start; }
.prose { font-size: 1.04rem; line-height: 1.72; max-width: 68ch; }
.prose h2 { font-size: 1.55rem; margin: 2.2em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--teal); }
.prose ol li::marker { font-weight: 600; }
.prose strong { font-weight: 600; }
.help-card { position: sticky; top: 110px; background: var(--mist); border-radius: var(--radius-l); padding: 26px; border-top: 4px solid var(--teal); }
.help-card h2 { font-size: 1.2rem; }
.help-card p { font-size: .95rem; color: var(--ink-soft); }
.help-card .button { width: 100%; }
.help-link { display: block; margin-top: .9rem; font-weight: 600; text-align: center; }

.article-list { list-style: none; padding: 0; margin: 0; max-width: 760px; }
.article-list li { padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.article-list time { color: var(--ink-soft); font-size: .9rem; }
.article-list h2 { font-size: 1.4rem; margin: .2em 0 .4em; }
.article-list h2 a { color: var(--ink); text-decoration: none; }
.article-list h2 a:hover { text-decoration: underline; }
.link-list { list-style: none; padding: 0; display: grid; gap: 8px; max-width: 520px; }
.link-list a { display: block; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius-s); font-weight: 600; text-decoration: none; color: var(--ink); }
.link-list a:hover { border-color: var(--ink); }
.empty { color: var(--ink-soft); background: var(--mist); padding: 1.2rem 1.4rem; border-radius: var(--radius-s); max-width: 60ch; }

/* People */
.team-group + .team-group { margin-top: clamp(48px, 7vw, 88px); }
.positions { list-style: none; padding: 0; margin: 1rem 0 2rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0 32px; }
.positions li { border-top: 1px solid var(--line); padding: 1rem 0; }
.positions h3 { margin: 0 0 .2em; }
.positions p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.people { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 36px 28px; }
.person img, .portrait-placeholder { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-l); display: block; margin-bottom: 1rem; }
.portrait-placeholder { display: grid; place-items: center; background: var(--mist); color: var(--teal-deep); font-size: 2.6rem; font-weight: 600; letter-spacing: .02em; }
.person h3 { margin-bottom: .2em; }
.person h3 a { color: var(--ink); text-decoration: none; }
.person h3 a:hover { text-decoration: underline; }
.person-role { color: var(--teal-deep); font-weight: 600; margin-bottom: .4em; }
.person p { font-size: .95rem; }
.profile { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.profile-photo { border-radius: var(--radius-l); width: 100%; }
.profile-placeholder { font-size: 4rem; }

/* Footer */
.site-footer { background: #082242; color: #c9d6e4; padding: clamp(48px, 7vw, 72px) 0 24px; font-size: .94rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-name { font-size: 1.3rem; font-weight: 650; color: #fff; margin-bottom: .3em; }
.footer-heading { font-size: .95rem; color: #fff; margin-bottom: .8em; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .35em; }
.footer-emergency strong { color: #fff; }
.footer-bottom { border-top: 1px solid #23406a; margin-top: 40px; padding-top: 20px; font-size: .84rem; }
.footer-bottom p { margin: 0; max-width: none; }

/* Website guide */
.chat-launch {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; min-height: 52px; padding: 0 1.3em 0 1em;
  display: inline-flex; align-items: center; gap: .6em;
  border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; cursor: pointer;
  box-shadow: 0 6px 20px rgba(12, 45, 85, .28);
}
.chat-launch::before { content: "?"; display: grid; place-items: center; width: 1.8em; height: 1.8em; border-radius: 50%; background: var(--teal); font-weight: 700; }
.chat-launch[aria-expanded="true"] { display: none; }
.chat-panel {
  position: fixed; right: 20px; bottom: 20px; z-index: 41; width: min(380px, calc(100vw - 32px)); max-height: min(620px, calc(100vh - 40px));
  display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-l); overflow: hidden;
  box-shadow: 0 18px 50px rgba(12, 45, 85, .3); border: 1px solid var(--line);
}
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; justify-content: space-between; align-items: center; background: var(--ink); color: #fff; padding: 12px 12px 12px 18px; }
.chat-head h2 { font-size: 1.05rem; margin: 0; letter-spacing: 0; }
.chat-close { background: none; border: 0; color: #fff; font-size: 1.6rem; line-height: 1; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; }
.chat-close:hover { background: rgba(255, 255, 255, .12); }
.chat-close:focus-visible { outline-color: #fff; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; font-size: .93rem; min-height: 160px; }
.chat-log p { margin: 0; padding: .7em .95em; border-radius: 14px; max-width: 88%; }
.bot-msg { background: var(--mist); align-self: flex-start; border-bottom-left-radius: 4px; }
.user-msg { background: var(--teal); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 12px; }
.chat-quick button { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .35em .85em; font-size: .84rem; cursor: pointer; }
.chat-quick button:hover { border-color: var(--ink); }
.chat-form { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; min-width: 0; min-height: 44px; border: 1px solid #8fa3b1; border-radius: 999px; padding: 0 1em; }
.chat-form button { min-height: 44px; padding: 0 1.1em; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; cursor: pointer; }
.chat-disclaimer { font-size: .75rem; color: var(--ink-soft); margin: 0; padding: 0 16px 14px; }

/* ---------- Flexible pages (non-Careonix sites and content pages) ---------- */
.site-theme .site-header { border-bottom: 3px solid var(--ink); }
.brand-logo { width: auto !important; max-height: 64px; max-width: 240px; }
.stream > .block, .stream > .block-band, .stream > section { margin-top: 0; }
.block { padding-block: clamp(20px, 3vw, 32px); }
.block h2 { margin-bottom: .6em; }
.block-heading { padding-bottom: 0; }
.block-heading + .block { padding-top: 8px; }
.lead-text { font-size: 1.12rem; color: var(--ink-soft); max-width: 62ch; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.2rem; }

.site-hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.site-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.site-hero.has-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.66) 0%, rgba(0,0,0,.42) 55%, rgba(0,0,0,.08) 100%); }
.site-hero-inner { position: relative; z-index: 1; padding-block: clamp(64px, 11vw, 150px); }
.site-hero h1 { max-width: 15ch; color: #fff; }
.site-hero .hero-lead { color: #eef3f8; max-width: 52ch; font-size: clamp(1.08rem, 1.7vw, 1.3rem); }
.site-hero .listen { color: #fff; }
.site-hero .listen::before { background-color: rgba(255,255,255,.25); }
.site-hero .button-outline { color: #fff; border-color: #fff; }
.site-hero .button-outline:hover { background: #fff; color: var(--ink); }

.block-band { padding-block: clamp(36px, 6vw, 72px); }
.band-tint { background: var(--mist); }
.image-text { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.image-text.no-image { grid-template-columns: minmax(0, 1fr); }
.image-text.image-left .image-text-media { order: -1; }
.image-text-media img { width: 100%; height: auto; border-radius: var(--radius-l); display: block; }

.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: clamp(18px, 2.5vw, 28px); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; display: flex; flex-direction: column; position: relative; }
.card img { width: 100%; height: auto; aspect-ratio: 16 / 10.5; object-fit: cover; display: block; }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 1.2rem; margin-bottom: .4em; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; } /* whole card is clickable */
.card:hover { border-color: var(--ink); }
.card:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.card h3 a:focus-visible { outline: none; }
.card .prose, .card p { font-size: .95rem; color: var(--ink-soft); }
.card .prose ul { padding-left: 1.1em; margin: .3em 0; }
.card-more { margin-top: auto; padding-top: .6em; font-weight: 600; color: var(--teal-deep); }

.features { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 14px 28px; }
.features li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.features img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.feature-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--teal); }

.accordion { border-top: 1px solid var(--line); max-width: 860px; }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { cursor: pointer; padding: 1rem 2.4rem 1rem 0; font-weight: 600; font-size: 1.08rem; list-style: none; position: relative; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; position: absolute; right: 6px; top: .75rem; font-size: 1.5rem; line-height: 1; color: var(--teal-deep); }
.accordion details[open] summary::after { content: "−"; }
.accordion .prose { padding-bottom: 1rem; }

.link-list-block { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; max-width: 860px; }
.link-list-block li { display: flex; flex-direction: column; gap: 2px; padding: .9rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius-s); background: #fff; }
.link-list-block a { font-weight: 600; }
.link-list-block span { color: var(--ink-soft); font-size: .93rem; }
.file-meta { font-weight: 400; color: var(--ink-soft); font-size: .85em; }

.table-wrap { overflow-x: auto; max-width: 900px; }
.table-caption { font-weight: 600; margin-bottom: .6em; }
.table-wrap table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.table-wrap td, .table-wrap th { border: 1px solid var(--line); padding: .7em .9em; text-align: left; }
.table-wrap tr:first-child td, .table-wrap th { background: var(--mist); font-weight: 600; }

.quote blockquote { margin: 0; font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 450; line-height: 1.45; border-left: 4px solid var(--teal); padding-left: 1.2em; max-width: 50ch; }
.quote figcaption { margin-top: .8em; padding-left: 1.6em; color: var(--ink-soft); }

.contact-strip { display: flex; flex-wrap: wrap; gap: 16px 48px; align-items: center; }
.contact-strip h2 { margin: 0; }
.contact-strip ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 14px 40px; }
.contact-strip li { display: flex; flex-direction: column; }
.contact-label { font-size: .82rem; color: var(--ink-soft); }
.contact-strip a { font-weight: 600; font-size: 1.05rem; }
.contact-strip .fineprint { flex-basis: 100%; margin: 0; }

.locations { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.locations li { overflow-wrap: anywhere; border: 1px solid var(--line); border-top: 4px solid var(--teal); border-radius: var(--radius-s); padding: 18px 20px; background: #fff; }
.locations h3 { margin-bottom: .5em; }
.locations p { margin: 0 0 .35em; }

.timeline { list-style: none; padding: 0; margin: 0; max-width: 820px; border-left: 3px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; padding: .55rem 0 .55rem 1.2rem; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 1rem; width: 13px; height: 13px; border-radius: 50%; background: var(--teal); border: 2px solid #fff; }
.tl-year { font-weight: 650; }

.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 1.6rem; }
.filter-tabs a { padding: .45em 1.1em; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 500; }
.filter-tabs a[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }
.badge { display: inline-block; font-size: .78rem; font-weight: 600; padding: .15em .6em; border-radius: 999px; background: var(--mist); color: var(--ink); }
.badge-announcement { background: var(--heart); color: #fff; }
.news-cards .meta { margin-bottom: .5em; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: clamp(28px, 5vw, 72px); align-items: start; }
.article-image { width: 100%; height: auto; border-radius: var(--radius-l); margin-bottom: 1.4rem; }
.share-box { background: var(--mist); border-radius: var(--radius-l); padding: 22px; position: sticky; top: 110px; }
.share-box h2 { font-size: 1.1rem; }

.page-head.has-banner { position: relative; padding-top: 0; }
.page-banner { display: block; width: 100%; height: clamp(160px, 26vw, 340px); object-fit: cover; margin-bottom: clamp(28px, 4vw, 44px); }

.form-section > * { max-width: 760px; }
.site-form > button { justify-self: start; min-width: 200px; }
.site-form { display: grid; gap: 18px; margin-top: 1rem; }
.form-field label { display: block; font-weight: 600; margin-bottom: .35em; }
.form-field input:not([type=checkbox]):not([type=radio]), .form-field select, .form-field textarea {
  width: 100%; min-height: 48px; padding: .65em .85em; border: 1.5px solid #7f93a3; border-radius: 8px; background: #fff; font: inherit; color: var(--ink); }
.form-field textarea { min-height: 150px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--ink); }
.form-check { display: flex; gap: 10px; align-items: flex-start; }
.form-check input { width: 1.3em; height: 1.3em; margin-top: .2em; accent-color: var(--teal); flex: none; }
.form-check label { font-weight: 400; margin: 0; }
.form-field ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.form-field ul label { font-weight: 400; display: flex; gap: 8px; align-items: center; }
.help { color: var(--ink-soft); font-size: .9rem; margin: -.1em 0 .4em; }
.has-error input, .has-error select, .has-error textarea { border-color: #b3123a !important; }
.field-error, .form-errors { color: #a3112f; font-weight: 600; }
.form-errors { background: #fbeaee; border-left: 4px solid #b3123a; padding: .8em 1em; border-radius: 6px; }
.form-errors p { margin: 0; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.thank-you { font-size: 1.15rem; }

.footer-social { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.fb-inline::before { content: ""; width: 1.4em; height: 1.4em; border-radius: 50%; background: #1877f2 center/60% no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M13.5 22v-8h2.7l.4-3.2h-3.1V8.8c0-.9.3-1.5 1.6-1.5h1.7V4.4c-.3 0-1.3-.1-2.5-.1-2.4 0-4.1 1.5-4.1 4.2v2.3H7.5V14h2.7v8z'/%3E%3C/svg%3E"); }
a.chat-launch { text-decoration: none; }
a.chat-launch::before { content: "?"; }

/* Drop-down menus */
.primary-nav .has-sub { position: relative; }
.sub-toggle { background: none; border: 0; font: inherit; font-weight: 500; font-size: .93rem; color: var(--ink); padding: .5em .55em; cursor: pointer; border-radius: var(--radius-s); white-space: nowrap; display: inline-flex; align-items: center; gap: .35em; }
.sub-toggle::after { content: ""; width: .45em; height: .45em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.sub-toggle[aria-expanded="true"]::after { transform: rotate(-135deg) translateY(-1px); }
.sub-toggle:hover { background: var(--mist); }
.primary-nav .sub-menu { display: none; position: absolute; left: 0; top: 100%; min-width: 250px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s); box-shadow: 0 14px 30px rgba(12, 45, 85, .14); padding: 6px; list-style: none; margin: 0; z-index: 30; }
.primary-nav .sub-toggle[aria-expanded="true"] + .sub-menu { display: block; }
.sub-menu a { display: block; padding: .6em .8em; color: var(--ink); text-decoration: none; border-radius: 4px; font-size: .93rem; }
.sub-menu a:hover, .sub-menu a:focus-visible { background: var(--mist); }

/* ---------- Site tour ---------- */
.tour-notice { display: inline-block; background: #fff7e0; border: 1px solid #ecd9a2; color: #5a4a1a; border-radius: 999px; padding: .35em 1em; font-size: .9rem; margin: .4rem 0 0; }
.tour-controls, .tour-stop { scroll-margin-top: 110px; }
.tour-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.tour-controls[hidden] { display: none; }
.tour-controls .button:disabled { opacity: .4; cursor: default; background: transparent; color: var(--ink); border-color: var(--ink); }
.tour-progress { margin: 0; font-weight: 600; color: var(--ink-soft); }
.tour-stop { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(20px, 3.5vw, 44px); align-items: start; margin-bottom: 40px; }
.tour.is-enhanced .tour-stop { margin-bottom: 0; }
.tour.is-enhanced .tour-stop[hidden] { display: none; }
.tour-stage { position: relative; border-radius: var(--radius-l); overflow: hidden; background: #efe7da; aspect-ratio: 16 / 9; box-shadow: 0 1px 0 var(--line); }
.tour-stage > svg, .tour-stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.tour.is-enhanced .tour-stop:not([hidden]) .tour-stage { animation: tour-in .35s ease; }
@keyframes tour-in { from { opacity: .2; transform: scale(1.015); } to { opacity: 1; transform: none; } }
.hotspot { position: absolute; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: .45em; padding: .5em .95em .5em .7em; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; font-size: .92rem; text-decoration: none; box-shadow: 0 4px 14px rgba(12, 45, 85, .28); border: 2px solid var(--ink); white-space: nowrap; }
.hotspot::before { content: ""; width: 1.3em; height: 1.3em; border-radius: 50%; background: var(--teal) center/55% no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 12'%3E%3Cpath d='M0 0l10 6-10 6z' fill='%23fff'/%3E%3C/svg%3E"); background-position: 60% 50%; flex: none; }
.hotspot:hover { background: var(--ink); color: #fff; }
.hotspot:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.tour-count { margin: 0 0 .3em; font-size: .88rem; font-weight: 600; color: var(--teal-deep); }
.tour-info h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.tour-info h2:focus { outline: none; }
.tour-highlights { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: 8px; }
.tour-highlights li { padding-left: 1.7em; position: relative; }
.tour-highlights li::before { content: ""; position: absolute; left: 0; top: .45em; width: 1em; height: .55em; border-left: 3px solid var(--teal); border-bottom: 3px solid var(--teal); transform: rotate(-45deg); }
.tour-plan-wrap { margin-top: clamp(36px, 5vw, 56px); }
.tour-plan { list-style: none; padding: 10px; margin: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: minmax(74px, auto); gap: 8px; background: var(--mist); border: 2px solid var(--ink); border-radius: var(--radius-s); max-width: 860px; }
.tour-plan a { display: flex; flex-direction: column; justify-content: center; gap: 4px; height: 100%; padding: 10px 12px; background: #fff; border: 1.5px solid var(--line); border-radius: 6px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; line-height: 1.25; }
.tour-plan a:hover { border-color: var(--ink); }
.tour-plan a[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }
.plan-n { display: inline-grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: 50%; background: var(--teal); color: #fff; font-size: .8rem; }
.tour-plan a[aria-current] .plan-n { background: #fff; color: var(--ink); }
.tour-end { margin-top: clamp(36px, 5vw, 56px); background: var(--mist); border-radius: var(--radius-l); padding: clamp(22px, 4vw, 36px); }
.tour-end h2 { margin-bottom: .3em; }

/* Scene palette (illustrations follow brand accent where it makes sense) */
.scene .sky { fill: #d3e8f3; } .scene .sun { fill: #f6d27a; }
.scene .w { fill: #f5efe4; } .scene .wd { fill: #e9e0cf; } .scene .ce { fill: #fbf8f2; }
.scene .fl { fill: #d6c3a4; } .scene .grass { fill: #a8cf91; } .scene .path { fill: #ece0c8; }
.scene .roof { fill: var(--ink); } .scene .canopy { fill: var(--teal); }
.scene .fr { fill: #fff; stroke: #cbbfa9; stroke-width: 2; } .scene .sign { fill: var(--ink); font: 600 20px Lexend, sans-serif; } .scene .sign.small { font-size: 15px; }
.scene .wn { fill: #bfe0ef; stroke: #fff; stroke-width: 6; } .scene .ln, .scene .ln line { stroke: #9a8b74; stroke-width: 3; fill: none; }
.scene .mt { fill: #7f8c97; } .scene .pot { fill: #b9774b; } .scene .pot rect { fill: #b9774b; }
.scene .wo, .scene .wo rect { fill: #b98b5b; } .scene .pl, .scene .pl circle { fill: #6aa56a; } .scene .pl2 { fill: #8fc17f; }
.scene .door { fill: #c9b99e; } .scene .door2 { fill: #ddcdb2; stroke: #b9a687; stroke-width: 2; }
.scene .rail, .scene .rail line { stroke: var(--teal); stroke-width: 6; stroke-linecap: round; }
.scene .lt { fill: #ffe7a3; } .scene .lamp { fill: #ffe7a3; }
.scene .board { fill: #e5d8c2; } .scene .note, .scene .note rect { fill: #fff3b0; } .scene .note2 { fill: #cde7f0; }
.scene .fb, .scene .fb rect, .scene .fb polygon { fill: var(--teal); } .scene .fb2, .scene .fb2 rect { fill: #e7b56d; }
.scene .rug { fill: #e6d2b0; } .scene .chair rect { fill: #8c6a4a; } .scene .cloth { fill: #fff; stroke: #e2d8c6; stroke-width: 2; }
.scene .plate circle { fill: #efe8db; } .scene .flower, .scene .flower circle { fill: #e07a8a; } .scene .bed { fill: #fff; }
.scene .frame { fill: #9fc7d9; stroke: #b98b5b; stroke-width: 5; } .scene .tile line { stroke: #ddd3c1; stroke-width: 2; }
.scene .mirror { fill: #d6ecf5; stroke: #b0c7d1; stroke-width: 4; } .scene .box rect, .scene .box circle { fill: #e7b56d; } .scene .box rect:nth-child(2n) { fill: #9fc7d9; }
.scene .land { fill: #eef0e2; } .scene .river { fill: #a9d3e8; } .scene .road path { stroke: #fff; stroke-width: 16; fill: none; } .scene rect.road { fill: #9aa3a8; }
.scene .roadline rect { fill: #fff; } .scene .park { fill: #b9d9a3; } .scene .town { fill: #e3d6c1; stroke: #b9a687; stroke-width: 2; }
.scene .village { fill: color-mix(in srgb, var(--teal) 18%, #fff); stroke: var(--teal); stroke-width: 3; } .scene .villas rect { fill: #fff; stroke: #b9a687; stroke-width: 2; }
.scene .pin { fill: var(--heart); } .scene .pin-dot { fill: #fff; } .scene .poi circle { fill: var(--ink); } .scene .poi-ic { stroke: #fff; stroke-width: 3; fill: none; }
.scene .maplabel { fill: var(--ink); font: 600 17px Lexend, sans-serif; } .scene .maplabel.small { font-size: 14px; }
.scene .garage-door { fill: #d8dcdf; stroke: #a9b1b7; stroke-width: 3; } .scene .car { fill: var(--teal); } .scene .car-glass { fill: #bfe0ef; } .scene .tyre { fill: #3d464d; }
.scene .farm { fill: #c9d99a; } .scene .fence path { stroke: #b98b5b; stroke-width: 4; } .scene .paving { fill: #e2d7c5; }
body.high-contrast .scene { filter: contrast(1.25) saturate(.8); }
body.high-contrast .hotspot { border-width: 3px; }

/* ---------- Homepage: plain hero, news row, tours, values ---------- */
.site-hero:not(.has-image) { background: var(--ink); }
.site-hero:not(.has-image)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(40px, 7vw, 90px); pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 70 C 240 20 480 110 720 70 S 1200 20 1440 60 V120 H0z' fill='%23ffffff' fill-opacity='.08'/%3E%3Cpath d='M0 95 C 300 55 520 125 820 92 S 1260 60 1440 88 V120 H0z' fill='%23ffffff'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat; }
.site-hero:not(.has-image) .site-hero-inner { padding-bottom: clamp(90px, 13vw, 170px); }

.news-band { padding-block: clamp(36px, 5vw, 56px) clamp(24px, 4vw, 40px); }
.news-band .section-head { align-items: center; }
.carousel-nav { display: flex; align-items: center; gap: 10px; }
.see-all { font-weight: 600; margin-right: 6px; }
.carousel-btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--ink); background: #fff; cursor: pointer; display: inline-grid; place-items: center; }
.carousel-btn::before { content: ""; width: 10px; height: 10px; border-left: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: translateX(2px) rotate(45deg); }
.carousel-btn.next::before { transform: translateX(-2px) rotate(-135deg); }
.carousel-btn:hover:not(:disabled) { background: var(--mist); }
.carousel-btn:disabled { opacity: .3; cursor: default; }
.carousel-btn[hidden] { display: none; }
.news-track { list-style: none; margin: 0; padding: 4px 2px 18px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, calc((100% - 48px) / 2.6)); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.news-track:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.news-slide { scroll-snap-align: start; position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; display: flex; flex-direction: column; }
.news-slide:hover { border-color: var(--ink); }
.news-slide:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.news-media img, .news-placeholder { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.news-placeholder { background: linear-gradient(135deg, var(--mist), color-mix(in srgb, var(--teal) 22%, #fff)); }
.news-body { padding: 18px 20px 22px; }
.news-body h3 { font-size: 1.12rem; margin-bottom: .45em; }
.news-body h3 a { color: var(--ink); text-decoration: none; }
.news-body h3 a::after { content: ""; position: absolute; inset: 0; }
.news-body h3 a:focus-visible { outline: none; }
.news-body p:last-child { color: var(--ink-soft); font-size: .95rem; margin: 0; }
@media (prefers-reduced-motion: reduce) { .news-track { scroll-behavior: auto; } }

.tours-block { padding-top: 8px; }
.tour-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.tour-card { position: relative; border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; background: #fff; }
.tour-card:hover { border-color: var(--ink); }
.tour-card:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.tour-thumb { position: relative; aspect-ratio: 16 / 9; background: #efe7da; }
.tour-thumb > svg, .tour-thumb > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tour-play { position: absolute; right: 10px; bottom: 10px; width: 38px; height: 38px; border-radius: 50%; background: var(--teal) center/34% no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 12'%3E%3Cpath d='M0 0l10 6-10 6z' fill='%23fff'/%3E%3C/svg%3E"); background-position: 58% 50%; box-shadow: 0 3px 10px rgba(0,0,0,.25); }
.tour-card-body { padding: 12px 16px 16px; }
.tour-kind { margin: 0 0 .2em; font-size: .8rem; font-weight: 600; color: var(--teal-deep); }
.tour-stops { margin: .3em 0 0; color: var(--ink-soft); font-size: .85rem; }
.tour-card h3 { font-size: 1.05rem; margin: 0; }
.tour-card h3 a { color: var(--ink); text-decoration: none; }
.tour-card h3 a::after { content: ""; position: absolute; inset: 0; }
.tour-card h3 a:focus-visible { outline: none; }

.values-band { background: linear-gradient(180deg, #fff 0%, var(--mist) 100%); padding-block: clamp(48px, 7vw, 88px); }
.values-head { max-width: 640px; margin-bottom: clamp(24px, 3vw, 36px); }
.value-boxes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.value-box { --vc: var(--teal); --vt: var(--teal-deep); position: relative; overflow: hidden; background: #fff; border-radius: 22px; padding: 26px 24px 28px; box-shadow: 0 1px 0 rgba(12,45,85,.06), 0 10px 30px rgba(12,45,85,.06); border: 1px solid color-mix(in srgb, var(--vc) 18%, #fff); }
.value-box::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--vc); }
.vc-magenta { --vc: #9b2c6e; --vt: #86235e; } .vc-indigo { --vc: #4a4893; --vt: #3e3c80; } .vc-green { --vc: #1f7a3e; --vt: #1a6934; }
.vc-orange { --vc: #e57a24; --vt: #a8530d; } .vc-blue { --vc: var(--ink); --vt: var(--ink); }
.value-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 18px; min-height: 72px; }
.value-icon { width: 68px; height: 68px; border-radius: 20px; background: var(--vc); display: grid; place-items: center; flex: none; }
.value-icon svg { width: 44px; height: 44px; fill: rgba(255,255,255,.92); }
.value-icon .ic-cut { fill: color-mix(in srgb, var(--vc) 55%, #fff); }
.value-icon .ic-soft { fill: rgba(255,255,255,.6); }
.value-icon .ic-line { fill: none; stroke: rgba(255,255,255,.92); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.value-letter { font-size: 4.6rem; line-height: .85; font-weight: 800; color: var(--vc); opacity: .9; letter-spacing: -.04em; }
.value-box h3 { color: var(--vt); font-size: 1.32rem; margin: 0 0 .3em; }
.value-motto { font-size: 1.06rem; font-weight: 450; font-style: italic; color: var(--ink-soft); margin: 0; }
.value-desc { color: var(--ink-soft); font-size: .95rem; margin: .7em 0 0; }
body.high-contrast .value-box { border: 2px solid #000; box-shadow: none; }
body.high-contrast .site-hero:not(.has-image)::after { display: none; }

.chat-log .bot-answer { background: var(--mist); align-self: flex-start; border-radius: 14px; border-bottom-left-radius: 4px; padding: .7em .95em; max-width: 92%; }
.chat-log .bot-answer p { padding: 0; background: none; max-width: none; margin: 0; }
.bot-links { list-style: none; padding: 0; margin: .6em 0 0; display: grid; gap: 6px; }
.bot-links a { display: flex; align-items: center; gap: .4em; padding: .45em .7em; background: #fff; border: 1px solid var(--line); border-radius: 8px; font-weight: 600; text-decoration: none; color: var(--teal-deep); }
.bot-links a::after { content: ""; margin-left: auto; width: .45em; height: .45em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); flex: none; }
.bot-links a:hover { border-color: var(--teal); }
.bot-follow { display: inline-block; margin-top: .6em; font-weight: 600; font-size: .9rem; }
.chat-log .typing { display: inline-flex; gap: 4px; padding: .8em 1em; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-soft); opacity: .4; animation: typing 1s infinite; }
.typing span:nth-child(2) { animation-delay: .15s; } .typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 100% { opacity: .25; transform: translateY(0); } 50% { opacity: .9; transform: translateY(-3px); } }
.chat-disclaimer a { color: var(--teal-deep); font-weight: 600; }
.chat-quick, .chat-form, .chat-disclaimer, .chat-head { flex: none; }
.chat-panel.has-chat .chat-quick { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 10px; scrollbar-width: thin; }
.chat-panel.has-chat .chat-quick button { flex: none; }
.chat-panel { max-height: min(680px, calc(100vh - 40px)); }

/* Responsive */
@media (max-width: 1440px) and (min-width: 1241px) {
  .nav-cta { display: none; }
}
@media (max-width: 1240px) {
  .menu-toggle { display: inline-flex; }
  .primary-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(12, 45, 85, .12); flex-direction: column; align-items: stretch; padding: 12px var(--gutter) 20px; gap: 12px; }
  .primary-nav.open { display: flex; }
  .primary-nav > ul { flex-direction: column; }
  .primary-nav > ul > li > a { padding: .8em .4em; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1rem; }
  .primary-nav > ul > li > a[aria-current] { box-shadow: inset 4px 0 0 var(--teal); padding-left: 1em; }
  .primary-nav .sub-menu { position: static; box-shadow: none; border: 0; padding: 0 0 0 1em; }
  .sub-toggle { width: 100%; justify-content: space-between; padding: .8em .4em; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1rem; }
}
body.nav-no-cta .nav-cta { display: none; }
body.nav-collapsed .nav-cta { display: inline-flex; }
body.nav-collapsed .menu-toggle { display: inline-flex; }
body.nav-collapsed .primary-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(12, 45, 85, .12); flex-direction: column; align-items: stretch; padding: 12px var(--gutter) 20px; gap: 12px; }
body.nav-collapsed .primary-nav.open { display: flex; }
body.nav-collapsed .primary-nav > ul { flex-direction: column; }
body.nav-collapsed .primary-nav .sub-menu { position: static; box-shadow: none; border: 0; padding: 0 0 0 1em; }
body.nav-collapsed .sub-toggle { width: 100%; justify-content: space-between; padding: .8em .4em; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1rem; }
body.nav-collapsed .primary-nav > ul > li > a { padding: .8em .4em; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1rem; }
body.nav-collapsed .primary-nav > ul > li > a[aria-current] { box-shadow: inset 4px 0 0 var(--teal); padding-left: 1em; }
@media (max-width: 860px) {
  .value-boxes { grid-template-columns: 1fr 1fr; }
  .news-track { grid-auto-columns: minmax(260px, 72%); }
  .tour-stop { grid-template-columns: 1fr; }
  .tour-plan { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tour-plan li { grid-column: auto !important; grid-row: auto !important; }
  .image-text, .article-layout { grid-template-columns: 1fr; }
  .image-text.image-left .image-text-media { order: 0; }
  .cards, .cards.cols-4 { grid-template-columns: 1fr 1fr; }
  .share-box { position: static; }
  .hero-grid, .process, .a11y, .page-layout, .profile { grid-template-columns: 1fr; }
  .doors-grid, .service-list { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .help-card { position: static; }
  .profile > div:first-child { max-width: 320px; }
  .door { min-height: 0; }
}
@media (max-width: 560px) {
  .tour-cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tour-card-body { padding: 10px 12px 12px; }
  .tour-card h3 { font-size: .95rem; }
  .tour-play { width: 30px; height: 30px; right: 8px; bottom: 8px; }
  .value-top { min-height: 0; }
  .value-letter { font-size: 3.6rem; }
  .value-boxes { grid-template-columns: 1fr; }
  .news-track { grid-auto-columns: 86%; }
  .hotspot { font-size: .78rem; padding: .35em .7em .35em .5em; }
  .tour-controls .button { min-width: 0; padding-inline: 1em; }
  .brand { flex: 1 1 auto; min-width: 0; }
  .brand-text { min-width: 0; }
  .site-theme .brand-name { font-size: 1.08rem; line-height: 1.2; }
  .site-theme .brand-sub { display: none; }
  .menu-toggle { flex: none; }
  .cards, .cards.cols-2, .cards.cols-4 { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: 0; }
  .brand-logo { max-height: 48px; max-width: 180px; }
  html { font-size: calc(16px * var(--scale)); }
  .header-inner { min-height: 70px; }
  .brand img { width: 42px; }
  .brand-name { font-size: 1.25rem; }
  .logins { display: none; }
  .tools button:disabled { display: none; }
  .hero-roles { display: none; }
  .hero { padding-top: 36px; }
  .tools button { padding: .3em .7em; }
  .values, .footer-grid { grid-template-columns: 1fr; }
  .chat-launch { right: 12px; bottom: 12px; }
  .chat-panel { right: 8px; bottom: 8px; }
  .closing .button { width: 100%; }
}

/* High contrast (toggle) */
body.high-contrast {
  --ink: #000; --ink-soft: #000; --paper: #fff; --mist: #fff; --line: #000;
  --teal: #003f45; --teal-deep: #003f45; --heart: #8a0026; --heart-deep: #5e001a; --purple: #3f1d63; --green: #1f4a14; --focus: #0047ff;
}
body.high-contrast .doors, body.high-contrast .closing, body.high-contrast .site-footer, body.high-contrast .chat-head { background: #000; }
body.high-contrast .door-staff { border: 3px solid #fff; }
body.high-contrast .door-work { background: #000; border: 3px solid #fff; }
body.high-contrast .closing p, body.high-contrast .site-footer, body.high-contrast .door-work .door-text { color: #fff; }
body.high-contrast a { text-decoration-thickness: 2px; }
body.high-contrast .page-head, body.high-contrast .section-mist, body.high-contrast .help-card, body.high-contrast .empty { border: 2px solid #000; }
body.high-contrast .tools button, body.high-contrast .chat-quick button, body.high-contrast .chat-form input { border: 2px solid #000; }

@media (prefers-reduced-motion: reduce) {
  .tour.is-enhanced .tour-stop:not([hidden]) .tour-stage { animation: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .toolbar, .chat-launch, .chat-panel, .menu-toggle, .listen, .nav-cta, .help-card { display: none !important; }
  .site-header { position: static; }
  .hero, .doors { border-radius: 0; margin: 0; }
}
