/* =========================================================
   LOORNIS LOGISTICS LLC - PUBLIC SITE
   Modern Corporate Logistics Theme
========================================================= */

:root {
  --ink: #0b1728;
  --ink-2: #1b2b40;
  --paper: #f5f7fa;
  --white: #ffffff;

  --line: #dce2ea;
  --line-2: #e9edf2;

  --muted: #66758a;

  --route: #2457e6;
  --route-dark: #1743bd;
  --route-soft: #edf2ff;

  --tag: #ffb81c;
  --tag-dark: #e5a300;
  --tag-soft: #fff7df;

  --green: #17805a;
  --green-soft: #e5f5ed;

  --red: #c23b32;
  --red-soft: #fbe9e7;

  --shadow-sm: 0 5px 20px rgba(11, 23, 40, .06);
  --shadow-md: 0 15px 45px rgba(11, 23, 40, .10);
  --shadow-lg: 0 25px 70px rgba(11, 23, 40, .14);

  --radius: 10px;
  --radius-lg: 18px;

  --font-display: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}


/* =========================================================
   BASE
========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
}

a {
  color: var(--route);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--route-dark);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.1;
  letter-spacing: -.025em;
  margin: 0 0 .5em;
  color: var(--ink);
}

h1 {
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
}

h3 {
  font-weight: 700;
  font-size: 1.2rem;
}

p {
  margin: 0 0 1em;
}

:focus-visible {
  outline: 3px solid var(--route);
  outline-offset: 3px;
}

.wrap {
  width: min(1160px, 100% - 2.5rem);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: .6rem 1rem;
  z-index: 100;
}

.skip:focus {
  left: 0;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
  position: relative;
  z-index: 100;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(220, 226, 234, .85);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  color: var(--ink);
}

.brand:hover {
  color: var(--ink);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -.025em;
  white-space: nowrap;
}

.brand-name small {
  font-size: .62em;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0;
  margin-left: .15em;
}

.nav {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.nav a {
  position: relative;
  color: var(--ink);
  text-decoration: none;
  padding: .55rem .85rem;
  font-weight: 550;
  border-radius: 8px;
  transition:
    color .2s ease,
    background .2s ease;
}

.nav a:hover {
  color: var(--route);
  background: var(--route-soft);
}

.nav a[aria-current="page"]:not(.nav-cta) {
  color: var(--route);
}

.nav a[aria-current="page"]:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: .85rem;
  right: .85rem;
  bottom: .15rem;
  height: 3px;
  border-radius: 10px;
  background: var(--tag);
}

.nav .nav-cta {
  background: var(--ink);
  color: #fff;
  font-weight: 650;
  margin-left: .6rem;
  padding: .7rem 1.15rem;
}

.nav .nav-cta:hover {
  background: var(--route);
  color: #fff;
}

.nav .nav-cta[aria-current="page"] {
  box-shadow: inset 0 -3px 0 var(--tag);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  padding: .45rem .85rem;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

@media (max-width: 780px) {

  .bar {
    min-height: 70px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 70px;
    background: rgba(255, 255, 255, .98);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: .7rem 1.25rem 1.2rem;
    box-shadow: var(--shadow-md);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: .8rem .5rem;
  }

  .nav .nav-cta {
    margin: .5rem 0 0;
    text-align: center;
  }
}


/* =========================================================
   BUTTONS
========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;

  padding: .82rem 1.35rem;

  font: inherit;
  font-weight: 650;

  border: 2px solid transparent;
  border-radius: 9px;

  cursor: pointer;
  text-decoration: none;
  line-height: 1.2;

  transition:
    transform .2s ease,
    box-shadow .2s ease,
    background .2s ease,
    color .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--route);
  color: #fff;
  box-shadow: 0 8px 20px rgba(36, 87, 230, .20);
}

.btn-primary:hover {
  background: var(--route-dark);
  color: #fff;
  box-shadow: 0 12px 26px rgba(36, 87, 230, .25);
}

.btn-light {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.btn-light:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: #cbd4df;
}

.btn-amber {
  background: var(--tag);
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(255, 184, 28, .16);
}

.btn-amber:hover {
  background: var(--tag-dark);
  color: var(--ink);
}

.btn-block {
  width: 100%;
}


/* =========================================================
   HERO
========================================================= */

.hero {
  position: relative;
  padding: clamp(4.5rem, 9vw, 7.5rem) 0 clamp(4rem, 7vw, 6rem);
  background:
    radial-gradient(
      circle at 85% 20%,
      rgba(36, 87, 230, .10),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      #f8fafc 0%,
      #f1f5f9 100%
    );
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  right: -250px;
  top: -200px;
  border: 1px solid rgba(36, 87, 230, .10);
  border-radius: 50%;
}

.hero::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -120px;
  top: -80px;
  border: 1px solid rgba(36, 87, 230, .08);
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(400px, .75fr);

  gap: clamp(3rem, 7vw, 6rem);
  align-items: center;
}

.hero-copy {
  animation: heroEnter .7s ease both;
}

@keyframes heroEnter {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;

  margin-bottom: 1.25rem;

  padding: .45rem .8rem;

  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;

  color: var(--ink-2);
  font-size: .88rem;
  font-weight: 650;

  box-shadow: var(--shadow-sm);
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(23, 128, 90, .12);
}

.hero h1 {
  max-width: 13ch;
  margin-bottom: .55em;
}

.hero h1 span {
  display: block;
  color: var(--route);
}

.lede {
  max-width: 38em;
  font-size: clamp(1.08rem, 2vw, 1.22rem);
  color: var(--ink-2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.7rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;

  margin-top: 2.5rem;
  padding-top: 1.5rem;

  border-top: 1px solid var(--line);
}

.hero-trust div {
  display: flex;
  flex-direction: column;
}

.hero-trust strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.1;
}

.hero-trust span {
  color: var(--muted);
  font-size: .85rem;
  margin-top: .15rem;
}


/* =========================================================
   TRACKING CARD
========================================================= */

.waybill-wrapper {
  animation: trackingEnter .8s .15s ease both;
}

@keyframes trackingEnter {
  from {
    opacity: 0;
    transform: translateY(25px) scale(.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.waybill {
  position: relative;

  background: var(--white);

  border: 1px solid var(--line);
  border-radius: var(--radius-lg);

  box-shadow: var(--shadow-lg);

  overflow: hidden;
}

.waybill::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--route);
}

.waybill-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;

  padding: 1.2rem 1.4rem;

  border-bottom: 1px solid var(--line-2);

  color: var(--muted);
  font-size: .88rem;
  font-weight: 600;
}

.waybill-brand {
  display: flex;
  align-items: center;
}

.waybill-brand svg {
  width: 32px;
  height: 32px;
}

.tracking-status {
  display: inline-flex;
  align-items: center;
  gap: .5rem;

  padding: .4rem .7rem;

  background: var(--green-soft);
  color: var(--green);

  border-radius: 999px;

  font-size: .78rem;
  font-weight: 700;
}

.waybill-content {
  padding: 2rem 2rem 2.1rem;
}

.tracking-kicker {
  margin-bottom: .6rem;

  color: var(--route);

  font-size: .75rem;
  font-weight: 800;

  letter-spacing: .12em;
}

.waybill-content h2 {
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  margin-bottom: .5rem;
}

.tracking-description {
  color: var(--muted);
  font-size: .95rem;
  margin-bottom: 1.5rem;
}

.waybill-label {
  display: block;

  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;

  margin-bottom: .5rem;
}

.tracking-input-wrap {
  position: relative;
}

.tracking-icon {
  position: absolute;
  left: .95rem;
  top: 50%;

  transform: translateY(-50%);

  font-family: var(--font-mono);
  font-weight: 800;

  color: var(--route);

  pointer-events: none;
}

.waybill-input {
  width: 100%;

  font-family: var(--font-mono);
  font-size: 1.05rem;
  letter-spacing: .04em;
  text-transform: uppercase;

  padding: .9rem .9rem .9rem 2.25rem;

  border: 1.5px solid #b8c3d1;
  border-radius: 9px;

  background: #fafbfd;
  color: var(--ink);

  transition:
    border-color .2s ease,
    box-shadow .2s ease,
    background .2s ease;
}

.waybill-input::placeholder {
  color: #9aa7b8;
}

.waybill-input:focus {
  outline: none;

  border-color: var(--route);

  background: #fff;

  box-shadow: 0 0 0 4px rgba(36, 87, 230, .10);
}

.waybill-help {
  font-size: .83rem;
  color: var(--muted);
  margin: .6rem 0 1.2rem;
}

.waybill-content .btn {
  min-height: 48px;
}

.waybill-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;

  padding: .85rem 1.4rem;

  background: #f8fafc;

  border-top: 1px solid var(--line-2);

  color: #8996a8;

  font-family: var(--font-mono);
  font-size: .63rem;
  letter-spacing: .08em;
}

.waybill-perf,
.barcode {
  display: none;
}


/* =========================================================
   SECTION BASICS
========================================================= */

.section {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
}

.section-tint {
  background: var(--white);
  border-block: 1px solid var(--line-2);
}

.section-flush {
  padding-top: .5rem;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .7fr);

  gap: 3rem;

  align-items: end;

  margin-bottom: 3rem;
}

.section-heading.centered {
  display: block;
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}

.section-heading.centered p {
  max-width: 650px;
  margin-inline: auto;
}

.section-label {
  display: block;

  margin-bottom: .75rem;

  color: var(--route);

  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 800;

  letter-spacing: .14em;
}

.section-heading h2 {
  max-width: 18ch;
  margin-bottom: 0;
}

.section-heading.centered h2 {
  max-width: none;
}

.section-heading > p {
  color: var(--muted);
  margin-bottom: .2rem;
}

.section-intro {
  color: var(--muted);
  max-width: 40em;
  margin-bottom: 2.25rem;
}

@media (max-width: 760px) {
  .section-heading {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .section-heading h2 {
    max-width: none;
  }
}


/* =========================================================
   SERVICES
========================================================= */

.services-section {
  background: var(--paper);
}

.services-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 1rem;
}

.service-card {
  position: relative;

  background: var(--white);

  border: 1px solid var(--line);
  border-radius: var(--radius-lg);

  padding: 1.7rem;

  box-shadow: var(--shadow-sm);

  overflow: hidden;

  transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease;
}

.service-card::before {
  content: "";

  position: absolute;

  left: 0;
  top: 0;

  width: 100%;
  height: 4px;

  background: var(--route);

  transform: scaleX(0);
  transform-origin: left;

  transition: transform .3s ease;
}

.service-card:hover {
  transform: translateY(-7px);

  border-color: #cbd5e2;

  box-shadow: var(--shadow-md);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 44px;
  height: 44px;

  margin-bottom: 1.4rem;

  background: var(--route-soft);

  color: var(--route);

  border-radius: 10px;

  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 800;
}

.service-card h3 {
  margin-bottom: .55rem;
}

.service-card p {
  color: var(--muted);
  font-size: .93rem;
  margin-bottom: 1.3rem;
}

.service-link {
  color: var(--route);

  font-size: .85rem;
  font-weight: 700;
}

@media (max-width: 980px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   SPLIT SECTIONS
========================================================= */

.split {
  display: grid;

  grid-template-columns:
    minmax(0, 340px)
    minmax(0, 1fr);

  gap: clamp(2.5rem, 7vw, 6rem);

  align-items: start;
}

.split-head p {
  color: var(--muted);
}

.ruled {
  list-style: none;
  margin: 0;
  padding: 0;

  border-top: 2px solid var(--ink);
}

.ruled li {
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--line);
}

.ruled h3 {
  margin-bottom: .2em;
}

.ruled p {
  margin: 0;
  color: var(--muted);
  max-width: 42em;
}

.prose {
  max-width: 40em;
}

.prose p {
  font-size: 1.1rem;
}

@media (max-width: 820px) {
  .split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}


/* =========================================================
   DELIVERY JOURNEY
========================================================= */

.route {
  position: relative;

  display: flex;

  margin: 0;
  padding: 0;

  list-style: none;
}

.route-item {
  position: relative;

  flex: 1;

  padding: 0 1.5rem 0 0;
}

.route-number {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 48px;
  height: 48px;

  margin-bottom: 1.25rem;

  background: var(--white);

  border: 2px solid var(--route);
  border-radius: 50%;

  color: var(--route);

  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 800;
}

.route-item.active .route-number {
  background: var(--route);
  color: #fff;

  box-shadow:
    0 0 0 7px rgba(36, 87, 230, .10);
}

.route-item:last-child .route-number {
  background: var(--tag);
  border-color: var(--ink);
  color: var(--ink);
}

.route-item strong {
  display: block;

  margin-bottom: .35rem;

  font-family: var(--font-display);
  font-weight: 750;
  font-size: 1.08rem;
}

.route-item span {
  display: block;

  max-width: 175px;

  color: var(--muted);

  font-size: .88rem;
}

.route-line {
  position: relative;

  flex: 0 0 45px;

  height: 2px;

  margin-top: 24px;

  background:
    repeating-linear-gradient(
      90deg,
      var(--route) 0 7px,
      transparent 7px 13px
    );

  opacity: .45;
}

@media (max-width: 720px) {

  .route {
    display: block;
  }

  .route-item {
    display: grid;

    grid-template-columns: 55px 1fr;

    gap: 1rem;

    padding: 0 0 2rem;
  }

  .route-number {
    margin: 0;
  }

  .route-item span {
    max-width: none;
  }

  .route-line {
    width: 2px;
    height: 30px;

    margin: -2rem 0 0 23px;

    background:
      repeating-linear-gradient(
        180deg,
        var(--route) 0 7px,
        transparent 7px 13px
      );
  }
}


/* =========================================================
   EMAIL SECTION
========================================================= */

.email-section {
  align-items: center;
}

.feature-list {
  margin-top: 1.8rem;
}

.feature {
  display: flex;
  gap: .85rem;

  padding: .8rem 0;

  border-top: 1px solid var(--line-2);
}

.feature:last-child {
  border-bottom: 1px solid var(--line-2);
}

.feature-check {
  display: flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 26px;

  width: 26px;
  height: 26px;

  margin-top: .15rem;

  background: var(--green-soft);

  color: var(--green);

  border-radius: 50%;

  font-size: .75rem;
  font-weight: 800;
}

.feature strong {
  display: block;

  font-family: var(--font-display);
  font-size: .95rem;
}

.feature p {
  margin: .15rem 0 0;

  color: var(--muted);

  font-size: .85rem;
}


/* =========================================================
   EMAIL PREVIEW
========================================================= */

.sample-mail {
  max-width: 500px;
  width: 100%;

  margin-left: auto;

  background: #e9eef5;

  border: 1px solid var(--line);

  border-radius: 16px;

  padding: 1rem;

  box-shadow: var(--shadow-md);
}

.mail-window {
  background: var(--white);

  border-radius: 11px;

  overflow: hidden;

  box-shadow: 0 8px 30px rgba(11, 23, 40, .08);
}

.mail-window-top {
  display: flex;
  gap: .35rem;

  padding: .75rem 1rem;

  background: #f5f7fa;

  border-bottom: 1px solid var(--line-2);
}

.mail-window-top span {
  width: 8px;
  height: 8px;

  border-radius: 50%;

  background: #c5ced9;
}

.mail-content {
  padding: 1.8rem;
}

.mail-logo {
  margin-bottom: 1.3rem;
}

.mail-logo svg {
  width: 32px;
  height: 32px;
}

.mail-label {
  display: inline-block;

  margin-bottom: .65rem;

  color: var(--route);

  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 800;

  letter-spacing: .12em;
}

.mail-content h3 {
  font-size: 1.45rem;
  margin-bottom: .25rem;
}

.mail-tracking {
  font-family: var(--font-mono);
  color: var(--muted);
  font-size: .8rem;
  margin-bottom: 1rem;
}

.mail-content > p:not(.mail-tracking) {
  color: var(--muted);
  font-size: .9rem;
}

.mail-progress {
  display: flex;
  align-items: center;

  position: relative;

  margin: 1.6rem 0;
}

.mail-progress-line {
  position: absolute;

  left: 6px;
  right: 6px;
  top: 5px;

  height: 2px;

  background: var(--line);
}

.mail-progress span {
  position: relative;
  z-index: 2;

  width: 12px;
  height: 12px;

  margin-right: auto;

  background: var(--white);

  border: 2px solid var(--line);

  border-radius: 50%;
}

.mail-progress span:last-child {
  margin-right: 0;
}

.mail-progress span.completed {
  background: var(--route);
  border-color: var(--route);
}

.mail-progress span.current {
  background: var(--tag);
  border-color: var(--ink);

  box-shadow: 0 0 0 4px rgba(255, 184, 28, .20);
}

.mail-button {
  display: inline-flex;

  padding: .65rem 1rem;

  background: var(--route);

  color: #fff;

  border-radius: 8px;

  font-size: .83rem;
  font-weight: 700;

  text-decoration: none;
}

.mail-button:hover {
  background: var(--route-dark);
  color: #fff;
}

.mail-content small {
  display: block;

  margin-top: 1.5rem;

  color: #9aa6b6;

  font-size: .7rem;
}


/* =========================================================
   CTA
========================================================= */

.cta {
  position: relative;

  background: var(--ink);

  color: #fff;

  padding: clamp(3rem, 6vw, 5rem) 0;

  overflow: hidden;
}

.cta::after {
  content: "";

  position: absolute;

  width: 450px;
  height: 450px;

  right: -200px;
  top: -250px;

  border: 1px solid rgba(255, 255, 255, .08);

  border-radius: 50%;
}

.cta h2 {
  color: #fff;
  margin-bottom: .3em;
}

.cta p {
  color: #bdc8d7;
  margin: 0;
  max-width: 36em;
}

.cta-inner {
  position: relative;
  z-index: 2;

  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 2rem;

  flex-wrap: wrap;
}

.cta .section-label {
  color: var(--tag);
}

.cta :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--tag);
}


/* =========================================================
   PAGE HEAD
========================================================= */

.page-head {
  padding: clamp(3rem, 6vw, 5rem) 0 1.5rem;
}

.page-head h1 {
  max-width: 20ch;
}

.page-head-tight {
  padding-bottom: 1.5rem;
}


/* =========================================================
   PRINCIPLES
========================================================= */

.principles {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 0 3rem;

  margin: 1.5rem 0 0;
}

.principles > div {
  padding: 1.3rem 0;

  border-top: 2px solid var(--ink);
}

.principles dt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;

  margin-bottom: .25rem;
}

.principles dd {
  margin: 0;

  color: var(--muted);
}

@media (max-width: 720px) {
  .principles {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   FORMS
========================================================= */

.form .field {
  margin-bottom: 1.15rem;
}

.field label,
.track-form label {
  display: block;

  font-weight: 600;

  margin-bottom: .4rem;

  font-size: .95rem;
}

.opt {
  font-weight: 400;
  color: var(--muted);
}

input[type=text],
input[type=email],
input[type=tel],
textarea {
  width: 100%;

  font: inherit;

  padding: .75rem .85rem;

  border: 1.5px solid #b5c0ce;

  border-radius: 9px;

  background: #fff;

  color: var(--ink);

  transition:
    border-color .2s ease,
    box-shadow .2s ease;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: none;

  border-color: var(--route);

  box-shadow: 0 0 0 4px rgba(36, 87, 230, .10);
}

[aria-invalid="true"] {
  border-color: var(--red) !important;
}

.field-error {
  color: var(--red);
  font-size: .92rem;
  margin: .35rem 0 0;
}

.field-row {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 0 1.25rem;
}

@media (max-width: 620px) {
  .field-row {
    grid-template-columns: 1fr;
  }
}

.hp {
  position: absolute;
  left: -9999px;

  width: 1px;
  height: 1px;

  overflow: hidden;
}


/* =========================================================
   CONTACT
========================================================= */

.contact-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    340px;

  gap: clamp(2rem, 5vw, 5rem);

  align-items: start;
}

.contact-card {
  background: var(--white);

  border: 1px solid var(--line);

  border-radius: var(--radius-lg);

  border-top: 5px solid var(--ink);

  padding: 1.6rem;

  box-shadow: var(--shadow-sm);
}

.contact-card h2 {
  font-size: 1.35rem;
}

.contact-card dl {
  margin: 0 0 1rem;
}

.contact-card dt {
  font-weight: 600;

  font-size: .85rem;

  color: var(--muted);

  margin-top: .9rem;
}

.contact-card dd {
  margin: 0;
}

.contact-note {
  font-size: .9rem;

  color: var(--muted);

  margin: 0;

  padding-top: 1rem;

  border-top: 1px solid var(--line-2);
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   NOTICES
========================================================= */

.notice {
  padding: .9rem 1.1rem;

  border-left: 4px solid var(--route);

  background: var(--route-soft);

  margin: 0 0 1.25rem;

  border-radius: 0 var(--radius) var(--radius) 0;
}

.notice-success {
  border-color: var(--green);
  background: var(--green-soft);
}

.notice-error {
  border-color: var(--red);
  background: var(--red-soft);
}

.notice-warn {
  border-color: var(--tag);
  background: var(--tag-soft);
}


/* =========================================================
   TRACKING PAGE
========================================================= */

.track-row {
  display: flex;

  gap: .75rem;

  flex-wrap: wrap;
}

.track-row input {
  flex: 1 1 260px;

  max-width: 26rem;

  font-family: var(--font-mono);

  font-size: 1.15rem;

  letter-spacing: .04em;

  text-transform: uppercase;

  padding: .75rem .9rem;

  border: 2px solid var(--ink);
}

.track-row .btn {
  padding-inline: 1.7rem;
}


/* =========================================================
   TRACKING RESULT
========================================================= */

.result {
  background: var(--white);

  border: 1px solid var(--line);

  border-radius: var(--radius-lg);

  margin-bottom: 3rem;

  overflow: hidden;

  box-shadow: var(--shadow-sm);
}

.result-head {
  display: flex;

  justify-content: space-between;

  gap: 1.5rem;

  flex-wrap: wrap;

  padding: 1.75rem 1.9rem;

  border-left: 7px solid var(--route);

  background: var(--paper);
}

.result-amber {
  border-left-color: var(--tag);
}

.result-green {
  border-left-color: var(--green);
}

.result-red {
  border-left-color: var(--red);
}

.result-grey {
  border-left-color: var(--muted);
}

.result-number {
  font-family: var(--font-mono);

  font-size: .9rem;

  color: var(--muted);

  margin: 0 0 .25rem;

  letter-spacing: .04em;
}

.result-status {
  font-size: clamp(1.9rem, 4vw, 2.7rem);

  margin: 0 0 .15em;
}

.result-text {
  margin: 0;

  color: var(--ink-2);
}

.result-updated {
  margin: 0;

  text-align: right;

  color: var(--muted);

  font-size: .88rem;
}

.result-updated strong {
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 620px) {
  .result-updated {
    text-align: left;
  }
}

.result > .notice {
  margin: 1.25rem 1.9rem 0;
}

.result-foot {
  margin: 0;

  padding: 1.2rem 1.9rem;

  border-top: 1px solid var(--line-2);

  color: var(--muted);

  font-size: .92rem;
}


/* =========================================================
   TRACKING STAGES
========================================================= */

.stages {
  list-style: none;

  display: flex;

  margin: 0;

  padding: 2rem 1.9rem 1rem;
}

.stages li {
  position: relative;

  flex: 1;

  padding-top: 2rem;

  font-size: .9rem;

  color: var(--muted);

  font-weight: 500;
}

.stages li::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;

  width: 18px;
  height: 18px;

  border-radius: 50%;

  background: var(--white);

  border: 3px solid var(--line);

  z-index: 1;
}

.stages li::after {
  content: "";

  position: absolute;

  top: 8px;

  left: 24px;
  right: 6px;

  height: 2px;

  background: var(--line);
}

.stages li:last-child::after {
  display: none;
}

.stages li.is-done {
  color: var(--ink);
}

.stages li.is-done::before {
  background: var(--route);
  border-color: var(--route);
}

.stages li.is-done::after {
  background: var(--route);
}

.stages li.is-current {
  color: var(--ink);
  font-weight: 700;
}

.stages li.is-current::before {
  background: var(--tag);

  border-color: var(--ink);

  box-shadow:
    0 0 0 4px rgba(255, 184, 28, .30);
}

.stages li.is-done.is-current::before {
  background: var(--green);

  border-color: var(--green);

  box-shadow:
    0 0 0 4px rgba(23, 128, 90, .20);
}

.stages-stalled li.is-current::before {
  background: var(--red);

  border-color: var(--red);

  box-shadow:
    0 0 0 4px rgba(194, 59, 50, .20);
}

@media (max-width: 620px) {

  .stages {
    flex-direction: column;

    padding-bottom: .5rem;
  }

  .stages li {
    padding: 0 0 1.25rem 2.1rem;
  }

  .stages li::after {
    top: 20px;
    bottom: -2px;

    left: 8px;
    right: auto;

    width: 2px;
    height: auto;
  }
}


/* =========================================================
   RESULT DETAILS
========================================================= */

.result-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 320px)
    minmax(0, 1fr);

  gap: 2.5rem;

  padding: 1.5rem 1.9rem 2rem;
}

.result-grid h3 {
  font-size: 1.05rem;

  padding-bottom: .5rem;

  border-bottom: 2px solid var(--ink);

  margin-bottom: 1rem;
}

@media (max-width: 820px) {
  .result-grid {
    grid-template-columns: 1fr;

    gap: 1.5rem;
  }
}

.details {
  display: grid;

  grid-template-columns: max-content 1fr;

  gap: .55rem 1.25rem;

  margin: 0;
}

.details dt {
  color: var(--muted);
  font-size: .92rem;
}

.details dd {
  margin: 0;

  font-weight: 500;
}


/* =========================================================
   TIMELINE
========================================================= */

.timeline {
  list-style: none;

  margin: 0;

  padding: 0 0 0 1.4rem;

  border-left: 2px solid var(--line);
}

.timeline li {
  position: relative;

  padding: 0 0 1.4rem 1rem;
}

.timeline li::before {
  content: "";

  position: absolute;

  left: -1.4rem;
  top: .35rem;

  width: 12px;
  height: 12px;

  margin-left: -7px;

  border-radius: 50%;

  background: #fff;

  border: 3px solid var(--route);
}

.timeline li.is-latest::before {
  background: var(--tag);
  border-color: var(--ink);
}

.tl-status {
  font-family: var(--font-display);

  font-weight: 700;

  font-size: 1.05rem;
}

.tl-time {
  color: var(--muted);

  font-size: .9rem;
}

.tl-note {
  margin-top: .35rem;

  padding: .55rem .8rem;

  background: var(--paper);

  border-left: 3px solid var(--tag);

  font-size: .95rem;
}

.empty {
  padding: 2rem 0 4rem;

  max-width: 34rem;
}

.empty h2 {
  font-size: 1.5rem;
}

.empty p {
  color: var(--muted);
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
  background: var(--ink);

  color: #c3cedc;

  padding-top: 4rem;

  font-size: .95rem;
}

.footer-grid {
  display: grid;

  grid-template-columns:
    1.3fr
    1fr
    1.3fr;

  gap: 2.5rem;

  padding-bottom: 3rem;
}

.brand-light,
.brand-light:hover {
  color: #fff;
}

.brand-light .brand-name small {
  color: #9daec4;
}

.footer-blurb {
  margin: .9rem 0 0;

  max-width: 24em;

  color: #aebdce;
}

.footer-h {
  font-size: 1rem;

  color: #fff;

  letter-spacing: 0;

  margin-bottom: .7rem;
}

.footer-list {
  list-style: none;

  margin: 0;

  padding: 0;
}

.footer-list li {
  margin-bottom: .45rem;
}

.footer-list a {
  color: #c3cedc;

  text-decoration: none;

  transition: color .2s ease;
}

.footer-list a:hover {
  color: #fff;

  text-decoration: none;
}

.footer-base {
  border-top: 1px solid rgba(255, 255, 255, .12);

  padding: 1.25rem 0 1.75rem;

  font-size: .85rem;

  color: #9daec4;
}

@media (max-width: 760px) {

  .footer-grid {
    grid-template-columns: 1fr;

    gap: 2rem;
  }
}


/* =========================================================
   RESPONSIVE HERO
========================================================= */

@media (max-width: 900px) {

  .hero {
    padding-top: 4rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;

    gap: 3rem;
  }

  .hero h1 {
    max-width: 16ch;
  }

  .waybill-wrapper {
    max-width: 600px;
  }
}


@media (max-width: 600px) {

  body {
    font-size: 1rem;
  }

  .wrap {
    width: min(100% - 1.5rem, 1160px);
  }

  h1 {
    font-size: clamp(2.35rem, 11vw, 3.4rem);
  }

  .hero {
    padding: 3.5rem 0 3.5rem;
  }

  .hero-eyebrow {
    font-size: .78rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-trust {
    gap: 1.2rem;
  }

  .waybill-content {
    padding: 1.5rem;
  }

  .waybill-top {
    padding-inline: 1rem;
  }

  .waybill-footer {
    padding-inline: 1rem;
    font-size: .56rem;
  }

  .sample-mail {
    padding: .6rem;
  }

  .mail-content {
    padding: 1.4rem;
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta .btn {
    width: 100%;
  }
}


/* =========================================================
   SCROLL REVEAL
   Applied by site.js via IntersectionObserver. Elements start
   slightly lower and faded; children of a revealed group are
   staggered a little so a row of cards doesn't pop in at once.
========================================================= */

.js-anim .reveal {
  opacity: 0;
  transform: translateY(18px);

  transition:
    opacity .6s ease,
    transform .6s ease;
}

.js-anim .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js-anim .reveal-group > * {
  opacity: 0;
  transform: translateY(18px);

  transition:
    opacity .55s ease,
    transform .55s ease;
}

.js-anim .reveal-group.is-visible > * {
  opacity: 1;
  transform: none;
}

.js-anim .reveal-group.is-visible > *:nth-child(1) { transition-delay: .04s; }
.js-anim .reveal-group.is-visible > *:nth-child(2) { transition-delay: .10s; }
.js-anim .reveal-group.is-visible > *:nth-child(3) { transition-delay: .16s; }
.js-anim .reveal-group.is-visible > *:nth-child(4) { transition-delay: .22s; }
.js-anim .reveal-group.is-visible > *:nth-child(5) { transition-delay: .28s; }
.js-anim .reveal-group.is-visible > *:nth-child(6) { transition-delay: .34s; }
.js-anim .reveal-group.is-visible > *:nth-child(n+7) { transition-delay: .38s; }


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  .reveal,
  .reveal-group > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}