/* ── base/tokens.css ── */
:root {
    /* Brand colours */
    --color-brand-primary: #122C4F;
    --color-brand-accent: #5B88B2;
    --color-policy-link: #17294a;

    /* Neutral colours */
    --color-white: #ffffff;
    --color-black: #000000;
    --color-neutral-700: #53565A;

    /* Feedback / borders */
    --color-error: #e05252;
    --border-neutral: rgba(127, 127, 127, .35);

    /* Page surfaces */
    --surface-page: #0c0907;
    --surface-card: #1c1208;

    /* Text colours */
    --text-inverse: #0c0907;
    --text-muted: #babec9;
    --text-subtle: #dedede;
    --text-strong: var(--color-black);

    /* Shape and motion */
    --radius-sm: 3px;
    --transition-fast: .22s ease;

    /* Typography */
    --font-display: 'Poppins', sans-serif;
    --font-serif: 'Poppins', 'DM Serif Display', serif;
    --fs-body: 20px;
    --fs-subtitle: 15px;
    --fs-title: 25px;
    --fs-sectitle: 66px;
    --fs-header: 86px;
    --fs-button: 15px;
    --fs-filter: 18px;
    /* button & CTA text */
}

/* ── base/theme-light.css ── */
/* ════════════════════════════════════════
   LIGHT THEME
════════════════════════════════════════ */
html[data-theme="light"] {
    --surface-page: var(--color-white);
    --surface-card: var(--color-brand-primary);
    --text-inverse: var(--color-white);
    --text-muted: var(--color-neutral-700);
    --text-subtle: var(--color-neutral-700);
    --text-strong: var(--color-brand-primary);
    --color-brand-accent: var(--color-brand-primary);
    color-scheme: light
}

html[data-theme="light"] .pvm-title,
html[data-theme="light"] .pvm-body,
html[data-theme="light"] .svc-panel-title,
html[data-theme="light"] .svc-panel-cta,
html[data-theme="light"] .hero-sub {
    color: var(--color-white)
}

html[data-theme="light"] .pol-btn i,
html[data-theme="light"] .asset-item-icon {
    color: var(--color-white)
}

html[data-theme="light"] .sec-title,
html[data-theme="light"] .eyebrow {
    color: var(--color-black);
    background: none;
    -webkit-text-fill-color: var(--color-black)
}

html[data-theme="light"] #home-svc-eyebrow {
    color: var(--color-brand-accent);
}

html[data-theme="light"] .sec-title .it {
    color: var(--color-brand-accent);
    -webkit-text-fill-color: var(--color-brand-accent)
}

html[data-theme="light"] .theme-toggle {
    border-color: var(--color-white);
    color: var(--color-white)
}

html[data-theme="light"] .theme-toggle:hover {
    background: rgba(255, 255, 255, 0.07)
}

html[data-theme="light"] .theme-toggle .sun-icon {
    display: block
}

html[data-theme="light"] .theme-toggle .moon-icon {
    display: none
}

html[data-theme="light"] nav.sc {
    background: rgba(248, 249, 250, .97) !important;
    border-color: rgba(0, 0, 0, .1) !important
}

/* Theme toggle: border + icon follow the scrolled header background */
nav.sc .theme-toggle {
    border-color: rgba(255, 255, 255, .3);
    color: var(--color-white)
}

html[data-theme="light"] nav.sc .theme-toggle {
    border-color: rgba(0, 0, 0, .25);
    color: var(--color-black)
}

html[data-theme="light"] .nav-links>li>a {
    color: var(--color-white)
}

html[data-theme="light"] .nav-links>li>a:hover,
html[data-theme="light"] .nav-links>li>a.act {
    color: var(--color-white);
    border-color: var(--color-white)
}

html[data-theme="light"] nav.sc .nav-links>li>a {
    color: var(--text-strong)
}

html[data-theme="light"] nav.sc .nav-links>li>a:hover,
html[data-theme="light"] nav.sc .nav-links>li>a.act {
    color: #111111;
    border-color: #111111
}

/* Post-Tensioning and Policies have no photo behind the nav, so their
   light-theme navigation controls use navy even before scrolling */
html[data-theme="light"][data-page="post-tensioning"] .nav-links>li>a,
html[data-theme="light"][data-page="policies"] .nav-links>li>a {
    color: var(--color-brand-accent)
}

html[data-theme="light"][data-page="post-tensioning"] nav .theme-toggle,
html[data-theme="light"][data-page="policies"] nav .theme-toggle {
    border-color: var(--color-brand-accent);
    color: var(--color-brand-accent)
}

html[data-theme="light"][data-page="post-tensioning"] .nav-links>li>a:hover,
html[data-theme="light"][data-page="post-tensioning"] .nav-links>li>a.act {
    color: var(--color-brand-accent);
    border-color: var(--color-brand-accent)
}

/* Project detail hero has no photo behind it, so the nav needs navy text
   even before scrolling — this page only */
html[data-theme="light"][data-page="project-detail"] .nav-links>li>a {
    color: var(--color-brand-accent)
}

html[data-theme="light"][data-page="project-detail"] .nav-links>li>a:hover,
html[data-theme="light"][data-page="project-detail"] .nav-links>li>a.act {
    color: var(--color-brand-accent);
    border-color: var(--color-brand-accent)
}

/* Dropdown panel is a navy card in light theme */
html[data-theme="light"] .nav-dropdown {
    background: var(--surface-card);
    border-top-color: var(--color-white)
}

html[data-theme="light"] .nav-dropdown a {
    color: var(--color-white)
}

html[data-theme="light"] .nav-dropdown a i {
    color: var(--color-white)
}

/* CTA button: WHITE bg + BLACK icon/text at top; BLACK bg + WHITE icon/text scrolled */
html[data-theme="light"] .nav-cta-btn {
    background: var(--color-brand-accent);
    color: var(--color-white)
}

html[data-theme="light"] .nav-cta-btn:hover {
    background: var(--color-brand-accent);
    color: var(--color-white)
}

html[data-theme="light"] nav.sc .nav-cta-btn:hover {
    background: #333333;
    color: var(--color-white)
}

/* Policies */
html[data-theme="light"] .policy-doc h3,
html[data-theme="light"] .policy-doc h4 {
    color: var(--color-black)
}

html[data-theme="light"] .policy-doc p,
html[data-theme="light"] .policy-doc li {
    color: rgba(0, 0, 0)
}

html[data-theme="light"] .about-text p,
html[data-theme="light"] .about-text p:first-child,
html[data-theme="light"] .txt-2col p,
html[data-theme="light"] .pd-main p,
html[data-theme="light"] .pd-main p:first-child,
html[data-theme="light"] .career-text p,
html[data-theme="light"] .career-text p:first-child,
html[data-theme="light"] .sec-desc,
html[data-theme="light"] .cta-band p {
    color: var(--color-black)
}

html[data-theme="light"] .pol-btn {
    color: var(--color-white);
}

html[data-theme="light"] .pol-btn.act,
html[data-theme="light"] .pol-btn:hover {
    color: var(--color-brand-accent);
    background: var(--color-white);
}

/* Tabs + filters */
html[data-theme="light"] .tab,
html[data-theme="light"] .filter-btn {
    background: rgba(0, 0, 0, .04);
    border-color: rgba(0, 0, 0, .1);
    color: var(--text-strong)
}

html[data-theme="light"] .tab.act,
html[data-theme="light"] .filter-btn.active {
    background: var(--color-brand-accent);
    border-color: var(--color-brand-accent);
    color: var(--color-white)
}

/* Project cards overlay (photo cards stay dark, so tag/name text stays light) */
html[data-theme="light"] .pj-card .pj-ov {
    background: linear-gradient(to top, rgba(13, 15, 19, .93) 0%, transparent 60%);
}

html[data-theme="light"] .pj-tag {
    color: rgba(255, 255, 255, .75)
}

/* Asset + Job cards */
html[data-theme="light"] .asset-item {
    background: rgba(18, 44, 79, .08);
    border-color: rgba(0, 0, 0, .08)
}

html[data-theme="light"] .asset-item-head {
    background: var(--surface-card)
}

html[data-theme="light"] .asset-item-name {
    color: var(--color-white)
}

html[data-theme="light"] .asset-item-loc {
    color: var(--color-white)
}

html[data-theme="light"] .job-card-header {
    background: var(--surface-card)
}

html[data-theme="light"] .job-title {
    color: var(--color-white)
}

/* Director cards */
html[data-theme="light"] .dir-card {
    border-color: rgba(18, 44, 79, 0.75);
    background: rgba(18, 44, 79, .08)
}

html[data-theme="light"] .dir-card:hover {
    background: rgba(18, 44, 79, .06)
}

html[data-theme="light"] .dir-name {
    color: var(--text-strong);
}

html[data-theme="light"] .dir-card.act .dir-role {
    color: var(--color-white)
}

html[data-theme="light"] .dir-role {
    color: var(--color-brand-accent)
}

/* Office cards */
html[data-theme="light"] #page-contact .office-card {
    background: var(--color-brand-accent);
    border-color: var(--color-white)
}

html[data-theme="light"] #page-contact .office-card h3,
html[data-theme="light"] #page-contact .office-card p,
html[data-theme="light"] #page-contact .office-card strong,
html[data-theme="light"] #page-contact .office-card a {
    color: var(--color-white)
}

/* Footer */
/* Core Values card — light theme (navy, matches the standard card system) */
html[data-theme="light"] .vals-card {
    background: var(--surface-card);
    border-color: rgba(255, 255, 255, .1)
}

html[data-theme="light"] .vals-card .sec-title {
    background: none;
    -webkit-text-fill-color: var(--color-white);
    color: var(--color-white)
}

html[data-theme="light"] .vals-card .eyebrow {
    -webkit-text-fill-color: var(--color-white);
}

html[data-theme="light"] .val-item {
    border-color: rgba(255, 255, 255, .1)
}

html[data-theme="light"] .vals-slideshow {
    border-color: rgba(255, 255, 255, .1)
}

html[data-theme="light"] footer,
html[data-theme="light"] .ft-grid,
html[data-theme="light"] .ft-bottom {
    background: var(--color-white);
}

html[data-theme="light"] .ft-col h4,
html[data-theme="light"] .ft-brand p,
html[data-theme="light"] .ft-col li,
html[data-theme="light"] .ft-col .footer-link,
html[data-theme="light"] .ft-bottom p {
    color: var(--text-strong)
}

/* Chat widget — navy card, same as everywhere else */

html[data-theme="light"] .pdpa-item {
    background: var(--surface-card);
    border-color: rgba(255, 255, 255, .1)
}

html[data-theme="light"] .pdpa-title {
    color: var(--color-white)
}

html[data-theme="light"] .pdpa-letter {
    color: var(--color-white);
}

/* Mode toggle (quick/text) */

/* Scroll indicator */
html[data-theme="light"] .scroll-h {
    color: rgba(255, 255, 255, .6)
}

/* Mobile menu */
html[data-theme="light"] .mob-menu {
    background: var(--surface-card);
    border-color: rgba(255, 255, 255, .1)
}

html[data-theme="light"] .mob-section {
    color: var(--color-white)
}

html[data-theme="light"] .mob-item {
    color: var(--color-white)
}

/* Every remaining box/container that was still charcoal → navy in light theme
   (their text already uses var(--color-white), so it stays correct automatically) */
html[data-theme="light"] .dir-dd-inner,
html[data-theme="light"] .dir-card.act,
html[data-theme="light"] .asset-item.act .asset-item-head,
html[data-theme="light"] .add-dd-inner,
html[data-theme="light"] .career-cta-box,
html[data-theme="light"] .internship-box,
html[data-theme="light"] .perk,
html[data-theme="light"] .job-card,
html[data-theme="light"] .job-card.open .job-card-header,
html[data-theme="light"] .pdpa-item.open {
    background: var(--surface-card) !important
}

/* ── base/theme-dark.css ── */
/* ════════════════════════════════════════
   DARK THEME — OCEAN BLUE SPLASH BACKGROUND
════════════════════════════════════════ */
html[data-theme="dark"] body {
    background:
        radial-gradient(ellipse 35% 40% at 22% 18%, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 60%),
        radial-gradient(ellipse 45% 50% at 80% 28%, rgba(94, 196, 232, .45) 0%, rgba(94, 196, 232, 0) 65%),
        radial-gradient(ellipse 55% 60% at 50% 78%, rgba(18, 57, 94, .9) 0%, rgba(18, 57, 94, 0) 70%),
        #060b14;
    background-attachment: fixed
}

html[data-theme="dark"] .page,
html[data-theme="dark"] footer {
    background: transparent
}

html[data-theme="dark"] nav.sc {
    background: rgba(18, 10, 6, .94) !important;
    border-color: rgba(255, 120, 50, .08) !important
}

html[data-theme="dark"] .mob-menu {
    background: rgba(14, 8, 5, .98)
}

/* ── base/base.css ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

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

body {
    font-family: var(--font-display);
    font-size: var(--fs-body);
    background: var(--surface-page);
    color: var(--color-white);
    width: 100%;
    overflow-x: hidden;
    min-height: 100vh;
    min-height: 100dvh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation
}

button {
    font-family: var(--font-display);
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

i.lni {
    line-height: 1;
    vertical-align: middle
}

/* ══ UTILS ══ */
.eyebrow {
    font-size: var(--fs-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-white);
    margin-bottom: 14px
}

.sec-title {
    font-family: var(--font-display);
    font-size: var(--fs-sectitle);
    line-height: 1;
    color: var(--color-white);
}

.sec-title .it {
    font-family: var(--font-serif);
    letter-spacing: 2.5px;
    font-style: italic;
    color: var(--color-brand-accent);
    padding-bottom: 20px;
}

.sec-desc {
    font-size: var(--fs-body);
    color: var(--color-white);
    line-height: 1.85;
    max-width: 100%;
    margin-top: 14px;
    margin-bottom: 44px;
}

/* ── Spacing utilities ── */
.mt-36 {
    margin-top: 36px
}

.mb-24 {
    margin-bottom: 24px
}

.pt-72 {
    padding-top: 72px
}

.pb-30 {
    padding-bottom: 30px
}

.pb-72 {
    padding-bottom: 72px
}

.block-center {
    display: block;
    text-align: center
}

.sec-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 18px;
}

/* Long-form body text laid out in two columns */
.text-2col {
    columns: 2;
    column-gap: 56px;
}

.btn-p {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-brand-accent);
    color: var(--color-white);
    padding: 11px 24px;
    min-height: 44px;
    border: 1px solid var(--color-white);
    border-radius: var(--radius-sm);
    font-size: var(--fs-button);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast)
}

.btn-p:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 255, 255, 0.28);
    color: var(--color-white);
    background: var(--color-neutral-700)
}

/* Hero "View Project" button — always white background + black text (both themes) */
#heroProjectBtn,
#heroProjectBtn:hover {
    background: var(--color-white);
    color: #0a0a0a
}

.btn-o {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--color-white);
    padding: 11px 24px;
    min-height: 44px;
    border: 1px solid var(--color-white);
    border-radius: var(--radius-sm);
    font-size: var(--fs-button);
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast)
}

.btn-o:hover {
    background: rgba(255, 255, 255, .08)
}

/* btn-o: dark theme = white border + white text; light theme = black border + black text */
html[data-theme="light"] .btn-o {
    color: var(--color-black);
    border-color: var(--color-black)
}

html[data-theme="light"] .btn-o:hover {
    background: rgba(0, 0, 0, .05)
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease
}

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

section.inner {
    padding: 50px 7% 80px
}

.page {
    display: none
}

.page.active {
    display: block
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4% 0 5%;
    height: 60px;
    background: rgba(10, 10, 10, .0);
    backdrop-filter: blur(0px);
    border-bottom: 1px solid transparent;
    transition: background .3s, border-color .3s, backdrop-filter .3s;
}

nav.sc {
    background: rgba(10, 10, 10, .97);
    backdrop-filter: blur(12px);
    border-color: rgba(255, 255, 255, .07);
}

/* ── components/theme-toggle.css ── */
/* ════════════════════════════════════════
   THEME TOGGLE BUTTON
════════════════════════════════════════ */
.theme-toggle {
    background: none;
    border: 1px solid rgba(255, 255, 255, .15);
    color: var(--color-white);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s, border-color .2s, color .2s;
    flex-shrink: 0;
    margin-left: 8px
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, .1);
    border-color: var(--color-white);
}

.theme-toggle .sun-icon {
    display: none
}

.theme-toggle .moon-icon {
    display: block
}

/* ── components/card-corners.css ── */
/* ══ CARD CORNERS ══
   "Screw" decoration in the four corners of cards on Home, About, Assets, Careers, Policies. */
.val-item,
.pvm-cell,
.adv-card,
.asset-item,
.perk,
.pol-btn {
    position: relative;
}

.val-item::after,
.pvm-cell::after,
.adv-card::after,
.asset-item::after,
.perk::after,
.pol-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background-repeat: no-repeat;
    background-size: 12px 12px;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Ccircle cx='6' cy='6' r='4.5' fill='white' fill-opacity='.08' stroke='white' stroke-opacity='.4' stroke-width='1'/%3E%3Cline x1='3' y1='6.8' x2='9' y2='5.2' stroke='white' stroke-opacity='.55' stroke-width='1'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Ccircle cx='6' cy='6' r='4.5' fill='white' fill-opacity='.08' stroke='white' stroke-opacity='.4' stroke-width='1'/%3E%3Cline x1='3' y1='6.8' x2='9' y2='5.2' stroke='white' stroke-opacity='.55' stroke-width='1'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Ccircle cx='6' cy='6' r='4.5' fill='white' fill-opacity='.08' stroke='white' stroke-opacity='.4' stroke-width='1'/%3E%3Cline x1='3' y1='6.8' x2='9' y2='5.2' stroke='white' stroke-opacity='.55' stroke-width='1'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Ccircle cx='6' cy='6' r='4.5' fill='white' fill-opacity='.08' stroke='white' stroke-opacity='.4' stroke-width='1'/%3E%3Cline x1='3' y1='6.8' x2='9' y2='5.2' stroke='white' stroke-opacity='.55' stroke-width='1'/%3E%3C/svg%3E");
    background-position:
        top 9px left 9px,
        top 9px right 9px,
        bottom 9px left 9px,
        bottom 9px right 9px;
}

/* Light theme uses the same white screw-corner decoration as dark theme
   (cards are navy in both themes, so no override is needed here) */

/* ── components/nav.css ── */
/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
    flex-shrink: 0;
}

.logo-mark {
    width: 130px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center
}

.logo-mark .logo-img-light {
    display: none
}

html[data-theme="light"] .logo-mark .logo-img-dark {
    display: none
}

html[data-theme="light"] .logo-mark .logo-img-light {
    display: block
}

/* Home page, light theme: nav starts with the white logo (over the hero photo),
   switches to the black logo once the header scrolls. Scoped to nav only —
   the footer always keeps the black logo (it sits on a white background). */
html[data-theme="light"][data-page="home"] nav .logo-mark .logo-img-dark {
    display: block
}

html[data-theme="light"][data-page="home"] nav .logo-mark .logo-img-light {
    display: none
}

html[data-theme="light"][data-page="home"] nav.sc .logo-mark .logo-img-dark {
    display: none
}

html[data-theme="light"][data-page="home"] nav.sc .logo-mark .logo-img-light {
    display: block
}

/* Nav list */
.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 0;
    margin: 0
}

.nav-links>li {
    position: relative
}

.nav-links>li>a {
    display: flex;
    align-items: center;
    gap: 5px;
    color: rgba(255, 255, 255);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 0 14px;
    height: 60px;
    cursor: pointer;
    transition: color var(--transition-fast);
    white-space: nowrap;
    border-bottom: 2px solid transparent;
}

.nav-links>li>a:hover,
.nav-links>li>a.act {
    color: var(--color-white);
    border-color: var(--color-white)
}

.nav-links>li>a .nav-caret {
    font-size: 15px;
    opacity: .5;
    transition: transform var(--transition-fast)
}

.nav-links>li:hover>a .nav-caret {
    transform: rotate(180deg)
}

/* Dropdown */
.nav-dropdown {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    background: rgba(0, 0, 0, 0.77);
    border: 1px solid rgba(255, 255, 255, .08);
    border-top: 2px solid var(--color-white);
    min-width: 220px;
    padding: 8px 0;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .5);
}

.nav-links>li:hover .nav-dropdown {
    display: block
}

.nav-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    letter-spacing: .3px;
    transition: color var(--transition-fast), background var(--transition-fast);
    cursor: pointer;
}

.nav-dropdown a:hover {
    color: var(--color-white);
    background: rgba(255, 255, 255, .2);
}

.nav-dropdown a i {
    font-size: 18px;
    color: var(--color-neutral-700);
    width: 16px;
    flex-shrink: 0
}

.nav-dropdown .dd-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 6px 0
}

/* Contact CTA button in nav */
.nav-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--color-white);
    color: var(--text-inverse);
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    margin-left: 10px;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.nav-cta-btn:hover {
    background: var(--color-neutral-700);
    color: var(--color-white)
}

/* Mobile */
.mob-btn {
    display: none;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 18px;
    padding: 8px;
    cursor: pointer
}

.mob-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, .98);
    overflow-y: auto;
    z-index: 299;
    padding: 20px
}

.mob-menu.open {
    display: block
}

.mob-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    color: rgba(255, 255, 255, .75);
    font-size: var(--fs-body);
    font-weight: 500;
    cursor: pointer;
    transition: color var(--transition-fast)
}

.mob-item:hover {
    color: var(--color-white)
}

.mob-item i {
    font-size: 16px;
    color: var(--color-neutral-700);
    width: 20px;
    flex-shrink: 0
}

.mob-section {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-neutral-700);
    padding: 18px 4px 6px;
}

.mob-theme-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, .06)
}

.mob-theme-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, .75);
    font-size: 13px;
    font-weight: 500
}

.mob-theme-label i {
    font-size: 16px;
    color: var(--color-neutral-700);
    width: 20px;
    flex-shrink: 0
}

.mob-theme-btn {
    background: none;
    border: 1px solid rgba(255, 255, 255, .18);
    color: rgba(255, 255, 255, .75);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s, border-color .2s, color .2s;
    flex-shrink: 0
}

.mob-theme-btn:hover {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .35)
}

.mob-theme-btn .sun-icon {
    display: none
}

.mob-theme-btn .moon-icon {
    display: block
}

html[data-theme="light"] .mob-theme-btn .sun-icon {
    display: block
}

html[data-theme="light"] .mob-theme-btn .moon-icon {
    display: none
}

html[data-theme="light"] .mob-theme-row {
    border-color: rgba(255, 255, 255, .1)
}

html[data-theme="light"] .mob-theme-label {
    color: rgba(255, 255, 255, .7)
}

html[data-theme="light"] .mob-theme-label i {
    color: var(--color-white)
}

html[data-theme="light"] .mob-theme-btn {
    border-color: rgba(255, 255, 255, .3)
}

html[data-theme="light"] .mob-theme-btn:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .45)
}

/* ── components/page-hero.css ── */
/* ══ PAGE HERO ══ */
.pg-hero {
    min-height: 320px;
    display: flex;
    align-items: flex-end;
    padding: 118px 7% 52px;
    position: relative;
    overflow: hidden
}

.pg-hero-bg {
    position: absolute;
    inset: 0;
    background-image: var(--bg);
    background-size: cover;
    background-position: center;
    opacity: .2
}

.pg-hero-overlay {
    position: absolute;
    inset: 0;
}

/* Light theme: add a dark scrim over the hero photo (dark theme darkens via --bg opacity instead) */
html[data-theme="light"] .pg-hero-overlay {
    background: rgba(7, 20, 71, 0.337)
}

.pg-hero-content {
    position: relative;
    z-index: 1
}

.pg-hero-title {
    font-family: var(--font-display);
    font-size: var(--fs-header);
    font-weight: 600;
    line-height: .9;
    color: var(--color-white)
}

/* Post-Tensioning title follows its plain page background in each theme */
html[data-theme="dark"] #page-post-tensioning .pg-hero-title {
    color: var(--color-white)
}

html[data-theme="light"] #page-post-tensioning .pg-hero-title {
    color: var(--color-black)
}

/* Key Policies page, light theme: no hero photo either, so the title needs
   navy to sit on the plain white page background — this page only */
html[data-theme="light"] #page-policies .pg-hero-title {
    color: var(--color-brand-accent)
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-size: var(--fs-filter);
    color: var(--text-muted)
}

.breadcrumb a {
    color: var(--text-muted);
    cursor: pointer;
    transition: color var(--transition-fast);
    font-size: var(--fs-filter);
}

.breadcrumb a:hover {
    color: var(--color-white)
}

html[data-theme="light"] .breadcrumb a {
    color: var(--color-brand-accent)
}

html[data-theme="light"] .breadcrumb a:hover {
    color: var(--color-neutral-700)
}

.breadcrumb .sep {
    color: rgba(255, 255, 255, .18)
}

/* ── components/marquee.css ── */
/* ══ MARQUEE ══ */
.mq {
    background: var(--color-brand-accent);
    padding: 12px 0;
    overflow: hidden
}

.mq-track {
    display: flex;
    animation: mq-scroll 30s linear infinite;
    white-space: nowrap
}

.mq-track span {
    font-family: var(--font-display);
    font-size: 24px;
    letter-spacing: 3px;
    color: var(--color-white);
    padding: 0 26px
}

.mq-track .dot {
    color: rgb(255, 255, 255)
}

@keyframes mq-scroll {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(-50%)
    }
}

/* ── components/project-cards.css ── */
/* ══ PROJECT CARDS ══ */
.proj-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 28px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px
}

.proj-tabs::-webkit-scrollbar {
    display: none
}

.proj-tabs .tab {
    flex-shrink: 0
}

.tab {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    color: var(--text-muted);
    font-size: var(--fs-filter);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 7px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: all var(--transition-fast)
}

.tab.act,
.tab:hover {
    background: var(--color-white);
    color: var(--text-inverse);
    border-color: var(--color-white)
}

.proj-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.pj-card {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    aspect-ratio: 4/3;
    background: var(--surface-card);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, .06);
    transition: border-color var(--transition-fast), transform var(--transition-fast)
}

.pj-card:hover {
    border-color: rgba(255, 255, 255, .2);
    transform: translateY(-3px)
}

.pj-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .7;
    transition: transform .5s, opacity .3s
}

.pj-card:hover img {
    transform: scale(1.07);
    opacity: .5
}

.pj-ov {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 15, 19, .3) 0%, transparent 60%);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end
}

.pj-tag {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-subtle);
    margin-bottom: 4px
}

.pj-name {
    font-size: var(--fs-body);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.3
}

.pj-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-neutral-700);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    position: absolute;
    top: 12px;
    right: 12px;
    opacity: 0;
    transform: scale(.7);
    transition: opacity .3s, transform .3s
}

.pj-card:hover .pj-arrow {
    opacity: 1;
    transform: scale(1)
}

/* ── components/gallery.css ── */
/* ══ GALLERY ITEM ══
   Clickable photo tile: project pages and Post-Tensioning. */
.pd-gallery-item {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    cursor: zoom-in;
}

.pd-gallery-item img {
    display: block;
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
    transition: transform .35s ease;
}

.pd-gallery-item:hover img {
    transform: scale(1.04);
}

.pd-gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background .25s;
}

.pd-gallery-item:hover::after {
    background: rgba(0, 0, 0, .18);
}

/* ── components/detail-content.css ── */
/* ══ DETAIL CONTENT ══
   Main text column: project pages and Post-Tensioning. */
.pd-main p:first-child {
    font-size: var(--fs-body);
    color: var(--color-white);
    line-height: 1.5;
    font-family: var(--font-display);
}

.pd-main p {
    font-size: var(--fs-body);
    line-height: 1.85;
    color: var(--color-white);
    margin-bottom: 18px
}

/* ── components/text-columns.css ── */
/* ══ TEXT COLUMNS ══
   Two-column body text: .txt-2col (Team, Policies), .assets-copy-grid (Assets). */
.txt-2col {
    columns: 2;
    column-gap: 48px;
    margin-top: 40px;
    margin-bottom: 20px
}

.txt-2col p {
    font-family: var(--font-display);
    font-size: var(--fs-body);
    color: var(--color-white);
    line-height: 1.85;
    margin-bottom: 16px;
    break-inside: avoid
}

.txt-2col p:last-child {
    margin-bottom: 0
}

.assets-copy-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
    align-items: stretch;
    margin-top: 40px;
    margin-bottom: 20px
}

.assets-copy-grid p {
    margin: 0
}

@media(max-width:580px) {
    .assets-copy-grid {
        grid-template-columns: 1fr;
        gap: 20px
    }
}

/* ── components/services.css ── */
/* ── Specialisations — slide-open cards ── */
.svc-grid {
    display: flex;
    gap: 4px;
    margin-top: 48px;
    height: 460px;
    align-items: stretch
}

.svc-card {
    flex: 1;
    position: relative;
    overflow: hidden;
    display: flex;
    border-radius: 8px;
    cursor: pointer;
    transition: flex .62s cubic-bezier(.4, 0, .2, 1);
    min-width: 0
}

.svc-card:hover {
    flex: 3.2
}

.svc-img {
    flex: 1 1 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: flex .62s cubic-bezier(.4, 0, .2, 1);
    min-width: 0
}

.svc-card:hover .svc-img {
    flex: 0 0 52%
}

/* gradient over image */
.svc-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .1) 0%, rgba(0, 0, 0, .35) 55%, rgba(0, 0, 0, .18) 100%);
    transition: background .5s
}

.svc-card:hover .svc-img::after {
    background: linear-gradient(160deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .18) 100%)
}

/* ── Title on image (default) ── */
.svc-front-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 22px 18px 20px;
    color: var(--color-white);
    font-size: var(--fs-title);
    font-weight: 700;
    z-index: 2;
    line-height: 1.25;
    transition: opacity .25s;
    pointer-events: none
}

.svc-card:hover .svc-front-title {
    opacity: 0
}

.svc-panel {
    flex: 0 0 0%;
    overflow: hidden;
    background: var(--color-brand-accent);
    display: flex;
    align-items: flex-end;
    border-radius: 0 8px 8px 0;
    min-width: 0;
    transition: flex .62s cubic-bezier(.4, 0, .2, 1), padding .62s cubic-bezier(.4, 0, .2, 1);
    padding: 0
}

.svc-card:hover .svc-panel {
    flex: 0 0 48%;
    padding: 28px 22px
}

.svc-panel-inner {
    opacity: 0;
    transform: translateX(18px);
    transition: opacity .28s .28s, transform .28s .28s;
    width: 100%
}

.svc-card:hover .svc-panel-inner {
    opacity: 1;
    transform: translateX(0)
}

.svc-panel-num {
    font-family: var(--font-display);
    font-size: 56px;
    color: rgba(255, 255, 255, 0.842);
    line-height: 1;
    margin-bottom: 12px
}

.svc-panel-title {
    font-size: var(--fs-title);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 10px;
    line-height: 1.25
}

.svc-panel-desc {
    font-size: var(--fs-body);
    color: rgba(255, 255, 255, 0.788);
    line-height: 1.75;
    margin-bottom: 20px
}

.svc-panel-cta {
    font-size: var(--fs-body);
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-brand-accent);
    display: inline-flex;
    align-items: center;
    gap: 5px
}

/* ── components/footer.css ── */
/* ══ FOOTER ══ */
footer {
    background: var(--surface-card);
    padding: 52px 7% 26px
}

.ft-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px
}

.ft-brand p {
    font-size: var(--fs-body);
    color: var(--text-muted);
    line-height: 1.7;
    margin-top: 23px;
    max-width: 460px
}

.ft-col h4 {
    font-size: var(--fs-body);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-white);
    margin-bottom: 16px
}

.ft-col ul {
    list-style: none
}

.ft-col li {
    margin-bottom: 8px
}

.ft-col .footer-link {
    display: inline-block;
    font-size: var(--fs-filter);
    color: var(--text-muted);
    cursor: pointer;
    transition: color var(--transition-fast)
}

.ft-col .footer-link:hover {
    color: var(--color-white)
}

.ft-col .footer-link:focus-visible {
    outline: 2px solid var(--color-brand-accent);
    outline-offset: 3px
}

.ft-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .07);
    flex-wrap: wrap;
    gap: 10px
}

.ft-bottom p {
    font-size: var(--fs-subtitle);
    color: var(--text-muted)
}

/* ── components/lightbox.css ── */
/* ── Lightbox ── */
/* ══ LIGHTBOX — PDF-viewer layout ══ */
.lb-overlay {
    position: fixed;
    inset: 0;
    z-index: 10020;
    background: rgba(0, 0, 0, .92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, visibility 0s linear .22s;
}

.lb-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transition-delay: 0s;
}

/* scrollable image area — fills all space above the bottom bar */
.lb-viewport {
    flex: 1;
    overflow: auto;
    padding: 32px 24px;
    cursor: default;
}

.lb-viewport.lb-grab {
    cursor: grab;
}

.lb-viewport.lb-grabbing {
    cursor: grabbing;
    user-select: none;
}

.lb-viewport::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.lb-viewport::-webkit-scrollbar-track {
    background: transparent;
}

.lb-viewport::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, .15);
    border-radius: 3px;
}

/* centering wrapper — keeps image centred when smaller than viewport */
.lb-img-wrap {
    min-width: 100%;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lb-img {
    display: block;
    flex-shrink: 0;
    border-radius: 8px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .75);
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
    /* drag handled by viewport */
    transition: width .18s ease, height .18s ease, opacity .22s ease;
    opacity: 0;
}

.lb-overlay.open .lb-img {
    opacity: 1;
}

/* bottom controls bar — always visible, never covered */
.lb-controls {
    flex-shrink: 0;
    height: 60px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 20px;
    background: rgba(10, 10, 10, .6);
}

/* shared button */
.lb-ctrl-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .13);
    color: var(--color-white);
    font-size: var(--fs-body);
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .18s;
    flex-shrink: 0;
}

.lb-ctrl-btn:hover {
    background: rgba(255, 255, 255, .16);
}

.lb-ctrl-btn:disabled {
    opacity: .25;
    cursor: default;
}

/* nav arrows — round + slightly bigger */
.lb-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 24px;
    border-radius: 50%;
}

/* close — also round */
.lb-close {
    width: 36px;
    height: 36px;
    font-size: 17px;
    border-radius: 50%;
}

.lb-divider {
    width: 1px;
    height: 22px;
    background: rgba(255, 255, 255, .13);
    flex-shrink: 0;
    margin: 0 2px;
}

.lb-zoom-pct {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, .55);
    letter-spacing: .05em;
    min-width: 44px;
    text-align: center;
}

.lb-counter {
    font-size: 12px;
    color: rgba(255, 255, 255, .4);
    letter-spacing: .05em;
    min-width: 38px;
    text-align: center;
}

/* ── components/mail-panel.css ── */
.aw-mail-bg {
    position: fixed;
    inset: 0;
    z-index: 10030;
    background: rgba(0, 0, 0, .65);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px
}

.aw-mail {
    background: #141414;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    max-width: 440px;
    width: 100%;
    max-height: 90vh;
    overflow: auto;
    padding: 22px;
    box-sizing: border-box;
    font-family: 'DM Sans', sans-serif
}

html[data-theme="light"] .aw-mail {
    background: var(--color-white);
    color: #111;
    border-color: rgba(0, 0, 0, .12)
}

.aw-mail h3 {
    margin: 0 0 6px;
    font-size: 20px
}

.aw-mail p {
    margin: 0 0 14px;
    font-size: 14px;
    opacity: .8
}

.aw-note {
    background: rgba(91, 136, 178, .18);
    border-left: 3px solid #5B88B2;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 14px
}

.aw-opt {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    margin: 0 0 8px;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid var(--border-neutral);
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer
}

.aw-opt small {
    display: block;
    font-weight: 400;
    opacity: .7;
    font-size: 12px
}

.aw-opt:hover,
.aw-opt:focus-visible {
    border-color: #5B88B2;
    outline: none
}

.aw-copybox {
    margin-top: 14px;
    font-size: 13px
}

.aw-copybox textarea {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    height: 110px;
    margin: 6px 0 8px;
    font: inherit;
    font-size: 12px;
    background: transparent;
    color: inherit;
    border: 1px solid var(--border-neutral);
    border-radius: 6px;
    padding: 8px;
    resize: vertical
}

.aw-copybox .aw-addr {
    resize: none
}

.aw-close {
    float: right;
    background: none;
    border: 0;
    color: inherit;
    font-size: 24px;
    line-height: 1;
    cursor: pointer
}

/* ── pages/project-detail.css ── */
/* ══ PROJECT DETAIL PAGE ══ */
#page-project-detail .pd-hero {
    display: flex;
    align-items: flex-end;
    padding: 130px 7% 6px;
    position: relative;
    overflow: hidden;
}

#page-project-detail .pd-hero-content {
    position: relative;
    z-index: 1;
}

#page-project-detail .pd-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-white);
    color: var(--text-inverse);
    font-size: var(--fs-button);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    margin-bottom: 20px;
    padding: 9px 18px;
    border-radius: var(--radius-sm);
    border: 0;
    appearance: none;
    transition: gap var(--transition-fast), box-shadow var(--transition-fast)
}

#page-project-detail .pd-back:hover {
    gap: 12px;
    box-shadow: 0 8px 24px rgba(255, 255, 255, .22)
}

#page-project-detail .pd-cat {
    display: none
}

#page-project-detail .pd-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 5.5vw, 76px);
    line-height: 1.1;
    color: var(--color-white);
    margin-bottom: 18px
}

html[data-theme="light"] #page-project-detail .pd-cat,
html[data-theme="light"] #page-project-detail .pd-title {
    color: var(--color-brand-accent)
}

html[data-theme="light"] #page-project-detail .pd-back {
    background: var(--color-brand-accent);
    color: var(--color-white)
}

.pd-body {
    padding: 72px 7% 80px
}

.pd-images {
    display: grid;
    gap: 6px
}

.pd-project-hero {
    min-width: 0
}

.pd-project-hero .pd-gallery-item {
    border-radius: 0
}

.pd-project-hero .pd-gallery-item img {
    aspect-ratio: 16 / 9
}

.pd-project-info {
    margin-top: 72px
}

.pd-project-info-title {
    margin-bottom: 26px
}

.pd-info-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 42px;
    align-items: start
}

.pd-summary {
    width: 100%;
    max-width: none
}

.pd-summary h3 {
    font-family: var(--font-display);
    font-size: var(--fs-title);
    color: var(--color-white);
    margin-bottom: 14px
}

.pd-summary p {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: 1.75;
    color: var(--text-muted);
    margin: 0
}

.pd-summary p+p {
    margin-top: 12px
}

.pd-info-card {
    grid-column: 2;
    font-family: var(--font-body);
    background: transparent;
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, .12);
    border-radius: 0;
    padding: 0 0 0 40px;
    margin: 0;
    position: static
}

.pd-info-card h4 {
    font-family: var(--font-display);
    font-size: var(--fs-title);
    color: var(--color-white);
    margin-bottom: 16px
}

.pd-info-row {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    padding: 19px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    font-size: var(--fs-body)
}

.pd-info-row:last-child {
    border-bottom: none
}

.pd-info-row .k {
    color: var(--text-muted);
    min-width: 80px;
    flex-shrink: 0
}

html[data-theme="light"] .pd-info-row .k {
    color: var(--color-white)
}

.pd-info-row .v {
    color: var(--color-white);
    font-weight: 500;
    line-height: 1.3;
}

/* ── Project gallery strip, actions, related projects ── */
.pd-project-gallery {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px
}

.pd-project-gallery:empty {
    display: none
}

.pd-project-gallery .pd-gallery-item {
    border-radius: 0
}

.pd-info-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 32px;
    flex-wrap: wrap
}

.pd-related {
    margin-top: 72px
}

/* ── pages/home-hero.css ── */
/* ══ HOME HERO ══ */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center
}

.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-image: var(--bg);
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease
}

.hero-slide.act {
    opacity: 1;
    /* animation: kz 18s ease forwards */
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 0 0 7%;
    max-width: 1100px
}

.hero-dots {
    position: absolute;
    bottom: 36px;
    right: 7%;
    z-index: 3;
    display: flex;
    gap: 6px;
    align-items: center
}

.hero-dot {
    width: 28px;
    height: 3px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .25);
    cursor: pointer;
    transition: background .35s, width .35s;
    border: none;
    padding: 0
}

.hero-dot.act {
    background: var(--color-white);
    width: 52px
}

.hero-h {
    font-family: var(--font-display);
    color: white;
    font-size: var(--fs-header);
    line-height: 1.1;
    white-space: nowrap;
    animation: fadeUp .8s .1s ease both;
}

.hero-h .gd {
    color: white;
    display: block;
    font-style: normal
}

.hero-h.hero-h--compact {
    font-size: clamp(52px, 6vw, 67px);
    line-height: 1.1;
}

.hero-sub {
    margin-top: 24px;
    font-family: var(--font-display);
    font-size: var(--fs-body);
    color: var(--color-white);
    line-height: 1.65;
    max-width: 700px;
    animation: fadeUp .8s .2s ease both
}

.hero-acts {
    margin-top: 40px;
    color: white;
    display: flex;
    gap: 13px;
    flex-wrap: wrap;
    animation: fadeUp .8s .3s ease both
}

.hero-ov {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(to right, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .3) 50%, rgba(0, 0, 0, .1) 100%),
        linear-gradient(to top, rgba(0, 0, 0, .4) 0%, transparent 50%)
}

/* Darker treatment for the MCIEA award slide only. */
.hero.hero--award-slide .hero-ov {
    background:
        linear-gradient(to right, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .52) 52%, rgba(0, 0, 0, .26) 100%),
        linear-gradient(to top, rgba(0, 0, 0, .54) 0%, rgba(0, 0, 0, .08) 48%)
}

.scroll-h {
    position: absolute;
    bottom: 36px;
    left: 7%;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-white);
    font-size: var(--fs-body);
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadeUp 1s .7s ease both;
    z-index: 2
}

.scroll-line {
    width: 34px;
    height: 1px;
    background: var(--color-white)
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

/* ── pages/home-values.css ── */
/* ── Core Values — split layout ── */
.vals-card {
    background: rgba(255, 255, 255, .07);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 64px;
}

.vals-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center
}

.vals-slideshow {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 620px;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, .08)
}

.vals-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.4s ease
}

.vals-slide.act {
    opacity: 1
}

.val-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 26px;
    background: var(--color-brand-accent);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 16px;
    transition: border-color .3s
}

.val-item:hover {
    border-color: rgba(255, 255, 255, .2)
}

#home-vals {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.val-item-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .22);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-body);
    color: var(--color-white);
    flex-shrink: 0
}

.val-item-title {
    font-size: var(--fs-title);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 5px;
    line-height: 1.2
}

.val-item-desc {
    font-size: var(--fs-filter);
    color: var(--color-white);
    line-height: 1.65
}

.cta-band {
    background: linear-gradient(135deg, #09090900, #f2572300);
    padding: 84px 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, .1);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    position: relative;
    overflow: hidden
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start
}

.cta-actions button {
    min-width: 200px;
}

.cta-band p {
    font-size: var(--fs-filter);
    color: var(--color-white);
    padding-top: 10px;
}

/* ── pages/about.css ── */
/* ══ ABOUT PAGE ══ */
.about-content-grid {
    display: block
}

.about-text {
    columns: 2;
    column-gap: 48px
}

.about-text p {
    font-family: var(--font-display);
    font-size: var(--fs-body);
    line-height: 1.85;
    color: var(--color-white);
    margin-bottom: 16px;
    break-inside: avoid
}

.about-text p:first-child {
    font-size: var(--fs-body);
    font-family: var(--font-display);

}

.purpose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 48px;
}

.pvm-cell {
    background: var(--color-brand-accent);
    padding: 44px 32px;
    border-radius: 16px;
    border: 1px solid var(--color-brand-accent);
    transition: border-color .3s
}

.pvm-cell:hover {
    border-color: rgba(255, 255, 255, .35)
}

.pvm-title {
    font-family: var(--font-display);
    font-size: var(--fs-title);
    font-weight: 800;
    color: var(--color-white);
    line-height: 1.85;
    margin-bottom: 16px;
}

.pvm-body {
    font-size: var(--fs-body);
    color: var(--color-white);
    line-height: 1.75
}

.adv-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 48px
}

.adv-card {
    grid-column: span 2;
    background: var(--color-brand-accent);
    border: 1px solid var(--color-brand-accent);
    border-radius: 16px;
    padding: 32px;
    transition: border-color .3s
}

.adv-card:last-child {
    grid-column: 2 / 4
}

.adv-card:hover {
    border-color: rgba(255, 255, 255, .18)
}

.adv-card .adv-icon {
    font-size: 32px;
    color: var(--color-white);
    margin-bottom: 14px
}

.adv-card h3 {
    font-size: var(--fs-title);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 9px
}

.adv-card p {
    font-size: var(--fs-body);
    color: var(--color-white);
    line-height: 1.7
}

/* ── Services grid on About (overrides the home-page service cards) ── */
.about-svc-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    height: auto
}

.about-svc-grid .svc-card {
    width: 100%;
    min-height: 0;
    aspect-ratio: 1 / 1
}

.about-svc-grid .svc-card:hover {
    flex: none
}

.about-svc-grid .svc-card:hover .svc-img {
    flex: 0 0 0
}

.about-svc-grid .svc-card:hover .svc-panel {
    flex: 1 1 100%;
    padding: 24px;
    align-items: center
}

.about-svc-grid .svc-panel-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%
}

@media(max-width:900px) {
    .about-svc-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media(max-width:580px) {
    .about-svc-grid {
        grid-template-columns: 1fr
    }
}

/* ── pages/team.css ── */
/* ══ TEAM ══ */
/* ── Directors Grid ── */
.dir-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-top: 40px;
    margin-bottom: 0
}

.dir-card {
    position: relative;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid rgba(107, 124, 255, 0.339);
    transition: transform .25s, border-color .25s, background .25s;
    padding: 26px 20px 22px;
    display: flex;
    flex-direction: column;
    min-height: 190px
}

.dir-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, .2);
    background: rgba(242, 86, 35, .06)
}

.dir-role {
    font-size: var(--fs-subtitle);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-brand-accent);
    margin-bottom: 5px;
    margin-top: 20px
}

.dir-name {
    font-size: var(--fs-title);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.25
}

.dir-arrow {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--text-strong);
    opacity: 0;
    transform: scale(.7);
    transition: opacity .25s, transform .25s
}

.dir-card:hover .dir-arrow {
    opacity: 1;
    transform: scale(1)
}

.dir-dropdown {
    grid-column: 1 / -1;
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .45s cubic-bezier(.4, 0, .2, 1),
        opacity .35s ease,
        margin-top .4s ease;
    opacity: 0;
    margin-top: 0
}

.dir-dropdown.open {
    grid-template-rows: 1fr;
    opacity: 1;
    margin-top: 20px
}

.dir-dd-clip {
    overflow: hidden
}

.dir-dd-inner {
    display: block;
    background: var(--color-neutral-700);
    border: 1px solid rgba(255, 255, 255);
    border-radius: 12px;
    padding: 36px 40px;
    position: relative
}

.dir-dd-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
    color: var(--color-white);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
    line-height: 1
}

.dir-dd-close:hover {
    background: rgba(255, 255, 255, .16)
}

.dir-dd-role {
    font-size: var(--fs-filter);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-white);
    margin-bottom: 10px
}

.dir-dd-name {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 700;
    line-height: .95;
    color: var(--color-white);
    margin-bottom: 20px
}

.dir-dd-bio {
    font-size: var(--fs-body);
    line-height: 1.85;
    color: var(--color-white);
    margin-bottom: 28px;
    white-space: pre-line;
    columns: 2;
    column-gap: 48px;
}

.dir-card.act {
    border-color: var(--color-white) !important;
    background: var(--color-neutral-700) !important;
    transform: translateY(-5px)
}

.dir-card.act .dir-role {
    color: var(--color-white)
}

.dir-card.act .dir-name {
    color: var(--color-white)
}

.dir-card.act .dir-arrow {
    opacity: 1;
    transform: scale(1);
    background: var(--color-white);
    color: var(--text-strong)
}

/* ── pages/assets.css ── */
/* ══ ASSETS ══ */
.assets-grid>* {
    min-width: 0;
}

.assets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 18px;
    row-gap: 0;
    align-items: start
}

.asset-item {
    background: rgb(242, 86, 35, 0.08);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color .25s, box-shadow .25s;
    margin-bottom: 18px
}

.asset-item:hover {
    border-color: rgba(255, 255, 255, .2)
}

.asset-item.act {
    border-color: var(--color-neutral-700);
    box-shadow: 0 0 0 1px var(--color-neutral-700), 0 0 0 2px var(--color-white);
}

.asset-item.act .asset-item-head {
    background: var(--color-neutral-700)
}

.asset-item.act .asset-item-icon {
    color: var(--color-white)
}

.asset-item.act .asset-item-name {
    color: var(--color-white)
}

.asset-item.act .asset-item-loc {
    color: var(--color-white)
}

.asset-item-head {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px 30px
}

.asset-item-icon {
    font-size: 32px;
    flex-shrink: 0;
    width: 50px;
    text-align: center;
    color: var(--color-brand-accent);
}

.asset-item-title {
    flex: 1;
    min-width: 0
}

.asset-item-name {
    font-size: var(--fs-body);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.2
}

.asset-item-loc {
    font-size: var(--fs-filter);
    color: var(--color-white);
    margin-top: 4px;
    letter-spacing: .3px
}

.asset-item-arrow {
    font-size: var(--fs-body);
    color: var(--color-white);
    transition: transform .32s cubic-bezier(.4, 0, .2, 1), color .22s;
    flex-shrink: 0;
    line-height: 1
}

/* dropdown panel */
.add-dropdown {
    grid-column: 1 / -1;
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    margin-bottom: 0;
    transition: grid-template-rows .42s cubic-bezier(.4, 0, .2, 1), opacity .3s, margin-bottom .4s
}

.add-dropdown.open {
    grid-template-rows: 1fr;
    opacity: 1;
    margin-bottom: 18px
}

.add-dd-clip {
    overflow: hidden
}

.add-dd-inner {
    background: var(--color-neutral-700);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    padding: 36px 40px;
    position: relative
}

.add-dd-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
    color: var(--color-white);
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
    line-height: 1
}

.add-dd-close:hover {
    background: rgba(255, 255, 255, .16)
}

.add-dd-name {
    font-family: var(--font-display);
    font-size: clamp(24px, 3.5vw, 44px);
    font-weight: 700;
    line-height: .95;
    color: var(--color-white);
    margin-bottom: 26px
}

.add-dd-desc {
    font-size: var(--fs-body);
    line-height: 1.85;
    color: var(--color-white);
    margin-bottom: 28px;
    max-width: 100%
}

/* Asset photo gallery */
.add-photo-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 28px;
    overflow: visible
}

.add-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    border-radius: 8px;
    object-fit: cover;
    display: block;
    background: rgba(255, 255, 255, 0.349);
    border: 1px solid rgba(255, 85, 36, .08)
}

.add-photo-viewable {
    cursor: zoom-in
}

.add-photo-viewable:focus-visible {
    outline: 2px solid var(--color-white);
    outline-offset: 3px
}

.add-photo-ph {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .15);
    font-size: 30px
}

/* branch tabs */
.add-branch-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px
}

.add-branch-btn {
    padding: 8px 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: var(--color-white);
    color: var(--color-brand-accent);
    font-size: var(--fs-button);
    font-weight: 600;
    letter-spacing: .3px;
    cursor: pointer;
    transition: all .22s
}

.add-branch-btn.act {
    background: var(--color-brand-accent);
    border-color: var(--color-white);
    color: var(--color-white);
}

.add-branch-section {
    display: none
}

.add-branch-section.show {
    display: block
}

/* ── pages/careers.css ── */
/* ══ CAREERS ══ */
.career-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 52px;
    align-items: start
}

.career-text p {
    font-size: var(--fs-body);
    color: var(--color-white);
    line-height: 1.85;
    margin-bottom: 14px
}

.career-text p:first-child {
    font-size: var(--fs-body);
    color: var(--color-white);
    font-weight: 700;
}

.career-cta-box {
    background: var(--color-neutral-700);
    border: 1px solid rgb(255, 255, 255);
    border-radius: 8px;
    padding: 32px;
    position: sticky;
    top: 94px
}

.career-cta-box h3 {
    font-family: var(--font-display);
    font-size: var(--fs-title);
    color: var(--color-white);
    margin-bottom: 12px
}

.career-cta-box p {
    font-size: var(--fs-body);
    color: var(--color-white);
    line-height: 1.7;
    margin-bottom: 18px
}

.cta-detail {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-bottom: 10px;
    font-size: var(--fs-body);
    color: var(--color-white);
}

.cta-detail strong {
    color: var(--color-white);
    min-width: 55px
}

.internship-box {
    background: var(--color-neutral-700);
    border: 1px solid var(--color-white);
    border-radius: 8px;
    padding: 32px;
    margin-top: 32px
}

.internship-box h3 {
    font-family: var(--font-display);
    font-size: var(--fs-title);
    color: var(--color-white);
    margin-bottom: 10px
}

.internship-box p {
    font-size: var(--fs-body);
    color: var(--color-white);
    line-height: 1.75
}

.perks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 48px
}

.perk {
    background: var(--color-neutral-700);
    border-radius: 16px;
    padding: 28px;
    border: 1px solid var(--color-white);
    transition: border-color .3s, transform .3s
}

.perk:hover {
    transform: translateY(-3px)
}

.perk .p-icon {
    font-size: 32px;
    color: var(--color-white);
    margin-bottom: 12px
}

.perk h4 {
    font-size: var(--fs-title);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 7px
}

.perk p {
    font-size: var(--fs-body);
    color: var(--color-white);
    line-height: 1.65
}

/* ══ JOB POSITIONS ══ */
.positions-section {
    margin-top: 80px;
    scroll-margin-top: 100px;
}

.positions-filter {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 32px 0 28px;
}

.positions-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    align-items: start;
}

/* Equal-width job cards; long labels wrap inside their column. */
.positions-list>.job-card,
.job-card .job-info {
    min-width: 0;
}

.job-card .job-title,
.job-card .job-tag,
.job-card .job-badge-new {
    overflow-wrap: anywhere;
    max-width: 100%;
}

.job-card .job-meta {
    align-content: flex-start;
    align-items: flex-start;
}

.job-card {
    background: var(--color-neutral-700);
    border: 1px solid var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color .3s;
}

.job-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 28px;
    cursor: pointer;
    gap: 16px;
}

.job-info {
    flex: 1;
}

.job-title {
    font-family: var(--font-display);
    font-size: var(--fs-title);
    font-weight: 800;
    line-height: 1.85;
    color: var(--color-white);
    margin-bottom: 6px;
}

.job-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.job-tag {
    font-size: 14px;
    letter-spacing: .07em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 3px;
    font-weight: 600;
}

.job-tag.dept {
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-white);
}

.job-tag.loc {
    background: rgba(255, 255, 255, .06);
    color: var(--color-white);
}

.job-badge-new {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    background: #2a7a4b;
    color: #7effc0;
    padding: 3px 9px;
    border-radius: 3px;
}

.job-chevron {
    font-size: 18px;
    color: var(--color-white);
    transition: transform .3s;
    flex-shrink: 0;
}

.job-card.open .job-card-header {
    background: var(--color-neutral-700);
}

.job-card.open .job-title {
    color: var(--color-white)
}

.job-card.open .job-tag.dept {
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-white);
}

.job-card.open .job-tag.loc {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-white);
}

.job-card.open .job-chevron {
    transform: rotate(180deg);
    color: var(--color-white);
}

.job-body {
    display: none;
    padding: 0 28px 28px;
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.job-card.open .job-body {
    display: block;
}

.job-body-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding-top: 24px;
}

.job-section-label {
    font-size: 18px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--color-white);
    margin-bottom: 12px;
    font-weight: 700;
}

.job-body p {
    font-size: var(--fs-body);
    color: var(--color-white);
    line-height: 1.6;
}

.job-body ul {
    list-style-type: disc;
    padding-left: 20px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.job-body ul li {
    font-size: var(--fs-body);
    color: var(--color-white);
    line-height: 1.6;
}

.job-apply-row {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--color-white);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.job-apply-note {
    font-size: var(--fs-body);
    color: var(--color-white);
}

.no-positions {
    text-align: center;
    padding: 52px;
    color: rgba(255, 255, 255, .3);
    font-size: var(--fs-body);
    border: 1px dashed rgba(255, 255, 255, .1);
    border-radius: 8px;
}

html[data-theme="light"] .no-positions {
    color: var(--text-muted);
    border-color: rgba(0, 0, 0, .15)
}

@media(max-width:680px) {
    .job-body-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .job-card-header {
        padding: 18px 20px;
    }

    .job-body {
        padding: 0 20px 22px;
    }
}

.apply-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 18px;
    width: 100%;
}

.apply-form input,
.apply-form textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, .08);
    color: var(--color-white);
    padding: 12px 14px;
    border-radius: 4px;
    font-size: var(--fs-body);
    font-family: var(--font-display);
    transition: all .25s;
}

.apply-form input::placeholder,
.apply-form textarea::placeholder {
    color: rgba(255, 255, 255, .35);
}

.apply-form input:focus,
.apply-form textarea:focus {
    outline: none;
    border-color: var(--color-white);
    background: rgba(255, 255, 255, 0.06);
}

.apply-form textarea {
    min-height: 100px;
    resize: vertical;
}

.apply-form .btn-p {
    width: 100%;
    margin-top: 6px;
}

.apply-form label {
    font-size: var(--fs-filter);
    text-transform: uppercase;
    color: var(--color-white);
    margin-bottom: 2px;
}

/* PDPA line above "Send Application" */
.apply-privacy-note {
    margin: 4px 0 0;
    color: var(--color-white);
    opacity: .8;
    font-size: var(--fs-subtitle);
    line-height: 1.5;
}

.apply-privacy-note a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Shown under "Send Application" when the application can't be prepared */
.apply-send-error {
    color: #ff7b7b;
    font-size: var(--fs-subtitle);
    line-height: 1.35;
}

/* ── Department filter buttons (same look as the project .tab buttons) ── */
.filter-btn {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    color: var(--text-muted);
    font-size: var(--fs-filter);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 7px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: all var(--transition-fast)
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--color-white);
    color: var(--text-inverse);
    border-color: var(--color-white)
}

/* ── pages/contact.css ── */
/* ══ CONTACT ══ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 52px;
    align-items: start
}

.office-card {
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 6px;
    padding: 26px;
    margin-bottom: 14px;
    transition: border-color .3s
}

.office-card:hover {
    border-color: rgba(255, 255, 255, .18)
}

.oc-head {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 12px
}

.office-card h3 {
    font-size: var(--fs-title);
    font-weight: 700;
    color: var(--color-white)
}

.office-card p {
    font-size: var(--fs-body);
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 8px
}

.office-card strong {
    color: var(--color-white);
}

.office-card a {
    font-size: var(--fs-body);
    color: var(--color-brand-accent);
}

.map-wrap {
    margin-bottom: 18px;
}

.office-card.active {
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* ── pages/policies.css ── */
/* ══ ABAC CARDS ══ */
.abac-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 36px
}

.abac-card {
    background: var(--color-brand-accent);
    border: 1px solid var(--color-neutral-700);
    border-radius: 10px;
    padding: 28px 24px;
    transition: border-color .25s
}

.abac-card:hover {
    border-color: rgba(255, 255, 255, .2)
}

.abac-num {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
    color: var(--color-white);
    margin-bottom: 14px
}

.abac-text {
    font-size: var(--fs-body);
    line-height: 1.75;
    color: var(--color-white)
}

/* ══ SPEAK UP CARDS ══ */
.speak-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 36px
}

.speak-copy-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
    align-items: stretch;
    margin-top: 20px
}

.policy-doc .speak-copy-grid p {
    margin: 0
}

.speak-card {
    background: var(--surface-card);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 10px;
    padding: 28px 24px;
    transition: border-color .25s
}

.speak-card:hover {
    border-color: rgba(255, 255, 255, .2)
}

.speak-text {
    font-size: var(--fs-body);
    line-height: 1.75;
    color: var(--color-white)
}

html[data-theme="dark"] #pol-speakout .link-blue {
    color: var(--color-brand-accent)
}

html[data-theme="dark"] #pol-speakout .speak-card {
    background: var(--color-brand-accent)
}

@media(max-width:860px) {
    .abac-cards {
        grid-template-columns: repeat(2, 1fr)
    }

    .speak-cards {
        grid-template-columns: repeat(2, 1fr)
    }

    .speak-copy-grid {
        grid-template-columns: 1fr;
        gap: 20px
    }
}

@media(max-width:580px) {
    .abac-cards {
        grid-template-columns: 1fr
    }

    .speak-cards {
        grid-template-columns: 1fr
    }
}

/* ══ POLICIES ══ */
.policy-nav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin-bottom: 40px
}

.pol-btn {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    background: var(--surface-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--color-white);
    font-size: var(--fs-body);
    font-weight: 600;
    text-align: left;
    padding: 20px;
    padding-left: 40px;
    border-radius: 16px;
    cursor: pointer;
    transition: all var(--transition-fast)
}

.pol-btn i {
    font-size: var(--fs-title);
    color: var(--color-brand-accent)
}

.pol-btn.act,
.pol-btn:hover {
    background: var(--color-brand-accent);
    border-color: var(--color-neutral-700);
    color: var(--color-white)
}

.link-blue {
    color: var(--color-policy-link);
    text-decoration: underline;
}

.policy-doc {
    display: none
}

.policy-doc.show {
    display: block
}

.policy-doc h3 {
    font-family: var(--font-display);
    font-size: var(--fs-title);
    color: var(--color-white);
    margin-bottom: 18px
}

.policy-doc.txt-2col {
    margin-top: 0
}

.policy-doc.txt-2col h3 {
    column-span: all
}

.policy-doc.txt-2col h4,
.policy-doc.txt-2col .abac-cards,
.policy-doc.txt-2col .speak-cards,
.policy-doc.txt-2col .speak-copy-grid,
.policy-doc.txt-2col .pdpa-accordion {
    column-span: all
}

.policy-doc p,
.policy-doc li {
    font-size: var(--fs-body);
    color: var(--color-white);
    line-height: 1.85;
    margin-bottom: 12px;
    break-inside: avoid
}

.policy-copy-2col {
    columns: 2;
    column-gap: 48px
}

.policy-doc .policy-copy-2col p {
    break-inside: auto
}

.policy-copy-2col--spaced {
    margin-top: 28px
}

.policy-doc ul {
    list-style-type: disc;
    padding-left: 24px;
    margin-bottom: 14px
}

.policy-doc ol {
    list-style-type: decimal;
    padding-left: 24px;
    margin-bottom: 14px
}

.policy-doc li {
    margin-bottom: 7px
}

.policy-doc h4 {
    font-size: var(--fs-body);
    font-weight: 700;
    color: var(--color-white);
    margin: 22px 0 9px
}

/* ══ PDPA ACCORDION ══ */
.pdpa-intro {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
    align-items: start;
    margin-bottom: 32px
}

.pdpa-intro-column {
    min-width: 0
}

.pdpa-intro-column>*:first-child {
    margin-top: 0
}

.pdpa-intro-column>*:last-child {
    margin-bottom: 0
}

@media(max-width:900px) {
    .pdpa-intro {
        grid-template-columns: 1fr;
        gap: 20px
    }
}

.pdpa-accordion {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 32px
}

.pdpa-item {
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 10px;
    overflow: hidden;
    background: var(--color-brand-accent);
    transition: border-color .25s
}

.pdpa-item.open {
    border-color: var(--color-white);
    background: var(--color-neutral-700)
}

.pdpa-head {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    cursor: pointer;
    user-select: none;
    transition: background .2s
}

.pdpa-head:hover {
    background: rgba(255, 255, 255, .04)
}

.pdpa-item.open .pdpa-head:hover {
    background: rgba(0, 0, 0, .04)
}

.pdpa-letter {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-white);
    flex-shrink: 0;
    width: 32px;
    line-height: 1;
    transition: color .25s
}

.pdpa-title {
    flex: 1;
    font-size: var(--fs-title);
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .75)
}

.pdpa-item.open .pdpa-title {
    color: var(--color-white)
}

.pdpa-chevron {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    opacity: .4;
    transition: transform .35s, opacity .25s
}

.pdpa-item.open .pdpa-chevron {
    transform: rotate(180deg);
    opacity: 1;
    color: rgba(255, 255, 255, 0.915)
}

.pdpa-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .4s cubic-bezier(.4, 0, .2, 1)
}

.pdpa-item.open .pdpa-body {
    grid-template-rows: 1fr;
    color: var(--text-inverse)
}

.pdpa-clip {
    overflow: hidden
}

.pdpa-content {
    padding: 0 24px 24px 72px;
    font-size: var(--fs-body);
    line-height: 1.8;
    color: rgba(255, 255, 255, .62)
}

.pdpa-item.open .pdpa-content {
    color: rgba(0, 0, 0, .72)
}

.pdpa-item.open .pdpa-content p,
.pdpa-item.open .pdpa-content li,
.pdpa-item.open .pdpa-content span,
.pdpa-item.open .pdpa-content strong {
    color: rgba(255, 255, 255, 0.915)
}

.pdpa-content ol,
.pdpa-content ul {
    padding-left: 20px;
    margin: 10px 0
}

.pdpa-content li {
    margin-bottom: 6px
}

@media(max-width:680px) {
    .pdpa-content {
        padding-left: 24px
    }

    .pdpa-letter {
        font-size: 22px
    }
}

/* ── pages/award.css ── */
/* ══ AWARD PAGE ══ */
.award-gallery {
    position: relative;
    overflow: hidden;
    min-height: clamp(520px, 72vh, 760px);
    border-radius: 6px;
    background: #07101c;
    isolation: isolate
}

.award-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .9s ease, visibility .9s ease
}

.award-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1
}

.award-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.035);
    transition: transform 7s linear
}

.award-slide.is-active img {
    transform: scale(1)
}

.award-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 10, 18, .04) 35%, rgba(5, 10, 18, .9) 100%)
}

.award-controls {
    position: absolute;
    left: clamp(22px, 5vw, 72px);
    right: clamp(22px, 5vw, 72px);
    bottom: 30px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px
}

.award-control-btn {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 50%;
    background: rgba(6, 15, 27, .35);
    color: var(--color-white);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    backdrop-filter: blur(8px);
    transition: background .2s ease, border-color .2s ease
}

.award-control-btn:hover,
.award-control-btn:focus-visible {
    background: var(--color-white);
    border-color: var(--color-white);
    color: var(--color-brand-primary)
}

.award-dots {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-left: 8px
}

.award-dot {
    width: 26px;
    height: 3px;
    padding: 0;
    border: 0;
    border-radius: 5px;
    background: rgba(255, 255, 255, .36);
    cursor: pointer;
    transition: width .3s ease, background .3s ease
}

.award-dot.is-active {
    width: 54px;
    background: var(--color-white)
}

.award-count {
    margin-left: auto;
    color: rgba(255, 255, 255, .85);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .1em
}

@media (max-width: 600px) {
    .award-gallery {
        min-height: 570px
    }

    .award-dots {
        order: -1;
        width: 100%;
        margin: 0 0 6px
    }

    .award-controls {
        flex-wrap: wrap
    }

    .award-dot {
        flex: 1;
        width: auto
    }

    .award-dot.is-active {
        width: auto
    }
}

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

    .award-slide,
    .award-slide img {
        transition: none
    }
}

#page-award {
    min-height: 100vh;
    padding: 112px 7% 80px;
    color: var(--color-white)
}

html[data-theme="light"] #page-award {
    color: #111416
}

#page-award .award-article {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none
}

#page-award .award-article-heading {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: clamp(40px, 5vw, 64px);
    padding-bottom: 38px;
    border-bottom: 1px solid var(--border-neutral)
}

#page-award .award-title-wrap {
    text-align: center
}

#page-award .award-article-title {
    max-width: 1200px;
    margin: 0 auto;
    color: inherit;
    font-family: var(--font-display);
    font-size: var(--fs-header);
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: -.035em
}

#page-award .award-article-source {
    margin: 18px 0 0;
    color: var(--text-muted);
    font-size: var(--fs-subtitle);
    letter-spacing: .02em
}

#page-award .award-article-source a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px
}

#page-award .award-article-source a:hover {
    opacity: .75
}

#page-award .award-gallery {
    min-height: 0;
    aspect-ratio: 16 / 9;
    margin-top: 34px;
    border-radius: 18px
}

#page-award .award-slide img,
#page-award .award-slide.is-active img {
    object-fit: contain;
    object-position: center;
    background: #07101c;
    transform: none
}

#page-award .award-story {
    width: 100%;
    max-width: none;
    margin: clamp(44px, 7vw, 78px) 0 10px;
    color: var(--text-subtle);
    font-family: 'DM Sans', sans-serif;
    font-size: var(--fs-body);
    line-height: 1.65
}

#page-award .award-story p {
    margin: 0 0 22px
}

#page-award .award-story-signoff {
    font-size: var(--fs-title);
    font-weight: 700;
    font-style: italic
}

#page-award #award-ft {
    margin: 70px -7vw -80px
}

@media (max-width: 820px) {
    #page-award {
        padding: 92px 6% 64px
    }

    #page-award .award-article-heading {
        gap: 32px
    }

    #page-award .award-title-wrap {
        text-align: left
    }

    #page-award .award-article-title {
        margin: 0
    }

    #page-award .award-gallery {
        min-height: 0
    }
}

@media (max-width: 560px) {
    #page-award .award-gallery {
        margin-inline: 0;
        min-height: 0;
        border-radius: 14px
    }
}

/* ── overrides/responsive.css ── */
/* ══ RESPONSIVE ══ */
@media(max-width:1060px) {
    .hero-content {
        padding: 0 6%;
        max-width: 100%
    }

    .hero-h {
        font-size: clamp(28px, 9vw, 56px);
        white-space: normal
    }

    .hero-h.hero-h--compact {
        font-size: clamp(26px, 7vw, 44px)
    }

    .hero-dots {
        right: 50%;
        transform: translateX(50%)
    }

    .svc-grid {
        flex-direction: column;
        height: auto
    }

    .svc-card {
        flex: none;
        min-height: 180px
    }

    .svc-card:hover {
        flex: none
    }

    .svc-img {
        flex: 1 !important
    }

    .svc-panel {
        display: none !important
    }

    .svc-front-title {
        opacity: 1 !important
    }

    .proj-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .vals-layout {
        grid-template-columns: 1fr;
        gap: 36px
    }

    .purpose-grid {
        grid-template-columns: 1fr
    }

    .adv-grid {
        grid-template-columns: 1fr
    }

    .adv-card,
    .adv-card:last-child {
        grid-column: span 1
    }

    .dir-dd-inner {
        padding: 28px 24px
    }

    .dir-dd-bio {
        columns: 1
    }

    .assets-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .asset-item-head {
        padding: 20px 18px;
        gap: 14px
    }

    .asset-item-icon {
        font-size: 24px;
        width: 36px
    }

    .about-text {
        columns: 1
    }

    .contact-grid {
        grid-template-columns: 1fr
    }

    .career-grid {
        grid-template-columns: 1fr
    }

    .positions-list {
        grid-template-columns: 1fr
    }

    .perks-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .policy-nav {
        grid-template-columns: repeat(2, 1fr)
    }

    .pd-info-layout {
        grid-template-columns: 1fr;
        gap: 36px
    }

    .pd-summary {
        max-width: none
    }

    .pd-info-card {
        grid-column: 1;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .12);
        padding: 32px 0 0
    }

    .pd-project-gallery {
        grid-template-columns: repeat(4, minmax(0, 1fr))
    }

    .ft-grid {
        grid-template-columns: 1fr 1fr
    }

    .vals-card {
        padding: 32px
    }

    .dir-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .dir-dropdown {
        grid-column: 1 / -1
    }

    .pg-hero {
        padding: 100px 6% 42px
    }
}

@media(max-width:640px) {

    .policy-nav {
        grid-template-columns: 1fr
    }

    .asset-item {
        max-width: 100%
    }

    .asset-item-head {
        padding: 16px 14px;
        gap: 12px
    }

    .asset-item-icon {
        font-size: var(--fs-body);
        width: 30px
    }

    .asset-item-name {
        font-size: 15px
    }

    .add-dd-inner {
        padding: 22px 18px
    }

    .ft-grid {
        grid-template-columns: 1fr
    }

    .hero-sub {
        font-size: var(--fs-body);
        margin-top: 16px;
        line-height: 1.6;
    }

    .eyebrow {
        font-size: 14px;
        letter-spacing: 2px
    }

    .cta-band {
        padding: 48px 5%;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px
    }

    .pvm-cell {
        padding: 28px 18px
    }

    .breadcrumb {
        font-size: 15px
    }

    .mq-track span {
        font-family: var(--font-display);
        font-size: 16px;
        letter-spacing: 3px;
        color: var(--color-white);
        padding: 0 16px
    }

    .tab {
        font-size: var(--fs-button);
        font-weight: 600;
    }

    /* Vals card */
    .vals-card {
        padding: 20px 18px
    }

    .vals-layout {
        gap: 24px
    }

    .val-item-icon {
        width: 38px;
        height: 38px;
        font-size: 17px
    }

    .val-item-title {
        font-size: 14px
    }

    .val-item-desc {
        font-size: 12px
    }

    /* Directors */
    .dir-grid {
        grid-template-columns: 1fr
    }

    .dir-card {
        min-height: 160px
    }

    .dir-dd-inner {
        padding: 20px 16px
    }

    .dir-dd-name {
        font-size: clamp(22px, 6vw, 34px)
    }

    /* SVC cards */
    .svc-card {
        min-height: 160px
    }

    /* Newspaper 2-col → 1 col */
    .txt-2col,
    .policy-copy-2col {
        text-align: left !important
    }

    /* Hero */
    .scroll-h {
        display: none
    }

    /* Project detail sidebar */
    .pd-info-card {
        padding: 20px 18px
    }

}

/* ══ VERY SMALL SCREENS (≤ 390px) ══ */
@media(max-width:390px) {
    .pol-btn {
        font-size: var(--fs-button);
        padding: 7px 14px
    }

    .vals-card {
        padding: 14px
    }

    .svc-card {
        min-height: 140px
    }

    .dir-card {
        min-height: 140px;
        padding: 18px 14px
    }

}

/* ── overrides/responsive-hardening.css ── */
/* ══ RESPONSIVE HARDENING ══ */
.sec-title,
.pg-hero-title,
#page-project-detail .pd-title {
    overflow-wrap: anywhere
}

.pg-hero-content,
.job-info,
.pd-info-row .v,
.cta-detail span,
.pdpa-title,
.ft-grid>* {
    min-width: 0
}

.pd-info-row .v,
.cta-detail span,
.office-card a,
.policy-doc a,
.pdpa-title {
    overflow-wrap: anywhere;
    word-break: break-word
}

.breadcrumb,
.add-branch-tabs {
    flex-wrap: wrap
}

.pt-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 32px
}

.add-dd-name,
.dir-dd-name {
    padding-right: 48px
}

.map-wrap iframe {
    display: block;
    max-width: 100%
}

.mob-btn,
.mob-theme-btn,
.tab,
.filter-btn,
.add-branch-btn {
    min-height: 44px
}

.mob-btn,
.mob-theme-btn {
    min-width: 44px
}

@media(max-width:1180px) {
    .nav-links {
        display: none
    }

    .mob-btn {
        display: flex;
        align-items: center;
        justify-content: center
    }

    nav {
        height: calc(60px + env(safe-area-inset-top));
        padding-top: env(safe-area-inset-top);
        padding-left: max(18px, env(safe-area-inset-left));
        padding-right: max(18px, env(safe-area-inset-right))
    }

    .mob-menu {
        top: calc(60px + env(safe-area-inset-top));
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
        padding-bottom: calc(20px + env(safe-area-inset-bottom))
    }

    html[data-theme="light"] nav.sc .mob-btn,
    html[data-theme="light"][data-page="post-tensioning"] .mob-btn,
    html[data-theme="light"][data-page="policies"] .mob-btn,
    html[data-theme="light"][data-page="project-detail"] .mob-btn {
        color: var(--color-brand-accent)
    }

    html[data-theme="dark"] body {
        background-attachment: scroll
    }
}

@media(max-width:1060px) {
    :root {
        --fs-sectitle: clamp(48px, 7vw, 60px);
        --fs-header: clamp(52px, 8vw, 74px)
    }

    .add-photo-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .vals-slideshow {
        height: auto;
        min-height: 200px;
        aspect-ratio: 16 / 9
    }

    .career-cta-box {
        position: static
    }

    section.inner {
        padding: 56px 6% 64px
    }
}

@media(max-width:640px) {
    :root {
        --fs-body: 16px;
        --fs-subtitle: 13px;
        --fs-title: 22px;
        --fs-sectitle: clamp(36px, 11vw, 48px);
        --fs-header: clamp(40px, 12vw, 56px);
        --fs-button: 13px;
        --fs-filter: 15px
    }

    section.inner {
        padding: 48px 5% 52px
    }

    .logo-mark {
        width: 112px;
        height: 44px
    }

    .mob-item {
        min-height: 46px;
        font-size: var(--fs-body)
    }

    .pg-hero {
        min-height: 280px;
        padding: calc(86px + env(safe-area-inset-top)) 5% 34px
    }

    .pg-hero-title {
        line-height: 1
    }

    #page-project-detail .pd-hero {
        padding: calc(100px + env(safe-area-inset-top)) 5% 36px
    }

    #page-project-detail .pd-title {
        font-size: clamp(34px, 10vw, 48px);
        line-height: 1
    }

    .pd-body {
        padding: 42px 5% 56px
    }

    .pd-project-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .pd-project-info {
        margin-top: 48px
    }

    .pd-project-info-title {
        margin-bottom: 28px
    }

    .pd-info-actions {
        flex-direction: column
    }

    .pd-info-actions .btn-p,
    .pd-info-actions .btn-o {
        width: 100%;
        text-align: center
    }

    .pd-info-row .k {
        min-width: 72px
    }

    .proj-grid,
    .assets-grid,
    .perks-grid,
    #home-vals,
    .pt-gallery {
        grid-template-columns: 1fr
    }

    .assets-grid {
        overflow-x: visible
    }

    .text-2col,
    .txt-2col,
    .policy-copy-2col {
        column-count: 1 !important
    }

    .hero {
        min-height: 100svh
    }

    .hero-content {
        padding: calc(86px + env(safe-area-inset-top)) 5% 100px
    }

    .hero-acts {
        width: 100%;
        margin-top: 26px
    }

    .hero-acts .btn-p,
    .hero-acts .btn-o {
        flex: 1 1 180px;
        justify-content: center;
        text-align: center
    }

    .hero-dots {
        bottom: 24px
    }

    .sec-header-row {
        align-items: flex-start
    }

    .vals-slideshow {
        height: auto;
        min-height: 170px;
        aspect-ratio: 4 / 3
    }

    .val-item {
        padding: 20px 18px
    }

    .cta-actions {
        width: 100%
    }

    .cta-actions button {
        width: 100%;
        min-width: 0;
        justify-content: center
    }

    .add-branch-tabs {
        flex-direction: column
    }

    .add-branch-btn {
        width: 100%
    }

    .add-photo-strip {
        grid-template-columns: 1fr
    }

    .add-photo {
        width: 100%
    }

    .job-card-header {
        align-items: flex-start;
        padding: 18px
    }

    .job-body {
        padding: 0 18px 22px
    }

    .job-body-inner {
        grid-template-columns: 1fr;
        gap: 24px
    }

    .job-meta {
        gap: 8px
    }

    .job-title {
        overflow-wrap: anywhere
    }

    .job-apply-row .btn-p,
    .apply-form .btn-p {
        width: 100%;
        justify-content: center
    }

    .positions-filter {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 5px;
        scrollbar-width: none
    }

    .positions-filter::-webkit-scrollbar {
        display: none
    }

    .filter-btn {
        flex-shrink: 0
    }

    .no-positions {
        padding: 30px 16px
    }

    .pdpa-head {
        gap: 10px;
        padding: 15px 14px
    }

    .pdpa-title {
        font-size: 18px;
        letter-spacing: .6px
    }

    .pdpa-content {
        padding: 0 14px 18px
    }

    .map-wrap iframe {
        height: 300px
    }

    .ft-bottom {
        align-items: flex-start
    }

    .lb-viewport {
        padding: 16px 10px
    }

    .lb-controls {
        height: auto;
        min-height: 60px;
        flex-wrap: wrap;
        gap: 6px;
        padding: 8px 10px calc(8px + env(safe-area-inset-bottom))
    }

    .lb-divider {
        display: none
    }
}

@media(max-width:390px) {
    section.inner {
        padding: 44px 4% 48px
    }

    .pd-info-row {
        flex-direction: column;
        gap: 3px
    }

    .pd-info-row .k {
        min-width: 0
    }

    .ft-bottom {
        flex-direction: column
    }

    .lb-controls {
        gap: 4px;
        padding-inline: 6px
    }
}

@media(pointer:coarse) {

    .add-dd-close,
    .dir-dd-close,
    .lb-ctrl-btn {
        min-width: 44px;
        min-height: 44px
    }
}

.apply-form .app-field-invalid,
.apply-form .app-field-invalid:focus {
    border-color: var(--color-error) !important;
    box-shadow: 0 0 0 1px var(--color-error) !important;
}

.apply-form input[type="checkbox"].app-field-invalid,
.apply-form input[type="radio"].app-field-invalid {
    outline: 2px solid var(--color-error);
    outline-offset: 2px;
}

.field-validation-message {
    margin: -8px 0 2px;
    color: #ff7b7b;
    font-size: 14px;
    line-height: 1.35;
}

/* ── overrides/helpers.css ── */
/* ════════════════════════════════════════
   HELPERS — loaded last on purpose.
   These replace the master's inline style="" attributes, so they must win
   over the component rules above (selectors are scoped where needed).
════════════════════════════════════════ */

/* Hidden by the project tabs / job filters (was style.display = 'none') */
.is-hidden {
    display: none !important
}

/* Spacing that used to be inline */
.mb-18 {
    margin-bottom: 18px
}

.mb-28 {
    margin-bottom: 28px
}

.mb-32 {
    margin-bottom: 32px
}

.mt-10 {
    margin-top: 10px
}

.mt-64 {
    margin-top: 64px
}

.ml-6 {
    margin-left: 6px
}

section.inner.pt-48 {
    padding-top: 48px
}

section.inner.pb-40 {
    padding-bottom: 40px
}

.fw-bold {
    font-weight: bold
}

/* Careers: "Send Your CV" / "Apply for Internship" links and the CTA-box button */
a.btn-p.btn-inline {
    display: inline-block;
    margin-top: 18px
}

a.btn-p.btn-block {
    display: block;
    text-align: center;
    margin-top: 22px
}

/* Careers job cards */
.job-tag .job-loc-icon {
    margin-right: 4px;
    font-size: 10px
}

.apply-form .btn-icon {
    margin-right: 6px
}

.job-body .job-section-label--first {
    margin-top: 20px
}

.apply-form .app-website {
    display: none !important
}

/* Contact map */
.map-wrap .map-frame {
    border: 0;
    border-radius: 8px
}

/* Lightbox "FIT" button */
.lb-controls .lb-fit-btn {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .05em;
    width: auto;
    padding: 0 10px;
    border-radius: 6px
}

/* Project page: related projects block */
.pd-body .pd-related {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, .07)
}

.pd-related .proj-grid {
    margin-top: 20px
}

/* Careers email panel: the one-line address box */
.aw-copybox .aw-addr {
    height: 40px
}

/* In the master, in-site links had no href (Google Sites workaround), so they
   inherited the surrounding text colour instead of the browser's link blue.
   :where() keeps this at zero specificity so every existing colour rule still wins. */
:where(a:any-link) {
    color: inherit
}

/* Project cards are real links now (they were div role="button") */
a.pj-card {
    display: block;
    color: inherit
}

/* Project titles are <h1> now (they were <div>) — keep the original weight.
   (.pg-hero-title already sets its own weight.) */
h1.pd-title {
    font-weight: inherit
}

/* ── generated by build.mjs: background images from src/data ── */
.bg-page-hero {
    --bg: url('../images/hero/hero-image.webp')
}

.bg-team-hero {
    --bg: url('../images/team/townhall-13072026-central-region.webp')
}

.bg-hero-slide-1 {
    --bg: url('../images/hero/hero-image.webp')
}

.bg-hero-slide-2 {
    --bg: url('../images/projects/mrt2-v209/mrt-v209-05102021-74-orig-2.webp')
}

.bg-hero-slide-3 {
    --bg: url('../images/projects/mrt2-s209/vlcsnap-2023-09-21-12h24m11s754-orig.webp')
}

.bg-hero-slide-4 {
    --bg: url('../images/projects/sengkang-punggol-lrt-810c/whatsapp-image-2026-10-01-at-85330-am-3.webp')
}

.bg-hero-slide-5 {
    --bg: url('../images/projects/rts-link/3-9.webp')
}

.bg-hero-slide-6 {
    --bg: url('../images/projects/jurong-region-line-j107/jurong.webp')
}

.bg-hero-slide-7 {
    --bg: url('../images/projects/cyberjaya-bridge/dji-0052.webp')
}

.bg-hero-slide-8 {
    --bg: url('../images/projects/integrated-water-supply-scheme/2-7.webp')
}

.bg-hero-slide-9 {
    --bg: url('../images/projects/klia2/3.webp')
}

.bg-hero-slide-10 {
    --bg: url('../images/post-tensioning/pt3.webp')
}

.bg-hero-slide-11 {
    --bg: url('../images/award/whatsapp-image-2026-11-04-at-111736-am.webp');
    background-position: center 10%
}

.bg-svc-express {
    background-image: url('../images/projects/penang-bridge-widening/144.webp')
}

.bg-svc-transit {
    background-image: url('../images/projects/rts-link/3-9.webp')
}

.bg-svc-airport {
    background-image: url('../images/projects/penang-airport-wp02/pia-wp02.webp')
}

.bg-svc-urban {
    background-image: url('../images/projects/elmina-mock-up-units/house-4.webp')
}

.bg-vals-1 {
    background-image: url('../images/team/townhall-13072026-central-region.webp')
}

.bg-vals-2 {
    background-image: url('../images/team/northern-townhall.webp')
}

.bg-vals-3 {
    background-image: url('../images/team/our-team-site1.webp')
}

.bg-vals-4 {
    background-image: url('../images/team/our-team-site2.webp')
}
