/* ===================================================================
   Integrity Acquisitions — Main Stylesheet
   =================================================================== */

:root {
  --navy:       #0f1b2d;
  --navy-light: #1a2d47;
  --navy-mid:   #253a54;
  --slate:      #3d5a80;
  --stone:      #6b7b8d;
  --warm-gray:  #8a9aab;
  --sand:       #c9b99a;
  --sand-light: #ddd0b4;
  --cream:      #f8f5f0;
  --white:      #ffffff;
  --off-white:  #faf9f7;
  --warm-black: #0a0f16;

  --font-display: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Source Sans 3', 'Segoe UI', system-ui, sans-serif;

  --container: 1140px;
  --narrow:    740px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --radius: 6px;
  --shadow-sm: 0 1px 3px rgba(15, 27, 45, 0.06);
  --shadow-md: 0 4px 16px rgba(15, 27, 45, 0.1);
  --shadow-lg: 0 8px 32px rgba(15, 27, 45, 0.14);
}


/* ===== RESET & BASE ===== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--navy);
  background: var(--white);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p + p { margin-top: 1.25em; }

.container        { max-width: var(--container); margin: 0 auto; padding: 0 2rem; }
.container-narrow { max-width: var(--narrow);    margin: 0 auto; padding: 0 2rem; }


/* ===== SKIP LINK (accessibility) ===== */

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1.5rem;
  background: var(--navy);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}


/* ===== FOCUS STYLES ===== */

:focus-visible {
  outline: 2px solid var(--sand);
  outline-offset: 2px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}


/* ===== HEADER ===== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.4s var(--ease-out),
              box-shadow 0.4s var(--ease-out),
              backdrop-filter 0.4s var(--ease-out);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(15, 27, 45, 0.06);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--navy);
  color: var(--sand-light);
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.08em;
  border-radius: var(--radius);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy);
}

.nav-desktop {
  display: flex;
  gap: 2.25rem;
}

.nav-link {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--slate);
  transition: color 0.2s;
  position: relative;
}

.nav-link:hover,
.nav-link--active {
  color: var(--navy);
}

.nav-link--active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--sand);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 0 2rem 1.5rem;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
}

.nav-mobile.open { display: flex; }

.nav-mobile-link {
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--navy);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(15, 27, 45, 0.06);
}

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .nav-toggle  { display: flex; }
}


/* ===== HERO ===== */

.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(201, 185, 154, 0.12), transparent),
    radial-gradient(ellipse 50% 80% at 20% 80%, rgba(15, 27, 45, 0.03), transparent);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -80px;
  width: 400px;
  height: 400px;
  border: 1px solid rgba(201, 185, 154, 0.25);
  border-radius: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 8rem 2rem 4rem;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 2rem;
  padding-left: 2.5rem;
  position: relative;
}

.hero-badge::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 2rem;
  height: 1px;
  background: var(--sand);
}

.hero-title {
  font-size: clamp(2.8rem, 6.5vw, 4.8rem);
  color: var(--navy);
  margin-bottom: 1.5rem;
  max-width: 700px;
  line-height: 1.08;
}

.hero-sub {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: var(--slate);
  max-width: 540px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}


/* ===== BUTTONS ===== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
}

.btn-primary {
  background: var(--navy);
  color: var(--cream);
}

.btn-primary:hover {
  background: var(--navy-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid rgba(15, 27, 45, 0.2);
}

.btn-ghost:hover {
  border-color: var(--navy);
  background: rgba(15, 27, 45, 0.03);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
}

.btn-white:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.text-link {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1.5px solid var(--sand);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}

.text-link:hover {
  border-color: var(--navy);
}


/* ===== STRIP (3-col pillars) ===== */

.strip {
  padding: 5rem 0;
  background: var(--white);
  border-top: 1px solid rgba(15, 27, 45, 0.06);
  border-bottom: 1px solid rgba(15, 27, 45, 0.06);
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.strip-item {
  padding: 0 0.5rem;
}

.strip-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--sand);
  margin-bottom: 1rem;
  font-style: italic;
}

.strip-item h3 {
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}

.strip-item p {
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .strip-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}


/* ===== ABOUT PREVIEW ===== */

.about-preview {
  padding: 6rem 0;
  background: var(--off-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 1.25rem;
}

.section-label--light {
  color: var(--sand-light);
}

.about-left h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--navy);
}

.about-right p {
  color: var(--slate);
  font-size: 1.02rem;
}

.about-right .text-link {
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
}


/* ===== CRITERIA BANNER ===== */

.criteria-banner {
  padding: 6rem 0;
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.criteria-banner::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(201, 185, 154, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.criteria-inner {
  position: relative;
  z-index: 1;
}

.criteria-banner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  max-width: 620px;
  margin-bottom: 2rem;
  color: var(--cream);
}

.criteria-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2.5rem;
}

.tag {
  display: inline-block;
  padding: 0.5rem 1.1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--sand-light);
  letter-spacing: 0.01em;
}


/* ===== CTA ===== */

.cta {
  padding: 5rem 0;
  background: var(--cream);
}

.cta-inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.cta-inner h2 {
  margin-bottom: 1rem;
  color: var(--navy);
}

.cta-inner p {
  color: var(--slate);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}


/* ===== PAGE (inner pages) ===== */

.page-header {
  padding: 10rem 0 3.5rem;
  background: var(--cream);
}

.page-header h1 {
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.page-subtitle {
  font-size: 1.15rem;
  color: var(--slate);
  max-width: 540px;
}

.page-body {
  padding: 3.5rem 0 5rem;
}

.page-body h2 {
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: var(--navy);
}

.page-body h3 {
  font-size: 1.3rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--navy);
}

.page-body p {
  color: var(--slate);
  font-size: 1.02rem;
}

.page-body strong {
  color: var(--navy);
  font-weight: 600;
}

.page-body a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--sand);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}

.page-body a:hover {
  text-decoration-color: var(--navy);
}

.page-body ul,
.page-body ol {
  margin: 1.25rem 0;
  padding-left: 1.5rem;
  color: var(--slate);
}

.page-body li {
  margin-bottom: 0.5rem;
}

.page-body li::marker {
  color: var(--sand);
}

.page-body hr {
  border: none;
  border-top: 1px solid rgba(15, 27, 45, 0.08);
  margin: 2.5rem 0;
}

.page-body blockquote {
  border-left: 3px solid var(--sand);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--slate);
}


/* ===== FOOTER ===== */

.site-footer {
  background: var(--warm-black);
  color: rgba(255, 255, 255, 0.6);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.footer-logo .logo-mark {
  width: 32px;
  height: 32px;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--sand-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  border-radius: var(--radius);
}

.footer-logo .logo-text {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--white);
}

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-nav h4,
.footer-contact h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 1rem;
}

.footer-nav a,
.footer-contact a {
  display: block;
  text-decoration: none;
  font-size: 0.92rem;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s;
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: var(--white);
}

.footer-contact p {
  font-size: 0.92rem;
}

.footer-bottom {
  padding-top: 1.5rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.25);
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}


/* ===== ANIMATIONS ===== */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-badge { animation: fadeUp 0.8s var(--ease-out) 0.1s both; }
.hero-title { animation: fadeUp 0.8s var(--ease-out) 0.2s both; }
.hero-sub   { animation: fadeUp 0.8s var(--ease-out) 0.35s both; }
.hero-cta   { animation: fadeUp 0.8s var(--ease-out) 0.5s both; }


/* ===== REDUCED MOTION ===== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* ===== RESPONSIVE — SMALL SCREENS ===== */

@media (max-width: 480px) {
  .header-inner { padding: 1rem 1.25rem; }
  .hero-inner   { padding: 7rem 1.25rem 3rem; }
  .container,
  .container-narrow { padding: 0 1.25rem; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { text-align: center; }
  .page-header { padding: 8rem 0 2.5rem; }
}


/* ===== PRINT STYLES ===== */

@media print {
  .site-header,
  .site-footer,
  .nav-toggle,
  .nav-mobile,
  .cta,
  .hero-cta { display: none !important; }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  .hero {
    min-height: auto;
    background: none;
    padding: 2rem 0;
  }

  .hero::before,
  .hero::after { display: none; }

  a { text-decoration: underline; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 0.9em; }
}
