/* ============================================================
   FABRONIX — website styles
   Inter typeface · brand slate #2C2441 · accent red #D71D05.
   ------------------------------------------------------------
   HOW THIS FILE IS ORGANISED (for manual editing)
   ------------------------------------------------------------
   Each component keeps its own responsive rules next to it, so to
   adjust a section on mobile, find the section then its @media block
   just below it. Search tips:
     · Search "/* HERO"        → homepage hero
     · Search ".page-hero"     → inner-page hero (dark slate band)
     · Search ".section-head"  → the eyebrow + heading + CTA row
     · Search ".val-"          → "Who we are" cards
     · Search ".cap-" / ".ind-"→ capability / industry image cards
     · Search ".svc"           → infrastructure & capabilities blocks
     · Search ".post-"         → blog listing + article
     · Search ".cform" / ".rfq"→ contact form + quote popup
     · Search ".footer"        → footer

   BREAKPOINTS used across the file (largest → smallest):
     1100px  → 4-col grids drop to 2 (footer, industries, QA)
     1000px  → service blocks + post layout stack to 1 column
      900px  → nav becomes the burger menu; most 2-col → 1-col;
               hero heights step down
      620px  → single-column phone layout; container padding 20px
      560px  → footer collapses to one column
   Variables live in the :root blocks near the top (colours, radius,
   --section-pad for vertical rhythm, --accent-rule-w for the red rules).
   ============================================================ */

:root {
    --ink:        #14141c;
    --ink-soft:   #3a3a44;
    --steel:      #5b5b66;
    --steel-soft: #8a8a94;
    --line:       #e6e6ec;
    --paper:      #ffffff;
    --mist:       #f4f4f6;
    --mist-2:     #ececef;

    /* deep slate-blue button derived from Fabronix violet #2C009C */
    --slate:      #2C2441;
    --slate-dark: #211A31;
    --slate-soft: #3B3252;
    --ink-navy:   #1C172B;

    --molten:     #FF5A1F;
    --red:        #D71D05;

    --radius:     22px;
    --radius-sm:  12px;
    --shadow:     0 24px 60px rgba(20,20,28,0.12);
    --shadow-sm:  0 10px 30px rgba(20,20,28,0.08);

    --container:  min(88%, 1600px);
    --gutter:     clamp(20px, 3vw, 40px);

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink-soft); background: var(--paper); line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container { width: var(--container); max-width: 1600px; margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3, h4 { color: var(--ink); font-weight: 700; line-height: 1.1; letter-spacing: -0.025em; }
h1 { font-size: clamp(46px, 5vw, 72px); }
h2 { font-size: clamp(32px, 4vw, 52px); }
h3 { font-size: clamp(20px, 2vw, 27px); }
h4 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
p  { color: var(--ink-soft); }

/* Accent rule: single source of truth so the eyebrow line and the stat
   underlines stay identical across every section. */
:root { --accent-rule-w: 64px; --accent-rule-h: 2px; }

/* grey wash over the CTA background photo — change the alpha to re-tune */
:root { --cta-overlay: rgba(128, 128, 128, 0.20); }

/* shared grey fill — grey button + spec-table caption bar */
:root { --grey-fill: #ececef; }

/* single source of truth for vertical rhythm between sections */
:root { --section-pad: clamp(52px, 5.5vw, 84px); }

.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--steel-soft); margin-bottom: 9px; display: inline-block; position: relative; padding-bottom: 10.8px; }
.eyebrow::after { content: ""; position: absolute; left: 0; bottom: 0; width: var(--accent-rule-w); height: var(--accent-rule-h); background: var(--red); opacity: 0.9; border-radius: 2px; }

.btn { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-size: 16px; letter-spacing: -0.01em; padding: 11px 28px; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s; border: 1.5px solid transparent; white-space: nowrap; border-radius: 6px; }
.btn .arrow { width: 18px; height: 18px; transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-primary { background: var(--slate); color: #fff; }
.btn-primary:hover { background: var(--red); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--red); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn-outline-light:hover { border-color: var(--red); background: var(--red); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--red); color: var(--red); }
.btn-grey { background: var(--grey-fill); color: var(--ink); }
.btn-grey:hover { background: var(--red); color: #fff; }

/* HEADER */
.site-header { position: relative; z-index: 100; background: transparent; }
.header-inner { width: var(--container); max-width: 1600px; margin: 0 auto; padding: 0 var(--gutter); }
.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 96px; }
.nav-logo img { height: 48px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 30px; list-style: none; justify-self: center; }
.nav-cta { justify-self: end; width: auto; align-self: center; }
.nav-menu > li > a { font-size: 17px; font-weight: 500; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; transition: color 0.18s; }
.nav-menu > li > a .plus { color: var(--steel); font-weight: 400; }
.nav-menu > li > a:hover { color: var(--slate); }
.nav-menu > li > a.active { color: var(--red); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 6px 0; transition: 0.3s; }

/* HERO */
.hero-shell { background: var(--paper); padding: 0 40px; }
.hero { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 693px; display: flex; align-items: center; }
.hero-media { position: absolute; inset: 0; z-index: 1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; filter: brightness(0.72) contrast(1.04) saturate(0.9); }
.hero-media::after {
    content: ""; position: absolute; inset: 0;
    background:
        linear-gradient(100deg, rgba(16,14,24,0.76) 0%, rgba(16,14,24,0.52) 26%, rgba(16,14,24,0.18) 48%, rgba(16,14,24,0.0) 68%, rgba(16,14,24,0.0) 100%),
        linear-gradient(180deg, rgba(16,14,24,0.28) 0%, rgba(16,14,24,0.0) 28%, rgba(16,14,24,0.05) 70%, rgba(16,14,24,0.45) 100%),
        linear-gradient(0deg, rgba(44,36,65,0.12) 0%, rgba(44,36,65,0.0) 40%);
}
.hero-inner { position: relative; z-index: 2; padding: 64px 0; width: 100%; }
.hero-copy { width: 100%; box-sizing: border-box; padding-left: calc((100vw - min(88vw, 1600px))/2 + var(--gutter) - 40px); padding-right: calc((100vw - min(88vw, 1600px))/2 + var(--gutter) - 40px); }
.hero h1 { color: #fff; margin-bottom: 26px; line-height: 1.04; letter-spacing: -0.02em; font-weight: 700; }
.hero p.lead { color: rgba(255,255,255,0.92); font-size: clamp(17px, 1.35vw, 21px); max-width: 640px; margin-bottom: 34px; line-height: 1.45; font-weight: 400; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* SECTIONS */
/* z-index 1 keeps card shadows painting ABOVE the next section — the acronym
   band uses a negative margin-top and was cropping the who-we-are shadows. */
.section { padding: var(--section-pad) 0; position: relative; z-index: 1; }
.section.grey { background: var(--mist); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 60px; margin-bottom: 44px; }
.section-head .sh-left { max-width: 1150px; flex: 1; }
.section-head h2 { max-width: none; }
.section-head p { color: var(--steel); font-size: 19px; margin-top: 18px; max-width: none; }
.section-head .sh-cta { flex-shrink: 0; align-self: flex-end; margin-bottom: 4px; }
.section-head.no-cta { display: block; }
.section-head.no-cta .sh-left { max-width: 1050px; }
/* heads with no supporting paragraph sit closer to their content */
.section-head.tight { margin-bottom: 26px; }

/* Who we are — white chevron cards (4 in a row) */
.val-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.val-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 38px 34px 42px; transition: transform 0.25s ease, box-shadow 0.3s; }
.val-card:hover { box-shadow: var(--shadow); }
.val-card .val-chevron { color: var(--slate); margin-bottom: 26px; }
.val-card .val-chevron svg { width: 53px; height: 53px; display: block; }
/* Value icon hover animation */
.val-card .val-chevron { transition: transform 0.4s cubic-bezier(.22,.8,.28,1), color 0.28s ease; }
.val-card .val-chevron svg { transition: transform 0.5s cubic-bezier(.22,.8,.28,1); }
.val-card .val-chevron svg * { transition: stroke-dashoffset 0.6s ease, opacity 0.4s ease; }
.val-card:hover .val-chevron { transform: translateY(-4px); color: var(--red); }
.val-card:hover .val-chevron svg { transform: scale(1.06); }

.val-card h3 { font-size: 23px; color: var(--ink); margin-bottom: 16px; letter-spacing: -0.02em; line-height: 1.15; }
.val-card p { color: var(--steel); font-size: 15.5px; line-height: 1.6; }

/* Infrastructure & Capabilities — FULL-IMAGE cards */
.cap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.cap-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 11; box-shadow: var(--shadow-sm); transition: transform 0.3s ease, box-shadow 0.3s; }
/* .cap-grid scope beats `.reveal.in { transform: none }` further down the file */
.cap-grid > .cap-card:hover { box-shadow: var(--shadow); transform: translateY(-6px); }
.cap-card > img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.cap-card:hover > img { transform: scale(1.05); }
.cap-card .cap-overlay { position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(12,12,20,0.55) 0%, rgba(12,12,20,0.12) 32%, rgba(12,12,20,0.4) 68%, rgba(12,12,20,0.9) 100%); display: flex; flex-direction: column; padding: 34px; }
.cap-card h3 { color: #fff; font-size: 26px; margin-bottom: 12px; }
.cap-card .cap-desc { color: rgba(255,255,255,0.9); font-size: 15.5px; line-height: 1.55; max-width: 90%; }
.cap-card .cap-link { margin-top: auto; display: inline-flex; align-items: center; gap: 9px; color: #fff; font-weight: 500; font-size: 17px; border-bottom: 1.5px solid rgba(255,255,255,0.6); padding-bottom: 5px; align-self: flex-start; transition: border-color 0.2s; }
.cap-card .cap-link svg { width: 18px; height: 18px; transition: transform 0.2s; }
.cap-card:hover .cap-link { border-color: #fff; }
.cap-card:hover .cap-link svg { transform: translateX(4px); }

/* Industries — FULL-IMAGE cards */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.ind-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 5 / 6; box-shadow: var(--shadow-sm); transition: transform 0.25s ease, box-shadow 0.3s; }
.ind-grid > .ind-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.ind-card > img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.ind-card:hover > img { transform: scale(1.06); }
.ind-card .ind-overlay { position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(12,12,20,0.78) 0%, rgba(12,12,20,0.42) 20%, rgba(12,12,20,0.08) 42%, rgba(12,12,20,0.35) 68%, rgba(12,12,20,0.92) 100%); display: flex; flex-direction: column; padding: 34px; }
.ind-card h3 { color: #fff; font-size: 25px; margin-bottom: 12px; }
.ind-card .ind-desc { color: rgba(255,255,255,0.88); font-size: 15.5px; line-height: 1.5; }
.ind-card .ind-more { margin-top: auto; display: inline-flex; align-items: center; gap: 9px; color: #fff; font-weight: 500; font-size: 17px; border-bottom: 1.5px solid rgba(255,255,255,0.6); padding-bottom: 5px; align-self: flex-start; transition: border-color 0.2s; }
.ind-card .ind-more svg { width: 18px; height: 18px; transition: transform 0.2s; }
.ind-card:hover .ind-more { border-color: #fff; }
.ind-card:hover .ind-more svg { transform: translateX(4px); }


/* FAQ (accordion) — themed cards */
.faq-section { background: var(--paper); }
.faq-list { display: flex; flex-direction: column; gap: 14px; max-width: none; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: border-color 0.25s, box-shadow 0.25s; }
.faq-item:hover { border-color: var(--slate-soft); }
.faq-item.open { border-color: var(--slate); box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; background: none; border: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 28px; text-align: left; font-family: var(--font); font-size: 18px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; transition: color 0.2s; }
.faq-q:hover { color: var(--slate); }
.faq-ic { width: 34px; height: 34px; flex-shrink: 0; color: #fff; background: var(--slate); border-radius: 50%; padding: 7px; transition: transform 0.35s cubic-bezier(.22,.8,.28,1), background 0.25s; }
.faq-item.open .faq-ic { transform: rotate(135deg); background: var(--red); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a p { color: var(--steel); font-size: 16px; line-height: 1.65; padding: 0 28px 26px; margin: 0; max-width: none; }

/* CTA — navy rounded box on light bg (title left, text+buttons right) */
.cta-wrap { position: relative; padding: 0 0 clamp(0px, 2vw, 20px); background: var(--paper); }
/* background band is 30% taller than before (was 85% of a shorter wrapper) */
.cta-wrap::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 88%; z-index: 0;
    /* grey colour overlay @ 20% sits on top of the photo */
    background:
        linear-gradient(var(--cta-overlay), var(--cta-overlay)) center/cover,
        url("../images/cta-bg.jpg") center 22%/cover;
}
.cta-wrap .container { position: relative; z-index: 1; padding-top: clamp(72px, 9vw, 144px); }
.cta-box { background: var(--ink-navy); border-radius: var(--radius); padding: clamp(48px, 5vw, 72px) clamp(40px, 4.5vw, 72px); display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 5vw, 80px); align-items: center; box-shadow: var(--shadow); }
.cta-box h2 { color: #fff; font-size: clamp(34px, 3.6vw, 52px); line-height: 1.05; letter-spacing: -0.02em; }
.cta-box .cta-right p { color: rgba(255,255,255,0.82); font-size: 18px; line-height: 1.55; margin-bottom: 32px; }
.cta-box .cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* FOOTER — white / light style */
.site-footer { background: var(--paper); color: var(--steel); padding: var(--section-pad) 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer-brand img { height: 46px; width: auto; margin-bottom: 22px; }
.footer-brand p { color: var(--steel); font-size: 15.5px; max-width: 340px; line-height: 1.65; margin-bottom: 24px; }
.footer-brand .f-contact { font-size: 14.5px; line-height: 1.7; color: var(--ink-soft); }
.footer-brand .f-line { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.footer-brand .f-line svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 2px; color: var(--slate); }
.footer-brand .f-contact a { color: var(--ink-soft); }
.footer-brand .f-contact a:hover { color: var(--slate); }
.footer-col h4 { color: var(--ink); font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 20px; font-weight: 600; padding-bottom: 12px; border-bottom: 1px solid var(--line); position: relative; }
.footer-col h4::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 28px; height: 2px; background: var(--red); opacity: 0.8; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 13px; }
.footer-col a { font-size: 15px; color: var(--steel); transition: color 0.18s; }
.footer-col a:hover { color: var(--slate); }
.footer-social { display: flex; gap: 10px; margin-top: 6px; }
.footer-social a { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 8px; display: flex; align-items: center; justify-content: center; transition: border-color 0.2s, background 0.2s, color 0.2s; color: var(--slate); }
.footer-social a:hover { border-color: var(--slate); background: var(--slate); color: #fff; }
.footer-social svg { width: 20px; height: 20px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 26px; font-size: 14px; color: var(--steel-soft); flex-wrap: wrap; gap: 12px; }
.footer-bottom a { color: var(--steel); text-decoration: underline; }
.footer-bottom a:hover { color: var(--slate); }


/* ===== Brand backronym band — scroll-scrub (light theme) ===== */
.secAcronym { background: var(--paper); color: var(--ink); padding: var(--section-pad) 0; margin-top: calc(-1 * var(--section-pad)); position: relative; z-index: 0; overflow: hidden; }
.secAcronym .bb-eyebrow { display: block; text-align: center; margin-bottom: 8px; color: var(--steel-soft); }
.secAcronym .acroRow {
    display: flex; flex-wrap: nowrap; align-items: baseline; justify-content: center;
    gap: 0; margin: 0; position: relative; z-index: 2; white-space: nowrap;
}
.secAcronym .acroPair { display: inline-flex; align-items: baseline; }
.secAcronym .acroL {
    font-size: clamp(32px, 4.6vw, 72px); font-weight: 600; line-height: 1; color: var(--ink);
    letter-spacing: -0.02em; position: relative;
}
/* SCRUB MODE: width & opacity driven by per-word --wp (0..1), set by JS on scroll. */
.secAcronym .acroWord {
    --wp: 0;
    font-family: var(--font); font-weight: 600; font-size: clamp(10px, 0.95vw, 13px);
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--steel); align-self: center; white-space: nowrap; overflow: hidden;
}
.secAcronym.scrub .acroWord {
    max-width: calc(var(--wp) * 190px);
    opacity: var(--wp);
    margin-right: calc(var(--wp) * 12px);
    margin-left: calc(var(--wp) * 3px);
}
/* the wordmark shifts subtly from ink toward slate as it fully opens */
.secAcronym.scrub .acroL {
    color: color-mix(in srgb, var(--ink) calc((1 - var(--acro-p, 0)) * 100%), var(--slate));
}
@supports not (color: color-mix(in srgb, #fff 50%, #000)) {
    .secAcronym.scrub .acroL { color: var(--ink); }
}
.secAcronym.scrub .acroPair:last-child .acroL { color: var(--red); }
/* fallback caption: shown only if JS never runs */
.secAcronym .acroFallback {
    font-family: var(--font); font-size: clamp(12px, 1.3vw, 15px); letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--steel-soft); margin-top: 20px; line-height: 1.6;
    position: relative; z-index: 2; max-height: 60px; overflow: hidden; font-weight: 600;
}
.secAcronym .acroFallback b { color: var(--slate); font-weight: 700; }
.secAcronym.scrub .acroFallback { display: none; }
/* three points below */
.secAcronym .acroPoints {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
    margin-top: 48px; text-align: left; position: relative; z-index: 2;
}
.secAcronym .acroPoint {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
    padding: 30px 30px 34px; transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.secAcronym .acroPoint:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--slate-soft); }
.secAcronym .acroPoint .apNum { font-size: 14px; font-weight: 700; color: var(--slate); font-variant-numeric: tabular-nums; }
.secAcronym .acroPoint h4 { color: var(--ink); font-size: 20px; font-weight: 700; margin: 14px 0 8px; letter-spacing: -0.01em; }
.secAcronym .acroPoint p { color: var(--steel); font-size: 15.5px; line-height: 1.55; margin: 0; }
@media (max-width: 900px) {
    .secAcronym .acroPoints { grid-template-columns: 1fr; gap: 16px; margin-top: 48px; }
}
@media (max-width: 620px) {
    .secAcronym .acroWord { display: none; }
    .secAcronym.scrub .acroFallback { display: block; }
}

.ph { background: linear-gradient(135deg, #26262f 0%, #3a3a47 100%); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); font-size: 12px; text-align: center; padding: 14px; font-weight: 500; line-height: 1.5; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.22,.8,.28,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

@media (max-width: 1100px) { 
    .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; } .ind-grid { grid-template-columns: repeat(2, 1fr); }
    
    .val-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    :root { --container: 92%; }
    .nav-menu, .nav-cta { display: none; }
    .nav-toggle { display: block; }
    .cap-grid { grid-template-columns: 1fr; }
    .section-head { flex-direction: column; align-items: flex-start; gap: 26px; }
    .cta-box { grid-template-columns: 1fr; gap: 28px; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
    /* column layout: flip the button back to the left, under the heading */
    .section-head .sh-cta { margin-bottom: 0; align-self: flex-start; }
    
    .hero { min-height: 468px; }
}
/* small phones: footer to a single column so 1fr tracks can't overflow */
.footer-col, .footer-brand { min-width: 0; }
@media (max-width: 560px) {
    .footer-top { grid-template-columns: 1fr; gap: 30px; }
    .footer-brand p { max-width: none; }
    .footer-brand .f-line { flex-wrap: wrap; }
}

@media (max-width: 620px) {
    :root { --container: 100%; }
    .container { padding: 0 20px; }
    .ind-grid { grid-template-columns: 1fr; }
    .val-grid { grid-template-columns: 1fr; }
    .hero-actions .btn, .cta-actions .btn { flex: 1; justify-content: center; }
    .hero { min-height: 414px; }
}


/* ============================================================
   ABOUT PAGE
   ============================================================ */

/* Page hero — same rounded shell as the homepage hero, shorter.
   Inner pages use a CSS line pattern (no photo): grid + corner light
   wash on a mid-tone slate (shade E), with red accent gridlines. */
.page-hero { min-height: 211px; }                  /* 20% shorter than before */
.page-hero .hero-media { display: none; }          /* drop the photo + its overlay */
.page-hero {
    /* dark slate — matches the Get a Quote button, with grid + red accents */
    background:
        repeating-linear-gradient(0deg,  transparent 0 43px, rgba(255,255,255,0.05) 43px 44px),
        repeating-linear-gradient(90deg, transparent 0 43px, rgba(255,255,255,0.05) 43px 44px),
        radial-gradient(120% 140% at 12% 0%, #3b3253 0%, #2c2441 55%, #211a31 100%);
}
.page-hero::after {                                /* red accent verticals */
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: repeating-linear-gradient(90deg, transparent 0 219px, rgba(215,29,5,0.34) 219px 221px);
}
.page-hero .hero-inner { padding: 32px 0; position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(40px, 4.2vw, 62px); }
.page-hero .eyebrow { color: rgba(255,255,255,0.72); }
.page-hero p.lead { max-width: 680px; }

/* Centred section head (used by Leadership) */
.section-head.center { display: block; text-align: center; }
.section-head.center .sh-left { max-width: 900px; margin: 0 auto; }
.eyebrow.center::after { left: 50%; transform: translateX(-50%); }

/* Intro: copy left, quick facts right */
.about-intro { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(40px, 5vw, 80px); align-items: start; }
.about-intro p { color: var(--steel); font-size: 17px; line-height: 1.7; margin-bottom: 18px; }
.about-facts { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 34px 12px; box-shadow: var(--shadow-sm); }
.about-fact { padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.about-fact:last-child { border-bottom: none; }
.about-fact .af-k { font-size: 12.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel-soft); margin-bottom: 8px; }
.about-fact .af-v { font-size: 17px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }

/* Why choose — image left, checklist right */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 76px); align-items: center; }
.why-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 4 / 3; }
.why-media img { width: 100%; height: 100%; object-fit: cover; }
.why-body h2 { margin-bottom: 20px; }
.why-body > p { color: var(--steel); font-size: 17.5px; line-height: 1.65; margin-bottom: 34px; }
.why-list { list-style: none; display: flex; flex-direction: column; gap: 24px; }
.why-list li { display: flex; gap: 16px; align-items: flex-start; }
.why-list .why-ic { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--slate); color: #fff; display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.why-list .why-ic svg { width: 14px; height: 14px; }
.why-list p { color: var(--steel); font-size: 16.5px; line-height: 1.55; margin: 0; }
.why-list b { color: var(--ink); font-weight: 700; }

/* Leadership — photo card, name + LinkedIn, role */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); padding-bottom: 26px; transition: transform 0.25s ease, box-shadow 0.3s; }
.team-grid > .team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.team-card .tc-photo, .team-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.team-card .tc-photo { background: var(--mist); border-bottom: 1px dashed var(--line); display: flex; align-items: center; justify-content: center; }
.team-card .tc-photo span { font-size: 12.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel-soft); }
.team-card .tc-name { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; margin: 24px 26px 0; padding-left: 14px; border-left: 3px solid var(--slate); }
.team-card .tc-name a { display: inline-flex; transition: opacity 0.2s, transform 0.2s; }
.team-card .tc-name a:hover { opacity: 0.82; transform: translateY(-1px); }
.team-card .tc-name svg { width: 20px; height: 20px; display: block; border-radius: 3px; }
.team-card .tc-role { color: var(--steel); font-size: 16.5px; margin: 6px 26px 0; padding-left: 17px; }

@media (max-width: 900px) {
    .about-intro { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; gap: 22px; }
    .page-hero { min-height: 163px; }
}

/* Quality assurance — copy left, accreditation logos 2x2 right */
.qa-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 5vw, 76px); align-items: center; }
.qa-copy p { color: var(--steel); font-size: 17px; line-height: 1.7; margin-top: 18px; }
.accred-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.accred { background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: center; padding: 26px 22px; min-height: 124px; transition: transform 0.25s ease, box-shadow 0.3s; }
.accred-grid > .accred:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.accred img { max-width: 132px; width: 100%; height: auto; object-fit: contain; }

/* Certificate — single document, preview + details */
.cert-single { display: grid; grid-template-columns: minmax(230px, 300px) 1fr; gap: clamp(36px, 4vw, 60px); align-items: start; }
.cert-doc { display: block; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform 0.25s ease, box-shadow 0.3s; }
.cert-single > .cert-doc:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.cert-doc img { width: 100%; height: auto; display: block; }
.cert-info h3 { font-size: clamp(22px, 2vw, 28px); color: var(--ink); margin-bottom: 16px; }
.cert-info > p { color: var(--steel); font-size: 17px; line-height: 1.65; margin-bottom: 32px; }
.cert-meta { margin-bottom: 34px; }
.cert-meta > div { display: grid; grid-template-columns: 210px 1fr; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line); }
.cert-meta > div:last-child { border-bottom: 1px solid var(--line); }
.cert-meta dt { font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel-soft); padding-top: 3px; }
.cert-meta dd { font-size: 16px; color: var(--ink); font-weight: 500; line-height: 1.5; }

@media (max-width: 1100px) { .qa-grid { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
    .cert-single { grid-template-columns: 1fr; }
    .cert-meta > div { grid-template-columns: 1fr; gap: 6px; }
}

/* ============================================================
   INFRASTRUCTURE & CAPABILITIES PAGE
   ============================================================ */

.infra-lead { color: var(--steel); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.7; max-width: none; margin-bottom: 44px; }

.infra-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.infra-shot { margin: 0; }
.infra-shot img, .infra-ph { border-radius: var(--radius); aspect-ratio: 4 / 3; width: 100%; display: block; object-fit: cover; box-shadow: var(--shadow-sm); }
.infra-ph { background: var(--mist); border: 1px dashed var(--line); display: flex; align-items: center; justify-content: center; }
.infra-ph span { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel-soft); }
.infra-shot figcaption { margin-top: 16px; font-size: 15.5px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }

/* Services */
.svc-list { display: flex; flex-direction: column; gap: var(--section-pad); }
/* hairline divider sits centred in the gap between services */
.svc + .svc { border-top: 1px solid rgba(20, 20, 28, 0.75); padding-top: var(--section-pad); }
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 4.5vw, 70px); align-items: start; }
.svc:nth-child(even) .svc-media { order: 2; }
.svc-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 16 / 11; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; }
.svc-body h2 { font-size: clamp(28px, 2.8vw, 40px); margin-bottom: 18px; padding-bottom: 14px; position: relative; }
.svc-body h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: var(--accent-rule-w); height: var(--accent-rule-h); background: var(--red); opacity: 0.9; border-radius: 2px; }
.svc-body > p { color: var(--steel); font-size: 17px; line-height: 1.65; margin-bottom: 16px; }
.svc-body > p:last-of-type { margin-bottom: 34px; }

.svc-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px 30px; }
.svc-point { display: flex; gap: 16px; align-items: flex-start; }
/* icons reuse the homepage .val-chevron treatment — same thin stroke, colour,
   hover lift + red, and the JS line-draw (main.js targets .svc-point too) */
.svc-point .val-chevron { flex-shrink: 0; margin-bottom: 0; color: var(--slate); transition: transform 0.4s cubic-bezier(.22,.8,.28,1), color 0.28s ease; }
.svc-point .val-chevron svg { width: 44px; height: 44px; display: block; transition: transform 0.5s cubic-bezier(.22,.8,.28,1); }
.svc-point .val-chevron svg * { transition: stroke-dashoffset 0.6s ease, opacity 0.4s ease; }
.svc-point:hover .val-chevron { transform: translateY(-4px); color: var(--red); }
.svc-point:hover .val-chevron svg { transform: scale(1.06); }
.svc-point h4 { color: var(--ink); font-size: 17px; font-weight: 700; letter-spacing: -0.01em; margin: 6px 0 6px; }
.svc-point p { color: var(--steel); font-size: 15px; line-height: 1.55; margin: 0; }

/* Spec tables — boxed card (as before) but with the compact row rhythm */
.spec { margin-top: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow-x: auto; box-shadow: var(--shadow-sm); }
.spec-title { background: var(--grey-fill); color: var(--ink); font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 14px 20px 12px; position: relative; }
.spec-title::after { content: ""; position: absolute; left: 20px; bottom: 0; width: var(--accent-rule-w); height: var(--accent-rule-h); background: var(--red); border-radius: 2px; }
.spec table { width: 100%; border-collapse: collapse; }
.spec th { color: var(--steel-soft); font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; text-align: left; padding: 12px 20px 7px; border-bottom: 1px solid var(--line); }
.spec td { font-size: 15px; color: var(--steel); padding: 9px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec tr:last-child td { border-bottom: none; }
.spec td:first-child { font-weight: 600; color: var(--ink); width: 44%; }
.spec thead + tbody td:first-child { width: 42%; }

@media (max-width: 1000px) {
    .infra-grid { grid-template-columns: 1fr; }
    .svc { grid-template-columns: minmax(0,1fr); }
    .svc-media, .svc-body { min-width: 0; }
    .svc:nth-child(even) .svc-media { order: 0; }
    .svc-points { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 620px) {
    .spec-title { font-size: 14.5px; }
    .spec td, .spec th { padding: 12px 16px; font-size: 14.5px; }
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */

.contact-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 3vw, 44px); align-items: stretch; }

.contact-form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: clamp(26px, 2.6vw, 40px); }
.contact-form-card h2 { font-size: clamp(26px, 2.4vw, 34px); margin-bottom: 12px; }
.cf-lead { color: var(--steel); font-size: 16.5px; line-height: 1.6; margin-bottom: 26px; }

/* shared form styling (page form + RFQ modal) */
.cform .cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cform .field { margin-bottom: 18px; }
.cform label { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel-soft); margin-bottom: 8px; }
.cform .req { color: var(--red); }
.cform input, .cform select, .cform textarea {
    width: 100%; font-family: var(--font); font-size: 16px; color: var(--ink); background: #fff;
    border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.cform textarea { resize: vertical; min-height: 120px; line-height: 1.55; }
.cform select { appearance: none; cursor: pointer;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b5b66' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.cform input:focus, .cform select:focus, .cform textarea:focus { outline: none; border-color: var(--slate); box-shadow: 0 0 0 3px rgba(44,36,65,0.10); }
.cform input:user-invalid, .cform textarea:user-invalid { border-color: var(--red); }
.cform button[type="submit"] { margin-top: 4px; border: none; }
.cf-note { font-size: 14.5px; color: var(--steel); margin-top: 14px; min-height: 1em; }
.cf-note.ok { color: #1c7a3e; font-weight: 600; }
.cf-note.err { color: var(--red); font-weight: 600; }

/* .cform .dropzone — needs to out-specify `.cform label` above, which would
   otherwise force this into uppercase 12.5px label styling */
.cform .dropzone { display: flex; align-items: center; gap: 12px; cursor: pointer; border: 1.5px dashed var(--line); border-radius: 8px; padding: 16px 18px; margin-bottom: 0; background: var(--mist); transition: border-color 0.2s, background 0.2s; text-transform: none; letter-spacing: normal; font-size: 15px; color: var(--steel); font-weight: 400; }
.cform .dropzone:hover { border-color: var(--slate-soft); background: #fff; }
.cform .dropzone svg { width: 22px; height: 22px; color: var(--red); flex-shrink: 0; }
.cform .dropzone b { color: var(--ink); font-weight: 700; }

/* dark contact panel */
.contact-panel { background: var(--ink-navy); border-radius: var(--radius); padding: clamp(26px, 2.6vw, 40px); position: relative; overflow: hidden; box-shadow: var(--shadow); }
.contact-panel::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--red); }
.contact-panel .eyebrow { color: rgba(255,255,255,0.6); }
.contact-panel h3 { color: #fff; font-size: clamp(21px, 1.9vw, 26px); margin-bottom: 10px; }
.cp-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
.cp-item:last-of-type { border-bottom: none; padding-bottom: 0; }
.cp-ic { flex-shrink: 0; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.18); border-radius: 9px; display: flex; align-items: center; justify-content: center; color: var(--red); }
.cp-ic svg { width: 19px; height: 19px; }
.cp-k { font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 5px; }
.cp-v { color: #fff; font-size: 16px; line-height: 1.5; font-weight: 500; }
.cp-v a { color: #fff; transition: color 0.2s; }
.cp-v a:hover { color: var(--red); }
.cp-cta { margin-top: 24px; width: 100%; justify-content: center; }

/* map */
.map-wrap { line-height: 0; }
.map-wrap iframe { width: 100%; height: clamp(320px, 38vw, 480px); border: 0; display: block; filter: grayscale(0.25) contrast(1.02); }

/* RFQ modal */
.rfq { position: fixed; inset: 0; z-index: 300; display: flex; align-items: flex-start; justify-content: center; padding: clamp(16px, 4vh, 56px) 20px; overflow-y: auto; }
.rfq[hidden] { display: none; }
.rfq-backdrop { position: fixed; inset: 0; background: rgba(16,14,24,0.62); backdrop-filter: blur(3px); animation: rfqFade 0.22s ease; }
.rfq-dialog { position: relative; z-index: 1; width: 100%; max-width: 860px; background: #fff; border-radius: var(--radius); box-shadow: 0 40px 90px rgba(20,20,28,0.32); animation: rfqIn 0.28s cubic-bezier(.22,.8,.28,1); }
@keyframes rfqFade { from { opacity: 0; } }
@keyframes rfqIn { from { opacity: 0; transform: translateY(18px); } }
.rfq-head { padding: clamp(28px, 3vw, 40px) clamp(28px, 3vw, 44px) 22px; border-bottom: 1px solid var(--line); }
.rfq-head h2 { font-size: clamp(24px, 2.2vw, 32px); margin-bottom: 10px; padding-right: 40px; }
.rfq-head p { color: var(--steel); font-size: 16px; line-height: 1.6; }
.rfq-body { padding: clamp(24px, 2.6vw, 34px) clamp(28px, 3vw, 44px) clamp(28px, 3vw, 40px); }
.rfq-x { position: absolute; top: 20px; right: 20px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--steel); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: color 0.2s, border-color 0.2s, transform 0.2s; }
.rfq-x:hover { color: var(--red); border-color: var(--red); transform: rotate(90deg); }
.rfq-x svg { width: 18px; height: 18px; }
body.rfq-open { overflow: hidden; }

@media (max-width: 1000px) {
    .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
    .cform .cf-row { grid-template-columns: 1fr; gap: 0; }
    .rfq { padding: 0; }
    .rfq-dialog {  min-height: 100%; }
}

/* Industries page — reuses the .svc alternating layout */
.ind-cta { margin-top: 28px; }

/* ============================================================
   BLOG — listing + article
   ============================================================ */

.post-list, .post-grid { display: grid; gap: 30px; }
.post-grid { grid-template-columns: repeat(3, 1fr); }

.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform 0.25s ease, box-shadow 0.3s; }
.post-list > .post-card:hover, .post-grid > .post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card .pc-media { display: block; overflow: hidden; aspect-ratio: 16 / 10; }
.post-card .pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.post-card:hover .pc-media img { transform: scale(1.05); }
.post-card .pc-body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.post-card .pc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel-soft); margin-bottom: 14px; }
.post-card .pc-cat { color: var(--red); }
.post-card h3 { font-size: 21px; line-height: 1.25; margin-bottom: 12px; letter-spacing: -0.02em; }
.post-card h3 a { transition: color 0.2s; }
.post-card h3 a:hover { color: var(--red); }
.post-card p { color: var(--steel); font-size: 15.5px; line-height: 1.6; margin-bottom: 22px; }
.post-card .pc-more { margin-top: auto; display: inline-flex; align-items: center; gap: 9px; align-self: flex-start; font-size: 15.5px; font-weight: 600; color: var(--ink); padding-bottom: 5px; border-bottom: 1.5px solid var(--line); transition: color 0.2s, border-color 0.2s; }
.post-card .pc-more svg { width: 17px; height: 17px; transition: transform 0.2s; }
.post-card .pc-more:hover { color: var(--red); border-color: var(--red); }
.post-card .pc-more:hover svg { transform: translateX(4px); }

/* featured card — image left, copy right */
.post-card.featured { display: grid; grid-template-columns: 1.15fr 1fr; }
.post-card.featured .pc-media { aspect-ratio: auto; height: 100%; }
.post-card.featured .pc-body { padding: clamp(28px, 3vw, 46px); justify-content: center; }
.post-card.featured h3 { font-size: clamp(24px, 2.4vw, 34px); }
.post-card.featured p { font-size: 17px; }

/* pagination */
.pager { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 48px; }
.pager a, .pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 16px; border: 1px solid var(--line); border-radius: 6px; background: #fff; font-size: 15px; font-weight: 600; color: var(--ink); transition: border-color 0.2s, color 0.2s, background 0.2s; }
.pager a:hover { border-color: var(--red); color: var(--red); }
.pager .current { background: var(--slate); border-color: var(--slate); color: #fff; }
.pager .disabled { color: var(--steel-soft); background: var(--mist); cursor: not-allowed; }

/* ---- article ---- */
.crumbs { font-size: 14px; color: var(--steel-soft); margin-bottom: 26px; }
.crumbs a { color: var(--steel); transition: color 0.2s; }
.crumbs a:hover { color: var(--red); }
.crumbs span { margin: 0 6px; }

.post-head { max-width: 900px; margin-bottom: 34px; }
.post-head h1 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.1; margin-bottom: 18px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 14.5px; color: var(--steel); }

.post-hero { margin-bottom: 48px; }
.post-hero img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.post-hero figcaption { margin-top: 14px; font-size: 14.5px; color: var(--steel-soft); }

.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: clamp(40px, 5vw, 76px); align-items: start; }
.post-body { max-width: 760px; }
.post-body .post-lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.65; color: var(--ink-soft); margin-bottom: 34px; }
.post-body h2 { font-size: clamp(23px, 2.1vw, 30px); margin: 40px 0 16px; padding-bottom: 14px; position: relative; }
.post-body h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: var(--accent-rule-w); height: var(--accent-rule-h); background: var(--red); opacity: 0.9; border-radius: 2px; }
.post-body p { color: var(--steel); font-size: 17px; line-height: 1.75; margin-bottom: 18px; }
.post-body ul { list-style: none; margin: 24px 0 28px; }
.post-body ul li { position: relative; padding-left: 26px; color: var(--steel); font-size: 17px; line-height: 1.7; margin-bottom: 12px; }
.post-body ul li::before { content: ""; position: absolute; left: 0; top: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.post-body ul li strong { color: var(--ink); font-weight: 700; }
.post-body blockquote { margin: 32px 0; padding: 4px 0 4px 26px; border-left: 3px solid var(--red); }
.post-body blockquote p { font-size: 19px; line-height: 1.6; color: var(--ink); font-weight: 500; margin: 0; }

.post-cta { margin-top: 44px; background: var(--mist); border-radius: var(--radius); padding: clamp(28px, 3vw, 40px); }
.post-cta h3 { font-size: 23px; margin-bottom: 10px; }
.post-cta p { color: var(--steel); font-size: 16.5px; margin-bottom: 22px; }

.post-aside { position: sticky; top: 32px; display: flex; flex-direction: column; gap: 30px; }
.post-aside h4 { color: var(--ink); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 18px; padding-bottom: 11px; border-bottom: 1px solid var(--line); position: relative; }
.post-aside h4::after { content: ""; position: absolute; left: 0; bottom: -1px; width: var(--accent-rule-w); height: var(--accent-rule-h); background: var(--red); opacity: 0.9; }
.post-toc ul { list-style: none; }
.post-toc li { margin-bottom: 12px; }
.post-toc a { font-size: 15.5px; color: var(--steel); transition: color 0.2s; }
.post-toc a:hover { color: var(--red); }
.share-row { display: flex; gap: 10px; }
.share-row a { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--slate); transition: border-color 0.2s, background 0.2s, color 0.2s; }
.share-row a:hover { border-color: var(--slate); background: var(--slate); color: #fff; }
.share-row svg { width: 16px; height: 16px; }

@media (max-width: 1100px) {
    .post-grid { grid-template-columns: repeat(2, 1fr); }
    .post-layout { grid-template-columns: 1fr; }
    .post-aside { position: static; flex-direction: row; flex-wrap: wrap; gap: 40px; }
}
@media (max-width: 900px) {
    .post-card.featured { grid-template-columns: 1fr; }
    .post-card.featured .pc-media { aspect-ratio: 16 / 10; }
}
@media (max-width: 620px) {
    .post-grid { grid-template-columns: 1fr; }
    .post-hero img { aspect-ratio: 4 / 3; }
}

/* section titles that link to their own page */
.section-head h2 > a { transition: color 0.2s; }
.section-head h2 > a:hover { color: var(--red); }

/* Legal pages (privacy policy, terms) — reuses the article layout */
.legal .post-head { margin-bottom: 26px; }
.legal .post-body h3 { font-size: 19px; color: var(--ink); margin: 26px 0 12px; }
.legal .post-body a { color: var(--slate); text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s; }
.legal .post-body a:hover { color: var(--red); }
.legal-contact { background: var(--mist); border-radius: var(--radius-sm); padding: 26px 28px; margin-top: 22px; }
.legal-contact > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; font-size: 16px; color: var(--ink); line-height: 1.6; padding: 9px 0; border-bottom: 1px solid var(--line); }
.legal-contact > div:last-child { border-bottom: none; }
.legal-contact span { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel-soft); padding-top: 4px; }
.aside-note { font-size: 15px; color: var(--steel); line-height: 1.6; }
@media (max-width: 620px) { .legal-contact > div { grid-template-columns: 1fr; gap: 4px; } }

/* honeypot — hidden from users, bots fill it */
.cform .hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0;pointer-events:none}



/* Custom CSS for Responsive */

.page-hero h1 { margin:0; }


.rfq,
.rfq-head,
.rfq-body { padding:25px; }



@media screen and (max-width:1400px) {
    
    .hero-shell,
    .header-inner,
    .container {
        width:100%; padding:0 20px;
    }
    
 
    
    
}


@media screen and (max-width:992px) {
    
    .btn  {
        padding:8px 15px;
    }
    
    .nav-menu { gap:15px; }
    .nav-menu > li > a {
        font-size:16px; gap:5px;
    }
 
    
    .infra-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    
}


@media screen and (max-width:900px) {
    
    
    .nav {
        width: 100%;
        height: auto; padding:20px 0;
        justify-content: space-between;
        display: flex;
    }
    .nav-logo img { height:40px; }
    
    header .nav-menu {
        width:calc(100% - 40px); left: 20px !important; right:20px !important; 
    }

    
    
    

    
    
}


@media screen and (max-width:767px) {

    
    .header-inner, .container {
        padding:0 12px;
    }
    .hero-shell {
        padding:0;
    }
    
    .hero-inner {
        padding: 40px 12px 50px;
    }
    .page-hero .hero-inner {
        padding: 40px 12px;
    }
    
    
    
    
    .section-head p {
        font-size: 17px;
    }
    .cap-card .cap-link,
    .val-card p,
    .faq-a p  {
        font-size: 15px;
    }
    
    
    .cap-card .cap-desc {
        display: none;
    }
    
    
    .ind-card {
        aspect-ratio: 5 / 5;
    }
    .contact-form-card,
    .about-facts,
    .cta-box,
    .cap-card .cap-overlay,
    .val-card,
    .ind-card .ind-overlay { padding:25px; }
    
    .about-facts { padding-bottom: 0; }
    
    
    .faq-q, .faq-a p {
        padding:10px 15px;
    }

    
    .infra-grid,
    .team-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    
    
    
    .rfq { padding: 12px !important; }
    .rfq-head,
    .rfq-body { padding: 20px 12px !important; }
    
    .rfq-x { right:12px; top:12px; }
    
    
    
}










