/* MDC Compounds & Tubing – site theme. Backgrounds: white and light blue only; dark-green Inter headings with wide
   letter-spacing, orange + blue logo accents, rounded cards.
   Own design, no third-party theme code. Sizes in rem so the accessibility
   text-size buttons scale the whole page. */

:root {
  --green-bg: #DCEBF8;    /* old name: now the same light blue (no green backgrounds) */
  --blue-bg: #DCEBF8;
  --peach-bg: #FFFFFF;    /* old name: now white (no peach/red backgrounds) */
  --ink: #1F4D2E;          /* brochure dark green: headings + text */
  --ink-2: #163A22;
  --text: #2A3D30;
  --muted: #4E6455;
  --orange: #E28F26;       /* exact logo orange (sampled from mdc-logo.png) */
  --orange-light: #E28F26;
  --orange-ink: #14301D;
  --accent-ink: #E28F26;   /* same logo orange */
  --blue: #3A8ED0;         /* logo dot / water-drop blue */
  --leaf: #5B9A3C;
  --paper: #FFFFFF;
  --line: #C7DBEE;
  --radius: 14px;
  --wrap: 80rem;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --speed: .25s;
  /* old names kept so nothing breaks */
  --navy: var(--ink); --navy-2: var(--ink-2); --navy-line: var(--line); --soft: var(--muted); --paper-2: var(--green-bg);
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 100%; scroll-behavior: smooth; scroll-padding-top: 7rem; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--paper); line-height: 1.65; letter-spacing: .005em; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 2rem; padding-right: 2rem; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--orange); color: var(--orange-ink); padding: .75rem 1.25rem; border-radius: 999px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .6rem; padding: .95rem 1.8rem; border-radius: 999px; font-weight: 700; font-size: .95rem; letter-spacing: .04em; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; transition: background var(--speed), color var(--speed), transform var(--speed); }
.btn-orange { background: var(--orange); color: var(--orange-ink); }
.btn-orange:hover { background: var(--orange); color: var(--orange-ink); box-shadow: 0 6px 16px rgba(226,143,38,.35); transform: translateY(-1px); }
.btn-navy { background: var(--ink); color: #fff; }
.btn-navy:hover { background: var(--ink-2); color: #fff; }
.btn-arrow::after { content: "→"; transition: transform var(--speed); }
.btn-arrow:hover::after { transform: translateX(4px); }
.link-arrow { color: var(--ink); font-weight: 700; text-decoration: none; letter-spacing: .04em; }
.link-arrow:hover { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.on-light .link-arrow { color: var(--ink); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; color: var(--ink); background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow var(--speed); }
.site-header.is-stuck { box-shadow: 0 4px 18px rgba(31,77,46,.15); }
.header-bar { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-top: 1.1rem; padding-bottom: 1.1rem; }
.logo-plate { display: block; line-height: 0; }
.logo-plate img { height: 108px; width: auto; display: block; transition: height var(--speed); }
.site-header.is-stuck .logo-plate img { height: 64px; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2.4rem; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li.has-mega { position: static; }
.main-nav a { text-decoration: none; }
.nav-top { position: relative; display: inline-flex; align-items: center; gap: .35rem; padding: .6rem 0; font-weight: 700; font-size: 1.15rem; color: var(--ink); transition: color var(--speed); }
/* menu animation: orange line slides in from the left */
.nav-top::after { content: ""; position: absolute; left: 0; right: 0; bottom: .1rem; height: 3px; border-radius: 3px; background: var(--orange); transform: scaleX(0); transform-origin: left center; transition: transform .3s ease; }
.nav-top:hover, .nav-top:focus-visible, .has-mega:focus-within > .nav-top { color: var(--ink-2); }
.nav-top:hover::after, .nav-top:focus-visible::after, .has-mega:hover > .nav-top::after, .has-mega:focus-within > .nav-top::after, .nav-top[aria-current="page"]::after { transform: scaleX(1); }
.nav-top[aria-current="page"] { color: var(--ink-2); }
.nav-top .chev { width: .8rem; height: .8rem; transition: transform var(--speed); }
.has-mega:hover .chev, .has-mega:focus-within .chev { transform: rotate(180deg); }
/* mega menu: fades in and slides down */
.mega { position: absolute; top: calc(100% - 1rem); left: 50%; width: min(72rem, calc(100% - 4rem)); padding-top: .9rem; opacity: 0; visibility: hidden; transform: translate(-50%, -10px); transition: opacity .22s ease, transform .22s ease, visibility .22s; }
.has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-inner { background: var(--paper); color: var(--ink); border-radius: var(--radius); box-shadow: 0 20px 50px rgba(31,77,46,.2); padding: 1.8rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.6rem; }
.mega-col h3 { margin: 0 0 .6rem; font-size: .78rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; padding-bottom: .5rem; border-bottom: 3px solid var(--orange); }
.mega-col h3 a { color: var(--ink); text-decoration: none; }
.mega-col ul { list-style: none; margin: 0; padding: 0; }
.mega-col li a { display: block; padding: .3rem 0; font-size: .95rem; color: var(--ink); transition: color var(--speed), transform var(--speed); }
.mega-col li a:hover { color: var(--accent-ink); transform: translateX(4px); }
.header-cta { flex-shrink: 0; }
.menu-toggle { display: none; background: none; border: 2px solid var(--ink); color: var(--ink); border-radius: 12px; width: 3.2rem; height: 3.2rem; align-items: center; justify-content: center; cursor: pointer; }

/* ---------- Mobile menu ---------- */
.mobile-menu { position: fixed; inset: 0; z-index: 120; background: #fff; color: var(--ink); padding: 1.5rem 1.5rem 3rem; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility .3s; }
.mobile-menu.open { transform: none; visibility: visible; }
.mobile-menu-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.mobile-menu-top .logo-plate img { height: 64px; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu > nav > ul > li { border-bottom: 1px solid var(--navy-line); }
.mobile-menu a, .mobile-menu summary { display: block; padding: .9rem 0; color: var(--ink); text-decoration: none; font-size: 1.15rem; font-weight: 600; cursor: pointer; }
.mobile-menu details ul { padding: 0 0 .8rem 1rem; }
.mobile-menu details ul a { font-size: 1rem; font-weight: 400; padding: .45rem 0; color: var(--text); }
.mobile-menu .sub-title a { color: var(--accent-ink); font-weight: 700; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; padding-top: .8rem; }
.mobile-menu .btn { margin-top: 1.5rem; }

/* ---------- Home video (shown clearly, no overlay) ---------- */
.hero-video { background: #fff; line-height: 0; }
.hero-video video { display: block; width: 100%; height: auto; max-height: calc(100vh - 8.5rem); object-fit: cover; }
.intro { background: var(--green-bg); color: var(--ink); padding: 4rem 0 4.5rem; }
.intro .wrap { display: flex; flex-direction: column; gap: 1.5rem; }
.intro .eyebrow, .page-title .eyebrow { color: var(--ink); }
.intro h1 { margin: 0; font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: 1.1; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.tag-or { color: var(--orange); } .tag-bl { color: #2C78BB; } .tag-gr { color: #47862C; } /* brochure colours, darkened slightly for readable contrast */
.intro h1 span { display: block; }
.eyebrow { font-size: .8rem; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: var(--ink); }
.hero-row { display: flex; flex-wrap: wrap; gap: 2rem; align-items: flex-end; justify-content: space-between; }
.hero-row p { margin: 0; font-size: 1.125rem; line-height: 1.7; color: var(--text); max-width: 46rem; }

/* ---------- Inner pages: banner picture in full, title on white ---------- */
.page-banner { background: #fff; line-height: 0; }
.page-banner img { display: block; width: 100%; height: auto; }
.page-title { background: var(--green-bg); color: var(--ink); padding: 2.75rem 0 2.75rem; }
.page-title .wrap { display: flex; flex-direction: column; gap: .9rem; }
.page-title h1, .intro h1, .big-title { overflow-wrap: break-word; hyphens: auto; }
.page-title h1 { margin: 0; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.15; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; max-width: 60rem; }
.page-title + .section { padding-top: 4rem; }
.breadcrumbs { font-size: .85rem; color: var(--muted); letter-spacing: .02em; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumbs span[aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.25rem; margin-bottom: 2.5rem; }
.big-title { margin: 0; font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.15; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.dark { background: var(--blue-bg); color: var(--text); }
.section.alt { background: var(--blue-bg); }
.light { background: var(--green-bg); color: var(--text); }

/* partners */
.partners { background: #fff; color: var(--ink); padding: 2.75rem 0; }
.partners .wrap { display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; }
.partners-intro { flex: 1 1 15rem; }
.partners-intro h2 { margin: 0 0 .4rem; font-size: 1.05rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.partners-intro p { margin: 0 0 .6rem; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.partner-grid { flex: 3 1 40rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr)); gap: 1.25rem 1.75rem; align-items: center; }
.partner-grid div { height: 3.5rem; display: flex; align-items: center; justify-content: center; }
.partner-grid img { max-height: 2.75rem; max-width: 100%; width: auto; object-fit: contain; }
/* carousel: 6 logos at a time (3 x 2), next 6 every 5 seconds */
.partner-grid.is-carousel { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem 2.5rem; }
.partner-grid.is-carousel div { height: 4.5rem; }
.partner-grid.is-carousel img { max-height: 3.5rem; transition: opacity 1.5s ease-in-out; }
.partner-grid div.is-fading img { opacity: 0; }

/* solution tiles (home) */
.tile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 30rem), 1fr)); gap: 1.5rem; }
.tile { background: var(--peach-bg); color: var(--text); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 2px 10px rgba(31,77,46,.06); }
.tile { background: #fff; }
.tile-media { position: relative; height: 17.5rem; background: #fff; }
.tile-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.tile:hover .tile-media img { transform: scale(1.04); }
.chip { position: absolute; left: 1.25rem; top: 1.25rem; background: var(--orange); color: var(--orange-ink); font-size: .75rem; font-weight: 800; letter-spacing: .14em; padding: .45rem .8rem; border-radius: 999px; text-transform: uppercase; }
.tile-body { padding: 1.75rem; display: flex; flex-direction: column; gap: 1.1rem; flex: 1; }
.tile-body h3 { margin: 0; font-size: 1.15rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; line-height: 1.3; color: var(--ink); }
.tile-body h3 a { text-decoration: none; }
.tile-links { list-style: none; margin: 0; padding: 0; flex: 1; }
.tile-links a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem 0; border-top: 1px solid var(--line); font-size: 1rem; font-weight: 600; color: var(--ink); text-decoration: none; transition: color var(--speed), padding var(--speed); }
.tile-links a:hover { color: var(--accent-ink); padding-left: .35rem; }
.tile-links small { display: block; color: var(--muted); font-size: .85rem; font-weight: 400; margin-top: .15rem; }
.arrow-ico { flex-shrink: 0; width: 1.25rem; height: 1.25rem; stroke: var(--orange); }

/* statement band */
.band { background: #fff; color: var(--text); }
.band .wrap { padding-top: 5rem; padding-bottom: 5rem; }
.band-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
.band-media img { display: block; width: 100%; height: auto; }
.band h2 { margin: 0; font-size: clamp(1.9rem, 4vw, 3.2rem); line-height: 1.15; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.band h2 span { display: block; }
.band-text { display: flex; flex-direction: column; gap: 1.4rem; align-items: flex-start; }
.band-text p { margin: 0; font-size: 1.06rem; line-height: 1.65; }

/* cards (news / products) */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18.5rem), 1fr)); gap: 1.5rem; }
.card { background: #fff; color: var(--ink); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; transition: transform var(--speed), box-shadow var(--speed); }
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(31,77,46,.15); }
.card-media { height: 13rem; background: #fff; }
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-body { padding: 1.5rem; display: flex; flex-direction: column; gap: .9rem; flex: 1; justify-content: space-between; }
.card-title { font-size: 1.1rem; font-weight: 700; line-height: 1.35; margin: 0; color: var(--ink); }
.card-more { font-size: .75rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-ink); }
.on-light .card { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.on-light .card-more { color: var(--accent-ink); }
.center { text-align: center; }
.mt-2 { margin-top: 2.5rem; }

/* ---------- Products archive ---------- */
.cat-jump { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1rem; margin-top: 2rem; }
.cat-jump a { display: flex; align-items: center; justify-content: flex-start; gap: .85rem; padding: 1.1rem 1.4rem; border-radius: 999px; border: 2px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 700; transition: background var(--speed), border-color var(--speed), color var(--speed); }
.cat-jump a:hover { background: var(--green-bg); border-color: var(--ink); color: var(--ink); }
.cat-jump .cat-ico { width: 1.75rem; height: 1.75rem; flex-shrink: 0; color: var(--ink); transition: color var(--speed); }
.cat-jump a:hover .cat-ico { color: var(--ink); }
.cat-head { display: flex; align-items: center; gap: 1.1rem; }
.cat-badge { width: 4rem; height: 4rem; flex-shrink: 0; border-radius: 14px; background: var(--green-bg); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.cat-badge .cat-ico { width: 2.2rem; height: 2.2rem; }
/* product squares: whole box is the link, background changes on hover */
.on-light .card-product { transition: background var(--speed), border-color var(--speed), transform var(--speed), box-shadow var(--speed); }
.on-light .card-product .card-media { transition: background var(--speed); }
.on-light .card-product:hover, .on-light .card-product:focus-visible { background: var(--ink); border-color: var(--ink); color: #fff; }
.on-light .card-product:hover .card-title, .on-light .card-product:focus-visible .card-title { color: #fff; }
.card-product .card-body { justify-content: center; }
.cat-section { padding: 4.5rem 0; }
.cat-section + .cat-section { border-top: 1px solid var(--line); }
.cat-section .section-head h2 { margin: 0; font-size: clamp(1.4rem, 2.8vw, 2rem); font-weight: 800; letter-spacing: .16em; text-transform: uppercase; line-height: 1.2; color: var(--ink); }
.cat-section:nth-of-type(even) { background: var(--green-bg); }

/* ---------- Product / article layout ---------- */
.content-layout { display: grid; grid-template-columns: 18rem minmax(0, 1fr); gap: 3.5rem; align-items: start; }
.side-nav { position: sticky; top: 8rem; background: var(--blue-bg); color: var(--ink); border-radius: var(--radius); padding: 1.6rem; }
.side-nav h2 { margin: 0 0 .75rem; font-size: .78rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--ink); }
.side-nav ul { list-style: none; margin: 0; padding: 0; }
.side-nav a { display: block; padding: .55rem 0; border-top: 1px solid rgba(31,77,46,.15); color: var(--ink); text-decoration: none; font-size: .95rem; transition: color var(--speed), padding var(--speed); }
.side-nav a:hover { color: var(--accent-ink); padding-left: .3rem; }
.side-nav a[aria-current="page"] { color: var(--ink); font-weight: 800; }
.side-nav a[aria-current="page"]::before { content: ""; display: inline-block; width: .5rem; height: .5rem; margin-right: .5rem; border-radius: 50% 0 50% 50%; transform: rotate(-45deg); background: var(--blue); }

.prose { font-size: 1.03rem; line-height: 1.75; color: var(--text); max-width: 50rem; }
.prose.wide { max-width: none; }
.prose > :first-child { margin-top: 0; }
.prose h2, .prose h3, .prose h4 { color: var(--ink); line-height: 1.25; margin: 2.2rem 0 .9rem; font-weight: 800; }
.prose h2 { letter-spacing: .12em; text-transform: uppercase; }
.prose h1 { font-size: 2.2rem; }
.prose h2 { font-size: 1.4rem; }
.prose h3 { font-size: 1.25rem; }
.prose h4 { font-size: 1.2rem; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose ul { list-style: none; padding-left: 1.6rem; }
.prose ul > li { position: relative; }
.prose ul > li::before { content: ""; position: absolute; left: -1.25rem; top: .62em; width: .55rem; height: .55rem; border-radius: 50% 0 50% 50%; transform: rotate(-45deg); background: var(--blue); }
.prose li { margin: .35rem 0; }
.prose strong, .prose b { color: var(--ink); }
.prose a { color: var(--accent-ink); text-underline-offset: 3px; }
.prose img { border-radius: 14px; height: auto; }
.prose .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
.prose video { border-radius: 14px; width: 100%; height: auto; background: #000; }
.post-image { border-radius: var(--radius); overflow: hidden; margin-bottom: 2.25rem; background: #fff; border: 1px solid var(--line); }
.post-image img { display: block; width: 100%; height: auto; }
.post-meta { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.post-meta a { color: var(--accent-ink); }
.about-block + .about-block { margin-top: 4rem; padding-top: 4rem; border-top: 1px solid var(--line); }
.about-block > h2 { margin: 0 0 1.5rem; font-size: clamp(1.4rem, 2.8vw, 2rem); font-weight: 800; letter-spacing: .16em; text-transform: uppercase; line-height: 1.2; color: var(--ink); }
.narrow { max-width: 54rem; margin: 0 auto; }

/* blog filters + pagination */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.5rem; }
.filters a { padding: .6rem 1.2rem; border-radius: 999px; border: 2px solid var(--line); text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink); transition: border-color var(--speed), background var(--speed); }
.filters a:hover { border-color: var(--ink); background: var(--green-bg); }
.filters a[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.pager { display: flex; gap: .6rem; justify-content: center; margin-top: 3rem; }
.pager a, .pager span { min-width: 3rem; height: 3rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 2px solid var(--line); text-decoration: none; font-weight: 700; color: var(--ink); padding: 0 1rem; }
.pager span[aria-current] { background: var(--navy); color: #fff; border-color: var(--navy); }
.pager a:hover { border-color: var(--ink); background: var(--green-bg); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.form-card { background: var(--blue-bg); border: 0; border-radius: var(--radius); padding: 2.25rem; }
.form-card h2, .info-card h2 { margin: 0 0 1.5rem; font-size: 1.2rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-weight: 600; font-size: .9rem; }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; padding: .85rem 1rem; border: 2px solid #fff; border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); }
.field [aria-invalid="true"] { border-color: #C0392B; }
.field textarea { min-height: 9rem; resize: vertical; }
.form-msg { display: none; margin-top: 1rem; padding: .85rem 1rem; border-radius: 12px; font-weight: 600; }
.form-msg.ok { display: block; background: var(--blue-bg); color: var(--ink); }
.form-msg.err { display: block; background: #fff; color: #8A1F14; border: 2px solid #C0392B; }
.hp { position: absolute; left: -9999px; }
.info-card { background: #fff; border: 2px solid var(--line); color: var(--ink); border-radius: var(--radius); padding: 2.25rem; }
.info-card dl { margin: 0; }
.info-card dt { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink); font-weight: 800; margin-top: 1.25rem; }
.info-card dt:first-child { margin-top: 0; }
.info-card dd { margin: .3rem 0 0; font-size: 1.1rem; }
.info-card a { color: var(--ink); }

/* thank you */
.thanks { min-height: 70vh; display: flex; align-items: center; }
.thanks .wrap { padding-top: 6rem; padding-bottom: 6rem; display: flex; flex-direction: column; align-items: flex-start; gap: 2rem; }

/* ---------- Footer ---------- */
.site-footer { background: #fff; color: var(--text); border-top: 1px solid var(--line); }
.footer-main { padding-top: 4rem; padding-bottom: 3rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr)); gap: 2rem; }
.footer-brand { display: flex; flex-direction: column; gap: 1.25rem; }
.footer-brand .logo-plate { width: max-content; }
.footer-brand .logo-plate img { height: 90px; }
.social-title { margin: .25rem 0 0; font-size: .75rem; color: var(--ink); font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.social { display: inline-flex; align-items: center; gap: .4rem; background: #fff; border-radius: 14px; padding: .35rem .6rem; width: max-content; }
.social a { width: 3rem; height: 3rem; border-radius: 10px; display: flex; align-items: center; justify-content: center; transition: transform var(--speed), background var(--speed); }
.social a.soc-li { color: #0A66C2; }
.social a.soc-wa { color: #25D366; }
.social a:hover, .social a:focus-visible { transform: scale(1.12); background: #F1F4F8; }
.social svg { width: 1.9rem; height: 1.9rem; }
.info-card .social { margin-top: .5rem; }
.footer-col h2 { margin: 0 0 .9rem; font-size: .75rem; color: var(--ink); font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col a { display: inline-block; padding: .3rem 0; color: var(--text); text-decoration: none; }
.footer-col a:hover { color: var(--ink); text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(31,77,46,.15); }
.footer-bottom .wrap { padding-top: 1.4rem; padding-bottom: 1.4rem; display: flex; flex-wrap: wrap; gap: 1.5rem; font-size: .9rem; }
.footer-bottom a { color: var(--text); text-decoration: none; }
.footer-bottom a:hover { color: var(--ink); text-decoration: underline; }
.footer-bottom .copy { margin-left: auto; }

/* ---------- Accessibility widget ---------- */
.a11y-btn { position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 150; width: 3.5rem; height: 3.5rem; border-radius: 50%; border: 3px solid var(--ink); background: var(--orange); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.3); transition: transform var(--speed); }
.a11y-btn:hover { transform: scale(1.06); }
.a11y-btn svg { width: 1.8rem; height: 1.8rem; }
.a11y-panel { position: fixed; right: 1.5rem; bottom: 5.75rem; z-index: 151; width: min(21rem, calc(100vw - 2rem)); max-height: calc(100vh - 7.5rem); overflow-y: auto; background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: 0 20px 50px rgba(31,77,46,.3); border: 2px solid var(--ink); }
.a11y-panel[hidden] { display: none; }
.a11y-head { display: flex; justify-content: space-between; align-items: center; background: var(--ink); color: #fff; padding: 1rem 1.25rem; border-radius: 17px 17px 0 0; }
.a11y-head h2 { margin: 0; font-size: 1.05rem; font-weight: 800; }
.a11y-close { background: none; border: 0; color: #fff; width: 2.75rem; height: 2.75rem; border-radius: 50%; cursor: pointer; font-size: 1.5rem; line-height: 1; }
.a11y-close:hover { background: var(--ink-2); }
.a11y-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; padding: 1rem; }
.a11y-opt { display: flex; flex-direction: column; align-items: center; gap: .4rem; text-align: center; padding: .85rem .5rem; min-height: 5.5rem; border: 2px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; transition: border-color var(--speed), background var(--speed); }
.a11y-opt svg { width: 1.6rem; height: 1.6rem; }
.a11y-opt:hover { border-color: var(--ink); }
.a11y-opt[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.a11y-size { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: 0 1rem 1rem; }
.a11y-size span { font-weight: 600; font-size: .9rem; }
.a11y-size div { display: flex; gap: .4rem; }
.a11y-size button { width: 2.9rem; height: 2.9rem; border-radius: 12px; border: 2px solid var(--line); background: #fff; color: var(--ink); font-family: inherit; font-weight: 800; cursor: pointer; }
.a11y-size button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.a11y-foot { display: flex; justify-content: space-between; gap: .75rem; padding: .9rem 1rem 1.1rem; border-top: 1px solid var(--line); font-size: .9rem; }
.a11y-foot button { background: none; border: 0; padding: .4rem 0; font: inherit; font-weight: 700; color: #B42318; cursor: pointer; }
.a11y-foot a { color: #155EAF; font-weight: 700; padding: .4rem 0; }

/* accessibility modes (classes on <html>) */
html.a11y-fs-1 { font-size: 112.5%; }
html.a11y-fs-2 { font-size: 125%; }
html.a11y-gray body > *:not(.a11y-panel):not(.a11y-btn) { filter: grayscale(1); }
html.a11y-readable body, html.a11y-readable button, html.a11y-readable input, html.a11y-readable select, html.a11y-readable textarea, html.a11y-readable h1, html.a11y-readable h2, html.a11y-readable h3 { font-family: Arial, Helvetica, sans-serif !important; font-stretch: normal !important; letter-spacing: normal !important; }
html.a11y-underline a { text-decoration: underline !important; }
html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y-dark body, html.a11y-dark body * { background-color: #000 !important; color: #fff !important; border-color: #fff !important; box-shadow: none !important; }
html.a11y-dark a, html.a11y-dark a * { color: #FFE14D !important; }
html.a11y-light body, html.a11y-light body * { background-color: #fff !important; color: #000 !important; border-color: #000 !important; box-shadow: none !important; }
html.a11y-light a, html.a11y-light a * { color: #0033AA !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .logo-plate img { height: 72px; }
  .content-layout { grid-template-columns: 1fr; }
  .side-nav { position: static; order: 2; }
  .contact-grid { grid-template-columns: 1fr; }
  .band-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding-left: 1.25rem; padding-right: 1.25rem; }
  .logo-plate img, .site-header.is-stuck .logo-plate img { height: 56px; }
  .intro h1 { font-size: 2.4rem; }
  .page-title h1 { font-size: 1.75rem; }
  .intro { padding: 2.5rem 0 3rem; }
  .big-title, .band h2 { font-size: 2.1rem; }
  .section { padding: 4rem 0; }
  .form-row { grid-template-columns: 1fr; }
  .partner-grid.is-carousel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-bottom .copy { margin-left: 0; }
  .a11y-btn { right: 1rem; bottom: 1rem; }
  .a11y-panel { right: 1rem; bottom: 5.25rem; }
}
@media print {
  .site-header, .a11y-btn, .a11y-panel, .mobile-menu { display: none !important; }
}

/* ---------- Brochure download block ---------- */
.prose .brochure { margin-top: 3rem; }
.brochure { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: 2rem; align-items: center; background: var(--green-bg); border: 0; border-radius: var(--radius); padding: 1.75rem; }
.brochure-cover { display: block; line-height: 0; border-radius: 10px; overflow: hidden; box-shadow: 0 10px 24px rgba(10,27,46,.18); transition: transform var(--speed), box-shadow var(--speed); }
.brochure-cover:hover, .brochure-cover:focus-visible { transform: translateY(-4px) rotate(-1deg); box-shadow: 0 16px 32px rgba(10,27,46,.25); }
.brochure-cover img { width: 100%; height: auto; border-radius: 0; }
.brochure-body h2 { margin: .35rem 0 .6rem !important; font-size: 1.25rem !important; }
.brochure-body p { margin: 0 0 .5rem; }
.brochure-meta { font-size: .9rem; color: var(--muted); margin-bottom: 1.25rem; }
.brochure-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.prose .brochure-actions a { text-decoration: none; }
.prose .brochure-actions .btn-orange { color: var(--orange-ink); }
.prose .brochure-actions .btn-navy { color: #fff; }
@media (max-width: 640px) { .brochure { grid-template-columns: 1fr; } .brochure-cover { max-width: 12rem; } }

/* ---------- Our Solutions: real video clip plays on picture hover ---------- */
.tile-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s ease; pointer-events: none; }
.tile.is-playing .tile-video { opacity: 1; }
.tile-media .chip { z-index: 2; }
.tile-media { overflow: hidden; }                       /* nothing spills out of the picture frame */
.tile:has(.tile-video):hover .tile-media img { transform: none; }  /* no photo zoom behind the video */
.tile-video { background: #000; }
html.a11y-still .tile-video, html.a11y-dark .tile-video, html.a11y-light .tile-video { display: none; }

/* ---------- Round 5 ---------- */
/* product pictures: whole picture fits in the frame */
.on-light .card-product .card-media { padding: .75rem; }
.on-light .card-product .card-media img { object-fit: contain; }
/* about page: text aligned with the title, full width, bigger pictures */
.about-page .prose { max-width: none; }
.about-page .prose img { width: 100%; height: auto; }
.about-page .prose a img { width: auto; max-width: 48%; }
/* long titles on one line */
.page-title h1 { max-width: none; }
/* contact details: one font, bigger, bigger social icons */
.info-card dt { font-size: 1rem; letter-spacing: .02em; text-transform: none; font-weight: 700; margin-top: 1.4rem; }
.info-card dd { font-size: 1.15rem; }
.info-card .social a { width: 3.75rem; height: 3.75rem; }
.info-card .social svg { width: 2.5rem; height: 2.5rem; }
.footer-contact li span { display: inline-block; padding: .3rem 0; }
