:root {
  --ink: #14202b;
  --muted: #607180;
  --line: #dfe7ec;
  --paper: #ffffff;
  --soft: #f4f7f9;
  --navy: #0d2b45;
  --blue: #1263a0;
  --blue-2: #1d78b8;
  --accent: #f59e0b;
  --accent-dark: #d78300;
  --shadow: 0 18px 50px rgba(13, 43, 69, .10);
  --radius: 18px;
  --container: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--soft); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.65; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--accent-dark); }
img { max-width: 100%; height: auto; }
.container { width: min(calc(100% - 36px), var(--container)); margin-inline: auto; }
.screen-reader-text, .skip-link:not(:focus) { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; z-index: 9999; top: 12px; left: 12px; background: #fff; padding: 10px 14px; border-radius: 8px; }

.utility-bar { background: #081e31; color: #b9cad8; font-size: 12px; letter-spacing: .02em; }
.utility-inner { min-height: 35px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.utility-inner ul { display: flex; gap: 18px; margin: 0; padding: 0; list-style: none; }
.utility-inner a { color: #d7e3eb; }
.site-header { background: var(--paper); position: relative; z-index: 50; box-shadow: 0 1px 0 var(--line); }
.header-main { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; background: var(--blue); color: #fff; border-radius: 10px; transform: skew(-7deg); }
.site-brand strong { display: block; font-size: 23px; line-height: 1.1; }
.site-brand small { display: block; color: var(--muted); font-size: 11px; margin-top: 4px; }
.custom-logo { max-height: 58px; width: auto; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 10px; font-weight: 800; font-size: 14px; border: 1px solid transparent; transition: .2s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--accent); color: #1a2430; }
.button-primary:hover { background: #ffb01f; color: #111; }
.button-light { background: #fff; color: var(--navy); }
.button-light:hover { background: #eef5f9; color: var(--navy); }
.button-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.nav-shell { border-top: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 54px; }
.primary-menu { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.primary-menu li { position: relative; }
.primary-menu a { display: block; padding: 16px 12px; color: #263947; font-weight: 750; font-size: 14px; }
.primary-menu > li:hover > a { color: var(--blue); }
.primary-menu .sub-menu { position: absolute; min-width: 230px; top: 100%; left: 0; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 12px; padding: 8px; list-style: none; display: none; }
.primary-menu li:hover > .sub-menu, .primary-menu li:focus-within > .sub-menu { display: block; }
.primary-menu .sub-menu a { padding: 10px 12px; border-radius: 8px; }
.primary-menu .sub-menu a:hover { background: var(--soft); }
.header-search-toggle { border: 0; background: transparent; color: var(--ink); font-weight: 800; cursor: pointer; padding: 12px; }
.header-search-panel { background: var(--soft); border-top: 1px solid var(--line); padding: 15px 0; }
.search-form { display: flex; gap: 8px; width: 100%; }
.search-form label { flex: 1; }
.search-field { width: 100%; min-height: 46px; border: 1px solid #cbd8e0; border-radius: 10px; padding: 0 14px; background: #fff; font: inherit; }
.search-submit { min-height: 46px; border: 0; border-radius: 10px; padding: 0 18px; background: var(--blue); color: #fff; font-weight: 800; cursor: pointer; }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.menu-toggle > span:not(.screen-reader-text) { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; }

.hero { overflow: hidden; position: relative; color: #fff; background: linear-gradient(120deg, #0b2942 0%, #0e3f66 55%, #1263a0 100%); }
.hero::after { content: ""; position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to left, #000, transparent 70%); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; min-height: 600px; display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 70px; padding-block: 64px; }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .13em; font-size: 12px; font-weight: 900; color: #b8ddf4; margin-bottom: 12px; }
.eyebrow.dark { color: var(--blue); }
.hero h1 { margin: 0; max-width: 790px; font-size: clamp(42px, 5.3vw, 72px); line-height: .99; letter-spacing: -.045em; }
.hero-copy > p { max-width: 750px; font-size: 19px; color: #d9e8f1; margin: 24px 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-search { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.22); max-width: 690px; }
.hero-search > span { display: block; font-size: 12px; font-weight: 800; color: #c8dbe8; margin-bottom: 8px; }
.hero-search .search-field { border: 0; }
.hero-search .search-submit { background: var(--accent); color: #17222c; }
.hero-panel { position: relative; min-height: 430px; border: 1px solid rgba(255,255,255,.23); border-radius: 22px; background: rgba(3, 24, 41, .36); backdrop-filter: blur(10px); padding: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; box-shadow: 0 30px 70px rgba(0,0,0,.22); }
.blueprint-grid { position: absolute; inset: 0; border-radius: inherit; opacity: .35; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 24px 24px; }
.hero-stat { position: relative; z-index: 1; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.14); border-radius: 15px; padding: 22px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 160px; }
.hero-stat strong { font-size: 23px; }
.hero-stat span { color: #d6e4ed; font-size: 13px; }

.section { padding: 78px 0; }
.section-white { background: #fff; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 34px; }
.section-heading h2 { margin: 0; font-size: clamp(30px, 4vw, 46px); line-height: 1.08; letter-spacing: -.03em; }
.section-heading > p { max-width: 560px; color: var(--muted); margin: 0; }
.section-heading.inverse h2, .section-heading.inverse p { color: #fff; }
.discipline-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.discipline-card { min-height: 190px; border: 1px solid var(--line); background: #fff; border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; color: var(--ink); transition: .22s ease; }
.discipline-card:hover { transform: translateY(-4px); border-color: #b8cfdd; box-shadow: var(--shadow); color: var(--ink); }
.discipline-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: #eaf4fa; color: var(--blue); font-size: 22px; font-weight: 900; margin-bottom: auto; }
.discipline-card strong { font-size: 18px; margin: 16px 0 5px; }
.discipline-card > span:last-child { color: var(--muted); font-size: 13px; }

.resource-band { background: #102d44; color: #fff; position: relative; overflow: hidden; }
.resource-band::before { content: ""; position: absolute; width: 420px; height: 420px; border: 90px solid rgba(255,255,255,.04); border-radius: 50%; right: -120px; top: -170px; }
.resource-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.resource-card { min-height: 150px; display: flex; align-items: center; gap: 16px; padding: 22px; background: #173b57; border: 1px solid #2b506b; border-radius: 16px; color: #fff; }
.resource-card:hover { background: #1b4666; color: #fff; transform: translateY(-2px); }
.resource-card > span { display: grid; place-items: center; flex: 0 0 48px; width: 48px; height: 48px; border-radius: 12px; background: var(--accent); color: #16232c; font-size: 22px; font-weight: 900; }
.resource-card strong, .resource-card small { display: block; }
.resource-card strong { font-size: 18px; }
.resource-card small { color: #bcd1df; margin-top: 5px; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-grid.two-col { grid-template-columns: repeat(2, 1fr); }
.post-card { border: 1px solid var(--line); background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 8px 28px rgba(13,43,69,.05); }
.post-card-media { aspect-ratio: 16/9; display: block; background: linear-gradient(135deg, #dfeaf0, #f4f7f9); overflow: hidden; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.post-card:hover .post-card-media img { transform: scale(1.025); }
.post-placeholder { width: 100%; height: 100%; display: grid; place-items: center; font-size: 52px; font-weight: 900; color: #9fb3c0; }
.post-card-body { padding: 20px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; font-weight: 900; color: #7b8d99; }
.post-meta a { color: var(--blue); }
.post-card h3 { font-size: 21px; line-height: 1.25; margin: 10px 0; }
.post-card h3 a { color: var(--ink); }
.post-card p { color: var(--muted); font-size: 14px; }
.text-link { font-weight: 900; font-size: 14px; }

.split-section { background: var(--soft); }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.split-card { min-height: 360px; border-radius: 24px; padding: 38px; border: 1px solid var(--line); position: relative; overflow: hidden; }
.split-card h2 { font-size: 38px; line-height: 1.05; margin: 5px 0 16px; }
.split-card p { max-width: 570px; color: var(--muted); }
.industry-card { background: #fff; }
.home-card { background: #eef6ef; }
.link-stack { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; margin-top: 28px; }
.link-stack a { font-weight: 850; }
.membership-cta { background: linear-gradient(120deg, #0b2942, #1263a0); color: #fff; padding: 58px 0; }
.membership-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.membership-inner h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.05; margin: 0 0 12px; max-width: 760px; }
.membership-inner p { color: #d7e8f3; max-width: 760px; margin: 0; }

.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 42px; align-items: start; }
.archive-header { margin-bottom: 32px; }
.archive-header h1, .article-header h1 { margin: 0; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.05; letter-spacing: -.035em; }
.archive-description { color: var(--muted); max-width: 760px; }
.sidebar { display: grid; gap: 18px; position: sticky; top: 24px; }
.sidebar-card, .widget { background: var(--soft); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.sidebar-card h3, .widget-title { margin-top: 0; }
.sidebar-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.sidebar-links a { display: block; padding: 8px 0; border-bottom: 1px solid var(--line); font-weight: 800; }
.pagination { margin-top: 34px; }
.nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.page-numbers { padding: 9px 13px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.page-numbers.current { background: var(--navy); color: #fff; border-color: var(--navy); }
.narrow-content { max-width: 900px; }
.article-content { background: #fff; }
.article-header { margin-bottom: 28px; }
.article-header .post-meta { margin-bottom: 13px; }
.article-byline { color: var(--muted); }
.article-hero-image { margin: 0 0 30px; border-radius: 18px; overflow: hidden; }
.article-hero-image img { display: block; width: 100%; }
.entry-content { font-family: Georgia, Cambria, "Times New Roman", serif; font-size: 18px; color: #26343e; }
.entry-content h2, .entry-content h3, .entry-content h4 { font-family: Inter, ui-sans-serif, system-ui, sans-serif; color: var(--ink); line-height: 1.2; margin-top: 1.7em; }
.entry-content h2 { font-size: 34px; }
.entry-content h3 { font-size: 26px; }
.entry-content a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry-content table { width: 100%; border-collapse: collapse; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 14px; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 12px; }
.entry-content blockquote { margin: 1.5em 0; border-left: 4px solid var(--accent); padding: 10px 20px; background: var(--soft); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.tag-list a { background: var(--soft); border-radius: 999px; padding: 7px 11px; font-size: 12px; }
.post-nav { margin: 30px 0; padding-top: 22px; border-top: 1px solid var(--line); }
.comments-area { border-top: 1px solid var(--line); margin-top: 30px; padding-top: 20px; }

.member-shell { background: linear-gradient(120deg, #0b2942, #1263a0); min-height: 70vh; color: #fff; }
.member-header { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 24px; }
.member-header h1 { margin: 0; font-size: 46px; }
.member-dashboard-card { background: #fff; color: var(--ink); border-radius: 24px; padding: 30px; box-shadow: 0 30px 70px rgba(0,0,0,.22); }
.member-login { max-width: 620px; margin: 0 auto; }
.social-login-wrap { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.member-welcome { display: flex; align-items: center; gap: 16px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.member-avatar img { border-radius: 50%; }
.member-welcome h2 { margin: 2px 0; }
.member-welcome p, .member-welcome span { margin: 0; color: var(--muted); }
.member-quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 24px 0; }
.member-quick-grid a { min-height: 120px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 9px; border: 1px solid var(--line); background: var(--soft); border-radius: 15px; color: var(--ink); text-align: center; }
.member-quick-grid strong { font-size: 25px; color: var(--blue); }
.member-plugin-area { border-top: 1px solid var(--line); padding-top: 24px; }

.site-footer { background: #071b2c; color: #bacad5; padding: 58px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 38px; }
.site-footer h2, .site-footer h3 { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #d3e1e9; }
.site-footer a:hover { color: #fff; }
.footer-bottom { margin-top: 42px; padding-top: 18px; border-top: 1px solid #1e3546; display: flex; justify-content: space-between; gap: 20px; font-size: 12px; }
.error-page { max-width: 760px; text-align: center; }
.error-page h1 { font-size: 50px; }
.error-page .search-form { margin: 24px 0; }

@media (max-width: 1020px) {
  .utility-bar { display: none; }
  .menu-toggle { display: block; }
  .header-actions .button { display: none; }
  .nav-inner { min-height: 0; display: block; }
  .primary-nav { display: none; }
  .primary-nav.is-open { display: block; }
  .primary-menu { flex-direction: column; align-items: stretch; padding: 8px 0 14px; }
  .primary-menu a { padding: 11px 6px; }
  .primary-menu .sub-menu { position: static; box-shadow: none; display: block; border: 0; padding-left: 16px; }
  .header-search-toggle { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; min-height: auto; }
  .hero-panel { min-height: 300px; }
  .discipline-grid, .resource-grid { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .content-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 24px), var(--container)); }
  .header-main { min-height: 72px; }
  .site-brand small { display: none; }
  .section { padding: 56px 0; }
  .hero-grid { padding-block: 50px; }
  .hero h1 { font-size: 44px; }
  .hero-copy > p { font-size: 17px; }
  .hero-panel { grid-template-columns: 1fr 1fr; padding: 16px; }
  .hero-stat { min-height: 128px; padding: 14px; }
  .hero-stat strong { font-size: 18px; }
  .section-heading { display: block; }
  .section-heading > p, .section-heading > .text-link { margin-top: 14px; display: inline-block; }
  .discipline-grid, .resource-grid, .post-grid, .post-grid.two-col, .split-grid, .footer-grid, .member-quick-grid { grid-template-columns: 1fr; }
  .split-card { min-height: 0; padding: 28px; }
  .membership-inner, .member-header { align-items: flex-start; flex-direction: column; }
  .footer-bottom { flex-direction: column; }
  .entry-content { font-size: 17px; }
  .member-dashboard-card { padding: 20px; }
}
