/* Landing-page cleanup for Lightning / common WordPress wrappers.
   Scoped to pages that contain [spinel_draft_home], so other pages are untouched. */
.spinel-draft-page .page-header,
.spinel-draft-page .breadcrumb,
.spinel-draft-page .entry-header,
.spinel-draft-page .entry-title {
  display: none !important;
}
.spinel-draft-page .site-body,
.spinel-draft-page .siteContent,
.spinel-draft-page .site-content,
.spinel-draft-page .mainSection,
.spinel-draft-page .main-section,
.spinel-draft-page .entry-body,
.spinel-draft-page .entry-content {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.spinel-draft-page .mainSection,
.spinel-draft-page .main-section {
  width: 100% !important;
  max-width: none !important;
}
.spinel-draft-page .footerWidget,
.spinel-draft-page .footer-widget,
.spinel-draft-page .site-footer .widget-area,
.spinel-draft-page .site-footer .widget-area-footer {
  display: none !important;
}
/* Lightning's secondary/sidebar area can drop below a full-width main column.
   Hide it only on this draft page so Archive / Category widgets do not appear. */
.spinel-draft-page .subSection,
.spinel-draft-page .sub-section,
.spinel-draft-page #secondary,
.spinel-draft-page .sidebar,
.spinel-draft-page .sideSection {
  display: none !important;
}

/* Hide the default Archive / Category widgets that Lightning may render
   outside its usual sidebar wrapper. Scoped to this draft page only. */
.spinel-draft-page .widget_archive,
.spinel-draft-page .widget_categories,
.spinel-draft-page .wp-block-archives,
.spinel-draft-page .wp-block-categories,
.spinel-draft-page [class*="widget_archive"],
.spinel-draft-page [class*="widget_categories"] {
  display: none !important;
}

/* WordPress block widgets can be wrapped in a generic .widget_block,
   leaving only their heading visible when the inner list is hidden.
   Modern browsers can remove the entire wrapper with :has(). */
.spinel-draft-page .widget_block:has(.wp-block-archives),
.spinel-draft-page .widget_block:has(.wp-block-categories),
.spinel-draft-page .widget:has(.wp-block-archives),
.spinel-draft-page .widget:has(.wp-block-categories) {
  display: none !important;
}

.spinel-draft-page .siteContent .row,
.spinel-draft-page .site-content .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.spinel-draft {
  --spinel-navy: #0300a6;
  --spinel-ink: #10131a;
  --spinel-muted: #667085;
  --spinel-bg: #f5f7fb;
  --spinel-border: #e4e7ec;
  position: relative;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  overflow: hidden;
  color: var(--spinel-ink);
  background: #fff;
  font-family: inherit;
}
.spinel-draft * { box-sizing: border-box; }
.spinel-inner { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.spinel-hero,
.spinel-farm {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: center;
  background-image: var(--spinel-hero-bg);
  background-size: cover;
  background-position: center;
}
.spinel-farm {
  min-height: 560px;
  background-image: var(--spinel-farm-bg);
  /* Preserve the farmer / truck side of the wide photo when the hero is cropped. */
  background-position: right center;
}
.spinel-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,10,25,.80), rgba(5,10,25,.35) 55%, rgba(5,10,25,.10)); }
.spinel-overlay-soft { background: linear-gradient(90deg, rgba(15,30,15,.73), rgba(15,30,15,.30) 58%, rgba(15,30,15,.12)); }
.spinel-hero-content,
.spinel-farm-content { position: relative; z-index: 1; color: #fff; padding: 96px 0; max-width: 760px; }
.spinel-kicker,
.spinel-eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.spinel-kicker { color: rgba(255,255,255,.78); }
.spinel-eyebrow { color: var(--spinel-navy); }
.spinel-hero h1 { margin: 0; font-size: clamp(58px, 9vw, 120px); line-height: .88; letter-spacing: .02em; font-weight: 800; }
.spinel-farm h2 { margin: 0 0 18px; font-size: clamp(42px, 7vw, 82px); line-height: 1; }
.spinel-lead { margin: 26px 0 0; font-size: clamp(25px, 3.5vw, 42px); line-height: 1.35; font-weight: 700; }
.spinel-sublead { margin: 18px 0 0; max-width: 670px; font-size: 17px; line-height: 1.9; color: rgba(255,255,255,.88); }
.spinel-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.spinel-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 4px; font-size: 15px; font-weight: 700; text-decoration: none !important; transition: transform .18s ease, opacity .18s ease; }
.spinel-btn:hover { transform: translateY(-1px); opacity: .92; }
.spinel-btn-primary { color: #fff !important; background: var(--spinel-navy); }
.spinel-btn-ghost { color: #fff !important; border: 1px solid rgba(255,255,255,.68); background: rgba(255,255,255,.06); }
.spinel-btn-light { color: var(--spinel-navy) !important; background: #fff; }
.spinel-section { padding: 96px 0; }
.spinel-transport { background: #fff; }
.spinel-section h2 { margin: 0; font-size: clamp(32px, 4vw, 52px); line-height: 1.25; }
.spinel-intro { max-width: 760px; margin: 22px 0 0; color: var(--spinel-muted); font-size: 17px; line-height: 1.9; }
.spinel-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; margin-top: 48px; }
.spinel-card { position: relative; min-height: 260px; padding: 34px 30px; border: 1px solid var(--spinel-border); background: #fff; }
.spinel-card-no { display: block; color: var(--spinel-navy); font-weight: 800; letter-spacing: .14em; }
.spinel-card h3 { margin: 38px 0 14px; font-size: 24px; }
.spinel-card p { margin: 0; color: var(--spinel-muted); line-height: 1.85; }
.spinel-bridge { padding: 34px 0; border-top: 1px solid var(--spinel-border); border-bottom: 1px solid var(--spinel-border); background: var(--spinel-bg); }
.spinel-bridge-inner { display: flex; align-items: center; justify-content: center; gap: 18px; color: var(--spinel-muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.spinel-bridge-inner strong { color: var(--spinel-ink); font-size: 15px; letter-spacing: .04em; }
.spinel-line { width: 64px; height: 1px; background: #cfd4dc; }
.spinel-farm-detail { background: #fff; }
.spinel-two-col { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.spinel-copy { color: var(--spinel-muted); font-size: 17px; line-height: 1.95; }
.spinel-copy p { margin-top: 0; margin-bottom: 18px; }
.spinel-cta { padding: 72px 0; background: var(--spinel-navy); color: #fff; }
.spinel-cta .spinel-eyebrow { color: rgba(255,255,255,.70); }
.spinel-cta h2 { margin: 0; font-size: clamp(28px, 4vw, 44px); }
.spinel-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }

@media (max-width: 800px) {
  .spinel-inner { width: min(100% - 28px, 1120px); }
  .spinel-hero { min-height: 560px; }
  .spinel-farm { min-height: 500px; background-position: 72% center; }
  .spinel-hero-content,
  .spinel-farm-content { padding: 76px 0; }
  .spinel-section { padding: 72px 0; }
  .spinel-card-grid { grid-template-columns: 1fr; }
  .spinel-card { min-height: auto; }
  .spinel-two-col { grid-template-columns: 1fr; gap: 30px; }
  .spinel-bridge-inner { gap: 10px; flex-wrap: wrap; }
  .spinel-line { width: 26px; }
  .spinel-cta-inner { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .spinel-btn { transition: none; }
}

/* Draft-specific corporate header. Hide the current Lightning header only on this page,
   then render a clean Spinel navigation above the hero. */
.spinel-draft-page .siteHeader,
.spinel-draft-page .site-header,
.spinel-draft-page header.siteHeader,
.spinel-draft-page header.site-header {
  display: none !important;
}
.spinel-draft-header {
  position: relative;
  z-index: 5;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--spinel-border);
}
.spinel-draft-header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.spinel-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  color: var(--spinel-ink) !important;
  text-decoration: none !important;
  white-space: nowrap;
}
.spinel-brand-jbl {
  color: var(--spinel-navy);
  font-size: 28px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .02em;
}
.spinel-brand-divider {
  width: 1px;
  height: 34px;
  background: #cfd4dc;
}
.spinel-brand-name {
  color: var(--spinel-navy);
  font-size: 34px;
  line-height: 1;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -.02em;
}
.spinel-brand-tagline {
  margin-left: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .05em;
  color: #4b5565;
}
.spinel-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 2.7vw, 38px);
  flex-wrap: wrap;
}
.spinel-nav a {
  position: relative;
  padding: 30px 0 27px;
  color: #111827 !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.spinel-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  height: 2px;
  background: var(--spinel-navy);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .18s ease;
}
.spinel-nav a:hover::after,
.spinel-nav a:focus-visible::after {
  transform: scaleX(1);
}

@media (max-width: 900px) {
  .spinel-draft-header-inner {
    min-height: auto;
    padding: 18px 0 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .spinel-brand-tagline { display: none; }
  .spinel-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 18px 24px;
  }
  .spinel-nav a { padding: 8px 0 10px; }
  .spinel-nav a::after { bottom: 3px; }
}

@media (max-width: 520px) {
  .spinel-brand-jbl { font-size: 22px; }
  .spinel-brand-name { font-size: 28px; }
  .spinel-brand-divider { height: 28px; }
  .spinel-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 2px 18px;
  }
  .spinel-nav a { font-size: 13px; }
}
