:root {
    --navy-ink: #12122E;
    --navy-heading: #161660;
    --navy-stats: #12134A;
    --navy-footer: #0A0A2E;
    --amber: #F5A200;
    --amber-hover: #FFB733;
    --text-body: #33334D;
    --text-secondary: #5B5B75;
    --text-muted: #8A8AA3;
    --surface-1: #FFFFFF;
    --surface-2: #F6F6FB;
    --border: #ECECF3;
    --footer-text: #9496C0;
    --footer-text-dim: #6C6E96;
    --font-display: 'Sora', system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-body: 'Manrope', system-ui, -apple-system, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--navy-ink);
    background: var(--surface-1);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

p {
    text-align: justify;
    text-justify: inter-word;
}

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

a {
    color: var(--navy-heading);
    text-decoration: none;
}

a:hover {
    color: var(--amber);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.eyebrow {
    color: var(--amber);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 34px;
    color: var(--navy-ink);
    margin: 0;
    text-wrap: balance;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--surface-1);
    border-bottom: 1px solid var(--border);
}

.site-header .container {
    padding: 14px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.brand .brand-mark {
    height: 44px;
    width: auto;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
    line-height: 1;
}

.brand .brand-wordmark {
    height: 18px;
    width: auto;
}

.brand-text .sub {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 1.5px;
}

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

.site-nav a {
    color: var(--text-body);
    font-weight: 600;
    font-size: 14.5px;
}

.site-nav a.is-active,
.mobile-menu a.is-active {
    color: var(--amber);
    font-weight: 700;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.phone-link {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 14.5px;
    color: var(--navy-heading);
    white-space: nowrap;
}

.btn {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 14px;
    padding: 11px 22px;
    border-radius: 6px;
    white-space: nowrap;
    transition: background 0.15s;
    border: none;
    cursor: pointer;
}

.btn-amber {
    background: var(--amber);
    color: var(--navy-heading);
}

.btn-amber:hover {
    background: var(--amber-hover);
    color: var(--navy-heading);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    padding: 15px 28px;
    font-size: 15px;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--navy-heading);
}

.mobile-menu {
    display: none;
    border-top: 1px solid var(--border);
    padding: 20px 24px 28px;
    flex-direction: column;
    gap: 18px;
}

.mobile-menu a {
    color: var(--text-body);
    font-weight: 600;
    font-size: 15.5px;
}

.mobile-menu.is-open {
    display: flex;
}

/* Hero */
.hero {
    position: relative;
    min-height: clamp(560px, 70vw, 620px);
    overflow: hidden;
    background: #2b3540 center/cover no-repeat;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(11,12,42,0.94) 0%, rgba(11,12,42,0.82) 32%, rgba(11,12,42,0.35) 62%, rgba(11,12,42,0.15) 100%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    height: 100%;
    min-height: clamp(560px, 70vw, 620px);
    padding: 0 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content {
    max-width: min(90%, 620px);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 162, 0, 0.15);
    border: 1px solid rgba(245, 162, 0, 0.4);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 22px;
}

.hero-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--amber);
}

.hero-badge span.label {
    color: #F5C24D;
    font-weight: 700;
    font-size: 12.5px;
    letter-spacing: 1px;
}

.hero h1 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.12;
    color: #fff;
    margin: 0 0 20px;
    text-wrap: pretty;
}

.hero p {
    font-size: clamp(15px, 1.6vw, 17px);
    line-height: 1.6;
    color: #D6D8EC;
    margin: 0 0 34px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-actions .btn-amber {
    padding: 15px 28px;
    font-size: 15px;
}

/* Stats */
.stats {
    background: var(--navy-stats);
}

.stats .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 8px;
    padding: 0 32px;
}

.stats .stat {
    padding: 32px 24px;
}

.stats .stat .num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(22px, 2.4vw, 28px);
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.stats .stat .num.amber {
    color: var(--amber);
}

.stats .stat .label {
    font-size: 13px;
    color: #9C9EC4;
    margin-top: 4px;
}

/* Section shells */
.section {
    padding: 96px 32px;
    max-width: 1280px;
    margin: 0 auto;
}

.section-alt {
    background: var(--surface-2);
    padding: 96px 0;
}

.section-alt > .container {
    padding: 0 32px;
    max-width: 1280px;
    margin: 0 auto;
}

.section-header {
    max-width: 600px;
    margin: 0 auto 56px;
    text-align: center;
}

/* Services */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--surface-1);
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 1px 2px rgba(18,18,46,0.04), 0 8px 24px rgba(18,18,46,0.06);
}

.service-card .icon {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: var(--navy-stats);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-card h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 19px;
    color: var(--navy-heading);
    margin: 0 0 10px;
}

.service-card p {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

/* Why choose us */
/* Card grids */
.card-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

/* Spec list (fleet / project detail) */
.spec-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 32px;
    max-width: 800px;
}

.spec-list li {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--text-body);
}

.spec-list li strong {
    color: var(--navy-heading);
}

/* Image galleries (fleet / project / gallery detail pages) */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.image-grid-item {
    border-radius: 12px;
    overflow: hidden;
    background: var(--surface-1);
    box-shadow: 0 1px 2px rgba(18,18,46,0.04), 0 8px 24px rgba(18,18,46,0.06);
}

.image-grid-item img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background: var(--navy-ink);
    display: block;
}

.image-grid-caption {
    padding: 12px 16px;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--text-secondary);
    margin: 0;
}

.gallery-group {
    margin-bottom: 56px;
}

.gallery-group:last-child {
    margin-bottom: 0;
}

.gallery-group-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
    color: var(--navy-heading);
    margin: 0 0 20px;
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    text-align: left;
}

.testimonial-card {
    background: var(--surface-1);
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 1px 2px rgba(18,18,46,0.04), 0 8px 24px rgba(18,18,46,0.06);
}

.testimonial-card .stars {
    color: var(--amber);
    font-size: 14px;
    margin-bottom: 14px;
}

.testimonial-card p {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--text-body);
    margin: 0 0 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.testimonial-author .avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--border);
}

.testimonial-author .name {
    font-weight: 700;
    font-size: 13.5px;
    color: var(--navy-heading);
}

/* Map */
.map-embed {
    height: 340px;
    border-radius: 14px;
    background: #E4E5F0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
}

.map-embed.small {
    height: 220px;
    background: var(--surface-2);
}

/* CTA */
.cta-banner {
    position: relative;
    overflow: hidden;
    background: var(--navy-stats);
}

.cta-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--cta-photo, none) right 30% / 55% auto no-repeat;
    opacity: 0.35;
}

.cta-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--navy-stats) 35%, rgba(18,19,74,0.55) 100%);
}

.cta-banner .container {
    position: relative;
    z-index: 1;
}

.cta-banner p {
    margin: 6px 0 0;
    font-size: 15px;
    color: #C7C9E4;
}

.cta-banner .container {
    padding: 48px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cta-banner h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(22px, 2.6vw, 28px);
    color: #fff;
    margin: 0;
}

.cta-banner .btn-amber {
    padding: 15px 30px;
    font-size: 15px;
}

/* Footer */
.site-footer {
    background: var(--navy-footer);
    padding: 64px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    grid-column: 1 / -1;
}

.footer-brand .brand-mark {
    height: 38px;
    width: auto;
}

.footer-brand .brand-wordmark {
    height: 16px;
    width: auto;
}

.footer-brand .sub {
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--footer-text);
}

.footer-tagline {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--footer-text);
    margin: 0 0 20px;
    max-width: 280px;
}

.social-row {
    display: flex;
    gap: 12px;
}

.social-row a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-heading {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 13.5px;
    color: #fff;
    margin-bottom: 18px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 13.5px;
    color: var(--footer-text);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 13.5px;
    color: var(--footer-text);
}

.footer-contact a,
.footer-contact .addr {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--footer-text);
    line-height: 1.6;
}

.footer-contact a:hover {
    color: #fff;
}

.footer-contact svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--amber);
}

.footer-bottom {
    max-width: 1280px;
    margin: 44px auto 0;
    padding: 20px 32px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    font-size: 12.5px;
    color: var(--footer-text-dim);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    font-size: 12.5px;
    color: var(--footer-text-dim);
}

.dummy-flag {
    color: var(--amber);
    font-weight: 700;
    font-size: 0.85em;
}

.not-found {
    padding: 4rem 1.5rem;
    text-align: center;
}

/* Page hero (About / Services / Fleet / Projects / Contact banners) */
.page-hero {
    position: relative;
    height: 320px;
    overflow: hidden;
    background: #2b3540 center/cover no-repeat;
}

.page-hero.short {
    height: 260px;
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(11,12,42,0.92) 0%, rgba(11,12,42,0.6) 60%, rgba(11,12,42,0.25) 100%);
    pointer-events: none;
}

.page-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    height: 100%;
    padding: 0 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-hero-inner .eyebrow {
    color: #F5C24D;
}

.page-hero-inner h1 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(28px, 4vw, 44px);
    color: #fff;
    margin: 0;
    text-wrap: balance;
}

/* Feature row (Services page: alternating image/text with checklist) */
.feature-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 56px;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 32px;
}

.feature-row.alt {
    background: var(--surface-2);
    max-width: none;
    padding: 80px 0;
}

.feature-row.alt > .feature-row-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 56px;
    align-items: center;
}

.feature-row-photo {
    width: 100%;
    height: 360px;
    border-radius: 16px;
    background: #C7CDD3 center/cover no-repeat;
}

.feature-row-photo.reverse {
    order: 1;
}

.feature-row-text.reverse {
    order: 2;
}

.feature-row-text .icon {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: var(--navy-stats);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-row-text h2 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(24px, 2.8vw, 30px);
    color: var(--navy-ink);
    margin: 0 0 16px;
}

.feature-row-text p {
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0 0 20px;
}

.feature-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-checklist li {
    display: flex;
    gap: 10px;
    font-size: 14.5px;
    color: var(--text-body);
}

.feature-checklist li svg {
    flex-shrink: 0;
}

/* Fleet listing card meta (capacity / boom) */
.fleet-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--text-muted);
}

.fleet-meta strong {
    color: var(--text-body);
}

/* Project card category eyebrow */
.project-eyebrow {
    color: var(--amber);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

@media (max-width: 700px) {
    .page-hero {
        height: 260px;
    }
    .feature-row,
    .feature-row.alt > .feature-row-inner {
        padding-top: 56px;
        padding-bottom: 56px;
        gap: 32px;
    }
}

/* Quote page split card (white form / navy info panel) */
.quote-page {
    background: var(--surface-2);
    padding: 64px 32px;
}

.quote-card {
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(18,18,46,0.04), 0 24px 48px rgba(18,18,46,0.12);
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    background: var(--surface-1);
}

.quote-card-form {
    padding: 48px 44px;
}

.quote-card-form .eyebrow {
    margin-bottom: 10px;
}

.quote-card-form h1 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 30px;
    color: var(--navy-ink);
    margin: 0 0 12px;
}

.quote-card-form .lede {
    font-size: 14.5px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 28px;
}

.quote-card-info {
    background: var(--navy-stats);
    color: #fff;
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.quote-card-info::after {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
}

.quote-card-info h2 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 22px;
    margin: 0 0 28px;
    position: relative;
}

.quote-info-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
    position: relative;
}

.quote-info-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.quote-info-item .icon-box {
    width: 40px;
    height: 40px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.quote-info-item .label {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 14px;
    color: #fff;
}

.quote-info-item div > div,
.quote-info-item div > a {
    font-size: 13.5px;
    color: #C7C9E4;
    line-height: 1.6;
}

.quote-info-item a:hover {
    color: #fff;
}

.quote-info-stats {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    gap: 32px;
    position: relative;
}

.quote-info-stats .num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 20px;
    color: #fff;
}

.quote-info-stats .label {
    font-size: 12px;
    color: #9496C0;
    margin-top: 2px;
}

@media (max-width: 820px) {
    .quote-card {
        grid-template-columns: 1fr;
    }
}

/* Contact / Quote form */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 56px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 28px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--navy-stats);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-item .label {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    color: var(--navy-heading);
    text-transform: uppercase;
}

.contact-info-item a,
.contact-info-item span {
    font-size: 14.5px;
    color: var(--text-body);
    line-height: 1.6;
}

.contact-form-wrap {
    max-width: 560px;
}

.contact-form-wrap.centered {
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 560px;
}

.form-row-2col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
}

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

.form-field label {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 13.5px;
    color: var(--navy-heading);
}

.form-field label .req {
    color: var(--amber);
}

.form-field input,
.form-field textarea {
    width: 100%;
    font-family: var(--font-body);
    font-size: 14.5px;
    color: var(--navy-ink);
    background: var(--surface-1);
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 12px 14px;
    transition: border-color 0.15s;
}

.form-field textarea {
    resize: vertical;
    min-height: 110px;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--amber);
}

.field-error {
    margin: 0;
    font-size: 12.5px;
    color: #C0392B;
    font-weight: 600;
}

.contact-form .btn {
    align-self: flex-start;
}

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

/* Responsive */
@media (max-width: 900px) {
    .site-nav,
    .header-actions {
        display: none;
    }
    .nav-toggle {
        display: flex;
    }
}

@media (max-width: 480px) {
    .cta-banner .container {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .spec-list {
        flex-direction: column;
        gap: 8px;
    }
}

/* Full-image photo frame (App\Core\Html::photo): the whole photo is always
   visible, never cropped; a blurred copy fills the frame behind it. */
.photo-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4; /* default; Html::photo() sets the real ratio inline */
    background: var(--navy-ink);
}

.photo-frame::before {
    content: "";
    position: absolute;
    inset: -24px;
    background: var(--photo, none) center / cover no-repeat;
    filter: blur(20px) brightness(0.55);
}

.photo-frame img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Photo shape is within ~10% of the frame: fill it (trims only a sliver). */
.photo-frame.is-fill img {
    object-fit: cover;
}

/* Project facts list (location / crane deployed) on detail pages */
.project-facts {
    margin: 0;
    padding: 14px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 16px;
    font-size: 13.5px;
    line-height: 1.45;
}

.project-facts dt {
    color: var(--text-muted);
    font-weight: 600;
}

.project-facts dd {
    margin: 0;
    color: var(--navy-heading);
    font-weight: 700;
}

/* Stand-in for a photo when a project has no photo of its own */
.crane-panel {
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 260px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 6px;
    background: linear-gradient(160deg, var(--navy-heading) 0%, var(--navy-footer) 100%);
    color: #fff;
}

.crane-panel .crane-mark {
    position: absolute;
    top: 18px;
    right: -14px;
    width: 72%;
    color: rgba(245, 162, 0, 0.18);
}

.crane-panel .label {
    position: relative;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--amber);
}

.crane-panel .value {
    position: relative;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    line-height: 1.25;
}

@media (max-width: 560px) {
    .crane-panel {
        min-height: 180px;
    }
}

/* Detail pages (service / project): text beside a full, uncropped photo */
.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 64px;
    align-items: start;
}

.detail-text {
    position: sticky;
    top: 110px;
}

.detail-text p {
    margin: 0 0 16px;
    font-size: 15.5px;
    line-height: 1.75;
    color: var(--text-secondary);
}

.detail-text p.lead {
    font-size: 19px;
    line-height: 1.6;
    font-weight: 600;
    color: var(--navy-heading);
}

.detail-text .project-facts {
    margin-bottom: 24px;
    font-size: 15px;
}

.detail-subhead {
    margin: 0 0 10px;
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 700;
    color: var(--navy-heading);
}

.detail-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 24px;
    margin-top: 28px;
}

.text-link {
    font-weight: 700;
    font-size: 14.5px;
    color: var(--navy-heading);
}

.text-link:hover {
    color: var(--amber);
}

.detail-media {
    display: grid;
    gap: 20px;
}

.detail-photo {
    width: 100%;
    max-width: 440px;
    justify-self: end;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(18,18,46,0.04), 0 12px 32px rgba(18,18,46,0.10);
}

.detail-photo .crane-panel {
    aspect-ratio: 3 / 4;
}

/* Internal link lists ("Other services" / "Other projects") */
.link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
}

.link-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    border-radius: 12px;
    background: var(--surface-1);
    border: 1px solid var(--border);
    font-weight: 700;
    font-size: 14.5px;
    color: var(--navy-heading);
    transition: border-color 0.15s, color 0.15s;
}

.link-card:hover {
    border-color: var(--amber);
    color: var(--amber);
}

/* Gallery: full, uncropped photos */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}

.gallery-item {
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    background: var(--surface-1);
    box-shadow: 0 1px 2px rgba(18,18,46,0.04), 0 8px 24px rgba(18,18,46,0.06);
}

.gallery-item figcaption {
    padding: 12px 16px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--navy-heading);
}

.not-found {
    padding: 120px 32px;
}

.not-found > p {
    max-width: 520px;
    margin: 12px auto 0;
    color: var(--text-secondary);
}

@media (max-width: 900px) {
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .detail-photo {
        justify-self: start;
    }
    .detail-text {
        position: static;
    }
}

/* Buttons with a trailing arrow */
.btn-arrow::after {
    content: "→";
    margin-left: 8px;
    display: inline-block;
    transition: transform 0.15s;
}

.btn-arrow:hover::after {
    transform: translateX(3px);
}

.header-actions .phone-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Rich page hero: lead text + trust badges (projects page) */
.page-hero.rich {
    height: auto;
    min-height: 420px;
}

.page-hero.rich .page-hero-inner {
    padding-top: 72px;
    padding-bottom: 72px;
}

.page-hero-lead {
    max-width: 560px;
    margin: 18px 0 0;
    font-size: 17px;
    line-height: 1.6;
    color: #D9DBEF;
}

.page-hero-badges {
    list-style: none;
    margin: 30px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 14px 32px;
}

.page-hero-badges li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14.5px;
    font-weight: 700;
    color: #fff;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Projects toolbar: industry chips + search */
.project-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    margin-bottom: 36px;
}

.project-toolbar[hidden] {
    display: none;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip {
    padding: 9px 18px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface-1);
    font: inherit;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--navy-heading);
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.chip:hover {
    border-color: var(--navy-heading);
}

.chip.is-active {
    background: var(--navy-heading);
    border-color: var(--navy-heading);
    color: #fff;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    width: 260px;
    max-width: 100%;
}

.search-box input {
    width: 100%;
    padding: 11px 40px 11px 16px;
    border-radius: 10px;
    border: 1px solid var(--border);
    font: inherit;
    font-size: 14px;
    color: var(--navy-ink);
    background: var(--surface-1);
}

.search-box input:focus {
    outline: 2px solid var(--amber);
    outline-offset: 1px;
}

.search-box svg {
    position: absolute;
    right: 14px;
    color: var(--text-muted);
    pointer-events: none;
}

/* Project tiles (3-up grid) */
.tile-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.project-tile {
    position: relative; /* contains the absolute .visually-hidden labels (else they escape scroll rows) */
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    background: var(--surface-1);
    box-shadow: 0 1px 2px rgba(18,18,46,0.04), 0 8px 24px rgba(18,18,46,0.07);
    transition: transform 0.2s, box-shadow 0.2s;
}

.project-tile[hidden] {
    display: none;
}

.project-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 2px 4px rgba(18,18,46,0.05), 0 16px 36px rgba(18,18,46,0.12);
}

.tile-media {
    position: relative;
    display: block;
}

.tile-panel .crane-panel {
    min-height: 0;
}

.tile-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    font-size: 12px;
    font-weight: 700;
    color: var(--navy-heading);
    box-shadow: 0 2px 8px rgba(18,18,46,0.15);
}

.tile-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 22px 24px 20px;
}

.tile-body h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 17.5px;
    font-weight: 700;
    line-height: 1.3;
}

.tile-body h2 a {
    color: var(--navy-heading);
}

.tile-body h2 a:hover {
    color: var(--amber);
}

.tile-meta {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 7px;
    font-size: 13.5px;
    color: var(--text-secondary);
}

.tile-meta li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
}

.tile-meta li.crane {
    font-weight: 700;
    color: var(--navy-heading);
}

.tile-meta svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--amber);
}

.tile-desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tile-foot {
    margin-top: auto;
    padding-top: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.round-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-2);
    color: var(--navy-heading);
    font-weight: 700;
    transition: background 0.15s, color 0.15s;
}

.project-tile:hover .round-arrow {
    background: var(--amber);
    color: var(--navy-ink);
}

.tile-empty {
    text-align: center;
    padding: 40px 0;
    color: var(--text-secondary);
}

/* Stats band (projects page) */
.stats-band {
    background: #EEF1FA;
}

.stats-band .container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 44px 32px;
}

.stats-band-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: var(--navy-heading);
}

.stats-band-item + .stats-band-item {
    border-left: 1px solid rgba(22, 22, 96, 0.12);
}

.stats-band-item .value {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;
}

.stats-band-item .label {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-secondary);
}

@media (max-width: 1024px) {
    .tile-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .stats-band .container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 28px;
    }
    .stats-band-item:nth-child(3) {
        border-left: 0;
    }
}

@media (max-width: 640px) {
    .tile-grid {
        grid-template-columns: 1fr;
    }
    .search-box {
        width: 100%;
    }
    .chip-row {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
    }
    .chip {
        white-space: nowrap;
    }
    .stats-band .container {
        grid-template-columns: 1fr;
    }
    .stats-band-item {
        justify-content: flex-start;
    }
    .stats-band-item + .stats-band-item {
        border-left: 0;
    }
}

/* Text pages (Privacy Policy, Terms) */
.prose {
    max-width: 760px;
}

.prose h2 {
    margin: 36px 0 12px;
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 700;
    color: var(--navy-heading);
}

.prose p {
    margin: 0 0 16px;
    font-size: 15.5px;
    line-height: 1.75;
    color: var(--text-body);
}

.prose .notice {
    padding: 20px 24px;
    border-radius: 12px;
    border-left: 4px solid var(--amber);
    background: var(--surface-2);
}

.prose .notice a {
    font-weight: 700;
}

.prose .updated {
    margin-top: 40px;
    font-size: 13.5px;
    color: var(--text-muted);
}

/* Section header with a description on the right (services page) */
.split-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px 48px;
    margin-bottom: 44px;
}

.split-header .section-title {
    margin: 0;
}

.split-header > p {
    max-width: 400px;
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-secondary);
}

/* Service tiles: 4 per row on a 12-column grid; a shorter last row
   (3, 2 or 1 tiles) widens to fill the row instead of leaving a gap. */
.service-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 24px;
}

.service-tile {
    grid-column: span 3;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    background: var(--surface-1);
    box-shadow: 0 1px 2px rgba(18,18,46,0.04), 0 8px 24px rgba(18,18,46,0.07);
    transition: transform 0.2s, box-shadow 0.2s;
}

@media (min-width: 1025px) {
    .service-tile:nth-child(4n+1):nth-last-child(3),
    .service-tile:nth-child(4n+1):nth-last-child(3) ~ .service-tile {
        grid-column: span 4;
    }

    .service-tile:nth-child(4n+1):nth-last-child(2),
    .service-tile:nth-child(4n+1):nth-last-child(2) ~ .service-tile {
        grid-column: span 6;
    }

    .service-tile:nth-child(4n+1):last-child {
        grid-column: span 12;
    }
}

.service-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 2px 4px rgba(18,18,46,0.05), 0 16px 36px rgba(18,18,46,0.12);
}

.service-tile:hover .round-arrow {
    background: var(--amber);
    color: var(--navy-ink);
}

.service-tile-media {
    position: relative;
    display: block;
}

.service-tile-media .photo-frame {
    max-height: 220px;
    width: 100%;
}

.service-tile-blank {
    height: 180px;
    background: linear-gradient(160deg, var(--navy-heading), var(--navy-footer));
}

.service-tile-icon {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    color: var(--navy-heading);
    box-shadow: 0 4px 12px rgba(18,18,46,0.18);
}

.service-tile-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 22px 24px 20px;
}

.service-tile-body h3 {
    margin: 0;
    padding-bottom: 12px;
    position: relative;
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
}

.service-tile-body h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 32px;
    height: 3px;
    border-radius: 2px;
    background: var(--amber);
}

.service-tile-body h3 a {
    color: var(--navy-heading);
}

.service-tile-body h3 a:hover {
    color: var(--amber);
}

.service-tile-body > p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
}

@media (max-width: 1024px) {
    .service-tile {
        grid-column: span 6;
    }
}

@media (max-width: 640px) {
    .service-tile {
        grid-column: span 12;
    }
}

/* Fleet page */
.fleet-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px 48px;
    margin-bottom: 36px;
}

.fleet-head .section-title {
    margin: 0 0 10px;
}

.fleet-head p:not(.eyebrow) {
    max-width: 460px;
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-secondary);
}

.fleet-tools {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}

.fleet-tools[hidden] {
    display: none;
}

.fleet-tools .search-box {
    width: 100%;
    max-width: 420px;
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    align-items: start;
}

.fleet-col {
    display: grid;
    gap: 28px;
}

.fleet-card {
    border-radius: 16px;
    overflow: hidden;
    background: var(--surface-1);
    box-shadow: 0 1px 2px rgba(18,18,46,0.04), 0 8px 24px rgba(18,18,46,0.07);
}

.fleet-card-head {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 26px;
    background: linear-gradient(120deg, var(--navy-footer), var(--navy-heading));
    color: #fff;
}

.fleet-card-icon {
    flex-shrink: 0;
}

.fleet-card-title {
    flex: 1;
    min-width: 0;
}

.fleet-card-title h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 700;
}

.fleet-card-title p {
    margin: 4px 0 0;
    font-size: 13px;
    color: #C7C9E4;
}

.fleet-card-count {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 12px;
    color: #C7C9E4;
}

.fleet-card-count .num {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
    color: var(--amber);
}

.fleet-rows {
    list-style: none;
    margin: 0;
    padding: 6px 18px;
}

.fleet-rows li + li {
    border-top: 1px solid var(--border);
}

.fleet-rows li[hidden] {
    display: none;
}

.fleet-rows a {
    position: relative; /* contains the .visually-hidden label */
    display: grid;
    grid-template-columns: 40px 150px 1fr 34px;
    align-items: center;
    gap: 16px;
    padding: 12px 8px;
    border-radius: 10px;
    color: var(--navy-heading);
    transition: background 0.15s;
}

.fleet-rows a:hover {
    background: var(--surface-2);
}

.fleet-rows a:hover .round-arrow {
    background: var(--amber);
    color: var(--navy-ink);
}

.fleet-rows .row-icon {
    color: var(--navy-heading);
}

.fleet-rows .cap {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 800;
    line-height: 1.2;
}

.fleet-rows .makes {
    padding-left: 16px;
    border-left: 2px solid var(--amber);
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-body);
}

.fleet-empty {
    margin: 0;
    padding: 20px 26px;
    font-size: 14px;
    color: var(--text-secondary);
}

.fleet-help {
    padding: 30px;
    border-radius: 16px;
    background: #EEF1FA;
    border: 1px solid rgba(22, 22, 96, 0.08);
}

.fleet-help h3 {
    margin: 0 0 8px;
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 700;
    color: var(--navy-heading);
}

.fleet-help p {
    margin: 0 0 20px;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.fleet-why {
    background: #EEF1FA;
}

.fleet-why .container {
    padding: 48px 32px;
}

.fleet-why-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 18px;
}

.fleet-why-grid > div {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 0 24px;
    color: var(--navy-heading);
}

.fleet-why-grid > div:first-child {
    padding-left: 0;
}

.fleet-why-grid > div + div {
    border-left: 1px solid rgba(22, 22, 96, 0.12);
}

.fleet-why-grid svg {
    flex-shrink: 0;
}

.fleet-why-grid h3 {
    margin: 0 0 4px;
    font-family: var(--font-display);
    font-size: 15.5px;
    font-weight: 700;
}

.fleet-why-grid p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--text-secondary);
}

@media (max-width: 1024px) {
    .fleet-grid {
        grid-template-columns: 1fr;
    }
    .fleet-tools {
        align-items: flex-start;
        width: 100%;
    }
    .fleet-why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 28px;
    }
    .fleet-why-grid > div:nth-child(3) {
        border-left: 0;
        padding-left: 0;
    }
}

@media (max-width: 640px) {
    .fleet-rows a {
        grid-template-columns: 30px 1fr 30px;
        gap: 4px 12px;
    }
    .fleet-rows .makes {
        grid-column: 2;
        grid-row: 2;
        padding-left: 0;
        border-left: 0;
        font-size: 13px;
    }
    .fleet-rows .round-arrow {
        grid-column: 3;
        grid-row: 1 / span 2;
    }
    .fleet-card-head {
        padding: 18px;
    }
    .fleet-why-grid {
        grid-template-columns: 1fr;
    }
    .fleet-why-grid > div,
    .fleet-why-grid > div + div {
        border-left: 0;
        padding: 0;
    }
}

/* About: story + proof points */
.story-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 56px;
    align-items: center;
}

.story-text {
    margin: 0 0 16px;
    font-size: 15.5px;
    line-height: 1.75;
    color: var(--text-secondary);
}

.story-grid .btn {
    margin-top: 12px;
}

.story-media {
    position: relative;
}

.story-photo {
    border-radius: 18px;
}

.story-badge {
    position: absolute;
    left: 0;
    bottom: 0;
    max-width: 240px;
    padding: 22px 26px;
    border-radius: 0 18px 0 18px;
    background: var(--navy-heading);
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    color: #fff;
}

.story-badge::before {
    content: "";
    display: block;
    width: 28px;
    height: 3px;
    margin-bottom: 12px;
    border-radius: 2px;
    background: var(--amber);
}

.proof-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 56px;
    padding: 30px 12px;
    border-radius: 16px;
    background: #EEF1FA;
}

.proof-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 24px;
    color: var(--navy-heading);
}

.proof-item + .proof-item {
    border-left: 1px solid rgba(22, 22, 96, 0.12);
}

.proof-item svg {
    flex-shrink: 0;
}

.proof-item .value {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 800;
    line-height: 1.1;
}

.proof-item .label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

/* About: values */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.value-card {
    padding: 28px 26px;
    border-radius: 16px;
    background: var(--surface-1);
    box-shadow: 0 1px 2px rgba(18,18,46,0.04), 0 8px 24px rgba(18,18,46,0.06);
    color: var(--navy-heading);
}

.value-card h3 {
    margin: 18px 0 8px;
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
}

.value-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* About: Key Management Personnel (photo beside profile) */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    align-items: start;
}

.team-card {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 24px;
    padding: 24px;
    border-radius: 16px;
    background: var(--surface-1);
    border: 1px solid var(--border);
}

.team-photo {
    aspect-ratio: 4 / 5;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(160deg, var(--navy-heading), var(--navy-footer));
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-initials {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--amber);
}

.team-card .name {
    margin: 0;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--navy-heading);
}

.team-card .designation {
    margin: 4px 0 14px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--amber);
}

.team-card .bio {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
}

@media (max-width: 1024px) {
    .story-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    .proof-strip,
    .values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 24px;
    }
    .proof-item:nth-child(3) {
        border-left: 0;
    }
}

@media (max-width: 640px) {
    .proof-strip,
    .values-grid {
        grid-template-columns: 1fr;
    }
    .proof-item + .proof-item {
        border-left: 0;
    }
    .team-card {
        grid-template-columns: 1fr;
    }
    .team-photo {
        max-width: 180px;
    }
}

/* ==========================================================================
   Phone layout (<= 640px). Kept together at the end so it overrides the
   desktop rules above. Goal: shorter pages — compact rows instead of
   full-width image cards, 2-up grids for small items, tighter spacing.
   Inline aspect-ratio from Html::photo() needs !important to override.
   ========================================================================== */
@media (max-width: 640px) {
    /* Spacing */
    .container,
    .section-alt > .container {
        padding: 0 20px;
    }
    .section {
        padding: 56px 20px;
    }
    .section-alt {
        padding: 56px 0;
    }
    .section-header {
        margin-bottom: 32px;
    }
    .section-title {
        font-size: 26px;
    }
    .page-hero-inner {
        padding: 0 20px;
    }
    .page-hero.rich .page-hero-inner {
        padding-top: 48px;
        padding-bottom: 48px;
    }
    .page-hero-badges {
        gap: 10px 20px;
    }

    /* Home: hero stats as a 2x2 grid */
    .stats .container {
        grid-template-columns: 1fr 1fr;
        gap: 0;
        padding: 8px 20px;
    }
    .stats .stat {
        padding: 18px 8px;
    }

    /* Service tiles: compact rows (thumbnail beside text) */
    .service-grid {
        gap: 14px;
    }
    .service-tile {
        flex-direction: row;
    }
    .service-tile-media {
        flex: 0 0 104px;
    }
    .service-tile-media .photo-frame,
    .service-tile-blank {
        aspect-ratio: auto !important;
        height: 100%;
        max-height: none;
        min-height: 120px;
    }
    .service-tile-icon {
        top: 8px;
        left: 8px;
        width: 34px;
        height: 34px;
        border-radius: 9px;
    }
    .service-tile-icon svg {
        width: 18px;
        height: 18px;
    }
    .service-tile-body {
        padding: 14px 16px;
        gap: 8px;
    }
    .service-tile-body h3 {
        font-size: 15.5px;
        padding-bottom: 8px;
    }
    .service-tile-body > p {
        font-size: 13.5px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .service-tile .round-arrow {
        display: none;
    }

    /* Project tiles: square photos (full photo is on the project page) */
    .tile-media .photo-frame,
    .tile-panel {
        aspect-ratio: 1 !important;
    }
    .tile-media .photo-frame img {
        object-fit: cover;
    }
    .tile-body {
        padding: 18px 20px 16px;
    }

    /* Home: recent projects as a swipeable row */
    .tile-grid.tile-carousel {
        display: flex;
        gap: 14px;
        margin: 0 -20px;
        padding: 4px 20px 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding: 0 20px;
        -webkit-overflow-scrolling: touch;
    }
    .tile-grid.tile-carousel {
        position: relative; /* offsetParent for carousel.js scroll maths */
        scrollbar-width: none;
    }
    .tile-grid.tile-carousel::-webkit-scrollbar {
        display: none;
    }
    .tile-grid.tile-carousel > .project-tile {
        flex: 0 0 86%;
        scroll-snap-align: start;
    }
    .tile-carousel .tile-media .photo-frame,
    .tile-carousel .tile-panel {
        aspect-ratio: 5 / 4 !important;
    }
    .tile-carousel .tile-body {
        gap: 10px;
    }

    /* Fleet: keep chips scrollable inside the screen, compact card header */
    .fleet-head > div,
    .fleet-tools {
        width: 100%;
        min-width: 0;
    }
    .fleet-tools {
        align-items: stretch;
    }
    .fleet-tools .chip-row {
        max-width: 100%;
    }
    .fleet-card-head {
        gap: 12px;
    }
    .fleet-card-icon {
        width: 36px;
        height: 36px;
    }
    .fleet-card-title h2 {
        font-size: 18px;
    }
    .fleet-card-title p {
        font-size: 12px;
    }
    .fleet-card-count .num {
        font-size: 24px;
    }
    .fleet-rows {
        padding: 4px 8px;
    }

    /* Footer: link columns side by side */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px 20px;
    }
    .footer-grid > div:first-child,
    .footer-grid > div:last-child {
        grid-column: 1 / -1;
    }
    .map-embed {
        height: 260px;
    }

    /* Projects page: compact rows (thumbnail beside details) — easier to
       scan a filtered list; the full photo is on each project page */
    .tile-grid.tile-list {
        gap: 14px;
    }
    .tile-list > .project-tile {
        flex-direction: row;
    }
    .tile-list .tile-media {
        flex: 0 0 108px;
    }
    .tile-list .tile-media .photo-frame,
    .tile-list .tile-panel {
        aspect-ratio: auto !important;
        height: 100%;
        min-height: 150px;
    }
    .tile-list .tile-panel .crane-panel {
        padding: 12px;
    }
    .tile-list .tile-panel .crane-panel .label,
    .tile-list .tile-panel .crane-panel .crane-mark {
        display: none;
    }
    .tile-list .tile-panel .crane-panel .value {
        font-size: 14px;
    }
    .tile-list .tile-badge {
        display: none;
    }
    .tile-list .tile-body {
        padding: 14px 16px;
        gap: 8px;
    }
    .tile-list .tile-body h2 {
        font-size: 15.5px;
    }
    .tile-list .tile-meta {
        font-size: 12.5px;
        gap: 4px;
    }
    .tile-list .tile-desc {
        font-size: 13px;
        -webkit-line-clamp: 2;
    }
    .tile-list .round-arrow {
        display: none;
    }

    /* Gallery: two photos per row */
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .gallery-item figcaption {
        padding: 8px 10px;
        font-size: 12px;
    }

    /* About: proof points 2x2 */
    .proof-strip {
        grid-template-columns: 1fr 1fr;
        gap: 20px 0;
        padding: 20px 4px;
        margin-top: 36px;
    }
    .proof-item {
        padding: 0 12px;
        gap: 10px;
    }
    .proof-item + .proof-item {
        border-left: 0;
    }
    .proof-item svg {
        width: 26px;
        height: 26px;
    }
    .proof-item .value {
        font-size: 20px;
    }
    .value-card {
        padding: 22px 20px;
    }
}

/* Home recent projects: desktop grid shows 3; phones swipe through up to 6 */
@media (min-width: 641px) {
    .tile-carousel > .project-tile:nth-child(n+4) {
        display: none;
    }
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
}

.carousel-dots[hidden] {
    display: none;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(22, 22, 96, 0.2);
    cursor: pointer;
    transition: width 0.25s, background 0.25s;
}

.carousel-dot.is-active {
    width: 24px;
    background: var(--amber);
}

@media (prefers-reduced-motion: reduce) {
    .carousel-dot {
        transition: none;
    }
}

/* Home: "Why choose us" — photo column matches the text column's height */
.why-layout {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 64px;
    align-items: stretch;
}

.why-media {
    position: relative;
    min-height: 440px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(18,18,46,0.05), 0 16px 40px rgba(18,18,46,0.12);
}

/* Decorative photo: fills the column (full project photos live elsewhere). */
.why-media .photo-frame {
    position: absolute;
    inset: 0;
    aspect-ratio: auto !important;
}

.why-media-badge {
    position: absolute;
    left: 24px;
    bottom: 24px;
    max-width: 230px;
    padding: 18px 20px;
    border-radius: 14px;
    background: var(--surface-1);
    border-left: 4px solid var(--amber);
    box-shadow: 0 8px 24px rgba(18,18,46,0.18);
}

.why-media-badge .value {
    display: block;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    color: var(--navy-heading);
}

.why-media-badge .label {
    display: block;
    margin-top: 2px;
    font-size: 13px;
    line-height: 1.45;
    color: var(--text-secondary);
}

.why-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.why-content .section-title {
    margin-bottom: 14px;
}

.why-intro {
    max-width: 560px;
    margin: 0 0 28px;
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.why-points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr; /* equal-height rows even when one point wraps */
    gap: 12px;
}

.why-points li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    border-radius: 12px;
    background: var(--surface-1);
    border: 1px solid var(--border);
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--navy-heading);
}

.why-check {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 162, 0, 0.14);
    color: var(--amber);
}

@media (max-width: 1024px) {
    .why-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .why-media {
        order: 2;
        min-height: 340px;
    }
}

/* Phone rules for this section live here (not in the phone block above)
   because this section's desktop rules are defined after that block. */
@media (max-width: 640px) {
    .why-layout {
        gap: 28px;
    }
    .why-media {
        min-height: 240px;
    }
    .why-points {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        gap: 10px;
    }
    .why-media-badge {
        left: 14px;
        bottom: 14px;
        padding: 14px 16px;
    }
}

/* Home: fleet teaser — photo-backed category cards with makes */
.fleet-teaser {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.fleet-teaser-card {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
    min-height: 400px;
    padding: 30px 32px;
    border-radius: 18px;
    overflow: hidden;
    color: #fff;
    background: var(--navy-footer);
    box-shadow: 0 2px 4px rgba(18,18,46,0.06), 0 16px 40px rgba(18,18,46,0.16);
    transition: transform 0.25s, box-shadow 0.25s;
}

.fleet-teaser-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: var(--teaser-photo, none) center / cover no-repeat;
    transition: transform 0.6s;
}

.fleet-teaser-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(10,10,46,0.55) 0%, rgba(10,10,46,0.78) 45%, rgba(10,10,46,0.96) 100%);
}

.fleet-teaser-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 8px rgba(18,18,46,0.08), 0 24px 52px rgba(18,18,46,0.24);
}

.fleet-teaser-card:hover::before {
    transform: scale(1.05);
}

.fleet-teaser-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.fleet-teaser-head .count {
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 13px;
    color: #E4E6F5;
    backdrop-filter: blur(6px);
}

.fleet-teaser-head .count strong {
    color: var(--amber);
}

.fleet-teaser-body h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
}

.fleet-teaser-body .range {
    display: block;
    margin-top: 6px;
    font-family: var(--font-display);
    font-size: clamp(34px, 4vw, 46px);
    font-weight: 800;
    line-height: 1.05;
    color: var(--amber);
}

.fleet-teaser-body .subtitle {
    display: block;
    margin-top: 10px;
    font-size: 14.5px;
    color: #D3D5EA;
}

.fleet-teaser-body .makes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.make-chip {
    padding: 5px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 12.5px;
    font-weight: 600;
    color: #fff;
}

.make-chip.more {
    background: transparent;
    color: #C7C9E4;
}

.fleet-teaser-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    padding: 11px 20px;
    border-radius: 10px;
    background: var(--amber);
    font-size: 14px;
    font-weight: 700;
    color: var(--navy-ink);
    transition: background 0.2s;
}

.fleet-teaser-card:hover .fleet-teaser-cta {
    background: var(--amber-hover);
}

@media (prefers-reduced-motion: reduce) {
    .fleet-teaser-card,
    .fleet-teaser-card::before {
        transition: none;
    }
    .fleet-teaser-card:hover,
    .fleet-teaser-card:hover::before {
        transform: none;
    }
}

/* Phone rules for this section (kept after its desktop rules on purpose). */
@media (max-width: 640px) {
    .fleet-teaser {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .fleet-teaser-card {
        min-height: 0;
        gap: 28px;
        padding: 22px 20px;
    }
    .fleet-teaser-head svg {
        width: 36px;
        height: 36px;
    }
    .fleet-teaser-body h3 {
        font-size: 20px;
    }
}

/* About: Vision & Mission */
.vm-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
    align-items: stretch;
}

.vm-card {
    padding: 36px;
    border-radius: 18px;
    background: var(--surface-1);
    box-shadow: 0 1px 2px rgba(18,18,46,0.04), 0 8px 24px rgba(18,18,46,0.06);
}

.vm-vision {
    background: linear-gradient(140deg, var(--navy-heading), var(--navy-footer));
    color: #fff;
}

.vm-vision .eyebrow {
    color: #fff;
    font-family: var(--font-display);
    font-size: clamp(20px, 2vw, 26px);
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.vm-vision-text {
    margin: 0;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
    text-align: justify;
}

.vm-mission {
    list-style: none;
    counter-reset: mission;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 16px;
}

.vm-mission li {
    counter-increment: mission;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-body);
}

.vm-mission li::before {
    content: counter(mission, decimal-leading-zero);
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 162, 0, 0.14);
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 800;
    color: var(--amber);
}

/* About: business verticals */
.vertical-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.vertical-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 30px;
    border-radius: 18px;
    background: var(--surface-1);
    border: 1px solid var(--border);
}

.vertical-card.is-primary {
    border-color: rgba(245, 162, 0, 0.55);
    box-shadow: 0 8px 28px rgba(245, 162, 0, 0.12);
}

.vertical-num {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--amber);
}

.vertical-card h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--navy-heading);
}

.vertical-card > p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.vertical-highlights {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.vertical-highlights li {
    padding: 6px 12px;
    border-radius: 8px;
    background: var(--surface-2);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--navy-heading);
}

.vertical-card .text-link {
    margin-top: auto;
    padding-top: 6px;
}

/* Clients strip (Home + About) */
.clients-strip {
    background: var(--surface-1);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.clients-strip .container {
    padding-top: 36px;
    padding-bottom: 36px;
    text-align: center;
}

.clients-strip-title {
    margin: 0 0 18px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.clients-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 40px;
}

.clients-list li {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #9A9CB8;
    transition: color 0.2s;
}

.clients-list li:hover {
    color: var(--navy-heading);
}

.clients-strip-note {
    margin: 16px 0 0;
    font-size: 13px;
    color: var(--text-muted);
}

@media (max-width: 1024px) {
    .vm-grid,
    .vertical-grid {
        grid-template-columns: 1fr;
    }
}

/* Phone rules for these sections (kept after their desktop rules on purpose). */
@media (max-width: 640px) {
    .vm-card {
        padding: 24px 22px;
    }
    .vertical-card {
        padding: 22px 20px;
    }
    .vertical-card h3 {
        font-size: 18px;
    }
    .clients-strip .container {
        padding-top: 28px;
        padding-bottom: 28px;
    }
    .clients-list {
        gap: 10px 22px;
    }
    .clients-list li {
        font-size: 16px;
    }
}
