/* PCE Logistics Group — marketing site */

:root {
  --navy: #002855;
  --ink: #15202b;
  --muted: #5a6570;
  --line: #d8dde3;
  --paper: #f4f1ec;
  --paper-deep: #ebe6df;
  --white: #ffffff;
  --orange: #e8720a;
  --orange-ink: #1c1006;
  --font-display: "Bricolage Grotesque", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --shell: 1080px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }

.shell {
  width: min(100% - 2.5rem, var(--shell));
  margin-inline: auto;
}

/* —— Brand —— */
.brand-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
}

.brand-logo {
  width: auto;
  height: 36px;
  object-fit: contain;
}

.brand-sub {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.2;
  color: var(--muted);
}

/* —— Nav —— */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244, 241, 236, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(21, 32, 43, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 72px;
}

.brand { margin-right: auto; }

.nav-links {
  display: flex;
  gap: 1.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}

.nav-links a:hover { color: var(--ink); }

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 2px;
  padding: 0.65rem 1.15rem;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn-primary {
  background: var(--orange);
  color: var(--orange-ink);
}

.btn-primary:hover { background: #f08520; }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.06);
}

.btn-lg {
  padding: 0.9rem 1.4rem;
  font-size: 1rem;
}

.nav .btn-primary { flex-shrink: 0; }

/* —— Hero —— */
.hero {
  position: relative;
  min-height: min(92vh, 800px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--navy);
}

.hero-media { position: absolute; inset: 0; }

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.03);
  animation: heroDrift 22s var(--ease) infinite alternate;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(0, 26, 56, 0.94) 0%, rgba(0, 40, 85, 0.72) 42%, rgba(0, 26, 56, 0.35) 100%),
    linear-gradient(180deg, transparent 40%, rgba(0, 18, 40, 0.55) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 6.5rem 0 4.75rem;
  max-width: 680px;
  color: var(--white);
}

.brand-lockup {
  margin: 0 0 1.6rem;
}

.hero-logo {
  height: 58px;
  width: auto;
  filter: brightness(0) invert(1);
}

.hero .brand-sub {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-top: 0.25rem;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.45rem, 5.6vw, 3.9rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.lede {
  margin: 1.15rem 0 0;
  max-width: 38ch;
  font-size: 1.12rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

@keyframes heroDrift {
  from { transform: scale(1.03) translate(0, 0); }
  to { transform: scale(1.08) translate(-1.2%, -0.8%); }
}

/* —— Shared section head —— */
.section-head {
  max-width: 38rem;
  margin-bottom: 2.75rem;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.55rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.section-head p {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 44ch;
}

/* —— Services —— */
.services {
  padding: 5.5rem 0 4rem;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-deep) 100%);
}

.offerings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.offer {
  padding: 2rem 2rem 2rem 0;
  border-bottom: 1px solid var(--line);
}

.offer:nth-child(even) {
  padding-left: 2rem;
  padding-right: 0;
  border-left: 1px solid var(--line);
}

.offer h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.offer > p:not(.example) {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
  max-width: 42ch;
}

.example {
  margin: 1rem 0 0;
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--ink);
  max-width: 44ch;
}

.example span {
  display: inline-block;
  margin-right: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  vertical-align: 0.05em;
}

/* —— People —— */
.people {
  padding: 4.5rem 0;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.role-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.65rem;
}

.role-list li {
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--paper);
}

.people-example {
  margin-top: 1.75rem;
  max-width: 52ch;
}

/* —— Focus —— */
.focus {
  padding: 4.25rem 0;
  background: var(--navy);
  color: var(--white);
}

.focus-inner { max-width: 40rem; }

.focus h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.8vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.focus p {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
  line-height: 1.55;
}

/* —— Contact —— */
.contact {
  padding: 5.5rem 0 5rem;
  background: var(--paper);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: start;
}

.contact-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.contact-copy p {
  margin: 1rem 0 0;
  color: var(--muted);
  max-width: 34ch;
  font-size: 1.05rem;
}

.mail {
  display: inline-block;
  margin-top: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid rgba(0, 40, 85, 0.35);
}

.mail:hover { border-bottom-color: var(--orange); color: var(--orange); }

.quote-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2px;
}

.quote-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.quote-form label em {
  font-style: normal;
  font-weight: 500;
  opacity: 0.7;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0.75rem 0.85rem;
  background: var(--white);
  transition: border-color 0.2s ease;
}

.quote-form input:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--navy);
}

.quote-form .full { grid-column: 1 / -1; }

.quote-form .hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.quote-sent {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  background: #e8f2ea;
  color: #1a4d2a;
  font-weight: 600;
  border-radius: 2px;
}

.quote-sent[hidden] { display: none; }
.quote-sent.is-visible { display: block; }

/* —— Footer —— */
.footer {
  padding: 2rem 0;
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer .brand-logo { height: 28px; }

.footer .brand-sub {
  font-size: 0.62rem;
  color: var(--muted);
}

.copy {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

/* —— Motion —— */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.delay-1 { transition-delay: 0.07s; }
.delay-2 { transition-delay: 0.14s; }
.delay-3 { transition-delay: 0.21s; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .offerings { grid-template-columns: 1fr; }
  .offer,
  .offer:nth-child(even) {
    padding: 1.75rem 0;
    border-left: 0;
  }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 560px) {
  .nav .btn-primary { display: none; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .quote-form { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .hero-logo { height: 48px; }
}
