/**
 * JEL Base — shared design system for Jill Edinger Law custom page templates.
 *
 * Scoped under the root class `.jel`, which every JEL template applies to its
 * wrapper alongside a page-specific class:
 *
 *   <div class="jel jel-home">        (jel-home-lander.php)
 *   <div class="jel jel-about-page">  (jel-about-jill.php)
 *
 * Page-specific rules stay inline in their own template, scoped to the
 * page class. Those inline <style> blocks render in <body> and therefore
 * override this stylesheet at equal specificity — that is the intended
 * cascade order.
 *
 * Extracted from jel-home-lander.php on 2026-07-20.
 */

/* ================= TOKENS ================= */
.jel {
	--jel-gold: #99881b;
	--jel-gold-dark: #7d6f16;
	--jel-ink: #2b2b28;
	--jel-body: #3d3d3d;
	--jel-muted: #807d72;
	--jel-paper: #faf9f6;
	--jel-line: #e4e0d3;
	--jel-serif: 'Old Standard TT', Georgia, serif;
	--jel-sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-family: var(--jel-serif);
	color: var(--jel-body);
	background: var(--jel-paper);
	overflow-x: hidden;
}
.jel *, .jel *::before, .jel *::after { box-sizing: border-box; }

/* ================= LAYOUT ================= */
.jel .jel-wrap {
	width: min(1400px, calc(100% - 40px));
	margin-inline: auto;
}

/* ================= EYEBROW ================= */
.jel .jel-eyebrow {
	font-family: var(--jel-sans);
	font-size: 12px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--jel-gold);
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 22px;
}
.jel .jel-eyebrow::before {
	content: "";
	display: block;
	width: 36px;
	height: 1px;
	background: var(--jel-gold);
}

/* ================= HEADINGS ================= */
.jel h1, .jel h2, .jel h3 {
	font-family: var(--jel-serif);
	font-weight: 400;
	color: var(--jel-ink);
	margin: 0;
	line-height: 1.12;
}

/* ================= BUTTONS ================= */
.jel .jel-btn {
	display: inline-block;
	font-family: var(--jel-sans);
	font-size: 13px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	text-decoration: none;
	padding: 18px 38px;
	background: var(--jel-gold);
	color: #fff;
	border: 1px solid var(--jel-gold);
	transition: background .25s ease, color .25s ease, transform .25s ease;
}
.jel .jel-btn:hover { background: var(--jel-gold-dark); border-color: var(--jel-gold-dark); color: #fff; transform: translateY(-2px); }
.jel .jel-btn--light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.jel .jel-btn--light:hover { background: #fff; color: var(--jel-ink); }
.jel .jel-btn--ghost { background: transparent; color: var(--jel-ink); border-color: var(--jel-gold); }
.jel .jel-btn--ghost:hover { background: var(--jel-gold); color: #fff; }

/* ================= REVEAL ANIMATION ================= */
.jel .jel-reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.jel .jel-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.jel .jel-reveal { opacity: 1; transform: none; transition: none; }
}

/* ================= TRUST BAR ================= */
.jel .jel-trust { margin-top: clamp(48px, 8vh, 84px); border-top: 1px solid var(--jel-line); border-bottom: 1px solid var(--jel-line); background: #fff; }
.jel .jel-trust-row {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
}
.jel .jel-trust-item {
	padding: 26px 22px;
	text-align: center;
	border-left: 1px solid var(--jel-line);
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 7px;
}
.jel .jel-trust-item:first-child { border-left: 0; }
.jel .jel-trust-item strong {
	display: block;
	font-family: var(--jel-serif);
	font-weight: 400;
	font-size: 20px;
	color: var(--jel-ink);
}
.jel .jel-trust-item span {
	font-family: var(--jel-sans);
	font-size: 10.5px;
	letter-spacing: .14em;
	line-height: 1.6;
	text-transform: uppercase;
	color: var(--jel-muted);
	text-wrap: balance;
}

/* ================= QUOTES / TESTIMONIALS ================= */
.jel .jel-quotes { padding: clamp(64px, 10vh, 110px) 0; }
.jel .jel-quotes-head { text-align: center; margin-bottom: clamp(36px, 5vh, 56px); }
.jel .jel-quotes-head .jel-eyebrow { justify-content: center; }
.jel .jel-quotes-head .jel-eyebrow::after {
	content: "";
	display: block;
	width: 36px;
	height: 1px;
	background: var(--jel-gold);
}
.jel .jel-quotes-head h2 { font-size: clamp(30px, 3.4vw, 44px); }
.jel .jel-quote-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
	align-items: start;
}
.jel .jel-quote {
	margin: 0;
	padding: 8px clamp(28px, 3vw, 48px);
}
.jel .jel-quote + .jel-quote { border-left: 1px solid var(--jel-line); }
.jel .jel-quote .jel-quote-mark {
	display: block;
	font-family: var(--jel-serif);
	font-size: 64px;
	line-height: .6;
	color: var(--jel-gold);
	opacity: .55;
	margin-bottom: 18px;
}
.jel .jel-quote blockquote {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	font-size: 16.5px;
	line-height: 1.75;
	font-style: italic;
	color: var(--jel-body);
}
.jel .jel-quote cite {
	display: block;
	margin-top: 24px;
	padding-top: 18px;
	position: relative;
	font-family: var(--jel-sans);
	font-style: normal;
	font-size: 11.5px;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--jel-muted);
}
.jel .jel-quote cite::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 28px;
	height: 1px;
	background: var(--jel-gold);
}

/* ================= CONTACT ================= */
.jel .jel-contact { background: var(--jel-ink); padding: clamp(64px, 10vh, 110px) 0; }
.jel .jel-contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: clamp(36px, 5vw, 88px);
}
.jel .jel-contact h2 { color: #fff; font-size: clamp(30px, 3.4vw, 46px); }
.jel .jel-contact .jel-eyebrow { color: var(--jel-gold); }
.jel .jel-contact-lede { color: rgba(255,255,255,.78); font-size: 17.5px; line-height: 1.75; margin: 22px 0 0; max-width: 46ch; }
.jel .jel-contact-list { list-style: none; margin: 40px 0 0; padding: 0; }
.jel .jel-contact-list li {
	padding: 18px 0;
	border-top: 1px solid rgba(255,255,255,.14);
	display: flex;
	gap: 18px;
	align-items: baseline;
}
.jel .jel-contact-list li:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
.jel .jel-contact-list .jel-label {
	font-family: var(--jel-sans);
	font-size: 10.5px;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--jel-gold);
	min-width: 76px;
}
.jel .jel-contact-list a, .jel .jel-contact-list span.jel-val {
	color: #fff;
	text-decoration: none;
	font-size: 18px;
}
.jel .jel-contact-list a:hover { color: var(--jel-gold); }

/* --- Gravity Form restyle (scoped) --- */
.jel .jel-form-shell { background: #fff; padding: clamp(30px, 4vw, 48px); }
.jel .jel-form-shell .gform_title { display: none; }
.jel .jel-form-shell .gform_wrapper .gfield_label,
.jel .jel-form-shell .gform_wrapper .gform-field-label,
.jel .jel-form-shell .gform_wrapper legend.gfield_label {
	font-family: var(--jel-sans);
	font-size: 11px !important;
	font-weight: 400 !important;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--jel-muted);
	margin-bottom: 6px;
}
.jel .jel-form-shell .gform_wrapper input[type=text],
.jel .jel-form-shell .gform_wrapper input[type=email],
.jel .jel-form-shell .gform_wrapper input[type=tel],
.jel .jel-form-shell .gform_wrapper textarea {
	width: 100%;
	border: 0;
	border-bottom: 1px solid var(--jel-line);
	background: transparent;
	font-family: var(--jel-serif);
	font-size: 17px;
	color: var(--jel-ink);
	padding: 10px 2px 12px;
	border-radius: 0;
	transition: border-color .25s ease;
}
.jel .jel-form-shell .gform_wrapper input:focus,
.jel .jel-form-shell .gform_wrapper textarea:focus {
	outline: none;
	border-bottom-color: var(--jel-gold);
}
.jel .jel-form-shell .gform_wrapper textarea { min-height: 120px; }
.jel .jel-form-shell .gform_wrapper input::placeholder,
.jel .jel-form-shell .gform_wrapper textarea::placeholder { color: transparent; }
.jel .jel-form-shell .gform_footer { margin-top: 26px; padding: 0; }
.jel .jel-form-shell .gform_wrapper input[type=submit],
.jel .jel-form-shell .gform_wrapper button[type=submit] {
	font-family: var(--jel-sans);
	font-size: 13px;
	letter-spacing: .22em;
	text-transform: uppercase;
	background: var(--jel-gold);
	color: #fff;
	border: 1px solid var(--jel-gold);
	padding: 17px 42px;
	cursor: pointer;
	width: 100%;
	transition: background .25s ease;
}
.jel .jel-form-shell .gform_wrapper input[type=submit]:hover,
.jel .jel-form-shell .gform_wrapper button[type=submit]:hover { background: var(--jel-gold-dark); }
.jel .jel-form-note {
	font-family: var(--jel-sans);
	font-size: 12px;
	color: var(--jel-muted);
	margin-top: 16px;
	line-height: 1.6;
}

/* ================= RESPONSIVE (shared components only) ================= */
@media (max-width: 980px) {
	.jel .jel-contact-grid { grid-template-columns: 1fr; }
	.jel .jel-quote-grid { grid-template-columns: 1fr; }
	.jel .jel-quote { padding-left: 0; padding-right: 0; }
	.jel .jel-quote + .jel-quote { border-left: 0; border-top: 1px solid var(--jel-line); margin-top: 26px; padding-top: 34px; }
	.jel .jel-trust-row { grid-template-columns: 1fr 1fr; }
	.jel .jel-trust-item { border-left: 0; border-top: 1px solid var(--jel-line); }
	.jel .jel-trust-item:nth-child(-n+2) { border-top: 0; }
}
@media (max-width: 600px) {
	.jel .jel-trust-row { grid-template-columns: 1fr; }
	.jel .jel-trust-item { border-top: 1px solid var(--jel-line); }
	.jel .jel-trust-item:first-child { border-top: 0; }
	.jel .jel-btn { width: 100%; text-align: center; }
}

html { scroll-behavior: smooth; }
