/* Crest Point Cleaning — shared base styles for all satellite pages.
   Load via <link rel="stylesheet" href="/assets/shared.css">
   Keep page-specific layout (hero image, grids, article widths) inline per page. */

:root {
  --navy:  #0f1b3c;
  --navy8: #1a2744;
  --gold:  #a8854c;
  --gold6: #8a6c39;
  --ink:   #39414f;
  --muted: #5b6478;
  --mist:  #efe9dc;
  --line:  #e0d8c8;
  /* legacy aliases — existing var(--teal/--teal6) references still resolve */
  --teal:  #a8854c;
  --teal6: #8a6c39;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  color: #16243a;
  line-height: 1.6;
  background: #f5f1e8;
}

a { color: var(--gold6); text-decoration: none; }

.serif { font-family: 'Fraunces', Georgia, serif; }

.wrap      { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

header {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  z-index: 10;
}

header .wrap,
header .wrap-wide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

/* Brand lockup — matches the homepage emblem + two-line wordmark */
.brand { display: flex; align-items: center; gap: 10px; }

.brand-emblem {
  width: 40px; height: 40px; border-radius: 50%;
  background: #0f1b3c;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.brand-name { display: flex; flex-direction: column; line-height: 1.05; }

.brand-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 20px; font-weight: 600; color: #0f1b3c;
  letter-spacing: -.01em;
}

.brand-sub {
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: #344d80; font-weight: 500; margin-top: 2px;
}

.site-nav { display: flex; align-items: center; gap: 30px; }

.site-nav a {
  position: relative;
  color: #2a3e68;
  font-size: 14px;
  font-weight: 500;
  transition: color .2s;
}

.site-nav a:hover { color: #a8854c; }

.site-nav a.active { color: #0f1b3c; }
.site-nav a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -8px;
  height: 2px; background: #a8854c;
}

.eyebrow {
  font-family: 'Fraunces', serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .13em;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}

@media (max-width: 820px) { .site-nav { display: none; } }

.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 15px;
}

.btn:hover { background: var(--gold6); color: #fff; }

.btn-primary {
  display: inline-block;
  background: #16243a;
  color: #f5f1e8;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 4px;
  font-size: 14px;
  letter-spacing: .02em;
  box-shadow: 0 6px 22px rgba(22, 36, 58, 0.16);
  transition: all .2s;
}

.btn-primary:hover {
  background: #0f1b3c;
  color: #f5f1e8;
  transform: translateY(-1px);
  box-shadow: 0 8px 26px rgba(22, 36, 58, 0.24);
}

.pill {
  display: inline-block;
  background: rgba(168, 133, 76, .14);
  color: #a89068;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
  letter-spacing: .04em;
}

.mist { background: var(--mist); }

details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 16px 20px;
  margin-bottom: 8px;
}

summary { font-weight: 600; cursor: pointer; }
details p { color: var(--muted); margin: 12px 0 0; }

.cta {
  background: linear-gradient(180deg, var(--navy8), var(--navy));
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 48px 24px;
  margin: 24px 0;
}

.cta h2 { font-size: 34px; margin: 0 0 10px; }
.cta p  { color: #c9d3e6; margin: 0 0 24px; }

footer {
  background: var(--navy);
  color: #9fb0c9;
  font-size: 14px;
  padding: 40px 0;
}

footer a      { color: #c9d3e6; margin-right: 14px; display: inline-block; margin-bottom: 6px; }
footer strong { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .btn, .btn-primary { transition: none; }
}
