/* ==========================================================================
   Nutrition by Yemi — the editorial design
   Warm neutrals, a small-caps display face over Outfit, arched photographs.
   Loaded only where ny_v2() is true and scoped to body.ny-v2, so pages not
   yet moved across (and the digital product pages, which keep their own
   design) are untouched. The --ny-* tokens are redefined here, so every
   classic section placed on an editorial page takes the palette too.
   ========================================================================== */

body.ny-v2 {
	/* The palette: Burnt Orange #CD5C08, Honey Cream #F5E8B7, Moss Sage
	   #6A9C89. The other values are tints and shades of those three.
	   (The previous pink palette is in backups/pink-palette-*.) */
	--ny-ivory: #FBF5E1;      /* light honey cream: the main ground */
	--ny-paper: #FFFBEF;
	--ny-stone: #F5E8B7;      /* honey cream: panels */
	--ny-sage: #D5E4DC;
	--ny-sage-soft: #EAF1EA;
	--ny-forest: #CD5C08;     /* burnt orange: an accent only (buttons, accent words) */
	--ny-forest-deep: #A84A05;
	--ny-band: #6A9C89;       /* moss sage: the strongest ground, for the feature bands */
	--ny-charcoal: #2B2118;
	--ny-clay: #B5520A;       /* the orange a shade deeper, so small labels stay legible on cream */
	--ny-clay-soft: #F5E8B7;  /* honey cream: accents on the sage, highlights */
	--ny-white: #FFFFFF;

	--ny-wine: #CD5C08;       /* the logo's three bars */
	--ny-rose: #6A9C89;
	--ny-linen: #E6D79E;

	/* --ny-serif is the display face throughout the theme. Tenez is declared
	   in functions.php once its licensed files are in assets/fonts/; until
	   then Marcellus SC, a true small-caps face, stands in. */
	--ny-serif: "Tenez", "Marcellus SC", Georgia, serif;
	--ny-sans: "Outfit", "Helvetica Neue", Arial, sans-serif;

	--ny-shell: 1240px;
	--ny-space: clamp(88px, 10vw, 150px);
	--ny-radius: 0px;
	--ny-radius-img: 0px;
	--ny-shadow: 0 34px 60px -34px rgba(60, 40, 15, .38), 0 14px 26px -18px rgba(60, 40, 15, .22);

	--ny-ground: var(--ny-ivory);
	--ny-ink: var(--ny-charcoal);
	--ny-muted: #6B5D4A;
	--ny-line: rgba(150, 105, 35, .16);
	--ny-accent: var(--ny-clay);
	--ny-head: #2B2118;

	background: var(--ny-ivory);
	color: var(--ny-charcoal);
	font-family: var(--ny-sans);
	font-size: 17px;
	font-weight: 300;
	line-height: 1.7;
}

.ny-v2 ::selection { background: var(--ny-clay-soft); color: var(--ny-forest-deep); }
.ny-v2 strong, .ny-v2 b { font-weight: 500; }

/* Tones, restated: the classic tone rules hold literal greens and ivories. */
.ny-v2 .ny-tone--ivory, .ny-v2 .ny-tone--paper, .ny-v2 .ny-tone--stone, .ny-v2 .ny-tone--light {
	--ny-ink: var(--ny-charcoal);
	--ny-muted: #6B5D4A;
	--ny-line: rgba(150, 105, 35, .16);
	--ny-accent: var(--ny-clay);
	--ny-head: #2B2118;
}
.ny-v2 .ny-tone--sage {
	--ny-muted: #5A4D3B;
	--ny-line: rgba(150, 105, 35, .2);
	--ny-accent: var(--ny-wine);
	--ny-head: #2B2118;
}
/* The deep tones are the sage band here, with dark type and the accent word
   in honey cream (orange on sage is too close in value to read). */
.ny-v2 .ny-tone--forest, .ny-v2 .ny-tone--dark, .ny-v2 .ny-tone--charcoal {
	--ny-ground: var(--ny-band);
	--ny-ink: #2B2118;
	--ny-muted: #2F281D;
	--ny-line: rgba(43, 33, 24, .2);
	--ny-accent: var(--ny-clay-soft);
	--ny-head: #2B2118;
}
.ny-v2 .ny-tone--forest::after, .ny-v2 .ny-tone--dark::after, .ny-v2 .ny-tone--charcoal::after { display: none; }

/* ---------------------------------------------------------- typography -- */

/* Headings are written in normal case and the small-caps face does the rest;
   the *accent* word is picked out in colour rather than slanted. */
.ny-v2 h1, .ny-v2 h2, .ny-v2 h3, .ny-v2 h4 {
	font-family: var(--ny-serif);
	font-weight: 400;
	line-height: 1.06;
	letter-spacing: .01em;
	text-transform: none;
}
.ny-v2 :is(h1, h2, h3, h4) em,
.ny-v2 :is(.ny-title, .ny-opener__title) em { font-style: normal; font-weight: 400; color: var(--ny-accent); }

.ny-v2 .ny-title,
.ny-v2 .ny-head .ny-title { font-size: clamp(2.3rem, 4.4vw, 3.8rem); line-height: 1.06; max-width: 15em; }
.ny-v2 .ny-lede { font-size: clamp(1.05rem, 1.25vw, 1.16rem); line-height: 1.7; }
.ny-v2 p:not([class]) { font-weight: 300; }

.ny-v2 .ny-eyebrow {
	font-family: var(--ny-sans);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .1em;
	margin-bottom: 20px;
}
.ny-v2 .ny-eyebrow__rule { display: none; }
.ny-v2 .ny-head { margin-bottom: clamp(44px, 5.5vw, 76px); }
.ny-v2 .ny-head--split { align-items: end; }
.ny-v2 .ny-head--center .ny-title { max-width: 18em; }
.ny-v2 .ny-list-title { font-family: var(--ny-sans); font-weight: 500; letter-spacing: .1em; }

/* ------------------------------------------------------------- buttons -- */

.ny-v2 .ny-btn {
	--b-bg: var(--ny-forest);
	--b-fg: var(--ny-ivory);
	--b-bd: var(--ny-forest);
	min-height: 54px;
	padding: 15px 30px;
	font-family: var(--ny-sans);
	font-size: 15px;
	font-weight: 500;
	letter-spacing: .01em;
	text-transform: none;
}
.ny-v2 .ny-btn:hover { --b-bg: var(--ny-forest-deep); --b-bd: var(--ny-forest-deep); --b-fg: var(--ny-paper); transform: none; }
.ny-v2 .ny-btn--secondary { --b-bg: transparent; --b-fg: var(--ny-forest); --b-bd: var(--ny-forest); }
.ny-v2 .ny-btn--secondary:hover { --b-bg: var(--ny-forest); --b-fg: var(--ny-ivory); --b-bd: var(--ny-forest); }
.ny-v2 .ny-btn--light { --b-bg: var(--ny-ivory); --b-fg: var(--ny-forest-deep); --b-bd: var(--ny-ivory); }
.ny-v2 .ny-btn--ghost { --b-bg: transparent; --b-fg: var(--ny-ivory); --b-bd: rgba(251, 245, 225, .5); }
.ny-v2 .ny-btn--text {
	--b-bg: transparent; --b-bd: transparent; --b-fg: var(--ny-head);
	min-height: 0;
	padding: 4px 0 5px;
	font-size: 15px;
	border-bottom: 1px solid currentColor;
}
.ny-v2 .ny-btn--text:hover { --b-bg: transparent; --b-bd: transparent; --b-fg: var(--ny-clay); border-bottom-color: currentColor; }
.ny-v2 .ny-btn--text .ny-icon { width: 17px; height: 17px; }

/* On the pink band: the red primary as everywhere, a dark outline for the second. */
.ny-v2 :is(.ny-tone--forest, .ny-tone--dark, .ny-tone--charcoal) :is(.ny-btn--primary, .ny-btn--submit) { --b-bg: var(--ny-forest); --b-fg: var(--ny-paper); --b-bd: var(--ny-forest); }
.ny-v2 :is(.ny-tone--forest, .ny-tone--dark, .ny-tone--charcoal) :is(.ny-btn--primary, .ny-btn--submit):hover { --b-bg: var(--ny-forest-deep); --b-bd: var(--ny-forest-deep); --b-fg: var(--ny-paper); }
.ny-v2 :is(.ny-tone--forest, .ny-tone--dark, .ny-tone--charcoal) .ny-btn--secondary { --b-fg: #2B2118; --b-bd: rgba(43, 33, 24, .55); }
.ny-v2 :is(.ny-tone--forest, .ny-tone--dark, .ny-tone--charcoal) .ny-btn--secondary:hover { --b-bg: #2B2118; --b-fg: var(--ny-paper); --b-bd: #2B2118; }
.ny-v2 :is(.ny-tone--forest, .ny-tone--dark, .ny-tone--charcoal) .ny-btn--text { --b-fg: #2B2118; }

.ny-v2 .ny-actions { gap: 14px 28px; align-items: center; margin-top: 38px; }

/* Small labels on the pink band: red at label size sits too close to the pink,
   so they are set in the dark ink; the red stays on the larger accent words. */
.ny-v2 :is(.ny-tone--forest, .ny-tone--dark, .ny-tone--charcoal) :is(.ny-eyebrow, .ny-consult__label) { color: #2B2118; }

.ny-v2 .ny-status { border-radius: 0; background: var(--ny-clay); color: var(--ny-paper); padding: 5px 11px; font-weight: 500; letter-spacing: .06em; }
.ny-v2 .ny-status::before { display: none; }

/* ------------------------------------------------------------ masthead -- */

.ny-v2 .ny-topbar { background: var(--ny-band); color: #2B2118; font-size: 13.5px; letter-spacing: .01em; }
.ny-v2 .ny-topbar__link { color: #2B2118; }
.ny-v2 .ny-topbar__link:hover { color: var(--ny-forest); }
.ny-v2 .ny-topbar__tag { background: var(--ny-forest); color: var(--ny-paper); border-radius: 0; padding: 2px 8px; margin-right: 4px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

.ny-v2 .ny-bar {
	background: rgba(251, 245, 225, .92);
	border-bottom: 1px solid var(--ny-line);
}
.ny-v2.is-scrolled .ny-bar { background: rgba(251, 245, 225, .97); box-shadow: 0 12px 30px -26px rgba(60, 40, 15, .5); }
.ny-v2 .ny-bar__inner { min-height: 88px; gap: 32px; }

.ny-v2 .ny-nav__list { gap: clamp(18px, 2.4vw, 38px); }
.ny-v2 .ny-nav__list a {
	font-family: var(--ny-sans);
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	color: var(--ny-charcoal);
}
.ny-v2 .ny-nav__list a::after { background: var(--ny-clay); height: 2px; }

/* A second level (Programs → Educational / Private) opens on hover or focus. */
.ny-nav__list > .menu-item-has-children { position: relative; }
.ny-nav__list > .menu-item-has-children > a { padding-right: 14px; }
.ny-nav__list > .menu-item-has-children > a::before {
	content: "";
	position: absolute;
	right: 0;
	top: 50%;
	width: 5px;
	height: 5px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-70%) rotate(45deg);
	opacity: .6;
}
.ny-nav__list .sub-menu {
	position: absolute;
	top: 100%;
	left: -22px;
	z-index: 20;
	min-width: 250px;
	margin-top: 14px;
	padding: 10px 0;
	list-style: none;
	background: var(--ny-paper);
	border: 1px solid var(--ny-line);
	box-shadow: 0 18px 40px -24px rgba(43, 33, 24, .35);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .25s, transform .25s var(--ny-ease), visibility .25s;
}
.ny-nav__list .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -15px; height: 15px; }
.ny-nav__list > li:hover > .sub-menu,
.ny-nav__list > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.ny-v2 .ny-nav__list .sub-menu a { display: block; padding: 10px 22px; font-size: 14.5px; white-space: nowrap; }
.ny-v2 .ny-nav__list .sub-menu a::after { display: none; }
.ny-v2 .ny-nav__list .sub-menu a:hover,
.ny-v2 .ny-nav__list .sub-menu .current-menu-item > a { color: var(--ny-clay); background: var(--ny-sage-soft); }
.ny-drawer__list .sub-menu { list-style: none; margin: 0 0 6px; padding: 0 0 0 18px; }
.ny-v2 .ny-drawer__list .sub-menu a { font-family: var(--ny-sans); font-size: 17px; padding: 10px 0; }
.ny-v2 .ny-bar__cta { min-height: 46px; padding: 10px 22px; font-size: 14.5px; }
.ny-v2 .ny-burger { color: #2B2118; border-color: var(--ny-line); }

/* The name in Bebas, over the logo's three bars. */
.ny-v2 .ny-brand--type {
	flex-direction: column;
	align-items: flex-start;
	gap: 5px;
	line-height: 1;
	color: #2B2118;
}
.ny-v2 .ny-brand__name {
	font-family: var(--ny-serif);
	font-size: 25px;
	font-weight: 400;
	letter-spacing: .05em;
	line-height: 1;
	text-transform: none;
	white-space: nowrap;
}
.ny-v2 .ny-brand__name em { font-style: normal; color: var(--ny-clay); }
.ny-v2 .ny-brand__bars { display: flex; width: 100%; height: 4px; transform: skewX(-35deg); transform-origin: left; }
.ny-v2 .ny-brand__bars i { flex: 1; }
.ny-v2 .ny-brand__bars i:nth-child(1) { background: var(--ny-wine); }
.ny-v2 .ny-brand__bars i:nth-child(2) { background: var(--ny-rose); }
.ny-v2 .ny-brand__bars i:nth-child(3) { background: var(--ny-linen); }
.ny-v2 .ny-brand__tag { font-family: var(--ny-sans); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; opacity: .75; margin-top: 5px; }
.ny-v2 .ny-drawer .ny-brand__bars i:nth-child(3) { background: var(--ny-ivory); }
.ny-v2 .ny-brand--lg .ny-brand__name { font-size: 32px; }

/* Drawer */
.ny-v2 .ny-drawer { background: rgba(60, 40, 15, .45); }
.ny-v2 .ny-drawer { background: rgba(43, 33, 24, .35); }
.ny-v2 .ny-drawer__panel { background: var(--ny-band); color: #2B2118; }
.ny-v2 .ny-drawer__list a { font-family: var(--ny-serif); font-size: 32px; font-weight: 400; line-height: 1.1; color: #2B2118; border-bottom-color: rgba(43, 33, 24, .18); }
.ny-v2 .ny-drawer__close { color: #2B2118; border-color: rgba(43, 33, 24, .3); }
.ny-v2 .ny-drawer .ny-btn--light { --b-bg: var(--ny-forest); --b-fg: var(--ny-paper); --b-bd: var(--ny-forest); }
.ny-v2 .ny-drawer__cred { font-size: 13px; color: #2F281D; }

/* ------------------------------------------------------------- portrait -- */

.ny-v2 .ny-portrait { border-radius: 0; background: var(--ny-sage-soft); }
.ny-v2 .ny-portrait--empty { color: var(--ny-clay); }

/* --------------------------------------------------------------- opener -- */

.ny-v2 .ny-opener {
	padding-block: var(--ny-pt, clamp(56px, 7vw, 100px)) var(--ny-pb, clamp(96px, 11vw, 160px));
	overflow: hidden;
}
.ny-opener__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
	gap: clamp(48px, 7vw, 110px);
	align-items: center;
}
.ny-opener__title {
	font-size: clamp(2.9rem, 5.8vw, 5.2rem);
	line-height: 1.02;
	letter-spacing: .005em;
	max-width: 10em;
	margin-bottom: 0;
}
.ny-opener__lede {
	max-width: 44ch;
	margin-top: 30px;
	font-size: clamp(1.05rem, 1.25vw, 1.18rem);
	color: var(--ny-muted);
}

.ny-opener__media {
	position: relative;
	justify-self: end;
	width: min(100%, 460px);
}
/* A sand panel behind the portrait, running off the right edge. */
.ny-opener__media::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: 14%;
	bottom: -48px;
	left: 30%;
	width: 100vw;
	background: var(--ny-stone);
}
.ny-opener__media .ny-portrait { position: relative; aspect-ratio: 4 / 5; }
.ny-opener__caption {
	position: relative;
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin: 16px 0 0;
	font-size: 14px;
	font-weight: 500;
	color: var(--ny-head);
}
.ny-opener__caption span { font-weight: 400; color: var(--ny-muted); }

/* A hero's background photograph (ny_backdrop): full bleed, under a wash of
   the section's own ground — strong behind the copy on the left, lighter to
   the right so the room reads. Centred heads get an even wash. */
.ny-v2 .ny-has-backdrop { position: relative; isolation: isolate; }
.ny-backdrop {
	position: absolute;
	inset: 0;
	z-index: -1;
	overflow: hidden;
	pointer-events: none;
}
.ny-backdrop img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	filter: saturate(.75);
}
.ny-backdrop::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg,
		color-mix(in srgb, var(--ny-ground) 95%, transparent) 0%,
		color-mix(in srgb, var(--ny-ground) 90%, transparent) 38%,
		color-mix(in srgb, var(--ny-ground) 62%, transparent) 70%,
		color-mix(in srgb, var(--ny-ground) 45%, transparent) 100%);
}
/* A centred page head: copy alone, in the middle of the photograph. */
.ny-pagehead--center .ny-pagehead__grid { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.ny-pagehead--center .ny-pagehead__copy { max-width: 880px; }
.ny-pagehead--center .ny-pagehead__title { text-wrap: balance; }
.ny-pagehead--center .ny-lede { margin-inline: auto; max-width: 62ch; }
.ny-pagehead--center :is(.ny-eyebrow, .ny-actions) { justify-content: center; }
.ny-v2 .ny-pagehead--center.ny-has-backdrop { padding-block: clamp(96px, 11vw, 168px); }
.ny-has-backdrop--center .ny-backdrop::after { background: color-mix(in srgb, var(--ny-ground) 84%, transparent); }

/* -------------------------------------------------------------- welcome -- */

.ny-welcome__inner { max-width: calc(940px + 2 * var(--ny-gutter)); text-align: center; }
.ny-welcome__inner .ny-eyebrow { justify-content: center; }
.ny-welcome__title {
	font-size: clamp(2.3rem, 4.2vw, 3.6rem);
	max-width: 17em;
	margin-inline: auto;
}
.ny-welcome__text {
	max-width: 58ch;
	margin: 26px auto 0;
	font-size: clamp(1.05rem, 1.25vw, 1.16rem);
	color: var(--ny-muted);
}
/* The rules between cells are the 1px gap showing the line colour through,
   so any count of items in any number of rows is ruled correctly. */
.ny-welcome__pillars {
	display: grid;
	grid-template-columns: repeat(var(--ny-cols, 3), minmax(0, 1fr));
	gap: 1px;
	margin-top: clamp(48px, 6vw, 72px);
	background: var(--ny-line);
	border-block: 1px solid var(--ny-line);
}
.ny-welcome__pillars li {
	display: grid;
	place-items: center;
	background: var(--ny-ground);
	padding: 26px 16px 22px;
	font-family: var(--ny-serif);
	font-size: clamp(1.25rem, 1.8vw, 1.6rem);
	line-height: 1.1;
	letter-spacing: .02em;
	color: var(--ny-head);
}
.ny-welcome__pillars .ny-welcome__stat { gap: 8px; padding-block: 28px 24px; }
/* Longer lines (credentials) sit smaller. */
.ny-welcome__pillars[style*="--ny-cols: 4"] li:not(.ny-welcome__stat) { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.2; }
.ny-welcome__stat strong { font-family: var(--ny-serif); font-size: clamp(2.4rem, 3.8vw, 3.4rem); font-weight: 400; line-height: 1; color: var(--ny-head); }
.ny-welcome__stat span { font-family: var(--ny-sans); font-size: 13.5px; font-weight: 500; letter-spacing: .06em; color: var(--ny-clay); }

/* -------------------------------------------------------------- profile -- */

.ny-v2 .ny-profile { overflow: hidden; }
/* The colour block: a deep panel under the photograph's side of the grid. */
.ny-v2 .ny-profile::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: 0;
	bottom: 0;
	left: 0;
	width: 33%;
	background: var(--ny-band);
}
.ny-v2 .ny-profile--flip::before { left: auto; right: 0; }
.ny-profile__grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	align-items: center;
}
.ny-profile__media { grid-column: 1 / span 6; grid-row: 1; position: relative; z-index: 1; }
.ny-profile__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.ny-profile__panel {
	grid-column: 6 / span 7;
	grid-row: 1;
	position: relative;
	z-index: 2;
	padding: clamp(40px, 5vw, 72px);
	background: var(--ny-paper);
	box-shadow: 0 40px 70px -46px rgba(60, 40, 15, .45);
}
.ny-profile--flip .ny-profile__media { grid-column: 7 / span 6; }
.ny-profile--flip .ny-profile__panel { grid-column: 1 / span 7; }
.ny-profile__title { font-size: clamp(2.1rem, 3.4vw, 3.1rem); max-width: 14em; margin-bottom: 26px; }
.ny-profile__panel > p:not([class]) { color: var(--ny-muted); max-width: 58ch; }
.ny-profile__signature {
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid var(--ny-line);
	font-size: 15px;
	font-weight: 500;
	color: var(--ny-head);
}
.ny-profile__panel .ny-actions { margin-top: 30px; }

/* ------------------------------------------------------------ focus list -- */

.ny-focuslist__grid {
	display: grid;
	grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
	gap: clamp(48px, 7vw, 120px);
	align-items: start;
}
.ny-focuslist__head { position: sticky; top: 150px; }
.ny-focuslist__head .ny-head { margin-bottom: 34px; }
.ny-focuslist__head .ny-title { max-width: 13em; }
.ny-focuslist__list { border-top: 1px solid var(--ny-line); }
.ny-focuslist__item {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr) 22px;
	gap: 18px;
	align-items: start;
	padding: 26px 4px 26px 0;
	border-bottom: 1px solid var(--ny-line);
	text-decoration: none;
	color: inherit;
	transition: padding .45s var(--ny-ease);
}
.ny-focuslist__n {
	font-size: 14px;
	font-weight: 500;
	font-variant-numeric: tabular-nums;
	line-height: 2.1;
	color: var(--ny-clay);
}
.ny-focuslist__title {
	font-size: clamp(1.45rem, 2vw, 1.8rem);
	line-height: 1.12;
	margin: 0 0 8px;
	transition: color .35s var(--ny-ease);
}
.ny-focuslist__text { display: block; font-size: 15.5px; line-height: 1.6; color: var(--ny-muted); max-width: 54ch; }
.ny-focuslist__item .ny-icon { width: 20px; height: 20px; margin-top: 8px; color: var(--ny-clay); opacity: .5; transition: transform .4s var(--ny-ease), opacity .4s; }
a.ny-focuslist__item:hover { padding-left: 12px; padding-right: 0; }
a.ny-focuslist__item:hover .ny-focuslist__title { color: var(--ny-clay); }
a.ny-focuslist__item:hover .ny-icon { opacity: 1; transform: translateX(4px); }

.ny-form__hint.ny-form__consent { margin: 12px 0 0; font-size: 12.5px; line-height: 1.5; opacity: .85; }
.ny-v2 .ny-join .ny-form__consent { color: #2B2118; opacity: .8; }

/* Every text card on the site wears the library card (see ny_card_simple):
   white, a hairline, a tag with its icon, the title in the accent, a link. */
.ny-cardx > div {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 30px;
	background: var(--ny-white);
	border: 1px solid var(--ny-line);
	overflow: hidden;
}
.ny-cardx > :is(a, div) { min-height: 0; }
.ny-cardx > div::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 160px; height: 160px; border-radius: 50%; border: 1px solid rgba(150, 105, 35, .08); box-shadow: 0 0 0 26px rgba(106, 156, 137, .06); }
.ny-cardx__pills { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ny-cardx--bare .ny-resource__type { padding: 7px; }
.ny-cardx .ny-resource__title { margin-top: 26px; }
.ny-cardx .ny-resource__text p { margin: 0 0 10px; }
.ny-cardx .ny-resource__text p:last-child { margin-bottom: 0; }
.ny-cardx .ny-list { margin: 14px 0 0; font-size: 14.5px; }
.ny-cardx__meta { position: relative; z-index: 1; margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--ny-line); font-size: 14.5px; color: var(--ny-muted); }
.ny-cardx__meta em { font-style: normal; font-family: var(--ny-serif); font-size: 1.45rem; color: var(--ny-clay); }
.ny-cardx .ny-resource__go { position: relative; z-index: 1; }
.ny-cardx--soon > :is(a, div) { border-style: dashed; }
.ny-cards__grid:has(> .ny-cardx) { align-items: stretch; }
.ny-v2 .ny-cards .ny-cards__grid:has(> .ny-cardx) { gap: clamp(18px, 2vw, 28px); border: 0; }
.ny-cards__grid > .ny-focuscard--note { grid-column: 1 / -1; }

/* Is / isn't: two white cards like every other card, the "is" side marked
   by a sage rule rather than a solid block of colour. */
.ny-v2 .ny-compare__col { position: relative; background: var(--ny-white); border: 1px solid var(--ny-line); border-radius: 0; color: var(--ny-ink); --ny-line: rgba(150, 105, 35, .16); --ny-accent: var(--ny-clay); }
.ny-v2 .ny-compare__col--is { border-top: 3px solid var(--ny-band); }
.ny-v2 .ny-compare__col--not { border-top: 3px solid var(--ny-line); }
.ny-v2 .ny-compare__title { font-family: var(--ny-sans); font-weight: 500; font-size: 1.35rem; letter-spacing: 0; text-transform: none; color: var(--ny-forest); }
.ny-v2 .ny-compare__col--not .ny-compare__title { color: #2B2118; }
.ny-v2 .ny-compare__title .ny-icon { width: 34px; height: 34px; padding: 7px; border-radius: 0; border: 0; background: var(--ny-sage-soft); color: var(--ny-forest); }
.ny-v2 .ny-compare__col--not .ny-compare__title .ny-icon { background: var(--ny-stone); color: #6B5D4A; }
.ny-v2 .ny-compare .ny-list li { font-size: 15.5px; color: var(--ny-ink); }
.ny-v2 .ny-compare__col--not .ny-list li { color: var(--ny-muted); }

/* As cards: the resource-library card, three across, insulin resistance as a
   wide note beneath. */
.ny-focuslist__top {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px 48px;
	margin-bottom: clamp(36px, 4vw, 56px);
}
.ny-focuslist__top .ny-head { margin-bottom: 0; max-width: 40rem; }
.ny-focuslist__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ny-focuscard .ny-resource__title { margin-top: 26px; }
.ny-focuscard--note { grid-column: 1 / -1; }
.ny-focuscard--note a {
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr) auto;
	grid-template-areas: "type text go" "title text go";
	grid-template-rows: auto auto;
	align-content: center;
	align-items: center;
	gap: 4px clamp(24px, 4vw, 64px);
	min-height: 0;
	padding-block: 36px;
}
.ny-focuscard--note .ny-resource__type { grid-area: type; justify-self: start; align-self: end; }
.ny-focuscard--note .ny-resource__title { grid-area: title; align-self: start; margin: 12px 0 0; font-size: 1.5rem; }
.ny-focuscard--note .ny-resource__text { grid-area: text; margin: 0; }
.ny-focuscard--note .ny-resource__go { grid-area: go; margin: 0; padding: 0; white-space: nowrap; }
/* Seven areas and the note fill eight cells: four to a row, the note as the
   last card rather than a band beneath. */
.ny-focuslist__cards:has(> :nth-child(8):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ny-focuslist__cards:has(> :nth-child(8):last-child) .ny-focuscard--note { grid-column: auto; }
.ny-focuslist__cards:has(> :nth-child(8):last-child) .ny-focuscard--note a { display: flex; padding-block: 30px; }
.ny-focuslist__cards:has(> :nth-child(8):last-child) .ny-focuscard--note .ny-resource__title { margin: 26px 0 12px; font-size: 1.2rem; }
.ny-focuslist__cards:has(> :nth-child(8):last-child) .ny-focuscard--note .ny-resource__go { margin-top: auto; padding-top: 18px; white-space: normal; }

/* ------------------------------------------------------------- pathways -- */

.ny-pathways__grid {
	display: grid;
	grid-template-columns: repeat(var(--ny-cols, 4), minmax(0, 1fr));
	gap: clamp(28px, 3vw, 44px);
}
.ny-path { display: flex; flex-direction: column; align-items: flex-start; }
.ny-path__arch {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	margin-bottom: 26px;
	background: var(--ny-stone);
}
/* Text-only pathways (principles) sit under a rule instead of a photograph. */
.ny-path:not(:has(.ny-path__arch)) { padding-top: 26px; border-top: 1px solid var(--ny-head); }
.ny-path:not(:has(.ny-path__arch)) .ny-path__title { font-size: clamp(1.6rem, 2.2vw, 2rem); }
.ny-path__arch img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ny-ease); }
.ny-path:hover .ny-path__arch img { transform: scale(1.04); }
.ny-path__label { margin: 0 0 10px; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ny-clay); }
.ny-path__title { font-size: clamp(1.4rem, 1.8vw, 1.65rem); line-height: 1.12; margin: 0 0 14px; }
.ny-path__text { font-size: 15.5px; line-height: 1.65; color: var(--ny-muted); margin-bottom: 22px; }
.ny-path .ny-btn--text { margin-top: auto; }

/* ----------------------------------------------------------- collection -- */

.ny-collection__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(28px, 4vw, 56px);
}
.ny-collection__stage {
	display: grid;
	place-items: center;
	aspect-ratio: 6 / 5;
	padding: 9% 0;
	background: var(--ny-stone);
	overflow: hidden;
}
.ny-collection__item:nth-child(2n) .ny-collection__stage { background: var(--ny-sage-soft); }
/* Three or more titles sit three across, on taller stages. */
.ny-collection__grid:has(> :nth-child(3)) { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
.ny-collection__grid:has(> :nth-child(3)) .ny-collection__stage { aspect-ratio: 4 / 5; }
.ny-collection__grid:has(> :nth-child(3)) .ny-collection__name { font-size: clamp(1.4rem, 1.8vw, 1.7rem); }
.ny-collection__grid:has(> :nth-child(3)) .ny-collection__body { grid-template-columns: minmax(0, 1fr); }
.ny-collection__grid:has(> :nth-child(3)) :is(.ny-collection__cat, .ny-collection__tagline, .ny-collection__meta) { grid-column: 1; grid-row: auto; }
.ny-collection__grid:has(> :nth-child(3)) .ny-collection__meta { text-align: left; margin-top: 12px; }
.ny-collection__stage img {
	width: auto;
	height: 100%;
	max-width: 70%;
	object-fit: contain;
	box-shadow: 0 30px 50px -26px rgba(60, 40, 15, .55), 0 8px 18px -10px rgba(60, 40, 15, .3);
	transition: transform .9s var(--ny-ease);
}
.ny-collection__item:hover .ny-collection__stage img { transform: translateY(-6px); }
.ny-collection__body { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; padding-top: 24px; }
.ny-collection__cat { grid-column: 1 / -1; margin: 0 0 8px; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ny-clay); }
.ny-collection__name { font-size: clamp(1.6rem, 2.3vw, 2.1rem); margin: 0 0 6px; }
.ny-collection__name a { text-decoration: none; color: inherit; }
.ny-collection__name a:hover { color: var(--ny-clay); }
.ny-collection__tagline { grid-column: 1; margin: 0; font-size: 15.5px; color: var(--ny-muted); }
.ny-collection__meta { grid-column: 2; grid-row: 2 / 4; align-self: start; margin: 4px 0 0; font-size: 15px; font-weight: 500; color: var(--ny-head); text-align: right; }

/* ----------------------------------------------------------- page head -- */

/* The welcome statement opening an inner page. */
.ny-v2 .ny-welcome--head { padding-block: var(--ny-pt, clamp(64px, 8vw, 120px)) var(--ny-pb, clamp(64px, 7vw, 104px)); }
.ny-welcome--head .ny-welcome__title { font-size: clamp(2.9rem, 5.8vw, 5.2rem); line-height: 1.02; }

/* ---------------------------------------------------------------- wall -- */

.ny-wall__grid { columns: 3; column-gap: clamp(18px, 2.2vw, 30px); }
.ny-wall__item {
	break-inside: avoid;
	display: flex;
	flex-direction: column;
	background: var(--ny-ivory);
}
/* Elementor zeroes figure margins at four classes' weight
   (.elementor .elementor-widget:not(…):not(…) figure); this outweighs it. */
.ny-v2 .ny-wall .ny-wall__grid > figure.ny-wall__item.ny-wall__item { margin: 0 0 clamp(18px, 2.2vw, 30px); }
.ny-wall__item--screenshot { background: transparent; }
.ny-wall__item--screenshot img {
	width: 100%;
	height: auto;
	border: 1px solid var(--ny-line);
	box-shadow: 0 26px 46px -34px rgba(60, 40, 15, .45);
}
.ny-wall__item--review { padding: 38px 34px 28px; }
.ny-wall__mark { font-family: Georgia, serif; font-size: 72px; line-height: .5; height: 30px; color: var(--ny-clay); }
.ny-wall__item blockquote { margin: 14px 0 0; font-size: 1.08rem; font-weight: 300; line-height: 1.65; color: var(--ny-ink); }
.ny-wall__item figcaption {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 14px;
	margin-top: 22px;
	padding-top: 16px;
	border-top: 1px solid var(--ny-line);
	font-size: 13.5px;
	color: var(--ny-muted);
}
.ny-wall__item--screenshot figcaption { margin-top: 12px; padding-top: 0; border-top: 0; }
.ny-wall__item figcaption strong { font-weight: 500; color: var(--ny-head); }
.ny-wall__tag { margin-left: auto; padding: 3px 9px; background: var(--ny-sage-soft); font-size: 12px; font-style: normal; font-weight: 500; letter-spacing: .04em; color: var(--ny-clay); }

/* Slots waiting for the real words. */
.ny-wall__item--slot.ny-wall__item--review { background: transparent; border: 1px dashed rgba(150, 105, 35, .3); }
.ny-wall__item--slot blockquote { color: var(--ny-muted); }
.ny-wall__placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	aspect-ratio: 9 / 14;
	padding: 28px;
	border: 1px dashed rgba(150, 105, 35, .3);
	border-radius: 22px;
	background: var(--ny-stone);
	text-align: center;
	font-size: 14px;
	line-height: 1.55;
	color: var(--ny-muted);
}
.ny-wall__item:nth-child(4n+3) .ny-wall__placeholder { aspect-ratio: 9 / 11; }
.ny-wall__placeholder .ny-icon { width: 28px; height: 28px; color: var(--ny-clay); }

.ny-wall__foot { display: grid; justify-items: center; gap: 6px; margin-top: clamp(32px, 4vw, 52px); }

/* ------------------------------------------------------------- closing -- */

.ny-closing__inner { max-width: calc(860px + 2 * var(--ny-gutter)); text-align: center; }
.ny-closing__inner .ny-eyebrow { justify-content: center; }
.ny-closing__title { font-size: clamp(2.3rem, 4.2vw, 3.7rem); line-height: 1.04; margin-inline: auto; max-width: 18em; }
.ny-closing__text { max-width: 56ch; margin: 22px auto 0; font-size: clamp(1.05rem, 1.25vw, 1.16rem); color: var(--ny-muted); }
.ny-closing__inner .ny-actions { justify-content: center; }

/* ----------------------------------------------- classic sections, reset -- */

/* The consultation: a blush-white card on the pink band, dark type, red
   accents. The classic card is drawn for a dark ground, so every colour is
   restated. */
.ny-v2 .ny-consult {
	--ny-head: #2B2118;
	background: var(--ny-paper);
	color: #2B2118;
	border: 0;
	padding: clamp(36px, 4vw, 56px);
	box-shadow: 0 34px 60px -42px rgba(60, 40, 15, .45);
}
.ny-v2 .ny-consult::after { display: none; }
.ny-v2 .ny-consult__label, .ny-v2 :is(.ny-tone--forest, .ny-tone--dark) .ny-consult__label { font-size: 13px; font-weight: 500; letter-spacing: .08em; color: var(--ny-forest); }
.ny-v2 .ny-consult__title { font-size: clamp(1.9rem, 2.6vw, 2.4rem); line-height: 1.1; color: #2B2118; }
.ny-v2 .ny-consult__meta { font-size: 13px; letter-spacing: .08em; color: #2F281D; }
.ny-v2 .ny-consult__meta em { font-family: var(--ny-serif); font-size: 3.6rem; font-weight: 400; margin-top: 8px; color: var(--ny-forest); }
.ny-v2 .ny-consult > p:not([class]) { color: #2F281D; }
.ny-v2 .ny-consult .ny-btn { --b-bg: var(--ny-forest); --b-fg: var(--ny-paper); --b-bd: var(--ny-forest); }
.ny-v2 .ny-consult .ny-btn:hover { --b-bg: var(--ny-forest-deep); --b-bd: var(--ny-forest-deep); }
.ny-v2 .ny-consult .ny-btn--text { --b-bg: transparent; --b-bd: transparent; --b-fg: #2B2118; border-bottom-color: currentColor; }
.ny-v2 .ny-consult .ny-btn--text:hover { --b-fg: var(--ny-forest); }
.ny-v2 .ny-consult__note { color: #2F281D; border-top-color: var(--ny-line); }
.ny-v2 .ny-consult__note .ny-icon { color: var(--ny-forest); }
.ny-v2 .ny-care__panel { top: 140px; }

/* Sign-up and forms. */
.ny-v2 .ny-signup__sub { font-family: var(--ny-sans); font-size: clamp(1.15rem, 1.6vw, 1.35rem); font-weight: 400; text-transform: none; color: var(--ny-clay); }
.ny-v2 .ny-field label { font-family: var(--ny-sans); font-size: 13px; font-weight: 500; letter-spacing: .04em; text-transform: none; }
.ny-v2 .ny-field input, .ny-v2 .ny-field select, .ny-v2 .ny-field textarea { border-radius: 0; border-color: rgba(150, 105, 35, .26); background: var(--ny-paper); font-family: var(--ny-sans); }
.ny-v2 .ny-field input:focus, .ny-v2 .ny-field select:focus, .ny-v2 .ny-field textarea:focus { border-color: var(--ny-forest); box-shadow: 0 0 0 3px rgba(150, 105, 35, .14); }
.ny-v2 .ny-select::after { border-color: #2B2118; }
.ny-v2 .ny-field .ny-check { font-size: 14px; font-weight: 300; letter-spacing: 0; text-transform: none; }
.ny-v2 .ny-field .ny-check input { accent-color: var(--ny-clay); }
.ny-v2 .ny-form__done { border-left-color: var(--ny-clay); }
.ny-v2 .ny-form__done .ny-icon, .ny-v2 .ny-form__done-title { color: var(--ny-forest); }

/* Reviews: plain cards, the quote in the text face. */
.ny-v2 .ny-reviews__carousel .ny-review,
.ny-v2 .ny-reviews__carousel .ny-review:nth-child(2),
.js .ny-v2 .ny-reveal.is-in .ny-reviews__carousel .ny-reviews__grid > *:nth-child(2) {
	background: var(--ny-ivory);
	border: 0;
	color: var(--ny-charcoal);
	padding: 44px 38px 32px;
}
.ny-v2 .ny-review__mark { font-family: Georgia, serif; font-size: 80px; color: var(--ny-clay); }
.ny-v2 .ny-review blockquote { font-family: var(--ny-sans); font-size: 1.15rem; font-weight: 300; line-height: 1.6; text-transform: none; }
.ny-v2 .ny-review--slot blockquote { font-style: normal; }
.ny-v2 .ny-review figcaption { font-size: 13px; letter-spacing: .04em; text-transform: none; }
.ny-v2 .ny-review figcaption strong { font-weight: 500; }
.ny-v2 .ny-review__stars { color: var(--ny-clay); }
.ny-v2 .ny-reviews__arrow { color: #2B2118; }
.ny-v2 .ny-reviews__arrow:hover:not(:disabled) { background: var(--ny-forest); border-color: var(--ny-forest); color: var(--ny-ivory); }

/* Books drawn in CSS: a warm shadow in place of the green one, and the
   cover type kept in the face it was drawn in. */
.ny-v2 .ny-book__cover {
	box-shadow:
		inset 6px 0 10px -6px rgba(0, 0, 0, .3),
		inset 18px 0 0 -16px rgba(255, 255, 255, .25),
		28px 34px 50px -18px rgba(60, 40, 15, .45);
}
.ny-v2 .ny-book__title { line-height: .95; }

/* ===================================================================
 * Classic sections in the editorial palette
 *
 * The inner pages still use the classic sections. Their markup is right;
 * what changes is where they painted the deep ground (now the red, kept to
 * accents) or a green photo wash. Those surfaces become the pink band or the
 * blush, with dark type, and photographs sit under a blush wash.
 * ================================================================= */

/* Shared: the sage band with dark type, for any panel that was deep. The
   accent turns honey cream there; small accent text stays dark. */
.ny-v2 :is(.ny-index__list, .ny-cards--topic .ny-card--note, .ny-resource--download a, .ny-resource--workbook a, .ny-plan--dark, .ny-article__practice, .ny-hero__note, .ny-graphic--forest) {
	--ny-ink: #2B2118;
	--ny-muted: #2F281D;
	--ny-head: #2B2118;
	--ny-accent: var(--ny-clay-soft);
	--ny-line: rgba(43, 33, 24, .18);
	background: var(--ny-band);
	color: #2B2118;
	border-color: var(--ny-band);
}

/* Smaller headings and lists read better in the text face: the small-caps
   display face is kept for section titles. */
.ny-v2 :is(.ny-card__title, .ny-resource__title, .ny-qa summary, .ny-topics__t, .ny-index__list li, .ny-plan__title, .ny-step__title, .ny-guide__title, .ny-social__name, .ny-care__prog-title, .ny-checklist__list li) {
	font-family: var(--ny-sans);
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
}
.ny-v2 .ny-card__title { font-size: clamp(1.15rem, 1.4vw, 1.3rem); line-height: 1.3; }
.ny-v2 .ny-resource__title { font-size: 1.2rem; line-height: 1.3; }
.ny-v2 .ny-qa summary { font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.4; }
.ny-v2 .ny-topics__t { font-size: clamp(1.05rem, 1.3vw, 1.2rem); }
.ny-v2 .ny-index__list li { font-size: 1.02rem; }
.ny-v2 .ny-social__name { font-size: 1.3rem; }
.ny-v2 :is(.ny-card__num, .ny-checklist__n, .ny-step__n, .ny-plan__label, .ny-list__n) { font-family: var(--ny-sans); font-style: normal; font-weight: 500; }
.ny-v2 .ny-card__num { font-size: 13px; letter-spacing: .06em; }
.ny-v2 .ny-plan__label { font-size: 44px; font-weight: 300; }
.ny-v2 :is(.ny-plan__sub, .ny-plan__price strong, .ny-subtitle, .ny-product__tagline) { font-family: var(--ny-sans); font-style: normal; }
.ny-v2 .ny-card__tag, .ny-v2 .ny-resource__cat { letter-spacing: .08em; }

/* Topic index on the page head. */
.ny-v2 .ny-index__list li { border-bottom-color: rgba(43, 33, 24, .16); }
.ny-v2 .ny-index__list li span { color: var(--ny-forest); }
.ny-v2 .ny-index__photo, .ny-v2 .ny-frame, .ny-v2 .ny-mosaic__tile, .ny-v2 .ny-care__image { border-radius: 0; }
.ny-v2 .ny-frame::after, .ny-v2 .ny-index__photo::after, .ny-v2 .ny-collage__a::after, .ny-v2 .ny-signup__photo::after { border-radius: 0; border-color: rgba(255, 255, 255, .6); }

/* Topic cards. */
.ny-v2 .ny-cards--topic .ny-card:hover { background: var(--ny-paper); }
.ny-v2 .ny-cards--topic .ny-card__icon { color: var(--ny-forest); }
.ny-v2 .ny-cards--topic .ny-card:hover .ny-card__icon { background: var(--ny-forest); border-color: var(--ny-forest); color: var(--ny-paper); }
.ny-v2 .ny-cards--topic .ny-card--note:hover { background: #5E9080; }
.ny-v2 .ny-cards--topic .ny-card--note .ny-card__icon { color: #2B2118; border-color: rgba(43, 33, 24, .3); }
.ny-v2 .ny-cards--topic .ny-card--note:hover .ny-card__icon { background: #2B2118; border-color: #2B2118; color: var(--ny-band); }
.ny-v2 .ny-cards--path .ny-card__icon { background: var(--ny-stone); color: var(--ny-forest); }

/* Library cards: the downloads and workbooks on the pink. The compatibility
   sheet sets their links light, at a weight this restates. */
.ny-v2 :is(.ny-resource--download, .ny-resource--workbook) :is(.ny-resource__title, .ny-resource__text, .ny-resource__cat) { color: #2B2118; }
.ny-v2 :is(.ny-resource--download, .ny-resource--workbook) .ny-resource__text { color: #2F281D; }
.elementor .ny-v2 .ny-section :is(.ny-resource--download, .ny-resource--workbook) a,
.ny-v2 .elementor .ny-section :is(.ny-resource--download, .ny-resource--workbook) a { color: #2B2118; }
.ny-v2 .ny-resource a { border-radius: 0; }
.ny-v2 .ny-resource a::after { border-color: rgba(150, 105, 35, .08); box-shadow: 0 0 0 26px rgba(106, 156, 137, .06); }
.ny-v2 .ny-resource__type, .ny-v2 .ny-article__format { border-radius: 0; background: var(--ny-sage-soft); color: var(--ny-forest); }
.ny-v2 .ny-filter { border-radius: 0; font-family: var(--ny-sans); }
.ny-v2 .ny-filter:hover { border-color: var(--ny-forest); }

/* Plans, steps, graphics, books. */
.ny-v2 .ny-plan { border-radius: 0; }
.ny-v2 .ny-plan--dark .ny-plan__sub { color: var(--ny-ink); font-weight: 500; }
.ny-v2 .ny-graphic { border-radius: 0; }
.ny-v2 .ny-graphic--forest { color: var(--ny-forest); }
.ny-v2 .ny-graphic--sage { background: var(--ny-sage); color: var(--ny-forest); }
.ny-v2 .ny-graphic--stone { color: var(--ny-forest); }
.ny-v2 .ny-step:hover .ny-step__n { color: var(--ny-paper); }
.ny-v2 .ny-ground--forest { background: var(--ny-band); }
.ny-v2 .ny-ground--sage { background: var(--ny-sage); }
.ny-v2 .ny-book--forest { --bk-bg: var(--ny-forest); --bk-fg: var(--ny-paper); --bk-ac: var(--ny-clay-soft); }
.ny-v2 .ny-book--sage { --bk-bg: var(--ny-sage); --bk-fg: #2B2118; --bk-ac: var(--ny-forest); }
.ny-v2 .ny-book__stamp { background: var(--ny-forest); color: var(--ny-paper); }
.ny-v2 .ny-product__stage::before { border-color: rgba(150, 105, 35, .1); box-shadow: 0 0 0 40px rgba(106, 156, 137, .06), 0 0 0 80px rgba(106, 156, 137, .04); }
.ny-v2 .ny-shelf::after { background: linear-gradient(to bottom, rgba(150, 105, 35, .14), rgba(150, 105, 35, 0)); border-top-color: rgba(150, 105, 35, .22); }
.ny-v2 .ny-mosaic__tile figcaption { color: var(--ny-forest); }

/* Article. */
.ny-v2 .ny-article__mono { background: var(--ny-band); color: var(--ny-forest); font-style: normal; }
.ny-v2 .ny-article__byline strong, .ny-v2 .ny-article__body > p:first-child::first-letter, .ny-v2 .ny-prose__body a { color: var(--ny-forest); }
.ny-v2 .ny-article__practice .ny-eyebrow { color: #2B2118; }
.ny-v2 .ny-article__aside { border-radius: 0; }
.ny-v2 .ny-notice__title, .ny-v2 .ny-compare__col--not .ny-compare__title { color: var(--ny-forest); }

/* Hero (classic) and its floating note. */
.ny-v2 .ny-hero::before { display: none; }
.ny-v2 .ny-hero__cred { color: var(--ny-forest); }
.ny-v2 .ny-hero__note-label { color: var(--ny-forest); }
.ny-v2 .ny-hero__note-title em { color: var(--ny-forest); }
.ny-v2 .ny-hero__still { border-color: var(--ny-ivory); }

/* Photographs under a blush wash, from the copy side, so the food reads on
   the right and the type stays dark. The deep tones these sections carry
   are already the pink band with dark type. */
.ny-v2 .ny-has-bg { background: var(--ny-ivory); }
.ny-v2 .ny-section.ny-overlay--dark::before,
.ny-v2 .ny-section.ny-overlay--deep::before,
.ny-v2 .ny-signup--image::before,
.ny-v2 .ny-statement--photo.ny-tone--dark::before {
	background: linear-gradient(100deg, rgba(251, 245, 225, .97) 0%, rgba(251, 245, 225, .9) 42%, rgba(251, 245, 225, .45) 100%);
}
.ny-v2 .ny-section.ny-overlay--light::before,
.ny-v2 .ny-statement--photo.ny-tone--light::before { background: linear-gradient(100deg, rgba(251, 245, 225, .95) 0%, rgba(251, 245, 225, .84) 50%, rgba(251, 245, 225, .5) 100%); }
.ny-v2 :is(.ny-has-bg, .ny-statement--photo, .ny-signup--image) {
	--ny-ink: #2B2118;
	--ny-muted: #2F281D;
	--ny-head: #2B2118;
	--ny-accent: var(--ny-forest);
	--ny-line: rgba(43, 33, 24, .18);
}
.ny-v2 :is(.ny-has-bg, .ny-statement--photo, .ny-signup--image) :is(.ny-eyebrow, .ny-eyebrow--light) { color: var(--ny-forest); }
.ny-v2 :is(.ny-has-bg, .ny-statement--photo, .ny-signup--image) .ny-btn--primary,
.ny-v2 :is(.ny-has-bg, .ny-statement--photo, .ny-signup--image) .ny-btn--light,
.ny-v2 :is(.ny-has-bg, .ny-statement--photo, .ny-signup--image) .ny-btn--submit { --b-bg: var(--ny-forest); --b-fg: var(--ny-paper); --b-bd: var(--ny-forest); }
.ny-v2 :is(.ny-has-bg, .ny-statement--photo, .ny-signup--image) :is(.ny-btn--secondary, .ny-btn--ghost) { --b-bg: transparent; --b-fg: #2B2118; --b-bd: rgba(43, 33, 24, .55); }
.ny-v2 :is(.ny-has-bg, .ny-statement--photo, .ny-signup--image) :is(.ny-field input, .ny-field select) { background: rgba(255, 255, 255, .7); border-color: rgba(43, 33, 24, .25); color: #2B2118; }
.ny-v2 :is(.ny-has-bg, .ny-statement--photo, .ny-signup--image) .ny-field label { color: #2B2118; }
.ny-v2 :is(.ny-has-bg, .ny-statement--photo, .ny-signup--image) .ny-field .ny-check { color: #2F281D; }

/* A page or hero opening on a photograph keeps the ordinary masthead and dark type. */
.ny-v2 .ny-cover :is(.ny-hero__title, .ny-pagehead__title) { color: #2B2118; }
.ny-v2 .ny-cover :is(.ny-hero__lede, .ny-lede) { color: #2F281D; }
.ny-v2 .ny-cover .ny-shell::after { display: none; }
body.ny-v2:has(.ny-main .ny-cover) .ny-main .ny-cover { margin-top: 0; padding-top: var(--ny-pt, clamp(80px, 9vw, 140px)); }
body.ny-v2:has(.ny-main .ny-cover):not(.is-scrolled) .ny-bar { background: rgba(251, 245, 225, .92); border-bottom-color: var(--ny-line); }
body.ny-v2:has(.ny-main .ny-cover):not(.is-scrolled) .ny-nav__list a { color: var(--ny-charcoal); }
body.ny-v2:has(.ny-main .ny-cover):not(.is-scrolled) .ny-nav__list a::after { background: var(--ny-clay); }
body.ny-v2:has(.ny-main .ny-cover):not(.is-scrolled) .ny-bar__cta { --b-bg: var(--ny-forest); --b-fg: var(--ny-paper); --b-bd: var(--ny-forest); }
body.ny-v2:has(.ny-main .ny-cover):not(.is-scrolled) .ny-burger { color: #2B2118; border-color: var(--ny-line); }

/* Photo cards keep the photograph; the type sits on a blush wash. */
.ny-v2 .ny-cards--photo .ny-card {
	border-radius: 0;
	background: var(--ny-stone);
	color: #2B2118;
	--ny-head: #2B2118;
	--ny-muted: #2F281D;
	--ny-accent: var(--ny-forest);
	--ny-line: rgba(43, 33, 24, .2);
}
.ny-v2 .ny-cards--photo .ny-card::before { background: linear-gradient(to top, rgba(251, 245, 225, .97) 0%, rgba(251, 245, 225, .88) 40%, rgba(251, 245, 225, 0) 75%); }

/* Forms on a light ground inside a deep-toned section no longer need the light inputs. */
.ny-v2 :is(.ny-tone--forest, .ny-tone--dark) .ny-field input,
.ny-v2 :is(.ny-tone--forest, .ny-tone--dark) .ny-field select,
.ny-v2 :is(.ny-tone--forest, .ny-tone--dark) .ny-field textarea { background: rgba(255, 255, 255, .7); border-color: rgba(43, 33, 24, .25); color: #2B2118; }
.ny-v2 :is(.ny-tone--forest, .ny-tone--dark) .ny-field label { color: #2B2118; }
.ny-v2 :is(.ny-tone--forest, .ny-tone--dark) .ny-field .ny-check { color: #2F281D; }
.ny-v2 :is(.ny-tone--forest, .ny-tone--dark) .ny-select::after { border-color: #2B2118; }
.ny-v2 .ny-contactform__form, .ny-v2 .ny-inquiry__form { border-radius: 0; box-shadow: 0 30px 60px -44px rgba(60, 40, 15, .4); }

/* -------------------------------------------------------------- footer -- */

/* The newsletter strip on the pink, the footer on a soft blush, dark type. */
.ny-v2 .ny-footer { background: var(--ny-stone); color: #2F281D; }
.ny-v2 .ny-join { background: var(--ny-band); border-bottom: 0; }
.ny-v2 .ny-join__title { font-size: clamp(1.7rem, 2.3vw, 2.1rem); color: #2B2118; }
.ny-v2 .ny-join__title em { color: var(--ny-forest); }
.ny-v2 .ny-join__copy p:last-child { color: #2F281D; }
.ny-v2 .ny-join .ny-field input { border-radius: 0; background: rgba(255, 255, 255, .55); border-color: rgba(43, 33, 24, .25); color: #2B2118; }
.ny-v2 .ny-join .ny-field input::placeholder { color: rgba(43, 33, 24, .55); }
.ny-v2 .ny-join .ny-field input:focus { border-color: #2B2118; box-shadow: 0 0 0 3px rgba(150, 105, 35, .14); }
.ny-v2 .ny-join .ny-btn--submit { --b-bg: var(--ny-forest); --b-fg: var(--ny-paper); --b-bd: var(--ny-forest); }
.ny-v2 .ny-join .ny-btn--submit:hover { --b-bg: var(--ny-forest-deep); --b-bd: var(--ny-forest-deep); }
.ny-v2 .ny-footer__cred { font-size: 15px; font-weight: 500; color: #2B2118; }
.ny-v2 .ny-footer__roles li { font-weight: 300; color: #2F281D; }
.ny-v2 .ny-footer__head { font-size: 13px; font-weight: 500; letter-spacing: .08em; color: var(--ny-forest); }
.ny-v2 .ny-footer__list a { font-size: 15px; font-weight: 300; color: #2B2118; }
.ny-v2 .ny-footer__list a:hover { color: var(--ny-forest); }
.ny-v2 .ny-footer__base { border-top-color: rgba(43, 33, 24, .14); color: #6B5D4A; font-weight: 300; }
.ny-v2 .ny-footer__giant { font-size: clamp(22px, 9vw, 150px); font-weight: 400; line-height: 1; letter-spacing: 0; color: rgba(106, 156, 137, .28); }
.ny-v2 .ny-footer__giant em { font-style: normal; color: rgba(106, 156, 137, .28); }

/* -------------------------------------------------------------- reveal -- */

.js .ny-v2 .ny-reveal :is(.ny-pathways__grid, .ny-collection__grid) > * { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ny-ease), transform 1s var(--ny-ease); }
.js .ny-v2 .ny-reveal.is-in :is(.ny-pathways__grid, .ny-collection__grid) > * { opacity: 1; transform: none; }
.js .ny-v2 .ny-reveal.is-in :is(.ny-pathways__grid, .ny-collection__grid) > *:nth-child(2) { transition-delay: .12s; }
.js .ny-v2 .ny-reveal.is-in :is(.ny-pathways__grid, .ny-collection__grid) > *:nth-child(3) { transition-delay: .24s; }
.js .ny-v2 .ny-reveal.is-in :is(.ny-pathways__grid, .ny-collection__grid) > *:nth-child(4) { transition-delay: .36s; }
body.ny-v2.ny-editing .ny-reveal :is(.ny-pathways__grid, .ny-collection__grid) > * { opacity: 1; transform: none; transition: none; }
@media (prefers-reduced-motion: reduce) {
	.js .ny-v2 .ny-reveal :is(.ny-pathways__grid, .ny-collection__grid) > * { opacity: 1; transform: none; }
}

/* ------------------------------------------------- type on the moss sage -- */

/* On the moss sage the type is white and the accents honey cream; dark type
   reads poorly there. Supersedes the dark-ink rules above for these grounds.
   Inputs and the cream cards set on the sage keep their dark type. */
.ny-v2 :is(.ny-tone--forest, .ny-tone--dark, .ny-tone--charcoal, .ny-index__list, .ny-cards--topic .ny-card--note, .ny-resource--download a, .ny-resource--workbook a, .ny-plan--dark, .ny-article__practice, .ny-hero__note, .ny-graphic--forest, .ny-join, .ny-topbar, .ny-drawer__panel) {
	--ny-ink: #FFFFFF;
	--ny-muted: rgba(255, 255, 255, .92);
	--ny-head: #FFFFFF;
	--ny-accent: var(--ny-clay-soft);
	--ny-line: rgba(255, 255, 255, .3);
	color: #FFFFFF;
}
.ny-v2 :is(.ny-tone--forest, .ny-tone--dark, .ny-tone--charcoal) :is(.ny-eyebrow, .ny-eyebrow--light),
.ny-v2 .ny-article__practice .ny-eyebrow { color: var(--ny-clay-soft); }
.ny-v2 :is(.ny-tone--forest, .ny-tone--dark, .ny-tone--charcoal) .ny-btn--secondary { --b-fg: #FFFFFF; --b-bd: rgba(255, 255, 255, .7); }
.ny-v2 :is(.ny-tone--forest, .ny-tone--dark, .ny-tone--charcoal) .ny-btn--secondary:hover { --b-bg: var(--ny-clay-soft); --b-fg: #2B2118; --b-bd: var(--ny-clay-soft); }
.ny-v2 :is(.ny-tone--forest, .ny-tone--dark, .ny-tone--charcoal) .ny-btn--text { --b-fg: #FFFFFF; }
.ny-v2 :is(.ny-tone--forest, .ny-tone--dark, .ny-tone--charcoal) .ny-btn--text:hover { --b-fg: var(--ny-clay-soft); }
.ny-v2 :is(.ny-tone--forest, .ny-tone--dark) :is(.ny-field label, .ny-field .ny-check) { color: #FFFFFF; }

.ny-v2 .ny-topbar__link { color: #FFFFFF; }
.ny-v2 .ny-topbar__link:hover { color: var(--ny-clay-soft); }
.ny-v2 .ny-drawer__list a, .ny-v2 .ny-drawer__close { color: #FFFFFF; border-color: rgba(255, 255, 255, .3); }
.ny-v2 .ny-drawer__list a:hover { color: var(--ny-clay-soft); }
.ny-v2 .ny-drawer__cred { color: rgba(255, 255, 255, .9); }

.ny-v2 .ny-join__title, .ny-v2 .ny-join__copy p:last-child, .ny-v2 .ny-join .ny-form__consent { color: #FFFFFF; }
.ny-v2 .ny-join__title em { color: var(--ny-clay-soft); }
.ny-v2 .ny-join .ny-form__consent a { color: var(--ny-clay-soft); }

/* Library and focus cards on the sage: white title and text, a honey-cream tag. */
.ny-v2 :is(.ny-resource--download, .ny-resource--workbook) :is(.ny-resource__title, .ny-resource__text, .ny-resource__cat, .ny-resource__go),
.elementor .ny-v2 .ny-section :is(.ny-resource--download, .ny-resource--workbook) a,
.ny-v2 .elementor .ny-section :is(.ny-resource--download, .ny-resource--workbook) a { color: #FFFFFF; }
.ny-v2 :is(.ny-resource--download, .ny-resource--workbook) .ny-resource__type { background: var(--ny-clay-soft); color: #2B2118; }
.ny-v2 .ny-cards--topic .ny-card--note .ny-card__icon { color: #FFFFFF; border-color: rgba(255, 255, 255, .45); }
.ny-v2 .ny-cards--topic .ny-card--note:hover .ny-card__icon { background: var(--ny-clay-soft); border-color: var(--ny-clay-soft); color: #2B2118; }
.ny-v2 .ny-index__list li { border-bottom-color: rgba(255, 255, 255, .25); }
.ny-v2 .ny-index__list li span, .ny-v2 .ny-graphic--forest, .ny-v2 .ny-article__mono { color: var(--ny-clay-soft); }

/* Cream cards set on the sage keep their own dark type. */
.ny-v2 :is(.ny-tone--forest, .ny-tone--dark, .ny-tone--charcoal) :is(.ny-consult, .ny-card:not(.ny-card--note), .ny-plan:not(.ny-plan--dark), .ny-contactform__form, .ny-inquiry__form, .ny-profile__panel, .ny-cardx, .ny-resource:not(.ny-resource--download, .ny-resource--workbook)) {
	--ny-ink: #2B2118;
	--ny-muted: #2F281D;
	--ny-head: #2B2118;
	--ny-accent: var(--ny-forest);
	--ny-line: rgba(43, 33, 24, .18);
	color: #2B2118;
}
.ny-v2 :is(.ny-tone--forest, .ny-tone--dark, .ny-tone--charcoal) :is(.ny-consult, .ny-card:not(.ny-card--note), .ny-plan:not(.ny-plan--dark), .ny-contactform__form, .ny-inquiry__form, .ny-profile__panel, .ny-cardx) :is(.ny-eyebrow, .ny-eyebrow--light) { color: var(--ny-clay); }

/* Photo sections carry a deep tone but sit under a cream wash, so they keep
   the dark type (see "Photographs under a blush wash" above). */
.ny-v2 :is(.ny-tone--forest, .ny-tone--dark, .ny-tone--charcoal):is(.ny-has-bg, .ny-statement--photo, .ny-signup--image),
.ny-v2 :is(.ny-has-bg, .ny-statement--photo, .ny-signup--image) :is(.ny-tone--forest, .ny-tone--dark, .ny-tone--charcoal) {
	--ny-ink: #2B2118;
	--ny-muted: #2F281D;
	--ny-head: #2B2118;
	--ny-accent: var(--ny-forest);
	--ny-line: rgba(43, 33, 24, .18);
	color: #2B2118;
}
.ny-v2 :is(.ny-has-bg, .ny-statement--photo, .ny-signup--image):is(.ny-tone--forest, .ny-tone--dark, .ny-tone--charcoal) :is(.ny-eyebrow, .ny-eyebrow--light) { color: var(--ny-clay); }
.ny-v2 :is(.ny-has-bg, .ny-statement--photo, .ny-signup--image):is(.ny-tone--forest, .ny-tone--dark, .ny-tone--charcoal) :is(.ny-btn--secondary, .ny-btn--ghost) { --b-bg: transparent; --b-fg: #2B2118; --b-bd: rgba(43, 33, 24, .55); }
.ny-v2 :is(.ny-has-bg, .ny-statement--photo, .ny-signup--image):is(.ny-tone--forest, .ny-tone--dark, .ny-tone--charcoal) .ny-btn--text { --b-fg: #2B2118; }
.ny-v2 :is(.ny-has-bg, .ny-statement--photo, .ny-signup--image):is(.ny-tone--forest, .ny-tone--dark, .ny-tone--charcoal) :is(.ny-field label, .ny-field .ny-check) { color: #2B2118; }

/* ---------------------------------------------------------- responsive -- */

@media (max-width: 1180px) {
	.ny-pathways__grid { grid-template-columns: repeat(min(var(--ny-cols, 4), 2), minmax(0, 1fr)); column-gap: clamp(28px, 5vw, 64px); row-gap: 64px; }
}

@media (max-width: 1080px) {
	.ny-focuslist__cards:has(> :nth-child(8):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
	.ny-wall__grid { columns: 2; }
	.ny-focuslist__grid { grid-template-columns: minmax(0, 1fr); }
	/* Tablet: the opener stays side by side, text beside the portrait. */
	.ny-opener__grid { display: flex; align-items: center; gap: clamp(32px, 5vw, 48px); }
	.ny-opener__grid > :not(.ny-opener__media) { flex: 1 1 0; min-width: 0; }
	.ny-opener__media { flex: 0 0 42%; width: auto; }
	.ny-focuslist__head { position: static; }
	.ny-focuslist__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ny-collection__grid:has(> :nth-child(3)) { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
	.ny-focuscard--note a { grid-template-columns: minmax(0, 1fr); grid-template-areas: "type" "title" "text" "go"; align-items: start; gap: 0; }
	.ny-focuscard--note .ny-resource__text { margin-top: 12px; }
	.ny-focuscard--note .ny-resource__go { padding-top: 18px; }

	.ny-v2 .ny-profile::before { width: 100%; bottom: auto; height: 240px; }
	.ny-profile__grid { grid-template-columns: minmax(0, 1fr); }
	.ny-profile__media, .ny-profile--flip .ny-profile__media { grid-column: 1; grid-row: 1; width: min(100%, 520px); justify-self: center; }
	.ny-profile__panel, .ny-profile--flip .ny-profile__panel { grid-column: 1; grid-row: 2; margin: -90px clamp(0px, 3vw, 28px) 0; }
}

@media (max-width: 767px) {
	/* The homepage is long on a phone: less air between sections. */
	body.ny-v2 { font-size: 16px; --ny-space: 64px; }
	.ny-v2 .ny-bar__inner { min-height: 72px; }
	.ny-v2 .ny-brand__name { font-size: 21px; }
	.ny-v2 .ny-brand--lg .ny-brand__name { font-size: 26px; }

	.ny-opener__grid { display: grid; grid-template-columns: minmax(0, 1fr); }
	.ny-opener__media { justify-self: center; width: min(100%, 420px); margin-top: 12px; }
	.ny-opener__title { font-size: clamp(2.5rem, 10.5vw, 3.2rem); }
	.ny-opener__media::before { left: 24%; bottom: -32px; }

	.ny-welcome__pillars { grid-template-columns: minmax(0, 1fr); }
	.ny-welcome__pillars li { padding: 18px 8px 14px; }
	/* Figures stay two to a row on a phone. */
	.ny-welcome__pillars:has(.ny-welcome__stat) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ny-welcome__pillars .ny-welcome__stat { padding-block: 20px; }

	.ny-focuslist__item { grid-template-columns: 34px minmax(0, 1fr); padding-block: 22px; }
	.ny-focuslist__item .ny-icon { display: none; }
	.ny-focuslist__cards, .ny-focuslist__cards:has(> :nth-child(8):last-child) { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	/* Stacked, the cards size to their copy rather than to a desktop row. */
	.ny-focuscard a, .ny-focuslist__cards:has(> :nth-child(8):last-child) .ny-focuscard--note a { min-height: 0; padding: 24px; }
	.ny-focuscard .ny-resource__title { margin-top: 18px; }
	/* On a phone the copy runs full width: wash the photograph evenly. */
	.ny-backdrop::after { background: color-mix(in srgb, var(--ny-ground) 86%, transparent); }
	.ny-collection__grid:has(> :nth-child(3)) { grid-template-columns: minmax(0, 1fr); }

	.ny-pathways__grid { grid-template-columns: minmax(0, 1fr); row-gap: 36px; }
	/* A phone sets each pathway as a row: the picture as a thumbnail beside
	   its copy, rather than four full-width photographs in a column. */
	.ny-path:has(.ny-path__arch) { display: grid; grid-template-columns: 112px minmax(0, 1fr); column-gap: 20px; align-content: start; }
	.ny-path__arch { grid-column: 1; grid-row: 1 / span 4; margin-bottom: 0; }
	.ny-path:has(.ny-path__arch) > :not(.ny-path__arch) { grid-column: 2; justify-self: start; }

	.ny-collection__grid { grid-template-columns: minmax(0, 1fr); row-gap: 44px; }
	.ny-wall__grid { columns: 1; }
	.ny-wall__placeholder, .ny-wall__item:nth-child(4n+3) .ny-wall__placeholder { aspect-ratio: auto; min-height: 220px; }
	.ny-collection__body { grid-template-columns: minmax(0, 1fr); }
	.ny-collection__meta { grid-column: 1; grid-row: auto; text-align: left; margin-top: 12px; }

	.ny-profile__panel, .ny-profile--flip .ny-profile__panel { margin-inline: 0; padding: 36px 26px; }
}
