/* ==========================================================================
   Aim Point Innovation — site styles
   Design direction 1A "Institutional Authority". All design tokens live here.
   ========================================================================== */

:root {
  /* Brand */
  --navy:          #283891;  /* primary */
  --navy-deep:     #12163a;  /* hero / mission card */
  --navy-footer:   #0d1130;
  --red:           #ED1B22;  /* accent — used sparingly */
  --red-light:     #ED6B70;  /* footer portal link */
  --red-soft:      #ffb3b6;  /* vision eyebrow */

  /* Ink & text */
  --ink:           #12152b;
  --body:          #4b5170;
  --body-2:        #3a3f57;
  --muted:         #6b7192;
  --mono-muted:    #9aa0c0;

  /* On-navy text */
  --on-navy:       #d3d8ee;
  --on-navy-muted: #aeb6de;
  --on-navy-mono:  #c2c9ec;

  /* Surfaces & lines */
  --bg-light:      #F4F5F9;
  --hairline:      #E4E7F0;
  --input-border:  #D3D7E4;
  --white:         #ffffff;

  /* Type */
  --font-display: 'Oswald', sans-serif;
  --font-body:    'Public Sans', sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;

  /* Shadows */
  --shadow-elevated: 0 30px 60px -30px rgba(20,25,60,0.35);
  --shadow-red:      0 12px 30px -8px rgba(237,27,34,0.5);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--red); }
img { max-width: 100%; }

/* ---- Layout ------------------------------------------------------------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

.section        { padding-top: 72px; padding-bottom: 72px; }
.section--tight { padding-top: 48px; padding-bottom: 40px; }

/* ---- Eyebrow / mono labels --------------------------------------------- */
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 22px;
}
.eyebrow__bar { width: 44px; height: 3px; background: var(--red); flex: none; }
.eyebrow__text {
  font-family: var(--font-mono);
  font-size: 12.5px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--on-navy-muted);
}

/* Standalone mono label (light backgrounds) */
.label {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--red);
  margin-bottom: 14px;
}

/* ---- Headings ----------------------------------------------------------- */
.display {
  font-family: var(--font-display);
  font-weight: 600; text-transform: uppercase;
  color: var(--ink); margin: 0; line-height: 1.05;
}
.display--h1  { font-size: 62px; line-height: 1.02; color: var(--white); }
.display--hero{ font-size: 68px; line-height: 1.02; color: var(--white); }
.display--h2  { font-size: 40px; }
.display--h3  { font-size: 23px; color: var(--navy); }

.lead { font-size: 18px; line-height: 1.6; color: var(--on-navy); margin: 0; }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-block; font-weight: 600; font-size: 15px;
  padding: 16px 30px; border-radius: 4px; letter-spacing: 0.02em;
  cursor: pointer; border: none; white-space: nowrap;
}
.btn--red     { background: var(--red); color: var(--white); }
.btn--red:hover{ color: var(--white); opacity: 0.92; }
.btn--outline { border: 1px solid rgba(255,255,255,0.35); color: var(--white); background: transparent; }
.btn--outline:hover { color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn--lg      { font-size: 17px; font-weight: 700; padding: 20px 40px; }
.btn--glow    { box-shadow: var(--shadow-red); }
.btn--cta     { font-size: 16px; padding: 18px 34px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hairline);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; padding-bottom: 16px;
}
.logo img { height: 48px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 32px; font-weight: 600; font-size: 14.5px; }
.nav a { color: var(--ink); }
.nav a:hover { color: var(--red); }
.nav a.active { color: var(--red); }
.nav a.nav__contact,
.nav a.nav__contact:hover {
  background: var(--navy); color: var(--white);
  padding: 11px 22px; border-radius: 4px;
}
.nav-toggle { display: none; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; background: var(--navy-deep); overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0;
  background-image: url('assets/hero-compass.jpg');
  background-size: cover; background-position: center right;
  opacity: 0.28; filter: grayscale(1) contrast(1.1);
}
.hero__bg--faint { opacity: 0.22; }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg,#12163a 34%,rgba(18,22,58,0.55) 70%,rgba(40,56,145,0.35) 100%);
}
.hero__overlay--careers {
  background: linear-gradient(100deg,#12163a 40%,rgba(40,56,145,0.4) 100%);
}
.hero__inner { position: relative; padding: 110px 32px 104px; }
.hero__content { max-width: 820px; }
.hero__content p { font-size: 19px; line-height: 1.6; color: var(--on-navy); margin: 0 0 38px; max-width: 640px; }
.hero__actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.hero h1 { margin: 0 0 24px; }

/* Simple (flat) page hero — About / Leadership / Contact */
.page-hero { background: var(--navy-deep); }
.page-hero__inner { padding: 76px 32px 72px; }
.page-hero h1 { margin: 0; }
.page-hero h1.has-sub { margin: 0 0 20px; }
.page-hero p { font-size: 18px; line-height: 1.6; color: var(--on-navy); margin: 0; max-width: 680px; }

.portal-note { font-family: var(--font-mono); font-size: 13px; color: var(--on-navy-muted); }

/* ==========================================================================
   Credentials strip
   ========================================================================== */
.credentials { background: var(--navy); }
.credentials__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap; padding: 26px 32px;
}
.credentials__title {
  font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--white); font-weight: 500; font-size: 18px;
}
.credentials__items {
  display: flex; gap: 36px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.14em;
  color: var(--on-navy-mono); text-transform: uppercase;
}

/* ==========================================================================
   Two-column text blocks (Intro / Legacy)
   ========================================================================== */
.split { display: grid; gap: 56px; align-items: start; }
.split--intro  { grid-template-columns: 0.9fr 1.3fr; }
.split--legacy { grid-template-columns: 0.8fr 1.2fr; }
.split__body { font-size: 17.5px; line-height: 1.68; color: var(--body); margin: 0; padding-top: 6px; }
.split__body--about p { font-size: 18px; line-height: 1.7; color: var(--body-2); margin: 0 0 22px; }
.split__body--about p:last-child { margin-bottom: 0; }
.split .display { color: var(--ink); }

/* Section header with inline label + heading */
.section-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 44px; }
.section-head .label { margin-bottom: 0; font-weight: 600; }
.section-head .display { font-size: 38px; }

/* ==========================================================================
   Capabilities grid (bordered 2x2)
   ========================================================================== */
.grid-bordered {
  display: grid; grid-template-columns: repeat(2,1fr);
  border: 1px solid var(--hairline); border-radius: 8px; overflow: hidden;
}
.grid-bordered__cell { padding: 38px; }
.grid-bordered__cell--tr { border-right: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.grid-bordered__cell--tl { border-bottom: 1px solid var(--hairline); }
.grid-bordered__cell--br { border-right: 1px solid var(--hairline); }
.grid-bordered__index { font-family: var(--font-mono); font-size: 12px; color: var(--mono-muted); margin-bottom: 14px; }
.grid-bordered__cell h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 23px; color: var(--navy); margin: 0 0 12px; font-weight: 600; }
.grid-bordered__cell p { font-size: 15.5px; line-height: 1.65; color: var(--body); margin: 0; }

/* Stats (3-cell bordered) */
.stats { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--hairline); border-radius: 8px; overflow: hidden; }
.stats__cell { padding: 40px; }
.stats__cell + .stats__cell { border-left: 1px solid var(--hairline); }
.stats__num { font-family: var(--font-display); font-size: 54px; font-weight: 600; color: var(--navy); line-height: 1; }
.stats__num--red { color: var(--red); }
.stats__label { font-size: 14px; color: var(--muted); margin-top: 10px; }

/* ==========================================================================
   Mission / Vision cards
   ========================================================================== */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.mv-card { border-radius: 8px; padding: 48px; }
.mv-card--mission { background: var(--navy-deep); }
.mv-card--vision  { background: var(--navy); }
.mv-card__label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 18px; }
.mv-card--mission .mv-card__label { color: var(--red); }
.mv-card--vision  .mv-card__label { color: var(--red-soft); }
.mv-card p { font-family: var(--font-display); font-weight: 400; font-size: 26px; line-height: 1.32; color: var(--white); margin: 0; text-transform: uppercase; }

/* ==========================================================================
   Pillars
   ========================================================================== */
.band-light { background: var(--bg-light); border-top: 1px solid var(--hairline); }
.centered-head { text-align: center; margin-bottom: 44px; }
.centered-head .label { margin-bottom: 12px; }
.centered-head .display { font-size: 34px; }
.cards-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.card {
  background: var(--white); border: 1px solid var(--hairline);
  border-radius: 8px; padding: 34px;
}
.card--accent-red  { border-top: 3px solid var(--red); }
.card--accent-navy { border-top: 3px solid var(--navy); }
.card--light-bg    { background: var(--bg-light); }
.card h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 22px; color: var(--navy); margin: 0 0 10px; font-weight: 600; }
.card--sm h3 { font-size: 21px; }
.card p { font-size: 15px; line-height: 1.6; color: var(--body); margin: 0; }

/* ==========================================================================
   CTA bands
   ========================================================================== */
.cta { position: relative; background: var(--navy); overflow: hidden; }
.cta--deep { background: var(--navy); }
.cta__inner {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap; padding: 64px 32px;
}
.cta__inner--tall { padding: 80px 32px; }
.cta__watermark {
  position: absolute; top: -40px; right: -20px;
  font-family: var(--font-display); font-weight: 700; font-size: 200px;
  color: rgba(255,255,255,0.05); text-transform: uppercase; line-height: 1;
  pointer-events: none;
}
.cta h2 {
  font-family: var(--font-display); font-weight: 600; font-size: 34px;
  text-transform: uppercase; color: var(--white); margin: 0; max-width: 620px; line-height: 1.06;
}
.cta__inner--tall h2 { font-size: 42px; max-width: 640px; line-height: 1.05; }
.cta__label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.2em; color: var(--red-soft); text-transform: uppercase; margin-bottom: 14px; }

/* Centered portal band (Careers) */
.portal-band { position: relative; background: var(--navy); border-radius: 12px; overflow: hidden; padding: 64px 48px; }
.portal-band__watermark {
  position: absolute; top: -40px; right: -10px;
  font-family: var(--font-display); font-weight: 700; font-size: 200px;
  color: rgba(255,255,255,0.06); text-transform: uppercase; line-height: 1; pointer-events: none;
}
.portal-band__content { position: relative; text-align: center; max-width: 680px; margin: 0 auto; }
.portal-band__content h2 { font-family: var(--font-display); font-weight: 600; font-size: 40px; text-transform: uppercase; color: var(--white); margin: 0 0 16px; line-height: 1.06; }
.portal-band__content p { font-size: 17px; line-height: 1.6; color: var(--on-navy); margin: 0 0 32px; }

/* ==========================================================================
   Leadership rows
   ========================================================================== */
.leaders { display: flex; flex-direction: column; gap: 36px; }
.leader { display: grid; gap: 44px; align-items: center; border: 1px solid var(--hairline); border-radius: 10px; overflow: hidden; }
.leader--photo-left  { grid-template-columns: 300px 1fr; }
.leader--photo-right { grid-template-columns: 1fr 300px; }
.leader__photo { align-self: stretch; min-height: 340px; background: var(--navy-deep) center top/cover no-repeat; }
.leader__text { padding: 40px 44px; }
.leader--photo-left  .leader__text { padding-left: 0; }
.leader--photo-right .leader__text { padding-right: 0; }
.leader__role { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em; color: var(--red); text-transform: uppercase; margin-bottom: 10px; }
.leader__name { font-family: var(--font-display); font-weight: 600; font-size: 34px; color: var(--ink); margin: 0 0 16px; text-transform: uppercase; }
.leader__bio { font-size: 16.5px; line-height: 1.7; color: var(--body-2); margin: 0; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
.contact-details h2 { font-family: var(--font-display); font-weight: 600; font-size: 32px; text-transform: uppercase; color: var(--ink); margin: 0 0 32px; line-height: 1.08; }
.contact-details .label { color: var(--red); }
.detail-blocks { display: flex; flex-direction: column; gap: 26px; }
.detail { border-left: 3px solid var(--navy); padding-left: 20px; }
.detail--careers { border-left-color: var(--red); }
.detail__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; color: var(--mono-muted); text-transform: uppercase; margin-bottom: 6px; }
.detail__value { font-size: 19px; font-weight: 600; color: var(--navy); }
.detail--careers .detail__value { color: var(--red); }

.form-card { background: var(--bg-light); border: 1px solid var(--hairline); border-radius: 12px; padding: 44px; }
.form { display: flex; flex-direction: column; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.form input, .form textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--input-border);
  border-radius: 6px; font-size: 15px; background: var(--white);
  font-family: var(--font-body);
}
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--navy); }
.form ::placeholder { color: var(--mono-muted); }
.form button { padding: 16px; border-radius: 6px; }
.form-thankyou { text-align: center; padding: 40px 12px; }
.form-thankyou__title { font-family: var(--font-display); font-size: 28px; text-transform: uppercase; color: var(--navy); margin-bottom: 12px; font-weight: 600; }
.form-thankyou p { font-size: 16px; color: var(--body); line-height: 1.6; margin: 0; }
.is-hidden { display: none; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-footer); }
.site-footer__inner { padding: 52px 32px 40px; }
.site-footer__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.site-footer__brand { max-width: 340px; }
.site-footer__brand img { height: 54px; width: auto; margin-bottom: 18px; }
.site-footer__brand p { color: var(--mono-muted); font-size: 14px; line-height: 1.6; margin: 0; }
.site-footer__cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col__head { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; color: var(--muted); text-transform: uppercase; margin-bottom: 4px; }
.footer-col a { color: var(--on-navy); font-size: 14.5px; }
.footer-col a:hover { color: var(--red); }
.footer-col a.portal { color: var(--red-light); font-weight: 600; }
.site-footer__bottom { padding-top: 24px; color: var(--muted); font-size: 12.5px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.site-footer__bottom .mono { font-family: var(--font-mono); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .display--hero { font-size: 48px; }
  .display--h1   { font-size: 44px; }
  .display--h2, .section-head .display, .centered-head .display,
  .cta h2, .cta__inner--tall h2, .portal-band__content h2 { font-size: 30px; }

  .split, .split--intro, .split--legacy,
  .duo, .cards-3, .stats, .grid-bordered,
  .contact-grid, .form__row { grid-template-columns: 1fr; }

  .stats__cell + .stats__cell { border-left: none; border-top: 1px solid var(--hairline); }
  .grid-bordered__cell { border-right: none !important; }
  .grid-bordered__cell:not(:last-child) { border-bottom: 1px solid var(--hairline) !important; }

  .leader, .leader--photo-left, .leader--photo-right { grid-template-columns: 1fr; }
  .leader__photo { min-height: 260px; }
  .leader--photo-right .leader__photo { order: -1; }
  .leader__text,
  .leader--photo-left .leader__text,
  .leader--photo-right .leader__text { padding: 32px; }

  .hero__inner { padding: 72px 32px 68px; }
  .cta__watermark, .portal-band__watermark { font-size: 130px; }

  /* Mobile nav: hairline-wrapped links */
  .nav { gap: 18px; font-size: 13.5px; flex-wrap: wrap; justify-content: flex-end; }
}

@media (max-width: 560px) {
  .display--hero { font-size: 38px; }
  .container, .hero__inner, .page-hero__inner, .credentials__inner,
  .cta__inner, .site-header__inner, .site-footer__inner { padding-left: 20px; padding-right: 20px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { text-align: center; }
  .nav { gap: 14px; }
}
