/* Naamdeo theme. Design tokens and look taken from the approved Base44 design. */

/* Fonts (bundled, no external requests) ----------------------------------- */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/cormorant-garamond-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300; font-display: swap; src: url("../fonts/cormorant-garamond-latin-300-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/inter-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }

/* Tokens ------------------------------------------------------------------ */
:root {
	--background: 43 37% 96%;
	--foreground: 0 0% 10%;
	--card: 40 33% 98%;
	--primary-foreground: 43 40% 97%;
	--secondary: 42 16% 90%;
	--muted-foreground: 37 10% 30%;
	--accent: 27 48% 33%; /* logo colour #7c502b */
	--brand: #7c502b;
	--border: 40 13% 84%;
	--destructive: 0 58% 42%;
	--ok: 140 40% 28%;
	--radius: 2px;
	--font-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
	--font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--max: 1240px;
}

/* Base -------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; border-color: hsl(var(--border)); }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: hsl(var(--background));
	color: hsl(var(--foreground));
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
::selection { background: hsl(var(--accent) / 0.2); }
img, video, svg { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid hsl(var(--foreground)); outline-offset: 3px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
	clip: rect(0 0 0 0); clip-path: inset(50%); border: 0; white-space: nowrap;
}
.skip-link:focus {
	position: fixed !important; top: 8px; left: 8px; z-index: 100; width: auto; height: auto; margin: 0; padding: 12px 18px;
	clip: auto; clip-path: none; background: hsl(var(--foreground)); color: hsl(var(--primary-foreground));
}

/* Layout ------------------------------------------------------------------ */
.nd-container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .nd-container { padding: 0 40px; } }
.nd-main { display: block; min-height: 60vh; }
.nd-section { border-top: 1px solid hsl(var(--border) / 0.6); padding: 80px 0; }
@media (min-width: 768px) { .nd-section { padding: 112px 0; } }
.nd-section-pad { padding-top: 0; padding-bottom: 96px; }
@media (min-width: 768px) { .nd-section-pad { padding-bottom: 128px; } }

/* Type -------------------------------------------------------------------- */
.nd-eyebrow { font-size: 0.6875rem; letter-spacing: 0.3em; text-transform: uppercase; color: hsl(var(--accent)); }
.nd-eyebrow--sm { letter-spacing: 0.24em; font-size: 0.625rem; }
.nd-eyebrow--light { color: hsl(var(--primary-foreground) / 0.6); letter-spacing: 0.28em; }
.nd-label { font-size: 0.6rem; letter-spacing: 0.24em; text-transform: uppercase; color: hsl(var(--muted-foreground)); }
.nd-accent { color: hsl(var(--accent)); }
.nd-h2 { margin-top: 24px; max-width: 20ch; font-family: var(--font-display); font-weight: 300; font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1.15; }
.nd-h2--light { color: hsl(var(--primary-foreground)); max-width: 18ch; }
.nd-lead { margin-top: 24px; max-width: 46ch; font-size: 1rem; line-height: 1.7; color: hsl(var(--muted-foreground)); }
.nd-empty { padding: 40px 0; color: hsl(var(--muted-foreground)); font-family: var(--font-display); font-size: 1.3rem; }

/* Rise + reveal (only hidden when JS is running) ------------------------- */
@keyframes nd-rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.hero-rise { opacity: 0; animation: nd-rise 1000ms var(--ease) both; }
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 900ms var(--ease), transform 900ms var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.hero-rise { animation: none; opacity: 1; }
	.js .reveal { opacity: 1; transform: none; transition: none; }
	html { scroll-behavior: auto; }
}

/* Links and buttons ------------------------------------------------------- */
.nd-ink { position: relative; }
.nd-ink::after { content: ""; position: absolute; left: 50%; bottom: -5px; height: 1px; width: 0; background: currentColor; transform: translateX(-50%); transition: width 420ms var(--ease); }
.nd-ink:hover::after, .nd-ink:focus-visible::after { width: 100%; }
.nd-textlink { display: inline-block; margin-top: 40px; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; }
.nd-textlink--arrow { display: inline-flex; align-items: center; gap: 8px; }
.nd-section__head .nd-textlink { margin-top: 0; }

.nd-btn {
	display: inline-flex; align-items: stretch; min-height: 48px; margin-top: 40px; overflow: hidden; cursor: pointer;
	border: 1px solid hsl(var(--foreground)); border-radius: var(--radius);
	background: hsl(var(--foreground)); color: hsl(var(--primary-foreground)); transition: background 500ms var(--ease), border-color 500ms var(--ease);
}
.nd-btn:hover { background: hsl(var(--accent)); border-color: hsl(var(--accent)); }
.nd-btn__label { display: flex; align-items: center; padding: 0 24px; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; }
.nd-btn__rule { width: 1px; align-self: stretch; background: hsl(var(--primary-foreground) / 0.3); }
.nd-btn__icon { display: flex; width: 48px; align-items: center; justify-content: center; }
.nd-btn__icon .nd-icon { transition: transform 500ms var(--ease); }
.nd-btn:hover .nd-icon { transform: translateX(2px); }
.nd-btn--solid { margin-top: 8px; }
.nd-btn--light { background: transparent; border-color: hsl(var(--primary-foreground) / 0.4); color: hsl(var(--primary-foreground)); margin-top: 0; }
.nd-btn--light:hover { background: transparent; border-color: hsl(var(--primary-foreground)); }
.nd-btn--outline { background: transparent; color: hsl(var(--foreground)); border-color: hsl(var(--foreground) / 0.45); }
.nd-btn--outline .nd-btn__rule { background: hsl(var(--foreground) / 0.25); }
.nd-btn--outline:hover { background: var(--brand); border-color: var(--brand); color: hsl(var(--primary-foreground)); }
.nd-btn--outline:hover .nd-btn__rule { background: hsl(var(--primary-foreground) / 0.4); }
.nd-btn--brand, .nd-btn--solid { background: var(--brand); border-color: var(--brand); color: #fff; }
.nd-btn--brand:hover, .nd-btn--solid:hover { background: hsl(27 48% 26%); border-color: hsl(27 48% 26%); }
.nd-btn:disabled { opacity: 0.5; cursor: wait; }

/* Header ------------------------------------------------------------------ */
.nd-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid hsl(var(--border) / 0.6); background: hsl(var(--background) / 0.85); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.admin-bar .nd-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .nd-header { top: 46px; } }
.nd-header__bar { display: flex; height: 80px; align-items: center; justify-content: space-between; }
.nd-brand a { display: inline-flex; align-items: center; transition: opacity 300ms; }
.nd-brand a:hover { opacity: 0.7; }
.nd-brand img, .nd-brand .custom-logo { height: 32px; width: auto; }
@media (min-width: 768px) { .nd-brand img, .nd-brand .custom-logo { height: 36px; } }
.nd-brand__text { font-family: var(--font-display); font-size: 1.75rem; line-height: 1; }
.nd-nav .nd-menu { display: flex; align-items: center; gap: 32px; }
.nd-nav--desktop { display: none; }
@media (min-width: 1024px) { .nd-nav--desktop { display: block; } }
.nd-nav .nd-menu a { position: relative; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: hsl(var(--muted-foreground)); transition: color 300ms; padding: 6px 0; }
.nd-nav .nd-menu a:hover, .nd-nav .current-menu-item > a, .nd-nav .current_page_item > a, .nd-nav .current-menu-ancestor > a { color: hsl(var(--foreground)); }
.nd-nav .nd-menu a::after { content: ""; position: absolute; left: 50%; bottom: -2px; height: 1px; width: 0; background: currentColor; transform: translateX(-50%); transition: width 420ms var(--ease); }
.nd-nav .nd-menu a:hover::after, .nd-nav .current-menu-item > a::after, .nd-nav .current_page_item > a::after { width: 100%; }
.nd-menu-toggle { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 0; padding: 0; }
@media (min-width: 1024px) { .nd-menu-toggle { display: none; } }
.nd-menu-toggle__close { display: none; }
.nd-menu-toggle[aria-expanded="true"] .nd-menu-toggle__open { display: none; }
.nd-menu-toggle[aria-expanded="true"] .nd-menu-toggle__close { display: inline-flex; }
.nd-mobile { border-top: 1px solid hsl(var(--border) / 0.6); background: hsl(var(--background)); }
.nd-mobile[hidden] { display: none; }
@media (min-width: 1024px) { .nd-mobile { display: none !important; } }
.nd-nav--mobile .nd-menu { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0; }
.nd-nav--mobile .nd-menu li { border-bottom: 1px solid hsl(var(--border) / 0.6); }
.nd-nav--mobile .nd-menu li:last-child { border-bottom: 0; }
.nd-nav--mobile .nd-menu a { display: block; padding: 16px 0; font-family: var(--font-display); font-size: 1.25rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: hsl(var(--foreground)); }
.nd-nav--mobile .nd-menu a::after { display: none; }

/* Page hero --------------------------------------------------------------- */
.nd-pagehero { border-bottom: 1px solid hsl(var(--border) / 0.6); margin-bottom: 56px; }
.nd-pagehero .nd-container { padding-top: 64px; padding-bottom: 64px; }
@media (min-width: 768px) { .nd-pagehero .nd-container { padding-top: 96px; padding-bottom: 80px; } }
.nd-pagehero__title { margin-top: 28px; max-width: 20ch; font-family: var(--font-display); font-weight: 300; font-size: clamp(2.2rem, 5vw, 3.9rem); line-height: 1.08; letter-spacing: -0.01em; }
.nd-pagehero__intro { margin-top: 32px; max-width: 52ch; font-size: 1rem; line-height: 1.7; color: hsl(var(--muted-foreground)); }

/* Home: hero -------------------------------------------------------------- */
.nd-hero { border-bottom: 1px solid hsl(var(--border) / 0.6); }
.nd-hero__grid { display: grid; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 64px; }
@media (min-width: 768px) { .nd-hero__grid { grid-template-columns: 1fr 1fr; gap: 64px; padding-top: 80px; padding-bottom: 96px; } }
.nd-hero__title { margin-top: 24px; font-family: var(--font-display); font-weight: 300; font-size: clamp(2.1rem, 4.4vw, 3.6rem); line-height: 1.08; letter-spacing: -0.01em; }
.nd-hero__line { margin-top: 24px; max-width: 38ch; font-size: 1.0625rem; line-height: 1.7; color: hsl(var(--muted-foreground)); }
.nd-hero__length { margin-top: 32px; font-size: 0.6875rem; letter-spacing: 0.2em; text-transform: uppercase; color: hsl(var(--muted-foreground)); }
.nd-trailer { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: hsl(var(--secondary)); }
.nd-trailer img, .nd-trailer video { width: 100%; height: 100%; object-fit: cover; display: block; }
.nd-trailer__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border: 0; background: hsl(var(--foreground) / 0.12); transition: background 500ms; }
.nd-trailer__play:hover { background: hsl(var(--foreground) / 0.28); }
.nd-trailer__play span { display: flex; width: 72px; height: 72px; align-items: center; justify-content: center; border-radius: 50%; background: hsl(var(--primary-foreground) / 0.92); color: hsl(var(--foreground)); padding-left: 4px; transition: transform 500ms var(--ease); }
.nd-trailer__play:hover span { transform: scale(1.06); }
.nd-hero__text .nd-btn.hero-rise{background: var(--brand);
  border-color: var(--brand);}


/* Home: intro ------------------------------------------------------------- */
.nd-intro__grid { display: grid; gap: 48px; }
@media (min-width: 768px) { .nd-intro__grid { grid-template-columns: 4fr 8fr; gap: 48px; } }
.nd-portrait { position: relative; aspect-ratio: 4 / 5; width: 100%; max-width: 300px; overflow: hidden; border: 1px solid hsl(var(--border)); border-radius: var(--radius); background: hsl(var(--secondary)); display: flex; align-items: center; justify-content: center; font-size: 0.5rem; letter-spacing: 0.24em; text-transform: uppercase; color: hsl(var(--muted-foreground) / 0.7); }
.nd-portrait img { width: 100%; height: 100%; object-fit: cover; }
.nd-intro__statement { margin-top: 24px; max-width: 34ch; font-family: var(--font-display); font-weight: 300; font-size: clamp(1.6rem, 2.6vw, 2.35rem); line-height: 1.28; }
.nd-intro__para { margin-top: 32px; max-width: 62ch; line-height: 1.75; color: hsl(var(--muted-foreground)); }

/* Home: states ------------------------------------------------------------ */
.nd-states__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 768px) { .nd-states__grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.nd-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.nd-chip { display: inline-block; padding: 10px 16px; border: 1px solid hsl(var(--border)); border-radius: var(--radius); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: hsl(var(--muted-foreground)); transition: border-color 300ms, color 300ms, background 300ms; }
.nd-chip:hover { border-color: hsl(var(--foreground) / 0.4); color: hsl(var(--foreground)); }
.nd-chip.is-active { border-color: var(--brand); background: var(--brand); color: #fff; }

/* Home: courses ----------------------------------------------------------- */
.nd-section__head { display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 768px) { .nd-section__head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.nd-cards { display: grid; gap: 40px; margin-top: 56px; }
@media (min-width: 640px) { .nd-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .nd-cards { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.nd-card { display: block; }
.nd-card__image { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: hsl(var(--secondary)); }
.nd-card__image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 700ms ease-out; }
.nd-card:hover .nd-card__image img { transform: scale(1.03); }
.nd-card__title { display: block; margin-top: 24px; font-family: var(--font-display); font-size: 1.35rem; transition: color 300ms; }
.nd-card:hover .nd-card__title { color: hsl(var(--accent)); }
.nd-card__line { display: block; margin-top: 8px; max-width: 34ch; font-size: 0.9rem; line-height: 1.6; color: hsl(var(--muted-foreground)); }

/* Home: quote of the moment ---------------------------------------------- */
.nd-moment { background: hsl(var(--secondary) / 0.4); text-align: center; }
.nd-moment .nd-section { padding: 0; }
.nd-moment__quote { position: relative; max-width: 54rem; margin: 24px auto 0; padding-top: 40px; }
@media (min-width: 768px) { .nd-moment__quote { padding-top: 48px; } }
.nd-moment__mark { position: absolute; left: 50%; top: 0; transform: translateX(-50%); font-family: var(--font-display); font-size: 5rem; line-height: 1; color: hsl(var(--accent) / 0.3); user-select: none; pointer-events: none; }
.nd-moment blockquote { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.8rem, 4vw, 3.2rem); line-height: 1.2; letter-spacing: -0.01em; text-wrap: balance; }
.nd-moment__by { margin-top: 40px; font-size: 0.6875rem; letter-spacing: 0.24em; text-transform: uppercase; color: hsl(var(--muted-foreground)); }

/* Rows (talks) ------------------------------------------------------------ */
.nd-talks__grid { display: grid; gap: 40px; }
@media (min-width: 768px) { .nd-talks__grid { grid-template-columns: 5fr 7fr; gap: 64px; } }
.nd-rows { border-top: 1px solid hsl(var(--border) / 0.6); }
.nd-row { display: flex; align-items: center; gap: 16px; border-bottom: 1px solid hsl(var(--border) / 0.6); }
.nd-row__link { display: flex; flex: 1; align-items: baseline; justify-content: space-between; gap: 24px; padding: 20px 0; }
.nd-row__title { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.4; transition: color 300ms; }
@media (min-width: 768px) { .nd-row__title { font-size: 1.3rem; } }
.nd-row__link:hover .nd-row__title { color: hsl(var(--accent)); }
.nd-row__meta { flex-shrink: 0; font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; color: hsl(var(--muted-foreground)); }

/* Library ----------------------------------------------------------------- */
.nd-library .nd-container > * + * { margin-top: 28px; }
.nd-search { display: flex; align-items: center; gap: 12px; max-width: 640px; border-bottom: 1px solid hsl(var(--foreground) / 0.25); padding-bottom: 12px; transition: border-color 300ms; }
.nd-search:focus-within { border-color: hsl(var(--foreground)); }
.nd-search input[type="search"] { flex: 1; min-height: 44px; border: 0; background: transparent; font-size: 1rem; -webkit-appearance: none; appearance: none; }
.nd-search input[type="search"]:focus { outline: none; }
.nd-search input::placeholder, .nd-form input::placeholder, .nd-form textarea::placeholder { color: hsl(var(--muted-foreground)); opacity: 0.8; }
.nd-search__submit { min-height: 44px; padding: 0 24px; border: 1px solid var(--brand); border-radius: var(--radius); background: var(--brand); color: #fff; cursor: pointer; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; transition: background 400ms var(--ease), border-color 400ms var(--ease); }
.nd-search__submit:hover { background: hsl(27 48% 26%); border-color: hsl(27 48% 26%); }
.nd-tabs { display: flex; flex-wrap: wrap; gap: 24px; border-bottom: 1px solid hsl(var(--border) / 0.6); }
.nd-tab { position: relative; padding: 0 0 14px; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: hsl(var(--muted-foreground)); }
.nd-tab__count { margin-left: 6px; font-size: 0.62rem; opacity: 0.7; }
.nd-tab:hover { color: hsl(var(--foreground)); }
.nd-tab.is-active { color: var(--brand); }
.nd-tab.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--brand); }
.nd-library__label { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: hsl(var(--muted-foreground)); }
.nd-grid { display: grid; gap: 40px 48px; }
@media (min-width: 768px) { .nd-grid { grid-template-columns: 1fr 1fr; } }
.nd-library .nd-grid, .nd-library .nd-rows, .nd-library .nd-quotes { margin-top: 20px; }
.nd-more-wrap { text-align: center; padding-top: 24px; }
.nd-more { padding: 14px 32px; border: 1px solid hsl(var(--border)); border-radius: var(--radius); background: transparent; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; transition: border-color 300ms; }
.nd-more:hover { border-color: hsl(var(--foreground)); }
.nd-more[hidden], .nd-empty[hidden] { display: none; }
.nd-library.is-loading .nd-library__label { opacity: 0.5; }

.nd-item { border-top: 1px solid hsl(var(--border) / 0.6); padding-top: 20px; }
.nd-item__top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; }
.nd-item__kind { color: hsl(var(--accent)); }
.nd-item__meta { display: flex; align-items: baseline; gap: 12px; color: hsl(var(--muted-foreground)); }
.nd-item__link { display: flex; align-items: flex-start; gap: 12px; margin-top: 12px; }
.nd-item__body { display: flex; flex: 1; flex-direction: column; }
.nd-item__title { font-family: var(--font-display); font-size: 1.1rem; line-height: 1.45; transition: color 300ms; }
@media (min-width: 768px) { .nd-item__title { font-size: 1.2rem; } }
.nd-item__title.is-quote { font-style: italic; }
.nd-item__link:hover .nd-item__title { color: hsl(var(--accent)); }
.nd-item__note { margin-top: 8px; font-size: 0.85rem; line-height: 1.6; color: hsl(var(--muted-foreground)); }
.nd-item__link .nd-icon { margin-top: 4px; flex-shrink: 0; color: hsl(var(--muted-foreground)); transition: transform 500ms var(--ease), color 300ms; }
.nd-item__link:hover .nd-icon { transform: translate(2px, -2px); color: hsl(var(--accent)); }

/* Quotes ------------------------------------------------------------------ */
.nd-quotes { display: grid; gap: 48px 64px; }
@media (min-width: 768px) { .nd-quotes { grid-template-columns: 1fr 1fr; } }
.nd-quote { border-top: 1px solid hsl(var(--border) / 0.6); padding-top: 32px; }
.nd-quote__top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.nd-quote__date { font-size: 0.625rem; letter-spacing: 0.24em; text-transform: uppercase; color: hsl(var(--accent)); }
.nd-quote__text { margin-top: 20px; max-width: 42ch; font-family: var(--font-display); font-weight: 300; font-size: clamp(1.25rem, 1.9vw, 1.6rem); line-height: 1.4; }

/* Articles ---------------------------------------------------------------- */
.nd-articles { border-top: 1px solid hsl(var(--border) / 0.6); }
.nd-article { display: flex; align-items: flex-start; gap: 16px; border-bottom: 1px solid hsl(var(--border) / 0.6); }
.nd-article__link { display: block; flex: 1; padding: 28px 0; }
.nd-article .nd-share { margin-top: 28px; }
.nd-article__top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: hsl(var(--muted-foreground)); }
.nd-article__body { display: flex; align-items: flex-start; gap: 16px; margin-top: 12px; }
.nd-article__text { flex: 1; }
.nd-article__title { display: block; font-family: var(--font-display); font-size: clamp(1.2rem, 2vw, 1.6rem); line-height: 1.3; transition: color 300ms; }
.nd-article__link:hover .nd-article__title { color: hsl(var(--accent)); }
.nd-article__dek { display: block; margin-top: 8px; max-width: 52ch; font-size: 0.9rem; line-height: 1.6; color: hsl(var(--muted-foreground)); }
.nd-article__body .nd-icon { margin-top: 4px; flex-shrink: 0; color: hsl(var(--muted-foreground)); transition: transform 500ms var(--ease), color 300ms; }
.nd-article__link:hover .nd-icon { transform: translate(2px, -2px); color: hsl(var(--accent)); }

/* Share ------------------------------------------------------------------- */
.nd-share { position: relative; flex-shrink: 0; }
.nd-share__toggle { display: inline-flex; list-style: none; cursor: pointer; color: hsl(var(--muted-foreground)); transition: color 300ms, opacity 300ms; }
.nd-share__toggle::-webkit-details-marker { display: none; }
.nd-share__toggle:hover, .nd-share[open] .nd-share__toggle { color: hsl(var(--foreground)); }
@media (min-width: 768px) {
	.nd-item .nd-share__toggle, .nd-row .nd-share__toggle, .nd-article .nd-share__toggle, .nd-quote .nd-share__toggle { opacity: 0; }
	.nd-item:hover .nd-share__toggle, .nd-row:hover .nd-share__toggle, .nd-article:hover .nd-share__toggle, .nd-quote:hover .nd-share__toggle,
	.nd-share__toggle:focus-visible, .nd-share[open] .nd-share__toggle { opacity: 1; }
}
.nd-share__menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; display: flex; width: 176px; flex-direction: column; padding: 4px; border: 1px solid hsl(var(--border)); border-radius: var(--radius); background: hsl(var(--background)); box-shadow: 0 12px 32px hsl(var(--foreground) / 0.08); }
.nd-share__menu a, .nd-share__menu button { display: block; padding: 8px 12px; border: 0; background: none; text-align: left; font-size: 0.8rem; color: hsl(var(--foreground)); }
.nd-share__menu a:hover, .nd-share__menu button:hover { background: hsl(var(--secondary)); }
.nd-shareblock { display: flex; align-items: center; gap: 16px; }
.nd-shareblock .nd-share__menu { right: auto; left: 0; }

/* Detail pages ------------------------------------------------------------ */
.nd-detail__wrap { padding-top: 40px; padding-bottom: 96px; }
.nd-backlink { display: inline-flex; align-items: center; gap: 8px; font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: hsl(var(--muted-foreground)); transition: color 300ms; }
.nd-backlink:hover { color: hsl(var(--foreground)); }
.nd-detail__grid { display: grid; gap: 48px; margin-top: 40px; }
@media (min-width: 1024px) { .nd-detail__grid { grid-template-columns: 8fr 4fr; gap: 64px; } }
.nd-detail__main { min-width: 0; }
.nd-detail__title { margin-top: 20px; max-width: 24ch; font-family: var(--font-display); font-weight: 300; font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.1; letter-spacing: -0.01em; }
.nd-detail__meta { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 24px; font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: hsl(var(--muted-foreground)); }
.nd-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.nd-tags li { padding: 6px 12px; border: 1px solid hsl(var(--border)); border-radius: var(--radius); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: hsl(var(--muted-foreground)); }
.nd-detail__body { margin-top: 40px; }
.nd-dek { max-width: 62ch; margin-bottom: 24px; font-family: var(--font-display); font-weight: 300; font-size: 1.25rem; line-height: 1.5; color: hsl(var(--foreground) / 0.8); }
.nd-detail__aside { min-width: 0; }
@media (min-width: 1024px) { .nd-detail__aside { position: sticky; top: 112px; align-self: start; } }
.nd-aside-stack > * + * { margin-top: 24px; }

.nd-prose { max-width: 66ch; font-size: 1rem; line-height: 1.85; color: hsl(var(--muted-foreground)); }
.nd-prose--page { max-width: 72ch; }
.nd-prose > * + * { margin-top: 1.4em; }
.nd-prose h2, .nd-prose h3, .nd-prose h4 { font-family: var(--font-display); font-weight: 400; color: hsl(var(--foreground)); line-height: 1.25; margin-top: 2em; }
.nd-prose h2 { font-size: 1.8rem; } .nd-prose h3 { font-size: 1.45rem; } .nd-prose h4 { font-size: 1.2rem; }
.nd-prose a { color: hsl(var(--accent)); text-decoration: underline; text-underline-offset: 3px; }
.nd-prose ul { list-style: disc; padding-left: 1.4em; } .nd-prose ol { list-style: decimal; padding-left: 1.4em; }
.nd-prose blockquote { padding-left: 1.2em; border-left: 1px solid hsl(var(--accent)); font-family: var(--font-display); font-size: 1.3rem; font-style: italic; color: hsl(var(--foreground)); }
.nd-prose img { border-radius: var(--radius); }
.nd-prose iframe, .nd-prose video { max-width: 100%; }
.nd-prose .wp-block-embed__wrapper, .nd-prose .wp-has-aspect-ratio .wp-block-embed__wrapper { position: relative; }
.nd-prose .wp-embed-aspect-16-9 .wp-block-embed__wrapper { aspect-ratio: 16 / 9; }
.nd-prose .wp-embed-aspect-16-9 iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.nd-prose audio { width: 100%; }
.nd-prose figure { margin: 0; }
.nd-prose .nd-spacer { height: 0; }
.nd-prose p:empty { display: none; }

.nd-singlequote { max-width: 54rem; margin: 64px auto 0; text-align: center; }
.nd-singlequote blockquote { margin-top: 28px; font-family: var(--font-display); font-weight: 300; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.25; text-wrap: balance; }
.nd-singlequote__share { display: flex; justify-content: center; margin-top: 40px; }

.nd-doclink { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; border: 1px solid hsl(var(--border)); background: hsl(var(--card)); font-size: 0.8rem; transition: border-color 300ms; }
.nd-doclink:hover { border-color: hsl(var(--foreground)); }
.nd-doclink span { display: inline-flex; align-items: center; gap: 12px; }

.nd-notes { border: 1px solid hsl(var(--border)); background: hsl(var(--card)); padding: 24px; }
.nd-notes__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.nd-notes__clear { border: 0; background: none; font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: hsl(var(--muted-foreground)); }
.nd-notes__clear:hover { color: hsl(var(--foreground)); }
.nd-notes textarea { display: block; width: 100%; margin-top: 16px; resize: none; border: 0; background: transparent; font-size: 0.9rem; line-height: 1.75; }
.nd-notes textarea:focus { outline: none; }
.nd-notes__status { margin-top: 8px; font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: hsl(var(--muted-foreground) / 0.8); }

/* Connect ----------------------------------------------------------------- */
.nd-band { background: var(--brand); color: hsl(var(--primary-foreground)); margin-top: -56px; }
.nd-band__inner { display: grid; gap: 40px; padding-top: 80px; padding-bottom: 80px; align-items: end; }
@media (min-width: 768px) { .nd-band__inner { grid-template-columns: 7fr 5fr; padding-top: 112px; padding-bottom: 112px; } .nd-band__inner > :last-child { justify-self: end; } }
.nd-band__text { margin-top: 24px; max-width: 46ch; font-size: 0.95rem; line-height: 1.7; color: hsl(var(--primary-foreground) / 0.7); }
.nd-write { display: grid; gap: 48px; }
@media (min-width: 768px) { .nd-write { grid-template-columns: 5fr 7fr; gap: 64px; } }
.nd-write__mail { display: inline-block; margin-top: 32px; font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 2rem); }
.nd-write__follow { margin-top: 40px; }
.nd-linklist { border-top: 1px solid hsl(var(--border) / 0.6); margin-top: 20px; }
.nd-linklist--tight { margin-top: 12px; }
.nd-linklist a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid hsl(var(--border) / 0.6); font-family: var(--font-display); font-size: 1.25rem; transition: color 300ms; }
.nd-linklist a:hover { color: hsl(var(--accent)); }
.nd-initiatives__grid { display: grid; gap: 40px; margin-top: 48px; }
@media (min-width: 768px) { .nd-initiatives__grid { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.nd-initiative { display: flex; flex-direction: column; height: 100%; border-top: 1px solid hsl(var(--border)); padding-top: 24px; }
.nd-initiative__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; font-size: 0.6rem; letter-spacing: 0.22em; }
.nd-initiative__top .nd-icon { color: hsl(var(--muted-foreground)); transition: transform 500ms var(--ease), color 300ms; }
.nd-initiative:hover .nd-icon { transform: translate(2px, -2px); color: hsl(var(--accent)); }
.nd-initiative__name { margin-top: 20px; font-family: var(--font-display); font-size: 1.35rem; line-height: 1.3; transition: color 300ms; }
.nd-initiative:hover .nd-initiative__name { color: hsl(var(--accent)); }
.nd-initiative__line { margin-top: 12px; font-size: 0.875rem; line-height: 1.6; color: hsl(var(--muted-foreground)); }
.nd-newsletter-band { background: hsl(var(--secondary) / 0.4); }
.nd-more-ways .nd-eyebrow { margin-bottom: 8px; }

/* Forms ------------------------------------------------------------------- */
.nd-form { max-width: 640px; }
.nd-form > * + * { margin-top: 24px; }
.nd-form__grid { display: grid; gap: 24px; }
@media (min-width: 640px) { .nd-form__grid { grid-template-columns: 1fr 1fr; } }
.nd-field label { display: block; margin-bottom: 8px; font-size: 0.6rem; letter-spacing: 0.24em; text-transform: uppercase; color: hsl(var(--muted-foreground)); }
.nd-optional { letter-spacing: 0.1em; text-transform: none; }
.nd-field input, .nd-field textarea { width: 100%; padding: 10px 0 12px; border: 0; border-bottom: 1px solid hsl(var(--foreground) / 0.25); border-radius: 0; background: transparent; font-size: 1rem; transition: border-color 300ms; }
.nd-field textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.nd-field input:focus, .nd-field textarea:focus { outline: none; border-color: hsl(var(--foreground)); }
.nd-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nd-form__status:empty { display: none; }
.nd-form__status p { padding: 14px 16px; border: 1px solid; border-radius: var(--radius); font-size: 0.9rem; }
.nd-form__status .is-ok { color: hsl(var(--ok)); border-color: hsl(var(--ok) / 0.4); background: hsl(var(--ok) / 0.06); }
.nd-form__status .is-error { color: hsl(var(--destructive)); border-color: hsl(var(--destructive) / 0.4); background: hsl(var(--destructive) / 0.05); }

/* Newsletter (MC4WP markup, styled like the design) */
.nd-newsletter { width: 100%; max-width: 420px; }
.nd-newsletter form { margin: 0; }
.nd-newsletter .mc4wp-form-fields, .nd-newsletter .mc-container { display: flex; align-items: center; gap: 16px; border-bottom: 1px solid hsl(var(--foreground) / 0.25); padding-bottom: 12px; transition: border-color 300ms; }
.nd-newsletter .mc4wp-form-fields:focus-within, .nd-newsletter .mc-container:focus-within { border-color: hsl(var(--foreground)); }
.nd-newsletter .mc4wp-form-fields p, .nd-newsletter .mc-container p { margin: 0; }
.nd-newsletter .mc4wp-form-fields p:first-child, .nd-newsletter .mc-container p:first-child { flex: 1; }
.nd-newsletter input[type="email"], .nd-newsletter input[type="text"] { width: 100%; min-height: 44px; border: 0; background: transparent; font-size: 0.95rem; box-shadow: none; padding: 0; border-radius: 0; }
.nd-newsletter input[type="email"]:focus { outline: none; }
.nd-newsletter input[type="submit"], .nd-newsletter button[type="submit"] { border: 0; background: none; padding: 0; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: hsl(var(--foreground)); transition: opacity 300ms; }
.nd-newsletter input[type="submit"]:hover, .nd-newsletter button[type="submit"]:hover { opacity: 0.6; }
.nd-newsletter .mc4wp-response { margin-top: 12px; font-size: 0.85rem; }
.nd-newsletter .mc4wp-response p { margin: 0; }
.nd-newsletter .mc4wp-success { color: hsl(var(--ok)); }
.nd-newsletter .mc4wp-error, .nd-newsletter .mc4wp-notice { color: hsl(var(--destructive)); }
.nd-newsletter label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nd-newsletter__fallback { font-size: 0.95rem; }

/* Footer ------------------------------------------------------------------ */
.nd-footer { border-top: 1px solid hsl(var(--border) / 0.6); background: hsl(var(--background)); }
.nd-footer__news-grid { display: grid; gap: 32px; align-items: end; padding-top: 64px; padding-bottom: 56px; border-bottom: 1px solid hsl(var(--border) / 0.6); }
@media (min-width: 768px) { .nd-footer__news-grid { grid-template-columns: 1fr 1fr; padding-top: 96px; } .nd-footer__news-grid > :last-child { justify-self: end; width: 100%; max-width: 420px; } }
.nd-footer__news .nd-container { max-width: var(--max); }
.nd-footer__news-title { margin-top: 20px; max-width: 22ch; font-family: var(--font-display); font-weight: 300; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.2; }
.nd-footer__news-grid .nd-eyebrow { letter-spacing: 0.22em; }
.nd-footer__main { padding-top: 64px; padding-bottom: 40px; }
@media (min-width: 768px) { .nd-footer__main { padding-top: 96px; } }
.nd-footer__cols { display: grid; gap: 48px; }
@media (min-width: 768px) { .nd-footer__cols { grid-template-columns: 5fr 3fr 4fr; gap: 48px; } }
.nd-footer__brand { font-family: var(--font-display); font-size: 1.75rem; line-height: 1; }
.nd-footer__text { margin-top: 24px; max-width: 30ch; font-size: 0.95rem; line-height: 1.6; color: hsl(var(--muted-foreground)); }
.nd-footer .nd-label { color: hsl(var(--accent)); letter-spacing: 0.22em; font-size: 0.6875rem; }
.nd-footer__menu .nd-menu, .nd-footer__social { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.nd-footer__menu a, .nd-footer__social a, .nd-footer__mail { font-size: 0.9rem; color: hsl(var(--muted-foreground)); transition: color 300ms; }
.nd-footer__menu a:hover, .nd-footer__social a:hover, .nd-footer__mail:hover { color: hsl(var(--foreground)); }
.nd-footer__mail { display: inline-block; margin-top: 20px; }
.nd-footer__social { margin-top: 16px; }
.nd-footer__base { display: flex; flex-direction: column; gap: 8px; margin-top: 64px; padding-top: 24px; border-top: 1px solid hsl(var(--border) / 0.6); font-size: 0.72rem; color: hsl(var(--muted-foreground)); }
@media (min-width: 768px) { .nd-footer__base { flex-direction: row; justify-content: space-between; } }
.nd-footer__motto { letter-spacing: 0.22em; text-transform: uppercase; }

/* Pagination -------------------------------------------------------------- */
.nd-pagination, .pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 56px; }
.nd-pagination a, .nd-pagination span, .pagination .page-numbers { display: inline-block; min-width: 40px; padding: 10px 14px; border: 1px solid hsl(var(--border)); border-radius: var(--radius); text-align: center; font-size: 0.75rem; letter-spacing: 0.1em; }
.nd-pagination .current, .pagination .current { background: hsl(var(--foreground)); border-color: hsl(var(--foreground)); color: hsl(var(--primary-foreground)); }
.nd-pagination a:hover, .pagination a.page-numbers:hover { border-color: hsl(var(--foreground)); }

/* Header account link ----------------------------------------------------- */
.nd-header__account { display: none; font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: hsl(var(--muted-foreground)); transition: color 300ms; white-space: nowrap; }
.nd-header__account:hover { color: hsl(var(--foreground)); }
@media (min-width: 1024px) { .nd-header__account { display: inline-block; margin-left: 32px; } }
.nd-mobile__account { display: inline-block; margin-top: 28px; padding-top: 24px; border-top: 1px solid hsl(var(--border)); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: hsl(var(--muted-foreground)); }
@media (min-width: 1024px) { .nd-mobile__account { display: none; } }

/* Accounts: log in, create account, reset password --------------------------- */
.nd-auth { display: flex; align-items: center; justify-content: center; padding: 72px 24px 112px; }
@media (min-width: 768px) { .nd-auth { padding: 112px 40px 140px; } }
.nd-auth__inner { width: 100%; max-width: 440px; }
.nd-auth__head { text-align: center; margin-bottom: 40px; }
.nd-auth__badge { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 24px; border: 1px solid hsl(var(--border)); border-radius: 50%; color: hsl(var(--accent)); }
.nd-auth__title { margin: 0; font-family: var(--font-display); font-weight: 300; font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.1; }
.nd-auth__sub { margin: 14px 0 0; font-size: 0.95rem; line-height: 1.6; color: hsl(var(--muted-foreground)); }
.nd-auth__card { border: 1px solid hsl(var(--border)); background: hsl(var(--card)); padding: 32px 24px; }
@media (min-width: 480px) { .nd-auth__card { padding: 40px 36px; } }
.nd-auth__foot { margin: 28px 0 0; text-align: center; font-size: 0.875rem; color: hsl(var(--muted-foreground)); }
.nd-auth__foot a { color: hsl(var(--accent)); text-decoration: underline; text-underline-offset: 3px; }
.nd-auth__closed { margin: 0 0 20px; font-size: 0.95rem; line-height: 1.7; color: hsl(var(--muted-foreground)); }

.nd-auth__form > * + * { margin-top: 24px; }
.nd-auth__form .nd-field input { width: 100%; padding: 10px 0 12px; border: 0; border-bottom: 1px solid hsl(var(--foreground) / 0.25); border-radius: 0; background: transparent; font: inherit; font-size: 1rem; color: hsl(var(--foreground)); transition: border-color 300ms; }
.nd-auth__form .nd-field input:focus { outline: none; border-color: hsl(var(--accent)); }
.nd-field__top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.nd-field__top label { margin: 0; font-size: 0.6rem; letter-spacing: 0.24em; text-transform: uppercase; color: hsl(var(--muted-foreground)); }
.nd-field__note { font-size: 0.7rem; color: hsl(var(--muted-foreground)); }
.nd-field__note a { color: hsl(var(--accent)); text-decoration: underline; text-underline-offset: 2px; }

.nd-check { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: hsl(var(--muted-foreground)); cursor: pointer; }
.nd-check input { width: 15px; height: 15px; accent-color: hsl(var(--accent)); }

.nd-auth__submit { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 50px; padding: 14px 28px; border: 1px solid hsl(var(--foreground)); background: hsl(var(--foreground)); color: hsl(var(--primary-foreground)); font: inherit; font-size: 0.68rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; cursor: pointer; transition: opacity 300ms; }
.nd-auth__submit:hover { opacity: 0.85; }
.nd-auth__submit:disabled { opacity: 0.5; cursor: wait; }

.nd-auth__notices { margin-bottom: 24px; }
.nd-auth__notice { margin: 0 0 10px; padding: 13px 16px; border: 1px solid; border-radius: var(--radius); font-size: 0.875rem; line-height: 1.5; }
.nd-auth__notice:last-child { margin-bottom: 0; }
.nd-auth__notice.is-error { color: hsl(var(--destructive)); border-color: hsl(var(--destructive) / 0.4); background: hsl(var(--destructive) / 0.05); }
.nd-auth__notice.is-ok { color: hsl(var(--ok)); border-color: hsl(var(--ok) / 0.4); background: hsl(var(--ok) / 0.06); }
.nd-auth__notice a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

.nd-auth__providers { margin-bottom: 28px; }
.nd-auth__provider { display: flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 20px; border: 1px solid hsl(var(--border)); background: hsl(var(--background)); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: hsl(var(--foreground)); text-decoration: none; transition: border-color 300ms; }
.nd-auth__provider + .nd-auth__provider { margin-top: 12px; }
.nd-auth__provider:hover { border-color: hsl(var(--foreground)); }
.nd-auth__or { position: relative; margin: 24px 0 0; text-align: center; }
.nd-auth__or::before { content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: hsl(var(--border)); }
.nd-auth__or span { position: relative; padding: 0 14px; background: hsl(var(--card)); font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: hsl(var(--muted-foreground)); }

/* Your account ------------------------------------------------------------- */
.nd-account { display: grid; gap: 48px; }
@media (min-width: 1024px) { .nd-account { grid-template-columns: 7fr 5fr; gap: 64px; } }
.nd-account__main .nd-form > .nd-label { margin-bottom: 20px; }
.nd-account__sep { margin-top: 48px; padding-top: 32px; border-top: 1px solid hsl(var(--border)); }
.nd-account__hint { margin: 10px 0 0; font-size: 0.8rem; color: hsl(var(--muted-foreground)); }
.nd-panel { border: 1px solid hsl(var(--border)); background: hsl(var(--card)); padding: 28px; }
@media (min-width: 768px) { .nd-panel { padding: 32px; } }
@media (min-width: 1024px) { .nd-account__aside { position: sticky; top: 112px; align-self: start; } }
.nd-account__who { margin: 14px 0 0; font-family: var(--font-display); font-size: 1.5rem; line-height: 1.2; }
.nd-account__mail { margin: 6px 0 0; font-size: 0.875rem; color: hsl(var(--muted-foreground)); }
.nd-account__links { margin-top: 28px; padding-top: 24px; border-top: 1px solid hsl(var(--border)); }
.nd-account__out { display: inline-block; margin-top: 28px; font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: hsl(var(--muted-foreground)); transition: color 300ms; }
.nd-account__out:hover { color: hsl(var(--destructive)); }

/* WordPress core alignment helpers --------------------------------------- */
.alignleft { float: left; margin: 0 1.5em 1em 0; } .alignright { float: right; margin: 0 0 1em 1.5em; } .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption-text, figcaption { margin-top: 8px; font-size: 0.8rem; color: hsl(var(--muted-foreground)); }



.nd-section.nd-intro .nd-portrait {
	width: 100%;
	max-width: 100%;
}

/* Courses marquee --------------------------------------------------------- */
.nd-marquee { overflow: hidden; margin-top: 56px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.nd-marquee__track { display: flex; width: max-content; animation: nd-marquee calc(var(--nd-marquee-count, 6) * 9s) linear infinite; will-change: transform; }
.nd-marquee:hover .nd-marquee__track, .nd-marquee:focus-within .nd-marquee__track, .nd-marquee.is-paused .nd-marquee__track { animation-play-state: paused; }
.nd-marquee__set { display: flex; flex-shrink: 0; margin: 0; padding: 0; list-style: none; }
.nd-marquee__item { flex: 0 0 auto; width: 260px; padding-right: 24px; }
@media (min-width: 768px) { .nd-marquee__item { width: 320px; padding-right: 32px; } }
@keyframes nd-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
	.nd-marquee { -webkit-mask-image: none; mask-image: none; overflow-x: auto; }
	.nd-marquee__track { animation: none; }
	.nd-marquee__set[aria-hidden="true"] { display: none; }
}

/* Quote of the moment actions & share button ------------------------------ */
.nd-moment__actions { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: center; gap: 12px; margin-top: 40px; }
.nd-moment__actions .nd-btn, .nd-singlequote__share .nd-btn { margin-top: 0; }
.nd-moment__all { display: inline-block; margin-top: 28px; }
.nd-share--button { position: relative; }
.nd-share--button .nd-share__menu { left: 50%; right: auto; transform: translateX(-50%); text-align: left; }
.nd-share__menu[hidden] { display: none; }

.nd-moment__link { display: block; color: inherit; text-decoration: none; cursor: pointer; }
.nd-moment__link blockquote { transition: color 400ms var(--ease); }
.nd-moment__link:hover blockquote, .nd-moment__link:focus-visible blockquote { color: var(--brand); }



.nd-section.nd-moment .nd-moment__actions {
	display: none;
}
.nd-section__head .nd-btn { margin-top: 0; }
/* Hero button: sits under the video on phones --------------------------------- */
.nd-hero__btn { background: var(--brand); border-color: var(--brand); }
.nd-hero__btn--below { display: none; margin-top: 0; justify-self: start; }
@media (max-width: 767px) {
	.nd-hero__btn--text { display: none; }
	.nd-hero__btn--below { display: inline-flex; }
}

/* Courses marquee: drag / swipe (JS adds .is-js) --------------------------------- */
.nd-marquee.is-js { cursor: grab; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.nd-marquee.is-js.is-dragging { cursor: grabbing; }
.nd-marquee.is-js .nd-marquee__track { animation: none; }
.nd-marquee.is-js .nd-card img { -webkit-user-drag: none; pointer-events: none; }

/* Footer: newsletter button and motto in the logo colour ---------------------- */
.nd-newsletter input[type="submit"], .nd-newsletter button[type="submit"] { min-height: 44px; padding: 0 22px; border: 1px solid var(--brand); border-radius: var(--radius); background: var(--brand); color: #fff; cursor: pointer; transition: background 400ms var(--ease), border-color 400ms var(--ease); }
.nd-newsletter input[type="submit"]:hover, .nd-newsletter button[type="submit"]:hover { opacity: 1; background: hsl(27 48% 26%); border-color: hsl(27 48% 26%); }
.nd-newsletter .mc4wp-form-fields, .nd-newsletter .mc-container { padding-bottom: 0; border-bottom: 0; gap: 12px; }
.nd-newsletter input[type="email"] { border-bottom: 1px solid hsl(var(--foreground) / 0.25); }
.nd-footer__motto { color: var(--brand); }

.nd-footer__motto-btn { margin-top: 0; }

/* Buttons keep their own width inside flex columns (phones) -------------------- */
.nd-btn { align-self: flex-start; max-width: 100%; }
.nd-footer__motto-btn { align-self: flex-start; width: auto; }
.nd-section__head .nd-btn { align-self: flex-start; }
@media (min-width: 768px) { .nd-section__head .nd-btn { align-self: flex-end; } }

/* Quote text link, single quote share icon, footer link underline ---------------- */
.nd-quote__link { display: block; color: inherit; }
.nd-quote__link .nd-quote__text { transition: color 300ms; }
.nd-quote__link:hover .nd-quote__text, .nd-quote__link:focus-visible .nd-quote__text { color: var(--brand); }
.nd-singlequote__share .nd-share__toggle svg { width: 22px; height: 22px; }
.nd-singlequote__share .nd-share__menu { left: 50%; right: auto; transform: translateX(-50%); text-align: left; }

.nd-footer__menu a, .nd-footer__social a, .nd-footer__mail { position: relative; display: inline-block; }
.nd-footer__menu a::after, .nd-footer__social a::after, .nd-footer__mail::after { content: ""; position: absolute; left: 50%; bottom: -3px; height: 1px; width: 0; background: currentColor; transform: translateX(-50%); transition: width 420ms var(--ease); }
.nd-footer__menu a:hover::after, .nd-footer__menu a:focus-visible::after, .nd-footer__social a:hover::after, .nd-footer__social a:focus-visible::after, .nd-footer__mail:hover::after, .nd-footer__mail:focus-visible::after { width: 100%; }
.nd-footer__menu .nd-menu li, .nd-footer__social li { align-self: flex-start; }
