/* Shared frontend/editor design tokens and native block components. */
:root, .editor-styles-wrapper {
 --nb-ink: #182b2e; --nb-paper: #f8f5ed; --nb-surface: #eeede6;
 --nb-accent: #086b62; --nb-muted: #526361; --nb-border: #d3d9d2;
 --nb-header: #214c58; --nb-dark: #102530; --nb-light: #f8f5ed; --nb-turquoise: #37d9c7;
 --nb-container: 1360px; --nb-reading: 760px;
 --nb-gutter: clamp(22px, 4vw, 64px); --nb-section: clamp(48px, 5.25vw, 84px);
 --nb-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
body, .editor-styles-wrapper { background: var(--nb-paper); color: var(--nb-ink); font: 17px/1.75 var(--nb-font); }
*, *::before, *::after { box-sizing: border-box; }
h1,h2,h3,h4 { color: inherit; font-family: var(--nb-font); font-weight: 600; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(2.65rem, 4.6vw, 4.6rem); letter-spacing: -.05em; }
h2 { font-size: clamp(2rem, 3.2vw, 3.2rem); letter-spacing: -.04em; }
h3 { font-size: clamp(1.35rem, 1.8vw, 1.65rem); letter-spacing: -.025em; }
p { margin: 0 0 1.35rem; }
a { color: var(--nb-accent); text-underline-offset: .25em; }
a:hover { color: var(--nb-ink); }
img { max-width: 100%; height: auto; vertical-align: middle; }
figure { margin: 0; }
:where(a,button,input,textarea,select,summary):focus-visible { outline: 3px solid #aa6b16; outline-offset: 5px; }
.nb-dark :where(a,button):focus-visible { outline-color: var(--nb-turquoise); }
.nb-container { width: min(calc(100% - var(--nb-gutter) * 2), var(--nb-container)); margin-inline: auto; }
.nb-section { padding-block: var(--nb-section); }
.nb-section > .nb-container > :first-child { margin-top: 0; }
.nb-section > .nb-container > :last-child { margin-bottom: 0; }
.nb-dark { background: var(--nb-dark); color: var(--nb-light); }
.nb-dark h1,.nb-dark h2,.nb-dark h3 { color: var(--nb-light); }
.nb-dark p { color: #ccd9d5; }
.nb-dark .nb-eyebrow, .nb-dark a { color: var(--nb-turquoise); }
.nb-surface { background: var(--nb-surface); }
.nb-eyebrow { font-size: .73rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--nb-accent); margin-bottom: 1.35rem; }
.nb-intro { font-size: clamp(1.08rem, 1.4vw, 1.22rem); line-height: 1.7; max-width: 64ch; color: var(--nb-muted); }
.nb-meta, .nb-reading-time { font-size: .8rem; color: var(--nb-muted); }
.nb-prose { max-width: var(--nb-reading); margin-inline: auto; }
.nb-prose h2 { font-size: clamp(1.8rem, 2.6vw, 2.4rem); margin-top: 2.7rem; }
.nb-prose h3 { margin-top: 2rem; }
.nb-prose > :first-child { margin-top: 0; }
.nb-prose p { line-height: 1.85; }
.nb-button, .wp-block-button__link, .wp-block-button .wp-block-button__link {
 display: inline-flex; align-items: center; justify-content: center; gap: 12px;
 min-height: 48px; padding: 13px 23px; border: 1px solid var(--nb-accent); border-radius: 5px;
 background: var(--nb-accent); color: white; font-size: .92rem; font-weight: 600; line-height: 1.5; text-decoration: none;
 box-shadow: none; transition: background-color .15s, color .15s;
}
.nb-button:hover, .wp-block-button .wp-block-button__link:hover { background: #084d49; color: white; }
.wp-block-button.is-style-outline .wp-block-button__link { border: 1px solid var(--nb-accent); color: var(--nb-accent); background: transparent; }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--nb-accent); color: white; }
.nb-dark .nb-button, .nb-dark .wp-block-button__link { background: var(--nb-turquoise); border-color: var(--nb-turquoise); color: #10272b; }
.nb-dark .nb-button:hover, .nb-dark .wp-block-button__link:hover { background: #b0eadb; color: #10272b; }
.nb-dark .wp-block-button.is-style-outline .wp-block-button__link { color: var(--nb-light); border-color: #73918e; background: transparent; }
.nb-dark .wp-block-button.is-style-outline .wp-block-button__link:hover { background: #254044; }
.wp-block-buttons { gap: 14px; margin-top: 28px; }
.nb-hero-grid { display: grid; grid-template-columns: 1.13fr .87fr; align-items: center; gap: clamp(36px, 5vw, 88px); }
.nb-hero { padding-block: clamp(44px, 5vw, 76px); }
.nb-hero h1 { max-width: 16ch; margin-bottom: 28px; }
.nb-hero .nb-intro { max-width: 57ch; }
.nb-hero .nb-portrait { width: 100%; max-width: 490px; justify-self: end; }
.nb-portrait img { display: block; width: 100%; border-radius: 6px; height: auto; }
.nb-hero-copy > :last-child { margin-bottom: 0; }
.nb-home-training > .nb-container > :is(h2,.nb-intro) { max-width: none; text-wrap: pretty; }
.nb-post-grid, .nb-post-grid.wp-block-post-template { display: grid; grid-template-columns: repeat(2,minmax(0, 1fr)); gap: 48px; padding: 0; list-style: none; margin: 24px 0 0; }
.nb-post-grid > * { min-width: 0; margin: 0; }
.nb-post-grid img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 5px; }
.nb-post-grid .wp-block-post-featured-image { margin-bottom: 26px; }
.nb-post-grid h2,.nb-post-grid h3 { font-size: clamp(1.5rem, 2.25vw, 2.1rem); line-height: 1.2; margin: 12px 0; }
.nb-post-grid h2 a,.nb-post-grid h3 a { color: var(--nb-ink); text-decoration: none; }
.nb-post-grid h2 a:hover,.nb-post-grid h3 a:hover { text-decoration: underline; }
.nb-post-grid .nb-eyebrow a { text-decoration: none; }
.nb-post-grid .nb-meta { display: inline; }
.nb-reading-time::before { content: ' · '; }
.nb-post-grid .wp-block-post-excerpt { margin-top: 16px; }
.nb-post-grid .wp-block-post-excerpt p, .nb-post-card .nb-card-copy > p:not(.nb-meta) { color: var(--nb-muted); }
.nb-post-grid .wp-block-post-excerpt__more-link, .nb-text-link { font-weight: 600; text-decoration: underline; display: inline-block; padding-block: 8px; }
.nb-course-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; margin-block: 44px; }
.nb-course-card { border-bottom: 1px solid #4a6464; padding-bottom: 26px; display: flex; flex-direction: column; }
.nb-course-card .nb-card-copy { padding-top: 24px; display: flex; flex-direction: column; flex: 1; }
.nb-course-card .wp-block-buttons { margin-top: auto; padding-top: 16px; }
.nb-course-card img { width: 100%; border-radius: 5px; aspect-ratio: 750/422; }
.nb-course-card h3 { font-size: clamp(1.4rem, 1.8vw, 1.7rem); line-height: 1.22; }
.nb-course-card p { font-size: .96rem; }
.nb-course-card .nb-eyebrow { font-size: .7rem; }
.nb-project-feature { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(30px,5vw,76px); align-items: center; }
.nb-project-feature > figure img { width: 100%; aspect-ratio: 1.25; object-fit: cover; border-radius: 5px; }
.nb-project-copy h2 { font-size: clamp(2.6rem, 4vw, 4rem); }
.nb-page-intro { padding-bottom: 64px; }
.nb-page-intro h1 { margin-bottom: 32px; }
.nb-intro-prose { max-width: 900px; }
.nb-intro-prose > p:first-child { font-size: clamp(1.4rem, 2.6vw, 2.2rem); line-height: 1.4; margin-bottom: 28px; max-width: 40ch; letter-spacing: -.025em; }
.nb-intro-prose > p:first-child strong { font-weight: 500; }
.nb-intro-prose p { max-width: 75ch; }
.nb-method { text-align: center; font-size: clamp(1.1rem, 2.6vw, 2rem); font-weight: 600; color: var(--nb-accent); padding-top: 40px; margin: 0; }
.nb-course-row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px,5vw,72px); padding-block: 64px; border-bottom: 1px solid var(--nb-border); }
.nb-course-row:last-child { padding-bottom: 0; border: 0; }
.nb-course-row:nth-of-type(even) > figure { order: 2; }
.nb-course-row img { width: 100%; border-radius: 5px; }
.nb-course-row h2 { font-size: clamp(1.8rem,2.8vw,2.6rem); }
.nb-profile-grid { display: grid; grid-template-columns: 1.3fr .8fr; gap: clamp(40px,6vw,90px); align-items: start; }
.nb-profile-grid .nb-portrait { max-width: 440px; justify-self: end; }
.nb-profile-copy h1 { max-width: 10ch; }
.nb-focus-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 64px; margin-top: 44px; }
.nb-focus-item { border-top: 1px solid var(--nb-border); padding-top: 28px; }
.nb-dark .nb-focus-item { border-color: #4a6464; }
.nb-timeline { margin-top: 40px; }
.nb-timeline-row { display: grid; grid-template-columns: 1fr 2fr; gap: 30px; padding: 26px 0; border-top: 1px solid var(--nb-border); }
.nb-timeline-row p,.nb-timeline-row h3 { margin-bottom: 8px; }
.nb-callout { border-left: 3px solid var(--nb-accent); padding: 20px 0 20px 28px; margin-top: 40px; max-width: 800px; font-size: 1.2rem; }
.nb-contact-panel { max-width: 760px; }
.nb-contact-panel > :last-child { margin-top: 32px; color: var(--nb-muted); }
.nb-morph-visual { padding-block: 0; background: linear-gradient(var(--nb-dark) 50%, var(--nb-paper) 50%); }
.nb-morph-image img { width: 100%; border-radius: 5px; }
@media (max-width: 900px) {
 .nb-hero-grid,.nb-profile-grid { grid-template-columns: 1.1fr .9fr; gap: 32px; }
 .nb-hero h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
 .nb-course-grid { grid-template-columns: 1fr; }
 .nb-course-card { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding-block: 16px 32px; }
 .nb-course-card .nb-card-copy { padding-top: 0; }
 .nb-project-feature { grid-template-columns: 1fr 1fr; gap: 32px; }
 .nb-post-grid { gap: 32px; }
}
@media (max-width: 700px) {
 .nb-hero-grid,.nb-profile-grid,.nb-project-feature,.nb-course-row,.nb-focus-grid { grid-template-columns: 1fr; }
 .nb-hero .nb-portrait { max-width: 440px; justify-self: center; }
 .nb-hero h1 { max-width: 17ch; font-size: clamp(2.5rem, 9vw, 3.5rem); }
 .nb-profile-grid .nb-portrait { max-width: 380px; justify-self: start; }
 .nb-project-feature > figure img { aspect-ratio: 16/10; }
 .nb-course-row:nth-of-type(even) > figure { order: initial; }
 .nb-course-row { padding-block: 44px; }
 .nb-page-intro { padding-bottom: 48px; }
 .nb-course-card { display: flex; gap: 0; }
 .nb-course-card .nb-card-copy { padding-top: 24px; }
 .nb-timeline-row { grid-template-columns: 1fr; gap: 6px; }
 .nb-post-grid, .nb-post-grid.wp-block-post-template { grid-template-columns: 1fr; gap: 40px; }
 .nb-section .nb-prose { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior: auto !important; transition: none !important; } }
