/* ============================================================
   Notes from the Boardroom — new section components.
   NEW classes only. Does not modify any existing styles.css rule.
   Loaded site-wide (for the nav mega-menu) and on all /notes pages.
   Uses existing brand tokens from styles.css (:root).
   ============================================================ */

/* ---------- Mega-menu (desktop top nav) ---------- */
.nav-notes { position: static; }
.nav-notes > .nav-notes-link { cursor: pointer; }

.notes-megamenu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--black);
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 99;
}
.nav-notes:hover .notes-megamenu,
.nav-notes:focus-within .notes-megamenu,
.notes-megamenu:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.notes-megamenu-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem var(--gutter);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 4rem;
}
.nm-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.3rem;
}
.nm-cats ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2.5rem;
}
.nm-cats li a {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.18rem;
  color: var(--white);
  padding: 0.6rem 0;
  letter-spacing: 0;
  text-transform: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.2s ease;
}
.nm-cats li a:hover { color: var(--gold); }
.nm-feature {
  border-left: 1px solid var(--gold-border);
  padding-left: 4rem;
}
.nm-feature-card { display: block; }
.nm-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 130px;
  background: var(--dark-grey);
  border: 1px solid var(--gold-border);
  margin-bottom: 1.3rem;
}
.nm-thumb img { width: 60px; height: 60px; object-fit: contain; }
.nm-feature-title {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.18;
  margin-bottom: 0.6rem;
  transition: color 0.2s ease;
}
.nm-feature-card:hover .nm-feature-title { color: var(--gold); }
.nm-feature-excerpt {
  display: block;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--white-soft);
  line-height: 1.55;
  text-transform: none;
  letter-spacing: 0;
}
.nm-foot { border-top: 1px solid var(--gold-border); }
.nm-foot a {
  display: block;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.1rem var(--gutter);
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.nm-foot a:hover { color: var(--white); }
@media (max-width: 900px) {
  .notes-megamenu { display: none !important; }
}

/* ---------- Shared section scaffolding ---------- */
.notes-shell { background: var(--black); }
.notes-section { padding: 6rem 0; }
.notes-eyebrow {
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1.5rem;
}

/* ---------- /notes landing hero ---------- */
.notes-hero {
  padding: 11rem 0 4.5rem;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201, 168, 76, 0.08) 0%, transparent 60%),
    var(--black);
  border-bottom: 1px solid var(--gold-border);
  text-align: center;
}
.notes-hero h1 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.04;
  color: var(--white);
  margin: 0 auto 1.6rem;
  max-width: 900px;
  letter-spacing: -0.015em;
}
.notes-hero .notes-positioning {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  color: var(--gold);
  line-height: 1.4;
  margin: 0 auto;
  max-width: 720px;
}

/* ---------- Category cards grid (landing) ---------- */
.notes-cats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.notes-card {
  background: var(--dark-grey);
  border: 1px solid rgba(201, 168, 76, 0.18);
  padding: 2.4rem 2.2rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.notes-card:hover { border-color: var(--gold-border); transform: translateY(-3px); }
.notes-card h2 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.7rem;
  color: var(--white);
  margin: 0 0 0.8rem;
  line-height: 1.15;
}
.notes-card .notes-card-desc {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--white-soft);
  margin: 0 0 1.8rem;
}
.notes-card .notes-card-featured {
  margin-top: auto;
  padding-top: 1.4rem;
  border-top: 1px solid var(--gold-border);
}
.notes-card .notes-card-featured .nc-kicker {
  display: block;
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.55rem;
}
.notes-card .notes-card-featured a {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.18rem;
  color: var(--white);
  line-height: 1.3;
  transition: color 0.2s ease;
}
.notes-card .notes-card-featured a:hover { color: var(--gold); }
@media (max-width: 760px) {
  .notes-cats { grid-template-columns: 1fr; }
}

/* ---------- Latest list (landing) ---------- */
.notes-latest { border-top: 1px solid var(--gold-border); }
.notes-latest .notes-latest-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: baseline;
  padding: 1.8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.notes-latest .nl-cat {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}
.notes-latest .nl-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.25;
  transition: color 0.2s ease;
}
.notes-latest a:hover .nl-title { color: var(--gold); }
.notes-latest .nl-read {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--white-faint);
  white-space: nowrap;
}
@media (max-width: 760px) {
  .notes-latest .notes-latest-row { grid-template-columns: 1fr; gap: 0.5rem; }
  .notes-latest .nl-read { display: none; }
}

/* ---------- Category hub ---------- */
.cat-hero {
  padding: 10rem 0 4rem;
  background: var(--black);
  border-bottom: 1px solid var(--gold-border);
}
.cat-back {
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-block;
  margin-bottom: 2.2rem;
}
.cat-back:hover { color: var(--white); }
.cat-hero h1 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.06;
  color: var(--white);
  margin: 0 0 1.2rem;
  max-width: 860px;
  letter-spacing: -0.012em;
}
.cat-hero .cat-desc {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--white-soft);
  max-width: 640px;
  margin: 0;
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.cat-article {
  background: var(--dark-grey);
  border: 1px solid rgba(201, 168, 76, 0.18);
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.cat-article:hover { border-color: var(--gold-border); transform: translateY(-3px); }
.cat-article h2 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.18;
  color: var(--white);
  margin: 0 0 0.9rem;
}
.cat-article:hover h2 { color: var(--gold); }
.cat-article p {
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--white-soft);
  margin: 0 0 1.4rem;
}
.cat-article .ca-read {
  margin-top: auto;
  font-family: var(--font-body);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
@media (max-width: 760px) {
  .cat-grid { grid-template-columns: 1fr; }
}

/* ---------- Article page ---------- */
.article-hero {
  padding: 10rem 0 0;
  background: var(--black);
}
.article-hero .container { max-width: 760px; }
.article-cat {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-block;
  margin-bottom: 1.6rem;
}
.article-cat:hover { color: var(--white); }
.article-hero h1 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  line-height: 1.08;
  color: var(--white);
  margin: 0 0 2rem;
  letter-spacing: -0.012em;
}
.author-block {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.6rem 0 0;
  border-top: 1px solid var(--gold-border);
}
.author-photo {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--gold-border);
  flex-shrink: 0;
}
.author-photo img { width: 100%; height: 100%; object-fit: cover; display: block; filter: contrast(1.02); }
.author-meta .author-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--white);
  line-height: 1.2;
}
.author-meta .author-bio {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--white-soft);
  line-height: 1.45;
  margin-top: 0.15rem;
}
.author-meta .author-date { color: var(--white-faint); }

.article-body {
  padding: 3rem 0 5rem;
  background: var(--black);
}
.article-body .container { max-width: 760px; }
.article-body p {
  font-size: 1.12rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 1.5rem;
}
.article-body p:first-of-type { font-size: 1.22rem; color: var(--white); }
.article-body h2 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  line-height: 1.2;
  color: var(--white);
  margin: 3rem 0 1.3rem;
  letter-spacing: -0.005em;
}
.article-body h2::before {
  content: "";
  display: block;
  width: 46px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 1.4rem;
}
.article-body a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: var(--gold-border);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}
.article-body a:hover { text-decoration-color: var(--gold); }
.article-body strong { color: var(--white); font-weight: 600; }

/* ---------- Related / continue reading ---------- */
.article-related {
  padding: 4.5rem 0;
  background: var(--dark-grey);
  border-top: 1px solid var(--gold-border);
}
.article-related .container { max-width: 1000px; }
.article-related .ar-head {
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 2rem;
  text-align: center;
}
.ar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.ar-card {
  background: var(--black);
  border: 1px solid rgba(201, 168, 76, 0.18);
  padding: 1.8rem 1.6rem;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.ar-card:hover { border-color: var(--gold-border); transform: translateY(-3px); }
.ar-card .ar-cat {
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.7rem;
}
.ar-card h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.22;
  color: var(--white);
  margin: 0;
}
.ar-card:hover h3 { color: var(--gold); }
@media (max-width: 800px) {
  .ar-grid { grid-template-columns: 1fr; }
}

/* ---------- Article inline CTA panel (optional, used by some closings) ---------- */
.article-cta {
  margin: 2.5rem 0 0.5rem;
  padding: 2rem 2.2rem;
  background: var(--dark-grey);
  border-left: 2px solid var(--gold);
}
.article-cta p { font-size: 1.05rem; line-height: 1.7; color: var(--white); margin: 0; }
