/* Stanley & Associates - shared styles */

:root {
  --navy: #1a2747;
  --navy-deep: #131e3a;
  --snow: #f4f7fa;
  --snow-warm: #ebeef2;
  --silver: #8a96a7;
  --silver-light: #b8c1ce;
  --rule: #d4dae3;

  --font-display: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body: 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --max-width: 1280px;
  --gutter: clamp(1.5rem, 4vw, 4rem);
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--navy);
  background: var(--snow);
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.65;
}

img, svg {
  max-width: 100%;
  display: block;
}

/* ============ NAV ============ */
.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 2rem var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav--dark { color: var(--snow); }

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.nav__logo svg {
  width: 38px;
  height: 38px;
}

.nav__logo-text {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
}

@media (max-width: 720px) {
  .nav { padding: 1.25rem var(--gutter); }
  .nav__logo-text { display: none; }
  .nav__links { gap: 1.5rem; font-size: 0.7rem; }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--navy);
  overflow: hidden;
  color: var(--snow);
}

.hero__image {
  position: absolute;
  inset: 0;
  background-image: url('assets/hero.png');
  background-size: cover;
  background-position: center right;
  opacity: 0.85;
}

.hero__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    var(--navy-deep) 0%,
    rgba(26, 39, 71, 0.92) 25%,
    rgba(26, 39, 71, 0.55) 55%,
    rgba(26, 39, 71, 0.25) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 9rem var(--gutter) 6rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--silver-light);
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--silver);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.05;
  font-weight: 300;
  letter-spacing: -0.02em;
  max-width: 18ch;
  margin-bottom: 2rem;
}

.hero__title em {
  font-style: normal;
  font-weight: 600;
}

.hero__lede {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.6;
  max-width: 50ch;
  color: var(--snow-warm);
  font-weight: 300;
}

.hero__meta {
  position: absolute;
  bottom: 2.5rem;
  left: var(--gutter);
  right: var(--gutter);
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--silver-light);
  font-weight: 500;
}

@media (max-width: 720px) {
  .hero__meta { flex-direction: column; gap: 0.5rem; align-items: flex-start; }
}

/* ============ SECTIONS ============ */
.section {
  padding: 7rem var(--gutter);
  max-width: var(--max-width);
  margin: 0 auto;
}

.section--narrow {
  max-width: 880px;
}

.section--dark {
  background: var(--navy);
  color: var(--snow);
  max-width: none;
}

.section--dark .section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 7rem var(--gutter);
}

.section__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--silver);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section__eyebrow::before {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--silver);
}

.section--dark .section__eyebrow { color: var(--silver-light); }

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.1;
  font-weight: 300;
  letter-spacing: -0.015em;
  margin-bottom: 2rem;
  max-width: 24ch;
}

.section__title em {
  font-style: normal;
  font-weight: 600;
}

.section__lede {
  font-size: 1.15rem;
  line-height: 1.65;
  font-weight: 300;
  color: var(--navy);
  max-width: 60ch;
}

.section--dark .section__lede { color: var(--snow-warm); }

/* ============ INTRO BLOCK ============ */
.intro {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.intro__label {
  font-size: 0.75rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--silver);
  padding-top: 0.5rem;
  border-top: 1px solid var(--rule);
}

.intro__body p {
  font-size: 1.2rem;
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.intro__body p:last-child { margin-bottom: 0; }

@media (max-width: 720px) {
  .intro { grid-template-columns: 1fr; gap: 1.5rem; }
  .intro__body p { font-size: 1.05rem; }
}

/* ============ SERVICES GRID ============ */
.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 4rem;
  border-top: 1px solid var(--rule);
}

.section--dark .services { border-top-color: rgba(244, 247, 250, 0.15); }

.service {
  padding: 3rem 2.5rem 3rem 0;
  border-bottom: 1px solid var(--rule);
  position: relative;
}

.section--dark .service { border-bottom-color: rgba(244, 247, 250, 0.15); }

.service:nth-child(even) {
  padding-left: 2.5rem;
  border-left: 1px solid var(--rule);
}

.section--dark .service:nth-child(even) { border-left-color: rgba(244, 247, 250, 0.15); }

.service__number {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  font-weight: 500;
  color: var(--silver);
  margin-bottom: 1.25rem;
  font-feature-settings: 'tnum';
}

.service__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.service__body {
  font-size: 0.98rem;
  line-height: 1.6;
  font-weight: 300;
  color: var(--navy);
  opacity: 0.85;
}

.section--dark .service__body { color: var(--snow-warm); opacity: 0.85; }

@media (max-width: 720px) {
  .services { grid-template-columns: 1fr; }
  .service { padding: 2.5rem 0; }
  .service:nth-child(even) { padding-left: 0; border-left: none; }
}

/* ============ DETAILED SERVICES LIST (services.html) ============ */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  padding: 4rem 0;
  border-bottom: 1px solid var(--rule);
}

.service-detail:last-child { border-bottom: none; }

.service-detail__header {
  position: sticky;
  top: 2rem;
}

.service-detail__number {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  font-weight: 500;
  color: var(--silver);
  margin-bottom: 0.75rem;
}

.service-detail__title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.service-detail__body p {
  font-size: 1.05rem;
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 1.25rem;
}

.service-detail__body ul {
  list-style: none;
  margin-top: 1.5rem;
}

.service-detail__body li {
  padding: 0.75rem 0;
  border-top: 1px solid var(--rule);
  font-size: 0.98rem;
  line-height: 1.5;
  font-weight: 400;
}

.service-detail__body li:last-child { border-bottom: 1px solid var(--rule); }

@media (max-width: 720px) {
  .service-detail { grid-template-columns: 1fr; gap: 1.5rem; padding: 2.5rem 0; }
  .service-detail__header { position: static; }
  .service-detail__title { font-size: 1.6rem; }
}

/* ============ FOOTER ============ */
.footer {
  background: var(--navy);
  color: var(--snow);
  padding: 5rem var(--gutter) 2.5rem;
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer__brand-mark {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.footer__brand-mark svg {
  width: 36px;
  height: 36px;
}

.footer__brand-mark-text {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer__brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  font-weight: 300;
  color: var(--silver-light);
  max-width: 36ch;
}

.footer__col-title {
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--silver);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.footer__col ul {
  list-style: none;
}

.footer__col li {
  font-size: 0.95rem;
  line-height: 1.8;
  font-weight: 300;
  color: var(--snow-warm);
}

.footer__col .contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer__col .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.55;
}

.footer__col .contact-item__icon {
  flex-shrink: 0;
  width: 22px;
  height: 15px;
  margin-top: 0.35rem;
  display: block;
}

.footer__col .contact-item__icon svg {
  width: 22px;
  height: 15px;
  border-radius: 1px;
  display: block;
}

.footer__bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(244, 247, 250, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--silver);
  font-weight: 400;
}

@media (max-width: 720px) {
  .footer__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer__bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

/* ============ PAGE HEADER (non-hero pages) ============ */
.page-header {
  background: var(--navy);
  color: var(--snow);
  padding: 11rem var(--gutter) 5rem;
}

.page-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.page-header__eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--silver-light);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.page-header__eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--silver);
}

.page-header__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.05;
  font-weight: 300;
  letter-spacing: -0.02em;
  max-width: 20ch;
  margin-bottom: 1.5rem;
}

.page-header__title em {
  font-style: normal;
  font-weight: 600;
}

.page-header__lede {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.6;
  max-width: 55ch;
  font-weight: 300;
  color: var(--snow-warm);
}

/* ============ DISCLAIMER PAGE ============ */
.disclaimer-content {
  max-width: 720px;
  margin: 0 auto;
}

.disclaimer-content h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin-top: 3.5rem;
  margin-bottom: 1.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
  color: var(--navy);
}

.disclaimer-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.disclaimer-content p {
  font-size: 1rem;
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 1.25rem;
  color: var(--navy);
}

.disclaimer-content ul {
  margin: 1rem 0 1.5rem 0;
  padding-left: 1.25rem;
}

.disclaimer-content li {
  font-size: 1rem;
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 0.5rem;
}

.disclaimer-content strong {
  font-weight: 600;
  color: var(--navy);
}

.disclaimer-content .meta {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--silver);
  margin-bottom: 3rem;
  font-style: italic;
}

.disclaimer-content .fraud-callout {
  background: var(--navy);
  color: var(--snow);
  padding: 2rem;
  margin: 2rem 0 3rem 0;
  border-left: 4px solid var(--silver);
}

.disclaimer-content .fraud-callout strong { color: var(--snow); }

.disclaimer-content .fraud-callout p {
  color: var(--snow-warm);
  margin-bottom: 0;
}

/* ============ ABOUT PAGE ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 4rem;
}

.about-card {
  border-top: 1px solid var(--rule);
  padding-top: 2rem;
}

.about-card__name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  margin-bottom: 0.25rem;
}

.about-card__role {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--silver);
  margin-bottom: 1.5rem;
}

.about-card__body {
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 300;
}

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

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 5rem;
  padding-top: 4rem;
  border-top: 1px solid var(--rule);
}

.value__num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--silver);
  margin-bottom: 1rem;
  font-feature-settings: 'tnum';
}

.value__title {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.value__body {
  font-size: 0.95rem;
  line-height: 1.65;
  font-weight: 300;
}

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