/* MAS Connector · the site's header and footer on the GeneratePress theme (every page), and edge-to-edge system pages.
 * Brand: a dark green header; a mint tile with a dark tick (the right pick), the site name in Geist semibold, the tagline under it. */
@font-face { font-family: "Geist"; src: url("fonts/geist-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

body.wp-theme-generatepress {
  --mas-site-ink: #0f241d; --mas-site-ink-2: #34443e; --mas-site-muted: #5f6d68; --mas-site-rule: #e3e9e6;
  --mas-site-paper: #ffffff; --mas-site-mint: #6fdcb0; --mas-site-focus: #1f6f5c;
  --mas-site-head: #0b1f19; --mas-site-head-ink: #ffffff; --mas-site-head-2: rgb(255 255 255 / 0.78); --mas-site-head-muted: rgb(255 255 255 / 0.6); --mas-site-head-rule: rgb(255 255 255 / 0.09);
  --mas-site-font: "Geist", -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  --mas-site-max: 76rem; --mas-site-pad: 2rem;
}

/* ---------- header ---------- */
body.wp-theme-generatepress .site-header { background: var(--mas-site-head); color: var(--mas-site-head-ink); border-bottom: 1px solid var(--mas-site-head-rule); }
body.wp-theme-generatepress .site-header .main-navigation, body.wp-theme-generatepress .site-header .main-navigation ul ul { background: var(--mas-site-head); }
body.wp-theme-generatepress .site-header .inside-header { max-width: var(--mas-site-max); padding: 14px var(--mas-site-pad); }
body.wp-theme-generatepress .site-branding .main-title { margin: 0; font-size: inherit; line-height: 1; }
body.wp-theme-generatepress .site-branding .site-description { display: none; }
.mas-brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; color: var(--mas-site-head-ink); text-decoration: none; }
.main-title a.mas-brand, .main-title a.mas-brand:hover { color: var(--mas-site-head-ink); }
.mas-brand-mark { flex: none; width: 40px; height: 40px; }
.mas-brand-mark .mas-brand-tile { fill: var(--mas-site-mint); }
.mas-brand-mark .mas-brand-tick { stroke: var(--mas-site-head); }
.mas-brand-text { display: grid; gap: 3px; min-width: 0; }
.mas-brand-name { font: 650 1.1875rem/1.15 var(--mas-site-font); letter-spacing: -0.01em; white-space: nowrap; }
.mas-brand-tag { font: 400 0.8125rem/1.3 var(--mas-site-font); color: var(--mas-site-head-muted); }
.mas-brand:hover .mas-brand-name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; text-decoration-color: var(--mas-site-mint); }
.mas-brand:focus-visible { outline: 2px solid var(--mas-site-mint); outline-offset: 4px; border-radius: 6px; }

body.wp-theme-generatepress .main-navigation .main-nav ul li a { font-family: var(--mas-site-font); font-size: 0.9375rem; font-weight: 500; line-height: 44px; color: var(--mas-site-head-2); padding-left: 14px; padding-right: 14px; }
body.wp-theme-generatepress .main-navigation .main-nav ul li:not([class*="current-menu-"]):hover > a,
body.wp-theme-generatepress .main-navigation .main-nav ul li:not([class*="current-menu-"]):focus > a,
body.wp-theme-generatepress .main-navigation .main-nav ul li[class*="current-menu-"] > a { color: var(--mas-site-head-ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.45em; text-decoration-color: var(--mas-site-mint); }
body.wp-theme-generatepress .main-navigation .main-nav ul li a:focus-visible { outline: 2px solid var(--mas-site-mint); outline-offset: -2px; }
body.wp-theme-generatepress .site-header .menu-toggle, body.wp-theme-generatepress .site-header .menu-toggle:hover, body.wp-theme-generatepress .site-header .menu-toggle:focus { color: var(--mas-site-head-ink); background: rgb(255 255 255 / 0.08); }
body.wp-theme-generatepress .site-header .menu-toggle:focus-visible { outline: 2px solid var(--mas-site-mint); outline-offset: 2px; }

/* ---------- footer ---------- */
body.wp-theme-generatepress .site-info { background: var(--mas-site-paper); border-top: 1px solid var(--mas-site-rule); color: var(--mas-site-muted); font: 400 0.875rem/1.6 var(--mas-site-font); }
body.wp-theme-generatepress .site-info .inside-site-info { max-width: var(--mas-site-max); padding: 28px var(--mas-site-pad); }
body.wp-theme-generatepress .site-info a { color: var(--mas-site-ink-2); text-decoration: none; }
body.wp-theme-generatepress .site-info a:hover { color: var(--mas-site-ink); text-decoration: underline; text-decoration-color: var(--mas-site-mint); text-underline-offset: 0.2em; }
body.wp-theme-generatepress .site-info a:focus-visible { outline: 2px solid var(--mas-site-focus); outline-offset: 2px; border-radius: 3px; }
body.wp-theme-generatepress .site-info .footer-bar p { margin: 0; font-size: 0.875rem; }

/* ---------- pages the system publishes run edge to edge (the theme's 1200px box and its padding stay on other pages) ---------- */
body.mas-page { background: var(--mas-site-paper); }
body.mas-page #page.site { max-width: none; width: 100%; margin: 0; padding: 0; background: transparent; }
body.mas-page #page.site > .site-content { display: block; padding: 0; }
/* under the dark header, a dark-hero page's disclosure line is dark too: one dark top instead of a grey stripe */
body.mas-page .mas[data-mas-tone="dark"] > .mas-disclosure:first-child { background: var(--mas-site-head); color: var(--mas-site-head-muted); border-bottom: 1px solid var(--mas-site-head-rule); }
body.mas-page .mas[data-mas-tone="dark"] > .mas-disclosure:first-child a { color: var(--mas-site-head-ink); }

@media (max-width: 768px) {
  body.wp-theme-generatepress { --mas-site-pad: 16px; }
  .mas-brand { gap: 10px; }
  .mas-brand-mark { width: 34px; height: 34px; }
  .mas-brand-name { font-size: 1.0625rem; }
  .mas-brand-tag { font-size: 0.75rem; }
  body.wp-theme-generatepress .site-info .inside-site-info { padding-top: 22px; padding-bottom: 22px; }
  body.wp-theme-generatepress .main-navigation.toggled .main-nav ul li a { line-height: 48px; padding-left: var(--mas-site-pad); padding-right: var(--mas-site-pad); }
}
@media (prefers-reduced-motion: reduce) { .mas-brand, body.wp-theme-generatepress .main-navigation a { transition: none; } }
