/* Northshores Advisory brand tokens (Brand Guidelines v1.0) */
:root {
  --navy: #0F2A4A;
  --gold: #B38E46;
  --ocean: #1E3A5F;
  --mist: #F8FAFC;
  --white: #FFFFFF;
  --line: #DCE3EC;
  --muted: #4A5B70;
  --serif: "Times New Roman", Georgia, serif;
  --sans: Inter, Helvetica, Arial, system-ui, -apple-system, sans-serif;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--navy);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
a { color: var(--ocean); }

/* Keyboard access: skip link and visible focus */
.skip-link {
  position: absolute; top: -48px; left: 16px; z-index: 20;
  padding: 10px 18px; background: var(--navy); color: var(--white);
  font-weight: 600; text-decoration: none; border-radius: 0 0 4px 4px;
  transition: top .2s;
}
.skip-link:focus { top: 0; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--ocean); outline-offset: 3px; }
.section-navy a:focus-visible, .hero a:focus-visible { outline-color: var(--gold); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ocean);
  margin-bottom: .75em;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }

/* Twin navy/gold rule echoing the logo waves */
.wave {
  width: 96px; height: 18px; margin: 0 0 32px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 18' fill='none' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M2 6 C10 2 18 2 26 5 S42 9 50 6 S66 2 74 5 S88 9 94 6' stroke='%230F2A4A'/%3E%3Cpath d='M2 13 C10 9 18 9 26 12 S42 16 50 13 S66 9 74 12 S88 16 94 13' stroke='%23B38E46'/%3E%3C/svg%3E") no-repeat left center / contain;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  border: 2px solid var(--navy);
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--ocean); border-color: var(--ocean); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-small { padding: 8px 18px; }

/* Header: horizontal mark on white, per brand guide */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 92px; }
.brand img { height: 76px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a:not(.btn) { color: var(--navy); text-decoration: none; font-weight: 500; }
.nav-links a:not(.btn):hover { color: var(--ocean); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 6px; }
.nav-links .btn { color: var(--white); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--navy); }

.hero {
  padding: 120px 0 112px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--ocean) 100%);
  color: var(--white);
  border-bottom: 4px solid var(--gold);
}
.hero h1 { max-width: 820px; }
.hero .eyebrow { color: var(--gold); }
.hero .lead { color: #D5DEE9; }
.hero .btn { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.hero .btn:hover { background: var(--white); border-color: var(--white); }
.hero .btn-ghost { background: transparent; border-color: var(--white); color: var(--white); }
.hero .btn-ghost:hover { background: var(--white); color: var(--navy); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }

.section { padding: 96px 0; }
.section-tint { background: var(--mist); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy .eyebrow { color: var(--gold); }
.section-navy .lead { color: #D5DEE9; }
.section-navy .btn { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.section-navy .btn:hover { background: var(--white); border-color: var(--white); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: 4px;
}
.card p { color: var(--muted); margin: 0; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step-num { display: block; font-family: var(--serif); font-size: 2.6rem; color: var(--gold); line-height: 1; margin-bottom: 12px; }
.steps p { color: var(--muted); }

.about { display: grid; grid-template-columns: 340px 1fr; gap: 64px; align-items: center; }
.about-photo img { border-radius: 50%; border: 4px solid var(--gold); aspect-ratio: 1; object-fit: cover; width: 100%; max-width: 320px; margin: 0 auto; }
.about-text p:not(.eyebrow), .highlights { color: var(--muted); }
.about-text .role { font-weight: 600; color: var(--ocean); margin-top: -.25em; }
.highlights { padding-left: 1.2em; margin: 0 0 1em; }
.highlights li { margin-bottom: .5em; }
.highlights strong { color: var(--navy); }

/* Press links */
#news .lead { margin-bottom: 32px; }
.news.news-featured { grid-template-columns: repeat(3, 1fr); }
.news-note { margin: 10px 0 0; font-size: .95rem; color: var(--muted); }
.news-all { margin-top: 32px; }
.news-all summary {
  display: inline-block; cursor: pointer; list-style: none;
  padding: 12px 24px; border: 2px solid var(--navy); border-radius: 4px;
  font-weight: 600; color: var(--navy); background: var(--white);
}
.news-all summary::-webkit-details-marker { display: none; }
.news-all summary::after { content: " \25BE"; }
.news-all[open] summary::after { content: " \25B4"; }
.news-all summary:hover { background: var(--navy); color: var(--white); }
.news-all summary:focus-visible { outline: 3px solid var(--ocean); outline-offset: 3px; }
.news-intro { color: var(--muted); margin: -8px 0 16px; max-width: 720px; }
.section-cta { margin: 40px 0 0; }
.about-text .section-cta { margin-top: 24px; }
.news-group { font-size: 1.2rem; color: var(--ocean); margin: 40px 0 16px; }
.news { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 32px; }
.news li { background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 4px; padding: 18px 22px; }
.news-meta { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.news .is-media .news-meta::before { content: "\25B6\FE0E"; font-size: .7rem; color: var(--gold); margin-right: 6px; }
.news a { color: var(--navy); font-family: var(--serif); font-size: 1.15rem; font-weight: 700; line-height: 1.3; text-decoration: none; }
.news a:hover { color: var(--ocean); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }

.contact { text-align: center; }
.contact .lead { margin: 0 auto 32px; }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.section-navy .btn-ghost { background: transparent; border-color: var(--white); color: var(--white); }
.section-navy .btn-ghost:hover { background: var(--white); color: var(--navy); }
.contact .location { margin: 28px 0 0; font-size: .95rem; letter-spacing: .02em; color: #D5DEE9; }

/* Footer stays light so the navy logo keeps contrast */
.site-footer { background: var(--white); border-top: 1px solid var(--line); padding: 48px 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.footer-inner img { width: 260px; }
.footer-inner p { font-size: .9rem; color: var(--muted); margin: 0; }
.footer-inner .footer-contact { font-size: 1rem; }
.footer-contact a { color: var(--navy); font-weight: 600; text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }

@media (max-width: 860px) {
  .cards, .steps, .news, .news.news-featured { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; gap: 40px; }
  .about-photo { max-width: 320px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .nav { height: 68px; }
  .brand img { height: 50px; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 12px 0; width: 100%; }
  .nav-links .btn { margin-top: 8px; }
  .hero { padding: 72px 0; }
  .section { padding: 64px 0; }
}

/* Approach theme labels, footer mission line */
.step-theme { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ocean); margin-bottom: 6px; }
.footer-inner .footer-mission { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--navy); max-width: 520px; }
