/* Sample 2 — S00 hero + simple nav (matches Port Logistics board)
   Ports: :8081 only. Sample 1 on :8080 untouched. */

:root {
  --tz-s2-teal: #008080;
  --tz-s2-teal-deep: #0a3d3d;
  --tz-s2-orange: #ff6b35;
  --tz-s2-ink: #f7f5f1;
  --tz-s2-muted: rgba(247, 245, 241, 0.78);
  --tz-s2-nav-bg: rgba(8, 18, 17, 0.55);
  --tz-s2-font: "Segoe UI", "Helvetica Neue", ui-sans-serif, system-ui, sans-serif;
}

/* Legacy Webflow .header removed — tz-s2-nav is the only chrome */

body.tz-s2-hero-on .tz-hero-dots {
  display: none !important;
}

body.tz-s2-hero-on .home-hero-text-wrap,
body.tz-s2-hero-on .home-hero-btn-wrap,
body.tz-s2-hero-on .home-hero-label,
body.tz-s2-hero-on .need-help-title {
  display: none !important;
}

/* Theme grid/container sits above our plate — flatten it so hero-bg shows */
body.tz-s2-hero-on .home-hero-stick > .container,
body.tz-s2-hero-on .home-hero-stick > .w-layout-blockcontainer {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  pointer-events: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  z-index: 0 !important;
}

/*
  Non-home pages (blog/legal) use a normal 16px root, while homepage Webflow
  rem is ~11px — so rem-based nav balloons. Lock nav to homepage pixel sizes.
*/
body.tz-s2-nav-only,
body.s2-blog,
body.s2-chrome {
  --tz-s2-nav-h: 76px;
  padding-top: var(--tz-s2-nav-h);
}

body.tz-s2-nav-only .tz-s2-nav,
body.s2-blog .tz-s2-nav,
body.s2-chrome .tz-s2-nav {
  padding: 12px 24px;
  gap: 16px;
}

body.tz-s2-nav-only .tz-s2-nav-brand,
body.s2-blog .tz-s2-nav-brand,
body.s2-chrome .tz-s2-nav-brand {
  gap: 10px;
}

body.tz-s2-nav-only .tz-s2-nav-brand img,
body.s2-blog .tz-s2-nav-brand img,
body.s2-chrome .tz-s2-nav-brand img {
  height: 44px;
  max-width: 48px;
  border-radius: 6px;
}

body.tz-s2-nav-only .tz-s2-nav-word,
body.s2-blog .tz-s2-nav-word,
body.s2-chrome .tz-s2-nav-word {
  font-size: 19px;
}

body.tz-s2-nav-only .tz-s2-nav-links,
body.s2-blog .tz-s2-nav-links,
body.s2-chrome .tz-s2-nav-links {
  gap: 28px;
}

body.tz-s2-nav-only .tz-s2-nav-links a,
body.s2-blog .tz-s2-nav-links a,
body.s2-chrome .tz-s2-nav-links a {
  font-size: 15px;
}

body.tz-s2-nav-only .tz-s2-nav-links a[aria-current="page"],
body.s2-blog .tz-s2-nav-links a[aria-current="page"],
body.s2-chrome .tz-s2-nav-links a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--tz-s2-teal);
  padding-bottom: 2px;
}

body.tz-s2-nav-only .tz-s2-nav-cta,
body.s2-blog .tz-s2-nav-cta,
body.s2-chrome .tz-s2-nav-cta {
  gap: 8px;
  padding: 9px 18px;
  font-size: 14px;
  box-shadow: 0 4px 14px rgba(0, 128, 128, 0.35);
}

body.tz-s2-nav-only .tz-s2-nav-cta svg,
body.s2-blog .tz-s2-nav-cta svg,
body.s2-chrome .tz-s2-nav-cta svg {
  width: 15px;
  height: 15px;
}

@media screen and (min-width: 768px) {
  body.tz-s2-nav-only,
  body.s2-blog,
  body.s2-chrome {
    --tz-s2-nav-h: 88px;
  }

  body.tz-s2-nav-only .tz-s2-nav,
  body.s2-blog .tz-s2-nav,
  body.s2-chrome .tz-s2-nav {
    padding: 14px 40px;
  }

  body.tz-s2-nav-only .tz-s2-nav-brand img,
  body.s2-blog .tz-s2-nav-brand img,
  body.s2-chrome .tz-s2-nav-brand img {
    height: 52px;
    max-width: 56px;
  }
}

@media screen and (min-width: 992px) {
  body.tz-s2-nav-only,
  body.s2-blog,
  body.s2-chrome {
    --tz-s2-nav-h: 94px;
  }

  body.tz-s2-nav-only .tz-s2-nav,
  body.s2-blog .tz-s2-nav,
  body.s2-chrome .tz-s2-nav {
    padding: 16px 64px;
  }
}

/* ── Nav: fixed shell, but not always stuck — hides on scroll down, returns on scroll up ── */
.tz-s2-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  padding: 1.2rem 2.4rem;
  background: linear-gradient(180deg, rgba(5, 12, 11, 0.72) 0%, var(--tz-s2-nav-bg) 55%, transparent 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(247, 245, 241, 0.08);
  font-family: var(--tz-s2-font);
  color: var(--tz-s2-ink);
  box-sizing: border-box;
  transform: translate3d(0, 0, 0);
  transition: transform 0.28s ease, background 0.25s ease, border-color 0.25s ease;
  will-change: transform;
}

.tz-s2-nav.is-solid {
  background: rgba(8, 18, 17, 0.92);
  border-bottom-color: rgba(0, 128, 128, 0.35);
}

.tz-s2-nav.is-hidden {
  transform: translate3d(0, -110%, 0);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .tz-s2-nav {
    transition: background 0.2s ease, border-color 0.2s ease;
  }
  .tz-s2-nav.is-hidden {
    transform: none;
    pointer-events: auto;
    opacity: 0.92;
  }
}

/* Fast return to hero */
.tz-s2-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.4rem;
  z-index: 190;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(247, 245, 241, 0.22);
  border-radius: 999px;
  background: rgba(8, 18, 17, 0.88);
  color: #f7f5f1;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, 0.6rem, 0);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background 0.2s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.tz-s2-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}

.tz-s2-top:hover {
  background: rgba(0, 128, 128, 0.92);
  border-color: rgba(0, 128, 128, 0.5);
}

.tz-s2-top svg {
  width: 1.15rem;
  height: 1.15rem;
}

.tz-s2-nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.tz-s2-nav-brand img {
  display: block;
  height: 4.4rem;
  width: auto;
  max-width: 4.8rem;
  object-fit: contain;
  border-radius: 0.6rem;
}

.tz-s2-nav-word {
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.tz-s2-nav-word span {
  color: var(--tz-s2-orange);
  font-weight: 600;
}

.tz-s2-nav-links {
  display: none;
  flex-direction: row;
  align-items: center;
  gap: 2.8rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tz-s2-nav-links a {
  color: var(--tz-s2-muted);
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tz-s2-nav-links a:hover,
.tz-s2-nav-links a[aria-current="page"] {
  color: #fff;
}

.tz-s2-nav-links a[aria-current="page"] {
  box-shadow: inset 0 -0.2rem 0 var(--tz-s2-teal);
  padding-bottom: 0.2rem;
}

.tz-s2-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  background: var(--tz-s2-teal);
  color: #fff !important;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: 0 0.4rem 1.6rem rgba(0, 128, 128, 0.35);
  transition: background 0.2s ease, transform 0.2s ease;
}

.tz-s2-nav-cta:hover {
  background: #00a0a0;
  transform: translateY(-1px);
}

.tz-s2-nav-cta svg {
  width: 1.4rem;
  height: 1.4rem;
  flex: 0 0 auto;
}

@media screen and (min-width: 768px) {
  .tz-s2-nav {
    padding: 1.4rem 4rem;
  }

  .tz-s2-nav-links {
    display: flex;
  }

  .tz-s2-nav-brand img {
    height: 5.2rem;
    max-width: 5.6rem;
  }
}

@media screen and (min-width: 992px) {
  .tz-s2-nav {
    padding: 1.6rem 6rem;
  }
}

/* ── Hero stage ─────────────────────────────────────────────────────────── */
body.tz-s2-hero-on .home-hero-wrap {
  position: relative;
  z-index: 5;
  isolation: isolate;
}

/* Theme pulls intro up with a huge negative margin — it was painting over the plate */
body.tz-s2-hero-on .home-intro-wrap,
body.tz-s2-hero-on .home-intro {
  margin-top: 0 !important;
  z-index: 1;
}

body.tz-s2-hero-on .home-hero,
body.tz-s2-hero-on .home-hero-stick-wrap,
body.tz-s2-hero-on .home-hero-stick {
  /* Match Webflow: full first screen (100svh) */
  min-height: 100vh;
  min-height: 100dvh;
  min-height: 100svh;
  height: 100vh;
  height: 100dvh;
  height: 100svh;
}

body.tz-s2-hero-on .home-hero-stick {
  position: relative;
  display: block;
  overflow: hidden;
  background: #050a09;
}

.tz-s2-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  margin: 0;
  padding: 0;
  border: 0;
  pointer-events: none;
}

.tz-s2-hero-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Darker industrial plate: keep branded truck readable on the right */
  object-position: 62% 52%;
}

.tz-s2-hero-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  /* Plate is already dark — light center veil only for type contrast */
  background:
    radial-gradient(ellipse 72% 58% at 50% 42%, rgba(5, 10, 9, 0.42) 0%, rgba(5, 10, 9, 0.18) 52%, transparent 78%),
    linear-gradient(0deg, rgba(5, 10, 9, 0.4) 0%, transparent 38%),
    linear-gradient(180deg, rgba(5, 12, 11, 0.35) 0%, transparent 26%);
}

/* Centered hero copy: brand + headline + CTAs */
.tz-s2-hero-copy {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  padding: 8rem 1.8rem 4rem;
  font-family: var(--tz-s2-font);
  color: var(--tz-s2-ink);
  pointer-events: none;
  text-align: center;
}

.tz-s2-hero-text {
  position: relative;
  width: min(92rem, 94%);
  max-width: 94%;
  pointer-events: auto;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tz-s2-kicker {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 2.4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #fff;
  text-shadow: 0 0.2rem 1.2rem rgba(0, 0, 0, 0.55);
}

.tz-s2-hero-copy h1 {
  margin: 0 auto 1.1rem;
  font-size: clamp(3.2rem, 5.8vw, 6.8rem);
  line-height: 1.04;
  font-weight: 750;
  letter-spacing: -0.035em;
  max-width: 18ch;
  text-shadow: 0 0.25rem 2rem rgba(0, 0, 0, 0.55);
}

.tz-s2-hero-copy h1 .tz-accent {
  color: var(--tz-s2-orange);
}

.tz-s2-hero-copy .tz-s2-sub {
  margin: 0 auto 2.2rem;
  font-size: clamp(1.55rem, 2vw, 2.15rem);
  line-height: 1.4;
  max-width: 36ch;
  font-weight: 500;
  background-image: linear-gradient(90deg, var(--tz-s2-teal) 0%, #33b8b0 42%, #ff8a55 72%, var(--tz-s2-orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.tz-s2-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 1.4rem;
  align-items: center;
  justify-content: center;
}

.tz-s2-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 5.2rem;
  padding: 1.35rem 2.8rem;
  border-radius: 999px;
  background: var(--tz-s2-teal);
  color: #fff;
  text-decoration: none;
  font-size: clamp(1.55rem, 1.5vw, 1.85rem);
  font-weight: 650;
  letter-spacing: 0.01em;
  box-shadow: 0 0.7rem 2.2rem rgba(0, 128, 128, 0.42);
  transition: background 0.2s ease, transform 0.2s ease;
}

.tz-s2-btn-primary:hover {
  background: #00a0a0;
  transform: translateY(-1px);
}

.tz-s2-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 5.2rem;
  padding: 1.35rem 2.4rem;
  border-radius: 999px;
  border: 1px solid rgba(247, 245, 241, 0.42);
  color: var(--tz-s2-ink);
  text-decoration: none;
  font-size: clamp(1.5rem, 1.45vw, 1.8rem);
  font-weight: 550;
  background: rgba(8, 18, 17, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.tz-s2-btn-ghost:hover {
  border-color: rgba(247, 245, 241, 0.7);
  background: rgba(8, 18, 17, 0.48);
}

.tz-s2-scroll {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.6rem;
  height: 3.6rem;
  margin-top: 2rem;
  border: 1px solid rgba(247, 245, 241, 0.45);
  border-radius: 999px;
  color: var(--tz-s2-ink);
  text-decoration: none;
}

.tz-s2-scroll svg {
  width: 1.5rem;
  height: 1.5rem;
}

@media screen and (min-width: 768px) {
  .tz-s2-hero-copy {
    padding: 8.5rem 3rem 4.5rem;
  }

  .tz-s2-hero-text {
    width: min(96rem, 88%);
  }

  .tz-s2-hero-actions {
    gap: 1.4rem 1.6rem;
  }
}

@media screen and (min-width: 992px) {
  .tz-s2-hero-copy {
    padding: 9rem 4rem 5rem;
  }

  .tz-s2-hero-copy h1 {
    font-size: clamp(5.2rem, 5.6vw, 7.6rem);
  }

  .tz-s2-btn-primary,
  .tz-s2-btn-ghost {
    min-height: 5.6rem;
    padding-left: 3.2rem;
    padding-right: 3.2rem;
  }

  .tz-s2-hero-bg img {
    object-position: 60% 50%;
  }
}

@media screen and (max-height: 860px) {
  .tz-s2-hero-copy {
    padding-top: 6.4rem;
    padding-bottom: 2.4rem;
  }

  .tz-s2-hero-copy h1 {
    font-size: clamp(3rem, 5vw, 5.6rem);
    margin-bottom: 0.8rem;
  }

  .tz-s2-hero-copy .tz-s2-sub {
    margin-bottom: 1.6rem;
  }

  .tz-s2-btn-primary,
  .tz-s2-btn-ghost {
    min-height: 4.6rem;
    padding-top: 1.1rem;
    padding-bottom: 1.1rem;
  }

  .tz-s2-scroll {
    margin-top: 1.2rem;
  }
}

@media screen and (max-width: 767px) {
  .tz-s2-hero-bg img {
    object-position: 62% 50%;
  }

  .tz-s2-hero-copy {
    padding: 7.2rem 1.4rem 2.8rem;
  }

  .tz-s2-hero-text {
    width: 100%;
    max-width: 100%;
  }

  .tz-s2-hero-copy h1 {
    font-size: clamp(3rem, 8.6vw, 4.2rem);
    max-width: 14ch;
  }

  .tz-s2-hero-actions {
    width: 100%;
    flex-direction: column;
  }

  .tz-s2-btn-primary,
  .tz-s2-btn-ghost {
    width: min(100%, 28rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tz-s2-nav-cta,
  .tz-s2-btn-primary {
    transition: none;
  }
}
