:root {
  --midnight: #0c1b2a;
  --midnight-2: #163049;
  --ivory: #f3eee6;
  --orange: #e08a45;
  --muted: #d5cec3;
  --ink-soft: #3d4b5a;
  --line-light: rgba(243, 238, 230, 0.16);
  --line-dark: rgba(12, 27, 42, 0.14);
  --pad: clamp(1.35rem, 4.4vw, 4.75rem);
  --sans: "Heebo", "Arial Hebrew", "Arial", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--midnight);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

::selection {
  background: #e7c3a4;
  color: var(--midnight);
}

:focus-visible {
  outline: 2px solid var(--midnight);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px var(--ivory);
}

.skip {
  position: absolute;
  z-index: 30;
  inset-inline-start: var(--pad);
  top: 0.8rem;
  transform: translateY(-160%);
  padding: 0.65rem 1rem;
  background: var(--ivory);
  color: var(--midnight);
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  transform: none;
}

main:focus {
  outline: none;
}

.top,
.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding-inline: var(--pad);
  background: var(--midnight);
  color: var(--ivory);
}

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  padding-top: calc(1.05rem + env(safe-area-inset-top));
  padding-bottom: 1.05rem;
  border-bottom: 1px solid var(--line-light);
}

.wordmark {
  color: var(--ivory);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a,
.foot a {
  color: var(--ivory);
  font-weight: 500;
  text-decoration: none;
}

.nav a {
  font-size: 1rem;
  transition: color 0.2s ease;
}

.nav a:hover,
.foot a:hover {
  color: var(--orange);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
  align-items: end;
  gap: clamp(1.5rem, 4vw, 3rem);
  min-height: calc(100svh - 4.4rem);
  padding: clamp(2.5rem, 7vh, 4.5rem) var(--pad) clamp(3rem, 8vh, 5rem);
  background: var(--midnight);
  color: var(--ivory);
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 46rem;
}

.kicker,
.eyebrow {
  margin: 0;
  color: var(--orange);
  font-size: 0.98rem;
  font-weight: 600;
}

.hero h1,
.services h2,
.contact h2 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero h1 {
  margin-top: 1.1rem;
  font-size: clamp(2.75rem, 6.2vw, 6.15rem);
  line-height: 1.12;
}

.line {
  display: block;
}

.line-mark {
  display: flex;
  align-items: center;
  gap: 0.28em;
}

.parcel {
  width: 0.22em;
  height: 0.22em;
  background: var(--orange);
  flex: none;
}

.lede,
.services-copy p,
.contact-copy p,
.stops p {
  margin: 0;
}

.lede {
  max-width: 36rem;
  margin-top: clamp(1.5rem, 4vh, 2.4rem);
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.8;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 3.35rem;
  margin-top: 2rem;
  padding: 0.85rem 1.3rem 0.85rem 1.45rem;
  background: var(--ivory);
  color: var(--midnight);
  font: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.cta svg {
  display: block;
  transition: transform 0.2s ease;
}

.cta:hover {
  background: #fffaf3;
  transform: translateY(-1px);
}

.cta:hover svg {
  transform: translateX(-3px);
}

.route {
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  min-height: 0;
}

.route svg {
  width: min(100%, 340px);
  height: auto;
  max-height: min(58vh, 460px);
}

.route-path {
  stroke-dasharray: 980;
  stroke-dashoffset: 980;
}

#services,
#contact {
  scroll-margin-top: 5rem;
}

.services {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
  padding: clamp(5rem, 12vh, 8rem) var(--pad);
}

.services h2,
.contact h2 {
  margin-top: 0.7rem;
  font-size: clamp(2.15rem, 4vw, 3.6rem);
  line-height: 1.2;
}

.services-copy p,
.contact-copy p {
  margin-top: 1.1rem;
  max-width: 34rem;
  color: var(--ink-soft);
  font-size: 1.125rem;
}

.stops {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stops::before {
  content: "";
  position: absolute;
  top: 2rem;
  bottom: 2rem;
  inset-inline-start: calc(1.7rem + 0.85rem + 0.7rem - 0.5px);
  width: 1px;
  background: var(--orange);
}

.stops li {
  display: grid;
  grid-template-columns: 1.7rem 1.4rem minmax(0, 1fr);
  gap: 0.35rem 0.85rem;
  align-items: start;
  padding: 1.45rem 0;
  border-top: 1px solid var(--line-dark);
}

.stops li:last-child {
  border-bottom: 1px solid var(--line-dark);
}

.idx {
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.3;
}

.dot {
  width: 9px;
  height: 9px;
  margin-top: 0.55rem;
  background: var(--orange);
  justify-self: center;
}

.stops h3 {
  margin: 0 0 0.3rem;
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.3;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
  padding: clamp(5rem, 12vh, 8rem) var(--pad);
  background: var(--midnight);
  color: var(--ivory);
  box-shadow: inset 0 3px 0 var(--orange);
}

.contact-copy p {
  color: var(--muted);
}

.contact .cta {
  margin-top: 1.75rem;
}

.mail {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  justify-self: start;
  color: inherit;
  text-decoration: none;
}

.mail-label {
  color: var(--orange);
  font-size: 0.95rem;
  font-weight: 600;
}

.mail-addr {
  color: var(--ivory);
  font-size: clamp(1.45rem, 2.8vw, 2.5rem);
  font-weight: 500;
  line-height: 1.35;
  overflow-wrap: anywhere;
  border-bottom: 2px solid var(--orange);
  unicode-bidi: isolate;
}

.foot {
  padding-top: 1.25rem;
  padding-bottom: calc(1.35rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-light);
  font-size: 0.98rem;
}

.foot a[href^="mailto"] {
  unicode-bidi: isolate;
}

@media (max-width: 900px) {
  .hero,
  .services,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    align-items: start;
  }

  .route {
    order: -1;
    justify-content: flex-end;
  }

  .route svg {
    width: min(210px, 58vw);
    max-height: 180px;
  }

  .mail {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .cta {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .nav {
    gap: 0.9rem;
  }

  .wordmark {
    letter-spacing: 0.1em;
    font-size: 0.82rem;
  }

  .nav a {
    font-size: 0.92rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .cta,
  .cta svg,
  .nav a,
  .route-path {
    transition: none;
    animation: none;
  }

  .route-path {
    stroke-dashoffset: 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy .kicker,
  .hero h1 .line,
  .lede,
  .hero .cta {
    animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .hero h1 .line:nth-child(2) {
    animation-delay: 0.08s;
  }

  .lede {
    animation-delay: 0.16s;
  }

  .hero .cta {
    animation-delay: 0.24s;
  }

  .route-path {
    animation: draw 1.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0.12s forwards;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
