/* ==========================================================================
   JLP — James Law Partnership · Editorial theme stylesheet
   Replicates the React/Vite design 1:1 with vanilla CSS.
   Palette:
     --navy   #0B1829   --ink-navy #1E3A5F   --gold #C8A97B   --antique #A6855A
     --ivory  #F7F3EE   --mist #EFF2F4       --slate-blue #5B8BA5
   Fonts: Montserrat (editorial / display), DM Sans (UI / body)
   ========================================================================== */

:root {
	--navy: #0B1829;
	--ink-navy: #1E3A5F;
	--gold: #C8A97B;
	--gold-2: #d4b98a;
	--antique: #A6855A;
	--ivory: #F7F3EE;
	--ivory-2: #FBF8F3;
	--mist: #EFF2F4;
	--slate: #5B8BA5;
	--line: #E8E3DD;

	--font-editorial: 'Montserrat', system-ui, sans-serif;
	--font-ui: 'DM Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--ivory);
	color: var(--navy);
	font-family: var(--font-ui);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--gold); color: var(--navy); }

.jlp-container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 768px) { .jlp-container { padding: 0 1.5rem; } }
.jlp-main { display: block; }

/* ============================ Typography helpers ========================== */
.jlp-h2 {
	font-family: var(--font-editorial);
	font-weight: 800;
	color: var(--navy);
	text-transform: uppercase;
	font-size: clamp(1.5rem, 3.5vw, 2.5rem);
	line-height: 1.1;
	margin: 0 0 1.25rem;
	letter-spacing: -.01em;
}
.jlp-h2--xl { font-size: clamp(1.5rem, 4.5vw, 3rem); }
.jlp-h2--white { color: #fff; }
.text-gold, .jlp-h2 .text-gold, .jlp-hero__title .text-gold { color: var(--gold); }
.text-blue, .jlp-h2 .text-blue { color: var(--slate); }

.jlp-eyebrow {
	font-family: var(--font-ui);
	font-size: 10px;
	letter-spacing: .3em;
	text-transform: uppercase;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1rem;
}
.jlp-eyebrow--gold    { color: var(--gold); }
.jlp-eyebrow--blue    { color: var(--slate); }
.jlp-eyebrow--antique { color: var(--antique); }
.jlp-eyebrow .jlp-rule { width: 32px; height: 1px; background: currentColor; display: inline-block; }

.jlp-rule { display: inline-block; width: 40px; height: 1px; background: var(--gold); }
.jlp-rule--blue { background: var(--slate); height: 2px; width: 48px; }
.jlp-rule--gold { background: var(--gold); }

.jlp-prose p { margin: 0 0 1rem; color: rgba(30, 58, 95, .75); font-size: 15px; line-height: 1.7; }
.jlp-prose strong { color: var(--navy); }

.jlp-section { padding: 4rem 0; }
.jlp-section--ivory { background: var(--ivory); }

/* ============================== Buttons =================================== */
.jlp-btn {
	display: inline-flex; align-items: center; justify-content: center;
	font-family: var(--font-ui);
	font-size: 11px; letter-spacing: .18em; font-weight: 600;
	padding: 16px 32px; text-transform: uppercase;
	transition: background .25s ease, color .25s ease, border-color .25s ease;
	border: 0; cursor: pointer;
}
.jlp-btn .jlp-arrow { margin-left: .5rem; transition: transform .2s ease; }
.jlp-btn:hover .jlp-arrow { transform: translateX(4px); }
.jlp-btn--gold  { background: var(--gold); color: var(--navy); }
.jlp-btn--gold:hover { background: var(--gold-2); }
.jlp-btn--ghost-light { color: #fff; border: 1px solid rgba(255,255,255,.3); }
.jlp-btn--ghost-light:hover { background: rgba(255,255,255,.1); }
.jlp-btn--navy { background: var(--navy); color: #fff; }
.jlp-btn--navy:hover { background: var(--ink-navy); }
.jlp-btn--block { width: 100%; }

/* ============================== Chips ===================================== */
.jlp-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.jlp-chip {
	display: inline-flex; align-items: center;
	font-family: var(--font-editorial);
	font-size: 10px; padding: 6px 12px; letter-spacing: .04em;
}
.jlp-chip--specialty { background: var(--gold); color: var(--navy); font-weight: 700; letter-spacing: .2em; padding: 4px 10px; text-transform: uppercase; }
.jlp-chip--outline   { border: 1px solid rgba(200,169,123,.5); color: var(--navy); background: var(--ivory-2); }
.jlp-chip--soft      { background: var(--ivory); color: rgba(30,58,95,.7); }
.jlp-chip--ghost     { border: 1px solid rgba(30,58,95,.15); color: rgba(30,58,95,.6); padding: 4px 10px; font-size: 10px; }
.jlp-chip--solid     { background: var(--navy); color: #fff; padding: 8px 16px; font-size: 12px; font-family: var(--font-ui); }

/* ============================== Navbar ==================================== */
.jlp-nav {
	position: fixed; top: 0; left: 0; right: 0; z-index: 50;
	transition: background .35s ease, padding .35s ease, box-shadow .35s ease;
	background: transparent; padding: 14px 0;
}
.jlp-nav.is-scrolled {
	background: rgba(255,255,255,.95);
	backdrop-filter: blur(10px);
	box-shadow: 0 2px 10px rgba(0,0,0,.05);
	padding: 8px 0;
}
.jlp-nav__inner {
	max-width: 1280px; margin: 0 auto; padding: 0 1rem;
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.jlp-nav__logo img { height: 44px; transition: height .3s ease; }
.jlp-nav.is-scrolled .jlp-nav__logo img { height: 36px; }
.jlp-nav__links { display: none; align-items: center; gap: 2.25rem; }
@media (min-width: 1024px) { .jlp-nav__links { display: flex; } }
.jlp-nav__link {
	font-family: var(--font-ui); font-size: 11px; font-weight: 600;
	letter-spacing: .18em; color: rgba(255,255,255,.8);
	transition: color .2s ease;
}
.jlp-nav__link:hover { color: #fff; }
.jlp-nav.is-scrolled .jlp-nav__link { color: rgba(30,58,95,.7); }
.jlp-nav.is-scrolled .jlp-nav__link:hover { color: var(--slate); }
.jlp-nav__cta {
	font-family: var(--font-ui);
	font-size: 11px; font-weight: 600; letter-spacing: .12em;
	padding: 10px 28px;
	background: var(--gold); color: var(--navy);
	transition: background .25s ease;
}
.jlp-nav__cta:hover { background: var(--gold-2); }
.jlp-nav.is-scrolled .jlp-nav__cta { background: var(--navy); color: #fff; }
.jlp-nav.is-scrolled .jlp-nav__cta:hover { background: var(--slate); }

.jlp-nav__toggle {
	width: 32px; height: 32px;
	display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
	background: transparent; border: 0;
}
@media (min-width: 1024px) { .jlp-nav__toggle { display: none; } }
.jlp-nav__toggle span { display: block; width: 20px; height: 1.5px; background: #fff; transition: transform .25s ease, opacity .25s ease, background .25s ease; }
.jlp-nav.is-scrolled .jlp-nav__toggle span { background: var(--ink-navy); }
.jlp-nav.is-open .jlp-nav__toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.jlp-nav.is-open .jlp-nav__toggle span:nth-child(2) { opacity: 0; }
.jlp-nav.is-open .jlp-nav__toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 1023px) {
	.jlp-nav.is-open .jlp-nav__links {
		display: flex; flex-direction: column; align-items: stretch;
		position: absolute; top: 100%; left: 0; right: 0;
		background: #fff; padding: 1.5rem 1rem; gap: 1rem;
		border-top: 1px solid var(--mist); box-shadow: 0 6px 18px rgba(0,0,0,.08);
	}
	.jlp-nav.is-open .jlp-nav__link { color: rgba(30,58,95,.7); padding: .5rem 0; }
	.jlp-nav.is-open .jlp-nav__cta { background: var(--navy); color: #fff; padding: 14px; text-align: center; }
}

/* ============================== Hero ====================================== */
.jlp-hero { position: relative; min-height: 88vh; display: flex; align-items: center; padding: 7rem 0 5rem; overflow: hidden; }
@media (min-width: 768px) { .jlp-hero { min-height: 92vh; padding: 8rem 0 6rem; } }
.jlp-hero__bg { position: absolute; inset: 0; z-index: 0; }
.jlp-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.jlp-hero__overlay {
	position: absolute; inset: 0;
	background:
		linear-gradient(to right, rgba(11,24,41,.95), rgba(11,24,41,.75) 50%, rgba(11,24,41,.4)),
		linear-gradient(to top, rgba(11,24,41,.85), transparent, rgba(11,24,41,.4));
}
.jlp-hero__inner { position: relative; z-index: 1; max-width: 64rem; }
.jlp-hero__eyebrow { display: flex; align-items: center; margin-bottom: 1.5rem; color: var(--gold); font-family: var(--font-ui); font-size: 11px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; }
.jlp-hero__eyebrow .jlp-rule { margin-right: 1rem; background: var(--gold); }
.jlp-hero__title {
	font-family: var(--font-editorial);
	font-weight: 800; text-transform: uppercase;
	color: #fff;
	font-size: clamp(2.1rem, 7vw, 4.9rem);
	line-height: 1.02; letter-spacing: -.02em;
	margin: 0 0 2rem;
}
.jlp-hero__title p { margin: 0; }
.jlp-hero__title span.text-gold { color: var(--gold); }
.jlp-hero__body { color: rgba(255,255,255,.75); font-weight: 300; font-size: clamp(15px, 1.7vw, 18px); line-height: 1.7; max-width: 42rem; margin: 0 0 2.5rem; }
.jlp-hero__ctas { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 640px) { .jlp-hero__ctas { flex-direction: row; gap: 1rem; } }

/* ============================== Credentials =============================== */
.jlp-creds { background: #fff; border-bottom: 1px solid var(--line); }
.jlp-creds__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; padding: 2rem 0; }
@media (min-width: 768px) { .jlp-creds__grid { grid-template-columns: repeat(5, 1fr); padding: 2.25rem 0; } }
.jlp-creds__item { border-left: 2px solid rgba(200,169,123,.7); padding-left: 1rem; }
.jlp-creds__label { font-family: var(--font-editorial); font-weight: 700; color: var(--navy); font-size: 14px; line-height: 1.2; margin-bottom: 6px; }
.jlp-creds__sub   { font-family: var(--font-ui); font-size: 10px; color: var(--slate); letter-spacing: .2em; text-transform: uppercase; font-weight: 600; }

/* ============================== About ===================================== */
.jlp-about { background: #fff; padding: 4rem 0; }
@media (min-width: 768px) { .jlp-about { padding: 7rem 0; } }
.jlp-about__head { text-align: center; max-width: 48rem; margin: 0 auto 2.5rem; }
.jlp-about__head .jlp-eyebrow { justify-content: center; }
.jlp-about__head .jlp-rule--blue { display: block; margin: 1.5rem auto; }
.jlp-about__intro { color: rgba(30,58,95,.7); font-size: 15px; line-height: 1.7; max-width: 36rem; margin: 1rem auto 0; }
.jlp-about__photo { max-width: 80rem; margin: 0 auto 3rem; overflow: hidden; }
.jlp-about__cols { display: grid; gap: 2.5rem; max-width: 64rem; margin: 0 auto 3rem; }
@media (min-width: 768px) { .jlp-about__cols { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.jlp-about__quote { max-width: 56rem; margin: 0 auto; border-left: 4px solid var(--gold); padding: 1rem 1.5rem 1rem 2.5rem; }
.jlp-about__quote-mark { font-family: var(--font-editorial); color: var(--gold); font-size: 3rem; line-height: 1; }
.jlp-about__quote p { color: var(--navy); font-size: 1.05rem; line-height: 1.7; font-style: italic; font-weight: 300; margin: .25rem 0 1.5rem; }
.jlp-about__quote-attr { display: flex; align-items: center; gap: 1rem; }
.jlp-about__quote-photo { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; }
.jlp-about__quote-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.jlp-about__quote-name { font-family: var(--font-editorial); font-weight: 700; color: var(--navy); font-size: 15px; }
.jlp-about__quote-role { font-family: var(--font-editorial); color: var(--slate); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }

/* ============================== Bankruptcy ================================ */
.jlp-bankruptcy { background: var(--ivory); padding: 4rem 0; border-top: 1px solid var(--line); position: relative; overflow: hidden; }
@media (min-width: 768px) { .jlp-bankruptcy { padding: 6rem 0; } }
.jlp-bankruptcy__inner { display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .jlp-bankruptcy__inner { grid-template-columns: 5fr 7fr; gap: 3rem; align-items: start; } }
.jlp-bankruptcy__lead p { color: rgba(30,58,95,.75); font-size: 15px; line-height: 1.7; margin: 0 0 2rem; }
.jlp-bankruptcy__cards { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); }
@media (min-width: 640px) { .jlp-bankruptcy__cards { grid-template-columns: 1fr 1fr; } }
.jlp-bankruptcy__card { background: #fff; padding: 2rem; border-left: 2px solid rgba(200,169,123,.6); }
.jlp-bankruptcy__card-title { font-family: var(--font-ui); color: var(--gold); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; margin-bottom: 1rem; }
.jlp-bankruptcy__card p { color: rgba(30,58,95,.75); font-size: 14px; line-height: 1.6; margin: 0; }
.jlp-bankruptcy__tags { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(11,24,41,.1); display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; text-align: center; }
.jlp-bankruptcy__tags span { font-family: var(--font-ui); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(11,24,41,.7); }

/* ============================== Practice ================================== */
.jlp-practice { background: var(--ivory); padding: 0; }
.jlp-practice__masthead { background: var(--navy); padding: 4rem 0; }
@media (min-width: 768px) { .jlp-practice__masthead { padding: 6rem 0; } }
.jlp-practice__lede { color: rgba(255,255,255,.6); font-size: 15px; line-height: 1.7; max-width: 42rem; }

.jlp-accordion { max-width: 64rem; margin: 3rem auto; background: #fff; border: 1px solid var(--line); }
.jlp-accordion__item { border-bottom: 1px solid var(--line); }
.jlp-accordion__item:last-child { border-bottom: 0; }
.jlp-accordion__head {
	display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: center;
	width: 100%; text-align: left;
	background: #fff; border: 0; padding: 1.5rem 2rem;
	transition: background .2s ease;
}
.jlp-accordion__head:hover { background: var(--ivory-2); }
.jlp-accordion__num { font-family: var(--font-editorial); font-weight: 700; font-size: 1.5rem; color: rgba(11,24,41,.3); width: 3rem; }
.jlp-accordion__item.is-open .jlp-accordion__num { color: var(--navy); }
.jlp-accordion__heading { min-width: 0; }
.jlp-accordion__title-row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-bottom: 6px; }
.jlp-accordion__title { font-family: var(--font-editorial); font-weight: 700; color: var(--navy); font-size: 1.15rem; }
.jlp-accordion__short {
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
	font-size: 14px; line-height: 1.6; color: rgba(30,58,95,.65);
}
.jlp-accordion__item.is-open .jlp-accordion__short { display: none; }
.jlp-accordion__icon { color: rgba(11,24,41,.4); transition: color .2s ease, transform .25s ease; font-size: 1.4rem; }
.jlp-accordion__head:hover .jlp-accordion__icon { color: var(--gold); }
.jlp-accordion__item.is-open .jlp-accordion__icon { transform: rotate(45deg); color: var(--navy); }
.jlp-accordion__body { display: none; padding: 0 2rem 2rem 5.5rem; }
.jlp-accordion__item.is-open .jlp-accordion__body { display: block; }
.jlp-accordion__summary { color: rgba(30,58,95,.75); font-size: 15px; line-height: 1.7; max-width: 48rem; margin: 0 0 1.5rem; }
.jlp-accordion__services { border-top: 1px solid var(--line); padding-top: 1.25rem; }
.jlp-accordion__services-h { font-family: var(--font-ui); font-size: 11px; letter-spacing: .22em; color: var(--slate); font-weight: 600; margin-bottom: 1rem; }
.jlp-accordion__services ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
@media (min-width: 768px) { .jlp-accordion__services ul { grid-template-columns: 1fr 1fr; column-gap: 2rem; } }
.jlp-accordion__services li { position: relative; padding-left: 1rem; font-size: 14px; line-height: 1.6; color: rgba(30,58,95,.75); }
.jlp-accordion__services li::before { content: ""; position: absolute; left: 0; top: .55rem; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }

/* ============================== Team ====================================== */
.jlp-team { background: #fff; padding: 4rem 0; }
@media (min-width: 768px) { .jlp-team { padding: 8rem 0; } }
.jlp-team__head { max-width: 64rem; margin: 0 auto 3rem; }
.jlp-team__head h2 { color: var(--navy); }
.jlp-team__head p { color: rgba(30,58,95,.7); max-width: 48rem; font-size: 15px; line-height: 1.7; }
.jlp-team__list { max-width: 80rem; margin: 0 auto; display: flex; flex-direction: column; gap: 2rem; }

.jlp-team-card { display: grid; grid-template-columns: 1fr; gap: 1.5rem; background: #fff; border: 1px solid var(--mist); transition: border-color .5s ease; }
.jlp-team-card:hover { border-color: rgba(200,169,123,.4); }
@media (min-width: 768px) { .jlp-team-card { grid-template-columns: 4fr 8fr; gap: 2.5rem; } }
@media (min-width: 1024px) { .jlp-team-card { grid-template-columns: 3fr 9fr; } }
.jlp-team-card__photo { aspect-ratio: 3/4; overflow: hidden; background: var(--mist); }
@media (min-width: 768px) { .jlp-team-card__photo { aspect-ratio: auto; height: 100%; } }
.jlp-team-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: grayscale(1); transition: filter .7s ease; }
.jlp-team-card:hover .jlp-team-card__photo img { filter: grayscale(0); }
.jlp-team-card__body { padding: 1.5rem; display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 768px) { .jlp-team-card__body { padding: 2.5rem 2.5rem 2.5rem .5rem; } }
.jlp-team-card__role { font-family: var(--font-ui); font-size: 11px; color: var(--slate); letter-spacing: .25em; font-weight: 600; margin-bottom: .75rem; }
.jlp-team-card__name { font-family: var(--font-editorial); font-weight: 700; color: var(--navy); font-size: clamp(1.5rem, 3vw, 2.25rem); margin: 0 0 1rem; }
.jlp-team-card__badge span { display: inline-block; background: var(--gold); color: var(--navy); font-family: var(--font-editorial); font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; padding: 6px 14px; margin-bottom: 1rem; }
.jlp-team-card__lead { color: rgba(30,58,95,.75); font-size: 15px; line-height: 1.7; max-width: 48rem; margin: 0 0 1.5rem; }
.jlp-team-card__foot { display: flex; flex-direction: column; gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--mist); }
@media (min-width: 640px) { .jlp-team-card__foot { flex-direction: row; align-items: center; justify-content: space-between; } }
.jlp-team-card__link { font-family: var(--font-editorial); font-size: 12px; font-weight: 600; color: var(--navy); letter-spacing: .18em; display: inline-flex; align-items: center; transition: color .2s ease; }
.jlp-team-card__link:hover { color: var(--gold); }
.jlp-team-card__link .jlp-arrow { margin-left: .5rem; transition: transform .2s ease; }
.jlp-team-card__link:hover .jlp-arrow { transform: translateX(4px); }

/* ============================== Insights ================================== */
.jlp-insights { background: var(--navy); color: #fff; padding: 4rem 0; }
@media (min-width: 768px) { .jlp-insights { padding: 8rem 0; } }
.jlp-insights__head { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .jlp-insights__head { flex-direction: row; align-items: end; justify-content: space-between; } }
.jlp-insights__view-all { font-size: 14px; font-family: var(--font-ui); border-bottom: 1px solid var(--gold); color: var(--gold); padding-bottom: 4px; transition: color .2s ease, border-color .2s ease; }
.jlp-insights__view-all:hover { color: #fff; border-color: #fff; }
.jlp-insights__grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .jlp-insights__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 768px) { .jlp-insights__grid { grid-template-columns: repeat(3, 1fr); } }
.jlp-insight-card { display: block; border-top: 1px solid rgba(255,255,255,.2); padding: 2rem 0; transition: border-color .2s ease; cursor: pointer; }
.jlp-insight-card:hover { border-color: var(--gold); }
.jlp-insight-card__meta { display: flex; justify-content: space-between; margin-bottom: 1.25rem; font-family: var(--font-ui); font-size: 10px; }
.jlp-insight-card__meta span:first-child { color: var(--gold); }
.jlp-insight-card__meta span:last-child { color: rgba(255,255,255,.5); }
.jlp-insight-card__title { font-family: var(--font-editorial); font-size: 1.4rem; font-weight: 600; line-height: 1.3; color: #fff; margin: 0 0 1.25rem; transition: color .2s ease; }
.jlp-insight-card:hover .jlp-insight-card__title { color: var(--gold); }
.jlp-insight-card__arrow { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); transition: background .2s ease, border-color .2s ease; }
.jlp-insight-card:hover .jlp-insight-card__arrow { background: var(--gold); border-color: var(--gold); color: var(--navy); }

/* Light variant for archive */
.jlp-insights__grid--light .jlp-insight-card { border-color: var(--line); color: var(--navy); }
.jlp-insight-card--light .jlp-insight-card__title { color: var(--navy); }
.jlp-insight-card--light .jlp-insight-card__meta span:last-child { color: rgba(30,58,95,.6); }
.jlp-insight-card--light:hover .jlp-insight-card__title { color: var(--gold); }
.jlp-insight-card__excerpt { color: rgba(30,58,95,.7); font-size: 14px; line-height: 1.6; }

/* ============================== Contact =================================== */
.jlp-contact { background: var(--ivory); padding: 4rem 0; }
@media (min-width: 768px) { .jlp-contact { padding: 8rem 0; } }
.jlp-contact__card { background: #fff; padding: 1.5rem; box-shadow: 0 25px 50px -12px rgba(11,24,41,.05); position: relative; overflow: hidden; }
@media (min-width: 640px) { .jlp-contact__card { padding: 2.5rem; } }
@media (min-width: 768px) { .jlp-contact__card { padding: 5rem; } }
.jlp-contact__grid { display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .jlp-contact__grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.jlp-contact__body { color: rgba(11,24,41,.7); margin: 0 0 2rem; line-height: 1.7; font-size: 15px; }
.jlp-contact__info { display: flex; flex-direction: column; gap: 2rem; }
.jlp-contact__row { display: flex; gap: 1rem; align-items: flex-start; }
.jlp-contact__row h4 { margin: 0 0 .5rem; font-family: var(--font-ui); font-size: 11px; letter-spacing: .15em; color: var(--navy); }
.jlp-contact__row p { margin: 0; font-size: 14px; color: rgba(11,24,41,.7); line-height: 1.6; }
.jlp-icon { display: inline-block; width: 20px; height: 20px; flex-shrink: 0; margin-top: 4px; background: currentColor; color: var(--gold); -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.jlp-icon--map   { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/><circle cx='12' cy='10' r='3'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/><circle cx='12' cy='10' r='3'/></svg>"); }
.jlp-icon--phone { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/></svg>"); }
.jlp-icon--mail  { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/><polyline points='22,6 12,13 2,6'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/><polyline points='22,6 12,13 2,6'/></svg>"); }

.jlp-contact__form { background: var(--mist); padding: 2rem; }
.jlp-contact__form h3 { font-family: var(--font-editorial); color: var(--navy); margin: 0 0 1.5rem; font-size: 1.5rem; }
.jlp-form { display: flex; flex-direction: column; gap: 1rem; }
.jlp-form input, .jlp-form select, .jlp-form textarea {
	width: 100%; background: #fff; border: 1px solid transparent;
	padding: 14px 16px; font-size: 14px; outline: none; transition: border-color .2s ease;
	font-family: var(--font-ui); color: var(--navy);
}
.jlp-form input:focus, .jlp-form select:focus, .jlp-form textarea:focus { border-color: var(--gold); }
.jlp-form textarea { resize: none; }

/* CF7 styling consistency */
.wpcf7-form input, .wpcf7-form select, .wpcf7-form textarea {
	width: 100%; background: #fff; border: 1px solid transparent;
	padding: 14px 16px; font-size: 14px; outline: none; transition: border-color .2s ease;
	font-family: var(--font-ui); color: var(--navy);
}
.wpcf7-form p { margin: 0 0 1rem; }
.wpcf7-form input[type="submit"] { background: var(--navy); color: #fff; font-family: var(--font-ui); font-size: 11px; letter-spacing: .18em; font-weight: 600; padding: 16px; text-transform: uppercase; cursor: pointer; border: 0; }
.wpcf7-form input[type="submit"]:hover { background: var(--gold); }

/* ============================== Footer ==================================== */
.jlp-footer { background: #fff; padding: 3rem 0 2rem; color: rgba(30,58,95,.7); border-top: 1px solid var(--line); }
@media (min-width: 768px) { .jlp-footer { padding: 5rem 0 2.5rem; } }
.jlp-footer__grid { display: grid; gap: 2rem; grid-template-columns: 1fr; margin-bottom: 2.5rem; }
@media (min-width: 640px) { .jlp-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 768px) { .jlp-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; } }
.jlp-footer__logo { height: 56px; margin-bottom: 1.5rem; }
.jlp-footer__brand p { font-size: 14px; line-height: 1.7; max-width: 30rem; }
.jlp-footer__h { font-family: var(--font-ui); font-size: 11px; color: var(--gold); letter-spacing: .2em; font-weight: 600; margin: 0 0 1.5rem; text-transform: uppercase; }
.jlp-footer address { font-style: normal; font-size: 14px; line-height: 1.7; }
.jlp-footer__contact { margin-top: 1rem; font-size: 14px; }
.jlp-footer__contact p { margin: 0 0 .5rem; }
.jlp-footer__contact a:hover { color: var(--navy); }
.jlp-footer__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .75rem; font-size: 14px; }
.jlp-footer__list a:hover { color: var(--navy); }
.jlp-footer__bottom { border-top: 1px solid var(--line); padding-top: 2rem; display: flex; flex-direction: column; gap: 1rem; align-items: center; justify-content: space-between; font-size: 12px; color: rgba(30,58,95,.6); }
@media (min-width: 768px) { .jlp-footer__bottom { flex-direction: row; } }
.jlp-footer__legal { display: flex; gap: 1.5rem; }
.jlp-footer__legal span { cursor: pointer; }
.jlp-footer__legal span:hover { color: var(--navy); }

/* ============================== Team detail =============================== */
.jlp-tm-detail { padding-top: 5rem; background: #fff; }
.jlp-tm-detail__hero { background: var(--navy); padding: 3rem 0; }
.jlp-tm-detail__hero-inner { display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 640px) { .jlp-tm-detail__hero-inner { grid-template-columns: auto 1fr; gap: 2.5rem; } }
.jlp-tm-detail__photo { width: 8rem; height: 11rem; overflow: hidden; background: rgba(91,139,165,.2); margin: 0 auto; }
@media (min-width: 768px) { .jlp-tm-detail__photo { width: 10rem; height: 14rem; margin: 0; } }
.jlp-tm-detail__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.jlp-tm-detail__intro { color: #fff; }
.jlp-tm-detail__role { font-family: var(--font-ui); font-size: 10px; color: var(--slate); letter-spacing: .25em; margin-bottom: .5rem; }
.jlp-tm-detail__name { font-family: var(--font-editorial); font-weight: 700; font-size: clamp(1.6rem, 4vw, 2.6rem); margin: 0 0 1rem; }
.jlp-tm-detail__badge { display: inline-block; background: var(--gold); color: var(--navy); font-family: var(--font-editorial); font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; padding: 6px 14px; margin-bottom: 1rem; }
.jlp-tm-detail__contacts { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 14px; color: rgba(255,255,255,.7); margin-bottom: .75rem; }
.jlp-tm-detail__langs { display: flex; flex-wrap: wrap; gap: .5rem; }
.jlp-tm-detail__langs .jlp-chip--ghost { color: rgba(255,255,255,.8); border-color: rgba(255,255,255,.2); }
.jlp-tm-detail__body { padding: 3rem 0; }
.jlp-tm-detail__block { margin-top: 2.5rem; }
.jlp-tm-detail__h { font-family: var(--font-editorial); font-weight: 700; color: var(--ink-navy); font-size: 1.15rem; text-transform: uppercase; margin: 0 0 1.25rem; display: flex; align-items: center; gap: .75rem; }
.jlp-tm-detail__h::before { content: ""; width: 24px; height: 1px; background: var(--slate); display: inline-block; }
.jlp-exp-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1.25rem; }
.jlp-exp-list li { border-left: 2px solid rgba(200,169,123,.6); padding-left: 1rem; }
.jlp-exp-list__cat { font-family: var(--font-ui); font-size: 10px; color: var(--gold); letter-spacing: .18em; font-weight: 600; text-transform: uppercase; margin-bottom: .25rem; }
.jlp-exp-list__desc { font-size: 14px; color: rgba(30,58,95,.8); line-height: 1.7; }
.jlp-edu-list { display: flex; flex-direction: column; gap: 1rem; }
.jlp-edu-list__row { border-left: 2px solid var(--slate); padding-left: 1.25rem; }
.jlp-edu-list__inst { font-weight: 600; color: var(--ink-navy); font-size: 14px; }
.jlp-edu-list__deg { color: rgba(30,58,95,.6); font-size: 14px; }
.jlp-bullets { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .75rem; }
.jlp-bullets li { display: flex; align-items: center; font-size: 14px; color: rgba(30,58,95,.75); }
.jlp-bullets li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--slate); margin-right: .75rem; }
.jlp-tm-detail__back { margin-top: 2.5rem; }
.jlp-tm-detail__back a { color: var(--slate); font-weight: 600; }

/* Single & archive */
.jlp-page__inner, .jlp-single__inner { max-width: 48rem; }
.jlp-single__title { font-family: var(--font-editorial); font-weight: 800; font-size: clamp(1.75rem, 4vw, 3rem); color: var(--navy); margin: .5rem 0 1rem; line-height: 1.1; }
.jlp-single__meta { color: rgba(30,58,95,.6); margin-bottom: 1.5rem; font-size: 13px; }
.jlp-single__thumb { margin-bottom: 2rem; }
.jlp-archive__head { margin-bottom: 2.5rem; }
.jlp-archive__pager { margin-top: 3rem; text-align: center; }
.jlp-page, .jlp-single, .jlp-archive { padding: 8rem 0 5rem; }
