/* ============================================================
   Aerinity Blue — holding site
   Brand tokens live here at the top. Change them once and the
   whole site follows.
   ============================================================ */

:root {
  /* Palette */
  --navy:    #0B1F3A;   /* primary background        */
  --navy-2:  #102a4d;   /* raised panel / card       */
  --steel:   #2E6CA6;   /* secondary / links         */
  --amber:   #E8A33D;   /* accent / caution signature */

  /* Text on the navy field */
  --ink:     #E8EEF6;   /* primary text  */
  --muted:   #9FB2C8;   /* secondary text */

  /* Type — exact brand faces with metric-compatible fallbacks.
     Caladea ≈ Cambria, Carlito ≈ Calibri. Drop the woff2 files into
     /fonts/ to upgrade; until then the fallbacks render cleanly. */
  --font-head: "Caladea", "Cambria", Georgia, "Times New Roman", serif;
  --font-body: "Carlito", "Calibri", "Segoe UI", system-ui, sans-serif;

  --max: 34rem;          /* holding-card measure */
  --radius: 14px;
}

/* Self-hosted brand fonts (optional — see fonts/README.md).
   font-display: swap means a missing file falls straight back. */
@font-face {
  font-family: "Caladea";
  src: url("/fonts/caladea-regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Caladea";
  src: url("/fonts/caladea-bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Carlito";
  src: url("/fonts/carlito-regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Carlito";
  src: url("/fonts/carlito-bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ---- Reset-ish ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 700px at 50% -10%, #14315c 0%, transparent 60%),
    var(--navy);
  line-height: 1.6;
}

/* ---- Layout --------------------------------------------------- */
.shell {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.25rem;
}
.card {
  width: 100%;
  max-width: var(--max);
  text-align: center;
}

/* ---- Logo lockup --------------------------------------------- */
.logo-lockup {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 2rem;
  text-decoration: none;
}
.logo {
  width: auto;
  height: 252px;
  display: block;
}
.wordmark {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.wordmark .blue { color: var(--steel); }

/* ---- Caution signature --------------------------------------- */
/* A thin band of amber chevrons — reads as "works in progress"
   without the clip-art hazard tape. This is the one bold element;
   everything else stays quiet. */
.caution {
  height: 8px;
  width: 100%;
  max-width: 14rem;
  margin: 1.6rem auto;
  border-radius: 99px;
  background-image: repeating-linear-gradient(
    -45deg,
    var(--amber) 0, var(--amber) 9px,
    transparent 9px, transparent 18px
  );
  opacity: 0.8;
}

/* ---- Banner copy --------------------------------------------- */
.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--amber);
  margin: 0 0 0.75rem;
}
h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.7rem, 5vw, 2.4rem);
  line-height: 1.2;
  margin: 0 0 0.9rem;
  color: var(--ink);
}
.lede {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 auto;
  max-width: 28rem;
}

/* Status dot for the eyebrow */
.eyebrow .dot {
  display: inline-block;
  width: 0.5rem; height: 0.5rem;
  border-radius: 50%;
  background: var(--amber);
  margin-right: 0.5rem;
  vertical-align: middle;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1;   transform: scale(1);   }
  50%      { opacity: 0.4; transform: scale(0.8); }
}

/* ---- Contact details (contact page only) --------------------- */
.contact-line {
  margin-top: 1.8rem;
  font-size: 1.05rem;
}
.contact-line a {
  color: var(--steel);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(46, 108, 166, 0.5);
  padding-bottom: 1px;
}
.contact-line a:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* ---- Inline-text link (404) ---------------------------------- */
.backlink {
  color: var(--steel);
  text-decoration: none;
  border-bottom: 1px solid rgba(46, 108, 166, 0.5);
  padding-bottom: 1px;
}
.backlink:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* ---- Footer --------------------------------------------------- */
.site-footer {
  padding: 1.6rem 1.25rem 2.2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}
.foot-nav {
  display: flex;
  gap: 0.4rem 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 0.8rem;
}
.foot-nav a {
  color: var(--muted);
  text-decoration: none;
}
.foot-nav a:hover { color: var(--ink); }
.foot-nav a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.serenity { color: var(--steel); font-style: italic; margin: 0 0 0.4rem; }
.legal { margin: 0.6rem 0 0; opacity: 0.7; max-width: 40rem; margin-inline: auto; }

/* ---- A11y: visible keyboard focus ---------------------------- */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---- Respect reduced motion ---------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .eyebrow .dot { animation: none; }
  * { scroll-behavior: auto; }
}
