/* ==========================================================================
   Agilepreneurs: site.css
   Design tokens locked 2026-06-11 from the final logo master.
   Brand: elegant federal. Cream pages, ivory surfaces, petrol authority,
   bronze as line and letterform only. Flat rectangles, hairline rules,
   space over density. No gradients outside the logo art.
   ========================================================================== */

:root {
  --petrol: #1C414D;
  --petrol-deep: #16343D;
  --bronze: #A9774A;
  --bronze-deep: #855224;     /* also the small-text bronze (contrast ≥ 4.5:1 on cream) */
  --bronze-light: #C28551;
  --cream: #FCF5EA;
  --ivory: #FFFCF5;
  --ink: #1F2A2E;
  --muted: #5E6A6E;
  --border: #E4DCCC;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Hanken Grotesk', -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1080px;
  --pad: 48px;
  --ease: cubic-bezier(0.33, 0.66, 0.33, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

/* ------------------------------------------------------------------ type */

h1, h2, h3 { font-family: var(--serif); color: var(--petrol); font-weight: 600; }
h1 { font-size: clamp(40px, 6vw, 76px); letter-spacing: -0.01em; line-height: 1.06; text-wrap: balance; }
h2 { font-size: clamp(28px, 3.5vw, 44px); line-height: 1.12; text-wrap: balance; }
h3 { font-size: 22px; line-height: 1.3; }

p { max-width: 68ch; }

.lead { font-size: 19px; font-weight: 500; line-height: 1.55; max-width: 62ch; }

.eyebrow {
  display: block;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--bronze-deep);
  margin-bottom: 14px;
}

.muted { color: var(--muted); }

a { color: var(--petrol); }

::selection { background: var(--petrol); color: var(--ivory); }

/* ------------------------------------------------------------ skip link */

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--petrol); color: var(--ivory);
  padding: 10px 18px; font-weight: 600; text-decoration: none; z-index: 100;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--petrol); outline-offset: 3px; }
.cta-band :focus-visible, footer.site :focus-visible { outline-color: var(--ivory); }

/* --------------------------------------------------------------- header */

header.site {
  position: sticky; top: 0; z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

/* Typographic nav label: site chrome, deliberately distinct from the logo
   lockup (recorded exception in the brand guide). */
.wordmark {
  font-weight: 700; font-size: 19px; letter-spacing: 0.05em;
  text-decoration: none; white-space: nowrap;
  display: flex; align-items: center;
}
.wordmark-mark { width: 38px; height: 38px; display: block; margin-right: 11px; }
.wordmark .agile { color: var(--petrol); }
.wordmark .preneurs { color: var(--bronze-deep); }

nav.primary { display: flex; align-items: center; gap: 28px; }
nav.primary a:not(.btn) {
  font-size: 14px; font-weight: 600; color: var(--petrol);
  text-decoration: none; padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 180ms var(--ease);
}
nav.primary a:not(.btn):hover { border-bottom-color: var(--bronze); }
nav.primary a[aria-current="page"] { border-bottom-color: var(--bronze); }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--border);
  font: inherit; font-size: 14px; font-weight: 600; color: var(--petrol);
  padding: 8px 14px; cursor: pointer;
}

/* -------------------------------------------------------------- buttons */

.btn {
  display: inline-block;
  background: var(--petrol); color: var(--ivory);
  font-weight: 600; font-size: 15px; letter-spacing: 0.02em;
  padding: 14px 32px; text-decoration: none; border: none; cursor: pointer;
  transition: background-color 180ms var(--ease);
}
.btn:hover { background: var(--petrol-deep); }

.btn-secondary {
  display: inline-block; color: var(--petrol);
  font-weight: 600; font-size: 15px; text-decoration: none;
  padding: 14px 4px; border-bottom: 1px solid var(--bronze);
  transition: border-color 180ms var(--ease);
}
.btn-secondary:hover { border-bottom-color: var(--bronze-deep); }

.btn-inverse {
  display: inline-block;
  background: var(--ivory); color: var(--petrol);
  font-weight: 600; font-size: 15px; letter-spacing: 0.02em;
  padding: 14px 32px; text-decoration: none; cursor: pointer; border: none;
  transition: background-color 180ms var(--ease);
}
.btn-inverse:hover { background: var(--cream); }

/* ----------------------------------------------------------------- hero */

.hero { padding: 88px 0 72px; }
.hero .wrap {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 56px; align-items: center;
}
.hero h1 { max-width: 17ch; margin-bottom: 24px; }
.hero .lead { margin-bottom: 36px; }
.hero .actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero-figure {
  max-width: 380px;
  margin: 0 auto;
}
.hero-lockup { width: 100%; height: auto; display: block; }

/* ------------------------------------------------------------ trust line */

.trustline {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.trustline p {
  max-width: none; text-align: center;
  font-size: 15px; font-weight: 500; color: var(--muted);
  letter-spacing: 0.01em;
}

/* ---------------------------------------------------------- section break */

.section-break {
  display: flex; align-items: center; gap: 16px;
  max-width: 420px; margin: 0 auto; padding: 8px 0;
}
.section-break::before, .section-break::after {
  content: ""; flex: 1; height: 1px; background: var(--bronze);
}
.section-break .star { color: var(--petrol); font-size: 14px; line-height: 1; }

/* ------------------------------------------------------------- sections */

section.band { padding: 88px 0; }

.section-head { margin-bottom: 48px; }
.section-head h2 { margin-bottom: 0; }

/* ---------------------------------------------------------------- cards */

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  background: var(--ivory);
  border: 1px solid var(--border);
  border-top: 2px solid var(--bronze);
  padding: 34px 30px 30px;
  display: flex; flex-direction: column;
}
.card h3 { margin-bottom: 12px; }
.card p { font-size: 16px; flex: 1; }
.card .card-link {
  margin-top: 20px; font-size: 14px; font-weight: 600;
  color: var(--petrol); text-decoration: none;
  border-bottom: 1px solid var(--bronze); align-self: flex-start;
  padding-bottom: 2px;
  transition: border-color 180ms var(--ease);
}
.card .card-link:hover { border-bottom-color: var(--bronze-deep); }

/* ------------------------------------------------------------ quote band */

.quote { padding: 76px 0; }
.quote blockquote {
  font-family: var(--serif); font-size: clamp(24px, 3vw, 34px);
  font-weight: 500; font-style: italic; color: var(--petrol);
  max-width: 32ch; margin: 0 auto; text-align: center; line-height: 1.32;
}
.quote .attribution {
  text-align: center; margin-top: 22px;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}

/* -------------------------------------------------------------- two-col */

.twocol { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 64px; align-items: start; }
.twocol .body p + p { margin-top: 18px; }

/* --------------------------------------------------- portrait placeholder */

.portrait {
  background: var(--ivory);
  border: 1px solid var(--border);
  aspect-ratio: 4 / 5;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.portrait::before {
  content: ""; position: absolute; inset: 14px;
  border: 1px solid var(--border);
  z-index: 1; pointer-events: none;
}
.portrait img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.portrait span {
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted); text-align: center; padding: 0 24px;
}
.portrait-caption {
  margin-top: 12px; font-size: 13px; color: var(--muted);
  letter-spacing: 0.04em;
}

/* ---------------------------------------------------------------- steps */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step { border-top: 1px solid var(--bronze); padding-top: 22px; }
.step .num, .card .num {
  font-family: var(--serif); font-size: 18px; font-weight: 600;
  color: var(--bronze-deep); display: block; margin-bottom: 8px;
}
.step h3 { margin-bottom: 10px; }
.step p { font-size: 16px; }

/* --------------------------------------------------------------- values */

.values-table { width: 100%; border-collapse: collapse; background: var(--ivory); border: 1px solid var(--border); }
.values-table th {
  font-family: var(--serif); font-size: 20px; font-weight: 600;
  color: var(--petrol); text-align: left; padding: 18px 24px;
  border-bottom: 1px solid var(--bronze);
}
.values-table td { padding: 18px 24px; border-bottom: 1px solid var(--border); font-size: 16px; }
.values-table td:first-child { font-weight: 600; color: var(--petrol); width: 200px; }
.values-table tr:last-child td { border-bottom: none; }

/* --------------------------------------------------------------- CTA band */

.cta-band { background: var(--petrol); padding: 80px 0; }
.cta-band h2 { color: var(--ivory); margin-bottom: 10px; }
.cta-band p { color: var(--cream); font-size: 19px; margin-bottom: 32px; }

/* ---------------------------------------------------------------- footer */

footer.site { background: var(--petrol-deep); color: var(--cream); padding: 64px 0 48px; }
footer.site .wrap { text-align: center; }
.tagline {
  font-weight: 500; font-style: italic;
  letter-spacing: 0.18em; text-transform: uppercase;
  font-size: 15px; color: var(--cream); margin-bottom: 18px;
}
footer.site .scripture {
  font-family: var(--serif); font-style: italic;
  font-size: 17px; color: #C9B79A;
  max-width: 52ch; margin: 0 auto 28px;
}
footer.site nav {
  display: flex; justify-content: center; gap: 28px; margin-bottom: 22px; flex-wrap: wrap;
}
footer.site nav a {
  color: var(--cream); font-size: 14px; font-weight: 600; text-decoration: none;
  border-bottom: 1px solid transparent;
  display: inline-block; padding: 8px 2px;
}
footer.site nav a:hover { border-bottom-color: var(--bronze-light); }
footer.site .contactline { font-size: 14px; color: #AFC0C4; margin-bottom: 18px; }
footer.site .contactline a { color: var(--cream); }
footer.site .fine { font-size: 13px; color: #8FA3A8; }

/* ---------------------------------------------------------------- reveal */

.reveal { opacity: 0; transform: translateY(10px); transition: opacity 220ms var(--ease), transform 220ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media print {
  header.site, footer.site nav, .cta-band, .nav-toggle, .section-break { display: none; }
  body { background: #fff; }
  .reveal { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; }
}

/* ------------------------------------------------------------ responsive */

@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-lockup { max-width: 280px; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .twocol { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 760px) {
  .wrap { padding: 0 24px; }
  .hero { padding: 56px 0 48px; }
  section.band { padding: 64px 0; }

  .nav-toggle { display: block; }
  nav.primary {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: flex-start;
    padding: 16px 24px 24px; gap: 16px;
  }
  nav.primary.open { display: flex; }
  nav.primary a:not(.btn) { display: block; width: 100%; padding: 12px 0; }
  header.site { position: relative; }

  .values-table td:first-child { width: auto; }
}
