/* ============================================================================
   Managed Charter — public marketing site
   Modern transportation-company design system.
   Palette: deep navy + brass-gold + clean whites with warm cream accents.
   Typography: Space Grotesk (display, modern technical) + Inter (body).
   ============================================================================ */

:root {
    /* Backgrounds */
    --bg:             #ffffff;
    --bg-warm:        #FAF7F1;          /* warm wash, subtle */
    --bg-deep:        #0C1B33;
    --bg-deep-2:      #122444;
    --bg-deep-3:      #091529;

    /* Ink */
    --ink:            #0C1424;
    --ink-soft:       #3B4659;
    --ink-mute:       #6B7384;
    --ink-light:      #98a3bd;

    /* Lines */
    --line:           #E6E8EE;
    --line-soft:      #F1F2F6;
    --line-deep:      #1F3050;

    /* Accents */
    --gold:           #C7A04F;
    --gold-deep:      #A87E2A;
    --gold-soft:      #F0DDA8;
    --gold-pale:      #FAF1D8;

    /* Primary */
    --primary:        #0F2542;
    --primary-2:      #1B3A6B;
    --primary-deep:   #091A33;

    /* Functional */
    --success:        #1F6B4A;

    --shadow-card:    0 1px 0 rgba(15,37,66,.04), 0 12px 28px -16px rgba(15,37,66,.18);
    --shadow-pop:     0 2px 0 rgba(15,37,66,.05), 0 24px 40px -16px rgba(15,37,66,.28);
    --radius:         8px;
    --radius-lg:      14px;
    --radius-xl:      20px;
}

/* -------------------------------------------------------------------- Reset */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 16px/1.6 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'ss01' on, 'cv11' on;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration: none; transition: color .15s; }
a:hover { color: var(--primary-deep); }
::selection { background: var(--gold-soft); color: var(--ink); }

/* ---------------------------------------------------------- Typography */
/* Modern transport-tech display: Space Grotesk for headlines */
h1, h2, h3, h4 {
    font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -.025em;
    color: var(--ink);
    margin: 0 0 .5em;
}
h1 {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 600;
    letter-spacing: -.035em;
    line-height: 1.02;
}
h2 {
    font-size: clamp(1.85rem, 3.4vw, 2.6rem);
    font-weight: 600;
    letter-spacing: -.025em;
}
h3 { font-size: 1.22rem; font-weight: 600; letter-spacing: -.018em; }
h4 {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--ink-mute);
    margin: 0 0 14px;
}
.muted       { color: var(--ink-mute); }
.muted-soft  { color: var(--ink-soft); }
.gold        { color: var(--gold-deep); }
.small       { font-size: 12.5px; }
p { margin: 0 0 1em; max-width: 64ch; }
strong { font-weight: 600; }

/* Subtle italic accent (used sparingly for emphasis in headlines) */
h1 em, h2 em, h3 em { font-style: italic; color: var(--gold-deep); font-weight: 500; }

/* ----------------------------------------------------------- Layout */
.pub-container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.pub-container-narrow { max-width: 840px; margin: 0 auto; padding: 0 32px; }

.pub-section { padding: 96px 0; position: relative; }
.pub-section.tight { padding: 64px 0; }
.pub-section.dark  {
    background: var(--bg-deep);
    color: #DCE4F4;
    position: relative;
}
.pub-section.dark::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    opacity: .5;
}
.pub-section.dark h1, .pub-section.dark h2, .pub-section.dark h3 { color: #fff; }
.pub-section.dark a { color: var(--gold-soft); }
.pub-section.warm  { background: var(--bg-warm); }
.pub-section.warm + .pub-section.warm { padding-top: 0; }

/* Section eyebrow: dot + small caps label */
.pub-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--gold-deep);
    font-family: 'Inter', sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .18em;
}
.pub-eyebrow::before {
    content: '';
    width: 26px; height: 1.5px;
    background: var(--gold-deep);
    display: inline-block;
}
.pub-section.dark .pub-eyebrow { color: var(--gold); }
.pub-section.dark .pub-eyebrow::before { background: var(--gold); }

/* Lead paragraph (subdued, sans-serif) */
.pub-lead {
    font-size: clamp(1.12rem, 1.7vw, 1.3rem);
    line-height: 1.55;
    color: var(--ink-soft);
    max-width: 68ch;
    font-weight: 400;
    letter-spacing: -.003em;
}

/* =================================================== TOP BAR */
.pub-top {
    position: sticky; top: 0; z-index: 30;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: saturate(140%) blur(12px);
    -webkit-backdrop-filter: saturate(140%) blur(12px);
    border-bottom: 1px solid var(--line);
}
.pub-top-bar {
    display: flex; align-items: center; gap: 28px;
    height: 76px;
}
.pub-brand {
    display: inline-flex; align-items: center; gap: 11px;
    text-decoration: none;
    color: var(--ink);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 17.5px;
    letter-spacing: -.022em;
    white-space: nowrap;
}
.pub-brand-mark {
    width: 36px; height: 36px;
    display: inline-block;
    flex-shrink: 0;
    transition: transform .25s cubic-bezier(.2,.7,.2,1);
    filter: drop-shadow(0 1px 2px rgba(15,37,66,.16));
}
.pub-brand:hover .pub-brand-mark { transform: translateY(-1px); }
.pub-brand-mark svg { display: block; width: 100%; height: 100%; }
.pub-brand-text {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}
.pub-brand-rule {
    display: inline-block;
    width: 14px; height: 1.5px;
    background: var(--gold-deep);
    border-radius: 1.5px;
    transition: width .25s cubic-bezier(.2,.7,.2,1);
    flex-shrink: 0;
}
.pub-brand:hover .pub-brand-rule { width: 22px; }
/* Legacy fallback in case an old cached page still renders the dot */
.pub-brand-dot { display: none; }

.pub-nav { margin-left: 34px; display: flex; gap: 28px; flex: 1; }
.pub-nav a {
    color: var(--ink);
    font-size: 14px;
    font-weight: 500;
    padding: 4px 0;
    position: relative;
    transition: color .12s;
}
.pub-nav a::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -4px;
    height: 2px;
    background: var(--gold-deep);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
}
.pub-nav a:hover { color: var(--primary); }
.pub-nav a:hover::after { transform: scaleX(1); }

.pub-top-cta { margin-left: auto; }

/* ----- Refined mobile hamburger button (icon-button style) ----- */
.pub-menu-toggle {
    display: none;
    width: 42px; height: 42px;
    margin-left: auto;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--ink);
    cursor: pointer;
    align-items: center; justify-content: center;
    transition: all .15s ease;
    -webkit-tap-highlight-color: transparent;
}
.pub-menu-toggle:hover {
    background: var(--bg-warm);
    color: var(--primary);
    border-color: var(--ink-mute);
}
.pub-menu-toggle:active { transform: scale(.96); }
.pub-menu-bars {
    width: 18px;
    height: 12px;
    position: relative;
    display: block;
}
.pub-menu-bars span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1.8px;
    background: currentColor;
    border-radius: 2px;
}
.pub-menu-bars span:nth-child(1) { top: 0; }
.pub-menu-bars span:nth-child(2) { top: 50%; transform: translateY(-50%); width: 70%; }
.pub-menu-bars span:nth-child(3) { bottom: 0; }

/* =================================================== MOBILE MENU */
.pub-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 50;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0s linear .4s;
}
.pub-mobile-menu.open {
    visibility: visible;
    pointer-events: auto;
    transition: visibility 0s linear 0s;
}
.pub-mobile-menu-backdrop {
    position: absolute; inset: 0;
    background: rgba(12, 20, 36, 0);
    transition: background .35s ease;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
}
.pub-mobile-menu.open .pub-mobile-menu-backdrop {
    background: rgba(12, 20, 36, .58);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}
.pub-mobile-menu-panel {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 88%;
    max-width: 400px;
    background: var(--bg);
    transform: translateX(100%);
    transition: transform .4s cubic-bezier(.32, 0, .25, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -24px 0 60px -10px rgba(12, 20, 36, .22);
    overflow: hidden;
}
.pub-mobile-menu.open .pub-mobile-menu-panel { transform: translateX(0); }

.pub-mobile-menu-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    border-bottom: 1px solid var(--line);
    flex-shrink: 0;
}
.pub-mobile-menu-head .pub-brand { font-size: 16px; }

.pub-mobile-close {
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 9px;
    width: 38px; height: 38px;
    display: grid; place-items: center;
    color: var(--ink);
    cursor: pointer;
    transition: all .15s ease;
    -webkit-tap-highlight-color: transparent;
}
.pub-mobile-close:hover {
    background: var(--bg-warm);
    color: var(--primary);
    border-color: var(--ink-mute);
}
.pub-mobile-close:active { transform: scale(.95); }

.pub-mobile-nav {
    flex: 1;
    padding: 24px 24px 40px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.pub-mobile-eyebrow {
    display: block;
    color: var(--gold-deep);
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .16em;
    margin: 28px 0 8px;
    padding-top: 14px;
    border-top: 1px solid var(--line-soft);
}
.pub-mobile-eyebrow:first-child {
    margin-top: 4px;
    padding-top: 0;
    border-top: none;
}
.pub-mobile-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 0;
    color: var(--ink);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: -.022em;
    line-height: 1.3;
    transition: padding-left .15s ease, color .15s ease;
    -webkit-tap-highlight-color: transparent;
}
.pub-mobile-nav a:hover,
.pub-mobile-nav a:active {
    color: var(--primary);
    padding-left: 4px;
}
.pub-mobile-arrow {
    color: var(--ink-light);
    font-size: 16px;
    opacity: .55;
    font-weight: 400;
    transition: transform .2s ease, opacity .15s;
}
.pub-mobile-nav a:hover .pub-mobile-arrow,
.pub-mobile-nav a:active .pub-mobile-arrow {
    color: var(--gold-deep);
    opacity: 1;
    transform: translateX(3px);
}

.pub-mobile-foot {
    padding: 20px 24px 28px;
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, var(--bg-warm) 0%, var(--bg) 100%);
    flex-shrink: 0;
}
.pub-btn-full { width: 100%; justify-content: center; }
.pub-mobile-contact {
    margin: 18px 0 0;
    text-align: center;
}
.pub-mobile-contact a {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    color: var(--primary);
    font-weight: 700;
    font-size: 17px;
    letter-spacing: -.02em;
    margin-bottom: 4px;
}
.pub-mobile-contact span {
    display: block;
    font-size: 11.5px;
    color: var(--ink-mute);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 600;
}

/* =================================================== BUTTONS */
.pub-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 22px;
    border-radius: var(--radius);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -.01em;
    border: 1.5px solid var(--ink);
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    transition: all .15s ease;
    text-decoration: none;
    line-height: 1.2;
}
.pub-btn::after { content: '→'; transition: transform .2s ease; }
.pub-btn:hover::after { transform: translateX(3px); }
.pub-btn:hover { background: var(--ink); color: #fff; }

.pub-btn-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 3px 0 var(--primary-deep), 0 14px 30px -10px rgba(15, 37, 66, .35);
}
.pub-btn-primary:hover {
    background: var(--primary-2);
    border-color: var(--primary-2);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 0 var(--primary-deep), 0 18px 36px -10px rgba(15, 37, 66, .45);
}
.pub-btn-primary:active { transform: translateY(1px); box-shadow: 0 1px 0 var(--primary-deep); }

.pub-btn-ghost {
    border-color: rgba(255,255,255,.35);
    color: #fff;
    background: rgba(255,255,255,.04);
}
.pub-btn-ghost:hover {
    background: rgba(255,255,255,.12);
    color: #fff;
    border-color: rgba(255,255,255,.5);
}

.pub-btn-gold {
    background: var(--gold);
    color: var(--primary-deep);
    border-color: var(--gold);
}
.pub-btn-gold:hover {
    background: var(--gold-deep);
    border-color: var(--gold-deep);
    color: #fff;
}

/* =================================================== CRUMBS */
.pub-crumbs {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 8px;
    padding: 28px 32px 8px;
    font-size: 12.5px;
    color: var(--ink-mute);
    text-align: center;
    letter-spacing: -.005em;
}
.pub-crumbs a {
    color: var(--ink-mute);
    padding: 3px 8px;
    border-radius: 6px;
    transition: all .15s ease;
    text-decoration: none;
    font-weight: 500;
}
.pub-crumbs a:hover {
    color: var(--gold-deep);
    background: var(--bg-warm);
}
.pub-crumbs-sep {
    color: var(--line);
    font-size: 13px;
    opacity: .8;
    user-select: none;
}
.pub-crumbs-cur {
    color: var(--ink);
    font-weight: 600;
    padding: 3px 8px;
}
@media (max-width: 720px) {
    .pub-crumbs {
        padding: 22px 20px 10px;
        font-size: 11.5px;
        gap: 2px 4px;
    }
    .pub-crumbs a,
    .pub-crumbs-cur { padding: 2px 6px; }
}

/* When crumbs appear above hero, trim hero top padding further on mobile
   so the breadcrumbs + hero stack stays compact. */
@media (max-width: 720px) {
    .pub-crumbs + .pub-main section.pub-hero {
        padding-top: 20px !important;
    }
}

/* =================================================== HERO */
.pub-hero {
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
    background:
      radial-gradient(ellipse 60% 50% at 88% 0%, rgba(199, 160, 79, .14) 0%, transparent 60%),
      radial-gradient(ellipse 55% 50% at 0% 100%, rgba(15, 37, 66, .06) 0%, transparent 60%),
      var(--bg);
    border-bottom: 1px solid var(--line);
}
.pub-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 64px;
    align-items: stretch;  /* stretch so photo column matches left content height */
}
.pub-hero h1 { max-width: 16ch; }
.pub-hero-sub {
    font-size: clamp(1.1rem, 1.6vw, 1.25rem);
    line-height: 1.55;
    color: var(--ink-soft);
    margin-top: 22px;
    max-width: 54ch;
}
.pub-hero-cta {
    margin-top: 36px;
    display: flex; gap: 12px; flex-wrap: wrap;
}

/* Hero photo container — stretches to full height of left text column */
.pub-hero-photo {
    position: relative;
    width: 100%;
    min-height: 380px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-pop);
}
.pub-hero-photo > .pub-photo {
    height: 100%;
    aspect-ratio: auto;
}

/* Hero modifier — center text and constrain to narrow width
   (used on pages where the content below is also narrow for visual alignment) */
.pub-hero-centered { text-align: center; }
.pub-hero-centered .pub-eyebrow { justify-content: center; }
.pub-hero-centered h1,
.pub-hero-centered .pub-hero-sub {
    margin-left: auto;
    margin-right: auto;
}
.pub-hero-centered .pub-hero-cta { justify-content: center; }
.pub-hero-centered .pub-container,
.pub-hero-centered .pub-container-narrow {
    max-width: 820px;
}

/* =========================== PHOTO PLACEHOLDER (universal) =========== */
.pub-photo {
    position: relative;
    background:
      linear-gradient(135deg, var(--bg-deep) 0%, var(--bg-deep-2) 100%);
    color: rgba(255, 255, 255, .35);
    overflow: hidden;
    isolation: isolate;
}
.pub-photo::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(45deg,
        transparent 25%, rgba(255,255,255,.02) 25%, rgba(255,255,255,.02) 50%,
        transparent 50%, transparent 75%, rgba(255,255,255,.02) 75%);
    background-size: 14px 14px;
    z-index: 0;
}
.pub-photo::after {
    /* dashed gold corner ribbon for placeholder feel */
    content: '';
    position: absolute;
    top: 14px; right: 14px; bottom: 14px; left: 14px;
    border: 1px dashed rgba(199, 160, 79, .35);
    border-radius: calc(var(--radius-xl) - 8px);
    z-index: 1;
    pointer-events: none;
}
.pub-photo-label {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    z-index: 2;
    text-align: center;
    padding: 24px;
}
.pub-photo-label span {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,.58);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.pub-photo-label svg { opacity: .35; }
.pub-photo[data-photo]::before { background-image: none; }
.pub-photo[data-photo]::after  { display: none; }
.pub-photo > img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: 0;
}

/* When a real photo is later added, drop in <img> as first child and the
   placeholder treatment disappears via the [data-photo] attribute. */

/* Photo size variants */
.pub-photo-tall   { aspect-ratio: 4/5; }
.pub-photo-wide   { aspect-ratio: 16/9; }
.pub-photo-square { aspect-ratio: 1/1; }
.pub-photo-hero   { aspect-ratio: 5/4; }

/* Stat strip */
.pub-stats {
    margin-top: 64px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 28px 0;
}
.pub-stat {
    border-right: 1px solid var(--line);
    padding: 0 28px;
}
.pub-stat:first-child { padding-left: 0; }
.pub-stat:last-child { border-right: none; padding-right: 0; }
.pub-stat-num {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: clamp(2rem, 2.8vw, 2.6rem);
    line-height: 1;
    color: var(--ink);
    letter-spacing: -.035em;
}
.pub-stat-num em {
    font-style: italic;
    color: var(--gold-deep);
    font-weight: 500;
}
.pub-stat-label {
    margin-top: 10px;
    color: var(--ink-mute);
    font-size: 11.5px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: .12em;
}

/* =================================================== CARDS */
/* Grids declare desktop column count via inline style="--cols: N;"
   so layouts never leave orphan items in lopsided rows. At mid widths
   we collapse to 2 cols; an odd-count grid's last card spans both
   columns so it reads as an intentional feature card. */
.pub-grid {
    display: grid;
    grid-template-columns: repeat(var(--cols, 3), 1fr);
    gap: 18px;
    margin-top: 36px;
}

.pub-card {
    position: relative;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 30px 28px 26px;
    color: var(--ink);
    text-decoration: none;
    display: block;
    transition: all .22s ease;
    overflow: hidden;
}
.pub-card::after {
    content: '→';
    position: absolute;
    right: 28px; bottom: 24px;
    color: var(--gold-deep);
    font-size: 20px;
    transition: transform .2s ease;
}
.pub-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: var(--shadow-card);
}
.pub-card:hover::after { transform: translateX(4px); }
.pub-card h3 {
    margin: 0 0 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 19px;
    line-height: 1.2;
    color: var(--ink);
    padding-right: 28px;
}
.pub-card p { margin: 0; color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; }

/* Numbered card: data-num shows 01, 02, ... */
.pub-card-numbered { padding-top: 76px; }
.pub-card-numbered::before {
    content: attr(data-num);
    position: absolute;
    top: 26px; left: 28px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 26px;
    color: var(--gold-deep);
    line-height: 1;
    letter-spacing: -.02em;
}
.pub-card-numbered::after {
    bottom: auto; top: 30px; right: 28px;
    color: var(--gold-deep);
    opacity: .55;
}

/* Filled card variant (used on dark sections) */
.pub-card-filled {
    background: rgba(255,255,255,.04);
    border-color: rgba(255,255,255,.14);
    color: #fff;
}
.pub-card-filled h3 { color: #fff; }
.pub-card-filled p  { color: #c8d3e6; }
.pub-card-filled:hover {
    background: rgba(255,255,255,.08);
    border-color: var(--gold);
}

/* =================================================== FLEET CARDS */
.pub-fleet-grid {
    display: grid;
    grid-template-columns: repeat(var(--cols, 3), 1fr);
    gap: 22px;
    margin-top: 36px;
}
.pub-fleet-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all .22s ease;
    position: relative;
}
.pub-fleet-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: var(--shadow-card);
}
.pub-fleet-card .pub-photo {
    aspect-ratio: 4/3;
    border-radius: 0;
}
.pub-fleet-card .pub-photo::after { border-radius: 0; inset: 14px; }
.pub-fleet-body {
    padding: 24px 26px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.pub-fleet-card h3 {
    margin: 0 0 6px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    line-height: 1.2;
}
.pub-fleet-card p {
    margin: 0 0 14px;
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.55;
}
.pub-fleet-spec {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: var(--ink-mute);
    padding: 6px 0;
    border-top: 1px solid var(--line-soft);
}
.pub-fleet-spec strong {
    color: var(--ink);
    font-weight: 600;
    margin-right: auto;
}
.pub-fleet-tag {
    margin-top: 14px;
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    background: var(--gold-pale);
    color: var(--gold-deep);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

/* =================================================== KV LIST */
.pub-list { margin-top: 28px; border-top: 1px solid var(--line); }
.pub-list-item {
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 32px;
    align-items: start;
}
.pub-list-item dt {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: var(--primary);
    font-size: 14px;
}
.pub-list-item dd { margin: 0; color: var(--ink-soft); font-size: 15.5px; line-height: 1.6; }
@media (max-width: 720px) {
    .pub-list-item { grid-template-columns: 1fr; gap: 6px; }
}

/* =================================================== BULLETS */
.pub-bullets {
    display: grid;
    grid-template-columns: repeat(var(--cols, 3), 1fr);
    gap: 14px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}
.pub-bullets li {
    padding: 22px 22px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 14.5px;
    color: var(--ink-soft);
    transition: border-color .15s, transform .15s, box-shadow .15s;
}
.pub-bullets li:hover {
    border-color: var(--ink-mute);
    transform: translateY(-1px);
    box-shadow: var(--shadow-card);
}
.pub-bullets li strong {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.pub-bullets li strong::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--gold-deep);
    flex-shrink: 0;
}

/* =================================================== PULL QUOTE */
.pub-quote {
    font-family: 'Space Grotesk', sans-serif;
    font-style: italic;
    font-size: clamp(1.3rem, 2.1vw, 1.7rem);
    line-height: 1.35;
    color: var(--ink);
    max-width: 38ch;
    padding: 0;
    margin: 32px 0;
    letter-spacing: -.015em;
    font-weight: 500;
}
.pub-quote::before {
    content: '';
    display: block;
    width: 48px; height: 2px;
    background: var(--gold-deep);
    margin-bottom: 22px;
}

/* =================================================== CTA BLOCK */
.pub-cta-block {
    margin: 64px 0 0;
    padding: 42px 46px 40px;
    background: var(--bg-deep);
    color: #fff;
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}
.pub-cta-block::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 60%; height: 200%;
    background: radial-gradient(ellipse at center, rgba(199, 160, 79, .15) 0%, transparent 60%);
    pointer-events: none;
}
.pub-cta-block h2 { color: #fff; margin: 0 0 .25em; font-size: 1.5rem; max-width: 24ch; }
.pub-cta-block p  { color: #c8d3e6; margin: 0; max-width: 52ch; font-size: 15px; }

/* =================================================== COMPARISON */
.pub-vs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    margin-top: 36px;
    background: var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
}
.pub-vs-col { background: var(--bg); padding: 36px 32px; }
.pub-vs-col.us {
    background: var(--bg-deep);
    color: #fff;
    position: relative;
}
.pub-vs-col.us::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 4px;
    background: var(--gold);
}
.pub-vs-head {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}
.pub-vs-col.us .pub-vs-head { border-bottom-color: rgba(255,255,255,.14); }
.pub-vs-head h3 {
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -.025em;
}
.pub-vs-col.us .pub-vs-head h3 { color: #fff; }
.pub-vs-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
}
.pub-vs-tag.them { background: var(--line-soft); color: var(--ink-mute); }
.pub-vs-tag.us   { background: var(--gold); color: var(--primary-deep); }
.pub-vs-row {
    padding: 18px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--ink-soft);
}
.pub-vs-col.us .pub-vs-row {
    color: #d8e0f0;
    border-bottom-color: rgba(255,255,255,.08);
}
.pub-vs-row:last-child { border-bottom: 0; }
.pub-vs-row strong {
    display: block;
    color: var(--ink);
    margin-bottom: 4px;
    font-weight: 600;
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.pub-vs-col.us .pub-vs-row strong { color: #fff; }

/* =================================================== STEPS */
.pub-steps {
    counter-reset: step;
    list-style: none;
    padding: 0;
    margin: 40px 0 0;
    border-top: 1px solid var(--line);
}
.pub-steps li {
    counter-increment: step;
    border-bottom: 1px solid var(--line);
    padding: 28px 0 28px 100px;
    position: relative;
    transition: background .2s;
}
.pub-steps li:hover { background: var(--bg-warm); }
.pub-steps li::before {
    content: counter(step, decimal-leading-zero);
    position: absolute;
    left: 0; top: 32px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 32px;
    color: var(--gold-deep);
    line-height: 1;
    letter-spacing: -.03em;
    width: 80px;
}
.pub-steps li h3 {
    margin: 0 0 6px;
    font-size: 18px;
    color: var(--ink);
}
.pub-steps li p { margin: 0; color: var(--ink-soft); font-size: 15px; }

/* =================================================== FACTS TABLE */
.pub-facts {
    width: 100%;
    border-collapse: collapse;
    margin-top: 32px;
    font-size: 14.5px;
    background: var(--bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    overflow: hidden;
}
.pub-facts tr { border-bottom: 1px solid var(--line-soft); }
.pub-facts tr:last-child { border-bottom: none; }
.pub-facts th, .pub-facts td { padding: 16px 22px; text-align: left; vertical-align: top; }
.pub-facts th {
    width: 36%;
    color: var(--ink-mute);
    font-weight: 600;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: .1em;
    background: var(--bg-warm);
    border-right: 1px solid var(--line-soft);
}
.pub-facts td { color: var(--ink); font-weight: 500; }

/* =================================================== FORM */
.pub-form {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 34px;
    max-width: 640px;
    box-shadow: var(--shadow-card);
}
.pub-form label {
    display: block;
    margin-bottom: 18px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
}
.pub-form label small {
    font-weight: 400;
    color: var(--ink-mute);
    margin-left: 6px;
    text-transform: none;
    letter-spacing: 0;
}
.pub-form input[type=text],
.pub-form input[type=email],
.pub-form input[type=tel],
.pub-form textarea {
    display: block;
    width: 100%;
    padding: 12px 14px;
    margin-top: 6px;
    font: inherit;
    font-size: 14.5px;
    color: var(--ink);
    background: var(--bg-warm);
    border: 1.5px solid var(--line);
    border-radius: 8px;
    transition: all .15s;
}
.pub-form input:focus, .pub-form textarea:focus {
    outline: none;
    border-color: var(--gold-deep);
    background: #fff;
    box-shadow: 0 0 0 4px var(--gold-pale);
}
.pub-form textarea { min-height: 140px; resize: vertical; line-height: 1.55; }

/* =================================================== FLASH */
.flash-stack { max-width: 700px; margin: 0 auto; }
.flash {
    background: #fff;
    border: 1px solid var(--line);
    border-left: 3px solid var(--primary);
    padding: 14px 18px;
    margin: 24px 32px 0;
    border-radius: 8px;
    font-size: 14px;
}
.flash.error   { border-left-color: #B3261E; color: #5A1612; }
.flash.success { border-left-color: var(--success); color: #1d4a30; }

/* =================================================== FOOTER */
.pub-foot {
    background: var(--bg-deep);
    color: #98a3bd;
    padding: 80px 0 32px;
    position: relative;
}
.pub-foot::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(to right, transparent 0%, var(--gold-deep) 30%, var(--gold) 50%, var(--gold-deep) 70%, transparent 100%);
}
.pub-foot h4 {
    color: var(--gold);
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    margin: 0 0 18px;
}
.pub-foot ul { list-style: none; padding: 0; margin: 0; }
.pub-foot li { margin: 8px 0; font-size: 14px; }
.pub-foot a  { color: #c8d3e6; }
.pub-foot a:hover { color: var(--gold); }
.pub-foot-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 48px;
}
.pub-foot-col .pub-brand { color: #fff; }
.pub-foot-tag {
    margin: 16px 0 0;
    font-size: 14.5px;
    color: #c8d3e6;
    max-width: 36ch;
    line-height: 1.55;
}
.pub-foot-tag.muted { color: #6e7a92; margin-top: 8px; }
.pub-foot-bar {
    margin-top: 56px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.08);
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
.pub-foot-bar p { margin: 0; font-size: 13px; color: #6e7a92; }

/* =================================================== ANIMATIONS */
@keyframes fade-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.pub-hero h1, .pub-hero .pub-hero-sub, .pub-hero .pub-hero-cta { animation: fade-up .55s ease both; }
.pub-hero .pub-hero-sub { animation-delay: .08s; }
.pub-hero .pub-hero-cta { animation-delay: .14s; }

/* =================================================== RESPONSIVE */
/* === Grid mid-width collapse (between desktop and mobile) ===
   At 720–1100 we drop any grid down to 2 columns. If the grid has an
   odd number of children, the last card spans both columns so the
   layout reads complete rather than orphaned. */
@media (max-width: 1100px) {
    .pub-grid,
    .pub-fleet-grid,
    .pub-bullets {
        grid-template-columns: repeat(2, 1fr);
    }
    /* Odd-count grid: last child spans both columns */
    .pub-grid > *:last-child:nth-child(odd),
    .pub-fleet-grid > *:last-child:nth-child(odd),
    .pub-bullets > *:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}
@media (max-width: 600px) {
    .pub-grid,
    .pub-fleet-grid,
    .pub-bullets {
        grid-template-columns: 1fr;
    }
    /* Cancel the span trick on mobile (every row is already full-width) */
    .pub-grid > *:last-child:nth-child(odd),
    .pub-fleet-grid > *:last-child:nth-child(odd),
    .pub-bullets > *:last-child:nth-child(odd) {
        grid-column: auto;
    }
}

/* === Tablet (≤980) === */
@media (max-width: 980px) {
    .pub-hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .pub-hero-photo {
        max-width: 600px;
        margin: 0 auto;
        min-height: 0;
        aspect-ratio: 16/10;       /* re-introduce a defined aspect ratio when stacked */
    }
    .pub-hero-photo > .pub-photo {
        aspect-ratio: auto;
        height: 100%;
    }
    .pub-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 48px;
    }
    .pub-stat {
        border-right: none;
        padding: 12px 0 16px;
        border-bottom: 1px solid var(--line);
    }
    .pub-stat:nth-last-child(-n+2) { border-bottom: 0; padding-bottom: 0; }
    .pub-foot-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .pub-vs { grid-template-columns: 1fr; }
    .pub-section { padding: 72px 0; }
    .pub-hero { padding: 80px 0 64px; }
    .pub-cta-block { padding: 36px 32px; }
}

/* ===================================================== FAQ accordion === */
.pub-faq-list { margin-top: 36px; border-bottom: 1px solid var(--line); }
.pub-faq {
    border-top: 1px solid var(--line);
}
.pub-faq summary {
    cursor: pointer;
    list-style: none;
    padding: 22px 0;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 17.5px;
    letter-spacing: -.018em;
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    transition: color .15s ease;
    -webkit-tap-highlight-color: transparent;
}
.pub-faq summary::-webkit-details-marker { display: none; }
.pub-faq summary::marker { display: none; content: ''; }
.pub-faq summary:hover { color: var(--gold-deep); }
.pub-faq[open] > summary { color: var(--gold-deep); }
.pub-faq-q { flex: 1; }

/* +/− toggle drawn from two pseudo-bars so we can animate strokes independently */
.pub-faq-toggle {
    position: relative;
    width: 22px; height: 22px;
    flex-shrink: 0;
    display: inline-block;
}
.pub-faq-toggle::before,
.pub-faq-toggle::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    background: var(--gold-deep);
    border-radius: 2px;
    transition:
        transform .3s cubic-bezier(.2,.7,.2,1),
        opacity .2s ease;
}
/* horizontal bar (stays during open/close) */
.pub-faq-toggle::before {
    width: 14px; height: 2px;
    transform: translate(-50%, -50%);
}
/* vertical bar (rotates + fades to leave just the minus) */
.pub-faq-toggle::after {
    width: 2px; height: 14px;
    transform: translate(-50%, -50%);
}
.pub-faq[open] .pub-faq-toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}
.pub-faq[open] .pub-faq-toggle::before { background: var(--gold-deep); }

.pub-faq-a {
    margin: 0 0 22px;
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.65;
    max-width: 70ch;
    animation: faqOpen .28s cubic-bezier(.2,.7,.2,1);
}
.pub-faq-a a { color: var(--gold-deep); font-weight: 500; }
.pub-faq-a a:hover { color: var(--primary); }
@keyframes faqOpen {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* === Mobile (≤720) === */
@media (max-width: 720px) {
    .pub-container, .pub-container-narrow { padding: 0 20px; }
    .pub-top-bar { height: 64px; gap: 14px; }
    .pub-brand-mark { width: 32px; height: 32px; }
    .pub-brand { font-size: 15.5px; gap: 9px; }
    .pub-brand-rule { width: 11px; }
    .pub-brand:hover .pub-brand-rule { width: 16px; }

    /* FAQ — slightly tighter on mobile */
    .pub-faq summary { font-size: 16px; padding: 18px 0; gap: 14px; }
    .pub-faq-toggle { width: 20px; height: 20px; }
    .pub-faq-toggle::before { width: 12px; }
    .pub-faq-toggle::after { height: 12px; }
    .pub-faq-a { font-size: 14.5px; margin-bottom: 18px; }
    .pub-nav { display: none; }
    .pub-top-cta { display: none; }
    .pub-menu-toggle { display: inline-flex; }

    /* Hero — laconic on mobile (overrides inline padding from older templates) */
    section.pub-hero {
        padding-top: 44px !important;
        padding-bottom: 36px !important;
    }
    .pub-hero-grid { gap: 24px; }
    .pub-hero h1 {
        font-size: 1.95rem;
        line-height: 1.08;
        letter-spacing: -.028em;
    }
    .pub-hero-sub {
        font-size: 0.97rem;
        line-height: 1.5;
        margin-top: 12px;
    }
    .pub-hero-cta { margin-top: 22px; gap: 8px; }
    .pub-hero .pub-eyebrow {
        font-size: 10.5px;
        margin-bottom: 10px;
    }
    .pub-hero-photo { min-height: 220px; }

    /* Sections */
    .pub-section { padding: 56px 0; }
    .pub-section.tight { padding: 40px 0; }

    /* Cards */
    .pub-grid { gap: 14px; margin-top: 24px; }
    .pub-card { padding: 26px 22px 24px; border-radius: 10px; }
    .pub-card::after { right: 22px; bottom: 22px; }
    .pub-card-numbered { padding-top: 64px; }
    .pub-card-numbered::before { top: 22px; left: 22px; font-size: 22px; }
    .pub-card-numbered::after  { top: 26px; right: 22px; }

    /* Fleet */
    .pub-fleet-grid { gap: 16px; }
    .pub-fleet-body { padding: 20px 22px 22px; }

    /* Stats */
    .pub-stats {
        margin-top: 36px;
        padding: 22px 0;
        gap: 16px;
    }
    .pub-stat-num { font-size: 1.8rem; }

    /* CTA / steps */
    .pub-cta-block {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px 24px;
        border-radius: 14px;
        margin-top: 48px;
    }
    .pub-cta-block h2 { font-size: 1.3rem; }
    .pub-cta-block p  { font-size: 14px; }
    .pub-steps { margin-top: 28px; }
    .pub-steps li { padding: 24px 0 24px 60px; }
    .pub-steps li::before { font-size: 22px; top: 26px; width: 50px; }
    .pub-steps li h3 { font-size: 16px; }
    .pub-steps li p  { font-size: 14.5px; }

    /* Two-col / vs / contact */
    .pub-twocol { grid-template-columns: 1fr !important; gap: 32px !important; }
    .pub-vs-col { padding: 28px 22px; }
    .pub-vs-head { margin-bottom: 18px; padding-bottom: 14px; }

    /* List */
    .pub-list-item { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
    .pub-bullets { gap: 10px; }
    .pub-bullets li { padding: 16px 18px; font-size: 14px; }

    /* Facts table */
    .pub-facts th, .pub-facts td { padding: 12px 16px; font-size: 14px; }

    /* Form */
    .pub-form { padding: 26px 22px; border-radius: 12px; }

    /* Footer */
    .pub-foot { padding: 64px 0 28px; }
    .pub-foot-grid { gap: 32px; }
    .pub-foot-bar { flex-direction: column; gap: 4px; margin-top: 40px; }

    /* Buttons get larger tap target */
    .pub-btn { padding: 14px 22px; font-size: 14.5px; }
}

/* === Small mobile (≤540) === */
@media (max-width: 540px) {
    .pub-foot-grid { grid-template-columns: 1fr; gap: 28px; }
    .pub-stats { grid-template-columns: 1fr 1fr; padding: 18px 0; }
    .pub-section { padding: 48px 0; }
    section.pub-hero {
        padding-top: 36px !important;
        padding-bottom: 32px !important;
    }
    .pub-crumbs + .pub-main section.pub-hero {
        padding-top: 16px !important;
    }
    .pub-hero h1 { font-size: 1.8rem; }
    .pub-hero-sub { font-size: 0.94rem; margin-top: 10px; }
    .pub-hero-cta { margin-top: 18px; width: 100%; }
    .pub-hero-cta .pub-btn { flex: 1; justify-content: center; }
    .pub-hero-photo { min-height: 180px; }
    .pub-cta-block { padding: 24px 20px; }
    .pub-stats { margin-top: 28px; }
    .pub-crumbs { padding: 16px 18px 8px; }
}
