/* ==========================================================================
   Jodee Blanco Group — site stylesheet
   Replaces Astra + Elementor. Sections:
   1. Fonts   2. Tokens   3. Base   4. Layout helpers   5. Header & nav
   6. Page banner   7. Content blocks   8. Forms   9. Footer   10. Utilities
   ========================================================================== */

/* 1. Fonts (self-hosted; same faces the old theme loaded) ---------------------- */
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/open-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/open-sans-latin-700-normal.woff2) format("woff2"); }   /* real bold for <strong> */
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 300; font-display: swap; src: url(/fonts/source-sans-3-latin-300-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/source-sans-3-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/source-sans-3-latin-700-normal.woff2) format("woff2"); }

/* 2. Tokens ---------------------------------------------------------------- */
:root {
  --accent: #bb3458;       /* buttons, links, menu line */
  --accent-dark: #a32b4b;  /* hover, current menu item */
  --white: #fff;
  --gray-light: #e3e5e7;
  --text: #4e5455;
  --heading: #363a3b;
  --muted: #737c7d;
  --border: #ddd;
  --font-body: "Open Sans", sans-serif;
  --font-head: "Source Sans 3", sans-serif;
  --content: 1280px;       /* main content width */
  --wide: 1310px;          /* header/footer width */
  --gutter: 20px;
}

/* 3. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 100%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 150px; }   /* in-page jumps clear the sticky header */
@media (max-width: 1024px) { html { scroll-padding-top: 95px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font-body); font-size: 1rem; line-height: 1.75; color: var(--text); background: var(--white); overflow-wrap: break-word; }
img, video, iframe { max-width: 100%; }
img { height: auto; vertical-align: middle; }
a { color: var(--accent); }
a:hover, a:focus { color: var(--accent-dark); }
p { margin: 0 0 1.75em; }
ul, ol { margin: 0 0 1.5em 3em; padding: 0; }
li > ul, li > ol { margin-bottom: 0; margin-left: 1.5em; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--heading); margin: 0 0 20px; }
h1, .as-h1 { font-size: 4rem; font-weight: 600; line-height: 1.2; }
h2, .as-h2 { font-size: 2.8rem; font-weight: 400; line-height: 1.3; }
h3, .as-h3 { font-size: 2.2rem; font-weight: 300; line-height: 1.4; }
h4, .as-h4 { font-size: 1.8rem; font-weight: 300; line-height: 1.4; }
h5, .as-h5 { font-size: 1.2rem; font-weight: 300; line-height: 1.5; }
h6, .as-h6 { font-size: 1rem; font-weight: 700; line-height: 1.25; }
/* .as-hN (above): a heading whose tag level was corrected for accessibility/SEO but keeps its original look */
@media (max-width: 921px) { h1, .as-h1 { font-size: 1.71rem; } h2, .as-h2 { font-size: 1.425rem; } h3, .as-h3 { font-size: 1.14rem; } h4, .as-h4 { font-size: 1.6416rem; } h5, .as-h5 { font-size: 1.0944rem; } h6, .as-h6 { font-size: .912rem; } }
blockquote { margin: 0 0 1.5em; }
hr { border: 0; border-top: 1px solid var(--border); margin: 20px 0; }
table { border-collapse: collapse; width: 100%; margin-bottom: 1.5em; }
td, th { border: 1px solid var(--border); padding: .7em 1em; text-align: left; vertical-align: top; }
:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 10px; top: -100px; z-index: 1000; background: var(--white); color: var(--heading); padding: 12px 20px; box-shadow: 0 0 4px rgba(0,0,0,.3); }
.skip-link:focus { top: 10px; }

/* 4. Layout helpers -------------------------------------------------------
   .container  = centered page-width wrapper
   .sec        = a full-width content band (one per old Elementor section)
   .row / .col = columns; a .col's width is set with style="--w:40%".
                 Columns stack full-width below 768px.                       */
.container { max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
/* Like the old builder, sections have no side gutter: content spacing comes from the 10px column padding */
.sec { position: relative; }
.sec > .inner.pad, .sec--first > .inner > .text:only-child { padding-left: 10px; padding-right: 10px; }
.sec > .inner { max-width: var(--content); margin: 0 auto; position: relative; z-index: 1; }
.sec--first { padding-top: 60px; }
.sec--last { padding-bottom: 60px; }
.row { display: flex; flex-wrap: wrap; gap: var(--rgap, var(--gap, 20px)) var(--gap, 20px); }   /* --rgap: space between wrapped (stacked) columns */
/* stacked blocks are 20px apart (the old widget spacing); a box can change it with style="--stack:10px" */
.col, .box { --stack: 20px; }
.inner > * + *, .col > * + *, .box > * + * { margin-top: var(--stack, 20px); }
.col { flex: 1 1 0; min-width: 0; padding: 10px; }
.col.flat { padding: 0; }
/* buttons placed side by side keep their own width */
.col.flat:not([style*="--w:"]):has(> .btn-wrap) { flex: 0 1 auto; }
.row.legacy { flex-wrap: nowrap; gap: 0; }
.row.legacy > .col { padding: var(--colpad, 10px); }
.row.legacy > .col[style*="--w:"] { flex: 0 1 var(--w); }
.box { padding: 10px; }
.col[style*="--w:"] { flex: 0 0 calc(var(--w) - var(--gap, 20px) * (1 - var(--w) / 100%)); }
/* a sized column next to an unsized one keeps its exact width; the other column takes what's left */
@media (min-width: 768px) { .row:has(> .col:not([style*="--w:"])) > .col[style*="--w:"] { flex-basis: var(--w); } }
.grid { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: var(--gap, 20px); }
@media (max-width: 767px) { .grid { grid-template-columns: 1fr; } }
.v-center { align-items: center; }
.col.v-center, .box.v-center { display: flex; flex-direction: column; justify-content: center; align-items: stretch; }
.v-center-self { align-self: center; }
/* Phones: columns go full width; buttons and other blocks placed side by side just wrap */
@media (max-width: 767px) {
  .row, .row.legacy { flex-wrap: wrap; }
  .row > .col, .row > .col[style*="--w:"], .row.legacy > .col[style*="--w:"] { flex: 0 0 100%; width: 100%; }
  .row > .col.flat:not([style*="--w:"]):has(> .btn-wrap) { flex: 0 1 auto; width: auto; }
  .row.jc-center-m { justify-content: center; }
  .col.ai-center-m, .box.ai-center-m { display: flex; flex-direction: column; align-items: center; }
  .center-m { text-align: center; }
  .btn-wrap.center-m { justify-content: center; }
}
.row > .btn-wrap.full .btn { flex: none; }
/* Sections with a photo behind them (home page). Pass the image with style="--bg:url(...)" */
.sec--photo { color: var(--white); isolation: isolate; }
.sec.flex-center { display: flex; align-items: center; }
.sec.flex-center > .inner { width: 100%; }
.sec--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bg) var(--bg-pos, center) / cover no-repeat; }
.sec--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--overlay, transparent); opacity: var(--ov-op, 1); }
.sec--photo h1, .sec--photo h2, .sec--photo h3, .sec--photo h4, .sec--photo h5, .sec--photo h6 { color: var(--white); }

/* Tablet / phone overrides carried over from the old page builder.
   A block can set e.g. style="padding-top:120px; --pt-m:40px" — the --x-t value
   applies at 1024px and below, --x-m at 767px and below. */
@media (max-width: 1024px) {
  [style*="--pt-t:"] { padding-top: var(--pt-t) !important; }
  [style*="--pb-t:"] { padding-bottom: var(--pb-t) !important; }
  [style*="--pl-t:"] { padding-left: var(--pl-t) !important; }
  [style*="--pr-t:"] { padding-right: var(--pr-t) !important; }
  [style*="--mt-t:"] { margin-top: var(--mt-t) !important; }
  [style*="--mb-t:"] { margin-bottom: var(--mb-t) !important; }
  [style*="--mh-t:"] { min-height: var(--mh-t) !important; }
  [style*="--pad-t:"] { padding: var(--pad-t) !important; }
  .col[style*="--w-t:"] { flex: 0 0 calc(var(--w-t) - var(--gap, 20px) * (1 - var(--w-t) / 100%)) !important; }
  .row:has(> .col[style*="--w-t:"]) { flex-wrap: wrap; }
}
@media (max-width: 767px) {
  [style*="--pt-m:"] { padding-top: var(--pt-m) !important; }
  [style*="--pb-m:"] { padding-bottom: var(--pb-m) !important; }
  [style*="--pl-m:"] { padding-left: var(--pl-m) !important; }
  [style*="--pr-m:"] { padding-right: var(--pr-m) !important; }
  [style*="--mt-m:"] { margin-top: var(--mt-m) !important; }
  [style*="--mb-m:"] { margin-bottom: var(--mb-m) !important; }
  [style*="--mh-m:"] { min-height: var(--mh-m) !important; }
  [style*="--pad-m:"] { padding: var(--pad-m) !important; }
  .col[style*="--w-t:"] { flex: 0 0 100% !important; }   /* phones: full width unless a phone width is given */
  .col[style*="--w-m:"] { flex: 0 0 var(--w-m) !important; }
}

/* 5. Header & nav ---------------------------------------------------------- */
/* Whole header (light top bar + logo/menu bar) stays pinned to the top while scrolling */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); }
/* Accessibility: on short screens (landscape phones, or when zoomed in 200%+) the pinned header
   would cover too much of the page and can hide the focused link, so let it scroll away instead */
@media (max-height: 600px) {
  .site-header { position: static; }
  html { scroll-padding-top: 1rem; }
}
.top-bar { background: #f6f7f8; border-bottom: 1px solid #e9ecee; }   /* = rgba(227,230,232,.34) on white */
.top-bar__inner { display: flex; align-items: center; gap: 20px; min-height: 50px; }
.top-bar__inner > .btn:first-child { margin-right: auto; }
.btn { display: inline-block; background: var(--accent); color: var(--white); border: 1px solid var(--white); border-radius: 4px; padding: 12px 22px; font: inherit; font-size: 1rem; font-weight: 500; line-height: 1; text-transform: uppercase; text-decoration: none; text-align: center; cursor: pointer; transition: background-color .2s; }
.btn:hover, .btn:focus { background: var(--accent-dark); color: var(--white); }
.social-link { color: #1d5d90; display: inline-flex; }
.social-link svg { width: 24px; height: 24px; }
.social-link:hover { color: var(--accent); }

.nav .menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.nav .menu li { position: relative; }
.nav a, .nav .sub-toggle--label { color: var(--heading); text-decoration: none; font: inherit; }
.nav a:hover, .nav .sub-toggle--label:hover, .nav .current > a, .nav .current > .sub-toggle, .nav a[aria-current="page"] { color: var(--accent-dark); }
.nav--main .menu > li > a, .nav--main .menu > li > .sub-toggle--label { display: flex; align-items: center; padding: 0 16px; line-height: 80px; }
.sub-toggle { background: none; border: 0; padding: 0; cursor: pointer; color: inherit; }
.nav .sub-toggle--label::after { content: ""; width: 6px; height: 6px; margin: -3px 0 0 9px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
/* items with their own page and a flyout (Training): small arrow button next to the link */
.nav .sub-menu .has-sub > a { padding-right: 36px; }
.nav .sub-menu .has-sub > .sub-toggle:not(.sub-toggle--label) { position: absolute; right: 0; top: 0; bottom: 0; width: 36px; }
.nav .sub-menu .has-sub > .sub-toggle::after { content: ""; position: absolute; right: 16px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(-45deg); }
.nav .sub-menu .sub-toggle--label { display: block; width: 100%; text-align: left; padding: 14.4px 36px 14.4px 16px; line-height: 1.45; color: var(--heading); border-bottom: 1px solid #eaeaea; }
.nav .sub-menu { list-style: none; margin: 0; padding: 0; position: absolute; top: 100%; left: 0; width: 300px; background: var(--white); border-top: 2px solid var(--accent); box-shadow: 0 4px 10px -2px rgba(0,0,0,.1); z-index: 10; display: none; }
.nav .sub-menu .sub-menu { top: -2px; left: 100%; }   /* third level flies out to the right */
/* closed dropdowns take up no space (so narrow windows never scroll sideways); open ones fade in */
.nav li:hover > .sub-menu, .nav li:focus-within > .sub-menu, .nav .sub-menu.open { display: block; animation: dropdown .2s ease-out; }
@keyframes dropdown { from { opacity: 0; transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .nav .sub-menu { animation: none !important; } }
.nav .sub-menu a { display: block; padding: 14.4px 16px; line-height: 1.45; color: var(--heading); border-bottom: 1px solid #eaeaea; }
/* dropdown links are dark; pink on hover and for the current page (and the item it sits under) */
.nav .sub-menu a:hover, .nav .sub-menu .sub-toggle--label:hover, .nav .sub-menu .sub-toggle:hover, .nav .sub-menu a[aria-current="page"],
.nav .sub-menu .current > a, .nav .sub-menu .current > .sub-toggle { color: var(--accent-dark); }
.nav .sub-menu a:hover, .nav .sub-menu .sub-toggle--label:hover { background: #fafafa; }
.nav .sub-menu > li:last-child > a { border-bottom: 0; }
/* dropdowns near the right edge open leftward so they stay on screen */
.nav .menu > li:nth-last-child(-n+3) > .sub-menu { left: auto; right: 0; }

.main-bar { background: var(--white); border-bottom: 1px solid var(--accent); }
.main-bar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 80px; }
.logo { display: flex; align-items: center; gap: 20px; line-height: 0; flex-shrink: 0; }
.logo__mark { width: 70px; }
.logo__name { width: 240px; }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; color: var(--accent); cursor: pointer; line-height: 0; }
.menu-toggle .icon-close, .menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: inline; }
.mobile-menu { display: none; }

/* Shrinking menu bar: once the page is scrolled (js adds .is-scrolled), the white
   logo/menu bar eases from 80px to 64px tall with a slightly smaller logo. Desktop only. */
@media (min-width: 1025px) {
  .main-bar__inner { transition: min-height .25s ease; }
  .nav--main .menu > li > a, .nav--main .menu > li > .sub-toggle--label { transition: line-height .25s ease; }
  .logo__mark, .logo__name { transition: width .25s ease; }
  .is-scrolled .main-bar__inner { min-height: 64px; }
  .is-scrolled .nav--main .menu > li > a, .is-scrolled .nav--main .menu > li > .sub-toggle--label { line-height: 64px; }
  .is-scrolled .logo__mark { width: 56px; }
  .is-scrolled .logo__name { width: 200px; }
}
@media (prefers-reduced-motion: reduce) {
  .main-bar__inner, .nav--main .menu > li > a, .nav--main .menu > li > .sub-toggle--label, .logo__mark, .logo__name { transition: none !important; }
}

/* Never let menu labels or header buttons wrap onto two lines */
.nav a, .nav .sub-toggle--label, .top-bar .btn { white-space: nowrap; }
.nav .sub-menu a, .nav .sub-menu .sub-toggle--label { white-space: normal; }

/* Narrow desktop windows (1025–1200px): compact header so everything stays on one line */
@media (min-width: 1025px) and (max-width: 1200px) {
  .nav--main .menu > li > a, .nav--main .menu > li > .sub-toggle--label { padding: 0 10px; }
  .logo { gap: 12px; }
  .logo__mark { width: 56px; }
  .logo__name { width: 200px; }
  .is-scrolled .logo__mark { width: 50px; }
  .is-scrolled .logo__name { width: 180px; }
}
@media (min-width: 1025px) and (max-width: 1100px) {
  .nav--main .menu > li > a, .nav--main .menu > li > .sub-toggle--label { padding: 0 7px; }
  .logo__name, .is-scrolled .logo__name { width: 175px; }
}

/* Hamburger menu at tablet size and below */
@media (max-width: 1024px) {
  .top-bar, .nav--main { display: none; }
  .main-bar__inner { min-height: 79px; }
  .logo { gap: 12px; }
  .logo__mark { width: 56px; }
  .logo__name { width: 190px; }
  .menu-toggle { display: block; }
  /* Mobile menu scrolls inside itself when it's taller than the screen (landscape phones) */
  .mobile-menu.open { display: block; max-height: calc(100vh - 77px); max-height: calc(100dvh - 77px); overflow-y: auto; border-top: 1px solid #eaeaea; }
  .mobile-menu .menu { list-style: none; margin: 0; padding: 0; }
  .mobile-menu li { position: relative; border-bottom: 1px solid #eaeaea; }
  .mobile-menu a, .mobile-menu .sub-toggle--label { display: block; width: 100%; text-align: left; padding: 12px 20px; color: var(--heading); text-decoration: none; font: inherit; }
  .mobile-menu .current > a, .mobile-menu .current > .sub-toggle--label, .mobile-menu a[aria-current="page"] { color: var(--accent-dark); }
  .mobile-menu a:hover, .mobile-menu a:focus-visible, .mobile-menu .sub-toggle--label:hover, .mobile-menu .sub-toggle--label:focus-visible { background: #f3e6ea; color: var(--accent-dark); }
  .mobile-menu .sub-toggle { position: absolute; right: 0; top: 0; width: 56px; height: 50px; }
  .mobile-menu .sub-toggle--label { position: relative; width: 100%; height: auto; }
  .mobile-menu .sub-toggle::after { content: ""; position: absolute; right: 24px; top: 50%; width: 7px; height: 7px; margin-top: -6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); transition: transform .2s; }
  .mobile-menu .sub-toggle[aria-expanded="true"]::after { transform: rotate(-135deg); margin-top: -2px; }
  .mobile-menu .sub-menu { display: none; list-style: none; margin: 0; padding: 0; border-top: 1px solid #eaeaea; }
  .mobile-menu .sub-menu.open { display: block; }
  .mobile-menu .sub-menu li:last-child { border-bottom: 0; }
  .mobile-menu .sub-menu a, .mobile-menu .sub-menu .sub-toggle--label { padding-left: 40px; }
  .mobile-menu .sub-menu .sub-menu a { padding-left: 60px; }
}

/* 6. Page banner (title + breadcrumbs on every inner page) ------------------ */
.page-banner { position: relative; background: #2c3e50 url(/images/office-bg.webp) center / cover no-repeat; color: var(--white); text-align: center; padding: 8% 0; isolation: isolate; }
.page-banner::after { content: ""; position: absolute; inset: 0; background: rgba(44,62,80,.5); z-index: -1; }
.page-banner h1 { color: var(--white); font-size: 4rem; font-weight: 600; line-height: 1.2; margin: 0 0 20px; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; }
.breadcrumbs li + li::before { content: "»"; margin: 0 .3em; }
.breadcrumbs a { color: var(--white); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
@media (max-width: 921px) { .page-banner h1 { font-size: 1.71rem; } }

/* 7. Content blocks ---------------------------------------------------------- */
.text { display: flow-root; }   /* contains floated images */
.text p { margin-bottom: 1.6em; }
/* like the old site, the last paragraph/list in a text block keeps its bottom margin */
.text ul, .text ol { margin: 1em 0; padding-left: 20px; }
.html p { margin: 0; }
.faq-list > li + li { margin-top: 20px; }   /* FAQs: space between questions */   /* custom-HTML blocks: paragraphs carry their own spacing */
/* WordPress image alignment classes inside text */
.alignleft { float: left; margin-right: 2em; }
.alignright { float: right; margin-left: 2em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignnone { display: inline-block; }
@media (max-width: 767px) {   /* phones: floated images sit on their own line with space below (the old site had none) */
  .text .alignleft, .text .alignright { float: none; display: block; margin: 0 auto 1.5em; }
}
.wp-caption { max-width: 100%; }
.wp-caption img { display: block; }
.wp-caption-text { font-size: .9em; text-align: center; margin: 8px 0 0; }
.heading, .btn-wrap { margin-bottom: 0; }   /* headings placed as blocks have no margin; spacing comes from the column gap */
.center { text-align: center; }
.right { text-align: right; }
figure { margin: 0; }
figcaption { font-size: .9em; text-align: center; margin-top: 8px; }
.img.center img, figure.center img { margin: 0 auto; }
.img img { display: inline-block; }
.btn-wrap { display: flex; }
.btn-wrap.center { justify-content: center; }
.btn-wrap.right { justify-content: flex-end; }
.btn-wrap.full .btn { flex: 1; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-row.center { justify-content: center; }
.video { position: relative; aspect-ratio: var(--ratio, 16 / 9); background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* Click-to-play video: shows a local thumbnail; the Vimeo player only loads when clicked (much faster pages) */
.video__play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: #000; cursor: pointer; }
.video__play img { display: block; width: 100%; height: 100%; object-fit: cover; }
.video__play::after { content: ""; position: absolute; left: 50%; top: 50%; width: 66px; height: 40px; margin: -20px 0 0 -33px; border-radius: 5px; background: rgba(23,35,34,.75) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23fff' d='M5 3l12 7-12 7z'/%3E%3C/svg%3E") center / 20px no-repeat; transition: background-color .2s; }
.video__play:hover::after, .video__play:focus-visible::after { background-color: #00adef; }
.video__play:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.divider { width: 50px; height: 34px; margin-left: auto; margin-right: auto; padding: 15px 0; border: 0; background: #bdbdbd content-box; }
.quote { background: var(--gray-light); padding: 30px; margin-left: 0; margin-right: 0; margin-bottom: 0; color: #3f444b; }   /* top margin comes from the 20px block spacing, so stacked quotes stay separated */
.quote > p { font-style: italic; margin: 0 0 24px; }
.quote > p:last-child { margin-bottom: 0; }
.quote cite { font-style: normal; font-weight: 700; }
/* Accordions / toggles (old Elementor accordion) use native <details> — no JS needed */
.accordion { border: 1px solid #d5d8dc; }
.accordion details + details { border-top: 1px solid #d5d8dc; }
.accordion summary { list-style: none; cursor: pointer; padding: 15px 20px; font-weight: 700; line-height: 1; color: var(--heading); display: flex; align-items: center; gap: 10px; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::before { content: "+"; font-size: 1.2em; width: 1em; flex: none; }
.accordion details[open] > summary::before { content: "–"; }
.accordion summary span { text-decoration: underline; }
.accordion .panel { padding: 15px 20px; border-top: 1px solid #d5d8dc; }
.accordion .panel > :last-child { margin-bottom: 0; }
@media (max-width: 767px) { .accordion summary { padding: 12px 15px; } .accordion .panel { padding: 7px 15px; } }

/* Testimonial slider (home page) */
.slider { position: relative; padding: 0 32px 40px; }
.slider__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.slider__track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; text-align: center; padding: 20px; }
.slide blockquote { margin: 0; font-size: 1rem; line-height: 1.5; font-style: italic; }
.slide cite { display: block; margin-top: 25px; font-style: normal; font-size: .875rem; line-height: 1.5; }
.slide cite strong { display: block; }
.slider__btn { position: absolute; top: calc(50% - 20px); transform: translateY(-50%); background: none; border: 0; padding: 0; width: 20px; height: 20px; cursor: pointer; color: var(--text); }
.slider__btn:hover { color: var(--accent); }
.slider__btn svg { width: 20px; height: 20px; }
.slider__btn--prev { left: 10px; }
.slider__btn--next { right: 10px; }
.slider__dots { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; gap: 0; }
.slider__dots button { width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }   /* 24px tap area, 6px dot */
.slider__dots button::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #000; opacity: .2; }
.slider__dots button[aria-current="true"]::before { opacity: 1; }
@media (max-width: 767px) { .slider { padding: 0 10px 40px; } .slider__btn--prev { left: 0; } .slider__btn--next { right: 0; } }

/* Slides: shorter quotes sit centered in the slider's height. On phones, quotes over 12 lines are cut
   to 10 lines with a fade and a "Read more" button (added by site.js) */
.slide { display: flex; flex-direction: column; justify-content: center; }
.slide__more { display: block; margin: 8px auto 0; padding: 6px 10px; background: none; border: 0; font: inherit; font-size: .875rem; font-style: normal; color: var(--accent); text-decoration: underline; cursor: pointer; }
.slide__more:hover { color: var(--accent-dark); }
.slide__more[hidden] { display: none; }
@media (max-width: 767px) {
  .slide__text.is-clamped { max-height: 15em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 65%, transparent); mask-image: linear-gradient(#000 65%, transparent); }
  .is-open .slide__text.is-clamped { max-height: none; -webkit-mask-image: none; mask-image: none; }
}

/* Single testimonials (Testimonials page) */
.testimonial { margin-left: 0; margin-right: 0; margin-bottom: 0; padding: 20px; border: 1px solid var(--gray-light); background: #fdfdfd; }
.testimonial blockquote { margin: 0; font-style: italic; }
.testimonial figcaption { display: flex; align-items: center; gap: 20px; margin-top: 20px; }
.testimonial__img img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; display: block; }
.testimonial__who { display: flex; flex-direction: column; font-size: .875rem; line-height: 1.5; }
.testimonial__name { font-weight: 700; color: var(--heading); }
.testimonial__job { color: var(--text); }
a.testimonial__name, a.testimonial__job { color: var(--accent); text-decoration: none; }
a.testimonial__name:hover, a.testimonial__job:hover { color: var(--accent-dark); text-decoration: underline; }

/* 9. Footer ------------------------------------------------------------------ */
.site-footer { position: relative; color: var(--white); background: #222 url(/images/office-bg.webp) center / cover no-repeat; isolation: isolate; }
.site-footer::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.48); z-index: -1; }
.footer-widgets { background: rgba(0,0,0,.38); border-top: 1px solid rgba(227,230,232,.3); padding: 100px 0; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; text-align: center; }
.footer-title { font-size: 1.6rem; font-weight: 600; line-height: 1.4; color: var(--white); margin: 0 0 20px; }
.site-footer p { color: var(--white); margin-bottom: 1.75em; }
.footer-grid p:last-child { margin-bottom: 0; }
.site-footer .footer-widgets a:not(.btn) { color: #e8f2e6; text-decoration: none; }
.site-footer .footer-widgets a:not(.btn):hover { text-decoration: underline; }
.footer-bottom { background: rgba(0,0,0,.51); min-height: 101px; padding: 20px 0; display: flex; align-items: center; font-size: .875rem; line-height: 1.65; text-align: center; }
.footer-bottom .container { width: 100%; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #f08aa6; }   /* lighter shade of the brand pink so it's readable on the dark band */
.footer-bottom a:hover { color: var(--white); }
@media (max-width: 921px) { .footer-widgets { padding: 40px 0 50px; } .footer-widgets .container { padding: 0 10px; } .footer-bottom .container { padding: 0; } .footer-grid p:has(+ .btn) { margin-bottom: 11px; } .footer-grid .btn { margin-bottom: 9px; } }
@media (max-width: 544px) { .footer-grid { grid-template-columns: 1fr; gap: 10px; } }

/* 10. Utilities -------------------------------------------------------------- */
.to-top { position: fixed; right: 30px; bottom: 30px; z-index: 99; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: var(--accent); color: var(--white); border-radius: 2px; }
.to-top:hover { color: var(--white); background: var(--accent-dark); }
.to-top[hidden] { display: none; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
/* Bullet lists inside content are indented a little more (old site custom CSS) */
.text ul li { margin-left: 20px; }

/* Fixed ("parallax") backgrounds: hero/feature photos, page title banner, footer.
   Kept at the END of the file on purpose: the background shorthands above would
   otherwise reset it. Desktop only, since iOS/Android can't do fixed backgrounds
   properly, so phones and tablets get normal scrolling. */
@media (min-width: 1025px) and (hover: hover) {
  .sec--fixed::before, .page-banner, .site-footer { background-attachment: fixed; }
}

/* Phones get the lighter, phone-sized background photos */
@media (max-width: 767px) {
  .page-banner, .site-footer { background-image: url(/images/office-bg-mobile.webp); }
  .sec--photo::before { background-image: var(--bg-m, var(--bg)); }
}

/* Readability: body text is 16px (1rem) on phones too (it was 14.6px) with a little more line spacing.
   Everything else keeps the size it had before (sizes are in rem; 1rem = 16px). */
@media (max-width: 921px) {   /* phone sizes that used to follow the smaller phone text */
  .btn { font-size: .912rem; }
  .footer-title { font-size: 1.459rem; }
  .footer-bottom { font-size: .798rem; }
}
.fs-18 { font-size: 1.8rem; }   /* headings that were sized 1.8em in the page */
.fs-20 { font-size: 2rem; }     /* "Better Communications" */
@media (max-width: 921px) { .fs-18 { font-size: 1.6416rem; } .fs-20 { font-size: 1.824rem; } }
