/* PackStride — plain CSS rebuild of the original site. */

:root {
  --background: 40 33% 97%;
  --foreground: 222 47% 11%;
  --card: 0 0% 100%;
  --primary: 18 92% 47%;
  --primary-foreground: 40 33% 97%;
  --secondary: 36 20% 92%;
  --muted-foreground: 222 14% 42%;
  --border: 30 14% 86%;
  --radius: .375rem;
  --radius-sm: calc(var(--radius) - 2px);
  --ease-reveal: cubic-bezier(.22, 1, .36, 1);
  --ease-out: cubic-bezier(0, 0, .58, 1);
  --ease-ui: cubic-bezier(.4, 0, .2, 1);
  --display: Archivo, sans-serif;
}

/* ---------- Reset ---------- */
*, ::before, ::after { box-sizing: border-box; border: 0 solid hsl(var(--border)); }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Inter, sans-serif; line-height: inherit; overflow-x: clip; }
h1, h2, h3, p, figure, blockquote, ul { margin: 0; padding: 0; }
h1, h2, h3 { font-size: inherit; font-weight: inherit; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
img { max-width: 100%; height: auto; }
button, input, textarea { font: inherit; color: inherit; margin: 0; }
button { background: transparent; padding: 0; cursor: pointer; }
textarea { resize: vertical; }
[hidden] { display: none !important; }

/* ---------- Icons ---------- */
.icon {
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0;
}
.icon-16 { width: 1rem; height: 1rem; }
.icon-20 { width: 1.25rem; height: 1.25rem; }
.icon-24 { width: 1.5rem; height: 1.5rem; }
.c-primary { color: hsl(var(--primary)); }

/* ---------- Backgrounds ---------- */
.bg-blueprint {
  background-image:
    linear-gradient(to right, hsl(var(--foreground) / .05) 1px, transparent 1px),
    linear-gradient(to bottom, hsl(var(--foreground) / .05) 1px, transparent 1px);
  background-size: 56px 56px;
}
.bg-blueprint-light {
  background-image:
    linear-gradient(to right, hsl(0 0% 100% / .06) 1px, transparent 1px),
    linear-gradient(to bottom, hsl(0 0% 100% / .06) 1px, transparent 1px);
  background-size: 56px 56px;
}

/* ---------- Layout ---------- */
.container { max-width: 80rem; margin-inline: auto; padding-inline: 1.25rem; }
.section { padding-block: 5rem; }
.band {
  border-block-width: 1px;
  background: hsl(var(--secondary) / .6);
  padding-block: 5rem;
}

/* ---------- Type ---------- */
.eyebrow {
  font-size: .75rem; line-height: 1rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .25em; color: hsl(var(--primary));
}
.heading {
  font-family: var(--display); margin-top: .75rem;
  font-size: 2.25rem; line-height: 2.5rem; font-weight: 900; letter-spacing: -.025em;
}
.heading-narrow { max-width: 42rem; }
.lead { margin-top: 1.25rem; line-height: 1.625; color: hsl(var(--muted-foreground)); }
.lead-narrow { max-width: 28rem; }
.lead-dark { color: hsl(var(--background) / .7); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border-radius: var(--radius-sm);
  background: hsl(var(--primary)); color: hsl(var(--primary-foreground));
  font-weight: 600;
  transition: transform .15s var(--ease-ui);
}
.btn:hover { filter: brightness(1.1); }
.btn:active { transform: scale(.98); }
.btn-sm { height: 2.75rem; padding-inline: 1.25rem; font-size: .875rem; line-height: 1.25rem; }
.btn-lg { padding: .875rem 1.75rem; font-size: 1rem; line-height: 1.5rem; }
.btn-block { display: flex; width: 100%; margin-top: 1.5rem; }
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border-width: 1px; border-radius: var(--radius-sm);
  background: hsl(var(--card)); color: hsl(var(--foreground));
  padding: .875rem 1.75rem; font-size: 1rem; line-height: 1.5rem; font-weight: 600;
  transition: background-color .15s var(--ease-ui);
}
.btn-outline:hover { background: hsl(var(--secondary)); }
.btn-outline:active { transform: scale(.98); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 50;
  border-bottom: 1px solid hsl(var(--border) / .6);
  background: hsl(var(--background) / .85);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.header-bar {
  display: flex; align-items: center; justify-content: space-between;
  height: 4rem; max-width: 80rem; margin-inline: auto; padding-inline: 1.25rem;
}
.logo { display: flex; align-items: center; gap: .625rem; }
.logo-mark {
  display: flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem; border-radius: var(--radius-sm);
  background: hsl(var(--primary)); color: hsl(var(--primary-foreground));
}
.logo-mark-sm { width: 2rem; height: 2rem; }
.logo-text {
  font-family: var(--display); font-size: 1.125rem; line-height: 1.75rem;
  font-weight: 800; letter-spacing: -.025em;
}
.nav-desktop, .header-cta { display: none; }
.nav-desktop { align-items: center; gap: 2rem; }
.nav-desktop a {
  font-size: .875rem; line-height: 1.25rem; font-weight: 500;
  color: hsl(var(--muted-foreground));
  transition: color .15s var(--ease-ui);
}
.nav-desktop a:hover { color: hsl(var(--foreground)); }
.menu-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem;
  border-width: 1px; border-radius: var(--radius-sm);
}
.menu-toggle .menu-close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-close { display: block; }
.nav-mobile {
  border-top-width: 1px; background: hsl(var(--background));
  padding: 1rem 1.25rem;
}
.nav-mobile a {
  display: block; padding-block: .75rem;
  font-size: 1rem; line-height: 1.5rem; font-weight: 500;
  color: hsl(var(--foreground));
}
.nav-mobile a.nav-mobile-cta {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  height: 3rem; margin-top: .5rem; padding-block: 0;
  border-radius: var(--radius-sm);
  background: hsl(var(--primary)); color: hsl(var(--primary-foreground));
  font-size: .875rem; line-height: 1.25rem; font-weight: 600;
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-top: 4rem; }
.hero-grid {
  display: grid; gap: 3rem;
  max-width: 80rem; min-height: 100dvh; margin-inline: auto;
  padding: 3.5rem 1.25rem 4rem;
}
.badge {
  display: inline-flex; align-items: center; gap: .5rem;
  border-width: 1px; border-radius: 9999px;
  background: hsl(var(--card)); padding: .375rem 1rem;
  font-size: .75rem; line-height: 1rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em;
  color: hsl(var(--muted-foreground));
}
.badge-dot { width: .5rem; height: .5rem; border-radius: 9999px; background: hsl(var(--primary)); }
.hero-title {
  font-family: var(--display); margin-top: 1.5rem;
  font-size: 3rem; line-height: 1.02; font-weight: 900; letter-spacing: -.025em;
}
.underlined { position: relative; display: inline-block; color: hsl(var(--primary)); }
.underlined svg { position: absolute; bottom: -.5rem; left: 0; width: 100%; }
.hero-lead {
  margin-top: 1.5rem; max-width: 36rem;
  font-size: 1.125rem; line-height: 1.625; color: hsl(var(--muted-foreground));
}
.hero-actions { display: flex; flex-direction: column; gap: .75rem; margin-top: 2rem; }
.hero-trust {
  display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 2rem;
  margin-top: 2.5rem; font-size: .875rem; line-height: 1.25rem;
  color: hsl(var(--muted-foreground));
}
.hero-trust span { display: flex; align-items: center; gap: .5rem; }
.hero-media { position: relative; }
.frame { overflow: hidden; border-width: 1px; border-radius: var(--radius); }
.frame img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.frame-hero img { aspect-ratio: 4 / 3; }
.frame-hero { box-shadow: 0 25px 50px -12px hsl(var(--foreground) / .1); }
.frame-soft { box-shadow: 0 20px 25px -5px hsl(var(--foreground) / .05), 0 8px 10px -6px hsl(var(--foreground) / .05); }
.hero-stat {
  position: absolute; bottom: -1.5rem; left: -1rem;
  border-width: 1px; border-radius: var(--radius);
  background: hsl(var(--card)); padding: 1.25rem;
  box-shadow: 0 20px 25px -5px hsl(var(--foreground) / .1), 0 8px 10px -6px hsl(var(--foreground) / .1);
}
.hero-stat-value {
  font-family: var(--display); font-size: 1.875rem; line-height: 2.25rem;
  font-weight: 900; color: hsl(var(--primary));
}
.hero-stat-label {
  margin-top: .25rem; font-size: .75rem; line-height: 1rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em;
  color: hsl(var(--muted-foreground));
}
.hero-tag {
  display: none; position: absolute; top: -1.25rem; right: -.75rem;
  border-radius: var(--radius-sm);
  background: hsl(var(--foreground)); color: hsl(var(--background));
  padding: .75rem 1rem;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
}
.hero-tag p {
  font-family: var(--display); font-size: .875rem; line-height: 1.25rem; font-weight: 700;
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden; border-block-width: 1px;
  background: hsl(var(--foreground)); padding-block: 1rem;
}
.marquee-track {
  display: flex; align-items: center; gap: 2rem; width: max-content;
  animation: marquee-x 32s linear infinite;
}
.marquee-item { display: flex; align-items: center; gap: 2rem; white-space: nowrap; }
.marquee-item span {
  font-family: var(--display); font-size: .875rem; line-height: 1.25rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: .2em;
  color: hsl(var(--background));
}
.marquee-item i {
  width: .375rem; height: .375rem; background: hsl(var(--primary));
  transform: rotate(45deg);
}

/* ---------- Services ---------- */
.services-list { margin-top: 3rem; border-top-width: 1px; }
.service {
  display: grid; gap: 1rem;
  border-bottom-width: 1px; padding-block: 2rem;
  transition: background-color .15s var(--ease-ui);
}
.service:hover { background: hsl(var(--card)); }
.service-num {
  font-family: var(--display); font-size: 1.5rem; line-height: 2rem;
  font-weight: 900; color: hsl(var(--primary) / .6);
}
.service h3 {
  display: flex; align-items: center; gap: .75rem;
  font-family: var(--display); font-size: 1.5rem; line-height: 2rem;
  font-weight: 700; letter-spacing: -.025em;
}
.service p { line-height: 1.625; color: hsl(var(--muted-foreground)); }
.service-arrow {
  display: none; color: hsl(var(--muted-foreground));
  transition: all .15s var(--ease-ui);
}
.service:hover .service-arrow { transform: translate(.25rem, -.25rem); color: hsl(var(--primary)); }

/* ---------- Stats ---------- */
.stats {
  background-color: hsl(var(--foreground)); color: hsl(var(--background));
  padding-block: 4rem;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem;
  max-width: 80rem; margin-inline: auto; padding-inline: 1.25rem;
}
.stat-value {
  font-family: var(--display); font-size: 2.25rem; line-height: 2.5rem;
  font-weight: 900; color: hsl(var(--primary));
}
.stat-label {
  margin-top: .5rem; font-size: .875rem; line-height: 1.25rem; font-weight: 500;
  color: hsl(var(--background) / .7);
}

/* ---------- Process ---------- */
.process-grid { display: grid; gap: 3rem; }
.process-image { margin-top: 2rem; }
.steps { display: flex; flex-direction: column; justify-content: center; }
.step { position: relative; display: flex; gap: 1.5rem; padding-bottom: 2.5rem; }
.step:last-child { padding-bottom: 0; }
.step-line {
  position: absolute; left: 22px; top: 3rem;
  width: 1px; height: calc(100% - 3rem); background: hsl(var(--border));
}
.step-num {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 2.75rem; height: 2.75rem; border-radius: var(--radius-sm);
  background: hsl(var(--primary)); color: hsl(var(--primary-foreground));
  font-family: var(--display); font-size: 1.125rem; line-height: 1.75rem; font-weight: 900;
}
.step h3 {
  font-family: var(--display); font-size: 1.25rem; line-height: 1.75rem;
  font-weight: 700; letter-spacing: -.025em;
}
.step p { margin-top: .375rem; line-height: 1.625; color: hsl(var(--muted-foreground)); }

/* ---------- Why ---------- */
.why-grid {
  display: grid; align-items: center; gap: 3rem;
  max-width: 80rem; margin-inline: auto; padding-inline: 1.25rem;
}
.why-media { position: relative; order: 2; }
.why-copy { order: 1; }
.why-stat {
  position: absolute; bottom: -1.25rem; right: 1rem;
  border-radius: var(--radius-sm);
  background: hsl(var(--foreground)); color: hsl(var(--background));
  padding: 1rem 1.25rem;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
}
.why-stat-value {
  font-family: var(--display); font-size: 1.5rem; line-height: 2rem;
  font-weight: 900; color: hsl(var(--primary));
}
.why-stat-label {
  font-size: .75rem; line-height: 1rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em;
  color: hsl(var(--background) / .7);
}
.checklist { margin-top: 2rem; }
.checklist li { display: flex; align-items: flex-start; gap: .75rem; font-weight: 500; }
.checklist li + li { margin-top: 1rem; }
.checklist .icon { margin-top: .125rem; }

/* ---------- Tech ---------- */
.tech-grid { display: grid; align-items: center; gap: 3rem; }
.chips { display: flex; flex-wrap: wrap; gap: .625rem; margin-top: 2rem; }
.chips span {
  border-width: 1px; border-radius: var(--radius-sm);
  background: hsl(var(--card)); color: hsl(var(--foreground));
  padding: .375rem .875rem;
  font-size: .875rem; line-height: 1.25rem; font-weight: 500;
}

/* ---------- What to expect ---------- */
.quotes { display: grid; gap: 1.5rem; margin-top: 3rem; }
.quote {
  display: flex; flex-direction: column; height: 100%;
  border-width: 1px; border-radius: var(--radius);
  background: hsl(var(--card)); padding: 1.75rem;
}
.quote-text {
  flex: 1; margin-top: 1rem; line-height: 1.625;
  color: hsl(var(--foreground) / .9);
}
.quote-foot { margin-top: 1.5rem; border-top-width: 1px; padding-top: 1rem; }
.quote-name { font-family: var(--display); font-weight: 700; }
.quote-role { font-size: .875rem; line-height: 1.25rem; color: hsl(var(--muted-foreground)); }

/* ---------- Contact ---------- */
.contact {
  background-color: hsl(var(--foreground)); color: hsl(var(--background));
  padding-block: 5rem;
}
.contact-grid {
  display: grid; gap: 3.5rem;
  max-width: 80rem; margin-inline: auto; padding-inline: 1.25rem;
}
.contact-details { margin-top: 2.5rem; font-size: .875rem; line-height: 1.25rem; }
.contact-details > * {
  display: flex; align-items: center; gap: .75rem;
  color: hsl(var(--background) / .8);
}
.contact-details > * + * { margin-top: 1.25rem; }
.contact-details a { transition: color .15s var(--ease-ui); }
.contact-details a:hover { color: hsl(var(--primary)); }
.contact-form {
  border: 1px solid hsl(var(--background) / .15); border-radius: var(--radius);
  background: hsl(var(--background) / .05); padding: 1.5rem;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.form-row { display: grid; gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: .5rem; }
.field-gap { margin-top: 1.25rem; }
.field label {
  font-size: .75rem; line-height: 1rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em;
  color: hsl(var(--background) / .7);
}
.field input, .field textarea {
  width: 100%; border: 1px solid hsl(var(--border)); border-radius: var(--radius-sm);
  background: hsl(var(--card)); color: hsl(var(--foreground));
  padding-inline: 1rem; font-size: .875rem; line-height: 1.25rem;
}
.field input { height: 3rem; }
.field textarea { padding-block: .75rem; }
.field input::placeholder, .field textarea::placeholder {
  color: hsl(var(--muted-foreground)); opacity: 1;
}
.field input:focus, .field textarea:focus {
  outline: 2px solid transparent; outline-offset: 2px;
  box-shadow: 0 0 0 2px hsl(var(--primary));
}
.form-note {
  margin-top: .75rem; text-align: center;
  font-size: .75rem; line-height: 1rem; color: hsl(var(--background) / .5);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid hsl(var(--background) / .1);
  background: hsl(var(--foreground)); color: hsl(var(--background));
  padding-block: 2.5rem;
}
.footer-bar {
  display: flex; flex-direction: column; align-items: flex-start;
  justify-content: space-between; gap: 2rem;
  max-width: 80rem; margin-inline: auto; padding-inline: 1.25rem;
}
.footer-brand { display: flex; align-items: center; gap: .625rem; }
.footer-name { font-family: var(--display); font-weight: 800; letter-spacing: -.025em; }
.footer-tag { font-size: .75rem; line-height: 1rem; color: hsl(var(--background) / .5); }
.footer-nav {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
  font-size: .875rem; line-height: 1.25rem; color: hsl(var(--background) / .6);
}
.footer-nav a { transition: color .15s var(--ease-ui); }
.footer-nav a:hover { color: hsl(var(--background)); }
.footer-copy { font-size: .75rem; line-height: 1rem; color: hsl(var(--background) / .4); }

/* ---------- Animations ---------- */
@keyframes marquee-x { to { transform: translate(-50%); } }
@keyframes enter-up {
  from { opacity: 0; transform: translateY(var(--y, 24px)); }
  to { opacity: 1; transform: none; }
}
@keyframes enter-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes enter-scale {
  from { opacity: 0; transform: scale(.96); }
  to { opacity: 1; transform: none; }
}

/* Hero: plays once on page load */
.enter { animation: enter-up var(--dur, .55s) var(--ease-out) var(--delay, 0s) backwards; }
.enter-fade { animation: enter-fade .6s var(--ease-out) .45s backwards; }
.enter-scale { animation: enter-scale .7s var(--ease-out) .25s backwards; }

/* Sections: script.js adds .in when the element scrolls into view */
.js .reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s var(--ease-reveal) var(--d, 0s),
              transform .6s var(--ease-reveal) var(--d, 0s);
}
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .js .reveal { transform: none; }
}

/* ---------- Breakpoints ---------- */
@media (min-width: 640px) {
  .heading { font-size: 3rem; line-height: 1; }
  .hero-title { font-size: 3.75rem; line-height: 1; }
  .hero-actions { flex-direction: row; }
  .hero-stat { left: -2rem; }
  .hero-tag { display: block; }
  .stat-value { font-size: 3rem; line-height: 1; }
  .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-form { padding: 2rem; }
}

@media (min-width: 768px) {
  .service {
    grid-template-columns: 80px 1fr 1.4fr 48px;
    align-items: center; gap: 2rem; padding-inline: 1rem;
  }
  .service-arrow { display: block; }
  .footer-bar { flex-direction: row; align-items: center; }
}

@media (min-width: 1024px) {
  .container, .header-bar, .stats-grid, .why-grid, .contact-grid, .footer-bar { padding-inline: 2rem; }
  .section, .band, .contact { padding-block: 7rem; }
  .stats { padding-block: 5rem; }
  .stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .nav-desktop { display: flex; }
  .header-cta { display: block; }
  .menu-toggle, .nav-mobile { display: none; }
  .hero-grid {
    grid-template-columns: 1.05fr .95fr; align-items: center; gap: 4rem;
    padding: 6rem 2rem;
  }
  .hero-title { font-size: 4.5rem; }
  .process-grid { grid-template-columns: .9fr 1.1fr; gap: 5rem; }
  .why-grid, .tech-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5rem; }
  .why-media { order: 1; }
  .why-copy { order: 2; }
  .quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5rem; }
}
