/*
 * SP Logistics Premium UI v1
 * Private-candidate canonical design authority, loaded after the preserved
 * compatibility stack. Scope is intentionally limited to .sp-premium-v1.
 */
body.sp-premium-v1 {
  --sp-ink-900: #0c2f39;
  --sp-ink-800: #103844;
  --sp-teal: #155263;
  --sp-sky: #1e758d;
  --sp-gold: #ffbb09;
  --sp-yellow: #ffc93c;
  --sp-soft-gold: #ffd76f;
  --sp-footer: #203d55;
  --sp-surface: #f5f8fa;
  --sp-surface-strong: #eaf2f5;
  --sp-card: #fff;
  --sp-border: #d8e3e8;
  --sp-text: #183744;
  --sp-muted: #526b74;
  --sp-white: #fff;
  --sp-radius-control: 12px;
  --sp-radius-card: 20px;
  --sp-radius-media: 28px;
  --sp-shadow-card: 0 12px 34px rgba(12, 47, 57, .08);
  --sp-shadow-lift: 0 22px 54px rgba(12, 47, 57, .14);
  --sp-container: 1280px;
  --sp-header-offset: 130px;
  margin: 0;
  overflow-x: clip;
  color: var(--sp-text);
  background: var(--sp-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.sp-premium-v1 *,
body.sp-premium-v1 *::before,
body.sp-premium-v1 *::after {
  box-sizing: border-box;
}

body.sp-premium-v1 :where(main, section, article, aside, nav, div) {
  min-width: 0;
}

body.sp-premium-v1 :where(h1, h2, h3, h4) {
  color: var(--sp-ink-900);
  font-weight: 850;
  text-wrap: balance;
}

body.sp-premium-v1 :where(p, li) {
  text-wrap: pretty;
}

body.sp-premium-v1 :where(a, button, input, select, textarea, summary) {
  -webkit-tap-highlight-color: transparent;
}

body.sp-premium-v1 :where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--sp-gold) !important;
  outline-offset: 3px;
  box-shadow: 0 0 0 2px var(--sp-ink-900);
}

body.sp-premium-v1 :where(section, article, aside, form, [id]) {
  scroll-margin-top: var(--sp-header-offset) !important;
}

body.sp-premium-v1 .container,
body.sp-premium-v1 .u-sheet {
  width: min(100%, var(--sp-container));
  max-width: var(--sp-container) !important;
  margin-inline: auto;
  padding-inline: clamp(40px, 4.2vw, 64px) !important;
}

body.sp-premium-v1 .skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 16px;
  translate: 0 -150%;
  min-height: 44px;
  padding: 11px 16px;
  border-radius: var(--sp-radius-control);
  background: var(--sp-white);
  color: var(--sp-ink-900);
  font-weight: 800;
  transition: translate .16s ease;
}

body.sp-premium-v1 .skip-link:focus {
  left: 16px;
  top: 12px;
  translate: 0;
}

/* Compact institutional header */
body.sp-premium-v1 .topline {
  min-height: 44px;
  background: var(--sp-ink-900) !important;
  color: var(--sp-white);
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .015em;
}

body.sp-premium-v1 .topline .container {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

body.sp-premium-v1 .topline span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.sp-premium-v1 .topline span:last-child {
  flex: none;
  white-space: nowrap;
}

body.sp-premium-v1 .topline a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--sp-white);
  text-decoration-color: rgba(255, 255, 255, .55);
  text-underline-offset: 3px;
}

body.sp-premium-v1 .site-header {
  position: sticky !important;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(12, 47, 57, .1) !important;
  background: rgba(255, 255, 255, .985) !important;
  box-shadow: 0 8px 28px rgba(12, 47, 57, .055) !important;
  backdrop-filter: blur(12px);
}

body.sp-premium-v1 .nav-shell {
  position: relative;
  display: grid !important;
  min-height: 80px !important;
  grid-template-columns: minmax(124px, auto) minmax(0, 1fr) auto;
  align-items: center !important;
  gap: 22px;
  padding-block: 0 !important;
}

body.sp-premium-v1 .brand {
  display: inline-flex;
  width: fit-content;
  min-width: 0 !important;
  max-width: 130px;
  align-items: center;
  gap: 11px;
  color: var(--sp-ink-900);
}

body.sp-premium-v1 .brand img {
  width: 120px !important;
  height: auto !important;
  aspect-ratio: 584 / 412;
  flex: none;
  object-fit: contain;
}

body.sp-premium-v1 .brand > span {
  display: none !important;
  line-height: 1;
}

body.sp-premium-v1 .brand strong {
  display: block;
  color: var(--sp-ink-900) !important;
  font-size: 1rem !important;
  font-weight: 900;
  letter-spacing: .075em;
  white-space: nowrap;
}

body.sp-premium-v1 .brand span span {
  display: block;
  margin-top: 5px;
  color: var(--sp-muted) !important;
  font-size: .53rem !important;
  font-weight: 750;
  letter-spacing: .16em;
  line-height: 1.15;
  text-transform: uppercase;
  white-space: nowrap;
}

body.sp-premium-v1 .site-header .primary-nav {
  display: flex !important;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 3px !important;
  flex-wrap: nowrap !important;
}

body.sp-premium-v1 .site-header .primary-nav a {
  position: relative;
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 9px !important;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--sp-ink-900) !important;
  background: transparent !important;
  font-size: .75rem !important;
  font-weight: 820 !important;
  letter-spacing: -.005em;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

body.sp-premium-v1 .site-header .primary-nav a:hover {
  border-color: rgba(21, 82, 99, .18);
  background: var(--sp-surface) !important;
  color: var(--sp-teal) !important;
  text-decoration: none;
}

body.sp-premium-v1 .site-header .primary-nav a[aria-current="page"] {
  border-color: var(--sp-teal) !important;
  background: var(--sp-teal) !important;
  color: var(--sp-white) !important;
  box-shadow: none !important;
}

body.sp-premium-v1 .site-header .primary-nav a[data-parent-current="true"]::after {
  position: absolute;
  right: 12px;
  bottom: 5px;
  left: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--sp-teal);
  content: "";
}

body.sp-premium-v1 .site-header .primary-nav .quote {
  margin-left: 5px;
  padding-inline: 16px !important;
  border-color: var(--sp-gold) !important;
  background: var(--sp-gold) !important;
  color: var(--sp-ink-900) !important;
  box-shadow: 0 8px 20px rgba(255, 187, 9, .2) !important;
}

body.sp-premium-v1 .site-header .primary-nav .quote:hover {
  border-color: var(--sp-ink-900) !important;
  background: var(--sp-ink-900) !important;
  color: var(--sp-soft-gold) !important;
}

body.sp-premium-v1 .nav-toggle {
  display: none;
  min-width: 52px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 1px solid var(--sp-teal);
  border-radius: 999px;
  background: var(--sp-teal);
  color: var(--sp-white);
  font: inherit;
  font-size: .85rem;
  font-weight: 850;
}

/* Shared type, actions, and surface system */
body.sp-premium-v1 :where(.eyebrow, .kicker, .home-eyebrow, .services-eyebrow, .port-eyebrow, .rail-eyebrow, .warehouse-eyebrow, .drive-eyebrow, .quote-eyebrow, .terminal-badge) {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--sp-teal);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .14em;
  line-height: 1.35;
  text-transform: uppercase;
}

body.sp-premium-v1 :where(.eyebrow, .kicker, .home-eyebrow, .services-eyebrow, .port-eyebrow, .rail-eyebrow, .warehouse-eyebrow, .drive-eyebrow, .quote-eyebrow)::before {
  width: 32px;
  height: 3px;
  flex: none;
  border-radius: 99px;
  background: var(--sp-gold);
  content: "";
}

body.sp-premium-v1 :where(.actions, .home-actions, .services-actions, .port-actions, .rail-actions, .warehouse-actions, .drive-actions, .quote-actions, .quote-hero-actions) {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

body.sp-premium-v1 :where(.btn, .u-btn, button[type="submit"]) {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px !important;
  border: 1px solid #bfd0d7 !important;
  border-radius: 999px !important;
  background: var(--sp-white) !important;
  color: var(--sp-ink-900) !important;
  box-shadow: none !important;
  font-size: .86rem;
  font-weight: 850 !important;
  line-height: 1.15;
  text-decoration: none !important;
  transition: border-color .16s ease, background .16s ease, color .16s ease, transform .16s ease, box-shadow .16s ease;
}

body.sp-premium-v1 :where(.btn, .u-btn, button[type="submit"]):hover {
  border-color: var(--sp-teal) !important;
  color: var(--sp-teal) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(12, 47, 57, .08) !important;
}

body.sp-premium-v1 :where(.btn.primary, button[type="submit"], .primary) {
  border-color: var(--sp-gold) !important;
  background: var(--sp-gold) !important;
  color: var(--sp-ink-900) !important;
}

body.sp-premium-v1 :where(.btn.primary, button[type="submit"], .primary):hover {
  border-color: var(--sp-ink-900) !important;
  background: var(--sp-ink-900) !important;
  color: var(--sp-soft-gold) !important;
}

body.sp-premium-v1 .section {
  padding-block: clamp(64px, 6vw, 88px) !important;
}

body.sp-premium-v1 .section.soft,
body.sp-premium-v1 .terminal-section.soft {
  background: var(--sp-surface) !important;
}

body.sp-premium-v1 .section.warm {
  background: linear-gradient(135deg, #fffdf6, #fff7e1) !important;
}

body.sp-premium-v1 .section-head {
  display: grid !important;
  grid-template-columns: minmax(0, 7fr) minmax(260px, 5fr) !important;
  align-items: end !important;
  gap: 48px !important;
  margin-bottom: 32px !important;
}

body.sp-premium-v1 .section-head h2 {
  max-width: 820px;
  margin: 0;
  color: var(--sp-ink-900) !important;
  font-size: clamp(2rem, 3.2vw, 3.45rem) !important;
  letter-spacing: -.04em !important;
  line-height: 1.03 !important;
}

body.sp-premium-v1 .section-head p {
  max-width: 56ch;
  margin: 0;
  color: var(--sp-muted) !important;
  font-size: 1rem !important;
}

body.sp-premium-v1 :where(.grid, .service-matrix, .terminal-grid) {
  gap: 20px !important;
}

body.sp-premium-v1 :where(.card, .faq, .quote-panel, .quote-summary-card, .home-answer-card, .services-answer-card, .port-answer-card, .rail-answer-card, .warehouse-answer-card, .warehouse-scope-card, .drive-apply-card, .quote-side-card, .terminal-card, .tool-panel, .article-meta-card) {
  height: auto !important;
  min-height: 0 !important;
  padding: 26px !important;
  border: 1px solid var(--sp-border) !important;
  border-radius: var(--sp-radius-card) !important;
  background: var(--sp-card) !important;
  color: var(--sp-text) !important;
  box-shadow: var(--sp-shadow-card) !important;
}

body.sp-premium-v1 :where(.card, .faq, .quote-panel, .quote-summary-card, .terminal-card) :where(h2, h3) {
  margin-top: 0;
  color: var(--sp-ink-900) !important;
  letter-spacing: -.025em;
  line-height: 1.12;
}

body.sp-premium-v1 :where(.card, .faq, .quote-panel, .quote-summary-card, .terminal-card) :where(p, li) {
  color: var(--sp-muted) !important;
}

body.sp-premium-v1 .linked-card {
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

body.sp-premium-v1 .linked-card:hover,
body.sp-premium-v1 .linked-card:focus-within {
  border-color: rgba(21, 82, 99, .42) !important;
  transform: translateY(-2px);
  box-shadow: var(--sp-shadow-lift) !important;
}

body.sp-premium-v1 .card-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 9px 13px;
  border: 1px solid var(--sp-border);
  border-radius: 999px;
  color: var(--sp-ink-900);
  font-size: .8rem;
  font-weight: 850;
}

body.sp-premium-v1 main :where(p, li) > a[href]:not(.btn):not(.u-btn):not(.card-link) {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  vertical-align: middle;
}

body.sp-premium-v1 .split,
body.sp-premium-v1 .home-split,
body.sp-premium-v1 .checker-layout {
  display: grid !important;
  grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  align-items: start !important;
  gap: 32px !important;
}

body.sp-premium-v1 .split > :first-child,
body.sp-premium-v1 .home-split > :first-child,
body.sp-premium-v1 .checker-layout > :first-child {
  grid-column: span 7;
}

body.sp-premium-v1 .split > :last-child,
body.sp-premium-v1 .home-split > :last-child,
body.sp-premium-v1 .checker-layout > :last-child {
  grid-column: span 5;
}

/* Four reusable hero families */
body.sp-premium-v1 :where(.hero, .home-hero, .services-hero, .port-hero, .rail-hero, .warehouse-hero, .drive-hero, .quote-hero, .terminal-hero) {
  position: relative;
  overflow: clip;
  border: 0 !important;
}

body.sp-premium-v1 :where(.hero .container, .home-hero-grid, .services-hero-grid, .port-hero-grid, .rail-hero-grid, .warehouse-hero-grid, .drive-hero-grid, .quote-hero-grid) {
  padding-top: clamp(58px, 6vw, 84px) !important;
  padding-bottom: clamp(58px, 6vw, 84px) !important;
}

body.sp-premium-v1 :where(.hero-grid, .home-hero-grid, .services-hero-grid, .port-hero-grid, .rail-hero-grid, .warehouse-hero-grid, .drive-hero-grid, .quote-hero-grid) {
  display: grid !important;
  grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  align-items: center !important;
  gap: clamp(32px, 4vw, 56px) !important;
}

body.sp-premium-v1 :where(.hero-grid, .home-hero-grid, .services-hero-grid, .port-hero-grid, .rail-hero-grid, .warehouse-hero-grid, .drive-hero-grid, .quote-hero-grid) > :first-child {
  grid-column: span 6;
}

body.sp-premium-v1 :where(.hero-grid, .home-hero-grid, .services-hero-grid, .port-hero-grid, .rail-hero-grid, .warehouse-hero-grid, .drive-hero-grid, .quote-hero-grid) > :last-child {
  grid-column: span 6;
}

body.sp-premium-v1 :where(.hero h1, .home-hero h1, .services-hero h1, .port-hero h1, .rail-hero h1, .warehouse-hero h1, .drive-hero h1, .quote-hero h1, .terminal-hero h1) {
  max-width: 760px !important;
  margin: 0 0 22px !important;
  overflow: visible !important;
  color: var(--sp-ink-900) !important;
  font-size: clamp(3rem, 4.65vw, 4.45rem) !important;
  font-weight: 880 !important;
  hyphens: none;
  letter-spacing: -.042em !important;
  line-height: 1.01 !important;
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: normal;
}

body.sp-premium-v1 :where(.hero .lead, .home-lead, .services-lead, .port-lead, .rail-lead, .warehouse-lead, .drive-lead, .quote-lead, .terminal-hero .lead) {
  max-width: 66ch;
  margin: 0;
  color: var(--sp-muted) !important;
  font-size: clamp(1rem, 1.15vw, 1.12rem) !important;
  line-height: 1.65;
}

body.sp-premium-v1 :where(.home-image-card, .services-hero-media, .port-hero-media, .rail-hero-media, .warehouse-hero-media, .drive-hero-media, .quote-hero-media, .hero-media, .media-card, .image-tile) {
  position: relative;
  overflow: hidden;
  align-self: center !important;
  border: 1px solid rgba(12, 47, 57, .1) !important;
  border-radius: var(--sp-radius-media) !important;
  background: var(--sp-surface-strong);
  box-shadow: var(--sp-shadow-lift) !important;
}

body.sp-premium-v1 :where(.home-image-card, .services-hero-media, .port-hero-media, .rail-hero-media, .warehouse-hero-media, .drive-hero-media, .quote-hero-media, .hero-media, .media-card, .image-tile) img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 10 !important;
  object-fit: cover !important;
}

body.sp-premium-v1 .sp-media-note {
  display: flex;
  min-height: 36px;
  align-items: center;
  margin: 0 !important;
  padding: 8px 14px;
  border-top: 1px solid var(--sp-border);
  background: var(--sp-white);
  color: var(--sp-muted) !important;
  font-size: .72rem !important;
  font-weight: 700;
  letter-spacing: .01em;
}

body.sp-premium-v1 .hero.dark {
  background: linear-gradient(132deg, var(--sp-ink-900), var(--sp-teal)) !important;
  color: var(--sp-white);
}

body.sp-premium-v1 .hero.dark::after {
  position: absolute;
  top: -160px;
  right: -100px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 187, 9, .13), transparent 68%);
  pointer-events: none;
  content: "";
}

body.sp-premium-v1 .hero.dark :where(h1, h2) {
  color: var(--sp-white) !important;
}

body.sp-premium-v1 .hero.dark :where(.lead, .kicker) {
  color: rgba(255, 255, 255, .84) !important;
}

body.sp-premium-v1 .hero.dark .quote-panel {
  position: relative;
  z-index: 2;
  align-self: center !important;
  padding: clamp(24px, 2.5vw, 30px) !important;
  border-color: rgba(255, 255, 255, .26) !important;
  background: rgba(255, 255, 255, .97) !important;
  box-shadow: 0 20px 44px rgba(0, 0, 0, .16) !important;
}

body.sp-premium-v1 .hero.dark .quote-panel :where(h2, h3) {
  color: var(--sp-ink-900) !important;
}

body.sp-premium-v1 .hero.dark .quote-panel :where(p, li) {
  color: var(--sp-muted) !important;
}

body.sp-premium-v1 .home-hero,
body.sp-premium-v1 .services-hero,
body.sp-premium-v1 .quote-hero {
  background: linear-gradient(132deg, #fff 0%, #f6fafb 63%, #fff7de 100%) !important;
}

body.sp-premium-v1.sp-family-services .services-hero-grid > :first-child {
  grid-column: span 5;
}

body.sp-premium-v1.sp-family-services .services-hero-grid > :last-child {
  grid-column: span 7;
}

body.sp-premium-v1.sp-family-services .services-hero h1 {
  font-size: clamp(3rem, 4.7vw, 4.4rem) !important;
}

body.sp-premium-v1.sp-family-services .services-card-grid > .service-card:last-child {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  grid-template-rows: auto auto 1fr;
  column-gap: clamp(28px, 4vw, 52px);
  align-items: start;
}

body.sp-premium-v1.sp-family-services .services-card-grid > .service-card:last-child .mini,
body.sp-premium-v1.sp-family-services .services-card-grid > .service-card:last-child h3,
body.sp-premium-v1.sp-family-services .services-card-grid > .service-card:last-child p {
  grid-column: 1;
}

body.sp-premium-v1.sp-family-services .services-card-grid > .service-card:last-child .service-link-list {
  grid-column: 2;
  grid-row: 1 / 4;
  align-self: center;
  margin-top: 0;
}

body.sp-premium-v1.sp-family-home .home-hero-grid > :first-child,
body.sp-premium-v1.sp-family-port .port-hero-grid > :first-child {
  grid-column: span 7;
}

body.sp-premium-v1.sp-family-home .home-hero-grid > :last-child,
body.sp-premium-v1.sp-family-port .port-hero-grid > :last-child {
  grid-column: span 5;
}

body.sp-premium-v1.sp-family-port .hero-grid > :first-child {
  grid-column: span 8;
}

body.sp-premium-v1.sp-family-port .hero-grid > :last-child {
  grid-column: span 4;
}

body.sp-premium-v1.sp-family-home .home-hero h1 {
  max-width: 720px !important;
  font-size: clamp(3rem, 4vw, 3.75rem) !important;
}

body.sp-premium-v1 .cta-band :where(h2, h3) {
  color: var(--sp-white) !important;
}

body.sp-premium-v1 .cta-band p {
  color: rgba(255, 255, 255, .88) !important;
}

body.sp-premium-v1.sp-family-recruiting .hero.dark {
  background: linear-gradient(125deg, #0b303a, #155263 68%, #1e758d) !important;
}

body.sp-premium-v1.sp-family-recruiting .hero-grid {
  align-items: start !important;
}

body.sp-premium-v1.sp-family-recruiting .hero .quote-panel {
  border-top: 4px solid var(--sp-gold) !important;
}

body.sp-premium-v1.sp-family-resources .hero.dark {
  background: linear-gradient(125deg, #103844, #1e758d) !important;
}

body.sp-premium-v1.sp-family-rail .hero.dark {
  background: linear-gradient(125deg, #0c2f39, #174b5b 65%, #1e758d) !important;
}

body.sp-premium-v1.sp-family-yard .hero.dark {
  background: linear-gradient(125deg, #153c43, #155263 65%, #2b6c6a) !important;
}

body.sp-premium-v1.sp-family-quote .quote-hero-grid > :first-child {
  grid-column: span 7;
}

body.sp-premium-v1.sp-family-quote .quote-hero-grid > :last-child {
  grid-column: span 5;
}

/* Facility and exact-terminal family */
body.sp-premium-v1 .terminal-hero {
  background: linear-gradient(130deg, var(--sp-ink-900), var(--sp-teal)) !important;
  color: var(--sp-white);
}

body.sp-premium-v1 .terminal-hero > .container {
  padding-top: clamp(56px, 6vw, 80px) !important;
  padding-bottom: clamp(56px, 6vw, 80px) !important;
}

body.sp-premium-v1 .terminal-hero .container > div > div {
  max-width: 900px;
}

body.sp-premium-v1 .terminal-hero :where(h1, .lead) {
  color: var(--sp-white) !important;
}

body.sp-premium-v1 .terminal-badge {
  min-height: 34px;
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  background: rgba(255, 255, 255, .09);
  color: var(--sp-soft-gold) !important;
}

body.sp-premium-v1 .terminal-section {
  padding-block: clamp(56px, 5vw, 76px) !important;
}

body.sp-premium-v1 .terminal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.sp-premium-v1 .sp-terminal-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(320px, 5fr);
  align-items: center;
  gap: clamp(30px, 4.5vw, 64px);
  min-width: 0;
}

body.sp-premium-v1 .terminal-hero > .sp-terminal-hero-container {
  display: block !important;
  grid-template-columns: none !important;
}

body.sp-premium-v1 .sp-facility-process {
  min-width: 0;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, .28);
  border-top: 4px solid var(--sp-gold);
  border-radius: var(--sp-radius-card);
  background: rgba(255, 255, 255, .09);
  box-shadow: 0 24px 54px rgba(0, 0, 0, .18);
}

body.sp-premium-v1 .sp-facility-process-eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--sp-soft-gold);
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

body.sp-premium-v1 .sp-facility-process h2 {
  margin: 0 0 18px;
  color: var(--sp-white) !important;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  letter-spacing: -.025em;
  line-height: 1.1;
}

body.sp-premium-v1 .sp-facility-process ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.sp-premium-v1 .sp-facility-process li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-height: 66px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--sp-radius-control);
  background: rgba(7, 31, 38, .18);
}

body.sp-premium-v1 .sp-facility-process li > span {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--sp-gold);
  color: var(--sp-ink-900);
  font-size: .66rem;
  font-weight: 900;
}

body.sp-premium-v1 .sp-facility-process li strong {
  color: var(--sp-white);
  font-size: .8rem;
  line-height: 1.32;
}

body.sp-premium-v1 .sp-facility-process > p {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .8) !important;
  font-size: .78rem !important;
  line-height: 1.5;
}

/* Shared editorial media cards */
body.sp-premium-v1 .sp-photo-band {
  margin-top: -30px !important;
  padding-bottom: 28px !important;
}

body.sp-premium-v1 .sp-photo-band .sp-photo-grid {
  gap: 20px !important;
}

body.sp-premium-v1 .sp-photo-card {
  min-height: 0 !important;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, .72) !important;
  border-radius: var(--sp-radius-media) !important;
  box-shadow: var(--sp-shadow-lift) !important;
}

body.sp-premium-v1 .sp-photo-grid.two .sp-photo-card {
  min-height: 0 !important;
  aspect-ratio: 16 / 10;
}

body.sp-premium-v1 .sp-photo-card img {
  transition: transform .28s ease;
}

body.sp-premium-v1 .sp-photo-card figcaption {
  padding: 68px 24px 22px !important;
  background: linear-gradient(180deg, transparent, rgba(7, 31, 38, .9) 58%, rgba(7, 31, 38, .98)) !important;
}

body.sp-premium-v1 .sp-visual-context-label {
  display: inline-flex;
  width: fit-content;
  margin-top: 5px;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  color: rgba(255, 255, 255, .82);
  font-size: .66rem;
  font-weight: 760;
  letter-spacing: .05em;
  text-transform: uppercase;
}

body.sp-premium-v1 .sp-diagram-legend {
  display: none;
}

body.sp-premium-v1 .sp-hero-data-card {
  position: relative;
  z-index: 2;
  min-width: 0;
  margin: 0;
  padding: clamp(24px, 2.8vw, 32px);
  border: 1px solid rgba(255, 255, 255, .26);
  border-top: 4px solid var(--sp-gold);
  border-radius: var(--sp-radius-card);
  background: rgba(255, 255, 255, .09);
  box-shadow: 0 22px 48px rgba(0, 0, 0, .16);
  color: var(--sp-white);
}

body.sp-premium-v1 .sp-hero-data-card .sp-data-card-eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--sp-soft-gold);
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

body.sp-premium-v1 .sp-hero-data-card h2 {
  margin: 0 0 18px;
  color: var(--sp-white) !important;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  letter-spacing: -.025em;
  line-height: 1.1;
}

body.sp-premium-v1 .sp-hero-data-card ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.sp-premium-v1 .sp-hero-data-card li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, .16);
}

body.sp-premium-v1 .sp-hero-data-card li > span {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--sp-gold);
  color: var(--sp-ink-900);
  font-size: .68rem;
  font-weight: 900;
}

body.sp-premium-v1 .sp-hero-data-card li strong {
  display: block;
  color: var(--sp-white);
  font-size: .94rem;
}

body.sp-premium-v1 .sp-hero-data-card li p,
body.sp-premium-v1 .sp-hero-data-card .sp-data-card-note {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, .78) !important;
  font-size: .82rem !important;
  line-height: 1.48;
}

body.sp-premium-v1 .sp-hero-data-card .sp-data-card-note {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .16);
}

body.sp-premium-v1 .sp-table-cue {
  max-width: 78ch;
  margin: 0 0 14px;
  padding: 12px 14px;
  border-left: 4px solid var(--sp-gold);
  border-radius: 0 var(--sp-radius-control) var(--sp-radius-control) 0;
  background: var(--sp-surface);
  color: var(--sp-muted);
  font-size: .84rem;
  line-height: 1.55;
}

body.sp-premium-v1 .sp-table-cue strong {
  color: var(--sp-ink-900);
}

/* Tools, forms, and resource articles */
body.sp-premium-v1 :where(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
  min-height: 46px;
  border: 1px solid #b8ccd4 !important;
  border-radius: var(--sp-radius-control) !important;
  background: var(--sp-white) !important;
  color: var(--sp-text) !important;
  font: inherit;
}

body.sp-premium-v1 :where(input[type="checkbox"], input[type="radio"]) {
  width: 18px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  margin: 0;
  padding: 0;
  flex: 0 0 18px;
  accent-color: var(--sp-teal);
}

body.sp-premium-v1 :where(.pill, .checkbox-grid label, .high-value-toggle) {
  min-height: 44px;
}

body.sp-premium-v1 textarea {
  min-height: 136px;
}

body.sp-premium-v1 :where(label, legend) {
  color: var(--sp-ink-900);
  font-weight: 780;
}

body.sp-premium-v1 .tool-result[aria-live] {
  min-height: 0;
}

body.sp-premium-v1.sp-family-tool main > .section:first-child {
  padding-top: 48px !important;
  background: linear-gradient(180deg, var(--sp-surface), #fff) !important;
}

body.sp-premium-v1.sp-family-tool main > .section:first-child .section-head {
  margin-bottom: 24px !important;
}

body.sp-premium-v1 .article-grid {
  display: grid !important;
  grid-template-columns: minmax(190px, 2fr) minmax(0, 8fr) !important;
  gap: clamp(28px, 4vw, 56px) !important;
}

body.sp-premium-v1 .article-main {
  max-width: 850px;
}

body.sp-premium-v1 .article-main > h1 {
  margin-top: 0;
  color: var(--sp-ink-900) !important;
  font-size: clamp(2.65rem, 4.8vw, 4.25rem) !important;
  letter-spacing: -.04em !important;
  line-height: 1.04 !important;
}

body.sp-premium-v1 .article-section {
  padding-block: 24px;
  border-bottom: 1px solid var(--sp-border);
}

body.sp-premium-v1 .article-section h2 {
  font-size: clamp(1.55rem, 2.3vw, 2.2rem);
}

body.sp-premium-v1 .contextual-answer-section {
  background: linear-gradient(180deg, #fff, var(--sp-surface)) !important;
}

body.sp-premium-v1 .contextual-compact-card {
  max-width: 980px;
  margin-inline: auto;
  border-left: 4px solid var(--sp-gold) !important;
}

body.sp-premium-v1 .related-direct-card {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Reusable service boundary and external-profile components */
body.sp-premium-v1 .sp-service-boundary-section {
  padding-block: 52px;
  background: #eef5f7;
}

body.sp-premium-v1 .sp-service-boundary {
  display: grid;
  grid-template-columns: minmax(220px, 4fr) minmax(0, 8fr);
  gap: 32px;
  padding: 28px 30px;
  border: 1px solid #cbdde3;
  border-left: 5px solid var(--sp-sky);
  border-radius: var(--sp-radius-card);
  background: var(--sp-white);
  box-shadow: var(--sp-shadow-card);
}

body.sp-premium-v1 .sp-service-boundary h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.12;
}

body.sp-premium-v1 .sp-service-boundary p {
  margin: 0;
  color: var(--sp-muted);
}

body.sp-premium-v1 .sp-profile-directory {
  padding-block: clamp(64px, 6vw, 84px);
  background: var(--sp-surface);
}

body.sp-premium-v1 .sp-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

body.sp-premium-v1 .sp-profile-card {
  padding: 24px;
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius-card);
  background: var(--sp-white);
  box-shadow: var(--sp-shadow-card);
}

body.sp-premium-v1 .sp-profile-card h3 {
  margin: 0 0 12px;
  font-size: 1.1rem;
}

body.sp-premium-v1 .sp-profile-card a,
body.sp-premium-v1 .sp-footer-external {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding-block: 5px;
  color: var(--sp-teal);
  font-weight: 760;
}

body.sp-premium-v1 .sp-profile-card a::after,
body.sp-premium-v1 .sp-footer-external::after {
  content: "↗";
  font-size: .9em;
}

/* Compact authoritative footer */
body.sp-premium-v1 .site-footer {
  padding: 50px 0 24px !important;
  background: var(--sp-footer) !important;
  color: var(--sp-white);
}

body.sp-premium-v1 .site-footer .footer-grid {
  display: grid !important;
  grid-template-columns: minmax(220px, 1.45fr) repeat(5, minmax(0, 1fr)) !important;
  align-items: start !important;
  gap: clamp(24px, 3vw, 38px) !important;
}

body.sp-premium-v1 .footer-brand-column {
  max-width: 330px;
}

body.sp-premium-v1 .footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 14px;
}

body.sp-premium-v1 .footer-brand img {
  width: 42px !important;
  height: 42px !important;
  border-radius: 10px;
  object-fit: contain;
}

body.sp-premium-v1 .footer-brand h3 {
  margin: 0 !important;
  color: var(--sp-white) !important;
  font-size: 1rem;
  letter-spacing: .06em;
  line-height: 1.05;
}

body.sp-premium-v1 .footer-location {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, .78) !important;
  font-size: .82rem !important;
  line-height: 1.5;
}

body.sp-premium-v1 .footer-location strong {
  color: var(--sp-soft-gold);
}

body.sp-premium-v1 .footer-summary {
  margin: 13px 0 0;
  color: rgba(255, 255, 255, .68) !important;
  font-size: .78rem !important;
  line-height: 1.55;
}

body.sp-premium-v1 .footer-group {
  min-width: 0;
}

body.sp-premium-v1 .footer-group summary {
  display: block;
  list-style: none;
  color: var(--sp-white);
  font-size: .84rem;
  font-weight: 850;
  letter-spacing: .015em;
  cursor: default;
}

body.sp-premium-v1 .footer-group summary::-webkit-details-marker {
  display: none;
}

body.sp-premium-v1 .footer-links {
  display: grid !important;
  gap: 2px;
  margin-top: 10px;
}

body.sp-premium-v1 .site-footer .footer-links a {
  display: flex;
  min-height: 44px;
  align-items: center;
  margin: 0 !important;
  padding-block: 4px;
  color: rgba(255, 255, 255, .72) !important;
  font-size: .78rem !important;
  line-height: 1.25;
}

body.sp-premium-v1 .back-link {
  align-items: center;
  min-height: 44px;
}

body.sp-premium-v1 .site-footer .footer-links a:hover {
  color: var(--sp-soft-gold) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.sp-premium-v1 .footer-social-block + .footer-social-block {
  margin-top: 14px;
}

body.sp-premium-v1 .footer-social-label {
  display: block;
  color: var(--sp-soft-gold);
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.sp-premium-v1 .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .6);
  font-size: .74rem;
}

body.sp-premium-v1 .footer-bottom a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: rgba(255, 255, 255, .72);
}

body.sp-premium-v1 .home-mobile-cta {
  z-index: 90;
}

body.sp-premium-v1 :where(.home-mobile-cta, .quote-mobile-bar) {
  display: none !important;
}

@media (min-width: 681px) {
  body.sp-premium-v1 .footer-group .footer-links {
    display: grid !important;
  }
}

/* Breakpoints */
@media (max-width: 1240px) {
  body.sp-premium-v1 .site-header .primary-nav a {
    padding-inline: 7px !important;
    font-size: .71rem !important;
  }

  body.sp-premium-v1 .brand span span {
    display: none;
  }
}

@media (max-width: 1120px) {
  body.sp-premium-v1 {
    --sp-header-offset: 120px;
  }

  body.sp-premium-v1 .container,
  body.sp-premium-v1 .u-sheet {
    padding-inline: clamp(28px, 4vw, 40px) !important;
  }

  body.sp-premium-v1 .nav-shell {
    grid-template-columns: minmax(0, 1fr) auto !important;
    min-height: 74px !important;
  }

  body.sp-premium-v1 .nav-toggle {
    display: inline-flex !important;
  }

  body.sp-premium-v1 .site-header .primary-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: clamp(28px, 4vw, 40px);
    left: clamp(28px, 4vw, 40px);
    display: none !important;
    max-height: calc(100vh - 126px);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 4px !important;
    padding: 14px;
    border: 1px solid var(--sp-border);
    border-radius: 0 0 18px 18px;
    background: var(--sp-white) !important;
    box-shadow: var(--sp-shadow-lift);
  }

  body.sp-premium-v1 .site-header .primary-nav.open {
    display: flex !important;
  }

  body.sp-premium-v1 .site-header .primary-nav a {
    width: 100%;
    min-height: 46px;
    justify-content: flex-start;
    padding-inline: 14px !important;
    font-size: .9rem !important;
  }

  body.sp-premium-v1 .site-header .primary-nav .quote {
    margin: 5px 0 0;
    justify-content: center;
  }

  body.sp-premium-v1 .site-header .primary-nav a[data-parent-current="true"]::after {
    right: auto;
    bottom: 9px;
    left: 14px;
    width: 26px;
  }

  body.sp-premium-v1 :where(.hero-grid, .home-hero-grid, .services-hero-grid, .port-hero-grid, .rail-hero-grid, .warehouse-hero-grid, .drive-hero-grid, .quote-hero-grid) > :first-child,
  body.sp-premium-v1 :where(.hero-grid, .home-hero-grid, .services-hero-grid, .port-hero-grid, .rail-hero-grid, .warehouse-hero-grid, .drive-hero-grid, .quote-hero-grid) > :last-child,
  body.sp-premium-v1.sp-family-home .home-hero-grid > :first-child,
  body.sp-premium-v1.sp-family-home .home-hero-grid > :last-child,
  body.sp-premium-v1.sp-family-services .services-hero-grid > :first-child,
  body.sp-premium-v1.sp-family-services .services-hero-grid > :last-child,
  body.sp-premium-v1.sp-family-quote .quote-hero-grid > :first-child,
  body.sp-premium-v1.sp-family-quote .quote-hero-grid > :last-child {
    grid-column: 1 / -1;
  }

  body.sp-premium-v1.sp-family-port .hero-grid > :first-child,
  body.sp-premium-v1.sp-family-port .hero-grid > :last-child {
    grid-column: 1 / -1;
  }

  body.sp-premium-v1 :where(.hero-grid, .home-hero-grid, .services-hero-grid, .port-hero-grid, .rail-hero-grid, .warehouse-hero-grid, .drive-hero-grid, .quote-hero-grid) {
    gap: 34px !important;
  }

  body.sp-premium-v1 .sp-terminal-hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  body.sp-premium-v1 :where(.hero h1, .home-hero h1, .services-hero h1, .port-hero h1, .rail-hero h1, .warehouse-hero h1, .drive-hero h1, .quote-hero h1, .terminal-hero h1) {
    max-width: 900px !important;
    font-size: clamp(2.75rem, 5.3vw, 3.6rem) !important;
  }

  body.sp-premium-v1 .site-footer .footer-grid {
    grid-template-columns: minmax(240px, 1.4fr) repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 800px) {
  body.sp-premium-v1 .section-head,
  body.sp-premium-v1 .split,
  body.sp-premium-v1 .home-split,
  body.sp-premium-v1 .checker-layout,
  body.sp-premium-v1 .sp-service-boundary,
  body.sp-premium-v1 .article-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  body.sp-premium-v1 .split > *,
  body.sp-premium-v1 .home-split > *,
  body.sp-premium-v1 .checker-layout > * {
    grid-column: auto !important;
  }

  body.sp-premium-v1 :where(.grid.three, .grid.four, .service-matrix, .terminal-grid, .sp-profile-grid) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.sp-premium-v1 .sp-photo-band .sp-photo-grid.two {
    grid-template-columns: 1fr !important;
  }

  body.sp-premium-v1 .sp-terminal-hero-grid {
    grid-template-columns: 1fr;
  }

  body.sp-premium-v1 .sp-facility-process {
    padding: 24px;
  }

  body.sp-premium-v1 .sp-photo-card.diagram {
    aspect-ratio: auto !important;
  }

  body.sp-premium-v1 .sp-photo-card.diagram img {
    position: relative !important;
    inset: auto !important;
    height: auto !important;
    aspect-ratio: 728 / 423;
    padding: 14px !important;
    object-fit: contain !important;
  }

  body.sp-premium-v1 .sp-photo-card.diagram figcaption {
    position: relative;
    inset: auto;
    display: grid;
    gap: 6px;
    padding: 20px !important;
    background: var(--sp-ink-900) !important;
  }

  body.sp-premium-v1 .sp-diagram-legend {
    display: grid;
    gap: 12px;
    padding: 22px;
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius-card);
    background: var(--sp-white);
    box-shadow: var(--sp-shadow-card);
  }

  body.sp-premium-v1 .sp-diagram-legend h2,
  body.sp-premium-v1 .sp-diagram-legend p,
  body.sp-premium-v1 .sp-diagram-legend dl {
    margin: 0;
  }

  body.sp-premium-v1 .sp-diagram-legend h2 {
    color: var(--sp-ink-900);
    font-size: 1.35rem;
  }

  body.sp-premium-v1 .sp-diagram-legend p,
  body.sp-premium-v1 .sp-diagram-legend dd {
    color: var(--sp-muted);
    font-size: .88rem;
    line-height: 1.52;
  }

  body.sp-premium-v1 .sp-diagram-legend dl {
    display: grid;
    gap: 9px;
  }

  body.sp-premium-v1 .sp-diagram-legend dl > div {
    display: grid;
    grid-template-columns: minmax(126px, .8fr) minmax(0, 1.2fr);
    gap: 12px;
    padding-top: 9px;
    border-top: 1px solid var(--sp-border);
  }

  body.sp-premium-v1 .sp-diagram-legend dt {
    color: var(--sp-ink-900);
    font-size: .82rem;
    font-weight: 850;
  }

  body.sp-premium-v1 .sp-diagram-legend dd {
    margin: 0;
  }

  body.sp-premium-v1 .sp-weight-table {
    overflow: visible !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.sp-premium-v1 .sp-weight-table table {
    display: block;
    min-width: 0 !important;
  }

  body.sp-premium-v1 .sp-weight-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  body.sp-premium-v1 .sp-weight-table tbody {
    display: grid;
    gap: 14px;
  }

  body.sp-premium-v1 .sp-weight-table tbody tr {
    display: grid;
    overflow: hidden;
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius-card);
    background: var(--sp-white);
    box-shadow: var(--sp-shadow-card);
  }

  body.sp-premium-v1 .sp-weight-table tbody td {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(126px, .82fr) minmax(0, 1.18fr);
    gap: 12px;
    padding: 12px 15px;
    border-bottom: 1px solid var(--sp-border);
  }

  body.sp-premium-v1 .sp-weight-table tbody td::before {
    color: var(--sp-ink-900);
    content: attr(data-label);
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .035em;
    text-transform: uppercase;
  }

  body.sp-premium-v1 .sp-weight-table tbody td:first-child {
    background: var(--sp-surface);
  }

  body.sp-premium-v1 .sp-weight-table tbody td:last-child {
    border-bottom: 0;
  }

  body.sp-premium-v1 .article-sidebar {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  body.sp-premium-v1 .article-meta-card {
    flex: 1;
  }

  body.sp-premium-v1 .site-footer .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.sp-premium-v1 .footer-brand-column {
    max-width: none;
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  body.sp-premium-v1 {
    --sp-header-offset: 84px;
    font-size: 15.75px;
  }

  body.sp-premium-v1 .container,
  body.sp-premium-v1 .u-sheet {
    padding-inline: clamp(20px, 5.4vw, 24px) !important;
  }

  body.sp-premium-v1 :where(.hero-grid, .home-hero-grid, .services-hero-grid, .port-hero-grid, .rail-hero-grid, .warehouse-hero-grid, .drive-hero-grid, .quote-hero-grid) {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.sp-premium-v1 .hero-grid > *,
  body.sp-premium-v1 .home-hero-grid > *,
  body.sp-premium-v1 .services-hero-grid > *,
  body.sp-premium-v1 .port-hero-grid > *,
  body.sp-premium-v1 .rail-hero-grid > *,
  body.sp-premium-v1 .warehouse-hero-grid > *,
  body.sp-premium-v1 .drive-hero-grid > *,
  body.sp-premium-v1 .quote-hero-grid > * {
    width: auto !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
  }

  body.sp-premium-v1 .topline .container {
    justify-content: center;
    text-align: center;
  }

  body.sp-premium-v1 .topline span:first-child {
    display: none;
  }

  body.sp-premium-v1 .brand img {
    width: 104px !important;
    height: auto !important;
  }

  body.sp-premium-v1 .brand strong {
    font-size: .93rem !important;
  }

  body.sp-premium-v1 .site-header .primary-nav {
    right: 20px;
    left: 20px;
  }

  body.sp-premium-v1 :where(.hero .container, .home-hero-grid, .services-hero-grid, .port-hero-grid, .rail-hero-grid, .warehouse-hero-grid, .drive-hero-grid, .quote-hero-grid) {
    padding-top: 48px !important;
    padding-bottom: 52px !important;
  }

  body.sp-premium-v1 :where(.hero h1, .home-hero h1, .services-hero h1, .port-hero h1, .rail-hero h1, .warehouse-hero h1, .drive-hero h1, .quote-hero h1, .terminal-hero h1),
  body.sp-premium-v1.sp-family-home .home-hero h1,
  body.sp-premium-v1.sp-family-services .services-hero h1 {
    font-size: clamp(2.55rem, 12vw, 3.35rem) !important;
    letter-spacing: -.038em !important;
    line-height: 1.02 !important;
  }

  body.sp-premium-v1.sp-family-port .hero h1 {
    font-size: clamp(2.15rem, 9vw, 2.55rem) !important;
  }

  body.sp-premium-v1.sp-family-quote .quote-hero h1 {
    max-width: 9ch !important;
    text-wrap: wrap;
  }

  body.sp-premium-v1 .article-main > h1 {
    font-size: clamp(2.3rem, 10.8vw, 3.15rem) !important;
  }

  body.sp-premium-v1 :where(.grid.two, .grid.three, .grid.four, .service-matrix, .terminal-grid, .sp-profile-grid) {
    grid-template-columns: 1fr !important;
  }

  body.sp-premium-v1 :where(.card, .faq, .quote-panel, .quote-summary-card, .terminal-card, .tool-panel, .article-meta-card) {
    padding: 22px !important;
  }

  body.sp-premium-v1 .section {
    padding-block: 56px !important;
  }

  body.sp-premium-v1 .sp-photo-band {
    margin-top: -18px !important;
  }

  body.sp-premium-v1 .sp-photo-card,
  body.sp-premium-v1 .sp-photo-grid.two .sp-photo-card {
    aspect-ratio: 4 / 3;
    border-radius: 20px !important;
  }

  body.sp-premium-v1 .sp-photo-card.diagram {
    aspect-ratio: auto;
  }

  body.sp-premium-v1 .sp-facility-visual-band {
    margin-top: -18px;
    padding-bottom: 20px;
  }

  body.sp-premium-v1.sp-family-services .services-card-grid > .service-card:last-child {
    display: flex;
    grid-column: auto;
    flex-direction: column;
  }

  body.sp-premium-v1.sp-family-services .services-card-grid > .service-card:last-child .service-link-list {
    margin-top: auto;
  }

  body.sp-premium-v1 .sp-service-boundary {
    padding: 23px 21px;
  }

  body.sp-premium-v1 .article-sidebar {
    display: grid;
  }

  body.sp-premium-v1 .site-footer {
    padding-top: 40px !important;
  }

  body.sp-premium-v1 .site-footer .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  body.sp-premium-v1 .footer-brand-column {
    grid-column: auto;
  }

  body.sp-premium-v1 .footer-group {
    border-top: 1px solid rgba(255, 255, 255, .13);
  }

  body.sp-premium-v1 .footer-group summary {
    position: relative;
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
  }

  body.sp-premium-v1 .footer-group summary::after {
    color: var(--sp-soft-gold);
    content: "+";
    font-size: 1.2rem;
  }

  body.sp-premium-v1 .footer-group[open] summary::after {
    content: "−";
  }

  body.sp-premium-v1 .footer-group:not([open]) .footer-links {
    display: none !important;
  }

  body.sp-premium-v1 .footer-links {
    margin: 0 0 12px;
  }

  body.sp-premium-v1 .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 18px;
  }

  body.sp-premium-v1 .home-mobile-cta {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }
}

/* Media alignment authority: owner review 2026-08-25 */
body.sp-premium-v1 :where(.hero-grid, .home-hero-grid, .services-hero-grid, .port-hero-grid, .rail-hero-grid, .warehouse-hero-grid, .drive-hero-grid, .quote-hero-grid),
body.sp-premium-v1 .sp-terminal-hero-grid {
  align-items: start !important;
}

body.sp-premium-v1 :where(.hero-grid, .home-hero-grid, .services-hero-grid, .port-hero-grid, .rail-hero-grid, .warehouse-hero-grid, .drive-hero-grid, .quote-hero-grid) > *,
body.sp-premium-v1 .sp-terminal-hero-grid > * {
  align-self: start !important;
}

body.sp-premium-v1.sp-family-home .home-hero-grid > :first-child,
body.sp-premium-v1.sp-family-home .home-hero-grid > :last-child {
  grid-column: span 6;
}

body.sp-premium-v1.sp-family-home .home-image-card {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10 !important;
}

body.sp-premium-v1.sp-family-home .home-image-card img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
  object-position: 56% 54% !important;
}

@media (min-width: 1121px) {
  body.sp-premium-v1.sp-family-home .home-hero h1 {
    font-size: clamp(2.9rem, 3.55vw, 3.3rem) !important;
  }

  body.sp-premium-v1.sp-family-port .hero h1 {
    font-size: clamp(3rem, 3.85vw, 3.5rem) !important;
  }
}

body.sp-premium-v1 img[data-media-focus="truck-front"] {
  object-position: 56% 54% !important;
}

body.sp-premium-v1 img[data-media-focus="truck-wide"] {
  object-position: 52% 50% !important;
}

body.sp-premium-v1 img[data-media-focus="wut-wide"] {
  object-position: 52% 54% !important;
}

body.sp-premium-v1 img[data-media-focus="container-stack"] {
  object-position: 50% 52% !important;
}

body.sp-premium-v1 :where(.media-card, .image-tile, .sp-photo-card) img[data-media-fit="contain"] {
  padding: clamp(10px, 1.5vw, 18px);
  background: linear-gradient(145deg, #eef4f5, #dfeaec);
  object-fit: contain !important;
}

body.sp-premium-v1 .sp-media-note {
  height: auto !important;
  min-height: 0 !important;
  flex-wrap: wrap;
  overflow: visible !important;
  line-height: 1.35 !important;
}

/* Older editorial heroes nested a fixed-ratio media card inside another
   fixed-ratio frame. Let the inner card own the crop so its context note is
   part of the visible component instead of being clipped below the frame. */
body.sp-premium-v1 .hero-media {
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.sp-premium-v1 .hero-media > .media-card {
  display: flex;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  flex-direction: column;
  overflow: hidden !important;
}

body.sp-premium-v1 .hero-media > .media-card > img {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 10 !important;
  flex: 0 0 auto;
}

body.sp-premium-v1 .hero-media > .media-card > .sp-media-note {
  flex: 0 0 auto;
}

body.sp-premium-v1 :where(.services-hero-media, .port-hero-media, .rail-hero-media, .warehouse-hero-media, .drive-hero-media, .quote-hero-media):has(> .sp-media-note) {
  display: flex;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  flex-direction: column;
  overflow: hidden !important;
}

body.sp-premium-v1 :where(.services-hero-media, .port-hero-media, .rail-hero-media, .warehouse-hero-media, .drive-hero-media, .quote-hero-media):has(> .sp-media-note) > img,
body.sp-premium-v1 :where(.services-hero-media, .port-hero-media, .rail-hero-media, .warehouse-hero-media, .drive-hero-media, .quote-hero-media):has(> .sp-media-note) > .sp-media-note {
  flex: 0 0 auto;
}

body.sp-premium-v1 .sp-photo-band {
  margin-top: 0 !important;
  padding-top: clamp(28px, 3.5vw, 46px) !important;
}

body.sp-premium-v1 .sp-photo-card img {
  object-position: var(--sp-media-x, 50%) var(--sp-media-y, 50%) !important;
}

body.sp-premium-v1 .hero.dark .quote-panel:not(.sp-hero-photo-fact) {
  padding: clamp(24px, 2.5vw, 30px) !important;
  border: 1px solid rgba(255, 255, 255, .27) !important;
  border-top: 4px solid var(--sp-gold) !important;
  background: rgba(5, 35, 43, .42) !important;
  box-shadow: 0 20px 44px rgba(0, 0, 0, .17) !important;
  backdrop-filter: blur(8px);
}

body.sp-premium-v1 .hero.dark .quote-panel:not(.sp-hero-photo-fact) :where(h2, h3) {
  color: var(--sp-white) !important;
}

body.sp-premium-v1 .hero.dark .quote-panel:not(.sp-hero-photo-fact) :where(p, li) {
  color: rgba(255, 255, 255, .84) !important;
}

body.sp-premium-v1 .hero.dark .quote-panel:not(.sp-hero-photo-fact) a {
  color: var(--sp-soft-gold) !important;
}

body.sp-premium-v1 .sp-hero-photo-fact {
  display: flex;
  min-width: 0;
  align-self: start !important;
  flex-direction: column;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .32) !important;
  border-top: 4px solid var(--sp-gold) !important;
  border-radius: var(--sp-radius-media) !important;
  background: var(--sp-white) !important;
  box-shadow: 0 24px 54px rgba(0, 0, 0, .2) !important;
}

body.sp-premium-v1 .hero.dark .quote-panel.sp-hero-photo-fact {
  align-self: start !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: var(--sp-white) !important;
}

body.sp-premium-v1.sp-family-port .hero-grid:has(.sp-hero-photo-fact) > :first-child {
  grid-column: span 7;
}

body.sp-premium-v1.sp-family-port .hero-grid:has(.sp-hero-photo-fact) > :last-child {
  grid-column: span 5;
}

body.sp-premium-v1 .sp-hero-card-figure,
body.sp-premium-v1 .sp-facility-photo {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: var(--sp-ink-900);
}

body.sp-premium-v1 .sp-hero-card-figure > img,
body.sp-premium-v1 .sp-facility-photo > img {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9 !important;
  object-fit: cover !important;
}

body.sp-premium-v1 .sp-hero-card-figure figcaption,
body.sp-premium-v1 .sp-facility-photo figcaption {
  position: static !important;
  display: grid;
  gap: 3px;
  padding: 11px 16px 12px !important;
  background: linear-gradient(120deg, var(--sp-ink-900), var(--sp-teal)) !important;
  color: rgba(255, 255, 255, .82) !important;
}

body.sp-premium-v1 .sp-hero-card-figure figcaption strong,
body.sp-premium-v1 .sp-facility-photo figcaption strong {
  color: var(--sp-white) !important;
  font-size: .82rem;
  line-height: 1.3;
}

body.sp-premium-v1 .sp-hero-card-figure figcaption > span:not(.sp-visual-context-label),
body.sp-premium-v1 .sp-facility-photo figcaption > span:not(.sp-visual-context-label) {
  display: -webkit-box;
  overflow: hidden;
  color: rgba(255, 255, 255, .76) !important;
  font-size: .7rem;
  line-height: 1.34;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.sp-premium-v1 .sp-hero-card-figure .sp-visual-context-label,
body.sp-premium-v1 .sp-facility-photo .sp-visual-context-label {
  margin-top: 2px;
  padding-block: 3px;
  font-size: .6rem;
  color: var(--sp-soft-gold) !important;
}

body.sp-premium-v1 .sp-hero-fact-body {
  padding: clamp(21px, 2.3vw, 28px);
  background: var(--sp-white);
}

body.sp-premium-v1 .hero.dark .sp-hero-photo-fact .sp-hero-fact-body :where(h2, h3) {
  margin-top: 0;
  color: var(--sp-ink-900) !important;
}

body.sp-premium-v1 .hero.dark .sp-hero-photo-fact .sp-hero-fact-body :where(p, li) {
  color: var(--sp-muted) !important;
}

body.sp-premium-v1 .hero.dark .sp-hero-photo-fact .sp-hero-fact-body a {
  color: var(--sp-teal) !important;
}

body.sp-premium-v1 .sp-standalone-hero-media {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, .3);
  border-top: 4px solid var(--sp-gold);
  border-radius: var(--sp-radius-media);
  box-shadow: 0 24px 54px rgba(0, 0, 0, .2);
}

body.sp-premium-v1 .sp-facility-photo {
  border: 1px solid rgba(255, 255, 255, .28);
  border-top: 4px solid var(--sp-gold);
  border-radius: var(--sp-radius-media);
  box-shadow: 0 24px 54px rgba(0, 0, 0, .2);
}

@media (max-width: 1120px) {
  body.sp-premium-v1.sp-family-home .home-hero-grid > :first-child,
  body.sp-premium-v1.sp-family-home .home-hero-grid > :last-child {
    grid-column: 1 / -1;
  }

  body.sp-premium-v1 .sp-hero-photo-fact,
  body.sp-premium-v1 .sp-standalone-hero-media,
  body.sp-premium-v1 .sp-facility-photo {
    width: 100%;
    max-width: 780px;
  }

  body.sp-premium-v1.sp-family-port .hero-grid:has(.sp-hero-photo-fact) > :first-child,
  body.sp-premium-v1.sp-family-port .hero-grid:has(.sp-hero-photo-fact) > :last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 800px) {
  body.sp-premium-v1.sp-family-home .home-image-card {
    aspect-ratio: 3 / 2 !important;
  }

  body.sp-premium-v1 .sp-hero-card-figure > img,
  body.sp-premium-v1 .sp-facility-photo > img {
    aspect-ratio: 3 / 2 !important;
  }

  body.sp-premium-v1 .sp-photo-card:has(img[data-media-focus="truck-wide"]) {
    aspect-ratio: 16 / 9 !important;
  }

  body.sp-premium-v1 .sp-hero-fact-body {
    padding: 21px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.sp-premium-v1 *,
  body.sp-premium-v1 *::before,
  body.sp-premium-v1 *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media (forced-colors: active) {
  body.sp-premium-v1 :where(.btn, .card, .quote-panel, .terminal-card, .sp-service-boundary, .sp-profile-card) {
    border: 1px solid CanvasText !important;
  }
}
