/* =========================================================================
   SkyView Partners LLC — Stylesheet
   -------------------------------------------------------------------------
   This one file controls the look of every page. It's organized top to
   bottom as: variables (colors/fonts) -> base elements -> layout ->
   components (header, footer, cards, etc.) -> page-specific bits ->
   responsive rules at the bottom.
   ========================================================================= */

:root{
  /* Colors — pulled from the SkyView Partners logo */
  --navy:        #102E46;   /* primary dark — headers, footer, text on light */
  --navy-2:      #163B5C;   /* slightly lighter navy, for dark-section cards */
  --navy-3:      #1E4A70;
  --steel:       #23679C;   /* accent blue, from the logo's compass mark */
  --steel-light: #7AA3C9;   /* muted steel, for text on dark backgrounds */
  --paper:       #F7F8FA;   /* off-white background */
  --paper-line:  #DDE3E9;   /* hairline borders on light backgrounds */
  --white:       #FFFFFF;
  --ink:         #12181E;   /* body text on light backgrounds */
  --ink-soft:    #4B5560;   /* secondary text on light backgrounds */

  /* Type */
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono:    'IBM Plex Mono', 'Courier New', monospace;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul, ol{ list-style: none; margin: 0; padding: 0; }
button{ font-family: inherit; cursor: pointer; }
h1, h2, h3, h4{ font-family: var(--display); font-weight: 600; line-height: 1.15; margin: 0; }
p{ margin: 0; }

/* Visible keyboard focus everywhere — required for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible{
  outline: 3px solid var(--steel);
  outline-offset: 3px;
}

/* Skip-to-content link: invisible until a keyboard user tabs to it */
.skip-link{
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--navy);
  color: var(--white);
  padding: 12px 20px;
  z-index: 1000;
  font-family: var(--mono);
  font-size: 14px;
}
.skip-link:focus{
  left: 16px;
  top: 16px;
}

.wrap{
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Small caps "eyebrow" label used above headings — always paired with a
   short vantage mark (▲) that echoes the compass needle in the logo. */
.eyebrow{
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
  display: flex;
  align-items: center;
  gap: 9px;
}
.eyebrow::before{
  content: "";
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 8px solid var(--steel);
}
.on-dark .eyebrow{ color: var(--steel-light); }
.on-dark .eyebrow::before{ border-bottom-color: var(--steel-light); }

/* ---------- Header / navigation ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(16, 46, 70, 0.97);
  backdrop-filter: blur(6px);
}
.nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}
.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.01em;
  flex-shrink: 0;
}
.brand img{
  width: 56px;
  height: 56px;
  border-radius: 50%;
}
.brand span{ color: var(--steel-light); }

.nav-links{
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14.5px;
  font-weight: 500;
  color: #C3CDD6;
}
.nav-links a{
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover,
.nav-links a[aria-current="page"]{
  color: var(--white);
  border-bottom-color: var(--steel-light);
}

.nav-contact{
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--mono);
  font-size: 13.5px;
  flex-shrink: 0;
}
.nav-contact a{
  color: var(--white);
  border-bottom: 1px solid #2E4B66;
  padding-bottom: 1px;
}
.nav-contact a:hover{ border-bottom-color: var(--steel-light); }

.nav-contact-mobile{ display: none; }

.nav-toggle{
  display: none;
  background: transparent;
  border: 1px solid #2E4B66;
  color: var(--white);
  padding: 9px 12px;
  font-size: 14px;
  align-items: center;
  gap: 8px;
}

/* ---------- Buttons ---------- */
.btn{
  display: inline-block;
  font-weight: 600;
  font-size: 14.5px;
  padding: 14px 26px;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-primary{
  background: var(--steel);
  color: var(--white);
}
.btn-primary:hover{ background: var(--navy-3); }
.btn-outline{
  border-color: #2E4B66;
  color: var(--white);
}
.btn-outline:hover{ border-color: var(--steel-light); }
.btn-outline-light{
  border-color: var(--paper-line);
  color: var(--ink);
}
.btn-outline-light:hover{ border-color: var(--steel); color: var(--steel); }

/* ---------- Hero (typographic — no stock photography) ---------- */
.hero{
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 88px 0 76px;
}
/* Subtle single-stroke skyline motif, echoing the logo — restrained, low
   opacity, decorative only (hidden from screen readers). */
.hero-skyline{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 140px;
  opacity: 0.16;
  pointer-events: none;
}
.hero-inner{ position: relative; z-index: 2; max-width: 880px; }
.hero .eyebrow{ margin-bottom: 22px; }
.hero h1{
  font-size: clamp(28px, 4.3vw, 46px);
  line-height: 1.18;
  margin-bottom: 22px;
}
.hero-sub{
  font-size: 18px;
  color: #C9D3DB;
  max-width: 620px;
  margin-bottom: 34px;
}
.hero-actions{ display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Section shell ---------- */
section{ padding: 84px 0; }
.section-head{ max-width: 680px; margin-bottom: 46px; }
.section-head h2{
  font-size: clamp(26px, 3vw, 38px);
  margin-top: 12px;
}
.section-head p{
  color: var(--ink-soft);
  font-size: 15.5px;
  margin-top: 14px;
  max-width: 560px;
}
.on-dark .section-head p{ color: #A9B7C3; }
.on-dark .section-head h2{ color: var(--white); }

/* Vantage-mark bullet list, used wherever we list what a client gets —
   reuses the same triangular mark as the eyebrow, tying content back to
   the brand mark rather than a generic bullet or checkmark icon. */
.vlist li{
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 15px;
  color: var(--ink-soft);
}
.vlist li::before{
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 7px solid var(--steel);
}
.on-dark .vlist li{ color: #B7C2CC; }

/* ---------- Cards: services, who-this-is-for ---------- */
.card-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--paper-line);
  border: 1px solid var(--paper-line);
}
.card{
  background: var(--white);
  padding: 32px 28px;
}
.card h3{
  font-size: 20px;
  margin-bottom: 10px;
}
.card p{
  font-size: 14.5px;
  color: var(--ink-soft);
}

/* ---------- Services (detailed) ---------- */
.service-block{
  padding: 44px 0;
  border-top: 1px solid var(--paper-line);
}
.service-block:last-child{ border-bottom: 1px solid var(--paper-line); }
.service-block h3{
  font-size: 26px;
  margin-bottom: 28px;
}
.service-cols{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.service-cols h4{
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 10px;
}
.service-cols p{ font-size: 14.5px; color: var(--ink-soft); }

/* ---------- Experience entries ---------- */
.exp-entry{
  padding: 36px 0;
  border-top: 1px solid var(--paper-line);
}
.exp-entry:last-child{ border-bottom: 1px solid var(--paper-line); }
.exp-head{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.exp-head h3{ font-size: 22px; }
.exp-scale{
  font-family: var(--mono);
  font-size: 13px;
  color: var(--steel);
  white-space: nowrap;
}
.exp-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.exp-grid h4{
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.exp-grid p{ font-size: 14.5px; }
.exp-role{
  font-size: 14px;
  color: var(--ink-soft);
  margin-top: 4px;
}
.exp-note{
  font-size: 13.5px;
  color: var(--ink-soft);
  font-style: italic;
  margin-top: 28px;
}

/* ---------- Differentiator (About / Home) ---------- */
.differentiator{
  background: var(--navy-2);
  color: var(--white);
  padding: 56px;
}
.differentiator p{
  font-size: 18px;
  line-height: 1.65;
  max-width: 760px;
  color: #DCE4EA;
}
.differentiator p + p{ margin-top: 18px; }

/* ---------- About page ---------- */
.about-layout{
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
}
.about-photo img{
  width: 100%;
  height: auto;
  border: 1px solid var(--paper-line);
}
.about-copy{ max-width: 640px; }
.about-copy p{
  font-size: 16.5px;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.about-copy p:first-child{
  font-size: 19px;
  color: var(--ink);
}

/* ---------- Contact page ---------- */
.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.contact-method{
  padding: 26px 0;
  border-top: 1px solid var(--paper-line);
}
.contact-method:last-child{ border-bottom: 1px solid var(--paper-line); }
.contact-method h4{
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 8px;
}
.contact-method a, .contact-method p{
  font-size: 18px;
  font-family: var(--display);
}
.contact-when li{
  padding: 14px 0;
  border-top: 1px solid var(--paper-line);
  font-size: 15px;
  color: var(--ink-soft);
  padding-left: 22px;
  position: relative;
}
.contact-when li:last-child{ border-bottom: 1px solid var(--paper-line); }
.contact-when li::before{
  content: "";
  position: absolute;
  left: 0; top: 21px;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 7px solid var(--steel);
}

/* ---------- Footer ---------- */
.site-footer{
  background: var(--navy);
  color: #8FA0AE;
  border-top: 1px solid #1E3A54;
}
.foot-inner{
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 34px 0;
}
.foot-brand{
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-family: var(--display);
  font-size: 16px;
}
.foot-brand img{ width: 44px; height: 44px; border-radius: 50%; }
.foot-links{
  display: flex;
  gap: 22px;
  font-size: 13.5px;
  font-family: var(--mono);
}
.foot-links a:hover{ color: var(--white); }
.foot-copy{
  font-size: 12.5px;
  font-family: var(--mono);
  padding-bottom: 28px;
  color: #6B7C8A;
}

/* ---------- 404 page ---------- */
.error-page{
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 90px 28px;
}
.error-page h1{
  font-size: clamp(48px, 8vw, 88px);
  color: var(--navy);
}
.error-page p{
  color: var(--ink-soft);
  font-size: 16px;
  margin: 16px 0 28px;
}

/* =========================================================================
   Responsive rules
   ========================================================================= */
@media (max-width: 900px){
  .nav-links, .nav-contact{ display: none; }
  .nav-toggle{ display: inline-flex; }

  /* Mobile menu panel */
  #primary-nav.is-open{
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--navy);
    padding: 10px 28px 26px;
    gap: 4px;
    border-top: 1px solid #1E3A54;
  }
  #primary-nav.is-open a{
    padding: 12px 0;
    font-size: 16px;
    color: var(--white);
    border-bottom: 1px solid #1E3A54;
  }
  #primary-nav.is-open .nav-contact-mobile{
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 14px;
    font-family: var(--mono);
    font-size: 14px;
  }
  #primary-nav.is-open .nav-contact-mobile a{ color: var(--steel-light); border-bottom: none; }

  .card-grid{ grid-template-columns: 1fr; }
  .service-block{ grid-template-columns: 1fr; gap: 20px; }
  .service-cols{ grid-template-columns: 1fr; }
  .exp-grid{ grid-template-columns: 1fr; }
  .about-layout{ grid-template-columns: 1fr; }
  .about-photo{ max-width: 220px; }
  .contact-grid{ grid-template-columns: 1fr; gap: 10px; }
  .differentiator{ padding: 34px 24px; }
  .foot-inner{ flex-direction: column; align-items: flex-start; }
  .foot-links{ flex-wrap: wrap; row-gap: 10px; }
}

@media (max-width: 560px){
  section{ padding: 60px 0; }
  .hero{ padding: 64px 0 52px; }
  .differentiator p{ font-size: 16px; }
}

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