/* Brand palette (client, Nov 2026): navy #26304a | tan #c4b49c | white #ffffff | sage #92a28c. Cream #f1efe9 = mockup page background. */
/* Isabella NRC – homepage redesign (Nov 2026).
   Intro Hero (image or video background) + Legacy Cards, Care & Services, Image + Text, CTA Bar, CTA Photo.
   Templates: blocks/ns-intro-hero, blocks/ns-home-*. Fields: inc/nrc-home-v2.php. */

:root {
	--nrc-navy: #26304a;
	--nrc-navy-deep: #26304a; /* brand navy (was #26304a) */
	--nrc-cream: #f1efe9;
	--nrc-gold: #c4b49c;
	--nrc-white: #ffffff;
	--nrc-display: "Isabella Display", "Playfair Display", Georgia, serif;
	--nrc-sans: "Isabella Sans", "Open Sans", Arial, sans-serif;
	--nrc-pad: clamp(56px, 7vw, 104px);
}

/* Shared --------------------------------------------------------------- */
.nrc-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); box-sizing: border-box; }
/* 40px+ sides from tablet up: the site's heading-fit script (cassena-no-word-breaks) shrinks any heading
   whose right edge comes closer to the screen edge than its left margin (capped at 40px). */
@media (min-width: 768px) { .nrc-wrap { padding: 0 clamp(40px, 4vw, 48px); } }
.nrc-legacy, .nrc-care, .nrc-split, .nrc-ctabar, .nrc-ctaphoto { font-family: var(--nrc-sans); box-sizing: border-box; margin: 0 !important; }
.nrc-legacy *, .nrc-care *, .nrc-split *, .nrc-ctabar *, .nrc-ctaphoto * { box-sizing: border-box; }
.nrc-legacy h2, .nrc-legacy h3, .nrc-care h2, .nrc-split h2, .nrc-ctabar h2, .nrc-ctaphoto h2 {
	font-family: var(--nrc-display) !important; font-weight: 400 !important; letter-spacing: 0 !important; text-transform: none !important;
}
.nrc-legacy h2 em, .nrc-care h2 em, .nrc-split h2 em, .nrc-ctabar h2 em, .nrc-ctaphoto h2 em { font-style: italic; }

.nrc-eyebrow {
	margin: 0 0 12px !important; font-family: var(--nrc-sans) !important; font-size: 13px !important; font-weight: 700 !important;
	letter-spacing: .04em !important; line-height: 1.3 !important; text-transform: uppercase; color: var(--nrc-navy) !important;
}
.nrc-eyebrow--gold { color: var(--nrc-gold) !important; }

.nrc-textlink {
	display: inline-block; font-family: var(--nrc-sans); font-size: 14px; line-height: 1.4; letter-spacing: .02em;
	text-transform: uppercase; text-decoration: underline !important; text-underline-offset: 3px; color: var(--nrc-navy) !important;
}
.nrc-textlink--bold { font-weight: 700; }
.nrc-textlink--light { color: var(--nrc-white) !important; }
.nrc-textlink:hover, .nrc-textlink:focus-visible { text-decoration-thickness: 2px !important; }
.nrc-textlink:focus-visible, .nrc-btn:focus-visible, .nrc-care__item:focus-visible, .nrc-ctabar a:focus-visible { outline: 2px solid var(--nrc-gold); outline-offset: 3px; }

.nrc-btn {
	display: inline-block; min-width: 180px; padding: 14px 32px; background: var(--nrc-cream); color: var(--nrc-navy) !important;
	font-family: var(--nrc-sans); font-size: 15px; font-weight: 700; letter-spacing: .02em; text-align: center; text-decoration: none !important;
	border: 1px solid var(--nrc-cream); transition: background .2s, color .2s;
}
.nrc-btn:hover { background: transparent; color: var(--nrc-white) !important; }

/* Intro Hero (homepage) ------------------------------------------------ */
.intro-hero.nrc-hero-v2 { background-color: var(--nrc-navy); }
.intro-hero.nrc-hero-v2 .intro-hero__content {
	position: relative; display: flex; align-items: center; justify-content: flex-start;
	min-height: clamp(520px, 50vw, 720px); padding: clamp(96px, 9vw, 140px) clamp(20px, 4vw, 48px) clamp(64px, 6vw, 96px) !important;
	background-size: cover !important; background-position: center !important; background-repeat: no-repeat !important;
	overflow: hidden;
}
.intro-hero.has-video .intro-hero__content { position: relative; overflow: hidden; }
.intro-hero__media { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.intro-hero .intro-hero__video, .home .intro-hero video.intro-hero__video {
	margin: 0 !important; border-radius: 0 !important; max-width: none !important;
}
.intro-hero__video {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
	opacity: 0; transition: opacity .8s ease;
}
.intro-hero.is-playing .intro-hero__video, .editor-styles-wrapper .intro-hero__video { opacity: 1; }
.intro-hero__tint { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: rgba(38, 48, 74, var(--nrc-darken, .45)); }
.intro-hero.has-video .intro-hero__content-text, .intro-hero.nrc-hero-v2 .intro-hero__content-text { position: relative; z-index: 3; }

.intro-hero.nrc-hero-v2 .intro-hero__content-text {
	width: 100%; max-width: 1200px; margin: 0 auto !important; padding: 0 !important; height: auto;
	display: block; text-align: left;
}
.intro-hero.nrc-hero-v2 .intro-hero__content-text > * { max-width: 620px; }
.intro-hero.nrc-hero-v2 .title { margin: 0 0 14px !important; }
.intro-hero.nrc-hero-v2 .title h1 {
	margin: 0; color: var(--nrc-white); font-family: var(--nrc-display); font-weight: 400 !important;
	font-size: clamp(36px, 4.2vw, 56px) !important; line-height: 1.15 !important; text-align: left;
}
.intro-hero.nrc-hero-v2 .title h1 em { color: inherit !important; }
.intro-hero.nrc-hero-v2 .title h1 br:last-child { display: none; }
.intro-hero.nrc-hero-v2 .intro-hero__content-text .label {
	display: block; margin: 0 0 22px !important; color: var(--nrc-white); font-family: var(--nrc-display);
	font-style: italic; font-weight: 700; font-size: clamp(18px, 1.6vw, 22px) !important; line-height: 1.35 !important; text-align: left;
}
.intro-hero.nrc-hero-v2 p.customNew {
	display: block; max-width: 560px; margin: 0 0 32px; padding: 0; color: var(--nrc-white);
	font-family: var(--nrc-sans); font-size: clamp(15px, 1.25vw, 17px); line-height: 1.6; text-align: left;
}
.intro-hero.nrc-hero-v2 .buttons-container { display: flex !important; flex-wrap: wrap; gap: 20px; margin: 0; justify-content: flex-start; }
.intro-hero.nrc-hero-v2 .buttons-container .button-box { display: block; margin: 0; padding: 0; background: transparent; width: auto !important; min-width: 0; }
.intro-hero.nrc-hero-v2 .button.button-primary {
	display: inline-flex !important; align-items: center; justify-content: center; min-width: 200px; max-width: none !important;
	padding: 16px 28px !important; background: var(--nrc-cream) !important; color: var(--nrc-navy) !important; border: 1px solid var(--nrc-cream) !important;
	border-radius: 0 !important; font-family: var(--nrc-sans) !important; font-size: 14px !important; font-weight: 400 !important;
	letter-spacing: .02em; line-height: 1.2 !important; text-transform: uppercase; text-decoration: none !important;
	transition: background .2s, color .2s;
}
.intro-hero.nrc-hero-v2 .button.button-primary:hover, .intro-hero.nrc-hero-v2 .button.button-primary:focus-visible { background: transparent !important; color: var(--nrc-white) !important; }
.intro-hero.nrc-hero-v2 .button.button-primary:focus-visible { outline: 2px solid var(--nrc-gold); outline-offset: 3px; }
.intro-hero.nrc-hero-v2 .button.button-primary img { display: none !important; }

/* Pause / play button (bottom right) */
.intro-hero__toggle {
	position: absolute; right: clamp(16px, 3vw, 32px); bottom: clamp(16px, 3vw, 32px); z-index: 4;
	width: 44px; height: 44px; padding: 0; border-radius: 50%; cursor: pointer;
	background: rgba(38, 48, 74, .55); border: 1px solid rgba(255, 255, 255, .6); color: #fff;
	display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.intro-hero__toggle[hidden] { display: none; }
.intro-hero__toggle:hover { background: rgba(38, 48, 74, .85); }
.intro-hero__toggle:focus-visible { outline: 2px solid var(--nrc-gold); outline-offset: 3px; }
.intro-hero__toggle-pause { width: 12px; height: 14px; border-left: 4px solid #fff; border-right: 4px solid #fff; }
.intro-hero__toggle-play { display: none; width: 0; height: 0; margin-left: 4px; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent #fff; }
.intro-hero.is-paused .intro-hero__toggle-pause { display: none; }
.intro-hero.is-paused .intro-hero__toggle-play { display: block; }

@media (prefers-reduced-motion: reduce) {
	.intro-hero__video { transition: none; }
}
@media (max-width: 767px) {
	.intro-hero.nrc-hero-v2 .intro-hero__content { min-height: 560px; padding: 96px 20px 72px !important; align-items: flex-end; }
	.intro-hero.nrc-hero-v2 .buttons-container { flex-direction: column; gap: 12px; }
	.intro-hero.nrc-hero-v2 .button.button-primary { width: 100%; }
}

/* Legacy Cards --------------------------------------------------------- */
.nrc-legacy { background: var(--nrc-cream); padding: clamp(48px, 5vw, 72px) 0 clamp(48px, 5vw, 64px); }
.nrc-legacy__head { text-align: center; margin: 0 0 clamp(32px, 3.5vw, 48px); }
.nrc-legacy__head .nrc-eyebrow { font-size: 12px !important; }
.nrc-legacy__title { scroll-margin-top: 140px; margin: 0 0 12px !important; color: var(--nrc-navy) !important; font-size: clamp(30px, 3.4vw, 46px) !important; line-height: 1.15 !important; text-align: center !important; }
.nrc-legacy__sub { margin: 0 !important; color: var(--nrc-navy); font-size: clamp(16px, 1.4vw, 19px); line-height: 1.5; text-align: center; }
.nrc-legacy__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.nrc-legacy__card { display: flex; flex-direction: column; background: var(--nrc-navy); color: var(--nrc-white); border: 1px solid rgba(255, 255, 255, .06); transition: background .25s; }
.nrc-legacy__photo { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--nrc-navy-deep); }
.nrc-legacy__photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.nrc-legacy__card:hover .nrc-legacy__photo img { transform: scale(1.04); }
.nrc-legacy__body { padding: clamp(22px, 2.4vw, 32px) clamp(20px, 2vw, 28px) clamp(28px, 3vw, 40px); }
.nrc-legacy__year { margin: 0 0 14px !important; color: var(--nrc-gold) !important; font-size: clamp(30px, 2.8vw, 40px) !important; line-height: 1.1 !important; transition: color .25s; }
.nrc-legacy__label {
	margin: 0 0 clamp(22px, 2.4vw, 34px) !important; color: var(--nrc-gold) !important; font-size: 13px !important; font-weight: 700 !important;
	letter-spacing: .03em; text-transform: uppercase; line-height: 1.3; transition: color .25s;
}
.nrc-legacy__text { margin: 0 !important; color: var(--nrc-white) !important; font-size: 15px !important; line-height: 1.6 !important; }
.nrc-legacy__card:hover .nrc-legacy__year, .nrc-legacy__card:hover .nrc-legacy__label { color: var(--nrc-white) !important; }
.nrc-legacy__more { margin: clamp(28px, 3vw, 40px) 0 0 !important; text-align: center; }
@media (max-width: 991px) {
	.nrc-legacy__cards { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }
	.nrc-legacy__photo { aspect-ratio: 16 / 9; }
}

/* Care & Services ------------------------------------------------------ */
.nrc-care { background: var(--nrc-navy); color: var(--nrc-white); padding: clamp(32px, 3vw, 44px) 0 var(--nrc-pad); }
.nrc-care__top { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; margin-bottom: clamp(28px, 3vw, 40px); }
.nrc-care__top.has-photo { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.nrc-care__intro { padding: 0 clamp(0px, 1vw, 12px); }
.nrc-care__title { margin: clamp(16px, 2.5vw, 40px) 0 clamp(20px, 2.5vw, 36px) !important; color: var(--nrc-white) !important; font-size: clamp(34px, 3.6vw, 50px) !important; line-height: 1.2 !important; }
.nrc-care__text, .nrc-care__text p { color: var(--nrc-white) !important; font-size: clamp(15px, 1.3vw, 17px) !important; line-height: 1.6 !important; }
.nrc-care__text p { margin: 0 0 12px !important; max-width: 560px; }
.nrc-care__photo { margin: 0; aspect-ratio: 1 / 1; overflow: hidden; }
.nrc-care__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.nrc-care__list { list-style: none !important; margin: 0 !important; padding: 0 !important; display: grid; gap: clamp(12px, 1.4vw, 18px); }
.nrc-care__list li { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.nrc-care__list li::before, .nrc-care__list li::marker { content: none !important; display: none !important; }
.nrc-care__item {
	display: flex; align-items: center; gap: clamp(16px, 2vw, 26px); padding: clamp(14px, 1.6vw, 20px) clamp(16px, 2.2vw, 28px) clamp(14px, 1.6vw, 20px) clamp(12px, 1.2vw, 16px);
	background: var(--nrc-white); color: var(--nrc-navy) !important; border: 1px solid rgba(38, 48, 74, .2); border-left: 4px solid transparent;
	text-decoration: none !important; transition: border-color .2s, transform .2s;
}
a.nrc-care__item:hover { border-left-color: var(--nrc-gold); }
.nrc-care__icon { flex: 0 0 auto; width: clamp(48px, 5vw, 64px); }
.nrc-care__icon img { display: block; width: 100%; height: auto; }
.nrc-care__body { display: block; }
.nrc-care__item-title { display: block; margin: 0 0 4px; font-family: var(--nrc-sans); font-size: clamp(14px, 1.25vw, 16px); font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--nrc-navy); }
.nrc-care__item-text { display: block; font-size: clamp(14px, 1.2vw, 16px); line-height: 1.5; color: var(--nrc-navy); }
.nrc-care__more { margin: clamp(32px, 3.5vw, 48px) 0 0 !important; text-align: center; }
@media (max-width: 991px) {
	.nrc-care { padding-top: var(--nrc-pad); }
	.nrc-care__top.has-photo { grid-template-columns: 1fr; }
	.nrc-care__photo { max-width: 520px; aspect-ratio: 4 / 3; }
	.nrc-care__title { margin-top: 0 !important; }
}
@media (max-width: 600px) {
	.nrc-care__item { align-items: flex-start; }
	.nrc-care__icon { width: 44px; }
}

/* Image + Text --------------------------------------------------------- */
.nrc-split { background: var(--nrc-cream); padding: var(--nrc-pad) 0; }
.nrc-split__grid { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: clamp(32px, 3.5vw, 48px); align-items: start; }
.nrc-split--img-right .nrc-split__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); }
.nrc-split--img-right .nrc-split__photo { order: 2; }
.nrc-split.no-photo .nrc-split__grid { grid-template-columns: 1fr; max-width: 800px; }
.nrc-split__photo { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; }
.nrc-split__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nrc-split__content { padding-top: clamp(0px, 2vw, 24px); }
.nrc-split__title { margin: 0 0 clamp(24px, 3vw, 40px) !important; color: var(--nrc-navy) !important; font-size: clamp(30px, 3vw, 42px) !important; line-height: 1.15 !important; }
.nrc-split__text, .nrc-split__text p { color: var(--nrc-navy) !important; font-size: clamp(15px, 1.3vw, 17px) !important; line-height: 1.6 !important; }
.nrc-split__text p { margin: 0 0 20px !important; }
.nrc-split__more { margin: clamp(32px, 5vw, 72px) 0 0 !important; padding-left: 10px; }
.nrc-split__more .nrc-textlink { text-transform: uppercase; font-weight: 400; }
@media (max-width: 767px) {
	.nrc-split__grid, .nrc-split--img-right .nrc-split__grid { grid-template-columns: 1fr; }
	.nrc-split--img-right .nrc-split__photo { order: 0; }
	.nrc-split__photo { aspect-ratio: 4 / 3; }
	.nrc-split__more { padding-left: 0; }
}

/* CTA Bar -------------------------------------------------------------- */
.nrc-ctabar { background: var(--nrc-navy); color: var(--nrc-white); padding: clamp(24px, 2.6vw, 36px) 0; }
.nrc-ctabar__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; }
.nrc-ctabar__title { margin: 0 !important; color: var(--nrc-white) !important; font-size: clamp(24px, 2.4vw, 32px) !important; line-height: 1.2 !important; }
.nrc-ctabar__actions { display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); flex-wrap: wrap; }
.nrc-ctabar__phone { color: var(--nrc-white) !important; font-size: 16px; text-decoration: underline !important; text-underline-offset: 3px; white-space: nowrap; }
.nrc-ctabar__link { color: var(--nrc-white) !important; font-size: 16px; letter-spacing: .03em; text-transform: uppercase; text-decoration: none !important; border-bottom: 1px solid transparent; transition: border-color .2s; }
.nrc-ctabar__link:hover, .nrc-ctabar__phone:hover { border-bottom-color: var(--nrc-gold); color: var(--nrc-gold) !important; }

/* CTA Photo ------------------------------------------------------------ */
.nrc-ctaphoto { position: relative; overflow: hidden; background: var(--nrc-navy); color: var(--nrc-white); padding: clamp(96px, 12vw, 180px) 0 clamp(72px, 8vw, 120px); text-align: center; }
.nrc-ctaphoto__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; z-index: 0; }
.nrc-ctaphoto__tint { position: absolute; inset: 0; z-index: 1; background: rgba(38, 48, 74, var(--nrc-darken, .6)); }
.nrc-ctaphoto__inner { position: relative; z-index: 2; max-width: 1000px; }
.nrc-ctaphoto .nrc-eyebrow { font-size: 14px !important; text-align: center; }
.nrc-ctaphoto__title { margin: 0 0 20px !important; color: var(--nrc-white) !important; font-size: clamp(30px, 3.4vw, 46px) !important; line-height: 1.2 !important; text-align: center !important; }
.nrc-ctaphoto__text, .nrc-ctaphoto__text p { color: var(--nrc-white) !important; font-size: clamp(15px, 1.3vw, 17px) !important; line-height: 1.6 !important; text-align: center !important; }
.nrc-ctaphoto__text p { max-width: 640px; margin: 0 auto 20px !important; }
.nrc-ctaphoto__btn { margin: clamp(28px, 3vw, 40px) 0 0 !important; }

/* Hidden-section notes in the editor */
.editor-styles-wrapper .hidden-warning { padding: 10px 16px; background: #fbeaea; border-left: 4px solid #c0392b; font-size: 14px; }
