/* style.css - Prime Film Extrusion
   Design tokens are injected as CSS custom properties via site_tokens_css(). */

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    overflow-x: hidden;
    padding-top: var(--header-height, 108px);
    background: var(--color-bg, #fff);
    color: var(--color-text, #16212e);
    font-family: var(--font-body, system-ui, sans-serif);
    font-size: 1rem;
    line-height: 1.65;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-display, system-ui, sans-serif);
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--color-text, #16212e);
}

a {
    color: var(--color-link, #0a4ea3);
    text-decoration: underline;
}

a:hover {
    color: var(--color-link-strong, #073b7d);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: auto;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
    background: #fff;
    padding: 0.5rem 1rem;
    z-index: 1000;
}

/* ── Top utility bar ──────────────────────────────────────────────────────── */

.site-topbar {
    background: var(--color-navy, #0a1c33);
    color: var(--color-text-on-navy, #e8edf4);
    font-size: 0.8rem;
}

.site-topbar__inner {
    max-width: var(--content-width, 1240px);
    margin: 0 auto;
    padding: 0.45rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.site-topbar__tagline {
    opacity: 0.85;
}

.site-topbar__contact a {
    color: var(--color-text-on-navy, #e8edf4);
    text-decoration: none;
    margin-left: 1.25rem;
}

.site-topbar__contact a:first-child {
    margin-left: 0;
}

.site-topbar__contact a:hover {
    color: var(--color-accent, #f5821f);
}

/* ── Header / nav ─────────────────────────────────────────────────────────── */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--color-border, #dde3ea);
    z-index: 100;
}

.site-header__inner {
    max-width: var(--content-width, 1240px);
    margin: 0 auto;
    padding: 0.85rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.site-logo {
    min-width: 0;
    flex-shrink: 1;
}

.site-logo a {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
}

.site-logo__mark {
    width: 3rem;
    height: auto;
    flex-shrink: 0;
}

.site-logo__text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.site-logo__name {
    font-family: var(--font-display, system-ui, sans-serif);
    font-weight: 600;
    font-size: 1.3rem;
    letter-spacing: -0.01em;
    color: var(--color-navy, #0a1c33);
    text-transform: uppercase;
}

.site-logo__sub {
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent, #f5821f);
}

/* Nav */

.site-nav {
    margin-left: auto;
}

.site-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.75rem;
    align-items: center;
}

.site-nav__list > .site-nav__item {
    position: relative;
}

.site-nav__list a {
    color: var(--color-navy, #0a1c33);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    transition: color 0.15s;
    padding: 0.5rem 0;
    display: inline-block;
}

.site-nav__list > .site-nav__item > a:hover,
.site-nav__list > .site-nav__item > a.is-active {
    color: var(--color-accent, #f5821f);
}

.site-nav__item--has-dropdown {
    display: flex;
    align-items: center;
    /* No gap between the link and the dropdown trigger/panel so hover/focus
       never crosses a dead zone -- this is what caused dropdowns to lose
       focus before a click could land in earlier builds. */
}

.nav-dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem 0 0.5rem 0.35rem;
    color: var(--color-navy, #0a1c33);
}

.nav-chevron {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    transition: transform 0.15s;
}

.site-nav__item--has-dropdown.is-open .nav-chevron,
.site-nav__item--has-dropdown:focus-within .nav-chevron {
    transform: rotate(180deg);
}

.nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    /* Padding (not margin) keeps the hover/focus region continuous between
       the parent item and the panel. */
    padding-top: 0.65rem;
    margin: 0;
    min-width: 0;
}

.nav-dropdown::before {
    content: '';
    display: block;
    background: #ffffff;
    border: 1px solid var(--color-border, #dde3ea);
    border-radius: var(--radius-small, 6px);
    box-shadow: var(--shadow-card);
    position: absolute;
    inset: 0.65rem 0 0 0;
    z-index: -1;
}

.nav-dropdown {
    list-style: none;
    min-width: 240px;
}

.nav-dropdown li a {
    display: block;
    padding: 0.65rem 1.1rem;
    white-space: nowrap;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text, #16212e);
}

.nav-dropdown li a:hover {
    color: var(--color-accent, #f5821f);
    background: var(--color-panel-soft, #f8f9fb);
}

/* Dropdown opens on hover, on keyboard focus, or on explicit click toggle
   (is-open). Click toggle is the reliable path on touch and avoids any
   hover-timing race. */
.site-nav__item--has-dropdown:hover .nav-dropdown,
.site-nav__item--has-dropdown:focus-within .nav-dropdown,
.site-nav__item--has-dropdown.is-open .nav-dropdown {
    display: block;
}

/* CTA button */

.nav-cta {
    margin-left: 0.5rem;
    flex-shrink: 0;
}

a.nav-cta-mobile {
    display: none;
}

/* Hamburger */

.nav-hamburger {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    margin-left: auto;
    color: var(--color-navy, #0a1c33);
}

.nav-hamburger__box {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.nav-hamburger__box span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--color-navy, #0a1c33);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}

.nav-hamburger__label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-top: 2px;
}

.nav-hamburger[aria-expanded="true"] .nav-hamburger__box span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-hamburger[aria-expanded="true"] .nav-hamburger__box span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger[aria-expanded="true"] .nav-hamburger__box span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Buttons ───────────────────────────────────────────────────────────────── */

.btn {
    display: inline-block;
    padding: 0.7rem 1.4rem;
    border-radius: var(--radius-small, 6px);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
}

.btn--primary {
    background: var(--color-accent, #f5821f);
    color: #fff;
}

.btn--primary:hover {
    background: var(--color-accent-strong, #d96b0f);
    color: #fff;
}

.btn--outline {
    border-color: var(--color-navy, #0a1c33);
    color: var(--color-navy, #0a1c33);
    background: transparent;
}

.btn--outline:hover {
    background: var(--color-navy, #0a1c33);
    color: #fff;
}

.btn--outline-light {
    border-color: #ffffff;
    color: #ffffff;
    background: transparent;
}

.btn--outline-light:hover {
    background: #ffffff;
    color: var(--color-navy, #0a1c33);
}

.btn--block {
    display: block;
    width: 100%;
}

/* ── Layout ─────────────────────────────────────────────────────────────────── */

.page-wrapper {
    max-width: var(--content-width, 1240px);
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
}

.page-slug-home .page-wrapper {
    padding-top: 0;
}

.content-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2.5rem;
    align-items: start;
}

.content-layout--single {
    grid-template-columns: 1fr;
}

.content-layout--narrow {
    grid-template-columns: 1fr;
    max-width: 820px;
}

.content-main {
    min-width: 0;
}

.content-sidebar {
    position: sticky;
    top: calc(var(--header-height, 108px) + 1.5rem);
}

/* ── Breadcrumbs ─────────────────────────────────────────────────────────────── */

.breadcrumbs {
    max-width: var(--content-width, 1240px);
    margin: 0 auto;
    padding: 1.25rem 1.5rem 0;
}

.breadcrumbs__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: var(--color-text-muted, #5b6878);
}

.breadcrumbs__item a {
    color: var(--color-text-muted, #5b6878);
    text-decoration: none;
}

.breadcrumbs__item + .breadcrumbs__item::before {
    content: '/';
    margin-right: 0.5rem;
}

.breadcrumbs__item.is-current {
    color: var(--color-text, #16212e);
}

/* ── Sidebar blocks ───────────────────────────────────────────────────────── */

.sidebar-block {
    background: var(--color-panel-soft, #f8f9fb);
    border: 1px solid var(--color-border, #dde3ea);
    border-radius: var(--radius-medium, 10px);
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
}

.sidebar-block--quote-cta {
    background: var(--color-navy, #0a1c33);
    color: var(--color-text-on-navy, #e8edf4);
    border: none;
}

.sidebar-block--quote-cta .sidebar-block__title {
    color: var(--color-text-on-navy, #e8edf4);
}

.sidebar-block__title {
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-text-muted, #5b6878);
}

.sidebar-block__links {
    list-style: none;
    margin: 0.5rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-block__links a {
    font-size: 0.875rem;
}

.cta-btn {
    display: inline-block;
    margin-top: 0.75rem;
    padding: 0.6rem 1.1rem;
    background: var(--color-accent, #f5821f);
    color: #fff;
    text-decoration: none;
    border-radius: var(--radius-small, 6px);
    font-size: 0.875rem;
    font-weight: 700;
}

/* ── Quote banner ─────────────────────────────────────────────────────────── */

.quote-banner {
    background: var(--color-navy, #0a1c33);
    color: var(--color-text-on-navy, #e8edf4);
    padding: 2.75rem 1.5rem;
}

.quote-banner__inner {
    max-width: var(--content-width, 1240px);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.quote-banner h2 {
    color: #ffffff;
    margin: 0 0 0.4rem;
    font-size: 1.6rem;
}

.quote-banner p {
    margin: 0;
    opacity: 0.85;
}

.quote-banner__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* ── Footer ─────────────────────────────────────────────────────────────────── */

.site-footer {
    border-top: 1px solid var(--color-border, #dde3ea);
    background: var(--color-panel, #eef1f5);
}

.site-footer__inner {
    max-width: var(--content-width, 1240px);
    margin: 0 auto;
    padding: 3rem 1.5rem 1.5rem;
}

.site-footer__columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--color-border, #dde3ea);
    margin-bottom: 2.5rem;
}

.site-footer__column p {
    font-size: 0.875rem;
    color: var(--color-text-muted, #5b6878);
    margin: 0 0 0.75rem;
}

.footer-link-cta {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-accent, #f5821f);
    text-decoration: none;
}

.footer-link-cta:hover {
    color: var(--color-accent-strong, #d96b0f);
}

.site-footer__top {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.site-footer__brand {
    flex: 2;
    min-width: 220px;
}

.site-footer__nav {
    flex: 1;
    min-width: 160px;
}

.site-footer__brand-name {
    font-family: var(--font-display, system-ui, sans-serif);
    font-weight: 600;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    color: var(--color-navy, #0a1c33);
}

.site-footer__tagline {
    margin: 0 0 0.75rem;
    color: var(--color-text-muted, #5b6878);
    font-size: 0.875rem;
}

.site-footer__contact {
    margin: 0 0 0.3rem;
    font-size: 0.875rem;
}

.site-footer__contact a {
    color: var(--color-text-muted, #5b6878);
    text-decoration: none;
}

.site-footer__col-heading {
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-muted, #5b6878);
    margin-bottom: 0.85rem;
}

.site-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.site-footer__links a {
    color: var(--color-navy, #0a1c33);
    text-decoration: none;
    font-size: 0.875rem;
}

.site-footer__links a:hover {
    color: var(--color-accent, #f5821f);
}

.site-footer__bottom {
    border-top: 1px solid var(--color-border, #dde3ea);
    padding-top: 1.25rem;
    font-size: 0.8rem;
    color: var(--color-text-muted, #5b6878);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.site-footer__legal a {
    color: var(--color-text-muted, #5b6878);
    margin: 0 0.25rem;
}

/* ── Utility ─────────────────────────────────────────────────────────────────── */

.text-muted {
    color: var(--color-text-muted, #5b6878);
}

.section {
    padding: 4rem 1.5rem;
    /* Full-bleed band: breaks out of any centered/padded ancestor
       (e.g. .page-wrapper) so the background spans the full viewport,
       while .section__inner keeps the content itself centered. */
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    box-sizing: border-box;
}

.section__inner {
    max-width: var(--content-width, 1240px);
    margin: 0 auto;
}

.section--alt {
    background: var(--color-panel-soft, #f8f9fb);
}

.section--navy {
    background: var(--color-navy, #0a1c33);
    color: var(--color-text-on-navy, #e8edf4);
}

.section--navy h2, .section--navy h3 {
    color: #ffffff;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--color-accent, #f5821f);
    margin-bottom: 0.5rem;
    display: block;
}

.card {
    background: #ffffff;
    border: 1px solid var(--color-border, #dde3ea);
    border-radius: var(--radius-medium, 10px);
    box-shadow: var(--shadow-card);
    padding: 1.75rem;
}

.card h3 {
    margin-top: 0;
}

.grid {
    display: grid;
    gap: 1.75rem;
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--6 { grid-template-columns: repeat(6, 1fr); }

.checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checklist li {
    padding-left: 1.75rem;
    position: relative;
    font-weight: 500;
}

.checklist li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-accent, #f5821f);
    font-weight: 700;
}

/* ── Hero (home) ──────────────────────────────────────────────────────────── */

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background-color: #081729;
    color: var(--color-text-on-navy, #e8edf4);
    padding: 3.5rem 1.5rem 4rem;
    /* Full-bleed band, see .section comment above. */
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    box-sizing: border-box;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(90deg, rgba(4, 16, 31, 0.96) 0%, rgba(4, 16, 31, 0.9) 30%, rgba(4, 16, 31, 0.58) 58%, rgba(4, 16, 31, 0.24) 100%),
        linear-gradient(135deg, rgba(10, 28, 51, 0.84) 0%, rgba(16, 42, 76, 0.36) 55%, rgba(24, 55, 95, 0.12) 100%),
        url('/assets/img/600h-Industrial%20plastic%20extrusion%20process%20in%20action.jpg');
    background-position: center, center, right center;
    background-repeat: no-repeat;
    background-size: cover, cover, cover;
}

.hero__inner {
    max-width: var(--content-width, 1240px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 42rem);
    gap: 0;
    align-items: start;
    min-height: clamp(420px, 54vw, 580px);
}

.hero__copy-col {
    max-width: 42rem;
}

.hero h1 {
    color: #fff;
    font-size: clamp(2.1rem, 4vw, 3rem);
    font-weight: 300;
    margin: 0 0 1rem;
}

.hero h1 .accent {
    color: var(--color-accent, #f5821f);
    font-weight: 600;
}

.hero__lede {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.75rem;
}

.hero__copy {
    opacity: 0.85;
    margin: 0 0 1.5rem;
}

.hero__badges {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin: 1.5rem 0;
    font-size: 0.85rem;
    font-weight: 600;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ── Video teaser / industry tiles (home) ────────────────────────────────── */

.video-teaser {
    margin: 1.25rem 0;
}

.video-teaser__link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: var(--color-navy, #0a1c33);
    color: #fff;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-medium, 10px);
    text-decoration: none;
    font-weight: 600;
}

.video-teaser__play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-accent, #f5821f);
    flex-shrink: 0;
}

.industry-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    text-align: center;
    text-decoration: none;
    background: #ffffff;
    border: 1px solid var(--color-border, #dde3ea);
    border-radius: var(--radius-medium, 10px);
    padding: 1.5rem 1rem;
    color: var(--color-text, #16212e);
    font-weight: 600;
    font-size: 0.85rem;
}

.industry-tile:hover {
    border-color: var(--color-accent, #f5821f);
    color: var(--color-accent, #f5821f);
}

.industry-tile__icon {
    font-size: 1.5rem;
    color: var(--color-accent, #f5821f);
}

/* ── Stat row ─────────────────────────────────────────────────────────────── */

.stat-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 2.5rem 1.5rem;
    max-width: var(--content-width, 1240px);
    margin: 0 auto;
}

.stat-row__item {
    text-align: center;
    padding: 1rem;
}

.stat-row__icon {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--color-accent, #f5821f);
}

.stat-row__title {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-row__desc {
    font-size: 0.85rem;
    color: var(--color-text-muted, #5b6878);
}

/* ── FAQ accordion ────────────────────────────────────────────────────────── */

.faq-group {
    margin-bottom: 2.5rem;
}

.faq-item {
    border: 1px solid var(--color-border, #dde3ea);
    border-radius: var(--radius-medium, 10px);
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.faq-item__question {
    width: 100%;
    text-align: left;
    background: var(--color-panel-soft, #f8f9fb);
    border: none;
    padding: 1rem 1.25rem;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    color: var(--color-text, #16212e);
}

.faq-item__question::after {
    content: '+';
    font-size: 1.3rem;
    color: var(--color-accent, #f5821f);
    flex-shrink: 0;
}

.faq-item.is-open .faq-item__question::after {
    content: '\2212';
}

.faq-item__answer {
    padding: 0 1.25rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease;
}

.faq-item.is-open .faq-item__answer {
    padding: 1rem 1.25rem 1.25rem;
    max-height: none;
}

/* ── Glossary ─────────────────────────────────────────────────────────────── */

.glossary-letters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 2rem;
}

.glossary-letters a {
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border, #dde3ea);
    border-radius: var(--radius-small, 6px);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-navy, #0a1c33);
}

.glossary-letters a:hover {
    background: var(--color-accent, #f5821f);
    color: #fff;
    border-color: var(--color-accent, #f5821f);
}

.glossary-list dt {
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 1.5rem;
}

.glossary-list dd {
    margin: 0.25rem 0 0;
    color: var(--color-text-muted, #5b6878);
}

/* ── Spec table (materials) ──────────────────────────────────────────────── */

.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.92rem;
}

.spec-table th, .spec-table td {
    text-align: left;
    padding: 0.65rem 0.9rem;
    border-bottom: 1px solid var(--color-border, #dde3ea);
}

.spec-table th {
    width: 40%;
    color: var(--color-text-muted, #5b6878);
    font-weight: 600;
}

/* ── Article body ─────────────────────────────────────────────────────────── */

.article-body h2 {
    margin-top: 2rem;
    font-size: 1.5rem;
}

.article-body h3 {
    margin-top: 1.5rem;
    font-size: 1.2rem;
}

.article-meta {
    color: var(--color-text-muted, #5b6878);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.tag-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0;
    margin: 1.5rem 0;
}

.tag-list li {
    background: var(--color-panel, #eef1f5);
    border-radius: var(--radius-small, 6px);
    padding: 0.3rem 0.75rem;
    font-size: 0.78rem;
    color: var(--color-text-muted, #5b6878);
}

/* ── Forms ────────────────────────────────────────────────────────────────── */

.form-field {
    margin-bottom: 1.25rem;
}

.form-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--color-border, #dde3ea);
    border-radius: var(--radius-small, 6px);
    font-size: 0.95rem;
    font-family: inherit;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: 2px solid var(--color-accent, #f5821f);
    outline-offset: 1px;
}

.form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-notice {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-medium, 10px);
    margin-bottom: 1.5rem;
}

.form-notice--success {
    background: #e6f4ea;
    color: #1c5e34;
    border: 1px solid #b9e0c5;
}

.form-notice--error {
    background: #fdeaea;
    color: #8a1f1f;
    border: 1px solid #f3bcbc;
}

/* ── Error page ─────────────────────────────────────────────────────────────── */

.error-page {
    text-align: center;
    padding: 5rem 1rem;
}

.error-page h1 {
    font-size: 6rem;
    font-weight: 200;
    margin: 0 0 0.5rem;
    color: var(--color-text-muted, #5b6878);
}

.error-page p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* ── Mobile ─────────────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
    .hero__inner {
        grid-template-columns: 1fr;
        min-height: clamp(380px, 72vw, 520px);
    }

    .hero::before {
        background-position: center, center, 76% center;
    }

    .stat-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid--3, .grid--4, .grid--6 {
        grid-template-columns: repeat(2, 1fr);
    }

    .site-footer__columns {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    body {
        padding-top: var(--header-height-mobile, 72px);
    }

    .hero {
        padding: 2.75rem 1rem 3rem;
    }

    .hero::before {
        background-position: center, center, 78% center;
    }

    .hero__inner {
        min-height: auto;
    }

    .site-topbar__tagline {
        display: none;
    }

    .grid--2, .grid--3, .grid--4, .grid--6 {
        grid-template-columns: 1fr;
    }

    .site-header__inner {
        gap: 0.75rem;
        padding: 0.6rem 1rem;
    }

    .site-logo__name {
        font-size: 1.05rem;
    }

    .site-logo__mark {
        width: 2.45rem;
    }

    .site-logo__sub {
        font-size: 0.55rem;
    }

    .nav-hamburger {
        display: flex;
        flex-shrink: 0;
    }

    .nav-cta {
        display: none;
    }

    .site-nav {
        display: none;
        position: fixed;
        top: var(--header-height-mobile, 72px);
        left: 0;
        right: 0;
        bottom: 0;
        background: #ffffff;
        padding: 1.5rem;
        z-index: 99;
        overflow-y: auto;
    }

    .site-nav.is-open {
        display: block;
    }

    .site-nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .site-nav__item {
        flex-direction: column;
        align-items: stretch;
        border-bottom: 1px solid var(--color-border, #dde3ea);
        padding: 0.25rem 0;
    }

    .site-nav__item--has-dropdown {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .site-nav__list a {
        padding: 0.85rem 0;
        font-size: 1.05rem;
    }

    /* Sub-links are always expanded on mobile -- no toggle needed. */
    .nav-dropdown-toggle {
        display: none;
    }

    .nav-dropdown {
        display: block;
        position: static;
        box-shadow: none;
        border: none;
        padding: 0 0 0.5rem 1rem;
        width: 100%;
    }

    .nav-dropdown::before {
        display: none;
    }

    a.nav-cta-mobile {
        display: block;
        margin-top: 1.5rem;
        text-align: center;
    }

    .content-layout {
        grid-template-columns: 1fr;
    }

    .content-sidebar {
        position: static;
    }

    .quote-banner__inner {
        flex-direction: column;
        text-align: center;
    }

    /* Footer: single column, all text/links at 2x size on mobile */
    .site-footer__columns {
        grid-template-columns: 1fr;
        font-size: 2em;
        gap: 2rem;
    }

    .site-footer__columns .site-footer__col-heading {
        font-size: 1em;
    }

    .site-footer__columns p,
    .site-footer__columns .footer-link-cta {
        font-size: 1em;
    }

    .site-footer__top {
        flex-direction: column;
        gap: 2rem;
        font-size: 2em;
    }

    .site-footer__top .site-footer__col-heading {
        font-size: 1em;
    }

    .site-footer__top .site-footer__brand-name,
    .site-footer__top .site-footer__tagline,
    .site-footer__top .site-footer__contact,
    .site-footer__top .site-footer__links a {
        font-size: 1em;
    }

    .site-footer__bottom {
        flex-direction: column;
        text-align: center;
        font-size: 1.4em;
    }
}
