/* All Out Transport — one-page site
   Palette drawn from the circular Alaska logo:
   dark slate (~#3a3f4b / sampled #3d434e), gold/tan, white. */

:root {
  --slate: #3a3f4b;
  --slate-deep: #2c3038;
  --slate-mid: #4a5060;
  --slate-soft: #5c6370;
  --gold: #c4a56a;
  --gold-deep: #a8874a;
  --gold-mid: #e6d3b0;
  --gold-light: #f4ecd3;
  --white: #ffffff;
  --paper: #f7f5f0;
  --ink: #3a3f4b;
  --muted: #5c6370;
  --line: #d8d4cb;
  --focus: #a8874a;
  --danger: #8a3b2b;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(42, 46, 56, 0.08);
  --header-h: 4.5rem;
  --font-serif: "Newsreader", "Liberation Serif", Georgia, serif;
  --font-sans: "Source Sans 3", "Liberation Sans", "Segoe UI", system-ui, sans-serif;
  --max: 70rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  color: var(--slate);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 600; }
h2 { font-size: clamp(1.75rem, 3vw, 2.35rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--gold);
  color: var(--slate-deep);
  padding: 0.5rem 1rem;
  font-weight: 700;
  text-decoration: none;
}
.skip:focus { top: 1rem; }

.wrap {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--slate);
  min-width: 0;
}
.brand img {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--white);
  flex-shrink: 0;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.brand-place {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-soft);
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.nav a {
  text-decoration: none;
  color: var(--slate);
  font-weight: 600;
  font-size: 0.95rem;
}
.nav a:hover { color: var(--gold-deep); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  line-height: 1;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-gold {
  background: var(--gold);
  color: var(--slate-deep);
}
.btn-gold:hover { background: var(--gold-deep); color: var(--white); }
.btn-white {
  background: var(--white);
  color: var(--slate);
}
.btn-white:hover { background: var(--gold-light); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--gold);
}
.btn-outline:hover { background: var(--gold); color: var(--slate-deep); }

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  cursor: pointer;
  color: var(--slate);
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 1.05rem;
  height: 2px;
  background: currentColor;
  margin: 0 auto;
  position: relative;
  border-radius: 1px;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-toggle span::before { top: -5px; }
.menu-toggle span::after { top: 5px; }

/* Hero */
.hero {
  background-color: var(--slate-deep);
  color: var(--white);
  padding: 4rem 0 4.5rem;
  position: relative;
  overflow: hidden;
  min-height: 28rem;
  display: flex;
  align-items: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/hero-skyline.jpg") center 42% / cover no-repeat;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg,
      rgba(44, 48, 56, 0.92) 0%,
      rgba(44, 48, 56, 0.86) 42%,
      rgba(44, 48, 56, 0.74) 68%,
      rgba(44, 48, 56, 0.60) 100%);
  z-index: 0;
  pointer-events: none;
}
.hero-inner {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
}
.eyebrow {
  display: inline-block;
  color: var(--gold-mid);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-bottom: 0.85rem;
}
.hero h1 { color: var(--white); max-width: 16ch; }
.hero-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  color: var(--gold-light);
  letter-spacing: 0.01em;
  margin: -0.15rem 0 1rem;
}
.hero .lede {
  font-size: 1.2rem;
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.hero-phone {
  color: var(--gold-light);
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* Facts */
.facts {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.facts-grid {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.fact {
  padding: 1.35rem 1.25rem;
  border-right: 1px solid var(--line);
}
.facts-grid .fact:last-child { border-right: 0; }
.fact-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-deep);
  margin-bottom: 0.25rem;
}
.fact p { margin: 0; font-weight: 600; color: var(--slate); }
.fact a { text-decoration: none; }
.fact a:hover { color: var(--gold-deep); }

/* Sections */
.section { padding: 4.25rem 0; }
.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}
.kicker {
  color: var(--gold-deep);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
}
.lede-muted { color: var(--muted); }

/* Services */
.services { background: var(--white); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.3rem 1.4rem;
}
.service-grid .card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem 1rem;
  align-items: start;
}
.service-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--slate);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-icon svg {
  width: 1.45rem;
  height: 1.45rem;
}
.card h3 { margin-bottom: 0.4rem; }
.service-grid .card h3 { margin-bottom: 0.3rem; }
.card p { margin: 0; color: var(--muted); }

/* Service area */
.area { background: var(--paper); }
.corridor {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0.5rem;
  align-items: center;
  margin: 0 0 2rem;
}
.place {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1rem;
  text-align: center;
}
.place strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--slate);
}
.place span {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.place-center {
  border: 2px solid var(--gold);
  background: var(--white);
}
.connector {
  height: 2px;
  background: linear-gradient(90deg, var(--gold-mid), var(--gold), var(--gold-mid));
  min-width: 1.5rem;
}
.area-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.area-points li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
}
.area-points strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--slate);
}

/* Fleet */
.fleet { background: var(--white); }
.fleet-photo {
  margin: 0 0 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--slate);
}
.fleet-photo img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1320 / 310;
  object-fit: cover;
  object-position: center;
}
.fleet-types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.fleet-coming {
  margin: 1.15rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.fleet-note {
  margin-top: 0.65rem;
  color: var(--muted);
}

/* Quote + hours */
.book { background: var(--paper); }
.book-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.5rem;
  align-items: start;
}
.hours-card {
  background: var(--slate);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.7rem;
}
.hours-card h2,
.hours-card a { color: var(--white); }
.hours-card a:hover { color: var(--gold-light); }
.hours-card .kicker { color: var(--gold-mid); }
.hours-list {
  list-style: none;
  margin: 1rem 0 1.25rem;
  padding: 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  font-weight: 600;
}
.hours-list .sun { color: var(--gold-light); }
.contact-lines { margin: 0; }
.contact-lines p { margin: 0 0 0.35rem; }
.contact-lines a { text-decoration: none; font-weight: 700; }

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
form { display: grid; gap: 0.9rem; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}
label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
  color: var(--slate);
}
input, select, textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--gold-deep);
}
.hint {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--muted);
}
.form-status {
  display: none;
  padding: 0.8rem 0.9rem;
  border-radius: 10px;
  font-weight: 600;
}
.form-status.is-success {
  display: block;
  background: #e8f0e6;
  color: #2a4a32;
}
.form-status.is-error {
  display: block;
  background: #f8e8e4;
  color: var(--danger);
}
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; }
.form-fineprint { margin: 0; color: var(--muted); font-size: 0.85rem; }

/* Footer */
.site-footer {
  background: var(--slate-deep);
  color: rgba(255,255,255,0.82);
  padding: 2rem 0;
  font-size: 0.95rem;
}
.footer-inner {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.85rem 2rem;
  align-items: flex-start;
}
.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-width: 36rem;
}
.footer-meta p { margin: 0; }
.site-footer a { color: var(--gold-light); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--white);
  font-family: var(--font-serif);
  font-weight: 600;
}
.footer-brand img {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--white);
}

/* Focus */
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1rem 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 0.55rem 0.2rem; }
  .nav .btn { width: 100%; }
  .facts-grid,
  .fleet-types,
  .book-grid,
  .form-row,
  .area-points {
    grid-template-columns: 1fr;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .facts-grid .fact {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .facts-grid .fact:last-child { border-bottom: 0; }
  .corridor {
    grid-template-columns: 1fr;
  }
  .connector {
    width: 2px;
    height: 1.1rem;
    min-width: 0;
    margin-inline: auto;
    background: linear-gradient(180deg, var(--gold-mid), var(--gold), var(--gold-mid));
  }
  .hero { padding: 2.75rem 0 3.25rem; min-height: 0; }
  .section { padding: 3rem 0; }
}

@media (min-width: 600px) and (max-width: 860px) {
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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