/*
Theme Name:   Nectar Marquees
Theme URI:    https://nectarmarquees.co.uk
Description:  Child theme of Solace. Holds the 2026 redesign: the "English country
              marquee" look and the four rebuilt page templates (home, marquees,
              gallery, contact). Built by JJWD so a Solace update cannot destroy it.
Author:       JJWD
Template:     solace
Version:      1.0.0
*/

/* ==========================================================================
   Design tokens

   One accessibility note worth keeping: the old site put WHITE text on the
   gold (#C5A028), which is 2.5:1 and fails WCAG. Ink on the same gold is
   7.3:1. Nothing in here ever puts white on gold.
   ========================================================================== */

:root {
	--nx-ink: #1A1815;
	--nx-forest: #2E4034;
	--nx-gold: #C5A028;
	--nx-gold-dark: #7A6418;
	--nx-gold-wash: #FCF6E4;
	--nx-ivory: #FAF7F0;
	--nx-sand: #F2EDE1;
	--nx-stone: #E5DED0;
	--nx-slate: #5C574E;
	--nx-body: #4A453D;
	--nx-white: #FFFFFF;

	--nx-display: "Fraunces", Georgia, "Times New Roman", serif;
	--nx-sans: "Karla", system-ui, -apple-system, "Segoe UI", sans-serif;

	--nx-gutter: 64px;
	--nx-max: 1312px;
	--nx-radius: 12px;
}

/* ==========================================================================
   Page shell
   ========================================================================== */

.nx {
	font-family: var(--nx-sans);
	color: var(--nx-ink);
	font-size: 17px;
	line-height: 1.6;
	background: var(--nx-ivory);
	overflow-x: hidden;
}

.nx *,
.nx *::before,
.nx *::after { box-sizing: border-box; }

.nx img { max-width: 100%; height: auto; display: block; }

.nx__wrap {
	max-width: var(--nx-max);
	margin: 0 auto;
	padding-left: var(--nx-gutter);
	padding-right: var(--nx-gutter);
}

.nx section { position: relative; }

/* Typography. Two classes deep so these still win if Elementor's kit is ever
   left enqueued on one of these templates. */
.nx .nx__h1,
.nx .nx__h2,
.nx .nx__h3 {
	font-family: var(--nx-display);
	font-weight: 600;
	text-transform: none;
	letter-spacing: normal;
	margin: 0;
}
.nx .nx__h1 { font-size: clamp(38px, 5.4vw, 78px); line-height: 1.05; }
.nx .nx__h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.14; }
.nx .nx__h3 { font-size: clamp(22px, 1.9vw, 27px); line-height: 1.22; }

.nx .nx__kicker {
	display: block;
	font-family: var(--nx-sans);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--nx-gold-dark);
	margin: 0;
}
.nx .nx__kicker--on-dark { color: var(--nx-gold); }

.nx p { margin: 0; }
.nx .nx__lede { font-size: clamp(17px, 1.3vw, 20px); line-height: 1.65; color: var(--nx-body); }
.nx .nx__note { font-size: 15px; line-height: 1.6; color: var(--nx-slate); }

/* ==========================================================================
   Buttons

   Scoped two classes deep on purpose. Elementor's kit styles every <button>
   on this site via `.elementor-kit-7 button` (0-1-1) and its form controls via
   a 0-3-1 selector. These templates dequeue Elementor, but the scoping stays
   so nothing breaks if that ever changes.
   ========================================================================== */

.nx .nx__btn {
	display: inline-block;
	font-family: var(--nx-sans);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: normal;
	text-transform: none;
	text-decoration: none;
	text-align: center;
	cursor: pointer;
	padding: 16px 32px;
	border-radius: 6px;
	border: 2px solid transparent;
	transition: opacity .15s ease;
}
.nx .nx__btn:hover { opacity: .88; }
.nx .nx__btn:focus-visible { outline: 3px solid rgba(197, 160, 40, .6); outline-offset: 3px; }

.nx .nx__btn--gold { background: var(--nx-gold); color: var(--nx-ink); border-color: var(--nx-gold); }
.nx .nx__btn--ink { background: var(--nx-ink); color: var(--nx-ivory); border-color: var(--nx-ink); }
.nx .nx__btn--outline { background: transparent; color: var(--nx-ink); border-color: var(--nx-ink); }
.nx .nx__btn--ghost {
	background: rgba(250, 247, 240, .08);
	color: var(--nx-ivory);
	border-color: rgba(250, 247, 240, .55);
}
.nx .nx__btn--block { display: block; width: 100%; }

.nx .nx__textlink {
	font-weight: 700;
	color: var(--nx-ink);
	text-decoration: underline;
	text-underline-offset: 5px;
	white-space: nowrap;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.nx__hero { min-height: 720px; display: flex; align-items: center; overflow: hidden; }
.nx__hero-media { position: absolute; inset: 0; }
.nx__hero-media img { width: 100%; height: 100%; object-fit: cover; }
.nx__hero-veil {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(20,18,15,.9) 0%, rgba(20,18,15,.74) 46%, rgba(20,18,15,.3) 100%);
}
.nx__hero-inner { position: relative; width: 100%; padding-top: 80px; padding-bottom: 80px; }
.nx__hero-copy { max-width: 780px; }
.nx__hero .nx__h1 { color: var(--nx-ivory); margin-top: 20px; }
.nx__hero .nx__lede { color: #E2DCCF; margin-top: 22px; max-width: 620px; }
.nx__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* compact hero for inner pages */
.nx__pagehead { background: var(--nx-ink); padding: 78px 0 84px; }
.nx__pagehead .nx__h1 { color: var(--nx-ivory); margin-top: 16px; font-size: clamp(34px, 4.2vw, 62px); }
.nx__pagehead .nx__lede { color: #C3BCB0; margin-top: 20px; max-width: 720px; }

/* ==========================================================================
   Strips, sections
   ========================================================================== */

.nx__strip { background: var(--nx-forest); padding: 26px 0; }
.nx__strip-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.nx__strip-t { font-family: var(--nx-display); font-size: 24px; font-weight: 600; color: var(--nx-ivory); }
.nx__strip-d { font-size: 14px; color: #B9C6BC; margin-top: 3px; }

.nx__section { padding: 92px 0; }
.nx__section--white { background: var(--nx-white); border-top: 1px solid var(--nx-stone); border-bottom: 1px solid var(--nx-stone); }
.nx__section--sand { background: var(--nx-sand); }
.nx__section--tight { padding: 64px 0; }

.nx__sectionhead { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 40px; flex-wrap: wrap; }
.nx__sectionhead .nx__h2 { margin-top: 12px; }

.nx__split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.nx__split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nx__stack { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }

.nx__duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.nx__duo img { border-radius: var(--nx-radius); height: 340px; object-fit: cover; width: 100%; }
.nx__duo img:last-child { margin-top: 44px; }

/* ==========================================================================
   Marquee cards
   ========================================================================== */

.nx__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }

.nx__card {
	display: flex;
	flex-direction: column;
	background: var(--nx-ivory);
	border: 1px solid var(--nx-stone);
	border-radius: 14px;
	overflow: hidden;
	position: relative;
}
.nx__card--featured { border: 2px solid var(--nx-gold); }
.nx__card img { width: 100%; height: 232px; object-fit: cover; }
.nx__card-body { padding: 26px; display: flex; flex-direction: column; flex-grow: 1; }
.nx__card-size { font-size: 15px; font-weight: 600; color: var(--nx-slate); margin-top: 6px; }
.nx__card-text { font-size: 16px; line-height: 1.6; color: var(--nx-body); margin-top: 14px; flex-grow: 1; }
/* Stands in for the price block when prices are hidden, so the cards keep their
   vertical rhythm instead of collapsing where the number was. */
.nx__priced {
	margin-top: 20px;
	font-family: var(--nx-display);
	font-size: 20px;
	font-weight: 600;
	color: var(--nx-gold-dark);
}

.nx__price { display: flex; align-items: baseline; gap: 8px; margin-top: 20px; }
.nx__price-from { font-size: 14px; color: var(--nx-slate); }
.nx__price-num { font-family: var(--nx-display); font-size: 34px; font-weight: 700; }
.nx__card .nx__btn { margin-top: 18px; font-size: 16px; padding: 14px 20px; }

.nx__flag {
	position: absolute;
	top: 18px;
	right: 18px;
	background: var(--nx-gold);
	color: var(--nx-ink);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 7px 12px;
	border-radius: 4px;
}

/* wide row version, marquees page */
.nx__row {
	display: grid;
	grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
	background: var(--nx-white);
	border: 1px solid var(--nx-stone);
	border-radius: 16px;
	overflow: hidden;
}
.nx__row--featured { border: 2px solid var(--nx-gold); }
.nx__row--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); }
.nx__row img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.nx__row-body { padding: 40px 44px; display: flex; flex-direction: column; }
.nx__row-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.nx__row-price { text-align: right; flex: 0 0 auto; }
.nx__row-price .nx__price-num { font-size: 40px; line-height: 1; display: block; }

.nx__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.nx__chip { background: var(--nx-sand); color: var(--nx-body); padding: 8px 15px; border-radius: 40px; font-size: 14px; font-weight: 600; }
.nx__chip--gold { background: var(--nx-gold-wash); border: 1.5px solid var(--nx-gold); color: var(--nx-ink); font-weight: 700; padding: 10px 19px; font-size: 16px; }

/* ==========================================================================
   Extras, steps, panels
   ========================================================================== */

.nx__panel { border-radius: 16px; padding: 46px 44px; }
.nx__panel--ink { background: var(--nx-ink); }
.nx__panel--ink .nx__h2 { color: var(--nx-ivory); }
.nx__panel--white { background: var(--nx-white); border: 1px solid var(--nx-stone); }

.nx__list { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-direction: column; gap: 16px; }
.nx__list li { display: flex; gap: 14px; align-items: flex-start; }
.nx__list svg { flex: 0 0 22px; margin-top: 3px; }
.nx__list-t { font-size: 18px; font-weight: 700; color: var(--nx-ivory); }
.nx__list-d { font-size: 15px; color: #A8A197; margin-top: 2px; }

.nx__extras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.nx__extra {
	border: 1px solid var(--nx-stone);
	border-radius: 12px;
	padding: 26px 24px;
	background: var(--nx-ivory);
}
.nx__extra-t { font-family: var(--nx-display); font-size: 22px; font-weight: 600; margin-top: 14px; }
.nx__extra-d { font-size: 15px; color: var(--nx-slate); margin-top: 6px; line-height: 1.55; }

.nx__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; }
.nx__step-n {
	width: 54px; height: 54px; border-radius: 50%;
	background: var(--nx-forest); color: var(--nx-ivory);
	display: flex; align-items: center; justify-content: center;
	font-family: var(--nx-display); font-size: 24px; font-weight: 700;
}
.nx__steps .nx__h3 { margin: 20px 0 10px; }

/* ==========================================================================
   Gallery
   ========================================================================== */

.nx__grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.nx__grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.nx__grid4 img, .nx__grid3 img { width: 100%; height: 300px; object-fit: cover; border-radius: var(--nx-radius); }
.nx__grid3 img { height: 340px; }

.nx__ph {
	border-radius: var(--nx-radius);
	border: 2px dashed #B6AE9C;
	background: var(--nx-sand);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 22px;
	min-height: 300px;
}
.nx__ph-t { font-size: 15px; font-weight: 700; color: var(--nx-slate); margin-top: 14px; line-height: 1.4; }
.nx__ph-d { font-size: 14px; color: #8B8376; margin-top: 6px; line-height: 1.45; }

/* ==========================================================================
   Area, CTA, contact
   ========================================================================== */

.nx__area { background: var(--nx-forest); border-radius: 16px; padding: 56px 52px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.nx__area .nx__h2 { color: var(--nx-ivory); margin-top: 14px; }
.nx__area .nx__lede { color: #C6D0C8; margin-top: 14px; }
.nx__pills { display: flex; flex-wrap: wrap; gap: 9px; }
.nx__pill {
	background: rgba(250,247,240,.1);
	border: 1px solid rgba(250,247,240,.3);
	color: var(--nx-ivory);
	padding: 9px 17px;
	border-radius: 40px;
	font-size: 15px;
	font-weight: 600;
}

.nx__cta { background: var(--nx-gold); padding: 74px 0; }
.nx__cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.nx__cta .nx__h2 { color: var(--nx-ink); font-weight: 700; }
.nx__cta p { font-size: 19px; line-height: 1.6; color: #2E2711; margin-top: 12px; max-width: 640px; }

.nx__contact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.nx__contact-card {
	background: var(--nx-white);
	border: 1px solid var(--nx-stone);
	border-radius: 14px;
	padding: 32px 28px;
	text-align: center;
}
.nx__contact-card .nx__h3 { margin: 16px 0 8px; }
.nx__contact-card a { color: var(--nx-gold-dark); font-weight: 700; text-decoration: none; font-size: 18px; word-break: break-word; }
.nx__contact-card a:hover { text-decoration: underline; }

/* ==========================================================================
   Header and footer, restyled from Solace's own markup

   Solace's header is kept (so the menus stay editable in wp-admin) but
   retuned to the new palette and type.
   ========================================================================== */

.nx-shell .site-header,
.nx-shell header.header { background: var(--nx-ivory); border-bottom: 1px solid var(--nx-stone); }

/*
 * The header menu is deliberately NOT restyled.
 *
 * It was being given Karla here, but Solace declares IBM Plex Sans on it and that
 * rule wins - so the only visible effect was that dequeuing the IBM Plex Sans file
 * left the nav in a system fallback, which looked wrong next to the untouched
 * header on /get-a-quote/. The font file is allowed through again and the menu is
 * left exactly as the theme draws it, which is the version Jack preferred.
 */
.nx-shell .menu-item.current-menu-item > a { color: var(--nx-gold-dark); }

/* the theme's header CTA */
.nx-shell .button1,
.nx-shell .solace-component-button-customizer {
	background: var(--nx-gold) !important;
	color: var(--nx-ink) !important;
	border-radius: 6px !important;
	font-family: var(--nx-sans) !important;
	font-weight: 700 !important;
	letter-spacing: normal !important;
	text-transform: none !important;
}

.nx-shell .main-page,
.nx-shell .container-page,
.nx-shell .myrow,
.nx-shell .content {
	max-width: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.nx__footer { background: var(--nx-ink); padding: 62px 0 42px; }
.nx__footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 48px; padding-bottom: 34px; border-bottom: 1px solid #34302A; }
.nx__footer p { font-size: 16px; line-height: 1.65; color: #A8A197; margin-top: 18px; max-width: 340px; }
.nx__footer-h { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--nx-gold); }
.nx__footer-links { display: flex; flex-direction: column; gap: 11px; margin-top: 18px; }
.nx__footer-links a, .nx__footer-links span { font-size: 16px; color: #E2DCCF; text-decoration: none; }
.nx__footer-links a:hover { color: var(--nx-gold); text-decoration: underline; }
.nx__social { display: flex; gap: 12px; margin-top: 18px; }
.nx__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid #45403A;
	color: #E2DCCF;
	text-decoration: none;
}
.nx__social a:hover { color: var(--nx-gold); border-color: var(--nx-gold); }
.nx__social a:focus-visible { outline: 3px solid var(--nx-gold); outline-offset: 2px; }

.nx__footer-base { padding-top: 24px; font-size: 14px; color: #7E786E; }

/* ==========================================================================
   Tablet and phone
   ========================================================================== */

@media (max-width: 1024px) {
	.nx { --nx-gutter: 36px; }
	.nx__cards, .nx__extras, .nx__steps, .nx__grid3, .nx__contact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nx__grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nx__split, .nx__split--even, .nx__area { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.nx__row, .nx__row--flip { grid-template-columns: minmax(0, 1fr); }
	.nx__row--flip .nx__row-body { order: 2; }
	.nx__row img { min-height: 280px; max-height: 320px; }
	.nx__strip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
	.nx__footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
	.nx { --nx-gutter: 18px; font-size: 16px; }
	.nx__hero { min-height: 560px; }
	.nx__hero-veil { background: linear-gradient(180deg, rgba(20,18,15,.6) 0%, rgba(20,18,15,.88) 100%); }
	.nx__section { padding: 52px 0; }
	.nx__pagehead { padding: 48px 0 52px; }
	.nx__cards, .nx__extras, .nx__steps, .nx__grid3, .nx__grid4, .nx__contact,
	.nx__duo, .nx__footer-grid { grid-template-columns: minmax(0, 1fr); }
	.nx__duo img:last-child { margin-top: 0; }
	.nx__duo img { height: 240px; }
	.nx__grid4 img, .nx__grid3 img { height: 240px; }
	.nx__ph { min-height: 200px; }
	.nx__panel { padding: 30px 24px; }
	.nx__row-body { padding: 26px 22px; }
	.nx__row-top { flex-direction: column; gap: 10px; }
	.nx__row-price { text-align: left; }
	.nx__area { padding: 32px 24px; }
	.nx__cta { padding: 44px 0; }
	.nx__actions { flex-direction: column; align-items: stretch; }
	.nx .nx__btn { width: 100%; }
	.nx__sectionhead { margin-bottom: 26px; }
}

/* Respect a reduced-motion preference. */
@media (prefers-reduced-motion: reduce) {
	.nx * { transition: none !important; animation: none !important; }
}
