/* ALSC landing, ALS brand colours (navy + amber, from the logo).
   Light only: the logo and the airport artwork are made for a light page.
   Shape rule: cards and photos 16px, buttons pill, icon chips 12px. */

:root {
  --bg: #f5f8fb;
  --surface: #ffffff;
  --tint: #eaf1f8;
  --text: #17263a;
  --muted: #4a5b6e;
  --line: #d5e0eb;
  --accent: #1e5799;        /* ALS navy, white text on this: 7.3:1 */
  --accent-ink: #ffffff;
  --accent-soft: #e3edf8;
  --amber: #f4a742;         /* ALS amber, highlights only, never text on white */
  --amber-soft: #fdf0dc;
  --slate: #17304f;
  --slate-ink: #eaf1f8;
  --shadow: 0 1px 2px rgb(23 48 79 / .06), 0 10px 30px rgb(23 48 79 / .10);
  --radius: 16px;
  --wrap: 1200px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.125rem; letter-spacing: -0.01em; font-weight: 600; }
p { margin: 0; }
a { color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 767px) { .wrap { padding: 0 16px; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  font: inherit; font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent;
  transition: transform .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: color-mix(in srgb, var(--accent) 88%, var(--text)); }
.btn--ghost { color: var(--text); border-color: var(--line); background: transparent; }
.btn--ghost:hover { border-color: var(--text); }
.btn--ghost .ph { transition: transform .2s var(--ease); }
.btn--ghost:hover .ph { transform: translateX(3px); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 44px; width: auto; display: block; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a:not(.btn) { text-decoration: none; color: var(--muted); font-weight: 500; font-size: .95rem; }
.nav__links a:not(.btn):hover { color: var(--text); }
.nav__cta { padding: 9px 18px; }
.nav__toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px;
  background: transparent; color: var(--text); font-size: 1.4rem; cursor: pointer;
  align-items: center; justify-content: center;
}
@media (max-width: 767px) {
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 12px 16px 20px; background: var(--bg); border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a:not(.btn) { padding: 12px 4px; font-size: 1rem; }
  .nav__cta { justify-content: center; margin-top: 8px; padding: 12px 18px; }
}

/* Hero: airport artwork full-bleed, copy sits in the open sky on the left */
.hero {
  position: relative;
  min-height: min(760px, calc(100dvh - 68px));
  padding: 72px 0 0;
  background: #4c9be6 url('../img/airport.webp') center bottom / cover no-repeat;
  display: flex; align-items: flex-start;
}
.hero::before {
  /* soft white wash behind the copy so text stays readable on the sky */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, rgb(255 255 255 / .82) 0%, rgb(255 255 255 / .55) 38%, rgb(255 255 255 / 0) 62%);
}
.hero .wrap { position: relative; }
.hero__copy { max-width: 600px; }
.eyebrow { font-weight: 600; font-size: .95rem; color: var(--accent); margin-bottom: 16px; }
.eyebrow::before {
  content: ""; display: inline-block; width: 28px; height: 3px; border-radius: 2px;
  background: var(--amber); vertical-align: middle; margin-right: 10px;
}
.hero h1 { font-size: clamp(2.25rem, 4.2vw, 3.3rem); letter-spacing: -0.03em; color: var(--slate); max-width: 19ch; text-wrap: balance; }
.lead { margin-top: 20px; font-size: 1.125rem; color: #2c3e53; max-width: 44ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .btn--ghost { background: rgb(255 255 255 / .75); border-color: rgb(30 87 153 / .25); }
@media (max-width: 899px) {
  .hero { min-height: 640px; padding-top: 40px; background-size: auto 100%; background-position: 70% bottom; }
  .hero::before { background: linear-gradient(180deg, rgb(255 255 255 / .85) 0%, rgb(255 255 255 / .6) 45%, rgb(255 255 255 / 0) 70%); }
}

/* Cropped view of the same artwork: the cargo terminal and ULDs on the right */
.photo {
  margin: 0; overflow: hidden; border-radius: var(--radius);
  background: #4c9be6 url('../img/airport.webp') 96% 92% / 260% auto no-repeat;
}
.photo--tile { aspect-ratio: 16 / 9; border-radius: 12px; }

/* Sections */
.section { padding: 96px 0; }
.section--tint { background: var(--tint); border-block: 1px solid var(--line); }
.section__lead { margin-top: 14px; color: var(--muted); max-width: 60ch; font-size: 1.05rem; }
@media (max-width: 767px) { .section { padding: 64px 0; } }

/* Services bento: export spans 2 rows, the rest vary in tone */
.bento {
  display: grid; gap: 16px; margin-top: 40px;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-areas:
    "export import special"
    "export storage storage";
}
.tile {
  border-radius: var(--radius); padding: 28px;
  background: var(--surface); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 10px;
}
.tile p { color: var(--muted); }
.tile__icon {
  font-size: 22px; width: 44px; height: 44px; border-radius: 12px;
  display: inline-grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 6px;
}
.tile--export { grid-area: export; padding: 12px; gap: 0; }
.tile--export .tile__body { padding: 20px 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.tile--import { grid-area: import; }
.tile--special { grid-area: special; background: var(--amber-soft); border-color: transparent; }
.tile--special .tile__icon { background: var(--amber); color: var(--slate); }
.tile--storage { grid-area: storage; background: var(--slate); border-color: transparent; color: var(--slate-ink); }
.tile--storage p { color: color-mix(in srgb, var(--slate-ink) 75%, transparent); max-width: 52ch; }
.tile--storage .tile__icon { background: rgb(255 255 255 / .08); color: var(--slate-ink); }
@media (max-width: 899px) {
  .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "export export" "import special" "storage storage"; }
}
@media (max-width: 599px) {
  .bento { grid-template-columns: 1fr; grid-template-areas: "export" "import" "special" "storage"; }
}

/* Export flow */
.flow {
  list-style: none; margin: 48px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px;
  counter-reset: step;
}
.flow__step { position: relative; padding-top: 20px; border-top: 2px solid var(--line); }
.flow__step::before {
  content: ""; position: absolute; top: -2px; left: 0; width: 40px; height: 2px; background: var(--amber);
}
.flow__step .ph { font-size: 28px; color: var(--accent); }
.flow__step h3 { margin-top: 12px; }
.flow__step p { margin-top: 6px; color: var(--muted); font-size: .95rem; }
@media (max-width: 899px) { .flow { grid-template-columns: 1fr 1fr; row-gap: 36px; } }
@media (max-width: 599px) { .flow { grid-template-columns: 1fr; row-gap: 28px; } }

/* Commitments */
.commit { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; }
.commit__statement { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 600; line-height: 1.25; letter-spacing: -0.02em; max-width: 20ch; }
.commit__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.commit__list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.commit__list .ph {
  font-size: 22px; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; background: var(--accent-soft); color: var(--accent);
}
.commit__list p { margin-top: 4px; color: var(--muted); }
@media (max-width: 899px) { .commit { grid-template-columns: 1fr; gap: 40px; } }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact__list { margin: 0; display: grid; gap: 12px; }
.contact__list > div {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 22px; display: grid; grid-template-columns: 140px 1fr; gap: 12px; align-items: center;
}
.contact__list dt { display: flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 500; }
.contact__list dt .ph { color: var(--accent); font-size: 20px; }
.contact__list dd { margin: 0; font-weight: 600; }
@media (max-width: 899px) { .contact { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 479px) { .contact__list > div { grid-template-columns: 1fr; gap: 4px; } }

/* Footer */
.footer { padding: 32px 0; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.footer p { color: var(--muted); font-size: .9rem; }
.footer .brand img { height: 36px; }

/* Reveal on scroll, only when motion is welcome and JS is running */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .hero__copy > * { animation: rise .8s var(--ease) both; }
  .js .hero__copy > :nth-child(2) { animation-delay: .08s; }
  .js .hero__copy > :nth-child(3) { animation-delay: .16s; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
