/* Bright Sky Media, built on the old Info Display OOH design system: dark
   billboard ground, Archivo stretched wide in capitals, hairline rules and
   square corners. The palette is Bright Sky's own: the logo's navy deepened
   into the ground, its sky blue as the one accent, its sun on the icons. */
:root {
  --ink: #0a1628;
  --coal: #0f1e34;
  --seam: #1c2d47;
  --paper: #f2f4f7;
  --bone: #e2e7ee;
  --brand: #2bade9;
  --brand-deep: #0b6fae;
  --sun: #fbd022;
  --hair: rgb(242 244 247 / 0.14);
  --hair-dark: rgb(10 22 40 / 0.16);
  --font: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1440px;
  --float-max: 70.875rem;
  --pad: 1.25rem;
  --header-h: 4.75rem;
}
@media (min-width: 768px) {
  :root { --pad: 2.5rem; }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--brand); color: var(--ink); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--brand); color: var(--ink); padding: 0.75rem 1rem; font-weight: 700; }
.skip:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }
.hairline-top { border-top: 1px solid var(--hair); }
.brand { color: var(--brand); }
.brand-deep { color: var(--brand-deep); }

/* ---- Display type: billboard-condensed-wide ---- */
.display {
  font-weight: 800;
  font-stretch: 118%;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  line-height: 0.92;
  text-wrap: balance;
  font-variant-numeric: tabular-nums;
}
.display-tight {
  font-weight: 700;
  font-stretch: 108%;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
}
.nowrap { white-space: nowrap; text-wrap: nowrap; }
.body-copy { font-size: 1rem; line-height: 1.625; color: rgb(242 244 247 / 0.7); }
@media (min-width: 768px) { .body-copy { font-size: 1.125rem; } }

/* ---- Buttons: square, filled, swap to outline on hover ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--brand); background: var(--brand); color: var(--ink);
  padding: 0.625rem 1.25rem;
  font: inherit; font-size: 0.875rem; font-weight: 700; letter-spacing: 0.025em; text-transform: uppercase;
  cursor: pointer; white-space: nowrap;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.btn:hover { background: transparent; color: var(--brand); }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-md { padding: 1rem 1.75rem; }
.btn-block { display: flex; width: 100%; padding: 1rem 1.5rem; font-size: 1rem; }
.link-quiet {
  font-size: 1rem; font-weight: 500; letter-spacing: 0.025em; text-transform: uppercase;
  color: rgb(242 244 247 / 0.7); transition: color 0.3s ease;
}
.link-quiet:hover { color: var(--paper); }

/* ---- Underline link ---- */
.link-rail { position: relative; }
.link-rail::after {
  content: ""; position: absolute; left: 0; bottom: -3px; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.link-rail:hover::after, .link-rail:focus-visible::after { transform: scaleX(1); transform-origin: left; }

/* ---- Floating nav, after strakes.io: one dark rounded bar held 20px off
   the top, the same width as the hero text column, fixed while you scroll.
   Navy with the sky button instead of their charcoal. ---- */
.site-header {
  position: fixed; inset: 1.25rem 0 auto; z-index: 50;
  padding-inline: var(--pad);
  pointer-events: none;
}
.fnav, .hdr-menu { pointer-events: auto; }
.fnav {
  max-width: var(--float-max); height: 3.4375rem; margin: 0 auto;
  display: flex; align-items: center; gap: 2rem;
  padding: 0 0.625rem 0 1.25rem;
  background: var(--ink); border: 1px solid rgb(242 244 247 / 0.1); border-radius: 0;
  box-shadow: 0 12px 32px rgb(10 22 40 / 0.18);
}
@media (min-width: 768px) { .fnav { padding-left: 1.75rem; } }
.fnav-logo {
  display: flex; align-items: center; gap: 0.625rem; flex: none;
  font-size: 1.05rem; font-weight: 700; font-stretch: 108%; letter-spacing: -0.01em; color: #fff; white-space: nowrap;
}
.fnav-logo img { width: 2.125rem; height: 2.125rem; border-radius: 50%; }
.fnav-links { display: none; align-items: center; gap: 1.875rem; margin-left: 1rem; }
.fnav-links a { font-size: 0.875rem; font-weight: 500; color: rgb(242 244 247 / 0.82); transition: color 0.2s ease; }
.fnav-links a:hover { color: #fff; }
.fnav-cta {
  margin-left: auto; display: inline-flex; align-items: center; justify-content: center;
  height: 2.1875rem; padding: 0 0.875rem; border-radius: 0;
  background: var(--brand); border: 1px solid var(--brand); color: var(--ink);
  font-size: 0.875rem; font-weight: 600; white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.fnav-cta:hover { background: transparent; color: var(--brand); }
.fnav-cta--block { display: flex; width: 100%; height: 3rem; margin-top: 1.25rem; font-size: 1rem; }
.hdr-toggle {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; flex: none;
  width: 2.5rem; height: 2.5rem; margin-left: -0.75rem; padding: 0; background: none; border: 0; cursor: pointer;
}
.hdr-toggle span { display: block; width: 1.25rem; height: 1.5px; background: #fff; transition: transform 0.3s ease, opacity 0.2s ease; }
.hdr-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.hdr-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hdr-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
@media (max-width: 639px) {
  .fnav > .fnav-cta { display: none; }
  .hdr-toggle { margin-left: auto; }
}
.hdr-menu {
  max-width: var(--float-max); max-height: calc(100dvh - 6.5rem); margin: 0.5rem auto 0; overflow-y: auto;
  padding: 0.5rem 1.25rem 1.25rem;
  background: var(--ink); border: 1px solid rgb(242 244 247 / 0.1); border-radius: 0;
  box-shadow: 0 12px 32px rgb(10 22 40 / 0.25);
}
.hdr-menu[hidden] { display: none; }
.hdr-menu-link {
  display: block; padding: 0.9rem 0; border-bottom: 1px solid var(--hair);
  font-size: 1.5rem; font-weight: 800; font-stretch: 118%; text-transform: uppercase; letter-spacing: -0.015em; line-height: 1;
  color: var(--paper); transition: color 0.3s ease;
}
.hdr-menu-link:hover { color: var(--brand); }
@media (min-width: 1024px) {
  .fnav-links { display: flex; }
  .hdr-toggle, .hdr-menu { display: none; }
}

/* ---- Call to action band ---- */
.cta-band { padding-block: 5rem; }
@media (min-width: 768px) { .cta-band { padding-block: 8rem; } }
.cta-band h2 { font-size: clamp(2.1rem, 7.2vw, 7.5rem); }
.cta-row { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; }
.cta-row .link-quiet { padding-block: 1rem; }

/* ---- Footer ---- */
.site-footer { border-top: 1px solid var(--hair); background: var(--ink); }
.foot-cols { display: grid; gap: 2.5rem; padding-block: 3rem; }
@media (min-width: 768px) { .foot-cols { grid-template-columns: repeat(3, 1fr); padding-block: 3.5rem; } }
.foot-cols h2 { font-size: 0.8125rem; color: rgb(242 244 247 / 0.5); }
.foot-cols address { max-width: 26ch; }
.foot-cols address, .foot-cols ul { margin-top: 1.25rem; font-size: 0.875rem; line-height: 1.625; color: rgb(242 244 247 / 0.8); }
.foot-cols li + li { margin-top: 0.75rem; }
.foot-cols a { color: rgb(242 244 247 / 0.75); transition: color 0.3s ease; }
.foot-cols a:hover { color: var(--paper); }
.foot-cols .foot-mail { display: inline-block; margin-top: 1.25rem; }
.foot-cols .foot-phone { display: inline-block; margin-top: 0.6rem; }
.foot-legal { display: flex; flex-direction: column; gap: 1rem; padding-block: 1.5rem; font-size: 0.75rem; color: rgb(242 244 247 / 0.55); }
.foot-legal-brand { display: flex; align-items: center; gap: 1rem; }
.foot-legal img { width: 1.75rem; height: 1.75rem; border-radius: 50%; opacity: 0.85; }
@media (min-width: 768px) { .foot-legal { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ---- Scroll reveal: visible by default, site.js hides only what is below the fold ---- */
.reveal { transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-pending { opacity: 0; transform: translateY(26px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal.is-pending { opacity: 1; transform: none; transition: none; }
  .link-rail::after, .btn, .hdr-toggle span { transition: none; }
}
