/*
Theme Name: PSS Steel
Theme URI: https://prosteelsolution.com/
Author: Pro Steel Solutions Ltd
Description: Fast, builder-free theme for Pro Steel Solutions. Pages use the standard block editor; includes the PSS assistant, steel tools, quote forms, leads list, WhatsApp and call buttons, and search visibility features.
Version: 2.7.0
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pss-steel
Tags: block-styles, editor-style, custom-logo, custom-menu, wide-blocks, accessibility-ready
*/

/* ---------- tokens ---------- */
:root {
	--pss-blue: #1463FF; --pss-blue2: #3D86FF; --pss-navy: #0B3D91; --pss-black: #05070B; --pss-night: #0B1220;
	--pss-ink: #0A0F1A; --pss-muted: #4E5B70; --pss-line: #D9E1EC; --pss-bg: #F3F6FB; --pss-surface: #FFFFFF; --pss-chip: rgba(20, 99, 255, .08);
	--pss-good: #167A4A; --pss-bad: #B3261E;
	--pss-display: "Sora", "Segoe UI", system-ui, sans-serif; --pss-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif; --pss-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
	--pss-grad: linear-gradient(180deg, #3D86FF 0%, #1463FF 48%, #0B3D91 100%);
	--pss-night-grad: linear-gradient(160deg, #05070B 0%, #0B1220 60%, #0B3D91 150%);
	--pss-gutter: clamp(16px, 4vw, 40px); --pss-max: 1180px; --pss-radius: 16px;
	--pss-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 12px 32px rgba(10, 30, 70, .07);
	--pss-page: linear-gradient(180deg, #FFFFFF 0%, #EEF3FA 100%);
	color-scheme: light;
}
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--pss-ink: #E8EEF8; --pss-muted: #A3B1C6; --pss-line: #223047; --pss-bg: #0B111C; --pss-surface: #0F1622; --pss-chip: rgba(91, 147, 255, .14);
		--pss-blue: #5B93FF; --pss-page: linear-gradient(180deg, #070B12 0%, #0B111C 100%); --pss-shadow: 0 12px 32px rgba(0, 0, 0, .35); color-scheme: dark;
	}
}
:root[data-theme="dark"] {
	--pss-ink: #E8EEF8; --pss-muted: #A3B1C6; --pss-line: #223047; --pss-bg: #0B111C; --pss-surface: #0F1622; --pss-chip: rgba(91, 147, 255, .14);
	--pss-blue: #5B93FF; --pss-page: linear-gradient(180deg, #070B12 0%, #0B111C 100%); --pss-shadow: 0 12px 32px rgba(0, 0, 0, .35); color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--pss-page); background-attachment: fixed; color: var(--pss-ink); font: 400 17px/1.65 var(--pss-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--pss-blue); text-underline-offset: 3px; }
a:hover { color: var(--pss-navy); }
:root[data-theme="dark"] a:hover { color: #9DBEFF; }
h1, h2, h3, h4 { font-family: var(--pss-display); color: var(--pss-ink); line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; margin: 0 0 .5em; }
:focus-visible { outline: 2px solid var(--pss-blue); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; padding: 10px 16px; border-radius: 10px; background: var(--pss-blue); color: #fff; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
.pss-wrap { max-width: var(--pss-max); margin: 0 auto; padding-inline: var(--pss-gutter); }
.pss-eyebrow, p.is-style-eyebrow { font: 500 12px/1.4 var(--pss-mono) !important; letter-spacing: .16em; text-transform: uppercase; color: var(--pss-blue); margin: 0 0 .6em; }
.pss-eyebrow.is-light { color: #7FB0FF; }
.pss-muted { color: var(--pss-muted); }
p.is-style-lead { font-size: 1.2rem; color: var(--pss-muted); }
.pss-num, .pss-mono { font-family: var(--pss-mono); font-variant-numeric: tabular-nums; }

/* ---------- buttons ---------- */
.pss-btn, .wp-block-button__link, .wp-element-button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 15px/1.2 var(--pss-body); padding: 13px 24px; border-radius: 999px; border: 0;
	background: var(--pss-grad); color: #fff !important; text-decoration: none !important; cursor: pointer; box-shadow: 0 8px 22px rgba(20, 99, 255, .28); transition: transform .15s, box-shadow .15s;
}
.pss-btn:hover, .wp-block-button__link:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(20, 99, 255, .34); color: #fff !important; }
.pss-btn-ghost, .wp-block-button.is-style-outline > .wp-block-button__link { background: var(--pss-surface); color: var(--pss-ink) !important; border: 1px solid var(--pss-line); box-shadow: none; }
.pss-btn-ghost:hover, .wp-block-button.is-style-outline > .wp-block-button__link:hover { border-color: var(--pss-blue); color: var(--pss-blue) !important; box-shadow: none; }
.pss-btn-ghost.is-dark { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .35); }
.pss-btn-ghost.is-dark:hover { background: #fff; color: var(--pss-black) !important; }
.wp-block-buttons { gap: 10px; }

/* ---------- top bar and header ---------- */
.pss-topbar { background: var(--pss-black); color: #C9D4E5; font-size: 13px; }
.pss-topbar .pss-wrap { display: flex; justify-content: space-between; gap: 16px; padding-block: 8px; }
.pss-topbar p { margin: 0; }
.pss-topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.pss-topbar-contact { display: flex; gap: 18px; }
.pss-header { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--pss-surface) 90%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--pss-line); transition: box-shadow .2s; }
.admin-bar .pss-header { top: 32px; }
.pss-header.is-stuck { box-shadow: 0 8px 26px rgba(10, 30, 70, .1); }
.pss-header .pss-wrap { display: flex; align-items: center; gap: 18px; min-height: 76px; }
.pss-brand { flex: none; }
.pss-brand img { display: block; width: 190px; height: auto; transition: width .2s; }
.pss-header.is-stuck .pss-brand img { width: 160px; }
:root[data-theme="dark"] .pss-brand img { filter: brightness(1.6) saturate(.9); }
.pss-nav { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.pss-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.pss-menu > li { position: relative; }
.pss-menu a { white-space: nowrap; display: block; padding: 10px 12px; border-radius: 10px; color: var(--pss-ink); font: 600 15px var(--pss-body); text-decoration: none; }
.pss-menu a:hover, .pss-menu .current-menu-item > a, .pss-menu .current-menu-ancestor > a { color: var(--pss-blue); background: var(--pss-chip); }
.pss-header-cta { white-space: nowrap; flex-shrink: 0; }
@media (min-width: 1081px) and (max-width: 1300px) { .pss-menu { gap: 0; } .pss-menu a { padding: 10px 8px; font-size: 14px; } .pss-brand img { width: 150px; height: auto; } }
@media (min-width: 1301px) { .pss-menu { gap: 0; } .pss-menu a { padding: 10px 10px; } .pss-brand img { width: 160px; } }
.pss-menu .sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; left: 0; top: 100%; min-width: 260px; background: var(--pss-surface); border: 1px solid var(--pss-line); border-radius: 14px; box-shadow: var(--pss-shadow); display: none; columns: 2; column-gap: 4px; width: 520px; }
.pss-menu li:hover > .sub-menu, .pss-menu li:focus-within > .sub-menu { display: block; }
.pss-menu .sub-menu a { font-size: 14px; padding: 8px 10px; break-inside: avoid; }
.pss-header-cta { padding: 11px 18px; font-size: 14px; }
.pss-menu-toggle, .pss-theme-toggle { background: transparent; border: 1px solid var(--pss-line); color: var(--pss-ink); border-radius: 12px; width: 42px; height: 42px; display: grid; place-items: center; cursor: pointer; }
.pss-menu-toggle { display: none; margin-left: auto; }
.pss-burger, .pss-burger::before, .pss-burger::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: .2s; }
.pss-burger::before, .pss-burger::after { content: ""; position: absolute; left: 0; }
.pss-burger::before { top: -6px; } .pss-burger::after { top: 6px; }
.pss-menu-toggle[aria-expanded="true"] .pss-burger { background: transparent; }
.pss-menu-toggle[aria-expanded="true"] .pss-burger::before { top: 0; transform: rotate(45deg); }
.pss-menu-toggle[aria-expanded="true"] .pss-burger::after { top: 0; transform: rotate(-45deg); }
@media (max-width: 1080px) {
	.pss-menu-toggle { display: grid; }
	.pss-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 10px; padding: 14px var(--pss-gutter) 20px; background: var(--pss-surface); border-bottom: 1px solid var(--pss-line); box-shadow: var(--pss-shadow); max-height: calc(100vh - 120px); overflow: auto; }
	.pss-nav.is-open { display: flex; }
	.pss-menu { flex-direction: column; }
	.pss-menu .sub-menu { position: static; display: block; box-shadow: none; border: 0; columns: 1; width: auto; padding: 0 0 0 14px; }
	.pss-header-cta { align-self: flex-start; }
}
/* A language whose menu does not fit on one line uses the compact menu (theme.js adds the class). */
html.pss-nav-tight .pss-menu-toggle { display: grid; }
html.pss-nav-tight .pss-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 10px; padding: 14px var(--pss-gutter) 20px; background: var(--pss-surface); border-bottom: 1px solid var(--pss-line); box-shadow: var(--pss-shadow); max-height: calc(100vh - 120px); overflow: auto; }
html.pss-nav-tight .pss-nav.is-open { display: flex; }
html.pss-nav-tight .pss-menu { flex-direction: column; }
html.pss-nav-tight .pss-menu .sub-menu { position: static; display: block; box-shadow: none; border: 0; columns: 1; width: auto; padding: 0 0 0 14px; }
html.pss-nav-tight .pss-header-cta { align-self: flex-start; }
@media (max-width: 600px) { .pss-hide-sm { display: none; } .pss-brand img { width: 150px; } .pss-header .pss-wrap { min-height: 64px; } .admin-bar .pss-header { top: 0; } }

/* ---------- hero ---------- */
.pss-hero { background: var(--pss-black) url("assets/img/hero-bg.jpg") right center / cover no-repeat; color: #C9D4E5; padding-block: clamp(56px, 9vw, 110px) clamp(44px, 7vw, 84px); }
.pss-hero h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.6rem); max-width: 22ch; margin: 0 0 .35em; }
.pss-hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 62ch; color: #C9D4E5; margin: 0; }
.pss-crumbs { font: 500 12.5px var(--pss-mono); color: #9AA8BD; margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.pss-crumbs a { color: #C9D4E5; }
.pss-hero-search { margin-top: 22px; max-width: 560px; }

/* ---------- slider ---------- */
.pss-slider { position: relative; background: var(--pss-black); color: #C9D4E5; min-height: clamp(520px, 70vh, 660px); overflow: hidden; }
.pss-slide { position: absolute; inset: 0; background-size: cover; background-position: center right; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity .7s, visibility .7s; }
.pss-slide.is-on { opacity: 1; visibility: visible; position: relative; min-height: clamp(520px, 70vh, 660px); }
.pss-slide .pss-wrap { width: 100%; padding-block: 60px 110px; }
.pss-slide h1, .pss-slide .pss-h1 { color: #fff; font-size: clamp(2.2rem, 5.2vw, 3.9rem); max-width: 16ch; margin: 0 0 .35em; }
.pss-slide .hl { background: linear-gradient(90deg, #9DC2FF, #3D86FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pss-slide .pss-hero-lead { max-width: 52ch; }
.pss-slide-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.pss-slider-ctrl { position: absolute; left: 0; right: 0; bottom: 28px; display: flex; align-items: center; gap: 10px; }
.pss-slider-ctrl button { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; height: 36px; min-width: 36px; padding: 0 12px; cursor: pointer; font: 600 14px var(--pss-body); }
.pss-dots { display: flex; gap: 6px; }
.pss-dots button { width: 10px; min-width: 10px; height: 10px; padding: 0; }
.pss-dots button[aria-current="true"] { background: #fff; width: 26px; }
@media (max-width: 600px) { .pss-slide { background-position: 70% center; } .pss-slide::before { content: ""; position: absolute; inset: 0; background: rgba(5, 7, 11, .55); } .pss-slide .pss-wrap { position: relative; } }

/* ---------- content ---------- */
.pss-entry { padding-bottom: 8px; }
.pss-entry > * { max-width: var(--pss-max); margin-inline: auto; }
.pss-entry .wp-block-group.pss-section > * { margin-inline: 0; }
.pss-entry > .wp-block-group:not(.alignfull) { max-width: var(--pss-max); margin-inline: auto; padding-inline: var(--pss-gutter); }
.pss-entry > .wp-block-shortcode, .pss-entry > p, .pss-entry > ul, .pss-entry > h2, .pss-entry > h3 { padding-inline: var(--pss-gutter); }
.pss-section { padding-block: clamp(40px, 6vw, 72px) 0; }
.pss-entry > .pss-section > * { max-width: 100%; }
.pss-entry .wp-block-group.pss-section > p:not(.pss-eyebrow) { max-width: 72ch; }
.pss-entry .wp-block-group.pss-section > .wp-block-details { max-width: 860px; }
.wp-block-group.alignfull.pss-band { margin-top: clamp(40px, 6vw, 72px); padding: clamp(48px, 7vw, 88px) var(--pss-gutter); }
.wp-block-group.alignfull.pss-band > * { max-width: var(--pss-max); margin-inline: auto; }
.pss-band.is-dark, .wp-block-group.is-style-dark-band { background: var(--pss-night-grad); color: #C9D4E5; }
.pss-band.is-dark h2, .pss-band.is-dark h3, .is-style-dark-band h2, .is-style-dark-band h3 { color: #fff; }
.pss-band.is-dark .pss-eyebrow { color: #7FB0FF; }
.pss-band.is-dark .pss-card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .12); box-shadow: none; }
.pss-band.is-dark .pss-card h3 { color: #fff; } .pss-band.is-dark .pss-card p { color: #C9D4E5; }
.pss-band.is-tint { background: var(--pss-bg); }
.wp-block-group.is-style-card { background: var(--pss-surface); border: 1px solid var(--pss-line); border-radius: var(--pss-radius); padding: 26px; box-shadow: var(--pss-shadow); }
.pss-entry ul.wp-block-list:not(.is-style-plain), ul.is-style-ticks { list-style: none; padding-left: 0; display: grid; gap: 8px; }
.pss-entry ul.wp-block-list:not(.is-style-plain) > li, ul.is-style-ticks > li { position: relative; padding-left: 30px; }
.pss-entry ul.wp-block-list:not(.is-style-plain) > li::before, ul.is-style-ticks > li::before { content: ""; position: absolute; left: 0; top: .42em; width: 17px; height: 17px; border-radius: 50%; background: var(--pss-chip); box-shadow: inset 0 0 0 5px var(--pss-blue); }
.wp-block-details { border-bottom: 1px solid var(--pss-line); padding: 14px 0; }
.wp-block-details summary { cursor: pointer; font: 700 1.05rem/1.4 var(--pss-display); color: var(--pss-ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; font: 500 1.4rem/1 var(--pss-body); color: var(--pss-blue); transition: transform .2s; }
.wp-block-details[open] summary::after { transform: rotate(45deg); }
.wp-block-details > p { color: var(--pss-muted); margin: .6em 0 0; }
.wp-block-table table, .pss-table table { width: 100%; border-collapse: collapse; }
.wp-block-table td, .wp-block-table th { border: 0; border-bottom: 1px solid var(--pss-line); padding: 10px 12px; }

/* ---------- cards and sections from shortcodes ---------- */
.pss-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; margin-top: 18px; }
.pss-card { display: flex; flex-direction: column; gap: 8px; background: var(--pss-surface); border: 1px solid var(--pss-line); border-radius: var(--pss-radius); padding: 24px; box-shadow: var(--pss-shadow); color: var(--pss-ink); text-decoration: none; transition: transform .15s, border-color .15s; min-width: 0; }
a.pss-card:hover { transform: translateY(-2px); border-color: var(--pss-blue); color: var(--pss-ink); }
.pss-card h3 { font-size: 1.15rem; margin: 0; }
.pss-card p { margin: 0; color: var(--pss-muted); font-size: 15.5px; }
.pss-ico { width: 34px; height: 34px; color: var(--pss-blue); }
.pss-more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--pss-blue); }
.pss-more .pss-ico { width: 16px; height: 16px; }
.pss-tag { display: inline-block; font: 600 11.5px var(--pss-mono); text-transform: uppercase; letter-spacing: .08em; padding: 3px 8px; border-radius: 999px; background: var(--pss-chip); color: var(--pss-blue); }
.pss-mini { margin: 6px 0 0; padding-left: 18px; color: var(--pss-muted); font-size: 14.5px; }
.pss-trust { list-style: none; margin: 0 auto; padding: 18px var(--pss-gutter); max-width: var(--pss-max); display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; font: 600 14px var(--pss-body); color: var(--pss-ink); border-bottom: 1px solid var(--pss-line); }
.pss-trust li { display: flex; align-items: center; gap: 8px; }
.pss-trust .pss-ico { width: 16px; height: 16px; }
.pss-process { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 16px; }
.pss-process li { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border: 1px solid var(--pss-line); border-radius: var(--pss-radius); background: var(--pss-surface); }
.pss-process h3 { font-size: 1.05rem; margin: 0 0 4px; } .pss-process p { margin: 0; color: var(--pss-muted); font-size: 15px; }
.pss-step { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--pss-grad); color: #fff; font: 700 15px var(--pss-display); }
.pss-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin: 18px 0; }
.pss-stat { border: 1px solid var(--pss-line); border-radius: var(--pss-radius); padding: 18px 20px; background: var(--pss-surface); }
.pss-stat b { display: block; font: 700 2rem/1.1 var(--pss-display); color: var(--pss-ink); }
.pss-stat span { color: var(--pss-muted); font-size: 14px; }
.pss-timeline { list-style: none; margin: 18px 0 0; padding: 0 0 0 20px; border-left: 2px solid var(--pss-line); display: grid; gap: 16px; }
.pss-timeline li { position: relative; display: grid; gap: 2px; }
.pss-timeline li::before { content: ""; position: absolute; left: -27px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--pss-blue); }
.pss-timeline span { font: 500 12.5px var(--pss-mono); color: var(--pss-muted); }
.pss-cta { margin: clamp(48px, 7vw, 88px) 0 0; padding: clamp(40px, 6vw, 64px) max(var(--pss-gutter), calc((100% - var(--pss-max)) / 2 + var(--pss-gutter))); background: linear-gradient(120deg, #0B3D91, #05070B); color: #C9D4E5; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.pss-entry > .wp-block-shortcode:has(> .pss-cta), .pss-entry .pss-cta { max-width: none; }
.pss-cta h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0 0 .3em; }
.pss-cta p { margin: 0; max-width: 56ch; }
.pss-cta .pss-office { margin-top: 10px; color: #C9D4E5; }
.pss-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.pss-related { margin-top: 48px; }
.pss-contact-card { background: var(--pss-surface); border: 1px solid var(--pss-line); border-radius: var(--pss-radius); padding: 24px; box-shadow: var(--pss-shadow); margin-top: 32px; }
.pss-contact-card ul { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 12px; }
.pss-contact-card li { display: flex; flex-direction: column; }
.pss-contact-card li a { font: 700 1.1rem var(--pss-display); text-decoration: none; }
.pss-contact-card li span:last-child { font-size: 13.5px; color: var(--pss-muted); }
.pss-map iframe { width: 100%; height: 340px; border: 0; border-radius: var(--pss-radius); }
.pss-table { overflow-x: auto; border: 1px solid var(--pss-line); border-radius: var(--pss-radius); background: var(--pss-surface); margin-top: 14px; }
.pss-table th, .pss-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--pss-line); vertical-align: top; }
.pss-table th { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--pss-muted); }
.pss-filter-label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; max-width: 420px; margin-top: 10px; }
.pss-filter, .pss-search input[type="search"] { font: 400 16px var(--pss-body); color: var(--pss-ink); background: var(--pss-surface); border: 1px solid var(--pss-line); border-radius: 12px; padding: 11px 14px; width: 100%; }
.pss-az { display: flex; flex-wrap: wrap; gap: 4px; margin: 12px 0 0; }
.pss-az button { font: 600 13px var(--pss-mono); padding: 7px 9px; border-radius: 8px; border: 1px solid var(--pss-line); background: var(--pss-surface); color: var(--pss-ink); cursor: pointer; }
.pss-az button:hover, .pss-az button[aria-pressed="true"] { border-color: var(--pss-blue); color: var(--pss-blue); }
.pss-search { display: flex; gap: 10px; }
.pss-listing { padding-block: 40px 72px; }
.pss-ask-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.pss-c .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }

/* ---------- forms ---------- */
.pss-form-x { background: var(--pss-surface); border: 1px solid var(--pss-line); border-radius: 20px; padding: clamp(20px, 3vw, 32px); box-shadow: var(--pss-shadow); }
.pss-fields { display: flex; flex-wrap: wrap; gap: 16px; }
.pss-field { flex: 1 1 100%; margin: 0; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pss-field.is-half { flex: 1 1 calc(50% - 8px); }
@media (max-width: 600px) { .pss-field.is-half { flex-basis: 100%; } }
.pss-field label, .pss-choices legend { font: 600 14px var(--pss-body); color: var(--pss-ink); }
.pss-field input:not([type="checkbox"]):not([type="radio"]), .pss-field select, .pss-field textarea {
	font: 400 16px var(--pss-body); color: var(--pss-ink); background: var(--pss-surface); border: 1px solid var(--pss-line); border-radius: 12px; padding: 11px 13px; width: 100%; }
.pss-field input[type="file"] { padding: 10px; background: var(--pss-bg); }
.pss-field input:focus, .pss-field select:focus, .pss-field textarea:focus { outline: 2px solid var(--pss-blue); outline-offset: 1px; border-color: transparent; }
.pss-req { color: var(--pss-bad); }
.pss-hint { font-size: 13px; color: var(--pss-muted); }
.pss-choices { border: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.pss-choices legend { margin-bottom: 8px; width: 100%; }
.pss-choice { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; }
.pss-consent label { flex-direction: row; display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.pss-consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--pss-blue); }
.pss-submit { margin: 20px 0 0; }
.pss-submit .pss-btn { width: 100%; padding-block: 16px; font-size: 16px; }
.pss-hp { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip-path: inset(50%) !important; white-space: nowrap !important; opacity: 0 !important; pointer-events: none !important; }
.pss-form-error { background: rgba(179, 38, 30, .1); color: var(--pss-bad); padding: 12px 16px; border-radius: 12px; font-weight: 600; margin: 0 0 16px; }
.pss-form-done { background: var(--pss-surface); border: 1px solid var(--pss-good); border-radius: 20px; padding: 28px; }
.pss-form-done h3 { color: var(--pss-good); }

/* ---------- guides ---------- */
.pss-guide-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; padding-block: 48px 24px; align-items: start; }
.pss-guide-grid > .pss-entry:only-child { grid-column: 1 / -1; max-width: 820px; margin-inline: auto; }
.pss-toc { position: sticky; top: 110px; border-left: 2px solid var(--pss-line); padding-left: 16px; }
.pss-toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14.5px; }
.pss-toc a { color: var(--pss-muted); text-decoration: none; }
.pss-toc a:hover, .pss-toc a.is-active { color: var(--pss-blue); }
.pss-prose { max-width: 72ch; font-size: 18px; }
.pss-prose h2 { font-size: 1.6rem; margin-top: 1.4em; }
.pss-guide-foot { padding-bottom: 24px; }
.pss-postnav { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 24px; }
.pss-postnav .pss-card:last-child { text-align: right; }
@media (max-width: 900px) { .pss-guide-grid { grid-template-columns: 1fr; gap: 20px; } .pss-toc { position: static; } }
.pss-read-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--pss-grad); z-index: 200; }

/* ---------- footer ---------- */
.pss-footer { background: var(--pss-night-grad); color: #A9B6CA; margin-top: 0; font-size: 15px; }
.pss-footer-cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 32px; padding-block: 72px 36px; }
@media (max-width: 900px) { .pss-footer-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pss-footer-cols { grid-template-columns: 1fr; } }
.pss-footer h2 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.pss-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.pss-footer a { color: #DCE6F5; text-decoration: none; }
.pss-footer a:hover { color: #fff; text-decoration: underline; }
.pss-footer .custom-logo { width: 210px; height: auto; }
.pss-social { display: flex; flex-wrap: wrap; gap: 14px; }
.pss-legal { border-top: 1px solid rgba(255, 255, 255, .08); padding-block: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13px; }
.pss-legal p { margin: 0; }
.pss-theme-toggle { flex: none; }

/* ---------- comments, alignment, misc ---------- */
.alignwide { max-width: var(--pss-max); margin-inline: auto; }
.alignfull { max-width: none; }
.wp-block-image img { border-radius: 12px; }
.pagination, .nav-links { display: flex; gap: 8px; margin-top: 28px; }
.page-numbers { padding: 8px 14px; border: 1px solid var(--pss-line); border-radius: 10px; text-decoration: none; }
.page-numbers.current { background: var(--pss-blue); color: #fff; border-color: var(--pss-blue); }

/* ---------- Projects, workshop photos, accreditations, documents ---------- */
.pss-entry > .pss-sc-section { padding-inline: var(--pss-gutter); }
.pss-docs-wrap h2 { margin: 0 0 14px; }
.pss-project-main .pss-entry > * { padding-inline: 0; max-width: none; }
.pss-btn-sm { padding: 8px 14px; font-size: 14px; min-height: 0; }
.pss-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.pss-filters button { font: 600 14px var(--pss-body); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--pss-line); background: var(--pss-surface); color: var(--pss-ink); cursor: pointer; }
.pss-filters button[aria-pressed="true"] { background: var(--pss-blue); border-color: var(--pss-blue); color: #fff; }
.pss-pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.pss-pcard { display: flex; flex-direction: column; background: var(--pss-surface); border: 1px solid var(--pss-line); border-radius: var(--pss-radius); overflow: hidden; box-shadow: var(--pss-shadow); color: var(--pss-ink); text-decoration: none; transition: transform .15s, border-color .15s; min-width: 0; }
.pss-pcard:hover { transform: translateY(-2px); border-color: var(--pss-blue); color: var(--pss-ink); }
.pss-pcard[hidden] { display: none; }
.pss-pcard-img { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; background: var(--pss-chip); overflow: hidden; }
.pss-pcard-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pss-pcard-img .pss-ico { width: 56px; height: 56px; color: var(--pss-blue); }
.pss-pcard-count { position: absolute; right: 10px; bottom: 10px; background: rgba(5, 7, 11, .75); color: #fff; font: 600 12px var(--pss-body); padding: 4px 10px; border-radius: 999px; }
.pss-pcard-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; }
.pss-pcard-body h3 { margin: 0; font-size: 1.15rem; }
.pss-pcard-body p { margin: 0; color: var(--pss-muted); font-size: 15px; }
.pss-project-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; padding-block: 40px; align-items: start; }
.pss-project-side { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 14px; }
.pss-facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; padding: 18px; border: 1px solid var(--pss-line); border-radius: var(--pss-radius); background: var(--pss-surface); }
.pss-facts dt { font-weight: 700; color: var(--pss-muted); font-size: 14px; }
.pss-facts dd { margin: 0; }
.pss-side-h { font-size: 1rem; margin: 6px 0 0; }
.pss-links { margin: 0; padding-left: 18px; }
.pss-side-cta { padding: 18px; border-radius: var(--pss-radius); background: var(--pss-chip); display: flex; flex-direction: column; gap: 8px; }
.pss-side-cta p { margin: 0; }
.pss-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 28px; }
.pss-gallery .pss-shot:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.pss-gallery.is-single .pss-shot { aspect-ratio: auto; }
.pss-shot { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 10px; background: var(--pss-chip); cursor: zoom-in; }
.pss-shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.pss-shot:hover img { transform: scale(1.03); }
.pss-quote { margin: 28px 0; padding: 20px 24px; border-left: 4px solid var(--pss-blue); background: var(--pss-surface); border-radius: 0 var(--pss-radius) var(--pss-radius) 0; }
.pss-quote p { font-size: 1.1rem; margin: 0 0 8px; }
.pss-quote cite { font-style: normal; color: var(--pss-muted); font-weight: 600; }
.pss-more-projects { padding-block: 10px 56px; }
.pss-feed { margin-block: 8px 28px; }
.pss-feed-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.pss-feed-head h2 { margin: 0; }
.pss-live { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--pss-muted); }
.pss-feed-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 10px; }
.pss-feed-item { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.pss-feed-item figcaption { font-size: 13px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.pss-acc-logo { display: flex; align-items: center; height: 64px; }
.pss-acc-logo img { max-height: 64px; width: auto; max-width: 160px; object-fit: contain; }
.pss-acc .pss-tag, .pss-card .pss-tag { align-self: flex-start; }
.pss-acc-links { display: flex; flex-direction: row; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: auto !important; }
.pss-acc-links .pss-btn { width: auto; flex: 0 0 auto; }
.pss-docs { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pss-docs a { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--pss-line); border-radius: var(--pss-radius); background: var(--pss-surface); color: var(--pss-ink); text-decoration: none; }
.pss-docs a:hover { border-color: var(--pss-blue); }
.pss-doc-ico { display: grid; place-items: center; width: 44px; height: 52px; border-radius: 6px; background: var(--pss-blue); color: #fff; font: 700 12px var(--pss-mono); }
.pss-lb { position: fixed; inset: 0; z-index: 100000; background: rgba(3, 6, 12, .94); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 16px 16px; }
.pss-lb[hidden] { display: none; }
.pss-lb img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; border-radius: 6px; }
.pss-lb-cap { color: #e8eef8; margin: 12px 0 0; text-align: center; max-width: 760px; font-size: 15px; }
.pss-lb-count { position: absolute; top: 18px; left: 18px; color: #a3b1c6; font: 600 13px var(--pss-mono); }
.pss-lb button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.pss-lb button:hover, .pss-lb button:focus-visible { background: rgba(255, 255, 255, .2); }
.pss-lb-close { top: 10px; right: 10px; }
.pss-lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.pss-lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.pss-lb-lock { overflow: hidden; }
@media (max-width: 900px) { .pss-project-grid { grid-template-columns: 1fr; gap: 24px; } .pss-project-side { position: static; } }
@media (max-width: 600px) { .pss-gallery { grid-template-columns: repeat(2, 1fr); } .pss-lb-prev, .pss-lb-next { top: auto; bottom: 14px; transform: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
@media print {
	.pss-topbar, .pss-header, .pss-footer, .pss-dock, .pss-ai, .pss-cta, .pss-slider-ctrl, .pss-toc, .pss-ask-row, .pss-postnav, .pss-read-progress { display: none !important; }
	body { background: #fff; color: #000; font-size: 12pt; }
	.pss-hero { background: none; color: #000; padding: 0 0 12pt; }
	.pss-hero h1, .pss-hero .pss-lead { color: #000; }
	a { color: #000; }
	.pss-guide-grid { display: block; padding: 0; }
}

.pss-hint.is-error{color:#b42318;font-weight:600}
.pss-page-links{margin:24px 0;font-weight:600}

/* Share links under projects and guides (plain links, no tracking) */
.pss-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 28px 0 8px; padding-top: 18px; border-top: 1px solid var(--pss-line); }
.pss-share span { font: 600 12px var(--pss-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--pss-muted); margin-inline-end: 4px; }
.pss-share a { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border: 1px solid var(--pss-line); border-radius: 999px; color: var(--pss-ink); text-decoration: none; font-weight: 600; font-size: 14px; background: var(--pss-surface); }
.pss-share a:hover, .pss-share a:focus-visible { border-color: var(--pss-blue); color: var(--pss-blue); }

/* Project status badge, video player and site/workshop feeds */
.pss-pcard-img { position: relative; }
.pss-pcard-status { position: absolute; top: 10px; inset-inline-start: 10px; font: 600 11.5px var(--pss-mono); text-transform: uppercase; letter-spacing: .06em; padding: 5px 10px; border-radius: 999px; background: #F2A900; color: #1A1300; }
.pss-video { position: relative; aspect-ratio: 16 / 9; margin: 0 0 24px; border-radius: var(--pss-radius); overflow: hidden; background: var(--pss-night-grad); display: flex; align-items: center; justify-content: center; }
.pss-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pss-video-play { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 22px; border: 0; border-radius: 999px; background: #fff; color: #0A0F1A; font: 700 16px var(--pss-body); cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.pss-video-play:hover, .pss-video-play:focus-visible { background: var(--pss-blue); color: #fff; }
.pss-feed-video { font-weight: 600; font-size: 13px; }

/* ---------- drawing upload (up to 5 drawings) ---------- */
.pss-drop { gap: 10px; }
.pss-dz { position: relative; display: grid; justify-items: center; gap: 4px; text-align: center; padding: 26px 18px; border: 1.5px dashed color-mix(in srgb, var(--pss-blue) 45%, var(--pss-line)); border-radius: var(--pss-radius); background: linear-gradient(180deg, color-mix(in srgb, var(--pss-surface) 92%, var(--pss-blue)), var(--pss-surface)); color: var(--pss-muted); transition: border-color .2s, background .2s, transform .2s; }
.pss-dz-ico { color: var(--pss-blue); margin-bottom: 4px; }
.pss-dz-title { margin: 0; font: 600 15.5px/1.4 var(--pss-body); color: var(--pss-ink); }
.pss-dz-sub { margin: 0; font-size: 13.5px; }
.pss-field .pss-dz-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; padding: 0; border: 0; }
.pss-dz:hover, .pss-drop.is-over .pss-dz { border-color: var(--pss-blue); background: color-mix(in srgb, var(--pss-surface) 82%, var(--pss-blue)); }
.pss-drop.is-over .pss-dz { transform: scale(1.01); }
.pss-dz:focus-within { outline: 2px solid var(--pss-blue); outline-offset: 2px; }
.pss-drop.is-full .pss-dz { opacity: .55; pointer-events: none; }
.pss-dz-tools { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.pss-dz-tools .pss-btn { padding: 9px 16px; font-size: 14px; }
.pss-dz-cam { display: none !important; }
@media (pointer: coarse) { .pss-dz-cam:not([hidden]) { display: inline-flex !important; } }
.pss-dz-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pss-dz-list:empty { display: none; }
.pss-dz-list li { display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 8px; border: 1px solid var(--pss-line); border-radius: 14px; background: var(--pss-surface); min-width: 0; animation: pssDzIn .25s ease-out both; }
@keyframes pssDzIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.pss-dz-thumb { flex: none; width: 44px; height: 44px; border-radius: 10px; object-fit: cover; display: grid; place-items: center; font: 600 11px var(--pss-mono); letter-spacing: .04em; color: #fff; background: linear-gradient(160deg, #3D86FF, #0B3D91); }
.pss-dz-thumb[data-ext="pdf"] { background: linear-gradient(160deg, #F0574B, #B3261E); }
.pss-dz-thumb[data-ext="dwg"], .pss-dz-thumb[data-ext="dxf"], .pss-dz-thumb[data-ext="ifc"] { background: linear-gradient(160deg, #FF8A3D, #D45400); }
.pss-dz-thumb[data-ext="xlsx"], .pss-dz-thumb[data-ext="xls"], .pss-dz-thumb[data-ext="csv"] { background: linear-gradient(160deg, #2FAE6B, #167A4A); }
.pss-dz-meta { display: grid; min-width: 0; flex: 1; }
.pss-dz-meta b { font: 600 14.5px/1.3 var(--pss-body); color: var(--pss-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pss-dz-meta small { font: 500 12px var(--pss-mono); color: var(--pss-muted); }
.pss-dz-rm { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--pss-line); background: transparent; color: var(--pss-muted); display: grid; place-items: center; cursor: pointer; }
.pss-dz-rm:hover { color: #B3261E; border-color: #B3261E; }
.pss-dz-status { margin: 0; font-size: 13.5px; color: var(--pss-muted); min-height: 1em; }
.pss-dz-status:empty { display: none; }
.pss-dz-status.is-error { color: var(--pss-bad); font-weight: 600; }
.pss-dz-progress { height: 6px; border-radius: 999px; background: var(--pss-line); overflow: hidden; }
.pss-dz-progress span { display: block; height: 100%; width: 2%; background: var(--pss-grad); transition: width .2s; }
.pss-field.is-full { flex-basis: 100%; }
.pss-dz-list { padding-inline: 0 !important; }

/* ======================================================================
   Mobile and touch (2.0): bottom action bar, full-screen menu with folding
   sub-menus, auto-hiding header, bigger tap targets, safe areas, no zoom on inputs.
   ====================================================================== */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
a, button, summary, label, input, select, textarea { touch-action: manipulation; -webkit-tap-highlight-color: rgba(20, 99, 255, .12); }
h1, h2, h3, h4 { overflow-wrap: break-word; hyphens: auto; }
.pss-entry p, .pss-entry li, .pss-card p { overflow-wrap: break-word; }
.pss-table, .wp-block-table { -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.pss-footer { content-visibility: auto; contain-intrinsic-size: auto 900px; }
.pss-fab-l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
html:root body .pss-dock .pss-fab-quote { display: none; }
.pss-sub-toggle { display: none; }
.pss-nav-quick { display: none; }
.pss-lang:not([open]) ul { display: none; }
.pss-header { transition: transform .25s ease, box-shadow .2s; }
/* A blurred (backdrop-filter) or moved header would trap the full-screen menu and language sheet inside it */
html.pss-menu-open .pss-header, .pss-header:has(.pss-lang[open]) { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; background: var(--pss-surface) !important; transform: none !important; }

/* tablets and phones: full-screen menu */
@media (max-width: 1080px) {
	.pss-menu-toggle, .pss-theme-toggle { width: 44px; height: 44px; }
	.pss-nav { position: fixed; top: var(--pss-hh, 64px); bottom: 0; left: 0; right: 0; max-height: none; padding: 8px var(--pss-gutter) calc(24px + env(safe-area-inset-bottom, 0px)); overflow-y: auto; overscroll-behavior: contain; border-top: 1px solid var(--pss-line); border-bottom: 0; box-shadow: none; z-index: 120; }
	.pss-nav.is-open { animation: pssNavIn .22s ease-out both; }
	@keyframes pssNavIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
	.pss-menu > li { border-bottom: 1px solid var(--pss-line); }
	.pss-menu a { min-height: 52px; display: flex; align-items: center; white-space: normal; font-size: 17px; padding: 12px 6px; border-radius: 0; background: none; }
	.pss-menu .current-menu-item > a, .pss-menu a:hover { background: none; }
	.pss-menu .menu-item-has-children { display: grid; grid-template-columns: 1fr auto; align-items: center; }
	.pss-menu .menu-item-has-children > .sub-menu { grid-column: 1 / -1; display: none !important; padding: 0 0 10px 12px; }
	.pss-menu .menu-item-has-children.is-sub-open > .sub-menu { display: block !important; }
	.pss-menu .sub-menu a { min-height: 46px; font-size: 15.5px; color: var(--pss-muted); }
	.pss-sub-toggle { width: 46px; display: grid !important; height: 46px; border: 1px solid var(--pss-line); border-radius: 12px; background: var(--pss-surface); color: var(--pss-ink); display: grid; place-items: center; cursor: pointer; }
	.pss-sub-toggle svg { transition: transform .2s; }
	.is-sub-open > .pss-sub-toggle svg { transform: rotate(180deg); }
	.pss-header-cta { align-self: stretch !important; margin-top: 14px; padding: 15px 20px !important; font-size: 16px !important; }
	.pss-nav-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 4px 0 0; }
	.pss-nav-quick .pss-btn { padding: 13px 10px; font-size: 14px; }
	html.pss-menu-open, html.pss-menu-open body { overflow: hidden; }
}
html.pss-nav-tight .pss-sub-toggle { display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid var(--pss-line); border-radius: 12px; background: var(--pss-surface); color: var(--pss-ink); }
html.pss-nav-tight .pss-menu .menu-item-has-children > .sub-menu { display: none !important; } html.pss-nav-tight .pss-menu .is-sub-open > .sub-menu { display: block !important; } html.pss-nav-tight .pss-menu .menu-item-has-children { display: grid; grid-template-columns: 1fr auto; align-items: center; }
html.pss-nav-tight .pss-nav { position: fixed; top: var(--pss-hh, 76px); bottom: 0; max-height: none; overflow-y: auto; z-index: 120; }

/* phones */
@media (max-width: 760px) {
	.pss-topbar { display: none; }
	.pss-header .pss-wrap { gap: 8px; min-height: 62px; }
	.pss-header.is-away { transform: translateY(-110%); }
	html.pss-menu-open .pss-header.is-away { transform: none; }
	.pss-brand img, .pss-header.is-stuck .pss-brand img { width: 138px; }
	.pss-lang summary { height: 44px; min-width: 44px; justify-content: center; }
	/* language list as a sheet above the action bar */
	.pss-lang[open] ul { position: fixed; left: 12px; right: 12px; width: auto; max-width: none; top: auto; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 10px; z-index: 99995; box-shadow: 0 20px 50px rgba(10, 30, 70, .25); }
	.pss-lang a { min-height: 46px; }
	.pss-lang-code { font-size: 12px; }
	/* bottom action bar */
	body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
	html:root body .pss-dock { left: 0; right: 0; bottom: 0; flex-direction: row; align-items: stretch; justify-content: space-between; gap: 4px; padding: 6px max(8px, env(safe-area-inset-left, 0px)) calc(6px + env(safe-area-inset-bottom, 0px)) max(8px, env(safe-area-inset-right, 0px)); background: color-mix(in srgb, var(--pss-surface) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-top: 1px solid var(--pss-line); box-shadow: 0 -8px 24px rgba(10, 30, 70, .08); }
	html:root body .pss-dock > a, html:root body .pss-dock > button { flex: 1 1 0; min-width: 0; height: 58px; width: auto; border-radius: 14px; box-shadow: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 4px 2px; font: 600 11.5px/1.15 var(--pss-body); transform: none !important; }
	html:root body .pss-dock .pss-fab-l { position: static; width: auto; height: auto; overflow: hidden; clip: auto; white-space: nowrap; text-overflow: ellipsis; max-width: 100%; }
	html:root body .pss-dock .pss-fab svg, html:root body .pss-dock .pss-ask svg { width: 22px; height: 22px; }
	html:root body .pss-dock .pss-fab-call, html:root body .pss-dock .pss-fab-wa, html:root body .pss-dock .pss-ask { background: transparent !important; color: var(--pss-ink) !important; box-shadow: none !important; }
	html:root body .pss-dock .pss-fab-call svg { color: #1463FF; } html:root body .pss-dock .pss-fab-wa svg { color: #1FAA59; } html:root body .pss-dock .pss-ask svg { color: #FD6500; }
	html:root body .pss-dock .pss-fab-quote { display: flex !important; flex: 1.35 1 0; background: var(--pss-grad); color: #fff !important; box-shadow: 0 8px 18px -6px rgba(20, 99, 255, .55); }
	html:root body .pss-dock > a:active, html:root body .pss-dock > button:active { background: var(--pss-chip); }
	html:root body .pss-dock .pss-fab-quote:active { filter: brightness(.95); }
	.pss-ai { bottom: calc(80px + env(safe-area-inset-bottom, 0px)) !important; right: 8px !important; left: 8px; width: auto !important; height: min(70vh, calc(100vh - 160px)) !important; }
	/* comfortable reading and tapping */
	body { font-size: 16.5px; }
	.pss-hero h1, .pss-slide h1, .pss-slide .pss-h1 { font-size: clamp(1.85rem, 8.4vw, 2.5rem); letter-spacing: -.02em; }
	.pss-entry h2 { font-size: clamp(1.45rem, 6.4vw, 1.9rem); }
	.pss-hero { padding-block: 34px 30px; }
	.pss-slide .pss-wrap { padding-block: 36px 96px; }
	.pss-slide, .pss-slide.is-on, .pss-slider { min-height: auto; }
	.pss-slide-btns { display: grid; grid-template-columns: 1fr; gap: 10px; }
	.pss-slide-btns .pss-btn, .pss-cta-btns .pss-btn, .pss-submit .pss-btn { width: 100%; padding: 15px 20px; font-size: 16px; }
	.pss-cta-btns { width: 100%; display: grid; grid-template-columns: 1fr; }
	.pss-card { padding: 20px; }
	.pss-grid { gap: 14px; }
	.pss-footer-cols { padding-block: 48px 24px; gap: 26px; }
	.pss-footer ul { gap: 0; }
	.pss-footer ul a { display: flex; align-items: center; min-height: 44px; }
	.pss-legal { flex-direction: column; }
	.pss-crumbs a { display: inline-flex; align-items: center; min-height: 32px; }
	.pss-field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), .pss-field select, .pss-field textarea, .pss-form input, .pss-form select, .pss-form textarea { font-size: 16px; min-height: 48px; }
	.pss-choice { min-height: 40px; display: flex; align-items: center; gap: 10px; }
	.pss-choice input { width: 20px; height: 20px; }
	.pss-table { margin-inline: calc(var(--pss-gutter) * -1); border-radius: 0; border-inline: 0; background: linear-gradient(90deg, var(--pss-surface) 30%, transparent) left / 30px 100% no-repeat local, linear-gradient(270deg, var(--pss-surface) 30%, transparent) right / 30px 100% no-repeat local, radial-gradient(farthest-side at 0 50%, rgba(10, 30, 70, .14), transparent) left / 12px 100% no-repeat scroll, radial-gradient(farthest-side at 100% 50%, rgba(10, 30, 70, .14), transparent) right / 12px 100% no-repeat scroll, var(--pss-surface); }
	.pss-table table { min-width: 520px; }
	.pss-table td, .pss-table th, .wp-block-table td, .wp-block-table th { padding: 10px; font-size: 14.5px; }
	.pss-share-bar a, .pss-share a { min-height: 44px; display: inline-flex; align-items: center; }
}
@media (max-width: 380px) {
	.pss-brand img, .pss-header.is-stuck .pss-brand img { width: 120px; }
	.pss-header .pss-wrap { gap: 6px; }
	html:root body .pss-dock > a, html:root body .pss-dock > button { font-size: 10.5px; }
}
/* phones held sideways: keep the bar slim */
@media (max-width: 960px) and (max-height: 500px) and (orientation: landscape) {
	html:root body .pss-dock > a, html:root body .pss-dock > button { height: 46px; flex-direction: row; gap: 6px; }
	body { padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) { .pss-header { transition: none; } .pss-nav.is-open { animation: none; } }
@media print { html:root body .pss-dock { display: none !important; } body { padding-bottom: 0 !important; } }
/* tap targets of at least 44 px on touch screens */
@media (max-width: 1080px), (pointer: coarse) {
	.pss-lang summary { height: 44px; min-width: 44px; }
	.pss-social a, .pss-share a, .pss-contact-card a, .pss-findus-links a, .pss-topbar a, .pss-lang-foot a, .pss-legal a { min-height: 44px; display: inline-flex; align-items: center; }
	.pss-social { gap: 4px 18px; }
	.pss-crumbs { gap: 0 8px; } .pss-crumbs a { min-height: 44px; display: inline-flex; align-items: center; }
	.pss-brand .custom-logo-link { display: block; padding-block: 2px; min-height: 44px; }
	.wp-block-details summary { min-height: 44px; align-items: center; padding-block: 6px; }
	.pss-az button, .pss-filters button { min-height: 44px; min-width: 44px; }
	.pss-slider-ctrl button { height: 44px; min-width: 44px; }
	.pss-slider-ctrl .pss-dots button { height: 10px; min-width: 10px; width: 10px; padding: 0; }
	.pss-slider-ctrl .pss-dots button[aria-current="true"] { width: 26px; }
	.pss-dots button { position: relative; }
	.pss-dots button::before { content: ""; position: absolute; inset: -17px -5px; }
	.pss-more { min-height: 44px; }
	.pss-btn, .wp-block-button__link { min-height: 46px; }
	.pss-dz-rm { width: 44px; height: 44px; }
}
/* tables of facts (label: value) wrap instead of pushing the page wider */
table.kvt { width: 100%; table-layout: fixed; }
table.kvt td, table.kvt th { overflow-wrap: anywhere; }
@media (max-width: 480px) { table.kvt td:first-child, table.kvt th:first-child { width: 40%; } }

/* ---------- accreditation marks (logos uploaded under Accreditations > Logos, or a plain badge) ---------- */
.pss-acc-mark { display: inline-grid; place-items: center; flex: none; }
.pss-acc-mark img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.pss-acc-mark.is-logo { background: #fff; border-radius: 8px; padding: 3px; box-shadow: 0 0 0 1px rgba(16, 32, 64, .06); }
.pss-acc-mark.is-sm { width: 34px; height: 34px; } .pss-acc-mark.is-sm.is-logo { width: auto; min-width: 30px; max-width: 64px; }
.pss-acc-mark.is-md { width: 44px; height: 44px; } .pss-acc-mark.is-md.is-logo { width: auto; max-width: 96px; }
.pss-acc-mark.is-lg { width: 64px; height: 64px; margin-bottom: 6px; } .pss-acc-mark.is-lg.is-logo { width: auto; max-width: 150px; height: 64px; padding: 6px; }
.pss-acc-mark svg { width: 100%; height: 100%; }
.pss-acc-mark svg .b-shape { fill: color-mix(in srgb, var(--pss-blue) 8%, var(--pss-surface)); stroke: var(--pss-blue); stroke-width: 1.5; }
.pss-acc-mark svg .b-edge { fill: none; stroke: var(--pss-blue); stroke-opacity: .28; }
.pss-acc-mark svg text { font-family: var(--pss-mono); font-weight: 600; fill: var(--pss-navy); letter-spacing: -.02em; }
:root[data-theme="dark"] .pss-acc-mark svg text { fill: #CFE0FF; }
.pss-trust.has-marks li { gap: 10px; }
.pss-trust.has-marks .pss-acc-mark.is-sm { width: 34px; height: 34px; }
.pss-foot-acc { padding-block: 6px 22px; }
.pss-acc-row { display: block; text-decoration: none; color: inherit; }
.pss-acc-row ul { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent); display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 28px; }
.pss-acc-row li { display: flex; align-items: center; gap: 10px; font: 600 13.5px var(--pss-body); color: inherit; }
.pss-acc-row .is-logo { filter: grayscale(1); opacity: .85; transition: filter .2s, opacity .2s; }
.pss-acc-row:hover .is-logo { filter: none; opacity: 1; }
@media (max-width: 760px) { .pss-acc-row ul { justify-content: flex-start; gap: 12px 18px; } .pss-acc-row li span { font-size: 12.5px; } }
@media (max-width: 760px) {
	html:root body .pss-dock { width: 100%; max-width: 100vw; box-sizing: border-box; overflow: hidden; }
	html:root body .pss-dock > * { overflow: hidden; max-width: 100%; }
}
.pss-acc-mark.is-logo img { width: auto; max-width: 100%; object-fit: contain; }
.pss-acc-mark.is-sm.is-logo img { height: 28px; max-width: 58px; }
.pss-acc-mark.is-md.is-logo img { height: 40px; max-width: 90px; }
.pss-acc-mark.is-lg.is-logo img { height: 52px; max-width: 138px; }
.pss-acc-mark.is-logo { overflow: hidden; }
.pss-acc-row .is-logo { filter: none; opacity: 1; }
.pss-acc-row ul { align-items: center; }

/* ---------- authority: byline, author box, reviews, media kit ---------- */
.pss-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 18px 0 0; font-size: 14.5px; color: var(--pss-muted); }
.pss-avatar { flex: none; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--pss-grad); color: #fff; font: 700 11px var(--pss-display); letter-spacing: .02em; }
.pss-avatar.is-lg { width: 54px; height: 54px; font-size: 17px; }
.pss-byline-dot { opacity: .6; }
.pss-author { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; margin: 28px 0 8px; border: 1px solid var(--pss-line); border-radius: var(--pss-radius); background: var(--pss-surface); box-shadow: var(--pss-shadow); }
.pss-author p { margin: 0 0 6px; color: var(--pss-muted); font-size: 15.5px; } .pss-author .pss-author-name { color: var(--pss-ink); font: 700 1.02rem var(--pss-display); }
.pss-reviews { margin-top: 8px; }
.pss-review { margin: 0; gap: 12px; }
.pss-review .pss-quote-ico { color: var(--pss-blue); opacity: .55; }
.pss-review blockquote { margin: 0; font-size: 16px; line-height: 1.6; color: var(--pss-ink); }
.pss-review figcaption { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; margin-top: auto; font-size: 14px; color: var(--pss-muted); }
.pss-review figcaption b { color: var(--pss-ink); }
.pss-kit-preview { padding: 22px; border: 1px dashed var(--pss-line); border-radius: var(--pss-radius); background: var(--pss-surface); margin: 6px 0 14px; }
.pss-kit-code { width: 100%; font: 500 12.5px/1.5 var(--pss-mono); padding: 12px; border: 1px solid var(--pss-line); border-radius: 12px; background: var(--pss-bg); color: var(--pss-ink); resize: vertical; }
.pss-kit-btns { display: flex; flex-wrap: wrap; gap: 10px; }
a.pss-auto { text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* Our specialist websites (2.5.0) */
.pss-ext-site { margin: 6px 0 0; font: 600 12.5px/1.5 var(--pss-mono); color: var(--pss-blue); overflow-wrap: break-word; }
.pss-foot-sites { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; }
.pss-foot-sites span { font-weight: 700; }
.pss-menu .pss-menu-ext > a::after { content: " ↗"; font-size: .85em; opacity: .7; }

/* Home carousel photos (2.7.0) */
.pss-slide.has-photo { background-position: center; }
.pss-slide.has-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 8, 15, .9) 0%, rgba(5, 8, 15, .72) 42%, rgba(5, 8, 15, .25) 75%, rgba(5, 8, 15, .1) 100%); pointer-events: none; }
.pss-slide.has-photo > .pss-wrap { position: relative; z-index: 1; }
@media (max-width: 600px) { .pss-slide.has-photo::after { background: linear-gradient(180deg, rgba(5, 8, 15, .78) 0%, rgba(5, 8, 15, .86) 100%); } }
