:root {
  --blue: #0877ee;
  --blue-deep: #0559ba;
  --navy: #061b3a;
  --navy-soft: #102b50;
  --orange: #f49a22;
  --ink: #10223b;
  --muted: #5c6b7f;
  --line: #dfe8f2;
  --wash: #f4f8fc;
  --white: #fff;
  --shadow: 0 22px 55px rgba(6, 27, 58, .12);
  --radius: 1.15rem;
  --shell: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--navy); line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(2.15rem, 4vw, 3.75rem); }
h2 { font-size: clamp(1.65rem, 2.8vw, 2.6rem); }
h3 { font-size: 1.22rem; }
p { color: var(--muted); }
.shell { width: min(calc(100% - 2rem), var(--shell)); margin-inline: auto; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 1000; padding: .75rem 1rem; color: white; background: var(--navy); border-radius: .5rem; }
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.topbar { color: #eaf4ff; background: var(--blue); font-weight: 600; }
.topbar__inner { min-height: 42px; display: flex; align-items: center; gap: 1.5rem; }
.topbar__inner span { margin-left: auto; }
.topbar a:hover { color: white; text-decoration: underline; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.95); border-bottom: 1px solid rgba(223,232,242,.8); backdrop-filter: blur(14px); }
.site-header__inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; }
.brand img { width: 178px; height: 50px; object-fit: contain; }
.primary-nav { display: flex; align-items: center; gap: 1.65rem; font-size: 1rem; font-weight: 700; letter-spacing: .045em; text-transform: uppercase; }
.primary-nav > a, .nav-item > a { position: relative; padding-block: .4rem; }
.primary-nav > a:not(.nav-cta)::after, .nav-item > a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--blue); transition: right .2s ease; }
.primary-nav > a:hover::after, .primary-nav > a[aria-current="page"]::after, .nav-item > a:hover::after, .nav-item > a[aria-current="page"]::after { right: 0; }
.nav-item { position: relative; display: flex; align-items: center; }
.dropdown-toggle { width: 28px; height: 32px; display: grid; place-items: center; margin-left: .1rem; padding: 0; color: var(--navy); background: transparent; border: 0; cursor: pointer; }
.dropdown-toggle svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.nav-item.is-open .dropdown-toggle svg, .nav-item:hover .dropdown-toggle svg { transform: rotate(180deg); }
.service-dropdown { position: absolute; top: calc(100% + 1rem); left: -.9rem; width: 250px; padding: .7rem; visibility: hidden; opacity: 0; transform: translateY(8px); color: var(--ink); background: white; border: 1px solid var(--line); border-radius: .8rem; box-shadow: var(--shadow); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.service-dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -1.05rem; height: 1.1rem; }
.service-dropdown a { display: block; padding: .65rem .75rem; border-radius: .45rem; font-size: .85rem; letter-spacing: .025em; text-transform: none; }
.service-dropdown a:hover, .service-dropdown a:focus-visible { color: var(--blue); background: var(--wash); }
.service-dropdown__all { margin-bottom: .35rem; color: var(--blue); font-weight: 900; border-bottom: 1px solid var(--line); border-radius: .45rem .45rem 0 0 !important; text-transform: uppercase !important; }
.nav-item:hover .service-dropdown, .nav-item.is-open .service-dropdown { visibility: visible; opacity: 1; transform: translateY(0); }
.nav-cta, .button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .7rem 1.1rem; color: white; background: var(--blue); border: 1px solid var(--blue); border-radius: .65rem; font-weight: 800; transition: transform .2s ease, background .2s ease; }
.nav-cta:hover, .button:hover { background: var(--blue-deep); transform: translateY(-2px); }
.button--dark { background: var(--navy); border-color: var(--navy); }
.button--ghost { color: var(--navy); background: transparent; border-color: rgba(6,27,58,.25); }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; background: white; border: 1px solid var(--line); border-radius: .6rem; }
.nav-toggle > span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--navy); }

.eyebrow { display: inline-flex; align-items: center; gap: .65rem; margin-bottom: 1rem; color: var(--blue); font-size: .78rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 32px; height: 3px; background: var(--orange); }
.hero-slider { position: relative; height: 620px; overflow: hidden; color: white; background: var(--navy); }
.hero-slider__track, .hero-slide, .hero-slide__content { height: 100%; }
.hero-slide { position: absolute; inset: 0; visibility: hidden; opacity: 0; transform: translateX(24px); transition: opacity .55s ease, transform .55s ease, visibility .55s; }
.hero-slide.is-active { visibility: visible; opacity: 1; transform: translateX(0); }
.hero-slide__content { background: var(--navy); }
.hero-slide__inner { width: 100%; max-width: none; height: 100%; margin-inline: 0; display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.hero-slide__copy { align-self: center; max-width: 590px; margin-left: max(1rem, calc((100vw - var(--shell)) / 2)); padding: 4rem 3.5rem 4rem 0; }
.hero-slide .eyebrow { color: #9fd0ff; }
.hero-slide h1 { margin: 0 0 1.2rem; color: white; font-size: clamp(2.4rem, 4.2vw, 3.75rem); }
.hero-slide p { max-width: 540px; margin-bottom: 2rem; color: #d8e8f8; font-size: 1.08rem; }
.hero-slide__media { position: relative; overflow: hidden; }
.hero-slide__media::before { content: ""; position: absolute; inset: 0 auto 0 0; z-index: 1; width: 15%; background: var(--navy); clip-path: polygon(0 0, 100% 0, 0 100%); pointer-events: none; }
.hero-slide__media img { width: 100%; height: 100%; object-fit: cover; }
.hero-slider__controls { position: absolute; left: 50%; bottom: 4.75rem; z-index: 4; display: flex; align-items: center; justify-content: space-between; transform: translateX(-50%); pointer-events: none; }
.hero-slider__arrows, .hero-slider__dots { display: flex; align-items: center; gap: .6rem; pointer-events: auto; }
.hero-slider__arrows button { width: 44px; height: 44px; color: white; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.38); border-radius: 50%; cursor: pointer; }
.hero-slider__arrows button:hover { background: var(--blue); border-color: var(--blue); }
.hero-slider__dots { margin-left: auto; padding: .75rem .9rem; background: rgba(6,27,58,.78); border-radius: 99px; }
.hero-slider__dots button { width: 9px; height: 9px; padding: 0; background: rgba(255,255,255,.42); border: 0; border-radius: 50%; cursor: pointer; }
.hero-slider__dots button.is-active { width: 28px; background: var(--orange); border-radius: 99px; }
.proof { position: relative; z-index: 3; margin-top: -48px; }
.proof__grid { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; background: white; border-radius: var(--radius); box-shadow: var(--shadow); }
.proof__item { display: grid; grid-template-columns: 46px minmax(0, 1fr); align-items: center; gap: 1rem; padding: 1.45rem 2rem; border-right: 1px solid var(--line); }
.proof__item:last-child { border-right: 0; }
.proof__icon { width: 46px; height: 46px; display: grid; place-items: center; color: var(--blue); background: #eaf4ff; border-radius: .8rem; }
.proof__icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.proof__copy { min-width: 0; }
.proof__copy strong { display: block; color: var(--navy); font-size: 1.08rem; }
.proof__copy > span { display: block; color: var(--muted); font-size: .88rem; }
.section { padding-block: clamp(5rem, 9vw, 8rem); }
.section--wash { background: var(--wash); }
.section-heading { max-width: 760px; margin-bottom: 3rem; }
.section-heading h2 { margin-bottom: 1rem; }
.section-heading p { max-width: 650px; font-size: 1.05rem; }
.split { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: clamp(3rem, 7vw, 6rem); }
.image-frame { position: relative; }
.image-frame::before { content: ""; position: absolute; left: -18px; bottom: -18px; width: 42%; height: 42%; z-index: -1; background: var(--blue); border-radius: var(--radius); }
.image-frame img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.tick-list { display: grid; gap: .85rem; margin: 1.7rem 0 2rem; padding: 0; list-style: none; }
.tick-list li { position: relative; padding-left: 2rem; color: var(--ink); font-weight: 700; }
.tick-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--blue); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.service-card { position: relative; min-height: 390px; overflow: hidden; border-radius: var(--radius); background: var(--navy); box-shadow: 0 12px 34px rgba(6,27,58,.12); }
.service-card img { width: 100%; height: 100%; min-height: 390px; object-fit: cover; transition: transform .45s ease; }
.service-card::after { content: ""; position: absolute; inset: 30% 0 0; background: linear-gradient(transparent, rgba(6,27,58,.96)); }
.service-card__body { position: absolute; inset: auto 0 0; z-index: 2; padding: 1.6rem; }
.service-card__body span { color: #91caff; font-size: .72rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.service-card h3 { margin: .45rem 0 .4rem; color: white; font-size: 1.35rem; }
.service-card p { margin: 0; color: #d9e8f8; font-size: .9rem; }
.service-card:hover img { transform: scale(1.045); }
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); }
.process-section { color: white; background: var(--navy); }
.process-section h2 { color: white; }
.process-section p { color: #cbd9e9; }
.process__step { padding: 2.25rem; background: rgba(255,255,255,.04); }
.process__step b { color: var(--orange); font-size: .8rem; letter-spacing: .16em; }
.process__step h3 { margin: .8rem 0 .7rem; color: white; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.blog-card { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.blog-card img { aspect-ratio: 16 / 10; object-fit: cover; }
.blog-card__body { padding: 1.5rem; }
.blog-card__body span { color: var(--blue); font-size: .75rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.blog-card h2, .blog-card h3 { margin: .7rem 0; font-size: 1.3rem; }
.blog-card a { color: var(--blue); font-weight: 800; }
.contact-band { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2rem; padding: clamp(2rem, 5vw, 3.5rem); color: white; background: var(--blue); border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-band h2 { margin-bottom: .55rem; color: white; }
.contact-band p { margin: 0; color: #eaf4ff; }
.contact-band .button { color: var(--navy); background: white; border-color: white; }

.subhero { position: relative; min-height: 340px; display: grid; align-items: end; overflow: hidden; isolation: isolate; background: var(--navy); }
.subhero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--subhero-image, url("images/hero-trade.webp")) center/cover no-repeat; }
.subhero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6,27,58,.98), rgba(6,27,58,.62) 60%, rgba(6,27,58,.18)); }
.subhero__copy { padding-block: 3.75rem 3.35rem; }
.subhero h1 { max-width: 720px; margin: 0 0 .85rem; color: white; font-size: clamp(1.9rem, 2.7vw, 2.65rem); line-height: 1.08; }
.subhero p { max-width: 670px; margin: 0; color: #d9e8f8; font-size: 1.05rem; }
.breadcrumbs { margin-bottom: .7rem; color: #9bcfff; font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.breadcrumbs a:hover { color: white; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 4rem; align-items: start; }
.prose h2 { margin-top: 2.4rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 1.03rem; }
.side-card { position: sticky; top: 118px; padding: 1.8rem; background: var(--wash); border: 1px solid var(--line); border-radius: var(--radius); }
.side-card h2 { font-size: 1.35rem; }
.side-card a:not(.button) { display: block; padding: .7rem 0; border-bottom: 1px solid var(--line); color: var(--navy); font-weight: 700; }
.side-card .button { width: 100%; margin-top: 1.3rem; }
.article { scroll-margin-top: 110px; padding: 2rem; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.article + .article { margin-top: 1.25rem; }
.article__meta { color: var(--blue); font-size: .78rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.article-lede { margin-bottom: 2.4rem; color: var(--ink); font-size: 1.18rem !important; font-weight: 700; line-height: 1.55; }
.blog-post { max-width: 760px; }
.blog-post h2 { margin-top: 2.7rem; font-size: clamp(1.45rem, 2.2vw, 2rem); }
.content-image { margin: 2rem 0 2.4rem; }
.content-image img { aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.content-image--compact img { aspect-ratio: 4 / 3; }
.contact-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 2rem; }
.contact-details { display: grid; gap: 1rem; }
.contact-detail { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); }
.contact-detail strong { display: block; margin-bottom: .3rem; color: var(--navy); }
.tally-slot { min-height: 440px; display: grid; place-items: center; padding: 2rem; text-align: center; background: var(--wash); border: 2px dashed #9cbce0; border-radius: var(--radius); }
.tally-slot__inner { max-width: 470px; }
.tally-slot__badge { display: inline-block; margin-bottom: 1rem; padding: .35rem .75rem; color: var(--blue); background: white; border-radius: 99px; font-size: .75rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.tally-embed { position: relative; min-height: 440px; }
.tally-embed iframe { display: block; min-height: 440px; border: 0; }
.tally-loader { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; gap: .8rem; min-height: 440px; color: var(--navy); background: var(--wash); border: 1px solid var(--line); border-radius: var(--radius); font-weight: 700; transition: opacity .25s ease, visibility .25s ease; }
.tally-loader__spinner { width: 22px; height: 22px; border: 3px solid #cfe2f7; border-top-color: var(--blue); border-radius: 50%; animation: tally-spin .8s linear infinite; }
.tally-embed.is-loaded .tally-loader { visibility: hidden; opacity: 0; pointer-events: none; }
@keyframes tally-spin { to { transform: rotate(360deg); } }

.site-footer { padding-top: 4.5rem; color: #c8d6e8; background: #04142e; }
.footer-grid { display: grid; grid-template-columns: 1.35fr repeat(3, 1fr); gap: 3rem; padding-bottom: 3.5rem; }
.brand--footer { width: max-content; padding: .55rem .75rem; background: white; border-radius: .65rem; }
.footer-intro { max-width: 330px; margin-top: 1.4rem; color: #aebfd4; }
.footer-grid h2 { margin: 0 0 1rem; color: white; font-size: .9rem; letter-spacing: .13em; text-transform: uppercase; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; }
.footer-grid a:hover { color: white; }
.footer-bottom { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; }

@media (max-width: 900px) {
  .topbar__inner span { display: none; }
  .nav-toggle { display: block; }
  .primary-nav { position: absolute; top: 100%; left: 1rem; right: 1rem; display: none; align-items: stretch; gap: .2rem; padding: 1rem; background: white; border: 1px solid var(--line); border-radius: .9rem; box-shadow: var(--shadow); }
  .primary-nav.is-open { display: flex; flex-direction: column; }
  .primary-nav a { padding: .7rem .8rem; }
  .nav-item { display: grid; grid-template-columns: 1fr 44px; }
  .dropdown-toggle { width: 44px; height: 44px; justify-self: end; }
  .service-dropdown { position: static; grid-column: 1 / -1; width: 100%; display: none; margin-top: .25rem; padding: .35rem; visibility: visible; opacity: 1; transform: none; background: var(--wash); border: 0; box-shadow: none; }
  .service-dropdown::before { display: none; }
  .nav-item.is-open .service-dropdown { display: block; }
  .nav-item:hover .service-dropdown { transform: none; }
  .service-dropdown a { padding: .65rem .8rem; }
  .hero-slider { height: 610px; }
  .hero-slide__content { background: var(--navy); }
  .hero-slide__inner { grid-template-columns: 1.05fr .95fr; }
  .hero-slide__copy { padding-right: 2rem; }
  .proof__grid, .services-grid, .blog-grid, .process { grid-template-columns: repeat(2, 1fr); }
  .proof__item:nth-child(2) { border-right: 0; }
  .proof__item:last-child { grid-column: 1 / -1; border-top: 1px solid var(--line); }
  .split, .content-grid, .contact-grid { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .topbar__inner { justify-content: center; gap: 1rem; font-size: .76rem; }
  .site-header__inner { min-height: 72px; }
  .hero-slider { height: 670px; }
  .hero-slide__content { background: var(--navy); }
  .hero-slide__inner { grid-template-columns: 1fr; grid-template-rows: 1fr 42%; }
  .hero-slide__copy { align-self: center; padding: 3.5rem 0 5rem; }
  .hero-slide h1 { font-size: clamp(2.2rem, 10vw, 3rem); }
  .hero-slide__media { grid-row: 2; }
  .hero-slide__media::before { display: none; }
  .hero-slider__controls { bottom: 3.75rem; }
  .hero-slider__dots { margin-left: 0; }
  .proof { margin-top: -28px; }
  .proof__grid, .services-grid, .blog-grid, .process { grid-template-columns: 1fr; }
  .proof__item, .proof__item:nth-child(2), .proof__item:last-child { grid-column: auto; border-right: 0; border-bottom: 1px solid var(--line); border-top: 0; }
  .proof__item:last-child { border-bottom: 0; }
  .service-card, .service-card img { min-height: 340px; }
  .contact-band { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .tally-loader__spinner { animation: none; }
}
