/*
Theme Name: NURA
Theme URI: https://nurahumandesign.com
Description: NURA child theme for Twenty Twenty-Five. Human Design in plain language.
Author: NURA
Template: twentytwentyfive
Version: 0.1.97
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: nura
*/

:root {
	--nura-radius-card: 20px;
	--nura-radius-panel: 24px;
	--nura-sun: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 38'%3E%3Ccircle cx='19' cy='19' r='8'/%3E%3Cg stroke='%23000' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M19 2v5M19 31v5M2 19h5M31 19h5'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- Page transitions ---------- */

@view-transition { navigation: auto; }

::view-transition-old(*),
::view-transition-new(*) {
	animation-duration: 0.4s;
	animation-timing-function: ease;
}

/* view-transition-name makes the header its own stacking context, so lift it above the page or the mobile menu opens underneath. */
.site-header { view-transition-name: site-header; position: relative; z-index: 100; }
.site-footer { view-transition-name: site-footer; }

@media (prefers-reduced-motion: reduce) {
	@view-transition { navigation: none; }
}

/* ---------- Header ---------- */

.site-header .site-header__bar {
	border-bottom: 1px solid var(--wp--preset--color--line);
	min-height: 88px;
}

.wp-block-site-title a {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: inherit;
}

.wp-block-site-title a::before {
	content: "";
	width: 94px;
	height: 30px;
	background: currentColor;
	-webkit-mask: url("assets/img/nura-logo.svg") center / contain no-repeat;
	mask: url("assets/img/nura-logo.svg") center / contain no-repeat;
	flex: none;
}

/* The logo replaces the "NURA" text; the text stays in the link for screen readers. */
.wp-block-site-title a { font-size: 0; letter-spacing: 0; gap: 0; }

.site-header .wp-block-navigation a:hover,
.site-header .wp-block-navigation .current-menu-item > a {
	color: var(--wp--preset--color--terracotta);
}

.site-header .wp-block-navigation a {
	text-decoration: none;
}

.wp-block-navigation__responsive-container.is-menu-open {
	background-color: var(--wp--preset--color--base) !important;
	color: var(--wp--preset--color--contrast) !important;
	padding: 24px clamp(16px, 4.4vw, 64px) !important;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	align-items: flex-start !important;
	justify-content: flex-start !important;
	gap: 24px !important;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	padding-top: 64px !important;
}

.wp-block-navigation__responsive-container.is-menu-open a {
	color: var(--wp--preset--color--contrast);
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
	font-family: var(--wp--preset--font-family--playfair);
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 400;
	min-height: 44px;
}

@media (max-width: 599px) {
	.site-header .site-header__cta { display: none; }
	.site-header .wp-block-site-title a::before { width: 81px; height: 26px; }
}

/* ---------- Footer ---------- */

.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--wp--preset--color--mustard); }

.site-footer .wp-block-navigation {
	--navigation-layout-direction: column;
	gap: 12px;
	font-weight: 400;
}

.site-footer .wp-block-site-title a::before { width: 94px; height: 30px; }

.site-footer__bottom {
	border-top: 1px solid var(--wp--preset--color--cocoa-soft);
}

/* ---------- Text styles ---------- */

p.is-style-eyebrow {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.23em;
	line-height: 1.4;
	text-transform: uppercase;
}

p.is-style-eyebrow:not(.has-text-color) {
	color: var(--wp--preset--color--terracotta);
}

.has-muted-color a { color: inherit; }

.nura-lead {
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.55;
}

.nura-arrow-link a {
	font-weight: 600;
	text-decoration: none;
}

.nura-arrow-link a::after {
	content: "  →";
}

/* ---------- Cards ---------- */

.wp-block-group.is-style-card {
	border-radius: var(--nura-radius-card);
	padding: 40px;
}

.wp-block-group.is-style-card.is-panel {
	border-radius: var(--nura-radius-panel);
}

.wp-block-columns.is-equal-height > .wp-block-column {
	display: flex;
	flex-direction: column;
}

.wp-block-columns.is-equal-height > .wp-block-column > .wp-block-group {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.nura-push-down {
	margin-top: auto !important;
}

@media (max-width: 599px) {
	.wp-block-group.is-style-card { padding: 32px 24px; }
}

/* ---------- Lists and dots ---------- */

ul.is-style-dots {
	list-style: none;
	padding-left: 0;
}

ul.is-style-dots li {
	position: relative;
	padding-left: 22px;
	margin-bottom: 12px;
}

ul.is-style-dots li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.62em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--nura-dot, var(--wp--preset--color--sage));
}

.has-contrast-background-color ul.is-style-dots,
.has-contrast-background-color ul.is-style-dots li {
	--nura-dot: var(--wp--preset--color--mustard);
}

hr.wp-block-separator.is-style-five-dots {
	border: 0;
	height: 10px;
	width: 82px;
	margin-left: 0;
	background:
		radial-gradient(circle at 5px 5px, var(--wp--preset--color--terracotta) 5px, transparent 5.5px) 0 0 / 18px 10px no-repeat,
		radial-gradient(circle at 5px 5px, var(--wp--preset--color--mustard) 5px, transparent 5.5px) 18px 0 / 18px 10px no-repeat,
		radial-gradient(circle at 5px 5px, var(--wp--preset--color--sage) 5px, transparent 5.5px) 36px 0 / 18px 10px no-repeat,
		radial-gradient(circle at 5px 5px, var(--wp--preset--color--blush) 5px, transparent 5.5px) 54px 0 / 18px 10px no-repeat,
		radial-gradient(circle at 5px 5px, var(--wp--preset--color--contrast) 5px, transparent 5.5px) 72px 0 / 18px 10px no-repeat;
}

.has-contrast-background-color hr.wp-block-separator.is-style-five-dots {
	background-image:
		radial-gradient(circle at 5px 5px, var(--wp--preset--color--terracotta) 5px, transparent 5.5px),
		radial-gradient(circle at 5px 5px, var(--wp--preset--color--mustard) 5px, transparent 5.5px),
		radial-gradient(circle at 5px 5px, var(--wp--preset--color--sage) 5px, transparent 5.5px),
		radial-gradient(circle at 5px 5px, var(--wp--preset--color--blush) 5px, transparent 5.5px),
		radial-gradient(circle at 5px 5px, var(--wp--preset--color--base) 5px, transparent 5.5px);
}

/* ---------- Buttons ---------- */

.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--contrast);
	border: 1.5px solid currentColor;
	padding: 12.5px 24.5px;
}

.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
	border-color: var(--wp--preset--color--contrast);
}

.wp-block-button.is-small > .wp-block-button__link {
	font-size: 14px;
	padding: 11px 20px;
}

.wp-block-button.is-style-outline.is-small > .wp-block-button__link {
	padding: 9.5px 18.5px;
}

.has-contrast-background-color .wp-block-button:not(.is-style-outline) > .wp-block-button__link:not(.has-background) {
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
}

.has-contrast-background-color .wp-block-button:not(.is-style-outline) > .wp-block-button__link:not(.has-background):hover {
	background: var(--wp--preset--color--mustard);
}

/* ---------- Price rows (workbooks) ---------- */

.nura-price-row {
	border-bottom: 1px solid var(--wp--preset--color--line);
	padding: 12px 0;
}

.nura-price-row:last-child { border-bottom: 0; }

/* ---------- Media: never scroll the page sideways ---------- */

img, svg, video { max-width: 100%; height: auto; }

/* ---------- Section details ---------- */

.nura-tagline {
	color: var(--wp--preset--color--terracotta);
	font-family: var(--wp--preset--font-family--playfair);
	font-size: 22px;
	font-style: italic;
}

h3.nura-dot {
	display: flex;
	align-items: center;
	gap: 0;
	flex-direction: column;
	align-items: flex-start;
}

h3.nura-dot::before {
	content: "";
	width: 16px;
	height: 16px;
	border-radius: 50%;
	margin-bottom: 20px;
	background: var(--wp--preset--color--sage);
}

h3.nura-dot--terracotta::before { background: var(--wp--preset--color--terracotta); }
h3.nura-dot--mustard::before { background: var(--wp--preset--color--mustard); }

.nura-number {
	font-family: var(--wp--preset--font-family--playfair);
	font-size: 26px;
	line-height: 1;
	margin-bottom: 8px;
}

.nura-steps .nura-number {
	display: flex;
	align-items: center;
	gap: 16px;
}

.nura-steps .nura-number::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--wp--preset--color--line);
}

.nura-price {
	font-family: var(--wp--preset--font-family--playfair);
	font-size: 22px;
	line-height: 1.3;
	white-space: nowrap;
}

.nura-card-foot {
	border-top: 1px solid var(--wp--preset--color--line);
	padding-top: 24px;
}

.has-contrast-background-color .nura-card-foot {
	border-top-color: var(--wp--preset--color--cocoa-soft);
}

.nura-big-list li {
	font-family: var(--wp--preset--font-family--playfair);
	font-size: 22px;
}

.nura-big-list li:nth-child(2) { --nura-dot: var(--wp--preset--color--mustard); }
.nura-big-list li:nth-child(3) { --nura-dot: var(--wp--preset--color--sage); }
.nura-big-list li:nth-child(4) { --nura-dot: var(--wp--preset--color--blush); }
.nura-big-list li:nth-child(5) { --nura-dot: var(--wp--preset--color--contrast); }
.nura-big-list li:nth-child(1) { --nura-dot: var(--wp--preset--color--terracotta); }

.nura-types .wp-block-group.is-style-card,
.nura-basics .wp-block-group.is-style-card {
	padding: 24px;
}

/* About: belief cards pop in one by one, lift on hover (2026-10-20). Classes are added by pop-in.js. */
.nura-pop > .wp-block-column { opacity: 0; transform: translateY(24px) scale(0.97); transition: opacity 0.5s ease, transform 0.5s ease; }
.nura-pop.is-in > .wp-block-column { opacity: 1; transform: none; }
.nura-pop.is-in > .wp-block-column:nth-child(2) { transition-delay: 0.15s; }
.nura-pop.is-in > .wp-block-column:nth-child(3) { transition-delay: 0.3s; }
.nura-pop.is-in > .wp-block-column:nth-child(4) { transition-delay: 0.45s; }
.nura-pop .is-style-card { transition: transform 0.25s ease; }
@media (hover: hover) { .nura-pop .is-style-card:hover { transform: translateY(-4px); } }

@media (min-width: 782px) and (max-width: 1100px) {
	.nura-types,
	.nura-basics {
		flex-wrap: wrap !important;
	}

	.nura-types > .wp-block-column,
	.nura-basics > .wp-block-column {
		flex-basis: calc(33.333% - 24px) !important;
		flex-grow: 1;
	}
}

.nura-hero-chart img {
	width: 100%;
	max-width: 360px;
	margin-inline: auto;
	display: block;
}

/* ---------- What is Human Design ---------- */

h3.nura-dot--cocoa::before { background: var(--wp--preset--color--contrast); }

.nura-quote {
	margin-top: 40px;
	padding-left: 24px;
	border-left: 2px solid var(--wp--preset--color--terracotta);
	font-family: var(--wp--preset--font-family--playfair);
	font-style: italic;
	font-size: 22px;
	line-height: 1.45;
}

.nura-quote span {
	display: block;
	margin-top: 12px;
	font-family: var(--wp--preset--font-family--poppins);
	font-style: normal;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}

.nura-sources li span {
	display: block;
	font-family: var(--wp--preset--font-family--poppins);
	font-size: 15px;
	color: var(--wp--preset--color--muted);
	margin-top: 2px;
}

.nura-share {
	font-family: var(--wp--preset--font-family--playfair);
	font-size: 44px;
	line-height: 1;
	color: var(--wp--preset--color--mustard);
	margin-bottom: 8px;
}

.nura-type-facts {
	margin-top: auto !important;
	padding-top: 16px;
	border-top: 1px solid rgba(248, 238, 227, 0.15);
	color: var(--wp--preset--color--base);
	line-height: 1.9;
}

.nura-type-facts strong {
	display: inline-block;
	min-width: 96px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--wp--preset--color--mustard);
}

.nura-type-card { display: flex; flex-direction: column; }

@media (min-width: 782px) and (max-width: 1100px) {
	.nura-types:has(> .wp-block-column:nth-child(4):last-child) > .wp-block-column {
		flex-basis: calc(50% - 24px) !important;
	}
}

.wp-block-columns.nura-steps { margin-top: 48px; }

.nura-formats {
	margin-top: 16px;
	padding: 12px 16px;
	border-radius: 12px;
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--muted);
}

/* ---------- Header account link ---------- */

.nura-account-link {
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
}

.nura-account-link:hover { color: var(--wp--preset--color--terracotta); }

@media (max-width: 599px) {
	.site-header .nura-account-link { display: none; }
}

.has-contrast-background-color .wp-block-button.is-style-outline > .wp-block-button__link:not(:hover) {
	color: var(--wp--preset--color--base);
}

.nura-contact-email {
	font-family: var(--wp--preset--font-family--playfair);
	font-size: var(--wp--preset--font-size--x-large);
	margin: 8px 0 0;
}

.nura-contact-email a { text-decoration: none; }
.nura-contact-email a:hover { color: var(--wp--preset--color--terracotta); }

.site-footer__email a { color: var(--wp--preset--color--base); text-decoration: none; }
.site-footer__email a:hover { color: var(--wp--preset--color--mustard); }
.site-footer__social { margin-top: var(--wp--preset--spacing--30) !important; }
.site-footer__social .wp-social-link a:hover { color: var(--wp--preset--color--mustard); }
.site-footer__social .wp-social-link-tiktok svg { transform: scale(0.8); } /* TikTok fills its box; Instagram has a margin built in */
.site-footer__social .wp-social-link-facebook svg { transform: scale(0.84); } /* Facebook's circle fills its box too */
.site-footer__social .wp-social-link-pinterest svg { transform: scale(0.84); } /* Pinterest is a full circle like Facebook */

/* ---------- FAQ: soft cards, one list ---------- */

.nura-faq-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: var(--wp--preset--spacing--50) !important;
}

.nura-faq-list > * { margin: 0 !important; }

.wp-block-details.nura-faq {
	background: var(--wp--preset--color--surface);
	border-radius: 16px;
	padding: 0 24px;
	transition: background-color 0.2s ease;
}

.wp-block-details.nura-faq[open] { background: var(--wp--preset--color--blush); }

.wp-block-details.nura-faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	list-style: none;
	cursor: pointer;
	padding: 20px 0;
	font-family: var(--wp--preset--font-family--playfair);
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.35;
}

.wp-block-details.nura-faq summary::-webkit-details-marker { display: none; }

.wp-block-details.nura-faq summary::after {
	content: "+";
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 1px solid var(--wp--preset--color--line);
	font-family: var(--wp--preset--font-family--poppins);
	font-size: 18px;
	line-height: 1;
}

.wp-block-details.nura-faq[open] summary::after {
	content: "−";
	background: var(--wp--preset--color--contrast);
	border-color: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
}

.wp-block-details.nura-faq summary:focus-visible {
	outline: 2px solid var(--wp--preset--color--terracotta);
	outline-offset: 4px;
	border-radius: 8px;
}

.wp-block-details.nura-faq > p {
	margin: -4px 0 0;
	padding-bottom: 22px;
	font-size: 15px;
	color: var(--wp--preset--color--muted);
}

.wp-block-details.nura-faq a { color: var(--wp--preset--color--terracotta); }

@media (prefers-reduced-motion: reduce) {
	.wp-block-details.nura-faq { transition: none; }
}

/* ---------- Legal pages (simple reading) ---------- */

.nura-legal h2 {
	font-size: var(--wp--preset--font-size--x-large);
	margin-top: var(--wp--preset--spacing--50);
}

.nura-legal p,
.nura-legal li { font-size: 16px; }

.nura-legal__updated { color: var(--wp--preset--color--muted); margin-top: 8px !important; }

.nura-legal__short {
	border-radius: 14px;
	padding: 16px 20px !important;
	margin-top: var(--wp--preset--spacing--40) !important;
}

.nura-legal a { color: var(--wp--preset--color--terracotta); }

.nura-legal__table table {
	border-collapse: collapse;
	font-size: 14px;
	width: 100%;
}

.nura-legal__table th,
.nura-legal__table td {
	border: 0;
	border-bottom: 1px solid var(--wp--preset--color--line);
	padding: 12px 12px 12px 0;
	text-align: left;
	vertical-align: top;
}

.nura-legal__table th { font-weight: 600; }

.nura-legal__table { overflow-x: auto; }

/* Footer: small legal links in the bottom row */
.site-footer__legal { font-size: 13px; }
.site-footer__legal .wp-block-navigation-item__content { color: var(--wp--preset--color--on-dark); }

.site-footer .site-footer__legal,
.site-footer .site-footer__legal .wp-block-navigation__container {
	--navigation-layout-direction: row;
	flex-direction: row !important;
	gap: 24px !important;
}

/* Plan v2 pages: Learn, Premium */
.nura-plan-section { margin-block: var(--wp--preset--spacing--50, 32px); }
.nura-plan-section + .nura-plan-section { border-top: 1px solid var(--wp--preset--color--line); padding-top: var(--wp--preset--spacing--50, 32px); }
.nura-guide-item { padding-block: 10px; border-bottom: 1px solid var(--wp--preset--color--line); }
.nura-guide-item h3 { font-size: 17px; margin: 0 0 4px; }
.nura-guide-item p { margin: 0; }
.nura-wb-hint { margin-top: 14px; padding-top: 10px; border-top: 1px dashed var(--wp--preset--color--line); font-size: 13px; color: var(--wp--preset--color--muted); }
.nura-wb-hint a { color: inherit; }
.nura-plan-box { border: 1px solid var(--wp--preset--color--line); background: var(--wp--preset--color--surface); padding: 20px; }
.nura-sources { font-size: 12px; color: var(--wp--preset--color--muted); }

/* Learn: workbook cards with sample pages */
.nura-wb-card { border: 1px solid var(--wp--preset--color--line); padding: 20px; margin-block: 16px; gap: 24px; }
.nura-wb-card h3 { margin: 0 0 6px; }
.nura-wb-cover img, .nura-wb-page img { border: 1px solid var(--wp--preset--color--line); display: block; width: 100%; height: auto; }
.nura-wb-pages { gap: 10px; margin-block: 12px; }
.nura-wb-pages .nura-wb-page { flex: 1 1 0; margin: 0; max-width: 140px; }
.nura-wb-price { margin: 0; }
.nura-wb-note { font-size: 13px; color: var(--wp--preset--color--muted); margin: 0; }
.nura-wb-buy { margin-top: 10px; }

/* ---------- Spacing: one calm rhythm everywhere (8 · 16 · 24 · 32 · 48 · 64) ---------- */

/* Coloured full-width sections touch each other: no white strips between them. */
.alignfull.has-background + .alignfull,
.alignfull + .alignfull.has-background,
.wp-site-blocks > footer,
.wp-site-blocks > .wp-block-template-part + .wp-block-template-part { margin-block-start: 0; }

/* A section heading gets room before the cards or columns under it. */
:where(h2, h1).wp-block-heading + :where(.wp-block-columns, .wp-block-group, .wp-block-table) { margin-block-start: var(--wp--preset--spacing--40); }
.wp-block-group:has(> h2:last-child) + :where(.wp-block-columns, .wp-block-group) { margin-block-start: var(--wp--preset--spacing--40); }
p.is-style-eyebrow + :where(h1, h2, h3) { margin-block-start: 12px; }

/* Card links never sit right under the text. */
.wp-block-group .nura-arrow-link,
.wp-block-group .nura-push-down { padding-top: 16px; }

/* Home: the formats note and the bundle line. */
.nura-formats + p { margin-top: 16px; }

/* Learn and Premium: comfortable reading width, clear parts. */
.nura-plan-section { margin-block: 0; padding-block: var(--wp--preset--spacing--60, 64px); }
.nura-plan-section:first-child { padding-top: 0; }
.nura-plan-section + .nura-plan-section { padding-top: var(--wp--preset--spacing--60, 64px); }
.nura-plan-section > :not(.nura-wb-card) { max-width: 760px; }
.nura-plan-section > h2 { margin-block: 12px 24px; }
.nura-plan-section > h3 { margin-block: 48px 8px; }
.nura-plan-section > p { line-height: 1.65; }

/* Learn: the list of parts as a tidy two-column index. */
.nura-lead + .wp-block-list:not(.nura-pills) {
	list-style: none;
	padding: 0;
	margin-top: 32px;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 0 32px;
	counter-reset: part;
}
.nura-lead + .wp-block-list:not(.nura-pills) li { counter-increment: part; border-top: 1px solid var(--wp--preset--color--line); }
.nura-lead + .wp-block-list:not(.nura-pills) a { display: flex; gap: 12px; padding: 12px 0; text-decoration: none; }
.nura-lead + .wp-block-list:not(.nura-pills) a::before { content: counter(part); min-width: 1.4em; color: var(--wp--preset--color--muted); font-variant-numeric: tabular-nums; }
.nura-lead + .wp-block-list:not(.nura-pills) a:hover { text-decoration: underline; }

/* Learn: term + meaning rows. */
.nura-guide-item { padding-block: 16px; margin: 0 !important; }
.nura-guide-item h3 { font-size: 17px; font-weight: 600; margin: 0 0 4px; }
.nura-guide-item p { line-height: 1.6; }
.nura-guide-item:last-of-type { border-bottom: 0; }

/* The quiet workbook line at the end of each part. */
.nura-wb-hint {
	margin-top: 24px !important;
	padding: 12px 16px;
	border-top: 0;
	background: var(--wp--preset--color--surface);
	line-height: 1.5;
	box-sizing: border-box;
}

/* Tables: light lines, room in every cell. */
.nura-plan-section .wp-block-table table { border-collapse: collapse; width: 100%; font-size: 15px; }
.nura-plan-section .wp-block-table :where(th, td) { border: 0; border-bottom: 1px solid var(--wp--preset--color--line); padding: 14px 16px 14px 0; text-align: left; vertical-align: top; line-height: 1.55; }
.nura-plan-section .wp-block-table thead { border-bottom: 0; }
.nura-plan-section .wp-block-table th { font-weight: 600; font-size: 14px; border-bottom-color: var(--wp--preset--color--contrast); }
.nura-plan-section .wp-block-table td:first-child { color: var(--wp--preset--color--muted); }

/* Boxes (price, starter pages, Premium nudge). */
.nura-plan-box { padding: 32px; }
.nura-plan-box > :first-child { margin-top: 0; }
.nura-plan-box > * + * { margin-top: 16px; }
.nura-plan-box h2 { margin-bottom: 8px; }

/* Workbook cards: smaller cover, room around the text. */
.nura-wb-card { padding: 32px; gap: 40px; margin-block: 24px !important; }
.nura-wb-card > .wp-block-column:first-child { flex: 0 0 220px !important; }
.nura-wb-card h3 { margin: 0 0 8px; }
.nura-wb-card p { line-height: 1.6; }
.nura-wb-pages { gap: 12px; margin-block: 20px; }
.nura-wb-buy { margin-top: 20px !important; }

@media (max-width: 781px) {
	.nura-wb-card { padding: 24px; gap: 24px; }
	.nura-wb-card > .wp-block-column:first-child { flex-basis: auto !important; max-width: 220px; }
	.nura-plan-box { padding: 24px; }
	.nura-plan-section .wp-block-table { overflow-x: auto; }
}

/* ---------- Header: always one tidy line ---------- */

.site-header .site-header__bar,
.site-header .site-header__bar > .wp-block-group { align-items: center; }
.site-header .wp-block-navigation-item__content,
.site-header .site-header__cta .wp-block-button__link,
.site-header .nura-account-link { white-space: nowrap; }

/* Medium widths: tighter gaps so the full menu still fits on one line. */
@media (min-width: 1180px) and (max-width: 1279px) {
	.site-header .site-header__bar > .wp-block-group,
	.site-header .wp-block-navigation .wp-block-navigation__container { gap: 24px !important; }
}

/* Below 1180px the menu folds into the ☰ button (as on phones); account link and Free chart stay. */
@media (min-width: 600px) and (max-width: 1179px) {
	.site-header .wp-block-navigation__responsive-container-open { display: flex !important; }
	.site-header .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none !important; }
	.site-header .site-header__bar > .wp-block-group { gap: 24px !important; }
}
.site-header .wp-block-site-title { margin: 0; line-height: 1; }
.site-header .site-header__bar .wp-block-navigation,
.site-header .site-header__bar .wp-block-buttons,
.site-header .site-header__bar .nura-account-link { margin-block: 0; }

/* ---------- Night sky over the whole first screen (Home only) ---------- */

.nura-sky { position: absolute; top: 0; left: 0; width: 100%; z-index: -1; pointer-events: none; }

.nura-chart-form .nura-field-row > * { min-width: 0; }
.nura-chart-form input { min-width: 0; }

/* ---------- Home: a full-screen starry opening, then the calculator on its own ---------- */

.nura-opening {
	position: relative;
	min-height: min(86vh, 880px);
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
	padding-block: 64px 120px;
	margin-block-start: 0 !important;
}
.nura-opening > * { margin-inline: auto !important; }
.nura-opening .is-style-eyebrow { margin-block: 0 20px; color: var(--wp--preset--color--muted); }
.nura-opening h1 { font-size: clamp(44px, 8vw, 96px); line-height: 1.02; letter-spacing: -0.03em; max-width: 12ch; margin-block: 0; text-wrap: balance; }
.nura-opening .nura-lead { max-width: 34em; margin-block: 28px 0; }
.nura-down { position: absolute; left: 50%; bottom: 32px; transform: translateX(-50%); margin: 0 !important; }
.nura-down a { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--wp--preset--color--contrast); }
.nura-down a::after {
	content: "";
	width: 18px;
	height: 18px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M9 3v12M3.5 9.5 9 15l5.5-5.5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M9 3v12M3.5 9.5 9 15l5.5-5.5'/%3E%3C/svg%3E") center / contain no-repeat;
	animation: nura-nudge 2.4s ease-in-out infinite;
}
@keyframes nura-nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
html { scroll-behavior: smooth; }

.nura-calc { padding-block: 96px; margin-block-start: 0 !important; scroll-margin-top: 0; }
.nura-calc > .is-style-eyebrow, .nura-calc > h2, .nura-calc > .nura-calc__sub { text-align: center; }
.nura-calc > .is-style-eyebrow { margin-block: 0; }
.nura-calc > h2 { margin-block: 12px 0; }
.nura-calc__sub { color: var(--wp--preset--color--muted); margin-block: 12px 0 !important; }
.nura-calc .nura-chart-form {
	max-width: 760px !important;
	margin: 40px auto 0 !important;
	padding: 40px;
	background: var(--wp--preset--color--surface);
	border-radius: var(--nura-radius-panel);
	gap: 20px;
	transition: max-width 0.3s ease;
}
.nura-calc .nura-mode { align-self: center; }
.nura-calc .nura-chart-form .wp-block-buttons { display: flex; justify-content: center; margin-top: 16px; }
.nura-calc .nura-form-note, .nura-calc .nura-form-status { text-align: center; }

/* Two people: side by side on wide screens. */
@media (min-width: 800px) {
	.nura-calc .nura-chart-form[data-mode="compat"] {
		max-width: 1040px !important;
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 20px 48px;
	}
	.nura-calc .nura-chart-form[data-mode="compat"] > * { grid-column: 1 / -1; }
	.nura-calc .nura-chart-form[data-mode="compat"] > .nura-person--a { grid-column: 1; }
	.nura-calc .nura-chart-form[data-mode="compat"] > .nura-person--b { grid-column: 2; padding-top: 0; border-top: 0; }
	.nura-calc .nura-chart-form[data-mode="compat"] > .nura-mode { justify-self: center; }
}
.nura-calc .nura-chart-form[data-mode="compat"] .nura-person__title { padding-bottom: 12px; border-bottom: 1px solid var(--wp--preset--color--line); width: 100%; margin-bottom: 8px; }

@media (max-width: 599px) {
	.nura-calc { padding-block: 64px; }
	.nura-calc .nura-chart-form { padding: 24px 20px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.nura-down a::after { animation: none; }
	.nura-calc .nura-chart-form { transition: none; }
}

/* Home: the short workbook list ends with one quiet line about what's coming */
.nura-wb-more { margin-top: 16px !important; font-size: 14px; line-height: 1.5; color: var(--wp--preset--color--muted); }

/* Home: workbooks as a sideways scroller (swipe on phones, arrows on computers) */
.nura-wbs { position: relative; margin-top: 8px; }
.nura-wbs__nav { position: absolute; top: -44px; right: 0; display: none; gap: 8px; }
.nura-wbs.is-scrollable .nura-wbs__nav { display: flex; }
.nura-wbs__btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--wp--preset--color--line); background: var(--wp--preset--color--base); color: var(--wp--preset--color--contrast); font: inherit; font-size: 16px; line-height: 1; cursor: pointer; }
.nura-wbs__btn:hover:not(:disabled) { border-color: var(--wp--preset--color--contrast); }
.nura-wbs__btn:disabled { opacity: 0.35; cursor: default; }
.nura-wbs__track {
	list-style: none;
	margin: 0;
	padding: 4px 2px 12px;
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
	-webkit-overflow-scrolling: touch;
}
.nura-wbs__card { flex: 0 0 136px; scroll-snap-align: start; }
.nura-wbs__card a { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: inherit; }
.nura-wbs__card img,
.nura-wbs__blank { display: block; width: 100%; aspect-ratio: 232 / 300; height: auto; object-fit: cover; border: 1px solid var(--wp--preset--color--line); box-sizing: border-box; }
.nura-wbs__blank { display: flex; align-items: center; justify-content: center; padding: 12px; background: var(--wp--preset--color--base); text-align: center; font-size: 13px; line-height: 1.35; color: var(--wp--preset--color--muted); }
.nura-wbs__name { font-size: 13px; line-height: 1.35; }
.nura-wbs__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font-size: 15px; font-weight: 600; }
.nura-wbs__soon { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wp--preset--color--muted); }
.nura-wbs__card a:hover .nura-wbs__name { text-decoration: underline; }
.nura-wbs__card a:focus-visible { outline: 2px solid var(--wp--preset--color--contrast); outline-offset: 3px; }
.nura-wbs-box .nura-wb-more { margin-top: 8px !important; }
@media (prefers-reduced-motion: reduce) { .nura-wbs__track { scroll-behavior: auto; } }
.nura-wbs-box > .is-style-eyebrow { padding-right: 96px; }
@media (max-width: 599px) {
	.nura-wbs-box > .is-style-eyebrow { padding-right: 0; }
	.nura-wbs.is-scrollable .nura-wbs__nav { display: none; }
	/* A third cover peeks in from the side, so it's clear you can swipe. */
	.nura-wbs__card { flex-basis: 40%; }
}

/* Workbooks page (2026-10-09): compact cards, cover beside the text on phones too. */
.nura-wb-card--compact { padding: 14px; gap: 16px; align-items: flex-start; }
.nura-wb-card--compact h3 { margin: 0 0 4px; font-size: 1.15rem; }
.nura-wb-card--compact p { margin: 0 0 6px; }
.nura-wb-look summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; text-decoration: underline; }
.nura-bundles .nura-plan-box h3 { margin-top: 0; }
.nura-wb-card--compact.wp-block-columns { display: flex !important; flex-wrap: nowrap !important; }
.nura-wb-card--compact > .wp-block-column:first-child { flex: 0 0 96px !important; max-width: 96px; }
.nura-wb-card--compact > .wp-block-column:last-child { flex: 1 1 auto !important; min-width: 0; }
@media (min-width: 782px) { .nura-wb-card--compact > .wp-block-column:first-child { flex-basis: 140px !important; max-width: 140px; } }

/* Footer link lists: two columns on phones instead of three squeezed ones (2026-10-09). */
@media (max-width: 600px) {
	.site-footer__menus.wp-block-columns { flex-wrap: wrap !important; row-gap: 24px; }
	.site-footer__menus > .wp-block-column { flex: 1 1 40% !important; }
}

/* ---------- Workbooks page: a small shop ---------- */

.nura-plan-section > .nura-shop-wide { max-width: none; }
.nura-pills { list-style: none; padding: 0; margin-top: 24px !important; display: flex; flex-wrap: wrap; gap: 8px; }
.nura-pills li { padding: 6px 14px; border: 1px solid var(--wp--preset--color--line); border-radius: 999px; font-size: 14px; margin: 0; }

.nura-sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; margin-bottom: 32px !important; }
.nura-sec-head > .is-style-eyebrow { flex-basis: 100%; margin: 0 !important; }
.nura-sec-head > h2 { margin: 0 !important; }
.nura-sec-head__note { margin: 0 !important; color: var(--wp--preset--color--muted); }

.nura-books { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.nura-books > * { margin: 0 !important; }
.nura-book { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; padding: 24px; background: var(--wp--preset--color--surface); border-radius: var(--nura-radius-card); }
.nura-book > * { margin: 0 !important; }
.nura-book__cover img { width: 100%; height: auto; display: block; border-radius: 4px; box-shadow: 0 1px 0 var(--wp--preset--color--line), 0 10px 24px rgba(0, 0, 0, 0.08); }
.nura-book__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.nura-book__body > * { margin: 0 !important; }
.nura-book__body h3 { font-size: 19px; line-height: 1.3; text-wrap: balance; }
.nura-book__inside { font-size: 15px; line-height: 1.55; }
.nura-book__meta { font-size: 13px; color: var(--wp--preset--color--muted); }
.nura-book__buy { margin-top: auto !important; padding-top: 4px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.nura-book__price { font-size: 24px; font-weight: 600; }
.nura-book__member { font-size: 13px; color: var(--wp--preset--color--muted); }
.nura-book .nura-wb-look summary { font-size: 14px; font-weight: 600; cursor: pointer; }
.nura-book .nura-wb-pages { margin-block: 12px 0; gap: 8px; }
.nura-book__soon { align-self: flex-start; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--wp--preset--color--line); font-size: 14px; font-weight: 600; color: var(--wp--preset--color--muted); }

.nura-bundles-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.nura-bundles-grid > * { margin: 0 !important; }
.nura-bundle { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 32px; border: 1px solid var(--wp--preset--color--line); border-radius: var(--nura-radius-card); }
.nura-bundle > * { margin: 0 !important; }
.nura-bundle h3 { font-size: 20px; }
.nura-bundle > p:not([class]) { color: var(--wp--preset--color--muted); }
.nura-bundle--best { border: 2px solid var(--wp--preset--color--contrast); }
.nura-bundle__badge { position: absolute; top: -13px; left: 24px; padding: 3px 12px; border-radius: 999px; background: var(--wp--preset--color--contrast); color: var(--wp--preset--color--base); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.nura-bundle__price s { color: var(--wp--preset--color--muted); margin-left: 6px; }
.nura-bundle__save { font-size: 14px; font-weight: 600; }
.nura-bundle .nura-book__soon { margin-top: 6px !important; }

.nura-steps-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.nura-steps-list li { counter-increment: step; margin: 0; padding-top: 16px; border-top: 2px solid var(--wp--preset--color--contrast); }
.nura-steps-list li::before { content: counter(step); display: block; font-size: 28px; line-height: 1.2; margin-bottom: 6px; }
.nura-steps-list strong { display: block; }
.nura-steps-list span { color: var(--wp--preset--color--muted); font-size: 15px; }

.nura-soons { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.nura-soons li { display: flex; flex-direction: column; justify-content: space-between; gap: 12px; min-height: 112px; margin: 0; padding: 18px; border: 1px dashed var(--wp--preset--color--line); border-radius: 14px; }
.nura-soons strong { font-weight: 600; line-height: 1.35; }
.nura-soons span { font-size: 14px; color: var(--wp--preset--color--muted); }
.nura-soons__ask { margin-top: 32px !important; }

.nura-prem { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 32px; background: var(--wp--preset--color--surface); border-radius: var(--nura-radius-card); }
.nura-prem > *, .nura-prem__text > * { margin: 0 !important; }
.nura-prem h2 { font-size: 26px; }
.nura-prem__text p { margin-top: 6px !important; color: var(--wp--preset--color--muted); }

@media (max-width: 900px) {
	.nura-books, .nura-bundles-grid { grid-template-columns: 1fr; }
	.nura-soons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
	.nura-book { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 18px; }
	.nura-steps-list { grid-template-columns: 1fr; }
	.nura-bundle, .nura-prem { padding: 24px; }
}
.nura-pills { display: flex; justify-content: flex-start; margin-top: 24px; }
.nura-pills li { flex: 0 0 auto; }

/* "Your chart" menu link only in the phone menu; on wider screens the "Free chart" button does the job (2026-10-09). */
@media (min-width: 600px) {
	.site-header .wp-block-navigation-item.nura-phone-only { display: none; }
}

/* ---------- Design check 12 Oct: switch buttons, tables on phones ---------- */

/* Picture switches (types, origins, centre/gate/channel, black/red/both): calm pills, not browser buttons. */
.nura-explain__switch { gap: 8px !important; }
.nura-explain button[data-view] {
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	min-height: 40px;
	padding: 0 18px;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 999px;
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--muted);
	text-decoration: none !important;
	cursor: pointer;
	transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.nura-explain button[data-view]:hover { border-color: var(--wp--preset--color--contrast); color: var(--wp--preset--color--contrast); }
.nura-explain button[data-view][aria-pressed="true"] { background: var(--wp--preset--color--contrast); border-color: var(--wp--preset--color--contrast); color: var(--wp--preset--color--base); }
.nura-explain button[data-view]:focus-visible { outline: 2px solid var(--wp--preset--color--contrast); outline-offset: 2px; }
/* On dark sections the colours swap. */
.has-contrast-background-color .nura-explain button[data-view] { background: transparent; border-color: var(--wp--preset--color--cocoa-soft); color: var(--wp--preset--color--on-dark); }
.has-contrast-background-color .nura-explain button[data-view]:hover { border-color: var(--wp--preset--color--base); color: var(--wp--preset--color--base); }
.has-contrast-background-color .nura-explain button[data-view][aria-pressed="true"] { background: var(--wp--preset--color--base); border-color: var(--wp--preset--color--base); color: var(--wp--preset--color--contrast); }
@media (prefers-reduced-motion: reduce) { .nura-explain button[data-view] { transition: none; } }

/* Wide tables (the nine centres) scroll sideways on phones instead of squeezing into thin columns. */
@media (max-width: 600px) {
	.nura-plan-section .wp-block-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.nura-plan-section .wp-block-table table { min-width: 560px; }
}

/* Premium members: the extra detail is a soft fold-out like the FAQ, no "Premium" label or black frame. */
.nura-premium-more--open { border: 0 !important; border-radius: 16px; background: var(--wp--preset--color--surface); padding: 0 20px !important; }
.nura-premium-more--open summary { list-style: none; justify-content: space-between; font-weight: 600 !important; min-height: 56px; }
.nura-premium-more--open summary::-webkit-details-marker { display: none; }
.nura-premium-more--open summary::after { content: "+"; flex: none; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--wp--preset--color--line); font-weight: 400; }
.nura-premium-more--open[open] summary::after { content: "−"; }
.nura-premium-more--open .nura-premium-more__body { padding-bottom: 16px; }

/* What is Human Design: "It can help you answer" questions open to a short answer */
.nura-qa-list { display: flex; flex-direction: column; gap: 8px; margin-top: 16px !important; }
.nura-qa-list > * { margin: 0 !important; }
.wp-block-details.nura-qa { background: var(--wp--preset--color--base); border-radius: 16px; padding: 0 20px; }
.wp-block-details.nura-qa summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; list-style: none; cursor: pointer; padding: 16px 0; font-size: 19px; line-height: 1.35; }
.wp-block-details.nura-qa summary::-webkit-details-marker { display: none; }
.wp-block-details.nura-qa summary::after { content: "+"; flex: none; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--wp--preset--color--line); font-size: 16px; line-height: 1; }
.wp-block-details.nura-qa[open] summary::after { content: "−"; background: var(--wp--preset--color--contrast); border-color: var(--wp--preset--color--contrast); color: var(--wp--preset--color--base); }
.wp-block-details.nura-qa summary:focus-visible { outline: 2px solid var(--wp--preset--color--contrast); outline-offset: 4px; border-radius: 8px; }
.wp-block-details.nura-qa > p { margin: -4px 0 0; padding-bottom: 18px; font-size: 15px; line-height: 1.6; color: var(--wp--preset--color--muted); }

/* FAQ and question fold-outs: no box left around a question after you click it. Keyboard users still see which one is focused (underline). */
.wp-block-details.nura-faq summary:focus,
.wp-block-details.nura-faq summary:focus-visible,
.wp-block-details.nura-qa summary:focus,
.wp-block-details.nura-qa summary:focus-visible,
.nura-premium-more summary:focus,
.nura-premium-more summary:focus-visible { outline: none; box-shadow: none; }
.wp-block-details.nura-faq summary:focus-visible,
.wp-block-details.nura-qa summary:focus-visible,
.nura-premium-more summary:focus-visible { text-decoration: underline; text-underline-offset: 4px; }

/* Short pages (Contact): the footer sits at the bottom of the screen, no white strip under it. */
.wp-site-blocks { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
.wp-site-blocks > main { flex: 1 0 auto; }
.wp-site-blocks > footer { margin-top: 0; }

/* About: "Hi, I'm Maia" */
.nura-about-me { background: var(--wp--preset--color--surface); margin-block-start: 0 !important; }
.nura-about-me { position: relative; overflow: hidden; isolation: isolate; }
/* Maia's drawing: big and faint behind the text (2026-10-17). */
.nura-about-me::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: url(assets/img/maia-sketch.png) center / auto 135% no-repeat; opacity: 0.07; }
@media (max-width: 600px) { .nura-about-me::before { background-size: auto 110%; } }
.nura-about-me .alignwide > * { max-width: 760px; }
.nura-about-me h2 { margin-block: 12px 24px; }
.nura-about-me p:not(.is-style-eyebrow) { line-height: 1.65; }

/* Menu links: no square focus box when the phone menu opens; keyboard users get a clean underline instead. */
.site-header .wp-block-navigation a:focus,
.wp-block-navigation__responsive-container a:focus { outline: none; }
.site-header .wp-block-navigation a:focus-visible,
.wp-block-navigation__responsive-container a:focus-visible { outline: none; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
.wp-block-navigation__responsive-container-open:focus:not(:focus-visible),
.wp-block-navigation__responsive-container-close:focus:not(:focus-visible) { outline: none; }
/* While the phone menu is open, the private test bar goes behind it so the close button shows. */
html:has(.wp-block-navigation__responsive-container.is-menu-open) .nura-viewbar { z-index: 50 !important; }

/* About: only the eyes from the sketch, as a soft band beside the text (above it on phones). */
.nura-about-me::before { background: url(assets/img/maia-eyes.png) right 2% center / min(31%, 440px) auto no-repeat; opacity: 0.5; }
@media (max-width: 781px) {
	.nura-about-me { padding-top: calc(var(--wp--preset--spacing--60) + 120px) !important; }
	.nura-about-me::before { background-position: center top 40px; background-size: min(88%, 420px) auto; opacity: 0.45; }
}

/* About: no picture (Maia, 19 Oct). */
.nura-about-me::before { content: none; }
@media (max-width: 781px) { .nura-about-me { padding-top: var(--wp--preset--spacing--60) !important; } }

/* Compatibility: Together / person / person as one rounded pill switch (like Just me / Two people), no arrows. */
.nura-compat__switch { display: inline-flex !important; flex-wrap: wrap; gap: 4px !important; padding: 4px; margin-bottom: 16px; border: 1px solid var(--wp--preset--color--line); border-radius: 999px; background: var(--wp--preset--color--base); max-width: 100%; }
.nura-compat__switch .nura-compat__step { display: none !important; }
.nura-compat__switch button[data-compat-view] { font: inherit; font-size: 14px; font-weight: 600; min-height: 40px; padding: 0 18px; border: 0 !important; border-radius: 999px; background: transparent; color: var(--wp--preset--color--muted); text-decoration: none !important; box-shadow: none !important; outline: none; cursor: pointer; flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nura-compat__switch button[data-compat-view]:hover { color: var(--wp--preset--color--contrast); }
.nura-compat__switch button[data-compat-view][aria-pressed="true"] { background: var(--wp--preset--color--contrast); color: var(--wp--preset--color--base); }
.nura-compat__switch button[data-compat-view]:focus-visible { outline: 2px solid var(--wp--preset--color--contrast); outline-offset: 2px; }

/* Compatibility switch, quieter (20 Oct): just words, a thin line under the chosen one. */
.nura-compat__switch { border: 0 !important; background: transparent !important; padding: 0 !important; gap: 20px !important; margin-bottom: 20px; border-radius: 0; }
.nura-compat__switch button[data-compat-view] { min-height: 32px; padding: 0 0 6px !important; border-radius: 0 !important; background: transparent !important; color: var(--wp--preset--color--muted) !important; border-bottom: 2px solid transparent !important; font-weight: 500; }
.nura-compat__switch button[data-compat-view][aria-pressed="true"] { color: var(--wp--preset--color--contrast) !important; border-bottom-color: var(--wp--preset--color--contrast) !important; font-weight: 600; }

/* Home "The five types": the whole card opens that type's page and lifts on hover, like the About cards. */
.nura-types .wp-block-group.is-style-card { position: relative; transition: transform 0.25s ease; }
.nura-types h3 a { color: inherit; text-decoration: none; }
.nura-types h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
@media (hover: hover) { .nura-types .wp-block-group.is-style-card:hover { transform: translateY(-4px); } }

/* What is HD, "It combines": picture and text sit together in one soft card (picture left, text right). */
.nura-explain--origins .nura-explain__switch { margin-bottom: 20px; }
.nura-explain--origins .nura-explain__panel:not([hidden]) {
	display: grid;
	grid-template-columns: 132px minmax(0, 1fr);
	column-gap: 24px;
	align-items: center;
	padding: 24px;
	border-radius: 16px;
	background: var(--wp--preset--color--surface);
}
.nura-explain--origins .nura-explain__panel > .nura-origin { grid-row: 1 / span 3; width: 132px; margin: 0; }
.nura-explain--origins .nura-explain__panel > :not(.nura-origin) { grid-column: 2; margin: 0; }
.nura-explain--origins .nura-explain__panel > .nura-explain__hint { align-self: end; font-size: 12px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; opacity: 1; color: var(--wp--preset--color--muted); }
.nura-explain--origins .nura-explain__panel > h3 { margin-top: 4px; font-size: 22px; line-height: 1.25; }
.nura-explain--origins .nura-explain__panel > p:last-child { align-self: start; margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--wp--preset--color--muted); }
@media (max-width: 480px) {
	.nura-explain--origins .nura-explain__panel:not([hidden]) { grid-template-columns: 88px minmax(0, 1fr); column-gap: 16px; padding: 18px; }
	.nura-explain--origins .nura-explain__panel > .nura-origin { width: 88px; }
	.nura-explain--origins .nura-explain__panel > h3 { font-size: 19px; }
}

/* Lavender highlight (Maia, 24 Oct): NURA's colour for important things. The chosen button or tab, and key notes. Black text on it. */
body .nura-explain button[data-view][aria-pressed="true"],
body .has-contrast-background-color .nura-explain button[data-view][aria-pressed="true"],
body .nura-tag.is-on,
body .nura-account__switch button[aria-pressed="true"],
body .nura-pills button[aria-pressed="true"] { background: var(--wp--preset--color--highlight); border-color: var(--wp--preset--color--highlight); color: var(--wp--preset--color--contrast); }
body .nura-explain__switch button[aria-pressed="true"] { background: var(--wp--preset--color--highlight); color: var(--wp--preset--color--contrast); text-decoration: none; border-radius: 999px; }
body .nura-compat__switch button[data-compat-view] { padding: 0 14px !important; border-radius: 999px !important; border-bottom: 0 !important; }
body .nura-compat__switch button[data-compat-view][aria-pressed="true"] { background: var(--wp--preset--color--highlight) !important; color: var(--wp--preset--color--contrast) !important; }
body .nura-result__note,
body .nura-shop-account__notice,
body .nura-saved-note { background: var(--wp--preset--color--highlight); border-color: var(--wp--preset--color--highlight); color: var(--wp--preset--color--contrast); }
body .nura-saved-note { padding: 10px 14px; border-radius: 12px; }
body .nura-trial-note strong { background: var(--wp--preset--color--highlight); padding: 1px 6px; border-radius: 4px; }

/* Lavender, more places (Maia, 24 Oct: "add it more"). The chart drawing is untouched: only the tap layer on top is tinted, with multiply so numbers and lines stay sharp. */
body .nura-hit--gate.is-on, body .nura-hit--gate:focus-visible { fill: var(--wp--preset--color--highlight); mix-blend-mode: multiply; stroke: var(--wp--preset--color--contrast); stroke-width: 1.5; }
body .nura-hit--ch.is-on, body .nura-hit--ch:focus-visible, body .nura-hit--ch.is-on path { stroke: var(--wp--preset--color--highlight); mix-blend-mode: multiply; }
body .nura-hit--arrow.is-on { fill: var(--wp--preset--color--highlight); mix-blend-mode: multiply; }
body .nura-explain__arrow.is-on .nura-explain__pill { fill: var(--wp--preset--color--highlight); }
body .nura-explain__tap { background: var(--wp--preset--color--highlight); color: var(--wp--preset--color--contrast); }
body .nura-tap-note strong { background: var(--wp--preset--color--highlight); padding: 1px 6px; border-radius: 4px; }
body .wp-block-details.nura-faq[open] { background: var(--wp--preset--color--highlight); }
body .nura-ac__item:hover, body .nura-ac__item.is-active { background: var(--wp--preset--color--highlight); }
body .nura-premium-more__tag { background: var(--wp--preset--color--highlight); border-color: var(--wp--preset--color--highlight); }
body .nura-pills button:hover, body .nura-tag:hover, body .nura-explain__switch button:hover, body .nura-compat__switch button[data-compat-view]:hover { border-color: var(--wp--preset--color--highlight); }
body .wp-block-details.nura-qa[open] { background: var(--wp--preset--color--highlight); }
body .wp-block-details.nura-qa[open] > p { color: var(--wp--preset--color--contrast); }

/* ---------- Page opening with the big lavender NURA symbol (What is Human Design) ---------- */

.nura-page-hero {
	position: relative;
	overflow: hidden;
	min-height: min(78vh, 760px);
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-block: 64px 96px;
	margin-block-start: 0 !important;
}
.nura-page-hero::before {
	/* Placed as in Maia's picture (2026-10-24): the symbol's swoosh, mirrored and tilted, cut off on the right. */
	--u: min(1vw, 16px);
	content: "";
	position: absolute;
	z-index: 0;
	top: calc(5.96 * var(--u));
	right: calc(-10.2 * var(--u));
	width: calc(51.4 * var(--u));
	aspect-ratio: 81 / 118;
	background: var(--wp--preset--color--highlight);
	-webkit-mask: url("assets/img/nura-swoosh.svg") center / contain no-repeat;
	mask: url("assets/img/nura-swoosh.svg") center / contain no-repeat;
	transform: rotate(23deg) scaleX(-1);
	pointer-events: none;
}
.nura-page-hero > * { position: relative; z-index: 1; margin-left: 0 !important; }
.nura-page-hero .is-style-eyebrow { margin-block: 0 20px; color: var(--wp--preset--color--muted); }
.nura-page-hero h1 { font-size: clamp(44px, 8vw, 104px); font-weight: 400; line-height: 1.02; letter-spacing: -0.03em; max-width: 11ch; margin-block: 0; }
.nura-page-hero .nura-lead { max-width: 30em; margin-block: 28px 0; }
.nura-page-hero .wp-block-buttons { margin-block-start: 32px; }
@media (max-width: 781px) {
	.nura-page-hero { min-height: 0; padding-block: 48px 64px; }
	.nura-page-hero::before { --u: 1.25vw; right: -34vw; top: 2vw; }
}

/* The small sources note at the end of a page: room above and below, a thin line on top, never touching the footer. */
.nura-sources-row { margin-block: 0 !important; padding-block: 28px 56px; border-top: 1px solid var(--wp--preset--color--line); }
.nura-sources-row .nura-sources, .nura-plan-section > .nura-sources { margin: 0; max-width: 760px; line-height: 1.6; }

/* Lavender dots (Maia, 24 Oct: "add little more blue, dots blue"). Only the dots: card dots and list bullets. */
body h3.nura-dot::before { background: var(--wp--preset--color--highlight) !important; }
body ul.is-style-dots li::before { background: var(--wp--preset--color--highlight) !important; }

/* My account: WordPress wraps the account block in an empty paragraph; hide it so there's no extra gap at the top. */
.wp-block-post-content p:has(+ #nura-account), .wp-block-post-content p:has(+ .nura-shop-account) { display: none; }
#nura-account { margin-top: 0 !important; }

/* Page hero swoosh (26 Oct): never cut at the bottom. Its size also follows the screen height, so the whole shape fits inside the section (it is only cut on the right, as designed). */
.nura-page-hero::before { --u: min(1vw, 16px, 0.72vh); }
@media (max-width: 781px) { .nura-page-hero::before { --u: min(1.25vw, 0.6vh); top: 14vw; } }

/* Lavender boxes, frosted glass (Maia, 26 Oct: "use this color #ccd1ed for this boxes", then "more blurry or lighter", picked frosted glass).
   Chart form box: soft lavender wash with a light edge. Type cards on the black section: see-through lavender with blur and light text. */
.nura-calc .nura-chart-form {
	background: linear-gradient(135deg, color-mix(in srgb, var(--wp--preset--color--highlight) 35%, var(--wp--preset--color--base)), color-mix(in srgb, var(--wp--preset--color--highlight) 65%, var(--wp--preset--color--base)));
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--highlight) 60%, var(--wp--preset--color--base));
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}
.nura-types .wp-block-group.is-style-card {
	background-color: color-mix(in srgb, var(--wp--preset--color--highlight) 22%, transparent) !important;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--highlight) 45%, transparent);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}
/* Since the brand book look (26 Oct) the section is light grey, so the cards get more lavender and dark text. */
.nura-types .wp-block-group.is-style-card { background-color: color-mix(in srgb, var(--wp--preset--color--highlight) 45%, var(--wp--preset--color--base)) !important; border-color: var(--wp--preset--color--highlight); }
.nura-types .wp-block-group.is-style-card h3,
.nura-types .wp-block-group.is-style-card h3 a { color: var(--wp--preset--color--contrast) !important; }
.nura-types .wp-block-group.is-style-card p { color: var(--wp--preset--color--muted) !important; }

/* Page-hero swoosh, big again as in Maia's picture (26 Oct). Instead of shrinking the shape, the opening
   section is tall enough to hold all of it, so scrolling never shows it cut at the bottom (only the right edge is cut, as designed).
   The rotated shape reaches about 88 units down from the section top. */
.nura-page-hero { --u: min(1vw, 16px); min-height: max(min(78vh, 760px), calc(var(--u) * 92)); }
.nura-page-hero::before { --u: min(1vw, 16px); }
@media (max-width: 781px) {
	.nura-page-hero { --u: 1.25vw; min-height: calc(14vw + var(--u) * 92); }
	.nura-page-hero::before { --u: 1.25vw; top: 14vw; }
}

/* The same swoosh, smaller, at the top of Learn, Workbooks and About (not Premium: Maia, 26 Oct, "remove the lavendel logo"), so every page feels like one site.
   It sits behind the text, on the right, inside the page's first full-width group (which reaches past the opening, so it isn't cut either). */
:is(.page-id-13, .page-id-116, .page-id-38) .wp-block-post-content > .alignfull:first-child { position: relative; overflow-x: clip; isolation: isolate; }
:is(.page-id-13, .page-id-116, .page-id-38) .wp-block-post-content > .alignfull:first-child::before {
	--u: min(0.55vw, 8px);
	content: "";
	position: absolute;
	z-index: -1;
	top: calc(2 * var(--u));
	right: calc(-9 * var(--u));
	width: calc(51.4 * var(--u));
	aspect-ratio: 81 / 118;
	background: var(--wp--preset--color--highlight);
	-webkit-mask: url("assets/img/nura-swoosh.svg") center / contain no-repeat;
	mask: url("assets/img/nura-swoosh.svg") center / contain no-repeat;
	transform: rotate(23deg) scaleX(-1);
	pointer-events: none;
}
@media (max-width: 781px) {
	:is(.page-id-13, .page-id-116, .page-id-38) .wp-block-post-content > .alignfull:first-child::before { --u: 0.9vw; right: calc(-18 * var(--u)); top: calc(4 * var(--u)); opacity: 0.8; }
}
/* Text sits in the upper part of the tall opening, as in Maia's picture, so the button stays on the first screen. */
.nura-page-hero { justify-content: flex-start !important; padding-top: calc(var(--u) * 11) !important; }
@media (max-width: 781px) { .nura-page-hero { padding-top: 48px !important; } }
/* About's opening is shorter, so its swoosh is a little smaller and ends inside the section. */
@media (min-width: 782px) { .page-id-38 .wp-block-post-content > .alignfull:first-child::before { --u: min(0.44vw, 6px); } }
/* Less empty space under the What is HD opening: the painted swoosh ends about 61 units down, so the section only needs ~66. */
.nura-page-hero { min-height: max(min(70vh, 700px), calc(var(--u) * 66)) !important; }
@media (max-width: 781px) { .nura-page-hero { min-height: calc(14vw + var(--u) * 66) !important; } }

/* ---------- Brand book look (Maia, 2026-10-26: "yes, do all pages") ----------
   Mostly white and light grey. Black only for text and buttons, so the black sections,
   dark cards and the footer turn light. Lavender stays only on the picked thing. */

body .wp-block-group.has-contrast-background-color:not(.wp-block-button__link),
body .site-footer.has-contrast-background-color {
	background-color: var(--wp--preset--color--surface) !important;
	color: var(--wp--preset--color--contrast) !important;
}
body .site-footer { border-top: 1px solid var(--wp--preset--color--line); }
body .wp-block-group.has-cocoa-soft-background-color { background-color: var(--wp--preset--color--base) !important; }
body .wp-block-group.has-contrast-background-color .has-contrast-background-color.wp-block-group { background-color: var(--wp--preset--color--base) !important; }

:is(.wp-block-group.has-contrast-background-color, .wp-block-group.has-cocoa-soft-background-color, .site-footer) :is(.has-base-color, h1, h2, h3, h4, a:not(.wp-block-button__link)) {
	color: var(--wp--preset--color--contrast) !important;
}
:is(.wp-block-group.has-contrast-background-color, .wp-block-group.has-cocoa-soft-background-color, .site-footer) :is(.has-on-dark-color, .has-mustard-color, .wp-block-site-tagline) {
	color: var(--wp--preset--color--muted) !important;
}
:is(.wp-block-group.has-contrast-background-color, .site-footer) .wp-block-button__link.has-base-background-color {
	background-color: var(--wp--preset--color--contrast) !important;
	color: var(--wp--preset--color--base) !important;
}
:is(.wp-block-group.has-contrast-background-color, .site-footer) .wp-block-button__link:not(.has-background) {
	border-color: var(--wp--preset--color--contrast) !important;
	color: var(--wp--preset--color--contrast) !important;
}
body .site-footer a:hover,
body .site-footer__email a:hover,
body .site-footer__social .wp-social-link a:hover { color: var(--wp--preset--color--muted) !important; }
body .site-footer .wp-social-link { color: var(--wp--preset--color--contrast) !important; }
body .site-footer__legal .wp-block-navigation-item__content { color: var(--wp--preset--color--muted) !important; }
body .site-footer__bottom { border-top-color: var(--wp--preset--color--line) !important; }
.has-contrast-background-color .nura-explain button[data-view] { border-color: var(--wp--preset--color--line); color: var(--wp--preset--color--contrast); }
.has-contrast-background-color .nura-explain button[data-view][aria-pressed="true"] { background: var(--wp--preset--color--highlight); border-color: var(--wp--preset--color--highlight); color: var(--wp--preset--color--contrast); }
body .nura-type-facts { color: var(--wp--preset--color--contrast); border-top-color: var(--wp--preset--color--line); }

/* Swoosh on Learn, Workbooks, Premium and About starts below the header line (Maia, 26 Oct: "the logo on the learn and other pages is weird").
   It used to poke up over the header border and the Free chart button on wide screens. */
:is(.page-id-13, .page-id-116, .page-id-38) .wp-block-post-content > .alignfull:first-child::before { top: calc(12 * var(--u)); }
@media (max-width: 781px) {
	:is(.page-id-13, .page-id-116, .page-id-38) .wp-block-post-content > .alignfull:first-child::before { top: calc(14 * var(--u)); }
}
/* Bigger swoosh on Learn, Workbooks, Premium and About (Maia, 26 Oct: still too small). About keeps a slightly smaller one because its opening is shorter. */
@media (min-width: 782px) {
	:is(.page-id-13, .page-id-116, .page-id-38) .wp-block-post-content > .alignfull:first-child::before { --u: min(0.8vw, 12px); }
	.page-id-38 .wp-block-post-content > .alignfull:first-child::before { --u: min(0.62vw, 9px); }
}
/* Mid-size screens: same big swoosh, pushed further right so it stays clear of the titles. */
@media (min-width: 782px) and (max-width: 1279px) {
	:is(.page-id-13, .page-id-116) .wp-block-post-content > .alignfull:first-child::before { --u: 0.72vw; right: calc(-22 * var(--u)); }
}

/* Type symbols (Maia, 2026-10-26): a little round icon for each energy type, on the home type cards
   and next to each type on the Types page. Spark = Manifestor, spiral = Generator, double spiral =
   Manifesting Generator, eye = Projector, empty circle = Reflector. Files in assets/img/types/. */
.nura-types h3::before {
	content: "";
	display: block;
	width: 44px;
	height: 44px;
	margin-bottom: 16px;
	border-radius: 50%;
	background: var(--wp--preset--color--base) center / 22px 22px no-repeat;
}
.nura-big-list li:has(> strong > a[href*="/types/"]) { padding-left: 52px; min-height: 36px; }
.nura-big-list li:has(> strong > a[href*="/types/"])::before {
	top: 0;
	width: 36px;
	height: 36px;
	/* The dots rule above sets the lavender with !important, so the icon needs it too. */
	background-position: center !important;
	background-size: 18px 18px !important;
	background-repeat: no-repeat !important;
}
:is(.nura-types h3, .nura-big-list li):has(a[href*="/types/manifestor/"])::before { background-image: url("assets/img/types/manifestor.svg") !important; }
:is(.nura-types h3, .nura-big-list li):has(a[href*="/types/generator/"])::before { background-image: url("assets/img/types/generator.svg") !important; }
:is(.nura-types h3, .nura-big-list li):has(a[href*="/types/manifesting-generator/"])::before { background-image: url("assets/img/types/manifesting-generator.svg") !important; }
:is(.nura-types h3, .nura-big-list li):has(a[href*="/types/projector/"])::before { background-image: url("assets/img/types/projector.svg") !important; }
:is(.nura-types h3, .nura-big-list li):has(a[href*="/types/reflector/"])::before { background-image: url("assets/img/types/reflector.svg") !important; }
