@import url("https://fonts.googleapis.com/css2?family=Mulish:wght@400;500;600;700&family=Yanone+Kaffeesatz:wght@400;500;600;700&display=swap");

:root {
  --bg: #ececec;
  --surface: #ffffff;
  --text: #1a1a1a;
  --muted: #5a5a5a;
  --line: #d8d8d8;
  --button: #627a93;
  --hover: #4a5f75;
  --cta: var(--button);
  --header-bg: #111;
  --header-line: #2a2a2a;
  /* Copy on textured page background (outside white cards) */
  --text-on-textured: #e8e8e8;
  --heading-on-textured: #ffffff;
  --muted-on-textured: #c4c4c4;
  /* Default link blue (main, cards, footer) */
  --link: var(--button);
  --link-hover: var(--hover);
  /* Footer sits on lighter gray texture */
  --footer-text: #333333;
  --footer-muted: #4d4d4d;
}

* { box-sizing: border-box; }

/* Sticky footer: fill viewport so bg01 does not show below the footer on short pages */
html {
  height: 100%;
  background-color: var(--bg);
  background-image: url("/resources/styles/halcyonic/assets/css/images/bg01.jpg");
  background-repeat: repeat;
}

body {
  margin: 0;
  min-height: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: Mulish, sans-serif;
  color: var(--text-on-textured);
  line-height: 1.6;
  background-color: var(--bg);
  /* Textured gray background (falls back to solid color if missing). */
  background-image: url("/resources/styles/halcyonic/assets/css/images/bg01.jpg");
  background-repeat: repeat;
}

/* Links on textured main area and in cards */
main a:not(.btn) {
  color: var(--link);
}
main a:not(.btn):hover {
  color: var(--link-hover);
}

.wrap {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 1200;
  flex-shrink: 0;
  background: transparent;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: none;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

/* Main grows to absorb extra height; min-height keeps short pages from feeling pinched */
main {
  flex: 1 0 auto;
  width: 100%;
  min-height: min(28rem, 55vh);
  padding-bottom: 1.5rem;
}

.top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .75rem;
  padding: .7rem 0;
}

.top-nav-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.logo {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: .02em;
  display: flex;
  align-items: center;
  border-radius: 8px;
  transition: opacity 180ms ease;
}

.logo-img {
  height: 58px;
  width: auto;
  display: block;
  max-width: min(78vw, 350px);
}

.logo-img-scrolled {
  display: none;
}

body.header-scrolled .logo-img-default {
  display: none;
}

body.header-scrolled .logo-img-scrolled {
  display: block;
}
.logo-text { display: none; }

nav {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: .2rem;
}

.site-nav-list {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav-list > li {
  flex: 0 0 auto;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav-list > li > a {
  display: block;
  color: #e5e5e5;
  text-decoration: none;
  margin-right: .95rem;
  white-space: nowrap;
  font-size: 1.18rem;
  font-family: "Yanone Kaffeesatz", "Arial Narrow", Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.site-nav-list > li > a:hover {
  color: #fff;
}

.site-nav-dd {
  position: relative;
}

.site-nav-caret {
  display: none;
}

.site-nav-submenu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
}

.newsletter-featured h2 {
  margin-top: 0.35rem;
}

.newsletter-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.newsletter-date {
  margin: 0 0 1rem;
}

.header-response-btn {
  align-self: flex-start;
  white-space: nowrap;
  background: #d97706;
  color: #fff;
}

.header-response-btn:hover {
  background: #b45309;
  color: #fff;
}

body.header-scrolled header {
  background: #fff;
  border-bottom-color: #d9dddd;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
}

body.header-scrolled .site-nav-list > li > a {
  color: #2f3733;
}

body.header-scrolled .site-nav-list > li > a:hover {
  color: #101010;
}

.hero { padding: 2rem 0 1.25rem; }

.secondary-page,
main.wrap:not(.home-page) {
  background: #f2f4f6;
  padding-bottom: 0;
  box-shadow: 0 0 0 100vmax #f2f4f6;
  clip-path: inset(0 -100vmax);
}

.secondary-page .secondary-hero,
main.wrap:not(.home-page) > section.hero {
  background: linear-gradient(118deg, #2a2e33 0%, #555f69 48%, #8997a5 100%);
  color: #fff;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-top: 3rem;
  padding-bottom: 2.8rem;
  padding-left: calc((100vw - min(1120px, 92vw)) / 2);
  padding-right: calc((100vw - min(1120px, 92vw)) / 2);
}

.secondary-page .secondary-hero h1,
main.wrap:not(.home-page) > section.hero h1 {
  color: #fff;
}

.secondary-page .secondary-hero .muted,
main.wrap:not(.home-page) > section.hero .muted {
  color: #e7e9ec;
}

.insight-article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.65rem;
  margin: 0.85rem 0 1.15rem;
}

.secondary-page .secondary-hero .insight-article-meta,
main.wrap:not(.home-page) > section.hero .insight-article-meta {
  margin-top: 0.35rem;
}

.insight-meta-badge {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.45rem;
  padding: 0.35rem 0.85rem 0.4rem;
  font-size: 0.9rem;
  line-height: 1.35;
  color: #f4f6f8;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.insight-meta-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.insight-meta-badge time {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.insight-meta-badge--author {
  font-weight: 600;
}

@media (max-width: 520px) {
  .insight-meta-badge {
    font-size: 0.85rem;
    padding: 0.3rem 0.75rem 0.35rem;
  }
}

.insight-article-card {
  color: var(--text);
}

.insight-article-body {
  max-width: 52rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #222;
}

.insight-article-body h2 {
  font-family: "Yanone Kaffeesatz", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(1.55rem, 2.8vw, 2rem);
  font-weight: 600;
  color: #141820;
  margin: 2.35rem 0 0.85rem;
  line-height: 1.2;
}

.insight-article-body h2:first-child {
  margin-top: 0;
}

.insight-article-body h3 {
  font-family: "Yanone Kaffeesatz", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(1.28rem, 2.2vw, 1.55rem);
  font-weight: 600;
  color: #1e2430;
  margin: 1.85rem 0 0.65rem;
  line-height: 1.25;
}

.insight-article-body h4 {
  font-family: "Yanone Kaffeesatz", "Arial Narrow", Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #2a3140;
  margin: 1.5rem 0 0.5rem;
}

.insight-article-body p {
  margin: 0 0 1.1rem;
}

.insight-article-body .insight-lead {
  font-size: 1.12rem;
  color: #2c3238;
  font-weight: 500;
}

.insight-article-body ul,
.insight-article-body ol {
  margin: 0 0 1.15rem;
  padding-left: 1.35rem;
}

.insight-article-body li {
  margin-bottom: 0.4rem;
}

.insight-article-body blockquote {
  margin: 1.5rem 0;
  padding: 0.85rem 1.15rem;
  border-left: 4px solid var(--button);
  background: rgba(98, 122, 147, 0.09);
  border-radius: 0 10px 10px 0;
}

.insight-article-body blockquote p {
  margin: 0;
}

.insight-article-body .insight-byline {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #5a6570;
  margin: -0.25rem 0 1rem;
}

.insight-article-body hr {
  margin: 2rem 0;
  border: 0;
  border-top: 1px solid #d5dbe2;
}

.insight-article-body .insight-cta-mail {
  margin: 0 0 1.5rem;
  padding: 1rem 1.15rem;
  background: #fff;
  border: 1px solid #d5dbe2;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.insight-article-body .insight-cta-mail p {
  margin: 0 0 0.5rem;
}

.insight-article-body .insight-cta-mail p:last-child {
  margin-bottom: 0;
}

.insight-article-body .insight-article-figure {
  margin: 1.35rem auto;
  max-width: 920px;
  text-align: center;
}

.insight-article-body .insight-article-figure img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.1);
}

.insight-article-body .insight-article-figure figcaption {
  margin-top: 0.5rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.risk-radar-logo-float {
  float: right;
  width: min(220px, 38%);
  max-width: 100%;
  height: auto;
  margin: 0 0 1rem 1.25rem;
}

.insight-article-body h2 ~ h2 {
  clear: both;
}

@media (max-width: 640px) {
  .risk-radar-logo-float {
    float: none;
    display: block;
    width: min(200px, 72%);
    margin: 0 auto 1rem;
  }
}

.insight-article-body a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.insight-article-body a:hover {
  color: var(--link-hover);
}

.insight-original-source {
  margin-top: 1.85rem;
  padding-top: 1.2rem;
  border-top: 1px solid #d5dbe2;
  font-size: 0.92rem;
  color: var(--muted);
}

.secondary-page .secondary-content-shell {
  background: #f2f4f6;
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  margin-top: -0.9rem;
  padding: 1.35rem 1.1rem 0.8rem;
  position: relative;
  z-index: 4;
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.2), 0 8px 20px rgba(0, 0, 0, 0.08);
}

main.wrap:not(.home-page) > section.hero + section {
  background: #f2f4f6;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: -0.9rem;
  padding-top: 1.35rem;
  padding-left: calc((100vw - min(1120px, 92vw)) / 2);
  padding-right: calc((100vw - min(1120px, 92vw)) / 2);
  position: relative;
  z-index: 3;
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
}

.home-page {
  width: 100%;
  padding-bottom: 0;
}

.home-page .wrap {
  width: min(1140px, 92vw);
}

.home-hero {
  background: linear-gradient(118deg, #252a2f 0%, #4b5560 45%, #7f8c99 100%);
  color: #fff;
  padding: 3.8rem 0 3.6rem;
  position: relative;
  overflow: hidden;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(32, 37, 43, 0.94) 0%, rgba(46, 53, 60, 0.82) 46%, rgba(58, 67, 76, 0.48) 67%, rgba(68, 79, 90, 0.16) 100%),
    url("/resources/graphics/HomePageImg.png");
  background-repeat: no-repeat, no-repeat;
  background-position: left top, right center;
  background-size: cover, auto 120%;
  z-index: 0;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

.home-hero-panel {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 10px;
  padding: 1rem;
  background: rgba(20, 21, 24, 0.34);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.home-team-label {
  margin: 0 0 0.45rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
}

.home-team-landing h3 {
  margin: 0 0 0.35rem;
  color: #fff;
}

.home-team-landing .team-meta {
  margin: 0.1rem 0;
  color: #ececec;
  font-size: 0.95rem;
}

.home-team-landing form {
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(216, 216, 216, 0.45);
}

.home-team-landing label {
  display: block;
  margin: 0 0 0.55rem;
  font-size: 0.88rem;
  color: #f3f3f3;
}

.home-team-landing input,
.home-team-landing textarea {
  margin-top: 0.2rem;
  font-size: 0.9rem;
  padding: 0.45rem 0.55rem;
}

.home-team-landing textarea {
  min-height: 84px;
  resize: vertical;
}

.home-team-submit-wrap {
  margin: 0.6rem 0 0;
}

.home-team-landing .team-form-msg {
  font-size: 0.88rem;
  margin: 0.45rem 0;
  padding: 0.4rem 0.5rem;
  border-radius: 4px;
}

.home-team-landing .team-form-msg.error {
  background: rgba(161, 17, 17, 0.25);
  border: 1px solid rgba(201, 52, 52, 0.65);
  color: #ffdede;
}

.home-team-landing .team-form-msg.success {
  background: rgba(10, 125, 51, 0.25);
  border: 1px solid rgba(42, 173, 92, 0.65);
  color: #ddffe9;
}

.home-team-submit-busy {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.45rem;
  color: #ededed;
  font-size: 0.86rem;
}

.home-team-submit-busy[hidden] {
  display: none !important;
}

.home-team-spinner {
  width: 0.95rem;
  height: 0.95rem;
  border: 2px solid rgba(230, 230, 230, 0.45);
  border-top-color: var(--button);
  border-radius: 50%;
  display: inline-block;
  animation: home-team-spin 0.8s linear infinite;
}

@keyframes home-team-spin {
  to { transform: rotate(360deg); }
}

.home-bulletins {
  margin-top: 1rem;
  padding: 0.6rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
  font-size: 0.86rem;
}

.home-bulletins h2 {
  margin: 0 0 0.35rem;
  color: #fff;
  font-size: 1rem;
}

.home-bulletins ul {
  margin: 0;
  padding-left: 1rem;
}

.home-bulletins li {
  margin: 0 0 0.5rem;
}

.home-bulletins a {
  color: #fff;
  font-weight: 700;
}

.home-bulletin-copy {
  margin-top: 0.2rem;
  color: #dbdbdb;
  line-height: 1.35;
}

.home-hero-copy {
  align-self: center;
}

.home-hero-eyebrow {
  margin: 0;
  color: #f0f0f0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  font-size: 1rem;
  font-family: "Yanone Kaffeesatz", "Arial Narrow", Arial, sans-serif;
}

.home-hero h1 {
  margin: 0.3rem 0 0;
  max-width: none;
  color: #fff;
  font-size: clamp(2.7rem, 7.4vw, 5rem);
  line-height: 0.98;
  letter-spacing: 0.02em;
}

.home-hero h2 {
  margin: 1.25rem 0 0;
  color: #f2f2f2;
  font-weight: 400;
  font-size: clamp(1.4rem, 4.3vw, 2.2rem);
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.home-hero-subhead {
  margin: 1.35rem 0 0;
  color: #e3e3e3;
  font-size: 1.03rem;
  line-height: 1.6;
  max-width: 62ch;
  font-style: italic;
}

.home-hero-actions {
  margin: 1.1rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.home-hero-numbers {
  margin: 1.35rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(28, 30, 35, 0.58);
  border-radius: 14px;
  padding: 0.7rem 0.4rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.hero-number-stat {
  flex: 1 1 100%;
  padding: 0.5rem 0.8rem;
  text-align: center;
}

.hero-number-stat + .hero-number-stat {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-number-value {
  margin: 0;
  color: #fff;
  font-family: "Yanone Kaffeesatz", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(1.6rem, 4.8vw, 2.1rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
}

.hero-number-label {
  margin: 0.2rem 0 0;
  color: #e3e3e3;
  font-size: 0.9rem;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.75);
}

.btn-secondary:hover {
  background: #fff;
  color: #000;
}

.home-section {
  padding: 2rem 0;
}

.home-section-white {
  background: #fff;
}

.home-intro-layer {
  background: #f2f4f6;
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  margin-top: -1.15rem;
  position: relative;
  z-index: 5;
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.2), 0 8px 20px rgba(0, 0, 0, 0.08);
}

.home-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.home-feature-card h3 {
  color: #4f4f4f;
  font-style: italic;
  margin-top: 0.25rem;
  transition: color 0.18s ease-in-out;
}

.home-feature-card:hover h3 {
  color: var(--button);
}

.home-feature-card .quote-attribution {
  display: block;
  text-align: right;
}

.home-feature-card hr {
  border: 0;
  border-top: 1px solid #d8d8d8;
  margin: 1rem auto;
}

.home-inline-link {
  color: var(--button);
  font-weight: 700;
  text-decoration: none;
}

.home-inline-link:hover {
  color: var(--hover);
}

.home-levelset-band {
  background: linear-gradient(118deg, #252a2f 0%, #4b5560 45%, #7f8c99 100%);
  color: #fff;
  padding: 2.4rem 0;
}

.home-levelset-inner {
  max-width: 48rem;
}

.home-levelset-band h2 {
  margin: 0 0 0.75rem;
  color: #fff;
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  line-height: 1.25;
}

.home-levelset-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.08rem;
  line-height: 1.55;
}

.home-levelset-actions {
  margin-top: 1.15rem !important;
}

.home-impact-band {
  background: #fff;
  padding-top: 0.75rem;
}

.home-impact-inner {
  text-align: center;
}

.home-impact-callout {
  background: var(--cta);
  border-radius: 18px;
  padding: 2.1rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.home-impact-inner p {
  margin: 0 auto 1.25rem;
  max-width: 980px;
  color: #fff;
  font-size: 1.2rem;
  line-height: 1.6;
}

.home-impact-inner strong {
  color: #fff;
}

.btn-invert {
  background: #fff;
  color: var(--button);
  border: 1px solid var(--button);
}

a.btn.btn-invert,
button.btn.btn-invert {
  background: #fff;
  color: var(--button);
}

.btn-invert:hover {
  background: var(--hover);
  color: #fff;
  border-color: var(--hover);
}

.home-principles-band {
  background: #2a3036;
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  margin-top: -0.9rem;
  position: relative;
  z-index: 4;
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.14), 0 8px 18px rgba(0, 0, 0, 0.16);
}

.home-principles p {
  color: #555;
}

.home-audience-band {
  background: #fff;
  border-top: 1px solid #e2e2e2;
}

.home-audience-copy {
  margin: 0 auto 1rem;
  max-width: 1080px;
  font-size: 1.28rem;
  line-height: 1.6;
  color: #2f3b49;
  text-align: center;
}

.home-audience-links {
  margin: 0;
  font-size: 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  width: 100%;
}

.home-audience-links .audience-btn {
  display: inline-block;
  padding: 0.58rem 1.05rem;
  border: 1px solid var(--button);
  border-radius: 6px;
  color: var(--button);
  background: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.18s ease-in-out, color 0.18s ease-in-out;
}

.home-audience-links .audience-btn:hover {
  background: var(--hover);
  border-color: var(--hover);
  color: #fff;
}

.hero-split::after {
  content: "";
  display: table;
  clear: both;
}

.hero-split .hero-left,
.hero-split .hero-right {
  float: left;
  width: 100%;
}

.hero-split .hero-left {
  margin-bottom: 1rem;
}

.hero-split .hero-left .btn {
  margin: 0 .65rem .65rem 0;
}

.hero-split .hero-right h1 {
  margin: 0;
  max-width: 22ch;
}

/* Headings and lead copy on textured background (not inside cards) */
main h1 {
  color: var(--heading-on-textured);
  font-family: "Yanone Kaffeesatz", "Arial Narrow", Arial, sans-serif;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.5rem;
}

main h2,
main h3 {
  font-family: "Yanone Kaffeesatz", "Arial Narrow", Arial, sans-serif;
  letter-spacing: 0.01em;
}

.hero .muted,
main > section.hero .muted {
  color: var(--muted-on-textured);
}

.muted {
  color: var(--muted-on-textured);
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1rem;
  margin: .85rem 0;
  color: var(--text);
}

.card h1,
.card h2,
.card h3,
.card h4,
.card p,
.card li,
.card label,
.card span,
.card div {
  color: inherit;
}

.card .muted {
  color: var(--muted);
}

.card a {
  color: var(--link);
}
.card a:hover {
  color: var(--link-hover);
}

/* Required field marker (e.g. contact form) */
.card label .req {
  color: #a11;
  font-weight: 700;
  margin-right: 0.15em;
  user-select: none;
}

.contact-entry-chooser {
  display: grid;
  gap: 0.85rem;
  margin: 0 0 0.35rem;
}

.contact-entry-option {
  margin: 0;
}

.contact-response-cta {
  white-space: normal;
  text-align: center;
  line-height: 1.25;
  max-width: 100%;
}

.contact-email-toggle {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  color: var(--button);
  font: inherit;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.contact-email-toggle:hover,
.contact-email-toggle:focus-visible {
  color: var(--hover);
}

.contact-email-panel {
  margin-top: 1.15rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.contact-email-form {
  max-width: 22rem;
}

.contact-email-field {
  display: block;
}

.contact-email-field input[type="email"] {
  width: 100%;
  max-width: 22rem;
}

.btn {
  display: inline-block;
  background: var(--cta);
  color: #fff;
  text-decoration: none;
  padding: .65rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  font-family: "Yanone Kaffeesatz", "Arial Narrow", Arial, sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--hover);
}

/* Keep "Received a Notice?" distinct from primary CTA blue */
.header-response-btn.btn {
  background: #d97706;
  color: #fff;
}

.header-response-btn.btn:hover {
  background: #b45309;
  color: #fff;
}

/* Keep button text color consistent inside cards. */
.card a.btn,
.card a.btn:hover {
  color: #fff;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .85rem;
}

/* About hub + company/crew/clients: dig deeper + service promos in two columns */
.about-dig-deeper ul {
  list-style: none;
  padding-left: 0;
  margin: 0.5rem 0 0;
}

.about-dig-deeper li {
  margin: 0.35rem 0;
}

/* Subhead on textured main (e.g. company “More to fall in love with”) */
.nls-textured-subhead {
  color: #111;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0.5rem 0 0.75rem;
  line-height: 1.25;
}

.crew-bios-title {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.crew-bios .crew-profile {
  margin: 0;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
  overflow: auto;
}

.crew-bios .crew-profile:first-of-type {
  border-top: none;
  padding-top: 0.35rem;
}

.crew-bios .crew-headshot {
  float: right;
  max-width: min(220px, 46%);
  width: auto;
  height: auto;
  margin: 0.15rem 0 0.75rem 1rem;
  border-radius: 6px;
  object-fit: cover;
}

.crew-bios .crew-profile h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

/* Client spotlights: intro (matches preliens-style indent) */
.client-spotlight-intro {
  margin-left: 1.1rem;
  margin-top: 0.75rem;
}

.client-spotlight-intro h3 {
  font-size: 1.1rem;
  margin: 1rem 0 0.4rem;
}

.client-spotlight-intro p {
  margin: 0.5rem 0 0;
}

/* Three columns: General Contractors | Specialty Trades | Material/Equipment */
.clients-spotlight-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.clients-spotlight-col-title {
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.35rem;
}

.clients-spotlight-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.clients-spotlight-list li {
  margin: 0.35rem 0;
  line-height: 1.35;
}

.nls-dig-deeper-services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin: 0.85rem 0;
  align-items: stretch;
}

.nls-dig-deeper-services > .card {
  margin: 0;
}

/* Service cross-links (about + service detail pages) */
.other-services-links {
  overflow: auto;
}

.other-services-links > img {
  float: right;
  max-width: 100%;
  height: auto;
  margin: 0 0 0.5rem 1rem;
}

.other-services-links .links-col {
  margin-right: 270px;
}

.other-services-links .links-col .learn-more {
  text-align: center;
  margin-top: 0.75rem;
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  transition: background-color 0.18s ease-in-out;
}

.other-services-links .links-col .learn-more:hover {
  background: var(--button);
}

.other-services-links .links-col .learn-more a {
  color: var(--button);
  font-weight: 700;
  text-decoration: none;
}

.other-services-links .links-col .learn-more a:hover {
  color: #fff;
}

/* Narrow column when 50% width: no reserved margin, smaller float */
.nls-dig-deeper-services .other-services-links .links-col {
  margin-right: 0;
}

.nls-dig-deeper-services .other-services-links > img {
  max-width: min(200px, 48%);
  margin: 0 0 0.5rem 0.75rem;
}

footer {
  flex-shrink: 0;
  padding: 2rem 0;
  color: var(--footer-text);
  font-size: .9rem;
  background-color: #757575;
  /* Lighter gray texture for footer region (falls back if missing). */
  background-image: url("/resources/styles/halcyonic/assets/css/images/bg03.jpg");
  background-repeat: repeat;
  border-top: 1px solid #b9b9b9;
}

footer .muted {
  color: var(--footer-muted);
}

footer a {
  color: var(--link);
}

footer a:hover {
  color: var(--link-hover);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.footer-col h3 {
  margin: 0 0 .4rem;
  color: #222;
  font-size: 1rem;
}

.footer-col p,
.footer-col div {
  margin: 0 0 .25rem;
}

.footer-copyright {
  margin-top: .45rem;
}

.footer-col-right {
  text-align: left;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  text-decoration: none;
}

.social-icon {
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  background: var(--button);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Yanone Kaffeesatz", "Arial Narrow", Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
}

.social-link:hover .social-icon {
  background: var(--hover);
}

input, textarea, select {
  width: 100%;
  border: 1px solid #cfcfcf;
  border-radius: 8px;
  padding: .6rem;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, .55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal.open { display: flex; }

.modal-body {
  background: #fff;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  width: 100%;
  border-radius: 10px;
  padding: 1rem;
  color: var(--text);
}

.modal-body h3,
.modal-body p {
  color: var(--text);
}

.modal-body a {
  color: var(--link);
  font-weight: 600;
}

.modal-body a:hover {
  color: var(--link-hover);
}

.modal-body .muted {
  color: var(--muted);
}

.faq-section-title {
  font-size: 1.15rem;
  margin: 0 0 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}

.faq-question-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.faq-question-list li {
  margin: 0.4rem 0;
  line-height: 1.4;
}

.faq-modal-answer p {
  margin: 0.75rem 0 0;
}

.faq-modal-answer p:first-child {
  margin-top: 0;
}

/* NLS University: hero subhead (on textured main background) */
.university-hero-subhead {
  margin: 0.35rem 0 1.1rem;
  max-width: 40ch;
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--muted-on-textured);
}

.events-training-links {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
}

.events-training-links li {
  margin: 0.4rem 0;
}

.events-past-list,
.events-upcoming-list {
  margin-top: 0.5rem;
}

.events-list-item {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.events-list-item:first-of-type {
  border-top: none;
  padding-top: 0.25rem;
}

.events-past-heading {
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
  line-height: 1.35;
  color: var(--text);
}

.events-past-body {
  color: var(--muted);
  margin-left: 0.85rem;
  padding-left: 0.9rem;
  border-left: 2px solid #d2d8de;
}

.events-past-body a {
  color: var(--link);
}

.events-past-body a:hover {
  color: var(--link-hover);
}

.events-past-body strong {
  color: var(--text);
}

.events-past-body p {
  margin: 0.5rem 0 0;
}

.response-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.response-initial-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.response-actions-card h2 {
  margin-top: 0;
}

.response-actions-card p {
  margin: 0 0 0.6rem;
}

.response-action-btn {
  width: 100%;
  text-align: center;
}

.response-action-btn-warn {
  background: #c62828;
  color: #fff;
}

.response-action-btn-warn:hover {
  background: #9f1f1f;
  color: #fff;
}

.response-action-btn-active {
  box-shadow: inset 0 0 0 2px #111;
}

.response-ref-image {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.response-help-toggle {
  margin-top: 1rem;
}

.response-help-content {
  margin-top: 0.75rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fafafa;
}

.response-help-content ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}

.response-help-contact {
  margin-top: 1.25rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.response-submit-busy {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.response-submit-busy[hidden] {
  display: none !important;
}

.response-spinner {
  width: 1rem;
  height: 1rem;
  border: 2px solid #d6d6d6;
  border-top-color: var(--button);
  border-radius: 50%;
  display: inline-block;
  animation: response-spin 0.8s linear infinite;
}

@keyframes response-spin {
  to {
    transform: rotate(360deg);
  }
}

.response-residential-callout {
  margin-top: 0.75rem;
  padding: 0.75rem;
  border: 1px solid #e3b3b3;
  border-radius: 6px;
  background: #fff7f7;
}

@media (min-width: 760px) {
  .top {
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-end;
    gap: 1rem;
    padding: .9rem 0;
  }

  .top-nav-group {
    width: auto;
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    margin-left: 0.5rem;
  }

  .logo-img {
    height: 68px;
    max-width: 420px;
  }

  nav {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    overflow: visible;
    padding-bottom: 0;
  }

  .site-nav-list {
    width: 100%;
  }

  .site-nav-list > li > a {
    margin-right: 0;
    margin-inline-end: 1rem;
    font-size: 1.08rem;
  }

  .site-nav-mobile-extra {
    display: none;
  }

  .site-nav-dd {
    position: relative;
  }

  /* Invisible bridge so the cursor can reach the submenu without losing hover. */
  .site-nav-dd::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 0.65rem;
  }

  .site-nav-caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 0.3rem;
    border-left: 0.28rem solid transparent;
    border-right: 0.28rem solid transparent;
    border-top: 0.34rem solid currentColor;
    vertical-align: 0.12rem;
  }

  .site-nav-submenu {
    display: block;
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 12rem;
    margin: 0;
    padding: 0.45rem 0 0.35rem;
    background: #fff;
    border: 1px solid #d9dddd;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.15s ease, visibility 0.15s ease;
    z-index: 50;
  }

  .site-nav-dd:hover .site-nav-submenu,
  .site-nav-dd:focus-within .site-nav-submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav-submenu a {
    display: block;
    margin: 0;
    padding: 0.55rem 1rem;
    font-size: 1rem;
    font-family: Mulish, sans-serif;
    font-weight: 500;
    color: #2f3733;
    text-decoration: none;
    white-space: nowrap;
  }

  .site-nav-submenu a:hover,
  .site-nav-submenu a[aria-current="page"] {
    background: #f4f4f4;
    color: var(--button);
  }

  .site-nav-submenu a[aria-current="page"] {
    font-weight: 700;
  }

  .header-response-btn {
    flex: 0 0 auto;
    align-self: center;
    margin-left: auto;
  }

  .hero { padding: 2.8rem 0 1.8rem; }

  .secondary-page .secondary-hero,
  main.wrap:not(.home-page) > section.hero {
    padding-top: 3.3rem;
    padding-bottom: 3rem;
  }

  .secondary-page .secondary-content-shell {
    padding: 1.5rem 1.35rem 0.95rem;
  }

  .home-hero {
    padding: 5.2rem 0 4.8rem;
  }

  .home-hero::before {
    background-size: cover, auto 125%;
  }

  .home-hero-grid.has-panel {
    grid-template-columns: minmax(280px, 0.9fr) minmax(440px, 1.7fr);
    gap: 1.4rem;
  }

  .home-hero-numbers {
    position: absolute;
    right: 0;
    bottom: 0;
    margin: 0;
    min-width: min(760px, 100%);
    max-width: 860px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }

  .home-hero-copy {
    padding-bottom: 7.8rem;
  }

  .hero-number-stat {
    flex: 1 1 0;
    padding: 0.45rem 1.15rem;
  }

  .hero-number-stat + .hero-number-stat {
    border-top: none;
    border-left: 1px solid rgba(255, 255, 255, 0.16);
  }

  .home-section {
    padding: 2.5rem 0;
  }

  .home-two-col {
    grid-template-columns: 1fr 1fr;
  }

  .hero-split .hero-left,
  .hero-split .hero-right {
    width: 50%;
  }

  .hero-split .hero-left {
    padding-right: 1.25rem;
    margin-bottom: 0;
  }

  .hero-split .hero-right {
    padding-left: 1.25rem;
  }

  .hero-split .hero-right h1 {
    margin-left: auto;
  }

  .footer-grid {
    grid-template-columns: 1.2fr .9fr 1.9fr;
    align-items: start;
  }

  .footer-col-right {
    text-align: left;
  }

  .card { padding: 1.25rem; margin: 1rem 0; }
  .grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }

  .nls-dig-deeper-services {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1rem 0;
  }

  .response-layout {
    grid-template-columns: minmax(320px, 1fr) minmax(300px, 0.95fr);
    align-items: start;
  }

  .response-initial-layout {
    grid-template-columns: minmax(250px, 0.65fr) minmax(420px, 1.35fr);
    align-items: start;
  }

}


@media (max-width: 700px) {
  .home-hero::before {
    background-image: linear-gradient(to right, rgba(32, 37, 43, 0.95) 0%, rgba(46, 53, 60, 0.86) 70%, rgba(66, 76, 86, 0.58) 100%);
    background-size: cover;
  }

  .home-audience-links {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
  }
}

@media (min-width: 960px) {
  .clients-spotlight-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.25rem 1rem;
    align-items: start;
  }
}

.nls-overview-tip-trigger {
  display: inline-block;
  border-bottom: 1px dotted #666;
  cursor: help;
}

.nls-overview-tip {
  position: fixed;
  z-index: 9999;
  max-width: min(24rem, calc(100vw - 1.5rem));
  padding: 0.55rem 0.65rem;
  border-radius: 0.35rem;
  background: #1f2937;
  color: #fff;
  font-size: 0.84rem;
  line-height: 1.35;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  pointer-events: none;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 120ms ease, transform 120ms ease;
}

.nls-overview-tip.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Levelset alternative / platform vs partnership page */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.comparison-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 1rem 0 0.75rem;
  -webkit-overflow-scrolling: touch;
}

.comparison-table {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
  font-size: 0.95rem;
  line-height: 1.4;
}

.comparison-table th,
.comparison-table td {
  border: 1px solid var(--line);
  padding: 0.7rem 0.85rem;
  text-align: left;
  vertical-align: top;
}

.comparison-table thead th {
  background: rgba(0, 0, 0, 0.04);
  font-weight: 700;
}

.comparison-table tbody th {
  font-weight: 700;
  white-space: nowrap;
}

.comparison-caption {
  margin-top: 0.85rem;
}

.benefit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.benefit-block {
  padding: 0.85rem 0 0;
  border-top: 1px solid var(--line);
}

.benefit-block h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.benefit-block p {
  margin: 0;
}

.process-steps {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
}

.process-steps li {
  margin: 0.45rem 0;
  line-height: 1.45;
}

.alt-quote {
  margin: 0;
  padding: 0;
  border: 0;
}

.alt-quote p {
  margin: 0;
}

.alt-quote footer {
  margin-top: 0.5rem;
}

.alt-quote .quote-attribution {
  display: block;
  text-align: right;
  font-style: italic;
}

.alt-faq-list {
  display: grid;
  gap: 1.1rem;
  margin-top: 0.75rem;
}

.alt-faq-item h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.alt-faq-item p {
  margin: 0;
}

.about-platform-callout {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

@media (min-width: 760px) {
  .benefit-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 1.5rem;
  }

  .benefit-block {
    padding: 0;
    border-top: 0;
  }
}

/* CONTROL book campaign landing */
.control-landing .control-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

.control-landing .control-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.control-landing .control-hero h1 {
  max-width: 18ch;
}

.control-landing .control-hero-lead {
  max-width: 42rem;
  line-height: 1.55;
}

.control-landing .control-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  align-items: center;
  margin: 1.1rem 0 0;
}

.control-landing .control-text-link {
  font-weight: 600;
}

.control-landing .control-hero-cover {
  margin: 0;
  text-align: center;
}

.control-landing .control-hero-cover img {
  display: block;
  width: min(100%, 280px);
  height: auto;
  margin: 0 auto;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.control-landing .control-hero-cover figcaption {
  margin-top: 0.65rem;
  font-size: 0.9rem;
}

.control-landing .control-pain-list {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
}

.control-landing .control-pain-list li {
  margin: 0.4rem 0;
  line-height: 1.45;
}

.control-landing .control-steps {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
}

.control-landing .control-steps li {
  margin: 0.55rem 0;
  line-height: 1.45;
}

.control-landing .control-cite {
  margin-top: 0.85rem;
}

.control-landing .control-quotes-section {
  margin: 1.25rem 0;
  padding: 1.25rem 1.15rem;
  background: #e8e8e8;
  border: 0;
  border-radius: 10px;
  color: #1a1a1a;
}

.control-landing .control-quotes-section h2 {
  margin-top: 0;
  color: #1a1a1a;
}

.control-landing .control-quotes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 0.85rem;
}

.control-landing .control-quote {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #1a1a1a;
}

.control-landing .control-quote p,
.control-landing .control-quote footer,
.control-landing .control-quote cite {
  background: transparent;
  color: #1a1a1a;
}

.control-landing .control-quote p {
  margin: 0;
  line-height: 1.55;
}

.control-landing .control-quote footer,
.control-landing .control-quote-attr {
  margin-top: 0.75rem;
  text-align: left;
  font-style: normal;
  color: #333333;
}

.control-landing .control-quote-attr {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.control-landing .control-quote-name {
  display: block;
  font-weight: 700;
  color: #1a1a1a;
}

.control-landing .control-quote-org {
  display: block;
  font-size: 0.95rem;
  color: #333333;
}

.control-landing .control-secondary-cta {
  margin: 0.65rem 0 0;
  font-size: 0.98rem;
}

.control-landing .control-secondary-cta a {
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.control-landing .control-bridge {
  border-left: 4px solid var(--button, #c45c26);
}

@media (min-width: 760px) {
  .control-landing .control-quotes-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem 2rem;
    align-items: start;
  }

  .control-landing .control-quotes-section {
    padding: 1.5rem 1.5rem;
  }
}

@media (min-width: 860px) {
  .control-landing .control-hero {
    grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.65fr);
    gap: 2rem;
    align-items: center;
  }

  .control-landing .control-hero-cover {
    text-align: right;
  }

  .control-landing .control-hero-cover img {
    margin: 0 0 0 auto;
    width: min(100%, 300px);
  }
}

/* Back-Office Mastery checklist landing */
.mastery-landing .mastery-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

.mastery-landing .mastery-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.mastery-landing .mastery-hero-lead {
  max-width: none;
  line-height: 1.55;
}

.mastery-landing .mastery-hero-supporting {
  margin: 1rem 0 0;
  font-size: 1.08rem;
  line-height: 1.45;
}

.mastery-landing .mastery-stat-callout {
  margin: 0;
  padding: 1.6rem 1.75rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 12px;
  color: #fff;
}

.mastery-landing .mastery-stat-callout p {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 700;
  font-style: italic;
  line-height: 1.45;
}

.mastery-landing .mastery-stat-callout p + p {
  margin-top: 0.65rem;
}

.mastery-landing .mastery-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  align-items: center;
  margin: 1rem 0 0;
}

.mastery-landing .mastery-text-link {
  font-weight: 600;
  color: #fff;
}

.mastery-landing .mastery-opening p {
  max-width: 48rem;
  line-height: 1.55;
}

.mastery-landing .mastery-lifecycle-flow {
  margin: 0.65rem 0 0.85rem;
  font-size: 1.08rem;
  letter-spacing: 0.02em;
}

.mastery-landing .mastery-lifecycle-jump {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 54rem;
  line-height: 1.55;
}

.mastery-landing .mastery-lifecycle-jump li {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  margin: 0;
}

.mastery-landing .mastery-lifecycle-sep {
  color: #666;
  font-weight: 600;
}

.mastery-landing .mastery-lifecycle-extra {
  margin: 0.85rem 0 0;
}

.mastery-landing .mastery-lenses-list {
  margin: 0;
  padding-left: 1.15rem;
}

.mastery-landing .mastery-lenses-list li {
  margin: 0.35rem 0;
  line-height: 1.4;
}

.mastery-landing .mastery-stage,
.mastery-landing .mastery-opening,
.mastery-landing .mastery-lifecycle,
.mastery-landing #watch-sessions,
.mastery-landing #supporting-systems {
  scroll-margin-top: 7.5rem;
}

.mastery-landing .mastery-stage {
  padding: 0;
  overflow: hidden;
}

.mastery-landing .mastery-stage-heading {
  margin: 0;
  padding: 0.85rem 1.15rem;
  background: linear-gradient(118deg, #2a2e33 0%, #555f69 48%, #8997a5 100%);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1.3;
}

.mastery-landing .mastery-stage-body {
  padding: 1rem 1.15rem 1.15rem;
}

.mastery-landing .mastery-stage-lead {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fafafa;
}

.mastery-landing .mastery-stage-lead h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.mastery-landing .mastery-stage-lead p {
  margin: 0;
  line-height: 1.5;
}

.mastery-landing .mastery-stage-lead p + p {
  margin-top: 0.65rem;
}

.mastery-landing .mastery-stage-lead .mastery-lenses-list {
  margin-top: 0.15rem;
}

.mastery-landing .mastery-checklist {
  margin: 0;
  padding-left: 1.25rem;
}

.mastery-landing .mastery-checklist li {
  margin: 0.55rem 0;
  line-height: 1.45;
}

.mastery-landing .mastery-checklist-sub {
  margin: 0.45rem 0 0.25rem;
  padding-left: 1.25rem;
  list-style: decimal;
}

.mastery-landing .mastery-checklist-sub li {
  margin: 0.35rem 0;
}

.mastery-landing .mastery-checklist.is-collapsed .mastery-checklist-extra {
  display: none;
}

.mastery-landing .mastery-checklist-toggle-wrap {
  margin: 0.35rem 0 0;
  padding-left: 1.25rem;
}

.mastery-landing .mastery-checklist-toggle {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  color: var(--button);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.mastery-landing .mastery-checklist-toggle:hover,
.mastery-landing .mastery-checklist-toggle:focus-visible {
  color: var(--hover);
}

.mastery-landing .mastery-checklist-numbered {
  list-style: decimal;
}

.mastery-landing .mastery-support-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.mastery-landing .mastery-support-block h2 {
  margin-top: 0;
  font-size: 1.2rem;
}

.mastery-landing .mastery-support-block h3 {
  margin: 0.15rem 0 0.5rem;
  font-size: 1.2rem;
}

.mastery-landing .mastery-discipline-label {
  margin: 0 0 0.2rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
  color: #555;
}

.mastery-landing .mastery-discipline-tagline {
  margin: 0 0 0.65rem;
}

.mastery-landing .mastery-support-logo {
  min-height: 3.5rem;
  margin: 0 0 0.75rem;
  display: flex;
  align-items: center;
}

.mastery-landing .mastery-support-logo img {
  max-width: 100%;
  max-height: 3.25rem;
  width: auto;
  height: auto;
  object-fit: contain;
}

.mastery-landing .mastery-support-control {
  border-left: 4px solid #c45c26;
  padding-left: 0.85rem;
}

.mastery-landing .mastery-support-nls {
  border-left: 4px solid var(--button);
  padding-left: 0.85rem;
}

.mastery-landing .mastery-support-controlqore {
  border-left: 4px solid #2f5d8c;
  padding-left: 0.85rem;
}

.mastery-landing .mastery-support-contract-coach {
  border-left: 4px solid #3d6b4f;
  padding-left: 0.85rem;
}

.mastery-landing .mastery-video-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
}

.mastery-landing .mastery-video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
  overflow: hidden;
  border-radius: 8px;
}

.mastery-landing .mastery-video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.mastery-landing .mastery-video-card h3 {
  margin: 0.65rem 0 0.25rem;
  font-size: 1.05rem;
}

.mastery-landing .mastery-final-cta {
  border-left: 4px solid var(--button);
}

.mastery-landing .mastery-final-control {
  margin-top: 1rem;
}

@media (min-width: 760px) {
  .mastery-landing .mastery-support-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
  }

  .mastery-landing .mastery-video-gallery {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 880px) {
  .mastery-landing .mastery-hero-grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(240px, 0.7fr);
    gap: 2rem;
    align-items: center;
  }

  .mastery-landing .mastery-stat-callout {
    justify-self: stretch;
  }
}

@media (min-width: 1100px) {
  .mastery-landing .mastery-video-gallery {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* Event landing + registration (e.g. /landing/year-end-starts-before-december/) */
.event-landing .event-landing-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #e7e9ec;
}

.event-landing .event-landing-summary {
  max-width: 62ch;
  font-size: 1.08rem;
  line-height: 1.5;
}

.event-landing .event-landing-facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 1rem 0;
  padding: 0;
}

.event-landing .event-landing-register label {
  display: block;
  margin-bottom: 0.85rem;
}

.event-landing .event-landing-register {
  scroll-margin-top: 7.5rem;
}
