:root {
  --ink: #202020;
  --muted: #686868;
  --soft: #8c8c8c;
  --line: #e5e5e5;
  --paper: #ffffff;
  --cream: #f7f7f5;
  --peach: #fff0e5;
  --orange: #e15a38;
  --orange-deep: #b94a2e;
  --green: #3d7055;
  --shadow: 0 18px 48px rgba(73, 48, 31, 0.08);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
.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; }

.shell { min-height: 100vh; overflow: hidden; }
.topbar {
  width: min(1180px, calc(100% - 48px));
  height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; letter-spacing: -0.03em; }
.brand-mark {
  display: grid; place-items: center; width: 32px; height: 32px;
  background: var(--orange); color: white; border-radius: 50%;
  font-family: Georgia, serif; font-size: 21px; font-weight: 700;
}
.brand span:last-child { font-size: 18px; }
.topnav { display: flex; align-items: center; gap: 30px; color: var(--muted); font-size: 13px; font-weight: 600; }
.topnav a:hover { color: var(--ink); }
.topnav .active { color: var(--ink); }
.contact-link { color: var(--orange-deep) !important; }
.menu-button { display: none; border: 0; background: transparent; color: var(--ink); padding: 8px; }

.hero-wrap { background: var(--cream); border-top: 1px solid rgba(232, 222, 213, .7); border-bottom: 1px solid var(--line); }
.hero {
  width: min(1180px, calc(100% - 48px)); min-height: 440px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: center; gap: 70px;
  padding: 64px 0 70px; position: relative;
}
.hero-copy { max-width: 670px; position: relative; z-index: 1; }
.hero h1 { margin: 0 0 20px; max-width: 720px; font: 600 clamp(44px, 6vw, 76px)/.98 Fraunces, Georgia, serif; letter-spacing: -.055em; }
.hero p { max-width: 540px; margin: 0 0 32px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.searchbox { width: min(620px, 100%); position: relative; }
.searchbox input {
  width: 100%; height: 62px; padding: 0 92px 0 54px; border: 1px solid #ded1c7; border-radius: 13px;
  color: var(--ink); background: rgba(255, 253, 249, .92); outline: none; box-shadow: 0 8px 20px rgba(90, 55, 33, .04);
}
.searchbox input::placeholder { color: #a0948a; }
.searchbox input:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(237, 115, 55, .13); }
.search-icon { position: absolute; left: 20px; top: 20px; color: var(--orange-deep); }
.shortcut { position: absolute; right: 16px; top: 17px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 6px; color: var(--soft); background: white; font-size: 11px; }
.hero-art { position: relative; height: 270px; }
.sun { position: absolute; top: 3px; right: 18px; width: 216px; height: 216px; border-radius: 50%; background: #f9d5a9; opacity: .8; }
.bean { position: absolute; right: 72px; top: 49px; width: 119px; height: 178px; border-radius: 64% 40% 63% 39%; transform: rotate(34deg); background: var(--orange); box-shadow: inset 18px -13px 0 rgba(173, 75, 31, .11), 12px 23px 0 rgba(207, 91, 40, .08); }
.bean::after { content: ""; position: absolute; width: 4px; height: 143px; top: 16px; left: 58px; border-radius: 100%; background: #f8aa71; transform: rotate(-6deg); opacity: .75; }
.art-note { position: absolute; right: 0; bottom: 2px; width: 210px; color: var(--muted); font-size: 12px; line-height: 1.5; text-align: right; }

.main { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 64px 0 100px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 23px; }
.section-head h2 { margin: 0; font: 600 29px/1.1 Fraunces, Georgia, serif; letter-spacing: -.04em; }
.section-head p { margin: 0; color: var(--muted); font-size: 14px; }
.section-link { color: var(--orange-deep); font-size: 13px; font-weight: 700; }
.section-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.path-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.path-card { min-height: 180px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; display: flex; flex-direction: column; justify-content: space-between; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.path-card:hover { transform: translateY(-3px); border-color: #ddcfc4; box-shadow: var(--shadow); }
.path-icon { width: 38px; height: 38px; display: grid; place-items: center; background: var(--peach); border-radius: 11px; color: var(--orange-deep); }
.path-card h3 { margin: 18px 0 7px; font-size: 17px; letter-spacing: -.025em; }
.path-card p { margin: 0; max-width: 240px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.path-arrow { align-self: end; margin-top: 18px; color: var(--orange-deep); font-size: 20px; line-height: 1; }

.feature-section { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; margin-top: 70px; }
.feature-card { border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); color: white; min-height: 340px; position: relative; }
.feature-content { padding: 34px; position: relative; z-index: 1; max-width: 540px; }
.feature-label { color: #f3ad7c; font-size: 11px; text-transform: uppercase; letter-spacing: .13em; font-weight: 700; }
.feature-card h2 { margin: 14px 0 12px; font: 600 34px/1.05 Fraunces, Georgia, serif; letter-spacing: -.04em; }
.feature-card p { max-width: 390px; color: #d1c4bb; font-size: 14px; line-height: 1.6; }
.feature-button { display: inline-flex; align-items: center; gap: 9px; margin-top: 14px; padding: 12px 15px; border: 0; border-radius: 8px; background: var(--orange); color: white; font-size: 13px; font-weight: 700; }
.feature-button:hover { background: #f18348; }
.feature-orbit { position: absolute; width: 280px; height: 280px; border: 1px solid rgba(246, 170, 119, .28); border-radius: 50%; right: -58px; bottom: -100px; }
.feature-orbit::after { content: ""; position: absolute; width: 160px; height: 160px; border: 1px solid rgba(246, 170, 119, .23); border-radius: 50%; top: 60px; left: 60px; }
.feature-bean { position: absolute; width: 76px; height: 116px; right: 100px; top: 83px; border-radius: 64% 40% 63% 39%; transform: rotate(34deg); background: var(--orange); }
.feature-bean::after { content: ""; position: absolute; width: 3px; height: 91px; top: 13px; left: 37px; border-radius: 100%; background: #f8aa71; }
.video-card { padding: 28px; background: var(--peach); border: 1px solid #f1dfd1; border-radius: var(--radius-lg); color: var(--ink); min-height: 340px; display: flex; flex-direction: column; justify-content: space-between; }
.video-card .play { width: 58px; height: 58px; border: 0; border-radius: 50%; background: var(--orange); color: white; display: grid; place-items: center; box-shadow: 0 9px 18px rgba(207, 91, 40, .2); }
.video-card .play:hover { transform: scale(1.04); }
.video-card h3 { margin: 20px 0 9px; font: 600 27px/1.08 Fraunces, Georgia, serif; letter-spacing: -.04em; }
.video-card p { max-width: 290px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.video-duration { color: var(--orange-deep); font-size: 12px; font-weight: 700; }

.library-section { margin-top: 72px; }
.library-list { border-top: 1px solid var(--line); }
.library-row { display: grid; grid-template-columns: 1fr 150px 24px; align-items: center; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.library-row:hover .row-title { color: var(--orange-deep); }
.row-title { font-weight: 700; font-size: 15px; letter-spacing: -.02em; }
.row-description { margin-top: 5px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.row-kind { color: var(--soft); font-size: 12px; }
.row-arrow { color: var(--orange-deep); font-size: 19px; }

.footer { border-top: 1px solid var(--line); background: var(--cream); }
.footer-inner { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 35px 0; display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 12px; }
.footer-inner strong { color: var(--ink); }

/* Article view */
.article-shell { min-height: 100vh; }
.article-top { border-bottom: 1px solid var(--line); }
.article-top .topbar { height: 72px; }
.article-layout { width: min(1180px, calc(100% - 48px)); margin: 0 auto; display: grid; grid-template-columns: 220px minmax(0, 680px) 190px; gap: 56px; padding: 48px 0 100px; }
.article-sidebar { padding-top: 10px; }
.back-home { color: var(--orange-deep); font-size: 13px; font-weight: 700; }
.sidebar-title { margin: 35px 0 12px; color: var(--soft); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.side-link { display: block; padding: 8px 0; color: var(--muted); font-size: 13px; line-height: 1.35; }
.side-link:hover, .side-link.current { color: var(--ink); font-weight: 700; }
.article-main .article-kicker { color: var(--orange-deep); font-size: 12px; font-weight: 700; }
.article-main h1 { margin: 15px 0 16px; font: 600 48px/1.04 Fraunces, Georgia, serif; letter-spacing: -.05em; }
.article-intro { margin: 0 0 34px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.article-meta { display: flex; gap: 18px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--soft); font-size: 12px; }
.article-body { color: #4d4139; font-size: 15px; line-height: 1.75; }
.article-body h2 { margin: 42px 0 10px; color: var(--ink); font: 600 27px/1.15 Fraunces, Georgia, serif; letter-spacing: -.035em; }
.article-body h3 { margin: 30px 0 6px; color: var(--ink); font-size: 16px; }
.article-body p { margin: 0 0 18px; }
.article-body ul, .article-body ol { padding-left: 22px; margin: 12px 0 22px; }
.article-body li { margin: 7px 0; }
.callout { margin: 28px 0; padding: 19px 21px; background: var(--peach); border-left: 3px solid var(--orange); border-radius: 0 10px 10px 0; color: #644b3d; }
.copy-block { margin: 24px 0; padding: 23px; background: var(--cream); border-radius: 13px; color: var(--ink); }
.copy-block strong { display: block; margin-bottom: 9px; font-size: 11px; text-transform: uppercase; letter-spacing: .11em; color: var(--orange-deep); }
.toc { padding-top: 78px; position: sticky; top: 24px; align-self: start; }
.toc-title { margin-bottom: 13px; color: var(--soft); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .11em; }
.toc a { display: block; margin: 10px 0; color: var(--muted); font-size: 12px; line-height: 1.4; }
.toc a:hover { color: var(--orange-deep); }
.helpful { margin-top: 58px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 13px; }
.helpful-actions { display: flex; gap: 8px; }
.helpful button { padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--muted); }
.helpful button:hover, .helpful button.selected { border-color: var(--orange); color: var(--orange-deep); background: var(--peach); }

.search-results { display: none; width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 46px 0 100px; }
.search-results.visible { display: block; }
.search-results h1 { margin: 0 0 22px; font: 600 40px Fraunces, Georgia, serif; letter-spacing: -.045em; }
.result-list { max-width: 800px; border-top: 1px solid var(--line); }
.result { display: block; padding: 20px 0; border-bottom: 1px solid var(--line); }
.result:hover h2 { color: var(--orange-deep); }
.result h2 { margin: 0 0 5px; font-size: 17px; }
.result p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.result-kind { display: inline-block; margin-top: 10px; color: var(--orange-deep); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }

.toast { position: fixed; right: 24px; bottom: 24px; padding: 13px 16px; border-radius: 9px; background: var(--ink); color: white; box-shadow: var(--shadow); font-size: 13px; transform: translateY(20px); opacity: 0; pointer-events: none; transition: .22s ease; z-index: 20; }
.toast.show { transform: translateY(0); opacity: 1; }

@media (max-width: 850px) {
  .topbar, .hero, .main, .article-layout, .search-results, .footer-inner { width: min(100% - 36px, 680px); }
  .topnav { display: none; position: absolute; top: 62px; right: 0; z-index: 10; width: 210px; padding: 14px 16px; flex-direction: column; align-items: stretch; gap: 0; background: white; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
  .topnav.open { display: flex; }
  .topnav a { padding: 10px 0; }
  .menu-button { display: block; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 20px; padding: 54px 0 44px; }
  .hero-art { height: 130px; margin-top: -10px; }
  .sun { width: 120px; height: 120px; right: 65px; }
  .bean { width: 72px; height: 110px; right: 85px; top: 9px; }
  .bean::after { height: 88px; left: 35px; }
  .art-note { right: 0; bottom: 4px; width: 170px; font-size: 11px; }
  .path-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-section { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; gap: 22px; padding-top: 30px; }
  .article-sidebar { display: none; }
  .toc { display: none; }
}
@media (max-width: 520px) {
  .topbar { height: 68px; }
  .hero h1 { font-size: 48px; }
  .hero p { font-size: 15px; }
  .searchbox input { height: 56px; padding-left: 47px; }
  .search-icon { top: 17px; left: 16px; }
  .shortcut { display: none; }
  .path-grid { grid-template-columns: 1fr; }
  .path-card { min-height: 150px; }
  .section-head { align-items: start; flex-direction: column; gap: 9px; }
  .feature-content { padding: 27px; }
  .feature-card h2 { font-size: 30px; }
  .video-card { min-height: 280px; }
  .library-row { grid-template-columns: 1fr 20px; gap: 8px; }
  .row-kind { display: none; }
  .footer-inner { flex-direction: column; }
  .article-main h1 { font-size: 39px; }
  .article-intro { font-size: 15px; }
  .helpful { align-items: flex-start; flex-direction: column; }
}

/* Blume-aligned public hub pass: quiet chrome, true-white canvas, and open list rhythm. */
.top-search {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 112px;
  height: 38px;
  padding: 0 10px 0 13px;
  border: 1px solid #e5e5e5;
  border-radius: 20px;
  background: #fff;
  color: #777;
  font-size: 12px;
}
.top-search:hover { border-color: #c8c8c8; color: var(--ink); }
.top-search .shortcut { position: static; margin-left: auto; padding: 0; border: 0; color: #aaa; background: none; }
.hero-wrap { background: #fff; }
.hero { min-height: 412px; padding: 68px 0 78px; }
.hero h1 { max-width: 690px; font: 600 clamp(46px, 6vw, 72px)/1.04 "DM Sans", ui-sans-serif, system-ui, sans-serif; letter-spacing: -.06em; }
.hero p { max-width: 500px; }
.hero-note { align-self: end; max-width: 250px; padding-bottom: 6px; color: var(--muted); }
.hero-note-label { margin-bottom: 15px; color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: .13em; }
.hero-note p { margin: 0 0 20px; font-size: 13px; line-height: 1.65; }
.hero-note a { display: inline-flex; align-items: center; gap: 8px; color: var(--orange-deep); font-size: 13px; font-weight: 700; }
.hero-note a:hover { text-decoration: underline; text-underline-offset: 4px; }
.path-card { min-height: 194px; padding: 25px; border-radius: 12px; }
.path-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; color: var(--soft); font-size: 11px; }
.path-number { padding: 4px 7px; border: 1px solid #f2ddd5; border-radius: 5px; color: var(--orange-deep); background: #fff7f3; font-family: ui-monospace, SFMono-Regular, monospace; }
.path-type { letter-spacing: .08em; }
.path-icon { display: none; }
.path-card h3 { margin: 0 0 9px; font-size: 20px; font-weight: 600; letter-spacing: -.04em; }
.path-card p { min-height: 40px; }
.feature-section { margin-top: 64px; }
.feature-card, .video-card { border-radius: 12px; }
.feature-card h2, .video-card h3, .section-head h2, .search-results h1, .article-main h1, .article-body h2 { font-family: "DM Sans", ui-sans-serif, system-ui, sans-serif; }
.feature-card h2 { font-weight: 600; letter-spacing: -.05em; }
.video-card h3 { font-weight: 600; letter-spacing: -.04em; }
.library-section { margin-top: 66px; }
.library-row { padding: 22px 0; }
.article-main h1 { font-weight: 600; }

@media (max-width: 850px) {
  .top-search { display: none; }
  .hero { padding: 54px 0 48px; }
  .hero-note { max-width: 340px; }
}

/* Rich article blocks: reusable media and related-resource patterns for the partner library. */
.media-embed {
  display: grid;
  grid-template-columns: minmax(210px, .88fr) 1.12fr;
  margin: 32px 0 40px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f7f7f5;
}
.media-visual {
  min-height: 235px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #262626;
  color: white;
}
.media-visual::before,
.media-visual::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
}
.media-visual::before { width: 310px; height: 310px; right: -138px; bottom: -166px; }
.media-visual::after { width: 210px; height: 210px; right: -86px; bottom: -112px; }
.media-orbit { position: absolute; width: 92px; height: 150px; border-radius: 64% 40% 63% 39%; transform: rotate(34deg); background: var(--orange); box-shadow: inset 12px -10px 0 rgba(175, 72, 40, .25); }
.media-orbit::after { content: ""; position: absolute; left: 45px; top: 12px; width: 3px; height: 125px; border-radius: 50%; background: #f5a173; transform: rotate(-6deg); }
.media-mark { position: relative; z-index: 1; font: 700 20px Georgia, serif; opacity: .96; }
.media-play { position: absolute; z-index: 2; left: 22px; bottom: 22px; width: 45px; height: 45px; display: grid; place-items: center; border: 0; border-radius: 50%; background: white; color: var(--ink); box-shadow: 0 5px 16px rgba(0, 0, 0, .15); }
.media-play:hover { color: var(--orange-deep); transform: scale(1.04); }
.media-duration { position: absolute; right: 18px; bottom: 22px; color: rgba(255, 255, 255, .7); font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.media-copy { display: flex; flex-direction: column; justify-content: center; padding: 30px; }
.media-eyebrow, .related-kind { color: var(--orange-deep); font-size: 10px; font-weight: 700; letter-spacing: .11em; }
.media-copy h3 { margin: 13px 0 9px; color: var(--ink); font-size: 22px; line-height: 1.15; letter-spacing: -.04em; }
.media-copy p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.embed-action { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: 20px; padding: 0; border: 0; background: transparent; color: var(--orange-deep); font-size: 12px; font-weight: 700; }
.embed-action:hover { text-decoration: underline; text-underline-offset: 4px; }
.media-embed.is-playing .media-play { background: var(--orange); color: white; }
.media-embed.is-playing .media-visual { background: #33231e; }

.related-block { margin: 42px 0 12px; padding-top: 22px; border-top: 1px solid var(--line); }
.related-heading { margin-bottom: 14px; color: var(--soft); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.related-link { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 108px; padding: 17px 16px; border: 1px solid var(--line); border-radius: 9px; background: white; }
.related-link:hover { border-color: #cfcfcf; }
.related-link:hover strong { color: var(--orange-deep); }
.related-link > span:first-child { display: flex; flex-direction: column; gap: 6px; }
.related-link strong { color: var(--ink); font-size: 14px; line-height: 1.2; letter-spacing: -.02em; }
.related-link small { color: var(--muted); font-size: 11px; line-height: 1.35; }
.related-arrow { flex: 0 0 auto; color: var(--orange-deep); }

@media (max-width: 620px) {
  .media-embed { grid-template-columns: 1fr; }
  .media-visual { min-height: 190px; }
  .media-copy { padding: 24px; }
  .related-grid { grid-template-columns: 1fr; }
}
