/* Furness & South Cumberland Supply Association - public site */
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --teal: #75b1c5;
  --teal-dark: #4d8ea5;
  --teal-pale: #b4d4de;
  --mist: #f1f7f8;
  --deep: #00232f;
  --ink: #2b3036;
  --slate: #54595f;
  --footer: #23282d;
  --line: #dfe8eb;
  --radius: 6px;
  --shadow: 0 2px 14px rgba(0, 35, 47, .14);
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 16px/1.7 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); }
a:hover { color: var(--deep); }
h1, h2, h3, h4 { color: var(--slate); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; }
p { margin: 0 0 1.1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 100; border-radius: var(--radius); }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--deep); outline-offset: 2px; }

.btn {
  display: inline-block; cursor: pointer; border: 0; border-radius: var(--radius);
  background: var(--teal); color: #fff; font: 600 15px/1 "Inter", sans-serif;
  padding: 14px 26px; text-decoration: none; transition: background .2s;
}
.btn:hover { background: var(--teal-dark); color: #fff; }
.btn-ghost { background: #e4edf0; color: var(--slate); }
.btn-ghost:hover { background: #d3e1e6; color: var(--deep); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 8px rgba(0, 0, 0, .08); }
@media (max-height: 760px) { .site-header { position: static; } }   /* a tall header would eat a small laptop screen */
/* Desktop: the page reserves a fixed 136px for the header and the bar floats over it, so the logo can
   shrink on scroll without the content below jumping. */
@media (min-width: 981px) and (min-height: 761px) {
  html { scroll-padding-top: 100px; }
  .site-header { position: relative; height: 136px; background: transparent; box-shadow: none; }
  .header-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: #fff; box-shadow: 0 1px 8px rgba(0, 0, 0, .08); }
  .brand img { transition: width .25s ease, height .25s ease; }
  .site-header.is-scrolled .brand img { width: 84px; height: 84px; }
  .site-header.is-scrolled .nav > ul > li > a { padding-top: 5px; padding-bottom: 5px; }
}
@media (prefers-reduced-motion: reduce) { .brand img { transition: none !important; } }
.header-inner { max-width: 1560px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 3px 24px; gap: 18px; }
.brand { display: block; line-height: 0; margin: 0 82px; }
.brand img { width: 130px; height: 130px; object-fit: contain; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.nav-left ul { justify-content: flex-end; }
.nav-right ul { justify-content: flex-start; }
.nav li { position: relative; }
.nav > ul > li > a {
  display: flex; align-items: center; gap: 7px; padding: 8px 15px; color: var(--teal);
  text-decoration: none; text-transform: uppercase; font-size: 15px; font-weight: 500; letter-spacing: 0; line-height: 1.4;
}
/* short, pale dividers between menu items (not full-height dark lines) */
.nav > ul > li:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 50%; width: 1px; height: 24px; transform: translateY(-50%); background: #c8d0d4; pointer-events: none; }
.nav a:hover, .nav li.is-current > a { color: var(--deep); }
.nav .ico { width: 15px; height: 15px; fill: currentColor; }
.nav li.has-sub > a::after { content: ""; width: 5px; height: 5px; border: solid currentColor; border-width: 0 1px 1px 0; transform: rotate(45deg); margin: -3px 0 0 2px; }
.nav .sub {
  display: none; position: absolute; top: 100%; left: 0; min-width: 210px; background: #fff;
  box-shadow: var(--shadow); border-top: 3px solid var(--teal); flex-direction: column; z-index: 5; padding: 6px 0;
}
.nav li:hover > .sub, .nav li:focus-within > .sub { display: flex; }
.nav .sub a { display: block; padding: 9px 18px; color: var(--slate); text-decoration: none; text-transform: uppercase; font-size: 13px; }
.nav .sub a:hover { background: var(--mist); color: var(--deep); }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; justify-self: end; }
.nav-toggle i { display: block; height: 3px; background: var(--teal-dark); margin: 5px 0; border-radius: 2px; }
.mobile-nav { border-top: 1px solid var(--line); background: #fff; }
.mobile-nav ul { list-style: none; margin: 0; padding: 8px 24px 16px; }
.mobile-nav a { display: flex; align-items: center; gap: 8px; padding: 11px 0; color: var(--teal-dark); text-decoration: none; text-transform: uppercase; font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-nav .ico { width: 15px; height: 15px; fill: currentColor; }
.mobile-nav .sub { padding: 0 0 0 16px; }

@media (max-width: 980px) {
  .header-inner { grid-template-columns: auto 1fr; }
  .nav-left, .nav-right { display: none; }
  .brand { margin: 0; }
  .brand img { width: 64px; height: 64px; }
  .nav-toggle { display: block; }
}
@media (min-width: 981px) { .mobile-nav { display: none !important; } }

/* ---------- page hero (breadcrumb banner) ---------- */
.page-hero { background: var(--teal) center / cover no-repeat; position: relative; }
.page-hero.has-image::before { content: ""; position: absolute; inset: 0; background: rgba(0, 20, 30, .28); }
.page-hero-inner { position: relative; display: flex; align-items: center; justify-content: center; min-height: 190px; padding: 40px 24px; }
.crumbs { margin: 0; font-size: 22px; font-weight: 700; text-transform: uppercase; color: var(--teal-pale); letter-spacing: .02em; text-shadow: 0 1px 6px rgba(0, 0, 0, .35); }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span:last-child { color: #a9d6e8; }

.intro { padding: 56px 24px 24px; }
.page-title { text-align: center; font-size: clamp(28px, 4vw, 40px); margin-bottom: .8em; }
.page-title.left { text-align: left; }
.section-title { text-align: center; font-size: clamp(28px, 4vw, 40px); margin-bottom: 1em; }
.section-title span { color: var(--teal); }

.prose { font-size: 16px; }
.prose img { border-radius: var(--radius); margin: 1em 0; }
.prose h2 { font-size: 26px; margin-top: 1.4em; }
.prose h3 { font-size: 21px; margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose blockquote { margin: 1.2em 0; padding: .4em 1.2em; border-left: 4px solid var(--teal); color: var(--slate); background: var(--mist); }
.prose table { border-collapse: collapse; width: 100%; margin: 1em 0; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
/* a link to a Word / Excel / PDF file looks like a download button */
.prose a[href$=".docx"], .prose a[href$=".doc"], .prose a[href$=".xlsx"], .prose a[href$=".xls"], .prose a[href$=".pdf"] {
  display: inline-flex; align-items: center; gap: 10px; background: var(--teal); color: #fff; text-decoration: none;
  font-weight: 600; padding: 13px 22px; border-radius: 4px; transition: background .2s;
}
.prose a[href$=".docx"]::before, .prose a[href$=".doc"]::before, .prose a[href$=".xlsx"]::before, .prose a[href$=".xls"]::before, .prose a[href$=".pdf"]::before {
  content: ""; width: 18px; height: 18px; 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 d='M12 3v11.2l4.3-4.3 1.4 1.4L12 17l-5.7-5.7 1.4-1.4L11 14.200V3zM5 19h14v2H5z'/%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 d='M12 3v11.2l4.3-4.3 1.4 1.4L12 17l-5.7-5.7 1.4-1.4L11 14.200V3zM5 19h14v2H5z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.prose a[href$=".docx"]:hover, .prose a[href$=".doc"]:hover, .prose a[href$=".xlsx"]:hover, .prose a[href$=".xls"]:hover, .prose a[href$=".pdf"]:hover { background: var(--teal-dark); color: #fff; }
.prose.center { text-align: center; }
.prose.lead { font-size: 17px; }
.center { text-align: center; }

/* ---------- blocks (What we do / Services) ---------- */
.blocks { padding-top: 24px; padding-bottom: 56px; }
.block { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); }
.block:last-child { border-bottom: 0; }
.block-flip .block-img { order: 2; }
.block-noimg { grid-template-columns: 1fr; }
.block-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.block-text h2 { font-size: 24px; text-transform: uppercase; color: var(--teal-dark); }
@media (max-width: 760px) {
  .block { grid-template-columns: 1fr; gap: 18px; }
  .block-flip .block-img { order: 0; }
}

/* ---------- partners ---------- */
.partners { background: var(--mist); padding: 56px 0; margin-top: 24px; }
.partner-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 20px; }
.partner-grid li { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center; padding: 18px; min-height: 110px; }
.partner-grid img { max-height: 70px; width: auto; object-fit: contain; }

/* ---------- home ---------- */
.hero-slider { position: relative; height: clamp(340px, 50vw, 760px); max-height: max(340px, calc(100vh - 110px)); overflow: hidden; background: var(--deep); }
.slide { position: absolute; inset: 0; background: var(--bg-sm) center / cover no-repeat; opacity: 0; transition: opacity .9s ease; display: flex; align-items: flex-start; }
.slide.is-active { opacity: 1; z-index: 1; }
.slide-text { padding: clamp(36px, 6.2vw, 92px) 24px 56px; max-width: 1308px; margin: 0 auto; width: 100%; }
.slide-text h1, .slide-text h2 {
  font-family: "Poppins", "Inter", sans-serif; font-weight: 500; color: #fff; text-transform: uppercase;
  font-size: clamp(26px, 3.45vw, 54px); line-height: 1.3; letter-spacing: 0; max-width: 1060px; margin: 0 0 .12em;
  text-shadow: 3px 3px 7px rgba(0, 0, 0, .55);
}
.slide-text p {
  font-family: Arial, Helvetica, sans-serif; font-weight: 400; color: #fff; font-size: clamp(16px, 2.25vw, 34px);
  line-height: 1.25; margin: 0 0 .8em; text-shadow: 2px 2px 6px rgba(0, 0, 0, .55);
}
.slide-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .72); color: var(--deep); font-size: 28px; line-height: 1; cursor: pointer; }
.slide-nav:hover { background: #fff; }
.slide-nav.prev { left: 14px; } .slide-nav.next { right: 14px; }
.slide-dots { position: absolute; bottom: 14px; left: 0; right: 0; z-index: 3; display: flex; justify-content: center; gap: 8px; }
.slide-dots button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent; padding: 0; cursor: pointer; }
.slide-dots button.is-active { background: #fff; }

.home-intro { padding: 70px 0; background: #fcfcfc; }
.home-intro-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; align-items: center; }
/* the picture is a transparent collage that already contains its own teal block, lines and inset, so it is shown as is */
.home-intro-img img { width: 100%; max-width: 556px; height: auto; margin: 0 auto; }
.home-intro-grid:not(:has(.home-intro-img)) { grid-template-columns: 1fr; max-width: 860px; }
@media (max-width: 860px) { .home-intro-grid { grid-template-columns: 1fr; gap: 36px; } .home-intro-img { max-width: 420px; } }

/* ---------- branches ---------- */
.branches { background: linear-gradient(0deg, var(--teal-pale) 20%, var(--teal) 20%); padding: 64px 0; }
.branches-panel { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 24px 4px; margin-bottom: 24px; }
.branches-panel .section-title { margin-bottom: .4em; }
.branch-head { margin-bottom: 24px; }
.branch-head .branch { max-width: none; }
.branch-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.branch { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 24px; text-align: center; }
.branch img { margin: 0 auto 18px; width: 100%; max-width: 250px; aspect-ratio: 5 / 3; object-fit: cover; border-radius: 4px; }
.branch-head .branch img { max-width: 500px; aspect-ratio: 5 / 2; }
.branch h3 { font-size: 20px; font-weight: 600; margin-bottom: .7em; }
.branch dl { margin: 0; font-size: 14px; line-height: 1.7; }
.branch dl > div { margin-bottom: .25em; }
.branch dt { display: inline; font-weight: 700; }
.branch dd { display: inline; margin: 0; }
.branch a { color: inherit; }

/* ---------- contact ---------- */
.contact { padding: 70px 0 260px; background: #fcfcfc var(--sky) bottom center / auto no-repeat; position: relative; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 3.4fr) minmax(0, 8.6fr); gap: 0; align-items: stretch; }
.contact-card { position: relative; overflow: hidden; background: #00232f; color: #fff; border-radius: 4px 0 0 4px; padding: 42px 34px; box-shadow: var(--shadow); z-index: 1; }
.contact-card::before { content: ""; position: absolute; inset: 0; background: var(--card-bg) center / cover no-repeat; opacity: .38; z-index: -1; }
.contact-card h2 { color: #fff; font-size: 26px; margin-bottom: 1.1em; }
.ci { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.ci-icon { flex: none; width: 24px; height: 24px; margin-top: 4px; fill: #75b1c5; color: #fff; }
.ci > div { display: grid; gap: 4px; font-size: 13.5px; line-height: 1.5; }
.ci strong { font-size: 18px; font-weight: 600; }
.ci a { color: #fff; text-decoration: none; }
.ci a:hover { text-decoration: underline; }
.contact-form-wrap { background: #fff; border-radius: 0 4px 4px 0; padding: 38px 36px 34px; box-shadow: var(--shadow); }
.contact-form-wrap .section-title { text-align: left; margin-bottom: .8em; }
.contact-form .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.contact-form .f { display: block; margin: 0; }
.contact-form .f.full { grid-column: 1 / -1; }
.contact-form input[type=text], .contact-form input[type=email], .contact-form input[type=tel], .contact-form textarea {
  display: block; width: 100%; font: inherit; font-size: 16px; color: #495057; background: #f1f7f1;
  border: 1px solid #f1f7f1; border-radius: 0; padding: 6px 20px; height: 54px; transition: border-color .2s, background .2s;
}
.contact-form textarea { height: 132px; padding-top: 14px; resize: vertical; }
.contact-form ::placeholder { color: #6b747b; opacity: 1; }
.contact-form input:focus, .contact-form textarea:focus { background: #fff; border-color: var(--teal); outline: 2px solid var(--teal-pale); outline-offset: 0; }
.contact-form .hp { position: absolute; left: -9999px; }
.contact-form .is-bad { border-color: #c0392b !important; background: #fdf3f1 !important; }
.btn-send { margin-top: 18px; padding: 16px 39px; border-radius: 4px; font-weight: 400; font-size: 15px; background: var(--teal); }
.btn-send[disabled] { opacity: .7; cursor: wait; }
.recaptcha-note { margin: 16px 0 0; font-size: 12px; line-height: 1.5; color: #7a858c; }
.recaptcha-note a { color: inherit; }
.grecaptcha-badge { visibility: hidden; }   /* the required notice above replaces the floating badge */
.notice { padding: 12px 16px; border-radius: var(--radius); font-weight: 500; }
.notice.ok { background: #e3f4e8; color: #1d5a31; }
.notice.bad { background: #fbe6e3; color: #8a2a1f; }
.form-status { min-height: 1.4em; margin: 14px 0 0; font-weight: 600; }
.form-status.ok { color: #1d5a31; } .form-status.bad { color: #8a2a1f; }
@media (max-width: 860px) {
  .contact { padding: 40px 0 170px; background-size: auto 340px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card { border-radius: 4px 4px 0 0; padding: 30px 26px; }
  .contact-form-wrap { border-radius: 0 0 4px 4px; padding: 28px 22px; }
  .contact-form .grid { grid-template-columns: 1fr; }
}
.map iframe { display: block; width: 100%; height: 380px; border: 0; }
/* ---------- team ---------- */
.group-title { text-align: center; font-size: 28px; margin: 28px 0 30px; }
.team-group { padding-bottom: 24px; }
.team-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 26px; }
.person { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 0 0 22px; text-align: center; position: relative; overflow: hidden; }
.person::before { content: ""; position: absolute; left: 0; top: 0; width: 55%; height: 12px; background: var(--teal); }
.person-photo { aspect-ratio: 1 / 1; background: var(--mist); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; }
.initials { width: 96px; height: 96px; border-radius: 50%; background: var(--teal); color: #fff; font-size: 34px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.person h3 { font-size: 20px; margin-bottom: .2em; padding: 0 12px; }
.person .role { color: var(--teal-dark); font-weight: 600; margin: 0; padding: 0 12px; }
.person .bio { font-size: 14px; margin: .6em 0 0; padding: 0 16px; }
.team-group:last-of-type { padding-bottom: 60px; }

/* ---------- pages that sit on a photo (About, What We Do, Services) ---------- */
.photo-bg { background: #fafafa var(--bg) center top / cover no-repeat; }
@media (min-width: 981px) { .cards-page { background-attachment: fixed; } }
.page-title span { color: var(--teal); }
.page-title.small { font-size: clamp(24px, 2.6vw, 30px); }
.page-title.caps { text-transform: uppercase; font-size: 18px; letter-spacing: .02em; font-weight: 600; }

.cards-page { padding: 12px 20px 44px; min-height: 60vh; }
.cards-wrap { max-width: 1070px; margin: 0 auto; display: grid; gap: 12px; }
.card-block { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; background: #fff; border-radius: 4px; padding: 12px; box-shadow: 0 2px 10px rgba(0, 0, 0, .38); align-items: start; }
.card-block.no-img { grid-template-columns: 1fr; padding: 22px 28px; }
.card-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; box-shadow: 2px 3px 8px rgba(0, 0, 0, .4); }
.card-text h2 { font-size: 16px; text-transform: uppercase; color: #3b7a95; margin: 12px 0 12px; letter-spacing: .01em; }
.card-text .prose { font-size: 14px; line-height: 1.65; }
.card-text .prose p:last-child { margin-bottom: 6px; }
@media (max-width: 700px) { .card-block { grid-template-columns: 1fr; gap: 6px; } .card-img img { aspect-ratio: 16 / 9; } }

.panel-page { padding: 22px 20px 90px; background-position: center 62%; }
.panel { max-width: 1070px; margin: 0 auto; background: #fff; border-radius: 4px; box-shadow: 0 2px 12px rgba(0, 0, 0, .3); padding: 26px 42px 34px; }
.panel .page-title { font-size: 26px; margin-bottom: .9em; }
.panel .prose { font-size: 14px; line-height: 1.7; }
.timeline > p:first-child { margin-bottom: 1.8em; }
.timeline > p + p {
  position: relative; padding: 6px 0 6px 76px; min-height: 56px; margin: 0 0 22px;
  --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2375b1c5' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 19C5 10 10 5 19 5c0 9-5 14-14 14zM5 19 14 10'/%3E%3C/svg%3E");
}
.timeline > p:nth-of-type(3n + 3) { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2375b1c5' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21v-9M12 12C12 8 9 6 5 6c0 4 3 6 7 6zM12 15c0-3 2-5 6-5 0 3-2 5-6 5z'/%3E%3C/svg%3E"); }
.timeline > p:nth-of-type(3n + 4) { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2375b1c5' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3'/%3E%3Cpath d='M3 20c0-4 3-6 6-6s6 2 6 6'/%3E%3Ccircle cx='17' cy='9' r='2.500'/%3E%3Cpath d='M16 14c3 0 5 2 5 5'/%3E%3C/svg%3E"); }
.timeline > p + p::before { content: ""; position: absolute; left: 0; top: 0; width: 56px; height: 56px; border: 1px solid #75b1c5; border-radius: 4px; background: var(--ic) center / 30px no-repeat; }
.timeline > p + p:not(:last-child)::after { content: ""; position: absolute; left: 28px; top: 58px; width: 1px; height: 18px; background: #8fb99a; }
/* phones keep the icon timeline, just smaller (as the original does) */
@media (max-width: 600px) {
  .panel { padding: 22px 20px 26px; }
  .panel .page-title { font-size: 24px; }
  .timeline > p + p { padding-left: 62px; min-height: 46px; }
  .timeline > p + p::before { width: 46px; height: 46px; background-size: 24px; }
  .timeline > p + p:not(:last-child)::after { left: 23px; top: 50px; }
}

.partners { background: #fafafa; padding: 42px 0 90px; margin-top: 0; }
.partners-wrap { max-width: 1400px; margin: 0 auto; padding: 0 20px; }
.partner-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.partner-grid li { min-height: 190px; padding: 22px; }
.partner-grid img { max-height: 110px; max-width: 88%; }
@media (max-width: 980px) { .partner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .partner-grid li { min-height: 130px; } }

.intro-plain { max-width: 1070px; padding-top: 18px; }
.page-image { width: 100%; aspect-ratio: 3.7 / 1; object-fit: cover; border-radius: 2px; margin: 0 0 28px; }

/* ---------- team ---------- */
.team-group.wrap { max-width: 1078px; }
.group-title { text-align: center; font-size: 22px; margin: 26px 0 26px; }
.team-sep { border: 0; border-top: 1px solid #9aa3a8; margin: 8px 0 30px; }
.team-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.person { padding: 10px 10px 20px; overflow: visible; }
.person::before { content: ""; position: absolute; left: 10px; top: 10px; width: 44%; height: 40%; border-top: 9px solid var(--teal); border-left: 9px solid var(--teal); z-index: 2; pointer-events: none; width: 46%; background: none; }
.person-photo { margin: 0 0 14px; background: #fff; aspect-ratio: 1 / .93; }
.person-photo img { object-fit: contain; }
.person h3 { font-size: 15px; }
.person .role { font-size: 12px; color: var(--teal); font-weight: 500; }
@media (max-width: 980px) { .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }

/* ---------- news ---------- */
.news-layout { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); gap: 34px; padding-top: 56px; padding-bottom: 80px; }
.post-card { position: relative; display: block; background: #fff; border: 1px solid #ececec; box-shadow: 0 1px 5px rgba(0, 0, 0, .07); margin: 0 0 26px; padding: 0; }
.post-card-img { display: block; }
.post-card-img img { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; }
.chip { position: absolute; left: 14px; top: 14px; background: #e9a22b; color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 5px 10px; text-decoration: none; }
.chip:hover { background: #d18f1f; color: #fff; }
.post-card-body { padding: 14px 20px 20px; }
.post-card h2 { font-size: 22px; margin: 0 0 .45em; }
.post-card h2 a { color: #3a3f44; text-decoration: none; }
.post-card h2 a:hover { color: var(--teal-dark); }
.post-card-body p { font-size: 14.5px; }
.meta { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: #6f7a81; margin: 0 0 .5em; }
.meta a { color: var(--teal-dark); text-decoration: none; font-weight: 600; }
.more { font-weight: 700; text-decoration: none; color: var(--deep); font-size: 14px; }
.more:hover { color: var(--teal-dark); }
.post-single .post-image { width: 100%; max-height: 520px; object-fit: cover; border-radius: 2px; margin-bottom: 1.4em; }
.post-single .back { margin-top: 1.6em; }
.share { display: flex; align-items: center; gap: 14px; margin-top: 2em; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: #6f7a81; }
.share ul { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; }
.share a { width: 34px; height: 34px; border-radius: 50%; background: var(--teal); display: flex; align-items: center; justify-content: center; }
.share a:hover { background: var(--teal-dark); }
.share svg { width: 16px; height: 16px; fill: #fff; }

.pager { display: flex; gap: 8px; margin-top: 12px; }
.pager a, .pager span { min-width: 40px; text-align: center; padding: 8px 12px; border-radius: var(--radius); border: 1px solid var(--line); text-decoration: none; }
.pager span { background: var(--teal); border-color: var(--teal); color: #fff; font-weight: 700; }
@media (max-width: 860px) { .news-layout { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { position: relative; }
.wave { display: block; width: 100%; height: 120px; margin: 30px 0 -1px; fill: var(--teal); }
.wave .back { fill: var(--teal-pale); }
@media (max-width: 600px) { .wave { height: 70px; margin-top: 10px; } }
.footer-body { background: #1b1b1b; color: #fff; padding: 34px 0 22px; position: relative; }
.footer-grid { display: grid; grid-template-columns: auto repeat(3, minmax(0, 1fr)); gap: 30px; align-items: center; }
.social { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.social a { width: 38px; height: 38px; border-radius: 50%; background: var(--teal); display: flex; align-items: center; justify-content: center; }
.social a:hover { background: #fff; }
.social svg { width: 18px; height: 18px; fill: #fff; }
.social a:hover svg { fill: var(--deep); }
.finfo { display: flex; gap: 14px; align-items: center; font-size: 14px; }
.finfo > div { display: grid; }
.finfo strong { font-size: 15px; }
.finfo a { color: #fff; text-decoration: none; }
.finfo a:hover { text-decoration: underline; }
.ficon { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--teal); display: flex; align-items: center; justify-content: center; }
.ficon svg { width: 18px; height: 18px; fill: #fff; }
.legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13px; color: #aab4ba; }
.legal a { color: #cfd8dc; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .social { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- cookie banner, back to top ---------- */
.cookie { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: min(400px, calc(100vw - 32px)); background: #fff; border-radius: 12px; box-shadow: 0 8px 30px rgba(0, 0, 0, .22); padding: 20px 22px; }
.cookie[hidden] { display: none; }
.cookie h2 { font-size: 16px; margin-bottom: .4em; }
.cookie p { font-size: 14px; line-height: 1.5; color: var(--slate); }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions .btn { flex: 1; padding: 12px 10px; font-size: 14px; }
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; background: var(--teal); box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center; }
.to-top[hidden] { display: none; }
.to-top svg { width: 22px; height: 22px; fill: #fff; }
.cookie:not([hidden]) ~ .to-top { display: none; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .cookie, .to-top, .hero-slider { display: none; } }

/* ---------- phones: home slider and photo-backed pages ---------- */
@media (max-width: 700px) {
  .hero-slider { height: 440px; max-height: none; }
  .slide.has-text::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0, 20, 30, .55), rgba(0, 20, 30, .15) 55%, transparent); pointer-events: none; }
  .slide-text { position: relative; z-index: 1; padding: 24px 20px 0; }
  .slide-text h1, .slide-text h2 { font-size: 23px; line-height: 1.25; }
  .slide-text p { font-size: 16px; }
  .slide-nav { display: none; }            /* swipe instead; the arrows hid the text */
  .slide-dots { bottom: 12px; }
  /* the photo sits across the top of the list, as on the original, rather than being stretched over the whole page */
  .cards-page { background-size: auto 1300px; background-position: center top; padding: 12px 14px 36px; }
  .card-text h2 { font-size: 18px; }
  .card-text .prose { font-size: 15px; }
}

/* a page with only a few cards (Services) gets bigger pictures */
@media (min-width: 701px) {
  .cards-large .card-block { grid-template-columns: minmax(300px, 40%) minmax(0, 1fr); gap: 30px; }
  .cards-large .card-text h2 { font-size: 18px; margin-top: 18px; }
  .cards-large .card-text .prose { font-size: 15px; }
}

/* slider pictures: small on phones, large on wide screens (web-sized copies of the originals) */
@media (min-width: 801px) { .slide { background-image: var(--bg-lg); } }
@media (min-width: 1500px) { .slide { background-image: var(--bg-xl); } }

/* ---------- news list: tall pictures (posters) are shown whole, beside the text ---------- */
.post-card.is-portrait { display: grid; grid-template-columns: 300px minmax(0, 1fr); }
.post-card.is-portrait .post-card-img img { aspect-ratio: auto; height: auto; object-fit: contain; background: #f3f5f6; }
.post-card.is-portrait .post-card-body { align-self: center; padding: 22px 26px; }
@media (max-width: 640px) {
  .post-card.is-portrait { display: block; }
  .post-card.is-portrait .post-card-img img { max-width: 340px; margin: 0 auto; }
  .post-card.is-portrait .post-card-body { padding: 14px 20px 20px; }
}

/* ---------- a single news article ---------- */
.article { padding: 52px 0 6px; }
.article-head { max-width: 800px; margin: 0 auto 28px; padding: 0 24px; text-align: center; }
.article-meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 12px; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: #6f7a81; margin: 0 0 16px; }
.chip-inline { position: static; display: inline-block; }
.dot-sep { width: 4px; height: 4px; border-radius: 50%; background: #b5bec3; }
.article-head h1 { font-size: clamp(28px, 4.2vw, 44px); line-height: 1.15; margin: 0 0 .4em; color: #2b3036; }
.article-lead { font-size: 19px; line-height: 1.6; color: #5a646b; margin: 0; }
.article-figure { max-width: 1040px; margin: 0 auto 40px; padding: 0 24px; }
.article-figure img { width: 100%; height: auto; border-radius: 6px; box-shadow: var(--shadow); display: block; }
.article-figure.is-portrait { max-width: 620px; }
.article-body { max-width: 740px; margin: 0 auto; padding: 0 24px; font-size: 17px; line-height: 1.8; color: #2f353a; }
.article-body h2 { font-size: 26px; margin-top: 1.6em; }
.article-body h3 { font-size: 21px; }
.article-body a { color: var(--teal-dark); text-underline-offset: 3px; }
.article-body img { display: block; max-width: 100%; height: auto; margin: 1.6em auto; border-radius: 6px; }
.article-foot { max-width: 740px; margin: 36px auto 0; padding: 0 24px 44px; }
.article-foot .share { margin-top: 0; }
.article-cta { display: flex; justify-content: space-between; align-items: center; gap: 18px; background: var(--mist); border-left: 5px solid var(--teal); border-radius: 4px; padding: 20px 24px; margin: 28px 0; }
.article-cta > div { display: grid; gap: 2px; }
.article-cta strong { font-size: 17px; }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.article-nav a { display: grid; gap: 4px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; color: var(--ink); font-weight: 600; line-height: 1.35; }
.article-nav a:hover { border-color: var(--teal); }
.article-nav small { text-transform: uppercase; letter-spacing: .08em; color: var(--teal-dark); font-weight: 700; font-size: 11px; }
.article-nav .next { text-align: right; grid-column: 2; }
.article-nav .prev { grid-column: 1; }
.more-news { background: var(--mist); padding: 56px 0 64px; }
.more-grid { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.more-card { display: grid; align-content: start; gap: 6px; height: 100%; text-decoration: none; color: var(--ink); background: #fff; border-radius: 6px; overflow: hidden; box-shadow: var(--shadow); padding-bottom: 18px; }
.more-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; display: block; }
.more-card small, .more-card strong { padding: 0 18px; }
.more-card small { margin-top: 10px; color: #6f7a81; text-transform: uppercase; letter-spacing: .05em; font-size: 12px; }
.more-card strong { font-size: 17px; line-height: 1.3; }
.more-card:hover strong { color: var(--teal-dark); }
@media (max-width: 860px) {
  .more-grid { grid-template-columns: 1fr; }
  .article-cta { flex-direction: column; align-items: flex-start; }
  .article-nav { grid-template-columns: 1fr; }
  .article-nav .next, .article-nav .prev { grid-column: auto; text-align: left; }
  .article { padding-top: 34px; }
}

/* ---------- news sidebar ---------- */
.sidebar { display: grid; gap: 20px; align-content: start; align-self: start; }
.side-card { background: #fff; border: 1px solid #e3ebee; border-radius: 10px; box-shadow: 0 2px 14px rgba(0, 35, 47, .07); padding: 22px 22px 24px; }
.side-title { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--deep); margin: 0 0 16px; padding-bottom: 12px; position: relative; }
.side-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 2px; background: var(--teal); }

.side-search { position: relative; }
.side-search input { width: 100%; font: inherit; font-size: 15px; color: var(--ink); padding: 13px 52px 13px 16px; border: 1px solid #d5e0e4; border-radius: 8px; background: #f7fafb; transition: border-color .2s, background .2s; }
.side-search input:focus { background: #fff; border-color: var(--teal); outline: 2px solid var(--teal-pale); outline-offset: 0; }
.side-search button { position: absolute; right: 5px; top: 5px; bottom: 5px; width: 42px; border: 0; border-radius: 6px; background: var(--teal); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.side-search button:hover { background: var(--teal-dark); }
.side-search svg { width: 18px; height: 18px; fill: #fff; }

.side-recent { list-style: none; margin: 0; padding: 0; }
.side-recent li { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; align-items: center; padding: 13px 0; border-top: 1px solid #edf2f4; }
.side-recent li:first-child { padding-top: 0; border-top: 0; }
.side-recent li:last-child { padding-bottom: 0; }
.side-recent li:not(:has(.thumb)) { grid-template-columns: 1fr; }
.side-recent .thumb { display: block; }
.side-recent .thumb img { width: 72px; height: 72px; object-fit: cover; object-position: top; border-radius: 8px; display: block; background: #eef3f5; }
.side-recent a { color: var(--ink); font-weight: 600; font-size: 15px; line-height: 1.35; text-decoration: none; }
.side-recent a:hover { color: var(--teal-dark); }
.side-recent small { display: block; margin-top: 4px; color: var(--teal-dark); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }

.side-topics { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.side-topics a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1px solid #d5e0e4; color: var(--slate); font-size: 14px; font-weight: 500; text-decoration: none; background: #fff; transition: all .2s; }
.side-topics a span { font-size: 11px; font-weight: 700; background: var(--mist); color: var(--teal-dark); border-radius: 999px; padding: 1px 8px; }
.side-topics a:hover { border-color: var(--teal); color: var(--deep); }
.side-topics a.is-active { background: var(--teal); border-color: var(--teal); color: #fff; }
.side-topics a.is-active span { background: rgba(255, 255, 255, .25); color: #fff; }

.side-help { background: linear-gradient(160deg, #00323f, var(--deep)); border-color: transparent; color: #fff; }
.side-help .side-title { color: #fff; }
.side-help .side-title::after { background: var(--teal); }
.side-help p { font-size: 14.5px; line-height: 1.55; color: #d4e6ec; margin: 0 0 14px; }
.side-phone { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 700; color: #fff; text-decoration: none; margin-bottom: 6px; }
.side-phone svg { width: 22px; height: 22px; fill: var(--teal); flex: none; }
.side-link { display: block; color: #b9d7e1; font-size: 14px; margin-bottom: 18px; word-break: break-all; }
.side-link:hover { color: #fff; }
.side-btn { display: block; text-align: center; background: var(--teal); color: #fff; font-weight: 600; font-size: 14.5px; padding: 12px 16px; border-radius: 8px; text-decoration: none; transition: background .2s; }
.side-btn:hover { background: #fff; color: var(--deep); }

.side-follow ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.side-follow a { width: 40px; height: 40px; border-radius: 50%; background: var(--teal); display: flex; align-items: center; justify-content: center; transition: background .2s; }
.side-follow a:hover { background: var(--deep); }
.side-follow svg { width: 18px; height: 18px; fill: #fff; }
