.rd-page {
    --gold: #b88716;
    --paper: #f4f0e9;
    --ink: #111;
    background: var(--paper);
    color: var(--ink);
}
.rd-page p,
.rd-page li,
.rd-page td {
    font-size: 14px;
}
.rd-page .nav-links .active {
    color: #f5b528;
}
.rd-section {
    padding: 64px 0;
}
.paper,
.process-section {
    background: #f7f4ee;
}
.services {
    background: #fff;
}
.rd-hero {
    min-height: 710px;
    background: #06111b url("../img/banner10.jpg") center/cover no-repeat;
    color: #fff;
    display: flex;
    align-items: center;
    position: relative;
}
.rd-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2, 10, 17, 0.94) 0%, rgba(2, 11, 20, 0.72) 43%, rgba(2, 11, 20, 0.08) 78%);
}
.hero-content {
    position: relative;
    padding-top: 70px;
/*    width: 100%;*/
}
.eyebrow {
    color: var(--gold);
    font-weight: 800;
    font-size: 12px;
}
.rd-hero h1 {
    font-size: clamp(44px, 5.5vw, 76px);
    line-height: 1.03;
    letter-spacing: -0.045em;
    max-width: 750px;
    margin: 28px 0 24px;
}
.rd-hero p {
    line-height: 1.55;
    color: #dce2e7;
    max-width: 430px;
}
.down-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    text-decoration: none;
    font-size: 14px;
}
.down-link b {
    width: 28px;
    height: 28px;
    border: 1px solid #aeb6bd;
    border-radius: 50%;
    display: grid;
    place-items: center;
}
.section-label {
    display: flex;
    align-items: center;
    margin-bottom: 44px;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 800;
}
.section-label:before {
    content: "";
    width: 34px;
    border-top: 1px solid var(--gold);
}
.section-label:after {
    content: "";
    flex: 1;
    border-top: 1px solid #cdbd97;
}
.section-label span {
    padding: 0 10px;
}
.split-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: start;
    margin-bottom: 55px;
}
.split-head h2,
.service-card h2,
.consult-grid h2,
.claim h2 {
    font-size: clamp(27px, 3.1vw, 42px);
    line-height: 1.05;
    letter-spacing: -0.035em;
    margin: 0;
}
.split-head em,
.consult-grid em {
    font-style: normal;
    color: var(--gold);
}
.split-head p {
    margin: 0;
    line-height: 1.6;
    max-width: 470px;
}
.table-scroll {
    overflow-x: auto;
}
.cap-table {
    width: 100%;
    min-width: 780px;
    border-collapse: collapse;
}
.cap-table th,
.cap-table td {
    text-align: left;
    padding: 22px 28px;
    border-bottom: 1px solid #d1ccc4;
    vertical-align: top;
}
.cap-table thead th {
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}
.cap-table th:first-child,
.cap-table td:first-child {
    width: 26%;
    font-weight: 700;
}
.more-test {
    display: flex;
    color: inherit;
    text-decoration: none;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    padding: 20px 0;
    margin-top: 38px;
	font-size: 22px;
}
.more-test span {
    margin-left: auto;
}
.service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.service-card {
    position: relative;
    background: #ece7df;
    padding: 34px;
    min-height: 455px;
    display: flex;
    flex-direction: column;
    transition: 0.35s ease;
}
.service-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 38px rgba(0, 0, 0, 0.12);
    background: #f1ece5;
}
.service-card > span {
    color: var(--gold);
    font-size: 11px;
    font-weight: 800;
}
.service-card .card-icon {
    position: absolute;
    right: 34px;
    top: 28px;
    font-size: 52px;
    font-weight: 400;
}
.service-card h2 {
    font-size: clamp(25px, 2.5vw, 38px);
    margin: 48px 0 20px;
}
.service-card p {
    line-height: 1.55;
}
.service-card ul {
    padding-left: 18px;
}
.service-card a {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid #c6c0b8;
    text-decoration: none;
    color: inherit;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}
.mini-form {
    display: flex;
    margin: 15px 0;
}
.mini-form input {
    flex: 1;
    border: 0;
    background: #fff;
    padding: 12px;
}
.mini-form button {
    border: 0;
    background: var(--gold);
    color: #fff;
    padding: 0 18px;
}
.testing-flow {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: clamp(26px, 4vw, 72px);
    position: relative;
    margin-top: 76px;
}
.testing-flow:before {
    content: "";
    position: absolute;
    top: 51px;
    left: 10px;
    right: 10px;
    height: 1px;
    background: #c9c7c2;
}
.testing-flow article {
    position: relative;
}
.testing-flow i {
    display: block;
    color: #111;
    font-style: normal;
    font-size: 14px;
    margin-bottom: 26px;
}
.flow-dot {
    display: block;
    width: 15px;
    height: 15px;
    box-sizing: border-box;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--gold);
    outline: 1px solid #111;
    position: relative;
    z-index: 2;
}
.testing-flow .flow-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 60px;
    border: 0;
    margin: 47px 0 18px;
}
.flow-icon svg {
    width: 52px;
    height: 58px;
    fill: none;
    stroke: #0a0a0a;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.testing-flow h3 {
    font-size: 16px;
    margin: 0 0 17px;
}
.testing-flow p {
    line-height: 1.55;
    margin: 0;
}
.confidential {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin: 110px auto 0;
}
.confidential b {
    display: flex;
    border-left: 7px solid var(--gold);
    padding-left: 19px;
}
.confidential svg {
    width: 52px;
    height: 52px;
    fill: none;
    stroke: #111;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.confidential p {
    font-size: 17px;
    margin: 0;
}
.consultation {
    background: #eae5dd;
}
.consult-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 90px;
}
.consult-grid h2 {
    font-size: clamp(45px, 5vw, 70px);
}
.consult-grid > div > p {
    max-width: 440px;
    line-height: 1.55;
    margin-top: 45px;
}
.consult-form {
    background: #fff;
    padding: 42px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 34px;
}
.consult-form label {
    font-size: 12px;
    color: #777;
}
.consult-form input,
.consult-form select,
.consult-form textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border: 0;
    border-bottom: 1px solid #aaa;
    padding: 9px 0;
    background: transparent;
}
.consult-form textarea {
    height: 55px;
}
.consult-form .wide {
    grid-column: 1/-1;
}
.consult-form button {
    justify-self: start;
    background: var(--gold);
    color: #fff;
    border: 0;
    padding: 14px 25px;
}
.claim {
    background: #fff;
    padding: 65px 0;
}
.claim-grid {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 65px;
    align-items: center;
}
.claim h2 {
    font-size: 31px;
}
.claim p,
.claim a {
    font-size: 12px;
}
.claim a {
    text-decoration: none;
}
.claim img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.7s ease var(--delay, 0ms),
        transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) var(--delay, 0ms);
}
.reveal.visible {
    opacity: 1;
    transform: none;
}
@media (max-width: 900px) {
    .rd-hero {
        min-height: 620px;
        background-position: 62% center;
    }
    .rd-hero:before {
        background: linear-gradient(90deg, rgba(2, 10, 17, 0.94), rgba(2, 11, 20, 0.45));
    }
    .split-head,
    .consult-grid,
    .claim-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .testing-flow {
        grid-template-columns: repeat(3, 1fr);
        gap: 55px 38px;
    }
    .testing-flow:before {
        display: none;
    }
    .testing-flow article {
        padding-top: 14px;
        border-top: 1px solid #c9c7c2;
    }
    .testing-flow i {
        margin-bottom: 15px;
    }
    .testing-flow .flow-icon {
        margin-top: 30px;
    }
    .consult-grid > div > p {
        margin-top: 24px;
    }
    .claim img {
        height: auto;
    }
}
@media (max-width: 600px) {
    .rd-section {
        padding: 42px 0;
    }
    .rd-hero {
        min-height: 560px;
    }
    .hero-content {
        padding-top: 45px;
    }
    .rd-hero h1 {
        font-size: 39px;
    }
    .rd-hero p {
        max-width: 300px;
    }
    .service-grid {
        grid-template-columns: 1fr;
    }
    .service-card {
        min-height: 390px;
        padding: 25px;
    }
    .service-card .card-icon {
        right: 24px;
    }
    .testing-flow {
        grid-template-columns: 1fr;
        gap: 45px;
        margin-top: 48px;
    }
    .testing-flow article {
        display: grid;
        grid-template-columns: 58px 1fr;
        column-gap: 18px;
        padding-top: 18px;
    }
    .testing-flow i,
    .testing-flow .flow-dot {
        grid-column: 1;
    }
    .testing-flow .flow-icon {
        grid-column: 1;
        grid-row: 3 / span 2;
        margin: 25px 0 0;
    }
    .testing-flow h3,
    .testing-flow p {
        grid-column: 2;
    }
    .testing-flow h3 {
        grid-row: 3;
        align-self: end;
    }
    .testing-flow p {
        grid-row: 4;
    }
    .confidential {
        margin-top: 65px;
        align-items: flex-start;
    }
    .confidential p {
        font-size: 15px;
    }
    .consult-form {
        grid-template-columns: 1fr;
        padding: 25px;
    }
    .consult-form .wide {
        grid-column: auto;
    }
    .claim {
        padding: 42px 0;
    }
    .claim-grid {
        gap: 25px;
    }
    .cap-table th,
    .cap-table td {
        padding: 16px;
    }
    .more-test {
        font-size: 13px;
        gap: 8px;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}


.kicker {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgb(199, 163, 79);
    font-size: 14px;
    font-weight: 800;
    margin: 0px 0px 16px;
}

/* R&D facility editorial page */


.rd-page .rd-hero { min-height:690px; background-image:url("../img/banner10.jpg"); }
.rd-page .rd-hero h1 { font-size:clamp(43px,5.4vw,72px); margin:17px 0 22px; }
.rd-page .rd-hero p { font-size:15px; max-width:380px; }
.test-overview { padding:68px 0 74px; background:#f8f5f0; }
.center-title { max-width:660px; margin:0 auto 54px; text-align:center; }
.center-title h2,.target-head h2,.rig-head h2,.respirator h2,.pilot h2 { font-size:clamp(29px,3.2vw,30px); margin:0 0 10px;}
.center-title p,.target-head p,.rig-head p { font-size:14px; line-height:1.55; margin:0 auto; max-width:540px; }
.center-title em,.target-head em,.rig-head em,.respirator em,.h2s em { color:var(--gold); font-style:normal; }
.test-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:26px; max-width:845px; margin:auto; perspective:1100px; }
.test-grid .flip-card { min-height:205px; padding:0; background:transparent; box-shadow:none; transform:none !important; perspective:1100px; }
.flip-card-inner { position:relative; width:100%; height:205px; transition:transform .72s cubic-bezier(.2,.7,.2,1); transform-style:preserve-3d; }
.flip-card:hover .flip-card-inner,.flip-card:focus-within .flip-card-inner { transform:rotateY(180deg); }
.flip-face { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:24px 20px; box-sizing:border-box; border-radius:6px; backface-visibility:hidden; -webkit-backface-visibility:hidden; box-shadow:0 3px 13px rgba(20,20,20,.08); text-align:center; }
.flip-front { background:#fff; color:#101010; }.flip-back { background:#111; color:#fff; transform:rotateY(180deg); box-shadow:0 12px 25px rgba(0,0,0,.22); }
.test-grid b,.client-flow b { display:grid; place-items:center; width:50px; height:50px; border-radius:5px; background:#050505; color:#fff; font-size:17px; padding:9px; box-sizing:border-box; }
.test-grid b img { width:100%; height:100%; object-fit:contain; }.test-grid h3 { margin:18px 0 6px; font-size:18px; letter-spacing:-.04em; }.test-grid p { margin:0; font-size:14px; color:#333; }.flip-back h3{font-size:17px;margin:0 0 13px;color:#d49b21}.flip-back p{max-width:220px;color:#f2f2f2;font-size:18px;line-height:1.5;}
.gas-cards article:hover { transform:translateY(-5px); box-shadow:0 15px 25px #0002; }


/*
.target-gases { position:relative; overflow:hidden; padding:0 0 12px; background:#f2fafc; }
.target-gases:before,.target-gases:after { content:""; position:absolute; top:0; bottom:0; z-index:1; width:1px; background:#e48c72; opacity:.78; pointer-events:none; }
.target-gases:before { left:max(calc((100% - 990px)/2), 20px); }.target-gases:after { right:max(calc((100% - 990px)/2), 20px); }
*/


.gas-hero { min-height:320px; position:relative; background:linear-gradient(90deg,rgba(246,251,253,.96) 0%,rgba(246,251,253,.8) 29%,rgba(246,251,253,.12) 58%),url("../r-b-centre/img1.jpg") center 54%/cover no-repeat; }
.gas-hero-inner { position:relative; z-index:2; padding-top:42px; }
.gas-hero .section-label { width:258px; margin:0 0 25px; font-size:14px; white-space:nowrap; }
.gas-hero .section-label:before { width:28px; }.gas-hero .section-label:after { flex:none; width:62px; }
.target-head { display:flex; }.target-head>div{max-width:490px}.target-head h2 { font-size:30px; line-height:1.05; }.target-head p{max-width:430px;margin:0;font-size:14px;line-height:1.55}
.gas-content { position:relative; z-index:2; padding-top:37px; }

.gas-cards { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }

.gas-cards article { overflow:hidden; padding:0; background:#fff; border:1px solid #e2e8e9; border-radius:5px; box-shadow:0 2px 8px rgba(17,38,47,.14); transition:transform .32s ease,box-shadow .32s ease; }

.gas-cards article:nth-child(1){background:#effff9}

.gas-cards article:nth-child(2){background:#f2f7ff}

.gas-cards article:nth-child(3){background:#fffaf3}

.gas-cards article:nth-child(4){background:#f4f4ff}

.gas-cards img { width:calc(100% + 28px); object-fit:cover; margin-left:0px; border-radius:5px 5px 0 0; }

.gas-cards h3{margin:15px 0 0px;font-size:15px;letter-spacing:-.035em; padding-left: 15px;}

.gas-cards dl{display:grid;grid-template-columns:1fr auto;gap:0;margin:0;font-size:12px;padding: 15px;}

.gas-cards dt,.gas-cards dd{padding:6px 0;border-bottom:1px solid rgba(40,57,60,.12)}

.gas-cards dd{margin:0;text-align:right;font-weight:800}.small-note{font-size:10px;margin:25px 0 0}


.light:after{border-color:#56626a}
.light:before{border-color:var(--gold)}


@media(max-width:700px){.rd-page .rd-hero{min-height:560px;background-position:60% center}.test-grid{grid-template-columns:1fr 1fr}.gas-cards{grid-template-columns:1fr 1fr}.rig-cards,.pilot-grid,.resp-grid{grid-template-columns:1fr}.resp-grid{gap:25px}.rigs{background-attachment:scroll}.h2s-images{grid-template-columns:1fr}.h2s-images img{height:150px}.portal-grid{grid-template-columns:1fr}.client-flow{grid-template-columns:repeat(3,1fr);gap:18px}.client-flow:before{display:none}.rd-cta a{font-size:18px}.test-overview,.rigs,.respirator,.h2s,.pilot,.portals{padding:42px 0}.section-label{margin-bottom:28px}.gas-hero{min-height:315px;background-position:62% center}.gas-hero-inner{padding-top:34px}.gas-hero .section-label{margin-bottom:38px}.target-head h2{font-size:27px}.gas-content{padding:26px 18px 8px}.gas-cards{gap:11px}.gas-cards article{min-height:0;padding:0 11px 12px}.gas-cards img{width:calc(100% + 22px);margin-left:-11px;height:72px}.gas-cards h3{font-size:14px;margin:10px 0 12px}.gas-cards dl{font-size:9px}.gas-cards dt,.gas-cards dd{padding:5px 0}.small-note{margin-top:24px;font-size:8px}.target-gases:before{left:14px}.target-gases:after{right:14px}}


/* ==========================================================
   International test methods — "Dedicated rigs for Global standards"
   ========================================================== */
.rigs {
    --rig-ease: cubic-bezier(.2, .75, .25, 1);
    position: relative;
    overflow: hidden;
    padding: clamp(44px, 5.6vw, 80px) 0 clamp(34px, 3.5vw, 50px);
    background: #050d15 url("../r-b-centre/banner2.jpg") center / cover no-repeat;
    color: #fff;
    font-family: "Outfit", "Gothic A1 Local", "Gothic A1", sans-serif;
}
@media (min-width: 1025px) and (hover: hover) { .rigs { background-attachment: fixed; } }

/* label: gold rule · text with underline · gold rule */
.rigs-label {
    display: flex;
    align-items: center;
    margin: 0 0 clamp(24px, 3vw, 44px);
    text-transform: uppercase;
    font-family: "Roboto", "Outfit", sans-serif;
    font-size: clamp(12px, 1vw, 14px);
    font-weight: 600;
    letter-spacing: .02em;
    line-height: 1.2;
}
.rigs-label::before,
.rigs-label::after { content: ""; height: 1px; background: var(--gold); transform-origin: left center; }
.rigs-label::before { width: clamp(22px, 2.5vw, 36px); }
.rigs-label::after { width: clamp(60px, 12.7vw, 183px); }
.rigs-label span { padding: 0 12px 7px; border-bottom: 1px solid rgba(255, 255, 255, .75); white-space: nowrap; }

.rigs-title {
    margin: 0 0 clamp(26px, 4.2vw, 60px);
    font-family: "Roboto", "Outfit", sans-serif;
    font-size: clamp(27px, 2.75vw, 40px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -.01em;
    color: #fff;
}
.rigs-title em { font-style: normal; color: var(--gold); }

/* cards */
.rig-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 4.2vw, 60px);
    align-items: stretch;
}
.rig-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: clamp(8px, .75vw, 11px);
    background: #f2f8fe;
    color: #0c1218;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .28);
    transition: transform .45s var(--rig-ease), box-shadow .45s var(--rig-ease);
}
.rig-media { overflow: hidden; background: #0b1b2a; }
.rig-media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 395 / 171;
    object-fit: cover;
    transition: transform .9s var(--rig-ease);
}
.rig-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: clamp(18px, 2vw, 30px) clamp(16px, 1.55vw, 22px) clamp(20px, 2.8vw, 40px);
}
.rig-card h3 {
    margin: 0 0 clamp(8px, 1.1vw, 16px);
    font-family: "Roboto", "Outfit", sans-serif;
    font-size: clamp(20px, 1.8vw, 26px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.01em;
    color: #070b10;
    transition: color .3s;
}
.rig-card p {
    margin: 0;
    max-width: 24em;
    min-height: 3.4em;
    font-size: clamp(13px, 1vw, 14.5px);
    font-weight: 400;
    line-height: 1.7;
    color: #3b4753;
}
.rig-gas {
    position: relative;
    margin-top: auto;
    padding-top: clamp(14px, 1.4vw, 20px);
}
.rig-gas::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - clamp(14px, 3vw, 44px));
    height: 1px;
    background: #cfd8e1;
    transform-origin: left center;
}
.rig-gas b {
    display: block;
    margin: 0 0 4px;
    font-family: "Roboto", "Outfit", sans-serif;
    font-size: clamp(14px, 1.2vw, 17px);
    font-weight: 700;
    color: #070b10;
}
.rig-gas span {
    display: block;
    font-size: clamp(12.5px, .95vw, 13.5px);
    font-weight: 400;
    line-height: 1.5;
    color: #1f2a35;
}
.rig-card sub { font-size: .7em; line-height: 0; vertical-align: -.22em; }

/* note */
.rigs-note {
    position: relative;
    margin: clamp(22px, 2.6vw, 38px) 0 0;
    padding-top: clamp(12px, 1.2vw, 17px);
    font-size: clamp(12px, .9vw, 13px);
    font-weight: 300;
    letter-spacing: .01em;
    color: #e4ebf1;
}
.rigs-note::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 1px; background: rgba(255, 255, 255, .28); transform-origin: left center; }

/* hover (pointer devices) + touch feedback */
@media (hover: hover) {
    .rig-card:hover { transform: translateY(-8px); box-shadow: 0 24px 48px rgba(0, 0, 0, .42), 0 0 0 1px rgba(184, 135, 22, .55); }
    .rig-card:hover .rig-media img { transform: scale(1.07); }
    .rig-card:hover h3 { color: var(--gold); }
}
.rig-card:active { transform: scale(.985); }

/* ---- entrance animation (added only when JS runs) ---- */
@keyframes rigUp { from { opacity: 0; transform: translateY(46px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes rigZoom { from { transform: scale(1.22); } to { transform: scale(1); } }
@keyframes rigLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes rigFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.rigs-anim .rigs-label::before,
.rigs-anim .rigs-label::after,
.rigs-anim .rig-gas::before,
.rigs-anim .rigs-note::before { transform: scaleX(0); }
.rigs-anim .rigs-label span,
.rigs-anim .rig-gas b,
.rigs-anim .rig-gas span,
.rigs-anim .rigs-note { opacity: 0; }
.rigs-anim .rig-card { opacity: 0; }

.rigs-anim.is-in .rigs-label::before { transform: none; animation: rigLine .7s var(--rig-ease) backwards; }
.rigs-anim.is-in .rigs-label::after { transform: none; animation: rigLine 1s var(--rig-ease) .15s backwards; }
.rigs-anim.is-in .rigs-label span { opacity: 1; animation: rigFade .7s var(--rig-ease) .2s backwards; }

.rigs-anim.is-in .rig-card { opacity: 1; animation: rigUp .95s var(--rig-ease) calc(.35s + var(--i) * .16s) backwards; }
.rigs-anim.is-in .rig-media img { animation: rigZoom 1.5s var(--rig-ease) calc(.35s + var(--i) * .16s) backwards; }
.rigs-anim.is-in .rig-gas::before { transform: none; animation: rigLine .9s var(--rig-ease) calc(.9s + var(--i) * .16s) backwards; }
.rigs-anim.is-in .rig-gas b,
.rigs-anim.is-in .rig-gas span { opacity: 1; animation: rigFade .7s var(--rig-ease) calc(1.05s + var(--i) * .16s) backwards; }
.rigs-anim.is-in .rigs-note { opacity: 1; animation: rigFade .8s var(--rig-ease) 1.5s backwards; }
.rigs-anim.is-in .rigs-note::before { transform: none; animation: rigLine 1.2s var(--rig-ease) 1.4s backwards; }

/* ---- responsive ---- */
@media (max-width: 1100px) {
    .rig-cards { gap: clamp(16px, 3vw, 32px); }
}
/* tablet / large phone: one column, horizontal cards */
@media (max-width: 860px) {
    .rigs { background-image: linear-gradient(rgba(3, 9, 15, .5), rgba(3, 9, 15, .35)), url("../r-b-centre/banner2.jpg"); background-position: center, 72% center; background-attachment: scroll; }
    .rig-cards { grid-template-columns: 1fr; gap: 18px; }
    .rig-card { flex-direction: row; }
    .rig-media { flex: 0 0 42%; }
    .rig-media img { height: 100%; aspect-ratio: auto; }
    .rig-body { padding: 22px 22px 24px; }
    .rig-card h3 { font-size: 22px; }
    .rig-card p { min-height: 0; max-width: none; margin-bottom: 14px; font-size: 14px; }
    .rig-gas span { font-size: 13.5px; }
    .rigs-note { font-size: 12.5px; }
}
/* phones: stacked image-on-top cards */
@media (max-width: 560px) {
    .rigs-label { margin-bottom: 22px; }
    .rigs-label::after { width: 48px; }
    .rigs-label span { padding: 0 10px 6px; white-space: normal; }
    .rigs-title { font-size: 27px; margin-bottom: 24px; }
    .rig-card { flex-direction: column; }
    .rig-media { flex: none; }
    .rig-media img { height: auto; aspect-ratio: 395 / 171; }
    .rig-body { padding: 20px 18px 22px; }
    .rig-card h3 { font-size: 23px; }
    .rig-gas::before { width: 100%; }
    .rigs-anim.is-in .rig-card { animation-delay: calc(.25s + var(--i) * .1s); }
    .rigs-anim.is-in .rig-media img { animation-delay: calc(.25s + var(--i) * .1s); }
}
@media (max-width: 360px) {
    .rigs-title { font-size: 24px; }
    .rigs-label { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
    .rigs-anim .rig-card,
    .rigs-anim .rigs-label span,
    .rigs-anim .rig-gas b,
    .rigs-anim .rig-gas span,
    .rigs-anim .rigs-note { opacity: 1; }
    .rigs-anim .rigs-label::before,
    .rigs-anim .rigs-label::after,
    .rigs-anim .rig-gas::before,
    .rigs-anim .rigs-note::before { transform: none; }
    .rig-card, .rig-media img { transition: none; }
}
@media print { .rigs-anim .rig-card, .rigs-anim .rigs-label span, .rigs-anim .rig-gas b, .rigs-anim .rig-gas span, .rigs-anim .rigs-note { opacity: 1; } }


/* ==========================================================
   Test rig · EN 14387 — "Respirator gas Filter testing"
   Light editorial layout: label · heading · copy · A/B/E/K table  |  two rig photos
   ========================================================== */
.respirator {
    --rig-ease: cubic-bezier(.2, .75, .25, 1);
    --resp-gold: #b8800f;
    --resp-line: rgba(70, 55, 35, .3);
    position: relative;
    overflow: hidden;
    padding: clamp(46px, 5.6vw, 84px) 0 clamp(54px, 6.4vw, 96px);
    background: #ece5dc url("../r-b-centre/banner3.jpg") center / cover no-repeat;
    color: #0b0b0b;
    font-family: "Outfit", "Gothic A1 Local", "Gothic A1", sans-serif;
}
.respirator .wrap { width: min(90%, 1300px); }

/* label: gold stub · text between two gold rules · long gold rule */
.resp-label {
    display: flex;
    align-items: center;
    margin: 0 0 clamp(30px, 4.4vw, 58px);
    text-transform: uppercase;
    font-family: "Roboto", "Outfit", sans-serif;
    font-size: clamp(12px, 1.13vw, 14px);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.2;
    color: #0b0b0b;
}
.resp-label::before,
.resp-label::after { content: ""; flex: none; height: 1px; background: var(--resp-gold); transform-origin: left center; }
.resp-label::before { width: clamp(18px, 2.6vw, 30px); }
.resp-label::after { width: clamp(50px, 13vw, 150px); }
.resp-label span {
    padding: 7px 0;
    white-space: nowrap;
    background:
        linear-gradient(var(--resp-gold), var(--resp-gold)) left top / 100% 1px no-repeat,
        linear-gradient(var(--resp-gold), var(--resp-gold)) left bottom / 100% 1px no-repeat;
}

.resp-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 55%);
    gap: clamp(28px, 4vw, 56px);
    align-items: center;
}

/* heading + copy */
.respirator .resp-title {
    margin: 0 0 clamp(10px, 1.1vw, 15px);
    font-family: "Roboto", "Outfit", sans-serif;
    font-size: clamp(27px, 2.75vw, 40px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.01em;
    color: #050505;
}
.respirator .resp-title em { font-style: normal; color: var(--resp-gold); }
.rt-mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .16em; margin-bottom: -.16em; }
.rt-in { display: inline-block; }
.respirator .resp-text > p {
    max-width: 30em;
    margin: 0;
    font-size: clamp(13px, 1.13vw, 15px);
    font-weight: 400;
    line-height: 1.44;
    color: #121212;
}

/* A / B / E / K table */
.respirator .resp-table {
    list-style: none;
    margin: clamp(24px, 3.4vw, 46px) 0 0;
    padding: 0;
    width: clamp(300px, 27vw, 370px);
    max-width: 100%;
    border: 1px solid var(--resp-line);
    border-radius: 7px;
    background: rgba(255, 255, 255, .22);
    overflow: hidden;
    font-size: clamp(12.5px, .98vw, 14px);
}
.respirator .resp-table li {
    display: grid;
    grid-template-columns: clamp(32px, 2.9vw, 38px) minmax(0, .95fr) minmax(0, 1.2fr);
    align-items: stretch;
    margin: 0;
    font-size: inherit;
    line-height: 1.3;
    color: #111;
}
.respirator .resp-table li + li { border-top: 1px solid var(--resp-line); }
.respirator .resp-table span { display: block; padding: 7px 12px; min-height: 30px; }
.respirator .resp-table b {
    display: grid;
    place-items: center;
    margin: 0;
    padding: 8px 0;
    width: auto;
    border: 0;
    border-right: 1px solid var(--resp-line);
    font-family: "Roboto", "Outfit", sans-serif;
    font-size: clamp(15px, 1.2vw, 17px);
    font-weight: 700;
    color: #050505;
}
.respirator .resp-table span:nth-of-type(1) { border-right: 1px solid var(--resp-line); font-weight: 400; }
.respirator .resp-table span:nth-of-type(2) { font-weight: 400; }
.respirator .resp-table sub { font-size: .7em; line-height: 0; vertical-align: -.22em; }
@media (hover: hover) {
    .respirator .resp-table li { transition: background .3s; }
    .respirator .resp-table li:hover { background: rgba(184, 128, 15, .14); }
}

/* photos — same height, natural proportions (portrait + wide) */
.resp-photos { display: flex; align-items: flex-start; gap: clamp(12px, 1.75vw, 22px); }
.resp-photo {
    flex: var(--ar, 1) 1 0%;
    min-width: 0;
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: clamp(7px, .75vw, 9px);
    box-shadow: 0 10px 28px rgba(60, 45, 20, .2);
    translate: 0 var(--py, 0px);
    transition: transform .45s var(--rig-ease), box-shadow .45s var(--rig-ease);
}
.resp-photo img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform .9s var(--rig-ease);
}
.resp-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .34) 50%, transparent 65%);
    transform: translateX(-120%);
    pointer-events: none;
}
@media (hover: hover) {
    .resp-photo:hover { transform: translateY(-8px); box-shadow: 0 22px 44px rgba(60, 45, 20, .3), 0 0 0 1px rgba(184, 128, 15, .6); }
    .resp-photo:hover img { transform: scale(1.06); }
    .resp-photo:hover::after { transform: translateX(120%); transition: transform .9s var(--rig-ease); }
}
.resp-photo:active { transform: scale(.985); }

/* ---- entrance animation (added only when JS runs) ---- */
@keyframes respRise { from { transform: translateY(115%); } to { transform: none; } }
@keyframes respRow { from { opacity: 0; transform: translateX(-26px); } to { opacity: 1; transform: none; } }
@keyframes respPop { from { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.18); opacity: 1; } to { transform: none; } }
@keyframes respTable { from { clip-path: inset(0 100% 0 0 round 7px); } to { clip-path: inset(0 0 0 0 round 7px); } }
@keyframes respRule { from { background-size: 0 1px, 0 1px; } to { background-size: 100% 1px, 100% 1px; } }
@keyframes respPhoto { from { opacity: 0; transform: translateX(60px) scale(.96); clip-path: inset(0 0 0 100% round 9px); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 9px); } }
@keyframes respPhotoUp { from { opacity: 0; transform: translateY(40px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes respSheen { from { transform: translateX(-120%); } to { transform: translateX(120%); } }

.respirator.rigs-anim .resp-label::before,
.respirator.rigs-anim .resp-label::after { transform: scaleX(0); }
.respirator.rigs-anim .resp-label span { opacity: 0; background-size: 0 1px, 0 1px; }
.respirator.rigs-anim .rt-in { transform: translateY(115%); }
.respirator.rigs-anim .resp-text > p,
.respirator.rigs-anim .resp-table,
.respirator.rigs-anim .resp-table li,
.respirator.rigs-anim .resp-photo { opacity: 0; }

.respirator.rigs-anim.is-in .resp-label::before { transform: none; animation: rigLine .6s var(--rig-ease) backwards; }
.respirator.rigs-anim.is-in .resp-label span { opacity: 1; background-size: 100% 1px, 100% 1px; animation: rigFade .6s var(--rig-ease) .15s backwards, respRule .9s var(--rig-ease) .15s backwards; }
.respirator.rigs-anim.is-in .resp-label::after { transform: none; animation: rigLine 1s var(--rig-ease) .5s backwards; }
.respirator.rigs-anim.is-in .rt-in { transform: none; animation: respRise 1s var(--rig-ease) .35s backwards; }
.respirator.rigs-anim.is-in em .rt-in { animation-delay: .5s; }
.respirator.rigs-anim.is-in .resp-text > p { opacity: 1; animation: rigFade .9s var(--rig-ease) .75s backwards; }
.respirator.rigs-anim.is-in .resp-table { opacity: 1; animation: respTable .9s var(--rig-ease) .95s backwards; }
.respirator.rigs-anim.is-in .resp-table li { opacity: 1; animation: respRow .7s var(--rig-ease) calc(1.05s + var(--r) * .12s) backwards; }
.respirator.rigs-anim.is-in .resp-table b { animation: respPop .6s var(--rig-ease) calc(1.2s + var(--r) * .12s) backwards; }
.respirator.rigs-anim.is-in .resp-photo { opacity: 1; animation: respPhoto 1.1s var(--rig-ease) calc(.5s + var(--i) * .2s) backwards; }
.respirator.rigs-anim.is-in .resp-photo img { animation: rigZoom 1.6s var(--rig-ease) calc(.5s + var(--i) * .2s) backwards; }
.respirator.rigs-anim.is-in .resp-photo::after { animation: respSheen 1.4s ease-in-out calc(1.4s + var(--i) * .2s) 1 both; }

/* ---- responsive ---- */
@media (max-width: 1000px) {
    .respirator .wrap { width: calc(100% - 48px); }
    .resp-layout { grid-template-columns: minmax(0, 1fr); gap: 38px; align-items: start; }
    .respirator .resp-text > p { max-width: 36em; }
    .resp-photos { max-width: 700px; }
    .respirator .resp-table { width: min(100%, 400px); }
    .respirator.rigs-anim.is-in .resp-photo { animation-name: respPhotoUp; animation-duration: .95s; }
}
@media (max-width: 560px) {
    .respirator { padding: 44px 0 52px; }
    .respirator .wrap { width: calc(100% - 36px); }
    .resp-label { margin-bottom: 26px; }
    .resp-label::after { width: 40px; }
    .respirator .resp-title { font-size: 28px; }
    .respirator .resp-text > p { line-height: 1.55; }
    .respirator .resp-table { width: 100%; }
    .respirator .resp-table li { grid-template-columns: 34px minmax(0, .85fr) minmax(0, 1.15fr); }
    .respirator .resp-table span { padding: 9px 10px; }
    .resp-layout { gap: 30px; }
    .resp-photos { gap: 10px; }
}
@media (max-width: 360px) {
    .respirator .resp-title { font-size: 25px; }
    .respirator .resp-table { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .respirator.rigs-anim .resp-text > p,
    .respirator.rigs-anim .resp-table,
    .respirator.rigs-anim .resp-table li,
    .respirator.rigs-anim .resp-photo,
    .respirator.rigs-anim .resp-label span { opacity: 1; }
    .respirator.rigs-anim .rt-in { transform: none; }
    .respirator.rigs-anim .resp-label span { background-size: 100% 1px, 100% 1px; }
    .respirator.rigs-anim .resp-label::before,
    .respirator.rigs-anim .resp-label::after { transform: none; }
    .resp-photo, .resp-photo img { transition: none; translate: none; }
}
@media print {
    .respirator.rigs-anim .resp-text > p, .respirator.rigs-anim .resp-table, .respirator.rigs-anim .resp-table li,
    .respirator.rigs-anim .resp-photo, .respirator.rigs-anim .resp-label span { opacity: 1; }
    .respirator.rigs-anim .rt-in { transform: none; }
    .respirator.rigs-anim .resp-label span { background-size: 100% 1px, 100% 1px; }
}


/* ==========================================================
   Test rig · ASTM D6646  +  Pilot lab & filter material testing
   ========================================================== */
.h2s,
.pilot {
    --rig-ease: cubic-bezier(.2, .75, .25, 1);
    font-family: "Outfit", "Gothic A1 Local", "Gothic A1", sans-serif;
    color: #0b0b0b;
}
.h2s { padding: clamp(44px, 4.6vw, 66px) 0 clamp(48px, 7vw, 100px); background: #f5f1ea; }
.pilot { padding: clamp(44px, 5.6vw, 80px) 0 clamp(48px, 6vw, 88px); background: #fff; }

/* shared label: gold stub · text with gold underline · long tan rule */
.sec-label {
    display: flex;
    align-items: center;
    margin: 0 0 clamp(26px, 3.4vw, 48px);
    text-transform: uppercase;
    font-size: clamp(11.5px, .9vw, 13px);
    font-weight: 700;
    letter-spacing: .03em;
    line-height: 1.2;
    color: #0b0b0b;
}
.sec-label::before { content: ""; width: clamp(14px, 1.2vw, 18px); height: 1px; background: var(--gold); transform-origin: left center; }
.sec-label::after { content: ""; flex: 1; height: 1px; background: #d2bf8f; transform-origin: left center; }
.sec-label span { padding: 0 8px 7px; border-bottom: 1px solid var(--gold); }

.sec-title {
    margin: 0;
    font-family: "Outfit", "Gothic A1 Local", sans-serif;
    font-size: clamp(27px, 2.35vw, 34px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -.01em;
    color: #0b0b0b;
}
.sec-title em { font-style: normal; color: var(--gold); }
.h2s sub, .pilot sub { font-size: .66em; line-height: 0; vertical-align: -.2em; }

/* ---------- ASTM D6646 ---------- */
.h2s .sec-title { text-align: center; }
.h2s .h2s-lead {
    max-width: 47em;
    margin: clamp(10px, 1.1vw, 16px) auto clamp(22px, 2.6vw, 38px);
    text-align: center;
    font-size: clamp(13.5px, 1.03vw, 15px);
    font-weight: 300;
    line-height: 1.85;
    color: #1d1d1d;
}
.h2s-board { max-width: 1080px; margin: 0 auto; display: grid; gap: clamp(8px, .9vw, 13px); }
.h2s .h2s-setup {
    margin: 0;
    padding: clamp(10px, 1vw, 14px) clamp(14px, 1.8vw, 26px);
    border-radius: 6px;
    background: #050505;
    text-align: center;
    font-size: clamp(12px, .92vw, 13.5px);
    font-weight: 300;
    line-height: 1.6;
    color: #fff;
}
.h2s .h2s-setup strong { font-weight: 700; }
.h2s-facts { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(8px, .9vw, 13px); }
.h2s .h2s-fact {
    margin: 0;
    padding: clamp(14px, 1.5vw, 21px) 14px;
    border-radius: 6px;
    text-align: center;
    font-size: clamp(13.5px, 1.03vw, 15px);
    font-weight: 600;
    line-height: 1.4;
    color: #0b0b0b;
    transition: transform .4s var(--rig-ease), box-shadow .4s var(--rig-ease);
}
.h2s .h2s-fact b { font-weight: 600; }
.h2s .is-blue { background: #c6d9ee; }
.h2s .is-blue b { color: #2c6cb8; }
.h2s .is-green { background: #a9d0c0; }
.h2s .is-green b { color: #1f9a73; }
.h2s-shots { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(8px, .9vw, 13px); }
.h2s-shots figure {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(30, 25, 10, .12);
    transition: transform .45s var(--rig-ease), box-shadow .45s var(--rig-ease);
}
.h2s-shots img { display: block; width: 100%; height: 100%; aspect-ratio: 557 / 280; object-fit: cover; transition: transform .9s var(--rig-ease); }
@media (hover: hover) {
    .h2s .h2s-fact:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(20, 30, 40, .16); }
    .h2s-shots figure:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(30, 25, 10, .24); }
    .h2s-shots figure:hover img { transform: scale(1.05); }
}

/* ---------- Pilot lab ---------- */
.pilot .sec-title { margin-bottom: clamp(24px, 3vw, 44px); }
.pilot-cards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.1vw, 30px); align-items: stretch; }
.pilot-card {
    display: flex;
    flex-direction: column;
    padding: clamp(22px, 3.6vw, 52px);
    border: 1px solid #ececec;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .07);
    transition: transform .45s var(--rig-ease), box-shadow .45s var(--rig-ease);
}
.pilot-card.is-dark { background: #050505; border-color: #050505; color: #fff; }
.pilot-card h3 {
    margin: 0 0 clamp(8px, .9vw, 12px);
    font-family: "Outfit", "Gothic A1 Local", sans-serif;
    font-size: clamp(19px, 1.5vw, 22px);
    font-weight: 600;
    line-height: 1.2;
}
.pilot-card p {
    margin: 0;
    max-width: 36em;
    font-size: clamp(12.5px, .93vw, 13.5px);
    font-weight: 300;
    line-height: 1.65;
    color: #4a4a4a;
}
.pilot-card.is-dark p { color: #d9d9d9; }
.pilot-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 8px; margin: clamp(16px, 1.8vw, 26px) 0 0; padding: 0; list-style: none; }
.pilot-tags li { display: flex; align-items: center; gap: 8px; margin: 0; font-size: inherit; }
.pilot-tags li:nth-child(-n+2)::after { content: "•"; font-size: 14px; line-height: 1; color: #222; }
.pilot-tags span {
    display: block;
    padding: 8px 16px;
    border-radius: 999px;
    background: #e6e6e6;
    font-size: clamp(11.5px, .85vw, 12.5px);
    font-weight: 400;
    line-height: 1.2;
    color: #222;
    transition: background .3s, color .3s;
}
.pilot-card .pilot-chip {
    display: block;
    align-self: stretch;
    margin: clamp(16px, 1.8vw, 26px) 0 0;
    padding: clamp(12px, 1.3vw, 18px) 16px;
    border: 1px solid var(--gold);
    border-radius: 999px;
    text-align: center;
    font-size: clamp(13px, 1.03vw, 15px);
    font-weight: 600;
    line-height: 1.3;
    color: #fff;
}
.pilot-chip b { color: #e0a82a; font-weight: 700; }
.pilot-shots { display: grid; gap: clamp(8px, .75vw, 11px); margin-top: auto; padding-top: clamp(20px, 2.4vw, 34px); }
.pilot-shots.is-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pilot-shots.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(8px, 1.05vw, 15px); }
.pilot-shots img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 9px;
    transition: transform .6s var(--rig-ease), box-shadow .6s var(--rig-ease);
}
@media (hover: hover) {
    .pilot-card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(0, 0, 0, .14); }
    .pilot-card.is-dark:hover { box-shadow: 0 20px 44px rgba(0, 0, 0, .35), 0 0 0 1px rgba(184, 135, 22, .5); }
    .pilot-shots img:hover { transform: scale(1.05); box-shadow: 0 10px 22px rgba(0, 0, 0, .25); }
    .pilot-tags span:hover { background: var(--gold); color: #fff; }
}

/* ---------- entrance animation ---------- */
@keyframes secWipe { from { clip-path: inset(0 100% 0 0 round 6px); } to { clip-path: inset(0 0 0 0 round 6px); } }
@keyframes secPop { from { opacity: 0; transform: scale(.82); } to { opacity: 1; transform: none; } }
@keyframes secFromL { from { opacity: 0; transform: translateX(-60px); clip-path: inset(0 100% 0 0 round 6px); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 6px); } }
@keyframes secFromR { from { opacity: 0; transform: translateX(60px); clip-path: inset(0 0 0 100% round 6px); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 6px); } }
@keyframes chipGlow { 0%, 100% { box-shadow: 0 0 0 0 rgba(184, 135, 22, 0); } 50% { box-shadow: 0 0 0 6px rgba(184, 135, 22, .18); } }

.h2s.rigs-anim .sec-label::before, .h2s.rigs-anim .sec-label::after,
.pilot.rigs-anim .sec-label::before, .pilot.rigs-anim .sec-label::after { transform: scaleX(0); }
.h2s.rigs-anim .sec-label span, .pilot.rigs-anim .sec-label span { opacity: 0; border-bottom-color: transparent; }
.h2s.rigs-anim .h2s-lead, .h2s.rigs-anim .h2s-setup, .h2s.rigs-anim .h2s-fact, .h2s.rigs-anim .h2s-shots figure,
.pilot.rigs-anim .pilot-card, .pilot.rigs-anim .pilot-tags li, .pilot.rigs-anim .pilot-shots img { opacity: 0; }

.h2s.rigs-anim.is-in .sec-label::before, .pilot.rigs-anim.is-in .sec-label::before { transform: none; animation: rigLine .6s var(--rig-ease) backwards; }
.h2s.rigs-anim.is-in .sec-label::after, .pilot.rigs-anim.is-in .sec-label::after { transform: none; animation: rigLine 1.3s var(--rig-ease) .2s backwards; }
.h2s.rigs-anim.is-in .sec-label span, .pilot.rigs-anim.is-in .sec-label span { opacity: 1; border-bottom-color: var(--gold); animation: rigFade .7s var(--rig-ease) .15s backwards; transition: border-color .8s ease .6s; }

.h2s.rigs-anim.is-in .h2s-lead { opacity: 1; animation: rigFade .9s var(--rig-ease) .45s backwards; }
.h2s.rigs-anim.is-in .h2s-setup { opacity: 1; animation: secWipe 1s var(--rig-ease) .65s backwards; }
.h2s.rigs-anim.is-in .h2s-fact { opacity: 1; animation: rigUp .85s var(--rig-ease) calc(.95s + var(--k, 0) * .15s) backwards; }
.h2s.rigs-anim.is-in .h2s-fact.is-green { --k: 1; }
.h2s.rigs-anim.is-in .h2s-shots figure:nth-child(1) { opacity: 1; animation: secFromL 1.1s var(--rig-ease) 1.2s backwards; }
.h2s.rigs-anim.is-in .h2s-shots figure:nth-child(2) { opacity: 1; animation: secFromR 1.1s var(--rig-ease) 1.35s backwards; }
.h2s.rigs-anim.is-in .h2s-shots img { animation: rigZoom 1.6s var(--rig-ease) 1.2s backwards; }

.pilot.rigs-anim.is-in .pilot-card { opacity: 1; animation: rigUp .95s var(--rig-ease) calc(.4s + var(--i) * .18s) backwards; }
.pilot.rigs-anim.is-in .pilot-tags li { opacity: 1; animation: secPop .55s var(--rig-ease) calc(.9s + var(--t) * .1s) backwards; }
.pilot.rigs-anim.is-in .pilot-shots img { opacity: 1; animation: rigUp .8s var(--rig-ease) calc(1.1s + var(--n, 0) * .12s) backwards; }
.pilot.rigs-anim.is-in .pilot-shots img:nth-child(2) { --n: 1; }
.pilot.rigs-anim.is-in .pilot-shots img:nth-child(3) { --n: 2; }
.pilot.rigs-anim.is-in .pilot-card.is-dark .pilot-shots img { animation-delay: calc(1.25s + var(--n, 0) * .14s); }
.pilot.rigs-anim.is-in .pilot-chip { animation: chipGlow 3.2s ease-in-out 2s infinite; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
    .pilot-cards { grid-template-columns: 1fr; }
    .pilot-card p { max-width: none; }
}
@media (max-width: 640px) {
    .sec-label { margin-bottom: 24px; }
    .sec-label span { padding: 0 6px 6px; }
    .h2s .sec-title { font-size: 27px; }
    .h2s .h2s-lead { line-height: 1.7; margin-bottom: 22px; }
    .h2s-facts, .h2s-shots { grid-template-columns: 1fr; }
    .h2s .h2s-setup { text-align: left; font-size: 12.5px; }
    .h2s .h2s-fact { padding: 14px 12px; }
    .pilot .sec-title { font-size: 27px; }
    .pilot-card { padding: 22px 18px 20px; border-radius: 10px; }
    .pilot-tags { gap: 8px; }
    .pilot-tags li::after { display: none; }
    .pilot-tags span { padding: 7px 13px; }
    .pilot-shots { padding-top: 22px; }
    .pilot-shots.is-three { gap: 7px; }
    .pilot-shots.is-two { gap: 9px; }
    .pilot-shots img { border-radius: 7px; }
    .h2s.rigs-anim.is-in .h2s-shots figure:nth-child(1),
    .h2s.rigs-anim.is-in .h2s-shots figure:nth-child(2) { animation-name: rigUp; animation-duration: .9s; }
}
@media (max-width: 360px) {
    .h2s .sec-title, .pilot .sec-title { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
    .h2s.rigs-anim .h2s-lead, .h2s.rigs-anim .h2s-setup, .h2s.rigs-anim .h2s-fact, .h2s.rigs-anim .h2s-shots figure,
    .pilot.rigs-anim .pilot-card, .pilot.rigs-anim .pilot-tags li, .pilot.rigs-anim .pilot-shots img,
    .h2s.rigs-anim .sec-label span, .pilot.rigs-anim .sec-label span { opacity: 1; }
    .h2s.rigs-anim .sec-label::before, .h2s.rigs-anim .sec-label::after,
    .pilot.rigs-anim .sec-label::before, .pilot.rigs-anim .sec-label::after { transform: none; }
    .pilot-card, .h2s-shots figure, .h2s-shots img, .pilot-shots img, .h2s .h2s-fact { transition: none; }
}
@media print {
    .h2s.rigs-anim .h2s-lead, .h2s.rigs-anim .h2s-setup, .h2s.rigs-anim .h2s-fact, .h2s.rigs-anim .h2s-shots figure,
    .pilot.rigs-anim .pilot-card, .pilot.rigs-anim .pilot-tags li, .pilot.rigs-anim .pilot-shots img,
    .h2s.rigs-anim .sec-label span, .pilot.rigs-anim .sec-label span { opacity: 1; }
    .h2s.rigs-anim .sec-label span, .pilot.rigs-anim .sec-label span { border-bottom-color: var(--gold); }
    .h2s.rigs-anim .sec-label::before, .h2s.rigs-anim .sec-label::after,
    .pilot.rigs-anim .sec-label::before, .pilot.rigs-anim .sec-label::after { transform: none; }
}


/* ==========================================================
   Service portals · Client testing flow · CTA
   ========================================================== */
.rd-page { --rig-ease: cubic-bezier(.2, .75, .25, 1); }
.portals,
.rd-cta { font-family: "Outfit", "Gothic A1 Local", "Gothic A1", sans-serif; color: #0b0b0b; background: #ece7e0; }
.portals { padding: clamp(44px, 4.8vw, 70px) 0 clamp(30px, 3.4vw, 48px); }
.portals .sec-title,
.rd-cta .cta-title { font-family: "Roboto", "Outfit", sans-serif; font-weight: 700; text-align: center; }
.portals .sec-title { font-size: clamp(26px, 2.35vw, 34px); letter-spacing: -.015em; }

/* portal cards */
.portal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(14px, 1.9vw, 27px);
    max-width: 1020px;
    margin: clamp(26px, 3.6vw, 52px) auto 0;
}
.portal-card {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 497 / 263;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(50, 38, 20, .16);
    color: #0b0b0b;
    text-decoration: none;
    transition: transform .45s var(--rig-ease), box-shadow .45s var(--rig-ease);
}
.portal-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--rig-ease); }
.portal-card h3 {
    position: absolute;
    left: clamp(16px, 2.8vw, 40px);
    right: clamp(56px, 7vw, 100px);
    bottom: clamp(16px, 2.3vw, 33px);
    margin: 0;
    font-family: "Roboto", "Outfit", sans-serif;
    font-size: clamp(16px, 1.66vw, 24px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.01em;
}
.portal-arrow {
    position: absolute;
    right: clamp(14px, 3vw, 43px);
    bottom: clamp(16px, 2.3vw, 33px);
    display: grid;
    place-items: center;
    width: clamp(24px, 2.1vw, 30px);
    height: clamp(24px, 2.1vw, 30px);
    border: 1px solid #111;
    border-radius: 50%;
    transition: background .3s, transform .4s var(--rig-ease), border-color .3s;
}
.portal-arrow svg { width: 56%; height: 56%; fill: none; stroke: #111; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.portal-card:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
@media (hover: hover) {
    .portal-card:hover { transform: translateY(-7px); box-shadow: 0 18px 36px rgba(50, 38, 20, .28); }
    .portal-card:hover img { transform: scale(1.07); }
    .portal-card:hover .portal-arrow { background: #111; transform: translateX(4px); }
    .portal-card:hover .portal-arrow svg { stroke: #fff; }
}
.portal-card:active { transform: scale(.985); }

/* client testing flow */
.portals .flow-title { margin-top: clamp(40px, 5vw, 72px); }
.flow-steps {
    --ic: clamp(44px, 3.9vw, 56px);
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    max-width: 900px;
    margin: clamp(24px, 2.8vw, 40px) auto 0;
    padding: 0;
    list-style: none;
}
.flow-steps::before {
    content: "";
    position: absolute;
    top: calc(var(--ic) / 2);
    left: calc(100% / 12);
    right: calc(100% / 12);
    height: 1px;
    background: #c4bcb0;
    transform-origin: left center;
}
.flow-step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 0; text-align: center; }
.flow-icon {
    display: grid;
    place-items: center;
    width: var(--ic);
    height: var(--ic);
    border-radius: 50%;
    background: #050505;
    color: #fff;
    transition: transform .4s var(--rig-ease), background .3s;
}
.flow-icon svg { width: 46%; height: 46%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.flow-label { font-size: clamp(11px, .85vw, 12.5px); font-weight: 400; line-height: 1.4; color: #1a1a1a; }
@media (hover: hover) {
    .flow-step:hover .flow-icon { transform: translateY(-5px) scale(1.08); background: var(--gold); }
}
.portals .flow-note {
    max-width: 853px;
    margin: clamp(28px, 3.6vw, 52px) auto 0;
    padding: clamp(14px, 1.6vw, 22px) 18px;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(40, 30, 10, .07);
    text-align: center;
    font-size: clamp(13.5px, 1.18vw, 17px);
    font-weight: 600;
    line-height: 1.4;
    color: #0b0b0b;
}

/* CTA */
.rd-cta { padding: clamp(34px, 4.6vw, 68px) 0 clamp(44px, 6vw, 88px); text-align: center; }
.rd-cta .cta-title { margin: 0; font-size: clamp(21px, 2.35vw, 34px); line-height: 1.25; letter-spacing: -.005em; color: #0b0b0b; }
.rd-cta .cta-title span { display: block; }
.rd-cta .cta-link { display: inline-block; font-size: inherit; font-weight: inherit; color: var(--gold); text-decoration: none; transition: color .3s, letter-spacing .4s var(--rig-ease); }
.rd-cta .cta-consult {
    position: relative;
    display: inline-block;
    margin-top: clamp(30px, 4.2vw, 62px);
    padding-bottom: 6px;
    font-size: clamp(11.5px, .87vw, 12.5px);
    font-weight: 500;
    letter-spacing: .05em;
    text-transform: uppercase;
    text-decoration: none;
    color: #0b0b0b;
    transition: color .3s;
}
.rd-cta .cta-consult::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform-origin: left center; transition: transform .4s var(--rig-ease); }
@media (hover: hover) {
    .rd-cta .cta-link:hover { color: #0b0b0b; }
    .rd-cta .cta-consult:hover { color: var(--gold); }
    .rd-cta .cta-consult:hover::after { transform: scaleX(.55); }
}

/* ==========================================================
   Page-wide section animations (hero, overview, gases, portals, cta, footer)
   ========================================================== */
@keyframes heroIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes arrowBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@keyframes cardIn { from { opacity: 0; translate: 0 40px; scale: .92; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes iconPop { 0% { opacity: 0; transform: scale(.3) rotate(-25deg); } 70% { opacity: 1; transform: scale(1.14) rotate(4deg); } 100% { opacity: 1; transform: none; } }
@keyframes rowIn { from { opacity: 0; translate: -18px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes lineDown { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes portalIn { from { opacity: 0; transform: translateY(46px); clip-path: inset(100% 0 0 0 round 6px); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 6px); } }
@keyframes noteIn { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }

/* hero (runs on load) */
.rd-page .rd-hero .hero-content > p:nth-of-type(2) { animation: heroIn 1s var(--rig-ease) .85s backwards; }
.rd-hero .down-link { animation: heroIn 1s var(--rig-ease) 1.15s backwards; }
.rd-hero .down-link b { animation: arrowBob 1.9s ease-in-out 2.4s infinite; }

/* Standard tests on every grade */
.test-overview.rigs-anim .flip-card, .test-overview.rigs-anim .test-grid b { opacity: 0; }
.test-overview.rigs-anim.is-in .flip-card { opacity: 1; animation: cardIn .85s var(--rig-ease) calc(.2s + var(--c) * .08s) backwards; }
.test-overview.rigs-anim.is-in .test-grid b { opacity: 1; animation: iconPop .7s var(--rig-ease) calc(.55s + var(--c) * .08s) backwards; }

/* Tested against real target gases */
.target-gases.rigs-anim::before, .target-gases.rigs-anim::after { transform: scaleY(0); transform-origin: top; }
.target-gases.rigs-anim.is-in::before, .target-gases.rigs-anim.is-in::after { transform: none; animation: lineDown 1.8s var(--rig-ease) backwards; }
.target-gases.rigs-anim .gas-hero .section-label::before, .target-gases.rigs-anim .gas-hero .section-label::after { transform: scaleX(0); transform-origin: left center; }
.target-gases.rigs-anim.is-in .gas-hero .section-label::before { transform: none; animation: rigLine .7s var(--rig-ease) backwards; }
.target-gases.rigs-anim.is-in .gas-hero .section-label::after { transform: none; animation: rigLine 1s var(--rig-ease) .2s backwards; }
/* gas card animations now live in the "Gas cards" block at the end of this file (per-card scroll reveal) */

/* Service portals */
.portals.rigs-anim .portal-card, .portals.rigs-anim .portal-card h3, .portals.rigs-anim .portal-arrow,
.portals.rigs-anim .flow-icon, .portals.rigs-anim .flow-label, .portals.rigs-anim .flow-note { opacity: 0; }
.portals.rigs-anim .flow-steps::before { transform: scaleX(0); }
.portals.rigs-anim.is-in .portal-card { opacity: 1; animation: portalIn 1s var(--rig-ease) calc(.2s + var(--i) * .14s) backwards; }
.portals.rigs-anim.is-in .portal-card img { animation: rigZoom 1.7s var(--rig-ease) calc(.2s + var(--i) * .14s) backwards; }
.portals.rigs-anim.is-in .portal-card h3 { opacity: 1; animation: rigFade .8s var(--rig-ease) calc(.7s + var(--i) * .14s) backwards; }
.portals.rigs-anim.is-in .portal-arrow { opacity: 1; animation: iconPop .7s var(--rig-ease) calc(.9s + var(--i) * .14s) backwards; }
.portals.rigs-anim.is-in .flow-steps::before { transform: none; animation: rigLine 1.5s var(--rig-ease) .3s backwards; }
.portals.rigs-anim.is-in .flow-icon { opacity: 1; animation: iconPop .7s var(--rig-ease) calc(.35s + var(--s) * .2s) backwards; }
.portals.rigs-anim.is-in .flow-label { opacity: 1; animation: rigFade .7s var(--rig-ease) calc(.6s + var(--s) * .2s) backwards; }
.portals.rigs-anim.is-in .flow-note { opacity: 1; animation: noteIn .9s var(--rig-ease) 1.7s backwards; }

/* CTA */
.rd-cta.rigs-anim .cta-title span, .rd-cta.rigs-anim .cta-link, .rd-cta.rigs-anim .cta-consult { opacity: 0; }
.rd-cta.rigs-anim .cta-consult::after { transform: scaleX(0); }
.rd-cta.rigs-anim.is-in .cta-title span { opacity: 1; animation: rigUp .9s var(--rig-ease) .1s backwards; }
.rd-cta.rigs-anim.is-in .cta-link { opacity: 1; animation: rigUp .9s var(--rig-ease) .3s backwards; }
.rd-cta.rigs-anim.is-in .cta-consult { opacity: 1; animation: rigFade .8s var(--rig-ease) .7s backwards; }
.rd-cta.rigs-anim.is-in .cta-consult::after { transform: none; animation: rigLine .9s var(--rig-ease) 1s backwards; }

/* Footer */
footer.rigs-anim .footer-grid > * { opacity: 0; }
footer.rigs-anim.is-in .footer-grid > * { opacity: 1; animation: rigUp .85s var(--rig-ease) calc(var(--c) * .09s) backwards; }

/* ---------- responsive ---------- */
@media (max-width: 700px) {
    .portal-grid { grid-template-columns: 1fr; max-width: 520px; }
    .portal-card h3 { font-size: 19px; }
    .portal-arrow { width: 28px; height: 28px; }
    .flow-steps { --ic: 52px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 6px; max-width: 460px; }
    .flow-steps::before { display: none; }
    .flow-label { font-size: 12.5px; }
    .portals .flow-note { font-size: 14px; }
    .rd-cta .cta-title { font-size: 21px; }
}
@media (max-width: 360px) {
    .portal-card h3 { font-size: 17px; }
    .rd-cta .cta-title { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
    .rd-hero .down-link b { animation: none; }
}

/* R&D hero: keep the home-page mobile "card" style from styles.css from leaking in */
.rd-page .rd-hero .hero-content {
    align-self: center;
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
@media (max-width: 560px) {
    .rd-page .rd-hero { min-height: 520px; }
    .rd-page .rd-hero .hero-content { padding-top: 70px; padding-bottom: 40px; }
    .rd-page .rd-hero p { max-width: 320px; }
}


/* ==========================================================
   Gas cards — "Tested against real target gases"
   Organic / Inorganic / Acidic / Basic (matches design reference)
   ========================================================== */
.target-gases .gas-content { position: relative; padding: 37px 0 0; }

/* thin coral rules that run down both edges of the card area */
.target-gases .gas-content::before,
.target-gases .gas-content::after {
    content: ""; position: absolute; top: 0; bottom: 0; width: 1px; z-index: 3;
     opacity: .85; pointer-events: none; transform-origin: top;
}
.target-gases .gas-content::before { left: -2px; }
.target-gases .gas-content::after { right: -2px; }

.target-gases .gas-cards {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch;
}
.target-gases .gas-cards article {
    display: flex; flex-direction: column; min-height: 0; padding: 0; overflow: hidden;
    background: #fff; border: 1px solid #e7edef; border-radius: 6px;
    box-shadow: 0 1px 7px rgba(20, 40, 50, .13);
    transition: transform .35s var(--rig-ease), box-shadow .35s var(--rig-ease);
}
.target-gases .gas-cards article:hover { transform: translateY(-5px); box-shadow: 0 14px 26px rgba(20, 40, 50, .16); }

.target-gases .gas-media { position: relative; line-height: 0; }
.target-gases .gas-media img {
    display: block; width: 100%; height: auto; margin: 0; border-radius: 0; aspect-ratio: 308 / 128;
    transition: transform .6s var(--rig-ease);
}
.target-gases .gas-cards article:hover .gas-media img { transform: scale(1.06); }
.target-gases .gas-media h3 {
    position: absolute; left: 16px; bottom: 20px; margin: 0; padding: 0; z-index: 1;
    font-family: "Outfit", "Gothic A1 Local", sans-serif; font-size: 16px; font-weight: 500;
    line-height: 1; letter-spacing: 0; color: #111;
}

.target-gases .gas-cards dl {
    display: grid; grid-template-columns: 1fr auto; align-content: start; flex: 1;
    margin: 0; padding: 8px 16px 18px;
}
.target-gases .gas-cards dt,
.target-gases .gas-cards dd {
    padding: 6px 0; border-bottom: 1px solid #e3e6e8; line-height: 1.2;
    font-family: "Outfit", "Gothic A1 Local", sans-serif; font-size: 12.5px; color: #1d1d1d;
}
.target-gases .gas-cards dt { padding-right: 12px; font-weight: 400; }
.target-gases .gas-cards dd { margin: 0; text-align: right; font-weight: 400; white-space: nowrap; font-variant-numeric: tabular-nums; }
.target-gases .gas-cards dd .n { font-weight: 600; }

.target-gases .small-note {
    margin: 36px 0 0; padding: 14px 0 6px; border-top: 1px solid #e2e6e8;
    font-family: "Outfit", "Gothic A1 Local", sans-serif; font-size: 11px; line-height: 1.5; color: #1d1d1d;
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
    .target-gases .gas-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
@media (max-width: 560px) {
    .target-gases .gas-content { padding-top: 26px; }
    .target-gases .gas-cards { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .target-gases .gas-media h3 { font-size: 17px; left: 18px; bottom: 22px; }
    .target-gases .gas-cards dl { padding: 8px 18px 18px; }
    .target-gases .gas-cards dt, .target-gases .gas-cards dd { font-size: 14px; padding: 8px 0; }
    .target-gases .small-note { margin-top: 26px; font-size: 12px; }
}

/* ---------- scroll animation (classes are added by JS, so no-JS / reduced-motion stays fully visible) ---------- */
@keyframes gasMol  { from { opacity: 0; transform: translateY(14px) scale(.86) rotate(-5deg); } to { opacity: 1; transform: none; } }
@keyframes gasHead { from { opacity: 0; translate: -16px 0; } to { opacity: 1; translate: 0 0; } }

.gas-cards.gc-anim article,
.gas-cards.gc-anim .gas-media img,
.gas-cards.gc-anim .gas-media h3,
.gas-cards.gc-anim dt,
.gas-cards.gc-anim dd,
.gas-cards.gc-anim ~ .small-note { opacity: 0; }

.gas-cards.gc-anim article.gc-in { opacity: 1; animation: cardIn .9s var(--rig-ease) calc(var(--c, 0) * .14s) backwards; }
.gas-cards.gc-anim article.gc-in .gas-media img { opacity: 1; animation: gasMol 1.3s var(--rig-ease) calc(.2s + var(--c, 0) * .14s) backwards; }
.gas-cards.gc-anim article.gc-in .gas-media h3 { opacity: 1; animation: gasHead .7s var(--rig-ease) calc(.45s + var(--c, 0) * .14s) backwards; }
.gas-cards.gc-anim article.gc-in dt,
.gas-cards.gc-anim article.gc-in dd { opacity: 1; animation: rowIn .6s var(--rig-ease) calc(.55s + var(--c, 0) * .14s + var(--r, 0) * .09s) backwards; }
.gas-cards.gc-anim ~ .small-note.gc-in { opacity: 1; animation: rigFade .8s var(--rig-ease) .1s backwards; }

.gas-content.gc-lines::before,
.gas-content.gc-lines::after { transform: scaleY(0); }
.gas-content.gc-lines.gc-in::before,
.gas-content.gc-lines.gc-in::after { transform: scaleY(1); transition: transform 1.8s var(--rig-ease); }
