/* ============================================================================
   nqc/prose-panel  (+ the nqc/check-item rows, styled from here)
   Source: Claude Design/lodging.html L319–366
   Canvas: paper  top 4765px, height 801px    (Cabin Specifics)
           sand   top 5566px, height 670.01px (Reunion)
   ============================================================================ */

.nqc-prose {
	position: relative;
	background: var(--nqc-paper);      /* L323 */
	padding: 80px 220px;               /* L323 */
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	overflow: hidden;
	isolation: isolate;
}

/*
   The sand ground carries the same multiplied texture as the navy bands. The
   blend is on the WRAPPER, not the image: the wrapper's z-index makes a
   stacking context, and a blend set on a child cannot see past one.
*/
.nqc-prose.is-sand {
	background: #E9E2D1;               /* --sand-2, L347 */
	padding-block: 56px;               /* L349 */
}

/* ---- navy ground ---------------------------------------------------------
   activities.html L263–288. The same panel on the dark band: cream heading,
   gold checks, and the hairline rules the navy sections use.
   -------------------------------------------------------------------------- */
.nqc-prose.is-navy {
	background: var(--nqc-navy);       /* L266 */
	padding-block: 80px;
}

.nqc-prose.is-navy .nqc-prose__heading { color: var(--nqc-cream-2); }   /* L275 */

.nqc-prose.is-navy .nqc-prose__orn { min-height: 15.69px; }             /* L276 */

.nqc-prose.is-navy .nqc-check {
	border-bottom-color: rgba(203, 180, 136, .2);   /* L283 */
	padding-block: 14px;                            /* L281 — 14 here, 13 on paper */
}

.nqc-prose.is-navy .nqc-check:hover {
	border-bottom-color: rgba(203, 180, 136, .55);
	background: rgba(203, 180, 136, .06);
}

.nqc-prose.is-navy .nqc-check__mark { color: var(--nqc-gold-lt); }      /* L286 */

.nqc-prose.is-navy .nqc-check__text { color: var(--nqc-card-ink); }     /* L287 */

.nqc-prose.is-navy .nqc-prose__body,
.nqc-prose.is-navy .nqc-prose__note { color: var(--nqc-card-ink); }

.nqc-prose__ground {
	position: absolute;
	inset: 0;
	z-index: 0;
	mix-blend-mode: multiply;
	pointer-events: none;
}

.nqc-prose__ground-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 50%;
}

/* ---- rail ----------------------------------------------------------------- */
.nqc-prose__in {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1000px;                 /* L327 / L354 */
	margin-inline: 0;                  /* both grounds are align-items: flex-start */
	padding-inline: 40px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	align-items: flex-start;
}

.nqc-prose__kicker { margin: 0; }

.nqc-prose__heading {
	margin: 0;
	align-self: stretch;
	font: 600 56px/56px var(--nqc-serif);     /* L331 */
	color: var(--nqc-ink);
}

/* L360 — the sand panel's heading is set on its own line box, not 56px. */
.nqc-prose.is-sand .nqc-prose__heading { line-height: 100%; }

.nqc-prose__orn {
	--nqc-orn-w: 70px;                 /* L333 */
	min-height: 27.01px;               /* L332 */
}

/* ---- checklist ------------------------------------------------------------ */
.nqc-prose__list {
	margin: 0;
	padding: 0;
	list-style: none;
	width: 100%;
	/*
	   No min-height. The comp states 395px (lodging L335) and 292px
	   (activities L279) for the same block — that number describes each page's
	   own rows, not the component, and baking either one in stretched the
	   other page's panel by 91px.
	*/
	display: flex;
	flex-direction: column;
	gap: 2px;
	align-items: flex-start;
}

/* L339–340 over the shared .tick base at L90–98. */
.nqc-prose .nqc-check {
	width: 100%;
	border-bottom: 1px solid var(--nqc-rule);
	display: flex;
	flex-direction: row;
	gap: 14px;
	padding: 13px 0;
	align-items: flex-start;
	margin: 0;
}

.nqc-prose .nqc-check__mark {
	width: 12.23px;
	flex: none;
	font: 400 16px/25.6px "Lucida Grande", var(--nqc-sans);
	color: var(--nqc-brick);
	font-style: normal;
}

.nqc-prose .nqc-check__mark::before { content: "\2713"; }

.nqc-prose .nqc-check__text {
	flex: 1 1 auto;
	min-width: 0;
	font: 400 18px/28px var(--nqc-sans);
	color: #3F382E;                    /* --body-4 */
}

/* ---- prose ---------------------------------------------------------------- */
/*
   L363–364 holds these to 755px inside a 920px rail — the prose is set to a
   comfortable measure rather than the full width. Without it the lines run
   long and the panel came out 80px short of the comp.
*/
.nqc-prose__body {
	margin: 0;
	max-width: 755px;
	font: 400 18px/28px var(--nqc-sans);      /* L362 */
	color: var(--nqc-body);
}

/* L341 — the paper panel's footnote runs wider than its prose does. */
.nqc-prose:not(.is-sand) .nqc-prose__note { max-width: 960px; }

.nqc-prose__note {
	margin: 0;
	align-self: stretch;
	font: 400 16px/24px var(--nqc-sans);      /* L341 / L366 */
	color: var(--nqc-body-3);
}

.nqc-prose__btn { min-height: 54px; }        /* L342 / L365 */

/* ============================================================================
   Responsive
   ============================================================================ */
@media (max-width: 1200px) {
	.nqc-prose { padding-inline: var(--nqc-gutter); }

	.nqc-prose__in { padding-inline: 0; }

	.nqc-prose__heading { font-size: 44px; line-height: 48px; }

	.nqc-prose__body,
	.nqc-prose:not(.is-sand) .nqc-prose__note { max-width: 100%; }
}

@media (max-width: 900px) {
	.nqc-prose { padding-block: 56px; }

	.nqc-prose.is-sand { padding-block: 44px; }

	.nqc-prose__heading { font-size: 36px; line-height: 40px; }

	.nqc-prose__body { font-size: 17px; line-height: 27px; }
}

@media (max-width: 600px) {
	.nqc-prose { padding-block: 44px; }

	.nqc-prose__heading { font-size: 29px; line-height: 34px; }

	.nqc-prose__orn { --nqc-orn-w: 48px; }

	.nqc-prose .nqc-check {
		gap: 12px;
		padding: 11px 0;
	}

	.nqc-prose .nqc-check__text { font-size: 16px; line-height: 25px; }

	.nqc-prose__body { font-size: 16px; line-height: 26px; }

	.nqc-prose__btn { width: 100%; }
}

/* ============================================================================
   "A Planning Timeline"             family-reunions.html L346–366, L757–773
   Canvas: top 5698px, height 553.01px

   The same 1000px rail on the sand ground, with a strapline under the heading
   and nqc/bullet rows instead of nqc/check-item — and a dashed guide running
   down beside them, which is what makes it read as a sequence rather than a
   list. All three are settings on this panel, not a ninth block.
   ============================================================================ */
.nqc-prose__sub {
	margin: 0;
	align-self: stretch;
	font: 400 20px/100% var(--nqc-sans);      /* L299 .sec-hd .sub */
	color: var(--nqc-body-3);
}

.nqc-prose.is-navy .nqc-prose__sub { color: var(--nqc-card-ink); }

/*
   L346/L360 — this panel states its own band: 60px top and bottom over a rail
   fixed at 433.01, of which the content fills 411 and the last 22 is the comp's
   own slack. Scoped to is-ruled so the other sand panels keep their rhythm.
*/
.nqc-prose.is-ruled { padding-block: 60px; }

.nqc-prose.is-ruled .nqc-prose__in { min-height: 433.01px; }

/* L363 — the rows sit 30px apart here rather than closed up against a rule. */
.nqc-prose.is-ruled .nqc-prose__list {
	position: relative;
	gap: 30px;
}

/*
   L366: a dashed rule at x267.5. The band pads 220 and the rail another 40, so
   that is 7.5px in from the list's own left edge — a spine just left of the
   quatrefoils, not a rule through the middle of the copy.
*/
.nqc-prose.is-ruled .nqc-prose__list::before {
	content: "";
	position: absolute;
	left: 7.5px;
	top: 14px;
	bottom: 14px;
	border-left: 1px dashed var(--nqc-gold);
	pointer-events: none;
}

/*
   L372–379: these rows carry no rule and no padding of their own — the 30px
   between them is the whole separation, and the spine is what ties them
   together. The shared nqc/bullet adds 18px top and bottom and a hairline,
   which put each row at 65px against the comp's 28.
*/
.nqc-prose.is-ruled .nqc-bullet {
	padding: 0;
	border-bottom: 0;
	gap: 14px;
}

.nqc-prose.is-ruled .nqc-bullet__mark {
	width: 13px;
	font: 400 15px/28px "Zapf Dingbats", var(--nqc-serif);
	color: var(--nqc-gold);
}

.nqc-prose.is-ruled .nqc-bullet p {
	font: 400 18px/28px var(--nqc-sans);
	color: var(--nqc-body-2);
}

.nqc-prose.is-ruled .nqc-bullet b {
	font-weight: 600;
	color: var(--nqc-ink);
}

@media (max-width: 900px) {
	.nqc-prose__sub { font-size: 18px; line-height: 26px; }

	.nqc-prose.is-ruled { padding-block: 56px; }
	.nqc-prose.is-ruled .nqc-prose__in { min-height: 0; }

	/* The guide marks a column the copy no longer keeps to. */
	.nqc-prose.is-ruled .nqc-prose__list { gap: 22px; }
	.nqc-prose.is-ruled .nqc-prose__list::before { display: none; }
	.nqc-prose.is-ruled .nqc-bullet p { font-size: 17px; line-height: 27px; }
}


/* ============================================================================
   A form dropped in by shortcode

   The forms plugin ships its own stylesheet and its own idea of a text field.
   These rules do not restyle it wholesale — they set the things that would
   otherwise read as a different website inside this section: the family, the
   measure, the rule colour and the button.
   ============================================================================ */
/*
   Full width of the panel's rail, not a 720px column. A 41-field application
   in a narrow column is a very long scroll; across the rail the plugin's own
   two-up rows (first/last, city/state) have room to sit side by side.
*/
.nqc-prose__form {
	width: 100%;
	text-align: left;
}

/* ============================================================================
   A panel carrying a form
   ============================================================================ */
/*
   The band rail the card sections use — 120px of padding around a 1200px
   inner, which puts the content at x160 and 1120 wide, level with the cards in
   the section above. The prose default (220/1000) is a reading measure and
   leaves a form 100px narrower on each side than everything around it.
*/
.nqc-prose.is-form {
	padding-inline: 120px;
	/*
	   The grain, tiled at its own width rather than stretched to the section —
	   1800px is the file's native width, so above the 1440 canvas there is no
	   horizontal seam and it repeats only downwards.

	   A paper wash sits OVER it at 88%, which is what turns a dark parchment
	   photograph into a texture you can set type on. Without it the eyebrow is
	   unreadable; the homepage gets the same effect for free because its band
	   is short enough to crop a pale part of the file.
	*/
	background-color: var(--nqc-paper);
	background-image:
		linear-gradient(rgba(251, 247, 239, .88), rgba(251, 247, 239, .88)),
		var(--nqc-grain, none);
	background-repeat: repeat, repeat;
	background-size: auto, 1800px auto;
	background-position: top center, top center;
}

.nqc-prose.is-form .nqc-prose__in {
	max-width: 1200px;
}

/*
   NOTE — is-sand and is-form both set a background at (0,2,0) and is-form is
   declared later, so a panel asking for BOTH renders on paper, not sand. That
   is the case on /contact/ and /the-ranch/employment/, whose seeders both ask
   for sand: they have been paper since they were signed off, and they stay
   paper. Correcting it here would silently redress two approved pages.

   The Journal's newsletter panel does need the sand ground — its FAQ neighbour
   is paper and the two read as one field — so the (0,3,0) pair it needs lives
   in assets/nqc-journal.css, which only loads on the Journal, its posts and
   its category archives.
*/

/*
   No scroll-in here. Everything else on the site rises 18px into place, but a
   form is a thing you use rather than read past, and it should be there and
   usable the moment the section is on screen — including for anyone who lands
   on it from an anchor link.
*/
.nqc-prose.is-form .nqc-reveal {
	opacity: 1;
	transform: none;
	transition: none;
}

/*
   Gravity Forms ships the "Orbital" theme, which draws its controls from its
   own custom properties — so the design is handed to it through those rather
   than fought for with selectors. Setting the tokens on the wrapper needs no
   !important and survives the plugin's own stylesheets whatever order they
   load in. The plain rules further down stay as a fallback for a form rendered
   in one of the older themes.
*/
.nqc-prose__form .gform_wrapper {
	/* Everything the plugin derives from "primary" — the datepicker's selected
	   day, focus tints — comes off this one token, which ships as #204ce5. */
	--gf-color-primary: var(--nqc-brick);

	/* controls */
	--gf-ctrl-bg-color: #fff;
	--gf-ctrl-border-color: var(--nqc-rule-2);
	--gf-ctrl-radius: 0;
	--gf-ctrl-font-size: 16px;

	/* labels */
	--gf-label-color-primary: var(--nqc-gold-dk);

	/* the submit button's colours */
	--gf-ctrl-btn-bg-color-primary: var(--nqc-brick);
	--gf-ctrl-btn-bg-color-hover-primary: var(--nqc-ink);
	--gf-ctrl-btn-bg-color-focus-primary: var(--nqc-ink);
	--gf-ctrl-btn-border-color-primary: var(--nqc-brick);
	--gf-ctrl-btn-border-color-hover-primary: var(--nqc-ink);
	--gf-ctrl-btn-border-color-focus-primary: var(--nqc-ink);
	--gf-ctrl-btn-color-primary: #fff;
	--gf-ctrl-btn-radius: 0;
}

/*
   The button's SIZE tokens belong to the footer, not the wrapper.

   The date picker's calendar is rendered inside the field, so it inherits
   whatever is set up here — and its month and year controls are small buttons
   with a fixed min-height. Setting 19px of button padding on the wrapper for
   the submit pushed their text straight out of the box: that is what clipped
   "2026" and "September" in half. Scoped to the footer, the submit is sized
   and the calendar is left alone.
*/
.nqc-prose__form .gform_wrapper .gform_footer {
	--gf-ctrl-btn-font-size: 14px;
	--gf-ctrl-btn-letter-spacing: 3px;
	--gf-ctrl-btn-padding-x: 34px;
	--gf-ctrl-btn-padding-y: 19px;
}

.nqc-prose__form .gform_wrapper,
.nqc-prose__form .gform_wrapper * {
	font-family: var(--nqc-sans);
}

.nqc-prose__form .gform_wrapper .gfield_label {
	font: 400 14px/20px var(--nqc-sans);
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--nqc-gold-dk);
}

/*
   :not(.nav) keeps the DATE PICKER's month and year dropdowns out of this.
   They carry .nav, they sit in a 35px box the plugin sizes itself, and 12px of
   vertical padding on a 26px line inside 35px is what clipped "2026" and
   "September" in half. They get their own compact rule below.
*/
.nqc-prose__form .gform_wrapper input[type="text"],
.nqc-prose__form .gform_wrapper input[type="email"],
.nqc-prose__form .gform_wrapper input[type="tel"],
.nqc-prose__form .gform_wrapper input[type="number"],
.nqc-prose__form .gform_wrapper input[type="date"],
.nqc-prose__form .gform_wrapper select:not(.nav),
.nqc-prose__form .gform_wrapper textarea {
	font: 400 16px/26px var(--nqc-sans);
	color: var(--nqc-ink);
	background: #fff;
	border: 1px solid var(--nqc-rule-2);
	border-radius: 0;
	padding: 12px 14px;
}

.nqc-prose__form .gform_wrapper input:focus-visible,
.nqc-prose__form .gform_wrapper select:focus-visible,
.nqc-prose__form .gform_wrapper textarea:focus-visible {
	outline: 2px solid var(--nqc-gold);
	outline-offset: 1px;
	border-color: var(--nqc-gold);
}

/*
   The plugin's submit, wearing the design's fill button.

   `button` as well as `input[type=submit]`: current Gravity Forms renders the
   submit as a <button>, and without it the control keeps the plugin's default
   blue. Scoped to the footers so the file-upload browse button — also a
   <button>, but a neutral control inside a field — is left alone.
*/
.nqc-prose__form .gform_wrapper .gform_footer button,
.nqc-prose__form .gform_wrapper .gform_footer input[type="submit"],
.nqc-prose__form .gform_wrapper .gform_page_footer button,
.nqc-prose__form .gform_wrapper .gform_page_footer input[type="button"],
.nqc-prose__form .gform_wrapper .gform_page_footer input[type="submit"] {
	font: 400 14px/100% var(--nqc-sans);
	letter-spacing: 3px;
	text-transform: uppercase;
	color: #fff;
	background: var(--nqc-brick);
	border: 0;
	border-radius: 0;
	padding: 19px 34px;
	cursor: pointer;
	transition: background .35s ease, transform .35s var(--nqc-ease);
}

.nqc-prose__form .gform_wrapper .gform_footer button:hover,
.nqc-prose__form .gform_wrapper .gform_footer input[type="submit"]:hover {
	background: var(--nqc-ink);
	transform: translateY(-2px);
}

.nqc-prose__form .gform_wrapper .gsection {
	border-bottom: 1px solid var(--nqc-rule-2);
}

.nqc-prose__form .gform_wrapper .gsection_title {
	font: 600 26px/34px var(--nqc-serif);
	color: var(--nqc-ink);
}

/*
   The plugin writes "(Required)" as text inside the label, which the label's
   uppercase transform turned into a shouted "(REQUIRED)". Set back to normal
   case, lighter, and off the letter-spacing so it reads as a note.
*/
.nqc-prose__form .gform_wrapper .gfield_required {
	color: var(--nqc-brick);
	text-transform: none;
	letter-spacing: 0;
	font-weight: 400;
}

/* The plugin's sub-labels under a split field (First / Last, City / State). */
.nqc-prose__form .gform_wrapper .ginput_complex label,
.nqc-prose__form .gform_wrapper .gform_fileupload_rules {
	font: 400 14px/22px var(--nqc-sans);
	letter-spacing: 0;
	text-transform: none;
	color: var(--nqc-body-3);
}

.nqc-prose__form .gform_wrapper .gfield_description,
.nqc-prose__form .gform_wrapper .ginput_counter {
	font: 400 14px/22px var(--nqc-sans);
	color: var(--nqc-body-3);
}

@media (max-width: 600px) {
	.nqc-prose__form .gform_wrapper .gform_footer button,
	.nqc-prose__form .gform_wrapper .gform_footer input[type="submit"] {
		width: 100%;
		padding: 18px 20px;
	}
}


@media (max-width: 1200px) {
	.nqc-prose.is-form { padding-inline: var(--nqc-gutter); }
}


/* ============================================================================
   The date picker's calendar

   Gravity Forms offers no second design for this — the plugin ships one
   calendar and drives it from tokens — so it is dressed here instead. Its
   defaults are a white box with a blue selected day (#204ce5, hard-coded, not
   a token) and a pale blue hover (#c3d9ff).

   The calendar renders INSIDE the field, so everything is scoped to this
   section. Selectors carry .gform_wrapper as well as .gform-datepicker-calendar
   so they sit one class above the plugin's own (.gform-theme--foundation
   .gform-datepicker-calendar …) and win without !important.
   ============================================================================ */
.nqc-prose__form .gform_wrapper .gform-datepicker-calendar {
	background-color: var(--nqc-paper);
	border: 1px solid var(--nqc-rule-2);
	border-radius: 0;
	box-shadow: 0 18px 40px rgba(28, 38, 52, .14);
	padding: 8px 10px 10px;
}

/* ---- the month and year controls ----------------------------------------- */
/*
   The month and year controls are <select class="nav … select"> elements, not
   the .nav.btn.*.current buttons — those are display:none in this build. The
   plugin fixes their height at 35px, so they need padding and a line-height
   that fit inside it.
*/
.nqc-prose__form .gform_wrapper .gform-datepicker-calendar select.nav {
	font: 400 14px/20px var(--nqc-sans);
	color: var(--nqc-ink);
	background-color: #fff;
	border: 1px solid var(--nqc-rule-2);
	border-radius: 0;
	padding: 4px 8px;
	line-height: 20px;
	block-size: 35px;
	min-block-size: 0;
	text-align: center;
	text-align-last: center;
}

.nqc-prose__form .gform_wrapper .gform-datepicker-calendar select.nav.year {
	letter-spacing: 2px;
	color: var(--nqc-gold-dk);
}

/* The prev/next chevrons, in the gold rather than the plugin's grey. */
.nqc-prose__form .gform_wrapper .gform-datepicker-calendar .nav.btn.year.prev,
.nqc-prose__form .gform_wrapper .gform-datepicker-calendar .nav.btn.year.next,
.nqc-prose__form .gform_wrapper .gform-datepicker-calendar .nav.btn.month.prev,
.nqc-prose__form .gform_wrapper .gform-datepicker-calendar .nav.btn.month.next {
	background: transparent;
	border: 0;
	box-shadow: none;
	color: var(--nqc-gold-dk);
	--gf-ctrl-icon-color: var(--nqc-gold-dk);
	--gf-ctrl-icon-color-hover: var(--nqc-brick);
}

/* ---- the day-of-week row ------------------------------------------------- */
.nqc-prose__form .gform_wrapper .gform-datepicker-calendar th {
	font: 400 11px/16px var(--nqc-sans);
	font-weight: 400;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--nqc-gold-dk);
	padding-block: 10px 6px;
}

/* ---- the days ------------------------------------------------------------ */
.nqc-prose__form .gform_wrapper .gform-datepicker-calendar table.calendar {
	font-size: 1em;
}

.nqc-prose__form .gform_wrapper .gform-datepicker-calendar table.calendar td span:not([hidden]) {
	font: 400 15px/1 var(--nqc-sans);
	color: var(--nqc-ink);
	padding: 9px 0;
	border: 1px solid transparent;
	border-radius: 0;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

/* Hover, and today. The plugin sets both to a pale blue. */
.nqc-prose__form .gform_wrapper .gform-datepicker-calendar table.calendar td.day:where(:not(.selected):not(.dayMarked):not(.disabled)) span:hover {
	background-color: var(--nqc-sand);
	color: var(--nqc-ink);
}

.nqc-prose__form .gform_wrapper .gform-datepicker-calendar table.calendar td[aria-current="date"] span {
	background-color: transparent;
	border-color: var(--nqc-gold);
	color: var(--nqc-ink);
}

/* The chosen day. The plugin hard-codes #204ce5 here. */
.nqc-prose__form .gform_wrapper .gform-datepicker-calendar table.calendar td.dayMarked span {
	/*
	   GF resolves this cell's background through its own --gf-local-bg-color as
	   well, from a selector one element MORE specific than a plain
	   .gform-datepicker-calendar td chain — which is why these day rules carry
	   table.calendar. The local variable is set too, so both routes agree.
	*/
	--gf-local-bg-color: var(--nqc-brick);
	background-color: var(--nqc-brick);
	border-color: var(--nqc-brick);
	color: #fff;
}

.nqc-prose__form .gform_wrapper .gform-datepicker-calendar table.calendar td.selected span {
	border-color: var(--nqc-brick);
}

.nqc-prose__form .gform_wrapper .gform-datepicker-calendar table.calendar td.disabled span,
.nqc-prose__form .gform_wrapper .gform-datepicker-calendar table.calendar td.day.disabled span {
	color: var(--nqc-body-3);
	opacity: .45;
}

/* ---- the calendar toggle in the field ------------------------------------ */
.nqc-prose__form .gform_wrapper .gform-datepicker-toggle {
	color: var(--nqc-gold-dk);
}
