/* ==========================================================================
   VIVIAN LOGISTICS — HOMEPAGE (index.html only)
   Loaded after css/style.css. Every class here is prefixed "hp-" so nothing
   collides with the other pages.

   Design idea: a cinematic full-width video with an angled edge (motion),
   a deep-navy intro band, an expanding service showcase, and crisp navy /
   white / orange blocks — the brand colours, used with more discipline.
   ========================================================================== */

:root {
  --hp-navy-950: #060c24;
  --hp-navy-900: #0a1333;
  --hp-navy-800: #0d1b4c;
  --hp-navy-700: #1a2d6b;
  --hp-blue: #007bff;
  --hp-orange: #f57c00;
  --hp-orange-hover: #e66a00;
  --hp-ink: #141a33;
  --hp-muted: #586179;
  --hp-line: #e3e8f2;
  --hp-tint: #f4f6fa;

  --hp-nav: 80px;                                 /* height of the sticky header */
  --hp-cut: clamp(28px, 5vw, 84px);               /* depth of the angled edges */
}

@media (max-width: 767px) {
  :root { --hp-nav: 66px; }
}

.hp-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- shared bits ---------- */
.hp-section {
  padding: clamp(72px, 9vw, 120px) 0;
}

.hp-head {
  max-width: 760px;
  margin-bottom: clamp(36px, 5vw, 60px);
}

.hp-head h2,
.hp-why-head h2,
.hp-cta h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(1.9rem, 1.2rem + 2.2vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--hp-navy-800);
}

.hp-head p {
  margin-top: 16px;
  max-width: 58ch;
  color: var(--hp-muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.hp-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.hp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border: 2px solid transparent;
  border-radius: 8px;
  font: 600 0.95rem/1 'Inter', sans-serif;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease,
              transform 0.25s ease, box-shadow 0.25s ease;
}

.hp-btn:focus-visible,
.hp-link:focus-visible,
.hp-hero-toggle:focus-visible,
.hp-panel:focus-visible {
  outline: 3px solid var(--hp-blue);
  outline-offset: 3px;
}

.hp-btn-accent {
  background: var(--hp-orange);
  color: #fff;
  box-shadow: 0 12px 26px rgba(245, 124, 0, 0.3);
}
.hp-btn-accent:hover {
  background: var(--hp-orange-hover);
  transform: translateY(-2px);
}

.hp-btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.hp-btn-ghost:hover {
  background: #fff;
  color: var(--hp-navy-800);
  border-color: #fff;
}

.hp-btn-outline {
  color: var(--hp-navy-800);
  border-color: var(--hp-navy-800);
}
.hp-btn-outline:hover {
  background: var(--hp-navy-800);
  color: #fff;
}

.hp-link {
  position: relative;
  display: inline-block;
  padding-bottom: 3px;
  font-weight: 600;
  font-size: 0.95rem;
  color: inherit;
}
.hp-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--hp-orange);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.hp-link:hover::after { transform: scaleX(0.4); }

/* ==========================================================================
   1. HERO — the video, and nothing else
   ========================================================================== */
.hp-hero-wrap {
  position: relative;
  background: var(--hp-navy-900);          /* shows in the triangle under the angled edge */
}

.hp-hero {
  position: relative;
  isolation: isolate;                      /* keeps the video above the poster background */
  overflow: hidden;
  height: clamp(300px, 56.25vw, 900px);
  height: clamp(300px, 56.25vw, calc(100vh - var(--hp-nav)));
  height: clamp(300px, 56.25vw, calc(100svh - var(--hp-nav)));   /* fits the screen under the header */
  background: var(--hp-navy-800) url('../images/hero-video-poster.jpg') center / cover no-repeat;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--hp-cut)), 0 100%);
}

.hp-hero .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* thin orange line that follows the angled edge */
.hp-hero-edge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: calc(var(--hp-cut) + 8px);
  background: linear-gradient(90deg, var(--hp-orange), #ffb04d);
  clip-path: polygon(0 calc(100% - 8px), 100% 0, 100% 8px, 0 100%);
  pointer-events: none;
  z-index: 2;
}

.hp-hero-toggle {
  position: absolute;
  z-index: 3;
  left: clamp(16px, 3vw, 44px);
  bottom: calc(var(--hp-cut) + 22px);
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(10, 19, 51, 0.5);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.hp-hero-toggle:hover {
  background: var(--hp-orange);
  border-color: var(--hp-orange);
  transform: scale(1.06);
}

/* Reduced motion: legacy rule hides the video and the poster shows instead */
@media (prefers-reduced-motion: reduce) {
  .hp-hero-toggle { display: none; }
}

/* Phones held upright: taller frame, centre-cropped toward the trucks */
@media (max-width: 767px) and (orientation: portrait) {
  :root { --hp-cut: 30px; }
  .hp-hero {
    height: min(72vh, 135vw);
    height: min(72svh, 135vw);
    background-position: 60% 50%;
  }
  .hp-hero .hero-video { object-position: 60% 50%; }
}

/* ==========================================================================
   2. INTRO — headline, story, quick actions (deep navy band)
   ========================================================================== */
.hp-intro {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(160deg, var(--hp-navy-900) 0%, var(--hp-navy-800) 75%);
  padding: clamp(48px, 6vw, 88px) 0 clamp(72px, 9vw, 130px);
}

/* fine vertical ribbing — a nod to container walls */
.hp-intro::before,
.hp-why::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.032) 0 2px, transparent 2px 26px);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 75%, transparent);
          mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 75%, transparent);
  pointer-events: none;
}

.hp-intro::after {
  content: '';
  position: absolute;
  width: 640px;
  height: 640px;
  right: -180px;
  top: -220px;
  background: radial-gradient(circle, rgba(0, 123, 255, 0.28) 0%, transparent 65%);
  pointer-events: none;
}

.hp-intro-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}

.hp-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  padding: 9px 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: #d6e4ff;
  font: 600 0.85rem/1 'Inter', sans-serif;
}
.hp-pill i { color: var(--hp-orange); }

.hp-intro h1 {
  margin-bottom: 26px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(2.3rem, 1.2rem + 3.7vw, 4.4rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
  color: #fff;
}

.hp-lead {
  max-width: 56ch;
  margin-bottom: 36px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.02rem, 0.95rem + 0.3vw, 1.18rem);
  line-height: 1.75;
}

.hp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Quick actions panel */
.hp-quick {
  padding: clamp(24px, 2.6vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.28);
}

.hp-quick h2 {
  margin-bottom: 16px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff;
}

.hp-track {
  display: flex;
  gap: 8px;
  padding: 6px;
  border-radius: 12px;
  background: #fff;
}
.hp-track input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0 14px;
  border: 0;
  background: transparent;
  color: var(--hp-ink);
  font: 500 1rem 'Inter', sans-serif;
  text-transform: uppercase;
}
.hp-track input::placeholder { color: #98a1b8; text-transform: none; }
.hp-track input:focus { outline: none; }
.hp-track:focus-within { box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.55); }
.hp-track .hp-btn { padding: 13px 22px; border-radius: 8px; }

.hp-quick-links {
  margin-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.hp-quick-links a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  transition: padding-left 0.25s ease, background-color 0.25s ease;
}
.hp-quick-links li:last-child a { border-bottom: 0; padding-bottom: 2px; }
.hp-quick-links a:hover { padding-left: 12px; }
.hp-quick-links i {
  flex: none;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(245, 124, 0, 0.16);
  color: #ffa54d;
  font-size: 1rem;
}
.hp-quick-links strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
}
.hp-quick-links span {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* ==========================================================================
   3. SERVICES — expanding showcase
   ========================================================================== */
.hp-services { background: #fff; }

.hp-panels {
  display: flex;
  gap: 14px;
  height: 540px;
}

.hp-panel {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  isolation: isolate;
  border-radius: 18px;
  background: var(--hp-navy-800);
  cursor: pointer;
  transition: flex-grow 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hp-panel.is-active {
  flex-grow: 3.6;
  cursor: default;
}

.hp-panel-media { position: absolute; inset: 0; z-index: -1; }
.hp-panel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 0.9s ease;
}
.hp-panel.is-active .hp-panel-media img { transform: scale(1); }
.hp-panel-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 12, 36, 0.94) 0%, rgba(6, 12, 36, 0.55) 48%, rgba(6, 12, 36, 0.18) 100%);
}

.hp-panel-icon {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  color: #fff;
  font-size: 1.2rem;
  transition: background-color 0.4s ease, border-color 0.4s ease;
}
.hp-panel.is-active .hp-panel-icon {
  background: var(--hp-orange);
  border-color: var(--hp-orange);
}

/* vertical label shown on the collapsed panels */
.hp-panel-tab {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  color: #fff;
  font: 700 1.05rem/1 'Montserrat', sans-serif;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: opacity 0.3s ease;
}
.hp-panel.is-active .hp-panel-tab { opacity: 0; }

.hp-panel-body {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(100%, 520px);
  padding: 30px;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}
.hp-panel.is-active .hp-panel-body {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.45s ease 0.3s, visibility 0s;
}
.hp-panel-body h3 {
  margin-bottom: 12px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(1.3rem, 1rem + 1vw, 1.75rem);
  line-height: 1.15;
  color: #fff;
}
.hp-panel-body p {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
  line-height: 1.65;
}

/* tablet + phone: a tidy grid of cards, all open */
@media (max-width: 991px) {
  .hp-panels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    height: auto;
  }
  .hp-panel,
  .hp-panel.is-active {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--hp-line);
    border-radius: 16px;
    background: #fff;
    cursor: default;
    isolation: auto;
  }
  .hp-panel-media {
    position: relative;
    inset: auto;
    z-index: 0;
    aspect-ratio: 16 / 10;
  }
  .hp-panel-media img,
  .hp-panel.is-active .hp-panel-media img { transform: none; }
  .hp-panel-media::after { display: none; }
  .hp-panel-icon { top: 16px; left: 16px; width: 46px; height: 46px; }
  .hp-panel .hp-panel-icon { background: var(--hp-orange); border-color: var(--hp-orange); }
  .hp-panel-tab { display: none; }
  .hp-panel-body,
  .hp-panel.is-active .hp-panel-body {
    position: static;
    width: auto;
    padding: 24px;
    opacity: 1;
    visibility: visible;
    color: var(--hp-ink);
    transition: none;
  }
  .hp-panel-body h3 { color: var(--hp-navy-800); font-size: 1.25rem; }
  .hp-panel-body p { color: var(--hp-muted); }
}

@media (max-width: 640px) {
  .hp-panels { grid-template-columns: 1fr; }
}

/* ==========================================================================
   4. ABOUT
   ========================================================================== */
.hp-about { background: var(--hp-tint); }

.hp-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(44px, 7vw, 104px);
  align-items: center;
}

.hp-about-media {
  position: relative;
  margin: 0 0 18px;
  isolation: isolate;
}
.hp-about-media::before {
  content: '';
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 72%;
  height: 72%;
  border: 2px solid var(--hp-blue);
  border-radius: 18px;
  opacity: 0.45;
  z-index: -1;
}
.hp-about-media img {
  width: 100%;
  aspect-ratio: 5 / 4.4;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 28px 60px rgba(13, 27, 76, 0.2);
}

.hp-about-badge {
  position: absolute;
  left: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px 16px 20px;
  border-left: 4px solid var(--hp-orange);
  border-radius: 10px;
  background: var(--hp-navy-800);
  color: #fff;
  box-shadow: 0 16px 34px rgba(6, 12, 36, 0.4);
}
.hp-about-badge strong {
  font: 800 2.4rem/1 'Montserrat', sans-serif;
}
.hp-about-badge span {
  max-width: 7.5em;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.85);
}

.hp-about-copy h2 {
  margin-bottom: 20px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(1.9rem, 1.2rem + 2.2vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--hp-navy-800);
}
.hp-about-copy .hp-about-lead {
  margin-bottom: 16px;
  color: var(--hp-ink);
  font-size: 1.14rem;
  font-weight: 500;
  line-height: 1.7;
}
.hp-about-copy p {
  color: var(--hp-muted);
  line-height: 1.75;
}

.hp-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
  margin: 28px 0 34px;
}
.hp-checks li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--hp-ink);
  font-weight: 600;
  font-size: 0.97rem;
}
.hp-checks i {
  flex: none;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 123, 255, 0.12);
  color: var(--hp-blue);
  font-size: 0.72rem;
}

/* ==========================================================================
   5. WHY US — navy band with ruled columns
   ========================================================================== */
.hp-why {
  position: relative;
  overflow: hidden;
  background: var(--hp-navy-800);
  color: #fff;
}
.hp-why .container { position: relative; z-index: 1; }

.hp-why-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px clamp(32px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.hp-why-head h2 { color: #fff; }
.hp-why-head p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
  line-height: 1.7;
}

.hp-why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.hp-why-item {
  position: relative;
  padding: 40px 28px 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}
.hp-why-item:first-child { padding-left: 0; }
.hp-why-item:last-child { border-right: 0; padding-right: 0; }
.hp-why-item::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 28px;
  width: 56px;
  height: 3px;
  background: var(--hp-orange);
}
.hp-why-item:first-child::before { left: 0; }

.hp-why-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border: 1px solid rgba(245, 124, 0, 0.7);
  border-radius: 12px;
  color: #ffa54d;
  font-size: 1.2rem;
}
.hp-why-item h3 {
  margin-bottom: 12px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
}
.hp-why-item p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.97rem;
  line-height: 1.7;
}

/* ==========================================================================
   6. INDUSTRIES — bento
   ========================================================================== */
.hp-industries { background: #fff; }

.hp-bento {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 18px;
  height: clamp(500px, 44vw, 640px);
}

.hp-ind {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  border-radius: 18px;
  color: #fff;
}
.hp-ind:first-child { grid-row: 1 / 3; }

.hp-ind img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s ease;
}
.hp-ind:hover img { transform: scale(1.05); }
.hp-ind::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(6, 12, 36, 0.92) 0%, rgba(6, 12, 36, 0.5) 45%, rgba(6, 12, 36, 0.05) 100%);
}

.hp-ind-body { padding: clamp(22px, 2.4vw, 34px); }
.hp-ind h3 {
  margin-bottom: 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(1.15rem, 0.9rem + 0.9vw, 1.7rem);
  line-height: 1.15;
  color: #fff;
}
.hp-ind p {
  max-width: 44ch;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.97rem;
  line-height: 1.6;
}

/* ==========================================================================
   7. TESTIMONIALS
   ========================================================================== */
.hp-testi {
  background: var(--hp-tint);
  padding-bottom: calc(var(--hp-cut) + clamp(72px, 9vw, 120px));   /* room for the angled CTA edge */
}

.hp-testi-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.hp-quote {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: clamp(26px, 3.2vw, 46px);
  border: 1px solid var(--hp-line);
  border-top: 4px solid var(--hp-orange);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(13, 27, 76, 0.07);
}
.hp-quote-mark {
  position: absolute;
  top: 26px;
  right: 30px;
  color: rgba(0, 123, 255, 0.12);
  font-size: 3.4rem;
}
.hp-stars {
  display: flex;
  gap: 4px;
  color: var(--hp-orange);
  font-size: 0.95rem;
}
.hp-quote blockquote {
  flex: 1;
  margin: 0;
  color: var(--hp-ink);
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.8;
}
.hp-quote:first-child blockquote { font-size: 1.22rem; }

.hp-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--hp-line);
}
.hp-avatar {
  flex: none;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--hp-navy-800);
  color: #fff;
  font: 700 0.95rem 'Montserrat', sans-serif;
}
.hp-author strong {
  display: block;
  color: var(--hp-navy-800);
  font: 700 1rem 'Montserrat', sans-serif;
}
.hp-author span {
  color: var(--hp-muted);
  font-size: 0.9rem;
}

/* ==========================================================================
   8. CTA — angled photo band
   ========================================================================== */
.hp-cta {
  position: relative;
  z-index: 1;
  margin-top: calc(var(--hp-cut) * -1);
  padding: calc(var(--hp-cut) + clamp(56px, 7vw, 96px)) 0 clamp(72px, 8vw, 112px);
  color: #fff;
  background:
    linear-gradient(100deg, rgba(6, 12, 36, 0.95) 0%, rgba(13, 27, 76, 0.82) 55%, rgba(13, 27, 76, 0.6) 100%),
    url('../images/cta-warehouse.jpg') center / cover no-repeat;
  clip-path: polygon(0 var(--hp-cut), 100% 0, 100% 100%, 0 100%);
}

.hp-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px clamp(32px, 6vw, 88px);
  align-items: center;
}
.hp-cta h2 { color: #fff; margin-bottom: 16px; }
.hp-cta p {
  max-width: 60ch;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  line-height: 1.75;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 991px) {
  .hp-intro-grid,
  .hp-about-grid,
  .hp-why-head,
  .hp-testi-grid,
  .hp-cta-grid { grid-template-columns: 1fr; }

  .hp-about-media { max-width: 560px; }

  .hp-why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-why-item,
  .hp-why-item:first-child,
  .hp-why-item:last-child {
    padding: 36px 24px 12px 0;
    border-right: 0;
  }
  .hp-why-item::before,
  .hp-why-item:first-child::before { left: 0; }

  .hp-bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(0, 1.25fr) minmax(0, 1fr);
    height: clamp(560px, 80vw, 680px);
  }
  .hp-ind:first-child { grid-column: 1 / 3; grid-row: 1; }
}

@media (max-width: 767px) {
  .hp-actions .hp-btn { flex: 1 1 100%; }

  .hp-checks { grid-template-columns: 1fr; }

  .hp-why-grid { grid-template-columns: 1fr; }
  .hp-why-item,
  .hp-why-item:first-child,
  .hp-why-item:last-child {
    padding: 32px 0 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .hp-why-item:last-child { border-bottom: 0; }

  .hp-bento {
    display: flex;
    flex-direction: column;
    height: auto;
  }
  .hp-ind { min-height: 320px; }
  .hp-ind:first-child { min-height: 380px; }

  .hp-about-badge { left: 14px; bottom: 14px; padding: 12px 16px 12px 14px; }
  .hp-about-badge strong { font-size: 2rem; }

  .hp-cta .hp-actions .hp-btn { flex: 1 1 100%; }
}

@media (max-width: 400px) {
  .hp-track { flex-direction: column; }
  .hp-track input { padding: 14px; }
}

/* Tablets: use a little more width than the site's narrow default container */
@media (min-width: 768px) and (max-width: 991px) {
  #main .container { max-width: 760px; }
}

@media (prefers-reduced-motion: reduce) {
  .hp-panel,
  .hp-panel-body,
  .hp-panel-media img,
  .hp-ind img,
  .hp-btn,
  .hp-quick-links a { transition: none; }
}
