/* IPS website styles. Tokens: /assets/css/tokens.css (shared with the client app and, later, ICT). */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font-body); font-size: var(--fs-base); line-height: var(--lh); color: var(--text); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.18; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.015em; font-weight: 700; }
h1 { font-size: var(--fs-h1); } h2 { font-size: var(--fs-h2); } h3 { font-size: var(--fs-h3); } h4 { font-size: var(--fs-h4); font-family: var(--font-body); }
p { margin: 0 0 1em; } ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
a { color: var(--link); text-underline-offset: 2px; }
a:hover { color: var(--orange-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 3px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--text-muted); }
.small { font-size: var(--fs-sm); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--ink); padding: 8px 14px; z-index: 100; border-radius: var(--radius); }
.skip:focus { left: 8px; }
.preview-flag { background: #fff4dc; color: #5c3d00; font-size: var(--fs-xs); text-align: center; padding: 6px 12px; border-bottom: 1px solid #f0d9a6; }
.preview-flag a { color: #5c3d00; font-weight: 600; }

/* Buttons and chips */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: var(--radius); font-weight: 700; font-size: var(--fs-sm); text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; line-height: 1.2; transition: background .15s, color .15s, border-color .15s; }
.btn--primary { background: var(--brand-orange); color: var(--ink); }
.btn--primary:hover { background: var(--orange-hover); color: var(--white); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--brand-charcoal); color: var(--white); }
.btn--outline { border-color: var(--brand-charcoal); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--ghost-light { border-color: rgba(255,255,255,.55); color: var(--white); background: transparent; }
.btn--ghost-light:hover { background: var(--white); color: var(--ink); }
.btn--link { padding: 0; min-height: 0; color: var(--orange-text); border: 0; }
.btn--link svg { transition: transform .15s; } .btn--link:hover svg { transform: translateX(3px); }
.btn[disabled] { opacity: .6; cursor: wait; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; min-height: 36px; border-radius: 999px; font-size: var(--fs-sm); font-weight: 600; text-decoration: none; border: 1px solid currentColor; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: var(--fs-xs); font-weight: 700; color: var(--orange-text); margin-bottom: .6em; }
.eyebrow--light { color: var(--brand-orange); }
.lead { font-size: var(--fs-lg); color: var(--gray-700); max-width: 64ch; }

/* Utility bar */
.utility { background: var(--ink); color: var(--text-on-dark-muted); font-size: var(--fs-xs); border-bottom: 1px solid rgba(255,255,255,.08); }
.utility__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.utility a { color: var(--text-on-dark); text-decoration: none; }
.utility a:hover { color: var(--brand-orange); }
.utility__links { display: flex; gap: 18px; }
.utility__portal { font-weight: 700; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.contact-actions__links { display: inline-flex; gap: 8px; flex-wrap: wrap; }
.contact-actions--utility .chip { border: 0; padding: 4px 6px; min-height: 32px; font-size: var(--fs-xs); color: var(--text-on-dark); }
.contact-actions--utility .chip:hover { color: var(--brand-orange); }
.contact-actions--utility .contact-actions__label strong { color: var(--white); }
.contact-actions--stack { flex-direction: column; align-items: flex-start; }
.contact-actions--dark .chip, .site-footer .chip, .nav__mobile-contact .chip { color: var(--white); border-color: rgba(255,255,255,.35); }
.contact-actions--dark .chip:hover, .site-footer .chip:hover { border-color: var(--brand-orange); color: var(--brand-orange); }
.contact-actions--light .chip { color: var(--ink); border-color: var(--gray-300); background: var(--white); }
.contact-actions--light .chip:hover { border-color: var(--brand-orange); color: var(--orange-text); }
@media (max-width: 899px) { .utility__links { display: none; } .contact-actions--utility .contact-actions__label { display: none; } .utility__inner { justify-content: center; } }

/* Header and navigation */
.site-header { background: var(--brand-charcoal); color: var(--white); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 10px rgba(0,0,0,.18); }
.site-header__inner { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand img { width: 150px; height: auto; }
.nav-open { display: none; margin-left: auto; background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.4); border-radius: var(--radius); padding: 8px 12px; align-items: center; gap: 8px; font: inherit; font-weight: 600; cursor: pointer; min-height: 44px; }
.nav { display: flex; align-items: center; flex: 1; gap: 16px; }
.nav__list { display: flex; list-style: none; margin: 0 auto; padding: 0; gap: 2px; }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 4px; color: var(--white); background: none; border: 0; font: inherit; font-weight: 600; font-size: var(--fs-sm); text-decoration: none; padding: 10px 12px; border-radius: var(--radius); cursor: pointer; min-height: 44px; }
.nav__link:hover, .nav__link[aria-expanded="true"] { background: rgba(255,255,255,.08); color: var(--white); }
.nav__link.is-active { box-shadow: inset 0 -3px 0 var(--brand-orange); }
.nav__menu { display: none; position: absolute; top: calc(100% + 6px); left: -8px; min-width: 300px; background: var(--white); border-radius: var(--radius-lg); box-shadow: 0 12px 34px rgba(0,0,0,.22); padding: 8px; z-index: 60; }
.nav__menu ul { list-style: none; margin: 0; padding: 0; }
.nav__menu a { display: block; padding: 9px 12px; border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.nav__menu a:hover, .nav__menu a[aria-current="page"] { background: var(--gray-50); }
.nav__menu a[aria-current="page"] .nav__menu-label { color: var(--orange-text); }
.nav__menu-label { display: block; font-weight: 700; font-size: var(--fs-sm); }
.nav__menu-note { display: block; font-size: var(--fs-xs); color: var(--text-muted); }
.nav__item--has-menu.is-open .nav__menu { display: block; }
.nav__cta { display: flex; gap: 10px; }
.nav__mobile-contact { display: none; }
@media (min-width: 1100px) { .nav__item--has-menu:hover .nav__menu { display: block; } }
@media (max-width: 1240px) and (min-width: 1100px) { .nav__portal { display: none; } }
@media (max-width: 1099px) {
  .nav-open { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 24px; max-height: calc(100vh - 116px); overflow-y: auto; gap: 12px; }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; margin: 0; }
  .nav__link { width: 100%; justify-content: space-between; font-size: var(--fs-base); padding: 12px 8px; }
  .nav__link.is-active { box-shadow: inset 3px 0 0 var(--brand-orange); }
  .nav__menu { position: static; box-shadow: none; background: transparent; padding: 0 0 8px 12px; min-width: 0; }
  .nav__menu a { color: var(--text-on-dark); padding: 8px; }
  .nav__menu a:hover, .nav__menu a[aria-current="page"] { background: rgba(255,255,255,.06); }
  .nav__menu-note { color: var(--text-on-dark-muted); }
  .nav__cta { flex-direction: column; } .nav__portal { display: inline-flex; }
  .nav__mobile-contact { display: block; color: var(--text-on-dark); border-top: 1px solid rgba(255,255,255,.12); padding-top: 14px; font-size: var(--fs-sm); }
}

/* Hero */
.hero { position: relative; color: var(--white); background: var(--ink); overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30,29,35,.92) 0%, rgba(30,29,35,.78) 45%, rgba(30,29,35,.35) 100%); }
.hero__inner { position: relative; padding: 64px var(--gutter) 60px; max-width: var(--container); }
.hero--tall .hero__inner { padding-top: 92px; padding-bottom: 88px; }
.hero h1 { color: var(--white); max-width: 22ch; }
.hero__lead { font-size: var(--fs-lg); max-width: 58ch; color: #ecebef; }
@media (max-width: 719px) { .hero__shade { background: linear-gradient(180deg, rgba(30,29,35,.85), rgba(30,29,35,.9)); } .hero__inner, .hero--tall .hero__inner { padding-top: 44px; padding-bottom: 44px; } }

/* Page head (interior pages without photo) */
.page-head { background: var(--gray-50); border-bottom: 1px solid var(--gray-200); padding: 36px 0 30px; }
.page-head h1 { max-width: 28ch; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 14px; font-size: var(--fs-xs); color: var(--text-muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--gray-300); }
.crumbs a { color: var(--text-muted); }

/* Sections */
.section { padding: 52px 0; }
.section--tight { padding: 40px 0; }
.section--gray { background: var(--gray-50); }
.section--dark { background: var(--ink); color: var(--text-on-dark); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark a:not(.btn) { color: var(--brand-orange); }
.section--charcoal { background: var(--brand-charcoal); color: var(--text-on-dark); }
.section--charcoal h2, .section--charcoal h3 { color: var(--white); }
.section-head { max-width: 760px; margin-bottom: 32px; }
.section-head p { color: var(--gray-700); font-size: var(--fs-lg); }
.section--dark .section-head p, .section--charcoal .section-head p { color: var(--text-on-dark-muted); }
@media (max-width: 719px) { .section { padding: 44px 0; } }

/* Grids and cards */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card .btn--link { margin-top: auto; padding-top: 10px; }
.card--accent { border-top: 4px solid var(--brand-orange); }
.card--dark { background: var(--ink-2); border-color: rgba(255,255,255,.08); color: var(--text-on-dark); }
.card--dark h3 { color: var(--white); }
.card--link { text-decoration: none; color: inherit; transition: box-shadow .15s, transform .15s; }
.card--link:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: inherit; }
.card__img { margin: -24px -24px 18px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden; aspect-ratio: 16/9; background: var(--gray-100); }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__num { font-family: var(--font-display); font-weight: 800; color: var(--brand-orange); font-size: 1.1rem; margin-bottom: 6px; }
.tag { display: inline-block; font-size: var(--fs-xs); font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--gray-100); color: var(--gray-700); }
.tag--orange { background: var(--orange-tint); color: var(--orange-text); }
.tag--teal { background: var(--info-bg); color: var(--info); }
.tag--ok { background: var(--ok-bg); color: var(--ok); }
.tag--warn { background: var(--warn-bg); color: var(--warn); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }

/* Split media layout */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.split--rev > :first-child { order: 2; }
.split__media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow); }
@media (max-width: 899px) { .split { grid-template-columns: 1fr; gap: 26px; } .split--rev > :first-child { order: 0; } }

/* Lists */
.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.checklist svg { flex: none; color: var(--brand-orange); margin-top: 4px; }
.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.steps li { counter-increment: step; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 20px; position: relative; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand-orange); color: var(--ink); font-weight: 800; margin-bottom: 10px; }
.steps h3 { font-size: var(--fs-h4); font-family: var(--font-body); }
.section--dark .steps li, .section--charcoal .steps li { background: var(--ink-2); border-color: rgba(255,255,255,.1); }
.section--dark .steps h3 { color: var(--white); }
.def-list { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; }
.def-list dt { color: var(--text-muted); font-size: var(--fs-sm); } .def-list dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; min-width: 0; }
@media (max-width: 479px) { .def-list { grid-template-columns: 1fr; gap: 2px; } .def-list dd { margin-bottom: 8px; } }

/* Service rows (overview) */
.service-row { display: grid; grid-template-columns: 320px 1fr; gap: 28px; padding: 28px 0; border-top: 1px solid var(--gray-200); align-items: start; }
.service-row:first-child { border-top: 0; }
.service-row img { border-radius: var(--radius-lg); aspect-ratio: 4/3; object-fit: cover; }
@media (max-width: 719px) { .service-row { grid-template-columns: 1fr; } }

/* Sector strip */
.sectors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.sector { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 210px; color: var(--white); display: flex; align-items: flex-end; text-decoration: none; }
.sector img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.sector:hover img { transform: scale(1.03); }
.sector::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(20,20,26,.88)); }
.sector span { position: relative; z-index: 1; padding: 16px; font-weight: 700; font-size: var(--fs-lg); }
.sector span small { display: block; font-weight: 400; font-size: var(--fs-xs); color: #e6e5ea; }
.sector--lead { grid-column: span 2; }
@media (max-width: 899px) { .sectors { grid-template-columns: 1fr 1fr; } .sector--lead { grid-column: span 2; } }
@media (max-width: 479px) { .sectors { grid-template-columns: 1fr; } .sector--lead { grid-column: auto; } }

/* Feature band (offshore on home) */
.feature { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); color: var(--text-on-dark); }
.feature__media img { width: 100%; height: 100%; object-fit: cover; min-height: 300px; }
.feature__body { padding: 40px; }
.feature__body h2 { color: var(--white); }
@media (max-width: 899px) { .feature { grid-template-columns: 1fr; } .feature__body { padding: 28px 22px; } }

/* WBENC mark */
.wbenc { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; border: 1px solid var(--gray-300); border-radius: var(--radius-lg); padding: 8px 14px 8px 8px; background: var(--white); color: var(--ink); }
.wbenc:hover { border-color: var(--brand-orange); color: var(--ink); }
.wbenc__seal { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--brand-orange); color: var(--ink); font-weight: 800; font-size: 11px; line-height: 1; letter-spacing: .04em; }
.wbenc__seal svg { width: 18px; height: 18px; margin-bottom: -6px; }
.wbenc__text { display: flex; flex-direction: column; line-height: 1.2; font-size: var(--fs-sm); }
.wbenc__text span { font-size: var(--fs-xs); color: var(--text-muted); }
.wbenc--sm .wbenc__seal { width: 40px; height: 40px; }
.cert-band { background: var(--white); border: 1px solid var(--gray-200); border-left: 5px solid var(--brand-orange); border-radius: var(--radius-lg); padding: 22px 24px; display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; justify-content: space-between; }
.cert-band p { margin: 0; max-width: 70ch; }

/* Video */
.video { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink-2); aspect-ratio: 16/9; color: var(--white); }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.video__overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; gap: 10px; }
.video__play { width: 72px; height: 72px; border-radius: 50%; background: var(--brand-orange); display: grid; place-items: center; border: 0; color: var(--ink); }
.video__play svg { width: 30px; height: 30px; margin-left: 4px; }
.video__overlay p { max-width: 46ch; color: #eceaf0; margin: 0; font-size: var(--fs-sm); }

/* CTA band */
.cta-band { background: var(--brand-charcoal); color: var(--text-on-dark); padding: 44px 0; border-top: 4px solid var(--brand-orange); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; }
.cta-band h2 { color: var(--white); margin-bottom: .25em; }
.cta-band p { margin: 0; color: var(--text-on-dark-muted); max-width: 60ch; }
.cta-band__actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cta-band__actions .actions { gap: 10px; }

/* Forms */
.form { display: grid; gap: 16px; max-width: 760px; }
.form fieldset { border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 18px 20px 20px; margin: 0; display: grid; gap: 14px; background: var(--white); }
.form legend { font-weight: 700; padding: 0 6px; font-family: var(--font-display); }
.form .row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.field label, .field .label { display: block; font-weight: 600; font-size: var(--fs-sm); margin-bottom: 5px; }
.field .hint { display: block; font-weight: 400; color: var(--text-muted); font-size: var(--fs-xs); margin-top: 3px; }
.req { color: var(--err); }
input:not([type]), input[type=text], input[type=email], input[type=tel], input[type=url], input[type=date], input[type=time], input[type=number], input[type=password], input[type=search], input[type=datetime-local], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 10px 12px; border: 1px solid #9c9ba4; border-radius: var(--radius); background: var(--white); color: var(--text); min-height: 44px; }
textarea { min-height: 110px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 0; border-color: var(--ink); }
input[aria-invalid=true], select[aria-invalid=true], textarea[aria-invalid=true] { border-color: var(--err); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-sm); }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--brand-orange); }
.choice-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.choice { position: relative; display: block; border: 2px solid var(--gray-200); border-radius: var(--radius-lg); padding: 14px 14px 14px 44px; cursor: pointer; background: var(--white); }
.choice input { position: absolute; left: 14px; top: 16px; width: 18px; height: 18px; accent-color: var(--brand-orange); }
.choice strong { display: block; } .choice span { font-size: var(--fs-xs); color: var(--text-muted); }
.choice:has(input:checked) { border-color: var(--brand-orange); background: var(--orange-tint); }
.choice:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.notice { border-radius: var(--radius); padding: 12px 14px; font-size: var(--fs-sm); border: 1px solid; }
.notice--ok { background: var(--ok-bg); color: var(--ok); border-color: #b9e0c7; }
.notice--err { background: var(--err-bg); color: var(--err); border-color: #f3c3bd; }
.notice--info { background: var(--info-bg); color: var(--info); border-color: #b5dde2; }
.notice--warn { background: var(--warn-bg); color: var(--warn); border-color: #f0d9a6; }
.form-status:empty { display: none; }
.demo-note { font-size: var(--fs-xs); color: var(--warn); background: var(--warn-bg); border-radius: var(--radius); padding: 6px 10px; display: inline-block; }

/* Tables and filters */
.table-wrap { overflow-x: auto; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); }
table { border-collapse: collapse; width: 100%; font-size: var(--fs-sm); }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--gray-200); vertical-align: top; }
th { background: var(--gray-50); font-weight: 700; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin-bottom: 20px; padding: 16px; background: var(--gray-50); border-radius: var(--radius-lg); border: 1px solid var(--gray-200); }
.filters .field { min-width: 170px; flex: 1; }
.result-count { font-size: var(--fs-sm); color: var(--text-muted); margin: 0 0 12px; }

/* Jobs */
.job { border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 20px 22px; background: var(--white); display: grid; grid-template-columns: 1fr auto; gap: 12px 20px; align-items: start; }
.job h3 { margin: 0 0 4px; font-size: var(--fs-h4); font-family: var(--font-body); }
.job__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: var(--fs-sm); color: var(--text-muted); margin: 4px 0 8px; }
.job p { margin: 0; }
@media (max-width: 599px) { .job { grid-template-columns: 1fr; } }

/* Article */
.article { max-width: 760px; margin: 0 auto; }
.article h2 { font-size: 1.4rem; margin-top: 1.6em; }
.article img.article__img { border-radius: var(--radius-lg); margin: 0 0 24px; aspect-ratio: 16/9; object-fit: cover; width: 100%; max-height: 380px; }
.article blockquote { border-left: 4px solid var(--brand-orange); margin: 1.2em 0; padding: 4px 0 4px 18px; color: var(--gray-700); }
.article__meta { color: var(--text-muted); font-size: var(--fs-sm); margin-bottom: 18px; }

/* Palette (review page) */
.swatches { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.swatch { border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; font-size: var(--fs-sm); }
.swatch__color { height: 90px; }
.swatch__body { padding: 10px 12px; } .swatch__body code { font-size: var(--fs-xs); }

/* Footer */
.site-footer { background: var(--ink); color: var(--text-on-dark-muted); font-size: var(--fs-sm); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr; gap: 28px; padding: 52px var(--gutter) 40px; }
.site-footer__h { font-family: var(--font-body); font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .1em; color: var(--white); margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; } .site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--text-on-dark); text-decoration: none; } .site-footer a:hover { color: var(--brand-orange); }
.site-footer__brand img { width: 150px; margin-bottom: 14px; }
.site-footer__brand .wbenc { margin-top: 6px; }
.site-footer__social { display: flex; gap: 14px; }
.site-footer__contact .contact-actions { margin-bottom: 12px; }
.site-footer__base { border-top: 1px solid rgba(255,255,255,.1); }
.site-footer__base-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 16px; padding-bottom: 16px; font-size: var(--fs-xs); }
.site-footer__base p { margin: 0; } .site-footer__base a { margin-left: 16px; } .site-footer__base a:first-child { margin-left: 0; }
@media (max-width: 1023px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand, .site-footer__contact { grid-column: span 2; } }
@media (max-width: 519px) { .site-footer__grid { grid-template-columns: 1fr; } .site-footer__brand, .site-footer__contact { grid-column: auto; } }

/* Misc */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.stat { border-left: 3px solid var(--brand-orange); padding: 4px 0 4px 14px; }
.stat strong { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); }
.section--dark .stat strong, .section--charcoal .stat strong { color: var(--white); }
.stat span { font-size: var(--fs-sm); color: var(--text-muted); }
.section--dark .stat span, .section--charcoal .stat span { color: var(--text-on-dark-muted); }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.pill-list li { background: var(--white); border: 1px solid var(--gray-200); border-radius: 999px; padding: 6px 14px; font-size: var(--fs-sm); font-weight: 600; }
.section--gray .pill-list li { background: var(--white); }
.two-col-list { columns: 2 260px; column-gap: 32px; }
.aside-box { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 22px; }
.aside-box h2, .aside-box h3 { font-size: var(--fs-h4); font-family: var(--font-body); }
.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 40px; align-items: start; }
@media (max-width: 899px) { .layout-aside { grid-template-columns: 1fr; } }
.result-card { border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 20px; margin-top: 18px; background: var(--white); }
.result-card--ok { border-left: 5px solid var(--ok); } .result-card--err { border-left: 5px solid var(--err); } .result-card--warn { border-left: 5px solid var(--warn-border); }
.ws-catalog { display: grid; gap: 10px; }
details.track { border: 1px solid var(--gray-200); border-radius: var(--radius-lg); background: var(--white); }
details.track > summary { cursor: pointer; padding: 16px 20px; font-weight: 700; display: flex; justify-content: space-between; gap: 12px; list-style: none; }
details.track > summary::-webkit-details-marker { display: none; }
details.track > summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--orange-text); }
details.track[open] > summary::after { content: "–"; }
details.track .table-wrap { border: 0; border-top: 1px solid var(--gray-200); border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
