/* ===========================================================================
   TYSR — Asbestos Surveying & Consultancy
   Clean, corporate, content-first. One typeface (Plus Jakarta Sans), one
   brand blue, generous white space. Simplicity & clarity as the design.
   ========================================================================= */

:root {
    --bg:        #ffffff;
    --bg-soft:   #f6f8fb;
    --ink:       #0f1b2d;   /* near-black slate */
    --ink-soft:  #44516a;
    --muted:     #6b7689;
    --line:      #e4e9f1;
    --line-2:    #d3dae6;

    --brand:     #0b3b4a;   /* deep teal */
    --brand-dk:  #072833;
    --brand-tint:#e7eff2;
    --hi:        rgb(230, 227, 109);   /* yellow highlight */
    --navy:      #072b36;   /* dark sections */
    --navy-2:    #093743;
    --ok:        #1f9d6b;

    --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    --maxw: 1160px;
    --pad:  clamp(1.25rem, 4vw, 3.5rem);
    --radius: 14px;
    --shadow: 0 1px 2px rgba(15,27,45,.04), 0 12px 30px -18px rgba(15,27,45,.18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--ink);
    font-size: 17px;
    line-height: 1.62;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 3px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 1000; }
.skip:focus { left: 0; }

/* ---- type ---------------------------------------------------------------- */
.h-display {
    font-size: clamp(2.5rem, 6vw, 4.4rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -.025em;
}
.h-display .accent { color: var(--brand); }
.h-section {
    font-size: clamp(1.8rem, 3.6vw, 2.7rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.02em;
    max-width: 20ch;
}
.eyebrow {
    font-size: .8rem; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 1rem;
}
.section-sub { font-size: 1.12rem; color: var(--ink-soft); max-width: 56ch; margin-top: 1.1rem; }
.section-sub strong { color: var(--ink); font-weight: 700; }

/* prominent callout bubble */
.callout {
    position: relative;
    margin-top: 1.8rem;
    background: var(--brand); color: #fff;
    padding: 1.3rem 1.6rem; border-radius: 16px;
    font-size: 1.15rem; line-height: 1.5; max-width: 52ch;
    box-shadow: 0 16px 34px -20px rgba(11,59,74,.7);
}
.callout strong { color: var(--hi); font-weight: 800; }
.callout::after {
    content: ""; position: absolute; left: 38px; bottom: -11px;
    border-style: solid; border-width: 12px 10px 0 10px;
    border-color: var(--brand) transparent transparent transparent;
}

/* ---- buttons ------------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; gap: .5rem;
    font-family: inherit; font-weight: 600; font-size: .98rem;
    padding: .85rem 1.5rem; border-radius: 9px;
    background: var(--brand); color: #fff; border: 1.5px solid var(--brand);
    cursor: pointer;
    transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { background: var(--hi); border-color: var(--hi); color: var(--brand); transform: translateY(-1px); box-shadow: 0 8px 20px -10px rgba(11,59,74,.45); }
.btn--sm { padding: .58rem 1.05rem; font-size: .9rem; }
.btn--ghost { background: transparent; color: var(--brand); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--hi); border-color: var(--hi); color: var(--brand); box-shadow: none; transform: translateY(-1px); }
.btn--light { background: #fff; color: var(--navy); border-color: #fff; }
.btn--light:hover { background: var(--hi); border-color: var(--hi); color: var(--brand); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.32); }
.btn--ghost-light:hover { background: var(--hi); border-color: var(--hi); color: var(--brand); }

/* ---- header -------------------------------------------------------------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.86);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s, box-shadow .25s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(15,27,45,.4); }
.bar { max-width: var(--maxw); margin: 0 auto; padding: .9rem var(--pad); display: flex; align-items: center; gap: 2rem; }
.brand { display: inline-flex; align-items: center; }
.brand__logo { height: 34px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 1.6rem; margin-left: auto; }
.nav__top { font-size: .96rem; font-weight: 600; color: var(--ink-soft); transition: color .2s; display: inline-flex; align-items: center; gap: .25rem; cursor: pointer; }
.nav__top:hover, .nav__item:hover .nav__top, .nav__top.is-active, .nav__item.is-active .nav__top { color: var(--brand); }
.nav__top[aria-current="page"] { color: var(--brand); }
.nav__caret { font-size: .7em; transition: transform .2s; }
.nav__item { position: relative; }
.nav__item--has-menu:hover .nav__caret, .nav__item--has-menu:focus-within .nav__caret { transform: rotate(180deg); }
.nav__menu {
    position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(6px);
    min-width: 250px; background: #fff; border: 1px solid var(--line); border-radius: 12px;
    box-shadow: 0 18px 40px -20px rgba(15,27,45,.4); padding: .5rem; display: grid; gap: 2px;
    opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s; z-index: 50;
}
.nav__item--has-menu:hover .nav__menu, .nav__item--has-menu:focus-within .nav__menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav__menu::before { content: ""; position: absolute; bottom: 100%; left: 0; right: 0; height: 12px; }
.nav__menu a { padding: .65rem .85rem; border-radius: 8px; font-size: .94rem; font-weight: 600; color: var(--ink-soft); transition: background .15s, color .15s; }
.nav__menu a:hover, .nav__menu a[aria-current="page"] { background: var(--brand-tint); color: var(--brand); }
.nav-toggle { display: none; }
.nav-mobile__h { padding: .9rem var(--pad) .3rem; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }

/* ---- hero (image) -------------------------------------------------------- */
.hero { position: relative; padding: clamp(2.5rem, 5vw, 4rem) 0; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero__overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(100deg, rgba(7,39,49,.94) 0%, rgba(7,39,49,.82) 42%, rgba(7,39,49,.5) 75%, rgba(7,39,49,.34) 100%),
        linear-gradient(0deg, rgba(7,39,49,.55), rgba(7,39,49,0) 45%);
}
.hero__inner {
    max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad);
}
.hero__lede { color: #fff; }
.hero h1 { margin-bottom: 1.4rem; color: #fff; }
.hero h1 .accent { color: var(--hi); }
.hero__sub { font-size: 1.2rem; color: rgba(255,255,255,.86); max-width: 50ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero__trust {
    list-style: none; display: flex; flex-wrap: wrap; gap: 2.4rem;
    margin-top: 2.6rem; padding-top: 1.8rem; border-top: 1px solid rgba(255,255,255,.2);
}
.hero__trust strong { display: block; font-size: 1.15rem; font-weight: 800; letter-spacing: -.01em; color: #fff; }
.hero__trust span { font-size: .9rem; color: rgba(255,255,255,.66); }
.eyebrow--light { color: var(--hi); }

/* ---- section heads ------------------------------------------------------- */
.section-head { max-width: var(--maxw); margin: 0 auto clamp(2.2rem, 4vw, 3rem); padding: 0 var(--pad); }

/* ---- services ------------------------------------------------------------ */
.services { background: var(--bg-soft); padding: clamp(4rem, 8vw, 6.5rem) 0; }
.svc-grid { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 2rem 1.8rem; display: flex; flex-direction: column;
    transition: border-color .25s, box-shadow .25s, transform .25s;
}
.card:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-3px); }
.card__no { font-size: .85rem; font-weight: 700; color: var(--brand); letter-spacing: .08em; }
.card__name { font-size: 1.4rem; font-weight: 700; letter-spacing: -.015em; margin: .9rem 0 .5rem; }
.card__lead { font-weight: 600; color: var(--ink); margin-bottom: .7rem; }
.card__copy { color: var(--ink-soft); font-size: .98rem; flex: 1; }
.card__tags { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; margin: 1.3rem 0 1.4rem; }
.card__tags li { font-size: .78rem; font-weight: 600; color: var(--brand-dk); background: var(--brand-tint); padding: .3rem .7rem; border-radius: 7px; }
.card__link { font-weight: 700; color: var(--brand); font-size: .96rem; display: inline-flex; align-items: center; gap: .4rem; }
.card__link span { transition: transform .25s; }
.card:hover .card__link span { transform: translateX(4px); }

/* ---- duty (soft bg) ------------------------------------------------------ */
.duty { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.duty__inner { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.duty__list { list-style: none; counter-reset: none; }
.duty__list li { display: flex; gap: 1.2rem; align-items: flex-start; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.duty__list li:first-child { padding-top: 0; }
.duty__list li:last-child { border-bottom: none; }
.duty__num { flex: none; width: 2.4rem; height: 2.4rem; border-radius: 8px; background: var(--brand-tint); color: var(--brand-dk); font-weight: 800; font-size: .95rem; display: grid; place-items: center; }
.duty__text { font-size: 1.1rem; color: var(--ink-soft); padding-top: .25rem; }

/* ---- process ------------------------------------------------------------- */
.process { background: var(--bg-soft); padding: clamp(4rem, 8vw, 6.5rem) 0; }
.steps { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.step { position: relative; }
.step__no { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; display: grid; place-items: center; margin-bottom: 1.1rem; }
.step__title { font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em; margin-bottom: .5rem; }
.step__copy { color: var(--ink-soft); font-size: .98rem; }
.step__arrow { position: absolute; top: .5rem; right: -1rem; color: var(--line-2); font-size: 1.4rem; font-weight: 700; }

/* ---- sectors ------------------------------------------------------------- */
.sectors { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.sector-grid { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.sector-grid li {
    background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px;
    padding: 1.1rem 1.25rem; font-weight: 600; color: var(--ink);
    display: flex; align-items: center; gap: .7rem;
    transition: border-color .2s, color .2s, transform .2s;
}
.sector-grid li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--brand); flex: none; }
.sector-grid li:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }

/* ---- cta (navy) ---------------------------------------------------------- */
.cta { background: var(--navy); color: #fff; padding: clamp(4.5rem, 9vw, 7rem) 0; }
.cta__inner { max-width: 760px; margin: 0 auto; padding: 0 var(--pad); text-align: center; }
.cta__title { color: #fff; max-width: 22ch; margin: 0 auto; }
.cta__sub { color: rgba(255,255,255,.78); font-size: 1.15rem; max-width: 48ch; margin: 1.2rem auto 2.2rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ---- footer -------------------------------------------------------------- */
.site-footer { background: var(--navy-2); color: #fff; padding: clamp(3.5rem, 6vw, 4.5rem) 0 1.8rem; }
.footer__inner { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad) 2.6rem; display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.14); }
.brand--footer { margin-bottom: 1rem; }
.brand--footer .brand__logo { height: 34px; filter: brightness(0) invert(1); }
.footer__brand p { color: rgba(255,255,255,.62); max-width: 40ch; font-size: .96rem; }
.footer__nav { display: flex; flex-direction: column; gap: .6rem; }
.footer__h { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: .3rem; }
.footer__nav a { color: rgba(255,255,255,.82); font-size: .96rem; transition: color .2s; }
.footer__nav a:hover { color: #fff; }
.footer__base { max-width: var(--maxw); margin: 1.6rem auto 0; padding: 0 var(--pad); display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; font-size: .84rem; color: rgba(255,255,255,.5); }

/* ---- reveal -------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---- responsive ---------------------------------------------------------- */
@media (max-width: 980px) {
    .hero__overlay { background:
        linear-gradient(180deg, rgba(7,39,49,.86) 0%, rgba(7,39,49,.74) 100%),
        linear-gradient(0deg, rgba(7,39,49,.4), rgba(7,39,49,0) 50%); }
    .svc-grid { grid-template-columns: 1fr; }
    .duty__inner { grid-template-columns: 1fr; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .step__arrow { display: none; }
    .sector-grid { grid-template-columns: repeat(2, 1fr); }
    .footer__inner { grid-template-columns: 1fr 1fr; }
    .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    body { font-size: 16px; }
    .hero__trust { gap: 1.5rem 2rem; }
    .steps { grid-template-columns: 1fr; }
    .sector-grid { grid-template-columns: 1fr; }
    .footer__inner { grid-template-columns: 1fr; }
    .footer__base { flex-direction: column; }
}

/* ---- mobile nav: burger + collapsible drawer ----------------------------- */
.nav-mobile { display: none; }
@media (max-width: 820px) {
    /* hide the inline desktop nav + header CTA, show the burger */
    .nav, .bar > .btn { display: none; }
    .nav-toggle { display: flex; flex-direction: column; gap: 5px; margin-left: auto; background: none; border: none; cursor: pointer; padding: .4rem; }
    .nav-toggle span { width: 26px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
    .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-7px) rotate(-45deg); }

    /* drawer: collapsed via max-height (works with any number of children) */
    .nav-mobile { display: block; max-height: 0; overflow: hidden; transition: max-height .34s ease; border-top: 1px solid transparent; }
    .nav-mobile.open { max-height: 80vh; overflow-y: auto; border-top-color: var(--line); }
    .nav-mobile a { display: block; padding: 1rem var(--pad); border-bottom: 1px solid var(--line); font-weight: 600; }
}

/* ===========================================================================
   INNER PAGES
   ========================================================================= */

/* ---- page hero (dark teal banner) ---------------------------------------- */
.page-hero { background: linear-gradient(135deg, #06222b 0%, var(--brand) 58%, #0e4a5d 100%); color: #fff; padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem); }
.page-hero__inner { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.page-hero .h-display { color: #fff; margin: .4rem 0 1.2rem; }
.page-hero .h-display .accent { color: var(--hi); }
.page-hero__sub { font-size: 1.2rem; color: rgba(255,255,255,.85); max-width: 60ch; }
.page-hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.crumbs { display: flex; gap: .55rem; align-items: center; font-size: .85rem; font-weight: 600; color: rgba(255,255,255,.6); margin-bottom: 1.4rem; }
.crumbs a { color: rgba(255,255,255,.8); }
.crumbs a:hover { color: #fff; }

/* ---- prose / content sections -------------------------------------------- */
.prose-section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.alt-section { background: var(--bg-soft); padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.prose-grid { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: 1.4fr .85fr; gap: clamp(2.5rem, 6vw, 4.5rem); align-items: start; }
.prose-grid--center { grid-template-columns: minmax(0, 760px); justify-content: center; text-align: left; }
.prose h2 { margin-bottom: 1.2rem; }
.prose p { color: var(--ink-soft); font-size: 1.1rem; margin-bottom: 1.1rem; max-width: 62ch; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); font-weight: 700; }
.inline-link { color: var(--brand); font-weight: 700; white-space: nowrap; }
.inline-link:hover { text-decoration: underline; }
.text-link { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.6rem; font-weight: 700; color: var(--brand); }
.text-link span { transition: transform .2s; }
.text-link:hover span { transform: translateX(4px); }

/* ---- facts aside --------------------------------------------------------- */
.facts { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.7rem; box-shadow: var(--shadow); position: sticky; top: 90px; }
.alt-section .facts { background: #fff; }
.facts__h { display: block; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 1rem; }
.facts ul { list-style: none; }
.facts li { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.facts li:last-child { border-bottom: none; }
.facts li strong { font-weight: 700; color: var(--ink); }
.facts li span { color: var(--muted); text-align: right; font-size: .95rem; }

/* ---- duo cards (survey types) -------------------------------------------- */
.duo-grid { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.duo-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2.1rem 2rem; box-shadow: var(--shadow); }
.duo-card__tag { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); background: var(--brand-tint); padding: .3rem .7rem; border-radius: 7px; margin-bottom: 1rem; }
.duo-card h3 { font-size: 1.5rem; font-weight: 700; letter-spacing: -.015em; margin-bottom: .7rem; }
.duo-card p { color: var(--ink-soft); margin-bottom: 1.3rem; }
.ticks { list-style: none; display: grid; gap: .6rem; }
.ticks li { position: relative; padding-left: 1.7rem; color: var(--ink); font-weight: 500; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--brand); font-weight: 800; }

/* ---- feature grid -------------------------------------------------------- */
.feature-grid { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem 2.5rem; }
.feature { border-top: 2px solid var(--brand); padding-top: 1.1rem; }
.feature__no { font-size: .85rem; font-weight: 800; letter-spacing: .08em; color: var(--brand); }
.feature h3 { font-size: 1.2rem; font-weight: 700; margin: .5rem 0 .45rem; }
.feature p { color: var(--ink-soft); font-size: .98rem; }

/* ---- big numbered list (duties) ------------------------------------------ */
.big-list { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); list-style: none; display: grid; gap: 1px; }
.big-list li { display: flex; gap: 1.5rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1.5rem 1.8rem; transition: transform .2s, box-shadow .2s; }
.big-list li:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.big-list__no { flex: none; font-size: 1.5rem; font-weight: 800; color: var(--brand); width: 3rem; }
.big-list__text { font-size: 1.15rem; color: var(--ink); font-weight: 500; }

/* ---- sector cards (sectors page) ----------------------------------------- */
.sector-cards { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.sector-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem 1.5rem; transition: border-color .2s, transform .2s, box-shadow .2s; }
.sector-card:hover { border-color: var(--brand); transform: translateY(-3px); box-shadow: var(--shadow); }
.sector-card__no { font-size: .8rem; font-weight: 800; color: var(--brand); letter-spacing: .08em; }
.sector-card h2 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; margin: .6rem 0 .5rem; }
.sector-card p { color: var(--ink-soft); font-size: .96rem; }

/* ---- journey timeline (how-we-work) -------------------------------------- */
.timeline { position: relative; max-width: 940px; margin: clamp(2rem, 5vw, 3.5rem) auto 0; padding: 0 var(--pad); list-style: none; }
.timeline::before {
    content: ""; position: absolute; top: 12px; bottom: 12px; left: 50%;
    width: 2px; transform: translateX(-50%);
    background: linear-gradient(var(--brand) 0%, var(--brand) 80%, var(--line) 100%);
}
.tl { position: relative; width: 50%; padding-right: 3rem; }
.tl:nth-child(even) { margin-left: 50%; padding-right: 0; padding-left: 3rem; }
/* Interleave alternating cards into the empty space beside the previous one. */
.tl + .tl { margin-top: -4rem; }
.tl__marker {
    position: absolute; top: 0; right: -23px; z-index: 1;
    width: 46px; height: 46px; border-radius: 50%;
    background: var(--brand); color: #fff; font-weight: 800; font-size: 1.05rem;
    display: grid; place-items: center; box-shadow: 0 3px 10px -3px rgba(11,59,74,.55);
}
.tl:nth-child(even) .tl__marker { right: auto; left: -23px; }
/* solid point merged into the circle, facing the card (circle-with-a-point) */
.tl__marker::after { content: ""; position: absolute; top: 50%; transform: translateY(-50%); border-style: solid; border-color: transparent; }
.tl__marker::after { left: -11px; border-width: 16px 18px 16px 0; border-right-color: var(--brand); }
.tl:nth-child(even) .tl__marker::after { left: auto; right: -11px; border-width: 16px 0 16px 18px; border-left-color: var(--brand); border-right-color: transparent; }
.tl__card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.3rem 1.5rem; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.tl:hover .tl__card { transform: translateY(-2px); box-shadow: 0 16px 34px -20px rgba(15,27,45,.3); }
.tl__phase { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); background: var(--brand-tint); padding: .25rem .6rem; border-radius: 6px; margin-bottom: .7rem; }
.tl__title { font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; margin-bottom: .4rem; }
.tl__copy { color: var(--ink-soft); font-size: .98rem; }
.tl__repeat { display: inline-block; margin-top: .9rem; font-size: .78rem; font-weight: 700; color: var(--brand); background: var(--hi); padding: .25rem .6rem; border-radius: 6px; }
@media (max-width: 760px) {
    .timeline::before { left: 23px; }
    .tl, .tl:nth-child(even) { width: 100%; margin-left: 0; padding-left: 4rem; padding-right: 0; }
    .tl + .tl { margin-top: 1.6rem; }
    .tl__marker, .tl:nth-child(even) .tl__marker { left: 0; right: auto; }
    .tl__marker::after { left: auto; right: -11px; border-width: 16px 0 16px 18px; border-color: transparent; border-left-color: var(--brand); }
}

/* ---- online register portal (how-we-work) -------------------------------- */
.portal-section { background: var(--bg-soft); padding: clamp(4rem, 8vw, 6.5rem) 0; }
.portal-grid { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 4.5rem); align-items: center; }
.portal-ticks { margin-top: 1.5rem; gap: .8rem; }
.portal-ticks li { font-size: 1.02rem; }
.portal-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 50px -28px rgba(15,27,45,.45); overflow: hidden; }
.portal-card__bar { display: flex; align-items: center; gap: .45rem; padding: .75rem 1rem; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.portal-card__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.portal-card__url { margin-left: .6rem; font-size: .82rem; color: var(--muted); font-weight: 600; }
.portal-card__body { padding: 1.1rem 1.2rem 1.3rem; }
.portal-card__head { font-size: .76rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; }
.portal-row { display: flex; justify-content: space-between; align-items: center; padding: .85rem .1rem; border-bottom: 1px solid var(--line); }
.portal-row:last-child { border-bottom: none; }
.portal-row > span:first-child { font-weight: 600; color: var(--ink); }
.tag { font-size: .78rem; font-weight: 700; padding: .2rem .7rem; border-radius: 100px; }
.tag--ok { background: rgba(31,157,107,.12); color: var(--ok); }
.tag--med { background: rgba(196,138,16,.16); color: #936500; }
@media (max-width: 860px) {
    .portal-grid { grid-template-columns: 1fr; }
    .portal-card { max-width: 460px; }
}

/* ---- contact page -------------------------------------------------------- */
.contact-section { padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6rem); }
.contact-grid { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: 1.45fr .8fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-form__title { font-size: 1.6rem; font-weight: 700; margin-bottom: 1.4rem; }
.form { display: grid; gap: 1.2rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { display: grid; gap: .4rem; }
.field label { font-size: .92rem; font-weight: 600; color: var(--ink); }
.field .req { color: var(--brand); }
.field input, .field textarea {
    font-family: inherit; font-size: 1rem; color: var(--ink);
    padding: .8rem .95rem; border: 1.5px solid var(--line-2); border-radius: 9px; background: #fff;
    transition: border-color .15s, box-shadow .15s; width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(11,59,74,.12); }
.field__err { color: #c0392b; font-size: .86rem; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn--lg { padding: 1rem 1.8rem; font-size: 1.02rem; justify-self: start; }
.form-note { font-size: .86rem; color: var(--muted); }
.form-error { background: #fdecea; color: #a5281b; border: 1px solid #f5c6cf; border-radius: 9px; padding: .8rem 1rem; font-weight: 600; margin-bottom: 1.2rem; }
.form-success { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 2.5rem; text-align: center; }
.form-success__tick { width: 3.2rem; height: 3.2rem; border-radius: 50%; background: var(--ok); color: #fff; font-size: 1.6rem; font-weight: 800; display: grid; place-items: center; margin: 0 auto 1.2rem; }
.form-success h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: .7rem; }
.form-success p { color: var(--ink-soft); margin-bottom: 1.6rem; }
.form-success a:not(.btn) { color: var(--brand); font-weight: 700; }

.contact-aside { display: grid; gap: 1.25rem; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.7rem; background: #fff; }
.contact-card--soft { background: var(--bg-soft); }
.contact-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 1rem; }
.contact-line { display: flex; flex-direction: column; gap: .1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.contact-line:last-child { border-bottom: none; }
.contact-line__label { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.contact-line__value { font-size: 1.05rem; font-weight: 600; color: var(--brand); }
.next-steps { margin: 0; padding-left: 1.2rem; display: grid; gap: .7rem; color: var(--ink-soft); }
.next-steps li { padding-left: .3rem; }

/* ---- inner-page responsive ----------------------------------------------- */
@media (max-width: 980px) {
    .prose-grid { grid-template-columns: 1fr; }
    .facts { position: static; }
    .duo-grid { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .sector-cards { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .footer__inner { grid-template-columns: 1fr 1fr; }
    .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    .feature-grid { grid-template-columns: 1fr; }
    .sector-cards { grid-template-columns: 1fr; }
    .field-row { grid-template-columns: 1fr; }
    .big-list li { padding: 1.2rem; gap: 1rem; }
    .big-list__no { width: 2.2rem; font-size: 1.2rem; }
    .footer__inner { grid-template-columns: 1fr; }
    .form-success { padding: 1.8rem 1.4rem; }
}

/* ===========================================================================
   HEADER PREVIEW VARIANTS
   ========================================================================= */

/* A) Utility top bar -------------------------------------------------------- */
.utilbar { background: var(--brand); color: #fff; font-size: .85rem; }
.utilbar__inner { max-width: var(--maxw); margin: 0 auto; padding: .5rem var(--pad); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.utilbar__tag { color: rgba(255,255,255,.85); font-weight: 600; letter-spacing: .03em; }
.utilbar__sep { color: rgba(255,255,255,.4); font-weight: 400; }
.utilbar__contact { display: flex; align-items: center; gap: 1.4rem; }
.utilbar__contact a { color: #fff; font-weight: 600; display: inline-flex; align-items: center; gap: .4rem; }
.utilbar__contact a:hover { color: #bfe7ef; }
@media (max-width: 760px) {
    .utilbar__tag, .utilbar__contact a span { display: none; }
    .utilbar__inner { justify-content: center; }
    .utilbar__contact { gap: 1rem; }
}

/* C) Tighten & balance ------------------------------------------------------ */
.site-header--tighten .bar,
.site-header--tighten .utilbar__inner { padding-left: clamp(1rem, 2.2vw, 1.6rem); padding-right: clamp(1rem, 2.2vw, 1.6rem); }
.site-header--tighten .nav { gap: 1.4rem; margin-right: .4rem; }
.site-header--tighten .brand__logo { height: 36px; }

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
}
