/*
 * Seismic structural steel pages (Seismic module). Builds on the theme
 * (.band, .wrap, .btn, .field, .opt) and on landing.css (.lp-*). Logical
 * properties only (RTL for he/ar). Mobile rules (VICTOR): button labels never
 * wrap; chip and tab strips stay on one row and swipe sideways; the header
 * fits one row.
 */

.sz-group h4, .sz-sub { margin: 0 0 10px; font-family: var(--f-mono); font-size: 12px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--red); }
.navy .sz-group h4, .navy-2 .sz-group h4 { color: #FF8A8A; }
.sz-group ul { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sz-group li { position: relative; padding-inline-start: 16px; font-size: 14.5px; line-height: 1.55; }
.sz-group li::before { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: .62em; inline-size: 6px; block-size: 6px; background: var(--red); }
.sz-group li b { font-weight: 700; margin-inline-end: 4px; }
.sz-group p { font-size: 14.5px; line-height: 1.6; }
.navy .sz-group, .navy-2 .sz-group { color: var(--mist); }
.navy .sz-group li b, .navy-2 .sz-group li b { color: var(--white); }
.sz-kicker { display: inline-block; margin-block-end: 6px; font-family: var(--f-mono); font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--red); }
.navy .sz-kicker { color: #FF8A8A; }
.sz-arrow { display: inline-block; }
[dir="rtl"] .sz-arrow { transform: scaleX(-1); }
[dir="rtl"] .sz-arrow.sz-back, .sz-arrow.sz-back { transform: scaleX(-1); }
[dir="rtl"] .sz-arrow.sz-back { transform: none; }
.sz-tag { display: inline-block; padding: 2px 8px; border: 1px solid currentColor; font-family: var(--f-mono); font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; }
.sz-mt { margin-block-start: 24px !important; }
.sz-unit { font-weight: 400; opacity: .75; white-space: nowrap; }
.sz-reviewed { margin-block-start: 8px !important; font-family: var(--f-mono); font-size: 12.5px; opacity: .85; }
.sz-disclaimer > div { display: flex; flex-direction: column; gap: 8px; }

/* ---- Tabs that swipe on one row ---- */
.sz-tabbar { display: flex; gap: 16px; align-items: center; justify-content: space-between; margin-block-end: 24px; }
.sz-tabbar .lp-tablist { margin: 0; flex: 1 1 auto; min-inline-size: 0; }
.sz-compare-btn { flex: none; white-space: nowrap; }
.sz-compare-btn[aria-pressed="true"] { background: var(--navy-900); color: var(--white); }
.sz-compare-pick { display: flex; gap: 12px; align-items: center; margin-block-end: 20px; font-size: 14px; font-weight: 600; }
.sz-compare-pick select { min-block-size: 44px; padding: 8px 12px; border: 1px solid var(--steel-300); background: var(--white); font: inherit; }

/* ---- Standards explorer ---- */
.sz-legend { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: -12px 0 24px; padding: 0; list-style: none; font-size: 13.5px; color: var(--ink-2); }
.sz-legend li { display: flex; gap: 8px; align-items: center; }
.sz-legend span { inline-size: 14px; block-size: 14px; flex: none; }
.sz-legend .is-design span { background: var(--navy-900); }
.sz-legend .is-fab span { background: var(--red); }
.sz-legend .is-cred span { background: var(--white); border: 2px solid var(--red); }
.sz-panels.is-compare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.sz-panels.is-compare .sz-groups { grid-template-columns: minmax(0, 1fr); }
.sz-region { padding: clamp(20px, 3vw, 32px); background: var(--white); border: 1px solid var(--steel-200); }
.sz-region-head { display: flex; flex-direction: column; gap: 10px; max-inline-size: 80ch; margin-block-end: 24px; }
.sz-region-head h3 { font-size: 22px; }
.sz-region-head p { color: var(--ink-2); line-height: 1.65; }
.sz-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.sz-groups .sz-group { padding: 16px 18px; background: var(--steel-50); border-block-start: 3px solid var(--red); }
.sz-groups .sz-group.is-design { border-block-start-color: var(--navy-900); }
.sz-groups .sz-group.is-design h4 { color: var(--navy-900); }
.sz-groups .sz-group.is-design li::before { background: var(--navy-900); }
.sz-groups .sz-group.is-approval { border-block-start-color: var(--steel-300); }
.sz-credential { display: flex; gap: 12px; align-items: flex-start; margin-block-start: 20px; padding: 16px 18px; border: 2px solid var(--red); background: var(--white); }
.sz-credential .ico { color: var(--red); flex: none; }
.sz-credential strong { display: block; margin-block-end: 4px; }
.sz-credential p { font-size: 14.5px; line-height: 1.6; }

/* ---- Systems and connection explorers ---- */
.sz-explorer { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
.sz-side.lp-tablist { display: flex; flex-direction: column; gap: 4px; margin: 0; overflow: visible; border: 0; position: sticky; inset-block-start: calc(var(--header-h, 72px) + 72px); }
.sz-side [role="tab"] { display: flex; gap: 12px; align-items: center; inline-size: 100%; min-block-size: 48px; padding: 10px 14px; border: 1px solid transparent; border-inline-start: 3px solid transparent; background: transparent; color: inherit; font: inherit; font-size: 15px; font-weight: 600; text-align: start; cursor: pointer; white-space: normal; }
.navy .sz-side [role="tab"] { color: var(--mist); }
.sz-side [role="tab"]:hover { border-inline-start-color: var(--steel-300); }
.sz-side [role="tab"][aria-selected="true"], .light .sz-side.lp-tablist [role="tab"][aria-selected="true"], .white .sz-side.lp-tablist [role="tab"][aria-selected="true"] { border-color: var(--steel-200); border-inline-start-color: var(--red); background: var(--white); color: var(--ink); }
.navy .sz-side.lp-tablist [role="tab"][aria-selected="true"] { background: var(--navy-800); color: var(--white); border-color: var(--navy-700); border-inline-start-color: var(--red); }
.sz-side-group { display: block; margin: 14px 0 4px; padding-inline-start: 14px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--red); }
.sz-side-group:first-child { margin-block-start: 0; }
.sz-abbr { flex: none; min-inline-size: 52px; font-family: var(--f-mono); font-size: 12.5px; color: var(--red); }
.navy .sz-abbr { color: #FF8A8A; }
.sz-panel { padding: clamp(20px, 3vw, 32px); background: var(--white); border: 1px solid var(--steel-200); }
.navy .sz-panel { background: var(--navy-800); border-color: var(--navy-700); color: var(--white); }
.sz-panel-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 3vw, 32px); align-items: start; margin-block-end: 24px; }
.sz-panel-copy { display: flex; flex-direction: column; gap: 10px; }
.sz-panel-copy h3 { font-size: 22px; }
.sz-panel-copy p { line-height: 1.65; color: var(--ink-2); }
.navy .sz-panel-copy p, .navy .sz-detail-grid p { color: var(--mist); }
.sz-panel-copy .sz-group { margin-block-start: 8px; }
.sz-detail-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px 24px; padding-block-start: 20px; border-block-start: 1px solid var(--steel-200); }
.navy .sz-detail-grid { border-color: var(--navy-700); }
.sz-status { display: flex; gap: 10px; align-items: flex-start; margin-block-start: 6px !important; padding: 10px 12px; background: var(--steel-50); font-size: 14px; }
.sz-status .ico { color: var(--red); flex: none; }
.sz-more { margin-block-start: 16px !important; }
.sz-figure { margin: 0; padding: 12px; background: var(--steel-50); border: 1px solid var(--steel-200); }
.navy .sz-figure { background: var(--navy-900); border-color: var(--navy-700); }
.sz-figure figcaption { margin-block-start: 8px; font-size: 12.5px; line-height: 1.5; color: var(--ink-2); }
.navy .sz-figure figcaption { color: var(--mist-2); }

/* ---- Drawings (Support\Diagrams) ---- */
.sd { display: block; inline-size: 100%; block-size: auto; overflow: visible; }
.sd line, .sd path { fill: none; stroke-linecap: square; }
.sd .sd-m { stroke: var(--navy-900); stroke-width: 3; }
.navy .sd .sd-m { stroke: #9FB3CC; }
.sd .sd-thick { stroke-width: 4; }
.sd .sd-k { stroke: var(--red); fill: var(--red); stroke-width: 2.5; }
.sd line.sd-k { fill: none; }
.sd .sd-p { fill: #8FA0B6; stroke: var(--navy-900); stroke-width: 1; }
.navy .sd .sd-p { fill: #4A6588; stroke: #9FB3CC; }
.sd .sd-ghost { fill: none; stroke-dasharray: 3 2; }
.sd .sd-z { fill: rgba(165, 0, 0, .18); stroke: var(--red); stroke-width: 1; stroke-dasharray: 3 2; }
.sd .sd-g { stroke: #8FA0B6; stroke-width: 1.5; }
.sd .sd-b { fill: var(--white); stroke: var(--navy-900); stroke-width: 1.4; }
.sd .sd-w { fill: var(--navy-900); }
.navy .sd .sd-w { fill: var(--white); }
.sd .sd-w-line { stroke: var(--navy-900); stroke-width: 3; }
.sd .sd-t { stroke: var(--navy-900); stroke-width: .8; }
.navy .sd .sd-t { stroke: #9FB3CC; }
.sd .sd-t-fill { fill: #8FA0B6; }
.sd .sd-dash { stroke-dasharray: 5 4; }
.sd .sd-cut { stroke: var(--red); stroke-width: 2; }
.sd .sd-hole { stroke: var(--navy-900); stroke-width: 1.5; }
.sd .sd-casing { stroke: #8FA0B6; stroke-width: 9; }
.sd .sd-load line { stroke: var(--red); stroke-width: 2; }
.sd .sd-load polygon { fill: var(--red); }
.sd .sd-txt { font-family: var(--f-mono); font-size: 10px; fill: var(--ink-2); }

/* ---- Tools (comparison, assessment) on navy ---- */
.sz-tool { display: flex; flex-direction: column; gap: 24px; }
.sz-tool .lp-fs { margin: 0; padding: clamp(18px, 2.4vw, 24px); border: 1px solid var(--navy-600); background: var(--navy-900); }
.sz-tool .lp-fs legend { padding-inline: 6px; font-weight: 700; color: var(--white); }
.sz-tool .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.sz-tool-cols { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
/* .lp-sec carries these past the Landing reset .lp-sec p { margin: 0 }. */
.lp-sec .sz-hint, .lp-sec .sz-example, .lp-sec .sz-ratio-note { margin: 0 0 12px; font-size: 13px; line-height: 1.5; color: var(--mist-2); }
.lp-sec .sz-example { margin: -8px 0 0; }
.sz-reqs { display: flex; flex-direction: column; gap: 8px; margin-block-start: 16px; }
.sz-reqs-t { font-size: 13px; font-weight: 600; color: var(--mist); }
.sz-results { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: 24px; padding: clamp(18px, 2.4vw, 28px); background: var(--white); color: var(--ink); }
.sz-shapes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; }
.sz-shapes figure { margin: 0; padding: 8px; background: var(--steel-50); text-align: center; font-size: 13px; font-weight: 600; }
.sz-shapes svg { display: block; inline-size: 100%; block-size: auto; }
.sz-shapes .p-hot { fill: #8FA0B6; stroke: var(--navy-900); stroke-width: 1; }
.sz-shapes .p-built { fill: var(--red); stroke: var(--red-700); stroke-width: 1; }
.sz-shapes .p-dim { fill: var(--ink-2); font-family: var(--f-mono); font-size: 9px; }
.sz-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.sz-table { inline-size: 100%; border-collapse: collapse; font-size: 14px; }
.sz-table th, .sz-table td { padding: 9px 10px; border-block-end: 1px solid var(--steel-200); text-align: start; vertical-align: top; }
.sz-table thead th { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.sz-table td { font-variant-numeric: tabular-nums; white-space: nowrap; }
.sz-table td.is-up { color: #0E7A45; }
.sz-table td.is-down { color: var(--red); }
.sz-results .sz-out-notes { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr; gap: 12px; }
.sz-results .lp-h3 { color: var(--ink); }
.lp-sec .sz-ratio-note { color: var(--ink-2); margin-block-start: 8px; }
.sz-cost { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; background: var(--steel-50); font-size: 14px; line-height: 1.55; }
.sz-cost .ico { color: var(--red); flex: none; }
.sz-tool .lp-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.sz-tool .btn { white-space: nowrap; }
.sz-steps-head { display: none; }
.sz-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.sz-opts .opt-group { display: flex; flex-direction: column; gap: 8px; }
.sz-drawings { margin-block-start: 16px; }
.sz-assess-out { display: flex; flex-direction: column; gap: 20px; padding: clamp(18px, 2.4vw, 28px); background: var(--white); color: var(--ink); }
.sz-assess-out .lp-h3 { color: var(--ink); }
.sz-out-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px 24px; }
.sz-out-grid .sz-group h4 { color: var(--red); }
.sz-summary-dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; font-size: 14px; }
.sz-summary-dl dt { font-weight: 600; }
.sz-summary-dl dd { margin: 0; }
.sz-assess-out .sz-disclaimer { margin: 0 !important; background: var(--steel-50); color: var(--ink); }
.sz-assess-out .btn-ghost { border-color: var(--navy-900); color: var(--navy-900); }

/* ---- Timeline ---- */
.sz-tl-head.has-image { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 420px); gap: clamp(24px, 4vw, 56px); align-items: end; margin-block-end: 32px; }
.sz-tl-head.has-image .lp-head { margin: 0; }
.sz-tl-track.lp-tablist { display: flex; gap: 0; margin: 0 0 20px; padding: 0; list-style: none; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: thin; border: 0; counter-reset: none; }
.sz-tl-track li { flex: 1 0 128px; scroll-snap-align: start; }
.sz-tl-track [role="tab"] { position: relative; display: flex; flex-direction: column; gap: 8px; inline-size: 100%; min-block-size: 92px; padding: 18px 12px 12px; border: 0; border-block-start: 3px solid var(--steel-300); background: transparent; color: inherit; font: inherit; text-align: start; cursor: pointer; }
.navy .sz-tl-track [role="tab"] { border-block-start-color: var(--navy-600); color: var(--mist); }
.sz-tl-track [role="tab"]::before { content: ""; position: absolute; inset-block-start: -8px; inset-inline-start: 12px; inline-size: 13px; block-size: 13px; border-radius: 50%; background: var(--steel-300); }
.sz-tl-track [role="tab"][aria-selected="true"] { border-block-start-color: var(--red); }
.sz-tl-track [role="tab"][aria-selected="true"]::before, .sz-tl-track [role="tab"].is-past::before { background: var(--red); }
.sz-tl-track [role="tab"].is-past { border-block-start-color: var(--red); }
.sz-tl-no { font-family: var(--f-mono); font-size: 12px; color: var(--red); }
.sz-tl-t { font-size: 14.5px; font-weight: 600; line-height: 1.35; }
.sz-tl-panel { padding: clamp(20px, 3vw, 32px); background: var(--white); border: 1px solid var(--steel-200); }
.navy .sz-tl-panel { background: var(--navy-800); border-color: var(--navy-700); }
.sz-tl-body { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); gap: clamp(16px, 3vw, 40px); align-items: start; }
.sz-tl-body h3 { margin-block-end: 8px; }
.sz-tl-body p { line-height: 1.65; color: var(--ink-2); }
.navy .sz-tl-body p { color: var(--mist); }
.sz-tl-big { font-family: var(--f-display); font-size: clamp(48px, 6vw, 80px); font-weight: 800; line-height: .9; color: var(--red); }
.sz-tl-nav { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin-block-start: 20px; padding-block-start: 16px; border-block-start: 1px solid var(--steel-200); }
.sz-tl-nav .btn { white-space: nowrap; }
.sz-tl-nav .btn[disabled] { opacity: .35; cursor: default; }
.white .sz-tl-nav .btn-ghost, .light .sz-tl-nav .btn-ghost { border-color: var(--navy-900); color: var(--navy-900); }
.sz-tl-count { font-family: var(--f-mono); font-size: 13px; }

/* ---- Map ---- */
.sz-map-legend { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: -12px 0 24px; padding: 0; list-style: none; font-size: 14px; color: var(--mist); }
.sz-map-legend li { display: flex; gap: 8px; align-items: center; }
.sz-dot { display: inline-block; inline-size: 12px; block-size: 12px; border-radius: 50%; flex: none; }
.sz-dot.is-target { border: 2px solid #FF8A8A; background: transparent; }
.sz-dot.is-project { background: var(--red); border: 2px solid var(--white); }
.sz-dot.is-origin { background: var(--gold); }
.sz-map-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
.sz-map-fig { margin: 0; padding: 8px; background: var(--navy-800); border: 1px solid var(--navy-700); }
.sz-map-fig svg { display: block; inline-size: 100%; block-size: auto; }
.sz-map-routes path { fill: none; stroke: rgba(255, 138, 138, .35); stroke-width: 1.2; stroke-dasharray: 4 4; }
.sz-map-routes path.is-on { stroke: #FF8A8A; stroke-width: 2; stroke-dasharray: none; }
.sz-pin .sz-pin-halo { fill: rgba(165, 0, 0, .18); stroke: none; }
.sz-pin .sz-pin-dot { fill: var(--navy-900); stroke: #FF8A8A; stroke-width: 2.5; }
.sz-pin.is-project .sz-pin-dot { fill: var(--red); stroke: var(--white); }
.sz-pin:hover .sz-pin-dot, .sz-pin:focus .sz-pin-dot, .sz-pin.is-on .sz-pin-dot { fill: var(--red); stroke: var(--white); }
.sz-pin:focus { outline: none; }
.sz-pin:focus-visible .sz-pin-halo { stroke: var(--focus); stroke-width: 2; }
.sz-origin { fill: var(--gold); stroke: var(--navy-900); stroke-width: 2; }
.sz-map-list { display: flex; flex-direction: column; gap: 6px; max-block-size: 560px; overflow-y: auto; padding-inline-end: 4px; }
.sz-map-item { border: 1px solid var(--navy-700); background: var(--navy-800); }
.sz-map-item[open], .sz-map-item.is-on { border-color: #FF8A8A; }
.sz-map-item summary { display: flex; gap: 10px; align-items: center; min-block-size: 46px; padding: 10px 14px; cursor: pointer; font-weight: 600; color: var(--white); list-style: none; }
.sz-map-item summary::-webkit-details-marker { display: none; }
.sz-map-body { display: flex; flex-direction: column; gap: 10px; padding: 0 14px 14px; font-size: 14px; line-height: 1.6; color: var(--mist); }
.sz-codes { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; list-style: none; }
.sz-codes b { color: var(--white); margin-inline-end: 4px; }
.sz-map-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.navy .textlink { color: var(--white); }

/* ---- Certificates ---- */
.sz-cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.sz-cert { display: flex; flex-direction: column; gap: 10px; padding: 20px; border: 1px solid var(--steel-200); border-block-start: 4px solid var(--red); background: var(--white); }
.sz-cert-top { display: flex; gap: 10px; align-items: center; color: var(--red); }
.sz-cert-code { font-family: var(--f-mono); font-size: 13px; font-weight: 600; color: var(--ink); }
.sz-cert h3 { font-size: 17px; }
.sz-cert-scope { font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.sz-cert-dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0; font-size: 13.5px; }
.sz-cert-dl dt { color: var(--ink-2); }
.sz-cert-dl dd { margin: 0; font-weight: 600; }
.sz-cert-pdf { display: inline-flex; gap: 6px; align-items: center; margin-block-start: auto; font-size: 14px; }
.sz-not-claimed { margin-block-start: 28px; padding: 18px 20px; background: var(--steel-50); border-inline-start: 4px solid var(--steel-300); }
.sz-not-claimed ul { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 14.5px; line-height: 1.55; }
.sz-not-claimed b { margin-inline-end: 4px; }

/* ---- Applications ---- */
.sz-app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.sz-app { display: flex; flex-direction: column; gap: 12px; padding: 22px; background: var(--white); border: 1px solid var(--steel-200); }
.sz-app-head { display: flex; gap: 12px; align-items: center; }
.sz-app-chal { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.sz-app-more summary { cursor: pointer; font-weight: 600; font-size: 14px; color: var(--red); min-block-size: 32px; }
.sz-app-body { display: flex; flex-direction: column; gap: 14px; padding-block-start: 10px; }
.sz-app-cta { margin-block-start: auto; font-weight: 600; }

/* ---- Hub ---- */
.sz-hub-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.sz-hub-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px; background: var(--navy-900); color: var(--white); border: 1px solid var(--navy-700); transition: transform .2s ease, border-color .2s ease; }
.sz-hub-card h3 { font-size: 18px; }
.sz-hub-card h3 a { color: inherit; text-decoration: none; }
.sz-hub-card h3 a::after { content: ""; position: absolute; inset: 0; }
.sz-hub-card p { font-size: 14px; line-height: 1.55; color: var(--mist); }
.sz-hub-card:hover { border-color: var(--red); transform: translateY(-2px); }
.sz-hub-card.is-current { background: var(--steel-50); color: var(--ink); border-color: var(--red); transform: none; }
.sz-hub-card.is-current p { color: var(--ink-2); }
.sz-here { margin-block-start: auto; font-family: var(--f-mono); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--red); }
.sz-go { margin-block-start: auto; color: #FF8A8A; font-size: 20px; }
.sz-related { margin-block-start: 32px; }
.sz-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sz-chips a { display: inline-flex; align-items: center; min-block-size: 40px; padding: 8px 14px; border: 1px solid var(--steel-300); background: var(--white); color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.sz-chips a:hover { border-color: var(--red); color: var(--red); }

/* ---- Articles ---- */
.sz-art-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.sz-art { display: flex; flex-direction: column; gap: 8px; padding: 20px; background: var(--white); border: 1px solid var(--steel-200); }
.sz-art-no { font-family: var(--f-display); font-size: 30px; font-weight: 800; line-height: 1; color: var(--steel-300); }
.sz-art h3 { font-size: 17px; }
.sz-art p { font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.sz-badge { align-self: flex-start; margin-block-start: auto; padding: 3px 8px; background: var(--steel-50); border: 1px solid var(--steel-200); font-family: var(--f-mono); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-2); }

/* ---- Tabs section, sections range ---- */
.sz-tabpanel { display: flex; flex-direction: column; gap: 18px; }
.sz-tabpanel h3 { font-size: 22px; }
.sz-tab-intro { max-inline-size: 80ch; line-height: 1.65; color: var(--ink-2); }
.navy .sz-tab-intro { color: var(--mist); }
.sz-rows th { inline-size: 32%; font-weight: 700; white-space: normal; }
.sz-rows td { white-space: normal; color: var(--ink-2); }
.navy .sz-rows td { color: var(--mist); }
.navy .sz-table th, .navy .sz-table td { border-color: var(--navy-700); }
.sz-sec-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.sz-sec { display: flex; flex-direction: column; gap: 10px; padding: 20px; border: 1px solid var(--steel-200); background: var(--white); }
.sz-sec-fig { margin: 0; padding: 12px; background: var(--steel-50); }
.sz-sec-fig .sd { max-block-size: 140px; }
.sz-sec h3 { font-size: 17px; }
.sz-sec p { font-size: 14px; line-height: 1.55; color: var(--ink-2); }

/* ---- Quotation form ---- */
.sz-services { margin-block-start: 18px; }
.sz-opt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.sz-attached { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 12px 14px; border: 1px solid var(--success); color: var(--white); font-size: 14px; }
.sz-attached .ico { color: var(--success); }
.sz-attached .btn { margin-inline-start: auto; white-space: nowrap; }

/* ---- Hero overlay (structural grid, load path, connection nodes) ---- */
.sz-overlay { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; pointer-events: none; }
.sz-overlay .g { stroke: rgba(255, 255, 255, .16); stroke-width: 1; }
.sz-overlay .lp-path { fill: none; stroke: #FF5A5A; stroke-width: 2; stroke-dasharray: 8 6; animation: sz-flow 3s linear infinite; }
.sz-overlay .node { fill: none; stroke: #FF5A5A; stroke-width: 2; animation: sz-pulse 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.sz-overlay text { fill: rgba(255, 255, 255, .7); font-family: var(--f-mono); font-size: 11px; }
@keyframes sz-flow { to { stroke-dashoffset: -28; } }
@keyframes sz-pulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .sz-overlay .lp-path, .sz-overlay .node { animation: none; }
  .sz-hub-card { transition: none; }
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .sz-tool-cols { grid-template-columns: 1fr 1fr; }
  .sz-tool-cols > :first-child { grid-column: 1 / -1; }
  .sz-hub-grid, .sz-sec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .sz-explorer { grid-template-columns: minmax(0, 1fr); }
  .sz-side.lp-tablist { position: static; flex-direction: row; flex-wrap: nowrap; gap: 6px; overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; padding-block-end: 4px; }
  .sz-side [role="tab"] { flex: none; inline-size: auto; white-space: nowrap; border: 1px solid var(--steel-300); scroll-snap-align: start; }
  .navy .sz-side [role="tab"] { border-color: var(--navy-600); }
  .sz-side [role="tab"][aria-selected="true"] { border-color: var(--red); }
  .sz-side-group { display: none; }
  .sz-panel-top, .sz-results, .sz-map-grid, .sz-tl-head.has-image { grid-template-columns: minmax(0, 1fr); }
  .sz-panels.is-compare { grid-template-columns: minmax(0, 1fr); }
  .sz-tl-body { grid-template-columns: minmax(0, 1fr); }
  .sz-tl-big { display: none; }
  .sz-opts { grid-template-columns: 1fr; }
  .sz-map-list { max-block-size: none; }
}
@media (max-width: 640px) {
  .sz-tool-cols, .sz-hub-grid, .sz-sec-grid { grid-template-columns: minmax(0, 1fr); }
  .sz-tabbar { flex-direction: column; align-items: stretch; }
  .sz-compare-btn { align-self: flex-start; }
  .sz-tool .grid { grid-template-columns: 1fr 1fr; }
  .sz-tl-track li { flex-basis: 112px; }
  .sz-shapes { grid-template-columns: 1fr 1fr; }
  .sz-chips { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-block-end: 4px; }
}
.sz-dotmark { flex: none; inline-size: 8px; block-size: 8px; margin-block-start: 8px; background: var(--red); border-radius: 50%; }
/* Phone guard (VICTOR mobile rule): button text never wraps and never pushes
   the page sideways. Labels are kept short enough for a 320px screen in every
   language; the button can never grow wider than its container. */
@media (max-width: 640px) {
  .lp-sec .btn { max-inline-size: 100%; overflow: hidden; padding-inline: 16px; }
  .lp-sec .sz-tl-nav .btn { overflow: visible; }
  .lp-sec a[href^="mailto:"]:not(.btn) { overflow-wrap: anywhere; }
  /* Long single words (German compounds) in form labels break instead of widening the grid. */
  .lp-sec .field { min-inline-size: 0; }
  .lp-sec .field label { overflow-wrap: anywhere; hyphens: auto; }
}
@media (max-width: 380px) {
  .lp-sec .btn { font-size: 15px; padding-inline: 12px; }
}

/* ======================================================================
   Design & fabrication hub (VICTOR 2026-11-14): scope by standards
   (seismic_scope), fabrication in photographs (seismic_photos), projects in
   seismic markets (seismic_projects), section headings 40px on desktop and
   the page motion. Motion classes are set by seismic.js only when the
   visitor accepts motion (.sz-fx on .lp).
   ====================================================================== */

/* ---- Scope by standards ---- */
.sz-scope { position: relative; overflow: hidden; }
.sz-quake { position: absolute; inset-inline: 0; inset-block-start: 0; inline-size: 100%; block-size: 80px; pointer-events: none; opacity: .5; }
.sz-quake path { fill: none; stroke: var(--red); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.sz-scope-bar { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); align-items: center; justify-content: space-between; margin-block-end: var(--space-5); }
.sz-scope-legend { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.sz-pill { display: inline-flex; gap: 8px; align-items: center; padding: 6px 12px; font-family: var(--f-display); font-size: 15px; font-weight: 600; letter-spacing: var(--tracking-card-title); text-transform: uppercase; white-space: nowrap; }
.sz-pill .ico { inline-size: 18px; block-size: 18px; }
.sz-pill.is-design { background: var(--red); color: var(--white); }
.sz-pill.is-fab { background: var(--navy-900); color: var(--white); }
.sz-scope-filter { display: flex; gap: 8px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0; max-inline-size: 100%; }
.sz-scope-filter::-webkit-scrollbar { display: none; }
.sz-chip { display: inline-flex; gap: 10px; align-items: center; flex: none; min-block-size: 44px; padding: 8px 18px; border: 1px solid var(--steel-300); background: var(--white); color: var(--ink); font-family: var(--f-display); font-size: 15px; font-weight: 600; letter-spacing: var(--tracking-card-title); text-transform: uppercase; white-space: nowrap; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.sz-chip:hover { border-color: var(--navy-900); }
.sz-chip[aria-pressed="true"] { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
.sz-dot { display: inline-block; flex: none; inline-size: 10px; block-size: 10px; background: var(--red); }
.sz-dot.is-fab { background: var(--navy-900); }
.sz-chip[aria-pressed="true"] .sz-dot { box-shadow: 0 0 0 2px var(--white); }
.sz-scope-legend .sz-dot { margin-inline: 12px 6px; }
.sz-scope-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); margin: 0; padding: 0; list-style: none; }
.sz-scope-card { position: relative; display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-5) var(--space-4); background: var(--steel-50); border-block-start: 4px solid var(--red); transition: opacity .35s, transform .35s, box-shadow .3s; }
.sz-scope-card.is-fab { border-block-start-color: var(--navy-900); }
.sz-scope-card:hover { box-shadow: 0 18px 40px -24px rgba(6, 20, 45, .45); }
.sz-scope-card.is-dim { opacity: .28; transform: scale(.98); }
.sz-scope-top { display: flex; gap: 12px; align-items: center; }
.sz-scope-top h3 { margin: 0; }
.sz-scope-top .lp-flags img { display: block; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.sz-scope-marks { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.sz-scope-marks li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 8px 10px; background: var(--white); font-size: 14px; font-weight: 600; }
.sz-scope-marks .ico { inline-size: 18px; block-size: 18px; }
.sz-scope-marks .is-on .ico { color: var(--red); }
.sz-scope-marks .is-off { color: var(--ink-2); }
.sz-scope-marks em { font-style: normal; font-family: var(--f-mono); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.sz-scope-card > p { margin: 0; font-size: 14.5px; line-height: 1.6; }
.sz-scope-approval { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; padding: 12px; border: 1px dashed var(--steel-300); font-size: 13.5px; line-height: 1.55; }
.sz-scope-approval .ico { inline-size: 20px; block-size: 20px; color: var(--red); }
.sz-scope-approval strong { display: block; margin-block-end: 4px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 1.2px; text-transform: uppercase; }
.sz-scope-approval p { margin: 0; }
.sz-scope-ctas { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; margin-block-start: auto; padding-block-start: var(--space-2); }
.sz-scope-ctas .btn { white-space: nowrap; }

/* ---- Fabrication in photographs ---- */
.sz-ph { position: relative; }
.sz-ph-stage { display: none; }
.sz-ph-steps { display: flex; flex-direction: column; gap: var(--space-6); margin: 0; padding: 0; list-style: none; counter-reset: none; }
.sz-ph-step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-5); align-items: center; }
.sz-ph-inline { margin: 0; }
.sz-ph-inline img { display: block; inline-size: 100%; block-size: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.sz-ph-copy { position: relative; }
.sz-ph-no { display: block; font-family: var(--f-display); font-size: 56px; font-weight: 700; line-height: 1; color: var(--red); opacity: .9; }
.sz-ph-copy h3 { margin-block: 6px 10px; }
.sz-ph-copy p { margin: 0 0 10px; font-size: 15.5px; line-height: 1.65; }
.navy .sz-ph-copy p, .navy .sz-ph-copy li { color: var(--mist); }
/* Wide screens with JavaScript: one sticky frame beside the steps. */
@media (min-width: 1000px) {
  .sz-ph.is-live { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--space-6); align-items: start; }
  .sz-ph.is-live .sz-ph-stage { display: block; position: sticky; inset-block-start: calc(var(--header-h, 72px) + 72px); }
  .sz-ph.is-live .sz-ph-inline { display: none; }
  .sz-ph.is-live .sz-ph-steps { gap: 0; }
  .sz-ph.is-live .sz-ph-step { display: block; min-block-size: 62vh; padding-block: 12vh; padding-inline-start: var(--space-5); border-inline-start: 2px solid rgba(255, 255, 255, .14); opacity: .35; transition: opacity .45s; }
  .white .sz-ph.is-live .sz-ph-step, .light .sz-ph.is-live .sz-ph-step { border-inline-start-color: var(--steel-200); }
  .sz-ph.is-live .sz-ph-step:first-child { padding-block-start: 4vh; }
  .sz-ph.is-live .sz-ph-step.is-on { opacity: 1; border-inline-start-color: var(--red); }
}
.sz-ph-frame { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--navy-950); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.sz-ph-shot { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .7s ease; }
.sz-ph-shot.is-on { opacity: 1; }
.sz-ph-shot img { display: block; inline-size: 100%; block-size: 100%; object-fit: cover; transform: scale(1.06); transition: transform 6s ease-out; }
.sz-ph-shot.is-on img { transform: scale(1); }
.sz-ph-count { position: absolute; inset-block-end: 14px; inset-inline-start: 14px; padding: 6px 12px; background: rgba(6, 20, 45, .78); color: var(--white); font-family: var(--f-mono); font-size: 13px; letter-spacing: 1px; }
.sz-ph-count b { color: #FF8A8A; }
.sz-ph-scan { position: absolute; inset-inline: 0; inset-block-start: 0; block-size: 3px; background: linear-gradient(90deg, transparent, var(--red), transparent); opacity: 0; }
.sz-fx .sz-ph-frame.is-swap .sz-ph-scan { animation: sz-scan .9s ease-out; }
@keyframes sz-scan { 0% { opacity: .9; transform: translateY(0); } 100% { opacity: 0; transform: translateY(var(--sz-scan-h, 400px)); } }

/* ---- Projects in seismic markets ---- */
.sz-proj-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); margin: 0; padding: 0; list-style: none; }
.sz-proj a { display: flex; flex-direction: column; block-size: 100%; background: var(--white); color: var(--ink); text-decoration: none; box-shadow: 0 1px 0 var(--steel-200); transition: box-shadow .3s, transform .3s; }
.sz-proj a:hover, .sz-proj a:focus-visible { box-shadow: 0 22px 40px -26px rgba(6, 20, 45, .55); transform: translateY(-3px); }
.sz-proj-img { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--steel-100); }
.sz-proj-img img { display: block; inline-size: 100%; block-size: 100%; object-fit: cover; transition: transform .8s ease; }
.sz-proj a:hover .sz-proj-img img { transform: scale(1.06); }
.sz-proj-body { display: flex; flex-direction: column; gap: 8px; padding: var(--space-3) var(--space-3) var(--space-4); }
.sz-proj-body .sz-tag { align-self: flex-start; color: var(--red); }
.sz-proj-title { display: block; }
.sz-proj-year { font-family: var(--f-mono); font-size: 12.5px; color: var(--ink-2); }

/* ---- Motion (only with .sz-fx) ---- */
.sz-fx .sz-scope-card { opacity: 0; transform: translateY(28px); transition: opacity .6s ease calc(var(--sz-i, 0) * 110ms), transform .6s ease calc(var(--sz-i, 0) * 110ms), box-shadow .3s; }
.sz-fx .sz-scope.is-in .sz-scope-card { opacity: 1; transform: none; }
.sz-fx .sz-scope.is-in .sz-scope-card.is-dim { opacity: .28; transform: scale(.98); transition-delay: 0s; }
.sz-fx .sz-quake path { stroke-dasharray: 1600; stroke-dashoffset: 1600; }
.sz-fx .sz-scope.is-in .sz-quake path { animation: sz-draw 2.4s ease-out forwards, sz-tremor 5s ease-in-out 2.4s infinite; }
@keyframes sz-draw { to { stroke-dashoffset: 0; } }
@keyframes sz-tremor { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-12px); } }
.sz-fx .sz-scope-marks .is-on .ico { animation: sz-pulse 2.4s ease-in-out infinite; }
.sz-fx .lp-hero-media img { animation: sz-quake-in 1.4s cubic-bezier(.3, .7, .2, 1) both; }
@keyframes sz-quake-in { 0% { transform: scale(1.08); } 18% { transform: scale(1.07) translate(-6px, 2px); } 30% { transform: scale(1.065) translate(5px, -2px); } 42% { transform: scale(1.06) translate(-3px, 1px); } 54% { transform: scale(1.055) translate(2px, 0); } 100% { transform: scale(1); } }
.sz-hero-trace { position: absolute; inset-inline: 0; inset-block-end: 0; inline-size: 100%; block-size: 70px; pointer-events: none; opacity: .65; }
.sz-hero-trace path { fill: none; stroke: #FF5A5A; stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 2200; stroke-dashoffset: 2200; animation: sz-draw 3s ease-out .6s forwards; }

/* Two-card sections (two ways to work) use two columns. */
main:has(.sz-hub) .lp-cards .lp-card-grid:has(> li:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) {
  main:has(.sz-hub) .lp-cards .lp-card-grid:has(> li:nth-child(2):last-child) { grid-template-columns: 1fr; }
}

@media (max-width: 1100px) {
  .sz-scope-grid, .sz-proj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 999px) {
  .sz-ph-step { grid-template-columns: 1fr; gap: var(--space-3); }
}
@media (max-width: 640px) {
  .sz-scope-grid { grid-template-columns: 1fr; }
  .sz-proj-grid { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-block-end: 6px; }
  .sz-proj-grid::-webkit-scrollbar { display: none; }
  .sz-proj { scroll-snap-align: start; }
  .sz-scope-bar { align-items: stretch; }
  .sz-ph-no { font-size: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .sz-scope-card, .sz-proj a, .sz-proj-img img, .sz-ph-shot, .sz-ph-shot img, .sz-ph-step { transition: none !important; }
  .sz-quake path, .sz-hero-trace path { animation: none !important; stroke-dasharray: none; stroke-dashoffset: 0; }
}

/* ---- Featured project (multi-storey) ---- */
.sz-feat { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--space-5); align-items: center; margin-block-end: var(--space-5); padding: var(--space-4); background: var(--white); }
.sz-feat-photos { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 8px; aspect-ratio: 16 / 10; }
.sz-feat-photos.n1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.sz-feat-photos.n2 { grid-template-rows: 1fr; }
.sz-feat-photos.n3 { grid-template-rows: repeat(2, minmax(0, 1fr)); }
.sz-feat-ph { margin: 0; overflow: hidden; }
.sz-feat-ph:first-child { grid-row: 1 / -1; }
.sz-feat-ph img { display: block; inline-size: 100%; block-size: 100%; object-fit: cover; transition: transform 1.2s ease; }
.sz-feat-ph:hover img { transform: scale(1.05); }
.sz-feat-copy h3 { margin-block: 4px 14px; font-size: var(--fs-card-title-lg); }
.sz-feat-facts { display: grid; gap: 10px; margin: 0 0 var(--space-3); }
.sz-feat-facts div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding-block-end: 10px; border-block-end: 1px solid var(--steel-200); }
.sz-feat-facts dt { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--ink-2); }
.sz-feat-facts dd { margin: 0; font-size: 14.5px; }
.sz-feat-copy p { font-size: 15px; line-height: 1.65; }
.sz-proj-img { position: relative; }
.sz-render { position: absolute; inset-block-end: 8px; inset-inline-start: 8px; padding: 3px 8px; background: rgba(6, 20, 45, .8); color: var(--white); font-family: var(--f-mono); font-size: 11px; letter-spacing: .8px; text-transform: uppercase; }
@media (max-width: 900px) {
  .sz-feat { grid-template-columns: 1fr; padding: var(--space-3); }
  .sz-feat-facts div { grid-template-columns: 1fr; gap: 2px; }
}
@media (max-width: 640px) {
  .sz-feat-photos { grid-template-columns: 1fr 1fr; grid-template-rows: auto; aspect-ratio: auto; }
  .sz-feat-ph:first-child { grid-row: auto; grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .sz-feat-ph { aspect-ratio: 4 / 3; }
}
@media (min-width: 1101px) {
  .sz-proj-grid:has(> li:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  /* Cards in a sideways strip: the strip itself is the motion; show them at once. */
  .lp-js .sz-proj.lp-reveal { opacity: 1; transform: none; }
  .sz-feat-photos.n4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sz-feat-photos.n3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
