/* ==========================================================================
   PT Mandiri Lumbung Makmur — redesign (staging)
   Design language borrowed from the two references:
     · comand.ai  — near-black canvas, mono micro-labels, hairline card grids,
                    oversized restrained headlines, alternating dark/light bands
     · vooma.com  — decisive colour blocks, a stat strip under the hero,
                    warm off-white counter-surface, one high-contrast accent
   Brand continuity: the accent stays the amber already used on the live site.
   ========================================================================== */

:root {
    /* Palette derived from the company logo (CompanyLogo.png):
       #2a558a blue = 68.8% of the mark, #555555 grey = 27.1%.
       Every pairing below was checked for WCAG contrast. */
    --brand: #2a558a;        /* logo blue — accents on light surfaces      6.83:1 */
    --brand-cta: #31639f;    /* button fill: 3.17:1 vs dark, white 6.15:1        */
    --accent: #528dd6;       /* lifted brand hue for dark surfaces         5.69:1 */
    --steel: #555555;        /* logo grey                                         */

    --ink: #0a0d12;          /* near-black, tinted toward the brand blue          */
    --ink-2: #10141b;
    --ink-3: #171d26;
    --surface: #f1f3f6;      /* cool light neutral — warm cream fought the blue   */
    --surface-2: #e7eaef;

    --line-l: rgba(146, 178, 220, .16);
    --line-d: rgba(42, 85, 138, .16);
    --txt-l: #e9edf2;
    --txt-l-dim: #97a2b0;
    --txt-d: #12161c;
    --txt-d-dim: var(--steel);

    --shell: 1240px;
    --pad: clamp(20px, 5vw, 48px);
    --sec: clamp(72px, 9vw, 140px);

    --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
    --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--surface);
    color: var(--txt-d);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

h1,
h2,
h3,
h4 {
    margin: 0;
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 1.08;
}

p {
    margin: 0;
}

.shell {
    width: 100%;
    max-width: var(--shell);
    margin-inline: auto;
    padding-inline: var(--pad);
}

/* ---------- shared bits ---------- */
.eyebrow {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--txt-d-dim);
    margin: 0 0 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--brand);
    flex: none;
}

.eyebrow--light {
    color: var(--txt-l-dim);
}

.eyebrow--light::before {
    background: var(--accent);
}

.sec-head {
    margin-bottom: clamp(36px, 5vw, 64px);
}

.sec-head h2 {
    font-size: clamp(30px, 4.4vw, 54px);
}

.sec-head--light h2 {
    color: var(--txt-l);
}

.btn {
    --b: var(--txt-d);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 24px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--b);
    color: var(--b);
    border-radius: 2px;
    transition: background .22s, color .22s, border-color .22s, transform .22s;
    cursor: pointer;
    background: none;
    font-family: inherit;
}

.btn i {
    font-style: normal;
    transition: transform .22s;
}

.btn:hover i {
    transform: translateX(4px);
}

.btn--solid {
    background: var(--brand-cta);
    border-color: var(--brand-cta);
    color: #fff;
    font-weight: 600;
}

.btn--solid:hover {
    background: #3a7dd0;
    border-color: #3a7dd0;
}

.btn--line {
    --b: rgba(255, 255, 255, .5);
    color: #fff;
}

.btn--line:hover {
    --b: #fff;
    background: rgba(255, 255, 255, .08);
}

.btn--ghost {
    --b: var(--line-l);
    color: var(--txt-l);
    padding: 9px 18px;
    font-size: 13px;
}

.btn--ghost:hover {
    --b: var(--accent);
    color: var(--accent);
}

.btn--full {
    width: 100%;
    justify-content: center;
    padding: 15px 24px;
}

/* ---------- nav ---------- */
.nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 90;
    background: rgba(10, 13, 18, 0);
    transition: background .3s, border-color .3s;
    border-bottom: 1px solid transparent;
}

.nav.is-stuck {
    background: rgba(10, 13, 18, .92);
    backdrop-filter: blur(10px);
    border-bottom-color: var(--line-l);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 72px;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #fff;
    font-weight: 600;
    font-size: 14.5px;
    letter-spacing: -.01em;
}

.nav__logo img {
    height: 30px;
    width: auto;
    filter: brightness(1.35);
}

.nav__links {
    display: flex;
    gap: 30px;
    font-size: 14px;
    color: rgba(255, 255, 255, .78);
}

.nav__links a {
    position: relative;
    padding: 4px 0;
    transition: color .2s;
}

.nav__links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width .25s;
}

.nav__links a:hover {
    color: #fff;
}

.nav__links a:hover::after {
    width: 100%;
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav__toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line-l);
    background: none;
    border-radius: 2px;
    cursor: pointer;
    padding: 0;
    place-items: center;
    gap: 5px;
}

.nav__toggle span {
    display: block;
    width: 16px;
    height: 1.5px;
    background: #fff;
    transition: transform .25s, opacity .25s;
}

.nav.is-open .nav__toggle span:first-child {
    transform: translateY(3.2px) rotate(45deg);
}

.nav.is-open .nav__toggle span:last-child {
    transform: translateY(-3.2px) rotate(-45deg);
}

/* ---------- hero ---------- */
/* One full panel: nothing here should ever require scrolling to be seen.
   svh (small viewport height) is the value that excludes mobile browser
   toolbars, so the strip stays visible on phones; vh is the fallback. */
.hero {
    position: relative;
    background: var(--ink);
    color: var(--txt-l);
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hero__media {
    position: absolute;
    inset: 0;
}

.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .42;
}

.hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(10, 13, 18, .93) 0%, rgba(10, 13, 18, .62) 55%, rgba(10, 13, 18, .35) 100%),
        linear-gradient(to top, var(--ink) 2%, transparent 45%);
}

.hero__inner {
    position: relative;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: clamp(96px, 12vh, 150px);   /* clears the fixed nav */
    padding-bottom: clamp(28px, 5vh, 60px);
}

.hero__title {
    font-size: clamp(30px, 4.6vw, 58px);
    font-weight: 600;
    letter-spacing: -.03em;
    margin-bottom: 12px;
}

.hero__tag {
    font-size: clamp(17px, 2.1vw, 26px);
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: -.01em;
    color: var(--txt-l);
    margin-bottom: clamp(16px, 2.4vh, 26px);
}

.hero__tag span {
    color: var(--accent);
}

.hero__lead {
    max-width: 46ch;
    font-size: clamp(14.5px, 1.5vw, 17px);
    color: #cfd3d7;
    margin-bottom: clamp(20px, 3vh, 32px);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero__strip {
    position: relative;
    flex: none;
    border-top: 1px solid var(--line-l);
    background: rgba(10, 13, 18, .55);
}

.hero__strip-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.hero__strip-inner > div {
    padding: clamp(14px, 2.2vh, 26px) 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.hero__strip-inner > div + div {
    border-left: 1px solid var(--line-l);
    padding-left: 26px;
}

.num {
    font-size: clamp(22px, 2.8vw, 34px);
    font-weight: 600;
    letter-spacing: -.03em;
    color: #fff;
    line-height: 1;
}

.lbl {
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--txt-l-dim);
}

/* ---------- logo strip ---------- */
.logos {
    background: var(--surface);
    padding: clamp(40px, 5vw, 64px) 0;
    border-bottom: 1px solid var(--line-d);
}

.logos__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.logos__row img {
    height: 42px;
    width: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .55;
    transition: opacity .25s, filter .25s;
}

.logos__row img:hover {
    filter: none;
    opacity: 1;
}

/* ---------- statement ---------- */
.statement {
    background: var(--surface);
    padding: var(--sec) 0;
}

.statement__grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: clamp(24px, 5vw, 80px);
}

.statement__text {
    font-size: clamp(21px, 2.9vw, 34px);
    line-height: 1.34;
    letter-spacing: -.02em;
    color: var(--txt-d-dim);
    font-weight: 400;
}

.statement__text span {
    color: var(--txt-d);
}

/* ---------- services ---------- */
.services {
    background: var(--surface-2);
    padding: var(--sec) 0;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--line-d);
    background: var(--line-d);
    gap: 1px;
}

.service {
    background: var(--surface);
    padding: clamp(26px, 3vw, 40px);
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: background .25s;
}

.service:hover {
    background: #fff;
}

/* Line icons echoing the old site's ri-bar-chart-box-line / ri-building-fill /
   ri-tools-fill, drawn inline so the page still loads no icon font.
   currentColor keeps them on the brand blue that the light card requires. */
.service__icon {
    display: block;
    width: 28px;
    height: 28px;
    color: var(--brand);
}

.service__icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.service h3 {
    font-size: clamp(20px, 2.2vw, 26px);
}

.service p {
    color: var(--txt-d-dim);
    font-size: 15px;
}

.service ul {
    list-style: none;
    margin: 6px 0 0;
    padding: 0;
    border-top: 1px solid var(--line-d);
}

.service li {
    font-size: 13.5px;
    color: var(--txt-d-dim);
    padding: 9px 0 9px 18px;
    border-bottom: 1px solid var(--line-d);
    position: relative;
}

.service li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 16px;
    width: 6px;
    height: 1px;
    background: var(--brand);
}

.service li:last-child {
    border-bottom: 0;
}

/* ---------- about ---------- */
.about {
    background: var(--surface);
    padding: var(--sec) 0;
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
}

.about__media img {
    width: 100%;
    aspect-ratio: 4 / 3.4;
    object-fit: cover;
}

.about__body h2 {
    font-size: clamp(27px, 3.6vw, 44px);
    margin-bottom: 28px;
}

.vm__item {
    padding: 20px 0;
    border-top: 1px solid var(--line-d);
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 16px;
}

.vm__item:last-child {
    border-bottom: 1px solid var(--line-d);
}

.vm__k {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--txt-d-dim);
    padding-top: 4px;
}

.vm__item p {
    color: var(--txt-d);
    font-size: 15.5px;
}

/* ---------- legality ---------- */
.legal {
    background: var(--ink);
    color: var(--txt-l);
    padding: var(--sec) 0;
}

.legal__grid {
    border-top: 1px solid var(--line-l);
}

.legal__row {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    padding: 26px 0;
    border-bottom: 1px solid var(--line-l);
    transition: background .25s;
}

.legal__row:hover {
    background: rgba(255, 255, 255, .03);
}

.legal__k {
    font-family: var(--mono);
    font-size: 11.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent);
    padding-top: 3px;
}

.legal__v p {
    color: #c8ccd0;
    font-size: 15px;
}

/* ---------- work ---------- */
.work {
    background: var(--surface);
    padding: var(--sec) 0;
}

.work__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(14px, 1.6vw, 22px);
}

.work__card {
    position: relative;
    overflow: hidden;
    background: var(--ink);
}

.work__card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    opacity: .78;
    transition: transform .5s, opacity .35s;
}

.work__card:hover img {
    transform: scale(1.04);
    opacity: .55;
}

.work__meta {
    position: absolute;
    inset: auto 0 0 0;
    padding: 22px;
    background: linear-gradient(to top, rgba(10, 13, 18, .92), transparent);
    color: #fff;
}

.work__meta span {
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--accent);
}

.work__meta h3 {
    font-size: clamp(16px, 1.9vw, 21px);
    margin-top: 5px;
}

/* ---------- contact ---------- */
.contact {
    background: var(--ink-2);
    color: var(--txt-l);
    padding: var(--sec) 0;
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 6vw, 88px);
}

.contact__aside h2 {
    font-size: clamp(30px, 4.2vw, 50px);
    color: var(--txt-l);
    margin-bottom: 18px;
}

.contact__note {
    color: var(--txt-l-dim);
    max-width: 40ch;
    margin-bottom: 34px;
}

.contact__info div {
    padding: 16px 0;
    border-top: 1px solid var(--line-l);
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 16px;
}

.contact__info div:last-child {
    border-bottom: 1px solid var(--line-l);
}

.contact__info dt {
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--txt-l-dim);
    padding-top: 3px;
}

.contact__info dd {
    margin: 0;
    font-size: 15px;
    color: #d7dade;
}

.contact__info a:hover {
    color: var(--accent);
}

/* form */
.form {
    background: var(--ink-3);
    border: 1px solid var(--line-l);
    padding: clamp(22px, 3vw, 36px);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.field > span {
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--txt-l-dim);
}

.field input,
.field textarea {
    font-family: inherit;
    font-size: 15px;
    color: #fff;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--line-l);
    border-radius: 2px;
    padding: 12px 14px;
    transition: border-color .2s, background .2s;
    resize: vertical;
    width: 100%;
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, .07);
}

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

.form__msg {
    font-size: 14px;
    min-height: 20px;
}

.form__msg.is-ok {
    color: #7fd18d;
}

.form__msg.is-err {
    color: #ff9c8a;
}

.btn[disabled] {
    opacity: .55;
    cursor: not-allowed;
}

/* ---------- footer ---------- */
.foot {
    position: relative;
    background: var(--ink);
    color: var(--txt-l);
    padding: clamp(56px, 7vw, 88px) 0 26px;
    overflow: hidden;
}

.foot__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
    gap: clamp(24px, 4vw, 56px);
    padding-bottom: clamp(40px, 6vw, 70px);
}

.foot__mark {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.foot__mark img {
    height: clamp(46px, 4vw, 58px);
    width: auto;
    flex: none;
    filter: brightness(1.35);
}

.foot__mark span {
    font-size: clamp(17px, 1.5vw, 21px);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -.015em;
    color: var(--txt-l);
}

.foot__brand p {
    color: var(--txt-l-dim);
    font-size: clamp(14.5px, 1.2vw, 16.5px);
}

.foot__col h4 {
    font-family: var(--mono);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--txt-l-dim);
    margin-bottom: 14px;
}

.foot__col a {
    display: block;
    font-size: 14.5px;
    color: #c8ccd0;
    padding: 5px 0;
    transition: color .2s;
}

.foot__col a:hover {
    color: var(--accent);
}

/* Decorative wordmark. The wrapper sits in normal flow between the columns and
   the rule, but is 0px tall so it costs no layout height; the wordmark is then
   anchored to the wrapper's bottom edge — which IS the top of .foot__bottom,
   i.e. exactly the horizontal rule. Left edge lines up with the rule's left
   edge because the wrapper is a block inside .shell. No magic numbers. */
.foot__wordwrap {
    position: relative;
    height: 0;
}

.foot__word {
    position: absolute;
    left: 0;
    bottom: 10px;
    /* "MANDIRI LUMBUNG MAKMUR" measures 13.0em at this weight/tracking,
       so 86px is the largest cap that still fits the 1144px .shell box. */
    font-size: clamp(22px, 6.2vw, 86px);
    font-weight: 700;
    letter-spacing: -.045em;
    line-height: .9;
    color: transparent;
    -webkit-text-stroke: 1px rgba(146, 178, 220, .07);
    white-space: nowrap;
    user-select: none;
    pointer-events: none;
}

.foot__grid,
.foot__bottom {
    position: relative;
    z-index: 1;
}

.foot__bottom {
    border-top: 1px solid var(--line-l);
    padding-top: 22px;
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    text-align: center;
    font-size: 13px;
    color: var(--txt-l-dim);
}

.foot__staging {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent);
}

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

.reveal.is-in {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
    .statement__grid,
    .about__grid,
    .contact__grid {
        grid-template-columns: 1fr;
    }

    .services__grid {
        grid-template-columns: 1fr;
    }

    .about__media {
        order: 2;
    }

    .legal__row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

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

    .hero__strip-inner > div {
        padding: 20px 0;
    }

    .hero__strip-inner > div:nth-child(odd) {
        border-left: 0;
        padding-left: 0;
    }

    .hero__strip-inner > div:nth-child(even) {
        border-left: 1px solid var(--line-l);
        padding-left: 22px;
    }

    .hero__strip-inner > div:nth-child(n+3) {
        border-top: 1px solid var(--line-l);
    }

    .foot__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    .nav__links {
        position: fixed;
        inset: 72px 0 auto 0;
        background: rgba(10, 13, 18, .98);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--line-l);
        flex-direction: column;
        gap: 0;
        padding: 8px var(--pad) 20px;
        display: none;
    }

    .nav.is-open .nav__links {
        display: flex;
    }

    .nav.is-open {
        background: rgba(10, 13, 18, .98);
    }

    .nav__links a {
        padding: 13px 0;
        border-bottom: 1px solid var(--line-l);
        font-size: 15px;
    }

    .nav__toggle {
        display: grid;
    }

    .nav__logo span {
        display: none;
    }

    .btn--ghost {
        font-size: 12px;
        padding: 8px 14px;
    }

    .form__row {
        grid-template-columns: 1fr;
    }

    .work__grid {
        grid-template-columns: 1fr;
    }

    .vm__item {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .contact__info div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .logos__row {
        justify-content: flex-start;
        gap: 28px;
    }

    .logos__row img {
        height: 32px;
    }

    .foot__bottom {
        flex-direction: column;
    }
}

/* ---------- short viewports ---------- */
@media (max-height: 680px) {
    .hero__inner {
        padding-top: 88px;
        padding-bottom: 20px;
    }

    .hero__lead {
        margin-bottom: 18px;
    }

    .hero__strip-inner > div {
        padding: 12px 0;
    }
}

@media (max-height: 480px) {
    .hero {
        min-height: auto;
    }

    .hero__inner {
        padding-top: 96px;
        padding-bottom: 32px;
    }
}

/* ---------- legality: two columns on wide screens ----------
   grid-auto-flow: column fills top-to-bottom then across, so the order is
   Deed / Trade License down the left, Tax / Bank Account down the right —
   row-major (the grid default) would have interleaved them instead.
   The label sits above its value here: at half width a side-by-side label
   leaves ~350px, which breaks the long PKP line onto a second row. */
@media (min-width: 1000px) {
    .legal__grid {
        display: grid;
        grid-auto-flow: column;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, auto);
        column-gap: clamp(32px, 4vw, 64px);
    }

    .legal__row {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 24px 0;
    }

    .legal__k {
        padding-top: 0;
    }
}

/*--------------------------------------------------------------
# Inner pages (privacy policy, 404)
# Same palette and rhythm as the homepage; the banner reuses the
# hero's image + overlay so the pages read as one site.
--------------------------------------------------------------*/
.doc-head,
.err {
    background:
        linear-gradient(rgba(10, 13, 18, .78), rgba(10, 13, 18, .92)),
        url("../img/hero-bg.jpg") center center;
    background-size: cover;
    color: var(--txt-l);
}

.doc-head {
    padding: clamp(120px, 16vh, 180px) 0 clamp(40px, 6vh, 64px);
}

.doc-head h1 {
    font-size: clamp(30px, 4.6vw, 54px);
    font-weight: 600;
    letter-spacing: -.03em;
    margin-bottom: 14px;
}

.doc-crumb {
    font-family: var(--mono);
    font-size: 11.5px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--txt-l-dim);
}

.doc-crumb a {
    color: var(--accent);
}

.doc-crumb span {
    margin: 0 8px;
    opacity: .5;
}

.doc {
    background: var(--surface);
    padding: clamp(48px, 8vh, 88px) 0 clamp(64px, 10vh, 110px);
}

.doc__body {
    max-width: 820px;
}

.doc__body h3 {
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 600;
    letter-spacing: -.02em;
    color: var(--txt-d);
    margin: 36px 0 12px;
}

.doc__body p,
.doc__body li {
    font-size: 15.5px;
    line-height: 1.75;
    color: var(--txt-d-dim);
    margin: 0 0 14px;
}

.doc__body ul {
    padding-left: 20px;
    margin: 0 0 14px;
}

.doc__body strong {
    color: var(--txt-d);
}

.doc__body a {
    color: var(--brand);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.doc__meta {
    font-family: var(--mono);
    font-size: 11.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #8b9199;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line-d);
    margin-bottom: 28px !important;
}

/* 404 — one full panel, same rule as the hero */
.err {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(110px, 14vh, 160px) 0 clamp(48px, 8vh, 80px);
}

.err__code {
    font-size: clamp(72px, 14vw, 150px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.05em;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--accent);
    margin: 0 0 8px;
}

.err h1 {
    font-size: clamp(24px, 3.4vw, 40px);
    font-weight: 600;
    letter-spacing: -.03em;
    margin-bottom: 14px;
}

.err__lead {
    max-width: 46ch;
    color: #cfd3d7;
    font-size: clamp(14.5px, 1.5vw, 17px);
    margin-bottom: 28px;
}

.err__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ---------- coverage: industries + service area ---------- */
.coverage {
    background: var(--surface-2);
    padding: var(--sec) 0;
}

.coverage__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border: 1px solid var(--line-d);
    background: var(--line-d);
    gap: 1px;
}

.cov {
    background: var(--surface);
    padding: clamp(24px, 3vw, 34px);
}

.cov h3 {
    font-family: "Inter", sans-serif;
    font-size: clamp(17px, 1.9vw, 21px);
    font-weight: 700;
    color: var(--brand);
    margin-bottom: 10px;
}

.cov p {
    font-size: 15px;
    color: var(--txt-d-dim);
    line-height: 1.7;
}

.areas {
    margin-top: clamp(28px, 4vw, 44px);
}

.areas__intro {
    font-size: 15px;
    color: var(--txt-d-dim);
    margin-bottom: 14px;
}

.areas__list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--line-d);
}

.areas__list li {
    padding: 14px 0;
    border-bottom: 1px solid var(--line-d);
    font-size: 14.5px;
    color: var(--txt-d-dim);
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 16px;
}

.areas__list span {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--brand);
    padding-top: 3px;
}

@media (max-width: 860px) {
    .coverage__grid {
        grid-template-columns: 1fr;
    }

    .areas__list li {
        grid-template-columns: 1fr;
        gap: 5px;
    }
}
