/* ============================================================
   ARC3 Solutions — brand tokens
   Palette, type, and spacing per the approved ARC3 brand guide.
   ============================================================ */
:root {
  /* Color */
  --harbor-navy: #1C3A52;
  --navy-deep:   #122739;
  --clay:        #C25E33;
  --deep-clay:   #934420; /* accent text on light — meets WCAG AA */
  --clay-tint:   #F3E1D6;
  --ink:         #1E2329;
  --slate:       #5C6B78;
  --paper:       #F6F2EB;
  --surface:     #FCFAF6;
  --line:        #E3DDD2;

  /* Type */
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans:  "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Layout */
  --maxw: 1080px;
  --gap:  clamp(1rem, 2.5vw, 2rem);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 1.0625rem; /* ~17px */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--deep-clay); text-underline-offset: 3px; }
a:hover { color: var(--clay); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--harbor-navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

/* ---------- Layout helpers ---------- */
.wrap { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: "";
  width: 1.4rem;
  height: 2px;
  background: var(--clay); /* the one clay accent per section */
  display: inline-block;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 242, 235, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}
.site-header .logo img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.9rem; }
.nav a:not(.btn) {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--harbor-navy);
  text-decoration: none;
}
.nav a:not(.btn):hover { color: var(--deep-clay); }
.nav .btn { padding: 0.55rem 1.1rem; }
.nav-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  padding: 0.85rem 1.7rem;
  border-radius: 6px;
  border: 1.5px solid var(--harbor-navy);
  background: var(--harbor-navy);
  color: var(--paper);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
}
.btn:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: var(--paper); }
.btn.btn-ghost {
  background: transparent;
  color: var(--harbor-navy);
}
.btn.btn-ghost:hover { background: var(--harbor-navy); color: var(--paper); }

/* ---------- Hero ---------- */
.hero { padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5.5rem); }
.hero h1 {
  font-size: clamp(2.3rem, 5.4vw, 3.8rem);
  max-width: 42rem;
  margin-bottom: 0.6em;
}
.hero .lead {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: var(--slate);
  max-width: 42rem;
  margin: 0 0 2rem;
  line-height: 1.55;
}
.hero .accent-word {
  position: relative;
  white-space: nowrap;
}
.hero .accent-word::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.06em;
  height: 0.14em;
  background: var(--clay);
  opacity: 0.85;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* ---------- Services / cards ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 2.5rem;
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.8rem 1.7rem;
}
.card h3 { font-size: 1.3rem; margin-bottom: 0.4em; }
.card p { margin: 0; color: var(--ink); }
.card .num {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--slate);
  font-size: 0.95rem;
  display: block;
  margin-bottom: 0.9rem;
}

/* ---------- Approach / values ---------- */
.approach-list {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem 2.6rem;
}
@media (max-width: 560px) {
  .approach-list { grid-template-columns: 1fr; }
}
.approach-list li { border-top: 1px solid var(--line); padding-top: 1.1rem; }
.approach-list h3 { font-size: 1.18rem; margin-bottom: 0.35em; }
.approach-list p { margin: 0; color: var(--slate); }

/* ---------- Dark band (honest counsel) ---------- */
.band-dark {
  background: var(--harbor-navy);
  color: var(--paper);
}
.band-dark h2 { color: var(--paper); }
.band-dark .eyebrow { color: #A9BAC6; }
.band-dark .statement {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  line-height: 1.3;
  max-width: 24ch;
  margin: 0 0 1.4rem;
}
.band-dark p { color: #D6DEE4; max-width: 62ch; font-size: 1.08rem; }

/* ---------- Who we are ---------- */
.people {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.6rem;
  margin-top: 2.4rem;
}
.person { border-top: 2px solid var(--harbor-navy); padding-top: 1rem; }
.person .name { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; color: var(--harbor-navy); }
.person .role { color: var(--slate); font-size: 0.95rem; }

/* ---------- Contact ---------- */
.contact-inner { max-width: 60ch; }
.contact-inner h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.contact-inner p { font-size: 1.15rem; color: var(--slate); margin-bottom: 2rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: #B9C4CD;
  padding: 3rem 0 2.2rem;
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; align-items: flex-start; }
.site-footer img { height: 30px; width: auto; }
.site-footer a { color: #D6DEE4; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-meta { font-size: 0.88rem; color: #8FA0AC; max-width: 40ch; }
.footer-links { display: flex; gap: 1.4rem; font-size: 0.92rem; }

/* ---------- Motion / a11y ---------- */
:focus-visible { outline: 3px solid var(--clay); outline-offset: 2px; border-radius: 3px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .nav { gap: 1.1rem; }
  .nav a:not(.btn) { display: none; }   /* keep only the CTA visible on very small screens */
  .site-header .logo img { height: 28px; }
}
