/* ==========================================================================
   Tanco Transport Inc. — site styles
   ========================================================================== */

/* ---------- fonts (self-hosted, latin subset) ---------- */
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/poppins-400.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/poppins-500.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/poppins-600.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/poppins-700.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Fallback sized to Poppins' metrics so text doesn't jump when the font arrives. */
@font-face { font-family: 'Poppins Fallback'; src: local('Arial'); size-adjust: 112%; ascent-override: 93%; descent-override: 31%; line-gap-override: 9%; }

:root {
  --blue: #2F6AF1;
  --blue-dark: #1E54D6;
  --blue-tint: #EAF0FE;
  --ink: #0B0D12;
  --grey-900: #171A21;
  --grey-800: #252A33;
  --grey-700: #474D59;
  --grey-500: #757B87;
  --grey-300: #C9CED6;
  --grey-200: #E3E6EB;
  --grey-100: #F3F5F8;
  --white: #FFFFFF;
  --danger: #C62828;
  --success: #1B7F4B;

  --font: 'Poppins', 'Poppins Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(11, 13, 18, .08);
  --shadow-lg: 0 20px 50px rgba(11, 13, 18, .14);
  --container: 1200px;
  --gutter: 20px;
  --section: clamp(56px, 8vw, 104px);
  --header-h: 88px;
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--grey-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--font); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--blue); color: var(--white); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.skip-link:focus { top: 12px; color: var(--white); }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section-grey { background: var(--grey-100); }
.section-dark { background: var(--ink); color: var(--grey-300); }
.section-dark h2, .section-dark h3 { color: var(--white); }

.eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.section-head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head p { font-size: 1.05rem; }
.lead { font-size: 1.125rem; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 26px;
  font: 600 .98rem/1.2 var(--font);
  border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 8px 20px rgba(47, 106, 241, .3); }
.btn-primary:hover { background: var(--blue-dark); color: var(--white); transform: translateY(-1px); }
.btn-outline-light { border-color: rgba(255, 255, 255, .7); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { background: var(--grey-100); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow::after { content: '→'; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- utility bar ---------- */

.utility-bar { background: var(--ink); color: var(--grey-300); font-size: .85rem; }
.utility-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.utility-tagline { margin: 0; }
.utility-meta { display: flex; gap: 22px; align-items: center; }
.utility-meta a, .utility-meta > span { display: inline-flex; align-items: center; gap: 7px; color: var(--white); text-decoration: none; }
.utility-meta a:hover { color: var(--white); text-decoration: underline; }
.utility-meta svg { width: 15px; height: 15px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--grey-200);
  transition: background-color .25s, box-shadow .25s, border-color .25s;
}
.header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: block; flex-shrink: 0; }
.brand img { height: 66px; width: auto; }
.logo-on-dark { display: none !important; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 4px; }
.nav-list > li > a, .nav-split > a {
  display: inline-flex; align-items: center; height: var(--header-h);
  padding: 0 14px; color: var(--ink); font-weight: 500; font-size: .97rem; text-decoration: none;
}
.nav-list > li > a:hover, .nav-split > a:hover,
.nav-list a[aria-current="page"], .has-mega.is-active .nav-split > a { color: var(--blue); }
.nav-split { display: flex; align-items: center; }
.nav-split > a { padding-right: 2px; }
.mega-toggle { background: none; border: 0; padding: 6px; margin-right: 6px; cursor: pointer; color: inherit; display: inline-flex; border-radius: 6px; }
.mega-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; transition: transform .2s; }
.nav-split { color: var(--ink); }

/* services dropdown: four columns, each service with its options */
.has-mega { position: static; }
.mega { position: absolute; right: var(--gutter); top: 100%; padding-top: 6px; transform: translateY(6px); opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s; }
.mega-panel { width: min(940px, calc(100vw - 2 * var(--gutter))); background: var(--white); border: 1px solid var(--grey-200); border-radius: 14px; box-shadow: 0 18px 40px rgba(11, 13, 18, .12); padding: 28px 28px 0; }
.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.mega-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; margin-bottom: 8px; border-bottom: 1px solid var(--grey-200); text-decoration: none; }
.dd-icon { width: 36px; height: 36px; border-radius: 9px; background: var(--blue-tint); display: grid; place-items: center; flex-shrink: 0; transition: background-color .15s; }
.dd-icon svg, .card-icon svg, .icon svg { width: 20px; height: 20px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; transition: stroke .15s; }
.mega-name { color: var(--ink); font-weight: 600; font-size: .95rem; line-height: 1.25; transition: color .15s; }
.mega-head:hover .mega-name, .mega-head.is-current .mega-name { color: var(--blue); }
.mega-head:hover .dd-icon { background: var(--blue); }
.mega-head:hover .dd-icon svg { stroke: var(--white); }
.mega-links { list-style: none; display: grid; gap: 2px; }
.mega-links a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 8px; margin: 0 -8px; border-radius: 7px; color: var(--grey-700); font-size: .88rem; line-height: 1.35; text-decoration: none; transition: background-color .15s, color .15s; }
.mega-links a::after { content: '→'; color: var(--blue); opacity: 0; transform: translateX(-4px); transition: opacity .15s, transform .15s; }
.mega-links a:hover { background: var(--grey-100); color: var(--ink); }
.mega-links a:hover::after { opacity: 1; transform: none; }
.mega-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 24px -28px 0; padding: 16px 28px; border-top: 1px solid var(--grey-200); background: var(--grey-100); border-radius: 0 0 14px 14px; }
.mega-all { font-weight: 600; font-size: .9rem; color: var(--ink); text-decoration: none; }
.mega-all:hover { color: var(--blue); }
.mega-quote { font-weight: 600; font-size: .9rem; color: var(--blue); text-decoration: none; }
.mega-quote:hover { text-decoration: underline; }

/* nav underline hover */
.nav-list > li > a, .nav-split > a { position: relative; }
.nav-list > li > a::after, .nav-split > a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: calc(50% - 18px); height: 2px; border-radius: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav-split > a::after { right: 2px; }
.nav-list > li > a:hover::after, .nav-split > a:hover::after, .nav-list a[aria-current="page"]::after, .has-mega.is-active .nav-split > a::after { transform: scaleX(1); }

@media (min-width: 1025px) {
  .has-mega:focus-within .mega, .has-mega.open .mega { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .2s ease, visibility 0s; }
  .has-mega.open .mega-toggle svg { transform: rotate(180deg); }
}

/* header over the home hero */
.has-hero .site-header { position: absolute; top: auto; left: 0; right: 0; background: transparent; border-color: transparent; }
.has-hero .site-header .logo-on-dark { display: block !important; }
.has-hero .site-header .logo-on-light { display: none; }
.has-hero .site-header .nav-list > li > a,
.has-hero .site-header .nav-split,
.has-hero .site-header .nav-split > a { color: var(--white); }
.has-hero .site-header .nav-list > li > a:hover,
.has-hero .site-header .nav-split > a:hover { color: #A9C2FA; }
.has-hero .site-header.is-solid,
.has-hero.nav-open .site-header { position: fixed; top: 0; background: var(--white); border-color: var(--grey-200); box-shadow: var(--shadow); }
.has-hero .site-header.is-solid .logo-on-dark,
.has-hero.nav-open .site-header .logo-on-dark { display: none !important; }
.has-hero .site-header.is-solid .logo-on-light,
.has-hero.nav-open .site-header .logo-on-light { display: block; }
.has-hero .site-header.is-solid .nav-list > li > a,
.has-hero .site-header.is-solid .nav-split,
.has-hero .site-header.is-solid .nav-split > a { color: var(--ink); }
.has-hero .site-header.is-solid .nav-list > li > a:hover,
.has-hero .site-header.is-solid .nav-split > a:hover { color: var(--blue); }

/* mobile nav */
.nav-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: var(--radius-sm); background: transparent; cursor: pointer; position: relative; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
  position: absolute; left: 11px; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; content: ''; transition: transform .25s, background-color .25s;
}
.nav-toggle .bars { top: 22px; }
.nav-toggle .bars::before { left: 0; top: -7px; }
.nav-toggle .bars::after { left: 0; top: 7px; }
.has-hero .site-header:not(.is-solid) .nav-toggle .bars,
.has-hero .site-header:not(.is-solid) .nav-toggle .bars::before,
.has-hero .site-header:not(.is-solid) .nav-toggle .bars::after { background: var(--white); }
.has-hero.nav-open .site-header .nav-toggle .bars::before,
.has-hero.nav-open .site-header .nav-toggle .bars::after { background: var(--ink); }
.nav-open .nav-toggle .bars { background: transparent !important; }
.nav-open .nav-toggle .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle .bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1024px) {
  :root { --header-h: 76px; }
  .brand img { height: 56px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); padding: 8px var(--gutter) 32px; overflow-y: auto;
    transform: translateX(100%); visibility: hidden; transition: transform .3s, visibility .3s;
  }
  .nav-open .main-nav { transform: none; visibility: visible; }
  .nav-open { overflow: hidden; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--grey-200); }
  .nav-list > li > a, .nav-split > a { height: auto; padding: 16px 0; font-size: 1.05rem; color: var(--ink) !important; }
  .nav-split { justify-content: space-between; }
  .nav-split > a { flex: 1; }
  .mega-toggle { color: var(--ink) !important; padding: 10px; margin: 0; }
  .has-mega.open .mega-toggle svg { transform: rotate(180deg); }
  .mega { position: static; transform: none; padding: 0 0 12px; display: none; opacity: 1; visibility: visible; }
  .mega-panel { width: auto; border: 0; box-shadow: none; padding: 0; }
  .has-mega.open .mega { display: block; }
  .mega-grid { grid-template-columns: 1fr; gap: 18px; }
  .mega-head { margin-bottom: 4px; }
  .mega-links a { margin: 0; padding: 8px 4px 8px 46px; }
  .mega-foot { margin: 16px 0 0; padding: 14px 4px; background: none; border-radius: 0; flex-direction: column; align-items: flex-start; gap: 10px; }
  .nav-list > li > a::after, .nav-split > a::after { display: none; }
  .nav-cta { margin-top: 24px; }
}

/* ---------- hero (home) ---------- */

.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: center; color: var(--white); overflow: hidden; background: var(--ink); }
.hero-media { position: absolute; inset: 0; }
.hero-video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6, 8, 12, .9) 0%, rgba(6, 8, 12, .78) 50%, rgba(6, 8, 12, .62) 100%),
              linear-gradient(180deg, rgba(6, 8, 12, .55) 0%, rgba(6, 8, 12, 0) 35%, rgba(6, 8, 12, .35) 100%);
}
.hero-content { position: relative; z-index: 1; padding-top: calc(var(--header-h) + 56px); padding-bottom: 150px; max-width: 820px; }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 .accent { color: var(--blue); }
.hero p { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, .88); max-width: 600px; margin-bottom: 32px; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 36px; font-size: .92rem; color: rgba(255, 255, 255, .85); }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }

/* ---------- inner page hero ---------- */

.page-hero { position: relative; color: var(--white); background: var(--ink); overflow: hidden; }
.page-hero-media { position: absolute; inset: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 10, 15, .9) 0%, rgba(8, 10, 15, .6) 100%); }
.page-hero-content { position: relative; padding: clamp(64px, 9vw, 120px) 0; max-width: 720px; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4.5vw, 3.2rem); }
.page-hero p { color: rgba(255, 255, 255, .88); font-size: 1.1rem; margin-bottom: 28px; }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; margin-bottom: 18px; color: rgba(255, 255, 255, .7); }
.breadcrumb a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }
.breadcrumb li + li::before { content: '/'; margin-right: 8px; opacity: .5; }

/* ---------- work strip ---------- */

.strip-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.checklist { list-style: none; display: grid; gap: 14px; margin: 24px 0 32px; }
.checklist li { position: relative; padding-left: 36px; color: var(--grey-800); font-weight: 500; }
.checklist li::before {
  content: ''; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.collage { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(2, minmax(150px, 230px)); gap: 14px; }
.collage img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.collage img:first-child { grid-row: span 2; }

/* ---------- core service cards ---------- */

.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-media { aspect-ratio: 4 / 3; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { display: flex; align-items: center; gap: 10px; }
.card-body p { font-size: .95rem; flex: 1; }

/* ---------- minimal services list ---------- */

.svc-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; border-top: 1px solid var(--grey-200); padding-top: 36px; }
.svc-head { display: block; color: var(--ink); font-weight: 600; font-size: 1.05rem; text-decoration: none; margin-bottom: 14px; }
.svc-num { display: block; color: var(--blue); font-size: .8rem; font-weight: 600; letter-spacing: .08em; margin-bottom: 6px; }
.svc-head:hover { color: var(--blue); }
.svc-col ul { list-style: none; display: grid; gap: 2px; }
.svc-col li a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; color: var(--grey-700); font-size: .94rem; line-height: 1.4; text-decoration: none; transition: color .15s, transform .2s; }
.svc-col li a::after { content: '→'; opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .2s; color: var(--blue); }
.svc-col li a:hover { color: var(--ink); }
.svc-col li a:hover::after { opacity: 1; transform: none; }

/* ---------- split (image + text) ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.split-media .photo-note {
  position: absolute; left: 14px; bottom: 14px; right: 14px; background: rgba(11, 13, 18, .8); color: var(--white);
  font-size: .8rem; padding: 8px 12px; border-radius: var(--radius-sm);
}
.split.reverse .split-media { order: 2; }

/* ---------- placeholders ---------- */

.placeholder { border: 2px dashed #E0A100; background: #FFF8E1; color: #7A5600; border-radius: var(--radius); }
.placeholder-tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: #E0A100; color: var(--ink); padding: 3px 8px; border-radius: 4px; margin-bottom: 10px; }

/* ---------- testimonials + stats ---------- */

.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial { margin: 0; padding: 32px; display: flex; flex-direction: column; gap: 18px; background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius); box-shadow: var(--shadow); }
.stars { display: flex; gap: 3px; }
.stars svg { width: 18px; height: 18px; fill: #F5B301; }
.testimonial blockquote { margin: 0; flex: 1; color: var(--grey-800); font-size: 1.02rem; line-height: 1.7; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--grey-200); }
.avatar { position: relative; overflow: hidden; width: 48px; height: 48px; border-radius: 50%; background: var(--blue-tint); color: var(--blue); display: grid; place-items: center; font-weight: 600; flex-shrink: 0; }
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.testimonial cite { display: block; font-style: normal; font-weight: 600; color: var(--ink); line-height: 1.3; }
.testimonial .company { display: block; font-size: .88rem; color: var(--grey-500); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 56px; border-top: 1px solid var(--grey-200); border-bottom: 1px solid var(--grey-200); }
.stat { padding: 32px 16px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--grey-200); }
.stat-value { display: block; font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1; color: var(--ink); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat-suffix { color: var(--blue); }
.stat-label { display: block; margin-top: 10px; font-size: .9rem; color: var(--grey-500); }

/* ---------- commercial band ---------- */

.band { position: relative; overflow: hidden; border-radius: calc(var(--radius) * 1.5); background: var(--blue); color: var(--white); display: grid; grid-template-columns: 1.1fr 1fr; }
.band-body { padding: clamp(32px, 5vw, 64px); }
.band h2 { color: var(--white); }
.band p { color: rgba(255, 255, 255, .9); }
.band .eyebrow { color: rgba(255, 255, 255, .85); }
.band-list { list-style: none; display: grid; gap: 8px; margin: 0 0 28px; }
.band-list li { padding-left: 22px; position: relative; }
.band-list li::before { content: ''; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 2px; background: var(--white); }
.band-media img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }

/* ---------- closing CTA band (modelled on the Mechlines site) ---------- */

.cta-band { position: relative; overflow: hidden; background: var(--grey-100); border-top: 1px solid var(--grey-200); }
.cta-band .container { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: end; }
.cta-band__text { padding-block: clamp(3rem, 2rem + 3vw, 5rem); }
.cta-band h2 { margin: 0 0 8px; font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem); }
.cta-band p { margin: 0 0 28px; font-size: 1.05rem; color: var(--grey-700); }
.cta-band__person { justify-self: center; width: auto; height: 300px; margin-top: -24px; }
@media (min-width: 900px) {
  .cta-band .container { grid-template-columns: minmax(0, 1fr) auto; gap: 64px; }
  .cta-band__text { padding-block: clamp(4rem, 3rem + 3vw, 6rem); }
  .cta-band__person { justify-self: end; height: clamp(340px, 26vw, 420px); margin: 24px 24px 0 0; }
}

/* ---------- form sections: side panel + form card ---------- */

.split--form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
@media (min-width: 900px) { .split--form { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; } }

/* Contact: grey panel, heading centred, crew member on the panel's bottom edge */
.quote-side { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; text-align: center; overflow: hidden;
  padding: clamp(2rem, 1.5rem + 2vw, 3rem) 24px 0; background: #E7EBEE; border-radius: 12px; }
.quote-side::after { content: ''; position: absolute; z-index: -1; left: 50%; bottom: 40px; width: min(340px, 80%); aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .85) 0%, rgba(255, 255, 255, .35) 60%, rgba(255, 255, 255, 0) 72%); }
.side-head h2 { margin-bottom: 10px; font-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem); }
.side-head p { margin: 0 auto; color: var(--grey-500); font-size: 1.05rem; }
.quote-person { display: block; align-self: center; width: auto; max-width: 100%; height: 300px; margin: 24px auto 0; object-fit: contain; object-position: center bottom; }
@media (min-width: 900px) {
  .split--form:has(.quote-side) { align-items: stretch; }
  .quote-side .quote-person { height: clamp(320px, 26vw, 400px); margin: auto auto 0; padding-top: 24px; }
}

/* Quote: heading with accent bar, info cards */
.accent-head { position: relative; padding-left: 20px; margin-bottom: 24px; }
.accent-head::before { content: ''; position: absolute; left: 0; top: 4px; bottom: 6px; width: 3px; background: var(--blue); }
.accent-head h2 { margin: 0; font-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem); }
.points { list-style: none; display: grid; gap: 12px; }
.points li { padding: 22px 24px; background: var(--white); border: 1px solid var(--grey-200); border-radius: 12px; }
.points strong { display: block; color: var(--ink); font-size: 1.125rem; font-weight: 500; margin-bottom: 4px; }
.points span { display: block; color: var(--grey-500); font-size: .9rem; }

.contact-lines { list-style: none; margin: 28px 0 0; display: grid; gap: 0; }
.contact-lines li { display: flex; gap: 16px; align-items: center; }
.contact-lines span { width: 3.5rem; flex-shrink: 0; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--grey-500); }
.contact-lines a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-size: 1.15rem; font-weight: 500; text-decoration: none; }
.contact-lines a:hover { color: var(--blue); text-decoration: underline; }
.contact-lines b { color: var(--ink); font-size: 1.15rem; font-weight: 500; min-height: 44px; display: inline-flex; align-items: center; }
.contact-lines--wide span { width: 4.5rem; }
.quote-side .contact-lines { margin-top: 20px; justify-items: center; }
.quote-side .contact-lines li { justify-content: center; }
.quote-side .contact-lines span { width: auto; }

/* Quote page: contact details beside a map of the service area */
.touch-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
@media (min-width: 900px) { .touch-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; } }
.touch-grid .accent-head { margin-bottom: 8px; }
.map-embed { overflow: hidden; border: 1px solid var(--grey-200); border-radius: 12px; background: var(--grey-100); aspect-ratio: 4 / 3; max-height: 420px; width: 100%; }
.map-embed iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ---------- form card ---------- */

.form-card { background: var(--white); color: var(--grey-700); border: 1px solid var(--grey-200); border-radius: 12px; padding: clamp(1.25rem, .8rem + 2vw, 2.5rem); box-shadow: var(--shadow); }
.form-card__title { margin-bottom: 22px; font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); color: var(--ink); }
.form-note { font-size: .85rem; color: var(--grey-500); margin-bottom: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.field label .req { color: var(--blue); }
.field input, .field select, .field textarea {
  font: 400 1rem/1.4 var(--font); color: var(--ink);
  width: 100%; min-height: 52px; padding: 12px 15px;
  border: 1px solid #8A9099; border-radius: 6px; background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #6E7682; }
.field select { appearance: none; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230B0D12'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") right 12px center / 20px no-repeat; padding-right: 40px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(47, 106, 241, .3); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.field-error { font-size: .82rem; color: var(--danger); }
.field-error:empty { display: none; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-top: 4px; }
.form__note { margin: 0; font-size: .78rem; color: var(--grey-500); max-width: 42ch; }
.form__note a { color: inherit; }
.form-card .btn { border-radius: 6px; }
.form-success { text-align: center; padding: 24px 8px; }
.form-success h3 { color: var(--ink); }
.form-success:focus { outline: none; }
.success-icon { width: 64px; height: 64px; border-radius: 50%; background: #E3F4EA; margin: 0 auto 16px; display: grid; place-items: center; }
.success-icon svg { width: 30px; height: 30px; fill: none; stroke: var(--success); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- service detail pages ---------- */

.service-block { scroll-margin-top: calc(var(--header-h) + 16px); }
.service-block + .service-block { border-top: 1px solid var(--grey-200); }
.service-block .split-media img { aspect-ratio: 4 / 3; }
.service-block ul.ticks { list-style: none; display: grid; gap: 10px; margin: 0 0 24px; }
.service-block ul.ticks li { position: relative; padding-left: 28px; }
.service-block ul.ticks li::before { content: ''; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%; background: var(--blue-tint); box-shadow: inset 0 0 0 5px var(--blue); }
.addon-note { background: var(--blue-tint); border-left: 4px solid var(--blue); padding: 14px 18px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: .95rem; color: var(--grey-800); margin-bottom: 24px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.overview-list { display: grid; gap: clamp(40px, 6vw, 72px); }
.overview-item ul.ticks { list-style: none; display: grid; gap: 4px; margin: 0 0 24px; }
.overview-item ul.ticks a { display: inline-block; padding: 4px 0; font-weight: 500; }

.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info-card { background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 26px; }
.info-card .icon { width: 48px; height: 48px; border-radius: 12px; background: var(--blue-tint); display: grid; place-items: center; margin-bottom: 14px; }
.info-card p:last-child { margin-bottom: 0; }

.contact-list { list-style: none; display: grid; gap: 18px; margin: 24px 0; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon { width: 46px; height: 46px; border-radius: 12px; background: var(--blue-tint); display: grid; place-items: center; flex-shrink: 0; }
.contact-list strong { display: block; color: var(--ink); font-weight: 600; }

/* ---------- footer ---------- */

.site-footer { background: var(--ink); color: var(--grey-300); padding: clamp(48px, 7vw, 80px) 0 0; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1.9fr 1.4fr; gap: 32px; }
.footer-brand img { width: 170px; height: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 320px; }
.footer-title { color: var(--white); font-size: 1rem; font-weight: 600; margin-bottom: 16px; letter-spacing: 0; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: var(--grey-300); text-decoration: none; }
/* Service Areas: two columns of five so the footer stays short */
.site-footer .footer-areas { grid-template-columns: repeat(2, max-content); grid-template-rows: repeat(5, auto); grid-auto-flow: column; column-gap: 28px; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; margin-top: 4px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 48px; padding: 22px 0; border-top: 1px solid var(--grey-800); font-size: .85rem; }
.footer-bottom p { margin: 0; }
.footer-credit { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; opacity: .85; transition: opacity .2s; }
.site-footer .footer-credit:hover { opacity: 1; text-decoration: none; }
.footer-credit img { width: 26px; height: 20px; }
.footer-credit strong { font-weight: 600; color: var(--white); letter-spacing: .02em; }

/* ---------- service strip (overlaps the home hero) ---------- */

.service-strip-wrap { position: relative; z-index: 5; margin-top: -76px; background: linear-gradient(to bottom, transparent 76px, var(--grey-100) 76px); }
.service-strip { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border-radius: 16px; box-shadow: 0 24px 50px rgba(11, 13, 18, .14); overflow: hidden; }
.strip-item { display: flex; flex-direction: column; gap: 6px; padding: 30px 26px 32px; text-decoration: none; transition: background-color .2s; }
.strip-item + .strip-item { border-left: 1px solid var(--grey-200); }
.strip-icon { margin-bottom: 14px; }
.strip-icon svg { width: 34px; height: 34px; fill: none; stroke: var(--blue); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.strip-name { color: var(--ink); font-weight: 600; font-size: 1.08rem; line-height: 1.3; transition: color .2s; }
.strip-blurb { color: var(--grey-500); font-size: .92rem; line-height: 1.45; }
.strip-item:hover { background: var(--grey-100); }
.strip-item:hover .strip-name { color: var(--blue); }
.service-strip-wrap + .section { padding-top: clamp(48px, 6vw, 80px); }

@media (max-width: 900px) {
  .service-strip { grid-template-columns: 1fr 1fr; }
  .strip-item:nth-child(3) { border-left: 0; }
  .strip-item:nth-child(n+3) { border-top: 1px solid var(--grey-200); }
}
@media (max-width: 600px) {
  .service-strip-wrap { margin-top: -56px; background: linear-gradient(to bottom, transparent 56px, var(--grey-100) 56px); }
  .strip-item { padding: 20px 16px 22px; }
  .strip-icon { margin-bottom: 8px; }
  .strip-icon svg { width: 28px; height: 28px; }
  .strip-name { font-size: .98rem; }
  .strip-blurb { font-size: .82rem; }
}

/* ---------- hero trust line ---------- */

.trust-line { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: .92rem; color: rgba(255, 255, 255, .75); }
.trust-line strong { color: var(--white); font-weight: 600; margin-right: 4px; }
.hero-note { margin-top: 14px !important; font-size: .88rem !important; color: rgba(255, 255, 255, .7) !important; }

/* ---------- mid-page CTA strip ---------- */

.cta-strip { padding: 0 0 var(--section); }
.cta-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 28px 32px; border-radius: 16px; background: var(--ink); color: var(--grey-300); }
.cta-strip-inner h2 { color: var(--white); font-size: clamp(1.25rem, 2.2vw, 1.6rem); margin: 0 0 4px; }
.cta-strip-inner p { margin: 0; }

/* ---------- mobile call / quote bar ---------- */

.mobile-cta { display: none; }
@media (max-width: 768px) {
  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid var(--grey-200); box-shadow: 0 -8px 24px rgba(11, 13, 18, .08);
  }
  .mobile-cta .btn { min-height: 48px; padding: 10px 16px; }
  .has-mobile-cta { padding-bottom: 76px; }
  .nav-open .mobile-cta { display: none; }
}

/* ---------- "Everything we handle" bento grid ---------- */

.bento-head { margin-bottom: 40px; }
.bento-head h2 { max-width: 576px; letter-spacing: -.035em; }
.bento-head .lead { max-width: 512px; margin-bottom: 0; }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.bento-card {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  min-height: 340px; padding: 26px; border-radius: 8px; background: var(--ink);
  text-decoration: none;
}
.bento-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.bento-card::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 10, 15, .35) 0%, rgba(8, 10, 15, .2) 35%, rgba(8, 10, 15, .78) 68%, rgba(8, 10, 15, .95) 100%),
    rgba(8, 10, 15, .3);
  transition: background-color .3s ease;
}
.bento-wide { grid-column: span 2; }
.bento-icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .14); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .2); transition: background-color .3s ease, border-color .3s ease; }
.bento-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--white); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.bento-text { display: flex; flex-direction: column; }
.bento-title { display: flex; align-items: center; gap: 10px; color: var(--white); font-size: 1.45rem; font-weight: 700; text-shadow: 0 2px 12px rgba(0, 0, 0, .55); letter-spacing: -.02em; line-height: 1.25; margin-bottom: 6px; }
.bento-arrow { color: var(--white); opacity: 0; transform: translateX(-6px); transition: opacity .3s ease, transform .3s ease; }
.bento-desc { max-width: 380px; color: rgba(255, 255, 255, .95); text-shadow: 0 1px 8px rgba(0, 0, 0, .6); font-size: 1rem; line-height: 1.55; }
.bento-card:hover .bento-img { transform: scale(1.05); }
.bento-card:hover .bento-icon { background: var(--blue); border-color: var(--blue); }
.bento-card:hover .bento-arrow { opacity: 1; transform: none; }

@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-wide { grid-column: auto; }
  .bento-card { min-height: 0; aspect-ratio: 1 / 1; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; gap: 16px; }
  .bento-card { aspect-ratio: auto; min-height: 220px; }
}

/* ---------- entrance + scroll animations ---------- */
/* Modelled on the Mechanes reference recording.
   Load: the hero video and its dark overlay are there from the first frame
   (no tint). The logo fades in, then the headline (with a small rise), the
   menu links one by one, the header button, then the hero copy. The white
   service card stays put while its four items fade in left to right.
   Scroll: whole blocks, photos included, fade up as they enter; cards and
   columns that enter together follow each other. The footer does the same.
   Everything is hidden from the first paint (.js is set in <head>).
   The selector lists must match REVEAL in main.js. */

@media (prefers-reduced-motion: no-preference) {
  .js:not(.no-anim) :is(.utility-inner, .brand, .nav-list > li, .nav-cta),
  .js:not(.no-anim) :is(.hero-content, .page-hero-content) > *,
  .js:not(.no-anim) .service-strip .strip-item {
    opacity: 0; transform: translateY(12px);
    transition: opacity .8s ease-out var(--d, .3s), transform .8s cubic-bezier(.2, .7, .2, 1) var(--d, .3s);
  }
  .js:not(.no-anim) :is(.utility-inner, .brand, .nav-cta) { transform: translateY(-6px); }
  /* Menu items fade only: a transform here would make each item the dropdown's positioning anchor. */
  .js:not(.no-anim) .nav-list > li { transform: none; }
  .js.is-loaded :is(.utility-inner, .brand, .nav-list > li, .nav-cta),
  .js.is-loaded :is(.hero-content, .page-hero-content) > *,
  .js.is-loaded .service-strip .strip-item { opacity: 1; transform: none; }

  /* Mobile menu panel is off-canvas; don't hide its items once it's open. */
  @media (max-width: 1024px) { .js:not(.no-anim) .nav-list > li, .js:not(.no-anim) .nav-cta { opacity: 1; transform: none; transition: none; } }

  .js:not(.no-anim) main :is(.section-head, .card, .split > div, .testimonial, .stat, .band, .cta-band__text, .quote-side, .accent-head, .points li, .contact-lines, .map-embed, .faq details, .step, .post-card, .area-card, .area-svc,
    .form-card, .info-card, .overview-item, .addon-note, .cta-strip-inner, .contact-list li,
    .svc-col, .bento-card),
  .js:not(.no-anim) .site-footer :is(.footer-grid > *, .footer-bottom) {
    opacity: 0; transform: translateY(40px);
    transition: opacity .8s ease-out var(--d, 0s), transform .8s cubic-bezier(.2, .7, .2, 1) var(--d, 0s);
  }
  .js:not(.no-anim) main :is(.section-head, .card, .split > div, .testimonial, .stat, .band, .cta-band__text, .quote-side, .accent-head, .points li, .contact-lines, .map-embed, .faq details, .step, .post-card, .area-card, .area-svc,
    .form-card, .info-card, .overview-item, .addon-note, .cta-strip-inner, .contact-list li,
    .svc-col, .bento-card).is-visible,
  .js:not(.no-anim) .site-footer :is(.footer-grid > *, .footer-bottom).is-visible { opacity: 1; transform: none; }
  .js:not(.no-anim) main .card.is-visible:hover { transform: translateY(-4px); transition-delay: 0s; }
}

/* ---------- FAQ accordions ---------- */

.faq-wrap { max-width: 880px; }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--grey-200); border-radius: 12px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: rgba(47, 106, 241, .35); box-shadow: var(--shadow); }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; color: var(--ink); font-weight: 600; font-size: 1.02rem; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; border-radius: 12px; }
.faq details > div { padding: 0 22px 20px; }
.faq details p { margin: 0; }
.section-grey .faq details { background: var(--white); }

/* ---------- How it works ---------- */

.how-split { align-items: start; }
.steps { list-style: none; display: grid; gap: 14px; }
.step { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border: 1px solid var(--grey-200); border-radius: 12px; padding: 20px 22px; }
.step-num { width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; background: var(--blue); color: var(--white); display: grid; place-items: center; font-weight: 700; }
.step h3 { margin: 4px 0 4px; font-size: 1.05rem; }
.step p { margin: 0; font-size: .95rem; }

/* ---------- long-form text (legal, articles) ---------- */

.prose { max-width: 760px; }
.prose h2 { margin: 1.8em 0 .5em; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem); scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h3 { margin: 1.4em 0 .4em; font-size: 1.15rem; }
.prose p, .prose li { font-size: 1.04rem; line-height: 1.75; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose a { font-weight: 500; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0 1.6em; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--grey-200); vertical-align: top; }
.prose th { background: var(--grey-100); color: var(--ink); font-weight: 600; }
.page-hero--plain { background: var(--ink); }
.page-hero--plain .page-hero-content { padding: clamp(48px, 7vw, 88px) 0; }

/* ---------- 404 ---------- */

.notfound { text-align: center; padding: clamp(80px, 12vw, 140px) 0; }
.notfound .btn-row { justify-content: center; margin: 28px 0 36px; }
.notfound-code { font-size: clamp(4.5rem, 3rem + 8vw, 8rem); font-weight: 700; line-height: 1; color: var(--grey-200); margin-bottom: 10px; }
.link-list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.link-list a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--grey-200); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 500; }
.link-list a:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- Resources: index cards ---------- */

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--grey-200); border-radius: 12px; overflow: hidden; transition: box-shadow .25s, transform .25s; }
.post-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.post-card__media { aspect-ratio: 16 / 9; overflow: hidden; display: block; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card__cat { font-size: .78rem; font-weight: 600; color: var(--blue); }
.post-card h3 { margin: 0; font-size: 1.15rem; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--blue); }
.post-card p { margin: 0; font-size: .93rem; flex: 1; }
.post-card time { font-size: .82rem; color: var(--grey-500); }

/* ---------- Resources: article ---------- */

.post-head { background: var(--grey-100); padding: clamp(40px, 6vw, 72px) 0 clamp(90px, 10vw, 140px); }
.post-narrow { max-width: 880px; }
.post-head h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); margin-bottom: 14px; }
.post-cat { font-size: .85rem; font-weight: 600; color: var(--blue); margin: 0 0 10px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .9rem; color: var(--grey-500); margin: 0; }
.breadcrumb--dark { color: var(--grey-500); }
.breadcrumb--dark a { color: var(--grey-700); }
.breadcrumb--dark a:hover { color: var(--blue); }
.post-hero { margin: calc(-1 * clamp(60px, 8vw, 110px)) auto 0; max-width: 1080px; }
.post-hero img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 14px; box-shadow: var(--shadow-lg); }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; max-width: 1080px; padding-top: 48px; padding-bottom: var(--section); }
.post-intro p { font-size: 1.15rem; color: var(--grey-800); }
.toc { background: var(--grey-100); border-radius: 12px; padding: 20px 24px; margin: 28px 0 8px; }
.toc__title { font-weight: 600; color: var(--ink); margin: 0 0 8px; }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc li { margin: 4px 0; font-size: .96rem; }
.post-cta { background: var(--ink); color: var(--grey-300); border-radius: 14px; padding: 26px 28px; margin: 32px 0; }
.post-cta__title, .post-cta h2 { color: var(--white); font-weight: 600; font-size: 1.25rem; margin: 0 0 6px; }
.post-cta p { color: var(--grey-300); }
.post-cta .btn-row { margin-top: 14px; }
.post-cta .btn-outline { border-color: rgba(255, 255, 255, .6); color: var(--white); }
.post-cta .btn-outline:hover { background: var(--white); color: var(--ink); }
.post-side { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; display: grid; gap: 18px; }
.side-box { border: 1px solid var(--grey-200); border-radius: 12px; padding: 20px 22px; }
.side-title { font-size: 1rem; margin-bottom: 10px; }
.side-box ul { list-style: none; display: grid; gap: 8px; }
.side-box a { font-size: .93rem; text-decoration: none; }
.side-box a:hover { text-decoration: underline; }

/* ---------- Service areas ---------- */

.area-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.area-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--grey-200); border-radius: 12px; overflow: hidden; text-decoration: none; transition: box-shadow .25s, transform .25s; }
.area-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.area-card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.area-card__media img { width: 100%; height: 100%; object-fit: cover; }
.area-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.area-card__title { color: var(--ink); font-weight: 600; font-size: 1.15rem; }
.area-card__text { color: var(--grey-500); font-size: .9rem; flex: 1; }
.area-card .link-arrow { font-size: .88rem; }
.area-svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.area-svc { display: flex; flex-direction: column; gap: 10px; padding: 26px; background: var(--white); border: 1px solid var(--grey-200); border-radius: 12px; text-decoration: none; color: var(--grey-700); transition: border-color .2s, box-shadow .2s; }
.area-svc:hover { border-color: rgba(47, 106, 241, .4); box-shadow: var(--shadow); color: var(--grey-700); }
.area-svc .card-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--blue-tint); display: grid; place-items: center; }
.area-svc__title { color: var(--ink); font-weight: 600; font-size: 1.15rem; }
.area-svc__text { font-size: .96rem; flex: 1; }
.area-svc .link-arrow { font-size: .9rem; }
.hood-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.hood-list li { padding: 8px 16px; border-radius: 999px; background: var(--grey-100); color: var(--grey-800); font-size: .92rem; font-weight: 500; }
.nearby { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0; color: var(--grey-700); }
.nearby-links { list-style: none; display: inline-flex; flex-wrap: wrap; gap: 6px 14px; }
.nearby-links a { font-weight: 600; }

/* ---------- footer legal links ---------- */

.footer-legal { display: flex; gap: 18px; }
.footer-legal a { color: var(--grey-300); }

@media (max-width: 1024px) {
  .post-layout { grid-template-columns: 1fr; gap: 32px; }
  .post-side { position: static; }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .area-grid, .post-grid, .area-svc-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- touch targets (phones and tablets) ----------
   Every tappable control is at least 44px tall on touch layouts. */

@media (max-width: 1024px) {
  .utility-meta a, .utility-meta > span { min-height: 44px; }
  .link-arrow { min-height: 44px; }
  .site-footer ul { gap: 0; }
  .site-footer ul a, .footer-legal a, .footer-credit { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-contact li { align-items: center; }
  .footer-contact svg { margin-top: 0; }
  .footer-legal { gap: 22px; }
  .svc-head { display: flex; align-items: center; min-height: 44px; margin-bottom: 6px; }
  .svc-col li a { min-height: 44px; padding: 10px 0; }
  .side-box ul { gap: 0; }
  .side-box a { display: flex; align-items: center; min-height: 44px; padding: 6px 0; }
  .mega-links a { min-height: 44px; }
  .mega-head { min-height: 52px; }
  .mega-all, .mega-quote { display: inline-flex; align-items: center; min-height: 44px; }
  .contact-lines a, .contact-lines b { min-height: 44px; }
  .nearby-links a { display: inline-flex; align-items: center; min-height: 44px; }
  .overview-item ul.ticks a { display: inline-flex; align-items: center; min-height: 44px; padding: 4px 0; }
}
/* Long email/phone lines wrap instead of pushing the page wider on small phones. */
.contact-lines li { min-width: 0; }
.contact-lines a, .contact-lines b { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 400px) { .contact-lines a, .contact-lines b { font-size: 1.02rem; } .contact-lines span { width: 3rem; } }

@media (max-width: 600px) {
  .page-hero-content { padding: 48px 0 52px; }
  .page-hero p { font-size: 1rem; line-height: 1.6; margin-bottom: 22px; }
  .page-hero h1 { font-size: clamp(1.75rem, 7.4vw, 2.2rem); }
}

/* Article grid: let the text column shrink to the screen on small phones. */
.post-layout > * { min-width: 0; }
@media (max-width: 1024px) { .post-layout { grid-template-columns: minmax(0, 1fr); } }
.prose { overflow-wrap: break-word; }

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-list { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .strip-grid, .split, .band { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .testimonial-grid, .related-grid, .info-cards { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--grey-200); }
  .band-media { order: -1; }
  .band-media img { min-height: 0; aspect-ratio: 16 / 9; }
  .utility-tagline { display: none; }
  .utility-inner { justify-content: center; }
}

@media (max-width: 600px) {
  :root { --gutter: 16px; }
  .card-grid, .svc-list { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:last-child, .footer-areas-col { grid-column: 1 / -1; }
  .utility-meta { gap: 14px; font-size: .8rem; }
  .btn-row .btn { width: 100%; }
  .trust-line { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; font-size: .85rem; }
  .hero { min-height: 0; }
  .hero-content { padding-bottom: 110px; }
  .collage { grid-template-rows: repeat(2, 140px); gap: 10px; }
  .stat { padding: 24px 8px; }
  .form__foot .btn { width: 100%; }
}
