/* Ample Crew landing — foundation + layout */

@font-face {
  font-family: Inter;
  src: url("/fonts/inter-var.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --orange: #ff7019;
  --orange-ink: #b84a00;
  --orange-on-dark: #ff8a3d;
  --btn: #b84a00;
  --btn-hover: #8f3a00;
  --charcoal: #2d363f;
  --bg: #f6f3ee;
  --card: #fffcfb;
  --ink: #141414;
  --muted: #4a4a4a;
  --subtle: #595959;
  --line: rgba(20, 20, 20, 0.14);
  --line-strong: rgba(20, 20, 20, 0.3);
  --radius: 12px;
  --radius-full: 999px;
  --wrap: 68rem;
  --header-h: 3.75rem;
  --font: Inter, ui-sans-serif, system-ui, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 4.5rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.01em;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--orange-ink);
}

:focus-visible {
  outline: 3px solid var(--orange-ink);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -100%;
  z-index: 100;
  padding: 0.7rem 1rem;
  background: #fff;
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
  border-radius: 8px;
}
.skip-link:focus {
  top: 0.75rem;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ——— Header / nav ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--charcoal);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.site-header :focus-visible,
.band :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--orange-on-dark);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: var(--header-h);
}

.wordmark {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark:hover {
  color: #fff;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle svg {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
}
.nav-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}
.nav-toggle[aria-expanded="false"] .icon-close,
.nav-toggle:not([aria-expanded="true"]) .icon-close {
  display: none;
}
.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.site-nav {
  display: none;
}
body.nav-open .site-nav,
.site-nav.is-open {
  display: block;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0.25rem 0 1rem;
}
.site-nav ul a {
  display: block;
  padding: 0.7rem 0.15rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 550;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-nav ul a:hover {
  color: var(--orange-on-dark);
}

.header-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.lang {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8125rem;
  font-weight: 650;
}
.lang a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  padding: 0.2rem 0.2rem;
}
.lang a[aria-current="page"] {
  color: #fff;
  border-bottom: 2px solid var(--orange-on-dark);
}
.lang a:hover {
  color: #fff;
}

.phone-link {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 550;
  text-decoration: none;
  white-space: nowrap;
}
.phone-link:hover {
  color: var(--orange-on-dark);
}

@media (min-width: 880px) {
  .nav-toggle {
    display: none;
  }
  .site-nav {
    display: block;
    flex: 1 1 auto;
  }
  .site-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.15rem 1.15rem;
    padding: 0;
  }
  .site-nav ul a {
    display: inline-block;
    padding: 0.35rem 0;
    font-size: 0.875rem;
    border-bottom: 0;
  }
  .header-bar {
    gap: 1.25rem;
  }
  .header-actions {
    display: flex;
  }
  body.nav-open .site-nav {
    display: block;
  }
}

/* Mobile actions inside the drawer */
.drawer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 0 0 1.15rem;
}
@media (min-width: 880px) {
  .drawer-actions {
    display: none;
  }
}

.nav-backdrop {
  display: none;
}
body.nav-open .nav-backdrop {
  display: block;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: rgba(7, 7, 7, 0.45);
  z-index: 40;
}
@media (min-width: 880px) {
  body.nav-open .nav-backdrop {
    display: none;
  }
}

@media (max-width: 879px) {
  body.nav-open .site-nav {
    display: block;
    position: relative;
    z-index: 45;
  }
}

/* ——— Buttons ——— */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-full);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}
.btn--primary {
  background: var(--btn);
  color: #fff;
  border: 1px solid var(--btn);
}
.btn--primary:hover {
  background: var(--btn-hover);
  border-color: var(--btn-hover);
  color: #fff;
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn--ghost:hover {
  background: rgba(20, 20, 20, 0.05);
  color: var(--ink);
}
.btn--ghost-on-dark {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.btn--ghost-on-dark:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* ——— Hero ——— */
.hero {
  background: var(--charcoal);
  color: #fff;
  padding: 2.5rem 0 2rem;
  text-align: center;
}
.hero-logo {
  width: 9.5rem;
  max-width: 46%;
  margin: 0 auto 1.75rem;
}
.hero-logo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 427 / 389;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}
.hero .kicker {
  color: var(--orange-on-dark);
  margin-bottom: 0.85rem;
}
.hero h1 {
  margin: 0 auto 1rem;
  max-width: 16ch;
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.15rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.12;
}
.hero .lead {
  margin: 0 auto 1.75rem;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.88);
}
.hero .actions {
  justify-content: center;
}

.trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1rem;
  margin: 0 auto;
  padding-top: 1.25rem;
  padding-bottom: 2rem;
  background: var(--charcoal);
  color: #fff;
}
.trust-wrap {
  background: var(--charcoal);
}
.trust-item {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 0.85rem;
  text-align: left;
}
.trust-item dt {
  margin: 0;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 650;
  line-height: 1.35;
}
.trust-item dd {
  margin: 0.25rem 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.8125rem;
  line-height: 1.4;
}

@media (min-width: 720px) {
  .hero {
    padding-top: 3rem;
  }
  .trust {
    grid-template-columns: repeat(4, 1fr);
    padding-bottom: 2.25rem;
  }
}
@media (max-width: 879px) {
  .header-bar {
    flex-wrap: wrap;
  }
  .nav-toggle {
    margin-left: auto;
  }
  body.nav-open .site-nav {
    flex: 1 0 100%;
    width: 100%;
  }
  body.nav-open {
    overflow: hidden;
  }
}
