/* ==========================================================================
   Mono Marine — inner page components (v6 language)
   Loaded after design.css. Same tokens, cards and rhythm as the homepage.
   ========================================================================== */

:root {
    --r-card: 10px;
    --r-photo: 12px;
    --blue-300: #8fc6ee;
}

/* ---------------------------------------------------------------
   Scroll progress (shared with the homepage)
   --------------------------------------------------------------- */
.progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 90;
    width: 100%;
    height: 2px;
    pointer-events: none;
}

.progress__bar {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--blue-600), #9fd0f5);
    transition: width 0.1s linear;
}

/* Container alias so page bodies can use either class */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

/* ---------------------------------------------------------------
   Eyebrow / kicker used inside page bodies
   --------------------------------------------------------------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--blue-700);
}

.eyebrow::before {
    content: "";
    flex: none;
    width: 22px;
    height: 2px;
    background: currentColor;
}

.eyebrow__num {
    font-weight: 700;
    color: var(--navy-800);
    opacity: 0.78;
}

.eyebrow__line {
    flex: none;
    width: 22px;
    height: 2px;
    background: currentColor;
}

.eyebrow--light {
    color: #9fd0f5;
}

.eyebrow--light::before {
    display: none;
}

.eyebrow--light .eyebrow__num {
    color: #fff;
    opacity: 0.6;
}

/* ---------------------------------------------------------------
   Section heads
   --------------------------------------------------------------- */
.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px 48px;
    margin-bottom: clamp(28px, 3.6vw, 44px);
}

.section-head h2 {
    max-width: 24ch;
    margin-top: 2px;
}

.section-head__note {
    max-width: 340px;
    padding-bottom: 4px;
    font-size: 13.5px;
    line-height: 1.68;
    color: var(--muted);
}

.section--tight {
    padding-block: clamp(48px, 6vw, 76px);
}

/* ---------------------------------------------------------------
   Page hero
   --------------------------------------------------------------- */
.page-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    min-height: clamp(400px, 50vh, 560px);
    padding-block: clamp(44px, 6vw, 68px) clamp(48px, 6vw, 76px);
    overflow: hidden;
    background: var(--navy-950);
    color: #fff;
}

.page-hero__media {
    position: absolute;
    inset: -8% 0;
    z-index: -2;
    will-change: transform;
}

.page-hero__bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 38%;
    animation: page-hero-zoom 26s cubic-bezier(0.2, 0.6, 0.3, 1) both;
}

@keyframes page-hero-zoom {
    from {
        transform: scale(1.08);
    }
    to {
        transform: scale(1);
    }
}

.page-hero__veil {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(100deg, rgba(4, 18, 26, 0.94) 0%, rgba(4, 18, 26, 0.76) 44%, rgba(4, 18, 26, 0.32) 78%, rgba(4, 18, 26, 0.52) 100%),
        linear-gradient(180deg, rgba(4, 18, 26, 0.5) 0%, rgba(4, 18, 26, 0) 36%, rgba(4, 18, 26, 0.58) 100%);
}

.page-hero__inner {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    max-width: 22ch;
    margin: 0;
    font-size: clamp(2.4rem, 5.2vw, 4.4rem);
    line-height: 1.02;
    letter-spacing: -0.035em;
    color: #fff;
    text-wrap: balance;
    animation: page-hero-up 0.9s 0.08s var(--ease) both;
}

.page-hero__lead {
    max-width: 64ch;
    margin-top: 20px;
    font-size: clamp(15px, 1.15vw, 16.5px);
    line-height: 1.72;
    color: rgba(255, 255, 255, 0.78);
    animation: page-hero-up 0.9s 0.2s var(--ease) both;
}

.page-hero .eyebrow,
.page-hero .breadcrumb {
    animation: page-hero-up 0.8s var(--ease) both;
}

@keyframes page-hero-up {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 26px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb li + li::before {
    content: "/";
    color: rgba(255, 255, 255, 0.3);
}

.breadcrumb a {
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: #9fd0f5;
}

.breadcrumb [aria-current="page"] {
    color: rgba(255, 255, 255, 0.82);
}

.page-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    margin-top: 28px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #9fd0f5;
}

.page-hero__meta span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.page-hero__meta span::before {
    content: "";
    width: 14px;
    height: 1px;
    background: currentColor;
    opacity: 0.65;
}

/* ---------------------------------------------------------------
   Split
   --------------------------------------------------------------- */
.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(36px, 6vw, 80px);
}

.split--media-right .split__media {
    order: 2;
}

.split__media {
    overflow: hidden;
    border-radius: var(--r-photo);
    background: var(--paper-2);
}

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

.split--text {
    grid-template-columns: minmax(0, 1fr);
    max-width: 820px;
}

.chart-figure {
    margin: clamp(34px, 5vw, 60px) 0 0;
}

.chart-figure img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--line);
    border-radius: var(--r-photo);
}

.chart-figure figcaption {
    margin-top: 12px;
    font-size: 0.82rem;
    color: var(--muted);
}

.dept-foot {
    margin: clamp(24px, 3vw, 34px) 0 0;
}

section[id] {
    scroll-margin-top: calc(var(--header-h) + 24px);
}

/* Brief card used where a photograph would be inaccurate */
.split__media--panel {
    background: transparent;
    border-radius: 0;
    overflow: visible;
}

.brief-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 340px;
    padding: clamp(26px, 3.6vw, 42px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--r-photo);
    background:
        linear-gradient(155deg, rgba(21, 133, 216, 0.22), rgba(6, 26, 38, 0) 58%),
        var(--navy-900);
    color: var(--white);
}

.brief-card__label {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--blue-300);
}

.brief-card__list {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.brief-card__list li {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding-bottom: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.02rem, 1.5vw, 1.2rem);
    line-height: 1.25;
}

.brief-card__list span {
    flex: none;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    color: var(--blue-300);
}

.brief-card__note {
    margin: auto 0 0;
    max-width: 34ch;
    font-size: 0.9rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.74);
}

.split__body h2 {
    margin-bottom: 18px;
    font-size: clamp(1.9rem, 3.3vw, 2.9rem);
    line-height: 1.05;
    text-wrap: balance;
}

.split__body > p {
    max-width: 58ch;
    margin-bottom: 22px;
    font-size: 15.5px;
    line-height: 1.78;
}

/* ---------------------------------------------------------------
   Stat band
   --------------------------------------------------------------- */
.stat-band {
    border-block: 1px solid var(--line);
    background: #fff;
}

.stat-band__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-band__item {
    padding: 34px 26px;
    text-align: center;
}

.stat-band__item + .stat-band__item {
    border-left: 1px solid var(--line);
}

.stat-band__item strong {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 3.8vw, 3.2rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--navy-900);
    font-variant-numeric: tabular-nums;
}

.stat-band__item span {
    display: block;
    margin-top: 8px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ---------------------------------------------------------------
   Feature cards
   --------------------------------------------------------------- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.feature-card {
    padding: 28px 26px 30px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--line-strong);
    box-shadow: var(--shadow-md);
}

.feature-card__icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: var(--blue-100);
    color: var(--blue-700);
}

.feature-card__icon .icon {
    width: 21px;
    height: 21px;
}

.feature-card h3 {
    margin-bottom: 9px;
    font-size: 1.16rem;
}

.feature-card p {
    font-size: 13.5px;
    line-height: 1.68;
    color: var(--muted);
}

/* ---------------------------------------------------------------
   CTA band
   --------------------------------------------------------------- */
.cta-band {
    position: relative;
    overflow: hidden;
    background: var(--navy-900);
    color: #fff;
}

.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at 72% 40%, #000 0%, transparent 76%);
    -webkit-mask-image: radial-gradient(ellipse at 72% 40%, #000 0%, transparent 76%);
    pointer-events: none;
}

.cta-band::after {
    content: "";
    position: absolute;
    right: -12%;
    bottom: -46%;
    width: 46vw;
    height: 46vw;
    max-width: 620px;
    max-height: 620px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(21, 133, 216, 0.22), transparent 66%);
    pointer-events: none;
}

.cta-band__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-block: clamp(48px, 6vw, 70px);
}

.cta-band h2 {
    max-width: 20ch;
    margin-bottom: 12px;
    font-size: clamp(1.9rem, 3.4vw, 2.8rem);
    line-height: 1.06;
    color: #fff;
    text-wrap: balance;
}

.cta-band p {
    max-width: 52ch;
    font-size: 14.5px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
}

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

.btn--accent {
    background: var(--blue-600);
    color: #fff;
    box-shadow: 0 6px 18px rgba(11, 111, 189, 0.24);
}

.btn--accent:hover {
    background: var(--blue-700);
}

.cta-band .btn--ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.34);
    color: #fff;
}

.cta-band .btn--ghost:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* ---------------------------------------------------------------
   Sidebar layouts
   --------------------------------------------------------------- */
.with-aside {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    align-items: start;
    gap: clamp(40px, 5vw, 72px);
}

.aside-stack {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    display: grid;
    gap: 20px;
}

.aside-nav {
    padding: 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-card);
}

.aside-nav h2 {
    padding: 16px 16px 10px;
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
}

.aside-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--body);
    transition: background 0.2s ease, color 0.2s ease;
}

.aside-nav a:hover {
    background: var(--paper);
    color: var(--blue-700);
}

.aside-nav a[aria-current="page"] {
    background: var(--blue-100);
    color: var(--blue-700);
    font-weight: 600;
}

.aside-nav .icon {
    width: 14px;
    height: 14px;
    color: var(--blue-600);
}

.aside-card {
    padding: 28px 26px;
    background: var(--navy-900);
    border-radius: var(--r-card);
    color: rgba(255, 255, 255, 0.7);
}

.aside-card h2 {
    margin-bottom: 10px;
    font-size: 1.45rem;
    line-height: 1.12;
    color: #fff;
}

.aside-card p {
    margin-bottom: 20px;
    font-size: 13px;
    line-height: 1.7;
}

.aside-card__phone {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #9fd0f5;
}

.aside-card__phone .icon {
    width: 18px;
    height: 18px;
}

.aside-card .btn {
    width: 100%;
}

/* ---------------------------------------------------------------
   Services archive
   --------------------------------------------------------------- */
.service-row {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    align-items: center;
    gap: clamp(24px, 4vw, 52px);
    padding-block: clamp(28px, 3.6vw, 40px);
    border-top: 1px solid var(--line);
}

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

.service-row__media {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: var(--r-photo);
    background: var(--navy-800);
}

.service-row__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s var(--ease);
}

.service-row:hover .service-row__media img {
    transform: scale(1.05);
}

.service-row__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-row__num {
    display: inline-block;
    margin-bottom: 10px;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--blue-700);
}

.service-row h2 {
    margin-bottom: 10px;
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
    line-height: 1.08;
}

.service-row h2 a {
    transition: color 0.2s ease;
}

.service-row h2 a:hover {
    color: var(--blue-700);
}

.service-row p {
    max-width: 62ch;
    margin-bottom: 16px;
    font-size: 14.5px;
    line-height: 1.74;
    color: var(--muted);
}

.chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.chip-list li {
    padding: 6px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--paper);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.service-row__body .link-arrow {
    margin-top: auto;
}

/* ---------------------------------------------------------------
   Products
   --------------------------------------------------------------- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.product-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: var(--line-strong);
    box-shadow: var(--shadow-md);
}

.product-card__media {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    padding: 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px 24px 26px;
}

.product-card__body h2 {
    margin-bottom: 9px;
    font-size: 1.35rem;
}

.product-card__body p {
    margin-bottom: 16px;
    font-size: 13.5px;
    line-height: 1.68;
    color: var(--muted);
}

.spec-list {
    display: grid;
    gap: 8px;
    margin-bottom: 20px;
}

.spec-list li {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
    font-size: 12px;
    color: var(--muted);
}

.spec-list li span:last-child {
    font-weight: 600;
    color: var(--ink);
    text-align: right;
}

.product-card .link-arrow {
    margin-top: auto;
}

/* ---------------------------------------------------------------
   Partners
   --------------------------------------------------------------- */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.partner-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 28px 30px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-4px);
    border-color: var(--line-strong);
    box-shadow: var(--shadow-md);
}

.partner-card__logo {
    display: flex;
    align-items: center;
    height: 52px;
    margin-bottom: 22px;
}

.partner-card__logo img {
    width: auto;
    height: auto;
    max-width: 210px;
    max-height: 46px;
    object-fit: contain;
}

.partner-card h2 {
    margin-bottom: 9px;
    font-size: 1.45rem;
}

.partner-card p {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--muted);
}

.partner-card .link-arrow {
    margin-top: auto;
}

/* ---------------------------------------------------------------
   Departments
   --------------------------------------------------------------- */
.dept-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.dept-card {
    display: flex;
    flex-direction: column;
    padding: 28px 26px 30px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.dept-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.dept-card__icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: var(--navy-900);
    color: #9fd0f5;
}

.dept-card__icon .icon {
    width: 21px;
    height: 21px;
}

.dept-card h2 {
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.dept-card p {
    margin-bottom: 16px;
    font-size: 13.5px;
    line-height: 1.68;
    color: var(--muted);
}

.dept-card ul {
    display: grid;
    gap: 7px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.dept-card ul li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12.5px;
    color: var(--ink);
}

.dept-card ul .icon {
    width: 13px;
    height: 13px;
    margin-top: 3px;
    color: var(--blue-700);
    stroke-width: 2.4;
}

/* ---------------------------------------------------------------
   Certificates
   --------------------------------------------------------------- */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.cert-card {
    display: flex;
    flex-direction: column;
    padding: 26px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-card);
}

.cert-card__media {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    margin-bottom: 22px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
}

.cert-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cert-card h2 {
    margin-bottom: 8px;
    font-size: 1.35rem;
}

.cert-card p {
    margin-bottom: 18px;
    font-size: 13.5px;
    line-height: 1.68;
    color: var(--muted);
}

.cert-card .btn {
    align-self: flex-start;
    margin-top: auto;
}

/* ---------------------------------------------------------------
   Blog archive
   --------------------------------------------------------------- */
.featured-post {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: stretch;
    margin-bottom: 44px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-card);
}

.featured-post__media {
    display: grid;
    place-items: center;
    overflow: hidden;
    min-width: 0;
    min-height: 340px;
    background: var(--navy-900);
}

.featured-post__media img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.featured-post__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(28px, 3.6vw, 48px);
}

.featured-post__body h2 {
    margin-bottom: 13px;
    font-size: clamp(1.7rem, 2.8vw, 2.4rem);
    line-height: 1.06;
}

.featured-post__body h2 a:hover {
    color: var(--blue-700);
}

.featured-post__body p {
    margin-bottom: 22px;
    font-size: 14.5px;
    line-height: 1.74;
    color: var(--muted);
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.post-meta span:first-child {
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--blue-100);
    color: var(--blue-700);
}

/* ---------------------------------------------------------------
   Article
   --------------------------------------------------------------- */
.post-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
    gap: clamp(40px, 5vw, 72px);
}

.post__hero {
    width: 100%;
    aspect-ratio: 789 / 400;
    margin-bottom: 30px;
    border-radius: var(--r-photo);
    object-fit: cover;
}

.post__body {
    max-width: 760px;
}

.post__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 40px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.post__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.post__tags a {
    padding: 6px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    transition: border-color 0.2s ease, color 0.2s ease;
}

.post__tags a:hover {
    border-color: var(--blue-600);
    color: var(--blue-700);
}

.post__pager {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 26px;
}

.post__pager a {
    display: block;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    background: var(--paper);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.post__pager a:hover {
    border-color: var(--line-strong);
    background: #fff;
}

.post__pager small {
    display: block;
    margin-bottom: 4px;
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--blue-700);
}

.post__pager strong {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--ink);
}

.post__pager a:last-child {
    text-align: right;
}

.mini-post {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-top: 1px solid var(--line);
}

.mini-post:first-of-type {
    padding-top: 0;
    border-top: 0;
}

.mini-post img {
    width: 88px;
    height: 45px;
    flex: none;
    border-radius: 8px;
    object-fit: cover;
}

.mini-post small {
    display: block;
    margin-bottom: 3px;
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.mini-post strong {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--ink);
}

.mini-post:hover strong {
    color: var(--blue-700);
}

.panel {
    padding: 24px 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-card);
}

.panel h2 {
    margin-bottom: 14px;
    font-family: var(--font-body);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink);
}

/* ---------------------------------------------------------------
   Prose
   --------------------------------------------------------------- */
.prose > * + * {
    margin-top: 18px;
}

.prose h2 {
    margin-top: 42px;
    font-size: clamp(1.8rem, 2.8vw, 2.4rem);
    line-height: 1.06;
}

.prose h2:first-child {
    margin-top: 0;
}

.prose h3 {
    margin-top: 32px;
    font-size: 1.4rem;
    line-height: 1.16;
}

.prose p {
    font-size: 15.5px;
    line-height: 1.8;
}

.prose strong {
    color: var(--ink);
    font-weight: 600;
}

.prose a {
    color: var(--blue-700);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.prose ul,
.prose ol {
    display: grid;
    gap: 10px;
}

.prose ul li,
.prose ol li {
    position: relative;
    padding-left: 24px;
    font-size: 15px;
    line-height: 1.72;
}

.prose ul li::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 4px;
    width: 7px;
    height: 7px;
    border: 1px solid var(--blue-600);
    transform: rotate(45deg);
}

.prose ol {
    counter-reset: prose-ol;
}

.prose ol li {
    padding-left: 34px;
    counter-increment: prose-ol;
}

.prose ol li::before {
    content: counter(prose-ol, decimal-leading-zero);
    position: absolute;
    top: 1px;
    left: 0;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    color: var(--blue-700);
}

.prose blockquote {
    margin: 32px 0;
    padding: 22px 26px;
    border-left: 3px solid var(--blue-600);
    border-radius: 0 var(--r-card) var(--r-card) 0;
    background: var(--paper);
    font-family: var(--font-display);
    font-size: 1.35rem;
    line-height: 1.32;
    color: var(--ink);
}

.callout {
    margin-top: 28px;
    padding: 24px 26px;
    border-left: 3px solid var(--blue-600);
    border-radius: 0 var(--r-card) var(--r-card) 0;
    background: var(--blue-100);
}

/* Credential footnote used at the end of service copy. */
.cert-note {
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    font-size: 12.5px;
    line-height: 1.65;
    color: var(--muted);
}

.cert-note a {
    font-weight: 600;
    color: var(--blue-700);
}

.cert-note a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.callout h3 {
    margin: 0 0 8px;
    font-size: 1.2rem;
}

.callout p {
    font-size: 14.5px;
    line-height: 1.7;
    color: #34505f;
}

.figure-block {
    margin-top: 32px;
}

.figure-block img {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--r-photo);
    object-fit: cover;
}

.figure-block figcaption {
    margin-top: 10px;
    font-size: 11.5px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ---------------------------------------------------------------
   Contact page
   --------------------------------------------------------------- */
.contact-page {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
    gap: clamp(36px, 6vw, 76px);
}

.info-list {
    display: grid;
    gap: 14px;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-card);
}

.info-card__icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--blue-100);
    color: var(--blue-700);
}

.info-card__icon .icon {
    width: 18px;
    height: 18px;
}

.info-card h2 {
    margin-bottom: 4px;
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}

.info-card p,
.info-card a {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--ink);
}

.info-card a:hover {
    color: var(--blue-700);
}

.form-panel {
    padding: clamp(24px, 3.4vw, 38px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-photo);
    box-shadow: var(--shadow-md);
}

.contact-form__title {
    font-size: clamp(1.25rem, 1.8vw, 1.5rem);
    color: var(--navy-900);
}

.contact-form__sub {
    margin: 6px 0 20px;
    font-size: 12.5px;
    color: var(--muted);
}

.contact-form .field {
    margin-bottom: 14px;
}

.contact-form .field label {
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--navy-800);
}

.contact-form .field input,
.contact-form .field select,
.contact-form .field textarea {
    min-height: 46px;
    font-size: 14px;
}

.contact-form .field textarea {
    min-height: 108px;
}

.contact-form__submit {
    width: 100%;
    margin-top: 4px;
}

.contact-form__privacy {
    margin-top: 14px;
    font-size: 11px;
    line-height: 1.55;
    color: var(--muted);
    text-align: center;
}

.map-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 300px;
    margin-top: 22px;
    padding: 26px 28px;
    overflow: hidden;
    border-radius: var(--r-photo);
    background:
        radial-gradient(circle at 78% 26%, rgba(21, 133, 216, 0.3), transparent 50%),
        linear-gradient(160deg, var(--navy-800), var(--navy-950));
    color: #fff;
}

.map-card__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: radial-gradient(circle at 60% 40%, #000, transparent 78%);
    -webkit-mask-image: radial-gradient(circle at 60% 40%, #000, transparent 78%);
    pointer-events: none;
}

.map-card__pin {
    position: relative;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: var(--blue-500);
    color: #fff;
    box-shadow: 0 0 0 10px rgba(21, 133, 216, 0.16);
}

.map-card__pin .icon {
    width: 21px;
    height: 21px;
    stroke-width: 2;
}

.map-card h2 {
    position: relative;
    margin-bottom: 6px;
    font-size: 1.3rem;
    color: #fff;
}

.map-card p {
    position: relative;
    margin-bottom: 14px;
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.72);
}

.map-card .link-arrow {
    position: relative;
    align-self: flex-start;
    color: #9fd0f5;
}

/* ---------------------------------------------------------------
   Checklist (shared with the homepage)
   --------------------------------------------------------------- */
.checklist {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 24px;
    margin-bottom: 28px;
}

.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.45;
    color: var(--ink);
}

.checklist__icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    border-radius: 50%;
    background: var(--blue-100);
    color: var(--blue-700);
}

.checklist__icon .icon {
    width: 12px;
    height: 12px;
    stroke-width: 2.4;
}

.about__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
}

/* Breathing room when a button row follows a long copy block. */
.prose + .about__actions {
    margin-top: clamp(22px, 2.4vw, 30px);
}

/* ---------------------------------------------------------------
   Error page
   --------------------------------------------------------------- */
.error-page {
    display: grid;
    place-items: center;
    min-height: 56vh;
    padding-block: clamp(60px, 10vw, 120px);
    text-align: center;
}

.error-page__code {
    font-family: var(--font-display);
    font-size: clamp(6rem, 18vw, 12rem);
    font-weight: 700;
    line-height: 0.8;
    letter-spacing: -0.04em;
    color: var(--blue-600);
}

.error-page h1 {
    margin: 20px 0 14px;
    font-size: clamp(1.9rem, 4vw, 2.9rem);
}

.error-page p:not(.error-page__code) {
    max-width: 520px;
    margin: 0 auto 28px;
    font-size: 15px;
    line-height: 1.75;
}

.error-page__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 26px;
}

/* ---------------------------------------------------------------
   Responsive
   --------------------------------------------------------------- */
@media (max-width: 1180px) {
    .with-aside,
    .post-layout {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 40px;
    }

    .service-row {
        grid-template-columns: 280px minmax(0, 1fr);
    }
}

@media (max-width: 1023px) {
    .page-hero {
        min-height: 0;
        padding-block: 44px clamp(48px, 7vw, 64px);
    }

    .with-aside,
    .post-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .aside-stack {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .split {
        grid-template-columns: minmax(0, 1fr);
    }

    .split--media-right .split__media {
        order: 0;
    }

    .split__media {
        max-width: 620px;
    }

    .contact-page {
        grid-template-columns: minmax(0, 1fr);
    }

    .product-grid,
    .dept-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .featured-post {
        grid-template-columns: minmax(0, 1fr);
    }

    .featured-post__media {
        min-height: 0;
        aspect-ratio: 789 / 400;
    }

    .service-row {
        grid-template-columns: 240px minmax(0, 1fr);
        gap: 28px;
    }

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

    .stat-band__item:nth-child(3) {
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .stat-band__item:nth-child(4) {
        border-top: 1px solid var(--line);
    }

    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .section-head__note {
        max-width: 56ch;
    }
}

@media (max-width: 767px) {
    .page-hero h1 {
        max-width: none;
    }

    .page-hero__lead {
        font-size: 14.5px;
    }

    .breadcrumb ol {
        margin-bottom: 20px;
    }

    .service-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }

    .service-row__media {
        aspect-ratio: 16 / 9;
    }

    .aside-stack {
        grid-template-columns: minmax(0, 1fr);
    }

    .product-grid,
    .dept-grid,
    .partner-grid,
    .cert-grid,
    .feature-grid,
    .checklist {
        grid-template-columns: minmax(0, 1fr);
    }

    .cta-band__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .post__pager {
        grid-template-columns: minmax(0, 1fr);
    }

    .post__pager a:last-child {
        text-align: left;
    }

    .post__hero {
        aspect-ratio: 789 / 400;
    }

    .stat-band__item {
        padding: 26px 18px;
    }
}

@media (max-width: 560px) {
    .page-hero {
        padding-block: 36px 44px;
    }

    .page-hero h1 {
        font-size: clamp(2.1rem, 9.6vw, 2.8rem);
    }

    .cta-band__actions .btn {
        width: 100%;
    }

    .post__footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media print {
    .aside-stack,
    .post__pager,
    .cta-band,
    .progress {
        display: none;
    }
}

/* CTA band gradient */
.cta-band { background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 50%, var(--navy-900) 100%) !important; background-size: 200% 200% !important; animation: cta-gradient 15s ease infinite; }
@keyframes cta-gradient { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
