/* FCI Roadworthy Motion 2.0
   Brand: FCI blue on white with a deep navy. One accent (blue), amber reserved for keyboard focus.
   Shape rule: interactive controls are pills, containers use --radius (20px). Type: Manrope only, varied by weight and scale.
   Motion rule: transform and opacity only; every animation below has a stated job (hierarchy, story, feedback, orientation). */
@font-face {
  font-family: Manrope;
  src: url('../fonts/Manrope.ttf') format('truetype');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
:root {
  --blue: #0755a6;
  --blue-bright: #3b8fe8;
  --deep: #082d4b;
  --bg: #fff;
  --surface: #f3f7fb;
  --surface-2: #e6eff8;
  --text: #0f2a40;
  --muted: #475f73;
  --line: #d7e2ec;
  --link: #0755a6;
  --radius: 20px;
  --radius-sm: 14px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 28px 56px -28px rgba(8, 45, 75, .38);
  --header-h: 76px;
  --space: clamp(72px, 9vw, 132px);
  --z-header: 40;
  --z-progress: 50;
  --z-skip: 100;
}
/* @media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a1722;
    --surface: #0f2232;
    --surface-2: #153552;
    --text: #e8f0f7;
    --muted: #9db3c6;
    --line: #1f3d56;
    --link: #6db0f5;
    --shadow: 0 28px 56px -28px rgba(0, 0, 0, .7);
  }
} */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.7 Manrope, 'Segoe UI', system-ui, sans-serif; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
a { color: var(--link); text-decoration: none; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3 { font-weight: 800; line-height: 1.08; letter-spacing: -.035em; color: var(--text); text-wrap: balance; }
h2 { font-size: clamp(2rem, 3.6vw, 3.25rem); margin-bottom: 24px; }
h3 { font-size: 1.35rem; letter-spacing: -.02em; }
h4 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; font-weight: 800; }
p { margin-bottom: 1.1em; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #f4ae25; outline-offset: 4px; border-radius: 6px; }
.container { width: min(1240px, calc(100% - 64px)); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: -100px; z-index: var(--z-skip); background: #fff; color: var(--deep); padding: 12px 18px; border-radius: 999px; font-weight: 700; }
.skip-link:focus { top: 12px; }
.fci-icon { width: 22px; height: 22px; flex-shrink: 0; }

/* Buttons: pill, with a fill that sweeps up on hover (feedback). */
.button { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; gap: 14px; padding: 14px 14px 14px 24px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 800; font-size: .92rem; white-space: nowrap; border: 0; transition: transform .35s var(--ease), color .3s; will-change: transform; }
.button::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--deep); transform: translateY(101%); transition: transform .45s var(--ease); border-radius: inherit; }
.button:hover::before, .button:focus-visible::before { transform: none; }
.button .fci-icon { width: 34px; height: 34px; padding: 9px; border-radius: 50%; background: rgba(255, 255, 255, .16); transition: transform .4s var(--ease), background .3s; }
.button:hover .fci-icon { transform: rotate(45deg); background: rgba(255, 255, 255, .28); }
.button:active { transform: scale(.97); }
.button-light { background: #fff; color: var(--deep); }
.button-light::before { background: var(--blue); }
.button-light:hover { color: #fff; }
.button-light .fci-icon { background: var(--surface-2); color: var(--blue); }
.button-light:hover .fci-icon { background: rgba(255, 255, 255, .2); color: #fff; }
.button-small { padding: 8px 8px 8px 20px; font-size: .84rem; gap: 10px; }
.button-small .fci-icon { width: 30px; height: 30px; padding: 7px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: .92rem; color: #fff; padding-block: 8px; }
.text-link .fci-icon { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.text-link:hover .fci-icon { transform: translateY(4px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: var(--z-header); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -22px rgba(8, 45, 75, .5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: var(--header-h); transition: min-height .35s var(--ease); }
.is-scrolled .header-inner { min-height: 64px; }
.brand img, .brand .custom-logo { width: 188px; max-height: 60px; object-fit: contain; transition: width .35s var(--ease); }
.is-scrolled .brand img { width: 164px; }
@media (prefers-color-scheme: dark) { .brand a { display: block; background: #fff; border-radius: 12px; padding: 4px 10px; } }
#primary-nav { display: flex; align-items: center; gap: 30px; }
.nav-link { position: relative; font-size: .88rem; font-weight: 700; color: var(--text); padding-block: 8px; }
.nav-link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px; background: var(--blue-bright); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--link); }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); align-items: center; justify-content: center; }
.menu-bars, .menu-bars::before { content: ''; display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .35s var(--ease); }
.menu-bars { position: relative; }
.menu-bars::before { position: absolute; left: 0; top: 6px; }
.menu-bars { transform: translateY(-3px); }
[aria-expanded='true'] .menu-bars { transform: translateY(3px) rotate(45deg); }
[aria-expanded='true'] .menu-bars::before { transform: translateY(-6px) rotate(-90deg); }
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: var(--z-progress); background: var(--blue-bright); transform: scaleX(0); transform-origin: left; pointer-events: none; }

/* Hero */
.hero { position: relative; background: var(--deep); color: #fff; overflow: hidden; }
.hero-slides { display: grid; }
.hero-slide { grid-area: 1 / 1; position: relative; display: flex; align-items: center; min-height: clamp(560px, calc(100dvh - var(--header-h)), 780px); padding: 72px 0 150px; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility 0s .9s; }
.hero-slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s var(--ease), visibility 0s; z-index: 1; }
.hero-media { position: absolute; inset: -8% 0; overflow: hidden; }
.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 45, 75, .95) 0%, rgba(8, 45, 75, .78) 42%, rgba(8, 45, 75, .18) 100%), linear-gradient(0deg, rgba(8, 45, 75, .7), transparent 40%); }
.hero-grid { position: relative; }
.hero-copy { max-width: 820px; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #cfe3f8; margin-bottom: 26px; }
.eyebrow::before { content: ''; width: 36px; height: 2px; background: var(--blue-bright); border-radius: 2px; }
.hero-title { font-size: clamp(2.5rem, 4.7vw, 4.6rem); color: #fff; margin-bottom: 26px; letter-spacing: -.04em; line-height: 1.04; }
.line { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.line > span { display: block; }
.hero-text { max-width: 520px; font-size: 1.15rem; line-height: 1.6; color: rgba(255, 255, 255, .88); margin-bottom: 34px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; }
.photo-caption { position: absolute; right: 24px; bottom: 104px; font-size: .7rem; font-weight: 600; color: #fff; background: rgba(8, 45, 75, .72); padding: 6px 12px; border-radius: 999px; }
.hero-controls-wrap { position: absolute; left: 0; right: 0; bottom: 104px; z-index: 3; pointer-events: none; display: block; margin-inline: auto; }
.slide-controls { display: flex; align-items: center; gap: 12px; pointer-events: auto; }
.slide-bars { display: flex; gap: 8px; margin-right: 10px; }
.slide-bar { width: 64px; height: 3px; background: rgba(255, 255, 255, .28); border-radius: 3px; overflow: hidden; }
.slide-bar i { display: block; height: 100%; background: #fff; transform: scaleX(0); transform-origin: left; }
.slide-bar.is-active i { animation: bar-fill var(--dur, 8s) linear forwards; }
.is-paused .slide-bar.is-active i { animation-play-state: paused; }
.slide-status { font-size: .8rem; font-weight: 700; letter-spacing: .1em; margin-right: 6px; font-variant-numeric: tabular-nums; }
.slide-controls button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: rgba(8, 45, 75, .4); color: #fff; display: flex; align-items: center; justify-content: center; transition: background .3s, transform .35s var(--ease); backdrop-filter: blur(6px); }
.slide-controls button:hover { background: rgba(255, 255, 255, .2); }
.slide-controls button:active { transform: scale(.92); }
.slide-controls .fci-icon { width: 18px; height: 18px; }
.pause-glyph { width: 12px; height: 14px; border-inline: 4px solid #fff; display: block; }
[data-pause][aria-pressed='true'] .pause-glyph { border: 0; border-left: 12px solid #fff; border-block: 7px solid transparent; width: 0; height: 0; margin-left: 3px; }

/* Services strip overlaps the hero */
.services { position: relative; z-index: 2; margin-top: -70px; }
.services-tab { display: inline-block; background: var(--blue); color: #fff; padding: 14px 28px 12px; border-radius: var(--radius) var(--radius) 0 0; margin-left: 6px; }
.services-tab h2 { font-size: 1rem; letter-spacing: -.01em; color: #fff; margin: 0; }
.service-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; background: var(--bg); padding: 14px; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.service-card { position: relative; overflow: hidden; isolation: isolate; padding: 26px 22px 28px; border-radius: var(--radius-sm); background: var(--surface); transition: transform .5s var(--ease), background .3s; }
.service-card::before, .bento-quality::before, .bento-bee::before, .branch::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(59, 143, 232, .22), transparent 60%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.service-card:hover::before, .bento-quality:hover::before, .bento-bee:hover::before, .branch:hover::before { opacity: 1; }
.service-card:hover { transform: translateY(-8px); }
.service-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 36px; }
.service-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; background: var(--bg); color: var(--blue); border: 1px solid var(--line); transition: background .35s, color .35s, transform .5s var(--ease); }
.service-card:hover .service-icon { background: var(--blue); color: #fff; transform: rotate(-8deg) scale(1.06); }
.service-icon .fci-icon { width: 30px; height: 30px; }
.service-index { font-size: 2.6rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.service-card h3 { font-size: 1.12rem; line-height: 1.25; margin-bottom: 10px; }
.service-card p { font-size: .88rem; line-height: 1.6; color: var(--muted); margin: 0; }

/* Why choose */
.why { position: relative; margin-top: var(--space); background: linear-gradient(120deg, var(--deep) 0%, var(--blue) 100%); color: #fff; overflow: hidden; }
.why::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .045) 0 2px, transparent 2px 26px); pointer-events: none; }
.why-grid { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: stretch; }
.why-copy { padding-block: clamp(64px, 8vw, 110px); align-self: center; }
.why h2 { color: #fff; font-size: clamp(2.2rem, 4vw, 3.6rem); }
.why-list { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 6px; }
.why-list li { display: flex; align-items: center; gap: 18px; padding: 16px 0; font-size: clamp(1.1rem, 1.6vw, 1.4rem); font-weight: 700; letter-spacing: -.01em; }
.why-tick { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .14); flex-shrink: 0; }
.why-tick .fci-icon { width: 26px; height: 26px; }
.why-photo { position: relative; min-height: 460px; margin-right: calc((100vw - 100%) / -2 + 0px); overflow: hidden; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
.section-photo { width: 100%; height: 100%; object-fit: cover; }
.why-photo .section-photo { position: absolute; inset: 0; object-position: 50% 28%; }

/* About */
.about { padding-block: var(--space); }
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(48px, 7vw, 110px); align-items: start; }
.prose p { font-size: 1.05rem; color: var(--muted); max-width: 62ch; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; margin: 40px 0 0; }
.stat { padding: 22px 0 6px; border-top: 2px solid var(--line); }
.stat dt, .stat dd { margin: 0; }
.stat-value { display: block; font-size: clamp(2.6rem, 4.4vw, 3.8rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; color: var(--link); font-variant-numeric: tabular-nums; }
.stat dd { margin-top: 8px; font-size: .9rem; font-weight: 600; color: var(--muted); }
.about-visual { position: relative; }
.about-photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-photo .section-photo { object-position: 50% 40%; }
.mission-card { position: relative; width: calc(100% + 56px); margin: -96px 0 0 -56px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 32px 14px; box-shadow: var(--shadow); }
.mission-card h3 { font-size: 1.5rem; }
.mission-card p { font-size: .95rem; color: var(--muted); }

/* Locations */
.locations { background: var(--surface); padding-block: var(--space); }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head p { font-size: 1.1rem; color: var(--muted); margin: 0; }
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
/* .branch:nth-child(2) { margin-top: 64px; } */
.branch { position: relative; isolation: isolate; overflow: hidden; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.branch-head { position: relative; min-height: 350px; display: flex; align-items: flex-end; padding: 26px 30px; color: #fff; overflow: hidden; }
.branch-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.branch:hover .branch-img { transform: scale(1.06); }
.branch-head::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 45, 75, .64), rgba(7, 85, 166, .4)); }
.branch-grade { position: absolute; z-index: 1; right: 22px; top: -14px; font-size: 11rem; font-weight: 800; line-height: 1; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .32); }
.branch-title { position: relative; z-index: 1; }
.branch-title h3 { color: #fff; font-size: 2.1rem; margin-bottom: 4px; }
.branch-title p { margin: 0; font-size: .9rem; color: rgba(255, 255, 255, .86); font-weight: 600; }
.branch-status { position: absolute; z-index: 2; left: 30px; top: 22px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--deep); font-size: .76rem; font-weight: 800; }
.branch-status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #1a9b5c; }
.branch-status.is-closed::before { background: #8a97a3; }
.branch-body { padding: 28px 30px 30px; }
.branch-facts { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 16px; }
.branch-facts li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; font-size: .95rem; line-height: 1.55; }
.branch-facts .fci-icon { color: var(--blue-bright); margin-top: 2px; }
.branch-facts address { font-style: normal; }
.branch-people { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; padding: 22px; background: var(--surface); border-radius: var(--radius-sm); }
.branch-people p { font-size: .9rem; margin-bottom: 4px; }
.branch-people a, .leadership a { overflow-wrap: anywhere; }
.contact-name { font-weight: 800; font-size: 1rem !important; color: var(--text); margin-bottom: 8px !important; }
.branch-map { width: 100%; height: 230px; border: 0; margin-top: 20px; border-radius: var(--radius-sm); }
.directions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); font-weight: 800; font-size: .9rem; }
.directions .fci-icon { width: 22px; height: 22px; transition: transform .4s var(--ease); }
.directions:hover .fci-icon { transform: translate(3px, -3px); }
.leadership { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 64px; padding-top: 36px; border-top: 1px solid var(--line); }
.leadership h3 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.leadership p { margin-bottom: 4px; font-size: .95rem; }

/* Customers: the page's single marquee */
.customers { padding-block: var(--space) calc(var(--space) * .8); overflow: hidden; }
.marquee { display: grid; gap: 14px; mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.marquee-row { overflow: hidden; }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 70s linear infinite; }
.marquee-row.is-reverse .marquee-track { animation-direction: reverse; animation-duration: 85s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.chip { flex-shrink: 0; padding: 15px 28px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 700; font-size: 1.05rem; color: var(--text); transition: background .3s, color .3s, border-color .3s; }
.chip:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.customer-all { margin-top: 44px; }
.customer-all summary { list-style: none; display: inline-flex; align-items: center; gap: 12px; padding: 12px 14px 12px 24px; border-radius: 999px; border: 1px solid var(--line); font-weight: 800; font-size: .92rem; cursor: pointer; transition: background .3s; }
.customer-all summary::-webkit-details-marker { display: none; }
.customer-all summary:hover { background: var(--surface); }
.customer-all summary .fci-icon { width: 32px; height: 32px; padding: 7px; border-radius: 50%; background: var(--blue); color: #fff; transition: transform .4s var(--ease); }
.customer-all[open] summary .fci-icon { transform: rotate(135deg); }
.customer-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px 36px; }
.customer-list li { padding: 8px 0; font-weight: 600; font-size: .95rem; color: var(--muted); }

/* Assurance bento: exactly three cells */
.assurance { padding-bottom: var(--space); }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.bento-photo { grid-column: span 5; grid-row: span 2; margin: 0; position: relative; min-height: 460px; border-radius: var(--radius); overflow: hidden; }
.bento-photo .section-photo { position: absolute; inset: 0; object-position: 62% 50%; }
.bento-quality, .bento-bee { position: relative; isolation: isolate; overflow: hidden; grid-column: span 7; padding: clamp(28px, 3.4vw, 48px); border-radius: var(--radius); }
.bento-quality { background: linear-gradient(135deg, var(--blue), var(--deep)); color: #fff; }
.bento-quality h2, .bento-bee h2 { font-size: clamp(1.8rem, 2.8vw, 2.5rem); }
.bento-quality h2 { color: #fff; }
.bento-quality p { color: rgba(255, 255, 255, .9); max-width: 56ch; }
.bento-bee { background: var(--surface-2); background-image: linear-gradient(0deg, color-mix(in srgb, var(--surface-2) 90%, transparent), color-mix(in srgb, var(--surface-2) 90%, transparent)), url('../images/road-texture.webp'); background-size: cover; background-position: center; }
.bento-bee p { color: var(--muted); max-width: 50ch; margin-bottom: 0; }
.bento-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: rgba(255, 255, 255, .16); margin-bottom: 22px; }
.bento-icon .fci-icon { width: 28px; height: 28px; }
.bento-bee .bento-icon { background: var(--bg); color: var(--blue); }

/* Closing band */
.closing { position: relative; color: #fff; background: var(--deep); overflow: hidden; display: flex; align-items: center; min-height: 520px; }
.closing-media { position: absolute; inset: -8% 0; }
.closing-photo { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.closing-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 45, 75, .94) 0%, rgba(8, 45, 75, .6) 60%, rgba(8, 45, 75, .25) 100%); }
.closing-inner { position: relative; padding-block: 90px; }
.closing h2 { color: #fff; max-width: 15ch; font-size: clamp(2.2rem, 4.6vw, 4.2rem); }
.closing p { max-width: 46ch; font-size: 1.1rem; color: rgba(255, 255, 255, .88); margin-bottom: 32px; }

/* Footer */
.site-footer { background: var(--deep); color: #c5d6e4; padding: 64px 0 28px; font-size: .9rem; }
.site-footer a { color: #fff; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 40px; align-items: start; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.footer-logo { display: inline-block; background: #fff; border-radius: var(--radius-sm); padding: 10px 16px; margin-bottom: 18px; }
.footer-logo img { width: 170px; }
.footer-brand p { margin: 0; max-width: 40ch; }
.footer-nav { display: grid; gap: 10px; font-weight: 700; }
.footer-nav a { position: relative; width: fit-content; }
.footer-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--blue-bright); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.footer-nav a:hover::after { transform: scaleX(1); }
.to-top { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; padding: 10px 10px 10px 20px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; transition: background .3s; }
.to-top:hover { background: rgba(255, 255, 255, .1); }
.to-top .fci-icon { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--blue); transition: transform .4s var(--ease); }
.to-top:hover .fci-icon { transform: translateY(-3px); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; padding-top: 24px; font-size: .78rem; }
.document-content { min-height: 50vh; padding-top: 80px; }
.photo-placeholder { display: grid; place-content: center; text-align: center; height: 100%; min-height: 200px; background: var(--surface-2); color: var(--blue); font-weight: 700; padding: 24px; }
.photo-placeholder small { color: var(--muted); font-weight: 500; }

/* Keyframes */
@keyframes bar-fill { to { transform: scaleX(1); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1); } }
@keyframes parallax-y { from { transform: translateY(-5%); } to { transform: translateY(5%); } }
@keyframes hero-drift { to { transform: translateY(10%); } }
@keyframes grow-x { to { transform: scaleX(1); } }

/* Motion layer: only for people who have not asked for less. */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-slide .line > span { transform: translateY(112%); transition: transform .5s var(--ease); }
  .js .hero-slide.is-active .line > span { transform: none; transition: transform 1.1s var(--ease) calc(.2s + var(--i) * .14s); }
  .js .hero-slide .eyebrow, .js .hero-slide .hero-text, .js .hero-slide .hero-actions { opacity: 0; transform: translateY(24px); transition: opacity .4s, transform .4s; }
  .js .hero-slide.is-active .eyebrow { opacity: 1; transform: none; transition: opacity .9s var(--ease) .1s, transform .9s var(--ease) .1s; }
  .js .hero-slide.is-active .hero-text { opacity: 1; transform: none; transition: opacity .9s var(--ease) .55s, transform .9s var(--ease) .55s; }
  .js .hero-slide.is-active .hero-actions { opacity: 1; transform: none; transition: opacity .9s var(--ease) .75s, transform .9s var(--ease) .75s; }
  .hero-slide.is-active .hero-photo { animation: kenburns 9s var(--ease) both; }
  .js [data-reveal], .js [data-stagger] > * { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease), background .3s, box-shadow .3s; }
  .js [data-stagger] > * { transition-delay: calc(var(--i, 0) * 90ms); }
  .js [data-reveal].is-in, .js [data-stagger].is-in > * { opacity: 1; transform: none; }
  .js .service-grid.is-in > .service-card:hover { transform: translateY(-8px); transition-delay: 0s; transition-duration: .5s; }
  .js .why-list .why-tick .fci-icon * { stroke-dasharray: 70; stroke-dashoffset: 70; transition: stroke-dashoffset 1.1s var(--ease) calc(var(--i, 0) * 90ms + .3s); }
  .js .why-list.is-in .why-tick .fci-icon * { stroke-dashoffset: 0; }
  .js [data-wipe] { position: relative; }
  .js [data-wipe]::after { content: ''; position: absolute; inset: 0; z-index: 2; background: var(--wipe, var(--blue)); transform-origin: right; transition: transform 1.2s var(--ease); }
  .js .why-photo[data-wipe]::after { --wipe: var(--deep); }
  .js [data-wipe] img { transform: scale(1.18); transition: transform 1.8s var(--ease); }
  .js [data-wipe].is-in::after { transform: scaleX(0); }
  .js [data-wipe].is-in img { transform: none; }
  @supports (animation-timeline: view()) {
    .scroll-progress { animation: grow-x linear both; animation-timeline: scroll(root); }
    .hero-media { animation: hero-drift linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
    .closing-media, .about-photo .section-photo { animation: parallax-y linear both; animation-timeline: view(); }
    .js .about-photo[data-wipe].is-in .section-photo { transform: scale(1.12); }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .marquee-row { overflow-x: auto; }
  .marquee-track { animation: none; }
  .slide-bar.is-active i { animation: none; transform: scaleX(1); }
  .hero-slide, .hero-slide.is-active { transition: none; }
}

/* Responsive */
@media (max-width: 1100px) {
  .service-grid { grid-template-columns: repeat(6, 1fr); }
  .service-card { grid-column: span 2; }
  .service-card:nth-child(n+4) { grid-column: span 3; }
  .why-grid { grid-template-columns: 1fr; gap: 0; }
  .why-photo { min-height: 380px; margin: 0 calc((100vw - 100%) / -2); clip-path: polygon(0 12%, 100% 0, 100% 100%, 0 100%); }
  .customer-list { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .admin-bar .site-header { top: 46px; }
  .container { width: calc(100% - 40px); }
  .has-js .menu-toggle, .js .menu-toggle { display: inline-flex; }
  .js #primary-nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 24px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .5s var(--ease), visibility 0s .5s; }
  .js #primary-nav.is-open { clip-path: inset(0); visibility: visible; transition: clip-path .5s var(--ease); }
  .js .nav-link { padding: 16px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .js #primary-nav .button { margin-top: 18px; align-self: flex-start; }
  .hero-slide { padding: 56px 0 110px; }
  .hero-text { font-size: 1.05rem; }
  .services { margin-top: -50px; }
  .about-grid { grid-template-columns: 1fr; }
  .mission-card { width: 100%; margin: -60px 0 0; }
  .location-grid { grid-template-columns: 1fr; }
  .branch:nth-child(2) { margin-top: 0; }
  .leadership { grid-template-columns: 1fr; gap: 24px; }
  .bento { grid-template-columns: 1fr; }
  .bento-photo, .bento-quality, .bento-bee { grid-column: auto; grid-row: auto; }
  .bento-photo { min-height: 320px; }
}
@media (max-width: 640px) {
  .service-grid { grid-template-columns: 1fr; }
  .service-card, .service-card:nth-child(n+4) { grid-column: auto; }
  .service-top { margin-bottom: 22px; }
  .stats { gap: 0 20px; }
  .branch-people { grid-template-columns: 1fr; }
  .branch-grade { font-size: 8rem; }
  .branch-title h3 { font-size: 1.8rem; }
  .customer-list { grid-template-columns: 1fr 1fr; gap: 2px 20px; }
  .footer-top { grid-template-columns: 1fr; }
  .slide-bar { width: 36px; }
  .photo-caption { display: none; }
  .brand img, .brand .custom-logo { width: 156px; }
}
