@import url('https://fonts.googleapis.com/css2?family=Calistoga&family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
  --ha-ink: #06283a;
  --ha-text: #1b2024;
  --ha-paper: #ffffff;
  --ha-white: #fff;
  --ha-line: #dedbd2;
  --ha-lavender: #f3e3e6;
  --ha-pink: #7b3547;
  --ha-plum: #4a0815;
  --ha-asterisk: #d7addf;
}

html { background: #ffffff; }
body { background: #ffffff; color: var(--ha-ink); font-family: Montserrat, system-ui, sans-serif; }
h1, h2, h3 { letter-spacing: 0; }
body h1, .article-body h2, .article-close h2, .article h2, .takeaway h2, .blog-library h2 { color: var(--ha-ink); font-family: Calistoga, Georgia, serif; font-weight: 400; }

body > header { position: sticky; z-index: 100; top: 0; padding: 0; background: #ffffff; box-shadow: none; backdrop-filter: none; transform: none; }
body > header .nav, body > header nav { width: min(1500px, calc(100% - 40px)); min-height: 78px; margin: 0 auto; padding: 0; }
body > header .nav { border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.brand { color: var(--ha-ink); font-family: Montserrat, system-ui, sans-serif; font-size: 1.35rem; font-weight: 800; text-decoration: none; }
.brand .mark { display: none; }
.brand-lockup { display: block; }
.brand-lockup strong { color: var(--ha-ink); font: inherit; }
.brand .brand-lockup strong::after { content: "*"; color: var(--ha-asterisk); }
.brand-lockup small { display: none; }
.nav-links { gap: 26px; font-size: .88rem; letter-spacing: 0; text-transform: none; }
.nav-links a, .resources-trigger { color: var(--ha-ink); font-family: Montserrat, system-ui, sans-serif; font-size: .88rem; font-weight: 700; }
.nav-cta .btn { min-height: 46px; padding: 0 22px; border: 1px solid var(--ha-ink); background: transparent; color: var(--ha-ink); font-size: .88rem; letter-spacing: 0; text-transform: none; }
.menu { background: var(--ha-ink); color: white; }
.resources-panel { border: 1px solid var(--ha-line); background: var(--ha-white); }
.btn, .btn-dark, a.btn { border: 1px solid var(--ha-ink); border-radius: 999px; background: transparent; color: var(--ha-ink); font-family: Montserrat, system-ui, sans-serif; font-weight: 800; }
.btn:hover, .btn-dark:hover, a.btn:hover { border-color: var(--ha-plum); background: var(--ha-plum); color: #fff; }

.blog-hero, .article-hero, .hero { background: var(--ha-white); color: var(--ha-ink); }
.blog-page .blog-hero { background: var(--ha-white); }
.blog-hero .inner, .article-hero .inner, .hero-inner { width: min(1500px, calc(100% - 40px)); }
.article-hero .inner { width: min(1500px, calc(100% - 40px)); }
.blog-hero, .article-hero { margin-top: 0; padding-top: clamp(44px, 5vw, 68px); padding-bottom: clamp(34px, 4vw, 52px); border: 0; }
.article-hero { padding-bottom: 22px; }
.blog-hero h1, .article-hero h1, .hero h1 { color: var(--ha-ink); font-family: Calistoga, Georgia, serif; font-weight: 400; letter-spacing: 0; }
.blog-hero h1 { max-width: 18ch; font-size: clamp(2.25rem, 4vw, 4rem); line-height: 1.06; }
.article-hero h1 { max-width: 24ch; font-size: clamp(2.2rem, 3.5vw, 3.6rem); line-height: 1.08; }
.blog-hero p, .article-hero .dek, .hero-copy { color: var(--ha-text); }
.breadcrumb, .breadcrumb a, .article-byline { color: var(--ha-text); }

.blog-library, .article-layout, .article { background: var(--ha-white); }
.resource-library { align-items: stretch; }
.featured-article, .resource-tile { border: 0; border-radius: 14px; background: var(--ha-paper); box-shadow: none; }
.blog-page .featured-article { background: var(--ha-plum); color: white; }
.blog-page .featured-article h2 { color: white; }
.blog-page .featured-article .article-meta { color: #e9cbd2; }
.blog-page .featured-article .feature-copy > p:not(.article-meta) { color: rgba(255,244,246,.8); }
.blog-page .featured-article .btn { border-color: white; background: white; color: var(--ha-plum); }
.blog-page .resource-guides { background: #f6eef0; }
.feature-copy h2 { max-width: 22ch; font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.08; }
.resource-tile h2 { max-width: 20ch; font-size: clamp(1.55rem, 2.3vw, 2.25rem); line-height: 1.1; }
.article-meta, .context { color: var(--ha-pink); font-weight: 800; }
.blog-note { padding-top: 18px; border: 0; color: var(--ha-text); }

.article-layout { width: min(1600px, calc(100% - 64px)); display: grid; grid-template-columns: minmax(0,940px) minmax(260px,320px); gap: clamp(72px,8vw,150px); align-items: start; justify-content: space-between; margin-top: 10px; }
.toc { grid-column: 2; grid-row: 1; position: sticky; top: 108px; width: 100%; margin: 0; padding: 24px 26px; border: 1px solid rgba(6,40,58,.12); border-radius: 12px; background: var(--ha-white); color: var(--ha-text); }
.toc div { display: grid; gap: 2px; }
.toc a { color: var(--ha-text); }
.article-body { grid-column: 1; grid-row: 1; width: 100%; max-width: 940px; color: var(--ha-text); }
.article-body p { font-size: .9rem; line-height: 1.68; }
.article-body li { font-size: .9rem; line-height: 1.62; }
.article-body .lead-paragraph { color: var(--ha-ink); }
.article-body h2, .article h2 { margin-top: 58px; font-size: clamp(1.65rem, 2.4vw, 2.3rem); line-height: 1.14; }
.article-body h3 { margin-top: 38px; color: var(--ha-plum); font-family: Montserrat, system-ui, sans-serif; font-size: clamp(1.18rem,1.6vw,1.45rem); }
.article-body .plum-link { color: var(--ha-plum); font-weight: 700; text-decoration: none; }
.article-body .plum-link:hover { text-decoration: none; }
.article-body .lead-paragraph .plum-link { color: var(--ha-ink); }
.source-list { border: 0; color: #7a858b; }
.source-list a { color: #7a858b; text-decoration-color: rgba(122,133,139,.45); }
.source-list li { font-size: .84rem; }
.article-close { background: var(--ha-lavender); color: var(--ha-ink); }
.article-close .inner { width: min(1600px, calc(100% - 64px)); grid-template-columns: minmax(0, 860px) max-content; justify-content: space-between; gap: clamp(64px,8vw,150px); }
.article-close h2 { color: var(--ha-ink); font-size: clamp(2rem, 3.5vw, 3.5rem); }
.article-close p { color: var(--ha-text); }
.article-close .btn, .article-close .btn-dark { border-color: var(--ha-plum); background: var(--ha-plum); color: white; }

.hero blockquote { border: 0; background: transparent; color: var(--ha-plum); }
.outcomes { background: var(--ha-plum); }
.article { color: var(--ha-text); }
.article .lead { color: var(--ha-ink); }
.pressure, .takeaway { border: 1px solid var(--ha-line); border-radius: 8px; background: var(--ha-lavender); color: var(--ha-ink); }
.process-list li span { background: transparent; color: var(--ha-plum); }

body > footer { border: 0; background: var(--ha-white); color: var(--ha-ink); }
body > footer .foot { width: min(1180px, calc(100% - 40px)); }
body > footer .mark { display: none; }
body > footer p, body > footer a { color: var(--ha-text); }
body > footer .copyright { border: 0; color: var(--ha-text); }
.article-byline { margin-top: 22px; }
.article-page .toc { margin-bottom: 0; }
.article-page, .article-page main, .article-page .article-hero, .article-page .article-layout, .article-page .article-body { background: #ffffff; }
.case-study-page, .case-study-page main, .case-study-page .hero, .case-study-page .article { background: #fff; }
.blog-page, .blog-page main, .blog-page .blog-library { background: #ffffff; }
.blog-page .blog-hero { background: var(--ha-white); }
.case-study-page .hero-inner { width: min(1180px, calc(100% - 40px)); margin-inline: auto; text-align: left; }
.case-study-page .hero h1 { max-width: 20ch; font-size: clamp(2.15rem, 3.5vw, 3.6rem); line-height: 1.08; }
.case-study-page .hero-copy { font-size: .96rem; line-height: 1.7; }
.case-study-page blockquote { font-size: clamp(1.25rem, 2vw, 1.75rem); }
.case-study-page .article { width: min(920px, calc(100% - 40px)); margin-inline: auto; text-align: left; }
.case-study-page .article h2 { margin-top: 54px; font-size: clamp(1.55rem, 2.3vw, 2.15rem); line-height: 1.16; }
.case-study-page .article h3 { font-size: 1.2rem; }
.case-study-page .article p, .case-study-page .process-list li { font-size: .9rem; line-height: 1.68; }
.case-study-page .article .lead { font-size: 1.04rem; line-height: 1.65; }
.case-study-page .pressure strong { font-size: 1.15rem; }

.site-footer { padding: 64px 0 24px; background: #25070d; color: rgba(255,244,246,.76); }
.site-footer .footer-shell { width: min(1500px, calc(100% - 40px)); margin: 0 auto; }
.site-footer .footer-grid { display: grid; grid-template-columns: minmax(280px,1.5fr) repeat(3,minmax(150px,.7fr)); gap: clamp(38px,5vw,80px); padding-bottom: 48px; }
.site-footer .footer-brand { color: white; font-size: 1.2rem; font-weight: 800; text-decoration: none; }
.site-footer .footer-intro { max-width: 360px; margin: 14px 0 0; color: rgba(255,244,246,.76); font-size: .9rem; }
.site-footer .footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.site-footer .footer-column h3 { margin: 0 0 8px; color: white; font-family: Montserrat,system-ui,sans-serif; font-size: .8rem; font-weight: 800; }
.site-footer .footer-column a { color: rgba(255,244,246,.76); font-size: .86rem; text-decoration: none; overflow-wrap: anywhere; }
.site-footer .footer-column a:hover { color: white; }
.site-footer .footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid rgba(255,226,232,.18); color: rgba(255,244,246,.62); font-size: .76rem; }

@media (max-width: 760px) {
  body > header .nav, body > header nav { width: calc(100% - 28px); }
  .brand { font-size: 1.2rem; }
  .nav-links { background: var(--ha-paper); }
  .blog-hero, .article-hero { padding-top: 64px; }
  .article-layout, .blog-hero .inner, .article-hero .inner, .hero-inner { width: calc(100% - 28px); }
  .article-layout { display: block; }
  .article-page .toc { position: static; margin-bottom: 36px; padding: 20px; }
  .article-close .inner { width: calc(100% - 28px); grid-template-columns: 1fr; }
  .site-footer .footer-shell { width: calc(100% - 28px); }
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; }
  .site-footer .footer-grid > div:first-child { grid-column: 1 / -1; }
  .site-footer .footer-bottom { flex-direction: column; }
}

@media (min-width: 761px) and (max-width: 1040px) {
  .article-layout { width: calc(100% - 40px); grid-template-columns: minmax(0,1fr) 240px; gap: 44px; }
  .toc { padding: 20px; }
  .article-close .inner { width: calc(100% - 40px); grid-template-columns: minmax(0,1fr) max-content; gap: 44px; }
}
