/* parts.css: BEM components. One block per section, in page order. */

/* alarmline: the 111 strip above everything */
.alarmline {
    background: var(--alarm);
    color: var(--white);
    font-size: 0.9rem;
    padding: 6px 0;
}

.alarmline__text {
    margin: 0;
}

.alarmline__text a {
    color: var(--white);
    text-decoration-color: var(--white);
}

/* topband */
.topband {
    background: var(--ink);
    color: var(--white);
    border-bottom: 4px solid var(--amber);
}

.topband__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 64px;
    flex-wrap: wrap;
}

.topband__brand {
    font: 700 1.7rem/1 var(--head);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--white);
    text-decoration: none;
}

.topband__brand:hover {
    background: none;
    color: var(--amber);
}

.topband__dot {
    color: var(--amber);
}

.topband__call {
    font: 700 1.1rem/1 var(--head);
    color: var(--ink);
    background: var(--amber);
    padding: 10px 14px;
    border-radius: var(--r);
    text-decoration: none;
    white-space: nowrap;
}

.topband__call:hover {
    background: var(--white);
}

/* menu: a <details> disclosure on phones, a plain row on desktop */
.menu {
    width: 100%;
    order: 3;
}

.menu__toggle {
    cursor: pointer;
    list-style: none;
    font: 600 1rem/1 var(--head);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 10px 0;
    color: var(--amber);
}

.menu__toggle::-webkit-details-marker {
    display: none;
}

.menu__list {
    list-style: none;
    margin: 0;
    padding: 0 0 12px;
    display: grid;
    gap: 2px;
}

.menu__link {
    display: block;
    color: var(--white);
    text-decoration: none;
    padding: 8px 0;
    font: 600 1.05rem/1.2 var(--head);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.menu__link:hover,
.menu__link--here {
    color: var(--amber);
    background: none;
}

@media (min-width: 900px) {
    .menu {
        width: auto;
        order: 0;
    }

    .menu__toggle {
        display: none;
    }

    .menu__list {
        display: flex;
        gap: 22px;
        padding: 0;
    }

    .topband__brand {
        margin-right: auto;
    }

    .topband__call {
        order: 2;
    }
}

/* opener: the hero band */
.opener {
    background: var(--ink-2);
    color: var(--white);
    padding: 36px 0 40px;
    position: relative;
}

.opener::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 8px;
    background: repeating-linear-gradient(-45deg, var(--amber) 0 14px, var(--ink) 14px 28px);
}

.opener__kicker {
    font: 600 0.95rem/1.2 var(--head);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--amber);
    margin: 0 0 10px;
}

.opener__title {
    max-width: 20ch;
}

.opener__lede {
    font-size: 1.15rem;
    max-width: 58ch;
    color: #e9e6df;
}

.opener__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

/* press: buttons and button-links */
.press {
    display: inline-block;
    font: 700 1.1rem/1 var(--head);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 14px 18px;
    border-radius: var(--r);
    border: 2px solid var(--amber);
    cursor: pointer;
}

.press--amber {
    background: var(--amber);
    color: var(--ink);
}

.press--amber:hover {
    background: var(--white);
    border-color: var(--white);
}

.press--ghost {
    background: transparent;
    color: var(--white);
}

.press--ghost:hover {
    background: var(--amber);
    color: var(--ink);
}

/* pathline: breadcrumb */
.pathline {
    font-size: 0.88rem;
    color: var(--ink-3);
    margin: 0 0 18px;
}

.pathline__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pathline__item + .pathline__item::before {
    content: "/";
    margin-right: 6px;
    color: var(--amber-deep);
}

/* firstword: the direct answer under the H1 */
.firstword {
    border-left: 6px solid var(--amber);
    background: var(--white);
    padding: 14px 18px;
    border-radius: 0 var(--r) var(--r) 0;
    font-size: 1.1rem;
}

.firstword__label {
    font: 700 0.85rem/1 var(--head);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--amber-deep);
    display: block;
    margin-bottom: 6px;
}

/* routecard: the way to removal + the form on informational pages */
.routecard {
    background: var(--ink);
    color: var(--white);
    border-radius: var(--r);
    padding: 12px 16px;
    margin: 0 0 1.4em;
}

.routecard__lead {
    margin: 0 0 6px;
    font: 700 1.15rem/1.2 var(--head);
    letter-spacing: 0.03em;
}

.routecard__links {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
}

.routecard__link {
    color: var(--white);
    text-decoration-color: var(--amber);
}

.routecard__link--go {
    color: var(--amber);
    font-weight: 600;
}

.routecard__link:hover {
    background: none;
    color: var(--amber);
}

/* hazard: safety callouts */
.hazard {
    background: var(--amber-wash);
    border: 2px solid var(--amber);
    border-radius: var(--r);
    padding: 14px 16px;
    margin: 0 0 1.2em;
}

.hazard--stop {
    background: #fbe9e7;
    border-color: var(--alarm);
}

.hazard__head {
    font: 700 1.15rem/1.2 var(--head);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 6px;
}

.hazard__body {
    margin: 0;
}

/* nestmap: figures holding the original SVG diagrams */
.nestmap {
    margin: 1.4em 0 1.8em;
    background: var(--white);
    border: 1px solid var(--rule);
    border-radius: var(--r);
    padding: 12px;
}

.nestmap__img {
    width: 100%;
}

.nestmap__cap {
    font-size: 0.92rem;
    color: var(--ink-3);
    margin-top: 8px;
}

/* tilegrid: link cards to other pages */
.tilegrid {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}

.linkcard {
    background: var(--white);
    border: 1px solid var(--rule);
    border-top: 4px solid var(--ink);
    border-radius: var(--r);
    padding: 14px 16px;
}

.tile__title {
    font: 700 1.25rem/1.15 var(--head);
    margin: 0 0 6px;
}

.tile__text {
    margin: 0;
    font-size: 0.97rem;
    color: var(--ink-3);
}

/* drill: numbered process steps */
.drill {
    list-style: none;
    counter-reset: drill;
    padding: 0;
}

.drill__step {
    counter-increment: drill;
    position: relative;
    padding: 0 0 14px 52px;
    min-height: 40px;
}

.drill__step::before {
    content: counter(drill);
    position: absolute;
    left: 0;
    top: 0;
    width: 38px;
    height: 38px;
    border-radius: var(--r);
    background: var(--ink);
    color: var(--amber);
    font: 700 1.3rem/38px var(--head);
    text-align: center;
}

/* asked: FAQ */
.asked__item {
    border-bottom: 1px solid var(--rule);
    padding: 4px 0;
}

.asked__q {
    cursor: pointer;
    font: 700 1.2rem/1.3 var(--head);
    padding: 10px 0;
}

.asked__a {
    padding: 0 0 8px;
}

/* tablewrap + pricegrid */
.tablewrap {
    overflow-x: auto;
    margin: 0 0 1.2em;
}

.pricegrid {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    font-size: 0.97rem;
}

.pricegrid__head {
    background: var(--ink);
    color: var(--white);
    font-family: var(--head);
    letter-spacing: 0.04em;
    text-align: left;
    padding: 10px;
}

.pricegrid__cell {
    border-bottom: 1px solid var(--rule);
    padding: 10px;
    vertical-align: top;
}

/* sidecard: the sticky aside */
.sidecard {
    background: var(--ink);
    color: var(--white);
    border-radius: var(--r);
    padding: 18px;
}

.sidecard__head {
    font: 700 1.4rem/1.1 var(--head);
    text-transform: uppercase;
    margin: 0 0 8px;
    color: var(--amber);
}

.sidecard__text {
    margin: 0 0 12px;
    color: #e9e6df;
}

.sidecard__links {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    border-top: 1px solid var(--ink-3);
}

.sidecard__links a {
    color: var(--white);
    display: block;
    padding: 7px 0;
}

/* quoteform */
.quoteform {
    background: var(--white);
    border: 2px solid var(--ink);
    border-radius: var(--r);
    padding: 18px;
    margin: 1.5em 0;
}

.quoteform__title {
    margin-top: 0;
}

.quoteform__field {
    margin: 0 0 12px;
}

.quoteform__label {
    display: block;
    font: 600 1rem/1.2 var(--head);
    letter-spacing: 0.03em;
    margin-bottom: 4px;
}

.quoteform__input {
    width: 100%;
    font: inherit;
    padding: 10px 12px;
    border: 2px solid var(--rule);
    border-radius: var(--r);
    background: var(--paper);
}

.quoteform__input:focus {
    border-color: var(--amber);
    outline: none;
}

.quoteform__trap {
    position: absolute;
    left: -5000px;
}

.quoteform__note {
    font-size: 0.88rem;
    color: var(--ink-3);
}

/* sourcelist */
.sourcelist {
    font-size: 0.9rem;
    color: var(--ink-3);
    border-top: 2px solid var(--ink);
    padding-top: 10px;
    margin-top: 2em;
}

.sourcelist__items {
    padding-left: 1.2em;
}

/* endband */
.endband {
    background: var(--ink);
    color: #cfcac0;
    padding: 36px 0 20px;
    font-size: 0.95rem;
}

.endband__cols {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.endband__head {
    font: 700 1.1rem/1.2 var(--head);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--amber);
    margin: 0 0 8px;
}

.endband__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.endband__list a {
    color: #f3efe6;
    display: inline-block;
    padding: 3px 0;
}

.endband__fine {
    border-top: 1px solid var(--ink-3);
    margin-top: 24px;
    padding-top: 14px;
    font-size: 0.85rem;
}
