/* Noetis Advisory — staging styles
   Pure CSS. System font stacks only; no external downloads.
   Brand tokens per brand/noetis-brand.css (supplied token source):
   forest / deep forest / sage / charcoal / muted gold / warm stone /
   off-white canvas / white. Georgia display, system-ui body. */

:root {
  --forest: #1B4332;
  --deep-forest: #153F32;
  --sage: #6B8E7A;
  --charcoal: #2F2F33;
  --gold: #A8874A;
  --stone: #D8D2C8;
  --canvas: #F7F8F5;
  --white: #FFFFFF;
  --font-display: Georgia, "Times New Roman", serif;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 72rem;
  --radius: .5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--forest);
  line-height: 1.2;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1.1em;
}

a {
  color: var(--forest);
  text-decoration-color: var(--sage);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--deep-forest);
}

a:focus-visible {
  outline: 3px solid var(--charcoal);
  outline-offset: 3px;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--forest);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 10;
}

.skip-link:focus {
  left: 0;
}

/* ---------- Header / brand lockup ---------- */

.site-header {
  background: var(--canvas);
  border-bottom: 1px solid var(--stone);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  flex-wrap: wrap;
}

/* Supplied lockup pattern: icon + live NOETIS / ADVISORY text.
   Transparent mark sits directly on the surface — no opaque box. */
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: var(--forest);
  text-decoration: none;
}

.brand-lockup img {
  display: block;
  width: 5rem;
  height: auto;
  flex: 0 0 auto;
}

.brand-lockup__copy {
  display: grid;
  gap: .15rem;
}

.brand-lockup__name {
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1;
  font-weight: 400;
  letter-spacing: .19em;
}

.brand-lockup__sub {
  font-family: var(--font-body);
  font-size: .66rem;
  letter-spacing: .34em;
}

.brand-lockup:focus-visible {
  outline: 3px solid var(--charcoal);
  outline-offset: 4px;
}

.brand-lockup--dark {
  color: var(--white);
}

.brand-lockup--dark:focus-visible {
  outline-color: var(--white);
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--charcoal);
  text-decoration: none;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  padding-bottom: 0.2rem;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  color: var(--forest);
  border-bottom-color: var(--gold);
}

.site-nav a[aria-current="page"] {
  color: var(--forest);
  font-weight: 600;
  border-bottom-color: var(--gold);
}

/* ---------- Hero (Home) ---------- */

.hero {
  background: var(--deep-forest);
  color: rgba(255, 255, 255, 0.88);
  padding: 4.5rem 0 4rem;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  margin-bottom: 0.35em;
}

.hero .subhead {
  font-size: clamp(1.15rem, 2.6vw, 1.45rem);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.85);
  max-width: 42rem;
  margin: 0;
}

.hero .rule {
  width: 3.5rem;
  height: 3px;
  background: var(--gold);
  margin: 0 0 1.75rem;
}

/* ---------- Page header (inner pages) ---------- */

.page-header {
  background: var(--white);
  border-bottom: 1px solid var(--stone);
  padding: 3rem 0 2.4rem;
}

.page-header h1 {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  margin: 0;
}

.page-header .role {
  font-size: 1.15rem;
  color: rgba(47, 47, 51, 0.72);
  margin: 0.4rem 0 0;
}

/* ---------- Main sections ---------- */

main {
  padding: 3.25rem 0 3.75rem;
}

.section {
  margin-bottom: 3.25rem;
}

.section:last-child {
  margin-bottom: 0;
}

.section h2 {
  font-size: 1.7rem;
}

.lede {
  font-size: 1.14rem;
  line-height: 1.7;
  max-width: 46rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--forest);
  margin: 0 0 0.75rem;
}

/* ---------- Audience cards (Home) ---------- */

.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.audience-card {
  background: var(--white);
  border: 1px solid var(--stone);
  border-top: 3px solid var(--forest);
  padding: 2rem 2rem 1.4rem;
  display: flex;
  flex-direction: column;
}

.audience-card h2 {
  font-size: 1.45rem;
}

.audience-card p:last-child {
  margin-bottom: 0.6rem;
}

/* ---------- Lists ---------- */

ul.points {
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
}

ul.points li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.7rem;
}

ul.points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--gold);
}

/* ---------- Services ---------- */

.service {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--stone);
}

.service:first-of-type {
  padding-top: 0.5rem;
}

.service:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.service h2 {
  font-size: 1.6rem;
}

.service p {
  max-width: 48rem;
}

.engagements-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(47, 47, 51, 0.65);
  margin: 1.4rem 0 0.8rem;
}

/* ---------- Closing / CTA band ---------- */

.cta-band {
  background: var(--deep-forest);
  color: rgba(255, 255, 255, 0.88);
  padding: 3rem 0;
}

.cta-band p {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  line-height: 1.4;
  max-width: 40rem;
  margin: 0 0 1.5rem;
}

/* Forest button, white text; deep forest on hover/active.
   The white border keeps the button defined on the dark band. */
.cta-button {
  display: inline-block;
  background: var(--forest);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  padding: 0.8rem 1.6rem;
  border: 2px solid var(--white);
  border-radius: var(--radius);
}

.cta-button:hover {
  background: var(--deep-forest);
  border-color: var(--white);
  color: var(--white);
}

.cta-button:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 4px;
}

/* ---------- How We Help (Home) ---------- */

.help-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.help-item {
  border: 1px solid var(--stone);
  border-top: 3px solid var(--forest);
  background: var(--white);
  padding: 1.6rem 1.75rem 1.1rem;
}

.help-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5em;
}

.help-item h3 a {
  color: var(--forest);
  text-decoration: none;
}

.help-item h3 a:hover {
  color: var(--deep-forest);
  text-decoration: underline;
  text-decoration-color: var(--sage);
  text-underline-offset: 0.18em;
}

.help-item p {
  margin-bottom: 0.6rem;
}

/* ---------- Application areas (Home) ---------- */

.area-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.75rem;
}

.area-card {
  border: 1px solid var(--stone);
  border-top: 3px solid var(--forest);
  background: var(--white);
  padding: 1.1rem 1.15rem;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--forest);
  line-height: 1.35;
  display: flex;
  align-items: center;
}

/* ---------- CTA band heading ---------- */

.cta-band h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 3.4vw, 2.1rem);
  margin-bottom: 0.7rem;
}

.cta-band .cta-line {
  font-size: clamp(1.12rem, 2.4vw, 1.3rem);
  max-width: 44rem;
}

/* ---------- About ---------- */

.about-subhead {
  font-size: 1.45rem;
  margin-top: 2.75rem;
}

.linkedin-line {
  margin-top: 1.5rem;
}

/* ---------- Contact ---------- */

.contact-email {
  font-size: 1.25rem;
  margin: 1.75rem 0;
}

.contact-location {
  color: rgba(47, 47, 51, 0.72);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--deep-forest);
  color: var(--white);
  padding: 2.75rem 0 2.75rem;
  margin-top: 0;
}

.footer-brand {
  margin-bottom: 1.75rem;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
  margin: 0 0 1.5rem;
  padding: 0;
}

.footer-nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-nav a:hover {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--gold);
}

.footer-nav a:focus-visible,
.site-footer a:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
}

.footer-note {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 52rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 1.5rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 820px) {
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .help-list {
    grid-template-columns: 1fr;
  }

  .area-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    padding: 3.25rem 0 3rem;
  }

  main {
    padding: 2.5rem 0 3rem;
  }
}

@media (max-width: 560px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .site-nav ul {
    gap: 1.1rem;
  }

  .audience-card {
    padding: 1.5rem 1.5rem 1rem;
  }

  .area-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .brand-lockup img {
    width: 3.75rem;
  }

  .brand-lockup__name {
    font-size: 1.35rem;
  }

  .brand-lockup__sub {
    font-size: .58rem;
  }
}

.footer-linkedin { margin: 0 0 .5rem; }
.footer-linkedin a { color: inherit; }
.contact-linkedin a { color: inherit; }
.writing-entry { max-width: 65ch; }
