/* Meridian redesign: loaded after style.css and overrides it */
:root {
  --display: "Outfit", "Segoe UI", sans-serif;
  --condensed: "Outfit", "Segoe UI", sans-serif;
  --body: "DM Sans", "Segoe UI", sans-serif;
  --radius: 20px;
  --radius-lg: 32px;
  --panel-gutter: clamp(.75rem, 2vw, 1.5rem);
  --header-h: 96px;
  --spring: cubic-bezier(.34, 1.4, .64, 1);
}

html { scroll-padding-top: 110px; }
body { background: var(--mist); }

/* Page-load curtain */
body::after { content: ""; position: fixed; inset: 0; z-index: 300; background: var(--navy); pointer-events: none; animation: curtain .9s .1s cubic-bezier(.76, 0, .24, 1) forwards; }
@keyframes curtain { to { transform: translateY(-101%); } }

/* Type */
h2 { font: 600 clamp(1.9rem, 3.4vw, 3rem)/1.12 var(--display); letter-spacing: -.02em; }
.eyebrow { display: inline-block; margin-bottom: 1rem; padding: .35rem .85rem; border-radius: 99px; background: rgba(0, 181, 223, .13); color: var(--cyan-text); font-size: .75rem; letter-spacing: .12em; }
.purpose .eyebrow, .approach .eyebrow, .quick-intro .eyebrow { background: rgba(0, 181, 223, .18); color: var(--cyan); }

/* Buttons */
.btn { gap: .6rem; min-height: 54px; padding: .8rem 1.7rem; border-radius: 99px; overflow: hidden; }
.btn::after { content: "\2192"; transition: transform .3s var(--spring); }
.btn:hover::after { transform: translateX(5px); }
.btn:hover { transform: translateY(-3px); }
.btn-primary:hover { background: var(--white); }
button.btn::after { content: "\2192"; }

/* Floating menu */
.site-header { top: 14px; right: 0; left: 0; background: none !important; box-shadow: none !important; }
.header-inner, .site-header.is-solid .header-inner { width: min(100% - 1.5rem, 1320px); height: 76px; padding-inline: 1.4rem .9rem; border-radius: 99px; background: var(--white); box-shadow: 0 14px 40px rgba(16, 36, 61, .16); transition: height .35s var(--ease), box-shadow .35s; animation: header-in .8s .55s var(--spring) both; }
.site-header.is-solid .header-inner { height: 66px; box-shadow: 0 10px 30px rgba(16, 36, 61, .2); }
@keyframes header-in { from { opacity: 0; } }
.brand img, .site-header.is-solid .brand img { height: 60px; filter: none; }
.site-header.is-solid .brand img { height: 54px; }
.menu-toggle span, .site-header.is-solid .menu-toggle span { background: var(--navy); }
.nav-cta .btn { min-height: 46px; padding: .5rem 1.3rem; background: var(--blue) !important; color: var(--white) !important; font-size: .9375rem; }
.nav-cta .btn:hover { background: var(--navy) !important; }
.primary-nav .nav-cta .btn:hover { background: var(--cyan) !important; }

@media (min-width: 1001px) {
  .nav-list { position: relative; gap: .2rem; }
  .nav-ink { position: absolute; top: 50%; left: 0; z-index: 0; height: 42px; margin-top: -21px; border-radius: 99px; background: rgba(0, 181, 223, .16); opacity: 0; pointer-events: none; transition: transform .4s var(--spring), width .4s var(--spring), opacity .25s; }
  .nav-list > li { z-index: 1; }
  .nav-list > li > a:not(.btn), .dropdown-toggle, .site-header.is-solid .nav-list > li > a:not(.btn), .site-header.is-solid .dropdown-toggle { padding: .55rem .95rem; border-radius: 99px; color: var(--navy); font-weight: 500; }
  .nav-list > li > a[aria-current] { box-shadow: none; color: var(--blue) !important; font-weight: 700; }
  .has-dropdown { gap: 0; }
  .dropdown-toggle { padding-inline: .1rem .6rem !important; }
  .nav-cta { margin-left: .7rem; }
  .nav-cta .btn { color: var(--white) !important; }
  .dropdown { top: calc(100% + 18px); right: -11rem; border: 0; border-radius: var(--radius); }
  .dropdown::before { content: ""; position: absolute; inset: -20px 0 auto; height: 20px; }
  .dropdown li { opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
  .has-dropdown:hover .dropdown li, .has-dropdown.is-open .dropdown li { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 18ms); }
}

/* Hero */
.hero { align-items: flex-end; margin: 0; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.hero-overlay { background: linear-gradient(180deg, rgba(16, 36, 61, .3) 0%, rgba(16, 36, 61, .05) 40%, rgba(16, 36, 61, .9) 100%); }
.hero-content { padding-top: 0; padding-bottom: clamp(3rem, 7vh, 5rem); }
.hero h1 { max-width: none; font: 600 clamp(2.4rem, 5.6vw, 5.25rem)/1.06 var(--display); letter-spacing: -.025em; text-transform: none; animation: none; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero h1 .line > span { display: block; animation: line-up 1s .75s cubic-bezier(.22, 1, .36, 1) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: .87s; }
@keyframes line-up { from { transform: translateY(110%); } }
.hero-actions { margin-top: 1.8rem; animation-delay: 1.1s; }
.hero-dots { bottom: clamp(3rem, 7vh, 5rem); z-index: 2; }
.hero-dots button.is-active::before { animation: dot-fill 6.5s linear; transform-origin: left; }
@keyframes dot-fill { from { transform: scaleX(0); } }

/* Ticker */
.trust-bar { overflow: hidden; background: none; color: var(--navy); }
.ticker { display: flex; width: max-content; padding-block: 1.1rem; animation: ticker 36s linear infinite; }
.ticker ul { display: flex; flex: none; }
.ticker li { display: flex; align-items: center; gap: 2.2rem; padding-right: 2.2rem; font: 500 1.0625rem var(--display); white-space: nowrap; }
.ticker li::after { content: ""; width: 8px; height: 8px; background: var(--cyan); transform: rotate(45deg); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Shared layout */
.section { padding-block: clamp(4rem, 7vw, 6rem); }
.services, .reviews, .alt-bg, .contact { background: none; }
.section-head { margin: 0 0 2.75rem; max-width: 46rem; text-align: left; }
.section-action { text-align: left; margin-top: 2.25rem; }
.purpose, .approach, .quick-contact, .cta-band { margin-inline: var(--panel-gutter); border-radius: var(--radius-lg); }

/* About */
.about-media video, .about-photo { border-radius: var(--radius-lg); }
.facts { border-radius: var(--radius); }

/* Mission & vision */
.purpose article { border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius); background: rgba(255, 255, 255, .06); transition: transform .4s var(--ease), background-color .4s; }
.purpose article:hover { background: rgba(255, 255, 255, .1); }

/* Home services: varied grid */
.service-cards { grid-template-columns: repeat(6, 1fr); gap: 1.25rem; }
.service-cards li { aspect-ratio: auto; height: clamp(250px, 26vw, 340px); border-radius: var(--radius); }
.service-cards li:nth-child(1), .service-cards li:nth-child(4) { grid-column: span 4; }
.service-cards li:nth-child(2), .service-cards li:nth-child(3) { grid-column: span 2; }
.service-cards li:nth-child(5), .service-cards li:nth-child(6) { grid-column: span 3; }
.service-cards h3 { font-size: 1.3rem; font-weight: 500; }
.service-cards div { padding: 3.5rem 1.5rem 1.4rem; }

/* Approach */
.steps { gap: 1.25rem; }
.steps li { border-radius: var(--radius); }
.steps h3 { font: 500 1.15rem/1.3 var(--display); }

/* Cards */
.review, .feature, .service-item, .clients li, .locations li, .quote-steps li, .detail-side, .quick-form, .contact-form, .detail-photo, .detail-gallery img, .map-frame { border-radius: var(--radius); }
.review { background: var(--white); }
.feature { border-top: 0; box-shadow: 0 10px 26px rgba(16, 36, 61, .06); }
.feature h3 { font: 500 1.2rem/1.3 var(--display); }
.alt-bg .feature { box-shadow: 0 10px 26px rgba(16, 36, 61, .06); }
.service-item { box-shadow: 0 10px 26px rgba(16, 36, 61, .06); transition: transform .4s var(--ease), box-shadow .4s; }
.service-item:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(16, 36, 61, .14); }
.service-item img { transition: transform .7s var(--ease); }
.service-item:hover img { transform: scale(1.05); }
.service-item > a { overflow: hidden; }
.service-item h2 { font: 500 1.2rem/1.3 var(--display); letter-spacing: 0; }
.read-more::after { content: " \2192"; }
.clients li { border: 0; }
.detail-side { background: var(--white); }
.detail-side a { border-radius: 10px; }
.detail-body h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.field input, .field select, .field textarea { border-radius: 10px; }
.icon-band { background: none; }

/* Inner page banner */
.page-hero { margin: var(--panel-gutter); margin-bottom: 0; min-height: clamp(320px, 46vh, 420px); padding-top: 7.5rem; border-radius: var(--radius-lg); overflow: hidden; }
.page-hero::before { background: linear-gradient(180deg, rgba(16, 36, 61, .35), rgba(16, 36, 61, .88)); }
.page-hero h1 { font: 600 clamp(2.2rem, 4.6vw, 3.75rem)/1.08 var(--display); letter-spacing: -.02em; text-transform: none; animation: rise .9s .7s var(--ease) both; }
.page-hero p, .breadcrumb { animation: rise .9s .85s var(--ease) both; }
.page-hero p { font-size: 1.0625rem; }

/* Footer top sits on the page background */
.site-footer { margin-top: clamp(1rem, 3vw, 2rem); }

/* Image wipe on reveal */
.js .reveal .about-photo, .js .reveal > video, .js .detail-body.reveal .detail-photo, .js .detail-body.reveal .detail-gallery img { clip-path: inset(10% 10% 10% 10% round 28px); transition: clip-path 1.1s cubic-bezier(.22, 1, .36, 1); }
.js .reveal.is-visible .about-photo, .js .reveal.is-visible > video, .js .detail-body.reveal.is-visible .detail-photo, .js .detail-body.reveal.is-visible .detail-gallery img { clip-path: inset(0 0 0 0 round 20px); }

@media (max-width: 1000px) {
  :root { --header-h: 88px; }
  .header-inner, .site-header.is-solid .header-inner { height: 66px; padding-inline: 1.1rem .5rem; }
  .brand img, .site-header.is-solid .brand img { height: 52px; }
  .primary-nav { z-index: 1; }
  .nav-list > li { opacity: 0; transform: translateX(-24px); transition: opacity .4s, transform .4s var(--ease); }
  .primary-nav.is-open .nav-list > li { opacity: 1; transform: none; }
  .primary-nav.is-open .nav-list > li:nth-child(2) { transition-delay: .07s; }
  .primary-nav.is-open .nav-list > li:nth-child(3) { transition-delay: .14s; }
  .primary-nav.is-open .nav-list > li:nth-child(4) { transition-delay: .21s; }
  .primary-nav.is-open .nav-list > li:nth-child(5) { transition-delay: .28s; }
  .nav-cta { padding-top: 1.2rem; border: 0 !important; }
  .nav-cta .btn { width: 100%; color: var(--white) !important; justify-content: center !important; }
  .service-cards { grid-template-columns: 1fr 1fr; }
  .service-cards li:nth-child(n) { grid-column: auto; height: 260px; }
  .service-cards li:nth-child(1) { grid-column: 1 / -1; }
  .service-cards li:nth-child(6) { grid-column: 1 / -1; }
  .about-media { max-width: 640px; }
  .hero-dots { bottom: auto; top: 110px; right: 1.5rem; }
}
@media (max-width: 680px) {
  :root { --radius-lg: 24px; }
  .service-cards { grid-template-columns: 1fr; }
  .service-cards li:nth-child(n) { height: 230px; }
  .hero-actions .btn { flex: 0 1 auto; }
  .hero h1 .line { display: inline; overflow: visible; }
  .hero h1 .line > span { display: inline; animation: rise 1s .75s var(--ease) both; }
  .facts { margin-inline: .5rem; }
  .section { padding-block: 3.5rem; }
  .purpose, .approach, .quick-contact { padding-inline: 0; }
  .page-hero { padding-top: 6.5rem; }
  .cta-band .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  body::after { display: none; }
  .ticker { flex-wrap: wrap; width: auto; justify-content: center; }
  .js .reveal .about-photo, .js .reveal > video, .js .detail-body.reveal .detail-photo, .js .detail-body.reveal .detail-gallery img { clip-path: none; }
  .header-inner { animation: none; }
}

html { overflow-x: clip; }
.site-footer, .clients, .trust-bar { max-width: 100%; contain: paint; }

/* Dropdown with images */
.dropdown a { display: flex; align-items: center; gap: .75rem; }
.dropdown img { flex: none; width: 56px; height: 42px; object-fit: cover; border-radius: 8px; transition: transform .35s var(--spring); }
.dropdown a:hover img { transform: scale(1.1) rotate(-2deg); }
@media (min-width: 1001px) {
  .has-dropdown { position: static; }
  .dropdown { top: calc(100% + 26px); right: 0; grid-template-columns: repeat(3, 1fr); gap: .15rem .9rem; width: min(900px, calc(100vw - 3rem)); padding: 1rem; transform: translateY(-14px); transform-origin: top; clip-path: inset(0 0 100% 0 round 20px); box-shadow: 0 30px 60px rgba(16, 36, 61, .25); transition: opacity .3s, transform .45s var(--spring), clip-path .45s cubic-bezier(.22, 1, .36, 1), visibility .3s; }
  .has-dropdown:hover .dropdown, .has-dropdown.is-open .dropdown { clip-path: inset(0 0 0 0 round 20px); }
  .dropdown::before { inset: -30px 0 auto; height: 30px; }
  .dropdown a { padding: .4rem .5rem; border-radius: 12px; transition: background-color .2s; }
  .dropdown a:hover { background: var(--mist); }
}
@media (max-width: 1000px) {
  .dropdown a { padding: .45rem 0; }
}

/* Card animation: rise and tilt */
.js .reveal.card-rise { transform: translateY(46px) scale(.96); }
.js .reveal.card-rise.is-visible { transform: none; }
.card-rise.is-tilting { transition: transform .12s linear, box-shadow .3s !important; transition-delay: 0s !important; box-shadow: 0 24px 46px rgba(16, 36, 61, .22); }
.feature, .review, .steps li, .purpose article, .service-item { position: relative; }

/* Service icons */
.icon-grid { grid-template-columns: repeat(6, 1fr); gap: 1.25rem; }
.icon-grid li { display: block; }
.icon-grid li.reveal { transition-delay: 0s; }
.icon-grid .icon-item { display: flex; flex-direction: column; align-items: center; gap: .9rem; height: 100%; padding: 1.4rem .8rem; border-radius: var(--radius); background: var(--white); text-align: center; text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s; }
.icon-grid .icon-item:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(16, 36, 61, .12); }
.icon-grid img { width: auto; max-width: 100%; height: 62px; }
.icon-grid span { font-size: .875rem; line-height: 1.35; }
.service-item > div { position: relative; }
.service-icon { display: grid; place-items: center; width: 68px; height: 62px; margin-top: -3rem; margin-bottom: .2rem; padding: .5rem; border-radius: 12px; background: var(--white); box-shadow: 0 8px 18px rgba(16, 36, 61, .14); }
.service-icon img { width: 100%; height: 100%; object-fit: contain; transform: none !important; aspect-ratio: auto; }

/* Square shapes: no capsules */
.btn { border-radius: 6px; }
.eyebrow { padding: 0; border-radius: 0; background: none !important; }
.nav-cta .btn { border-radius: 6px; }
.site-header { top: 0; background: var(--white) !important; box-shadow: 0 1px 0 var(--line), 0 10px 28px rgba(16, 36, 61, .08) !important; }
.header-inner, .site-header.is-solid .header-inner { width: min(100% - 3rem, 1240px); height: 80px; padding-inline: 0; border-radius: 0; background: none; box-shadow: none; }
.site-header.is-solid .header-inner { height: 70px; }
.hero { padding-top: 80px; }
.page-hero { margin-top: calc(80px + var(--panel-gutter)); padding-top: 3rem; }
@media (min-width: 1001px) {
  .nav-ink { top: auto; bottom: -2px; height: 3px; margin: 0; border-radius: 0; background: var(--cyan); }
  .dropdown { top: calc(100% + 16px); }
  .has-dropdown:hover .dropdown, .has-dropdown.is-open .dropdown { clip-path: inset(0 0 0 0 round 12px); }
  .dropdown { border-radius: 12px; }
  .nav-list > li > a:not(.btn), .dropdown-toggle { border-radius: 0 !important; }
}
@media (max-width: 1000px) {
  .header-inner, .site-header.is-solid .header-inner { height: 68px; padding-inline: 0; }
  .page-hero { margin-top: calc(68px + var(--panel-gutter)); }
  .hero { padding-top: 68px; }
  .icon-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-dots { top: 88px; }
}
@media (max-width: 680px) {
  .header-inner, .site-header.is-solid .header-inner { width: calc(100% - 2rem); }
  .icon-grid { grid-template-columns: 1fr 1fr; gap: .9rem; }
  .icon-grid img { height: 52px; }
}

/* Home service cards: whole card is a link */
.card-link { position: absolute; inset: 0; display: block; color: inherit; text-decoration: none; }



/* Menu: slim floating glass bar */
.site-header, .site-header.is-solid { top: 12px; background: transparent !important; box-shadow: none !important; }
.header-inner, .site-header.is-solid .header-inner { position: relative; width: min(100% - 2rem, 1080px); height: 62px; padding: 0 .55rem 0 .7rem; border: 1px solid rgba(255, 255, 255, .18); border-radius: 99px; background: none; box-shadow: 0 12px 34px rgba(8, 20, 36, .3); }
.header-inner::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: rgba(16, 36, 61, .55); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: background-color .35s; }
.site-header.is-solid .header-inner::before { background: rgba(16, 36, 61, .94); }
.brand { display: flex; align-items: center; padding: 3px 12px; border-radius: 99px; background: var(--white); }
.brand img, .site-header.is-solid .brand img { height: 44px; }
.menu-toggle span, .site-header.is-solid .menu-toggle span { background: var(--white); }
.nav-cta .btn { min-height: 44px; border-radius: 99px; background: var(--cyan) !important; color: var(--navy) !important; }
.nav-cta .btn:hover { background: var(--white) !important; box-shadow: none; }
.hero { padding-top: 0; }
.hero-overlay { background: linear-gradient(180deg, rgba(16, 36, 61, .5) 0%, rgba(16, 36, 61, .05) 36%, rgba(16, 36, 61, .9) 100%); }
.page-hero { margin: 0 var(--panel-gutter); padding-top: 8rem; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.page-hero::before { background: linear-gradient(180deg, rgba(16, 36, 61, .75) 0%, rgba(16, 36, 61, .4) 45%, rgba(16, 36, 61, .9) 100%); }
@media (min-width: 1001px) {
  .primary-nav { flex: 1; }
  .nav-list { justify-content: center; }
  .nav-cta { position: absolute; top: 50%; right: 0; margin: 0; transform: translateY(-50%); }
  .nav-list > li > a:not(.btn), .dropdown-toggle, .site-header.is-solid .nav-list > li > a:not(.btn), .site-header.is-solid .dropdown-toggle { color: rgba(255, 255, 255, .92); font-size: .9375rem; }
  .nav-list > li > a[aria-current] { color: var(--cyan) !important; font-weight: 500; }
  .nav-list > li > a:not(.btn):hover { color: var(--cyan) !important; }
  .nav-ink { bottom: 3px; height: 2px; }
  .dropdown { top: calc(100% + 22px); right: 50%; margin-right: -450px; }
  .dropdown a, .site-header .dropdown a { color: var(--navy); }
}
@media (max-width: 1000px) {
  .header-inner, .site-header.is-solid .header-inner { width: calc(100% - 1.5rem); height: 60px; padding-right: .3rem; }
  .brand img, .site-header.is-solid .brand img { height: 42px; }
  .page-hero { margin-top: 0; padding-top: 7rem; }
  .hero-dots { top: 90px; }
  .nav-cta { position: static; }
}

/* Menu button position and logo plate */
.brand { border-radius: 14px; }
@media (min-width: 1001px) {
  .nav-cta { top: 0; bottom: 0; display: flex; align-items: center; transform: none; }
}

/* Type and buttons: slab headings, light sans text */
:root { --display: "Roboto Slab", Georgia, serif; --condensed: "Roboto Slab", Georgia, serif; --body: "Inter", "Segoe UI", sans-serif; }
body { font-weight: 400; }
h2 { font-weight: 500; letter-spacing: 0; }
.eyebrow { font-family: var(--body); font-weight: 600; }
.hero h1 { font-weight: 500; letter-spacing: 0; line-height: 1.12; font-size: clamp(2.2rem, 5vw, 4.6rem); }
.hero-content p.hero-kicker { display: flex; align-items: center; gap: .9rem; max-width: none; margin: 0 0 1.1rem; color: rgba(255, 255, 255, .92); font-size: 1rem; font-weight: 300; animation: rise .9s .65s var(--ease) both; }
.hero-kicker::before { content: ""; width: 44px; height: 1px; background: rgba(255, 255, 255, .8); }
.page-hero h1 { font-weight: 500; letter-spacing: 0; }
.service-cards h3, .steps h3, .feature h3, .service-item h2 { font-weight: 500; letter-spacing: 0; }
.nav-list > li > a:not(.btn), .dropdown-toggle { font-weight: 400; }
.btn:not(.nav-cta .btn) { min-height: 50px; padding: .35rem .4rem .35rem 1.4rem; border-radius: 99px; font-weight: 500; }
.btn:not(.nav-cta .btn)::after { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--blue); color: var(--white); }
.btn-primary { background: var(--white); color: var(--navy); }
.btn-primary:hover { background: var(--mist); }
.btn-solid:not(.nav-cta .btn)::after, .btn-ghost::after { background: var(--white); color: var(--navy); }
.contact-form .btn, .quick-form .btn { justify-content: space-between; }

@media (min-width: 1001px) {
  .primary-nav { margin-left: 1rem; }
  .nav-list { width: 100%; }
}

@media (min-width: 1001px) {
  .nav-list > li.nav-cta { position: absolute; top: 0; right: 0; bottom: 0; }
}

/* Hero line removed */
.hero-kicker::before { display: none; }

/* Mobile: forms come first on Contact and Quote pages */
@media (max-width: 1000px) {
  .form-page { display: flex; flex-direction: column; }
  .form-page .page-hero { order: -2; }
  .form-page .form-first { order: -1; }
  .form-page .contact-form { order: -1; }
}
@media (max-width: 680px) {
  .form-page .page-hero { min-height: 0; padding-top: 5.5rem; padding-bottom: 1.25rem; }
  .form-page .page-hero p, .form-page .breadcrumb { display: none; }
  .form-page .form-first { padding-top: 1.25rem; }
}

/* Small screens: sections rise instead of sliding in from the sides */
@media (max-width: 1000px) {
  .js .about-media.reveal, .js .about-body.reveal, .js .contact-intro.reveal, .js .contact-form.reveal { transform: translateY(24px); }
  .js .about-media.reveal.is-visible, .js .about-body.reveal.is-visible, .js .contact-intro.reveal.is-visible, .js .contact-form.reveal.is-visible { transform: none; }
}

/* Certification band joined to the hero */
.hero { border-radius: 0; }
.hero-slides { top: -8%; bottom: -8%; will-change: transform; }
.trust-bar { background: var(--blue); color: var(--white); }
.ticker { padding-block: .85rem; }
.ticker li { font: 500 .9375rem var(--body); letter-spacing: .02em; }

/* Home services panel */
.services-panel { position: relative; overflow: hidden; margin: clamp(3rem, 6vw, 5rem) var(--panel-gutter) 0; padding-block: clamp(3rem, 6vw, 5rem); border-radius: var(--radius-lg); background: var(--navy); color: rgba(255, 255, 255, .85); }
.panel-rings { position: absolute; top: -40px; left: -40px; width: min(520px, 90vw); color: rgba(0, 181, 223, .2); pointer-events: none; animation: rings-turn 80s linear infinite; transform-origin: 15% 15%; }
@keyframes rings-turn { to { transform: rotate(360deg); } }
.panel-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.panel-intro .eyebrow { color: var(--cyan); }
.panel-intro h2 { margin-bottom: 1rem; color: var(--white); }
.panel-intro .btn { margin-top: 1.75rem; }
.slide-track { display: flex; gap: 20px; overflow-x: auto; padding-bottom: .25rem; scroll-snap-type: x mandatory; scrollbar-width: none; }
.slide-track::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 clamp(230px, 24vw, 280px); height: clamp(320px, 30vw, 390px); overflow: hidden; border-radius: 16px; scroll-snap-align: start; }
.slide a { display: block; height: 100%; color: var(--white); text-decoration: none; }
.slide img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.slide:hover img { transform: scale(1.07); }
.slide span { position: absolute; inset: auto 0 0; display: block; padding: 4.5rem 1rem 1.3rem; background: linear-gradient(transparent, rgba(48, 61, 145, .96) 70%); text-align: center; font: 500 1.1rem/1.25 var(--display); transition: padding-bottom .3s var(--ease); }
.slide:hover span { padding-bottom: 1.8rem; }
.slide-arrows { display: flex; justify-content: flex-end; gap: 1.5rem; margin-top: 1.25rem; }
.slide-arrows button { padding: .2rem .4rem; border: 0; background: none; color: var(--white); font-size: 1.9rem; line-height: 1; cursor: pointer; transition: transform .25s var(--ease), opacity .25s; }
.slide-arrows button:hover:not(:disabled) { transform: translateX(3px); color: var(--cyan); }
.slide-arrows #slidePrev:hover:not(:disabled) { transform: translateX(-3px); }
.slide-arrows button:disabled { opacity: .3; cursor: default; }
@media (max-width: 1000px) {
  .panel-grid { grid-template-columns: minmax(0, 1fr); }
  .slide { flex-basis: min(72vw, 280px); height: 340px; }
}
@media (prefers-reduced-motion: reduce) { .panel-rings { animation: none; } }

.services-panel { margin-bottom: clamp(3rem, 6vw, 5rem); }

/* Home colours: blue services panel, light approach section */
.services-panel { background: var(--blue); color: rgba(255, 255, 255, .92); }
.panel-rings { color: rgba(255, 255, 255, .16); }
.panel-intro .eyebrow { color: #7FE3F7; }
.slide span { background: linear-gradient(transparent, rgba(16, 36, 61, .95) 70%); }
.slide-arrows button:hover:not(:disabled) { color: #7FE3F7; }
.approach { margin-inline: 0; border-radius: 0; background: none; color: var(--ink-soft); }
.approach h2 { color: var(--navy); }
.approach .eyebrow { color: var(--cyan-text); }
.approach .section-head p:last-child:not(.eyebrow) { color: var(--ink-soft); }
.steps li { border: 0; background: var(--white); box-shadow: 0 10px 26px rgba(16, 36, 61, .06); }
.steps h3 { color: var(--navy); }
.js .steps li.is-visible:hover { box-shadow: 0 20px 38px rgba(16, 36, 61, .14); }

/* Mission and vision cards change colour on hover */
.js .purpose article.reveal { transition: opacity .8s var(--ease), transform .8s var(--ease), background-color .35s, border-color .35s, box-shadow .3s; }
.js .purpose article.reveal.is-visible:hover, .js .purpose article.reveal.is-visible:focus-within { background: var(--blue); border-color: var(--cyan); transition-delay: 0s !important; }
.purpose article:hover .eyebrow { color: #7FE3F7; }

/* Phones: Contact and Quote banners show title and subtitle */
@media (max-width: 680px) {
  .form-page .page-hero { padding-bottom: 1.1rem; }
  .form-page .page-hero p { display: block; margin-top: .35rem; font-size: .9375rem; line-height: 1.4; }
}

/* Service icons: ruled grid with hover sweep, no card boxes */
.icon-band { background: var(--white); }
.icon-grid { gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.icon-grid .icon-item { position: relative; overflow: hidden; gap: .85rem; padding: 1.8rem .9rem 1.5rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; background: none; color: var(--navy); }
.icon-grid .icon-item:hover { transform: none; box-shadow: none; }
.icon-grid .icon-item::before { content: ""; position: absolute; inset: 0; z-index: 0; background: rgba(0, 181, 223, .13); transform: scaleY(0); transform-origin: bottom; transition: transform .4s cubic-bezier(.22, 1, .36, 1); }
.icon-grid .icon-item::after { content: ""; position: absolute; inset: 0 0 auto; z-index: 1; height: 3px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .4s cubic-bezier(.22, 1, .36, 1); }
.icon-grid .icon-item:hover::before, .icon-grid .icon-item:focus-visible::before { transform: scaleY(1); }
.icon-grid .icon-item:hover::after, .icon-grid .icon-item:focus-visible::after { transform: scaleX(1); }
.icon-grid img, .icon-grid span { position: relative; z-index: 1; }
.icon-grid span { transition: color .25s, transform .3s var(--ease); }
.icon-grid .icon-item:hover img { transform: translateY(-5px) scale(1.08); }
.icon-grid .icon-item:hover span { color: var(--blue); transform: translateY(-2px); }
.js .icon-grid li.is-visible img { animation: icon-pop .65s var(--spring) both; animation-delay: var(--pop, 0s); }
@keyframes icon-pop { from { opacity: 0; transform: scale(.6) translateY(12px); } }
.icon-grid li:nth-child(6n+2) { --pop: .07s; }
.icon-grid li:nth-child(6n+3) { --pop: .14s; }
.icon-grid li:nth-child(6n+4) { --pop: .21s; }
.icon-grid li:nth-child(6n+5) { --pop: .28s; }
.icon-grid li:nth-child(6n) { --pop: .35s; }

/* Phones: shorter hero */
@media (max-width: 680px) {
  .hero { min-height: 68vh; min-height: 68svh; }
  .hero-content { padding-bottom: 2rem; }
  .hero-dots { top: auto; right: 1rem; bottom: 2.6rem; }
}

@media (max-width: 680px) { .hero-dots { bottom: .5rem; right: 1rem; } }

/* Hero small line: readable over the ship */
.hero-content p.hero-kicker { color: var(--white); font-weight: 600; font-size: 1.0625rem; text-shadow: 0 1px 3px rgba(8, 20, 36, .9), 0 0 16px rgba(8, 20, 36, .7); }
.hero-overlay { background: linear-gradient(180deg, rgba(16, 36, 61, .5) 0%, rgba(16, 36, 61, .05) 30%, rgba(16, 36, 61, .72) 58%, rgba(16, 36, 61, .94) 100%); }

/* Hero colour accents */
.hero-content p.hero-kicker { color: #5FDCF7; }
.hero-accent { color: #5FDCF7; font-style: normal; }

/* Phones: more breathing room on Contact and Quote */
@media (max-width: 680px) {
  .form-page .page-hero { padding-top: 6.75rem; padding-bottom: 1.75rem; }
  .form-page .page-hero h1 { font-size: 2.1rem; }
  .form-page .page-hero p { margin-top: .6rem; line-height: 1.5; }
  .form-page .form-first { padding-top: 1.75rem; }
  .form-page .contact-form { gap: 1.35rem; padding: 1.5rem 1.25rem; }
  .form-page .field { gap: .5rem; }
  .form-page .field textarea { min-height: 120px; }
}

/* White menu bar, logo without plate */
.header-inner, .site-header.is-solid .header-inner { border-color: rgba(16, 36, 61, .08); }
.header-inner::before, .site-header.is-solid .header-inner::before { background: var(--white); -webkit-backdrop-filter: none; backdrop-filter: none; }
.brand { padding: 0 .6rem; border-radius: 0; background: none; }
.brand img, .site-header.is-solid .brand img { height: 52px; }
.menu-toggle span, .site-header.is-solid .menu-toggle span { background: var(--navy); }
.nav-cta .btn { background: var(--blue) !important; color: var(--white) !important; }
.nav-cta .btn:hover { background: var(--navy) !important; }
@media (min-width: 1001px) {
  .nav-list > li > a:not(.btn), .dropdown-toggle, .site-header.is-solid .nav-list > li > a:not(.btn), .site-header.is-solid .dropdown-toggle { color: var(--navy); font-weight: 500; }
  .nav-list > li > a[aria-current] { color: var(--blue) !important; font-weight: 600; }
  .nav-list > li > a:not(.btn):hover { color: var(--blue) !important; }
  .nav-cta .btn { color: var(--white) !important; }
}
@media (max-width: 1000px) {
  .nav-cta .btn { color: var(--white) !important; }
  .primary-nav .nav-cta .btn:hover { background: var(--blue) !important; }
}

/* Phones: lighter, roomier text sections */
@media (max-width: 680px) {
  body { font-size: 1rem; line-height: 1.7; }
  h2 { font-size: 1.7rem; line-height: 1.25; }
  .about-grid { gap: 2.5rem; }
  .about-body h2 { margin-bottom: 1.15rem; }
  .eyebrow { margin-bottom: .75rem; }
  .lede { font-size: 1rem; line-height: 1.75; color: var(--navy); }
  .about-body > p:not(.eyebrow):not(.lede) { margin-top: 1.25rem; line-height: 1.75; }
  .benefits { gap: .85rem; margin-top: 1.9rem; padding: 1.35rem 1.25rem; border-radius: 14px; background: var(--white); font-size: .9375rem; font-weight: 500; }
  .about-body .btn { margin-top: 1.9rem; }
}

/* Home polish: consistent rhythm, form details, faster first paint */
body::after { animation-duration: .7s; animation-delay: 0s; }
.reviews { padding-bottom: clamp(2rem, 4vw, 3rem); }
.reviews .section-head, .icon-band .section-head { margin-bottom: 2.25rem; }
.clients { margin-top: 0; }
.icon-band { padding-block: clamp(4rem, 7vw, 6rem); }
.icon-grid img { width: auto; height: 62px; }
.quick-form .form-note { grid-column: 1 / -1; margin-top: -.6rem; color: var(--ink-soft); font-size: .9rem; }
.field abbr { color: #C0392B; text-decoration: none; }
.quick-form select:invalid, .quick-form select option[value=""] { color: var(--ink-soft); }
.about-body h2, .panel-intro h2, .section-head h2, .quick-intro h2 { text-wrap: balance; }
.about-body p, .section-head p, .panel-intro p, .quick-intro p { text-wrap: pretty; max-width: 62ch; }
@media (max-width: 680px) { .icon-grid img { height: 52px; } }

/* Layout rhythm: one vertical scale for every section, header aligned with content */
:root { --section-y: clamp(4.5rem, 8vw, 7rem); }
.section, .purpose, .services-panel, .quick-contact, .icon-band { padding-block: var(--section-y); }
.reviews { padding-bottom: calc(var(--section-y) * .6); }
.services-panel { margin: var(--panel-gutter) var(--panel-gutter) 0; }
.purpose + .services-panel { margin-top: var(--panel-gutter); }
.services-panel + .section { padding-top: var(--section-y); }
.site-footer { margin-top: var(--panel-gutter); }
.header-inner, .site-header.is-solid .header-inner { width: min(100% - 2rem, 1272px); }
.section-head { margin-bottom: clamp(2.25rem, 4vw, 3rem); }
.section-head h2 + p, .panel-intro h2 + p { margin-top: 1rem; }

/* Banner: content on the same left line as the logo, calmer scrim, CTA breathing room */
.hero { min-height: min(100svh, 920px); }
.hero-content { padding-bottom: clamp(4rem, 9vh, 6.5rem); }
.hero h1 { max-width: 22ch; font-size: clamp(2.4rem, 5.2vw, 4.5rem); line-height: 1.08; }
.hero-content p.hero-kicker { margin-bottom: 1.25rem; font-size: .9375rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-shadow: 0 1px 2px rgba(8, 20, 36, .6); }
.hero-actions { margin-top: 2.25rem; gap: 1rem; }
.hero-overlay { background: linear-gradient(180deg, rgba(16, 36, 61, .45) 0%, rgba(16, 36, 61, .05) 22%, rgba(16, 36, 61, .7) 50%, rgba(16, 36, 61, .94) 100%); }
.hero-dots { bottom: clamp(4rem, 9vh, 6.5rem); }
.trust-bar { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }

@media (max-width: 1000px) {
  .header-inner, .site-header.is-solid .header-inner { width: calc(100% - 1.5rem); }
  .hero-dots { top: auto; bottom: 1.25rem; right: 1rem; }
}
@media (max-width: 680px) {
  :root { --section-y: 3.75rem; }
  .hero { min-height: 82svh; }
  .hero-content { padding-bottom: 3.5rem; }
  .hero h1 { font-size: 2.3rem; }
  .hero-content p.hero-kicker { font-size: .8125rem; letter-spacing: .1em; }
}

/* Logo: larger and crisp so the company name can be read */
.header-inner, .site-header.is-solid .header-inner { height: 78px; padding-left: .4rem; }
.brand { padding: 0 .5rem; }
.brand img, .site-header.is-solid .brand img { height: 66px; width: auto; image-rendering: -webkit-optimize-contrast; }
.footer-logo img { width: 140px; }
@media (max-width: 1000px) {
  .header-inner, .site-header.is-solid .header-inner { height: 68px; }
  .brand img, .site-header.is-solid .brand img { height: 56px; }
}

/* Section spacing: same gap between every block; two plain sections in a row share one gap */
.reviews { padding-bottom: var(--section-y); }
.approach + .reviews { padding-top: 0; }
html { scroll-padding-top: 104px; }

/* Home: branch addresses */
.quick-list address { font-style: normal; font-weight: 500; line-height: 1.5; }
.quick-list li { grid-template-columns: 7rem 1fr; }
.footer-branches { margin-bottom: 1.4rem; font-size: .9375rem; line-height: 1.55; }
.footer-branches strong { display: block; margin-bottom: .35rem; color: var(--white); font-weight: 600; }
.footer-branches p + p { margin-top: .35rem; }
@media (max-width: 680px) { .quick-list li { grid-template-columns: 1fr; gap: .2rem; } }

/* Home services: single section, heading left, intro + button right */
.section-head-split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: end; gap: 1.5rem clamp(2rem, 5vw, 4.5rem); max-width: none; }
.section-head-split h2 { margin: 0; }
.section-head-split p { margin: 0 0 1.4rem; color: var(--ink-soft); }
.icon-band { margin: 0 var(--panel-gutter); border-radius: var(--radius-lg); }
@media (max-width: 1000px) { .section-head-split { grid-template-columns: minmax(0, 1fr); align-items: start; } }

/* Gap between the contact panel and the footer photo */
.site-footer { margin-top: clamp(3.5rem, 7vw, 6rem); }

/* Get a Quote popup */
body.modal-open { overflow: hidden; }
.quote-modal { width: min(100% - 2rem, 760px); max-height: calc(100dvh - 2rem); padding: 0; border: 0; border-radius: var(--radius); background: var(--white); color: var(--navy); box-shadow: 0 40px 90px rgba(8, 20, 36, .45); overflow: hidden; opacity: 0; transform: translateY(24px) scale(.97); transition: opacity .25s var(--ease), transform .3s var(--ease); }
.quote-modal.is-open { opacity: 1; transform: none; }
.quote-modal::backdrop { background: rgba(10, 24, 42, .7); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.quote-modal-inner { max-height: calc(100dvh - 2rem); overflow-y: auto; overscroll-behavior: contain; }
.quote-modal-head { position: relative; display: flex; justify-content: space-between; gap: 1rem; padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.25rem, 3vw, 2.25rem) 1.25rem; background: var(--navy); color: rgba(255, 255, 255, .85); }
.quote-modal-head .eyebrow { margin-bottom: .5rem; color: var(--cyan); }
.quote-modal-head h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2rem); }
.quote-modal-head p:not(.eyebrow) { margin-top: .5rem; font-size: .9375rem; }
.quote-close { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; background: none; color: var(--white); cursor: pointer; transition: background-color .2s, transform .25s var(--ease); }
.quote-close:hover { background: rgba(255, 255, 255, .12); transform: rotate(90deg); }
.quote-modal-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; padding: clamp(1.25rem, 3vw, 2.25rem); }
.quote-modal-form .field label { color: var(--navy); font-weight: 600; }
.quote-modal-form .field input, .quote-modal-form .field select, .quote-modal-form .field textarea { border-color: var(--line); background: var(--mist); color: var(--navy); }
.quote-modal-form .field input:focus, .quote-modal-form .field select:focus, .quote-modal-form .field textarea:focus { border-color: var(--blue); }
.quote-modal-form .field textarea { min-height: 110px; }
.quote-modal-form .btn { grid-column: 1 / -1; width: 100%; justify-content: space-between; }
@media (max-width: 680px) { .quote-modal-form { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .quote-modal { transition: none; } }

/* Readability: nothing body-level below 14px on any screen */
.eyebrow { font-size: .8125rem; letter-spacing: .12em; }
.facts dd { font-size: .875rem; line-height: 1.4; color: rgba(255, 255, 255, .92); }
.icon-grid span { font-size: .9375rem; line-height: 1.4; }
.field label, .quick-form .field label, .quick-modal-form .field label { font-size: .9375rem; }
.quick-list span { font-size: .875rem; letter-spacing: .02em; }
.quick-form .form-note { font-size: .9375rem; }
.steps p, .footer-branches, .footer-base { font-size: 1rem; }
@media (max-width: 680px) {
  .eyebrow { font-size: .8125rem; }
  .facts dd { font-size: .8125rem; }
  .facts dt { font-size: 2.4rem; }
  .hero-content p.hero-kicker { font-size: .875rem; }
  .icon-grid span { font-size: .875rem; }
  .steps p { font-size: 1rem; }
  .field input, .field select, .field textarea { font-size: 16px; } /* stops iOS zooming into fields */
}

/* Short quote popup */
.quote-modal { width: min(100% - 2rem, 560px); }
.quote-modal-form { gap: .9rem 1rem; }
.quote-modal-form .field textarea { min-height: 84px; }
.quote-modal-form .optional { color: var(--ink-soft); font-weight: 400; }
.quote-modal-form .field:first-of-type { grid-column: 1 / -1; }
@media (max-width: 680px) {
  .quote-modal-head { padding: 1.1rem 1.1rem .9rem; }
  .quote-modal-head .eyebrow { display: none; }
  .quote-modal-head h2 { font-size: 1.35rem; }
  .quote-modal-head p:not(.eyebrow) { margin-top: .3rem; font-size: .875rem; line-height: 1.45; }
  .quote-close { width: 40px; height: 40px; }
  .quote-modal-form { gap: .7rem; padding: 1rem 1.1rem 1.1rem; }
  .quote-modal-form .field { gap: .3rem; }
  .quote-modal-form .field input, .quote-modal-form .field select { min-height: 44px; }
  .quote-modal-form .field textarea { min-height: 70px; }
}

/* Multiple phone numbers */
.phones { display: flex; flex-direction: column; gap: .2rem; }
.quick-list .phones { color: var(--white); font-size: 1rem; font-weight: 600; letter-spacing: 0; }

/* Header: full-width white bar, larger logo */
.site-header, .site-header.is-solid { top: 0; background: var(--white) !important; box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(16, 36, 61, .08) !important; transition: box-shadow .3s; }
.header-inner, .site-header.is-solid .header-inner { width: min(100% - 3rem, 1240px); height: 92px; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: none; transition: height .3s var(--ease); }
.header-inner::before { display: none; }
.site-header.is-solid .header-inner { height: 78px; }
.brand { padding: 0; }
.brand img { height: 80px !important; transition: height .3s var(--ease); }
.site-header.is-solid .brand img { height: 66px !important; }
@media (min-width: 1001px) {
  .nav-list > li.nav-cta { right: 0; }
}
@media (max-width: 1000px) {
  .header-inner, .site-header.is-solid .header-inner { width: calc(100% - 2rem); height: 74px; }
  .brand img, .site-header.is-solid .brand img { height: 62px !important; }
}
html { scroll-padding-top: 110px; }

/* Slider panel followed by core specialisations */
.services-panel + .icon-band { margin-top: var(--panel-gutter); }
.icon-grid-core .icon-item { padding: 2.2rem 1rem 1.9rem; }
.icon-grid-core img { height: 76px; }
.icon-grid-core span { font-size: 1rem; }
@media (max-width: 680px) { .icon-grid-core img { height: 60px; } .icon-grid-core span { font-size: .9375rem; } }

/* Slider arrows: circular buttons */
.slide-arrows { gap: .75rem; margin-top: 1.5rem; }
.slide-arrows button { display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 1.5px solid rgba(255, 255, 255, .55); border-radius: 50%; background: transparent; color: var(--white); font-size: 1.25rem; line-height: 1; transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease), opacity .25s; }
.slide-arrows button:hover:not(:disabled) { background: var(--white); border-color: var(--white); color: var(--blue); transform: translateY(-2px); }
.slide-arrows #slidePrev:hover:not(:disabled) { transform: translateY(-2px); }
.slide-arrows button:focus-visible { outline: 2px solid #7FE3F7; outline-offset: 3px; }
.slide-arrows button:disabled { opacity: .35; }
@media (max-width: 680px) { .slide-arrows button { width: 46px; height: 46px; } }

/* Location pins */
.quick-list li.loc > span { display: inline-flex; align-items: flex-start; gap: .45rem; }
.quick-list .pin { flex: none; width: 18px; height: 18px; margin-top: .05rem; fill: none; stroke: var(--cyan); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.quick-list li.loc address { padding-left: 0; }
.footer-branches .footer-contact { margin-top: .5rem; }
.footer-branches .footer-contact li { margin-bottom: .6rem; }
.site-footer svg.pin { flex: none; width: 21px; height: 21px; fill: none; stroke: var(--cyan); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.footer-branches a { color: var(--white); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.footer-branches .loc-name { color: var(--white); font-weight: 600; }

/* About page */
.about-banner { isolation: isolate; }
.about-banner::before { z-index: 1; }
.about-banner .wrap { z-index: 2; }
.about-banner .breadcrumb a { color: var(--white); }
.about-banner-img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.about-copy > * + * { margin-top: 1rem; }
.about-copy .eyebrow + h2 { margin-top: 0; }
.about-copy h2 { margin-bottom: 1.25rem; }

/* Image drop-down: the picture unrolls from its top edge when it comes into view */
@keyframes banner-drop { from { clip-path: inset(0 0 100% 0); transform: translateY(-6%) scale(1.08); } to { clip-path: inset(0 0 0 0); transform: none; } }
.js .about-banner-img { animation: banner-drop 1.3s .55s cubic-bezier(.22, 1, .36, 1) both; }
.js .reveal.drop-reveal { opacity: 1; transform: none; }
.js .reveal.drop-reveal .about-photo { clip-path: inset(0 0 100% 0 round 32px); transform: translateY(-36px); transition: clip-path 1.2s cubic-bezier(.22, 1, .36, 1), transform 1.2s cubic-bezier(.22, 1, .36, 1); }
.js .reveal.drop-reveal.is-visible .about-photo { clip-path: inset(0 0 0 0 round 32px); transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .about-banner-img { animation: none; }
  .js .reveal.drop-reveal .about-photo { clip-path: none; transform: none; transition: none; }
}


/* About: photo beside stacked value cards */
.about-values .section-head { margin-bottom: 1.5rem; }
.about-values .feature-grid { grid-template-columns: 1fr; gap: 1rem; }
.about-values .feature { padding: 1.4rem 1.6rem; }

/* Quick contact: both columns start on the same line */
.quick-grid { align-items: start; }

/* Service cards */
.service-list { align-items: stretch; gap: 1.5rem; }
.service-item { padding: .75rem; border: 1px solid var(--line); box-shadow: none; }
.service-item:hover { border-color: var(--cyan); }
.service-media { position: relative; display: block; overflow: hidden; border-radius: 14px; aspect-ratio: 16 / 10; background: var(--mist); }
.service-item .service-media img { display: block; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.service-item > div { align-items: flex-start; gap: .6rem; padding: 1.15rem .6rem .5rem; }
.service-item h2, .service-item h3 { font: 500 1.2rem/1.3 var(--display); letter-spacing: 0; }
.service-item h2 a, .service-item h3 a { color: var(--navy); text-decoration: none; }
.service-item h2 a:hover, .service-item h3 a:hover { color: var(--blue); }
.service-item p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.service-link { display: inline-flex; align-items: center; gap: .7rem; margin-top: auto; padding-top: .5rem; color: var(--blue); font-weight: 600; text-decoration: none; }
.service-link::after { content: "→"; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: var(--white); transition: transform .3s var(--ease), background-color .3s; }
.service-link:hover::after { background: var(--navy); transform: translateX(4px); }
.js .service-item.reveal.card-rise { opacity: 1; transform: none; }
.js .service-media img { clip-path: inset(0 0 100% 0); transform: translateY(-92%); transition: clip-path 1.1s cubic-bezier(.22, 1, .36, 1) var(--drop-delay, 0s), transform 1.1s cubic-bezier(.22, 1, .36, 1) var(--drop-delay, 0s); }
.js .service-media.is-dropped img { clip-path: inset(0 0 0 0); transform: none; }
.js .service-item:hover .service-media.is-dropped img { transform: scale(1.05); transition: transform .7s var(--ease); }

/* Service inner pages */
.service-hero { position: relative; overflow: hidden; margin: 0 var(--panel-gutter); padding-block: calc(92px + clamp(2rem, 4vw, 3.5rem)) clamp(3rem, 6vw, 5rem); min-height: clamp(380px, 44vw, 500px); border-radius: 0 0 var(--radius-lg) var(--radius-lg); background: var(--navy); color: var(--white); }
.service-hero-grid { display: grid; grid-template-columns: minmax(0, 48%); align-items: center; }
.service-hero .breadcrumb a { color: var(--white); }
.service-hero h1 { margin-bottom: 1.75rem; color: var(--white); font: 500 clamp(2rem, 4vw, 3.25rem)/1.14 var(--display); }
.service-hero-img { position: absolute; top: 0; right: 0; bottom: 0; display: block; width: 46%; height: 100%; object-fit: cover; }
.js .service-hero-img { animation: banner-drop 1.2s .55s cubic-bezier(.22, 1, .36, 1) both; }
.service-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
.service-article { min-width: 0; }
.service-article > * + * { margin-top: 1.1rem; }
.service-article > h2:first-child { margin-top: 0; }
.service-article h2 { margin-top: 2rem; padding-left: .9rem; border-left: 3px solid var(--cyan); color: var(--navy); font: 500 1.25rem/1.3 var(--display); }
.service-article p { color: var(--ink-soft); line-height: 1.75; }
.service-article h2 + p { margin-top: .6rem; }
.service-points { display: grid; gap: .75rem; margin-top: 1.5rem; padding: 0; list-style: none; }
.service-points li { position: relative; padding-left: 1.6rem; color: var(--ink-soft); line-height: 1.65; }
.service-points li::before { content: ""; position: absolute; top: .55em; left: 0; width: 9px; height: 9px; background: var(--cyan); transform: rotate(45deg); }
.service-aside { position: sticky; top: 112px; display: grid; gap: 1rem; justify-items: start; padding: 2rem; border-radius: var(--radius); background: var(--navy); color: rgba(255, 255, 255, .85); }
.service-aside h2 { color: var(--white); font: 500 1.4rem/1.25 var(--display); }
.service-aside ul { display: grid; gap: .35rem; margin: .25rem 0 0; padding: 0; list-style: none; }
.service-aside ul a { color: var(--white); text-decoration: none; overflow-wrap: anywhere; }
.service-aside ul a:hover { color: var(--cyan); }
.service-more-title { margin-bottom: 2rem; color: var(--navy); font: 500 clamp(1.6rem, 2.6vw, 2.1rem)/1.2 var(--display); }
@media (max-width: 900px) {
  .service-hero { padding-top: calc(76px + 2rem); }
  .service-layout { grid-template-columns: minmax(0, 1fr); }
  .service-hero { min-height: 0; padding-bottom: 0; }
  .service-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .service-hero-img { position: static; width: calc(100% + 3rem); max-width: none; height: auto; margin-inline: -1.5rem; aspect-ratio: 16 / 10; }
  .service-aside { position: static; }
}
@media (prefers-reduced-motion: reduce) {
  .js .service-media img { clip-path: none; transform: none; transition: none; }
  .js .service-hero-img { animation: none; }
}

/* Contact page */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
.contact-copy > * + * { margin-top: 1rem; }
.contact-copy .eyebrow + h2 { margin-top: 0; }
.contact-copy .btn { margin-top: 1.75rem; }
.contact-list { display: grid; gap: 1rem; margin-top: 1.75rem; padding: 0; list-style: none; }
.contact-list li { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 1rem; padding: 1.25rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.contact-list span { color: var(--cyan-text); font-weight: 600; }
.contact-list div { display: grid; gap: .3rem; }
.contact-list a { color: var(--navy); font-weight: 500; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--blue); }
.contact-layout .quick-form { box-shadow: 0 18px 44px rgba(16, 36, 61, .1); }
.contact-map-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.contact-address { color: var(--ink-soft); font-size: 1.0625rem; font-style: normal; line-height: 1.7; }
.contact-map-grid .map-frame { height: clamp(320px, 34vw, 440px); margin: 0; }
.office-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.office-card { padding: .75rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.office-card .about-photo { aspect-ratio: 16 / 9; border-radius: 14px; box-shadow: none; }
.js .office-card .reveal.drop-reveal .about-photo { clip-path: inset(0 0 100% 0 round 14px); }
.js .office-card .reveal.drop-reveal.is-visible .about-photo { clip-path: inset(0 0 0 0 round 14px); }
@media (prefers-reduced-motion: reduce) { .js .office-card .reveal.drop-reveal .about-photo { clip-path: none; } }
.office-body { display: grid; gap: .5rem; padding: 1.15rem .6rem .5rem; }
.office-body h3 { color: var(--navy); font: 500 1.35rem/1.3 var(--display); }
.office-body address { color: var(--ink-soft); font-style: normal; line-height: 1.65; }
.office-body a { justify-self: start; color: var(--blue); font-weight: 600; text-decoration: none; }
.office-body a:hover { text-decoration: underline; }
@media (max-width: 900px) {
  .contact-layout, .contact-map-grid, .office-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-layout .quick-form { order: -1; }
}
@media (max-width: 680px) {
  .contact-banner { min-height: 340px; padding-top: 7.5rem; padding-bottom: 2.25rem; }
  .contact-banner .about-banner-img { object-position: 58% 50%; }
  .contact-banner .breadcrumb { margin-bottom: .75rem; }
  .contact-banner h1 { font-size: 2rem; line-height: 1.15; }
  .contact-banner p:not(.breadcrumb) { display: none; }
  .contact-layout { gap: 2.5rem; }
  .contact-list li { grid-template-columns: minmax(0, 1fr); gap: .35rem; padding: 1.1rem 1.25rem; }
}

/* Service banner: photo stays close to its natural size so it remains sharp */
@media (min-width: 900.02px) {
  .service-hero-grid { grid-template-columns: minmax(0, 52%); }
  .service-hero h1 { font-size: clamp(2rem, 3.3vw, 2.9rem); }
  .service-hero-img { width: min(42%, 560px); }
}

/* Buttons on phones: compact and sized to their label */
@media (max-width: 680px) {
  .hero-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
  .btn:not(.nav-cta .btn) { display: inline-flex; width: auto; min-height: 44px; padding: .25rem .3rem .25rem 1.1rem; gap: .55rem; justify-content: flex-start; justify-self: start; font-size: .9375rem; }
  .btn:not(.nav-cta .btn)::after { width: 34px; height: 34px; font-size: .9375rem; }
  .hero-actions .btn { flex: 0 0 auto; }
  .nav-cta .btn { width: auto; min-height: 44px; padding: .4rem 1.25rem; font-size: .9375rem; }
  .slide-arrows button { width: 44px; height: 44px; }
}

/* One left edge on every screen: page content lines up with text inside the rounded panels */
.wrap { width: min(100% - 2 * (1.5rem + var(--panel-gutter)), 1240px); }
.services-panel .wrap, .icon-band .wrap, .quick-contact .wrap, .cta-band .wrap { width: min(100% - 3rem, 1240px); }
@media (max-width: 680px) {
  .wrap { width: calc(100% - 2 * (1rem + var(--panel-gutter))); }
  .services-panel .wrap, .icon-band .wrap, .quick-contact .wrap, .cta-band .wrap { width: calc(100% - 2rem); }
  .about-banner:not(.contact-banner) { min-height: 0; padding-top: 7rem; padding-bottom: 2rem; }
}

.error-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Inner page banners run edge to edge */
.page-hero, .service-hero { margin-inline: 0; border-radius: 0; }
@media (max-width: 900px) {
  .service-hero-img { width: 100vw; margin-inline: calc(50% - 50vw); }
}

/* About page: paragraphs share one size */
.about-copy .lede, .about-copy > p:not(.eyebrow) { font-size: 1.0625rem; line-height: 1.7; }

/* Home page: group of companies */
.group { padding-top: 0; }
.group-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.group-card { display: grid; place-items: center; height: 100%; min-height: 220px; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); }
.group-card img { display: block; width: auto; max-width: 100%; max-height: 170px; }
.group-card-light { background: #F8F9FA; transition: border-color .3s, transform .3s var(--ease); }
.group-card-light:hover { border-color: var(--cyan); transform: translateY(-4px); }
.group-card-dark { border-color: #0F172B; background: #0F172B;; transition: border-color .3s, transform .3s var(--ease); }
.group-card-dark:hover { border-color: var(--cyan); transform: translateY(-4px); }
.group-card-white { background: #FFFFFF; transition: border-color .3s, transform .3s var(--ease); }
.group-card-white:hover { border-color: var(--cyan); transform: translateY(-4px); }
@media (min-width: 900px) {
  .group-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 681px) and (max-width: 899px) {
  .group-grid li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .group-grid { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .group-card { min-height: 180px; }
  .group-card img { max-height: 130px; }
}

.footer-branches a[href^="tel"] { font-weight: 400; text-decoration: none; }

/* About page, stacked layout: Mission photo comes before its text */
@media (max-width: 1000px) {
  .alt-bg .about-grid > .drop-reveal { order: -1; }
}

/* Service pages: photo inside the written content */
.service-article .service-figure { margin-block: 1.75rem; }
.service-article .service-figure:last-child { margin-bottom: 0; }
.service-figure .about-photo { aspect-ratio: 16 / 9; border-radius: var(--radius); box-shadow: 0 16px 36px rgba(16, 36, 61, .12); }
.js .service-figure.reveal.drop-reveal .about-photo { clip-path: inset(0 0 100% 0 round 20px); }
.js .service-figure.reveal.drop-reveal.is-visible .about-photo { clip-path: inset(0 0 0 0 round 20px); }
@media (prefers-reduced-motion: reduce) { .js .service-figure.reveal.drop-reveal .about-photo { clip-path: none; } }

/* Service photos on the home slider and service cards: whole image visible, never cropped */
.slide a { display: flex; flex-direction: column; background: var(--navy); }
.slide img { flex: none; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; background: var(--navy); }
.slide:hover img { transform: none; }
.slide span, .slide:hover span { position: static; display: flex; flex: 1; align-items: center; justify-content: center; padding: .9rem 1rem; background: none; }
.service-media { aspect-ratio: 3 / 2; background: var(--navy); }
.service-item .service-media img { object-fit: contain; }
.js .service-item:hover .service-media.is-dropped img { transform: none; }

/* Service photos: every card the same size, photo fills it */
.slide { display: flex; flex: 0 0 clamp(300px, 26vw, 380px); width: auto; height: auto; }
.slide a { flex: 1; min-width: 0; height: auto; }
.slide img { width: 100%; max-width: none; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.slide span, .slide:hover span { box-sizing: border-box; width: auto; min-width: 0; min-height: 5.5rem; }
@media (max-width: 680px) {
  .slide { flex: 0 0 min(80vw, 300px); height: auto; }
  .slide span, .slide:hover span { font-size: 1rem; }
}
.service-list { grid-auto-rows: 1fr; }
.service-media { aspect-ratio: 16 / 9; }
.service-item .service-media img { object-fit: cover; }

/* Service banners: photo fills a wide area */
.service-hero-media { position: absolute; top: 92px; right: 0; bottom: 0; overflow: hidden; width: min(55%, 760px); background: var(--navy); }
.service-hero-media .service-hero-img { position: relative; inset: auto; z-index: 1; width: 100%; height: 100%; max-width: none; margin: 0; object-fit: cover; }
@media (min-width: 900.02px) {
  .service-hero-grid { grid-template-columns: minmax(0, 42%); }
}
@media (max-width: 900px) {
  .service-hero-media { position: relative; top: 0; width: 100vw; margin-inline: calc(50% - 50vw); }
  .service-hero-media .service-hero-img { width: 100%; height: auto; aspect-ratio: auto; }
}

/* Phones: one full card at a time on the home slider */
@media (max-width: 680px) {
  .slide { flex: 0 0 100%; }
}

/* Phones and tablets: every service banner photo the same shape */
@media (max-width: 900px) {
  .service-hero-media .service-hero-img { aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 25%; }
}

/* Home services slider: whole cards only, titles aligned to the photo's edge */
.slide { flex: 0 0 calc((100% - 20px) / 2); }
.slide span, .slide:hover span { justify-content: flex-start; padding: 1rem 1.25rem; text-align: left; }
@media (max-width: 680px) {
  .slide { flex: 0 0 100%; }
  .slide img { aspect-ratio: auto 16 / 9; height: auto; }
}

/* All service cards: identical 4:3 image frame, photo fills it */
.service-card-image { flex: none; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; }
.slide .service-card-image img { display: block; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: center; }
.service-media { aspect-ratio: 4 / 3; }
.service-item .service-media img { height: 100%; object-fit: cover; object-position: center; }

/* Our Services: left-side text sits 36px higher when beside the slider */
@media (min-width: 1001px) {
  .panel-intro { position: relative; top: -36px; }
}

/* Tablet landscape, where the header is shorter: banner photo meets the header, text centred beside it */
@media (min-width: 900.02px) and (max-width: 1000px) {
  .service-hero { display: flex; align-items: center; padding-block: calc(74px + 2rem) 2rem; }
  .service-hero-media { top: 74px; }
}

/* Home hero: each photo is framed on its ship */
.hero-slide.hero-photo-1 { background-position: 50% 58%; }
.hero-slide.hero-photo-2 { background-position: 50% 45%; }
.hero-slide.hero-photo-3 { background-position: 50% 50%; }
@media (max-width: 767.98px) {
  .hero-slide.hero-photo-1 { background-position: 45% center; }
  .hero-slide.hero-photo-2 { background-position: 45% center; }
  .hero-slide.hero-photo-3 { background-position: 52% center; }
}
@media (min-width: 768px) and (max-width: 1100px) {
  .hero-slide.hero-photo-3 { background-position: 40% center; }
}

/* Home hero: a two-line headline for each photo. All three share one grid cell, so nothing jumps when they change */
.hero-headlines { display: grid; }
.hero-content .hero-title { grid-area: 1 / 1; max-width: none; margin: 0; color: var(--white); font: 500 min(7.2vw, 4.25rem)/1.14 var(--display); letter-spacing: 0; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .25s ease, transform .25s ease, visibility 0s .25s; }
.hero-content .hero-title.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .6s ease .3s, transform .6s ease .3s, visibility 0s .3s; }
.hero-content .hero-title .line { display: block; overflow: visible; padding: 0; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  .hero-content .hero-title { transform: none !important; }
}

/* Phones: full photo behind the text, large headline that wraps */
@media (max-width: 767.98px) {
  .hero { padding-top: 96px; }
  .hero-slides { top: 0; bottom: 0; transform: none !important; }
  .hero-slide, .hero-slide.is-active { transform: none; background-size: cover; }
  .hero-slide.hero-photo-1 { background-image: url('../images/hero1-mobile.jpg') !important; background-position: center; }
  .hero-slide.hero-photo-2 { background-image: url('../images/hero2-mobile.jpg') !important; background-position: center; }
  .hero-slide.hero-photo-3 { background-image: url('../images/hero3-mobile.jpg') !important; background-position: center; }
  .hero-overlay { background: linear-gradient(180deg, rgba(16, 36, 61, .2) 0%, rgba(16, 36, 61, .1) 18%, rgba(16, 36, 61, .62) 34%, rgba(16, 36, 61, .9) 100%); }
  .hero-headlines { grid-template-columns: minmax(0, 1fr); align-items: end; }
  .hero-content .hero-title { font-size: clamp(1.75rem, 9.8vw, 3rem); font-weight: 600; line-height: 1.14; }
  .hero-content .hero-title .line { white-space: normal; }
}

/* Home hero: a different small line for each photo */
.hero-content p.hero-kicker { display: grid; grid-template-columns: minmax(0, 1fr); align-items: end; }
.hero-kick { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s .25s; }
.hero-kick.is-active { opacity: 1; visibility: visible; transition: opacity .6s ease .3s, visibility 0s .3s; }

/* Hero edge cases: large phones keep two even lines, landscape phones clear the header */
@media (min-width: 500px) and (max-width: 767.98px) {
  .hero-content .hero-title { font-size: min(7.4vw, 3rem); }
}
@media (min-width: 768px) and (max-height: 520px) {
  .hero { min-height: 0; padding-top: 112px; }
  .hero-content .hero-title { font-size: min(6vw, 3rem); }
}