/*
Theme Name: XLNTLY
Description: Canadian freight brokerage site built for Xlntly Corp.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.3
Text Domain: xlntly
*/

@font-face {
  font-family: Inter;
  src: url("./assets/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --navy: #272742;
  --dark: #17182d;
  --orange: #ff5a00;
  --orange-text: #b63b00;
  --off-white: #f7f7fa;
  --white: #fff;
  --muted: #53566a;
  --line: #e0e1e9;
  --shell: 1220px;
  color: var(--navy);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.55;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--off-white); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #aa3700; outline-offset: 4px; }
.hero :focus-visible, .lane-strip :focus-visible, .site-footer :focus-visible, .page-head :focus-visible { outline-color: #ff8b4c; }
main:focus { outline: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -.045em; font-weight: 800; }
.shell { width: min(var(--shell), calc(100% - 96px)); margin-inline: auto; }
.skip { position: fixed; z-index: 5; inset: 8px auto auto 8px; padding: 9px 16px; background: var(--white); transform: translateY(-150%); }
.skip:focus { transform: none; }
[data-icon] { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; }
[data-icon] svg { width: 1.15em; height: 1.15em; }
.site-header { position: relative; z-index: 2; background: var(--white); }
.header-inner { display: flex; min-height: 78px; justify-content: space-between; align-items: center; gap: 28px; }
.brand { display: inline-flex; width: fit-content; align-items: center; gap: 8px; font-size: 29px; line-height: 1; font-weight: 900; letter-spacing: -.073em; }
.brand-mark { position: relative; width: 29px; height: 26px; color: var(--orange); flex: none; }
.brand-mark::before, .brand-mark::after { position: absolute; top: 3px; height: 19px; width: 7px; background: currentColor; transform: skewX(-33deg); content: ""; }
.brand-mark::before { left: 7px; }
.brand-mark::after { left: 18px; }
.main-nav { display: flex; align-items: center; gap: clamp(20px, 3.1vw, 45px); font-size: .875rem; font-weight: 700; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--orange-text); }
.main-nav .track-link { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 5px; padding: 10px 14px; }
.track-link [data-icon] { color: var(--orange-text); }
.menu-toggle { display: none; }
.hero { position: relative; overflow: hidden; isolation: isolate; min-height: 565px; display: grid; align-items: center; color: var(--white); background: radial-gradient(ellipse at 90% 26%, var(--navy), #202037 62%, #191a30); }
.hero-routes { position: absolute; inset: 0 0 0 auto; width: 56%; height: 100%; object-fit: contain; object-position: center right; z-index: -1; pointer-events: none; mask-image: linear-gradient(90deg, transparent, #000 18%); }
.hero-content { padding-block: 83px 87px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--orange-text); font-size: .73rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow span { width: 17px; height: 3px; flex: none; transform: skewX(-25deg); background: var(--orange); }
.eyebrow.light { color: #ffc1a1; }
.hero h1 { font-size: clamp(4.1rem, 7.1vw, 7.15rem); line-height: .96; letter-spacing: -.078em; margin: 19px 0 23px; }
.hero h1 em { display: block; color: #ff6c20; font-style: normal; }
.hero-deck { max-width: 430px; color: #efedf5; font-size: clamp(1rem, 1.5vw, 1.18rem); line-height: 1.65; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 49px; border: 1px solid transparent; border-radius: 5px; padding: 11px 17px; font-weight: 800; font-size: .9rem; line-height: 1.35; text-align: center; width: fit-content; transition: background-color .18s, border-color .18s, color .18s; }
.button.primary { background: var(--orange); color: #191526; }
.button.primary:hover { background: #ff7731; }
.button.outline-light { border-color: #b0b1bd; color: var(--white); background: rgba(24, 25, 45, .42); }
.button.outline-light:hover { background: rgba(24, 25, 45, .85); border-color: var(--white); }
.hero-contact { display: inline-flex; align-items: center; gap: 8px; margin-top: 17px; padding-block: 5px; color: #f4f3f8; font-size: .88rem; font-weight: 650; text-underline-offset: 4px; }
.hero-contact:hover { text-decoration: underline; }
.hero-contact [data-icon] { color: #ff9762; }
.section { padding-block: 68px 76px; }
.section h2, .lane-strip h2 { font-size: clamp(2rem, 4vw, 3.15rem); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 22px; margin-bottom: 27px; }
.section-head h2 { margin-top: 8px; }
.section-head > p { max-width: 325px; color: var(--muted); padding-bottom: 1px; }
.path-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.path-card, .solution-card, .panel, .side-panel { border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.path-card { display: flex; flex-direction: column; min-height: 194px; padding: 21px 22px; transition: border-color .18s, box-shadow .18s; }
.path-card:hover { border-color: #df703a; box-shadow: 0 8px 24px #2727420c; }
.card-top { display: flex; justify-content: space-between; align-items: start; margin-bottom: 16px; }
.icon-tile { display: inline-flex; width: 40px; height: 40px; color: var(--orange-text); background: #fff1e8; border-radius: 5px; font-size: 1.16rem; }
.card-arrow { color: var(--orange-text); font-size: 1.15rem; }
.path-card h3 { font-size: clamp(1.16rem, 2vw, 1.45rem); }
.path-card p { color: var(--muted); margin: 8px 0 13px; font-size: .91rem; }
.card-link, .text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--orange-text); font-size: .87rem; font-weight: 750; }
.card-link { margin-top: auto; }
.text-link { border: 0; padding: 0; text-align: left; background: transparent; text-underline-offset: 4px; }
.text-link:hover, .path-card:hover .card-link { text-decoration: underline; }
.lane-strip { padding-block: 66px; background: var(--navy); color: var(--white); }
.lane-inner { display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: clamp(28px, 7vw, 100px); }
.lane-inner h2 { margin-top: 10px; max-width: 600px; }
.lane-inner p:not(.eyebrow) { color: #eeedf5; max-width: 395px; margin-bottom: 18px; }
.faq { background: var(--white); }
.faq-inner { display: grid; grid-template-columns: .85fr 1.5fr; gap: 48px; }
.faq-inner > div:first-child p { color: var(--muted); margin: 11px 0 7px; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; display: flex; gap: 12px; justify-content: space-between; align-items: center; padding-block: 15px; list-style: none; font-weight: 750; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--orange-text); font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { padding: 0 14px 16px 0; color: var(--muted); }
.faq details a { color: var(--orange-text); text-decoration: underline; text-underline-offset: 3px; }
.site-footer { background: var(--navy); color: var(--white); }
.footer-main { display: grid; grid-template-columns: minmax(260px, 1.75fr) repeat(3, minmax(0, 1fr)); gap: 30px; padding-block: 58px 55px; }
.footer-intro h2 { max-width: 330px; margin-top: 20px; font-size: clamp(1.75rem, 3vw, 2.45rem); }
.footer-intro p { max-width: 310px; margin: 12px 0 20px; color: #dedde8; font-size: .91rem; }
.footer-links h3 { margin: 6px 0 16px; font-size: 1rem; letter-spacing: -.02em; }
.footer-links ul { margin: 0; padding: 0; list-style: none; color: #dedde8; font-size: .89rem; }
.footer-links li { margin-block: 0 8px; }
.footer-links li:last-child { margin-bottom: 0; }
.footer-links a { display: inline-block; padding-block: 2px; overflow-wrap: anywhere; }
.footer-links a:hover { color: var(--white); text-decoration: underline; text-decoration-color: #ff8b4c; text-underline-offset: 4px; }
.footer-links address { font-style: normal; }
.footer-links .footer-contact-actions { margin-top: 16px; }
.footer-contact-actions a { color: #ffd1ba; font-weight: 700; }
.footer-base { background: #1b1b30; color: #d6d5e0; font-size: .78rem; }
.footer-origin { display: inline-flex; align-items: center; gap: 6px; }
.footer-origin [data-icon] { color: var(--orange); font-size: .98rem; }
.footer-base .shell { display: flex; justify-content: space-between; flex-wrap: wrap; padding-block: 15px; gap: 6px 18px; }
.page-head { background: var(--navy); color: var(--white); padding-block: 29px 42px; }
.back { display: inline-flex; padding-block: 4px; font-size: .84rem; font-weight: 700; color: #ffd1ba; }
.back:hover { text-decoration: underline; }
.page-head h1 { font-size: clamp(2.5rem, 6vw, 4.3rem); margin: 10px 0 12px; line-height: 1.02; }
.page-head p { color: #f0eff5; max-width: 630px; font-size: clamp(1rem, 2vw, 1.15rem); }
.page-head + .section { padding-top: 38px; }
.solution-network + .section { padding-top: 0; }
.network-panel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; overflow: hidden; min-width: 0; border-radius: 8px; background: var(--navy); color: var(--white); }
.network-copy { padding: clamp(24px, 4vw, 52px); }
.network-copy h2 { max-width: 10em; }
.network-copy p { max-width: 29rem; margin: 15px 0 20px; color: #efedf5; }
.network-copy :focus-visible { outline-color: #ff8b4c; }
.network-map { position: relative; margin: 0; min-width: 0; }
.service-routes { display: block; width: 100%; height: auto; max-height: 425px; object-fit: contain; }
.network-map figcaption { position: absolute; top: 17px; right: 20px; color: #d8d7e5; font-size: .74rem; }
.solution-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.solution-card { padding: 24px; scroll-margin-top: 18px; }
.solution-card:first-child { grid-column: 1 / -1; background: #fff8f3; border-color: #f7d7c6; }
.solution-card h2 { font-size: clamp(1.65rem, 3vw, 2.4rem); margin-top: 13px; }
.solution-card p { max-width: 650px; margin: 10px 0 18px; color: var(--muted); }
.service-detail { scroll-margin-top: 18px; }
.service-detail p, .service-detail ul { margin: 12px 0 20px; color: var(--muted); }
.service-detail ul { padding-left: 20px; }
.service-detail li + li { margin-top: 6px; }
.resource-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.split { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); align-items: start; gap: 22px; }
.contact-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr); }
.contact-details { font-style: normal; }
.contact-details dl { margin: 15px 0 0; }
.contact-details dl > div + div { margin-top: 10px; }
.contact-details dt { font-size: .89rem; font-weight: 700; }
.contact-details dd { margin: 2px 0 0; }
.contact-details a { color: var(--orange-text); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.contact-shortcuts { border-top: 1px solid #d7d8e2; margin-top: 20px; }
.panel, .side-panel { padding: clamp(20px, 3.4vw, 32px); }
.side-panel { background: #f0eff5; overflow-wrap: anywhere; }
.panel h2, .side-panel h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.panel h2.form-heading { margin: 24px 0 14px; font-size: 1.35rem; }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.panel-head .text-link { flex-shrink: 0; min-height: 32px; }
.form-intro { color: var(--muted); margin: -9px 0 15px; font-size: .92rem; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 14px; }
.field-grid .full { grid-column: 1 / -1; }
label { display: block; min-width: 0; font-size: .9rem; font-weight: 700; }
label small { color: var(--muted); font-size: .78rem; font-weight: 450; }
input, textarea, select { min-width: 0; max-width: 100%; width: 100%; display: block; margin-top: 5px; border: 1px solid #a9adbc; border-radius: 5px; padding: 9px 10px; min-height: 43px; background: var(--white); color: var(--navy); font-size: 1rem; font-weight: 450; }
input::placeholder, textarea::placeholder { color: #676b7c; }
textarea { resize: vertical; }
.demo-note { display: flex; align-items: flex-start; gap: 8px; color: var(--muted); margin: 16px 0; font-size: .84rem; }
.demo-note [data-icon] { color: var(--orange-text); padding-top: 3px; }
.side-panel .icon-tile { margin-bottom: 12px; }
.side-panel ul { color: var(--muted); padding-left: 19px; margin: 14px 0 16px; }
.side-panel li + li { margin-top: 5px; }
.side-panel p { margin: 9px 0 13px; color: var(--muted); }
.side-panel h3 { font-size: 1.12rem; margin-top: 16px; }
.side-link { display: flex; flex-direction: column; border-bottom: 1px solid #d7d8e2; gap: 3px; padding-block: 13px; }
.side-link:last-child { border-bottom: 0; padding-bottom: 0; }
.side-link strong { color: var(--orange-text); }
.side-link:hover strong { text-decoration: underline; }
.side-link span { color: var(--muted); font-size: .87rem; }
.result { color: var(--navy); overflow-wrap: anywhere; }
.result h2 { margin: 12px 0 8px; }
.result p { color: var(--muted); margin: 8px 0; }
.result .actions { margin-top: 17px; }
.result .text-link { padding: 8px 0; }
.track-result-card { margin-top: 18px; border: 1px solid var(--line); border-radius: 6px; background: var(--off-white); padding: 15px; }
.track-result-card h3 { margin: 4px 0 9px; font-size: 1.23rem; }
.track-result-card p { margin: 4px 0; }
.track-result-card .status { font-size: .78rem; font-weight: 800; color: var(--orange-text); text-transform: uppercase; letter-spacing: .08em; }

@media (max-width: 900px) {
  .shell { width: calc(100% - 48px); }
  .header-inner { gap: 17px; }
  .main-nav { gap: 17px; }
  .main-nav .track-link { padding-inline: 9px; }
  .hero { min-height: 515px; }
  .hero-routes { width: 53%; opacity: .8; }
  .footer-main { grid-template-columns: 1fr 1fr 1.1fr; gap: 25px; }
  .footer-intro { grid-column: 1 / -1; }
}
@media (max-width: 740px) {
  .header-inner { min-height: 64px; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); background: var(--white); border: 1px solid var(--line); border-radius: 5px; min-height: 42px; padding: 6px 10px; font-size: .88rem; font-weight: 750; }
  .menu-icon { width: 16px; height: 11px; border-block: 2px solid currentColor; position: relative; }
  .menu-icon::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid currentColor; }
  .main-nav { position: absolute; display: none; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 12px 25px #19192e20; padding: 5px 24px 15px; }
  .main-nav.open { display: flex; }
  .main-nav > a { display: block; padding-block: 11px; min-height: 44px; }
  .main-nav .track-link { align-self: start; padding-inline: 11px; margin-top: 4px; }
  .hero { align-items: stretch; min-height: auto; }
  .hero-content { padding-block: 56px 43px; }
  .hero-routes { top: -24px; right: -15px; bottom: auto; width: min(84%, 405px); height: 64%; opacity: .5; object-position: top right; mask-image: linear-gradient(90deg, transparent 8%, #000 67%); }
  .hero h1 { font-size: clamp(3.05rem, 9vw, 4.45rem); margin: 13px 0 14px; }
  .hero h1 em { display: inline; }
  .hero-deck { max-width: 430px; }
  .actions { margin-top: 21px; }
  .section { padding-block: 45px; }
  .section-head { flex-direction: column; align-items: start; gap: 12px; }
  .section-head { margin-bottom: 18px; }
  .path-grid, .lane-inner, .faq-inner, .split, .resource-grid, .network-panel { grid-template-columns: 1fr; }
  .path-grid { gap: 12px; }
  .path-card { min-height: 0; padding: 17px; }
  .card-top { margin-bottom: 11px; }
  .path-card p { margin-block: 6px 9px; }
  .lane-strip { padding-block: 44px; }
  .lane-inner, .faq-inner { gap: 17px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 29px 20px; padding-block: 39px; }
  .footer-links h3 { margin-bottom: 10px; }
  .network-map figcaption { position: static; padding: 0 20px 19px; text-align: right; }
  .contact-shortcuts .side-link > span { display: none; }
  .footer-contact { grid-column: 1 / -1; padding-top: 14px; border-top: 1px solid #474760; }
  .page-head { padding-block: 21px 31px; }
  .page-head + .section { padding-top: 22px; }
  .solution-grid { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 430px) {
  .shell { width: calc(100% - 36px); }
  .main-nav { padding-inline: 18px; }
  .hero .actions { display: grid; }
  .hero .button { width: 100%; }
  .hero-contact { margin-top: 10px; }
  .field-grid { grid-template-columns: 1fr; }
  .panel-head { flex-wrap: wrap; gap: 2px 12px; }
  .panel-head .text-link { min-height: 42px; }
  .panel form .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

.wp-site-blocks { padding: 0; }
.xlntly-article { max-width: 760px; }
.xlntly-posts .wp-block-post-template { list-style: none; padding: 0; display: grid; gap: 18px; }
.xlntly-posts .wp-block-post-template > li { padding: 0; margin: 0; }
.xlntly-posts .wp-block-post-template .panel { height: 100%; }
.xlntly-posts .wp-block-post-excerpt { margin-top: 10px; }
.xlntly-posts .wp-block-post-excerpt__more-link { color: var(--orange-text); font-weight: 750; }
.xlntly-posts .wp-block-query-pagination { margin-top: 24px; }
.booking-placeholder { color: var(--muted); margin: 12px 0; }
.xlntly-booking > h2, .xlntly-form > h2 { margin-bottom: 15px; }
.xlntly-form .forminator-ui.forminator-custom-form { margin: 0 !important; }
.xlntly-form .forminator-ui.forminator-custom-form .forminator-label { color: var(--navy); font-family: inherit; font-size: .9rem; font-weight: 700; }
.xlntly-form .forminator-ui.forminator-custom-form .forminator-input,
.xlntly-form .forminator-ui.forminator-custom-form .forminator-textarea,
.xlntly-form .forminator-ui.forminator-custom-form .forminator-select2 .selection > .select2-selection { border: 1px solid #a9adbc; border-radius: 5px; background-color: var(--white); color: var(--navy); min-height: 43px; font: inherit; }
.xlntly-form .forminator-ui.forminator-custom-form .forminator-button-submit { min-height: 49px; border: 0; border-radius: 5px; background: var(--orange) !important; color: #191526 !important; font-family: inherit; font-size: .9rem; font-weight: 800; }
.xlntly-form .forminator-ui.forminator-custom-form .forminator-button-submit:hover { background: #ff7731 !important; }
@media (max-width: 650px) { .xlntly-posts .wp-block-post-template { grid-template-columns: 1fr; } }
