/*
Theme Name: Soma & Soul
Theme URI: https://thesomaandsoul.com
Author: Connect Web Design Studio
Author URI: https://connectwebdesignstudio.com
Description: Custom theme for Soma & Soul (replaces Thrive Theme Builder). Pages are Custom HTML sections using the classes below.
Version: 1.0.0
Requires PHP: 8.0
Text Domain: somasoul
*/

@font-face {
	font-family: "Brittany";
	src: url("fonts/BrittanySignature.ttf") format("truetype");
	font-weight: 400;
	font-display: swap;
}

:root {
	--blush: #f1c5d4;
	--mist: #e6e9ed;
	--mauve: #ae7f92;       /* script headings (brand) */
	--plum: #7a4862;        /* small mauve text; darker so it reads on blush */
	--teal: #71cdcc;
	--teal-dark: #5cbfbe;
	--ink: #111;
	--line: rgba(0, 0, 0, 0.16);
	--wrap: 1080px;
	--gutter: 24px;
	--script: "Brittany", "Brush Script MT", cursive;
	--sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
	--button: "Mulish", "Montserrat", Arial, sans-serif;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--mist);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 18px;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
}
img, svg, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--plum); }
a:hover { color: var(--ink); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.25; font-weight: 600; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

.wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; z-index: 100; top: 8px; left: 8px;
	background: #fff; color: var(--ink); padding: 10px 16px;
}

/* script headings (Brittany), as on the Thrive site */
.script {
	font-family: var(--script);
	font-weight: 600; /* the font has one weight; the Thrive site showed it browser-bolded like this */
	color: var(--mauve);
	font-size: clamp(28px, 7.4vw, 42px);
	line-height: 1.35;
	margin: 0 0 .25em;
}
.lead { font-weight: 600; margin-bottom: .2em; }
.measure { max-width: 880px; margin-left: auto; margin-right: auto; }
.center { text-align: center; }

.btn {
	display: inline-block;
	background: var(--teal);
	color: var(--ink);
	font-family: var(--button);
	font-weight: 800;
	font-size: 14px;
	line-height: 1.2;
	letter-spacing: 3px;
	text-transform: uppercase;
	text-decoration: none;
	padding: 20px 34px;
	transition: background-color .2s, transform .2s;
}
.btn:hover, .btn:focus-visible { background: var(--teal-dark); color: var(--ink); transform: translateY(-1px); }

/* ---------- sections + wave edges ---------- */
.sec { padding: 96px 0; position: relative; }
.sec--blush { background: var(--blush); }
.sec--mist { background: var(--mist); }

/* A soft double wave in the section's own color, rising into the section above. */
.wave-top::before,
.site-footer::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 100%;
	height: 44px;
	background: no-repeat center bottom / 100% 100%;
	pointer-events: none;
}
.sec--blush.wave-top::before,
.site-footer::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath fill='%23f1c5d4' fill-opacity='.45' d='M0 20C260 4 560 0 860 12s400 18 580-6v54H0z'/%3E%3Cpath fill='%23f1c5d4' d='M0 36c300-16 620-18 900-8s380 12 540-4v36H0z'/%3E%3C/svg%3E");
}
.sec--mist.wave-top::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath fill='%23e6e9ed' fill-opacity='.45' d='M0 20C260 4 560 0 860 12s400 18 580-6v54H0z'/%3E%3Cpath fill='%23e6e9ed' d='M0 36c300-16 620-18 900-8s380 12 540-4v36H0z'/%3E%3C/svg%3E");
}

/* ---------- header ---------- */
.site-header { background: var(--blush); position: relative; z-index: 20; }
/* the header's lower edge waves down over the first section */
.site-header::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	height: 28px;
	transform: scaleY(-1);
	background: no-repeat center bottom / 100% 100% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath fill='%23f1c5d4' fill-opacity='.55' d='M0 20C260 4 560 0 860 12s400 18 580-6v54H0z'/%3E%3Cpath fill='%23f1c5d4' d='M0 36c300-16 620-18 900-8s380 12 540-4v36H0z'/%3E%3C/svg%3E");
	pointer-events: none;
}
.brand-row { display: flex; align-items: center; gap: 14px; padding-top: 14px; position: relative; }
.brand-rule { flex: 1; height: 1px; background: var(--line); }
.site-logo { display: block; flex: 0 0 auto; }
.site-logo img { width: 280px; }
.nav-toggle { display: none; }

.main-nav { padding: 6px var(--gutter) 16px; }
.main-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 34px; }
.main-nav li { position: relative; display: flex; align-items: center; }
.main-nav a {
	color: var(--ink);
	text-decoration: none;
	font-size: 15px;
	font-weight: 500;
	line-height: 2;
}
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current-menu-ancestor > a { color: var(--plum); }
.sub-toggle {
	background: none;
	border: 0;
	padding: 0 0 0 6px;
	cursor: pointer;
	color: var(--ink);
	width: 22px;
	height: 30px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.sub-toggle::before {
	content: "";
	width: 7px;
	height: 7px;
	border-right: 1.6px solid currentColor;
	border-bottom: 1.6px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
	transition: transform .2s;
}
.sub-open > .sub-toggle::before { transform: translateY(2px) rotate(-135deg); }
.main-nav .sub-menu {
	list-style: none;
	margin: 0;
	padding: 10px 0;
	position: absolute;
	top: 100%;
	left: -18px;
	min-width: 270px;
	background: #fff;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .18s, transform .18s, visibility .18s;
	z-index: 30;
}
.main-nav .sub-menu li { display: block; }
.main-nav .sub-menu a { display: block; padding: 6px 20px; font-size: 14px; line-height: 1.5; }
.main-nav .sub-menu a:hover { background: var(--blush); color: var(--ink); }
.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu,
.main-nav .sub-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }

/* ---------- home: hero ---------- */
.hero { position: relative; display: flex; align-items: center; min-height: clamp(560px, 54vw, 790px); padding: 70px 0 60px; overflow: hidden; background: #ddd; }
.hero-photo, .hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo img { object-fit: cover; object-position: 60% 40%; }
.hero-inner { position: relative; width: 100%; }
.hero-card {
	max-width: 610px;
	background: rgba(255, 255, 255, .74);
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
	padding: 34px 38px 38px;
	text-align: center;
}
.hero-card p:last-of-type { margin-bottom: 1.3em; }

/* ---------- home: program links strip ---------- */
.quicklinks { background: var(--blush); padding: 14px 0 64px; }
.quicklinks-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.quicklinks a {
	display: block;
	text-align: center;
	padding: 8px 12px;
	color: var(--plum);
	text-decoration: none;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 2px;
	line-height: 1.7;
	text-transform: uppercase;
}
.quicklinks a + a { border-left: 1px solid rgba(122, 72, 98, .3); }
.quicklinks a:hover { color: var(--ink); }

/* ---------- home: offerings ---------- */
.offerings .intro { margin-bottom: 30px; }
.offer {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px 52px;
	align-items: center;
	padding: 46px 0;
	border-top: 1px solid rgba(113, 205, 204, .9);
}
.offer:first-child { border-top: 0; padding-top: 10px; }
.offer-text { text-align: center; }
.offer h3 { color: var(--plum); font-size: 24px; letter-spacing: .5px; text-transform: uppercase; margin-bottom: .3em; }
.offer .btn { margin-top: .4em; }
.offer-photo { margin: 0; }
.offer-photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.offer--flip .offer-photo { order: -1; }

/* ---------- home: founder ---------- */
.founder-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 52px; align-items: start; margin-top: 10px; }
.founder-text .btn-row { text-align: center; }
.founder-photo { margin: 0; }
.founder-photo img { width: 100%; aspect-ratio: 8 / 7; object-fit: cover; object-position: 50% 30%; }

/* ---------- plain pages ---------- */
.page-head { padding: 60px 0 40px; text-align: center; }
.page-body { background: #fff; padding: 60px 0 80px; }
.page-body .wrap { max-width: 900px; }

/* ---------- footer ---------- */
.site-footer { background: var(--blush); text-align: center; padding: 56px 0 30px; position: relative; }
.site-footer .wrap { display: flex; flex-direction: column; align-items: center; gap: 22px; border-top: 1px solid rgba(122, 72, 98, .18); padding-top: 50px; }
.site-footer .site-logo img { width: 260px; }
.site-footer .menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 28px; }
.site-footer .menu a { color: var(--ink); text-decoration: none; font-weight: 500; }
.site-footer .menu a:hover { color: var(--plum); }
.footer-nav a { font-size: 16px; }
.legal-nav { margin-top: -10px; }
.legal-nav a { font-size: 14px; }
.social-icons { display: flex; gap: 22px; justify-content: center; }
.social-icons a { color: var(--teal); display: block; width: 38px; height: 43px; transition: color .2s; }
.social-icons a:hover { color: var(--plum); }
.social-icons svg { width: 100%; height: 100%; fill: currentColor; }
.footer-map { width: 400px; max-width: 100%; }
.footer-map iframe { display: block; width: 100%; height: 300px; border: 0; }
.copyright { margin: 0; font-size: 16px; }
.credit { margin: 0; font-size: 13px; }
.credit a { color: var(--ink); text-decoration: none; }
.credit a:hover { text-decoration: underline; }

/* ---------- tablet + phone ---------- */
@media (max-width: 980px) {
	.main-nav .menu { gap: 2px 22px; }
	.offer, .founder-grid { gap: 22px 32px; }
}

@media (max-width: 860px) {
	:root { --gutter: 16px; }
	body { font-size: 17px; }
	.sec { padding: 72px 0; }

	/* header: logo centered, menu button at the right, menu drops down */
	.brand-row { justify-content: center; padding: 12px var(--gutter) 14px; }
	.brand-rule { display: none; }
	.site-logo img { width: 210px; }
	.nav-toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		position: absolute;
		right: var(--gutter);
		top: 50%;
		transform: translateY(-50%);
		width: 46px;
		height: 46px;
		background: none;
		border: 0;
		color: var(--ink);
		cursor: pointer;
	}
	.nav-toggle svg { width: 26px; height: 26px; fill: currentColor; }
	.main-nav { display: none; padding: 0 var(--gutter) 20px; }
	.nav-open .main-nav { display: block; }
	.main-nav .menu { display: block; border-top: 1px solid var(--line); }
	.main-nav li { flex-wrap: wrap; justify-content: space-between; border-bottom: 1px solid var(--line); }
	.main-nav a { font-size: 17px; padding: 10px 0; flex: 1; }
	.sub-toggle { width: 46px; height: 46px; padding: 0; }
	.main-nav .sub-menu {
		position: static;
		flex-basis: 100%;
		min-width: 0;
		box-shadow: none;
		background: transparent;
		padding: 0 0 8px 16px;
		display: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}
	.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { display: none; }
	.main-nav .sub-open > .sub-menu { display: block; }
	.main-nav .sub-menu li { border: 0; }
	.main-nav .sub-menu a { padding: 7px 0; font-size: 16px; }
	.main-nav .sub-menu a:hover { background: none; }

	/* hero: Kim's portrait on top, the text card overlapping its lower edge */
	.hero { display: block; min-height: 0; padding: 0 0 8px; background: var(--blush); }
	.hero-photo { position: relative; display: block; height: auto; }
	.hero-photo img { position: static; height: auto; aspect-ratio: 3 / 4; max-height: 620px; object-position: 50% 15%; }
	.hero-inner { margin-top: -150px; }
	.hero-card { max-width: none; padding: 26px 20px 30px; background: rgba(255, 255, 255, .95); }

	.quicklinks { padding: 10px 0 60px; }
	.quicklinks-grid { grid-template-columns: 1fr 1fr; }
	.quicklinks a { font-size: 14px; letter-spacing: 1.5px; padding: 10px 6px; }
	.quicklinks a + a { border-left: 0; }
	.quicklinks a:nth-child(even) { border-left: 1px solid rgba(122, 72, 98, .3); }
	.quicklinks a:nth-child(n+3) { border-top: 1px solid rgba(122, 72, 98, .3); }

	.offer, .founder-grid { grid-template-columns: 1fr; }
	.offer { padding: 38px 0; }
	.offer-photo { order: -1; }
	.offer h3 { font-size: 21px; }
	.founder-photo { order: -1; }
	.founder-text { text-align: center; }

	.btn { padding: 18px 22px; letter-spacing: 2px; }
	.site-footer { padding-top: 20px; }
	.site-footer .wrap { padding-top: 40px; }
	.site-footer .menu { gap: 2px 20px; }
}

/* ==========================================================================
   Content pieces for inner pages (first used on RISE)
   ========================================================================== */
:root { --teal-ink: #237a79; }   /* teal for text: the button teal is too light to read on mist/white */

.subhead { color: var(--teal-ink); font-size: 24px; font-weight: 600; line-height: 1.3; margin: 0 0 .5em; }
.subhead--mauve { color: var(--plum); }
.big-lead { font-size: 22px; font-weight: 600; line-height: 1.5; margin-bottom: .6em; }
.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
.stack > * + * { margin-top: 56px; }

.panel { background: #fff; padding: 44px 48px; }
.panel--mist { background: var(--mist); }
.panel--outline { border: 1px solid var(--teal); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 52px; align-items: center; }
.split--flip > .split-photo { order: -1; }
.split-photo { margin: 0; }
.split-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.wide-photo { margin: 0; }
.wide-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* ticket call-to-action box (RISE) */
.ticket { background: #fff; border: 1px solid var(--teal); max-width: 580px; margin: 40px auto 0; padding: 22px 28px 28px; text-align: center; }
.ticket-theme { color: var(--teal-ink); font-size: 23px; font-weight: 600; margin: 0 0 .2em; }
.ticket p { font-weight: 600; font-size: 16px; line-height: 1.6; }
.ticket .btn { margin-top: .2em; }
.btn--pill { border-radius: 999px; padding: 13px 30px; }

.video { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.link-row a { color: var(--teal-ink); font-weight: 500; }
.link-row a:hover { color: var(--ink); }
.sep { color: rgba(0, 0, 0, .35); padding: 0 .4em; }

/* RISE hero */
.rise-logo { width: 150px; margin: 0 auto 18px; }
.rise-welcome { font-size: 24px; font-weight: 600; line-height: 1.4; margin: 0 0 28px; }
.rise-hero-media { position: relative; }
.rise-hero-media img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; object-position: 50% 25%; }
.rise-date-card {
	position: relative;
	max-width: 900px;
	margin: -90px auto 0;
	background: rgba(255, 255, 255, .92);
	padding: 22px 30px 24px;
}
.rise-edition { color: var(--mauve); font-size: 28px; font-weight: 600; margin: 0 0 .15em; }
.rise-date-card p { margin-bottom: .3em; }
.rise-date-card .tagline { font-style: italic; margin: .4em 0 0; }

/* MAGIC / MUSCLE / HUSTLE list */
.pillars { list-style: none; margin: 1.2em 0; padding: 0; }
.pillars li + li { margin-top: 1.1em; }
.pillars strong { display: block; color: var(--plum); letter-spacing: .5px; }

/* agenda */
.agenda { list-style: none; margin: 30px 0 0; padding: 0; text-align: left; border-top: 1px solid rgba(113, 205, 204, .8); }
.agenda li { display: grid; grid-template-columns: 190px 1fr; gap: 6px 28px; padding: 16px 0; border-bottom: 1px solid rgba(113, 205, 204, .8); }
.agenda-time { font-weight: 600; color: var(--teal-ink); white-space: nowrap; }
.agenda h3 { font-size: 18px; margin: 0 0 .2em; }
.agenda p { margin: 0; font-size: 16px; line-height: 1.65; }
.agenda .keynote h3 { color: var(--plum); }

/* partner tiers */
.tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 36px 0 26px; }
.tier { background: #dff3f2; border: 1px solid rgba(122, 72, 98, .45); padding: 20px 18px 24px; text-align: center; }
.tier--wide { grid-column: 1 / -1; }
.tier-status { color: var(--teal-ink); font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; margin: 0; }
.tier h3 { font-size: 18px; margin: .2em 0 .7em; }

/* sponsors */
.sponsor-group + .sponsor-group { margin-top: 30px; }
.sponsor-group h3 { font-size: 18px; margin-bottom: 12px; }
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.logos a, .logos > img { display: block; background: #fff; }
.logos img { width: 160px; height: auto; }
.logos--lg img { width: 260px; }
.logos a:hover { outline: 2px solid var(--teal); }
.person-card { width: 220px; margin: 0 auto; }
.person-card--speaker { width: 280px; margin: 26px auto; }

@media (max-width: 860px) {
	.panel { padding: 30px 20px; }
	.split { grid-template-columns: 1fr; }
	.split .split-photo { order: -1; }
	.subhead { font-size: 21px; }
	.big-lead { font-size: 19px; }
	.rise-welcome { font-size: 19px; }
	.rise-hero-media img { aspect-ratio: 4 / 3; }
	.rise-date-card { margin: -40px 10px 0; padding: 18px 16px 20px; }
	.rise-edition { font-size: 23px; }
	.ticket { padding: 20px 16px 24px; }
	.ticket-theme { font-size: 20px; }
	.agenda li { grid-template-columns: 1fr; gap: 2px; }
	.tiers { grid-template-columns: 1fr; }
	.logos img { width: 136px; }
	.logos--lg img { width: 220px; }
	.stack > * + * { margin-top: 40px; }
}

.h-plain { font-size: 18px; font-weight: 600; line-height: 1.4; margin: 1.3em 0 .25em; }
.h-plain:first-child { margin-top: 0; }
.person-card { display: block; }
.rise-hero { padding-top: 56px; }

/* ==========================================================================
   Inner pages (About, Consulting, Events, Contact, policies, thank-you pages)
   ========================================================================== */
.page-top { padding-top: 72px; }
.h-sec { font-size: 24px; font-weight: 600; line-height: 1.3; margin: 0 0 .55em; }
.split-text { text-align: center; }
.split--top { align-items: start; }
.split-photo--square img { aspect-ratio: 1; }
.split-photo--tall img { aspect-ratio: 4 / 5; }
.split-photo--wide img { aspect-ratio: 16 / 9; }
.btn-row { margin: 1.4em 0 0; }
.small { font-size: 15px; }
.note { font-size: 15px; font-style: italic; }

/* lists with the small chevron bullets the Thrive pages used */
.chev { list-style: none; margin: 0 0 1.2em; padding: 0; text-align: left; }
.chev li { position: relative; padding-left: 24px; }
.chev li + li { margin-top: .5em; }
.chev li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: .66em;
	width: 7px;
	height: 7px;
	border-top: 1.6px solid var(--plum);
	border-right: 1.6px solid var(--plum);
	transform: rotate(45deg);
}
.chev--narrow { max-width: 660px; margin-left: auto; margin-right: auto; }
.chev strong { font-weight: 600; }
.chev--terms li strong:first-child { display: block; }

/* testimonials */
.quote { margin: 0 auto; max-width: 820px; background: var(--blush); border-radius: 40px; padding: 32px 46px 26px; text-align: center; }
.quote--white { background: #fff; }
.quote::before {
	content: "";
	display: block;
	width: 34px;
	height: 28px;
	margin: 0 auto 12px;
	background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 96 448 320'%3E%3Cpath fill='%23ae7f92' d='M0 216C0 149.7 53.7 96 120 96h8c17.7 0 32 14.3 32 32s-14.3 32-32 32h-8c-30.9 0-56 25.1-56 56v8h64c35.3 0 64 28.7 64 64v64c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V216zm256 0c0-66.3 53.7-120 120-120h8c17.7 0 32 14.3 32 32s-14.3 32-32 32h-8c-30.9 0-56 25.1-56 56v8h64c35.3 0 64 28.7 64 64v64c0 35.3-28.7 64-64 64H320c-35.3 0-64-28.7-64-64V216z'/%3E%3C/svg%3E");
}
.quote blockquote { margin: 0; font-style: italic; font-size: 16px; line-height: 1.75; }
.quote figcaption { font-family: var(--script); font-weight: 600; color: var(--mauve); font-size: 30px; line-height: 1.3; margin-top: .3em; }
.quote .btn { margin-top: 16px; }
.quotes > * + * { margin-top: 36px; }

/* photo band with a soft card over it */
.feature { position: relative; padding: 80px 56px; overflow: hidden; }
.feature-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-card { position: relative; max-width: 560px; background: rgba(255, 255, 255, .86); padding: 40px 44px 44px; text-align: center; }
.feature--center .feature-card { max-width: 840px; margin: 0 auto; }
.feature--right .feature-card { margin-left: auto; }

/* program / event cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 30px; margin-top: 40px; }
.card { background: #fff; display: flex; flex-direction: column; text-align: center; }
.card-photo { margin: 0; }
.card-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { flex: 1; display: flex; flex-direction: column; padding: 28px 28px 32px; }
.card-body .btn { margin-top: auto; align-self: center; }
.card-body p:last-of-type { margin-bottom: 1.4em; }
.card-title { color: var(--plum); font-size: 21px; font-weight: 600; letter-spacing: .3px; margin: 0 0 .4em; }
.card-kicker { color: var(--teal-ink); font-size: 15px; font-weight: 600; margin: -.2em 0 .7em; }

/* numbered "when to bring us in" scenarios */
.scenarios { list-style: none; counter-reset: sc; margin: 34px 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; text-align: left; }
.scenarios > li { counter-increment: sc; background: #fff; padding: 24px 26px 22px; }
.scenarios h3 { font-size: 18px; margin: 0 0 .5em; }
.scenarios h3::before { content: counter(sc) ". "; color: var(--teal-ink); }
.scenarios p { font-size: 16px; line-height: 1.65; margin: 0 0 .5em; }
.scenarios p strong { color: var(--plum); }

/* monthly topics on the series pages */
.topics { list-style: none; margin: 26px 0 0; padding: 0; text-align: left; border-top: 1px solid rgba(113, 205, 204, .8); }
.topics li { display: grid; grid-template-columns: 140px 1fr; gap: 4px 24px; padding: 16px 0; border-bottom: 1px solid rgba(113, 205, 204, .8); }
.topics .topic-date { font-weight: 600; color: var(--teal-ink); }
.topics p { margin: 0; font-size: 16px; line-height: 1.65; }
.topics .topic-title { font-weight: 600; font-style: italic; }

.status-badge { display: inline-block; background: var(--plum); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; padding: 5px 14px; margin-bottom: 12px; }

/* photo gallery (Patagonia) */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 40px; }
.gallery a { display: block; overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.04); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(0, 0, 0, .88); }
.lightbox img { position: absolute; inset: 0; margin: auto; max-width: calc(100vw - 140px); max-height: calc(100vh - 80px); width: auto; height: auto; }
.lightbox button { position: absolute; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; font-size: 30px; line-height: 1; }
.lightbox button:hover { background: rgba(255, 255, 255, .3); }
.lb-prev { left: 16px; top: 50%; margin-top: -26px; }
.lb-next { right: 16px; top: 50%; margin-top: -26px; }
.lb-close { right: 16px; top: 16px; }
.lb-prev::before { content: "\2039"; }
.lb-next::before { content: "\203A"; }
.lb-close::before { content: "\00D7"; }

/* forms: Ninja Forms (contact, consulting) and the sign-up forms */
.form-card { background: #fff; padding: 40px 44px 36px; max-width: 760px; margin: 34px auto 0; text-align: left; }
.nf-form-cont .nf-form-fields-required { font-size: 14px; color: #555; margin-bottom: 16px; }
.nf-form-cont .nf-field-container { margin-bottom: 18px; }
.nf-form-cont .nf-field-label label, .nf-form-cont .nf-field-label .nf-label-span { font-size: 15px; font-weight: 600; }
.nf-form-cont .ninja-forms-req-symbol, .nf-form-cont .nf-error-msg { color: #b0002a; }
.nf-form-cont input[type=text], .nf-form-cont input[type=email], .nf-form-cont input[type=tel], .nf-form-cont input[type=url],
.nf-form-cont input[type=number], .nf-form-cont textarea, .nf-form-cont select,
.signup input[type=text], .signup input[type=email] {
	width: 100%;
	font: inherit;
	font-size: 16px;
	line-height: 1.4;
	color: var(--ink);
	padding: 12px 14px;
	border: 1px solid rgba(0, 0, 0, .25);
	border-radius: 0;
	background: #fff;
}
.nf-form-cont textarea { min-height: 140px; }
.nf-form-cont input:focus, .nf-form-cont textarea:focus, .nf-form-cont select:focus, .signup input:focus { outline: 2px solid var(--teal); outline-offset: 0; border-color: var(--teal-ink); }
.nf-form-cont .list-checkbox-wrap ul, .nf-form-cont .list-radio-wrap ul { list-style: none; margin: 0; padding: 0; }
.nf-form-cont .list-checkbox-wrap li, .nf-form-cont .list-radio-wrap li { display: flex; align-items: center; gap: 8px; margin: 4px 0; }
.nf-form-cont .list-checkbox-wrap li label, .nf-form-cont .list-radio-wrap li label { margin: 0; font-weight: 400; font-size: 16px; }
.nf-form-cont input[type=button], .nf-form-cont input[type=submit], .signup button {
	display: inline-block;
	background: var(--teal);
	color: var(--ink);
	border: 0;
	border-radius: 0;
	cursor: pointer;
	font-family: var(--button);
	font-weight: 800;
	font-size: 14px;
	letter-spacing: 3px;
	text-transform: uppercase;
	padding: 18px 34px;
	transition: background-color .2s;
}
.nf-form-cont input[type=button]:hover, .nf-form-cont input[type=submit]:hover, .signup button:hover { background: var(--teal-dark); }
.nf-form-cont .nf-response-msg { font-weight: 600; color: var(--teal-ink); }

.signup { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 680px; margin: 22px auto 0; }
.signup input[type=text], .signup input[type=email] { flex: 1 1 210px; width: auto; }
.signup button[disabled] { opacity: .6; cursor: wait; }
.signup-msg { flex-basis: 100%; margin: 6px 0 0; font-weight: 600; color: var(--teal-ink); text-align: center; }
.signup.is-done > :not(.signup-msg) { display: none; }
.signup--stack { display: block; max-width: 640px; text-align: left; }
.signup--stack fieldset { border: 0; margin: 0 0 18px; padding: 0; }
.signup--stack legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.signup--stack input[type=text], .signup--stack input[type=email] { width: 100%; margin-bottom: 10px; }
.signup--stack .signup-actions { text-align: center; }
.signup details { margin: 0 0 22px; }
.signup summary { cursor: pointer; font-weight: 600; color: var(--teal-ink); margin-bottom: 14px; }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* policies */
.prose { background: #fff; padding: 52px 60px 44px; max-width: 920px; margin: 0 auto; text-align: left; }
.prose h2 { font-size: 22px; margin: 1.6em 0 .5em; }
.prose h3 { font-size: 19px; margin: 1.4em 0 .4em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 16px; line-height: 1.75; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1em; }
.prose li + li { margin-top: .35em; }
.prose a { word-break: break-word; }

/* thank-you pages */
.thanks { max-width: 760px; margin: 0 auto; background: #fff; padding: 46px 48px 40px; text-align: center; }
.event-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 26px 0; }
.event-facts div { background: var(--mist); padding: 16px 10px; }
.event-facts dt { color: var(--teal-ink); font-size: 14px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; }
.event-facts dd { margin: 0; font-weight: 600; line-height: 1.5; }

@media (max-width: 860px) {
	.page-top { padding-top: 56px; }
	.h-sec { font-size: 21px; }
	.quote { border-radius: 26px; padding: 26px 20px 20px; }
	.quote figcaption { font-size: 26px; }
	.feature { padding: 0; }
	.feature-bg { position: static; height: auto; aspect-ratio: 4 / 3; }
	.feature-card, .feature--center .feature-card, .feature--right .feature-card { margin: -56px 10px 0; padding: 28px 18px 30px; background: rgba(255, 255, 255, .96); max-width: none; }
	.feature--texture { padding: 22px 10px; }
	.feature--texture .feature-bg { position: absolute; height: 100%; aspect-ratio: auto; }
	.feature--texture .feature-card { margin: 0; }
	.scenarios { grid-template-columns: 1fr; }
	.scenarios > li { padding: 20px 18px; }
	.topics li { grid-template-columns: 1fr; gap: 2px; }
	.gallery { grid-template-columns: 1fr 1fr; gap: 6px; }
	.lightbox img { max-width: 100vw; max-height: calc(100vh - 150px); }
	.lb-prev, .lb-next { top: auto; bottom: 20px; margin-top: 0; }
	.form-card { padding: 28px 18px 24px; }
	.prose { padding: 32px 18px 26px; }
	.thanks { padding: 32px 18px 28px; }
	.event-facts { grid-template-columns: 1fr; gap: 8px; }
}

.gap-top { margin-top: 64px; }
@media (max-width: 860px) { .gap-top { margin-top: 44px; } }
.h1-stack > span { display: block; }
.h1-stack .h-sec { margin-top: -.1em; }
.thanks-img { width: min(100%, 360px); margin: 26px auto; }
.feature > .quote { position: relative; background: rgba(255, 255, 255, .9); }
@media (max-width: 860px) { .feature > .quote { margin: -56px 10px 0; background: #fff; } }

/* Ninja Forms' own "light" styles win on specificity, so the form card restates the look here */
.form-card .nf-form-content { padding: 0; max-width: none; }
.form-card .nf-form-content label,
.form-card .nf-form-content .nf-label-span { font-size: 15px; line-height: 1.4; font-weight: 600; color: var(--ink); }
.form-card .nf-form-content input:not([type=button]):not([type=submit]):not([type=checkbox]):not([type=radio]),
.form-card .nf-form-content textarea,
.form-card .nf-form-content select {
	background: #fff;
	border: 1px solid rgba(0, 0, 0, .28);
	color: var(--ink);
	font: inherit;
	font-size: 16px;
	padding: 12px 14px;
	height: auto;
}
.form-card .nf-form-content input:not([type=button]):not([type=submit]):focus,
.form-card .nf-form-content textarea:focus { background: #fff; border-color: var(--teal-ink); color: var(--ink); }
.form-card .nf-form-content textarea { height: 150px; }
.form-card .nf-form-content .list-checkbox-wrap .nf-field-element li label,
.form-card .nf-form-content .list-radio-wrap .nf-field-element li label { font-weight: 400; font-size: 16px; }
.form-card .nf-form-content button,
.form-card .nf-form-content input[type=button],
.form-card .nf-form-content input[type=submit] {
	background: var(--teal);
	color: var(--ink);
	height: auto;
	font-family: var(--button);
	font-weight: 800;
	font-size: 14px;
	letter-spacing: 3px;
	text-transform: uppercase;
	padding: 18px 34px;
}
.form-card .nf-form-content button:hover,
.form-card .nf-form-content input[type=button]:hover,
.form-card .nf-form-content input[type=submit]:hover { background: var(--teal-dark); color: var(--ink); }
@media (max-width: 860px) { .feature-card .form-card { padding: 20px 12px 18px; } }
.gap-top-sm { margin-top: 18px; }
.video--short { aspect-ratio: 9 / 16; max-width: 320px; margin: 22px auto; }
.feature--bottom { display: flex; align-items: flex-end; min-height: 600px; padding-bottom: 28px; }
.feature--bottom .feature-bg { object-position: 50% 20%; }
@media (max-width: 860px) { .feature--bottom { display: block; min-height: 0; padding-bottom: 0; } }
.series-logo { display: block; width: 300px; margin: 10px auto 0; }
.sponsor-logo { width: min(100%, 440px); margin: 6px auto 0; }
.split--wide-text { grid-template-columns: 3fr 2fr; }
@media (max-width: 860px) { .split--wide-text { grid-template-columns: 1fr; } }

/* past RISE pages */
.archive-logo { width: min(100%, 420px); margin: 0 auto 18px; }
.archive-note { margin-top: 28px; }
.archive-note p:last-child { margin-bottom: 0; }
.pride-flag { width: 120px; margin: 6px auto 0; }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin-top: 30px; }
.people img { width: 100%; }
.speakers { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 34px 26px; margin-top: 34px; text-align: center; }
.speaker img { width: 170px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; margin: 0 auto 14px; border: 4px solid #fff; }
.speaker h3 { font-size: 18px; margin: 0 0 .2em; }
.speaker p { font-size: 15px; line-height: 1.55; margin: 0 0 .4em; }
.speaker .speaker-role { color: var(--teal-ink); font-size: 13px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: .3em; }
.speaker .speaker-topic { font-style: italic; color: var(--plum); }
@media (max-width: 860px) {
	.people { grid-template-columns: 1fr 1fr; gap: 8px; }
	.speakers { grid-template-columns: 1fr 1fr; gap: 26px 14px; }
	.speaker img { width: 130px; }
}

/* ==========================================================================
   Blog
   ========================================================================== */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 18px 0 0; }
.filters a { padding: 7px 16px; border: 1px solid var(--teal); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; background: #fff; }
.filters a:hover, .filters a[aria-current] { background: var(--teal); }
.post-grid { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); text-align: center; }
.post-card .card-photo img { aspect-ratio: 16 / 9; }
.post-card .card-title { font-size: 19px; }
.post-card .card-title a { color: inherit; text-decoration: none; }
.post-card .card-title a:hover { color: var(--plum); }
.post-card .btn--pill { padding: 12px 26px; }
.pagination, .nav-links { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.nav-links .page-numbers { padding: 8px 14px; background: #fff; color: var(--ink); text-decoration: none; }
.nav-links .page-numbers.current { background: var(--teal); }
.post-title { font-size: clamp(26px, 5vw, 36px); line-height: 1.25; margin: .2em 0 .2em; }
.post-date { color: #555; }
.card-kicker a { color: inherit; text-decoration: none; }
.post-hero { margin: 26px 0 30px; }
.post-hero img { width: 100%; height: auto; }
.post-body { text-align: center; }
.post-body .post-figure { margin: 20px auto; max-width: 520px; }
.post-body .video { margin: 20px 0; }
.post-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(113, 205, 204, .8); font-size: 15px; text-align: left; }
.post-nav span:last-child { text-align: right; }
.post-nav a { color: var(--teal-ink); text-decoration: none; font-weight: 500; }
.post-nav a:hover { color: var(--ink); }

/* ==========================================================================
   Shop (WooCommerce)
   ========================================================================== */
.header-cart { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: 4px; color: var(--plum); text-decoration: none; font-size: 13px; font-weight: 600; padding: 8px; }
.header-cart svg { width: 24px; height: 22px; fill: currentColor; }
.header-cart-count { min-width: 20px; height: 20px; border-radius: 999px; background: #fff; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; }
.header-cart:hover { color: var(--ink); }

.page-content { background: #fff; padding: 40px 44px 44px; margin-top: 26px; }
.shop-content { margin-top: 20px; }
.shop-page .woocommerce-breadcrumb { font-size: 14px; color: #555; margin: 0 0 22px; }
.shop-page .woocommerce-breadcrumb a { color: var(--teal-ink); }

.woocommerce div.product { background: #fff; padding: 40px 44px; }
.woocommerce div.product .product_title { font-size: clamp(26px, 4vw, 34px); line-height: 1.25; margin-bottom: .3em; }
.woocommerce div.product p.price, .woocommerce div.product span.price,
.woocommerce ul.products li.product .price { color: var(--plum); font-weight: 600; }
.woocommerce div.product p.price { font-size: 26px; margin-bottom: .6em; }
.woocommerce div.product .woocommerce-product-details__short-description { font-size: 17px; }
.woocommerce div.product .stock { color: var(--teal-ink); font-weight: 600; }
.woocommerce div.product .out-of-stock { color: var(--plum); }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; margin: 18px 0 0; }
.woocommerce div.product form.cart div.quantity { float: none; margin: 0; }
.woocommerce .quantity .qty { width: 5em; height: 100%; min-height: 52px; font: inherit; font-size: 17px; border: 1px solid rgba(0, 0, 0, .28); }
.woocommerce div.product div.images img { border: 1px solid rgba(0, 0, 0, .06); }
.woocommerce div.product .woocommerce-tabs { clear: both; padding-top: 40px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 20px; border-bottom: 1px solid rgba(113, 205, 204, .8); }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: none; border: 0; border-radius: 0; margin: 0; padding: 0 18px 0 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { color: #555; font-weight: 600; padding: 10px 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--plum); box-shadow: inset 0 -3px 0 var(--blush); }
.woocommerce div.product .woocommerce-tabs .panel { background: none; padding: 0; }
.woocommerce div.product .woocommerce-tabs .panel h2:first-child { display: none; }
.woocommerce .related > h2, .woocommerce .upsells > h2 { font-family: var(--script); font-weight: 600; color: var(--mauve); font-size: 34px; text-align: center; }
.woocommerce ul.products li.product { text-align: center; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 17px; font-weight: 600; color: var(--ink); }
.woocommerce ul.products li.product a img { border: 1px solid rgba(0, 0, 0, .06); }
.woocommerce .woocommerce-result-count { font-size: 15px; color: #555; }
.woocommerce .woocommerce-ordering select { font: inherit; font-size: 15px; padding: 8px 10px; border: 1px solid rgba(0, 0, 0, .25); }

/* buttons */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,
.woocommerce div.product form.cart .button,
body .wc-block-components-button:not(.is-link), body .wc-block-cart__submit-button, body .wc-block-components-checkout-place-order-button {
	background: var(--teal);
	color: var(--ink);
	border: 0;
	border-radius: 0;
	font-family: var(--button);
	font-weight: 800;
	font-size: 14px;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	padding: 18px 30px;
	line-height: 1.2;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover,
body .wc-block-components-button:not(.is-link):hover { background: var(--teal-dark); color: var(--ink); }
.woocommerce a.button.disabled, .woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled] { background: #cfd8d8; color: #333; }

/* notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews { border-top-color: var(--teal); background: #fff; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--teal-ink); }
.woocommerce-error { border-top-color: #b0002a; }
.woocommerce-error::before { color: #b0002a; }

/* cart and checkout blocks */
body .wc-block-components-text-input input, body .wc-block-components-text-input textarea,
body .wc-blocks-components-select .wc-blocks-components-select__select, body .wc-block-components-combobox .wc-block-components-combobox-control input { border-radius: 0; font-family: var(--sans); }
body .wc-block-components-title.wc-block-components-title { font-family: var(--sans); font-weight: 600; }
body .wc-block-components-product-name { color: var(--ink); font-weight: 600; text-decoration: none; }
body .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
body .wc-block-components-product-price { color: var(--plum); font-weight: 600; }
body .wc-block-cart .wc-block-cart__submit-container { margin-top: 10px; }

/* My Account */
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid rgba(0, 0, 0, .28); border-radius: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: block; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { color: var(--plum); font-weight: 600; }

@media (max-width: 860px) {
	.header-cart { right: auto; left: var(--gutter); }
	.header-cart span.header-cart-count { min-width: 18px; height: 18px; font-size: 12px; }
	.page-content { padding: 26px 14px 30px; }
	.woocommerce div.product { padding: 24px 14px; }
	.post-nav { flex-direction: column; }
	.post-nav span:last-child { text-align: left; }
}
.header-cart.is-empty .header-cart-count { display: none; }

/* RISE keynote speaker cards */
.keynotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; max-width: 980px; margin: 30px auto 34px; }
.keynote-card { display: block; background: var(--mist); padding: 22px 18px 26px; color: var(--ink); text-decoration: none; }
a.keynote-card:hover, a.keynote-card:focus-visible { outline: 2px solid var(--teal); color: var(--ink); }
.keynote-card .keynote-label { color: var(--teal-ink); font-size: 14px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; margin: 0 0 14px; }
.keynote-card img { width: 190px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 7px solid var(--blush); margin: 0 auto 16px; }
.keynote-card h3 { color: var(--teal-ink); font-size: 17px; letter-spacing: .5px; line-height: 1.35; text-transform: uppercase; margin: 0 0 .35em; }
.keynote-card p { font-size: 15px; line-height: 1.5; margin: 0; }
.keynote-card .keynote-talk { font-style: italic; color: var(--plum); margin-top: .6em; }
